@gct-paas/word 0.1.44 → 0.1.45
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 +95 -17
- package/dist/runtime/renderer/dialogs/dialog-container.vue.d.ts +1 -0
- package/dist/runtime/renderer/dialogs/upload-file/base-upload-file.vue.d.ts +6 -1
- package/dist/runtime/renderer/dialogs/upload-file/upload-file-dialog.vue.d.ts +39 -2
- package/dist/runtime/renderer/dialogs/upload-image/base-upload-image.vue.d.ts +6 -1
- package/dist/runtime/renderer/dialogs/upload-image/upload-image-dialog.vue.d.ts +39 -2
- package/dist/word.css +75 -75
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -34537,13 +34537,14 @@ const _sfc_main$3b = /* @__PURE__ */ defineComponent({
|
|
|
34537
34537
|
}
|
|
34538
34538
|
await confirmFn(modalInstance);
|
|
34539
34539
|
};
|
|
34540
|
-
const
|
|
34540
|
+
const handleDismiss = async () => {
|
|
34541
34541
|
if (props.onCancel) {
|
|
34542
34542
|
await props.onCancel(modalInstance);
|
|
34543
34543
|
} else {
|
|
34544
34544
|
close();
|
|
34545
34545
|
}
|
|
34546
34546
|
};
|
|
34547
|
+
const handleCancelClick = handleDismiss;
|
|
34547
34548
|
onMounted(() => {
|
|
34548
34549
|
visible.value = true;
|
|
34549
34550
|
props.__onRegisterIns(modalInstance);
|
|
@@ -34581,7 +34582,7 @@ const _sfc_main$3b = /* @__PURE__ */ defineComponent({
|
|
|
34581
34582
|
__props.closable ? (openBlock(), createElementBlock("button", {
|
|
34582
34583
|
key: 0,
|
|
34583
34584
|
class: "header-close-button",
|
|
34584
|
-
onClick:
|
|
34585
|
+
onClick: handleDismiss
|
|
34585
34586
|
}, " × ")) : createCommentVNode("", true)
|
|
34586
34587
|
]),
|
|
34587
34588
|
createElementVNode("section", {
|
|
@@ -34598,13 +34599,13 @@ const _sfc_main$3b = /* @__PURE__ */ defineComponent({
|
|
|
34598
34599
|
__props.showCancel ? (openBlock(), createBlock(unref(GctButton), {
|
|
34599
34600
|
key: 0,
|
|
34600
34601
|
disabled: loading.value,
|
|
34601
|
-
onClick: handleCancelClick
|
|
34602
|
+
onClick: unref(handleCancelClick)
|
|
34602
34603
|
}, {
|
|
34603
34604
|
default: withCtx(() => [
|
|
34604
34605
|
createTextVNode(toDisplayString(__props.cancelText), 1)
|
|
34605
34606
|
]),
|
|
34606
34607
|
_: 1
|
|
34607
|
-
}, 8, ["disabled"])) : createCommentVNode("", true),
|
|
34608
|
+
}, 8, ["disabled", "onClick"])) : createCommentVNode("", true),
|
|
34608
34609
|
props.showConfirmContinue ? (openBlock(), createBlock(unref(GctButton), {
|
|
34609
34610
|
key: 1,
|
|
34610
34611
|
type: "primary",
|
|
@@ -34638,7 +34639,7 @@ const _sfc_main$3b = /* @__PURE__ */ defineComponent({
|
|
|
34638
34639
|
};
|
|
34639
34640
|
}
|
|
34640
34641
|
});
|
|
34641
|
-
const ModalRoot = /* @__PURE__ */ _export_sfc(_sfc_main$3b, [["__scopeId", "data-v-
|
|
34642
|
+
const ModalRoot = /* @__PURE__ */ _export_sfc(_sfc_main$3b, [["__scopeId", "data-v-aba80473"]]);
|
|
34642
34643
|
const BASE_Z_INDEX = 1999;
|
|
34643
34644
|
let offset = 0;
|
|
34644
34645
|
const GctModal = {
|
|
@@ -101527,8 +101528,12 @@ const _sfc_main$2R = /* @__PURE__ */ defineComponent({
|
|
|
101527
101528
|
const save = async () => {
|
|
101528
101529
|
return await dialogRef.value?.save();
|
|
101529
101530
|
};
|
|
101531
|
+
const cancelUploading = () => {
|
|
101532
|
+
dialogRef.value?.cancelUploading?.();
|
|
101533
|
+
};
|
|
101530
101534
|
__expose({
|
|
101531
|
-
onSave: save
|
|
101535
|
+
onSave: save,
|
|
101536
|
+
cancelUploading
|
|
101532
101537
|
});
|
|
101533
101538
|
return (_ctx, _cache) => {
|
|
101534
101539
|
return openBlock(), createElementBlock("div", _hoisted_1$1T, [
|
|
@@ -101544,7 +101549,7 @@ const _sfc_main$2R = /* @__PURE__ */ defineComponent({
|
|
|
101544
101549
|
};
|
|
101545
101550
|
}
|
|
101546
101551
|
});
|
|
101547
|
-
const DialogContainer = /* @__PURE__ */ _export_sfc(_sfc_main$2R, [["__scopeId", "data-v-
|
|
101552
|
+
const DialogContainer = /* @__PURE__ */ _export_sfc(_sfc_main$2R, [["__scopeId", "data-v-0c78d10e"]]);
|
|
101548
101553
|
const buildError = (validatorInfo, message) => JSON.stringify({ ...validatorInfo, message });
|
|
101549
101554
|
const createRule = (validator2, message) => ({
|
|
101550
101555
|
required: true,
|
|
@@ -103067,6 +103072,7 @@ const _sfc_main$2Q = /* @__PURE__ */ defineComponent({
|
|
|
103067
103072
|
}
|
|
103068
103073
|
function openDialog() {
|
|
103069
103074
|
if (!isDialog.value || showReadonly.value || showDisabled.value) return;
|
|
103075
|
+
const isUploadWidget = widgetType.value === "fw:image" || widgetType.value === "fw:file";
|
|
103070
103076
|
GctModal.open({
|
|
103071
103077
|
title: "操作",
|
|
103072
103078
|
body: DialogContainer,
|
|
@@ -103076,9 +103082,16 @@ const _sfc_main$2Q = /* @__PURE__ */ defineComponent({
|
|
|
103076
103082
|
modelValue: modelValue.value,
|
|
103077
103083
|
modelKey: fieldInfo.value?.modelKey
|
|
103078
103084
|
},
|
|
103085
|
+
...isUploadWidget ? {
|
|
103086
|
+
onCancel: ({ bodyRef, close }) => {
|
|
103087
|
+
bodyRef?.value?.cancelUploading?.();
|
|
103088
|
+
close();
|
|
103089
|
+
}
|
|
103090
|
+
} : {},
|
|
103079
103091
|
onConfirm: async ({ bodyRef, close }) => {
|
|
103080
103092
|
try {
|
|
103081
103093
|
const savedValue = await bodyRef?.value?.onSave?.();
|
|
103094
|
+
if (!savedValue) return;
|
|
103082
103095
|
props.doc.dataManager.setMultiple(savedValue);
|
|
103083
103096
|
triggerValidate("change");
|
|
103084
103097
|
close();
|
|
@@ -103157,7 +103170,7 @@ const _sfc_main$2Q = /* @__PURE__ */ defineComponent({
|
|
|
103157
103170
|
};
|
|
103158
103171
|
}
|
|
103159
103172
|
});
|
|
103160
|
-
const OverlayRender = /* @__PURE__ */ _export_sfc(_sfc_main$2Q, [["__scopeId", "data-v-
|
|
103173
|
+
const OverlayRender = /* @__PURE__ */ _export_sfc(_sfc_main$2Q, [["__scopeId", "data-v-327990bf"]]);
|
|
103161
103174
|
let activeHoverId = 0;
|
|
103162
103175
|
function useHoverDelay(callback, delay = 120) {
|
|
103163
103176
|
let timer = null;
|
|
@@ -113710,7 +113723,7 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
|
|
|
113710
113723
|
setup(__props) {
|
|
113711
113724
|
const props = __props;
|
|
113712
113725
|
const interCtx = useInteractionContext();
|
|
113713
|
-
const { showDisabled, runtimeValuePath } = useWidgetStaticAttrs(props.widget);
|
|
113726
|
+
const { docInst, showDisabled, runtimeValuePath } = useWidgetStaticAttrs(props.widget);
|
|
113714
113727
|
const isActive = computed(
|
|
113715
113728
|
() => props.modelId === interCtx.panelData?.modelId || props.modelId === interCtx.hoverModelId
|
|
113716
113729
|
);
|
|
@@ -113725,6 +113738,13 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
|
|
|
113725
113738
|
bg: "#fff2f2"
|
|
113726
113739
|
};
|
|
113727
113740
|
}
|
|
113741
|
+
if (docInst.value.isInPrintMode()) {
|
|
113742
|
+
return {
|
|
113743
|
+
text: props.widget.color,
|
|
113744
|
+
line: "#999999",
|
|
113745
|
+
bg: "transparent"
|
|
113746
|
+
};
|
|
113747
|
+
}
|
|
113728
113748
|
if (showDisabled.value) {
|
|
113729
113749
|
return {
|
|
113730
113750
|
text: "#c9c9c9",
|
|
@@ -126166,7 +126186,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
126166
126186
|
modelKey: {}
|
|
126167
126187
|
},
|
|
126168
126188
|
emits: ["update:modelValue"],
|
|
126169
|
-
setup(__props, { emit: __emit }) {
|
|
126189
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
126170
126190
|
const svg = {
|
|
126171
126191
|
img: ImgSvg,
|
|
126172
126192
|
doc: DocSvg,
|
|
@@ -126330,6 +126350,21 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
126330
126350
|
const urls = fileList.value.filter((i) => i.status === "done" && i.url).map((i) => i.url);
|
|
126331
126351
|
emit("update:modelValue", urls.length ? urls.join(",") : void 0);
|
|
126332
126352
|
}
|
|
126353
|
+
function hasUploading() {
|
|
126354
|
+
return fileList.value.some((i) => i.status === "uploading");
|
|
126355
|
+
}
|
|
126356
|
+
function cancelUploading() {
|
|
126357
|
+
fileList.value.forEach((item) => {
|
|
126358
|
+
if (item.status === "uploading" && item.controller) {
|
|
126359
|
+
item.controller.abort();
|
|
126360
|
+
item.controller = void 0;
|
|
126361
|
+
}
|
|
126362
|
+
});
|
|
126363
|
+
}
|
|
126364
|
+
__expose({
|
|
126365
|
+
hasUploading,
|
|
126366
|
+
cancelUploading
|
|
126367
|
+
});
|
|
126333
126368
|
return (_ctx, _cache) => {
|
|
126334
126369
|
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
126335
126370
|
createElementVNode("div", _hoisted_2$2, [
|
|
@@ -126410,7 +126445,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
126410
126445
|
};
|
|
126411
126446
|
}
|
|
126412
126447
|
});
|
|
126413
|
-
const BaseUploadFile = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
126448
|
+
const BaseUploadFile = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-7f2e8268"]]);
|
|
126414
126449
|
const _hoisted_1$3 = { class: "word-upload-file-dialog" };
|
|
126415
126450
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
126416
126451
|
__name: "upload-file-dialog",
|
|
@@ -126423,6 +126458,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
126423
126458
|
setup(__props, { expose: __expose }) {
|
|
126424
126459
|
const props = __props;
|
|
126425
126460
|
const innerValue = ref(props.modelValue);
|
|
126461
|
+
const uploadRef = ref();
|
|
126426
126462
|
const { runtimeValuePath, widgetProps } = useWidgetMeta(props.widget);
|
|
126427
126463
|
const uploadConfig = computed(() => {
|
|
126428
126464
|
const item = widgetProps.value;
|
|
@@ -126437,14 +126473,27 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
126437
126473
|
};
|
|
126438
126474
|
});
|
|
126439
126475
|
function onSave() {
|
|
126476
|
+
if (uploadRef.value?.hasUploading?.()) {
|
|
126477
|
+
GctMessage.warning("请等待附件上传完成后再点击确定");
|
|
126478
|
+
return;
|
|
126479
|
+
}
|
|
126440
126480
|
return setValue(innerValue.value, runtimeValuePath.value);
|
|
126441
126481
|
}
|
|
126482
|
+
function cancelUploading() {
|
|
126483
|
+
uploadRef.value?.cancelUploading?.();
|
|
126484
|
+
}
|
|
126485
|
+
onBeforeUnmount(() => {
|
|
126486
|
+
cancelUploading();
|
|
126487
|
+
});
|
|
126442
126488
|
__expose({
|
|
126443
|
-
save: onSave
|
|
126489
|
+
save: onSave,
|
|
126490
|
+
cancelUploading
|
|
126444
126491
|
});
|
|
126445
126492
|
return (_ctx, _cache) => {
|
|
126446
126493
|
return openBlock(), createElementBlock("div", _hoisted_1$3, [
|
|
126447
126494
|
createVNode(BaseUploadFile, mergeProps({
|
|
126495
|
+
ref_key: "uploadRef",
|
|
126496
|
+
ref: uploadRef,
|
|
126448
126497
|
"model-value": innerValue.value,
|
|
126449
126498
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerValue.value = $event)
|
|
126450
126499
|
}, uploadConfig.value), null, 16, ["model-value"])
|
|
@@ -126452,7 +126501,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
126452
126501
|
};
|
|
126453
126502
|
}
|
|
126454
126503
|
});
|
|
126455
|
-
const uploadFileDialog = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
126504
|
+
const uploadFileDialog = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-cea10c2d"]]);
|
|
126456
126505
|
const uploadFileDialog$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
126457
126506
|
__proto__: null,
|
|
126458
126507
|
default: uploadFileDialog
|
|
@@ -126483,7 +126532,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
126483
126532
|
modelKey: {}
|
|
126484
126533
|
},
|
|
126485
126534
|
emits: ["update:modelValue"],
|
|
126486
|
-
setup(__props, { emit: __emit }) {
|
|
126535
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
126487
126536
|
const props = __props;
|
|
126488
126537
|
const emit = __emit;
|
|
126489
126538
|
const inputRef = ref();
|
|
@@ -126629,6 +126678,21 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
126629
126678
|
function preview(item) {
|
|
126630
126679
|
previewUrl.value = AssetHelper.resolveUrl(item.url) || item.preview || "";
|
|
126631
126680
|
}
|
|
126681
|
+
function hasUploading() {
|
|
126682
|
+
return fileList.value.some((i) => i.status === "uploading");
|
|
126683
|
+
}
|
|
126684
|
+
function cancelUploading() {
|
|
126685
|
+
fileList.value.forEach((item) => {
|
|
126686
|
+
if (item.status === "uploading" && item.controller) {
|
|
126687
|
+
item.controller.abort();
|
|
126688
|
+
item.controller = void 0;
|
|
126689
|
+
}
|
|
126690
|
+
});
|
|
126691
|
+
}
|
|
126692
|
+
__expose({
|
|
126693
|
+
hasUploading,
|
|
126694
|
+
cancelUploading
|
|
126695
|
+
});
|
|
126632
126696
|
return (_ctx, _cache) => {
|
|
126633
126697
|
return openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
126634
126698
|
createElementVNode("div", _hoisted_2$1, [
|
|
@@ -126707,7 +126771,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
126707
126771
|
};
|
|
126708
126772
|
}
|
|
126709
126773
|
});
|
|
126710
|
-
const BaseUploadImage = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
126774
|
+
const BaseUploadImage = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-815ffe19"]]);
|
|
126711
126775
|
const _hoisted_1$1 = { class: "word-upload-image-dialog" };
|
|
126712
126776
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
126713
126777
|
__name: "upload-image-dialog",
|
|
@@ -126721,6 +126785,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
126721
126785
|
const defaultImageAccept = ["jpg", "jpeg", "png", "bmp"];
|
|
126722
126786
|
const props = __props;
|
|
126723
126787
|
const innerValue = ref(props.modelValue);
|
|
126788
|
+
const uploadRef = ref();
|
|
126724
126789
|
const { runtimeValuePath, widgetProps } = useWidgetMeta(props.widget);
|
|
126725
126790
|
const uploadConfig = computed(() => {
|
|
126726
126791
|
const item = widgetProps.value;
|
|
@@ -126736,14 +126801,27 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
126736
126801
|
};
|
|
126737
126802
|
});
|
|
126738
126803
|
function onSave() {
|
|
126804
|
+
if (uploadRef.value?.hasUploading?.()) {
|
|
126805
|
+
GctMessage.warning("请等待图片上传完成后再点击确定");
|
|
126806
|
+
return;
|
|
126807
|
+
}
|
|
126739
126808
|
return setValue(innerValue.value, runtimeValuePath.value);
|
|
126740
126809
|
}
|
|
126810
|
+
function cancelUploading() {
|
|
126811
|
+
uploadRef.value?.cancelUploading?.();
|
|
126812
|
+
}
|
|
126813
|
+
onBeforeUnmount(() => {
|
|
126814
|
+
cancelUploading();
|
|
126815
|
+
});
|
|
126741
126816
|
__expose({
|
|
126742
|
-
save: onSave
|
|
126817
|
+
save: onSave,
|
|
126818
|
+
cancelUploading
|
|
126743
126819
|
});
|
|
126744
126820
|
return (_ctx, _cache) => {
|
|
126745
126821
|
return openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
126746
126822
|
createVNode(BaseUploadImage, mergeProps({
|
|
126823
|
+
ref_key: "uploadRef",
|
|
126824
|
+
ref: uploadRef,
|
|
126747
126825
|
"model-value": innerValue.value,
|
|
126748
126826
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerValue.value = $event)
|
|
126749
126827
|
}, uploadConfig.value), null, 16, ["model-value"])
|
|
@@ -126751,7 +126829,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
126751
126829
|
};
|
|
126752
126830
|
}
|
|
126753
126831
|
});
|
|
126754
|
-
const uploadImageDialog = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
126832
|
+
const uploadImageDialog = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-dc7fc462"]]);
|
|
126755
126833
|
const uploadImageDialog$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
126756
126834
|
__proto__: null,
|
|
126757
126835
|
default: uploadImageDialog
|
|
@@ -11,6 +11,7 @@ type __VLS_Props = {
|
|
|
11
11
|
};
|
|
12
12
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
13
13
|
onSave: () => Promise<any>;
|
|
14
|
+
cancelUploading: () => void;
|
|
14
15
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
15
16
|
dialogRef: unknown;
|
|
16
17
|
}, HTMLDivElement>;
|
|
@@ -5,7 +5,12 @@ type __VLS_Props = {
|
|
|
5
5
|
accept?: string[];
|
|
6
6
|
modelKey: string;
|
|
7
7
|
};
|
|
8
|
-
declare
|
|
8
|
+
declare function hasUploading(): boolean;
|
|
9
|
+
declare function cancelUploading(): void;
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
11
|
+
hasUploading: typeof hasUploading;
|
|
12
|
+
cancelUploading: typeof cancelUploading;
|
|
13
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
14
|
"update:modelValue": (...args: any[]) => void;
|
|
10
15
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
16
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -10,8 +10,45 @@ type __VLS_Props = {
|
|
|
10
10
|
};
|
|
11
11
|
declare function onSave(): {
|
|
12
12
|
[x: string]: any;
|
|
13
|
-
};
|
|
13
|
+
} | undefined;
|
|
14
|
+
declare function cancelUploading(): void;
|
|
14
15
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
15
16
|
save: typeof onSave;
|
|
16
|
-
|
|
17
|
+
cancelUploading: typeof cancelUploading;
|
|
18
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
19
|
+
uploadRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
20
|
+
modelValue?: string;
|
|
21
|
+
maxCount?: number;
|
|
22
|
+
maxSize?: number;
|
|
23
|
+
accept?: string[];
|
|
24
|
+
modelKey: string;
|
|
25
|
+
}> & Readonly<{
|
|
26
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
hasUploading: () => boolean;
|
|
29
|
+
cancelUploading: () => void;
|
|
30
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
31
|
+
"update:modelValue": (...args: any[]) => void;
|
|
32
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
33
|
+
inputRef: HTMLInputElement;
|
|
34
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
35
|
+
P: {};
|
|
36
|
+
B: {};
|
|
37
|
+
D: {};
|
|
38
|
+
C: {};
|
|
39
|
+
M: {};
|
|
40
|
+
Defaults: {};
|
|
41
|
+
}, Readonly<{
|
|
42
|
+
modelValue?: string;
|
|
43
|
+
maxCount?: number;
|
|
44
|
+
maxSize?: number;
|
|
45
|
+
accept?: string[];
|
|
46
|
+
modelKey: string;
|
|
47
|
+
}> & Readonly<{
|
|
48
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
}>, {
|
|
50
|
+
hasUploading: () => boolean;
|
|
51
|
+
cancelUploading: () => void;
|
|
52
|
+
}, {}, {}, {}, {}> | null;
|
|
53
|
+
}, HTMLDivElement>;
|
|
17
54
|
export default _default;
|
|
@@ -5,7 +5,12 @@ type __VLS_Props = {
|
|
|
5
5
|
accept?: string[];
|
|
6
6
|
modelKey: string;
|
|
7
7
|
};
|
|
8
|
-
declare
|
|
8
|
+
declare function hasUploading(): boolean;
|
|
9
|
+
declare function cancelUploading(): void;
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
11
|
+
hasUploading: typeof hasUploading;
|
|
12
|
+
cancelUploading: typeof cancelUploading;
|
|
13
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
14
|
"update:modelValue": (...args: any[]) => void;
|
|
10
15
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
16
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -10,8 +10,45 @@ type __VLS_Props = {
|
|
|
10
10
|
};
|
|
11
11
|
declare function onSave(): {
|
|
12
12
|
[x: string]: any;
|
|
13
|
-
};
|
|
13
|
+
} | undefined;
|
|
14
|
+
declare function cancelUploading(): void;
|
|
14
15
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
15
16
|
save: typeof onSave;
|
|
16
|
-
|
|
17
|
+
cancelUploading: typeof cancelUploading;
|
|
18
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
19
|
+
uploadRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
20
|
+
modelValue?: string;
|
|
21
|
+
maxCount?: number;
|
|
22
|
+
maxSize?: number;
|
|
23
|
+
accept?: string[];
|
|
24
|
+
modelKey: string;
|
|
25
|
+
}> & Readonly<{
|
|
26
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
hasUploading: () => boolean;
|
|
29
|
+
cancelUploading: () => void;
|
|
30
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
31
|
+
"update:modelValue": (...args: any[]) => void;
|
|
32
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
33
|
+
inputRef: HTMLInputElement;
|
|
34
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
35
|
+
P: {};
|
|
36
|
+
B: {};
|
|
37
|
+
D: {};
|
|
38
|
+
C: {};
|
|
39
|
+
M: {};
|
|
40
|
+
Defaults: {};
|
|
41
|
+
}, Readonly<{
|
|
42
|
+
modelValue?: string;
|
|
43
|
+
maxCount?: number;
|
|
44
|
+
maxSize?: number;
|
|
45
|
+
accept?: string[];
|
|
46
|
+
modelKey: string;
|
|
47
|
+
}> & Readonly<{
|
|
48
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
}>, {
|
|
50
|
+
hasUploading: () => boolean;
|
|
51
|
+
cancelUploading: () => void;
|
|
52
|
+
}, {}, {}, {}, {}> | null;
|
|
53
|
+
}, HTMLDivElement>;
|
|
17
54
|
export default _default;
|
package/dist/word.css
CHANGED
|
@@ -6710,19 +6710,19 @@ textarea[data-v-57fe54a3]::placeholder {
|
|
|
6710
6710
|
.message-move[data-v-284e47b1] {
|
|
6711
6711
|
transition: transform 0.25s ease;
|
|
6712
6712
|
}
|
|
6713
|
-
.gct-modal-mask[data-v-
|
|
6713
|
+
.gct-modal-mask[data-v-aba80473] {
|
|
6714
6714
|
position: fixed;
|
|
6715
6715
|
inset: 0;
|
|
6716
6716
|
background: rgba(0, 0, 0, 0.15);
|
|
6717
6717
|
}
|
|
6718
|
-
.gct-modal-wrapper[data-v-
|
|
6718
|
+
.gct-modal-wrapper[data-v-aba80473] {
|
|
6719
6719
|
position: fixed;
|
|
6720
6720
|
inset: 0;
|
|
6721
6721
|
display: flex;
|
|
6722
6722
|
align-items: center;
|
|
6723
6723
|
justify-content: center;
|
|
6724
6724
|
}
|
|
6725
|
-
.gct-modal-wrapper .gct-modal[data-v-
|
|
6725
|
+
.gct-modal-wrapper .gct-modal[data-v-aba80473] {
|
|
6726
6726
|
background: #fff;
|
|
6727
6727
|
border-radius: 8px;
|
|
6728
6728
|
display: flex;
|
|
@@ -6730,21 +6730,21 @@ textarea[data-v-57fe54a3]::placeholder {
|
|
|
6730
6730
|
max-height: 80vh;
|
|
6731
6731
|
overflow: hidden;
|
|
6732
6732
|
}
|
|
6733
|
-
.gct-modal-wrapper .gct-modal .modal-header[data-v-
|
|
6734
|
-
.gct-modal-wrapper .gct-modal .modal-footer[data-v-
|
|
6733
|
+
.gct-modal-wrapper .gct-modal .modal-header[data-v-aba80473],
|
|
6734
|
+
.gct-modal-wrapper .gct-modal .modal-footer[data-v-aba80473] {
|
|
6735
6735
|
display: flex;
|
|
6736
6736
|
align-items: center;
|
|
6737
6737
|
padding: 12px 16px;
|
|
6738
6738
|
flex-shrink: 0;
|
|
6739
6739
|
}
|
|
6740
|
-
.gct-modal-wrapper .gct-modal .modal-header[data-v-
|
|
6740
|
+
.gct-modal-wrapper .gct-modal .modal-header[data-v-aba80473] {
|
|
6741
6741
|
border-bottom: 1px solid #eee;
|
|
6742
6742
|
justify-content: space-between;
|
|
6743
6743
|
}
|
|
6744
|
-
.gct-modal-wrapper .gct-modal .modal-header .header-title[data-v-
|
|
6744
|
+
.gct-modal-wrapper .gct-modal .modal-header .header-title[data-v-aba80473] {
|
|
6745
6745
|
font-weight: 500;
|
|
6746
6746
|
}
|
|
6747
|
-
.gct-modal-wrapper .gct-modal .modal-header .header-close-button[data-v-
|
|
6747
|
+
.gct-modal-wrapper .gct-modal .modal-header .header-close-button[data-v-aba80473] {
|
|
6748
6748
|
width: 28px;
|
|
6749
6749
|
height: 28px;
|
|
6750
6750
|
border: none;
|
|
@@ -6755,36 +6755,36 @@ textarea[data-v-57fe54a3]::placeholder {
|
|
|
6755
6755
|
border-radius: 2px;
|
|
6756
6756
|
color: #999;
|
|
6757
6757
|
}
|
|
6758
|
-
.gct-modal-wrapper .gct-modal .modal-header .header-close-button[data-v-
|
|
6758
|
+
.gct-modal-wrapper .gct-modal .modal-header .header-close-button[data-v-aba80473]:hover {
|
|
6759
6759
|
background-color: #efefef;
|
|
6760
6760
|
}
|
|
6761
|
-
.gct-modal-wrapper .gct-modal .modal-body[data-v-
|
|
6761
|
+
.gct-modal-wrapper .gct-modal .modal-body[data-v-aba80473] {
|
|
6762
6762
|
padding: 16px;
|
|
6763
6763
|
overflow: auto;
|
|
6764
6764
|
flex: 1;
|
|
6765
6765
|
}
|
|
6766
|
-
.gct-modal-wrapper .gct-modal .modal-footer[data-v-
|
|
6766
|
+
.gct-modal-wrapper .gct-modal .modal-footer[data-v-aba80473] {
|
|
6767
6767
|
border-top: 1px solid #eee;
|
|
6768
6768
|
justify-content: flex-end;
|
|
6769
6769
|
}
|
|
6770
|
-
.gct-modal-wrapper .gct-modal .modal-footer .gct-button ~ .gct-button[data-v-
|
|
6770
|
+
.gct-modal-wrapper .gct-modal .modal-footer .gct-button ~ .gct-button[data-v-aba80473] {
|
|
6771
6771
|
margin-left: 10px;
|
|
6772
6772
|
}
|
|
6773
6773
|
/* animations */
|
|
6774
|
-
.gct-modal-mask-enter-active[data-v-
|
|
6775
|
-
.gct-modal-mask-leave-active[data-v-
|
|
6774
|
+
.gct-modal-mask-enter-active[data-v-aba80473],
|
|
6775
|
+
.gct-modal-mask-leave-active[data-v-aba80473] {
|
|
6776
6776
|
transition: opacity 0.2s;
|
|
6777
6777
|
}
|
|
6778
|
-
.gct-modal-mask-enter-from[data-v-
|
|
6779
|
-
.gct-modal-mask-leave-to[data-v-
|
|
6778
|
+
.gct-modal-mask-enter-from[data-v-aba80473],
|
|
6779
|
+
.gct-modal-mask-leave-to[data-v-aba80473] {
|
|
6780
6780
|
opacity: 0;
|
|
6781
6781
|
}
|
|
6782
|
-
.gct-modal-wrapper-enter-active[data-v-
|
|
6783
|
-
.gct-modal-wrapper-leave-active[data-v-
|
|
6782
|
+
.gct-modal-wrapper-enter-active[data-v-aba80473],
|
|
6783
|
+
.gct-modal-wrapper-leave-active[data-v-aba80473] {
|
|
6784
6784
|
transition: all 0.2s ease;
|
|
6785
6785
|
}
|
|
6786
|
-
.gct-modal-wrapper-enter-from[data-v-
|
|
6787
|
-
.gct-modal-wrapper-leave-to[data-v-
|
|
6786
|
+
.gct-modal-wrapper-enter-from[data-v-aba80473],
|
|
6787
|
+
.gct-modal-wrapper-leave-to[data-v-aba80473] {
|
|
6788
6788
|
opacity: 0;
|
|
6789
6789
|
transform: scale(0.95);
|
|
6790
6790
|
}
|
|
@@ -7680,13 +7680,13 @@ textarea[data-v-57fe54a3]::placeholder {
|
|
|
7680
7680
|
padding: 16px;
|
|
7681
7681
|
min-height: 100px;
|
|
7682
7682
|
}
|
|
7683
|
-
.dialog-container[data-v-
|
|
7683
|
+
.dialog-container[data-v-0c78d10e] {
|
|
7684
7684
|
background-color: #fff;
|
|
7685
7685
|
overflow: hidden;
|
|
7686
7686
|
width: 100%;
|
|
7687
7687
|
height: 100%;
|
|
7688
7688
|
}
|
|
7689
|
-
.widget-container-action[data-v-
|
|
7689
|
+
.widget-container-action[data-v-327990bf] {
|
|
7690
7690
|
position: absolute;
|
|
7691
7691
|
inset: 0;
|
|
7692
7692
|
z-index: 999;
|
|
@@ -7694,7 +7694,7 @@ textarea[data-v-57fe54a3]::placeholder {
|
|
|
7694
7694
|
height: 0;
|
|
7695
7695
|
pointer-events: all;
|
|
7696
7696
|
}
|
|
7697
|
-
.picker-trigger[data-v-
|
|
7697
|
+
.picker-trigger[data-v-327990bf] {
|
|
7698
7698
|
width: 100%;
|
|
7699
7699
|
height: 100%;
|
|
7700
7700
|
display: flex;
|
|
@@ -7705,14 +7705,14 @@ textarea[data-v-57fe54a3]::placeholder {
|
|
|
7705
7705
|
box-sizing: border-box;
|
|
7706
7706
|
border-radius: 2px;
|
|
7707
7707
|
}
|
|
7708
|
-
.picker-trigger.disabled[data-v-
|
|
7708
|
+
.picker-trigger.disabled[data-v-327990bf] {
|
|
7709
7709
|
cursor: not-allowed;
|
|
7710
7710
|
border: 1px solid rgba(13, 13, 13, 0.12);
|
|
7711
7711
|
}
|
|
7712
|
-
.picker-trigger.disabled .gct-icon[data-v-
|
|
7712
|
+
.picker-trigger.disabled .gct-icon[data-v-327990bf] {
|
|
7713
7713
|
color: rgba(0, 0, 0, 0.25);
|
|
7714
7714
|
}
|
|
7715
|
-
.picker-trigger.readonly[data-v-
|
|
7715
|
+
.picker-trigger.readonly[data-v-327990bf] {
|
|
7716
7716
|
cursor: default;
|
|
7717
7717
|
}
|
|
7718
7718
|
.resize-box[data-v-788ab62c] {
|
|
@@ -11937,14 +11937,14 @@ svg.portrait-icon[data-v-8bdb451e] {
|
|
|
11937
11937
|
gap: 12px;
|
|
11938
11938
|
padding-bottom: 12px;
|
|
11939
11939
|
}
|
|
11940
|
-
.word-base-upload-modal[data-v-
|
|
11940
|
+
.word-base-upload-modal[data-v-7f2e8268] {
|
|
11941
11941
|
position: relative;
|
|
11942
11942
|
width: 100%;
|
|
11943
11943
|
}
|
|
11944
|
-
.word-base-upload-modal .upload-dragger[data-v-
|
|
11944
|
+
.word-base-upload-modal .upload-dragger[data-v-7f2e8268] {
|
|
11945
11945
|
position: relative;
|
|
11946
11946
|
}
|
|
11947
|
-
.word-base-upload-modal .upload-dragger .upload[data-v-
|
|
11947
|
+
.word-base-upload-modal .upload-dragger .upload[data-v-7f2e8268] {
|
|
11948
11948
|
border: 1px dashed #d9d9d9;
|
|
11949
11949
|
background: #f7f8fa;
|
|
11950
11950
|
border-radius: 2px;
|
|
@@ -11954,53 +11954,53 @@ svg.portrait-icon[data-v-8bdb451e] {
|
|
|
11954
11954
|
text-align: center;
|
|
11955
11955
|
transition: border-color 0.3s;
|
|
11956
11956
|
}
|
|
11957
|
-
.word-base-upload-modal .upload-dragger .upload[data-v-
|
|
11957
|
+
.word-base-upload-modal .upload-dragger .upload[data-v-7f2e8268]:hover {
|
|
11958
11958
|
border-color: #026ac8;
|
|
11959
11959
|
}
|
|
11960
|
-
.word-base-upload-modal .upload-dragger .upload.dragover[data-v-
|
|
11960
|
+
.word-base-upload-modal .upload-dragger .upload.dragover[data-v-7f2e8268] {
|
|
11961
11961
|
border-color: #026ac8;
|
|
11962
11962
|
background: #eef6ff;
|
|
11963
11963
|
}
|
|
11964
|
-
.word-base-upload-modal .upload-dragger .upload .input[data-v-
|
|
11964
|
+
.word-base-upload-modal .upload-dragger .upload .input[data-v-7f2e8268] {
|
|
11965
11965
|
display: none;
|
|
11966
11966
|
}
|
|
11967
|
-
.word-base-upload-modal .upload-dragger .upload .upload-content[data-v-
|
|
11967
|
+
.word-base-upload-modal .upload-dragger .upload .upload-content[data-v-7f2e8268] {
|
|
11968
11968
|
position: relative;
|
|
11969
11969
|
padding: 24px;
|
|
11970
11970
|
}
|
|
11971
|
-
.word-base-upload-modal .upload-dragger .upload .upload-content .icon[data-v-
|
|
11971
|
+
.word-base-upload-modal .upload-dragger .upload .upload-content .icon[data-v-7f2e8268] {
|
|
11972
11972
|
display: flex;
|
|
11973
11973
|
justify-content: center;
|
|
11974
11974
|
align-items: center;
|
|
11975
11975
|
}
|
|
11976
|
-
.word-base-upload-modal .upload-dragger .upload .upload-content .text[data-v-
|
|
11976
|
+
.word-base-upload-modal .upload-dragger .upload .upload-content .text[data-v-7f2e8268] {
|
|
11977
11977
|
margin-top: 4px;
|
|
11978
11978
|
font-size: 14px;
|
|
11979
11979
|
line-height: 24px;
|
|
11980
11980
|
}
|
|
11981
|
-
.word-base-upload-modal .upload-dragger .upload.is-disabled[data-v-
|
|
11981
|
+
.word-base-upload-modal .upload-dragger .upload.is-disabled[data-v-7f2e8268] {
|
|
11982
11982
|
cursor: not-allowed;
|
|
11983
11983
|
background: #fafafa;
|
|
11984
11984
|
border-color: #e5e6eb;
|
|
11985
11985
|
}
|
|
11986
|
-
.word-base-upload-modal .upload-dragger .upload.is-disabled[data-v-
|
|
11986
|
+
.word-base-upload-modal .upload-dragger .upload.is-disabled[data-v-7f2e8268]:hover {
|
|
11987
11987
|
border-color: #e5e6eb;
|
|
11988
11988
|
}
|
|
11989
|
-
.word-base-upload-modal .upload-dragger .upload.is-disabled .upload-content[data-v-
|
|
11989
|
+
.word-base-upload-modal .upload-dragger .upload.is-disabled .upload-content[data-v-7f2e8268] {
|
|
11990
11990
|
opacity: 0.4;
|
|
11991
11991
|
}
|
|
11992
|
-
.word-base-upload-modal .upload-dragger .scrollbar[data-v-
|
|
11992
|
+
.word-base-upload-modal .upload-dragger .scrollbar[data-v-7f2e8268] {
|
|
11993
11993
|
position: relative;
|
|
11994
11994
|
margin-top: 8px;
|
|
11995
11995
|
}
|
|
11996
|
-
.word-base-upload-modal .upload-dragger .file-box[data-v-
|
|
11996
|
+
.word-base-upload-modal .upload-dragger .file-box[data-v-7f2e8268] {
|
|
11997
11997
|
display: flex;
|
|
11998
11998
|
flex-direction: column;
|
|
11999
11999
|
gap: 8px;
|
|
12000
12000
|
padding: 8px 0;
|
|
12001
12001
|
max-height: 200px;
|
|
12002
12002
|
}
|
|
12003
|
-
.word-base-upload-modal .upload-dragger .file-item[data-v-
|
|
12003
|
+
.word-base-upload-modal .upload-dragger .file-item[data-v-7f2e8268] {
|
|
12004
12004
|
position: relative;
|
|
12005
12005
|
padding: 8px 12px 8px 4px;
|
|
12006
12006
|
border: 1px solid #e5e6eb;
|
|
@@ -12009,23 +12009,23 @@ svg.portrait-icon[data-v-8bdb451e] {
|
|
|
12009
12009
|
display: flex;
|
|
12010
12010
|
flex-direction: column;
|
|
12011
12011
|
}
|
|
12012
|
-
.word-base-upload-modal .upload-dragger .file-info[data-v-
|
|
12012
|
+
.word-base-upload-modal .upload-dragger .file-info[data-v-7f2e8268] {
|
|
12013
12013
|
display: flex;
|
|
12014
12014
|
align-items: center;
|
|
12015
12015
|
}
|
|
12016
|
-
.word-base-upload-modal .upload-dragger .svg-icon[data-v-
|
|
12016
|
+
.word-base-upload-modal .upload-dragger .svg-icon[data-v-7f2e8268] {
|
|
12017
12017
|
width: 42px;
|
|
12018
12018
|
height: 42px;
|
|
12019
12019
|
object-fit: cover;
|
|
12020
12020
|
margin-right: 4px;
|
|
12021
12021
|
}
|
|
12022
|
-
.word-base-upload-modal .upload-dragger .meta[data-v-
|
|
12022
|
+
.word-base-upload-modal .upload-dragger .meta[data-v-7f2e8268] {
|
|
12023
12023
|
display: flex;
|
|
12024
12024
|
flex-direction: column;
|
|
12025
12025
|
overflow: hidden;
|
|
12026
12026
|
padding-right: 24px;
|
|
12027
12027
|
}
|
|
12028
|
-
.word-base-upload-modal .upload-dragger .file-name[data-v-
|
|
12028
|
+
.word-base-upload-modal .upload-dragger .file-name[data-v-7f2e8268] {
|
|
12029
12029
|
font-size: 14px;
|
|
12030
12030
|
color: #333;
|
|
12031
12031
|
line-height: 22px;
|
|
@@ -12033,38 +12033,38 @@ svg.portrait-icon[data-v-8bdb451e] {
|
|
|
12033
12033
|
text-overflow: ellipsis;
|
|
12034
12034
|
white-space: nowrap;
|
|
12035
12035
|
}
|
|
12036
|
-
.word-base-upload-modal .upload-dragger .file-name.clickable[data-v-
|
|
12036
|
+
.word-base-upload-modal .upload-dragger .file-name.clickable[data-v-7f2e8268] {
|
|
12037
12037
|
cursor: pointer;
|
|
12038
12038
|
}
|
|
12039
|
-
.word-base-upload-modal .upload-dragger .file-name.clickable[data-v-
|
|
12039
|
+
.word-base-upload-modal .upload-dragger .file-name.clickable[data-v-7f2e8268]:hover {
|
|
12040
12040
|
color: #1677ff;
|
|
12041
12041
|
text-decoration: underline;
|
|
12042
12042
|
}
|
|
12043
|
-
.word-base-upload-modal .upload-dragger .file-size[data-v-
|
|
12043
|
+
.word-base-upload-modal .upload-dragger .file-size[data-v-7f2e8268] {
|
|
12044
12044
|
font-size: 12px;
|
|
12045
12045
|
color: #86909c;
|
|
12046
12046
|
margin-top: 2px;
|
|
12047
12047
|
line-height: 20px;
|
|
12048
12048
|
}
|
|
12049
|
-
.word-base-upload-modal .upload-dragger .status[data-v-
|
|
12049
|
+
.word-base-upload-modal .upload-dragger .status[data-v-7f2e8268] {
|
|
12050
12050
|
font-size: 12px;
|
|
12051
12051
|
color: #f53f3f;
|
|
12052
12052
|
line-height: 20px;
|
|
12053
12053
|
margin-top: 4px;
|
|
12054
12054
|
}
|
|
12055
|
-
.word-base-upload-modal .upload-dragger .progress[data-v-
|
|
12055
|
+
.word-base-upload-modal .upload-dragger .progress[data-v-7f2e8268] {
|
|
12056
12056
|
margin-top: 6px;
|
|
12057
12057
|
width: 100%;
|
|
12058
12058
|
height: 4px;
|
|
12059
12059
|
background: rgba(0, 0, 0, 0.06);
|
|
12060
12060
|
}
|
|
12061
|
-
.word-base-upload-modal .upload-dragger .progress-inner[data-v-
|
|
12061
|
+
.word-base-upload-modal .upload-dragger .progress-inner[data-v-7f2e8268] {
|
|
12062
12062
|
height: 100%;
|
|
12063
12063
|
background: #026ac8;
|
|
12064
12064
|
border-radius: 100px;
|
|
12065
12065
|
transition: all 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
|
12066
12066
|
}
|
|
12067
|
-
.word-base-upload-modal .upload-dragger .delete[data-v-
|
|
12067
|
+
.word-base-upload-modal .upload-dragger .delete[data-v-7f2e8268] {
|
|
12068
12068
|
position: absolute;
|
|
12069
12069
|
top: 9px;
|
|
12070
12070
|
right: 8px;
|
|
@@ -12077,20 +12077,20 @@ svg.portrait-icon[data-v-8bdb451e] {
|
|
|
12077
12077
|
justify-content: center;
|
|
12078
12078
|
cursor: pointer;
|
|
12079
12079
|
}
|
|
12080
|
-
.word-upload-file-dialog[data-v-
|
|
12080
|
+
.word-upload-file-dialog[data-v-cea10c2d] {
|
|
12081
12081
|
position: relative;
|
|
12082
12082
|
overflow: hidden;
|
|
12083
12083
|
width: 100%;
|
|
12084
12084
|
height: 100%;
|
|
12085
12085
|
}
|
|
12086
|
-
.word-base-upload-modal[data-v-
|
|
12086
|
+
.word-base-upload-modal[data-v-815ffe19] {
|
|
12087
12087
|
position: relative;
|
|
12088
12088
|
width: 100%;
|
|
12089
12089
|
}
|
|
12090
|
-
.word-base-upload-modal .upload-dragger[data-v-
|
|
12090
|
+
.word-base-upload-modal .upload-dragger[data-v-815ffe19] {
|
|
12091
12091
|
position: relative;
|
|
12092
12092
|
}
|
|
12093
|
-
.word-base-upload-modal .upload-dragger .upload[data-v-
|
|
12093
|
+
.word-base-upload-modal .upload-dragger .upload[data-v-815ffe19] {
|
|
12094
12094
|
border: 1px dashed #d9d9d9;
|
|
12095
12095
|
background: #f7f8fa;
|
|
12096
12096
|
border-radius: 2px;
|
|
@@ -12100,42 +12100,42 @@ svg.portrait-icon[data-v-8bdb451e] {
|
|
|
12100
12100
|
text-align: center;
|
|
12101
12101
|
transition: border-color 0.3s;
|
|
12102
12102
|
}
|
|
12103
|
-
.word-base-upload-modal .upload-dragger .upload[data-v-
|
|
12103
|
+
.word-base-upload-modal .upload-dragger .upload[data-v-815ffe19]:hover {
|
|
12104
12104
|
border-color: #026ac8;
|
|
12105
12105
|
}
|
|
12106
|
-
.word-base-upload-modal .upload-dragger .upload.dragover[data-v-
|
|
12106
|
+
.word-base-upload-modal .upload-dragger .upload.dragover[data-v-815ffe19] {
|
|
12107
12107
|
border-color: #026ac8;
|
|
12108
12108
|
background: #eef6ff;
|
|
12109
12109
|
}
|
|
12110
|
-
.word-base-upload-modal .upload-dragger .upload .input[data-v-
|
|
12110
|
+
.word-base-upload-modal .upload-dragger .upload .input[data-v-815ffe19] {
|
|
12111
12111
|
display: none;
|
|
12112
12112
|
}
|
|
12113
|
-
.word-base-upload-modal .upload-dragger .upload .upload-content[data-v-
|
|
12113
|
+
.word-base-upload-modal .upload-dragger .upload .upload-content[data-v-815ffe19] {
|
|
12114
12114
|
position: relative;
|
|
12115
12115
|
padding: 24px;
|
|
12116
12116
|
}
|
|
12117
|
-
.word-base-upload-modal .upload-dragger .upload .upload-content .icon[data-v-
|
|
12117
|
+
.word-base-upload-modal .upload-dragger .upload .upload-content .icon[data-v-815ffe19] {
|
|
12118
12118
|
display: flex;
|
|
12119
12119
|
justify-content: center;
|
|
12120
12120
|
align-items: center;
|
|
12121
12121
|
}
|
|
12122
|
-
.word-base-upload-modal .upload-dragger .upload .upload-content .text[data-v-
|
|
12122
|
+
.word-base-upload-modal .upload-dragger .upload .upload-content .text[data-v-815ffe19] {
|
|
12123
12123
|
margin-top: 4px;
|
|
12124
12124
|
font-size: 14px;
|
|
12125
12125
|
line-height: 24px;
|
|
12126
12126
|
}
|
|
12127
|
-
.word-base-upload-modal .upload-dragger .upload.is-disabled[data-v-
|
|
12127
|
+
.word-base-upload-modal .upload-dragger .upload.is-disabled[data-v-815ffe19] {
|
|
12128
12128
|
cursor: not-allowed;
|
|
12129
12129
|
background: #fafafa;
|
|
12130
12130
|
border-color: #e5e6eb;
|
|
12131
12131
|
}
|
|
12132
|
-
.word-base-upload-modal .upload-dragger .upload.is-disabled[data-v-
|
|
12132
|
+
.word-base-upload-modal .upload-dragger .upload.is-disabled[data-v-815ffe19]:hover {
|
|
12133
12133
|
border-color: #e5e6eb;
|
|
12134
12134
|
}
|
|
12135
|
-
.word-base-upload-modal .upload-dragger .upload.is-disabled .upload-content[data-v-
|
|
12135
|
+
.word-base-upload-modal .upload-dragger .upload.is-disabled .upload-content[data-v-815ffe19] {
|
|
12136
12136
|
opacity: 0.4;
|
|
12137
12137
|
}
|
|
12138
|
-
.word-base-upload-modal .upload-dragger .img-box[data-v-
|
|
12138
|
+
.word-base-upload-modal .upload-dragger .img-box[data-v-815ffe19] {
|
|
12139
12139
|
display: flex;
|
|
12140
12140
|
gap: 12px;
|
|
12141
12141
|
flex-wrap: wrap;
|
|
@@ -12143,16 +12143,16 @@ svg.portrait-icon[data-v-8bdb451e] {
|
|
|
12143
12143
|
padding-top: 8px;
|
|
12144
12144
|
padding-bottom: 8px;
|
|
12145
12145
|
}
|
|
12146
|
-
.word-base-upload-modal .upload-dragger .scrollbar[data-v-
|
|
12146
|
+
.word-base-upload-modal .upload-dragger .scrollbar[data-v-815ffe19] {
|
|
12147
12147
|
position: relative;
|
|
12148
12148
|
margin-top: 8px;
|
|
12149
12149
|
}
|
|
12150
|
-
.word-base-upload-modal .upload-dragger .img-item[data-v-
|
|
12150
|
+
.word-base-upload-modal .upload-dragger .img-item[data-v-815ffe19] {
|
|
12151
12151
|
width: 80px;
|
|
12152
12152
|
height: 80px;
|
|
12153
12153
|
position: relative;
|
|
12154
12154
|
}
|
|
12155
|
-
.word-base-upload-modal .upload-dragger .img[data-v-
|
|
12155
|
+
.word-base-upload-modal .upload-dragger .img[data-v-815ffe19] {
|
|
12156
12156
|
display: block;
|
|
12157
12157
|
width: 100%;
|
|
12158
12158
|
height: 100%;
|
|
@@ -12161,7 +12161,7 @@ svg.portrait-icon[data-v-8bdb451e] {
|
|
|
12161
12161
|
cursor: pointer;
|
|
12162
12162
|
background-color: #f7f8fa;
|
|
12163
12163
|
}
|
|
12164
|
-
.word-base-upload-modal .upload-dragger .delete[data-v-
|
|
12164
|
+
.word-base-upload-modal .upload-dragger .delete[data-v-815ffe19] {
|
|
12165
12165
|
position: absolute;
|
|
12166
12166
|
top: -6px;
|
|
12167
12167
|
right: -6px;
|
|
@@ -12174,7 +12174,7 @@ svg.portrait-icon[data-v-8bdb451e] {
|
|
|
12174
12174
|
justify-content: center;
|
|
12175
12175
|
cursor: pointer;
|
|
12176
12176
|
}
|
|
12177
|
-
.word-base-upload-modal .upload-dragger .progress[data-v-
|
|
12177
|
+
.word-base-upload-modal .upload-dragger .progress[data-v-815ffe19] {
|
|
12178
12178
|
position: absolute;
|
|
12179
12179
|
bottom: 0;
|
|
12180
12180
|
left: 0;
|
|
@@ -12182,14 +12182,14 @@ svg.portrait-icon[data-v-8bdb451e] {
|
|
|
12182
12182
|
height: 2px;
|
|
12183
12183
|
background: rgba(0, 0, 0, 0.06);
|
|
12184
12184
|
}
|
|
12185
|
-
.word-base-upload-modal .upload-dragger .progress-inner[data-v-
|
|
12185
|
+
.word-base-upload-modal .upload-dragger .progress-inner[data-v-815ffe19] {
|
|
12186
12186
|
height: 100%;
|
|
12187
12187
|
background: #026ac8;
|
|
12188
12188
|
position: relative;
|
|
12189
12189
|
border-radius: 100px;
|
|
12190
12190
|
transition: all 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
|
12191
12191
|
}
|
|
12192
|
-
.word-base-upload-modal .upload-dragger .preview-mask[data-v-
|
|
12192
|
+
.word-base-upload-modal .upload-dragger .preview-mask[data-v-815ffe19] {
|
|
12193
12193
|
position: fixed;
|
|
12194
12194
|
inset: 0;
|
|
12195
12195
|
background: rgba(0, 0, 0, 0.4);
|
|
@@ -12198,11 +12198,11 @@ svg.portrait-icon[data-v-8bdb451e] {
|
|
|
12198
12198
|
justify-content: center;
|
|
12199
12199
|
z-index: 9999;
|
|
12200
12200
|
}
|
|
12201
|
-
.word-base-upload-modal .upload-dragger .preview-mask img[data-v-
|
|
12201
|
+
.word-base-upload-modal .upload-dragger .preview-mask img[data-v-815ffe19] {
|
|
12202
12202
|
max-width: 80%;
|
|
12203
12203
|
max-height: 80%;
|
|
12204
12204
|
}
|
|
12205
|
-
.word-upload-image-dialog[data-v-
|
|
12205
|
+
.word-upload-image-dialog[data-v-dc7fc462] {
|
|
12206
12206
|
position: relative;
|
|
12207
12207
|
overflow: hidden;
|
|
12208
12208
|
width: 100%;
|