@kengic/vue 0.23.6 → 0.23.7-beta.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -37,12 +37,10 @@ export interface IUseKgButton {
|
|
37
37
|
* <ul>
|
38
38
|
* <li>
|
39
39
|
* <p>如果参数 {@link param.type} !== <code>undefined</code> && {@link param.type} !== {@link KG__VAR_BUTTON__TYPE.OTHER}, 则根据参数 {@link param.type} 获取按钮.</p>
|
40
|
-
* <p>调用方式如下: <code>isClickIntercepted({ type: KG__VAR_BUTTON__TYPE.CREATE });</code></p>
|
41
40
|
* </li>
|
42
41
|
* <li>
|
43
42
|
* <p>如果参数 {@link param.type} === <code>undefined</code> || {@link param.type} === {@link KG__VAR_BUTTON__TYPE.OTHER}, 则参数 {@link param.varName} 必须传值, 否则报错.</p>
|
44
43
|
* <p>根据参数 {@link param.varName} 获取按钮.</p>
|
45
|
-
* <p>调用方式如下: <code>isClickIntercepted({ varName: 'SOME-OTHER-BUTTON' });</code></p>
|
46
44
|
* </li>
|
47
45
|
* </ul>
|
48
46
|
*
|
@@ -59,12 +57,10 @@ export interface IUseKgButton {
|
|
59
57
|
* <ul>
|
60
58
|
* <li>
|
61
59
|
* <p>如果参数 {@link param.type} !== <code>undefined</code> && {@link param.type} !== {@link KG__VAR_BUTTON__TYPE.OTHER}, 则根据参数 {@link param.type} 获取按钮.</p>
|
62
|
-
* <p>调用方式如下: <code>isCurrentButton({ type: KG__VAR_BUTTON__TYPE.CREATE });</code></p>
|
63
60
|
* </li>
|
64
61
|
* <li>
|
65
62
|
* <p>如果参数 {@link param.type} === <code>undefined</code> || {@link param.type} === {@link KG__VAR_BUTTON__TYPE.OTHER}, 则参数 {@link param.varName} 必须传值, 否则报错.</p>
|
66
63
|
* <p>根据参数 {@link param.varName} 获取按钮.</p>
|
67
|
-
* <p>调用方式如下: <code>isCurrentButton({ varName: 'SOME-OTHER-BUTTON' });</code></p>
|
68
64
|
* </li>
|
69
65
|
* </ul>
|
70
66
|
*
|
@@ -121,16 +117,13 @@ export interface IUseKgButton {
|
|
121
117
|
* <ul>
|
122
118
|
* <li>
|
123
119
|
* <p>如果参数 {@link param} === null, 表示清空「当前按钮」.</p>
|
124
|
-
* <p>调用方式如下: <code>setCurrentButton(null);</code></p>
|
125
120
|
* </li>
|
126
121
|
* <li>
|
127
122
|
* <p>否则, 如果参数 {@link param.type} !== <code>undefined</code> && {@link param.type} !== {@link KG__VAR_BUTTON__TYPE.OTHER}, 则根据参数 {@link param.type} 获取按钮.</p>
|
128
|
-
* <p>调用方式如下: <code>setCurrentButton({ type: KG__VAR_BUTTON__TYPE.CREATE });</code></p>
|
129
123
|
* </li>
|
130
124
|
* <li>
|
131
125
|
* <p>否则, 如果参数 {@link param.type} === <code>undefined</code> || {@link param.type} === {@link KG__VAR_BUTTON__TYPE.OTHER}, 则参数 {@link param.varName} 必须传值, 否则报错.</p>
|
132
126
|
* <p>根据参数 {@link param.varName} 获取按钮.</p>
|
133
|
-
* <p>调用方式如下: <code>setCurrentButton({ varName: 'SOME-OTHER-BUTTON' });</code></p>
|
134
127
|
* </li>
|
135
128
|
* </ul>
|
136
129
|
*
|
@@ -147,12 +140,10 @@ export interface IUseKgButton {
|
|
147
140
|
* <ul>
|
148
141
|
* <li>
|
149
142
|
* <p>如果参数 {@link param.type} !== <code>undefined</code> && {@link param.type} !== {@link KG__VAR_BUTTON__TYPE.OTHER}, 则根据参数 {@link param.type} 获取按钮.</p>
|
150
|
-
* <p>调用方式如下: <code>setIsClickIntercepted({ type: KG__VAR_BUTTON__TYPE.CREATE, isIntercepted: true });</code></p>
|
151
143
|
* </li>
|
152
144
|
* <li>
|
153
145
|
* <p>如果参数 {@link param.type} === <code>undefined</code> || {@link param.type} === {@link KG__VAR_BUTTON__TYPE.OTHER}, 则参数 {@link param.varName} 必须传值, 否则报错.</p>
|
154
146
|
* <p>根据参数 {@link param.varName} 获取按钮.</p>
|
155
|
-
* <p>调用方式如下: <code>setIsClickIntercepted({ varName: 'SOME-OTHER-BUTTON', isIntercepted: true });</code></p>
|
156
147
|
* </li>
|
157
148
|
* </ul>
|
158
149
|
*
|
@@ -67,14 +67,14 @@ export declare type IUseKgVar = {
|
|
67
67
|
isDeletingRequesting: ComputedRef<ReturnType<IKgVarStore['isDeletingRequesting']>>;
|
68
68
|
/** 其他按钮:正在调用接口. */
|
69
69
|
isOtherRequesting: ComputedRef<ReturnType<IKgVarStore['isOtherRequesting']>>;
|
70
|
+
/** 变量配置是否查询完成. */
|
71
|
+
isRequested: ComputedRef<ReturnType<IKgVarStore['isRequested']>>;
|
70
72
|
/** 正在查询变量配置. */
|
71
73
|
isRetrieving: ComputedRef<ReturnType<IKgVarStore['isRetrieving']>>;
|
72
74
|
/** 正在查询 VarGridMaster. */
|
73
75
|
isRetrievingVarGridMaster: ComputedRef<ReturnType<IKgVarStore['isRetrievingVarGridMaster']>>;
|
74
76
|
/** 正在查询 VarProfileMaster. */
|
75
77
|
isRetrievingVarProfileMaster: ComputedRef<ReturnType<IKgVarStore['isRetrievingVarProfileMaster']>>;
|
76
|
-
/** 变量配置是否查询完成. */
|
77
|
-
isSearched: ComputedRef<ReturnType<IKgVarStore['isSearched']>>;
|
78
78
|
/**
|
79
79
|
* 是否正在更新.
|
80
80
|
*/
|
@@ -136,11 +136,11 @@ export interface IUseKgVarStoreGetters {
|
|
136
136
|
isCreatingRequesting(): (formID: string | null | undefined) => boolean | null;
|
137
137
|
isDeletingRequesting(): (formID: string | null | undefined) => boolean | null;
|
138
138
|
isOtherRequesting(): (formID: string | null | undefined) => boolean | null;
|
139
|
+
/** 变量配置是否查询完成. */
|
140
|
+
isRequested(): (formID: string | null | undefined) => boolean;
|
139
141
|
isRetrieving(): (formID: string | null | undefined) => boolean | null;
|
140
142
|
isRetrievingVarGridMaster(): (formID: string | null | undefined) => boolean | null;
|
141
143
|
isRetrievingVarProfileMaster(): (formID: string | null | undefined) => boolean | null;
|
142
|
-
/** 变量配置是否查询完成. */
|
143
|
-
isSearched(): (formID: string | null | undefined) => boolean;
|
144
144
|
isUpdatingRequesting(): (formID: string | null | undefined) => boolean | null;
|
145
145
|
/**
|
146
146
|
* 翻译变量.
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.23.
|
3
|
+
"version": "0.23.7-beta.0",
|
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",
|