@gct-paas/excel 0.1.39-beta.17 → 0.1.39-beta.18
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/{barcode-design-BYqSIluT.js → barcode-design-ejpO4TWN.js} +1 -1
- package/dist/{diagonal-design-VrL3QMMA.js → diagonal-design-Bs9gWcVz.js} +1 -1
- package/dist/excel.css +7 -32
- package/dist/{exceljs.min-5Z93-UbZ.js → exceljs.min-Cr5_l7GW.js} +1 -1
- package/dist/{font-editor-fCko9QUc.js → font-editor-CpisAVLZ.js} +1 -1
- package/dist/{index-B71AMKCN.js → index-265Zuy2Y.js} +1 -1
- package/dist/{index-BUIxSSiF.js → index-50OBRcTM.js} +1 -1
- package/dist/{index-DbpSl_cV.js → index-BDXjjYXb.js} +41 -123
- package/dist/{index-DSmijiaG.js → index-BHmTVYqD.js} +1 -1
- package/dist/{index-CdWE4-P2.js → index-BkEEB8UX.js} +1 -1
- package/dist/{index-D0HlL8_z.js → index-CabjW1sn.js} +1 -1
- package/dist/{index-KLikXsxt.js → index-DAxqwkuO.js} +1 -1
- package/dist/{index-DLPPv2-H.js → index-Dg5modjI.js} +1 -1
- package/dist/{index-D23sYrAs.js → index-_y43fj3W.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{pagination-design-F8N309cx.js → pagination-design-D_QjDeiL.js} +1 -1
- package/dist/paper-widget-design-BuH_G9AK.js +4 -0
- package/dist/{print-runtime-instance-DhOKtC-h.js → print-runtime-instance-BVl0QFuC.js} +1 -1
- package/dist/{print-snapshot-renderer-BZKxblV4.js → print-snapshot-renderer-CwlqVc2E.js} +1 -1
- package/dist/{qrcode-design-PR7BvK0q.js → qrcode-design-DlAjNGZV.js} +1 -1
- package/dist/seal-design-CFxljXVw.js +4 -0
- package/dist/{single-field-drop-DUSU1bKr.js → single-field-drop-CILrDdkn.js} +1 -1
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts +0 -3
- package/dist/{text-design-Dqq470X5.js → text-design-DaLE4WYR.js} +1 -1
- package/dist/{trace-like-wrapper-CLMuoU3p.js → trace-like-wrapper-C4E9e2Je.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-jT58gI_m.js → value-editor.vue_vue_type_style_index_0_lang-C5hFF1Ud.js} +1 -1
- package/dist/{widget-barcode-CMjsnSQF.js → widget-barcode-D8sXBO3u.js} +2 -2
- package/dist/{widget-diagonal-DLo1ff_l.js → widget-diagonal-CoiPow-N.js} +2 -2
- package/dist/{widget-image-Nc9WZSx-.js → widget-image-CkfwiupS.js} +1 -1
- package/dist/{widget-line-BaHY6N6j.js → widget-line-BHHhjt39.js} +1 -1
- package/dist/{widget-pagination-CM_isO4h.js → widget-pagination-2D_pMT3X.js} +2 -2
- package/dist/{widget-power-C-wYKvN7.js → widget-power-BWjDuOSj.js} +2 -2
- package/dist/{widget-qrcode-5wCmIfDR.js → widget-qrcode-DxARlp5Q.js} +2 -2
- package/dist/{widget-rangelimit-DOPnGakj.js → widget-rangelimit-DUyFFT_x.js} +2 -2
- package/dist/{widget-serialnumber-XYXXp8wM.js → widget-serialnumber-CeQt5Nwg.js} +1 -1
- package/dist/{widget-text-DozYzNsG.js → widget-text-Ci9WHuOm.js} +3 -3
- package/dist/{widget-timediff-DQvxlpW_.js → widget-timediff-BNrCLWLE.js} +1 -1
- package/package.json +1 -1
- package/dist/paper-widget-design-CsD7nTJg.js +0 -4
- package/dist/seal-design-D_dpyFes.js +0 -4
|
@@ -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-BDXjjYXb.js";
|
|
4
4
|
import { Q as PaperWidgeValueType, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
@@ -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-BDXjjYXb.js";
|
|
3
3
|
import { ao as resolveDiagonalVertex, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
package/dist/excel.css
CHANGED
|
@@ -22388,32 +22388,7 @@ svg[data-v-9a7c8184] {
|
|
|
22388
22388
|
.base-vxe-search-form-container .ant-input-affix-wrapper[data-v-b48ca019] .ant-input {
|
|
22389
22389
|
background: #f6f8fa;
|
|
22390
22390
|
}
|
|
22391
|
-
.
|
|
22392
|
-
.parse-select__scan-icon[data-v-a5fb261e],
|
|
22393
|
-
.parse-select__switch-icon[data-v-a5fb261e] {
|
|
22394
|
-
display: none;
|
|
22395
|
-
}
|
|
22396
|
-
.parse-select__switch-icon[data-v-a5fb261e] {
|
|
22397
|
-
color: #026ac8;
|
|
22398
|
-
cursor: pointer;
|
|
22399
|
-
}
|
|
22400
|
-
.parse-select--scan .parse-select__scan-icon[data-v-a5fb261e] {
|
|
22401
|
-
display: block;
|
|
22402
|
-
}
|
|
22403
|
-
.parse-select--dropdown .parse-select__dropdown-icon[data-v-a5fb261e] {
|
|
22404
|
-
display: block;
|
|
22405
|
-
}
|
|
22406
|
-
.parse-select--allow-switch[data-v-a5fb261e] .ant-select-arrow {
|
|
22407
|
-
pointer-events: auto;
|
|
22408
|
-
}
|
|
22409
|
-
.parse-select--allow-switch[data-v-a5fb261e] .ant-select-arrow:hover .parse-select__scan-icon,
|
|
22410
|
-
.parse-select--allow-switch[data-v-a5fb261e] .ant-select-arrow:hover .parse-select__dropdown-icon {
|
|
22411
|
-
display: none;
|
|
22412
|
-
}
|
|
22413
|
-
.parse-select--allow-switch[data-v-a5fb261e] .ant-select-arrow:hover .parse-select__switch-icon {
|
|
22414
|
-
display: flex;
|
|
22415
|
-
}
|
|
22416
|
-
.cell-trace-tree-select[data-v-692ed2d7] .ant-select-selection-search {
|
|
22391
|
+
.cell-trace-tree-select[data-v-f00b4ba0] .ant-select-selection-search {
|
|
22417
22392
|
z-index: 1;
|
|
22418
22393
|
}
|
|
22419
22394
|
.gct-edhr-sop-simple-popover {
|
|
@@ -22908,7 +22883,7 @@ svg[data-v-9a7c8184] {
|
|
|
22908
22883
|
margin-top: 4px;
|
|
22909
22884
|
padding-top: 4px;
|
|
22910
22885
|
}
|
|
22911
|
-
.search-more[data-v-
|
|
22886
|
+
.search-more[data-v-8b3e2bc3] {
|
|
22912
22887
|
display: flex;
|
|
22913
22888
|
align-items: center;
|
|
22914
22889
|
justify-content: center;
|
|
@@ -22919,22 +22894,22 @@ svg[data-v-9a7c8184] {
|
|
|
22919
22894
|
font-size: 14px;
|
|
22920
22895
|
line-height: 24px;
|
|
22921
22896
|
}
|
|
22922
|
-
.trace-device__dropdown[data-v-
|
|
22897
|
+
.trace-device__dropdown[data-v-8b3e2bc3] {
|
|
22923
22898
|
height: 568px;
|
|
22924
22899
|
padding: 6px 10px;
|
|
22925
22900
|
}
|
|
22926
|
-
.trace-device__search-form[data-v-
|
|
22901
|
+
.trace-device__search-form[data-v-8b3e2bc3] {
|
|
22927
22902
|
height: 44px;
|
|
22928
22903
|
}
|
|
22929
|
-
.trace-device__search-form[data-v-
|
|
22904
|
+
.trace-device__search-form[data-v-8b3e2bc3] .ant-select-selector {
|
|
22930
22905
|
width: 259px;
|
|
22931
22906
|
}
|
|
22932
|
-
.trace-device__search-form .ant-input-affix-wrapper[data-v-
|
|
22907
|
+
.trace-device__search-form .ant-input-affix-wrapper[data-v-8b3e2bc3] {
|
|
22933
22908
|
height: 32px;
|
|
22934
22909
|
border: none;
|
|
22935
22910
|
background: #f6f8fa;
|
|
22936
22911
|
}
|
|
22937
|
-
.trace-device__search-form .ant-input-affix-wrapper[data-v-
|
|
22912
|
+
.trace-device__search-form .ant-input-affix-wrapper[data-v-8b3e2bc3] .ant-input {
|
|
22938
22913
|
background: #f6f8fa;
|
|
22939
22914
|
}
|
|
22940
22915
|
.content-highlight[data-v-b59a242d]::after {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { M as commonjsGlobal, N as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
2
|
-
import { c as commonjsRequire } from "./index-
|
|
2
|
+
import { c as commonjsRequire } from "./index-BDXjjYXb.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-wPpZ_4zH.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-BDXjjYXb.js";
|
|
5
5
|
import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
6
6
|
const _hoisted_1 = { class: "ks-row-middle mb-6px" };
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -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-BDXjjYXb.js";
|
|
8
8
|
class CombineFields {
|
|
9
9
|
component = ComponentTypeEnum.CombineFields;
|
|
10
10
|
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-BDXjjYXb.js";
|
|
7
7
|
class Tr {
|
|
8
8
|
component = "tr";
|
|
9
9
|
wrapperCmpConfig({ data, parent }) {
|
|
@@ -1931,7 +1931,7 @@ function openWindow(url, opt) {
|
|
|
1931
1931
|
const FieldPropLabels = Object.entries(FIELD_PROP_LABEL_MAP);
|
|
1932
1932
|
const FieldTypeLabels = Object.entries(FIELD_TYPE_LABEL_MAP);
|
|
1933
1933
|
async function createWorkbook() {
|
|
1934
|
-
const ExcelJs = (await import("./exceljs.min-
|
|
1934
|
+
const ExcelJs = (await import("./exceljs.min-Cr5_l7GW.js").then((n) => n.e)).default;
|
|
1935
1935
|
return new ExcelJs.Workbook();
|
|
1936
1936
|
}
|
|
1937
1937
|
class XlsxParser {
|
|
@@ -2259,26 +2259,26 @@ class XlsxParser {
|
|
|
2259
2259
|
}
|
|
2260
2260
|
function asyncImportClassModules() {
|
|
2261
2261
|
const modules = /* @__PURE__ */ Object.assign({
|
|
2262
|
-
"./_field_/auto-complete/index.ts": () => import("./index-
|
|
2262
|
+
"./_field_/auto-complete/index.ts": () => import("./index-Dg5modjI.js").then((m) => m["default"]),
|
|
2263
2263
|
"./_field_/datepicker/index.ts": () => import("./index-BLFfeKcf.js").then((m) => m["default"]),
|
|
2264
2264
|
"./_field_/datetimepicker/index.ts": () => import("./index-em0rzOJO.js").then((m) => m["default"]),
|
|
2265
2265
|
"./_field_/department/index.ts": () => import("./index-BhRaNTnf.js").then((m) => m["default"]),
|
|
2266
|
-
"./_field_/enum-select/index.ts": () => import("./index-
|
|
2266
|
+
"./_field_/enum-select/index.ts": () => import("./index-BkEEB8UX.js").then((m) => m["default"]),
|
|
2267
2267
|
"./_field_/input/index.ts": () => import("./index-CSinNyyL.js").then((m) => m["default"]),
|
|
2268
2268
|
"./_field_/inputdouble/index.ts": () => import("./index-BDQQZex8.js").then((m) => m["default"]),
|
|
2269
2269
|
"./_field_/inputnumber/index.ts": () => import("./index-UMo1va8T.js").then((m) => m["default"]),
|
|
2270
|
-
"./_field_/rdo-select/index.ts": () => import("./index-
|
|
2270
|
+
"./_field_/rdo-select/index.ts": () => import("./index-CabjW1sn.js").then((m) => m["default"]),
|
|
2271
2271
|
"./_field_/seal/index.ts": () => import("./index-DQhVTdNc.js").then((m) => m["default"]),
|
|
2272
|
-
"./_field_/select/index.ts": () => import("./index-
|
|
2272
|
+
"./_field_/select/index.ts": () => import("./index-_y43fj3W.js").then((m) => m["default"]),
|
|
2273
2273
|
"./_field_/sign/index.ts": () => import("./index-BaQfzPpW.js").then((m) => m["default"]),
|
|
2274
|
-
"./_field_/switch/index.ts": () => import("./index-
|
|
2274
|
+
"./_field_/switch/index.ts": () => import("./index-BHmTVYqD.js").then((m) => m["default"]),
|
|
2275
2275
|
"./_field_/textarea/index.ts": () => import("./index-9S_12I_m.js").then((m) => m["default"]),
|
|
2276
2276
|
"./_field_/timepicker/index.ts": () => import("./index-Bq15nkZU.js").then((m) => m["default"]),
|
|
2277
2277
|
"./_field_/upload-file/index.ts": () => import("./index-BK1OplGc.js").then((m) => m["default"]),
|
|
2278
2278
|
"./_field_/upload-image/index.ts": () => import("./index-BO6dvJRn.js").then((m) => m["default"]),
|
|
2279
2279
|
"./_field_/userpicker/index.ts": () => import("./index-B9mMKdWV.js").then((m) => m["default"]),
|
|
2280
2280
|
"./_widget_/barcode/index.ts": () => import("./index-CvPWXCmn.js").then((m) => m["default"]),
|
|
2281
|
-
"./_widget_/combine-fields/index.ts": () => import("./index-
|
|
2281
|
+
"./_widget_/combine-fields/index.ts": () => import("./index-265Zuy2Y.js").then((m) => m["default"]),
|
|
2282
2282
|
"./_widget_/diagonal/index.ts": () => import("./index-BQGtju-p.js").then((m) => m["default"]),
|
|
2283
2283
|
"./_widget_/dyn-value/index.ts": () => import("./index-B0_PuKlp.js").then((m) => m["default"]),
|
|
2284
2284
|
"./_widget_/image/index.ts": () => import("./index-B4LBLC9w.js").then((m) => m["default"]),
|
|
@@ -2290,8 +2290,8 @@ function asyncImportClassModules() {
|
|
|
2290
2290
|
"./_widget_/sub-table/index.ts": () => import("./index-Dq8DSt0w.js").then((m) => m["default"]),
|
|
2291
2291
|
"./_widget_/timediff/index.ts": () => import("./index-CPQNMrdO.js").then((m) => m["default"]),
|
|
2292
2292
|
"./paper/index.ts": () => import("./index-C-urdRZ2.js").then((m) => m["default"]),
|
|
2293
|
-
"./td/index.ts": () => import("./index-
|
|
2294
|
-
"./tr/index.ts": () => import("./index-
|
|
2293
|
+
"./td/index.ts": () => import("./index-DAxqwkuO.js").then((m) => m["default"]),
|
|
2294
|
+
"./tr/index.ts": () => import("./index-50OBRcTM.js").then((m) => m["default"])
|
|
2295
2295
|
});
|
|
2296
2296
|
return modules;
|
|
2297
2297
|
}
|
|
@@ -15886,7 +15886,7 @@ function asyncImportWidgetConfigList() {
|
|
|
15886
15886
|
return widgetConfigList;
|
|
15887
15887
|
}
|
|
15888
15888
|
function asyncImportWidgetDesign() {
|
|
15889
|
-
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-
|
|
15889
|
+
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-CFxljXVw.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-ejpO4TWN.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-Bs9gWcVz.js"), "./image/image-design.vue": () => import("./image-design-DVq9O1ZF.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-D_QjDeiL.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-BuH_G9AK.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-DlAjNGZV.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-BSgTQN0r.js"), "./text/text-design.vue": () => import("./text-design-DaLE4WYR.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-BIyHZKid.js") });
|
|
15890
15890
|
const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
|
|
15891
15891
|
const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
|
|
15892
15892
|
if (mKey) {
|
|
@@ -52817,7 +52817,7 @@ const _sfc_main$3p = /* @__PURE__ */ defineComponent({
|
|
|
52817
52817
|
}
|
|
52818
52818
|
});
|
|
52819
52819
|
function asyncImportWidgetProp() {
|
|
52820
|
-
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-
|
|
52820
|
+
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-D8sXBO3u.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-CoiPow-N.js"), "./widget-image.vue": () => import("./widget-image-CkfwiupS.js"), "./widget-line.vue": () => import("./widget-line-BHHhjt39.js"), "./widget-pagination.vue": () => import("./widget-pagination-2D_pMT3X.js"), "./widget-power.vue": () => import("./widget-power-BWjDuOSj.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-DxARlp5Q.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-DUyFFT_x.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-CeQt5Nwg.js"), "./widget-text.vue": () => import("./widget-text-Ci9WHuOm.js"), "./widget-timediff.vue": () => import("./widget-timediff-BNrCLWLE.js") });
|
|
52821
52821
|
const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
|
|
52822
52822
|
const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
|
|
52823
52823
|
if (mKey) {
|
|
@@ -68164,95 +68164,46 @@ const TraceRefSelectTable = /* @__PURE__ */ _export_sfc(_sfc_main$1T, [["__scope
|
|
|
68164
68164
|
const _sfc_main$1S = /* @__PURE__ */ defineComponent({
|
|
68165
68165
|
...{ inheritAttrs: false },
|
|
68166
68166
|
__name: "parse-select",
|
|
68167
|
-
|
|
68168
|
-
allowSwitch: { type: Boolean },
|
|
68169
|
-
mode: {},
|
|
68170
|
-
searchValue: {}
|
|
68171
|
-
},
|
|
68172
|
-
emits: ["update:mode", "search", "scan"],
|
|
68173
|
-
setup(__props, { emit: __emit }) {
|
|
68174
|
-
const props2 = __props;
|
|
68175
|
-
const emit2 = __emit;
|
|
68176
|
-
const switchMode = (e) => {
|
|
68177
|
-
emit2("update:mode", props2.mode === "scan" ? "dropdown" : "scan");
|
|
68178
|
-
e.stopPropagation();
|
|
68179
|
-
};
|
|
68180
|
-
const _searchVal = ref();
|
|
68181
|
-
watch(
|
|
68182
|
-
() => props2.searchValue,
|
|
68183
|
-
(val) => {
|
|
68184
|
-
_searchVal.value = val;
|
|
68185
|
-
},
|
|
68186
|
-
{ immediate: true }
|
|
68187
|
-
);
|
|
68188
|
-
const onSearch = (str) => {
|
|
68189
|
-
_searchVal.value = str;
|
|
68190
|
-
emit2("search", str);
|
|
68191
|
-
};
|
|
68192
|
-
const handleEnter = () => {
|
|
68193
|
-
if (props2.mode !== "scan" || !_searchVal.value) {
|
|
68194
|
-
return;
|
|
68195
|
-
}
|
|
68196
|
-
emit2("scan", _searchVal.value);
|
|
68197
|
-
_searchVal.value = "";
|
|
68198
|
-
emit2("search", "");
|
|
68199
|
-
};
|
|
68167
|
+
setup(__props) {
|
|
68200
68168
|
return (_ctx, _cache) => {
|
|
68201
|
-
return openBlock(), createBlock(unref(CellSelect),
|
|
68202
|
-
class: ["parse-select", `parse-select--${__props.mode}`, __props.allowSwitch && "parse-select--allow-switch"],
|
|
68203
|
-
open: __props.mode === "scan" ? false : _ctx.$attrs.open,
|
|
68204
|
-
searchValue: _searchVal.value,
|
|
68205
|
-
onSearch,
|
|
68206
|
-
onKeyupCapture: withKeys(handleEnter, ["enter"])
|
|
68207
|
-
}), createSlots({
|
|
68169
|
+
return openBlock(), createBlock(unref(CellSelect), normalizeProps(guardReactiveProps(_ctx.$attrs)), createSlots({
|
|
68208
68170
|
suffixIcon: withCtx(() => [
|
|
68209
|
-
|
|
68210
|
-
createVNode(unref(FieldStateIcon), {
|
|
68211
|
-
type: "select",
|
|
68212
|
-
class: "parse-select__dropdown-icon"
|
|
68213
|
-
}),
|
|
68214
|
-
createElementVNode("div", {
|
|
68215
|
-
onClick: switchMode,
|
|
68216
|
-
class: "parse-select__switch-icon"
|
|
68217
|
-
}, [..._cache[0] || (_cache[0] = [
|
|
68218
|
-
createElementVNode("i", { class: "iconfont icon-qiehuan" }, null, -1)
|
|
68219
|
-
])])
|
|
68171
|
+
createVNode(unref(FieldStateIcon), { type: "select" })
|
|
68220
68172
|
]),
|
|
68221
68173
|
_: 2
|
|
68222
68174
|
}, [
|
|
68223
68175
|
_ctx.$slots.dropdownRender ? {
|
|
68224
68176
|
name: "dropdownRender",
|
|
68225
68177
|
fn: withCtx((slotProps) => [
|
|
68226
|
-
renderSlot(_ctx.$slots, "dropdownRender", normalizeProps(guardReactiveProps(slotProps ?? {}))
|
|
68178
|
+
renderSlot(_ctx.$slots, "dropdownRender", normalizeProps(guardReactiveProps(slotProps ?? {})))
|
|
68227
68179
|
]),
|
|
68228
68180
|
key: "0"
|
|
68229
68181
|
} : void 0,
|
|
68230
68182
|
_ctx.$slots.option ? {
|
|
68231
68183
|
name: "option",
|
|
68232
68184
|
fn: withCtx((slotProps) => [
|
|
68233
|
-
renderSlot(_ctx.$slots, "option", normalizeProps(guardReactiveProps(slotProps ?? {}))
|
|
68185
|
+
renderSlot(_ctx.$slots, "option", normalizeProps(guardReactiveProps(slotProps ?? {})))
|
|
68234
68186
|
]),
|
|
68235
68187
|
key: "1"
|
|
68236
68188
|
} : void 0,
|
|
68237
68189
|
_ctx.$slots.notFoundContent ? {
|
|
68238
68190
|
name: "notFoundContent",
|
|
68239
68191
|
fn: withCtx((slotProps) => [
|
|
68240
|
-
renderSlot(_ctx.$slots, "notFoundContent", normalizeProps(guardReactiveProps(slotProps ?? {}))
|
|
68192
|
+
renderSlot(_ctx.$slots, "notFoundContent", normalizeProps(guardReactiveProps(slotProps ?? {})))
|
|
68241
68193
|
]),
|
|
68242
68194
|
key: "2"
|
|
68243
68195
|
} : void 0,
|
|
68244
68196
|
_ctx.$slots.clearIcon ? {
|
|
68245
68197
|
name: "clearIcon",
|
|
68246
68198
|
fn: withCtx((slotProps) => [
|
|
68247
|
-
renderSlot(_ctx.$slots, "clearIcon", normalizeProps(guardReactiveProps(slotProps ?? {}))
|
|
68199
|
+
renderSlot(_ctx.$slots, "clearIcon", normalizeProps(guardReactiveProps(slotProps ?? {})))
|
|
68248
68200
|
]),
|
|
68249
68201
|
key: "3"
|
|
68250
68202
|
} : void 0
|
|
68251
|
-
]), 1040
|
|
68203
|
+
]), 1040);
|
|
68252
68204
|
};
|
|
68253
68205
|
}
|
|
68254
68206
|
});
|
|
68255
|
-
const ParseSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1S, [["__scopeId", "data-v-a5fb261e"]]);
|
|
68256
68207
|
function useRuleProps({
|
|
68257
68208
|
props: props2,
|
|
68258
68209
|
selectByCode
|
|
@@ -68261,10 +68212,6 @@ function useRuleProps({
|
|
|
68261
68212
|
const parseProps = computed(() => {
|
|
68262
68213
|
return props2?.widget?.props?.parseRuleProps;
|
|
68263
68214
|
});
|
|
68264
|
-
const allowSwitch = computed(() => {
|
|
68265
|
-
return !!parseProps.value?.parsingRuleId;
|
|
68266
|
-
});
|
|
68267
|
-
const mode = ref(allowSwitch.value ? "scan" : "dropdown");
|
|
68268
68215
|
const ruleInfo = ref();
|
|
68269
68216
|
let ruleRequest;
|
|
68270
68217
|
const loadRule = async () => {
|
|
@@ -68354,18 +68301,7 @@ function useRuleProps({
|
|
|
68354
68301
|
if (isCurrent()) await runScan(value, isCurrent);
|
|
68355
68302
|
return true;
|
|
68356
68303
|
};
|
|
68357
|
-
|
|
68358
|
-
console.log("handleEnter:", val);
|
|
68359
|
-
if (val) {
|
|
68360
|
-
void runScan(val).catch(() => void 0);
|
|
68361
|
-
}
|
|
68362
|
-
};
|
|
68363
|
-
return {
|
|
68364
|
-
mode,
|
|
68365
|
-
allowSwitch,
|
|
68366
|
-
handleEnter,
|
|
68367
|
-
handleSearchScan
|
|
68368
|
-
};
|
|
68304
|
+
return { handleSearchScan };
|
|
68369
68305
|
}
|
|
68370
68306
|
function useAutofill() {
|
|
68371
68307
|
const { instance, formStateStore } = useRuntimeInstanceServices();
|
|
@@ -68663,7 +68599,7 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
|
68663
68599
|
},
|
|
68664
68600
|
{ immediate: true }
|
|
68665
68601
|
);
|
|
68666
|
-
const {
|
|
68602
|
+
const { handleSearchScan } = useRuleProps({
|
|
68667
68603
|
props: props2,
|
|
68668
68604
|
selectByCode: async (code2, signal) => {
|
|
68669
68605
|
const res = await renderUtils.requestRefOptions({
|
|
@@ -68715,9 +68651,6 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
|
68715
68651
|
if (open.value === visible) {
|
|
68716
68652
|
return;
|
|
68717
68653
|
}
|
|
68718
|
-
if (visible === true && mode.value === "scan") {
|
|
68719
|
-
return;
|
|
68720
|
-
}
|
|
68721
68654
|
open.value = visible;
|
|
68722
68655
|
}
|
|
68723
68656
|
function visibleChange(visible) {
|
|
@@ -68941,7 +68874,7 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
|
68941
68874
|
}, null, 8, ["dropdownVisible", "widget", "scan", "modelValue", "parentToDefault", "extraQuery", "wrapperHeight", "wrapperWidth"]))
|
|
68942
68875
|
]),
|
|
68943
68876
|
default: withCtx(() => [
|
|
68944
|
-
createVNode(
|
|
68877
|
+
createVNode(_sfc_main$1S, mergeProps({
|
|
68945
68878
|
class: ["cell-trace-tree-select", unref(showRequired) && "is-show-required", __props.realFieldId],
|
|
68946
68879
|
ref_key: "parseSelectRef",
|
|
68947
68880
|
ref: parseSelectRef,
|
|
@@ -68954,11 +68887,7 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
|
68954
68887
|
onSearch: unref(searchTable),
|
|
68955
68888
|
onClickCapture: openTreeModal,
|
|
68956
68889
|
formData: __props.formData,
|
|
68957
|
-
widget: __props.widget
|
|
68958
|
-
allowSwitch: unref(allowSwitch),
|
|
68959
|
-
mode: unref(mode),
|
|
68960
|
-
"onUpdate:mode": _cache[2] || (_cache[2] = ($event) => isRef(mode) ? mode.value = $event : null),
|
|
68961
|
-
onScan: unref(handleEnter)
|
|
68890
|
+
widget: __props.widget
|
|
68962
68891
|
}), {
|
|
68963
68892
|
clearIcon: withCtx(() => [
|
|
68964
68893
|
createVNode(_component_close_circle_filled, {
|
|
@@ -68968,14 +68897,14 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
|
68968
68897
|
})
|
|
68969
68898
|
]),
|
|
68970
68899
|
_: 1
|
|
68971
|
-
}, 16, ["class", "value", "searchValue", "options", "disabled", "onSearch", "formData", "widget"
|
|
68900
|
+
}, 16, ["class", "value", "searchValue", "options", "disabled", "onSearch", "formData", "widget"])
|
|
68972
68901
|
]),
|
|
68973
68902
|
_: 1
|
|
68974
68903
|
}, 8, ["visible", "overlayClassName", "overlayStyle", "autoAdjustOverflow", "placement"]);
|
|
68975
68904
|
};
|
|
68976
68905
|
}
|
|
68977
68906
|
});
|
|
68978
|
-
const TraceRdoSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1R, [["__scopeId", "data-v-
|
|
68907
|
+
const TraceRdoSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1R, [["__scopeId", "data-v-f00b4ba0"]]);
|
|
68979
68908
|
const _hoisted_1$17 = { class: "allocate-product__dropdown" };
|
|
68980
68909
|
const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
|
|
68981
68910
|
__name: "allocate-product",
|
|
@@ -69303,7 +69232,7 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
|
|
|
69303
69232
|
const _component_a_input = resolveComponent("a-input");
|
|
69304
69233
|
const _component_a_col = resolveComponent("a-col");
|
|
69305
69234
|
const _component_a_row = resolveComponent("a-row");
|
|
69306
|
-
return openBlock(), createBlock(
|
|
69235
|
+
return openBlock(), createBlock(_sfc_main$1S, mergeProps({
|
|
69307
69236
|
class: ["allocate-product", unref(showRequired) && "is-show-required", __props.realFieldId],
|
|
69308
69237
|
value: currentValue.value,
|
|
69309
69238
|
"onUpdate:value": _cache[3] || (_cache[3] = ($event) => currentValue.value = $event),
|
|
@@ -71766,7 +71695,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
71766
71695
|
currentValue.value = option2.value;
|
|
71767
71696
|
await handleChange(option2.value, option2);
|
|
71768
71697
|
},
|
|
71769
|
-
active: () => dropdownVisible.value && !showDisabled
|
|
71698
|
+
active: () => dropdownVisible.value && !showDisabled.value
|
|
71770
71699
|
});
|
|
71771
71700
|
return (_ctx, _cache) => {
|
|
71772
71701
|
const _component_a_spin = resolveComponent("a-spin");
|
|
@@ -72537,7 +72466,7 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
|
72537
72466
|
}
|
|
72538
72467
|
});
|
|
72539
72468
|
return (_ctx, _cache) => {
|
|
72540
|
-
return openBlock(), createBlock(
|
|
72469
|
+
return openBlock(), createBlock(_sfc_main$1S, mergeProps({
|
|
72541
72470
|
class: ["allocate-part", unref(showRequired) && "is-show-required", __props.realFieldId],
|
|
72542
72471
|
value: currentValue.value,
|
|
72543
72472
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => currentValue.value = $event),
|
|
@@ -72882,13 +72811,13 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
|
72882
72811
|
dropdownClassName: "gct-project-select-dropdown vxe-table--ignore-clear",
|
|
72883
72812
|
allowClear: true,
|
|
72884
72813
|
defaultActiveFirstOption: false,
|
|
72885
|
-
showSearch:
|
|
72814
|
+
showSearch: false,
|
|
72886
72815
|
// filterOption: loadFinished2Options ? onFilterOption : false,
|
|
72887
72816
|
notFoundContent: void 0
|
|
72888
72817
|
};
|
|
72889
72818
|
return attr;
|
|
72890
72819
|
});
|
|
72891
|
-
const {
|
|
72820
|
+
const { handleSearchScan } = useRuleProps({
|
|
72892
72821
|
props: props2,
|
|
72893
72822
|
selectByCode: async (code2, signal) => {
|
|
72894
72823
|
const { queryData, exp } = buildDeviceFilterQuery({
|
|
@@ -72912,9 +72841,6 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
|
72912
72841
|
}
|
|
72913
72842
|
});
|
|
72914
72843
|
const onSelectClick = () => {
|
|
72915
|
-
if (mode.value === "scan") {
|
|
72916
|
-
return;
|
|
72917
|
-
}
|
|
72918
72844
|
open.value = true;
|
|
72919
72845
|
};
|
|
72920
72846
|
onClickOutside$1(
|
|
@@ -73175,7 +73101,7 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
|
73175
73101
|
const _component_a_col = resolveComponent("a-col");
|
|
73176
73102
|
const _component_a_form_item = resolveComponent("a-form-item");
|
|
73177
73103
|
const _component_a_row = resolveComponent("a-row");
|
|
73178
|
-
return openBlock(), createBlock(
|
|
73104
|
+
return openBlock(), createBlock(_sfc_main$1S, mergeProps({
|
|
73179
73105
|
class: ["cell-trace-device", unref(showRequired) && "is-show-required", __props.realFieldId],
|
|
73180
73106
|
value: currentValue.value,
|
|
73181
73107
|
"onUpdate:value": _cache[2] || (_cache[2] = ($event) => currentValue.value = $event),
|
|
@@ -73185,13 +73111,9 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
|
73185
73111
|
}, separatorAttr.value, {
|
|
73186
73112
|
formData: __props.formData,
|
|
73187
73113
|
widget: __props.widget,
|
|
73188
|
-
allowSwitch: unref(allowSwitch),
|
|
73189
|
-
mode: unref(mode),
|
|
73190
|
-
"onUpdate:mode": _cache[3] || (_cache[3] = ($event) => isRef(mode) ? mode.value = $event : null),
|
|
73191
73114
|
open: open.value,
|
|
73192
73115
|
onSearch: handleSearch,
|
|
73193
73116
|
onChange: handleNativeChange,
|
|
73194
|
-
onScan: unref(handleEnter),
|
|
73195
73117
|
onClick: onSelectClick,
|
|
73196
73118
|
ref_key: "selectRef",
|
|
73197
73119
|
ref: selectRef
|
|
@@ -73214,7 +73136,7 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
|
73214
73136
|
allowClear: "",
|
|
73215
73137
|
placeholder: _ctx.$t("sys.search")
|
|
73216
73138
|
}, {
|
|
73217
|
-
prefix: withCtx(() => [..._cache[
|
|
73139
|
+
prefix: withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
73218
73140
|
createElementVNode("i", { class: "iconfont icon-sousuo1" }, null, -1)
|
|
73219
73141
|
])]),
|
|
73220
73142
|
_: 1
|
|
@@ -73262,11 +73184,11 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
|
73262
73184
|
])
|
|
73263
73185
|
]),
|
|
73264
73186
|
_: 1
|
|
73265
|
-
}, 16, ["class", "value", "options", "loading", "disabled", "formData", "widget", "
|
|
73187
|
+
}, 16, ["class", "value", "options", "loading", "disabled", "formData", "widget", "open"]);
|
|
73266
73188
|
};
|
|
73267
73189
|
}
|
|
73268
73190
|
});
|
|
73269
|
-
const TraceDevice = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["__scopeId", "data-v-
|
|
73191
|
+
const TraceDevice = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["__scopeId", "data-v-8b3e2bc3"]]);
|
|
73270
73192
|
const _hoisted_1$_ = { class: "search-wrapper" };
|
|
73271
73193
|
const _hoisted_2$I = {
|
|
73272
73194
|
key: 1,
|
|
@@ -73531,7 +73453,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
73531
73453
|
emit2("change", v, info);
|
|
73532
73454
|
handleCloseDropdown();
|
|
73533
73455
|
}
|
|
73534
|
-
const {
|
|
73456
|
+
const { handleSearchScan } = useRuleProps({
|
|
73535
73457
|
props: props2,
|
|
73536
73458
|
selectByCode: async (code2, signal) => {
|
|
73537
73459
|
const res = await renderUtils.requestRefOptions({
|
|
@@ -73598,19 +73520,17 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
73598
73520
|
await handleChange(option2.value, option2);
|
|
73599
73521
|
},
|
|
73600
73522
|
scan: handleSearchScan,
|
|
73601
|
-
active: () => dropdownVisible.value && !showDisabled
|
|
73523
|
+
active: () => dropdownVisible.value && !showDisabled.value
|
|
73602
73524
|
});
|
|
73603
73525
|
return (_ctx, _cache) => {
|
|
73604
73526
|
const _component_a_spin = resolveComponent("a-spin");
|
|
73605
|
-
return openBlock(), createBlock(
|
|
73527
|
+
return openBlock(), createBlock(_sfc_main$1S, mergeProps({
|
|
73606
73528
|
ref_key: "selectRef",
|
|
73607
73529
|
ref: selectRef,
|
|
73608
73530
|
class: ["cell-trace-select", unref(showRequired) && "is-show-required", __props.realFieldId],
|
|
73609
73531
|
dropdownClassName: "gct-common-select-dropdown vxe-table--ignore-clear",
|
|
73610
73532
|
value: currentValue.value,
|
|
73611
73533
|
"onUpdate:value": _cache[3] || (_cache[3] = ($event) => currentValue.value = $event),
|
|
73612
|
-
mode: unref(mode),
|
|
73613
|
-
"onUpdate:mode": _cache[4] || (_cache[4] = ($event) => isRef(mode) ? mode.value = $event : null),
|
|
73614
73534
|
options: unref(hideOptionsTitle)(state.data),
|
|
73615
73535
|
disabled: unref(showDisabled),
|
|
73616
73536
|
open: unref(dropdownVisible)
|
|
@@ -73618,8 +73538,6 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
73618
73538
|
showSearch: false,
|
|
73619
73539
|
formData: __props.formData,
|
|
73620
73540
|
widget: __props.widget,
|
|
73621
|
-
allowSwitch: unref(allowSwitch),
|
|
73622
|
-
onScan: unref(handleEnter),
|
|
73623
73541
|
onSearch: handleSearch,
|
|
73624
73542
|
onChange: handleChange,
|
|
73625
73543
|
onDropdownVisibleChange: unref(handleDropdownVisibleChange)
|
|
@@ -73647,7 +73565,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
73647
73565
|
placeholder: unref($t2)("sys.search"),
|
|
73648
73566
|
onChange: _cache[1] || (_cache[1] = (e) => handleSearch(e.target.value))
|
|
73649
73567
|
}, {
|
|
73650
|
-
prefix: withCtx(() => [..._cache[
|
|
73568
|
+
prefix: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
73651
73569
|
createElementVNode("i", { class: "icon iconfont icon-sousuo1" }, null, -1)
|
|
73652
73570
|
])]),
|
|
73653
73571
|
_: 1
|
|
@@ -73688,7 +73606,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
73688
73606
|
]),
|
|
73689
73607
|
key: "0"
|
|
73690
73608
|
} : void 0
|
|
73691
|
-
]), 1040, ["class", "value", "
|
|
73609
|
+
]), 1040, ["class", "value", "options", "disabled", "open", "formData", "widget", "onDropdownVisibleChange"]);
|
|
73692
73610
|
};
|
|
73693
73611
|
}
|
|
73694
73612
|
});
|
|
@@ -91089,8 +91007,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
91089
91007
|
printTask = (async () => {
|
|
91090
91008
|
if (document.activeElement instanceof HTMLElement) document.activeElement.blur();
|
|
91091
91009
|
await nextTick();
|
|
91092
|
-
const { printRuntimeInstance } = await import("./print-runtime-instance-
|
|
91093
|
-
const { default: renderer } = await import("./print-snapshot-renderer-
|
|
91010
|
+
const { printRuntimeInstance } = await import("./print-runtime-instance-BVl0QFuC.js");
|
|
91011
|
+
const { default: renderer } = await import("./print-snapshot-renderer-CwlqVc2E.js");
|
|
91094
91012
|
if (abort.signal.aborted) throw new Error("打印已取消");
|
|
91095
91013
|
printRenderer.value = markRaw(renderer);
|
|
91096
91014
|
await printRuntimeInstance(
|
|
@@ -4,7 +4,7 @@ import { C as ComponentTypeEnum, O as Orientation, a1 as BooleanShowMode, a0 as
|
|
|
4
4
|
import "vue";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { g as getFieldWidget } from "./index-
|
|
7
|
+
import { g as getFieldWidget } from "./index-BDXjjYXb.js";
|
|
8
8
|
import { B as BaseComponent } from "./BaseComponent-DlErT5t9.js";
|
|
9
9
|
class Switch extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.Switch;
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
6
|
import { B as BaseComponent } from "./BaseComponent-DlErT5t9.js";
|
|
7
|
-
import { g as getFieldWidget } from "./index-
|
|
7
|
+
import { g as getFieldWidget } from "./index-BDXjjYXb.js";
|
|
8
8
|
class EnumSelect extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.EnumSelect;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "lodash-es";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
6
|
import { B as BaseComponent } from "./BaseComponent-DlErT5t9.js";
|
|
7
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
7
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-C4E9e2Je.js";
|
|
8
8
|
class RdoSelect extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.RdoSelect;
|
|
10
10
|
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-BDXjjYXb.js";
|
|
3
3
|
import { C as ComponentTypeEnum, y as CellType, o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "dayjs";
|
|
@@ -4,7 +4,7 @@ import "lodash-es";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
6
|
import { B as BaseComponent } from "./BaseComponent-DlErT5t9.js";
|
|
7
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
7
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-C4E9e2Je.js";
|
|
8
8
|
class AutoComplete extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.AutoComplete;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
6
|
import { B as BaseComponent } from "./BaseComponent-DlErT5t9.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-
|
|
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-BDXjjYXb.js";
|
|
8
8
|
class Select extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Select;
|
|
10
10
|
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-BDXjjYXb.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-CtYTpCF6.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-BDXjjYXb.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-BDXjjYXb.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 { R as RuntimeFormStateStore, I as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-BXNnUUIX.js";
|
|
3
3
|
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-CGAWlYDu.js";
|
|
4
|
-
import { _ as _sfc_main$1 } from "./index-
|
|
4
|
+
import { _ as _sfc_main$1 } from "./index-BDXjjYXb.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-BDXjjYXb.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-BDXjjYXb.js";
|
|
4
4
|
import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "single-field-drop",
|
package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts
CHANGED
|
@@ -7,8 +7,5 @@ export declare function useRuleProps({ props, selectByCode, }: {
|
|
|
7
7
|
/** 根据编码查询对象,并设置选中,有匹配的项则返回true */
|
|
8
8
|
selectByCode: (code: string, signal: AbortSignal) => Promise<boolean>;
|
|
9
9
|
}): {
|
|
10
|
-
mode: import('vue').Ref<"scan" | "dropdown", "scan" | "dropdown">;
|
|
11
|
-
allowSwitch: import('vue').ComputedRef<boolean>;
|
|
12
|
-
handleEnter: (val: any) => void;
|
|
13
10
|
handleSearchScan: (value: string, isCurrent?: () => boolean) => Promise<boolean>;
|
|
14
11
|
};
|
|
@@ -3,7 +3,7 @@ import { pick } from "lodash-es";
|
|
|
3
3
|
import { Q as PaperWidgeValueType, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.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-BDXjjYXb.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-BDXjjYXb.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 { 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-BDXjjYXb.js";
|
|
4
4
|
import { Q as PaperWidgeValueType, at as ExpressionModeEnum, av as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.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-BDXjjYXb.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-C5hFF1Ud.js";
|
|
4
4
|
import { o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.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-BDXjjYXb.js";
|
|
3
3
|
import { defaults } from "lodash-es";
|
|
4
4
|
import { F as FIELD_TYPE, a8 as _export_sfc, aj as DiagonalDirection, an as DiagonalVertex, cq as migrateDiagonalDirectionToVertex } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.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-CILrDdkn.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-BDXjjYXb.js";
|
|
3
3
|
import { S as SizeEditor } from "./size-editor-DQJIuZCE.js";
|
|
4
4
|
import { message } from "ant-design-vue";
|
|
5
5
|
import { ak as WidgetImageSizeMode, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
@@ -3,7 +3,7 @@ import { al 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-BDXjjYXb.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-BDXjjYXb.js";
|
|
7
7
|
import { S as SizeEditor } from "./size-editor-DQJIuZCE.js";
|
|
8
8
|
import { A as AlignEditor } from "./align-editor-wPpZ_4zH.js";
|
|
9
|
-
import { F as FontEditor } from "./font-editor-
|
|
9
|
+
import { F as FontEditor } from "./font-editor-CpisAVLZ.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-BDXjjYXb.js";
|
|
3
|
+
import { S as SingleFieldDrop } from "./single-field-drop-CILrDdkn.js";
|
|
4
4
|
import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
5
5
|
import { F as FIELD_TYPE, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.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-BDXjjYXb.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-C5hFF1Ud.js";
|
|
4
4
|
import { o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.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-BDXjjYXb.js";
|
|
3
|
+
import { S as SingleFieldDrop } from "./single-field-drop-CILrDdkn.js";
|
|
4
4
|
import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
5
5
|
import { F as FIELD_TYPE, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.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-BDXjjYXb.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-BDXjjYXb.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-C5hFF1Ud.js";
|
|
4
4
|
import { S as SizeEditor } from "./size-editor-DQJIuZCE.js";
|
|
5
5
|
import { A as AlignEditor } from "./align-editor-wPpZ_4zH.js";
|
|
6
|
-
import { F as FontEditor } from "./font-editor-
|
|
6
|
+
import { F as FontEditor } from "./font-editor-CpisAVLZ.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-BDXjjYXb.js";
|
|
3
3
|
import { F as FIELD_TYPE, am as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
package/package.json
CHANGED