@kengic/vue 0.30.1-beta.72 → 0.30.1-beta.73
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.
package/dist/kengic-vue.js
CHANGED
|
@@ -168314,7 +168314,7 @@ function _interopRequireDefault(oe) {
|
|
|
168314
168314
|
return oe && oe.__esModule ? oe : { default: oe };
|
|
168315
168315
|
}
|
|
168316
168316
|
default_1 = zhTW.default = _zhCHT.default;
|
|
168317
|
-
const version = "0.30.1-beta.
|
|
168317
|
+
const version = "0.30.1-beta.73", KG = {
|
|
168318
168318
|
DB_COLUMN_TYPE: {
|
|
168319
168319
|
NCHAR: "NCHAR",
|
|
168320
168320
|
NVARCHAR: "NVARCHAR"
|
|
@@ -211735,9 +211735,9 @@ const KgVar = defineComponent({
|
|
|
211735
211735
|
var ua, ga;
|
|
211736
211736
|
return !(!ea.isRequested.value || ((ua = ea.varGridConfig.value) == null ? void 0 : ua.available_flg) === 0 || ((ga = ea.varGridConfig$Props$$.value) == null ? void 0 : ga.componentVersion) !== "02");
|
|
211737
211737
|
}), la = computed(() => !!ea.isOtherRequesting$$.value), sa = computed(() => {
|
|
211738
|
-
var ga, da
|
|
211738
|
+
var ga, da;
|
|
211739
211739
|
let ua = "kg-var";
|
|
211740
|
-
return
|
|
211740
|
+
return (oe.kgBackgroundGray || ((da = (ga = ea.props.value) == null ? void 0 : ga.KgVar) == null ? void 0 : da.kgBackgroundGray)) && (ua += " kg-var--bg-gray"), !na.value && !ra.value && !oa.value && (ua += " kg-var--empty"), ua;
|
|
211741
211741
|
});
|
|
211742
211742
|
function ca() {
|
|
211743
211743
|
return createVNode(Spin, {
|
|
@@ -213426,32 +213426,33 @@ function useFormModel(oe) {
|
|
|
213426
213426
|
let na, ra;
|
|
213427
213427
|
const oa = ref$1({}), aa = ref$1({});
|
|
213428
213428
|
async function la() {
|
|
213429
|
-
|
|
213430
|
-
|
|
213431
|
-
const
|
|
213432
|
-
oa.value[
|
|
213429
|
+
var sa, ca, ua, ga, da, fa;
|
|
213430
|
+
for (const ma of ea.kgSearch.currentVarProfileDetails.value) {
|
|
213431
|
+
const ha = (sa = ma.var_nam) != null ? sa : "";
|
|
213432
|
+
oa.value[ha] = _KgUtil.transformVarSubmitDetailValue({
|
|
213433
213433
|
$dayjs: ue,
|
|
213434
|
-
buttonVarName: (
|
|
213434
|
+
buttonVarName: (ua = (ca = ea.varButtonSearch.value) == null ? void 0 : ca.var_nam) != null ? ua : null,
|
|
213435
213435
|
formID: ea.fid,
|
|
213436
|
-
oldValue: (
|
|
213437
|
-
varProfileDetail:
|
|
213438
|
-
})) == null ? void 0 :
|
|
213439
|
-
varName:
|
|
213440
|
-
}), aa.value[
|
|
213436
|
+
oldValue: (da = (ga = ea.kgSubmit.getVarSubmitDetailByVarProfileDetail({
|
|
213437
|
+
varProfileDetail: ma
|
|
213438
|
+
})) == null ? void 0 : ga.default_value) != null ? da : void 0,
|
|
213439
|
+
varName: ha
|
|
213440
|
+
}), aa.value[ha] = _KgUtil.transformFormItemDynamicQueryOperator({
|
|
213441
213441
|
formID: ea.fid,
|
|
213442
|
-
value: (
|
|
213443
|
-
varName:
|
|
213442
|
+
value: (fa = ma.dft_dyn_op) != null ? fa : void 0,
|
|
213443
|
+
varName: ha
|
|
213444
213444
|
});
|
|
213445
|
-
}
|
|
213446
|
-
|
|
213445
|
+
}
|
|
213446
|
+
ea.kgSearch.store.setFormModel(ea.fid, oa.value), ea.kgSearch.store.setDynamicQueryOperatorModel(ea.fid, aa.value), ta.value ? (ra == null || ra(), ra = watch(ae, async (ma) => {
|
|
213447
|
+
ma && (await emit$2({
|
|
213447
213448
|
event: "onReady",
|
|
213448
213449
|
id: ea.fid,
|
|
213449
213450
|
parameter: {}
|
|
213450
213451
|
}), ea.kgSearch.store.setIsReady(ea.fid, !0));
|
|
213451
213452
|
}, {
|
|
213452
213453
|
immediate: !0
|
|
213453
|
-
})) : (na == null || na(), na = watch(ie, async (
|
|
213454
|
-
|
|
213454
|
+
})) : (na == null || na(), na = watch(ie, async (ma) => {
|
|
213455
|
+
ma && (await emit$2({
|
|
213455
213456
|
event: "onReady",
|
|
213456
213457
|
id: ea.fid,
|
|
213457
213458
|
parameter: {}
|
|
@@ -32,7 +32,9 @@ export declare function transformVarProfileDetails(varProfileDetails?: Array<Var
|
|
|
32
32
|
*/
|
|
33
33
|
export declare function createDefaultVarSubmitDetailsForVarProfileDetails(varGridMasters: Array<VarProfileMasterDTO>, varSubmitDetails: Array<VarSubmitDetail>, varButtons: Array<VarButton>): void;
|
|
34
34
|
export interface UseKgVarStoreGetters {
|
|
35
|
-
/**
|
|
35
|
+
/**
|
|
36
|
+
* 获取当前「表格视图」的主键.
|
|
37
|
+
*/
|
|
36
38
|
getCurrentVarGridMasterID: (formID: string | null | undefined) => string | null;
|
|
37
39
|
/**
|
|
38
40
|
* 获取当前的「查询条件」.
|
|
@@ -58,8 +60,8 @@ export interface UseKgVarStoreGetters {
|
|
|
58
60
|
getVarButtonCreate: (formID: string | null | undefined) => VarButton | null;
|
|
59
61
|
getVarButtonDelete: (formID: string | null | undefined) => VarButton | null;
|
|
60
62
|
getVarButtonMap: Record<string, Array<VarButton>>;
|
|
61
|
-
getVarButtonUpdate: (formID: string | null | undefined) => VarButton | null;
|
|
62
63
|
getVarButtonSearch: (formID: string | null | undefined) => VarButton | null;
|
|
64
|
+
getVarButtonUpdate: (formID: string | null | undefined) => VarButton | null;
|
|
63
65
|
getVarButtons: (formID: string | null | undefined) => Array<VarButton>;
|
|
64
66
|
getVarChildDetails: (formID: string | null | undefined) => Array<VarChildDetail>;
|
|
65
67
|
getVarConfigControl: (formID: string | null | undefined, param: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kengic/vue",
|
|
3
|
-
"version": "0.30.1-beta.
|
|
3
|
+
"version": "0.30.1-beta.73",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "npm run use-node && rimraf dist && vue-tsc && vite build",
|
|
6
6
|
"build--development": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
|