@kengic/vue 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +518 -467
- package/dist/src/{src/utils → utils}/logger.util.d.ts +11 -0
- package/package.json +1 -1
- /package/dist/src/{src/apis → apis}/WMS/Controllers/VarContextController/Add.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/VarContextController/Delete.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/VarContextController/DeleteBatch.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/VarContextController/Edit.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/VarContextController/ExportXls.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/VarContextController/ImportExcel.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/VarContextController/List.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/VarContextController/QueryById.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/VarContextController/index.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/VarController/GetAll.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/VarController/index.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/VarGridMasterController/Update.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/VarGridMasterController/index.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/VarProfileMasterController/index.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/VarVariableCatalogController/Add.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/VarVariableCatalogController/Delete.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/VarVariableCatalogController/DeleteBatch.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/VarVariableCatalogController/Edit.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/VarVariableCatalogController/ExportXls.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/VarVariableCatalogController/ImportExcel.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/VarVariableCatalogController/List.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/VarVariableCatalogController/QueryById.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/VarVariableCatalogController/index.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/WhController/ListVO.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/WhController/index.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/Controllers/index.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/index.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/WMS/models.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/api.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/def.d.ts +0 -0
- /package/dist/src/{src/apis → apis}/index.d.ts +0 -0
- /package/dist/src/{src/assets → assets}/icons/material-symbols.save-as-outline-rounded.d.ts +0 -0
- /package/dist/src/{src/assets → assets}/icons/material-symbols.save-outline-rounded.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgAppSelect/KgAppSelect.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgAppSelect/index.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgAppSelect/index.hooks.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgAppSelect/index.store.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgButton/KgButton.Item.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgButton/KgButton.Item.data.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgButton/KgButton.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgButton/components/KgButton.Copy.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgButton/components/KgButton.Create.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgButton/components/KgButton.Delete.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgButton/components/KgButton.Export.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgButton/components/KgButton.Import.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgButton/components/KgButton.ImportTemplate.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgButton/components/KgButton.Other.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgButton/components/KgButton.Search.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgButton/components/KgButton.Update.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgButton/index.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgButton/index.hooks.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgButton/index.store.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgForm/KgForm.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgForm/index.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgForm/index.hooks.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgForm/index.store.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgForm/index.vm.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgForm.Item/KgForm.Item.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgForm.Item/KgForm.Item.hooks.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgForm.Item/addon/KgForm.Item.Addon.Lookup.Modal.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgForm.Item/addon/KgForm.Item.Addon.Lookup.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgForm.Item/components/KgForm.Item.Date.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgForm.Item/components/KgForm.Item.DateRange.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgForm.Item/components/KgForm.Item.Input.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgForm.Item/components/KgForm.Item.Select.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgForm.Item/components/KgForm.Item.Select.hooks.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgForm.Item/components/KgForm.Item.Switch.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgForm.Item/components/KgForm.Item.TextArea.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgForm.Item/index.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgForm.Item/index.vm.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgModal/KgModal.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgModal/components/KgModal.Close.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgModal/index.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgModal/index.vm.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgProgressA/KgProgressA.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgProgressA/index.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgResizable/KgResizable.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgResizable/index.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgSearch/KgSearch.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgSearch/KgSearch.hooks.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgSearch/components/KgSearch.ConfigModal.Body.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgSearch/components/KgSearch.ConfigModal.VarProfileConfig.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgSearch/components/KgSearch.ConfigModal.VarProfileMaster.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgSearch/components/KgSearch.ConfigModal.VarProfileMaster.hooks.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgSearch/components/KgSearch.ConfigModal.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgSearch/index.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgSearch/index.hooks.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgSearch/index.store.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgSearch/index.vm.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgSubmit/KgSubmit.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgSubmit/KgSubmit.hooks.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgSubmit/components/KgSubmit.Header.VarSubmitConfig.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgSubmit/components/KgSubmit.Header.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgSubmit/index.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgSubmit/index.hooks.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgSubmit/index.store.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgSubmit/index.vm.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgTable/KgTable.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgTable/KgTable.hooks.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgTable/components/KgTable.Cell.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgTable/components/KgTable.Info.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgTable/components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgTable/components/setting/KgTable.Setting.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgTable/components/setting/KgTable.Setting.hooks.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgTable/components/setting/config/KgTable.Setting.ConfigModal.Body.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridConfig.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridMaster.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridMaster.hooks.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgTable/components/setting/config/KgTable.Setting.ConfigModal.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgTable/index.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgTable/index.hooks.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgTable/index.store.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgTable/index.vm.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgVar/KgVar.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgVar/index.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgVar/index.hooks.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgVar/index.store.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgVar/index.store.service.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgVar/index.vm.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgVarConfig/KgVarConfig.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgVarConfig/components/KgVarConfig.FormIDsModal.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgVarConfig/components/KgVarConfig.Modal.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitField.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgVarConfig/components/var/KgVarConfig.Modal.Var.CreateModal.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarCatalog.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarCatalog.data.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgVarConfig/components/var/KgVarConfig.Modal.Var.Vars.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgVarConfig/components/var/KgVarConfig.Modal.Var.Vars.data.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgVarConfig/components/var/KgVarConfig.Modal.Var.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgVarConfig/index.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgVarConfig/index.store.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgVarConfig/index.vm.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgWarehouse/KgWarehouse.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgWarehouse/index.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgWarehouse/index.guard.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgWarehouse/index.hooks.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgWarehouse/index.store.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgYesOrNo/KgYesOrNo.d.ts +0 -0
- /package/dist/src/{src/components → components}/KgYesOrNo/index.d.ts +0 -0
- /package/dist/src/{src/components → components}/index.d.ts +0 -0
- /package/dist/src/{src/components → components}/util.d.ts +0 -0
- /package/dist/src/{src/config → config}/index.d.ts +0 -0
- /package/dist/src/{src/config → config}/index.hooks.d.ts +0 -0
- /package/dist/src/{src/config → config}/index.store.d.ts +0 -0
- /package/dist/src/{src/config → config}/setup.d.ts +0 -0
- /package/dist/src/{src/consts → consts}/i18n/en.d.ts +0 -0
- /package/dist/src/{src/consts → consts}/i18n/index.d.ts +0 -0
- /package/dist/src/{src/consts → consts}/i18n/zh_CN.d.ts +0 -0
- /package/dist/src/{src/consts → consts}/index.d.ts +0 -0
- /package/dist/src/{src/consts → consts}/index.vm.d.ts +0 -0
- /package/dist/src/{src/consts → consts}/injection-keys.const.d.ts +0 -0
- /package/dist/src/{src/helpers → helpers}/ant-design-vue.d.ts +0 -0
- /package/dist/src/{src/helpers → helpers}/tsx.helper.d.ts +0 -0
- /package/dist/src/{src/index.d.ts → index.d.ts} +0 -0
- /package/dist/src/{src/services → services}/http-client.d.ts +0 -0
- /package/dist/src/{src/services → services}/index.d.ts +0 -0
- /package/dist/src/{src/utils → utils}/dom.util.d.ts +0 -0
- /package/dist/src/{src/utils → utils}/index.d.ts +0 -0
- /package/dist/src/{src/utils → utils}/kg.util.d.ts +0 -0
- /package/dist/src/{src/utils → utils}/route.util.d.ts +0 -0
- /package/dist/src/{src/utils → utils}/var.util.d.ts +0 -0
package/dist/kengic-vue.js
CHANGED
@@ -3349,7 +3349,7 @@ function sendQuery(e, t, r, a) {
|
|
3349
3349
|
}
|
3350
3350
|
function k(C, D, w) {
|
3351
3351
|
const O = D !== "success";
|
3352
|
-
switch (p = p.filter((
|
3352
|
+
switch (p = p.filter(($) => $ !== C), i) {
|
3353
3353
|
case "pending":
|
3354
3354
|
break;
|
3355
3355
|
case "failed":
|
@@ -3368,11 +3368,11 @@ function sendQuery(e, t, r, a) {
|
|
3368
3368
|
return;
|
3369
3369
|
}
|
3370
3370
|
if (y(), T(), !e.random) {
|
3371
|
-
const
|
3372
|
-
|
3371
|
+
const $ = e.resources.indexOf(C.resource);
|
3372
|
+
$ !== -1 && $ !== e.index && (e.index = $);
|
3373
3373
|
}
|
3374
|
-
i = "completed", v.forEach((
|
3375
|
-
|
3374
|
+
i = "completed", v.forEach(($) => {
|
3375
|
+
$(w);
|
3376
3376
|
});
|
3377
3377
|
}
|
3378
3378
|
function A() {
|
@@ -3917,7 +3917,7 @@ const emptyIcon = {
|
|
3917
3917
|
...t.data
|
3918
3918
|
}, r);
|
3919
3919
|
}
|
3920
|
-
}), name = "@kengic/vue", version = "0.
|
3920
|
+
}), name = "@kengic/vue", version = "0.12.0", data$1 = {
|
3921
3921
|
width: 24,
|
3922
3922
|
height: 24,
|
3923
3923
|
body: '<path fill="currentColor" d="M5 21q-.825 0-1.413-.588T3 19V5q0-.825.588-1.413T5 3h11.175q.4 0 .763.15t.637.425l2.85 2.85q.275.275.425.638t.15.762V12.3q-.475-.2-.988-.263T19 12.05V7.825L16.175 5H5v14h6v2H5ZM5 5v14V5Zm8 17v-1.65q0-.2.075-.388t.225-.337l5.225-5.2q.225-.225.5-.325t.55-.1q.3 0 .575.113t.5.337l.925.925q.2.225.313.5t.112.55q0 .275-.1.563t-.325.512l-5.2 5.2q-.15.15-.338.225T15.65 23H14q-.425 0-.712-.287T13 22Zm7.5-5.575l-.925-.925l.925.925Zm-6 5.075h.95l3.025-3.05l-.45-.475l-.475-.45l-3.05 3.025v.95Zm3.525-3.525l-.475-.45l.925.925l-.45-.475ZM7 10h7q.425 0 .713-.288T15 9V7q0-.425-.288-.713T14 6H7q-.425 0-.713.288T6 7v2q0 .425.288.713T7 10Zm5 8h.1l2.9-2.875V15q0-1.25-.875-2.125T12 12q-1.25 0-2.125.875T9 15q0 1.25.875 2.125T12 18Z"/>'
|
@@ -3936,103 +3936,103 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
|
|
3936
3936
|
(function(r, a) {
|
3937
3937
|
e.exports = a();
|
3938
3938
|
})(commonjsGlobal, function() {
|
3939
|
-
var r = 1e3, a = 6e4, n = 36e5, s = "millisecond", l = "second", o = "minute", i = "hour", c = "day", u = "week", d = "month", p = "quarter", v = "year", y = "date", _ = "Invalid Date", g = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, b = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, E = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(
|
3940
|
-
var
|
3941
|
-
return "[" +
|
3942
|
-
} }, T = function(
|
3943
|
-
var P = String(
|
3944
|
-
return !P || P.length >=
|
3945
|
-
}, k = { s: T, z: function(
|
3946
|
-
var
|
3947
|
-
return (
|
3948
|
-
}, m: function
|
3949
|
-
if (
|
3950
|
-
return
|
3951
|
-
var P = 12 * (V.year() -
|
3952
|
-
return +(-(P + (V -
|
3953
|
-
}, a: function(
|
3954
|
-
return
|
3955
|
-
}, p: function(
|
3956
|
-
return { M: d, y: v, w: u, d: c, D: y, h: i, m: o, s: l, ms: s, Q: p }[
|
3957
|
-
}, u: function(
|
3958
|
-
return
|
3939
|
+
var r = 1e3, a = 6e4, n = 36e5, s = "millisecond", l = "second", o = "minute", i = "hour", c = "day", u = "week", d = "month", p = "quarter", v = "year", y = "date", _ = "Invalid Date", g = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, b = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, E = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(L) {
|
3940
|
+
var M = ["th", "st", "nd", "rd"], V = L % 100;
|
3941
|
+
return "[" + L + (M[(V - 20) % 10] || M[V] || M[0]) + "]";
|
3942
|
+
} }, T = function(L, M, V) {
|
3943
|
+
var P = String(L);
|
3944
|
+
return !P || P.length >= M ? L : "" + Array(M + 1 - P.length).join(V) + L;
|
3945
|
+
}, k = { s: T, z: function(L) {
|
3946
|
+
var M = -L.utcOffset(), V = Math.abs(M), P = Math.floor(V / 60), B = V % 60;
|
3947
|
+
return (M <= 0 ? "+" : "-") + T(P, 2, "0") + ":" + T(B, 2, "0");
|
3948
|
+
}, m: function L(M, V) {
|
3949
|
+
if (M.date() < V.date())
|
3950
|
+
return -L(V, M);
|
3951
|
+
var P = 12 * (V.year() - M.year()) + (V.month() - M.month()), B = M.clone().add(P, d), H = V - B < 0, K = M.clone().add(P + (H ? -1 : 1), d);
|
3952
|
+
return +(-(P + (V - B) / (H ? B - K : K - B)) || 0);
|
3953
|
+
}, a: function(L) {
|
3954
|
+
return L < 0 ? Math.ceil(L) || 0 : Math.floor(L);
|
3955
|
+
}, p: function(L) {
|
3956
|
+
return { M: d, y: v, w: u, d: c, D: y, h: i, m: o, s: l, ms: s, Q: p }[L] || String(L || "").toLowerCase().replace(/s$/, "");
|
3957
|
+
}, u: function(L) {
|
3958
|
+
return L === void 0;
|
3959
3959
|
} }, A = "en", C = {};
|
3960
3960
|
C[A] = E;
|
3961
|
-
var D = "$isDayjsObject", w = function(
|
3962
|
-
return
|
3963
|
-
}, O = function
|
3964
|
-
var
|
3965
|
-
if (!
|
3961
|
+
var D = "$isDayjsObject", w = function(L) {
|
3962
|
+
return L instanceof R || !(!L || !L[D]);
|
3963
|
+
}, O = function L(M, V, P) {
|
3964
|
+
var B;
|
3965
|
+
if (!M)
|
3966
3966
|
return A;
|
3967
|
-
if (typeof
|
3968
|
-
var H =
|
3969
|
-
C[H] && (
|
3970
|
-
var K =
|
3971
|
-
if (!
|
3972
|
-
return
|
3967
|
+
if (typeof M == "string") {
|
3968
|
+
var H = M.toLowerCase();
|
3969
|
+
C[H] && (B = H), V && (C[H] = V, B = H);
|
3970
|
+
var K = M.split("-");
|
3971
|
+
if (!B && K.length > 1)
|
3972
|
+
return L(K[0]);
|
3973
3973
|
} else {
|
3974
|
-
var F =
|
3975
|
-
C[F] =
|
3974
|
+
var F = M.name;
|
3975
|
+
C[F] = M, B = F;
|
3976
3976
|
}
|
3977
|
-
return !P &&
|
3978
|
-
},
|
3979
|
-
if (w(
|
3980
|
-
return
|
3981
|
-
var V = typeof
|
3982
|
-
return V.date =
|
3983
|
-
},
|
3984
|
-
|
3985
|
-
return
|
3977
|
+
return !P && B && (A = B), B || !P && A;
|
3978
|
+
}, $ = function(L, M) {
|
3979
|
+
if (w(L))
|
3980
|
+
return L.clone();
|
3981
|
+
var V = typeof M == "object" ? M : {};
|
3982
|
+
return V.date = L, V.args = arguments, new R(V);
|
3983
|
+
}, I = k;
|
3984
|
+
I.l = O, I.i = w, I.w = function(L, M) {
|
3985
|
+
return $(L, { locale: M.$L, utc: M.$u, x: M.$x, $offset: M.$offset });
|
3986
3986
|
};
|
3987
3987
|
var R = function() {
|
3988
|
-
function
|
3988
|
+
function L(V) {
|
3989
3989
|
this.$L = O(V.locale, null, !0), this.parse(V), this.$x = this.$x || V.x || {}, this[D] = !0;
|
3990
3990
|
}
|
3991
|
-
var
|
3992
|
-
return
|
3991
|
+
var M = L.prototype;
|
3992
|
+
return M.parse = function(V) {
|
3993
3993
|
this.$d = function(P) {
|
3994
|
-
var
|
3995
|
-
if (
|
3994
|
+
var B = P.date, H = P.utc;
|
3995
|
+
if (B === null)
|
3996
3996
|
return new Date(NaN);
|
3997
|
-
if (
|
3997
|
+
if (I.u(B))
|
3998
3998
|
return new Date();
|
3999
|
-
if (
|
4000
|
-
return new Date(
|
4001
|
-
if (typeof
|
4002
|
-
var K =
|
3999
|
+
if (B instanceof Date)
|
4000
|
+
return new Date(B);
|
4001
|
+
if (typeof B == "string" && !/Z$/i.test(B)) {
|
4002
|
+
var K = B.match(g);
|
4003
4003
|
if (K) {
|
4004
4004
|
var F = K[2] - 1 || 0, Y = (K[7] || "0").substring(0, 3);
|
4005
4005
|
return H ? new Date(Date.UTC(K[1], F, K[3] || 1, K[4] || 0, K[5] || 0, K[6] || 0, Y)) : new Date(K[1], F, K[3] || 1, K[4] || 0, K[5] || 0, K[6] || 0, Y);
|
4006
4006
|
}
|
4007
4007
|
}
|
4008
|
-
return new Date(
|
4008
|
+
return new Date(B);
|
4009
4009
|
}(V), this.init();
|
4010
|
-
},
|
4010
|
+
}, M.init = function() {
|
4011
4011
|
var V = this.$d;
|
4012
4012
|
this.$y = V.getFullYear(), this.$M = V.getMonth(), this.$D = V.getDate(), this.$W = V.getDay(), this.$H = V.getHours(), this.$m = V.getMinutes(), this.$s = V.getSeconds(), this.$ms = V.getMilliseconds();
|
4013
|
-
},
|
4014
|
-
return
|
4015
|
-
},
|
4013
|
+
}, M.$utils = function() {
|
4014
|
+
return I;
|
4015
|
+
}, M.isValid = function() {
|
4016
4016
|
return this.$d.toString() !== _;
|
4017
|
-
},
|
4018
|
-
var
|
4019
|
-
return this.startOf(P) <=
|
4020
|
-
},
|
4021
|
-
return
|
4022
|
-
},
|
4023
|
-
return this.endOf(P) <
|
4024
|
-
},
|
4025
|
-
return
|
4026
|
-
},
|
4017
|
+
}, M.isSame = function(V, P) {
|
4018
|
+
var B = $(V);
|
4019
|
+
return this.startOf(P) <= B && B <= this.endOf(P);
|
4020
|
+
}, M.isAfter = function(V, P) {
|
4021
|
+
return $(V) < this.startOf(P);
|
4022
|
+
}, M.isBefore = function(V, P) {
|
4023
|
+
return this.endOf(P) < $(V);
|
4024
|
+
}, M.$g = function(V, P, B) {
|
4025
|
+
return I.u(V) ? this[P] : this.set(B, V);
|
4026
|
+
}, M.unix = function() {
|
4027
4027
|
return Math.floor(this.valueOf() / 1e3);
|
4028
|
-
},
|
4028
|
+
}, M.valueOf = function() {
|
4029
4029
|
return this.$d.getTime();
|
4030
|
-
},
|
4031
|
-
var
|
4032
|
-
var N =
|
4030
|
+
}, M.startOf = function(V, P) {
|
4031
|
+
var B = this, H = !!I.u(P) || P, K = I.p(V), F = function(fe, ae) {
|
4032
|
+
var N = I.w(B.$u ? Date.UTC(B.$y, ae, fe) : new Date(B.$y, ae, fe), B);
|
4033
4033
|
return H ? N : N.endOf(c);
|
4034
4034
|
}, Y = function(fe, ae) {
|
4035
|
-
return
|
4035
|
+
return I.w(B.toDate()[fe].apply(B.toDate("s"), (H ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ae)), B);
|
4036
4036
|
}, q = this.$W, X = this.$M, J = this.$D, te = "set" + (this.$u ? "UTC" : "");
|
4037
4037
|
switch (K) {
|
4038
4038
|
case v:
|
@@ -4054,26 +4054,26 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
|
|
4054
4054
|
default:
|
4055
4055
|
return this.clone();
|
4056
4056
|
}
|
4057
|
-
},
|
4057
|
+
}, M.endOf = function(V) {
|
4058
4058
|
return this.startOf(V, !1);
|
4059
|
-
},
|
4060
|
-
var
|
4059
|
+
}, M.$set = function(V, P) {
|
4060
|
+
var B, H = I.p(V), K = "set" + (this.$u ? "UTC" : ""), F = (B = {}, B[c] = K + "Date", B[y] = K + "Date", B[d] = K + "Month", B[v] = K + "FullYear", B[i] = K + "Hours", B[o] = K + "Minutes", B[l] = K + "Seconds", B[s] = K + "Milliseconds", B)[H], Y = H === c ? this.$D + (P - this.$W) : P;
|
4061
4061
|
if (H === d || H === v) {
|
4062
4062
|
var q = this.clone().set(y, 1);
|
4063
4063
|
q.$d[F](Y), q.init(), this.$d = q.set(y, Math.min(this.$D, q.daysInMonth())).$d;
|
4064
4064
|
} else
|
4065
4065
|
F && this.$d[F](Y);
|
4066
4066
|
return this.init(), this;
|
4067
|
-
},
|
4067
|
+
}, M.set = function(V, P) {
|
4068
4068
|
return this.clone().$set(V, P);
|
4069
|
-
},
|
4070
|
-
return this[
|
4071
|
-
},
|
4072
|
-
var
|
4069
|
+
}, M.get = function(V) {
|
4070
|
+
return this[I.p(V)]();
|
4071
|
+
}, M.add = function(V, P) {
|
4072
|
+
var B, H = this;
|
4073
4073
|
V = Number(V);
|
4074
|
-
var K =
|
4075
|
-
var J =
|
4076
|
-
return
|
4074
|
+
var K = I.p(P), F = function(X) {
|
4075
|
+
var J = $(H);
|
4076
|
+
return I.w(J.date(J.date() + Math.round(X * V)), H);
|
4077
4077
|
};
|
4078
4078
|
if (K === d)
|
4079
4079
|
return this.set(d, this.$M + V);
|
@@ -4083,18 +4083,18 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
|
|
4083
4083
|
return F(1);
|
4084
4084
|
if (K === u)
|
4085
4085
|
return F(7);
|
4086
|
-
var Y = (
|
4087
|
-
return
|
4088
|
-
},
|
4086
|
+
var Y = (B = {}, B[o] = a, B[i] = n, B[l] = r, B)[K] || 1, q = this.$d.getTime() + V * Y;
|
4087
|
+
return I.w(q, this);
|
4088
|
+
}, M.subtract = function(V, P) {
|
4089
4089
|
return this.add(-1 * V, P);
|
4090
|
-
},
|
4091
|
-
var P = this,
|
4090
|
+
}, M.format = function(V) {
|
4091
|
+
var P = this, B = this.$locale();
|
4092
4092
|
if (!this.isValid())
|
4093
|
-
return
|
4094
|
-
var H = V || "YYYY-MM-DDTHH:mm:ssZ", K =
|
4093
|
+
return B.invalidDate || _;
|
4094
|
+
var H = V || "YYYY-MM-DDTHH:mm:ssZ", K = I.z(this), F = this.$H, Y = this.$m, q = this.$M, X = B.weekdays, J = B.months, te = B.meridiem, ue = function(ae, N, U, Q) {
|
4095
4095
|
return ae && (ae[N] || ae(P, H)) || U[N].slice(0, Q);
|
4096
4096
|
}, _e = function(ae) {
|
4097
|
-
return
|
4097
|
+
return I.s(F % 12 || 12, ae, "0");
|
4098
4098
|
}, fe = te || function(ae, N, U) {
|
4099
4099
|
var Q = ae < 12 ? "AM" : "PM";
|
4100
4100
|
return U ? Q.toLowerCase() : Q;
|
@@ -4105,31 +4105,31 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
|
|
4105
4105
|
case "YY":
|
4106
4106
|
return String(P.$y).slice(-2);
|
4107
4107
|
case "YYYY":
|
4108
|
-
return
|
4108
|
+
return I.s(P.$y, 4, "0");
|
4109
4109
|
case "M":
|
4110
4110
|
return q + 1;
|
4111
4111
|
case "MM":
|
4112
|
-
return
|
4112
|
+
return I.s(q + 1, 2, "0");
|
4113
4113
|
case "MMM":
|
4114
|
-
return ue(
|
4114
|
+
return ue(B.monthsShort, q, J, 3);
|
4115
4115
|
case "MMMM":
|
4116
4116
|
return ue(J, q);
|
4117
4117
|
case "D":
|
4118
4118
|
return P.$D;
|
4119
4119
|
case "DD":
|
4120
|
-
return
|
4120
|
+
return I.s(P.$D, 2, "0");
|
4121
4121
|
case "d":
|
4122
4122
|
return String(P.$W);
|
4123
4123
|
case "dd":
|
4124
|
-
return ue(
|
4124
|
+
return ue(B.weekdaysMin, P.$W, X, 2);
|
4125
4125
|
case "ddd":
|
4126
|
-
return ue(
|
4126
|
+
return ue(B.weekdaysShort, P.$W, X, 3);
|
4127
4127
|
case "dddd":
|
4128
4128
|
return X[P.$W];
|
4129
4129
|
case "H":
|
4130
4130
|
return String(F);
|
4131
4131
|
case "HH":
|
4132
|
-
return
|
4132
|
+
return I.s(F, 2, "0");
|
4133
4133
|
case "h":
|
4134
4134
|
return _e(1);
|
4135
4135
|
case "hh":
|
@@ -4141,24 +4141,24 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
|
|
4141
4141
|
case "m":
|
4142
4142
|
return String(Y);
|
4143
4143
|
case "mm":
|
4144
|
-
return
|
4144
|
+
return I.s(Y, 2, "0");
|
4145
4145
|
case "s":
|
4146
4146
|
return String(P.$s);
|
4147
4147
|
case "ss":
|
4148
|
-
return
|
4148
|
+
return I.s(P.$s, 2, "0");
|
4149
4149
|
case "SSS":
|
4150
|
-
return
|
4150
|
+
return I.s(P.$ms, 3, "0");
|
4151
4151
|
case "Z":
|
4152
4152
|
return K;
|
4153
4153
|
}
|
4154
4154
|
return null;
|
4155
4155
|
}(ae) || K.replace(":", "");
|
4156
4156
|
});
|
4157
|
-
},
|
4157
|
+
}, M.utcOffset = function() {
|
4158
4158
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
4159
|
-
},
|
4160
|
-
var H, K = this, F =
|
4161
|
-
return
|
4159
|
+
}, M.diff = function(V, P, B) {
|
4160
|
+
var H, K = this, F = I.p(P), Y = $(V), q = (Y.utcOffset() - this.utcOffset()) * a, X = this - Y, J = function() {
|
4161
|
+
return I.m(K, Y);
|
4162
4162
|
};
|
4163
4163
|
switch (F) {
|
4164
4164
|
case v:
|
@@ -4188,37 +4188,37 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
|
|
4188
4188
|
default:
|
4189
4189
|
H = X;
|
4190
4190
|
}
|
4191
|
-
return
|
4192
|
-
},
|
4191
|
+
return B ? H : I.a(H);
|
4192
|
+
}, M.daysInMonth = function() {
|
4193
4193
|
return this.endOf(d).$D;
|
4194
|
-
},
|
4194
|
+
}, M.$locale = function() {
|
4195
4195
|
return C[this.$L];
|
4196
|
-
},
|
4196
|
+
}, M.locale = function(V, P) {
|
4197
4197
|
if (!V)
|
4198
4198
|
return this.$L;
|
4199
|
-
var
|
4200
|
-
return H && (
|
4201
|
-
},
|
4202
|
-
return
|
4203
|
-
},
|
4199
|
+
var B = this.clone(), H = O(V, P, !0);
|
4200
|
+
return H && (B.$L = H), B;
|
4201
|
+
}, M.clone = function() {
|
4202
|
+
return I.w(this.$d, this);
|
4203
|
+
}, M.toDate = function() {
|
4204
4204
|
return new Date(this.valueOf());
|
4205
|
-
},
|
4205
|
+
}, M.toJSON = function() {
|
4206
4206
|
return this.isValid() ? this.toISOString() : null;
|
4207
|
-
},
|
4207
|
+
}, M.toISOString = function() {
|
4208
4208
|
return this.$d.toISOString();
|
4209
|
-
},
|
4209
|
+
}, M.toString = function() {
|
4210
4210
|
return this.$d.toUTCString();
|
4211
|
-
},
|
4212
|
-
}(),
|
4213
|
-
return
|
4214
|
-
|
4215
|
-
return this.$g(
|
4211
|
+
}, L;
|
4212
|
+
}(), x = R.prototype;
|
4213
|
+
return $.prototype = x, [["$ms", s], ["$s", l], ["$m", o], ["$H", i], ["$W", c], ["$M", d], ["$y", v], ["$D", y]].forEach(function(L) {
|
4214
|
+
x[L[1]] = function(M) {
|
4215
|
+
return this.$g(M, L[0], L[1]);
|
4216
4216
|
};
|
4217
|
-
}),
|
4218
|
-
return
|
4219
|
-
},
|
4220
|
-
return
|
4221
|
-
},
|
4217
|
+
}), $.extend = function(L, M) {
|
4218
|
+
return L.$i || (L(M, R, $), L.$i = !0), $;
|
4219
|
+
}, $.locale = O, $.isDayjs = w, $.unix = function(L) {
|
4220
|
+
return $(1e3 * L);
|
4221
|
+
}, $.en = C[A], $.Ls = C, $.p = {}, $;
|
4222
4222
|
});
|
4223
4223
|
})(dayjs_min);
|
4224
4224
|
const dayjs = dayjs_min.exports;
|
@@ -4276,12 +4276,12 @@ function filesize(e, {
|
|
4276
4276
|
T[0] = 0, A = T[1] = STRINGS.symbol[u][t ? BITS : BYTES][b];
|
4277
4277
|
else {
|
4278
4278
|
k = E / (a === 2 ? Math.pow(2, b * 10) : Math.pow(1e3, b)), t && (k = k * 8, k >= C && b < 8 && (k = k / C, b++));
|
4279
|
-
const
|
4280
|
-
T[0] = O(k *
|
4279
|
+
const $ = Math.pow(10, b > 0 ? n : 0);
|
4280
|
+
T[0] = O(k * $) / $, T[0] === C && b < 8 && y === -1 && (T[0] = 1, b++), A = T[1] = a === 10 && b === 1 ? t ? SI_KBIT : SI_KBYTE : STRINGS.symbol[u][t ? BITS : BYTES][b];
|
4281
4281
|
}
|
4282
4282
|
if (w && (T[0] = -T[0]), g > 0 && (T[0] = T[0].toPrecision(g)), T[1] = c[T[1]] || T[1], s === !0 ? T[0] = T[0].toLocaleString() : s.length > 0 ? T[0] = T[0].toLocaleString(s, l) : o.length > 0 && (T[0] = T[0].toString().replace(PERIOD, o)), r && Number.isInteger(T[0]) === !1 && n > 0) {
|
4283
|
-
const
|
4284
|
-
T[0] = `${
|
4283
|
+
const $ = o || PERIOD, I = T[0].toString().split($), R = I[1] || EMPTY, x = R.length, L = n - x;
|
4284
|
+
T[0] = `${I[0]}${$}${R.padEnd(x + L, ZERO)}`;
|
4285
4285
|
}
|
4286
4286
|
return D && (T[1] = v[b] ? v[b] : STRINGS.fullform[u][b] + (t ? BIT : BYTE) + (T[0] === 1 ? EMPTY : S)), d === ARRAY ? T : d === OBJECT ? {
|
4287
4287
|
value: T[0],
|
@@ -6333,6 +6333,13 @@ class KgLogger {
|
|
6333
6333
|
static debug(t, r = {}, a = !0) {
|
6334
6334
|
window.__KG_DEBUG__ && KgLogger.log("debug", t, r, a);
|
6335
6335
|
}
|
6336
|
+
static debugDDA(t, r, a, n, s = {}, l = !0) {
|
6337
|
+
KgLogger.debug(
|
6338
|
+
`${(t != null ? t : "").padEnd(100, " ")} | ${(r != null ? r : "").padEnd(32, " ")} | ${(a != null ? a : "").padEnd(32, " ")} | ${n}.`,
|
6339
|
+
s,
|
6340
|
+
l
|
6341
|
+
);
|
6342
|
+
}
|
6336
6343
|
}
|
6337
6344
|
class KgUtil {
|
6338
6345
|
static getFileSize(t) {
|
@@ -7255,27 +7262,27 @@ function createSetupStore(e, t, r = {}, a, n) {
|
|
7255
7262
|
function T(w, O) {
|
7256
7263
|
return function() {
|
7257
7264
|
setActivePinia(a);
|
7258
|
-
const
|
7259
|
-
function
|
7260
|
-
|
7265
|
+
const $ = Array.from(arguments), I = [], R = [];
|
7266
|
+
function x(V) {
|
7267
|
+
I.push(V);
|
7261
7268
|
}
|
7262
|
-
function
|
7269
|
+
function L(V) {
|
7263
7270
|
R.push(V);
|
7264
7271
|
}
|
7265
7272
|
triggerSubscriptions(p, {
|
7266
|
-
args:
|
7273
|
+
args: $,
|
7267
7274
|
name: w,
|
7268
7275
|
store: C,
|
7269
|
-
after:
|
7270
|
-
onError:
|
7276
|
+
after: x,
|
7277
|
+
onError: L
|
7271
7278
|
});
|
7272
|
-
let
|
7279
|
+
let M;
|
7273
7280
|
try {
|
7274
|
-
|
7281
|
+
M = O.apply(this && this.$id === e ? this : C, $);
|
7275
7282
|
} catch (V) {
|
7276
7283
|
throw triggerSubscriptions(R, V), V;
|
7277
7284
|
}
|
7278
|
-
return
|
7285
|
+
return M instanceof Promise ? M.then((V) => (triggerSubscriptions(I, V), V)).catch((V) => (triggerSubscriptions(R, V), Promise.reject(V))) : (triggerSubscriptions(I, M), M);
|
7279
7286
|
};
|
7280
7287
|
}
|
7281
7288
|
const k = /* @__PURE__ */ markRaw({
|
@@ -7290,14 +7297,14 @@ function createSetupStore(e, t, r = {}, a, n) {
|
|
7290
7297
|
$patch: g,
|
7291
7298
|
$reset: b,
|
7292
7299
|
$subscribe(w, O = {}) {
|
7293
|
-
const
|
7300
|
+
const $ = addSubscription(d, w, O.detached, () => I()), I = s.run(() => watch(() => a.state.value[e], (R) => {
|
7294
7301
|
(O.flush === "sync" ? u : c) && w({
|
7295
7302
|
storeId: e,
|
7296
7303
|
type: MutationType.direct,
|
7297
7304
|
events: v
|
7298
7305
|
}, R);
|
7299
7306
|
}, assign$1({}, i, O)));
|
7300
|
-
return
|
7307
|
+
return $;
|
7301
7308
|
},
|
7302
7309
|
$dispose: E
|
7303
7310
|
}, C = reactive(assign$1(
|
@@ -7314,8 +7321,8 @@ function createSetupStore(e, t, r = {}, a, n) {
|
|
7314
7321
|
if (isRef(O) && !isComputed(O) || isReactive(O))
|
7315
7322
|
process.env.NODE_ENV !== "production" && n ? set(_.value, w, toRef(D, w)) : l || (y && shouldHydrate(O) && (isRef(O) ? O.value = y[w] : mergeReactiveObjects(O, y[w])), a.state.value[e][w] = O), process.env.NODE_ENV !== "production" && k.state.push(w);
|
7316
7323
|
else if (typeof O == "function") {
|
7317
|
-
const
|
7318
|
-
D[w] =
|
7324
|
+
const $ = process.env.NODE_ENV !== "production" && n ? O : T(w, O);
|
7325
|
+
D[w] = $, process.env.NODE_ENV !== "production" && (k.actions[w] = O), o.actions[w] = O;
|
7319
7326
|
} else
|
7320
7327
|
process.env.NODE_ENV !== "production" && isComputed(O) && (k.getters[w] = l ? r.getters[w] : O, IS_CLIENT && (D._getters || (D._getters = markRaw([]))).push(w));
|
7321
7328
|
}
|
@@ -7330,29 +7337,29 @@ function createSetupStore(e, t, r = {}, a, n) {
|
|
7330
7337
|
}
|
7331
7338
|
}), process.env.NODE_ENV !== "production") {
|
7332
7339
|
C._hotUpdate = markRaw((O) => {
|
7333
|
-
C._hotUpdating = !0, O._hmrPayload.state.forEach((
|
7334
|
-
if (
|
7335
|
-
const
|
7336
|
-
typeof
|
7340
|
+
C._hotUpdating = !0, O._hmrPayload.state.forEach(($) => {
|
7341
|
+
if ($ in C.$state) {
|
7342
|
+
const I = O.$state[$], R = C.$state[$];
|
7343
|
+
typeof I == "object" && isPlainObject(I) && isPlainObject(R) ? patchObject(I, R) : O.$state[$] = R;
|
7337
7344
|
}
|
7338
|
-
set(C,
|
7339
|
-
}), Object.keys(C.$state).forEach((
|
7340
|
-
|
7345
|
+
set(C, $, toRef(O.$state, $));
|
7346
|
+
}), Object.keys(C.$state).forEach(($) => {
|
7347
|
+
$ in O.$state || del(C, $);
|
7341
7348
|
}), c = !1, u = !1, a.state.value[e] = toRef(O._hmrPayload, "hotState"), u = !0, nextTick().then(() => {
|
7342
7349
|
c = !0;
|
7343
7350
|
});
|
7344
|
-
for (const
|
7345
|
-
const
|
7346
|
-
set(C,
|
7351
|
+
for (const $ in O._hmrPayload.actions) {
|
7352
|
+
const I = O[$];
|
7353
|
+
set(C, $, T($, I));
|
7347
7354
|
}
|
7348
|
-
for (const
|
7349
|
-
const
|
7350
|
-
set(C,
|
7355
|
+
for (const $ in O._hmrPayload.getters) {
|
7356
|
+
const I = O._hmrPayload.getters[$], R = l ? computed(() => (setActivePinia(a), I.call(C, C))) : I;
|
7357
|
+
set(C, $, R);
|
7351
7358
|
}
|
7352
|
-
Object.keys(C._hmrPayload.getters).forEach((
|
7353
|
-
|
7354
|
-
}), Object.keys(C._hmrPayload.actions).forEach((
|
7355
|
-
|
7359
|
+
Object.keys(C._hmrPayload.getters).forEach(($) => {
|
7360
|
+
$ in O._hmrPayload.getters || del(C, $);
|
7361
|
+
}), Object.keys(C._hmrPayload.actions).forEach(($) => {
|
7362
|
+
$ in O._hmrPayload.actions || del(C, $);
|
7356
7363
|
}), C._hmrPayload = O._hmrPayload, C._getters = O._getters, C._hotUpdating = !1;
|
7357
7364
|
});
|
7358
7365
|
const w = {
|
@@ -7375,7 +7382,7 @@ function createSetupStore(e, t, r = {}, a, n) {
|
|
7375
7382
|
pinia: a,
|
7376
7383
|
options: o
|
7377
7384
|
}));
|
7378
|
-
Object.keys(O || {}).forEach((
|
7385
|
+
Object.keys(O || {}).forEach(($) => C._customProperties.add($)), assign$1(C, O);
|
7379
7386
|
} else
|
7380
7387
|
assign$1(C, s.run(() => w({
|
7381
7388
|
store: C,
|
@@ -9476,7 +9483,7 @@ function useKgVar(e, t, r = 0) {
|
|
9476
9483
|
}), onUnmounted(() => {
|
9477
9484
|
u.dispose(c);
|
9478
9485
|
}));
|
9479
|
-
const d = (J) => computed(() => u.t(c, J)), p = computed(() => u.isRetrieving(c)), v = computed(() => u.isRetrievingVarProfileMaster(c)), y = computed(() => u.isRetrievingVarGridMaster(c)), _ = computed(() => u.isRetrieved(c)), g = computed(() => u.isCreating(c)), b = computed(() => u.isCreatingRequesting(c)), E = computed(() => u.isUpdating(c)), T = computed(() => u.isUpdatingRequesting(c)), k = computed(() => u.isCopying(c)), A = computed(() => u.isCopyingRequesting(c)), C = computed(() => u.isDeleting(c)), D = computed(() => u.isDeletingRequesting(c)), w = computed(() => u.isOtherRequesting(c)), O = computed(() => u.getVarButtons(c)),
|
9486
|
+
const d = (J) => computed(() => u.t(c, J)), p = computed(() => u.isRetrieving(c)), v = computed(() => u.isRetrievingVarProfileMaster(c)), y = computed(() => u.isRetrievingVarGridMaster(c)), _ = computed(() => u.isRetrieved(c)), g = computed(() => u.isCreating(c)), b = computed(() => u.isCreatingRequesting(c)), E = computed(() => u.isUpdating(c)), T = computed(() => u.isUpdatingRequesting(c)), k = computed(() => u.isCopying(c)), A = computed(() => u.isCopyingRequesting(c)), C = computed(() => u.isDeleting(c)), D = computed(() => u.isDeletingRequesting(c)), w = computed(() => u.isOtherRequesting(c)), O = computed(() => u.getVarButtons(c)), $ = computed(() => u.getVarButtonSearch(c)), I = computed(() => u.getVarButtonCreate(c)), R = computed(() => u.getVarButtonUpdate(c)), x = computed(() => u.getVarButtonCopy(c)), L = computed(() => u.getVarButtonDelete(c)), M = computed(() => u.getVarProfileMasters(c)), V = computed(() => u.getCurrentVarProfileMasterID(c)), P = computed(() => u.getCurrentVarProfileMaster(c)), B = computed(() => {
|
9480
9487
|
var J, te;
|
9481
9488
|
return (te = (J = P.value) == null ? void 0 : J.varProfileDetails) != null ? te : null;
|
9482
9489
|
}), H = computed(() => u.getVarGridConfig(c)), K = computed(() => u.getVarGridMasters(c)), F = computed(() => u.getCurrentVarGridMasterID(c)), Y = computed(() => u.getCurrentVarGridMaster(c)), q = computed(() => u.getSystemVarGridDetails(c)), X = computed(() => u.getCurrentVarGridDetails(c));
|
@@ -9497,15 +9504,15 @@ function useKgVar(e, t, r = 0) {
|
|
9497
9504
|
isDeletingRequesting: D,
|
9498
9505
|
isOtherRequesting: w,
|
9499
9506
|
varButtons: O,
|
9500
|
-
varButtonSearch:
|
9501
|
-
varButtonCreate:
|
9507
|
+
varButtonSearch: $,
|
9508
|
+
varButtonCreate: I,
|
9502
9509
|
varButtonUpdate: R,
|
9503
|
-
varButtonCopy:
|
9504
|
-
varButtonDelete:
|
9505
|
-
varProfileMasters:
|
9510
|
+
varButtonCopy: x,
|
9511
|
+
varButtonDelete: L,
|
9512
|
+
varProfileMasters: M,
|
9506
9513
|
currentVarProfileMasterID: V,
|
9507
9514
|
currentVarProfileMaster: P,
|
9508
|
-
currentVarProfileDetails:
|
9515
|
+
currentVarProfileDetails: B,
|
9509
9516
|
varGridConfig: H,
|
9510
9517
|
varGridMasters: K,
|
9511
9518
|
currentVarGridMasteID: F,
|
@@ -9601,7 +9608,7 @@ const DI_KG_VAR__KG_SLOTS = Symbol("DI_KG_VAR__KG_SLOTS"), DI_KG_VAR__KG_PROPS =
|
|
9601
9608
|
async function _() {
|
9602
9609
|
var g, b, E, T, k, A, C;
|
9603
9610
|
if (p.value) {
|
9604
|
-
const D = (b = (g = u.selectedRows) == null ? void 0 : g.value) != null ? b : [], w = (E = D.map((
|
9611
|
+
const D = (b = (g = u.selectedRows) == null ? void 0 : g.value) != null ? b : [], w = (E = D.map(($) => $[v.value])) != null ? E : [];
|
9605
9612
|
await s.store.emit(s.formID, "lookupBeforeOk", {
|
9606
9613
|
var_nam: l,
|
9607
9614
|
isMultiple: !0,
|
@@ -9874,7 +9881,7 @@ function useKgFormItemSelect() {
|
|
9874
9881
|
}), v;
|
9875
9882
|
});
|
9876
9883
|
async function d() {
|
9877
|
-
var T, k, A, C, D, w, O,
|
9884
|
+
var T, k, A, C, D, w, O, $;
|
9878
9885
|
let v = [];
|
9879
9886
|
const y = (T = a.value) == null ? void 0 : T.cmd, _ = (A = (k = a.value) == null ? void 0 : k.cmd_method) != null ? A : "GET", g = (D = (C = a.value) == null ? void 0 : C.val_clm) != null ? D : "", b = (O = (w = a.value) == null ? void 0 : w.lbl_clm) != null ? O : "";
|
9880
9887
|
if (!y || !g || !b) {
|
@@ -9889,7 +9896,7 @@ function useKgFormItemSelect() {
|
|
9889
9896
|
}
|
9890
9897
|
let E = null;
|
9891
9898
|
try {
|
9892
|
-
l.value = !0, E = await ((
|
9899
|
+
l.value = !0, E = await (($ = httpClient()) == null ? void 0 : $.request({
|
9893
9900
|
url: y,
|
9894
9901
|
method: _,
|
9895
9902
|
params: u.value
|
@@ -9910,14 +9917,14 @@ function useKgFormItemSelect() {
|
|
9910
9917
|
break;
|
9911
9918
|
}
|
9912
9919
|
if (v.length > 0) {
|
9913
|
-
const
|
9914
|
-
(!(g in
|
9920
|
+
const I = v[0];
|
9921
|
+
(!(g in I) || !(b in I)) && KgLogger.error("\u4E0B\u62C9\u5217\u8868\u914D\u7F6E\u6709\u8BEF, \u6570\u636E\u5217(val_clm)\u6216\u663E\u793A\u5217(lbl_clm)\u6709\u8BEF.", {
|
9915
9922
|
frm_id: r.formID,
|
9916
9923
|
var_nam: e,
|
9917
9924
|
cmd: y,
|
9918
9925
|
val_clm: g,
|
9919
9926
|
lbl_clm: b,
|
9920
|
-
\u6240\u6709\u5217: Object.keys(
|
9927
|
+
\u6240\u6709\u5217: Object.keys(I)
|
9921
9928
|
});
|
9922
9929
|
}
|
9923
9930
|
o.value = v;
|
@@ -10402,16 +10409,16 @@ const KgFormItemRadioGroup = defineComponent({
|
|
10402
10409
|
useKg();
|
10403
10410
|
const s = useKgVar(), l = useKgForm(s.formID), o = useKgSearch(s.formID);
|
10404
10411
|
l.onLookupOk(async ({
|
10405
|
-
var_nam:
|
10406
|
-
model:
|
10407
|
-
isMultiple:
|
10408
|
-
value:
|
10409
|
-
values:
|
10412
|
+
var_nam: I,
|
10413
|
+
model: R,
|
10414
|
+
isMultiple: x,
|
10415
|
+
value: L,
|
10416
|
+
values: M
|
10410
10417
|
}) => {
|
10411
|
-
var
|
10412
|
-
switch (
|
10418
|
+
var V;
|
10419
|
+
switch (I) {
|
10413
10420
|
case e.kgVarName:
|
10414
|
-
|
10421
|
+
R.value && (x ? R.value[e.kgVarName] = M : R.value[e.kgVarName] = L), (V = n.value) == null || V.validate([e.kgVarName]);
|
10415
10422
|
break;
|
10416
10423
|
}
|
10417
10424
|
return !1;
|
@@ -10421,121 +10428,151 @@ const KgFormItemRadioGroup = defineComponent({
|
|
10421
10428
|
} = _useRules(e), {
|
10422
10429
|
controlType: v
|
10423
10430
|
} = useKgFormItem(e), y = computed(() => {
|
10424
|
-
var
|
10431
|
+
var R, x, L, M, V;
|
10425
10432
|
if (s.isRetrieving.value)
|
10426
10433
|
return !0;
|
10427
|
-
let
|
10434
|
+
let I = !1;
|
10428
10435
|
if (e.kgDisabled !== void 0)
|
10429
|
-
|
10436
|
+
I = e.kgDisabled;
|
10430
10437
|
else
|
10431
10438
|
switch (e.kgContext) {
|
10432
10439
|
case KG_FORM_CONTEXT.SEARCH:
|
10433
|
-
|
10440
|
+
I = ((R = u.value) == null ? void 0 : R.ena_flg) === 0;
|
10434
10441
|
break;
|
10435
10442
|
case KG_FORM_CONTEXT.SUBMIT:
|
10436
10443
|
switch (!0) {
|
10437
10444
|
case s.isCreating.value:
|
10438
|
-
|
10445
|
+
I = ((x = d.value) == null ? void 0 : x.crt_ena_flg) === 0;
|
10439
10446
|
break;
|
10440
10447
|
case s.isUpdating.value:
|
10441
|
-
|
10448
|
+
I = ((L = d.value) == null ? void 0 : L.upt_ena_flg) === 0;
|
10442
10449
|
break;
|
10443
10450
|
case s.isCopying.value:
|
10444
|
-
|
10451
|
+
I = ((M = d.value) == null ? void 0 : M.cpy_ena_flg) === 0;
|
10445
10452
|
break;
|
10446
10453
|
case s.isDeleting.value:
|
10447
|
-
|
10454
|
+
I = ((V = d.value) == null ? void 0 : V.del_ena_flg) === 0;
|
10448
10455
|
break;
|
10449
10456
|
}
|
10450
10457
|
break;
|
10451
10458
|
}
|
10452
|
-
return
|
10459
|
+
return I;
|
10453
10460
|
}), _ = computed(() => {
|
10454
|
-
var
|
10455
|
-
let
|
10461
|
+
var R, x, L, M;
|
10462
|
+
let I = " ";
|
10456
10463
|
if (e.kgPlaceholder)
|
10457
|
-
|
10464
|
+
I = e.kgPlaceholder;
|
10458
10465
|
else
|
10459
10466
|
switch (e.kgContext) {
|
10460
10467
|
case KG_FORM_CONTEXT.SEARCH:
|
10461
|
-
|
10468
|
+
I = s.t((x = (R = u.value) == null ? void 0 : R.placeholder) != null ? x : " ").value;
|
10462
10469
|
break;
|
10463
10470
|
case KG_FORM_CONTEXT.SUBMIT:
|
10464
|
-
|
10471
|
+
I = s.t((M = (L = d.value) == null ? void 0 : L.placeholder) != null ? M : " ").value;
|
10465
10472
|
break;
|
10466
10473
|
}
|
10467
|
-
return
|
10474
|
+
return I;
|
10468
10475
|
}), g = computed(() => {
|
10469
|
-
var
|
10470
|
-
let
|
10476
|
+
var R, x, L, M, V, P, B, H, K, F;
|
10477
|
+
let I = 6;
|
10471
10478
|
if (e.kgSpan !== void 0)
|
10472
|
-
|
10479
|
+
I = e.kgSpan;
|
10473
10480
|
else
|
10474
10481
|
switch (e.kgContext) {
|
10475
10482
|
case KG_FORM_CONTEXT.SEARCH:
|
10476
|
-
|
10483
|
+
I = (x = (R = u.value) == null ? void 0 : R.width) != null ? x : 6;
|
10477
10484
|
break;
|
10478
10485
|
case KG_FORM_CONTEXT.SUBMIT:
|
10479
10486
|
switch (!0) {
|
10480
10487
|
case s.isCreating.value:
|
10481
|
-
|
10488
|
+
I = (M = (L = d.value) == null ? void 0 : L.crt_width) != null ? M : 6;
|
10482
10489
|
break;
|
10483
10490
|
case s.isUpdating.value:
|
10484
|
-
|
10491
|
+
I = (P = (V = d.value) == null ? void 0 : V.upt_width) != null ? P : 6;
|
10485
10492
|
break;
|
10486
10493
|
case s.isCopying.value:
|
10487
|
-
|
10494
|
+
I = (H = (B = d.value) == null ? void 0 : B.cpy_width) != null ? H : 6;
|
10488
10495
|
break;
|
10489
10496
|
case s.isDeleting.value:
|
10490
|
-
|
10497
|
+
I = (F = (K = d.value) == null ? void 0 : K.del_width) != null ? F : 6;
|
10491
10498
|
break;
|
10492
10499
|
}
|
10493
10500
|
}
|
10494
|
-
return
|
10501
|
+
return I = Number(I), new Array(24).fill(0).map((Y, q) => q + 1).includes(I) ? I : (KgLogger.error("| \u6570\u636E\u6709\u8BEF | \u5BBD\u5EA6\u5FC5\u987B\u4E3A [1, 24] \u4E4B\u95F4\u7684\u6574\u6570.", {
|
10502
|
+
VarProfileDetail: u.value,
|
10503
|
+
VarSubmitField: d.value
|
10504
|
+
}), 6);
|
10495
10505
|
}), b = computed(() => {
|
10496
|
-
var
|
10497
|
-
|
10498
|
-
if (
|
10499
|
-
|
10500
|
-
|
10501
|
-
|
10502
|
-
|
10503
|
-
|
10504
|
-
|
10505
|
-
|
10506
|
+
var R, x, L, M, V;
|
10507
|
+
let I = null;
|
10508
|
+
if (e.kgSpan !== void 0)
|
10509
|
+
I = e.kgSpan;
|
10510
|
+
else
|
10511
|
+
switch (e.kgContext) {
|
10512
|
+
case KG_FORM_CONTEXT.SEARCH:
|
10513
|
+
I = (R = u.value) == null ? void 0 : R.width;
|
10514
|
+
break;
|
10515
|
+
case KG_FORM_CONTEXT.SUBMIT:
|
10516
|
+
switch (!0) {
|
10517
|
+
case s.isCreating.value:
|
10518
|
+
I = (x = d.value) == null ? void 0 : x.crt_width;
|
10519
|
+
break;
|
10520
|
+
case s.isUpdating.value:
|
10521
|
+
I = (L = d.value) == null ? void 0 : L.upt_width;
|
10522
|
+
break;
|
10523
|
+
case s.isCopying.value:
|
10524
|
+
I = (M = d.value) == null ? void 0 : M.cpy_width;
|
10525
|
+
break;
|
10526
|
+
case s.isDeleting.value:
|
10527
|
+
I = (V = d.value) == null ? void 0 : V.del_width;
|
10528
|
+
break;
|
10529
|
+
}
|
10530
|
+
}
|
10531
|
+
return I = Number(I), new Array(24).fill(0).map((P, B) => B + 1).includes(I) ? I : null;
|
10506
10532
|
}), E = computed(() => {
|
10507
|
-
var L,
|
10508
|
-
|
10509
|
-
|
10533
|
+
var L, M;
|
10534
|
+
const I = get(C.value, "$el.parentElement");
|
10535
|
+
if (I && !((L = I.classList) != null && L.contains("ant-row")))
|
10536
|
+
throw new Error("<KgForm.Item> \u7684\u7236\u5143\u7D20\u5FC5\u987B\u662F <Row> \u6216\u8005 <a-row>.");
|
10537
|
+
let R = {};
|
10538
|
+
const x = Math.abs(Number.parseInt((M = get(C.value, "$el.parentElement.style.marginLeft")) != null ? M : "0px"));
|
10539
|
+
return Number.isNaN(x) || (R = {
|
10540
|
+
paddingLeft: `${x}px !important`,
|
10541
|
+
paddingRight: `${x}px !important`
|
10542
|
+
}), R;
|
10543
|
+
}), T = computed(() => {
|
10544
|
+
var R, x, L, M;
|
10545
|
+
let I = "kg-form-item";
|
10546
|
+
switch (i.value && (I += " kg-form-item-lookup"), b.value !== null && (I += " kg-form-item--col-fixed"), e.kgContext) {
|
10510
10547
|
case KG_FORM_CONTEXT.SEARCH:
|
10511
10548
|
switch (!0) {
|
10512
|
-
case ((
|
10513
|
-
|
10549
|
+
case ((R = u.value) == null ? void 0 : R.vis_flg) === 0:
|
10550
|
+
I += " kg-form-item--invisible";
|
10514
10551
|
break;
|
10515
10552
|
}
|
10516
10553
|
break;
|
10517
10554
|
case KG_FORM_CONTEXT.SUBMIT:
|
10518
10555
|
switch (!0) {
|
10519
|
-
case (s.isCreating.value && ((
|
10520
|
-
case (s.isUpdating.value && ((
|
10521
|
-
case (s.isCopying.value && ((
|
10522
|
-
|
10556
|
+
case (s.isCreating.value && ((x = d.value) == null ? void 0 : x.crt_vis_flg) === 0):
|
10557
|
+
case (s.isUpdating.value && ((L = d.value) == null ? void 0 : L.upt_vis_flg) === 0):
|
10558
|
+
case (s.isCopying.value && ((M = d.value) == null ? void 0 : M.cpy_vis_flg) === 0):
|
10559
|
+
I += " kg-form-item--invisible";
|
10523
10560
|
break;
|
10524
10561
|
}
|
10525
10562
|
break;
|
10526
10563
|
}
|
10527
|
-
return
|
10528
|
-
}),
|
10529
|
-
var
|
10530
|
-
const
|
10564
|
+
return I;
|
10565
|
+
}), k = computed(() => {
|
10566
|
+
var R;
|
10567
|
+
const I = {
|
10531
10568
|
...e,
|
10532
|
-
value: (
|
10533
|
-
"onUpdate:value": (
|
10534
|
-
a.value && (a.value[e.kgVarName] =
|
10569
|
+
value: (R = a.value) == null ? void 0 : R[e.kgVarName],
|
10570
|
+
"onUpdate:value": (x) => {
|
10571
|
+
a.value && (a.value[e.kgVarName] = x);
|
10535
10572
|
},
|
10536
10573
|
kgPlaceholder: _.value,
|
10537
10574
|
kgDisabled: y.value,
|
10538
|
-
id:
|
10575
|
+
id: A.value
|
10539
10576
|
};
|
10540
10577
|
switch (v.value) {
|
10541
10578
|
case KG_FORM_ITEM_TYPE.INPUT_NUMBER:
|
@@ -10543,87 +10580,87 @@ const KgFormItemRadioGroup = defineComponent({
|
|
10543
10580
|
case KG_FORM_ITEM_TYPE.SELECT:
|
10544
10581
|
break;
|
10545
10582
|
case KG_FORM_ITEM_TYPE.SELECT_MULTIPLE:
|
10546
|
-
|
10583
|
+
I.kgMode = "multiple";
|
10547
10584
|
break;
|
10548
10585
|
case KG_FORM_ITEM_TYPE.SWITCH:
|
10549
10586
|
break;
|
10550
10587
|
case KG_FORM_ITEM_TYPE.DATE_DATE:
|
10551
|
-
|
10588
|
+
I.kgShowTime = !1;
|
10552
10589
|
break;
|
10553
10590
|
case KG_FORM_ITEM_TYPE.DATE_DATE_RANGE:
|
10554
|
-
|
10591
|
+
I.kgShowTime = !1;
|
10555
10592
|
break;
|
10556
10593
|
case KG_FORM_ITEM_TYPE.DATE_TIME:
|
10557
|
-
|
10594
|
+
I.kgPicker = "time";
|
10558
10595
|
break;
|
10559
10596
|
case KG_FORM_ITEM_TYPE.DATE_TIME_RANGE:
|
10560
|
-
|
10597
|
+
I.kgPicker = "time";
|
10561
10598
|
break;
|
10562
10599
|
case KG_FORM_ITEM_TYPE.DATE_DATETIME:
|
10563
|
-
|
10600
|
+
I.kgShowTime = e.kgShowTime === void 0 ? !0 : e.kgShowTime;
|
10564
10601
|
break;
|
10565
10602
|
case KG_FORM_ITEM_TYPE.DATE_DATETIME_RANGE:
|
10566
|
-
|
10603
|
+
I.kgShowTime = e.kgShowTime === void 0 ? !0 : e.kgShowTime;
|
10567
10604
|
break;
|
10568
10605
|
}
|
10569
|
-
return
|
10570
|
-
}),
|
10571
|
-
function
|
10606
|
+
return I;
|
10607
|
+
}), A = computed(() => encodeURIComponent(`${e.kgContext}~${s.formID}~${e.kgVarName}`)), C = ref(null);
|
10608
|
+
function D() {
|
10572
10609
|
if (t.control) {
|
10573
|
-
const
|
10610
|
+
const I = {
|
10574
10611
|
frm_id: s.formID,
|
10575
10612
|
varName: e.kgVarName,
|
10576
|
-
props:
|
10613
|
+
props: k,
|
10577
10614
|
model: a,
|
10578
10615
|
varVariableConfig: c,
|
10579
10616
|
varProfileDetail: u,
|
10580
10617
|
varSubmitField: d
|
10581
10618
|
};
|
10582
|
-
return t.control(
|
10619
|
+
return t.control(I);
|
10583
10620
|
}
|
10584
10621
|
switch (v.value) {
|
10585
10622
|
case KG_FORM_ITEM_TYPE.INPUT_NUMBER:
|
10586
|
-
return createVNode(KgFormItemInputNumber,
|
10623
|
+
return createVNode(KgFormItemInputNumber, k.value, null);
|
10587
10624
|
case KG_FORM_ITEM_TYPE.TEXT_AREA:
|
10588
|
-
return createVNode(KgFormItemTextArea,
|
10625
|
+
return createVNode(KgFormItemTextArea, k.value, null);
|
10589
10626
|
case KG_FORM_ITEM_TYPE.SELECT:
|
10590
|
-
return createVNode(KgFormItemSelect,
|
10627
|
+
return createVNode(KgFormItemSelect, k.value, null);
|
10591
10628
|
case KG_FORM_ITEM_TYPE.SELECT_MULTIPLE:
|
10592
|
-
return createVNode(KgFormItemSelect,
|
10629
|
+
return createVNode(KgFormItemSelect, k.value, null);
|
10593
10630
|
case KG_FORM_ITEM_TYPE.SWITCH:
|
10594
|
-
return createVNode(KgFormItemSwitch,
|
10631
|
+
return createVNode(KgFormItemSwitch, k.value, null);
|
10595
10632
|
case KG_FORM_ITEM_TYPE.CHECKBOX:
|
10596
|
-
return createVNode(KgFormItemCheckbox,
|
10633
|
+
return createVNode(KgFormItemCheckbox, k.value, null);
|
10597
10634
|
case KG_FORM_ITEM_TYPE.CHECKBOX_GROUP:
|
10598
|
-
return createVNode(KgFormItemCheckboxGroup,
|
10635
|
+
return createVNode(KgFormItemCheckboxGroup, k.value, null);
|
10599
10636
|
case KG_FORM_ITEM_TYPE.RADIO_GROUP:
|
10600
|
-
return createVNode(KgFormItemRadioGroup,
|
10637
|
+
return createVNode(KgFormItemRadioGroup, k.value, null);
|
10601
10638
|
case KG_FORM_ITEM_TYPE.DATE_DATE:
|
10602
|
-
return createVNode(KgFormItemDate,
|
10639
|
+
return createVNode(KgFormItemDate, k.value, null);
|
10603
10640
|
case KG_FORM_ITEM_TYPE.DATE_DATE_RANGE:
|
10604
|
-
return createVNode(KgFormItemDateRange,
|
10641
|
+
return createVNode(KgFormItemDateRange, k.value, null);
|
10605
10642
|
case KG_FORM_ITEM_TYPE.DATE_TIME:
|
10606
|
-
return createVNode(KgFormItemDate,
|
10643
|
+
return createVNode(KgFormItemDate, k.value, null);
|
10607
10644
|
case KG_FORM_ITEM_TYPE.DATE_TIME_RANGE:
|
10608
|
-
return createVNode(KgFormItemDateRange,
|
10645
|
+
return createVNode(KgFormItemDateRange, k.value, null);
|
10609
10646
|
case KG_FORM_ITEM_TYPE.DATE_DATETIME:
|
10610
|
-
return createVNode(KgFormItemDate,
|
10647
|
+
return createVNode(KgFormItemDate, k.value, null);
|
10611
10648
|
case KG_FORM_ITEM_TYPE.DATE_DATETIME_RANGE:
|
10612
|
-
return createVNode(KgFormItemDateRange,
|
10649
|
+
return createVNode(KgFormItemDateRange, k.value, null);
|
10613
10650
|
default:
|
10614
|
-
return createVNode(KgFormItemInput,
|
10651
|
+
return createVNode(KgFormItemInput, k.value, null);
|
10615
10652
|
}
|
10616
10653
|
}
|
10617
|
-
function
|
10618
|
-
var
|
10619
|
-
return ((
|
10654
|
+
function w() {
|
10655
|
+
var I;
|
10656
|
+
return ((I = s.currentVarProfileMaster.value) == null ? void 0 : I.dyn_flg) !== 1 ? null : createVNode(Form.ItemRest, null, {
|
10620
10657
|
default: () => {
|
10621
|
-
var
|
10658
|
+
var R;
|
10622
10659
|
return [createVNode(Select, {
|
10623
|
-
value: (
|
10624
|
-
"onUpdate:value": (
|
10660
|
+
value: (R = o.operatorModel.value) == null ? void 0 : R[e.kgVarName],
|
10661
|
+
"onUpdate:value": (x) => {
|
10625
10662
|
o.store.patchOperatorModel(s.formID, {
|
10626
|
-
[e.kgVarName]:
|
10663
|
+
[e.kgVarName]: x
|
10627
10664
|
});
|
10628
10665
|
},
|
10629
10666
|
disabled: y.value,
|
@@ -10631,8 +10668,8 @@ const KgFormItemRadioGroup = defineComponent({
|
|
10631
10668
|
dropdownClassName: "kg-form-item-operator-select-dropdown"
|
10632
10669
|
}, {
|
10633
10670
|
default: () => {
|
10634
|
-
var
|
10635
|
-
return KgVarUtil.getDynamicQueryOperatorSelectOptions((
|
10671
|
+
var x;
|
10672
|
+
return KgVarUtil.getDynamicQueryOperatorSelectOptions((x = v.value) != null ? x : "");
|
10636
10673
|
},
|
10637
10674
|
suffixIcon: () => createVNode(CaretDownOutlined$1, {
|
10638
10675
|
class: "ant-select-suffix"
|
@@ -10641,14 +10678,14 @@ const KgFormItemRadioGroup = defineComponent({
|
|
10641
10678
|
}
|
10642
10679
|
});
|
10643
10680
|
}
|
10644
|
-
function
|
10681
|
+
function O() {
|
10645
10682
|
return e.kgShowLabel ? createVNode("span", {
|
10646
10683
|
title: s.t(e.kgVarName).value
|
10647
10684
|
}, [s.t(e.kgVarName).value]) : null;
|
10648
10685
|
}
|
10649
|
-
function
|
10650
|
-
var
|
10651
|
-
return !i.value || !((
|
10686
|
+
function $() {
|
10687
|
+
var I;
|
10688
|
+
return !i.value || !((I = i.value) != null && I.lkp_id) ? null : createVNode(Form.ItemRest, null, {
|
10652
10689
|
default: () => [createVNode(KgFormItemAddonLookup, {
|
10653
10690
|
kgDisabled: y.value,
|
10654
10691
|
kgLookupID: i.value.lkp_id
|
@@ -10656,25 +10693,25 @@ const KgFormItemRadioGroup = defineComponent({
|
|
10656
10693
|
});
|
10657
10694
|
}
|
10658
10695
|
return () => {
|
10659
|
-
var
|
10696
|
+
var I, R;
|
10660
10697
|
return s.isRetrieving.value ? null : createVNode(Col, {
|
10661
|
-
ref:
|
10698
|
+
ref: C,
|
10662
10699
|
span: g.value,
|
10663
|
-
class:
|
10664
|
-
style:
|
10700
|
+
class: T.value,
|
10701
|
+
style: E.value,
|
10665
10702
|
"kg-frm_id": s.formID,
|
10666
10703
|
"kg-var_nam": e.kgVarName,
|
10667
|
-
"kg-lkp_id": (
|
10668
|
-
"kg-ret_fld": (
|
10704
|
+
"kg-lkp_id": (I = i.value) == null ? void 0 : I.lkp_id,
|
10705
|
+
"kg-ret_fld": (R = i.value) == null ? void 0 : R.ret_fld
|
10669
10706
|
}, {
|
10670
10707
|
default: () => [createVNode(Form.Item, {
|
10671
10708
|
name: e.kgVarName,
|
10672
10709
|
rules: p.value,
|
10673
10710
|
validateFirst: !0,
|
10674
|
-
htmlFor:
|
10711
|
+
htmlFor: A.value
|
10675
10712
|
}, {
|
10676
|
-
default: () => createVNode(Fragment, null, [
|
10677
|
-
label: () =>
|
10713
|
+
default: () => createVNode(Fragment, null, [w(), D(), $()]),
|
10714
|
+
label: () => O()
|
10678
10715
|
})]
|
10679
10716
|
});
|
10680
10717
|
};
|
@@ -11377,7 +11414,7 @@ const getProps$p = () => ({
|
|
11377
11414
|
inject(DI_KG_VAR__KG_PROPS, null);
|
11378
11415
|
const n = useKg(), s = useKgVar(), l = useKgButton(), o = useKgTable(), i = useKgSubmit(), c = useKgSearch();
|
11379
11416
|
l.onSubmitSave(async () => (await ee(), !1)), l.onSubmitCancel(async () => (await z(), !1)), _useFormModel$1();
|
11380
|
-
const u = computed(() => s.isDeleting.value &&
|
11417
|
+
const u = computed(() => s.isDeleting.value && $.value.length === 0 && R.value.length === 0), d = computed(() => i.store.isLoading(s.formID)), p = computed(() => s.store.getVarSubmitConfig(s.formID)), v = computed(() => s.store.getVarSubmitFieldsForCreateKey(s.formID)), y = computed(() => s.store.getVarSubmitFieldsForCreateNotKey(s.formID)), _ = computed(() => s.store.getVarSubmitFieldsForUpdateKey(s.formID)), g = computed(() => s.store.getVarSubmitFieldsForUpdateNotKey(s.formID)), b = computed(() => s.store.getVarSubmitFieldsForCopyKey(s.formID)), E = computed(() => s.store.getVarSubmitFieldsForCopyNotKey(s.formID)), T = computed(() => s.store.getVarSubmitFieldsForCreateKeyVisible(s.formID)), k = computed(() => s.store.getVarSubmitFieldsForCreateNotKeyVisible(s.formID)), A = computed(() => s.store.getVarSubmitFieldsForUpdateKeyVisible(s.formID)), C = computed(() => s.store.getVarSubmitFieldsForUpdateNotKeyVisible(s.formID)), D = computed(() => s.store.getVarSubmitFieldsForCopyKeyVisible(s.formID)), w = computed(() => s.store.getVarSubmitFieldsForCopyNotKeyVisible(s.formID)), O = computed(() => s.store.getVarSubmitFieldsForDelete(s.formID)), $ = computed(() => {
|
11381
11418
|
var G, W, Z;
|
11382
11419
|
switch (!0) {
|
11383
11420
|
case s.isCreating.value:
|
@@ -11390,7 +11427,7 @@ const getProps$p = () => ({
|
|
11390
11427
|
return [];
|
11391
11428
|
}
|
11392
11429
|
return [];
|
11393
|
-
}),
|
11430
|
+
}), I = computed(() => {
|
11394
11431
|
var G, W, Z;
|
11395
11432
|
switch (!0) {
|
11396
11433
|
case s.isCreating.value:
|
@@ -11416,7 +11453,7 @@ const getProps$p = () => ({
|
|
11416
11453
|
return (re = O.value) != null ? re : [];
|
11417
11454
|
}
|
11418
11455
|
return [];
|
11419
|
-
}),
|
11456
|
+
}), x = computed(() => {
|
11420
11457
|
var G, W, Z, re;
|
11421
11458
|
switch (!0) {
|
11422
11459
|
case s.isCreating.value:
|
@@ -11429,9 +11466,9 @@ const getProps$p = () => ({
|
|
11429
11466
|
return (re = O.value) != null ? re : [];
|
11430
11467
|
}
|
11431
11468
|
return [];
|
11432
|
-
}),
|
11469
|
+
}), L = computed(() => !!s.store.isCreatingRequesting(s.formID) || !!s.store.isUpdatingRequesting(s.formID) || !!s.store.isCopyingRequesting(s.formID) || !!s.store.isDeletingRequesting(s.formID)), M = computed(() => L.value || d.value), V = computed(() => d.value), P = ref({
|
11433
11470
|
kgWidth: 0
|
11434
|
-
}),
|
11471
|
+
}), B = computed(() => {
|
11435
11472
|
var G;
|
11436
11473
|
return !!(u.value || te.isFullscreen || ((G = p.value) == null ? void 0 : G.resizable_flg) === 0);
|
11437
11474
|
}), H = computed(() => {
|
@@ -11620,7 +11657,9 @@ const getProps$p = () => ({
|
|
11620
11657
|
isDeleting: s.isDeleting.value,
|
11621
11658
|
row: o.selectedFirstRow.value,
|
11622
11659
|
model: i.model
|
11623
|
-
}), s.store.setIsCreating(s.formID, !1), c.search(
|
11660
|
+
}), s.store.setIsCreating(s.formID, !1), c.search({
|
11661
|
+
isSearchFirstPage: !0
|
11662
|
+
});
|
11624
11663
|
} catch (ne) {
|
11625
11664
|
console.error(ne), i.store.emit(s.formID, "error", ne);
|
11626
11665
|
} finally {
|
@@ -11663,7 +11702,9 @@ const getProps$p = () => ({
|
|
11663
11702
|
isDeleting: s.isDeleting.value,
|
11664
11703
|
row: o.selectedFirstRow.value,
|
11665
11704
|
model: i.model
|
11666
|
-
}), s.store.setIsUpdating(s.formID, !1), c.search(
|
11705
|
+
}), s.store.setIsUpdating(s.formID, !1), c.search({
|
11706
|
+
isPreserveSelectedRows: !0
|
11707
|
+
});
|
11667
11708
|
} catch (ne) {
|
11668
11709
|
console.error(ne), i.store.emit(s.formID, "error", ne);
|
11669
11710
|
} finally {
|
@@ -11709,7 +11750,9 @@ const getProps$p = () => ({
|
|
11709
11750
|
isDeleting: s.isDeleting.value,
|
11710
11751
|
row: o.selectedFirstRow.value,
|
11711
11752
|
model: i.model
|
11712
|
-
}), s.store.setIsCopying(s.formID, !1), c.search(
|
11753
|
+
}), s.store.setIsCopying(s.formID, !1), c.search({
|
11754
|
+
isSearchFirstPage: !0
|
11755
|
+
});
|
11713
11756
|
} catch (pe) {
|
11714
11757
|
console.error(pe), i.store.emit(s.formID, "error", pe);
|
11715
11758
|
} finally {
|
@@ -11762,7 +11805,9 @@ const getProps$p = () => ({
|
|
11762
11805
|
isDeleting: s.isDeleting.value,
|
11763
11806
|
row: o.selectedFirstRow.value,
|
11764
11807
|
model: i.model
|
11765
|
-
}), s.store.setIsDeleting(s.formID, !1), c.search(
|
11808
|
+
}), s.store.setIsDeleting(s.formID, !1), c.search({
|
11809
|
+
isSearchFirstPage: !0
|
11810
|
+
});
|
11766
11811
|
} catch (ye) {
|
11767
11812
|
console.error(ye), i.store.emit(s.formID, "error", ye);
|
11768
11813
|
} finally {
|
@@ -11809,7 +11854,7 @@ const getProps$p = () => ({
|
|
11809
11854
|
kgMinWidth: H.value,
|
11810
11855
|
kgMaxWidth: K.value,
|
11811
11856
|
kgWidth: F.value,
|
11812
|
-
kgDisabled:
|
11857
|
+
kgDisabled: B.value,
|
11813
11858
|
"onUpdate:kgWidth": (Z) => P.value.kgWidth = Z
|
11814
11859
|
}, {
|
11815
11860
|
default: () => [createVNode(Spin, {
|
@@ -11824,11 +11869,11 @@ const getProps$p = () => ({
|
|
11824
11869
|
}, {
|
11825
11870
|
default: () => [createVNode("div", {
|
11826
11871
|
ref: Y
|
11827
|
-
}, [
|
11872
|
+
}, [$.value.length > 0 && createVNode(Row, {
|
11828
11873
|
gutter: 12
|
11829
|
-
}, _isSlot$9(G =
|
11874
|
+
}, _isSlot$9(G = $.value.map(be)) ? G : {
|
11830
11875
|
default: () => [G]
|
11831
|
-
}),
|
11876
|
+
}), I.value.length > 0 && x.value.length > 0 && createVNode(Divider, null, null), R.value.length > 0 && createVNode(Row, {
|
11832
11877
|
gutter: 12
|
11833
11878
|
}, _isSlot$9(W = R.value.map(be)) ? W : {
|
11834
11879
|
default: () => [W]
|
@@ -11843,15 +11888,15 @@ const getProps$p = () => ({
|
|
11843
11888
|
let G, W;
|
11844
11889
|
return createVNode("div", null, [createVNode(Button, {
|
11845
11890
|
type: "primary",
|
11846
|
-
ghost: !
|
11847
|
-
disabled:
|
11891
|
+
ghost: !M.value,
|
11892
|
+
disabled: M.value,
|
11848
11893
|
onClick: z
|
11849
11894
|
}, _isSlot$9(G = n.t("kg.cancel")) ? G : {
|
11850
11895
|
default: () => [G]
|
11851
11896
|
}), createVNode(Button, {
|
11852
11897
|
type: "primary",
|
11853
11898
|
disabled: V.value,
|
11854
|
-
loading:
|
11899
|
+
loading: L.value,
|
11855
11900
|
danger: !!s.isDeleting.value,
|
11856
11901
|
onClick: ee
|
11857
11902
|
}, _isSlot$9(W = n.t(s.isDeleting.value ? "kg.delete" : "kg.save")) ? W : {
|
@@ -13199,7 +13244,7 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$m = () => ({
|
|
13199
13244
|
row: A,
|
13200
13245
|
model: C
|
13201
13246
|
}) => {
|
13202
|
-
var w, O,
|
13247
|
+
var w, O, $, I, R;
|
13203
13248
|
const D = a.store.getSystemVarGridDetails(a.formID);
|
13204
13249
|
switch (c.value = D ? cloneDeep(unref(toRaw(D))) : [], !0) {
|
13205
13250
|
case E: {
|
@@ -13211,24 +13256,24 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$m = () => ({
|
|
13211
13256
|
if (A != null && A.id)
|
13212
13257
|
try {
|
13213
13258
|
o.store.setIsLoading(n.formID, !0);
|
13214
|
-
const
|
13259
|
+
const x = await QueryByID$1({
|
13215
13260
|
params: {
|
13216
13261
|
id: A.id
|
13217
13262
|
}
|
13218
13263
|
});
|
13219
|
-
c.value = c.value.map((
|
13264
|
+
c.value = c.value.map((M) => {
|
13220
13265
|
var P;
|
13221
|
-
const V = (P =
|
13266
|
+
const V = (P = x == null ? void 0 : x.varGridDetails) == null ? void 0 : P.find((B) => B.var_nam === M.var_nam);
|
13222
13267
|
return V ? {
|
13223
|
-
...
|
13268
|
+
...M,
|
13224
13269
|
...V,
|
13225
|
-
id:
|
13226
|
-
} :
|
13270
|
+
id: M.id
|
13271
|
+
} : M;
|
13227
13272
|
});
|
13228
|
-
const
|
13229
|
-
u.value = c.value.filter((
|
13230
|
-
} catch (
|
13231
|
-
throw
|
13273
|
+
const L = (O = (w = x == null ? void 0 : x.varGridDetails) == null ? void 0 : w.map((M) => M.var_nam)) != null ? O : [];
|
13274
|
+
u.value = c.value.filter((M) => L.includes(M.var_nam)).map((M) => M.id);
|
13275
|
+
} catch (x) {
|
13276
|
+
throw x;
|
13232
13277
|
} finally {
|
13233
13278
|
o.store.setIsLoading(n.formID, !1);
|
13234
13279
|
}
|
@@ -13239,7 +13284,7 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$m = () => ({
|
|
13239
13284
|
}
|
13240
13285
|
switch (!0) {
|
13241
13286
|
case k: {
|
13242
|
-
C.value.grd_var_nam = ((
|
13287
|
+
C.value.grd_var_nam = (($ = C.value.grd_var_nam) != null ? $ : "") + "_COPY", C.value.grd_var_nam_dsc = ((R = (I = C.value.grd_var_nam_dsc) != null ? I : C.value.grd_var_nam) != null ? R : "") + "_COPY";
|
13243
13288
|
break;
|
13244
13289
|
}
|
13245
13290
|
}
|
@@ -13312,9 +13357,9 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$m = () => ({
|
|
13312
13357
|
onItemSelectAll: C,
|
13313
13358
|
onItemSelect: D
|
13314
13359
|
}) => {
|
13315
|
-
const w = T.sort((O,
|
13316
|
-
var
|
13317
|
-
return ((
|
13360
|
+
const w = T.sort((O, $) => {
|
13361
|
+
var I, R;
|
13362
|
+
return ((I = O.srtseq) != null ? I : 0) - ((R = $.srtseq) != null ? R : 0);
|
13318
13363
|
});
|
13319
13364
|
return d.value = w, createVNode(Table, {
|
13320
13365
|
pagination: !1,
|
@@ -13328,10 +13373,10 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$m = () => ({
|
|
13328
13373
|
rowKey: "id",
|
13329
13374
|
dataSource: w,
|
13330
13375
|
customRow: (O) => {
|
13331
|
-
let
|
13332
|
-
onClick: (
|
13376
|
+
let $ = {
|
13377
|
+
onClick: (I) => b(I, O, E, k)
|
13333
13378
|
};
|
13334
|
-
return E === "right" && (
|
13379
|
+
return E === "right" && ($["kg-host-frm_id"] = a.formID, $["kg-var_nam"] = O.var_nam), $;
|
13335
13380
|
},
|
13336
13381
|
rowSelection: g({
|
13337
13382
|
disabled: A,
|
@@ -13614,10 +13659,10 @@ const getProps$j = () => ({
|
|
13614
13659
|
var w;
|
13615
13660
|
let C, D;
|
13616
13661
|
return createVNode(Fragment, null, [(w = n.varGridMasters.value) == null ? void 0 : w.map((O) => {
|
13617
|
-
var
|
13662
|
+
var $;
|
13618
13663
|
return createVNode(Menu.Item, {
|
13619
13664
|
key: O.id,
|
13620
|
-
class: O.id === ((
|
13665
|
+
class: O.id === (($ = n.currentVarGridMaster.value) == null ? void 0 : $.id) ? "selected" : "",
|
13621
13666
|
"kg-var_nam": O.grd_var_nam,
|
13622
13667
|
onClick: () => _(O)
|
13623
13668
|
}, {
|
@@ -13655,7 +13700,7 @@ const getProps$j = () => ({
|
|
13655
13700
|
popupClassName: "kg-table-setting--submenu-popup--row-height"
|
13656
13701
|
}, {
|
13657
13702
|
default: () => {
|
13658
|
-
let O,
|
13703
|
+
let O, $, I;
|
13659
13704
|
return createVNode(Fragment, null, [createVNode(Menu.Item, {
|
13660
13705
|
key: "L",
|
13661
13706
|
class: u.value === "L" ? "selected" : "",
|
@@ -13666,14 +13711,14 @@ const getProps$j = () => ({
|
|
13666
13711
|
key: "M",
|
13667
13712
|
class: u.value === "M" ? "selected" : "",
|
13668
13713
|
onClick: () => s.store.setRowHeight(n.formID, "M")
|
13669
|
-
}, _isSlot$6(
|
13670
|
-
default: () => [
|
13714
|
+
}, _isSlot$6($ = a.t("kg.KgTable.rowHeightM")) ? $ : {
|
13715
|
+
default: () => [$]
|
13671
13716
|
}), createVNode(Menu.Item, {
|
13672
13717
|
key: "H",
|
13673
13718
|
class: u.value === "H" ? "selected" : "",
|
13674
13719
|
onClick: () => s.store.setRowHeight(n.formID, "H")
|
13675
|
-
}, _isSlot$6(
|
13676
|
-
default: () => [
|
13720
|
+
}, _isSlot$6(I = a.t("kg.KgTable.rowHeightH")) ? I : {
|
13721
|
+
default: () => [I]
|
13677
13722
|
})]);
|
13678
13723
|
},
|
13679
13724
|
expandIcon: () => createVNode(CaretRightOutlined$1, null, null)
|
@@ -13785,8 +13830,8 @@ const getProps$h = () => ({
|
|
13785
13830
|
switch ((A = i.value) == null ? void 0 : A.display_type) {
|
13786
13831
|
case KG_TABLE_CELL_DISPLAY_TYPE.DESC:
|
13787
13832
|
{
|
13788
|
-
const
|
13789
|
-
|
13833
|
+
const $ = KgUtil.tryParseJSON((C = i.value) == null ? void 0 : C.display_type_properties);
|
13834
|
+
$.dscFieldName ? k = ((D = e.kgRow) == null ? void 0 : D[$.dscFieldName]) || e.kgValue : k = ((w = e.kgRow) == null ? void 0 : w[`${e.kgVarName}_dsc`]) || ((O = e.kgRow) == null ? void 0 : O[`${e.kgVarName}Dsc`]) || e.kgValue;
|
13790
13835
|
}
|
13791
13836
|
break;
|
13792
13837
|
}
|
@@ -13843,19 +13888,19 @@ const getProps$h = () => ({
|
|
13843
13888
|
});
|
13844
13889
|
}
|
13845
13890
|
function E() {
|
13846
|
-
var k, A, C, D, w, O,
|
13891
|
+
var k, A, C, D, w, O, $, I, R, x, L;
|
13847
13892
|
if (u.value)
|
13848
13893
|
return b();
|
13849
13894
|
switch ((k = i.value) == null ? void 0 : k.display_type) {
|
13850
13895
|
case KG_TABLE_CELL_DISPLAY_TYPE.YN: {
|
13851
|
-
const
|
13896
|
+
const M = KgUtil.tryParseJSON((A = i.value) == null ? void 0 : A.display_type_properties);
|
13852
13897
|
return createVNode(KgYesOrNo, {
|
13853
|
-
kgValue: isNil(e.kgValue) ? void 0 : e.kgValue === ((C =
|
13854
|
-
kgNilAsFalse:
|
13898
|
+
kgValue: isNil(e.kgValue) ? void 0 : e.kgValue === ((C = M.yValue) != null ? C : 1),
|
13899
|
+
kgNilAsFalse: M.nilAsFalse
|
13855
13900
|
}, null);
|
13856
13901
|
}
|
13857
13902
|
case KG_TABLE_CELL_DISPLAY_TYPE.ENUM: {
|
13858
|
-
const
|
13903
|
+
const M = KgUtil.tryParseJSON((D = i.value) == null ? void 0 : D.display_type_properties), V = isArrayLike(M) && M.find((P) => P.value === e.kgValue);
|
13859
13904
|
if (V) {
|
13860
13905
|
const P = n.t(V.varName).value;
|
13861
13906
|
return P ? createVNode(Tag, {
|
@@ -13867,11 +13912,11 @@ const getProps$h = () => ({
|
|
13867
13912
|
return T();
|
13868
13913
|
}
|
13869
13914
|
case KG_TABLE_CELL_DISPLAY_TYPE.DESC: {
|
13870
|
-
const
|
13871
|
-
if (
|
13872
|
-
const V =
|
13915
|
+
const M = KgUtil.tryParseJSON((O = i.value) == null ? void 0 : O.display_type_properties);
|
13916
|
+
if (M.isTag && isArrayLike(M.tagColors)) {
|
13917
|
+
const V = M.tagColors.find((P) => P.value === e.kgValue);
|
13873
13918
|
return v.value ? createVNode(Tag, {
|
13874
|
-
color: (
|
13919
|
+
color: ($ = V == null ? void 0 : V.color) != null ? $ : "default"
|
13875
13920
|
}, {
|
13876
13921
|
default: () => [v.value]
|
13877
13922
|
}) : T();
|
@@ -13879,15 +13924,15 @@ const getProps$h = () => ({
|
|
13879
13924
|
return T();
|
13880
13925
|
}
|
13881
13926
|
case KG_TABLE_CELL_DISPLAY_TYPE.PROGRESS: {
|
13882
|
-
const
|
13927
|
+
const M = KgUtil.tryParseJSON((I = i.value) == null ? void 0 : I.display_type_properties), V = (x = (R = e.kgRow) == null ? void 0 : R[M.leftColumn]) != null ? x : 0;
|
13883
13928
|
switch (e.kgContext) {
|
13884
13929
|
case KG_TABLE_CELL_CONTEXT.TABLE_FILTER:
|
13885
13930
|
return V;
|
13886
13931
|
case KG_TABLE_CELL_CONTEXT.TABLE_CELL:
|
13887
13932
|
return createVNode(KgProgressA, {
|
13888
|
-
kgTextWidth:
|
13933
|
+
kgTextWidth: M.textWidth,
|
13889
13934
|
kgLeft: V,
|
13890
|
-
kgRight: (
|
13935
|
+
kgRight: (L = e.kgRow) == null ? void 0 : L[M.rightColumn]
|
13891
13936
|
}, null);
|
13892
13937
|
}
|
13893
13938
|
break;
|
@@ -13997,15 +14042,15 @@ function _useColumns(e) {
|
|
13997
14042
|
index: C
|
13998
14043
|
}) => C + 1
|
13999
14044
|
}, ...(A = b == null ? void 0 : b.map((C, D) => {
|
14000
|
-
var P,
|
14045
|
+
var P, B, H;
|
14001
14046
|
const w = C.var_nam;
|
14002
14047
|
function O() {
|
14003
14048
|
return C.width === "auto" ? "auto" : Number(C.width) || KG_TABLE_TD_DEFAULT_WIDTH;
|
14004
14049
|
}
|
14005
|
-
function
|
14050
|
+
function $() {
|
14006
14051
|
return r.t(w).value;
|
14007
14052
|
}
|
14008
|
-
function
|
14053
|
+
function I() {
|
14009
14054
|
if (C.fix_left_flg === 1)
|
14010
14055
|
return "left";
|
14011
14056
|
if (C.fix_right_flg === 1)
|
@@ -14015,7 +14060,7 @@ function _useColumns(e) {
|
|
14015
14060
|
var K, F, Y, q;
|
14016
14061
|
return !(C.ord_flg !== 1 || (F = (K = t == null ? void 0 : t.value) == null ? void 0 : K.KgTable) != null && F.kgDisabled || isNil((q = (Y = t == null ? void 0 : t.value) == null ? void 0 : Y.KgTable) == null ? void 0 : q.kgDisabled) && e.kgDisabled || r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value || y.length <= 0);
|
14017
14062
|
}
|
14018
|
-
function
|
14063
|
+
function x() {
|
14019
14064
|
var K, F, Y, q, X, J;
|
14020
14065
|
if (((F = (K = v.option.value.KgTable) == null ? void 0 : K.filter) == null ? void 0 : F.on) === !0 && C.filter_flag === 1 && !((q = (Y = t == null ? void 0 : t.value) == null ? void 0 : Y.KgTable) != null && q.kgDisabled) && !(isNil((J = (X = t == null ? void 0 : t.value) == null ? void 0 : X.KgTable) == null ? void 0 : J.kgDisabled) && e.kgDisabled) && !(r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value) && !(y.length <= 0))
|
14021
14066
|
return uniqBy(y.map((te) => {
|
@@ -14033,11 +14078,11 @@ function _useColumns(e) {
|
|
14033
14078
|
};
|
14034
14079
|
}), "value");
|
14035
14080
|
}
|
14036
|
-
function
|
14081
|
+
function L() {
|
14037
14082
|
var K, F, Y;
|
14038
14083
|
return ((F = (K = v.option.value.KgTable) == null ? void 0 : K.filter) == null ? void 0 : F.on) !== !0 ? null : ((Y = o.value) == null ? void 0 : Y[w]) || null;
|
14039
14084
|
}
|
14040
|
-
function
|
14085
|
+
function M() {
|
14041
14086
|
return ["left", "center", "right"].includes(C.align || "") ? C.align : "left";
|
14042
14087
|
}
|
14043
14088
|
const V = O();
|
@@ -14058,17 +14103,17 @@ function _useColumns(e) {
|
|
14058
14103
|
return {
|
14059
14104
|
key: w,
|
14060
14105
|
dataIndex: w,
|
14061
|
-
title:
|
14106
|
+
title: $(),
|
14062
14107
|
width: V,
|
14063
14108
|
resizable: typeof V == "number",
|
14064
14109
|
minWidth: KG_TABLE_TD_MIN_WIDTH,
|
14065
14110
|
maxWidth: KG_TABLE_TD_MAX_WIDTH,
|
14066
|
-
align:
|
14067
|
-
fixed:
|
14111
|
+
align: M(),
|
14112
|
+
fixed: I(),
|
14068
14113
|
sorter: R(),
|
14069
|
-
sortOrder: ((P = i.value) == null ? void 0 : P.field) === w && (H = (
|
14070
|
-
filteredValue:
|
14071
|
-
filters:
|
14114
|
+
sortOrder: ((P = i.value) == null ? void 0 : P.field) === w && (H = (B = i.value) == null ? void 0 : B.order) != null ? H : null,
|
14115
|
+
filteredValue: L(),
|
14116
|
+
filters: x(),
|
14072
14117
|
onFilter: (K, F) => K === "" ? isNil(F == null ? void 0 : F[w]) || (F == null ? void 0 : F[w]) === "" : (F == null ? void 0 : F[w]) === K,
|
14073
14118
|
customHeaderCell: () => ({
|
14074
14119
|
"kg-frm_id": r.formID,
|
@@ -14098,7 +14143,9 @@ function _useColumns(e) {
|
|
14098
14143
|
let p = null;
|
14099
14144
|
return watch(r.currentVarGridMasteID, (v, y) => {
|
14100
14145
|
i.value = {}, p == null || p(), p = watch(i, () => {
|
14101
|
-
p(), p = null, a.search(
|
14146
|
+
p(), p = null, a.search({
|
14147
|
+
isSearchFirstPage: !0
|
14148
|
+
});
|
14102
14149
|
}, {
|
14103
14150
|
deep: !0
|
14104
14151
|
});
|
@@ -14255,17 +14302,17 @@ const KgTable$1 = "", getProps$g = () => ({
|
|
14255
14302
|
if (U[0] === s.formID) {
|
14256
14303
|
const Q = U[1], z = U[2], ee = Q[o.id.value];
|
14257
14304
|
switch (!0) {
|
14258
|
-
case (z &&
|
14259
|
-
F([
|
14305
|
+
case (z && !L.value.includes(ee)):
|
14306
|
+
F([...L.value, ee]);
|
14260
14307
|
break;
|
14261
|
-
case (!z &&
|
14262
|
-
F(without$1(
|
14308
|
+
case (!z && L.value.includes(ee)):
|
14309
|
+
F(without$1(L.value, ee));
|
14263
14310
|
break;
|
14264
14311
|
}
|
14265
14312
|
}
|
14266
14313
|
break;
|
14267
14314
|
case "clearDatas":
|
14268
|
-
U[0] === s.formID && (o.store.setDatas(s.formID, []),
|
14315
|
+
U[0] === s.formID && (o.store.setDatas(s.formID, []), M.total = 0, H(), c.value = []);
|
14269
14316
|
break;
|
14270
14317
|
}
|
14271
14318
|
});
|
@@ -14289,8 +14336,8 @@ const KgTable$1 = "", getProps$g = () => ({
|
|
14289
14336
|
}), k = computed(() => {
|
14290
14337
|
var U, Q, z, ee, ce, le, oe, me, be;
|
14291
14338
|
let N = {
|
14292
|
-
pageNo:
|
14293
|
-
pageSize:
|
14339
|
+
pageNo: M.pageIndex,
|
14340
|
+
pageSize: M.pageSize,
|
14294
14341
|
column: (Q = (U = p.value) == null ? void 0 : U.field) != null ? Q : void 0,
|
14295
14342
|
order: p.value.order === "ascend" ? "asc" : p.value.order === "descend" ? "desc" : void 0,
|
14296
14343
|
...(ee = (z = l.model) == null ? void 0 : z.value) != null ? ee : {}
|
@@ -14314,19 +14361,19 @@ const KgTable$1 = "", getProps$g = () => ({
|
|
14314
14361
|
return (z = (Q = a == null ? void 0 : a.value) == null ? void 0 : Q.KgTable) == null ? void 0 : z.kgCheckboxDisabled;
|
14315
14362
|
if (!isNil(e.kgCheckboxDisabled))
|
14316
14363
|
return e.kgCheckboxDisabled;
|
14317
|
-
}), D = computed(() => !!A.value || y.value || !!s.isCreating.value || !!s.isUpdating.value || !!s.isCopying.value || !!s.isDeleting.value), w = computed(() => !!A.value || y.value || !!s.isCreating.value || !!s.isUpdating.value || !!s.isCopying.value || !!s.isDeleting.value ||
|
14364
|
+
}), D = computed(() => !!A.value || y.value || !!s.isCreating.value || !!s.isUpdating.value || !!s.isCopying.value || !!s.isDeleting.value), w = computed(() => !!A.value || y.value || !!s.isCreating.value || !!s.isUpdating.value || !!s.isCopying.value || !!s.isDeleting.value || M.total === 0), O = computed(() => {
|
14318
14365
|
var N;
|
14319
14366
|
return !!((N = r == null ? void 0 : r.KgTable) != null && N.expandedRowRender);
|
14320
|
-
}),
|
14367
|
+
}), $ = computed(() => {
|
14321
14368
|
var N;
|
14322
14369
|
return ((N = s.varGridConfig.value) == null ? void 0 : N.show_check_column_flg) === 1;
|
14323
|
-
}),
|
14324
|
-
if (
|
14370
|
+
}), I = computed(() => {
|
14371
|
+
if (!!$.value)
|
14325
14372
|
return {
|
14326
14373
|
fixed: "left",
|
14327
14374
|
columnWidth: KG_TABLE_TD_CHECK_WIDTH,
|
14328
14375
|
hideSelectAll: !o.isMultiSelect.value,
|
14329
|
-
selectedRowKeys:
|
14376
|
+
selectedRowKeys: L,
|
14330
14377
|
preserveSelectedRowKeys: !1,
|
14331
14378
|
getCheckboxProps: (N) => {
|
14332
14379
|
var U;
|
@@ -14352,21 +14399,21 @@ const KgTable$1 = "", getProps$g = () => ({
|
|
14352
14399
|
break;
|
14353
14400
|
}
|
14354
14401
|
return N;
|
14355
|
-
}),
|
14402
|
+
}), x = computed(() => {
|
14356
14403
|
var U;
|
14357
14404
|
let N = "kg-table-bottom";
|
14358
14405
|
return ((U = s.varGridConfig.value) == null ? void 0 : U.show_bottom_border_flg) === 1 && (N += " kg-table-bottom--border"), N;
|
14359
|
-
}),
|
14406
|
+
}), L = (ae = o.store.getSelectedRowKeys(s.formID)) != null ? ae : ref([]), M = reactive({
|
14360
14407
|
pageIndex: 1,
|
14361
14408
|
pageSize: 10,
|
14362
14409
|
total: 0
|
14363
14410
|
}), V = watch(o.pageSizeOption, (N) => {
|
14364
|
-
N && (setTimeout(() => V()),
|
14411
|
+
N && (setTimeout(() => V()), M.pageSize = N, o.store.emit(s.formID, "ready", {}), o.store.setIsReady(s.formID, !0));
|
14365
14412
|
}, {
|
14366
14413
|
immediate: !0
|
14367
14414
|
});
|
14368
14415
|
watch(o.pageSizeOptions, (N) => {
|
14369
|
-
N.length > 0 && !N.includes(
|
14416
|
+
N.length > 0 && !N.includes(M.pageSize) && (M.pageSize = o.pageSizeOption.value);
|
14370
14417
|
}), watch([T, o.isReadAutomatically, l.isReady], ([N, U, Q]) => {
|
14371
14418
|
N && U && Q && !o.store.getIsRetrieved(s.formID) && K({
|
14372
14419
|
isSearchFirstPage: !0
|
@@ -14374,7 +14421,7 @@ const KgTable$1 = "", getProps$g = () => ({
|
|
14374
14421
|
}, {
|
14375
14422
|
immediate: !0
|
14376
14423
|
}), watch(s.isCreating, (N, U) => {
|
14377
|
-
N === !0 ? P() : N === !1 && U === !0 &&
|
14424
|
+
N === !0 ? P() : N === !1 && U === !0 && B();
|
14378
14425
|
}), onUnmounted(() => {
|
14379
14426
|
o.store.dispose(s.formID);
|
14380
14427
|
});
|
@@ -14386,13 +14433,13 @@ const KgTable$1 = "", getProps$g = () => ({
|
|
14386
14433
|
o.store.setDatas(s.formID, [N, ...b.value]), o.store.setSelectedRows(s.formID, [N]);
|
14387
14434
|
}
|
14388
14435
|
}
|
14389
|
-
function
|
14436
|
+
function B() {
|
14390
14437
|
const N = b.value.find((U) => U[o.id.value] === KG_TABLE_TEMP_ID);
|
14391
14438
|
N && (o.store.setDatas(s.formID, without$1(b.value, N)), o.store.setSelectedRows(s.formID, []));
|
14392
14439
|
}
|
14393
14440
|
function H(N, U) {
|
14394
14441
|
var Q;
|
14395
|
-
if (!(!!A.value || !!s.isCreating.value || !!s.isUpdating.value || !!s.isCopying.value || !!s.isDeleting.value) && !!
|
14442
|
+
if (!(!!A.value || !!s.isCreating.value || !!s.isUpdating.value || !!s.isCopying.value || !!s.isDeleting.value) && !!I.value) {
|
14396
14443
|
if (!U) {
|
14397
14444
|
o.store.setSelectedRows(s.formID, []);
|
14398
14445
|
return;
|
@@ -14432,7 +14479,7 @@ const KgTable$1 = "", getProps$g = () => ({
|
|
14432
14479
|
});
|
14433
14480
|
return;
|
14434
14481
|
}
|
14435
|
-
N.isSearchFirstPage && (
|
14482
|
+
N.isSearchFirstPage && (M.pageIndex = 1), o.store.setIsRetrieving(s.formID, !0);
|
14436
14483
|
try {
|
14437
14484
|
const ce = KgUtil.parseParams(k.value, o.profileFormID.value, t), le = ref({});
|
14438
14485
|
await o.store.emit(s.formID, "beforeRetrieve", {
|
@@ -14461,8 +14508,8 @@ const KgTable$1 = "", getProps$g = () => ({
|
|
14461
14508
|
setDatas(he) {
|
14462
14509
|
o.store.setDatas(s.formID, he);
|
14463
14510
|
}
|
14464
|
-
}), d.value = {}, o.store.setDatas(s.formID, oe.value),
|
14465
|
-
const be = cloneDeep(
|
14511
|
+
}), d.value = {}, o.store.setDatas(s.formID, oe.value), M.total = me.value;
|
14512
|
+
const be = cloneDeep(L.value);
|
14466
14513
|
H(), c.value = [], await nextTick(), N.isPreserveSelectedRows ? o.store.setSelectedRows(s.formID, be.map((he) => {
|
14467
14514
|
var Se;
|
14468
14515
|
return (Se = oe.value) == null ? void 0 : Se.find((Ee) => Ee[o.id.value] === he);
|
@@ -14492,17 +14539,17 @@ const KgTable$1 = "", getProps$g = () => ({
|
|
14492
14539
|
case !0:
|
14493
14540
|
{
|
14494
14541
|
const z = N[o.id.value];
|
14495
|
-
|
14542
|
+
L.value.includes(z) ? L.value = without$1(L.value, z) : L.value = [...(U = L.value) != null ? U : [], z];
|
14496
14543
|
}
|
14497
14544
|
break;
|
14498
14545
|
case !1:
|
14499
14546
|
{
|
14500
14547
|
const z = N[o.id.value];
|
14501
|
-
(Q =
|
14548
|
+
(Q = L.value) != null && Q.includes(z) ? L.value = [] : L.value = [z];
|
14502
14549
|
}
|
14503
14550
|
break;
|
14504
14551
|
}
|
14505
|
-
o.store.setSelectedRows(s.formID,
|
14552
|
+
o.store.setSelectedRows(s.formID, L.value.map((z) => {
|
14506
14553
|
var ee;
|
14507
14554
|
return (ee = b.value) == null ? void 0 : ee.find((ce) => ce[o.id.value] === z);
|
14508
14555
|
}).filter((z) => !!z));
|
@@ -14535,7 +14582,7 @@ const KgTable$1 = "", getProps$g = () => ({
|
|
14535
14582
|
}
|
14536
14583
|
}
|
14537
14584
|
function te(N, U) {
|
14538
|
-
U !==
|
14585
|
+
U !== M.pageSize ? (M.pageIndex = 1, M.pageSize = U) : M.pageIndex = N, K();
|
14539
14586
|
}
|
14540
14587
|
function ue({
|
14541
14588
|
title: N,
|
@@ -14560,12 +14607,12 @@ const KgTable$1 = "", getProps$g = () => ({
|
|
14560
14607
|
default: () => [createVNode(TableSummary.Row, null, {
|
14561
14608
|
default: () => [O.value && createVNode(TableSummary.Cell, {
|
14562
14609
|
index: 0
|
14563
|
-
}, null),
|
14610
|
+
}, null), $.value && createVNode(TableSummary.Cell, {
|
14564
14611
|
index: O.value ? 1 : 0
|
14565
14612
|
}, null), u.value.map((U, Q) => {
|
14566
14613
|
const z = String(U.dataIndex), ee = z ? s.store.getVarGridDetail(s.formID, z) : null, ce = (() => ["left", "center", "right"].includes((ee == null ? void 0 : ee.align) || "") ? ee == null ? void 0 : ee.align : "left")();
|
14567
14614
|
let le = Q;
|
14568
|
-
return O.value &&
|
14615
|
+
return O.value && $.value ? le += 2 : (O.value || $.value) && (le += 1), createVNode(TableSummary.Cell, {
|
14569
14616
|
index: le,
|
14570
14617
|
align: ce
|
14571
14618
|
}, {
|
@@ -14607,7 +14654,7 @@ const KgTable$1 = "", getProps$g = () => ({
|
|
14607
14654
|
rowClassName: (U = (N = a == null ? void 0 : a.value) == null ? void 0 : N.KgTable) == null ? void 0 : U.kgRowClassName,
|
14608
14655
|
expandColumnWidth: 28,
|
14609
14656
|
expandedRowKeys: c.value,
|
14610
|
-
rowSelection:
|
14657
|
+
rowSelection: I.value,
|
14611
14658
|
customRow: (z) => ({
|
14612
14659
|
onClick: (ee) => H(ee, z)
|
14613
14660
|
}),
|
@@ -14621,23 +14668,23 @@ const KgTable$1 = "", getProps$g = () => ({
|
|
14621
14668
|
expandedRowRender: (Q = r == null ? void 0 : r.KgTable) == null ? void 0 : Q.expandedRowRender,
|
14622
14669
|
summary: _e
|
14623
14670
|
}), (o.isShowBottomLeft.value || o.isShowBottomRight.value) && createVNode("div", {
|
14624
|
-
class:
|
14671
|
+
class: x.value
|
14625
14672
|
}, [createVNode("div", {
|
14626
14673
|
class: "left"
|
14627
14674
|
}, [o.isShowBottomLeft.value && createVNode(KgTableInfo, {
|
14628
|
-
kgShowClearCheck:
|
14629
|
-
kgShowClearTable:
|
14630
|
-
kgShowLocate:
|
14631
|
-
kgTotal:
|
14675
|
+
kgShowClearCheck: L.value.length > 0,
|
14676
|
+
kgShowClearTable: M.total > 0,
|
14677
|
+
kgShowLocate: L.value.length === 1,
|
14678
|
+
kgTotal: L.value.length,
|
14632
14679
|
kgDisabled: D.value
|
14633
14680
|
}, null)]), createVNode("div", {
|
14634
14681
|
class: "right"
|
14635
14682
|
}, [o.isShowBottomRight.value && createVNode(Pagination, {
|
14636
14683
|
size: "default",
|
14637
|
-
current:
|
14638
|
-
pageSize:
|
14684
|
+
current: M.pageIndex,
|
14685
|
+
pageSize: M.pageSize,
|
14639
14686
|
pageSizeOptions: o.pageSizeOptions.value.map((z) => String(z)),
|
14640
|
-
total:
|
14687
|
+
total: M.total,
|
14641
14688
|
showSizeChanger: !0,
|
14642
14689
|
showQuickJumper: !1,
|
14643
14690
|
hideOnSinglePage: !1,
|
@@ -14875,8 +14922,8 @@ const KgButtonCreate = defineComponent({
|
|
14875
14922
|
attrs: a
|
14876
14923
|
}) {
|
14877
14924
|
const n = useKg(), s = useKgVar(), l = useKgButton(), o = useKgTable(), i = useKgSubmit(), c = computed(() => s.store.getVarButton(s.formID, e.kgVarName)), u = computed(() => {
|
14878
|
-
var T, k, A, C, D, w, O,
|
14879
|
-
return s.isUpdating.value || s.isCopying.value || s.isDeleting.value || o.isRetrieving.value || ((T = c.value) == null ? void 0 : T.dis_no_select_flg) === 1 && ((A = (k = o.selectedRows.value) == null ? void 0 : k.length) != null ? A : 0) === 0 || ((C = c.value) == null ? void 0 : C.dis_mult_select_flg) === 1 && ((w = (D = o.selectedRows.value) == null ? void 0 : D.length) != null ? w : 0) > 1 || ((O = c.value) == null ? void 0 : O.permission_type) === 2 && !n.p((
|
14925
|
+
var T, k, A, C, D, w, O, $;
|
14926
|
+
return s.isUpdating.value || s.isCopying.value || s.isDeleting.value || o.isRetrieving.value || ((T = c.value) == null ? void 0 : T.dis_no_select_flg) === 1 && ((A = (k = o.selectedRows.value) == null ? void 0 : k.length) != null ? A : 0) === 0 || ((C = c.value) == null ? void 0 : C.dis_mult_select_flg) === 1 && ((w = (D = o.selectedRows.value) == null ? void 0 : D.length) != null ? w : 0) > 1 || ((O = c.value) == null ? void 0 : O.permission_type) === 2 && !n.p(($ = c.value) == null ? void 0 : $.permission_code) ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
|
14880
14927
|
}), d = computed(() => !!s.isCreatingRequesting.value);
|
14881
14928
|
async function p() {
|
14882
14929
|
e.onKgClick && await e.onKgClick() || s.store.setIsCreating(s.formID, !0);
|
@@ -15098,7 +15145,9 @@ const KgButtonCreate = defineComponent({
|
|
15098
15145
|
ignoreCancelToken: !0
|
15099
15146
|
}
|
15100
15147
|
});
|
15101
|
-
message.success(a.t("kg.importSuccess")), s.search(
|
15148
|
+
message.success(a.t("kg.importSuccess")), s.search({
|
15149
|
+
isSearchFirstPage: !0
|
15150
|
+
});
|
15102
15151
|
} catch (b) {
|
15103
15152
|
throw b;
|
15104
15153
|
} finally {
|
@@ -15252,16 +15301,18 @@ const KgButtonCreate = defineComponent({
|
|
15252
15301
|
});
|
15253
15302
|
if (((C = e.kgButton) == null ? void 0 : C.reload_all_after_done_flg) === 1) {
|
15254
15303
|
if (((D = e.kgButton) == null ? void 0 : D.re_select_after_reload_flg) !== 0 && s.onRetrieve(async ({
|
15255
|
-
datas:
|
15304
|
+
datas: $
|
15256
15305
|
}) => {
|
15257
|
-
const
|
15306
|
+
const I = $.value, R = intersectionWith$1(I, b != null ? b : [], (x, L) => (x == null ? void 0 : x[s.id.value]) === (L == null ? void 0 : L[s.id.value]));
|
15258
15307
|
return R.length > 0 && s.store.setSelectedRows(r.formID, R), !1;
|
15259
15308
|
}, !0), await n.store.emit(r.formID, "otherOk", {
|
15260
15309
|
button: e.kgButton,
|
15261
15310
|
data: w
|
15262
15311
|
}))
|
15263
15312
|
return;
|
15264
|
-
a.search(
|
15313
|
+
a.search({
|
15314
|
+
isSearchFirstPage: !0
|
15315
|
+
});
|
15265
15316
|
} else if (await n.store.emit(r.formID, "otherOk", {
|
15266
15317
|
button: e.kgButton,
|
15267
15318
|
data: w
|
@@ -15368,8 +15419,8 @@ const KgButtonCreate = defineComponent({
|
|
15368
15419
|
}
|
15369
15420
|
});
|
15370
15421
|
const c = computed(() => s.store.getVarButton(s.formID, e.kgVarName)), u = computed(() => {
|
15371
|
-
var T, k, A, C, D, w, O,
|
15372
|
-
return s.isCreating.value || s.isCopying.value || s.isDeleting.value || l.isRetrieving.value || ((T = c.value) == null ? void 0 : T.dis_no_select_flg) === 1 && ((A = (k = l.selectedRows.value) == null ? void 0 : k.length) != null ? A : 0) === 0 || ((C = c.value) == null ? void 0 : C.dis_mult_select_flg) === 1 && ((w = (D = l.selectedRows.value) == null ? void 0 : D.length) != null ? w : 0) > 1 || ((O = c.value) == null ? void 0 : O.permission_type) === 2 && !n.p((
|
15422
|
+
var T, k, A, C, D, w, O, $;
|
15423
|
+
return s.isCreating.value || s.isCopying.value || s.isDeleting.value || l.isRetrieving.value || ((T = c.value) == null ? void 0 : T.dis_no_select_flg) === 1 && ((A = (k = l.selectedRows.value) == null ? void 0 : k.length) != null ? A : 0) === 0 || ((C = c.value) == null ? void 0 : C.dis_mult_select_flg) === 1 && ((w = (D = l.selectedRows.value) == null ? void 0 : D.length) != null ? w : 0) > 1 || ((O = c.value) == null ? void 0 : O.permission_type) === 2 && !n.p(($ = c.value) == null ? void 0 : $.permission_code) ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
|
15373
15424
|
}), d = computed(() => !!s.isUpdatingRequesting.value);
|
15374
15425
|
async function p() {
|
15375
15426
|
e.onKgClick && await e.onKgClick() || await o.store.emit(s.formID, "updateBeforeClick", {
|
@@ -15776,14 +15827,14 @@ const useKgSearchStore = () => (store$2 || (store$2 = defineStore("KgSearch", {
|
|
15776
15827
|
isReactive(t) || (r = reactive(t)), this.operatorModelMap.set(e, r);
|
15777
15828
|
},
|
15778
15829
|
patchModel(e, t) {
|
15779
|
-
return KgLogger.
|
15830
|
+
return KgLogger.debugDDA(e, "KgSearchStore", "patchModel()", "\u6267\u884C\u5F00\u59CB", { model: t }), !e || !t ? Promise.resolve() : new Promise((r) => {
|
15780
15831
|
const a = watch(
|
15781
15832
|
() => this.modelMap.get(e),
|
15782
15833
|
(n) => {
|
15783
15834
|
n && setTimeout(() => {
|
15784
15835
|
a(), Object.entries(t).forEach(([s, l]) => {
|
15785
|
-
s in n && (n[s] = l);
|
15786
|
-
}), KgLogger.
|
15836
|
+
KgLogger.debugDDA(e, "KgSearchStore", "patchModel()", `\u8BBE\u7F6E\u5B57\u6BB5\u7684\u503C: ${s}`, { model: n, key: s, value: l }), s in n && (n[s] = l);
|
15837
|
+
}), KgLogger.debugDDA(e, "KgSearchStore", "patchModel()", "\u6267\u884C\u6210\u529F", { model: n }), r();
|
15787
15838
|
});
|
15788
15839
|
},
|
15789
15840
|
{ immediate: !0 }
|
@@ -16162,24 +16213,24 @@ const KgSearch_ConfigModal_VarProfileMaster = "", getProps$c = () => ({
|
|
16162
16213
|
if (E != null && E.id)
|
16163
16214
|
try {
|
16164
16215
|
o.store.setIsLoading(a.formID, !0);
|
16165
|
-
const
|
16216
|
+
const $ = await QueryByID({
|
16166
16217
|
params: {
|
16167
16218
|
id: E.id
|
16168
16219
|
}
|
16169
16220
|
});
|
16170
16221
|
i.value = i.value.map((R) => {
|
16171
|
-
var
|
16172
|
-
const
|
16173
|
-
return
|
16222
|
+
var L;
|
16223
|
+
const x = (L = $ == null ? void 0 : $.varProfileDetails) == null ? void 0 : L.find((M) => M.var_nam === R.var_nam);
|
16224
|
+
return x ? {
|
16174
16225
|
...R,
|
16175
|
-
...
|
16226
|
+
...x,
|
16176
16227
|
id: R.id
|
16177
16228
|
} : R;
|
16178
16229
|
});
|
16179
|
-
const
|
16180
|
-
c.value = i.value.filter((R) =>
|
16181
|
-
} catch (
|
16182
|
-
throw
|
16230
|
+
const I = (C = (A = $ == null ? void 0 : $.varProfileDetails) == null ? void 0 : A.map((R) => R.var_nam)) != null ? C : [];
|
16231
|
+
c.value = i.value.filter((R) => I.includes(R.var_nam)).map((R) => R.id);
|
16232
|
+
} catch ($) {
|
16233
|
+
throw $;
|
16183
16234
|
} finally {
|
16184
16235
|
o.store.setIsLoading(a.formID, !1);
|
16185
16236
|
}
|
@@ -16538,7 +16589,7 @@ const KgSearch$1 = "", getProps$9 = () => ({
|
|
16538
16589
|
default:
|
16539
16590
|
return !0;
|
16540
16591
|
}
|
16541
|
-
}), O = computed(() => !!(n.isRetrieving.value || n.isRetrievingVarProfileMaster.value || c.value && !!n.isOtherRequesting.value)),
|
16592
|
+
}), O = computed(() => !!(n.isRetrieving.value || n.isRetrievingVarProfileMaster.value || c.value && !!n.isOtherRequesting.value)), $ = computed(() => !!n.isRetrieving.value || !!n.isRetrievingVarProfileMaster.value), I = computed(() => {
|
16542
16593
|
let K = "kg-search";
|
16543
16594
|
return o.value && (K += " kg-search--visible"), c.value && (K += " kg-search--teleport"), K;
|
16544
16595
|
});
|
@@ -16565,7 +16616,7 @@ const KgSearch$1 = "", getProps$9 = () => ({
|
|
16565
16616
|
})) : (KgLogger.debug(`${n.formID} | KgSearch | onSearch() | \u9690\u85CF\u67E5\u8BE2\u6761\u4EF6\u7EC4\u4EF6.`), await s.store.emit(n.formID, "search", K));
|
16566
16617
|
}
|
16567
16618
|
s.store.setSearchFn(n.formID, R);
|
16568
|
-
async function
|
16619
|
+
async function x() {
|
16569
16620
|
g.initFormModel(), o.value ? y.value && y.value.validate().then(async () => {
|
16570
16621
|
await s.store.emit(n.formID, "reset", {});
|
16571
16622
|
}).catch((K) => {
|
@@ -16574,13 +16625,13 @@ const KgSearch$1 = "", getProps$9 = () => ({
|
|
16574
16625
|
});
|
16575
16626
|
}) : await s.store.emit(n.formID, "reset", {});
|
16576
16627
|
}
|
16577
|
-
s.store.setResetFn(n.formID,
|
16578
|
-
function
|
16628
|
+
s.store.setResetFn(n.formID, x);
|
16629
|
+
function L() {
|
16579
16630
|
return R({
|
16580
16631
|
isSearchFirstPage: !0
|
16581
16632
|
}), Promise.resolve(!0);
|
16582
16633
|
}
|
16583
|
-
function
|
16634
|
+
function M() {
|
16584
16635
|
var K;
|
16585
16636
|
return createVNode("div", {
|
16586
16637
|
class: "title",
|
@@ -16631,7 +16682,7 @@ const KgSearch$1 = "", getProps$9 = () => ({
|
|
16631
16682
|
type: "primary",
|
16632
16683
|
ghost: !E.value,
|
16633
16684
|
disabled: E.value,
|
16634
|
-
onClick:
|
16685
|
+
onClick: x,
|
16635
16686
|
class: "kg-search-btn-reset"
|
16636
16687
|
}, {
|
16637
16688
|
default: () => [createVNode(ReloadOutlined$1, null, null), a.t("kg.reset")]
|
@@ -16643,12 +16694,12 @@ const KgSearch$1 = "", getProps$9 = () => ({
|
|
16643
16694
|
kgColor: (X = n.varButtonSearch.value) == null ? void 0 : X.color,
|
16644
16695
|
kgPrimary: w.value,
|
16645
16696
|
kgLoading: k.value,
|
16646
|
-
onKgClick:
|
16697
|
+
onKgClick: L
|
16647
16698
|
}, null)]);
|
16648
16699
|
}
|
16649
|
-
function
|
16700
|
+
function B() {
|
16650
16701
|
return createVNode(Spin, {
|
16651
|
-
spinning:
|
16702
|
+
spinning: $.value
|
16652
16703
|
}, {
|
16653
16704
|
default: () => {
|
16654
16705
|
var K;
|
@@ -16685,7 +16736,7 @@ const KgSearch$1 = "", getProps$9 = () => ({
|
|
16685
16736
|
kgMinHeight: p.value,
|
16686
16737
|
kgMaxHeight: d.value,
|
16687
16738
|
kgDisabled: !i.value,
|
16688
|
-
kgClass:
|
16739
|
+
kgClass: I.value,
|
16689
16740
|
"kg-frm_id": n.formID
|
16690
16741
|
}, {
|
16691
16742
|
default: () => [o.value && createVNode("div", {
|
@@ -16701,7 +16752,7 @@ const KgSearch$1 = "", getProps$9 = () => ({
|
|
16701
16752
|
}, [createVNode(Spin, {
|
16702
16753
|
spinning: O.value
|
16703
16754
|
}, {
|
16704
|
-
default: () => [
|
16755
|
+
default: () => [M(), createVNode("div", {
|
16705
16756
|
class: "ant-collapse-extra"
|
16706
16757
|
}, [P()])]
|
16707
16758
|
})])]
|
@@ -16709,7 +16760,7 @@ const KgSearch$1 = "", getProps$9 = () => ({
|
|
16709
16760
|
class: "ant-collapse-content ant-collapse-content-active"
|
16710
16761
|
}, [createVNode("div", {
|
16711
16762
|
class: "ant-collapse-content-box"
|
16712
|
-
}, [
|
16763
|
+
}, [B()])])])])]
|
16713
16764
|
});
|
16714
16765
|
}
|
16715
16766
|
});
|
@@ -17192,11 +17243,11 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
|
|
17192
17243
|
}, {
|
17193
17244
|
immediate: !0
|
17194
17245
|
}), watch(() => a.getSelectedVarCatalog, async (R) => {
|
17195
|
-
var
|
17196
|
-
i.value.var_text = (
|
17246
|
+
var x, L;
|
17247
|
+
i.value.var_text = (x = R == null ? void 0 : R.var_text) != null ? x : "", (L = o.value) == null || L.clearValidate();
|
17197
17248
|
});
|
17198
17249
|
async function E(R = !1) {
|
17199
|
-
var
|
17250
|
+
var x, L, M;
|
17200
17251
|
n.value = !0;
|
17201
17252
|
try {
|
17202
17253
|
const {
|
@@ -17206,19 +17257,19 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
|
|
17206
17257
|
pageNo: 1,
|
17207
17258
|
pageSize: 999,
|
17208
17259
|
frm_id: e == null ? void 0 : e.value,
|
17209
|
-
var_nam: (
|
17260
|
+
var_nam: (x = a.getSelectedVar) == null ? void 0 : x.var_nam,
|
17210
17261
|
column: "frm_id,locale_id,cust_lvl",
|
17211
17262
|
order: "asc"
|
17212
17263
|
}
|
17213
17264
|
});
|
17214
17265
|
if (u.value = null, c.value = V != null ? V : [], R) {
|
17215
|
-
const P = c.value.find((
|
17266
|
+
const P = c.value.find((B) => {
|
17216
17267
|
var H;
|
17217
|
-
return
|
17268
|
+
return B.id === ((H = a.getSelectedVarCatalog) == null ? void 0 : H.id);
|
17218
17269
|
});
|
17219
17270
|
a.setSelectedVarCatalog(P != null ? P : null), d.value = P != null && P.id ? [P.id] : [];
|
17220
17271
|
} else
|
17221
|
-
a.setSelectedVarCatalog((
|
17272
|
+
a.setSelectedVarCatalog((L = c.value[0]) != null ? L : null), d.value = (M = c.value[0]) != null && M.id ? [c.value[0].id] : [];
|
17222
17273
|
} catch (V) {
|
17223
17274
|
KgLogger.debug(V == null ? void 0 : V.message);
|
17224
17275
|
} finally {
|
@@ -17226,57 +17277,57 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
|
|
17226
17277
|
}
|
17227
17278
|
}
|
17228
17279
|
async function T() {
|
17229
|
-
var R,
|
17280
|
+
var R, x, L;
|
17230
17281
|
try {
|
17231
17282
|
s.value = !0, await ((R = o.value) == null ? void 0 : R.validate());
|
17232
|
-
const
|
17233
|
-
...(
|
17234
|
-
var_text: (
|
17283
|
+
const M = new VarCatalog({
|
17284
|
+
...(x = a.getSelectedVarCatalog) != null ? x : {},
|
17285
|
+
var_text: (L = i.value) == null ? void 0 : L.var_text
|
17235
17286
|
});
|
17236
|
-
|
17237
|
-
data:
|
17287
|
+
M.id ? M.cust_lvl === KG_CUSTOM_LEVEL.L0 ? (M.cust_lvl = KG_CUSTOM_LEVEL.L10, Reflect.deleteProperty(M, "id"), await Add({
|
17288
|
+
data: M
|
17238
17289
|
}, {
|
17239
17290
|
successMessageMode: "none"
|
17240
17291
|
}), message.success({
|
17241
17292
|
content: t.t("kg.KgVarConfig.createSuccess")
|
17242
17293
|
}), await E()) : (await Edit({
|
17243
|
-
data:
|
17294
|
+
data: M
|
17244
17295
|
}, {
|
17245
17296
|
successMessageMode: "none"
|
17246
17297
|
}), message.success({
|
17247
17298
|
content: t.t("kg.KgVarConfig.saveSuccess")
|
17248
17299
|
}), await E(!0)) : (await Add({
|
17249
|
-
data:
|
17300
|
+
data: M
|
17250
17301
|
}, {
|
17251
17302
|
successMessageMode: "none"
|
17252
17303
|
}), message.success({
|
17253
17304
|
content: t.t("kg.KgVarConfig.createSuccess")
|
17254
17305
|
}), await E()), r.retrieve(e == null ? void 0 : e.value);
|
17255
|
-
} catch (
|
17256
|
-
KgUtil.throwIfNotFormError(
|
17306
|
+
} catch (M) {
|
17307
|
+
KgUtil.throwIfNotFormError(M);
|
17257
17308
|
} finally {
|
17258
17309
|
s.value = !1;
|
17259
17310
|
}
|
17260
17311
|
}
|
17261
17312
|
function k({
|
17262
17313
|
isAllForm: R,
|
17263
|
-
isAllLanguage:
|
17314
|
+
isAllLanguage: x
|
17264
17315
|
}) {
|
17265
|
-
var
|
17316
|
+
var L, M, V;
|
17266
17317
|
u.value = new VarCatalog({
|
17267
17318
|
id: "",
|
17268
17319
|
cust_lvl: KG_CUSTOM_LEVEL.L10,
|
17269
|
-
grp_nam: (
|
17270
|
-
var_nam: (
|
17320
|
+
grp_nam: (L = a.getSelectedVar) == null ? void 0 : L.grp_nam,
|
17321
|
+
var_nam: (M = a.getSelectedVar) == null ? void 0 : M.var_nam,
|
17271
17322
|
frm_id: R || !(e != null && e.value) ? "ALL" : e == null ? void 0 : e.value,
|
17272
|
-
locale_id:
|
17323
|
+
locale_id: x ? "ALL" : (V = t.locale) == null ? void 0 : V.value,
|
17273
17324
|
var_text: ""
|
17274
17325
|
}), c.value = [...c.value, u.value], a.setSelectedVarCatalog(unref(u)), d.value = [""];
|
17275
17326
|
}
|
17276
17327
|
function A() {
|
17277
|
-
var
|
17328
|
+
var x;
|
17278
17329
|
c.value = without$1(c.value, u.value), u.value = null;
|
17279
|
-
const R = (
|
17330
|
+
const R = (x = c.value[0]) != null ? x : null;
|
17280
17331
|
a.setSelectedVarCatalog(R), d.value = R ? [R.id] : [];
|
17281
17332
|
}
|
17282
17333
|
function C() {
|
@@ -17297,8 +17348,8 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
|
|
17297
17348
|
});
|
17298
17349
|
}
|
17299
17350
|
function D(R) {
|
17300
|
-
var
|
17301
|
-
((
|
17351
|
+
var x;
|
17352
|
+
((x = a.getSelectedVarCatalog) == null ? void 0 : x.id) !== R.id && (unref(u) ? KgUtil.confirm({
|
17302
17353
|
content: t.t("kg.KgVarConfig.discardConfirmMessage"),
|
17303
17354
|
onOk: () => {
|
17304
17355
|
c.value = without$1(c.value, u.value), u.value = null, a.setSelectedVarCatalog(unref(R)), d.value = [R.id];
|
@@ -17327,8 +17378,8 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
|
|
17327
17378
|
default: () => [createVNode(DeleteOutlined$1, null, null), t.t("common.delText")]
|
17328
17379
|
})]);
|
17329
17380
|
}
|
17330
|
-
function
|
17331
|
-
let R,
|
17381
|
+
function $() {
|
17382
|
+
let R, x;
|
17332
17383
|
return createVNode("div", {
|
17333
17384
|
class: "form"
|
17334
17385
|
}, [createVNode(Form, {
|
@@ -17345,7 +17396,7 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
|
|
17345
17396
|
}, {
|
17346
17397
|
default: () => [createVNode(Textarea, {
|
17347
17398
|
value: i.value.var_text,
|
17348
|
-
"onUpdate:value": (
|
17399
|
+
"onUpdate:value": (L) => i.value.var_text = L,
|
17349
17400
|
disabled: !a.getSelectedVarCatalog
|
17350
17401
|
}, null), createVNode("button", {
|
17351
17402
|
hidden: !0
|
@@ -17363,14 +17414,14 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
|
|
17363
17414
|
disabled: b.value,
|
17364
17415
|
onClick: T,
|
17365
17416
|
type: "primary"
|
17366
|
-
}, _isSlot(
|
17367
|
-
default: () => [
|
17417
|
+
}, _isSlot(x = t.t("common.save")) ? x : {
|
17418
|
+
default: () => [x]
|
17368
17419
|
})])]);
|
17369
17420
|
}
|
17370
|
-
function
|
17371
|
-
var
|
17372
|
-
let
|
17373
|
-
return R.id || (
|
17421
|
+
function I(R) {
|
17422
|
+
var L;
|
17423
|
+
let x = "";
|
17424
|
+
return R.id || (x += " ant-table-row-create"), R.id === ((L = a.getSelectedVarCatalog) == null ? void 0 : L.id) && (x += " ant-table-row-selected "), x;
|
17374
17425
|
}
|
17375
17426
|
return () => createVNode("div", {
|
17376
17427
|
class: "kg-var-config-modal-var-var-catalog"
|
@@ -17386,12 +17437,12 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
|
|
17386
17437
|
rowKey: "id",
|
17387
17438
|
dataSource: c.value,
|
17388
17439
|
loading: n.value,
|
17389
|
-
rowClassName:
|
17440
|
+
rowClassName: I,
|
17390
17441
|
rowSelection: p.value,
|
17391
17442
|
customRow: (R) => ({
|
17392
17443
|
onClick: () => D(R)
|
17393
17444
|
})
|
17394
|
-
}, null),
|
17445
|
+
}, null), $(), createVNode(KgVarConfigModalVarCreateModal, {
|
17395
17446
|
visible: v.value.visible,
|
17396
17447
|
"onUpdate:visible": (R) => v.value.visible = R,
|
17397
17448
|
onKgOk: k
|
@@ -17727,8 +17778,8 @@ const KgWarehouse$1 = "", getProps = () => ({
|
|
17727
17778
|
var A;
|
17728
17779
|
const k = (A = s.value) == null ? void 0 : A.toUpperCase();
|
17729
17780
|
return u.value.filter((C) => {
|
17730
|
-
var D, w, O,
|
17731
|
-
return ((w = (D = C.whDsc) == null ? void 0 : D.toUpperCase()) == null ? void 0 : w.includes(k)) || ((
|
17781
|
+
var D, w, O, $, I, R;
|
17782
|
+
return ((w = (D = C.whDsc) == null ? void 0 : D.toUpperCase()) == null ? void 0 : w.includes(k)) || (($ = (O = C.whId) == null ? void 0 : O.toUpperCase()) == null ? void 0 : $.includes(k)) || ((R = (I = C.adrId) == null ? void 0 : I.toUpperCase()) == null ? void 0 : R.includes(k));
|
17732
17783
|
});
|
17733
17784
|
}), p = computed(() => {
|
17734
17785
|
var k;
|