@gct-paas/excel 0.1.39-beta.40 → 0.1.39-beta.41
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-DidQ_7a_.js → BaseComponent-hWfUDepU.js} +1 -1
- package/dist/{barcode-design-B8Wx_KI7.js → barcode-design-CH7C0nTV.js} +1 -1
- package/dist/base/index.es.js +4 -4
- package/dist/{diagonal-design-Be5dGB14.js → diagonal-design-CKLfmzt9.js} +1 -1
- package/dist/{dynamic-table-action-Bmdi7alJ.js → dynamic-table-action-Dhx1ZQSa.js} +2 -2
- package/dist/excel.css +62 -11
- package/dist/{exceljs.min-wH4A-2gc.js → exceljs.min-BNsMIPFn.js} +1 -1
- package/dist/{font-editor-B57ztQI3.js → font-editor-CHZPtUHX.js} +1 -1
- package/dist/{index-Bx6NpFE9.js → index-B863k7Jl.js} +3 -3
- package/dist/{index-D7ovxfg9.js → index-BNKKUueq.js} +1 -1
- package/dist/{index-aGcBuVIb.js → index-BTr11l_g.js} +1 -1
- package/dist/{index-CF39ggy5.js → index-BVSnhxY1.js} +1 -1
- package/dist/{index-CC2qut8m.js → index-BZPA_AiO.js} +2 -2
- package/dist/{index-jvotzKm2.js → index-BfIS3NOa.js} +5 -2
- package/dist/{index-CqqJ3his.js → index-BgV92L3Y.js} +1 -1
- package/dist/{index-C8iDQtRr.js → index-Bj3c4vZy.js} +1 -1
- package/dist/{index-PFPhIStD.js → index-Bua1ArJ5.js} +1 -1
- package/dist/{index-NNGcsmsY.js → index-CDRNOYDd.js} +2 -2
- package/dist/{index-DT3EoOVp.js → index-C__SKZMl.js} +2 -2
- package/dist/{index-Bserup-h.js → index-Ca0fy776.js} +1 -1
- package/dist/{index-BNIABvw9.js → index-CbXJ1XDJ.js} +2 -2
- package/dist/{index-B0Vbs0k9.js → index-CfvZdYSY.js} +1 -1
- package/dist/{index-BMrT49e4.js → index-CiqInN9G.js} +1 -1
- package/dist/{index-BU9aiCZH.js → index-Cy4bHDfG.js} +1 -1
- package/dist/{index-B57o3Egn.js → index-D1bE-oJR.js} +259 -147
- package/dist/{index-B_f2z7Fg.js → index-D7kir0tU.js} +1 -1
- package/dist/{index-4GNzFs_7.js → index-DR6T7C4O.js} +1 -1
- package/dist/{index-BK6FsaFW.js → index-DnM4LcB4.js} +1 -1
- package/dist/{index-DM7iO1vz.js → index-DnOwWeey.js} +1 -1
- package/dist/{index-DQBCQIUX.js → index-ICNCCzD2.js} +1 -1
- package/dist/{index-D0drNdqI.js → index-LVofttI7.js} +2 -2
- package/dist/{index-BKkc9PaW.js → index-cnZ4ogvg.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{pagination-design-CcNfWRta.js → pagination-design-BjxLbj93.js} +1 -1
- package/dist/paper-widget-design-Cy2MxlCk.js +4 -0
- package/dist/{print-runtime-instance-wqeNIemM.js → print-runtime-instance-THb92xUW.js} +1 -1
- package/dist/{print-snapshot-renderer-CPFIw63J.js → print-snapshot-renderer-4jQFaAjJ.js} +3 -3
- package/dist/{qrcode-design-BjA8SQXf.js → qrcode-design-DM9kEawx.js} +1 -1
- package/dist/seal-design-C5P3oQIa.js +4 -0
- package/dist/{single-field-drop-BA3lBMcJ.js → single-field-drop-BAiIyb2u.js} +1 -1
- package/dist/src/online-form/src/views/designer/modules/xlsx-import-summary.vue.d.ts +11 -0
- package/dist/src/online-form/src/views/designer/utils/cell-field-placements.d.ts +12 -0
- package/dist/src/online-form/src/views/designer/utils/xlsx-parser.d.ts +9 -3
- package/dist/{sub-table-factory-BP2eBKGz.js → sub-table-factory-_mm1iwau.js} +1 -1
- package/dist/{text-design-CZkgq9OB.js → text-design-DfdH_3_b.js} +1 -1
- package/dist/{trace-like-wrapper-CuKzkv-c.js → trace-like-wrapper-D6lJ8e-H.js} +4 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-Vw4MwIVM.js → value-editor.vue_vue_type_style_index_0_lang-BmQGrlz8.js} +1 -1
- package/dist/{widget-barcode-W5MQVGy_.js → widget-barcode-By9P2d-R.js} +2 -2
- package/dist/{widget-diagonal-BYx_rmij.js → widget-diagonal-DMNfA-Tt.js} +2 -2
- package/dist/{widget-image-Btu_5z7c.js → widget-image-YM9YaMb-.js} +1 -1
- package/dist/{widget-line-B7NFA4CC.js → widget-line-Dl3TIfBO.js} +1 -1
- package/dist/{widget-pagination-DLS5-U_l.js → widget-pagination-9XxvQDIw.js} +2 -2
- package/dist/{widget-power-BTR1uZ_X.js → widget-power-A96VVJDG.js} +2 -2
- package/dist/{widget-qrcode-CJmioStY.js → widget-qrcode-DWseHVIM.js} +2 -2
- package/dist/{widget-rangelimit-DfuNVDsE.js → widget-rangelimit-DK8oOmC_.js} +2 -2
- package/dist/{widget-serialnumber-KeVYJBn8.js → widget-serialnumber-pue8WfA9.js} +1 -1
- package/dist/{widget-text-D6PjB04d.js → widget-text-B9O9UYK7.js} +3 -3
- package/dist/{widget-timediff-CSKXudmS.js → widget-timediff-PwNxXBrF.js} +1 -1
- package/package.json +1 -1
- package/dist/paper-widget-design-Dbo_qYm8.js +0 -4
- package/dist/seal-design-B2qsDyWv.js +0 -4
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, O as Orientation, a0 as BooleanShowMode, $ as L
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-hWfUDepU.js";
|
|
7
7
|
class DynValue extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.DynValue;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import { pick } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-
|
|
7
|
+
import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-D1bE-oJR.js";
|
|
8
8
|
class CombineFields {
|
|
9
9
|
component = ComponentTypeEnum.CombineFields;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, aw as ImageDisplayModeEnum } from "./dynamic-ta
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-hWfUDepU.js";
|
|
7
7
|
class UploadImage extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.UploadImage;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, F as FIELD_TYPE, au as RangeCompareOp, at as Ra
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-hWfUDepU.js";
|
|
7
7
|
class DateTimepicker extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.DateTimepicker;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-hWfUDepU.js";
|
|
7
7
|
class Department extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Department;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -2,9 +2,9 @@ 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 { f as normalizeSealDiameter } from "./dynamic-table-action-
|
|
5
|
+
import { f as normalizeSealDiameter } from "./dynamic-table-action-Dhx1ZQSa.js";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-hWfUDepU.js";
|
|
8
8
|
class Seal extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Seal;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-hWfUDepU.js";
|
|
7
7
|
class Userpicker extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Userpicker;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G, H, J, K, M, N, O, Q, U, B, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, x, a9, aa, y, ab, P, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, h } from "./index-
|
|
1
|
+
import { G, H, J, K, M, N, O, Q, U, B, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, x, a9, aa, y, ab, P, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, h } from "./index-D1bE-oJR.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-DOYhOffQ.js";
|
|
3
3
|
export {
|
|
4
4
|
G as AiTmplEditor,
|
|
@@ -3,7 +3,7 @@ import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style
|
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { j as calcText } from "./index-
|
|
6
|
+
import { j as calcText } from "./index-D1bE-oJR.js";
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "pagination-design",
|
|
9
9
|
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-D1bE-oJR.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
|
-
import { U as RuntimeFormStateStore, W as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-
|
|
3
|
-
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-
|
|
4
|
-
import { _ as _sfc_main$1 } from "./index-
|
|
2
|
+
import { U as RuntimeFormStateStore, W as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-Dhx1ZQSa.js";
|
|
3
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-_mm1iwau.js";
|
|
4
|
+
import { _ as _sfc_main$1 } from "./index-D1bE-oJR.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-D1bE-oJR.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 { a as useNamespace } from "./AntdIcon-DCIaV352.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-D1bE-oJR.js";
|
|
4
4
|
import { a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "single-field-drop",
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
sheets: Array<{
|
|
3
|
+
title: string;
|
|
4
|
+
rows: number;
|
|
5
|
+
cols: number;
|
|
6
|
+
fields: number;
|
|
7
|
+
}>;
|
|
8
|
+
warnings: string[];
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IBindField } from '../../../../../nocode-base/src';
|
|
2
|
+
import { ICell, IPaper } from '../types';
|
|
3
|
+
interface CellFieldPlacement {
|
|
4
|
+
cell: ICell;
|
|
5
|
+
content: ICell | NonNullable<ICell['multiFieldsContent']>[number];
|
|
6
|
+
hidden: boolean;
|
|
7
|
+
}
|
|
8
|
+
/** 合并区域仅左上角是实际填报位置,覆盖的字段保留供拆分恢复。 */
|
|
9
|
+
export declare function getCellFieldPlacements(paper: IPaper): CellFieldPlacement[];
|
|
10
|
+
/** 重新拖入被合并覆盖的字段时释放旧位置,防止拆分后恢复成重复绑定。 */
|
|
11
|
+
export declare function clearHiddenCellFieldPlacements(paper: IPaper, field: IBindField): void;
|
|
12
|
+
export {};
|
|
@@ -18,15 +18,21 @@ export type ImportedFieldMeta = {
|
|
|
18
18
|
type PaperViewportRange = [string, string];
|
|
19
19
|
export declare class XlsxParser {
|
|
20
20
|
static extractPaperFields(paper: IPaper | null, fields: ImportedFieldMeta[] | null): CellField[];
|
|
21
|
-
static xlsx2Sheets(file: any, keyList?: string[]
|
|
21
|
+
static xlsx2Sheets(file: any, keyList?: string[], options?: {
|
|
22
|
+
withFields?: boolean;
|
|
23
|
+
}): Promise<{
|
|
22
24
|
sheets: {
|
|
23
25
|
title: string;
|
|
24
26
|
paper: IPaper;
|
|
25
27
|
paperFields: CellField[];
|
|
26
28
|
}[];
|
|
27
29
|
fields: ImportedFieldMeta[] | null;
|
|
30
|
+
warnings: string[];
|
|
28
31
|
}>;
|
|
29
|
-
static sheetToPaper(paperSheet: any, xlsxData: any
|
|
32
|
+
static sheetToPaper(paperSheet: any, xlsxData: any, size?: {
|
|
33
|
+
rows: number;
|
|
34
|
+
cols: number;
|
|
35
|
+
}): {
|
|
30
36
|
floatingFields?: import('../types').FloatingSealField[];
|
|
31
37
|
sheetId: string;
|
|
32
38
|
orientation: import('../../../../../nocode-base/src').Orientation;
|
|
@@ -62,7 +68,7 @@ export declare class XlsxParser {
|
|
|
62
68
|
* @param sheet
|
|
63
69
|
* @returns
|
|
64
70
|
*/
|
|
65
|
-
static sheetToFields(sheet: any, keyList: string[]): ImportedFieldMeta[];
|
|
71
|
+
static sheetToFields(sheet: any, keyList: string[], warnings?: string[]): ImportedFieldMeta[];
|
|
66
72
|
/**
|
|
67
73
|
* 字段信息转换为元数据
|
|
68
74
|
* @param field
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shallowReactive } from "vue";
|
|
2
|
-
import { aX as SubTableActionMenuTypeEnum, aY as getMenuByAction, aZ as SubTableActionEnum, a_ as resolveScanFillData, aC as SubTableCore, a$ as getInsertSubMenu, b0 as resolveScanAdjustType, b1 as resolveScanQty, b2 as toDateOnly, b3 as hasSubtableBusinessData, b4 as getCopySubMenu, b5 as resolveScanParsedValue, b6 as isProductBatchEmptyRow } from "./dynamic-table-action-
|
|
2
|
+
import { aX as SubTableActionMenuTypeEnum, aY as getMenuByAction, aZ as SubTableActionEnum, a_ as resolveScanFillData, aC as SubTableCore, a$ as getInsertSubMenu, b0 as resolveScanAdjustType, b1 as resolveScanQty, b2 as toDateOnly, b3 as hasSubtableBusinessData, b4 as getCopySubMenu, b5 as resolveScanParsedValue, b6 as isProductBatchEmptyRow } from "./dynamic-table-action-Dhx1ZQSa.js";
|
|
3
3
|
import { E as api, cu as F$1, cv as SCAN_ROW_CONTENT_FIELDS, cw as F$2, cx as F$3, cy as runRowHandler, c as getProfileByTableType, b as isBusinessSubTableProfile, cz as F$4, cA as F$5, cB as FILL_FROM_SOURCE_PRODUCT_OPTION, cC as FILL_FROM_TARGET_MATERIAL_NO_OPTION, cD as FILL_FROM_INVENTORY_OPTION, cE as FILL_FROM_PART_OPTION, cF as FILL_FROM_INVENTORY_OPTION$1, cG as TABLE_TYPE, cH as FILL_FROM_INVENTORY_OPTION$2, b2 as F$6, cI as INVENTORY_BASE_FIELDS, cJ as resolveGroupByWarehouse, cK as AUTO_LOAD_READONLY_SELECT_FIELDS, b1 as STOCKTAKE_DIMENSION, a_ as getParseRuleInfo, cL as buildFillFromInventoryOption, bR as calcFillData, cM as resolveStocktakeInventoryApi, a$ as getParseRuleValue, cN as F$7, cO as FILL_FROM_INVENTORY_OPTION$3, bX as extractKeywordFromQueryData, cP as composeProductionLotListQuery, aH as resolveLotDisplayLabel, cQ as F$8, cR as isProductManuallyEditable, cS as applyFillFromMfgOrderOption, cT as applyFillFromOption$1, cU as applyFillFromProductOption, aY as ProductionIdentificationTypeEnum, aR as LOT_CONTAINER_ROLE, cV as MATERIAL_CONTAINER_ID, cW as F$9, cX as PRODUCT_QUICK_SEARCH_FIELDS, cY as PRODUCT_QUICK_SEARCH_EXP, cZ as isProductManuallyEditable$1, c_ as applyFillFromMaterialNoOption, c$ as applyFillFromProductOption$1, d0 as F$a, d1 as FILL_FROM_INVENTORY_OPTION$4, X as FormTypeEnum, aC as transformUtils, f as SubTableType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
|
|
4
4
|
import { has, merge } from "lodash-es";
|
|
5
5
|
function isBlank$4(value) {
|
|
@@ -3,7 +3,7 @@ import { pick } from "lodash-es";
|
|
|
3
3
|
import { Q as PaperWidgeValueType, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { u as useSpreadSheet, h as useModelFields } from "./index-
|
|
6
|
+
import { u as useSpreadSheet, h as useModelFields } from "./index-D1bE-oJR.js";
|
|
7
7
|
const _hoisted_1 = { class: "ws-pre-wrap" };
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "text-design",
|
|
@@ -3,12 +3,15 @@ import { F as FIELD_TYPE, aZ as BindCmpStyleEnum } from "./dynamic-table-action.
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-
|
|
6
|
+
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-D1bE-oJR.js";
|
|
7
7
|
function getTraceLikeSelectProps(data) {
|
|
8
8
|
const isSubtableMfgOrder = !!data.info.subModelKey && (data.info.bizType === FIELD_TYPE.MFG_ORDER || data.info.fieldType === FIELD_TYPE.MFG_ORDER);
|
|
9
9
|
const displayFields = (() => {
|
|
10
10
|
if (isSterilizationLotField(data.info)) return getSterilizationLotDisplayFields();
|
|
11
11
|
if (isSubtableMfgOrder) {
|
|
12
|
+
if (!["pretreatment-list", "PRETREATMENT_LIST"].includes(data.info.subModelType ?? "")) {
|
|
13
|
+
return [{ key: "code_", name: $t("sys.edhr.field.code") }];
|
|
14
|
+
}
|
|
12
15
|
return [
|
|
13
16
|
{ key: "code_", name: $t("sys.edhr.field.code") },
|
|
14
17
|
{ key: "product_id_name_", name: "产品名称" },
|
|
@@ -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-D1bE-oJR.js";
|
|
4
4
|
import { Q as PaperWidgeValueType, aq as ExpressionModeEnum, as as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
@@ -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-D1bE-oJR.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-BmQGrlz8.js";
|
|
4
4
|
import { o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.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-D1bE-oJR.js";
|
|
3
3
|
import { defaults } from "lodash-es";
|
|
4
4
|
import { F as FIELD_TYPE, a7 as _export_sfc, ag as DiagonalDirection, ak as DiagonalVertex, cc as migrateDiagonalDirectionToVertex } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import { message } from "ant-design-vue";
|
|
7
7
|
import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
8
|
-
import { S as SingleFieldDrop } from "./single-field-drop-
|
|
8
|
+
import { S as SingleFieldDrop } from "./single-field-drop-BAiIyb2u.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-D1bE-oJR.js";
|
|
3
3
|
import { S as SizeEditor } from "./size-editor-BV0KrQ37.js";
|
|
4
4
|
import { message } from "ant-design-vue";
|
|
5
5
|
import { ah as WidgetImageSizeMode, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
|
|
@@ -3,7 +3,7 @@ import { ai as LineDirection } from "./dynamic-table-action.vue_vue_type_style_i
|
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { F as FormItem, x as LineStyleOptions, C as ColorPicker } from "./index-
|
|
6
|
+
import { F as FormItem, x as LineStyleOptions, C as ColorPicker } from "./index-D1bE-oJR.js";
|
|
7
7
|
const _hoisted_1 = { class: "ks-row-middle" };
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "widget-line",
|
|
@@ -3,10 +3,10 @@ import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style
|
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { F as FormItem, y as PaginationFormatOptions } from "./index-
|
|
6
|
+
import { F as FormItem, y as PaginationFormatOptions } from "./index-D1bE-oJR.js";
|
|
7
7
|
import { S as SizeEditor } from "./size-editor-BV0KrQ37.js";
|
|
8
8
|
import { A as AlignEditor } from "./align-editor-0EJDQ9xk.js";
|
|
9
|
-
import { F as FontEditor } from "./font-editor-
|
|
9
|
+
import { F as FontEditor } from "./font-editor-CHZPtUHX.js";
|
|
10
10
|
const _hoisted_1 = { class: "pl-6px" };
|
|
11
11
|
const _hoisted_2 = { class: "pl-6px" };
|
|
12
12
|
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-D1bE-oJR.js";
|
|
3
|
+
import { S as SingleFieldDrop } from "./single-field-drop-BAiIyb2u.js";
|
|
4
4
|
import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
5
5
|
import { F as FIELD_TYPE, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
|
|
6
6
|
import { message } from "ant-design-vue";
|
|
@@ -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-D1bE-oJR.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-BmQGrlz8.js";
|
|
4
4
|
import { o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.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-D1bE-oJR.js";
|
|
3
|
+
import { S as SingleFieldDrop } from "./single-field-drop-BAiIyb2u.js";
|
|
4
4
|
import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
5
5
|
import { F as FIELD_TYPE, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
|
|
6
6
|
import { message } from "ant-design-vue";
|
|
@@ -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-D1bE-oJR.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-D1bE-oJR.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-BmQGrlz8.js";
|
|
4
4
|
import { S as SizeEditor } from "./size-editor-BV0KrQ37.js";
|
|
5
5
|
import { A as AlignEditor } from "./align-editor-0EJDQ9xk.js";
|
|
6
|
-
import { F as FontEditor } from "./font-editor-
|
|
6
|
+
import { F as FontEditor } from "./font-editor-CHZPtUHX.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-D1bE-oJR.js";
|
|
3
3
|
import { F as FIELD_TYPE, aj as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
package/package.json
CHANGED