@gct-paas/word 0.1.73-patch.5 → 0.1.73-patch.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +15 -5
- package/dist/word.css +2 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @gct-paas/word v0.1.73-patch.
|
|
1
|
+
/*! @gct-paas/word v0.1.73-patch.7 */
|
|
2
2
|
import { Fragment, Suspense, Teleport, Transition, TransitionGroup, cloneVNode, computed, createApp, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createStaticVNode, createTextVNode, createVNode, defineAsyncComponent, defineComponent, getCurrentInstance, getCurrentScope, guardReactiveProps, h, inject, isRef, isVNode, markRaw, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeMount, onBeforeUnmount, onMounted, onScopeDispose, onUnmounted, openBlock, provide, reactive, readonly, ref, render, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, toRef, toValue, unref, useCssVars, useModel, useSlots, vModelText, vShow, watch, watchEffect, withCtx, withDirectives, withKeys, withModifiers } from "vue";
|
|
3
3
|
import FloatingVue, { PopperWrapper } from "floating-vue";
|
|
4
4
|
import VueKonva from "vue-konva";
|
|
@@ -114959,6 +114959,7 @@ var init_LayoutManager = __esmMin((() => {
|
|
|
114959
114959
|
});
|
|
114960
114960
|
});
|
|
114961
114961
|
table.redistribute();
|
|
114962
|
+
table.updateCellOffsetInfo();
|
|
114962
114963
|
return table;
|
|
114963
114964
|
}
|
|
114964
114965
|
/**
|
|
@@ -146633,11 +146634,14 @@ var signature_config_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
|
|
|
146633
146634
|
var _docConfig$value$chec;
|
|
146634
146635
|
return !!((_docConfig$value$chec = docConfig.value.checkSignatureConfig) === null || _docConfig$value$chec === void 0 ? void 0 : _docConfig$value$chec.length);
|
|
146635
146636
|
});
|
|
146637
|
+
/** refer 下仅已配置(编辑)可点开查看;未添加不可点 */
|
|
146638
|
+
const canOpenSignatureConfig = computed(() => !isRefer.value || isAdded.value);
|
|
146636
146639
|
const handleMutexChange = (mutex) => {
|
|
146637
146640
|
if (isRefer.value) return;
|
|
146638
146641
|
updateDocConfig("signatureMutex", mutex);
|
|
146639
146642
|
};
|
|
146640
146643
|
const handleSignatureConfig = () => {
|
|
146644
|
+
if (!canOpenSignatureConfig.value) return;
|
|
146641
146645
|
const { modelKey: key, modelName: name } = modelMeta.value;
|
|
146642
146646
|
triggerUtil.handle("OPEN_DOC_SIGNATURE_RULE_CONFIG_MODAL", {
|
|
146643
146647
|
value: cloneDeep(docConfig.value.checkSignatureConfig || []),
|
|
@@ -146673,22 +146677,28 @@ var signature_config_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
|
|
|
146673
146677
|
}, null, 8, ["modelValue"])])]),
|
|
146674
146678
|
_: 1
|
|
146675
146679
|
}), createElementVNode("div", _hoisted_3$33, [createVNode(unref(button_default), {
|
|
146676
|
-
class: "allow-readonly-view",
|
|
146680
|
+
class: normalizeClass({ "allow-readonly-view": canOpenSignatureConfig.value }),
|
|
146677
146681
|
full: "",
|
|
146678
|
-
type: "primary",
|
|
146682
|
+
type: unref(isRefer) ? "default" : "primary",
|
|
146679
146683
|
plain: !unref(isAdded) && !unref(isRefer),
|
|
146684
|
+
disabled: unref(isRefer) && !unref(isAdded),
|
|
146680
146685
|
onClick: handleSignatureConfig
|
|
146681
146686
|
}, {
|
|
146682
146687
|
default: withCtx(() => [createTextVNode(toDisplayString(unref(isAdded) ? "编辑" : "添加") + "互斥规则 ", 1)]),
|
|
146683
146688
|
_: 1
|
|
146684
|
-
}, 8, [
|
|
146689
|
+
}, 8, [
|
|
146690
|
+
"class",
|
|
146691
|
+
"type",
|
|
146692
|
+
"plain",
|
|
146693
|
+
"disabled"
|
|
146694
|
+
])])], 64);
|
|
146685
146695
|
};
|
|
146686
146696
|
}
|
|
146687
146697
|
});
|
|
146688
146698
|
//#endregion
|
|
146689
146699
|
//#region src/suites/edhr/panel-schema/paper/modules/signature-config.vue
|
|
146690
146700
|
init__plugin_vue_export_helper();
|
|
146691
|
-
var signature_config_default = /*#__PURE__*/ _plugin_vue_export_helper_default(signature_config_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-
|
|
146701
|
+
var signature_config_default = /*#__PURE__*/ _plugin_vue_export_helper_default(signature_config_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-baf2f040"]]);
|
|
146692
146702
|
//#endregion
|
|
146693
146703
|
//#region src/suites/edhr/panel-schema/paper/PaperPanel.vue?vue&type=script&setup=true&lang.ts
|
|
146694
146704
|
init_base$2();
|
package/dist/word.css
CHANGED
|
@@ -10880,7 +10880,7 @@ svg.portrait-icon[data-v-8bdb451e] {
|
|
|
10880
10880
|
align-items: center;
|
|
10881
10881
|
gap: 6px;
|
|
10882
10882
|
}
|
|
10883
|
-
.form-item-end[data-v-
|
|
10883
|
+
.form-item-end[data-v-baf2f040] {
|
|
10884
10884
|
width: 100%;
|
|
10885
10885
|
display: flex;
|
|
10886
10886
|
line-height: 22px;
|
|
@@ -10888,7 +10888,7 @@ svg.portrait-icon[data-v-8bdb451e] {
|
|
|
10888
10888
|
align-items: center;
|
|
10889
10889
|
justify-content: flex-end;
|
|
10890
10890
|
}
|
|
10891
|
-
.tooltip-text[data-v-
|
|
10891
|
+
.tooltip-text[data-v-baf2f040] {
|
|
10892
10892
|
padding: 6px;
|
|
10893
10893
|
width: 240px;
|
|
10894
10894
|
color: #666;
|