@gct-paas/excel 0.1.40-beta.16 → 0.1.40-beta.19
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-CCne4pQR.js → BaseComponent-FTAfETgq.js} +1 -1
- package/dist/{VueVideoPlayer-BrKkpGMj.js → VueVideoPlayer-ClOLkKfc.js} +1 -1
- package/dist/{barcode-design-CFTG45Rl.js → barcode-design-BkhvROE3.js} +1 -1
- package/dist/base/index.es.js +90 -75
- package/dist/{diagonal-design-DUBu7u6U.js → diagonal-design-CSsRZXTR.js} +1 -1
- package/dist/{dynamic-table-action-PCfL4kn8.js → dynamic-table-action-BaPYciTs.js} +143 -130
- package/dist/excel.css +162 -155
- package/dist/{exceljs.min-BIUMCkHC.js → exceljs.min-DOnnIaUy.js} +1 -1
- package/dist/{font-editor-CrSyrXhC.js → font-editor-BhEx8gsg.js} +1 -1
- package/dist/{index-BiMaezbB.js → index-4D9NOiSa.js} +2 -2
- package/dist/{index-CqKBqL3p.js → index-8SR0OCtX.js} +1 -1
- package/dist/{index-BD266iSg.js → index-BGplPOcr.js} +1 -1
- package/dist/{index-BAOJVzJ6.js → index-BH44VVVJ.js} +1 -1
- package/dist/{index-cvcwGAKO.js → index-BRhxHq7j.js} +4 -6
- package/dist/{index-DNxZxXFS.js → index-BYdQb6Zs.js} +1 -1
- package/dist/{index-BQnLQV0A.js → index-BasOyfUE.js} +1 -1
- package/dist/{index-BPN7XFwR.js → index-BatLqdGc.js} +1 -1
- package/dist/{index-BU7LYqsX.js → index-Bk1k6BEY.js} +2 -2
- package/dist/{index-BDxVLxSI.js → index-Bmg7bonc.js} +1 -1
- package/dist/{index-Dss87bf6.js → index-Bt70Gc_Z.js} +3 -3
- package/dist/{index-0ACWYeQr.js → index-CO6KoJ_a.js} +1 -1
- package/dist/{index-C0Lp1fyE.js → index-CQKgfK0r.js} +68 -60
- package/dist/{index-WFLjE8W5.js → index-CdhBMADX.js} +1 -1
- package/dist/{index-BbiyVhS-.js → index-CwQdMcpB.js} +1 -1
- package/dist/{index-odqvNkhp.js → index-Cy0Uqp5w.js} +2 -2
- package/dist/{index-DoHNHSgR.js → index-D3vYOwwm.js} +2 -2
- package/dist/{index-D5VJUAJr.js → index-DJA4tHF7.js} +2 -2
- package/dist/{index-BsiUX7YD.js → index-DgL-mrXY.js} +1 -1
- package/dist/{index-DohyZRFn.js → index-WwSFD3-4.js} +1 -1
- package/dist/{index-tdchiGpE.js → index-enn6ye9W.js} +1 -1
- package/dist/{index-Bns57FNX.js → index-gXPEz0JL.js} +1 -1
- package/dist/{index-CnK65t9M.js → index-pd2sE5n8.js} +1 -1
- package/dist/{index-BY_qQ37w.js → index-tytmYLov.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{pagination-design-BQ-Knqog.js → pagination-design-BbYDSGTY.js} +1 -1
- package/dist/paper-widget-design-V9VvgPuP.js +4 -0
- package/dist/{print-runtime-instance-Bfk83ysG.js → print-runtime-instance-C4G901eq.js} +1 -1
- package/dist/{print-snapshot-renderer-CWDB-YnM.js → print-snapshot-renderer-BQM8Bgjz.js} +3 -3
- package/dist/{qrcode-design-6Lieupwb.js → qrcode-design-DaaL8MFl.js} +1 -1
- package/dist/seal-design-BTE8aLel.js +4 -0
- package/dist/{single-field-drop-GQQ8hg4y.js → single-field-drop-DtPGbir9.js} +1 -1
- package/dist/src/online-form/src/views/designer/conversions/normalize-paper-grid.d.ts +1 -1
- package/dist/src/shared/utils/cell-wrap.d.ts +9 -0
- package/dist/src/shared/utils/grid-size.d.ts +2 -0
- package/dist/{sub-table-factory-BI9zILxh.js → sub-table-factory-PmCFjieU.js} +1 -1
- package/dist/{text-design-C9uisWIi.js → text-design-CUKnLbBy.js} +4 -3
- package/dist/{trace-like-wrapper-pQUXH6kC.js → trace-like-wrapper-Cn7Ios53.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-LLQsPkbC.js → value-editor.vue_vue_type_style_index_0_lang-CDZ0Nr3h.js} +1 -1
- package/dist/{widget-barcode-DLyneDcq.js → widget-barcode-BT3-E-IC.js} +2 -2
- package/dist/{widget-diagonal-2e5fVQJW.js → widget-diagonal-CqjMAQw8.js} +2 -2
- package/dist/{widget-image-BXPMPWOk.js → widget-image-C-fHxEpb.js} +1 -1
- package/dist/{widget-line-CjiBmjBZ.js → widget-line-bjz2m-0w.js} +1 -1
- package/dist/{widget-pagination-DU3VR6Pn.js → widget-pagination-B_0Lh8dg.js} +2 -2
- package/dist/{widget-power-7i7Y46-D.js → widget-power-NZ6iapXF.js} +2 -2
- package/dist/{widget-qrcode-DiTI2AJL.js → widget-qrcode-FMqMhdih.js} +2 -2
- package/dist/{widget-rangelimit-CYrvoR3L.js → widget-rangelimit-CJ2M_Val.js} +2 -2
- package/dist/{widget-serialnumber-DwLtEZJ0.js → widget-serialnumber-ByYGTXK4.js} +1 -1
- package/dist/{widget-text-1F6QCLEu.js → widget-text-CW4V4Cuh.js} +3 -3
- package/dist/{widget-timediff-CKGLI-LX.js → widget-timediff-JTFI0UZ9.js} +1 -1
- package/package.json +2 -2
- package/dist/paper-widget-design-BJ5NnowZ.js +0 -4
- package/dist/seal-design-DfSdoYe8.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { V as commonjsGlobal, W as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DNH0HQ7d.js";
|
|
2
|
-
import { c as commonjsRequire } from "./index-
|
|
2
|
+
import { c as commonjsRequire } from "./index-CQKgfK0r.js";
|
|
3
3
|
function _mergeNamespaces(n, m) {
|
|
4
4
|
for (var i = 0; i < m.length; i++) {
|
|
5
5
|
const e = m[i];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, unref, normalizeClass, withCtx, normalizeStyle } from "vue";
|
|
2
2
|
import { A as AlignEditor } from "./align-editor-ClmAs0I2.js";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
|
-
import { z as _sfc_main$1, C as ColorPicker } from "./index-
|
|
4
|
+
import { z as _sfc_main$1, C as ColorPicker } from "./index-CQKgfK0r.js";
|
|
5
5
|
import { ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DNH0HQ7d.js";
|
|
6
6
|
const _hoisted_1 = { class: "ks-row-middle mb-6px" };
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -2,10 +2,10 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
|
|
|
2
2
|
import "vue";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import {
|
|
5
|
+
import { i as normalizeSealDiameter } from "./dynamic-table-action-BaPYciTs.js";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import "ant-design-vue";
|
|
8
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
+
import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
|
|
9
9
|
class Seal extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.Seal;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
|
|
8
8
|
class InputNumber extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Inputnumber;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
|
|
8
8
|
class Userpicker extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Userpicker;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -5,7 +5,7 @@ import { pick } from "lodash-es";
|
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import "ant-design-vue";
|
|
8
|
-
import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-
|
|
8
|
+
import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-CQKgfK0r.js";
|
|
9
9
|
class CombineFields {
|
|
10
10
|
component = ComponentTypeEnum.CombineFields;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { pick,
|
|
2
|
-
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-
|
|
1
|
+
import { pick, has, cloneDeep, get } from "lodash-es";
|
|
2
|
+
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-CQKgfK0r.js";
|
|
3
|
+
import { k as isCellAutoLineBreak } from "./dynamic-table-action-BaPYciTs.js";
|
|
3
4
|
import { C as ComponentTypeEnum, H as CellType, q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DNH0HQ7d.js";
|
|
4
5
|
import "vue";
|
|
5
6
|
import "dayjs";
|
|
@@ -11,7 +12,7 @@ class Td {
|
|
|
11
12
|
const cmp = {
|
|
12
13
|
props: {
|
|
13
14
|
...pick(data.attrs ?? {}, ["colspan", "rowspan"]),
|
|
14
|
-
autoLineBreak:
|
|
15
|
+
autoLineBreak: isCellAutoLineBreak(data.style),
|
|
15
16
|
sourceBorderAttrs: ["cbt", "cbr", "cbb", "cbl", "bold"].filter((key) => data[key])
|
|
16
17
|
},
|
|
17
18
|
style: { ...pick(data.style, "backgroundColor") },
|
|
@@ -19,9 +20,6 @@ class Td {
|
|
|
19
20
|
xAutoMerge: data.xAutoMerge || false,
|
|
20
21
|
fillDirection: data.fillDirection || void 0
|
|
21
22
|
};
|
|
22
|
-
if (!isEmpty(data.style) && has(data.style, "whiteSpace") && has(data.style, "wordBreak") && data.style.whiteSpace === "pre-wrap" && data.style.wordBreak === "break-all") {
|
|
23
|
-
cmp.props.autoLineBreak = true;
|
|
24
|
-
}
|
|
25
23
|
const fixedTableFieldMap = dataCenter[ComponentTypeEnum.PAPER].props.fixedTableFieldMap;
|
|
26
24
|
let config = data;
|
|
27
25
|
if (has(data, "cellRef") && data.cellRef && data.subTableType === "CHECK" && fixedTableFieldMap[data.cellRef]) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
|
|
8
8
|
class Datepicker extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Datepicker;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
|
|
8
8
|
class Input extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Input;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
|
|
8
8
|
class DateTimepicker extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.DateTimepicker;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,8 +4,8 @@ import "lodash-es";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
|
|
8
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-Cn7Ios53.js";
|
|
9
9
|
class RdoSelect extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.RdoSelect;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
|
|
8
8
|
class UploadFile extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.UploadFile;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import {
|
|
2
|
+
import { j as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-BaPYciTs.js";
|
|
3
3
|
import { C as ComponentTypeEnum, O as Orientation, a5 as BooleanShowMode, a4 as LabelPosition, b6 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DNH0HQ7d.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import "ant-design-vue";
|
|
8
|
-
import { g as getFieldWidget } from "./index-
|
|
9
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
+
import { g as getFieldWidget } from "./index-CQKgfK0r.js";
|
|
9
|
+
import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
|
|
10
10
|
class Switch extends BaseComponent {
|
|
11
11
|
component = ComponentTypeEnum.Switch;
|
|
12
12
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import { pick, has, isEmpty, cloneDeep, get } from "lodash-es";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { A as AsyncGctOnlineComponents } from "./index-
|
|
7
|
+
import { A as AsyncGctOnlineComponents } from "./index-CQKgfK0r.js";
|
|
8
8
|
class Tr {
|
|
9
9
|
component = "tr";
|
|
10
10
|
wrapperCmpConfig({ data, parent }) {
|
|
@@ -6,7 +6,7 @@ import dayjs from "dayjs";
|
|
|
6
6
|
import { useFormBaseModal, DataSourceChangeEvent, getBuiltinContextFields, DataSources, FieldFills, closeAllFormBaseModal, FormBaseModalPlugin } from "@gct-paas/form-base";
|
|
7
7
|
import * as Antd from "ant-design-vue";
|
|
8
8
|
import { message, Modal, Empty, InputSearch, Cascader, ConfigProvider, Tooltip as Tooltip$1, Input, Tree, Transfer, Select, Tag, Form, AutoComplete, TimePicker, DatePicker, Textarea, TreeSelect, CheckboxGroup, Checkbox, Radio, RadioGroup, Alert } from "ant-design-vue";
|
|
9
|
-
import { b as bindFormulaCacheInvalidation, c as currentParamsConfig, M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, d as MULTI_SHEET_SCHEMA_VERSION, g as getParseFormulaVarInfos, e as getBusinessFieldKey, f as createRuntimeDocumentV2, h as clampSealPosition,
|
|
9
|
+
import { b as bindFormulaCacheInvalidation, c as currentParamsConfig, M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, d as MULTI_SHEET_SCHEMA_VERSION, n as normalizeGridColumnWidth, g as getParseFormulaVarInfos, e as getBusinessFieldKey, f as createRuntimeDocumentV2, h as clampSealPosition, i as normalizeSealDiameter, j as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, k as isCellAutoLineBreak, B as BorderTD, u as useFormModel, l as useFormTmplConfig, m as findFieldProfile, o as normalizeHistoricalBusinessRow, p as DeviceLinkTmplUtil, q as normalizeAIOcrTmpl, r as useWidgetStaticAttrs, s as useRuntimeInstanceServices, t as setSelectValidatorId, v as setSelectAnnotationId, w as useRuntimeRowState, x as getObjectBomMaterialLotQuery, y as buildObjectLotExtraQuery, z as resolveObjectFieldKeys, F as FormModelController, A as MaterialConsumptionPatternEnum, C as validateObjectBomForScan, E as resolveObjectBomEntry, G as runWithFillProduct, H as useNocodeFormWidget, I as applyConsumeObjectTraceChange, J as getObjectBomProductQuery, K as EMPTY_PRODUCT_VERSION_ID, L as normalizeHistoricalAutofillRow, N as readSealValue, O as isSealStamped, P as stampSealValue, Q as isValidSealValue, R as clearSealValue, S as parseRuntimeFieldPath, T as NCB_PROVIDE, U as calculateFormula, V as useStyles, W as useDependency, X as useFieldPresentation, Y as useRuntimeEditorFlusher, Z as RuntimeFormStateStore, _ as createRuntimeInstanceContext, $ as RuntimeInstanceRegistry, a0 as ScanParamType, a1 as RequiredQtyCalcRule, a2 as MBRender, a3 as MCRender, a4 as moveSealValue, a5 as DocumentPaper, a6 as DynamicTableAction, a7 as _sfc_main$6B } from "./dynamic-table-action-BaPYciTs.js";
|
|
10
10
|
import { S as SEARCH_SEVICE, u as useWebUpload, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$6A, P as ProductTypeEnum } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CpcHJZof.js";
|
|
11
11
|
import { HttpUtil } from "@gct-paas/api";
|
|
12
12
|
import { Tooltip, Grid, Table, Column, Icon as Icon$2, Edit, Validator, VxeGrid } from "vxe-table";
|
|
@@ -1419,7 +1419,7 @@ const NumColMap = Array(1e3).fill("").reduce((m, e, i) => {
|
|
|
1419
1419
|
return m;
|
|
1420
1420
|
}, {});
|
|
1421
1421
|
const DEFAULT_ROW_HEIGHT$1 = 30;
|
|
1422
|
-
const DEFAULT_COL_WIDTH
|
|
1422
|
+
const DEFAULT_COL_WIDTH = 75;
|
|
1423
1423
|
const DEFAULT_PAPER_COL_COUNT = 10;
|
|
1424
1424
|
const PaperWidgetDropBoxId = "PaperWidgetDropBoxId";
|
|
1425
1425
|
const ValueEditorFieldDropBoxId = "ValueEditorFieldDropBoxId";
|
|
@@ -1446,7 +1446,7 @@ const DefaultPaper = {
|
|
|
1446
1446
|
},
|
|
1447
1447
|
orientation: Orientation.Portrait,
|
|
1448
1448
|
cols: Array(DEFAULT_PAPER_COL_COUNT).fill("").map(() => ({
|
|
1449
|
-
width: DEFAULT_COL_WIDTH
|
|
1449
|
+
width: DEFAULT_COL_WIDTH
|
|
1450
1450
|
})),
|
|
1451
1451
|
rows: Array(20).fill("").map(() => ({
|
|
1452
1452
|
height: DEFAULT_ROW_HEIGHT$1
|
|
@@ -2015,7 +2015,7 @@ function openWindow(url, opt) {
|
|
|
2015
2015
|
const FieldPropLabels = Object.entries(FIELD_PROP_LABEL_MAP);
|
|
2016
2016
|
const FieldTypeLabels = Object.entries(FIELD_TYPE_LABEL_MAP);
|
|
2017
2017
|
async function createWorkbook() {
|
|
2018
|
-
const ExcelJs = (await import("./exceljs.min-
|
|
2018
|
+
const ExcelJs = (await import("./exceljs.min-DOnnIaUy.js").then((n) => n.e)).default;
|
|
2019
2019
|
return new ExcelJs.Workbook();
|
|
2020
2020
|
}
|
|
2021
2021
|
class XlsxParser {
|
|
@@ -2343,28 +2343,28 @@ class XlsxParser {
|
|
|
2343
2343
|
}
|
|
2344
2344
|
function asyncImportClassModules() {
|
|
2345
2345
|
const modules = /* @__PURE__ */ Object.assign({
|
|
2346
|
-
"./_field_/auto-complete/index.ts": () => import("./index-
|
|
2347
|
-
"./_field_/datepicker/index.ts": () => import("./index-
|
|
2348
|
-
"./_field_/datetimepicker/index.ts": () => import("./index-
|
|
2349
|
-
"./_field_/department/index.ts": () => import("./index-
|
|
2350
|
-
"./_field_/enum-select/index.ts": () => import("./index-
|
|
2351
|
-
"./_field_/input/index.ts": () => import("./index-
|
|
2352
|
-
"./_field_/inputdouble/index.ts": () => import("./index-
|
|
2353
|
-
"./_field_/inputnumber/index.ts": () => import("./index-
|
|
2354
|
-
"./_field_/rdo-select/index.ts": () => import("./index-
|
|
2355
|
-
"./_field_/seal/index.ts": () => import("./index-
|
|
2356
|
-
"./_field_/select/index.ts": () => import("./index-
|
|
2357
|
-
"./_field_/sign/index.ts": () => import("./index-
|
|
2358
|
-
"./_field_/switch/index.ts": () => import("./index-
|
|
2359
|
-
"./_field_/textarea/index.ts": () => import("./index-
|
|
2360
|
-
"./_field_/timepicker/index.ts": () => import("./index-
|
|
2361
|
-
"./_field_/upload-file/index.ts": () => import("./index-
|
|
2362
|
-
"./_field_/upload-image/index.ts": () => import("./index-
|
|
2363
|
-
"./_field_/userpicker/index.ts": () => import("./index-
|
|
2346
|
+
"./_field_/auto-complete/index.ts": () => import("./index-D3vYOwwm.js").then((m) => m["default"]),
|
|
2347
|
+
"./_field_/datepicker/index.ts": () => import("./index-BYdQb6Zs.js").then((m) => m["default"]),
|
|
2348
|
+
"./_field_/datetimepicker/index.ts": () => import("./index-BatLqdGc.js").then((m) => m["default"]),
|
|
2349
|
+
"./_field_/department/index.ts": () => import("./index-CdhBMADX.js").then((m) => m["default"]),
|
|
2350
|
+
"./_field_/enum-select/index.ts": () => import("./index-DJA4tHF7.js").then((m) => m["default"]),
|
|
2351
|
+
"./_field_/input/index.ts": () => import("./index-BasOyfUE.js").then((m) => m["default"]),
|
|
2352
|
+
"./_field_/inputdouble/index.ts": () => import("./index-CwQdMcpB.js").then((m) => m["default"]),
|
|
2353
|
+
"./_field_/inputnumber/index.ts": () => import("./index-8SR0OCtX.js").then((m) => m["default"]),
|
|
2354
|
+
"./_field_/rdo-select/index.ts": () => import("./index-Bk1k6BEY.js").then((m) => m["default"]),
|
|
2355
|
+
"./_field_/seal/index.ts": () => import("./index-4D9NOiSa.js").then((m) => m["default"]),
|
|
2356
|
+
"./_field_/select/index.ts": () => import("./index-Cy0Uqp5w.js").then((m) => m["default"]),
|
|
2357
|
+
"./_field_/sign/index.ts": () => import("./index-tytmYLov.js").then((m) => m["default"]),
|
|
2358
|
+
"./_field_/switch/index.ts": () => import("./index-Bt70Gc_Z.js").then((m) => m["default"]),
|
|
2359
|
+
"./_field_/textarea/index.ts": () => import("./index-pd2sE5n8.js").then((m) => m["default"]),
|
|
2360
|
+
"./_field_/timepicker/index.ts": () => import("./index-enn6ye9W.js").then((m) => m["default"]),
|
|
2361
|
+
"./_field_/upload-file/index.ts": () => import("./index-Bmg7bonc.js").then((m) => m["default"]),
|
|
2362
|
+
"./_field_/upload-image/index.ts": () => import("./index-WwSFD3-4.js").then((m) => m["default"]),
|
|
2363
|
+
"./_field_/userpicker/index.ts": () => import("./index-BGplPOcr.js").then((m) => m["default"]),
|
|
2364
2364
|
"./_widget_/barcode/index.ts": () => import("./index-CDEmNgZo.js").then((m) => m["default"]),
|
|
2365
|
-
"./_widget_/combine-fields/index.ts": () => import("./index-
|
|
2366
|
-
"./_widget_/diagonal/index.ts": () => import("./index-
|
|
2367
|
-
"./_widget_/dyn-value/index.ts": () => import("./index-
|
|
2365
|
+
"./_widget_/combine-fields/index.ts": () => import("./index-BH44VVVJ.js").then((m) => m["default"]),
|
|
2366
|
+
"./_widget_/diagonal/index.ts": () => import("./index-DgL-mrXY.js").then((m) => m["default"]),
|
|
2367
|
+
"./_widget_/dyn-value/index.ts": () => import("./index-gXPEz0JL.js").then((m) => m["default"]),
|
|
2368
2368
|
"./_widget_/image/index.ts": () => import("./index-Cv7MTDYJ.js").then((m) => m["default"]),
|
|
2369
2369
|
"./_widget_/line/index.ts": () => import("./index-0igALLOR.js").then((m) => m["default"]),
|
|
2370
2370
|
"./_widget_/power/index.ts": () => import("./index-Cr-9RN_m.js").then((m) => m["default"]),
|
|
@@ -2374,8 +2374,8 @@ function asyncImportClassModules() {
|
|
|
2374
2374
|
"./_widget_/sub-table/index.ts": () => import("./index-BOk29nnL.js").then((m) => m["default"]),
|
|
2375
2375
|
"./_widget_/timediff/index.ts": () => import("./index-CE2DJqcE.js").then((m) => m["default"]),
|
|
2376
2376
|
"./paper/index.ts": () => import("./index-Bt91J3fW.js").then((m) => m["default"]),
|
|
2377
|
-
"./td/index.ts": () => import("./index-
|
|
2378
|
-
"./tr/index.ts": () => import("./index-
|
|
2377
|
+
"./td/index.ts": () => import("./index-BRhxHq7j.js").then((m) => m["default"]),
|
|
2378
|
+
"./tr/index.ts": () => import("./index-CO6KoJ_a.js").then((m) => m["default"])
|
|
2379
2379
|
});
|
|
2380
2380
|
return modules;
|
|
2381
2381
|
}
|
|
@@ -4056,7 +4056,6 @@ function migrateDesignerToV2(maps, info, createPaper) {
|
|
|
4056
4056
|
};
|
|
4057
4057
|
}
|
|
4058
4058
|
const DEFAULT_ROW_HEIGHT = 30;
|
|
4059
|
-
const DEFAULT_COL_WIDTH = 75;
|
|
4060
4059
|
const positiveSize = (value, fallback) => typeof value === "number" && Number.isFinite(value) && value > 0 ? value : fallback;
|
|
4061
4060
|
const normalizeCell = (value) => {
|
|
4062
4061
|
if (value && typeof value === "object" && !Array.isArray(value)) return value;
|
|
@@ -4090,14 +4089,14 @@ function normalizePaperGrid(paper2) {
|
|
|
4090
4089
|
(width, row) => Math.max(width, Array.isArray(row) ? row.length : 0),
|
|
4091
4090
|
0
|
|
4092
4091
|
);
|
|
4093
|
-
const colCount = Math.max(1, sourceCols.length
|
|
4092
|
+
const colCount = Math.max(1, sourceCols.length > 0 ? sourceCols.length : widestRow);
|
|
4094
4093
|
paper2.rows = Array.from({ length: rowCount }, (_, index2) => ({
|
|
4095
4094
|
...sourceRows[index2],
|
|
4096
4095
|
height: positiveSize(sourceRows[index2]?.height, DEFAULT_ROW_HEIGHT)
|
|
4097
4096
|
}));
|
|
4098
4097
|
paper2.cols = Array.from({ length: colCount }, (_, index2) => ({
|
|
4099
4098
|
...sourceCols[index2],
|
|
4100
|
-
width:
|
|
4099
|
+
width: normalizeGridColumnWidth(sourceCols[index2]?.width)
|
|
4101
4100
|
}));
|
|
4102
4101
|
paper2.cells = Array.from({ length: rowCount }, (_, rowIndex) => {
|
|
4103
4102
|
const row = Array.isArray(sourceCells[rowIndex]) ? sourceCells[rowIndex] : [];
|
|
@@ -12325,7 +12324,7 @@ function useSpreadSheet() {
|
|
|
12325
12324
|
function resizeCol(e) {
|
|
12326
12325
|
const x = Number(e.target.parentNode.dataset.x);
|
|
12327
12326
|
const startX = e.clientX;
|
|
12328
|
-
const startWidth = paper$1.value.cols[x - 1]?.width ?? DEFAULT_COL_WIDTH
|
|
12327
|
+
const startWidth = paper$1.value.cols[x - 1]?.width ?? DEFAULT_COL_WIDTH;
|
|
12329
12328
|
function handleMouseMove(e2) {
|
|
12330
12329
|
const nextWidth = Math.max(1, startWidth + e2.clientX - startX);
|
|
12331
12330
|
setColWidth(x, nextWidth);
|
|
@@ -12605,7 +12604,7 @@ function useSpreadSheet() {
|
|
|
12605
12604
|
}
|
|
12606
12605
|
function insertCol(col, insertCols2) {
|
|
12607
12606
|
const colIndex = (col ?? paper$1.value.cols.length) - 1;
|
|
12608
|
-
paper$1.value.cols.splice(colIndex, 0, { width: DEFAULT_COL_WIDTH
|
|
12607
|
+
paper$1.value.cols.splice(colIndex, 0, { width: DEFAULT_COL_WIDTH });
|
|
12609
12608
|
paper$1.value.cells.forEach((row, index2) => {
|
|
12610
12609
|
const cell = insertCols2 ? insertCols2[index2] : void 0;
|
|
12611
12610
|
const style = cell?.style ? cloneDeep(cell?.style) : void 0;
|
|
@@ -13721,11 +13720,11 @@ function useSpreadSheet() {
|
|
|
13721
13720
|
const pageHeightPx = parseInt(src(`${size[1]}mm`));
|
|
13722
13721
|
const availableWidthPx = pageWidthPx - DefaultPaper.padding.l - DefaultPaper.padding.r;
|
|
13723
13722
|
const availableHeightPx = pageHeightPx - DefaultPaper.padding.t - DefaultPaper.padding.b;
|
|
13724
|
-
const cols = Math.max(1, Math.floor(availableWidthPx / DEFAULT_COL_WIDTH
|
|
13723
|
+
const cols = Math.max(1, Math.floor(availableWidthPx / DEFAULT_COL_WIDTH));
|
|
13725
13724
|
const rows = Math.max(1, Math.floor(availableHeightPx / DEFAULT_ROW_HEIGHT$1));
|
|
13726
13725
|
Object.assign(config2, {
|
|
13727
13726
|
cols: Array(cols).fill("").map(() => ({
|
|
13728
|
-
width: DEFAULT_COL_WIDTH
|
|
13727
|
+
width: DEFAULT_COL_WIDTH
|
|
13729
13728
|
})),
|
|
13730
13729
|
rows: Array(rows).fill("").map(() => ({
|
|
13731
13730
|
height: DEFAULT_ROW_HEIGHT$1
|
|
@@ -14660,6 +14659,9 @@ const _sfc_main$6m = /* @__PURE__ */ defineComponent({
|
|
|
14660
14659
|
if (defaultValue === FieldSysVarDefaultValueEnum.CURRENT_ORG) {
|
|
14661
14660
|
return $t("sys.sysCurrentOrg");
|
|
14662
14661
|
}
|
|
14662
|
+
if (["fw:select", "fw:tree-select", "fw:rdo-select"].includes(props2.design ?? "fw:select")) {
|
|
14663
|
+
return void 0;
|
|
14664
|
+
}
|
|
14663
14665
|
return defaultValue;
|
|
14664
14666
|
});
|
|
14665
14667
|
const hasValue = computed(() => !isNil(value.value) && value.value !== "");
|
|
@@ -14681,7 +14683,7 @@ const _sfc_main$6m = /* @__PURE__ */ defineComponent({
|
|
|
14681
14683
|
};
|
|
14682
14684
|
}
|
|
14683
14685
|
});
|
|
14684
|
-
const FakeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6m, [["__scopeId", "data-v-
|
|
14686
|
+
const FakeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6m, [["__scopeId", "data-v-34a104c8"]]);
|
|
14685
14687
|
const _sfc_main$6l = /* @__PURE__ */ defineComponent({
|
|
14686
14688
|
__name: "radio-icon",
|
|
14687
14689
|
props: {
|
|
@@ -14882,7 +14884,7 @@ const _sfc_main$6j = /* @__PURE__ */ defineComponent({
|
|
|
14882
14884
|
};
|
|
14883
14885
|
}
|
|
14884
14886
|
});
|
|
14885
|
-
const FakeOptionSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6j, [["__scopeId", "data-v-
|
|
14887
|
+
const FakeOptionSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6j, [["__scopeId", "data-v-2b593d5a"]]);
|
|
14886
14888
|
const FieldDesignComponents = {
|
|
14887
14889
|
"fw:input": FakeInput,
|
|
14888
14890
|
"fw:number": FakeNumberInput,
|
|
@@ -15820,7 +15822,8 @@ const _sfc_main$65 = /* @__PURE__ */ defineComponent({
|
|
|
15820
15822
|
const style = computed(() => {
|
|
15821
15823
|
return {
|
|
15822
15824
|
...styles,
|
|
15823
|
-
fontSize: styles.fontSize + "px"
|
|
15825
|
+
fontSize: styles.fontSize + "px",
|
|
15826
|
+
textAlign: styles.justifyContent === "center" ? "center" : styles.justifyContent === "flex-end" ? "right" : "left"
|
|
15824
15827
|
};
|
|
15825
15828
|
});
|
|
15826
15829
|
const wrapperStyle = computed(() => {
|
|
@@ -15840,7 +15843,7 @@ const _sfc_main$65 = /* @__PURE__ */ defineComponent({
|
|
|
15840
15843
|
};
|
|
15841
15844
|
}
|
|
15842
15845
|
});
|
|
15843
|
-
const textRender = /* @__PURE__ */ _export_sfc(_sfc_main$65, [["__scopeId", "data-v-
|
|
15846
|
+
const textRender = /* @__PURE__ */ _export_sfc(_sfc_main$65, [["__scopeId", "data-v-2b9c69a5"]]);
|
|
15844
15847
|
const __vite_glob_3_8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15845
15848
|
__proto__: null,
|
|
15846
15849
|
default: textRender
|
|
@@ -16059,7 +16062,7 @@ function asyncImportWidgetConfigList() {
|
|
|
16059
16062
|
return widgetConfigList;
|
|
16060
16063
|
}
|
|
16061
16064
|
function asyncImportWidgetDesign() {
|
|
16062
|
-
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-
|
|
16065
|
+
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-BTE8aLel.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-BkhvROE3.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-CSsRZXTR.js"), "./image/image-design.vue": () => import("./image-design-9F6prQTp.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-BbYDSGTY.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-V9VvgPuP.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-DaaL8MFl.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-CXxSkCLn.js"), "./text/text-design.vue": () => import("./text-design-CUKnLbBy.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-DeOjrlwW.js") });
|
|
16063
16066
|
const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
|
|
16064
16067
|
const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
|
|
16065
16068
|
if (mKey) {
|
|
@@ -21928,9 +21931,7 @@ const _sfc_main$5$ = /* @__PURE__ */ defineComponent({
|
|
|
21928
21931
|
}
|
|
21929
21932
|
return attrs;
|
|
21930
21933
|
});
|
|
21931
|
-
const isAutoLineBreak = computed(
|
|
21932
|
-
() => props2.cell.style?.["white-space"] === "pre-wrap" && props2.cell.style?.["word-break"] === "break-all"
|
|
21933
|
-
);
|
|
21934
|
+
const isAutoLineBreak = computed(() => isCellAutoLineBreak(props2.cell.style));
|
|
21934
21935
|
const realStyle = computed(() => {
|
|
21935
21936
|
if (!props2.cell) return {};
|
|
21936
21937
|
const styles = { ...props2.cell.style };
|
|
@@ -22049,7 +22050,7 @@ const _sfc_main$5$ = /* @__PURE__ */ defineComponent({
|
|
|
22049
22050
|
};
|
|
22050
22051
|
}
|
|
22051
22052
|
});
|
|
22052
|
-
const SpreadSheetCell = /* @__PURE__ */ _export_sfc(_sfc_main$5$, [["__scopeId", "data-v-
|
|
22053
|
+
const SpreadSheetCell = /* @__PURE__ */ _export_sfc(_sfc_main$5$, [["__scopeId", "data-v-f8007289"]]);
|
|
22053
22054
|
const ThresholdValue = 8;
|
|
22054
22055
|
function getOffsetValue(left, width, points) {
|
|
22055
22056
|
let offset2 = left;
|
|
@@ -25981,7 +25982,7 @@ const cellStyleState = computed(() => {
|
|
|
25981
25982
|
italic: s["font-style"] === "italic",
|
|
25982
25983
|
underline: textDecorations.includes("underline"),
|
|
25983
25984
|
through: textDecorations.includes("line-through"),
|
|
25984
|
-
wrap: s
|
|
25985
|
+
wrap: isCellAutoLineBreak(s),
|
|
25985
25986
|
left: textAlign === "left",
|
|
25986
25987
|
center: textAlign === "center",
|
|
25987
25988
|
right: textAlign === "right",
|
|
@@ -39968,7 +39969,7 @@ const _sfc_main$4t = /* @__PURE__ */ defineComponent({
|
|
|
39968
39969
|
"option-filter-prop": "label",
|
|
39969
39970
|
"allow-clear": "",
|
|
39970
39971
|
size: "small",
|
|
39971
|
-
placeholder: _ctx.$t("sys.
|
|
39972
|
+
placeholder: _ctx.$t("sys.chooseText"),
|
|
39972
39973
|
class: "w-full",
|
|
39973
39974
|
onChange: selectSource
|
|
39974
39975
|
}, null, 8, ["value", "disabled", "loading", "options", "placeholder"]),
|
|
@@ -39979,7 +39980,7 @@ const _sfc_main$4t = /* @__PURE__ */ defineComponent({
|
|
|
39979
39980
|
};
|
|
39980
39981
|
}
|
|
39981
39982
|
});
|
|
39982
|
-
const __vite_glob_0_12$1 = /* @__PURE__ */ _export_sfc(_sfc_main$4t, [["__scopeId", "data-v-
|
|
39983
|
+
const __vite_glob_0_12$1 = /* @__PURE__ */ _export_sfc(_sfc_main$4t, [["__scopeId", "data-v-4063cf99"]]);
|
|
39983
39984
|
var cryptoJs$1 = { exports: {} };
|
|
39984
39985
|
function commonjsRequire(path) {
|
|
39985
39986
|
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
@@ -56639,7 +56640,7 @@ const _sfc_main$3v = /* @__PURE__ */ defineComponent({
|
|
|
56639
56640
|
}
|
|
56640
56641
|
});
|
|
56641
56642
|
function asyncImportWidgetProp() {
|
|
56642
|
-
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-
|
|
56643
|
+
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-BT3-E-IC.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-CqjMAQw8.js"), "./widget-image.vue": () => import("./widget-image-C-fHxEpb.js"), "./widget-line.vue": () => import("./widget-line-bjz2m-0w.js"), "./widget-pagination.vue": () => import("./widget-pagination-B_0Lh8dg.js"), "./widget-power.vue": () => import("./widget-power-NZ6iapXF.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-FMqMhdih.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-CJ2M_Val.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-ByYGTXK4.js"), "./widget-text.vue": () => import("./widget-text-CW4V4Cuh.js"), "./widget-timediff.vue": () => import("./widget-timediff-JTFI0UZ9.js") });
|
|
56643
56644
|
const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
|
|
56644
56645
|
const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
|
|
56645
56646
|
if (mKey) {
|
|
@@ -70770,7 +70771,7 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
|
70770
70771
|
};
|
|
70771
70772
|
}
|
|
70772
70773
|
});
|
|
70773
|
-
const CheckboxSwitch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$28, [["__scopeId", "data-v-
|
|
70774
|
+
const CheckboxSwitch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$28, [["__scopeId", "data-v-4c31c26d"]]);
|
|
70774
70775
|
const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
70775
70776
|
__name: "radio-enum",
|
|
70776
70777
|
props: {
|
|
@@ -70832,7 +70833,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
70832
70833
|
};
|
|
70833
70834
|
}
|
|
70834
70835
|
});
|
|
70835
|
-
const RadioSwitch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$27, [["__scopeId", "data-v-
|
|
70836
|
+
const RadioSwitch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$27, [["__scopeId", "data-v-71016290"]]);
|
|
70836
70837
|
const _hoisted_1$1c = { class: "search-wrapper" };
|
|
70837
70838
|
const _hoisted_2$R = { class: "inner-list search-visible" };
|
|
70838
70839
|
const _hoisted_3$F = ["onContextmenu"];
|
|
@@ -71188,7 +71189,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
71188
71189
|
};
|
|
71189
71190
|
}
|
|
71190
71191
|
});
|
|
71191
|
-
const enumSelectRender = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["__scopeId", "data-v-
|
|
71192
|
+
const enumSelectRender = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["__scopeId", "data-v-95332220"]]);
|
|
71192
71193
|
const __vite_glob_0_4$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
71193
71194
|
__proto__: null,
|
|
71194
71195
|
default: enumSelectRender
|
|
@@ -74297,7 +74298,7 @@ const VuePdf = /* @__PURE__ */ defineComponent({
|
|
|
74297
74298
|
}
|
|
74298
74299
|
});
|
|
74299
74300
|
const VueVideoPlayer = defineAsyncComponent(
|
|
74300
|
-
() => import("./VueVideoPlayer-
|
|
74301
|
+
() => import("./VueVideoPlayer-ClOLkKfc.js")
|
|
74301
74302
|
);
|
|
74302
74303
|
const _hoisted_1$18 = {
|
|
74303
74304
|
key: 0,
|
|
@@ -78230,7 +78231,14 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
|
78230
78231
|
customDateFormat,
|
|
78231
78232
|
field
|
|
78232
78233
|
} = reactive(props2.widget.props);
|
|
78233
|
-
const {
|
|
78234
|
+
const {
|
|
78235
|
+
showRequired,
|
|
78236
|
+
showDisabled,
|
|
78237
|
+
showDisplayStatus,
|
|
78238
|
+
dataRelationShip,
|
|
78239
|
+
placeholder,
|
|
78240
|
+
isAutoLineBreak
|
|
78241
|
+
} = useWidgetStaticAttrs(props2.widget);
|
|
78234
78242
|
const { instance, formConfig: formConfig2, formStateStore, events: events2 } = useRuntimeInstanceServices();
|
|
78235
78243
|
const { transfer } = useWebUpload();
|
|
78236
78244
|
const signatures = computed({
|
|
@@ -78262,6 +78270,8 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
|
78262
78270
|
"signature-cell-content",
|
|
78263
78271
|
showDisplayStatus.value,
|
|
78264
78272
|
isAdaptive.value && "is-adaptive",
|
|
78273
|
+
// 仅实际多条签名且开启换行时折行;兼容单人配置中残留的历史多人数据。
|
|
78274
|
+
!isAdaptive.value && signatures.value.length > 1 && isAutoLineBreak.value && "signature-cell-content--wrap",
|
|
78265
78275
|
showFilledBackground.value && "filled-background"
|
|
78266
78276
|
]);
|
|
78267
78277
|
const fixedTableConfig = computed(() => {
|
|
@@ -78738,7 +78748,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
78738
78748
|
};
|
|
78739
78749
|
}
|
|
78740
78750
|
});
|
|
78741
|
-
const CheckboxSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["__scopeId", "data-v-
|
|
78751
|
+
const CheckboxSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["__scopeId", "data-v-f2d4fb54"]]);
|
|
78742
78752
|
const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
78743
78753
|
__name: "radio-switch",
|
|
78744
78754
|
props: {
|
|
@@ -78793,7 +78803,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
78793
78803
|
};
|
|
78794
78804
|
}
|
|
78795
78805
|
});
|
|
78796
|
-
const RadioSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["__scopeId", "data-v-
|
|
78806
|
+
const RadioSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["__scopeId", "data-v-c4f04dbb"]]);
|
|
78797
78807
|
const _hoisted_1$_ = { class: "inner-list" };
|
|
78798
78808
|
const _hoisted_2$H = ["onContextmenu"];
|
|
78799
78809
|
const _hoisted_3$x = { class: "inner-label-box" };
|
|
@@ -84920,9 +84930,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
84920
84930
|
const { fields } = reactive(props2.widget.props);
|
|
84921
84931
|
const dataRelationShip = inject(NCB_PROVIDE.DATA_RELATION_SHIP);
|
|
84922
84932
|
const isPreview = computed(() => dataRelationShip?.renderModeType === RenderModeEnum.ViewMode);
|
|
84923
|
-
const wrapFields = computed(
|
|
84924
|
-
() => props2.widget.style?.whiteSpace === "pre-wrap" && props2.widget.style?.wordBreak === "break-all"
|
|
84925
|
-
);
|
|
84933
|
+
const wrapFields = computed(() => isCellAutoLineBreak(props2.widget.style));
|
|
84926
84934
|
const layoutStyle = computed(() => {
|
|
84927
84935
|
const { textAlign, verticalAlign } = props2.widget.style ?? {};
|
|
84928
84936
|
const mode = props2.widget.style?.["--composite-text-writing-mode"] ?? "horizontal-tb";
|
|
@@ -84970,7 +84978,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
84970
84978
|
};
|
|
84971
84979
|
}
|
|
84972
84980
|
});
|
|
84973
|
-
const combineFieldsRender = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-
|
|
84981
|
+
const combineFieldsRender = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-fdb6cdd3"]]);
|
|
84974
84982
|
const __vite_glob_0_19 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
84975
84983
|
__proto__: null,
|
|
84976
84984
|
default: combineFieldsRender
|
|
@@ -95806,8 +95814,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
95806
95814
|
printTask = (async () => {
|
|
95807
95815
|
if (document.activeElement instanceof HTMLElement) document.activeElement.blur();
|
|
95808
95816
|
await nextTick();
|
|
95809
|
-
const { printRuntimeInstance } = await import("./print-runtime-instance-
|
|
95810
|
-
const { default: renderer } = await import("./print-snapshot-renderer-
|
|
95817
|
+
const { printRuntimeInstance } = await import("./print-runtime-instance-C4G901eq.js");
|
|
95818
|
+
const { default: renderer } = await import("./print-snapshot-renderer-BQM8Bgjz.js");
|
|
95811
95819
|
if (abort.signal.aborted) throw new Error("打印已取消");
|
|
95812
95820
|
printRenderer.value = markRaw(renderer);
|
|
95813
95821
|
await printRuntimeInstance(
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
|
|
8
8
|
class Department extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Department;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
|
|
8
8
|
class InputDouble extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.InputDouble;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,8 +4,8 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
-
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
|
|
8
|
+
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-CQKgfK0r.js";
|
|
9
9
|
class Select extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.Select;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,8 +4,8 @@ import "lodash-es";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
|
|
8
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-Cn7Ios53.js";
|
|
9
9
|
class AutoComplete extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.AutoComplete;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,8 +4,8 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
-
import { g as getFieldWidget } from "./index-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-FTAfETgq.js";
|
|
8
|
+
import { g as getFieldWidget } from "./index-CQKgfK0r.js";
|
|
9
9
|
class EnumSelect extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.EnumSelect;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|