@kengic/vue 0.32.3 → 0.32.4
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/kengic-vue.js +50407 -50562
- package/dist/src/api/api.d.ts +0 -1
- package/dist/src/api/def.d.ts +0 -1
- package/dist/src/component/KgForm/KgForm.d.ts +39 -39
- package/dist/src/component/KgImage/KgImage.d.ts +6 -6
- package/dist/src/component/KgModal/KgModal.d.ts +3 -3
- package/dist/src/component/KgModal02/KgModal02.d.ts +62 -34
- package/dist/src/component/KgResizable/KgResizable.d.ts +4 -4
- package/dist/src/i18n/i18n.setup.d.ts +6 -4
- package/dist/src/model/index.d.ts +36 -44
- package/dist/src/util/ant-design-vue.d.ts +16 -16
- package/dist/src/util/index.d.ts +29 -3
- package/dist/src/util/kg.util.d.ts +39 -2
- package/package.json +3 -3
- package/dist/src/api/WatchTower/Controllers/DashboardsController/Dashboards.d.ts +0 -16
- package/dist/src/api/WatchTower/Controllers/DashboardsController/DashboardsById.d.ts +0 -18
- package/dist/src/api/WatchTower/Controllers/DashboardsController/DashboardsByIdExport.d.ts +0 -18
- package/dist/src/api/WatchTower/Controllers/DashboardsController/DashboardsFolders.d.ts +0 -16
- package/dist/src/api/WatchTower/Controllers/DashboardsController/DashboardsFoldersById.d.ts +0 -18
- package/dist/src/api/WatchTower/Controllers/DashboardsController/DashboardsFoldersOrder.d.ts +0 -16
- package/dist/src/api/WatchTower/Controllers/DashboardsController/DashboardsImport.d.ts +0 -16
- package/dist/src/api/WatchTower/Controllers/DashboardsController/DashboardsOverview.d.ts +0 -15
- package/dist/src/api/WatchTower/Controllers/DashboardsController/DashboardsWidgets.d.ts +0 -16
- package/dist/src/api/WatchTower/Controllers/DashboardsController/DashboardsWidgetsById.d.ts +0 -18
- package/dist/src/api/WatchTower/Controllers/DashboardsController/DashboardsWidgetsByIdMove.d.ts +0 -19
- package/dist/src/api/WatchTower/Controllers/DashboardsController/DashboardsWidgetsOrder.d.ts +0 -16
- package/dist/src/api/WatchTower/Controllers/DashboardsController/index.d.ts +0 -12
- package/dist/src/api/WatchTower/Controllers/HealthController/Live.d.ts +0 -15
- package/dist/src/api/WatchTower/Controllers/HealthController/Ready.d.ts +0 -15
- package/dist/src/api/WatchTower/Controllers/HealthController/index.d.ts +0 -2
- package/dist/src/api/WatchTower/Controllers/MetricsController/History.d.ts +0 -28
- package/dist/src/api/WatchTower/Controllers/MetricsController/Realtime.d.ts +0 -22
- package/dist/src/api/WatchTower/Controllers/MetricsController/index.d.ts +0 -2
- package/dist/src/api/WatchTower/Controllers/MonitorRulesController/MonitorRules.d.ts +0 -16
- package/dist/src/api/WatchTower/Controllers/MonitorRulesController/MonitorRulesById.d.ts +0 -18
- package/dist/src/api/WatchTower/Controllers/MonitorRulesController/index.d.ts +0 -2
- package/dist/src/api/WatchTower/Controllers/PrometheusController/Reload.d.ts +0 -15
- package/dist/src/api/WatchTower/Controllers/PrometheusController/Sync.d.ts +0 -15
- package/dist/src/api/WatchTower/Controllers/PrometheusController/index.d.ts +0 -2
- package/dist/src/api/WatchTower/Controllers/SystemSettingsController/SystemSettings.d.ts +0 -16
- package/dist/src/api/WatchTower/Controllers/SystemSettingsController/index.d.ts +0 -1
- package/dist/src/api/WatchTower/Controllers/index.d.ts +0 -6
- package/dist/src/api/WatchTower/index.d.ts +0 -2
- package/dist/src/api/WatchTower/models.d.ts +0 -134
- package/dist/src/util/event.util.d.ts +0 -15
- package/dist/src/util/kg-auth.util.d.ts +0 -12
- package/dist/src/util/kg-route.util.d.ts +0 -18
- package/dist/src/util/tsx.helper.d.ts +0 -23
|
@@ -527,8 +527,7 @@ declare const KG: {
|
|
|
527
527
|
DESCRIPTION_KEY__WEB: string;
|
|
528
528
|
DYNAMIC_QUERY_OPERATOR__BETWEEN: string;
|
|
529
529
|
DYNAMIC_QUERY_OPERATOR__CONTAIN: string;
|
|
530
|
-
/** @deprecated 已废弃, 请使用 {@link KG.
|
|
531
|
-
DYNAMIC_QUERY_OPERATOR__EMPTY: string;
|
|
530
|
+
DYNAMIC_QUERY_OPERATOR__EMPTY: string; /** @deprecated 已废弃, 请使用 {@link KG.DB_TYPE__SQLSERVER} */
|
|
532
531
|
DYNAMIC_QUERY_OPERATOR__END_WITH: string;
|
|
533
532
|
DYNAMIC_QUERY_OPERATOR__EQ: string;
|
|
534
533
|
DYNAMIC_QUERY_OPERATOR__GT: string;
|
|
@@ -538,29 +537,28 @@ declare const KG: {
|
|
|
538
537
|
DYNAMIC_QUERY_OPERATOR__LTE: string;
|
|
539
538
|
DYNAMIC_QUERY_OPERATOR__NE: string;
|
|
540
539
|
DYNAMIC_QUERY_OPERATOR__NOT_EMPTY: string;
|
|
541
|
-
DYNAMIC_QUERY_OPERATOR__START_WITH: string;
|
|
540
|
+
DYNAMIC_QUERY_OPERATOR__START_WITH: string; /** @deprecated 已废弃, 请使用 KG.DESCRIPTION_KEY__KG */
|
|
542
541
|
HTTP_HEADER__KG_BUTTON_VAR_NAME: string;
|
|
543
542
|
HTTP_HEADER__KG_BUTTON_VNAME: string;
|
|
544
|
-
HTTP_HEADER__KG_DB_TYPE: string;
|
|
545
|
-
* 唯一标识.
|
|
546
|
-
*/
|
|
543
|
+
HTTP_HEADER__KG_DB_TYPE: string;
|
|
547
544
|
HTTP_HEADER__KG_FID: string;
|
|
548
545
|
HTTP_HEADER__KG_FORM_ID: string;
|
|
549
546
|
HTTP_HEADER__KG_IS_DYNAMIC_QUERY: string;
|
|
550
547
|
HTTP_HEADER__KG_PAGE_INDEX: string;
|
|
551
|
-
HTTP_HEADER__KG_PAGE_SIZE: string;
|
|
548
|
+
HTTP_HEADER__KG_PAGE_SIZE: string; /**
|
|
549
|
+
* <p>依赖注入表单数据对象.</p>
|
|
550
|
+
* <p>在表单组件(KgForm)的任何下级组件中, 都可以通过注入获取表单数据对象.</p>
|
|
551
|
+
*/
|
|
552
552
|
HTTP_HEADER__KG_QUERY_OFFSET_SQL: string;
|
|
553
553
|
HTTP_HEADER__KG_QUERY_OPERATOR_RECORD: string;
|
|
554
|
-
/**
|
|
555
|
-
* formRef.
|
|
556
|
-
*/
|
|
557
554
|
HTTP_HEADER__KG_QUERY_ORDER_BY_SQL: string;
|
|
558
|
-
HTTP_HEADER__KG_QUERY_SQL: string;
|
|
559
|
-
* 表单控件.
|
|
560
|
-
*/
|
|
555
|
+
HTTP_HEADER__KG_QUERY_SQL: string;
|
|
561
556
|
HTTP_HEADER__KG_QUERY_VALUE_RECORD: string;
|
|
562
557
|
HTTP_HEADER__KG_QUERY_WHERE_SQL: string;
|
|
563
558
|
HTTP_HEADER__KG_QUERY_WHERE_SQL_01: string;
|
|
559
|
+
/**
|
|
560
|
+
* 模拟器.
|
|
561
|
+
*/
|
|
564
562
|
HTTP_HEADER__KG_QUERY_WHERE_SQL_02: string;
|
|
565
563
|
HTTP_HEADER__KG_QUERY_WHERE_SQL_03: string;
|
|
566
564
|
HTTP_HEADER__KG_QUERY_WHERE_SQL_04: string;
|
|
@@ -572,30 +570,28 @@ declare const KG: {
|
|
|
572
570
|
HTTP_HEADER__KG_QUERY_WHERE_SQL_10: string;
|
|
573
571
|
HTTP_HEADER__KG_QUERY_WHERE_SQL_SEGMENT_RECORD: string;
|
|
574
572
|
HTTP_HEADER__KG_WAREHOUSE: string;
|
|
575
|
-
HTTP_HEADER__KG_WORK_AREA: string;
|
|
576
|
-
* 左上侧工具栏.
|
|
577
|
-
*/
|
|
573
|
+
HTTP_HEADER__KG_WORK_AREA: string;
|
|
578
574
|
HTTP_HEADER__KG_WORK_STATION: string;
|
|
579
575
|
LOCALE: {
|
|
580
|
-
CS_CZ: import("@kengic/core.core/src/model").IKgLocale;
|
|
581
|
-
EN: import("@kengic/core.core/src/model").IKgLocale; /**
|
|
576
|
+
CS_CZ: import("@kengic/core.core/src/model").IKgLocale; /**
|
|
582
577
|
* 右下侧工具栏.
|
|
583
578
|
*/
|
|
579
|
+
EN: import("@kengic/core.core/src/model").IKgLocale;
|
|
584
580
|
ES_ES: import("@kengic/core.core/src/model").IKgLocale;
|
|
585
581
|
FR_FR: import("@kengic/core.core/src/model").IKgLocale;
|
|
586
582
|
KM_KH: import("@kengic/core.core/src/model").IKgLocale;
|
|
587
|
-
|
|
583
|
+
/**
|
|
588
584
|
* 右上侧工具栏.
|
|
589
585
|
*/
|
|
586
|
+
KO_KR: import("@kengic/core.core/src/model").IKgLocale;
|
|
587
|
+
TH_TH: import("@kengic/core.core/src/model").IKgLocale;
|
|
590
588
|
VI_VN: import("@kengic/core.core/src/model").IKgLocale;
|
|
591
589
|
ZH_CN: import("@kengic/core.core/src/model").IKgLocale;
|
|
592
590
|
};
|
|
593
591
|
LOCALE_DATA_LIST: {
|
|
594
592
|
text: string;
|
|
595
593
|
code: string;
|
|
596
|
-
}[];
|
|
597
|
-
* 变量页面.
|
|
598
|
-
*/
|
|
594
|
+
}[];
|
|
599
595
|
};
|
|
600
596
|
/** @deprecated 已弃用, 请使用 {@link KG}. */
|
|
601
597
|
declare const KG_CONST: {
|
|
@@ -1118,8 +1114,7 @@ declare const KG_CONST: {
|
|
|
1118
1114
|
DESCRIPTION_KEY__WEB: string;
|
|
1119
1115
|
DYNAMIC_QUERY_OPERATOR__BETWEEN: string;
|
|
1120
1116
|
DYNAMIC_QUERY_OPERATOR__CONTAIN: string;
|
|
1121
|
-
/** @deprecated 已废弃, 请使用 {@link KG.
|
|
1122
|
-
DYNAMIC_QUERY_OPERATOR__EMPTY: string;
|
|
1117
|
+
DYNAMIC_QUERY_OPERATOR__EMPTY: string; /** @deprecated 已废弃, 请使用 {@link KG.DB_TYPE__SQLSERVER} */
|
|
1123
1118
|
DYNAMIC_QUERY_OPERATOR__END_WITH: string;
|
|
1124
1119
|
DYNAMIC_QUERY_OPERATOR__EQ: string;
|
|
1125
1120
|
DYNAMIC_QUERY_OPERATOR__GT: string;
|
|
@@ -1129,29 +1124,28 @@ declare const KG_CONST: {
|
|
|
1129
1124
|
DYNAMIC_QUERY_OPERATOR__LTE: string;
|
|
1130
1125
|
DYNAMIC_QUERY_OPERATOR__NE: string;
|
|
1131
1126
|
DYNAMIC_QUERY_OPERATOR__NOT_EMPTY: string;
|
|
1132
|
-
DYNAMIC_QUERY_OPERATOR__START_WITH: string;
|
|
1127
|
+
DYNAMIC_QUERY_OPERATOR__START_WITH: string; /** @deprecated 已废弃, 请使用 KG.DESCRIPTION_KEY__KG */
|
|
1133
1128
|
HTTP_HEADER__KG_BUTTON_VAR_NAME: string;
|
|
1134
1129
|
HTTP_HEADER__KG_BUTTON_VNAME: string;
|
|
1135
|
-
HTTP_HEADER__KG_DB_TYPE: string;
|
|
1136
|
-
* 唯一标识.
|
|
1137
|
-
*/
|
|
1130
|
+
HTTP_HEADER__KG_DB_TYPE: string;
|
|
1138
1131
|
HTTP_HEADER__KG_FID: string;
|
|
1139
1132
|
HTTP_HEADER__KG_FORM_ID: string;
|
|
1140
1133
|
HTTP_HEADER__KG_IS_DYNAMIC_QUERY: string;
|
|
1141
1134
|
HTTP_HEADER__KG_PAGE_INDEX: string;
|
|
1142
|
-
HTTP_HEADER__KG_PAGE_SIZE: string;
|
|
1135
|
+
HTTP_HEADER__KG_PAGE_SIZE: string; /**
|
|
1136
|
+
* <p>依赖注入表单数据对象.</p>
|
|
1137
|
+
* <p>在表单组件(KgForm)的任何下级组件中, 都可以通过注入获取表单数据对象.</p>
|
|
1138
|
+
*/
|
|
1143
1139
|
HTTP_HEADER__KG_QUERY_OFFSET_SQL: string;
|
|
1144
1140
|
HTTP_HEADER__KG_QUERY_OPERATOR_RECORD: string;
|
|
1145
|
-
/**
|
|
1146
|
-
* formRef.
|
|
1147
|
-
*/
|
|
1148
1141
|
HTTP_HEADER__KG_QUERY_ORDER_BY_SQL: string;
|
|
1149
|
-
HTTP_HEADER__KG_QUERY_SQL: string;
|
|
1150
|
-
* 表单控件.
|
|
1151
|
-
*/
|
|
1142
|
+
HTTP_HEADER__KG_QUERY_SQL: string;
|
|
1152
1143
|
HTTP_HEADER__KG_QUERY_VALUE_RECORD: string;
|
|
1153
1144
|
HTTP_HEADER__KG_QUERY_WHERE_SQL: string;
|
|
1154
1145
|
HTTP_HEADER__KG_QUERY_WHERE_SQL_01: string;
|
|
1146
|
+
/**
|
|
1147
|
+
* 模拟器.
|
|
1148
|
+
*/
|
|
1155
1149
|
HTTP_HEADER__KG_QUERY_WHERE_SQL_02: string;
|
|
1156
1150
|
HTTP_HEADER__KG_QUERY_WHERE_SQL_03: string;
|
|
1157
1151
|
HTTP_HEADER__KG_QUERY_WHERE_SQL_04: string;
|
|
@@ -1163,30 +1157,28 @@ declare const KG_CONST: {
|
|
|
1163
1157
|
HTTP_HEADER__KG_QUERY_WHERE_SQL_10: string;
|
|
1164
1158
|
HTTP_HEADER__KG_QUERY_WHERE_SQL_SEGMENT_RECORD: string;
|
|
1165
1159
|
HTTP_HEADER__KG_WAREHOUSE: string;
|
|
1166
|
-
HTTP_HEADER__KG_WORK_AREA: string;
|
|
1167
|
-
* 左上侧工具栏.
|
|
1168
|
-
*/
|
|
1160
|
+
HTTP_HEADER__KG_WORK_AREA: string;
|
|
1169
1161
|
HTTP_HEADER__KG_WORK_STATION: string;
|
|
1170
1162
|
LOCALE: {
|
|
1171
|
-
CS_CZ: import("@kengic/core.core/src/model").IKgLocale;
|
|
1172
|
-
EN: import("@kengic/core.core/src/model").IKgLocale; /**
|
|
1163
|
+
CS_CZ: import("@kengic/core.core/src/model").IKgLocale; /**
|
|
1173
1164
|
* 右下侧工具栏.
|
|
1174
1165
|
*/
|
|
1166
|
+
EN: import("@kengic/core.core/src/model").IKgLocale;
|
|
1175
1167
|
ES_ES: import("@kengic/core.core/src/model").IKgLocale;
|
|
1176
1168
|
FR_FR: import("@kengic/core.core/src/model").IKgLocale;
|
|
1177
1169
|
KM_KH: import("@kengic/core.core/src/model").IKgLocale;
|
|
1178
|
-
|
|
1170
|
+
/**
|
|
1179
1171
|
* 右上侧工具栏.
|
|
1180
1172
|
*/
|
|
1173
|
+
KO_KR: import("@kengic/core.core/src/model").IKgLocale;
|
|
1174
|
+
TH_TH: import("@kengic/core.core/src/model").IKgLocale;
|
|
1181
1175
|
VI_VN: import("@kengic/core.core/src/model").IKgLocale;
|
|
1182
1176
|
ZH_CN: import("@kengic/core.core/src/model").IKgLocale;
|
|
1183
1177
|
};
|
|
1184
1178
|
LOCALE_DATA_LIST: {
|
|
1185
1179
|
text: string;
|
|
1186
1180
|
code: string;
|
|
1187
|
-
}[];
|
|
1188
|
-
* 变量页面.
|
|
1189
|
-
*/
|
|
1181
|
+
}[];
|
|
1190
1182
|
};
|
|
1191
1183
|
/**
|
|
1192
1184
|
* 模块.
|
|
@@ -6,14 +6,14 @@ import { ValidateMessages } from 'ant-design-vue/es/form/interface';
|
|
|
6
6
|
import { ButtonShape, ButtonType } from 'ant-design-vue/lib/button';
|
|
7
7
|
import { CSSProperties, ExtractPropTypes, HTMLAttributes, PropType } from 'vue';
|
|
8
8
|
export declare const formProps: () => {
|
|
9
|
-
layout: PropType<"
|
|
9
|
+
layout: PropType<"vertical" | "horizontal" | "inline">;
|
|
10
10
|
labelCol: {
|
|
11
11
|
type: PropType<Partial<ExtractPropTypes<{
|
|
12
|
-
span: (
|
|
13
|
-
order: (
|
|
14
|
-
offset: (
|
|
15
|
-
push: (
|
|
16
|
-
pull: (
|
|
12
|
+
span: (NumberConstructor | StringConstructor)[];
|
|
13
|
+
order: (NumberConstructor | StringConstructor)[];
|
|
14
|
+
offset: (NumberConstructor | StringConstructor)[];
|
|
15
|
+
push: (NumberConstructor | StringConstructor)[];
|
|
16
|
+
pull: (NumberConstructor | StringConstructor)[];
|
|
17
17
|
xs: {
|
|
18
18
|
type: PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
|
19
19
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
|
@@ -43,16 +43,16 @@ export declare const formProps: () => {
|
|
|
43
43
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
|
44
44
|
};
|
|
45
45
|
prefixCls: StringConstructor;
|
|
46
|
-
flex: (
|
|
46
|
+
flex: (NumberConstructor | StringConstructor)[];
|
|
47
47
|
}>> & HTMLAttributes>;
|
|
48
48
|
};
|
|
49
49
|
wrapperCol: {
|
|
50
50
|
type: PropType<Partial<ExtractPropTypes<{
|
|
51
|
-
span: (
|
|
52
|
-
order: (
|
|
53
|
-
offset: (
|
|
54
|
-
push: (
|
|
55
|
-
pull: (
|
|
51
|
+
span: (NumberConstructor | StringConstructor)[];
|
|
52
|
+
order: (NumberConstructor | StringConstructor)[];
|
|
53
|
+
offset: (NumberConstructor | StringConstructor)[];
|
|
54
|
+
push: (NumberConstructor | StringConstructor)[];
|
|
55
|
+
pull: (NumberConstructor | StringConstructor)[];
|
|
56
56
|
xs: {
|
|
57
57
|
type: PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
|
58
58
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
|
@@ -82,7 +82,7 @@ export declare const formProps: () => {
|
|
|
82
82
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
|
83
83
|
};
|
|
84
84
|
prefixCls: StringConstructor;
|
|
85
|
-
flex: (
|
|
85
|
+
flex: (NumberConstructor | StringConstructor)[];
|
|
86
86
|
}>> & HTMLAttributes>;
|
|
87
87
|
};
|
|
88
88
|
colon: {
|
|
@@ -166,7 +166,7 @@ export declare const modalProps: () => {
|
|
|
166
166
|
type: BooleanConstructor;
|
|
167
167
|
default: undefined;
|
|
168
168
|
};
|
|
169
|
-
width: (
|
|
169
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
170
170
|
footer: PropType<any>;
|
|
171
171
|
okText: PropType<any>;
|
|
172
172
|
okType: PropType<LegacyButtonType>;
|
|
@@ -340,8 +340,8 @@ export declare const imageProps: () => {
|
|
|
340
340
|
type: PropType<(event: Event | string, source?: string, lineno?: number, colno?: number, error?: Error) => any>;
|
|
341
341
|
};
|
|
342
342
|
id: StringConstructor;
|
|
343
|
-
width: (
|
|
344
|
-
height: (
|
|
343
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
344
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
345
345
|
style: StringConstructor;
|
|
346
346
|
};
|
|
347
347
|
export {};
|
package/dist/src/util/index.d.ts
CHANGED
|
@@ -1,4 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
export * from './kg-auth.util';
|
|
1
|
+
import { KgUtil } from './kg.util';
|
|
3
2
|
export * from './kg.util';
|
|
4
|
-
|
|
3
|
+
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
4
|
+
export declare class KgRouteUtil {
|
|
5
|
+
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
6
|
+
static translateMenus: typeof KgUtil.translateMenus;
|
|
7
|
+
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
8
|
+
static transformMenus: typeof KgUtil.transformMenus;
|
|
9
|
+
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
10
|
+
static isPathInApp: typeof KgUtil.isPathInApp;
|
|
11
|
+
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
12
|
+
static getAppByPath: typeof KgUtil.getAppByPath;
|
|
13
|
+
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
14
|
+
static getAppIndexPath: typeof KgUtil.getAppIndexPath;
|
|
15
|
+
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
16
|
+
static getFirstLeafMenu: typeof KgUtil.getFirstLeafMenu;
|
|
17
|
+
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
18
|
+
static getMenuByPath: typeof KgUtil.getMenuByPath;
|
|
19
|
+
}
|
|
20
|
+
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
21
|
+
export declare class KgAuthUtil {
|
|
22
|
+
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
23
|
+
static isAdminUser: typeof KgUtil.isAdminUser;
|
|
24
|
+
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
25
|
+
static isAppAuthenticated: typeof KgUtil.isAppAuthenticated;
|
|
26
|
+
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
27
|
+
static isPathAuthenticated: typeof KgUtil.isPathAuthenticated;
|
|
28
|
+
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
29
|
+
static getPermissionType: typeof KgUtil.getPermissionType;
|
|
30
|
+
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { KgCoreUtil } from '@kengic/core.core';
|
|
1
|
+
import { IKgEventListener, IKgRemoveEventListener, KgCoreUtil } from '@kengic/core.core';
|
|
2
2
|
import { ModalFuncProps } from 'ant-design-vue/lib/modal/Modal';
|
|
3
3
|
import dayjs, { Dayjs } from 'dayjs';
|
|
4
|
+
import { Slots } from 'vue';
|
|
4
5
|
import { IKgVarButtonModalProperties } from '../model';
|
|
5
|
-
import { Menu } from '../project
|
|
6
|
+
import { Menu } from '../project';
|
|
6
7
|
/**
|
|
7
8
|
* 工具方法.
|
|
8
9
|
*/
|
|
@@ -320,6 +321,42 @@ export declare class KgUtil {
|
|
|
320
321
|
whereSql05: string;
|
|
321
322
|
whereSqlSegmentRecordJSON: string;
|
|
322
323
|
};
|
|
324
|
+
/**
|
|
325
|
+
* <p>构造事件监听.</p>
|
|
326
|
+
* <p>在 {@link onEventFactory} 的基础上, 支持在组件卸载时自动取消监听.</p>
|
|
327
|
+
*
|
|
328
|
+
* @param param.event 事件名称.
|
|
329
|
+
* @param param.id 唯一标识.
|
|
330
|
+
* @param param.addEventListener 添加事件监听.
|
|
331
|
+
* @param param.removeEventListener 移除事件监听.
|
|
332
|
+
*/
|
|
333
|
+
static kgOnEventFactory<E extends string, L extends IKgEventListener = any>(param: {
|
|
334
|
+
event: E;
|
|
335
|
+
eventListeners: Record<string, Record<E, Array<L>>> | any;
|
|
336
|
+
id?: string | undefined;
|
|
337
|
+
}): (listener: L, isOnce?: boolean) => IKgRemoveEventListener;
|
|
338
|
+
/**
|
|
339
|
+
* 根据名称渲染单个插槽.
|
|
340
|
+
*
|
|
341
|
+
* @param param.slotRecord 插槽对象.
|
|
342
|
+
* @param param.name 插槽名称.
|
|
343
|
+
*/
|
|
344
|
+
static renderSlot(param: {
|
|
345
|
+
name: string;
|
|
346
|
+
slotRecord: Slots;
|
|
347
|
+
}): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
348
|
+
[key: string]: any;
|
|
349
|
+
}>[] | null;
|
|
350
|
+
/**
|
|
351
|
+
* 渲染插槽.
|
|
352
|
+
*
|
|
353
|
+
* @param param.slotRecord 插槽对象.
|
|
354
|
+
* @param param.excludeSlotList 要排除的插槽名称列表.
|
|
355
|
+
*/
|
|
356
|
+
static renderSlotList(param: {
|
|
357
|
+
excludeSlotList?: string[];
|
|
358
|
+
slotRecord: Slots;
|
|
359
|
+
}): any;
|
|
323
360
|
}
|
|
324
361
|
export declare type ModalFunc = {
|
|
325
362
|
destroy: () => void;
|
package/package.json
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kengic/vue",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.4",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "npm run use-node && rimraf dist && vue-tsc && vite build",
|
|
6
6
|
"build--development": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
|
|
7
7
|
"--------------------------------------------------": "",
|
|
8
8
|
"gen-apis--WMS": "npm run use-node && kengic-pont generate-apis --config kg.config.ts --origin WMS",
|
|
9
|
-
"gen-apis--WatchTower": "npm run use-node && kengic-pont generate-apis --config kg.config.ts --origin WatchTower",
|
|
10
9
|
"- ------------------------------------------------": "",
|
|
11
10
|
"use-node": "npm cache clean -f && nvm use 24.12.0 && corepack enable && corepack use pnpm@10.27.0",
|
|
12
11
|
"cnpm--sync": "npm run use-node && npx cnpm --yes sync @kengic/vue",
|
|
@@ -23,6 +22,7 @@
|
|
|
23
22
|
"copy-to--luotao--smartfactory.tyre.haohua.basic.was-java--PcrTireWeb": "npm run build--development && tsx script/copy-to--luotao--smartfactory.tyre.haohua.basic.was-java--PcrTireWeb.ts",
|
|
24
23
|
"copy-to--luotao--smartfactory.product.wms.wms--hiway": "npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--hiway.ts",
|
|
25
24
|
"copy-to--luotao--smartfactory.tyre.product-cp.view--FMS3.2": "npm run build--development && tsx script/copy-to--luotao--smartfactory.tyre.product-cp.view--FMS3.2.ts",
|
|
25
|
+
"copy-to--luotao--smartfactory.product.wms.wms--hhsl-th": "npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--hhsl-th.ts",
|
|
26
26
|
"----- --------------------------------------------": "",
|
|
27
27
|
"bump--major": "npm run use-node && tsx script/bump.ts major",
|
|
28
28
|
"bump--minor": "npm run use-node && tsx script/bump.ts minor",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@iconify-icons/mdi": "1.2.48",
|
|
52
52
|
"@iconify-icons/ph": "1.2.5",
|
|
53
53
|
"@iconify/vue": "4.1.2",
|
|
54
|
-
"@kengic/core.core": "0.0.
|
|
54
|
+
"@kengic/core.core": "0.0.7",
|
|
55
55
|
"@kengic/pont": "2.1.2",
|
|
56
56
|
"@rys-fe/vite-plugin-theme": "0.8.6",
|
|
57
57
|
"@thymine/xunee": "0.4.9-beta.47",
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../service';
|
|
2
|
-
import * as DEF from '../../../def';
|
|
3
|
-
/** 请求参数. */
|
|
4
|
-
export declare class DashboardsQuery {
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* @param config 请求配置.
|
|
10
|
-
* @param option 请求选项.
|
|
11
|
-
*/
|
|
12
|
-
export declare function Dashboards(config?: IRequestConfig<DashboardsQuery, DEF.WatchTower.DashboardUpsertRequest>, option?: IRequestOptions): Promise<any>;
|
|
13
|
-
export declare namespace Dashboards {
|
|
14
|
-
var method: "POST";
|
|
15
|
-
var url: string;
|
|
16
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../service';
|
|
2
|
-
/** 请求参数. */
|
|
3
|
-
export declare class DashboardsByIdQuery {
|
|
4
|
-
/** Id. */
|
|
5
|
-
id?: number | null;
|
|
6
|
-
constructor(obj?: DashboardsByIdQuery);
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* @param config 请求配置.
|
|
12
|
-
* @param option 请求选项.
|
|
13
|
-
*/
|
|
14
|
-
export declare function DashboardsById(config?: IRequestConfig<DashboardsByIdQuery, {}>, option?: IRequestOptions): Promise<any>;
|
|
15
|
-
export declare namespace DashboardsById {
|
|
16
|
-
var method: "DELETE";
|
|
17
|
-
var url: string;
|
|
18
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../service';
|
|
2
|
-
/** 请求参数. */
|
|
3
|
-
export declare class DashboardsByIdExportQuery {
|
|
4
|
-
/** Id. */
|
|
5
|
-
id?: number | null;
|
|
6
|
-
constructor(obj?: DashboardsByIdExportQuery);
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* @param config 请求配置.
|
|
12
|
-
* @param option 请求选项.
|
|
13
|
-
*/
|
|
14
|
-
export declare function DashboardsByIdExport(config?: IRequestConfig<DashboardsByIdExportQuery, {}>, option?: IRequestOptions): Promise<any>;
|
|
15
|
-
export declare namespace DashboardsByIdExport {
|
|
16
|
-
var method: "GET";
|
|
17
|
-
var url: string;
|
|
18
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../service';
|
|
2
|
-
import * as DEF from '../../../def';
|
|
3
|
-
/** 请求参数. */
|
|
4
|
-
export declare class DashboardsFoldersQuery {
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* @param config 请求配置.
|
|
10
|
-
* @param option 请求选项.
|
|
11
|
-
*/
|
|
12
|
-
export declare function DashboardsFolders(config?: IRequestConfig<DashboardsFoldersQuery, DEF.WatchTower.DashboardFolderUpsertRequest>, option?: IRequestOptions): Promise<any>;
|
|
13
|
-
export declare namespace DashboardsFolders {
|
|
14
|
-
var method: "POST";
|
|
15
|
-
var url: string;
|
|
16
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../service';
|
|
2
|
-
/** 请求参数. */
|
|
3
|
-
export declare class DashboardsFoldersByIdQuery {
|
|
4
|
-
/** Id. */
|
|
5
|
-
id?: number | null;
|
|
6
|
-
constructor(obj?: DashboardsFoldersByIdQuery);
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* @param config 请求配置.
|
|
12
|
-
* @param option 请求选项.
|
|
13
|
-
*/
|
|
14
|
-
export declare function DashboardsFoldersById(config?: IRequestConfig<DashboardsFoldersByIdQuery, {}>, option?: IRequestOptions): Promise<any>;
|
|
15
|
-
export declare namespace DashboardsFoldersById {
|
|
16
|
-
var method: "DELETE";
|
|
17
|
-
var url: string;
|
|
18
|
-
}
|
package/dist/src/api/WatchTower/Controllers/DashboardsController/DashboardsFoldersOrder.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../service';
|
|
2
|
-
import * as DEF from '../../../def';
|
|
3
|
-
/** 请求参数. */
|
|
4
|
-
export declare class DashboardsFoldersOrderQuery {
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* @param config 请求配置.
|
|
10
|
-
* @param option 请求选项.
|
|
11
|
-
*/
|
|
12
|
-
export declare function DashboardsFoldersOrder(config?: IRequestConfig<DashboardsFoldersOrderQuery, DEF.WatchTower.DashboardFolderReorderRequest>, option?: IRequestOptions): Promise<any>;
|
|
13
|
-
export declare namespace DashboardsFoldersOrder {
|
|
14
|
-
var method: "PUT";
|
|
15
|
-
var url: string;
|
|
16
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../service';
|
|
2
|
-
import * as DEF from '../../../def';
|
|
3
|
-
/** 请求参数. */
|
|
4
|
-
export declare class DashboardsImportQuery {
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* @param config 请求配置.
|
|
10
|
-
* @param option 请求选项.
|
|
11
|
-
*/
|
|
12
|
-
export declare function DashboardsImport(config?: IRequestConfig<DashboardsImportQuery, DEF.WatchTower.DashboardImportRequest>, option?: IRequestOptions): Promise<any>;
|
|
13
|
-
export declare namespace DashboardsImport {
|
|
14
|
-
var method: "POST";
|
|
15
|
-
var url: string;
|
|
16
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../service';
|
|
2
|
-
/** 请求参数. */
|
|
3
|
-
export declare class DashboardsOverviewQuery {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* @param config 请求配置.
|
|
9
|
-
* @param option 请求选项.
|
|
10
|
-
*/
|
|
11
|
-
export declare function DashboardsOverview(config?: IRequestConfig<DashboardsOverviewQuery, {}>, option?: IRequestOptions): Promise<any>;
|
|
12
|
-
export declare namespace DashboardsOverview {
|
|
13
|
-
var method: "GET";
|
|
14
|
-
var url: string;
|
|
15
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../service';
|
|
2
|
-
import * as DEF from '../../../def';
|
|
3
|
-
/** 请求参数. */
|
|
4
|
-
export declare class DashboardsWidgetsQuery {
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* @param config 请求配置.
|
|
10
|
-
* @param option 请求选项.
|
|
11
|
-
*/
|
|
12
|
-
export declare function DashboardsWidgets(config?: IRequestConfig<DashboardsWidgetsQuery, DEF.WatchTower.DashboardWidgetCreateRequest>, option?: IRequestOptions): Promise<any>;
|
|
13
|
-
export declare namespace DashboardsWidgets {
|
|
14
|
-
var method: "POST";
|
|
15
|
-
var url: string;
|
|
16
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../service';
|
|
2
|
-
/** 请求参数. */
|
|
3
|
-
export declare class DashboardsWidgetsByIdQuery {
|
|
4
|
-
/** Id. */
|
|
5
|
-
id?: number | null;
|
|
6
|
-
constructor(obj?: DashboardsWidgetsByIdQuery);
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* @param config 请求配置.
|
|
12
|
-
* @param option 请求选项.
|
|
13
|
-
*/
|
|
14
|
-
export declare function DashboardsWidgetsById(config?: IRequestConfig<DashboardsWidgetsByIdQuery, {}>, option?: IRequestOptions): Promise<any>;
|
|
15
|
-
export declare namespace DashboardsWidgetsById {
|
|
16
|
-
var method: "DELETE";
|
|
17
|
-
var url: string;
|
|
18
|
-
}
|
package/dist/src/api/WatchTower/Controllers/DashboardsController/DashboardsWidgetsByIdMove.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../service';
|
|
2
|
-
import * as DEF from '../../../def';
|
|
3
|
-
/** 请求参数. */
|
|
4
|
-
export declare class DashboardsWidgetsByIdMoveQuery {
|
|
5
|
-
/** Id. */
|
|
6
|
-
id?: number | null;
|
|
7
|
-
constructor(obj?: DashboardsWidgetsByIdMoveQuery);
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* @param config 请求配置.
|
|
13
|
-
* @param option 请求选项.
|
|
14
|
-
*/
|
|
15
|
-
export declare function DashboardsWidgetsByIdMove(config?: IRequestConfig<DashboardsWidgetsByIdMoveQuery, DEF.WatchTower.DashboardWidgetMoveRequest>, option?: IRequestOptions): Promise<any>;
|
|
16
|
-
export declare namespace DashboardsWidgetsByIdMove {
|
|
17
|
-
var method: "PUT";
|
|
18
|
-
var url: string;
|
|
19
|
-
}
|
package/dist/src/api/WatchTower/Controllers/DashboardsController/DashboardsWidgetsOrder.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../service';
|
|
2
|
-
import * as DEF from '../../../def';
|
|
3
|
-
/** 请求参数. */
|
|
4
|
-
export declare class DashboardsWidgetsOrderQuery {
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* @param config 请求配置.
|
|
10
|
-
* @param option 请求选项.
|
|
11
|
-
*/
|
|
12
|
-
export declare function DashboardsWidgetsOrder(config?: IRequestConfig<DashboardsWidgetsOrderQuery, DEF.WatchTower.DashboardWidgetReorderRequest>, option?: IRequestOptions): Promise<any>;
|
|
13
|
-
export declare namespace DashboardsWidgetsOrder {
|
|
14
|
-
var method: "PUT";
|
|
15
|
-
var url: string;
|
|
16
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export { Dashboards, DashboardsQuery } from './Dashboards';
|
|
2
|
-
export { DashboardsFolders, DashboardsFoldersQuery } from './DashboardsFolders';
|
|
3
|
-
export { DashboardsFoldersOrder, DashboardsFoldersOrderQuery } from './DashboardsFoldersOrder';
|
|
4
|
-
export { DashboardsFoldersById, DashboardsFoldersByIdQuery } from './DashboardsFoldersById';
|
|
5
|
-
export { DashboardsImport, DashboardsImportQuery } from './DashboardsImport';
|
|
6
|
-
export { DashboardsOverview, DashboardsOverviewQuery } from './DashboardsOverview';
|
|
7
|
-
export { DashboardsWidgets, DashboardsWidgetsQuery } from './DashboardsWidgets';
|
|
8
|
-
export { DashboardsWidgetsOrder, DashboardsWidgetsOrderQuery } from './DashboardsWidgetsOrder';
|
|
9
|
-
export { DashboardsWidgetsById, DashboardsWidgetsByIdQuery } from './DashboardsWidgetsById';
|
|
10
|
-
export { DashboardsWidgetsByIdMove, DashboardsWidgetsByIdMoveQuery } from './DashboardsWidgetsByIdMove';
|
|
11
|
-
export { DashboardsById, DashboardsByIdQuery } from './DashboardsById';
|
|
12
|
-
export { DashboardsByIdExport, DashboardsByIdExportQuery } from './DashboardsByIdExport';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../service';
|
|
2
|
-
/** 请求参数. */
|
|
3
|
-
export declare class LiveQuery {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* @param config 请求配置.
|
|
9
|
-
* @param option 请求选项.
|
|
10
|
-
*/
|
|
11
|
-
export declare function Live(config?: IRequestConfig<LiveQuery, {}>, option?: IRequestOptions): Promise<any>;
|
|
12
|
-
export declare namespace Live {
|
|
13
|
-
var method: "GET";
|
|
14
|
-
var url: string;
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../service';
|
|
2
|
-
/** 请求参数. */
|
|
3
|
-
export declare class ReadyQuery {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* @param config 请求配置.
|
|
9
|
-
* @param option 请求选项.
|
|
10
|
-
*/
|
|
11
|
-
export declare function Ready(config?: IRequestConfig<ReadyQuery, {}>, option?: IRequestOptions): Promise<any>;
|
|
12
|
-
export declare namespace Ready {
|
|
13
|
-
var method: "GET";
|
|
14
|
-
var url: string;
|
|
15
|
-
}
|