@gct-paas/excel 0.1.39-beta.3 → 0.1.39-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseComponent-MsYFQjlq.js → BaseComponent-B8_qg2he.js} +1 -1
- package/dist/{barcode-design-DPH8Uh2K.js → barcode-design-DCm1U-OU.js} +1 -1
- package/dist/base/index.es.js +66 -64
- package/dist/{diagonal-design-AJOcMvxo.js → diagonal-design-DBk2s8UD.js} +1 -1
- package/dist/{dynamic-table-action-Bi7RdYoy.js → dynamic-table-action-JSevwsex.js} +101 -93
- package/dist/excel.css +82 -33
- package/dist/{exceljs.min-D7RI5VAg.js → exceljs.min-M28cAz_z.js} +1 -1
- package/dist/{font-editor-ttnkgG9j.js → font-editor-nCQk5D1K.js} +1 -1
- package/dist/{index-B5NG2ONv.js → index-B53fgzJo.js} +1 -1
- package/dist/{index-BbDITMyp.js → index-BSXafKJS.js} +1 -1
- package/dist/{index-CR2Qyh5l.js → index-BrkoN2-J.js} +2 -2
- package/dist/{index-IRXUwksU.js → index-BvJ7ZgvI.js} +1 -1
- package/dist/{index-Bb41zgXE.js → index-CBiaZr1j.js} +1 -1
- package/dist/{index-C90vW_gE.js → index-CCp6-NXH.js} +2 -2
- package/dist/{index-CLL_9LZB.js → index-CCsNdL4I.js} +1 -1
- package/dist/{index-7YbJRzdP.js → index-CFjE5779.js} +1 -1
- package/dist/{index-_h9yoejq.js → index-CGsTW2E9.js} +1 -1
- package/dist/{index-BKBn7Evl.js → index-CKWcaJGI.js} +1 -1
- package/dist/{index-CuGZ6C7l.js → index-Co1E4H0G.js} +1 -1
- package/dist/{index-D9xmHJZc.js → index-D7IBmbmp.js} +1 -1
- package/dist/{index-DBT8-Qit.js → index-DEN3-esb.js} +2 -2
- package/dist/{index-DNmbm6HV.js → index-DEl0sxMk.js} +3 -3
- package/dist/{index-Db-ix7hC.js → index-DPOE78Jf.js} +1 -1
- package/dist/{index-n1HZa-Ar.js → index-DT87VrvR.js} +1 -1
- package/dist/{index-EhaPjLBG.js → index-DkvjFyW6.js} +1 -1
- package/dist/{index-DgdosgZd.js → index-H_BLk7PI.js} +1 -1
- package/dist/{index-89I_eBZ-.js → index-I2HpU1BP.js} +2 -2
- package/dist/{index-DAN58pC9.js → index-XBuNXPu0.js} +1 -1
- package/dist/{index-ab9KSEKp.js → index-ZEwe0MJj.js} +1 -1
- package/dist/{index-DmBNvVlZ.js → index-bfXiwTE7.js} +536 -425
- package/dist/{index-_ZsA68LD.js → index-tZd-Us4e.js} +1 -1
- package/dist/{index-C_FegWKd.js → index-wcY1RYL_.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{pagination-design-DU2ZuaY4.js → pagination-design-BYqVZGdA.js} +1 -1
- package/dist/paper-widget-design-BcSUNaAF.js +4 -0
- package/dist/{print-runtime-instance-ydLRVd0y.js → print-runtime-instance-D3BJGzia.js} +1 -1
- package/dist/{print-snapshot-renderer-C3fEtvNI.js → print-snapshot-renderer-MzkjvlA8.js} +3 -3
- package/dist/{qrcode-design-BXlQ5QTm.js → qrcode-design-B0YGEijA.js} +1 -1
- package/dist/seal-design-CHOawN-k.js +4 -0
- package/dist/{single-field-drop-CYcOH6mT.js → single-field-drop-BycxT2Kf.js} +1 -1
- package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +2 -0
- package/dist/src/online-form/src/views/render/sheet-tab-bar.vue.d.ts +5 -3
- package/dist/{sub-table-factory-DxM8KQoS.js → sub-table-factory-BxG7QiiX.js} +1 -1
- package/dist/{text-design-8Za9qOSI.js → text-design-BQKYk7aD.js} +1 -1
- package/dist/{trace-like-wrapper-BPNmxIDn.js → trace-like-wrapper-CdKGpstE.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-CQ0YP-OF.js → value-editor.vue_vue_type_style_index_0_lang-CCv0wmKI.js} +1 -1
- package/dist/{widget-barcode-C38yawCK.js → widget-barcode-CK68yjvd.js} +2 -2
- package/dist/{widget-diagonal-abcgVyu4.js → widget-diagonal-9F-6feRM.js} +2 -2
- package/dist/{widget-image-DcSNslZ-.js → widget-image-2GcRCaIf.js} +1 -1
- package/dist/{widget-line-CttlnK7g.js → widget-line-flwy9kew.js} +1 -1
- package/dist/{widget-pagination-BNG9Rszh.js → widget-pagination-pxpEH1UB.js} +2 -2
- package/dist/{widget-power-DaC1id-m.js → widget-power-pFQ7lwCW.js} +2 -2
- package/dist/{widget-qrcode-BRFsOH44.js → widget-qrcode-D_Ri0RG2.js} +2 -2
- package/dist/{widget-rangelimit-fA6YF2E2.js → widget-rangelimit-DB97heRc.js} +2 -2
- package/dist/{widget-serialnumber-mnpGMXuB.js → widget-serialnumber-I35Sov0R.js} +1 -1
- package/dist/{widget-text-gHJcpS1w.js → widget-text-C93W0WWM.js} +3 -3
- package/dist/{widget-timediff-ByHm9Dg3.js → widget-timediff-S4X81H7c.js} +1 -1
- package/package.json +1 -1
- package/dist/paper-widget-design-BE_wOTpv.js +0 -4
- package/dist/seal-design-7aKsQ6RT.js +0 -4
|
@@ -5,7 +5,7 @@ import { range, cloneDeep, get as get$3, merge, isEmpty, zip, pick, omit, has, d
|
|
|
5
5
|
import dayjs from "dayjs";
|
|
6
6
|
import * as Antd from "ant-design-vue";
|
|
7
7
|
import { message, Modal, notification, Empty, InputSearch, Cascader, ConfigProvider, Tooltip as Tooltip$1, Input, Tree, Transfer, Select, Tag, AutoComplete, TimePicker, DatePicker, Textarea, TreeSelect, CheckboxGroup, Checkbox, Radio, RadioGroup } from "ant-design-vue";
|
|
8
|
-
import { M as MULTI_SHEET_SCHEMA_VERSION, c as createRuntimeDocumentV2, g as getBusinessFieldKey, n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, B as BorderTD, u as useFormTmplConfig,
|
|
8
|
+
import { M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, b as MULTI_SHEET_SCHEMA_VERSION, c as createRuntimeDocumentV2, g as getBusinessFieldKey, n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, B as BorderTD, u as useFormTmplConfig, d as normalizeHistoricalBusinessRow, e as DeviceLinkTmplUtil, f as normalizeAIOcrTmpl, h as useWidgetStaticAttrs, i as useRuntimeInstanceServices, s as setSelectValidatorId, j as setSelectAnnotationId, k as useRuntimeRowState, l as getObjectBomMaterialLotQuery, m as buildObjectLotExtraQuery, r as resolveObjectFieldKeys, o as MaterialConsumptionPatternEnum, v as validateObjectBomForScan, p as resolveObjectBomEntry, q as runWithFillProduct, t as useNocodeFormWidget, w as applyConsumeObjectTraceChange, x as getObjectBomProductQuery, E as EMPTY_PRODUCT_VERSION_ID, y as normalizeHistoricalAutofillRow, N as NCB_PROVIDE, z as parseRuntimeFieldPath, A as useStyles, C as useDependency, F as useFieldPresentation, G as useRuntimeEditorFlusher, R as RuntimeFormStateStore, H as createRuntimeInstanceContext, I as RuntimeInstanceRegistry, S as ScanParamType, J as RequiredQtyCalcRule, K as registerFormulaFuncs, L as DocumentPaper, O as DynamicTableAction, _ as _sfc_main$6u } from "./dynamic-table-action-JSevwsex.js";
|
|
9
9
|
import { S as SEARCH_SEVICE, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$6s } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-Ciue53Ue.js";
|
|
10
10
|
import { I as Icon$1, w as warning, u as useInsertStyles, s as svgBaseProps, a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
11
11
|
import { u as useWebUpload, i as initWebPaasUploadApis, a as useThrottleFn, d as defaultWindow, n as noop, b as useEventListener, c as isIOS, e as unrefElement, r as require$$0, U as Uploader, f as useIntersectionObserver, g as cacheAdapter, w as watchDebounced, A as AddRuleBtn, M as ModalWrapper, F as FormFieldSelect, o as onClickOutside$1, _ as _sfc_main$6t, h as initWebNocodeAdapter } from "./index-DCzL4GOP.js";
|
|
@@ -1930,7 +1930,7 @@ function openWindow(url, opt) {
|
|
|
1930
1930
|
const FieldPropLabels = Object.entries(FIELD_PROP_LABEL_MAP);
|
|
1931
1931
|
const FieldTypeLabels = Object.entries(FIELD_TYPE_LABEL_MAP);
|
|
1932
1932
|
async function createWorkbook() {
|
|
1933
|
-
const ExcelJs = (await import("./exceljs.min-
|
|
1933
|
+
const ExcelJs = (await import("./exceljs.min-M28cAz_z.js").then((n) => n.e)).default;
|
|
1934
1934
|
return new ExcelJs.Workbook();
|
|
1935
1935
|
}
|
|
1936
1936
|
class XlsxParser {
|
|
@@ -1970,12 +1970,16 @@ class XlsxParser {
|
|
|
1970
1970
|
throw new Error(`不支持导入隐藏工作表:${hidden.map((sheet) => sheet.name).join("、")}`);
|
|
1971
1971
|
}
|
|
1972
1972
|
if (!candidates.length) throw new Error("Excel 中没有可导入的工作表");
|
|
1973
|
-
if (candidates.length >
|
|
1973
|
+
if (candidates.length > MAX_RUNTIME_SHEETS) {
|
|
1974
|
+
throw new Error(`每份表单最多支持 ${MAX_RUNTIME_SHEETS} 个工作表`);
|
|
1975
|
+
}
|
|
1974
1976
|
const names = /* @__PURE__ */ new Set();
|
|
1975
1977
|
const sheets = candidates.map((worksheet) => {
|
|
1976
1978
|
const title = worksheet.name.trim();
|
|
1977
|
-
if (!title || title.length >
|
|
1978
|
-
throw new Error(
|
|
1979
|
+
if (!title || title.length > MAX_RUNTIME_SHEET_TITLE_LENGTH) {
|
|
1980
|
+
throw new Error(
|
|
1981
|
+
`工作表名称必须为 1 到 ${MAX_RUNTIME_SHEET_TITLE_LENGTH} 个字符:${worksheet.name}`
|
|
1982
|
+
);
|
|
1979
1983
|
}
|
|
1980
1984
|
if (names.has(title)) throw new Error(`工作表名称重复:${title}`);
|
|
1981
1985
|
names.add(title);
|
|
@@ -2254,28 +2258,28 @@ class XlsxParser {
|
|
|
2254
2258
|
}
|
|
2255
2259
|
function asyncImportClassModules() {
|
|
2256
2260
|
const modules = /* @__PURE__ */ Object.assign({
|
|
2257
|
-
"./_field_/auto-complete/index.ts": () => import("./index-
|
|
2258
|
-
"./_field_/datepicker/index.ts": () => import("./index-
|
|
2259
|
-
"./_field_/datetimepicker/index.ts": () => import("./index-
|
|
2260
|
-
"./_field_/department/index.ts": () => import("./index-
|
|
2261
|
-
"./_field_/enum-select/index.ts": () => import("./index-
|
|
2262
|
-
"./_field_/input/index.ts": () => import("./index-
|
|
2263
|
-
"./_field_/inputdouble/index.ts": () => import("./index-
|
|
2264
|
-
"./_field_/inputnumber/index.ts": () => import("./index-
|
|
2265
|
-
"./_field_/rdo-select/index.ts": () => import("./index-
|
|
2266
|
-
"./_field_/seal/index.ts": () => import("./index-
|
|
2267
|
-
"./_field_/select/index.ts": () => import("./index-
|
|
2268
|
-
"./_field_/sign/index.ts": () => import("./index-
|
|
2269
|
-
"./_field_/switch/index.ts": () => import("./index-
|
|
2270
|
-
"./_field_/textarea/index.ts": () => import("./index-
|
|
2271
|
-
"./_field_/timepicker/index.ts": () => import("./index-
|
|
2272
|
-
"./_field_/upload-file/index.ts": () => import("./index-
|
|
2273
|
-
"./_field_/upload-image/index.ts": () => import("./index-
|
|
2274
|
-
"./_field_/userpicker/index.ts": () => import("./index-
|
|
2261
|
+
"./_field_/auto-complete/index.ts": () => import("./index-CCp6-NXH.js").then((m) => m["default"]),
|
|
2262
|
+
"./_field_/datepicker/index.ts": () => import("./index-D7IBmbmp.js").then((m) => m["default"]),
|
|
2263
|
+
"./_field_/datetimepicker/index.ts": () => import("./index-DkvjFyW6.js").then((m) => m["default"]),
|
|
2264
|
+
"./_field_/department/index.ts": () => import("./index-wcY1RYL_.js").then((m) => m["default"]),
|
|
2265
|
+
"./_field_/enum-select/index.ts": () => import("./index-BrkoN2-J.js").then((m) => m["default"]),
|
|
2266
|
+
"./_field_/input/index.ts": () => import("./index-CBiaZr1j.js").then((m) => m["default"]),
|
|
2267
|
+
"./_field_/inputdouble/index.ts": () => import("./index-CGsTW2E9.js").then((m) => m["default"]),
|
|
2268
|
+
"./_field_/inputnumber/index.ts": () => import("./index-ZEwe0MJj.js").then((m) => m["default"]),
|
|
2269
|
+
"./_field_/rdo-select/index.ts": () => import("./index-I2HpU1BP.js").then((m) => m["default"]),
|
|
2270
|
+
"./_field_/seal/index.ts": () => import("./index-CFjE5779.js").then((m) => m["default"]),
|
|
2271
|
+
"./_field_/select/index.ts": () => import("./index-DEN3-esb.js").then((m) => m["default"]),
|
|
2272
|
+
"./_field_/sign/index.ts": () => import("./index-H_BLk7PI.js").then((m) => m["default"]),
|
|
2273
|
+
"./_field_/switch/index.ts": () => import("./index-DEl0sxMk.js").then((m) => m["default"]),
|
|
2274
|
+
"./_field_/textarea/index.ts": () => import("./index-CCsNdL4I.js").then((m) => m["default"]),
|
|
2275
|
+
"./_field_/timepicker/index.ts": () => import("./index-DPOE78Jf.js").then((m) => m["default"]),
|
|
2276
|
+
"./_field_/upload-file/index.ts": () => import("./index-tZd-Us4e.js").then((m) => m["default"]),
|
|
2277
|
+
"./_field_/upload-image/index.ts": () => import("./index-BvJ7ZgvI.js").then((m) => m["default"]),
|
|
2278
|
+
"./_field_/userpicker/index.ts": () => import("./index-XBuNXPu0.js").then((m) => m["default"]),
|
|
2275
2279
|
"./_widget_/barcode/index.ts": () => import("./index-CX6LqGJP.js").then((m) => m["default"]),
|
|
2276
|
-
"./_widget_/combine-fields/index.ts": () => import("./index-
|
|
2277
|
-
"./_widget_/diagonal/index.ts": () => import("./index-
|
|
2278
|
-
"./_widget_/dyn-value/index.ts": () => import("./index-
|
|
2280
|
+
"./_widget_/combine-fields/index.ts": () => import("./index-B53fgzJo.js").then((m) => m["default"]),
|
|
2281
|
+
"./_widget_/diagonal/index.ts": () => import("./index-Co1E4H0G.js").then((m) => m["default"]),
|
|
2282
|
+
"./_widget_/dyn-value/index.ts": () => import("./index-DT87VrvR.js").then((m) => m["default"]),
|
|
2279
2283
|
"./_widget_/image/index.ts": () => import("./index-UCNknVxk.js").then((m) => m["default"]),
|
|
2280
2284
|
"./_widget_/line/index.ts": () => import("./index-ChncMTkv.js").then((m) => m["default"]),
|
|
2281
2285
|
"./_widget_/power/index.ts": () => import("./index-DHHyy4mL.js").then((m) => m["default"]),
|
|
@@ -2285,8 +2289,8 @@ function asyncImportClassModules() {
|
|
|
2285
2289
|
"./_widget_/sub-table/index.ts": () => import("./index-jRA6sXVY.js").then((m) => m["default"]),
|
|
2286
2290
|
"./_widget_/timediff/index.ts": () => import("./index-D0Q-6EtG.js").then((m) => m["default"]),
|
|
2287
2291
|
"./paper/index.ts": () => import("./index-_-ORWa-m.js").then((m) => m["default"]),
|
|
2288
|
-
"./td/index.ts": () => import("./index-
|
|
2289
|
-
"./tr/index.ts": () => import("./index-
|
|
2292
|
+
"./td/index.ts": () => import("./index-CKWcaJGI.js").then((m) => m["default"]),
|
|
2293
|
+
"./tr/index.ts": () => import("./index-BSXafKJS.js").then((m) => m["default"])
|
|
2290
2294
|
});
|
|
2291
2295
|
return modules;
|
|
2292
2296
|
}
|
|
@@ -4014,13 +4018,15 @@ const _sfc_main$6r = /* @__PURE__ */ defineComponent({
|
|
|
4014
4018
|
createVNode(_component_a_form_item, {
|
|
4015
4019
|
label: _ctx.$t("sys.onlineForm.worksheetName"),
|
|
4016
4020
|
name: "title",
|
|
4017
|
-
rules: [{ required: true, validator: __props.validator }, { max:
|
|
4021
|
+
rules: [{ required: true, validator: __props.validator }, { max: unref(MAX_RUNTIME_SHEET_TITLE_LENGTH) }]
|
|
4018
4022
|
}, {
|
|
4019
4023
|
default: withCtx(() => [
|
|
4020
4024
|
createVNode(_component_a_input, {
|
|
4021
4025
|
value: formState.value.title,
|
|
4022
|
-
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => formState.value.title = $event)
|
|
4023
|
-
|
|
4026
|
+
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => formState.value.title = $event),
|
|
4027
|
+
maxlength: unref(MAX_RUNTIME_SHEET_TITLE_LENGTH),
|
|
4028
|
+
"show-count": ""
|
|
4029
|
+
}, null, 8, ["value", "maxlength"])
|
|
4024
4030
|
]),
|
|
4025
4031
|
_: 1
|
|
4026
4032
|
}, 8, ["label", "rules"])
|
|
@@ -9830,7 +9836,7 @@ function useCacheHistoryInner(props2) {
|
|
|
9830
9836
|
onRestore: onRestore2
|
|
9831
9837
|
};
|
|
9832
9838
|
}
|
|
9833
|
-
const MAX_SHEETS =
|
|
9839
|
+
const MAX_SHEETS = MAX_RUNTIME_SHEETS;
|
|
9834
9840
|
const MAX_STATIC_CELLS = 3e4;
|
|
9835
9841
|
const designerConfig = ref({});
|
|
9836
9842
|
const formConfig$3 = ref(cloneDeep(DefaultFormConfig));
|
|
@@ -10011,8 +10017,8 @@ const useAllSpreadSheets = () => {
|
|
|
10011
10017
|
if (!value || !value.trim()) {
|
|
10012
10018
|
return Promise.reject($t("sys.onlineForm.pleaseEnterWorksheetName"));
|
|
10013
10019
|
}
|
|
10014
|
-
if (value.trim().length >
|
|
10015
|
-
return Promise.reject(
|
|
10020
|
+
if (value.trim().length > MAX_RUNTIME_SHEET_TITLE_LENGTH) {
|
|
10021
|
+
return Promise.reject(`工作表名称最长 ${MAX_RUNTIME_SHEET_TITLE_LENGTH} 个字符`);
|
|
10016
10022
|
}
|
|
10017
10023
|
if (sheetsData$1.value.some(
|
|
10018
10024
|
(e) => !data && e.title.trim() === value.trim() || data && e.sheetId !== data.sheetId && e.title.trim() === value.trim()
|
|
@@ -10130,7 +10136,9 @@ const useAllSpreadSheets = () => {
|
|
|
10130
10136
|
const subTables = /* @__PURE__ */ new Map();
|
|
10131
10137
|
sheetsData$1.value.forEach((sheet) => {
|
|
10132
10138
|
const title = sheet.title.trim();
|
|
10133
|
-
if (!title || title.length >
|
|
10139
|
+
if (!title || title.length > MAX_RUNTIME_SHEET_TITLE_LENGTH) {
|
|
10140
|
+
throw new Error(`工作表名称必须为 1 到 ${MAX_RUNTIME_SHEET_TITLE_LENGTH} 个字符`);
|
|
10141
|
+
}
|
|
10134
10142
|
if (names.has(title)) throw new Error(`工作表名称重复:${title}`);
|
|
10135
10143
|
names.add(title);
|
|
10136
10144
|
staticCellCount += (sheet.paper.cells ?? []).reduce((sum, row) => sum + row.length, 0);
|
|
@@ -14295,7 +14303,7 @@ const _hoisted_3$1T = {
|
|
|
14295
14303
|
key: 0,
|
|
14296
14304
|
class: "fake-number-input__sup"
|
|
14297
14305
|
};
|
|
14298
|
-
const _hoisted_4$
|
|
14306
|
+
const _hoisted_4$1k = {
|
|
14299
14307
|
key: 1,
|
|
14300
14308
|
class: "fake-number-input__sub"
|
|
14301
14309
|
};
|
|
@@ -14342,7 +14350,7 @@ const _sfc_main$6g = /* @__PURE__ */ defineComponent({
|
|
|
14342
14350
|
}, toDisplayString$1(displayText.value), 3)
|
|
14343
14351
|
]),
|
|
14344
14352
|
isRenderScript.value ? (openBlock(), createElementBlock("span", _hoisted_2$2u, [
|
|
14345
|
-
isSuperScript.value ? (openBlock(), createElementBlock("sup", _hoisted_3$1T, toDisplayString$1(scriptValue.value), 1)) : (openBlock(), createElementBlock("sub", _hoisted_4$
|
|
14353
|
+
isSuperScript.value ? (openBlock(), createElementBlock("sup", _hoisted_3$1T, toDisplayString$1(scriptValue.value), 1)) : (openBlock(), createElementBlock("sub", _hoisted_4$1k, toDisplayString$1(scriptValue.value), 1))
|
|
14346
14354
|
])) : createCommentVNode("", true)
|
|
14347
14355
|
], 2);
|
|
14348
14356
|
};
|
|
@@ -14488,8 +14496,8 @@ const _hoisted_2$2t = {
|
|
|
14488
14496
|
class: "fake-option-select__select"
|
|
14489
14497
|
};
|
|
14490
14498
|
const _hoisted_3$1S = ["title"];
|
|
14491
|
-
const _hoisted_4$
|
|
14492
|
-
const _hoisted_5
|
|
14499
|
+
const _hoisted_4$1j = { class: "fake-option-select__label" };
|
|
14500
|
+
const _hoisted_5$$ = {
|
|
14493
14501
|
key: 3,
|
|
14494
14502
|
class: "fake-option-select__affix"
|
|
14495
14503
|
};
|
|
@@ -14620,7 +14628,7 @@ const _sfc_main$6b = /* @__PURE__ */ defineComponent({
|
|
|
14620
14628
|
disabled: __props.disabled,
|
|
14621
14629
|
selected: isSelected(option2.value)
|
|
14622
14630
|
}, null, 8, ["disabled", "selected"])) : createCommentVNode("", true),
|
|
14623
|
-
createElementVNode("span", _hoisted_4$
|
|
14631
|
+
createElementVNode("span", _hoisted_4$1j, toDisplayString$1(option2.label), 1),
|
|
14624
14632
|
labelPosition.value === "before" ? (openBlock(), createBlock(resolveDynamicComponent(iconComp.value), {
|
|
14625
14633
|
key: 1,
|
|
14626
14634
|
class: "fake-option-select__icon",
|
|
@@ -14637,7 +14645,7 @@ const _sfc_main$6b = /* @__PURE__ */ defineComponent({
|
|
|
14637
14645
|
], 10, _hoisted_3$1S);
|
|
14638
14646
|
}), 128))
|
|
14639
14647
|
], 2)),
|
|
14640
|
-
__props.fieldWidget.suffix ? (openBlock(), createElementBlock("span", _hoisted_5
|
|
14648
|
+
__props.fieldWidget.suffix ? (openBlock(), createElementBlock("span", _hoisted_5$$, toDisplayString$1(__props.fieldWidget.suffix), 1)) : createCommentVNode("", true)
|
|
14641
14649
|
], 6);
|
|
14642
14650
|
};
|
|
14643
14651
|
}
|
|
@@ -15130,7 +15138,7 @@ const __vite_glob_3_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
|
|
|
15130
15138
|
const _hoisted_1$3s = { class: "column-name column-name--top" };
|
|
15131
15139
|
const _hoisted_2$2q = { class: "column-name column-name--bottom" };
|
|
15132
15140
|
const _hoisted_3$1Q = ["x1", "y1", "x2", "y2"];
|
|
15133
|
-
const _hoisted_4$
|
|
15141
|
+
const _hoisted_4$1i = {
|
|
15134
15142
|
key: 0,
|
|
15135
15143
|
class: "column-name column-name--middle"
|
|
15136
15144
|
};
|
|
@@ -15203,7 +15211,7 @@ const _sfc_main$68 = /* @__PURE__ */ defineComponent({
|
|
|
15203
15211
|
}, null, 8, _hoisted_3$1Q);
|
|
15204
15212
|
}), 128))
|
|
15205
15213
|
], 2)),
|
|
15206
|
-
__props.size === 3 ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
15214
|
+
__props.size === 3 ? (openBlock(), createElementBlock("span", _hoisted_4$1i, toDisplayString$1(__props.value[1]), 1)) : createCommentVNode("", true)
|
|
15207
15215
|
], 2);
|
|
15208
15216
|
};
|
|
15209
15217
|
}
|
|
@@ -15814,7 +15822,7 @@ function asyncImportWidgetConfigList() {
|
|
|
15814
15822
|
return widgetConfigList;
|
|
15815
15823
|
}
|
|
15816
15824
|
function asyncImportWidgetDesign() {
|
|
15817
|
-
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-
|
|
15825
|
+
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-CHOawN-k.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-DCm1U-OU.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-DBk2s8UD.js"), "./image/image-design.vue": () => import("./image-design-B84grap7.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-BYqVZGdA.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-BcSUNaAF.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-B0YGEijA.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-fMRSi9jn.js"), "./text/text-design.vue": () => import("./text-design-BQKYk7aD.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-O1IfzLVD.js") });
|
|
15818
15826
|
const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
|
|
15819
15827
|
const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
|
|
15820
15828
|
if (mKey) {
|
|
@@ -16366,7 +16374,7 @@ const _hoisted_3$1P = {
|
|
|
16366
16374
|
key: 1,
|
|
16367
16375
|
class: "inline-cell-content__media"
|
|
16368
16376
|
};
|
|
16369
|
-
const _hoisted_4$
|
|
16377
|
+
const _hoisted_4$1h = ["src", "alt", "title"];
|
|
16370
16378
|
const _sfc_main$5V = /* @__PURE__ */ defineComponent({
|
|
16371
16379
|
__name: "inline-cell-content",
|
|
16372
16380
|
props: {
|
|
@@ -16393,7 +16401,7 @@ const _sfc_main$5V = /* @__PURE__ */ defineComponent({
|
|
|
16393
16401
|
alt: mediaName(item),
|
|
16394
16402
|
title: __props.showMediaTitle ? mediaName(item) : void 0,
|
|
16395
16403
|
draggable: "false"
|
|
16396
|
-
}, null, 8, _hoisted_4$
|
|
16404
|
+
}, null, 8, _hoisted_4$1h)
|
|
16397
16405
|
])) : createCommentVNode("", true)
|
|
16398
16406
|
], 64);
|
|
16399
16407
|
}), 128))
|
|
@@ -20770,8 +20778,8 @@ const _hoisted_3$1O = {
|
|
|
20770
20778
|
key: 0,
|
|
20771
20779
|
class: "inline-icon-suggestions__group"
|
|
20772
20780
|
};
|
|
20773
|
-
const _hoisted_4$
|
|
20774
|
-
const _hoisted_5$
|
|
20781
|
+
const _hoisted_4$1g = ["onPointerdown", "onMouseenter"];
|
|
20782
|
+
const _hoisted_5$_ = { class: "inline-icon-suggestions__label" };
|
|
20775
20783
|
const InlineCellClipboardMime = "application/x-gct-inline-cell-content+json";
|
|
20776
20784
|
const InlineCellClipboardVersion = 1;
|
|
20777
20785
|
const _sfc_main$5U = /* @__PURE__ */ defineComponent({
|
|
@@ -21461,8 +21469,8 @@ const _sfc_main$5U = /* @__PURE__ */ defineComponent({
|
|
|
21461
21469
|
content: [unref(inlineIconToContent)(row.icon)],
|
|
21462
21470
|
"show-media-title": false
|
|
21463
21471
|
}, null, 8, ["content"]),
|
|
21464
|
-
createElementVNode("span", _hoisted_5$
|
|
21465
|
-
], 42, _hoisted_4$
|
|
21472
|
+
createElementVNode("span", _hoisted_5$_, toDisplayString$1(row.icon.name), 1)
|
|
21473
|
+
], 42, _hoisted_4$1g)), [
|
|
21466
21474
|
[vSuggestionOverflowTitle, row.icon.name]
|
|
21467
21475
|
])
|
|
21468
21476
|
], 64);
|
|
@@ -23685,9 +23693,9 @@ const _hoisted_1$3a = {
|
|
|
23685
23693
|
};
|
|
23686
23694
|
const _hoisted_2$2i = ["data-x", "width"];
|
|
23687
23695
|
const _hoisted_3$1M = ["data-x"];
|
|
23688
|
-
const _hoisted_4$
|
|
23689
|
-
const _hoisted_5$
|
|
23690
|
-
const _hoisted_6$
|
|
23696
|
+
const _hoisted_4$1f = ["onMouseenter"];
|
|
23697
|
+
const _hoisted_5$Z = ["onClick"];
|
|
23698
|
+
const _hoisted_6$J = ["data-x"];
|
|
23691
23699
|
const _sfc_main$5B = /* @__PURE__ */ defineComponent({
|
|
23692
23700
|
__name: "table-x",
|
|
23693
23701
|
setup(__props) {
|
|
@@ -23772,8 +23780,8 @@ const _sfc_main$5B = /* @__PURE__ */ defineComponent({
|
|
|
23772
23780
|
createElementVNode("i", {
|
|
23773
23781
|
class: "iconfont icon-tianjia hover-icon",
|
|
23774
23782
|
onClick: (e) => addCol(e, colIndex + 1)
|
|
23775
|
-
}, null, 8, _hoisted_5$
|
|
23776
|
-
], 42, _hoisted_4$
|
|
23783
|
+
}, null, 8, _hoisted_5$Z)
|
|
23784
|
+
], 42, _hoisted_4$1f)
|
|
23777
23785
|
], 8, _hoisted_3$1M);
|
|
23778
23786
|
}), 128))
|
|
23779
23787
|
]),
|
|
@@ -23795,7 +23803,7 @@ const _sfc_main$5B = /* @__PURE__ */ defineComponent({
|
|
|
23795
23803
|
style: normalizeStyle({
|
|
23796
23804
|
height: tableHeight.value + "px"
|
|
23797
23805
|
})
|
|
23798
|
-
}, null, 14, _hoisted_6$
|
|
23806
|
+
}, null, 14, _hoisted_6$J);
|
|
23799
23807
|
}), 128))
|
|
23800
23808
|
], 4)
|
|
23801
23809
|
])
|
|
@@ -23812,10 +23820,10 @@ const _hoisted_2$2h = {
|
|
|
23812
23820
|
class: "table-y__table"
|
|
23813
23821
|
};
|
|
23814
23822
|
const _hoisted_3$1L = ["width"];
|
|
23815
|
-
const _hoisted_4$
|
|
23816
|
-
const _hoisted_5$
|
|
23817
|
-
const _hoisted_6$
|
|
23818
|
-
const _hoisted_7$
|
|
23823
|
+
const _hoisted_4$1e = ["data-y", "height"];
|
|
23824
|
+
const _hoisted_5$Y = { style: { "position": "relative" } };
|
|
23825
|
+
const _hoisted_6$I = ["onMouseenter"];
|
|
23826
|
+
const _hoisted_7$t = ["onClick"];
|
|
23819
23827
|
const _sfc_main$5A = /* @__PURE__ */ defineComponent({
|
|
23820
23828
|
__name: "table-y",
|
|
23821
23829
|
setup(__props) {
|
|
@@ -23869,7 +23877,7 @@ const _sfc_main$5A = /* @__PURE__ */ defineComponent({
|
|
|
23869
23877
|
"data-y": rowIndex + 1,
|
|
23870
23878
|
height: row.height
|
|
23871
23879
|
}, [
|
|
23872
|
-
createElementVNode("td", _hoisted_5$
|
|
23880
|
+
createElementVNode("td", _hoisted_5$Y, [
|
|
23873
23881
|
rowIndex === 0 ? (openBlock(), createElementBlock("div", {
|
|
23874
23882
|
key: 0,
|
|
23875
23883
|
class: normalizeClass(["table-y__point top", hoverLineIndex.value === 0 && "is-hover"]),
|
|
@@ -23892,8 +23900,8 @@ const _sfc_main$5A = /* @__PURE__ */ defineComponent({
|
|
|
23892
23900
|
createElementVNode("i", {
|
|
23893
23901
|
class: "iconfont icon-tianjia hover-icon",
|
|
23894
23902
|
onClick: (e) => addRow(e, rowIndex + 1)
|
|
23895
|
-
}, null, 8, _hoisted_7$
|
|
23896
|
-
], 42, _hoisted_6$
|
|
23903
|
+
}, null, 8, _hoisted_7$t)
|
|
23904
|
+
], 42, _hoisted_6$I)
|
|
23897
23905
|
]),
|
|
23898
23906
|
createElementVNode("td", {
|
|
23899
23907
|
class: normalizeClass([
|
|
@@ -23901,7 +23909,7 @@ const _sfc_main$5A = /* @__PURE__ */ defineComponent({
|
|
|
23901
23909
|
rowIndex === 0 && hoverLineIndex.value === 0 && "top-border"
|
|
23902
23910
|
])
|
|
23903
23911
|
}, null, 2)
|
|
23904
|
-
], 8, _hoisted_4$
|
|
23912
|
+
], 8, _hoisted_4$1e);
|
|
23905
23913
|
}), 128))
|
|
23906
23914
|
])
|
|
23907
23915
|
])
|
|
@@ -24041,8 +24049,8 @@ const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$5y, [["render", _sfc_rende
|
|
|
24041
24049
|
const _hoisted_1$37 = { class: "file-form-upload-wrapper" };
|
|
24042
24050
|
const _hoisted_2$2g = { class: "file-form-upload-design" };
|
|
24043
24051
|
const _hoisted_3$1K = { style: { "pointer-events": "none" } };
|
|
24044
|
-
const _hoisted_4$
|
|
24045
|
-
const _hoisted_5$
|
|
24052
|
+
const _hoisted_4$1d = { class: "file-form-upload-text" };
|
|
24053
|
+
const _hoisted_5$X = { class: "file-form-hint" };
|
|
24046
24054
|
const _sfc_main$5x = /* @__PURE__ */ defineComponent({
|
|
24047
24055
|
__name: "file-view",
|
|
24048
24056
|
setup(__props) {
|
|
@@ -24062,8 +24070,8 @@ const _sfc_main$5x = /* @__PURE__ */ defineComponent({
|
|
|
24062
24070
|
name: "folder"
|
|
24063
24071
|
})
|
|
24064
24072
|
]),
|
|
24065
|
-
createElementVNode("p", _hoisted_4$
|
|
24066
|
-
createElementVNode("p", _hoisted_5$
|
|
24073
|
+
createElementVNode("p", _hoisted_4$1d, toDisplayString$1(_ctx.$t("sys.edhr.uploadFileTips")), 1),
|
|
24074
|
+
createElementVNode("p", _hoisted_5$X, toDisplayString$1(_ctx.$t("sys.onlineForm.uploadLimitTip")), 1)
|
|
24067
24075
|
]),
|
|
24068
24076
|
_: 1
|
|
24069
24077
|
})
|
|
@@ -24078,9 +24086,10 @@ const NoDataSvg = "data:image/svg+xml,%3csvg%20width='202'%20height='201'%20view
|
|
|
24078
24086
|
const _hoisted_1$36 = { class: "swapper" };
|
|
24079
24087
|
const _hoisted_2$2f = { class: "item-box" };
|
|
24080
24088
|
const _hoisted_3$1J = ["onClick"];
|
|
24081
|
-
const _hoisted_4$
|
|
24082
|
-
const _hoisted_5$
|
|
24083
|
-
const _hoisted_6$
|
|
24089
|
+
const _hoisted_4$1c = ["onClick"];
|
|
24090
|
+
const _hoisted_5$W = ["onClick"];
|
|
24091
|
+
const _hoisted_6$H = ["title"];
|
|
24092
|
+
const _hoisted_7$s = {
|
|
24084
24093
|
key: 0,
|
|
24085
24094
|
class: "swapper-btn"
|
|
24086
24095
|
};
|
|
@@ -24170,20 +24179,21 @@ const _sfc_main$5w = /* @__PURE__ */ defineComponent({
|
|
|
24170
24179
|
createElementVNode("div", {
|
|
24171
24180
|
class: "sheet-item ell",
|
|
24172
24181
|
onClick: ($event) => unref(addSheet)(item)
|
|
24173
|
-
}, toDisplayString$1(_ctx.$t("sys.component.dataConnection.rename")), 9, _hoisted_4$
|
|
24182
|
+
}, toDisplayString$1(_ctx.$t("sys.component.dataConnection.rename")), 9, _hoisted_4$1c),
|
|
24174
24183
|
unref(sheetsData2).length > 1 ? (openBlock(), createElementBlock("div", {
|
|
24175
24184
|
key: 0,
|
|
24176
24185
|
class: "sheet-item ell",
|
|
24177
24186
|
onClick: ($event) => unref(deleteSheet)(item)
|
|
24178
|
-
}, toDisplayString$1(_ctx.$t("sys.delText")), 9, _hoisted_5$
|
|
24187
|
+
}, toDisplayString$1(_ctx.$t("sys.delText")), 9, _hoisted_5$W)) : createCommentVNode("", true)
|
|
24179
24188
|
]),
|
|
24180
24189
|
default: withCtx(() => [
|
|
24181
24190
|
createElementVNode("div", {
|
|
24182
24191
|
class: "swapper-item-title",
|
|
24192
|
+
title: item.title,
|
|
24183
24193
|
style: normalizeStyle({
|
|
24184
24194
|
"pointer-events": __props.readonly ? "none" : "unset"
|
|
24185
24195
|
})
|
|
24186
|
-
}, toDisplayString$1(item.title),
|
|
24196
|
+
}, toDisplayString$1(item.title), 13, _hoisted_6$H)
|
|
24187
24197
|
]),
|
|
24188
24198
|
_: 2
|
|
24189
24199
|
}, 1032, ["onVisibleChange"])
|
|
@@ -24191,7 +24201,7 @@ const _sfc_main$5w = /* @__PURE__ */ defineComponent({
|
|
|
24191
24201
|
}), 128))
|
|
24192
24202
|
])
|
|
24193
24203
|
], 512),
|
|
24194
|
-
showMoreBtn.value ? (openBlock(), createElementBlock("div",
|
|
24204
|
+
showMoreBtn.value ? (openBlock(), createElementBlock("div", _hoisted_7$s, [
|
|
24195
24205
|
createElementVNode("i", {
|
|
24196
24206
|
class: normalizeClass(["iconfont icon-arrow_left_more", [curPage.value <= 1 && "disabled-btn"]]),
|
|
24197
24207
|
onClick: _cache[0] || (_cache[0] = ($event) => onMove(true))
|
|
@@ -24205,7 +24215,7 @@ const _sfc_main$5w = /* @__PURE__ */ defineComponent({
|
|
|
24205
24215
|
};
|
|
24206
24216
|
}
|
|
24207
24217
|
});
|
|
24208
|
-
const SheetsSwapper = /* @__PURE__ */ _export_sfc(_sfc_main$5w, [["__scopeId", "data-v-
|
|
24218
|
+
const SheetsSwapper = /* @__PURE__ */ _export_sfc(_sfc_main$5w, [["__scopeId", "data-v-42715a25"]]);
|
|
24209
24219
|
const _hoisted_1$35 = { class: "sheets" };
|
|
24210
24220
|
const _hoisted_2$2e = { class: "sheets-btns" };
|
|
24211
24221
|
const _hoisted_3$1I = ["title", "onClick"];
|
|
@@ -24560,8 +24570,8 @@ const _hoisted_2$2c = {
|
|
|
24560
24570
|
cellspacing: "0"
|
|
24561
24571
|
};
|
|
24562
24572
|
const _hoisted_3$1G = ["data-x", "width"];
|
|
24563
|
-
const _hoisted_4$
|
|
24564
|
-
const _hoisted_5$
|
|
24573
|
+
const _hoisted_4$1b = ["data-x"];
|
|
24574
|
+
const _hoisted_5$V = { class: "title-x" };
|
|
24565
24575
|
const _sfc_main$5r = /* @__PURE__ */ defineComponent({
|
|
24566
24576
|
__name: "sheet-x",
|
|
24567
24577
|
setup(__props) {
|
|
@@ -24628,7 +24638,7 @@ const _sfc_main$5r = /* @__PURE__ */ defineComponent({
|
|
|
24628
24638
|
"data-x": colIndex + 1,
|
|
24629
24639
|
onMousedown: handleClick
|
|
24630
24640
|
}, [
|
|
24631
|
-
createElementVNode("div", _hoisted_5$
|
|
24641
|
+
createElementVNode("div", _hoisted_5$V, toDisplayString$1(unref(NumColMap)[colIndex + 1]), 1),
|
|
24632
24642
|
createElementVNode("div", {
|
|
24633
24643
|
class: "resize-x",
|
|
24634
24644
|
onMousedown: _cache[0] || (_cache[0] = withModifiers(
|
|
@@ -24637,7 +24647,7 @@ const _sfc_main$5r = /* @__PURE__ */ defineComponent({
|
|
|
24637
24647
|
["stop"]
|
|
24638
24648
|
))
|
|
24639
24649
|
}, null, 32)
|
|
24640
|
-
], 42, _hoisted_4$
|
|
24650
|
+
], 42, _hoisted_4$1b);
|
|
24641
24651
|
}), 128))
|
|
24642
24652
|
])
|
|
24643
24653
|
])
|
|
@@ -24657,7 +24667,7 @@ const _hoisted_1$32 = {
|
|
|
24657
24667
|
};
|
|
24658
24668
|
const _hoisted_2$2b = ["data-y", "height"];
|
|
24659
24669
|
const _hoisted_3$1F = ["data-y"];
|
|
24660
|
-
const _hoisted_4$
|
|
24670
|
+
const _hoisted_4$1a = { class: "title-y" };
|
|
24661
24671
|
const _sfc_main$5q = /* @__PURE__ */ defineComponent({
|
|
24662
24672
|
__name: "sheet-y",
|
|
24663
24673
|
setup(__props) {
|
|
@@ -24718,7 +24728,7 @@ const _sfc_main$5q = /* @__PURE__ */ defineComponent({
|
|
|
24718
24728
|
"data-y": rowIndex + 1,
|
|
24719
24729
|
onMousedown: handleClick
|
|
24720
24730
|
}, [
|
|
24721
|
-
createElementVNode("div", _hoisted_4$
|
|
24731
|
+
createElementVNode("div", _hoisted_4$1a, toDisplayString$1(rowIndex + 1), 1),
|
|
24722
24732
|
createElementVNode("div", {
|
|
24723
24733
|
class: "resize-y",
|
|
24724
24734
|
onMousedown: _cache[0] || (_cache[0] = withModifiers(
|
|
@@ -25235,9 +25245,9 @@ const _hoisted_2$2a = { class: "box" };
|
|
|
25235
25245
|
const _hoisted_3$1E = { style: {
|
|
25236
25246
|
borderRadius: "4px"
|
|
25237
25247
|
} };
|
|
25238
|
-
const _hoisted_4$
|
|
25239
|
-
const _hoisted_5$
|
|
25240
|
-
const _hoisted_6$
|
|
25248
|
+
const _hoisted_4$19 = { class: "color-picker-middle" };
|
|
25249
|
+
const _hoisted_5$U = { style: { "flex": "auto" } };
|
|
25250
|
+
const _hoisted_6$G = { class: "color-picker-diamond" };
|
|
25241
25251
|
const _hoisted_7$r = { class: "color-picker-value" };
|
|
25242
25252
|
const _hoisted_8$m = { class: "hex" };
|
|
25243
25253
|
const _hoisted_9$g = ["value"];
|
|
@@ -25650,8 +25660,8 @@ const _sfc_main$5n = /* @__PURE__ */ defineComponent({
|
|
|
25650
25660
|
_cache[0] || (_cache[0] = createElementVNode("div", { class: "color-picker-saturation-t" }, null, -1)),
|
|
25651
25661
|
_cache[1] || (_cache[1] = createElementVNode("div", { class: "color-picker-saturation-h" }, null, -1))
|
|
25652
25662
|
], 544),
|
|
25653
|
-
createElementVNode("div", _hoisted_4$
|
|
25654
|
-
createElementVNode("div", _hoisted_5$
|
|
25663
|
+
createElementVNode("div", _hoisted_4$19, [
|
|
25664
|
+
createElementVNode("div", _hoisted_5$U, [
|
|
25655
25665
|
createElementVNode("div", {
|
|
25656
25666
|
class: "hue-slider",
|
|
25657
25667
|
ref_key: "hueSliderRef",
|
|
@@ -25678,7 +25688,7 @@ const _sfc_main$5n = /* @__PURE__ */ defineComponent({
|
|
|
25678
25688
|
}, null, 4)
|
|
25679
25689
|
], 544)
|
|
25680
25690
|
]),
|
|
25681
|
-
createElementVNode("div", _hoisted_6$
|
|
25691
|
+
createElementVNode("div", _hoisted_6$G, [
|
|
25682
25692
|
createElementVNode("div", {
|
|
25683
25693
|
style: normalizeStyle(`background-color: ${colorObj.value.rgba};width: 100%;height: 100%;box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), inset 0 0 4px rgba(0, 0, 0, .25);`)
|
|
25684
25694
|
}, null, 4)
|
|
@@ -25944,9 +25954,9 @@ const UploadStageBackground = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASw
|
|
|
25944
25954
|
const _hoisted_1$2$ = ["aria-label"];
|
|
25945
25955
|
const _hoisted_2$29 = { class: "inline-media-modal__header" };
|
|
25946
25956
|
const _hoisted_3$1D = ["aria-label"];
|
|
25947
|
-
const _hoisted_4$
|
|
25948
|
-
const _hoisted_5$
|
|
25949
|
-
const _hoisted_6$
|
|
25957
|
+
const _hoisted_4$18 = ["aria-selected"];
|
|
25958
|
+
const _hoisted_5$T = ["aria-selected"];
|
|
25959
|
+
const _hoisted_6$F = {
|
|
25950
25960
|
key: 0,
|
|
25951
25961
|
class: "inline-media-modal__body icon-picker"
|
|
25952
25962
|
};
|
|
@@ -26218,17 +26228,17 @@ const _sfc_main$5i = /* @__PURE__ */ defineComponent({
|
|
|
26218
26228
|
"aria-selected": activeTab.value === "icon",
|
|
26219
26229
|
class: normalizeClass([activeTab.value === "icon" && "inline-media-modal__tab--active", "inline-media-modal__tab"]),
|
|
26220
26230
|
onClick: _cache[0] || (_cache[0] = ($event) => activeTab.value = "icon")
|
|
26221
|
-
}, toDisplayString$1(_ctx.$t("sys.pageDesigner.icon")), 11, _hoisted_4$
|
|
26231
|
+
}, toDisplayString$1(_ctx.$t("sys.pageDesigner.icon")), 11, _hoisted_4$18),
|
|
26222
26232
|
createElementVNode("button", {
|
|
26223
26233
|
type: "button",
|
|
26224
26234
|
role: "tab",
|
|
26225
26235
|
"aria-selected": activeTab.value === "image",
|
|
26226
26236
|
class: normalizeClass([activeTab.value === "image" && "inline-media-modal__tab--active", "inline-media-modal__tab"]),
|
|
26227
26237
|
onClick: _cache[1] || (_cache[1] = ($event) => activeTab.value = "image")
|
|
26228
|
-
}, toDisplayString$1(_ctx.$t("sys.image")), 11, _hoisted_5$
|
|
26238
|
+
}, toDisplayString$1(_ctx.$t("sys.image")), 11, _hoisted_5$T)
|
|
26229
26239
|
], 8, _hoisted_3$1D)
|
|
26230
26240
|
]),
|
|
26231
|
-
activeTab.value === "icon" ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
26241
|
+
activeTab.value === "icon" ? (openBlock(), createElementBlock("div", _hoisted_6$F, [
|
|
26232
26242
|
createElementVNode("aside", {
|
|
26233
26243
|
class: "icon-picker__sidebar",
|
|
26234
26244
|
"aria-label": _ctx.$t("sys.onlineForm.inlineMedia.categoryAriaLabel")
|
|
@@ -26527,9 +26537,9 @@ function resolveTableSvg(key) {
|
|
|
26527
26537
|
const _hoisted_1$2_ = { class: "designer__toolbar" };
|
|
26528
26538
|
const _hoisted_2$28 = { class: "designer__toolbar__left" };
|
|
26529
26539
|
const _hoisted_3$1C = { class: "designer__toolbar__left__second" };
|
|
26530
|
-
const _hoisted_4$
|
|
26531
|
-
const _hoisted_5$
|
|
26532
|
-
const _hoisted_6$
|
|
26540
|
+
const _hoisted_4$17 = { class: "second__top" };
|
|
26541
|
+
const _hoisted_5$S = { class: "tool--dropdown" };
|
|
26542
|
+
const _hoisted_6$E = { class: "flex items-center text-14px" };
|
|
26533
26543
|
const _hoisted_7$p = { class: "tool--dropdown" };
|
|
26534
26544
|
const _hoisted_8$k = { class: "tool--dropdown" };
|
|
26535
26545
|
const _hoisted_9$e = { class: "designer__toolbar__left__third" };
|
|
@@ -26750,7 +26760,7 @@ const _sfc_main$5h = /* @__PURE__ */ defineComponent({
|
|
|
26750
26760
|
createVNode(HistoryToolbar),
|
|
26751
26761
|
_cache[27] || (_cache[27] = createElementVNode("div", { class: "vertical-divider" }, null, -1)),
|
|
26752
26762
|
createElementVNode("div", _hoisted_3$1C, [
|
|
26753
|
-
createElementVNode("div", _hoisted_4$
|
|
26763
|
+
createElementVNode("div", _hoisted_4$17, [
|
|
26754
26764
|
createVNode(_sfc_main$5m, {
|
|
26755
26765
|
value: cellFontFamily.value,
|
|
26756
26766
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => cellFontFamily.value = $event),
|
|
@@ -26842,7 +26852,7 @@ const _sfc_main$5h = /* @__PURE__ */ defineComponent({
|
|
|
26842
26852
|
]),
|
|
26843
26853
|
_: 1
|
|
26844
26854
|
}),
|
|
26845
|
-
createElementVNode("div", _hoisted_5$
|
|
26855
|
+
createElementVNode("div", _hoisted_5$S, [
|
|
26846
26856
|
createElementVNode("i", {
|
|
26847
26857
|
onClick: _cache[6] || (_cache[6] = ($event) => unref(setBorder)(borderIconType.value))
|
|
26848
26858
|
}, [
|
|
@@ -26863,7 +26873,7 @@ const _sfc_main$5h = /* @__PURE__ */ defineComponent({
|
|
|
26863
26873
|
key: item.type
|
|
26864
26874
|
}, {
|
|
26865
26875
|
default: withCtx(() => [
|
|
26866
|
-
createElementVNode("div", _hoisted_6$
|
|
26876
|
+
createElementVNode("div", _hoisted_6$E, [
|
|
26867
26877
|
createVNode(BorderIcon, {
|
|
26868
26878
|
type: item.type,
|
|
26869
26879
|
class: "mr-6px relative -top-1px"
|
|
@@ -28265,8 +28275,8 @@ const ToolkitContentFields = /* @__PURE__ */ defineComponent({
|
|
|
28265
28275
|
const _hoisted_1$2S = ["title"];
|
|
28266
28276
|
const _hoisted_2$23 = ["title"];
|
|
28267
28277
|
const _hoisted_3$1x = ["title"];
|
|
28268
|
-
const _hoisted_4$
|
|
28269
|
-
const _hoisted_5$
|
|
28278
|
+
const _hoisted_4$16 = { class: "group-fields__content" };
|
|
28279
|
+
const _hoisted_5$R = ["title"];
|
|
28270
28280
|
const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
28271
28281
|
__name: "toolkit-content-param",
|
|
28272
28282
|
props: {
|
|
@@ -28385,13 +28395,13 @@ const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
|
28385
28395
|
class: "group-fields__label",
|
|
28386
28396
|
title: group.groupCaption
|
|
28387
28397
|
}, toDisplayString$1(group.groupCaption), 9, _hoisted_3$1x),
|
|
28388
|
-
createElementVNode("div", _hoisted_4$
|
|
28398
|
+
createElementVNode("div", _hoisted_4$16, [
|
|
28389
28399
|
(openBlock(true), createElementBlock(Fragment, null, renderList(group.fields, (field) => {
|
|
28390
28400
|
return openBlock(), createElementBlock("div", {
|
|
28391
28401
|
class: "group-fields__field",
|
|
28392
28402
|
key: field.key,
|
|
28393
28403
|
title: field.tooltip
|
|
28394
|
-
}, toDisplayString$1(field.caption), 9, _hoisted_5$
|
|
28404
|
+
}, toDisplayString$1(field.caption), 9, _hoisted_5$R);
|
|
28395
28405
|
}), 128))
|
|
28396
28406
|
])
|
|
28397
28407
|
]);
|
|
@@ -29051,8 +29061,8 @@ const _hoisted_2$1$ = {
|
|
|
29051
29061
|
class: "toolkit-blank"
|
|
29052
29062
|
};
|
|
29053
29063
|
const _hoisted_3$1u = { class: "guides" };
|
|
29054
|
-
const _hoisted_4$
|
|
29055
|
-
const _hoisted_5$
|
|
29064
|
+
const _hoisted_4$15 = ["onClick"];
|
|
29065
|
+
const _hoisted_5$Q = ["onClick"];
|
|
29056
29066
|
const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
29057
29067
|
__name: "toolkit-hook",
|
|
29058
29068
|
setup(__props) {
|
|
@@ -29120,14 +29130,14 @@ const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
|
29120
29130
|
createElementVNode("i", {
|
|
29121
29131
|
class: normalizeClass(["iconfont", config2.icon]),
|
|
29122
29132
|
onClick: config2.onClick
|
|
29123
|
-
}, null, 10, _hoisted_4$
|
|
29133
|
+
}, null, 10, _hoisted_4$15)
|
|
29124
29134
|
]),
|
|
29125
29135
|
_: 2
|
|
29126
29136
|
}, 1024)) : (openBlock(), createElementBlock("i", {
|
|
29127
29137
|
key: 1,
|
|
29128
29138
|
class: normalizeClass(["iconfont", config2.icon]),
|
|
29129
29139
|
onClick: config2.onClick
|
|
29130
|
-
}, null, 10, _hoisted_5$
|
|
29140
|
+
}, null, 10, _hoisted_5$Q))
|
|
29131
29141
|
]);
|
|
29132
29142
|
}), 128))
|
|
29133
29143
|
])
|
|
@@ -32050,9 +32060,9 @@ const AttachFieldEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4_, [["__scopeId
|
|
|
32050
32060
|
const _hoisted_1$2K = { style: { "float": "right" } };
|
|
32051
32061
|
const _hoisted_2$1Y = { class: "option-container" };
|
|
32052
32062
|
const _hoisted_3$1t = { class: "option" };
|
|
32053
|
-
const _hoisted_4$
|
|
32054
|
-
const _hoisted_5$
|
|
32055
|
-
const _hoisted_6$
|
|
32063
|
+
const _hoisted_4$14 = { class: "option__label" };
|
|
32064
|
+
const _hoisted_5$P = { class: "option-container" };
|
|
32065
|
+
const _hoisted_6$D = { class: "option" };
|
|
32056
32066
|
const _hoisted_7$o = { class: "option__label" };
|
|
32057
32067
|
const _sfc_main$4Z = /* @__PURE__ */ defineComponent({
|
|
32058
32068
|
__name: "boolean-props",
|
|
@@ -32123,7 +32133,7 @@ const _sfc_main$4Z = /* @__PURE__ */ defineComponent({
|
|
|
32123
32133
|
default: withCtx(() => [
|
|
32124
32134
|
createElementVNode("div", _hoisted_2$1Y, [
|
|
32125
32135
|
createElementVNode("div", _hoisted_3$1t, [
|
|
32126
|
-
createElementVNode("span", _hoisted_4$
|
|
32136
|
+
createElementVNode("span", _hoisted_4$14, toDisplayString$1(`${_ctx.$t("sys.real")}`), 1),
|
|
32127
32137
|
createVNode(_component_a_input, {
|
|
32128
32138
|
class: "option__input",
|
|
32129
32139
|
size: "small",
|
|
@@ -32146,8 +32156,8 @@ const _sfc_main$4Z = /* @__PURE__ */ defineComponent({
|
|
|
32146
32156
|
"onUpdate:items": _cache[2] || (_cache[2] = ($event) => formState.value.trueAttachFields = $event)
|
|
32147
32157
|
}, null, 8, ["disabled", "items"])) : createCommentVNode("", true)
|
|
32148
32158
|
]),
|
|
32149
|
-
createElementVNode("div", _hoisted_5$
|
|
32150
|
-
createElementVNode("div", _hoisted_6$
|
|
32159
|
+
createElementVNode("div", _hoisted_5$P, [
|
|
32160
|
+
createElementVNode("div", _hoisted_6$D, [
|
|
32151
32161
|
createElementVNode("span", _hoisted_7$o, toDisplayString$1(`${_ctx.$t("sys.fake")}`), 1),
|
|
32152
32162
|
createVNode(_component_a_input, {
|
|
32153
32163
|
class: "option__input",
|
|
@@ -33686,7 +33696,7 @@ const DecimalDisplayMode = /* @__PURE__ */ _export_sfc(_sfc_main$4Q, [["__scopeI
|
|
|
33686
33696
|
const _hoisted_1$2I = { class: "w440px text-12px" };
|
|
33687
33697
|
const _hoisted_2$1W = { class: "font-600 text-[#1A1D23] mb8px" };
|
|
33688
33698
|
const _hoisted_3$1s = { class: "text-[#8B8B8B]" };
|
|
33689
|
-
const _hoisted_4$
|
|
33699
|
+
const _hoisted_4$13 = { class: "font-600 text-[#1A1D23] my8px" };
|
|
33690
33700
|
const _sfc_main$4P = /* @__PURE__ */ defineComponent({
|
|
33691
33701
|
__name: "decimal-props",
|
|
33692
33702
|
props: {
|
|
@@ -33903,7 +33913,7 @@ const _sfc_main$4P = /* @__PURE__ */ defineComponent({
|
|
|
33903
33913
|
createElementVNode("div", _hoisted_1$2I, [
|
|
33904
33914
|
createElementVNode("div", _hoisted_2$1W, toDisplayString$1(_ctx.$t("sys.onlineForm.interpretation")), 1),
|
|
33905
33915
|
createElementVNode("div", _hoisted_3$1s, toDisplayString$1(_ctx.$t("sys.onlineForm.rulesForRoundingOption3Tip1")), 1),
|
|
33906
|
-
createElementVNode("div", _hoisted_4$
|
|
33916
|
+
createElementVNode("div", _hoisted_4$13, toDisplayString$1(_ctx.$t("sys.onlineForm.rulesForRoundingOption3Tip2")), 1),
|
|
33907
33917
|
createVNode(_component_a_table, {
|
|
33908
33918
|
"data-source": exampleData,
|
|
33909
33919
|
pagination: false,
|
|
@@ -34592,7 +34602,7 @@ const EnumOptionItem = /* @__PURE__ */ _export_sfc(_sfc_main$4H, [["__scopeId",
|
|
|
34592
34602
|
const _hoisted_1$2E = { class: "enum-props-title" };
|
|
34593
34603
|
const _hoisted_2$1S = { class: "flex" };
|
|
34594
34604
|
const _hoisted_3$1q = { class: "ml-4px" };
|
|
34595
|
-
const _hoisted_4$
|
|
34605
|
+
const _hoisted_4$12 = { class: "ml-4px" };
|
|
34596
34606
|
const _sfc_main$4G = /* @__PURE__ */ defineComponent({
|
|
34597
34607
|
__name: "enum-props",
|
|
34598
34608
|
props: {
|
|
@@ -34785,7 +34795,7 @@ const _sfc_main$4G = /* @__PURE__ */ defineComponent({
|
|
|
34785
34795
|
onClick: addOption
|
|
34786
34796
|
}, [
|
|
34787
34797
|
createVNode(EnumAddIcon),
|
|
34788
|
-
createElementVNode("span", _hoisted_4$
|
|
34798
|
+
createElementVNode("span", _hoisted_4$12, toDisplayString$1(_ctx.$t("sys.insert")), 1)
|
|
34789
34799
|
])) : createCommentVNode("", true)
|
|
34790
34800
|
])
|
|
34791
34801
|
])
|
|
@@ -37284,8 +37294,8 @@ const matchAutofillTargetField = (fromMeta, toMeta) => {
|
|
|
37284
37294
|
const _hoisted_1$2y = { class: "px24px mt20px" };
|
|
37285
37295
|
const _hoisted_2$1M = { class: "text-[#8B8B8B]" };
|
|
37286
37296
|
const _hoisted_3$1m = { class: "atuofill-field-icon" };
|
|
37287
|
-
const _hoisted_4$
|
|
37288
|
-
const _hoisted_5$
|
|
37297
|
+
const _hoisted_4$11 = { class: "form-table-label" };
|
|
37298
|
+
const _hoisted_5$O = ["onClick"];
|
|
37289
37299
|
const _sfc_main$4u = /* @__PURE__ */ defineComponent({
|
|
37290
37300
|
__name: "autofill-rules-modal",
|
|
37291
37301
|
props: {
|
|
@@ -37650,7 +37660,7 @@ const _sfc_main$4u = /* @__PURE__ */ defineComponent({
|
|
|
37650
37660
|
}, 1024),
|
|
37651
37661
|
createVNode(_component_a_col, { span: 4 }, {
|
|
37652
37662
|
default: withCtx(() => [
|
|
37653
|
-
createElementVNode("span", _hoisted_4$
|
|
37663
|
+
createElementVNode("span", _hoisted_4$11, toDisplayString$1(unref($t2)("sys.pageDesigner.valueFillTip")), 1)
|
|
37654
37664
|
]),
|
|
37655
37665
|
_: 1
|
|
37656
37666
|
}),
|
|
@@ -37725,7 +37735,7 @@ const _sfc_main$4u = /* @__PURE__ */ defineComponent({
|
|
|
37725
37735
|
withDirectives(createElementVNode("i", {
|
|
37726
37736
|
class: "iconfont icon-shanchu2 text-[#797A7D] error-gct-hover cursor-pointer",
|
|
37727
37737
|
onClick: ($event) => removeRule(index2)
|
|
37728
|
-
}, null, 8, _hoisted_5$
|
|
37738
|
+
}, null, 8, _hoisted_5$O), [
|
|
37729
37739
|
[vShow, !__props.readonly && formState.rules.length > 1]
|
|
37730
37740
|
])
|
|
37731
37741
|
]),
|
|
@@ -46190,9 +46200,9 @@ const picJinggao = "data:image/svg+xml,%3csvg%20width='84'%20height='84'%20viewB
|
|
|
46190
46200
|
const _hoisted_1$2o = { class: "card-signer" };
|
|
46191
46201
|
const _hoisted_2$1I = { class: "card-account" };
|
|
46192
46202
|
const _hoisted_3$1l = ["aria-busy"];
|
|
46193
|
-
const _hoisted_4
|
|
46194
|
-
const _hoisted_5$
|
|
46195
|
-
const _hoisted_6$
|
|
46203
|
+
const _hoisted_4$10 = ["src"];
|
|
46204
|
+
const _hoisted_5$N = { class: "card-message" };
|
|
46205
|
+
const _hoisted_6$C = ["disabled"];
|
|
46196
46206
|
const _sfc_main$4h = /* @__PURE__ */ defineComponent({
|
|
46197
46207
|
__name: "card-signer",
|
|
46198
46208
|
props: {
|
|
@@ -46335,8 +46345,8 @@ const _sfc_main$4h = /* @__PURE__ */ defineComponent({
|
|
|
46335
46345
|
src: statusInfo.value.src,
|
|
46336
46346
|
class: normalizeClass(["card-image", { waiting: status.value === "NORMAL" }]),
|
|
46337
46347
|
alt: ""
|
|
46338
|
-
}, null, 10, _hoisted_4
|
|
46339
|
-
createElementVNode("div", _hoisted_5$
|
|
46348
|
+
}, null, 10, _hoisted_4$10),
|
|
46349
|
+
createElementVNode("div", _hoisted_5$N, toDisplayString$1(statusInfo.value.title), 1)
|
|
46340
46350
|
], 8, _hoisted_3$1l),
|
|
46341
46351
|
withDirectives(createElementVNode("input", {
|
|
46342
46352
|
ref_key: "inputRef",
|
|
@@ -46350,7 +46360,7 @@ const _sfc_main$4h = /* @__PURE__ */ defineComponent({
|
|
|
46350
46360
|
onKeydown: onCardInput,
|
|
46351
46361
|
onPaste: _cache[1] || (_cache[1] = withModifiers(() => {
|
|
46352
46362
|
}, ["prevent"]))
|
|
46353
|
-
}, null, 40, _hoisted_6$
|
|
46363
|
+
}, null, 40, _hoisted_6$C), [
|
|
46354
46364
|
[vModelText, cardNo.value]
|
|
46355
46365
|
])
|
|
46356
46366
|
]);
|
|
@@ -46380,11 +46390,11 @@ const _hoisted_3$1k = {
|
|
|
46380
46390
|
role: "alert",
|
|
46381
46391
|
class: "sign-popover-content__error"
|
|
46382
46392
|
};
|
|
46383
|
-
const _hoisted_4
|
|
46393
|
+
const _hoisted_4$$ = {
|
|
46384
46394
|
key: 0,
|
|
46385
46395
|
class: "sign-popover-content__methods"
|
|
46386
46396
|
};
|
|
46387
|
-
const _hoisted_5$
|
|
46397
|
+
const _hoisted_5$M = { class: "sign-popover-content__footer" };
|
|
46388
46398
|
const _sfc_main$4g = /* @__PURE__ */ defineComponent({
|
|
46389
46399
|
__name: "sign-popover-content",
|
|
46390
46400
|
props: {
|
|
@@ -46478,7 +46488,7 @@ const _sfc_main$4g = /* @__PURE__ */ defineComponent({
|
|
|
46478
46488
|
const _component_a_button = resolveComponent("a-button");
|
|
46479
46489
|
return openBlock(), createElementBlock("div", _hoisted_1$2n, [
|
|
46480
46490
|
configLoading.value ? (openBlock(), createElementBlock("div", _hoisted_2$1H, " 正在加载签名配置… ")) : configError.value ? (openBlock(), createElementBlock("div", _hoisted_3$1k, toDisplayString$1(configError.value), 1)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
46481
|
-
useSecurityMethods ? (openBlock(), createElementBlock("div", _hoisted_4
|
|
46491
|
+
useSecurityMethods ? (openBlock(), createElementBlock("div", _hoisted_4$$, [
|
|
46482
46492
|
_cache[4] || (_cache[4] = createElementVNode("span", null, [
|
|
46483
46493
|
createElementVNode("span", { class: "required-mark" }, "*"),
|
|
46484
46494
|
createTextVNode(" 签名方式:")
|
|
@@ -46528,7 +46538,7 @@ const _sfc_main$4g = /* @__PURE__ */ defineComponent({
|
|
|
46528
46538
|
"signature-image-direction": __props.signatureImageDirection
|
|
46529
46539
|
}, null, 8, ["sign-mode", "hidden-sign-mode", "fix-sign-mode", "get-sign-img-by-account", "upload-sign-file", "disable-user-name", "fill-user-name", "default-user-name", "enable-sign-password", "signature-image-direction"]))
|
|
46530
46540
|
], 64)),
|
|
46531
|
-
withDirectives(createElementVNode("div", _hoisted_5$
|
|
46541
|
+
withDirectives(createElementVNode("div", _hoisted_5$M, [
|
|
46532
46542
|
createVNode(_component_a_button, {
|
|
46533
46543
|
size: "small",
|
|
46534
46544
|
onClick: _cache[3] || (_cache[3] = ($event) => emit2("cancel"))
|
|
@@ -46562,9 +46572,9 @@ const SignPopoverContent = /* @__PURE__ */ _export_sfc(_sfc_main$4g, [["__scopeI
|
|
|
46562
46572
|
const _hoisted_1$2m = { class: "adaptive-warning" };
|
|
46563
46573
|
const _hoisted_2$1G = { class: "warning-title" };
|
|
46564
46574
|
const _hoisted_3$1j = { class: "warning-list" };
|
|
46565
|
-
const _hoisted_4$
|
|
46566
|
-
const _hoisted_5$
|
|
46567
|
-
const _hoisted_6$
|
|
46575
|
+
const _hoisted_4$_ = { class: "signature-format-selects" };
|
|
46576
|
+
const _hoisted_5$L = { class: "signature-select-wrapper" };
|
|
46577
|
+
const _hoisted_6$B = {
|
|
46568
46578
|
key: 4,
|
|
46569
46579
|
class: "fill-fields-area"
|
|
46570
46580
|
};
|
|
@@ -46834,7 +46844,7 @@ const _sfc_main$4f = /* @__PURE__ */ defineComponent({
|
|
|
46834
46844
|
inline: false
|
|
46835
46845
|
}, {
|
|
46836
46846
|
default: withCtx(() => [
|
|
46837
|
-
createElementVNode("div", _hoisted_4$
|
|
46847
|
+
createElementVNode("div", _hoisted_4$_, [
|
|
46838
46848
|
createVNode(_component_a_select, {
|
|
46839
46849
|
value: formState.value.signatureType,
|
|
46840
46850
|
"onUpdate:value": _cache[2] || (_cache[2] = ($event) => formState.value.signatureType = $event),
|
|
@@ -46917,7 +46927,7 @@ const _sfc_main$4f = /* @__PURE__ */ defineComponent({
|
|
|
46917
46927
|
}, {
|
|
46918
46928
|
default: withCtx(() => [
|
|
46919
46929
|
createElementVNode("div", null, [
|
|
46920
|
-
createElementVNode("div", _hoisted_5$
|
|
46930
|
+
createElementVNode("div", _hoisted_5$L, [
|
|
46921
46931
|
createElementVNode("div", {
|
|
46922
46932
|
onClick: _cache[6] || (_cache[6] = ($event) => setSignDisplayStyle(unref(SignShowTypeEnum).VERTICAL)),
|
|
46923
46933
|
class: "cursor-pointer"
|
|
@@ -46947,7 +46957,7 @@ const _sfc_main$4f = /* @__PURE__ */ defineComponent({
|
|
|
46947
46957
|
}, 8, ["label"])) : createCommentVNode("", true),
|
|
46948
46958
|
!isNewSignatureConfig.value && [unref(SignatureTypeEnum).SIGNATURE_DATE, unref(SignatureTypeEnum).SIGNATURE_DATETIME].includes(
|
|
46949
46959
|
formState.value.signatureType
|
|
46950
|
-
) && formState.value.signTimeType === unref(SignatureTimeTypeEnum).POPULATE_FIELD ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
46960
|
+
) && formState.value.signTimeType === unref(SignatureTimeTypeEnum).POPULATE_FIELD ? (openBlock(), createElementBlock("div", _hoisted_6$B, [
|
|
46951
46961
|
createVNode(AttachFieldEditor, mergeProps({
|
|
46952
46962
|
items: formState.value.populateFields,
|
|
46953
46963
|
"onUpdate:items": _cache[8] || (_cache[8] = ($event) => formState.value.populateFields = $event),
|
|
@@ -47124,9 +47134,9 @@ async function deleteCommonRegex(id) {
|
|
|
47124
47134
|
const _hoisted_1$2k = { class: "common-regex-panel__header" };
|
|
47125
47135
|
const _hoisted_2$1E = { class: "common-regex-panel__title" };
|
|
47126
47136
|
const _hoisted_3$1h = { class: "common-regex-panel__empty" };
|
|
47127
|
-
const _hoisted_4$
|
|
47128
|
-
const _hoisted_5$
|
|
47129
|
-
const _hoisted_6$
|
|
47137
|
+
const _hoisted_4$Z = { class: "common-regex-panel__empty-tip" };
|
|
47138
|
+
const _hoisted_5$K = { class: "common-regex-panel__header has-border" };
|
|
47139
|
+
const _hoisted_6$A = { class: "common-regex-panel__title" };
|
|
47130
47140
|
const _hoisted_7$m = { class: "common-regex-panel__list" };
|
|
47131
47141
|
const _hoisted_8$i = { class: "common-regex-panel__item-main" };
|
|
47132
47142
|
const _hoisted_9$d = ["title"];
|
|
@@ -47323,7 +47333,7 @@ const _sfc_main$4d = /* @__PURE__ */ defineComponent({
|
|
|
47323
47333
|
]),
|
|
47324
47334
|
createElementVNode("div", _hoisted_3$1h, [
|
|
47325
47335
|
_cache[7] || (_cache[7] = createElementVNode("i", { class: "iconfont icon-changyongzhengzequesheng common-regex-panel__empty-icon" }, null, -1)),
|
|
47326
|
-
createElementVNode("div", _hoisted_4$
|
|
47336
|
+
createElementVNode("div", _hoisted_4$Z, toDisplayString$1(_ctx.$t("sys.regexEditor.noCommon")), 1),
|
|
47327
47337
|
createVNode(_component_a_button, {
|
|
47328
47338
|
type: "primary",
|
|
47329
47339
|
size: "small",
|
|
@@ -47337,8 +47347,8 @@ const _sfc_main$4d = /* @__PURE__ */ defineComponent({
|
|
|
47337
47347
|
})
|
|
47338
47348
|
])
|
|
47339
47349
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
47340
|
-
createElementVNode("div", _hoisted_5$
|
|
47341
|
-
createElementVNode("span", _hoisted_6$
|
|
47350
|
+
createElementVNode("div", _hoisted_5$K, [
|
|
47351
|
+
createElementVNode("span", _hoisted_6$A, toDisplayString$1(_ctx.$t("sys.regexEditor.commonReg")), 1),
|
|
47342
47352
|
createElementVNode("button", {
|
|
47343
47353
|
class: "common-regex-panel__add",
|
|
47344
47354
|
type: "button",
|
|
@@ -47469,9 +47479,9 @@ const CommonRegexPanel = /* @__PURE__ */ _export_sfc(_sfc_main$4d, [["__scopeId"
|
|
|
47469
47479
|
const _hoisted_1$2j = { class: "regex-editor-modal" };
|
|
47470
47480
|
const _hoisted_2$1D = { class: "regex-editor-modal__item" };
|
|
47471
47481
|
const _hoisted_3$1g = { class: "regex-editor-modal__label" };
|
|
47472
|
-
const _hoisted_4$
|
|
47473
|
-
const _hoisted_5$
|
|
47474
|
-
const _hoisted_6$
|
|
47482
|
+
const _hoisted_4$Y = { class: "regex-editor-modal__regex-row" };
|
|
47483
|
+
const _hoisted_5$J = { class: "regex-editor-modal__regex-main" };
|
|
47484
|
+
const _hoisted_6$z = {
|
|
47475
47485
|
key: 0,
|
|
47476
47486
|
class: "error"
|
|
47477
47487
|
};
|
|
@@ -47619,8 +47629,8 @@ const _sfc_main$4c = /* @__PURE__ */ defineComponent({
|
|
|
47619
47629
|
createElementVNode("div", _hoisted_1$2j, [
|
|
47620
47630
|
createElementVNode("div", _hoisted_2$1D, [
|
|
47621
47631
|
createElementVNode("div", _hoisted_3$1g, toDisplayString$1(_ctx.$t("sys.regexEditor.regex")), 1),
|
|
47622
|
-
createElementVNode("div", _hoisted_4$
|
|
47623
|
-
createElementVNode("div", _hoisted_5$
|
|
47632
|
+
createElementVNode("div", _hoisted_4$Y, [
|
|
47633
|
+
createElementVNode("div", _hoisted_5$J, [
|
|
47624
47634
|
createElementVNode("div", {
|
|
47625
47635
|
class: normalizeClass({ "ant-form-item-has-error": !!errors.regex })
|
|
47626
47636
|
}, [
|
|
@@ -47636,7 +47646,7 @@ const _sfc_main$4c = /* @__PURE__ */ defineComponent({
|
|
|
47636
47646
|
onBlur: _cache[2] || (_cache[2] = ($event) => validateField("regex"))
|
|
47637
47647
|
}, null, 8, ["value", "placeholder", "disabled"])
|
|
47638
47648
|
], 2),
|
|
47639
|
-
errors.regex ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
47649
|
+
errors.regex ? (openBlock(), createElementBlock("div", _hoisted_6$z, toDisplayString$1(errors.regex), 1)) : createCommentVNode("", true),
|
|
47640
47650
|
commonList.value.length && !__props.readonly ? (openBlock(), createElementBlock("div", _hoisted_7$l, [
|
|
47641
47651
|
(openBlock(true), createElementBlock(Fragment, null, renderList(commonList.value, (item) => {
|
|
47642
47652
|
return openBlock(), createBlock(_component_a_tooltip, {
|
|
@@ -51699,7 +51709,7 @@ function useFormulaEditor(props2) {
|
|
|
51699
51709
|
const _hoisted_1$27 = { class: "ks-row-middle pt5px mb10px" };
|
|
51700
51710
|
const _hoisted_2$1x = { class: "inline-block icon-wrap mr-5px" };
|
|
51701
51711
|
const _hoisted_3$1d = { class: "text-[#C3C3C3] text-12px" };
|
|
51702
|
-
const _hoisted_4$
|
|
51712
|
+
const _hoisted_4$X = {
|
|
51703
51713
|
key: 0,
|
|
51704
51714
|
class: "info-tip"
|
|
51705
51715
|
};
|
|
@@ -51969,7 +51979,7 @@ const _sfc_main$3w = /* @__PURE__ */ defineComponent({
|
|
|
51969
51979
|
]),
|
|
51970
51980
|
_: 1
|
|
51971
51981
|
}, 8, ["value", "disabled"]),
|
|
51972
|
-
strategyTipKey.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
51982
|
+
strategyTipKey.value ? (openBlock(), createElementBlock("div", _hoisted_4$X, toDisplayString$1(_ctx.$t("sys.pageDesigner." + strategyTipKey.value)), 1)) : createCommentVNode("", true)
|
|
51973
51983
|
]),
|
|
51974
51984
|
_: 1
|
|
51975
51985
|
}, 8, ["label"])) : createCommentVNode("", true)
|
|
@@ -51984,12 +51994,12 @@ const addDependencyModal = /* @__PURE__ */ _export_sfc(_sfc_main$3w, [["__scopeI
|
|
|
51984
51994
|
const _hoisted_1$26 = { class: "text-[#C3C3C3] text-12px mb8px" };
|
|
51985
51995
|
const _hoisted_2$1w = { class: "ks-row" };
|
|
51986
51996
|
const _hoisted_3$1c = { class: "mr-auto" };
|
|
51987
|
-
const _hoisted_4$
|
|
51988
|
-
const _hoisted_5$
|
|
51997
|
+
const _hoisted_4$W = { class: "text-[#212528] text-[400]" };
|
|
51998
|
+
const _hoisted_5$I = {
|
|
51989
51999
|
key: 0,
|
|
51990
52000
|
class: "ml5px text-[#c3c3c3]"
|
|
51991
52001
|
};
|
|
51992
|
-
const _hoisted_6$
|
|
52002
|
+
const _hoisted_6$y = ["onClick"];
|
|
51993
52003
|
const _hoisted_7$k = { class: "text-[#797A7D] bg-[#fff] p-4px mt-2px ell h26px" };
|
|
51994
52004
|
const _sfc_main$3v = /* @__PURE__ */ defineComponent({
|
|
51995
52005
|
__name: "cell-widget-dependency",
|
|
@@ -52135,8 +52145,8 @@ const _sfc_main$3v = /* @__PURE__ */ defineComponent({
|
|
|
52135
52145
|
}, [
|
|
52136
52146
|
createElementVNode("div", _hoisted_2$1w, [
|
|
52137
52147
|
createElementVNode("div", _hoisted_3$1c, [
|
|
52138
|
-
createElementVNode("span", _hoisted_4$
|
|
52139
|
-
item === unref(Dependency_ENUM).ASSIGNMENT ? (openBlock(), createElementBlock("span", _hoisted_5$
|
|
52148
|
+
createElementVNode("span", _hoisted_4$W, toDisplayString$1(_ctx.$t("sys.pageDesigner." + item)), 1),
|
|
52149
|
+
item === unref(Dependency_ENUM).ASSIGNMENT ? (openBlock(), createElementBlock("span", _hoisted_5$I, [
|
|
52140
52150
|
createTextVNode(toDisplayString$1(_ctx.$t("sys.pageDesigner.formulaCalculation")) + " ", 1),
|
|
52141
52151
|
configDependency.value[item]?.strategy ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
52142
52152
|
createTextVNode(" · " + toDisplayString$1(_ctx.$t("sys.pageDesigner." + configDependency.value[item].strategy)), 1)
|
|
@@ -52151,7 +52161,7 @@ const _sfc_main$3v = /* @__PURE__ */ defineComponent({
|
|
|
52151
52161
|
createElementVNode("i", {
|
|
52152
52162
|
class: "iconfont icon-bianji cursor-pointer ml8px primary-gct-hover text-[#797A7D] allow-readonly-view",
|
|
52153
52163
|
onClick: ($event) => editList(item, index2)
|
|
52154
|
-
}, null, 8, _hoisted_6$
|
|
52164
|
+
}, null, 8, _hoisted_6$y)
|
|
52155
52165
|
]),
|
|
52156
52166
|
_: 2
|
|
52157
52167
|
}, 1024),
|
|
@@ -52736,7 +52746,7 @@ const _sfc_main$3p = /* @__PURE__ */ defineComponent({
|
|
|
52736
52746
|
}
|
|
52737
52747
|
});
|
|
52738
52748
|
function asyncImportWidgetProp() {
|
|
52739
|
-
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-
|
|
52749
|
+
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-CK68yjvd.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-9F-6feRM.js"), "./widget-image.vue": () => import("./widget-image-2GcRCaIf.js"), "./widget-line.vue": () => import("./widget-line-flwy9kew.js"), "./widget-pagination.vue": () => import("./widget-pagination-pxpEH1UB.js"), "./widget-power.vue": () => import("./widget-power-pFQ7lwCW.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-D_Ri0RG2.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-DB97heRc.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-I35Sov0R.js"), "./widget-text.vue": () => import("./widget-text-C93W0WWM.js"), "./widget-timediff.vue": () => import("./widget-timediff-S4X81H7c.js") });
|
|
52740
52750
|
const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
|
|
52741
52751
|
const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
|
|
52742
52752
|
if (mKey) {
|
|
@@ -52992,7 +53002,7 @@ const PanelCellDrop = /* @__PURE__ */ _export_sfc(_sfc_main$3m, [["__scopeId", "
|
|
|
52992
53002
|
const _hoisted_1$1$ = { class: "panel-cell" };
|
|
52993
53003
|
const _hoisted_2$1s = { class: "pl-4px font-500" };
|
|
52994
53004
|
const _hoisted_3$1a = { class: "flex justify-end" };
|
|
52995
|
-
const _hoisted_4$
|
|
53005
|
+
const _hoisted_4$V = { class: "spacer-width-setting" };
|
|
52996
53006
|
const _sfc_main$3l = /* @__PURE__ */ defineComponent({
|
|
52997
53007
|
__name: "panel-cell",
|
|
52998
53008
|
setup(__props) {
|
|
@@ -53176,7 +53186,7 @@ const _sfc_main$3l = /* @__PURE__ */ defineComponent({
|
|
|
53176
53186
|
header: _ctx.$t("sys.onlineForm.componentProperties")
|
|
53177
53187
|
}, {
|
|
53178
53188
|
default: withCtx(() => [
|
|
53179
|
-
createElementVNode("div", _hoisted_4$
|
|
53189
|
+
createElementVNode("div", _hoisted_4$V, [
|
|
53180
53190
|
createVNode(FormItem, {
|
|
53181
53191
|
label: _ctx.$t("sys.width")
|
|
53182
53192
|
}, {
|
|
@@ -53700,9 +53710,9 @@ const PaddingSetting = /* @__PURE__ */ _export_sfc(_sfc_main$3g, [["__scopeId",
|
|
|
53700
53710
|
const _hoisted_1$1X = { class: "dynamic-table__header mb-4px" };
|
|
53701
53711
|
const _hoisted_2$1o = ["onClick"];
|
|
53702
53712
|
const _hoisted_3$18 = { class: "dynamic-table__body" };
|
|
53703
|
-
const _hoisted_4$
|
|
53704
|
-
const _hoisted_5$
|
|
53705
|
-
const _hoisted_6$
|
|
53713
|
+
const _hoisted_4$U = ["onClick"];
|
|
53714
|
+
const _hoisted_5$H = ["onClick"];
|
|
53715
|
+
const _hoisted_6$x = {
|
|
53706
53716
|
key: 0,
|
|
53707
53717
|
class: "flex justify-center color-[#bebdc7]"
|
|
53708
53718
|
};
|
|
@@ -53753,16 +53763,16 @@ const _sfc_main$3f = /* @__PURE__ */ defineComponent({
|
|
|
53753
53763
|
type: panelType.value,
|
|
53754
53764
|
refId: item.id
|
|
53755
53765
|
})
|
|
53756
|
-
}, toDisplayString$1(item.name), 9, _hoisted_4$
|
|
53766
|
+
}, toDisplayString$1(item.name), 9, _hoisted_4$U),
|
|
53757
53767
|
!unref(sheetReadonly2) ? (openBlock(), createElementBlock("i", {
|
|
53758
53768
|
key: 0,
|
|
53759
53769
|
class: "iconfont icon-shanchu2",
|
|
53760
53770
|
onClick: withModifiers(() => unref(removeSubTable)(item), ["stop"])
|
|
53761
|
-
}, null, 8, _hoisted_5$
|
|
53771
|
+
}, null, 8, _hoisted_5$H)) : createCommentVNode("", true)
|
|
53762
53772
|
])
|
|
53763
53773
|
]);
|
|
53764
53774
|
}), 128)),
|
|
53765
|
-
!__props.tables.length ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
53775
|
+
!__props.tables.length ? (openBlock(), createElementBlock("div", _hoisted_6$x, toDisplayString$1(_ctx.$t("sys.onlineForm.notSetYet")) + toDisplayString$1(_ctx.$t("sys.onlineForm.subTableType." + __props.type)), 1)) : createCommentVNode("", true)
|
|
53766
53776
|
]),
|
|
53767
53777
|
_: 1
|
|
53768
53778
|
}, 8, ["label"])) : createCommentVNode("", true);
|
|
@@ -53865,9 +53875,9 @@ const _hoisted_1$1V = {
|
|
|
53865
53875
|
};
|
|
53866
53876
|
const _hoisted_2$1n = { class: "rules-item rules-item-title" };
|
|
53867
53877
|
const _hoisted_3$17 = { class: "title left" };
|
|
53868
|
-
const _hoisted_4$
|
|
53869
|
-
const _hoisted_5$
|
|
53870
|
-
const _hoisted_6$
|
|
53878
|
+
const _hoisted_4$T = { class: "title right" };
|
|
53879
|
+
const _hoisted_5$G = { class: "rules-item-value" };
|
|
53880
|
+
const _hoisted_6$w = { class: "rules-item-middle" };
|
|
53871
53881
|
const _hoisted_7$j = { class: "rules-item-value" };
|
|
53872
53882
|
const _hoisted_8$g = {
|
|
53873
53883
|
key: 0,
|
|
@@ -53999,7 +54009,7 @@ const _sfc_main$3d = /* @__PURE__ */ defineComponent({
|
|
|
53999
54009
|
formState.value.configList?.length ? (openBlock(), createElementBlock("div", _hoisted_1$1V, [
|
|
54000
54010
|
createElementVNode("div", _hoisted_2$1n, [
|
|
54001
54011
|
createElementVNode("div", _hoisted_3$17, toDisplayString$1(_ctx.$t("sys.edhr.mainSignature")), 1),
|
|
54002
|
-
createElementVNode("div", _hoisted_4$
|
|
54012
|
+
createElementVNode("div", _hoisted_4$T, [
|
|
54003
54013
|
createTextVNode(toDisplayString$1(_ctx.$t("sys.edhr.mutexSignature")) + " ", 1),
|
|
54004
54014
|
createVNode(_component_a_tooltip, { placement: "top" }, {
|
|
54005
54015
|
title: withCtx(() => [
|
|
@@ -54017,7 +54027,7 @@ const _sfc_main$3d = /* @__PURE__ */ defineComponent({
|
|
|
54017
54027
|
key: i,
|
|
54018
54028
|
class: "rules-item"
|
|
54019
54029
|
}, [
|
|
54020
|
-
createElementVNode("div", _hoisted_5$
|
|
54030
|
+
createElementVNode("div", _hoisted_5$G, [
|
|
54021
54031
|
createVNode(_component_a_form_item, {
|
|
54022
54032
|
name: ["configList", i, "main", "key"],
|
|
54023
54033
|
rules: __props.readonly ? [] : [{ required: true, message: _ctx.$t("sys.chooseText") }]
|
|
@@ -54035,7 +54045,7 @@ const _sfc_main$3d = /* @__PURE__ */ defineComponent({
|
|
|
54035
54045
|
_: 2
|
|
54036
54046
|
}, 1032, ["name", "rules"])
|
|
54037
54047
|
]),
|
|
54038
|
-
createElementVNode("div", _hoisted_6$
|
|
54048
|
+
createElementVNode("div", _hoisted_6$w, toDisplayString$1(_ctx.$t("sys.edhr.mutualExclusion")), 1),
|
|
54039
54049
|
createElementVNode("div", _hoisted_7$j, [
|
|
54040
54050
|
createVNode(_component_a_form_item, {
|
|
54041
54051
|
name: ["configList", i, "checkIds"],
|
|
@@ -54102,9 +54112,9 @@ async function openConfigModal(value, readonly = false) {
|
|
|
54102
54112
|
const _hoisted_1$1U = { class: "panel-document" };
|
|
54103
54113
|
const _hoisted_2$1m = { class: "pl-12px pr-12px pt-20px pb-20px" };
|
|
54104
54114
|
const _hoisted_3$16 = { class: "color-[#212528] text-12px lh-[18px]" };
|
|
54105
|
-
const _hoisted_4$
|
|
54106
|
-
const _hoisted_5$
|
|
54107
|
-
const _hoisted_6$
|
|
54115
|
+
const _hoisted_4$S = { class: "color-[#212528] text-12px lh-[18px]" };
|
|
54116
|
+
const _hoisted_5$F = { class: "flex justify-end" };
|
|
54117
|
+
const _hoisted_6$v = { class: "flex justify-end" };
|
|
54108
54118
|
const _hoisted_7$i = {
|
|
54109
54119
|
key: 0,
|
|
54110
54120
|
class: "dynamic-table"
|
|
@@ -54238,7 +54248,7 @@ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
|
|
|
54238
54248
|
inline: false
|
|
54239
54249
|
}, {
|
|
54240
54250
|
default: withCtx(() => [
|
|
54241
|
-
createElementVNode("span", _hoisted_4$
|
|
54251
|
+
createElementVNode("span", _hoisted_4$S, toDisplayString$1(unref(doc2).modelName), 1)
|
|
54242
54252
|
]),
|
|
54243
54253
|
_: 1
|
|
54244
54254
|
}, 8, ["label"])
|
|
@@ -54395,7 +54405,7 @@ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
|
|
|
54395
54405
|
class: "justify-between"
|
|
54396
54406
|
}, {
|
|
54397
54407
|
default: withCtx(() => [
|
|
54398
|
-
createElementVNode("div", _hoisted_5$
|
|
54408
|
+
createElementVNode("div", _hoisted_5$F, [
|
|
54399
54409
|
createVNode(_component_a_switch, {
|
|
54400
54410
|
size: "small",
|
|
54401
54411
|
disabled: unref(sheetReadonly2),
|
|
@@ -54411,7 +54421,7 @@ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
|
|
|
54411
54421
|
class: "justify-between"
|
|
54412
54422
|
}, {
|
|
54413
54423
|
default: withCtx(() => [
|
|
54414
|
-
createElementVNode("div", _hoisted_6$
|
|
54424
|
+
createElementVNode("div", _hoisted_6$v, [
|
|
54415
54425
|
createVNode(_component_a_switch, {
|
|
54416
54426
|
size: "small",
|
|
54417
54427
|
disabled: unref(sheetReadonly2),
|
|
@@ -54559,7 +54569,7 @@ const PanelPaper = /* @__PURE__ */ _export_sfc(_sfc_main$3c, [["__scopeId", "dat
|
|
|
54559
54569
|
const _hoisted_1$1T = { class: "p-12px" };
|
|
54560
54570
|
const _hoisted_2$1l = { class: "text-12px font-500" };
|
|
54561
54571
|
const _hoisted_3$15 = { class: "color-[#212528] text-12px pl-6px" };
|
|
54562
|
-
const _hoisted_4$
|
|
54572
|
+
const _hoisted_4$R = { class: "mt-12px" };
|
|
54563
54573
|
const _sfc_main$3b = /* @__PURE__ */ defineComponent({
|
|
54564
54574
|
__name: "panel-paper-widget",
|
|
54565
54575
|
props: {
|
|
@@ -54595,7 +54605,7 @@ const _sfc_main$3b = /* @__PURE__ */ defineComponent({
|
|
|
54595
54605
|
]),
|
|
54596
54606
|
_: 1
|
|
54597
54607
|
}, 8, ["label"]),
|
|
54598
|
-
createElementVNode("div", _hoisted_4$
|
|
54608
|
+
createElementVNode("div", _hoisted_4$R, [
|
|
54599
54609
|
widgetConfig.value ? (openBlock(), createBlock(resolveDynamicComponent(unref(widgetPropMap)[widgetConfig.value.type]), {
|
|
54600
54610
|
key: 0,
|
|
54601
54611
|
widget: widgetConfig.value,
|
|
@@ -54609,9 +54619,9 @@ const _sfc_main$3b = /* @__PURE__ */ defineComponent({
|
|
|
54609
54619
|
const _hoisted_1$1S = { class: "p-12px h-full flex flex-col" };
|
|
54610
54620
|
const _hoisted_2$1k = { class: "text-12px font-500 flex-none" };
|
|
54611
54621
|
const _hoisted_3$14 = ["id"];
|
|
54612
|
-
const _hoisted_4$
|
|
54613
|
-
const _hoisted_5$
|
|
54614
|
-
const _hoisted_6$
|
|
54622
|
+
const _hoisted_4$Q = { key: 0 };
|
|
54623
|
+
const _hoisted_5$E = ["onMouseenter"];
|
|
54624
|
+
const _hoisted_6$u = ["onClick"];
|
|
54615
54625
|
const _hoisted_7$h = ["onClick"];
|
|
54616
54626
|
const _sfc_main$3a = /* @__PURE__ */ defineComponent({
|
|
54617
54627
|
__name: "panel-paper-widget-group",
|
|
@@ -54696,7 +54706,7 @@ const _sfc_main$3a = /* @__PURE__ */ defineComponent({
|
|
|
54696
54706
|
(...args) => unref(handleDrop) && unref(handleDrop)(...args)),
|
|
54697
54707
|
class: "drop-box__widget mt-12px flex-1"
|
|
54698
54708
|
}, [
|
|
54699
|
-
!unref(sheetReadonly2) ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
54709
|
+
!unref(sheetReadonly2) ? (openBlock(), createElementBlock("span", _hoisted_4$Q, toDisplayString$1(_ctx.$t("sys.onlineForm.dragComponentToThisArea")), 1)) : createCommentVNode("", true),
|
|
54700
54710
|
createElementVNode("div", null, [
|
|
54701
54711
|
(openBlock(true), createElementBlock(Fragment, null, renderList(widgetList.value, (widget2) => {
|
|
54702
54712
|
return openBlock(), createElementBlock("div", {
|
|
@@ -54714,13 +54724,13 @@ const _sfc_main$3a = /* @__PURE__ */ defineComponent({
|
|
|
54714
54724
|
class: normalizeClass(["iconfont", widget2.icon])
|
|
54715
54725
|
}, null, 2),
|
|
54716
54726
|
createElementVNode("span", null, toDisplayString$1(widget2.name), 1)
|
|
54717
|
-
], 8, _hoisted_6$
|
|
54727
|
+
], 8, _hoisted_6$u),
|
|
54718
54728
|
!unref(sheetReadonly2) ? (openBlock(), createElementBlock("i", {
|
|
54719
54729
|
key: 0,
|
|
54720
54730
|
class: "iconfont icon-shanchu2",
|
|
54721
54731
|
onClick: withModifiers(($event) => handleRemovePaperWidget(widget2.id), ["stop"])
|
|
54722
54732
|
}, null, 8, _hoisted_7$h)) : createCommentVNode("", true)
|
|
54723
|
-
], 42, _hoisted_5$
|
|
54733
|
+
], 42, _hoisted_5$E);
|
|
54724
54734
|
}), 128))
|
|
54725
54735
|
])
|
|
54726
54736
|
], 40, _hoisted_3$14)
|
|
@@ -54774,9 +54784,9 @@ const QuickFillConfig = /* @__PURE__ */ _export_sfc(_sfc_main$39, [["__scopeId",
|
|
|
54774
54784
|
const _hoisted_1$1Q = { class: "panel-fixed-table" };
|
|
54775
54785
|
const _hoisted_2$1i = { class: "readonly-text" };
|
|
54776
54786
|
const _hoisted_3$13 = { class: "readonly-text" };
|
|
54777
|
-
const _hoisted_4$
|
|
54778
|
-
const _hoisted_5$
|
|
54779
|
-
const _hoisted_6$
|
|
54787
|
+
const _hoisted_4$P = { class: "readonly-text" };
|
|
54788
|
+
const _hoisted_5$D = { class: "readonly-text" };
|
|
54789
|
+
const _hoisted_6$t = { class: "readonly-text" };
|
|
54780
54790
|
const _hoisted_7$g = { class: "mt-12px text-12px color-[#252525]" };
|
|
54781
54791
|
const _hoisted_8$e = { class: "color-[#3168EC]" };
|
|
54782
54792
|
const _hoisted_9$9 = { class: "config-tip" };
|
|
@@ -54956,7 +54966,7 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
|
|
|
54956
54966
|
label: _ctx.$t("sys.onlineForm.modelOfFixedTable")
|
|
54957
54967
|
}, {
|
|
54958
54968
|
default: withCtx(() => [
|
|
54959
|
-
createElementVNode("span", _hoisted_4$
|
|
54969
|
+
createElementVNode("span", _hoisted_4$P, toDisplayString$1(modelName.value), 1)
|
|
54960
54970
|
]),
|
|
54961
54971
|
_: 1
|
|
54962
54972
|
}, 8, ["label"]),
|
|
@@ -54968,7 +54978,7 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
|
|
|
54968
54978
|
label: _ctx.$t("sys.onlineForm.numberOfRows")
|
|
54969
54979
|
}, {
|
|
54970
54980
|
default: withCtx(() => [
|
|
54971
|
-
createElementVNode("span", _hoisted_5$
|
|
54981
|
+
createElementVNode("span", _hoisted_5$D, toDisplayString$1(rowCount.value), 1)
|
|
54972
54982
|
]),
|
|
54973
54983
|
_: 1
|
|
54974
54984
|
}, 8, ["label"])
|
|
@@ -54981,7 +54991,7 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
|
|
|
54981
54991
|
label: _ctx.$t("sys.onlineForm.numberOfColumns")
|
|
54982
54992
|
}, {
|
|
54983
54993
|
default: withCtx(() => [
|
|
54984
|
-
createElementVNode("span", _hoisted_6$
|
|
54994
|
+
createElementVNode("span", _hoisted_6$t, toDisplayString$1(colCount.value), 1)
|
|
54985
54995
|
]),
|
|
54986
54996
|
_: 1
|
|
54987
54997
|
}, 8, ["label"])
|
|
@@ -55086,8 +55096,8 @@ const PanelFixedTable = /* @__PURE__ */ _export_sfc(_sfc_main$38, [["__scopeId",
|
|
|
55086
55096
|
const _hoisted_1$1P = { class: "p-16px" };
|
|
55087
55097
|
const _hoisted_2$1h = { class: "flex" };
|
|
55088
55098
|
const _hoisted_3$12 = { class: "section-title" };
|
|
55089
|
-
const _hoisted_4$
|
|
55090
|
-
const _hoisted_5$
|
|
55099
|
+
const _hoisted_4$O = { class: "ml-16px" };
|
|
55100
|
+
const _hoisted_5$C = { class: "section-title" };
|
|
55091
55101
|
const _sfc_main$37 = /* @__PURE__ */ defineComponent({
|
|
55092
55102
|
__name: "select-modal",
|
|
55093
55103
|
props: {
|
|
@@ -55311,8 +55321,8 @@ const _sfc_main$37 = /* @__PURE__ */ defineComponent({
|
|
|
55311
55321
|
ref: "tableContainerRef"
|
|
55312
55322
|
}, null, 8, ["row-selection", "columns", "data-source", "loading"])
|
|
55313
55323
|
]),
|
|
55314
|
-
createElementVNode("div", _hoisted_4$
|
|
55315
|
-
createElementVNode("div", _hoisted_5$
|
|
55324
|
+
createElementVNode("div", _hoisted_4$O, [
|
|
55325
|
+
createElementVNode("div", _hoisted_5$C, toDisplayString$1(_ctx.$t("sys.appDesigner.newViewField.selectedArea")), 1),
|
|
55316
55326
|
createVNode(_component_a_table, {
|
|
55317
55327
|
"row-key": "id_",
|
|
55318
55328
|
columns: selectedColumns,
|
|
@@ -55906,8 +55916,8 @@ const _hoisted_3$11 = {
|
|
|
55906
55916
|
key: 0,
|
|
55907
55917
|
class: /* @__PURE__ */ normalizeClass(["right-list__list"])
|
|
55908
55918
|
};
|
|
55909
|
-
const _hoisted_4$
|
|
55910
|
-
const _hoisted_5$
|
|
55919
|
+
const _hoisted_4$N = ["title"];
|
|
55920
|
+
const _hoisted_5$B = {
|
|
55911
55921
|
key: 1,
|
|
55912
55922
|
class: /* @__PURE__ */ normalizeClass(["right-list__empty"])
|
|
55913
55923
|
};
|
|
@@ -55951,14 +55961,14 @@ const _sfc_main$35 = /* @__PURE__ */ defineComponent({
|
|
|
55951
55961
|
createElementVNode("div", {
|
|
55952
55962
|
class: normalizeClass(["right-list__item-text"]),
|
|
55953
55963
|
title: getItemText(item)
|
|
55954
|
-
}, toDisplayString$1(getItemText(item)), 9, _hoisted_4$
|
|
55964
|
+
}, toDisplayString$1(getItemText(item)), 9, _hoisted_4$N),
|
|
55955
55965
|
createVNode(unref(CloseOutlined), {
|
|
55956
55966
|
class: normalizeClass(["right-list__item-icon"]),
|
|
55957
55967
|
onClick: ($event) => emit2("delete", item, i)
|
|
55958
55968
|
}, null, 8, ["onClick"])
|
|
55959
55969
|
]);
|
|
55960
55970
|
}), 128))
|
|
55961
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_5$
|
|
55971
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_5$B, [
|
|
55962
55972
|
createVNode(_component_a_empty, {
|
|
55963
55973
|
class: "empty-data",
|
|
55964
55974
|
description: "未选择检验项目",
|
|
@@ -56251,7 +56261,7 @@ const AddDsBtn = /* @__PURE__ */ _export_sfc(_sfc_main$33, [["__scopeId", "data-
|
|
|
56251
56261
|
const _hoisted_1$1L = { class: "panel-check-table panel-document" };
|
|
56252
56262
|
const _hoisted_2$1d = { class: "pl-12px pr-12px pt-20px pb-20px" };
|
|
56253
56263
|
const _hoisted_3$$ = { class: "color-[#212528] text-12px lh-[18px]" };
|
|
56254
|
-
const _hoisted_4$
|
|
56264
|
+
const _hoisted_4$M = { class: "color-[#212528] text-12px lh-[18px]" };
|
|
56255
56265
|
const _sfc_main$32 = /* @__PURE__ */ defineComponent({
|
|
56256
56266
|
__name: "panel-check-table",
|
|
56257
56267
|
setup(__props) {
|
|
@@ -56348,7 +56358,7 @@ const _sfc_main$32 = /* @__PURE__ */ defineComponent({
|
|
|
56348
56358
|
inline: false
|
|
56349
56359
|
}, {
|
|
56350
56360
|
default: withCtx(() => [
|
|
56351
|
-
createElementVNode("span", _hoisted_4$
|
|
56361
|
+
createElementVNode("span", _hoisted_4$M, toDisplayString$1(modelName.value), 1)
|
|
56352
56362
|
]),
|
|
56353
56363
|
_: 1
|
|
56354
56364
|
}, 8, ["label"])
|
|
@@ -56420,9 +56430,9 @@ const PanelCheckTable = /* @__PURE__ */ _export_sfc(_sfc_main$32, [["__scopeId",
|
|
|
56420
56430
|
const _hoisted_1$1K = { class: "panel-data-group" };
|
|
56421
56431
|
const _hoisted_2$1c = { class: "readonly-text" };
|
|
56422
56432
|
const _hoisted_3$_ = { class: "readonly-text" };
|
|
56423
|
-
const _hoisted_4$
|
|
56424
|
-
const _hoisted_5$
|
|
56425
|
-
const _hoisted_6$
|
|
56433
|
+
const _hoisted_4$L = { class: "flex justify-end" };
|
|
56434
|
+
const _hoisted_5$A = { class: "readonly-text" };
|
|
56435
|
+
const _hoisted_6$s = { class: "readonly-text" };
|
|
56426
56436
|
const _sfc_main$31 = /* @__PURE__ */ defineComponent({
|
|
56427
56437
|
__name: "panel-data-group",
|
|
56428
56438
|
setup(__props) {
|
|
@@ -56511,7 +56521,7 @@ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
|
|
|
56511
56521
|
createElementVNode("span", _hoisted_3$_, "(" + toDisplayString$1(_ctx.$t("sys.onlineForm.fillFixedTable")) + ")", 1)
|
|
56512
56522
|
]),
|
|
56513
56523
|
default: withCtx(() => [
|
|
56514
|
-
createElementVNode("div", _hoisted_4$
|
|
56524
|
+
createElementVNode("div", _hoisted_4$L, [
|
|
56515
56525
|
createVNode(_component_a_switch, {
|
|
56516
56526
|
size: "small",
|
|
56517
56527
|
disabled: unref(sheetReadonly2),
|
|
@@ -56552,7 +56562,7 @@ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
|
|
|
56552
56562
|
label: _ctx.$t("sys.onlineForm.numberOfRows")
|
|
56553
56563
|
}, {
|
|
56554
56564
|
default: withCtx(() => [
|
|
56555
|
-
createElementVNode("span", _hoisted_5$
|
|
56565
|
+
createElementVNode("span", _hoisted_5$A, toDisplayString$1(rowCount.value), 1)
|
|
56556
56566
|
]),
|
|
56557
56567
|
_: 1
|
|
56558
56568
|
}, 8, ["label"])
|
|
@@ -56565,7 +56575,7 @@ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
|
|
|
56565
56575
|
label: _ctx.$t("sys.onlineForm.numberOfColumns")
|
|
56566
56576
|
}, {
|
|
56567
56577
|
default: withCtx(() => [
|
|
56568
|
-
createElementVNode("span", _hoisted_6$
|
|
56578
|
+
createElementVNode("span", _hoisted_6$s, toDisplayString$1(colCount.value), 1)
|
|
56569
56579
|
]),
|
|
56570
56580
|
_: 1
|
|
56571
56581
|
}, 8, ["label"])
|
|
@@ -56610,9 +56620,9 @@ const PanelDataGroup = /* @__PURE__ */ _export_sfc(_sfc_main$31, [["__scopeId",
|
|
|
56610
56620
|
const _hoisted_1$1J = { class: "panel-data-group" };
|
|
56611
56621
|
const _hoisted_2$1b = { class: "readonly-text" };
|
|
56612
56622
|
const _hoisted_3$Z = { class: "readonly-text" };
|
|
56613
|
-
const _hoisted_4$
|
|
56614
|
-
const _hoisted_5$
|
|
56615
|
-
const _hoisted_6$
|
|
56623
|
+
const _hoisted_4$K = { class: "flex justify-end" };
|
|
56624
|
+
const _hoisted_5$z = { class: "readonly-text" };
|
|
56625
|
+
const _hoisted_6$r = { class: "readonly-text" };
|
|
56616
56626
|
const _sfc_main$30 = /* @__PURE__ */ defineComponent({
|
|
56617
56627
|
__name: "panel-data-group-2d",
|
|
56618
56628
|
setup(__props) {
|
|
@@ -56717,7 +56727,7 @@ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
|
|
|
56717
56727
|
createElementVNode("span", _hoisted_3$Z, "(" + toDisplayString$1(_ctx.$t("sys.onlineForm.fillDynamicTable")) + ")", 1)
|
|
56718
56728
|
]),
|
|
56719
56729
|
default: withCtx(() => [
|
|
56720
|
-
createElementVNode("div", _hoisted_4$
|
|
56730
|
+
createElementVNode("div", _hoisted_4$K, [
|
|
56721
56731
|
createVNode(_component_a_switch, {
|
|
56722
56732
|
size: "small",
|
|
56723
56733
|
disabled: unref(sheetReadonly2),
|
|
@@ -56804,7 +56814,7 @@ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
|
|
|
56804
56814
|
label: _ctx.$t("sys.onlineForm.numberOfRows")
|
|
56805
56815
|
}, {
|
|
56806
56816
|
default: withCtx(() => [
|
|
56807
|
-
createElementVNode("span", _hoisted_5$
|
|
56817
|
+
createElementVNode("span", _hoisted_5$z, toDisplayString$1(rowCount.value), 1)
|
|
56808
56818
|
]),
|
|
56809
56819
|
_: 1
|
|
56810
56820
|
}, 8, ["label"])
|
|
@@ -56817,7 +56827,7 @@ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
|
|
|
56817
56827
|
label: _ctx.$t("sys.onlineForm.numberOfColumns")
|
|
56818
56828
|
}, {
|
|
56819
56829
|
default: withCtx(() => [
|
|
56820
|
-
createElementVNode("span", _hoisted_6$
|
|
56830
|
+
createElementVNode("span", _hoisted_6$r, toDisplayString$1(colCount.value), 1)
|
|
56821
56831
|
]),
|
|
56822
56832
|
_: 1
|
|
56823
56833
|
}, 8, ["label"])
|
|
@@ -56993,9 +57003,9 @@ const PanelTableHeader = /* @__PURE__ */ _export_sfc(_sfc_main$2$, [["__scopeId"
|
|
|
56993
57003
|
const _hoisted_1$1H = { class: "panel-global-config" };
|
|
56994
57004
|
const _hoisted_2$19 = { class: "option-item-title" };
|
|
56995
57005
|
const _hoisted_3$X = { class: "actions" };
|
|
56996
|
-
const _hoisted_4$
|
|
56997
|
-
const _hoisted_5$
|
|
56998
|
-
const _hoisted_6$
|
|
57006
|
+
const _hoisted_4$J = ["onClick"];
|
|
57007
|
+
const _hoisted_5$y = ["onClick"];
|
|
57008
|
+
const _hoisted_6$q = { class: "ks-row-middle fieldrow mb5px" };
|
|
56999
57009
|
const _hoisted_7$f = { class: "ks-col ks-row" };
|
|
57000
57010
|
const _hoisted_8$d = { class: "min-w-86px flex-grow-1" };
|
|
57001
57011
|
const _hoisted_9$8 = { class: "min-w-86px flex-grow-1" };
|
|
@@ -57098,14 +57108,14 @@ const _sfc_main$2_ = /* @__PURE__ */ defineComponent({
|
|
|
57098
57108
|
createElementVNode("i", {
|
|
57099
57109
|
class: "iconfont icon-shanchu ml-4px primary-gct-hover",
|
|
57100
57110
|
onClick: ($event) => removeGorupItem(item)
|
|
57101
|
-
}, null, 8, _hoisted_4$
|
|
57111
|
+
}, null, 8, _hoisted_4$J),
|
|
57102
57112
|
createElementVNode("div", {
|
|
57103
57113
|
class: "ml-8px flex",
|
|
57104
57114
|
onClick: ($event) => addOption(item)
|
|
57105
57115
|
}, [
|
|
57106
57116
|
_cache[1] || (_cache[1] = createElementVNode("i", { class: "iconfont icon-chuangjian mr-4px" }, null, -1)),
|
|
57107
57117
|
createElementVNode("span", null, toDisplayString$1(_ctx.$t("sys.insert")), 1)
|
|
57108
|
-
], 8, _hoisted_5$
|
|
57118
|
+
], 8, _hoisted_5$y)
|
|
57109
57119
|
])
|
|
57110
57120
|
])
|
|
57111
57121
|
]),
|
|
@@ -57120,7 +57130,7 @@ const _sfc_main$2_ = /* @__PURE__ */ defineComponent({
|
|
|
57120
57130
|
class: "field-list"
|
|
57121
57131
|
}, {
|
|
57122
57132
|
item: withCtx(({ element: option2 }) => [
|
|
57123
|
-
createElementVNode("div", _hoisted_6$
|
|
57133
|
+
createElementVNode("div", _hoisted_6$q, [
|
|
57124
57134
|
_cache[3] || (_cache[3] = createElementVNode("i", { class: "icon-drag iconfont mr4px cursor-move text-[#C3C3C3] primary-gct-hover" }, null, -1)),
|
|
57125
57135
|
createElementVNode("div", _hoisted_7$f, [
|
|
57126
57136
|
createElementVNode("div", _hoisted_8$d, [
|
|
@@ -57182,9 +57192,9 @@ const OcrTemplateIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20
|
|
|
57182
57192
|
const _hoisted_1$1G = { class: "tmpl-card" };
|
|
57183
57193
|
const _hoisted_2$18 = { class: "tmpl-card__header" };
|
|
57184
57194
|
const _hoisted_3$W = { class: "flex items-center" };
|
|
57185
|
-
const _hoisted_4$
|
|
57186
|
-
const _hoisted_5$
|
|
57187
|
-
const _hoisted_6$
|
|
57195
|
+
const _hoisted_4$I = ["src"];
|
|
57196
|
+
const _hoisted_5$x = { class: "tmpl-card__title" };
|
|
57197
|
+
const _hoisted_6$p = { class: "tmpl-card__body" };
|
|
57188
57198
|
const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
|
|
57189
57199
|
__name: "tmpl-card",
|
|
57190
57200
|
props: {
|
|
@@ -57221,18 +57231,18 @@ const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
|
|
|
57221
57231
|
src: type2IconAsset[props2.type],
|
|
57222
57232
|
alt: "",
|
|
57223
57233
|
draggable: "false"
|
|
57224
|
-
}, null, 8, _hoisted_4$
|
|
57234
|
+
}, null, 8, _hoisted_4$I)) : (openBlock(), createElementBlock("i", {
|
|
57225
57235
|
key: 1,
|
|
57226
57236
|
class: normalizeClass([`${type2Icon[props2.type]}`, "text-14px!"])
|
|
57227
57237
|
}, null, 2))
|
|
57228
57238
|
], 2),
|
|
57229
|
-
createElementVNode("div", _hoisted_5$
|
|
57239
|
+
createElementVNode("div", _hoisted_5$x, toDisplayString$1(type2Title[props2.type]), 1)
|
|
57230
57240
|
]),
|
|
57231
57241
|
createVNode(unref(RemoveIcon), {
|
|
57232
57242
|
onClick: _cache[0] || (_cache[0] = ($event) => emit2("remove"))
|
|
57233
57243
|
})
|
|
57234
57244
|
]),
|
|
57235
|
-
createElementVNode("div", _hoisted_6$
|
|
57245
|
+
createElementVNode("div", _hoisted_6$p, [
|
|
57236
57246
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
57237
57247
|
])
|
|
57238
57248
|
]);
|
|
@@ -57476,9 +57486,9 @@ async function selectAndInitFieldMap() {
|
|
|
57476
57486
|
const _hoisted_1$1D = { class: "params-item-card" };
|
|
57477
57487
|
const _hoisted_2$16 = { class: "flex justify-between items-center" };
|
|
57478
57488
|
const _hoisted_3$U = ["title"];
|
|
57479
|
-
const _hoisted_4$
|
|
57480
|
-
const _hoisted_5$
|
|
57481
|
-
const _hoisted_6$
|
|
57489
|
+
const _hoisted_4$H = { class: "w-50% pl-11px flex items-center justify-end" };
|
|
57490
|
+
const _hoisted_5$w = ["title"];
|
|
57491
|
+
const _hoisted_6$o = { class: "flex items-center" };
|
|
57482
57492
|
const _hoisted_7$e = { class: "flex-grow-1 w-1px" };
|
|
57483
57493
|
const _hoisted_8$c = {
|
|
57484
57494
|
key: 0,
|
|
@@ -57506,11 +57516,11 @@ const _sfc_main$2V = /* @__PURE__ */ defineComponent({
|
|
|
57506
57516
|
class: "w-50% truncate pr-11px",
|
|
57507
57517
|
title: __props.deviceParams.code
|
|
57508
57518
|
}, toDisplayString$1(__props.deviceParams.code), 9, _hoisted_3$U),
|
|
57509
|
-
createElementVNode("div", _hoisted_4$
|
|
57519
|
+
createElementVNode("div", _hoisted_4$H, [
|
|
57510
57520
|
createElementVNode("span", {
|
|
57511
57521
|
class: "flex-shrink-1 truncate",
|
|
57512
57522
|
title: __props.deviceParams.name
|
|
57513
|
-
}, toDisplayString$1(__props.deviceParams.name), 9, _hoisted_5$
|
|
57523
|
+
}, toDisplayString$1(__props.deviceParams.name), 9, _hoisted_5$w),
|
|
57514
57524
|
createVNode(_component_a_popover, {
|
|
57515
57525
|
placement: "bottomRight",
|
|
57516
57526
|
overlayClassName: "dhr-custom-popover"
|
|
@@ -57531,7 +57541,7 @@ const _sfc_main$2V = /* @__PURE__ */ defineComponent({
|
|
|
57531
57541
|
])]),
|
|
57532
57542
|
_: 1
|
|
57533
57543
|
}),
|
|
57534
|
-
createElementVNode("div", _hoisted_6$
|
|
57544
|
+
createElementVNode("div", _hoisted_6$o, [
|
|
57535
57545
|
createElementVNode("div", _hoisted_7$e, [
|
|
57536
57546
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
57537
57547
|
]),
|
|
@@ -57918,9 +57928,9 @@ const IdentifyParamCard = /* @__PURE__ */ _export_sfc(_sfc_main$2R, [["__scopeId
|
|
|
57918
57928
|
const _hoisted_1$1z = { class: "ai-tmpl-editor__section" };
|
|
57919
57929
|
const _hoisted_2$12 = { class: "ai-tmpl-editor__section-content--basic" };
|
|
57920
57930
|
const _hoisted_3$R = { class: "ai-tmpl-editor__field-list" };
|
|
57921
|
-
const _hoisted_4$
|
|
57922
|
-
const _hoisted_5$
|
|
57923
|
-
const _hoisted_6$
|
|
57931
|
+
const _hoisted_4$G = { class: "ai-tmpl-editor__section" };
|
|
57932
|
+
const _hoisted_5$v = { class: "ai-tmpl-editor__section-content--model" };
|
|
57933
|
+
const _hoisted_6$n = { class: "ai-tmpl-editor__field-list" };
|
|
57924
57934
|
const _hoisted_7$d = {
|
|
57925
57935
|
key: 0,
|
|
57926
57936
|
class: "ai-tmpl-editor__advanced-card"
|
|
@@ -58163,7 +58173,7 @@ const _sfc_main$2Q = /* @__PURE__ */ defineComponent({
|
|
|
58163
58173
|
[vShow, isExpanded("basic")]
|
|
58164
58174
|
])
|
|
58165
58175
|
]),
|
|
58166
|
-
createElementVNode("section", _hoisted_4$
|
|
58176
|
+
createElementVNode("section", _hoisted_4$G, [
|
|
58167
58177
|
createElementVNode("button", {
|
|
58168
58178
|
class: "ai-tmpl-editor__section-header",
|
|
58169
58179
|
type: "button",
|
|
@@ -58174,8 +58184,8 @@ const _sfc_main$2Q = /* @__PURE__ */ defineComponent({
|
|
|
58174
58184
|
}, null, 8, ["class"]),
|
|
58175
58185
|
_cache[20] || (_cache[20] = createElementVNode("span", null, "模型配置", -1))
|
|
58176
58186
|
]),
|
|
58177
|
-
withDirectives(createElementVNode("div", _hoisted_5$
|
|
58178
|
-
createElementVNode("div", _hoisted_6$
|
|
58187
|
+
withDirectives(createElementVNode("div", _hoisted_5$v, [
|
|
58188
|
+
createElementVNode("div", _hoisted_6$n, [
|
|
58179
58189
|
createVNode(FormItem, {
|
|
58180
58190
|
isFirst: "",
|
|
58181
58191
|
class: "ai-tmpl-editor__form-row",
|
|
@@ -58471,7 +58481,7 @@ const _sfc_main$2P = /* @__PURE__ */ defineComponent({
|
|
|
58471
58481
|
const _hoisted_1$1y = { class: "ai-tmpl-card" };
|
|
58472
58482
|
const _hoisted_2$11 = ["src"];
|
|
58473
58483
|
const _hoisted_3$Q = ["title"];
|
|
58474
|
-
const _hoisted_4$
|
|
58484
|
+
const _hoisted_4$F = ["title"];
|
|
58475
58485
|
const _sfc_main$2O = /* @__PURE__ */ defineComponent({
|
|
58476
58486
|
__name: "ai-tmpl-card",
|
|
58477
58487
|
props: {
|
|
@@ -58506,7 +58516,7 @@ const _sfc_main$2O = /* @__PURE__ */ defineComponent({
|
|
|
58506
58516
|
createElementVNode("span", {
|
|
58507
58517
|
class: "ai-tmpl-card__device",
|
|
58508
58518
|
title: __props.value.deviceName
|
|
58509
|
-
}, toDisplayString$1(__props.value.deviceName || "--"), 9, _hoisted_4$
|
|
58519
|
+
}, toDisplayString$1(__props.value.deviceName || "--"), 9, _hoisted_4$F),
|
|
58510
58520
|
createElementVNode("button", {
|
|
58511
58521
|
type: "button",
|
|
58512
58522
|
class: "ai-tmpl-card__configure",
|
|
@@ -59302,7 +59312,7 @@ const _hoisted_3$P = {
|
|
|
59302
59312
|
key: 1,
|
|
59303
59313
|
class: "panel-tmpl-config__group"
|
|
59304
59314
|
};
|
|
59305
|
-
const _hoisted_4$
|
|
59315
|
+
const _hoisted_4$E = {
|
|
59306
59316
|
key: 0,
|
|
59307
59317
|
class: "panel-tmpl-config__list"
|
|
59308
59318
|
};
|
|
@@ -59420,7 +59430,7 @@ const _sfc_main$2M = /* @__PURE__ */ defineComponent({
|
|
|
59420
59430
|
])]),
|
|
59421
59431
|
_: 1
|
|
59422
59432
|
}),
|
|
59423
|
-
deviceTemplates.value.length ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
59433
|
+
deviceTemplates.value.length ? (openBlock(), createElementBlock("div", _hoisted_4$E, [
|
|
59424
59434
|
(openBlock(true), createElementBlock(Fragment, null, renderList(deviceTemplates.value, (tmpl) => {
|
|
59425
59435
|
return openBlock(), createBlock(DeviceTmplEditor, {
|
|
59426
59436
|
key: tmpl.id,
|
|
@@ -59694,7 +59704,7 @@ const AddSqlInput = /* @__PURE__ */ _export_sfc(_sfc_main$2I, [["__scopeId", "da
|
|
|
59694
59704
|
const _hoisted_1$1t = { class: "add-builtin-param-modal-container" };
|
|
59695
59705
|
const _hoisted_2$_ = { class: "title" };
|
|
59696
59706
|
const _hoisted_3$O = { class: "search" };
|
|
59697
|
-
const _hoisted_4$
|
|
59707
|
+
const _hoisted_4$D = { class: "field-table-wrap" };
|
|
59698
59708
|
const _sfc_main$2H = /* @__PURE__ */ defineComponent({
|
|
59699
59709
|
__name: "add-builtin-param-modal",
|
|
59700
59710
|
props: {
|
|
@@ -59815,7 +59825,7 @@ const _sfc_main$2H = /* @__PURE__ */ defineComponent({
|
|
|
59815
59825
|
_: 1
|
|
59816
59826
|
}, 8, ["placeholder", "value"])
|
|
59817
59827
|
]),
|
|
59818
|
-
createElementVNode("div", _hoisted_4$
|
|
59828
|
+
createElementVNode("div", _hoisted_4$D, [
|
|
59819
59829
|
createVNode(_component_a_table, {
|
|
59820
59830
|
columns: paramColumns,
|
|
59821
59831
|
dataSource: filterDataSource.value,
|
|
@@ -61517,12 +61527,12 @@ var ParamType = /* @__PURE__ */ ((ParamType2) => {
|
|
|
61517
61527
|
const _hoisted_1$1o = { class: "h100% ks-column" };
|
|
61518
61528
|
const _hoisted_2$Y = { class: "ks-col overflow-auto" };
|
|
61519
61529
|
const _hoisted_3$M = { class: "flex items-center mb-10px" };
|
|
61520
|
-
const _hoisted_4$
|
|
61530
|
+
const _hoisted_4$C = {
|
|
61521
61531
|
style: { "width": "20px", "height": "20px" },
|
|
61522
61532
|
class: "flex justify-center items-center flex-none"
|
|
61523
61533
|
};
|
|
61524
|
-
const _hoisted_5$
|
|
61525
|
-
const _hoisted_6$
|
|
61534
|
+
const _hoisted_5$u = ["onClick"];
|
|
61535
|
+
const _hoisted_6$m = { key: 1 };
|
|
61526
61536
|
const _hoisted_7$c = { class: "w50px ml10px" };
|
|
61527
61537
|
const _hoisted_8$a = { class: "mr3px" };
|
|
61528
61538
|
const _hoisted_9$6 = { class: "flex-1 ml-10px" };
|
|
@@ -61668,7 +61678,7 @@ const _sfc_main$2x = /* @__PURE__ */ defineComponent({
|
|
|
61668
61678
|
paddingLeft: __props.level * 20 + "px"
|
|
61669
61679
|
})
|
|
61670
61680
|
}, [
|
|
61671
|
-
createElementVNode("div", _hoisted_4$
|
|
61681
|
+
createElementVNode("div", _hoisted_4$C, [
|
|
61672
61682
|
[unref(ParameterTypeEnum).Object, unref(ParameterTypeEnum).Array].includes(item?.keyType) && item.valueType === unref(ValueTypeEnum).INPUT ? (openBlock(), createElementBlock("div", {
|
|
61673
61683
|
key: 0,
|
|
61674
61684
|
size: 16,
|
|
@@ -61677,7 +61687,7 @@ const _sfc_main$2x = /* @__PURE__ */ defineComponent({
|
|
|
61677
61687
|
createVNode(unref(CaretRightOutlined), {
|
|
61678
61688
|
class: normalizeClass(["json-editor__node-arrow", { show: !item.collapse }])
|
|
61679
61689
|
}, null, 8, ["class"])
|
|
61680
|
-
], 8, _hoisted_5$
|
|
61690
|
+
], 8, _hoisted_5$u)) : createCommentVNode("", true)
|
|
61681
61691
|
]),
|
|
61682
61692
|
__props.level > 0 ? (openBlock(), createBlock(_component_a_input, {
|
|
61683
61693
|
key: 0,
|
|
@@ -61686,7 +61696,7 @@ const _sfc_main$2x = /* @__PURE__ */ defineComponent({
|
|
|
61686
61696
|
"onUpdate:value": ($event) => item.key = $event,
|
|
61687
61697
|
placeholder: _ctx.$t("sys.keyOfSth", { sth: _ctx.$t("sys.field") }),
|
|
61688
61698
|
disabled: __props.parent.keyType === unref(ParameterTypeEnum).Array || __props.level === 0 || __props.disabled
|
|
61689
|
-
}, null, 8, ["value", "onUpdate:value", "placeholder", "disabled"])) : (openBlock(), createElementBlock("div", _hoisted_6$
|
|
61699
|
+
}, null, 8, ["value", "onUpdate:value", "placeholder", "disabled"])) : (openBlock(), createElementBlock("div", _hoisted_6$m, [..._cache[0] || (_cache[0] = [
|
|
61690
61700
|
createElementVNode("span", { class: "text-16px" }, "Body", -1)
|
|
61691
61701
|
])]))
|
|
61692
61702
|
], 6),
|
|
@@ -61986,9 +61996,9 @@ const IpaasParamConfig = /* @__PURE__ */ _export_sfc(_sfc_main$2v, [["__scopeId"
|
|
|
61986
61996
|
const _hoisted_1$1m = { class: "data-source-model-link-wrapper" };
|
|
61987
61997
|
const _hoisted_2$X = { class: "model-link-container" };
|
|
61988
61998
|
const _hoisted_3$L = { class: "model-link-content" };
|
|
61989
|
-
const _hoisted_4$
|
|
61990
|
-
const _hoisted_5$
|
|
61991
|
-
const _hoisted_6$
|
|
61999
|
+
const _hoisted_4$B = { class: "model-link-item" };
|
|
62000
|
+
const _hoisted_5$t = { class: "blank first" };
|
|
62001
|
+
const _hoisted_6$l = { class: "model-link-item" };
|
|
61992
62002
|
const _sfc_main$2u = /* @__PURE__ */ defineComponent({
|
|
61993
62003
|
__name: "data-source-model-link",
|
|
61994
62004
|
props: {
|
|
@@ -62154,8 +62164,8 @@ const _sfc_main$2u = /* @__PURE__ */ defineComponent({
|
|
|
62154
62164
|
return openBlock(), createElementBlock("div", _hoisted_1$1m, [
|
|
62155
62165
|
createElementVNode("div", _hoisted_2$X, [
|
|
62156
62166
|
createElementVNode("div", _hoisted_3$L, [
|
|
62157
|
-
createElementVNode("div", _hoisted_4$
|
|
62158
|
-
createElementVNode("span", _hoisted_5$
|
|
62167
|
+
createElementVNode("div", _hoisted_4$B, [
|
|
62168
|
+
createElementVNode("span", _hoisted_5$t, toDisplayString$1(_ctx.$t("sys.onlineForm.when")), 1),
|
|
62159
62169
|
createVNode(_component_a_select, {
|
|
62160
62170
|
class: "custom-select",
|
|
62161
62171
|
value: joinModelType.value,
|
|
@@ -62307,7 +62317,7 @@ const _sfc_main$2u = /* @__PURE__ */ defineComponent({
|
|
|
62307
62317
|
return openBlock(), createElementBlock(Fragment, {
|
|
62308
62318
|
key: item.id
|
|
62309
62319
|
}, [
|
|
62310
|
-
createElementVNode("div", _hoisted_6$
|
|
62320
|
+
createElementVNode("div", _hoisted_6$l, [
|
|
62311
62321
|
createVNode(_sfc_main$2D, {
|
|
62312
62322
|
class: "custom-select",
|
|
62313
62323
|
actionType: "radio",
|
|
@@ -62383,7 +62393,7 @@ const DataSourceModelLink = /* @__PURE__ */ _export_sfc(_sfc_main$2u, [["__scope
|
|
|
62383
62393
|
const _hoisted_1$1l = { class: "add-builtin-field-modal-container" };
|
|
62384
62394
|
const _hoisted_2$W = { class: "title" };
|
|
62385
62395
|
const _hoisted_3$K = { class: "search" };
|
|
62386
|
-
const _hoisted_4$
|
|
62396
|
+
const _hoisted_4$A = { class: "field-table-wrap" };
|
|
62387
62397
|
const _sfc_main$2t = /* @__PURE__ */ defineComponent({
|
|
62388
62398
|
__name: "add-builtin-field-modal",
|
|
62389
62399
|
props: {
|
|
@@ -62492,7 +62502,7 @@ const _sfc_main$2t = /* @__PURE__ */ defineComponent({
|
|
|
62492
62502
|
_: 1
|
|
62493
62503
|
}, 8, ["placeholder", "value"])
|
|
62494
62504
|
]),
|
|
62495
|
-
createElementVNode("div", _hoisted_4$
|
|
62505
|
+
createElementVNode("div", _hoisted_4$A, [
|
|
62496
62506
|
createVNode(_component_a_table, {
|
|
62497
62507
|
columns: tableCols.value,
|
|
62498
62508
|
dataSource: filterDataSource.value,
|
|
@@ -62563,9 +62573,9 @@ const _sfc_main$2s = /* @__PURE__ */ defineComponent({
|
|
|
62563
62573
|
const _hoisted_1$1k = { class: "data-source-field-map-wrapper" };
|
|
62564
62574
|
const _hoisted_2$V = { class: "field-map-container" };
|
|
62565
62575
|
const _hoisted_3$J = { class: "field-map-content" };
|
|
62566
|
-
const _hoisted_4$
|
|
62567
|
-
const _hoisted_5$
|
|
62568
|
-
const _hoisted_6$
|
|
62576
|
+
const _hoisted_4$z = { class: "field-map-item" };
|
|
62577
|
+
const _hoisted_5$s = { class: "blank last" };
|
|
62578
|
+
const _hoisted_6$k = ["onClick"];
|
|
62569
62579
|
const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
62570
62580
|
__name: "data-source-field-map",
|
|
62571
62581
|
props: {
|
|
@@ -62691,7 +62701,7 @@ const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
|
62691
62701
|
_cache[2] || (_cache[2] = createElementVNode("div", { class: "line" }, null, -1)),
|
|
62692
62702
|
createElementVNode("div", _hoisted_2$V, [
|
|
62693
62703
|
createElementVNode("div", _hoisted_3$J, [
|
|
62694
|
-
createElementVNode("div", _hoisted_4$
|
|
62704
|
+
createElementVNode("div", _hoisted_4$z, [
|
|
62695
62705
|
createVNode(_component_a_select, {
|
|
62696
62706
|
class: "custom-select",
|
|
62697
62707
|
bordered: false,
|
|
@@ -62775,11 +62785,11 @@ const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
|
62775
62785
|
field.fieldLink = opt.fieldLink;
|
|
62776
62786
|
}
|
|
62777
62787
|
}, null, 8, ["placeholder", "joinModelType", "joinFormRefId", "joinModelKey", "filterFieldType", "selectCascaderValue", "onUpdate:selectCascaderValue", "selectFieldKey", "onUpdate:selectFieldKey", "onOnSelect"])),
|
|
62778
|
-
createElementVNode("span", _hoisted_5$
|
|
62788
|
+
createElementVNode("span", _hoisted_5$s, [
|
|
62779
62789
|
createElementVNode("i", {
|
|
62780
62790
|
class: "iconfont icon-shanchu primary-gct-hover",
|
|
62781
62791
|
onClick: ($event) => removeFieldItem(field)
|
|
62782
|
-
}, null, 8, _hoisted_6$
|
|
62792
|
+
}, null, 8, _hoisted_6$k)
|
|
62783
62793
|
])
|
|
62784
62794
|
]);
|
|
62785
62795
|
}), 128))
|
|
@@ -62799,9 +62809,9 @@ const DataSourceFieldMap = /* @__PURE__ */ _export_sfc(_sfc_main$2r, [["__scopeI
|
|
|
62799
62809
|
const _hoisted_1$1j = { class: "object-init-list" };
|
|
62800
62810
|
const _hoisted_2$U = { class: "object-init-list__meta header" };
|
|
62801
62811
|
const _hoisted_3$I = { class: "object-init-list__label" };
|
|
62802
|
-
const _hoisted_4$
|
|
62803
|
-
const _hoisted_5$
|
|
62804
|
-
const _hoisted_6$
|
|
62812
|
+
const _hoisted_4$y = ["title"];
|
|
62813
|
+
const _hoisted_5$r = ["onClick"];
|
|
62814
|
+
const _hoisted_6$j = { class: "object-init-list__meta" };
|
|
62805
62815
|
const _hoisted_7$b = { class: "object-init-list__label" };
|
|
62806
62816
|
const _hoisted_8$9 = { class: "object-init-list__value" };
|
|
62807
62817
|
const _hoisted_9$5 = { class: "object-init-list__actions" };
|
|
@@ -62834,13 +62844,13 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
|
62834
62844
|
createElementVNode("span", {
|
|
62835
62845
|
class: "object-init-list__value",
|
|
62836
62846
|
title: item.objectFieldName || item.objectFieldMeta?.name
|
|
62837
|
-
}, toDisplayString$1(item.objectFieldName || item.objectFieldMeta?.name), 9, _hoisted_4$
|
|
62847
|
+
}, toDisplayString$1(item.objectFieldName || item.objectFieldMeta?.name), 9, _hoisted_4$y),
|
|
62838
62848
|
createElementVNode("i", {
|
|
62839
62849
|
class: "iconfont icon-shanchu2 primary-gct-hover ml-8px",
|
|
62840
62850
|
onClick: ($event) => emit2("remove", item.objectField)
|
|
62841
|
-
}, null, 8, _hoisted_5$
|
|
62851
|
+
}, null, 8, _hoisted_5$r)
|
|
62842
62852
|
]),
|
|
62843
|
-
createElementVNode("div", _hoisted_6$
|
|
62853
|
+
createElementVNode("div", _hoisted_6$j, [
|
|
62844
62854
|
createElementVNode("span", _hoisted_7$b, toDisplayString$1(_ctx.$t("sys.onlineForm.fieldType")) + ":", 1),
|
|
62845
62855
|
createElementVNode("span", _hoisted_8$9, toDisplayString$1(__props.getObjectFieldTypeName(item.objectFieldMeta)), 1)
|
|
62846
62856
|
]),
|
|
@@ -63083,11 +63093,11 @@ const ReadOnlyText = /* @__PURE__ */ _export_sfc(_sfc_main$2p, [["__scopeId", "d
|
|
|
63083
63093
|
const _hoisted_1$1h = ["title"];
|
|
63084
63094
|
const _hoisted_2$T = ["data-ann"];
|
|
63085
63095
|
const _hoisted_3$H = ["data-ann"];
|
|
63086
|
-
const _hoisted_4$
|
|
63096
|
+
const _hoisted_4$x = {
|
|
63087
63097
|
key: 2,
|
|
63088
63098
|
class: "cell-wrapper-affix"
|
|
63089
63099
|
};
|
|
63090
|
-
const _hoisted_5$
|
|
63100
|
+
const _hoisted_5$q = {
|
|
63091
63101
|
key: 5,
|
|
63092
63102
|
class: "cell-wrapper-affix"
|
|
63093
63103
|
};
|
|
@@ -63201,7 +63211,7 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
|
|
|
63201
63211
|
"data-ann": __props.annotationInfo?.annFieldId,
|
|
63202
63212
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => selectAnnotation(__props.annotationInfo?.annFieldId, _ctx.e), ["stop"]))
|
|
63203
63213
|
}, null, 8, _hoisted_3$H)) : createCommentVNode("", true),
|
|
63204
|
-
unref(prefix) ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
63214
|
+
unref(prefix) ? (openBlock(), createElementBlock("span", _hoisted_4$x, toDisplayString$1(unref(prefix)), 1)) : createCommentVNode("", true),
|
|
63205
63215
|
showReadonlyText.value ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
63206
63216
|
createVNode(ReadOnlyText, {
|
|
63207
63217
|
class: normalizeClass(__props.annotationInfo?.annClassList),
|
|
@@ -63216,7 +63226,7 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
|
|
|
63216
63226
|
}, null, 8, ["class", "readonlyText", "type", "nullValSymbol", "style", "filledBackground", "required", "renderScript"]),
|
|
63217
63227
|
renderSlot(_ctx.$slots, "readonlyIntroduce", {}, void 0, true)
|
|
63218
63228
|
], 64)) : renderSlot(_ctx.$slots, "default", {}, void 0, true, 4),
|
|
63219
|
-
unref(suffix) ? (openBlock(), createElementBlock("span", _hoisted_5$
|
|
63229
|
+
unref(suffix) ? (openBlock(), createElementBlock("span", _hoisted_5$q, toDisplayString$1(unref(suffix)), 1)) : createCommentVNode("", true)
|
|
63220
63230
|
], 14, _hoisted_1$1h);
|
|
63221
63231
|
};
|
|
63222
63232
|
}
|
|
@@ -63946,9 +63956,9 @@ const CellTextInput = /* @__PURE__ */ _export_sfc(_sfc_main$2h, [["__scopeId", "
|
|
|
63946
63956
|
const _hoisted_1$1f = { class: "cell-textarea-wrap" };
|
|
63947
63957
|
const _hoisted_2$R = ["title"];
|
|
63948
63958
|
const _hoisted_3$G = { class: "cell-textarea-modal-header" };
|
|
63949
|
-
const _hoisted_4$
|
|
63950
|
-
const _hoisted_5$
|
|
63951
|
-
const _hoisted_6$
|
|
63959
|
+
const _hoisted_4$w = { class: "cell-textarea-modal-title" };
|
|
63960
|
+
const _hoisted_5$p = { class: "cell-textarea-modal-body" };
|
|
63961
|
+
const _hoisted_6$i = ["placeholder", "maxlength"];
|
|
63952
63962
|
const _hoisted_7$a = { class: "cell-textarea-modal-footer" };
|
|
63953
63963
|
const _sfc_main$2g = /* @__PURE__ */ defineComponent({
|
|
63954
63964
|
__name: "cell-textarea",
|
|
@@ -64048,20 +64058,20 @@ const _sfc_main$2g = /* @__PURE__ */ defineComponent({
|
|
|
64048
64058
|
style: normalizeStyle(modalStyle.value)
|
|
64049
64059
|
}, [
|
|
64050
64060
|
createElementVNode("div", _hoisted_3$G, [
|
|
64051
|
-
createElementVNode("span", _hoisted_4$
|
|
64061
|
+
createElementVNode("span", _hoisted_4$w, toDisplayString$1(_ctx.$t("sys.longTextInput")), 1),
|
|
64052
64062
|
createElementVNode("span", {
|
|
64053
64063
|
class: "cell-textarea-modal-close",
|
|
64054
64064
|
onClick: onModalCancel
|
|
64055
64065
|
}, "×")
|
|
64056
64066
|
]),
|
|
64057
|
-
createElementVNode("div", _hoisted_5$
|
|
64067
|
+
createElementVNode("div", _hoisted_5$p, [
|
|
64058
64068
|
withDirectives(createElementVNode("textarea", {
|
|
64059
64069
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => modalValue.value = $event),
|
|
64060
64070
|
placeholder: __props.placeholder,
|
|
64061
64071
|
maxlength: unref(maxlength),
|
|
64062
64072
|
rows: "8",
|
|
64063
64073
|
class: "cell-textarea-modal-input"
|
|
64064
|
-
}, null, 8, _hoisted_6$
|
|
64074
|
+
}, null, 8, _hoisted_6$i), [
|
|
64065
64075
|
[vModelText, modalValue.value]
|
|
64066
64076
|
])
|
|
64067
64077
|
]),
|
|
@@ -66578,8 +66588,8 @@ const RadioSwitch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$23, [["__scopeId", "
|
|
|
66578
66588
|
const _hoisted_1$1b = { class: "search-wrapper" };
|
|
66579
66589
|
const _hoisted_2$Q = { class: "inner-list search-visible" };
|
|
66580
66590
|
const _hoisted_3$F = ["onContextmenu"];
|
|
66581
|
-
const _hoisted_4$
|
|
66582
|
-
const _hoisted_5$
|
|
66591
|
+
const _hoisted_4$v = { class: "inner-label-box" };
|
|
66592
|
+
const _hoisted_5$o = ["title"];
|
|
66583
66593
|
const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
66584
66594
|
__name: "select-enum",
|
|
66585
66595
|
props: {
|
|
@@ -66684,8 +66694,8 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
|
66684
66694
|
class: "option-inner",
|
|
66685
66695
|
onContextmenu: (e) => unref(handleShowCustomTooltip)(e, label)
|
|
66686
66696
|
}, [
|
|
66687
|
-
createElementVNode("div", _hoisted_4$
|
|
66688
|
-
createElementVNode("span", { title: label }, toDisplayString$1(label), 9, _hoisted_5$
|
|
66697
|
+
createElementVNode("div", _hoisted_4$v, [
|
|
66698
|
+
createElementVNode("span", { title: label }, toDisplayString$1(label), 9, _hoisted_5$o)
|
|
66689
66699
|
])
|
|
66690
66700
|
], 40, _hoisted_3$F)
|
|
66691
66701
|
]),
|
|
@@ -67644,7 +67654,7 @@ const _hoisted_3$E = {
|
|
|
67644
67654
|
key: 0,
|
|
67645
67655
|
class: "rdo-select-tree__default"
|
|
67646
67656
|
};
|
|
67647
|
-
const _hoisted_4$
|
|
67657
|
+
const _hoisted_4$u = {
|
|
67648
67658
|
key: 1,
|
|
67649
67659
|
class: "rdo-select-tree__empty"
|
|
67650
67660
|
};
|
|
@@ -67846,7 +67856,7 @@ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
|
|
|
67846
67856
|
node.isDefault ? (openBlock(), createElementBlock("span", _hoisted_3$E, "默认")) : createCommentVNode("", true)
|
|
67847
67857
|
]),
|
|
67848
67858
|
_: 1
|
|
67849
|
-
}, 8, ["tree-data", "selected-keys", "expanded-keys"])) : !loading2.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
67859
|
+
}, 8, ["tree-data", "selected-keys", "expanded-keys"])) : !loading2.value ? (openBlock(), createElementBlock("div", _hoisted_4$u, [
|
|
67850
67860
|
createVNode(_component_a_empty, {
|
|
67851
67861
|
image: unref(Empty).PRESENTED_IMAGE_SIMPLE,
|
|
67852
67862
|
description: "暂无数据"
|
|
@@ -70580,9 +70590,9 @@ const _hoisted_3$C = {
|
|
|
70580
70590
|
class: "seal-stamp-modal__preview",
|
|
70581
70591
|
role: "alert"
|
|
70582
70592
|
};
|
|
70583
|
-
const _hoisted_4$
|
|
70584
|
-
const _hoisted_5$
|
|
70585
|
-
const _hoisted_6$
|
|
70593
|
+
const _hoisted_4$t = { class: "seal-stamp-modal__preview" };
|
|
70594
|
+
const _hoisted_5$n = ["src", "alt"];
|
|
70595
|
+
const _hoisted_6$h = { class: "seal-stamp-modal__name" };
|
|
70586
70596
|
const _hoisted_7$9 = {
|
|
70587
70597
|
key: 3,
|
|
70588
70598
|
class: "seal-stamp-modal__error",
|
|
@@ -70685,13 +70695,13 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
70685
70695
|
_: 1
|
|
70686
70696
|
}, 8, ["onClick"])
|
|
70687
70697
|
])) : unref(sealDetail) ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
70688
|
-
createElementVNode("div", _hoisted_4$
|
|
70698
|
+
createElementVNode("div", _hoisted_4$t, [
|
|
70689
70699
|
createElementVNode("img", {
|
|
70690
70700
|
src: sealPreviewUrl.value,
|
|
70691
70701
|
alt: unref(sealDetail).name
|
|
70692
|
-
}, null, 8, _hoisted_5$
|
|
70702
|
+
}, null, 8, _hoisted_5$n)
|
|
70693
70703
|
]),
|
|
70694
|
-
createElementVNode("div", _hoisted_6$
|
|
70704
|
+
createElementVNode("div", _hoisted_6$h, [
|
|
70695
70705
|
createTextVNode(toDisplayString$1(_ctx.$t("sys.seal.currentSeal")) + ":", 1),
|
|
70696
70706
|
createElementVNode("strong", null, toDisplayString$1(unref(sealDetail).name), 1)
|
|
70697
70707
|
])
|
|
@@ -70749,9 +70759,9 @@ const _hoisted_3$B = {
|
|
|
70749
70759
|
key: 0,
|
|
70750
70760
|
class: "seal-detail-empty"
|
|
70751
70761
|
};
|
|
70752
|
-
const _hoisted_4$
|
|
70753
|
-
const _hoisted_5$
|
|
70754
|
-
const _hoisted_6$
|
|
70762
|
+
const _hoisted_4$s = { key: 4 };
|
|
70763
|
+
const _hoisted_5$m = ["title"];
|
|
70764
|
+
const _hoisted_6$g = {
|
|
70755
70765
|
key: 7,
|
|
70756
70766
|
class: "seal-error",
|
|
70757
70767
|
"data-seal-no-drag": ""
|
|
@@ -70888,7 +70898,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
|
70888
70898
|
key: 3,
|
|
70889
70899
|
required: unref(showRequired),
|
|
70890
70900
|
disabled: unref(showDisabled)
|
|
70891
|
-
}, null, 8, ["required", "disabled"])) : (openBlock(), createElementBlock("span", _hoisted_4$
|
|
70901
|
+
}, null, 8, ["required", "disabled"])) : (openBlock(), createElementBlock("span", _hoisted_4$s, toDisplayString$1(__props.widget.props.nullValSymbol), 1)),
|
|
70892
70902
|
editable.value ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
|
|
70893
70903
|
stamped.value ? (openBlock(), createElementBlock("button", {
|
|
70894
70904
|
key: 0,
|
|
@@ -70898,7 +70908,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
|
70898
70908
|
onClick: withModifiers(remove, ["stop"])
|
|
70899
70909
|
}, [..._cache[0] || (_cache[0] = [
|
|
70900
70910
|
createElementVNode("i", { class: "iconfont icon-a-shanchubiaoge" }, null, -1)
|
|
70901
|
-
])], 8, _hoisted_5$
|
|
70911
|
+
])], 8, _hoisted_5$m)) : createCommentVNode("", true),
|
|
70902
70912
|
createVNode(_component_a_button, {
|
|
70903
70913
|
class: "seal-apply",
|
|
70904
70914
|
type: "primary",
|
|
@@ -70921,7 +70931,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
|
70921
70931
|
]),
|
|
70922
70932
|
_: 1
|
|
70923
70933
|
})) : createCommentVNode("", true),
|
|
70924
|
-
error.value ? (openBlock(), createElementBlock("span", _hoisted_6$
|
|
70934
|
+
error.value ? (openBlock(), createElementBlock("span", _hoisted_6$g, toDisplayString$1(error.value), 1)) : createCommentVNode("", true)
|
|
70925
70935
|
], 10, _hoisted_1$15);
|
|
70926
70936
|
};
|
|
70927
70937
|
}
|
|
@@ -71162,9 +71172,9 @@ const _hoisted_2$K = {
|
|
|
71162
71172
|
class: "inner-footer"
|
|
71163
71173
|
};
|
|
71164
71174
|
const _hoisted_3$A = ["onContextmenu"];
|
|
71165
|
-
const _hoisted_4$
|
|
71166
|
-
const _hoisted_5$
|
|
71167
|
-
const _hoisted_6$
|
|
71175
|
+
const _hoisted_4$r = { class: "inner-label-box" };
|
|
71176
|
+
const _hoisted_5$l = ["title"];
|
|
71177
|
+
const _hoisted_6$f = { class: "h-120px flex justify-center items-center" };
|
|
71168
71178
|
const defaultDeviceSearchExp = "OR(name_.iLike,code_.iLike,asset_number_.iLike)";
|
|
71169
71179
|
const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
71170
71180
|
__name: "ref-select",
|
|
@@ -71719,8 +71729,8 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
71719
71729
|
class: "option-inner",
|
|
71720
71730
|
onContextmenu: (e) => unref(handleShowCustomTooltip)(e, label)
|
|
71721
71731
|
}, [
|
|
71722
|
-
createElementVNode("div", _hoisted_4$
|
|
71723
|
-
createElementVNode("span", { title: label }, toDisplayString$1(label), 9, _hoisted_5$
|
|
71732
|
+
createElementVNode("div", _hoisted_4$r, [
|
|
71733
|
+
createElementVNode("span", { title: label }, toDisplayString$1(label), 9, _hoisted_5$l)
|
|
71724
71734
|
])
|
|
71725
71735
|
], 40, _hoisted_3$A)
|
|
71726
71736
|
]),
|
|
@@ -71729,7 +71739,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
71729
71739
|
state.fetching ? {
|
|
71730
71740
|
name: "notFoundContent",
|
|
71731
71741
|
fn: withCtx(() => [
|
|
71732
|
-
createElementVNode("div", _hoisted_6$
|
|
71742
|
+
createElementVNode("div", _hoisted_6$f, [
|
|
71733
71743
|
createVNode(_component_a_spin, { size: "small" })
|
|
71734
71744
|
])
|
|
71735
71745
|
]),
|
|
@@ -73142,9 +73152,9 @@ const _hoisted_2$I = {
|
|
|
73142
73152
|
class: "inner-footer"
|
|
73143
73153
|
};
|
|
73144
73154
|
const _hoisted_3$z = ["onContextmenu"];
|
|
73145
|
-
const _hoisted_4$
|
|
73146
|
-
const _hoisted_5$
|
|
73147
|
-
const _hoisted_6$
|
|
73155
|
+
const _hoisted_4$q = { class: "inner-label-box" };
|
|
73156
|
+
const _hoisted_5$k = ["title"];
|
|
73157
|
+
const _hoisted_6$e = { class: "h-120px flex justify-center items-center" };
|
|
73148
73158
|
const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
73149
73159
|
__name: "trace-select",
|
|
73150
73160
|
props: {
|
|
@@ -73538,8 +73548,8 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
73538
73548
|
class: "option-inner",
|
|
73539
73549
|
onContextmenu: (e) => unref(handleShowCustomTooltip)(e, label)
|
|
73540
73550
|
}, [
|
|
73541
|
-
createElementVNode("div", _hoisted_4$
|
|
73542
|
-
createElementVNode("span", { title: label }, toDisplayString$1(label), 9, _hoisted_5$
|
|
73551
|
+
createElementVNode("div", _hoisted_4$q, [
|
|
73552
|
+
createElementVNode("span", { title: label }, toDisplayString$1(label), 9, _hoisted_5$k)
|
|
73543
73553
|
])
|
|
73544
73554
|
], 40, _hoisted_3$z)
|
|
73545
73555
|
]),
|
|
@@ -73548,7 +73558,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
73548
73558
|
state.fetching ? {
|
|
73549
73559
|
name: "notFoundContent",
|
|
73550
73560
|
fn: withCtx(() => [
|
|
73551
|
-
createElementVNode("div", _hoisted_6$
|
|
73561
|
+
createElementVNode("div", _hoisted_6$e, [
|
|
73552
73562
|
createVNode(_component_a_spin, { size: "small" })
|
|
73553
73563
|
])
|
|
73554
73564
|
]),
|
|
@@ -74021,15 +74031,15 @@ const _hoisted_3$y = {
|
|
|
74021
74031
|
key: 0,
|
|
74022
74032
|
class: "signature-date"
|
|
74023
74033
|
};
|
|
74024
|
-
const _hoisted_4$
|
|
74034
|
+
const _hoisted_4$p = {
|
|
74025
74035
|
key: 1,
|
|
74026
74036
|
class: "readonly-signature-popover"
|
|
74027
74037
|
};
|
|
74028
|
-
const _hoisted_5$
|
|
74038
|
+
const _hoisted_5$j = {
|
|
74029
74039
|
key: 0,
|
|
74030
74040
|
class: "date-text"
|
|
74031
74041
|
};
|
|
74032
|
-
const _hoisted_6$
|
|
74042
|
+
const _hoisted_6$d = {
|
|
74033
74043
|
key: 0,
|
|
74034
74044
|
class: "date-text"
|
|
74035
74045
|
};
|
|
@@ -74404,7 +74414,7 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
|
74404
74414
|
_: 1
|
|
74405
74415
|
}, 8, ["preview"])
|
|
74406
74416
|
])) : createCommentVNode("", true)
|
|
74407
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_4$
|
|
74417
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_4$p, [
|
|
74408
74418
|
createVNode(_component_a_image_preview_group, {
|
|
74409
74419
|
preview: { onVisibleChange: (v) => popoverPreviewVisible.value = v }
|
|
74410
74420
|
}, {
|
|
@@ -74455,7 +74465,7 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
|
74455
74465
|
preview: false,
|
|
74456
74466
|
src: getSignaturePreviewUrl(signature2)
|
|
74457
74467
|
}, null, 8, ["src"]),
|
|
74458
|
-
shouldFollowSignatureDate.value && signature2.time ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
74468
|
+
shouldFollowSignatureDate.value && signature2.time ? (openBlock(), createElementBlock("div", _hoisted_5$j, toDisplayString$1(formattedDate(signature2.time)), 1)) : createCommentVNode("", true)
|
|
74459
74469
|
], 2);
|
|
74460
74470
|
}), 128))
|
|
74461
74471
|
], 2))
|
|
@@ -74481,7 +74491,7 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
|
74481
74491
|
preview: false,
|
|
74482
74492
|
src: getSignaturePreviewUrl(signature2)
|
|
74483
74493
|
}, null, 8, ["src"]),
|
|
74484
|
-
shouldFollowSignatureDate.value && signature2.time ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
74494
|
+
shouldFollowSignatureDate.value && signature2.time ? (openBlock(), createElementBlock("div", _hoisted_6$d, toDisplayString$1(formattedDate(signature2.time)), 1)) : createCommentVNode("", true)
|
|
74485
74495
|
], 2);
|
|
74486
74496
|
}), 128))
|
|
74487
74497
|
], 2))
|
|
@@ -74609,7 +74619,7 @@ const RadioSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__scopeId", "da
|
|
|
74609
74619
|
const _hoisted_1$Z = { class: "inner-list" };
|
|
74610
74620
|
const _hoisted_2$G = ["onContextmenu"];
|
|
74611
74621
|
const _hoisted_3$x = { class: "inner-label-box" };
|
|
74612
|
-
const _hoisted_4$
|
|
74622
|
+
const _hoisted_4$o = ["title"];
|
|
74613
74623
|
const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
74614
74624
|
__name: "select-switch",
|
|
74615
74625
|
props: {
|
|
@@ -74679,7 +74689,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
74679
74689
|
onContextmenu: (e) => unref(handleShowCustomTooltip)(e, label)
|
|
74680
74690
|
}, [
|
|
74681
74691
|
createElementVNode("div", _hoisted_3$x, [
|
|
74682
|
-
createElementVNode("span", { title: label }, toDisplayString$1(label), 9, _hoisted_4$
|
|
74692
|
+
createElementVNode("span", { title: label }, toDisplayString$1(label), 9, _hoisted_4$o)
|
|
74683
74693
|
])
|
|
74684
74694
|
], 40, _hoisted_2$G)
|
|
74685
74695
|
]),
|
|
@@ -75075,9 +75085,9 @@ const _hoisted_1$Y = {
|
|
|
75075
75085
|
};
|
|
75076
75086
|
const _hoisted_2$F = { class: "progress-box" };
|
|
75077
75087
|
const _hoisted_3$w = { class: "progress-item__box pl-10px" };
|
|
75078
|
-
const _hoisted_4$
|
|
75079
|
-
const _hoisted_5$
|
|
75080
|
-
const _hoisted_6$
|
|
75088
|
+
const _hoisted_4$n = { class: "progress-item__name" };
|
|
75089
|
+
const _hoisted_5$i = { class: "label" };
|
|
75090
|
+
const _hoisted_6$c = {
|
|
75081
75091
|
key: 0,
|
|
75082
75092
|
class: "error",
|
|
75083
75093
|
style: { "color": "red" }
|
|
@@ -75286,13 +75296,13 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
75286
75296
|
name: fileTypeParser.value(item.name)
|
|
75287
75297
|
}, null, 8, ["size", "name"]),
|
|
75288
75298
|
createElementVNode("div", _hoisted_3$w, [
|
|
75289
|
-
createElementVNode("div", _hoisted_4$
|
|
75299
|
+
createElementVNode("div", _hoisted_4$n, [
|
|
75290
75300
|
createVNode(_component_a_tooltip, null, {
|
|
75291
75301
|
title: withCtx(() => [
|
|
75292
75302
|
createTextVNode(toDisplayString$1(item.name), 1)
|
|
75293
75303
|
]),
|
|
75294
75304
|
default: withCtx(() => [
|
|
75295
|
-
createElementVNode("span", _hoisted_5$
|
|
75305
|
+
createElementVNode("span", _hoisted_5$i, toDisplayString$1(item.name), 1)
|
|
75296
75306
|
]),
|
|
75297
75307
|
_: 2
|
|
75298
75308
|
}, 1024),
|
|
@@ -75306,7 +75316,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
75306
75316
|
percent: item.percentNum
|
|
75307
75317
|
}, {
|
|
75308
75318
|
format: withCtx((percent) => [
|
|
75309
|
-
item.status === unref(statusEnum$1).EXCEPTION ? (openBlock(), createElementBlock("span", _hoisted_6$
|
|
75319
|
+
item.status === unref(statusEnum$1).EXCEPTION ? (openBlock(), createElementBlock("span", _hoisted_6$c, toDisplayString$1(_ctx.$t("sys.component.upload.uploadError")) + "!", 1)) : (openBlock(), createElementBlock("span", _hoisted_7$8, toDisplayString$1(percent + "%"), 1))
|
|
75310
75320
|
]),
|
|
75311
75321
|
_: 2
|
|
75312
75322
|
}, 1032, ["percent"]), [
|
|
@@ -79537,9 +79547,9 @@ const _hoisted_1$X = {
|
|
|
79537
79547
|
};
|
|
79538
79548
|
const _hoisted_2$E = ["onClick"];
|
|
79539
79549
|
const _hoisted_3$v = { class: "readonly-file-info" };
|
|
79540
|
-
const _hoisted_4$
|
|
79541
|
-
const _hoisted_5$
|
|
79542
|
-
const _hoisted_6$
|
|
79550
|
+
const _hoisted_4$m = ["title"];
|
|
79551
|
+
const _hoisted_5$h = { class: "readonly-file-size" };
|
|
79552
|
+
const _hoisted_6$b = {
|
|
79543
79553
|
key: 0,
|
|
79544
79554
|
class: "cell-media__summary"
|
|
79545
79555
|
};
|
|
@@ -79663,8 +79673,8 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
79663
79673
|
createElementVNode("span", {
|
|
79664
79674
|
class: "readonly-file-name",
|
|
79665
79675
|
title: file.name
|
|
79666
|
-
}, toDisplayString$1(file.name), 9, _hoisted_4$
|
|
79667
|
-
createElementVNode("span", _hoisted_5$
|
|
79676
|
+
}, toDisplayString$1(file.name), 9, _hoisted_4$m),
|
|
79677
|
+
createElementVNode("span", _hoisted_5$h, toDisplayString$1(file.sizeLabel), 1)
|
|
79668
79678
|
])
|
|
79669
79679
|
], 8, _hoisted_2$E);
|
|
79670
79680
|
}), 128))
|
|
@@ -79686,7 +79696,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
79686
79696
|
"show-add": false
|
|
79687
79697
|
}, {
|
|
79688
79698
|
default: withCtx(() => [
|
|
79689
|
-
fileList.value.length ? (openBlock(), createElementBlock("span", _hoisted_6$
|
|
79699
|
+
fileList.value.length ? (openBlock(), createElementBlock("span", _hoisted_6$b, [
|
|
79690
79700
|
createVNode(unref(FieldStateIcon), { type: "attachmentFilled" }),
|
|
79691
79701
|
createTextVNode(" " + toDisplayString$1(fileList.value.length) + "个文件 ", 1)
|
|
79692
79702
|
])) : createCommentVNode("", true)
|
|
@@ -79720,15 +79730,15 @@ const _hoisted_2$D = {
|
|
|
79720
79730
|
class: "image-inputs"
|
|
79721
79731
|
};
|
|
79722
79732
|
const _hoisted_3$u = { class: "camera-input" };
|
|
79723
|
-
const _hoisted_4$
|
|
79733
|
+
const _hoisted_4$l = {
|
|
79724
79734
|
key: 0,
|
|
79725
79735
|
class: "camera-prompt"
|
|
79726
79736
|
};
|
|
79727
|
-
const _hoisted_5$
|
|
79737
|
+
const _hoisted_5$g = {
|
|
79728
79738
|
key: 1,
|
|
79729
79739
|
class: "camera-prompt"
|
|
79730
79740
|
};
|
|
79731
|
-
const _hoisted_6$
|
|
79741
|
+
const _hoisted_6$a = ["disabled"];
|
|
79732
79742
|
const _hoisted_7$7 = ["src"];
|
|
79733
79743
|
const _hoisted_8$7 = { class: "text-[#1A1D23]" };
|
|
79734
79744
|
const _hoisted_9$4 = { class: "camera-controls" };
|
|
@@ -80066,10 +80076,10 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
80066
80076
|
muted: "",
|
|
80067
80077
|
playsinline: ""
|
|
80068
80078
|
}, null, 4),
|
|
80069
|
-
cameraStatus.value === "loading" ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
80079
|
+
cameraStatus.value === "loading" ? (openBlock(), createElementBlock("div", _hoisted_4$l, [
|
|
80070
80080
|
createVNode(_component_a_spin),
|
|
80071
80081
|
createElementVNode("span", null, toDisplayString$1(_ctx.$t("sys.onlineForm.uploadImage.cameraStarting")), 1)
|
|
80072
|
-
])) : cameraStatus.value === "error" ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
80082
|
+
])) : cameraStatus.value === "error" ? (openBlock(), createElementBlock("div", _hoisted_5$g, [
|
|
80073
80083
|
createElementVNode("span", null, toDisplayString$1(cameraError.value), 1),
|
|
80074
80084
|
createVNode(_component_a_button, {
|
|
80075
80085
|
type: "link",
|
|
@@ -80094,7 +80104,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
80094
80104
|
class: "img-svg"
|
|
80095
80105
|
}, null, 8, _hoisted_7$7),
|
|
80096
80106
|
createElementVNode("span", _hoisted_8$7, toDisplayString$1(_ctx.$t("sys.onlineForm.uploadImage.startCamera")), 1)
|
|
80097
|
-
], 8, _hoisted_6$
|
|
80107
|
+
], 8, _hoisted_6$a)) : createCommentVNode("", true)
|
|
80098
80108
|
], 2),
|
|
80099
80109
|
withDirectives(createElementVNode("div", _hoisted_9$4, [
|
|
80100
80110
|
createVNode(_component_a_select, {
|
|
@@ -80394,8 +80404,8 @@ const __vite_glob_0_16 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
|
|
|
80394
80404
|
const _hoisted_1$U = { class: "search-wrapper" };
|
|
80395
80405
|
const _hoisted_2$B = { class: "inner-list search-visible" };
|
|
80396
80406
|
const _hoisted_3$t = { class: "option-inner userpicker-option" };
|
|
80397
|
-
const _hoisted_4$
|
|
80398
|
-
const _hoisted_5$
|
|
80407
|
+
const _hoisted_4$k = { class: "inner-label-box" };
|
|
80408
|
+
const _hoisted_5$f = ["title"];
|
|
80399
80409
|
const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
80400
80410
|
__name: "userpicker-render",
|
|
80401
80411
|
props: {
|
|
@@ -80578,8 +80588,8 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
80578
80588
|
]),
|
|
80579
80589
|
option: withCtx(({ label }) => [
|
|
80580
80590
|
createElementVNode("div", _hoisted_3$t, [
|
|
80581
|
-
createElementVNode("div", _hoisted_4$
|
|
80582
|
-
createElementVNode("span", { title: label }, toDisplayString$1(label), 9, _hoisted_5$
|
|
80591
|
+
createElementVNode("div", _hoisted_4$k, [
|
|
80592
|
+
createElementVNode("span", { title: label }, toDisplayString$1(label), 9, _hoisted_5$f)
|
|
80583
80593
|
])
|
|
80584
80594
|
])
|
|
80585
80595
|
]),
|
|
@@ -82465,8 +82475,8 @@ function useObjectInitModal() {
|
|
|
82465
82475
|
const _hoisted_1$K = { class: "param-link-container" };
|
|
82466
82476
|
const _hoisted_2$z = { class: "param-link-content" };
|
|
82467
82477
|
const _hoisted_3$s = { class: "param-link-item" };
|
|
82468
|
-
const _hoisted_4$
|
|
82469
|
-
const _hoisted_5$
|
|
82478
|
+
const _hoisted_4$j = { class: "blank last" };
|
|
82479
|
+
const _hoisted_5$e = ["onClick"];
|
|
82470
82480
|
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
82471
82481
|
__name: "param-field-link",
|
|
82472
82482
|
props: {
|
|
@@ -82594,11 +82604,11 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
82594
82604
|
fieldNames: { options: "options", label: "name", value: "key" },
|
|
82595
82605
|
options: unref(modelMetaMap2)[modelKey.value]?.fields ?? []
|
|
82596
82606
|
}, null, 8, ["value", "onUpdate:value", "options"]),
|
|
82597
|
-
createElementVNode("span", _hoisted_4$
|
|
82607
|
+
createElementVNode("span", _hoisted_4$j, [
|
|
82598
82608
|
createElementVNode("i", {
|
|
82599
82609
|
class: "iconfont icon-shanchu primary-gct-hover",
|
|
82600
82610
|
onClick: ($event) => removeFieldItem(fieldItem)
|
|
82601
|
-
}, null, 8, _hoisted_5$
|
|
82611
|
+
}, null, 8, _hoisted_5$e)
|
|
82602
82612
|
])
|
|
82603
82613
|
]);
|
|
82604
82614
|
}), 128))
|
|
@@ -82617,8 +82627,8 @@ const ParamFieldLink = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId",
|
|
|
82617
82627
|
const _hoisted_1$J = { class: "panel-data-init-config-wrapper" };
|
|
82618
82628
|
const _hoisted_2$y = { class: "param-area" };
|
|
82619
82629
|
const _hoisted_3$r = { class: "data-source-area" };
|
|
82620
|
-
const _hoisted_4$
|
|
82621
|
-
const _hoisted_5$
|
|
82630
|
+
const _hoisted_4$i = { class: "object-init-area" };
|
|
82631
|
+
const _hoisted_5$d = { class: "tmpl-config-area" };
|
|
82622
82632
|
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
82623
82633
|
__name: "index",
|
|
82624
82634
|
setup(__props) {
|
|
@@ -82914,7 +82924,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
82914
82924
|
header: _ctx.$t("sys.onlineForm.objectInitialization")
|
|
82915
82925
|
}, {
|
|
82916
82926
|
default: withCtx(() => [
|
|
82917
|
-
createElementVNode("div", _hoisted_4$
|
|
82927
|
+
createElementVNode("div", _hoisted_4$i, [
|
|
82918
82928
|
createVNode(unref(ObjectInitList), {
|
|
82919
82929
|
configuredItems: unref(objectInit).configuredItems.value,
|
|
82920
82930
|
getObjectFieldTypeName: unref(objectInit).getObjectFieldTypeName,
|
|
@@ -82940,7 +82950,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
82940
82950
|
header: _ctx.$t("sys.edhr.loadData")
|
|
82941
82951
|
}, {
|
|
82942
82952
|
default: withCtx(() => [
|
|
82943
|
-
createElementVNode("div", _hoisted_5$
|
|
82953
|
+
createElementVNode("div", _hoisted_5$d, [
|
|
82944
82954
|
createVNode(PanelTmplConfig, { embedded: "" })
|
|
82945
82955
|
])
|
|
82946
82956
|
]),
|
|
@@ -84060,8 +84070,8 @@ const GctInput = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v
|
|
|
84060
84070
|
const _hoisted_1$E = { class: "gct-modal-header" };
|
|
84061
84071
|
const _hoisted_2$v = { class: "gct-modal-title" };
|
|
84062
84072
|
const _hoisted_3$p = ["title"];
|
|
84063
|
-
const _hoisted_4$
|
|
84064
|
-
const _hoisted_5$
|
|
84073
|
+
const _hoisted_4$h = { class: "gct-modal-body" };
|
|
84074
|
+
const _hoisted_5$c = { class: "gct-modal-footer" };
|
|
84065
84075
|
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
84066
84076
|
__name: "gct-modal",
|
|
84067
84077
|
props: {
|
|
@@ -84108,10 +84118,10 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
84108
84118
|
onClick: _cache[1] || (_cache[1] = ($event) => emit2("cancel"))
|
|
84109
84119
|
}, " × ", 8, _hoisted_3$p)
|
|
84110
84120
|
]),
|
|
84111
|
-
createElementVNode("main", _hoisted_4$
|
|
84121
|
+
createElementVNode("main", _hoisted_4$h, [
|
|
84112
84122
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
84113
84123
|
]),
|
|
84114
|
-
createElementVNode("footer", _hoisted_5$
|
|
84124
|
+
createElementVNode("footer", _hoisted_5$c, [
|
|
84115
84125
|
createVNode(GctButton, {
|
|
84116
84126
|
onClick: _cache[2] || (_cache[2] = ($event) => emit2("cancel"))
|
|
84117
84127
|
}, {
|
|
@@ -84384,7 +84394,7 @@ const _hoisted_2$s = {
|
|
|
84384
84394
|
class: "field-tree-option__switcher placeholder"
|
|
84385
84395
|
};
|
|
84386
84396
|
const _hoisted_3$n = { class: "field-tree-option__label" };
|
|
84387
|
-
const _hoisted_4$
|
|
84397
|
+
const _hoisted_4$g = { key: 0 };
|
|
84388
84398
|
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
84389
84399
|
__name: "field-tree-node",
|
|
84390
84400
|
props: {
|
|
@@ -84479,7 +84489,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
84479
84489
|
}), 128))
|
|
84480
84490
|
])
|
|
84481
84491
|
], 6),
|
|
84482
|
-
expanded.value && hasChildren.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
84492
|
+
expanded.value && hasChildren.value ? (openBlock(), createElementBlock("div", _hoisted_4$g, [
|
|
84483
84493
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.node.children, (child) => {
|
|
84484
84494
|
return openBlock(), createBlock(_component_field_tree_node, {
|
|
84485
84495
|
key: child.value,
|
|
@@ -84537,8 +84547,8 @@ const _hoisted_3$m = {
|
|
|
84537
84547
|
key: 3,
|
|
84538
84548
|
class: "field-tree-select__suffix-icon"
|
|
84539
84549
|
};
|
|
84540
|
-
const _hoisted_4$
|
|
84541
|
-
const _hoisted_5$
|
|
84550
|
+
const _hoisted_4$f = { class: "field-tree-dropdown__list" };
|
|
84551
|
+
const _hoisted_5$b = {
|
|
84542
84552
|
key: 0,
|
|
84543
84553
|
class: "field-tree-dropdown__empty"
|
|
84544
84554
|
};
|
|
@@ -84749,7 +84759,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
84749
84759
|
"wrap-style": { maxHeight: "280px" }
|
|
84750
84760
|
}, {
|
|
84751
84761
|
default: withCtx(() => [
|
|
84752
|
-
createElementVNode("div", _hoisted_4$
|
|
84762
|
+
createElementVNode("div", _hoisted_4$f, [
|
|
84753
84763
|
(openBlock(true), createElementBlock(Fragment, null, renderList(displayTree.value, (node) => {
|
|
84754
84764
|
return openBlock(), createBlock(FieldTreeNode, {
|
|
84755
84765
|
key: node.value,
|
|
@@ -84764,7 +84774,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
84764
84774
|
onSelect
|
|
84765
84775
|
}, null, 8, ["node", "model-value", "force-expand", "default-expanded", "default-expanded-values", "group-only-expand"]);
|
|
84766
84776
|
}), 128)),
|
|
84767
|
-
!displayTree.value.length ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
84777
|
+
!displayTree.value.length ? (openBlock(), createElementBlock("div", _hoisted_5$b, toDisplayString$1(_ctx.$t("sys.onlineForm.inspectionDecisionRule.noData")), 1)) : createCommentVNode("", true)
|
|
84768
84778
|
])
|
|
84769
84779
|
]),
|
|
84770
84780
|
_: 1
|
|
@@ -85155,15 +85165,15 @@ const DecisionRuleGroup = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId"
|
|
|
85155
85165
|
const _hoisted_1$v = { class: "inspection-decision-modal" };
|
|
85156
85166
|
const _hoisted_2$o = { class: "modal-section" };
|
|
85157
85167
|
const _hoisted_3$j = { class: "section-title" };
|
|
85158
|
-
const _hoisted_4$
|
|
85168
|
+
const _hoisted_4$e = {
|
|
85159
85169
|
key: 0,
|
|
85160
85170
|
class: "empty-tip"
|
|
85161
85171
|
};
|
|
85162
|
-
const _hoisted_5$
|
|
85172
|
+
const _hoisted_5$a = {
|
|
85163
85173
|
key: 2,
|
|
85164
85174
|
class: "error-text"
|
|
85165
85175
|
};
|
|
85166
|
-
const _hoisted_6$
|
|
85176
|
+
const _hoisted_6$9 = { class: "modal-section prompt-section" };
|
|
85167
85177
|
const _hoisted_7$6 = { class: "section-title" };
|
|
85168
85178
|
const _hoisted_8$6 = { class: "section-description" };
|
|
85169
85179
|
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
@@ -85220,7 +85230,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
85220
85230
|
return openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
85221
85231
|
createElementVNode("section", _hoisted_2$o, [
|
|
85222
85232
|
createElementVNode("h3", _hoisted_3$j, toDisplayString$1(_ctx.$t("sys.onlineForm.inspectionDecisionRule.ruleSection")), 1),
|
|
85223
|
-
!fields.value.length ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
85233
|
+
!fields.value.length ? (openBlock(), createElementBlock("div", _hoisted_4$e, toDisplayString$1(_ctx.$t("sys.onlineForm.inspectionDecisionRule.noAvailableFields")), 1)) : (openBlock(), createBlock(DecisionRuleGroup, {
|
|
85224
85234
|
key: 1,
|
|
85225
85235
|
group: formState.root,
|
|
85226
85236
|
fields: fields.value,
|
|
@@ -85228,9 +85238,9 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
85228
85238
|
"invalid-keys": invalidKeys.value,
|
|
85229
85239
|
onChange: clearValidationErrors
|
|
85230
85240
|
}, null, 8, ["group", "fields", "used-field-values", "invalid-keys"])),
|
|
85231
|
-
invalidKeys.value.has(formState.root.key) ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
85241
|
+
invalidKeys.value.has(formState.root.key) ? (openBlock(), createElementBlock("div", _hoisted_5$a, toDisplayString$1(_ctx.$t("sys.onlineForm.inspectionDecisionRule.incompleteCondition")), 1)) : createCommentVNode("", true)
|
|
85232
85242
|
]),
|
|
85233
|
-
createElementVNode("section", _hoisted_6$
|
|
85243
|
+
createElementVNode("section", _hoisted_6$9, [
|
|
85234
85244
|
createElementVNode("h3", _hoisted_7$6, toDisplayString$1(_ctx.$t("sys.onlineForm.inspectionDecisionRule.promptSection")), 1),
|
|
85235
85245
|
createElementVNode("p", _hoisted_8$6, toDisplayString$1(_ctx.$t("sys.onlineForm.inspectionDecisionRule.promptDescription")), 1),
|
|
85236
85246
|
createVNode(unref(GctTextArea), {
|
|
@@ -85249,9 +85259,9 @@ const InspectionDecisionModal = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__sc
|
|
|
85249
85259
|
const _hoisted_1$u = { class: "panel-rule-config" };
|
|
85250
85260
|
const _hoisted_2$n = { class: "rule-area" };
|
|
85251
85261
|
const _hoisted_3$i = { class: "ks-row" };
|
|
85252
|
-
const _hoisted_4$
|
|
85253
|
-
const _hoisted_5$
|
|
85254
|
-
const _hoisted_6$
|
|
85262
|
+
const _hoisted_4$d = { class: "ks-col ell text-[12px]" };
|
|
85263
|
+
const _hoisted_5$9 = ["title"];
|
|
85264
|
+
const _hoisted_6$8 = { class: "mr4px text-#666" };
|
|
85255
85265
|
const _hoisted_7$5 = { class: "ks-col ell" };
|
|
85256
85266
|
const _hoisted_8$5 = ["title"];
|
|
85257
85267
|
const _hoisted_9$3 = { class: "mr4px text-#666" };
|
|
@@ -85368,14 +85378,14 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
85368
85378
|
class: "bg-[#f1f1f1] p12px rd-4px mb12px"
|
|
85369
85379
|
}, [
|
|
85370
85380
|
createElementVNode("div", _hoisted_3$i, [
|
|
85371
|
-
createElementVNode("div", _hoisted_4$
|
|
85381
|
+
createElementVNode("div", _hoisted_4$d, [
|
|
85372
85382
|
createElementVNode("div", {
|
|
85373
85383
|
class: "ks-row",
|
|
85374
85384
|
title: `${item.formulaLabel}[${item.formulaContent}]`
|
|
85375
85385
|
}, [
|
|
85376
|
-
createElementVNode("div", _hoisted_6$
|
|
85386
|
+
createElementVNode("div", _hoisted_6$8, toDisplayString$1(_ctx.$t("sys.onlineForm.unitConversion.ruleLabel")), 1),
|
|
85377
85387
|
createElementVNode("div", _hoisted_7$5, toDisplayString$1(item.formulaLabel) + "[" + toDisplayString$1(item.formulaContent) + "]", 1)
|
|
85378
|
-
], 8, _hoisted_5$
|
|
85388
|
+
], 8, _hoisted_5$9),
|
|
85379
85389
|
createElementVNode("div", {
|
|
85380
85390
|
class: "ks-row",
|
|
85381
85391
|
title: `${item.materialLabel}`
|
|
@@ -85535,9 +85545,9 @@ const _hoisted_3$h = {
|
|
|
85535
85545
|
key: 0,
|
|
85536
85546
|
class: "iconfont icon-drag mover"
|
|
85537
85547
|
};
|
|
85538
|
-
const _hoisted_4$
|
|
85539
|
-
const _hoisted_5$
|
|
85540
|
-
const _hoisted_6$
|
|
85548
|
+
const _hoisted_4$c = { class: "bom-entry-item-content ks-col" };
|
|
85549
|
+
const _hoisted_5$8 = { class: "bom-entry-item-content-item ell overflow-hidden" };
|
|
85550
|
+
const _hoisted_6$7 = ["title"];
|
|
85541
85551
|
const _hoisted_7$4 = { class: "bom-entry-item-btns ml8px" };
|
|
85542
85552
|
const _hoisted_8$4 = ["onClick"];
|
|
85543
85553
|
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
@@ -85657,8 +85667,8 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
85657
85667
|
item: withCtx(({ element }) => [
|
|
85658
85668
|
createElementVNode("div", _hoisted_2$l, [
|
|
85659
85669
|
!__props.disabled ? (openBlock(), createElementBlock("i", _hoisted_3$h)) : createCommentVNode("", true),
|
|
85660
|
-
createElementVNode("div", _hoisted_4$
|
|
85661
|
-
createElementVNode("div", _hoisted_5$
|
|
85670
|
+
createElementVNode("div", _hoisted_4$c, [
|
|
85671
|
+
createElementVNode("div", _hoisted_5$8, [
|
|
85662
85672
|
(openBlock(), createBlock(TranslateSpan, {
|
|
85663
85673
|
key: element.product_id_,
|
|
85664
85674
|
value: element.product_id_
|
|
@@ -85667,7 +85677,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
85667
85677
|
createElementVNode("div", {
|
|
85668
85678
|
class: "text-[#5A5F6B] ell",
|
|
85669
85679
|
title: `${_ctx.$t("sys.edhr.unitQty")}:${element.qty_required_}`
|
|
85670
|
-
}, toDisplayString$1(_ctx.$t("sys.edhr.unitQty")) + ":" + toDisplayString$1(element.qty_required_), 9, _hoisted_6$
|
|
85680
|
+
}, toDisplayString$1(_ctx.$t("sys.edhr.unitQty")) + ":" + toDisplayString$1(element.qty_required_), 9, _hoisted_6$7)
|
|
85671
85681
|
]),
|
|
85672
85682
|
createElementVNode("div", _hoisted_7$4, [
|
|
85673
85683
|
createVNode(_component_a_tooltip, {
|
|
@@ -85811,9 +85821,9 @@ const ConfirmBeforeDeleteConfig = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__
|
|
|
85811
85821
|
const _hoisted_1$q = { class: "panel-document" };
|
|
85812
85822
|
const _hoisted_2$j = { class: "pl-12px pr-12px pt-20px pb-20px" };
|
|
85813
85823
|
const _hoisted_3$g = { class: "color-[#212528] text-12px lh-[18px]" };
|
|
85814
|
-
const _hoisted_4$
|
|
85815
|
-
const _hoisted_5$
|
|
85816
|
-
const _hoisted_6$
|
|
85824
|
+
const _hoisted_4$b = { class: "color-[#212528] text-12px lh-[18px]" };
|
|
85825
|
+
const _hoisted_5$7 = { class: "flex justify-end" };
|
|
85826
|
+
const _hoisted_6$6 = { class: "flex justify-end" };
|
|
85817
85827
|
const _hoisted_7$3 = { class: "flex justify-end" };
|
|
85818
85828
|
const _hoisted_8$3 = { class: "flex justify-end" };
|
|
85819
85829
|
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
@@ -85956,7 +85966,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
85956
85966
|
inline: false
|
|
85957
85967
|
}, {
|
|
85958
85968
|
default: withCtx(() => [
|
|
85959
|
-
createElementVNode("span", _hoisted_4$
|
|
85969
|
+
createElementVNode("span", _hoisted_4$b, toDisplayString$1(modelName.value), 1)
|
|
85960
85970
|
]),
|
|
85961
85971
|
_: 1
|
|
85962
85972
|
}, 8, ["label"])
|
|
@@ -85997,7 +86007,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
85997
86007
|
class: "justify-between"
|
|
85998
86008
|
}, {
|
|
85999
86009
|
default: withCtx(() => [
|
|
86000
|
-
createElementVNode("div", _hoisted_5$
|
|
86010
|
+
createElementVNode("div", _hoisted_5$7, [
|
|
86001
86011
|
createVNode(_component_a_switch, {
|
|
86002
86012
|
size: "small",
|
|
86003
86013
|
disabled: unref(sheetReadonly2),
|
|
@@ -86088,7 +86098,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
86088
86098
|
class: "justify-between"
|
|
86089
86099
|
}, {
|
|
86090
86100
|
default: withCtx(() => [
|
|
86091
|
-
createElementVNode("div", _hoisted_6$
|
|
86101
|
+
createElementVNode("div", _hoisted_6$6, [
|
|
86092
86102
|
createVNode(_component_a_switch, {
|
|
86093
86103
|
size: "small",
|
|
86094
86104
|
disabled: unref(sheetReadonly2),
|
|
@@ -86249,7 +86259,7 @@ function useDynamicSubTablePanel() {
|
|
|
86249
86259
|
const _hoisted_1$p = { class: "panel-document" };
|
|
86250
86260
|
const _hoisted_2$i = { class: "pl-12px pr-12px pt-20px pb-20px" };
|
|
86251
86261
|
const _hoisted_3$f = { class: "color-[#212528] text-12px lh-[18px]" };
|
|
86252
|
-
const _hoisted_4$
|
|
86262
|
+
const _hoisted_4$a = { class: "color-[#212528] text-12px lh-[18px]" };
|
|
86253
86263
|
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
86254
86264
|
__name: "sub-table-panel-shell",
|
|
86255
86265
|
props: {
|
|
@@ -86298,7 +86308,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
86298
86308
|
inline: false
|
|
86299
86309
|
}, {
|
|
86300
86310
|
default: withCtx(() => [
|
|
86301
|
-
createElementVNode("span", _hoisted_4$
|
|
86311
|
+
createElementVNode("span", _hoisted_4$a, toDisplayString$1(unref(modelName)), 1)
|
|
86302
86312
|
]),
|
|
86303
86313
|
_: 1
|
|
86304
86314
|
}, 8, ["label"])
|
|
@@ -87039,7 +87049,7 @@ function useMouseOffset(opts) {
|
|
|
87039
87049
|
const _hoisted_1$k = { class: "designer__toolbar" };
|
|
87040
87050
|
const _hoisted_2$f = { class: "designer__spread-sheet" };
|
|
87041
87051
|
const _hoisted_3$c = { class: "designer__toolkit" };
|
|
87042
|
-
const _hoisted_4$
|
|
87052
|
+
const _hoisted_4$9 = { class: "designer__panel" };
|
|
87043
87053
|
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
87044
87054
|
__name: "designer-wrapper",
|
|
87045
87055
|
setup(__props) {
|
|
@@ -87072,7 +87082,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
87072
87082
|
createElementVNode("div", _hoisted_3$c, [
|
|
87073
87083
|
renderSlot(_ctx.$slots, "toolkit", {}, void 0, true)
|
|
87074
87084
|
]),
|
|
87075
|
-
createElementVNode("div", _hoisted_4$
|
|
87085
|
+
createElementVNode("div", _hoisted_4$9, [
|
|
87076
87086
|
createElementVNode("div", {
|
|
87077
87087
|
class: "divider",
|
|
87078
87088
|
onMousedown: _cache[0] || (_cache[0] = //@ts-ignore
|
|
@@ -87306,9 +87316,9 @@ const DesignerHeader = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "
|
|
|
87306
87316
|
const _hoisted_1$i = { class: "designer" };
|
|
87307
87317
|
const _hoisted_2$d = { class: "designer__header" };
|
|
87308
87318
|
const _hoisted_3$a = { class: "designer__toolbar" };
|
|
87309
|
-
const _hoisted_4$
|
|
87310
|
-
const _hoisted_5$
|
|
87311
|
-
const _hoisted_6$
|
|
87319
|
+
const _hoisted_4$8 = { class: "designer__spread-sheet" };
|
|
87320
|
+
const _hoisted_5$6 = { class: "designer__toolkit" };
|
|
87321
|
+
const _hoisted_6$5 = { class: "designer__panel" };
|
|
87312
87322
|
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
87313
87323
|
__name: "apaas-dp-print",
|
|
87314
87324
|
setup(__props) {
|
|
@@ -87331,13 +87341,13 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
87331
87341
|
createElementVNode("div", _hoisted_3$a, [
|
|
87332
87342
|
createVNode(Toolbar)
|
|
87333
87343
|
]),
|
|
87334
|
-
createElementVNode("div", _hoisted_4$
|
|
87344
|
+
createElementVNode("div", _hoisted_4$8, [
|
|
87335
87345
|
createVNode(SpreadSheet, { loading: unref(loading2) }, null, 8, ["loading"])
|
|
87336
87346
|
]),
|
|
87337
|
-
createElementVNode("div", _hoisted_5$
|
|
87347
|
+
createElementVNode("div", _hoisted_5$6, [
|
|
87338
87348
|
createVNode(Toolkit, { "show-fields": true })
|
|
87339
87349
|
]),
|
|
87340
|
-
createElementVNode("div", _hoisted_6$
|
|
87350
|
+
createElementVNode("div", _hoisted_6$5, [
|
|
87341
87351
|
createVNode(Panel)
|
|
87342
87352
|
])
|
|
87343
87353
|
]);
|
|
@@ -87375,7 +87385,7 @@ const _hoisted_1$h = {
|
|
|
87375
87385
|
};
|
|
87376
87386
|
const _hoisted_2$c = { class: "consume-policy-item__special-header" };
|
|
87377
87387
|
const _hoisted_3$9 = { class: "consume-policy-item__special-title" };
|
|
87378
|
-
const _hoisted_4$
|
|
87388
|
+
const _hoisted_4$7 = ["onClick"];
|
|
87379
87389
|
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
87380
87390
|
__name: "consume-item",
|
|
87381
87391
|
props: {
|
|
@@ -87908,7 +87918,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
87908
87918
|
}]),
|
|
87909
87919
|
href: "javascript:;",
|
|
87910
87920
|
onClick: withModifiers(($event) => formState.value.consume_source_config_ !== "follow_common_policy" && removeStorageRow(index2), ["prevent"])
|
|
87911
|
-
}, toDisplayString$1(_ctx.$t("sys.delete")), 11, _hoisted_4$
|
|
87921
|
+
}, toDisplayString$1(_ctx.$t("sys.delete")), 11, _hoisted_4$7)) : createCommentVNode("", true)
|
|
87912
87922
|
]),
|
|
87913
87923
|
_: 1
|
|
87914
87924
|
}, 8, ["data-source", "locale"])
|
|
@@ -88378,7 +88388,7 @@ const SubstitutePolicyItem = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scope
|
|
|
88378
88388
|
const _hoisted_1$e = { class: "bom-entry-modal__content" };
|
|
88379
88389
|
const _hoisted_2$a = { class: "bom-entry-modal__section-title" };
|
|
88380
88390
|
const _hoisted_3$8 = { class: "bom-entry-modal__section-title" };
|
|
88381
|
-
const _hoisted_4$
|
|
88391
|
+
const _hoisted_4$6 = {
|
|
88382
88392
|
key: 0,
|
|
88383
88393
|
class: "bom-entry-modal__nested"
|
|
88384
88394
|
};
|
|
@@ -88844,7 +88854,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
88844
88854
|
]),
|
|
88845
88855
|
_: 1
|
|
88846
88856
|
}, 8, ["label"]),
|
|
88847
|
-
unref(formState).lot_mixing_enabled_ ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
88857
|
+
unref(formState).lot_mixing_enabled_ ? (openBlock(), createElementBlock("div", _hoisted_4$6, [
|
|
88848
88858
|
createVNode(_component_a_row, { gutter: 16 }, {
|
|
88849
88859
|
default: withCtx(() => [
|
|
88850
88860
|
createVNode(_component_a_col, { span: 12 }, {
|
|
@@ -89730,9 +89740,9 @@ const _hoisted_3$7 = {
|
|
|
89730
89740
|
key: 0,
|
|
89731
89741
|
class: "widget-file-form-upload"
|
|
89732
89742
|
};
|
|
89733
|
-
const _hoisted_4$
|
|
89734
|
-
const _hoisted_5$
|
|
89735
|
-
const _hoisted_6$
|
|
89743
|
+
const _hoisted_4$5 = { class: "widget-file-form-text" };
|
|
89744
|
+
const _hoisted_5$5 = { class: "widget-file-form-hint" };
|
|
89745
|
+
const _hoisted_6$4 = {
|
|
89736
89746
|
key: 1,
|
|
89737
89747
|
class: "no-pdf-placeholder"
|
|
89738
89748
|
};
|
|
@@ -89860,12 +89870,12 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
89860
89870
|
name: "folder"
|
|
89861
89871
|
})
|
|
89862
89872
|
]),
|
|
89863
|
-
createElementVNode("p", _hoisted_4$
|
|
89864
|
-
createElementVNode("p", _hoisted_5$
|
|
89873
|
+
createElementVNode("p", _hoisted_4$5, toDisplayString$1(_ctx.$t("sys.edhr.uploadFileTips")), 1),
|
|
89874
|
+
createElementVNode("p", _hoisted_5$5, toDisplayString$1(_ctx.$t("sys.edhr.supportTypeAndMax", { type: ".pdf", max: maxCount.value })), 1)
|
|
89865
89875
|
]),
|
|
89866
89876
|
_: 1
|
|
89867
89877
|
}, 8, ["accept", "multiple"])
|
|
89868
|
-
])) : !isInitializing.value && __props.isReadonly && uploadedCount.value === 0 ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
89878
|
+
])) : !isInitializing.value && __props.isReadonly && uploadedCount.value === 0 ? (openBlock(), createElementBlock("div", _hoisted_6$4, [
|
|
89869
89879
|
createElementVNode("p", null, toDisplayString$1(_ctx.$t("sys.edhr.noPdfFile")), 1)
|
|
89870
89880
|
])) : uploadedCount.value ? (openBlock(), createElementBlock("div", _hoisted_7$2, [
|
|
89871
89881
|
createElementVNode("div", _hoisted_8$2, [
|
|
@@ -90357,11 +90367,14 @@ const _hoisted_1$b = {
|
|
|
90357
90367
|
class: "runtime-sheet-tabs",
|
|
90358
90368
|
"aria-label": "工作表"
|
|
90359
90369
|
};
|
|
90360
|
-
const _hoisted_2$7 = ["disabled"
|
|
90361
|
-
const _hoisted_3$6 =
|
|
90370
|
+
const _hoisted_2$7 = ["disabled"];
|
|
90371
|
+
const _hoisted_3$6 = ["title", "disabled", "onClick"];
|
|
90372
|
+
const _hoisted_4$4 = { class: "runtime-sheet-tab__title" };
|
|
90373
|
+
const _hoisted_5$4 = {
|
|
90362
90374
|
key: 0,
|
|
90363
90375
|
class: "runtime-sheet-tab__error-count"
|
|
90364
90376
|
};
|
|
90377
|
+
const _hoisted_6$3 = ["disabled"];
|
|
90365
90378
|
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
90366
90379
|
__name: "sheet-tab-bar",
|
|
90367
90380
|
props: {
|
|
@@ -90383,26 +90396,124 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
90383
90396
|
}
|
|
90384
90397
|
return result;
|
|
90385
90398
|
});
|
|
90399
|
+
const sheetOptions = computed(
|
|
90400
|
+
() => props2.context.sheets.map((sheet) => ({
|
|
90401
|
+
value: sheet.sheetId,
|
|
90402
|
+
label: sheet.title,
|
|
90403
|
+
disabled: sheet.status !== "ready"
|
|
90404
|
+
}))
|
|
90405
|
+
);
|
|
90386
90406
|
const emit2 = __emit;
|
|
90407
|
+
const tabsViewport = ref();
|
|
90408
|
+
const overflowing = ref(false);
|
|
90409
|
+
const canScrollLeft = ref(false);
|
|
90410
|
+
const canScrollRight = ref(false);
|
|
90411
|
+
let resizeObserver;
|
|
90412
|
+
function updateScrollState() {
|
|
90413
|
+
const viewport = tabsViewport.value;
|
|
90414
|
+
if (!viewport) return;
|
|
90415
|
+
overflowing.value = viewport.scrollWidth > viewport.clientWidth + 1;
|
|
90416
|
+
canScrollLeft.value = viewport.scrollLeft > 1;
|
|
90417
|
+
canScrollRight.value = viewport.scrollLeft + viewport.clientWidth < viewport.scrollWidth - 1;
|
|
90418
|
+
}
|
|
90419
|
+
function scrollTabs(direction) {
|
|
90420
|
+
const viewport = tabsViewport.value;
|
|
90421
|
+
viewport?.scrollBy({ left: direction * viewport.clientWidth * 0.8, behavior: "smooth" });
|
|
90422
|
+
}
|
|
90423
|
+
function revealActiveTab() {
|
|
90424
|
+
const viewport = tabsViewport.value;
|
|
90425
|
+
const active = viewport?.querySelector(".runtime-sheet-tab.is-active");
|
|
90426
|
+
if (!viewport || !active) return;
|
|
90427
|
+
const visible = viewport.getBoundingClientRect();
|
|
90428
|
+
const tab = active.getBoundingClientRect();
|
|
90429
|
+
if (tab.left < visible.left) viewport.scrollLeft -= visible.left - tab.left + 8;
|
|
90430
|
+
else if (tab.right > visible.right) viewport.scrollLeft += tab.right - visible.right + 8;
|
|
90431
|
+
updateScrollState();
|
|
90432
|
+
}
|
|
90433
|
+
function selectSheet(value) {
|
|
90434
|
+
if (typeof value === "string" && value !== props2.context.activeSheetId && tabsViewport.value) {
|
|
90435
|
+
emit2("change", value, tabsViewport.value);
|
|
90436
|
+
}
|
|
90437
|
+
}
|
|
90438
|
+
watch(
|
|
90439
|
+
() => [
|
|
90440
|
+
props2.context.activeSheetId,
|
|
90441
|
+
props2.context.sheets.map((sheet) => sheet.title).join("\0")
|
|
90442
|
+
],
|
|
90443
|
+
async () => {
|
|
90444
|
+
await nextTick();
|
|
90445
|
+
updateScrollState();
|
|
90446
|
+
revealActiveTab();
|
|
90447
|
+
}
|
|
90448
|
+
);
|
|
90449
|
+
onMounted(() => {
|
|
90450
|
+
resizeObserver = new ResizeObserver(() => {
|
|
90451
|
+
updateScrollState();
|
|
90452
|
+
revealActiveTab();
|
|
90453
|
+
});
|
|
90454
|
+
if (tabsViewport.value) resizeObserver.observe(tabsViewport.value);
|
|
90455
|
+
updateScrollState();
|
|
90456
|
+
revealActiveTab();
|
|
90457
|
+
});
|
|
90458
|
+
onBeforeUnmount(() => resizeObserver?.disconnect());
|
|
90387
90459
|
return (_ctx, _cache) => {
|
|
90460
|
+
const _component_a_select = resolveComponent("a-select");
|
|
90388
90461
|
return openBlock(), createElementBlock("nav", _hoisted_1$b, [
|
|
90389
|
-
(openBlock(
|
|
90390
|
-
|
|
90391
|
-
|
|
90392
|
-
|
|
90393
|
-
|
|
90394
|
-
|
|
90395
|
-
|
|
90396
|
-
|
|
90397
|
-
|
|
90398
|
-
|
|
90399
|
-
|
|
90400
|
-
|
|
90462
|
+
overflowing.value ? (openBlock(), createElementBlock("button", {
|
|
90463
|
+
key: 0,
|
|
90464
|
+
type: "button",
|
|
90465
|
+
class: "runtime-sheet-tabs__arrow",
|
|
90466
|
+
"aria-label": "向左滚动工作表",
|
|
90467
|
+
disabled: !canScrollLeft.value,
|
|
90468
|
+
onClick: _cache[0] || (_cache[0] = ($event) => scrollTabs(-1))
|
|
90469
|
+
}, " ‹ ", 8, _hoisted_2$7)) : createCommentVNode("", true),
|
|
90470
|
+
createElementVNode("div", {
|
|
90471
|
+
ref_key: "tabsViewport",
|
|
90472
|
+
ref: tabsViewport,
|
|
90473
|
+
class: "runtime-sheet-tabs__viewport",
|
|
90474
|
+
onScroll: updateScrollState
|
|
90475
|
+
}, [
|
|
90476
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.context.sheets, (sheet) => {
|
|
90477
|
+
return openBlock(), createElementBlock("button", {
|
|
90478
|
+
key: sheet.sheetId,
|
|
90479
|
+
type: "button",
|
|
90480
|
+
class: normalizeClass(["runtime-sheet-tab", { "is-active": sheet.sheetId === __props.context.activeSheetId }]),
|
|
90481
|
+
title: sheet.title,
|
|
90482
|
+
disabled: sheet.status !== "ready" || __props.switching || sheet.sheetId === __props.context.activeSheetId,
|
|
90483
|
+
onClick: ($event) => emit2("change", sheet.sheetId, $event)
|
|
90484
|
+
}, [
|
|
90485
|
+
createElementVNode("span", _hoisted_4$4, toDisplayString$1(sheet.title), 1),
|
|
90486
|
+
errorCountMap.value[sheet.sheetId] ? (openBlock(), createElementBlock("span", _hoisted_5$4, toDisplayString$1(errorCountMap.value[sheet.sheetId]), 1)) : createCommentVNode("", true)
|
|
90487
|
+
], 10, _hoisted_3$6);
|
|
90488
|
+
}), 128))
|
|
90489
|
+
], 544),
|
|
90490
|
+
overflowing.value ? (openBlock(), createElementBlock("button", {
|
|
90491
|
+
key: 1,
|
|
90492
|
+
type: "button",
|
|
90493
|
+
class: "runtime-sheet-tabs__arrow",
|
|
90494
|
+
"aria-label": "向右滚动工作表",
|
|
90495
|
+
disabled: !canScrollRight.value,
|
|
90496
|
+
onClick: _cache[1] || (_cache[1] = ($event) => scrollTabs(1))
|
|
90497
|
+
}, " › ", 8, _hoisted_6$3)) : createCommentVNode("", true),
|
|
90498
|
+
overflowing.value ? (openBlock(), createBlock(_component_a_select, {
|
|
90499
|
+
key: 2,
|
|
90500
|
+
class: "runtime-sheet-tabs__picker",
|
|
90501
|
+
value: __props.context.activeSheetId,
|
|
90502
|
+
disabled: __props.switching,
|
|
90503
|
+
options: sheetOptions.value,
|
|
90504
|
+
"list-height": 280,
|
|
90505
|
+
size: "small",
|
|
90506
|
+
"show-search": "",
|
|
90507
|
+
"option-filter-prop": "label",
|
|
90508
|
+
"aria-label": "从全部工作表中选择",
|
|
90509
|
+
title: __props.context.sheets.find((sheet) => sheet.sheetId === __props.context.activeSheetId)?.title,
|
|
90510
|
+
onChange: selectSheet
|
|
90511
|
+
}, null, 8, ["value", "disabled", "options", "title"])) : createCommentVNode("", true)
|
|
90401
90512
|
]);
|
|
90402
90513
|
};
|
|
90403
90514
|
}
|
|
90404
90515
|
});
|
|
90405
|
-
const SheetTabBar = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
90516
|
+
const SheetTabBar = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-63f412ce"]]);
|
|
90406
90517
|
function readRuntimePrintSheets(record) {
|
|
90407
90518
|
return record.context.sheets.map((sheet) => {
|
|
90408
90519
|
if (sheet.status !== "ready" || sheet.paginationError || sheet.paginationDirty) {
|
|
@@ -90831,8 +90942,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
90831
90942
|
printTask = (async () => {
|
|
90832
90943
|
if (document.activeElement instanceof HTMLElement) document.activeElement.blur();
|
|
90833
90944
|
await nextTick();
|
|
90834
|
-
const { printRuntimeInstance } = await import("./print-runtime-instance-
|
|
90835
|
-
const { default: renderer } = await import("./print-snapshot-renderer-
|
|
90945
|
+
const { printRuntimeInstance } = await import("./print-runtime-instance-D3BJGzia.js");
|
|
90946
|
+
const { default: renderer } = await import("./print-snapshot-renderer-MzkjvlA8.js");
|
|
90836
90947
|
if (abort.signal.aborted) throw new Error("打印已取消");
|
|
90837
90948
|
printRenderer.value = markRaw(renderer);
|
|
90838
90949
|
await printRuntimeInstance(
|
|
@@ -90949,16 +91060,16 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
90949
91060
|
navigationHostDisposers.forEach((dispose) => dispose());
|
|
90950
91061
|
navigationHostDisposers.clear();
|
|
90951
91062
|
});
|
|
90952
|
-
const getRenderScrollElement = (
|
|
90953
|
-
const target =
|
|
91063
|
+
const getRenderScrollElement = (source) => {
|
|
91064
|
+
const target = source instanceof Event ? source.currentTarget : source;
|
|
90954
91065
|
if (!(target instanceof HTMLElement)) return null;
|
|
90955
91066
|
return target.closest(".nocode-document-layout-wrapper")?.querySelector(".nocode-document-layout-container");
|
|
90956
91067
|
};
|
|
90957
|
-
const handleSheetChange = async (uniqueId, sheetId,
|
|
91068
|
+
const handleSheetChange = async (uniqueId, sheetId, source) => {
|
|
90958
91069
|
const record = runtimeRegistry.require(uniqueId);
|
|
90959
91070
|
const controller = record.controller;
|
|
90960
91071
|
if (record.context.activeSheetId === sheetId || controller?.switching) return;
|
|
90961
|
-
const scrollElement = getRenderScrollElement(
|
|
91072
|
+
const scrollElement = getRenderScrollElement(source);
|
|
90962
91073
|
try {
|
|
90963
91074
|
if (!controller) throw new Error(`运行时实例「${uniqueId}」缺少 Sheet 控制器`);
|
|
90964
91075
|
if (document.activeElement instanceof HTMLElement) document.activeElement.blur();
|
|
@@ -91048,7 +91159,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
91048
91159
|
};
|
|
91049
91160
|
}
|
|
91050
91161
|
});
|
|
91051
|
-
const previewContainer = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-
|
|
91162
|
+
const previewContainer = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-f233c660"]]);
|
|
91052
91163
|
const UNIQUE_KEY = "online-form-web-render-form-version-diff-iframe-util";
|
|
91053
91164
|
const _hoisted_1$9 = ["src"];
|
|
91054
91165
|
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|