@gct-paas/excel 0.1.22 → 0.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{VueVideoPlayer-dfgekKID.js → VueVideoPlayer-DeGuauVb.js} +2 -2
- package/dist/{agg-design-yDLZkVkR.js → agg-design-BE5eFcq0.js} +1 -1
- package/dist/{agg-props-DrXyaNCT.js → agg-props-g6XDFjb9.js} +1 -1
- package/dist/{agg-style-D_6r9Myg.js → agg-style-QlO3PVaS.js} +1 -1
- package/dist/{align-editor-D5Ra4SB6.js → align-editor-C3luWRCq.js} +1 -1
- package/dist/{attach-fields-editor-C4JBi-p_.js → attach-fields-editor-DNhfTsft.js} +2 -2
- package/dist/{barcode-design-D3JH5Afi.js → barcode-design-Ds2P_-Nm.js} +2 -2
- package/dist/base/index.es.js +41 -28
- package/dist/base-font-editor-BKN5HPtV.js +179 -0
- package/dist/{boolean-design-DQvGDcd9.js → boolean-design-C0Isn-jj.js} +9 -4
- package/dist/{boolean-props-BPxPHLqI.js → boolean-props-DDg6R4pe.js} +3 -3
- package/dist/{boolean-style-BSc1-meP.js → boolean-style-CzRGaXNa.js} +33 -10
- package/dist/{cell-upload-CiWekXUb.js → cell-upload-BIPN1Qh_.js} +2 -2
- package/dist/{date-range-editor-DPt8-LqQ.js → date-range-editor-B01L0e3H.js} +2 -2
- package/dist/{date-time-design-Dv4dW-Iy.js → date-time-design-DwDsnQbz.js} +1 -1
- package/dist/{date-time-props-Cs4GVKqC.js → date-time-props-C3jRf2LD.js} +3 -3
- package/dist/{date-time-style-iSIC_SNA.js → date-time-style-K8AVLBvc.js} +1 -1
- package/dist/{decimal-design-C-GvHZPx.js → decimal-design-BJbiiN7J.js} +1 -1
- package/dist/{decimal-display-mode-C_ooE9xL.js → decimal-display-mode-Cus0Slsz.js} +2 -2
- package/dist/{decimal-props-Vv8GsEHC.js → decimal-props-dtICiGOQ.js} +4 -4
- package/dist/{decimal-style-CY-zOSpD.js → decimal-style-EfyEDVzI.js} +1 -1
- package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-Bw0TkvW-.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-B27g8v5V.js} +2 -2
- package/dist/{diagonal-design-DS1kXGt1.js → diagonal-design-BmGrJev_.js} +2 -2
- package/dist/{double-design-DAz8wmRS.js → double-design-DKS8QZ9M.js} +1 -1
- package/dist/{double-props-e76nS4qi.js → double-props-7TIIBh6u.js} +4 -4
- package/dist/{double-style-kWIo_xYy.js → double-style-DlZ0wEbL.js} +1 -1
- package/dist/{dynamic-table-action-CbHoY76E.js → dynamic-table-action-D789BgJZ.js} +5 -3
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BfGYCqH5.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bomssr4x.js} +302 -174
- package/dist/{edit.utils-CXmmCnxE-CLCBDG4R.js → edit.utils-CXmmCnxE-VGRgG--d.js} +1 -1
- package/dist/{enum-design-DVoXOTIU.js → enum-design-Bimq8s8j.js} +10 -10
- package/dist/{enum-props-DgsIc2Fz.js → enum-props-BSMCFIFi.js} +3 -3
- package/dist/{enum-style-C4r86NqC.js → enum-style-sG5DPwxr.js} +7 -7
- package/dist/excel.css +111 -55
- package/dist/{exceljs.min-D-mqoZsC.js → exceljs.min-CQuJzgXh.js} +2 -2
- package/dist/{expression-design-D7PiPYQJ.js → expression-design-CLfSSfXM.js} +1 -1
- package/dist/{expression-props-DDcg6alT.js → expression-props-D7W_GSGq.js} +1 -1
- package/dist/{expression-style-C0GgXqbp.js → expression-style-C6KFVri_.js} +1 -1
- package/dist/{file-design-CeAmaBow.js → file-design-DMCOlCBf.js} +1 -1
- package/dist/{file-props-e06WxwTc.js → file-props-L9S8Nf31.js} +2 -2
- package/dist/{file-style-FigMgXwH.js → file-style-_hRTBdtu.js} +1 -1
- package/dist/{font-editor-DYBI1FXx.js → font-editor-BDyMjcw6.js} +3 -3
- package/dist/{image-design-DxKCuSrx.js → image-design-B8Riz960.js} +2 -2
- package/dist/{image-design-CcHGCTJH.js → image-design-Ckm9vbjv.js} +1 -1
- package/dist/{image-props-Co5Kp-ZH.js → image-props-BvXoJwIE.js} +1 -1
- package/dist/{image-style-D6I5jBAk.js → image-style-DOseQ6-D.js} +1 -1
- package/dist/{index-C7EF3bU6.js → index-3PGTvcdn.js} +3 -2
- package/dist/{index-Dku5Txlf.js → index-74yt8jRE.js} +1 -1
- package/dist/{index-DJdI2Xy_.js → index-B2dCmlfS.js} +112 -74
- package/dist/{index-D3H3AjqQ.js → index-BHckv9v7.js} +1 -1
- package/dist/{index-CwwHZhmI.js → index-BOx6PIQM.js} +1 -1
- package/dist/{index-E-flWZFi.js → index-BPI7rTC0.js} +1 -1
- package/dist/{index-BC-Zhsm-.js → index-BRTYgbpR.js} +1 -1
- package/dist/{index-CTEoW7C9.js → index-BT70n7N3.js} +2 -2
- package/dist/{index-UeWlvtDf.js → index-B_0vyB6E.js} +1 -1
- package/dist/{index-xg8BpbDL.js → index-Bo_OCoXR.js} +1 -1
- package/dist/{index-8-tnvhRC.js → index-BrjJ30E6.js} +1 -1
- package/dist/{index-OK49_noi.js → index-C8iWIwYo.js} +1 -1
- package/dist/{index-DgBJVPsK.js → index-C94OYngd.js} +1 -1
- package/dist/{index-Bsabb65u.js → index-CFkt2dM4.js} +1 -1
- package/dist/{index-CgDvaY3D.js → index-CHDwrHq2.js} +1 -1
- package/dist/{index-H9YwRWK1.js → index-CU6EFmnG.js} +2 -2
- package/dist/{index-B2Rk7ex6.js → index-CYt8frH_.js} +1 -1
- package/dist/{index-Dacbq4L4.js → index-CZTvhN0E.js} +2 -2
- package/dist/{index-DSSHWwFD.js → index-Chy_3-Lj.js} +1 -1
- package/dist/{index-BZfGHVOt.js → index-Csg13q_7.js} +1 -1
- package/dist/{index-yclgXrqJ.js → index-DCE1_hqb.js} +1 -1
- package/dist/{index-l3TfFIxY.js → index-DWiYwa2w.js} +1 -1
- package/dist/{index-CpsQzaA9.js → index-DbNxa2CY.js} +2 -2
- package/dist/{index-D51-PvAq.js → index-DhU0uktW.js} +1 -1
- package/dist/{index-D6YzCpCw.js → index-DmC0_bvJ.js} +1 -1
- package/dist/{index-Dx6OiqW2.js → index-DvJkM2Bd.js} +1 -1
- package/dist/{index-DsBusJ7S.js → index-DvdsMdJa.js} +1 -1
- package/dist/{index-DFGBKBau.js → index-XlAWg7sl.js} +1 -1
- package/dist/{index-GGZRPnYe.js → index-f-6blU00.js} +3 -4
- package/dist/{index-D7DRfQTh.js → index-iR4iHe5n.js} +1 -1
- package/dist/{index-J1Nf5wgV.js → index-i_eUK3Y_.js} +1 -1
- package/dist/{index-DXtJ-139.js → index-kn1q-2-D.js} +1 -1
- package/dist/{index-CRcKdyyr.js → index-plkuJNfn.js} +1 -1
- package/dist/index.es.js +2 -2
- package/dist/{integer-design-DJ4aKAz0.js → integer-design-CT90qISw.js} +1 -1
- package/dist/{integer-props-CaSOySHa.js → integer-props-BmQZ0AHU.js} +4 -4
- package/dist/{integer-style-CCLqQ4ys.js → integer-style-B6mcVCU1.js} +1 -1
- package/dist/{mb-render-JGHghp5L.js → mb-render-BOzJ9uDs.js} +1 -1
- package/dist/{number-input-ex-CtHpEamV.js → number-input-ex-CGx2Sum-.js} +1 -1
- package/dist/{org-props-CRAmwHlJ.js → org-props-DLusFjvS.js} +2 -2
- package/dist/{org-style-BWj_AEnP.js → org-style-9BaDs90S.js} +1 -1
- package/dist/{pagination-design-BGUqZKxh.js → pagination-design-BDNanSYh.js} +2 -2
- package/dist/paper-widget-design-dOfn89l9.js +4 -0
- package/dist/{qrcode-design-CjN0UWN3.js → qrcode-design-V3Kuah3m.js} +1 -1
- package/dist/{ref-autofill-editor-BKYPW69A.js → ref-autofill-editor-1pOiaURA.js} +2 -2
- package/dist/{ref-props-M99PRlsI.js → ref-props-CpnxcBCi.js} +3 -3
- package/dist/{ref-style-BCeprSYg.js → ref-style-OSp-Rjuz.js} +1 -1
- package/dist/{regex-editor-BGaFYbF4.js → regex-editor-DnWDHB5T.js} +2 -2
- package/dist/{revo-grid.entry-Bokapeoj.js → revo-grid.entry-ClF8lyTa.js} +1 -1
- package/dist/{revogr-attribution_7.entry-D7WJHpFT.js → revogr-attribution_7.entry-BgyHJZuq.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-Bk1SGzbF.js → revogr-clipboard_3.entry-DsSlwjAg.js} +2 -2
- package/dist/{revogr-data_4.entry-2v7X9qHp.js → revogr-data_4.entry-BR0RiTEA.js} +2 -2
- package/dist/{revogr-filter-panel.entry-DXaW46ts.js → revogr-filter-panel.entry-6I6pIy1t.js} +1 -1
- package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-ygXwKc_C.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-DrkZPjxx.js} +2 -2
- package/dist/{serialnumber-design-Bo13RmJa.js → serialnumber-design-yaRfMsU0.js} +1 -1
- package/dist/shared/index.es.js +14 -14
- package/dist/{signature-design-DT5T5nus.js → signature-design-B3xqgwJd.js} +1 -1
- package/dist/{signature-props-cW9R4qcY.js → signature-props-BWhInYU5.js} +3 -3
- package/dist/{signature-style-XPxgyfzG.js → signature-style-CriOvfEO.js} +1 -1
- package/dist/{single-field-drop-CjK8KjfH.js → single-field-drop-CPiavuQD.js} +2 -2
- package/dist/{size-editor-aLyY3Bsr.js → size-editor-D0JnT0iA.js} +1 -1
- package/dist/src/nocode-base/src/hooks/material-consume/types.d.ts +2 -2
- package/dist/src/nocode-base/src/interface/check-ds-data.d.ts +19 -11
- package/dist/src/nocode-base/src/interface/front-config.d.ts +47 -0
- package/dist/src/nocode-base/src/interface/index.d.ts +3 -1
- package/dist/src/nocode-base/src/interface/transform.d.ts +9 -3
- package/dist/src/nocode-base/src/types/fields/i-switch.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +8 -8
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +11 -11
- package/dist/{text-design-Dz8pIESR.js → text-design-1nJufu5G.js} +2 -2
- package/dist/{text-design-DIR_98fe.js → text-design-ztaW7thY.js} +2 -2
- package/dist/{text-props-BxirdX2V.js → text-props-DAA15H4v.js} +5 -5
- package/dist/{text-style-MPmJRVRg.js → text-style-CUKgx-kL.js} +1 -1
- package/dist/{throttle-Cpk1LoGk-C22z7VFi.js → throttle-Cpk1LoGk-Buf1TOpL.js} +1 -1
- package/dist/{timediff-design-Pud7SFpe.js → timediff-design-VY2vmzMg.js} +1 -1
- package/dist/{trace-design-DNVZ_y9D.js → trace-design-DRBYOS13.js} +2 -2
- package/dist/{trace-props-LPvWrrti.js → trace-props-D47QpyJH.js} +6 -6
- package/dist/{trace-style-DnaicSRA.js → trace-style-be8PXFsf.js} +1 -1
- package/dist/{user-props-DdTpHX3B.js → user-props-BB0Vcch3.js} +2 -2
- package/dist/{user-style-6SWgJi8d.js → user-style-C-QXQ1ti.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-DKeZWlc0.js → value-editor.vue_vue_type_style_index_0_lang-DycxpaAS.js} +2 -2
- package/dist/{version-select-CXWtI4W-.js → version-select-B9NwTGaB.js} +1 -1
- package/dist/web-render/index.es.js +2 -2
- package/dist/{widget-barcode-iBjDv4NF.js → widget-barcode-CMO87Hmu.js} +4 -4
- package/dist/{widget-diagonal-4ZMgaI9y.js → widget-diagonal-CSZndGwY.js} +3 -3
- package/dist/{widget-image-B63wZzz4.js → widget-image-CExyPp-E.js} +5 -5
- package/dist/{widget-line-CIG-L--W.js → widget-line-CT9PROAE.js} +2 -2
- package/dist/{widget-pagination-CAmhXECi.js → widget-pagination-CvStItAL.js} +5 -5
- package/dist/{widget-power-CsiguFSe.js → widget-power-BK8gMkjB.js} +3 -3
- package/dist/{widget-qrcode-BuEayrLO.js → widget-qrcode-DkC4aj6u.js} +3 -3
- package/dist/{widget-rangelimit-CqaLvV8n.js → widget-rangelimit-DOwSYluI.js} +3 -3
- package/dist/{widget-serialnumber-C_wAw0TS.js → widget-serialnumber-Dt7j7OJV.js} +1 -1
- package/dist/{widget-text-CRApo2EO.js → widget-text-BSXu4P8B.js} +5 -5
- package/dist/{widget-timediff-D1q5VNhe.js → widget-timediff-DtDRLTxc.js} +2 -2
- package/package.json +1 -1
- package/dist/base-font-editor-B6J_Ts2T.js +0 -120
- package/dist/paper-widget-design-CgmZ8LSm.js +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, toRaw, shallowRef, computed, ref, readonly, onMounted, watch, normalizeClass, onBeforeUnmount, h as h$1, watchEffect, unref, createVNode, reactive } from "vue";
|
|
2
|
-
import { k as commonjsGlobal, l as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
-
import { r as require$$0 } from "./index-
|
|
2
|
+
import { k as commonjsGlobal, l as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bomssr4x.js";
|
|
3
|
+
import { r as require$$0 } from "./index-CZTvhN0E.js";
|
|
4
4
|
var window_1;
|
|
5
5
|
var hasRequiredWindow;
|
|
6
6
|
function requireWindow() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, toDisplayString } from "vue";
|
|
2
|
-
import { u as useModelFields } from "./index-
|
|
2
|
+
import { u as useModelFields } from "./index-B2dCmlfS.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "agg-design",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock, createElementBlock } from "vue";
|
|
2
|
-
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bomssr4x.js";
|
|
3
3
|
const _sfc_main = {};
|
|
4
4
|
function _sfc_render(_ctx, _cache) {
|
|
5
5
|
return openBlock(), createElementBlock("div");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock } from "vue";
|
|
2
|
-
import { B as BaseFontEditor } from "./base-font-editor-
|
|
2
|
+
import { B as BaseFontEditor } from "./base-font-editor-BKN5HPtV.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "agg-style",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, renderList, normalizeClass, createVNode, withCtx, createElementVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bomssr4x.js";
|
|
3
3
|
const _hoisted_1 = { class: "align-group-box" };
|
|
4
4
|
const _hoisted_2 = ["onClick"];
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
|
|
2
2
|
import { message } from "ant-design-vue";
|
|
3
3
|
import { a as useNamespace } from "./use-namespace-qtLS8nEh.js";
|
|
4
|
-
import { u as useModelFields, b as useDrop, T as TransferType, d as getFieldIcon, M as MultipleDrop, e as FieldConfig } from "./index-
|
|
5
|
-
import { F as FIELD_TYPE, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
4
|
+
import { u as useModelFields, b as useDrop, T as TransferType, d as getFieldIcon, M as MultipleDrop, e as FieldConfig } from "./index-B2dCmlfS.js";
|
|
5
|
+
import { F as FIELD_TYPE, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bomssr4x.js";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "attach-fields-editor",
|
|
8
8
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
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 { h as useSpreadSheet, u as useModelFields, p as loadBwip } from "./index-
|
|
4
|
-
import { m as PaperWidgeValueType, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { h as useSpreadSheet, u as useModelFields, p as loadBwip } from "./index-B2dCmlfS.js";
|
|
4
|
+
import { m as PaperWidgeValueType, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bomssr4x.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
7
7
|
const _hoisted_1 = { class: "wrapper" };
|
package/dist/base/index.es.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { av as fetchHistoryConsume, aw as isBomGranted, F as FIELD_TYPE, i as api, am as getParseRuleInfo, an as getParseRuleValue, ax as calcFillData, ay as extractKeywordFromQueryData, t as FormTypeEnum, az as transformUtils, g as SubTableType, aj as NCB_PROVIDE, aA as settleAndValidateDisplay, aB as unregisterValidationContext, aC as clearFormRules, aD as registerValidationContext, e as ComponentTypeEnum, aq as RenderModeEnum, aE as requestFullValidation, aF as requestDisplayValidation, aG as closeValidatorPopovers, aH as baseDataUtils, aI as getRawFormRuleMeta, aJ as enrichFormChangeRowDetails, aK as settleAfterModeSwitch, aL as calcUtils, a2 as CheckDsTypeEnum, ag as renderUtils, E as PlatformEnum, aM as uuid2, aN as normalizeToArray, aO as safeParseArray, aP as BpmnNodeTypeEnum, aQ as mergeByMultiKey, au as useNocodeEmitter, a1 as EntityModelCategoryEnum, aR as getRowId, aS as collectFormChangeFieldLocations, aT as nextFormChangeRowViewHistoryId } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
-
import { a5, a7, ah, x, aU, aV, B, aW, h, H, aX, aY, aZ, af, ai, a6, a3, a4, I, K, a_, ar, N, a$, $, a9, w, J, L, b0, b1, O, b, P, a0, a, m, a8, b2, b3, ap, A, y, z, D, b4, T, V, W, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, ak,
|
|
3
|
-
import { M as MaterialConsumptionPatternEnum, g as MaterialConsumeTableController, S as SubTableCore, h as SubTableActionMenuTypeEnum, i as getMenuByAction, j as SubTableActionEnum, k as getCopySubMenu, l as getInsertSubMenu, m as useMaterialBalance, v as validate, n as commonUtils } from "../dynamic-table-action-
|
|
4
|
-
import { B as B2, o, D as D2, _, p, e, q, f, F, r, I as I2, s, c, a as a2, t, u as u2, b as b10, d } from "../dynamic-table-action-
|
|
1
|
+
import { av as fetchHistoryConsume, aw as isBomGranted, F as FIELD_TYPE, i as api, am as getParseRuleInfo, an as getParseRuleValue, ax as calcFillData, ay as extractKeywordFromQueryData, t as FormTypeEnum, az as transformUtils, g as SubTableType, aj as NCB_PROVIDE, aA as settleAndValidateDisplay, aB as unregisterValidationContext, aC as clearFormRules, aD as registerValidationContext, e as ComponentTypeEnum, aq as RenderModeEnum, aE as requestFullValidation, aF as requestDisplayValidation, aG as closeValidatorPopovers, aH as baseDataUtils, aI as getRawFormRuleMeta, aJ as enrichFormChangeRowDetails, aK as settleAfterModeSwitch, aL as calcUtils, a2 as CheckDsTypeEnum, ag as renderUtils, E as PlatformEnum, aM as uuid2, aN as normalizeToArray, aO as safeParseArray, aP as BpmnNodeTypeEnum, aQ as mergeByMultiKey, au as useNocodeEmitter, a1 as EntityModelCategoryEnum, aR as getRowId, aS as collectFormChangeFieldLocations, aT as nextFormChangeRowViewHistoryId } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bomssr4x.js";
|
|
2
|
+
import { a5, a7, ah, x, aU, aV, B, aW, h, H, aX, aY, aZ, af, ai, a6, a3, a4, I, K, a_, ar, N, a$, $, a9, w, J, L, b0, b1, O, b, P, a0, a, m, a8, b2, b3, ap, A, y, z, D, b4, T, V, W, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, ak, bx, by, bz, al, bA, bB, bC, bD, M, bE, bF, ad, bG, ac, aa, bH, u, ao, ae, ab } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bomssr4x.js";
|
|
3
|
+
import { M as MaterialConsumptionPatternEnum, g as MaterialConsumeTableController, S as SubTableCore, h as SubTableActionMenuTypeEnum, i as getMenuByAction, j as SubTableActionEnum, k as getCopySubMenu, l as getInsertSubMenu, m as useMaterialBalance, v as validate, n as commonUtils } from "../dynamic-table-action-D789BgJZ.js";
|
|
4
|
+
import { B as B2, o, D as D2, _, p, e, q, f, F, r, I as I2, s, c, a as a2, t, u as u2, b as b10, d } from "../dynamic-table-action-D789BgJZ.js";
|
|
5
5
|
import { ref, provide, watch, computed, onBeforeMount } from "vue";
|
|
6
6
|
import { defaults, pick, merge, has, isEmpty, cloneDeep, debounce } from "lodash-es";
|
|
7
7
|
import dayjs from "dayjs";
|
|
8
|
-
import { B as B3, F as F2, M as M2, b as b11, u as u3 } from "../mb-render-
|
|
8
|
+
import { B as B3, F as F2, M as M2, b as b11, u as u3 } from "../mb-render-BOzJ9uDs.js";
|
|
9
9
|
var MaterialStatusEnum = /* @__PURE__ */ ((MaterialStatusEnum2) => {
|
|
10
10
|
MaterialStatusEnum2["LOT"] = "LOT";
|
|
11
11
|
MaterialStatusEnum2["SN"] = "SN";
|
|
@@ -1840,7 +1840,7 @@ class SubTableCoreFactory {
|
|
|
1840
1840
|
if (!paper?.props) {
|
|
1841
1841
|
return [];
|
|
1842
1842
|
}
|
|
1843
|
-
if (paper.props.subTableWidgetIds) {
|
|
1843
|
+
if (paper.props.subTableWidgetIds?.length) {
|
|
1844
1844
|
return paper.props.subTableWidgetIds.map((id) => this.ctx.runtimeJson[id]);
|
|
1845
1845
|
}
|
|
1846
1846
|
return Object.values(this.ctx.runtimeJson).filter((item) => {
|
|
@@ -2232,12 +2232,14 @@ function useRenderPageFactory(props, payload) {
|
|
|
2232
2232
|
const hasCustomCheckTableDataSource = !!paper?.props?.checkTable2DList?.some((checkInfo) => {
|
|
2233
2233
|
return checkInfo?.checkTable2d && (checkInfo?.checkDsType ?? CheckDsTypeEnum.DEFAULT) === CheckDsTypeEnum.CUSTOM;
|
|
2234
2234
|
});
|
|
2235
|
+
let pendingCheckTableConfig;
|
|
2235
2236
|
if (paper && (isFormInstance || hasCustomCheckTableDataSource)) {
|
|
2236
|
-
await transformUtils.requestCheckDsData({
|
|
2237
|
+
pendingCheckTableConfig = await transformUtils.requestCheckDsData({
|
|
2237
2238
|
paper,
|
|
2238
2239
|
instanceId: id || "",
|
|
2239
2240
|
cloneRuntimeJson,
|
|
2240
|
-
hasFormInstance: isFormInstance
|
|
2241
|
+
hasFormInstance: isFormInstance,
|
|
2242
|
+
frontConfig: selfInfo?.frontConfig
|
|
2241
2243
|
});
|
|
2242
2244
|
}
|
|
2243
2245
|
const subTableCoreFactory = new SubTableCoreFactory({
|
|
@@ -2494,6 +2496,8 @@ function useRenderPageFactory(props, payload) {
|
|
|
2494
2496
|
},
|
|
2495
2497
|
selfInfo: {
|
|
2496
2498
|
...selfInfo,
|
|
2499
|
+
/** 本次打开解析/拉取到的检验表快照,保存时写入 frontConfig.checkTableConfig */
|
|
2500
|
+
pendingCheckTableConfig,
|
|
2497
2501
|
newBackupInfo: {
|
|
2498
2502
|
foreignFields: fieldInfoMap.foreignFields,
|
|
2499
2503
|
subModelFields: fieldInfoMap.subModelFields,
|
|
@@ -3696,42 +3700,51 @@ export {
|
|
|
3696
3700
|
be as fetchMedProCheckDsData,
|
|
3697
3701
|
filterAnnotationItemsUpToCurrent,
|
|
3698
3702
|
getAppInfo,
|
|
3699
|
-
bf as
|
|
3700
|
-
bg as
|
|
3701
|
-
bh as
|
|
3703
|
+
bf as getCheckTableSnapshotKey,
|
|
3704
|
+
bg as getFormChangeRowKey,
|
|
3705
|
+
bh as getFormChangeRowOp,
|
|
3706
|
+
bi as getParseRuleConfig,
|
|
3702
3707
|
getParseRuleInfo,
|
|
3703
3708
|
getParseRuleValue,
|
|
3704
|
-
|
|
3709
|
+
bj as getSubTableQuickFillInfo,
|
|
3705
3710
|
getSuiteKey,
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3711
|
+
bk as handleOldConfig,
|
|
3712
|
+
bl as hasAnyCheckTableSnapshot,
|
|
3713
|
+
bm as hasByTableCheckTableSnapshot,
|
|
3714
|
+
bn as hasSharedCheckTableSnapshot,
|
|
3715
|
+
bo as insertSubtableRows,
|
|
3716
|
+
bp as isAnnLocationSelected,
|
|
3709
3717
|
isEdhrSuite,
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3718
|
+
bq as isFormChangeGhostRow,
|
|
3719
|
+
br as isMedProSuite,
|
|
3720
|
+
bs as isRowAddedInCurrentFormChange,
|
|
3721
|
+
bt as jsonSchemaUtils,
|
|
3722
|
+
bu as mergeCheckTableConfig,
|
|
3723
|
+
bv as mergeFrontConfigForSave,
|
|
3724
|
+
bw as migrateDiagonalDirectionToVertex,
|
|
3715
3725
|
nextFormChangeRowViewHistoryId,
|
|
3716
3726
|
ak as normalizeRefLoaderResult,
|
|
3717
|
-
|
|
3718
|
-
|
|
3727
|
+
bx as parseFrontConfig,
|
|
3728
|
+
by as recordSubtableRowAdd,
|
|
3729
|
+
bz as recordSubtableRowDelete,
|
|
3719
3730
|
al as refUtils,
|
|
3720
3731
|
registerValidationContext,
|
|
3721
|
-
|
|
3732
|
+
bA as relocateDeletedRowsToEnd,
|
|
3722
3733
|
renderUtils,
|
|
3723
3734
|
requestDisplayValidation,
|
|
3724
3735
|
requestFullValidation,
|
|
3725
|
-
|
|
3726
|
-
|
|
3736
|
+
bB as requestMedProCheckDsData,
|
|
3737
|
+
bC as requestNonMedProCheckDsData,
|
|
3738
|
+
bD as resolveAnnotationFieldLocation,
|
|
3727
3739
|
M as resolveDiagonalVertex,
|
|
3728
|
-
|
|
3729
|
-
|
|
3740
|
+
bE as resolveFormChangeRowUi,
|
|
3741
|
+
bF as resolveRowFormChangeMark,
|
|
3730
3742
|
ad as setSelectAnnotationId,
|
|
3731
|
-
|
|
3743
|
+
bG as setSelectMobileTdId,
|
|
3732
3744
|
ac as setSelectValidatorId,
|
|
3733
3745
|
settleAndValidateDisplay,
|
|
3734
3746
|
aa as sqlUtils,
|
|
3747
|
+
bH as stringifyFrontConfig,
|
|
3735
3748
|
transformUtils,
|
|
3736
3749
|
unregisterValidationContext,
|
|
3737
3750
|
u as useCalculateFormula,
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, watch, resolveComponent, openBlock, createElementBlock, Fragment, createElementVNode, normalizeClass, unref, createVNode, withCtx, createBlock, createSlots, createTextVNode, createCommentVNode } from "vue";
|
|
2
|
+
import { a as useNamespace } from "./use-namespace-qtLS8nEh.js";
|
|
3
|
+
import { F as FormItem } from "./index-B2dCmlfS.js";
|
|
4
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bomssr4x.js";
|
|
5
|
+
const DEFAULT_LETTER_SPACE = 8;
|
|
6
|
+
const DEFAULT_OPTION_GAP = 12;
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
+
__name: "base-font-editor",
|
|
9
|
+
props: {
|
|
10
|
+
fontSize: {},
|
|
11
|
+
letterSpace: {},
|
|
12
|
+
noLetterSpace: { type: Boolean },
|
|
13
|
+
optionGap: {},
|
|
14
|
+
showOptionGap: { type: Boolean },
|
|
15
|
+
disabled: { type: Boolean }
|
|
16
|
+
},
|
|
17
|
+
emits: ["update:fontSize", "update:letterSpace", "update:optionGap"],
|
|
18
|
+
setup(__props, { emit: __emit }) {
|
|
19
|
+
const ns = useNamespace("base-font-editor");
|
|
20
|
+
const props = __props;
|
|
21
|
+
const emit = __emit;
|
|
22
|
+
const letterSpaceFocused = ref(false);
|
|
23
|
+
const optionGapFocused = ref(false);
|
|
24
|
+
const letterSpaceDraft = ref(
|
|
25
|
+
props.letterSpace ?? (props.showOptionGap ? DEFAULT_LETTER_SPACE : void 0)
|
|
26
|
+
);
|
|
27
|
+
const optionGapDraft = ref(props.optionGap ?? DEFAULT_OPTION_GAP);
|
|
28
|
+
const fontSizeOptions = Array.from({ length: 8 }, (_, i) => i * 2 + 10).map((num) => ({
|
|
29
|
+
label: num,
|
|
30
|
+
value: num
|
|
31
|
+
}));
|
|
32
|
+
const _fontSize = computed({
|
|
33
|
+
get() {
|
|
34
|
+
return props.fontSize;
|
|
35
|
+
},
|
|
36
|
+
set(v) {
|
|
37
|
+
emit("update:fontSize", v);
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
watch(
|
|
41
|
+
() => props.letterSpace,
|
|
42
|
+
(value) => {
|
|
43
|
+
if (!letterSpaceFocused.value) {
|
|
44
|
+
letterSpaceDraft.value = value ?? (props.showOptionGap ? DEFAULT_LETTER_SPACE : void 0);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
watch(
|
|
49
|
+
() => props.optionGap,
|
|
50
|
+
(value) => {
|
|
51
|
+
if (!optionGapFocused.value) {
|
|
52
|
+
optionGapDraft.value = value ?? DEFAULT_OPTION_GAP;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
);
|
|
56
|
+
const handleLetterSpaceFocus = () => {
|
|
57
|
+
letterSpaceFocused.value = true;
|
|
58
|
+
};
|
|
59
|
+
const handleLetterSpaceUpdate = (value) => {
|
|
60
|
+
if (value != null) {
|
|
61
|
+
emit("update:letterSpace", value);
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
const handleOptionGapFocus = () => {
|
|
65
|
+
optionGapFocused.value = true;
|
|
66
|
+
};
|
|
67
|
+
const handleOptionGapUpdate = (value) => {
|
|
68
|
+
if (value != null) {
|
|
69
|
+
emit("update:optionGap", value);
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
const restoreLetterSpaceDefault = () => {
|
|
73
|
+
letterSpaceFocused.value = false;
|
|
74
|
+
if (!props.showOptionGap || letterSpaceDraft.value != null) return;
|
|
75
|
+
letterSpaceDraft.value = DEFAULT_LETTER_SPACE;
|
|
76
|
+
emit("update:letterSpace", DEFAULT_LETTER_SPACE);
|
|
77
|
+
};
|
|
78
|
+
const restoreOptionGapDefault = () => {
|
|
79
|
+
optionGapFocused.value = false;
|
|
80
|
+
if (optionGapDraft.value != null) return;
|
|
81
|
+
optionGapDraft.value = DEFAULT_OPTION_GAP;
|
|
82
|
+
emit("update:optionGap", DEFAULT_OPTION_GAP);
|
|
83
|
+
};
|
|
84
|
+
return (_ctx, _cache) => {
|
|
85
|
+
const _component_a_select = resolveComponent("a-select");
|
|
86
|
+
const _component_a_input_number = resolveComponent("a-input-number");
|
|
87
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
88
|
+
createElementVNode("div", {
|
|
89
|
+
class: normalizeClass([unref(ns).b(), __props.showOptionGap && unref(ns).m("equal-control")])
|
|
90
|
+
}, [
|
|
91
|
+
createVNode(FormItem, {
|
|
92
|
+
class: normalizeClass(unref(ns).e("item")),
|
|
93
|
+
inline: false,
|
|
94
|
+
label: _ctx.$t("sys.cardDesign.cfg_form.size_mode")
|
|
95
|
+
}, {
|
|
96
|
+
default: withCtx(() => [
|
|
97
|
+
createVNode(_component_a_select, {
|
|
98
|
+
value: _fontSize.value,
|
|
99
|
+
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => _fontSize.value = $event),
|
|
100
|
+
options: unref(fontSizeOptions),
|
|
101
|
+
size: "small",
|
|
102
|
+
disabled: __props.disabled,
|
|
103
|
+
placeholder: _ctx.$t("sys.inputText")
|
|
104
|
+
}, null, 8, ["value", "options", "disabled", "placeholder"])
|
|
105
|
+
]),
|
|
106
|
+
_: 1
|
|
107
|
+
}, 8, ["class", "label"]),
|
|
108
|
+
!__props.noLetterSpace ? (openBlock(), createBlock(FormItem, {
|
|
109
|
+
key: 0,
|
|
110
|
+
class: normalizeClass(unref(ns).e("item")),
|
|
111
|
+
inline: false,
|
|
112
|
+
label: _ctx.$t("sys.onlineForm.spacing")
|
|
113
|
+
}, {
|
|
114
|
+
default: withCtx(() => [
|
|
115
|
+
createVNode(_component_a_input_number, {
|
|
116
|
+
value: letterSpaceDraft.value,
|
|
117
|
+
"onUpdate:value": [
|
|
118
|
+
_cache[1] || (_cache[1] = ($event) => letterSpaceDraft.value = $event),
|
|
119
|
+
handleLetterSpaceUpdate
|
|
120
|
+
],
|
|
121
|
+
disabled: __props.disabled,
|
|
122
|
+
precision: 0,
|
|
123
|
+
size: __props.showOptionGap ? "small" : void 0,
|
|
124
|
+
onFocus: handleLetterSpaceFocus,
|
|
125
|
+
onBlur: restoreLetterSpaceDefault
|
|
126
|
+
}, createSlots({ _: 2 }, [
|
|
127
|
+
__props.showOptionGap ? {
|
|
128
|
+
name: "addonAfter",
|
|
129
|
+
fn: withCtx(() => [
|
|
130
|
+
_cache[3] || (_cache[3] = createTextVNode("px", -1))
|
|
131
|
+
]),
|
|
132
|
+
key: "0"
|
|
133
|
+
} : void 0
|
|
134
|
+
]), 1032, ["value", "disabled", "size"])
|
|
135
|
+
]),
|
|
136
|
+
_: 1
|
|
137
|
+
}, 8, ["class", "label"])) : createCommentVNode("", true)
|
|
138
|
+
], 2),
|
|
139
|
+
__props.showOptionGap ? (openBlock(), createElementBlock("div", {
|
|
140
|
+
key: 0,
|
|
141
|
+
class: normalizeClass([unref(ns).b(), unref(ns).m("equal-control")])
|
|
142
|
+
}, [
|
|
143
|
+
createVNode(FormItem, {
|
|
144
|
+
class: normalizeClass(unref(ns).e("item")),
|
|
145
|
+
inline: false,
|
|
146
|
+
label: _ctx.$t("sys.optionSpacing")
|
|
147
|
+
}, {
|
|
148
|
+
default: withCtx(() => [
|
|
149
|
+
createVNode(_component_a_input_number, {
|
|
150
|
+
value: optionGapDraft.value,
|
|
151
|
+
"onUpdate:value": [
|
|
152
|
+
_cache[2] || (_cache[2] = ($event) => optionGapDraft.value = $event),
|
|
153
|
+
handleOptionGapUpdate
|
|
154
|
+
],
|
|
155
|
+
disabled: __props.disabled,
|
|
156
|
+
precision: 0,
|
|
157
|
+
min: 0,
|
|
158
|
+
max: 100,
|
|
159
|
+
size: "small",
|
|
160
|
+
onFocus: handleOptionGapFocus,
|
|
161
|
+
onBlur: restoreOptionGapDefault
|
|
162
|
+
}, {
|
|
163
|
+
addonAfter: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
164
|
+
createTextVNode("px", -1)
|
|
165
|
+
])]),
|
|
166
|
+
_: 1
|
|
167
|
+
}, 8, ["value", "disabled"])
|
|
168
|
+
]),
|
|
169
|
+
_: 1
|
|
170
|
+
}, 8, ["class", "label"])
|
|
171
|
+
], 2)) : createCommentVNode("", true)
|
|
172
|
+
], 64);
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
});
|
|
176
|
+
const BaseFontEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b2e6daa3"]]);
|
|
177
|
+
export {
|
|
178
|
+
BaseFontEditor as B
|
|
179
|
+
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, createVNode, unref, normalizeStyle, withCtx, Fragment, renderList, createBlock, createCommentVNode } from "vue";
|
|
2
|
-
import { C as CellWidgetRenderComp, S as SelectEx, a as CellWidgetDesign } from "./index-
|
|
3
|
-
import { x as BooleanShowMode, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as CellWidgetRenderComp, S as SelectEx, a as CellWidgetDesign } from "./index-B2dCmlfS.js";
|
|
3
|
+
import { x as BooleanShowMode, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bomssr4x.js";
|
|
4
4
|
import { isNil } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
+
const DEFAULT_OPTION_GAP = 12;
|
|
7
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
9
|
__name: "boolean-design",
|
|
9
10
|
props: {
|
|
@@ -12,6 +13,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
12
13
|
},
|
|
13
14
|
setup(__props) {
|
|
14
15
|
const props = __props;
|
|
16
|
+
const optionGap = computed(() => props.fieldWidget.optionGap ?? DEFAULT_OPTION_GAP);
|
|
15
17
|
const iconType = computed(() => {
|
|
16
18
|
return {
|
|
17
19
|
[CellWidgetRenderComp.Radio]: "radio",
|
|
@@ -60,6 +62,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
60
62
|
if (!isNil(props.fieldWidget.iconLabelSpace)) {
|
|
61
63
|
result["--gct-select-ex-icon-label-space"] = props.fieldWidget.iconLabelSpace + "px";
|
|
62
64
|
}
|
|
65
|
+
result["--gct-select-ex-option-gap"] = `${optionGap.value}px`;
|
|
63
66
|
return result;
|
|
64
67
|
});
|
|
65
68
|
return (_ctx, _cache) => {
|
|
@@ -74,6 +77,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
74
77
|
direction: __props.fieldWidget.direction,
|
|
75
78
|
"label-position": __props.fieldWidget.labelPosition,
|
|
76
79
|
"null-value": nullValue.value,
|
|
80
|
+
"icon-label-space": __props.fieldWidget.iconLabelSpace,
|
|
81
|
+
"option-gap": optionGap.value,
|
|
77
82
|
style: normalizeStyle(styleVars.value),
|
|
78
83
|
size: "small"
|
|
79
84
|
}, {
|
|
@@ -94,12 +99,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
94
99
|
}), 128)) : createCommentVNode("", true)
|
|
95
100
|
]),
|
|
96
101
|
_: 1
|
|
97
|
-
}, 8, ["disabled", "options", "value", "show-mode", "icon-type", "direction", "label-position", "null-value", "style"])
|
|
102
|
+
}, 8, ["disabled", "options", "value", "show-mode", "icon-type", "direction", "label-position", "null-value", "icon-label-space", "option-gap", "style"])
|
|
98
103
|
]);
|
|
99
104
|
};
|
|
100
105
|
}
|
|
101
106
|
});
|
|
102
|
-
const booleanDesign = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
107
|
+
const booleanDesign = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-39d9ca90"]]);
|
|
103
108
|
export {
|
|
104
109
|
booleanDesign as default
|
|
105
110
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, createElementVNode, toDisplayString, createBlock, createCommentVNode } from "vue";
|
|
2
|
-
import { F as FormItem } from "./index-
|
|
3
|
-
import { A as AttachFieldEditor } from "./attach-fields-editor-
|
|
4
|
-
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { F as FormItem } from "./index-B2dCmlfS.js";
|
|
3
|
+
import { A as AttachFieldEditor } from "./attach-fields-editor-DNhfTsft.js";
|
|
4
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bomssr4x.js";
|
|
5
5
|
const _hoisted_1 = { style: { "float": "right" } };
|
|
6
6
|
const _hoisted_2 = { class: "option-container" };
|
|
7
7
|
const _hoisted_3 = { class: "option" };
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, unref, createBlock, withCtx, createCommentVNode } from "vue";
|
|
2
|
-
import { x as BooleanShowMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { x as BooleanShowMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bomssr4x.js";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { C as CellWidgetRenderComp, F as FormItem } from "./index-
|
|
7
|
-
import { B as BaseFontEditor } from "./base-font-editor-
|
|
8
|
-
import { _ as _sfc_main$1, a as _sfc_main$2 } from "./select-render-type-editor.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { C as CellWidgetRenderComp, F as FormItem } from "./index-B2dCmlfS.js";
|
|
7
|
+
import { B as BaseFontEditor } from "./base-font-editor-BKN5HPtV.js";
|
|
8
|
+
import { _ as _sfc_main$1, a as _sfc_main$2 } from "./select-render-type-editor.vue_vue_type_script_setup_true_lang-DrkZPjxx.js";
|
|
9
|
+
const DEFAULT_LETTER_SPACE = 8;
|
|
10
|
+
const DEFAULT_OPTION_GAP = 12;
|
|
9
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
12
|
__name: "boolean-style",
|
|
11
13
|
props: {
|
|
@@ -22,6 +24,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
22
24
|
Object.assign(props.widget, v);
|
|
23
25
|
}
|
|
24
26
|
});
|
|
27
|
+
const isRadioOrCheckbox = computed(
|
|
28
|
+
() => [CellWidgetRenderComp.Radio, CellWidgetRenderComp.Checkbox].includes(
|
|
29
|
+
formState.value.renderComp
|
|
30
|
+
)
|
|
31
|
+
);
|
|
32
|
+
const letterSpace = computed({
|
|
33
|
+
get: () => props.widget.iconLabelSpace ?? DEFAULT_LETTER_SPACE,
|
|
34
|
+
set: (value) => {
|
|
35
|
+
formState.value.iconLabelSpace = value ?? DEFAULT_LETTER_SPACE;
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
const optionGap = computed({
|
|
39
|
+
get: () => props.widget.optionGap ?? DEFAULT_OPTION_GAP,
|
|
40
|
+
set: (value) => {
|
|
41
|
+
formState.value.optionGap = value ?? DEFAULT_OPTION_GAP;
|
|
42
|
+
}
|
|
43
|
+
});
|
|
25
44
|
const ShowModeOptions = [
|
|
26
45
|
{
|
|
27
46
|
label: $t("sys.component.fieldTypeProps.bothTrueAndFalse"),
|
|
@@ -61,18 +80,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
61
80
|
]),
|
|
62
81
|
_: 1
|
|
63
82
|
}, 8, ["label"])) : createCommentVNode("", true),
|
|
64
|
-
|
|
83
|
+
isRadioOrCheckbox.value ? (openBlock(), createBlock(BaseFontEditor, {
|
|
84
|
+
key: 1,
|
|
65
85
|
"font-size": formState.value.fontSize,
|
|
66
86
|
"onUpdate:fontSize": _cache[2] || (_cache[2] = ($event) => formState.value.fontSize = $event),
|
|
67
|
-
"letter-space":
|
|
68
|
-
"onUpdate:letterSpace": _cache[3] || (_cache[3] = ($event) =>
|
|
87
|
+
"letter-space": letterSpace.value,
|
|
88
|
+
"onUpdate:letterSpace": _cache[3] || (_cache[3] = ($event) => letterSpace.value = $event),
|
|
89
|
+
"option-gap": optionGap.value,
|
|
90
|
+
"onUpdate:optionGap": _cache[4] || (_cache[4] = ($event) => optionGap.value = $event),
|
|
91
|
+
"show-option-gap": true,
|
|
69
92
|
disabled: __props.disabled
|
|
70
|
-
}, null, 8, ["font-size", "letter-space", "disabled"]),
|
|
93
|
+
}, null, 8, ["font-size", "letter-space", "option-gap", "disabled"])) : createCommentVNode("", true),
|
|
71
94
|
createVNode(_sfc_main$2, {
|
|
72
95
|
"label-position": formState.value.labelPosition,
|
|
73
|
-
"onUpdate:labelPosition": _cache[
|
|
96
|
+
"onUpdate:labelPosition": _cache[5] || (_cache[5] = ($event) => formState.value.labelPosition = $event),
|
|
74
97
|
direction: formState.value.direction,
|
|
75
|
-
"onUpdate:direction": _cache[
|
|
98
|
+
"onUpdate:direction": _cache[6] || (_cache[6] = ($event) => formState.value.direction = $event),
|
|
76
99
|
renderComp: formState.value.renderComp,
|
|
77
100
|
disabled: __props.disabled
|
|
78
101
|
}, null, 8, ["label-position", "direction", "renderComp", "disabled"])
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, createVNode, createElementVNode, toDisplayString } from "vue";
|
|
2
2
|
import { a as useNamespace } from "./use-namespace-qtLS8nEh.js";
|
|
3
|
-
import { P as PlusOutlined } from "./index-
|
|
4
|
-
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { P as PlusOutlined } from "./index-B2dCmlfS.js";
|
|
4
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bomssr4x.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "cell-upload",
|
|
7
7
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { watch, computed, defineComponent, toRefs, resolveComponent, openBlock, createBlock, withCtx, createVNode, unref, isRef, createCommentVNode, createElementVNode, toDisplayString, createElementBlock, normalizeClass, Fragment } from "vue";
|
|
2
|
-
import { F as FormItem, S as SelectEx, f as FormulaEditor } from "./index-
|
|
3
|
-
import { F as FIELD_TYPE, _ as _export_sfc, ap as RangeValidateMode, b3 as RangeCompareOp } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { F as FormItem, S as SelectEx, f as FormulaEditor } from "./index-B2dCmlfS.js";
|
|
3
|
+
import { F as FIELD_TYPE, _ as _export_sfc, ap as RangeValidateMode, b3 as RangeCompareOp } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bomssr4x.js";
|
|
4
4
|
import { a as useNamespace } from "./use-namespace-qtLS8nEh.js";
|
|
5
5
|
import { isNil } from "lodash-es";
|
|
6
6
|
import "dayjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createBlock } from "vue";
|
|
2
|
-
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bomssr4x.js";
|
|
3
3
|
import dayjs from "dayjs";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "date-time-design",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createBlock, withCtx, createVNode, createCommentVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { F as FormItem } from "./index-
|
|
3
|
-
import { D as DateFormatEditor, a as DateRangeEditor } from "./date-range-editor-
|
|
4
|
-
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { F as FormItem } from "./index-B2dCmlfS.js";
|
|
3
|
+
import { D as DateFormatEditor, a as DateRangeEditor } from "./date-range-editor-B01L0e3H.js";
|
|
4
|
+
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bomssr4x.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "date-time-props",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock } from "vue";
|
|
2
|
-
import { B as BaseFontEditor } from "./base-font-editor-
|
|
2
|
+
import { B as BaseFontEditor } from "./base-font-editor-BKN5HPtV.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "date-time-style",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createVNode } from "vue";
|
|
2
|
-
import { N as NumberInputEx } from "./number-input-ex-
|
|
2
|
+
import { N as NumberInputEx } from "./number-input-ex-CGx2Sum-.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "decimal-design",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, withCtx, createVNode, unref } from "vue";
|
|
2
|
-
import { F as FormItem, S as SelectEx } from "./index-
|
|
3
|
-
import { ai as DecimalDisplayMode$1, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { F as FormItem, S as SelectEx } from "./index-B2dCmlfS.js";
|
|
3
|
+
import { ai as DecimalDisplayMode$1, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bomssr4x.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, createBlock, createCommentVNode, createTextVNode, toDisplayString, createElementVNode } from "vue";
|
|
2
|
-
import { u as useModelFields, h as useSpreadSheet, i as useReverseModeling, F as FormItem } from "./index-
|
|
3
|
-
import { _ as _sfc_main$1, N as NumberRangeEditor, I as IndicesEditor } from "./default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-
|
|
4
|
-
import { F as FIELD_TYPE, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { u as useModelFields, h as useSpreadSheet, i as useReverseModeling, F as FormItem } from "./index-B2dCmlfS.js";
|
|
3
|
+
import { _ as _sfc_main$1, N as NumberRangeEditor, I as IndicesEditor } from "./default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-B27g8v5V.js";
|
|
4
|
+
import { F as FIELD_TYPE, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bomssr4x.js";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "dayjs";
|
|
7
7
|
import "ant-design-vue";
|
|
8
|
-
import { D as DecimalDisplayMode } from "./decimal-display-mode-
|
|
8
|
+
import { D as DecimalDisplayMode } from "./decimal-display-mode-Cus0Slsz.js";
|
|
9
9
|
const _hoisted_1 = { class: "w440px text-12px" };
|
|
10
10
|
const _hoisted_2 = { class: "font-600 text-[#1A1D23] mb8px" };
|
|
11
11
|
const _hoisted_3 = { class: "text-[#8B8B8B]" };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock } from "vue";
|
|
2
|
-
import { B as BaseFontEditor } from "./base-font-editor-
|
|
2
|
+
import { B as BaseFontEditor } from "./base-font-editor-BKN5HPtV.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "decimal-style",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, withCtx, createVNode, watch, createElementBlock, Fragment, createCommentVNode, mergeProps } from "vue";
|
|
2
|
-
import { F as FormItem, S as SelectEx, f as FormulaEditor } from "./index-
|
|
2
|
+
import { F as FormItem, S as SelectEx, f as FormulaEditor } from "./index-B2dCmlfS.js";
|
|
3
3
|
import { a as useNamespace } from "./use-namespace-qtLS8nEh.js";
|
|
4
|
-
import { _ as _export_sfc, ap as RangeValidateMode, b3 as RangeCompareOp } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
4
|
+
import { _ as _export_sfc, ap as RangeValidateMode, b3 as RangeCompareOp } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bomssr4x.js";
|
|
5
5
|
import { isNil } from "lodash-es";
|
|
6
6
|
import "dayjs";
|
|
7
7
|
import "ant-design-vue";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock } from "vue";
|
|
2
|
-
import { u as useModelFields, q as Diagonal } from "./index-
|
|
3
|
-
import { M as resolveDiagonalVertex, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { u as useModelFields, q as Diagonal } from "./index-B2dCmlfS.js";
|
|
3
|
+
import { M as resolveDiagonalVertex, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bomssr4x.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createVNode } from "vue";
|
|
2
|
-
import { N as NumberInputEx } from "./number-input-ex-
|
|
2
|
+
import { N as NumberInputEx } from "./number-input-ex-CGx2Sum-.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "double-design",
|
|
5
5
|
props: {
|