@kengic/vue 0.32.21-beta.0 → 0.32.21-beta.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/bin/postinstall.mjs +1 -1
- package/dist/kengic-vue.js +7726 -7700
- package/dist/src/component/KgAppSelect/KgAppSelect.event.d.ts +1 -1
- package/dist/src/component/KgAppSelect/KgAppSelect.hooks.d.ts +1 -1
- package/dist/src/component/KgButton/KgButton.event.d.ts +1 -1
- package/dist/src/component/KgButton/KgButton.hooks.d.ts +1 -1
- package/dist/src/component/KgCanvas/KgCanvas.event.d.ts +1 -1
- package/dist/src/component/KgCanvas/KgCanvas.hooks.d.ts +1 -1
- package/dist/src/component/KgForm/KgForm.event.d.ts +1 -1
- package/dist/src/component/KgForm/KgForm.hooks.d.ts +1 -1
- package/dist/src/component/KgSearch/KgSearch.event.d.ts +1 -1
- package/dist/src/component/KgSearch/KgSearch.hooks.d.ts +1 -1
- package/dist/src/component/KgSimulator/KgSimulator.event.d.ts +1 -1
- package/dist/src/component/KgSimulator/KgSimulator.hooks.d.ts +1 -1
- package/dist/src/component/KgSubmit/KgSubmit.event.d.ts +1 -1
- package/dist/src/component/KgSubmit/KgSubmit.hooks.d.ts +1 -1
- package/dist/src/component/KgTable/KgTable.event.d.ts +1 -1
- package/dist/src/component/KgTable/KgTable.hooks.d.ts +1 -1
- package/dist/src/component/KgTable02/KgTable02.event.d.ts +1 -1
- package/dist/src/component/KgTable02/KgTable02.hooks.d.ts +1 -1
- package/dist/src/component/KgVar/KgVar.event.d.ts +1 -1
- package/dist/src/component/KgVar/KgVar.hooks.d.ts +1 -1
- package/dist/src/component/KgWarehouse/KgWarehouse.event.d.ts +1 -1
- package/dist/src/component/KgWarehouse/KgWarehouse.hooks.d.ts +1 -1
- package/dist/src/component/KgWorkStation/KgWorkStation.event.d.ts +1 -1
- package/dist/src/component/KgWorkStation/KgWorkStation.hooks.d.ts +1 -1
- package/dist/src/config/config.event.d.ts +1 -1
- package/dist/src/config/config.hooks.d.ts +1 -1
- package/dist/src/config/config.store.d.ts +35 -9
- package/dist/src/config/index.d.ts +1 -1
- package/dist/src/i18n/i18n.setup.d.ts +9 -9
- package/dist/src/model/index.d.ts +89 -49
- package/dist/src/project/src/locales/useLocale.d.ts +1 -1
- package/dist/src/project/types/config.d.ts +1 -1
- package/dist/src/util/kg.util.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IKgRemoveEventListener } from '@kengic/core
|
|
1
|
+
import { IKgRemoveEventListener } from '@kengic/core';
|
|
2
2
|
import { IKgAppSelectOnGotoAppEventListener, IKgAppSelectOnGotoPathEventListener } from './KgAppSelect.event';
|
|
3
3
|
import { useKgAppSelectStore } from './KgAppSelect.store';
|
|
4
4
|
export declare type IUseKgAppSelect = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IKgRemoveEventListener } from '@kengic/core
|
|
1
|
+
import { IKgRemoveEventListener } from '@kengic/core';
|
|
2
2
|
import { eventListeners, IKgButton$EventListener$onAfterRequest, IKgButton$EventListener$onBeforeRequest, IKgButton$EventListener$onClick, IKgButton$EventListener$onError, IKgButton$EventListener$onExportBeforeParseRequestParameter, IKgButton$EventListener$onImportBeforeUpload, IKgButton$EventListener$onImportOk } from './KgButton.event';
|
|
3
3
|
import { buildKgButtonStore } from './KgButton.store';
|
|
4
4
|
export declare type IUseKgButton = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IKgRemoveEventListener } from '@kengic/core
|
|
1
|
+
import { IKgRemoveEventListener } from '@kengic/core';
|
|
2
2
|
import { IKgCanvas$EventListener$onClick, IKgCanvas$EventListener$onContextMenuClose, IKgCanvas$EventListener$onContextMenuOpen, IKgCanvas$EventListener$onDataPropertyChange, IKgCanvas$EventListener$onDrop, IKgCanvas$EventListener$onElementCreate, IKgCanvas$EventListener$onInit, IKgCanvas$EventListener$onMouseEnter, IKgCanvas$EventListener$onMouseLeave, IKgCanvas$EventListener$onMouseMove, IKgCanvas$EventListener$onReload, IKgCanvas$EventListener$onResize, IKgCanvas$EventListener$onRightClick, IKgCanvas$EventListener$onSelectChange } from './KgCanvas.event';
|
|
3
3
|
import { buildKgCanvasStore } from './KgCanvas.store';
|
|
4
4
|
export declare type IUseKgCanvas = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IKgRemoveEventListener } from '@kengic/core
|
|
1
|
+
import { IKgRemoveEventListener } from '@kengic/core';
|
|
2
2
|
import { eventListeners, IKgForm$EventListener$onBlur, IKgForm$EventListener$onChange, IKgForm$EventListener$onEnter, IKgForm$EventListener$onLinkClick, IKgForm$EventListener$onLookupBeforeOk, IKgForm$EventListener$onLookupBeforeOpen, IKgForm$EventListener$onLookupOk, IKgForm$EventListener$onSelectBeforeRequest, IKgForm$EventListener$onSelectBeforeSetDatas, IKgForm$EventListener$onSelectChange } from './KgForm.event';
|
|
3
3
|
import { useKgFormStore } from './KgForm.store';
|
|
4
4
|
export declare type IUseKgForm = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IKgRemoveEventListener } from '@kengic/core
|
|
1
|
+
import { IKgRemoveEventListener } from '@kengic/core';
|
|
2
2
|
import { ComputedRef } from 'vue';
|
|
3
3
|
import { VarProfileDetail, VarProfileMasterDTO } from '../../api/WMS/models';
|
|
4
4
|
import { IKgTableRequestParameter } from '../KgTable';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IKgRemoveEventListener } from '@kengic/core
|
|
1
|
+
import { IKgRemoveEventListener } from '@kengic/core';
|
|
2
2
|
import { VarSubmitDetail } from '../../api/WMS/models';
|
|
3
3
|
import { IKgSimulatorEventListener$on$KgSimulatorCanvas$CreateData, IKgSimulatorEventListener$on$KgSimulatorCanvas$DeleteData, IKgSimulatorEventListener$on$KgSimulatorCanvas$UpdateData, IKgSimulatorEventListener$on$KgSimulatorMenu$Scene$Create, IKgSimulatorEventListener$on$KgSimulatorMenu$Scene$Import, IKgSimulatorEventListener$on$KgSimulatorMenu$Scene$Open, IKgSimulatorEventListener$on$KgSimulatorPanelScene$Click, IKgSimulatorEventListener$on$KgSimulatorPanelScene$Delete, IKgSimulatorEventListener$on$KgSimulatorPanelScene$SelectChange, IKgSimulatorEventListener$on$WebSocket$Message } from './KgSimulator.event';
|
|
4
4
|
import { buildKgSimulatorStore } from './KgSimulator.store';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IKgRemoveEventListener } from '@kengic/core
|
|
1
|
+
import { IKgRemoveEventListener } from '@kengic/core';
|
|
2
2
|
import { ComputedRef } from 'vue';
|
|
3
3
|
import { eventListeners, IKgTable$EventListener$onAfterRequest, IKgTable$EventListener$onBeforeParseRequestParameter, IKgTable$EventListener$onBeforeRequest, IKgTable$EventListener$onBeforeRequestExecute, IKgTable$EventListener$onBeforeSetDatas, IKgTable$EventListener$onBeforeTransformDatas, IKgTable$EventListener$onReady, IKgTable$EventListener$onRequestError, IKgTable$EventListener$onRowDoubleClick } from './KgTable.event';
|
|
4
4
|
import { IKgTableRow } from './KgTable.model';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IKgRemoveEventListener } from '@kengic/core
|
|
1
|
+
import { IKgRemoveEventListener } from '@kengic/core';
|
|
2
2
|
import { ComputedRef } from 'vue';
|
|
3
3
|
import { IKgTable02$EventListener$onAfterRequest, IKgTable02$EventListener$onAfterRequestResponse, IKgTable02$EventListener$onBeforeParseRequestParameter, IKgTable02$EventListener$onBeforeSetDatas } from './KgTable02.event';
|
|
4
4
|
import { buildKgTable02Store } from './KgTable02.store';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IKgRemoveEventListener } from '@kengic/core
|
|
1
|
+
import { IKgRemoveEventListener } from '@kengic/core';
|
|
2
2
|
import { ComputedRef } from 'vue';
|
|
3
3
|
import { VarButton, VarButtonConfig, VarChildDetail, VarConfigControl, VarConfigDescription, VarConfigPossibility, VarDda, VarGridConfig, VarGridDetail, VarGridMasterDTO, VarProfileConfig, VarProfileMasterDTO, VarVariable } from '../../api/WMS/models';
|
|
4
4
|
import { IKgVarButtonConfigProperties, IKgVarDdaProperties, IKgVarGridConfigProperties, IKgVarProfileConfigProperties, KG__VAR_BUTTON__TYPE } from '../../model';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IKgRemoveEventListener } from '@kengic/core
|
|
1
|
+
import { IKgRemoveEventListener } from '@kengic/core';
|
|
2
2
|
import { ComputedRef } from 'vue';
|
|
3
3
|
import { WarehouseDTO } from '../../api/WMS/models';
|
|
4
4
|
import { IKgWarehouse$EventListener$onCancel, IKgWarehouse$EventListener$onMounted, IKgWarehouse$EventListener$onOk } from './KgWarehouse.event';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IKgRemoveEventListener } from '@kengic/core
|
|
1
|
+
import { IKgRemoveEventListener } from '@kengic/core';
|
|
2
2
|
import { IKgWorkStation$EventListener$onCancel, IKgWorkStation$EventListener$onOk } from './KgWorkStation.event';
|
|
3
3
|
import { buildKgWorkStationStore } from './KgWorkStation.store';
|
|
4
4
|
export declare type IUseKgWorkStation = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IKgLocale, IKgRemoveEventListener } from '@kengic/core
|
|
1
|
+
import { IKgLocale, IKgRemoveEventListener } from '@kengic/core';
|
|
2
2
|
import { ComputedRef } from 'vue';
|
|
3
3
|
import { IKg$EventListener$onBeforeRequest } from './config.event';
|
|
4
4
|
import { useKgStore } from './config.store';
|
|
@@ -122,7 +122,9 @@ export declare type IKgOption = {
|
|
|
122
122
|
};
|
|
123
123
|
/** 仓库选择. */
|
|
124
124
|
KgWarehouse?: {
|
|
125
|
-
/**
|
|
125
|
+
/**
|
|
126
|
+
* 默认的仓库编码, 只有在 {@link IKgOption.KgWarehouse.on} 为 false 时才生效.
|
|
127
|
+
*/
|
|
126
128
|
defaultWarehouseID?: string;
|
|
127
129
|
/**
|
|
128
130
|
* 是否启用功能.
|
|
@@ -132,24 +134,48 @@ export declare type IKgOption = {
|
|
|
132
134
|
};
|
|
133
135
|
/** 模块首页地址. */
|
|
134
136
|
appIndex?: {
|
|
135
|
-
/**
|
|
137
|
+
/**
|
|
138
|
+
* 默认为 '/scada/index'.
|
|
139
|
+
*/
|
|
140
|
+
[KG_APP.SCADA]?: string;
|
|
141
|
+
/**
|
|
142
|
+
* 默认为 '/sys/index'.
|
|
143
|
+
*/
|
|
136
144
|
[KG_APP.SYS]?: string;
|
|
137
|
-
/**
|
|
145
|
+
/**
|
|
146
|
+
* 默认为 '/wcs/index'.
|
|
147
|
+
*/
|
|
138
148
|
[KG_APP.WCS]?: string;
|
|
139
|
-
/**
|
|
149
|
+
/**
|
|
150
|
+
* 默认为 '/wms/business-manager/index'.
|
|
151
|
+
*/
|
|
140
152
|
[KG_APP.WMS_BUSINESS_MANAGER]?: string;
|
|
141
|
-
/**
|
|
153
|
+
/**
|
|
154
|
+
* 默认为 '/wms/data-manager/index'.
|
|
155
|
+
*/
|
|
142
156
|
[KG_APP.WMS_DATA_MANAGER]?: string;
|
|
143
157
|
};
|
|
144
158
|
/** 模块标题. */
|
|
145
159
|
appTitle?: {
|
|
146
|
-
/**
|
|
160
|
+
/**
|
|
161
|
+
* 默认为 'SCADA'.
|
|
162
|
+
*/
|
|
163
|
+
[KG_APP.SCADA]?: string;
|
|
164
|
+
/**
|
|
165
|
+
* 默认为 '系统配置'.
|
|
166
|
+
*/
|
|
147
167
|
[KG_APP.SYS]?: string;
|
|
148
|
-
/**
|
|
168
|
+
/**
|
|
169
|
+
* 默认为 'WCS'.
|
|
170
|
+
*/
|
|
149
171
|
[KG_APP.WCS]?: string;
|
|
150
|
-
/**
|
|
172
|
+
/**
|
|
173
|
+
* 默认为 '仓库管理'.
|
|
174
|
+
*/
|
|
151
175
|
[KG_APP.WMS_BUSINESS_MANAGER]?: string;
|
|
152
|
-
/**
|
|
176
|
+
/**
|
|
177
|
+
* 默认为 '数据管理'.
|
|
178
|
+
*/
|
|
153
179
|
[KG_APP.WMS_DATA_MANAGER]?: string;
|
|
154
180
|
};
|
|
155
181
|
/**
|
|
@@ -3,15 +3,15 @@ import { DropMenu } from '../project/src/components/Dropdown/src/typing';
|
|
|
3
3
|
import { LocaleSetting } from '../project/types/config';
|
|
4
4
|
/** @deprecated 已弃用, 请使用 {@link KG.LOCALE} */
|
|
5
5
|
declare const LOCALE: {
|
|
6
|
-
CS_CZ: import("@kengic/core
|
|
7
|
-
EN: import("@kengic/core
|
|
8
|
-
ES_ES: import("@kengic/core
|
|
9
|
-
FR_FR: import("@kengic/core
|
|
10
|
-
KM_KH: import("@kengic/core
|
|
11
|
-
KO_KR: import("@kengic/core
|
|
12
|
-
TH_TH: import("@kengic/core
|
|
13
|
-
VI_VN: import("@kengic/core
|
|
14
|
-
ZH_CN: import("@kengic/core
|
|
6
|
+
CS_CZ: import("@kengic/core/src/model").IKgLocale;
|
|
7
|
+
EN: import("@kengic/core/src/model").IKgLocale;
|
|
8
|
+
ES_ES: import("@kengic/core/src/model").IKgLocale;
|
|
9
|
+
FR_FR: import("@kengic/core/src/model").IKgLocale;
|
|
10
|
+
KM_KH: import("@kengic/core/src/model").IKgLocale;
|
|
11
|
+
KO_KR: import("@kengic/core/src/model").IKgLocale;
|
|
12
|
+
TH_TH: import("@kengic/core/src/model").IKgLocale;
|
|
13
|
+
VI_VN: import("@kengic/core/src/model").IKgLocale;
|
|
14
|
+
ZH_CN: import("@kengic/core/src/model").IKgLocale;
|
|
15
15
|
};
|
|
16
16
|
declare let localeList: DropMenu[];
|
|
17
17
|
declare const localeSetting: LocaleSetting;
|
|
@@ -527,6 +527,9 @@ declare const KG: {
|
|
|
527
527
|
*/
|
|
528
528
|
__KG__TABLE_TEMP_ID__: string;
|
|
529
529
|
DESCRIPTION_KEY__KG: string;
|
|
530
|
+
/**
|
|
531
|
+
* 数据库的列的类型--NVARCHAR.
|
|
532
|
+
*/
|
|
530
533
|
DESCRIPTION_KEY__WEB: string;
|
|
531
534
|
DYNAMIC_QUERY_OPERATOR__BETWEEN: string;
|
|
532
535
|
DYNAMIC_QUERY_OPERATOR__CONTAIN: string;
|
|
@@ -538,32 +541,30 @@ declare const KG: {
|
|
|
538
541
|
DYNAMIC_QUERY_OPERATOR__IN: string;
|
|
539
542
|
DYNAMIC_QUERY_OPERATOR__LT: string;
|
|
540
543
|
DYNAMIC_QUERY_OPERATOR__LTE: string;
|
|
541
|
-
DYNAMIC_QUERY_OPERATOR__NE: string;
|
|
542
|
-
* 数据库的类型--SQLSERVER.
|
|
543
|
-
*/
|
|
544
|
+
DYNAMIC_QUERY_OPERATOR__NE: string;
|
|
544
545
|
DYNAMIC_QUERY_OPERATOR__NOT_EMPTY: string;
|
|
545
|
-
DYNAMIC_QUERY_OPERATOR__START_WITH: string;
|
|
546
|
+
DYNAMIC_QUERY_OPERATOR__START_WITH: string;
|
|
546
547
|
HTTP_HEADER__KG_BUTTON_VAR_NAME: string;
|
|
547
548
|
HTTP_HEADER__KG_BUTTON_VNAME: string;
|
|
548
549
|
HTTP_HEADER__KG_DB_TYPE: string;
|
|
549
550
|
HTTP_HEADER__KG_FID: string;
|
|
551
|
+
/**
|
|
552
|
+
* 画布.
|
|
553
|
+
*/
|
|
550
554
|
HTTP_HEADER__KG_FORM_ID: string;
|
|
551
555
|
HTTP_HEADER__KG_IS_DYNAMIC_QUERY: string;
|
|
552
556
|
HTTP_HEADER__KG_PAGE_INDEX: string;
|
|
553
|
-
HTTP_HEADER__KG_PAGE_SIZE: string;
|
|
554
|
-
* <p>依赖注入表单数据对象.</p>
|
|
555
|
-
* <p>在表单组件(KgForm)的任何下级组件中, 都可以通过注入获取表单数据对象.</p>
|
|
556
|
-
*/
|
|
557
|
+
HTTP_HEADER__KG_PAGE_SIZE: string;
|
|
557
558
|
HTTP_HEADER__KG_QUERY_OFFSET_SQL: string;
|
|
558
559
|
HTTP_HEADER__KG_QUERY_OPERATOR_RECORD: string;
|
|
559
560
|
HTTP_HEADER__KG_QUERY_ORDER_BY_SQL: string;
|
|
560
561
|
HTTP_HEADER__KG_QUERY_SQL: string;
|
|
561
562
|
HTTP_HEADER__KG_QUERY_VALUE_RECORD: string;
|
|
562
563
|
HTTP_HEADER__KG_QUERY_WHERE_SQL: string;
|
|
563
|
-
HTTP_HEADER__KG_QUERY_WHERE_SQL_01: string;
|
|
564
|
-
|
|
565
|
-
* 左下侧面板.
|
|
564
|
+
HTTP_HEADER__KG_QUERY_WHERE_SQL_01: string; /**
|
|
565
|
+
* 模拟器.
|
|
566
566
|
*/
|
|
567
|
+
HTTP_HEADER__KG_QUERY_WHERE_SQL_02: string;
|
|
567
568
|
HTTP_HEADER__KG_QUERY_WHERE_SQL_03: string;
|
|
568
569
|
HTTP_HEADER__KG_QUERY_WHERE_SQL_04: string;
|
|
569
570
|
HTTP_HEADER__KG_QUERY_WHERE_SQL_05: string;
|
|
@@ -577,20 +578,29 @@ declare const KG: {
|
|
|
577
578
|
HTTP_HEADER__KG_WORK_AREA: string;
|
|
578
579
|
HTTP_HEADER__KG_WORK_STATION: string;
|
|
579
580
|
LOCALE: {
|
|
580
|
-
CS_CZ: import("@kengic/core
|
|
581
|
+
CS_CZ: import("@kengic/core/src/model").IKgLocale; /**
|
|
581
582
|
* 右下侧工具栏.
|
|
582
583
|
*/
|
|
583
|
-
EN: import("@kengic/core
|
|
584
|
-
ES_ES: import("@kengic/core
|
|
585
|
-
FR_FR: import("@kengic/core
|
|
586
|
-
KM_KH: import("@kengic/core
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
584
|
+
EN: import("@kengic/core/src/model").IKgLocale;
|
|
585
|
+
ES_ES: import("@kengic/core/src/model").IKgLocale;
|
|
586
|
+
FR_FR: import("@kengic/core/src/model").IKgLocale;
|
|
587
|
+
KM_KH: import("@kengic/core/src/model").IKgLocale;
|
|
588
|
+
/**
|
|
589
|
+
* 右上侧工具栏.
|
|
590
|
+
*/
|
|
591
|
+
KO_KR: import("@kengic/core/src/model").IKgLocale;
|
|
592
|
+
TH_TH: import("@kengic/core/src/model").IKgLocale;
|
|
593
|
+
VI_VN: import("@kengic/core/src/model").IKgLocale;
|
|
594
|
+
ZH_CN: import("@kengic/core/src/model").IKgLocale;
|
|
591
595
|
};
|
|
596
|
+
/**
|
|
597
|
+
* 变量页面.
|
|
598
|
+
*/
|
|
592
599
|
LOCALE_DATA_LIST: {
|
|
593
600
|
text: string;
|
|
601
|
+
/**
|
|
602
|
+
* 注入 kgProps 参数.
|
|
603
|
+
*/
|
|
594
604
|
code: string;
|
|
595
605
|
}[];
|
|
596
606
|
};
|
|
@@ -1115,6 +1125,9 @@ declare const KG_CONST: {
|
|
|
1115
1125
|
*/
|
|
1116
1126
|
__KG__TABLE_TEMP_ID__: string;
|
|
1117
1127
|
DESCRIPTION_KEY__KG: string;
|
|
1128
|
+
/**
|
|
1129
|
+
* 数据库的列的类型--NVARCHAR.
|
|
1130
|
+
*/
|
|
1118
1131
|
DESCRIPTION_KEY__WEB: string;
|
|
1119
1132
|
DYNAMIC_QUERY_OPERATOR__BETWEEN: string;
|
|
1120
1133
|
DYNAMIC_QUERY_OPERATOR__CONTAIN: string;
|
|
@@ -1126,32 +1139,30 @@ declare const KG_CONST: {
|
|
|
1126
1139
|
DYNAMIC_QUERY_OPERATOR__IN: string;
|
|
1127
1140
|
DYNAMIC_QUERY_OPERATOR__LT: string;
|
|
1128
1141
|
DYNAMIC_QUERY_OPERATOR__LTE: string;
|
|
1129
|
-
DYNAMIC_QUERY_OPERATOR__NE: string;
|
|
1130
|
-
* 数据库的类型--SQLSERVER.
|
|
1131
|
-
*/
|
|
1142
|
+
DYNAMIC_QUERY_OPERATOR__NE: string;
|
|
1132
1143
|
DYNAMIC_QUERY_OPERATOR__NOT_EMPTY: string;
|
|
1133
|
-
DYNAMIC_QUERY_OPERATOR__START_WITH: string;
|
|
1144
|
+
DYNAMIC_QUERY_OPERATOR__START_WITH: string;
|
|
1134
1145
|
HTTP_HEADER__KG_BUTTON_VAR_NAME: string;
|
|
1135
1146
|
HTTP_HEADER__KG_BUTTON_VNAME: string;
|
|
1136
1147
|
HTTP_HEADER__KG_DB_TYPE: string;
|
|
1137
1148
|
HTTP_HEADER__KG_FID: string;
|
|
1149
|
+
/**
|
|
1150
|
+
* 画布.
|
|
1151
|
+
*/
|
|
1138
1152
|
HTTP_HEADER__KG_FORM_ID: string;
|
|
1139
1153
|
HTTP_HEADER__KG_IS_DYNAMIC_QUERY: string;
|
|
1140
1154
|
HTTP_HEADER__KG_PAGE_INDEX: string;
|
|
1141
|
-
HTTP_HEADER__KG_PAGE_SIZE: string;
|
|
1142
|
-
* <p>依赖注入表单数据对象.</p>
|
|
1143
|
-
* <p>在表单组件(KgForm)的任何下级组件中, 都可以通过注入获取表单数据对象.</p>
|
|
1144
|
-
*/
|
|
1155
|
+
HTTP_HEADER__KG_PAGE_SIZE: string;
|
|
1145
1156
|
HTTP_HEADER__KG_QUERY_OFFSET_SQL: string;
|
|
1146
1157
|
HTTP_HEADER__KG_QUERY_OPERATOR_RECORD: string;
|
|
1147
1158
|
HTTP_HEADER__KG_QUERY_ORDER_BY_SQL: string;
|
|
1148
1159
|
HTTP_HEADER__KG_QUERY_SQL: string;
|
|
1149
1160
|
HTTP_HEADER__KG_QUERY_VALUE_RECORD: string;
|
|
1150
1161
|
HTTP_HEADER__KG_QUERY_WHERE_SQL: string;
|
|
1151
|
-
HTTP_HEADER__KG_QUERY_WHERE_SQL_01: string;
|
|
1152
|
-
|
|
1153
|
-
* 左下侧面板.
|
|
1162
|
+
HTTP_HEADER__KG_QUERY_WHERE_SQL_01: string; /**
|
|
1163
|
+
* 模拟器.
|
|
1154
1164
|
*/
|
|
1165
|
+
HTTP_HEADER__KG_QUERY_WHERE_SQL_02: string;
|
|
1155
1166
|
HTTP_HEADER__KG_QUERY_WHERE_SQL_03: string;
|
|
1156
1167
|
HTTP_HEADER__KG_QUERY_WHERE_SQL_04: string;
|
|
1157
1168
|
HTTP_HEADER__KG_QUERY_WHERE_SQL_05: string;
|
|
@@ -1165,20 +1176,29 @@ declare const KG_CONST: {
|
|
|
1165
1176
|
HTTP_HEADER__KG_WORK_AREA: string;
|
|
1166
1177
|
HTTP_HEADER__KG_WORK_STATION: string;
|
|
1167
1178
|
LOCALE: {
|
|
1168
|
-
CS_CZ: import("@kengic/core
|
|
1179
|
+
CS_CZ: import("@kengic/core/src/model").IKgLocale; /**
|
|
1169
1180
|
* 右下侧工具栏.
|
|
1170
1181
|
*/
|
|
1171
|
-
EN: import("@kengic/core
|
|
1172
|
-
ES_ES: import("@kengic/core
|
|
1173
|
-
FR_FR: import("@kengic/core
|
|
1174
|
-
KM_KH: import("@kengic/core
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1182
|
+
EN: import("@kengic/core/src/model").IKgLocale;
|
|
1183
|
+
ES_ES: import("@kengic/core/src/model").IKgLocale;
|
|
1184
|
+
FR_FR: import("@kengic/core/src/model").IKgLocale;
|
|
1185
|
+
KM_KH: import("@kengic/core/src/model").IKgLocale;
|
|
1186
|
+
/**
|
|
1187
|
+
* 右上侧工具栏.
|
|
1188
|
+
*/
|
|
1189
|
+
KO_KR: import("@kengic/core/src/model").IKgLocale;
|
|
1190
|
+
TH_TH: import("@kengic/core/src/model").IKgLocale;
|
|
1191
|
+
VI_VN: import("@kengic/core/src/model").IKgLocale;
|
|
1192
|
+
ZH_CN: import("@kengic/core/src/model").IKgLocale;
|
|
1179
1193
|
};
|
|
1194
|
+
/**
|
|
1195
|
+
* 变量页面.
|
|
1196
|
+
*/
|
|
1180
1197
|
LOCALE_DATA_LIST: {
|
|
1181
1198
|
text: string;
|
|
1199
|
+
/**
|
|
1200
|
+
* 注入 kgProps 参数.
|
|
1201
|
+
*/
|
|
1182
1202
|
code: string;
|
|
1183
1203
|
}[];
|
|
1184
1204
|
};
|
|
@@ -1186,6 +1206,10 @@ declare const KG_CONST: {
|
|
|
1186
1206
|
* 模块.
|
|
1187
1207
|
*/
|
|
1188
1208
|
declare const KG_APP: {
|
|
1209
|
+
/**
|
|
1210
|
+
* SCADA.
|
|
1211
|
+
*/
|
|
1212
|
+
readonly SCADA: "scada";
|
|
1189
1213
|
/**
|
|
1190
1214
|
* 系统管理.
|
|
1191
1215
|
*/
|
|
@@ -1203,16 +1227,30 @@ declare const KG_APP: {
|
|
|
1203
1227
|
*/
|
|
1204
1228
|
readonly WMS_DATA_MANAGER: "data-manager";
|
|
1205
1229
|
};
|
|
1206
|
-
/**
|
|
1230
|
+
/**
|
|
1231
|
+
* 模块路径前缀.
|
|
1232
|
+
*/
|
|
1207
1233
|
declare const enum KG_APP_PREFIX {
|
|
1208
|
-
/**
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
/**
|
|
1234
|
+
/**
|
|
1235
|
+
* SCADA.
|
|
1236
|
+
*/
|
|
1237
|
+
SCADA = "/scada",
|
|
1238
|
+
/**
|
|
1239
|
+
* 系统管理.
|
|
1240
|
+
*/
|
|
1241
|
+
SYS = "/sys",
|
|
1242
|
+
/**
|
|
1243
|
+
* WCS.
|
|
1244
|
+
*/
|
|
1213
1245
|
WCS = "/wcs",
|
|
1214
|
-
/**
|
|
1215
|
-
|
|
1246
|
+
/**
|
|
1247
|
+
* 仓库管理.
|
|
1248
|
+
*/
|
|
1249
|
+
WMS_BUSINESS_MANAGER = "/wms/business-manager",
|
|
1250
|
+
/**
|
|
1251
|
+
* 数据管理.
|
|
1252
|
+
*/
|
|
1253
|
+
WMS_DATA_MANAGER = "/wms/data-manager"
|
|
1216
1254
|
}
|
|
1217
1255
|
/** 所有模块. */
|
|
1218
1256
|
declare const KG_APPS: Array<string>;
|
|
@@ -1674,6 +1712,8 @@ declare const KG_DYNAMIC_QUERY_OPERATOR: {
|
|
|
1674
1712
|
/** 特殊属性:请求返回的原始响应数据. */
|
|
1675
1713
|
declare const __KG__RESPONSE__ = "__KG__RESPONSE__";
|
|
1676
1714
|
/** 模块菜单的临时ID:数据管理. */
|
|
1715
|
+
declare const KG_TMP_MENU_ID__SCADA = "KG_TMP_MENU_ID__SCADA";
|
|
1716
|
+
/** 模块菜单的临时ID:数据管理. */
|
|
1677
1717
|
declare const KG_TMP_MENU_ID__DATA_MANAGER = "KG_TMP_MENU_ID__DATA_MANAGER";
|
|
1678
1718
|
/** 模块菜单的临时ID:仓库管理. */
|
|
1679
1719
|
declare const KG_TMP_MENU_ID__BUSINESS_MANAGER = "KG_TMP_MENU_ID__BUSINESS_MANAGER";
|
|
@@ -2241,4 +2281,4 @@ declare const FORM_IDS: {
|
|
|
2241
2281
|
/** @deprecated 已废弃, 请使用 {@link KG.FORM_ID__KG_VAR_CONFIG__MODAL__TABLE__VAR_GRID_CONFIG} */
|
|
2242
2282
|
KG_VAR_CONFIG__MODAL__TABLE__VAR_GRID_CONFIG: string;
|
|
2243
2283
|
};
|
|
2244
|
-
export { KG, KG_APP, KG_APP_PREFIX, KG_APPS, KG_APP_PREFIXS, KG_FORM_CONTEXT, KG_CUSTOM_LEVEL, KG__API_METHOD, KG__VAR_GRID_DETAIL__DISPLAY_TYPE, KG__VAR_GRID_DETAIL__ALIGN, KG__VAR_GRID_CONFIG__OPERATION_ON_ROW_CLICK, KG_BUTTON_TYPE, KG__VAR_BUTTON__TYPE, KG__VAR_BUTTON__COLOR, KG__VAR_BUTTON_CONFIG__DISPLAY_TYPE, KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE, KG__VAR_SUBMIT_CONFIG__LAYOUT, KG__VAR_CONFIG_INPUT__DATA_TYPE, KG__VAR_CONFIG_INPUT__VALIDATION_TYPE, KG__VAR_CONFIG_TIP__PLACEMENT, KG__VAR_CONFIG_POSSIBILITY__DATA_SOURCE_TYPE, KG__VAR_CONFIG_POSSIBILITY__VALUE_DATA_TYPE, KG__VAR_SUBMIT_CONFIG__LABEL_COLUMN_UNIT, KG__DYNAMIC_PARAM, KG__DYNAMIC_PARAM_LIST, KG__DYNAMIC_PARAM_HASH, KG__DYNAMIC_PARAM_HASH_LIST, KG__SPAN, KG__VAR_BUTTON__EXPORT_EXCEL_SUFFIX, KG_DESCRIPTION_CODE_NAME, __KG__RESPONSE__, KG_TMP_MENU_ID__DATA_MANAGER, KG_TMP_MENU_ID__BUSINESS_MANAGER, KG_TMP_MENU_ID__WCS, KG_TMP_MENU_ID__SYS, KG_TMP_MENU_ID__PDA, type IKgVarButtonModalProperties, type IKgVarSubmitConfigProperties, type IKgVarButtonProperties, type IKgVarButtonConfigProperties, type IKgVarChildDetailProperties, type IKgVarConfigDescriptionProperties, type IKgVarConfigInputProperties, type IKgVarConfigLookupProperties, type IKgVarConfigPossibilityProperties, type IKgVarConfigTipProperties, type IKgVarDdaProperties, type IKgVarGridConfigProperties, type IKgVarGridDetailProperties, type IKgVarGridMasterProperties, type IKgVarProfileConfigProperties, type IKgVarProfileDetailProperties, type IKgVarProfileMasterProperties, type IKgVarSubmitDetailProperties, type IKgVarVariableProperties, type IKgVarConfigControlControlProperties, type IKgVarGridDetailDisplayTypeProperties, type IKgStoreDefinition, KG_CONST, KG_DYNAMIC_QUERY_OPERATOR, KG_COMMON_CONST, KG_TABLE_TEMP_ID, FORM_IDS, };
|
|
2284
|
+
export { KG, KG_APP, KG_APP_PREFIX, KG_APPS, KG_APP_PREFIXS, KG_FORM_CONTEXT, KG_CUSTOM_LEVEL, KG__API_METHOD, KG__VAR_GRID_DETAIL__DISPLAY_TYPE, KG__VAR_GRID_DETAIL__ALIGN, KG__VAR_GRID_CONFIG__OPERATION_ON_ROW_CLICK, KG_BUTTON_TYPE, KG__VAR_BUTTON__TYPE, KG__VAR_BUTTON__COLOR, KG__VAR_BUTTON_CONFIG__DISPLAY_TYPE, KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE, KG__VAR_SUBMIT_CONFIG__LAYOUT, KG__VAR_CONFIG_INPUT__DATA_TYPE, KG__VAR_CONFIG_INPUT__VALIDATION_TYPE, KG__VAR_CONFIG_TIP__PLACEMENT, KG__VAR_CONFIG_POSSIBILITY__DATA_SOURCE_TYPE, KG__VAR_CONFIG_POSSIBILITY__VALUE_DATA_TYPE, KG__VAR_SUBMIT_CONFIG__LABEL_COLUMN_UNIT, KG__DYNAMIC_PARAM, KG__DYNAMIC_PARAM_LIST, KG__DYNAMIC_PARAM_HASH, KG__DYNAMIC_PARAM_HASH_LIST, KG__SPAN, KG__VAR_BUTTON__EXPORT_EXCEL_SUFFIX, KG_DESCRIPTION_CODE_NAME, __KG__RESPONSE__, KG_TMP_MENU_ID__SCADA, KG_TMP_MENU_ID__DATA_MANAGER, KG_TMP_MENU_ID__BUSINESS_MANAGER, KG_TMP_MENU_ID__WCS, KG_TMP_MENU_ID__SYS, KG_TMP_MENU_ID__PDA, type IKgVarButtonModalProperties, type IKgVarSubmitConfigProperties, type IKgVarButtonProperties, type IKgVarButtonConfigProperties, type IKgVarChildDetailProperties, type IKgVarConfigDescriptionProperties, type IKgVarConfigInputProperties, type IKgVarConfigLookupProperties, type IKgVarConfigPossibilityProperties, type IKgVarConfigTipProperties, type IKgVarDdaProperties, type IKgVarGridConfigProperties, type IKgVarGridDetailProperties, type IKgVarGridMasterProperties, type IKgVarProfileConfigProperties, type IKgVarProfileDetailProperties, type IKgVarProfileMasterProperties, type IKgVarSubmitDetailProperties, type IKgVarVariableProperties, type IKgVarConfigControlControlProperties, type IKgVarGridDetailDisplayTypeProperties, type IKgStoreDefinition, KG_CONST, KG_DYNAMIC_QUERY_OPERATOR, KG_COMMON_CONST, KG_TABLE_TEMP_ID, FORM_IDS, };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
*
|
|
3
3
|
* Multi-language related operations
|
|
4
4
|
*/
|
|
5
|
-
import { IKgLocale } from '@kengic/core
|
|
5
|
+
import { IKgLocale } from '@kengic/core';
|
|
6
6
|
export declare function useLocale(): {
|
|
7
7
|
getLocale: import("vue").ComputedRef<string>;
|
|
8
8
|
getShowLocalePicker: import("vue").ComputedRef<boolean>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IKgLocale } from '@kengic/core
|
|
1
|
+
import { IKgLocale } from '@kengic/core';
|
|
2
2
|
import { ContentEnum, PermissionModeEnum, RouterTransitionEnum, SessionTimeoutProcessingEnum, SettingButtonPositionEnum, ThemeEnum } from '../src/enums/appEnum';
|
|
3
3
|
import { CacheTypeEnum } from '../src/enums/cacheEnum';
|
|
4
4
|
import { MenuModeEnum, MenuTypeEnum, MixSidebarTriggerEnum, TriggerEnum } from '../src/enums/menuEnum';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ____DEBUG____, ____ERROR____, ____INFO_____, ____WARN_____, IKgEventListener, IKgRemoveEventListener, KgCoreUtil } from '@kengic/core
|
|
1
|
+
import { ____DEBUG____, ____ERROR____, ____INFO_____, ____WARN_____, IKgEventListener, IKgRemoveEventListener, KgCoreUtil } from '@kengic/core';
|
|
2
2
|
import { ModalFuncProps } from 'ant-design-vue/lib/modal/Modal';
|
|
3
3
|
import dayjs, { Dayjs } from 'dayjs';
|
|
4
4
|
import { Slots } from 'vue';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kengic/vue",
|
|
3
|
-
"version": "0.32.21-beta.
|
|
3
|
+
"version": "0.32.21-beta.2",
|
|
4
4
|
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "24.14.1",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@iconify-icons/mdi": "1.2.48",
|
|
60
60
|
"@iconify-icons/ph": "1.2.5",
|
|
61
61
|
"@iconify/vue": "4.1.2",
|
|
62
|
-
"@kengic/core
|
|
62
|
+
"@kengic/core": "0.0.8-beta.0",
|
|
63
63
|
"@kengic/pont": "2.1.2",
|
|
64
64
|
"@rys-fe/vite-plugin-theme": "0.8.6",
|
|
65
65
|
"@thymine/xunee": "0.4.9-beta.47",
|