@gct-paas/excel 0.1.33-beta.2 → 0.1.33-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-iMG-slZ6.js → BaseComponent-B2hP5Pw4.js} +1 -1
- package/dist/{barcode-design-BR54lzNP.js → barcode-design-BqIBQDqn.js} +1 -1
- package/dist/base/index.es.js +24 -20
- package/dist/{diagonal-design-CJWfwmxE.js → diagonal-design-BkuiWsT9.js} +1 -1
- package/dist/{dynamic-table-action-CmCkKNy1.js → dynamic-table-action-CZyU0uX-.js} +66 -32
- package/dist/excel.css +141 -54
- package/dist/{exceljs.min-CPqsNaat.js → exceljs.min-B2yMJJSO.js} +1 -1
- package/dist/{font-editor-BascUFg2.js → font-editor-Bhq8_nP8.js} +1 -1
- package/dist/{index-DR2i2wAk.js → index-B4NdWTOz.js} +1 -1
- package/dist/{index-CO3IUige.js → index-BWhvLFuS.js} +2 -2
- package/dist/{index-Cz5LjlUS.js → index-Bday1WBV.js} +1 -1
- package/dist/{index-AB4yCMyX.js → index-BiyCBnHO.js} +1 -1
- package/dist/{index-B4O876kc.js → index-BmSqi0nn.js} +2 -2
- package/dist/{index-xkbxNAKp.js → index-Buys_3U5.js} +1 -1
- package/dist/{index-EpRxP-KJ.js → index-BwaCvy6l.js} +1 -1
- package/dist/{index-CFuJks3C.js → index-Bx19JyfY.js} +1 -1
- package/dist/{index-Dd2Vzf8C.js → index-C6lVuYjH.js} +1 -1
- package/dist/{index-CCXNE6Ql.js → index-CM8l268J.js} +1 -1
- package/dist/{index-BpIDnEb4.js → index-CV3riQ3c.js} +4 -1
- package/dist/{index-DIBG4TOH.js → index-CfGEDuF1.js} +1 -1
- package/dist/{index-2cn_RO0y.js → index-CmIhi6Su.js} +2 -2
- package/dist/{index-DwXGYgpd.js → index-Cmh_28Hs.js} +1 -1
- package/dist/{index-CzST9LRd.js → index-CwEgjuxx.js} +1 -1
- package/dist/{index-C17RBnDD.js → index-D9MOQLTY.js} +1 -1
- package/dist/{index-DL0STF2C.js → index-Dq4VxDIZ.js} +1 -1
- package/dist/{index-DyYU91oc.js → index-DtWqWakF.js} +1 -1
- package/dist/{index-Dsg2tRIM.js → index-M-BT6Mb0.js} +2 -2
- package/dist/{index-w1K0Xebt.js → index-M-byfdiF.js} +1 -1
- package/dist/{index-Cjnc37XN.js → index-SB9y5m0H.js} +2 -2
- package/dist/{index-BrTAmCnc.js → index-Tw10Pcrk.js} +1 -1
- package/dist/{index-D_jEtEOJ.js → index-i4OH7WEx.js} +986 -645
- package/dist/index.es.js +1 -1
- package/dist/{pagination-design-BQ-_HVZH.js → pagination-design-BlxYaew2.js} +1 -1
- package/dist/paper-widget-design-wrFvO7Dq.js +4 -0
- package/dist/{qrcode-design-CKvV5FgN.js → qrcode-design-BWupHh6k.js} +1 -1
- package/dist/{single-field-drop-Do6tRaIk.js → single-field-drop-B26XDPsU.js} +1 -1
- package/dist/src/adapter/adapter.d.ts +6 -1
- package/dist/src/nocode-base/src/hooks/useCalcFunction.d.ts +3 -0
- package/dist/src/nocode-base/src/types/fields/i-sign.d.ts +10 -0
- package/dist/src/nocode-base/src/types/fields/index.d.ts +1 -1
- package/dist/src/online-form/src/views/render/__components__/_common_/widget-component.vue.d.ts +3 -1
- package/dist/src/shared/components/Signature/types/index.d.ts +2 -0
- package/dist/{text-design-C8QBoCib.js → text-design-BZdgEMzq.js} +1 -1
- package/dist/{trace-like-wrapper-fqCKv1tP.js → trace-like-wrapper-CDvm5U29.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-BiFdaVMQ.js → value-editor.vue_vue_type_style_index_0_lang-CzUVMyDu.js} +1 -1
- package/dist/{widget-barcode-DWJWHhHw.js → widget-barcode-gP8W3DXl.js} +2 -2
- package/dist/{widget-diagonal-ChaNFnER.js → widget-diagonal-CtJoLiKo.js} +2 -2
- package/dist/{widget-image-B6V9q5Dd.js → widget-image-CY7PHvI6.js} +1 -1
- package/dist/{widget-line-8n0EWml2.js → widget-line-DE0G3Zr6.js} +1 -1
- package/dist/{widget-pagination-CVgdkFav.js → widget-pagination-MJ-CtnWn.js} +2 -2
- package/dist/{widget-power-CRvjhBum.js → widget-power-BFKBLkF5.js} +2 -2
- package/dist/{widget-qrcode-DPP5sjhy.js → widget-qrcode-ChM7UInm.js} +2 -2
- package/dist/{widget-rangelimit-ceyBLia0.js → widget-rangelimit-D7tsCL8x.js} +2 -2
- package/dist/{widget-serialnumber-NUpJm-iS.js → widget-serialnumber-BkdIJ6rG.js} +1 -1
- package/dist/{widget-text-B9yOrDvs.js → widget-text-UmCluu4T.js} +3 -3
- package/dist/{widget-timediff-BKWA2ekE.js → widget-timediff-CWRjMEL9.js} +1 -1
- package/package.json +1 -1
- package/dist/paper-widget-design-STFSgVx4.js +0 -4
|
@@ -5,10 +5,10 @@ import { range, cloneDeep, get as get$3, merge, isEmpty, zip, pick, debounce, om
|
|
|
5
5
|
import dayjs from "dayjs";
|
|
6
6
|
import * as Antd from "ant-design-vue";
|
|
7
7
|
import { message, Modal, 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 { S as SEARCH_SEVICE, I as Icon$1, w as warning, u as useInsertStyles, s as svgBaseProps, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$
|
|
8
|
+
import { S as SEARCH_SEVICE, I as Icon$1, w as warning, u as useInsertStyles, s as svgBaseProps, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$69 } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-Dxi-5wnV.js";
|
|
9
9
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
10
|
-
import { n as normalizeFieldWidth, B as BorderTD, u as useFormTmplConfig, D as DeviceLinkTmplUtil, a as useTmplBom, g as getObjectBomMaterialLotQuery, b as buildObjectLotExtraQuery, r as resolveObjectFieldKeys, M as MaterialConsumptionPatternEnum, v as validateObjectBomForScan, c as resolveObjectBomEntry, d as runWithFillProduct, e as applyConsumeObjectTraceChange, i as isEdhrSuite, I as InstanceStatusValues, f as fetchUdi, h as fetchOperationReceiveQty, j as getObjectBomProductQuery, E as EMPTY_PRODUCT_VERSION_ID, k as useStyles, l as useValidator, S as ScanParamType, R as RequiredQtyCalcRule, _ as _sfc_main$
|
|
11
|
-
import { u as useWebUpload, i as initWebPaasUploadApis, d as defaultWindow, a as useEventListener, b as unrefElement, r as require$$0, U as Uploader, c as useIntersectionObserver, e as cacheAdapter, A as AddRuleBtn, M as ModalWrapper, F as FormFieldSelect, o as onClickOutside$1, _ as _sfc_main$
|
|
10
|
+
import { n as normalizeFieldWidth, B as BorderTD, u as useFormTmplConfig, D as DeviceLinkTmplUtil, a as useTmplBom, g as getObjectBomMaterialLotQuery, b as buildObjectLotExtraQuery, r as resolveObjectFieldKeys, M as MaterialConsumptionPatternEnum, v as validateObjectBomForScan, c as resolveObjectBomEntry, d as runWithFillProduct, e as applyConsumeObjectTraceChange, i as isEdhrSuite, I as InstanceStatusValues, f as fetchUdi, h as fetchOperationReceiveQty, j as getObjectBomProductQuery, E as EMPTY_PRODUCT_VERSION_ID, k as useStyles, l as useValidator, S as ScanParamType, R as RequiredQtyCalcRule, m as registerFormulaFuncs, _ as _sfc_main$6b, o as DocumentPaper, p as DynamicTableAction } from "./dynamic-table-action-CZyU0uX-.js";
|
|
11
|
+
import { u as useWebUpload, i as initWebPaasUploadApis, d as defaultWindow, a as useEventListener, b as unrefElement, r as require$$0, U as Uploader, c as useIntersectionObserver, e as cacheAdapter, A as AddRuleBtn, M as ModalWrapper, F as FormFieldSelect, o as onClickOutside$1, _ as _sfc_main$6a, f as initWebNocodeAdapter } from "./index-B93hJuCY.js";
|
|
12
12
|
import { useFormBaseModal, FormBaseModalPlugin } from "@gct-paas/form-base";
|
|
13
13
|
import { Tooltip, Grid, Table, Column, Icon as Icon$2, Edit, Validator, VxeGrid } from "vxe-table";
|
|
14
14
|
import { u as useFormModel, F as FormModelController } from "./mb-render-lZnQMwuY.js";
|
|
@@ -1249,7 +1249,7 @@ function openWindow(url, opt) {
|
|
|
1249
1249
|
const FieldPropLabels = Object.entries(FIELD_PROP_LABEL_MAP);
|
|
1250
1250
|
const FieldTypeLabels = Object.entries(FIELD_TYPE_LABEL_MAP);
|
|
1251
1251
|
async function createWorkbook() {
|
|
1252
|
-
const ExcelJs = (await import("./exceljs.min-
|
|
1252
|
+
const ExcelJs = (await import("./exceljs.min-B2yMJJSO.js").then((n) => n.e)).default;
|
|
1253
1253
|
return new ExcelJs.Workbook();
|
|
1254
1254
|
}
|
|
1255
1255
|
class XlsxParser {
|
|
@@ -1536,27 +1536,27 @@ class XlsxParser {
|
|
|
1536
1536
|
}
|
|
1537
1537
|
function asyncImportClassModules() {
|
|
1538
1538
|
const modules = /* @__PURE__ */ Object.assign({
|
|
1539
|
-
"./_field_/auto-complete/index.ts": () => import("./index-
|
|
1540
|
-
"./_field_/datepicker/index.ts": () => import("./index-
|
|
1541
|
-
"./_field_/datetimepicker/index.ts": () => import("./index-
|
|
1542
|
-
"./_field_/department/index.ts": () => import("./index-
|
|
1543
|
-
"./_field_/enum-select/index.ts": () => import("./index-
|
|
1544
|
-
"./_field_/input/index.ts": () => import("./index-
|
|
1545
|
-
"./_field_/inputdouble/index.ts": () => import("./index-
|
|
1546
|
-
"./_field_/inputnumber/index.ts": () => import("./index-
|
|
1547
|
-
"./_field_/rdo-select/index.ts": () => import("./index-
|
|
1548
|
-
"./_field_/select/index.ts": () => import("./index-
|
|
1549
|
-
"./_field_/sign/index.ts": () => import("./index-
|
|
1550
|
-
"./_field_/switch/index.ts": () => import("./index-
|
|
1551
|
-
"./_field_/textarea/index.ts": () => import("./index-
|
|
1552
|
-
"./_field_/timepicker/index.ts": () => import("./index-
|
|
1553
|
-
"./_field_/upload-file/index.ts": () => import("./index-
|
|
1554
|
-
"./_field_/upload-image/index.ts": () => import("./index-
|
|
1555
|
-
"./_field_/userpicker/index.ts": () => import("./index-
|
|
1539
|
+
"./_field_/auto-complete/index.ts": () => import("./index-M-BT6Mb0.js").then((m) => m["default"]),
|
|
1540
|
+
"./_field_/datepicker/index.ts": () => import("./index-Tw10Pcrk.js").then((m) => m["default"]),
|
|
1541
|
+
"./_field_/datetimepicker/index.ts": () => import("./index-DtWqWakF.js").then((m) => m["default"]),
|
|
1542
|
+
"./_field_/department/index.ts": () => import("./index-B4NdWTOz.js").then((m) => m["default"]),
|
|
1543
|
+
"./_field_/enum-select/index.ts": () => import("./index-BmSqi0nn.js").then((m) => m["default"]),
|
|
1544
|
+
"./_field_/input/index.ts": () => import("./index-C6lVuYjH.js").then((m) => m["default"]),
|
|
1545
|
+
"./_field_/inputdouble/index.ts": () => import("./index-BiyCBnHO.js").then((m) => m["default"]),
|
|
1546
|
+
"./_field_/inputnumber/index.ts": () => import("./index-Bx19JyfY.js").then((m) => m["default"]),
|
|
1547
|
+
"./_field_/rdo-select/index.ts": () => import("./index-BWhvLFuS.js").then((m) => m["default"]),
|
|
1548
|
+
"./_field_/select/index.ts": () => import("./index-SB9y5m0H.js").then((m) => m["default"]),
|
|
1549
|
+
"./_field_/sign/index.ts": () => import("./index-CV3riQ3c.js").then((m) => m["default"]),
|
|
1550
|
+
"./_field_/switch/index.ts": () => import("./index-CmIhi6Su.js").then((m) => m["default"]),
|
|
1551
|
+
"./_field_/textarea/index.ts": () => import("./index-Buys_3U5.js").then((m) => m["default"]),
|
|
1552
|
+
"./_field_/timepicker/index.ts": () => import("./index-D9MOQLTY.js").then((m) => m["default"]),
|
|
1553
|
+
"./_field_/upload-file/index.ts": () => import("./index-M-byfdiF.js").then((m) => m["default"]),
|
|
1554
|
+
"./_field_/upload-image/index.ts": () => import("./index-CM8l268J.js").then((m) => m["default"]),
|
|
1555
|
+
"./_field_/userpicker/index.ts": () => import("./index-CfGEDuF1.js").then((m) => m["default"]),
|
|
1556
1556
|
"./_widget_/barcode/index.ts": () => import("./index-Bs12lNOF.js").then((m) => m["default"]),
|
|
1557
|
-
"./_widget_/combine-fields/index.ts": () => import("./index-
|
|
1558
|
-
"./_widget_/diagonal/index.ts": () => import("./index-
|
|
1559
|
-
"./_widget_/dyn-value/index.ts": () => import("./index-
|
|
1557
|
+
"./_widget_/combine-fields/index.ts": () => import("./index-Cmh_28Hs.js").then((m) => m["default"]),
|
|
1558
|
+
"./_widget_/diagonal/index.ts": () => import("./index-Dq4VxDIZ.js").then((m) => m["default"]),
|
|
1559
|
+
"./_widget_/dyn-value/index.ts": () => import("./index-Bday1WBV.js").then((m) => m["default"]),
|
|
1560
1560
|
"./_widget_/image/index.ts": () => import("./index-CBWRF4iQ.js").then((m) => m["default"]),
|
|
1561
1561
|
"./_widget_/line/index.ts": () => import("./index-m1firQQM.js").then((m) => m["default"]),
|
|
1562
1562
|
"./_widget_/power/index.ts": () => import("./index-0naSKwsT.js").then((m) => m["default"]),
|
|
@@ -1566,8 +1566,8 @@ function asyncImportClassModules() {
|
|
|
1566
1566
|
"./_widget_/sub-table/index.ts": () => import("./index-QOhjFhUU.js").then((m) => m["default"]),
|
|
1567
1567
|
"./_widget_/timediff/index.ts": () => import("./index-D1uEF2Q-.js").then((m) => m["default"]),
|
|
1568
1568
|
"./paper/index.ts": () => import("./index-CbVXT1EA.js").then((m) => m["default"]),
|
|
1569
|
-
"./td/index.ts": () => import("./index-
|
|
1570
|
-
"./tr/index.ts": () => import("./index-
|
|
1569
|
+
"./td/index.ts": () => import("./index-BwaCvy6l.js").then((m) => m["default"]),
|
|
1570
|
+
"./tr/index.ts": () => import("./index-CwEgjuxx.js").then((m) => m["default"])
|
|
1571
1571
|
});
|
|
1572
1572
|
return modules;
|
|
1573
1573
|
}
|
|
@@ -3153,8 +3153,8 @@ function useModelFields() {
|
|
|
3153
3153
|
function isPresetField(field) {
|
|
3154
3154
|
return [CreateType.BUILTIN, CreateType.SYSTEM].includes(field.createType);
|
|
3155
3155
|
}
|
|
3156
|
-
const _hoisted_1$
|
|
3157
|
-
const _sfc_main$
|
|
3156
|
+
const _hoisted_1$3p = { class: "p24px" };
|
|
3157
|
+
const _sfc_main$68 = /* @__PURE__ */ defineComponent({
|
|
3158
3158
|
__name: "add-sheet",
|
|
3159
3159
|
props: {
|
|
3160
3160
|
modal: {},
|
|
@@ -3180,7 +3180,7 @@ const _sfc_main$67 = /* @__PURE__ */ defineComponent({
|
|
|
3180
3180
|
const _component_a_input = resolveComponent("a-input");
|
|
3181
3181
|
const _component_a_form_item = resolveComponent("a-form-item");
|
|
3182
3182
|
const _component_a_form = resolveComponent("a-form");
|
|
3183
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3183
|
+
return openBlock(), createElementBlock("div", _hoisted_1$3p, [
|
|
3184
3184
|
createVNode(_component_a_form, {
|
|
3185
3185
|
ref_key: "formRef",
|
|
3186
3186
|
ref: formRef,
|
|
@@ -9186,7 +9186,7 @@ const useAllSpreadSheets = () => {
|
|
|
9186
9186
|
};
|
|
9187
9187
|
const addSheet = async (data) => {
|
|
9188
9188
|
const res = await window.NocodeAdapter.utils.overlay.modal(
|
|
9189
|
-
_sfc_main$
|
|
9189
|
+
_sfc_main$68,
|
|
9190
9190
|
{
|
|
9191
9191
|
data,
|
|
9192
9192
|
validator: (rule, value) => {
|
|
@@ -9544,7 +9544,7 @@ const useAllSpreadSheets = () => {
|
|
|
9544
9544
|
removeField: removeField2
|
|
9545
9545
|
};
|
|
9546
9546
|
};
|
|
9547
|
-
const _sfc_main$
|
|
9547
|
+
const _sfc_main$67 = /* @__PURE__ */ defineComponent({
|
|
9548
9548
|
__name: "table-modal",
|
|
9549
9549
|
props: {
|
|
9550
9550
|
type: { default: SubTableType.DEFAULT }
|
|
@@ -9748,7 +9748,7 @@ const _sfc_main$66 = /* @__PURE__ */ defineComponent({
|
|
|
9748
9748
|
};
|
|
9749
9749
|
}
|
|
9750
9750
|
});
|
|
9751
|
-
const _sfc_main$
|
|
9751
|
+
const _sfc_main$66 = /* @__PURE__ */ defineComponent({
|
|
9752
9752
|
__name: "thead-modal",
|
|
9753
9753
|
setup(__props) {
|
|
9754
9754
|
const { selection: selection2, paper: paper2, platformType: platformType2, isTextOnlineForm: isTextOnlineForm2 } = useSpreadSheet();
|
|
@@ -10104,10 +10104,13 @@ const __vite_glob_0_11$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
|
|
|
10104
10104
|
const config$3 = {
|
|
10105
10105
|
category: CellWidgetCategory.Signature,
|
|
10106
10106
|
renderComp: CellWidgetRenderComp.Signature,
|
|
10107
|
+
signatureConfigVersion: 2,
|
|
10107
10108
|
signatureType: SignatureTypeEnum.SIGNATURE_ONLY,
|
|
10108
10109
|
signDisplayStyle: SignShowTypeEnum.VERTICAL,
|
|
10109
10110
|
signTimeType: SignatureTimeTypeEnum.FOLLOW_SIGNATURE,
|
|
10110
10111
|
populateFields: [],
|
|
10112
|
+
autofillRules: [],
|
|
10113
|
+
enableAutofill: false,
|
|
10111
10114
|
signatureNumber: SignatureNumberTypeEnum.SIGNATURE_MULTIPLE,
|
|
10112
10115
|
fallbackSignType: FallbackSignTypeEnum.NAME_AND_DATE,
|
|
10113
10116
|
signatureImageDirection: SignatureImageDirectionEnum.HORIZONTAL
|
|
@@ -10281,7 +10284,7 @@ function parseHtml(html) {
|
|
|
10281
10284
|
mergedCells
|
|
10282
10285
|
};
|
|
10283
10286
|
}
|
|
10284
|
-
const _sfc_main$
|
|
10287
|
+
const _sfc_main$65 = /* @__PURE__ */ defineComponent({
|
|
10285
10288
|
__name: "field-edit-modal",
|
|
10286
10289
|
props: {
|
|
10287
10290
|
field: {}
|
|
@@ -10371,7 +10374,7 @@ const _sfc_main$64 = /* @__PURE__ */ defineComponent({
|
|
|
10371
10374
|
};
|
|
10372
10375
|
}
|
|
10373
10376
|
});
|
|
10374
|
-
const FieldEditModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10377
|
+
const FieldEditModal = /* @__PURE__ */ _export_sfc(_sfc_main$65, [["__scopeId", "data-v-1eaa22cd"]]);
|
|
10375
10378
|
let doc$1;
|
|
10376
10379
|
const topPublishVersions = ref([]);
|
|
10377
10380
|
const currentVersion = ref();
|
|
@@ -11308,7 +11311,7 @@ function useSpreadSheet() {
|
|
|
11308
11311
|
}
|
|
11309
11312
|
if (checkSelectionConflict(selection$1)) return;
|
|
11310
11313
|
const { ok, data } = await window.NocodeAdapter.utils.overlay.modal(
|
|
11311
|
-
_sfc_main$
|
|
11314
|
+
_sfc_main$67,
|
|
11312
11315
|
{ type },
|
|
11313
11316
|
{ title: `添加${$t("sys.onlineForm.subTableType." + type)}`, width: "640px" }
|
|
11314
11317
|
);
|
|
@@ -11380,7 +11383,7 @@ function useSpreadSheet() {
|
|
|
11380
11383
|
return;
|
|
11381
11384
|
}
|
|
11382
11385
|
const { ok, data } = await window.NocodeAdapter.utils.overlay.modal(
|
|
11383
|
-
_sfc_main$
|
|
11386
|
+
_sfc_main$66,
|
|
11384
11387
|
{},
|
|
11385
11388
|
{
|
|
11386
11389
|
title: $t("sys.onlineForm.addHeader"),
|
|
@@ -12718,7 +12721,7 @@ function useSpreadSheet() {
|
|
|
12718
12721
|
copyAndNew
|
|
12719
12722
|
};
|
|
12720
12723
|
}
|
|
12721
|
-
const _sfc_main$
|
|
12724
|
+
const _sfc_main$64 = /* @__PURE__ */ defineComponent({
|
|
12722
12725
|
__name: "padding-line",
|
|
12723
12726
|
setup(__props) {
|
|
12724
12727
|
const { paper: paper2 } = useSpreadSheet();
|
|
@@ -12752,7 +12755,7 @@ const _sfc_main$63 = /* @__PURE__ */ defineComponent({
|
|
|
12752
12755
|
};
|
|
12753
12756
|
}
|
|
12754
12757
|
});
|
|
12755
|
-
const _sfc_main$
|
|
12758
|
+
const _sfc_main$63 = /* @__PURE__ */ defineComponent({
|
|
12756
12759
|
__name: "page-line",
|
|
12757
12760
|
setup(__props) {
|
|
12758
12761
|
const { paper: paper2, paperLayout: paperLayout2 } = useSpreadSheet();
|
|
@@ -12790,7 +12793,7 @@ new ResizeObserver((entries) => {
|
|
|
12790
12793
|
}
|
|
12791
12794
|
}
|
|
12792
12795
|
});
|
|
12793
|
-
const _sfc_main$
|
|
12796
|
+
const _sfc_main$62 = /* @__PURE__ */ defineComponent({
|
|
12794
12797
|
__name: "sheet-tr",
|
|
12795
12798
|
setup(__props) {
|
|
12796
12799
|
const TrRef = ref();
|
|
@@ -12854,7 +12857,7 @@ function useCellInlineEditor() {
|
|
|
12854
12857
|
endInlineInsertOverlay
|
|
12855
12858
|
};
|
|
12856
12859
|
}
|
|
12857
|
-
const _sfc_main$
|
|
12860
|
+
const _sfc_main$61 = /* @__PURE__ */ defineComponent({
|
|
12858
12861
|
__name: "param-modal",
|
|
12859
12862
|
props: {
|
|
12860
12863
|
isEdit: { type: Boolean },
|
|
@@ -13075,7 +13078,7 @@ function useParam() {
|
|
|
13075
13078
|
};
|
|
13076
13079
|
async function addParam() {
|
|
13077
13080
|
const { ok, data } = await window.NocodeAdapter.utils.overlay.modal(
|
|
13078
|
-
_sfc_main$
|
|
13081
|
+
_sfc_main$61,
|
|
13079
13082
|
{},
|
|
13080
13083
|
{ title: $t("sys.bi.param.add"), width: "640px", zIndex: 1500 }
|
|
13081
13084
|
);
|
|
@@ -13085,7 +13088,7 @@ function useParam() {
|
|
|
13085
13088
|
}
|
|
13086
13089
|
async function editParam(param) {
|
|
13087
13090
|
const { ok, data } = await window.NocodeAdapter.utils.overlay.modal(
|
|
13088
|
-
_sfc_main$
|
|
13091
|
+
_sfc_main$61,
|
|
13089
13092
|
{ isEdit: true, param },
|
|
13090
13093
|
{ title: $t("sys.onlineForm.modifyParameters"), width: "640px", zIndex: 1500 }
|
|
13091
13094
|
);
|
|
@@ -13139,7 +13142,7 @@ function isParamBindField(field) {
|
|
|
13139
13142
|
(item) => item.toModel === field.model && item.toField === field.field
|
|
13140
13143
|
);
|
|
13141
13144
|
}
|
|
13142
|
-
const _sfc_main$
|
|
13145
|
+
const _sfc_main$60 = /* @__PURE__ */ defineComponent({
|
|
13143
13146
|
__name: "fake-input",
|
|
13144
13147
|
props: {
|
|
13145
13148
|
fieldWidget: {},
|
|
@@ -13209,9 +13212,9 @@ const _sfc_main$5$ = /* @__PURE__ */ defineComponent({
|
|
|
13209
13212
|
};
|
|
13210
13213
|
}
|
|
13211
13214
|
});
|
|
13212
|
-
const FakeInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13213
|
-
const _hoisted_1$
|
|
13214
|
-
const _hoisted_2$
|
|
13215
|
+
const FakeInput = /* @__PURE__ */ _export_sfc(_sfc_main$60, [["__scopeId", "data-v-8540f4cf"]]);
|
|
13216
|
+
const _hoisted_1$3o = { class: "fake-number-input__field" };
|
|
13217
|
+
const _hoisted_2$2n = {
|
|
13215
13218
|
key: 0,
|
|
13216
13219
|
class: "fake-number-input__script"
|
|
13217
13220
|
};
|
|
@@ -13223,7 +13226,7 @@ const _hoisted_4$1g = {
|
|
|
13223
13226
|
key: 1,
|
|
13224
13227
|
class: "fake-number-input__sub"
|
|
13225
13228
|
};
|
|
13226
|
-
const _sfc_main$
|
|
13229
|
+
const _sfc_main$5$ = /* @__PURE__ */ defineComponent({
|
|
13227
13230
|
__name: "fake-number-input",
|
|
13228
13231
|
props: {
|
|
13229
13232
|
fieldWidget: {},
|
|
@@ -13257,7 +13260,7 @@ const _sfc_main$5_ = /* @__PURE__ */ defineComponent({
|
|
|
13257
13260
|
return openBlock(), createElementBlock("div", {
|
|
13258
13261
|
class: normalizeClass(["fake-number-input", { "fake-number-input--disabled": __props.disabled }])
|
|
13259
13262
|
}, [
|
|
13260
|
-
createElementVNode("div", _hoisted_1$
|
|
13263
|
+
createElementVNode("div", _hoisted_1$3o, [
|
|
13261
13264
|
createElementVNode("span", {
|
|
13262
13265
|
class: normalizeClass([
|
|
13263
13266
|
"fake-number-input__text",
|
|
@@ -13265,14 +13268,14 @@ const _sfc_main$5_ = /* @__PURE__ */ defineComponent({
|
|
|
13265
13268
|
])
|
|
13266
13269
|
}, toDisplayString$1(displayText.value), 3)
|
|
13267
13270
|
]),
|
|
13268
|
-
isRenderScript.value ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
13271
|
+
isRenderScript.value ? (openBlock(), createElementBlock("span", _hoisted_2$2n, [
|
|
13269
13272
|
isSuperScript.value ? (openBlock(), createElementBlock("sup", _hoisted_3$1Q, toDisplayString$1(scriptValue.value), 1)) : (openBlock(), createElementBlock("sub", _hoisted_4$1g, toDisplayString$1(scriptValue.value), 1))
|
|
13270
13273
|
])) : createCommentVNode("", true)
|
|
13271
13274
|
], 2);
|
|
13272
13275
|
};
|
|
13273
13276
|
}
|
|
13274
13277
|
});
|
|
13275
|
-
const FakeNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13278
|
+
const FakeNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$5$, [["__scopeId", "data-v-e439df69"]]);
|
|
13276
13279
|
const date = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='&%23230;&%23151;&%23165;&%23230;&%23156;&%23159;'%20clip-path='url(%23clip0_0_26)'%3e%3cpath%20id='Vector%20(Stroke)'%20d='M12.0413%206.04134H1.95833V11.9583C1.95833%2012.0043%201.99546%2012.0412%202.04134%2012.0413H11.9583C12.0044%2012.0413%2012.0413%2012.0044%2012.0413%2011.9583V6.04134ZM12.0413%202.91634C12.0412%202.87046%2012.0043%202.83333%2011.9583%202.83333H9.83333V3.79134C9.83333%204.06748%209.60948%204.29134%209.33333%204.29134C9.05719%204.29134%208.83333%204.06748%208.83333%203.79134V2.83333H5.16634V3.79134C5.16634%204.06748%204.94248%204.29134%204.66634%204.29134C4.39035%204.29116%204.16634%204.06737%204.16634%203.79134V2.83333H2.04134C1.99558%202.83351%201.95851%202.87058%201.95833%202.91634V5.04134H12.0413V2.91634ZM13.0413%2011.9583C13.0413%2012.5566%2012.5567%2013.0413%2011.9583%2013.0413H2.04134C1.44319%2013.0412%200.958333%2012.5565%200.958333%2011.9583V2.91634C0.958509%202.31829%201.44329%201.83351%202.04134%201.83333H4.16634V1.45833C4.16634%201.1823%204.39035%200.958509%204.66634%200.958333C4.94248%200.958333%205.16634%201.18219%205.16634%201.45833V1.83333H8.83333V1.45833C8.83333%201.18219%209.05719%200.958334%209.33333%200.958333C9.60948%200.958333%209.83333%201.18219%209.83333%201.45833V1.83333H11.9583C12.5565%201.83333%2013.0412%202.31819%2013.0413%202.91634V11.9583Z'%20fill='%23B1B4BA'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_0_26'%3e%3crect%20width='14'%20height='14'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
13277
13280
|
const time = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='&%23230;&%23151;&%23182;&%23233;&%23151;&%23180;'%20clip-path='url(%23clip0_0_28)'%3e%3cpath%20id='Vector%20(Stroke)'%20d='M12.3336%206.99966C12.3335%204.05429%209.94508%201.66666%206.99966%201.66666C4.0544%201.66683%201.66683%204.0544%201.66666%206.99966C1.66666%209.94508%204.05429%2012.3335%206.99966%2012.3336C9.94518%2012.3336%2012.3336%209.94518%2012.3336%206.99966ZM6.50259%203.99966C6.50278%203.72368%206.72656%203.49966%207.00259%203.49966C7.2784%203.49993%207.50241%203.72384%207.50259%203.99966V7.29263L8.85611%208.64615C9.05116%208.84128%209.05093%209.15791%208.85611%209.35318C8.66085%209.54844%208.34336%209.54844%208.1481%209.35318L6.6481%207.85318C6.55459%207.75945%206.50259%207.63208%206.50259%207.49966V3.99966ZM13.3336%206.99966C13.3336%2010.4975%2010.4975%2013.3336%206.99966%2013.3336C3.50201%2013.3335%200.666656%2010.4974%200.666656%206.99966C0.666833%203.50212%203.50212%200.666833%206.99966%200.666656C10.4974%200.666656%2013.3335%203.50201%2013.3336%206.99966Z'%20fill='%23B1B4BA'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_0_28'%3e%3crect%20width='14'%20height='14'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
13278
13281
|
const datetime$1 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='&%23230;&%23151;&%23165;&%23230;&%23156;&%23159;&%23230;&%23151;&%23182;&%23233;&%23151;&%23180;'%20clip-path='url(%23clip0_0_38)'%3e%3cpath%20id='Vector%20(Stroke)'%20d='M12.5003%2010.0003C12.5003%208.61972%2011.3809%207.50049%2010.0003%207.50033C8.61961%207.50033%207.50033%208.61961%207.50033%2010.0003C7.5005%2011.3809%208.61972%2012.5003%2010.0003%2012.5003C11.3808%2012.5002%2012.5001%2011.3808%2012.5003%2010.0003ZM9.50033%208.50033C9.50033%208.22418%209.72418%208.00033%2010.0003%208.00033C10.2763%208.00049%2010.5003%208.22429%2010.5003%208.50033V9.95931L11.1038%2010.5628C11.299%2010.758%2011.2988%2011.0746%2011.1038%2011.2699C10.9086%2011.4651%2010.5921%2011.4651%2010.3968%2011.2699L9.64681%2010.5199C9.55304%2010.4261%209.50033%2010.2989%209.50033%2010.1663V8.50033ZM12.0413%202.91634C12.0412%202.87047%2012.0042%202.83333%2011.9583%202.83333H9.83333V3.79134C9.83333%204.06748%209.60948%204.29134%209.33333%204.29134C9.05719%204.29134%208.83333%204.06748%208.83333%203.79134V2.83333H5.16634V3.79134C5.16634%204.06748%204.94248%204.29134%204.66634%204.29134C4.39035%204.29116%204.16634%204.06737%204.16634%203.79134V2.83333H2.04134C1.99558%202.83351%201.95851%202.87058%201.95833%202.91634V11.9583C1.95833%2012.0043%201.99546%2012.0412%202.04134%2012.0413H6.50033V13.0413H2.04134C1.44319%2013.0412%200.958333%2012.5565%200.958333%2011.9583V2.91634C0.958515%202.3183%201.4433%201.83351%202.04134%201.83333H4.16634V1.45833C4.16634%201.1823%204.39035%200.958509%204.66634%200.958333C4.94248%200.958333%205.16634%201.18219%205.16634%201.45833V1.83333H8.83333V1.45833C8.83333%201.18219%209.05719%200.958334%209.33333%200.958333C9.60948%200.958333%209.83333%201.18219%209.83333%201.45833V1.83333H11.9583C12.5565%201.83333%2013.0412%202.31819%2013.0413%202.91634V6.00033H12.0413V2.91634ZM13.5003%2010.0003C13.5001%2011.9331%2011.9331%2013.5002%2010.0003%2013.5003C8.06744%2013.5003%206.5005%2011.9332%206.50033%2010.0003C6.50033%208.06733%208.06733%206.50033%2010.0003%206.50033C11.9332%206.50049%2013.5003%208.06743%2013.5003%2010.0003Z'%20fill='%23B1B4BA'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_0_38'%3e%3crect%20width='14'%20height='14'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
@@ -13283,8 +13286,8 @@ const select = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflo
|
|
|
13283
13286
|
const attachmentFilled = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Frame'%3e%3cpath%20id='Vector'%20d='M7.21018%202.11558L2.20874%207.11702C1.02494%208.30081%201.02494%2010.2201%202.20874%2011.4039C3.39253%2012.5877%205.31186%2012.5877%206.49566%2011.4039L12.4497%205.44986C13.2389%204.66067%2013.2389%203.38112%2012.4497%202.5919C11.6606%201.8027%2010.381%201.8027%209.59178%202.5919L3.63773%208.54598C3.24312%208.94059%203.24312%209.58037%203.63773%209.97494C4.03231%2010.3696%204.67209%2010.3696%205.0667%209.97494L10.0681%204.97354'%20stroke='%23026AC8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e";
|
|
13284
13287
|
const add$2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Frame'%3e%3cpath%20id='Vector'%20d='M6.5%2012.25V7.5H1.75C1.61739%207.5%201.49021%207.44732%201.39645%207.35355C1.30268%207.25978%201.25%207.13261%201.25%207C1.25%206.86739%201.30268%206.74021%201.39645%206.64645C1.49021%206.55268%201.61739%206.5%201.75%206.5H6.5V1.75C6.5%201.61739%206.55268%201.49021%206.64645%201.39645C6.74022%201.30268%206.86739%201.25%207%201.25C7.13261%201.25%207.25979%201.30268%207.35355%201.39645C7.44732%201.49021%207.5%201.61739%207.5%201.75V6.5H12.25C12.374%206.49988%2012.4936%206.54583%2012.5856%206.62894C12.6777%206.71205%2012.7355%206.82638%2012.748%206.94975C12.7604%207.07312%2012.7266%207.19671%2012.6531%207.29655C12.5795%207.39638%2012.4715%207.46533%2012.35%207.49L12.25%207.5H7.5V12.25C7.5%2012.3826%207.44732%2012.5098%207.35355%2012.6036C7.25979%2012.6973%207.13261%2012.75%207%2012.75C6.86739%2012.75%206.74022%2012.6973%206.64645%2012.6036C6.55268%2012.5098%206.5%2012.3826%206.5%2012.25Z'%20fill='%231A1D23'/%3e%3c/g%3e%3c/svg%3e";
|
|
13285
13288
|
const addHover = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Frame'%3e%3cpath%20id='Vector'%20d='M6.5%2012.25V7.5H1.75C1.61739%207.5%201.49021%207.44732%201.39645%207.35355C1.30268%207.25978%201.25%207.13261%201.25%207C1.25%206.86739%201.30268%206.74021%201.39645%206.64645C1.49021%206.55268%201.61739%206.5%201.75%206.5H6.5V1.75C6.5%201.61739%206.55268%201.49021%206.64645%201.39645C6.74022%201.30268%206.86739%201.25%207%201.25C7.13261%201.25%207.25979%201.30268%207.35355%201.39645C7.44732%201.49021%207.5%201.61739%207.5%201.75V6.5H12.25C12.374%206.49988%2012.4936%206.54583%2012.5856%206.62894C12.6777%206.71205%2012.7355%206.82638%2012.748%206.94975C12.7604%207.07312%2012.7266%207.19671%2012.6531%207.29655C12.5795%207.39638%2012.4715%207.46533%2012.35%207.49L12.25%207.5H7.5V12.25C7.5%2012.3826%207.44732%2012.5098%207.35355%2012.6036C7.25979%2012.6973%207.13261%2012.75%207%2012.75C6.86739%2012.75%206.74022%2012.6973%206.64645%2012.6036C6.55268%2012.5098%206.5%2012.3826%206.5%2012.25Z'%20fill='%23026AC8'/%3e%3c/g%3e%3c/svg%3e";
|
|
13286
|
-
const _hoisted_1$
|
|
13287
|
-
const _sfc_main$
|
|
13289
|
+
const _hoisted_1$3n = ["src"];
|
|
13290
|
+
const _sfc_main$5_ = /* @__PURE__ */ defineComponent({
|
|
13288
13291
|
__name: "field-state-icon",
|
|
13289
13292
|
props: {
|
|
13290
13293
|
type: {}
|
|
@@ -13309,12 +13312,12 @@ const _sfc_main$5Z = /* @__PURE__ */ defineComponent({
|
|
|
13309
13312
|
alt: "",
|
|
13310
13313
|
"aria-hidden": "true",
|
|
13311
13314
|
draggable: "false"
|
|
13312
|
-
}, null, 10, _hoisted_1$
|
|
13315
|
+
}, null, 10, _hoisted_1$3n);
|
|
13313
13316
|
};
|
|
13314
13317
|
}
|
|
13315
13318
|
});
|
|
13316
|
-
const FieldStateIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13317
|
-
const _sfc_main$
|
|
13319
|
+
const FieldStateIcon = /* @__PURE__ */ _export_sfc(_sfc_main$5_, [["__scopeId", "data-v-634c3d3f"]]);
|
|
13320
|
+
const _sfc_main$5Z = /* @__PURE__ */ defineComponent({
|
|
13318
13321
|
__name: "fake-select",
|
|
13319
13322
|
props: {
|
|
13320
13323
|
fieldWidget: {},
|
|
@@ -13370,8 +13373,8 @@ const _sfc_main$5Y = /* @__PURE__ */ defineComponent({
|
|
|
13370
13373
|
};
|
|
13371
13374
|
}
|
|
13372
13375
|
});
|
|
13373
|
-
const FakeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13374
|
-
const _sfc_main$
|
|
13376
|
+
const FakeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$5Z, [["__scopeId", "data-v-5391114c"]]);
|
|
13377
|
+
const _sfc_main$5Y = /* @__PURE__ */ defineComponent({
|
|
13375
13378
|
__name: "radio-icon",
|
|
13376
13379
|
props: {
|
|
13377
13380
|
disabled: { type: Boolean, default: false },
|
|
@@ -13386,8 +13389,8 @@ const _sfc_main$5X = /* @__PURE__ */ defineComponent({
|
|
|
13386
13389
|
};
|
|
13387
13390
|
}
|
|
13388
13391
|
});
|
|
13389
|
-
const RadioIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13390
|
-
const _sfc_main$
|
|
13392
|
+
const RadioIcon = /* @__PURE__ */ _export_sfc(_sfc_main$5Y, [["__scopeId", "data-v-80e07ffa"]]);
|
|
13393
|
+
const _sfc_main$5X = /* @__PURE__ */ defineComponent({
|
|
13391
13394
|
__name: "checkbox-icon",
|
|
13392
13395
|
props: {
|
|
13393
13396
|
disabled: { type: Boolean, default: false },
|
|
@@ -13402,12 +13405,12 @@ const _sfc_main$5W = /* @__PURE__ */ defineComponent({
|
|
|
13402
13405
|
};
|
|
13403
13406
|
}
|
|
13404
13407
|
});
|
|
13405
|
-
const CheckboxIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13406
|
-
const _hoisted_1$
|
|
13408
|
+
const CheckboxIcon = /* @__PURE__ */ _export_sfc(_sfc_main$5X, [["__scopeId", "data-v-47c923e5"]]);
|
|
13409
|
+
const _hoisted_1$3m = {
|
|
13407
13410
|
key: 0,
|
|
13408
13411
|
class: "fake-option-select__affix"
|
|
13409
13412
|
};
|
|
13410
|
-
const _hoisted_2$
|
|
13413
|
+
const _hoisted_2$2m = {
|
|
13411
13414
|
key: 1,
|
|
13412
13415
|
class: "fake-option-select__select"
|
|
13413
13416
|
};
|
|
@@ -13417,7 +13420,7 @@ const _hoisted_5$Y = {
|
|
|
13417
13420
|
key: 3,
|
|
13418
13421
|
class: "fake-option-select__affix"
|
|
13419
13422
|
};
|
|
13420
|
-
const _sfc_main$
|
|
13423
|
+
const _sfc_main$5W = /* @__PURE__ */ defineComponent({
|
|
13421
13424
|
__name: "fake-option-select",
|
|
13422
13425
|
props: {
|
|
13423
13426
|
fieldWidget: {},
|
|
@@ -13516,8 +13519,8 @@ const _sfc_main$5V = /* @__PURE__ */ defineComponent({
|
|
|
13516
13519
|
}]),
|
|
13517
13520
|
style: normalizeStyle(styleVars.value)
|
|
13518
13521
|
}, [
|
|
13519
|
-
__props.fieldWidget.prefix ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
13520
|
-
isSelectMode.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
13522
|
+
__props.fieldWidget.prefix ? (openBlock(), createElementBlock("span", _hoisted_1$3m, toDisplayString$1(__props.fieldWidget.prefix), 1)) : createCommentVNode("", true),
|
|
13523
|
+
isSelectMode.value ? (openBlock(), createElementBlock("div", _hoisted_2$2m, [
|
|
13521
13524
|
createElementVNode("span", {
|
|
13522
13525
|
class: normalizeClass([
|
|
13523
13526
|
"fake-option-select__select-text",
|
|
@@ -13566,7 +13569,7 @@ const _sfc_main$5V = /* @__PURE__ */ defineComponent({
|
|
|
13566
13569
|
};
|
|
13567
13570
|
}
|
|
13568
13571
|
});
|
|
13569
|
-
const FakeOptionSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13572
|
+
const FakeOptionSelect = /* @__PURE__ */ _export_sfc(_sfc_main$5W, [["__scopeId", "data-v-c2f901c8"]]);
|
|
13570
13573
|
const FieldDesignComponents = {
|
|
13571
13574
|
"fw:input": FakeInput,
|
|
13572
13575
|
"fw:number": FakeNumberInput,
|
|
@@ -13583,16 +13586,16 @@ const FieldDesignComponents = {
|
|
|
13583
13586
|
"fw:enum": FakeOptionSelect,
|
|
13584
13587
|
"fw:boolean": FakeOptionSelect
|
|
13585
13588
|
};
|
|
13586
|
-
const _hoisted_1$
|
|
13589
|
+
const _hoisted_1$3l = {
|
|
13587
13590
|
key: 0,
|
|
13588
13591
|
class: "prefix"
|
|
13589
13592
|
};
|
|
13590
|
-
const _hoisted_2$
|
|
13593
|
+
const _hoisted_2$2l = { key: 1 };
|
|
13591
13594
|
const _hoisted_3$1O = {
|
|
13592
13595
|
key: 3,
|
|
13593
13596
|
class: "suffix"
|
|
13594
13597
|
};
|
|
13595
|
-
const _sfc_main$
|
|
13598
|
+
const _sfc_main$5V = /* @__PURE__ */ defineComponent({
|
|
13596
13599
|
__name: "cell-widget-design",
|
|
13597
13600
|
props: {
|
|
13598
13601
|
fieldWidget: {},
|
|
@@ -13682,8 +13685,8 @@ const _sfc_main$5U = /* @__PURE__ */ defineComponent({
|
|
|
13682
13685
|
]),
|
|
13683
13686
|
style: normalizeStyle([styleVars.value, wrapperSizeStyle.value])
|
|
13684
13687
|
}, [
|
|
13685
|
-
showOuterAffix.value && __props.fieldWidget.prefix ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
13686
|
-
readonly.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
13688
|
+
showOuterAffix.value && __props.fieldWidget.prefix ? (openBlock(), createElementBlock("span", _hoisted_1$3l, toDisplayString$1(__props.fieldWidget.prefix), 1)) : createCommentVNode("", true),
|
|
13689
|
+
readonly.value ? (openBlock(), createElementBlock("div", _hoisted_2$2l, toDisplayString$1("${" + fieldName.value + "}"), 1)) : fieldMain.value ? (openBlock(), createBlock(resolveDynamicComponent(unref(FieldDesignComponents)[fieldMain.value.design]), {
|
|
13687
13690
|
key: 2,
|
|
13688
13691
|
class: "cell-widget-design__component",
|
|
13689
13692
|
style: normalizeStyle(compSizeStyle.value),
|
|
@@ -13697,7 +13700,7 @@ const _sfc_main$5U = /* @__PURE__ */ defineComponent({
|
|
|
13697
13700
|
};
|
|
13698
13701
|
}
|
|
13699
13702
|
});
|
|
13700
|
-
const CellWidgetDesign = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13703
|
+
const CellWidgetDesign = /* @__PURE__ */ _export_sfc(_sfc_main$5V, [["__scopeId", "data-v-414f4656"]]);
|
|
13701
13704
|
const cellWidgetDesign = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13702
13705
|
__proto__: null,
|
|
13703
13706
|
default: CellWidgetDesign
|
|
@@ -13950,12 +13953,12 @@ function loadBwip() {
|
|
|
13950
13953
|
}
|
|
13951
13954
|
return bwipPromise;
|
|
13952
13955
|
}
|
|
13953
|
-
const _hoisted_1$
|
|
13954
|
-
const _hoisted_2$
|
|
13956
|
+
const _hoisted_1$3k = ["id"];
|
|
13957
|
+
const _hoisted_2$2k = {
|
|
13955
13958
|
key: 0,
|
|
13956
13959
|
class: "text"
|
|
13957
13960
|
};
|
|
13958
|
-
const _sfc_main$
|
|
13961
|
+
const _sfc_main$5U = /* @__PURE__ */ defineComponent({
|
|
13959
13962
|
__name: "barcode-render",
|
|
13960
13963
|
props: {
|
|
13961
13964
|
widget: {},
|
|
@@ -14018,25 +14021,25 @@ const _sfc_main$5T = /* @__PURE__ */ defineComponent({
|
|
|
14018
14021
|
ref_key: "canvasRef",
|
|
14019
14022
|
ref: canvasRef
|
|
14020
14023
|
}, null, 512),
|
|
14021
|
-
props2.widget.showValue ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
14022
|
-
], 8, _hoisted_1$
|
|
14024
|
+
props2.widget.showValue ? (openBlock(), createElementBlock("div", _hoisted_2$2k, toDisplayString$1(text.value), 1)) : createCommentVNode("", true)
|
|
14025
|
+
], 8, _hoisted_1$3k)
|
|
14023
14026
|
], 2);
|
|
14024
14027
|
};
|
|
14025
14028
|
}
|
|
14026
14029
|
});
|
|
14027
|
-
const barcodeRender$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14030
|
+
const barcodeRender$1 = /* @__PURE__ */ _export_sfc(_sfc_main$5U, [["__scopeId", "data-v-e32407c0"]]);
|
|
14028
14031
|
const __vite_glob_3_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14029
14032
|
__proto__: null,
|
|
14030
14033
|
default: barcodeRender$1
|
|
14031
14034
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
14032
|
-
const _hoisted_1$
|
|
14033
|
-
const _hoisted_2$
|
|
14035
|
+
const _hoisted_1$3j = { class: "column-name column-name--top" };
|
|
14036
|
+
const _hoisted_2$2j = { class: "column-name column-name--bottom" };
|
|
14034
14037
|
const _hoisted_3$1N = ["x1", "y1", "x2", "y2"];
|
|
14035
14038
|
const _hoisted_4$1e = {
|
|
14036
14039
|
key: 0,
|
|
14037
14040
|
class: "column-name column-name--middle"
|
|
14038
14041
|
};
|
|
14039
|
-
const _sfc_main$
|
|
14042
|
+
const _sfc_main$5T = /* @__PURE__ */ defineComponent({
|
|
14040
14043
|
__name: "diagonal",
|
|
14041
14044
|
props: {
|
|
14042
14045
|
value: { default: () => [] },
|
|
@@ -14085,8 +14088,8 @@ const _sfc_main$5S = /* @__PURE__ */ defineComponent({
|
|
|
14085
14088
|
return openBlock(), createElementBlock("div", {
|
|
14086
14089
|
class: normalizeClass(["absolute top-0px left-0px h-full w-full", rootClass.value])
|
|
14087
14090
|
}, [
|
|
14088
|
-
createElementVNode("span", _hoisted_1$
|
|
14089
|
-
createElementVNode("span", _hoisted_2$
|
|
14091
|
+
createElementVNode("span", _hoisted_1$3j, toDisplayString$1(__props.value[0]), 1),
|
|
14092
|
+
createElementVNode("span", _hoisted_2$2j, toDisplayString$1(__props.value[2]), 1),
|
|
14090
14093
|
(openBlock(), createElementBlock("svg", {
|
|
14091
14094
|
class: normalizeClass(unref(ns).e("img")),
|
|
14092
14095
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -14110,8 +14113,8 @@ const _sfc_main$5S = /* @__PURE__ */ defineComponent({
|
|
|
14110
14113
|
};
|
|
14111
14114
|
}
|
|
14112
14115
|
});
|
|
14113
|
-
const Diagonal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14114
|
-
const _sfc_main$
|
|
14116
|
+
const Diagonal = /* @__PURE__ */ _export_sfc(_sfc_main$5T, [["__scopeId", "data-v-07498761"]]);
|
|
14117
|
+
const _sfc_main$5S = /* @__PURE__ */ defineComponent({
|
|
14115
14118
|
__name: "diagonal-render",
|
|
14116
14119
|
props: {
|
|
14117
14120
|
widget: {},
|
|
@@ -14155,10 +14158,10 @@ const _sfc_main$5R = /* @__PURE__ */ defineComponent({
|
|
|
14155
14158
|
});
|
|
14156
14159
|
const __vite_glob_3_1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14157
14160
|
__proto__: null,
|
|
14158
|
-
default: _sfc_main$
|
|
14161
|
+
default: _sfc_main$5S
|
|
14159
14162
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
14160
|
-
const _hoisted_1$
|
|
14161
|
-
const _sfc_main$
|
|
14163
|
+
const _hoisted_1$3i = ["src"];
|
|
14164
|
+
const _sfc_main$5R = /* @__PURE__ */ defineComponent({
|
|
14162
14165
|
__name: "image-render",
|
|
14163
14166
|
props: {
|
|
14164
14167
|
widget: {},
|
|
@@ -14188,17 +14191,17 @@ const _sfc_main$5Q = /* @__PURE__ */ defineComponent({
|
|
|
14188
14191
|
src: unref(transfer)(__props.widget.value),
|
|
14189
14192
|
alt: "",
|
|
14190
14193
|
srcset: ""
|
|
14191
|
-
}, null, 10, _hoisted_1$
|
|
14194
|
+
}, null, 10, _hoisted_1$3i)
|
|
14192
14195
|
], 6)) : createCommentVNode("", true);
|
|
14193
14196
|
};
|
|
14194
14197
|
}
|
|
14195
14198
|
});
|
|
14196
|
-
const imageRender$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14199
|
+
const imageRender$1 = /* @__PURE__ */ _export_sfc(_sfc_main$5R, [["__scopeId", "data-v-d5655ea0"]]);
|
|
14197
14200
|
const __vite_glob_3_2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14198
14201
|
__proto__: null,
|
|
14199
14202
|
default: imageRender$1
|
|
14200
14203
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
14201
|
-
const _sfc_main$
|
|
14204
|
+
const _sfc_main$5Q = /* @__PURE__ */ defineComponent({
|
|
14202
14205
|
__name: "line-design",
|
|
14203
14206
|
props: {
|
|
14204
14207
|
widget: {},
|
|
@@ -14234,12 +14237,12 @@ const _sfc_main$5P = /* @__PURE__ */ defineComponent({
|
|
|
14234
14237
|
};
|
|
14235
14238
|
}
|
|
14236
14239
|
});
|
|
14237
|
-
const LineDesign = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14240
|
+
const LineDesign = /* @__PURE__ */ _export_sfc(_sfc_main$5Q, [["__scopeId", "data-v-97e0d82f"]]);
|
|
14238
14241
|
const lineDesign = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14239
14242
|
__proto__: null,
|
|
14240
14243
|
default: LineDesign
|
|
14241
14244
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
14242
|
-
const _sfc_main$
|
|
14245
|
+
const _sfc_main$5P = /* @__PURE__ */ defineComponent({
|
|
14243
14246
|
__name: "line-render",
|
|
14244
14247
|
props: {
|
|
14245
14248
|
widget: {},
|
|
@@ -14265,7 +14268,7 @@ const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
|
14265
14268
|
});
|
|
14266
14269
|
const __vite_glob_3_3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14267
14270
|
__proto__: null,
|
|
14268
|
-
default: _sfc_main$
|
|
14271
|
+
default: _sfc_main$5P
|
|
14269
14272
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
14270
14273
|
function calcText(exp, options) {
|
|
14271
14274
|
if (!exp) return "";
|
|
@@ -14278,8 +14281,8 @@ function calcText(exp, options) {
|
|
|
14278
14281
|
}
|
|
14279
14282
|
return string;
|
|
14280
14283
|
}
|
|
14281
|
-
const _hoisted_1$
|
|
14282
|
-
const _sfc_main$
|
|
14284
|
+
const _hoisted_1$3h = ["data-format"];
|
|
14285
|
+
const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
14283
14286
|
__name: "pagination-render",
|
|
14284
14287
|
props: {
|
|
14285
14288
|
widget: {},
|
|
@@ -14318,17 +14321,17 @@ const _sfc_main$5N = /* @__PURE__ */ defineComponent({
|
|
|
14318
14321
|
class: "w-full h-full flex",
|
|
14319
14322
|
style: normalizeStyle(style.value)
|
|
14320
14323
|
}, toDisplayString$1(pagination.value), 5)
|
|
14321
|
-
], 12, _hoisted_1$
|
|
14324
|
+
], 12, _hoisted_1$3h);
|
|
14322
14325
|
};
|
|
14323
14326
|
}
|
|
14324
14327
|
});
|
|
14325
|
-
const paginationRender = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14328
|
+
const paginationRender = /* @__PURE__ */ _export_sfc(_sfc_main$5O, [["__scopeId", "data-v-9678ceeb"]]);
|
|
14326
14329
|
const __vite_glob_3_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14327
14330
|
__proto__: null,
|
|
14328
14331
|
default: paginationRender
|
|
14329
14332
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
14330
|
-
const _hoisted_1$
|
|
14331
|
-
const _sfc_main$
|
|
14333
|
+
const _hoisted_1$3g = ["data-placeholder"];
|
|
14334
|
+
const _sfc_main$5N = /* @__PURE__ */ defineComponent({
|
|
14332
14335
|
__name: "power-design",
|
|
14333
14336
|
props: {
|
|
14334
14337
|
widget: {}
|
|
@@ -14338,16 +14341,16 @@ const _sfc_main$5M = /* @__PURE__ */ defineComponent({
|
|
|
14338
14341
|
return openBlock(), createElementBlock("div", {
|
|
14339
14342
|
class: "power-widget",
|
|
14340
14343
|
"data-placeholder": _ctx.$t("sys.onlineForm.group")
|
|
14341
|
-
}, null, 8, _hoisted_1$
|
|
14344
|
+
}, null, 8, _hoisted_1$3g);
|
|
14342
14345
|
};
|
|
14343
14346
|
}
|
|
14344
14347
|
});
|
|
14345
|
-
const PowerDesign = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14348
|
+
const PowerDesign = /* @__PURE__ */ _export_sfc(_sfc_main$5N, [["__scopeId", "data-v-2f511828"]]);
|
|
14346
14349
|
const powerDesign = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14347
14350
|
__proto__: null,
|
|
14348
14351
|
default: PowerDesign
|
|
14349
14352
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
14350
|
-
const _sfc_main$
|
|
14353
|
+
const _sfc_main$5M = /* @__PURE__ */ defineComponent({
|
|
14351
14354
|
__name: "power-render",
|
|
14352
14355
|
props: {
|
|
14353
14356
|
widget: {},
|
|
@@ -14361,11 +14364,11 @@ const _sfc_main$5L = /* @__PURE__ */ defineComponent({
|
|
|
14361
14364
|
});
|
|
14362
14365
|
const __vite_glob_3_5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14363
14366
|
__proto__: null,
|
|
14364
|
-
default: _sfc_main$
|
|
14367
|
+
default: _sfc_main$5M
|
|
14365
14368
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
14366
|
-
const _hoisted_1$
|
|
14367
|
-
const _hoisted_2$
|
|
14368
|
-
const _sfc_main$
|
|
14369
|
+
const _hoisted_1$3f = ["id"];
|
|
14370
|
+
const _hoisted_2$2i = ["src"];
|
|
14371
|
+
const _sfc_main$5L = /* @__PURE__ */ defineComponent({
|
|
14369
14372
|
__name: "qrcode-render",
|
|
14370
14373
|
props: {
|
|
14371
14374
|
widget: {},
|
|
@@ -14419,17 +14422,17 @@ const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
|
14419
14422
|
src: imgSrc.value,
|
|
14420
14423
|
alt: "",
|
|
14421
14424
|
srcset: ""
|
|
14422
|
-
}, null, 8, _hoisted_2$
|
|
14423
|
-
], 14, _hoisted_1$
|
|
14425
|
+
}, null, 8, _hoisted_2$2i)
|
|
14426
|
+
], 14, _hoisted_1$3f);
|
|
14424
14427
|
};
|
|
14425
14428
|
}
|
|
14426
14429
|
});
|
|
14427
14430
|
const __vite_glob_3_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14428
14431
|
__proto__: null,
|
|
14429
|
-
default: _sfc_main$
|
|
14432
|
+
default: _sfc_main$5L
|
|
14430
14433
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
14431
|
-
const _hoisted_1$
|
|
14432
|
-
const _sfc_main$
|
|
14434
|
+
const _hoisted_1$3e = ["data-placeholder"];
|
|
14435
|
+
const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
14433
14436
|
__name: "rangelimit-design",
|
|
14434
14437
|
props: {
|
|
14435
14438
|
widget: {}
|
|
@@ -14439,16 +14442,16 @@ const _sfc_main$5J = /* @__PURE__ */ defineComponent({
|
|
|
14439
14442
|
return openBlock(), createElementBlock("div", {
|
|
14440
14443
|
class: "range-limit-container",
|
|
14441
14444
|
"data-placeholder": _ctx.$t("sys.onlineForm.group")
|
|
14442
|
-
}, null, 8, _hoisted_1$
|
|
14445
|
+
}, null, 8, _hoisted_1$3e);
|
|
14443
14446
|
};
|
|
14444
14447
|
}
|
|
14445
14448
|
});
|
|
14446
|
-
const RangeLimitDesign = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14449
|
+
const RangeLimitDesign = /* @__PURE__ */ _export_sfc(_sfc_main$5K, [["__scopeId", "data-v-1515adf1"]]);
|
|
14447
14450
|
const rangelimitDesign = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14448
14451
|
__proto__: null,
|
|
14449
14452
|
default: RangeLimitDesign
|
|
14450
14453
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
14451
|
-
const _sfc_main$
|
|
14454
|
+
const _sfc_main$5J = /* @__PURE__ */ defineComponent({
|
|
14452
14455
|
__name: "rangelimit-render",
|
|
14453
14456
|
props: {
|
|
14454
14457
|
widget: {},
|
|
@@ -14462,10 +14465,10 @@ const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
|
14462
14465
|
});
|
|
14463
14466
|
const __vite_glob_3_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14464
14467
|
__proto__: null,
|
|
14465
|
-
default: _sfc_main$
|
|
14468
|
+
default: _sfc_main$5J
|
|
14466
14469
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
14467
|
-
const _hoisted_1$
|
|
14468
|
-
const _sfc_main$
|
|
14470
|
+
const _hoisted_1$3d = ["title"];
|
|
14471
|
+
const _sfc_main$5I = /* @__PURE__ */ defineComponent({
|
|
14469
14472
|
__name: "text-render",
|
|
14470
14473
|
props: {
|
|
14471
14474
|
widget: {},
|
|
@@ -14492,12 +14495,12 @@ const _sfc_main$5H = /* @__PURE__ */ defineComponent({
|
|
|
14492
14495
|
class: "w-full h-full flex ws-pre-wrap",
|
|
14493
14496
|
style: normalizeStyle(style.value),
|
|
14494
14497
|
title: __props.widget.value
|
|
14495
|
-
}, toDisplayString$1(__props.modelValue), 13, _hoisted_1$
|
|
14498
|
+
}, toDisplayString$1(__props.modelValue), 13, _hoisted_1$3d)
|
|
14496
14499
|
], 4);
|
|
14497
14500
|
};
|
|
14498
14501
|
}
|
|
14499
14502
|
});
|
|
14500
|
-
const textRender = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14503
|
+
const textRender = /* @__PURE__ */ _export_sfc(_sfc_main$5I, [["__scopeId", "data-v-5e13c4e4"]]);
|
|
14501
14504
|
const __vite_glob_3_8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14502
14505
|
__proto__: null,
|
|
14503
14506
|
default: textRender
|
|
@@ -14617,8 +14620,8 @@ const TimeDiffFormatter = {
|
|
|
14617
14620
|
return seconds2 + $t("sys.timeSecond");
|
|
14618
14621
|
}
|
|
14619
14622
|
};
|
|
14620
|
-
const _hoisted_1$
|
|
14621
|
-
const _sfc_main$
|
|
14623
|
+
const _hoisted_1$3c = { class: "nocode-read-only-text" };
|
|
14624
|
+
const _sfc_main$5H = /* @__PURE__ */ defineComponent({
|
|
14622
14625
|
__name: "timediff-render",
|
|
14623
14626
|
props: {
|
|
14624
14627
|
widget: {},
|
|
@@ -14656,17 +14659,17 @@ const _sfc_main$5G = /* @__PURE__ */ defineComponent({
|
|
|
14656
14659
|
return TimeDiffFormatter[format2](seconds2);
|
|
14657
14660
|
});
|
|
14658
14661
|
return (_ctx, _cache) => {
|
|
14659
|
-
return openBlock(), createElementBlock("span", _hoisted_1$
|
|
14662
|
+
return openBlock(), createElementBlock("span", _hoisted_1$3c, toDisplayString$1(timeDiffLabel.value), 1);
|
|
14660
14663
|
};
|
|
14661
14664
|
}
|
|
14662
14665
|
});
|
|
14663
14666
|
const __vite_glob_3_9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14664
14667
|
__proto__: null,
|
|
14665
|
-
default: _sfc_main$
|
|
14668
|
+
default: _sfc_main$5H
|
|
14666
14669
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
14667
|
-
const _hoisted_1$
|
|
14668
|
-
const _hoisted_2$
|
|
14669
|
-
const _sfc_main$
|
|
14670
|
+
const _hoisted_1$3b = { class: "w-full h-full" };
|
|
14671
|
+
const _hoisted_2$2h = ["src"];
|
|
14672
|
+
const _sfc_main$5G = /* @__PURE__ */ defineComponent({
|
|
14670
14673
|
...{
|
|
14671
14674
|
inheritAttrs: false
|
|
14672
14675
|
},
|
|
@@ -14680,18 +14683,18 @@ const _sfc_main$5F = /* @__PURE__ */ defineComponent({
|
|
|
14680
14683
|
class: "watermark-wrapper",
|
|
14681
14684
|
style: normalizeStyle(__props.widget.styles)
|
|
14682
14685
|
}, [
|
|
14683
|
-
createElementVNode("div", _hoisted_1$
|
|
14686
|
+
createElementVNode("div", _hoisted_1$3b, [
|
|
14684
14687
|
createElementVNode("img", {
|
|
14685
14688
|
src: __props.widget.value,
|
|
14686
14689
|
alt: "",
|
|
14687
14690
|
srcset: ""
|
|
14688
|
-
}, null, 8, _hoisted_2$
|
|
14691
|
+
}, null, 8, _hoisted_2$2h)
|
|
14689
14692
|
])
|
|
14690
14693
|
], 4);
|
|
14691
14694
|
};
|
|
14692
14695
|
}
|
|
14693
14696
|
});
|
|
14694
|
-
const watermarkRender = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14697
|
+
const watermarkRender = /* @__PURE__ */ _export_sfc(_sfc_main$5G, [["__scopeId", "data-v-07e04847"]]);
|
|
14695
14698
|
const __vite_glob_3_10 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14696
14699
|
__proto__: null,
|
|
14697
14700
|
default: watermarkRender
|
|
@@ -14715,7 +14718,7 @@ function asyncImportWidgetConfigList() {
|
|
|
14715
14718
|
return widgetConfigList;
|
|
14716
14719
|
}
|
|
14717
14720
|
function asyncImportWidgetDesign() {
|
|
14718
|
-
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "./barcode/barcode-design.vue": () => import("./barcode-design-
|
|
14721
|
+
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "./barcode/barcode-design.vue": () => import("./barcode-design-BqIBQDqn.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-BkuiWsT9.js"), "./image/image-design.vue": () => import("./image-design-hTV7cmpq.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-BlxYaew2.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-wrFvO7Dq.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-BWupHh6k.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-BgIZu0sW.js"), "./text/text-design.vue": () => import("./text-design-BZdgEMzq.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-CsDLmpYK.js") });
|
|
14719
14722
|
const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
|
|
14720
14723
|
const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
|
|
14721
14724
|
if (mKey) {
|
|
@@ -14749,7 +14752,7 @@ function syncImportWidgetRender() {
|
|
|
14749
14752
|
return widgetRenderMap2;
|
|
14750
14753
|
}
|
|
14751
14754
|
const widgetRenderMap = syncImportWidgetRender();
|
|
14752
|
-
const _sfc_main$
|
|
14755
|
+
const _sfc_main$5F = /* @__PURE__ */ defineComponent({
|
|
14753
14756
|
__name: "paper-widget-design",
|
|
14754
14757
|
props: {
|
|
14755
14758
|
paperWidget: {},
|
|
@@ -15258,8 +15261,8 @@ function resolveInlineCellMediaSrc(item) {
|
|
|
15258
15261
|
const minioPath = window.NocodeAdapter?.minioPath ?? void 0 ?? "";
|
|
15259
15262
|
return `${minioPath}${value.startsWith("/") ? "" : "/"}${value}`;
|
|
15260
15263
|
}
|
|
15261
|
-
const _hoisted_1$
|
|
15262
|
-
const _hoisted_2$
|
|
15264
|
+
const _hoisted_1$3a = { class: "inline-cell-content" };
|
|
15265
|
+
const _hoisted_2$2g = {
|
|
15263
15266
|
key: 0,
|
|
15264
15267
|
class: "inline-cell-content__text"
|
|
15265
15268
|
};
|
|
@@ -15268,7 +15271,7 @@ const _hoisted_3$1M = {
|
|
|
15268
15271
|
class: "inline-cell-content__media"
|
|
15269
15272
|
};
|
|
15270
15273
|
const _hoisted_4$1d = ["src", "alt", "title"];
|
|
15271
|
-
const _sfc_main$
|
|
15274
|
+
const _sfc_main$5E = /* @__PURE__ */ defineComponent({
|
|
15272
15275
|
__name: "inline-cell-content",
|
|
15273
15276
|
props: {
|
|
15274
15277
|
content: {},
|
|
@@ -15282,12 +15285,12 @@ const _sfc_main$5D = /* @__PURE__ */ defineComponent({
|
|
|
15282
15285
|
return normalizedItem.type === "text" ? "" : normalizedItem.name ?? "";
|
|
15283
15286
|
};
|
|
15284
15287
|
return (_ctx, _cache) => {
|
|
15285
|
-
return openBlock(), createElementBlock("span", _hoisted_1$
|
|
15288
|
+
return openBlock(), createElementBlock("span", _hoisted_1$3a, [
|
|
15286
15289
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.content, (item, index2) => {
|
|
15287
15290
|
return openBlock(), createElementBlock(Fragment, {
|
|
15288
15291
|
key: `${item.type}-${index2}`
|
|
15289
15292
|
}, [
|
|
15290
|
-
item.type === "text" ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
15293
|
+
item.type === "text" ? (openBlock(), createElementBlock("span", _hoisted_2$2g, toDisplayString$1(item.value), 1)) : mediaSrc(item) ? (openBlock(), createElementBlock("span", _hoisted_3$1M, [
|
|
15291
15294
|
createElementVNode("img", {
|
|
15292
15295
|
class: "inline-cell-content__media-image",
|
|
15293
15296
|
src: mediaSrc(item),
|
|
@@ -15302,7 +15305,7 @@ const _sfc_main$5D = /* @__PURE__ */ defineComponent({
|
|
|
15302
15305
|
};
|
|
15303
15306
|
}
|
|
15304
15307
|
});
|
|
15305
|
-
const InlineCellContent = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15308
|
+
const InlineCellContent = /* @__PURE__ */ _export_sfc(_sfc_main$5E, [["__scopeId", "data-v-17564ef2"]]);
|
|
15306
15309
|
function warn$1(msg, err) {
|
|
15307
15310
|
if (typeof console !== "undefined") {
|
|
15308
15311
|
console.warn(`[intlify] ` + msg);
|
|
@@ -19665,8 +19668,8 @@ if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
|
19665
19668
|
setDevToolsHook(target.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
19666
19669
|
}
|
|
19667
19670
|
if (process.env.NODE_ENV !== "production") ;
|
|
19668
|
-
const _hoisted_1$
|
|
19669
|
-
const _hoisted_2$
|
|
19671
|
+
const _hoisted_1$39 = ["aria-label"];
|
|
19672
|
+
const _hoisted_2$2f = { class: "inline-icon-suggestions__list" };
|
|
19670
19673
|
const _hoisted_3$1L = {
|
|
19671
19674
|
key: 0,
|
|
19672
19675
|
class: "inline-icon-suggestions__group"
|
|
@@ -19675,7 +19678,7 @@ const _hoisted_4$1c = ["onPointerdown", "onMouseenter"];
|
|
|
19675
19678
|
const _hoisted_5$X = { class: "inline-icon-suggestions__label" };
|
|
19676
19679
|
const InlineCellClipboardMime = "application/x-gct-inline-cell-content+json";
|
|
19677
19680
|
const InlineCellClipboardVersion = 1;
|
|
19678
|
-
const _sfc_main$
|
|
19681
|
+
const _sfc_main$5D = /* @__PURE__ */ defineComponent({
|
|
19679
19682
|
__name: "inline-cell-editor",
|
|
19680
19683
|
props: {
|
|
19681
19684
|
x: {},
|
|
@@ -20335,7 +20338,7 @@ const _sfc_main$5C = /* @__PURE__ */ defineComponent({
|
|
|
20335
20338
|
}, ["prevent"])),
|
|
20336
20339
|
onCompositionstart: _cache[1] || (_cache[1] = ($event) => composing.value = true),
|
|
20337
20340
|
onCompositionend: handleCompositionEnd
|
|
20338
|
-
}, null, 40, _hoisted_1$
|
|
20341
|
+
}, null, 40, _hoisted_1$39),
|
|
20339
20342
|
suggestionVisible.value ? (openBlock(), createElementBlock("div", {
|
|
20340
20343
|
key: 0,
|
|
20341
20344
|
ref_key: "SuggestionRef",
|
|
@@ -20345,7 +20348,7 @@ const _sfc_main$5C = /* @__PURE__ */ defineComponent({
|
|
|
20345
20348
|
onMousedown: _cache[2] || (_cache[2] = withModifiers(() => {
|
|
20346
20349
|
}, ["stop"]))
|
|
20347
20350
|
}, [
|
|
20348
|
-
createElementVNode("div", _hoisted_2$
|
|
20351
|
+
createElementVNode("div", _hoisted_2$2f, [
|
|
20349
20352
|
(openBlock(true), createElementBlock(Fragment, null, renderList(suggestionRows.value, (row) => {
|
|
20350
20353
|
return openBlock(), createElementBlock(Fragment, {
|
|
20351
20354
|
key: row.key
|
|
@@ -20374,7 +20377,7 @@ const _sfc_main$5C = /* @__PURE__ */ defineComponent({
|
|
|
20374
20377
|
};
|
|
20375
20378
|
}
|
|
20376
20379
|
});
|
|
20377
|
-
const InlineCellEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20380
|
+
const InlineCellEditor = /* @__PURE__ */ _export_sfc(_sfc_main$5D, [["__scopeId", "data-v-c06c1c4c"]]);
|
|
20378
20381
|
const FLEX_V_ALIGN = {
|
|
20379
20382
|
top: "flex-start",
|
|
20380
20383
|
middle: "center",
|
|
@@ -20486,9 +20489,9 @@ function useDrop(allowTypes, callbacks = {}) {
|
|
|
20486
20489
|
handleDragOver
|
|
20487
20490
|
};
|
|
20488
20491
|
}
|
|
20489
|
-
const _hoisted_1$
|
|
20490
|
-
const _hoisted_2$
|
|
20491
|
-
const _sfc_main$
|
|
20492
|
+
const _hoisted_1$38 = ["data-placeholder"];
|
|
20493
|
+
const _hoisted_2$2e = { key: 3 };
|
|
20494
|
+
const _sfc_main$5C = /* @__PURE__ */ defineComponent({
|
|
20492
20495
|
__name: "sheet-cell",
|
|
20493
20496
|
props: {
|
|
20494
20497
|
x: {},
|
|
@@ -20644,7 +20647,7 @@ const _sfc_main$5B = /* @__PURE__ */ defineComponent({
|
|
|
20644
20647
|
"field-meta": item.fieldMeta
|
|
20645
20648
|
}, null, 8, ["field-widget", "field-meta"]);
|
|
20646
20649
|
}), 128))
|
|
20647
|
-
], 12, _hoisted_1$
|
|
20650
|
+
], 12, _hoisted_1$38)) : !__props.cell.type || __props.cell.type === unref(CellType).Default ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
20648
20651
|
!isEdit.value ? (openBlock(), createElementBlock("div", {
|
|
20649
20652
|
key: 0,
|
|
20650
20653
|
style: normalizeStyle(divStyle2.value.style)
|
|
@@ -20664,8 +20667,8 @@ const _sfc_main$5B = /* @__PURE__ */ defineComponent({
|
|
|
20664
20667
|
"field-widget": __props.cell.fieldWidget,
|
|
20665
20668
|
"field-meta": __props.cell.fieldMeta
|
|
20666
20669
|
}, null, 8, ["field-widget", "field-meta"])
|
|
20667
|
-
], 4)) : __props.cell.type === unref(CellType).Widget ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
20668
|
-
createVNode(_sfc_main$
|
|
20670
|
+
], 4)) : __props.cell.type === unref(CellType).Widget ? (openBlock(), createElementBlock("div", _hoisted_2$2e, [
|
|
20671
|
+
createVNode(_sfc_main$5F, {
|
|
20669
20672
|
"paper-widget": __props.cell.paperWidget,
|
|
20670
20673
|
"field-meta": __props.cell.fieldMeta,
|
|
20671
20674
|
"is-in-cell": true
|
|
@@ -20684,7 +20687,7 @@ const _sfc_main$5B = /* @__PURE__ */ defineComponent({
|
|
|
20684
20687
|
};
|
|
20685
20688
|
}
|
|
20686
20689
|
});
|
|
20687
|
-
const SpreadSheetCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20690
|
+
const SpreadSheetCell = /* @__PURE__ */ _export_sfc(_sfc_main$5C, [["__scopeId", "data-v-6ca4a881"]]);
|
|
20688
20691
|
const ThresholdValue = 8;
|
|
20689
20692
|
function getOffsetValue(left, width, points) {
|
|
20690
20693
|
let offset2 = left;
|
|
@@ -20840,8 +20843,8 @@ function useDraggable(el, initialLayout, options) {
|
|
|
20840
20843
|
setLayout
|
|
20841
20844
|
};
|
|
20842
20845
|
}
|
|
20843
|
-
const _hoisted_1$
|
|
20844
|
-
const _sfc_main$
|
|
20846
|
+
const _hoisted_1$37 = { class: "drag-box__move" };
|
|
20847
|
+
const _sfc_main$5B = /* @__PURE__ */ defineComponent({
|
|
20845
20848
|
__name: "drag-box",
|
|
20846
20849
|
props: {
|
|
20847
20850
|
initialLayout: {},
|
|
@@ -20933,7 +20936,7 @@ const _sfc_main$5A = /* @__PURE__ */ defineComponent({
|
|
|
20933
20936
|
}]),
|
|
20934
20937
|
style: normalizeStyle(style.value)
|
|
20935
20938
|
}, [
|
|
20936
|
-
createElementVNode("div", _hoisted_1$
|
|
20939
|
+
createElementVNode("div", _hoisted_1$37, [
|
|
20937
20940
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
20938
20941
|
]),
|
|
20939
20942
|
__props.resizable ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(ResizeDirection), (item) => {
|
|
@@ -20946,9 +20949,9 @@ const _sfc_main$5A = /* @__PURE__ */ defineComponent({
|
|
|
20946
20949
|
};
|
|
20947
20950
|
}
|
|
20948
20951
|
});
|
|
20949
|
-
const DragBox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20950
|
-
const _hoisted_1$
|
|
20951
|
-
const _sfc_main$
|
|
20952
|
+
const DragBox = /* @__PURE__ */ _export_sfc(_sfc_main$5B, [["__scopeId", "data-v-4d8a21ec"]]);
|
|
20953
|
+
const _hoisted_1$36 = ["src"];
|
|
20954
|
+
const _sfc_main$5A = /* @__PURE__ */ defineComponent({
|
|
20952
20955
|
__name: "sheet-image",
|
|
20953
20956
|
props: {
|
|
20954
20957
|
id: {},
|
|
@@ -20979,7 +20982,7 @@ const _sfc_main$5z = /* @__PURE__ */ defineComponent({
|
|
|
20979
20982
|
onLayoutChange: handleLayoutChange
|
|
20980
20983
|
}, {
|
|
20981
20984
|
default: withCtx(() => [
|
|
20982
|
-
createElementVNode("img", { src: src2.value }, null, 8, _hoisted_1$
|
|
20985
|
+
createElementVNode("img", { src: src2.value }, null, 8, _hoisted_1$36),
|
|
20983
20986
|
createElementVNode("div", {
|
|
20984
20987
|
class: "hidden group-hover:flex absolute right-0 top-0 z-10 m-[2px] w-5 h-5 justify-center items-center bg-white rounded text-red-400 hover:text-red-600 active:text-red-900",
|
|
20985
20988
|
onClick: handleRemoveClick
|
|
@@ -20992,8 +20995,8 @@ const _sfc_main$5z = /* @__PURE__ */ defineComponent({
|
|
|
20992
20995
|
};
|
|
20993
20996
|
}
|
|
20994
20997
|
});
|
|
20995
|
-
const SpreadSheetImage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20996
|
-
const _sfc_main$
|
|
20998
|
+
const SpreadSheetImage = /* @__PURE__ */ _export_sfc(_sfc_main$5A, [["__scopeId", "data-v-57e657ee"]]);
|
|
20999
|
+
const _sfc_main$5z = /* @__PURE__ */ defineComponent({
|
|
20997
21000
|
__name: "sheet-selection",
|
|
20998
21001
|
setup(__props) {
|
|
20999
21002
|
const { selection: selection2, colWidthStage: ws, rowHeightStage: rs } = useSpreadSheet();
|
|
@@ -21043,12 +21046,12 @@ const _sfc_main$5y = /* @__PURE__ */ defineComponent({
|
|
|
21043
21046
|
};
|
|
21044
21047
|
}
|
|
21045
21048
|
});
|
|
21046
|
-
const SpreadSheetSelection = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21047
|
-
const _hoisted_1$
|
|
21049
|
+
const SpreadSheetSelection = /* @__PURE__ */ _export_sfc(_sfc_main$5z, [["__scopeId", "data-v-446a25ba"]]);
|
|
21050
|
+
const _hoisted_1$35 = {
|
|
21048
21051
|
key: 0,
|
|
21049
21052
|
class: "h-full w-full flex justify-center items-center overflow-hidden text-16px color-[#ddd]"
|
|
21050
21053
|
};
|
|
21051
|
-
const _sfc_main$
|
|
21054
|
+
const _sfc_main$5y = /* @__PURE__ */ defineComponent({
|
|
21052
21055
|
__name: "sheet-dynamic-tr",
|
|
21053
21056
|
props: {
|
|
21054
21057
|
id: {},
|
|
@@ -21141,13 +21144,13 @@ const _sfc_main$5x = /* @__PURE__ */ defineComponent({
|
|
|
21141
21144
|
}]),
|
|
21142
21145
|
style: normalizeStyle(style.value)
|
|
21143
21146
|
}, [
|
|
21144
|
-
!__props.dgRange && isTwoD.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
21147
|
+
!__props.dgRange && isTwoD.value ? (openBlock(), createElementBlock("div", _hoisted_1$35, toDisplayString$1(_ctx.$t("sys.onlineForm.pleaseConfigureDynamicAssociation")), 1)) : createCommentVNode("", true)
|
|
21145
21148
|
], 6)
|
|
21146
21149
|
], 64);
|
|
21147
21150
|
};
|
|
21148
21151
|
}
|
|
21149
21152
|
});
|
|
21150
|
-
const _sfc_main$
|
|
21153
|
+
const _sfc_main$5x = /* @__PURE__ */ defineComponent({
|
|
21151
21154
|
__name: "sheet-check-table",
|
|
21152
21155
|
props: {
|
|
21153
21156
|
id: {},
|
|
@@ -21176,7 +21179,7 @@ const _sfc_main$5w = /* @__PURE__ */ defineComponent({
|
|
|
21176
21179
|
};
|
|
21177
21180
|
}
|
|
21178
21181
|
});
|
|
21179
|
-
const _sfc_main$
|
|
21182
|
+
const _sfc_main$5w = /* @__PURE__ */ defineComponent({
|
|
21180
21183
|
__name: "sheet-fixed-table",
|
|
21181
21184
|
props: {
|
|
21182
21185
|
id: {},
|
|
@@ -21260,8 +21263,8 @@ const _sfc_main$5v = /* @__PURE__ */ defineComponent({
|
|
|
21260
21263
|
};
|
|
21261
21264
|
}
|
|
21262
21265
|
});
|
|
21263
|
-
const SpreadSheetFixedTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21264
|
-
const _sfc_main$
|
|
21266
|
+
const SpreadSheetFixedTable = /* @__PURE__ */ _export_sfc(_sfc_main$5w, [["__scopeId", "data-v-f5d2e0dc"]]);
|
|
21267
|
+
const _sfc_main$5v = /* @__PURE__ */ defineComponent({
|
|
21265
21268
|
__name: "sheet-data-group",
|
|
21266
21269
|
props: {
|
|
21267
21270
|
id: {},
|
|
@@ -21323,8 +21326,8 @@ const _sfc_main$5u = /* @__PURE__ */ defineComponent({
|
|
|
21323
21326
|
};
|
|
21324
21327
|
}
|
|
21325
21328
|
});
|
|
21326
|
-
const SpreadSheetDataGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21327
|
-
const _sfc_main$
|
|
21329
|
+
const SpreadSheetDataGroup = /* @__PURE__ */ _export_sfc(_sfc_main$5v, [["__scopeId", "data-v-bc43db47"]]);
|
|
21330
|
+
const _sfc_main$5u = /* @__PURE__ */ defineComponent({
|
|
21328
21331
|
__name: "sheet-data-group-2d",
|
|
21329
21332
|
props: {
|
|
21330
21333
|
id: {},
|
|
@@ -21390,8 +21393,8 @@ const _sfc_main$5t = /* @__PURE__ */ defineComponent({
|
|
|
21390
21393
|
};
|
|
21391
21394
|
}
|
|
21392
21395
|
});
|
|
21393
|
-
const SpreadSheetDataGroup2D = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21394
|
-
const _sfc_main$
|
|
21396
|
+
const SpreadSheetDataGroup2D = /* @__PURE__ */ _export_sfc(_sfc_main$5u, [["__scopeId", "data-v-6c0ae9f8"]]);
|
|
21397
|
+
const _sfc_main$5t = /* @__PURE__ */ defineComponent({
|
|
21395
21398
|
__name: "sheet-check-tr",
|
|
21396
21399
|
props: {
|
|
21397
21400
|
id: {},
|
|
@@ -21475,8 +21478,8 @@ const _sfc_main$5s = /* @__PURE__ */ defineComponent({
|
|
|
21475
21478
|
};
|
|
21476
21479
|
}
|
|
21477
21480
|
});
|
|
21478
|
-
const SpreadSheetCheckTr = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21479
|
-
const _sfc_main$
|
|
21481
|
+
const SpreadSheetCheckTr = /* @__PURE__ */ _export_sfc(_sfc_main$5t, [["__scopeId", "data-v-998178da"]]);
|
|
21482
|
+
const _sfc_main$5s = /* @__PURE__ */ defineComponent({
|
|
21480
21483
|
__name: "sheet-data-group-ref",
|
|
21481
21484
|
props: {
|
|
21482
21485
|
dataGroupIndex: {},
|
|
@@ -21513,8 +21516,8 @@ const _sfc_main$5r = /* @__PURE__ */ defineComponent({
|
|
|
21513
21516
|
};
|
|
21514
21517
|
}
|
|
21515
21518
|
});
|
|
21516
|
-
const SpreadSheetDataGroupRef = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21517
|
-
const _sfc_main$
|
|
21519
|
+
const SpreadSheetDataGroupRef = /* @__PURE__ */ _export_sfc(_sfc_main$5s, [["__scopeId", "data-v-d28554d6"]]);
|
|
21520
|
+
const _sfc_main$5r = /* @__PURE__ */ defineComponent({
|
|
21518
21521
|
__name: "sheet-dynamic-thead",
|
|
21519
21522
|
props: {
|
|
21520
21523
|
id: {},
|
|
@@ -21560,7 +21563,7 @@ const _sfc_main$5q = /* @__PURE__ */ defineComponent({
|
|
|
21560
21563
|
};
|
|
21561
21564
|
}
|
|
21562
21565
|
});
|
|
21563
|
-
const _sfc_main$
|
|
21566
|
+
const _sfc_main$5q = /* @__PURE__ */ defineComponent({
|
|
21564
21567
|
__name: "context-menu-modal",
|
|
21565
21568
|
props: {
|
|
21566
21569
|
label: {},
|
|
@@ -21623,7 +21626,7 @@ const _sfc_main$5p = /* @__PURE__ */ defineComponent({
|
|
|
21623
21626
|
};
|
|
21624
21627
|
}
|
|
21625
21628
|
});
|
|
21626
|
-
const _sfc_main$
|
|
21629
|
+
const _sfc_main$5p = /* @__PURE__ */ defineComponent({
|
|
21627
21630
|
__name: "context-menu",
|
|
21628
21631
|
props: {
|
|
21629
21632
|
type: {}
|
|
@@ -21765,7 +21768,7 @@ const _sfc_main$5o = /* @__PURE__ */ defineComponent({
|
|
|
21765
21768
|
}
|
|
21766
21769
|
};
|
|
21767
21770
|
const result = await window.NocodeAdapter.utils.overlay.modal(
|
|
21768
|
-
_sfc_main$
|
|
21771
|
+
_sfc_main$5q,
|
|
21769
21772
|
{
|
|
21770
21773
|
defaultValue,
|
|
21771
21774
|
label: title
|
|
@@ -22085,22 +22088,22 @@ const _sfc_main$5o = /* @__PURE__ */ defineComponent({
|
|
|
22085
22088
|
};
|
|
22086
22089
|
}
|
|
22087
22090
|
});
|
|
22088
|
-
const ContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22089
|
-
const _hoisted_1$
|
|
22090
|
-
const _hoisted_2$
|
|
22091
|
+
const ContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$5p, [["__scopeId", "data-v-10739a10"]]);
|
|
22092
|
+
const _hoisted_1$34 = { class: "paper-content" };
|
|
22093
|
+
const _hoisted_2$2d = {
|
|
22091
22094
|
cellpadding: "0",
|
|
22092
22095
|
cellspacing: "0"
|
|
22093
22096
|
};
|
|
22094
22097
|
const _hoisted_3$1K = ["data-x", "width"];
|
|
22095
|
-
const _sfc_main$
|
|
22098
|
+
const _sfc_main$5o = /* @__PURE__ */ defineComponent({
|
|
22096
22099
|
__name: "paper-content",
|
|
22097
22100
|
setup(__props) {
|
|
22098
22101
|
const { paper: paper2, selection: selection2, tableDataGroups: tableDataGroups2, checkRowDataGroups: checkRowDataGroups2, checkColDataGroups: checkColDataGroups2 } = useSpreadSheet();
|
|
22099
22102
|
return (_ctx, _cache) => {
|
|
22100
22103
|
return openBlock(), createBlock(ContextMenu, { type: "paper" }, {
|
|
22101
22104
|
default: withCtx(() => [
|
|
22102
|
-
createElementVNode("div", _hoisted_1$
|
|
22103
|
-
createElementVNode("table", _hoisted_2$
|
|
22105
|
+
createElementVNode("div", _hoisted_1$34, [
|
|
22106
|
+
createElementVNode("table", _hoisted_2$2d, [
|
|
22104
22107
|
createElementVNode("colgroup", null, [
|
|
22105
22108
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(paper2).cols, (col, colIndex) => {
|
|
22106
22109
|
return openBlock(), createElementBlock("col", {
|
|
@@ -22112,7 +22115,7 @@ const _sfc_main$5n = /* @__PURE__ */ defineComponent({
|
|
|
22112
22115
|
]),
|
|
22113
22116
|
createElementVNode("tbody", null, [
|
|
22114
22117
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(paper2).rows, (row, rowIndex) => {
|
|
22115
|
-
return openBlock(), createBlock(_sfc_main$
|
|
22118
|
+
return openBlock(), createBlock(_sfc_main$62, {
|
|
22116
22119
|
key: rowIndex + 1,
|
|
22117
22120
|
"data-y": rowIndex + 1,
|
|
22118
22121
|
height: row.height
|
|
@@ -22140,16 +22143,16 @@ const _sfc_main$5n = /* @__PURE__ */ defineComponent({
|
|
|
22140
22143
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(paper2).images, (item, index2) => {
|
|
22141
22144
|
return openBlock(), createBlock(SpreadSheetImage, mergeProps({ ref_for: true }, item, { key: index2 }), null, 16);
|
|
22142
22145
|
}), 128)),
|
|
22143
|
-
unref(paper2).thead?.thRange ? (openBlock(), createBlock(_sfc_main$
|
|
22146
|
+
unref(paper2).thead?.thRange ? (openBlock(), createBlock(_sfc_main$5r, normalizeProps(mergeProps({ key: 0 }, unref(paper2).thead)), null, 16)) : createCommentVNode("", true),
|
|
22144
22147
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(paper2).dynamicTables, (t2) => {
|
|
22145
22148
|
return openBlock(), createElementBlock(Fragment, {
|
|
22146
22149
|
key: t2.id
|
|
22147
22150
|
}, [
|
|
22148
|
-
t2.thRange ? (openBlock(), createBlock(_sfc_main$
|
|
22151
|
+
t2.thRange ? (openBlock(), createBlock(_sfc_main$5r, mergeProps({
|
|
22149
22152
|
key: 0,
|
|
22150
22153
|
ref_for: true
|
|
22151
22154
|
}, t2), null, 16)) : createCommentVNode("", true),
|
|
22152
|
-
createVNode(_sfc_main$
|
|
22155
|
+
createVNode(_sfc_main$5y, mergeProps({ ref_for: true }, t2), null, 16),
|
|
22153
22156
|
t2.dgRange ? (openBlock(), createBlock(SpreadSheetDataGroup2D, mergeProps({
|
|
22154
22157
|
key: 1,
|
|
22155
22158
|
ref_for: true
|
|
@@ -22160,7 +22163,7 @@ const _sfc_main$5n = /* @__PURE__ */ defineComponent({
|
|
|
22160
22163
|
return openBlock(), createElementBlock(Fragment, {
|
|
22161
22164
|
key: t2.id
|
|
22162
22165
|
}, [
|
|
22163
|
-
t2.thRange ? (openBlock(), createBlock(_sfc_main$
|
|
22166
|
+
t2.thRange ? (openBlock(), createBlock(_sfc_main$5r, mergeProps({
|
|
22164
22167
|
key: 0,
|
|
22165
22168
|
ref_for: true
|
|
22166
22169
|
}, t2), null, 16)) : createCommentVNode("", true),
|
|
@@ -22168,7 +22171,7 @@ const _sfc_main$5n = /* @__PURE__ */ defineComponent({
|
|
|
22168
22171
|
key: 1,
|
|
22169
22172
|
ref_for: true
|
|
22170
22173
|
}, t2), null, 16)) : createCommentVNode("", true),
|
|
22171
|
-
t2.type === unref(SubTableType).CHECK ? (openBlock(), createBlock(_sfc_main$
|
|
22174
|
+
t2.type === unref(SubTableType).CHECK ? (openBlock(), createBlock(_sfc_main$5x, mergeProps({
|
|
22172
22175
|
key: 2,
|
|
22173
22176
|
ref_for: true
|
|
22174
22177
|
}, t2), null, 16)) : createCommentVNode("", true),
|
|
@@ -22231,8 +22234,8 @@ const _sfc_main$5n = /* @__PURE__ */ defineComponent({
|
|
|
22231
22234
|
};
|
|
22232
22235
|
}
|
|
22233
22236
|
});
|
|
22234
|
-
const _hoisted_1$
|
|
22235
|
-
const _sfc_main$
|
|
22237
|
+
const _hoisted_1$33 = { class: "tip" };
|
|
22238
|
+
const _sfc_main$5n = /* @__PURE__ */ defineComponent({
|
|
22236
22239
|
__name: "paper-widget-group",
|
|
22237
22240
|
props: {
|
|
22238
22241
|
position: {}
|
|
@@ -22302,7 +22305,7 @@ const _sfc_main$5m = /* @__PURE__ */ defineComponent({
|
|
|
22302
22305
|
onDrop: _cache[1] || (_cache[1] = //@ts-ignore
|
|
22303
22306
|
(...args) => unref(handleDrop) && unref(handleDrop)(...args))
|
|
22304
22307
|
}, [
|
|
22305
|
-
createElementVNode("span", _hoisted_1$
|
|
22308
|
+
createElementVNode("span", _hoisted_1$33, toDisplayString$1(areaConfigMap.value[__props.position].tip), 1),
|
|
22306
22309
|
(openBlock(true), createElementBlock(Fragment, null, renderList(areaConfigMap.value[__props.position].widgets, (w) => {
|
|
22307
22310
|
return openBlock(), createBlock(DragBox, {
|
|
22308
22311
|
key: w.id,
|
|
@@ -22343,17 +22346,17 @@ const _sfc_main$5m = /* @__PURE__ */ defineComponent({
|
|
|
22343
22346
|
};
|
|
22344
22347
|
}
|
|
22345
22348
|
});
|
|
22346
|
-
const _hoisted_1$
|
|
22349
|
+
const _hoisted_1$32 = {
|
|
22347
22350
|
cellpadding: "0",
|
|
22348
22351
|
cellspacing: "0",
|
|
22349
22352
|
class: "table-x__table"
|
|
22350
22353
|
};
|
|
22351
|
-
const _hoisted_2$
|
|
22354
|
+
const _hoisted_2$2c = ["data-x", "width"];
|
|
22352
22355
|
const _hoisted_3$1J = ["data-x"];
|
|
22353
22356
|
const _hoisted_4$1b = ["onMouseenter"];
|
|
22354
22357
|
const _hoisted_5$W = ["onClick"];
|
|
22355
22358
|
const _hoisted_6$F = ["data-x"];
|
|
22356
|
-
const _sfc_main$
|
|
22359
|
+
const _sfc_main$5m = /* @__PURE__ */ defineComponent({
|
|
22357
22360
|
__name: "table-x",
|
|
22358
22361
|
setup(__props) {
|
|
22359
22362
|
const { paper: paper2, paperLayout: paperLayout2, selection: selection2, insertCol, sheetReadonly: sheetReadonly2 } = useSpreadSheet();
|
|
@@ -22397,14 +22400,14 @@ const _sfc_main$5l = /* @__PURE__ */ defineComponent({
|
|
|
22397
22400
|
width: `calc(${tableMaxWidth.value}mm + 10px)`
|
|
22398
22401
|
})
|
|
22399
22402
|
}, [
|
|
22400
|
-
createElementVNode("table", _hoisted_1$
|
|
22403
|
+
createElementVNode("table", _hoisted_1$32, [
|
|
22401
22404
|
createElementVNode("colgroup", null, [
|
|
22402
22405
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(paper2).cols, (col, colIndex) => {
|
|
22403
22406
|
return openBlock(), createElementBlock("col", {
|
|
22404
22407
|
key: colIndex + 1,
|
|
22405
22408
|
"data-x": colIndex + 1,
|
|
22406
22409
|
width: col.width
|
|
22407
|
-
}, null, 8, _hoisted_2$
|
|
22410
|
+
}, null, 8, _hoisted_2$2c);
|
|
22408
22411
|
}), 128))
|
|
22409
22412
|
]),
|
|
22410
22413
|
createElementVNode("tbody", null, [
|
|
@@ -22470,8 +22473,8 @@ const _sfc_main$5l = /* @__PURE__ */ defineComponent({
|
|
|
22470
22473
|
};
|
|
22471
22474
|
}
|
|
22472
22475
|
});
|
|
22473
|
-
const _hoisted_1$
|
|
22474
|
-
const _hoisted_2$
|
|
22476
|
+
const _hoisted_1$31 = { class: "table-y__points" };
|
|
22477
|
+
const _hoisted_2$2b = {
|
|
22475
22478
|
cellpadding: "0",
|
|
22476
22479
|
cellspacing: "0",
|
|
22477
22480
|
class: "table-y__table"
|
|
@@ -22481,7 +22484,7 @@ const _hoisted_4$1a = ["data-y", "height"];
|
|
|
22481
22484
|
const _hoisted_5$V = { style: { "position": "relative" } };
|
|
22482
22485
|
const _hoisted_6$E = ["onMouseenter"];
|
|
22483
22486
|
const _hoisted_7$r = ["onClick"];
|
|
22484
|
-
const _sfc_main$
|
|
22487
|
+
const _sfc_main$5l = /* @__PURE__ */ defineComponent({
|
|
22485
22488
|
__name: "table-y",
|
|
22486
22489
|
setup(__props) {
|
|
22487
22490
|
const { paper: paper2, paperLayout: paperLayout2, selection: selection2, insertRow, sheetReadonly: sheetReadonly2 } = useSpreadSheet();
|
|
@@ -22519,8 +22522,8 @@ const _sfc_main$5k = /* @__PURE__ */ defineComponent({
|
|
|
22519
22522
|
display: isHidden.value ? "none" : void 0
|
|
22520
22523
|
})
|
|
22521
22524
|
}, [
|
|
22522
|
-
createElementVNode("div", _hoisted_1$
|
|
22523
|
-
createElementVNode("table", _hoisted_2$
|
|
22525
|
+
createElementVNode("div", _hoisted_1$31, [
|
|
22526
|
+
createElementVNode("table", _hoisted_2$2b, [
|
|
22524
22527
|
createElementVNode("colgroup", null, [
|
|
22525
22528
|
_cache[2] || (_cache[2] = createElementVNode("col", { width: 20 }, null, -1)),
|
|
22526
22529
|
createElementVNode("col", {
|
|
@@ -22575,7 +22578,7 @@ const _sfc_main$5k = /* @__PURE__ */ defineComponent({
|
|
|
22575
22578
|
};
|
|
22576
22579
|
}
|
|
22577
22580
|
});
|
|
22578
|
-
const _sfc_main$
|
|
22581
|
+
const _sfc_main$5k = /* @__PURE__ */ defineComponent({
|
|
22579
22582
|
__name: "sheet-paper",
|
|
22580
22583
|
setup(__props) {
|
|
22581
22584
|
const { paper: paper2 } = useSpreadSheet();
|
|
@@ -22591,25 +22594,25 @@ const _sfc_main$5j = /* @__PURE__ */ defineComponent({
|
|
|
22591
22594
|
"--paper-footer-size": `${unref(paper2).padding.b}mm`
|
|
22592
22595
|
})
|
|
22593
22596
|
}, [
|
|
22597
|
+
createVNode(_sfc_main$5m),
|
|
22594
22598
|
createVNode(_sfc_main$5l),
|
|
22595
|
-
|
|
22596
|
-
unref(paper2).paperHeader ? (openBlock(), createBlock(_sfc_main$5m, {
|
|
22599
|
+
unref(paper2).paperHeader ? (openBlock(), createBlock(_sfc_main$5n, {
|
|
22597
22600
|
key: 0,
|
|
22598
22601
|
position: "header"
|
|
22599
22602
|
})) : createCommentVNode("", true),
|
|
22600
|
-
createVNode(_sfc_main$
|
|
22601
|
-
unref(paper2).paperFooter ? (openBlock(), createBlock(_sfc_main$
|
|
22603
|
+
createVNode(_sfc_main$5o),
|
|
22604
|
+
unref(paper2).paperFooter ? (openBlock(), createBlock(_sfc_main$5n, {
|
|
22602
22605
|
key: 1,
|
|
22603
22606
|
position: "footer"
|
|
22604
22607
|
})) : createCommentVNode("", true),
|
|
22605
|
-
createVNode(_sfc_main$
|
|
22606
|
-
createVNode(_sfc_main$
|
|
22608
|
+
createVNode(_sfc_main$64),
|
|
22609
|
+
createVNode(_sfc_main$63)
|
|
22607
22610
|
], 4);
|
|
22608
22611
|
};
|
|
22609
22612
|
}
|
|
22610
22613
|
});
|
|
22611
|
-
const SpreadSheetPaper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22612
|
-
const _sfc_main$
|
|
22614
|
+
const SpreadSheetPaper = /* @__PURE__ */ _export_sfc(_sfc_main$5k, [["__scopeId", "data-v-700dbb29"]]);
|
|
22615
|
+
const _sfc_main$5j = defineComponent({
|
|
22613
22616
|
name: "SvgIcon",
|
|
22614
22617
|
props: {
|
|
22615
22618
|
prefix: {
|
|
@@ -22643,29 +22646,29 @@ const _sfc_main$5i = defineComponent({
|
|
|
22643
22646
|
return { symbolId, getStyle };
|
|
22644
22647
|
}
|
|
22645
22648
|
});
|
|
22646
|
-
const _hoisted_1$
|
|
22649
|
+
const _hoisted_1$30 = ["xlink:href"];
|
|
22647
22650
|
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22648
22651
|
return openBlock(), createElementBlock("svg", {
|
|
22649
22652
|
class: normalizeClass(["svg-icon", _ctx.$attrs.class, _ctx.spin && "svg-icon-spin"]),
|
|
22650
22653
|
style: normalizeStyle(_ctx.getStyle),
|
|
22651
22654
|
"aria-hidden": "true"
|
|
22652
22655
|
}, [
|
|
22653
|
-
createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$
|
|
22656
|
+
createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$30)
|
|
22654
22657
|
], 6);
|
|
22655
22658
|
}
|
|
22656
|
-
const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22657
|
-
const _hoisted_1$
|
|
22658
|
-
const _hoisted_2$
|
|
22659
|
+
const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$5j, [["render", _sfc_render$f], ["__scopeId", "data-v-8cce78a3"]]);
|
|
22660
|
+
const _hoisted_1$2$ = { class: "file-form-upload-wrapper" };
|
|
22661
|
+
const _hoisted_2$2a = { class: "file-form-upload-design" };
|
|
22659
22662
|
const _hoisted_3$1H = { style: { "pointer-events": "none" } };
|
|
22660
22663
|
const _hoisted_4$19 = { class: "file-form-upload-text" };
|
|
22661
22664
|
const _hoisted_5$U = { class: "file-form-hint" };
|
|
22662
|
-
const _sfc_main$
|
|
22665
|
+
const _sfc_main$5i = /* @__PURE__ */ defineComponent({
|
|
22663
22666
|
__name: "file-view",
|
|
22664
22667
|
setup(__props) {
|
|
22665
22668
|
return (_ctx, _cache) => {
|
|
22666
22669
|
const _component_a_upload_dragger = resolveComponent("a-upload-dragger");
|
|
22667
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
22668
|
-
createElementVNode("div", _hoisted_2$
|
|
22670
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2$, [
|
|
22671
|
+
createElementVNode("div", _hoisted_2$2a, [
|
|
22669
22672
|
createElementVNode("div", _hoisted_3$1H, [
|
|
22670
22673
|
createVNode(_component_a_upload_dragger, {
|
|
22671
22674
|
fileList: [],
|
|
@@ -22689,10 +22692,10 @@ const _sfc_main$5h = /* @__PURE__ */ defineComponent({
|
|
|
22689
22692
|
};
|
|
22690
22693
|
}
|
|
22691
22694
|
});
|
|
22692
|
-
const FileView = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22695
|
+
const FileView = /* @__PURE__ */ _export_sfc(_sfc_main$5i, [["__scopeId", "data-v-0d062d8d"]]);
|
|
22693
22696
|
const NoDataSvg = "data:image/svg+xml,%3csvg%20width='202'%20height='201'%20viewBox='0%200%20202%20201'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_4030_503)'%3e%3cpath%20d='M33.1006%20149.25L101%20128.18V43.0892L33.1006%2062.667V149.25Z'%20fill='%23CED3DE'/%3e%3cpath%20opacity='0.4'%20d='M168.899%20149.25L101%20128.18V43.0892L168.899%2062.667V149.25Z'%20fill='%236D7C9A'/%3e%3cpath%20d='M33.9172%20147.467L100.513%20126.491V42.9001L33.9172%2061.2689V147.467Z'%20fill='%23CED3DC'/%3e%3cpath%20d='M167.11%20147.467L100.513%20126.491V42.9001L167.11%2061.2689V147.467Z'%20fill='%23D8DCE3'/%3e%3cpath%20d='M101%20169.25L33.1006%20148.161V61.7499L101%2082.8384V169.25Z'%20fill='url(%23paint0_linear_4030_503)'/%3e%3cpath%20d='M101%20169.25L168.899%20148.161V61.7499L101%2082.8384V169.25Z'%20fill='url(%23paint1_linear_4030_503)'/%3e%3cpath%20opacity='0.09'%20d='M85.616%20154.25L33.1006%20148.386V61.7499L101%2082.8934L85.616%20154.25Z'%20fill='url(%23paint2_linear_4030_503)'/%3e%3cpath%20opacity='0.2'%20d='M116.384%20140.012L168.899%20149.25V64.25L101%2084.994L116.384%20140.012Z'%20fill='url(%23paint3_linear_4030_503)'/%3e%3cpath%20d='M101%2043.1346L69.1919%2019.25L0.408264%2042.4808L33.3468%2064.25L101%2043.1346Z'%20fill='url(%23paint4_linear_4030_503)'/%3e%3cpath%20d='M101%2043.1346L132.808%2019.25L201.592%2042.4808L168.653%2064.25L101%2043.1346Z'%20fill='url(%23paint5_linear_4030_503)'/%3e%3cpath%20d='M33.3468%2061.7499L101%2082.8474L67.2529%20104.25L0.408264%2082.1995L33.3468%2061.7499Z'%20fill='%23FBFCFE'/%3e%3cpath%20d='M168.653%2061.7499L101%2082.8474L134.745%20104.25L201.592%2082.1995L168.653%2061.7499Z'%20fill='%23F8FAFC'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_4030_503'%20x1='5178.17'%20y1='9713.97'%20x2='-861.592'%20y2='3305.18'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DCE2EC'/%3e%3cstop%20offset='1'%20stop-color='%23EEF1F5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_4030_503'%20x1='5246.07'%20y1='9713.97'%20x2='-793.693'%20y2='3305.18'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DCE2EC'/%3e%3cstop%20offset='1'%20stop-color='%23EEF1F5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_4030_503'%20x1='1956.77'%20y1='4686.76'%20x2='3998.32'%20y2='2007.13'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DCE2EC'%20stop-opacity='0'/%3e%3cstop%20offset='1'%20stop-color='%23DCE2EC'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_4030_503'%20x1='3666.16'%20y1='7091.76'%20x2='3792.54'%20y2='1412.6'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DCE0E9'/%3e%3cstop%20offset='1'%20stop-color='%23DCE0E9'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_4030_503'%20x1='11606.1'%20y1='2631.82'%20x2='-183.957'%20y2='-903.086'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FCFCFC'/%3e%3cstop%20offset='1'%20stop-color='%23EFF2F6'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_4030_503'%20x1='1214.91'%20y1='2824.87'%20x2='7446.56'%20y2='-1433.95'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F8FAFC'/%3e%3cstop%20offset='1'%20stop-color='%23DEE4ED'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_4030_503'%3e%3crect%20width='201.183'%20height='200'%20fill='white'%20transform='translate(0.408264%200.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
22694
|
-
const _hoisted_1$
|
|
22695
|
-
const _hoisted_2$
|
|
22697
|
+
const _hoisted_1$2_ = { class: "swapper" };
|
|
22698
|
+
const _hoisted_2$29 = { class: "item-box" };
|
|
22696
22699
|
const _hoisted_3$1G = ["onClick"];
|
|
22697
22700
|
const _hoisted_4$18 = ["onClick"];
|
|
22698
22701
|
const _hoisted_5$T = ["onClick"];
|
|
@@ -22700,7 +22703,7 @@ const _hoisted_6$D = {
|
|
|
22700
22703
|
key: 0,
|
|
22701
22704
|
class: "swapper-btn"
|
|
22702
22705
|
};
|
|
22703
|
-
const _sfc_main$
|
|
22706
|
+
const _sfc_main$5h = /* @__PURE__ */ defineComponent({
|
|
22704
22707
|
__name: "sheets-swapper",
|
|
22705
22708
|
props: {
|
|
22706
22709
|
data: {},
|
|
@@ -22761,13 +22764,13 @@ const _sfc_main$5g = /* @__PURE__ */ defineComponent({
|
|
|
22761
22764
|
});
|
|
22762
22765
|
return (_ctx, _cache) => {
|
|
22763
22766
|
const _component_a_popover = resolveComponent("a-popover");
|
|
22764
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
22767
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2_, [
|
|
22765
22768
|
createElementVNode("div", {
|
|
22766
22769
|
ref_key: "swapperListRef",
|
|
22767
22770
|
ref: swapperListRef,
|
|
22768
22771
|
class: "swapper-list"
|
|
22769
22772
|
}, [
|
|
22770
|
-
createElementVNode("div", _hoisted_2$
|
|
22773
|
+
createElementVNode("div", _hoisted_2$29, [
|
|
22771
22774
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(sheetsData2), (item) => {
|
|
22772
22775
|
return openBlock(), createElementBlock("div", {
|
|
22773
22776
|
key: item.sheetId,
|
|
@@ -22822,11 +22825,11 @@ const _sfc_main$5g = /* @__PURE__ */ defineComponent({
|
|
|
22822
22825
|
};
|
|
22823
22826
|
}
|
|
22824
22827
|
});
|
|
22825
|
-
const SheetsSwapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22826
|
-
const _hoisted_1$
|
|
22827
|
-
const _hoisted_2$
|
|
22828
|
+
const SheetsSwapper = /* @__PURE__ */ _export_sfc(_sfc_main$5h, [["__scopeId", "data-v-3f173078"]]);
|
|
22829
|
+
const _hoisted_1$2Z = { class: "sheets" };
|
|
22830
|
+
const _hoisted_2$28 = { class: "sheets-btns" };
|
|
22828
22831
|
const _hoisted_3$1F = ["title", "onClick"];
|
|
22829
|
-
const _sfc_main$
|
|
22832
|
+
const _sfc_main$5g = /* @__PURE__ */ defineComponent({
|
|
22830
22833
|
__name: "index",
|
|
22831
22834
|
props: {
|
|
22832
22835
|
readonly: { type: Boolean }
|
|
@@ -22835,8 +22838,8 @@ const _sfc_main$5f = /* @__PURE__ */ defineComponent({
|
|
|
22835
22838
|
const { sheetsData: sheetsData2, activeSheetId: activeSheetId2, changeActiveSheet: changeActiveSheet2, addSheet } = useAllSpreadSheets();
|
|
22836
22839
|
return (_ctx, _cache) => {
|
|
22837
22840
|
const _component_a_popover = resolveComponent("a-popover");
|
|
22838
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
22839
|
-
createElementVNode("div", _hoisted_2$
|
|
22841
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2Z, [
|
|
22842
|
+
createElementVNode("div", _hoisted_2$28, [
|
|
22840
22843
|
withDirectives(createElementVNode("i", {
|
|
22841
22844
|
class: "iconfont icon-icon_xinjianbiao",
|
|
22842
22845
|
onClick: _cache[0] || (_cache[0] = ($event) => unref(addSheet)())
|
|
@@ -22876,14 +22879,14 @@ const _sfc_main$5f = /* @__PURE__ */ defineComponent({
|
|
|
22876
22879
|
};
|
|
22877
22880
|
}
|
|
22878
22881
|
});
|
|
22879
|
-
const SheetsComp = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22880
|
-
const _hoisted_1$
|
|
22882
|
+
const SheetsComp = /* @__PURE__ */ _export_sfc(_sfc_main$5g, [["__scopeId", "data-v-518fed3f"]]);
|
|
22883
|
+
const _hoisted_1$2Y = {
|
|
22881
22884
|
key: 1,
|
|
22882
22885
|
class: "h-full w-full flex items-center justify-center"
|
|
22883
22886
|
};
|
|
22884
|
-
const _hoisted_2$
|
|
22887
|
+
const _hoisted_2$27 = { class: "spread-sheet__canvas" };
|
|
22885
22888
|
const _hoisted_3$1E = { key: 4 };
|
|
22886
|
-
const _sfc_main$
|
|
22889
|
+
const _sfc_main$5f = /* @__PURE__ */ defineComponent({
|
|
22887
22890
|
__name: "sheet-view",
|
|
22888
22891
|
props: {
|
|
22889
22892
|
loading: { type: Boolean },
|
|
@@ -22904,7 +22907,7 @@ const _sfc_main$5e = /* @__PURE__ */ defineComponent({
|
|
|
22904
22907
|
key: 0,
|
|
22905
22908
|
size: "large"
|
|
22906
22909
|
})) : createCommentVNode("", true),
|
|
22907
|
-
__props.sheetNull ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
22910
|
+
__props.sheetNull ? (openBlock(), createElementBlock("div", _hoisted_1$2Y, [
|
|
22908
22911
|
createVNode(_component_a_empty, { image: unref(NoDataSvg) }, null, 8, ["image"])
|
|
22909
22912
|
])) : unref(doc2).formType === unref(FormTypeEnum).FILE ? (openBlock(), createBlock(FileView, { key: 2 })) : (openBlock(), createElementBlock("div", {
|
|
22910
22913
|
key: 3,
|
|
@@ -22916,7 +22919,7 @@ const _sfc_main$5e = /* @__PURE__ */ defineComponent({
|
|
|
22916
22919
|
"--paper-height": unref(paperFitHeight2) + "mm"
|
|
22917
22920
|
})
|
|
22918
22921
|
}, [
|
|
22919
|
-
createElementVNode("div", _hoisted_2$
|
|
22922
|
+
createElementVNode("div", _hoisted_2$27, [
|
|
22920
22923
|
(openBlock(), createBlock(SpreadSheetPaper, {
|
|
22921
22924
|
key: unref(activeSheet2).sheetId,
|
|
22922
22925
|
class: "spread-sheet__paper",
|
|
@@ -22934,7 +22937,7 @@ const _sfc_main$5e = /* @__PURE__ */ defineComponent({
|
|
|
22934
22937
|
};
|
|
22935
22938
|
}
|
|
22936
22939
|
});
|
|
22937
|
-
const SpreadSheet$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22940
|
+
const SpreadSheet$1 = /* @__PURE__ */ _export_sfc(_sfc_main$5f, [["__scopeId", "data-v-76abe945"]]);
|
|
22938
22941
|
const { setDoc, setSheetMaps, setDesignMode, setCallback, platformType } = useSpreadSheet();
|
|
22939
22942
|
const { initMasterModel } = useModelFields();
|
|
22940
22943
|
const loading = ref(false);
|
|
@@ -23107,7 +23110,7 @@ function usePrint() {
|
|
|
23107
23110
|
enableReverseModeling
|
|
23108
23111
|
};
|
|
23109
23112
|
}
|
|
23110
|
-
const _sfc_main$
|
|
23113
|
+
const _sfc_main$5e = /* @__PURE__ */ defineComponent({
|
|
23111
23114
|
__name: "apaas-collect-sheet-view",
|
|
23112
23115
|
props: {
|
|
23113
23116
|
dataId: {},
|
|
@@ -23141,7 +23144,7 @@ const _sfc_main$5d = /* @__PURE__ */ defineComponent({
|
|
|
23141
23144
|
}
|
|
23142
23145
|
});
|
|
23143
23146
|
const SHOW_TMPL_KEY = /* @__PURE__ */ Symbol("onlineFormShowTmpl");
|
|
23144
|
-
const _sfc_main$
|
|
23147
|
+
const _sfc_main$5d = /* @__PURE__ */ defineComponent({
|
|
23145
23148
|
__name: "sheet-tl",
|
|
23146
23149
|
setup(__props) {
|
|
23147
23150
|
const { selectAll } = useSpreadSheet();
|
|
@@ -23171,8 +23174,8 @@ function useViewport() {
|
|
|
23171
23174
|
updateScrollX
|
|
23172
23175
|
};
|
|
23173
23176
|
}
|
|
23174
|
-
const _hoisted_1$
|
|
23175
|
-
const _hoisted_2$
|
|
23177
|
+
const _hoisted_1$2X = { class: "" };
|
|
23178
|
+
const _hoisted_2$26 = {
|
|
23176
23179
|
ref: "PaperXTableRef",
|
|
23177
23180
|
cellpadding: "0",
|
|
23178
23181
|
cellspacing: "0"
|
|
@@ -23180,7 +23183,7 @@ const _hoisted_2$25 = {
|
|
|
23180
23183
|
const _hoisted_3$1D = ["data-x", "width"];
|
|
23181
23184
|
const _hoisted_4$17 = ["data-x"];
|
|
23182
23185
|
const _hoisted_5$S = { class: "title-x" };
|
|
23183
|
-
const _sfc_main$
|
|
23186
|
+
const _sfc_main$5c = /* @__PURE__ */ defineComponent({
|
|
23184
23187
|
__name: "sheet-x",
|
|
23185
23188
|
setup(__props) {
|
|
23186
23189
|
const { paper: paper2, selection: selection2, resizeCol, selectCol } = useSpreadSheet();
|
|
@@ -23216,7 +23219,7 @@ const _sfc_main$5b = /* @__PURE__ */ defineComponent({
|
|
|
23216
23219
|
}
|
|
23217
23220
|
};
|
|
23218
23221
|
return (_ctx, _cache) => {
|
|
23219
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
23222
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2X, [
|
|
23220
23223
|
createElementVNode("div", {
|
|
23221
23224
|
style: normalizeStyle({
|
|
23222
23225
|
"padding-left": `calc(${unref(paper2).padding.l}mm + var(--gap-left))`,
|
|
@@ -23225,7 +23228,7 @@ const _sfc_main$5b = /* @__PURE__ */ defineComponent({
|
|
|
23225
23228
|
}, [
|
|
23226
23229
|
createVNode(ContextMenu, { type: "x" }, {
|
|
23227
23230
|
default: withCtx(() => [
|
|
23228
|
-
createElementVNode("table", _hoisted_2$
|
|
23231
|
+
createElementVNode("table", _hoisted_2$26, [
|
|
23229
23232
|
createElementVNode("colgroup", null, [
|
|
23230
23233
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(paper2).cols, (col, colIndex) => {
|
|
23231
23234
|
return openBlock(), createElementBlock("col", {
|
|
@@ -23268,15 +23271,15 @@ const _sfc_main$5b = /* @__PURE__ */ defineComponent({
|
|
|
23268
23271
|
};
|
|
23269
23272
|
}
|
|
23270
23273
|
});
|
|
23271
|
-
const _hoisted_1$
|
|
23274
|
+
const _hoisted_1$2W = {
|
|
23272
23275
|
ref: "PaperYTableRef",
|
|
23273
23276
|
cellpadding: "0",
|
|
23274
23277
|
cellspacing: "0"
|
|
23275
23278
|
};
|
|
23276
|
-
const _hoisted_2$
|
|
23279
|
+
const _hoisted_2$25 = ["data-y", "height"];
|
|
23277
23280
|
const _hoisted_3$1C = ["data-y"];
|
|
23278
23281
|
const _hoisted_4$16 = { class: "title-y" };
|
|
23279
|
-
const _sfc_main$
|
|
23282
|
+
const _sfc_main$5b = /* @__PURE__ */ defineComponent({
|
|
23280
23283
|
__name: "sheet-y",
|
|
23281
23284
|
setup(__props) {
|
|
23282
23285
|
const { paper: paper2, selection: selection2, resizeRow, selectRow } = useSpreadSheet();
|
|
@@ -23321,7 +23324,7 @@ const _sfc_main$5a = /* @__PURE__ */ defineComponent({
|
|
|
23321
23324
|
}, [
|
|
23322
23325
|
createVNode(ContextMenu, { type: "y" }, {
|
|
23323
23326
|
default: withCtx(() => [
|
|
23324
|
-
createElementVNode("table", _hoisted_1$
|
|
23327
|
+
createElementVNode("table", _hoisted_1$2W, [
|
|
23325
23328
|
createElementVNode("tbody", null, [
|
|
23326
23329
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(paper2).rows, (row, rowIndex) => {
|
|
23327
23330
|
return openBlock(), createElementBlock("tr", {
|
|
@@ -23346,7 +23349,7 @@ const _sfc_main$5a = /* @__PURE__ */ defineComponent({
|
|
|
23346
23349
|
))
|
|
23347
23350
|
}, null, 32)
|
|
23348
23351
|
], 42, _hoisted_3$1C)
|
|
23349
|
-
], 8, _hoisted_2$
|
|
23352
|
+
], 8, _hoisted_2$25);
|
|
23350
23353
|
}), 128))
|
|
23351
23354
|
])
|
|
23352
23355
|
], 512)
|
|
@@ -23358,7 +23361,7 @@ const _sfc_main$5a = /* @__PURE__ */ defineComponent({
|
|
|
23358
23361
|
};
|
|
23359
23362
|
}
|
|
23360
23363
|
});
|
|
23361
|
-
const _sfc_main$
|
|
23364
|
+
const _sfc_main$5a = /* @__PURE__ */ defineComponent({
|
|
23362
23365
|
__name: "sheet-status",
|
|
23363
23366
|
setup(__props) {
|
|
23364
23367
|
const ns = useNamespace("sheet-status");
|
|
@@ -23406,7 +23409,7 @@ const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
|
23406
23409
|
};
|
|
23407
23410
|
}
|
|
23408
23411
|
});
|
|
23409
|
-
const SheetStatus = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23412
|
+
const SheetStatus = /* @__PURE__ */ _export_sfc(_sfc_main$5a, [["__scopeId", "data-v-1db7a3a4"]]);
|
|
23410
23413
|
const toString$1 = Object.prototype.toString;
|
|
23411
23414
|
function is(val, type) {
|
|
23412
23415
|
return toString$1.call(val) === `[object ${type}]`;
|
|
@@ -23547,8 +23550,8 @@ function useClickOutside(target, options) {
|
|
|
23547
23550
|
stop();
|
|
23548
23551
|
});
|
|
23549
23552
|
}
|
|
23550
|
-
const _hoisted_1$
|
|
23551
|
-
const _sfc_main$
|
|
23553
|
+
const _hoisted_1$2V = { class: "spread-sheet__canvas" };
|
|
23554
|
+
const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
23552
23555
|
__name: "sheet",
|
|
23553
23556
|
props: {
|
|
23554
23557
|
loading: { type: Boolean }
|
|
@@ -23739,9 +23742,9 @@ const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
|
23739
23742
|
"--paper-height": unref(paperFitHeight2) + "mm"
|
|
23740
23743
|
})
|
|
23741
23744
|
}, [
|
|
23742
|
-
createVNode(_sfc_main$
|
|
23743
|
-
createVNode(_sfc_main$
|
|
23744
|
-
createVNode(_sfc_main$
|
|
23745
|
+
createVNode(_sfc_main$5d, { class: "spread-sheet__tl" }),
|
|
23746
|
+
createVNode(_sfc_main$5c, { class: "spread-sheet__x" }),
|
|
23747
|
+
createVNode(_sfc_main$5b, { class: "spread-sheet__y" }),
|
|
23745
23748
|
createVNode(SheetStatus),
|
|
23746
23749
|
createElementVNode("div", {
|
|
23747
23750
|
class: "spread-sheet__viewport",
|
|
@@ -23749,7 +23752,7 @@ const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
|
23749
23752
|
ref: ViewPortScrollRef,
|
|
23750
23753
|
onClick: handleViewPortClick
|
|
23751
23754
|
}, [
|
|
23752
|
-
createElementVNode("div", _hoisted_1$
|
|
23755
|
+
createElementVNode("div", _hoisted_1$2V, [
|
|
23753
23756
|
(openBlock(), createBlock(SpreadSheetPaper, {
|
|
23754
23757
|
key: unref(activeSheet2).sheetId,
|
|
23755
23758
|
class: "spread-sheet__paper",
|
|
@@ -23763,7 +23766,7 @@ const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
|
23763
23766
|
};
|
|
23764
23767
|
}
|
|
23765
23768
|
});
|
|
23766
|
-
const SpreadSheet = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23769
|
+
const SpreadSheet = /* @__PURE__ */ _export_sfc(_sfc_main$59, [["__scopeId", "data-v-85921d5d"]]);
|
|
23767
23770
|
const DHR_LICENSE_API = "/gct-apaas/api/dhr/license/module";
|
|
23768
23771
|
const AVAILABLE_EDITIONS = ["eDHR Max", "eDHR Ultra"];
|
|
23769
23772
|
let dhrEditionRequest;
|
|
@@ -23828,11 +23831,11 @@ function useState() {
|
|
|
23828
23831
|
cellStyleState
|
|
23829
23832
|
};
|
|
23830
23833
|
}
|
|
23831
|
-
const _hoisted_1$
|
|
23834
|
+
const _hoisted_1$2U = {
|
|
23832
23835
|
key: 1,
|
|
23833
23836
|
class: "component"
|
|
23834
23837
|
};
|
|
23835
|
-
const _hoisted_2$
|
|
23838
|
+
const _hoisted_2$24 = { class: "box" };
|
|
23836
23839
|
const _hoisted_3$1B = { style: {
|
|
23837
23840
|
borderRadius: "4px"
|
|
23838
23841
|
} };
|
|
@@ -23853,7 +23856,7 @@ const _hoisted_17$3 = ["value"];
|
|
|
23853
23856
|
const _hoisted_18$3 = { class: "presetColor" };
|
|
23854
23857
|
const _hoisted_19$3 = { class: "preset" };
|
|
23855
23858
|
const _hoisted_20$3 = ["onClick"];
|
|
23856
|
-
const _sfc_main$
|
|
23859
|
+
const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
23857
23860
|
__name: "ColorPicker",
|
|
23858
23861
|
props: {
|
|
23859
23862
|
color: { default: () => "#FFFFFF00" },
|
|
@@ -24348,8 +24351,8 @@ const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
|
24348
24351
|
], 4)
|
|
24349
24352
|
]),
|
|
24350
24353
|
default: withCtx(() => [
|
|
24351
|
-
__props.useTrigger ? renderSlot(_ctx.$slots, "trigger", {}, void 0, true, 0) : (openBlock(), createElementBlock("div", _hoisted_1$
|
|
24352
|
-
createElementVNode("div", _hoisted_2$
|
|
24354
|
+
__props.useTrigger ? renderSlot(_ctx.$slots, "trigger", {}, void 0, true, 0) : (openBlock(), createElementBlock("div", _hoisted_1$2U, [
|
|
24355
|
+
createElementVNode("div", _hoisted_2$24, [
|
|
24353
24356
|
createElementVNode("div", _hoisted_3$1B, [
|
|
24354
24357
|
renderSlot(_ctx.$slots, "icon", {}, void 0, true)
|
|
24355
24358
|
])
|
|
@@ -24361,8 +24364,8 @@ const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
|
24361
24364
|
};
|
|
24362
24365
|
}
|
|
24363
24366
|
});
|
|
24364
|
-
const ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24365
|
-
const _sfc_main$
|
|
24367
|
+
const ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$58, [["__scopeId", "data-v-59c6cc10"]]);
|
|
24368
|
+
const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
24366
24369
|
__name: "font-family-selector",
|
|
24367
24370
|
props: {
|
|
24368
24371
|
value: {},
|
|
@@ -24414,7 +24417,7 @@ const _sfc_main$56 = /* @__PURE__ */ defineComponent({
|
|
|
24414
24417
|
};
|
|
24415
24418
|
}
|
|
24416
24419
|
});
|
|
24417
|
-
const _sfc_main$
|
|
24420
|
+
const _sfc_main$56 = /* @__PURE__ */ defineComponent({
|
|
24418
24421
|
__name: "font-size-selector",
|
|
24419
24422
|
props: {
|
|
24420
24423
|
value: {}
|
|
@@ -24466,7 +24469,7 @@ const _sfc_main$55 = /* @__PURE__ */ defineComponent({
|
|
|
24466
24469
|
};
|
|
24467
24470
|
}
|
|
24468
24471
|
});
|
|
24469
|
-
const _sfc_main$
|
|
24472
|
+
const _sfc_main$55 = /* @__PURE__ */ defineComponent({
|
|
24470
24473
|
__name: "border",
|
|
24471
24474
|
props: {
|
|
24472
24475
|
type: { default: BorderPositionEnum.all }
|
|
@@ -24479,8 +24482,8 @@ const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
|
24479
24482
|
};
|
|
24480
24483
|
}
|
|
24481
24484
|
});
|
|
24482
|
-
const BorderIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24483
|
-
const _sfc_main$
|
|
24485
|
+
const BorderIcon = /* @__PURE__ */ _export_sfc(_sfc_main$55, [["__scopeId", "data-v-de5c51c0"]]);
|
|
24486
|
+
const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
24484
24487
|
__name: "history-toolbar",
|
|
24485
24488
|
setup(__props) {
|
|
24486
24489
|
const ns = useNamespace("history-toolbar");
|
|
@@ -24534,7 +24537,7 @@ const _sfc_main$53 = /* @__PURE__ */ defineComponent({
|
|
|
24534
24537
|
};
|
|
24535
24538
|
}
|
|
24536
24539
|
});
|
|
24537
|
-
const HistoryToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24540
|
+
const HistoryToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$54, [["__scopeId", "data-v-0b35407a"]]);
|
|
24538
24541
|
const CaretDownIcon = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='caret-down'%3e%3cpath%20id='Vector'%20d='M8.6078%202.67113H1.39227C1.17585%202.67113%201.055%202.89964%201.18903%203.05564L4.79679%207.23906C4.90006%207.35881%205.09891%207.35881%205.20327%207.23906L8.81104%203.05564C8.94506%202.89964%208.82422%202.67113%208.6078%202.67113Z'%20fill='%235A5F6B'/%3e%3c/g%3e%3c/svg%3e";
|
|
24539
24542
|
const ReuploadIcon = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Frame'%3e%3cpath%20id='Vector'%20d='M8.1405%202.55202C7.24093%202.52902%206.34966%202.72912%205.54626%203.13446C4.74286%203.5398%204.05232%204.13777%203.5363%204.87498C3.02028%205.61219%202.69484%206.4657%202.58901%207.35932C2.48319%208.25294%202.60028%209.15886%202.92984%209.9962C3.2594%2010.8335%203.79117%2011.5763%204.47767%2012.158C5.16418%2012.7398%205.98406%2013.1426%206.86412%2013.3303C7.74418%2013.518%208.65703%2013.485%209.52119%2013.234C10.3853%2012.983%2011.1739%2012.522%2011.8165%2011.892L11.8545%2011.854C12.3045%2011.404%2012.6605%2010.893%2012.9205%2010.348C12.9369%2010.313%2012.9629%2010.2833%2012.9955%2010.2625C13.028%2010.2416%2013.0658%2010.2303%2013.1045%2010.23H13.8755C14.0145%2010.23%2014.1105%2010.368%2014.0585%2010.496C13.6784%2011.4189%2013.0917%2012.2424%2012.3435%2012.903C11.2281%2013.8946%209.80631%2014.4735%208.3155%2014.543C7.22626%2014.5955%206.14114%2014.3753%205.15859%2013.9022C4.17604%2013.4292%203.32715%2012.7183%202.68893%2011.834C2.05071%2010.9498%201.64336%209.9202%201.50383%208.83865C1.36431%207.75711%201.49703%206.65785%201.88995%205.64059C2.28287%204.62333%202.92355%203.72028%203.75388%203.01334C4.58421%202.30641%205.5779%201.81797%206.64481%201.59235C7.71172%201.36673%208.81808%201.41105%209.86352%201.72131C10.909%202.03156%2011.8604%202.59793%2012.6315%203.36902C12.8485%203.58402%2013.1545%203.91302%2013.4515%204.23602V2.86602C13.4515%202.75602%2013.5405%202.66602%2013.6515%202.66602H14.3515C14.4615%202.66602%2014.5515%202.75602%2014.5515%202.86602V5.66602C14.5515%205.81189%2014.4936%205.95178%2014.3904%206.05493C14.2873%206.15807%2014.1474%206.21602%2014.0015%206.21602H11.2015C11.1752%206.21602%2011.1492%206.21085%2011.125%206.2008C11.1007%206.19075%2011.0786%206.17601%2011.0601%206.15744C11.0415%206.13887%2011.0268%206.11682%2011.0167%206.09256C11.0067%206.06829%2011.0015%206.04228%2011.0015%206.01602V5.31602C11.0015%205.20602%2011.0905%205.11602%2011.2015%205.11602H12.7655C12.4682%204.78672%2012.1645%204.46333%2011.8545%204.14602C10.8677%203.15659%209.53748%202.58567%208.1405%202.55202Z'%20fill='%23026AC8'/%3e%3c/g%3e%3c/svg%3e";
|
|
24540
24543
|
const SearchClearIcon = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='6'%20height='6'%20viewBox='0%200%206%206'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Frame'%20clip-path='url(%23clip0_0_4)'%3e%3cpath%20id='Union'%20d='M4.64758%200.646603C4.84274%200.451444%205.15932%200.45165%205.35461%200.646603C5.54987%200.841865%205.54987%201.15837%205.35461%201.35363L3.70715%203.00012L5.35461%204.64758C5.54987%204.84284%205.54987%205.15935%205.35461%205.35461C5.15935%205.54987%204.84284%205.54987%204.64758%205.35461L3.00012%203.70715L1.35363%205.35461C1.15837%205.54987%200.841865%205.54987%200.646603%205.35461C0.451651%205.15932%200.451444%204.84274%200.646603%204.64758L2.29309%203.00012L0.646603%201.35363C0.451426%201.15836%200.451369%200.841836%200.646603%200.646603C0.841836%200.451369%201.15836%200.451426%201.35363%200.646603L3.00012%202.29309L4.64758%200.646603Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_0_4'%3e%3crect%20width='6'%20height='6'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
@@ -24542,8 +24545,8 @@ const SearchEmptyImage = "data:image/svg+xml,%3csvg%20width='124'%20height='114'
|
|
|
24542
24545
|
const SearchIcon = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='search'%3e%3cpath%20id='Union'%20d='M10.6092%2011.4178C9.67488%2012.1744%208.48481%2012.6277%207.18887%2012.6277C4.18506%2012.6277%201.75%2010.1926%201.75%207.18884C1.75%204.18505%204.18506%201.75%207.18887%201.75C10.1927%201.75%2012.6277%204.18505%2012.6277%207.18884C12.6277%208.4848%2012.1745%209.67489%2011.4178%2010.6092L13.8521%2012.9414L13.0435%2013.75L10.6092%2011.4178ZM11.4842%207.18884C11.4842%204.81661%209.56113%202.89352%207.18887%202.89352C4.81661%202.89352%202.89352%204.81661%202.89352%207.18884C2.89352%209.56107%204.81661%2011.4842%207.18887%2011.4842C9.56113%2011.4842%2011.4842%209.56107%2011.4842%207.18884Z'%20fill='%231A1D23'/%3e%3c/g%3e%3c/svg%3e";
|
|
24543
24546
|
const UploadPlaceholderIcon = "data:image/svg+xml,%3csvg%20width='48'%20height='36'%20viewBox='0%200%2048%2036'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.10156%204.10156C3.03527%204.39038%203%204.69107%203%205V27C3%2029.2091%204.79086%2031%207%2031H37C37.3087%2031%2037.6089%2030.9636%2037.8975%2030.8975C37.49%2032.6743%2035.9005%2034%2034%2034H4C1.79086%2034%201.12747e-07%2032.2091%200%2030V8C0%206.09979%201.32507%204.5093%203.10156%204.10156Z'%20fill='%23DDDFE6'/%3e%3crect%20x='4'%20width='38'%20height='30'%20rx='3'%20fill='%23CBCFD6'/%3e%3ccircle%20cx='12.5'%20cy='8.5'%20r='2.5'%20fill='white'/%3e%3cpath%20d='M15.468%2014.8909L10.1212%2022.421C9.65099%2023.0832%2010.1244%2024%2010.9365%2024H34.873C35.7195%2024%2036.1831%2023.0139%2035.6431%2022.3621L26.9835%2011.9087C26.5894%2011.4329%2025.8625%2011.4248%2025.4578%2011.8916L20.0833%2018.0909L17.016%2014.7893C16.5844%2014.3247%2015.8351%2014.374%2015.468%2014.8909Z'%20fill='white'/%3e%3ccircle%20cx='37'%20cy='25'%20r='11'%20fill='%232C3344'/%3e%3cmask%20id='mask0_1142_3158'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='31'%20y='19'%20width='12'%20height='12'%3e%3cpath%20d='M43%2019H31V31H43V19Z'%20fill='%23333333'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1142_3158)'%3e%3cpath%20d='M40%2024.5L37%2021.5L34%2024.5'%20stroke='white'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M37%2028.5V21.5'%20stroke='white'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e";
|
|
24544
24547
|
const UploadStageBackground = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYwAAB7JJREFUeAHt3UFPW1cax+HDARklAkcqbEIWKZ1WYdHSRdvv/wGSLApZANEIMp04i8JoxkaamsB4OI6IvGtkd3H+0vNsuDmKhBJfvbmvfwTWbm9vZ7NZKb9f/l7++dtv5f7X5eneXtnbe1aa0eh9+TAaza8Xzy8uzsvV5eX8+vn+ftnd2V3q/OzstEzG4/n1dwcHZbi1vdT58fFRuZlO59ffHx6WzcHmUuevX70sD376+ZfP18ueDwaD8sPhj/Pr9vna513mfGt7u7x4cTC/nkwm5ez0ZKnznZ2d8vX+N/Pr9nq012WZ8y+5R77kfJV7Z/F8lXtn8XyVe2fx/K+4dxbPV7l3Fs9XuXcWz1e5dxbPv+QeOWiv1XA4v177+PHj7H/3A+vuflDN1tbKxvp6AejB7d3d/GObS3Xt/uP4/l+WR48fl/WNjQLQk4cHqLv7wfWv//y71NPT0wLQtfv3rf7x7l2p7Xp93dMV0K+2AbanrNre6ALoXZtVa9Obj7MCEKAWgBC1fb0DQO/arKoPX5wF0LM2q6yEQAyVEIigEgJRrIRAjPrwP6gBetZmVX349hwAPWuzykoIxKjtG6IB9K7NKpUQiGElBGKohEAElRCIoRICUVRCIIJKCESxEgIxVEIggkoIxFAJgSgqIRBBJQSiWAmBGPXs9KQA9K7NqjqZTApA79qsshICMdYur65m29vDAtCzyWSsEgI5rIRADJUQiKASAjFUQiCKSghEUAmBKFZCIIZKCERQCYEYKiEQRSUEIqiEQBQrIRCjvjk+KgC9a7OqTqfTAtC7NqushECMtfH19WxzsFkAeja9maqEQA4rIRBDJQQiqIRADJUQiKISAhFUQiCKlRCIoRICEVRCIIZKCERRCYEIKiEQxUoIxKivX70sAL1rs8oTFhDDwAJieNMdiOEJC4hhYAExVEIggkoIRDGwgBgqIRDDExYQw8ACYqiEQASVEIhiYAExVEIghicsIIaBBcRQCYEIKiEQpQ42/YgvoH9tVqmEQAwrIRCjTm9uCkDv2qyqb45+LQC9a7PKSgjEUAmBCCohEMVKCMRQCYEIKiEQQyUEoqiEQASVEIhiJQRiqIRABJUQiKESAlHq1nBYAHrXZpVKCMSwEgIx6vh6UgB612ZVfXtyUgB612aVlRCIoRICEVRCIIqVEIihEgIRVEIghkoIRFEJgQgqIRDFSgjEUAmBCCohEEMlBKLUr3Z3C0Dv2qxSCYEYVkIgRr28uiwAvWuzqr47Py8AvWuzykoIxFAJgQgqIRDFSgjEUAmBCCohEEMlBKKohEAElRCIYiUEYqiEQASVEIihEgJR6tO9vQLQuzarVEIghpUQiFFHo/cFoHdtVtUPo1EB6F2bVVZCIIZKCERQCYEoVkIghkoIRFAJgRgqIRBFJQQiqIRAFCshEEMlBCKohEAMlRCIUp/v7xeA3rVZpRICMayEQIx6ceHHfAH9a7OqXl36QapA/9qsshICMVRCIIJKCESxEgIxVEIggkoIxFAJgSgqIRBBJQSiWAmBGCohEEElBGKohECUtcurq9n29rAA9GwyGauEQA4rIRCjnp2eFIDetVlVJ5NJAehdm1VWQiCGSghEUAmBKFZCIIZKCERQCYEYKiEQRSUEIqiEQBQrIRBDJQQiqIRADJUQiLI2vr6ebQ42C0DPpjdTlRDIYSUEYtQ3x0cFoHdtVtXpdFoAetdmlZUQiKESAhFUQiCKlRCIoRICEVRCIIZKCERRCYEIKiEQxUoIxFAJgQgqIRBDJQSieNMdiOEJC4hhYAEx6utXLwtA79qs8oQFxDCwgBgqIRDDExYQw8ACYqiEQASVEIhiYAExVEIghicsIIaBBcRQCYEIKiEQxcACYqiEQAxPWECMOr25KQC9a7Oqvjn6tQD0rs0qKyEQow42NwtA79qsUgmBGFZCIIZKCERQCYEYKiEQRSUEIqiEQBQrIRBDJQQiqIRADJUQiKISAhFUQiCKlRCIUcfXkwLQuzar6tuTkwLQuzarrIRAjLo1HBaA3rVZpRICMayEQAyVEIigEgIxVEIgikoIRFAJgShWQiCGSghEUAmBGCohEEUlBCKohEAUKyEQo15eXRaA3rVZVd+dnxeA3rVZZSUEYtSvdncLQO/arFIJgRhWQiCGSghEUAmBGCohEEUlBCKohEAUKyEQQyUEIqiEQAyVEIiiEgIRVEIgipUQiFFHo/cFoHdtVtUPo1EB6F2bVVZCIEZ9urdXAHrXZpVKCMSwEgIxVEIggkoIxJhXwvX19XJ3d1sAenV3+2lG1WfPnpVZWSsAPfvbt9+WjeFwWNbX6/1T1t38sD1xAfTg01ya3a+CG+Xxo0dlox3e/PFH+e90Wv7+9u38N7Wvd9jbeza/bm90PbzPtXh+cXFeri4/ffO/5/v7ZXdnd6nzs7PTMhmP59ffHRyU4db2UufHx0fl5v7P0Hx/eFg2B5tLnb9+9fLzX9ZPP//y+XrZ88FgUH44/HF+3T5f+7zLnG9tb5cXLw7m15PJpJydnix1vrOzU77e/2Z+3V6P9rosc/4l98iXnK9y7yyer3LvLJ6vcu8snv8V987i+Sr3zuL5KvfO4vkq987i+Z/dI+0Bqm2BT548mZ//H2CpcUjZauYfAAAAAElFTkSuQmCC";
|
|
24545
|
-
const _hoisted_1$
|
|
24546
|
-
const _hoisted_2$
|
|
24548
|
+
const _hoisted_1$2T = ["aria-label"];
|
|
24549
|
+
const _hoisted_2$23 = { class: "inline-media-modal__header" };
|
|
24547
24550
|
const _hoisted_3$1A = ["aria-label"];
|
|
24548
24551
|
const _hoisted_4$14 = ["aria-selected"];
|
|
24549
24552
|
const _hoisted_5$Q = ["aria-selected"];
|
|
@@ -24608,7 +24611,7 @@ const _hoisted_39 = { class: "inline-media-modal__footer" };
|
|
|
24608
24611
|
const MODAL_WIDTH = 644;
|
|
24609
24612
|
const VIEWPORT_GUTTER = 16;
|
|
24610
24613
|
const TRIGGER_GAP = 8;
|
|
24611
|
-
const _sfc_main$
|
|
24614
|
+
const _sfc_main$53 = /* @__PURE__ */ defineComponent({
|
|
24612
24615
|
__name: "inline-media-modal",
|
|
24613
24616
|
props: {
|
|
24614
24617
|
uploadImage: { type: Function }
|
|
@@ -24807,7 +24810,7 @@ const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
|
24807
24810
|
class: "inline-media-modal",
|
|
24808
24811
|
"aria-label": _ctx.$t("sys.onlineForm.inlineMedia.dialogAriaLabel")
|
|
24809
24812
|
}, [
|
|
24810
|
-
createElementVNode("header", _hoisted_2$
|
|
24813
|
+
createElementVNode("header", _hoisted_2$23, [
|
|
24811
24814
|
createElementVNode("div", {
|
|
24812
24815
|
class: "inline-media-modal__tabs",
|
|
24813
24816
|
role: "tablist",
|
|
@@ -25042,14 +25045,14 @@ const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
|
25042
25045
|
onClick: handleConfirm
|
|
25043
25046
|
}, toDisplayString$1(_ctx.$t("sys.ok2")), 1)
|
|
25044
25047
|
])
|
|
25045
|
-
], 8, _hoisted_1$
|
|
25048
|
+
], 8, _hoisted_1$2T)
|
|
25046
25049
|
]),
|
|
25047
25050
|
_: 1
|
|
25048
25051
|
}, 8, ["visible", "keyboard", "style"]);
|
|
25049
25052
|
};
|
|
25050
25053
|
}
|
|
25051
25054
|
});
|
|
25052
|
-
const InlineMediaModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25055
|
+
const InlineMediaModal = /* @__PURE__ */ _export_sfc(_sfc_main$53, [["__scopeId", "data-v-ff9d78f2"]]);
|
|
25053
25056
|
const ToolbarInsertIcon = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='&%23230;&%23143;&%23146;&%23229;&%23133;&%23165;'%20clip-path='url(%23clip0_0_4)'%3e%3cg%20id='Vector'%3e%3cpath%20d='M2.0498%2010C2.0498%2014.3907%205.60934%2017.9502%2010%2017.9502C14.3907%2017.9502%2017.9502%2014.3907%2017.9502%2010C17.9502%205.60934%2014.3907%202.0498%2010%202.0498C5.60934%202.0498%202.0498%205.60934%202.0498%2010ZM0.950195%2010C0.950195%205.00182%205.00182%200.950195%2010%200.950195C14.9982%200.950195%2019.0498%205.00182%2019.0498%2010C19.0498%2014.9982%2014.9982%2019.0498%2010%2019.0498C5.00182%2019.0498%200.950195%2014.9982%200.950195%2010Z'%20fill='%23434855'/%3e%3cpath%20d='M5.79961%2010.5498V9.4502H14.2V10.5498H5.79961Z'%20fill='%23434855'/%3e%3cpath%20d='M10.5548%2014.2004H9.45516V5.8H10.5548V14.2004Z'%20fill='%23434855'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_0_4'%3e%3crect%20width='20'%20height='20'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
25054
25057
|
const dataTableSvg = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1781603088074'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='73543'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M667.9552%20867.84h185.1392V421.9904h-185.1392v445.8496z%20m-255.5904%200h199.3216V421.9904H412.3648v445.8496z%20m-241.4592%200h185.088V421.9904H170.9056v445.8496z%20m0-502.1184h682.1376V156.16H170.9056v209.5616zM909.3632%20885.76a38.4%2038.4%200%200%201-38.4%2038.4H153.088a38.4%2038.4%200%200%201-38.4-38.4V153.6c0-29.696%2024.064-53.76%2053.76-53.76H855.552c29.696%200%2053.76%2024.064%2053.76%2053.76v732.16z'%20fill='%23434855'%20p-id='73544'%3e%3c/path%3e%3cpath%20d='M854.1696%20616.96v56.32H170.8032v-56.32h683.3664z'%20fill='%23026AC8'%20p-id='73545'%3e%3c/path%3e%3c/svg%3e";
|
|
25055
25058
|
const businessTableSvg = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1781603091743'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='73690'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M609.28%20714.24v56.32H481.28v-56.32h128z%20m174.336%200v56.32h-128v-56.32h128z%20m-174.336-102.4v56.32H481.28v-56.32h128z%20m174.336%200v56.32h-128v-56.32h128z%20m-174.336-102.4v56.32H481.28v-56.32h128z%20m174.336%200v56.32h-128v-56.32h128z'%20fill='%23026AC8'%20p-id='73691'%3e%3c/path%3e%3cpath%20d='M396.1856%20867.84h471.6544V421.9904H396.1856v445.8496z%20m-240.0256%200h183.7568V421.9904h-183.808v445.8496z%20m240.0256-502.1184h471.6544V156.16H396.1856v209.5616z%20m-240.0256%200h183.7568V156.16h-183.808v209.5616z%20m768%20504.6784l-0.256%205.4784A53.76%2053.76%200%200%201%20870.4%20924.16H153.6c-29.696%200-53.76-24.064-53.76-53.76V153.6c0-29.696%2024.064-53.76%2053.76-53.76h716.8c29.696%200%2053.76%2024.064%2053.76%2053.76v716.8z'%20fill='%23434855'%20p-id='73692'%3e%3c/path%3e%3c/svg%3e";
|
|
@@ -25125,8 +25128,8 @@ function resolveTableSvg(key) {
|
|
|
25125
25128
|
if (!key) return dynamicTableSvg;
|
|
25126
25129
|
return TABLE_SVG_BY_RIBBON_ACTION[key] ?? TABLE_CATEGORY_SVG[key] ?? TABLE_DATA_SVG[key] ?? TABLE_BUSINESS_SVG[key] ?? dynamicTableSvg;
|
|
25127
25130
|
}
|
|
25128
|
-
const _hoisted_1$
|
|
25129
|
-
const _hoisted_2$
|
|
25131
|
+
const _hoisted_1$2S = { class: "designer__toolbar" };
|
|
25132
|
+
const _hoisted_2$22 = { class: "designer__toolbar__left" };
|
|
25130
25133
|
const _hoisted_3$1z = { class: "designer__toolbar__left__second" };
|
|
25131
25134
|
const _hoisted_4$13 = { class: "second__top" };
|
|
25132
25135
|
const _hoisted_5$P = { class: "tool--dropdown" };
|
|
@@ -25149,7 +25152,7 @@ const _hoisted_21$1 = { class: "menu-item-subtitle" };
|
|
|
25149
25152
|
const _hoisted_22$1 = { class: "flex items-center text-14px" };
|
|
25150
25153
|
const _hoisted_23$1 = ["src"];
|
|
25151
25154
|
const _hoisted_24$1 = { class: "designer__toolbar__right" };
|
|
25152
|
-
const _sfc_main$
|
|
25155
|
+
const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
25153
25156
|
__name: "toolbar",
|
|
25154
25157
|
setup(__props) {
|
|
25155
25158
|
const {
|
|
@@ -25346,18 +25349,18 @@ const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
|
25346
25349
|
const _component_a_menu = resolveComponent("a-menu");
|
|
25347
25350
|
const _component_a_dropdown = resolveComponent("a-dropdown");
|
|
25348
25351
|
const _component_a_switch = resolveComponent("a-switch");
|
|
25349
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25350
|
-
createElementVNode("div", _hoisted_2$
|
|
25352
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2S, [
|
|
25353
|
+
createElementVNode("div", _hoisted_2$22, [
|
|
25351
25354
|
createVNode(HistoryToolbar),
|
|
25352
25355
|
_cache[27] || (_cache[27] = createElementVNode("div", { class: "vertical-divider" }, null, -1)),
|
|
25353
25356
|
createElementVNode("div", _hoisted_3$1z, [
|
|
25354
25357
|
createElementVNode("div", _hoisted_4$13, [
|
|
25355
|
-
createVNode(_sfc_main$
|
|
25358
|
+
createVNode(_sfc_main$57, {
|
|
25356
25359
|
value: cellFontFamily.value,
|
|
25357
25360
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => cellFontFamily.value = $event),
|
|
25358
25361
|
class: "top-left"
|
|
25359
25362
|
}, null, 8, ["value"]),
|
|
25360
|
-
createVNode(_sfc_main$
|
|
25363
|
+
createVNode(_sfc_main$56, {
|
|
25361
25364
|
value: cellFontSize.value,
|
|
25362
25365
|
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => cellFontSize.value = $event),
|
|
25363
25366
|
class: "w-72px top-right"
|
|
@@ -25785,21 +25788,21 @@ const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
|
25785
25788
|
};
|
|
25786
25789
|
}
|
|
25787
25790
|
});
|
|
25788
|
-
const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25789
|
-
const _hoisted_1$
|
|
25790
|
-
const _sfc_main$
|
|
25791
|
+
const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$52, [["__scopeId", "data-v-4849bbb1"]]);
|
|
25792
|
+
const _hoisted_1$2R = { class: "toolbar-hook-wrapper" };
|
|
25793
|
+
const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
25791
25794
|
__name: "toolbar-hook",
|
|
25792
25795
|
setup(__props) {
|
|
25793
25796
|
return (_ctx, _cache) => {
|
|
25794
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25797
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2R, [
|
|
25795
25798
|
createVNode(Toolbar)
|
|
25796
25799
|
]);
|
|
25797
25800
|
};
|
|
25798
25801
|
}
|
|
25799
25802
|
});
|
|
25800
|
-
const ToolbarHook = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25803
|
+
const ToolbarHook = /* @__PURE__ */ _export_sfc(_sfc_main$51, [["__scopeId", "data-v-69463b0b"]]);
|
|
25801
25804
|
var AppleFilled$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z" } }] }, "name": "apple", "theme": "filled" };
|
|
25802
|
-
function _objectSpread$
|
|
25805
|
+
function _objectSpread$h(target) {
|
|
25803
25806
|
for (var i = 1; i < arguments.length; i++) {
|
|
25804
25807
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
25805
25808
|
var ownKeys2 = Object.keys(source);
|
|
@@ -25809,12 +25812,12 @@ function _objectSpread$g(target) {
|
|
|
25809
25812
|
}));
|
|
25810
25813
|
}
|
|
25811
25814
|
ownKeys2.forEach(function(key) {
|
|
25812
|
-
_defineProperty$
|
|
25815
|
+
_defineProperty$j(target, key, source[key]);
|
|
25813
25816
|
});
|
|
25814
25817
|
}
|
|
25815
25818
|
return target;
|
|
25816
25819
|
}
|
|
25817
|
-
function _defineProperty$
|
|
25820
|
+
function _defineProperty$j(obj, key, value) {
|
|
25818
25821
|
if (key in obj) {
|
|
25819
25822
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
25820
25823
|
} else {
|
|
@@ -25823,15 +25826,15 @@ function _defineProperty$i(obj, key, value) {
|
|
|
25823
25826
|
return obj;
|
|
25824
25827
|
}
|
|
25825
25828
|
var AppleFilled = function AppleFilled2(props2, context) {
|
|
25826
|
-
var p = _objectSpread$
|
|
25827
|
-
return createVNode(Icon$1, _objectSpread$
|
|
25829
|
+
var p = _objectSpread$h({}, props2, context.attrs);
|
|
25830
|
+
return createVNode(Icon$1, _objectSpread$h({}, p, {
|
|
25828
25831
|
"icon": AppleFilled$1
|
|
25829
25832
|
}), null);
|
|
25830
25833
|
};
|
|
25831
25834
|
AppleFilled.displayName = "AppleFilled";
|
|
25832
25835
|
AppleFilled.inheritAttrs = false;
|
|
25833
25836
|
var BranchesOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M740 161c-61.8 0-112 50.2-112 112 0 50.1 33.1 92.6 78.5 106.9v95.9L320 602.4V318.1c44.2-15 76-56.9 76-106.1 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 49.2 31.8 91 76 106.1V706c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-27.8l423.5-138.7a50.52 50.52 0 0034.9-48.2V378.2c42.9-15.8 73.6-57 73.6-105.2 0-61.8-50.2-112-112-112zm-504 51a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm96 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm408-491a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, "name": "branches", "theme": "outlined" };
|
|
25834
|
-
function _objectSpread$
|
|
25837
|
+
function _objectSpread$g(target) {
|
|
25835
25838
|
for (var i = 1; i < arguments.length; i++) {
|
|
25836
25839
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
25837
25840
|
var ownKeys2 = Object.keys(source);
|
|
@@ -25841,12 +25844,12 @@ function _objectSpread$f(target) {
|
|
|
25841
25844
|
}));
|
|
25842
25845
|
}
|
|
25843
25846
|
ownKeys2.forEach(function(key) {
|
|
25844
|
-
_defineProperty$
|
|
25847
|
+
_defineProperty$i(target, key, source[key]);
|
|
25845
25848
|
});
|
|
25846
25849
|
}
|
|
25847
25850
|
return target;
|
|
25848
25851
|
}
|
|
25849
|
-
function _defineProperty$
|
|
25852
|
+
function _defineProperty$i(obj, key, value) {
|
|
25850
25853
|
if (key in obj) {
|
|
25851
25854
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
25852
25855
|
} else {
|
|
@@ -25855,15 +25858,15 @@ function _defineProperty$h(obj, key, value) {
|
|
|
25855
25858
|
return obj;
|
|
25856
25859
|
}
|
|
25857
25860
|
var BranchesOutlined = function BranchesOutlined2(props2, context) {
|
|
25858
|
-
var p = _objectSpread$
|
|
25859
|
-
return createVNode(Icon$1, _objectSpread$
|
|
25861
|
+
var p = _objectSpread$g({}, props2, context.attrs);
|
|
25862
|
+
return createVNode(Icon$1, _objectSpread$g({}, p, {
|
|
25860
25863
|
"icon": BranchesOutlined$1
|
|
25861
25864
|
}), null);
|
|
25862
25865
|
};
|
|
25863
25866
|
BranchesOutlined.displayName = "BranchesOutlined";
|
|
25864
25867
|
BranchesOutlined.inheritAttrs = false;
|
|
25865
25868
|
var CaretRightOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z" } }] }, "name": "caret-right", "theme": "outlined" };
|
|
25866
|
-
function _objectSpread$
|
|
25869
|
+
function _objectSpread$f(target) {
|
|
25867
25870
|
for (var i = 1; i < arguments.length; i++) {
|
|
25868
25871
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
25869
25872
|
var ownKeys2 = Object.keys(source);
|
|
@@ -25873,12 +25876,12 @@ function _objectSpread$e(target) {
|
|
|
25873
25876
|
}));
|
|
25874
25877
|
}
|
|
25875
25878
|
ownKeys2.forEach(function(key) {
|
|
25876
|
-
_defineProperty$
|
|
25879
|
+
_defineProperty$h(target, key, source[key]);
|
|
25877
25880
|
});
|
|
25878
25881
|
}
|
|
25879
25882
|
return target;
|
|
25880
25883
|
}
|
|
25881
|
-
function _defineProperty$
|
|
25884
|
+
function _defineProperty$h(obj, key, value) {
|
|
25882
25885
|
if (key in obj) {
|
|
25883
25886
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
25884
25887
|
} else {
|
|
@@ -25887,15 +25890,15 @@ function _defineProperty$g(obj, key, value) {
|
|
|
25887
25890
|
return obj;
|
|
25888
25891
|
}
|
|
25889
25892
|
var CaretRightOutlined = function CaretRightOutlined2(props2, context) {
|
|
25890
|
-
var p = _objectSpread$
|
|
25891
|
-
return createVNode(Icon$1, _objectSpread$
|
|
25893
|
+
var p = _objectSpread$f({}, props2, context.attrs);
|
|
25894
|
+
return createVNode(Icon$1, _objectSpread$f({}, p, {
|
|
25892
25895
|
"icon": CaretRightOutlined$1
|
|
25893
25896
|
}), null);
|
|
25894
25897
|
};
|
|
25895
25898
|
CaretRightOutlined.displayName = "CaretRightOutlined";
|
|
25896
25899
|
CaretRightOutlined.inheritAttrs = false;
|
|
25897
25900
|
var DeleteOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" } }] }, "name": "delete", "theme": "outlined" };
|
|
25898
|
-
function _objectSpread$
|
|
25901
|
+
function _objectSpread$e(target) {
|
|
25899
25902
|
for (var i = 1; i < arguments.length; i++) {
|
|
25900
25903
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
25901
25904
|
var ownKeys2 = Object.keys(source);
|
|
@@ -25905,12 +25908,12 @@ function _objectSpread$d(target) {
|
|
|
25905
25908
|
}));
|
|
25906
25909
|
}
|
|
25907
25910
|
ownKeys2.forEach(function(key) {
|
|
25908
|
-
_defineProperty$
|
|
25911
|
+
_defineProperty$g(target, key, source[key]);
|
|
25909
25912
|
});
|
|
25910
25913
|
}
|
|
25911
25914
|
return target;
|
|
25912
25915
|
}
|
|
25913
|
-
function _defineProperty$
|
|
25916
|
+
function _defineProperty$g(obj, key, value) {
|
|
25914
25917
|
if (key in obj) {
|
|
25915
25918
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
25916
25919
|
} else {
|
|
@@ -25919,15 +25922,15 @@ function _defineProperty$f(obj, key, value) {
|
|
|
25919
25922
|
return obj;
|
|
25920
25923
|
}
|
|
25921
25924
|
var DeleteOutlined = function DeleteOutlined2(props2, context) {
|
|
25922
|
-
var p = _objectSpread$
|
|
25923
|
-
return createVNode(Icon$1, _objectSpread$
|
|
25925
|
+
var p = _objectSpread$e({}, props2, context.attrs);
|
|
25926
|
+
return createVNode(Icon$1, _objectSpread$e({}, p, {
|
|
25924
25927
|
"icon": DeleteOutlined$1
|
|
25925
25928
|
}), null);
|
|
25926
25929
|
};
|
|
25927
25930
|
DeleteOutlined.displayName = "DeleteOutlined";
|
|
25928
25931
|
DeleteOutlined.inheritAttrs = false;
|
|
25929
25932
|
var DownOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, "name": "down", "theme": "outlined" };
|
|
25930
|
-
function _objectSpread$
|
|
25933
|
+
function _objectSpread$d(target) {
|
|
25931
25934
|
for (var i = 1; i < arguments.length; i++) {
|
|
25932
25935
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
25933
25936
|
var ownKeys2 = Object.keys(source);
|
|
@@ -25937,12 +25940,12 @@ function _objectSpread$c(target) {
|
|
|
25937
25940
|
}));
|
|
25938
25941
|
}
|
|
25939
25942
|
ownKeys2.forEach(function(key) {
|
|
25940
|
-
_defineProperty$
|
|
25943
|
+
_defineProperty$f(target, key, source[key]);
|
|
25941
25944
|
});
|
|
25942
25945
|
}
|
|
25943
25946
|
return target;
|
|
25944
25947
|
}
|
|
25945
|
-
function _defineProperty$
|
|
25948
|
+
function _defineProperty$f(obj, key, value) {
|
|
25946
25949
|
if (key in obj) {
|
|
25947
25950
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
25948
25951
|
} else {
|
|
@@ -25951,14 +25954,46 @@ function _defineProperty$e(obj, key, value) {
|
|
|
25951
25954
|
return obj;
|
|
25952
25955
|
}
|
|
25953
25956
|
var DownOutlined = function DownOutlined2(props2, context) {
|
|
25954
|
-
var p = _objectSpread$
|
|
25955
|
-
return createVNode(Icon$1, _objectSpread$
|
|
25957
|
+
var p = _objectSpread$d({}, props2, context.attrs);
|
|
25958
|
+
return createVNode(Icon$1, _objectSpread$d({}, p, {
|
|
25956
25959
|
"icon": DownOutlined$1
|
|
25957
25960
|
}), null);
|
|
25958
25961
|
};
|
|
25959
25962
|
DownOutlined.displayName = "DownOutlined";
|
|
25960
25963
|
DownOutlined.inheritAttrs = false;
|
|
25961
25964
|
var DownloadOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, "name": "download", "theme": "outlined" };
|
|
25965
|
+
function _objectSpread$c(target) {
|
|
25966
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
25967
|
+
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
25968
|
+
var ownKeys2 = Object.keys(source);
|
|
25969
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
25970
|
+
ownKeys2 = ownKeys2.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
25971
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
25972
|
+
}));
|
|
25973
|
+
}
|
|
25974
|
+
ownKeys2.forEach(function(key) {
|
|
25975
|
+
_defineProperty$e(target, key, source[key]);
|
|
25976
|
+
});
|
|
25977
|
+
}
|
|
25978
|
+
return target;
|
|
25979
|
+
}
|
|
25980
|
+
function _defineProperty$e(obj, key, value) {
|
|
25981
|
+
if (key in obj) {
|
|
25982
|
+
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
25983
|
+
} else {
|
|
25984
|
+
obj[key] = value;
|
|
25985
|
+
}
|
|
25986
|
+
return obj;
|
|
25987
|
+
}
|
|
25988
|
+
var DownloadOutlined = function DownloadOutlined2(props2, context) {
|
|
25989
|
+
var p = _objectSpread$c({}, props2, context.attrs);
|
|
25990
|
+
return createVNode(Icon$1, _objectSpread$c({}, p, {
|
|
25991
|
+
"icon": DownloadOutlined$1
|
|
25992
|
+
}), null);
|
|
25993
|
+
};
|
|
25994
|
+
DownloadOutlined.displayName = "DownloadOutlined";
|
|
25995
|
+
DownloadOutlined.inheritAttrs = false;
|
|
25996
|
+
var ExclamationCircleFilled$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, "name": "exclamation-circle", "theme": "filled" };
|
|
25962
25997
|
function _objectSpread$b(target) {
|
|
25963
25998
|
for (var i = 1; i < arguments.length; i++) {
|
|
25964
25999
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
@@ -25982,14 +26017,14 @@ function _defineProperty$d(obj, key, value) {
|
|
|
25982
26017
|
}
|
|
25983
26018
|
return obj;
|
|
25984
26019
|
}
|
|
25985
|
-
var
|
|
26020
|
+
var ExclamationCircleFilled = function ExclamationCircleFilled2(props2, context) {
|
|
25986
26021
|
var p = _objectSpread$b({}, props2, context.attrs);
|
|
25987
26022
|
return createVNode(Icon$1, _objectSpread$b({}, p, {
|
|
25988
|
-
"icon":
|
|
26023
|
+
"icon": ExclamationCircleFilled$1
|
|
25989
26024
|
}), null);
|
|
25990
26025
|
};
|
|
25991
|
-
|
|
25992
|
-
|
|
26026
|
+
ExclamationCircleFilled.displayName = "ExclamationCircleFilled";
|
|
26027
|
+
ExclamationCircleFilled.inheritAttrs = false;
|
|
25993
26028
|
var EyeOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" };
|
|
25994
26029
|
function _objectSpread$a(target) {
|
|
25995
26030
|
for (var i = 1; i < arguments.length; i++) {
|
|
@@ -26426,7 +26461,7 @@ Icon.props = {
|
|
|
26426
26461
|
};
|
|
26427
26462
|
Icon.inheritAttrs = false;
|
|
26428
26463
|
Icon.displayName = "Icon";
|
|
26429
|
-
const _sfc_main$
|
|
26464
|
+
const _sfc_main$50 = defineComponent({
|
|
26430
26465
|
name: "GlobConfigIcon",
|
|
26431
26466
|
components: {
|
|
26432
26467
|
Icon
|
|
@@ -26481,9 +26516,9 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26481
26516
|
_: 1
|
|
26482
26517
|
});
|
|
26483
26518
|
}
|
|
26484
|
-
const GlobConfigIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26485
|
-
const _hoisted_1$
|
|
26486
|
-
const _sfc_main$
|
|
26519
|
+
const GlobConfigIcon = /* @__PURE__ */ _export_sfc(_sfc_main$50, [["render", _sfc_render$e]]);
|
|
26520
|
+
const _hoisted_1$2Q = { class: "toolkit-title" };
|
|
26521
|
+
const _sfc_main$4$ = /* @__PURE__ */ defineComponent({
|
|
26487
26522
|
__name: "toolkit-title",
|
|
26488
26523
|
props: {
|
|
26489
26524
|
title: {}
|
|
@@ -26493,7 +26528,7 @@ const _sfc_main$4_ = /* @__PURE__ */ defineComponent({
|
|
|
26493
26528
|
const emit2 = __emit;
|
|
26494
26529
|
return (_ctx, _cache) => {
|
|
26495
26530
|
const _component_double_right_outlined = resolveComponent("double-right-outlined");
|
|
26496
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
26531
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2Q, [
|
|
26497
26532
|
createElementVNode("span", null, toDisplayString$1(__props.title), 1),
|
|
26498
26533
|
createElementVNode("span", {
|
|
26499
26534
|
class: "close",
|
|
@@ -26505,11 +26540,11 @@ const _sfc_main$4_ = /* @__PURE__ */ defineComponent({
|
|
|
26505
26540
|
};
|
|
26506
26541
|
}
|
|
26507
26542
|
});
|
|
26508
|
-
const ToolkitTitle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26509
|
-
const _hoisted_1$
|
|
26510
|
-
const _hoisted_2$
|
|
26543
|
+
const ToolkitTitle = /* @__PURE__ */ _export_sfc(_sfc_main$4$, [["__scopeId", "data-v-6ff6d30c"]]);
|
|
26544
|
+
const _hoisted_1$2P = { class: "wrapper" };
|
|
26545
|
+
const _hoisted_2$21 = { class: "title" };
|
|
26511
26546
|
const _hoisted_3$1y = ["data-widget"];
|
|
26512
|
-
const _sfc_main$
|
|
26547
|
+
const _sfc_main$4_ = /* @__PURE__ */ defineComponent({
|
|
26513
26548
|
__name: "display-widgets",
|
|
26514
26549
|
setup(__props) {
|
|
26515
26550
|
const widgetConfigList = asyncImportWidgetConfigList();
|
|
@@ -26554,8 +26589,8 @@ const _sfc_main$4Z = /* @__PURE__ */ defineComponent({
|
|
|
26554
26589
|
}
|
|
26555
26590
|
return (_ctx, _cache) => {
|
|
26556
26591
|
const _component_a_empty = resolveComponent("a-empty");
|
|
26557
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
26558
|
-
createElementVNode("div", _hoisted_2$
|
|
26592
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2P, [
|
|
26593
|
+
createElementVNode("div", _hoisted_2$21, toDisplayString$1(_ctx.$t("sys.onlineForm.displayComponent")), 1),
|
|
26559
26594
|
validWidgetList.value.length ? (openBlock(), createElementBlock("ul", {
|
|
26560
26595
|
key: 0,
|
|
26561
26596
|
onDragstart: handleDragStart
|
|
@@ -26581,7 +26616,7 @@ const _sfc_main$4Z = /* @__PURE__ */ defineComponent({
|
|
|
26581
26616
|
};
|
|
26582
26617
|
}
|
|
26583
26618
|
});
|
|
26584
|
-
const DisplayWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26619
|
+
const DisplayWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$4_, [["__scopeId", "data-v-ad7d9982"]]);
|
|
26585
26620
|
const FIELD_TYPE_PANEL_LABELS = {
|
|
26586
26621
|
[FIELD_TYPE.REF]: "模型关联",
|
|
26587
26622
|
[FIELD_TYPE.REF_MULTI]: "模型多选",
|
|
@@ -26611,10 +26646,10 @@ function getFieldTypeDisplayLabel(type) {
|
|
|
26611
26646
|
const translated = $t(i18nKey);
|
|
26612
26647
|
return translated === i18nKey ? normalized : translated;
|
|
26613
26648
|
}
|
|
26614
|
-
const _hoisted_1$
|
|
26615
|
-
const _hoisted_2$
|
|
26649
|
+
const _hoisted_1$2O = { class: "wrapper" };
|
|
26650
|
+
const _hoisted_2$20 = { class: "title" };
|
|
26616
26651
|
const _hoisted_3$1x = ["data-type"];
|
|
26617
|
-
const _sfc_main$
|
|
26652
|
+
const _sfc_main$4Z = /* @__PURE__ */ defineComponent({
|
|
26618
26653
|
__name: "form-widgets",
|
|
26619
26654
|
setup(__props) {
|
|
26620
26655
|
const isInEDHR = computed(() => window.NocodeAdapter.stores?.appInfo?.value.suiteKey === "eDHR");
|
|
@@ -26645,8 +26680,8 @@ const _sfc_main$4Y = /* @__PURE__ */ defineComponent({
|
|
|
26645
26680
|
}
|
|
26646
26681
|
return (_ctx, _cache) => {
|
|
26647
26682
|
const _component_a_empty = resolveComponent("a-empty");
|
|
26648
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
26649
|
-
createElementVNode("div", _hoisted_2$
|
|
26683
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2O, [
|
|
26684
|
+
createElementVNode("div", _hoisted_2$20, toDisplayString$1(_ctx.$t("sys.onlineForm.formComponent")), 1),
|
|
26650
26685
|
filterValidWidgetList.value.length ? (openBlock(), createElementBlock("ul", {
|
|
26651
26686
|
key: 0,
|
|
26652
26687
|
onDragstart: handleDragStart
|
|
@@ -26672,11 +26707,11 @@ const _sfc_main$4Y = /* @__PURE__ */ defineComponent({
|
|
|
26672
26707
|
};
|
|
26673
26708
|
}
|
|
26674
26709
|
});
|
|
26675
|
-
const FormWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26676
|
-
const _hoisted_1$
|
|
26677
|
-
const _hoisted_2$
|
|
26710
|
+
const FormWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$4Z, [["__scopeId", "data-v-44a9bdde"]]);
|
|
26711
|
+
const _hoisted_1$2N = { class: "wrapper" };
|
|
26712
|
+
const _hoisted_2$1$ = { class: "title" };
|
|
26678
26713
|
const _hoisted_3$1w = ["data-type"];
|
|
26679
|
-
const _sfc_main$
|
|
26714
|
+
const _sfc_main$4Y = /* @__PURE__ */ defineComponent({
|
|
26680
26715
|
__name: "trace-widgets",
|
|
26681
26716
|
setup(__props) {
|
|
26682
26717
|
const widgetConfigList = OnlineFormTraceTypes.map((type) => {
|
|
@@ -26698,8 +26733,8 @@ const _sfc_main$4X = /* @__PURE__ */ defineComponent({
|
|
|
26698
26733
|
}
|
|
26699
26734
|
return (_ctx, _cache) => {
|
|
26700
26735
|
const _component_a_empty = resolveComponent("a-empty");
|
|
26701
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
26702
|
-
createElementVNode("div", _hoisted_2$
|
|
26736
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2N, [
|
|
26737
|
+
createElementVNode("div", _hoisted_2$1$, toDisplayString$1(_ctx.$t("sys.onlineForm.traceabilityComponent")), 1),
|
|
26703
26738
|
filterValidWidgetList.value.length ? (openBlock(), createElementBlock("ul", {
|
|
26704
26739
|
key: 0,
|
|
26705
26740
|
onDragstart: handleDragStart
|
|
@@ -26725,11 +26760,11 @@ const _sfc_main$4X = /* @__PURE__ */ defineComponent({
|
|
|
26725
26760
|
};
|
|
26726
26761
|
}
|
|
26727
26762
|
});
|
|
26728
|
-
const TraceWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26729
|
-
const _hoisted_1$
|
|
26730
|
-
const _hoisted_2$
|
|
26763
|
+
const TraceWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$4Y, [["__scopeId", "data-v-b9c1e3c5"]]);
|
|
26764
|
+
const _hoisted_1$2M = { class: "wrapper" };
|
|
26765
|
+
const _hoisted_2$1_ = { class: "title" };
|
|
26731
26766
|
const _hoisted_3$1v = ["data-type"];
|
|
26732
|
-
const _sfc_main$
|
|
26767
|
+
const _sfc_main$4X = /* @__PURE__ */ defineComponent({
|
|
26733
26768
|
__name: "business-widgets",
|
|
26734
26769
|
setup(__props) {
|
|
26735
26770
|
const widgetConfigList = OnlineFormBusinessTypes.map((type) => {
|
|
@@ -26751,8 +26786,8 @@ const _sfc_main$4W = /* @__PURE__ */ defineComponent({
|
|
|
26751
26786
|
}
|
|
26752
26787
|
return (_ctx, _cache) => {
|
|
26753
26788
|
const _component_a_empty = resolveComponent("a-empty");
|
|
26754
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
26755
|
-
createElementVNode("div", _hoisted_2$
|
|
26789
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2M, [
|
|
26790
|
+
createElementVNode("div", _hoisted_2$1_, toDisplayString$1(_ctx.$t("sys.pageDesigner.business")), 1),
|
|
26756
26791
|
filterValidWidgetList.value.length ? (openBlock(), createElementBlock("ul", {
|
|
26757
26792
|
key: 0,
|
|
26758
26793
|
onDragstart: handleDragStart
|
|
@@ -26778,9 +26813,9 @@ const _sfc_main$4W = /* @__PURE__ */ defineComponent({
|
|
|
26778
26813
|
};
|
|
26779
26814
|
}
|
|
26780
26815
|
});
|
|
26781
|
-
const BusinessWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26782
|
-
const _hoisted_1$
|
|
26783
|
-
const _sfc_main$
|
|
26816
|
+
const BusinessWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$4X, [["__scopeId", "data-v-2fe6e4d1"]]);
|
|
26817
|
+
const _hoisted_1$2L = { class: "toolkit-content-widgets" };
|
|
26818
|
+
const _sfc_main$4W = /* @__PURE__ */ defineComponent({
|
|
26784
26819
|
__name: "toolkit-content-widgets",
|
|
26785
26820
|
setup(__props) {
|
|
26786
26821
|
const { isTextOnlineForm: isTextOnlineForm2, isEasyEdition: isEasyEdition2 } = useSpreadSheet();
|
|
@@ -26788,7 +26823,7 @@ const _sfc_main$4V = /* @__PURE__ */ defineComponent({
|
|
|
26788
26823
|
const showFormWidgets = computed(() => isEasyEdition2.value && !isTextOnlineForm2.value);
|
|
26789
26824
|
const showEDHRWidgets = computed(() => showFormWidgets.value && isEDHR.value);
|
|
26790
26825
|
return (_ctx, _cache) => {
|
|
26791
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
26826
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2L, [
|
|
26792
26827
|
showFormWidgets.value ? (openBlock(), createBlock(FormWidgets, { key: 0 })) : createCommentVNode("", true),
|
|
26793
26828
|
createVNode(DisplayWidgets),
|
|
26794
26829
|
showEDHRWidgets.value ? (openBlock(), createBlock(TraceWidgets, { key: 1 })) : createCommentVNode("", true),
|
|
@@ -26797,8 +26832,8 @@ const _sfc_main$4V = /* @__PURE__ */ defineComponent({
|
|
|
26797
26832
|
};
|
|
26798
26833
|
}
|
|
26799
26834
|
});
|
|
26800
|
-
const ToolkitContentWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26801
|
-
const _sfc_main$
|
|
26835
|
+
const ToolkitContentWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$4W, [["__scopeId", "data-v-eea7e894"]]);
|
|
26836
|
+
const _sfc_main$4V = /* @__PURE__ */ defineComponent({
|
|
26802
26837
|
__name: "add-field-btn",
|
|
26803
26838
|
props: {
|
|
26804
26839
|
model: { default: void 0 },
|
|
@@ -26889,7 +26924,7 @@ const _sfc_main$4U = /* @__PURE__ */ defineComponent({
|
|
|
26889
26924
|
};
|
|
26890
26925
|
}
|
|
26891
26926
|
});
|
|
26892
|
-
const AddFieldBtn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26927
|
+
const AddFieldBtn = /* @__PURE__ */ _export_sfc(_sfc_main$4V, [["__scopeId", "data-v-f8255c81"]]);
|
|
26893
26928
|
function _isSlot(s) {
|
|
26894
26929
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode$1(s);
|
|
26895
26930
|
}
|
|
@@ -27032,7 +27067,7 @@ const ToolkitContentFields = /* @__PURE__ */ defineComponent({
|
|
|
27032
27067
|
const filterFieldInfo = (item, additionalFilter) => {
|
|
27033
27068
|
const isBuiltinTextIdField = item.createType === CreateType.BUILTIN && item.type === FIELD_TYPE.TEXT && item.key?.endsWith("_id_");
|
|
27034
27069
|
if (isBuiltinTextIdField) return false;
|
|
27035
|
-
if (additionalFilter && !additionalFilter(item)) return false;
|
|
27070
|
+
if (additionalFilter && typeof additionalFilter === "function" && !additionalFilter(item)) return false;
|
|
27036
27071
|
const isHiddenFieldType = HIDDEN_FIELD_TYPES.has(item.type) || containFieldType.value.includes(item.type);
|
|
27037
27072
|
if (isHiddenFieldType) return false;
|
|
27038
27073
|
if (HIDDEN_FIELD_KEYS.has(item.key)) return false;
|
|
@@ -27488,12 +27523,12 @@ const ToolkitContentFields = /* @__PURE__ */ defineComponent({
|
|
|
27488
27523
|
})])]);
|
|
27489
27524
|
}
|
|
27490
27525
|
});
|
|
27491
|
-
const _hoisted_1$
|
|
27492
|
-
const _hoisted_2$
|
|
27526
|
+
const _hoisted_1$2K = ["title"];
|
|
27527
|
+
const _hoisted_2$1Z = ["title"];
|
|
27493
27528
|
const _hoisted_3$1u = ["title"];
|
|
27494
27529
|
const _hoisted_4$12 = { class: "group-fields__content" };
|
|
27495
27530
|
const _hoisted_5$O = ["title"];
|
|
27496
|
-
const _sfc_main$
|
|
27531
|
+
const _sfc_main$4U = /* @__PURE__ */ defineComponent({
|
|
27497
27532
|
__name: "toolkit-content-param",
|
|
27498
27533
|
props: {
|
|
27499
27534
|
value: {}
|
|
@@ -27591,7 +27626,7 @@ const _sfc_main$4T = /* @__PURE__ */ defineComponent({
|
|
|
27591
27626
|
stopPropagation(e);
|
|
27592
27627
|
unref(editParam)(__props.value);
|
|
27593
27628
|
})
|
|
27594
|
-
}, null, 8, _hoisted_1$
|
|
27629
|
+
}, null, 8, _hoisted_1$2K),
|
|
27595
27630
|
createElementVNode("i", {
|
|
27596
27631
|
title: _ctx.$t("sys.delText"),
|
|
27597
27632
|
class: "iconfont icon-shanchu2 remove-icon",
|
|
@@ -27599,7 +27634,7 @@ const _sfc_main$4T = /* @__PURE__ */ defineComponent({
|
|
|
27599
27634
|
stopPropagation(e);
|
|
27600
27635
|
unref(deleteParam)(__props.value.key);
|
|
27601
27636
|
})
|
|
27602
|
-
}, null, 8, _hoisted_2$
|
|
27637
|
+
}, null, 8, _hoisted_2$1Z)
|
|
27603
27638
|
]),
|
|
27604
27639
|
default: withCtx(() => [
|
|
27605
27640
|
(openBlock(true), createElementBlock(Fragment, null, renderList(groupFields.value, (group) => {
|
|
@@ -27631,13 +27666,13 @@ const _sfc_main$4T = /* @__PURE__ */ defineComponent({
|
|
|
27631
27666
|
};
|
|
27632
27667
|
}
|
|
27633
27668
|
});
|
|
27634
|
-
const ToolkitContentParam = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27635
|
-
const _hoisted_1$
|
|
27636
|
-
const _hoisted_2$
|
|
27669
|
+
const ToolkitContentParam = /* @__PURE__ */ _export_sfc(_sfc_main$4U, [["__scopeId", "data-v-8b0f564a"]]);
|
|
27670
|
+
const _hoisted_1$2J = { class: "wrapper" };
|
|
27671
|
+
const _hoisted_2$1Y = {
|
|
27637
27672
|
key: 0,
|
|
27638
27673
|
class: "mt-4px"
|
|
27639
27674
|
};
|
|
27640
|
-
const _sfc_main$
|
|
27675
|
+
const _sfc_main$4T = /* @__PURE__ */ defineComponent({
|
|
27641
27676
|
__name: "toolkit-content-params",
|
|
27642
27677
|
setup(__props) {
|
|
27643
27678
|
const { params, addParam } = useParam();
|
|
@@ -27645,7 +27680,7 @@ const _sfc_main$4S = /* @__PURE__ */ defineComponent({
|
|
|
27645
27680
|
const _component_plus_outlined = resolveComponent("plus-outlined");
|
|
27646
27681
|
const _component_a_button = resolveComponent("a-button");
|
|
27647
27682
|
const _component_a_empty = resolveComponent("a-empty");
|
|
27648
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
27683
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2J, [
|
|
27649
27684
|
createVNode(_component_a_button, {
|
|
27650
27685
|
type: "link",
|
|
27651
27686
|
class: "important-pl-0px",
|
|
@@ -27659,7 +27694,7 @@ const _sfc_main$4S = /* @__PURE__ */ defineComponent({
|
|
|
27659
27694
|
]),
|
|
27660
27695
|
_: 1
|
|
27661
27696
|
}, 8, ["onClick"]),
|
|
27662
|
-
unref(params).length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
27697
|
+
unref(params).length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$1Y, [
|
|
27663
27698
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(params), (param) => {
|
|
27664
27699
|
return openBlock(), createBlock(ToolkitContentParam, {
|
|
27665
27700
|
key: param.id,
|
|
@@ -27675,9 +27710,9 @@ const _sfc_main$4S = /* @__PURE__ */ defineComponent({
|
|
|
27675
27710
|
};
|
|
27676
27711
|
}
|
|
27677
27712
|
});
|
|
27678
|
-
const ToolkitContentParams = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27679
|
-
const _hoisted_1$
|
|
27680
|
-
const _sfc_main$
|
|
27713
|
+
const ToolkitContentParams = /* @__PURE__ */ _export_sfc(_sfc_main$4T, [["__scopeId", "data-v-54a05379"]]);
|
|
27714
|
+
const _hoisted_1$2I = { class: "toolkit-code-editor__footer" };
|
|
27715
|
+
const _sfc_main$4S = /* @__PURE__ */ defineComponent({
|
|
27681
27716
|
__name: "toolkit-code-editor",
|
|
27682
27717
|
props: {
|
|
27683
27718
|
content: {},
|
|
@@ -27807,7 +27842,7 @@ const _sfc_main$4R = /* @__PURE__ */ defineComponent({
|
|
|
27807
27842
|
ref_key: "CodeContainerRef",
|
|
27808
27843
|
ref: CodeContainerRef
|
|
27809
27844
|
}, null, 512),
|
|
27810
|
-
createElementVNode("div", _hoisted_1$
|
|
27845
|
+
createElementVNode("div", _hoisted_1$2I, [
|
|
27811
27846
|
createVNode(_component_a_button, {
|
|
27812
27847
|
type: "primary",
|
|
27813
27848
|
onClick: handleInitScript
|
|
@@ -27941,10 +27976,10 @@ function getSuiteFeatures(suiteKey) {
|
|
|
27941
27976
|
if (!suiteKey) return DEFAULT_SUITE_FEATURES;
|
|
27942
27977
|
return SUITE_FEATURES_MAP[suiteKey] ?? DEFAULT_SUITE_FEATURES;
|
|
27943
27978
|
}
|
|
27944
|
-
const _hoisted_1$
|
|
27945
|
-
const _hoisted_2$
|
|
27979
|
+
const _hoisted_1$2H = { class: "designer__toolkit" };
|
|
27980
|
+
const _hoisted_2$1X = { class: "text-init-data" };
|
|
27946
27981
|
const _hoisted_3$1t = { class: "text-glob" };
|
|
27947
|
-
const _sfc_main$
|
|
27982
|
+
const _sfc_main$4R = /* @__PURE__ */ defineComponent({
|
|
27948
27983
|
__name: "toolkit",
|
|
27949
27984
|
props: {
|
|
27950
27985
|
showParams: { type: Boolean, default: false },
|
|
@@ -28014,7 +28049,7 @@ const _sfc_main$4Q = /* @__PURE__ */ defineComponent({
|
|
|
28014
28049
|
}
|
|
28015
28050
|
};
|
|
28016
28051
|
const openEditor = () => {
|
|
28017
|
-
GctDialog.open(_sfc_main$
|
|
28052
|
+
GctDialog.open(_sfc_main$4S, {
|
|
28018
28053
|
content: paper2.value.javascript,
|
|
28019
28054
|
callback: (code2) => {
|
|
28020
28055
|
paper2.value.javascript = code2;
|
|
@@ -28023,7 +28058,7 @@ const _sfc_main$4Q = /* @__PURE__ */ defineComponent({
|
|
|
28023
28058
|
};
|
|
28024
28059
|
return (_ctx, _cache) => {
|
|
28025
28060
|
const _component_a_popover = resolveComponent("a-popover");
|
|
28026
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
28061
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2H, [
|
|
28027
28062
|
__props.showFields ? (openBlock(), createBlock(_component_a_popover, {
|
|
28028
28063
|
key: 0,
|
|
28029
28064
|
visible: fieldsPopoverVisible.value,
|
|
@@ -28130,7 +28165,7 @@ const _sfc_main$4Q = /* @__PURE__ */ defineComponent({
|
|
|
28130
28165
|
})
|
|
28131
28166
|
}, [
|
|
28132
28167
|
_cache[12] || (_cache[12] = createElementVNode("i", { class: "iconfont icon-jiaoben" }, null, -1)),
|
|
28133
|
-
createElementVNode("span", _hoisted_2$
|
|
28168
|
+
createElementVNode("span", _hoisted_2$1X, toDisplayString$1(_ctx.$t("sys.onlineForm.data")), 1)
|
|
28134
28169
|
], 2)) : createCommentVNode("", true),
|
|
28135
28170
|
__props.showDataInit && suiteFeatures.value.showRulePanel ? (openBlock(), createElementBlock("div", {
|
|
28136
28171
|
key: 3,
|
|
@@ -28164,14 +28199,14 @@ const _sfc_main$4Q = /* @__PURE__ */ defineComponent({
|
|
|
28164
28199
|
};
|
|
28165
28200
|
}
|
|
28166
28201
|
});
|
|
28167
|
-
const Toolkit = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28202
|
+
const Toolkit = /* @__PURE__ */ _export_sfc(_sfc_main$4R, [["__scopeId", "data-v-244f0c98"]]);
|
|
28168
28203
|
const MacCommand = "data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='command%201'%3e%3cpath%20id='Vector'%20d='M5.90857%206.4397V9.56684H4.56257C3.25%209.56684%202.172%2010.6048%202.172%2011.9308C2.172%2013.2566%203.25%2014.328%204.56257%2014.328C5.88171%2014.328%206.95314%2013.2566%206.95314%2011.9308V10.5914H10.0403V11.9308C10.0403%2013.2566%2011.1183%2014.328%2012.4374%2014.328C13.75%2014.328%2014.828%2013.2566%2014.828%2011.9308C14.828%2010.6051%2013.75%209.56684%2012.4374%209.56684H11.0849V6.43999H12.4374C13.75%206.43999%2014.828%205.40199%2014.828%204.07627C14.828%202.75027%2013.75%201.67227%2012.4374%201.67227C11.1183%201.67227%2010.0403%202.75027%2010.0403%204.07627V5.41541H6.95314V4.07627C6.95314%202.75027%205.88171%201.67227%204.56257%201.67227C3.25%201.67227%202.172%202.75027%202.172%204.07627C2.172%205.40199%203.25%206.43999%204.56257%206.43999L5.90857%206.4397ZM4.56257%205.42856C3.83257%205.42856%203.21657%204.81913%203.21657%204.07599C3.21657%203.33256%203.83257%202.71656%204.56228%202.71656C5.29914%202.71656%205.90857%203.33256%205.90857%204.07599V5.42856H4.56257ZM12.4374%205.42856H11.0849V4.07599C11.0849%203.33256%2011.7009%202.71656%2012.4374%202.71656C13.1674%202.71656%2013.7834%203.33256%2013.7834%204.07599C13.7834%204.81913%2013.1674%205.42856%2012.4377%205.42856H12.4374ZM6.95314%209.58027V6.42627H10.0403V9.58056L6.95314%209.58027ZM4.56257%2010.5714H5.90828V11.924C5.90828%2012.6674%205.29914%2013.2768%204.56257%2013.2768C3.83257%2013.2768%203.21657%2012.6674%203.21657%2011.924C3.21657%2011.1808%203.83257%2010.5714%204.56228%2010.5714H4.56257ZM12.4374%2010.5714C13.1674%2010.5714%2013.7834%2011.1808%2013.7834%2011.924C13.7834%2012.6674%2013.1674%2013.2768%2012.4377%2013.2768C11.7009%2013.2768%2011.0849%2012.6674%2011.0849%2011.924V10.5714H12.4374Z'%20fill='black'/%3e%3c/g%3e%3c/svg%3e";
|
|
28169
28204
|
const MacOption = "data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='option%201'%3e%3cpath%20id='Vector'%20d='M5.51998%201.86286H2.29913C1.94427%201.86286%201.66284%202.12401%201.66284%202.46544C1.66284%202.80686%201.94427%203.07487%202.29913%203.07486H5.23884C5.47998%203.07486%205.65398%203.18201%205.76113%203.40286L10.1674%2013.3137C10.4151%2013.876%2010.8237%2014.1374%2011.4466%2014.1374H14.7074C15.056%2014.1374%2015.3371%2013.8694%2015.3371%2013.5346C15.3371%2013.1997%2015.0557%2012.9251%2014.7077%2012.9251H11.7477C11.4734%2012.9251%2011.3057%2012.8249%2011.1986%2012.6037L6.8057%202.70001C6.57798%202.17772%206.10284%201.86286%205.51998%201.86286ZM14.7074%201.86286H10.3754C10.0203%201.86286%209.7457%202.11715%209.7457%202.45858C9.7457%202.80029%2010.0203%203.06144%2010.3751%203.06144H14.708C15.0628%203.06144%2015.3308%202.80029%2015.3308%202.45858C15.3308%202.11715%2015.0628%201.86258%2014.708%201.86258L14.7074%201.86286Z'%20fill='black'/%3e%3c/g%3e%3c/svg%3e";
|
|
28170
28205
|
const Mouse = "data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='&%23233;&%23188;&%23160;&%23230;&%23160;&%23135;%201'%3e%3cpath%20id='Vector'%20d='M8.83626%2016H8.16373C6.79487%2016%205.48208%2015.4562%204.51415%2014.4883C3.54622%2013.5204%203.00244%2012.2076%203.00244%2010.8387V4.06647C3.00244%202.98798%203.43087%201.95365%204.19348%201.19104C4.95609%200.428431%205.99042%200%207.06891%200L9.93108%200C10.4651%200%2010.9939%200.105182%2011.4873%200.309542C11.9806%200.513901%2012.4289%200.813435%2012.8065%201.19104C13.1841%201.56865%2013.4837%202.01693%2013.688%202.5103C13.8924%203.00367%2013.9976%203.53245%2013.9976%204.06647V10.8387C13.9976%2012.2076%2013.4538%2013.5204%2012.4858%2014.4883C11.5179%2015.4562%2010.2051%2016%208.83626%2016ZM7.06891%201.25122C5.52053%201.25122%204.25366%202.51808%204.25366%204.06647V10.8387C4.25366%2012.9971%206.00537%2014.7488%208.16373%2014.7488H8.83626C10.9946%2014.7488%2012.7463%2012.9971%2012.7463%2010.8387V4.06647C12.7463%202.51808%2011.4795%201.25122%209.93108%201.25122H7.06891Z'%20fill='black'/%3e%3cpath%20id='Vector_2'%20d='M8.64855%207.55425H8.35138C7.93658%207.55425%207.53876%207.38947%207.24545%207.09616C6.95213%206.80285%206.78735%206.40503%206.78735%205.99022V3.6911C6.78735%203.2763%206.95213%202.87848%207.24545%202.58517C7.53876%202.29186%207.93658%202.12708%208.35138%202.12708H8.64855C9.06335%202.12708%209.46117%202.29186%209.75448%202.58517C10.0478%202.87848%2010.2126%203.2763%2010.2126%203.6911V5.99022C10.2126%206.40503%2010.0478%206.80285%209.75448%207.09616C9.46117%207.38947%209.06335%207.55425%208.64855%207.55425ZM8.35138%203.3783C8.3103%203.3783%208.26963%203.38639%208.23168%203.40211C8.19372%203.41783%208.15924%203.44087%208.13019%203.46992C8.10115%203.49896%208.07811%203.53345%208.06239%203.5714C8.04667%203.60935%208.03858%203.65002%208.03858%203.6911V5.99022C8.03858%206.0313%208.04667%206.07198%208.06239%206.10993C8.07811%206.14788%208.10115%206.18236%208.13019%206.21141C8.15924%206.24046%208.19372%206.2635%208.23168%206.27922C8.26963%206.29494%208.3103%206.30303%208.35138%206.30303H8.64855C8.68962%206.30303%208.7303%206.29494%208.76825%206.27922C8.8062%206.2635%208.84069%206.24046%208.86973%206.21141C8.89878%206.18236%208.92182%206.14788%208.93754%206.10993C8.95326%206.07198%208.96135%206.0313%208.96135%205.99022V3.6911C8.96135%203.65002%208.95326%203.60935%208.93754%203.5714C8.92182%203.53345%208.89878%203.49896%208.86973%203.46992C8.84069%203.44087%208.8062%203.41783%208.76825%203.40211C8.7303%203.38639%208.68962%203.3783%208.64855%203.3783H8.35138Z'%20fill='black'/%3e%3cpath%20id='Vector_3'%20d='M8.50773%203.1437C8.34181%203.1437%208.18268%203.07779%208.06536%202.96047C7.94803%202.84314%207.88212%202.68401%207.88212%202.51809V1.07919C7.88215%200.913281%207.94807%200.75418%208.06539%200.636877C8.18272%200.519573%208.34183%200.453674%208.50773%200.453674C8.67364%200.453674%208.83275%200.519573%208.95007%200.636877C9.06739%200.75418%209.13332%200.913281%209.13334%201.07919V2.51809C9.13334%202.68401%209.06743%202.84314%208.95011%202.96047C8.83278%203.07779%208.67366%203.1437%208.50773%203.1437ZM7.13139%206.47508H3.86257C3.69667%206.47506%203.53757%206.40913%203.42026%206.29181C3.30296%206.17449%203.23706%206.01538%203.23706%205.84947C3.23706%205.68357%203.30296%205.52445%203.42026%205.40713C3.53757%205.28981%203.69667%205.22389%203.86257%205.22386H7.13139C7.29729%205.22389%207.4564%205.28981%207.5737%205.40713C7.691%205.52445%207.7569%205.68357%207.7569%205.84947C7.7569%206.01538%207.691%206.17449%207.5737%206.29181C7.4564%206.40913%207.29729%206.47506%207.13139%206.47508ZM13.106%206.47508H9.83716C9.67125%206.47506%209.51215%206.40913%209.39485%206.29181C9.27754%206.17449%209.21164%206.01538%209.21164%205.84947C9.21164%205.68357%209.27754%205.52445%209.39485%205.40713C9.51215%205.28981%209.67125%205.22389%209.83716%205.22386H13.106C13.2719%205.22389%2013.431%205.28981%2013.5483%205.40713C13.6656%205.52445%2013.7315%205.68357%2013.7315%205.84947C13.7315%206.01538%2013.6656%206.17449%2013.5483%206.29181C13.431%206.40913%2013.2719%206.47506%2013.106%206.47508Z'%20fill='black'/%3e%3c/g%3e%3c/svg%3e";
|
|
28171
|
-
const _hoisted_1$
|
|
28172
|
-
const _hoisted_2$
|
|
28206
|
+
const _hoisted_1$2G = ["src"];
|
|
28207
|
+
const _hoisted_2$1W = ["src"];
|
|
28173
28208
|
const _hoisted_3$1s = ["src"];
|
|
28174
|
-
const _sfc_main$
|
|
28209
|
+
const _sfc_main$4Q = /* @__PURE__ */ defineComponent({
|
|
28175
28210
|
__name: "help-modal",
|
|
28176
28211
|
setup(__props) {
|
|
28177
28212
|
const ns = useNamespace("help-modal");
|
|
@@ -28255,10 +28290,10 @@ const _sfc_main$4P = /* @__PURE__ */ defineComponent({
|
|
|
28255
28290
|
class: normalizeClass(unref(ns).e("shortcut-key"))
|
|
28256
28291
|
}, [
|
|
28257
28292
|
key === "MouseClick" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
28258
|
-
createElementVNode("img", { src: unref(Mouse) }, null, 8, _hoisted_1$
|
|
28293
|
+
createElementVNode("img", { src: unref(Mouse) }, null, 8, _hoisted_1$2G),
|
|
28259
28294
|
createTextVNode(" " + toDisplayString$1(_ctx.$t("sys.onlineForm.help.mouseClick")), 1)
|
|
28260
28295
|
], 64)) : key === "MacCommand" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
28261
|
-
createElementVNode("img", { src: unref(MacCommand) }, null, 8, _hoisted_2$
|
|
28296
|
+
createElementVNode("img", { src: unref(MacCommand) }, null, 8, _hoisted_2$1W),
|
|
28262
28297
|
_cache[0] || (_cache[0] = createTextVNode(" Command ", -1))
|
|
28263
28298
|
], 64)) : key === "MacOption" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
28264
28299
|
createElementVNode("img", { src: unref(MacOption) }, null, 8, _hoisted_3$1s),
|
|
@@ -28277,16 +28312,16 @@ const _sfc_main$4P = /* @__PURE__ */ defineComponent({
|
|
|
28277
28312
|
};
|
|
28278
28313
|
}
|
|
28279
28314
|
});
|
|
28280
|
-
const HelpModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28281
|
-
const _hoisted_1$
|
|
28282
|
-
const _hoisted_2$
|
|
28315
|
+
const HelpModal = /* @__PURE__ */ _export_sfc(_sfc_main$4Q, [["__scopeId", "data-v-11653097"]]);
|
|
28316
|
+
const _hoisted_1$2F = { class: "toolkit-hook-wrapper" };
|
|
28317
|
+
const _hoisted_2$1V = {
|
|
28283
28318
|
key: 0,
|
|
28284
28319
|
class: "toolkit-blank"
|
|
28285
28320
|
};
|
|
28286
28321
|
const _hoisted_3$1r = { class: "guides" };
|
|
28287
28322
|
const _hoisted_4$11 = ["onClick"];
|
|
28288
28323
|
const _hoisted_5$N = ["onClick"];
|
|
28289
|
-
const _sfc_main$
|
|
28324
|
+
const _sfc_main$4P = /* @__PURE__ */ defineComponent({
|
|
28290
28325
|
__name: "toolkit-hook",
|
|
28291
28326
|
setup(__props) {
|
|
28292
28327
|
const { designMode: designMode2, setDesignMode: setDesignMode2 } = useSpreadSheet();
|
|
@@ -28337,8 +28372,8 @@ const _sfc_main$4O = /* @__PURE__ */ defineComponent({
|
|
|
28337
28372
|
});
|
|
28338
28373
|
return (_ctx, _cache) => {
|
|
28339
28374
|
const _component_a_tooltip = resolveComponent("a-tooltip");
|
|
28340
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
28341
|
-
unref(designMode2) === unref(DesignMode).CollectView ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
28375
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2F, [
|
|
28376
|
+
unref(designMode2) === unref(DesignMode).CollectView ? (openBlock(), createElementBlock("div", _hoisted_2$1V)) : (openBlock(), createBlock(Toolkit, normalizeProps(mergeProps({ key: 1 }, _ctx.$attrs)), null, 16)),
|
|
28342
28377
|
createElementVNode("div", _hoisted_3$1r, [
|
|
28343
28378
|
(openBlock(true), createElementBlock(Fragment, null, renderList(configs.value, (config2) => {
|
|
28344
28379
|
return openBlock(), createElementBlock("div", {
|
|
@@ -28368,10 +28403,10 @@ const _sfc_main$4O = /* @__PURE__ */ defineComponent({
|
|
|
28368
28403
|
};
|
|
28369
28404
|
}
|
|
28370
28405
|
});
|
|
28371
|
-
const ToolkitHook = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28372
|
-
const _hoisted_1$
|
|
28373
|
-
const _hoisted_2$
|
|
28374
|
-
const _sfc_main$
|
|
28406
|
+
const ToolkitHook = /* @__PURE__ */ _export_sfc(_sfc_main$4P, [["__scopeId", "data-v-b1390fca"]]);
|
|
28407
|
+
const _hoisted_1$2E = { class: "form-item__label" };
|
|
28408
|
+
const _hoisted_2$1U = { class: "form-item__extra" };
|
|
28409
|
+
const _sfc_main$4O = /* @__PURE__ */ defineComponent({
|
|
28375
28410
|
__name: "form-item",
|
|
28376
28411
|
props: {
|
|
28377
28412
|
label: {},
|
|
@@ -28390,11 +28425,11 @@ const _sfc_main$4N = /* @__PURE__ */ defineComponent({
|
|
|
28390
28425
|
__props.required ? "is-required" : ""
|
|
28391
28426
|
])
|
|
28392
28427
|
}, [
|
|
28393
|
-
createElementVNode("div", _hoisted_1$
|
|
28428
|
+
createElementVNode("div", _hoisted_1$2E, [
|
|
28394
28429
|
renderSlot(_ctx.$slots, "label", {}, () => [
|
|
28395
28430
|
createTextVNode(toDisplayString$1(__props.label), 1)
|
|
28396
28431
|
], true),
|
|
28397
|
-
createElementVNode("span", _hoisted_2$
|
|
28432
|
+
createElementVNode("span", _hoisted_2$1U, [
|
|
28398
28433
|
renderSlot(_ctx.$slots, "extra", {}, void 0, true)
|
|
28399
28434
|
])
|
|
28400
28435
|
]),
|
|
@@ -28411,9 +28446,9 @@ const _sfc_main$4N = /* @__PURE__ */ defineComponent({
|
|
|
28411
28446
|
};
|
|
28412
28447
|
}
|
|
28413
28448
|
});
|
|
28414
|
-
const FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28449
|
+
const FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$4O, [["__scopeId", "data-v-463388f0"]]);
|
|
28415
28450
|
function asyncImportWidgetProp() {
|
|
28416
|
-
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-
|
|
28451
|
+
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-gP8W3DXl.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-CtJoLiKo.js"), "./widget-image.vue": () => import("./widget-image-CY7PHvI6.js"), "./widget-line.vue": () => import("./widget-line-DE0G3Zr6.js"), "./widget-pagination.vue": () => import("./widget-pagination-MJ-CtnWn.js"), "./widget-power.vue": () => import("./widget-power-BFKBLkF5.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-ChM7UInm.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-D7tsCL8x.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-BkdIJ6rG.js"), "./widget-text.vue": () => import("./widget-text-UmCluu4T.js"), "./widget-timediff.vue": () => import("./widget-timediff-CWRjMEL9.js") });
|
|
28417
28452
|
const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
|
|
28418
28453
|
const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
|
|
28419
28454
|
if (mKey) {
|
|
@@ -28424,7 +28459,7 @@ function asyncImportWidgetProp() {
|
|
|
28424
28459
|
console.log(widgetPropMap);
|
|
28425
28460
|
return widgetPropMap;
|
|
28426
28461
|
}
|
|
28427
|
-
const _sfc_main$
|
|
28462
|
+
const _sfc_main$4N = /* @__PURE__ */ defineComponent({
|
|
28428
28463
|
__name: "paper-widget-props",
|
|
28429
28464
|
props: {
|
|
28430
28465
|
paperWidget: {},
|
|
@@ -28444,11 +28479,11 @@ const _sfc_main$4M = /* @__PURE__ */ defineComponent({
|
|
|
28444
28479
|
};
|
|
28445
28480
|
}
|
|
28446
28481
|
});
|
|
28447
|
-
const _sfc_main$
|
|
28482
|
+
const _sfc_main$4M = {};
|
|
28448
28483
|
function _sfc_render$d(_ctx, _cache) {
|
|
28449
28484
|
return openBlock(), createElementBlock("div");
|
|
28450
28485
|
}
|
|
28451
|
-
const __vite_glob_0_0$3 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28486
|
+
const __vite_glob_0_0$3 = /* @__PURE__ */ _export_sfc(_sfc_main$4M, [["render", _sfc_render$d]]);
|
|
28452
28487
|
function ownKeys$1(object, enumerableOnly) {
|
|
28453
28488
|
var keys2 = Object.keys(object);
|
|
28454
28489
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -31119,9 +31154,9 @@ const draggableComponent = defineComponent({
|
|
|
31119
31154
|
}
|
|
31120
31155
|
}
|
|
31121
31156
|
});
|
|
31122
|
-
const _hoisted_1$
|
|
31123
|
-
const _hoisted_2$
|
|
31124
|
-
const _sfc_main$
|
|
31157
|
+
const _hoisted_1$2D = ["onClick"];
|
|
31158
|
+
const _hoisted_2$1T = ["onClick"];
|
|
31159
|
+
const _sfc_main$4L = /* @__PURE__ */ defineComponent({
|
|
31125
31160
|
__name: "multiple-drop",
|
|
31126
31161
|
props: {
|
|
31127
31162
|
items: {},
|
|
@@ -31194,8 +31229,8 @@ const _sfc_main$4K = /* @__PURE__ */ defineComponent({
|
|
|
31194
31229
|
e.stopPropagation();
|
|
31195
31230
|
handleRemove(index2);
|
|
31196
31231
|
}
|
|
31197
|
-
}, null, 10, _hoisted_2$
|
|
31198
|
-
], 10, _hoisted_1$
|
|
31232
|
+
}, null, 10, _hoisted_2$1T)) : createCommentVNode("", true)
|
|
31233
|
+
], 10, _hoisted_1$2D)
|
|
31199
31234
|
]),
|
|
31200
31235
|
_: 1
|
|
31201
31236
|
}, 8, ["list", "handle"])) : createCommentVNode("", true)
|
|
@@ -31203,8 +31238,8 @@ const _sfc_main$4K = /* @__PURE__ */ defineComponent({
|
|
|
31203
31238
|
};
|
|
31204
31239
|
}
|
|
31205
31240
|
});
|
|
31206
|
-
const MultipleDrop = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31207
|
-
const _sfc_main$
|
|
31241
|
+
const MultipleDrop = /* @__PURE__ */ _export_sfc(_sfc_main$4L, [["__scopeId", "data-v-0abe3f10"]]);
|
|
31242
|
+
const _sfc_main$4K = /* @__PURE__ */ defineComponent({
|
|
31208
31243
|
__name: "attach-fields-editor",
|
|
31209
31244
|
props: {
|
|
31210
31245
|
items: {},
|
|
@@ -31311,15 +31346,15 @@ const _sfc_main$4J = /* @__PURE__ */ defineComponent({
|
|
|
31311
31346
|
};
|
|
31312
31347
|
}
|
|
31313
31348
|
});
|
|
31314
|
-
const AttachFieldEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31315
|
-
const _hoisted_1$
|
|
31316
|
-
const _hoisted_2$
|
|
31349
|
+
const AttachFieldEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4K, [["__scopeId", "data-v-820bec1e"]]);
|
|
31350
|
+
const _hoisted_1$2C = { style: { "float": "right" } };
|
|
31351
|
+
const _hoisted_2$1S = { class: "option-container" };
|
|
31317
31352
|
const _hoisted_3$1q = { class: "option" };
|
|
31318
31353
|
const _hoisted_4$10 = { class: "option__label" };
|
|
31319
31354
|
const _hoisted_5$M = { class: "option-container" };
|
|
31320
31355
|
const _hoisted_6$z = { class: "option" };
|
|
31321
31356
|
const _hoisted_7$n = { class: "option__label" };
|
|
31322
|
-
const _sfc_main$
|
|
31357
|
+
const _sfc_main$4J = /* @__PURE__ */ defineComponent({
|
|
31323
31358
|
__name: "boolean-props",
|
|
31324
31359
|
props: {
|
|
31325
31360
|
widget: {},
|
|
@@ -31383,10 +31418,10 @@ const _sfc_main$4I = /* @__PURE__ */ defineComponent({
|
|
|
31383
31418
|
createVNode(FormItem, { inline: false }, {
|
|
31384
31419
|
label: withCtx(() => [
|
|
31385
31420
|
createElementVNode("span", null, toDisplayString$1(_ctx.$t("sys.boolOpt")), 1),
|
|
31386
|
-
createElementVNode("span", _hoisted_1$
|
|
31421
|
+
createElementVNode("span", _hoisted_1$2C, toDisplayString$1(_ctx.$t("sys.onlineForm.introduceField")), 1)
|
|
31387
31422
|
]),
|
|
31388
31423
|
default: withCtx(() => [
|
|
31389
|
-
createElementVNode("div", _hoisted_2$
|
|
31424
|
+
createElementVNode("div", _hoisted_2$1S, [
|
|
31390
31425
|
createElementVNode("div", _hoisted_3$1q, [
|
|
31391
31426
|
createElementVNode("span", _hoisted_4$10, toDisplayString$1(`${_ctx.$t("sys.real")}`), 1),
|
|
31392
31427
|
createVNode(_component_a_input, {
|
|
@@ -31459,7 +31494,7 @@ const _sfc_main$4I = /* @__PURE__ */ defineComponent({
|
|
|
31459
31494
|
};
|
|
31460
31495
|
}
|
|
31461
31496
|
});
|
|
31462
|
-
const __vite_glob_0_1$3 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31497
|
+
const __vite_glob_0_1$3 = /* @__PURE__ */ _export_sfc(_sfc_main$4J, [["__scopeId", "data-v-a413c3b0"]]);
|
|
31463
31498
|
const DateFormatSeparators = ["-", "/", "."];
|
|
31464
31499
|
const DateFormatTemplates = [
|
|
31465
31500
|
{ value: "YYYY", supportFieldTypes: [FIELD_TYPE.DATE, FIELD_TYPE.WAREHOUSE_RECEIPT_DATE] },
|
|
@@ -31597,9 +31632,9 @@ function useDateFormatEditor(formState, fieldType) {
|
|
|
31597
31632
|
customFormat
|
|
31598
31633
|
};
|
|
31599
31634
|
}
|
|
31600
|
-
const _hoisted_1$
|
|
31601
|
-
const _hoisted_2$
|
|
31602
|
-
const _sfc_main$
|
|
31635
|
+
const _hoisted_1$2B = { class: "date-format-editor__switch" };
|
|
31636
|
+
const _hoisted_2$1R = { class: "date-format-editor__switch_text" };
|
|
31637
|
+
const _sfc_main$4I = /* @__PURE__ */ defineComponent({
|
|
31603
31638
|
__name: "date-format-editor",
|
|
31604
31639
|
props: {
|
|
31605
31640
|
widget: {},
|
|
@@ -31623,8 +31658,8 @@ const _sfc_main$4H = /* @__PURE__ */ defineComponent({
|
|
|
31623
31658
|
}, {
|
|
31624
31659
|
label: withCtx(() => [
|
|
31625
31660
|
createElementVNode("span", null, toDisplayString$1(_ctx.$t("sys.component.fieldTypeProps.dateFormat")), 1),
|
|
31626
|
-
createElementVNode("div", _hoisted_1$
|
|
31627
|
-
createElementVNode("span", _hoisted_2$
|
|
31661
|
+
createElementVNode("div", _hoisted_1$2B, [
|
|
31662
|
+
createElementVNode("span", _hoisted_2$1R, toDisplayString$1(_ctx.$t("sys.customize")), 1),
|
|
31628
31663
|
createVNode(_component_a_switch, {
|
|
31629
31664
|
size: "small",
|
|
31630
31665
|
checked: unref(customFormat),
|
|
@@ -31693,7 +31728,7 @@ const _sfc_main$4H = /* @__PURE__ */ defineComponent({
|
|
|
31693
31728
|
};
|
|
31694
31729
|
}
|
|
31695
31730
|
});
|
|
31696
|
-
const DateFormatEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31731
|
+
const DateFormatEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4I, [["__scopeId", "data-v-49f9bd2f"]]);
|
|
31697
31732
|
const SelectEx = /* @__PURE__ */ defineComponent({
|
|
31698
31733
|
name: "SelectEx",
|
|
31699
31734
|
props: {
|
|
@@ -31959,7 +31994,7 @@ function useFormulaEditor$1(props2) {
|
|
|
31959
31994
|
fieldsOptions
|
|
31960
31995
|
};
|
|
31961
31996
|
}
|
|
31962
|
-
const _sfc_main$
|
|
31997
|
+
const _sfc_main$4H = /* @__PURE__ */ defineComponent({
|
|
31963
31998
|
__name: "formula-editor",
|
|
31964
31999
|
props: {
|
|
31965
32000
|
modelKey: {},
|
|
@@ -31999,8 +32034,8 @@ const _sfc_main$4G = /* @__PURE__ */ defineComponent({
|
|
|
31999
32034
|
};
|
|
32000
32035
|
}
|
|
32001
32036
|
});
|
|
32002
|
-
const FormulaEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32003
|
-
const _sfc_main$
|
|
32037
|
+
const FormulaEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4H, [["__scopeId", "data-v-42c0c00b"]]);
|
|
32038
|
+
const _sfc_main$4G = /* @__PURE__ */ defineComponent({
|
|
32004
32039
|
__name: "date-range-editor",
|
|
32005
32040
|
props: {
|
|
32006
32041
|
fieldMeta: {},
|
|
@@ -32226,8 +32261,8 @@ const _sfc_main$4F = /* @__PURE__ */ defineComponent({
|
|
|
32226
32261
|
};
|
|
32227
32262
|
}
|
|
32228
32263
|
});
|
|
32229
|
-
const DateRangeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32230
|
-
const _sfc_main$
|
|
32264
|
+
const DateRangeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4G, [["__scopeId", "data-v-0d979f2b"]]);
|
|
32265
|
+
const _sfc_main$4F = /* @__PURE__ */ defineComponent({
|
|
32231
32266
|
__name: "default-date-editor",
|
|
32232
32267
|
props: {
|
|
32233
32268
|
widget: {},
|
|
@@ -32305,7 +32340,7 @@ const _sfc_main$4E = /* @__PURE__ */ defineComponent({
|
|
|
32305
32340
|
};
|
|
32306
32341
|
}
|
|
32307
32342
|
});
|
|
32308
|
-
const _sfc_main$
|
|
32343
|
+
const _sfc_main$4E = /* @__PURE__ */ defineComponent({
|
|
32309
32344
|
__name: "date-time-props",
|
|
32310
32345
|
props: {
|
|
32311
32346
|
fieldMeta: {},
|
|
@@ -32371,7 +32406,7 @@ const _sfc_main$4D = /* @__PURE__ */ defineComponent({
|
|
|
32371
32406
|
"field-type": __props.fieldType,
|
|
32372
32407
|
disabled: __props.disabled
|
|
32373
32408
|
}, null, 8, ["widget", "field-type", "disabled"])) : createCommentVNode("", true),
|
|
32374
|
-
showDefaultValue.value ? (openBlock(), createBlock(_sfc_main$
|
|
32409
|
+
showDefaultValue.value ? (openBlock(), createBlock(_sfc_main$4F, {
|
|
32375
32410
|
key: 2,
|
|
32376
32411
|
widget: props2.widget,
|
|
32377
32412
|
"field-type": __props.fieldType,
|
|
@@ -32389,7 +32424,7 @@ const _sfc_main$4D = /* @__PURE__ */ defineComponent({
|
|
|
32389
32424
|
};
|
|
32390
32425
|
}
|
|
32391
32426
|
});
|
|
32392
|
-
const _sfc_main$
|
|
32427
|
+
const _sfc_main$4D = /* @__PURE__ */ defineComponent({
|
|
32393
32428
|
__name: "indices-editor",
|
|
32394
32429
|
props: {
|
|
32395
32430
|
scriptValue: {},
|
|
@@ -32461,8 +32496,8 @@ const _sfc_main$4C = /* @__PURE__ */ defineComponent({
|
|
|
32461
32496
|
};
|
|
32462
32497
|
}
|
|
32463
32498
|
});
|
|
32464
|
-
const IndicesEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32465
|
-
const _sfc_main$
|
|
32499
|
+
const IndicesEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4D, [["__scopeId", "data-v-97c50769"]]);
|
|
32500
|
+
const _sfc_main$4C = /* @__PURE__ */ defineComponent({
|
|
32466
32501
|
__name: "number-range-editor",
|
|
32467
32502
|
props: {
|
|
32468
32503
|
fieldMeta: {},
|
|
@@ -32769,8 +32804,8 @@ const _sfc_main$4B = /* @__PURE__ */ defineComponent({
|
|
|
32769
32804
|
};
|
|
32770
32805
|
}
|
|
32771
32806
|
});
|
|
32772
|
-
const NumberRangeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32773
|
-
const _sfc_main$
|
|
32807
|
+
const NumberRangeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4C, [["__scopeId", "data-v-93c179d3"]]);
|
|
32808
|
+
const _sfc_main$4B = /* @__PURE__ */ defineComponent({
|
|
32774
32809
|
__name: "default-value-editor",
|
|
32775
32810
|
props: {
|
|
32776
32811
|
widget: {},
|
|
@@ -32881,7 +32916,7 @@ const _sfc_main$4A = /* @__PURE__ */ defineComponent({
|
|
|
32881
32916
|
};
|
|
32882
32917
|
}
|
|
32883
32918
|
});
|
|
32884
|
-
const _sfc_main$
|
|
32919
|
+
const _sfc_main$4A = /* @__PURE__ */ defineComponent({
|
|
32885
32920
|
__name: "decimal-display-mode",
|
|
32886
32921
|
props: {
|
|
32887
32922
|
value: { default: DecimalDisplayMode$1.ORIGIN },
|
|
@@ -32931,12 +32966,12 @@ const _sfc_main$4z = /* @__PURE__ */ defineComponent({
|
|
|
32931
32966
|
};
|
|
32932
32967
|
}
|
|
32933
32968
|
});
|
|
32934
|
-
const DecimalDisplayMode = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32935
|
-
const _hoisted_1$
|
|
32936
|
-
const _hoisted_2$
|
|
32969
|
+
const DecimalDisplayMode = /* @__PURE__ */ _export_sfc(_sfc_main$4A, [["__scopeId", "data-v-71fd48c3"]]);
|
|
32970
|
+
const _hoisted_1$2A = { class: "w440px text-12px" };
|
|
32971
|
+
const _hoisted_2$1Q = { class: "font-600 text-[#1A1D23] mb8px" };
|
|
32937
32972
|
const _hoisted_3$1p = { class: "text-[#8B8B8B]" };
|
|
32938
32973
|
const _hoisted_4$$ = { class: "font-600 text-[#1A1D23] my8px" };
|
|
32939
|
-
const _sfc_main$
|
|
32974
|
+
const _sfc_main$4z = /* @__PURE__ */ defineComponent({
|
|
32940
32975
|
__name: "decimal-props",
|
|
32941
32976
|
props: {
|
|
32942
32977
|
fieldMeta: {},
|
|
@@ -33053,7 +33088,7 @@ const _sfc_main$4y = /* @__PURE__ */ defineComponent({
|
|
|
33053
33088
|
]),
|
|
33054
33089
|
_: 1
|
|
33055
33090
|
}, 8, ["label"]),
|
|
33056
|
-
createVNode(_sfc_main$
|
|
33091
|
+
createVNode(_sfc_main$4B, {
|
|
33057
33092
|
widget: __props.widget,
|
|
33058
33093
|
precision: digits.value,
|
|
33059
33094
|
disabled: __props.disabled
|
|
@@ -33149,8 +33184,8 @@ const _sfc_main$4y = /* @__PURE__ */ defineComponent({
|
|
|
33149
33184
|
createTextVNode(toDisplayString$1(_ctx.$t("sys.onlineForm.rulesForRoundingOption3")) + " ", 1),
|
|
33150
33185
|
createVNode(_component_a_popover, { placement: "topRight" }, {
|
|
33151
33186
|
content: withCtx(() => [
|
|
33152
|
-
createElementVNode("div", _hoisted_1$
|
|
33153
|
-
createElementVNode("div", _hoisted_2$
|
|
33187
|
+
createElementVNode("div", _hoisted_1$2A, [
|
|
33188
|
+
createElementVNode("div", _hoisted_2$1Q, toDisplayString$1(_ctx.$t("sys.onlineForm.interpretation")), 1),
|
|
33154
33189
|
createElementVNode("div", _hoisted_3$1p, toDisplayString$1(_ctx.$t("sys.onlineForm.rulesForRoundingOption3Tip1")), 1),
|
|
33155
33190
|
createElementVNode("div", _hoisted_4$$, toDisplayString$1(_ctx.$t("sys.onlineForm.rulesForRoundingOption3Tip2")), 1),
|
|
33156
33191
|
createVNode(_component_a_table, {
|
|
@@ -33233,8 +33268,8 @@ const _sfc_main$4y = /* @__PURE__ */ defineComponent({
|
|
|
33233
33268
|
};
|
|
33234
33269
|
}
|
|
33235
33270
|
});
|
|
33236
|
-
const __vite_glob_0_3$2 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33237
|
-
const _sfc_main$
|
|
33271
|
+
const __vite_glob_0_3$2 = /* @__PURE__ */ _export_sfc(_sfc_main$4z, [["__scopeId", "data-v-2c80dfcd"]]);
|
|
33272
|
+
const _sfc_main$4y = /* @__PURE__ */ defineComponent({
|
|
33238
33273
|
__name: "double-props",
|
|
33239
33274
|
props: {
|
|
33240
33275
|
fieldMeta: {},
|
|
@@ -33287,7 +33322,7 @@ const _sfc_main$4x = /* @__PURE__ */ defineComponent({
|
|
|
33287
33322
|
]),
|
|
33288
33323
|
_: 1
|
|
33289
33324
|
}, 8, ["label"]),
|
|
33290
|
-
createVNode(_sfc_main$
|
|
33325
|
+
createVNode(_sfc_main$4B, {
|
|
33291
33326
|
widget: __props.widget,
|
|
33292
33327
|
precision: NaN,
|
|
33293
33328
|
disabled: __props.disabled
|
|
@@ -33318,9 +33353,9 @@ const _sfc_main$4x = /* @__PURE__ */ defineComponent({
|
|
|
33318
33353
|
};
|
|
33319
33354
|
}
|
|
33320
33355
|
});
|
|
33321
|
-
const _hoisted_1$
|
|
33322
|
-
const _hoisted_2$
|
|
33323
|
-
const _sfc_main$
|
|
33356
|
+
const _hoisted_1$2z = { class: "enum-option-modal" };
|
|
33357
|
+
const _hoisted_2$1P = { class: "enum-option-modal__footer" };
|
|
33358
|
+
const _sfc_main$4x = /* @__PURE__ */ defineComponent({
|
|
33324
33359
|
__name: "enum-option-modal",
|
|
33325
33360
|
props: {
|
|
33326
33361
|
option: {},
|
|
@@ -33380,7 +33415,7 @@ const _sfc_main$4w = /* @__PURE__ */ defineComponent({
|
|
|
33380
33415
|
const _component_a_switch = resolveComponent("a-switch");
|
|
33381
33416
|
const _component_a_form = resolveComponent("a-form");
|
|
33382
33417
|
const _component_a_button = resolveComponent("a-button");
|
|
33383
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
33418
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2z, [
|
|
33384
33419
|
createVNode(_component_a_form, {
|
|
33385
33420
|
ref_key: "enumFormRef",
|
|
33386
33421
|
ref: enumFormRef,
|
|
@@ -33454,7 +33489,7 @@ const _sfc_main$4w = /* @__PURE__ */ defineComponent({
|
|
|
33454
33489
|
]),
|
|
33455
33490
|
_: 1
|
|
33456
33491
|
}, 8, ["model"]),
|
|
33457
|
-
createElementVNode("div", _hoisted_2$
|
|
33492
|
+
createElementVNode("div", _hoisted_2$1P, [
|
|
33458
33493
|
createVNode(_component_a_button, { onClick: closeModal }, {
|
|
33459
33494
|
default: withCtx(() => [
|
|
33460
33495
|
createTextVNode(toDisplayString$1(__props.readonly ? _ctx.$t("sys.closeText") || "关闭" : _ctx.$t("sys.cancel")), 1)
|
|
@@ -33487,11 +33522,11 @@ const _sfc_main$4w = /* @__PURE__ */ defineComponent({
|
|
|
33487
33522
|
};
|
|
33488
33523
|
}
|
|
33489
33524
|
});
|
|
33490
|
-
const EnumOptionModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33491
|
-
const _hoisted_1$
|
|
33492
|
-
const _hoisted_2$
|
|
33525
|
+
const EnumOptionModal = /* @__PURE__ */ _export_sfc(_sfc_main$4x, [["__scopeId", "data-v-4cd5423b"]]);
|
|
33526
|
+
const _hoisted_1$2y = { class: "enum-import-title" };
|
|
33527
|
+
const _hoisted_2$1O = { class: "title" };
|
|
33493
33528
|
const _hoisted_3$1o = { class: "desc-ul" };
|
|
33494
|
-
const _sfc_main$
|
|
33529
|
+
const _sfc_main$4w = /* @__PURE__ */ defineComponent({
|
|
33495
33530
|
__name: "enum-import-modal",
|
|
33496
33531
|
emits: ["import-enum"],
|
|
33497
33532
|
setup(__props, { emit: __emit }) {
|
|
@@ -33521,9 +33556,9 @@ const _sfc_main$4v = /* @__PURE__ */ defineComponent({
|
|
|
33521
33556
|
const _component_a_form_item = resolveComponent("a-form-item");
|
|
33522
33557
|
const _component_a_form = resolveComponent("a-form");
|
|
33523
33558
|
return openBlock(), createElementBlock("div", null, [
|
|
33524
|
-
createElementVNode("div", _hoisted_1$
|
|
33559
|
+
createElementVNode("div", _hoisted_1$2y, [
|
|
33525
33560
|
createVNode(_component_QuestionCircleFilled),
|
|
33526
|
-
createElementVNode("span", _hoisted_2$
|
|
33561
|
+
createElementVNode("span", _hoisted_2$1O, toDisplayString$1(_ctx.$t("sys.onlineForm.importGlobalConfigNotice1")), 1)
|
|
33527
33562
|
]),
|
|
33528
33563
|
createElementVNode("ul", _hoisted_3$1o, [
|
|
33529
33564
|
createElementVNode("li", null, toDisplayString$1(_ctx.$t("sys.onlineForm.importGlobalConfigNoticeRow1")), 1),
|
|
@@ -33562,8 +33597,8 @@ const _sfc_main$4v = /* @__PURE__ */ defineComponent({
|
|
|
33562
33597
|
};
|
|
33563
33598
|
}
|
|
33564
33599
|
});
|
|
33565
|
-
const EnumImportModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33566
|
-
const _sfc_main$
|
|
33600
|
+
const EnumImportModal = /* @__PURE__ */ _export_sfc(_sfc_main$4w, [["__scopeId", "data-v-294f9e64"]]);
|
|
33601
|
+
const _sfc_main$4v = defineComponent({
|
|
33567
33602
|
name: "EnumImportIcon",
|
|
33568
33603
|
components: {
|
|
33569
33604
|
Icon
|
|
@@ -33602,8 +33637,8 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33602
33637
|
_: 1
|
|
33603
33638
|
});
|
|
33604
33639
|
}
|
|
33605
|
-
const EnumImportIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33606
|
-
const _sfc_main$
|
|
33640
|
+
const EnumImportIcon = /* @__PURE__ */ _export_sfc(_sfc_main$4v, [["render", _sfc_render$c], ["__scopeId", "data-v-bd16ceca"]]);
|
|
33641
|
+
const _sfc_main$4u = defineComponent({
|
|
33607
33642
|
name: "EnumAddIcon",
|
|
33608
33643
|
components: {
|
|
33609
33644
|
Icon
|
|
@@ -33634,8 +33669,8 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33634
33669
|
_: 1
|
|
33635
33670
|
});
|
|
33636
33671
|
}
|
|
33637
|
-
const EnumAddIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33638
|
-
const _sfc_main$
|
|
33672
|
+
const EnumAddIcon = /* @__PURE__ */ _export_sfc(_sfc_main$4u, [["render", _sfc_render$b], ["__scopeId", "data-v-c6f0f816"]]);
|
|
33673
|
+
const _sfc_main$4t = defineComponent({
|
|
33639
33674
|
name: "SeeViewIcon",
|
|
33640
33675
|
components: {
|
|
33641
33676
|
Icon
|
|
@@ -33685,8 +33720,8 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33685
33720
|
_: 1
|
|
33686
33721
|
});
|
|
33687
33722
|
}
|
|
33688
|
-
const SeeViewIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33689
|
-
const _sfc_main$
|
|
33723
|
+
const SeeViewIcon = /* @__PURE__ */ _export_sfc(_sfc_main$4t, [["render", _sfc_render$a]]);
|
|
33724
|
+
const _sfc_main$4s = defineComponent({
|
|
33690
33725
|
name: "SeeCloseIcon",
|
|
33691
33726
|
components: {
|
|
33692
33727
|
Icon
|
|
@@ -33724,10 +33759,10 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33724
33759
|
_: 1
|
|
33725
33760
|
});
|
|
33726
33761
|
}
|
|
33727
|
-
const SeeCloseIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33728
|
-
const _hoisted_1$
|
|
33729
|
-
const _hoisted_2$
|
|
33730
|
-
const _sfc_main$
|
|
33762
|
+
const SeeCloseIcon = /* @__PURE__ */ _export_sfc(_sfc_main$4s, [["render", _sfc_render$9]]);
|
|
33763
|
+
const _hoisted_1$2x = ["title"];
|
|
33764
|
+
const _hoisted_2$1N = ["title"];
|
|
33765
|
+
const _sfc_main$4r = /* @__PURE__ */ defineComponent({
|
|
33731
33766
|
__name: "enum-option-item",
|
|
33732
33767
|
props: {
|
|
33733
33768
|
option: {},
|
|
@@ -33812,7 +33847,7 @@ const _sfc_main$4q = /* @__PURE__ */ defineComponent({
|
|
|
33812
33847
|
]),
|
|
33813
33848
|
title: _ctx.$t("sys.edit"),
|
|
33814
33849
|
onClick: _cache[1] || (_cache[1] = ($event) => editOption(__props.option))
|
|
33815
|
-
}, null, 10, _hoisted_1$
|
|
33850
|
+
}, null, 10, _hoisted_1$2x),
|
|
33816
33851
|
!__props.disabled ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
33817
33852
|
__props.option.display ? (openBlock(), createBlock(SeeViewIcon, {
|
|
33818
33853
|
key: 0,
|
|
@@ -33829,7 +33864,7 @@ const _sfc_main$4q = /* @__PURE__ */ defineComponent({
|
|
|
33829
33864
|
class: normalizeClass(["iconfont", "icon-shanchu", unref(ns).e("remove")]),
|
|
33830
33865
|
title: _ctx.$t("sys.delText"),
|
|
33831
33866
|
onClick: _cache[4] || (_cache[4] = ($event) => removeOption(__props.option))
|
|
33832
|
-
}, null, 10, _hoisted_2$
|
|
33867
|
+
}, null, 10, _hoisted_2$1N)) : createCommentVNode("", true),
|
|
33833
33868
|
!__props.disabled ? (openBlock(), createBlock(_component_a_checkbox, {
|
|
33834
33869
|
key: 2,
|
|
33835
33870
|
class: normalizeClass([unref(ns).e("enable"), "!ml-6px"]),
|
|
@@ -33849,12 +33884,12 @@ const _sfc_main$4q = /* @__PURE__ */ defineComponent({
|
|
|
33849
33884
|
};
|
|
33850
33885
|
}
|
|
33851
33886
|
});
|
|
33852
|
-
const EnumOptionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33853
|
-
const _hoisted_1$
|
|
33854
|
-
const _hoisted_2$
|
|
33887
|
+
const EnumOptionItem = /* @__PURE__ */ _export_sfc(_sfc_main$4r, [["__scopeId", "data-v-315ca811"]]);
|
|
33888
|
+
const _hoisted_1$2w = { class: "enum-props-title" };
|
|
33889
|
+
const _hoisted_2$1M = { class: "flex" };
|
|
33855
33890
|
const _hoisted_3$1n = { class: "ml-4px" };
|
|
33856
33891
|
const _hoisted_4$_ = { class: "ml-4px" };
|
|
33857
|
-
const _sfc_main$
|
|
33892
|
+
const _sfc_main$4q = /* @__PURE__ */ defineComponent({
|
|
33858
33893
|
__name: "enum-props",
|
|
33859
33894
|
props: {
|
|
33860
33895
|
widget: {},
|
|
@@ -33990,9 +34025,9 @@ const _sfc_main$4p = /* @__PURE__ */ defineComponent({
|
|
|
33990
34025
|
}, 8, ["label"]),
|
|
33991
34026
|
createVNode(FormItem, { inline: false }, {
|
|
33992
34027
|
label: withCtx(() => [
|
|
33993
|
-
createElementVNode("div", _hoisted_1$
|
|
34028
|
+
createElementVNode("div", _hoisted_1$2w, [
|
|
33994
34029
|
createElementVNode("span", null, toDisplayString$1(`${_ctx.$t("sys.component.fieldTypeProps.enumOption")}`), 1),
|
|
33995
|
-
createElementVNode("div", _hoisted_2$
|
|
34030
|
+
createElementVNode("div", _hoisted_2$1M, [
|
|
33996
34031
|
!__props.disabled ? (openBlock(), createElementBlock("div", {
|
|
33997
34032
|
key: 0,
|
|
33998
34033
|
class: "flex items-center primary-gct cursor-pointer",
|
|
@@ -34041,16 +34076,16 @@ const _sfc_main$4p = /* @__PURE__ */ defineComponent({
|
|
|
34041
34076
|
};
|
|
34042
34077
|
}
|
|
34043
34078
|
});
|
|
34044
|
-
const __vite_glob_0_5$2 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
34045
|
-
const _sfc_main$
|
|
34079
|
+
const __vite_glob_0_5$2 = /* @__PURE__ */ _export_sfc(_sfc_main$4q, [["__scopeId", "data-v-958ac8d2"]]);
|
|
34080
|
+
const _sfc_main$4p = {};
|
|
34046
34081
|
function _sfc_render$8(_ctx, _cache) {
|
|
34047
34082
|
return openBlock(), createElementBlock("div");
|
|
34048
34083
|
}
|
|
34049
|
-
const __vite_glob_0_6$2 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
34050
|
-
const _hoisted_1$
|
|
34051
|
-
const _hoisted_2$
|
|
34084
|
+
const __vite_glob_0_6$2 = /* @__PURE__ */ _export_sfc(_sfc_main$4p, [["render", _sfc_render$8]]);
|
|
34085
|
+
const _hoisted_1$2v = { class: "adaptive-warning" };
|
|
34086
|
+
const _hoisted_2$1L = { class: "warning-title" };
|
|
34052
34087
|
const _hoisted_3$1m = { class: "warning-list" };
|
|
34053
|
-
const _sfc_main$
|
|
34088
|
+
const _sfc_main$4o = /* @__PURE__ */ defineComponent({
|
|
34054
34089
|
__name: "file-props",
|
|
34055
34090
|
props: {
|
|
34056
34091
|
widget: {},
|
|
@@ -34118,8 +34153,8 @@ const _sfc_main$4n = /* @__PURE__ */ defineComponent({
|
|
|
34118
34153
|
createElementVNode("span", null, toDisplayString$1(_ctx.$t("sys.onlineForm.imageDisplayMode")), 1),
|
|
34119
34154
|
createVNode(_component_a_tooltip, { placement: "top" }, {
|
|
34120
34155
|
title: withCtx(() => [
|
|
34121
|
-
createElementVNode("div", _hoisted_1$
|
|
34122
|
-
createElementVNode("p", _hoisted_2$
|
|
34156
|
+
createElementVNode("div", _hoisted_1$2v, [
|
|
34157
|
+
createElementVNode("p", _hoisted_2$1L, toDisplayString$1(_ctx.$t("sys.onlineForm.fileFieldTip1")), 1),
|
|
34123
34158
|
createElementVNode("ul", _hoisted_3$1m, [
|
|
34124
34159
|
createElementVNode("li", null, toDisplayString$1(_ctx.$t("sys.onlineForm.fileFieldTip2")), 1),
|
|
34125
34160
|
createElementVNode("li", null, toDisplayString$1(_ctx.$t("sys.onlineForm.fileFieldTip3")), 1)
|
|
@@ -34238,8 +34273,8 @@ const _sfc_main$4n = /* @__PURE__ */ defineComponent({
|
|
|
34238
34273
|
};
|
|
34239
34274
|
}
|
|
34240
34275
|
});
|
|
34241
|
-
const __vite_glob_0_7$2 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
34242
|
-
const _sfc_main$
|
|
34276
|
+
const __vite_glob_0_7$2 = /* @__PURE__ */ _export_sfc(_sfc_main$4o, [["__scopeId", "data-v-3162be1f"]]);
|
|
34277
|
+
const _sfc_main$4n = /* @__PURE__ */ defineComponent({
|
|
34243
34278
|
__name: "image-props",
|
|
34244
34279
|
props: {
|
|
34245
34280
|
widget: {}
|
|
@@ -34250,7 +34285,7 @@ const _sfc_main$4m = /* @__PURE__ */ defineComponent({
|
|
|
34250
34285
|
};
|
|
34251
34286
|
}
|
|
34252
34287
|
});
|
|
34253
|
-
const _sfc_main$
|
|
34288
|
+
const _sfc_main$4m = /* @__PURE__ */ defineComponent({
|
|
34254
34289
|
__name: "number-step-counter-editor",
|
|
34255
34290
|
props: {
|
|
34256
34291
|
widget: {},
|
|
@@ -34304,8 +34339,8 @@ const _sfc_main$4l = /* @__PURE__ */ defineComponent({
|
|
|
34304
34339
|
};
|
|
34305
34340
|
}
|
|
34306
34341
|
});
|
|
34307
|
-
const NumberStepCounterEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
34308
|
-
const _sfc_main$
|
|
34342
|
+
const NumberStepCounterEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4m, [["__scopeId", "data-v-a0a83eb5"]]);
|
|
34343
|
+
const _sfc_main$4l = /* @__PURE__ */ defineComponent({
|
|
34309
34344
|
__name: "integer-props",
|
|
34310
34345
|
props: {
|
|
34311
34346
|
fieldMeta: {},
|
|
@@ -34349,7 +34384,7 @@ const _sfc_main$4k = /* @__PURE__ */ defineComponent({
|
|
|
34349
34384
|
]),
|
|
34350
34385
|
_: 1
|
|
34351
34386
|
}, 8, ["label"]),
|
|
34352
|
-
createVNode(_sfc_main$
|
|
34387
|
+
createVNode(_sfc_main$4B, {
|
|
34353
34388
|
widget: __props.widget,
|
|
34354
34389
|
precision: 0,
|
|
34355
34390
|
disabled: __props.disabled
|
|
@@ -34400,7 +34435,7 @@ const _sfc_main$4k = /* @__PURE__ */ defineComponent({
|
|
|
34400
34435
|
};
|
|
34401
34436
|
}
|
|
34402
34437
|
});
|
|
34403
|
-
const _sfc_main$
|
|
34438
|
+
const _sfc_main$4k = /* @__PURE__ */ defineComponent({
|
|
34404
34439
|
__name: "org-props",
|
|
34405
34440
|
props: {
|
|
34406
34441
|
widget: {},
|
|
@@ -35766,12 +35801,12 @@ const FieldTransfer = /* @__PURE__ */ defineComponent({
|
|
|
35766
35801
|
};
|
|
35767
35802
|
}
|
|
35768
35803
|
});
|
|
35769
|
-
const _hoisted_1$
|
|
35804
|
+
const _hoisted_1$2u = {
|
|
35770
35805
|
key: 0,
|
|
35771
35806
|
class: "h26px leading-26px bg-[#3168EC]/[0.1] pl-10px mb-10px"
|
|
35772
35807
|
};
|
|
35773
|
-
const _hoisted_2$
|
|
35774
|
-
const _sfc_main$
|
|
35808
|
+
const _hoisted_2$1K = { class: "text-[#666] ml-6px" };
|
|
35809
|
+
const _sfc_main$4j = /* @__PURE__ */ defineComponent({
|
|
35775
35810
|
__name: "field-transfer-modal",
|
|
35776
35811
|
props: {
|
|
35777
35812
|
modelKey: {},
|
|
@@ -35909,9 +35944,9 @@ const _sfc_main$4i = /* @__PURE__ */ defineComponent({
|
|
|
35909
35944
|
spinning: !isLoad.value
|
|
35910
35945
|
}, {
|
|
35911
35946
|
default: withCtx(() => [
|
|
35912
|
-
__props.promptMessage ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
35947
|
+
__props.promptMessage ? (openBlock(), createElementBlock("div", _hoisted_1$2u, [
|
|
35913
35948
|
_cache[1] || (_cache[1] = createElementVNode("i", { class: "iconfont icon-guanyu text-[#3168EC]" }, null, -1)),
|
|
35914
|
-
createElementVNode("span", _hoisted_2$
|
|
35949
|
+
createElementVNode("span", _hoisted_2$1K, toDisplayString$1(__props.promptMessage), 1)
|
|
35915
35950
|
])) : createCommentVNode("", true),
|
|
35916
35951
|
createVNode(unref(FieldCascader), {
|
|
35917
35952
|
class: "mb-8px",
|
|
@@ -35943,8 +35978,8 @@ const _sfc_main$4i = /* @__PURE__ */ defineComponent({
|
|
|
35943
35978
|
};
|
|
35944
35979
|
}
|
|
35945
35980
|
});
|
|
35946
|
-
const FieldTransferModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
35947
|
-
const _sfc_main$
|
|
35981
|
+
const FieldTransferModal = /* @__PURE__ */ _export_sfc(_sfc_main$4j, [["__scopeId", "data-v-60f26113"]]);
|
|
35982
|
+
const _sfc_main$4i = /* @__PURE__ */ defineComponent({
|
|
35948
35983
|
...{ inheritAttrs: false },
|
|
35949
35984
|
__name: "modal-wrapper",
|
|
35950
35985
|
setup(__props, { expose: __expose }) {
|
|
@@ -35987,7 +36022,7 @@ function useFieldTransfer() {
|
|
|
35987
36022
|
container.id = unref(modalKey);
|
|
35988
36023
|
const t2 = unref(target);
|
|
35989
36024
|
t2?.appendChild(container);
|
|
35990
|
-
app = createApp(_sfc_main$
|
|
36025
|
+
app = createApp(_sfc_main$4i, propsData);
|
|
35991
36026
|
registerDialogComp(app);
|
|
35992
36027
|
app.config.globalProperties.$t = window.$t ?? ((key) => key);
|
|
35993
36028
|
instance = app.mount(container);
|
|
@@ -36007,13 +36042,13 @@ function useFieldTransfer() {
|
|
|
36007
36042
|
close
|
|
36008
36043
|
};
|
|
36009
36044
|
}
|
|
36010
|
-
const _hoisted_1$
|
|
36045
|
+
const _hoisted_1$2t = {
|
|
36011
36046
|
key: 0,
|
|
36012
36047
|
class: "display-fields-editor"
|
|
36013
36048
|
};
|
|
36014
|
-
const _hoisted_2$
|
|
36049
|
+
const _hoisted_2$1J = ["title"];
|
|
36015
36050
|
const _hoisted_3$1l = { class: "editor-tip" };
|
|
36016
|
-
const _sfc_main$
|
|
36051
|
+
const _sfc_main$4h = /* @__PURE__ */ defineComponent({
|
|
36017
36052
|
__name: "display-fields-editor",
|
|
36018
36053
|
props: {
|
|
36019
36054
|
displayFields: {},
|
|
@@ -36127,7 +36162,7 @@ const _sfc_main$4g = /* @__PURE__ */ defineComponent({
|
|
|
36127
36162
|
if (options.length) emit2("update:displayFields", options);
|
|
36128
36163
|
});
|
|
36129
36164
|
return (_ctx, _cache) => {
|
|
36130
|
-
return showDisplayFields.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
36165
|
+
return showDisplayFields.value ? (openBlock(), createElementBlock("div", _hoisted_1$2t, [
|
|
36131
36166
|
createVNode(FormItem, {
|
|
36132
36167
|
label: `${_ctx.$t("sys.displayFields")}`,
|
|
36133
36168
|
inline: false
|
|
@@ -36164,7 +36199,7 @@ const _sfc_main$4g = /* @__PURE__ */ defineComponent({
|
|
|
36164
36199
|
]),
|
|
36165
36200
|
_: 1
|
|
36166
36201
|
}, 8, ["allowClear", "options", "value", "placeholder"])
|
|
36167
|
-
], 8, _hoisted_2$
|
|
36202
|
+
], 8, _hoisted_2$1J)
|
|
36168
36203
|
]),
|
|
36169
36204
|
_: 1
|
|
36170
36205
|
}, 8, ["label"]),
|
|
@@ -36173,15 +36208,15 @@ const _sfc_main$4g = /* @__PURE__ */ defineComponent({
|
|
|
36173
36208
|
};
|
|
36174
36209
|
}
|
|
36175
36210
|
});
|
|
36176
|
-
const DisplayFieldsEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
36177
|
-
const _hoisted_1$
|
|
36211
|
+
const DisplayFieldsEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4h, [["__scopeId", "data-v-821a926c"]]);
|
|
36212
|
+
const _hoisted_1$2s = {
|
|
36178
36213
|
key: 0,
|
|
36179
36214
|
class: "quick-search-editor"
|
|
36180
36215
|
};
|
|
36181
|
-
const _hoisted_2$
|
|
36216
|
+
const _hoisted_2$1I = ["title"];
|
|
36182
36217
|
const _hoisted_3$1k = { class: "editor-tip" };
|
|
36183
36218
|
const PRODUCT_CODE_SEARCH_FIELD = "code_.like";
|
|
36184
|
-
const _sfc_main$
|
|
36219
|
+
const _sfc_main$4g = /* @__PURE__ */ defineComponent({
|
|
36185
36220
|
__name: "quick-search-editor",
|
|
36186
36221
|
props: {
|
|
36187
36222
|
fieldMeta: {},
|
|
@@ -36252,7 +36287,7 @@ const _sfc_main$4f = /* @__PURE__ */ defineComponent({
|
|
|
36252
36287
|
};
|
|
36253
36288
|
return (_ctx, _cache) => {
|
|
36254
36289
|
const _component_a_select = resolveComponent("a-select");
|
|
36255
|
-
return showSearchConfig.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
36290
|
+
return showSearchConfig.value ? (openBlock(), createElementBlock("div", _hoisted_1$2s, [
|
|
36256
36291
|
createVNode(FormItem, {
|
|
36257
36292
|
inline: false,
|
|
36258
36293
|
label: _ctx.$t("sys.pageDesigner.quickSearchFields")
|
|
@@ -36287,7 +36322,7 @@ const _sfc_main$4f = /* @__PURE__ */ defineComponent({
|
|
|
36287
36322
|
]),
|
|
36288
36323
|
_: 1
|
|
36289
36324
|
}, 8, ["value", "allowClear", "options", "disabled", "placeholder"])
|
|
36290
|
-
], 8, _hoisted_2$
|
|
36325
|
+
], 8, _hoisted_2$1I)
|
|
36291
36326
|
]),
|
|
36292
36327
|
_: 1
|
|
36293
36328
|
}, 8, ["label"]),
|
|
@@ -36296,10 +36331,10 @@ const _sfc_main$4f = /* @__PURE__ */ defineComponent({
|
|
|
36296
36331
|
};
|
|
36297
36332
|
}
|
|
36298
36333
|
});
|
|
36299
|
-
const QuickSearchEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
36300
|
-
const _hoisted_1$
|
|
36301
|
-
const _hoisted_2$
|
|
36302
|
-
const _sfc_main$
|
|
36334
|
+
const QuickSearchEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4g, [["__scopeId", "data-v-f3edaa2a"]]);
|
|
36335
|
+
const _hoisted_1$2r = { class: "ref-data-filter-editor allow-readonly-view" };
|
|
36336
|
+
const _hoisted_2$1H = { class: "inpt-box" };
|
|
36337
|
+
const _sfc_main$4f = /* @__PURE__ */ defineComponent({
|
|
36303
36338
|
__name: "ref-data-filter-editor",
|
|
36304
36339
|
props: {
|
|
36305
36340
|
fieldMeta: {},
|
|
@@ -36373,7 +36408,7 @@ const _sfc_main$4e = /* @__PURE__ */ defineComponent({
|
|
|
36373
36408
|
};
|
|
36374
36409
|
return (_ctx, _cache) => {
|
|
36375
36410
|
const _component_a_button = resolveComponent("a-button");
|
|
36376
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
36411
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2r, [
|
|
36377
36412
|
createVNode(FormItem, {
|
|
36378
36413
|
inline: false,
|
|
36379
36414
|
label: _ctx.$t("sys.pageDesigner.datafiltering")
|
|
@@ -36383,7 +36418,7 @@ const _sfc_main$4e = /* @__PURE__ */ defineComponent({
|
|
|
36383
36418
|
class: "data-filter-box",
|
|
36384
36419
|
onClick: handleFilterClick
|
|
36385
36420
|
}, [
|
|
36386
|
-
createElementVNode("div", _hoisted_2$
|
|
36421
|
+
createElementVNode("div", _hoisted_2$1H, [
|
|
36387
36422
|
createVNode(_component_a_button, {
|
|
36388
36423
|
type: filterValue.value ? "primary" : "default",
|
|
36389
36424
|
block: ""
|
|
@@ -36402,7 +36437,7 @@ const _sfc_main$4e = /* @__PURE__ */ defineComponent({
|
|
|
36402
36437
|
};
|
|
36403
36438
|
}
|
|
36404
36439
|
});
|
|
36405
|
-
const RefDataFilterEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
36440
|
+
const RefDataFilterEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4f, [["__scopeId", "data-v-0082bdb6"]]);
|
|
36406
36441
|
function applyDesignReadonlyModal(modal) {
|
|
36407
36442
|
modal?.setOptions?.({
|
|
36408
36443
|
okButtonProps: { style: { display: "none" } },
|
|
@@ -36569,12 +36604,12 @@ const matchAutofillTargetField = (fromMeta, toMeta) => {
|
|
|
36569
36604
|
}
|
|
36570
36605
|
return matched;
|
|
36571
36606
|
};
|
|
36572
|
-
const _hoisted_1$
|
|
36573
|
-
const _hoisted_2$
|
|
36607
|
+
const _hoisted_1$2q = { class: "px24px mt20px" };
|
|
36608
|
+
const _hoisted_2$1G = { class: "text-[#8B8B8B]" };
|
|
36574
36609
|
const _hoisted_3$1j = { class: "atuofill-field-icon" };
|
|
36575
36610
|
const _hoisted_4$Z = { class: "form-table-label" };
|
|
36576
36611
|
const _hoisted_5$L = ["onClick"];
|
|
36577
|
-
const _sfc_main$
|
|
36612
|
+
const _sfc_main$4e = /* @__PURE__ */ defineComponent({
|
|
36578
36613
|
__name: "autofill-rules-modal",
|
|
36579
36614
|
props: {
|
|
36580
36615
|
fieldMeta: {},
|
|
@@ -36844,7 +36879,7 @@ const _sfc_main$4d = /* @__PURE__ */ defineComponent({
|
|
|
36844
36879
|
]),
|
|
36845
36880
|
_: 1
|
|
36846
36881
|
})) : createCommentVNode("", true),
|
|
36847
|
-
createElementVNode("div", _hoisted_1$
|
|
36882
|
+
createElementVNode("div", _hoisted_1$2q, [
|
|
36848
36883
|
createVNode(_component_a_row, {
|
|
36849
36884
|
gutter: 4,
|
|
36850
36885
|
style: { "margin-bottom": "4px", "padding": "0 10px" },
|
|
@@ -36861,7 +36896,7 @@ const _sfc_main$4d = /* @__PURE__ */ defineComponent({
|
|
|
36861
36896
|
createVNode(_component_a_col, { span: 11 }, {
|
|
36862
36897
|
default: withCtx(() => [
|
|
36863
36898
|
createTextVNode(toDisplayString$1(unref($t2)("sys.pageDesigner.targetField")) + " ", 1),
|
|
36864
|
-
createElementVNode("span", _hoisted_2$
|
|
36899
|
+
createElementVNode("span", _hoisted_2$1G, " ( " + toDisplayString$1(unref($t2)("sys.pageDesigner.onlineFormFieldInForm")) + ") ", 1)
|
|
36865
36900
|
]),
|
|
36866
36901
|
_: 1
|
|
36867
36902
|
})
|
|
@@ -37033,7 +37068,193 @@ const _sfc_main$4d = /* @__PURE__ */ defineComponent({
|
|
|
37033
37068
|
};
|
|
37034
37069
|
}
|
|
37035
37070
|
});
|
|
37036
|
-
const AutofillRulesModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
37071
|
+
const AutofillRulesModal = /* @__PURE__ */ _export_sfc(_sfc_main$4e, [["__scopeId", "data-v-e674d854"]]);
|
|
37072
|
+
const _hoisted_1$2p = { class: "muted" };
|
|
37073
|
+
const _hoisted_2$1F = ["onClick"];
|
|
37074
|
+
const _sfc_main$4d = /* @__PURE__ */ defineComponent({
|
|
37075
|
+
__name: "signature-autofill-rules-modal",
|
|
37076
|
+
props: {
|
|
37077
|
+
fieldMeta: {},
|
|
37078
|
+
rules: {},
|
|
37079
|
+
readonly: { type: Boolean }
|
|
37080
|
+
},
|
|
37081
|
+
setup(__props) {
|
|
37082
|
+
const props2 = __props;
|
|
37083
|
+
const { modelMetaMap: modelMetaMap2, loadModelFieldsByKey } = useModelFields();
|
|
37084
|
+
const formRef = ref();
|
|
37085
|
+
const formState = reactive({
|
|
37086
|
+
rules: cloneDeep(props2.rules?.length ? props2.rules : [{}])
|
|
37087
|
+
});
|
|
37088
|
+
const sourceOptions = [
|
|
37089
|
+
{ label: $t("sys.onlineForm.signaturePerson"), value: "username" },
|
|
37090
|
+
{ label: $t("sys.onlineForm.signatureTimestamp"), value: "time" }
|
|
37091
|
+
];
|
|
37092
|
+
const modelFields = computed(() => modelMetaMap2.value[props2.fieldMeta.model ?? ""]?.fields ?? []);
|
|
37093
|
+
const targetOptions = (source) => {
|
|
37094
|
+
const types = source === "username" ? [FIELD_TYPE.USER, FIELD_TYPE.USER_MULTI] : source === "time" ? [FIELD_TYPE.DATE, FIELD_TYPE.TIME, FIELD_TYPE.DATE_TIME] : [];
|
|
37095
|
+
return modelFields.value.filter(
|
|
37096
|
+
(field) => field.key !== props2.fieldMeta.field && types.includes(field.type)
|
|
37097
|
+
).map((field) => ({ label: field.name, value: field.key, type: field.type }));
|
|
37098
|
+
};
|
|
37099
|
+
const onSourceChange = (rule) => {
|
|
37100
|
+
rule.toField = void 0;
|
|
37101
|
+
rule.toFieldType = void 0;
|
|
37102
|
+
};
|
|
37103
|
+
const onTargetChange = (rule, value) => {
|
|
37104
|
+
rule.toFieldType = targetOptions(rule.fromField).find((field) => field.value === value)?.type;
|
|
37105
|
+
};
|
|
37106
|
+
const addRule = () => formState.rules.push({});
|
|
37107
|
+
const removeRule = (index2) => formState.rules.splice(index2, 1);
|
|
37108
|
+
onMounted(async () => {
|
|
37109
|
+
if (props2.fieldMeta.model && !modelMetaMap2.value[props2.fieldMeta.model]) {
|
|
37110
|
+
await loadModelFieldsByKey(props2.fieldMeta.model);
|
|
37111
|
+
}
|
|
37112
|
+
});
|
|
37113
|
+
const modal = useModal$1(async () => {
|
|
37114
|
+
if (props2.readonly) return null;
|
|
37115
|
+
await formRef.value?.validate();
|
|
37116
|
+
return { ok: true, data: cloneDeep(formState.rules) };
|
|
37117
|
+
});
|
|
37118
|
+
onMounted(() => {
|
|
37119
|
+
if (props2.readonly) applyDesignReadonlyModal(modal);
|
|
37120
|
+
});
|
|
37121
|
+
return (_ctx, _cache) => {
|
|
37122
|
+
const _component_a_button = resolveComponent("a-button");
|
|
37123
|
+
const _component_a_col = resolveComponent("a-col");
|
|
37124
|
+
const _component_a_row = resolveComponent("a-row");
|
|
37125
|
+
const _component_a_select = resolveComponent("a-select");
|
|
37126
|
+
const _component_a_form_item = resolveComponent("a-form-item");
|
|
37127
|
+
const _component_a_form = resolveComponent("a-form");
|
|
37128
|
+
return openBlock(), createElementBlock("div", {
|
|
37129
|
+
class: normalizeClass(["signature-autofill-rules", { "is-readonly": __props.readonly }])
|
|
37130
|
+
}, [
|
|
37131
|
+
!__props.readonly ? (openBlock(), createBlock(_component_a_button, {
|
|
37132
|
+
key: 0,
|
|
37133
|
+
type: "link",
|
|
37134
|
+
class: "add-rule",
|
|
37135
|
+
onClick: addRule
|
|
37136
|
+
}, {
|
|
37137
|
+
default: withCtx(() => [
|
|
37138
|
+
_cache[0] || (_cache[0] = createElementVNode("i", { class: "iconfont icon-chuangjian mr8px" }, null, -1)),
|
|
37139
|
+
createTextVNode(" " + toDisplayString$1(_ctx.$t("sys.pageDesigner.fillRules")), 1)
|
|
37140
|
+
]),
|
|
37141
|
+
_: 1
|
|
37142
|
+
})) : createCommentVNode("", true),
|
|
37143
|
+
createVNode(_component_a_row, {
|
|
37144
|
+
gutter: 12,
|
|
37145
|
+
class: "rule-header"
|
|
37146
|
+
}, {
|
|
37147
|
+
default: withCtx(() => [
|
|
37148
|
+
createVNode(_component_a_col, { span: 9 }, {
|
|
37149
|
+
default: withCtx(() => [
|
|
37150
|
+
createTextVNode(toDisplayString$1(_ctx.$t("sys.pageDesigner.valueSource")), 1)
|
|
37151
|
+
]),
|
|
37152
|
+
_: 1
|
|
37153
|
+
}),
|
|
37154
|
+
createVNode(_component_a_col, { span: 4 }),
|
|
37155
|
+
createVNode(_component_a_col, { span: 10 }, {
|
|
37156
|
+
default: withCtx(() => [
|
|
37157
|
+
createTextVNode(toDisplayString$1(_ctx.$t("sys.pageDesigner.targetField")) + " ", 1),
|
|
37158
|
+
createElementVNode("span", _hoisted_1$2p, "(" + toDisplayString$1(_ctx.$t("sys.pageDesigner.onlineFormFieldInForm")) + ")", 1)
|
|
37159
|
+
]),
|
|
37160
|
+
_: 1
|
|
37161
|
+
})
|
|
37162
|
+
]),
|
|
37163
|
+
_: 1
|
|
37164
|
+
}),
|
|
37165
|
+
createVNode(_component_a_form, {
|
|
37166
|
+
ref_key: "formRef",
|
|
37167
|
+
ref: formRef,
|
|
37168
|
+
model: formState,
|
|
37169
|
+
"hide-required-mark": "",
|
|
37170
|
+
colon: false
|
|
37171
|
+
}, {
|
|
37172
|
+
default: withCtx(() => [
|
|
37173
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(formState.rules, (rule, index2) => {
|
|
37174
|
+
return openBlock(), createBlock(_component_a_row, {
|
|
37175
|
+
key: index2,
|
|
37176
|
+
gutter: 12,
|
|
37177
|
+
class: "rule-row"
|
|
37178
|
+
}, {
|
|
37179
|
+
default: withCtx(() => [
|
|
37180
|
+
createVNode(_component_a_col, { span: 9 }, {
|
|
37181
|
+
default: withCtx(() => [
|
|
37182
|
+
createVNode(_component_a_form_item, {
|
|
37183
|
+
name: ["rules", index2, "fromField"],
|
|
37184
|
+
rules: [{ required: true, message: _ctx.$t("sys.chooseText") }]
|
|
37185
|
+
}, {
|
|
37186
|
+
default: withCtx(() => [
|
|
37187
|
+
createVNode(_component_a_select, {
|
|
37188
|
+
value: rule.fromField,
|
|
37189
|
+
"onUpdate:value": ($event) => rule.fromField = $event,
|
|
37190
|
+
options: sourceOptions,
|
|
37191
|
+
placeholder: _ctx.$t("sys.chooseText") + _ctx.$t("sys.field"),
|
|
37192
|
+
disabled: __props.readonly,
|
|
37193
|
+
onChange: ($event) => onSourceChange(rule)
|
|
37194
|
+
}, null, 8, ["value", "onUpdate:value", "placeholder", "disabled", "onChange"])
|
|
37195
|
+
]),
|
|
37196
|
+
_: 2
|
|
37197
|
+
}, 1032, ["name", "rules"])
|
|
37198
|
+
]),
|
|
37199
|
+
_: 2
|
|
37200
|
+
}, 1024),
|
|
37201
|
+
createVNode(_component_a_col, {
|
|
37202
|
+
span: 4,
|
|
37203
|
+
class: "fill-arrow"
|
|
37204
|
+
}, {
|
|
37205
|
+
default: withCtx(() => [
|
|
37206
|
+
createTextVNode(toDisplayString$1(_ctx.$t("sys.pageDesigner.valueFillTip")), 1)
|
|
37207
|
+
]),
|
|
37208
|
+
_: 1
|
|
37209
|
+
}),
|
|
37210
|
+
createVNode(_component_a_col, { span: 10 }, {
|
|
37211
|
+
default: withCtx(() => [
|
|
37212
|
+
createVNode(_component_a_form_item, {
|
|
37213
|
+
name: ["rules", index2, "toField"],
|
|
37214
|
+
rules: [{ required: true, message: _ctx.$t("sys.chooseText") }]
|
|
37215
|
+
}, {
|
|
37216
|
+
default: withCtx(() => [
|
|
37217
|
+
createVNode(_component_a_select, {
|
|
37218
|
+
value: rule.toField,
|
|
37219
|
+
"onUpdate:value": ($event) => rule.toField = $event,
|
|
37220
|
+
options: targetOptions(rule.fromField),
|
|
37221
|
+
placeholder: _ctx.$t("sys.chooseText") + _ctx.$t("sys.field"),
|
|
37222
|
+
disabled: __props.readonly || !rule.fromField,
|
|
37223
|
+
"show-search": "",
|
|
37224
|
+
"option-filter-prop": "label",
|
|
37225
|
+
onChange: (value) => onTargetChange(rule, value)
|
|
37226
|
+
}, null, 8, ["value", "onUpdate:value", "options", "placeholder", "disabled", "onChange"])
|
|
37227
|
+
]),
|
|
37228
|
+
_: 2
|
|
37229
|
+
}, 1032, ["name", "rules"])
|
|
37230
|
+
]),
|
|
37231
|
+
_: 2
|
|
37232
|
+
}, 1024),
|
|
37233
|
+
createVNode(_component_a_col, {
|
|
37234
|
+
span: 1,
|
|
37235
|
+
class: "remove-rule"
|
|
37236
|
+
}, {
|
|
37237
|
+
default: withCtx(() => [
|
|
37238
|
+
!__props.readonly && formState.rules.length > 1 ? (openBlock(), createElementBlock("i", {
|
|
37239
|
+
key: 0,
|
|
37240
|
+
class: "iconfont icon-shanchu2 cursor-pointer",
|
|
37241
|
+
onClick: ($event) => removeRule(index2)
|
|
37242
|
+
}, null, 8, _hoisted_2$1F)) : createCommentVNode("", true)
|
|
37243
|
+
]),
|
|
37244
|
+
_: 2
|
|
37245
|
+
}, 1024)
|
|
37246
|
+
]),
|
|
37247
|
+
_: 2
|
|
37248
|
+
}, 1024);
|
|
37249
|
+
}), 128))
|
|
37250
|
+
]),
|
|
37251
|
+
_: 1
|
|
37252
|
+
}, 8, ["model"])
|
|
37253
|
+
], 2);
|
|
37254
|
+
};
|
|
37255
|
+
}
|
|
37256
|
+
});
|
|
37257
|
+
const SignatureAutofillRulesModal = /* @__PURE__ */ _export_sfc(_sfc_main$4d, [["__scopeId", "data-v-f94aee73"]]);
|
|
37037
37258
|
const _hoisted_1$2o = { class: "inpt-box" };
|
|
37038
37259
|
const _sfc_main$4c = /* @__PURE__ */ defineComponent({
|
|
37039
37260
|
__name: "ref-autofill-editor",
|
|
@@ -37041,7 +37262,8 @@ const _sfc_main$4c = /* @__PURE__ */ defineComponent({
|
|
|
37041
37262
|
fieldMeta: {},
|
|
37042
37263
|
autofillRules: {},
|
|
37043
37264
|
enableAutofill: { type: Boolean },
|
|
37044
|
-
disabled: { type: Boolean }
|
|
37265
|
+
disabled: { type: Boolean },
|
|
37266
|
+
mode: {}
|
|
37045
37267
|
},
|
|
37046
37268
|
emits: ["update:autofillRules", "update:enableAutofill"],
|
|
37047
37269
|
setup(__props, { emit: __emit }) {
|
|
@@ -37069,7 +37291,7 @@ const _sfc_main$4c = /* @__PURE__ */ defineComponent({
|
|
|
37069
37291
|
const handleFilterClick = async () => {
|
|
37070
37292
|
if (props2.disabled && !detail.value?.length) return;
|
|
37071
37293
|
const result = await window.NocodeAdapter.utils.overlay.modal(
|
|
37072
|
-
AutofillRulesModal,
|
|
37294
|
+
props2.mode === "signature" ? SignatureAutofillRulesModal : AutofillRulesModal,
|
|
37073
37295
|
{
|
|
37074
37296
|
fieldMeta: props2.fieldMeta,
|
|
37075
37297
|
rules: detail.value,
|
|
@@ -37125,7 +37347,7 @@ const _sfc_main$4c = /* @__PURE__ */ defineComponent({
|
|
|
37125
37347
|
};
|
|
37126
37348
|
}
|
|
37127
37349
|
});
|
|
37128
|
-
const RefAutofillEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4c, [["__scopeId", "data-v-
|
|
37350
|
+
const RefAutofillEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4c, [["__scopeId", "data-v-a9ce19d8"]]);
|
|
37129
37351
|
const _sfc_main$4b = /* @__PURE__ */ defineComponent({
|
|
37130
37352
|
__name: "decimal-slider",
|
|
37131
37353
|
props: {
|
|
@@ -45067,17 +45289,18 @@ const _hoisted_1$2g = { class: "adaptive-warning" };
|
|
|
45067
45289
|
const _hoisted_2$1A = { class: "warning-title" };
|
|
45068
45290
|
const _hoisted_3$1g = { class: "warning-list" };
|
|
45069
45291
|
const _hoisted_4$W = { class: "signature-format-selects" };
|
|
45070
|
-
const _hoisted_5$I =
|
|
45071
|
-
const _hoisted_6$x = {
|
|
45072
|
-
|
|
45073
|
-
const _hoisted_8$i = {
|
|
45074
|
-
key: 5,
|
|
45292
|
+
const _hoisted_5$I = { class: "signature-select-wrapper" };
|
|
45293
|
+
const _hoisted_6$x = {
|
|
45294
|
+
key: 4,
|
|
45075
45295
|
class: "fill-fields-area"
|
|
45076
45296
|
};
|
|
45297
|
+
const _hoisted_7$m = ["src"];
|
|
45298
|
+
const _hoisted_8$i = { class: "fallback-sign-option" };
|
|
45077
45299
|
const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
45078
45300
|
__name: "signature-props",
|
|
45079
45301
|
props: {
|
|
45080
45302
|
widget: {},
|
|
45303
|
+
fieldMeta: {},
|
|
45081
45304
|
disabled: { type: Boolean }
|
|
45082
45305
|
},
|
|
45083
45306
|
setup(__props) {
|
|
@@ -45088,16 +45311,6 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
45088
45311
|
value: SignatureTypeEnum[key]
|
|
45089
45312
|
};
|
|
45090
45313
|
});
|
|
45091
|
-
const signatureTimeOptions = [
|
|
45092
|
-
{
|
|
45093
|
-
label: $t("sys.onlineForm.followSignature"),
|
|
45094
|
-
value: SignatureTimeTypeEnum.FOLLOW_SIGNATURE
|
|
45095
|
-
},
|
|
45096
|
-
{
|
|
45097
|
-
label: $t("sys.onlineForm.populateNewField"),
|
|
45098
|
-
value: SignatureTimeTypeEnum.POPULATE_FIELD
|
|
45099
|
-
}
|
|
45100
|
-
];
|
|
45101
45314
|
const dateFormatOptions = ref([
|
|
45102
45315
|
{
|
|
45103
45316
|
label: "YYYY-MM-DD",
|
|
@@ -45108,7 +45321,17 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
45108
45321
|
value: "YYYY/MM/DD"
|
|
45109
45322
|
}
|
|
45110
45323
|
]);
|
|
45111
|
-
const
|
|
45324
|
+
const signatureTimeOptions = [
|
|
45325
|
+
{
|
|
45326
|
+
label: $t("sys.onlineForm.followSignature"),
|
|
45327
|
+
value: SignatureTimeTypeEnum.FOLLOW_SIGNATURE
|
|
45328
|
+
},
|
|
45329
|
+
{
|
|
45330
|
+
label: $t("sys.onlineForm.populateNewField"),
|
|
45331
|
+
value: SignatureTimeTypeEnum.POPULATE_FIELD
|
|
45332
|
+
}
|
|
45333
|
+
];
|
|
45334
|
+
const populateFieldAttrs = {
|
|
45112
45335
|
[SignatureTypeEnum.SIGNATURE_DATE]: {
|
|
45113
45336
|
customFieldTypes: [FIELD_TYPE.DATE],
|
|
45114
45337
|
customFieldMsg: $t("sys.onlineForm.canOnlyBindDateTypeField")
|
|
@@ -45166,6 +45389,7 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
45166
45389
|
Object.assign(props2.widget, v);
|
|
45167
45390
|
}
|
|
45168
45391
|
});
|
|
45392
|
+
const isNewSignatureConfig = computed(() => formState.value.signatureConfigVersion === 2);
|
|
45169
45393
|
const _signatureNumber = computed({
|
|
45170
45394
|
get() {
|
|
45171
45395
|
return formState.value.signatureNumber || SignatureNumberTypeEnum.SIGNATURE_MULTIPLE;
|
|
@@ -45235,9 +45459,15 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
45235
45459
|
return false;
|
|
45236
45460
|
}
|
|
45237
45461
|
function onPrevCallback() {
|
|
45238
|
-
if (_signatureNumber.value === SignatureNumberTypeEnum.SIGNATURE_SINGLE
|
|
45239
|
-
|
|
45240
|
-
|
|
45462
|
+
if (_signatureNumber.value === SignatureNumberTypeEnum.SIGNATURE_SINGLE) {
|
|
45463
|
+
if (isNewSignatureConfig.value && formState.value.enableAutofill) {
|
|
45464
|
+
message.error($t("sys.onlineForm.signatureAutofillFieldTip"));
|
|
45465
|
+
return true;
|
|
45466
|
+
}
|
|
45467
|
+
if (!isNewSignatureConfig.value && formState.value.signTimeType === SignatureTimeTypeEnum.POPULATE_FIELD) {
|
|
45468
|
+
message.error($t("sys.onlineForm.signatureFieldTip"));
|
|
45469
|
+
return true;
|
|
45470
|
+
}
|
|
45241
45471
|
}
|
|
45242
45472
|
if (signDisplayMode.value === ImageDisplayModeEnum.ADAPTIVE) {
|
|
45243
45473
|
message.error($t("sys.onlineForm.signFieldErrorTip"));
|
|
@@ -45257,7 +45487,7 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
45257
45487
|
formState.value.signDisplayStyle = SignShowTypeEnum.VERTICAL;
|
|
45258
45488
|
formState.value.populateFields = [];
|
|
45259
45489
|
if (type === SignatureTypeEnum.SIGNATURE_DATE) {
|
|
45260
|
-
formState.value.customDateFormat = dateFormatOptions.value[0]
|
|
45490
|
+
formState.value.customDateFormat = dateFormatOptions.value[0]?.value;
|
|
45261
45491
|
} else {
|
|
45262
45492
|
formState.value.customDateFormat = void 0;
|
|
45263
45493
|
}
|
|
@@ -45265,8 +45495,8 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
45265
45495
|
return (_ctx, _cache) => {
|
|
45266
45496
|
const _component_a_tooltip = resolveComponent("a-tooltip");
|
|
45267
45497
|
const _component_a_select = resolveComponent("a-select");
|
|
45268
|
-
const _component_a_popover = resolveComponent("a-popover");
|
|
45269
45498
|
const _component_a_select_option = resolveComponent("a-select-option");
|
|
45499
|
+
const _component_a_popover = resolveComponent("a-popover");
|
|
45270
45500
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
45271
45501
|
createVNode(FormItem, {
|
|
45272
45502
|
label: _ctx.$t("sys.onlineForm.signDisplayMode"),
|
|
@@ -45285,7 +45515,7 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
45285
45515
|
])
|
|
45286
45516
|
]),
|
|
45287
45517
|
default: withCtx(() => [
|
|
45288
|
-
_cache[
|
|
45518
|
+
_cache[12] || (_cache[12] = createElementVNode("i", { class: "iconfont icon-assist ml-2px text-14px! leading-1 cursor-pointer" }, null, -1))
|
|
45289
45519
|
]),
|
|
45290
45520
|
_: 1
|
|
45291
45521
|
})
|
|
@@ -45352,60 +45582,8 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
45352
45582
|
]),
|
|
45353
45583
|
_: 1
|
|
45354
45584
|
}, 8, ["label"]),
|
|
45355
|
-
_signatureImageDirection.value === unref(SignatureImageDirectionEnum).HORIZONTAL ? (openBlock(), createBlock(FormItem, {
|
|
45356
|
-
key: 1,
|
|
45357
|
-
label: _ctx.$t("sys.onlineForm.fallbackSignConfig"),
|
|
45358
|
-
inline: false
|
|
45359
|
-
}, {
|
|
45360
|
-
label: withCtx(() => [
|
|
45361
|
-
createElementVNode("span", null, toDisplayString$1(_ctx.$t("sys.onlineForm.fallbackSignConfig")), 1),
|
|
45362
|
-
createVNode(_component_a_tooltip, { placement: "top" }, {
|
|
45363
|
-
title: withCtx(() => [
|
|
45364
|
-
createTextVNode(toDisplayString$1(_ctx.$t("sys.onlineForm.fallbackSignConfigTip")), 1)
|
|
45365
|
-
]),
|
|
45366
|
-
default: withCtx(() => [
|
|
45367
|
-
_cache[11] || (_cache[11] = createElementVNode("i", { class: "iconfont icon-assist ml-2px text-14px! leading-1 cursor-pointer" }, null, -1))
|
|
45368
|
-
]),
|
|
45369
|
-
_: 1
|
|
45370
|
-
})
|
|
45371
|
-
]),
|
|
45372
|
-
default: withCtx(() => [
|
|
45373
|
-
createVNode(_component_a_select, {
|
|
45374
|
-
value: _fallbackSignType.value,
|
|
45375
|
-
"onUpdate:value": _cache[4] || (_cache[4] = ($event) => _fallbackSignType.value = $event),
|
|
45376
|
-
size: "small",
|
|
45377
|
-
options: fallbackSignOptions,
|
|
45378
|
-
placeholder: _ctx.$t("sys.chooseText"),
|
|
45379
|
-
disabled: __props.disabled
|
|
45380
|
-
}, {
|
|
45381
|
-
option: withCtx(({ value, label }) => [
|
|
45382
|
-
createVNode(_component_a_popover, {
|
|
45383
|
-
trigger: "hover",
|
|
45384
|
-
placement: "right",
|
|
45385
|
-
"mouse-enter-delay": 0.1,
|
|
45386
|
-
"overlay-style": { zIndex: 2e3 },
|
|
45387
|
-
"overlay-class-name": "fallback-sign-preview-popover",
|
|
45388
|
-
"get-popup-container": getPopupContainer
|
|
45389
|
-
}, {
|
|
45390
|
-
content: withCtx(() => [
|
|
45391
|
-
createElementVNode("img", {
|
|
45392
|
-
src: getFallbackPreviewSrc(value),
|
|
45393
|
-
alt: ""
|
|
45394
|
-
}, null, 8, _hoisted_5$I)
|
|
45395
|
-
]),
|
|
45396
|
-
default: withCtx(() => [
|
|
45397
|
-
createElementVNode("div", _hoisted_6$x, toDisplayString$1(label), 1)
|
|
45398
|
-
]),
|
|
45399
|
-
_: 2
|
|
45400
|
-
}, 1024)
|
|
45401
|
-
]),
|
|
45402
|
-
_: 1
|
|
45403
|
-
}, 8, ["value", "placeholder", "disabled"])
|
|
45404
|
-
]),
|
|
45405
|
-
_: 1
|
|
45406
|
-
}, 8, ["label"])) : createCommentVNode("", true),
|
|
45407
45585
|
formState.value.signatureType === unref(SignatureTypeEnum).SIGNATURE_DATE ? (openBlock(), createBlock(FormItem, {
|
|
45408
|
-
key:
|
|
45586
|
+
key: 1,
|
|
45409
45587
|
label: `${_ctx.$t("sys.component.fieldTypeProps.dateFormat")}`,
|
|
45410
45588
|
inline: false
|
|
45411
45589
|
}, {
|
|
@@ -45413,7 +45591,7 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
45413
45591
|
createVNode(_component_a_select, {
|
|
45414
45592
|
size: "small",
|
|
45415
45593
|
value: formState.value.customDateFormat,
|
|
45416
|
-
"onUpdate:value": _cache[
|
|
45594
|
+
"onUpdate:value": _cache[4] || (_cache[4] = ($event) => formState.value.customDateFormat = $event),
|
|
45417
45595
|
options: dateFormatOptions.value,
|
|
45418
45596
|
placeholder: _ctx.$t("sys.chooseText"),
|
|
45419
45597
|
disabled: __props.disabled
|
|
@@ -45421,18 +45599,18 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
45421
45599
|
]),
|
|
45422
45600
|
_: 1
|
|
45423
45601
|
}, 8, ["label"])) : createCommentVNode("", true),
|
|
45424
|
-
[unref(SignatureTypeEnum).SIGNATURE_DATE, unref(SignatureTypeEnum).SIGNATURE_DATETIME].includes(
|
|
45602
|
+
!isNewSignatureConfig.value && [unref(SignatureTypeEnum).SIGNATURE_DATE, unref(SignatureTypeEnum).SIGNATURE_DATETIME].includes(
|
|
45425
45603
|
formState.value.signatureType
|
|
45426
45604
|
) ? (openBlock(), createBlock(FormItem, {
|
|
45427
|
-
key:
|
|
45605
|
+
key: 2,
|
|
45428
45606
|
label: _ctx.$t("sys.onlineForm.signatureDateConfiguration"),
|
|
45429
45607
|
inline: false
|
|
45430
45608
|
}, {
|
|
45431
45609
|
default: withCtx(() => [
|
|
45432
45610
|
createVNode(_component_a_select, {
|
|
45433
|
-
size: "small",
|
|
45434
45611
|
value: formState.value.signTimeType,
|
|
45435
|
-
"onUpdate:value": _cache[
|
|
45612
|
+
"onUpdate:value": _cache[5] || (_cache[5] = ($event) => formState.value.signTimeType = $event),
|
|
45613
|
+
size: "small",
|
|
45436
45614
|
placeholder: _ctx.$t("sys.chooseText"),
|
|
45437
45615
|
disabled: __props.disabled
|
|
45438
45616
|
}, {
|
|
@@ -45459,15 +45637,15 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
45459
45637
|
[unref(SignatureTypeEnum).SIGNATURE_DATE, unref(SignatureTypeEnum).SIGNATURE_DATETIME].includes(
|
|
45460
45638
|
formState.value.signatureType
|
|
45461
45639
|
) && formState.value.signTimeType === unref(SignatureTimeTypeEnum).FOLLOW_SIGNATURE ? (openBlock(), createBlock(FormItem, {
|
|
45462
|
-
key:
|
|
45640
|
+
key: 3,
|
|
45463
45641
|
label: _ctx.$t("sys.pageDesigner.displayStyle"),
|
|
45464
45642
|
inline: false
|
|
45465
45643
|
}, {
|
|
45466
45644
|
default: withCtx(() => [
|
|
45467
45645
|
createElementVNode("div", null, [
|
|
45468
|
-
createElementVNode("div",
|
|
45646
|
+
createElementVNode("div", _hoisted_5$I, [
|
|
45469
45647
|
createElementVNode("div", {
|
|
45470
|
-
onClick: _cache[
|
|
45648
|
+
onClick: _cache[6] || (_cache[6] = ($event) => setSignDisplayStyle(unref(SignShowTypeEnum).VERTICAL)),
|
|
45471
45649
|
class: "cursor-pointer"
|
|
45472
45650
|
}, [
|
|
45473
45651
|
createElementVNode("div", {
|
|
@@ -45478,7 +45656,7 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
45478
45656
|
}, null, 2)
|
|
45479
45657
|
]),
|
|
45480
45658
|
createElementVNode("div", {
|
|
45481
|
-
onClick: _cache[
|
|
45659
|
+
onClick: _cache[7] || (_cache[7] = ($event) => setSignDisplayStyle(unref(SignShowTypeEnum).HORIZONTAL)),
|
|
45482
45660
|
class: "cursor-pointer"
|
|
45483
45661
|
}, [
|
|
45484
45662
|
createElementVNode("div", {
|
|
@@ -45493,21 +45671,83 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
45493
45671
|
]),
|
|
45494
45672
|
_: 1
|
|
45495
45673
|
}, 8, ["label"])) : createCommentVNode("", true),
|
|
45496
|
-
[unref(SignatureTypeEnum).SIGNATURE_DATE, unref(SignatureTypeEnum).SIGNATURE_DATETIME].includes(
|
|
45674
|
+
!isNewSignatureConfig.value && [unref(SignatureTypeEnum).SIGNATURE_DATE, unref(SignatureTypeEnum).SIGNATURE_DATETIME].includes(
|
|
45497
45675
|
formState.value.signatureType
|
|
45498
|
-
) && formState.value.signTimeType === unref(SignatureTimeTypeEnum).POPULATE_FIELD ? (openBlock(), createElementBlock("div",
|
|
45676
|
+
) && formState.value.signTimeType === unref(SignatureTimeTypeEnum).POPULATE_FIELD ? (openBlock(), createElementBlock("div", _hoisted_6$x, [
|
|
45499
45677
|
createVNode(AttachFieldEditor, mergeProps({
|
|
45500
45678
|
items: formState.value.populateFields,
|
|
45501
|
-
"onUpdate:items": _cache[
|
|
45679
|
+
"onUpdate:items": _cache[8] || (_cache[8] = ($event) => formState.value.populateFields = $event),
|
|
45502
45680
|
disabled: __props.disabled,
|
|
45503
45681
|
isFieldConfigurable: false
|
|
45504
|
-
},
|
|
45505
|
-
])) : createCommentVNode("", true)
|
|
45682
|
+
}, populateFieldAttrs[formState.value.signatureType]), null, 16, ["items", "disabled"])
|
|
45683
|
+
])) : createCommentVNode("", true),
|
|
45684
|
+
_signatureImageDirection.value === unref(SignatureImageDirectionEnum).HORIZONTAL ? (openBlock(), createBlock(FormItem, {
|
|
45685
|
+
key: 5,
|
|
45686
|
+
label: _ctx.$t("sys.onlineForm.fallbackSignConfig"),
|
|
45687
|
+
inline: false
|
|
45688
|
+
}, {
|
|
45689
|
+
label: withCtx(() => [
|
|
45690
|
+
createElementVNode("span", null, toDisplayString$1(_ctx.$t("sys.onlineForm.fallbackSignConfig")), 1),
|
|
45691
|
+
createVNode(_component_a_tooltip, { placement: "top" }, {
|
|
45692
|
+
title: withCtx(() => [
|
|
45693
|
+
createTextVNode(toDisplayString$1(_ctx.$t("sys.onlineForm.fallbackSignConfigTip")), 1)
|
|
45694
|
+
]),
|
|
45695
|
+
default: withCtx(() => [
|
|
45696
|
+
_cache[13] || (_cache[13] = createElementVNode("i", { class: "iconfont icon-assist ml-2px text-14px! leading-1 cursor-pointer" }, null, -1))
|
|
45697
|
+
]),
|
|
45698
|
+
_: 1
|
|
45699
|
+
})
|
|
45700
|
+
]),
|
|
45701
|
+
default: withCtx(() => [
|
|
45702
|
+
createVNode(_component_a_select, {
|
|
45703
|
+
value: _fallbackSignType.value,
|
|
45704
|
+
"onUpdate:value": _cache[9] || (_cache[9] = ($event) => _fallbackSignType.value = $event),
|
|
45705
|
+
size: "small",
|
|
45706
|
+
options: fallbackSignOptions,
|
|
45707
|
+
placeholder: _ctx.$t("sys.chooseText"),
|
|
45708
|
+
disabled: __props.disabled
|
|
45709
|
+
}, {
|
|
45710
|
+
option: withCtx(({ value, label }) => [
|
|
45711
|
+
createVNode(_component_a_popover, {
|
|
45712
|
+
trigger: "hover",
|
|
45713
|
+
placement: "right",
|
|
45714
|
+
"mouse-enter-delay": 0.1,
|
|
45715
|
+
"overlay-style": { zIndex: 2e3 },
|
|
45716
|
+
"overlay-class-name": "fallback-sign-preview-popover",
|
|
45717
|
+
"get-popup-container": getPopupContainer
|
|
45718
|
+
}, {
|
|
45719
|
+
content: withCtx(() => [
|
|
45720
|
+
createElementVNode("img", {
|
|
45721
|
+
src: getFallbackPreviewSrc(value),
|
|
45722
|
+
alt: ""
|
|
45723
|
+
}, null, 8, _hoisted_7$m)
|
|
45724
|
+
]),
|
|
45725
|
+
default: withCtx(() => [
|
|
45726
|
+
createElementVNode("div", _hoisted_8$i, toDisplayString$1(label), 1)
|
|
45727
|
+
]),
|
|
45728
|
+
_: 2
|
|
45729
|
+
}, 1024)
|
|
45730
|
+
]),
|
|
45731
|
+
_: 1
|
|
45732
|
+
}, 8, ["value", "placeholder", "disabled"])
|
|
45733
|
+
]),
|
|
45734
|
+
_: 1
|
|
45735
|
+
}, 8, ["label"])) : createCommentVNode("", true),
|
|
45736
|
+
isNewSignatureConfig.value && _signatureNumber.value === unref(SignatureNumberTypeEnum).SIGNATURE_SINGLE ? (openBlock(), createBlock(RefAutofillEditor, {
|
|
45737
|
+
key: 6,
|
|
45738
|
+
mode: "signature",
|
|
45739
|
+
"field-meta": __props.fieldMeta,
|
|
45740
|
+
disabled: __props.disabled,
|
|
45741
|
+
"autofill-rules": formState.value.autofillRules,
|
|
45742
|
+
"onUpdate:autofillRules": _cache[10] || (_cache[10] = ($event) => formState.value.autofillRules = $event),
|
|
45743
|
+
"enable-autofill": formState.value.enableAutofill,
|
|
45744
|
+
"onUpdate:enableAutofill": _cache[11] || (_cache[11] = ($event) => formState.value.enableAutofill = $event)
|
|
45745
|
+
}, null, 8, ["field-meta", "disabled", "autofill-rules", "enable-autofill"])) : createCommentVNode("", true)
|
|
45506
45746
|
], 64);
|
|
45507
45747
|
};
|
|
45508
45748
|
}
|
|
45509
45749
|
});
|
|
45510
|
-
const __vite_glob_0_12$1 = /* @__PURE__ */ _export_sfc(_sfc_main$41, [["__scopeId", "data-v-
|
|
45750
|
+
const __vite_glob_0_12$1 = /* @__PURE__ */ _export_sfc(_sfc_main$41, [["__scopeId", "data-v-b299265e"]]);
|
|
45511
45751
|
const _hoisted_1$2f = { class: "number-range" };
|
|
45512
45752
|
const _hoisted_2$1z = { class: "middle" };
|
|
45513
45753
|
const _hoisted_3$1f = { class: "length-sep" };
|
|
@@ -47436,7 +47676,7 @@ const _sfc_main$3R = /* @__PURE__ */ defineComponent({
|
|
|
47436
47676
|
"field-type": fixedFieldType.value,
|
|
47437
47677
|
disabled: __props.disabled
|
|
47438
47678
|
}, null, 8, ["widget", "field-type", "disabled"])) : createCommentVNode("", true),
|
|
47439
|
-
isTraceDate.value && !__props.readonly ? (openBlock(), createBlock(_sfc_main$
|
|
47679
|
+
isTraceDate.value && !__props.readonly ? (openBlock(), createBlock(_sfc_main$4F, {
|
|
47440
47680
|
key: 7,
|
|
47441
47681
|
widget: props2.widget,
|
|
47442
47682
|
"field-type": __props.fieldType,
|
|
@@ -48402,15 +48642,15 @@ const widgetPropsMap = toComponentMap(
|
|
|
48402
48642
|
/* @__PURE__ */ Object.assign({
|
|
48403
48643
|
"./agg/agg-props.vue": __vite_glob_0_0$3,
|
|
48404
48644
|
"./boolean/boolean-props.vue": __vite_glob_0_1$3,
|
|
48405
|
-
"./date-time/date-time-props.vue": _sfc_main$
|
|
48645
|
+
"./date-time/date-time-props.vue": _sfc_main$4E,
|
|
48406
48646
|
"./decimal/decimal-props.vue": __vite_glob_0_3$2,
|
|
48407
|
-
"./double/double-props.vue": _sfc_main$
|
|
48647
|
+
"./double/double-props.vue": _sfc_main$4y,
|
|
48408
48648
|
"./enum/enum-props.vue": __vite_glob_0_5$2,
|
|
48409
48649
|
"./expression/expression-props.vue": __vite_glob_0_6$2,
|
|
48410
48650
|
"./file/file-props.vue": __vite_glob_0_7$2,
|
|
48411
|
-
"./image/image-props.vue": _sfc_main$
|
|
48412
|
-
"./integer/integer-props.vue": _sfc_main$
|
|
48413
|
-
"./org/org-props.vue": _sfc_main$
|
|
48651
|
+
"./image/image-props.vue": _sfc_main$4n,
|
|
48652
|
+
"./integer/integer-props.vue": _sfc_main$4l,
|
|
48653
|
+
"./org/org-props.vue": _sfc_main$4k,
|
|
48414
48654
|
"./ref/ref-props.vue": _sfc_main$48,
|
|
48415
48655
|
"./signature/signature-props.vue": __vite_glob_0_12$1,
|
|
48416
48656
|
"./text/text-props.vue": _sfc_main$3W,
|
|
@@ -49355,6 +49595,33 @@ const _sfc_main$3n = /* @__PURE__ */ defineComponent({
|
|
|
49355
49595
|
identifiers: {
|
|
49356
49596
|
[ExpressionTabEnum.FIELD]: await _getIdentifiers()
|
|
49357
49597
|
},
|
|
49598
|
+
functions: [
|
|
49599
|
+
{
|
|
49600
|
+
group: { id: "ONLINE_FORM_FUNC", name: "业务函数" },
|
|
49601
|
+
functions: [
|
|
49602
|
+
{
|
|
49603
|
+
id: "RoutingParamCheck",
|
|
49604
|
+
returnType: "boolean",
|
|
49605
|
+
args: ["key", "value"],
|
|
49606
|
+
desc: `工艺参数合格校验(参数字段KEY,参数字段)
|
|
49607
|
+
根据表单填报的参数实际值,与该参数配置的上限和下限进行比较,判断参数是否合格。
|
|
49608
|
+
示例
|
|
49609
|
+
工艺参数合格校验('gycs',工艺参数)=true`,
|
|
49610
|
+
definition: "declare function RoutingParamCheck(key:string; value: number): Promise<boolean | null>;"
|
|
49611
|
+
},
|
|
49612
|
+
{
|
|
49613
|
+
id: "InspectionParamCheck",
|
|
49614
|
+
returnType: "boolean",
|
|
49615
|
+
args: ["key", "value"],
|
|
49616
|
+
desc: `检验参数合格校验(参数字段KEY,参数字段)
|
|
49617
|
+
根据表单填报的参数实际值,与该参数配置的上限和下限进行比较,判断参数是否合格。
|
|
49618
|
+
示例
|
|
49619
|
+
检验参数合格校验('mjwd',灭菌温度)=true`,
|
|
49620
|
+
definition: "declare function InspectionParamCheck(key:string; value: number): Promise<boolean | null>;"
|
|
49621
|
+
}
|
|
49622
|
+
]
|
|
49623
|
+
}
|
|
49624
|
+
],
|
|
49358
49625
|
readonly: !!__props.readonly
|
|
49359
49626
|
}).then((res) => {
|
|
49360
49627
|
if (!res || __props.readonly) return;
|
|
@@ -49550,7 +49817,7 @@ const _sfc_main$3n = /* @__PURE__ */ defineComponent({
|
|
|
49550
49817
|
};
|
|
49551
49818
|
}
|
|
49552
49819
|
});
|
|
49553
|
-
const addDependencyModal = /* @__PURE__ */ _export_sfc(_sfc_main$3n, [["__scopeId", "data-v-
|
|
49820
|
+
const addDependencyModal = /* @__PURE__ */ _export_sfc(_sfc_main$3n, [["__scopeId", "data-v-d2dc9deb"]]);
|
|
49554
49821
|
const _hoisted_1$22 = { class: "text-[#C3C3C3] text-12px mb8px" };
|
|
49555
49822
|
const _hoisted_2$1s = { class: "ks-row" };
|
|
49556
49823
|
const _hoisted_3$19 = { class: "mr-auto" };
|
|
@@ -50662,7 +50929,7 @@ const _sfc_main$3e = /* @__PURE__ */ defineComponent({
|
|
|
50662
50929
|
header: _ctx.$t("sys.onlineForm.componentProperties")
|
|
50663
50930
|
}, {
|
|
50664
50931
|
default: withCtx(() => [
|
|
50665
|
-
createVNode(_sfc_main$
|
|
50932
|
+
createVNode(_sfc_main$4N, {
|
|
50666
50933
|
"paper-widget": unref(currentCell2)?.data.paperWidget,
|
|
50667
50934
|
"is-in-cell": true,
|
|
50668
50935
|
disabled: unref(sheetReadonly2)
|
|
@@ -59602,7 +59869,7 @@ const _sfc_main$2n = /* @__PURE__ */ defineComponent({
|
|
|
59602
59869
|
onSelect: onClearAll
|
|
59603
59870
|
}, null, 8, ["value"]),
|
|
59604
59871
|
_cache[9] || (_cache[9] = createElementVNode("div", { class: "split" }, null, -1)),
|
|
59605
|
-
joinModelType.value === unref(JoinModelTypeEum).FormModel ? (openBlock(), createBlock(unref(_sfc_main$
|
|
59872
|
+
joinModelType.value === unref(JoinModelTypeEum).FormModel ? (openBlock(), createBlock(unref(_sfc_main$69), {
|
|
59606
59873
|
key: 0,
|
|
59607
59874
|
class: "custom-select",
|
|
59608
59875
|
placeholder: _ctx.$t("sys.cardDesign.form.modelRequired"),
|
|
@@ -63244,7 +63511,10 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
63244
63511
|
{
|
|
63245
63512
|
onClick: async (e) => {
|
|
63246
63513
|
e.preventDefault();
|
|
63247
|
-
window.NocodeAdapter.hooks?.
|
|
63514
|
+
await window.NocodeAdapter.hooks?.openFieldHyperlink?.({
|
|
63515
|
+
materialNo: String(value.value),
|
|
63516
|
+
fieldType
|
|
63517
|
+
});
|
|
63248
63518
|
}
|
|
63249
63519
|
},
|
|
63250
63520
|
lotLabel
|
|
@@ -63305,7 +63575,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
63305
63575
|
};
|
|
63306
63576
|
}
|
|
63307
63577
|
});
|
|
63308
|
-
const autoCompleteRender = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["__scopeId", "data-v-
|
|
63578
|
+
const autoCompleteRender = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["__scopeId", "data-v-947fbaac"]]);
|
|
63309
63579
|
const __vite_glob_0_0$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
63310
63580
|
__proto__: null,
|
|
63311
63581
|
default: autoCompleteRender
|
|
@@ -70384,7 +70654,10 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
70384
70654
|
{
|
|
70385
70655
|
onClick: async (e) => {
|
|
70386
70656
|
e.preventDefault();
|
|
70387
|
-
window.NocodeAdapter.hooks?.
|
|
70657
|
+
await window.NocodeAdapter.hooks?.openFieldHyperlink?.({
|
|
70658
|
+
materialNo: childName,
|
|
70659
|
+
fieldType: FIELD_TYPE.PRODUCTION_CONTAINER
|
|
70660
|
+
});
|
|
70388
70661
|
}
|
|
70389
70662
|
},
|
|
70390
70663
|
label
|
|
@@ -70515,7 +70788,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
70515
70788
|
};
|
|
70516
70789
|
}
|
|
70517
70790
|
});
|
|
70518
|
-
const selectRender = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["__scopeId", "data-v-
|
|
70791
|
+
const selectRender = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["__scopeId", "data-v-d18cbeb3"]]);
|
|
70519
70792
|
const __vite_glob_0_9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
70520
70793
|
__proto__: null,
|
|
70521
70794
|
default: selectRender
|
|
@@ -70581,6 +70854,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
70581
70854
|
const { onChange, realFieldId, annotationInfo } = useNocodeFormWidget(props2, emit2);
|
|
70582
70855
|
const {
|
|
70583
70856
|
signatureType,
|
|
70857
|
+
signatureConfigVersion,
|
|
70584
70858
|
signDisplayStyle,
|
|
70585
70859
|
signTimeType,
|
|
70586
70860
|
signatureNumber = SignatureNumberTypeEnum.SIGNATURE_MULTIPLE,
|
|
@@ -70588,6 +70862,8 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
70588
70862
|
fallbackSignType = FallbackSignTypeEnum.NAME_AND_DATE,
|
|
70589
70863
|
signatureImageDirection = SignatureImageDirectionEnum.HORIZONTAL,
|
|
70590
70864
|
populateFields,
|
|
70865
|
+
autofillRules,
|
|
70866
|
+
enableAutofill,
|
|
70591
70867
|
customDateFormat,
|
|
70592
70868
|
field
|
|
70593
70869
|
} = reactive(props2.widget.props);
|
|
@@ -70645,9 +70921,38 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
70645
70921
|
if (!uniqueId || !validationPaths.length) return;
|
|
70646
70922
|
const validationResult = await validateFields(uniqueId, validationPaths);
|
|
70647
70923
|
if (validationResult && !validationResult.isValid) {
|
|
70648
|
-
const
|
|
70649
|
-
|
|
70650
|
-
|
|
70924
|
+
const controlField = fixedTableConfig.value?.dataLockControlField;
|
|
70925
|
+
const controlFieldName = $t(
|
|
70926
|
+
controlField === "reviewer_" ? "sys.fixedTableReviewer" : "sys.fixedTableInspector"
|
|
70927
|
+
);
|
|
70928
|
+
const title = $t("sys.fixedTableSignatureValidationTitle");
|
|
70929
|
+
const description = $t("sys.fixedTableSignatureValidationFailed", {
|
|
70930
|
+
field: controlFieldName
|
|
70931
|
+
});
|
|
70932
|
+
const toastKey = "fixed-table-signature-validation";
|
|
70933
|
+
message.open({
|
|
70934
|
+
key: toastKey,
|
|
70935
|
+
content: () => h("div", { class: "fixed-table-signature-validation-toast" }, [
|
|
70936
|
+
h(ExclamationCircleFilled, { class: "toast-icon" }),
|
|
70937
|
+
h("div", { class: "toast-body" }, [
|
|
70938
|
+
h("div", { class: "toast-title" }, title),
|
|
70939
|
+
h("div", { class: "toast-description" }, description)
|
|
70940
|
+
]),
|
|
70941
|
+
h(
|
|
70942
|
+
"button",
|
|
70943
|
+
{
|
|
70944
|
+
type: "button",
|
|
70945
|
+
class: "toast-close",
|
|
70946
|
+
"aria-label": $t("sys.fixedTableSignatureValidationClose"),
|
|
70947
|
+
onClick: () => message.destroy(toastKey)
|
|
70948
|
+
},
|
|
70949
|
+
[h(CloseOutlined)]
|
|
70950
|
+
)
|
|
70951
|
+
]),
|
|
70952
|
+
class: "fixed-table-signature-validation-message",
|
|
70953
|
+
duration: 3
|
|
70954
|
+
});
|
|
70955
|
+
throw new Error(title);
|
|
70651
70956
|
}
|
|
70652
70957
|
};
|
|
70653
70958
|
const handleVisibleChange = async (nextVisible) => {
|
|
@@ -70690,6 +70995,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
70690
70995
|
};
|
|
70691
70996
|
signatures.value = [...signatures.value, newSignature];
|
|
70692
70997
|
updateDateFields(newSignature);
|
|
70998
|
+
applySignatureAutofill(newSignature);
|
|
70693
70999
|
onChange();
|
|
70694
71000
|
};
|
|
70695
71001
|
const formattedDate = (time2) => {
|
|
@@ -70714,10 +71020,28 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
70714
71020
|
const updateDateFields = (signature2) => {
|
|
70715
71021
|
if (!shouldShowDate.value || signatureNumber === SignatureNumberTypeEnum.SIGNATURE_MULTIPLE || signTimeType !== SignatureTimeTypeEnum.POPULATE_FIELD)
|
|
70716
71022
|
return;
|
|
70717
|
-
const
|
|
70718
|
-
|
|
71023
|
+
const value = dayjs(signature2.time).format(
|
|
71024
|
+
signatureType === SignatureTypeEnum.SIGNATURE_DATE ? "YYYY-MM-DD" : "YYYY-MM-DD HH:mm:ss"
|
|
71025
|
+
);
|
|
70719
71026
|
populateFields?.forEach(({ field: field2 }) => {
|
|
70720
|
-
props2.formData[field2] =
|
|
71027
|
+
props2.formData[field2] = value;
|
|
71028
|
+
});
|
|
71029
|
+
};
|
|
71030
|
+
const applySignatureAutofill = (signature2) => {
|
|
71031
|
+
if (signatureConfigVersion !== 2 || signatureNumber !== SignatureNumberTypeEnum.SIGNATURE_SINGLE || enableAutofill !== true) {
|
|
71032
|
+
return;
|
|
71033
|
+
}
|
|
71034
|
+
autofillRules?.forEach(({ fromField, toField, toFieldType }) => {
|
|
71035
|
+
if (!toField) return;
|
|
71036
|
+
let value;
|
|
71037
|
+
if (fromField === "username") {
|
|
71038
|
+
value = signature2.userId;
|
|
71039
|
+
} else if (fromField === "time") {
|
|
71040
|
+
const format2 = toFieldType === FIELD_TYPE.DATE ? "YYYY-MM-DD" : toFieldType === FIELD_TYPE.TIME ? "HH:mm:ss" : "YYYY-MM-DD HH:mm:ss";
|
|
71041
|
+
value = dayjs(signature2.time).format(format2);
|
|
71042
|
+
}
|
|
71043
|
+
if (value === void 0) return;
|
|
71044
|
+
props2.formData[toField] = value;
|
|
70721
71045
|
});
|
|
70722
71046
|
};
|
|
70723
71047
|
const signaturePreviewClasses = (signature2) => [
|
|
@@ -77552,6 +77876,10 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
77552
77876
|
return acc;
|
|
77553
77877
|
}, {});
|
|
77554
77878
|
const { cmpKey } = useOnlineFormTransformField2Component(config2.fieldType) || {};
|
|
77879
|
+
if (!cmpKey) {
|
|
77880
|
+
widgetSchema.value = void 0;
|
|
77881
|
+
return;
|
|
77882
|
+
}
|
|
77555
77883
|
widgetSchema.value = {
|
|
77556
77884
|
id: `${cmpKey}_${Date.now()}_${Math.random().toString(36).substr(2)}`,
|
|
77557
77885
|
component: cmpKey,
|
|
@@ -77590,13 +77918,14 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
77590
77918
|
default: withCtx(() => [
|
|
77591
77919
|
createVNode(_sfc_main$13, {
|
|
77592
77920
|
widget: widgetSchema.value,
|
|
77921
|
+
"component-override": widgetSchema.value.component,
|
|
77593
77922
|
formData: __props.formData,
|
|
77594
77923
|
subtableFieldId: __props.subtableFieldId,
|
|
77595
77924
|
realRowIndex: __props.realRowIndex,
|
|
77596
77925
|
realColIndex: __props.realColIndex,
|
|
77597
77926
|
pageRowIndex: __props.pageRowIndex,
|
|
77598
77927
|
childSubTableDataIndex: __props.childSubTableDataIndex
|
|
77599
|
-
}, null, 8, ["widget", "formData", "subtableFieldId", "realRowIndex", "realColIndex", "pageRowIndex", "childSubTableDataIndex"])
|
|
77928
|
+
}, null, 8, ["widget", "component-override", "formData", "subtableFieldId", "realRowIndex", "realColIndex", "pageRowIndex", "childSubTableDataIndex"])
|
|
77600
77929
|
]),
|
|
77601
77930
|
_: 1
|
|
77602
77931
|
}, 8, ["widget"])) : createCommentVNode("", true);
|
|
@@ -78385,7 +78714,8 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
78385
78714
|
childSubTableDataIndex: {},
|
|
78386
78715
|
rowKey: {},
|
|
78387
78716
|
referenceInfo: {},
|
|
78388
|
-
dynamicConfig: {}
|
|
78717
|
+
dynamicConfig: {},
|
|
78718
|
+
componentOverride: {}
|
|
78389
78719
|
},
|
|
78390
78720
|
setup(__props) {
|
|
78391
78721
|
const tmplConfigC = useFormTmplConfig().injectController();
|
|
@@ -78405,6 +78735,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
78405
78735
|
}
|
|
78406
78736
|
const componentType = computed(() => {
|
|
78407
78737
|
if (props2.dynamicConfig?.isDynRo) return ComponentTypeEnum.DynRo;
|
|
78738
|
+
if (props2.componentOverride) return props2.componentOverride;
|
|
78408
78739
|
const widget2 = dateObjectWidget.value ?? props2.widget;
|
|
78409
78740
|
return resolveFieldRenderComponent(widget2?.props) ?? widget2?.component;
|
|
78410
78741
|
});
|
|
@@ -78551,9 +78882,12 @@ function useRenderFieldEditor() {
|
|
|
78551
78882
|
precision: field.precision,
|
|
78552
78883
|
// 签名相关
|
|
78553
78884
|
signatureType: field.signatureType,
|
|
78885
|
+
signatureConfigVersion: field.signatureConfigVersion,
|
|
78554
78886
|
signatureNumber: field.signatureNumber,
|
|
78555
78887
|
signTimeType: field.signTimeType,
|
|
78556
78888
|
populateFields: field.populateFields,
|
|
78889
|
+
autofillRules: field.autofillRules,
|
|
78890
|
+
enableAutofill: field.enableAutofill,
|
|
78557
78891
|
fallbackSignType: field.fallbackSignType,
|
|
78558
78892
|
signatureImageDirection: field.signatureImageDirection,
|
|
78559
78893
|
// 数据过滤
|
|
@@ -84715,7 +85049,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
84715
85049
|
help: getSubstituteProductError(record) || void 0
|
|
84716
85050
|
}, {
|
|
84717
85051
|
default: withCtx(() => [
|
|
84718
|
-
createVNode(_sfc_main$
|
|
85052
|
+
createVNode(_sfc_main$6a, {
|
|
84719
85053
|
"model-value": record.product_id_ || void 0,
|
|
84720
85054
|
"model-key": "em_product",
|
|
84721
85055
|
placeholder: _ctx.$t("sys.chooseText"),
|
|
@@ -85090,7 +85424,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
85090
85424
|
help: getMainProductError() || void 0
|
|
85091
85425
|
}, {
|
|
85092
85426
|
default: withCtx(() => [
|
|
85093
|
-
createVNode(_sfc_main$
|
|
85427
|
+
createVNode(_sfc_main$6a, {
|
|
85094
85428
|
"model-value": unref(formState).product_id_ || void 0,
|
|
85095
85429
|
"model-key": "em_product",
|
|
85096
85430
|
placeholder: _ctx.$t("sys.chooseText"),
|
|
@@ -85340,7 +85674,9 @@ const sys$1 = {
|
|
|
85340
85674
|
fixedTableDataLockControlFieldTip: "Select the signature field (inspector/reviewer) that triggers data locking",
|
|
85341
85675
|
fixedTableInspector: "Inspector",
|
|
85342
85676
|
fixedTableReviewer: "Reviewer",
|
|
85343
|
-
|
|
85677
|
+
fixedTableSignatureValidationTitle: "Complete validation before signing",
|
|
85678
|
+
fixedTableSignatureValidationClose: "Close message",
|
|
85679
|
+
fixedTableSignatureValidationFailed: "The current column uses {field} as its data lock control field. Signing submits and locks the column data. Complete the outstanding items and pass validation before signing.",
|
|
85344
85680
|
warehouseInOutTableConfig: "Inbound/Outbound Detail Table Config",
|
|
85345
85681
|
warehouseInTableConfig: "Inbound Detail Table Config",
|
|
85346
85682
|
warehouseOutTableConfig: "Outbound Detail Table Config",
|
|
@@ -85609,7 +85945,9 @@ const sys = {
|
|
|
85609
85945
|
fixedTableDataLockControlFieldTip: "选择由签名字段(点检人/复核人)触发填报锁定",
|
|
85610
85946
|
fixedTableInspector: "点检人",
|
|
85611
85947
|
fixedTableReviewer: "复核人",
|
|
85612
|
-
|
|
85948
|
+
fixedTableSignatureValidationTitle: "签名前需先完成卡控校验",
|
|
85949
|
+
fixedTableSignatureValidationClose: "关闭提示",
|
|
85950
|
+
fixedTableSignatureValidationFailed: "当前列配置了【{field}】作为数据锁定控制字段,签名即代表提交并锁定该列数据。请先完成异常项,校验通过后才能签名。",
|
|
85613
85951
|
quickFilling: "快速填报",
|
|
85614
85952
|
quickFillingFixedNoFieldsTip: "已启用数据分组,但未配置分组字段,无法执行快速填报粘贴",
|
|
85615
85953
|
afterEnablingCanQuicklyAddDynamicTableDataInPopup: "开启后可在弹窗中快速新增动态表数据",
|
|
@@ -85839,7 +86177,9 @@ const sys = {
|
|
|
85839
86177
|
imageSizeError: "图片大小不能超过4M",
|
|
85840
86178
|
imageUploadError: "图片上传失败,请重试",
|
|
85841
86179
|
cellContent: "单元格内容"
|
|
85842
|
-
}
|
|
86180
|
+
},
|
|
86181
|
+
signaturePerson: "签名人",
|
|
86182
|
+
signatureTimestamp: "签名时间"
|
|
85843
86183
|
},
|
|
85844
86184
|
webRender: {
|
|
85845
86185
|
DiffedAttrMaps: {
|
|
@@ -85945,6 +86285,7 @@ async function setupExcel(options = {}) {
|
|
|
85945
86285
|
...NocodeAdapter.utils,
|
|
85946
86286
|
...utils2
|
|
85947
86287
|
};
|
|
86288
|
+
registerFormulaFuncs();
|
|
85948
86289
|
const Helper = NocodeAdapter.utils.CodeHelper;
|
|
85949
86290
|
if (Helper) {
|
|
85950
86291
|
Helper.babel = await Helper.loadBabel();
|
|
@@ -86251,7 +86592,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
86251
86592
|
});
|
|
86252
86593
|
initWebPaasUploadApis();
|
|
86253
86594
|
return (_ctx, _cache) => {
|
|
86254
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
86595
|
+
return openBlock(), createBlock(unref(_sfc_main$6b), {
|
|
86255
86596
|
loading: __props.loading,
|
|
86256
86597
|
"has-data": __props.hasData
|
|
86257
86598
|
}, {
|
|
@@ -87861,7 +88202,7 @@ export {
|
|
|
87861
88202
|
FIELD_TYPE_LABEL_MAP as X,
|
|
87862
88203
|
FieldSceneType as Y,
|
|
87863
88204
|
FieldTypeToCellWidgetMap as Z,
|
|
87864
|
-
_sfc_main$
|
|
88205
|
+
_sfc_main$5F as _,
|
|
87865
88206
|
getSterilizationLotDisplayFields as a,
|
|
87866
88207
|
FontFamilyOptions as a0,
|
|
87867
88208
|
InputParamModal as a1,
|
|
@@ -87900,7 +88241,7 @@ export {
|
|
|
87900
88241
|
ImgParser as m,
|
|
87901
88242
|
LineStyleOptions as n,
|
|
87902
88243
|
PaginationFormatOptions as o,
|
|
87903
|
-
_sfc_main$
|
|
88244
|
+
_sfc_main$57 as p,
|
|
87904
88245
|
useReverseModeling as q,
|
|
87905
88246
|
resolveQuickSearchConfig as r,
|
|
87906
88247
|
showDisplayAndSearchConfig as s,
|
|
@@ -87908,7 +88249,7 @@ export {
|
|
|
87908
88249
|
useSpreadSheet as u,
|
|
87909
88250
|
_sfc_main$2I as v,
|
|
87910
88251
|
apaasCollect as w,
|
|
87911
|
-
_sfc_main$
|
|
88252
|
+
_sfc_main$5e as x,
|
|
87912
88253
|
_sfc_main$t as y,
|
|
87913
88254
|
_sfc_main$s as z
|
|
87914
88255
|
};
|