hzzt-kfb-slide 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/{annotateSkfOL59Z.js → annotateBNqnmoMI.js} +1 -1
- package/dist/components/{annotateCnEsVKZh.js → annotateCdbWkykl.js} +1 -1
- package/dist/components/{annotateBVEx-rya.js → annotateCtCMs-ef.js} +1 -1
- package/dist/components/{annotateBqmjdjvz.js → annotateD0egGTin.js} +6 -6
- package/dist/components/{arrowK6nDwd7R.js → arrowC9aIuvQe.js} +1 -1
- package/dist/components/{arrowDu4kVbgE.js → arrowDG9uJA9k.js} +1 -1
- package/dist/components/{arrowDownCPhRTVmw.js → arrowDownC6bqk-lY.js} +1 -1
- package/dist/components/{arrowDownB5-0ALxZ.js → arrowDownGmouwhLr.js} +1 -1
- package/dist/components/{arrowLeftCU3T3r30.js → arrowLeftBOXSO3ql.js} +1 -1
- package/dist/components/{arrowLeftBpJAKYIU.js → arrowLeftDtz6Sjds.js} +1 -1
- package/dist/components/{arrowRightClWKIUuS.js → arrowRightDSH6IzNE.js} +1 -1
- package/dist/components/{arrowRightmZqySSay.js → arrowRightHppOESBK.js} +1 -1
- package/dist/components/{arrowUpBou4eMQV.js → arrowUpCHU6h7kZ.js} +1 -1
- package/dist/components/{arrowUpt5FuC3FU.js → arrowUpCuroteRQ.js} +1 -1
- package/dist/components/{channelCwUVeFpV.js → channelB8E2yoQ7.js} +1 -1
- package/dist/components/{channelC2Ri97Of.js → channelNB37p_zP.js} +1 -1
- package/dist/components/{check0RJobaJ4.js → checkLEGWCAxP.js} +1 -1
- package/dist/components/{checkDfZPSwE6.js → checkseAngK1P.js} +1 -1
- package/dist/components/{configC6FKsyN9.js → configCCGG0UB4.js} +1 -1
- package/dist/components/{configCgTZWYHR.js → configDLPuCFH1.js} +1 -1
- package/dist/components/customBbYfn41m.js +1 -0
- package/dist/components/{customB30kJ3DX.js → customDo3qaJ1U.js} +5 -6
- package/dist/components/{deleteBaA_lSdx.js → deleteD2WtxFlL.js} +1 -1
- package/dist/components/{deleteBXoB6UTd.js → deleteMXhIkgfB.js} +1 -1
- package/dist/components/{dot_nBePo5G.js → dotBgHmd0mz.js} +1 -1
- package/dist/components/{dotB8_2mIMY.js → dotDJRbd0BV.js} +1 -1
- package/dist/components/{dotR12-Fs6I.js → dotEN0Eh5Op.js} +1 -1
- package/dist/components/{dotCQaSpfEa.js → dotg0NvS9Ck.js} +12 -12
- package/dist/components/{downloadL7bwn8r7.js → downloadCaAoF5Or.js} +1 -1
- package/dist/components/{downloadZXx1by-2.js → downloadCaJyQTwU.js} +1 -1
- package/dist/components/{downloadDSy6Lx_1.js → downloadD_Bmec44.js} +11 -11
- package/dist/components/{downloadDIRWuAsZ.js → downloadGX-_YQez.js} +1 -1
- package/dist/components/{flipzeRs4WK2.js → flipBkZOXGJN.js} +1 -1
- package/dist/components/{flipBWJDgBtU.js → flipCC_nhFBO.js} +1 -1
- package/dist/components/{fullscreenBdMJB4PD.js → fullscreenC380_EU3.js} +1 -1
- package/dist/components/fullscreenDUzxAfXo.js +1 -0
- package/dist/components/{fullscreenCNn3z9l_.js → fullscreenDjH9QoF2.js} +6 -7
- package/dist/components/{fullscreenBHPtTX2M.js → fullscreenEVnYx--1.js} +1 -1
- package/dist/components/indexD_phlegk.js +30 -0
- package/dist/components/{indexCJCVhkFm.js → indexDdIv5EKS.js} +2058 -2016
- package/dist/components/{infoBltXncgb.js → infoBFIavOPB.js} +1 -1
- package/dist/components/{infoDtaFyr6c.js → infoCp5QUeZm.js} +1 -1
- package/dist/components/{level0fz2ixaa.js → levelC1Ud4D0B.js} +1 -1
- package/dist/components/{levelCdq1V4Yc.js → levelZfTb2sPf.js} +1 -1
- package/dist/components/{microscope6R__I7ur.js → microscopeBeixYxYI.js} +1 -1
- package/dist/components/{microscopeCJSAsiIQ.js → microscopeCmqOpPc4.js} +13 -13
- package/dist/components/{microscope8r-_ZsCK.js → microscopeDZWMA8RW.js} +1 -1
- package/dist/components/{microscope4jUbJj-C.js → microscopeXeEtWd1W.js} +1 -1
- package/dist/components/{movelpGiPnJ5.js → moveB1DiH4PI.js} +12 -12
- package/dist/components/{moveJ_q2x0EZ.js → moveBea2jbYH.js} +1 -1
- package/dist/components/{moveCXbqdVKV.js → moveBzePKtM6.js} +1 -1
- package/dist/components/{moveDg8vDZ98.js → moveDwsVnmQi.js} +1 -1
- package/dist/components/{nextCMCmaDTi.js → nextC52pb5sE.js} +1 -1
- package/dist/components/{nextC0vHwAp5.js → nextDYmCUlzZ.js} +1 -1
- package/dist/components/{prevBzXgP68U.js → prevT7x-zgKu.js} +1 -1
- package/dist/components/{prevuRCPUsG0.js → prevv0XqJ_iF.js} +1 -1
- package/dist/components/{processFuA_wiCf.js → process0WK-TxPd.js} +21 -21
- package/dist/components/{processD1EQvj3k.js → processBiTw6vPV.js} +1 -1
- package/dist/components/{processC0vYuwue.js → processCmTYHlH3.js} +1 -1
- package/dist/components/{processBpBLPw3-.js → processDW13CjX-.js} +1 -1
- package/dist/components/{rotateBtvqvLPE.js → rotateBViLTXxd.js} +1 -1
- package/dist/components/{rotateBb7eL6EN.js → rotateCbkJvPFi.js} +1 -1
- package/dist/components/{rotatea8JeBygQ.js → rotateDlk_Qk4Y.js} +1 -1
- package/dist/components/{rotateEKM-FQDQ.js → rotateLcm0V_kN.js} +9 -9
- package/dist/components/{settingC-mv7W3Q.js → setting3RU3dG2s.js} +1 -1
- package/dist/components/{settingCPNMWWj9.js → settingCZkmIJSr.js} +12 -12
- package/dist/components/{settingBf-9h3FW.js → settingDVPXWTEf.js} +1 -1
- package/dist/components/{settingBOwtgZSJ.js → settingDyHmqPh3.js} +1 -1
- package/dist/components/{tailorCwnyDUsI.js → tailorBgKlGdZj.js} +1 -1
- package/dist/components/{tailorDGEwHYjf.js → tailorDHg9ZsXw.js} +1 -1
- package/dist/components/useCommonB2St3W5r.js +1 -0
- package/dist/components/{useCommonCBKfFiqW.js → useCommonCwKio4Jh.js} +10 -5
- package/dist/components/{zoomDc8tU8Zx.js → zoomBKsf5GkB.js} +1 -1
- package/dist/components/{zoomDRrzKbUt.js → zoomCnS6EmhN.js} +1 -1
- package/dist/components/{zoomInBD6Lg2YX.js → zoomIn73PRBFpz.js} +1 -1
- package/dist/components/{zoomInCJguF0C1.js → zoomInDWX2Osc6.js} +1 -1
- package/dist/components/{zoomOutDV9dPg1z.js → zoomOutD8Mlbb8q.js} +1 -1
- package/dist/components/{zoomOutVGTP5fYm.js → zoomOutgHFV2sxE.js} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.es.js +3 -3
- package/package.json +6 -6
- package/types/components/KfbToolbox.vue.d.ts +4 -0
- package/types/components/KfbView/index.d.ts +11 -7
- package/types/components/KfbView/index.vue.d.ts +2 -1
- package/types/components/KfbView/useImageProcess.d.ts +1 -2
- package/types/components/toolbox/instances.d.ts +1 -10
- package/types/components/toolbox/process.vue.d.ts +2 -1
- package/types/index.d.ts +898 -0
- package/types/index.vue.d.ts +5 -0
- package/types/instances.d.ts +6 -3
- package/dist/components/customDiZEAr4q.js +0 -1
- package/dist/components/fullscreenBNpKNuBF.js +0 -1
- package/dist/components/indexBI9sOqLg.js +0 -30
- package/dist/components/useCommoney7551no.js +0 -1
package/types/index.d.ts
CHANGED
|
@@ -9,5 +9,903 @@ export interface InstallOptions {
|
|
|
9
9
|
export { HzztKfbSlide, HzztKfbView, HzztKfbToolbox, };
|
|
10
10
|
declare const _default: {
|
|
11
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
|
+
enableAI: import("vue").ComputedRef<number | false>;
|
|
23
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
"update:index": (value: number) => any;
|
|
25
|
+
} & {
|
|
26
|
+
tool: (action: string, value?: any) => any;
|
|
27
|
+
}, import("vue").PublicProps, {
|
|
28
|
+
teleport: boolean;
|
|
29
|
+
slides: import("./instances.ts").DigitalSlide[];
|
|
30
|
+
menus: (string | import("./instances.ts").ToolboxMenu)[];
|
|
31
|
+
showKeyboard: boolean;
|
|
32
|
+
showMenuText: boolean;
|
|
33
|
+
showKfbLabel: boolean;
|
|
34
|
+
showList: boolean;
|
|
35
|
+
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
36
|
+
P: {};
|
|
37
|
+
B: {};
|
|
38
|
+
D: {};
|
|
39
|
+
C: {};
|
|
40
|
+
M: {};
|
|
41
|
+
Defaults: {};
|
|
42
|
+
}, Readonly<import("./instances.ts").Props & {
|
|
43
|
+
index?: number;
|
|
44
|
+
}> & Readonly<{
|
|
45
|
+
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
46
|
+
"onUpdate:index"?: ((value: number) => any) | undefined;
|
|
47
|
+
}>, {
|
|
48
|
+
divide: import("vue").Ref<boolean, boolean>;
|
|
49
|
+
slide: import("vue").ComputedRef<import("./instances.ts").DigitalSlide>;
|
|
50
|
+
kfbViewRef: import("vue").ComputedRef<any>;
|
|
51
|
+
enableAI: import("vue").ComputedRef<number | false>;
|
|
52
|
+
}, {}, {}, {}, {
|
|
53
|
+
teleport: boolean;
|
|
54
|
+
slides: import("./instances.ts").DigitalSlide[];
|
|
55
|
+
menus: (string | import("./instances.ts").ToolboxMenu)[];
|
|
56
|
+
showKeyboard: boolean;
|
|
57
|
+
showMenuText: boolean;
|
|
58
|
+
showKfbLabel: boolean;
|
|
59
|
+
showList: boolean;
|
|
60
|
+
}>;
|
|
61
|
+
__isFragment?: never;
|
|
62
|
+
__isTeleport?: never;
|
|
63
|
+
__isSuspense?: never;
|
|
64
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("./instances.ts").Props & {
|
|
65
|
+
index?: number;
|
|
66
|
+
}> & Readonly<{
|
|
67
|
+
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
68
|
+
"onUpdate:index"?: ((value: number) => any) | undefined;
|
|
69
|
+
}>, {
|
|
70
|
+
divide: import("vue").Ref<boolean, boolean>;
|
|
71
|
+
slide: import("vue").ComputedRef<import("./instances.ts").DigitalSlide>;
|
|
72
|
+
kfbViewRef: import("vue").ComputedRef<any>;
|
|
73
|
+
enableAI: import("vue").ComputedRef<number | false>;
|
|
74
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
75
|
+
"update:index": (value: number) => any;
|
|
76
|
+
} & {
|
|
77
|
+
tool: (action: string, value?: any) => any;
|
|
78
|
+
}, string, {
|
|
79
|
+
teleport: boolean;
|
|
80
|
+
slides: import("./instances.ts").DigitalSlide[];
|
|
81
|
+
menus: (string | import("./instances.ts").ToolboxMenu)[];
|
|
82
|
+
showKeyboard: boolean;
|
|
83
|
+
showMenuText: boolean;
|
|
84
|
+
showKfbLabel: boolean;
|
|
85
|
+
showList: boolean;
|
|
86
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
87
|
+
$slots: {
|
|
88
|
+
left?: (props: {}) => any;
|
|
89
|
+
} & {
|
|
90
|
+
right?: (props: {}) => any;
|
|
91
|
+
} & {
|
|
92
|
+
list?: (props: {
|
|
93
|
+
slide: import("./instances.ts").DigitalSlide;
|
|
94
|
+
}) => any;
|
|
95
|
+
} & {
|
|
96
|
+
kfb?: (props: {
|
|
97
|
+
slide: import("./instances.ts").DigitalSlide;
|
|
98
|
+
}) => any;
|
|
99
|
+
} & {
|
|
100
|
+
kfb?: (props: {
|
|
101
|
+
slide: import("./instances.ts").DigitalSlide;
|
|
102
|
+
}) => any;
|
|
103
|
+
} & {
|
|
104
|
+
default?: (props: {}) => any;
|
|
105
|
+
};
|
|
106
|
+
});
|
|
107
|
+
HzztKfbView: {
|
|
108
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./components/KfbView/index.ts").KfbProps> & Readonly<{
|
|
109
|
+
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
110
|
+
}>, {
|
|
111
|
+
kfbView: import("vue").Ref<{
|
|
112
|
+
labelList?: {
|
|
113
|
+
id?: number | undefined;
|
|
114
|
+
parent_id?: number | undefined;
|
|
115
|
+
lineWidth?: number | undefined;
|
|
116
|
+
strokeStyle?: string | undefined;
|
|
117
|
+
fillStyle?: string | undefined;
|
|
118
|
+
fontSize?: number | undefined;
|
|
119
|
+
description?: string | undefined;
|
|
120
|
+
text?: string | undefined;
|
|
121
|
+
angle?: number | undefined;
|
|
122
|
+
measure?: boolean | undefined;
|
|
123
|
+
points?: {
|
|
124
|
+
x: number;
|
|
125
|
+
y: number;
|
|
126
|
+
minus?: ((point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point) | undefined;
|
|
127
|
+
clone?: (() => import("./components/KfbView/index.ts").Point) | undefined;
|
|
128
|
+
}[] | undefined;
|
|
129
|
+
tool?: string | undefined;
|
|
130
|
+
src?: string | undefined;
|
|
131
|
+
scale?: number | undefined;
|
|
132
|
+
region?: {
|
|
133
|
+
x: number;
|
|
134
|
+
y: number;
|
|
135
|
+
width: number;
|
|
136
|
+
height: number;
|
|
137
|
+
} | undefined;
|
|
138
|
+
move?: boolean | undefined;
|
|
139
|
+
resize?: boolean | undefined;
|
|
140
|
+
isROI?: boolean | undefined;
|
|
141
|
+
isClose?: boolean | undefined;
|
|
142
|
+
select?: boolean | undefined;
|
|
143
|
+
show?: boolean | undefined;
|
|
144
|
+
is_ai?: boolean | undefined;
|
|
145
|
+
custom?: boolean | undefined;
|
|
146
|
+
cls?: string | undefined;
|
|
147
|
+
score?: number | undefined;
|
|
148
|
+
imageUrl?: string | undefined;
|
|
149
|
+
__other__: any;
|
|
150
|
+
}[] | undefined;
|
|
151
|
+
viewer: {
|
|
152
|
+
viewport: {
|
|
153
|
+
setRotation: (angle?: number) => void;
|
|
154
|
+
toggleFlip: () => void;
|
|
155
|
+
getCenter: (center?: boolean) => import("./components/KfbView/index.ts").Point;
|
|
156
|
+
panTo: (point: import("./components/KfbView/index.ts").Point) => void;
|
|
157
|
+
viewportToImageZoom: (zoom: number) => number;
|
|
158
|
+
imageToViewportZoom: (zoom: number) => number;
|
|
159
|
+
zoomTo: (zoom: number) => void;
|
|
160
|
+
zoomBy: (zoom: number) => void;
|
|
161
|
+
applyConstraints: () => void;
|
|
162
|
+
containerSize: {
|
|
163
|
+
x: number;
|
|
164
|
+
y: number;
|
|
165
|
+
minus?: ((point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point) | undefined;
|
|
166
|
+
clone?: (() => import("./components/KfbView/index.ts").Point) | undefined;
|
|
167
|
+
};
|
|
168
|
+
getZoom: (flag?: boolean) => number;
|
|
169
|
+
panBy: (point: import("./components/KfbView/index.ts").Point, flag?: boolean) => void;
|
|
170
|
+
deltaPointsFromPixels: (point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point;
|
|
171
|
+
};
|
|
172
|
+
drawer: {
|
|
173
|
+
canvas: HTMLCanvasElement;
|
|
174
|
+
};
|
|
175
|
+
addHandler: (name: string, func: (e: import("./components/KfbView/index.ts").KfbEvent) => void) => void;
|
|
176
|
+
removeHandler: (name: string, func: (e: import("./components/KfbView/index.ts").KfbEvent) => void) => void;
|
|
177
|
+
forceRedraw: () => void;
|
|
178
|
+
world?: {
|
|
179
|
+
getItemAt: (number: number) => import("./components/KfbView/index.ts").TiledImage;
|
|
180
|
+
tiledImage: {
|
|
181
|
+
draw: () => void;
|
|
182
|
+
tilesMatrix: Record<any, any>;
|
|
183
|
+
};
|
|
184
|
+
removeItem: (tile: import("./components/KfbView/index.ts").TiledImage) => void;
|
|
185
|
+
} | undefined;
|
|
186
|
+
addTiledImage: (options: Record<any, any>) => void;
|
|
187
|
+
};
|
|
188
|
+
destroy?: (() => void) | undefined;
|
|
189
|
+
initLabelList?: ((data: import("./components/KfbView/index.ts").Label[]) => void) | undefined;
|
|
190
|
+
$on?: ((event?: string, func?: (data: any) => any) => void) | undefined;
|
|
191
|
+
$options: Record<string, any>;
|
|
192
|
+
board?: {
|
|
193
|
+
startDraw: (options: any) => void;
|
|
194
|
+
endDraw: () => void;
|
|
195
|
+
} | undefined;
|
|
196
|
+
grid?: {
|
|
197
|
+
updated: (options: any) => void;
|
|
198
|
+
} | undefined;
|
|
199
|
+
graduation?: {
|
|
200
|
+
updated: (options: any) => void;
|
|
201
|
+
} | undefined;
|
|
202
|
+
area?: {
|
|
203
|
+
moveToLabel: (point: import("./components/KfbView/index.ts").Point) => void;
|
|
204
|
+
getCenterPoint: (rect: import("./components/KfbView/index.ts").Rect) => import("./components/KfbView/index.ts").Point;
|
|
205
|
+
imageToViewerElementRectangle: (rect: import("./components/KfbView/index.ts").Rect) => import("./components/KfbView/index.ts").Rect;
|
|
206
|
+
} | undefined;
|
|
207
|
+
navigator?: {
|
|
208
|
+
element: HTMLElement;
|
|
209
|
+
drawPointList: (data: any) => void;
|
|
210
|
+
} | undefined;
|
|
211
|
+
tailoring: {
|
|
212
|
+
init: (data: {
|
|
213
|
+
left: number;
|
|
214
|
+
top: number;
|
|
215
|
+
height: number;
|
|
216
|
+
width: number;
|
|
217
|
+
now?: boolean;
|
|
218
|
+
color?: string;
|
|
219
|
+
}) => void;
|
|
220
|
+
};
|
|
221
|
+
}, import("./components/KfbView/index.ts").KfbViewInterface | {
|
|
222
|
+
labelList?: {
|
|
223
|
+
id?: number | undefined;
|
|
224
|
+
parent_id?: number | undefined;
|
|
225
|
+
lineWidth?: number | undefined;
|
|
226
|
+
strokeStyle?: string | undefined;
|
|
227
|
+
fillStyle?: string | undefined;
|
|
228
|
+
fontSize?: number | undefined;
|
|
229
|
+
description?: string | undefined;
|
|
230
|
+
text?: string | undefined;
|
|
231
|
+
angle?: number | undefined;
|
|
232
|
+
measure?: boolean | undefined;
|
|
233
|
+
points?: {
|
|
234
|
+
x: number;
|
|
235
|
+
y: number;
|
|
236
|
+
minus?: ((point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point) | undefined;
|
|
237
|
+
clone?: (() => import("./components/KfbView/index.ts").Point) | undefined;
|
|
238
|
+
}[] | undefined;
|
|
239
|
+
tool?: string | undefined;
|
|
240
|
+
src?: string | undefined;
|
|
241
|
+
scale?: number | undefined;
|
|
242
|
+
region?: {
|
|
243
|
+
x: number;
|
|
244
|
+
y: number;
|
|
245
|
+
width: number;
|
|
246
|
+
height: number;
|
|
247
|
+
} | undefined;
|
|
248
|
+
move?: boolean | undefined;
|
|
249
|
+
resize?: boolean | undefined;
|
|
250
|
+
isROI?: boolean | undefined;
|
|
251
|
+
isClose?: boolean | undefined;
|
|
252
|
+
select?: boolean | undefined;
|
|
253
|
+
show?: boolean | undefined;
|
|
254
|
+
is_ai?: boolean | undefined;
|
|
255
|
+
custom?: boolean | undefined;
|
|
256
|
+
cls?: string | undefined;
|
|
257
|
+
score?: number | undefined;
|
|
258
|
+
imageUrl?: string | undefined;
|
|
259
|
+
__other__: any;
|
|
260
|
+
}[] | undefined;
|
|
261
|
+
viewer: {
|
|
262
|
+
viewport: {
|
|
263
|
+
setRotation: (angle?: number) => void;
|
|
264
|
+
toggleFlip: () => void;
|
|
265
|
+
getCenter: (center?: boolean) => import("./components/KfbView/index.ts").Point;
|
|
266
|
+
panTo: (point: import("./components/KfbView/index.ts").Point) => void;
|
|
267
|
+
viewportToImageZoom: (zoom: number) => number;
|
|
268
|
+
imageToViewportZoom: (zoom: number) => number;
|
|
269
|
+
zoomTo: (zoom: number) => void;
|
|
270
|
+
zoomBy: (zoom: number) => void;
|
|
271
|
+
applyConstraints: () => void;
|
|
272
|
+
containerSize: {
|
|
273
|
+
x: number;
|
|
274
|
+
y: number;
|
|
275
|
+
minus?: ((point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point) | undefined;
|
|
276
|
+
clone?: (() => import("./components/KfbView/index.ts").Point) | undefined;
|
|
277
|
+
};
|
|
278
|
+
getZoom: (flag?: boolean) => number;
|
|
279
|
+
panBy: (point: import("./components/KfbView/index.ts").Point, flag?: boolean) => void;
|
|
280
|
+
deltaPointsFromPixels: (point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point;
|
|
281
|
+
};
|
|
282
|
+
drawer: {
|
|
283
|
+
canvas: HTMLCanvasElement;
|
|
284
|
+
};
|
|
285
|
+
addHandler: (name: string, func: (e: import("./components/KfbView/index.ts").KfbEvent) => void) => void;
|
|
286
|
+
removeHandler: (name: string, func: (e: import("./components/KfbView/index.ts").KfbEvent) => void) => void;
|
|
287
|
+
forceRedraw: () => void;
|
|
288
|
+
world?: {
|
|
289
|
+
getItemAt: (number: number) => import("./components/KfbView/index.ts").TiledImage;
|
|
290
|
+
tiledImage: {
|
|
291
|
+
draw: () => void;
|
|
292
|
+
tilesMatrix: Record<any, any>;
|
|
293
|
+
};
|
|
294
|
+
removeItem: (tile: import("./components/KfbView/index.ts").TiledImage) => void;
|
|
295
|
+
} | undefined;
|
|
296
|
+
addTiledImage: (options: Record<any, any>) => void;
|
|
297
|
+
};
|
|
298
|
+
destroy?: (() => void) | undefined;
|
|
299
|
+
initLabelList?: ((data: import("./components/KfbView/index.ts").Label[]) => void) | undefined;
|
|
300
|
+
$on?: ((event?: string, func?: (data: any) => any) => void) | undefined;
|
|
301
|
+
$options: Record<string, any>;
|
|
302
|
+
board?: {
|
|
303
|
+
startDraw: (options: any) => void;
|
|
304
|
+
endDraw: () => void;
|
|
305
|
+
} | undefined;
|
|
306
|
+
grid?: {
|
|
307
|
+
updated: (options: any) => void;
|
|
308
|
+
} | undefined;
|
|
309
|
+
graduation?: {
|
|
310
|
+
updated: (options: any) => void;
|
|
311
|
+
} | undefined;
|
|
312
|
+
area?: {
|
|
313
|
+
moveToLabel: (point: import("./components/KfbView/index.ts").Point) => void;
|
|
314
|
+
getCenterPoint: (rect: import("./components/KfbView/index.ts").Rect) => import("./components/KfbView/index.ts").Point;
|
|
315
|
+
imageToViewerElementRectangle: (rect: import("./components/KfbView/index.ts").Rect) => import("./components/KfbView/index.ts").Rect;
|
|
316
|
+
} | undefined;
|
|
317
|
+
navigator?: {
|
|
318
|
+
element: HTMLElement;
|
|
319
|
+
drawPointList: (data: any) => void;
|
|
320
|
+
} | undefined;
|
|
321
|
+
tailoring: {
|
|
322
|
+
init: (data: {
|
|
323
|
+
left: number;
|
|
324
|
+
top: number;
|
|
325
|
+
height: number;
|
|
326
|
+
width: number;
|
|
327
|
+
now?: boolean;
|
|
328
|
+
color?: string;
|
|
329
|
+
}) => void;
|
|
330
|
+
};
|
|
331
|
+
}>;
|
|
332
|
+
degrees: import("vue").Ref<number, number>;
|
|
333
|
+
zoom: import("vue").Ref<number, number>;
|
|
334
|
+
forceRedraw: (process?: import("./components/KfbView/index.ts").Process) => void;
|
|
335
|
+
toggleFlip: () => void;
|
|
336
|
+
startDraw: (options: any) => void;
|
|
337
|
+
endDraw: () => void;
|
|
338
|
+
shotScreen: (now?: boolean) => void;
|
|
339
|
+
info: () => void;
|
|
340
|
+
scopeChange: (options: any) => void;
|
|
341
|
+
updateGrid: (options: any) => void;
|
|
342
|
+
updateGraduation: (options: any) => void;
|
|
343
|
+
updateNavigator: (flag: any) => void;
|
|
344
|
+
fastMove: ({ name, value }: {
|
|
345
|
+
name: string;
|
|
346
|
+
value: any;
|
|
347
|
+
}) => void;
|
|
348
|
+
zoomTo: (zoom: any) => void;
|
|
349
|
+
selectLabel: (label: import("./components/KfbView/index.ts").Label) => void;
|
|
350
|
+
reloadLabelList: () => void;
|
|
351
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
352
|
+
tool: (action: string, value?: any) => any;
|
|
353
|
+
}, import("vue").PublicProps, {
|
|
354
|
+
microscope: import("./components/KfbView/index.ts").Microscope;
|
|
355
|
+
process: import("./components/KfbView/index.ts").Process;
|
|
356
|
+
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
357
|
+
P: {};
|
|
358
|
+
B: {};
|
|
359
|
+
D: {};
|
|
360
|
+
C: {};
|
|
361
|
+
M: {};
|
|
362
|
+
Defaults: {};
|
|
363
|
+
}, Readonly<import("./components/KfbView/index.ts").KfbProps> & Readonly<{
|
|
364
|
+
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
365
|
+
}>, {
|
|
366
|
+
kfbView: import("vue").Ref<{
|
|
367
|
+
labelList?: {
|
|
368
|
+
id?: number | undefined;
|
|
369
|
+
parent_id?: number | undefined;
|
|
370
|
+
lineWidth?: number | undefined;
|
|
371
|
+
strokeStyle?: string | undefined;
|
|
372
|
+
fillStyle?: string | undefined;
|
|
373
|
+
fontSize?: number | undefined;
|
|
374
|
+
description?: string | undefined;
|
|
375
|
+
text?: string | undefined;
|
|
376
|
+
angle?: number | undefined;
|
|
377
|
+
measure?: boolean | undefined;
|
|
378
|
+
points?: {
|
|
379
|
+
x: number;
|
|
380
|
+
y: number;
|
|
381
|
+
minus?: ((point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point) | undefined;
|
|
382
|
+
clone?: (() => import("./components/KfbView/index.ts").Point) | undefined;
|
|
383
|
+
}[] | undefined;
|
|
384
|
+
tool?: string | undefined;
|
|
385
|
+
src?: string | undefined;
|
|
386
|
+
scale?: number | undefined;
|
|
387
|
+
region?: {
|
|
388
|
+
x: number;
|
|
389
|
+
y: number;
|
|
390
|
+
width: number;
|
|
391
|
+
height: number;
|
|
392
|
+
} | undefined;
|
|
393
|
+
move?: boolean | undefined;
|
|
394
|
+
resize?: boolean | undefined;
|
|
395
|
+
isROI?: boolean | undefined;
|
|
396
|
+
isClose?: boolean | undefined;
|
|
397
|
+
select?: boolean | undefined;
|
|
398
|
+
show?: boolean | undefined;
|
|
399
|
+
is_ai?: boolean | undefined;
|
|
400
|
+
custom?: boolean | undefined;
|
|
401
|
+
cls?: string | undefined;
|
|
402
|
+
score?: number | undefined;
|
|
403
|
+
imageUrl?: string | undefined;
|
|
404
|
+
__other__: any;
|
|
405
|
+
}[] | undefined;
|
|
406
|
+
viewer: {
|
|
407
|
+
viewport: {
|
|
408
|
+
setRotation: (angle?: number) => void;
|
|
409
|
+
toggleFlip: () => void;
|
|
410
|
+
getCenter: (center?: boolean) => import("./components/KfbView/index.ts").Point;
|
|
411
|
+
panTo: (point: import("./components/KfbView/index.ts").Point) => void;
|
|
412
|
+
viewportToImageZoom: (zoom: number) => number;
|
|
413
|
+
imageToViewportZoom: (zoom: number) => number;
|
|
414
|
+
zoomTo: (zoom: number) => void;
|
|
415
|
+
zoomBy: (zoom: number) => void;
|
|
416
|
+
applyConstraints: () => void;
|
|
417
|
+
containerSize: {
|
|
418
|
+
x: number;
|
|
419
|
+
y: number;
|
|
420
|
+
minus?: ((point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point) | undefined;
|
|
421
|
+
clone?: (() => import("./components/KfbView/index.ts").Point) | undefined;
|
|
422
|
+
};
|
|
423
|
+
getZoom: (flag?: boolean) => number;
|
|
424
|
+
panBy: (point: import("./components/KfbView/index.ts").Point, flag?: boolean) => void;
|
|
425
|
+
deltaPointsFromPixels: (point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point;
|
|
426
|
+
};
|
|
427
|
+
drawer: {
|
|
428
|
+
canvas: HTMLCanvasElement;
|
|
429
|
+
};
|
|
430
|
+
addHandler: (name: string, func: (e: import("./components/KfbView/index.ts").KfbEvent) => void) => void;
|
|
431
|
+
removeHandler: (name: string, func: (e: import("./components/KfbView/index.ts").KfbEvent) => void) => void;
|
|
432
|
+
forceRedraw: () => void;
|
|
433
|
+
world?: {
|
|
434
|
+
getItemAt: (number: number) => import("./components/KfbView/index.ts").TiledImage;
|
|
435
|
+
tiledImage: {
|
|
436
|
+
draw: () => void;
|
|
437
|
+
tilesMatrix: Record<any, any>;
|
|
438
|
+
};
|
|
439
|
+
removeItem: (tile: import("./components/KfbView/index.ts").TiledImage) => void;
|
|
440
|
+
} | undefined;
|
|
441
|
+
addTiledImage: (options: Record<any, any>) => void;
|
|
442
|
+
};
|
|
443
|
+
destroy?: (() => void) | undefined;
|
|
444
|
+
initLabelList?: ((data: import("./components/KfbView/index.ts").Label[]) => void) | undefined;
|
|
445
|
+
$on?: ((event?: string, func?: (data: any) => any) => void) | undefined;
|
|
446
|
+
$options: Record<string, any>;
|
|
447
|
+
board?: {
|
|
448
|
+
startDraw: (options: any) => void;
|
|
449
|
+
endDraw: () => void;
|
|
450
|
+
} | undefined;
|
|
451
|
+
grid?: {
|
|
452
|
+
updated: (options: any) => void;
|
|
453
|
+
} | undefined;
|
|
454
|
+
graduation?: {
|
|
455
|
+
updated: (options: any) => void;
|
|
456
|
+
} | undefined;
|
|
457
|
+
area?: {
|
|
458
|
+
moveToLabel: (point: import("./components/KfbView/index.ts").Point) => void;
|
|
459
|
+
getCenterPoint: (rect: import("./components/KfbView/index.ts").Rect) => import("./components/KfbView/index.ts").Point;
|
|
460
|
+
imageToViewerElementRectangle: (rect: import("./components/KfbView/index.ts").Rect) => import("./components/KfbView/index.ts").Rect;
|
|
461
|
+
} | undefined;
|
|
462
|
+
navigator?: {
|
|
463
|
+
element: HTMLElement;
|
|
464
|
+
drawPointList: (data: any) => void;
|
|
465
|
+
} | undefined;
|
|
466
|
+
tailoring: {
|
|
467
|
+
init: (data: {
|
|
468
|
+
left: number;
|
|
469
|
+
top: number;
|
|
470
|
+
height: number;
|
|
471
|
+
width: number;
|
|
472
|
+
now?: boolean;
|
|
473
|
+
color?: string;
|
|
474
|
+
}) => void;
|
|
475
|
+
};
|
|
476
|
+
}, import("./components/KfbView/index.ts").KfbViewInterface | {
|
|
477
|
+
labelList?: {
|
|
478
|
+
id?: number | undefined;
|
|
479
|
+
parent_id?: number | undefined;
|
|
480
|
+
lineWidth?: number | undefined;
|
|
481
|
+
strokeStyle?: string | undefined;
|
|
482
|
+
fillStyle?: string | undefined;
|
|
483
|
+
fontSize?: number | undefined;
|
|
484
|
+
description?: string | undefined;
|
|
485
|
+
text?: string | undefined;
|
|
486
|
+
angle?: number | undefined;
|
|
487
|
+
measure?: boolean | undefined;
|
|
488
|
+
points?: {
|
|
489
|
+
x: number;
|
|
490
|
+
y: number;
|
|
491
|
+
minus?: ((point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point) | undefined;
|
|
492
|
+
clone?: (() => import("./components/KfbView/index.ts").Point) | undefined;
|
|
493
|
+
}[] | undefined;
|
|
494
|
+
tool?: string | undefined;
|
|
495
|
+
src?: string | undefined;
|
|
496
|
+
scale?: number | undefined;
|
|
497
|
+
region?: {
|
|
498
|
+
x: number;
|
|
499
|
+
y: number;
|
|
500
|
+
width: number;
|
|
501
|
+
height: number;
|
|
502
|
+
} | undefined;
|
|
503
|
+
move?: boolean | undefined;
|
|
504
|
+
resize?: boolean | undefined;
|
|
505
|
+
isROI?: boolean | undefined;
|
|
506
|
+
isClose?: boolean | undefined;
|
|
507
|
+
select?: boolean | undefined;
|
|
508
|
+
show?: boolean | undefined;
|
|
509
|
+
is_ai?: boolean | undefined;
|
|
510
|
+
custom?: boolean | undefined;
|
|
511
|
+
cls?: string | undefined;
|
|
512
|
+
score?: number | undefined;
|
|
513
|
+
imageUrl?: string | undefined;
|
|
514
|
+
__other__: any;
|
|
515
|
+
}[] | undefined;
|
|
516
|
+
viewer: {
|
|
517
|
+
viewport: {
|
|
518
|
+
setRotation: (angle?: number) => void;
|
|
519
|
+
toggleFlip: () => void;
|
|
520
|
+
getCenter: (center?: boolean) => import("./components/KfbView/index.ts").Point;
|
|
521
|
+
panTo: (point: import("./components/KfbView/index.ts").Point) => void;
|
|
522
|
+
viewportToImageZoom: (zoom: number) => number;
|
|
523
|
+
imageToViewportZoom: (zoom: number) => number;
|
|
524
|
+
zoomTo: (zoom: number) => void;
|
|
525
|
+
zoomBy: (zoom: number) => void;
|
|
526
|
+
applyConstraints: () => void;
|
|
527
|
+
containerSize: {
|
|
528
|
+
x: number;
|
|
529
|
+
y: number;
|
|
530
|
+
minus?: ((point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point) | undefined;
|
|
531
|
+
clone?: (() => import("./components/KfbView/index.ts").Point) | undefined;
|
|
532
|
+
};
|
|
533
|
+
getZoom: (flag?: boolean) => number;
|
|
534
|
+
panBy: (point: import("./components/KfbView/index.ts").Point, flag?: boolean) => void;
|
|
535
|
+
deltaPointsFromPixels: (point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point;
|
|
536
|
+
};
|
|
537
|
+
drawer: {
|
|
538
|
+
canvas: HTMLCanvasElement;
|
|
539
|
+
};
|
|
540
|
+
addHandler: (name: string, func: (e: import("./components/KfbView/index.ts").KfbEvent) => void) => void;
|
|
541
|
+
removeHandler: (name: string, func: (e: import("./components/KfbView/index.ts").KfbEvent) => void) => void;
|
|
542
|
+
forceRedraw: () => void;
|
|
543
|
+
world?: {
|
|
544
|
+
getItemAt: (number: number) => import("./components/KfbView/index.ts").TiledImage;
|
|
545
|
+
tiledImage: {
|
|
546
|
+
draw: () => void;
|
|
547
|
+
tilesMatrix: Record<any, any>;
|
|
548
|
+
};
|
|
549
|
+
removeItem: (tile: import("./components/KfbView/index.ts").TiledImage) => void;
|
|
550
|
+
} | undefined;
|
|
551
|
+
addTiledImage: (options: Record<any, any>) => void;
|
|
552
|
+
};
|
|
553
|
+
destroy?: (() => void) | undefined;
|
|
554
|
+
initLabelList?: ((data: import("./components/KfbView/index.ts").Label[]) => void) | undefined;
|
|
555
|
+
$on?: ((event?: string, func?: (data: any) => any) => void) | undefined;
|
|
556
|
+
$options: Record<string, any>;
|
|
557
|
+
board?: {
|
|
558
|
+
startDraw: (options: any) => void;
|
|
559
|
+
endDraw: () => void;
|
|
560
|
+
} | undefined;
|
|
561
|
+
grid?: {
|
|
562
|
+
updated: (options: any) => void;
|
|
563
|
+
} | undefined;
|
|
564
|
+
graduation?: {
|
|
565
|
+
updated: (options: any) => void;
|
|
566
|
+
} | undefined;
|
|
567
|
+
area?: {
|
|
568
|
+
moveToLabel: (point: import("./components/KfbView/index.ts").Point) => void;
|
|
569
|
+
getCenterPoint: (rect: import("./components/KfbView/index.ts").Rect) => import("./components/KfbView/index.ts").Point;
|
|
570
|
+
imageToViewerElementRectangle: (rect: import("./components/KfbView/index.ts").Rect) => import("./components/KfbView/index.ts").Rect;
|
|
571
|
+
} | undefined;
|
|
572
|
+
navigator?: {
|
|
573
|
+
element: HTMLElement;
|
|
574
|
+
drawPointList: (data: any) => void;
|
|
575
|
+
} | undefined;
|
|
576
|
+
tailoring: {
|
|
577
|
+
init: (data: {
|
|
578
|
+
left: number;
|
|
579
|
+
top: number;
|
|
580
|
+
height: number;
|
|
581
|
+
width: number;
|
|
582
|
+
now?: boolean;
|
|
583
|
+
color?: string;
|
|
584
|
+
}) => void;
|
|
585
|
+
};
|
|
586
|
+
}>;
|
|
587
|
+
degrees: import("vue").Ref<number, number>;
|
|
588
|
+
zoom: import("vue").Ref<number, number>;
|
|
589
|
+
forceRedraw: (process?: import("./components/KfbView/index.ts").Process) => void;
|
|
590
|
+
toggleFlip: () => void;
|
|
591
|
+
startDraw: (options: any) => void;
|
|
592
|
+
endDraw: () => void;
|
|
593
|
+
shotScreen: (now?: boolean) => void;
|
|
594
|
+
info: () => void;
|
|
595
|
+
scopeChange: (options: any) => void;
|
|
596
|
+
updateGrid: (options: any) => void;
|
|
597
|
+
updateGraduation: (options: any) => void;
|
|
598
|
+
updateNavigator: (flag: any) => void;
|
|
599
|
+
fastMove: ({ name, value }: {
|
|
600
|
+
name: string;
|
|
601
|
+
value: any;
|
|
602
|
+
}) => void;
|
|
603
|
+
zoomTo: (zoom: any) => void;
|
|
604
|
+
selectLabel: (label: import("./components/KfbView/index.ts").Label) => void;
|
|
605
|
+
reloadLabelList: () => void;
|
|
606
|
+
}, {}, {}, {}, {
|
|
607
|
+
microscope: import("./components/KfbView/index.ts").Microscope;
|
|
608
|
+
process: import("./components/KfbView/index.ts").Process;
|
|
609
|
+
}>;
|
|
610
|
+
__isFragment?: never;
|
|
611
|
+
__isTeleport?: never;
|
|
612
|
+
__isSuspense?: never;
|
|
613
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("./components/KfbView/index.ts").KfbProps> & Readonly<{
|
|
614
|
+
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
615
|
+
}>, {
|
|
616
|
+
kfbView: import("vue").Ref<{
|
|
617
|
+
labelList?: {
|
|
618
|
+
id?: number | undefined;
|
|
619
|
+
parent_id?: number | undefined;
|
|
620
|
+
lineWidth?: number | undefined;
|
|
621
|
+
strokeStyle?: string | undefined;
|
|
622
|
+
fillStyle?: string | undefined;
|
|
623
|
+
fontSize?: number | undefined;
|
|
624
|
+
description?: string | undefined;
|
|
625
|
+
text?: string | undefined;
|
|
626
|
+
angle?: number | undefined;
|
|
627
|
+
measure?: boolean | undefined;
|
|
628
|
+
points?: {
|
|
629
|
+
x: number;
|
|
630
|
+
y: number;
|
|
631
|
+
minus?: ((point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point) | undefined;
|
|
632
|
+
clone?: (() => import("./components/KfbView/index.ts").Point) | undefined;
|
|
633
|
+
}[] | undefined;
|
|
634
|
+
tool?: string | undefined;
|
|
635
|
+
src?: string | undefined;
|
|
636
|
+
scale?: number | undefined;
|
|
637
|
+
region?: {
|
|
638
|
+
x: number;
|
|
639
|
+
y: number;
|
|
640
|
+
width: number;
|
|
641
|
+
height: number;
|
|
642
|
+
} | undefined;
|
|
643
|
+
move?: boolean | undefined;
|
|
644
|
+
resize?: boolean | undefined;
|
|
645
|
+
isROI?: boolean | undefined;
|
|
646
|
+
isClose?: boolean | undefined;
|
|
647
|
+
select?: boolean | undefined;
|
|
648
|
+
show?: boolean | undefined;
|
|
649
|
+
is_ai?: boolean | undefined;
|
|
650
|
+
custom?: boolean | undefined;
|
|
651
|
+
cls?: string | undefined;
|
|
652
|
+
score?: number | undefined;
|
|
653
|
+
imageUrl?: string | undefined;
|
|
654
|
+
__other__: any;
|
|
655
|
+
}[] | undefined;
|
|
656
|
+
viewer: {
|
|
657
|
+
viewport: {
|
|
658
|
+
setRotation: (angle?: number) => void;
|
|
659
|
+
toggleFlip: () => void;
|
|
660
|
+
getCenter: (center?: boolean) => import("./components/KfbView/index.ts").Point;
|
|
661
|
+
panTo: (point: import("./components/KfbView/index.ts").Point) => void;
|
|
662
|
+
viewportToImageZoom: (zoom: number) => number;
|
|
663
|
+
imageToViewportZoom: (zoom: number) => number;
|
|
664
|
+
zoomTo: (zoom: number) => void;
|
|
665
|
+
zoomBy: (zoom: number) => void;
|
|
666
|
+
applyConstraints: () => void;
|
|
667
|
+
containerSize: {
|
|
668
|
+
x: number;
|
|
669
|
+
y: number;
|
|
670
|
+
minus?: ((point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point) | undefined;
|
|
671
|
+
clone?: (() => import("./components/KfbView/index.ts").Point) | undefined;
|
|
672
|
+
};
|
|
673
|
+
getZoom: (flag?: boolean) => number;
|
|
674
|
+
panBy: (point: import("./components/KfbView/index.ts").Point, flag?: boolean) => void;
|
|
675
|
+
deltaPointsFromPixels: (point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point;
|
|
676
|
+
};
|
|
677
|
+
drawer: {
|
|
678
|
+
canvas: HTMLCanvasElement;
|
|
679
|
+
};
|
|
680
|
+
addHandler: (name: string, func: (e: import("./components/KfbView/index.ts").KfbEvent) => void) => void;
|
|
681
|
+
removeHandler: (name: string, func: (e: import("./components/KfbView/index.ts").KfbEvent) => void) => void;
|
|
682
|
+
forceRedraw: () => void;
|
|
683
|
+
world?: {
|
|
684
|
+
getItemAt: (number: number) => import("./components/KfbView/index.ts").TiledImage;
|
|
685
|
+
tiledImage: {
|
|
686
|
+
draw: () => void;
|
|
687
|
+
tilesMatrix: Record<any, any>;
|
|
688
|
+
};
|
|
689
|
+
removeItem: (tile: import("./components/KfbView/index.ts").TiledImage) => void;
|
|
690
|
+
} | undefined;
|
|
691
|
+
addTiledImage: (options: Record<any, any>) => void;
|
|
692
|
+
};
|
|
693
|
+
destroy?: (() => void) | undefined;
|
|
694
|
+
initLabelList?: ((data: import("./components/KfbView/index.ts").Label[]) => void) | undefined;
|
|
695
|
+
$on?: ((event?: string, func?: (data: any) => any) => void) | undefined;
|
|
696
|
+
$options: Record<string, any>;
|
|
697
|
+
board?: {
|
|
698
|
+
startDraw: (options: any) => void;
|
|
699
|
+
endDraw: () => void;
|
|
700
|
+
} | undefined;
|
|
701
|
+
grid?: {
|
|
702
|
+
updated: (options: any) => void;
|
|
703
|
+
} | undefined;
|
|
704
|
+
graduation?: {
|
|
705
|
+
updated: (options: any) => void;
|
|
706
|
+
} | undefined;
|
|
707
|
+
area?: {
|
|
708
|
+
moveToLabel: (point: import("./components/KfbView/index.ts").Point) => void;
|
|
709
|
+
getCenterPoint: (rect: import("./components/KfbView/index.ts").Rect) => import("./components/KfbView/index.ts").Point;
|
|
710
|
+
imageToViewerElementRectangle: (rect: import("./components/KfbView/index.ts").Rect) => import("./components/KfbView/index.ts").Rect;
|
|
711
|
+
} | undefined;
|
|
712
|
+
navigator?: {
|
|
713
|
+
element: HTMLElement;
|
|
714
|
+
drawPointList: (data: any) => void;
|
|
715
|
+
} | undefined;
|
|
716
|
+
tailoring: {
|
|
717
|
+
init: (data: {
|
|
718
|
+
left: number;
|
|
719
|
+
top: number;
|
|
720
|
+
height: number;
|
|
721
|
+
width: number;
|
|
722
|
+
now?: boolean;
|
|
723
|
+
color?: string;
|
|
724
|
+
}) => void;
|
|
725
|
+
};
|
|
726
|
+
}, import("./components/KfbView/index.ts").KfbViewInterface | {
|
|
727
|
+
labelList?: {
|
|
728
|
+
id?: number | undefined;
|
|
729
|
+
parent_id?: number | undefined;
|
|
730
|
+
lineWidth?: number | undefined;
|
|
731
|
+
strokeStyle?: string | undefined;
|
|
732
|
+
fillStyle?: string | undefined;
|
|
733
|
+
fontSize?: number | undefined;
|
|
734
|
+
description?: string | undefined;
|
|
735
|
+
text?: string | undefined;
|
|
736
|
+
angle?: number | undefined;
|
|
737
|
+
measure?: boolean | undefined;
|
|
738
|
+
points?: {
|
|
739
|
+
x: number;
|
|
740
|
+
y: number;
|
|
741
|
+
minus?: ((point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point) | undefined;
|
|
742
|
+
clone?: (() => import("./components/KfbView/index.ts").Point) | undefined;
|
|
743
|
+
}[] | undefined;
|
|
744
|
+
tool?: string | undefined;
|
|
745
|
+
src?: string | undefined;
|
|
746
|
+
scale?: number | undefined;
|
|
747
|
+
region?: {
|
|
748
|
+
x: number;
|
|
749
|
+
y: number;
|
|
750
|
+
width: number;
|
|
751
|
+
height: number;
|
|
752
|
+
} | undefined;
|
|
753
|
+
move?: boolean | undefined;
|
|
754
|
+
resize?: boolean | undefined;
|
|
755
|
+
isROI?: boolean | undefined;
|
|
756
|
+
isClose?: boolean | undefined;
|
|
757
|
+
select?: boolean | undefined;
|
|
758
|
+
show?: boolean | undefined;
|
|
759
|
+
is_ai?: boolean | undefined;
|
|
760
|
+
custom?: boolean | undefined;
|
|
761
|
+
cls?: string | undefined;
|
|
762
|
+
score?: number | undefined;
|
|
763
|
+
imageUrl?: string | undefined;
|
|
764
|
+
__other__: any;
|
|
765
|
+
}[] | undefined;
|
|
766
|
+
viewer: {
|
|
767
|
+
viewport: {
|
|
768
|
+
setRotation: (angle?: number) => void;
|
|
769
|
+
toggleFlip: () => void;
|
|
770
|
+
getCenter: (center?: boolean) => import("./components/KfbView/index.ts").Point;
|
|
771
|
+
panTo: (point: import("./components/KfbView/index.ts").Point) => void;
|
|
772
|
+
viewportToImageZoom: (zoom: number) => number;
|
|
773
|
+
imageToViewportZoom: (zoom: number) => number;
|
|
774
|
+
zoomTo: (zoom: number) => void;
|
|
775
|
+
zoomBy: (zoom: number) => void;
|
|
776
|
+
applyConstraints: () => void;
|
|
777
|
+
containerSize: {
|
|
778
|
+
x: number;
|
|
779
|
+
y: number;
|
|
780
|
+
minus?: ((point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point) | undefined;
|
|
781
|
+
clone?: (() => import("./components/KfbView/index.ts").Point) | undefined;
|
|
782
|
+
};
|
|
783
|
+
getZoom: (flag?: boolean) => number;
|
|
784
|
+
panBy: (point: import("./components/KfbView/index.ts").Point, flag?: boolean) => void;
|
|
785
|
+
deltaPointsFromPixels: (point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point;
|
|
786
|
+
};
|
|
787
|
+
drawer: {
|
|
788
|
+
canvas: HTMLCanvasElement;
|
|
789
|
+
};
|
|
790
|
+
addHandler: (name: string, func: (e: import("./components/KfbView/index.ts").KfbEvent) => void) => void;
|
|
791
|
+
removeHandler: (name: string, func: (e: import("./components/KfbView/index.ts").KfbEvent) => void) => void;
|
|
792
|
+
forceRedraw: () => void;
|
|
793
|
+
world?: {
|
|
794
|
+
getItemAt: (number: number) => import("./components/KfbView/index.ts").TiledImage;
|
|
795
|
+
tiledImage: {
|
|
796
|
+
draw: () => void;
|
|
797
|
+
tilesMatrix: Record<any, any>;
|
|
798
|
+
};
|
|
799
|
+
removeItem: (tile: import("./components/KfbView/index.ts").TiledImage) => void;
|
|
800
|
+
} | undefined;
|
|
801
|
+
addTiledImage: (options: Record<any, any>) => void;
|
|
802
|
+
};
|
|
803
|
+
destroy?: (() => void) | undefined;
|
|
804
|
+
initLabelList?: ((data: import("./components/KfbView/index.ts").Label[]) => void) | undefined;
|
|
805
|
+
$on?: ((event?: string, func?: (data: any) => any) => void) | undefined;
|
|
806
|
+
$options: Record<string, any>;
|
|
807
|
+
board?: {
|
|
808
|
+
startDraw: (options: any) => void;
|
|
809
|
+
endDraw: () => void;
|
|
810
|
+
} | undefined;
|
|
811
|
+
grid?: {
|
|
812
|
+
updated: (options: any) => void;
|
|
813
|
+
} | undefined;
|
|
814
|
+
graduation?: {
|
|
815
|
+
updated: (options: any) => void;
|
|
816
|
+
} | undefined;
|
|
817
|
+
area?: {
|
|
818
|
+
moveToLabel: (point: import("./components/KfbView/index.ts").Point) => void;
|
|
819
|
+
getCenterPoint: (rect: import("./components/KfbView/index.ts").Rect) => import("./components/KfbView/index.ts").Point;
|
|
820
|
+
imageToViewerElementRectangle: (rect: import("./components/KfbView/index.ts").Rect) => import("./components/KfbView/index.ts").Rect;
|
|
821
|
+
} | undefined;
|
|
822
|
+
navigator?: {
|
|
823
|
+
element: HTMLElement;
|
|
824
|
+
drawPointList: (data: any) => void;
|
|
825
|
+
} | undefined;
|
|
826
|
+
tailoring: {
|
|
827
|
+
init: (data: {
|
|
828
|
+
left: number;
|
|
829
|
+
top: number;
|
|
830
|
+
height: number;
|
|
831
|
+
width: number;
|
|
832
|
+
now?: boolean;
|
|
833
|
+
color?: string;
|
|
834
|
+
}) => void;
|
|
835
|
+
};
|
|
836
|
+
}>;
|
|
837
|
+
degrees: import("vue").Ref<number, number>;
|
|
838
|
+
zoom: import("vue").Ref<number, number>;
|
|
839
|
+
forceRedraw: (process?: import("./components/KfbView/index.ts").Process) => void;
|
|
840
|
+
toggleFlip: () => void;
|
|
841
|
+
startDraw: (options: any) => void;
|
|
842
|
+
endDraw: () => void;
|
|
843
|
+
shotScreen: (now?: boolean) => void;
|
|
844
|
+
info: () => void;
|
|
845
|
+
scopeChange: (options: any) => void;
|
|
846
|
+
updateGrid: (options: any) => void;
|
|
847
|
+
updateGraduation: (options: any) => void;
|
|
848
|
+
updateNavigator: (flag: any) => void;
|
|
849
|
+
fastMove: ({ name, value }: {
|
|
850
|
+
name: string;
|
|
851
|
+
value: any;
|
|
852
|
+
}) => void;
|
|
853
|
+
zoomTo: (zoom: any) => void;
|
|
854
|
+
selectLabel: (label: import("./components/KfbView/index.ts").Label) => void;
|
|
855
|
+
reloadLabelList: () => void;
|
|
856
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
857
|
+
tool: (action: string, value?: any) => any;
|
|
858
|
+
}, string, {
|
|
859
|
+
microscope: import("./components/KfbView/index.ts").Microscope;
|
|
860
|
+
process: import("./components/KfbView/index.ts").Process;
|
|
861
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
862
|
+
$slots: {
|
|
863
|
+
default?: (props: {}) => any;
|
|
864
|
+
};
|
|
865
|
+
});
|
|
866
|
+
HzztKfbToolbox: {
|
|
867
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
868
|
+
menu: (string | import("./instances.ts").ToolboxMenu)[];
|
|
869
|
+
process?: import("./components/KfbView/index.ts").Process;
|
|
870
|
+
microscope?: import("./components/KfbView/index.ts").Microscope;
|
|
871
|
+
showMenuText?: boolean;
|
|
872
|
+
}> & Readonly<{
|
|
873
|
+
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
874
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
875
|
+
tool: (action: string, value?: any) => any;
|
|
876
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
877
|
+
P: {};
|
|
878
|
+
B: {};
|
|
879
|
+
D: {};
|
|
880
|
+
C: {};
|
|
881
|
+
M: {};
|
|
882
|
+
Defaults: {};
|
|
883
|
+
}, Readonly<{
|
|
884
|
+
menu: (string | import("./instances.ts").ToolboxMenu)[];
|
|
885
|
+
process?: import("./components/KfbView/index.ts").Process;
|
|
886
|
+
microscope?: import("./components/KfbView/index.ts").Microscope;
|
|
887
|
+
showMenuText?: boolean;
|
|
888
|
+
}> & Readonly<{
|
|
889
|
+
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
890
|
+
}>, {}, {}, {}, {}, {}>;
|
|
891
|
+
__isFragment?: never;
|
|
892
|
+
__isTeleport?: never;
|
|
893
|
+
__isSuspense?: never;
|
|
894
|
+
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
895
|
+
menu: (string | import("./instances.ts").ToolboxMenu)[];
|
|
896
|
+
process?: import("./components/KfbView/index.ts").Process;
|
|
897
|
+
microscope?: import("./components/KfbView/index.ts").Microscope;
|
|
898
|
+
showMenuText?: boolean;
|
|
899
|
+
}> & Readonly<{
|
|
900
|
+
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
901
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
902
|
+
tool: (action: string, value?: any) => any;
|
|
903
|
+
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
904
|
+
$slots: {
|
|
905
|
+
left?: (props: {}) => any;
|
|
906
|
+
} & {
|
|
907
|
+
right?: (props: {}) => any;
|
|
908
|
+
};
|
|
909
|
+
});
|
|
12
910
|
};
|
|
13
911
|
export default _default;
|