@gct-paas/excel 0.1.33 → 0.1.34
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-QH47BZYH.js → BaseComponent-_Tw8N_6J.js} +1 -1
- package/dist/{barcode-design-DiIS1gNc.js → barcode-design-l1M7YhQ4.js} +1 -1
- package/dist/base/index.es.js +2 -2
- package/dist/{diagonal-design-Dlq2NlNE.js → diagonal-design-9sIwuCOq.js} +1 -1
- package/dist/{dynamic-table-action-D-axSJVP.js → dynamic-table-action-Bgwu2J5-.js} +9 -4
- package/dist/{exceljs.min-CqMyKpM3.js → exceljs.min-BC8M-dtv.js} +1 -1
- package/dist/{font-editor-YZwEiqSS.js → font-editor-CsclZy98.js} +1 -1
- package/dist/{index-BzLs7VMv.js → index-0Rza_pO7.js} +1 -1
- package/dist/{index-CUqEO4di.js → index-6ngOgN2T.js} +1 -1
- package/dist/{index-JBw-iMqr.js → index-BQMk49wv.js} +1 -1
- package/dist/{index-BBMWNymr.js → index-BgCogSDc.js} +1 -1
- package/dist/{index-BsINOoan.js → index-BmNtd4fF.js} +1 -1
- package/dist/{index-G4AQrMgx.js → index-BqLIOyYU.js} +2 -2
- package/dist/{index-yioAk3Lm.js → index-CIIhgR7l.js} +1 -1
- package/dist/{index-SmWabE6L.js → index-CT5-f2Au.js} +1 -1
- package/dist/{index-DOe_vbNZ.js → index-CZ3sFBq-.js} +1 -1
- package/dist/{index-BpiiOmU7.js → index-ChxSu2Nh.js} +1 -1
- package/dist/{index-UuC3K_km.js → index-CvR85MT_.js} +1 -1
- package/dist/{index-BRlNzGtZ.js → index-D0JsOfx9.js} +1 -1
- package/dist/{index-BZLUBq9c.js → index-D874iHsv.js} +1 -1
- package/dist/{index-WWP_bNEW.js → index-DAKyKA6u.js} +43 -29
- package/dist/{index-BerwVhz-.js → index-DWM0h8VY.js} +1 -1
- package/dist/{index-BoIfj26G.js → index-DX_Q7-Ex.js} +1 -1
- package/dist/{index-DM5va-M0.js → index-Dk8Tzd5l.js} +2 -2
- package/dist/{index-B0n76qw3.js → index-PgiiSnTz.js} +1 -1
- package/dist/{index-BoGQt_z8.js → index-Q6EM0L2a.js} +2 -2
- package/dist/{index-DSxQW0Eu.js → index-RZFebqUU.js} +2 -2
- package/dist/{index-C-kqDeYD.js → index-TcBAhuR3.js} +1 -1
- package/dist/{index-jcNuZQe-.js → index-i-kXn1Pm.js} +1 -1
- package/dist/{index-vqXiNAFc.js → index-jDUqcMDS.js} +2 -2
- package/dist/index.es.js +1 -1
- package/dist/{pagination-design-Bxtn0Tcj.js → pagination-design-DMqBR1NA.js} +1 -1
- package/dist/paper-widget-design-C8fkvFqe.js +4 -0
- package/dist/{qrcode-design-C_Ps-Wb2.js → qrcode-design-10wjLIKT.js} +1 -1
- package/dist/{single-field-drop-DmFtvydW.js → single-field-drop-DkY3m6YN.js} +1 -1
- package/dist/src/online-form/src/views/render/__components__/_common_/widget-component.vue.d.ts +3 -1
- package/dist/{text-design-Cl9vHbq5.js → text-design-CbV0vuqF.js} +1 -1
- package/dist/{trace-like-wrapper-De2qx1IG.js → trace-like-wrapper-X6CpvzRL.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-DqROGWNL.js → value-editor.vue_vue_type_style_index_0_lang-CRA6eXLm.js} +1 -1
- package/dist/{widget-barcode-DgC3sCzk.js → widget-barcode-Cu626jK0.js} +2 -2
- package/dist/{widget-diagonal-vIXLuLtX.js → widget-diagonal-GjbFYzj9.js} +2 -2
- package/dist/{widget-image-BzIWHWyi.js → widget-image-DVagnQCr.js} +1 -1
- package/dist/{widget-line-LJwGVJug.js → widget-line-CRSekvVI.js} +1 -1
- package/dist/{widget-pagination-ri_4BLdH.js → widget-pagination-DWxAH-L-.js} +2 -2
- package/dist/{widget-power-DwS4V4oM.js → widget-power-CP0-k64v.js} +2 -2
- package/dist/{widget-qrcode-BDwZdgpF.js → widget-qrcode-BmLxlcml.js} +2 -2
- package/dist/{widget-rangelimit-BAzKSvjH.js → widget-rangelimit-CWU0hpQa.js} +2 -2
- package/dist/{widget-serialnumber-IxaRP9FK.js → widget-serialnumber-RrIf7OeB.js} +1 -1
- package/dist/{widget-text-BASemodd.js → widget-text-C_-KzTvw.js} +3 -3
- package/dist/{widget-timediff-BcxQF4ra.js → widget-timediff-DypM9RjI.js} +1 -1
- package/package.json +1 -1
- package/dist/paper-widget-design-DjqAUl3n.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as normalizeFieldWidth } from "./dynamic-table-action-
|
|
1
|
+
import { n as normalizeFieldWidth } from "./dynamic-table-action-Bgwu2J5-.js";
|
|
2
2
|
import { get, pick } from "lodash-es";
|
|
3
3
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
4
4
|
class BaseComponent {
|
|
@@ -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, d as useModelFields, l as loadBwip } from "./index-
|
|
3
|
+
import { u as useSpreadSheet, d as useModelFields, l as loadBwip } from "./index-DAKyKA6u.js";
|
|
4
4
|
import { M as PaperWidgeValueType, a4 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
package/dist/base/index.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { bp as fetchHistoryConsume, bq as isBomGranted, F as FIELD_TYPE, z as api, br as F$1, bs as F$2, bt as runRowHandler, h as getProfileByTableType, f as isBusinessSubTableProfile, bu as F$3, bv as F$4, bw as FILL_FROM_INVENTORY_OPTION, bx as FILL_FROM_PART_OPTION, by as FILL_FROM_INVENTORY_OPTION$1, bz as TABLE_TYPE, bA as FILL_FROM_INVENTORY_OPTION$2, b5 as F$5, bB as INVENTORY_BASE_FIELDS, bC as resolveGroupByWarehouse, bD as AUTO_LOAD_READONLY_SELECT_FIELDS, b4 as STOCKTAKE_DIMENSION, b1 as getParseRuleInfo, bE as buildFillFromInventoryOption, bF as calcFillData, bG as resolveStocktakeInventoryApi, b2 as getParseRuleValue, bH as F$6, bI as FILL_FROM_INVENTORY_OPTION$3, bJ as extractKeywordFromQueryData, bK as composeProductionLotListQuery, aF as resolveLotDisplayLabel, bL as F$7, bM as isProductManuallyEditable, bN as applyFillFromMfgOrderOption, bO as applyFillFromOption$1, bP as applyFillFromProductOption, aT as LOT_CONTAINER_ROLE, bQ as MATERIAL_CONTAINER_ID, bR as F$8, bS as PRODUCT_QUICK_SEARCH_FIELDS, bT as PRODUCT_QUICK_SEARCH_EXP, bU as isProductManuallyEditable$1, bV as applyFillFromMaterialNoOption, bW as applyFillFromProductOption$1, bX as F$9, bY as FILL_FROM_INVENTORY_OPTION$4, V as FormTypeEnum, bb as transformUtils, l as SubTableType, aW as NCB_PROVIDE, bZ as settleAndValidateDisplay, b_ as unregisterValidationContext, b$ as clearFormRules, c0 as registerValidationContext, C as ComponentTypeEnum, bf as RenderModeEnum, c1 as requestFullValidation, c2 as requestDisplayValidation, aV as renderUtils, c3 as closeValidatorPopovers, c4 as baseDataUtils, c5 as getRawFormRuleMeta, c6 as enrichFormChangeRowDetails, c7 as settleAfterModeSwitch, c8 as calcUtils, aG as CheckDsTypeEnum, Z as PlatformEnum, c9 as uuid2, ca as normalizeToArray, cb as safeParseArray, cc as BpmnNodeTypeEnum, cd as mergeByMultiKey, bo as useNocodeEmitter, ce as commonUtils, aE as EntityModelCategoryEnum, cf as getRowId, cg as collectFormChangeFieldLocations, ch as nextFormChangeRowViewHistoryId } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
|
|
2
2
|
import { aJ, aL, b0, $, ci, cj, B, ck, x, ab, cl, cm, cn, bd, co, aS, au, aK, aH, aI, cp, ac, ag, cq, cr, aB, aa, av, aN, _, ae, L, cs, ct, O, o, P, a6, n, M, aM, cu, at, as, a2, a0, a1, a3, cv, af, aj, ad, cw, cx, cy, bc, cz, cA, cB, cC, cD, cE, cF, cG, cH, cI, cJ, aZ, cK, cL, cM, cN, cO, cP, cQ, cR, cS, cT, cU, cV, cW, cX, aY, cY, b7, cZ, c_, c$, ba, d0, d1, d2, d3, ah, q, d4, d5, aR, d6, aQ, aO, d7, N, b3, bg, a$, d8, be, aP, a_ } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
|
|
3
|
-
import { M as MaterialConsumptionPatternEnum, o as MaterialConsumeTableController, i as isEdhrSuite, p as SubTableCore, q as SubTableActionMenuTypeEnum, s as getMenuByAction, t as SubTableActionEnum, w as getInsertSubMenu, x as resolveScanAdjustType, y as resolveScanQty, z as toDateOnly, A as getCopySubMenu, C as resolveScanParsedValue, F as resolveScanFillData, G as isProductBatchEmptyRow, H as useMaterialBalance, J as validate, K as validateObjectBomQtyOnSubmit } from "../dynamic-table-action-
|
|
4
|
-
import { B as B2, L as L2, D, _ as _2, N as N2, l, O as O2, m, E, P as P2, Q, I, T, U, e, b, f, V, g, h, W, X, Y, Z, c, r, d, u, j, a, k, v } from "../dynamic-table-action-
|
|
3
|
+
import { M as MaterialConsumptionPatternEnum, o as MaterialConsumeTableController, i as isEdhrSuite, p as SubTableCore, q as SubTableActionMenuTypeEnum, s as getMenuByAction, t as SubTableActionEnum, w as getInsertSubMenu, x as resolveScanAdjustType, y as resolveScanQty, z as toDateOnly, A as getCopySubMenu, C as resolveScanParsedValue, F as resolveScanFillData, G as isProductBatchEmptyRow, H as useMaterialBalance, J as validate, K as validateObjectBomQtyOnSubmit } from "../dynamic-table-action-Bgwu2J5-.js";
|
|
4
|
+
import { B as B2, L as L2, D, _ as _2, N as N2, l, O as O2, m, E, P as P2, Q, I, T, U, e, b, f, V, g, h, W, X, Y, Z, c, r, d, u, j, a, k, v } from "../dynamic-table-action-Bgwu2J5-.js";
|
|
5
5
|
import { ref, provide, watch, computed, onUnmounted, onBeforeMount } from "vue";
|
|
6
6
|
import { defaults, has, merge, isEmpty, cloneDeep, debounce } from "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock } from "vue";
|
|
2
|
-
import { d as useModelFields, D as Diagonal } from "./index-
|
|
2
|
+
import { d as useModelFields, D as Diagonal } from "./index-DAKyKA6u.js";
|
|
3
3
|
import { ah as resolveDiagonalVertex, a4 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -5606,11 +5606,16 @@ const DocumentPaper = /* @__PURE__ */ defineComponent({
|
|
|
5606
5606
|
quickFill
|
|
5607
5607
|
} = table;
|
|
5608
5608
|
const {
|
|
5609
|
+
l: leftNo,
|
|
5609
5610
|
r: rightNo,
|
|
5610
5611
|
t: topNo
|
|
5611
5612
|
} = range;
|
|
5612
|
-
const firstTrId = widgetCenter[ComponentTypeEnum.PAPER].nextIds[topNo - 1];
|
|
5613
|
-
const
|
|
5613
|
+
const firstTrId = table.topTrId ?? widgetCenter[ComponentTypeEnum.PAPER].nextIds[topNo - 1];
|
|
5614
|
+
const actionTdId = widgetCenter[firstTrId]?.nextIds.slice(leftNo - 1, rightNo).reverse().find((tdId) => {
|
|
5615
|
+
const td = widgetCenter[tdId];
|
|
5616
|
+
return td?.cellValueType && !td.cellHidden;
|
|
5617
|
+
});
|
|
5618
|
+
if (!actionTdId) return;
|
|
5614
5619
|
const columns = Object.values(widgetCenter[ComponentTypeEnum.PAPER].props.fixedTableFieldMap || {}).filter((o) => o.fieldMeta?.subFieldKey === subFieldKey).map((o) => {
|
|
5615
5620
|
const {
|
|
5616
5621
|
fieldMeta,
|
|
@@ -5623,7 +5628,7 @@ const DocumentPaper = /* @__PURE__ */ defineComponent({
|
|
|
5623
5628
|
};
|
|
5624
5629
|
});
|
|
5625
5630
|
const columnKeys = columns.map((c) => c.prop);
|
|
5626
|
-
map[
|
|
5631
|
+
map[actionTdId] = {
|
|
5627
5632
|
subFieldKey,
|
|
5628
5633
|
subModelKey,
|
|
5629
5634
|
range,
|
|
@@ -5867,7 +5872,7 @@ const DocumentPaper = /* @__PURE__ */ defineComponent({
|
|
|
5867
5872
|
...widgetAttrs,
|
|
5868
5873
|
dynamicConfig
|
|
5869
5874
|
}) : null,
|
|
5870
|
-
// [固定表]
|
|
5875
|
+
// 在[固定表]顶部的可见单元格上加装操作按钮
|
|
5871
5876
|
tableAction: (() => {
|
|
5872
5877
|
const fixedTableActionVisible = fixedTableInfo?.quickFillVisible && !filledFixedTableKeys.value.includes(fixedTableInfo.subFieldKey);
|
|
5873
5878
|
return () => fixedTableActionVisible ? createVNode(_sfc_main$2, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { I as commonjsGlobal, J as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
|
|
2
|
-
import { c as commonjsRequire } from "./index-
|
|
2
|
+
import { c as commonjsRequire } from "./index-DAKyKA6u.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-Bk5NBwxp.js";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
|
-
import { p as _sfc_main$1, C as ColorPicker } from "./index-
|
|
4
|
+
import { p as _sfc_main$1, C as ColorPicker } from "./index-DAKyKA6u.js";
|
|
5
5
|
import { a4 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
|
|
6
6
|
const _hoisted_1 = { class: "ks-row-middle mb-6px" };
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, F as FIELD_TYPE, at as RangeCompareOp, as 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-_Tw8N_6J.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-_Tw8N_6J.js";
|
|
7
7
|
class Department extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Department;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, av as ImageDisplayModeEnum, a0 as SignatureNumb
|
|
|
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-_Tw8N_6J.js";
|
|
7
7
|
class Sign extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Sign;
|
|
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 { g as getFieldWidget } from "./index-
|
|
7
|
+
import { g as getFieldWidget } from "./index-DAKyKA6u.js";
|
|
8
8
|
class CombineFields {
|
|
9
9
|
component = ComponentTypeEnum.CombineFields;
|
|
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-_Tw8N_6J.js";
|
|
7
7
|
class UploadFile extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.UploadFile;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,8 +3,8 @@ import "vue";
|
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-_Tw8N_6J.js";
|
|
7
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-X6CpvzRL.js";
|
|
8
8
|
class RdoSelect extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.RdoSelect;
|
|
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-_Tw8N_6J.js";
|
|
7
7
|
class Userpicker extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Userpicker;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, av 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-_Tw8N_6J.js";
|
|
7
7
|
class UploadImage extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.UploadImage;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, au as DecimalDisplayMode, at as RangeCompareOp,
|
|
|
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-_Tw8N_6J.js";
|
|
7
7
|
class InputNumber extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Inputnumber;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import "vue";
|
|
|
3
3
|
import { pick, has, isEmpty, cloneDeep, get } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { A as AsyncGctOnlineComponents } from "./index-
|
|
6
|
+
import { A as AsyncGctOnlineComponents } from "./index-DAKyKA6u.js";
|
|
7
7
|
class Tr {
|
|
8
8
|
component = "tr";
|
|
9
9
|
wrapperCmpConfig({ data, parent }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, at as RangeCompareOp, as as RangeValidateMode }
|
|
|
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-_Tw8N_6J.js";
|
|
7
7
|
class Datepicker extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Datepicker;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { pick, isEmpty, 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-DAKyKA6u.js";
|
|
3
3
|
import { C as ComponentTypeEnum, x as CellType, n as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "dayjs";
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, au as DecimalDisplayMode, at as RangeCompareOp,
|
|
|
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-_Tw8N_6J.js";
|
|
7
7
|
class InputDouble extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.InputDouble;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -7,7 +7,7 @@ import * as Antd from "ant-design-vue";
|
|
|
7
7
|
import { message, Modal, Empty, InputSearch, Cascader, ConfigProvider, Tooltip as Tooltip$1, Input, Tree, Transfer, Select, Tag, AutoComplete, TimePicker, DatePicker, Textarea, TreeSelect, CheckboxGroup, Checkbox, Radio, RadioGroup } from "ant-design-vue";
|
|
8
8
|
import { S as SEARCH_SEVICE, I as Icon$1, w as warning, u as useInsertStyles, s as svgBaseProps, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$5W, a as SignatureTypeEnum$1 } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-D0gNSgDm.js";
|
|
9
9
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
10
|
-
import { n as normalizeFieldWidth, B as BorderTD, u as useFormTmplConfig, D as DeviceLinkTmplUtil, a as useTmplBom, g as getObjectBomMaterialLotQuery, b as buildObjectLotExtraQuery, r as resolveObjectFieldKeys, M as MaterialConsumptionPatternEnum, v as validateObjectBomForScan, c as resolveObjectBomEntry, d as runWithFillProduct, e as applyConsumeObjectTraceChange, i as isEdhrSuite, I as InstanceStatusValues, f as fetchOperationReceiveQty, h as getObjectBomProductQuery, E as EMPTY_PRODUCT_VERSION_ID, j as useStyles, k as useValidator, S as ScanParamType, R as RequiredQtyCalcRule, _ as _sfc_main$5Y, l as DocumentPaper, m as DynamicTableAction } from "./dynamic-table-action-
|
|
10
|
+
import { n as normalizeFieldWidth, B as BorderTD, u as useFormTmplConfig, D as DeviceLinkTmplUtil, a as useTmplBom, g as getObjectBomMaterialLotQuery, b as buildObjectLotExtraQuery, r as resolveObjectFieldKeys, M as MaterialConsumptionPatternEnum, v as validateObjectBomForScan, c as resolveObjectBomEntry, d as runWithFillProduct, e as applyConsumeObjectTraceChange, i as isEdhrSuite, I as InstanceStatusValues, f as fetchOperationReceiveQty, h as getObjectBomProductQuery, E as EMPTY_PRODUCT_VERSION_ID, j as useStyles, k as useValidator, S as ScanParamType, R as RequiredQtyCalcRule, _ as _sfc_main$5Y, l as DocumentPaper, m as DynamicTableAction } from "./dynamic-table-action-Bgwu2J5-.js";
|
|
11
11
|
import { u as useWebUpload, i as initWebPaasUploadApis, d as defaultWindow, a as useEventListener, b as unrefElement, c as useIntersectionObserver, e as cacheAdapter, A as AddRuleBtn, M as ModalWrapper, F as FormFieldSelect, o as onClickOutside$1, r as require$$0, U as Uploader, _ as _sfc_main$5X, f as initWebNocodeAdapter } from "./index-CkNER_VJ.js";
|
|
12
12
|
import { useFormBaseModal, FormBaseModalPlugin } from "@gct-paas/form-base";
|
|
13
13
|
import { Tooltip, Grid, Table, Column, Icon as Icon$2, Edit, Validator, VxeGrid } from "vxe-table";
|
|
@@ -1218,7 +1218,7 @@ function openWindow(url, opt) {
|
|
|
1218
1218
|
const FieldPropLabels = Object.entries(FIELD_PROP_LABEL_MAP);
|
|
1219
1219
|
const FieldTypeLabels = Object.entries(FIELD_TYPE_LABEL_MAP);
|
|
1220
1220
|
async function createWorkbook() {
|
|
1221
|
-
const ExcelJs = (await import("./exceljs.min-
|
|
1221
|
+
const ExcelJs = (await import("./exceljs.min-BC8M-dtv.js").then((n) => n.e)).default;
|
|
1222
1222
|
return new ExcelJs.Workbook();
|
|
1223
1223
|
}
|
|
1224
1224
|
class XlsxParser {
|
|
@@ -1505,27 +1505,27 @@ class XlsxParser {
|
|
|
1505
1505
|
}
|
|
1506
1506
|
function asyncImportClassModules() {
|
|
1507
1507
|
const modules = /* @__PURE__ */ Object.assign({
|
|
1508
|
-
"./_field_/auto-complete/index.ts": () => import("./index-
|
|
1509
|
-
"./_field_/datepicker/index.ts": () => import("./index-
|
|
1510
|
-
"./_field_/datetimepicker/index.ts": () => import("./index-
|
|
1511
|
-
"./_field_/department/index.ts": () => import("./index-
|
|
1512
|
-
"./_field_/enum-select/index.ts": () => import("./index-
|
|
1513
|
-
"./_field_/input/index.ts": () => import("./index-
|
|
1514
|
-
"./_field_/inputdouble/index.ts": () => import("./index-
|
|
1515
|
-
"./_field_/inputnumber/index.ts": () => import("./index-
|
|
1516
|
-
"./_field_/rdo-select/index.ts": () => import("./index-
|
|
1517
|
-
"./_field_/select/index.ts": () => import("./index-
|
|
1518
|
-
"./_field_/sign/index.ts": () => import("./index-
|
|
1519
|
-
"./_field_/switch/index.ts": () => import("./index-
|
|
1520
|
-
"./_field_/textarea/index.ts": () => import("./index-
|
|
1521
|
-
"./_field_/timepicker/index.ts": () => import("./index-
|
|
1522
|
-
"./_field_/upload-file/index.ts": () => import("./index-
|
|
1523
|
-
"./_field_/upload-image/index.ts": () => import("./index-
|
|
1524
|
-
"./_field_/userpicker/index.ts": () => import("./index-
|
|
1508
|
+
"./_field_/auto-complete/index.ts": () => import("./index-RZFebqUU.js").then((m) => m["default"]),
|
|
1509
|
+
"./_field_/datepicker/index.ts": () => import("./index-CvR85MT_.js").then((m) => m["default"]),
|
|
1510
|
+
"./_field_/datetimepicker/index.ts": () => import("./index-0Rza_pO7.js").then((m) => m["default"]),
|
|
1511
|
+
"./_field_/department/index.ts": () => import("./index-6ngOgN2T.js").then((m) => m["default"]),
|
|
1512
|
+
"./_field_/enum-select/index.ts": () => import("./index-Dk8Tzd5l.js").then((m) => m["default"]),
|
|
1513
|
+
"./_field_/input/index.ts": () => import("./index-i-kXn1Pm.js").then((m) => m["default"]),
|
|
1514
|
+
"./_field_/inputdouble/index.ts": () => import("./index-D874iHsv.js").then((m) => m["default"]),
|
|
1515
|
+
"./_field_/inputnumber/index.ts": () => import("./index-CZ3sFBq-.js").then((m) => m["default"]),
|
|
1516
|
+
"./_field_/rdo-select/index.ts": () => import("./index-BqLIOyYU.js").then((m) => m["default"]),
|
|
1517
|
+
"./_field_/select/index.ts": () => import("./index-Q6EM0L2a.js").then((m) => m["default"]),
|
|
1518
|
+
"./_field_/sign/index.ts": () => import("./index-BQMk49wv.js").then((m) => m["default"]),
|
|
1519
|
+
"./_field_/switch/index.ts": () => import("./index-jDUqcMDS.js").then((m) => m["default"]),
|
|
1520
|
+
"./_field_/textarea/index.ts": () => import("./index-DWM0h8VY.js").then((m) => m["default"]),
|
|
1521
|
+
"./_field_/timepicker/index.ts": () => import("./index-PgiiSnTz.js").then((m) => m["default"]),
|
|
1522
|
+
"./_field_/upload-file/index.ts": () => import("./index-BmNtd4fF.js").then((m) => m["default"]),
|
|
1523
|
+
"./_field_/upload-image/index.ts": () => import("./index-CT5-f2Au.js").then((m) => m["default"]),
|
|
1524
|
+
"./_field_/userpicker/index.ts": () => import("./index-CIIhgR7l.js").then((m) => m["default"]),
|
|
1525
1525
|
"./_widget_/barcode/index.ts": () => import("./index-BCm5uXm-.js").then((m) => m["default"]),
|
|
1526
|
-
"./_widget_/combine-fields/index.ts": () => import("./index-
|
|
1527
|
-
"./_widget_/diagonal/index.ts": () => import("./index-
|
|
1528
|
-
"./_widget_/dyn-value/index.ts": () => import("./index-
|
|
1526
|
+
"./_widget_/combine-fields/index.ts": () => import("./index-BgCogSDc.js").then((m) => m["default"]),
|
|
1527
|
+
"./_widget_/diagonal/index.ts": () => import("./index-DX_Q7-Ex.js").then((m) => m["default"]),
|
|
1528
|
+
"./_widget_/dyn-value/index.ts": () => import("./index-TcBAhuR3.js").then((m) => m["default"]),
|
|
1529
1529
|
"./_widget_/image/index.ts": () => import("./index-C6yP97M1.js").then((m) => m["default"]),
|
|
1530
1530
|
"./_widget_/line/index.ts": () => import("./index-DIPExK1-.js").then((m) => m["default"]),
|
|
1531
1531
|
"./_widget_/power/index.ts": () => import("./index-DZZB4Wki.js").then((m) => m["default"]),
|
|
@@ -1535,8 +1535,8 @@ function asyncImportClassModules() {
|
|
|
1535
1535
|
"./_widget_/sub-table/index.ts": () => import("./index-Dnv99kDV.js").then((m) => m["default"]),
|
|
1536
1536
|
"./_widget_/timediff/index.ts": () => import("./index-DK3WaVk5.js").then((m) => m["default"]),
|
|
1537
1537
|
"./paper/index.ts": () => import("./index-C3OVB8dF.js").then((m) => m["default"]),
|
|
1538
|
-
"./td/index.ts": () => import("./index-
|
|
1539
|
-
"./tr/index.ts": () => import("./index-
|
|
1538
|
+
"./td/index.ts": () => import("./index-D0JsOfx9.js").then((m) => m["default"]),
|
|
1539
|
+
"./tr/index.ts": () => import("./index-ChxSu2Nh.js").then((m) => m["default"])
|
|
1540
1540
|
});
|
|
1541
1541
|
return modules;
|
|
1542
1542
|
}
|
|
@@ -9274,7 +9274,14 @@ const useAllSpreadSheets = () => {
|
|
|
9274
9274
|
...obj.pretreatmentTableList,
|
|
9275
9275
|
...props2?.pretreatmentTableList || []
|
|
9276
9276
|
];
|
|
9277
|
-
obj.fixedTables = [
|
|
9277
|
+
obj.fixedTables = [
|
|
9278
|
+
...obj.fixedTables,
|
|
9279
|
+
...(s.paper?.fixedTables ?? []).map((table) => ({
|
|
9280
|
+
...table,
|
|
9281
|
+
// 固定表范围使用 sheet 内行号,渲染时需要对应运行时的行 ID。
|
|
9282
|
+
topTrId: json.paper.nextIds[table.range.t - 1]
|
|
9283
|
+
}))
|
|
9284
|
+
];
|
|
9278
9285
|
obj.fixedTableFieldMap = {
|
|
9279
9286
|
...obj.fixedTableFieldMap,
|
|
9280
9287
|
...caculateRowIdx(props2?.fixedTableFieldMap || {}, s.startIndex * 1e4)
|
|
@@ -16012,7 +16019,7 @@ function asyncImportWidgetConfigList() {
|
|
|
16012
16019
|
return widgetConfigList;
|
|
16013
16020
|
}
|
|
16014
16021
|
function asyncImportWidgetDesign() {
|
|
16015
|
-
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "./barcode/barcode-design.vue": () => import("./barcode-design-
|
|
16022
|
+
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "./barcode/barcode-design.vue": () => import("./barcode-design-l1M7YhQ4.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-9sIwuCOq.js"), "./image/image-design.vue": () => import("./image-design-DnAdcfkb.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-DMqBR1NA.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-C8fkvFqe.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-10wjLIKT.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-nwsYg88n.js"), "./text/text-design.vue": () => import("./text-design-CbV0vuqF.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-CRhHuuBP.js") });
|
|
16016
16023
|
const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
|
|
16017
16024
|
const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
|
|
16018
16025
|
if (mKey) {
|
|
@@ -29693,7 +29700,7 @@ const _sfc_main$4z = /* @__PURE__ */ defineComponent({
|
|
|
29693
29700
|
});
|
|
29694
29701
|
const FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$4z, [["__scopeId", "data-v-463388f0"]]);
|
|
29695
29702
|
function asyncImportWidgetProp() {
|
|
29696
|
-
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-
|
|
29703
|
+
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-Cu626jK0.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-GjbFYzj9.js"), "./widget-image.vue": () => import("./widget-image-DVagnQCr.js"), "./widget-line.vue": () => import("./widget-line-CRSekvVI.js"), "./widget-pagination.vue": () => import("./widget-pagination-DWxAH-L-.js"), "./widget-power.vue": () => import("./widget-power-CP0-k64v.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-BmLxlcml.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-CWU0hpQa.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-RrIf7OeB.js"), "./widget-text.vue": () => import("./widget-text-C_-KzTvw.js"), "./widget-timediff.vue": () => import("./widget-timediff-DypM9RjI.js") });
|
|
29697
29704
|
const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
|
|
29698
29705
|
const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
|
|
29699
29706
|
if (mKey) {
|
|
@@ -78037,6 +78044,10 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
78037
78044
|
return acc;
|
|
78038
78045
|
}, {});
|
|
78039
78046
|
const { cmpKey } = useOnlineFormTransformField2Component(config2.fieldType) || {};
|
|
78047
|
+
if (!cmpKey) {
|
|
78048
|
+
widgetSchema.value = void 0;
|
|
78049
|
+
return;
|
|
78050
|
+
}
|
|
78040
78051
|
widgetSchema.value = {
|
|
78041
78052
|
id: `${cmpKey}_${Date.now()}_${Math.random().toString(36).substr(2)}`,
|
|
78042
78053
|
component: cmpKey,
|
|
@@ -78075,13 +78086,14 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
78075
78086
|
default: withCtx(() => [
|
|
78076
78087
|
createVNode(_sfc_main$S, {
|
|
78077
78088
|
widget: widgetSchema.value,
|
|
78089
|
+
"component-override": widgetSchema.value.component,
|
|
78078
78090
|
formData: __props.formData,
|
|
78079
78091
|
subtableFieldId: __props.subtableFieldId,
|
|
78080
78092
|
realRowIndex: __props.realRowIndex,
|
|
78081
78093
|
realColIndex: __props.realColIndex,
|
|
78082
78094
|
pageRowIndex: __props.pageRowIndex,
|
|
78083
78095
|
childSubTableDataIndex: __props.childSubTableDataIndex
|
|
78084
|
-
}, null, 8, ["widget", "formData", "subtableFieldId", "realRowIndex", "realColIndex", "pageRowIndex", "childSubTableDataIndex"])
|
|
78096
|
+
}, null, 8, ["widget", "component-override", "formData", "subtableFieldId", "realRowIndex", "realColIndex", "pageRowIndex", "childSubTableDataIndex"])
|
|
78085
78097
|
]),
|
|
78086
78098
|
_: 1
|
|
78087
78099
|
}, 8, ["widget"])) : createCommentVNode("", true);
|
|
@@ -78870,7 +78882,8 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
78870
78882
|
childSubTableDataIndex: {},
|
|
78871
78883
|
rowKey: {},
|
|
78872
78884
|
referenceInfo: {},
|
|
78873
|
-
dynamicConfig: {}
|
|
78885
|
+
dynamicConfig: {},
|
|
78886
|
+
componentOverride: {}
|
|
78874
78887
|
},
|
|
78875
78888
|
setup(__props) {
|
|
78876
78889
|
const tmplConfigC = useFormTmplConfig().injectController();
|
|
@@ -78890,6 +78903,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
78890
78903
|
}
|
|
78891
78904
|
const componentType = computed(() => {
|
|
78892
78905
|
if (props2.dynamicConfig?.isDynRo) return ComponentTypeEnum.DynRo;
|
|
78906
|
+
if (props2.componentOverride) return props2.componentOverride;
|
|
78893
78907
|
const widget2 = dateObjectWidget.value ?? props2.widget;
|
|
78894
78908
|
return resolveFieldRenderComponent(widget2?.props) ?? widget2?.component;
|
|
78895
78909
|
});
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, b0 as BindCmpStyleEnum } from "./dynamic-table-
|
|
|
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-_Tw8N_6J.js";
|
|
7
7
|
class Textarea extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Textarea;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import "vue";
|
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-_Tw8N_6J.js";
|
|
7
7
|
class Diagonal extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Diagonal;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,8 +3,8 @@ import { C as ComponentTypeEnum, O as Orientation, _ as LabelPosition, b0 as Bin
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
-
import { g as getFieldWidget } from "./index-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-_Tw8N_6J.js";
|
|
7
|
+
import { g as getFieldWidget } from "./index-DAKyKA6u.js";
|
|
8
8
|
class EnumSelect extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.EnumSelect;
|
|
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-_Tw8N_6J.js";
|
|
7
7
|
class Timepicker extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Timepicker;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,8 +3,8 @@ import { C as ComponentTypeEnum, F as FIELD_TYPE } from "./dynamic-table-action.
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
-
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-_Tw8N_6J.js";
|
|
7
|
+
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-DAKyKA6u.js";
|
|
8
8
|
class Select extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Select;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,8 +3,8 @@ import "vue";
|
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-_Tw8N_6J.js";
|
|
7
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-X6CpvzRL.js";
|
|
8
8
|
class AutoComplete extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.AutoComplete;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, O as Orientation, $ as BooleanShowMode, _ as La
|
|
|
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-_Tw8N_6J.js";
|
|
7
7
|
class DynValue extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.DynValue;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, b0 as BindCmpStyleEnum } from "./dynamic-table-
|
|
|
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-_Tw8N_6J.js";
|
|
7
7
|
class Input extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Input;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,8 +3,8 @@ import { C as ComponentTypeEnum, O as Orientation, $ as BooleanShowMode, _ as La
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { g as getFieldWidget } from "./index-
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { g as getFieldWidget } from "./index-DAKyKA6u.js";
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-_Tw8N_6J.js";
|
|
8
8
|
class Switch extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Switch;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t, v, w, x, y, z, E, G, H, B, J, K, M, N, O, Q, U, W, X, Y, Z, $, a0, a1, n, a2, a3, o, a4, P, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, d } from "./index-
|
|
1
|
+
import { t, v, w, x, y, z, E, G, H, B, J, K, M, N, O, Q, U, W, X, Y, Z, $, a0, a1, n, a2, a3, o, a4, P, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, d } from "./index-DAKyKA6u.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-D0gNSgDm.js";
|
|
3
3
|
export {
|
|
4
4
|
t 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 { e as calcText } from "./index-
|
|
6
|
+
import { e as calcText } from "./index-DAKyKA6u.js";
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "pagination-design",
|
|
9
9
|
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-DAKyKA6u.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 { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
3
|
-
import { f as useDrop, T as TransferType, d as useModelFields, h as getFieldIcon, S as SingleDrop } from "./index-
|
|
3
|
+
import { f as useDrop, T as TransferType, d as useModelFields, h as getFieldIcon, S as SingleDrop } from "./index-DAKyKA6u.js";
|
|
4
4
|
import { a4 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "single-field-drop",
|
package/dist/src/online-form/src/views/render/__components__/_common_/widget-component.vue.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseCoreComponent } from '../../../../../../nocode-base/src';
|
|
1
|
+
import { ComponentTypeEnum, BaseCoreComponent } from '../../../../../../nocode-base/src';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
widget: BaseCoreComponent.BasicSchema;
|
|
4
4
|
formData: {
|
|
@@ -28,6 +28,8 @@ type __VLS_Props = {
|
|
|
28
28
|
sourceTdId: string;
|
|
29
29
|
isDynRo: boolean;
|
|
30
30
|
};
|
|
31
|
+
/** 动态值组件已选定的实际字段组件,避免再次识别为动态值组件 */
|
|
32
|
+
componentOverride?: ComponentTypeEnum;
|
|
31
33
|
};
|
|
32
34
|
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, {}, any>;
|
|
33
35
|
export default _default;
|
|
@@ -3,7 +3,7 @@ import { pick } from "lodash-es";
|
|
|
3
3
|
import { M as PaperWidgeValueType, a4 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { u as useSpreadSheet, d as useModelFields } from "./index-
|
|
6
|
+
import { u as useSpreadSheet, d as useModelFields } from "./index-DAKyKA6u.js";
|
|
7
7
|
const _hoisted_1 = { class: "ws-pre-wrap" };
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "text-design",
|
|
@@ -3,7 +3,7 @@ import { F as FIELD_TYPE, b0 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-DAKyKA6u.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 = (() => {
|
|
@@ -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 { d as useModelFields, u as useSpreadSheet, f as useDrop, P as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, S as SingleDrop, h as getFieldIcon } from "./index-
|
|
3
|
+
import { d as useModelFields, u as useSpreadSheet, f as useDrop, P as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, S as SingleDrop, h as getFieldIcon } from "./index-DAKyKA6u.js";
|
|
4
4
|
import { M as PaperWidgeValueType, ap as ExpressionModeEnum, ar as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.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-DAKyKA6u.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CRA6eXLm.js";
|
|
4
4
|
import { n as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.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, j as SelectEx } from "./index-
|
|
2
|
+
import { F as FormItem, j as SelectEx } from "./index-DAKyKA6u.js";
|
|
3
3
|
import { defaults } from "lodash-es";
|
|
4
4
|
import { F as FIELD_TYPE, a4 as _export_sfc, ac as DiagonalDirection, ag as DiagonalVertex, cY as migrateDiagonalDirectionToVertex } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import { message } from "ant-design-vue";
|
|
7
7
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
8
|
-
import { S as SingleFieldDrop } from "./single-field-drop-
|
|
8
|
+
import { S as SingleFieldDrop } from "./single-field-drop-DkY3m6YN.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, k as isClient, u as useSpreadSheet, F as FormItem, m as ImgParser } from "./index-
|
|
2
|
+
import { L as LeftOutlined, R as RightOutlined, k as isClient, u as useSpreadSheet, F as FormItem, m as ImgParser } from "./index-DAKyKA6u.js";
|
|
3
3
|
import { S as SizeEditor } from "./size-editor-Bl32fjTp.js";
|
|
4
4
|
import { message } from "ant-design-vue";
|
|
5
5
|
import { ad as WidgetImageSizeMode, a4 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
|
|
@@ -3,7 +3,7 @@ import { ae 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, n as LineStyleOptions, C as ColorPicker } from "./index-
|
|
6
|
+
import { F as FormItem, n as LineStyleOptions, C as ColorPicker } from "./index-DAKyKA6u.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, o as PaginationFormatOptions } from "./index-
|
|
6
|
+
import { F as FormItem, o as PaginationFormatOptions } from "./index-DAKyKA6u.js";
|
|
7
7
|
import { S as SizeEditor } from "./size-editor-Bl32fjTp.js";
|
|
8
8
|
import { A as AlignEditor } from "./align-editor-Bk5NBwxp.js";
|
|
9
|
-
import { F as FontEditor } from "./font-editor-
|
|
9
|
+
import { F as FontEditor } from "./font-editor-CsclZy98.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, q as useReverseModeling, F as FormItem } from "./index-
|
|
3
|
-
import { S as SingleFieldDrop } from "./single-field-drop-
|
|
2
|
+
import { u as useSpreadSheet, q as useReverseModeling, F as FormItem } from "./index-DAKyKA6u.js";
|
|
3
|
+
import { S as SingleFieldDrop } from "./single-field-drop-DkY3m6YN.js";
|
|
4
4
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
5
5
|
import { F as FIELD_TYPE, a4 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.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-DAKyKA6u.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CRA6eXLm.js";
|
|
4
4
|
import { n as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.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-DAKyKA6u.js";
|
|
3
|
+
import { S as SingleFieldDrop } from "./single-field-drop-DkY3m6YN.js";
|
|
4
4
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
5
5
|
import { F as FIELD_TYPE, a4 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.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-DAKyKA6u.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-DAKyKA6u.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CRA6eXLm.js";
|
|
4
4
|
import { S as SizeEditor } from "./size-editor-Bl32fjTp.js";
|
|
5
5
|
import { A as AlignEditor } from "./align-editor-Bk5NBwxp.js";
|
|
6
|
-
import { F as FontEditor } from "./font-editor-
|
|
6
|
+
import { F as FontEditor } from "./font-editor-CsclZy98.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, d as useModelFields, F as FormItem } from "./index-
|
|
2
|
+
import { u as useSpreadSheet, d as useModelFields, F as FormItem } from "./index-DAKyKA6u.js";
|
|
3
3
|
import { F as FIELD_TYPE, af as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
package/package.json
CHANGED