@kengic/vue 0.26.0 → 0.26.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -609,7 +609,7 @@ export declare class VarGridConfig {
609
609
  available_flg?: number | null;
610
610
  /** 按钮显示样式(ButtonDisplayType). */
611
611
  button_display_type?: string | null;
612
- /** 每次查询之后是否自动勾选首行. */
612
+ /** 是否查询之后自动勾选首行. */
613
613
  check_first_row_after_retrieve?: number | null;
614
614
  /** 接口参数(CommandParameter). */
615
615
  cmd_prm?: string | null;
@@ -743,10 +743,6 @@ export declare class VarProfileConfig {
743
743
  export declare class VarProfileDetail {
744
744
  /** 默认的高级查询方式(DefaultDynamicQueryOperator). */
745
745
  dft_dyn_op?: string | null;
746
- /** 默认的值(DefaultValue). */
747
- dft_val?: string | null;
748
- /** 是否启用(EnableFlag). */
749
- ena_flg?: number | null;
750
746
  /** 是否不拼接到 WHERE SQL 中. */
751
747
  exclude_from_where_sql_flag?: number | null;
752
748
  /** 界面标识(FormID). */
@@ -755,22 +751,14 @@ export declare class VarProfileDetail {
755
751
  grp_nam?: string | null;
756
752
  /** 主键. */
757
753
  id?: string | null;
758
- /** 提示文字. */
759
- placeholder?: string | null;
760
754
  /** 查询条件变量名称(ProfileVariableName). */
761
755
  prf_var_nam?: string | null;
762
- /** 是否必填(RequireFlag). */
763
- rqr_flg?: number | null;
764
756
  /** 显示顺序(SortSequence). */
765
757
  srtseq?: number | null;
766
758
  /** 高级查询时是否将字段转换为 underscore 命名方式. */
767
759
  use_underscore_when_dynamic_query_flag?: number | null;
768
760
  /** 变量名称(VariableName). */
769
761
  var_nam?: string | null;
770
- /** 是否可见(VisibleFlag). */
771
- vis_flg?: number | null;
772
- /** 表单控件宽度. */
773
- width?: number | null;
774
762
  constructor(obj?: VarProfileDetail);
775
763
  }
776
764
  /** 查询条件视图. */
@@ -787,7 +775,7 @@ export declare class VarProfileMaster {
787
775
  grp_nam?: string | null;
788
776
  /** 主键. */
789
777
  id?: string | null;
790
- /** 查询条件变量名称(ProfileVariableName). */
778
+ /** 查询条件视图的变量名称(ProfileVariableName). */
791
779
  prf_var_nam?: string | null;
792
780
  /** 用户(UserID). */
793
781
  usr_id?: string | null;
@@ -843,6 +831,8 @@ export declare class VarSubmitConfig {
843
831
  max_width?: number | null;
844
832
  /** 最小宽度. */
845
833
  min_width?: number | null;
834
+ /** 所属查询条件视图的变量名称 */
835
+ prf_var_nam?: string | null;
846
836
  /** 配置属性. */
847
837
  props?: string | null;
848
838
  /** 是否可以拖拽改变大小. */
@@ -873,6 +863,8 @@ export declare class VarSubmitDetail {
873
863
  key_flg?: number | null;
874
864
  /** 占位提示文字(Placeholder). */
875
865
  placeholder?: string | null;
866
+ /** 所属查询条件视图的变量名称 */
867
+ prf_var_nam?: string | null;
876
868
  /** 是否必填. */
877
869
  required_flag?: number | null;
878
870
  /** 所属分组. */
@@ -41,7 +41,8 @@ export declare type IUseKgForm = {
41
41
  */
42
42
  onLookupOk(listener: IKgFormLookupOkEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
43
43
  /**
44
- * 监听事件: 即将发起查询请求, 如果返回 true 表示不会发起请求.
44
+ * <p>监听事件: 即将发起查询请求, 如果返回 true 表示不会发起请求.</p>
45
+ * <p>通常在该事件中, 通过给 <code>response.value</code> 赋值, 来实现自定义下拉列表数据. 注意此时必须返回 true 来跳过后续的列表数据查询.</p>
45
46
  *
46
47
  * @param callback 事件监听函数.
47
48
  * @param isOnce 是否只会触发一次. 默认为 undefined.
@@ -1,9 +1,16 @@
1
1
  import { FormInstance } from 'ant-design-vue';
2
2
  import { ComputedRef, Ref } from 'vue';
3
- import { VarSubmitConfig, VarSubmitDetail } from '../../apis/WMS/models';
3
+ import { VarProfileDetail, VarSubmitConfig, VarSubmitDetail } from '../../apis/WMS/models';
4
4
  import { IKgVarSubmitConfigProperties, IRemoveEventListenerHandler, KG__VAR_BUTTON__TYPE, KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE, KG__VAR_SUBMIT_CONFIG__LABEL_COLUMN_UNIT, KG__VAR_SUBMIT_CONFIG__LAYOUT } from '../../consts';
5
5
  import { IKgSubmitAfterValidateEventListener, IKgSubmitBeforeOkEventListener, IKgSubmitBeforeOpenEventListener, IKgSubmitBeforeRequestEventListener, IKgSubmitCloseEventListener, IKgSubmitErrorEventListener, IKgSubmitOkEventListener, IKgSubmitOpenEventListener, IKgSubmitStore } from './index.store';
6
6
  export interface IUseKgSubmit {
7
+ /**
8
+ * <p>添加一个「提交表单字段」.</p>
9
+ * <p>使用场景: 一般用于开发自定义页面时, 需要动态添加表单字段.</p>
10
+ *
11
+ * @param varSubmitDetail 要添加的「提交表单字段」.
12
+ */
13
+ createVarSubmitDetail(varSubmitDetail: VarSubmitDetail): void;
7
14
  /**
8
15
  * <p>「当前按钮」的「提交表单配置」.</p>
9
16
  */
@@ -86,6 +93,14 @@ export interface IUseKgSubmit {
86
93
  buttonType?: KG__VAR_BUTTON__TYPE;
87
94
  buttonVarName?: string | null;
88
95
  }): VarSubmitConfig | null;
96
+ /**
97
+ * 根据「查询条件视图明细」获取「提交表单字段」.
98
+ *
99
+ * @param param.varProfileDetail 查询条件视图明细.
100
+ */
101
+ getVarSubmitDetailByVarProfileDetail(param?: {
102
+ varProfileDetail: VarProfileDetail;
103
+ }): VarSubmitDetail | null;
89
104
  /**
90
105
  * <p>获取提交表单字段, 根据所传参数进行过滤.</p>
91
106
  *
@@ -103,19 +118,29 @@ export interface IUseKgSubmit {
103
118
  * <p>如果参数 {@link param.varName} !== <code>undefined</code> , 则根据 {@link param.varName} 和 {@link VarSubmitDetail.var_nam} 是否匹配进行过滤.</p>
104
119
  * </li>
105
120
  * <li>
121
+ * <p>如果参数 {@link param.searchProfileVarName} !== <code>undefined</code> , 则根据 {@link param.searchProfileVarName} 和 {@link VarSubmitDetail.prf_var_nam} 是否匹配进行过滤.</p>
122
+ * </li>
123
+ * <li>
124
+ * <p>如果参数 {@link param.isKey} !== <code>undefined</code> , 则根据 {@link param.isKey} 和 {@link VarSubmitDetail.key_flg} 是否匹配进行过滤.</p>
125
+ * </li>
126
+ * <li>
106
127
  * <p>如果参数 {@link param.isVisible} !== <code>undefined</code> , 则根据 {@link param.isVisible} 和 {@link VarSubmitDetail.visible_flag} 是否匹配进行过滤.</p>
107
128
  * </li>
108
129
  * </ul>
109
130
  *
110
131
  * @param param.buttonType <p>按钮的类型, 对应的是 {@link VarButton.typ} 属性, 取值请参考 {@link KG__VAR_BUTTON__TYPE}.</p>
111
132
  * @param param.buttonVarName <p>按钮的变量名称, 对应的是 {@link VarButton.var_nam} 属性.</p>
133
+ * @param param.isKey 提交表单字段是否可见, 对应的是 {@link VarSubmitDetail.key_flg} 属性.
112
134
  * @param param.isVisible 提交表单字段是否可见, 对应的是 {@link VarSubmitDetail.visible_flag} 属性.
135
+ * @param param.searchProfileVarName 提交表单字段的所属查询条件视图的变量名称, 对应的是 {@link VarSubmitDetail.prf_var_nam} 属性.
113
136
  * @param param.varName 提交表单字段的变量名, 对应的是 {@link VarSubmitDetail.var_nam} 属性.
114
137
  */
115
138
  getVarSubmitDetails(param?: {
116
139
  buttonType?: KG__VAR_BUTTON__TYPE;
117
140
  buttonVarName?: string | null;
141
+ isKey?: 0 | 1 | null;
118
142
  isVisible?: 0 | 1 | null;
143
+ searchProfileVarName?: string | null;
119
144
  varName?: string | null;
120
145
  } | null): Array<VarSubmitDetail>;
121
146
  /**
@@ -209,7 +234,7 @@ export interface IUseKgSubmit {
209
234
  buttonVarName?: string | null;
210
235
  properties: VarSubmitDetail;
211
236
  varName: string | null | undefined;
212
- }): void;
237
+ }): Promise<void>;
213
238
  /**
214
239
  * 表单验证规则.
215
240
  *
@@ -2,7 +2,7 @@ import { RuleObject } from 'ant-design-vue/es/form';
2
2
  import { FormInstance } from 'ant-design-vue/lib/form/Form';
3
3
  import { StoreDefinition } from 'pinia';
4
4
  import { Ref } from 'vue';
5
- import { VarSubmitConfig, VarSubmitDetail } from '../../apis/WMS/models';
5
+ import { VarProfileDetail, VarSubmitConfig, VarSubmitDetail } from '../../apis/WMS/models';
6
6
  import { IKgEventListener, KG__VAR_BUTTON__TYPE } from '../../consts';
7
7
  import { KgAny } from '../../types';
8
8
  import { IKgTableRow } from '../KgTable';
@@ -130,11 +130,15 @@ export interface IUseKgSubmitStoreGetters {
130
130
  buttonVarName?: string | null;
131
131
  }) => VarSubmitConfig | null;
132
132
  getVarSubmitConfigs(): (formID: string | null | undefined) => Array<VarSubmitConfig>;
133
+ getVarSubmitDetailByVarProfileDetail(): (formID: string | null | undefined, param?: {
134
+ varProfileDetail: VarProfileDetail;
135
+ }) => VarSubmitDetail | null;
133
136
  getVarSubmitDetails(): (formID: string | null | undefined, param?: {
134
137
  buttonType?: KG__VAR_BUTTON__TYPE;
135
138
  buttonVarName?: string | null;
136
139
  isKey?: 0 | 1 | null;
137
140
  isVisible?: 0 | 1 | null;
141
+ searchProfileVarName?: string | null;
138
142
  varName?: string | null;
139
143
  } | null) => Array<VarSubmitDetail>;
140
144
  /** 是否处于加载状态. */
@@ -148,6 +152,13 @@ export interface IUseKgSubmitStoreActions {
148
152
  * @param listener 事件监听函数.
149
153
  */
150
154
  addEventListener(formID: string, event: IKgSubmitEvent, listener: IKgSubmitEventListener): void;
155
+ /**
156
+ * 添加一个「提交表单字段」.
157
+ *
158
+ * @param formID 页面标识.
159
+ * @param varSubmitDetail 要添加的「提交表单字段」.
160
+ */
161
+ createVarSubmitDetail(formID: string | null | undefined, varSubmitDetail: VarSubmitDetail): void;
151
162
  /**
152
163
  * 清理数据.
153
164
  * @param formID 页面标识.
@@ -159,7 +170,7 @@ export interface IUseKgSubmitStoreActions {
159
170
  buttonVarName?: string | null;
160
171
  properties: VarSubmitDetail;
161
172
  varName: string | null | undefined;
162
- }): void;
173
+ }): Promise<void>;
163
174
  /**
164
175
  * 退订事件监听.
165
176
  * @param formID 界面标识.
@@ -1,4 +1,5 @@
1
1
  import { ComputedRef } from 'vue';
2
+ import { VarConfigControl, VarConfigDescription, VarConfigPossibility } from '../../apis/WMS/models';
2
3
  import { IRemoveEventListenerHandler, KG__VAR_BUTTON__TYPE } from '../../consts';
3
4
  import { IUseKgButton } from '../KgButton';
4
5
  import { IUseKgForm } from '../KgForm';
@@ -8,6 +9,27 @@ import { IUseKgTable } from '../KgTable';
8
9
  import { IUseKgVarConfig } from '../KgVarConfig';
9
10
  import { IKgVarRetrieveEventListener, IKgVarStore } from './index.store';
10
11
  export declare type IUseKgVar = {
12
+ /**
13
+ * <p>添加一个「变量配置:表单控件」.</p>
14
+ * <p>使用场景: 一般用于开发自定义页面时, 需要动态添加表单字段.</p>
15
+ *
16
+ * @param varConfigControl 要添加的「变量配置:表单控件」.
17
+ */
18
+ createVarConfigControl(varConfigControl: VarConfigControl): void;
19
+ /**
20
+ * <p>添加一个「变量配置:变量翻译」.</p>
21
+ * <p>使用场景: 一般用于开发自定义页面时, 需要动态添加表单字段.</p>
22
+ *
23
+ * @param varConfigDescription 要添加的「变量配置:变量翻译」.
24
+ */
25
+ createVarConfigDescription(varConfigDescription: VarConfigDescription): void;
26
+ /**
27
+ * <p>添加一个「变量配置:列表数据」.</p>
28
+ * <p>使用场景: 一般用于开发自定义页面时, 需要动态添加表单字段.</p>
29
+ *
30
+ * @param varConfigPossibility 要添加的「变量配置:列表数据」.
31
+ */
32
+ createVarConfigPossibility(varConfigPossibility: VarConfigPossibility): void;
11
33
  /** 当前的 VarGridDetail 列表. */
12
34
  currentVarGridDetails: ComputedRef<ReturnType<IKgVarStore['getCurrentVarGridDetails']>>;
13
35
  /** 当前的 VarGridMaster ID. */
@@ -151,7 +151,10 @@ export interface IUseKgVarStoreActions {
151
151
  * @param event 事件名称.
152
152
  * @param listener 事件监听函数.
153
153
  */
154
- addEventListener(formID: string, event: IKgVarEvent, listener: IKgVarEventListener): void;
154
+ addEventListener(formID: string | null | undefined, event: IKgVarEvent, listener: IKgVarEventListener): void;
155
+ createVarConfigControl(formID: string | null | undefined, varConfigControl: VarConfigControl): void;
156
+ createVarConfigDescription(formID: string | null | undefined, varConfigDescription: VarConfigDescription): void;
157
+ createVarConfigPossibility(formID: string | null | undefined, varConfigPossibility: VarConfigPossibility): void;
155
158
  /**
156
159
  * <p>离开一个界面, 即销毁一个界面.</p>
157
160
  * <p>删除它的变量配置数据.</p>
@@ -20,3 +20,11 @@ export declare function transformVarButtonConfig(varButtonConfig: VarButtonConfi
20
20
  */
21
21
  export declare function transformVarGridDetails(varGridDetails?: Array<VarGridDetail> | null): Array<VarGridDetail>;
22
22
  export declare function transformVarProfileDetails(varProfileDetails?: Array<VarProfileDetail> | null): Array<VarProfileDetail>;
23
+ /**
24
+ * 给所有没有「提交表单字段」的「查询条件视图明细」创建一个默认的「提交表单字段」.
25
+ *
26
+ * @param varGridMasters 「查询条件视图」列表.
27
+ * @param varSubmitDetails 「提交表单字段」列表.
28
+ * @param varButtons 「按钮」列表.
29
+ */
30
+ export declare function createDefaultVarSubmitDetailsForVarProfileDetails(varGridMasters: Array<VarProfileMasterDTO>, varSubmitDetails: Array<VarSubmitDetail>, varButtons: Array<VarButton>): void;
@@ -537,7 +537,7 @@ export interface IKgVarSubmitConfigProperties {
537
537
  * <p>表单控件的参数.</p>
538
538
  * <p>对应于 {@link VarConfigControl.ctrl_prop} 字段, 根据表单控件的类型, 设置额外的参数.</p>
539
539
  * @see VarConfigControl.ctrl_prop
540
- * @see KG_FORM_ITEM_TYPE
540
+ * @see KG__VAR_CONFIG_CONTROL__CONTROL_TYPE
541
541
  */
542
542
  export interface IKgVarConfigControlControlProperties {
543
543
  CHECKBOX_GROUP: {
@@ -137,20 +137,14 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
137
137
  } | null | undefined;
138
138
  varProfileDetails?: {
139
139
  dft_dyn_op?: string | null | undefined;
140
- dft_val?: string | null | undefined;
141
- ena_flg?: number | null | undefined;
142
140
  exclude_from_where_sql_flag?: number | null | undefined;
143
141
  frm_id?: string | null | undefined;
144
142
  grp_nam?: string | null | undefined;
145
143
  id?: string | null | undefined;
146
- placeholder?: string | null | undefined;
147
144
  prf_var_nam?: string | null | undefined;
148
- rqr_flg?: number | null | undefined;
149
145
  srtseq?: number | null | undefined;
150
146
  use_underscore_when_dynamic_query_flag?: number | null | undefined;
151
147
  var_nam?: string | null | undefined;
152
- vis_flg?: number | null | undefined;
153
- width?: number | null | undefined;
154
148
  }[] | null | undefined;
155
149
  varProfileMaster?: {
156
150
  cust_lvl?: number | null | undefined;
@@ -176,6 +170,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
176
170
  layout?: string | null | undefined;
177
171
  max_width?: number | null | undefined;
178
172
  min_width?: number | null | undefined;
173
+ prf_var_nam?: string | null | undefined;
179
174
  props?: string | null | undefined;
180
175
  resizable_flg?: number | null | undefined;
181
176
  responsive_flg?: number | null | undefined;
@@ -191,6 +186,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
191
186
  id?: string | null | undefined;
192
187
  key_flg?: number | null | undefined;
193
188
  placeholder?: string | null | undefined;
189
+ prf_var_nam?: string | null | undefined;
194
190
  required_flag?: number | null | undefined;
195
191
  section?: string | null | undefined;
196
192
  srtseq?: number | null | undefined;
@@ -340,20 +336,14 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
340
336
  } | null | undefined;
341
337
  varProfileDetails?: {
342
338
  dft_dyn_op?: string | null | undefined;
343
- dft_val?: string | null | undefined;
344
- ena_flg?: number | null | undefined;
345
339
  exclude_from_where_sql_flag?: number | null | undefined;
346
340
  frm_id?: string | null | undefined;
347
341
  grp_nam?: string | null | undefined;
348
342
  id?: string | null | undefined;
349
- placeholder?: string | null | undefined;
350
343
  prf_var_nam?: string | null | undefined;
351
- rqr_flg?: number | null | undefined;
352
344
  srtseq?: number | null | undefined;
353
345
  use_underscore_when_dynamic_query_flag?: number | null | undefined;
354
346
  var_nam?: string | null | undefined;
355
- vis_flg?: number | null | undefined;
356
- width?: number | null | undefined;
357
347
  }[] | null | undefined;
358
348
  varProfileMaster?: {
359
349
  cust_lvl?: number | null | undefined;
@@ -379,6 +369,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
379
369
  layout?: string | null | undefined;
380
370
  max_width?: number | null | undefined;
381
371
  min_width?: number | null | undefined;
372
+ prf_var_nam?: string | null | undefined;
382
373
  props?: string | null | undefined;
383
374
  resizable_flg?: number | null | undefined;
384
375
  responsive_flg?: number | null | undefined;
@@ -394,6 +385,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
394
385
  id?: string | null | undefined;
395
386
  key_flg?: number | null | undefined;
396
387
  placeholder?: string | null | undefined;
388
+ prf_var_nam?: string | null | undefined;
397
389
  required_flag?: number | null | undefined;
398
390
  section?: string | null | undefined;
399
391
  srtseq?: number | null | undefined;
@@ -585,20 +577,14 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
585
577
  } | null | undefined;
586
578
  varProfileDetails?: {
587
579
  dft_dyn_op?: string | null | undefined;
588
- dft_val?: string | null | undefined;
589
- ena_flg?: number | null | undefined;
590
580
  exclude_from_where_sql_flag?: number | null | undefined;
591
581
  frm_id?: string | null | undefined;
592
582
  grp_nam?: string | null | undefined;
593
583
  id?: string | null | undefined;
594
- placeholder?: string | null | undefined;
595
584
  prf_var_nam?: string | null | undefined;
596
- rqr_flg?: number | null | undefined;
597
585
  srtseq?: number | null | undefined;
598
586
  use_underscore_when_dynamic_query_flag?: number | null | undefined;
599
587
  var_nam?: string | null | undefined;
600
- vis_flg?: number | null | undefined;
601
- width?: number | null | undefined;
602
588
  }[] | null | undefined;
603
589
  varProfileMaster?: {
604
590
  cust_lvl?: number | null | undefined;
@@ -624,6 +610,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
624
610
  layout?: string | null | undefined;
625
611
  max_width?: number | null | undefined;
626
612
  min_width?: number | null | undefined;
613
+ prf_var_nam?: string | null | undefined;
627
614
  props?: string | null | undefined;
628
615
  resizable_flg?: number | null | undefined;
629
616
  responsive_flg?: number | null | undefined;
@@ -639,6 +626,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
639
626
  id?: string | null | undefined;
640
627
  key_flg?: number | null | undefined;
641
628
  placeholder?: string | null | undefined;
629
+ prf_var_nam?: string | null | undefined;
642
630
  required_flag?: number | null | undefined;
643
631
  section?: string | null | undefined;
644
632
  srtseq?: number | null | undefined;
@@ -788,20 +776,14 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
788
776
  } | null | undefined;
789
777
  varProfileDetails?: {
790
778
  dft_dyn_op?: string | null | undefined;
791
- dft_val?: string | null | undefined;
792
- ena_flg?: number | null | undefined;
793
779
  exclude_from_where_sql_flag?: number | null | undefined;
794
780
  frm_id?: string | null | undefined;
795
781
  grp_nam?: string | null | undefined;
796
782
  id?: string | null | undefined;
797
- placeholder?: string | null | undefined;
798
783
  prf_var_nam?: string | null | undefined;
799
- rqr_flg?: number | null | undefined;
800
784
  srtseq?: number | null | undefined;
801
785
  use_underscore_when_dynamic_query_flag?: number | null | undefined;
802
786
  var_nam?: string | null | undefined;
803
- vis_flg?: number | null | undefined;
804
- width?: number | null | undefined;
805
787
  }[] | null | undefined;
806
788
  varProfileMaster?: {
807
789
  cust_lvl?: number | null | undefined;
@@ -827,6 +809,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
827
809
  layout?: string | null | undefined;
828
810
  max_width?: number | null | undefined;
829
811
  min_width?: number | null | undefined;
812
+ prf_var_nam?: string | null | undefined;
830
813
  props?: string | null | undefined;
831
814
  resizable_flg?: number | null | undefined;
832
815
  responsive_flg?: number | null | undefined;
@@ -842,6 +825,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
842
825
  id?: string | null | undefined;
843
826
  key_flg?: number | null | undefined;
844
827
  placeholder?: string | null | undefined;
828
+ prf_var_nam?: string | null | undefined;
845
829
  required_flag?: number | null | undefined;
846
830
  section?: string | null | undefined;
847
831
  srtseq?: number | null | undefined;
@@ -1033,20 +1017,14 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1033
1017
  } | null | undefined;
1034
1018
  varProfileDetails?: {
1035
1019
  dft_dyn_op?: string | null | undefined;
1036
- dft_val?: string | null | undefined;
1037
- ena_flg?: number | null | undefined;
1038
1020
  exclude_from_where_sql_flag?: number | null | undefined;
1039
1021
  frm_id?: string | null | undefined;
1040
1022
  grp_nam?: string | null | undefined;
1041
1023
  id?: string | null | undefined;
1042
- placeholder?: string | null | undefined;
1043
1024
  prf_var_nam?: string | null | undefined;
1044
- rqr_flg?: number | null | undefined;
1045
1025
  srtseq?: number | null | undefined;
1046
1026
  use_underscore_when_dynamic_query_flag?: number | null | undefined;
1047
1027
  var_nam?: string | null | undefined;
1048
- vis_flg?: number | null | undefined;
1049
- width?: number | null | undefined;
1050
1028
  }[] | null | undefined;
1051
1029
  varProfileMaster?: {
1052
1030
  cust_lvl?: number | null | undefined;
@@ -1072,6 +1050,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1072
1050
  layout?: string | null | undefined;
1073
1051
  max_width?: number | null | undefined;
1074
1052
  min_width?: number | null | undefined;
1053
+ prf_var_nam?: string | null | undefined;
1075
1054
  props?: string | null | undefined;
1076
1055
  resizable_flg?: number | null | undefined;
1077
1056
  responsive_flg?: number | null | undefined;
@@ -1087,6 +1066,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1087
1066
  id?: string | null | undefined;
1088
1067
  key_flg?: number | null | undefined;
1089
1068
  placeholder?: string | null | undefined;
1069
+ prf_var_nam?: string | null | undefined;
1090
1070
  required_flag?: number | null | undefined;
1091
1071
  section?: string | null | undefined;
1092
1072
  srtseq?: number | null | undefined;
@@ -1236,20 +1216,14 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1236
1216
  } | null | undefined;
1237
1217
  varProfileDetails?: {
1238
1218
  dft_dyn_op?: string | null | undefined;
1239
- dft_val?: string | null | undefined;
1240
- ena_flg?: number | null | undefined;
1241
1219
  exclude_from_where_sql_flag?: number | null | undefined;
1242
1220
  frm_id?: string | null | undefined;
1243
1221
  grp_nam?: string | null | undefined;
1244
1222
  id?: string | null | undefined;
1245
- placeholder?: string | null | undefined;
1246
1223
  prf_var_nam?: string | null | undefined;
1247
- rqr_flg?: number | null | undefined;
1248
1224
  srtseq?: number | null | undefined;
1249
1225
  use_underscore_when_dynamic_query_flag?: number | null | undefined;
1250
1226
  var_nam?: string | null | undefined;
1251
- vis_flg?: number | null | undefined;
1252
- width?: number | null | undefined;
1253
1227
  }[] | null | undefined;
1254
1228
  varProfileMaster?: {
1255
1229
  cust_lvl?: number | null | undefined;
@@ -1275,6 +1249,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1275
1249
  layout?: string | null | undefined;
1276
1250
  max_width?: number | null | undefined;
1277
1251
  min_width?: number | null | undefined;
1252
+ prf_var_nam?: string | null | undefined;
1278
1253
  props?: string | null | undefined;
1279
1254
  resizable_flg?: number | null | undefined;
1280
1255
  responsive_flg?: number | null | undefined;
@@ -1290,6 +1265,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1290
1265
  id?: string | null | undefined;
1291
1266
  key_flg?: number | null | undefined;
1292
1267
  placeholder?: string | null | undefined;
1268
+ prf_var_nam?: string | null | undefined;
1293
1269
  required_flag?: number | null | undefined;
1294
1270
  section?: string | null | undefined;
1295
1271
  srtseq?: number | null | undefined;
@@ -122,6 +122,12 @@ export declare class KgUtil {
122
122
  * @return 转换后的字符串.
123
123
  */
124
124
  static snakeCase(value: any): string;
125
+ /**
126
+ * 获取唯一标识.
127
+ *
128
+ * @return UUID.
129
+ */
130
+ static uuid(): string;
125
131
  }
126
132
  export declare type ModalFunc = {
127
133
  destroy: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.26.0",
3
+ "version": "0.26.2",
4
4
  "scripts": {
5
5
  "build": "npm run switch-node-version && rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "npm run switch-node-version && rimraf dist && vue-tsc && vite build --mode development",
@@ -23,12 +23,10 @@
23
23
  "publish:all": "npm run switch-node-version && tsx scripts/publish.ts",
24
24
  "publish:npm": "npm run switch-node-version && npmrc kengic && npm publish ./ --registry https://registry.npmjs.org/ --access public",
25
25
  "------- ------------------------------------------": "",
26
- "copy-to:luotao:smartfactory.product.wms.wms--dev-3.1": "npm run build:dev && tsx scripts/copy-to.luotao.smartfactory.product.wms.wms--dev-3.1.ts",
27
26
  "copy-to:luotao:smartfactory.product.wms.wms--dev-3.2": "npm run build:dev && tsx scripts/copy-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts",
28
27
  "copy-to:luotao:smartfactory.product.wms.wms-vue3--focus": "npm run build:dev && tsx scripts/copy-to.luotao.smartfactory.product.wms.wms-vue3--focus.ts",
29
28
  "copy-to:luotao:smartfactory.tyre.haohua.gantry.was-java--main": "npm run build:dev && tsx scripts/copy-to.luotao.smartfactory.tyre.haohua.gantry.was-java--main.ts",
30
29
  "--- ----------------------------------------------": "",
31
- "bump-to:luotao:smartfactory.product.wms.wms--dev-3.1": "npm run switch-node-version && tsx scripts/bump-to.luotao.smartfactory.product.wms.wms--dev-3.1.ts",
32
30
  "bump-to:luotao:smartfactory.product.wms.wms--dev-3.2": "npm run switch-node-version && tsx scripts/bump-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts",
33
31
  "bump-to:luotao:smartfactory.product.wms.wms-vue3--focus": "npm run switch-node-version && tsx scripts/bump-to.luotao.smartfactory.product.wms.wms-vue3--focus.ts"
34
32
  },
@@ -54,6 +52,7 @@
54
52
  "@types/node": "18.18.4",
55
53
  "@types/semver": "7.5.3",
56
54
  "@types/store": "2.0.3",
55
+ "@types/uuid": "10.0.0",
57
56
  "@vitejs/plugin-legacy": "2.3.1",
58
57
  "@vitejs/plugin-vue": "3.2.0",
59
58
  "@vitejs/plugin-vue-jsx": "1.3.10",
@@ -81,6 +80,7 @@
81
80
  "store": "2.0.12",
82
81
  "tsx": "3.12.3",
83
82
  "typescript": "~4.8.4",
83
+ "uuid": "10.0.0",
84
84
  "vite": "3.2.3",
85
85
  "vite-plugin-compression": "0.5.1",
86
86
  "vite-plugin-html": "3.2.0",