@gct-paas/excel 0.1.51-beta.1 → 0.1.51-beta.2
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/{VueVideoPlayer-DH8pXh28.js → VueVideoPlayer-BNOoWtmR.js} +1 -1
- package/dist/{barcode-design-Gq8_VO9l.js → barcode-design-iwURO60z.js} +1 -1
- package/dist/base/index.es.js +2 -2
- package/dist/{diagonal-design-C2Ybg80S.js → diagonal-design-KawJJ4oD.js} +1 -1
- package/dist/{exceljs.min-D9sk8ogV.js → exceljs.min-DWg1GCyB.js} +1 -1
- package/dist/{font-editor-CRxKpZ5w.js → font-editor-BhvNEV8G.js} +1 -1
- package/dist/{index-BkCygM2H.js → index-BK3yBgsP.js} +1 -1
- package/dist/{index-BdkVqSGZ.js → index-Bu8K2_aL.js} +14 -14
- package/dist/{index-DECfc3al.js → index-Bvbf7OCk.js} +1 -1
- package/dist/{index-DS1bbdtf.js → index-CGYeOcYH.js} +1 -1
- package/dist/{index-CfMaU3Cq.js → index-CrO092nr.js} +1 -1
- package/dist/{index-CkYFepvp.js → index-CwSokFdq.js} +1 -1
- package/dist/{index-DpPtXY8I.js → index-E-C3cGEb.js} +1 -1
- package/dist/{index-Ba7SenEy.js → index-G6QdAQ1B.js} +1 -1
- package/dist/{index-caGeDRoA.js → index-GNsLlBZR.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{pagination-design-BO_7vrQd.js → pagination-design-C1nvRM8p.js} +1 -1
- package/dist/paper-widget-design-XwzKhOk7.js +4 -0
- package/dist/{print-runtime-instance-B1Q_Xc8x.js → print-runtime-instance-C4B3LanB.js} +1 -1
- package/dist/{print-snapshot-renderer-wEKNMo0m.js → print-snapshot-renderer-B3ZmC9ED.js} +2 -2
- package/dist/{qrcode-design-CeNvj_74.js → qrcode-design-DLpYJ5Ll.js} +1 -1
- package/dist/seal-design-l4m0hHlk.js +4 -0
- package/dist/{single-field-drop-Bj73o6Jt.js → single-field-drop-BIoJzq7V.js} +1 -1
- package/dist/{sub-table-factory-CykoFqnP.js → sub-table-factory-Df0W4HmZ.js} +2 -2
- package/dist/{text-design-kWxwqj3H.js → text-design-Bqsb2uUN.js} +1 -1
- package/dist/{trace-like-wrapper-ByePbRT3.js → trace-like-wrapper-CpoARDkd.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-BuGHTPEo.js → value-editor.vue_vue_type_style_index_0_lang-BExU609P.js} +1 -1
- package/dist/{widget-barcode-BP0WV4jM.js → widget-barcode-BwuiMd2A.js} +2 -2
- package/dist/{widget-diagonal-Cwfunmde.js → widget-diagonal-D6SgpGls.js} +2 -2
- package/dist/{widget-image-3xm-HfRy.js → widget-image-BQECuZbn.js} +1 -1
- package/dist/{widget-line-B2Q3DwW6.js → widget-line-5kmXfPSQ.js} +1 -1
- package/dist/{widget-pagination-CV9ShZXH.js → widget-pagination-DrOzKvQm.js} +2 -2
- package/dist/{widget-power-Bc0Fv3R6.js → widget-power-CXbhP7Ui.js} +2 -2
- package/dist/{widget-qrcode-D_LkgIb2.js → widget-qrcode-ayrmMsMm.js} +2 -2
- package/dist/{widget-rangelimit-Db1rsnwU.js → widget-rangelimit-c80oMqos.js} +2 -2
- package/dist/{widget-serialnumber-BqZ3zJst.js → widget-serialnumber-C3y7fazd.js} +1 -1
- package/dist/{widget-text-IJbtzWxl.js → widget-text-DTe_xj9i.js} +3 -3
- package/dist/{widget-timediff-Bp8U1rzO.js → widget-timediff-D-pp7J_h.js} +1 -1
- package/package.json +2 -2
- package/dist/paper-widget-design-18uum1H9.js +0 -4
- package/dist/seal-design-BnQkmNDo.js +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, toRaw, shallowRef, computed, ref, readonly, onMounted, watch, normalizeClass, onBeforeUnmount, h as h$1, watchEffect, unref, createVNode, reactive } from "vue";
|
|
2
2
|
import { W as commonjsGlobal, X as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BY59Q_d_.js";
|
|
3
|
-
import { G as require$$0 } from "./index-
|
|
3
|
+
import { G as require$$0 } from "./index-Bu8K2_aL.js";
|
|
4
4
|
var window_1;
|
|
5
5
|
var hasRequiredWindow;
|
|
6
6
|
function requireWindow() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeStyle, normalizeClass, createElementVNode, toDisplayString, createCommentVNode } from "vue";
|
|
2
2
|
import { pick } from "lodash-es";
|
|
3
|
-
import { u as useSpreadSheet, h as useModelFields, l as loadBwip } from "./index-
|
|
3
|
+
import { u as useSpreadSheet, h as useModelFields, l as loadBwip } from "./index-Bu8K2_aL.js";
|
|
4
4
|
import { Y as PaperWidgeValueType, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BY59Q_d_.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
package/dist/base/index.es.js
CHANGED
|
@@ -5,8 +5,8 @@ import { ap as ap2, B as B2, aq as aq2, p, a6 as a62, ar as ar2, a4, as as as2,
|
|
|
5
5
|
import { toRaw, watch, toRef, computed, defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, shallowRef, markRaw, ref, provide, onUnmounted, reactive, onBeforeUnmount } from "vue";
|
|
6
6
|
import { isEqual, cloneDeep, defaults, isEmpty, merge, get } from "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
8
|
-
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-
|
|
9
|
-
import { A, D, M as M2, a as a3, P as P2, b, c, d as d2, e, W as W2, f as f2, g, h as h2 } from "../sub-table-factory-
|
|
8
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-Df0W4HmZ.js";
|
|
9
|
+
import { A, D, M as M2, a as a3, P as P2, b, c, d as d2, e, W as W2, f as f2, g, h as h2 } from "../sub-table-factory-Df0W4HmZ.js";
|
|
10
10
|
import { createDataSourceManager, getLegacyFieldFillTargets, createFieldFillRuntime, buildFieldFillTableRows, buildFieldFillRows, isFieldFillTargetProtected, getFieldFillTable, getFieldFillColumn, buildDataSourceContext } from "@gct-paas/form-base";
|
|
11
11
|
const InstanceStatusValues = {
|
|
12
12
|
/** 作废状态 */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock } from "vue";
|
|
2
|
-
import { h as useModelFields, D as Diagonal } from "./index-
|
|
2
|
+
import { h as useModelFields, D as Diagonal } from "./index-Bu8K2_aL.js";
|
|
3
3
|
import { as as resolveDiagonalVertex, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BY59Q_d_.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { W as commonjsGlobal, X as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BY59Q_d_.js";
|
|
2
|
-
import { c as commonjsRequire } from "./index-
|
|
2
|
+
import { c as commonjsRequire } from "./index-Bu8K2_aL.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-DJ859WQZ.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-Bu8K2_aL.js";
|
|
5
5
|
import { ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BY59Q_d_.js";
|
|
6
6
|
const _hoisted_1 = { class: "ks-row-middle mb-6px" };
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -5,7 +5,7 @@ import "dayjs";
|
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
7
|
import { B as BaseComponent } from "./BaseComponent-BShN-6c8.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-
|
|
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-Bu8K2_aL.js";
|
|
9
9
|
class Select extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.Select;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -2021,7 +2021,7 @@ function openWindow(url, opt) {
|
|
|
2021
2021
|
const FieldPropLabels = Object.entries(FIELD_PROP_LABEL_MAP);
|
|
2022
2022
|
const FieldTypeLabels = Object.entries(FIELD_TYPE_LABEL_MAP);
|
|
2023
2023
|
async function createWorkbook() {
|
|
2024
|
-
const ExcelJs = (await import("./exceljs.min-
|
|
2024
|
+
const ExcelJs = (await import("./exceljs.min-DWg1GCyB.js").then((n) => n.e)).default;
|
|
2025
2025
|
return new ExcelJs.Workbook();
|
|
2026
2026
|
}
|
|
2027
2027
|
class XlsxParser {
|
|
@@ -2392,26 +2392,26 @@ class XlsxParser {
|
|
|
2392
2392
|
}
|
|
2393
2393
|
function asyncImportClassModules() {
|
|
2394
2394
|
const modules = /* @__PURE__ */ Object.assign({
|
|
2395
|
-
"./_field_/auto-complete/index.ts": () => import("./index-
|
|
2395
|
+
"./_field_/auto-complete/index.ts": () => import("./index-E-C3cGEb.js").then((m) => m["default"]),
|
|
2396
2396
|
"./_field_/datepicker/index.ts": () => import("./index-BLwPDGyh.js").then((m) => m["default"]),
|
|
2397
2397
|
"./_field_/datetimepicker/index.ts": () => import("./index-BMBgoKQJ.js").then((m) => m["default"]),
|
|
2398
2398
|
"./_field_/department/index.ts": () => import("./index-BzTGz-yp.js").then((m) => m["default"]),
|
|
2399
|
-
"./_field_/enum-select/index.ts": () => import("./index-
|
|
2399
|
+
"./_field_/enum-select/index.ts": () => import("./index-G6QdAQ1B.js").then((m) => m["default"]),
|
|
2400
2400
|
"./_field_/input/index.ts": () => import("./index-IY_wwSl8.js").then((m) => m["default"]),
|
|
2401
2401
|
"./_field_/inputdouble/index.ts": () => import("./index-BzHOWFfJ.js").then((m) => m["default"]),
|
|
2402
2402
|
"./_field_/inputnumber/index.ts": () => import("./index-Bkx2ZZxc.js").then((m) => m["default"]),
|
|
2403
|
-
"./_field_/rdo-select/index.ts": () => import("./index-
|
|
2403
|
+
"./_field_/rdo-select/index.ts": () => import("./index-GNsLlBZR.js").then((m) => m["default"]),
|
|
2404
2404
|
"./_field_/seal/index.ts": () => import("./index-BItsxlLG.js").then((m) => m["default"]),
|
|
2405
|
-
"./_field_/select/index.ts": () => import("./index-
|
|
2405
|
+
"./_field_/select/index.ts": () => import("./index-BK3yBgsP.js").then((m) => m["default"]),
|
|
2406
2406
|
"./_field_/sign/index.ts": () => import("./index-CqZOsGgU.js").then((m) => m["default"]),
|
|
2407
|
-
"./_field_/switch/index.ts": () => import("./index-
|
|
2407
|
+
"./_field_/switch/index.ts": () => import("./index-CGYeOcYH.js").then((m) => m["default"]),
|
|
2408
2408
|
"./_field_/textarea/index.ts": () => import("./index-D925vhPg.js").then((m) => m["default"]),
|
|
2409
2409
|
"./_field_/timepicker/index.ts": () => import("./index-D8Pv4_xg.js").then((m) => m["default"]),
|
|
2410
2410
|
"./_field_/upload-file/index.ts": () => import("./index-MWQxnJy_.js").then((m) => m["default"]),
|
|
2411
2411
|
"./_field_/upload-image/index.ts": () => import("./index-vrDKB2Af.js").then((m) => m["default"]),
|
|
2412
2412
|
"./_field_/userpicker/index.ts": () => import("./index-B10CES7y.js").then((m) => m["default"]),
|
|
2413
2413
|
"./_widget_/barcode/index.ts": () => import("./index-eHOXhn3S.js").then((m) => m["default"]),
|
|
2414
|
-
"./_widget_/combine-fields/index.ts": () => import("./index-
|
|
2414
|
+
"./_widget_/combine-fields/index.ts": () => import("./index-CrO092nr.js").then((m) => m["default"]),
|
|
2415
2415
|
"./_widget_/diagonal/index.ts": () => import("./index-BfGKeHIi.js").then((m) => m["default"]),
|
|
2416
2416
|
"./_widget_/dyn-value/index.ts": () => import("./index-C9oFT3gk.js").then((m) => m["default"]),
|
|
2417
2417
|
"./_widget_/image/index.ts": () => import("./index-BIks4AlA.js").then((m) => m["default"]),
|
|
@@ -2423,8 +2423,8 @@ function asyncImportClassModules() {
|
|
|
2423
2423
|
"./_widget_/sub-table/index.ts": () => import("./index-emsDlrTV.js").then((m) => m["default"]),
|
|
2424
2424
|
"./_widget_/timediff/index.ts": () => import("./index-xTI_Fqhb.js").then((m) => m["default"]),
|
|
2425
2425
|
"./paper/index.ts": () => import("./index-BaQxoGFV.js").then((m) => m["default"]),
|
|
2426
|
-
"./td/index.ts": () => import("./index-
|
|
2427
|
-
"./tr/index.ts": () => import("./index-
|
|
2426
|
+
"./td/index.ts": () => import("./index-CwSokFdq.js").then((m) => m["default"]),
|
|
2427
|
+
"./tr/index.ts": () => import("./index-Bvbf7OCk.js").then((m) => m["default"])
|
|
2428
2428
|
});
|
|
2429
2429
|
return modules;
|
|
2430
2430
|
}
|
|
@@ -16292,7 +16292,7 @@ function asyncImportWidgetConfigList() {
|
|
|
16292
16292
|
return widgetConfigList;
|
|
16293
16293
|
}
|
|
16294
16294
|
function asyncImportWidgetDesign() {
|
|
16295
|
-
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-
|
|
16295
|
+
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-l4m0hHlk.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-iwURO60z.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-KawJJ4oD.js"), "./image/image-design.vue": () => import("./image-design-D6Mh4gmF.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-C1nvRM8p.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-XwzKhOk7.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-DLpYJ5Ll.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-b0I5H8lq.js"), "./text/text-design.vue": () => import("./text-design-Bqsb2uUN.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-sh7-fMvN.js") });
|
|
16296
16296
|
const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
|
|
16297
16297
|
const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
|
|
16298
16298
|
if (mKey) {
|
|
@@ -56873,7 +56873,7 @@ const _sfc_main$3x = /* @__PURE__ */ defineComponent({
|
|
|
56873
56873
|
}
|
|
56874
56874
|
});
|
|
56875
56875
|
function asyncImportWidgetProp() {
|
|
56876
|
-
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-
|
|
56876
|
+
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-BwuiMd2A.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-D6SgpGls.js"), "./widget-image.vue": () => import("./widget-image-BQECuZbn.js"), "./widget-line.vue": () => import("./widget-line-5kmXfPSQ.js"), "./widget-pagination.vue": () => import("./widget-pagination-DrOzKvQm.js"), "./widget-power.vue": () => import("./widget-power-CXbhP7Ui.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-ayrmMsMm.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-c80oMqos.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-C3y7fazd.js"), "./widget-text.vue": () => import("./widget-text-DTe_xj9i.js"), "./widget-timediff.vue": () => import("./widget-timediff-D-pp7J_h.js") });
|
|
56877
56877
|
const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
|
|
56878
56878
|
const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
|
|
56879
56879
|
if (mKey) {
|
|
@@ -74548,7 +74548,7 @@ const VuePdf = /* @__PURE__ */ defineComponent({
|
|
|
74548
74548
|
}
|
|
74549
74549
|
});
|
|
74550
74550
|
const VueVideoPlayer = defineAsyncComponent(
|
|
74551
|
-
() => import("./VueVideoPlayer-
|
|
74551
|
+
() => import("./VueVideoPlayer-BNOoWtmR.js")
|
|
74552
74552
|
);
|
|
74553
74553
|
const _hoisted_1$19 = {
|
|
74554
74554
|
key: 0,
|
|
@@ -96655,8 +96655,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
96655
96655
|
printTask = (async () => {
|
|
96656
96656
|
if (document.activeElement instanceof HTMLElement) document.activeElement.blur();
|
|
96657
96657
|
await nextTick();
|
|
96658
|
-
const { printRuntimeInstance } = await import("./print-runtime-instance-
|
|
96659
|
-
const { default: renderer } = await import("./print-snapshot-renderer-
|
|
96658
|
+
const { printRuntimeInstance } = await import("./print-runtime-instance-C4B3LanB.js");
|
|
96659
|
+
const { default: renderer } = await import("./print-snapshot-renderer-B3ZmC9ED.js");
|
|
96660
96660
|
if (abort.signal.aborted) throw new Error("打印已取消");
|
|
96661
96661
|
printRenderer.value = markRaw(renderer);
|
|
96662
96662
|
await printRuntimeInstance(
|
|
@@ -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-Bu8K2_aL.js";
|
|
8
8
|
class Tr {
|
|
9
9
|
component = "tr";
|
|
10
10
|
wrapperCmpConfig({ data, parent }) {
|
|
@@ -5,7 +5,7 @@ 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-
|
|
8
|
+
import { g as getFieldWidget } from "./index-Bu8K2_aL.js";
|
|
9
9
|
import { B as BaseComponent } from "./BaseComponent-BShN-6c8.js";
|
|
10
10
|
class Switch extends BaseComponent {
|
|
11
11
|
component = ComponentTypeEnum.Switch;
|
|
@@ -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-Bu8K2_aL.js";
|
|
9
9
|
class CombineFields {
|
|
10
10
|
component = ComponentTypeEnum.CombineFields;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { pick, has, cloneDeep, get } from "lodash-es";
|
|
2
|
-
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-
|
|
2
|
+
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-Bu8K2_aL.js";
|
|
3
3
|
import { k as isCellAutoLineBreak } from "./dynamic-table-action-B3QEu1gT.js";
|
|
4
4
|
import { C as ComponentTypeEnum, H as CellType, q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BY59Q_d_.js";
|
|
5
5
|
import "vue";
|
|
@@ -5,7 +5,7 @@ import "dayjs";
|
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
7
|
import { B as BaseComponent } from "./BaseComponent-BShN-6c8.js";
|
|
8
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
8
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-CpoARDkd.js";
|
|
9
9
|
class AutoComplete extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.AutoComplete;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -5,7 +5,7 @@ import "dayjs";
|
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
7
|
import { B as BaseComponent } from "./BaseComponent-BShN-6c8.js";
|
|
8
|
-
import { g as getFieldWidget } from "./index-
|
|
8
|
+
import { g as getFieldWidget } from "./index-Bu8K2_aL.js";
|
|
9
9
|
class EnumSelect extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.EnumSelect;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -5,7 +5,7 @@ import "dayjs";
|
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
7
|
import { B as BaseComponent } from "./BaseComponent-BShN-6c8.js";
|
|
8
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
8
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-CpoARDkd.js";
|
|
9
9
|
class RdoSelect extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.RdoSelect;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H, J, K, M, N, O, Q, U, W, B, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, x, aa, ab, y, ac, P, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, h } from "./index-
|
|
1
|
+
import { H, J, K, M, N, O, Q, U, W, B, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, x, aa, ab, y, ac, P, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, h } from "./index-Bu8K2_aL.js";
|
|
2
2
|
import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-BftaGVRR.js";
|
|
3
3
|
import { DataSources } from "@gct-paas/form-base";
|
|
4
4
|
export {
|
|
@@ -4,7 +4,7 @@ import "lodash-es";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { j as calcText } from "./index-
|
|
7
|
+
import { j as calcText } from "./index-Bu8K2_aL.js";
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "pagination-design",
|
|
10
10
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-
|
|
1
|
+
import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-Bu8K2_aL.js";
|
|
2
2
|
async function printRuntimeInstance(record, basicInfo, renderSnapshot, signal, options = {}) {
|
|
3
3
|
if (!record.controller) throw new Error("表单尚未完成初始化,暂时无法打印");
|
|
4
4
|
const snapshot = await record.controller.preparePrintSnapshot(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, provide, ref, onErrorCaptured, onBeforeUnmount, openBlock, createBlock, unref } from "vue";
|
|
2
2
|
import { Y as RuntimeFormStateStore, _ as RuntimeInstanceRegistry, S as NCB_PROVIDE } from "./dynamic-table-action-B3QEu1gT.js";
|
|
3
|
-
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-
|
|
4
|
-
import { _ as _sfc_main$1 } from "./index-
|
|
3
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-Df0W4HmZ.js";
|
|
4
|
+
import { _ as _sfc_main$1 } from "./index-Bu8K2_aL.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "print-snapshot-renderer",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeClass, createElementVNode } from "vue";
|
|
2
|
-
import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-
|
|
2
|
+
import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-Bu8K2_aL.js";
|
|
3
3
|
const _hoisted_1 = ["src"];
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "qrcode-design",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
|
|
2
2
|
import { ad as useNamespace, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BY59Q_d_.js";
|
|
3
|
-
import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-
|
|
3
|
+
import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-Bu8K2_aL.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "single-field-drop",
|
|
6
6
|
props: {
|
|
@@ -253,7 +253,7 @@ function buildProductionIdentificationScanBody(parsed) {
|
|
|
253
253
|
if (parsed.qty != null) body.qty_ = parsed.qty;
|
|
254
254
|
if (parsed.expiration) body.vaildate_ = parsed.expiration;
|
|
255
255
|
if (parsed.deviceCode) body.device_code_ = parsed.deviceCode;
|
|
256
|
-
if (parsed.uniqueCode) body.
|
|
256
|
+
if (parsed.uniqueCode) body.unique_code_ = parsed.uniqueCode;
|
|
257
257
|
if (parsed.mfgOrderCode) body.mfg_order_code_ = parsed.mfgOrderCode;
|
|
258
258
|
if (parsed.sterilizationLot) body.sterilization_code_ = parsed.sterilizationLot;
|
|
259
259
|
const productionContainerName = parsed.productionContainerName ?? parsed.production_container_name_ ?? parsed.productionLot;
|
|
@@ -275,7 +275,7 @@ function unwrapBizServiceList(result) {
|
|
|
275
275
|
}
|
|
276
276
|
async function matchProductionIdentificationScanRecords(parsed) {
|
|
277
277
|
const body = buildProductionIdentificationScanBody(parsed);
|
|
278
|
-
if (!body.material_no_ && !body.
|
|
278
|
+
if (!body.material_no_ && !body.unique_code_) return [];
|
|
279
279
|
const result = await api.apaas.modelComprehensive.postBizServiceGeneralModelCategoryModelKeyBsKey(
|
|
280
280
|
{
|
|
281
281
|
modelCategory: "entity",
|
|
@@ -4,7 +4,7 @@ import { Y as PaperWidgeValueType, ae as _export_sfc } from "./dynamic-table-act
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { u as useSpreadSheet, h as useModelFields } from "./index-
|
|
7
|
+
import { u as useSpreadSheet, h as useModelFields } from "./index-Bu8K2_aL.js";
|
|
8
8
|
const _hoisted_1 = { class: "ws-pre-wrap" };
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "text-design",
|
|
@@ -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 { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-
|
|
7
|
+
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-Bu8K2_aL.js";
|
|
8
8
|
function getTraceLikeSelectProps(data) {
|
|
9
9
|
const isSubtableMfgOrder = !!data.info.subModelKey && (data.info.bizType === FIELD_TYPE.MFG_ORDER || data.info.fieldType === FIELD_TYPE.MFG_ORDER);
|
|
10
10
|
const displayFields = (() => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode, unref, createCommentVNode } from "vue";
|
|
2
2
|
import { pick } from "lodash-es";
|
|
3
|
-
import { h as useModelFields, u as useSpreadSheet, m as useDrop, P as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, S as SingleDrop, o as getFieldIcon } from "./index-
|
|
3
|
+
import { h as useModelFields, u as useSpreadSheet, m as useDrop, P as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, S as SingleDrop, o as getFieldIcon } from "./index-Bu8K2_aL.js";
|
|
4
4
|
import { Y as PaperWidgeValueType, ax as ExpressionModeEnum, az as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BY59Q_d_.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode } from "vue";
|
|
2
|
-
import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-
|
|
3
|
-
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-Bu8K2_aL.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-BExU609P.js";
|
|
4
4
|
import { q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BY59Q_d_.js";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "dayjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, withCtx, createElementVNode, toDisplayString, createVNode, watch, createElementBlock, Fragment, createCommentVNode } from "vue";
|
|
2
|
-
import { F as FormItem, q as SelectEx } from "./index-
|
|
2
|
+
import { F as FormItem, q as SelectEx } from "./index-Bu8K2_aL.js";
|
|
3
3
|
import { defaults } from "lodash-es";
|
|
4
4
|
import { ad as useNamespace, F as FIELD_TYPE, ae as _export_sfc, an as DiagonalDirection, ar as DiagonalVertex, cu as migrateDiagonalDirectionToVertex } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BY59Q_d_.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import { message } from "ant-design-vue";
|
|
8
|
-
import { S as SingleFieldDrop } from "./single-field-drop-
|
|
8
|
+
import { S as SingleFieldDrop } from "./single-field-drop-BIoJzq7V.js";
|
|
9
9
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "diagonal-name-editor",
|
|
11
11
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, reactive, ref, computed, watchEffect, createVNode, unref, createTextVNode, render, resolveComponent, openBlock, createElementBlock, Fragment, withCtx, createElementVNode, withModifiers, createCommentVNode, toDisplayString, renderList, createBlock } from "vue";
|
|
2
|
-
import { L as LeftOutlined, R as RightOutlined, t as isClient, u as useSpreadSheet, F as FormItem, v as ImgParser } from "./index-
|
|
2
|
+
import { L as LeftOutlined, R as RightOutlined, t as isClient, u as useSpreadSheet, F as FormItem, v as ImgParser } from "./index-Bu8K2_aL.js";
|
|
3
3
|
import { S as SizeEditor } from "./size-editor-Bps566OT.js";
|
|
4
4
|
import { message } from "ant-design-vue";
|
|
5
5
|
import { ao as WidgetImageSizeMode, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BY59Q_d_.js";
|
|
@@ -4,7 +4,7 @@ import "lodash-es";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { F as FormItem, x as LineStyleOptions, C as ColorPicker } from "./index-
|
|
7
|
+
import { F as FormItem, x as LineStyleOptions, C as ColorPicker } from "./index-Bu8K2_aL.js";
|
|
8
8
|
const _hoisted_1 = { class: "ks-row-middle" };
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "widget-line",
|
|
@@ -4,10 +4,10 @@ import "lodash-es";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { F as FormItem, y as PaginationFormatOptions } from "./index-
|
|
7
|
+
import { F as FormItem, y as PaginationFormatOptions } from "./index-Bu8K2_aL.js";
|
|
8
8
|
import { S as SizeEditor } from "./size-editor-Bps566OT.js";
|
|
9
9
|
import { A as AlignEditor } from "./align-editor-DJ859WQZ.js";
|
|
10
|
-
import { F as FontEditor } from "./font-editor-
|
|
10
|
+
import { F as FontEditor } from "./font-editor-BhvNEV8G.js";
|
|
11
11
|
const _hoisted_1 = { class: "pl-6px" };
|
|
12
12
|
const _hoisted_2 = { class: "pl-6px" };
|
|
13
13
|
const DefaultCustomFormat = "Page ${no} / ${total}";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, createVNode, withCtx, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { u as useSpreadSheet, E as useReverseModeling, F as FormItem } from "./index-
|
|
3
|
-
import { S as SingleFieldDrop } from "./single-field-drop-
|
|
2
|
+
import { u as useSpreadSheet, E as useReverseModeling, F as FormItem } from "./index-Bu8K2_aL.js";
|
|
3
|
+
import { S as SingleFieldDrop } from "./single-field-drop-BIoJzq7V.js";
|
|
4
4
|
import { F as FIELD_TYPE, ad as useNamespace, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BY59Q_d_.js";
|
|
5
5
|
import { message } from "ant-design-vue";
|
|
6
6
|
import "lodash-es";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, createBlock, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-
|
|
3
|
-
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-Bu8K2_aL.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-BExU609P.js";
|
|
4
4
|
import { q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BY59Q_d_.js";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "dayjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, Fragment, renderList, createVNode, withCtx } from "vue";
|
|
2
|
-
import { F as FormItem } from "./index-
|
|
3
|
-
import { S as SingleFieldDrop } from "./single-field-drop-
|
|
2
|
+
import { F as FormItem } from "./index-Bu8K2_aL.js";
|
|
3
|
+
import { S as SingleFieldDrop } from "./single-field-drop-BIoJzq7V.js";
|
|
4
4
|
import { F as FIELD_TYPE, ad as useNamespace, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BY59Q_d_.js";
|
|
5
5
|
import { message } from "ant-design-vue";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx } from "vue";
|
|
2
|
-
import { F as FormItem } from "./index-
|
|
2
|
+
import { F as FormItem } from "./index-Bu8K2_aL.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "widget-serialnumber",
|
|
5
5
|
props: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, Fragment, createVNode, withCtx, createElementVNode } from "vue";
|
|
2
|
-
import { u as useSpreadSheet, F as FormItem } from "./index-
|
|
3
|
-
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { u as useSpreadSheet, F as FormItem } from "./index-Bu8K2_aL.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-BExU609P.js";
|
|
4
4
|
import { S as SizeEditor } from "./size-editor-Bps566OT.js";
|
|
5
5
|
import { A as AlignEditor } from "./align-editor-DJ859WQZ.js";
|
|
6
|
-
import { F as FontEditor } from "./font-editor-
|
|
6
|
+
import { F as FontEditor } from "./font-editor-BhvNEV8G.js";
|
|
7
7
|
const _hoisted_1 = { class: "pl-6px" };
|
|
8
8
|
const _hoisted_2 = { class: "pl-6px" };
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, unref, createBlock, createTextVNode, toDisplayString, createElementVNode } from "vue";
|
|
2
|
-
import { u as useSpreadSheet, h as useModelFields, F as FormItem } from "./index-
|
|
2
|
+
import { u as useSpreadSheet, h as useModelFields, F as FormItem } from "./index-Bu8K2_aL.js";
|
|
3
3
|
import { F as FIELD_TYPE, aq as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BY59Q_d_.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gct-paas/excel",
|
|
3
|
-
"version": "0.1.51-beta.
|
|
3
|
+
"version": "0.1.51-beta.2",
|
|
4
4
|
"description": "GCT Excel online form rendering",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@ant-design/icons-vue": "^6.1.0",
|
|
47
47
|
"@gct-paas/core": "0.1.6-dev.41",
|
|
48
|
-
"@gct-paas/form-base": "0.1.7-beta.
|
|
48
|
+
"@gct-paas/form-base": "0.1.7-beta.3",
|
|
49
49
|
"@gct-paas/scss": "0.1.6-dev.41",
|
|
50
50
|
"@panzoom/panzoom": "^4.6.2",
|
|
51
51
|
"@revolist/vue3-datagrid": "^4.24.2",
|