@gct-paas/core-web 0.1.4-dev.16 → 0.1.4-dev.18

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 (101) hide show
  1. package/dist/chunk-lEgNpoW5.js +1 -0
  2. package/dist/cropper-DyP6CFER.js +1 -0
  3. package/dist/{de_DE-CYotlhMS.js → de_DE-DIDpd1gQ.js} +1 -1
  4. package/dist/{en_US-DjLwq3RF.js → en_US-BaP-b1tP.js} +1 -1
  5. package/dist/{es_ES-0UhVFVHw.js → es_ES-NOVlNQnw.js} +1 -1
  6. package/dist/{fr_FR-Xgsbf3iG.js → fr_FR-Bk_x0L7S.js} +1 -1
  7. package/dist/index.min.css +1 -1
  8. package/dist/{ja_JP-3aUbzjBv.js → ja_JP-CeseBQS9.js} +1 -1
  9. package/dist/loader.esm.min.js +1 -1
  10. package/dist/{monaco-editor-CF-NJ0C2.js → monaco-editor-DCEyjUmJ.js} +1 -1
  11. package/dist/{pt_PT-BzMPT58e.js → pt_PT-DFlFmzXZ.js} +1 -1
  12. package/dist/{ru_RU-BRHq1RXx.js → ru_RU-C5XPaRfl.js} +1 -1
  13. package/dist/{tr_TR-CPqM558w.js → tr_TR-CODhj5X1.js} +1 -1
  14. package/dist/useMonacoEditor-kyCCXYcK.js +1 -0
  15. package/dist/{vi_VN-BOKGrWoY.js → vi_VN-BjwID8XV.js} +1 -1
  16. package/dist/{zh_CN-upOsz50m.js → zh_CN-BKmwBYsr.js} +1 -1
  17. package/dist/{zh_TW-jlmatmAz.js → zh_TW-BSGEo2Qx.js} +1 -1
  18. package/es/assets/svg/image-error.svg.mjs +4 -0
  19. package/es/components/BpmnRuntime/index.d.ts +2 -0
  20. package/es/components/BpmnRuntime/index.mjs +1 -0
  21. package/es/components/BpmnRuntime/paas/paas-bpmn-runtime.vue.d.ts +5 -0
  22. package/es/components/BpmnRuntime/paas/paas-bpmn-runtime.vue.mjs +5 -0
  23. package/es/components/BpmnRuntime/paas/paas-bpmn-runtime.vue_vue_type_script_setup_true_lang.mjs +83 -0
  24. package/es/components/I18nSelect/index.d.ts +7 -0
  25. package/es/components/I18nSelect/index.mjs +7 -0
  26. package/es/components/I18nSelect/src/i18n-modal.vue.d.ts +21 -0
  27. package/es/components/I18nSelect/src/i18n-modal.vue.mjs +5 -0
  28. package/es/components/I18nSelect/src/i18n-modal.vue_vue_type_script_setup_true_lang.mjs +128 -0
  29. package/es/components/I18nSelect/src/i18n-select-btn.vue.d.ts +17 -0
  30. package/es/components/I18nSelect/src/i18n-select-btn.vue.mjs +7 -0
  31. package/es/components/I18nSelect/src/i18n-select-btn.vue_vue_type_script_setup_true_name_i18n-select-btn_lang.mjs +116 -0
  32. package/es/components/I18nSelect/src/i18n-select-btn.vue_vue_type_style_index_0_scoped_dc8ffb2c_lang.css +58 -0
  33. package/es/components/I18nSelect/src/i18n-select-container.vue.d.ts +10 -0
  34. package/es/components/I18nSelect/src/i18n-select-container.vue.mjs +7 -0
  35. package/es/components/I18nSelect/src/i18n-select-container.vue_vue_type_script_setup_true_name_i18n-select-container_lang.mjs +218 -0
  36. package/es/components/I18nSelect/src/i18n-select-container.vue_vue_type_style_index_0_scoped_820112ce_lang.css +6 -0
  37. package/es/components/I18nSelect/src/i18n-select-input-form.vue.d.ts +15 -0
  38. package/es/components/I18nSelect/src/i18n-select-input-form.vue.mjs +5 -0
  39. package/es/components/I18nSelect/src/i18n-select-input-form.vue_vue_type_script_setup_true_name_i18n-select-input-form_lang.mjs +56 -0
  40. package/es/components/I18nSelect/src/i18n-select-input.vue.d.ts +51 -0
  41. package/es/components/I18nSelect/src/i18n-select-input.vue.mjs +7 -0
  42. package/es/components/I18nSelect/src/i18n-select-input.vue_vue_type_script_setup_true_name_i18n-select-input_lang.mjs +125 -0
  43. package/es/components/I18nSelect/src/i18n-select-input.vue_vue_type_style_index_0_scoped_64c5221c_lang.css +3 -0
  44. package/es/components/I18nSelect/src/i18n-select-modal.vue.d.ts +4 -0
  45. package/es/components/I18nSelect/src/i18n-select-modal.vue.mjs +5 -0
  46. package/es/components/I18nSelect/src/i18n-select-modal.vue_vue_type_script_setup_true_lang.mjs +20 -0
  47. package/es/components/I18nSelect/src/i18n-select-textarea-form.vue.d.ts +15 -0
  48. package/es/components/I18nSelect/src/i18n-select-textarea-form.vue.mjs +5 -0
  49. package/es/components/I18nSelect/src/i18n-select-textarea-form.vue_vue_type_script_setup_true_name_i18n-select-input-form_lang.mjs +56 -0
  50. package/es/components/I18nSelect/src/i18n-select-textarea.vue.d.ts +26 -0
  51. package/es/components/I18nSelect/src/i18n-select-textarea.vue.mjs +7 -0
  52. package/es/components/I18nSelect/src/i18n-select-textarea.vue_vue_type_script_setup_true_name_i18n-select-input_lang.mjs +86 -0
  53. package/es/components/I18nSelect/src/i18n-select-textarea.vue_vue_type_style_index_0_scoped_cd95c416_lang.css +17 -0
  54. package/es/components/I18nSelect/src/useI18nSelect.d.ts +13 -0
  55. package/es/components/I18nSelect/src/useI18nSelect.mjs +47 -0
  56. package/es/components/UserPick/index.d.ts +2 -6
  57. package/es/components/UserPick/index.mjs +2 -7
  58. package/es/components/UserPick/src/constants/index.d.ts +5 -0
  59. package/es/components/UserPick/src/constants/index.mjs +9 -0
  60. package/es/components/UserPick/src/user-pick.vue.d.ts +1 -1
  61. package/es/components/UserPick/src/user-pick.vue.mjs +2 -2
  62. package/es/components/UserPick/src/user-pick.vue_vue_type_script_setup_true_lang.mjs +5 -5
  63. package/es/components/UserPick/src/{user-pick.vue_vue_type_style_index_0_scoped_081b9663_lang.css → user-pick.vue_vue_type_style_index_0_scoped_a49a84da_lang.css} +11 -11
  64. package/es/components/icon-next/src/IconNext.vue.d.ts +2 -2
  65. package/es/components/icon-next/src/IconNext.vue.mjs +2 -2
  66. package/es/components/icon-next/src/IconNext.vue_vue_type_script_setup_true_name_IconNext_lang.mjs +1 -1
  67. package/es/components/icon-next/src/{IconNext.vue_vue_type_style_index_0_scoped_c5a83130_lang.css → IconNext.vue_vue_type_style_index_0_scoped_360a87c9_lang.css} +3 -3
  68. package/es/components/image-upload/src/components/base-upload.vue.mjs +2 -2
  69. package/es/components/image-upload/src/components/base-upload.vue_vue_type_script_name_baseUpload_setup_true_lang.mjs +4 -4
  70. package/es/components/image-upload/src/components/base-upload.vue_vue_type_style_index_0_scoped_17a11419_lang.css +76 -0
  71. package/es/components/index.d.ts +4 -1
  72. package/es/components/index.mjs +12 -0
  73. package/es/components/paas-bpmn-log/components/approval-node.vue.d.ts +12 -0
  74. package/es/components/paas-bpmn-log/components/approval-node.vue.mjs +7 -0
  75. package/es/components/paas-bpmn-log/components/approval-node.vue_vue_type_script_setup_true_lang.mjs +170 -0
  76. package/es/components/paas-bpmn-log/components/approval-node.vue_vue_type_style_index_0_scoped_a88d7ef9_lang.css +51 -0
  77. package/es/components/paas-bpmn-log/components/user-list.vue.d.ts +6 -0
  78. package/es/components/paas-bpmn-log/components/user-list.vue.mjs +7 -0
  79. package/es/components/paas-bpmn-log/components/user-list.vue_vue_type_script_setup_true_lang.mjs +55 -0
  80. package/es/components/paas-bpmn-log/components/user-list.vue_vue_type_style_index_0_scoped_27aa2bf0_lang.css +10 -0
  81. package/es/components/paas-bpmn-log/hooks/useObserver.d.ts +13 -0
  82. package/es/components/paas-bpmn-log/hooks/useObserver.mjs +46 -0
  83. package/es/components/paas-bpmn-log/hooks/uselog.d.ts +5 -0
  84. package/es/components/paas-bpmn-log/hooks/uselog.mjs +17 -0
  85. package/es/components/paas-bpmn-log/imgs/avatar-default.png.mjs +4 -0
  86. package/es/components/paas-bpmn-log/paas-bpmn-log.vue.d.ts +23 -0
  87. package/es/components/paas-bpmn-log/paas-bpmn-log.vue.mjs +7 -0
  88. package/es/components/paas-bpmn-log/paas-bpmn-log.vue_vue_type_script_setup_true_lang.mjs +245 -0
  89. package/es/components/paas-bpmn-log/paas-bpmn-log.vue_vue_type_style_index_0_scoped_c85122b0_lang.css +54 -0
  90. package/es/index.mjs +16 -6
  91. package/es/modules/Cropper/src/Cropper.vue_vue_type_script_lang.mjs +2 -3
  92. package/es/modules/gct-table/editor/gct-table-date/gct-table-date.mjs +1 -1
  93. package/es/modules/gct-table/editor/gct-table-text/gct-table-text.mjs +1 -1
  94. package/es/modules/global-modal/src/BasicModal.vue.d.ts +2 -2
  95. package/es/modules/global-modal/src/props.mjs +2 -4
  96. package/package.json +5 -4
  97. package/dist/useMonacoEditor-DWGwLehS.js +0 -1
  98. package/es/components/image-upload/src/components/base-upload.vue_vue_type_style_index_0_scoped_3248e630_lang.css +0 -73
  99. package/es/loader.mjs +0 -91
  100. /package/dist/{objectSpread2-BL8YUfIz.js → objectSpread2-Cr8AaZiL.js} +0 -0
  101. /package/es/modules/gct-table/editor/{gct-table-text/gct-table-text.css → gct-table-date/gct-table-date.css} +0 -0
@@ -0,0 +1,46 @@
1
+ import { onBeforeUnmount, ref } from "vue";
2
+ import { useResizeObserver } from "@vueuse/core";
3
+ //#region src/components/paas-bpmn-log/hooks/useObserver.ts
4
+ var parentHeight = ref();
5
+ var observeMap = ref({});
6
+ function getParentHeight(ele) {
7
+ const p1 = ele?.parentElement;
8
+ const sH = p1?.scrollHeight;
9
+ const pH = p1?.clientHeight;
10
+ if (sH && pH && sH > pH) return p1.clientHeight;
11
+ if (p1) return getParentHeight(p1);
12
+ return 0;
13
+ }
14
+ onBeforeUnmount(() => {
15
+ for (const k in observeMap.value) {
16
+ observeMap.value[k]?.unobserve(k);
17
+ observeMap.value[k]?.disconnect();
18
+ }
19
+ });
20
+ /**
21
+ * 监听最近一个出现滚动条的父盒子高度
22
+ * html HTMLDivElement
23
+ * callback 获取到高度后的回调
24
+ */
25
+ function parentObserver(html, callback) {
26
+ observeMap.value[html.value.toString()] = useResizeObserver(html.value, (entries) => {
27
+ const height = entries[0].target.clientHeight;
28
+ if (!height) return;
29
+ parentHeight.value = getParentHeight(html.value);
30
+ if (callback && typeof callback === "function") callback(height && parentHeight.value && height > parentHeight.value, parentHeight.value, height);
31
+ });
32
+ }
33
+ /**
34
+ * 监听审批节点的高度
35
+ * html HTMLDivElement
36
+ * callback 获取到高度后的回调
37
+ */
38
+ function approvalObserver(html, callback) {
39
+ observeMap.value[html.value.toString()] = useResizeObserver(html.value, (entries) => {
40
+ const height = entries[0].target.clientHeight;
41
+ if (!height) return;
42
+ if (callback && typeof callback === "function") callback(height && parentHeight.value && height > parentHeight.value, parentHeight.value, height);
43
+ });
44
+ }
45
+ //#endregion
46
+ export { approvalObserver, parentObserver };
@@ -0,0 +1,5 @@
1
+ import { ProcessHistoryResult } from '@gct-paas/api/apaas';
2
+ export declare function useLog(): {
3
+ logDetail: import('vue').Ref<ProcessHistoryResult | undefined, ProcessHistoryResult | undefined>;
4
+ init: (id: string) => void;
5
+ };
@@ -0,0 +1,17 @@
1
+ import { ref } from "vue";
2
+ //#region src/components/paas-bpmn-log/hooks/uselog.ts
3
+ function useLog() {
4
+ const logDetail = ref();
5
+ function init(id) {
6
+ getProcessLog(id);
7
+ }
8
+ async function getProcessLog(id) {
9
+ logDetail.value = await _api.apaas.processApprovalLog.getApproveHistory({ id }) || {};
10
+ }
11
+ return {
12
+ logDetail,
13
+ init
14
+ };
15
+ }
16
+ //#endregion
17
+ export { useLog };
@@ -0,0 +1,4 @@
1
+ //#region src/components/paas-bpmn-log/imgs/avatar-default.png
2
+ var avatar_default_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABRCAYAAACqj0o2AAAAAXNSR0IArs4c6QAADeJJREFUeF7lXAl0lNUV/t4/k8m+T8IWspCETSkCWkFtIbVVKSCIFClgjQgFLVawrdBTrfboOQWXAkpZSohpCQpVEMoieMBEBYsixQUDmgkz2dhmsg9kkvnnfz3vTybOTCYz/2TeP7H1nZNzksx997/3m/vevf99912CEI/TRmNCHImZApC7KHAbgExOItSA4AiA0hapZe+YrKxGTnz9siF+KTgQlJSUaNOzRt8nwTGHgUcALQe2PlhQGwOTAMVV1LorLyuL/a3aUBXEz8pr0qLDIhYDWAogQTUtfMEJahEIKbBJ0rrrslI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jPX5agi4ueLrY7Jmm12h+LosjlsjoAE6X0GCHkkGSzHSgqWhuycCDkIHp+sU+vfjntUq1lnOQQh4OS4ZRKmSAkDRQJIDRBkmhHcSOFDaBWjUZjESXHJZ1OV9Pebj8HSs+0O+ip7QXPd/XuUmA8XEn+CzYbSUiSvfM/AAAAAElFTkSuQmCC";
3
+ //#endregion
4
+ export { avatar_default_default as default };
@@ -0,0 +1,23 @@
1
+ import { ProcessHistoryResult } from '@gct-paas/api/apaas';
2
+ type __VLS_Props = {
3
+ /**流程实例id */
4
+ instanceId?: string;
5
+ /**是否显示标题区域 */
6
+ showTitle?: boolean;
7
+ /**标题 */
8
+ title?: string;
9
+ /**是否开启表格样式 */
10
+ isTable?: boolean;
11
+ /**是否隐藏审批意见 */
12
+ hiddenOpinion?: boolean;
13
+ /**是否隐藏签名 */
14
+ hiddenSignature?: boolean;
15
+ /**是否是设计模式 */
16
+ isDesign?: boolean;
17
+ /**设计模式,假数据 */
18
+ info?: ProcessHistoryResult;
19
+ };
20
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
21
+ histortyRef: HTMLDivElement;
22
+ }, HTMLDivElement>;
23
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export-helper.mjs";
2
+ import paas_bpmn_log_vue_vue_type_script_setup_true_lang_default from "./paas-bpmn-log.vue_vue_type_script_setup_true_lang.mjs";
3
+ import './paas-bpmn-log.vue_vue_type_style_index_0_scoped_c85122b0_lang.css';/* empty css */
4
+ //#region src/components/paas-bpmn-log/paas-bpmn-log.vue
5
+ var paas_bpmn_log_default = /* @__PURE__ */ _plugin_vue_export_helper_default(paas_bpmn_log_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-c85122b0"]]);
6
+ //#endregion
7
+ export { paas_bpmn_log_default as default };
@@ -0,0 +1,245 @@
1
+ import avatar_default_default from "./imgs/avatar-default.png.mjs";
2
+ import { parentObserver } from "./hooks/useObserver.mjs";
3
+ import image_error_default from "../../assets/svg/image-error.svg.mjs";
4
+ import approval_node_default from "./components/approval-node.vue.mjs";
5
+ import { useLog } from "./hooks/uselog.mjs";
6
+ import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, onMounted, openBlock, ref, renderList, resolveComponent, toDisplayString, unref, vShow, watch, withCtx, withDirectives } from "vue";
7
+ import { BpmnNodeTypeEnum, ProcessStatusEnum, ch_ProcessStatusMap } from "@gct-paas/core";
8
+ import { Empty } from "ant-design-vue";
9
+ //#region src/components/paas-bpmn-log/paas-bpmn-log.vue?vue&type=script&setup=true&lang.ts
10
+ var _hoisted_1 = ["title"];
11
+ var _hoisted_2 = {
12
+ key: 1,
13
+ class: "py8px ks-row-middle"
14
+ };
15
+ var _hoisted_3 = ["title"];
16
+ var _hoisted_4 = { class: "text-[12px] text-[#474747]" };
17
+ var _hoisted_5 = {
18
+ key: 0,
19
+ class: "bg-[#FFFFFF] rounded-4px p16px text-[12px]"
20
+ };
21
+ var _hoisted_6 = {
22
+ key: 0,
23
+ class: "py8px"
24
+ };
25
+ var _hoisted_7 = {
26
+ key: 1,
27
+ class: "process-node-wrap pl16px"
28
+ };
29
+ var _hoisted_8 = ["title"];
30
+ var _hoisted_9 = {
31
+ key: 0,
32
+ class: "text-[#666666] text-[12px] font-400"
33
+ };
34
+ var _hoisted_10 = {
35
+ key: 2,
36
+ class: "process-node-content bg-[#FBFBFC] rounded-4px ks-row p8px"
37
+ };
38
+ var _hoisted_11 = { class: "process-node-content-left mr12px" };
39
+ var _hoisted_12 = { class: "avatar-wrap w42px" };
40
+ var _hoisted_13 = { class: "ks-row-center" };
41
+ var _hoisted_14 = ["src"];
42
+ var _hoisted_15 = ["title"];
43
+ var _hoisted_16 = { class: "process-node-content-main ks-col" };
44
+ var _hoisted_17 = {
45
+ key: 1,
46
+ class: "node-type-msg"
47
+ };
48
+ var _hoisted_18 = { class: "process-node-content-right w148px text-right text-[#8F8F8F] ks-column" };
49
+ var _hoisted_19 = {
50
+ key: 0,
51
+ class: "ks-col ks-row-end justify-end"
52
+ };
53
+ var _hoisted_20 = { key: 1 };
54
+ var _hoisted_21 = { key: 0 };
55
+ var _hoisted_22 = { key: 1 };
56
+ var _hoisted_23 = { key: 2 };
57
+ var paas_bpmn_log_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
58
+ __name: "paas-bpmn-log",
59
+ props: {
60
+ instanceId: {},
61
+ showTitle: { type: Boolean },
62
+ title: {},
63
+ isTable: { type: Boolean },
64
+ hiddenOpinion: { type: Boolean },
65
+ hiddenSignature: { type: Boolean },
66
+ isDesign: { type: Boolean },
67
+ info: {}
68
+ },
69
+ setup(__props) {
70
+ const props = __props;
71
+ const histortyRef = ref();
72
+ const needSticky = ref(false);
73
+ const simpleImage = Empty.PRESENTED_IMAGE_SIMPLE;
74
+ const { logDetail, init } = useLog();
75
+ const titleHeight = computed(() => {
76
+ let height = 0;
77
+ if (props.showTitle && props.title) height += 40;
78
+ if (!props.isTable) height += 40;
79
+ return height;
80
+ });
81
+ const tableData = computed(() => {
82
+ return (logDetail.value?.processHistoryList ?? []).reduce((data, item) => {
83
+ if (item.type === BpmnNodeTypeEnum.BpmnEnd) return data;
84
+ if (item.type === BpmnNodeTypeEnum.BpmnApproval) data.push(...(item.approvalList.filter((e) => e.approval) || []).map((e) => {
85
+ try {
86
+ const signature = e.signature ? JSON.parse(e.signature).url : "";
87
+ return {
88
+ ...e,
89
+ signature,
90
+ name: item.name
91
+ };
92
+ } catch (error) {
93
+ return {
94
+ ...e,
95
+ name: item.name
96
+ };
97
+ }
98
+ }));
99
+ else data.push(item);
100
+ return data;
101
+ }, []);
102
+ });
103
+ watch(() => props.instanceId, (id) => {
104
+ if (id) init(id);
105
+ }, { immediate: true });
106
+ onMounted(async () => {
107
+ if (!props.isDesign) parentObserver(histortyRef, (isNeed) => {
108
+ needSticky.value = isNeed;
109
+ });
110
+ else logDetail.value = props.info;
111
+ });
112
+ return (_ctx, _cache) => {
113
+ const _component_a_empty = resolveComponent("a-empty");
114
+ const _component_vxe_column = resolveComponent("vxe-column");
115
+ const _component_a_image = resolveComponent("a-image");
116
+ const _component_vxe_table = resolveComponent("vxe-table");
117
+ return openBlock(), createElementBlock("div", {
118
+ ref_key: "histortyRef",
119
+ ref: histortyRef,
120
+ class: "approval-history relative"
121
+ }, [createElementVNode("div", { class: normalizeClass(["approval-history-title w100% text-[16px] text-[#242424]", [needSticky.value && "sticky-node"]]) }, [__props.showTitle ? (openBlock(), createElementBlock("div", {
122
+ key: 0,
123
+ class: "pt6px pb8px font-500 ell break-all",
124
+ title: __props.title
125
+ }, toDisplayString(__props.title), 9, _hoisted_1)) : createCommentVNode("", true), !__props.isTable && unref(logDetail)?.duration ? (openBlock(), createElementBlock("div", _hoisted_2, [unref(logDetail)?.status ? (openBlock(), createElementBlock("div", {
126
+ key: 0,
127
+ class: "ell ks-col break-all",
128
+ title: _ctx.$t("sys.process.processStatus", { status: _ctx.$t(unref(ch_ProcessStatusMap)[unref(logDetail)?.status] || "") })
129
+ }, toDisplayString(_ctx.$t("sys.process.processStatus", { status: _ctx.$t(unref(ch_ProcessStatusMap)[unref(logDetail)?.status] || "") })), 9, _hoisted_3)) : createCommentVNode("", true), createElementVNode("div", _hoisted_4, toDisplayString(_ctx.$t("sys.pageDesigner.totalTimeSpent")) + ":" + toDisplayString(unref(logDetail)?.duration), 1)])) : createCommentVNode("", true)], 2), !__props.isTable ? (openBlock(), createElementBlock("div", _hoisted_5, [!unref(logDetail)?.processHistoryList?.length ? (openBlock(), createElementBlock("div", _hoisted_6, [createVNode(_component_a_empty, { image: unref(simpleImage) }, null, 8, ["image"])])) : (openBlock(), createElementBlock("div", _hoisted_7, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(logDetail)?.processHistoryList ?? [], (item, i) => {
130
+ return openBlock(), createElementBlock("div", {
131
+ key: i,
132
+ class: "process-node"
133
+ }, [item.type === unref(BpmnNodeTypeEnum).BpmnApproval ? (openBlock(), createBlock(approval_node_default, {
134
+ key: i,
135
+ data: item,
136
+ "title-height": titleHeight.value,
137
+ "is-design": __props.isDesign,
138
+ "hidden-opinion": __props.hiddenOpinion,
139
+ "hidden-signature": __props.hiddenSignature,
140
+ "is-last-node": i === (unref(logDetail)?.processHistoryList?.length ?? 0) - 1,
141
+ "is-compeleted": unref(logDetail)?.status !== unref(ProcessStatusEnum).COMPLETED && i === (unref(logDetail)?.processHistoryList?.length ?? 0) - 1
142
+ }, null, 8, [
143
+ "data",
144
+ "title-height",
145
+ "is-design",
146
+ "hidden-opinion",
147
+ "hidden-signature",
148
+ "is-last-node",
149
+ "is-compeleted"
150
+ ])) : (openBlock(), createElementBlock("div", {
151
+ key: 1,
152
+ class: "process-node-title text-[14px] font-500 mb8px ks-row-middle",
153
+ style: normalizeStyle({
154
+ "--type-color": "#309C41",
155
+ "--status-color": unref(logDetail)?.status !== unref(ProcessStatusEnum).COMPLETED && i === (unref(logDetail)?.processHistoryList?.length ?? 0) - 1 ? "#3168EC" : "#309C41"
156
+ })
157
+ }, [createElementVNode("div", {
158
+ class: "ell ks-col break-all",
159
+ title: item.name
160
+ }, toDisplayString(item.name), 9, _hoisted_8), item.startTime ? (openBlock(), createElementBlock("div", _hoisted_9, toDisplayString(item.startTime), 1)) : createCommentVNode("", true)], 4)), item.type !== unref(BpmnNodeTypeEnum).BpmnEnd && item.type !== unref(BpmnNodeTypeEnum).BpmnApproval ? (openBlock(), createElementBlock("div", _hoisted_10, [
161
+ createElementVNode("div", _hoisted_11, [createElementVNode("div", _hoisted_12, [createElementVNode("div", _hoisted_13, [createElementVNode("img", {
162
+ src: item.avatar ? "/minio/" + item.avatar : unref(avatar_default_default),
163
+ width: "32",
164
+ height: "32",
165
+ style: { "border-radius": "50%" }
166
+ }, null, 8, _hoisted_14)]), createElementVNode("div", {
167
+ class: "ell text-[12px] text-[#666666] mt4px text-center break-all",
168
+ title: item.username
169
+ }, toDisplayString(item.username), 9, _hoisted_15)])]),
170
+ createElementVNode("div", _hoisted_16, [item.type === unref(BpmnNodeTypeEnum).BpmnSubmit || item.type === unref(BpmnNodeTypeEnum).BpmnJs ? (openBlock(), createElementBlock("div", {
171
+ key: 0,
172
+ class: "node-type-msg circle",
173
+ style: normalizeStyle({ "--type-color": item.type === unref(BpmnNodeTypeEnum).BpmnSubmit ? "#3168EC" : "#309C41" })
174
+ }, toDisplayString(item.message), 5)) : item.type === unref(BpmnNodeTypeEnum).BpmnMessage ? (openBlock(), createElementBlock("div", _hoisted_17, [withDirectives(createElementVNode("span", { class: "text-[#309C41] mr14px" }, toDisplayString(_ctx.$t("sys.pageDesigner.numOfSuccesses", { num: ` ${item.success} ` })), 513), [[vShow, item.success]]), withDirectives(createElementVNode("span", { class: "text-[#F54547]" }, toDisplayString(_ctx.$t("sys.pageDesigner.numOfError", { num: ` ${item.error} ` })), 513), [[vShow, item.error]])])) : createCommentVNode("", true)]),
175
+ createElementVNode("div", _hoisted_18, [createElementVNode("div", null, toDisplayString(item.endTime), 1), item.duration ? (openBlock(), createElementBlock("div", _hoisted_19, toDisplayString(_ctx.$t("sys.integration.timeConsuming")) + ": " + toDisplayString(item.duration), 1)) : createCommentVNode("", true)])
176
+ ])) : createCommentVNode("", true)]);
177
+ }), 128))]))])) : (openBlock(), createElementBlock("div", _hoisted_20, [createVNode(_component_vxe_table, {
178
+ data: tableData.value,
179
+ height: 264,
180
+ "show-overflow": "title",
181
+ "column-config": { resizable: true },
182
+ class: normalizeClass({ default: true })
183
+ }, {
184
+ empty: withCtx(() => [createVNode(_component_a_empty, { image: unref(simpleImage) }, null, 8, ["image"])]),
185
+ default: withCtx(() => [
186
+ createVNode(_component_vxe_column, {
187
+ type: "seq",
188
+ title: _ctx.$t("sys.pageDesigner.index"),
189
+ width: "60"
190
+ }, null, 8, ["title"]),
191
+ createVNode(_component_vxe_column, {
192
+ field: "name",
193
+ title: _ctx.$t("sys.appDesigner.approval.nodeName"),
194
+ "min-width": "100px"
195
+ }, null, 8, ["title"]),
196
+ createVNode(_component_vxe_column, {
197
+ field: "username",
198
+ title: _ctx.$t("sys.pageDesigner.handler"),
199
+ "min-width": "100px"
200
+ }, null, 8, ["title"]),
201
+ createVNode(_component_vxe_column, {
202
+ field: "message",
203
+ title: _ctx.$t("sys.pageDesigner.handleOperation"),
204
+ "min-width": "160px"
205
+ }, {
206
+ default: withCtx(({ row }) => [row.type === unref(BpmnNodeTypeEnum).BpmnApproval ? (openBlock(), createElementBlock("div", _hoisted_21, toDisplayString(_ctx.$t(`sys.process.paasBpmnButtonEvent.${row.approval}`)), 1)) : row.type === unref(BpmnNodeTypeEnum).BpmnMessage ? (openBlock(), createElementBlock("div", _hoisted_22, [withDirectives(createElementVNode("span", null, [createTextVNode(toDisplayString(_ctx.$t("sys.pageDesigner.numOfSuccesses", { num: row.success })) + " ", 1), withDirectives(createElementVNode("span", null, ",", 512), [[vShow, row.error]])], 512), [[vShow, row.success]]), withDirectives(createElementVNode("span", null, toDisplayString(_ctx.$t("sys.pageDesigner.numOfError", { num: row.error })), 513), [[vShow, row.error]])])) : (openBlock(), createElementBlock("div", _hoisted_23, toDisplayString(row.message), 1))]),
207
+ _: 1
208
+ }, 8, ["title"]),
209
+ createVNode(_component_vxe_column, {
210
+ field: "endTime",
211
+ title: _ctx.$t("sys.pageDesigner.handleTime"),
212
+ "min-width": "180px"
213
+ }, null, 8, ["title"]),
214
+ !__props.hiddenOpinion ? (openBlock(), createBlock(_component_vxe_column, {
215
+ key: 0,
216
+ field: "approvalMsg",
217
+ title: _ctx.$t("sys.appDesigner.approval.opinion"),
218
+ "min-width": "90px"
219
+ }, null, 8, ["title"])) : createCommentVNode("", true),
220
+ !__props.hiddenSignature ? (openBlock(), createBlock(_component_vxe_column, {
221
+ key: 1,
222
+ field: "signature",
223
+ title: _ctx.$t("sys.model.sign"),
224
+ "min-width": "80px"
225
+ }, {
226
+ default: withCtx(({ row }) => [row.signature ? (openBlock(), createBlock(_component_a_image, {
227
+ key: 0,
228
+ width: 38,
229
+ height: 22,
230
+ src: __props.isDesign ? row.signature : `/minio/${row.signature}`,
231
+ fallback: unref(image_error_default)
232
+ }, {
233
+ previewMask: withCtx(() => [..._cache[0] || (_cache[0] = [createElementVNode("i", { class: "iconfont icon-chakan1" }, null, -1)])]),
234
+ _: 1
235
+ }, 8, ["src", "fallback"])) : createCommentVNode("", true)]),
236
+ _: 1
237
+ }, 8, ["title"])) : createCommentVNode("", true)
238
+ ]),
239
+ _: 1
240
+ }, 8, ["data"])]))], 512);
241
+ };
242
+ }
243
+ });
244
+ //#endregion
245
+ export { paas_bpmn_log_vue_vue_type_script_setup_true_lang_default as default };
@@ -0,0 +1,54 @@
1
+ .process-node-wrap[data-v-c85122b0] {
2
+ border-left: 1px dashed #e0e3ea;
3
+ }
4
+ .process-node-wrap .process-node + .process-node[data-v-c85122b0] {
5
+ margin-top: 28px;
6
+ }
7
+ .process-node-wrap .process-node-title[data-v-c85122b0] {
8
+ position: relative;
9
+ }
10
+ .process-node-wrap .process-node-title[data-v-c85122b0]::before {
11
+ content: ' ';
12
+ display: block;
13
+ width: 6px;
14
+ height: 6px;
15
+ position: absolute;
16
+ top: 7px;
17
+ left: -19px;
18
+ background-color: var(--status-color);
19
+ border-radius: 50%;
20
+ box-shadow: 0 0 0 2px hsl(from var(--status-color) h s 93%);
21
+ }
22
+ .node-type-msg[data-v-c85122b0] {
23
+ color: var(--type-color);
24
+ height: 100%;
25
+ display: flex;
26
+ align-items: flex-end;
27
+ position: relative;
28
+ padding-left: 9px;
29
+ }
30
+ .node-type-msg.circle[data-v-c85122b0]::before {
31
+ content: ' ';
32
+ display: inline-block;
33
+ width: 4px;
34
+ height: 4px;
35
+ border-radius: 50%;
36
+ background-color: var(--type-color);
37
+ position: absolute;
38
+ left: 0;
39
+ bottom: 8px;
40
+ }
41
+ [data-v-c85122b0] .ant-image-img {
42
+ width: 100%;
43
+ height: 100%;
44
+ vertical-align: top;
45
+ }
46
+ .sticky-node[data-v-c85122b0] {
47
+ background-color: #ffffff;
48
+ position: sticky;
49
+ top: 0;
50
+ z-index: 9;
51
+ }
52
+ [data-v-c85122b0] .vxe-table--render-default .vxe-body--column.col--ellipsis {
53
+ height: 44px;
54
+ }
package/es/index.mjs CHANGED
@@ -50,10 +50,24 @@ import { withInstall } from "./utils/with-install.mjs";
50
50
  import "./utils/index.mjs";
51
51
  import { ImageUpload } from "./components/image-upload/index.mjs";
52
52
  import { FieldUpload } from "./components/field-upload/index.mjs";
53
+ import paas_bpmn_log_default from "./components/paas-bpmn-log/paas-bpmn-log.vue.mjs";
53
54
  import { CodeEditor } from "./components/code-editor/code-editor.mjs";
54
55
  import { ViewContainer } from "./components/layout/view-container/view-container.mjs";
55
56
  import { Vue3GridDndItem } from "./components/vue3-grid-dnd-item/vue3-grid-dnd-item.mjs";
56
- import { PickType, useModalPicker } from "./components/UserPick/index.mjs";
57
+ import { useModalDragMove } from "./modules/global-modal/src/hooks/useModalDrag.mjs";
58
+ import { useModalContext } from "./modules/global-modal/src/hooks/useModalContext.mjs";
59
+ import { useModal, useModalInner } from "./modules/global-modal/src/hooks/useModal.mjs";
60
+ import { BasicModal } from "./modules/global-modal/index.mjs";
61
+ import { PickType } from "./components/UserPick/src/constants/index.mjs";
62
+ import { useModalPicker } from "./components/UserPick/index.mjs";
63
+ import paas_bpmn_runtime_default from "./components/BpmnRuntime/paas/paas-bpmn-runtime.vue.mjs";
64
+ import i18n_modal_default from "./components/I18nSelect/src/i18n-modal.vue.mjs";
65
+ import { useI18nSelect } from "./components/I18nSelect/src/useI18nSelect.mjs";
66
+ import i18n_select_btn_default from "./components/I18nSelect/src/i18n-select-btn.vue.mjs";
67
+ import i18n_select_input_default from "./components/I18nSelect/src/i18n-select-input.vue.mjs";
68
+ import i18n_select_input_form_default from "./components/I18nSelect/src/i18n-select-input-form.vue.mjs";
69
+ import i18n_select_textarea_default from "./components/I18nSelect/src/i18n-select-textarea.vue.mjs";
70
+ import i18n_select_textarea_form_default from "./components/I18nSelect/src/i18n-select-textarea-form.vue.mjs";
57
71
  import "./components/index.mjs";
58
72
  import { openFormulaEditor } from "./modules/formula-editor/formula-editor.mjs";
59
73
  import "./modules/formula-editor/index.mjs";
@@ -80,10 +94,6 @@ import GctDndItem from "./modules/gct-dnd/components/gct-dnd-item/gct-dnd-item.m
80
94
  import { GctDndDropLine } from "./modules/gct-dnd/components/gct-dnd-drop-line/gct-dnd-drop-line.mjs";
81
95
  import GctDndContainer from "./modules/gct-dnd/components/gct-dnd-container/gct-dnd-container.mjs";
82
96
  import "./modules/gct-dnd/index.mjs";
83
- import { useModalDragMove } from "./modules/global-modal/src/hooks/useModalDrag.mjs";
84
- import { useModalContext } from "./modules/global-modal/src/hooks/useModalContext.mjs";
85
- import { useModal, useModalInner } from "./modules/global-modal/src/hooks/useModal.mjs";
86
- import { BasicModal } from "./modules/global-modal/index.mjs";
87
97
  import { CropperAvatar, CropperFree, CropperImage } from "./modules/Cropper/index.mjs";
88
98
  import { coreWebCreateAppVue } from "./create-app-vue.mjs";
89
99
  import { coreWebSetupApp } from "./setup-app.mjs";
@@ -97,4 +107,4 @@ function onInit() {
97
107
  }
98
108
  onInit();
99
109
  //#endregion
100
- export { AssetsSvgIcon, base_button_default as BaseButton, basic_button_default as BasicButton, BasicModal, CodeEditor, ColorPicker_default as ColorPicker, copy_module_key_default as CopyModuleKey, CropperAvatar, CropperFree, CropperImage, double_input_default as DoubleInput, EditFormController, EditorController, EditorRegister, EditorRegisterConst, EditorType, FORM_CONTROLLER_INJECT_TAG, FieldUpload, FormCollapseController, FormCollapsePaneController, FormCollapsePaneState, FormCollapseState, FormEditItemController, FormEditItemState, FormGroupController, FormGroupState, FormHiddenItemController, FormItemBasicController, FormItemBasicState, FormItemController, FormItemRegister, FormItemState, FormLineController, FormLineState, FormState, FormTabController, FormTabPaneController, FormTabPaneState, FormTabState, GCT_DND_INSERT_POS, GctDndContainer, GctDndDropLine, GctDndItem, GctFormController, GctTableController, IconNext_default as IconNext, ImageUpload, Lang, MessageUtil, MonacoEditor, OverlayController, PickType, Prop, svg_icon_default as SvgIcon, TableActionItemController, TableEditItemController, TableEditItemState, TableEditorRegister, TableITemState, TableItemController, TableRowController, TableRowState, TableState, Theme, UseDragByLine, ViewContainer, Vue3GridDndItem, WUJIE_FORMULA_EVENTS, WuJieContainer, coreWebCreateAppVue, coreWebSetupApp, fileUrlParser, gctFormItemEditorProps, monacoLoader, openFormulaEditor, overlay, transformUrl, useAntTableScrollHeight, useEditFormController, useEditorConsole, useEditorConsoleInner, useForm, useFormItemController, useGctFormValue, useGctFormValueByText, useLocale, useModal, useModalContext, useModalDragMove, useModalInner, useModalPicker, useTableController, useTheme, withInstall };
110
+ export { AssetsSvgIcon, base_button_default as BaseButton, basic_button_default as BasicButton, BasicModal, CodeEditor, ColorPicker_default as ColorPicker, copy_module_key_default as CopyModuleKey, CropperAvatar, CropperFree, CropperImage, double_input_default as DoubleInput, EditFormController, EditorController, EditorRegister, EditorRegisterConst, EditorType, FORM_CONTROLLER_INJECT_TAG, FieldUpload, FormCollapseController, FormCollapsePaneController, FormCollapsePaneState, FormCollapseState, FormEditItemController, FormEditItemState, FormGroupController, FormGroupState, FormHiddenItemController, FormItemBasicController, FormItemBasicState, FormItemController, FormItemRegister, FormItemState, FormLineController, FormLineState, FormState, FormTabController, FormTabPaneController, FormTabPaneState, FormTabState, GCT_DND_INSERT_POS, GctDndContainer, GctDndDropLine, GctDndItem, GctFormController, GctTableController, i18n_modal_default as I18Modal, i18n_select_btn_default as I18nSelectBtn, i18n_select_input_default as I18nSelectInput, i18n_select_input_form_default as I18nSelectInputForm, i18n_select_textarea_default as I18nSelectTextarea, i18n_select_textarea_form_default as I18nSelectTextareaForm, IconNext_default as IconNext, ImageUpload, Lang, MessageUtil, MonacoEditor, OverlayController, paas_bpmn_log_default as PaasBpmnLog, paas_bpmn_runtime_default as PaasBpmnRuntime, Prop, svg_icon_default as SvgIcon, TableActionItemController, TableEditItemController, TableEditItemState, TableEditorRegister, TableITemState, TableItemController, TableRowController, TableRowState, TableState, Theme, UseDragByLine, PickType as UserPickType, ViewContainer, Vue3GridDndItem, WUJIE_FORMULA_EVENTS, WuJieContainer, coreWebCreateAppVue, coreWebSetupApp, fileUrlParser, gctFormItemEditorProps, monacoLoader, openFormulaEditor, overlay, transformUrl, useAntTableScrollHeight, useEditFormController, useEditorConsole, useEditorConsoleInner, useForm, useFormItemController, useGctFormValue, useGctFormValueByText, useI18nSelect, useLocale, useModal, useModalContext, useModalDragMove, useModalInner, useModalPicker, useTableController, useTheme, withInstall };
@@ -1,8 +1,6 @@
1
1
  import { computed, defineComponent, onMounted, onUnmounted, ref, unref } from "vue";
2
2
  import { useNamespace } from "@gct-paas/core";
3
3
  import { useDebounceFn } from "@vueuse/core";
4
- import Cropper from "cropperjs";
5
- import "cropperjs/dist/cropper.css";
6
4
  //#region src/modules/Cropper/src/Cropper.vue?vue&type=script&lang.ts
7
5
  var defaultOptions = {
8
6
  aspectRatio: 1,
@@ -102,7 +100,8 @@ var Cropper_vue_vue_type_script_lang_default = defineComponent({
102
100
  async function init() {
103
101
  const imgEl = unref(imgElRef);
104
102
  if (!imgEl) return;
105
- cropper.value = new Cropper(imgEl, {
103
+ const [{ default: CropperCtor }] = await Promise.all([import("cropperjs"), import("cropperjs/dist/cropper.css")]);
104
+ cropper.value = new CropperCtor(imgEl, {
106
105
  ...defaultOptions,
107
106
  ready: () => {
108
107
  isReady.value = true;
@@ -1,6 +1,6 @@
1
1
  import { useGctFormValue } from "../../../gct-form/hooks/use-gct-form-value/use-gct-form-value.mjs";
2
2
  import "../../../gct-form/index.mjs";
3
- import '../gct-table-text/gct-table-text.css';/* empty css */
3
+ import './gct-table-date.css';/* empty css */
4
4
  import { createVNode, defineComponent, mergeProps, resolveComponent } from "vue";
5
5
  import { useNamespace } from "@gct-paas/core";
6
6
  //#region src/modules/gct-table/editor/gct-table-date/gct-table-date.tsx
@@ -1,6 +1,6 @@
1
1
  import { useGctFormValueByText } from "../../../gct-form/hooks/use-gct-form-value/use-gct-form-value.mjs";
2
2
  import "../../../gct-form/index.mjs";
3
- import './gct-table-text.css';/* empty css */
3
+ import '../gct-table-date/gct-table-date.css';/* empty css */
4
4
  import { createVNode, defineComponent, mergeProps, resolveComponent } from "vue";
5
5
  import { useNamespace } from "@gct-paas/core";
6
6
  //#region src/modules/gct-table/editor/gct-table-text/gct-table-text.tsx
@@ -246,8 +246,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
246
246
  cancel: (...args: any[]) => void;
247
247
  "visible-change": (...args: any[]) => void;
248
248
  ok: (...args: any[]) => void;
249
- register: (...args: any[]) => void;
250
249
  "height-change": (...args: any[]) => void;
250
+ register: (...args: any[]) => void;
251
251
  "update:visible": (...args: any[]) => void;
252
252
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
253
253
  visible: {
@@ -365,8 +365,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
365
365
  onCancel?: ((...args: any[]) => any) | undefined;
366
366
  "onVisible-change"?: ((...args: any[]) => any) | undefined;
367
367
  onOk?: ((...args: any[]) => any) | undefined;
368
- onRegister?: ((...args: any[]) => any) | undefined;
369
368
  "onHeight-change"?: ((...args: any[]) => any) | undefined;
369
+ onRegister?: ((...args: any[]) => any) | undefined;
370
370
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
371
371
  }>, {
372
372
  visible: boolean;
@@ -1,5 +1,4 @@
1
- //#region src/modules/global-modal/src/props.ts
2
- var modalProps = {
1
+ var basicProps = Object.assign({}, {
3
2
  visible: { type: Boolean },
4
3
  scrollTop: {
5
4
  type: Boolean,
@@ -22,8 +21,7 @@ var modalProps = {
22
21
  default: "sys.okText"
23
22
  },
24
23
  closeFunc: Function
25
- };
26
- var basicProps = Object.assign({}, modalProps, {
24
+ }, {
27
25
  defaultFullscreen: { type: Boolean },
28
26
  canFullscreen: {
29
27
  type: Boolean,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/core-web",
3
- "version": "0.1.4-dev.16",
3
+ "version": "0.1.4-dev.18",
4
4
  "type": "module",
5
5
  "description": "paas 平台网页端核心包",
6
6
  "loader": "dist/loader.esm.min.js",
@@ -47,9 +47,10 @@
47
47
  "dependencies": {
48
48
  "@ant-design/icons-vue": "^6.1.0",
49
49
  "@gct-paas/api": "^0.1.2-dev.1",
50
- "@gct-paas/core": "0.1.4-dev.16",
50
+ "@gct-paas/core": "0.1.4-dev.18",
51
+ "@gct-paas/flow": "0.0.1-dev.0",
51
52
  "@gct-paas/platform-icons": "^0.0.2",
52
- "@gct-paas/scss": "0.1.4-dev.16",
53
+ "@gct-paas/scss": "0.1.4-dev.18",
53
54
  "@icon-park/vue-next": "^1.4.2",
54
55
  "@monaco-editor/loader": "^1.7.0",
55
56
  "@vueuse/core": "^14.1.0",
@@ -77,5 +78,5 @@
77
78
  "vant": ">=4",
78
79
  "vue": ">=3"
79
80
  },
80
- "gitHead": "cee8da739039182f4df08a2c0126cdd578fbc33b"
81
+ "gitHead": "d79e561695bc9a4ff14b7c1bc735a595a32ed3e9"
81
82
  }