@kengic/vue 0.23.0 → 0.23.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.
Files changed (108) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/index.css +1 -1
  3. package/dist/kengic-vue.js +9391 -8199
  4. package/dist/project/build/script/buildConf.ts +1 -2
  5. package/dist/project/build/script/postBuild.ts +1 -1
  6. package/dist/project/src/api/sys/model/userModel.ts +1 -0
  7. package/dist/setting-outlined.7f72790b.mjs +8 -0
  8. package/dist/src/apis/WMS/Controllers/DescriptionController/List.d.ts +2 -0
  9. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/index.d.ts +0 -7
  10. package/dist/src/apis/WMS/Controllers/VarConfigPossibilityController/ExecuteQuery.d.ts +18 -0
  11. package/dist/src/apis/WMS/Controllers/VarConfigPossibilityController/index.d.ts +1 -0
  12. package/dist/src/apis/WMS/Controllers/WhController/ListVO.d.ts +2 -0
  13. package/dist/src/apis/WMS/Controllers/index.d.ts +1 -0
  14. package/dist/src/apis/WMS/models.d.ts +27 -11
  15. package/dist/src/components/KgAppSelect/index.hooks.d.ts +3 -3
  16. package/dist/src/components/KgAppSelect/index.store.d.ts +30 -29
  17. package/dist/src/components/KgButton/KgButton.Item.d.ts +15 -15
  18. package/dist/src/components/KgButton/KgButton.Item.data.d.ts +15 -15
  19. package/dist/src/components/KgButton/KgButton.d.ts +18 -12
  20. package/dist/src/components/KgButton/components/KgButton.Copy.d.ts +14 -14
  21. package/dist/src/components/KgButton/components/KgButton.Create.d.ts +14 -14
  22. package/dist/src/components/KgButton/components/KgButton.Delete.d.ts +15 -15
  23. package/dist/src/components/KgButton/components/KgButton.Export.d.ts +14 -14
  24. package/dist/src/components/KgButton/components/KgButton.ExportTemplate.d.ts +14 -14
  25. package/dist/src/components/KgButton/components/KgButton.Import.d.ts +14 -14
  26. package/dist/src/components/KgButton/components/KgButton.Other.d.ts +15 -15
  27. package/dist/src/components/KgButton/components/KgButton.Search.d.ts +15 -15
  28. package/dist/src/components/KgButton/components/KgButton.Update.d.ts +14 -14
  29. package/dist/src/components/KgButton/index.d.ts +4 -4
  30. package/dist/src/components/KgButton/index.hooks.d.ts +7 -5
  31. package/dist/src/components/KgButton/index.store.d.ts +19 -16
  32. package/dist/src/components/KgForm/KgForm.d.ts +3 -3
  33. package/dist/src/components/KgForm/index.d.ts +4 -4
  34. package/dist/src/components/KgForm/index.hooks.d.ts +21 -8
  35. package/dist/src/components/KgForm/index.store.d.ts +74 -34
  36. package/dist/src/components/KgForm.Item/KgForm.Item.d.ts +3 -3
  37. package/dist/src/components/KgForm.Item/KgForm.Item.service.d.ts +3 -3
  38. package/dist/src/components/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +8 -7
  39. package/dist/src/components/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +6 -7
  40. package/dist/src/components/KgForm.Item/components/KgForm.Item.Date.d.ts +6 -5
  41. package/dist/src/components/KgForm.Item/components/KgForm.Item.DateRange.d.ts +6 -5
  42. package/dist/src/components/KgForm.Item/components/KgForm.Item.Image.d.ts +3 -3
  43. package/dist/src/components/KgForm.Item/components/KgForm.Item.Input.d.ts +6 -5
  44. package/dist/src/components/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +6 -5
  45. package/dist/src/components/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +6 -5
  46. package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +7 -3
  47. package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.service.d.ts +16 -13
  48. package/dist/src/components/KgForm.Item/components/KgForm.Item.Switch.d.ts +6 -5
  49. package/dist/src/components/KgForm.Item/components/KgForm.Item.TextArea.d.ts +6 -5
  50. package/dist/src/components/KgForm.Item/index.d.ts +1 -1
  51. package/dist/src/components/KgForm.Item/index.vm.d.ts +9 -7
  52. package/dist/src/components/KgModal/KgModal.d.ts +105 -21
  53. package/dist/src/components/KgModal/KgModal.service.d.ts +1 -1
  54. package/dist/src/components/KgModal/components/KgModal.HeaderButtons.d.ts +18 -0
  55. package/dist/src/components/KgResizable/KgResizable.d.ts +55 -55
  56. package/dist/src/components/KgSearch/KgSearch.d.ts +0 -16
  57. package/dist/src/components/KgSearch/KgSearch.service.d.ts +20 -16
  58. package/dist/src/components/KgSearch/index.hooks.d.ts +30 -12
  59. package/dist/src/components/KgSearch/index.store.d.ts +44 -37
  60. package/dist/src/components/KgSubmit/index.hooks.d.ts +48 -15
  61. package/dist/src/components/KgSubmit/index.store.d.ts +53 -47
  62. package/dist/src/components/KgSubmit/index.vm.d.ts +2 -1
  63. package/dist/src/components/KgTable/components/setting/KgTable.Setting.service.d.ts +1 -1
  64. package/dist/src/components/KgTable/index.hooks.d.ts +23 -8
  65. package/dist/src/components/KgTable/index.store.d.ts +48 -34
  66. package/dist/src/components/KgTable/index.vm.d.ts +1 -1
  67. package/dist/src/components/KgVar/index.hooks.d.ts +15 -11
  68. package/dist/src/components/KgVar/index.store.d.ts +55 -60
  69. package/dist/src/components/KgVar/index.store.service.d.ts +2 -1
  70. package/dist/src/components/KgVar/index.vm.d.ts +7 -7
  71. package/dist/src/components/KgVarConfig/components/KgVarConfig.Modal.d.ts +1 -1
  72. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +6 -23
  73. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +0 -16
  74. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +4 -21
  75. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigInput.d.ts +2 -0
  76. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigLookup.d.ts +2 -0
  77. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigPossibility.d.ts +2 -0
  78. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigTip.d.ts +2 -0
  79. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariable.d.ts +2 -0
  80. package/dist/src/components/KgVarConfig/index.d.ts +1 -0
  81. package/dist/src/components/KgVarConfig/index.hooks.d.ts +17 -0
  82. package/dist/src/components/KgVarConfig/index.store.d.ts +29 -16
  83. package/dist/src/components/KgVarConfig/index.vm.d.ts +40 -0
  84. package/dist/src/components/KgWarehouse/index.hooks.d.ts +10 -6
  85. package/dist/src/components/KgWarehouse/index.store.d.ts +15 -14
  86. package/dist/src/components/util.d.ts +7 -7
  87. package/dist/src/consts/i18n/en.d.ts +31 -11
  88. package/dist/src/consts/i18n/zh_CN.d.ts +31 -11
  89. package/dist/src/consts/index.d.ts +0 -284
  90. package/dist/src/consts/index.vm.d.ts +435 -24
  91. package/dist/src/helpers/ant-design-vue.d.ts +1 -1
  92. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Button.d.ts +0 -1
  93. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.store.d.ts +117 -192
  94. package/dist/src/pages/KgPageDda/{index.const.d.ts → index.vm.d.ts} +1 -0
  95. package/dist/src/services/http-client.d.ts +2 -2
  96. package/dist/src/utils/kg-var.util.d.ts +4 -3
  97. package/dist/src/utils/kg.util.d.ts +42 -25
  98. package/package.json +2 -2
  99. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/Delete.d.ts +0 -18
  100. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/DeleteBatch.d.ts +0 -18
  101. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/Edit.d.ts +0 -16
  102. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/ExportXls.d.ts +0 -30
  103. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/ImportExcel.d.ts +0 -15
  104. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/List.d.ts +0 -37
  105. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/QueryById.d.ts +0 -19
  106. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.CreateModal.d.ts +0 -32
  107. /package/dist/src/components/KgTable/components/setting/config/{KgTable.Setting.ConfigModal.VarGridMaster.hooks.d.ts → KgTable.Setting.ConfigModal.VarGridMaster.service.d.ts} +0 -0
  108. /package/dist/src/components/KgVarConfig/components/var/{KgVarConfig.Modal.Var.Vars.d.ts → KgVarConfig.Modal.Var.VarConfigControl.d.ts} +0 -0
@@ -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;
@@ -147,6 +132,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
147
132
  header_teleport_flg?: number | null | undefined;
148
133
  id?: string | null | undefined;
149
134
  resizable_flg?: number | null | undefined;
135
+ show_config_button_flag?: number | null | undefined;
150
136
  vis_flg?: number | null | undefined;
151
137
  } | null | undefined;
152
138
  varProfileDetails?: {
@@ -176,7 +162,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
176
162
  prf_var_nam?: string | null | undefined;
177
163
  usr_id?: string | null | undefined;
178
164
  } | null | undefined;
179
- varSubmitConfig?: {
165
+ varSubmitConfigs?: {
180
166
  button_var_name?: string | null | undefined;
181
167
  cust_lvl?: number | null | undefined;
182
168
  dft_fullscreen_flg?: number | null | undefined;
@@ -194,7 +180,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
194
180
  resizable_flg?: number | null | undefined;
195
181
  responsive_flg?: number | null | undefined;
196
182
  set_id_to_null_flag?: number | null | undefined;
197
- } | null | undefined;
183
+ }[] | null | undefined;
198
184
  varSubmitDetails?: {
199
185
  button_var_name?: string | null | undefined;
200
186
  cust_lvl?: number | null | undefined;
@@ -219,15 +205,9 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
219
205
  var_nam?: string | null | undefined;
220
206
  }[] | null | undefined;
221
207
  }>;
222
- getIsLoading: import("vue").ComputedRef<boolean>;
223
- getResultSetMetadataColumns: import("vue").ComputedRef<{
224
- columnDesc?: string | null | undefined;
225
- columnLabel?: string | null | undefined;
226
- columnName?: string | null | undefined;
227
- columnType?: string | null | undefined;
228
- id?: string | null | undefined;
229
- tableName?: string | null | undefined;
230
- }[]>;
208
+ deleteVarButton: (param: {
209
+ varName: string | null | undefined;
210
+ }) => void;
231
211
  getCreateVarDdaQuery: import("vue").ComputedRef<{
232
212
  frmId?: string | null | undefined;
233
213
  sysPermissions?: {
@@ -286,17 +266,6 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
286
266
  typ?: string | null | undefined;
287
267
  var_nam?: string | null | undefined;
288
268
  }[] | null | undefined;
289
- varConfigControls?: {
290
- button_var_name?: string | null | undefined;
291
- ctrl_prop?: string | null | undefined;
292
- ctrl_typ?: string | null | undefined;
293
- cust_lvl?: number | null | undefined;
294
- frm_id?: string | null | undefined;
295
- grp_nam?: string | null | undefined;
296
- id?: string | null | undefined;
297
- locale_id?: string | null | undefined;
298
- var_nam?: string | null | undefined;
299
- }[] | null | undefined;
300
269
  varConfigDescriptions?: {
301
270
  cust_lvl?: number | null | undefined;
302
271
  frm_id?: string | null | undefined;
@@ -366,6 +335,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
366
335
  header_teleport_flg?: number | null | undefined;
367
336
  id?: string | null | undefined;
368
337
  resizable_flg?: number | null | undefined;
338
+ show_config_button_flag?: number | null | undefined;
369
339
  vis_flg?: number | null | undefined;
370
340
  } | null | undefined;
371
341
  varProfileDetails?: {
@@ -395,7 +365,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
395
365
  prf_var_nam?: string | null | undefined;
396
366
  usr_id?: string | null | undefined;
397
367
  } | null | undefined;
398
- varSubmitConfig?: {
368
+ varSubmitConfigs?: {
399
369
  button_var_name?: string | null | undefined;
400
370
  cust_lvl?: number | null | undefined;
401
371
  dft_fullscreen_flg?: number | null | undefined;
@@ -413,7 +383,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
413
383
  resizable_flg?: number | null | undefined;
414
384
  responsive_flg?: number | null | undefined;
415
385
  set_id_to_null_flag?: number | null | undefined;
416
- } | null | undefined;
386
+ }[] | null | undefined;
417
387
  varSubmitDetails?: {
418
388
  button_var_name?: string | null | undefined;
419
389
  cust_lvl?: number | null | undefined;
@@ -439,41 +409,26 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
439
409
  }[] | null | undefined;
440
410
  }>;
441
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
+ }[]>;
442
421
  getVarButtons: import("vue").ComputedRef<VarButton[]>;
422
+ getVarText: (varName: string | null | undefined) => string;
443
423
  initCreateVarDdaQuery: () => void;
444
- setIsLoading: (_isLoading: boolean | null | undefined) => void;
445
- setResultSetMetadataColumns: (columns: Array<ResultSetMetadataColumn> | null | undefined) => void;
446
- setFrmId: (_frmId: string | null | undefined) => void;
424
+ isLoading: import("vue").Ref<boolean>;
447
425
  patchSysPermission: (param: {
448
426
  properties: SysPermission;
449
427
  }) => void;
450
- updateVarDda: (param: {
451
- frmId: string;
452
- frmNam: string;
453
- }) => void;
454
- createVarButton: (button: VarButton) => void;
455
428
  patchVarButton: (param: {
456
- varNam: string | null | undefined;
429
+ varName: string | null | undefined;
457
430
  properties: VarButton;
458
431
  }) => void;
459
- deleteVarButton: (param: {
460
- varNam: string | null | undefined;
461
- }) => void;
462
- setVarProfileDetails: (varProfileDetails: Array<VarProfileDetail>) => void;
463
- setVarGridDetails: (varGridDetails: Array<VarGridDetail>) => void;
464
- setVarSubmitDetails: (varSubmitDetails: Array<VarSubmitDetail>) => void;
465
- createVarConfigDescription: (param: {
466
- varNam: string | null | undefined;
467
- varText: string | null | undefined;
468
- }) => void;
469
- updateVarConfigDescription: (param: {
470
- varNam: string | null | undefined;
471
- varText: string | null | undefined;
472
- }) => void;
473
- setVarConfigControls: (varConfigControls: Array<VarConfigControl>) => void;
474
- getVarText: (varNam: string | null | undefined) => string;
475
- }, "isLoading" | "resultSetMetadataColumns" | "createVarDdaQuery">>, import("pinia")._UnwrapAll<Pick<{
476
- isLoading: import("vue").Ref<boolean>;
477
432
  resultSetMetadataColumns: import("vue").Ref<{
478
433
  columnDesc?: string | null | undefined;
479
434
  columnLabel?: string | null | undefined;
@@ -482,6 +437,22 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
482
437
  id?: string | null | undefined;
483
438
  tableName?: string | null | undefined;
484
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;
485
456
  createVarDdaQuery: import("vue").Ref<{
486
457
  frmId?: string | null | undefined;
487
458
  sysPermissions?: {
@@ -540,17 +511,6 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
540
511
  typ?: string | null | undefined;
541
512
  var_nam?: string | null | undefined;
542
513
  }[] | null | undefined;
543
- varConfigControls?: {
544
- button_var_name?: string | null | undefined;
545
- ctrl_prop?: string | null | undefined;
546
- ctrl_typ?: string | null | undefined;
547
- cust_lvl?: number | null | undefined;
548
- frm_id?: string | null | undefined;
549
- grp_nam?: string | null | undefined;
550
- id?: string | null | undefined;
551
- locale_id?: string | null | undefined;
552
- var_nam?: string | null | undefined;
553
- }[] | null | undefined;
554
514
  varConfigDescriptions?: {
555
515
  cust_lvl?: number | null | undefined;
556
516
  frm_id?: string | null | undefined;
@@ -620,6 +580,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
620
580
  header_teleport_flg?: number | null | undefined;
621
581
  id?: string | null | undefined;
622
582
  resizable_flg?: number | null | undefined;
583
+ show_config_button_flag?: number | null | undefined;
623
584
  vis_flg?: number | null | undefined;
624
585
  } | null | undefined;
625
586
  varProfileDetails?: {
@@ -649,7 +610,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
649
610
  prf_var_nam?: string | null | undefined;
650
611
  usr_id?: string | null | undefined;
651
612
  } | null | undefined;
652
- varSubmitConfig?: {
613
+ varSubmitConfigs?: {
653
614
  button_var_name?: string | null | undefined;
654
615
  cust_lvl?: number | null | undefined;
655
616
  dft_fullscreen_flg?: number | null | undefined;
@@ -667,7 +628,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
667
628
  resizable_flg?: number | null | undefined;
668
629
  responsive_flg?: number | null | undefined;
669
630
  set_id_to_null_flag?: number | null | undefined;
670
- } | null | undefined;
631
+ }[] | null | undefined;
671
632
  varSubmitDetails?: {
672
633
  button_var_name?: string | null | undefined;
673
634
  cust_lvl?: number | null | undefined;
@@ -692,15 +653,9 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
692
653
  var_nam?: string | null | undefined;
693
654
  }[] | null | undefined;
694
655
  }>;
695
- getIsLoading: import("vue").ComputedRef<boolean>;
696
- getResultSetMetadataColumns: import("vue").ComputedRef<{
697
- columnDesc?: string | null | undefined;
698
- columnLabel?: string | null | undefined;
699
- columnName?: string | null | undefined;
700
- columnType?: string | null | undefined;
701
- id?: string | null | undefined;
702
- tableName?: string | null | undefined;
703
- }[]>;
656
+ deleteVarButton: (param: {
657
+ varName: string | null | undefined;
658
+ }) => void;
704
659
  getCreateVarDdaQuery: import("vue").ComputedRef<{
705
660
  frmId?: string | null | undefined;
706
661
  sysPermissions?: {
@@ -759,17 +714,6 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
759
714
  typ?: string | null | undefined;
760
715
  var_nam?: string | null | undefined;
761
716
  }[] | null | undefined;
762
- varConfigControls?: {
763
- button_var_name?: string | null | undefined;
764
- ctrl_prop?: string | null | undefined;
765
- ctrl_typ?: string | null | undefined;
766
- cust_lvl?: number | null | undefined;
767
- frm_id?: string | null | undefined;
768
- grp_nam?: string | null | undefined;
769
- id?: string | null | undefined;
770
- locale_id?: string | null | undefined;
771
- var_nam?: string | null | undefined;
772
- }[] | null | undefined;
773
717
  varConfigDescriptions?: {
774
718
  cust_lvl?: number | null | undefined;
775
719
  frm_id?: string | null | undefined;
@@ -839,6 +783,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
839
783
  header_teleport_flg?: number | null | undefined;
840
784
  id?: string | null | undefined;
841
785
  resizable_flg?: number | null | undefined;
786
+ show_config_button_flag?: number | null | undefined;
842
787
  vis_flg?: number | null | undefined;
843
788
  } | null | undefined;
844
789
  varProfileDetails?: {
@@ -868,7 +813,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
868
813
  prf_var_nam?: string | null | undefined;
869
814
  usr_id?: string | null | undefined;
870
815
  } | null | undefined;
871
- varSubmitConfig?: {
816
+ varSubmitConfigs?: {
872
817
  button_var_name?: string | null | undefined;
873
818
  cust_lvl?: number | null | undefined;
874
819
  dft_fullscreen_flg?: number | null | undefined;
@@ -886,7 +831,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
886
831
  resizable_flg?: number | null | undefined;
887
832
  responsive_flg?: number | null | undefined;
888
833
  set_id_to_null_flag?: number | null | undefined;
889
- } | null | undefined;
834
+ }[] | null | undefined;
890
835
  varSubmitDetails?: {
891
836
  button_var_name?: string | null | undefined;
892
837
  cust_lvl?: number | null | undefined;
@@ -912,41 +857,26 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
912
857
  }[] | null | undefined;
913
858
  }>;
914
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
+ }[]>;
915
869
  getVarButtons: import("vue").ComputedRef<VarButton[]>;
870
+ getVarText: (varName: string | null | undefined) => string;
916
871
  initCreateVarDdaQuery: () => void;
917
- setIsLoading: (_isLoading: boolean | null | undefined) => void;
918
- setResultSetMetadataColumns: (columns: Array<ResultSetMetadataColumn> | null | undefined) => void;
919
- setFrmId: (_frmId: string | null | undefined) => void;
872
+ isLoading: import("vue").Ref<boolean>;
920
873
  patchSysPermission: (param: {
921
874
  properties: SysPermission;
922
875
  }) => void;
923
- updateVarDda: (param: {
924
- frmId: string;
925
- frmNam: string;
926
- }) => void;
927
- createVarButton: (button: VarButton) => void;
928
876
  patchVarButton: (param: {
929
- varNam: string | null | undefined;
877
+ varName: string | null | undefined;
930
878
  properties: VarButton;
931
879
  }) => void;
932
- deleteVarButton: (param: {
933
- varNam: string | null | undefined;
934
- }) => void;
935
- setVarProfileDetails: (varProfileDetails: Array<VarProfileDetail>) => void;
936
- setVarGridDetails: (varGridDetails: Array<VarGridDetail>) => void;
937
- setVarSubmitDetails: (varSubmitDetails: Array<VarSubmitDetail>) => void;
938
- createVarConfigDescription: (param: {
939
- varNam: string | null | undefined;
940
- varText: string | null | undefined;
941
- }) => void;
942
- updateVarConfigDescription: (param: {
943
- varNam: string | null | undefined;
944
- varText: string | null | undefined;
945
- }) => void;
946
- setVarConfigControls: (varConfigControls: Array<VarConfigControl>) => void;
947
- getVarText: (varNam: string | null | undefined) => string;
948
- }, "getVarButtons" | "getIsLoading" | "getResultSetMetadataColumns" | "getCreateVarDdaQuery" | "getFrmId">>, Pick<{
949
- isLoading: import("vue").Ref<boolean>;
950
880
  resultSetMetadataColumns: import("vue").Ref<{
951
881
  columnDesc?: string | null | undefined;
952
882
  columnLabel?: string | null | undefined;
@@ -955,6 +885,22 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
955
885
  id?: string | null | undefined;
956
886
  tableName?: string | null | undefined;
957
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;
958
904
  createVarDdaQuery: import("vue").Ref<{
959
905
  frmId?: string | null | undefined;
960
906
  sysPermissions?: {
@@ -1013,17 +959,6 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1013
959
  typ?: string | null | undefined;
1014
960
  var_nam?: string | null | undefined;
1015
961
  }[] | null | undefined;
1016
- varConfigControls?: {
1017
- button_var_name?: string | null | undefined;
1018
- ctrl_prop?: string | null | undefined;
1019
- ctrl_typ?: string | null | undefined;
1020
- cust_lvl?: number | null | undefined;
1021
- frm_id?: string | null | undefined;
1022
- grp_nam?: string | null | undefined;
1023
- id?: string | null | undefined;
1024
- locale_id?: string | null | undefined;
1025
- var_nam?: string | null | undefined;
1026
- }[] | null | undefined;
1027
962
  varConfigDescriptions?: {
1028
963
  cust_lvl?: number | null | undefined;
1029
964
  frm_id?: string | null | undefined;
@@ -1093,6 +1028,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1093
1028
  header_teleport_flg?: number | null | undefined;
1094
1029
  id?: string | null | undefined;
1095
1030
  resizable_flg?: number | null | undefined;
1031
+ show_config_button_flag?: number | null | undefined;
1096
1032
  vis_flg?: number | null | undefined;
1097
1033
  } | null | undefined;
1098
1034
  varProfileDetails?: {
@@ -1122,7 +1058,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1122
1058
  prf_var_nam?: string | null | undefined;
1123
1059
  usr_id?: string | null | undefined;
1124
1060
  } | null | undefined;
1125
- varSubmitConfig?: {
1061
+ varSubmitConfigs?: {
1126
1062
  button_var_name?: string | null | undefined;
1127
1063
  cust_lvl?: number | null | undefined;
1128
1064
  dft_fullscreen_flg?: number | null | undefined;
@@ -1140,7 +1076,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1140
1076
  resizable_flg?: number | null | undefined;
1141
1077
  responsive_flg?: number | null | undefined;
1142
1078
  set_id_to_null_flag?: number | null | undefined;
1143
- } | null | undefined;
1079
+ }[] | null | undefined;
1144
1080
  varSubmitDetails?: {
1145
1081
  button_var_name?: string | null | undefined;
1146
1082
  cust_lvl?: number | null | undefined;
@@ -1165,15 +1101,9 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1165
1101
  var_nam?: string | null | undefined;
1166
1102
  }[] | null | undefined;
1167
1103
  }>;
1168
- getIsLoading: import("vue").ComputedRef<boolean>;
1169
- getResultSetMetadataColumns: import("vue").ComputedRef<{
1170
- columnDesc?: string | null | undefined;
1171
- columnLabel?: string | null | undefined;
1172
- columnName?: string | null | undefined;
1173
- columnType?: string | null | undefined;
1174
- id?: string | null | undefined;
1175
- tableName?: string | null | undefined;
1176
- }[]>;
1104
+ deleteVarButton: (param: {
1105
+ varName: string | null | undefined;
1106
+ }) => void;
1177
1107
  getCreateVarDdaQuery: import("vue").ComputedRef<{
1178
1108
  frmId?: string | null | undefined;
1179
1109
  sysPermissions?: {
@@ -1232,17 +1162,6 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1232
1162
  typ?: string | null | undefined;
1233
1163
  var_nam?: string | null | undefined;
1234
1164
  }[] | null | undefined;
1235
- varConfigControls?: {
1236
- button_var_name?: string | null | undefined;
1237
- ctrl_prop?: string | null | undefined;
1238
- ctrl_typ?: string | null | undefined;
1239
- cust_lvl?: number | null | undefined;
1240
- frm_id?: string | null | undefined;
1241
- grp_nam?: string | null | undefined;
1242
- id?: string | null | undefined;
1243
- locale_id?: string | null | undefined;
1244
- var_nam?: string | null | undefined;
1245
- }[] | null | undefined;
1246
1165
  varConfigDescriptions?: {
1247
1166
  cust_lvl?: number | null | undefined;
1248
1167
  frm_id?: string | null | undefined;
@@ -1312,6 +1231,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1312
1231
  header_teleport_flg?: number | null | undefined;
1313
1232
  id?: string | null | undefined;
1314
1233
  resizable_flg?: number | null | undefined;
1234
+ show_config_button_flag?: number | null | undefined;
1315
1235
  vis_flg?: number | null | undefined;
1316
1236
  } | null | undefined;
1317
1237
  varProfileDetails?: {
@@ -1341,7 +1261,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1341
1261
  prf_var_nam?: string | null | undefined;
1342
1262
  usr_id?: string | null | undefined;
1343
1263
  } | null | undefined;
1344
- varSubmitConfig?: {
1264
+ varSubmitConfigs?: {
1345
1265
  button_var_name?: string | null | undefined;
1346
1266
  cust_lvl?: number | null | undefined;
1347
1267
  dft_fullscreen_flg?: number | null | undefined;
@@ -1359,7 +1279,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1359
1279
  resizable_flg?: number | null | undefined;
1360
1280
  responsive_flg?: number | null | undefined;
1361
1281
  set_id_to_null_flag?: number | null | undefined;
1362
- } | null | undefined;
1282
+ }[] | null | undefined;
1363
1283
  varSubmitDetails?: {
1364
1284
  button_var_name?: string | null | undefined;
1365
1285
  cust_lvl?: number | null | undefined;
@@ -1385,37 +1305,42 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1385
1305
  }[] | null | undefined;
1386
1306
  }>;
1387
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
+ }[]>;
1388
1317
  getVarButtons: import("vue").ComputedRef<VarButton[]>;
1318
+ getVarText: (varName: string | null | undefined) => string;
1389
1319
  initCreateVarDdaQuery: () => void;
1390
- setIsLoading: (_isLoading: boolean | null | undefined) => void;
1391
- setResultSetMetadataColumns: (columns: Array<ResultSetMetadataColumn> | null | undefined) => void;
1392
- setFrmId: (_frmId: string | null | undefined) => void;
1320
+ isLoading: import("vue").Ref<boolean>;
1393
1321
  patchSysPermission: (param: {
1394
1322
  properties: SysPermission;
1395
1323
  }) => void;
1396
- updateVarDda: (param: {
1397
- frmId: string;
1398
- frmNam: string;
1399
- }) => void;
1400
- createVarButton: (button: VarButton) => void;
1401
1324
  patchVarButton: (param: {
1402
- varNam: string | null | undefined;
1325
+ varName: string | null | undefined;
1403
1326
  properties: VarButton;
1404
1327
  }) => void;
1405
- deleteVarButton: (param: {
1406
- varNam: string | null | undefined;
1407
- }) => void;
1408
- 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;
1409
1339
  setVarGridDetails: (varGridDetails: Array<VarGridDetail>) => void;
1340
+ setVarProfileDetails: (varProfileDetails: Array<VarProfileDetail>) => void;
1410
1341
  setVarSubmitDetails: (varSubmitDetails: Array<VarSubmitDetail>) => void;
1411
- createVarConfigDescription: (param: {
1412
- varNam: string | null | undefined;
1413
- varText: string | null | undefined;
1414
- }) => void;
1415
- updateVarConfigDescription: (param: {
1416
- varNam: string | null | undefined;
1417
- varText: string | null | undefined;
1342
+ updateVarDda: (param: {
1343
+ formID: string;
1344
+ frmNam: string;
1418
1345
  }) => void;
1419
- setVarConfigControls: (varConfigControls: Array<VarConfigControl>) => void;
1420
- getVarText: (varNam: string | null | undefined) => string;
1421
- }, "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";
@@ -37,9 +37,9 @@ interface IRequestOptions {
37
37
  /**
38
38
  * 如果该参数不为空, 表示该请求启用了高级查询, 该参数包含各个字段的高级查询操作符.
39
39
  */
40
- dynamicQueryOperators?: Record<string, KG_DYNAMIC_QUERY_OPERATOR>;
40
+ dynamicQueryOperatorModel?: Record<string, KG_DYNAMIC_QUERY_OPERATOR>;
41
41
  /**
42
- * dayjs 实例, 必须跟 {@link IRequestOptions.dynamicQueryOperators} 同时传值. 即如果参数 {@link IRequestOptions.dynamicQueryOperators} 不为空, 则参数 {@link IRequestOptions.dayjs} 也必须不为空.
42
+ * dayjs 实例, 必须跟 {@link IRequestOptions.dynamicQueryOperatorModel} 同时传值. 即如果参数 {@link IRequestOptions.dynamicQueryOperatorModel} 不为空, 则参数 {@link IRequestOptions.dayjs} 也必须不为空.
43
43
  */
44
44
  dayjs?: typeof dayjs;
45
45
  }
@@ -1,11 +1,12 @@
1
1
  import dayjs from 'dayjs';
2
- import { KG_FORM_ITEM_CONTROL_TYPE } from '../consts';
2
+ import { KG__VAR_CONFIG_CONTROL__CONTROL_TYPE } from '../consts';
3
3
  /**
4
4
  * 变量相关工具.
5
5
  */
6
6
  export declare class KgVarUtil {
7
7
  /**
8
- * JSON 字符串形式的参数 `'{"foo":1,"bar":2}'` 转换为对象形式的参数 `{ "foo": 1, "bar": 2 }`.
8
+ * <p>将 JSON 字符串形式的参数 `'{"foo":1,"bar":2}'` 转换为对象形式的参数 `{ "foo": 1, "bar": 2 }`.</p>
9
+ *
9
10
  * @param params JSON 字符串形式的参数.
10
11
  * @return {} 参数对象.
11
12
  */
@@ -44,5 +45,5 @@ export declare class KgVarUtil {
44
45
  * 根据控件类型获取高级查询操作符的下拉列表.
45
46
  * @param controlType 控件类型.
46
47
  */
47
- static getDynamicQueryOperatorSelectOptions(controlType: KG_FORM_ITEM_CONTROL_TYPE | null | undefined): any;
48
+ static getDynamicQueryOperatorSelectOptions(controlType: KG__VAR_CONFIG_CONTROL__CONTROL_TYPE | null | undefined): any;
48
49
  }