@gct-paas/excel 0.1.28-beta.3 → 0.1.28-beta.5
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/{agg-design-D315o3oJ.js → agg-design-Bj1v2gKT.js} +1 -1
- package/dist/{agg-style-DEW8WIbh.js → agg-style-DXAla29g.js} +1 -1
- package/dist/{attach-fields-editor-DBEnjpW6.js → attach-fields-editor-D9sJdOnp.js} +1 -1
- package/dist/{barcode-design-BxIPGg77.js → barcode-design-BkZ7n-AZ.js} +1 -1
- package/dist/base/index.es.js +2 -2
- package/dist/{base-font-editor-BIOgl33K.js → base-font-editor-Dd-jNA4z.js} +1 -1
- package/dist/{boolean-design-DVr4bZEy.js → boolean-design-BGJy8xYo.js} +7 -6
- package/dist/{boolean-props-B0KLXvZ-.js → boolean-props-CyS8VZn1.js} +2 -2
- package/dist/{boolean-style-BWeDymiK.js → boolean-style-BB1aReq6.js} +3 -3
- package/dist/{cell-upload-tjeo9_9I.js → cell-upload-8KaHreBY.js} +7 -10
- package/dist/{date-range-editor-B5llsY67.js → date-range-editor-wspYVjtc.js} +1 -1
- package/dist/{date-time-design-CWvOkXKJ.js → date-time-design-egPbX0Vo.js} +24 -5
- package/dist/{date-time-props-C7FP2FQs.js → date-time-props-Bf05Yt_j.js} +2 -2
- package/dist/{date-time-style-DQHbC2kb.js → date-time-style-COjsBWBR.js} +1 -1
- package/dist/{decimal-display-mode-C10AmA0U.js → decimal-display-mode-Dn9bwwNQ.js} +1 -1
- package/dist/{decimal-props-BeVXHFlV.js → decimal-props-Ckhsdhbv.js} +3 -3
- package/dist/{decimal-style-BULpIH_X.js → decimal-style-COLJcTtE.js} +1 -1
- package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-DRnYs5nP.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-BwRLaCG5.js} +1 -1
- package/dist/{diagonal-design-DSo6PIB8.js → diagonal-design-Bwb2e-fE.js} +1 -1
- package/dist/{double-props-DF-V3K7u.js → double-props-DQFXAB0x.js} +3 -3
- package/dist/{double-style-B_4ezhut.js → double-style-BKMgAYIf.js} +1 -1
- package/dist/{dynamic-table-action-D0tVt9Tj.js → dynamic-table-action-7ukFUpJU.js} +16 -11
- package/dist/{enum-design-BNqAmftL.js → enum-design-D7e4gp3B.js} +3 -3
- package/dist/{enum-props-DqXn69z1.js → enum-props-DqMA-vGJ.js} +67 -46
- package/dist/{enum-style-DtXNKCN0.js → enum-style-nthrhAbP.js} +3 -3
- package/dist/excel.css +775 -461
- package/dist/{exceljs.min-Bx8KXr3N.js → exceljs.min-Bb0Lg9lC.js} +1 -1
- package/dist/{expression-design-Bo0rSi0p.js → expression-design-9mfsIpr2.js} +1 -1
- package/dist/{expression-style-DzxFGnuv.js → expression-style-C8DHO9rA.js} +1 -1
- package/dist/{file-design-CUEsgt3a.js → file-design-CLvuonWh.js} +1 -1
- package/dist/{file-props-CEZForpH.js → file-props-BxHLITwa.js} +1 -1
- package/dist/{font-editor-DqdFDCMA.js → font-editor-KNwR_HRT.js} +1 -1
- package/dist/{image-design-C-qh01eG.js → image-design-DAxmwdnE.js} +1 -1
- package/dist/{image-props-BkomuIq9.js → image-props-DhHuYwvP.js} +1 -1
- package/dist/{index-BrrWWM_T.js → index-AagWK_Tx.js} +1 -1
- package/dist/{index-hjdoa839.js → index-BXkgV459.js} +1 -1
- package/dist/{index-CIkyf2gt.js → index-BjQ91eD6.js} +1 -1
- package/dist/{index-BH3C5HAi.js → index-CEZL83xU.js} +2110 -1607
- package/dist/{index-Ds_OyNIQ.js → index-Dd6xkRLE.js} +1 -1
- package/dist/{index-D24WtcUi.js → index-DnksW_rb.js} +1 -1
- package/dist/index.es.js +44 -44
- package/dist/{integer-props-S81V11-X.js → integer-props-xQpWeIQ4.js} +2 -2
- package/dist/{integer-style-DBINUJ8S.js → integer-style-Br3JrgP3.js} +1 -1
- package/dist/{org-design-DEibx7uD.js → org-design-DWZI8xev.js} +1 -1
- package/dist/{org-props-z9vw-QnU.js → org-props-yiJu5oHz.js} +1 -1
- package/dist/{org-style-D_mZgP5o.js → org-style-QaeE1Xl5.js} +1 -1
- package/dist/{pagination-design-KKOQr4ND.js → pagination-design-D3pPddCl.js} +1 -1
- package/dist/paper-widget-design-DSpYASX5.js +4 -0
- package/dist/{qrcode-design-DQPC8D0W.js → qrcode-design-Be-BQD_X.js} +1 -1
- package/dist/{ref-autofill-editor-CTk06EvC.js → ref-autofill-editor-BMhho0u0.js} +81 -48
- package/dist/{ref-design-C7LbDVQz.js → ref-design-BQ8o1gKm.js} +1 -1
- package/dist/{ref-props-5dv2Le2r.js → ref-props-B4RaYxL4.js} +18 -11
- package/dist/{ref-style-C-acf8uU.js → ref-style-BjUbMvtR.js} +1 -1
- package/dist/{regex-editor-CPyK1Cph.js → regex-editor-MBruLImJ.js} +93 -66
- package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-3KADrKOM.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-CggAgzMU.js} +1 -1
- package/dist/{signature-design-96ExeDen.js → signature-design-Cj13XXC9.js} +1 -1
- package/dist/{signature-props-UjjgQN6D.js → signature-props-DgWm79-B.js} +2 -2
- package/dist/{single-field-drop-bvDGoUmH.js → single-field-drop-B_xuisrf.js} +1 -1
- package/dist/src/online-form/src/views/__cell_widgets__/cell-widget-dependency.vue.d.ts +1 -0
- package/dist/src/online-form/src/views/designer/modules/modals/add-dependency-modal/add-dependency-modal.vue.d.ts +5 -1
- package/dist/src/online-form/src/views/designer/modules/panel/comps/signature-config/config-modal.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/modules/panel/comps/signature-config/field-tree-select.vue.d.ts +1 -0
- package/dist/src/online-form/src/views/designer/utils/design-readonly-modal.d.ts +3 -0
- package/dist/src/online-form/src/views/inline-cell/use-inline-icon-catalog.d.ts +2 -3
- package/dist/src/shared/components/Signature/card-signer.vue.d.ts +14 -0
- package/dist/src/shared/components/Signature/logic/index.d.ts +2 -0
- package/dist/src/shared/components/Signature/security-config.d.ts +6 -0
- package/dist/src/shared/components/Signature/ui/password-signer.vue.d.ts +1 -0
- package/dist/src/shared/components/Signature/ui/sign-switcher-modal.vue.d.ts +9 -5
- package/dist/src/shared/components/Signature/ui/sign-switcher.vue.d.ts +1 -0
- package/dist/src/shared/components/field-transfer/components/field-transfer-modal.vue.d.ts +2 -0
- package/dist/src/shared/components/field-transfer/components/modal-wrapper.vue.d.ts +2 -0
- package/dist/src/shared/components/field-transfer/useFieldTransfer.d.ts +2 -0
- package/dist/{text-design-fTcKH2WP.js → text-design-COhMsF3C.js} +1 -1
- package/dist/{text-design-Cqqg-CXD.js → text-design-CQkWtDvo.js} +4 -4
- package/dist/{text-props-DDPGK0FB.js → text-props-BVTh4P3i.js} +2 -2
- package/dist/{text-style-Dn8so8se.js → text-style-WDkbru4-.js} +1 -1
- package/dist/{trace-design-C4Hkm65z.js → trace-design-Q3PNIwmh.js} +32 -8
- package/dist/{trace-props-CYkbFlQV.js → trace-props-BERQ4U8p.js} +4 -4
- package/dist/{trace-style-BID6TsGR.js → trace-style-DbtlGTzu.js} +1 -1
- package/dist/{user-design-BRIV937X.js → user-design-fMF_h4IG.js} +4 -4
- package/dist/{user-props-D7BmNZdA.js → user-props-BE0Fx2sg.js} +1 -1
- package/dist/{user-style-CpNWTvux.js → user-style-D3vgZ-UV.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-CaN32yJy.js → value-editor.vue_vue_type_style_index_0_lang-BHODBnNs.js} +1 -1
- package/dist/{widget-barcode-B09sq8dD.js → widget-barcode-MlhNzzoj.js} +2 -2
- package/dist/{widget-diagonal-CgusUMPW.js → widget-diagonal-Bgp1Tefw.js} +2 -2
- package/dist/{widget-image-CGUwduxJ.js → widget-image-Din0DqHr.js} +1 -1
- package/dist/{widget-line-BI3bmN8C.js → widget-line-ByukCV5s.js} +1 -1
- package/dist/{widget-pagination-BcPqeHmZ.js → widget-pagination-terQkLpV.js} +2 -2
- package/dist/{widget-power-BePKBiaW.js → widget-power-BsyXdN4S.js} +2 -2
- package/dist/{widget-qrcode-CXSRWFTw.js → widget-qrcode-Gg8oW7qW.js} +2 -2
- package/dist/{widget-rangelimit-BnaYlGrt.js → widget-rangelimit-DlDY3K20.js} +2 -2
- package/dist/{widget-serialnumber-DAnZqp1U.js → widget-serialnumber-DzaEL-aC.js} +1 -1
- package/dist/{widget-text-NU67Kyw9.js → widget-text--Mlb_JlV.js} +3 -3
- package/dist/{widget-timediff-D-ZHmsQn.js → widget-timediff-BK3U6JSH.js} +1 -1
- package/package.json +1 -1
- package/dist/paper-widget-design-CQOrWl9h.js +0 -4
|
@@ -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-CEZL83xU.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "agg-design",
|
|
5
5
|
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-Dd-jNA4z.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "agg-style",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
|
|
2
2
|
import { message } from "ant-design-vue";
|
|
3
3
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
4
|
-
import { u as useModelFields,
|
|
4
|
+
import { u as useModelFields, d as useDrop, T as TransferType, e as getFieldIcon, M as MultipleDrop, f as FieldConfig } from "./index-CEZL83xU.js";
|
|
5
5
|
import { F as FIELD_TYPE, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "attach-fields-editor",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeStyle, normalizeClass, createElementVNode, toDisplayString, createCommentVNode } from "vue";
|
|
2
2
|
import { pick } from "lodash-es";
|
|
3
|
-
import {
|
|
3
|
+
import { i as useSpreadSheet, u as useModelFields, s as loadBwip } from "./index-CEZL83xU.js";
|
|
4
4
|
import { G as PaperWidgeValueType, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
package/dist/base/index.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { aW as fetchHistoryConsume, aX as isBomGranted, F as FIELD_TYPE, w as api, c as getProfileByTableType, b as isBusinessSubTableProfile, aY as runRowHandler, aZ as F$1, a_ as FILL_FROM_INVENTORY_OPTION, a$ as F$2, b0 as INVENTORY_BASE_FIELDS, b1 as WAREHOUSE_IDENTITY_GROUP_KEYS, b2 as SCAN_MERGE_GROUP_KEYS, b3 as AUTO_LOAD_READONLY_SELECT_FIELDS, aH as getParseRuleInfo, b4 as FILL_FROM_INVENTORY_OPTION$1, aI as getParseRuleValue, b5 as F$3, b6 as FILL_FROM_INVENTORY_OPTION$2, b7 as calcFillData, b8 as extractKeywordFromQueryData, b9 as F$4, ba as isProductManuallyEditable, bb as applyFillFromMfgOrderOption, bc as applyFillFromOption$1, bd as applyFillFromProductOption, be as CLEAR_ON_MATERIAL_CONTAINER_SELECT, M as FormTypeEnum, bf as transformUtils, d as SubTableType, aE as NCB_PROVIDE, bg as settleAndValidateDisplay, bh as unregisterValidationContext, bi as clearFormRules, bj as registerValidationContext, m as ComponentTypeEnum, aM as RenderModeEnum, bk as requestFullValidation, bl as requestDisplayValidation, bm as closeValidatorPopovers, bn as baseDataUtils, bo as getRawFormRuleMeta, bp as enrichFormChangeRowDetails, bq as settleAfterModeSwitch, br as calcUtils, an as CheckDsTypeEnum, aB as renderUtils, Q as PlatformEnum, bs as uuid2, bt as normalizeToArray, bu as safeParseArray, bv as BpmnNodeTypeEnum, bw as mergeByMultiKey, aV as useNocodeEmitter, bx as commonUtils, am as EntityModelCategoryEnum, by as getRowId, bz as collectFormChangeFieldLocations, bA as nextFormChangeRowViewHistoryId } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
2
2
|
import { aq, as, aC, T, bB, bC, B, bD, t, a1, bE, bF, bG, aA, aD, ar, ao, ap, a2, a6, bH, aO, af, bI, al, au, R, a4, L, bJ, bK, O, j, P, Z, h, G, at, bL, bM, aL, X, V, W, Y, bN, a5, a9, a3, bO, bP, bQ, bR, bS, bT, bU, bV, bW, bX, bY, bZ, b_, aK, b$, c0, c1, c2, c3, c4, c5, c6, c7, c8, c9, ca, cb, cc, cd, aF, ce, cf, cg, aG, ch, ci, cj, ck, a7, cl, cm, ay, cn, ax, av, co, H, aJ, aN, az, cp, u, aw } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
3
|
-
import { M as MaterialConsumptionPatternEnum, e as MaterialConsumeTableController, f as SubTableCore, g as SubTableActionMenuTypeEnum, h as getMenuByAction, i as SubTableActionEnum, j as getCopySubMenu, k as getInsertSubMenu, l as useMaterialBalance, v as validate } from "../dynamic-table-action-
|
|
4
|
-
import { B as B2, m, D, _, n, c, o, d, F, p, I, q, O as O2, u as u2, a, b } from "../dynamic-table-action-
|
|
3
|
+
import { M as MaterialConsumptionPatternEnum, e as MaterialConsumeTableController, f as SubTableCore, g as SubTableActionMenuTypeEnum, h as getMenuByAction, i as SubTableActionEnum, j as getCopySubMenu, k as getInsertSubMenu, l as useMaterialBalance, v as validate } from "../dynamic-table-action-7ukFUpJU.js";
|
|
4
|
+
import { B as B2, m, D, _, n, c, o, d, F, p, I, q, O as O2, u as u2, a, b } from "../dynamic-table-action-7ukFUpJU.js";
|
|
5
5
|
import { ref, provide, watch, computed, onBeforeMount } from "vue";
|
|
6
6
|
import { defaults, has, merge, isEmpty, cloneDeep, debounce } from "lodash-es";
|
|
7
7
|
import dayjs from "dayjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, resolveComponent, openBlock, createElementBlock, Fragment, createElementVNode, normalizeClass, unref, createVNode, withCtx, createBlock, createSlots, createTextVNode, createCommentVNode } from "vue";
|
|
2
2
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
3
|
-
import {
|
|
3
|
+
import { b as FormItem } from "./index-CEZL83xU.js";
|
|
4
4
|
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
5
5
|
const DEFAULT_LETTER_SPACE = 8;
|
|
6
6
|
const DEFAULT_OPTION_GAP = 12;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createVNode, unref, normalizeStyle, withCtx, Fragment, renderList, createBlock } from "vue";
|
|
2
|
-
import { C as CellWidgetRenderComp, S as SelectEx, a as CellWidgetDesign } from "./index-
|
|
2
|
+
import { C as CellWidgetRenderComp, S as SelectEx, a as CellWidgetDesign } from "./index-CEZL83xU.js";
|
|
3
3
|
import { T as BooleanShowMode, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
4
4
|
import { isNil } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -12,7 +12,7 @@ const _hoisted_2 = {
|
|
|
12
12
|
key: 1,
|
|
13
13
|
class: "boolean-design__affix"
|
|
14
14
|
};
|
|
15
|
-
const DEFAULT_OPTION_GAP =
|
|
15
|
+
const DEFAULT_OPTION_GAP = 16;
|
|
16
16
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
17
|
__name: "boolean-design",
|
|
18
18
|
props: {
|
|
@@ -89,10 +89,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
89
89
|
direction: __props.fieldWidget.direction,
|
|
90
90
|
"label-position": __props.fieldWidget.labelPosition,
|
|
91
91
|
"null-value": nullValue.value,
|
|
92
|
-
"icon-label-space": __props.fieldWidget.iconLabelSpace,
|
|
92
|
+
"icon-label-space": __props.fieldWidget.iconLabelSpace ?? 6,
|
|
93
93
|
"option-gap": optionGap.value,
|
|
94
94
|
style: normalizeStyle(styleVars.value),
|
|
95
|
-
size: "small"
|
|
95
|
+
size: "small",
|
|
96
|
+
placeholder: _ctx.$t("sys.chooseText")
|
|
96
97
|
}, {
|
|
97
98
|
suffix: withCtx(({ option }) => [
|
|
98
99
|
option.value === true && __props.fieldWidget.trueAttachFields?.length ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(__props.fieldWidget.trueAttachFields, (field) => {
|
|
@@ -111,13 +112,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
111
112
|
}), 128)) : createCommentVNode("", true)
|
|
112
113
|
]),
|
|
113
114
|
_: 1
|
|
114
|
-
}, 8, ["disabled", "options", "value", "show-mode", "icon-type", "direction", "label-position", "null-value", "icon-label-space", "option-gap", "style"]),
|
|
115
|
+
}, 8, ["disabled", "options", "value", "show-mode", "icon-type", "direction", "label-position", "null-value", "icon-label-space", "option-gap", "style", "placeholder"]),
|
|
115
116
|
__props.fieldWidget.suffix ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(__props.fieldWidget.suffix), 1)) : createCommentVNode("", true)
|
|
116
117
|
], 2);
|
|
117
118
|
};
|
|
118
119
|
}
|
|
119
120
|
});
|
|
120
|
-
const booleanDesign = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
121
|
+
const booleanDesign = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d0a315d9"]]);
|
|
121
122
|
export {
|
|
122
123
|
booleanDesign as default
|
|
123
124
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, createElementVNode, toDisplayString, createBlock, createCommentVNode } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { A as AttachFieldEditor } from "./attach-fields-editor-
|
|
2
|
+
import { b as FormItem } from "./index-CEZL83xU.js";
|
|
3
|
+
import { A as AttachFieldEditor } from "./attach-fields-editor-D9sJdOnp.js";
|
|
4
4
|
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
5
5
|
const _hoisted_1 = { style: { "float": "right" } };
|
|
6
6
|
const _hoisted_2 = { class: "option-container" };
|
|
@@ -3,9 +3,9 @@ import { T as BooleanShowMode } from "./dynamic-table-action.vue_vue_type_style_
|
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { C as CellWidgetRenderComp,
|
|
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, b as FormItem } from "./index-CEZL83xU.js";
|
|
7
|
+
import { B as BaseFontEditor } from "./base-font-editor-Dd-jNA4z.js";
|
|
8
|
+
import { _ as _sfc_main$1, a as _sfc_main$2 } from "./select-render-type-editor.vue_vue_type_script_setup_true_lang-CggAgzMU.js";
|
|
9
9
|
const DEFAULT_LETTER_SPACE = 8;
|
|
10
10
|
const DEFAULT_OPTION_GAP = 12;
|
|
11
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, toDisplayString } from "vue";
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, toDisplayString, createVNode } from "vue";
|
|
2
|
+
import { F as FieldStateIcon } from "./index-CEZL83xU.js";
|
|
2
3
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
3
4
|
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
4
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -15,24 +16,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
15
16
|
if (props.uploadType === "signature") return $t("sys.pageDesigner.addSignature");
|
|
16
17
|
return $t("sys.pageDesigner.uploadFile");
|
|
17
18
|
});
|
|
18
|
-
const uploadIcon = computed(() => {
|
|
19
|
-
if (props.uploadType === "image") return "icon-tupian";
|
|
20
|
-
if (props.uploadType === "signature") return "icon-dianziqianmingdd";
|
|
21
|
-
return "icon-fujian";
|
|
22
|
-
});
|
|
23
19
|
return (_ctx, _cache) => {
|
|
24
20
|
return openBlock(), createElementBlock("div", {
|
|
25
21
|
class: normalizeClass([unref(ns).b(), __props.disabled && unref(ns).m("disabled")])
|
|
26
22
|
}, [
|
|
27
23
|
createElementVNode("span", null, toDisplayString(uploadLabel.value), 1),
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
createVNode(FieldStateIcon, {
|
|
25
|
+
type: __props.uploadType,
|
|
26
|
+
class: normalizeClass(unref(ns).e("add-icon"))
|
|
27
|
+
}, null, 8, ["type", "class"])
|
|
31
28
|
], 2);
|
|
32
29
|
};
|
|
33
30
|
}
|
|
34
31
|
});
|
|
35
|
-
const CellUpload = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
32
|
+
const CellUpload = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6677526d"]]);
|
|
36
33
|
export {
|
|
37
34
|
CellUpload as C
|
|
38
35
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { watch, computed, defineComponent, toRefs, resolveComponent, openBlock, createBlock, withCtx, createVNode, unref, isRef, createCommentVNode, createElementVNode, toDisplayString, createElementBlock, normalizeClass, Fragment } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { b as FormItem, S as SelectEx, h as FormulaEditor } from "./index-CEZL83xU.js";
|
|
3
3
|
import { F as FIELD_TYPE, _ as _export_sfc, aL as RangeValidateMode, bM as RangeCompareOp } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
4
4
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
5
5
|
import { isNil } from "lodash-es";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createBlock } from "vue";
|
|
1
|
+
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createBlock, withCtx, createVNode } from "vue";
|
|
2
2
|
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
3
3
|
import dayjs from "dayjs";
|
|
4
|
+
import { F as FieldStateIcon } from "./index-CEZL83xU.js";
|
|
4
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
6
|
__name: "date-time-design",
|
|
6
7
|
props: {
|
|
@@ -11,6 +12,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
11
12
|
setup(__props) {
|
|
12
13
|
const props = __props;
|
|
13
14
|
const isTime = computed(() => props.fieldMeta.fieldType === FIELD_TYPE.TIME);
|
|
15
|
+
const isDateTime = computed(() => {
|
|
16
|
+
const fieldType = props.fieldMeta.bizType || props.fieldMeta.fieldType;
|
|
17
|
+
return fieldType !== void 0 && [FIELD_TYPE.DATE_TIME, FIELD_TYPE.REPORT_START_TIME, FIELD_TYPE.REPORT_END_TIME].some(
|
|
18
|
+
(type) => type === fieldType
|
|
19
|
+
);
|
|
20
|
+
});
|
|
14
21
|
const defaultValue = computed(() => {
|
|
15
22
|
if (props.fieldWidget.defaultSystemDate) {
|
|
16
23
|
return dayjs();
|
|
@@ -26,16 +33,28 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
33
|
value: defaultValue.value,
|
|
27
34
|
class: "w-full",
|
|
28
35
|
format: __props.fieldWidget.format,
|
|
29
|
-
placeholder: __props.fieldWidget.placeholder,
|
|
36
|
+
placeholder: __props.fieldWidget.placeholder ?? _ctx.$t("sys.chooseText"),
|
|
30
37
|
disabled: __props.disabled
|
|
31
|
-
},
|
|
38
|
+
}, {
|
|
39
|
+
suffixIcon: withCtx(() => [
|
|
40
|
+
createVNode(FieldStateIcon, {
|
|
41
|
+
type: isDateTime.value ? "datetime" : "date"
|
|
42
|
+
}, null, 8, ["type"])
|
|
43
|
+
]),
|
|
44
|
+
_: 1
|
|
45
|
+
}, 8, ["value", "format", "placeholder", "disabled"])) : (openBlock(), createBlock(_component_a_time_picker, {
|
|
32
46
|
key: 1,
|
|
33
47
|
value: defaultValue.value,
|
|
34
48
|
class: "w-full",
|
|
35
49
|
format: __props.fieldWidget.format,
|
|
36
|
-
placeholder: __props.fieldWidget.placeholder,
|
|
50
|
+
placeholder: __props.fieldWidget.placeholder ?? _ctx.$t("sys.chooseText"),
|
|
37
51
|
disabled: __props.disabled
|
|
38
|
-
},
|
|
52
|
+
}, {
|
|
53
|
+
suffixIcon: withCtx(() => [
|
|
54
|
+
createVNode(FieldStateIcon, { type: "time" })
|
|
55
|
+
]),
|
|
56
|
+
_: 1
|
|
57
|
+
}, 8, ["value", "format", "placeholder", "disabled"]))
|
|
39
58
|
]);
|
|
40
59
|
};
|
|
41
60
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createBlock, withCtx, createVNode, createCommentVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { D as DateFormatEditor, a as DateRangeEditor } from "./date-range-editor-
|
|
2
|
+
import { b as FormItem } from "./index-CEZL83xU.js";
|
|
3
|
+
import { D as DateFormatEditor, a as DateRangeEditor } from "./date-range-editor-wspYVjtc.js";
|
|
4
4
|
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "date-time-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-Dd-jNA4z.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, computed, openBlock, createBlock, withCtx, createVNode, unref } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { b as FormItem, S as SelectEx } from "./index-CEZL83xU.js";
|
|
3
3
|
import { aD as DecimalDisplayMode$1, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -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,
|
|
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-
|
|
2
|
+
import { u as useModelFields, i as useSpreadSheet, j as useReverseModeling, b as FormItem } from "./index-CEZL83xU.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-BwRLaCG5.js";
|
|
4
4
|
import { F as FIELD_TYPE, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.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-Dn9bwwNQ.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-Dd-jNA4z.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "decimal-style",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, withCtx, createVNode, watch, createElementBlock, Fragment, createCommentVNode, mergeProps } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { b as FormItem, S as SelectEx, h as FormulaEditor } from "./index-CEZL83xU.js";
|
|
3
3
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
4
4
|
import { _ as _export_sfc, aL as RangeValidateMode, bM as RangeCompareOp } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
5
5
|
import { isNil } from "lodash-es";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock } from "vue";
|
|
2
|
-
import { u as useModelFields,
|
|
2
|
+
import { u as useModelFields, v as Diagonal } from "./index-CEZL83xU.js";
|
|
3
3
|
import { a7 as resolveDiagonalVertex, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, createBlock, createCommentVNode } from "vue";
|
|
2
|
-
import {
|
|
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-
|
|
2
|
+
import { b as FormItem } from "./index-CEZL83xU.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-BwRLaCG5.js";
|
|
4
4
|
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
5
|
-
import { D as DecimalDisplayMode } from "./decimal-display-mode-
|
|
5
|
+
import { D as DecimalDisplayMode } from "./decimal-display-mode-Dn9bwwNQ.js";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "double-props",
|
|
8
8
|
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-Dd-jNA4z.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "double-style",
|
|
5
5
|
props: {
|
|
@@ -4971,19 +4971,24 @@ const DocumentPaper = /* @__PURE__ */ defineComponent({
|
|
|
4971
4971
|
quickFill
|
|
4972
4972
|
} = table;
|
|
4973
4973
|
const {
|
|
4974
|
-
r:
|
|
4975
|
-
t:
|
|
4974
|
+
r: rightNo,
|
|
4975
|
+
t: topNo
|
|
4976
4976
|
} = range;
|
|
4977
|
-
const
|
|
4978
|
-
const
|
|
4979
|
-
const
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
|
|
4977
|
+
const firstTrId = widgetCenter[ComponentTypeEnum.PAPER].nextIds[topNo - 1];
|
|
4978
|
+
const lastTdId_inFirstTr = widgetCenter[firstTrId].nextIds[rightNo - 1];
|
|
4979
|
+
const columns = Object.values(widgetCenter[ComponentTypeEnum.PAPER].props.fixedTableFieldMap || {}).filter((o) => o.fieldMeta?.subFieldKey === subFieldKey).map((o) => {
|
|
4980
|
+
const {
|
|
4981
|
+
fieldMeta,
|
|
4982
|
+
fieldWidget
|
|
4983
|
+
} = o;
|
|
4984
|
+
return {
|
|
4985
|
+
prop: fieldMeta.field,
|
|
4986
|
+
fieldType: fieldMeta.fieldType,
|
|
4987
|
+
newOptions: fieldWidget.options
|
|
4988
|
+
};
|
|
4989
|
+
});
|
|
4985
4990
|
const columnKeys = columns.map((c) => c.prop);
|
|
4986
|
-
map[
|
|
4991
|
+
map[lastTdId_inFirstTr] = {
|
|
4987
4992
|
subFieldKey,
|
|
4988
4993
|
subModelKey,
|
|
4989
4994
|
range,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createVNode, unref, normalizeStyle, withCtx, Fragment, renderList, createBlock } from "vue";
|
|
2
|
-
import { C as CellWidgetRenderComp, S as SelectEx, a as CellWidgetDesign } from "./index-
|
|
2
|
+
import { C as CellWidgetRenderComp, S as SelectEx, a as CellWidgetDesign } from "./index-CEZL83xU.js";
|
|
3
3
|
import { F as FIELD_TYPE, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-A4vSXZDM.js";
|
|
4
4
|
import { isNil } from "lodash-es";
|
|
5
5
|
const _hoisted_1 = {
|
|
@@ -73,7 +73,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
73
73
|
"option-gap": optionGap.value,
|
|
74
74
|
style: normalizeStyle(styleVars.value),
|
|
75
75
|
size: "small",
|
|
76
|
-
placeholder: __props.fieldWidget.placeholder
|
|
76
|
+
placeholder: __props.fieldWidget.placeholder ?? _ctx.$t("sys.chooseText")
|
|
77
77
|
}, {
|
|
78
78
|
suffix: withCtx(({ option }) => [
|
|
79
79
|
!!getOptionMeta(option.value)?.attachFields ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(getOptionMeta(option.value).attachFields, (field) => {
|
|
@@ -91,7 +91,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
93
|
});
|
|
94
|
-
const enumDesign = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
94
|
+
const enumDesign = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c1932c21"]]);
|
|
95
95
|
export {
|
|
96
96
|
enumDesign as default
|
|
97
97
|
};
|