mrxy-yk 1.1.1 → 1.1.2
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/components/echarts-canvas/EChartsCanvas.vue.js +1 -1
- package/dist/components/echarts-canvas/EChartsCanvas.vue2.js +1 -0
- package/dist/element-plus/components/upload/upload-files/UploadFiles.vue.js +1 -1
- package/dist/element-plus/components/upload/upload-files/UploadFiles.vue2.js +2 -14
- package/dist/element-plus/components/upload/upload-images/UploadImages.d.ts +4 -8
- package/dist/element-plus/components/upload/upload-images/UploadImages.vue.js +1 -1
- package/dist/element-plus/components/upload/upload-images/UploadImages.vue2.js +2 -14
- package/dist/styles/index.css +1 -1
- package/dist/utils/echarts/modules/series/line.js +1 -1
- package/package.json +1 -1
- package/web-types.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./EChartsCanvas.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
var EChartsCanvas = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
var EChartsCanvas = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-aef06525"]]);
|
|
5
5
|
export {
|
|
6
6
|
EChartsCanvas as default
|
|
7
7
|
};
|
|
@@ -58,6 +58,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
58
58
|
props.emptyHook ? (openBlock(), createBlock(_sfc_main$1, {
|
|
59
59
|
key: 0,
|
|
60
60
|
class: "position-absolute wh-100",
|
|
61
|
+
style: { "z-index": "99" },
|
|
61
62
|
hook: props.emptyHook
|
|
62
63
|
}, null, 8, ["hook"])) : createCommentVNode("", true),
|
|
63
64
|
createElementVNode("div", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./UploadFiles.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
var UploadFiles = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
var UploadFiles = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c72b62a3"]]);
|
|
5
5
|
export {
|
|
6
6
|
UploadFiles as default
|
|
7
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ElIcon } from "element-plus/es";
|
|
2
|
-
import { defineComponent, getCurrentInstance, ref, inject, shallowRef, onMounted,
|
|
2
|
+
import { defineComponent, getCurrentInstance, ref, inject, shallowRef, onMounted, computed, watch, createElementBlock, openBlock, normalizeStyle, createVNode, unref, normalizeClass, withCtx, renderSlot, createCommentVNode, createElementVNode, toDisplayString } from "vue";
|
|
3
3
|
import { UploadFilled } from "@element-plus/icons-vue";
|
|
4
4
|
import { ElUpload } from "element-plus";
|
|
5
5
|
import { acceptMIMELib } from "../accept/index.js";
|
|
@@ -36,14 +36,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
36
36
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
37
37
|
const props = __props;
|
|
38
38
|
const emits = __emit;
|
|
39
|
-
|
|
39
|
+
getCurrentInstance();
|
|
40
40
|
const uploadRef = ref();
|
|
41
41
|
const formDialogInject = inject("/YkElFormDialog");
|
|
42
42
|
const formDialogInjectEvent = shallowRef();
|
|
43
43
|
onMounted(() => {
|
|
44
44
|
if (!formDialogInject) return;
|
|
45
45
|
formDialogInjectEvent.value = useInjectEventsHooks({ mittEvent: formDialogInject.eventBus });
|
|
46
|
-
formDialogInjectEvent.value.on("resetFields", clearFiles);
|
|
47
46
|
formDialogInjectEvent.value.on("getUploadHandle", () => {
|
|
48
47
|
formDialogInjectEventEmit("uploadHandleResult", {
|
|
49
48
|
count: uploadUserFile.value.filter((item) => item.raw).length,
|
|
@@ -56,17 +55,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
56
55
|
formDialogInjectEvent.value.emit(type, data);
|
|
57
56
|
}
|
|
58
57
|
}
|
|
59
|
-
const uploadGroup = inject("YkUploadGroup");
|
|
60
|
-
onMounted(() => {
|
|
61
|
-
if (uploadGroup) {
|
|
62
|
-
uploadGroup.register(instance);
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
onBeforeUnmount(() => {
|
|
66
|
-
if (uploadGroup) {
|
|
67
|
-
uploadGroup.unregister(instance);
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
58
|
const uploadImageStyle = computed(() => ({
|
|
71
59
|
"--upload-size-w": props.width,
|
|
72
60
|
"--upload-size-h": props.height
|
|
@@ -130,8 +130,7 @@ declare function __VLS_template(): {
|
|
|
130
130
|
(): (uploadFile: UploadFile) => void;
|
|
131
131
|
new (): any;
|
|
132
132
|
readonly prototype: any;
|
|
133
|
-
} | ((new (
|
|
134
|
-
/** @type { typeof __VLS_ctx.uploadRef } */ ...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
|
|
133
|
+
} | ((new (...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
|
|
135
134
|
(): (uploadFile: UploadFile) => void;
|
|
136
135
|
new (): any;
|
|
137
136
|
readonly prototype: any;
|
|
@@ -317,8 +316,7 @@ declare function __VLS_template(): {
|
|
|
317
316
|
(): (uploadFile: UploadFile) => void;
|
|
318
317
|
new (): any;
|
|
319
318
|
readonly prototype: any;
|
|
320
|
-
} | ((new (
|
|
321
|
-
/** @type { typeof __VLS_ctx.uploadRef } */ ...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
|
|
319
|
+
} | ((new (...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
|
|
322
320
|
(): (uploadFile: UploadFile) => void;
|
|
323
321
|
new (): any;
|
|
324
322
|
readonly prototype: any;
|
|
@@ -548,8 +546,7 @@ declare const __VLS_component: DefineComponent<__VLS_Props, {
|
|
|
548
546
|
(): (uploadFile: UploadFile) => void;
|
|
549
547
|
new (): any;
|
|
550
548
|
readonly prototype: any;
|
|
551
|
-
} | ((new (
|
|
552
|
-
/** @type { typeof __VLS_ctx.uploadRef } */ ...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
|
|
549
|
+
} | ((new (...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
|
|
553
550
|
(): (uploadFile: UploadFile) => void;
|
|
554
551
|
new (): any;
|
|
555
552
|
readonly prototype: any;
|
|
@@ -735,8 +732,7 @@ declare const __VLS_component: DefineComponent<__VLS_Props, {
|
|
|
735
732
|
(): (uploadFile: UploadFile) => void;
|
|
736
733
|
new (): any;
|
|
737
734
|
readonly prototype: any;
|
|
738
|
-
} | ((new (
|
|
739
|
-
/** @type { typeof __VLS_ctx.uploadRef } */ ...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
|
|
735
|
+
} | ((new (...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
|
|
740
736
|
(): (uploadFile: UploadFile) => void;
|
|
741
737
|
new (): any;
|
|
742
738
|
readonly prototype: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./UploadImages.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
var UploadImages = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
var UploadImages = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a4cf12ff"]]);
|
|
5
5
|
export {
|
|
6
6
|
UploadImages as default
|
|
7
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ElUpload, ElIcon, ElImageViewer } from "element-plus/es";
|
|
2
|
-
import { defineComponent, getCurrentInstance, ref, inject, shallowRef, onMounted,
|
|
2
|
+
import { defineComponent, getCurrentInstance, ref, inject, shallowRef, onMounted, computed, watch, createElementBlock, openBlock, normalizeStyle, normalizeClass, createVNode, createBlock, createCommentVNode, withCtx, renderSlot, unref, nextTick } from "vue";
|
|
3
3
|
import { Plus } from "@element-plus/icons-vue";
|
|
4
4
|
import "element-plus";
|
|
5
5
|
import { acceptMIMELib } from "../accept/index.js";
|
|
@@ -26,14 +26,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
26
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
27
27
|
const props = __props;
|
|
28
28
|
const emits = __emit;
|
|
29
|
-
|
|
29
|
+
getCurrentInstance();
|
|
30
30
|
const uploadRef = ref();
|
|
31
31
|
const formDialogInject = inject("/YkElFormDialog");
|
|
32
32
|
const formDialogInjectEvent = shallowRef();
|
|
33
33
|
onMounted(() => {
|
|
34
34
|
if (!formDialogInject) return;
|
|
35
35
|
formDialogInjectEvent.value = useInjectEventsHooks({ mittEvent: formDialogInject.eventBus });
|
|
36
|
-
formDialogInjectEvent.value.on("resetFields", clearFiles);
|
|
37
36
|
formDialogInjectEvent.value.on("getUploadHandle", () => {
|
|
38
37
|
formDialogInjectEventEmit("uploadHandleResult", {
|
|
39
38
|
count: uploadUserFile.value.filter((item) => item.raw).length,
|
|
@@ -46,17 +45,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
46
45
|
formDialogInjectEvent.value.emit(type, data);
|
|
47
46
|
}
|
|
48
47
|
}
|
|
49
|
-
const uploadGroup = inject("YkUploadGroup");
|
|
50
|
-
onMounted(() => {
|
|
51
|
-
if (uploadGroup) {
|
|
52
|
-
uploadGroup.register(instance);
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
onBeforeUnmount(() => {
|
|
56
|
-
if (uploadGroup) {
|
|
57
|
-
uploadGroup.unregister(instance);
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
48
|
const uploadImageStyle = computed(() => ({
|
|
61
49
|
"--upload-size-w": props.width,
|
|
62
50
|
"--upload-size-h": props.height
|
package/dist/styles/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.position-anchor[data-v-b1fd5468]{position:absolute;width:0;height:0;display:flex}.position-anchor.position-anchor--center[data-v-b1fd5468]{justify-content:center;align-items:center}.position-anchor.position-anchor--top-left[data-v-b1fd5468]{justify-content:left;align-items:flex-start}.position-anchor.position-anchor--top-right[data-v-b1fd5468]{justify-content:right;align-items:flex-start}.position-anchor.position-anchor--bottom-left[data-v-b1fd5468]{justify-content:left;align-items:flex-end}.position-anchor.position-anchor--bottom-right[data-v-b1fd5468]{justify-content:right;align-items:flex-end}.position-anchor.position-anchor--bottom[data-v-b1fd5468]{justify-content:center;align-items:flex-end}.position-anchor.position-anchor--top[data-v-b1fd5468]{justify-content:center;align-items:flex-start}.position-anchor.position-anchor--right[data-v-b1fd5468]{justify-content:flex-end;align-items:center}.position-anchor.position-anchor--left[data-v-b1fd5468]{justify-content:flex-start;align-items:center}.yk-progress-ring[data-v-dc804153]{display:block}.yk-progress-ring circle[data-v-dc804153]{transform-box:fill-box;transform-origin:center;transition:all var(--duration) ease-in-out}.yk-adaptive-box .adaptive-box__body[data-v-e8305a54]{overflow:hidden;margin-left:auto;margin-right:auto}.yk-adaptive-box .adaptive-box__content[data-v-e8305a54]{transform-origin:left top;width:fit-content;--adaptive-height: initial}.yk-coordinate-pickup-autocomplete li{margin-bottom:8px}.yk-coordinate-pickup-autocomplete .autocomplete-subtitle{font-size:12px;color:var(--el-text-color-secondary);line-height:12px}.amap-content-body,.amap-content-body .amap-lib-infowindow{background:inherit}.yk-coordinate-pickup-form[data-v-50d6439a] .el-form-item{margin-right:16px}.coordinate-pickup[data-v-50d6439a]{height:50vh;min-height:400px;max-height:920px}.yk-drag-drop-box[data-v-382a0b07]{position:absolute}.yk-drag-drop-container .drag-drop-content[data-v-3f6ac8f9]{width:fit-content;height:fit-content}.yk-progress-bar[data-v-20c5ac2c]{position:relative;display:flex;align-items:center}.icon[data-v-b3bb1cc0]{color:#fff}.icon.is-active[data-v-b3bb1cc0]{color:#157edf}.yk-ys-video[data-v-fcc7df5f] .header-controls div:nth-child(2) .theme-icon-item{width:32px!important;display:flex;justify-content:center;align-items:center;padding-top:6px}.yk-ys-video[data-v-fcc7df5f] .header-controls div:nth-child(2) .theme-icon-item svg{height:48px!important;width:48px!important}.yk-ys-video[data-v-fcc7df5f] .header-controls div:nth-child(2) .theme-icon-item:last-child{padding-left:16px}.play-mask[data-v-fcc7df5f]{background-color:#626365;background-repeat:no-repeat;background-size:100% 100%;top:0;left:0}.play-mask .header[data-v-fcc7df5f]{height:20%;inset:0 auto auto 0;min-height:48px;background:linear-gradient(to bottom,#0008 0,#0006 30%,#0003 50%,#0000);padding:10px 8px;width:100%}.play-mask .header .title-box[data-v-fcc7df5f]{max-width:50%;height:48px}.yk-show-log[data-v-c861503e]{background:#fff;border-radius:5px;padding:10px;-webkit-user-select:none;user-select:none;box-shadow:0 2px 4px #ccc;min-width:150px}.yk-show-log.is-min[data-v-c861503e]{overflow:hidden}.yk-empty{position:relative}.yk-empty .empty-box_content{width:100%;height:100%}.yk-empty .empty-box_content.is-hide{opacity:0}.yk-empty .empty-box_error{width:100%;height:100%;position:absolute;z-index:5;display:flex;justify-content:center;align-items:center}.yk-empty .empty-box_error .el-empty{--el-empty-padding: 0}.yk-empty .empty-box_error .empty-box__image{opacity:var(--opacity);filter:hue-rotate(var(--hue-rotate))}.yk-echarts-canvas[data-v-
|
|
1
|
+
.position-anchor[data-v-b1fd5468]{position:absolute;width:0;height:0;display:flex}.position-anchor.position-anchor--center[data-v-b1fd5468]{justify-content:center;align-items:center}.position-anchor.position-anchor--top-left[data-v-b1fd5468]{justify-content:left;align-items:flex-start}.position-anchor.position-anchor--top-right[data-v-b1fd5468]{justify-content:right;align-items:flex-start}.position-anchor.position-anchor--bottom-left[data-v-b1fd5468]{justify-content:left;align-items:flex-end}.position-anchor.position-anchor--bottom-right[data-v-b1fd5468]{justify-content:right;align-items:flex-end}.position-anchor.position-anchor--bottom[data-v-b1fd5468]{justify-content:center;align-items:flex-end}.position-anchor.position-anchor--top[data-v-b1fd5468]{justify-content:center;align-items:flex-start}.position-anchor.position-anchor--right[data-v-b1fd5468]{justify-content:flex-end;align-items:center}.position-anchor.position-anchor--left[data-v-b1fd5468]{justify-content:flex-start;align-items:center}.yk-progress-ring[data-v-dc804153]{display:block}.yk-progress-ring circle[data-v-dc804153]{transform-box:fill-box;transform-origin:center;transition:all var(--duration) ease-in-out}.yk-adaptive-box .adaptive-box__body[data-v-e8305a54]{overflow:hidden;margin-left:auto;margin-right:auto}.yk-adaptive-box .adaptive-box__content[data-v-e8305a54]{transform-origin:left top;width:fit-content;--adaptive-height: initial}.yk-coordinate-pickup-autocomplete li{margin-bottom:8px}.yk-coordinate-pickup-autocomplete .autocomplete-subtitle{font-size:12px;color:var(--el-text-color-secondary);line-height:12px}.amap-content-body,.amap-content-body .amap-lib-infowindow{background:inherit}.yk-coordinate-pickup-form[data-v-50d6439a] .el-form-item{margin-right:16px}.coordinate-pickup[data-v-50d6439a]{height:50vh;min-height:400px;max-height:920px}.yk-drag-drop-box[data-v-382a0b07]{position:absolute}.yk-drag-drop-container .drag-drop-content[data-v-3f6ac8f9]{width:fit-content;height:fit-content}.yk-progress-bar[data-v-20c5ac2c]{position:relative;display:flex;align-items:center}.icon[data-v-b3bb1cc0]{color:#fff}.icon.is-active[data-v-b3bb1cc0]{color:#157edf}.yk-ys-video[data-v-fcc7df5f] .header-controls div:nth-child(2) .theme-icon-item{width:32px!important;display:flex;justify-content:center;align-items:center;padding-top:6px}.yk-ys-video[data-v-fcc7df5f] .header-controls div:nth-child(2) .theme-icon-item svg{height:48px!important;width:48px!important}.yk-ys-video[data-v-fcc7df5f] .header-controls div:nth-child(2) .theme-icon-item:last-child{padding-left:16px}.play-mask[data-v-fcc7df5f]{background-color:#626365;background-repeat:no-repeat;background-size:100% 100%;top:0;left:0}.play-mask .header[data-v-fcc7df5f]{height:20%;inset:0 auto auto 0;min-height:48px;background:linear-gradient(to bottom,#0008 0,#0006 30%,#0003 50%,#0000);padding:10px 8px;width:100%}.play-mask .header .title-box[data-v-fcc7df5f]{max-width:50%;height:48px}.yk-show-log[data-v-c861503e]{background:#fff;border-radius:5px;padding:10px;-webkit-user-select:none;user-select:none;box-shadow:0 2px 4px #ccc;min-width:150px}.yk-show-log.is-min[data-v-c861503e]{overflow:hidden}.yk-empty{position:relative}.yk-empty .empty-box_content{width:100%;height:100%}.yk-empty .empty-box_content.is-hide{opacity:0}.yk-empty .empty-box_error{width:100%;height:100%;position:absolute;z-index:5;display:flex;justify-content:center;align-items:center}.yk-empty .empty-box_error .el-empty{--el-empty-padding: 0}.yk-empty .empty-box_error .empty-box__image{opacity:var(--opacity);filter:hue-rotate(var(--hue-rotate))}.yk-echarts-canvas[data-v-aef06525]{position:relative;container-type:size}.yk-echarts-canvas .echarts-canvas__inner[data-v-aef06525]{width:100%;height:100%;position:absolute;z-index:2}.yk-echarts-canvas .echarts-canvas__inner.is-empty[data-v-aef06525]{opacity:0}.yk-scroll-container[data-v-b353085e]{overflow:auto}.yk-scroll-container[data-v-b353085e]::-webkit-scrollbar{width:0;height:0}.yk-scroll-container .scroll-inner[data-v-b353085e]{display:flex;width:100%;flex-direction:column}[data-v-ae5f15a6] .el-pagination{--el-pagination-bg-color: transparent;--el-pagination-button-disabled-bg-color: transparent}.yk-table-pagination[data-v-ae5f15a6]{padding:16px 0 8px}.yk-upload-image[data-v-a4cf12ff]{margin-bottom:-8px}.yk-upload-image.limit_is-max[data-v-a4cf12ff] .el-upload-list--picture-card .el-upload--picture-card{display:none}.yk-upload-image[data-v-a4cf12ff] .el-upload-list--picture-card .el-upload-list__item{width:var(--upload-size-w);height:var(--upload-size-h)}.yk-upload-image[data-v-a4cf12ff] .el-upload-list--picture-card .el-upload-list__item.is-success:focus:not(:hover) .el-icon--close-tip{display:none!important}.yk-upload-image[data-v-a4cf12ff] .el-upload-list--picture-card .el-upload-list__item.is-success:focus .el-upload-list__item-status-label{display:inline-flex;opacity:1}.yk-upload-image[data-v-a4cf12ff] .el-upload-list--picture-card .el-upload--picture-card{margin-bottom:8px;width:var(--upload-size-w);height:var(--upload-size-h)}.yk-upload-files[data-v-c72b62a3] .el-upload.is-drag{width:var(--upload-size-w);height:var(--upload-size-h)}.yk-upload-files[data-v-c72b62a3] .el-upload .el-upload-dragger{padding:unset;height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column}.yk-upload-files[data-v-c72b62a3] .el-upload-list,.yk-upload-file[data-v-d1245dee] .el-upload-list{margin:unset}.yk-images-box[data-v-68420d14]{display:flex;flex-wrap:wrap;gap:8px}.yk-images-box[data-v-68420d14] .el-image{width:var(--size-w);height:var(--size-h)}
|
|
@@ -21,7 +21,7 @@ class EcLineSeries extends EcCartesianSeries {
|
|
|
21
21
|
constructor(option = {}) {
|
|
22
22
|
option.series = ObjectUtil.assignDeep({
|
|
23
23
|
type: "line",
|
|
24
|
-
|
|
24
|
+
showSymbol: false,
|
|
25
25
|
smooth: true,
|
|
26
26
|
tooltip: {
|
|
27
27
|
valueFormatter: (e) => NumberUtil.formatEnUs(e) + (option.unit || "")
|
package/package.json
CHANGED