mrxy-yk 1.0.18 → 1.0.20

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.
@@ -7,15 +7,13 @@ type __VLS_Props = {
7
7
  resize?: boolean;
8
8
  theme?: 'default' | 'dark' | 'auto';
9
9
  option?: EChartsOption | EcBasicOption;
10
+ slotZIndex?: number;
10
11
  };
11
12
  declare function setOption(option: EChartsOption): void;
12
13
  declare function __VLS_template(): {
13
14
  attrs: Partial<{}>;
14
15
  slots: {
15
- default?(_: {
16
- style: {};
17
- class: string;
18
- }): any;
16
+ default?(_: {}): any;
19
17
  };
20
18
  refs: {
21
19
  chartRef: HTMLDivElement;
@@ -29,6 +27,7 @@ declare const __VLS_component: DefineComponent<__VLS_Props, {
29
27
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
30
28
  resize: boolean;
31
29
  theme: "default" | "dark" | "auto";
30
+ slotZIndex: number;
32
31
  }, {}, {}, {}, string, ComponentProvideOptions, true, {
33
32
  chartRef: HTMLDivElement;
34
33
  }, HTMLDivElement>;
@@ -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-96596bfc"]]);
4
+ var EChartsCanvas = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8fcb59c3"]]);
5
5
  export {
6
6
  EChartsCanvas as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent, shallowRef, onMounted, createElementBlock, openBlock, createBlock, createCommentVNode, createElementVNode, renderSlot, normalizeClass } from "vue";
1
+ import { defineComponent, shallowRef, onMounted, createElementBlock, openBlock, createBlock, createCommentVNode, createElementVNode, normalizeClass, normalizeStyle, renderSlot } from "vue";
2
2
  import * as echarts from "echarts";
3
3
  import { EChartsUtil } from "../../utils/echarts/utils/index.js";
4
4
  import _sfc_main$1 from "../../element-plus/components/empty/Empty.vue.js";
@@ -11,7 +11,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
11
11
  emptyHook: {},
12
12
  resize: { type: Boolean, default: true },
13
13
  theme: { default: "auto" },
14
- option: {}
14
+ option: {},
15
+ slotZIndex: { default: 1 }
15
16
  },
16
17
  setup(__props, { expose: __expose }) {
17
18
  const props = __props;
@@ -56,7 +57,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
56
57
  return openBlock(), createElementBlock("div", _hoisted_1, [
57
58
  props.emptyHook ? (openBlock(), createBlock(_sfc_main$1, {
58
59
  key: 0,
59
- class: "position-absolute wh-100 container-size",
60
+ class: "position-absolute wh-100",
60
61
  hook: props.emptyHook
61
62
  }, null, 8, ["hook"])) : createCommentVNode("", true),
62
63
  createElementVNode("div", {
@@ -64,10 +65,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
64
65
  ref: chartRef,
65
66
  class: normalizeClass(["echarts-canvas__inner", { "is-empty": props.emptyHook && !props.emptyHook?.isSUCCESS }])
66
67
  }, null, 2),
67
- renderSlot(_ctx.$slots, "default", {
68
+ createElementVNode("div", {
68
69
  class: "position-absolute wh-100",
69
- style: "top: 0;"
70
- }, void 0, true)
70
+ style: normalizeStyle([{ "top": "0" }, { zIndex: props.slotZIndex }])
71
+ }, [
72
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
73
+ ], 4)
71
74
  ]);
72
75
  };
73
76
  }
@@ -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-96596bfc]{position:relative}.yk-echarts-canvas .echarts-canvas__inner[data-v-96596bfc]{width:100%;height:100%;position:absolute;z-index:2}.yk-echarts-canvas .echarts-canvas__inner.is-empty[data-v-96596bfc]{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-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)}
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-8fcb59c3]{position:relative;container-type:size}.yk-echarts-canvas .echarts-canvas__inner[data-v-8fcb59c3]{width:100%;height:100%;position:absolute;z-index:2}.yk-echarts-canvas .echarts-canvas__inner.is-empty[data-v-8fcb59c3]{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-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)}
@@ -1278,6 +1278,86 @@
1278
1278
  padding-left: 48px !important;
1279
1279
  }
1280
1280
 
1281
+ .m-50 {
1282
+ margin: 50px !important;
1283
+ }
1284
+
1285
+ .p-50 {
1286
+ padding: 50px !important;
1287
+ }
1288
+
1289
+ .mt-50, .my-50 {
1290
+ margin-top: 50px !important;
1291
+ }
1292
+
1293
+ .pt-50, .py-50 {
1294
+ padding-top: 50px !important;
1295
+ }
1296
+
1297
+ .mr-50, .mx-50 {
1298
+ margin-right: 50px !important;
1299
+ }
1300
+
1301
+ .pr-50, .px-50 {
1302
+ padding-right: 50px !important;
1303
+ }
1304
+
1305
+ .mb-50, .my-50 {
1306
+ margin-bottom: 50px !important;
1307
+ }
1308
+
1309
+ .pb-50, .py-50 {
1310
+ padding-bottom: 50px !important;
1311
+ }
1312
+
1313
+ .ml-50, .mx-50 {
1314
+ margin-left: 50px !important;
1315
+ }
1316
+
1317
+ .pl-50, .px-50 {
1318
+ padding-left: 50px !important;
1319
+ }
1320
+
1321
+ .m-52 {
1322
+ margin: 52px !important;
1323
+ }
1324
+
1325
+ .p-52 {
1326
+ padding: 52px !important;
1327
+ }
1328
+
1329
+ .mt-52, .my-52 {
1330
+ margin-top: 52px !important;
1331
+ }
1332
+
1333
+ .pt-52, .py-52 {
1334
+ padding-top: 52px !important;
1335
+ }
1336
+
1337
+ .mr-52, .mx-52 {
1338
+ margin-right: 52px !important;
1339
+ }
1340
+
1341
+ .pr-52, .px-52 {
1342
+ padding-right: 52px !important;
1343
+ }
1344
+
1345
+ .mb-52, .my-52 {
1346
+ margin-bottom: 52px !important;
1347
+ }
1348
+
1349
+ .pb-52, .py-52 {
1350
+ padding-bottom: 52px !important;
1351
+ }
1352
+
1353
+ .ml-52, .mx-52 {
1354
+ margin-left: 52px !important;
1355
+ }
1356
+
1357
+ .pl-52, .px-52 {
1358
+ padding-left: 52px !important;
1359
+ }
1360
+
1281
1361
  .m-auto {
1282
1362
  margin: auto !important;
1283
1363
  }
@@ -2176,6 +2256,14 @@
2176
2256
  -webkit-box-orient: vertical;
2177
2257
  }
2178
2258
 
2259
+ .border-radius-full {
2260
+ border-radius: 50%;
2261
+ }
2262
+
2263
+ .aspect-ratio-1 {
2264
+ aspect-ratio: 1/1;
2265
+ }
2266
+
2179
2267
  .text-gradient {
2180
2268
  background-clip: text;
2181
2269
  -webkit-background-clip: text;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mrxy-yk",
3
- "version": "1.0.18",
3
+ "version": "1.0.20",
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.18",
4
+ "version": "1.0.20",
5
5
  "js-types-syntax": "typescript",
6
6
  "contributions": {
7
7
  "html": {
@@ -501,6 +501,13 @@
501
501
  "UseEmptyHooksExample"
502
502
  ],
503
503
  "description": "缺省组件Hook实例,可以直接拥有缺省功能"
504
+ },
505
+ {
506
+ "name": "slot-z-index",
507
+ "type": [
508
+ "number"
509
+ ],
510
+ "description": "插槽内容的z-index,默认是1"
504
511
  }
505
512
  ],
506
513
  "slots": [