@kengic/vue 0.26.2 → 0.26.3-beta.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/kengic-vue.js +465 -453
- package/dist/src/components/KgSearch/index.hooks.d.ts +2 -1
- package/dist/src/components/KgSearch/index.store.d.ts +1 -1
- package/dist/src/components/KgSubmit/index.hooks.d.ts +1 -1
- package/dist/src/components/KgSubmit/index.store.d.ts +1 -1
- package/dist/src/consts/index.vm.d.ts +3 -17
- package/package.json +1 -1
package/dist/kengic-vue.js
CHANGED
@@ -2437,7 +2437,7 @@ const emptyIcon = {
|
|
2437
2437
|
...a.data
|
2438
2438
|
}, r);
|
2439
2439
|
}
|
2440
|
-
}), version = "0.26.2";
|
2440
|
+
}), version = "0.26.3-beta.2";
|
2441
2441
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
2442
2442
|
const freeGlobal$1 = freeGlobal;
|
2443
2443
|
var freeSelf = typeof self == "object" && self && self.Object === Object && self, root = freeGlobal$1 || freeSelf || Function("return this")();
|
@@ -4686,7 +4686,7 @@ const ____DEBUG____ = KgLogger.debug, ____INFO_____ = KgLogger.info, ____WARN___
|
|
4686
4686
|
action: "\u64CD\u4F5C",
|
4687
4687
|
allForm: "\u6240\u6709\u754C\u9762",
|
4688
4688
|
allLanguage: "\u6240\u6709\u8BED\u8A00",
|
4689
|
-
canNotUpdateSystemVarGridMaster: "\u7CFB\u7EDF\u89C6\u56FE\u4E0D\u5141\u8BB8\u88AB\u4FEE\u6539, \u5C06\u57FA\u4E8E\u5B83\
|
4689
|
+
canNotUpdateSystemVarGridMaster: "\u7CFB\u7EDF\u89C6\u56FE\u4E0D\u5141\u8BB8\u88AB\u4FEE\u6539, \u5C06\u57FA\u4E8E\u5B83\u590D\u5236\u4E00\u4E2A\u65B0\u7684\u89C6\u56FE ?",
|
4690
4690
|
canNotUpdateSystemVarProfileMaster: "\u7CFB\u7EDF\u89C6\u56FE\u4E0D\u5141\u8BB8\u88AB\u4FEE\u6539, \u5C06\u57FA\u4E8E\u5B83\u590D\u5236\u4E00\u4E2A\u65B0\u7684\u89C6\u56FE ?",
|
4691
4691
|
confirm: "\u786E\u8BA4",
|
4692
4692
|
createConfig: "\u521B\u5EFA\u53D8\u91CF\u914D\u7F6E",
|
@@ -4949,7 +4949,7 @@ const ____DEBUG____ = KgLogger.debug, ____INFO_____ = KgLogger.info, ____WARN___
|
|
4949
4949
|
action: "\u64CD\u4F5C",
|
4950
4950
|
allForm: "\u6240\u6709\u754C\u9762",
|
4951
4951
|
allLanguage: "\u6240\u6709\u8BED\u8A00",
|
4952
|
-
canNotUpdateSystemVarGridMaster: "\u7CFB\u7EDF\u89C6\u56FE\u4E0D\u5141\u8BB8\u88AB\u4FEE\u6539, \u5C06\u57FA\u4E8E\u5B83\
|
4952
|
+
canNotUpdateSystemVarGridMaster: "\u7CFB\u7EDF\u89C6\u56FE\u4E0D\u5141\u8BB8\u88AB\u4FEE\u6539, \u5C06\u57FA\u4E8E\u5B83\u590D\u5236\u4E00\u4E2A\u65B0\u7684\u89C6\u56FE ?",
|
4953
4953
|
canNotUpdateSystemVarProfileMaster: "\u7CFB\u7EDF\u89C6\u56FE\u4E0D\u5141\u8BB8\u88AB\u4FEE\u6539, \u5C06\u57FA\u4E8E\u5B83\u590D\u5236\u4E00\u4E2A\u65B0\u7684\u89C6\u56FE ?",
|
4954
4954
|
confirm: "\u786E\u8BA4",
|
4955
4955
|
createConfig: "\u521B\u5EFA\u53D8\u91CF\u914D\u7F6E",
|
@@ -5212,7 +5212,7 @@ const ____DEBUG____ = KgLogger.debug, ____INFO_____ = KgLogger.info, ____WARN___
|
|
5212
5212
|
action: "\u64CD\u4F5C",
|
5213
5213
|
allForm: "\u6240\u6709\u754C\u9762",
|
5214
5214
|
allLanguage: "\u6240\u6709\u8BED\u8A00",
|
5215
|
-
canNotUpdateSystemVarGridMaster: "\u7CFB\u7EDF\u89C6\u56FE\u4E0D\u5141\u8BB8\u88AB\u4FEE\u6539, \u5C06\u57FA\u4E8E\u5B83\
|
5215
|
+
canNotUpdateSystemVarGridMaster: "\u7CFB\u7EDF\u89C6\u56FE\u4E0D\u5141\u8BB8\u88AB\u4FEE\u6539, \u5C06\u57FA\u4E8E\u5B83\u590D\u5236\u4E00\u4E2A\u65B0\u7684\u89C6\u56FE ?",
|
5216
5216
|
canNotUpdateSystemVarProfileMaster: "\u7CFB\u7EDF\u89C6\u56FE\u4E0D\u5141\u8BB8\u88AB\u4FEE\u6539, \u5C06\u57FA\u4E8E\u5B83\u590D\u5236\u4E00\u4E2A\u65B0\u7684\u89C6\u56FE ?",
|
5217
5217
|
confirm: "\u786E\u8BA4",
|
5218
5218
|
createConfig: "\u521B\u5EFA\u53D8\u91CF\u914D\u7F6E",
|
@@ -5475,7 +5475,7 @@ const ____DEBUG____ = KgLogger.debug, ____INFO_____ = KgLogger.info, ____WARN___
|
|
5475
5475
|
action: "\u64CD\u4F5C",
|
5476
5476
|
allForm: "\u6240\u6709\u754C\u9762",
|
5477
5477
|
allLanguage: "\u6240\u6709\u8BED\u8A00",
|
5478
|
-
canNotUpdateSystemVarGridMaster: "\u7CFB\u7EDF\u89C6\u56FE\u4E0D\u5141\u8BB8\u88AB\u4FEE\u6539, \u5C06\u57FA\u4E8E\u5B83\
|
5478
|
+
canNotUpdateSystemVarGridMaster: "\u7CFB\u7EDF\u89C6\u56FE\u4E0D\u5141\u8BB8\u88AB\u4FEE\u6539, \u5C06\u57FA\u4E8E\u5B83\u590D\u5236\u4E00\u4E2A\u65B0\u7684\u89C6\u56FE ?",
|
5479
5479
|
canNotUpdateSystemVarProfileMaster: "\u7CFB\u7EDF\u89C6\u56FE\u4E0D\u5141\u8BB8\u88AB\u4FEE\u6539, \u5C06\u57FA\u4E8E\u5B83\u590D\u5236\u4E00\u4E2A\u65B0\u7684\u89C6\u56FE ?",
|
5480
5480
|
confirm: "\u786E\u8BA4",
|
5481
5481
|
createConfig: "\u521B\u5EFA\u53D8\u91CF\u914D\u7F6E",
|
@@ -5738,7 +5738,7 @@ const ____DEBUG____ = KgLogger.debug, ____INFO_____ = KgLogger.info, ____WARN___
|
|
5738
5738
|
action: "\u64CD\u4F5C",
|
5739
5739
|
allForm: "\u6240\u6709\u754C\u9762",
|
5740
5740
|
allLanguage: "\u6240\u6709\u8BED\u8A00",
|
5741
|
-
canNotUpdateSystemVarGridMaster: "\u7CFB\u7EDF\u89C6\u56FE\u4E0D\u5141\u8BB8\u88AB\u4FEE\u6539, \u5C06\u57FA\u4E8E\u5B83\
|
5741
|
+
canNotUpdateSystemVarGridMaster: "\u7CFB\u7EDF\u89C6\u56FE\u4E0D\u5141\u8BB8\u88AB\u4FEE\u6539, \u5C06\u57FA\u4E8E\u5B83\u590D\u5236\u4E00\u4E2A\u65B0\u7684\u89C6\u56FE ?",
|
5742
5742
|
canNotUpdateSystemVarProfileMaster: "\u7CFB\u7EDF\u89C6\u56FE\u4E0D\u5141\u8BB8\u88AB\u4FEE\u6539, \u5C06\u57FA\u4E8E\u5B83\u590D\u5236\u4E00\u4E2A\u65B0\u7684\u89C6\u56FE ?",
|
5743
5743
|
confirm: "\u786E\u8BA4",
|
5744
5744
|
createConfig: "\u521B\u5EFA\u53D8\u91CF\u914D\u7F6E",
|
@@ -6001,7 +6001,7 @@ const ____DEBUG____ = KgLogger.debug, ____INFO_____ = KgLogger.info, ____WARN___
|
|
6001
6001
|
action: "\u64CD\u4F5C",
|
6002
6002
|
allForm: "\u6240\u6709\u754C\u9762",
|
6003
6003
|
allLanguage: "\u6240\u6709\u8BED\u8A00",
|
6004
|
-
canNotUpdateSystemVarGridMaster: "\u7CFB\u7EDF\u89C6\u56FE\u4E0D\u5141\u8BB8\u88AB\u4FEE\u6539, \u5C06\u57FA\u4E8E\u5B83\
|
6004
|
+
canNotUpdateSystemVarGridMaster: "\u7CFB\u7EDF\u89C6\u56FE\u4E0D\u5141\u8BB8\u88AB\u4FEE\u6539, \u5C06\u57FA\u4E8E\u5B83\u590D\u5236\u4E00\u4E2A\u65B0\u7684\u89C6\u56FE ?",
|
6005
6005
|
canNotUpdateSystemVarProfileMaster: "\u7CFB\u7EDF\u89C6\u56FE\u4E0D\u5141\u8BB8\u88AB\u4FEE\u6539, \u5C06\u57FA\u4E8E\u5B83\u590D\u5236\u4E00\u4E2A\u65B0\u7684\u89C6\u56FE ?",
|
6006
6006
|
confirm: "\u786E\u8BA4",
|
6007
6007
|
createConfig: "\u521B\u5EFA\u53D8\u91CF\u914D\u7F6E",
|
@@ -6124,7 +6124,7 @@ const ____DEBUG____ = KgLogger.debug, ____INFO_____ = KgLogger.info, ____WARN___
|
|
6124
6124
|
};
|
6125
6125
|
var KG_APP = /* @__PURE__ */ ((e) => (e.WMS_DATA_MANAGER = "data-manager", e.WMS_BUSINESS_MANAGER = "business-manager", e.WCS = "wcs", e.SYS = "sys", e))(KG_APP || {}), KG_APP_PREFIX = /* @__PURE__ */ ((e) => (e.WMS_DATA_MANAGER = "/wms/data-manager", e.WMS_BUSINESS_MANAGER = "/wms/business-manager", e.WCS = "/wcs", e.SYS = "/sys", e))(KG_APP_PREFIX || {});
|
6126
6126
|
const KG_APPS = ["data-manager", "business-manager", "wcs", "sys"], KG_APP_PREFIXS = ["/wms/data-manager", "/wms/business-manager", "/wcs", "/sys"];
|
6127
|
-
var KG__VAR_CONFIG_CONTROL__CONTROL_TYPE = /* @__PURE__ */ ((e) => (e.INPUT = "INPUT", e.INPUT_PASSWORD = "INPUT_PASSWORD", e.INPUT_NUMBER = "INPUT_NUMBER", e.TEXT_AREA = "TEXT_AREA", e.CHECKBOX = "CHECKBOX", e.CHECKBOX_GROUP = "CHECKBOX_GROUP", e.RADIO_GROUP = "RADIO_GROUP", e.SWITCH = "SWITCH", e.SELECT = "SELECT", e.SELECT_MULTIPLE = "SELECT_MULTIPLE", e.DATE_DATE = "DATE_DATE", e.DATE_DATE_RANGE = "DATE_DATE_RANGE", e.DATE_TIME = "DATE_TIME", e.DATE_TIME_RANGE = "DATE_TIME_RANGE", e.DATE_DATETIME = "DATE_DATETIME", e.DATE_DATETIME_RANGE = "DATE_DATETIME_RANGE", e.DATE_WEEK = "DATE_WEEK", e.DATE_MONTH = "DATE_MONTH", e.DATE_YEAR = "DATE_YEAR", e.IMAGE = "IMAGE", e.BUTTON_UPLOAD = "BUTTON_UPLOAD", e))(KG__VAR_CONFIG_CONTROL__CONTROL_TYPE || {}), KG_FORM_CONTEXT = /* @__PURE__ */ ((e) => (e.SEARCH = "SEARCH", e.SUBMIT = "SUBMIT", e.TABLE = "TABLE", e))(KG_FORM_CONTEXT || {}), KG_CUSTOM_LEVEL = /* @__PURE__ */ ((e) => (e[e.L0 = 0] = "L0", e[e.L10 = 10] = "L10", e))(KG_CUSTOM_LEVEL || {}), KG__API_METHOD = /* @__PURE__ */ ((e) => (e.GET = "GET", e.POST = "POST", e.DELETE = "DELETE", e.PUT = "PUT", e))(KG__API_METHOD || {}), KG__VAR_GRID_DETAIL__DISPLAY_TYPE = /* @__PURE__ */ ((e) => (e.YN = "YN", e.DESC = "DESC", e.
|
6127
|
+
var KG__VAR_CONFIG_CONTROL__CONTROL_TYPE = /* @__PURE__ */ ((e) => (e.INPUT = "INPUT", e.INPUT_PASSWORD = "INPUT_PASSWORD", e.INPUT_NUMBER = "INPUT_NUMBER", e.TEXT_AREA = "TEXT_AREA", e.CHECKBOX = "CHECKBOX", e.CHECKBOX_GROUP = "CHECKBOX_GROUP", e.RADIO_GROUP = "RADIO_GROUP", e.SWITCH = "SWITCH", e.SELECT = "SELECT", e.SELECT_MULTIPLE = "SELECT_MULTIPLE", e.DATE_DATE = "DATE_DATE", e.DATE_DATE_RANGE = "DATE_DATE_RANGE", e.DATE_TIME = "DATE_TIME", e.DATE_TIME_RANGE = "DATE_TIME_RANGE", e.DATE_DATETIME = "DATE_DATETIME", e.DATE_DATETIME_RANGE = "DATE_DATETIME_RANGE", e.DATE_WEEK = "DATE_WEEK", e.DATE_MONTH = "DATE_MONTH", e.DATE_YEAR = "DATE_YEAR", e.IMAGE = "IMAGE", e.BUTTON_UPLOAD = "BUTTON_UPLOAD", e))(KG__VAR_CONFIG_CONTROL__CONTROL_TYPE || {}), KG_FORM_CONTEXT = /* @__PURE__ */ ((e) => (e.SEARCH = "SEARCH", e.SUBMIT = "SUBMIT", e.TABLE = "TABLE", e))(KG_FORM_CONTEXT || {}), KG_CUSTOM_LEVEL = /* @__PURE__ */ ((e) => (e[e.L0 = 0] = "L0", e[e.L10 = 10] = "L10", e))(KG_CUSTOM_LEVEL || {}), KG__API_METHOD = /* @__PURE__ */ ((e) => (e.GET = "GET", e.POST = "POST", e.DELETE = "DELETE", e.PUT = "PUT", e))(KG__API_METHOD || {}), KG__VAR_GRID_DETAIL__DISPLAY_TYPE = /* @__PURE__ */ ((e) => (e.YN = "YN", e.DESC = "DESC", e.PROGRESS = "PROGRESS", e.FILE_SIZE = "FILE_SIZE", e.UPDATE_LINK = "UPDATE_LINK", e.ROUTE_LINK = "ROUTE_LINK", e.IMAGE = "IMAGE", e.ICON = "ICON", e))(KG__VAR_GRID_DETAIL__DISPLAY_TYPE || {}), KG__VAR_GRID_DETAIL__ALIGN = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.CENTER = "center", e.RIGHT = "right", e))(KG__VAR_GRID_DETAIL__ALIGN || {}), KG__VAR_GRID_CONFIG__OPERATION_ON_ROW_CLICK = /* @__PURE__ */ ((e) => (e[e.A = 0] = "A", e[e.B = 1] = "B", e[e.C = 2] = "C", e))(KG__VAR_GRID_CONFIG__OPERATION_ON_ROW_CLICK || {}), KG_BUTTON_TYPE = /* @__PURE__ */ ((e) => (e.SEARCH = "SEARCH", e.CREATE = "CREATE", e.UPDATE = "UPDATE", e.COPY = "COPY", e.DELETE = "DELETE", e.IMPORT = "IMPORT", e.IMPORT_TEMPLATE = "IMPORT_TEMPLATE", e.EXPORT = "EXPORT", e.OTHER = "OTHER", e))(KG_BUTTON_TYPE || {}), KG__VAR_BUTTON__TYPE = /* @__PURE__ */ ((e) => (e.SEARCH = "SEARCH", e.CREATE = "CREATE", e.UPDATE = "UPDATE", e.COPY = "COPY", e.DELETE = "DELETE", e.IMPORT = "IMPORT", e.IMPORT_TEMPLATE = "IMPORT_TEMPLATE", e.EXPORT = "EXPORT", e.OTHER = "OTHER", e))(KG__VAR_BUTTON__TYPE || {}), KG__VAR_BUTTON__COLOR = /* @__PURE__ */ ((e) => (e.BLUE = "BLUE", e.RED = "RED", e.YELLOW = "YELLOW", e))(KG__VAR_BUTTON__COLOR || {}), KG__VAR_BUTTON_CONFIG__DISPLAY_TYPE = /* @__PURE__ */ ((e) => (e.DEFAULT = "DEFAULT", e.SELECT = "SELECT", e))(KG__VAR_BUTTON_CONFIG__DISPLAY_TYPE || {}), KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE = /* @__PURE__ */ ((e) => (e.MODAL = "MODAL", e.DRAWER = "DRAWER", e.TABLE = "TABLE", e))(KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE || {}), KG__VAR_SUBMIT_CONFIG__LAYOUT = /* @__PURE__ */ ((e) => (e.VERTICAL = "vertical", e.HORIZONTAL = "horizontal", e))(KG__VAR_SUBMIT_CONFIG__LAYOUT || {}), KG__VAR_CONFIG_INPUT__DATA_TYPE = /* @__PURE__ */ ((e) => (e.ANY = "ANY", e.INTEGER = "INTEGER", e.FLOAT = "FLOAT", e.LETTER = "LETTER", e.UPPER_CASE_LETTER = "UPPER_CASE_LETTER", e.LOWER_CASE_LETTER = "LOWER_CASE_LETTER", e.JSON = "JSON", e))(KG__VAR_CONFIG_INPUT__DATA_TYPE || {}), KG__VAR_CONFIG_INPUT__VALIDATION_TYPE = /* @__PURE__ */ ((e) => (e.OPTIONS = "OPTIONS", e.REGULAR_EXPRESSION = "REGULAR_EXPRESSION", e))(KG__VAR_CONFIG_INPUT__VALIDATION_TYPE || {}), KG__VAR_CONFIG_TIP__PLACEMENT = /* @__PURE__ */ ((e) => (e.RIGHT = "RIGHT", e.BOTTOM = "BOTTOM", e))(KG__VAR_CONFIG_TIP__PLACEMENT || {}), KG__VAR_CONFIG_POSSIBILITY__DATA_SOURCE_TYPE = /* @__PURE__ */ ((e) => (e.API = "API", e.SQL = "SQL", e))(KG__VAR_CONFIG_POSSIBILITY__DATA_SOURCE_TYPE || {}), KG__VAR_CONFIG_POSSIBILITY__VALUE_DATA_TYPE = /* @__PURE__ */ ((e) => (e.DEFAULT = "DEFAULT", e.STRING = "STRING", e.NUMBER = "NUMBER", e.BOOLEAN = "BOOLEAN", e))(KG__VAR_CONFIG_POSSIBILITY__VALUE_DATA_TYPE || {}), KG__VAR_SUBMIT_CONFIG__LABEL_COLUMN_UNIT = /* @__PURE__ */ ((e) => (e.SPAN = "SPAN", e.PX = "PX", e))(KG__VAR_SUBMIT_CONFIG__LABEL_COLUMN_UNIT || {}), KG__SPAN = /* @__PURE__ */ ((e) => (e[e._1 = 1] = "_1", e[e._2 = 2] = "_2", e[e._3 = 3] = "_3", e[e._4 = 4] = "_4", e[e._5 = 5] = "_5", e[e._6 = 6] = "_6", e[e._7 = 7] = "_7", e[e._8 = 8] = "_8", e[e._9 = 9] = "_9", e[e._10 = 10] = "_10", e[e._11 = 11] = "_11", e[e._12 = 12] = "_12", e[e._13 = 13] = "_13", e[e._14 = 14] = "_14", e[e._15 = 15] = "_15", e[e._16 = 16] = "_16", e[e._17 = 17] = "_17", e[e._18 = 18] = "_18", e[e._19 = 19] = "_19", e[e._20 = 20] = "_20", e[e._21 = 21] = "_21", e[e._22 = 22] = "_22", e[e._23 = 23] = "_23", e[e._24 = 24] = "_24", e))(KG__SPAN || {}), KG__VAR_BUTTON__EXPORT_EXCEL_SUFFIX = /* @__PURE__ */ ((e) => (e.XLS = "XLS", e.XLSX = "XLSX", e))(KG__VAR_BUTTON__EXPORT_EXCEL_SUFFIX || {}), KG_DESCRIPTION_CODE_NAME = /* @__PURE__ */ ((e) => (e.YN = "yn", e.VAR_SUBMIT_LAYOUT = "var_submit_layout", e.VAR_SPAN = "var_span", e.VAR_BUTTON_DISPLAY_TYPE = "var_button_display_type", e.VAR_WIDTH_UNIT = "var_width_unit", e))(KG_DESCRIPTION_CODE_NAME || {}), KG_DYNAMIC_QUERY_OPERATOR = /* @__PURE__ */ ((e) => (e.EQ = "EQ", e.NE = "NE", e.GT = "GT", e.LT = "LT", e.GTE = "GTE", e.LTE = "LTE", e.START_WITH = "START", e.END_WITH = "END", e.CONTAIN = "CONTAIN", e.IN = "IN", e.BETWEEN = "BETWEEN", e))(KG_DYNAMIC_QUERY_OPERATOR || {}), KG_HTTP_HEADERS = /* @__PURE__ */ ((e) => (e.KG_FORM_ID = "Kg-Form-Id", e.KG_BUTTON_VAR_NAME = "Kg-Button-Var-Name", e.KG_IS_DYNAMIC_QUERY = "Kg-Is-Dynamic-Query", e.KG_QUERY_WHERE_SQL = "Kg-Query-Where-Sql", e.KG_QUERY_ORDER_BY_SQL = "Kg-Query-Order-By-Sql", e.KG_QUERY_OFFSET_SQL = "Kg-Query-Offset-Sql", e.KG_QUERY_SQL = "Kg-Query-Sql", e.KG_QUERY_OPERATOR = "Kg-Query-Operator", e.KG_WAREHOUSE = "Kg-Warehouse", e))(KG_HTTP_HEADERS || {});
|
6128
6128
|
const __KG__RESPONSE__ = "__KG__RESPONSE__", KG_TMP_MENU_ID__DATA_MANAGER = "KG_TMP_MENU_ID__DATA_MANAGER", KG_TMP_MENU_ID__BUSINESS_MANAGER = "KG_TMP_MENU_ID__BUSINESS_MANAGER", KG_TMP_MENU_ID__WCS = "KG_TMP_MENU_ID__WCS", KG_TMP_MENU_ID__SYS = "KG_TMP_MENU_ID__SYS", KG_TMP_MENU_ID__PDA = "KG_TMP_MENU_ID__PDA", KG__DI__FORM_ID = Symbol("KG__DI__FORM_ID"), KG__DI__VAR_CONFIG_LOOKUP__HOST_FORM_ID = Symbol("KG__DI__VAR_CONFIG_LOOKUP__HOST_FORM_ID"), KG__DI__KG_FORM_ITEM__VAR_NAME = Symbol("KG__DI__KG_FORM_ITEM__VAR_NAME"), KG__DI__VAR_CONFIG_LOOKUP__LOOKUP_ID = Symbol("KG__DI__VAR_CONFIG_LOOKUP__LOOKUP_ID");
|
6129
6129
|
class KgRouteUtil {
|
6130
6130
|
static addOnlineRoutesForAllApps(a) {
|
@@ -6184,7 +6184,7 @@ class KgRouteUtil {
|
|
6184
6184
|
}), a;
|
6185
6185
|
}
|
6186
6186
|
static transformMenus(a) {
|
6187
|
-
var m, b, v, p, E, T, C, k, A, O, y, D, M, F, N, P, w, K, L, G, B,
|
6187
|
+
var m, b, v, p, E, T, C, k, A, O, y, D, M, F, N, P, w, K, L, G, B, H, U, Z, Y, $, q, Q, J, oe, _e, ge, fe, de;
|
6188
6188
|
if (!a)
|
6189
6189
|
return [];
|
6190
6190
|
const r = useKg(), n = (ee) => {
|
@@ -6255,7 +6255,7 @@ class KgRouteUtil {
|
|
6255
6255
|
id: KG_TMP_MENU_ID__SYS,
|
6256
6256
|
key: KG_TMP_MENU_ID__SYS,
|
6257
6257
|
title: (G = (L = r.option.value.appTitle) == null ? void 0 : L[KG_APP.SYS]) != null ? G : "\u7CFB\u7EDF\u914D\u7F6E",
|
6258
|
-
name: (
|
6258
|
+
name: (H = (B = r.option.value.appTitle) == null ? void 0 : B[KG_APP.SYS]) != null ? H : "\u7CFB\u7EDF\u914D\u7F6E",
|
6259
6259
|
slotTitle: (Z = (U = r.option.value.appTitle) == null ? void 0 : U[KG_APP.SYS]) != null ? Z : "\u7CFB\u7EDF\u914D\u7F6E",
|
6260
6260
|
sortNo: 4,
|
6261
6261
|
children: [],
|
@@ -6293,7 +6293,7 @@ class KgRouteUtil {
|
|
6293
6293
|
}
|
6294
6294
|
});
|
6295
6295
|
let d = [];
|
6296
|
-
(($ = (
|
6296
|
+
(($ = (Y = s.children) == null ? void 0 : Y.length) != null ? $ : 0 > 0) && d.push(s), ((Q = (q = o.children) == null ? void 0 : q.length) != null ? Q : 0 > 0) && d.push(o), ((oe = (J = l.children) == null ? void 0 : J.length) != null ? oe : 0 > 0) && d.push(l), ((ge = (_e = c.children) == null ? void 0 : _e.length) != null ? ge : 0 > 0) && d.push(c), ((de = (fe = _.children) == null ? void 0 : fe.length) != null ? de : 0 > 0) && d.push(_);
|
6297
6297
|
const g = (ee) => {
|
6298
6298
|
ee.sort((ae, W) => {
|
6299
6299
|
var V, I;
|
@@ -6411,16 +6411,16 @@ var dayjs_min = { exports: {} };
|
|
6411
6411
|
var G = ["th", "st", "nd", "rd"], B = L % 100;
|
6412
6412
|
return "[" + L + (G[(B - 20) % 10] || G[B] || G[0]) + "]";
|
6413
6413
|
} }, k = function(L, G, B) {
|
6414
|
-
var
|
6415
|
-
return !
|
6414
|
+
var H = String(L);
|
6415
|
+
return !H || H.length >= G ? L : "" + Array(G + 1 - H.length).join(B) + L;
|
6416
6416
|
}, A = { s: k, z: function(L) {
|
6417
|
-
var G = -L.utcOffset(), B = Math.abs(G),
|
6418
|
-
return (G <= 0 ? "+" : "-") + k(
|
6417
|
+
var G = -L.utcOffset(), B = Math.abs(G), H = Math.floor(B / 60), U = B % 60;
|
6418
|
+
return (G <= 0 ? "+" : "-") + k(H, 2, "0") + ":" + k(U, 2, "0");
|
6419
6419
|
}, m: function L(G, B) {
|
6420
6420
|
if (G.date() < B.date())
|
6421
6421
|
return -L(B, G);
|
6422
|
-
var
|
6423
|
-
return +(-(
|
6422
|
+
var H = 12 * (B.year() - G.year()) + (B.month() - G.month()), U = G.clone().add(H, g), Z = B - U < 0, Y = G.clone().add(H + (Z ? -1 : 1), g);
|
6423
|
+
return +(-(H + (B - U) / (Z ? U - Y : Y - U)) || 0);
|
6424
6424
|
}, a: function(L) {
|
6425
6425
|
return L < 0 ? Math.ceil(L) || 0 : Math.floor(L);
|
6426
6426
|
}, p: function(L) {
|
@@ -6431,21 +6431,21 @@ var dayjs_min = { exports: {} };
|
|
6431
6431
|
y[O] = C;
|
6432
6432
|
var D = "$isDayjsObject", M = function(L) {
|
6433
6433
|
return L instanceof w || !(!L || !L[D]);
|
6434
|
-
}, F = function L(G, B,
|
6434
|
+
}, F = function L(G, B, H) {
|
6435
6435
|
var U;
|
6436
6436
|
if (!G)
|
6437
6437
|
return O;
|
6438
6438
|
if (typeof G == "string") {
|
6439
6439
|
var Z = G.toLowerCase();
|
6440
6440
|
y[Z] && (U = Z), B && (y[Z] = B, U = Z);
|
6441
|
-
var
|
6442
|
-
if (!U &&
|
6443
|
-
return L(
|
6441
|
+
var Y = G.split("-");
|
6442
|
+
if (!U && Y.length > 1)
|
6443
|
+
return L(Y[0]);
|
6444
6444
|
} else {
|
6445
6445
|
var $ = G.name;
|
6446
6446
|
y[$] = G, U = $;
|
6447
6447
|
}
|
6448
|
-
return !
|
6448
|
+
return !H && U && (O = U), U || !H && O;
|
6449
6449
|
}, N = function(L, G) {
|
6450
6450
|
if (M(L))
|
6451
6451
|
return L.clone();
|
@@ -6461,8 +6461,8 @@ var dayjs_min = { exports: {} };
|
|
6461
6461
|
}
|
6462
6462
|
var G = L.prototype;
|
6463
6463
|
return G.parse = function(B) {
|
6464
|
-
this.$d = function(
|
6465
|
-
var U =
|
6464
|
+
this.$d = function(H) {
|
6465
|
+
var U = H.date, Z = H.utc;
|
6466
6466
|
if (U === null)
|
6467
6467
|
return new Date(NaN);
|
6468
6468
|
if (P.u(U))
|
@@ -6470,10 +6470,10 @@ var dayjs_min = { exports: {} };
|
|
6470
6470
|
if (U instanceof Date)
|
6471
6471
|
return new Date(U);
|
6472
6472
|
if (typeof U == "string" && !/Z$/i.test(U)) {
|
6473
|
-
var
|
6474
|
-
if (
|
6475
|
-
var $ =
|
6476
|
-
return Z ? new Date(Date.UTC(
|
6473
|
+
var Y = U.match(E);
|
6474
|
+
if (Y) {
|
6475
|
+
var $ = Y[2] - 1 || 0, q = (Y[7] || "0").substring(0, 3);
|
6476
|
+
return Z ? new Date(Date.UTC(Y[1], $, Y[3] || 1, Y[4] || 0, Y[5] || 0, Y[6] || 0, q)) : new Date(Y[1], $, Y[3] || 1, Y[4] || 0, Y[5] || 0, Y[6] || 0, q);
|
6477
6477
|
}
|
6478
6478
|
}
|
6479
6479
|
return new Date(U);
|
@@ -6485,27 +6485,27 @@ var dayjs_min = { exports: {} };
|
|
6485
6485
|
return P;
|
6486
6486
|
}, G.isValid = function() {
|
6487
6487
|
return this.$d.toString() !== p;
|
6488
|
-
}, G.isSame = function(B,
|
6488
|
+
}, G.isSame = function(B, H) {
|
6489
6489
|
var U = N(B);
|
6490
|
-
return this.startOf(
|
6491
|
-
}, G.isAfter = function(B,
|
6492
|
-
return N(B) < this.startOf(
|
6493
|
-
}, G.isBefore = function(B,
|
6494
|
-
return this.endOf(
|
6495
|
-
}, G.$g = function(B,
|
6496
|
-
return P.u(B) ? this[
|
6490
|
+
return this.startOf(H) <= U && U <= this.endOf(H);
|
6491
|
+
}, G.isAfter = function(B, H) {
|
6492
|
+
return N(B) < this.startOf(H);
|
6493
|
+
}, G.isBefore = function(B, H) {
|
6494
|
+
return this.endOf(H) < N(B);
|
6495
|
+
}, G.$g = function(B, H, U) {
|
6496
|
+
return P.u(B) ? this[H] : this.set(U, B);
|
6497
6497
|
}, G.unix = function() {
|
6498
6498
|
return Math.floor(this.valueOf() / 1e3);
|
6499
6499
|
}, G.valueOf = function() {
|
6500
6500
|
return this.$d.getTime();
|
6501
|
-
}, G.startOf = function(B,
|
6502
|
-
var U = this, Z = !!P.u(
|
6501
|
+
}, G.startOf = function(B, H) {
|
6502
|
+
var U = this, Z = !!P.u(H) || H, Y = P.p(B), $ = function(de, ee) {
|
6503
6503
|
var ae = P.w(U.$u ? Date.UTC(U.$y, ee, de) : new Date(U.$y, ee, de), U);
|
6504
6504
|
return Z ? ae : ae.endOf(_);
|
6505
6505
|
}, q = function(de, ee) {
|
6506
6506
|
return P.w(U.toDate()[de].apply(U.toDate("s"), (Z ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ee)), U);
|
6507
6507
|
}, Q = this.$W, J = this.$M, oe = this.$D, _e = "set" + (this.$u ? "UTC" : "");
|
6508
|
-
switch (
|
6508
|
+
switch (Y) {
|
6509
6509
|
case b:
|
6510
6510
|
return Z ? $(1, 0) : $(31, 11);
|
6511
6511
|
case g:
|
@@ -6527,43 +6527,43 @@ var dayjs_min = { exports: {} };
|
|
6527
6527
|
}
|
6528
6528
|
}, G.endOf = function(B) {
|
6529
6529
|
return this.startOf(B, !1);
|
6530
|
-
}, G.$set = function(B,
|
6531
|
-
var U, Z = P.p(B),
|
6530
|
+
}, G.$set = function(B, H) {
|
6531
|
+
var U, Z = P.p(B), Y = "set" + (this.$u ? "UTC" : ""), $ = (U = {}, U[_] = Y + "Date", U[v] = Y + "Date", U[g] = Y + "Month", U[b] = Y + "FullYear", U[c] = Y + "Hours", U[l] = Y + "Minutes", U[o] = Y + "Seconds", U[s] = Y + "Milliseconds", U)[Z], q = Z === _ ? this.$D + (H - this.$W) : H;
|
6532
6532
|
if (Z === g || Z === b) {
|
6533
6533
|
var Q = this.clone().set(v, 1);
|
6534
6534
|
Q.$d[$](q), Q.init(), this.$d = Q.set(v, Math.min(this.$D, Q.daysInMonth())).$d;
|
6535
6535
|
} else
|
6536
6536
|
$ && this.$d[$](q);
|
6537
6537
|
return this.init(), this;
|
6538
|
-
}, G.set = function(B,
|
6539
|
-
return this.clone().$set(B,
|
6538
|
+
}, G.set = function(B, H) {
|
6539
|
+
return this.clone().$set(B, H);
|
6540
6540
|
}, G.get = function(B) {
|
6541
6541
|
return this[P.p(B)]();
|
6542
|
-
}, G.add = function(B,
|
6542
|
+
}, G.add = function(B, H) {
|
6543
6543
|
var U, Z = this;
|
6544
6544
|
B = Number(B);
|
6545
|
-
var
|
6545
|
+
var Y = P.p(H), $ = function(J) {
|
6546
6546
|
var oe = N(Z);
|
6547
6547
|
return P.w(oe.date(oe.date() + Math.round(J * B)), Z);
|
6548
6548
|
};
|
6549
|
-
if (
|
6549
|
+
if (Y === g)
|
6550
6550
|
return this.set(g, this.$M + B);
|
6551
|
-
if (
|
6551
|
+
if (Y === b)
|
6552
6552
|
return this.set(b, this.$y + B);
|
6553
|
-
if (
|
6553
|
+
if (Y === _)
|
6554
6554
|
return $(1);
|
6555
|
-
if (
|
6555
|
+
if (Y === d)
|
6556
6556
|
return $(7);
|
6557
|
-
var q = (U = {}, U[l] = n, U[c] = u, U[o] = r, U)[
|
6557
|
+
var q = (U = {}, U[l] = n, U[c] = u, U[o] = r, U)[Y] || 1, Q = this.$d.getTime() + B * q;
|
6558
6558
|
return P.w(Q, this);
|
6559
|
-
}, G.subtract = function(B,
|
6560
|
-
return this.add(-1 * B,
|
6559
|
+
}, G.subtract = function(B, H) {
|
6560
|
+
return this.add(-1 * B, H);
|
6561
6561
|
}, G.format = function(B) {
|
6562
|
-
var
|
6562
|
+
var H = this, U = this.$locale();
|
6563
6563
|
if (!this.isValid())
|
6564
6564
|
return U.invalidDate || p;
|
6565
|
-
var Z = B || "YYYY-MM-DDTHH:mm:ssZ",
|
6566
|
-
return ee && (ee[ae] || ee(
|
6565
|
+
var Z = B || "YYYY-MM-DDTHH:mm:ssZ", Y = P.z(this), $ = this.$H, q = this.$m, Q = this.$M, J = U.weekdays, oe = U.months, _e = U.meridiem, ge = function(ee, ae, W, V) {
|
6566
|
+
return ee && (ee[ae] || ee(H, Z)) || W[ae].slice(0, V);
|
6567
6567
|
}, fe = function(ee) {
|
6568
6568
|
return P.s($ % 12 || 12, ee, "0");
|
6569
6569
|
}, de = _e || function(ee, ae, W) {
|
@@ -6574,9 +6574,9 @@ var dayjs_min = { exports: {} };
|
|
6574
6574
|
return ae || function(W) {
|
6575
6575
|
switch (W) {
|
6576
6576
|
case "YY":
|
6577
|
-
return String(
|
6577
|
+
return String(H.$y).slice(-2);
|
6578
6578
|
case "YYYY":
|
6579
|
-
return P.s(
|
6579
|
+
return P.s(H.$y, 4, "0");
|
6580
6580
|
case "M":
|
6581
6581
|
return Q + 1;
|
6582
6582
|
case "MM":
|
@@ -6586,17 +6586,17 @@ var dayjs_min = { exports: {} };
|
|
6586
6586
|
case "MMMM":
|
6587
6587
|
return ge(oe, Q);
|
6588
6588
|
case "D":
|
6589
|
-
return
|
6589
|
+
return H.$D;
|
6590
6590
|
case "DD":
|
6591
|
-
return P.s(
|
6591
|
+
return P.s(H.$D, 2, "0");
|
6592
6592
|
case "d":
|
6593
|
-
return String(
|
6593
|
+
return String(H.$W);
|
6594
6594
|
case "dd":
|
6595
|
-
return ge(U.weekdaysMin,
|
6595
|
+
return ge(U.weekdaysMin, H.$W, J, 2);
|
6596
6596
|
case "ddd":
|
6597
|
-
return ge(U.weekdaysShort,
|
6597
|
+
return ge(U.weekdaysShort, H.$W, J, 3);
|
6598
6598
|
case "dddd":
|
6599
|
-
return J[
|
6599
|
+
return J[H.$W];
|
6600
6600
|
case "H":
|
6601
6601
|
return String($);
|
6602
6602
|
case "HH":
|
@@ -6614,22 +6614,22 @@ var dayjs_min = { exports: {} };
|
|
6614
6614
|
case "mm":
|
6615
6615
|
return P.s(q, 2, "0");
|
6616
6616
|
case "s":
|
6617
|
-
return String(
|
6617
|
+
return String(H.$s);
|
6618
6618
|
case "ss":
|
6619
|
-
return P.s(
|
6619
|
+
return P.s(H.$s, 2, "0");
|
6620
6620
|
case "SSS":
|
6621
|
-
return P.s(
|
6621
|
+
return P.s(H.$ms, 3, "0");
|
6622
6622
|
case "Z":
|
6623
|
-
return
|
6623
|
+
return Y;
|
6624
6624
|
}
|
6625
6625
|
return null;
|
6626
|
-
}(ee) ||
|
6626
|
+
}(ee) || Y.replace(":", "");
|
6627
6627
|
});
|
6628
6628
|
}, G.utcOffset = function() {
|
6629
6629
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
6630
|
-
}, G.diff = function(B,
|
6631
|
-
var Z,
|
6632
|
-
return P.m(
|
6630
|
+
}, G.diff = function(B, H, U) {
|
6631
|
+
var Z, Y = this, $ = P.p(H), q = N(B), Q = (q.utcOffset() - this.utcOffset()) * n, J = this - q, oe = function() {
|
6632
|
+
return P.m(Y, q);
|
6633
6633
|
};
|
6634
6634
|
switch ($) {
|
6635
6635
|
case b:
|
@@ -6664,10 +6664,10 @@ var dayjs_min = { exports: {} };
|
|
6664
6664
|
return this.endOf(g).$D;
|
6665
6665
|
}, G.$locale = function() {
|
6666
6666
|
return y[this.$L];
|
6667
|
-
}, G.locale = function(B,
|
6667
|
+
}, G.locale = function(B, H) {
|
6668
6668
|
if (!B)
|
6669
6669
|
return this.$L;
|
6670
|
-
var U = this.clone(), Z = F(B,
|
6670
|
+
var U = this.clone(), Z = F(B, H, !0);
|
6671
6671
|
return Z && (U.$L = Z), U;
|
6672
6672
|
}, G.clone = function() {
|
6673
6673
|
return P.w(this.$d, this);
|
@@ -7122,7 +7122,7 @@ class KgUtil {
|
|
7122
7122
|
return v4();
|
7123
7123
|
}
|
7124
7124
|
}
|
7125
|
-
function _isSlot$
|
7125
|
+
function _isSlot$f(e) {
|
7126
7126
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !isVNode$1(e);
|
7127
7127
|
}
|
7128
7128
|
class KgVarUtil {
|
@@ -7400,57 +7400,57 @@ class KgVarUtil {
|
|
7400
7400
|
return a && (v = a), createVNode(Fragment, null, [[KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.INPUT, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.INPUT_PASSWORD, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.INPUT_NUMBER, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.TEXT_AREA, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_DATE, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_TIME, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_DATETIME, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_WEEK, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_MONTH, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_YEAR, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.CHECKBOX, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.SWITCH, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.SELECT, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.RADIO_GROUP].includes(v) && createVNode(Fragment, null, [createVNode(Select.Option, {
|
7401
7401
|
title: b.t("kg.KgSearchConfigModal.EQ-desc"),
|
7402
7402
|
value: KG_DYNAMIC_QUERY_OPERATOR.EQ
|
7403
|
-
}, _isSlot$
|
7403
|
+
}, _isSlot$f(r = b.t("kg.KgSearchConfigModal.EQ")) ? r : {
|
7404
7404
|
default: () => [r]
|
7405
7405
|
}), createVNode(Select.Option, {
|
7406
7406
|
title: b.t("kg.KgSearchConfigModal.NE-desc"),
|
7407
7407
|
value: KG_DYNAMIC_QUERY_OPERATOR.NE
|
7408
|
-
}, _isSlot$
|
7408
|
+
}, _isSlot$f(n = b.t("kg.KgSearchConfigModal.NE")) ? n : {
|
7409
7409
|
default: () => [n]
|
7410
7410
|
})]), [KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.INPUT_NUMBER, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_DATE, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_TIME, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_DATETIME, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_WEEK, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_MONTH, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_YEAR].includes(v) && createVNode(Fragment, null, [createVNode(Select.Option, {
|
7411
7411
|
title: b.t("kg.KgSearchConfigModal.GT-desc"),
|
7412
7412
|
value: KG_DYNAMIC_QUERY_OPERATOR.GT
|
7413
|
-
}, _isSlot$
|
7413
|
+
}, _isSlot$f(u = b.t("kg.KgSearchConfigModal.GT")) ? u : {
|
7414
7414
|
default: () => [u]
|
7415
7415
|
}), createVNode(Select.Option, {
|
7416
7416
|
title: b.t("kg.KgSearchConfigModal.GTE-desc"),
|
7417
7417
|
value: KG_DYNAMIC_QUERY_OPERATOR.GTE
|
7418
|
-
}, _isSlot$
|
7418
|
+
}, _isSlot$f(s = b.t("kg.KgSearchConfigModal.GTE")) ? s : {
|
7419
7419
|
default: () => [s]
|
7420
7420
|
}), createVNode(Select.Option, {
|
7421
7421
|
title: b.t("kg.KgSearchConfigModal.LT-desc"),
|
7422
7422
|
value: KG_DYNAMIC_QUERY_OPERATOR.LT
|
7423
|
-
}, _isSlot$
|
7423
|
+
}, _isSlot$f(o = b.t("kg.KgSearchConfigModal.LT")) ? o : {
|
7424
7424
|
default: () => [o]
|
7425
7425
|
}), createVNode(Select.Option, {
|
7426
7426
|
title: b.t("kg.KgSearchConfigModal.LTE-desc"),
|
7427
7427
|
value: KG_DYNAMIC_QUERY_OPERATOR.LTE
|
7428
|
-
}, _isSlot$
|
7428
|
+
}, _isSlot$f(l = b.t("kg.KgSearchConfigModal.LTE")) ? l : {
|
7429
7429
|
default: () => [l]
|
7430
7430
|
})]), [KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.INPUT, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.INPUT_PASSWORD, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.TEXT_AREA].includes(v) && createVNode(Fragment, null, [createVNode(Select.Option, {
|
7431
7431
|
title: b.t("kg.KgSearchConfigModal.START_WITH-desc"),
|
7432
7432
|
value: KG_DYNAMIC_QUERY_OPERATOR.START_WITH
|
7433
|
-
}, _isSlot$
|
7433
|
+
}, _isSlot$f(c = b.t("kg.KgSearchConfigModal.START_WITH")) ? c : {
|
7434
7434
|
default: () => [c]
|
7435
7435
|
}), createVNode(Select.Option, {
|
7436
7436
|
title: b.t("kg.KgSearchConfigModal.END_WITH-desc"),
|
7437
7437
|
value: KG_DYNAMIC_QUERY_OPERATOR.END_WITH
|
7438
|
-
}, _isSlot$
|
7438
|
+
}, _isSlot$f(_ = b.t("kg.KgSearchConfigModal.END_WITH")) ? _ : {
|
7439
7439
|
default: () => [_]
|
7440
7440
|
}), createVNode(Select.Option, {
|
7441
7441
|
title: b.t("kg.KgSearchConfigModal.CONTAIN-desc"),
|
7442
7442
|
value: KG_DYNAMIC_QUERY_OPERATOR.CONTAIN
|
7443
|
-
}, _isSlot$
|
7443
|
+
}, _isSlot$f(d = b.t("kg.KgSearchConfigModal.CONTAIN")) ? d : {
|
7444
7444
|
default: () => [d]
|
7445
7445
|
})]), [KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.CHECKBOX_GROUP, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.SELECT_MULTIPLE].includes(v) && createVNode(Select.Option, {
|
7446
7446
|
title: b.t("kg.KgSearchConfigModal.IN-desc"),
|
7447
7447
|
value: KG_DYNAMIC_QUERY_OPERATOR.IN
|
7448
|
-
}, _isSlot$
|
7448
|
+
}, _isSlot$f(g = b.t("kg.KgSearchConfigModal.IN")) ? g : {
|
7449
7449
|
default: () => [g]
|
7450
7450
|
}), [KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_DATE_RANGE, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_TIME_RANGE, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_DATETIME_RANGE].includes(v) && createVNode(Select.Option, {
|
7451
7451
|
title: b.t("kg.KgSearchConfigModal.BETWEEN-desc"),
|
7452
7452
|
value: KG_DYNAMIC_QUERY_OPERATOR.BETWEEN
|
7453
|
-
}, _isSlot$
|
7453
|
+
}, _isSlot$f(m = b.t("kg.KgSearchConfigModal.BETWEEN")) ? m : {
|
7454
7454
|
default: () => [m]
|
7455
7455
|
})]);
|
7456
7456
|
}
|
@@ -7478,14 +7478,14 @@ class KgVarUtil {
|
|
7478
7478
|
};
|
7479
7479
|
const c = ["pageNo", "pageSize", "column", "order"], _ = useKg(), d = u ? useKgVar(u) : null, g = n ? useKgVar(n) : null, m = n ? (C = g == null ? void 0 : g.kgSearch) == null ? void 0 : C.dynamicQueryOperatorModel.value : s, b = {};
|
7480
7480
|
Object.keys(l).sort().forEach((D) => {
|
7481
|
-
var w, K, L, G, B,
|
7481
|
+
var w, K, L, G, B, H;
|
7482
7482
|
if (c.includes(D) || D.endsWith("_obj"))
|
7483
7483
|
return;
|
7484
7484
|
const M = n ? (w = g == null ? void 0 : g.store) == null ? void 0 : w.getVarProfileDetail(n, D) : null;
|
7485
7485
|
let F = D;
|
7486
7486
|
const N = l[D];
|
7487
7487
|
let P = m == null ? void 0 : m[D];
|
7488
|
-
switch ((((L = (K = _.option.value.KgSearch) == null ? void 0 : K.dynamicQuery) == null ? void 0 : L.on) !== !0 || n && ((
|
7488
|
+
switch ((((L = (K = _.option.value.KgSearch) == null ? void 0 : K.dynamicQuery) == null ? void 0 : L.on) !== !0 || n && ((H = (B = (G = g == null ? void 0 : g.kgSearch) == null ? void 0 : G.currentVarProfileMaster) == null ? void 0 : B.value) == null ? void 0 : H.dyn_flg) !== 1) && (P = KG_DYNAMIC_QUERY_OPERATOR.EQ), n && (M == null ? void 0 : M.use_underscore_when_dynamic_query_flag) !== 0 && (F = D.split(".").map((U) => KgUtil.snakeCase(U)).join(".")), !0) {
|
7489
7489
|
case (!!o && o.isDayjs(N)): {
|
7490
7490
|
const U = N;
|
7491
7491
|
let Z = n ? KgUtil.parseParamFromDayjs({
|
@@ -7495,57 +7495,57 @@ class KgVarUtil {
|
|
7495
7495
|
}) : U.format("YYYY-MM-DD HH:mm:ss");
|
7496
7496
|
switch (P) {
|
7497
7497
|
case KG_DYNAMIC_QUERY_OPERATOR.NE: {
|
7498
|
-
let
|
7498
|
+
let Y = Z, $ = "";
|
7499
7499
|
switch (!0) {
|
7500
|
-
case /\d\d-\d\d-\d\d \d\d:\d\d:\d\d/.test(
|
7500
|
+
case /\d\d-\d\d-\d\d \d\d:\d\d:\d\d/.test(Y): {
|
7501
7501
|
$ = U.add(1, "second").format("YYYY-MM-DD HH:mm:ss");
|
7502
7502
|
break;
|
7503
7503
|
}
|
7504
|
-
case /\d\d-\d\d-\d\d/.test(
|
7505
|
-
|
7504
|
+
case /\d\d-\d\d-\d\d/.test(Y): {
|
7505
|
+
Y = `${Y} 00:00:00`, $ = U.add(1, "day").format("YYYY-MM-DD 00:00:00");
|
7506
7506
|
break;
|
7507
7507
|
}
|
7508
|
-
case /\d\d:\d\d:\d\d/.test(
|
7509
|
-
|
7508
|
+
case /\d\d:\d\d:\d\d/.test(Y): {
|
7509
|
+
Y = U.format("1900-01-01 HH:mm:ss"), $ = U.add(1, "second").format("1900-01-01 HH:mm:ss");
|
7510
7510
|
break;
|
7511
7511
|
}
|
7512
7512
|
default:
|
7513
7513
|
throw new Error("KgUtil.parseParamsForDynamicQuery() | \u65E5\u671F\u683C\u5F0F\u6709\u8BEF.");
|
7514
7514
|
}
|
7515
|
-
Z = ` AND (${F} < '${
|
7515
|
+
Z = ` AND (${F} < '${Y}' OR ${F} >= '${$}')`;
|
7516
7516
|
break;
|
7517
7517
|
}
|
7518
7518
|
case KG_DYNAMIC_QUERY_OPERATOR.LT: {
|
7519
|
-
let
|
7519
|
+
let Y = Z;
|
7520
7520
|
switch (!0) {
|
7521
|
-
case /\d\d-\d\d-\d\d \d\d:\d\d:\d\d/.test(
|
7521
|
+
case /\d\d-\d\d-\d\d \d\d:\d\d:\d\d/.test(Y):
|
7522
7522
|
break;
|
7523
|
-
case /\d\d-\d\d-\d\d/.test(
|
7524
|
-
|
7523
|
+
case /\d\d-\d\d-\d\d/.test(Y): {
|
7524
|
+
Y = `${Y} 00:00:00`;
|
7525
7525
|
break;
|
7526
7526
|
}
|
7527
|
-
case /\d\d:\d\d:\d\d/.test(
|
7528
|
-
|
7527
|
+
case /\d\d:\d\d:\d\d/.test(Y): {
|
7528
|
+
Y = `1900-01-01 ${Y}`;
|
7529
7529
|
break;
|
7530
7530
|
}
|
7531
7531
|
default:
|
7532
7532
|
throw new Error("KgUtil.parseParamsForDynamicQuery() | \u65E5\u671F\u683C\u5F0F\u6709\u8BEF.");
|
7533
7533
|
}
|
7534
|
-
Z = ` AND (${F} < '${
|
7534
|
+
Z = ` AND (${F} < '${Y}')`;
|
7535
7535
|
break;
|
7536
7536
|
}
|
7537
7537
|
case KG_DYNAMIC_QUERY_OPERATOR.LTE: {
|
7538
|
-
let
|
7538
|
+
let Y = Z, $ = "";
|
7539
7539
|
switch (!0) {
|
7540
|
-
case /\d\d-\d\d-\d\d \d\d:\d\d:\d\d/.test(
|
7540
|
+
case /\d\d-\d\d-\d\d \d\d:\d\d:\d\d/.test(Y): {
|
7541
7541
|
$ = U.add(1, "second").format("YYYY-MM-DD HH:mm:ss");
|
7542
7542
|
break;
|
7543
7543
|
}
|
7544
|
-
case /\d\d-\d\d-\d\d/.test(
|
7544
|
+
case /\d\d-\d\d-\d\d/.test(Y): {
|
7545
7545
|
$ = U.add(1, "day").format("YYYY-MM-DD 00:00:00");
|
7546
7546
|
break;
|
7547
7547
|
}
|
7548
|
-
case /\d\d:\d\d:\d\d/.test(
|
7548
|
+
case /\d\d:\d\d:\d\d/.test(Y): {
|
7549
7549
|
$ = U.add(1, "second").format("1900-01-01 HH:mm:ss");
|
7550
7550
|
break;
|
7551
7551
|
}
|
@@ -7556,17 +7556,17 @@ class KgVarUtil {
|
|
7556
7556
|
break;
|
7557
7557
|
}
|
7558
7558
|
case KG_DYNAMIC_QUERY_OPERATOR.GT: {
|
7559
|
-
let
|
7559
|
+
let Y = Z, $ = "";
|
7560
7560
|
switch (!0) {
|
7561
|
-
case /\d\d-\d\d-\d\d \d\d:\d\d:\d\d/.test(
|
7561
|
+
case /\d\d-\d\d-\d\d \d\d:\d\d:\d\d/.test(Y): {
|
7562
7562
|
$ = U.add(1, "second").format("YYYY-MM-DD HH:mm:ss");
|
7563
7563
|
break;
|
7564
7564
|
}
|
7565
|
-
case /\d\d-\d\d-\d\d/.test(
|
7565
|
+
case /\d\d-\d\d-\d\d/.test(Y): {
|
7566
7566
|
$ = U.add(1, "day").format("YYYY-MM-DD 00:00:00");
|
7567
7567
|
break;
|
7568
7568
|
}
|
7569
|
-
case /\d\d:\d\d:\d\d/.test(
|
7569
|
+
case /\d\d:\d\d:\d\d/.test(Y): {
|
7570
7570
|
$ = U.add(1, "second").format("1900-01-01 HH:mm:ss");
|
7571
7571
|
break;
|
7572
7572
|
}
|
@@ -7577,44 +7577,44 @@ class KgVarUtil {
|
|
7577
7577
|
break;
|
7578
7578
|
}
|
7579
7579
|
case KG_DYNAMIC_QUERY_OPERATOR.GTE: {
|
7580
|
-
let
|
7580
|
+
let Y = Z;
|
7581
7581
|
switch (!0) {
|
7582
|
-
case /\d\d-\d\d-\d\d \d\d:\d\d:\d\d/.test(
|
7582
|
+
case /\d\d-\d\d-\d\d \d\d:\d\d:\d\d/.test(Y):
|
7583
7583
|
break;
|
7584
|
-
case /\d\d-\d\d-\d\d/.test(
|
7585
|
-
|
7584
|
+
case /\d\d-\d\d-\d\d/.test(Y): {
|
7585
|
+
Y = `${Y} 00:00:00`;
|
7586
7586
|
break;
|
7587
7587
|
}
|
7588
|
-
case /\d\d:\d\d:\d\d/.test(
|
7589
|
-
|
7588
|
+
case /\d\d:\d\d:\d\d/.test(Y): {
|
7589
|
+
Y = `1900-01-01 ${Y}`;
|
7590
7590
|
break;
|
7591
7591
|
}
|
7592
7592
|
default:
|
7593
7593
|
throw new Error("KgUtil.parseParamsForDynamicQuery() | \u65E5\u671F\u683C\u5F0F\u6709\u8BEF.");
|
7594
7594
|
}
|
7595
|
-
Z = ` AND (${F} >= '${
|
7595
|
+
Z = ` AND (${F} >= '${Y}')`;
|
7596
7596
|
break;
|
7597
7597
|
}
|
7598
7598
|
case KG_DYNAMIC_QUERY_OPERATOR.EQ:
|
7599
7599
|
default: {
|
7600
|
-
let
|
7600
|
+
let Y = Z, $ = "";
|
7601
7601
|
switch (!0) {
|
7602
|
-
case /\d\d-\d\d-\d\d \d\d:\d\d:\d\d/.test(
|
7602
|
+
case /\d\d-\d\d-\d\d \d\d:\d\d:\d\d/.test(Y): {
|
7603
7603
|
$ = U.add(1, "second").format("YYYY-MM-DD HH:mm:ss");
|
7604
7604
|
break;
|
7605
7605
|
}
|
7606
|
-
case /\d\d-\d\d-\d\d/.test(
|
7607
|
-
|
7606
|
+
case /\d\d-\d\d-\d\d/.test(Y): {
|
7607
|
+
Y = `${Y} 00:00:00`, $ = U.add(1, "day").format("YYYY-MM-DD 00:00:00");
|
7608
7608
|
break;
|
7609
7609
|
}
|
7610
|
-
case /\d\d:\d\d:\d\d/.test(
|
7611
|
-
|
7610
|
+
case /\d\d:\d\d:\d\d/.test(Y): {
|
7611
|
+
Y = `1900-01-01 ${Y}`, $ = U.add(1, "second").format("1900-01-01 HH:mm:ss");
|
7612
7612
|
break;
|
7613
7613
|
}
|
7614
7614
|
default:
|
7615
7615
|
throw new Error("KgUtil.parseParamsForDynamicQuery() | \u65E5\u671F\u683C\u5F0F\u6709\u8BEF.");
|
7616
7616
|
}
|
7617
|
-
Z = ` AND (${F} >= '${
|
7617
|
+
Z = ` AND (${F} >= '${Y}' AND ${F} < '${$}')`;
|
7618
7618
|
break;
|
7619
7619
|
}
|
7620
7620
|
}
|
@@ -7623,7 +7623,7 @@ class KgVarUtil {
|
|
7623
7623
|
}
|
7624
7624
|
case (!!o && isArray$2(N) && N.length === 2 && o.isDayjs(N[0]) && o.isDayjs(N[1])): {
|
7625
7625
|
const U = N[0], Z = N[1];
|
7626
|
-
let
|
7626
|
+
let Y = "", $ = KgUtil.parseParamFromDayjs({
|
7627
7627
|
formID: n,
|
7628
7628
|
key: D,
|
7629
7629
|
value: U
|
@@ -7651,7 +7651,7 @@ class KgVarUtil {
|
|
7651
7651
|
break;
|
7652
7652
|
}
|
7653
7653
|
}
|
7654
|
-
$ && (
|
7654
|
+
$ && (Y += ` AND (${F} >= N'${$}')`), q && (Y += ` AND (${F} < N'${q}')`), b[D] = Y;
|
7655
7655
|
break;
|
7656
7656
|
}
|
7657
7657
|
case Array.isArray(N): {
|
@@ -8572,54 +8572,55 @@ function requireCore() {
|
|
8572
8572
|
});
|
8573
8573
|
}(core)), core.exports;
|
8574
8574
|
}
|
8575
|
-
var encBase64 = { exports: {} };
|
8576
|
-
|
8577
|
-
(function(
|
8578
|
-
|
8579
|
-
|
8580
|
-
|
8581
|
-
|
8582
|
-
|
8583
|
-
|
8584
|
-
|
8585
|
-
|
8586
|
-
|
8587
|
-
for (var
|
8588
|
-
|
8589
|
-
|
8590
|
-
|
8591
|
-
|
8592
|
-
m.
|
8593
|
-
|
8594
|
-
|
8595
|
-
|
8596
|
-
|
8597
|
-
|
8598
|
-
g
|
8599
|
-
|
8600
|
-
|
8601
|
-
|
8602
|
-
|
8603
|
-
|
8604
|
-
|
8605
|
-
|
8606
|
-
|
8607
|
-
|
8608
|
-
|
8609
|
-
|
8610
|
-
|
8611
|
-
|
8612
|
-
|
8613
|
-
|
8614
|
-
|
8615
|
-
|
8616
|
-
|
8617
|
-
|
8618
|
-
|
8619
|
-
|
8620
|
-
|
8621
|
-
})
|
8622
|
-
|
8575
|
+
var encBase64 = { exports: {} }, hasRequiredEncBase64;
|
8576
|
+
function requireEncBase64() {
|
8577
|
+
return hasRequiredEncBase64 || (hasRequiredEncBase64 = 1, function(e, a) {
|
8578
|
+
(function(r, n) {
|
8579
|
+
e.exports = n(requireCore());
|
8580
|
+
})(commonjsGlobal, function(r) {
|
8581
|
+
return function() {
|
8582
|
+
var n = r, u = n.lib, s = u.WordArray, o = n.enc;
|
8583
|
+
o.Base64 = {
|
8584
|
+
stringify: function(c) {
|
8585
|
+
var _ = c.words, d = c.sigBytes, g = this._map;
|
8586
|
+
c.clamp();
|
8587
|
+
for (var m = [], b = 0; b < d; b += 3)
|
8588
|
+
for (var v = _[b >>> 2] >>> 24 - b % 4 * 8 & 255, p = _[b + 1 >>> 2] >>> 24 - (b + 1) % 4 * 8 & 255, E = _[b + 2 >>> 2] >>> 24 - (b + 2) % 4 * 8 & 255, T = v << 16 | p << 8 | E, C = 0; C < 4 && b + C * 0.75 < d; C++)
|
8589
|
+
m.push(g.charAt(T >>> 6 * (3 - C) & 63));
|
8590
|
+
var k = g.charAt(64);
|
8591
|
+
if (k)
|
8592
|
+
for (; m.length % 4; )
|
8593
|
+
m.push(k);
|
8594
|
+
return m.join("");
|
8595
|
+
},
|
8596
|
+
parse: function(c) {
|
8597
|
+
var _ = c.length, d = this._map, g = this._reverseMap;
|
8598
|
+
if (!g) {
|
8599
|
+
g = this._reverseMap = [];
|
8600
|
+
for (var m = 0; m < d.length; m++)
|
8601
|
+
g[d.charCodeAt(m)] = m;
|
8602
|
+
}
|
8603
|
+
var b = d.charAt(64);
|
8604
|
+
if (b) {
|
8605
|
+
var v = c.indexOf(b);
|
8606
|
+
v !== -1 && (_ = v);
|
8607
|
+
}
|
8608
|
+
return l(c, _, g);
|
8609
|
+
},
|
8610
|
+
_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
|
8611
|
+
};
|
8612
|
+
function l(c, _, d) {
|
8613
|
+
for (var g = [], m = 0, b = 0; b < _; b++)
|
8614
|
+
if (b % 4) {
|
8615
|
+
var v = d[c.charCodeAt(b - 1)] << b % 4 * 2, p = d[c.charCodeAt(b)] >>> 6 - b % 4 * 2, E = v | p;
|
8616
|
+
g[m >>> 2] |= E << 24 - m % 4 * 8, m++;
|
8617
|
+
}
|
8618
|
+
return s.create(g, m);
|
8619
|
+
}
|
8620
|
+
}(), r.enc.Base64;
|
8621
|
+
});
|
8622
|
+
}(encBase64)), encBase64.exports;
|
8623
|
+
}
|
8623
8624
|
var md5 = { exports: {} }, hasRequiredMd5;
|
8624
8625
|
function requireMd5() {
|
8625
8626
|
return hasRequiredMd5 || (hasRequiredMd5 = 1, function(e, a) {
|
@@ -8646,8 +8647,8 @@ function requireMd5() {
|
|
8646
8647
|
var C = E + T, k = p[C];
|
8647
8648
|
p[C] = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360;
|
8648
8649
|
}
|
8649
|
-
var A = this._hash.words, O = p[E + 0], y = p[E + 1], D = p[E + 2], M = p[E + 3], F = p[E + 4], N = p[E + 5], P = p[E + 6], w = p[E + 7], K = p[E + 8], L = p[E + 9], G = p[E + 10], B = p[E + 11],
|
8650
|
-
$ = g($, q, Q, J, O, 7, _[0]), J = g(J, $, q, Q, y, 12, _[1]), Q = g(Q, J, $, q, D, 17, _[2]), q = g(q, Q, J, $, M, 22, _[3]), $ = g($, q, Q, J, F, 7, _[4]), J = g(J, $, q, Q, N, 12, _[5]), Q = g(Q, J, $, q, P, 17, _[6]), q = g(q, Q, J, $, w, 22, _[7]), $ = g($, q, Q, J, K, 7, _[8]), J = g(J, $, q, Q, L, 12, _[9]), Q = g(Q, J, $, q, G, 17, _[10]), q = g(q, Q, J, $, B, 22, _[11]), $ = g($, q, Q, J,
|
8650
|
+
var A = this._hash.words, O = p[E + 0], y = p[E + 1], D = p[E + 2], M = p[E + 3], F = p[E + 4], N = p[E + 5], P = p[E + 6], w = p[E + 7], K = p[E + 8], L = p[E + 9], G = p[E + 10], B = p[E + 11], H = p[E + 12], U = p[E + 13], Z = p[E + 14], Y = p[E + 15], $ = A[0], q = A[1], Q = A[2], J = A[3];
|
8651
|
+
$ = g($, q, Q, J, O, 7, _[0]), J = g(J, $, q, Q, y, 12, _[1]), Q = g(Q, J, $, q, D, 17, _[2]), q = g(q, Q, J, $, M, 22, _[3]), $ = g($, q, Q, J, F, 7, _[4]), J = g(J, $, q, Q, N, 12, _[5]), Q = g(Q, J, $, q, P, 17, _[6]), q = g(q, Q, J, $, w, 22, _[7]), $ = g($, q, Q, J, K, 7, _[8]), J = g(J, $, q, Q, L, 12, _[9]), Q = g(Q, J, $, q, G, 17, _[10]), q = g(q, Q, J, $, B, 22, _[11]), $ = g($, q, Q, J, H, 7, _[12]), J = g(J, $, q, Q, U, 12, _[13]), Q = g(Q, J, $, q, Z, 17, _[14]), q = g(q, Q, J, $, Y, 22, _[15]), $ = m($, q, Q, J, y, 5, _[16]), J = m(J, $, q, Q, P, 9, _[17]), Q = m(Q, J, $, q, B, 14, _[18]), q = m(q, Q, J, $, O, 20, _[19]), $ = m($, q, Q, J, N, 5, _[20]), J = m(J, $, q, Q, G, 9, _[21]), Q = m(Q, J, $, q, Y, 14, _[22]), q = m(q, Q, J, $, F, 20, _[23]), $ = m($, q, Q, J, L, 5, _[24]), J = m(J, $, q, Q, Z, 9, _[25]), Q = m(Q, J, $, q, M, 14, _[26]), q = m(q, Q, J, $, K, 20, _[27]), $ = m($, q, Q, J, U, 5, _[28]), J = m(J, $, q, Q, D, 9, _[29]), Q = m(Q, J, $, q, w, 14, _[30]), q = m(q, Q, J, $, H, 20, _[31]), $ = b($, q, Q, J, N, 4, _[32]), J = b(J, $, q, Q, K, 11, _[33]), Q = b(Q, J, $, q, B, 16, _[34]), q = b(q, Q, J, $, Z, 23, _[35]), $ = b($, q, Q, J, y, 4, _[36]), J = b(J, $, q, Q, F, 11, _[37]), Q = b(Q, J, $, q, w, 16, _[38]), q = b(q, Q, J, $, G, 23, _[39]), $ = b($, q, Q, J, U, 4, _[40]), J = b(J, $, q, Q, O, 11, _[41]), Q = b(Q, J, $, q, M, 16, _[42]), q = b(q, Q, J, $, P, 23, _[43]), $ = b($, q, Q, J, L, 4, _[44]), J = b(J, $, q, Q, H, 11, _[45]), Q = b(Q, J, $, q, Y, 16, _[46]), q = b(q, Q, J, $, D, 23, _[47]), $ = v($, q, Q, J, O, 6, _[48]), J = v(J, $, q, Q, w, 10, _[49]), Q = v(Q, J, $, q, Z, 15, _[50]), q = v(q, Q, J, $, N, 21, _[51]), $ = v($, q, Q, J, H, 6, _[52]), J = v(J, $, q, Q, M, 10, _[53]), Q = v(Q, J, $, q, G, 15, _[54]), q = v(q, Q, J, $, y, 21, _[55]), $ = v($, q, Q, J, K, 6, _[56]), J = v(J, $, q, Q, Y, 10, _[57]), Q = v(Q, J, $, q, P, 15, _[58]), q = v(q, Q, J, $, U, 21, _[59]), $ = v($, q, Q, J, F, 6, _[60]), J = v(J, $, q, Q, B, 10, _[61]), Q = v(Q, J, $, q, D, 15, _[62]), q = v(q, Q, J, $, L, 21, _[63]), A[0] = A[0] + $ | 0, A[1] = A[1] + q | 0, A[2] = A[2] + Q | 0, A[3] = A[3] + J | 0;
|
8651
8652
|
},
|
8652
8653
|
_doFinalize: function() {
|
8653
8654
|
var p = this._data, E = p.words, T = this._nDataBytes * 8, C = p.sigBytes * 8;
|
@@ -8882,16 +8883,16 @@ function requireCipherCore() {
|
|
8882
8883
|
function P(w, K, L) {
|
8883
8884
|
var G, B = this._iv;
|
8884
8885
|
B ? (G = B, this._iv = n) : G = this._prevBlock;
|
8885
|
-
for (var
|
8886
|
-
w[K +
|
8886
|
+
for (var H = 0; H < L; H++)
|
8887
|
+
w[K + H] ^= G[H];
|
8887
8888
|
}
|
8888
8889
|
return N;
|
8889
8890
|
}(), T = u.pad = {}, C = T.Pkcs7 = {
|
8890
8891
|
pad: function(N, P) {
|
8891
8892
|
for (var w = P * 4, K = w - N.sigBytes % w, L = K << 24 | K << 16 | K << 8 | K, G = [], B = 0; B < K; B += 4)
|
8892
8893
|
G.push(L);
|
8893
|
-
var
|
8894
|
-
N.concat(
|
8894
|
+
var H = l.create(G, K);
|
8895
|
+
N.concat(H);
|
8895
8896
|
},
|
8896
8897
|
unpad: function(N) {
|
8897
8898
|
var P = N.words[N.sigBytes - 1 >>> 2] & 255;
|
@@ -8991,7 +8992,7 @@ function requireCipherCore() {
|
|
8991
8992
|
}
|
8992
8993
|
(function(e, a) {
|
8993
8994
|
(function(r, n, u) {
|
8994
|
-
e.exports = n(requireCore(),
|
8995
|
+
e.exports = n(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
8995
8996
|
})(commonjsGlobal, function(r) {
|
8996
8997
|
return function() {
|
8997
8998
|
var n = r, u = n.lib, s = u.BlockCipher, o = n.algo, l = [], c = [], _ = [], d = [], g = [], m = [], b = [], v = [], p = [], E = [];
|
@@ -9033,12 +9034,12 @@ function requireCipherCore() {
|
|
9033
9034
|
k[A + 1] = k[A + 3], k[A + 3] = O;
|
9034
9035
|
},
|
9035
9036
|
_doCryptBlock: function(k, A, O, y, D, M, F, N) {
|
9036
|
-
for (var P = this._nRounds, w = k[A] ^ O[0], K = k[A + 1] ^ O[1], L = k[A + 2] ^ O[2], G = k[A + 3] ^ O[3], B = 4,
|
9037
|
-
var U = y[w >>> 24] ^ D[K >>> 16 & 255] ^ M[L >>> 8 & 255] ^ F[G & 255] ^ O[B++], Z = y[K >>> 24] ^ D[L >>> 16 & 255] ^ M[G >>> 8 & 255] ^ F[w & 255] ^ O[B++],
|
9038
|
-
w = U, K = Z, L =
|
9037
|
+
for (var P = this._nRounds, w = k[A] ^ O[0], K = k[A + 1] ^ O[1], L = k[A + 2] ^ O[2], G = k[A + 3] ^ O[3], B = 4, H = 1; H < P; H++) {
|
9038
|
+
var U = y[w >>> 24] ^ D[K >>> 16 & 255] ^ M[L >>> 8 & 255] ^ F[G & 255] ^ O[B++], Z = y[K >>> 24] ^ D[L >>> 16 & 255] ^ M[G >>> 8 & 255] ^ F[w & 255] ^ O[B++], Y = y[L >>> 24] ^ D[G >>> 16 & 255] ^ M[w >>> 8 & 255] ^ F[K & 255] ^ O[B++], $ = y[G >>> 24] ^ D[w >>> 16 & 255] ^ M[K >>> 8 & 255] ^ F[L & 255] ^ O[B++];
|
9039
|
+
w = U, K = Z, L = Y, G = $;
|
9039
9040
|
}
|
9040
|
-
var U = (N[w >>> 24] << 24 | N[K >>> 16 & 255] << 16 | N[L >>> 8 & 255] << 8 | N[G & 255]) ^ O[B++], Z = (N[K >>> 24] << 24 | N[L >>> 16 & 255] << 16 | N[G >>> 8 & 255] << 8 | N[w & 255]) ^ O[B++],
|
9041
|
-
k[A] = U, k[A + 1] = Z, k[A + 2] =
|
9041
|
+
var U = (N[w >>> 24] << 24 | N[K >>> 16 & 255] << 16 | N[L >>> 8 & 255] << 8 | N[G & 255]) ^ O[B++], Z = (N[K >>> 24] << 24 | N[L >>> 16 & 255] << 16 | N[G >>> 8 & 255] << 8 | N[w & 255]) ^ O[B++], Y = (N[L >>> 24] << 24 | N[G >>> 16 & 255] << 16 | N[w >>> 8 & 255] << 8 | N[K & 255]) ^ O[B++], $ = (N[G >>> 24] << 24 | N[w >>> 16 & 255] << 16 | N[K >>> 8 & 255] << 8 | N[L & 255]) ^ O[B++];
|
9042
|
+
k[A] = U, k[A + 1] = Z, k[A + 2] = Y, k[A + 3] = $;
|
9042
9043
|
},
|
9043
9044
|
keySize: 256 / 32
|
9044
9045
|
});
|
@@ -9046,7 +9047,7 @@ function requireCipherCore() {
|
|
9046
9047
|
}(), r.AES;
|
9047
9048
|
});
|
9048
9049
|
})(aes);
|
9049
|
-
var encUtf8 = { exports: {} };
|
9050
|
+
var encBase64Exports = requireEncBase64(), encUtf8 = { exports: {} };
|
9050
9051
|
(function(e, a) {
|
9051
9052
|
(function(r, n) {
|
9052
9053
|
e.exports = n(requireCore());
|
@@ -9106,10 +9107,10 @@ class AesEncryption {
|
|
9106
9107
|
}
|
9107
9108
|
}
|
9108
9109
|
function encryptByBase64(e) {
|
9109
|
-
return UTF8.parse(e).toString(
|
9110
|
+
return UTF8.parse(e).toString(encBase64Exports);
|
9110
9111
|
}
|
9111
9112
|
function decodeByBase64(e) {
|
9112
|
-
return
|
9113
|
+
return encBase64Exports.parse(e).toString(UTF8);
|
9113
9114
|
}
|
9114
9115
|
function encryptByMd5(e) {
|
9115
9116
|
return md5Exports(e).toString();
|
@@ -9593,7 +9594,7 @@ function useKgAppSelect() {
|
|
9593
9594
|
};
|
9594
9595
|
}
|
9595
9596
|
const KgAppSelect$1 = "";
|
9596
|
-
function _isSlot$
|
9597
|
+
function _isSlot$e(e) {
|
9597
9598
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !isVNode$1(e);
|
9598
9599
|
}
|
9599
9600
|
const getProps$N = () => ({
|
@@ -9633,7 +9634,7 @@ const getProps$N = () => ({
|
|
9633
9634
|
let s;
|
9634
9635
|
return createVNode(SelectOption, {
|
9635
9636
|
value: n
|
9636
|
-
}, _isSlot$
|
9637
|
+
}, _isSlot$e(s = a.t(u)) ? s : {
|
9637
9638
|
default: () => [s]
|
9638
9639
|
});
|
9639
9640
|
})]),
|
@@ -10135,7 +10136,7 @@ function createTokenizer(e, a = {}) {
|
|
10135
10136
|
return X >= 48 && X <= 57 || X >= 65 && X <= 70 || X >= 97 && X <= 102;
|
10136
10137
|
});
|
10137
10138
|
}
|
10138
|
-
function
|
10139
|
+
function H(V) {
|
10139
10140
|
let I = "", x = "";
|
10140
10141
|
for (; I = G(V); )
|
10141
10142
|
x += I;
|
@@ -10170,7 +10171,7 @@ function createTokenizer(e, a = {}) {
|
|
10170
10171
|
}
|
10171
10172
|
return I;
|
10172
10173
|
}
|
10173
|
-
function
|
10174
|
+
function Y(V) {
|
10174
10175
|
E(V);
|
10175
10176
|
let I = "", x = "";
|
10176
10177
|
for (; I = L(V); )
|
@@ -10180,7 +10181,7 @@ function createTokenizer(e, a = {}) {
|
|
10180
10181
|
function $(V) {
|
10181
10182
|
E(V);
|
10182
10183
|
let I = "";
|
10183
|
-
return V.currentChar() === "-" ? (V.next(), I += `-${
|
10184
|
+
return V.currentChar() === "-" ? (V.next(), I += `-${H(V)}`) : I += H(V), V.currentChar() === EOF && g(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, s(), 0), I;
|
10184
10185
|
}
|
10185
10186
|
function q(V) {
|
10186
10187
|
E(V), v(V, "'");
|
@@ -10260,7 +10261,7 @@ function createTokenizer(e, a = {}) {
|
|
10260
10261
|
if (I.braceNest > 0 && (I.currentType === 5 || I.currentType === 6 || I.currentType === 7))
|
10261
10262
|
return g(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, s(), 0), I.braceNest = 0, ae(V, I);
|
10262
10263
|
if (re = k(V, I))
|
10263
|
-
return x = m(I, 5,
|
10264
|
+
return x = m(I, 5, Y(V)), E(V), x;
|
10264
10265
|
if (ne = A(V, I))
|
10265
10266
|
return x = m(I, 6, $(V)), E(V), x;
|
10266
10267
|
if (ie = O(V, I))
|
@@ -11595,7 +11596,7 @@ function createComposer(e = {}, a) {
|
|
11595
11596
|
function B(z) {
|
11596
11597
|
z !== null && (p = defineCoreMissingHandler(z)), v = z, O.missing = p;
|
11597
11598
|
}
|
11598
|
-
function
|
11599
|
+
function H(z, te) {
|
11599
11600
|
return z !== "translate" || !te.resolvedMessage;
|
11600
11601
|
}
|
11601
11602
|
const U = (z, te, me, ce, Ee, Te) => {
|
@@ -11611,7 +11612,7 @@ function createComposer(e = {}, a) {
|
|
11611
11612
|
he = z(O);
|
11612
11613
|
if (isNumber(he) && he === NOT_REOSLVED) {
|
11613
11614
|
const [pe, ve] = te();
|
11614
|
-
if (process.env.NODE_ENV !== "production" && r && isString$1(pe) &&
|
11615
|
+
if (process.env.NODE_ENV !== "production" && r && isString$1(pe) && H(me, ve) && (m && (isTranslateFallbackWarn(g, pe) || isTranslateMissingWarn(d, pe)) && warn(getWarnMessage(I18nWarnCodes.FALLBACK_TO_ROOT, {
|
11615
11616
|
key: pe,
|
11616
11617
|
type: me
|
11617
11618
|
})), process.env.NODE_ENV !== "production")) {
|
@@ -11633,7 +11634,7 @@ function createComposer(e = {}, a) {
|
|
11633
11634
|
function Z(...z) {
|
11634
11635
|
return U((te) => Reflect.apply(translate, null, [te, ...z]), () => parseTranslateArgs(...z), "translate", (te) => Reflect.apply(te.t, te, [...z]), (te) => te, (te) => isString$1(te));
|
11635
11636
|
}
|
11636
|
-
function
|
11637
|
+
function Y(...z) {
|
11637
11638
|
const [te, me, ce] = z;
|
11638
11639
|
if (ce && !isObject$2(ce))
|
11639
11640
|
throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);
|
@@ -11816,7 +11817,7 @@ function createComposer(e = {}, a) {
|
|
11816
11817
|
setMissingHandler: B,
|
11817
11818
|
[SetPluralRulesSymbol]: de
|
11818
11819
|
};
|
11819
|
-
return se.datetimeFormats = P, se.numberFormats = w, se.rt =
|
11820
|
+
return se.datetimeFormats = P, se.numberFormats = w, se.rt = Y, se.te = ee, se.tm = W, se.d = $, se.n = q, se.getDateTimeFormat = X, se.setDateTimeFormat = re, se.mergeDateTimeFormat = ne, se.getNumberFormat = ie, se.setNumberFormat = ue, se.mergeNumberFormat = le, se[InejctWithOption] = e.__injectWithOption, se[TransrateVNodeSymbol] = _e, se[DatetimePartsSymbol] = fe, se[NumberPartsSymbol] = ge, process.env.NODE_ENV !== "production" && (se[EnableEmitter] = (z) => {
|
11820
11821
|
O.__v_emitter = z;
|
11821
11822
|
}, se[DisableEmitter] = () => {
|
11822
11823
|
O.__v_emitter = void 0;
|
@@ -12686,7 +12687,7 @@ function useI18nForLegacy(e, a, r, n = {}) {
|
|
12686
12687
|
function B(I) {
|
12687
12688
|
return y(), I();
|
12688
12689
|
}
|
12689
|
-
function
|
12690
|
+
function H(...I) {
|
12690
12691
|
return s.value ? B(() => Reflect.apply(s.value.t, null, [...I])) : B(() => "");
|
12691
12692
|
}
|
12692
12693
|
function U(...I) {
|
@@ -12695,7 +12696,7 @@ function useI18nForLegacy(e, a, r, n = {}) {
|
|
12695
12696
|
function Z(...I) {
|
12696
12697
|
return s.value ? B(() => Reflect.apply(s.value.d, null, [...I])) : B(() => "");
|
12697
12698
|
}
|
12698
|
-
function
|
12699
|
+
function Y(...I) {
|
12699
12700
|
return s.value ? B(() => Reflect.apply(s.value.n, null, [...I])) : B(() => "");
|
12700
12701
|
}
|
12701
12702
|
function $(I) {
|
@@ -12794,14 +12795,14 @@ function useI18nForLegacy(e, a, r, n = {}) {
|
|
12794
12795
|
set escapeParameter(I) {
|
12795
12796
|
s.value && (s.value.escapeParameter = I);
|
12796
12797
|
},
|
12797
|
-
t:
|
12798
|
+
t: H,
|
12798
12799
|
getPostTranslationHandler: w,
|
12799
12800
|
setPostTranslationHandler: K,
|
12800
12801
|
getMissingHandler: L,
|
12801
12802
|
setMissingHandler: G,
|
12802
12803
|
rt: U,
|
12803
12804
|
d: Z,
|
12804
|
-
n:
|
12805
|
+
n: Y,
|
12805
12806
|
tm: $,
|
12806
12807
|
te: q,
|
12807
12808
|
getLocaleMessage: Q,
|
@@ -13002,7 +13003,7 @@ function storageChange(e) {
|
|
13002
13003
|
}
|
13003
13004
|
window.addEventListener("storage", storageChange);
|
13004
13005
|
initPersistentMemory();
|
13005
|
-
function _isSlot$
|
13006
|
+
function _isSlot$d(e) {
|
13006
13007
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !isVNode$1(e);
|
13007
13008
|
}
|
13008
13009
|
const getProps$L = () => ({
|
@@ -13051,7 +13052,7 @@ const getProps$L = () => ({
|
|
13051
13052
|
return createVNode(Menu, {
|
13052
13053
|
class: "jeecg-basic-dropdown-menu",
|
13053
13054
|
selectedKeys: a.value
|
13054
|
-
}, _isSlot$
|
13055
|
+
}, _isSlot$d(l = localeList.map((c) => createVNode(Menu.Item, {
|
13055
13056
|
key: c.event,
|
13056
13057
|
onClick: () => o(c)
|
13057
13058
|
}, {
|
@@ -13290,8 +13291,8 @@ function useDragToMove(e) {
|
|
13290
13291
|
return;
|
13291
13292
|
let L = K.clientX - b, G = K.clientY - v;
|
13292
13293
|
-L > _ ? L = -_ : L > d && (L = d), -G > g ? G = -g : G > m && (G = m);
|
13293
|
-
const B = p + L,
|
13294
|
-
l.value.style.left = `${B}px`, l.value.style.top = `${
|
13294
|
+
const B = p + L, H = E + G;
|
13295
|
+
l.value.style.left = `${B}px`, l.value.style.top = `${H}px`;
|
13295
13296
|
}
|
13296
13297
|
function y(w) {
|
13297
13298
|
!w || !o.value || !l.value || !c.value || (document.body.classList.add("kg-modal-dragging"), b = w.clientX, v = w.clientY, _ = l.value.offsetLeft, d = u.value - l.value.offsetLeft - c.value.offsetWidth - KG_MODAL_BORDER_WIDTH * 2, g = l.value.offsetTop, m = s.value - l.value.offsetTop - c.value.offsetHeight - KG_MODAL_BORDER_WIDTH, p = Number(getComputedStyle(l.value).left.replace(/px/g, "")), E = Number(getComputedStyle(l.value).top.replace(/px/g, "")), T = k(document.documentElement, "mousemove", (K) => D({
|
@@ -13320,26 +13321,26 @@ function useDragToResize(e) {
|
|
13320
13321
|
height: s
|
13321
13322
|
} = useWindowSize(), o = 48, l = 400;
|
13322
13323
|
let c = null, _ = computed(() => {
|
13323
|
-
var B,
|
13324
|
-
return (Z = (U = (
|
13324
|
+
var B, H, U, Z;
|
13325
|
+
return (Z = (U = (H = (B = n.value) == null ? void 0 : B.parentElement) == null ? void 0 : H.parentElement) == null ? void 0 : U.parentElement) != null ? Z : null;
|
13325
13326
|
}), d = computed(() => {
|
13326
|
-
var B,
|
13327
|
-
return (
|
13327
|
+
var B, H;
|
13328
|
+
return (H = (B = _.value) == null ? void 0 : B.querySelector(".ant-modal-header")) != null ? H : null;
|
13328
13329
|
}), g = computed(() => {
|
13329
|
-
var B,
|
13330
|
-
return (
|
13330
|
+
var B, H;
|
13331
|
+
return (H = (B = _.value) == null ? void 0 : B.querySelector(".ant-modal-footer")) != null ? H : null;
|
13331
13332
|
});
|
13332
13333
|
const m = ref(a.width !== void 0 ? a.width : "80%"), b = computed(() => {
|
13333
|
-
var
|
13334
|
-
const B = (
|
13334
|
+
var H;
|
13335
|
+
const B = (H = r.value.kgMinWidth) != null ? H : l;
|
13335
13336
|
return Math.min(B, u.value);
|
13336
13337
|
}), v = computed(() => {
|
13337
|
-
var
|
13338
|
-
const B = (
|
13338
|
+
var H;
|
13339
|
+
const B = (H = r.value.kgMaxWidth) != null ? H : u.value;
|
13339
13340
|
return Math.min(B, u.value);
|
13340
13341
|
}), p = computed(() => {
|
13341
|
-
var
|
13342
|
-
const B = (
|
13342
|
+
var H;
|
13343
|
+
const B = (H = r.value.kgMaxHeight) != null ? H : s.value;
|
13343
13344
|
return Math.min(B, s.value);
|
13344
13345
|
}), E = ref(0);
|
13345
13346
|
let T = 0, C = 0, k = 0, A = 0, O = {
|
@@ -13354,22 +13355,22 @@ function useDragToResize(e) {
|
|
13354
13355
|
});
|
13355
13356
|
const D = watch([_], ([B]) => {
|
13356
13357
|
if (B) {
|
13357
|
-
const
|
13358
|
-
|
13359
|
-
E.value =
|
13360
|
-
}), c.observe(
|
13358
|
+
const H = B.querySelector("div.ant-modal-content");
|
13359
|
+
H ? (D(), c = new ResizeObserver(() => {
|
13360
|
+
E.value = H.offsetHeight;
|
13361
|
+
}), c.observe(H)) : c == null || c.disconnect();
|
13361
13362
|
}
|
13362
13363
|
}, {
|
13363
13364
|
immediate: !0
|
13364
13365
|
});
|
13365
|
-
watch([_, p, E], ([B,
|
13366
|
-
B && U >
|
13366
|
+
watch([_, p, E], ([B, H, U]) => {
|
13367
|
+
B && U > H && (B.style.height = `${H}px`);
|
13367
13368
|
}, {
|
13368
13369
|
immediate: !0
|
13369
13370
|
});
|
13370
|
-
function M(B,
|
13371
|
-
return B.addEventListener(
|
13372
|
-
remove: () => B.removeEventListener(
|
13371
|
+
function M(B, H, U) {
|
13372
|
+
return B.addEventListener(H, U), {
|
13373
|
+
remove: () => B.removeEventListener(H, U)
|
13373
13374
|
};
|
13374
13375
|
}
|
13375
13376
|
function F() {
|
@@ -13381,12 +13382,12 @@ function useDragToResize(e) {
|
|
13381
13382
|
return;
|
13382
13383
|
}
|
13383
13384
|
const {
|
13384
|
-
event:
|
13385
|
-
} = B != null ? B : {}, U =
|
13385
|
+
event: H
|
13386
|
+
} = B != null ? B : {}, U = H.pageX;
|
13386
13387
|
let Z = Math.min(v.value, Math.max(b.value, T + U - k));
|
13387
13388
|
_.value.offsetLeft + Z > u.value && (Z = u.value - _.value.offsetLeft);
|
13388
|
-
const
|
13389
|
-
Z !==
|
13389
|
+
const Y = _.value.offsetWidth, q = Number(getComputedStyle(_.value).left.replace(/px/g, "")) + (Z - Y) / 2;
|
13390
|
+
Z !== Y && (m.value = `${Z}px`, _.value.style.width = `${Z}px`, _.value.style.left = `${q}px`);
|
13390
13391
|
}
|
13391
13392
|
function P(B) {
|
13392
13393
|
var _e, ge, fe, de, ee, ae;
|
@@ -13395,8 +13396,8 @@ function useDragToResize(e) {
|
|
13395
13396
|
return;
|
13396
13397
|
}
|
13397
13398
|
const {
|
13398
|
-
event:
|
13399
|
-
} = B != null ? B : {}, U =
|
13399
|
+
event: H
|
13400
|
+
} = B != null ? B : {}, U = H.pageY, Z = (ge = (_e = d.value) == null ? void 0 : _e.clientHeight) != null ? ge : o, Y = (de = (fe = g.value) == null ? void 0 : fe.clientHeight) != null ? de : 0, $ = Math.min((ae = (ee = r.value) == null ? void 0 : ee.kgMinHeight) != null ? ae : Z + Y + KG_MODAL_BORDER_WIDTH * 2, s.value);
|
13400
13401
|
let q = Math.min(p.value, Math.max($, C + U - A));
|
13401
13402
|
_.value.offsetTop + q > s.value && (q = s.value - _.value.offsetTop);
|
13402
13403
|
const Q = _.value.offsetHeight, oe = Number(getComputedStyle(_.value).top.replace(/px/g, "")) + (q - Q) / 2;
|
@@ -13404,14 +13405,14 @@ function useDragToResize(e) {
|
|
13404
13405
|
}
|
13405
13406
|
function w(B) {
|
13406
13407
|
const {
|
13407
|
-
event:
|
13408
|
+
event: H,
|
13408
13409
|
handleType: U
|
13409
13410
|
} = B != null ? B : {};
|
13410
13411
|
if (!_.value) {
|
13411
13412
|
____ERROR____("\u5F39\u7A97\u5143\u7D20\u4E3A\u7A7A.");
|
13412
13413
|
return;
|
13413
13414
|
}
|
13414
|
-
switch (
|
13415
|
+
switch (H.pageX, H.pageY, U) {
|
13415
13416
|
case "top-left":
|
13416
13417
|
break;
|
13417
13418
|
case "top":
|
@@ -13420,21 +13421,21 @@ function useDragToResize(e) {
|
|
13420
13421
|
break;
|
13421
13422
|
case "right": {
|
13422
13423
|
N({
|
13423
|
-
event:
|
13424
|
+
event: H
|
13424
13425
|
});
|
13425
13426
|
break;
|
13426
13427
|
}
|
13427
13428
|
case "bottom-right": {
|
13428
13429
|
N({
|
13429
|
-
event:
|
13430
|
+
event: H
|
13430
13431
|
}), P({
|
13431
|
-
event:
|
13432
|
+
event: H
|
13432
13433
|
});
|
13433
13434
|
break;
|
13434
13435
|
}
|
13435
13436
|
case "bottom": {
|
13436
13437
|
P({
|
13437
|
-
event:
|
13438
|
+
event: H
|
13438
13439
|
});
|
13439
13440
|
break;
|
13440
13441
|
}
|
@@ -13442,15 +13443,15 @@ function useDragToResize(e) {
|
|
13442
13443
|
}
|
13443
13444
|
function K(B) {
|
13444
13445
|
const {
|
13445
|
-
event:
|
13446
|
+
event: H,
|
13446
13447
|
handleType: U
|
13447
13448
|
} = B != null ? B : {};
|
13448
|
-
if (
|
13449
|
+
if (H.stopPropagation(), H.preventDefault(), F(), !(H instanceof MouseEvent && H.which !== 1)) {
|
13449
13450
|
if (!_.value) {
|
13450
13451
|
____ERROR____("\u5F39\u7A97\u5143\u7D20\u4E3A\u7A7A.");
|
13451
13452
|
return;
|
13452
13453
|
}
|
13453
|
-
k =
|
13454
|
+
k = H.pageX, A = H.pageY, T = _.value.offsetWidth, C = _.value.offsetHeight, Number(getComputedStyle(_.value).top.replace(/px/g, "")), O = M(document.documentElement, "mousemove", (Z) => L({
|
13454
13455
|
event: Z,
|
13455
13456
|
handleType: U
|
13456
13457
|
})), y = M(document.documentElement, "mouseup", (Z) => G({
|
@@ -14064,10 +14065,18 @@ const getProps$H = () => ({
|
|
14064
14065
|
function _useFormRules(e) {
|
14065
14066
|
const a = useKg(), r = useKgVar(), n = computed(() => r.store.getVarConfigInput(r.formID, e.kgVarName)), u = computed(() => {
|
14066
14067
|
var A, O;
|
14067
|
-
|
14068
|
-
|
14069
|
-
|
14070
|
-
|
14068
|
+
switch (e.kgContext) {
|
14069
|
+
case KG_FORM_CONTEXT.SEARCH:
|
14070
|
+
return r.kgSubmit.getVarSubmitDetailByVarProfileDetail({
|
14071
|
+
varProfileDetail: r.store.getVarProfileDetail(r.formID, e.kgVarName)
|
14072
|
+
});
|
14073
|
+
case KG_FORM_CONTEXT.SUBMIT:
|
14074
|
+
case KG_FORM_CONTEXT.TABLE:
|
14075
|
+
return (O = r.kgSubmit.getVarSubmitDetails({
|
14076
|
+
buttonVarName: (A = r.kgButton.currentButton.value) == null ? void 0 : A.var_nam,
|
14077
|
+
varName: e.kgVarName
|
14078
|
+
})[0]) != null ? O : null;
|
14079
|
+
}
|
14071
14080
|
}), s = ref([]), o = computed(() => {
|
14072
14081
|
var A, O;
|
14073
14082
|
return [
|
@@ -14307,7 +14316,7 @@ function useKgFormItemSelect(e) {
|
|
14307
14316
|
}), E;
|
14308
14317
|
});
|
14309
14318
|
async function v() {
|
14310
|
-
var O, y, D, M, F, N, P, w, K, L, G, B,
|
14319
|
+
var O, y, D, M, F, N, P, w, K, L, G, B, H;
|
14311
14320
|
let E = ref([]);
|
14312
14321
|
const T = (O = o.value) == null ? void 0 : O.data_source_type, C = (D = (y = o.value) == null ? void 0 : y.val_clm) != null ? D : "", k = (F = (M = o.value) == null ? void 0 : M.lbl_clm) != null ? F : "", A = ref({});
|
14313
14322
|
try {
|
@@ -14321,10 +14330,10 @@ function useKgFormItemSelect(e) {
|
|
14321
14330
|
}))
|
14322
14331
|
switch (T) {
|
14323
14332
|
case KG__VAR_CONFIG_POSSIBILITY__DATA_SOURCE_TYPE.API: {
|
14324
|
-
const
|
14325
|
-
if (!
|
14333
|
+
const Y = (P = o.value) == null ? void 0 : P.cmd, $ = (K = (w = o.value) == null ? void 0 : w.cmd_method) != null ? K : "GET";
|
14334
|
+
if (!Y || !C || !k) {
|
14326
14335
|
____ERROR____("KgFormItemSelect.requestDatas() | \u4E0B\u62C9\u5217\u8868\u914D\u7F6E\u6709\u8BEF.", {
|
14327
|
-
cmd:
|
14336
|
+
cmd: Y,
|
14328
14337
|
formID: s.formID,
|
14329
14338
|
lbl_clm: k,
|
14330
14339
|
val_clm: C,
|
@@ -14333,7 +14342,7 @@ function useKgFormItemSelect(e) {
|
|
14333
14342
|
return;
|
14334
14343
|
}
|
14335
14344
|
A.value = await ((L = httpClient()) == null ? void 0 : L.request({
|
14336
|
-
url:
|
14345
|
+
url: Y,
|
14337
14346
|
method: $,
|
14338
14347
|
params: U,
|
14339
14348
|
data: U
|
@@ -14364,26 +14373,26 @@ function useKgFormItemSelect(e) {
|
|
14364
14373
|
break;
|
14365
14374
|
}
|
14366
14375
|
if (E.value.length > 0) {
|
14367
|
-
const
|
14368
|
-
(!(C in
|
14376
|
+
const Y = E.value[0];
|
14377
|
+
(!(C in Y) || !(k in Y)) && ____ERROR____("KgFormItemSelect.requestDatas() | \u4E0B\u62C9\u5217\u8868\u914D\u7F6E\u6709\u8BEF, \u6570\u636E\u5217(val_clm)\u6216\u663E\u793A\u5217(lbl_clm)\u6709\u8BEF.", {
|
14369
14378
|
formID: s.formID,
|
14370
14379
|
lbl_clm: k,
|
14371
14380
|
val_clm: C,
|
14372
14381
|
varName: n,
|
14373
|
-
\u6240\u6709\u5217: Object.keys(
|
14382
|
+
\u6240\u6709\u5217: Object.keys(Y)
|
14374
14383
|
});
|
14375
14384
|
}
|
14376
14385
|
await s.kgForm.store.emit(s.formID, "selectBeforeSetDatas", {
|
14377
|
-
context: (
|
14386
|
+
context: (H = a.kgContext) != null ? H : KG_FORM_CONTEXT.SUBMIT,
|
14378
14387
|
datas: E,
|
14379
14388
|
isCopying: s.isCopying.value,
|
14380
14389
|
isCreating: s.isCreating.value,
|
14381
14390
|
isDeleting: s.isDeleting.value,
|
14382
14391
|
isUpdating: s.isUpdating.value,
|
14383
14392
|
varName: n
|
14384
|
-
}), d.value = E.value.map((
|
14385
|
-
...
|
14386
|
-
id: String(
|
14393
|
+
}), d.value = E.value.map((Y, $) => ({
|
14394
|
+
...Y,
|
14395
|
+
id: String(Y.id || Date.now() + $)
|
14387
14396
|
}));
|
14388
14397
|
} catch {
|
14389
14398
|
} finally {
|
@@ -14447,7 +14456,7 @@ function useKgFormItemSelect(e) {
|
|
14447
14456
|
varConfigPossibility: o
|
14448
14457
|
};
|
14449
14458
|
}
|
14450
|
-
function _isSlot$
|
14459
|
+
function _isSlot$c(e) {
|
14451
14460
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !isVNode$1(e);
|
14452
14461
|
}
|
14453
14462
|
const KgFormItemCheckboxGroup = defineComponent({
|
@@ -14526,7 +14535,7 @@ const KgFormItemCheckboxGroup = defineComponent({
|
|
14526
14535
|
"onUpdate:checked": (A) => m.value = A,
|
14527
14536
|
indeterminate: b.value,
|
14528
14537
|
onChange: p
|
14529
|
-
}, _isSlot$
|
14538
|
+
}, _isSlot$c(T = n.t("kg.selectAll")) ? T : {
|
14530
14539
|
default: () => [T]
|
14531
14540
|
})]
|
14532
14541
|
}), createVNode(Divider, null, null)]), createVNode(Checkbox.Group, {
|
@@ -14535,7 +14544,7 @@ const KgFormItemCheckboxGroup = defineComponent({
|
|
14535
14544
|
}, {
|
14536
14545
|
default: () => [createVNode(Row, {
|
14537
14546
|
gutter: 12
|
14538
|
-
}, _isSlot$
|
14547
|
+
}, _isSlot$c(C = d.value.map((A) => {
|
14539
14548
|
var O, y;
|
14540
14549
|
return createVNode(Col, {
|
14541
14550
|
span: (y = (O = o.value) == null ? void 0 : O.span) != null ? y : 24
|
@@ -14774,7 +14783,7 @@ const KgFormItemCheckboxGroup = defineComponent({
|
|
14774
14783
|
}, null);
|
14775
14784
|
}
|
14776
14785
|
});
|
14777
|
-
function _isSlot$
|
14786
|
+
function _isSlot$b(e) {
|
14778
14787
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !isVNode$1(e);
|
14779
14788
|
}
|
14780
14789
|
const KgFormItemRadioGroup = defineComponent({
|
@@ -14826,7 +14835,7 @@ const KgFormItemRadioGroup = defineComponent({
|
|
14826
14835
|
}, {
|
14827
14836
|
default: () => [createVNode(Row, {
|
14828
14837
|
gutter: 12
|
14829
|
-
}, _isSlot$
|
14838
|
+
}, _isSlot$b(m = c.value.map((b) => {
|
14830
14839
|
var v, p;
|
14831
14840
|
return createVNode(Col, {
|
14832
14841
|
span: (p = (v = u.value) == null ? void 0 : v.span) != null ? p : 24
|
@@ -15071,7 +15080,7 @@ const KgFormItemRadioGroup = defineComponent({
|
|
15071
15080
|
}, null);
|
15072
15081
|
}
|
15073
15082
|
}), KgForm_Item = "";
|
15074
|
-
function _isSlot$
|
15083
|
+
function _isSlot$a(e) {
|
15075
15084
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !isVNode$1(e);
|
15076
15085
|
}
|
15077
15086
|
const KgFormItem = defineComponent({
|
@@ -15088,21 +15097,21 @@ const KgFormItem = defineComponent({
|
|
15088
15097
|
var_nam: L,
|
15089
15098
|
model: G,
|
15090
15099
|
isMultiple: B,
|
15091
|
-
values:
|
15100
|
+
values: H
|
15092
15101
|
}) => {
|
15093
|
-
var U, Z,
|
15102
|
+
var U, Z, Y, $, q;
|
15094
15103
|
switch (L) {
|
15095
15104
|
case e.kgVarName: {
|
15096
15105
|
if (G.value) {
|
15097
15106
|
let Q;
|
15098
|
-
B ? Q =
|
15107
|
+
B ? Q = H : Q = (U = H == null ? void 0 : H[0]) != null ? U : null, G.value[e.kgVarName] = Q, u.kgForm.store.emit(u.kgForm.formID, "change", {
|
15099
15108
|
context: (Z = e.kgContext) != null ? Z : KG_FORM_CONTEXT.SUBMIT,
|
15100
15109
|
isCopying: u.isCopying.value,
|
15101
15110
|
isCreating: u.isCreating.value,
|
15102
15111
|
isDeleting: u.isDeleting.value,
|
15103
15112
|
isUpdating: u.isUpdating.value,
|
15104
15113
|
value: Q,
|
15105
|
-
varName: (
|
15114
|
+
varName: (Y = e.kgVarName) != null ? Y : "",
|
15106
15115
|
variableName: ($ = e.kgVarName) != null ? $ : ""
|
15107
15116
|
});
|
15108
15117
|
}
|
@@ -15142,7 +15151,7 @@ const KgFormItem = defineComponent({
|
|
15142
15151
|
return null;
|
15143
15152
|
}
|
15144
15153
|
}), d = computed(() => {
|
15145
|
-
var L, G, B,
|
15154
|
+
var L, G, B, H, U;
|
15146
15155
|
switch (e.kgContext) {
|
15147
15156
|
case KG_FORM_CONTEXT.SEARCH:
|
15148
15157
|
return (B = u.kgSubmit.getVarSubmitDetails({
|
@@ -15153,7 +15162,7 @@ const KgFormItem = defineComponent({
|
|
15153
15162
|
case KG_FORM_CONTEXT.SUBMIT:
|
15154
15163
|
case KG_FORM_CONTEXT.TABLE:
|
15155
15164
|
return (U = u.kgSubmit.getVarSubmitDetails({
|
15156
|
-
buttonVarName: (
|
15165
|
+
buttonVarName: (H = u.kgButton.currentButton.value) == null ? void 0 : H.var_nam,
|
15157
15166
|
varName: e.kgVarName
|
15158
15167
|
})[0]) != null ? U : null;
|
15159
15168
|
}
|
@@ -15173,7 +15182,7 @@ const KgFormItem = defineComponent({
|
|
15173
15182
|
let L = " ";
|
15174
15183
|
return e.kgPlaceholder ? L = e.kgPlaceholder : L = u.t((B = (G = d.value) == null ? void 0 : G.placeholder) != null ? B : " ").value, L;
|
15175
15184
|
}), E = computed(() => {
|
15176
|
-
var G, B,
|
15185
|
+
var G, B, H, U;
|
15177
15186
|
let L = KG__SPAN._12;
|
15178
15187
|
if (e.kgSpan !== void 0)
|
15179
15188
|
L = e.kgSpan;
|
@@ -15183,14 +15192,14 @@ const KgFormItem = defineComponent({
|
|
15183
15192
|
L = (B = (G = d.value) == null ? void 0 : G.width) != null ? B : KG__SPAN._6;
|
15184
15193
|
break;
|
15185
15194
|
case KG_FORM_CONTEXT.SUBMIT:
|
15186
|
-
L = (U = (
|
15195
|
+
L = (U = (H = d.value) == null ? void 0 : H.width) != null ? U : KG__SPAN._12;
|
15187
15196
|
break;
|
15188
15197
|
case KG_FORM_CONTEXT.TABLE:
|
15189
15198
|
break;
|
15190
15199
|
}
|
15191
15200
|
return L = Number(L), L;
|
15192
15201
|
}), T = computed(() => {
|
15193
|
-
var G, B,
|
15202
|
+
var G, B, H, U;
|
15194
15203
|
let L = null;
|
15195
15204
|
if (e.kgSpan !== void 0)
|
15196
15205
|
L = e.kgSpan;
|
@@ -15200,7 +15209,7 @@ const KgFormItem = defineComponent({
|
|
15200
15209
|
L = (B = (G = d.value) == null ? void 0 : G.width) != null ? B : null;
|
15201
15210
|
break;
|
15202
15211
|
case KG_FORM_CONTEXT.SUBMIT:
|
15203
|
-
L = (U = (
|
15212
|
+
L = (U = (H = d.value) == null ? void 0 : H.width) != null ? U : null;
|
15204
15213
|
break;
|
15205
15214
|
case KG_FORM_CONTEXT.TABLE:
|
15206
15215
|
L = null;
|
@@ -15208,9 +15217,9 @@ const KgFormItem = defineComponent({
|
|
15208
15217
|
}
|
15209
15218
|
return L = Number(L), L;
|
15210
15219
|
}), C = computed(() => {
|
15211
|
-
var
|
15220
|
+
var H, U;
|
15212
15221
|
const L = get(M.value, "$el.parentElement");
|
15213
|
-
if (L && !((
|
15222
|
+
if (L && !((H = L.classList) != null && H.contains("ant-row")))
|
15214
15223
|
throw new Error("<KgForm.Item> \u7684\u7236\u5143\u7D20\u5FC5\u987B\u662F <Row> \u6216\u8005 <a-row>.");
|
15215
15224
|
let G = {};
|
15216
15225
|
const B = Math.abs(Number.parseInt((U = get(M.value, "$el.parentElement.style.marginLeft")) != null ? U : "0px"));
|
@@ -15375,9 +15384,9 @@ const KgFormItem = defineComponent({
|
|
15375
15384
|
}, {
|
15376
15385
|
default: () => createVNode(InfoCircleOutlined$1, null, null),
|
15377
15386
|
title: () => {
|
15378
|
-
var B,
|
15387
|
+
var B, H;
|
15379
15388
|
return createVNode("div", {
|
15380
|
-
innerHTML: (
|
15389
|
+
innerHTML: (H = (B = s.value) == null ? void 0 : B.tip) != null ? H : ""
|
15381
15390
|
}, null);
|
15382
15391
|
}
|
15383
15392
|
})]), y.value && createVNode("div", {
|
@@ -15418,7 +15427,7 @@ const KgFormItem = defineComponent({
|
|
15418
15427
|
class: k.value,
|
15419
15428
|
span: E.value,
|
15420
15429
|
style: C.value
|
15421
|
-
}, _isSlot$
|
15430
|
+
}, _isSlot$a(L = F()) ? L : {
|
15422
15431
|
default: () => [L]
|
15423
15432
|
});
|
15424
15433
|
};
|
@@ -15807,7 +15816,7 @@ function _useDefaultWidth() {
|
|
15807
15816
|
};
|
15808
15817
|
}
|
15809
15818
|
const KgSubmit$1 = "";
|
15810
|
-
function _isSlot$
|
15819
|
+
function _isSlot$9(e) {
|
15811
15820
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !isVNode$1(e);
|
15812
15821
|
}
|
15813
15822
|
const getProps$B = () => ({
|
@@ -15954,7 +15963,7 @@ const getProps$B = () => ({
|
|
15954
15963
|
await B();
|
15955
15964
|
break;
|
15956
15965
|
case s.isUpdating.value:
|
15957
|
-
await
|
15966
|
+
await H();
|
15958
15967
|
break;
|
15959
15968
|
case s.isCopying.value:
|
15960
15969
|
await U();
|
@@ -15963,7 +15972,7 @@ const getProps$B = () => ({
|
|
15963
15972
|
await Z();
|
15964
15973
|
break;
|
15965
15974
|
default: {
|
15966
|
-
await
|
15975
|
+
await Y();
|
15967
15976
|
break;
|
15968
15977
|
}
|
15969
15978
|
}
|
@@ -16022,7 +16031,7 @@ const getProps$B = () => ({
|
|
16022
16031
|
s.store.setIsCreatingRequesting(s.formID, !1);
|
16023
16032
|
}
|
16024
16033
|
}
|
16025
|
-
async function
|
16034
|
+
async function H() {
|
16026
16035
|
var ee, ae, W, V, I, x, X, re, ne, ie;
|
16027
16036
|
try {
|
16028
16037
|
s.store.setIsUpdatingRequesting(s.formID, !0);
|
@@ -16175,7 +16184,7 @@ const getProps$B = () => ({
|
|
16175
16184
|
s.store.setIsDeletingRequesting(s.formID, !1);
|
16176
16185
|
}
|
16177
16186
|
}
|
16178
|
-
async function
|
16187
|
+
async function Y() {
|
16179
16188
|
var ee, ae, W, V;
|
16180
16189
|
try {
|
16181
16190
|
s.kgButton.setIsCurrentButtonRequesting({
|
@@ -16248,11 +16257,11 @@ const getProps$B = () => ({
|
|
16248
16257
|
let ee, ae;
|
16249
16258
|
return createVNode(Fragment, null, [s.kgSubmit.currentVarSubmitDetailsForKey.value.length > 0 && createVNode(Row, {
|
16250
16259
|
gutter: 12
|
16251
|
-
}, _isSlot$
|
16260
|
+
}, _isSlot$9(ee = s.kgSubmit.currentVarSubmitDetailsForKey.value.map($)) ? ee : {
|
16252
16261
|
default: () => [ee]
|
16253
16262
|
}), s.kgSubmit.currentVarSubmitDetailsForKeyAndVisible.value.length > 0 && s.kgSubmit.currentVarSubmitDetailsForNotKeyAndVisible.value.length > 0 && createVNode(Divider, null, null), s.kgSubmit.currentVarSubmitDetailsForNotKey.value.length > 0 && createVNode(Row, {
|
16254
16263
|
gutter: 12
|
16255
|
-
}, _isSlot$
|
16264
|
+
}, _isSlot$9(ae = s.kgSubmit.currentVarSubmitDetailsForNotKey.value.map($)) ? ae : {
|
16256
16265
|
default: () => [ae]
|
16257
16266
|
}), o.value && createVNode("div", {
|
16258
16267
|
style: "text-align: center; padding: 6px 0 12px;"
|
@@ -16266,7 +16275,7 @@ const getProps$B = () => ({
|
|
16266
16275
|
mode: "inline",
|
16267
16276
|
selectedKeys: P.value,
|
16268
16277
|
onSelect: fe
|
16269
|
-
}, _isSlot$
|
16278
|
+
}, _isSlot$9(ee = s.kgSubmit.currentVarSubmitDetailSectionsForVisible.value.map((ae) => createVNode(Menu.Item, {
|
16270
16279
|
key: ae
|
16271
16280
|
}, {
|
16272
16281
|
default: () => [s.t(ae).value]
|
@@ -16310,7 +16319,7 @@ const getProps$B = () => ({
|
|
16310
16319
|
ghost: !_.value,
|
16311
16320
|
disabled: _.value,
|
16312
16321
|
onClick: L
|
16313
|
-
}, _isSlot$
|
16322
|
+
}, _isSlot$9(ee = u.t("kg.cancel")) ? ee : {
|
16314
16323
|
default: () => [ee]
|
16315
16324
|
}), createVNode(Button, {
|
16316
16325
|
type: "primary",
|
@@ -18069,7 +18078,7 @@ async function toCanvas(e, a = {}) {
|
|
18069
18078
|
const { width: r, height: n } = getImageSize(e, a), u = await toSvg(e, a), s = await createImage(u), o = document.createElement("canvas"), l = o.getContext("2d"), c = a.pixelRatio || getPixelRatio(), _ = a.canvasWidth || r, d = a.canvasHeight || n;
|
18070
18079
|
return o.width = _ * c, o.height = d * c, a.skipAutoScale || checkCanvasDimensions(o), o.style.width = `${_}`, o.style.height = `${d}`, a.backgroundColor && (l.fillStyle = a.backgroundColor, l.fillRect(0, 0, o.width, o.height)), l.drawImage(s, 0, 0, o.width, o.height), o;
|
18071
18080
|
}
|
18072
|
-
function _isSlot$
|
18081
|
+
function _isSlot$8(e) {
|
18073
18082
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !isVNode$1(e);
|
18074
18083
|
}
|
18075
18084
|
function _useTransferColumns(e, a) {
|
@@ -18188,15 +18197,15 @@ function _useTransferColumns(e, a) {
|
|
18188
18197
|
let _, d, g;
|
18189
18198
|
return createVNode(Fragment, null, [createVNode(Select.Option, {
|
18190
18199
|
value: -1
|
18191
|
-
}, _isSlot$
|
18200
|
+
}, _isSlot$8(_ = r.t("kg.KgVarConfigModalTableVarGridMaster.notSort")) ? _ : {
|
18192
18201
|
default: () => [_]
|
18193
18202
|
}), createVNode(Select.Option, {
|
18194
18203
|
value: 0
|
18195
|
-
}, _isSlot$
|
18204
|
+
}, _isSlot$8(d = r.t("kg.asc")) ? d : {
|
18196
18205
|
default: () => [d]
|
18197
18206
|
}), createVNode(Select.Option, {
|
18198
18207
|
value: 1
|
18199
|
-
}, _isSlot$
|
18208
|
+
}, _isSlot$8(g = r.t("kg.desc")) ? g : {
|
18200
18209
|
default: () => [g]
|
18201
18210
|
})]);
|
18202
18211
|
},
|
@@ -18273,35 +18282,35 @@ function _useTransferColumns(e, a) {
|
|
18273
18282
|
let _, d, g, m, b, v, p, E;
|
18274
18283
|
return createVNode(Fragment, null, [createVNode(Select.Option, {
|
18275
18284
|
value: KG__VAR_GRID_DETAIL__DISPLAY_TYPE.DESC
|
18276
|
-
}, _isSlot$
|
18285
|
+
}, _isSlot$8(_ = r.t("kg.KgVarConfigModalTableVarGridMaster.DESC")) ? _ : {
|
18277
18286
|
default: () => [_]
|
18278
18287
|
}), createVNode(Select.Option, {
|
18279
18288
|
value: KG__VAR_GRID_DETAIL__DISPLAY_TYPE.YN
|
18280
|
-
}, _isSlot$
|
18289
|
+
}, _isSlot$8(d = r.t("kg.KgVarConfigModalTableVarGridMaster.YN")) ? d : {
|
18281
18290
|
default: () => [d]
|
18282
18291
|
}), createVNode(Select.Option, {
|
18283
18292
|
value: KG__VAR_GRID_DETAIL__DISPLAY_TYPE.PROGRESS
|
18284
|
-
}, _isSlot$
|
18293
|
+
}, _isSlot$8(g = r.t("kg.KgVarConfigModalTableVarGridMaster.PROGRESS")) ? g : {
|
18285
18294
|
default: () => [g]
|
18286
18295
|
}), createVNode(Select.Option, {
|
18287
18296
|
value: KG__VAR_GRID_DETAIL__DISPLAY_TYPE.FILE_SIZE
|
18288
|
-
}, _isSlot$
|
18297
|
+
}, _isSlot$8(m = r.t("kg.KgVarConfigModalTableVarGridMaster.FILE_SIZE")) ? m : {
|
18289
18298
|
default: () => [m]
|
18290
18299
|
}), createVNode(Select.Option, {
|
18291
18300
|
value: KG__VAR_GRID_DETAIL__DISPLAY_TYPE.UPDATE_LINK
|
18292
|
-
}, _isSlot$
|
18301
|
+
}, _isSlot$8(b = r.t("kg.KgVarConfigModalTableVarGridMaster.UPDATE_LINK")) ? b : {
|
18293
18302
|
default: () => [b]
|
18294
18303
|
}), createVNode(Select.Option, {
|
18295
18304
|
value: KG__VAR_GRID_DETAIL__DISPLAY_TYPE.ROUTE_LINK
|
18296
|
-
}, _isSlot$
|
18305
|
+
}, _isSlot$8(v = r.t("kg.KgVarConfigModalTableVarGridMaster.ROUTE_LINK")) ? v : {
|
18297
18306
|
default: () => [v]
|
18298
18307
|
}), createVNode(Select.Option, {
|
18299
18308
|
value: KG__VAR_GRID_DETAIL__DISPLAY_TYPE.IMAGE
|
18300
|
-
}, _isSlot$
|
18309
|
+
}, _isSlot$8(p = r.t("kg.KgVarConfigModalTableVarGridMaster.IMAGE")) ? p : {
|
18301
18310
|
default: () => [p]
|
18302
18311
|
}), createVNode(Select.Option, {
|
18303
18312
|
value: KG__VAR_GRID_DETAIL__DISPLAY_TYPE.ICON
|
18304
|
-
}, _isSlot$
|
18313
|
+
}, _isSlot$8(E = r.t("kg.KgVarConfigModalTableVarGridMaster.ICON")) ? E : {
|
18305
18314
|
default: () => [E]
|
18306
18315
|
})]);
|
18307
18316
|
},
|
@@ -18345,15 +18354,15 @@ function _useTransferColumns(e, a) {
|
|
18345
18354
|
let _, d, g;
|
18346
18355
|
return createVNode(Fragment, null, [createVNode(Select.Option, {
|
18347
18356
|
value: "center"
|
18348
|
-
}, _isSlot$
|
18357
|
+
}, _isSlot$8(_ = r.t("kg.KgVarConfigModalTableVarGridMaster.center")) ? _ : {
|
18349
18358
|
default: () => [_]
|
18350
18359
|
}), createVNode(Select.Option, {
|
18351
18360
|
value: "left"
|
18352
|
-
}, _isSlot$
|
18361
|
+
}, _isSlot$8(d = r.t("kg.KgVarConfigModalTableVarGridMaster.left")) ? d : {
|
18353
18362
|
default: () => [d]
|
18354
18363
|
}), createVNode(Select.Option, {
|
18355
18364
|
value: "right"
|
18356
|
-
}, _isSlot$
|
18365
|
+
}, _isSlot$8(g = r.t("kg.KgVarConfigModalTableVarGridMaster.right")) ? g : {
|
18357
18366
|
default: () => [g]
|
18358
18367
|
})]);
|
18359
18368
|
},
|
@@ -18454,13 +18463,7 @@ const getProps$z = () => ({}), KgVarConfigModalTableVarGridMaster = defineCompon
|
|
18454
18463
|
setup(e) {
|
18455
18464
|
var v, p;
|
18456
18465
|
const a = (p = inject(KG__DI__FORM_ID, null)) != null ? p : (v = inject(KG__DI__KG_VAR_CONFIG__HOST_FORM_ID, null)) == null ? void 0 : v.value, r = useKg(), n = useKgVar(a), u = useKgVar(FORM_ID__TABLE__VAR_GRID_MASTER);
|
18457
|
-
u.kgSearch.onReady(async () => (
|
18458
|
-
buttonType: KG__VAR_BUTTON__TYPE.SEARCH,
|
18459
|
-
properties: {
|
18460
|
-
default_value: n.formID
|
18461
|
-
},
|
18462
|
-
varName: "frm_id"
|
18463
|
-
}), !1)), u.kgTable.onBeforeSetDatas(async ({
|
18466
|
+
u.kgSearch.onReady(async () => (u.kgSearch.formModel.value && (u.kgSearch.formModel.value.frm_id = n.formID), !1)), u.kgTable.onBeforeSetDatas(async ({
|
18464
18467
|
datas: E
|
18465
18468
|
}) => (transformVarGridMasters(E.value), !1)), u.kgSubmit.onOpen(async () => {
|
18466
18469
|
var E, T, C, k, A, O, y, D;
|
@@ -18853,7 +18856,7 @@ const FORM_ID__VAR_GRID_MASTER__SAVE = "kg-table.VarGridMaster.Save", KgTableSet
|
|
18853
18856
|
}, null);
|
18854
18857
|
}
|
18855
18858
|
});
|
18856
|
-
function _isSlot$
|
18859
|
+
function _isSlot$7(e) {
|
18857
18860
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !isVNode$1(e);
|
18858
18861
|
}
|
18859
18862
|
const getProps$w = () => ({
|
@@ -18984,7 +18987,7 @@ const getProps$w = () => ({
|
|
18984
18987
|
icon: createVNode(Icon, {
|
18985
18988
|
icon: "material-symbols:save-outline-rounded"
|
18986
18989
|
}, null)
|
18987
|
-
}, _isSlot$
|
18990
|
+
}, _isSlot$7(w = n.t("kg.KgTable.saveVarGridMaster")) ? w : {
|
18988
18991
|
default: () => [w]
|
18989
18992
|
}), createVNode(Menu.Item, {
|
18990
18993
|
key: "save-grid-view-as",
|
@@ -18995,7 +18998,7 @@ const getProps$w = () => ({
|
|
18995
18998
|
fontsize: "18px"
|
18996
18999
|
}
|
18997
19000
|
}, null)
|
18998
|
-
}, _isSlot$
|
19001
|
+
}, _isSlot$7(K = n.t("kg.KgTable.saveVarGridMasterAs")) ? K : {
|
18999
19002
|
default: () => [K]
|
19000
19003
|
})]);
|
19001
19004
|
},
|
@@ -19010,25 +19013,25 @@ const getProps$w = () => ({
|
|
19010
19013
|
popupClassName: "kg-table--setting--submenu-popup--row-height"
|
19011
19014
|
}, {
|
19012
19015
|
default: () => {
|
19013
|
-
let G, B,
|
19016
|
+
let G, B, H;
|
19014
19017
|
return createVNode(Fragment, null, [createVNode(Menu.Item, {
|
19015
19018
|
key: "L",
|
19016
19019
|
class: _.value === "L" ? "selected" : "",
|
19017
19020
|
onClick: () => u.kgTable.store.setRowHeight(u.formID, "L")
|
19018
|
-
}, _isSlot$
|
19021
|
+
}, _isSlot$7(G = n.t("kg.KgTable.rowHeightL")) ? G : {
|
19019
19022
|
default: () => [G]
|
19020
19023
|
}), createVNode(Menu.Item, {
|
19021
19024
|
key: "M",
|
19022
19025
|
class: _.value === "M" ? "selected" : "",
|
19023
19026
|
onClick: () => u.kgTable.store.setRowHeight(u.formID, "M")
|
19024
|
-
}, _isSlot$
|
19027
|
+
}, _isSlot$7(B = n.t("kg.KgTable.rowHeightM")) ? B : {
|
19025
19028
|
default: () => [B]
|
19026
19029
|
}), createVNode(Menu.Item, {
|
19027
19030
|
key: "H",
|
19028
19031
|
class: _.value === "H" ? "selected" : "",
|
19029
19032
|
onClick: () => u.kgTable.store.setRowHeight(u.formID, "H")
|
19030
|
-
}, _isSlot$
|
19031
|
-
default: () => [
|
19033
|
+
}, _isSlot$7(H = n.t("kg.KgTable.rowHeightH")) ? H : {
|
19034
|
+
default: () => [H]
|
19032
19035
|
})]);
|
19033
19036
|
},
|
19034
19037
|
expandIcon: () => createVNode(CaretRightOutlined$1, null, null)
|
@@ -19068,7 +19071,7 @@ const getProps$w = () => ({
|
|
19068
19071
|
onClick: () => {
|
19069
19072
|
d.value.visible = !0;
|
19070
19073
|
}
|
19071
|
-
}, _isSlot$
|
19074
|
+
}, _isSlot$7(w = n.t("kg.KgTable.config")) ? w : {
|
19072
19075
|
default: () => [w]
|
19073
19076
|
});
|
19074
19077
|
}
|
@@ -19097,7 +19100,7 @@ const getProps$w = () => ({
|
|
19097
19100
|
}, null)]);
|
19098
19101
|
}
|
19099
19102
|
});
|
19100
|
-
function _isSlot$
|
19103
|
+
function _isSlot$6(e) {
|
19101
19104
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !isVNode$1(e);
|
19102
19105
|
}
|
19103
19106
|
const getProps$v = () => ({
|
@@ -19314,7 +19317,7 @@ const getProps$v = () => ({
|
|
19314
19317
|
}
|
19315
19318
|
});
|
19316
19319
|
}
|
19317
|
-
}, _isSlot$
|
19320
|
+
}, _isSlot$6(E = a.t("kg.KgTableHeaderCell.alignLeft")) ? E : {
|
19318
19321
|
default: () => [E]
|
19319
19322
|
}), createVNode(Menu.Item, {
|
19320
19323
|
key: "M",
|
@@ -19327,7 +19330,7 @@ const getProps$v = () => ({
|
|
19327
19330
|
}
|
19328
19331
|
});
|
19329
19332
|
}
|
19330
|
-
}, _isSlot$
|
19333
|
+
}, _isSlot$6(T = a.t("kg.KgTableHeaderCell.alignCenter")) ? T : {
|
19331
19334
|
default: () => [T]
|
19332
19335
|
}), createVNode(Menu.Item, {
|
19333
19336
|
key: "H",
|
@@ -19340,7 +19343,7 @@ const getProps$v = () => ({
|
|
19340
19343
|
}
|
19341
19344
|
});
|
19342
19345
|
}
|
19343
|
-
}, _isSlot$
|
19346
|
+
}, _isSlot$6(C = a.t("kg.KgTableHeaderCell.alignRight")) ? C : {
|
19344
19347
|
default: () => [C]
|
19345
19348
|
})]);
|
19346
19349
|
},
|
@@ -19375,7 +19378,7 @@ const getProps$v = () => ({
|
|
19375
19378
|
};
|
19376
19379
|
}
|
19377
19380
|
});
|
19378
|
-
function _isSlot$
|
19381
|
+
function _isSlot$5(e) {
|
19379
19382
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !isVNode$1(e);
|
19380
19383
|
}
|
19381
19384
|
const getProps$u = () => ({
|
@@ -19432,13 +19435,13 @@ const getProps$u = () => ({
|
|
19432
19435
|
onClick: o,
|
19433
19436
|
class: "btn-clear-check",
|
19434
19437
|
type: "link"
|
19435
|
-
}, _isSlot$
|
19438
|
+
}, _isSlot$5(_ = n.t("kg.KgTableInfo.clearCheck")) ? _ : {
|
19436
19439
|
default: () => [_]
|
19437
19440
|
}), e.kgShowLocate && createVNode(Button, {
|
19438
19441
|
onClick: c,
|
19439
19442
|
class: "btn-locate-check",
|
19440
19443
|
type: "link"
|
19441
|
-
}, _isSlot$
|
19444
|
+
}, _isSlot$5(d = n.t("kg.KgTableInfo.locate")) ? d : {
|
19442
19445
|
default: () => [d]
|
19443
19446
|
})]
|
19444
19447
|
})]), e.kgShowClearTable && createVNode(Button, {
|
@@ -19446,7 +19449,7 @@ const getProps$u = () => ({
|
|
19446
19449
|
onClick: l,
|
19447
19450
|
class: "btn-clear-table",
|
19448
19451
|
danger: !0
|
19449
|
-
}, _isSlot$
|
19452
|
+
}, _isSlot$5(g = n.t("kg.KgTableInfo.clearTable")) ? g : {
|
19450
19453
|
default: () => [g]
|
19451
19454
|
})]);
|
19452
19455
|
};
|
@@ -19474,11 +19477,7 @@ const KG_TABLE_TD_DEFAULT_WIDTH = 120, KG_TABLE_TD_MIN_WIDTH = 80, KG_TABLE_TD_M
|
|
19474
19477
|
default: () => [e.kgValue ? a.t("kg.yes") : a.t("kg.no")]
|
19475
19478
|
});
|
19476
19479
|
}
|
19477
|
-
})
|
19478
|
-
function _isSlot$5(e) {
|
19479
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !isVNode$1(e);
|
19480
|
-
}
|
19481
|
-
const getProps$s = () => ({
|
19480
|
+
}), getProps$s = () => ({
|
19482
19481
|
kgRow: Object,
|
19483
19482
|
kgValue: [Object, String, Number, Boolean, Date],
|
19484
19483
|
kgVarName: String,
|
@@ -19612,35 +19611,23 @@ const getProps$s = () => ({
|
|
19612
19611
|
});
|
19613
19612
|
}
|
19614
19613
|
function renderCell() {
|
19615
|
-
var e, a, r, n, u, s, o, l, c
|
19614
|
+
var e, a, r, n, u, s, o, l, c;
|
19616
19615
|
if (isSubmitting.value)
|
19617
19616
|
return renderCellForSubmit();
|
19618
19617
|
switch ((e = varGridDetail.value) == null ? void 0 : e.display_type) {
|
19619
19618
|
case KG__VAR_GRID_DETAIL__DISPLAY_TYPE.YN: {
|
19620
|
-
const
|
19619
|
+
const _ = displayTypeProperties.value;
|
19621
19620
|
return createVNode(KgYesOrNo, {
|
19622
|
-
kgValue: isNil(props.kgValue) ? void 0 : props.kgValue === ((a =
|
19623
|
-
kgNilAsFalse:
|
19621
|
+
kgValue: isNil(props.kgValue) ? void 0 : props.kgValue === ((a = _.yValue) != null ? a : 1),
|
19622
|
+
kgNilAsFalse: _.nilAsFalse
|
19624
19623
|
}, null);
|
19625
19624
|
}
|
19626
|
-
case KG__VAR_GRID_DETAIL__DISPLAY_TYPE.ENUM: {
|
19627
|
-
const d = displayTypeProperties.value, g = isArrayLike(d) && d.find((m) => m.value === props.kgValue);
|
19628
|
-
if (g) {
|
19629
|
-
const m = kgVar.t(g.varName).value;
|
19630
|
-
return m ? createVNode(Tag, {
|
19631
|
-
color: (r = g.color) != null ? r : "default"
|
19632
|
-
}, _isSlot$5(m) ? m : {
|
19633
|
-
default: () => [m]
|
19634
|
-
}) : renderText();
|
19635
|
-
} else
|
19636
|
-
return renderText();
|
19637
|
-
}
|
19638
19625
|
case KG__VAR_GRID_DETAIL__DISPLAY_TYPE.DESC: {
|
19639
|
-
const
|
19640
|
-
if (
|
19641
|
-
const
|
19626
|
+
const _ = displayTypeProperties.value;
|
19627
|
+
if (_.isTag) {
|
19628
|
+
const d = (r = _.tagColors) == null ? void 0 : r.find((g) => g.value === props.kgValue);
|
19642
19629
|
return isNil(getText.value) || !String(getText.value).trim() ? renderText() : createVNode(Tag, {
|
19643
|
-
color: (
|
19630
|
+
color: (n = d == null ? void 0 : d.color) != null ? n : "default"
|
19644
19631
|
}, {
|
19645
19632
|
default: () => [getText.value]
|
19646
19633
|
});
|
@@ -19648,15 +19635,15 @@ const getProps$s = () => ({
|
|
19648
19635
|
return renderText();
|
19649
19636
|
}
|
19650
19637
|
case KG__VAR_GRID_DETAIL__DISPLAY_TYPE.PROGRESS: {
|
19651
|
-
const
|
19638
|
+
const _ = displayTypeProperties.value, d = (s = (u = props.kgRow) == null ? void 0 : u[_.leftColumn]) != null ? s : 0;
|
19652
19639
|
switch (props.kgContext) {
|
19653
19640
|
case KG_TABLE_CELL_CONTEXT.TABLE_FILTER:
|
19654
|
-
return
|
19641
|
+
return d;
|
19655
19642
|
case KG_TABLE_CELL_CONTEXT.TABLE_CELL:
|
19656
19643
|
return createVNode(KgProgressA, {
|
19657
|
-
kgTextWidth:
|
19658
|
-
kgLeft:
|
19659
|
-
kgRight: (
|
19644
|
+
kgTextWidth: _.textWidth,
|
19645
|
+
kgLeft: d,
|
19646
|
+
kgRight: (o = props.kgRow) == null ? void 0 : o[_.rightColumn]
|
19660
19647
|
}, null);
|
19661
19648
|
}
|
19662
19649
|
break;
|
@@ -19690,17 +19677,17 @@ const getProps$s = () => ({
|
|
19690
19677
|
break;
|
19691
19678
|
}
|
19692
19679
|
case KG__VAR_GRID_DETAIL__DISPLAY_TYPE.IMAGE: {
|
19693
|
-
const
|
19680
|
+
const _ = displayTypeProperties.value, d = (l = _.width) != null ? l : 29, g = (c = _.height) != null ? c : 29;
|
19694
19681
|
switch (props.kgContext) {
|
19695
19682
|
case KG_TABLE_CELL_CONTEXT.TABLE_FILTER:
|
19696
19683
|
return props.kgValue;
|
19697
19684
|
case KG_TABLE_CELL_CONTEXT.TABLE_CELL:
|
19698
19685
|
return createVNode(KgImage, {
|
19699
19686
|
src: props.kgValue,
|
19700
|
-
width:
|
19701
|
-
height:
|
19702
|
-
onClick: (
|
19703
|
-
|
19687
|
+
width: d,
|
19688
|
+
height: g,
|
19689
|
+
onClick: (m) => {
|
19690
|
+
m.preventDefault(), m.stopPropagation();
|
19704
19691
|
}
|
19705
19692
|
}, null);
|
19706
19693
|
}
|
@@ -19832,12 +19819,12 @@ function _useColumns(e) {
|
|
19832
19819
|
return "right";
|
19833
19820
|
}
|
19834
19821
|
function F() {
|
19835
|
-
var
|
19836
|
-
return !(k.ord_flg !== 1 || (U = (
|
19822
|
+
var H, U, Z, Y;
|
19823
|
+
return !(k.ord_flg !== 1 || (U = (H = a == null ? void 0 : a.value) == null ? void 0 : H.KgTable) != null && U.kgDisabled || isNil((Y = (Z = a == null ? void 0 : a.value) == null ? void 0 : Z.KgTable) == null ? void 0 : Y.kgDisabled) && e.kgDisabled || r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value || g.length <= 0);
|
19837
19824
|
}
|
19838
19825
|
function N() {
|
19839
|
-
var
|
19840
|
-
if (((U = (
|
19826
|
+
var H, U, Z, Y, $, q;
|
19827
|
+
if (((U = (H = d.option.value.KgTable) == null ? void 0 : H.filter) == null ? void 0 : U.on) === !0 && k.filter_flag === 1 && !((Y = (Z = a == null ? void 0 : a.value) == null ? void 0 : Z.KgTable) != null && Y.kgDisabled) && !(isNil((q = ($ = a == null ? void 0 : a.value) == null ? void 0 : $.KgTable) == null ? void 0 : q.kgDisabled) && e.kgDisabled) && !(r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value) && !(g.length <= 0))
|
19841
19828
|
return uniqBy(g.map((Q) => {
|
19842
19829
|
var J;
|
19843
19830
|
return {
|
@@ -19854,8 +19841,8 @@ function _useColumns(e) {
|
|
19854
19841
|
}), "value");
|
19855
19842
|
}
|
19856
19843
|
function P() {
|
19857
|
-
var
|
19858
|
-
return ((U = (
|
19844
|
+
var H, U, Z;
|
19845
|
+
return ((U = (H = d.option.value.KgTable) == null ? void 0 : H.filter) == null ? void 0 : U.on) !== !0 ? null : ((Z = u.value) == null ? void 0 : Z[O]) || null;
|
19859
19846
|
}
|
19860
19847
|
function w() {
|
19861
19848
|
return ["left", "center", "right"].includes(k.align || "") ? k.align : "left";
|
@@ -19889,22 +19876,22 @@ function _useColumns(e) {
|
|
19889
19876
|
sortOrder: ((L = s.value) == null ? void 0 : L.field) === O && (B = (G = s.value) == null ? void 0 : G.order) != null ? B : null,
|
19890
19877
|
filteredValue: P(),
|
19891
19878
|
filters: N(),
|
19892
|
-
onFilter: (
|
19879
|
+
onFilter: (H, U) => H === "" ? isNil(U == null ? void 0 : U[O]) || (U == null ? void 0 : U[O]) === "" : (U == null ? void 0 : U[O]) === H,
|
19893
19880
|
customHeaderCell: () => ({
|
19894
19881
|
"kg-form_id": r.formID,
|
19895
19882
|
"kg-var_name": O,
|
19896
19883
|
draggable: !0
|
19897
19884
|
}),
|
19898
|
-
customCell: (
|
19885
|
+
customCell: (H) => {
|
19899
19886
|
var q, Q, J;
|
19900
|
-
const U =
|
19887
|
+
const U = H[r.kgTable.idKey.value], Z = (q = r.kgTable.selectedRow.value) == null ? void 0 : q[r.kgTable.idKey.value], Y = r.kgSubmit.currentVarSubmitConfig$DisplayType.value, $ = (J = r.kgSubmit.getVarSubmitDetails({
|
19901
19888
|
buttonVarName: (Q = r.kgButton.currentButton.value) == null ? void 0 : Q.var_nam,
|
19902
19889
|
varName: O
|
19903
19890
|
})[0]) != null ? J : null;
|
19904
19891
|
return {
|
19905
19892
|
"kg-form_id": r.formID,
|
19906
19893
|
"kg-var_name": O,
|
19907
|
-
class:
|
19894
|
+
class: Y === KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE.TABLE && U === Z && !!$ ? "submitting" : ""
|
19908
19895
|
};
|
19909
19896
|
}
|
19910
19897
|
};
|
@@ -20136,7 +20123,7 @@ const KgTable$1 = "", getProps$r = () => ({
|
|
20136
20123
|
V[0] === s.formID && (s.kgTable.store.setDatas({
|
20137
20124
|
frmId: s.formID,
|
20138
20125
|
datas: []
|
20139
|
-
}), L.total = 0,
|
20126
|
+
}), L.total = 0, Y({
|
20140
20127
|
isContinueWhenKgDisabled: !0
|
20141
20128
|
}), l.value = []);
|
20142
20129
|
break;
|
@@ -20270,7 +20257,7 @@ const KgTable$1 = "", getProps$r = () => ({
|
|
20270
20257
|
function B(W) {
|
20271
20258
|
W.shiftKey && (o.value = !0);
|
20272
20259
|
}
|
20273
|
-
function
|
20260
|
+
function H(W) {
|
20274
20261
|
W.shiftKey || (o.value = !1);
|
20275
20262
|
}
|
20276
20263
|
function U() {
|
@@ -20291,7 +20278,7 @@ const KgTable$1 = "", getProps$r = () => ({
|
|
20291
20278
|
datas: without$1(s.kgTable.datas.value, W)
|
20292
20279
|
}), s.kgTable.store.setSelectedRows(s.formID, []));
|
20293
20280
|
}
|
20294
|
-
function
|
20281
|
+
function Y(W = {}) {
|
20295
20282
|
var re, ne;
|
20296
20283
|
____DEBUG____(`${s.formID} | KgTable | onRowClick() | \u8FDB\u5165\u65B9\u6CD5.`, {
|
20297
20284
|
param: W
|
@@ -20465,7 +20452,7 @@ const KgTable$1 = "", getProps$r = () => ({
|
|
20465
20452
|
frmId: s.formID,
|
20466
20453
|
datas: ce.value,
|
20467
20454
|
isPreserveSelectedRows: !0
|
20468
|
-
}), L.total = Ee.value, E(), _.value = {},
|
20455
|
+
}), L.total = Ee.value, E(), _.value = {}, Y({
|
20469
20456
|
isContinueWhenKgDisabled: !0
|
20470
20457
|
}), l.value = [], await nextTick(), W.isPreserveSelectedRows ? s.kgTable.store.setSelectedRows(s.formID, he.map((ve) => {
|
20471
20458
|
var be;
|
@@ -20588,9 +20575,9 @@ const KgTable$1 = "", getProps$r = () => ({
|
|
20588
20575
|
return !s.kgTable.isAutoRequest.value && !s.kgTable.store.getIsRequested(s.formID) ? u.t("kg.KgTable.emptyText") : u.t("kg.emptyText");
|
20589
20576
|
}
|
20590
20577
|
return onMounted(() => {
|
20591
|
-
window.addEventListener("keydown", B), window.addEventListener("keyup",
|
20578
|
+
window.addEventListener("keydown", B), window.addEventListener("keyup", H);
|
20592
20579
|
}), onUnmounted(() => {
|
20593
|
-
s.kgTable.store.dispose(s.formID), window.removeEventListener("keydown", B), window.removeEventListener("keyup",
|
20580
|
+
s.kgTable.store.dispose(s.formID), window.removeEventListener("keydown", B), window.removeEventListener("keyup", H);
|
20594
20581
|
}), () => {
|
20595
20582
|
var W, V, I;
|
20596
20583
|
return createVNode("div", {
|
@@ -20615,7 +20602,7 @@ const KgTable$1 = "", getProps$r = () => ({
|
|
20615
20602
|
expandedRowKeys: l.value,
|
20616
20603
|
rowSelection: N.value,
|
20617
20604
|
customRow: (x) => ({
|
20618
|
-
onClick: (X) =>
|
20605
|
+
onClick: (X) => Y({
|
20619
20606
|
event: X,
|
20620
20607
|
row: x
|
20621
20608
|
})
|
@@ -23338,7 +23325,7 @@ const getProps$q = () => ({}), KgVarConfigModalButtonVarButton = defineComponent
|
|
23338
23325
|
}) => a.t(n).value
|
23339
23326
|
}];
|
23340
23327
|
}, rightVarProfileDetailColumns = (e) => {
|
23341
|
-
var u, s;
|
23328
|
+
var u, s, o, l;
|
23342
23329
|
const a = useKg(), r = useKgVar(e), n = useKgVar(FORM_ID__SEARCH__VAR_PROFILE_MASTER);
|
23343
23330
|
return compact([
|
23344
23331
|
{
|
@@ -23349,8 +23336,8 @@ const getProps$q = () => ({}), KgVarConfigModalButtonVarButton = defineComponent
|
|
23349
23336
|
title: "#",
|
23350
23337
|
className: "ant-table-cell--index",
|
23351
23338
|
customRender: ({
|
23352
|
-
index:
|
23353
|
-
}) =>
|
23339
|
+
index: c
|
23340
|
+
}) => c + 1
|
23354
23341
|
},
|
23355
23342
|
{
|
23356
23343
|
dataIndex: "handler",
|
@@ -23371,33 +23358,63 @@ const getProps$q = () => ({}), KgVarConfigModalButtonVarButton = defineComponent
|
|
23371
23358
|
},
|
23372
23359
|
{
|
23373
23360
|
dataIndex: "var_nam",
|
23374
|
-
width:
|
23361
|
+
width: 300,
|
23375
23362
|
title: n.t("var_text").value,
|
23376
23363
|
customRender: ({
|
23377
|
-
value:
|
23378
|
-
}) => r.t(
|
23364
|
+
value: c
|
23365
|
+
}) => r.t(c).value
|
23366
|
+
},
|
23367
|
+
{
|
23368
|
+
dataIndex: "exclude_from_where_sql_flag",
|
23369
|
+
width: 220,
|
23370
|
+
title: n.t("exclude_from_where_sql_flag").value,
|
23371
|
+
className: "input",
|
23372
|
+
customRender: ({
|
23373
|
+
record: c
|
23374
|
+
}) => createVNode(Checkbox, {
|
23375
|
+
checked: c.exclude_from_where_sql_flag === 1,
|
23376
|
+
"onUpdate:checked": (_) => c.exclude_from_where_sql_flag = _ ? 1 : 0,
|
23377
|
+
class: "kg-not-clickable"
|
23378
|
+
}, null)
|
23379
23379
|
},
|
23380
23380
|
((s = (u = a.option.value.KgSearch) == null ? void 0 : u.dynamicQuery) == null ? void 0 : s.on) !== !0 ? null : {
|
23381
|
+
dataIndex: "use_underscore_when_dynamic_query_flag",
|
23382
|
+
width: 280,
|
23383
|
+
title: n.t("use_underscore_when_dynamic_query_flag").value,
|
23384
|
+
className: "input",
|
23385
|
+
customRender: ({
|
23386
|
+
record: c
|
23387
|
+
}) => {
|
23388
|
+
var _;
|
23389
|
+
return createVNode(Checkbox, {
|
23390
|
+
checked: c.use_underscore_when_dynamic_query_flag === 1,
|
23391
|
+
"onUpdate:checked": (d) => c.use_underscore_when_dynamic_query_flag = d ? 1 : 0,
|
23392
|
+
disabled: ((_ = n.kgSubmit.formModel.value) == null ? void 0 : _.dyn_flg) !== 1,
|
23393
|
+
class: "kg-not-clickable"
|
23394
|
+
}, null);
|
23395
|
+
}
|
23396
|
+
},
|
23397
|
+
((l = (o = a.option.value.KgSearch) == null ? void 0 : o.dynamicQuery) == null ? void 0 : l.on) !== !0 ? null : {
|
23381
23398
|
dataIndex: "dft_dyn_op",
|
23382
23399
|
width: 150,
|
23383
23400
|
title: n.t("dft_dyn_op").value,
|
23384
23401
|
className: "input",
|
23385
23402
|
customRender: ({
|
23386
|
-
record:
|
23403
|
+
record: c
|
23387
23404
|
}) => {
|
23388
|
-
var
|
23389
|
-
const
|
23390
|
-
varName:
|
23405
|
+
var g, m, b;
|
23406
|
+
const d = (g = useKgVar(c.frm_id).getVarConfigControl({
|
23407
|
+
varName: c.var_nam,
|
23391
23408
|
buttonType: KG__VAR_BUTTON__TYPE.SEARCH
|
23392
|
-
})) == null ? void 0 :
|
23409
|
+
})) == null ? void 0 : g.ctrl_typ;
|
23393
23410
|
return createVNode(Select, {
|
23394
|
-
value: (
|
23395
|
-
"onUpdate:value": (
|
23411
|
+
value: (m = c.dft_dyn_op) != null ? m : void 0,
|
23412
|
+
"onUpdate:value": (v) => c.dft_dyn_op = v,
|
23396
23413
|
allowClear: !0,
|
23397
|
-
disabled: ((
|
23414
|
+
disabled: ((b = n.kgSubmit.formModel.value) == null ? void 0 : b.dyn_flg) !== 1,
|
23398
23415
|
class: "kg-not-clickable"
|
23399
23416
|
}, {
|
23400
|
-
default: () => KgVarUtil.getDynamicQueryOperatorSelectOptions(
|
23417
|
+
default: () => KgVarUtil.getDynamicQueryOperatorSelectOptions(d),
|
23401
23418
|
suffixIcon: () => createVNode(CaretDownOutlined$1, {
|
23402
23419
|
class: "ant-select-suffix"
|
23403
23420
|
}, null)
|
@@ -23495,13 +23512,7 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
|
|
23495
23512
|
setup(e) {
|
23496
23513
|
var m, b;
|
23497
23514
|
const a = (b = inject(KG__DI__FORM_ID, null)) != null ? b : (m = inject(KG__DI__KG_VAR_CONFIG__HOST_FORM_ID, null)) == null ? void 0 : m.value, r = useKg(), n = useKgVar(a), u = useKgVar(FORM_ID__SEARCH__VAR_PROFILE_MASTER);
|
23498
|
-
u.kgSearch.onReady(async () => (
|
23499
|
-
buttonType: KG__VAR_BUTTON__TYPE.SEARCH,
|
23500
|
-
properties: {
|
23501
|
-
default_value: n.formID
|
23502
|
-
},
|
23503
|
-
varName: "frm_id"
|
23504
|
-
}), !1)), u.kgTable.onBeforeSetDatas(async ({
|
23515
|
+
u.kgSearch.onReady(async () => (u.kgSearch.formModel.value && (u.kgSearch.formModel.value.frm_id = n.formID), !1)), u.kgTable.onBeforeSetDatas(async ({
|
23505
23516
|
datas: v
|
23506
23517
|
}) => (transformVarProfileMasters(v.value), !1)), u.kgSubmit.onOpen(async () => {
|
23507
23518
|
var v, p, E, T, C, k, A;
|
@@ -23539,7 +23550,7 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
|
|
23539
23550
|
id: u.kgTable.selectedRow.value.id
|
23540
23551
|
}
|
23541
23552
|
});
|
23542
|
-
s.value = s.value.map((D) => {
|
23553
|
+
transformVarProfileMasters([O]), s.value = s.value.map((D) => {
|
23543
23554
|
var F;
|
23544
23555
|
const M = (F = O == null ? void 0 : O.varProfileDetails) == null ? void 0 : F.find((N) => N.var_nam === D.var_nam);
|
23545
23556
|
return M ? {
|
@@ -23646,7 +23657,7 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
|
|
23646
23657
|
class: "kg-flex-table",
|
23647
23658
|
size: "small",
|
23648
23659
|
scroll: {
|
23649
|
-
x: v === "left" ? "370px" : `${(((y = (O = r.option.value.KgSearch) == null ? void 0 : O.dynamicQuery) == null ? void 0 : y.on) !== !0 ?
|
23660
|
+
x: v === "left" ? "370px" : `${(((y = (O = r.option.value.KgSearch) == null ? void 0 : O.dynamicQuery) == null ? void 0 : y.on) !== !0 ? 1022 - 150 : 1192) + 32}px`,
|
23650
23661
|
y: "auto"
|
23651
23662
|
},
|
23652
23663
|
columns: v === "left" ? leftVarProfileDetailColumns(a) : rightVarProfileDetailColumns(a),
|
@@ -26189,8 +26200,8 @@ const KgVarConfig$1 = "", KgVarConfig = defineComponent({
|
|
26189
26200
|
varSubmitConfigs: F,
|
26190
26201
|
varSubmitDetails: N,
|
26191
26202
|
varVariables: P
|
26192
|
-
} = await GetAll({ params: { frm_id: e } }), w = g != null ? g : null, K = P != null ? P : [], L = transformVarConfigControls(p), G = E != null ? E : [], B = transformVarConfigInputs(T),
|
26193
|
-
createDefaultVarSubmitDetailsForVarProfileDetails(ge, Q,
|
26203
|
+
} = await GetAll({ params: { frm_id: e } }), w = g != null ? g : null, K = P != null ? P : [], L = transformVarConfigControls(p), G = E != null ? E : [], B = transformVarConfigInputs(T), H = transformVarConfigLookups(C), U = transformVarConfigPossibilities(k), Z = transformVarConfigTips(A), Y = transformVarButtons(m), $ = transformVarButtonConfig(b), q = transformVarSubmitConfigs(F), Q = transformVarSubmitDetails(N), J = transformVarProfileConfig(O), oe = transformVarProfileMasters(y), _e = transformVarGridConfig(D), ge = transformVarGridMasters(M), fe = transformVarChildDetails(v), de = (s = (u = (y == null ? void 0 : y.find((W) => W.id === this.getCurrentVarProfileMasterID(e))) || (y == null ? void 0 : y.find((W) => W.def_flg === 1)) || (y == null ? void 0 : y.find((W) => W.cust_lvl === KG_CUSTOM_LEVEL.L0)) || (y == null ? void 0 : y.find(() => !0))) == null ? void 0 : u.id) != null ? s : null, ee = (l = (o = (M == null ? void 0 : M.find((W) => W.id === this.getCurrentVarGridMasterID(e))) || (M == null ? void 0 : M.find((W) => W.def_flg === 1)) || (M == null ? void 0 : M.find((W) => W.cust_lvl === KG_CUSTOM_LEVEL.L0)) || (M == null ? void 0 : M.find(() => !0))) == null ? void 0 : o.id) != null ? l : null;
|
26204
|
+
createDefaultVarSubmitDetailsForVarProfileDetails(ge, Q, Y), this.varDdaMap.set(e, w), this.varVariableMap.set(e, K), this.varConfigControlMap.set(e, L), this.varConfigDescriptionMap.set(e, G), this.varConfigInputMap.set(e, B), this.varConfigLookupMap.set(e, H), this.varConfigPossibilityMap.set(e, U), this.varConfigTipMap.set(e, Z), this.varButtonMap.set(e, Y), this.varButtonConfigMap.set(e, $), this.varSubmitConfigMap.set(e, q), this.varSubmitDetailMap.set(e, Q), this.varProfileConfigMap.set(e, J), this.varProfileMasterMap.set(e, { varProfileMasters: oe, currentVarProfileMasterID: de }), this.varGridConfigMap.set(e, _e), this.varGridMasterMap.set(e, { varGridMasters: ge, currentVarGridMasterID: ee }), this.varChildDetailMap.set(e, fe), await Promise.all([
|
26194
26205
|
this.setCurrentVarGridMasterID(e, this.getCurrentVarGridMasterID(e)),
|
26195
26206
|
this.setCurrentVarProfileMasterID(e, this.getCurrentVarProfileMasterID(e))
|
26196
26207
|
]);
|
@@ -27055,14 +27066,14 @@ const KgVar = defineComponent({
|
|
27055
27066
|
}
|
27056
27067
|
let _ = null;
|
27057
27068
|
const d = async () => {
|
27058
|
-
var p, E, T, C, k, A, O, y, D;
|
27069
|
+
var p, E, T, C, k, A, O, y, D, M;
|
27059
27070
|
_ == null || _.showLoading(), r.store.setIsOtherRequesting(r.formID, !0);
|
27060
27071
|
const v = r.kgTable.selectedRows.value;
|
27061
27072
|
try {
|
27062
|
-
const
|
27073
|
+
const F = KgVarUtil.parseRequestParamsToJSON((E = (p = e.kgButton) == null ? void 0 : p.cmd_prm) != null ? E : ""), N = (C = (T = e.kgButton) == null ? void 0 : T.cmd_method) != null ? C : "POST", P = await httpClient().request({
|
27063
27074
|
url: c,
|
27064
|
-
method:
|
27065
|
-
params:
|
27075
|
+
method: N,
|
27076
|
+
params: F,
|
27066
27077
|
data: v != null ? v : [],
|
27067
27078
|
headers: {
|
27068
27079
|
[KG_HTTP_HEADERS.KG_FORM_ID]: r.formID,
|
@@ -27070,18 +27081,19 @@ const KgVar = defineComponent({
|
|
27070
27081
|
}
|
27071
27082
|
});
|
27072
27083
|
if (((O = e.kgButton) == null ? void 0 : O.reload_all_after_done_flg) === 1) {
|
27073
|
-
let
|
27074
|
-
((y = e.kgButton) == null ? void 0 : y.re_select_after_reload_flg) !== 0 && (
|
27075
|
-
datas:
|
27084
|
+
let w = !0;
|
27085
|
+
((y = e.kgButton) == null ? void 0 : y.re_select_after_reload_flg) !== 0 && (w = !1, r.kgTable.onAfterRequest(async ({
|
27086
|
+
datas: K
|
27076
27087
|
}) => {
|
27077
|
-
const
|
27078
|
-
return
|
27088
|
+
const L = K.value, G = intersectionWith$1(L, v != null ? v : [], (B, H) => (B == null ? void 0 : B[r.kgTable.idKey.value]) === (H == null ? void 0 : H[r.kgTable.idKey.value]));
|
27089
|
+
return G.length > 0 && r.kgTable.store.setSelectedRows(r.formID, G), !1;
|
27079
27090
|
}, !0)), ((D = e.kgButton) == null ? void 0 : D.show_success_message_flg) !== 0 && message.success(a.t("kg.executeSuccess")), r.kgSearch.search({
|
27080
|
-
isSearchFirstPage:
|
27091
|
+
isSearchFirstPage: w
|
27081
27092
|
});
|
27082
|
-
}
|
27083
|
-
|
27084
|
-
|
27093
|
+
} else
|
27094
|
+
((M = e.kgButton) == null ? void 0 : M.show_success_message_flg) !== 0 && message.success(a.t("kg.executeSuccess"));
|
27095
|
+
} catch (F) {
|
27096
|
+
console.error(F);
|
27085
27097
|
} finally {
|
27086
27098
|
r.store.setIsOtherRequesting(r.formID, !1), _ == null || _.hideLoading();
|
27087
27099
|
}
|
@@ -27966,29 +27978,29 @@ const getProps$a = () => ({
|
|
27966
27978
|
}), b = ref({
|
27967
27979
|
kgHeight: m.value
|
27968
27980
|
}), v = computed(() => {
|
27969
|
-
var
|
27970
|
-
if (!isNil(($ = (
|
27981
|
+
var Y, $, q, Q;
|
27982
|
+
if (!isNil(($ = (Y = r == null ? void 0 : r.value) == null ? void 0 : Y.KgSearch) == null ? void 0 : $.kgDisabled))
|
27971
27983
|
return (Q = (q = r == null ? void 0 : r.value) == null ? void 0 : q.KgSearch) == null ? void 0 : Q.kgDisabled;
|
27972
27984
|
if (!isNil(e.kgDisabled))
|
27973
27985
|
return e.kgDisabled;
|
27974
27986
|
}), p = computed(() => {
|
27975
|
-
var
|
27976
|
-
return ((
|
27987
|
+
var Y;
|
27988
|
+
return ((Y = u.varProfileConfig.value) == null ? void 0 : Y.resizable_flg) === 0 || d.value <= HEADER_HEIGHT + BORDER_BOTTOM_WIDTH;
|
27977
27989
|
}), E = computed(() => {
|
27978
|
-
var
|
27979
|
-
return !!(v.value || u.kgTable.isRetrieving.value || KgAuthUtil.getPermissionType((
|
27990
|
+
var Y, $;
|
27991
|
+
return !!(v.value || u.kgTable.isRetrieving.value || KgAuthUtil.getPermissionType((Y = u.kgButton.searchButton.value) == null ? void 0 : Y.permission_code) === 2 && !n.p(($ = u.kgButton.searchButton.value) == null ? void 0 : $.permission_code) || u.isCreating.value || u.isUpdating.value || u.isCopying.value || u.isDeleting.value);
|
27980
27992
|
}), T = computed(() => !!(v.value || u.kgTable.isRetrieving.value || u.isCreating.value || u.isUpdating.value || u.isCopying.value || u.isDeleting.value)), C = computed(() => !!u.kgTable.isRetrieving.value), k = ref({
|
27981
27993
|
visible: !1
|
27982
27994
|
}), A = computed(() => b.value.kgHeight === m.value), O = computed(() => {
|
27983
27995
|
var q;
|
27984
27996
|
if (!u.kgButton.searchButton.value)
|
27985
27997
|
return;
|
27986
|
-
const
|
27987
|
-
if (!!$ && !!
|
27998
|
+
const Y = (q = u.kgButton.searchButton.value) == null ? void 0 : q.var_nam, $ = u.t(Y).value;
|
27999
|
+
if (!!$ && !!Y && $ !== Y)
|
27988
28000
|
return $;
|
27989
28001
|
}), y = computed(() => {
|
27990
|
-
var
|
27991
|
-
switch ((
|
28002
|
+
var Y;
|
28003
|
+
switch ((Y = u.kgButton.searchButton.value) == null ? void 0 : Y.primary_flg) {
|
27992
28004
|
case 1:
|
27993
28005
|
return !0;
|
27994
28006
|
case 0:
|
@@ -27997,8 +28009,8 @@ const getProps$a = () => ({
|
|
27997
28009
|
return !0;
|
27998
28010
|
}
|
27999
28011
|
}), D = computed(() => !!(u.isRetrieving.value || u.isRetrievingVarProfileMaster.value)), M = computed(() => !!u.isRetrieving.value || !!u.isRetrievingVarProfileMaster.value), F = computed(() => {
|
28000
|
-
let
|
28001
|
-
return s.value && (
|
28012
|
+
let Y = "kg-search";
|
28013
|
+
return s.value && (Y += " kg-search--visible"), Y;
|
28002
28014
|
}), N = computed(() => {
|
28003
28015
|
switch (u.kgSubmit.searchVarSubmitConfig$Layout.value) {
|
28004
28016
|
case KG__VAR_SUBMIT_CONFIG__LAYOUT.HORIZONTAL:
|
@@ -28033,12 +28045,12 @@ const getProps$a = () => ({
|
|
28033
28045
|
return;
|
28034
28046
|
}
|
28035
28047
|
});
|
28036
|
-
watch(d, (
|
28037
|
-
b.value.kgHeight =
|
28048
|
+
watch(d, (Y) => {
|
28049
|
+
b.value.kgHeight = Y;
|
28038
28050
|
}, {
|
28039
28051
|
immediate: !0
|
28040
28052
|
});
|
28041
|
-
async function w(
|
28053
|
+
async function w(Y = {}) {
|
28042
28054
|
var $, q;
|
28043
28055
|
if (____DEBUG____(`${u.formID} | KgSearch | onSearch() | \u8FDB\u5165\u65B9\u6CD5.`), u.kgTable.isRetrieving.value) {
|
28044
28056
|
____DEBUG____(`${u.formID} | KgSearch | onSearch() | \u6B63\u5728\u67E5\u8BE2.`);
|
@@ -28053,20 +28065,20 @@ const getProps$a = () => ({
|
|
28053
28065
|
return;
|
28054
28066
|
}
|
28055
28067
|
s.value ? (____DEBUG____(`${u.formID} | KgSearch | onSearch() | \u663E\u793A\u67E5\u8BE2\u6761\u4EF6\u7EC4\u4EF6.`), c.value && c.value.validate().then(async () => {
|
28056
|
-
await u.kgSearch.store.emit(u.formID, "search",
|
28068
|
+
await u.kgSearch.store.emit(u.formID, "search", Y);
|
28057
28069
|
}).catch((Q) => {
|
28058
28070
|
____DEBUG____(`${u.formID} | KgSearch | onSearch() | \u8868\u5355\u9A8C\u8BC1\u5931\u8D25.`, {
|
28059
28071
|
e: Q
|
28060
28072
|
});
|
28061
|
-
})) : (____DEBUG____(`${u.formID} | KgSearch | onSearch() | \u9690\u85CF\u67E5\u8BE2\u6761\u4EF6\u7EC4\u4EF6.`), await u.kgSearch.store.emit(u.formID, "search",
|
28073
|
+
})) : (____DEBUG____(`${u.formID} | KgSearch | onSearch() | \u9690\u85CF\u67E5\u8BE2\u6761\u4EF6\u7EC4\u4EF6.`), await u.kgSearch.store.emit(u.formID, "search", Y));
|
28062
28074
|
}
|
28063
28075
|
u.kgSearch.store.setSearchFn(u.formID, w);
|
28064
28076
|
async function K() {
|
28065
28077
|
_(), s.value ? c.value && c.value.validate().then(async () => {
|
28066
28078
|
await u.kgSearch.store.emit(u.formID, "reset", {});
|
28067
|
-
}).catch((
|
28079
|
+
}).catch((Y) => {
|
28068
28080
|
____DEBUG____(`${u.formID} | KgSearch | onReset() | \u8868\u5355\u9A8C\u8BC1\u5931\u8D25.`, {
|
28069
|
-
e:
|
28081
|
+
e: Y
|
28070
28082
|
});
|
28071
28083
|
}) : await u.kgSearch.store.emit(u.formID, "reset", {});
|
28072
28084
|
}
|
@@ -28077,11 +28089,11 @@ const getProps$a = () => ({
|
|
28077
28089
|
}), Promise.resolve(!0);
|
28078
28090
|
}
|
28079
28091
|
function G() {
|
28080
|
-
var
|
28092
|
+
var Y;
|
28081
28093
|
return createVNode("div", {
|
28082
28094
|
class: "title",
|
28083
28095
|
onClick: Z
|
28084
|
-
}, [((
|
28096
|
+
}, [((Y = a == null ? void 0 : a.KgSearch) == null ? void 0 : Y.left) && createVNode("div", {
|
28085
28097
|
class: "kg-search-title-left",
|
28086
28098
|
onClick: ($) => {
|
28087
28099
|
$.stopPropagation(), $.preventDefault();
|
@@ -28089,8 +28101,8 @@ const getProps$a = () => ({
|
|
28089
28101
|
}, [a.KgSearch.left()]), A.value ? createVNode(CaretUpOutlined$1, null, null) : createVNode(CaretDownOutlined$1, null, null), createVNode("span", null, [n.t("kg.KgSearch.title")])]);
|
28090
28102
|
}
|
28091
28103
|
function B() {
|
28092
|
-
var
|
28093
|
-
return (($ = (
|
28104
|
+
var Y, $, q, Q;
|
28105
|
+
return (($ = (Y = u.varProfileMasters.value) == null ? void 0 : Y.length) != null ? $ : 0) === 0 || ((q = u.varProfileConfig.value) == null ? void 0 : q.show_config_button_flag) === 0 ? null : createVNode(Fragment, null, [createVNode(Select, {
|
28094
28106
|
value: (Q = u.currentVarProfileMasterID.value) != null ? Q : void 0,
|
28095
28107
|
"onUpdate:value": (J) => u.store.setCurrentVarProfileMasterID(u.formID, J),
|
28096
28108
|
disabled: T.value,
|
@@ -28117,8 +28129,8 @@ const getProps$a = () => ({
|
|
28117
28129
|
default: () => [createVNode(SettingOutlined$1, null, null)]
|
28118
28130
|
})]);
|
28119
28131
|
}
|
28120
|
-
function
|
28121
|
-
var
|
28132
|
+
function H() {
|
28133
|
+
var Y, $, q;
|
28122
28134
|
return createVNode(Fragment, null, [B(), createVNode(Button, {
|
28123
28135
|
type: "primary",
|
28124
28136
|
ghost: !E.value,
|
@@ -28129,7 +28141,7 @@ const getProps$a = () => ({
|
|
28129
28141
|
default: () => [createVNode(ReloadOutlined$1, null, null), n.t("kg.reset")]
|
28130
28142
|
}), createVNode(KgButton.Item, {
|
28131
28143
|
kgType: KG__VAR_BUTTON__TYPE.SEARCH,
|
28132
|
-
kgVarName: (
|
28144
|
+
kgVarName: (Y = u.kgButton.searchButton.value) == null ? void 0 : Y.var_nam,
|
28133
28145
|
kgIcon: ($ = u.kgButton.searchButton.value) == null ? void 0 : $.icon,
|
28134
28146
|
kgText: O.value,
|
28135
28147
|
kgColor: (q = u.kgButton.searchButton.value) == null ? void 0 : q.color,
|
@@ -28140,7 +28152,7 @@ const getProps$a = () => ({
|
|
28140
28152
|
}, null)]);
|
28141
28153
|
}
|
28142
28154
|
function U() {
|
28143
|
-
let
|
28155
|
+
let Y;
|
28144
28156
|
return createVNode(Spin, {
|
28145
28157
|
spinning: M.value
|
28146
28158
|
}, {
|
@@ -28155,15 +28167,15 @@ const getProps$a = () => ({
|
|
28155
28167
|
}, {
|
28156
28168
|
default: () => [createVNode(Row, {
|
28157
28169
|
gutter: 6
|
28158
|
-
}, _isSlot$1(
|
28170
|
+
}, _isSlot$1(Y = u.kgSearch.currentVarProfileDetails.value.map((q) => createVNode(KgForm.Item, {
|
28159
28171
|
key: q.var_nam,
|
28160
28172
|
kgVarName: q.var_nam,
|
28161
28173
|
kgContext: KG_FORM_CONTEXT.SEARCH,
|
28162
28174
|
onKgSubmit: () => w({
|
28163
28175
|
isSearchFirstPage: !0
|
28164
28176
|
})
|
28165
|
-
}, null))) ?
|
28166
|
-
default: () => [
|
28177
|
+
}, null))) ? Y : {
|
28178
|
+
default: () => [Y]
|
28167
28179
|
})]
|
28168
28180
|
})];
|
28169
28181
|
}
|
@@ -28178,7 +28190,7 @@ const getProps$a = () => ({
|
|
28178
28190
|
"kg-form_id": u.formID,
|
28179
28191
|
ref: o,
|
28180
28192
|
kgHeight: b.value.kgHeight,
|
28181
|
-
"onUpdate:kgHeight": (
|
28193
|
+
"onUpdate:kgHeight": (Y) => b.value.kgHeight = Y,
|
28182
28194
|
kgMinHeight: m.value,
|
28183
28195
|
kgMaxHeight: g.value,
|
28184
28196
|
kgDisabled: p.value,
|
@@ -28195,7 +28207,7 @@ const getProps$a = () => ({
|
|
28195
28207
|
}, {
|
28196
28208
|
default: () => [G(), createVNode("div", {
|
28197
28209
|
class: "ant-collapse-extra"
|
28198
|
-
}, [
|
28210
|
+
}, [H()])]
|
28199
28211
|
})]), createVNode("div", {
|
28200
28212
|
class: "ant-collapse-content ant-collapse-content-active"
|
28201
28213
|
}, [createVNode("div", {
|
@@ -28203,7 +28215,7 @@ const getProps$a = () => ({
|
|
28203
28215
|
ref: l
|
28204
28216
|
}, [U()])])])]), k.value.visible && createVNode(KgSearchConfigModal, {
|
28205
28217
|
visible: k.value.visible,
|
28206
|
-
"onUpdate:visible": (
|
28218
|
+
"onUpdate:visible": (Y) => k.value.visible = Y
|
28207
28219
|
}, null)])]
|
28208
28220
|
});
|
28209
28221
|
}
|
@@ -30013,8 +30025,8 @@ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
30013
30025
|
if (!K)
|
30014
30026
|
return;
|
30015
30027
|
let L = !1;
|
30016
|
-
if (Object.entries(w).forEach(([B,
|
30017
|
-
B in K && K[B] !==
|
30028
|
+
if (Object.entries(w).forEach(([B, H]) => {
|
30029
|
+
B in K && K[B] !== H && (K[B] = H, L = !0);
|
30018
30030
|
}), !L)
|
30019
30031
|
return;
|
30020
30032
|
const G = [...u.value.varButtons];
|