@kengic/vue 0.32.21-beta.2 → 0.32.21
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/index.css +1 -1
- package/dist/kengic-vue.js +2316 -2296
- 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/KgForm.Item/KgForm.Item.model.d.ts +2 -2
- 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/KgVar/KgVar.model.d.ts +5 -2
- 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/index.d.ts +1 -1
- package/dist/src/i18n/i18n.setup.d.ts +9 -9
- package/dist/src/model/index.d.ts +40 -60
- 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 +8 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IKgRemoveEventListener } from '@kengic/core';
|
|
1
|
+
import { IKgRemoveEventListener } from '@kengic/core.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.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.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.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 = {
|
|
@@ -83,10 +83,10 @@ export declare type IKgFormItemProps = Partial<ExtractPropTypes<ReturnType<typeo
|
|
|
83
83
|
* 插槽参数: control.
|
|
84
84
|
*/
|
|
85
85
|
export declare type IKgFormItemSlotControlParameter = {
|
|
86
|
+
formID: string;
|
|
86
87
|
/** @deprecated */
|
|
87
88
|
frm_id: string;
|
|
88
|
-
|
|
89
|
-
/** @deprecated 已废弃, 请直接使用 KgSubmit.formModel 或者 kgSearch.formModel */
|
|
89
|
+
/** @deprecated 已废弃, 请直接使用 kgSubmit.formModel 或者 kgSearch.formModel */
|
|
90
90
|
model: ComputedRef<Record<string, any>>;
|
|
91
91
|
props: ComputedRef<IKgFormItemProps>;
|
|
92
92
|
varConfigControl: VarConfigControl;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IKgRemoveEventListener } from '@kengic/core';
|
|
1
|
+
import { IKgRemoveEventListener } from '@kengic/core.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.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.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.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.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';
|
|
@@ -22,12 +22,15 @@ export declare type IKgSlots = {
|
|
|
22
22
|
/** 表单. */
|
|
23
23
|
KgSubmit?: {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* <p>某个表单控件.</p>
|
|
26
|
+
* <p>如果返回 undefined, 表示忽略该插槽, 使用默认的渲染.</p>
|
|
26
27
|
*/
|
|
27
28
|
'KgForm.Item.control'?: {
|
|
28
29
|
[variable: string]: (param: IKgFormItemSlotControlParameter) => any;
|
|
29
30
|
};
|
|
30
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* 某个表单控件右侧.
|
|
33
|
+
*/
|
|
31
34
|
'KgForm.Item.controlRight'?: {
|
|
32
35
|
[variable: string]: (param: IKgFormItemSlotControlRightParameter) => any;
|
|
33
36
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IKgRemoveEventListener } from '@kengic/core';
|
|
1
|
+
import { IKgRemoveEventListener } from '@kengic/core.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.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.core';
|
|
2
2
|
import { ComputedRef } from 'vue';
|
|
3
3
|
import { IKg$EventListener$onBeforeRequest } from './config.event';
|
|
4
4
|
import { useKgStore } from './config.store';
|
|
@@ -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/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;
|
|
6
|
+
CS_CZ: import("@kengic/core.core/src/model").IKgLocale;
|
|
7
|
+
EN: import("@kengic/core.core/src/model").IKgLocale;
|
|
8
|
+
ES_ES: import("@kengic/core.core/src/model").IKgLocale;
|
|
9
|
+
FR_FR: import("@kengic/core.core/src/model").IKgLocale;
|
|
10
|
+
KM_KH: import("@kengic/core.core/src/model").IKgLocale;
|
|
11
|
+
KO_KR: import("@kengic/core.core/src/model").IKgLocale;
|
|
12
|
+
TH_TH: import("@kengic/core.core/src/model").IKgLocale;
|
|
13
|
+
VI_VN: import("@kengic/core.core/src/model").IKgLocale;
|
|
14
|
+
ZH_CN: import("@kengic/core.core/src/model").IKgLocale;
|
|
15
15
|
};
|
|
16
16
|
declare let localeList: DropMenu[];
|
|
17
17
|
declare const localeSetting: LocaleSetting;
|
|
@@ -527,9 +527,6 @@ declare const KG: {
|
|
|
527
527
|
*/
|
|
528
528
|
__KG__TABLE_TEMP_ID__: string;
|
|
529
529
|
DESCRIPTION_KEY__KG: string;
|
|
530
|
-
/**
|
|
531
|
-
* 数据库的列的类型--NVARCHAR.
|
|
532
|
-
*/
|
|
533
530
|
DESCRIPTION_KEY__WEB: string;
|
|
534
531
|
DYNAMIC_QUERY_OPERATOR__BETWEEN: string;
|
|
535
532
|
DYNAMIC_QUERY_OPERATOR__CONTAIN: string;
|
|
@@ -541,30 +538,32 @@ declare const KG: {
|
|
|
541
538
|
DYNAMIC_QUERY_OPERATOR__IN: string;
|
|
542
539
|
DYNAMIC_QUERY_OPERATOR__LT: string;
|
|
543
540
|
DYNAMIC_QUERY_OPERATOR__LTE: string;
|
|
544
|
-
DYNAMIC_QUERY_OPERATOR__NE: string;
|
|
541
|
+
DYNAMIC_QUERY_OPERATOR__NE: string; /**
|
|
542
|
+
* 数据库的类型--SQLSERVER.
|
|
543
|
+
*/
|
|
545
544
|
DYNAMIC_QUERY_OPERATOR__NOT_EMPTY: string;
|
|
546
|
-
DYNAMIC_QUERY_OPERATOR__START_WITH: string;
|
|
545
|
+
DYNAMIC_QUERY_OPERATOR__START_WITH: string; /** @deprecated 已废弃, 请使用 KG.DESCRIPTION_KEY__KG */
|
|
547
546
|
HTTP_HEADER__KG_BUTTON_VAR_NAME: string;
|
|
548
547
|
HTTP_HEADER__KG_BUTTON_VNAME: string;
|
|
549
548
|
HTTP_HEADER__KG_DB_TYPE: string;
|
|
550
549
|
HTTP_HEADER__KG_FID: string;
|
|
551
|
-
/**
|
|
552
|
-
* 画布.
|
|
553
|
-
*/
|
|
554
550
|
HTTP_HEADER__KG_FORM_ID: string;
|
|
555
551
|
HTTP_HEADER__KG_IS_DYNAMIC_QUERY: string;
|
|
556
552
|
HTTP_HEADER__KG_PAGE_INDEX: string;
|
|
557
|
-
HTTP_HEADER__KG_PAGE_SIZE: string;
|
|
553
|
+
HTTP_HEADER__KG_PAGE_SIZE: string; /**
|
|
554
|
+
* <p>依赖注入表单数据对象.</p>
|
|
555
|
+
* <p>在表单组件(KgForm)的任何下级组件中, 都可以通过注入获取表单数据对象.</p>
|
|
556
|
+
*/
|
|
558
557
|
HTTP_HEADER__KG_QUERY_OFFSET_SQL: string;
|
|
559
558
|
HTTP_HEADER__KG_QUERY_OPERATOR_RECORD: string;
|
|
560
559
|
HTTP_HEADER__KG_QUERY_ORDER_BY_SQL: string;
|
|
561
560
|
HTTP_HEADER__KG_QUERY_SQL: string;
|
|
562
561
|
HTTP_HEADER__KG_QUERY_VALUE_RECORD: string;
|
|
563
562
|
HTTP_HEADER__KG_QUERY_WHERE_SQL: string;
|
|
564
|
-
HTTP_HEADER__KG_QUERY_WHERE_SQL_01: string;
|
|
565
|
-
|
|
563
|
+
HTTP_HEADER__KG_QUERY_WHERE_SQL_01: string;
|
|
564
|
+
HTTP_HEADER__KG_QUERY_WHERE_SQL_02: string; /**
|
|
565
|
+
* 左下侧面板.
|
|
566
566
|
*/
|
|
567
|
-
HTTP_HEADER__KG_QUERY_WHERE_SQL_02: string;
|
|
568
567
|
HTTP_HEADER__KG_QUERY_WHERE_SQL_03: string;
|
|
569
568
|
HTTP_HEADER__KG_QUERY_WHERE_SQL_04: string;
|
|
570
569
|
HTTP_HEADER__KG_QUERY_WHERE_SQL_05: string;
|
|
@@ -578,29 +577,20 @@ declare const KG: {
|
|
|
578
577
|
HTTP_HEADER__KG_WORK_AREA: string;
|
|
579
578
|
HTTP_HEADER__KG_WORK_STATION: string;
|
|
580
579
|
LOCALE: {
|
|
581
|
-
CS_CZ: import("@kengic/core/src/model").IKgLocale; /**
|
|
580
|
+
CS_CZ: import("@kengic/core.core/src/model").IKgLocale; /**
|
|
582
581
|
* 右下侧工具栏.
|
|
583
582
|
*/
|
|
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
|
-
|
|
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;
|
|
583
|
+
EN: import("@kengic/core.core/src/model").IKgLocale;
|
|
584
|
+
ES_ES: import("@kengic/core.core/src/model").IKgLocale;
|
|
585
|
+
FR_FR: import("@kengic/core.core/src/model").IKgLocale;
|
|
586
|
+
KM_KH: import("@kengic/core.core/src/model").IKgLocale;
|
|
587
|
+
KO_KR: import("@kengic/core.core/src/model").IKgLocale;
|
|
588
|
+
TH_TH: import("@kengic/core.core/src/model").IKgLocale;
|
|
589
|
+
VI_VN: import("@kengic/core.core/src/model").IKgLocale;
|
|
590
|
+
ZH_CN: import("@kengic/core.core/src/model").IKgLocale;
|
|
595
591
|
};
|
|
596
|
-
/**
|
|
597
|
-
* 变量页面.
|
|
598
|
-
*/
|
|
599
592
|
LOCALE_DATA_LIST: {
|
|
600
593
|
text: string;
|
|
601
|
-
/**
|
|
602
|
-
* 注入 kgProps 参数.
|
|
603
|
-
*/
|
|
604
594
|
code: string;
|
|
605
595
|
}[];
|
|
606
596
|
};
|
|
@@ -1125,9 +1115,6 @@ declare const KG_CONST: {
|
|
|
1125
1115
|
*/
|
|
1126
1116
|
__KG__TABLE_TEMP_ID__: string;
|
|
1127
1117
|
DESCRIPTION_KEY__KG: string;
|
|
1128
|
-
/**
|
|
1129
|
-
* 数据库的列的类型--NVARCHAR.
|
|
1130
|
-
*/
|
|
1131
1118
|
DESCRIPTION_KEY__WEB: string;
|
|
1132
1119
|
DYNAMIC_QUERY_OPERATOR__BETWEEN: string;
|
|
1133
1120
|
DYNAMIC_QUERY_OPERATOR__CONTAIN: string;
|
|
@@ -1139,30 +1126,32 @@ declare const KG_CONST: {
|
|
|
1139
1126
|
DYNAMIC_QUERY_OPERATOR__IN: string;
|
|
1140
1127
|
DYNAMIC_QUERY_OPERATOR__LT: string;
|
|
1141
1128
|
DYNAMIC_QUERY_OPERATOR__LTE: string;
|
|
1142
|
-
DYNAMIC_QUERY_OPERATOR__NE: string;
|
|
1129
|
+
DYNAMIC_QUERY_OPERATOR__NE: string; /**
|
|
1130
|
+
* 数据库的类型--SQLSERVER.
|
|
1131
|
+
*/
|
|
1143
1132
|
DYNAMIC_QUERY_OPERATOR__NOT_EMPTY: string;
|
|
1144
|
-
DYNAMIC_QUERY_OPERATOR__START_WITH: string;
|
|
1133
|
+
DYNAMIC_QUERY_OPERATOR__START_WITH: string; /** @deprecated 已废弃, 请使用 KG.DESCRIPTION_KEY__KG */
|
|
1145
1134
|
HTTP_HEADER__KG_BUTTON_VAR_NAME: string;
|
|
1146
1135
|
HTTP_HEADER__KG_BUTTON_VNAME: string;
|
|
1147
1136
|
HTTP_HEADER__KG_DB_TYPE: string;
|
|
1148
1137
|
HTTP_HEADER__KG_FID: string;
|
|
1149
|
-
/**
|
|
1150
|
-
* 画布.
|
|
1151
|
-
*/
|
|
1152
1138
|
HTTP_HEADER__KG_FORM_ID: string;
|
|
1153
1139
|
HTTP_HEADER__KG_IS_DYNAMIC_QUERY: string;
|
|
1154
1140
|
HTTP_HEADER__KG_PAGE_INDEX: string;
|
|
1155
|
-
HTTP_HEADER__KG_PAGE_SIZE: string;
|
|
1141
|
+
HTTP_HEADER__KG_PAGE_SIZE: string; /**
|
|
1142
|
+
* <p>依赖注入表单数据对象.</p>
|
|
1143
|
+
* <p>在表单组件(KgForm)的任何下级组件中, 都可以通过注入获取表单数据对象.</p>
|
|
1144
|
+
*/
|
|
1156
1145
|
HTTP_HEADER__KG_QUERY_OFFSET_SQL: string;
|
|
1157
1146
|
HTTP_HEADER__KG_QUERY_OPERATOR_RECORD: string;
|
|
1158
1147
|
HTTP_HEADER__KG_QUERY_ORDER_BY_SQL: string;
|
|
1159
1148
|
HTTP_HEADER__KG_QUERY_SQL: string;
|
|
1160
1149
|
HTTP_HEADER__KG_QUERY_VALUE_RECORD: string;
|
|
1161
1150
|
HTTP_HEADER__KG_QUERY_WHERE_SQL: string;
|
|
1162
|
-
HTTP_HEADER__KG_QUERY_WHERE_SQL_01: string;
|
|
1163
|
-
|
|
1151
|
+
HTTP_HEADER__KG_QUERY_WHERE_SQL_01: string;
|
|
1152
|
+
HTTP_HEADER__KG_QUERY_WHERE_SQL_02: string; /**
|
|
1153
|
+
* 左下侧面板.
|
|
1164
1154
|
*/
|
|
1165
|
-
HTTP_HEADER__KG_QUERY_WHERE_SQL_02: string;
|
|
1166
1155
|
HTTP_HEADER__KG_QUERY_WHERE_SQL_03: string;
|
|
1167
1156
|
HTTP_HEADER__KG_QUERY_WHERE_SQL_04: string;
|
|
1168
1157
|
HTTP_HEADER__KG_QUERY_WHERE_SQL_05: string;
|
|
@@ -1176,29 +1165,20 @@ declare const KG_CONST: {
|
|
|
1176
1165
|
HTTP_HEADER__KG_WORK_AREA: string;
|
|
1177
1166
|
HTTP_HEADER__KG_WORK_STATION: string;
|
|
1178
1167
|
LOCALE: {
|
|
1179
|
-
CS_CZ: import("@kengic/core/src/model").IKgLocale; /**
|
|
1168
|
+
CS_CZ: import("@kengic/core.core/src/model").IKgLocale; /**
|
|
1180
1169
|
* 右下侧工具栏.
|
|
1181
1170
|
*/
|
|
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
|
-
|
|
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;
|
|
1171
|
+
EN: import("@kengic/core.core/src/model").IKgLocale;
|
|
1172
|
+
ES_ES: import("@kengic/core.core/src/model").IKgLocale;
|
|
1173
|
+
FR_FR: import("@kengic/core.core/src/model").IKgLocale;
|
|
1174
|
+
KM_KH: import("@kengic/core.core/src/model").IKgLocale;
|
|
1175
|
+
KO_KR: import("@kengic/core.core/src/model").IKgLocale;
|
|
1176
|
+
TH_TH: import("@kengic/core.core/src/model").IKgLocale;
|
|
1177
|
+
VI_VN: import("@kengic/core.core/src/model").IKgLocale;
|
|
1178
|
+
ZH_CN: import("@kengic/core.core/src/model").IKgLocale;
|
|
1193
1179
|
};
|
|
1194
|
-
/**
|
|
1195
|
-
* 变量页面.
|
|
1196
|
-
*/
|
|
1197
1180
|
LOCALE_DATA_LIST: {
|
|
1198
1181
|
text: string;
|
|
1199
|
-
/**
|
|
1200
|
-
* 注入 kgProps 参数.
|
|
1201
|
-
*/
|
|
1202
1182
|
code: string;
|
|
1203
1183
|
}[];
|
|
1204
1184
|
};
|
|
@@ -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.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.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.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';
|
|
@@ -21,6 +21,13 @@ export declare class KgUtil {
|
|
|
21
21
|
* @return UUID.
|
|
22
22
|
*/
|
|
23
23
|
static uuid: typeof KgCoreUtil.uuid;
|
|
24
|
+
/**
|
|
25
|
+
* 判断元素是否不能响应点击事件.
|
|
26
|
+
* 如果不想让某个元素响应点击事件, 则可以给它的父元素加上 kg-not-clickable 样式类.
|
|
27
|
+
* @param el 元素.
|
|
28
|
+
* @param classes 除了 kg-not-clickable 之外额外需要判断的样式类.
|
|
29
|
+
*/
|
|
30
|
+
static isNotClickable: typeof KgCoreUtil.isNotClickable;
|
|
24
31
|
/**
|
|
25
32
|
* 下载文件.
|
|
26
33
|
* @param data 文件数据.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kengic/vue",
|
|
3
|
-
"version": "0.32.21
|
|
3
|
+
"version": "0.32.21",
|
|
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": "0.0.
|
|
62
|
+
"@kengic/core.core": "0.0.7",
|
|
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",
|