@kengic/vue 0.32.23 → 0.32.25

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.
Files changed (111) hide show
  1. package/bin/postinstall.mjs +1 -1
  2. package/dist/kengic-vue.js +16850 -17437
  3. package/dist/lock-outlined.f4b57119.mjs +8 -0
  4. package/dist/src/api/{WMS → DDA}/Controllers/SqlClientController/Execute.d.ts +1 -1
  5. package/dist/src/api/{WMS → DDA}/Controllers/SqlClientController/ExecutePage.d.ts +1 -1
  6. package/dist/src/api/{WMS → DDA}/Controllers/SysPermissionController/List.d.ts +1 -1
  7. package/dist/src/api/{WMS → DDA}/Controllers/VarConfigDescriptionController/Add.d.ts +1 -1
  8. package/dist/src/api/{WMS → DDA}/Controllers/VarConfigDescriptionController/ListByFormId.d.ts +1 -1
  9. package/dist/src/api/{WMS → DDA}/Controllers/VarConfigDescriptionController/UpdateText.d.ts +1 -1
  10. package/dist/src/api/{WMS → DDA}/Controllers/VarController/GetAll.d.ts +1 -1
  11. package/dist/src/api/{WMS → DDA}/Controllers/VarDdaController/Create.d.ts +1 -1
  12. package/dist/src/api/{WMS → DDA}/Controllers/VarDdaController/GetResultSetMetadataFromSql.d.ts +1 -1
  13. package/dist/src/api/{WMS → DDA}/Controllers/VarDdaController/ValidateCopySql.d.ts +1 -1
  14. package/dist/src/api/{WMS → DDA}/Controllers/VarDdaController/ValidateCreateSql.d.ts +1 -1
  15. package/dist/src/api/{WMS → DDA}/Controllers/VarDdaController/ValidateDeleteSql.d.ts +1 -1
  16. package/dist/src/api/{WMS → DDA}/Controllers/VarDdaController/ValidateFrmId.d.ts +1 -1
  17. package/dist/src/api/{WMS → DDA}/Controllers/VarDdaController/ValidateSearchSql.d.ts +1 -1
  18. package/dist/src/api/{WMS → DDA}/Controllers/VarDdaController/ValidateUpdateSql.d.ts +1 -1
  19. package/dist/src/api/{WMS → DDA}/Controllers/VarDdaController/ValidateVarButtonVarName.d.ts +1 -1
  20. package/dist/src/api/{WMS → DDA}/Controllers/VarGridMasterController/QueryByID.d.ts +1 -1
  21. package/dist/src/api/{WMS → DDA}/Controllers/VarGridMasterController/Update.d.ts +1 -1
  22. package/dist/src/api/{WMS → DDA}/Controllers/VarProfileMasterController/QueryByID.d.ts +1 -1
  23. package/dist/src/api/{WMS → DDA}/Controllers/VarVariableController/Delete.d.ts +1 -1
  24. package/dist/src/api/DDA/Controllers/index.d.ts +9 -0
  25. package/dist/src/api/DDA/index.d.ts +2 -0
  26. package/dist/src/api/DDA/models.d.ts +966 -0
  27. package/dist/src/api/WMS/Controllers/index.d.ts +0 -9
  28. package/dist/src/api/WMS/models.d.ts +6 -948
  29. package/dist/src/api/api.d.ts +1 -0
  30. package/dist/src/api/def.d.ts +1 -0
  31. package/dist/src/component/KgAppSelect/KgAppSelect.event.d.ts +1 -1
  32. package/dist/src/component/KgAppSelect/KgAppSelect.hooks.d.ts +1 -1
  33. package/dist/src/component/KgAppSelect/KgAppSelect.store.d.ts +1 -1
  34. package/dist/src/component/KgButton/KgButton.Copy.d.ts +2 -2
  35. package/dist/src/component/KgButton/KgButton.Create.d.ts +2 -2
  36. package/dist/src/component/KgButton/KgButton.Delete.d.ts +2 -2
  37. package/dist/src/component/KgButton/KgButton.Export.d.ts +2 -2
  38. package/dist/src/component/KgButton/KgButton.Import.d.ts +2 -2
  39. package/dist/src/component/KgButton/KgButton.ImportTemplate.d.ts +2 -2
  40. package/dist/src/component/KgButton/KgButton.Item.d.ts +2 -2
  41. package/dist/src/component/KgButton/KgButton.Other.d.ts +2 -2
  42. package/dist/src/component/KgButton/KgButton.Search.d.ts +2 -2
  43. package/dist/src/component/KgButton/KgButton.Update.d.ts +2 -2
  44. package/dist/src/component/KgButton/KgButton.d.ts +1 -1
  45. package/dist/src/component/KgButton/KgButton.event.d.ts +2 -2
  46. package/dist/src/component/KgButton/KgButton.hooks.d.ts +1 -1
  47. package/dist/src/component/KgButton/KgButton.model.d.ts +1 -1
  48. package/dist/src/component/KgButton/KgButton.store.d.ts +3 -2
  49. package/dist/src/component/KgCanvas/KgCanvas.event.d.ts +1 -1
  50. package/dist/src/component/KgCanvas/KgCanvas.hooks.d.ts +1 -1
  51. package/dist/src/component/KgCanvas/KgCanvas.store.d.ts +1 -1
  52. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.store.d.ts +1 -1
  53. package/dist/src/component/KgForm/KgForm.event.d.ts +1 -1
  54. package/dist/src/component/KgForm/KgForm.hooks.d.ts +1 -1
  55. package/dist/src/component/KgForm/KgForm.store.d.ts +1 -1
  56. package/dist/src/component/KgForm.Item/KgForm.Item.Select.service.d.ts +1 -1
  57. package/dist/src/component/KgForm.Item/KgForm.Item.model.d.ts +1 -1
  58. package/dist/src/component/KgSearch/KgSearch.event.d.ts +1 -1
  59. package/dist/src/component/KgSearch/KgSearch.hooks.d.ts +2 -2
  60. package/dist/src/component/KgSearch/KgSearch.store.d.ts +2 -2
  61. package/dist/src/component/KgSimulator/KgSimulator.event.d.ts +1 -1
  62. package/dist/src/component/KgSimulator/KgSimulator.hooks.d.ts +2 -2
  63. package/dist/src/component/KgSimulator/KgSimulator.store.d.ts +1 -1
  64. package/dist/src/component/KgSubmit/KgSubmit.event.d.ts +1 -1
  65. package/dist/src/component/KgSubmit/KgSubmit.hooks.d.ts +2 -2
  66. package/dist/src/component/KgSubmit/KgSubmit.store.d.ts +2 -2
  67. package/dist/src/component/KgTable/KgTable.Setting.service.d.ts +1 -1
  68. package/dist/src/component/KgTable/KgTable.event.d.ts +2 -2
  69. package/dist/src/component/KgTable/KgTable.hooks.d.ts +1 -1
  70. package/dist/src/component/KgTable/KgTable.model.d.ts +1 -1
  71. package/dist/src/component/KgTable/KgTable.store.d.ts +1 -1
  72. package/dist/src/component/KgTable02/KgTable02.event.d.ts +2 -2
  73. package/dist/src/component/KgTable02/KgTable02.hooks.d.ts +1 -1
  74. package/dist/src/component/KgTable02/KgTable02.store.d.ts +1 -1
  75. package/dist/src/component/KgVar/KgVar.event.d.ts +1 -1
  76. package/dist/src/component/KgVar/KgVar.hooks.d.ts +2 -2
  77. package/dist/src/component/KgVar/KgVar.store.d.ts +5 -4
  78. package/dist/src/component/KgVarConfig/KgVarConfig$Modal$Search$VarProfileMaster.service.d.ts +1 -1
  79. package/dist/src/component/KgVarConfig/KgVarConfig$Modal$Table$VarGridMaster.service.d.ts +5 -5
  80. package/dist/src/component/KgVarConfig/KgVarConfig.store.d.ts +1 -1
  81. package/dist/src/component/KgWarehouse/KgWarehouse.event.d.ts +1 -1
  82. package/dist/src/component/KgWarehouse/KgWarehouse.hooks.d.ts +1 -1
  83. package/dist/src/component/KgWarehouse/KgWarehouse.store.d.ts +1 -1
  84. package/dist/src/component/KgWorkStation/KgWorkStation.event.d.ts +1 -1
  85. package/dist/src/component/KgWorkStation/KgWorkStation.hooks.d.ts +1 -1
  86. package/dist/src/component/KgWorkStation/KgWorkStation.store.d.ts +1 -1
  87. package/dist/src/config/config.event.d.ts +1 -1
  88. package/dist/src/config/config.hooks.d.ts +1 -1
  89. package/dist/src/config/config.store.d.ts +4 -2
  90. package/dist/src/config/index.d.ts +1 -1
  91. package/dist/src/i18n/i18n.setup.d.ts +9 -9
  92. package/dist/src/model/index.d.ts +95 -78
  93. package/dist/src/page/KgPageDda/KgPageDda.Create.store.d.ts +2 -2
  94. package/dist/src/page/KgPageSqlClient/components/KgSqlClient.ResultTab.d.ts +1 -1
  95. package/dist/src/project/src/locales/useLocale.d.ts +1 -1
  96. package/dist/src/project/src/utils/cache/persistent.d.ts +1 -1
  97. package/dist/src/project/types/config.d.ts +1 -1
  98. package/dist/src/project/types/store.d.ts +1 -0
  99. package/dist/src/util/kg.util.d.ts +1 -1
  100. package/dist/unlock-outlined.4a5a5448.mjs +8 -0
  101. package/package.json +7 -3
  102. /package/dist/src/api/{WMS → DDA}/Controllers/SqlClientController/index.d.ts +0 -0
  103. /package/dist/src/api/{WMS → DDA}/Controllers/SysPermissionController/index.d.ts +0 -0
  104. /package/dist/src/api/{WMS → DDA}/Controllers/VarConfigDescriptionController/index.d.ts +0 -0
  105. /package/dist/src/api/{WMS → DDA}/Controllers/VarConfigPossibilityController/ExecuteQuery.d.ts +0 -0
  106. /package/dist/src/api/{WMS → DDA}/Controllers/VarConfigPossibilityController/index.d.ts +0 -0
  107. /package/dist/src/api/{WMS → DDA}/Controllers/VarController/index.d.ts +0 -0
  108. /package/dist/src/api/{WMS → DDA}/Controllers/VarDdaController/index.d.ts +0 -0
  109. /package/dist/src/api/{WMS → DDA}/Controllers/VarGridMasterController/index.d.ts +0 -0
  110. /package/dist/src/api/{WMS → DDA}/Controllers/VarProfileMasterController/index.d.ts +0 -0
  111. /package/dist/src/api/{WMS → DDA}/Controllers/VarVariableController/index.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import { IKgRemoveEventListener } from '@kengic/core.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,5 +1,5 @@
1
1
  import { WorkstationAreaDTO, WorkstationDTO } from '../../api/WMS/models';
2
- import { IKgStoreDefinition } from '../../model';
2
+ import { type IKgStoreDefinition } from '@kengic/core';
3
3
  export interface IUseKgWorkStationStoreGetters {
4
4
  /**
5
5
  * 当前工作区.
@@ -1,4 +1,4 @@
1
- import { IKgEventListener } from '@kengic/core.core';
1
+ import { IKgEventListener } from '@kengic/core';
2
2
  import { IHttpClient, IRequestConfig, IRequestOption } from '../service';
3
3
  /**
4
4
  * 事件类型.
@@ -1,4 +1,4 @@
1
- import { IKgLocale, IKgRemoveEventListener } from '@kengic/core.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';
@@ -1,7 +1,9 @@
1
+ import { type IKgStoreDefinition } from '@kengic/core';
1
2
  import { StoreDefinition } from 'pinia';
2
3
  import { Router } from 'vue-router';
3
- import { DescriptionDTO, SysUserWarehouseDTO } from '../api/WMS/models';
4
- import { IKgStoreDefinition, KG_APP } from '../model';
4
+ import { SysUserWarehouseDTO } from '../api/DDA/models';
5
+ import { DescriptionDTO } from '../api/WMS/models';
6
+ import { KG_APP } from '../model';
5
7
  import { ErrorMessageMode, GetUserInfoModel, LoginParams, RoleEnum } from '../project';
6
8
  import { Menu } from '../project/src/router/types';
7
9
  import { LoginInfo, UserInfo } from '../project/types/store';
@@ -1,4 +1,4 @@
1
- import { IKgLocale } from '@kengic/core.core';
1
+ import { IKgLocale } from '@kengic/core';
2
2
  import { StoreDefinition } from 'pinia';
3
3
  import { App } from 'vue';
4
4
  import { Router } from 'vue-router';
@@ -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.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;
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;
@@ -1,8 +1,7 @@
1
1
  import { FormInstance, type TooltipProps } from 'ant-design-vue';
2
2
  import { ModalFuncProps } from 'ant-design-vue/lib/modal/Modal';
3
- import { Pinia, StoreOnActionListener } from 'pinia';
4
3
  import { ComputedRef, InjectionKey, Ref } from 'vue';
5
- import { IKgProps, IKgSlots, IKgModalProps } from '../component';
4
+ import { IKgModalProps, IKgProps, IKgSlots } from '../component';
6
5
  /**
7
6
  * 常量.
8
7
  * TODO LT 将所有常量都统一放到这个常量中
@@ -73,12 +72,12 @@ declare const KG: {
73
72
  id: {
74
73
  type: import("vue").PropType<string>;
75
74
  default: string;
76
- }; /** @deprecated 已废弃, 请使用 KG.DESCRIPTION_KEY__KG */
75
+ };
77
76
  kg$ContextMenu$Reload$IsAvailable: {
78
- type: import("vue").PropType<boolean>;
79
- default: boolean; /**
80
- * 依赖注入.
77
+ type: import("vue").PropType<boolean>; /**
78
+ * 唯一标识.
81
79
  */
80
+ default: boolean;
82
81
  };
83
82
  kg$KgCanvasToolbarButtonMode$IsAvailable: {
84
83
  type: import("vue").PropType<boolean>;
@@ -102,12 +101,12 @@ declare const KG: {
102
101
  };
103
102
  kgIsGridBackground: {
104
103
  type: import("vue").PropType<boolean>;
105
- default: boolean;
104
+ default: boolean; /**
105
+ * 表单控件.
106
+ */
106
107
  };
107
108
  kgIsResizable: {
108
- type: import("vue").PropType<boolean>; /**
109
- * 变量名称.
110
- */
109
+ type: import("vue").PropType<boolean>;
111
110
  default: boolean;
112
111
  };
113
112
  }>>>;
@@ -439,6 +438,10 @@ declare const KG: {
439
438
  * 变量配置弹窗--所属环境--从表格中, 点击视图配置菜单打开, 只显示表格配置.
440
439
  */
441
440
  KG_VAR_CONFIG__ENV__TABLE: string;
441
+ /**
442
+ * 动态参数--当前用户租户主键.
443
+ */
444
+ KG__DYNAMIC_PARAM__TENANT: "{TENANT}";
442
445
  NULL: string;
443
446
  VAR_CONFIG_CONTROL: {
444
447
  /**
@@ -530,40 +533,38 @@ declare const KG: {
530
533
  DESCRIPTION_KEY__WEB: string;
531
534
  DYNAMIC_QUERY_OPERATOR__BETWEEN: string;
532
535
  DYNAMIC_QUERY_OPERATOR__CONTAIN: string;
533
- DYNAMIC_QUERY_OPERATOR__EMPTY: string; /** @deprecated 已废弃, 请使用 {@link KG.DB_TYPE__SQLSERVER} */
536
+ DYNAMIC_QUERY_OPERATOR__EMPTY: string;
534
537
  DYNAMIC_QUERY_OPERATOR__END_WITH: string;
535
538
  DYNAMIC_QUERY_OPERATOR__EQ: string;
536
539
  DYNAMIC_QUERY_OPERATOR__GT: string;
537
540
  DYNAMIC_QUERY_OPERATOR__GTE: string;
538
- DYNAMIC_QUERY_OPERATOR__IN: string;
541
+ DYNAMIC_QUERY_OPERATOR__IN: string; /** @deprecated 已废弃, 请使用 KG.DESCRIPTION_KEY__KG */
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; /** @deprecated 已废弃, 请使用 KG.DESCRIPTION_KEY__KG */
546
+ DYNAMIC_QUERY_OPERATOR__START_WITH: string;
546
547
  HTTP_HEADER__KG_BUTTON_VAR_NAME: string;
547
548
  HTTP_HEADER__KG_BUTTON_VNAME: string;
549
+ /**
550
+ * 表单.
551
+ */
548
552
  HTTP_HEADER__KG_DB_TYPE: string;
549
553
  HTTP_HEADER__KG_FID: string;
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
- HTTP_HEADER__KG_QUERY_SQL: string;
561
+ HTTP_HEADER__KG_QUERY_SQL: string; /**
562
+ * 模拟器.
563
+ */
561
564
  HTTP_HEADER__KG_QUERY_VALUE_RECORD: string;
562
565
  HTTP_HEADER__KG_QUERY_WHERE_SQL: string;
563
566
  HTTP_HEADER__KG_QUERY_WHERE_SQL_01: string;
564
- HTTP_HEADER__KG_QUERY_WHERE_SQL_02: string; /**
565
- * 左下侧面板.
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;
@@ -573,25 +574,32 @@ declare const KG: {
573
574
  HTTP_HEADER__KG_QUERY_WHERE_SQL_09: string;
574
575
  HTTP_HEADER__KG_QUERY_WHERE_SQL_10: string;
575
576
  HTTP_HEADER__KG_QUERY_WHERE_SQL_SEGMENT_RECORD: string;
576
- HTTP_HEADER__KG_WAREHOUSE: string;
577
+ HTTP_HEADER__KG_TENANT_ID: string;
578
+ HTTP_HEADER__KG_WAREHOUSE: string; /**
579
+ * 右上侧工具栏.
580
+ */
577
581
  HTTP_HEADER__KG_WORK_AREA: string;
578
582
  HTTP_HEADER__KG_WORK_STATION: string;
579
583
  LOCALE: {
580
- CS_CZ: import("@kengic/core.core/src/model").IKgLocale; /**
581
- * 右下侧工具栏.
584
+ CS_CZ: import("@kengic/core/src/model").IKgLocale; /**
585
+ * 变量页面.
586
+ */
587
+ EN: import("@kengic/core/src/model").IKgLocale;
588
+ ES_ES: import("@kengic/core/src/model").IKgLocale;
589
+ FR_FR: import("@kengic/core/src/model").IKgLocale;
590
+ KM_KH: import("@kengic/core/src/model").IKgLocale;
591
+ KO_KR: import("@kengic/core/src/model").IKgLocale; /**
592
+ * 注入 kgSlots 参数.
582
593
  */
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;
594
+ TH_TH: import("@kengic/core/src/model").IKgLocale;
595
+ VI_VN: import("@kengic/core/src/model").IKgLocale;
596
+ ZH_CN: import("@kengic/core/src/model").IKgLocale;
591
597
  };
592
598
  LOCALE_DATA_LIST: {
593
599
  text: string;
594
- code: string;
600
+ code: string; /**
601
+ * 宿主界面标识.
602
+ */
595
603
  }[];
596
604
  };
597
605
  /** @deprecated 已弃用, 请使用 {@link KG}. */
@@ -661,12 +669,12 @@ declare const KG_CONST: {
661
669
  id: {
662
670
  type: import("vue").PropType<string>;
663
671
  default: string;
664
- }; /** @deprecated 已废弃, 请使用 KG.DESCRIPTION_KEY__KG */
672
+ };
665
673
  kg$ContextMenu$Reload$IsAvailable: {
666
- type: import("vue").PropType<boolean>;
667
- default: boolean; /**
668
- * 依赖注入.
674
+ type: import("vue").PropType<boolean>; /**
675
+ * 唯一标识.
669
676
  */
677
+ default: boolean;
670
678
  };
671
679
  kg$KgCanvasToolbarButtonMode$IsAvailable: {
672
680
  type: import("vue").PropType<boolean>;
@@ -690,12 +698,12 @@ declare const KG_CONST: {
690
698
  };
691
699
  kgIsGridBackground: {
692
700
  type: import("vue").PropType<boolean>;
693
- default: boolean;
701
+ default: boolean; /**
702
+ * 表单控件.
703
+ */
694
704
  };
695
705
  kgIsResizable: {
696
- type: import("vue").PropType<boolean>; /**
697
- * 变量名称.
698
- */
706
+ type: import("vue").PropType<boolean>;
699
707
  default: boolean;
700
708
  };
701
709
  }>>>;
@@ -1027,6 +1035,10 @@ declare const KG_CONST: {
1027
1035
  * 变量配置弹窗--所属环境--从表格中, 点击视图配置菜单打开, 只显示表格配置.
1028
1036
  */
1029
1037
  KG_VAR_CONFIG__ENV__TABLE: string;
1038
+ /**
1039
+ * 动态参数--当前用户租户主键.
1040
+ */
1041
+ KG__DYNAMIC_PARAM__TENANT: "{TENANT}";
1030
1042
  NULL: string;
1031
1043
  VAR_CONFIG_CONTROL: {
1032
1044
  /**
@@ -1118,40 +1130,38 @@ declare const KG_CONST: {
1118
1130
  DESCRIPTION_KEY__WEB: string;
1119
1131
  DYNAMIC_QUERY_OPERATOR__BETWEEN: string;
1120
1132
  DYNAMIC_QUERY_OPERATOR__CONTAIN: string;
1121
- DYNAMIC_QUERY_OPERATOR__EMPTY: string; /** @deprecated 已废弃, 请使用 {@link KG.DB_TYPE__SQLSERVER} */
1133
+ DYNAMIC_QUERY_OPERATOR__EMPTY: string;
1122
1134
  DYNAMIC_QUERY_OPERATOR__END_WITH: string;
1123
1135
  DYNAMIC_QUERY_OPERATOR__EQ: string;
1124
1136
  DYNAMIC_QUERY_OPERATOR__GT: string;
1125
1137
  DYNAMIC_QUERY_OPERATOR__GTE: string;
1126
- DYNAMIC_QUERY_OPERATOR__IN: string;
1138
+ DYNAMIC_QUERY_OPERATOR__IN: string; /** @deprecated 已废弃, 请使用 KG.DESCRIPTION_KEY__KG */
1127
1139
  DYNAMIC_QUERY_OPERATOR__LT: string;
1128
1140
  DYNAMIC_QUERY_OPERATOR__LTE: string;
1129
- DYNAMIC_QUERY_OPERATOR__NE: string; /**
1130
- * 数据库的类型--SQLSERVER.
1131
- */
1141
+ DYNAMIC_QUERY_OPERATOR__NE: string;
1132
1142
  DYNAMIC_QUERY_OPERATOR__NOT_EMPTY: string;
1133
- DYNAMIC_QUERY_OPERATOR__START_WITH: string; /** @deprecated 已废弃, 请使用 KG.DESCRIPTION_KEY__KG */
1143
+ DYNAMIC_QUERY_OPERATOR__START_WITH: string;
1134
1144
  HTTP_HEADER__KG_BUTTON_VAR_NAME: string;
1135
1145
  HTTP_HEADER__KG_BUTTON_VNAME: string;
1146
+ /**
1147
+ * 表单.
1148
+ */
1136
1149
  HTTP_HEADER__KG_DB_TYPE: string;
1137
1150
  HTTP_HEADER__KG_FID: string;
1138
1151
  HTTP_HEADER__KG_FORM_ID: string;
1139
1152
  HTTP_HEADER__KG_IS_DYNAMIC_QUERY: string;
1140
1153
  HTTP_HEADER__KG_PAGE_INDEX: string;
1141
- HTTP_HEADER__KG_PAGE_SIZE: string; /**
1142
- * <p>依赖注入表单数据对象.</p>
1143
- * <p>在表单组件(KgForm)的任何下级组件中, 都可以通过注入获取表单数据对象.</p>
1144
- */
1154
+ HTTP_HEADER__KG_PAGE_SIZE: string;
1145
1155
  HTTP_HEADER__KG_QUERY_OFFSET_SQL: string;
1146
1156
  HTTP_HEADER__KG_QUERY_OPERATOR_RECORD: string;
1147
1157
  HTTP_HEADER__KG_QUERY_ORDER_BY_SQL: string;
1148
- HTTP_HEADER__KG_QUERY_SQL: string;
1158
+ HTTP_HEADER__KG_QUERY_SQL: string; /**
1159
+ * 模拟器.
1160
+ */
1149
1161
  HTTP_HEADER__KG_QUERY_VALUE_RECORD: string;
1150
1162
  HTTP_HEADER__KG_QUERY_WHERE_SQL: string;
1151
1163
  HTTP_HEADER__KG_QUERY_WHERE_SQL_01: string;
1152
- HTTP_HEADER__KG_QUERY_WHERE_SQL_02: string; /**
1153
- * 左下侧面板.
1154
- */
1164
+ HTTP_HEADER__KG_QUERY_WHERE_SQL_02: string;
1155
1165
  HTTP_HEADER__KG_QUERY_WHERE_SQL_03: string;
1156
1166
  HTTP_HEADER__KG_QUERY_WHERE_SQL_04: string;
1157
1167
  HTTP_HEADER__KG_QUERY_WHERE_SQL_05: string;
@@ -1161,25 +1171,32 @@ declare const KG_CONST: {
1161
1171
  HTTP_HEADER__KG_QUERY_WHERE_SQL_09: string;
1162
1172
  HTTP_HEADER__KG_QUERY_WHERE_SQL_10: string;
1163
1173
  HTTP_HEADER__KG_QUERY_WHERE_SQL_SEGMENT_RECORD: string;
1164
- HTTP_HEADER__KG_WAREHOUSE: string;
1174
+ HTTP_HEADER__KG_TENANT_ID: string;
1175
+ HTTP_HEADER__KG_WAREHOUSE: string; /**
1176
+ * 右上侧工具栏.
1177
+ */
1165
1178
  HTTP_HEADER__KG_WORK_AREA: string;
1166
1179
  HTTP_HEADER__KG_WORK_STATION: string;
1167
1180
  LOCALE: {
1168
- CS_CZ: import("@kengic/core.core/src/model").IKgLocale; /**
1169
- * 右下侧工具栏.
1181
+ CS_CZ: import("@kengic/core/src/model").IKgLocale; /**
1182
+ * 变量页面.
1170
1183
  */
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;
1184
+ EN: import("@kengic/core/src/model").IKgLocale;
1185
+ ES_ES: import("@kengic/core/src/model").IKgLocale;
1186
+ FR_FR: import("@kengic/core/src/model").IKgLocale;
1187
+ KM_KH: import("@kengic/core/src/model").IKgLocale;
1188
+ KO_KR: import("@kengic/core/src/model").IKgLocale; /**
1189
+ * 注入 kgSlots 参数.
1190
+ */
1191
+ TH_TH: import("@kengic/core/src/model").IKgLocale;
1192
+ VI_VN: import("@kengic/core/src/model").IKgLocale;
1193
+ ZH_CN: import("@kengic/core/src/model").IKgLocale;
1179
1194
  };
1180
1195
  LOCALE_DATA_LIST: {
1181
1196
  text: string;
1182
- code: string;
1197
+ code: string; /**
1198
+ * 宿主界面标识.
1199
+ */
1183
1200
  }[];
1184
1201
  };
1185
1202
  /**
@@ -1593,6 +1610,10 @@ declare const KG__DYNAMIC_PARAM_HASH: {
1593
1610
  * 当前勾选行对应的属性.
1594
1611
  */
1595
1612
  ROW: string;
1613
+ /**
1614
+ * 当前用户租户主键.
1615
+ */
1616
+ TENANT: string;
1596
1617
  /**
1597
1618
  * 当前用户.
1598
1619
  */
@@ -1816,10 +1837,12 @@ interface IKgVarButtonProperties {
1816
1837
  * <p>如果是「更新按钮」, 则默认为 false, 即更新成功之后默认查询当前页的数据.</p>
1817
1838
  */
1818
1839
  $AfterOk$isRequestFirstPage?: boolean;
1840
+ /** @deprecated 已废弃, 请使用 {@link isIncludeHistory} */
1841
+ IsIncludeHistory?: boolean;
1819
1842
  /**
1820
1843
  * 是否包含历史数据, 默认为 false.
1821
1844
  */
1822
- IsIncludeHistory?: boolean;
1845
+ isIncludeHistory?: boolean;
1823
1846
  /**
1824
1847
  * 是否显示, 默认为 true.
1825
1848
  */
@@ -2217,12 +2240,6 @@ interface IKgVarGridDetailDisplayTypeProperties {
2217
2240
  yValue?: any;
2218
2241
  };
2219
2242
  }
2220
- /**
2221
- * 状态管理类型定义.
2222
- */
2223
- declare type IKgStoreDefinition<GETTERS, ACTIONS> = (pinia?: Pinia | null | undefined) => GETTERS & ACTIONS & {
2224
- $onAction(callback: StoreOnActionListener<any, any, any, any>, detached?: boolean): () => void;
2225
- };
2226
2243
  /** @deprecated 已废弃, 请使用 {@link KG} */
2227
2244
  declare const KG_COMMON_CONST: {
2228
2245
  /** @deprecated 已废弃, 请使用 {@link KG.__KG__CREATE_ROW_ID__} */
@@ -2261,4 +2278,4 @@ declare const FORM_IDS: {
2261
2278
  /** @deprecated 已废弃, 请使用 {@link KG.FORM_ID__KG_VAR_CONFIG__MODAL__TABLE__VAR_GRID_CONFIG} */
2262
2279
  KG_VAR_CONFIG__MODAL__TABLE__VAR_GRID_CONFIG: string;
2263
2280
  };
2264
- 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, };
2281
+ 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, KG_CONST, KG_DYNAMIC_QUERY_OPERATOR, KG_COMMON_CONST, KG_TABLE_TEMP_ID, FORM_IDS, };
@@ -1,5 +1,5 @@
1
- import { CreateVarDdaQuery, ResultSetMetadataColumn, SysPermission, VarButton, VarGridDetail, VarProfileDetail, VarSubmitDetail } from '../../api/WMS/models';
2
- import { IKgStoreDefinition } from '../../model';
1
+ import { type IKgStoreDefinition } from '@kengic/core';
2
+ import { CreateVarDdaQuery, ResultSetMetadataColumn, SysPermission, VarButton, VarGridDetail, VarProfileDetail, VarSubmitDetail } from '../../api/DDA/models';
3
3
  export interface IKgPageDdaCreateStoreGetters {
4
4
  createVarDdaQuery: CreateVarDdaQuery;
5
5
  fid: string | null | undefined;
@@ -1,6 +1,6 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
2
  import './KgSqlClient.css';
3
- import { ExecuteResultDTO } from '../../../api/WMS/models';
3
+ import { ExecuteResultDTO } from '../../../api/DDA/models';
4
4
  declare const getProps: () => {
5
5
  /**
6
6
  * 执行结果.
@@ -2,7 +2,7 @@
2
2
  *
3
3
  * Multi-language related operations
4
4
  */
5
- import { IKgLocale } from '@kengic/core.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,5 +1,5 @@
1
1
  import type { RouteLocationNormalized } from 'vue-router';
2
- import { SysUserWarehouseDTO } from '../../../../api/WMS/models';
2
+ import { SysUserWarehouseDTO } from '../../../../api/DDA/models';
3
3
  import { LoginInfo, ProjectConfig, UserInfo } from '../../../types';
4
4
  import { DB_DICT_DATA_KEY, LOCK_INFO_KEY, LOGIN_INFO_KEY, MULTIPLE_TABS_KEY, PROJ_CFG_KEY, ROLES_KEY, TENANT_ID, TOKEN_KEY, USER_INFO_KEY, USER_WAREHOUSE_KEY } from '../../enums';
5
5
  interface BasicStore {
@@ -1,4 +1,4 @@
1
- import { IKgLocale } from '@kengic/core.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';
@@ -25,6 +25,7 @@ export interface UserInfo {
25
25
  homePath?: string;
26
26
  phone?: string;
27
27
  tenantid?: string | number;
28
+ relTenantIds?: string;
28
29
  roles: RoleInfo[];
29
30
  orgCode?: string;
30
31
  }
@@ -1,4 +1,4 @@
1
- import { ____DEBUG____, ____ERROR____, ____INFO_____, ____WARN_____, IKgEventListener, IKgRemoveEventListener, KgCoreUtil } from '@kengic/core.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';
@@ -0,0 +1,8 @@
1
+ const c = {
2
+ width: 1024,
3
+ height: 1024,
4
+ body: '<path fill="currentColor" d="M832 464H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v68c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-68c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zm-40 376H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 1 0-56 0z"/>'
5
+ };
6
+ export {
7
+ c as default
8
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.32.23",
3
+ "version": "0.32.25",
4
4
  "packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
5
5
  "engines": {
6
6
  "node": "24.14.1",
@@ -10,7 +10,10 @@
10
10
  "build": "npm run use-node && rimraf dist && vue-tsc && vite build",
11
11
  "build--development": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
12
12
  "--------------------------------------------------": "",
13
+ "gen-apis--DDA": "npm run use-node && kengic-pont generate-apis --config kg.config.ts --origin DDA",
13
14
  "gen-apis--WMS": "npm run use-node && kengic-pont generate-apis --config kg.config.ts --origin WMS",
15
+ "gen-apis--WCS": "npm run use-node && kengic-pont generate-apis --config kg.config.ts --origin WCS",
16
+ "gen-apis--SCADA": "npm run use-node && kengic-pont generate-apis --config kg.config.ts --origin SCADA",
14
17
  "- ------------------------------------------------": "",
15
18
  "use-node": "npm cache clean -f && nvm use 24.14.1 && corepack enable && corepack use pnpm@10.33.0",
16
19
  "cnpm--sync": "npm run use-node && npx cnpm --yes sync @kengic/vue",
@@ -21,6 +24,7 @@
21
24
  "bump-to--luotao--smartfactory.product.wms.wms--dev-3.2": "npm run use-node && tsx script/bump-to--luotao.smartfactory.product.wms.wms--dev-3.2.ts",
22
25
  "bump-to--luotao--smartfactory.product.wms.wms--project-kengic-factory": "npm run use-node && tsx script/bump-to--luotao--smartfactory.product.wms.wms--project-kengic-factory.ts",
23
26
  "copy-to--luotao--smartfactory.product.wms.wms--dev-3.2": "npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--dev-3.2.ts",
27
+ "copy-to--luotao--smartfactory.product.wms.wms--dev-3.3": "npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--dev-3.3.ts",
24
28
  "copy-to--luotao--smartfactory.product.wms.wms--hiway": "npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--hiway.ts",
25
29
  "copy-to--luotao--smartfactory.product.wms.wms--project-zonsen-ducar": "npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--project-zonsen-ducar.ts",
26
30
  "copy-to--luotao--smartfactory.product.wms.wms--project-kengic-factory": "npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--project-kengic-factory.ts",
@@ -59,8 +63,8 @@
59
63
  "@iconify-icons/mdi": "1.2.48",
60
64
  "@iconify-icons/ph": "1.2.5",
61
65
  "@iconify/vue": "4.1.2",
62
- "@kengic/core.core": "0.0.7",
63
- "@kengic/pont": "2.1.2",
66
+ "@kengic/core": "0.0.9",
67
+ "@kengic/pont": "2.1.3",
64
68
  "@rys-fe/vite-plugin-theme": "0.8.6",
65
69
  "@thymine/xunee": "0.4.9-beta.47",
66
70
  "@types/crypto-js": "4.1.1",