mrxy-yk 1.0.14 → 1.0.16

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 (38) hide show
  1. package/dist/components/adaptive-box/AdaptiveBox.vue.js +1 -1
  2. package/dist/components/coordinate-pickup/CoordinatePickup.vue.js +1 -3
  3. package/dist/components/coordinate-pickup/CoordinatePickup.vue2.js +2 -2
  4. package/dist/components/drag-drop-box/DragDropBox.vue.js +1 -1
  5. package/dist/components/drag-drop-box/DragDropBox.vue2.js +1 -1
  6. package/dist/components/drag-drop-container/DragDropContainer.vue.js +1 -1
  7. package/dist/components/drag-drop-container/DragDropContainer.vue2.js +1 -0
  8. package/dist/components/echarts-canvas/EChartsCanvas.vue.js +1 -1
  9. package/dist/components/echarts-canvas/EChartsCanvas.vue2.js +1 -1
  10. package/dist/components/in-body/InBody.vue.js +2 -1
  11. package/dist/components/progress-bar/ProgressBar.vue.js +1 -1
  12. package/dist/components/progress-bar/ProgressBar.vue2.js +1 -1
  13. package/dist/components/progress-ring/ProgressRing.vue.js +1 -1
  14. package/dist/components/progress-ring/ProgressRing.vue2.js +1 -1
  15. package/dist/components/scroll-container/ScrollContainer.vue.js +1 -1
  16. package/dist/components/scroll-container/ScrollContainer.vue2.js +7 -5
  17. package/dist/components/show-log/ShowLog.vue.js +1 -1
  18. package/dist/components/show-log/ShowLog.vue2.js +1 -1
  19. package/dist/components/ys-video/YsVideo.vue.js +1 -1
  20. package/dist/components/ys-video/YsVideo.vue2.js +1 -1
  21. package/dist/element-plus/components/date-picker/DatePicker.vue.js +1 -0
  22. package/dist/element-plus/components/date-picker/index.d.ts +1 -0
  23. package/dist/element-plus/components/date-picker/index.js +25 -5
  24. package/dist/element-plus/components/empty/Empty.vue.js +1 -1
  25. package/dist/element-plus/components/images/Images.vue.js +1 -1
  26. package/dist/element-plus/components/images/Images.vue2.js +1 -1
  27. package/dist/element-plus/components/pagination/Pagination.vue.js +1 -1
  28. package/dist/element-plus/components/pagination/Pagination.vue2.js +1 -1
  29. package/dist/element-plus/components/upload/select-file/SelectFile.vue.js +1 -1
  30. package/dist/element-plus/components/upload/select-file/SelectFile.vue2.js +1 -1
  31. package/dist/element-plus/components/upload/upload-files/UploadFiles.vue.js +1 -1
  32. package/dist/element-plus/components/upload/upload-files/UploadFiles.vue2.js +1 -1
  33. package/dist/element-plus/components/upload/upload-images/UploadImages.d.ts +8 -4
  34. package/dist/element-plus/components/upload/upload-images/UploadImages.vue.js +1 -1
  35. package/dist/element-plus/components/upload/upload-images/UploadImages.vue2.js +1 -1
  36. package/dist/styles/index.css +1 -1
  37. package/package.json +1 -1
  38. package/web-types.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./AdaptiveBox.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
- var AdaptiveBox = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-78619194"]]);
4
+ var AdaptiveBox = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e8305a54"]]);
5
5
  export {
6
6
  AdaptiveBox as default
7
7
  };
@@ -1,10 +1,8 @@
1
1
  import _sfc_main from "./CoordinatePickup.vue2.js";
2
2
  /* empty css */
3
3
  /* empty css */
4
- /* empty css */
5
- /* empty css */
6
4
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
7
- var CoordinatePickup = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f60f53ce"]]);
5
+ var CoordinatePickup = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-50d6439a"]]);
8
6
  export {
9
7
  CoordinatePickup as default
10
8
  };
@@ -209,7 +209,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
209
209
  }, {
210
210
  default: withCtx(() => [
211
211
  createVNode(_component_el_form, {
212
- class: "coordinate-pickup-form",
212
+ class: "yk-coordinate-pickup-form",
213
213
  inline: true
214
214
  }, {
215
215
  default: withCtx(() => [
@@ -221,7 +221,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
221
221
  "fetch-suggestions": searchComplete,
222
222
  "value-key": "name",
223
223
  placeholder: "请输入搜索内容",
224
- "popper-class": "coordinate-pickup-autocomplete",
224
+ "popper-class": "yk-coordinate-pickup-autocomplete",
225
225
  onSelect: handleSelect
226
226
  }, {
227
227
  default: withCtx((scope) => [
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./DragDropBox.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
- var DragDropBox = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d1a01b58"]]);
4
+ var DragDropBox = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-382a0b07"]]);
5
5
  export {
6
6
  DragDropBox as default
7
7
  };
@@ -44,7 +44,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
44
44
  };
45
45
  return (_ctx, _cache) => {
46
46
  return openBlock(), createElementBlock("div", {
47
- class: "drag-drop-box",
47
+ class: "yk-drag-drop-box",
48
48
  ondragstart: "return false",
49
49
  style: normalizeStyle(unref(translateStyle)),
50
50
  onMousedown: mousedown
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./DragDropContainer.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
- var DragDropContainer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ebe862bb"]]);
4
+ var DragDropContainer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3f6ac8f9"]]);
5
5
  export {
6
6
  DragDropContainer as default
7
7
  };
@@ -91,6 +91,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
91
91
  return openBlock(), createElementBlock("div", {
92
92
  ref_key: "dragDropRef",
93
93
  ref: dragDropRef,
94
+ class: "yk-drag-drop-container",
94
95
  ondragstart: "return false",
95
96
  onMousedown: mousedown,
96
97
  onMouseout: mouseout,
@@ -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-fe7a563a"]]);
4
+ var EChartsCanvas = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6f4d9c8e"]]);
5
5
  export {
6
6
  EChartsCanvas as default
7
7
  };
@@ -4,7 +4,7 @@ import { EChartsUtil } from "../../utils/echarts/utils/index.js";
4
4
  import _sfc_main$1 from "../../element-plus/components/empty/Empty.vue.js";
5
5
  /* empty css */
6
6
  import { EcBasicOption } from "../../utils/echarts/modules/coordinate/basic.js";
7
- const _hoisted_1 = { class: "echarts-canvas" };
7
+ const _hoisted_1 = { class: "yk-echarts-canvas" };
8
8
  var _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  __name: "EChartsCanvas",
10
10
  props: {
@@ -12,7 +12,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
12
12
  return (_ctx, _cache) => {
13
13
  return openBlock(), createElementBlock("div", {
14
14
  ref_key: "currentDomRef",
15
- ref: currentDomRef
15
+ ref: currentDomRef,
16
+ class: "yk-in-body"
16
17
  }, [
17
18
  renderSlot(_ctx.$slots, "default")
18
19
  ], 512);
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./ProgressBar.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
- var ProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a7a9d9ba"]]);
4
+ var ProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-20c5ac2c"]]);
5
5
  export {
6
6
  ProgressBar as default
7
7
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, useId, onMounted, computed, ref, createElementBlock, openBlock, createCommentVNode, normalizeStyle, createElementVNode, renderSlot, unref } from "vue";
2
- const _hoisted_1 = { class: "progress-bar" };
2
+ const _hoisted_1 = { class: "yk-progress-bar" };
3
3
  const _hoisted_2 = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./ProgressRing.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
- var ProgressRing = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a48e82e0"]]);
4
+ var ProgressRing = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-dc804153"]]);
5
5
  export {
6
6
  ProgressRing as default
7
7
  };
@@ -38,7 +38,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
38
38
  const componentID = useId();
39
39
  return (_ctx, _cache) => {
40
40
  return openBlock(), createElementBlock("svg", {
41
- class: "progress-ring",
41
+ class: "yk-progress-ring",
42
42
  style: normalizeStyle(unref(svgStyle))
43
43
  }, [
44
44
  createElementVNode("circle", {
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./ScrollContainer.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
- var ScrollContainer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a640aede"]]);
4
+ var ScrollContainer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-122aeac8"]]);
5
5
  export {
6
6
  ScrollContainer as default
7
7
  };
@@ -38,10 +38,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
38
38
  const start = Date.now();
39
39
  requestAnimationFrame(() => {
40
40
  if (isStop.value || currentRunId !== runId) return;
41
- const end = Date.now();
42
- if (deviation > scrollRef.value.scrollHeight / 2) deviation = 0;
43
- else deviation += (end - start) / 1e3 * Number(props.speed);
44
- scrollRef.value.scrollTo({ top: deviation });
41
+ if (scrollRef.value) {
42
+ const end = Date.now();
43
+ if (deviation > scrollRef.value.scrollHeight / 2) deviation = 0;
44
+ else deviation += (end - start) / 1e3 * Number(props.speed);
45
+ scrollRef.value.scrollTo({ top: deviation });
46
+ }
45
47
  run(runId);
46
48
  });
47
49
  }
@@ -64,7 +66,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
64
66
  return openBlock(), createElementBlock("div", {
65
67
  ref_key: "scrollRef",
66
68
  ref: scrollRef,
67
- class: "scroll-container"
69
+ class: "yk-scroll-container"
68
70
  }, [
69
71
  createElementVNode("div", _hoisted_1, [
70
72
  createElementVNode("div", {
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./ShowLog.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
- var ShowLog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-39dd9fde"]]);
4
+ var ShowLog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c861503e"]]);
5
5
  export {
6
6
  ShowLog as default
7
7
  };
@@ -29,7 +29,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
29
29
  }, {
30
30
  default: withCtx(() => [
31
31
  createElementVNode("div", {
32
- class: normalizeClass(["show-log", { "is-min": unref(isMin) }])
32
+ class: normalizeClass(["yk-show-log", { "is-min": unref(isMin) }])
33
33
  }, [
34
34
  createElementVNode("header", _hoisted_1, [
35
35
  createElementVNode("div", null, toDisplayString(props.title), 1),
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./YsVideo.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
- var YsVideo = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0f68a5ad"]]);
4
+ var YsVideo = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fcc7df5f"]]);
5
5
  export {
6
6
  YsVideo as default
7
7
  };
@@ -2,7 +2,7 @@ import { defineComponent, shallowRef, onMounted, onBeforeUnmount, nextTick, crea
2
2
  import _imports_0 from "./images/btn-play.png.js";
3
3
  import EZUIKit from "ezuikit-js";
4
4
  import BtnLineRec from "./components/BtnLineRec.vue.js";
5
- const _hoisted_1 = { class: "overflow-hidden ys-video" };
5
+ const _hoisted_1 = { class: "overflow-hidden yk-ys-video" };
6
6
  const _hoisted_2 = ["id"];
7
7
  const _hoisted_3 = { class: "position-absolute header" };
8
8
  const _hoisted_4 = { class: "title-box overflow-ellipsis color-white" };
@@ -88,6 +88,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
88
88
  return openBlock(), createBlock(_component_el_date_picker, {
89
89
  modelValue: unref(modelValueCustomer),
90
90
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(modelValueCustomer) ? modelValueCustomer.value = $event : null),
91
+ class: "yk-el-date-picker",
91
92
  type: props.type,
92
93
  clearable: props.clearable,
93
94
  editable: props.clearable,
@@ -12,6 +12,7 @@ export declare class DatePickerType {
12
12
  getModelValue(): string | string[];
13
13
  setModelValue(val: string | string[]): void;
14
14
  defaultDate(): void;
15
+ defaultDateStandardRangeHandle(unit: ManipulateType): void;
15
16
  defaultDateStandardHandle(unit: ManipulateType): void;
16
17
  disabledDate(date: Date, startTime: number): boolean;
17
18
  disabledDateStandardHandle(date: Date, startTime: number, unit: ManipulateType): boolean;
@@ -16,7 +16,7 @@ class DatePickerType {
16
16
  // region 日期默认值
17
17
  defaultDate() {
18
18
  }
19
- defaultDateStandardHandle(unit) {
19
+ defaultDateStandardRangeHandle(unit) {
20
20
  if (!this.props.defaultDate) return;
21
21
  const end = dayjs().format("YYYY-MM-DD 23:59:59");
22
22
  const start = dayjs().subtract(this.props.defaultDate - 1, unit).format("YYYY-MM-DD 00:00:00");
@@ -26,6 +26,11 @@ class DatePickerType {
26
26
  this.emits("update:start", start);
27
27
  this.emits("update:end", end);
28
28
  }
29
+ defaultDateStandardHandle(unit) {
30
+ if (!this.props.defaultDate) return;
31
+ const value = dayjs().subtract(this.props.defaultDate - 1, unit).format("YYYY-MM-DD HH:mm:ss");
32
+ this.setModelValue(value);
33
+ }
29
34
  // endregion
30
35
  // region 日期的选择禁用
31
36
  disabledDate(date, startTime) {
@@ -57,12 +62,18 @@ const DatePickerTypeEnum = {
57
62
  setModelValue(raw) {
58
63
  const value = raw ? dayjs(raw).format(this.props.valueFormat || "YYYY-MM-DD 00:00:00") : null;
59
64
  this.emits("update:modelValue", value);
65
+ },
66
+ defaultDate() {
67
+ this.defaultDateStandardHandle("days");
60
68
  }
61
69
  }),
62
70
  datetime: () => new DatePickerType({
63
71
  setModelValue(raw) {
64
72
  const value = raw ? dayjs(raw).format(this.props.valueFormat || "YYYY-MM-DD HH:mm:ss") : null;
65
73
  this.emits("update:modelValue", value);
74
+ },
75
+ defaultDate() {
76
+ this.defaultDateStandardHandle("days");
66
77
  }
67
78
  }),
68
79
  year: () => new DatePickerType({
@@ -81,6 +92,9 @@ const DatePickerTypeEnum = {
81
92
  },
82
93
  getModelValue() {
83
94
  return this.props.modelValue || this.props.start;
95
+ },
96
+ defaultDate() {
97
+ this.defaultDateStandardHandle("years");
84
98
  }
85
99
  }),
86
100
  month: () => new DatePickerType({
@@ -100,6 +114,9 @@ const DatePickerTypeEnum = {
100
114
  },
101
115
  getModelValue() {
102
116
  return this.props.modelValue || this.props.start;
117
+ },
118
+ defaultDate() {
119
+ this.defaultDateStandardHandle("months");
103
120
  }
104
121
  }),
105
122
  week: () => new DatePickerType({
@@ -118,6 +135,9 @@ const DatePickerTypeEnum = {
118
135
  },
119
136
  getModelValue() {
120
137
  return this.props.modelValue || this.props.start;
138
+ },
139
+ defaultDate() {
140
+ this.defaultDateStandardHandle("weeks");
121
141
  }
122
142
  }),
123
143
  datetimerange: () => new DatePickerType({
@@ -139,7 +159,7 @@ const DatePickerTypeEnum = {
139
159
  this.emits("update:end", end);
140
160
  },
141
161
  defaultDate() {
142
- this.defaultDateStandardHandle("days");
162
+ this.defaultDateStandardRangeHandle("days");
143
163
  }
144
164
  }),
145
165
  daterange: () => new DatePickerType({
@@ -158,7 +178,7 @@ const DatePickerTypeEnum = {
158
178
  this.emits("update:end", end);
159
179
  },
160
180
  defaultDate() {
161
- this.defaultDateStandardHandle("days");
181
+ this.defaultDateStandardRangeHandle("days");
162
182
  }
163
183
  }),
164
184
  monthrange: () => new DatePickerType({
@@ -178,7 +198,7 @@ const DatePickerTypeEnum = {
178
198
  this.emits("update:end", end);
179
199
  },
180
200
  defaultDate() {
181
- this.defaultDateStandardHandle("months");
201
+ this.defaultDateStandardRangeHandle("months");
182
202
  },
183
203
  disabledDate(date, startTime) {
184
204
  return this.disabledDateStandardHandle(date, startTime, "months");
@@ -200,7 +220,7 @@ const DatePickerTypeEnum = {
200
220
  this.emits("update:end", end);
201
221
  },
202
222
  defaultDate() {
203
- this.defaultDateStandardHandle("years");
223
+ this.defaultDateStandardRangeHandle("years");
204
224
  },
205
225
  disabledDate(date, startTime) {
206
226
  return this.disabledDateStandardHandle(date, startTime, "years");
@@ -3,7 +3,7 @@ import { defineComponent, onMounted, ref, computed, watch, withDirectives, creat
3
3
  import { ObjectUtil } from "../../../utils/prototype/lib/ObjectUtil.js";
4
4
  import { EmptyStatusConfig } from "./config.js";
5
5
  import { EmptyStatusExtendConfig } from "../../../config/index.js";
6
- const _hoisted_1 = { class: "empty-box" };
6
+ const _hoisted_1 = { class: "yk-empty" };
7
7
  const _hoisted_2 = {
8
8
  key: 0,
9
9
  class: "empty-box_error"
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./Images.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
4
- var Images = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3c35b000"]]);
4
+ var Images = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-68420d14"]]);
5
5
  export {
6
6
  Images as default
7
7
  };
@@ -48,7 +48,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
48
48
  const _component_ElImageViewer = ElImageViewer;
49
49
  return openBlock(), createElementBlock(Fragment, null, [
50
50
  createElementVNode("div", mergeProps(_ctx.$attrs, {
51
- class: "images-box",
51
+ class: "yk-images-box",
52
52
  style: unref(imageStyle)
53
53
  }), [
54
54
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(imageSrcList), (item, index) => {
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./Pagination.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
4
- var Pagination = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-92b72876"]]);
4
+ var Pagination = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ae5f15a6"]]);
5
5
  export {
6
6
  Pagination as default
7
7
  };
@@ -1,6 +1,6 @@
1
1
  import { ElPagination } from "element-plus/es";
2
2
  import { defineComponent, toRefs, computed, createElementBlock, openBlock, createVNode, unref } from "vue";
3
- const _hoisted_1 = { class: "table-pagination" };
3
+ const _hoisted_1 = { class: "yk-table-pagination" };
4
4
  var _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "Pagination",
6
6
  props: {
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./SelectFile.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- var SelectFile = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-235553c7"]]);
4
+ var SelectFile = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d1245dee"]]);
5
5
  export {
6
6
  SelectFile as default
7
7
  };
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed, createElementBlock, openBlock, createVN
2
2
  import { ElUpload } from "element-plus";
3
3
  import { acceptMIMELib } from "../accept/index.js";
4
4
  import { MatchUnit } from "../../../../utils/match-unit/index.js";
5
- const _hoisted_1 = { class: "upload-file" };
5
+ const _hoisted_1 = { class: "yk-upload-file" };
6
6
  var _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  __name: "SelectFile",
8
8
  props: {
@@ -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-697f1dc7"]]);
4
+ var UploadFiles = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3fae856c"]]);
5
5
  export {
6
6
  UploadFiles as default
7
7
  };
@@ -159,7 +159,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
159
159
  return (_ctx, _cache) => {
160
160
  const _component_el_icon = ElIcon;
161
161
  return openBlock(), createElementBlock("div", {
162
- class: "upload-files",
162
+ class: "yk-upload-files",
163
163
  style: normalizeStyle(uploadImageStyle.value)
164
164
  }, [
165
165
  createVNode(unref(ElUpload), {
@@ -130,7 +130,8 @@ declare function __VLS_template(): {
130
130
  (): (uploadFile: UploadFile) => void;
131
131
  new (): any;
132
132
  readonly prototype: any;
133
- } | ((new (...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
133
+ } | ((new (
134
+ /** @type { typeof __VLS_ctx.uploadRef } */ ...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
134
135
  (): (uploadFile: UploadFile) => void;
135
136
  new (): any;
136
137
  readonly prototype: any;
@@ -316,7 +317,8 @@ declare function __VLS_template(): {
316
317
  (): (uploadFile: UploadFile) => void;
317
318
  new (): any;
318
319
  readonly prototype: any;
319
- } | ((new (...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
320
+ } | ((new (
321
+ /** @type { typeof __VLS_ctx.uploadRef } */ ...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
320
322
  (): (uploadFile: UploadFile) => void;
321
323
  new (): any;
322
324
  readonly prototype: any;
@@ -546,7 +548,8 @@ declare const __VLS_component: DefineComponent<__VLS_Props, {
546
548
  (): (uploadFile: UploadFile) => void;
547
549
  new (): any;
548
550
  readonly prototype: any;
549
- } | ((new (...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
551
+ } | ((new (
552
+ /** @type { typeof __VLS_ctx.uploadRef } */ ...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
550
553
  (): (uploadFile: UploadFile) => void;
551
554
  new (): any;
552
555
  readonly prototype: any;
@@ -732,7 +735,8 @@ declare const __VLS_component: DefineComponent<__VLS_Props, {
732
735
  (): (uploadFile: UploadFile) => void;
733
736
  new (): any;
734
737
  readonly prototype: any;
735
- } | ((new (...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
738
+ } | ((new (
739
+ /** @type { typeof __VLS_ctx.uploadRef } */ ...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
736
740
  (): (uploadFile: UploadFile) => void;
737
741
  new (): any;
738
742
  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-b69959e0"]]);
4
+ var UploadImages = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ed9c611a"]]);
5
5
  export {
6
6
  UploadImages as default
7
7
  };
@@ -167,7 +167,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
167
167
  const _component_el_upload = ElUpload;
168
168
  const _component_ElImageViewer = ElImageViewer;
169
169
  return openBlock(), createElementBlock("div", {
170
- class: normalizeClass(["upload-image", { "limit_is-max": uploadUserFile.value?.length >= props.limit }]),
170
+ class: normalizeClass(["yk-upload-image", { "limit_is-max": uploadUserFile.value?.length >= props.limit }]),
171
171
  style: normalizeStyle(uploadImageStyle.value)
172
172
  }, [
173
173
  createVNode(_component_el_upload, {
@@ -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}.progress-ring[data-v-a48e82e0]{display:block}.progress-ring circle[data-v-a48e82e0]{transform-box:fill-box;transform-origin:center;transition:all var(--duration) ease-in-out}.adaptive-box__body[data-v-78619194]{overflow:hidden;margin-left:auto;margin-right:auto}.adaptive-box__content[data-v-78619194]{transform-origin:left top;width:fit-content;--adaptive-height: initial}.amap-content-body,.amap-content-body .amap-lib-infowindow{background:inherit}.coordinate-pickup-autocomplete li{margin-bottom:8px}.coordinate-pickup-autocomplete .autocomplete-subtitle{font-size:12px;color:var(--el-text-color-secondary);line-height:12px}.coordinate-pickup-form[data-v-f60f53ce] .el-form-item{margin-right:16px}.coordinate-pickup[data-v-f60f53ce]{height:50vh;min-height:400px;max-height:920px}.drag-drop-box[data-v-d1a01b58]{position:absolute}.drag-drop-content[data-v-ebe862bb]{width:fit-content;height:fit-content}.progress-bar[data-v-a7a9d9ba]{position:relative;display:flex;align-items:center}.icon[data-v-b3bb1cc0]{color:#fff}.icon.is-active[data-v-b3bb1cc0]{color:#157edf}.ys-video[data-v-0f68a5ad] .header-controls div:nth-child(2) .theme-icon-item{width:32px!important;display:flex;justify-content:center;align-items:center;padding-top:6px}.ys-video[data-v-0f68a5ad] .header-controls div:nth-child(2) .theme-icon-item svg{height:48px!important;width:48px!important}.ys-video[data-v-0f68a5ad] .header-controls div:nth-child(2) .theme-icon-item:last-child{padding-left:16px}.play-mask[data-v-0f68a5ad]{background-color:#626365;background-repeat:no-repeat;background-size:100% 100%;top:0;left:0}.play-mask .header[data-v-0f68a5ad]{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-0f68a5ad]{max-width:50%;height:48px}.show-log[data-v-39dd9fde]{background:#fff;border-radius:5px;padding:10px;-webkit-user-select:none;user-select:none;box-shadow:0 2px 4px #ccc;min-width:150px}.show-log.is-min[data-v-39dd9fde]{overflow:hidden}.empty-box{position:relative}.empty-box_content{width:100%;height:100%}.empty-box_content.is-hide{opacity:0}.empty-box_error{width:100%;height:100%;position:absolute;z-index:5;display:flex;justify-content:center;align-items:center}.empty-box_error .el-empty{--el-empty-padding: 0}.empty-box_error .empty-box__image{opacity:var(--opacity);filter:hue-rotate(var(--hue-rotate))}.echarts-canvas[data-v-fe7a563a]{position:relative}.echarts-canvas .echarts-canvas__inner[data-v-fe7a563a]{width:100%;height:100%;position:absolute}.echarts-canvas .echarts-canvas__inner.is-empty[data-v-fe7a563a]{opacity:0}.scroll-container[data-v-a640aede]{overflow:auto}.scroll-container[data-v-a640aede]::-webkit-scrollbar{width:0;height:0}.scroll-container .scroll-inner[data-v-a640aede]{display:flex;width:100%;flex-direction:column}[data-v-92b72876] .el-pagination{--el-pagination-bg-color: transparent;--el-pagination-button-disabled-bg-color: transparent}.table-pagination[data-v-92b72876]{padding:16px 0 8px}.upload-image[data-v-b69959e0]{margin-bottom:-8px}.upload-image.limit_is-max[data-v-b69959e0] .el-upload-list--picture-card .el-upload--picture-card{display:none}.upload-image[data-v-b69959e0] .el-upload-list--picture-card .el-upload-list__item{width:var(--upload-size-w);height:var(--upload-size-h)}.upload-image[data-v-b69959e0] .el-upload-list--picture-card .el-upload-list__item.is-success:focus:not(:hover) .el-icon--close-tip{display:none!important}.upload-image[data-v-b69959e0] .el-upload-list--picture-card .el-upload-list__item.is-success:focus .el-upload-list__item-status-label{display:inline-flex;opacity:1}.upload-image[data-v-b69959e0] .el-upload-list--picture-card .el-upload--picture-card{margin-bottom:8px;width:var(--upload-size-w);height:var(--upload-size-h)}.upload-files[data-v-697f1dc7] .el-upload.is-drag{width:var(--upload-size-w);height:var(--upload-size-h)}.upload-files[data-v-697f1dc7] .el-upload .el-upload-dragger{padding:unset;height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column}.upload-files[data-v-697f1dc7] .el-upload-list,.upload-file[data-v-235553c7] .el-upload-list{margin:unset}.images-box[data-v-3c35b000]{display:flex;flex-wrap:wrap;gap:8px}.images-box[data-v-3c35b000] .el-image{width:var(--size-w);height:var(--size-h)}
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-6f4d9c8e]{position:relative}.yk-echarts-canvas .echarts-canvas__inner[data-v-6f4d9c8e]{width:100%;height:100%;position:absolute}.yk-echarts-canvas .echarts-canvas__inner.is-empty[data-v-6f4d9c8e]{opacity:0}.yk-scroll-container[data-v-122aeac8]{overflow:auto}.yk-scroll-container[data-v-122aeac8]::-webkit-scrollbar{width:0;height:0}.yk-scroll-container .scroll-inner[data-v-122aeac8]{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-ed9c611a]{margin-bottom:-8px}.yk-upload-image.limit_is-max[data-v-ed9c611a] .el-upload-list--picture-card .el-upload--picture-card{display:none}.yk-upload-image[data-v-ed9c611a] .el-upload-list--picture-card .el-upload-list__item{width:var(--upload-size-w);height:var(--upload-size-h)}.yk-upload-image[data-v-ed9c611a] .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-ed9c611a] .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-ed9c611a] .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-3fae856c] .el-upload.is-drag{width:var(--upload-size-w);height:var(--upload-size-h)}.yk-upload-files[data-v-3fae856c] .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-3fae856c] .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)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mrxy-yk",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "A collection of Vue 3 components and utilities",
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "mrxy-yk",
4
- "version": "1.0.14",
4
+ "version": "1.0.16",
5
5
  "js-types-syntax": "typescript",
6
6
  "contributions": {
7
7
  "html": {