@gct-paas/excel 0.1.24 → 0.1.26
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-DeGuauVb.js → VueVideoPlayer-0DuOfiQX.js} +2 -2
- package/dist/{agg-design-BE5eFcq0.js → agg-design-Bs7uvazc.js} +1 -1
- package/dist/{agg-props-g6XDFjb9.js → agg-props-Bp3BzB8p.js} +1 -1
- package/dist/{agg-style-QlO3PVaS.js → agg-style-5rib-2BW.js} +1 -1
- package/dist/{align-editor-C3luWRCq.js → align-editor-DQ8dFN7Z.js} +1 -1
- package/dist/{attach-fields-editor-DNhfTsft.js → attach-fields-editor-C96vYS5i.js} +3 -3
- package/dist/{barcode-design-Ds2P_-Nm.js → barcode-design-GARKK2E6.js} +2 -2
- package/dist/base/index.es.js +93 -96
- package/dist/{base-font-editor-BKN5HPtV.js → base-font-editor-D1Yhc2dM.js} +3 -3
- package/dist/{boolean-design-C0Isn-jj.js → boolean-design-E8aTzvqE.js} +20 -7
- package/dist/{boolean-props-DDg6R4pe.js → boolean-props-DXxrp-m9.js} +3 -3
- package/dist/{boolean-style-CzRGaXNa.js → boolean-style-CL0DlbC0.js} +4 -4
- package/dist/cell-upload-Mt9EhaFR.js +38 -0
- package/dist/{date-range-editor-B01L0e3H.js → date-range-editor-CWD3tYMA.js} +3 -3
- package/dist/{date-time-design-DwDsnQbz.js → date-time-design-DxEvgEi8.js} +1 -1
- package/dist/{date-time-props-C3jRf2LD.js → date-time-props-B5Xtc7-X.js} +3 -3
- package/dist/{date-time-style-K8AVLBvc.js → date-time-style-CH-mslF5.js} +1 -1
- package/dist/{decimal-design-BJbiiN7J.js → decimal-design-DvIA4NX0.js} +1 -1
- package/dist/{decimal-display-mode-Cus0Slsz.js → decimal-display-mode-DZwDd5fU.js} +2 -2
- package/dist/{decimal-props-dtICiGOQ.js → decimal-props-BKRzrJ-r.js} +4 -4
- package/dist/{decimal-style-EfyEDVzI.js → decimal-style-DMFs7IFs.js} +1 -1
- package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-B27g8v5V.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-BLCWBDOv.js} +3 -3
- package/dist/{diagonal-design-BmGrJev_.js → diagonal-design-COpzJE_o.js} +2 -2
- package/dist/{double-design-DKS8QZ9M.js → double-design-BTJtq1hk.js} +1 -1
- package/dist/{double-props-7TIIBh6u.js → double-props-Bq3vZziK.js} +4 -4
- package/dist/{double-style-DlZ0wEbL.js → double-style-DiufxslF.js} +1 -1
- package/dist/{dynamic-table-action-D789BgJZ.js → dynamic-table-action-Dqp3OJDg.js} +11 -11
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bomssr4x.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CvVlP70-.js} +260 -288
- package/dist/{edit.utils-CXmmCnxE-VGRgG--d.js → edit.utils-CXmmCnxE-W27Whv1y.js} +1 -1
- package/dist/{enum-design-Bimq8s8j.js → enum-design-BcF4g87b.js} +20 -8
- package/dist/{enum-props-BSMCFIFi.js → enum-props-C7JjTMv4.js} +4 -4
- package/dist/{enum-style-sG5DPwxr.js → enum-style-CyAkQvzE.js} +3 -3
- package/dist/excel.css +1384 -352
- package/dist/{exceljs.min-CQuJzgXh.js → exceljs.min-D-ILZl-Z.js} +2 -2
- package/dist/{expression-design-CLfSSfXM.js → expression-design-CjzPxio0.js} +1 -1
- package/dist/{expression-props-D7W_GSGq.js → expression-props-mAVBd5Lq.js} +1 -1
- package/dist/{expression-style-C6KFVri_.js → expression-style-CrRd3CZN.js} +1 -1
- package/dist/{file-design-DMCOlCBf.js → file-design-BvSmEEHz.js} +1 -1
- package/dist/{file-props-L9S8Nf31.js → file-props-CmbLCylK.js} +2 -2
- package/dist/{file-style-_hRTBdtu.js → file-style-ouUREdJB.js} +1 -1
- package/dist/{font-editor-BDyMjcw6.js → font-editor-5O8-WS9U.js} +3 -3
- package/dist/{image-design-Ckm9vbjv.js → image-design-D5Avl99X.js} +2 -2
- package/dist/{image-design-B8Riz960.js → image-design-DOdX4Ejf.js} +2 -2
- package/dist/{image-props-BvXoJwIE.js → image-props-DS7B2haQ.js} +1 -1
- package/dist/{image-style-DOseQ6-D.js → image-style-BdC16P3Z.js} +1 -1
- package/dist/{index-B2dCmlfS.js → index--x-rjhUN.js} +9056 -2665
- package/dist/{index-C8iWIwYo.js → index-7Z0q-sUY.js} +1 -1
- package/dist/{index-BOx6PIQM.js → index-B4uW2dJ0.js} +1 -1
- package/dist/{index-C94OYngd.js → index-B6YwjnNP.js} +1 -1
- package/dist/{index-BHckv9v7.js → index-B9bcnmUU.js} +1 -1
- package/dist/{index-Bo_OCoXR.js → index-BA1e8Zw5.js} +1 -1
- package/dist/{index-DhU0uktW.js → index-BGwmxIrV.js} +1 -1
- package/dist/{index-CFkt2dM4.js → index-BP7lVop7.js} +1 -1
- package/dist/{index-DvdsMdJa.js → index-Bg7RbNAd.js} +1 -1
- package/dist/{index-CZTvhN0E.js → index-Bgz9h2Ur.js} +2 -2
- package/dist/{index-plkuJNfn.js → index-BqzGUi2w.js} +3 -2
- package/dist/{index-BRTYgbpR.js → index-Bs5CmUJ6.js} +1 -1
- package/dist/{index-iR4iHe5n.js → index-CF4GPHX_.js} +1 -1
- package/dist/{index-CHDwrHq2.js → index-CMM4w3Dw.js} +1 -1
- package/dist/{index-DWiYwa2w.js → index-CO9M5kpu.js} +1 -1
- package/dist/{index-i_eUK3Y_.js → index-COPdP22U.js} +1 -1
- package/dist/{index-BT70n7N3.js → index-CUDme4M_.js} +3 -2
- package/dist/{index-DvJkM2Bd.js → index-CZB6MFo2.js} +1 -1
- package/dist/{index-DmC0_bvJ.js → index-CqvvTfDm.js} +1 -1
- package/dist/{index-BrjJ30E6.js → index-DAVr0Puy.js} +1 -1
- package/dist/{index-74yt8jRE.js → index-DPFhljcW.js} +1 -1
- package/dist/{index-DbNxa2CY.js → index-DWlCnH_H.js} +2 -2
- package/dist/{index-DCE1_hqb.js → index-DZWPjTfD.js} +1 -1
- package/dist/{index-Csg13q_7.js → index-DeHhItHR.js} +1 -1
- package/dist/{index-CU6EFmnG.js → index-DjO3xXoL.js} +2 -2
- package/dist/{index-Chy_3-Lj.js → index-OD0V6QZx.js} +1 -1
- package/dist/{index-kn1q-2-D.js → index-POh3kOtN.js} +1 -1
- package/dist/{index-CYt8frH_.js → index-Ul5I5n2Y.js} +1 -1
- package/dist/{index-3PGTvcdn.js → index-mEVrSKb2.js} +2 -2
- package/dist/{index-f-6blU00.js → index-nDINH7fF.js} +2 -2
- package/dist/{index-XlAWg7sl.js → index-tVnYGnyM.js} +1 -1
- package/dist/{index-BPI7rTC0.js → index-u0UnKD61.js} +1 -1
- package/dist/{index-B_0vyB6E.js → index-upoyI1QX.js} +1 -1
- package/dist/index.es.js +31 -30
- package/dist/{integer-design-CT90qISw.js → integer-design-XoAOklHI.js} +1 -1
- package/dist/{integer-props-BmQZ0AHU.js → integer-props-UG7rgL98.js} +5 -5
- package/dist/{integer-style-B6mcVCU1.js → integer-style-BwF6P-1M.js} +1 -1
- package/dist/{mb-render-BOzJ9uDs.js → mb-render-CRA1gDau.js} +1 -1
- package/dist/{number-input-ex-CGx2Sum-.js → number-input-ex-BUhgQIz_.js} +2 -2
- package/dist/{org-props-DLusFjvS.js → org-props-BYIR1Qja.js} +2 -2
- package/dist/{org-style-9BaDs90S.js → org-style-DXX3gSuh.js} +1 -1
- package/dist/{pagination-design-BDNanSYh.js → pagination-design-BVFW-spw.js} +2 -2
- package/dist/paper-widget-design-DFOElS47.js +4 -0
- package/dist/{qrcode-design-V3Kuah3m.js → qrcode-design-CoFoYXe2.js} +1 -1
- package/dist/{ref-autofill-editor-1pOiaURA.js → ref-autofill-editor-8-T3_HNa.js} +2 -2
- package/dist/{ref-props-CpnxcBCi.js → ref-props-CkbU8Sr5.js} +3 -3
- package/dist/{ref-style-OSp-Rjuz.js → ref-style-BUqCIl-S.js} +1 -1
- package/dist/{regex-editor-DnWDHB5T.js → regex-editor-BAfv4Tt4.js} +2 -3
- package/dist/{revo-grid.entry-ClF8lyTa.js → revo-grid.entry-RWcWTs8I.js} +1 -1
- package/dist/{revogr-attribution_7.entry-BgyHJZuq.js → revogr-attribution_7.entry-BCSuWj1U.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-DsSlwjAg.js → revogr-clipboard_3.entry-BTpzs_Rr.js} +2 -2
- package/dist/{revogr-data_4.entry-BR0RiTEA.js → revogr-data_4.entry-DYkSdHom.js} +2 -2
- package/dist/{revogr-filter-panel.entry-6I6pIy1t.js → revogr-filter-panel.entry-DOqtLQay.js} +1 -1
- package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-DrkZPjxx.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-D26X3WBX.js} +2 -2
- package/dist/{serialnumber-design-yaRfMsU0.js → serialnumber-design-Bx6oAxgA.js} +1 -1
- package/dist/shared/index.es.js +25 -25
- package/dist/{signature-design-B3xqgwJd.js → signature-design-BYwB_lgz.js} +1 -1
- package/dist/{signature-props-BWhInYU5.js → signature-props-SNM8PS89.js} +3 -3
- package/dist/{signature-style-CriOvfEO.js → signature-style-BqZ2DAS6.js} +1 -1
- package/dist/{single-field-drop-CPiavuQD.js → single-field-drop-BwCKh5bM.js} +3 -3
- package/dist/{size-editor-D0JnT0iA.js → size-editor-DUazmEj_.js} +1 -1
- package/dist/src/adapter/adapter.d.ts +4 -0
- package/dist/src/index.d.ts +2 -1
- package/dist/src/nocode-base/src/interface/front-config.d.ts +2 -18
- package/dist/src/nocode-base/src/interface/index.d.ts +1 -1
- package/dist/src/nocode-base/src/types/widgets/i-ro.d.ts +16 -0
- package/dist/src/nocode-base/src/types/widgets/index.d.ts +1 -1
- package/dist/src/nocode-web-render/src/components/print-fill-background-selector.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +56 -0
- package/dist/src/online-form/src/views/designer/hooks/useCellInlineEditor.d.ts +32 -0
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +70 -0
- package/dist/src/online-form/src/views/designer/modules/base/field-attribute-value.vue.d.ts +27 -0
- package/dist/src/online-form/src/views/designer/modules/base/field-panel-breadcrumb-separator.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/modules/base/field-panel-chevron.vue.d.ts +5 -0
- package/dist/src/online-form/src/views/designer/modules/base/field-panel-text-icon.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/modules/modals/inline-media-modal.vue.d.ts +17 -0
- package/dist/src/online-form/src/views/designer/modules/sheet/inline-cell-editor.vue.d.ts +16 -0
- package/dist/src/online-form/src/views/designer/modules/sheet/sheet-cell.vue.d.ts +1 -3
- package/dist/src/online-form/src/views/designer/modules/toolbar.vue.d.ts +31 -1
- package/dist/src/online-form/src/views/designer/types/index.d.ts +2 -1
- package/dist/src/online-form/src/views/inline-cell/inline-cell-content.vue.d.ts +9 -0
- package/dist/src/online-form/src/views/inline-cell/medical-device-icon-labels.d.ts +7 -0
- package/dist/src/online-form/src/views/inline-cell/use-inline-icon-catalog.d.ts +53 -0
- package/dist/{text-design-ztaW7thY.js → text-design-DN3i2RFW.js} +2 -2
- package/dist/{text-design-1nJufu5G.js → text-design-Wz4yRq1g.js} +2 -2
- package/dist/{text-props-DAA15H4v.js → text-props-B00HIRMS.js} +5 -5
- package/dist/{text-style-CUKgx-kL.js → text-style-fu30umvT.js} +1 -1
- package/dist/{throttle-Cpk1LoGk-Buf1TOpL.js → throttle-Cpk1LoGk-Fx3LWSEd.js} +1 -1
- package/dist/{timediff-design-VY2vmzMg.js → timediff-design-B-4vNIoK.js} +1 -1
- package/dist/{trace-design-DRBYOS13.js → trace-design-DtHxTSsv.js} +2 -2
- package/dist/{trace-props-D47QpyJH.js → trace-props-Rg7mqGt_.js} +6 -6
- package/dist/{trace-style-be8PXFsf.js → trace-style-mCgCCGMz.js} +1 -1
- package/dist/{use-namespace-qtLS8nEh.js → use-namespace-BxkK4ofX.js} +1 -12
- package/dist/{user-props-BB0Vcch3.js → user-props-DonrdBsi.js} +13 -6
- package/dist/{user-style-C-QXQ1ti.js → user-style-CumTeI-A.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-DycxpaAS.js → value-editor.vue_vue_type_style_index_0_lang-DRQFluA7.js} +8 -7
- package/dist/{version-select-B9NwTGaB.js → version-select-DZOffw2U.js} +2 -2
- package/dist/web-render/index.es.js +71 -3
- package/dist/{widget-barcode-CMO87Hmu.js → widget-barcode-Djaec1i2.js} +4 -4
- package/dist/{widget-diagonal-CSZndGwY.js → widget-diagonal-Dw5Q9iRl.js} +4 -4
- package/dist/{widget-image-CExyPp-E.js → widget-image-Dq6zxwLm.js} +5 -5
- package/dist/{widget-line-CT9PROAE.js → widget-line-Csab5i9z.js} +2 -2
- package/dist/{widget-pagination-CvStItAL.js → widget-pagination-BmsUSsKm.js} +5 -5
- package/dist/{widget-power-BK8gMkjB.js → widget-power-DtPCy7UV.js} +4 -4
- package/dist/{widget-qrcode-DkC4aj6u.js → widget-qrcode-BAMbK-3b.js} +3 -3
- package/dist/{widget-rangelimit-DOwSYluI.js → widget-rangelimit-Bx9qfojs.js} +4 -4
- package/dist/{widget-serialnumber-Dt7j7OJV.js → widget-serialnumber-Bz6EQZR_.js} +1 -1
- package/dist/{widget-text-BSXu4P8B.js → widget-text-CkXtxU3r.js} +5 -5
- package/dist/{widget-timediff-DtDRLTxc.js → widget-timediff-wqTd7OZs.js} +2 -2
- package/package.json +1 -1
- package/dist/cell-upload-BIPN1Qh_.js +0 -34
- package/dist/paper-widget-design-dOfn89l9.js +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, Fragment, unref, createBlock, withCtx, createVNode, createCommentVNode } from "vue";
|
|
2
|
-
import { C as CellWidgetRenderComp, F as FormItem, S as SelectEx } from "./index-
|
|
3
|
-
import { O as Orientation,
|
|
2
|
+
import { C as CellWidgetRenderComp, F as FormItem, S as SelectEx } from "./index--x-rjhUN.js";
|
|
3
|
+
import { O as Orientation, x as LabelPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CvVlP70-.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, createElementVNode, 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-CvVlP70-.js";
|
|
3
3
|
const _hoisted_1 = { class: "absolute top-0px left-0px h-full w-full serialnumber-area" };
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "serialnumber-design",
|
package/dist/shared/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { O, _, S, a, V } from "../version-select-
|
|
1
|
+
import { R, bW, C, X, a2, bX, Y, Z, F, bY, d, bZ, b_, b$, c0, c1, c2, c, q, t, H, j, c3, at, c4, $, c5, U, au, o } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CvVlP70-.js";
|
|
2
|
+
import { O, _, S, a, V } from "../version-select-DZOffw2U.js";
|
|
3
3
|
var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
4
4
|
Platform2["WEB"] = "web";
|
|
5
5
|
Platform2["MOBILE"] = "mobile";
|
|
@@ -43,46 +43,46 @@ var GctMqttTopsEnum = /* @__PURE__ */ ((GctMqttTopsEnum2) => {
|
|
|
43
43
|
return GctMqttTopsEnum2;
|
|
44
44
|
})(GctMqttTopsEnum || {});
|
|
45
45
|
export {
|
|
46
|
-
|
|
46
|
+
R as ASSIGNMENTSTRATEGY_ENUM,
|
|
47
47
|
ButtonOpeEnum,
|
|
48
48
|
ButtonSize,
|
|
49
49
|
ButtonStyle,
|
|
50
50
|
ButtonType,
|
|
51
51
|
ButtonType_vant,
|
|
52
|
-
|
|
52
|
+
bW as CardControlEnum,
|
|
53
53
|
C as CreateType,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
54
|
+
X as Dependency_ENUM,
|
|
55
|
+
a2 as EntityModelCategoryEnum,
|
|
56
|
+
bX as EntityModelTypeEnum,
|
|
57
|
+
Y as ExpressionModeEnum,
|
|
58
|
+
Z as ExpressionTabEnum,
|
|
59
59
|
F as FIELD_TYPE,
|
|
60
|
-
|
|
60
|
+
bY as FIELD_TYPE_BASIC,
|
|
61
61
|
d as FIELD_TYPE_BUSINESS,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
62
|
+
bZ as FIELD_TYPE_INSPECTION,
|
|
63
|
+
b_ as FIELD_TYPE_LOGIC,
|
|
64
|
+
b$ as FIELD_TYPE_MATERIAL,
|
|
65
|
+
c0 as FIELD_TYPE_PRETREATMENT,
|
|
66
|
+
c1 as FIELD_TYPE_PRODUCE,
|
|
67
|
+
c2 as FIELD_TYPE_STERILIZATION,
|
|
68
68
|
c as FIELD_TYPE_TRACE,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
q as FIELD_TYPE_WAREHOUSE,
|
|
70
|
+
t as FieldDefaultValueTypeEnum,
|
|
71
|
+
H as FieldIconMap,
|
|
72
72
|
j as FieldTypeToJs,
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
c3 as FormDesignEnum,
|
|
74
|
+
at as FormulaRuleFieldKeyEnum,
|
|
75
75
|
GctMqttTopsEnum,
|
|
76
76
|
O as OnlineFormModelModal,
|
|
77
77
|
_ as OnlineFormModelSelect,
|
|
78
78
|
Platform,
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
c4 as RecordNoGenerateEnum,
|
|
80
|
+
$ as ReturnTypeEnum,
|
|
81
81
|
S as SEARCH_SEVICE,
|
|
82
82
|
a as SignatureTypeEnum,
|
|
83
|
-
|
|
83
|
+
c5 as TagTypeEnum,
|
|
84
84
|
U as UniqueConstraintType,
|
|
85
85
|
V as VersionSelect,
|
|
86
|
-
|
|
86
|
+
au as formulaRuleFieldDict,
|
|
87
87
|
o as onlineFormMasterModelTypeEnum
|
|
88
88
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock } from "vue";
|
|
2
|
-
import { C as CellUpload } from "./cell-upload-
|
|
2
|
+
import { C as CellUpload } from "./cell-upload-Mt9EhaFR.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "signature-design",
|
|
5
5
|
props: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, unref, createElementVNode, toDisplayString, createBlock, createCommentVNode, renderList, createTextVNode, normalizeClass, mergeProps } from "vue";
|
|
2
2
|
import { message } from "ant-design-vue";
|
|
3
|
-
import {
|
|
4
|
-
import { F as FormItem, S as SelectEx } from "./index-
|
|
5
|
-
import { A as AttachFieldEditor } from "./attach-fields-editor-
|
|
3
|
+
import { E as SignatureTypeEnum, A as SignatureTimeTypeEnum, F as FIELD_TYPE, z as SignatureNumberTypeEnum, a0 as ImageDisplayModeEnum, D as SignShowTypeEnum, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CvVlP70-.js";
|
|
4
|
+
import { F as FormItem, S as SelectEx } from "./index--x-rjhUN.js";
|
|
5
|
+
import { A as AttachFieldEditor } from "./attach-fields-editor-C96vYS5i.js";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
8
8
|
const _hoisted_1 = { class: "adaptive-warning" };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CvVlP70-.js";
|
|
2
2
|
const _sfc_main = {};
|
|
3
3
|
function _sfc_render(_ctx, _cache) {
|
|
4
4
|
return null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { b as useDrop, T as TransferType, u as useModelFields, d as getFieldIcon,
|
|
4
|
-
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
3
|
+
import { b as useDrop, T as TransferType, u as useModelFields, d as getFieldIcon, v as SingleDrop } from "./index--x-rjhUN.js";
|
|
4
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CvVlP70-.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "single-field-drop",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode } 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-CvVlP70-.js";
|
|
3
3
|
const _hoisted_1 = { class: "row" };
|
|
4
4
|
const _hoisted_2 = { class: "row mt-6px" };
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -29,6 +29,10 @@ export interface ExcelHostStores {
|
|
|
29
29
|
export declare function createDefaultExcelStores(): ExcelHostStores;
|
|
30
30
|
/** 宿主注入的 hooks(按需扩展) */
|
|
31
31
|
export interface ExcelHostHooks {
|
|
32
|
+
/** 图文混排选择器使用的资产中心图标目录。 */
|
|
33
|
+
useIconAsset?: () => {
|
|
34
|
+
getIconAssetCats: () => Promise<any[]>;
|
|
35
|
+
};
|
|
32
36
|
useBusinessSetting?: (...args: any[]) => any;
|
|
33
37
|
useRootSetting?: (...args: any[]) => any;
|
|
34
38
|
useLocale?: (...args: any[]) => any;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { default as ObjectInitModal } from './online-form/src/views/designer/mod
|
|
|
8
8
|
import { default as OutParamModal } from './online-form/src/views/designer/modules/panel/panel-data-init-config/common/add-ipaas/out-param-modal.vue';
|
|
9
9
|
import { default as InputParamModal } from './online-form/src/views/designer/modules/panel/panel-data-init-config/common/add-ipaas/input-param-modal.vue';
|
|
10
10
|
import { default as SignatureConfigModal } from './online-form/src/views/designer/modules/panel/comps/signature-config/config-modal.vue';
|
|
11
|
+
import { default as RenderFieldWrapper } from './online-form/src/views/designer/modules/panel/panel-data-init-config/object-init/render-field-wrapper.vue';
|
|
11
12
|
export declare const EXCEL_PACKAGE_NAME = "@gct-paas/excel";
|
|
12
13
|
export * from './adapter';
|
|
13
14
|
export { default as PreviewContainer } from './online-form/src/views/render/preview-container.vue';
|
|
@@ -26,4 +27,4 @@ export type { CellWidget } from './online-form/src/views/designer/types/cell-wid
|
|
|
26
27
|
export type { PaperWidget } from './online-form/src/views/types/paper-widget';
|
|
27
28
|
export type * from './online-form/src/views/designer/types';
|
|
28
29
|
export { default as PanelTmplConfig } from './online-form/src/views/designer/modules/panel/panel-tmpl-config/panel-tmpl-config.vue';
|
|
29
|
-
export { ApaasCollect, ApaasCollectSheetView, ApaasDpPrint, ApaasDpPrintSheetView, BomEditorModal, SelectCheckDsModal, ObjectInitModal, OutParamModal, InputParamModal, SignatureConfigModal, };
|
|
30
|
+
export { ApaasCollect, ApaasCollectSheetView, ApaasDpPrint, ApaasDpPrintSheetView, BomEditorModal, SelectCheckDsModal, ObjectInitModal, OutParamModal, InputParamModal, SignatureConfigModal, RenderFieldWrapper, };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* 表单实例 frontConfig
|
|
2
|
+
* 表单实例 frontConfig:打开态读快照
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* 检验表检验项锁定到 checkTableConfig,避免保存后主数据变更导致表单漂移
|
|
5
5
|
*/
|
|
6
6
|
/** 检验表检验项快照 */
|
|
7
7
|
export interface ICheckTableConfig {
|
|
@@ -23,25 +23,9 @@ export interface IFrontConfig {
|
|
|
23
23
|
}
|
|
24
24
|
/** 解析 frontConfig 字符串;非法或空则返回空对象 */
|
|
25
25
|
export declare function parseFrontConfig(frontConfig?: string | null): IFrontConfig;
|
|
26
|
-
export declare function stringifyFrontConfig(config: IFrontConfig): string;
|
|
27
26
|
/** MedPro shared 是否已锁定 */
|
|
28
27
|
export declare function hasSharedCheckTableSnapshot(config?: ICheckTableConfig): boolean;
|
|
29
28
|
/** 非 MedPro 某表是否已锁定 */
|
|
30
29
|
export declare function hasByTableCheckTableSnapshot(config: ICheckTableConfig | undefined, tableKey: string): boolean;
|
|
31
30
|
/** checkTableConfig 是否已有任意快照 */
|
|
32
31
|
export declare function hasAnyCheckTableSnapshot(config?: ICheckTableConfig): boolean;
|
|
33
|
-
/**
|
|
34
|
-
* 合并检验表快照:
|
|
35
|
-
* - shared:已锁定则保留,否则用 pending
|
|
36
|
-
* - byTable:已有 key 不覆盖(锁定),pending 中的新 key 补入
|
|
37
|
-
*/
|
|
38
|
-
export declare function mergeCheckTableConfig(existing?: ICheckTableConfig, pending?: ICheckTableConfig): ICheckTableConfig | undefined;
|
|
39
|
-
/**
|
|
40
|
-
* 保存时合并 frontConfig:
|
|
41
|
-
* - checkTableConfig:已锁定项不覆盖,新表可补入 byTable
|
|
42
|
-
* - otherConfig:保留已有
|
|
43
|
-
*/
|
|
44
|
-
export declare function mergeFrontConfigForSave(payload: {
|
|
45
|
-
existingFrontConfig?: string | null;
|
|
46
|
-
pendingCheckTableConfig?: ICheckTableConfig;
|
|
47
|
-
}): string | undefined;
|
|
@@ -3,7 +3,7 @@ export { calcUtils } from './calc';
|
|
|
3
3
|
export { transformUtils } from './transform';
|
|
4
4
|
export { applyCheckDsDataToRuntime, applyMedProCheckDsDataToRuntime, CHECK_TABLE_MEDPRO_PROTOCOL_KEY, fetchCheckDsDataForTable, fetchCustomCheckDsData, fetchMedProCheckDsData, getCheckTableSnapshotKey, isMedProSuite, requestMedProCheckDsData, requestNonMedProCheckDsData, } from './check-ds-data';
|
|
5
5
|
export type { ICheckDsFetchResult, ICheckDsTableFetchResult } from './check-ds-data';
|
|
6
|
-
export { hasAnyCheckTableSnapshot, hasByTableCheckTableSnapshot, hasSharedCheckTableSnapshot,
|
|
6
|
+
export { hasAnyCheckTableSnapshot, hasByTableCheckTableSnapshot, hasSharedCheckTableSnapshot, parseFrontConfig, } from './front-config';
|
|
7
7
|
export type { ICheckTableConfig, IFrontConfig } from './front-config';
|
|
8
8
|
export { renderUtils } from './render';
|
|
9
9
|
export { CodeRunner } from './code-runner';
|
|
@@ -1,7 +1,23 @@
|
|
|
1
1
|
import { BaseCoreComponent } from '../common/base';
|
|
2
|
+
export type IInlineCellContentItem = {
|
|
3
|
+
type: 'text';
|
|
4
|
+
value: string;
|
|
5
|
+
} | {
|
|
6
|
+
type: 'icon';
|
|
7
|
+
value: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
source: 'builtin' | 'asset';
|
|
10
|
+
} | {
|
|
11
|
+
type: 'image';
|
|
12
|
+
value: string;
|
|
13
|
+
name?: string;
|
|
14
|
+
source: 'upload';
|
|
15
|
+
};
|
|
2
16
|
export interface IROProps {
|
|
3
17
|
/** 值 */
|
|
4
18
|
value?: string | number;
|
|
19
|
+
/** 单元格内的文字、图标和图片混排内容 */
|
|
20
|
+
inlineContent?: IInlineCellContentItem[];
|
|
5
21
|
}
|
|
6
22
|
export interface IRO extends BaseCoreComponent.BasicSchema {
|
|
7
23
|
props: IROProps;
|
|
@@ -9,7 +9,7 @@ export type { IPaper, IPaperProps } from './i-paper';
|
|
|
9
9
|
export type { IPower, IPowerProps } from './i-power';
|
|
10
10
|
export type { IQrcode, IQrcodeProps } from './i-qrcode';
|
|
11
11
|
export type { IRangeLimit, IRangeLimitProps } from './i-range-limit';
|
|
12
|
-
export type { IRO, IROProps } from './i-ro';
|
|
12
|
+
export type { IInlineCellContentItem, IRO, IROProps } from './i-ro';
|
|
13
13
|
export type { ISerialnumber, ISerialnumberProps } from './i-serialnumber';
|
|
14
14
|
export type { ISubTable, ISubTableProps } from './i-sub-table';
|
|
15
15
|
export type { ITd, ITdProps } from './i-td';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -47,6 +47,20 @@ export declare const useAllSpreadSheets: () => {
|
|
|
47
47
|
cells: {
|
|
48
48
|
type?: import('../../../../../nocode-base/src').CellType | undefined;
|
|
49
49
|
value?: any;
|
|
50
|
+
inlineContent?: ({
|
|
51
|
+
type: "text";
|
|
52
|
+
value: string;
|
|
53
|
+
} | {
|
|
54
|
+
type: "icon";
|
|
55
|
+
value: string;
|
|
56
|
+
name?: string | undefined;
|
|
57
|
+
source: "builtin" | "asset";
|
|
58
|
+
} | {
|
|
59
|
+
type: "image";
|
|
60
|
+
value: string;
|
|
61
|
+
name?: string | undefined;
|
|
62
|
+
source: "upload";
|
|
63
|
+
})[] | undefined;
|
|
50
64
|
style?: import('../types').ICellStyle | undefined;
|
|
51
65
|
border?: {
|
|
52
66
|
left?: boolean | undefined;
|
|
@@ -661,6 +675,20 @@ export declare const useAllSpreadSheets: () => {
|
|
|
661
675
|
cells: {
|
|
662
676
|
type?: import('../../../../../nocode-base/src').CellType | undefined;
|
|
663
677
|
value?: any;
|
|
678
|
+
inlineContent?: ({
|
|
679
|
+
type: "text";
|
|
680
|
+
value: string;
|
|
681
|
+
} | {
|
|
682
|
+
type: "icon";
|
|
683
|
+
value: string;
|
|
684
|
+
name?: string | undefined;
|
|
685
|
+
source: "builtin" | "asset";
|
|
686
|
+
} | {
|
|
687
|
+
type: "image";
|
|
688
|
+
value: string;
|
|
689
|
+
name?: string | undefined;
|
|
690
|
+
source: "upload";
|
|
691
|
+
})[] | undefined;
|
|
664
692
|
style?: import('../types').ICellStyle | undefined;
|
|
665
693
|
border?: {
|
|
666
694
|
left?: boolean | undefined;
|
|
@@ -1273,6 +1301,20 @@ export declare const useAllSpreadSheets: () => {
|
|
|
1273
1301
|
cells: {
|
|
1274
1302
|
type?: import('../../../../../nocode-base/src').CellType | undefined;
|
|
1275
1303
|
value?: any;
|
|
1304
|
+
inlineContent?: ({
|
|
1305
|
+
type: "text";
|
|
1306
|
+
value: string;
|
|
1307
|
+
} | {
|
|
1308
|
+
type: "icon";
|
|
1309
|
+
value: string;
|
|
1310
|
+
name?: string | undefined;
|
|
1311
|
+
source: "builtin" | "asset";
|
|
1312
|
+
} | {
|
|
1313
|
+
type: "image";
|
|
1314
|
+
value: string;
|
|
1315
|
+
name?: string | undefined;
|
|
1316
|
+
source: "upload";
|
|
1317
|
+
})[] | undefined;
|
|
1276
1318
|
style?: import('../types').ICellStyle | undefined;
|
|
1277
1319
|
border?: {
|
|
1278
1320
|
left?: boolean | undefined;
|
|
@@ -1883,6 +1925,20 @@ export declare const useAllSpreadSheets: () => {
|
|
|
1883
1925
|
cells: {
|
|
1884
1926
|
type?: import('../../../../../nocode-base/src').CellType | undefined;
|
|
1885
1927
|
value?: any;
|
|
1928
|
+
inlineContent?: ({
|
|
1929
|
+
type: "text";
|
|
1930
|
+
value: string;
|
|
1931
|
+
} | {
|
|
1932
|
+
type: "icon";
|
|
1933
|
+
value: string;
|
|
1934
|
+
name?: string | undefined;
|
|
1935
|
+
source: "builtin" | "asset";
|
|
1936
|
+
} | {
|
|
1937
|
+
type: "image";
|
|
1938
|
+
value: string;
|
|
1939
|
+
name?: string | undefined;
|
|
1940
|
+
source: "upload";
|
|
1941
|
+
})[] | undefined;
|
|
1886
1942
|
style?: import('../types').ICellStyle | undefined;
|
|
1887
1943
|
border?: {
|
|
1888
1944
|
left?: boolean | undefined;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { IInlineCellContentItem } from '../../../../../nocode-base/src';
|
|
3
|
+
export interface CellInlineEditorHandle {
|
|
4
|
+
id: string;
|
|
5
|
+
element: HTMLElement;
|
|
6
|
+
caretReady: Ref<boolean>;
|
|
7
|
+
captureRange: () => boolean;
|
|
8
|
+
focus: () => void;
|
|
9
|
+
insertContent: (content: IInlineCellContentItem) => boolean;
|
|
10
|
+
commit: () => void;
|
|
11
|
+
finish: () => void;
|
|
12
|
+
}
|
|
13
|
+
declare function registerInlineCellEditor(editor: CellInlineEditorHandle): void;
|
|
14
|
+
declare function unregisterInlineCellEditor(editor: CellInlineEditorHandle): void;
|
|
15
|
+
declare function captureActiveInlineCaret(): boolean;
|
|
16
|
+
declare function insertInlineContent(content: IInlineCellContentItem): boolean;
|
|
17
|
+
declare function beginInlineInsertOverlay(): boolean;
|
|
18
|
+
declare function endInlineInsertOverlay({ restoreFocus }?: {
|
|
19
|
+
restoreFocus?: boolean | undefined;
|
|
20
|
+
}): void;
|
|
21
|
+
export declare function useCellInlineEditor(): {
|
|
22
|
+
activeEditor: import('vue').ShallowRef<CellInlineEditorHandle | null, CellInlineEditorHandle | null>;
|
|
23
|
+
canInsertInlineMedia: import('vue').ComputedRef<boolean>;
|
|
24
|
+
isInlineInsertOverlayOpen: import('vue').ComputedRef<boolean>;
|
|
25
|
+
registerInlineCellEditor: typeof registerInlineCellEditor;
|
|
26
|
+
unregisterInlineCellEditor: typeof unregisterInlineCellEditor;
|
|
27
|
+
captureActiveInlineCaret: typeof captureActiveInlineCaret;
|
|
28
|
+
insertInlineContent: typeof insertInlineContent;
|
|
29
|
+
beginInlineInsertOverlay: typeof beginInlineInsertOverlay;
|
|
30
|
+
endInlineInsertOverlay: typeof endInlineInsertOverlay;
|
|
31
|
+
};
|
|
32
|
+
export {};
|
|
@@ -70,6 +70,20 @@ export declare function useSpreadSheet(): {
|
|
|
70
70
|
cells: {
|
|
71
71
|
type?: CellType | undefined;
|
|
72
72
|
value?: any;
|
|
73
|
+
inlineContent?: ({
|
|
74
|
+
type: "text";
|
|
75
|
+
value: string;
|
|
76
|
+
} | {
|
|
77
|
+
type: "icon";
|
|
78
|
+
value: string;
|
|
79
|
+
name?: string | undefined;
|
|
80
|
+
source: "builtin" | "asset";
|
|
81
|
+
} | {
|
|
82
|
+
type: "image";
|
|
83
|
+
value: string;
|
|
84
|
+
name?: string | undefined;
|
|
85
|
+
source: "upload";
|
|
86
|
+
})[] | undefined;
|
|
73
87
|
style?: ICellStyle | undefined;
|
|
74
88
|
border?: {
|
|
75
89
|
left?: boolean | undefined;
|
|
@@ -762,6 +776,20 @@ export declare function useSpreadSheet(): {
|
|
|
762
776
|
cells: {
|
|
763
777
|
type?: CellType | undefined;
|
|
764
778
|
value?: any;
|
|
779
|
+
inlineContent?: ({
|
|
780
|
+
type: "text";
|
|
781
|
+
value: string;
|
|
782
|
+
} | {
|
|
783
|
+
type: "icon";
|
|
784
|
+
value: string;
|
|
785
|
+
name?: string | undefined;
|
|
786
|
+
source: "builtin" | "asset";
|
|
787
|
+
} | {
|
|
788
|
+
type: "image";
|
|
789
|
+
value: string;
|
|
790
|
+
name?: string | undefined;
|
|
791
|
+
source: "upload";
|
|
792
|
+
})[] | undefined;
|
|
765
793
|
style?: ICellStyle | undefined;
|
|
766
794
|
border?: {
|
|
767
795
|
left?: boolean | undefined;
|
|
@@ -1366,6 +1394,20 @@ export declare function useSpreadSheet(): {
|
|
|
1366
1394
|
cells: {
|
|
1367
1395
|
type?: CellType | undefined;
|
|
1368
1396
|
value?: any;
|
|
1397
|
+
inlineContent?: ({
|
|
1398
|
+
type: "text";
|
|
1399
|
+
value: string;
|
|
1400
|
+
} | {
|
|
1401
|
+
type: "icon";
|
|
1402
|
+
value: string;
|
|
1403
|
+
name?: string | undefined;
|
|
1404
|
+
source: "builtin" | "asset";
|
|
1405
|
+
} | {
|
|
1406
|
+
type: "image";
|
|
1407
|
+
value: string;
|
|
1408
|
+
name?: string | undefined;
|
|
1409
|
+
source: "upload";
|
|
1410
|
+
})[] | undefined;
|
|
1369
1411
|
style?: ICellStyle | undefined;
|
|
1370
1412
|
border?: {
|
|
1371
1413
|
left?: boolean | undefined;
|
|
@@ -1971,6 +2013,20 @@ export declare function useSpreadSheet(): {
|
|
|
1971
2013
|
cells: {
|
|
1972
2014
|
type?: CellType | undefined;
|
|
1973
2015
|
value?: any;
|
|
2016
|
+
inlineContent?: ({
|
|
2017
|
+
type: "text";
|
|
2018
|
+
value: string;
|
|
2019
|
+
} | {
|
|
2020
|
+
type: "icon";
|
|
2021
|
+
value: string;
|
|
2022
|
+
name?: string | undefined;
|
|
2023
|
+
source: "builtin" | "asset";
|
|
2024
|
+
} | {
|
|
2025
|
+
type: "image";
|
|
2026
|
+
value: string;
|
|
2027
|
+
name?: string | undefined;
|
|
2028
|
+
source: "upload";
|
|
2029
|
+
})[] | undefined;
|
|
1974
2030
|
style?: ICellStyle | undefined;
|
|
1975
2031
|
border?: {
|
|
1976
2032
|
left?: boolean | undefined;
|
|
@@ -2575,6 +2631,20 @@ export declare function useSpreadSheet(): {
|
|
|
2575
2631
|
cells: {
|
|
2576
2632
|
type?: CellType | undefined;
|
|
2577
2633
|
value?: any;
|
|
2634
|
+
inlineContent?: ({
|
|
2635
|
+
type: "text";
|
|
2636
|
+
value: string;
|
|
2637
|
+
} | {
|
|
2638
|
+
type: "icon";
|
|
2639
|
+
value: string;
|
|
2640
|
+
name?: string | undefined;
|
|
2641
|
+
source: "builtin" | "asset";
|
|
2642
|
+
} | {
|
|
2643
|
+
type: "image";
|
|
2644
|
+
value: string;
|
|
2645
|
+
name?: string | undefined;
|
|
2646
|
+
source: "upload";
|
|
2647
|
+
})[] | undefined;
|
|
2578
2648
|
style?: ICellStyle | undefined;
|
|
2579
2649
|
border?: {
|
|
2580
2650
|
left?: boolean | undefined;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value?: unknown;
|
|
3
|
+
tooltip?: string;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
icon?(_: {}): any;
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
action?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {
|
|
13
|
+
contentRef: HTMLSpanElement;
|
|
14
|
+
};
|
|
15
|
+
rootEl: any;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
19
|
+
contentRef: HTMLSpanElement;
|
|
20
|
+
}, any>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
expanded: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IInlineCellContentItem } from '../../../../../../nocode-base/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
uploadImage?: (file: File) => Promise<string | void>;
|
|
4
|
+
};
|
|
5
|
+
declare function open(anchor?: HTMLElement): Promise<void>;
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
7
|
+
open: typeof open;
|
|
8
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
9
|
+
select: (content: IInlineCellContentItem) => any;
|
|
10
|
+
closed: () => any;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onSelect?: ((content: IInlineCellContentItem) => any) | undefined;
|
|
13
|
+
onClosed?: (() => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
15
|
+
ImageInputRef: HTMLInputElement;
|
|
16
|
+
}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ICell } from '../../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
x: number;
|
|
4
|
+
y: number;
|
|
5
|
+
cell: ICell;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
|
+
finish: () => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
onFinish?: (() => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
12
|
+
ShellRef: HTMLDivElement;
|
|
13
|
+
EditorRef: HTMLDivElement;
|
|
14
|
+
SuggestionRef: HTMLDivElement;
|
|
15
|
+
}, HTMLDivElement>;
|
|
16
|
+
export default _default;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { nextTick } from 'vue';
|
|
2
1
|
import { ICell } from '../../types';
|
|
3
2
|
type __VLS_Props = {
|
|
4
3
|
x: number;
|
|
@@ -56,7 +55,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
56
55
|
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
57
56
|
};
|
|
58
57
|
$forceUpdate: () => void;
|
|
59
|
-
$nextTick: typeof nextTick;
|
|
58
|
+
$nextTick: typeof import('vue').nextTick;
|
|
60
59
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
61
60
|
} & Readonly<{
|
|
62
61
|
borderAttrs: any;
|
|
@@ -73,6 +72,5 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
73
72
|
tableAction?(_: {}): any;
|
|
74
73
|
};
|
|
75
74
|
}) | null;
|
|
76
|
-
InputRef: unknown;
|
|
77
75
|
}, HTMLTableCellElement>;
|
|
78
76
|
export default _default;
|
|
@@ -1,2 +1,32 @@
|
|
|
1
|
-
|
|
1
|
+
import { IInlineCellContentItem } from '../../../../../nocode-base/src';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
3
|
+
InlineInsertTriggerRef: HTMLElement;
|
|
4
|
+
InlineMediaModalRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
5
|
+
uploadImage?: (file: File) => Promise<string | void>;
|
|
6
|
+
}> & Readonly<{
|
|
7
|
+
onSelect?: ((content: IInlineCellContentItem) => any) | undefined;
|
|
8
|
+
onClosed?: (() => any) | undefined;
|
|
9
|
+
}>, {
|
|
10
|
+
open: (anchor?: HTMLElement) => Promise<void>;
|
|
11
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
12
|
+
select: (content: IInlineCellContentItem) => any;
|
|
13
|
+
closed: () => any;
|
|
14
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
15
|
+
ImageInputRef: HTMLInputElement;
|
|
16
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
17
|
+
P: {};
|
|
18
|
+
B: {};
|
|
19
|
+
D: {};
|
|
20
|
+
C: {};
|
|
21
|
+
M: {};
|
|
22
|
+
Defaults: {};
|
|
23
|
+
}, Readonly<{
|
|
24
|
+
uploadImage?: (file: File) => Promise<string | void>;
|
|
25
|
+
}> & Readonly<{
|
|
26
|
+
onSelect?: ((content: IInlineCellContentItem) => any) | undefined;
|
|
27
|
+
onClosed?: (() => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
open: (anchor?: HTMLElement) => Promise<void>;
|
|
30
|
+
}, {}, {}, {}, {}> | null;
|
|
31
|
+
}, HTMLDivElement>;
|
|
2
32
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SubTableType } from '../enums';
|
|
2
|
-
import { CellType, Orientation, ParamModelTypeEnum, IBindField, IToFieldItem, IUnitConversionRule, ICellBorder, CheckDsTypeEnum, IFormTmplBom, IBizTableConfig, PageSizeEnum } from '../../../../../nocode-base/src';
|
|
2
|
+
import { CellType, Orientation, ParamModelTypeEnum, IBindField, IToFieldItem, IUnitConversionRule, ICellBorder, CheckDsTypeEnum, IFormTmplBom, IBizTableConfig, PageSizeEnum, IInlineCellContentItem } from '../../../../../nocode-base/src';
|
|
3
3
|
import { PaperWidget } from '../../types/paper-widget';
|
|
4
4
|
import { CellWidget } from './cell-widget';
|
|
5
5
|
import { IModelMetaMap } from '../hooks/useModelFields';
|
|
@@ -128,6 +128,7 @@ export interface ICheckTableDataSource {
|
|
|
128
128
|
export interface ICell {
|
|
129
129
|
type?: CellType;
|
|
130
130
|
value?: any;
|
|
131
|
+
inlineContent?: IInlineCellContentItem[];
|
|
131
132
|
style?: ICellStyle;
|
|
132
133
|
border?: ICellBorder;
|
|
133
134
|
/**
|