@gct-paas/excel 0.1.28-beta.3 → 0.1.28-beta.4

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.
Files changed (91) hide show
  1. package/dist/{agg-design-D315o3oJ.js → agg-design-Bzf3ZZhF.js} +1 -1
  2. package/dist/{agg-style-DEW8WIbh.js → agg-style-Zv_v2UJO.js} +1 -1
  3. package/dist/{attach-fields-editor-DBEnjpW6.js → attach-fields-editor-DXkqkRw1.js} +1 -1
  4. package/dist/{barcode-design-BxIPGg77.js → barcode-design-CSx6gAAf.js} +1 -1
  5. package/dist/base/index.es.js +2 -2
  6. package/dist/{base-font-editor-BIOgl33K.js → base-font-editor-C9cqqGi5.js} +1 -1
  7. package/dist/{boolean-design-DVr4bZEy.js → boolean-design-Dw4DatRy.js} +7 -6
  8. package/dist/{boolean-props-B0KLXvZ-.js → boolean-props-DwIp4Zwq.js} +2 -2
  9. package/dist/{boolean-style-BWeDymiK.js → boolean-style-D0H564L3.js} +3 -3
  10. package/dist/{cell-upload-tjeo9_9I.js → cell-upload-9JWJhPHO.js} +7 -10
  11. package/dist/{date-range-editor-B5llsY67.js → date-range-editor-DWkiA_QD.js} +1 -1
  12. package/dist/{date-time-design-CWvOkXKJ.js → date-time-design-BpS-Do_p.js} +24 -5
  13. package/dist/{date-time-props-C7FP2FQs.js → date-time-props-hqyioMkM.js} +2 -2
  14. package/dist/{date-time-style-DQHbC2kb.js → date-time-style-B_aaS3da.js} +1 -1
  15. package/dist/{decimal-display-mode-C10AmA0U.js → decimal-display-mode-CaKgCz10.js} +1 -1
  16. package/dist/{decimal-props-BeVXHFlV.js → decimal-props-DiLtaPxV.js} +3 -3
  17. package/dist/{decimal-style-BULpIH_X.js → decimal-style-9re81oM7.js} +1 -1
  18. 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-CNJIhHnD.js} +1 -1
  19. package/dist/{diagonal-design-DSo6PIB8.js → diagonal-design-U5XWysqi.js} +1 -1
  20. package/dist/{double-props-DF-V3K7u.js → double-props-Cpaybvo3.js} +3 -3
  21. package/dist/{double-style-B_4ezhut.js → double-style-cBxhJhQX.js} +1 -1
  22. package/dist/{dynamic-table-action-D0tVt9Tj.js → dynamic-table-action-7ukFUpJU.js} +16 -11
  23. package/dist/{enum-design-BNqAmftL.js → enum-design-B67vcgY-.js} +3 -3
  24. package/dist/{enum-props-DqXn69z1.js → enum-props-vXkzHR4Z.js} +67 -46
  25. package/dist/{enum-style-DtXNKCN0.js → enum-style-DmGVd8bC.js} +3 -3
  26. package/dist/excel.css +687 -438
  27. package/dist/{exceljs.min-Bx8KXr3N.js → exceljs.min-MSYDxng4.js} +1 -1
  28. package/dist/{expression-design-Bo0rSi0p.js → expression-design-BRlReq5s.js} +1 -1
  29. package/dist/{expression-style-DzxFGnuv.js → expression-style-qcOgk-rk.js} +1 -1
  30. package/dist/{file-design-CUEsgt3a.js → file-design-Z5ecxQwk.js} +1 -1
  31. package/dist/{file-props-CEZForpH.js → file-props-D8ScpaOl.js} +1 -1
  32. package/dist/{font-editor-DqdFDCMA.js → font-editor-BZKTSTUt.js} +1 -1
  33. package/dist/{image-design-C-qh01eG.js → image-design-DXkjLbSR.js} +1 -1
  34. package/dist/{image-props-BkomuIq9.js → image-props-DoulASx_.js} +1 -1
  35. package/dist/{index-Ds_OyNIQ.js → index-BWCBcNdV.js} +1 -1
  36. package/dist/{index-BrrWWM_T.js → index-CIBFgcGY.js} +1 -1
  37. package/dist/{index-CIkyf2gt.js → index-CbTKJ8Vb.js} +1 -1
  38. package/dist/{index-D24WtcUi.js → index-CkOKxCir.js} +1 -1
  39. package/dist/{index-hjdoa839.js → index-DRk6x0JJ.js} +1 -1
  40. package/dist/{index-BH3C5HAi.js → index-JgFlFQ4I.js} +1478 -1296
  41. package/dist/index.es.js +44 -44
  42. package/dist/{integer-props-S81V11-X.js → integer-props-mbP0KfxR.js} +2 -2
  43. package/dist/{integer-style-DBINUJ8S.js → integer-style-Dj634CGy.js} +1 -1
  44. package/dist/{org-design-DEibx7uD.js → org-design-DWZI8xev.js} +1 -1
  45. package/dist/{org-props-z9vw-QnU.js → org-props-BgHRD1sc.js} +1 -1
  46. package/dist/{org-style-D_mZgP5o.js → org-style-Ce-wyVlF.js} +1 -1
  47. package/dist/{pagination-design-KKOQr4ND.js → pagination-design-2AaEUsW_.js} +1 -1
  48. package/dist/paper-widget-design-BrLma-qH.js +4 -0
  49. package/dist/{qrcode-design-DQPC8D0W.js → qrcode-design-DyvGWhZf.js} +1 -1
  50. package/dist/{ref-autofill-editor-CTk06EvC.js → ref-autofill-editor-CTI8hdiv.js} +80 -48
  51. package/dist/{ref-design-C7LbDVQz.js → ref-design-BQ8o1gKm.js} +1 -1
  52. package/dist/{ref-props-5dv2Le2r.js → ref-props-Cp7j_jms.js} +18 -11
  53. package/dist/{ref-style-C-acf8uU.js → ref-style-B8IL_Liq.js} +1 -1
  54. package/dist/{regex-editor-CPyK1Cph.js → regex-editor-DvkeklNp.js} +93 -66
  55. 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-CbfUBnrw.js} +1 -1
  56. package/dist/{signature-design-96ExeDen.js → signature-design-DHw3-abX.js} +1 -1
  57. package/dist/{signature-props-UjjgQN6D.js → signature-props-DuhWgn75.js} +2 -2
  58. package/dist/{single-field-drop-bvDGoUmH.js → single-field-drop-BL9v1Qs8.js} +1 -1
  59. package/dist/src/online-form/src/views/__cell_widgets__/cell-widget-dependency.vue.d.ts +1 -0
  60. package/dist/src/online-form/src/views/designer/modules/modals/add-dependency-modal/add-dependency-modal.vue.d.ts +5 -1
  61. package/dist/src/online-form/src/views/designer/modules/panel/comps/signature-config/config-modal.vue.d.ts +2 -0
  62. package/dist/src/online-form/src/views/designer/modules/panel/comps/signature-config/field-tree-select.vue.d.ts +1 -0
  63. package/dist/src/online-form/src/views/designer/utils/design-readonly-modal.d.ts +3 -0
  64. package/dist/src/online-form/src/views/inline-cell/use-inline-icon-catalog.d.ts +2 -3
  65. package/dist/src/shared/components/field-transfer/components/field-transfer-modal.vue.d.ts +2 -0
  66. package/dist/src/shared/components/field-transfer/components/modal-wrapper.vue.d.ts +2 -0
  67. package/dist/src/shared/components/field-transfer/useFieldTransfer.d.ts +2 -0
  68. package/dist/{text-design-fTcKH2WP.js → text-design-B3gNBFg1.js} +1 -1
  69. package/dist/{text-design-Cqqg-CXD.js → text-design-BTTZpXWL.js} +4 -4
  70. package/dist/{text-props-DDPGK0FB.js → text-props-C0cys7hK.js} +2 -2
  71. package/dist/{text-style-Dn8so8se.js → text-style-Ebi16KlJ.js} +1 -1
  72. package/dist/{trace-design-C4Hkm65z.js → trace-design-BTM_TXK7.js} +32 -8
  73. package/dist/{trace-props-CYkbFlQV.js → trace-props--7WlopZy.js} +4 -4
  74. package/dist/{trace-style-BID6TsGR.js → trace-style-DtOncSoX.js} +1 -1
  75. package/dist/{user-design-BRIV937X.js → user-design-fMF_h4IG.js} +4 -4
  76. package/dist/{user-props-D7BmNZdA.js → user-props-BN5AUBD6.js} +1 -1
  77. package/dist/{user-style-CpNWTvux.js → user-style-DMtM30Mt.js} +1 -1
  78. package/dist/{value-editor.vue_vue_type_style_index_0_lang-CaN32yJy.js → value-editor.vue_vue_type_style_index_0_lang-ByQlVnL6.js} +1 -1
  79. package/dist/{widget-barcode-B09sq8dD.js → widget-barcode-cQ7U31QM.js} +2 -2
  80. package/dist/{widget-diagonal-CgusUMPW.js → widget-diagonal-Dx0b5_zP.js} +2 -2
  81. package/dist/{widget-image-CGUwduxJ.js → widget-image-YKYe4xWv.js} +1 -1
  82. package/dist/{widget-line-BI3bmN8C.js → widget-line-BRJ-WX96.js} +1 -1
  83. package/dist/{widget-pagination-BcPqeHmZ.js → widget-pagination-B1RkybXu.js} +2 -2
  84. package/dist/{widget-power-BePKBiaW.js → widget-power-CX8Ti_0j.js} +2 -2
  85. package/dist/{widget-qrcode-CXSRWFTw.js → widget-qrcode-BLQcWqEI.js} +2 -2
  86. package/dist/{widget-rangelimit-BnaYlGrt.js → widget-rangelimit-_S-cju39.js} +2 -2
  87. package/dist/{widget-serialnumber-DAnZqp1U.js → widget-serialnumber-DkdIucNK.js} +1 -1
  88. package/dist/{widget-text-NU67Kyw9.js → widget-text-BhMc6TtO.js} +3 -3
  89. package/dist/{widget-timediff-D-ZHmsQn.js → widget-timediff-fowoxFrK.js} +1 -1
  90. package/package.json +1 -1
  91. 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-BH3C5HAi.js";
2
+ import { u as useModelFields } from "./index-JgFlFQ4I.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-BIOgl33K.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-C9cqqGi5.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, b as useDrop, T as TransferType, d as getFieldIcon, M as MultipleDrop, e as FieldConfig } from "./index-BH3C5HAi.js";
4
+ import { u as useModelFields, d as useDrop, T as TransferType, e as getFieldIcon, M as MultipleDrop, f as FieldConfig } from "./index-JgFlFQ4I.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 { h as useSpreadSheet, u as useModelFields, p as loadBwip } from "./index-BH3C5HAi.js";
3
+ import { i as useSpreadSheet, u as useModelFields, s as loadBwip } from "./index-JgFlFQ4I.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";
@@ -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-D0tVt9Tj.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-D0tVt9Tj.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-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 { F as FormItem } from "./index-BH3C5HAi.js";
3
+ import { b as FormItem } from "./index-JgFlFQ4I.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-BH3C5HAi.js";
2
+ import { C as CellWidgetRenderComp, S as SelectEx, a as CellWidgetDesign } from "./index-JgFlFQ4I.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 = 12;
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-e0ffea64"]]);
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 { F as FormItem } from "./index-BH3C5HAi.js";
3
- import { A as AttachFieldEditor } from "./attach-fields-editor-DBEnjpW6.js";
2
+ import { b as FormItem } from "./index-JgFlFQ4I.js";
3
+ import { A as AttachFieldEditor } from "./attach-fields-editor-DXkqkRw1.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, F as FormItem } from "./index-BH3C5HAi.js";
7
- import { B as BaseFontEditor } from "./base-font-editor-BIOgl33K.js";
8
- import { _ as _sfc_main$1, a as _sfc_main$2 } from "./select-render-type-editor.vue_vue_type_script_setup_true_lang-3KADrKOM.js";
6
+ import { C as CellWidgetRenderComp, b as FormItem } from "./index-JgFlFQ4I.js";
7
+ import { B as BaseFontEditor } from "./base-font-editor-C9cqqGi5.js";
8
+ import { _ as _sfc_main$1, a as _sfc_main$2 } from "./select-render-type-editor.vue_vue_type_script_setup_true_lang-CbfUBnrw.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-JgFlFQ4I.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
- createElementVNode("i", {
29
- class: normalizeClass(["iconfont", uploadIcon.value, unref(ns).e("add-icon")])
30
- }, null, 2)
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-b305d870"]]);
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 { F as FormItem, S as SelectEx, f as FormulaEditor } from "./index-BH3C5HAi.js";
2
+ import { b as FormItem, S as SelectEx, h as FormulaEditor } from "./index-JgFlFQ4I.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-JgFlFQ4I.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
- }, null, 8, ["value", "format", "placeholder", "disabled"])) : (openBlock(), createBlock(_component_a_time_picker, {
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
- }, null, 8, ["value", "format", "placeholder", "disabled"]))
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 { F as FormItem } from "./index-BH3C5HAi.js";
3
- import { D as DateFormatEditor, a as DateRangeEditor } from "./date-range-editor-B5llsY67.js";
2
+ import { b as FormItem } from "./index-JgFlFQ4I.js";
3
+ import { D as DateFormatEditor, a as DateRangeEditor } from "./date-range-editor-DWkiA_QD.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-BIOgl33K.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-C9cqqGi5.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 { F as FormItem, S as SelectEx } from "./index-BH3C5HAi.js";
2
+ import { b as FormItem, S as SelectEx } from "./index-JgFlFQ4I.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, h as useSpreadSheet, i as useReverseModeling, F as FormItem } from "./index-BH3C5HAi.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-DRnYs5nP.js";
2
+ import { u as useModelFields, i as useSpreadSheet, j as useReverseModeling, b as FormItem } from "./index-JgFlFQ4I.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-CNJIhHnD.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-C10AmA0U.js";
8
+ import { D as DecimalDisplayMode } from "./decimal-display-mode-CaKgCz10.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-BIOgl33K.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-C9cqqGi5.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 { F as FormItem, S as SelectEx, f as FormulaEditor } from "./index-BH3C5HAi.js";
2
+ import { b as FormItem, S as SelectEx, h as FormulaEditor } from "./index-JgFlFQ4I.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, q as Diagonal } from "./index-BH3C5HAi.js";
2
+ import { u as useModelFields, v as Diagonal } from "./index-JgFlFQ4I.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 { F as FormItem } from "./index-BH3C5HAi.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-DRnYs5nP.js";
2
+ import { b as FormItem } from "./index-JgFlFQ4I.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-CNJIhHnD.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-C10AmA0U.js";
5
+ import { D as DecimalDisplayMode } from "./decimal-display-mode-CaKgCz10.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-BIOgl33K.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-C9cqqGi5.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: colNo,
4975
- t: rowNo
4974
+ r: rightNo,
4975
+ t: topNo
4976
4976
  } = range;
4977
- const trId = widgetCenter[ComponentTypeEnum.PAPER].nextIds[rowNo - 1];
4978
- const tdId = widgetCenter[trId].nextIds[colNo - 1];
4979
- const newOptions = widgetCenter[tdId]?.cellWidget?.props?.newSpecificConfig?.newOptions || [];
4980
- const columns = Object.values(widgetCenter[ComponentTypeEnum.PAPER].props.fixedTableFieldMap || {}).map((o) => o.fieldMeta).filter((m) => m?.subFieldKey === subFieldKey).map((m) => ({
4981
- prop: m.field,
4982
- fieldType: m.fieldType,
4983
- newOptions
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[tdId] = {
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-BH3C5HAi.js";
2
+ import { C as CellWidgetRenderComp, S as SelectEx, a as CellWidgetDesign } from "./index-JgFlFQ4I.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-85fa2f5b"]]);
94
+ const enumDesign = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c1932c21"]]);
95
95
  export {
96
96
  enumDesign as default
97
97
  };