@gct-paas/excel 0.1.20 → 0.1.21

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 (150) hide show
  1. package/dist/{VueVideoPlayer-DePpm38H.js → VueVideoPlayer-Bf0x69CJ.js} +2 -2
  2. package/dist/{agg-design-hreKYp5a.js → agg-design-CLSOm6QJ.js} +1 -1
  3. package/dist/{agg-props-CCDh2o6E.js → agg-props-4nnDqWtf.js} +1 -1
  4. package/dist/{agg-style-Bh8vdJvs.js → agg-style-FHSkeH5u.js} +1 -1
  5. package/dist/{align-editor-DpDuDOMr.js → align-editor-Bf391dfO.js} +1 -1
  6. package/dist/{attach-fields-editor-BeGxW6de.js → attach-fields-editor-U0Vg4ar8.js} +3 -2
  7. package/dist/{barcode-design-CFVTZNAy.js → barcode-design-XLuURxqD.js} +2 -2
  8. package/dist/base/index.es.js +352 -177
  9. package/dist/{base-font-editor-laOkjBe1.js → base-font-editor-adnb7ShQ.js} +3 -2
  10. package/dist/{boolean-design-DIlM9Nrt.js → boolean-design-Bk3jIc2m.js} +2 -2
  11. package/dist/{boolean-props-CGuFs72-.js → boolean-props-D1C7P7oX.js} +3 -3
  12. package/dist/{boolean-style-BUz6sBUN.js → boolean-style-CWmep9-Y.js} +4 -4
  13. package/dist/{cell-upload-Dw3t7ZKJ.js → cell-upload-wzPF8ovv.js} +3 -2
  14. package/dist/{date-range-editor-rXaru-8n.js → date-range-editor-CGCLkDFp.js} +3 -2
  15. package/dist/{date-time-design-HfjWK3SA.js → date-time-design-CG6fhsBd.js} +1 -1
  16. package/dist/{date-time-props-C_cG-6wI.js → date-time-props-DGa4XIFD.js} +3 -3
  17. package/dist/{date-time-style-BeCDP5TE.js → date-time-style-C5xs_HQX.js} +1 -1
  18. package/dist/{decimal-design-DzLpjX9N.js → decimal-design-Dg2PWB7J.js} +1 -1
  19. package/dist/{decimal-display-mode-BhD1cOOe.js → decimal-display-mode-B5nxWZnK.js} +2 -2
  20. package/dist/{decimal-props-C6f22071.js → decimal-props-BUduwEu5.js} +4 -4
  21. package/dist/{decimal-style-XN3rLM2j.js → decimal-style-CW6QyMh0.js} +1 -1
  22. package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-CJC4kBNh.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-BlQSjkvP.js} +3 -2
  23. package/dist/{diagonal-design-Dh0qhgSq.js → diagonal-design-xlveiCza.js} +2 -2
  24. package/dist/{double-design-XHHlqmEp.js → double-design-Dkzgoo0g.js} +1 -1
  25. package/dist/{double-props-Cvi36aBN.js → double-props-DwI5z-Mz.js} +4 -4
  26. package/dist/{double-style-Dkoth54S.js → double-style-B09n2Oup.js} +1 -1
  27. package/dist/{dynamic-table-action-mGrBO_bn.js → dynamic-table-action-KwzaoPBC.js} +32 -2
  28. package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.js} +224 -310
  29. package/dist/{edit.utils-CXmmCnxE-DeDBtyJd.js → edit.utils-CXmmCnxE-Do4weQUL.js} +1 -1
  30. package/dist/{enum-design-CAOAFdI6.js → enum-design-D_hYB8q2.js} +2 -2
  31. package/dist/{enum-props-CBN-AvBS.js → enum-props-SHpVl7is.js} +4 -4
  32. package/dist/{enum-style-cOiK44Ae.js → enum-style-zTZKj6Li.js} +3 -3
  33. package/dist/excel.css +9556 -10003
  34. package/dist/{exceljs.min-pnja99MZ.js → exceljs.min-Dy4OavkS.js} +2 -2
  35. package/dist/{expression-design-CqgcK8eO.js → expression-design-DH37JCnd.js} +1 -1
  36. package/dist/{expression-props-wXQOIrMY.js → expression-props-D4aZ2FzY.js} +1 -1
  37. package/dist/{expression-style-BzavnOux.js → expression-style-Bj0tEmqJ.js} +1 -1
  38. package/dist/{file-design-BSQknhnY.js → file-design-hV82bwcT.js} +1 -1
  39. package/dist/{file-props-CwiuBVHW.js → file-props-BR0xOn8f.js} +2 -2
  40. package/dist/{file-style-CG4a3THb.js → file-style-CPXRGFCR.js} +1 -1
  41. package/dist/{font-editor--CgwL-wF.js → font-editor-QrOFLcNA.js} +3 -3
  42. package/dist/{image-design-D1D0SN5W.js → image-design-B3FASJvR.js} +2 -2
  43. package/dist/{image-design-CwPjfDxf.js → image-design-WqYFe8Hz.js} +2 -2
  44. package/dist/{image-props-C4E9gMsG.js → image-props-DZ0lHvNN.js} +1 -1
  45. package/dist/{image-style-CIb1mi13.js → image-style-D3jSU46p.js} +1 -1
  46. package/dist/{index-CcmNFTia.js → index-4aWfyi4S.js} +2 -2
  47. package/dist/{index-B2ZNkbGm.js → index-B2JfWmQ5.js} +1 -1
  48. package/dist/{index-CIl6oWcB.js → index-BCRANZ6N.js} +1 -1
  49. package/dist/index-BYFfjfXo.js +4198 -0
  50. package/dist/{index-ZrNXSw4w.js → index-BYnhPyxm.js} +1 -1
  51. package/dist/{index-DOj318_B.js → index-B_bGf5j3.js} +2 -2
  52. package/dist/{index-BneV2tbp.js → index-BgJenclY.js} +1 -1
  53. package/dist/{index-ByTKu8n6.js → index-BocrGDq2.js} +1 -1
  54. package/dist/{index-CeMBvNee.js → index-BpacgAuY.js} +1 -1
  55. package/dist/{index-BJYSmTeW.js → index-C9uva5U9.js} +1 -1
  56. package/dist/{index-DLoQlQk6.js → index-CAp9OIUg.js} +2 -2
  57. package/dist/{index-Drf0Arr4.js → index-CVsM5Bam.js} +1 -1
  58. package/dist/{index-D9tUJAeF.js → index-Cblyq6yH.js} +1 -1
  59. package/dist/{index-B2tFXR--.js → index-ChFaMPeg.js} +2 -2
  60. package/dist/{index-A2MbCZtS.js → index-Cqh9EW_d.js} +1 -1
  61. package/dist/{index-D0n65ya-.js → index-CquVE9ii.js} +1 -1
  62. package/dist/{index-BG_CEaW0.js → index-CsLZerBY.js} +41133 -3488
  63. package/dist/{index-PWmkKVZV.js → index-D8uy8whi.js} +1 -1
  64. package/dist/{index-0mxMA4vZ.js → index-DKR79OBc.js} +1 -1
  65. package/dist/{index-BKoXo3Ha.js → index-DNHA-joo.js} +1 -1
  66. package/dist/{index-Hg59RKKE.js → index-DU3SF4eg.js} +1 -1
  67. package/dist/{index-B7DDYlzm.js → index-DVaUctcz.js} +1 -1
  68. package/dist/{index-D0XkCn_x.js → index-DegtNz07.js} +1 -1
  69. package/dist/{index-Cgka0WmQ.js → index-DpFPYL8b.js} +1 -1
  70. package/dist/{index-Dl2FIifp.js → index-Dvp79b5b.js} +1 -1
  71. package/dist/{index-PMDIMwwL.js → index-DxgKf-wy.js} +1 -1
  72. package/dist/{index-CGSTq7zN.js → index-Jz0_ApK0.js} +1 -1
  73. package/dist/{index-UUDS4nmS.js → index-Ol6_R1tg.js} +1 -1
  74. package/dist/{index-BAlLZmfu.js → index-RY064UmV.js} +1 -1
  75. package/dist/{index-BSHUFede.js → index-dECIkP6q.js} +1 -1
  76. package/dist/{index-HHF5iK-6.js → index-iGA3l7nd.js} +1 -1
  77. package/dist/{index-CKqLoN9r.js → index-pMF19I7H.js} +1 -1
  78. package/dist/{index-Bi4hE4Ye.js → index-wmbtcxzT.js} +2 -2
  79. package/dist/index.es.js +45 -45
  80. package/dist/{integer-design-Cy9c0fzI.js → integer-design-_-oIGMZi.js} +1 -1
  81. package/dist/{integer-props-DFDOIb2a.js → integer-props-CbhqGTWT.js} +5 -4
  82. package/dist/{integer-style-CfIX5ReH.js → integer-style-CRDDq2e1.js} +1 -1
  83. package/dist/{mb-render-D_uumPQr.js → mb-render-Bh6EegbE.js} +1 -30
  84. package/dist/{number-input-ex-CWci0pCj.js → number-input-ex-n0MRaA8Z.js} +2 -1
  85. package/dist/{org-props-B5dk289u.js → org-props-B_ED1XJd.js} +2 -2
  86. package/dist/{org-style-BoSDPuw9.js → org-style-P7mL2u1-.js} +1 -1
  87. package/dist/{pagination-design-Ci4wxUIk.js → pagination-design-CC2ZvE5K.js} +2 -2
  88. package/dist/paper-widget-design-CvvM0OZ2.js +4 -0
  89. package/dist/{qrcode-design-CJ9R5DIn.js → qrcode-design-C_G8R7Lo.js} +1 -1
  90. package/dist/{ref-autofill-editor-B4KDvHhR.js → ref-autofill-editor-DdUMjliQ.js} +2 -3
  91. package/dist/{ref-props-CwDGepT3.js → ref-props-CCwA0E2w.js} +3 -3
  92. package/dist/{ref-style-B35CsOQO.js → ref-style-C3Qy3L2V.js} +1 -1
  93. package/dist/{regex-editor-CIVvr_Lx.js → regex-editor-CswiNY9l.js} +3 -2
  94. package/dist/{revo-grid.entry-DeWzC35s.js → revo-grid.entry-fhJrZlXs.js} +1 -1
  95. package/dist/{revogr-attribution_7.entry-BJZ-twfj.js → revogr-attribution_7.entry-BxX5Aax7.js} +3 -3
  96. package/dist/{revogr-clipboard_3.entry-DkgRA8qw.js → revogr-clipboard_3.entry-B84Mg6_S.js} +2 -2
  97. package/dist/{revogr-data_4.entry-BZLzvcbo.js → revogr-data_4.entry-BSSMKH9X.js} +2 -2
  98. package/dist/{revogr-filter-panel.entry-zGvhshno.js → revogr-filter-panel.entry-xjYp1Z8c.js} +1 -1
  99. package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-Asn5-ZRz.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-JwULnnUe.js} +2 -2
  100. package/dist/{serialnumber-design-CYFU5TVt.js → serialnumber-design-qdEzFAi4.js} +1 -1
  101. package/dist/shared/index.es.js +26 -27
  102. package/dist/{signature-design-Cwi0cZOI.js → signature-design-DyLTKEwS.js} +1 -1
  103. package/dist/{signature-props-cQRB8U8x.js → signature-props-CXwqrh0H.js} +3 -3
  104. package/dist/{signature-style-C90NsLxg.js → signature-style-ibNQSAPQ.js} +1 -1
  105. package/dist/{single-field-drop-BFhQs-3z.js → single-field-drop-BSdWy-C4.js} +3 -2
  106. package/dist/{size-editor-Dx3y_otg.js → size-editor-8C1AxONY.js} +1 -1
  107. package/dist/src/nocode-base/src/hooks/annotation/form-annotation-controller.d.ts +14 -148
  108. package/dist/src/nocode-base/src/hooks/annotation/index.d.ts +0 -1
  109. package/dist/src/nocode-web-render/src/index.d.ts +0 -1
  110. package/dist/src/online-form/src/views/designer/modules/panel/panel-data-init-config/common/data-source-title.vue.d.ts +2 -2
  111. package/dist/src/shared/components/Signature/ui/sign-editor.vue.d.ts +2 -2
  112. package/dist/src/shared/components/version-select/version-select.vue.d.ts +2 -2
  113. package/dist/{text-design-TEheiKQx.js → text-design-BzDtceUO.js} +2 -2
  114. package/dist/{text-design-jMPxIgZW.js → text-design-Di-2lpQC.js} +2 -2
  115. package/dist/{text-props-CrkSvg6D.js → text-props-YXtd9DCt.js} +5 -5
  116. package/dist/{text-style-DmwTt8KQ.js → text-style-BtclwHUQ.js} +1 -1
  117. package/dist/{throttle-Cpk1LoGk-DTkhEkFR.js → throttle-Cpk1LoGk-BFMM5iqm.js} +1 -1
  118. package/dist/{timediff-design-D_if-K1S.js → timediff-design-DPDNHC4C.js} +1 -1
  119. package/dist/{trace-design-oN7pgtab.js → trace-design-B2tffMF2.js} +2 -2
  120. package/dist/{trace-props-BFnUk6kv.js → trace-props-CWTXFYZ9.js} +6 -6
  121. package/dist/{trace-style-TNnFcvfw.js → trace-style-AmSVnHXF.js} +1 -1
  122. package/dist/use-namespace-qtLS8nEh.js +88 -0
  123. package/dist/{user-props-Ce-ilCmU.js → user-props-hR1saiG7.js} +2 -2
  124. package/dist/{user-style-4rp0jKYP.js → user-style-BsMfhFHo.js} +1 -1
  125. package/dist/{value-editor.vue_vue_type_style_index_0_lang-DMuR0u4j.js → value-editor.vue_vue_type_style_index_0_lang-zAPZ-2E_.js} +2 -2
  126. package/dist/{version-select-DSFIlYgX.js → version-select-CeQP0Bne.js} +1041 -4
  127. package/dist/web-render/index.es.js +12 -955
  128. package/dist/{widget-barcode-Du7LOaiy.js → widget-barcode-DPdsvAF5.js} +4 -4
  129. package/dist/{widget-diagonal-D-q7WK6T.js → widget-diagonal-BfjZGony.js} +4 -3
  130. package/dist/{widget-image-Da5mvgMm.js → widget-image-D_E_0ZEd.js} +5 -5
  131. package/dist/{widget-line-oIFH8P04.js → widget-line-SDiSxrzr.js} +2 -2
  132. package/dist/{widget-pagination-CSonelt_.js → widget-pagination-DdIoe9Yy.js} +5 -5
  133. package/dist/{widget-power-CWczWA7K.js → widget-power-hifeC3T0.js} +4 -3
  134. package/dist/{widget-qrcode-MQ-cSphb.js → widget-qrcode-DBEsM1iE.js} +3 -3
  135. package/dist/{widget-rangelimit-CFDeRJIf.js → widget-rangelimit-clQ84tvq.js} +4 -3
  136. package/dist/{widget-serialnumber-DlE2-jvp.js → widget-serialnumber-BXvzHCYR.js} +1 -1
  137. package/dist/{widget-text-B1SnpOGN.js → widget-text-CPojsb_9.js} +5 -5
  138. package/dist/{widget-timediff-DeyJbqRE.js → widget-timediff-DGBZsme_.js} +2 -2
  139. package/package.json +1 -1
  140. package/dist/AntdIcon-C3RMq2zm.js +0 -1040
  141. package/dist/form-annotation-controller-DDDyHAwe.js +0 -707
  142. package/dist/index-CWpratsK.js +0 -41850
  143. package/dist/paper-widget-design-BilYU9rh.js +0 -4
  144. package/dist/src/nocode-base/src/hooks/annotation/types.d.ts +0 -16
  145. package/dist/src/nocode-web-render/src/annotation/form-abandon-medpro-modal.vue.d.ts +0 -15
  146. package/dist/src/nocode-web-render/src/annotation/form-abandon-modal.vue.d.ts +0 -15
  147. package/dist/src/nocode-web-render/src/annotation/form-abandon-v2-modal.vue.d.ts +0 -11
  148. package/dist/src/nocode-web-render/src/annotation/index.d.ts +0 -2
  149. package/dist/src/nocode-web-render/src/annotation/submit-form-change-modal.vue.d.ts +0 -104
  150. package/dist/src/nocode-web-render/src/annotation/use-annotation.d.ts +0 -37
@@ -1,6 +1,7 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
2
- import { G as useNamespace, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
3
- import { b as useDrop, T as TransferType, u as useModelFields, c as getFieldIcon, r as SingleDrop } from "./index-BG_CEaW0.js";
2
+ import { a as useNamespace } from "./use-namespace-qtLS8nEh.js";
3
+ import { b as useDrop, T as TransferType, u as useModelFields, d as getFieldIcon, w as SingleDrop } from "./index-CsLZerBY.js";
4
+ import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.js";
4
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
6
  __name: "single-field-drop",
6
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-OPdk2I5p.js";
2
+ import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.js";
3
3
  const _hoisted_1 = { class: "row" };
4
4
  const _hoisted_2 = { class: "row mt-6px" };
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,67 +1,30 @@
1
1
  import { Ref } from 'vue';
2
2
  import { OnlineFormChangeHistoryResponse, OnlineFormInstanceResponse } from '@gct-paas/api/apaas';
3
3
  import { IBasicInfoItem } from '../../types';
4
- import { BuiltinAction } from './types';
5
4
  export interface IFormAnnotationControllerConstructParams {
6
5
  /** 在线表单实例详情 */
7
6
  formIns: Ref<OnlineFormInstanceResponse>;
8
7
  /** 当前页面基础信息 */
9
8
  basicIns: Ref<IBasicInfoItem | undefined>;
10
- /** 是否需要作废按钮 */
11
- needAbandonBtn: boolean;
12
9
  /** 页面操作对象 */
13
10
  formRef: any;
14
11
  /** 参数扩展属性 */
15
12
  paramExtraProps: any;
16
- /** 数据采集信息 */
17
- dataCollectionInfo: any;
18
- /** 按钮点击事件 */
19
- onBtnClick: (btn: any) => void;
20
13
  /** 批注显隐事件 */
21
14
  onVisibleChange: (visible: boolean) => void;
22
- /**验证表单是否可以编辑 */
23
- checkedEditFormByUser?: () => Promise<void>;
24
15
  }
25
16
  /**
26
- * 表单作废批注等公用逻辑处理
27
- * @export
28
- * @class FormAnnotationController
17
+ * 表单批注高亮 / 显隐(引擎侧)
18
+ * 作废、变更、MedPro、按钮权限、审批历史等业务逻辑在套件侧。
29
19
  */
30
20
  export declare abstract class FormAnnotationController implements IFormAnnotationControllerConstructParams {
31
21
  formIns: Ref<OnlineFormInstanceResponse>;
32
22
  basicIns: Ref<any>;
33
- needAbandonBtn: boolean;
34
23
  formRef: any;
35
24
  paramExtraProps: any;
36
- dataCollectionInfo: any;
37
- onBtnClick: (btn: any) => void;
38
25
  onVisibleChange: (visible: boolean) => void;
39
- checkedEditFormByUser?: (() => Promise<void>) | undefined;
40
- /**
41
- * 构造函数必须在setup里使用
42
- * @param params
43
- */
44
26
  constructor(params: IFormAnnotationControllerConstructParams);
45
- /** 内置按钮权限控制 */
46
- roleBuiltinBtnPermission: Ref<{
47
- Annotate: boolean;
48
- Cancel: boolean;
49
- Update: boolean;
50
- _gct_summary_approve_type_: string;
51
- }, {
52
- Annotate: boolean;
53
- Cancel: boolean;
54
- Update: boolean;
55
- _gct_summary_approve_type_: string;
56
- } | {
57
- Annotate: boolean;
58
- Cancel: boolean;
59
- Update: boolean;
60
- _gct_summary_approve_type_: string;
61
- }>;
62
- /** 当前登录的用户名 */
63
- userName: string;
64
- /** 正在标注 */
27
+ /** 批注显隐 */
65
28
  showAnnotation: Ref<boolean, boolean>;
66
29
  /** 所有的父级批注数据 */
67
30
  annotationList: Ref<{
@@ -135,122 +98,25 @@ export declare abstract class FormAnnotationController implements IFormAnnotatio
135
98
  rowViewHistoryId: Ref<string | undefined, string | undefined>;
136
99
  /** 是否已经加载过批注数据 */
137
100
  hasLoadedHistory: Ref<boolean, boolean>;
138
- /** 正在进行表单变更 */
139
- formChanging: Ref<boolean, boolean>;
140
- /** 表单变更原因 */
141
- formChangeReason: Ref<string | undefined, string | undefined>;
142
- /** 选中单元格的位置 */
101
+ /** 选中单元格 */
143
102
  selectedCell: Ref<string | string[] | undefined, string | string[] | undefined>;
144
- /** 单据名称 */
145
- docName: import('vue').ComputedRef<string>;
146
- /** 表单是否是结束状态 */
147
- isFormEnded: import('vue').ComputedRef<boolean>;
148
- /** 表单是否是废弃状态 */
149
- isFormDeprecated: import('vue').ComputedRef<boolean>;
150
- /** 表单是否是变更审核中状态 */
151
- isFormInAudit: import('vue').ComputedRef<boolean>;
152
- /** 表单是否是未填报、暂存、进行中的状态 */
153
- isFormUnfilled: import('vue').ComputedRef<boolean>;
154
- /** 显示内置按钮 */
155
- showButtonKeys: import('vue').ComputedRef<string[]>;
103
+ /** 是否就绪 */
104
+ ready: import('vue').ComputedRef<any>;
156
105
  /**
157
- * 获取后台接口的参数
106
+ * 弹出提示警告信息
158
107
  */
159
- getBackendParams: () => Promise<{
160
- data: any;
161
- ofInstId: string;
162
- taskId: string | undefined;
163
- }>;
164
- getExConfig(): {
165
- transferToConfig: {
166
- headers: {
167
- 'Trace-Id': any;
168
- };
169
- };
170
- };
171
- normalizeApprovalResponse: (res: any) => any;
108
+ /**
109
+ * 加载批注历史(默认全量;套件可 override 为审批历史等)
110
+ */
111
+ loadAnnotationHistory: () => Promise<any>;
172
112
  normalizeAllResponse: (res: any) => any;
173
113
  applyAnnotationItems: (items: any[], callback: any) => void;
114
+ /**
115
+ * 按场景裁剪批注列表(套件可 override:审批处理页/详情页)
116
+ */
174
117
  scopeAnnotationItems(items: any[]): any[];
175
118
  toggleFormChangeRowView: (historyId?: string) => Promise<void>;
176
- /** 加载审批的批注信息 */
177
- fetchApprovalFormChangeHistory: () => Promise<any>;
178
- /** 加载所有批注信息 */
179
119
  fetchAllFormChangeHistory: () => Promise<any>;
180
- /** 开启批注 */
181
120
  handleOpenAnnotation: () => Promise<void>;
182
- /** 关闭批注 */
183
121
  handleCloseAnnotation: () => Promise<void>;
184
- ready: import('vue').ComputedRef<any>;
185
- /**
186
- * 弹出提示警告信息
187
- */
188
- abstract warn(message: string): any;
189
- /** 弹出提示信息 */
190
- abstract info(message: string): any;
191
- /** 弹出成功提示信息 */
192
- abstract success(message: string): any;
193
- /** 确认提示 */
194
- abstract confirm(opts: {
195
- title: any;
196
- onOk: any;
197
- onCancel: any;
198
- }): any;
199
- /** 打开表单废弃操作弹窗V2版本 */
200
- abstract openFormAbandonV2Modal(opts?: {
201
- isFormChange?: boolean;
202
- }): Promise<{
203
- reason: any;
204
- applicant: any;
205
- reviewer: any;
206
- approveTmplId: any;
207
- } | void>;
208
- /** 打开表单废弃操作弹窗 */
209
- abstract openFormAbandonModal(): Promise<{
210
- reason: any;
211
- applicant: any;
212
- reviewer: any;
213
- } | void>;
214
- /**
215
- *medPro 专门表单变更
216
- *
217
- * @abstract
218
- * @type {(Promise<{ reason; applicant; reviewer } | void>)}
219
- * @memberof FormAnnotationController
220
- */
221
- abstract openFormAbandonMedProModal(): Promise<{
222
- reason: any;
223
- applicant: any;
224
- reviewer: any;
225
- } | void>;
226
- /**
227
- * 点击表单废弃后续逻辑
228
- */
229
- doFormAbandon: () => Promise<void>;
230
- /**
231
- * 点击重新提交后续逻辑
232
- */
233
- doFormResubmit: () => Promise<void>;
234
- /**
235
- * 点击表单变更后续逻辑
236
- */
237
- doFormChange: () => Promise<void>;
238
- /**
239
- * 提交表单变更
240
- */
241
- submitFormChange: () => Promise<void>;
242
- /**
243
- * medpro表单提交变更
244
- */
245
- doMedProSubmitFormChange: () => Promise<void>;
246
- /**
247
- * medpro表单废弃
248
- */
249
- doMedproFormAbandon: () => Promise<void>;
250
- /** 处理内置按钮 */
251
- handleBuiltAction: (action: BuiltinAction) => Promise<void>;
252
- /**
253
- * 实例变化时候需要初始化状态
254
- */
255
- initState: () => void;
256
122
  }
@@ -1,4 +1,3 @@
1
1
  export * from './form-annotation-controller';
2
2
  export * from './form-change-row';
3
3
  export * from './collect-annotation-items';
4
- export * from './types';
@@ -1,7 +1,6 @@
1
1
  export * from './hooks';
2
2
  export * from './logic';
3
3
  export type * from './types';
4
- export * from './annotation';
5
4
  export * from './adapter';
6
5
  export * from './render';
7
6
  export * from './render/sub-table/stocktake';
@@ -8,12 +8,12 @@ type __VLS_Props = {
8
8
  activeKeys: string[];
9
9
  };
10
10
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
11
- "update:items": (items: IFieldMapItem[] | undefined) => any;
12
11
  "on-delete": () => any;
12
+ "update:items": (items: IFieldMapItem[] | undefined) => any;
13
13
  "update:activeKeys": (activeKeys: string[]) => any;
14
14
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
15
- "onUpdate:items"?: ((items: IFieldMapItem[] | undefined) => any) | undefined;
16
15
  "onOn-delete"?: (() => any) | undefined;
16
+ "onUpdate:items"?: ((items: IFieldMapItem[] | undefined) => any) | undefined;
17
17
  "onUpdate:activeKeys"?: ((activeKeys: string[]) => any) | undefined;
18
18
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
19
19
  export default _default;
@@ -13,13 +13,13 @@ type __VLS_Props = {
13
13
  };
14
14
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
15
15
  add: (val: SignInfo) => any;
16
- remove: (val: SignInfo) => any;
17
16
  "update:value": (value: SignInfo | undefined) => any;
17
+ remove: (val: SignInfo) => any;
18
18
  "update:items": (items: SignInfo[] | undefined) => any;
19
19
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
20
20
  onAdd?: ((val: SignInfo) => any) | undefined;
21
- onRemove?: ((val: SignInfo) => any) | undefined;
22
21
  "onUpdate:value"?: ((value: SignInfo | undefined) => any) | undefined;
22
+ onRemove?: ((val: SignInfo) => any) | undefined;
23
23
  "onUpdate:items"?: ((items: SignInfo[] | undefined) => any) | undefined;
24
24
  }>, {
25
25
  readonly: boolean;
@@ -19,11 +19,11 @@ type __VLS_Props = {
19
19
  showDefaultTag?: boolean;
20
20
  };
21
21
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
22
- "update:value": (value?: string | string[] | undefined) => any;
23
22
  select: (value?: IData | IData[] | undefined) => any;
23
+ "update:value": (value?: string | string[] | undefined) => any;
24
24
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
25
- "onUpdate:value"?: ((value?: string | string[] | undefined) => any) | undefined;
26
25
  onSelect?: ((value?: IData | IData[] | undefined) => any) | undefined;
26
+ "onUpdate:value"?: ((value?: string | string[] | undefined) => any) | undefined;
27
27
  }>, {
28
28
  value: string | string[];
29
29
  multiple: boolean;
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, createCommentVNode, createElementVNode, toDisplayString } from "vue";
2
2
  import { pick } from "lodash-es";
3
- import { m as PaperWidgeValueType, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
3
+ import { m as PaperWidgeValueType, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.js";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { f as useSpreadSheet, u as useModelFields } from "./index-BG_CEaW0.js";
6
+ import { h as useSpreadSheet, u as useModelFields } from "./index-CsLZerBY.js";
7
7
  const _hoisted_1 = { class: "ws-pre-wrap" };
8
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  __name: "text-design",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, resolveComponent, openBlock, createElementBlock, unref, createBlock } from "vue";
2
- import { C as CellWidgetRenderComp } from "./index-BG_CEaW0.js";
3
- import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
2
+ import { C as CellWidgetRenderComp } from "./index-CsLZerBY.js";
3
+ import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "text-design",
6
6
  props: {
@@ -1,10 +1,10 @@
1
1
  import { defineComponent, ref, onUnmounted, resolveComponent, openBlock, createElementBlock, createVNode, h, computed, onMounted, createBlock, mergeProps, unref, withCtx, Fragment, createCommentVNode, createTextVNode, toDisplayString } from "vue";
2
- import { F as FormItem, C as CellWidgetRenderComp } from "./index-BG_CEaW0.js";
3
- import { N as NumberRange, R as RegexEditor } from "./regex-editor-CIVvr_Lx.js";
4
- import { i as api, F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
5
- import { s as useIntersectionObserver, t as cacheAdapter } from "./index-CWpratsK.js";
2
+ import { F as FormItem, C as CellWidgetRenderComp } from "./index-CsLZerBY.js";
3
+ import { N as NumberRange, R as RegexEditor } from "./regex-editor-CswiNY9l.js";
4
+ import { i as api, F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.js";
5
+ import { j as useIntersectionObserver, k as cacheAdapter } from "./index-BYFfjfXo.js";
6
6
  import { debounce } from "lodash-es";
7
- import { w as watchDebounced } from "./mb-render-D_uumPQr.js";
7
+ import { w as watchDebounced } from "./mb-render-Bh6EegbE.js";
8
8
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
9
9
  __name: "select-more",
10
10
  emits: ["next"],
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { B as BaseFontEditor } from "./base-font-editor-laOkjBe1.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-adnb7ShQ.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "text-style",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { g as getScrollDimension } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
2
- import { cW as isObject, ck as debounce } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
2
+ import { cU as isObject, ci as debounce } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.js";
3
3
  const initialParams = {
4
4
  contentSize: 0,
5
5
  clientSize: 0,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, openBlock, createElementBlock, toDisplayString, unref } from "vue";
2
- import { T as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
2
+ import { T as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.js";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createBlock, unref } from "vue";
2
2
  import dayjs from "dayjs";
3
- import { F as FIELD_TYPE, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
4
- import { C as CellWidgetRenderComp } from "./index-BG_CEaW0.js";
3
+ import { F as FIELD_TYPE, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.js";
4
+ import { C as CellWidgetRenderComp } from "./index-CsLZerBY.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "trace-design",
7
7
  props: {
@@ -1,13 +1,13 @@
1
1
  import { defineComponent, computed, ref, watch, onMounted, resolveComponent, openBlock, createElementBlock, Fragment, createBlock, withCtx, createVNode, createCommentVNode, createElementVNode, toDisplayString, unref, createTextVNode } from "vue";
2
- import { u as useModelFields, f as useSpreadSheet, h as useReverseModeling, F as FormItem } from "./index-BG_CEaW0.js";
3
- import { D as DateFormatEditor, a as DateRangeEditor } from "./date-range-editor-rXaru-8n.js";
4
- import { D as DisplayFieldsEditor, g as getIsSearchableField, Q as QuickSearchEditor, R as RefAutofillEditor } from "./ref-autofill-editor-B4KDvHhR.js";
5
- import { N as NumberRange, R as RegexEditor } from "./regex-editor-CIVvr_Lx.js";
6
- import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
2
+ import { u as useModelFields, h as useSpreadSheet, i as useReverseModeling, F as FormItem } from "./index-CsLZerBY.js";
3
+ import { D as DateFormatEditor, a as DateRangeEditor } from "./date-range-editor-CGCLkDFp.js";
4
+ import { D as DisplayFieldsEditor, g as getIsSearchableField, Q as QuickSearchEditor, R as RefAutofillEditor } from "./ref-autofill-editor-DdUMjliQ.js";
5
+ import { N as NumberRange, R as RegexEditor } from "./regex-editor-CswiNY9l.js";
6
+ import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.js";
7
7
  import "lodash-es";
8
8
  import "dayjs";
9
9
  import "ant-design-vue";
10
- import { A as AddRuleBtn } from "./index-CWpratsK.js";
10
+ import { A as AddRuleBtn } from "./index-BYFfjfXo.js";
11
11
  const _hoisted_1 = { class: "mt-4px" };
12
12
  const _sfc_main = /* @__PURE__ */ defineComponent({
13
13
  __name: "trace-props",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { B as BaseFontEditor } from "./base-font-editor-laOkjBe1.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-adnb7ShQ.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "trace-style",
5
5
  props: {
@@ -0,0 +1,88 @@
1
+ import { inject } from "vue";
2
+ function useModal(ok) {
3
+ const modal = inject("modal");
4
+ if (modal) {
5
+ if (ok) {
6
+ modal.ok = ok;
7
+ }
8
+ }
9
+ return modal;
10
+ }
11
+ const defaultNamespace = "gct";
12
+ const statePrefix = "is-";
13
+ function _bem(namespace, block, blockSuffix, element, modifier) {
14
+ let cls = `${namespace}-${block}`;
15
+ if (blockSuffix) {
16
+ cls += `-${blockSuffix}`;
17
+ }
18
+ if (element) {
19
+ cls += `__${element}`;
20
+ }
21
+ if (modifier) {
22
+ cls += `--${modifier}`;
23
+ }
24
+ return cls;
25
+ }
26
+ class Namespace {
27
+ constructor(block, namespace) {
28
+ this.block = block;
29
+ this.namespace = namespace || defaultNamespace;
30
+ }
31
+ block;
32
+ namespace;
33
+ b(blockSuffix = "") {
34
+ return _bem(this.namespace, this.block, blockSuffix, "", "");
35
+ }
36
+ e(element) {
37
+ return element ? _bem(this.namespace, this.block, "", element, "") : "";
38
+ }
39
+ m(modifier) {
40
+ return modifier ? _bem(this.namespace, this.block, "", "", modifier) : "";
41
+ }
42
+ be(blockSuffix, element) {
43
+ return blockSuffix && element ? _bem(this.namespace, this.block, blockSuffix, element, "") : "";
44
+ }
45
+ em(element, modifier) {
46
+ return element && modifier ? _bem(this.namespace, this.block, "", element, modifier) : "";
47
+ }
48
+ bm(blockSuffix, modifier) {
49
+ return blockSuffix && modifier ? _bem(this.namespace, this.block, blockSuffix, "", modifier) : "";
50
+ }
51
+ bem(blockSuffix, element, modifier) {
52
+ return blockSuffix && element && modifier ? _bem(this.namespace, this.block, blockSuffix, element, modifier) : "";
53
+ }
54
+ is(name, state) {
55
+ return name && state ? `${statePrefix}${name}` : "";
56
+ }
57
+ cssVar(object) {
58
+ const styles = {};
59
+ for (const key in object) {
60
+ if (object[key]) {
61
+ styles[this.cssVarName(key)] = object[key];
62
+ }
63
+ }
64
+ return styles;
65
+ }
66
+ cssVarBlock(object) {
67
+ const styles = {};
68
+ for (const key in object) {
69
+ if (object[key]) {
70
+ styles[this.cssVarBlockName(key)] = object[key];
71
+ }
72
+ }
73
+ return styles;
74
+ }
75
+ cssVarName(name) {
76
+ return `--${this.namespace}-${name}`;
77
+ }
78
+ cssVarBlockName(name) {
79
+ return `--${this.namespace}-${this.block}-${name}`;
80
+ }
81
+ }
82
+ function useNamespace(block) {
83
+ return new Namespace(block, "gct");
84
+ }
85
+ export {
86
+ useNamespace as a,
87
+ useModal as u
88
+ };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, withCtx, createVNode, unref, createTextVNode, toDisplayString } from "vue";
2
- import { F as FormItem } from "./index-BG_CEaW0.js";
3
- import { aZ as FieldSysVarDefaultValueEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
2
+ import { F as FormItem } from "./index-CsLZerBY.js";
3
+ import { aZ as FieldSysVarDefaultValueEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.js";
4
4
  import "lodash-es";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { B as BaseFontEditor } from "./base-font-editor-laOkjBe1.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-adnb7ShQ.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "user-style",
5
5
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode, unref, createCommentVNode } from "vue";
2
2
  import { pick } from "lodash-es";
3
- import { u as useModelFields, f as useSpreadSheet, b as useDrop, q as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, r as SingleDrop, c as getFieldIcon } from "./index-BG_CEaW0.js";
4
- import { m as PaperWidgeValueType, X as ExpressionModeEnum, Y as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
3
+ import { u as useModelFields, h as useSpreadSheet, b as useDrop, v as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, w as SingleDrop, d as getFieldIcon } from "./index-CsLZerBY.js";
4
+ import { m as PaperWidgeValueType, Q as ExpressionModeEnum, R as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.js";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
7
7
  const _hoisted_1 = { class: "mt-4px" };