@kengic/vue 0.26.6-beta.83 → 0.26.6-beta.84

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,7 +29,6 @@ export declare const getProps: () => {
29
29
  eid: PropType<string>;
30
30
  kgElement: PropType<Q.Element<any>>;
31
31
  kgElementUi: PropType<Q.ElementUI>;
32
- kgGraph: PropType<Q.Graph>;
33
32
  /**
34
33
  * 是否显示.
35
34
  *
@@ -55,7 +54,6 @@ declare const _default: import("vue").DefineComponent<{
55
54
  eid: PropType<string>;
56
55
  kgElement: PropType<Q.Element<any>>;
57
56
  kgElementUi: PropType<Q.ElementUI>;
58
- kgGraph: PropType<Q.Graph>;
59
57
  /**
60
58
  * 是否显示.
61
59
  *
@@ -79,7 +77,6 @@ declare const _default: import("vue").DefineComponent<{
79
77
  eid: PropType<string>;
80
78
  kgElement: PropType<Q.Element<any>>;
81
79
  kgElementUi: PropType<Q.ElementUI>;
82
- kgGraph: PropType<Q.Graph>;
83
80
  /**
84
81
  * 是否显示.
85
82
  *
@@ -0,0 +1,38 @@
1
+ import { ExtractPropTypes, PropType } from 'vue';
2
+ import './KgCanvas.css';
3
+ export declare const getProps: () => {
4
+ /**
5
+ * 是否显示文本.
6
+ *
7
+ * @default false
8
+ */
9
+ kgIsShowText: {
10
+ type: PropType<boolean>;
11
+ default: boolean;
12
+ };
13
+ };
14
+ export declare type KgCanvasToolbarOverviewScaleProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
15
+ declare const _default: import("vue").DefineComponent<{
16
+ /**
17
+ * 是否显示文本.
18
+ *
19
+ * @default false
20
+ */
21
+ kgIsShowText: {
22
+ type: PropType<boolean>;
23
+ default: boolean;
24
+ };
25
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
26
+ /**
27
+ * 是否显示文本.
28
+ *
29
+ * @default false
30
+ */
31
+ kgIsShowText: {
32
+ type: PropType<boolean>;
33
+ default: boolean;
34
+ };
35
+ }>>, {
36
+ kgIsShowText: boolean;
37
+ }>;
38
+ export default _default;
@@ -4,7 +4,6 @@ import './KgCanvas.css';
4
4
  export declare const getProps: () => {
5
5
  kgElement: PropType<Q.Element<any>>;
6
6
  kgElementUi: PropType<Q.ElementUI>;
7
- kgGraph: PropType<Q.Graph>;
8
7
  /**
9
8
  * 鼠标事件对象.
10
9
  */
@@ -14,7 +13,6 @@ export declare type KgCanvasTooltipProps = Partial<ExtractPropTypes<ReturnType<t
14
13
  declare const _default: import("vue").DefineComponent<{
15
14
  kgElement: PropType<Q.Element<any>>;
16
15
  kgElementUi: PropType<Q.ElementUI>;
17
- kgGraph: PropType<Q.Graph>;
18
16
  /**
19
17
  * 鼠标事件对象.
20
18
  */
@@ -22,7 +20,6 @@ declare const _default: import("vue").DefineComponent<{
22
20
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
23
21
  kgElement: PropType<Q.Element<any>>;
24
22
  kgElementUi: PropType<Q.ElementUI>;
25
- kgGraph: PropType<Q.Graph>;
26
23
  /**
27
24
  * 鼠标事件对象.
28
25
  */
@@ -1,6 +1,6 @@
1
1
  import { Q } from '@thymine/xunee';
2
2
  import { Ref } from 'vue';
3
- import { IKgCanvasContextMenu, KgCanvasContextMenuProps } from './KgCanvasContextMenu';
3
+ import { IKgCanvasContextMenu, KgCanvasContextMenuProps } from './KgCanvas.ContextMenu';
4
4
  /**
5
5
  * 用户属性.
6
6
  */
@@ -1,4 +1,4 @@
1
1
  export { default as KgCanvas } from './KgCanvas';
2
- export { type IKgCanvasContextMenu } from './KgCanvasContextMenu';
2
+ export { type IKgCanvasContextMenu } from './KgCanvas.ContextMenu';
3
3
  export * from './index.hooks';
4
4
  export { type IKgCanvasElementProperties } from './KgCanvas.service';
@@ -2,7 +2,7 @@ import { Q } from '@thymine/xunee';
2
2
  import { StoreDefinition } from 'pinia';
3
3
  import { Ref } from 'vue';
4
4
  import { IKgEventListener } from '../../const';
5
- import { type IKgCanvasContextMenu } from './KgCanvasContextMenu';
5
+ import { type IKgCanvasContextMenu } from './KgCanvas.ContextMenu';
6
6
  /**
7
7
  * 事件类型.
8
8
  * 'onInit': 图形组件初始完成
@@ -1,3 +1,4 @@
1
+ import { Q } from '@thymine/xunee';
1
2
  import { InjectionKey } from 'vue';
2
3
  export declare const KG__DI__KG_CANVAS_PROPS: InjectionKey<Partial<import("vue").ExtractPropTypes<{
3
4
  kgCanvasToolbarFullscreen: {
@@ -25,3 +26,4 @@ export declare const KG__DI__KG_CANVAS_PROPS: InjectionKey<Partial<import("vue")
25
26
  default: boolean;
26
27
  };
27
28
  }>>>;
29
+ export declare const KG__DI__KG_CANVAS_GET_GRAPH: InjectionKey<() => Q.Graph>;
@@ -2,6 +2,7 @@ import { StoreDefinition } from 'pinia';
2
2
  import { App } from 'vue';
3
3
  import { Router } from 'vue-router';
4
4
  import { IKgOption, P } from '../index.store';
5
+ import '@kengic/core/react';
5
6
  import '@kengic/core/react/index.css';
6
7
  export declare type IKgOptions = {
7
8
  /**
@@ -13,6 +13,9 @@ declare const _default: {
13
13
  KgCanvas: {
14
14
  enterFullscreen: string;
15
15
  exitFullscreen: string;
16
+ originalScale: string;
17
+ overviewScale: string;
18
+ reload: string;
16
19
  };
17
20
  KgFormItem: {
18
21
  formValidationMessageForGT: string;
@@ -13,6 +13,9 @@ declare const _default: {
13
13
  KgCanvas: {
14
14
  enterFullscreen: string;
15
15
  exitFullscreen: string;
16
+ originalScale: string;
17
+ overviewScale: string;
18
+ reload: string;
16
19
  };
17
20
  KgFormItem: {
18
21
  formValidationMessageForGT: string;
@@ -13,6 +13,9 @@ declare const _default: {
13
13
  KgCanvas: {
14
14
  enterFullscreen: string;
15
15
  exitFullscreen: string;
16
+ originalScale: string;
17
+ overviewScale: string;
18
+ reload: string;
16
19
  };
17
20
  KgFormItem: {
18
21
  formValidationMessageForGT: string;
@@ -13,6 +13,9 @@ declare const _default: {
13
13
  KgCanvas: {
14
14
  enterFullscreen: string;
15
15
  exitFullscreen: string;
16
+ originalScale: string;
17
+ overviewScale: string;
18
+ reload: string;
16
19
  };
17
20
  KgFormItem: {
18
21
  formValidationMessageForGT: string;
@@ -13,6 +13,9 @@ declare const _default: {
13
13
  KgCanvas: {
14
14
  enterFullscreen: string;
15
15
  exitFullscreen: string;
16
+ originalScale: string;
17
+ overviewScale: string;
18
+ reload: string;
16
19
  };
17
20
  KgFormItem: {
18
21
  formValidationMessageForGT: string;
@@ -13,6 +13,9 @@ declare const _default: {
13
13
  KgCanvas: {
14
14
  enterFullscreen: string;
15
15
  exitFullscreen: string;
16
+ originalScale: string;
17
+ overviewScale: string;
18
+ reload: string;
16
19
  };
17
20
  KgFormItem: {
18
21
  formValidationMessageForGT: string;
@@ -13,6 +13,10 @@ declare const _default: {
13
13
  KgCanvas: {
14
14
  enterFullscreen: string;
15
15
  exitFullscreen: string;
16
+ exportImage: string;
17
+ originalScale: string;
18
+ overviewScale: string;
19
+ reload: string;
16
20
  };
17
21
  KgFormItem: {
18
22
  formValidationMessageForGT: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.26.6-beta.83",
3
+ "version": "0.26.6-beta.84",
4
4
  "scripts": {
5
5
  "build": "npm run use-node && rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
@@ -39,7 +39,7 @@
39
39
  "@iconify-icons/mdi": "1.2.48",
40
40
  "@iconify-icons/ph": "1.2.5",
41
41
  "@iconify/vue": "4.1.2",
42
- "@kengic/core": "6.0.1-beta.92",
42
+ "@kengic/core": "6.0.1-beta.94",
43
43
  "@kengic/pont": "1.2.17-beta.1",
44
44
  "@rys-fe/vite-plugin-theme": "0.8.6",
45
45
  "@thymine/xunee": "0.4.9-beta.8",