@gct-paas/excel 0.1.17 → 0.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseComponent-DJNL1tGs.js → BaseComponent-xTm5lvAr.js} +1 -0
- package/dist/{VueVideoPlayer-Db7qcsRE.js → VueVideoPlayer-Bt1Le9qP.js} +2 -2
- package/dist/{agg-design-BjqRVeg1.js → agg-design-B_5evAJ0.js} +1 -1
- package/dist/{agg-props-CrdosdGr.js → agg-props-C62Ecenu.js} +1 -1
- package/dist/{agg-style-CfZoOE-b.js → agg-style-Q0xSL8Ye.js} +1 -1
- package/dist/{align-editor-BaNT0jhx.js → align-editor-D_LtYlh3.js} +1 -1
- package/dist/{attach-fields-editor-CThobu8X.js → attach-fields-editor-3v3VNOfe.js} +2 -2
- package/dist/{barcode-design-CHjIeaiJ.js → barcode-design-lusKmMnv.js} +3 -2
- package/dist/base/index.es.js +370 -151
- package/dist/base-font-editor-DmasOst9.js +119 -0
- package/dist/{boolean-design-BYAdX-h5.js → boolean-design-BqGJVhKn.js} +3 -2
- package/dist/{boolean-props-jKvjhdlG.js → boolean-props-DS7J4GHS.js} +3 -3
- package/dist/{boolean-style-RsMRzVBL.js → boolean-style-C9FslVV7.js} +5 -4
- package/dist/cell-upload-BFw5Yg_j.js +33 -0
- package/dist/date-range-editor-PmJBHc8i.js +471 -0
- package/dist/{date-time-design-Du8pmDo-.js → date-time-design-DQ_Z-xUx.js} +1 -1
- package/dist/date-time-props-DfZoJukN.js +105 -0
- package/dist/{date-time-style-DSEnmxAE.js → date-time-style-Doye-MHk.js} +1 -1
- package/dist/{decimal-design-C2GbzP9k.js → decimal-design-Bg-tdrtL.js} +7 -3
- package/dist/{decimal-display-mode-CagizhJW.js → decimal-display-mode-D_K6_XX1.js} +3 -2
- package/dist/{decimal-props-CGLqWy8I.js → decimal-props-4QveEdf3.js} +5 -4
- package/dist/{decimal-style-6j22QKYO.js → decimal-style-B-n8SfAy.js} +1 -1
- package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-C5K6qhB-.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-B3GvGAje.js} +110 -39
- package/dist/{diagonal-design-Cq3oxdHe.js → diagonal-design-B_l3lV5s.js} +2 -2
- package/dist/{double-design-CyXEqcV7.js → double-design-BaWZXLjK.js} +6 -3
- package/dist/{double-props-DaJoio1W.js → double-props-sDsBpAER.js} +4 -4
- package/dist/{double-style-B4lIth-J.js → double-style--oSjQw07.js} +1 -1
- package/dist/{document-sub-table-action-rz6gyez5.js → dynamic-table-action-zLjamAaN.js} +1124 -654
- package/dist/{document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js} +2312 -1402
- package/dist/{edit.utils-CXmmCnxE-DW8ClKe9.js → edit.utils-CXmmCnxE-BrwRVXLT.js} +1 -1
- package/dist/{enum-design-DSx09tOO.js → enum-design-BgVuHvvu.js} +13 -7
- package/dist/{enum-props-CJNuQLJ_.js → enum-props-DYN6LsLg.js} +4 -4
- package/dist/{enum-style-5N5xmgRJ.js → enum-style-D56_-gMw.js} +37 -9
- package/dist/excel.css +1480 -664
- package/dist/{exceljs.min-D9gV8q6H.js → exceljs.min-DQkwXbni.js} +2 -2
- package/dist/{expression-design-BJDbafot.js → expression-design-CIMwIArR.js} +1 -1
- package/dist/{expression-props-BpHbrsle.js → expression-props--l3LwKAM.js} +1 -1
- package/dist/{expression-style-qPh81w7Q.js → expression-style-CjM5oro9.js} +1 -1
- package/dist/{file-design-B7si04Bi.js → file-design-BYcXA55B.js} +1 -1
- package/dist/{file-props-DTtOnHQy.js → file-props-DvsQZUcL.js} +2 -2
- package/dist/{file-style-C6KW_szu.js → file-style-BiWmCsMZ.js} +1 -1
- package/dist/{font-editor-DgGgvmB2.js → font-editor-BaRVmXey.js} +3 -3
- package/dist/{form-annotation-controller-CoABDD4X.js → form-annotation-controller-Zw6OoPLe.js} +80 -23
- package/dist/{image-design-B92Xkcf-.js → image-design-Bad-BXel.js} +3 -2
- package/dist/{image-design-CCfpT4Rp.js → image-design-Dr_w89Hq.js} +2 -2
- package/dist/{image-props-DZgfzMta.js → image-props-4lKEAwDq.js} +1 -1
- package/dist/{image-style-DX6Q_gF4.js → image-style-LoHD1zvr.js} +1 -1
- package/dist/{index-Bnbl3VER.js → index--Bxx_VqV.js} +3 -2
- package/dist/{index-DsASTvC2.js → index-3qfB5NN-.js} +2 -1
- package/dist/{index-CtTSTTkq.js → index-B-2N8GeG.js} +3 -2
- package/dist/{index-Bg-x1hF6.js → index-B3YoA1vo.js} +3 -2
- package/dist/{index-BzhFcvnJ.js → index-B9IMST50.js} +3 -2
- package/dist/{index-Doxcf2Zs.js → index-BSfbsA-W.js} +3 -2
- package/dist/{index-DJISlRXi.js → index-BZYuG4zS.js} +5 -2
- package/dist/{index-DzIKEtWw.js → index-B_VejD7m.js} +4 -1
- package/dist/{index-BXMOCfWv.js → index-Bki98NXv.js} +3 -2
- package/dist/{index-DFgGQBCZ.js → index-Bm6Hdoud.js} +53 -110
- package/dist/{index-CmaPtyCh.js → index-BsUkUBZV.js} +5 -2
- package/dist/{index-BB5uSbo3.js → index-Bsjegt_0.js} +2 -1
- package/dist/{index-rn6aiccW.js → index-ByXwQO9g.js} +6 -3
- package/dist/{index-DOFSbVSN.js → index-C6mtZJIQ.js} +2 -1
- package/dist/{index-DRKvAxuA.js → index-C7KdVTwU.js} +2 -1
- package/dist/{index-tbaOl7Nd.js → index-CEufXc_2.js} +2 -1
- package/dist/{index-D6diRqWG.js → index-CH--dgZ4.js} +3 -2
- package/dist/{index-BEBKoAOg.js → index-COiTpNXf.js} +3 -2
- package/dist/{index-BYl8cK0A.js → index-CP099vf_.js} +2 -1
- package/dist/{index-BhzF0Rp3.js → index-CQ7Hcly4.js} +5 -3
- package/dist/{index-Be7TFwwX.js → index-CcLTIQGc.js} +5 -2
- package/dist/{index-C8qPy1oW.js → index-Ce0SltjH.js} +3 -2
- package/dist/{index-bvhV6lsn.js → index-CqjhgxKH.js} +15 -7
- package/dist/{index-B2iip4UC.js → index-D-mFMP7t.js} +3 -2
- package/dist/{index-IUYnmIJe.js → index-D4Yb4Urx.js} +2 -1
- package/dist/{index-Da7W9uBC.js → index-D9CHdykS.js} +3 -2
- package/dist/{index-DRd2oRK1.js → index-DDnUeBCP.js} +3 -2
- package/dist/{index-XbgrTOMF.js → index-DRYxbbtG.js} +2 -1
- package/dist/{index-Cw_YFCZT.js → index-Dk-CUvB9.js} +3876 -3389
- package/dist/{index-Dsj3FuVs.js → index-DpPrrfLV.js} +3 -2
- package/dist/{index-DgHRTRH5.js → index-Dq72GFzs.js} +3 -2
- package/dist/{index-p-Q3DQmv.js → index-Vx5npC-J.js} +4 -3
- package/dist/{index-CIoB2iny.js → index-pPTh0-mL.js} +2 -1
- package/dist/index.es.js +6 -5
- package/dist/{integer-design-CPzJPZon.js → integer-design-C2EkL0hc.js} +6 -3
- package/dist/{integer-props-deCDvNET.js → integer-props-Cs-CvjQS.js} +5 -4
- package/dist/{integer-style-DwZIRXEW.js → integer-style-BtAfQCAn.js} +1 -1
- package/dist/{mb-render-Bejyn-ep.js → mb-render-CsWNoQnS.js} +1 -1
- package/dist/{number-input-ex-CgwOH18n.js → number-input-ex-eza87s5O.js} +12 -4
- package/dist/{org-props-BeFVQ-QY.js → org-props-BJ6FKaVj.js} +3 -2
- package/dist/{org-style-CLVWLtyd.js → org-style-LRy5QsV5.js} +1 -1
- package/dist/{pagination-design-CT0EQmxW.js → pagination-design-sA-kbILI.js} +3 -2
- package/dist/paper-widget-design-BGY5qu-K.js +4 -0
- package/dist/{qrcode-design-CjOkp2xa.js → qrcode-design-BsWJrsvD.js} +1 -1
- package/dist/{ref-autofill-editor-B2KcQvyt.js → ref-autofill-editor-BbozAOcm.js} +2 -2
- package/dist/{ref-props-DPnt_pys.js → ref-props-BInJu7PN.js} +3 -3
- package/dist/{ref-style-D0XKTtP1.js → ref-style-Dgc_9tko.js} +1 -1
- package/dist/regex-editor-C09XpMhm.js +796 -0
- package/dist/{revo-grid.entry-ztDhASK3.js → revo-grid.entry-BIm5A5wM.js} +1 -1
- package/dist/{revogr-attribution_7.entry-BtXV91vv.js → revogr-attribution_7.entry-B06XF5B_.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-DXpq4oNb.js → revogr-clipboard_3.entry-C8dVJYtR.js} +2 -2
- package/dist/{revogr-data_4.entry-WA1PNcGb.js → revogr-data_4.entry-Dgp6vYqe.js} +2 -2
- package/dist/{revogr-filter-panel.entry-unpVAD7l.js → revogr-filter-panel.entry-xo_juIUc.js} +1 -1
- package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-CqaEwsvS.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-vIUGBOWr.js} +3 -2
- package/dist/{serialnumber-design-ClArHZWU.js → serialnumber-design-mWcys6hI.js} +1 -1
- package/dist/shared/index.es.js +18 -18
- package/dist/{signature-design-Cg2Ejj3g.js → signature-design-Dl-Lv5Z5.js} +5 -2
- package/dist/{signature-props-CNuLBWtc.js → signature-props-DSzpO-_r.js} +3 -3
- package/dist/{signature-style-DtlZdeFB.js → signature-style-Bk34vOsk.js} +1 -1
- package/dist/{single-field-drop-COLR9RIu.js → single-field-drop-CiPUMT9B.js} +2 -2
- package/dist/{size-editor-DyGGEX3s.js → size-editor-B5aunbUM.js} +1 -1
- package/dist/src/adapter/index.d.ts +1 -0
- package/dist/src/adapter/setup.d.ts +1 -1
- package/dist/src/nocode-base/src/_utils_/uuid.d.ts +6 -1
- package/dist/src/nocode-base/src/components/border-td.vue.d.ts +1 -0
- package/dist/src/nocode-base/src/components/{document-quick-fill-modal.vue.d.ts → document-quick-fill/dynamic-quick-fill-modal.vue.d.ts} +1 -1
- package/dist/src/nocode-base/src/components/{document-quick-fillin.vue.d.ts → document-quick-fill/fixed-quick-fill-modal.vue.d.ts} +6 -4
- package/dist/src/nocode-base/src/components/document-quick-fill/quick-fill.util.d.ts +17 -0
- package/dist/src/nocode-base/src/components/document-sub-table-action/fixed-table-action.vue.d.ts +13 -0
- package/dist/src/nocode-base/src/components/index.d.ts +4 -3
- package/dist/src/nocode-base/src/constant/index.d.ts +11 -0
- package/dist/src/nocode-base/src/hooks/annotation/collect-annotation-items.d.ts +15 -0
- package/dist/src/nocode-base/src/hooks/annotation/form-annotation-controller.d.ts +5 -2
- package/dist/src/nocode-base/src/hooks/annotation/form-change-row.d.ts +60 -0
- package/dist/src/nocode-base/src/hooks/annotation/index.d.ts +2 -0
- package/dist/src/nocode-base/src/hooks/app-info/index.d.ts +2 -2
- package/dist/src/nocode-base/src/hooks/index.d.ts +2 -1
- package/dist/src/nocode-base/src/hooks/material-consume/mc-render.d.ts +3 -1
- package/dist/src/nocode-base/src/hooks/model-relation/index.d.ts +1 -1
- package/dist/src/nocode-base/src/hooks/service-util/sn-rule.d.ts +1 -1
- package/dist/src/nocode-base/src/hooks/useFormHook.d.ts +1 -1
- package/dist/src/nocode-base/src/hooks/useRenderData.d.ts +4 -2
- package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +39 -4
- package/dist/src/nocode-base/src/hooks/useValidator.d.ts +6 -6
- package/dist/src/nocode-base/src/hooks/validation/admission.d.ts +19 -0
- package/dist/src/nocode-base/src/hooks/validation/attach.d.ts +24 -0
- package/dist/src/nocode-base/src/hooks/validation/createValidateFactory.d.ts +35 -0
- package/dist/src/nocode-base/src/hooks/validation/formRulesStore.d.ts +15 -0
- package/dist/src/nocode-base/src/hooks/validation/merge.d.ts +24 -0
- package/dist/src/nocode-base/src/hooks/validation/runValidation.d.ts +17 -0
- package/dist/src/nocode-base/src/hooks/validation/scheduler.d.ts +12 -0
- package/dist/src/nocode-base/src/hooks/validation/types.d.ts +44 -0
- package/dist/src/nocode-base/src/hooks/validation/useFormValidator.d.ts +39 -0
- package/dist/src/nocode-base/src/hooks/validation/utils.d.ts +24 -0
- package/dist/src/nocode-base/src/hooks/validation/waitForSettle.d.ts +17 -0
- package/dist/src/nocode-base/src/interface/render.d.ts +1 -1
- package/dist/src/nocode-base/src/types/common/base.d.ts +16 -2
- package/dist/src/nocode-base/src/types/fields/i-datepicker.d.ts +5 -1
- package/dist/src/nocode-base/src/types/fields/i-datetimepicker.d.ts +5 -1
- package/dist/src/nocode-base/src/types/fields/i-enum-select.d.ts +2 -0
- package/dist/src/nocode-base/src/types/fields/i-inputdouble.d.ts +5 -1
- package/dist/src/nocode-base/src/types/fields/i-inputnumber.d.ts +5 -1
- package/dist/src/nocode-base/src/types/fields/i-trace.d.ts +27 -1
- package/dist/src/nocode-base/src/types/render/mc-render.d.ts +3 -1
- package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +3 -1
- package/dist/src/nocode-base/src/types/widgets/i-paper.d.ts +2 -0
- package/dist/src/nocode-base/src/types/widgets/i-sub-table.d.ts +4 -0
- package/dist/src/nocode-web-render/src/hooks/userFormPrint.d.ts +2 -0
- package/dist/src/nocode-web-render/src/render/index.d.ts +2 -2
- package/dist/src/nocode-web-render/src/render/sub-table/common/scan-modal.vue.d.ts +3 -1
- package/dist/src/nocode-web-render/src/render/sub-table/common/sub-table-render.d.ts +3 -1
- package/dist/src/nocode-web-render/src/render/sub-table/material-consume/index.d.ts +1 -2
- package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +3 -1
- package/dist/src/online-form/src/components/version-diff/index/types.d.ts +2 -0
- package/dist/src/online-form/src/utils/field.enum.d.ts +3 -2
- package/dist/src/online-form/src/views/__cell_widgets__/common/keep-exception-highlight-editor/keep-exception-highlight-editor.vue.d.ts +10 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/regex-editor/common-regex-api.d.ts +11 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/regex-editor/editor.d.ts +8 -0
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +28 -0
- package/dist/src/online-form/src/views/designer/hooks/useModelFields.d.ts +1 -1
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +43 -2
- package/dist/src/{nocode-web-render/src/render/sub-table/material-consume/scan-modal.vue.d.ts → online-form/src/views/designer/modules/panel/comps/confirm-before-delete-config.vue.d.ts} +2 -4
- package/dist/src/online-form/src/views/designer/modules/panel/comps/quick-fill-config.vue.d.ts +8 -0
- package/dist/src/online-form/src/views/designer/modules/panel/comps/signature-config/field-tree-select.vue.d.ts +2 -2
- package/dist/src/online-form/src/views/designer/modules/panel/panel-data-init-config/common/add-builtin-param/add-builtin-param-select.vue.d.ts +2 -2
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/form-field-tree-select.vue.d.ts +2 -2
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/material-rdo-select.vue.d.ts +2 -2
- package/dist/src/online-form/src/views/designer/modules/sheet/sheet-cell.vue.d.ts +1 -0
- package/dist/src/online-form/src/views/designer/types/index.d.ts +4 -0
- package/dist/src/online-form/src/views/designer/utils/xlsx-parser.d.ts +3 -0
- package/dist/src/online-form/src/views/render/__components__/_common_/widget-component.vue.d.ts +3 -1
- package/dist/src/shared/components/DoubleInput/double-input.vue.d.ts +5 -0
- package/dist/src/shared/components/rdo-tree-select/rdo-tree-select.vue.d.ts +2 -2
- package/dist/src/shared/utils/host-api.d.ts +3 -11
- package/dist/{text-design-DjJS6aM4.js → text-design-BIFz5gw1.js} +3 -2
- package/dist/{text-design-490okDpw.js → text-design-C0dORvkP.js} +10 -6
- package/dist/{text-props-Dh4S3iN0.js → text-props-ClHI-4aM.js} +21 -252
- package/dist/{text-style-BGeNrOMv.js → text-style-DANM5fvy.js} +1 -1
- package/dist/{throttle-Cpk1LoGk-BWXeZXFZ.js → throttle-Cpk1LoGk-Da5HSLWc.js} +1 -1
- package/dist/{timediff-design-DEh9xNVa.js → timediff-design-BDCsQIal.js} +2 -1
- package/dist/{trace-design-Dk0irY70.js → trace-design-CKqq1WH_.js} +2 -2
- package/dist/{trace-props-DRBrPqIq.js → trace-props-BI24XFMc.js} +53 -16
- package/dist/{trace-style-6lXlaJ2o.js → trace-style-CX1f7oZH.js} +1 -1
- package/dist/{user-props-yasRJPzM.js → user-props-gF7KPnP8.js} +3 -2
- package/dist/{user-style-dkDUDf63.js → user-style-DIouAMWa.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-8rhhfLv7.js → value-editor.vue_vue_type_style_index_0_lang-DHj-zNxm.js} +3 -2
- package/dist/{version-select-dvsx-Ifv.js → version-select-CL3QQGND.js} +2 -2
- package/dist/web-render/index.es.js +9 -9
- package/dist/{widget-barcode-BfzXe5MQ.js → widget-barcode-DZiCyrQW.js} +5 -4
- package/dist/{widget-diagonal-R5qdvCvE.js → widget-diagonal-D_Oz8te1.js} +3 -3
- package/dist/{widget-image-C0zAtiuf.js → widget-image-TL_SLOap.js} +5 -5
- package/dist/{widget-line-z4TTPDkL.js → widget-line-BQ-qcBUA.js} +3 -2
- package/dist/{widget-pagination-CeO9pmmu.js → widget-pagination-DciJE9qC.js} +6 -5
- package/dist/{widget-power-CP1DLxkZ.js → widget-power-B9KTIpwA.js} +3 -3
- package/dist/{widget-qrcode-Boz_t9l9.js → widget-qrcode-DRoj5rSy.js} +4 -3
- package/dist/{widget-rangelimit-B9kRG_Fa.js → widget-rangelimit-Ckgx3i4r.js} +3 -3
- package/dist/{widget-serialnumber-BBUxx4nB.js → widget-serialnumber-aUkR-0yC.js} +1 -1
- package/dist/{widget-text-qvLZssGe.js → widget-text-CJIT-hY3.js} +5 -5
- package/dist/{widget-timediff-BBmssjfJ.js → widget-timediff-x-RQMdNg.js} +3 -2
- package/package.json +1 -1
- package/dist/base-font-editor-BiSPxwVH.js +0 -83
- package/dist/cell-upload-JxFLM1bV.js +0 -25
- package/dist/date-format-editor-BZ89hVjL.js +0 -240
- package/dist/date-time-props-BWvuzNXX.js +0 -265
- package/dist/paper-widget-design-DKBVqvH3.js +0 -4
- package/dist/src/nocode-base/src/hooks/form-model/fetcher.d.ts +0 -40
- package/dist/src/nocode-base/src/interface/data.d.ts +0 -47
- package/dist/src/nocode-base/src/interface/util.d.ts +0 -108
- /package/dist/src/nocode-base/src/components/document-sub-table-action/{document-sub-table-action.vue.d.ts → dynamic-table-action.vue.d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cQ as EDIT_INPUT_WR, cR as keyValues, cI as codesLetter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
|
|
2
2
|
function isClear(code) {
|
|
3
3
|
return codesLetter.BACKSPACE === code || codesLetter.DELETE === code;
|
|
4
4
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
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 { F as FIELD_TYPE, _ as _export_sfc } from "./
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, createVNode, unref, normalizeClass, normalizeStyle, withCtx, Fragment, renderList, createBlock, createCommentVNode } from "vue";
|
|
2
|
+
import { C as CellWidgetRenderComp, S as SelectEx, a as CellWidgetDesign } from "./index-Dk-CUvB9.js";
|
|
3
|
+
import { F as FIELD_TYPE, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
|
|
4
4
|
import { isNil } from "lodash-es";
|
|
5
|
+
const _hoisted_1 = { class: "enum-design" };
|
|
5
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
7
|
__name: "enum-design",
|
|
7
8
|
props: {
|
|
@@ -36,15 +37,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
36
37
|
return props.fieldWidget.options.find((item) => item.defaultSelected)?.value;
|
|
37
38
|
}
|
|
38
39
|
});
|
|
40
|
+
const hasOptionGap = computed(() => !isNil(props.fieldWidget.optionGap));
|
|
39
41
|
const styleVars = computed(() => {
|
|
40
42
|
const result = {};
|
|
41
43
|
if (!isNil(props.fieldWidget.iconLabelSpace)) {
|
|
42
|
-
result["--gct-select-ex-icon-label-space"] = props.fieldWidget.iconLabelSpace
|
|
44
|
+
result["--gct-select-ex-icon-label-space"] = `${props.fieldWidget.iconLabelSpace}px`;
|
|
45
|
+
}
|
|
46
|
+
if (hasOptionGap.value) {
|
|
47
|
+
result["--gct-select-ex-option-gap"] = `${props.fieldWidget.optionGap}px`;
|
|
43
48
|
}
|
|
44
49
|
return result;
|
|
45
50
|
});
|
|
46
51
|
return (_ctx, _cache) => {
|
|
47
|
-
return openBlock(), createElementBlock("div",
|
|
52
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
48
53
|
createVNode(unref(SelectEx), {
|
|
49
54
|
disabled: __props.disabled,
|
|
50
55
|
options: options.value,
|
|
@@ -55,6 +60,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
55
60
|
direction: __props.fieldWidget.direction,
|
|
56
61
|
"label-position": __props.fieldWidget.labelPosition,
|
|
57
62
|
style: normalizeStyle(styleVars.value),
|
|
63
|
+
class: normalizeClass({ "enum-option-gap-enabled": hasOptionGap.value }),
|
|
58
64
|
size: "small",
|
|
59
65
|
placeholder: __props.fieldWidget.placeholder
|
|
60
66
|
}, {
|
|
@@ -68,12 +74,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
68
74
|
}), 128)) : createCommentVNode("", true)
|
|
69
75
|
]),
|
|
70
76
|
_: 1
|
|
71
|
-
}, 8, ["disabled", "options", "value", "is-multiple", "show-mode", "icon-type", "direction", "label-position", "style", "placeholder"])
|
|
77
|
+
}, 8, ["disabled", "options", "value", "is-multiple", "show-mode", "icon-type", "direction", "label-position", "style", "class", "placeholder"])
|
|
72
78
|
]);
|
|
73
79
|
};
|
|
74
80
|
}
|
|
75
81
|
});
|
|
76
|
-
const enumDesign = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
82
|
+
const enumDesign = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bd45de7c"]]);
|
|
77
83
|
export {
|
|
78
84
|
enumDesign as default
|
|
79
85
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, reactive, ref, onMounted, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, createTextVNode, toDisplayString, createBlock, createCommentVNode, computed, toRaw, normalizeClass, unref, Fragment } from "vue";
|
|
2
|
-
import { f as useSpreadSheet, I as Icon, F as FormItem, i as draggableComponent } from "./index-
|
|
3
|
-
import { b as buildUUID } from "./index-
|
|
2
|
+
import { f as useSpreadSheet, I as Icon, F as FormItem, i as draggableComponent } from "./index-Dk-CUvB9.js";
|
|
3
|
+
import { b as buildUUID } from "./index-Bm6Hdoud.js";
|
|
4
4
|
import { clone, cloneDeep, differenceBy } from "lodash-es";
|
|
5
|
-
import { _ as _export_sfc,
|
|
5
|
+
import { _ as _export_sfc, G as useNamespace, F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
|
|
6
6
|
import { useModal } from "@gct-paas/core";
|
|
7
|
-
import { A as AttachFieldEditor } from "./attach-fields-editor-
|
|
7
|
+
import { A as AttachFieldEditor } from "./attach-fields-editor-3v3VNOfe.js";
|
|
8
8
|
const _hoisted_1$3 = { class: "enum-option-modal" };
|
|
9
9
|
const _hoisted_2$3 = { class: "enum-option-modal__footer" };
|
|
10
10
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createElementBlock, Fragment, createVNode } from "vue";
|
|
2
|
-
import { B as BaseFontEditor } from "./base-font-editor-
|
|
3
|
-
import { _ as _sfc_main$1, a as _sfc_main$2 } from "./select-render-type-editor.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, Fragment, createVNode, createBlock, createCommentVNode } from "vue";
|
|
2
|
+
import { B as BaseFontEditor } from "./base-font-editor-DmasOst9.js";
|
|
3
|
+
import { _ as _sfc_main$1, a as _sfc_main$2 } from "./select-render-type-editor.vue_vue_type_script_setup_true_lang-vIUGBOWr.js";
|
|
4
|
+
import { C as CellWidgetRenderComp } from "./index-Dk-CUvB9.js";
|
|
5
|
+
const DEFAULT_LETTER_SPACE = 8;
|
|
6
|
+
const DEFAULT_OPTION_GAP = 12;
|
|
4
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
8
|
__name: "enum-style",
|
|
6
9
|
props: {
|
|
@@ -17,6 +20,27 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17
20
|
Object.assign(props.widget, v);
|
|
18
21
|
}
|
|
19
22
|
});
|
|
23
|
+
const isRadioOrCheckbox = computed(
|
|
24
|
+
() => [CellWidgetRenderComp.Radio, CellWidgetRenderComp.Checkbox].includes(
|
|
25
|
+
formState.value.renderComp
|
|
26
|
+
)
|
|
27
|
+
);
|
|
28
|
+
const letterSpace = computed({
|
|
29
|
+
get() {
|
|
30
|
+
return props.widget.iconLabelSpace;
|
|
31
|
+
},
|
|
32
|
+
set(v) {
|
|
33
|
+
props.widget.iconLabelSpace = v ?? DEFAULT_LETTER_SPACE;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
const optionGap = computed({
|
|
37
|
+
get() {
|
|
38
|
+
return props.widget.optionGap;
|
|
39
|
+
},
|
|
40
|
+
set(v) {
|
|
41
|
+
props.widget.optionGap = v ?? DEFAULT_OPTION_GAP;
|
|
42
|
+
}
|
|
43
|
+
});
|
|
20
44
|
return (_ctx, _cache) => {
|
|
21
45
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
22
46
|
createVNode(_sfc_main$1, {
|
|
@@ -24,18 +48,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24
48
|
"onUpdate:renderComp": _cache[0] || (_cache[0] = ($event) => formState.value.renderComp = $event),
|
|
25
49
|
disabled: __props.disabled
|
|
26
50
|
}, null, 8, ["render-comp", "disabled"]),
|
|
27
|
-
|
|
51
|
+
isRadioOrCheckbox.value ? (openBlock(), createBlock(BaseFontEditor, {
|
|
52
|
+
key: 0,
|
|
28
53
|
"font-size": formState.value.fontSize,
|
|
29
54
|
"onUpdate:fontSize": _cache[1] || (_cache[1] = ($event) => formState.value.fontSize = $event),
|
|
30
|
-
"letter-space":
|
|
31
|
-
"onUpdate:letterSpace": _cache[2] || (_cache[2] = ($event) =>
|
|
55
|
+
"letter-space": letterSpace.value,
|
|
56
|
+
"onUpdate:letterSpace": _cache[2] || (_cache[2] = ($event) => letterSpace.value = $event),
|
|
57
|
+
"option-gap": optionGap.value,
|
|
58
|
+
"onUpdate:optionGap": _cache[3] || (_cache[3] = ($event) => optionGap.value = $event),
|
|
59
|
+
"show-option-gap": true,
|
|
32
60
|
disabled: __props.disabled
|
|
33
|
-
}, null, 8, ["font-size", "letter-space", "disabled"]),
|
|
61
|
+
}, null, 8, ["font-size", "letter-space", "option-gap", "disabled"])) : createCommentVNode("", true),
|
|
34
62
|
createVNode(_sfc_main$2, {
|
|
35
63
|
"label-position": formState.value.labelPosition,
|
|
36
|
-
"onUpdate:labelPosition": _cache[
|
|
64
|
+
"onUpdate:labelPosition": _cache[4] || (_cache[4] = ($event) => formState.value.labelPosition = $event),
|
|
37
65
|
direction: formState.value.direction,
|
|
38
|
-
"onUpdate:direction": _cache[
|
|
66
|
+
"onUpdate:direction": _cache[5] || (_cache[5] = ($event) => formState.value.direction = $event),
|
|
39
67
|
renderComp: formState.value.renderComp,
|
|
40
68
|
disabled: __props.disabled
|
|
41
69
|
}, null, 8, ["label-position", "direction", "renderComp", "disabled"])
|