@kengic/vue 0.23.1 → 0.23.3-beta.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. package/CHANGELOG.md +0 -2
  2. package/dist/index.css +1 -1
  3. package/dist/kengic-vue.js +7559 -7122
  4. package/dist/setting-outlined.7f72790b.mjs +8 -0
  5. package/dist/src/apis/WMS/Controllers/DescriptionController/List.d.ts +2 -0
  6. package/dist/src/apis/WMS/Controllers/WhController/ListVO.d.ts +2 -0
  7. package/dist/src/apis/WMS/models.d.ts +9 -9
  8. package/dist/src/components/KgButton/KgButton.Item.d.ts +15 -15
  9. package/dist/src/components/KgButton/KgButton.Item.data.d.ts +15 -15
  10. package/dist/src/components/KgButton/components/KgButton.Copy.d.ts +14 -14
  11. package/dist/src/components/KgButton/components/KgButton.Create.d.ts +14 -14
  12. package/dist/src/components/KgButton/components/KgButton.Delete.d.ts +15 -15
  13. package/dist/src/components/KgButton/components/KgButton.Export.d.ts +14 -14
  14. package/dist/src/components/KgButton/components/KgButton.ExportTemplate.d.ts +14 -14
  15. package/dist/src/components/KgButton/components/KgButton.Import.d.ts +14 -14
  16. package/dist/src/components/KgButton/components/KgButton.Other.d.ts +15 -15
  17. package/dist/src/components/KgButton/components/KgButton.Search.d.ts +15 -15
  18. package/dist/src/components/KgButton/components/KgButton.Update.d.ts +14 -14
  19. package/dist/src/components/KgForm/KgForm.d.ts +3 -3
  20. package/dist/src/components/KgForm/index.d.ts +4 -4
  21. package/dist/src/components/KgModal/KgModal.d.ts +105 -21
  22. package/dist/src/components/KgModal/KgModal.service.d.ts +1 -1
  23. package/dist/src/components/KgModal/components/KgModal.HeaderButtons.d.ts +18 -0
  24. package/dist/src/components/KgResizable/KgResizable.d.ts +4 -4
  25. package/dist/src/components/KgSearch/index.hooks.d.ts +1 -7
  26. package/dist/src/components/KgSearch/index.store.d.ts +3 -3
  27. package/dist/src/components/KgSubmit/index.hooks.d.ts +4 -4
  28. package/dist/src/components/KgSubmit/index.store.d.ts +9 -2
  29. package/dist/src/components/KgVar/index.hooks.d.ts +7 -1
  30. package/dist/src/components/KgVar/index.store.d.ts +5 -1
  31. package/dist/src/components/KgVarConfig/components/KgVarConfig.Modal.d.ts +1 -1
  32. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +6 -23
  33. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +0 -16
  34. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +4 -21
  35. package/dist/src/components/KgVarConfig/index.d.ts +1 -0
  36. package/dist/src/components/KgVarConfig/index.hooks.d.ts +17 -0
  37. package/dist/src/components/KgVarConfig/index.store.d.ts +11 -5
  38. package/dist/src/components/KgVarConfig/index.vm.d.ts +8 -0
  39. package/dist/src/consts/i18n/en.d.ts +21 -4
  40. package/dist/src/consts/i18n/zh_CN.d.ts +21 -4
  41. package/dist/src/consts/index.vm.d.ts +74 -64
  42. package/dist/src/helpers/ant-design-vue.d.ts +1 -1
  43. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Button.d.ts +0 -1
  44. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.store.d.ts +111 -192
  45. package/dist/src/pages/KgPageDda/{index.const.d.ts → index.vm.d.ts} +1 -0
  46. package/dist/src/services/http-client.d.ts +6 -4
  47. package/dist/src/utils/kg-var.util.d.ts +31 -1
  48. package/dist/src/utils/kg.util.d.ts +38 -35
  49. package/package.json +1 -1
@@ -1,14 +1,10 @@
1
- import { ResultSetMetadataColumn, SysPermission, VarButton, VarConfigControl, VarGridDetail, VarProfileDetail, VarSubmitDetail } from '../../../apis/WMS/models';
1
+ import { ResultSetMetadataColumn, SysPermission, VarButton, VarGridDetail, VarProfileDetail, VarSubmitDetail } from '../../../apis/WMS/models';
2
2
  export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"KgPageDdaCreate", import("pinia")._UnwrapAll<Pick<{
3
- isLoading: import("vue").Ref<boolean>;
4
- resultSetMetadataColumns: import("vue").Ref<{
5
- columnDesc?: string | null | undefined;
6
- columnLabel?: string | null | undefined;
7
- columnName?: string | null | undefined;
8
- columnType?: string | null | undefined;
9
- id?: string | null | undefined;
10
- tableName?: string | null | undefined;
11
- }[]>;
3
+ createVarButton: (button: VarButton) => void;
4
+ updateVarConfigDescription: (param: {
5
+ varName: string | null | undefined;
6
+ varText: string | null | undefined;
7
+ }) => void;
12
8
  createVarDdaQuery: import("vue").Ref<{
13
9
  frmId?: string | null | undefined;
14
10
  sysPermissions?: {
@@ -67,17 +63,6 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
67
63
  typ?: string | null | undefined;
68
64
  var_nam?: string | null | undefined;
69
65
  }[] | null | undefined;
70
- varConfigControls?: {
71
- button_var_name?: string | null | undefined;
72
- ctrl_prop?: string | null | undefined;
73
- ctrl_typ?: string | null | undefined;
74
- cust_lvl?: number | null | undefined;
75
- frm_id?: string | null | undefined;
76
- grp_nam?: string | null | undefined;
77
- id?: string | null | undefined;
78
- locale_id?: string | null | undefined;
79
- var_nam?: string | null | undefined;
80
- }[] | null | undefined;
81
66
  varConfigDescriptions?: {
82
67
  cust_lvl?: number | null | undefined;
83
68
  frm_id?: string | null | undefined;
@@ -177,7 +162,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
177
162
  prf_var_nam?: string | null | undefined;
178
163
  usr_id?: string | null | undefined;
179
164
  } | null | undefined;
180
- varSubmitConfig?: {
165
+ varSubmitConfigs?: {
181
166
  button_var_name?: string | null | undefined;
182
167
  cust_lvl?: number | null | undefined;
183
168
  dft_fullscreen_flg?: number | null | undefined;
@@ -195,7 +180,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
195
180
  resizable_flg?: number | null | undefined;
196
181
  responsive_flg?: number | null | undefined;
197
182
  set_id_to_null_flag?: number | null | undefined;
198
- } | null | undefined;
183
+ }[] | null | undefined;
199
184
  varSubmitDetails?: {
200
185
  button_var_name?: string | null | undefined;
201
186
  cust_lvl?: number | null | undefined;
@@ -220,15 +205,9 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
220
205
  var_nam?: string | null | undefined;
221
206
  }[] | null | undefined;
222
207
  }>;
223
- getIsLoading: import("vue").ComputedRef<boolean>;
224
- getResultSetMetadataColumns: import("vue").ComputedRef<{
225
- columnDesc?: string | null | undefined;
226
- columnLabel?: string | null | undefined;
227
- columnName?: string | null | undefined;
228
- columnType?: string | null | undefined;
229
- id?: string | null | undefined;
230
- tableName?: string | null | undefined;
231
- }[]>;
208
+ deleteVarButton: (param: {
209
+ varName: string | null | undefined;
210
+ }) => void;
232
211
  getCreateVarDdaQuery: import("vue").ComputedRef<{
233
212
  frmId?: string | null | undefined;
234
213
  sysPermissions?: {
@@ -287,17 +266,6 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
287
266
  typ?: string | null | undefined;
288
267
  var_nam?: string | null | undefined;
289
268
  }[] | null | undefined;
290
- varConfigControls?: {
291
- button_var_name?: string | null | undefined;
292
- ctrl_prop?: string | null | undefined;
293
- ctrl_typ?: string | null | undefined;
294
- cust_lvl?: number | null | undefined;
295
- frm_id?: string | null | undefined;
296
- grp_nam?: string | null | undefined;
297
- id?: string | null | undefined;
298
- locale_id?: string | null | undefined;
299
- var_nam?: string | null | undefined;
300
- }[] | null | undefined;
301
269
  varConfigDescriptions?: {
302
270
  cust_lvl?: number | null | undefined;
303
271
  frm_id?: string | null | undefined;
@@ -397,7 +365,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
397
365
  prf_var_nam?: string | null | undefined;
398
366
  usr_id?: string | null | undefined;
399
367
  } | null | undefined;
400
- varSubmitConfig?: {
368
+ varSubmitConfigs?: {
401
369
  button_var_name?: string | null | undefined;
402
370
  cust_lvl?: number | null | undefined;
403
371
  dft_fullscreen_flg?: number | null | undefined;
@@ -415,7 +383,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
415
383
  resizable_flg?: number | null | undefined;
416
384
  responsive_flg?: number | null | undefined;
417
385
  set_id_to_null_flag?: number | null | undefined;
418
- } | null | undefined;
386
+ }[] | null | undefined;
419
387
  varSubmitDetails?: {
420
388
  button_var_name?: string | null | undefined;
421
389
  cust_lvl?: number | null | undefined;
@@ -441,41 +409,26 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
441
409
  }[] | null | undefined;
442
410
  }>;
443
411
  getFrmId: import("vue").ComputedRef<string | null | undefined>;
412
+ getIsLoading: import("vue").ComputedRef<boolean>;
413
+ getResultSetMetadataColumns: import("vue").ComputedRef<{
414
+ columnDesc?: string | null | undefined;
415
+ columnLabel?: string | null | undefined;
416
+ columnName?: string | null | undefined;
417
+ columnType?: string | null | undefined;
418
+ id?: string | null | undefined;
419
+ tableName?: string | null | undefined;
420
+ }[]>;
444
421
  getVarButtons: import("vue").ComputedRef<VarButton[]>;
422
+ getVarText: (varName: string | null | undefined) => string;
445
423
  initCreateVarDdaQuery: () => void;
446
- setIsLoading: (_isLoading: boolean | null | undefined) => void;
447
- setResultSetMetadataColumns: (columns: Array<ResultSetMetadataColumn> | null | undefined) => void;
448
- setFrmId: (_frmId: string | null | undefined) => void;
424
+ isLoading: import("vue").Ref<boolean>;
449
425
  patchSysPermission: (param: {
450
426
  properties: SysPermission;
451
427
  }) => void;
452
- updateVarDda: (param: {
453
- frmId: string;
454
- frmNam: string;
455
- }) => void;
456
- createVarButton: (button: VarButton) => void;
457
428
  patchVarButton: (param: {
458
- varNam: string | null | undefined;
429
+ varName: string | null | undefined;
459
430
  properties: VarButton;
460
431
  }) => void;
461
- deleteVarButton: (param: {
462
- varNam: string | null | undefined;
463
- }) => void;
464
- setVarProfileDetails: (varProfileDetails: Array<VarProfileDetail>) => void;
465
- setVarGridDetails: (varGridDetails: Array<VarGridDetail>) => void;
466
- setVarSubmitDetails: (varSubmitDetails: Array<VarSubmitDetail>) => void;
467
- createVarConfigDescription: (param: {
468
- varNam: string | null | undefined;
469
- varText: string | null | undefined;
470
- }) => void;
471
- updateVarConfigDescription: (param: {
472
- varNam: string | null | undefined;
473
- varText: string | null | undefined;
474
- }) => void;
475
- setVarConfigControls: (varConfigControls: Array<VarConfigControl>) => void;
476
- getVarText: (varNam: string | null | undefined) => string;
477
- }, "isLoading" | "resultSetMetadataColumns" | "createVarDdaQuery">>, import("pinia")._UnwrapAll<Pick<{
478
- isLoading: import("vue").Ref<boolean>;
479
432
  resultSetMetadataColumns: import("vue").Ref<{
480
433
  columnDesc?: string | null | undefined;
481
434
  columnLabel?: string | null | undefined;
@@ -484,6 +437,22 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
484
437
  id?: string | null | undefined;
485
438
  tableName?: string | null | undefined;
486
439
  }[]>;
440
+ setFormID: (_frmId: string | null | undefined) => void;
441
+ setIsLoading: (_isLoading: boolean | null | undefined) => void;
442
+ setResultSetMetadataColumns: (columns: Array<ResultSetMetadataColumn> | null | undefined) => void;
443
+ setVarGridDetails: (varGridDetails: Array<VarGridDetail>) => void;
444
+ setVarProfileDetails: (varProfileDetails: Array<VarProfileDetail>) => void;
445
+ setVarSubmitDetails: (varSubmitDetails: Array<VarSubmitDetail>) => void;
446
+ updateVarDda: (param: {
447
+ formID: string;
448
+ frmNam: string;
449
+ }) => void;
450
+ }, "isLoading" | "createVarDdaQuery" | "resultSetMetadataColumns">>, import("pinia")._UnwrapAll<Pick<{
451
+ createVarButton: (button: VarButton) => void;
452
+ updateVarConfigDescription: (param: {
453
+ varName: string | null | undefined;
454
+ varText: string | null | undefined;
455
+ }) => void;
487
456
  createVarDdaQuery: import("vue").Ref<{
488
457
  frmId?: string | null | undefined;
489
458
  sysPermissions?: {
@@ -542,17 +511,6 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
542
511
  typ?: string | null | undefined;
543
512
  var_nam?: string | null | undefined;
544
513
  }[] | null | undefined;
545
- varConfigControls?: {
546
- button_var_name?: string | null | undefined;
547
- ctrl_prop?: string | null | undefined;
548
- ctrl_typ?: string | null | undefined;
549
- cust_lvl?: number | null | undefined;
550
- frm_id?: string | null | undefined;
551
- grp_nam?: string | null | undefined;
552
- id?: string | null | undefined;
553
- locale_id?: string | null | undefined;
554
- var_nam?: string | null | undefined;
555
- }[] | null | undefined;
556
514
  varConfigDescriptions?: {
557
515
  cust_lvl?: number | null | undefined;
558
516
  frm_id?: string | null | undefined;
@@ -652,7 +610,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
652
610
  prf_var_nam?: string | null | undefined;
653
611
  usr_id?: string | null | undefined;
654
612
  } | null | undefined;
655
- varSubmitConfig?: {
613
+ varSubmitConfigs?: {
656
614
  button_var_name?: string | null | undefined;
657
615
  cust_lvl?: number | null | undefined;
658
616
  dft_fullscreen_flg?: number | null | undefined;
@@ -670,7 +628,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
670
628
  resizable_flg?: number | null | undefined;
671
629
  responsive_flg?: number | null | undefined;
672
630
  set_id_to_null_flag?: number | null | undefined;
673
- } | null | undefined;
631
+ }[] | null | undefined;
674
632
  varSubmitDetails?: {
675
633
  button_var_name?: string | null | undefined;
676
634
  cust_lvl?: number | null | undefined;
@@ -695,15 +653,9 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
695
653
  var_nam?: string | null | undefined;
696
654
  }[] | null | undefined;
697
655
  }>;
698
- getIsLoading: import("vue").ComputedRef<boolean>;
699
- getResultSetMetadataColumns: import("vue").ComputedRef<{
700
- columnDesc?: string | null | undefined;
701
- columnLabel?: string | null | undefined;
702
- columnName?: string | null | undefined;
703
- columnType?: string | null | undefined;
704
- id?: string | null | undefined;
705
- tableName?: string | null | undefined;
706
- }[]>;
656
+ deleteVarButton: (param: {
657
+ varName: string | null | undefined;
658
+ }) => void;
707
659
  getCreateVarDdaQuery: import("vue").ComputedRef<{
708
660
  frmId?: string | null | undefined;
709
661
  sysPermissions?: {
@@ -762,17 +714,6 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
762
714
  typ?: string | null | undefined;
763
715
  var_nam?: string | null | undefined;
764
716
  }[] | null | undefined;
765
- varConfigControls?: {
766
- button_var_name?: string | null | undefined;
767
- ctrl_prop?: string | null | undefined;
768
- ctrl_typ?: string | null | undefined;
769
- cust_lvl?: number | null | undefined;
770
- frm_id?: string | null | undefined;
771
- grp_nam?: string | null | undefined;
772
- id?: string | null | undefined;
773
- locale_id?: string | null | undefined;
774
- var_nam?: string | null | undefined;
775
- }[] | null | undefined;
776
717
  varConfigDescriptions?: {
777
718
  cust_lvl?: number | null | undefined;
778
719
  frm_id?: string | null | undefined;
@@ -872,7 +813,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
872
813
  prf_var_nam?: string | null | undefined;
873
814
  usr_id?: string | null | undefined;
874
815
  } | null | undefined;
875
- varSubmitConfig?: {
816
+ varSubmitConfigs?: {
876
817
  button_var_name?: string | null | undefined;
877
818
  cust_lvl?: number | null | undefined;
878
819
  dft_fullscreen_flg?: number | null | undefined;
@@ -890,7 +831,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
890
831
  resizable_flg?: number | null | undefined;
891
832
  responsive_flg?: number | null | undefined;
892
833
  set_id_to_null_flag?: number | null | undefined;
893
- } | null | undefined;
834
+ }[] | null | undefined;
894
835
  varSubmitDetails?: {
895
836
  button_var_name?: string | null | undefined;
896
837
  cust_lvl?: number | null | undefined;
@@ -916,41 +857,26 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
916
857
  }[] | null | undefined;
917
858
  }>;
918
859
  getFrmId: import("vue").ComputedRef<string | null | undefined>;
860
+ getIsLoading: import("vue").ComputedRef<boolean>;
861
+ getResultSetMetadataColumns: import("vue").ComputedRef<{
862
+ columnDesc?: string | null | undefined;
863
+ columnLabel?: string | null | undefined;
864
+ columnName?: string | null | undefined;
865
+ columnType?: string | null | undefined;
866
+ id?: string | null | undefined;
867
+ tableName?: string | null | undefined;
868
+ }[]>;
919
869
  getVarButtons: import("vue").ComputedRef<VarButton[]>;
870
+ getVarText: (varName: string | null | undefined) => string;
920
871
  initCreateVarDdaQuery: () => void;
921
- setIsLoading: (_isLoading: boolean | null | undefined) => void;
922
- setResultSetMetadataColumns: (columns: Array<ResultSetMetadataColumn> | null | undefined) => void;
923
- setFrmId: (_frmId: string | null | undefined) => void;
872
+ isLoading: import("vue").Ref<boolean>;
924
873
  patchSysPermission: (param: {
925
874
  properties: SysPermission;
926
875
  }) => void;
927
- updateVarDda: (param: {
928
- frmId: string;
929
- frmNam: string;
930
- }) => void;
931
- createVarButton: (button: VarButton) => void;
932
876
  patchVarButton: (param: {
933
- varNam: string | null | undefined;
877
+ varName: string | null | undefined;
934
878
  properties: VarButton;
935
879
  }) => void;
936
- deleteVarButton: (param: {
937
- varNam: string | null | undefined;
938
- }) => void;
939
- setVarProfileDetails: (varProfileDetails: Array<VarProfileDetail>) => void;
940
- setVarGridDetails: (varGridDetails: Array<VarGridDetail>) => void;
941
- setVarSubmitDetails: (varSubmitDetails: Array<VarSubmitDetail>) => void;
942
- createVarConfigDescription: (param: {
943
- varNam: string | null | undefined;
944
- varText: string | null | undefined;
945
- }) => void;
946
- updateVarConfigDescription: (param: {
947
- varNam: string | null | undefined;
948
- varText: string | null | undefined;
949
- }) => void;
950
- setVarConfigControls: (varConfigControls: Array<VarConfigControl>) => void;
951
- getVarText: (varNam: string | null | undefined) => string;
952
- }, "getVarButtons" | "getIsLoading" | "getResultSetMetadataColumns" | "getCreateVarDdaQuery" | "getFrmId">>, Pick<{
953
- isLoading: import("vue").Ref<boolean>;
954
880
  resultSetMetadataColumns: import("vue").Ref<{
955
881
  columnDesc?: string | null | undefined;
956
882
  columnLabel?: string | null | undefined;
@@ -959,6 +885,22 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
959
885
  id?: string | null | undefined;
960
886
  tableName?: string | null | undefined;
961
887
  }[]>;
888
+ setFormID: (_frmId: string | null | undefined) => void;
889
+ setIsLoading: (_isLoading: boolean | null | undefined) => void;
890
+ setResultSetMetadataColumns: (columns: Array<ResultSetMetadataColumn> | null | undefined) => void;
891
+ setVarGridDetails: (varGridDetails: Array<VarGridDetail>) => void;
892
+ setVarProfileDetails: (varProfileDetails: Array<VarProfileDetail>) => void;
893
+ setVarSubmitDetails: (varSubmitDetails: Array<VarSubmitDetail>) => void;
894
+ updateVarDda: (param: {
895
+ formID: string;
896
+ frmNam: string;
897
+ }) => void;
898
+ }, "getVarButtons" | "getCreateVarDdaQuery" | "getFrmId" | "getIsLoading" | "getResultSetMetadataColumns">>, Pick<{
899
+ createVarButton: (button: VarButton) => void;
900
+ updateVarConfigDescription: (param: {
901
+ varName: string | null | undefined;
902
+ varText: string | null | undefined;
903
+ }) => void;
962
904
  createVarDdaQuery: import("vue").Ref<{
963
905
  frmId?: string | null | undefined;
964
906
  sysPermissions?: {
@@ -1017,17 +959,6 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1017
959
  typ?: string | null | undefined;
1018
960
  var_nam?: string | null | undefined;
1019
961
  }[] | null | undefined;
1020
- varConfigControls?: {
1021
- button_var_name?: string | null | undefined;
1022
- ctrl_prop?: string | null | undefined;
1023
- ctrl_typ?: string | null | undefined;
1024
- cust_lvl?: number | null | undefined;
1025
- frm_id?: string | null | undefined;
1026
- grp_nam?: string | null | undefined;
1027
- id?: string | null | undefined;
1028
- locale_id?: string | null | undefined;
1029
- var_nam?: string | null | undefined;
1030
- }[] | null | undefined;
1031
962
  varConfigDescriptions?: {
1032
963
  cust_lvl?: number | null | undefined;
1033
964
  frm_id?: string | null | undefined;
@@ -1127,7 +1058,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1127
1058
  prf_var_nam?: string | null | undefined;
1128
1059
  usr_id?: string | null | undefined;
1129
1060
  } | null | undefined;
1130
- varSubmitConfig?: {
1061
+ varSubmitConfigs?: {
1131
1062
  button_var_name?: string | null | undefined;
1132
1063
  cust_lvl?: number | null | undefined;
1133
1064
  dft_fullscreen_flg?: number | null | undefined;
@@ -1145,7 +1076,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1145
1076
  resizable_flg?: number | null | undefined;
1146
1077
  responsive_flg?: number | null | undefined;
1147
1078
  set_id_to_null_flag?: number | null | undefined;
1148
- } | null | undefined;
1079
+ }[] | null | undefined;
1149
1080
  varSubmitDetails?: {
1150
1081
  button_var_name?: string | null | undefined;
1151
1082
  cust_lvl?: number | null | undefined;
@@ -1170,15 +1101,9 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1170
1101
  var_nam?: string | null | undefined;
1171
1102
  }[] | null | undefined;
1172
1103
  }>;
1173
- getIsLoading: import("vue").ComputedRef<boolean>;
1174
- getResultSetMetadataColumns: import("vue").ComputedRef<{
1175
- columnDesc?: string | null | undefined;
1176
- columnLabel?: string | null | undefined;
1177
- columnName?: string | null | undefined;
1178
- columnType?: string | null | undefined;
1179
- id?: string | null | undefined;
1180
- tableName?: string | null | undefined;
1181
- }[]>;
1104
+ deleteVarButton: (param: {
1105
+ varName: string | null | undefined;
1106
+ }) => void;
1182
1107
  getCreateVarDdaQuery: import("vue").ComputedRef<{
1183
1108
  frmId?: string | null | undefined;
1184
1109
  sysPermissions?: {
@@ -1237,17 +1162,6 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1237
1162
  typ?: string | null | undefined;
1238
1163
  var_nam?: string | null | undefined;
1239
1164
  }[] | null | undefined;
1240
- varConfigControls?: {
1241
- button_var_name?: string | null | undefined;
1242
- ctrl_prop?: string | null | undefined;
1243
- ctrl_typ?: string | null | undefined;
1244
- cust_lvl?: number | null | undefined;
1245
- frm_id?: string | null | undefined;
1246
- grp_nam?: string | null | undefined;
1247
- id?: string | null | undefined;
1248
- locale_id?: string | null | undefined;
1249
- var_nam?: string | null | undefined;
1250
- }[] | null | undefined;
1251
1165
  varConfigDescriptions?: {
1252
1166
  cust_lvl?: number | null | undefined;
1253
1167
  frm_id?: string | null | undefined;
@@ -1347,7 +1261,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1347
1261
  prf_var_nam?: string | null | undefined;
1348
1262
  usr_id?: string | null | undefined;
1349
1263
  } | null | undefined;
1350
- varSubmitConfig?: {
1264
+ varSubmitConfigs?: {
1351
1265
  button_var_name?: string | null | undefined;
1352
1266
  cust_lvl?: number | null | undefined;
1353
1267
  dft_fullscreen_flg?: number | null | undefined;
@@ -1365,7 +1279,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1365
1279
  resizable_flg?: number | null | undefined;
1366
1280
  responsive_flg?: number | null | undefined;
1367
1281
  set_id_to_null_flag?: number | null | undefined;
1368
- } | null | undefined;
1282
+ }[] | null | undefined;
1369
1283
  varSubmitDetails?: {
1370
1284
  button_var_name?: string | null | undefined;
1371
1285
  cust_lvl?: number | null | undefined;
@@ -1391,37 +1305,42 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1391
1305
  }[] | null | undefined;
1392
1306
  }>;
1393
1307
  getFrmId: import("vue").ComputedRef<string | null | undefined>;
1308
+ getIsLoading: import("vue").ComputedRef<boolean>;
1309
+ getResultSetMetadataColumns: import("vue").ComputedRef<{
1310
+ columnDesc?: string | null | undefined;
1311
+ columnLabel?: string | null | undefined;
1312
+ columnName?: string | null | undefined;
1313
+ columnType?: string | null | undefined;
1314
+ id?: string | null | undefined;
1315
+ tableName?: string | null | undefined;
1316
+ }[]>;
1394
1317
  getVarButtons: import("vue").ComputedRef<VarButton[]>;
1318
+ getVarText: (varName: string | null | undefined) => string;
1395
1319
  initCreateVarDdaQuery: () => void;
1396
- setIsLoading: (_isLoading: boolean | null | undefined) => void;
1397
- setResultSetMetadataColumns: (columns: Array<ResultSetMetadataColumn> | null | undefined) => void;
1398
- setFrmId: (_frmId: string | null | undefined) => void;
1320
+ isLoading: import("vue").Ref<boolean>;
1399
1321
  patchSysPermission: (param: {
1400
1322
  properties: SysPermission;
1401
1323
  }) => void;
1402
- updateVarDda: (param: {
1403
- frmId: string;
1404
- frmNam: string;
1405
- }) => void;
1406
- createVarButton: (button: VarButton) => void;
1407
1324
  patchVarButton: (param: {
1408
- varNam: string | null | undefined;
1325
+ varName: string | null | undefined;
1409
1326
  properties: VarButton;
1410
1327
  }) => void;
1411
- deleteVarButton: (param: {
1412
- varNam: string | null | undefined;
1413
- }) => void;
1414
- setVarProfileDetails: (varProfileDetails: Array<VarProfileDetail>) => void;
1328
+ resultSetMetadataColumns: import("vue").Ref<{
1329
+ columnDesc?: string | null | undefined;
1330
+ columnLabel?: string | null | undefined;
1331
+ columnName?: string | null | undefined;
1332
+ columnType?: string | null | undefined;
1333
+ id?: string | null | undefined;
1334
+ tableName?: string | null | undefined;
1335
+ }[]>;
1336
+ setFormID: (_frmId: string | null | undefined) => void;
1337
+ setIsLoading: (_isLoading: boolean | null | undefined) => void;
1338
+ setResultSetMetadataColumns: (columns: Array<ResultSetMetadataColumn> | null | undefined) => void;
1415
1339
  setVarGridDetails: (varGridDetails: Array<VarGridDetail>) => void;
1340
+ setVarProfileDetails: (varProfileDetails: Array<VarProfileDetail>) => void;
1416
1341
  setVarSubmitDetails: (varSubmitDetails: Array<VarSubmitDetail>) => void;
1417
- createVarConfigDescription: (param: {
1418
- varNam: string | null | undefined;
1419
- varText: string | null | undefined;
1420
- }) => void;
1421
- updateVarConfigDescription: (param: {
1422
- varNam: string | null | undefined;
1423
- varText: string | null | undefined;
1342
+ updateVarDda: (param: {
1343
+ formID: string;
1344
+ frmNam: string;
1424
1345
  }) => void;
1425
- setVarConfigControls: (varConfigControls: Array<VarConfigControl>) => void;
1426
- getVarText: (varNam: string | null | undefined) => string;
1427
- }, "initCreateVarDdaQuery" | "setIsLoading" | "setResultSetMetadataColumns" | "setFrmId" | "patchSysPermission" | "updateVarDda" | "createVarButton" | "patchVarButton" | "deleteVarButton" | "setVarProfileDetails" | "setVarGridDetails" | "setVarSubmitDetails" | "createVarConfigDescription" | "updateVarConfigDescription" | "setVarConfigControls" | "getVarText">>;
1346
+ }, "createVarButton" | "updateVarConfigDescription" | "deleteVarButton" | "getVarText" | "initCreateVarDdaQuery" | "patchSysPermission" | "patchVarButton" | "setFormID" | "setIsLoading" | "setResultSetMetadataColumns" | "setVarGridDetails" | "setVarProfileDetails" | "setVarSubmitDetails" | "updateVarDda">>;
@@ -9,3 +9,4 @@ export declare const __KG__CUSTOM_ROW_ID__ = "__KG__CUSTOM_ROW_ID__";
9
9
  * 为了操作方便, 会在表格中始终显示一个特殊的行, 称之为「用于添加的行」, 点击该行左侧的加号就可以添加新的行, 本常量用来作为该特殊的行的 ID.
10
10
  */
11
11
  export declare const __KG__CREATE_ROW_ID__ = "__KG__CREATE_ROW_ID__";
12
+ export declare const FORM_ID__CREATE__BUTTON = "KgPageDda.Create.Button";
@@ -8,10 +8,12 @@ interface IHttpClient {
8
8
  } & AxiosRequestConfig;
9
9
  request<T = any>(config: IRequestConfig, options?: IRequestOptions): Promise<T>;
10
10
  }
11
+ /** @deprecated 已弃用, 请使用 {@link kgSetupHttpClient}. */
12
+ declare function setupHttpClient(httpClient: IHttpClient | null): void;
11
13
  /**
12
14
  * 设置 httpClient 实例.
13
15
  */
14
- declare function setupHttpClient(httpClient: IHttpClient | null): void;
16
+ declare function kgSetupHttpClient(httpClient: IHttpClient | null): void;
15
17
  /**
16
18
  * 获取 httpClient 实例.
17
19
  */
@@ -37,10 +39,10 @@ interface IRequestOptions {
37
39
  /**
38
40
  * 如果该参数不为空, 表示该请求启用了高级查询, 该参数包含各个字段的高级查询操作符.
39
41
  */
40
- dynamicQueryOperators?: Record<string, KG_DYNAMIC_QUERY_OPERATOR>;
42
+ dynamicQueryOperatorModel?: Record<string, KG_DYNAMIC_QUERY_OPERATOR>;
41
43
  /**
42
- * dayjs 实例, 必须跟 {@link IRequestOptions.dynamicQueryOperators} 同时传值. 即如果参数 {@link IRequestOptions.dynamicQueryOperators} 不为空, 则参数 {@link IRequestOptions.dayjs} 也必须不为空.
44
+ * dayjs 实例, 必须跟 {@link IRequestOptions.dynamicQueryOperatorModel} 同时传值. 即如果参数 {@link IRequestOptions.dynamicQueryOperatorModel} 不为空, 则参数 {@link IRequestOptions.dayjs} 也必须不为空.
43
45
  */
44
46
  dayjs?: typeof dayjs;
45
47
  }
46
- export { setupHttpClient, httpClient, type IRequestConfig, type IRequestOptions };
48
+ export { setupHttpClient, kgSetupHttpClient, httpClient, type IRequestConfig, type IRequestOptions };
@@ -10,7 +10,7 @@ export declare class KgVarUtil {
10
10
  * @param params JSON 字符串形式的参数.
11
11
  * @return {} 参数对象.
12
12
  */
13
- static parseRequestParamsToJSON(params?: string | null): Record<string, any>;
13
+ static parseRequestParamsToJSON(params: string | null | undefined): Record<string, any>;
14
14
  /**
15
15
  * 根据控件类型, 将任意的值(可能非法)转换为合法的值.
16
16
  *
@@ -46,4 +46,34 @@ export declare class KgVarUtil {
46
46
  * @param controlType 控件类型.
47
47
  */
48
48
  static getDynamicQueryOperatorSelectOptions(controlType: KG__VAR_CONFIG_CONTROL__CONTROL_TYPE | null | undefined): any;
49
+ /**
50
+ * <p>获取根据查询条件拼接后的 SQL 语句片段.</p>
51
+ * <p>根据查询参数拼接为一个 SQL, 格式如下: `WHERE ... ORDER BY ...OFFSET...`.</p>
52
+ * <p>
53
+ * 参数 formID 和 dynamicQueryOperatorModel 只能其中一个传值.
54
+ * <ul>
55
+ * <li>如果 formID 传值, 表示通过变量配置获取高级查询操作符.</li>
56
+ * <li>如果 dynamicQueryOperators 传值, 表示直接使用传入的 dynamicQueryOperatorModel 作为高级查询操作符.</li>
57
+ * </ul>
58
+ * </p>
59
+ *
60
+ * @param param.$dayjs dayjs.
61
+ * @param param.dynamicQueryOperators 各个字段的高级查询操作符.
62
+ * @param param.formID 界面标识.
63
+ * @param param.kgSearchFormID 查询条件的界面标识.
64
+ * @param param.params 请求参数.
65
+ */
66
+ static getQueryHeaders(param: {
67
+ $dayjs: typeof dayjs;
68
+ dynamicQueryOperatorModel: Record<string, any> | null | undefined;
69
+ formID: string | null | undefined;
70
+ kgSearchFormID: string | null | undefined;
71
+ params: Record<string, any> | null | undefined;
72
+ }): {
73
+ offsetSql: string;
74
+ operatorJSON: string;
75
+ orderBySql: string;
76
+ sql: string;
77
+ whereSql: string;
78
+ };
49
79
  }