mrxy-yk 1.7.3 → 1.7.5
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/adaptive-box/AdaptiveBox.vue.setup.js +1 -1
- package/dist/components/coordinate-pickup/CoordinatePickup.vue.setup.js +1 -1
- package/dist/components/drag-drop-box/DragDropBox.vue.setup.js +1 -1
- package/dist/components/drag-drop-container/DragDropContainer.vue.setup.js +1 -1
- package/dist/components/echarts-canvas/EChartsCanvas.vue.setup.js +1 -1
- package/dist/components/empty/Empty.vue.setup.js +1 -1
- package/dist/components/export-link/ExportLink.vue.setup.js +1 -1
- package/dist/components/in-body/InBody.vue.setup.js +1 -1
- package/dist/components/position-anchor/PositionAnchor.vue.setup.js +1 -1
- package/dist/components/progress-bar/ProgressBar.vue.setup.js +1 -1
- package/dist/components/progress-ring/ProgressRing.vue.setup.js +1 -1
- package/dist/components/scroll-container/ScrollContainer.vue.setup.js +1 -1
- package/dist/components/show-log/ShowLog.vue.setup.js +1 -1
- package/dist/components/ys-video/YsVideo.d.ts +1 -1
- package/dist/components/ys-video/YsVideo.vue.setup.js +3 -3
- package/dist/components/ys-video/components/BtnLineRec.vue.setup.js +1 -1
- package/dist/directives/ref-height/index.js +14 -0
- package/dist/element-plus/components/date-picker/DatePicker.vue.setup.js +1 -1
- package/dist/element-plus/components/form-dialog/FormDialog.vue.setup.js +1 -1
- package/dist/element-plus/components/images/Images.vue.setup.js +1 -1
- package/dist/element-plus/components/pagination/Pagination.vue.setup.js +1 -1
- package/dist/element-plus/components/table-column/TableColumn.vue.setup.js +1 -1
- package/dist/element-plus/components/upload/select-file/SelectFile.vue.setup.js +1 -1
- package/dist/element-plus/components/upload/upload-files/UploadFiles.d.ts +2 -2
- package/dist/element-plus/components/upload/upload-files/UploadFiles.vue.setup.js +1 -1
- package/dist/element-plus/components/upload/upload-images/UploadImages.d.ts +2 -2
- package/dist/element-plus/components/upload/upload-images/UploadImages.vue.setup.js +1 -1
- package/dist/element-plus/utils/table-util/index.js +15 -0
- package/dist/entity/BigFloat.js +2 -1
- package/dist/icons/index.js +1 -1
- package/dist/utils/amap/index.js +1 -1
- package/dist/utils/echarts/utils/index.js +16 -0
- package/dist/utils/fn-periodically/FnPeriodically.js +6 -6
- package/dist/utils/storage/index.js +36 -0
- package/package.json +6 -6
|
@@ -3,7 +3,7 @@ import { createElementBlock, createElementVNode, defineComponent, normalizeStyle
|
|
|
3
3
|
//#region src/components/adaptive-box/AdaptiveBox.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var _hoisted_1 = { class: "yk-adaptive-box" };
|
|
5
5
|
var errorValue = .01;
|
|
6
|
-
var AdaptiveBox_vue_vue_type_script_setup_true_lang_default =
|
|
6
|
+
var AdaptiveBox_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
7
7
|
__name: "AdaptiveBox",
|
|
8
8
|
props: {
|
|
9
9
|
reference: { default: void 0 },
|
|
@@ -7,7 +7,7 @@ import { ElMessage } from "element-plus";
|
|
|
7
7
|
var _hoisted_1 = { class: "autocomplete-subtitle" };
|
|
8
8
|
var _hoisted_2 = { key: 0 };
|
|
9
9
|
var _hoisted_3 = { key: 1 };
|
|
10
|
-
var CoordinatePickup_vue_vue_type_script_setup_true_lang_default =
|
|
10
|
+
var CoordinatePickup_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
11
11
|
__name: "CoordinatePickup",
|
|
12
12
|
props: {
|
|
13
13
|
modelValue: { type: Boolean },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ObjectUtil } from "../../utils/prototype/lib/ObjectUtil.js";
|
|
2
2
|
import { computed, createElementBlock, defineComponent, normalizeStyle, openBlock, ref, renderSlot, unref, watchEffect } from "vue";
|
|
3
3
|
//#region src/components/drag-drop-box/DragDropBox.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
-
var DragDropBox_vue_vue_type_script_setup_true_lang_default =
|
|
4
|
+
var DragDropBox_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
5
5
|
__name: "DragDropBox",
|
|
6
6
|
props: {
|
|
7
7
|
top: { default: "0" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ObjectUtil } from "../../utils/prototype/lib/ObjectUtil.js";
|
|
2
2
|
import { createElementBlock, createElementVNode, defineComponent, normalizeStyle, openBlock, ref, renderSlot } from "vue";
|
|
3
3
|
//#region src/components/drag-drop-container/DragDropContainer.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
-
var DragDropContainer_vue_vue_type_script_setup_true_lang_default =
|
|
4
|
+
var DragDropContainer_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
5
5
|
__name: "DragDropContainer",
|
|
6
6
|
props: {
|
|
7
7
|
step: { default: .1 },
|
|
@@ -6,7 +6,7 @@ import Empty_default from "../empty/Empty.vue.js";
|
|
|
6
6
|
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, onMounted, openBlock, renderSlot, shallowRef, unref } from "vue";
|
|
7
7
|
//#region src/components/echarts-canvas/EChartsCanvas.vue?vue&type=script&setup=true&lang.ts
|
|
8
8
|
var _hoisted_1 = { class: "yk-echarts-canvas" };
|
|
9
|
-
var EChartsCanvas_vue_vue_type_script_setup_true_lang_default =
|
|
9
|
+
var EChartsCanvas_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
10
10
|
__name: "EChartsCanvas",
|
|
11
11
|
props: {
|
|
12
12
|
emptyHook: {},
|
|
@@ -11,7 +11,7 @@ var _hoisted_1 = {
|
|
|
11
11
|
};
|
|
12
12
|
var _hoisted_2 = { class: "empty__description" };
|
|
13
13
|
var _hoisted_3 = { class: "empty__bottom" };
|
|
14
|
-
var Empty_vue_vue_type_script_setup_true_lang_default =
|
|
14
|
+
var Empty_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
15
15
|
__name: "Empty",
|
|
16
16
|
props: {
|
|
17
17
|
hook: {},
|
|
@@ -3,7 +3,7 @@ import { FileUtil } from "../../utils/prototype/lib/FileUtil.js";
|
|
|
3
3
|
import { computed, createElementBlock, defineComponent, openBlock, renderSlot } from "vue";
|
|
4
4
|
import qs from "qs";
|
|
5
5
|
//#region src/components/export-link/ExportLink.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var ExportLink_vue_vue_type_script_setup_true_lang_default =
|
|
6
|
+
var ExportLink_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
7
7
|
__name: "ExportLink",
|
|
8
8
|
props: {
|
|
9
9
|
url: {},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementBlock, defineComponent, onBeforeUnmount, onMounted, openBlock, ref, renderSlot } from "vue";
|
|
2
2
|
//#region src/components/in-body/InBody.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var InBody_vue_vue_type_script_setup_true_lang_default =
|
|
3
|
+
var InBody_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
4
4
|
__name: "InBody",
|
|
5
5
|
setup(__props) {
|
|
6
6
|
const currentDomRef = ref();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock, renderSlot } from "vue";
|
|
2
2
|
//#region src/components/position-anchor/PositionAnchor.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var PositionAnchor_vue_vue_type_script_setup_true_lang_default =
|
|
3
|
+
var PositionAnchor_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
4
4
|
__name: "PositionAnchor",
|
|
5
5
|
props: { anchor: { default: "top-left" } },
|
|
6
6
|
setup(__props) {
|
|
@@ -27,7 +27,7 @@ var _hoisted_12 = {
|
|
|
27
27
|
width: "100%",
|
|
28
28
|
height: "100%"
|
|
29
29
|
};
|
|
30
|
-
var ProgressBar_vue_vue_type_script_setup_true_lang_default =
|
|
30
|
+
var ProgressBar_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
31
31
|
__name: "ProgressBar",
|
|
32
32
|
props: {
|
|
33
33
|
progress: {},
|
|
@@ -25,7 +25,7 @@ var _hoisted_5 = {
|
|
|
25
25
|
width: "100%",
|
|
26
26
|
height: "100%"
|
|
27
27
|
};
|
|
28
|
-
var ProgressRing_vue_vue_type_script_setup_true_lang_default =
|
|
28
|
+
var ProgressRing_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
29
29
|
__name: "ProgressRing",
|
|
30
30
|
props: {
|
|
31
31
|
progress: { default: 0 },
|
|
@@ -5,7 +5,7 @@ var _hoisted_2 = {
|
|
|
5
5
|
key: 0,
|
|
6
6
|
style: { "width": "100%" }
|
|
7
7
|
};
|
|
8
|
-
var ScrollContainer_vue_vue_type_script_setup_true_lang_default =
|
|
8
|
+
var ScrollContainer_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
9
9
|
__name: "ScrollContainer",
|
|
10
10
|
props: {
|
|
11
11
|
speed: { default: 20 },
|
|
@@ -9,7 +9,7 @@ var _hoisted_2 = {
|
|
|
9
9
|
key: 0,
|
|
10
10
|
style: { "margin-top": "8px" }
|
|
11
11
|
};
|
|
12
|
-
var ShowLog_vue_vue_type_script_setup_true_lang_default =
|
|
12
|
+
var ShowLog_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
13
13
|
__name: "ShowLog",
|
|
14
14
|
props: {
|
|
15
15
|
title: { default: "" },
|
|
@@ -8,7 +8,7 @@ type __VLS_Props = {
|
|
|
8
8
|
themeData?: EZUIKitPlayerOptions['themeData'];
|
|
9
9
|
};
|
|
10
10
|
declare const __VLS_export: DefineComponent<__VLS_Props, {
|
|
11
|
-
getPlayer: () => EZUIKitPlayer;
|
|
11
|
+
getPlayer: () => EZUIKit.EZUIKitPlayer;
|
|
12
12
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
13
|
template: EZUIKitPlayerOptions["template"];
|
|
14
14
|
autoPlay: boolean;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import btn_play_default from "./images/btn-play.png.js";
|
|
2
2
|
import BtnLineRec_default from "./components/BtnLineRec.vue.js";
|
|
3
3
|
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, nextTick, normalizeStyle, onBeforeUnmount, onMounted, openBlock, shallowRef, toDisplayString, unref } from "vue";
|
|
4
|
-
import
|
|
4
|
+
import EZUIKit from "ezuikit-js";
|
|
5
5
|
//#region src/components/ys-video/YsVideo.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var _hoisted_1 = ["id"];
|
|
7
7
|
var _hoisted_2 = { class: "header" };
|
|
8
8
|
var _hoisted_3 = { class: "title-box" };
|
|
9
|
-
var YsVideo_vue_vue_type_script_setup_true_lang_default =
|
|
9
|
+
var YsVideo_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
10
10
|
__name: "YsVideo",
|
|
11
11
|
props: {
|
|
12
12
|
ysVideo: {},
|
|
@@ -32,7 +32,7 @@ var YsVideo_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ define
|
|
|
32
32
|
document.querySelector("#audioright").remove();
|
|
33
33
|
});
|
|
34
34
|
function loadVideo() {
|
|
35
|
-
player.value = new EZUIKitPlayer({
|
|
35
|
+
player.value = new EZUIKit.EZUIKitPlayer({
|
|
36
36
|
id: playerId.value,
|
|
37
37
|
template: props.themeData ? void 0 : props.template,
|
|
38
38
|
url: getPlayerUrl(),
|
|
@@ -10,7 +10,7 @@ var _hoisted_1 = {
|
|
|
10
10
|
"aspect-ratio": "1"
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
|
-
var BtnLineRec_vue_vue_type_script_setup_true_lang_default =
|
|
13
|
+
var BtnLineRec_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
14
14
|
__name: "BtnLineRec",
|
|
15
15
|
props: { player: {} },
|
|
16
16
|
setup(__props) {
|
|
@@ -12,6 +12,20 @@ function updateHeight(el, option) {
|
|
|
12
12
|
if (option.callback) option.callback(height);
|
|
13
13
|
}
|
|
14
14
|
var ref_height_default = {
|
|
15
|
+
/**
|
|
16
|
+
* 获取高度指令
|
|
17
|
+
* 使用方法:
|
|
18
|
+
* ``` vue
|
|
19
|
+
* <div v-ref-height></div>
|
|
20
|
+
* <div v-ref-height="cssVarName"></div>
|
|
21
|
+
* <div v-ref-height="{
|
|
22
|
+
* // CSS变量名称,不包含--
|
|
23
|
+
* cssVarName?: string,
|
|
24
|
+
* // 角色
|
|
25
|
+
* callback?(height: number),
|
|
26
|
+
* }"></div>
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
15
29
|
mounted(el, binding) {
|
|
16
30
|
observer.observe(el);
|
|
17
31
|
const _binding = binding.value || { cssVarName: "ref-height" };
|
|
@@ -3,7 +3,7 @@ import { computed, createBlock, defineComponent, isRef, openBlock, ref, unref, w
|
|
|
3
3
|
import { ElDatePicker } from "element-plus/es";
|
|
4
4
|
import dayjs from "dayjs";
|
|
5
5
|
//#region src/element-plus/components/date-picker/DatePicker.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var DatePicker_vue_vue_type_script_setup_true_lang_default =
|
|
6
|
+
var DatePicker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
7
7
|
__name: "DatePicker",
|
|
8
8
|
props: {
|
|
9
9
|
modelValue: {},
|
|
@@ -6,7 +6,7 @@ import "element-plus/es/components/base/style/css";
|
|
|
6
6
|
import "element-plus/es/components/loading/style/css";
|
|
7
7
|
//#region src/element-plus/components/form-dialog/FormDialog.vue?vue&type=script&setup=true&lang.ts
|
|
8
8
|
var _hoisted_1 = { class: "c_form__submit-btn" };
|
|
9
|
-
var FormDialog_vue_vue_type_script_setup_true_lang_default =
|
|
9
|
+
var FormDialog_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
10
10
|
__name: "FormDialog",
|
|
11
11
|
props: {
|
|
12
12
|
hook: {},
|
|
@@ -4,7 +4,7 @@ import { IcImageError } from "../../../icons/index.js";
|
|
|
4
4
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, openBlock, ref, renderList, shallowRef, unref, watchEffect, withCtx } from "vue";
|
|
5
5
|
import { ElIcon, ElImage, ElImageViewer } from "element-plus/es";
|
|
6
6
|
//#region src/element-plus/components/images/Images.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
-
var Images_vue_vue_type_script_setup_true_lang_default =
|
|
7
|
+
var Images_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
8
8
|
__name: "Images",
|
|
9
9
|
props: {
|
|
10
10
|
srcList: {},
|
|
@@ -2,7 +2,7 @@ import { computed, createElementBlock, createVNode, defineComponent, openBlock,
|
|
|
2
2
|
import { ElPagination } from "element-plus/es";
|
|
3
3
|
//#region src/element-plus/components/pagination/Pagination.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var _hoisted_1 = { class: "yk-pagination" };
|
|
5
|
-
var Pagination_vue_vue_type_script_setup_true_lang_default =
|
|
5
|
+
var Pagination_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
6
6
|
__name: "Pagination",
|
|
7
7
|
props: {
|
|
8
8
|
pages: {},
|
|
@@ -3,7 +3,7 @@ import { ElTableColumnGlobal } from "./index.js";
|
|
|
3
3
|
import { createBlock, createSlots, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, withCtx } from "vue";
|
|
4
4
|
import { ElTableColumn } from "element-plus/es";
|
|
5
5
|
//#region src/element-plus/components/table-column/TableColumn.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var TableColumn_vue_vue_type_script_setup_true_lang_default =
|
|
6
|
+
var TableColumn_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
7
7
|
__name: "TableColumn",
|
|
8
8
|
props: {
|
|
9
9
|
emptyStr: {},
|
|
@@ -4,7 +4,7 @@ import { computed, createElementBlock, createVNode, defineComponent, openBlock,
|
|
|
4
4
|
import { ElUpload } from "element-plus";
|
|
5
5
|
//#region src/element-plus/components/upload/select-file/SelectFile.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var _hoisted_1 = { class: "yk-upload-file" };
|
|
7
|
-
var SelectFile_vue_vue_type_script_setup_true_lang_default =
|
|
7
|
+
var SelectFile_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
8
8
|
__name: "SelectFile",
|
|
9
9
|
props: {
|
|
10
10
|
accept: { default: "xlsx,xls" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DefineSetupFnComponent, PublicProps } from 'vue';
|
|
2
|
-
declare var
|
|
2
|
+
declare var __VLS_11: {};
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
|
-
default?: (props: typeof
|
|
4
|
+
default?: (props: typeof __VLS_11) => any;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_base: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
7
7
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -18,7 +18,7 @@ var _hoisted_2 = { class: "tip-text" };
|
|
|
18
18
|
var _hoisted_3 = { key: 0 };
|
|
19
19
|
var _hoisted_4 = { key: 1 };
|
|
20
20
|
var _hoisted_5 = { key: 2 };
|
|
21
|
-
var UploadFiles_vue_vue_type_script_setup_true_lang_default =
|
|
21
|
+
var UploadFiles_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
22
22
|
__name: "UploadFiles",
|
|
23
23
|
props: {
|
|
24
24
|
modelType: { default: "url-string" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DefineSetupFnComponent, PublicProps } from 'vue';
|
|
2
|
-
declare var
|
|
2
|
+
declare var __VLS_11: {};
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
|
-
default?: (props: typeof
|
|
4
|
+
default?: (props: typeof __VLS_11) => any;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_base: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
7
7
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -9,7 +9,7 @@ import { ElIcon, ElImageViewer, ElUpload } from "element-plus/es";
|
|
|
9
9
|
import "element-plus";
|
|
10
10
|
import { Plus } from "@element-plus/icons-vue";
|
|
11
11
|
//#region src/element-plus/components/upload/upload-images/UploadImages.vue?vue&type=script&setup=true&lang.ts
|
|
12
|
-
var UploadImages_vue_vue_type_script_setup_true_lang_default =
|
|
12
|
+
var UploadImages_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
13
13
|
__name: "UploadImages",
|
|
14
14
|
props: {
|
|
15
15
|
modelType: {},
|
|
@@ -5,9 +5,18 @@ import "element-plus";
|
|
|
5
5
|
* 表格工具包
|
|
6
6
|
*/
|
|
7
7
|
var TableUtil = {
|
|
8
|
+
/**
|
|
9
|
+
* 计算表格序号
|
|
10
|
+
* @param pages
|
|
11
|
+
*/
|
|
8
12
|
indexMethod(pages) {
|
|
9
13
|
return (index) => pages.pageSize * (pages.pageNum - 1) + index + 1;
|
|
10
14
|
},
|
|
15
|
+
/**
|
|
16
|
+
* 前端分页
|
|
17
|
+
* @param tableData
|
|
18
|
+
* @param pages
|
|
19
|
+
*/
|
|
11
20
|
paging(tableData, pages) {
|
|
12
21
|
if (tableData.length === 0) {
|
|
13
22
|
pages.pageNum = 1;
|
|
@@ -25,6 +34,12 @@ var TableUtil = {
|
|
|
25
34
|
for (; start < end; start++) retData.push(tableData[start]);
|
|
26
35
|
return retData;
|
|
27
36
|
},
|
|
37
|
+
/**
|
|
38
|
+
* 高亮某一行
|
|
39
|
+
* @param ref
|
|
40
|
+
* @param index
|
|
41
|
+
* @param timeout
|
|
42
|
+
*/
|
|
28
43
|
highlightRow(ref, index, timeout = 12e3) {
|
|
29
44
|
const row = (ref.$el.querySelectorAll(".el-table__body tbody tr") || [])[index];
|
|
30
45
|
if (row) {
|
package/dist/entity/BigFloat.js
CHANGED
|
@@ -67,7 +67,8 @@ var BigFloat = class BigFloat {
|
|
|
67
67
|
multiply(value) {
|
|
68
68
|
const bigFloatValue = this.toBigFloat(value);
|
|
69
69
|
const maxPrecision = Math.max(this.precision, bigFloatValue.precision);
|
|
70
|
-
|
|
70
|
+
const resultValue = this.getComputeBigInt(this, maxPrecision) * this.getComputeBigInt(bigFloatValue, maxPrecision);
|
|
71
|
+
this.currentValue = resultValue / this.decimalsAgainst(maxPrecision);
|
|
71
72
|
this.precision = maxPrecision;
|
|
72
73
|
return this;
|
|
73
74
|
}
|
package/dist/icons/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { ComponentUtil } from "../utils/prototype/lib/ComponentUtil.js";
|
|
|
2
2
|
import { Image_exports } from "./images/Image.svg.js";
|
|
3
3
|
import { ImageError_exports } from "./images/ImageError.svg.js";
|
|
4
4
|
//#region src/icons/index.ts
|
|
5
|
-
var svgImages = /*
|
|
5
|
+
var svgImages = /* #__PURE__ */ Object.assign({
|
|
6
6
|
"./images/Image.svg": Image_exports,
|
|
7
7
|
"./images/ImageError.svg": ImageError_exports
|
|
8
8
|
});
|
package/dist/utils/amap/index.js
CHANGED
|
@@ -17,6 +17,11 @@ var resizeObserver = new ResizeObserver(ObjectUtil.debounce((entries) => {
|
|
|
17
17
|
}
|
|
18
18
|
}, 50));
|
|
19
19
|
var EChartsUtil = {
|
|
20
|
+
/**
|
|
21
|
+
* 添加Resize监听器
|
|
22
|
+
* @param chart
|
|
23
|
+
* @param isUnmountRemoveListener
|
|
24
|
+
*/
|
|
20
25
|
addResizeListener(chart, isUnmountRemoveListener = true) {
|
|
21
26
|
if (Array.isArray(chart)) for (let i = 0, len = chart.length; i < len; i++) {
|
|
22
27
|
const item = chart[i];
|
|
@@ -35,6 +40,10 @@ var EChartsUtil = {
|
|
|
35
40
|
this.removeResizeListener(chart);
|
|
36
41
|
});
|
|
37
42
|
},
|
|
43
|
+
/**
|
|
44
|
+
* 移除Resize监听器
|
|
45
|
+
* @param chart
|
|
46
|
+
*/
|
|
38
47
|
removeResizeListener(chart) {
|
|
39
48
|
if (Array.isArray(chart)) for (let i = 0, len = chart.length; i < len; i++) {
|
|
40
49
|
const dom = chart[i].getDom();
|
|
@@ -47,6 +56,13 @@ var EChartsUtil = {
|
|
|
47
56
|
resizePool.delete(dom);
|
|
48
57
|
}
|
|
49
58
|
},
|
|
59
|
+
/**
|
|
60
|
+
* 获取线性的渐变色
|
|
61
|
+
* @param startColor : String 起始颜色
|
|
62
|
+
* @param endColor : String? 结束颜色,为空时生成起始颜色的透明色
|
|
63
|
+
* @param direction
|
|
64
|
+
* @returns {}
|
|
65
|
+
*/
|
|
50
66
|
getLinearGradient(startColor, endColor, direction = "vertical") {
|
|
51
67
|
if (!endColor) {
|
|
52
68
|
if (/^#[0-9A-Fa-f]{6}|[0-9A-Fa-f]{3}$/.test(startColor)) endColor = /^#[0-9A-Fa-f]{6}$/.test(startColor) ? startColor + "00" : startColor + "0";
|
|
@@ -9,15 +9,15 @@ var FnPeriodically = class {
|
|
|
9
9
|
fn = null;
|
|
10
10
|
timer = null;
|
|
11
11
|
delay = null;
|
|
12
|
-
state =
|
|
12
|
+
state = 0;
|
|
13
13
|
immediate = true;
|
|
14
14
|
arg = [];
|
|
15
15
|
isUnmountStop = false;
|
|
16
16
|
constructor(option) {
|
|
17
17
|
const { run, ...rest } = option;
|
|
18
18
|
Object.assign(this, rest);
|
|
19
|
-
if (run === true) this.state =
|
|
20
|
-
if (this.state ===
|
|
19
|
+
if (run === true) this.state = 1;
|
|
20
|
+
if (this.state === 1) this.run(this.immediate, this.arg);
|
|
21
21
|
if (this.isUnmountStop) onBeforeUnmount(() => {
|
|
22
22
|
this.stop();
|
|
23
23
|
});
|
|
@@ -33,7 +33,7 @@ var FnPeriodically = class {
|
|
|
33
33
|
if (this.timer) clearTimeout(this.timer);
|
|
34
34
|
this.fn(_params, ...this.arg).finally(async () => {
|
|
35
35
|
this.timer = setTimeout(() => {
|
|
36
|
-
if (this.state ===
|
|
36
|
+
if (this.state === 1 && this.runId === runId) this.loopRun();
|
|
37
37
|
}, this.delay);
|
|
38
38
|
});
|
|
39
39
|
}
|
|
@@ -50,7 +50,7 @@ var FnPeriodically = class {
|
|
|
50
50
|
*/
|
|
51
51
|
run(immediate = true, arg) {
|
|
52
52
|
this.arg = arg || [];
|
|
53
|
-
this.state =
|
|
53
|
+
this.state = 1;
|
|
54
54
|
this.runId += 1;
|
|
55
55
|
if (immediate) this.loopRun({ isFirstRun: true });
|
|
56
56
|
else {
|
|
@@ -65,7 +65,7 @@ var FnPeriodically = class {
|
|
|
65
65
|
*/
|
|
66
66
|
stop() {
|
|
67
67
|
clearTimeout(this.timer);
|
|
68
|
-
this.state =
|
|
68
|
+
this.state = 0;
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
71
|
* 设置间隔时间
|
|
@@ -32,10 +32,19 @@ var StorageUtil = class StorageUtil {
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
static local = {
|
|
35
|
+
/**
|
|
36
|
+
* 获取localStorage的值 - 解密
|
|
37
|
+
* @param key
|
|
38
|
+
*/
|
|
35
39
|
get(key) {
|
|
36
40
|
const str = StorageUtil.localStorage.getItem(key);
|
|
37
41
|
if (str) return JSON.parse(EncryptConfig.decryptMethod(str));
|
|
38
42
|
},
|
|
43
|
+
/**
|
|
44
|
+
* 设置localStorage的值 - 加密
|
|
45
|
+
* @param key
|
|
46
|
+
* @param value
|
|
47
|
+
*/
|
|
39
48
|
set(key, value) {
|
|
40
49
|
StorageUtil.localStorage.setItem(key, EncryptConfig.encryptMethod(JSON.stringify(value)));
|
|
41
50
|
},
|
|
@@ -47,10 +56,19 @@ var StorageUtil = class StorageUtil {
|
|
|
47
56
|
}
|
|
48
57
|
};
|
|
49
58
|
static session = {
|
|
59
|
+
/**
|
|
60
|
+
* 获取sessionStorage的值 - 解密
|
|
61
|
+
* @param key
|
|
62
|
+
*/
|
|
50
63
|
get(key) {
|
|
51
64
|
const str = StorageUtil.sessionStorage.getItem(key);
|
|
52
65
|
if (str) return JSON.parse(EncryptConfig.decryptMethod(str));
|
|
53
66
|
},
|
|
67
|
+
/**
|
|
68
|
+
* 设置sessionStorage的值 - 加密
|
|
69
|
+
* @param key
|
|
70
|
+
* @param value
|
|
71
|
+
*/
|
|
54
72
|
set(key, value) {
|
|
55
73
|
StorageUtil.sessionStorage.setItem(key, EncryptConfig.encryptMethod(JSON.stringify(value)));
|
|
56
74
|
},
|
|
@@ -62,10 +80,21 @@ var StorageUtil = class StorageUtil {
|
|
|
62
80
|
}
|
|
63
81
|
};
|
|
64
82
|
static cookie = {
|
|
83
|
+
/**
|
|
84
|
+
* 获取cookie
|
|
85
|
+
* @param key
|
|
86
|
+
*/
|
|
65
87
|
get(key) {
|
|
66
88
|
const str = this.getAll()[key];
|
|
67
89
|
return str ? EncryptConfig.decryptMethod(str) : void 0;
|
|
68
90
|
},
|
|
91
|
+
/**
|
|
92
|
+
* 设置cookie
|
|
93
|
+
* @param key
|
|
94
|
+
* @param value
|
|
95
|
+
* @param expires 日期字符串|日期对象|天数
|
|
96
|
+
* @param path
|
|
97
|
+
*/
|
|
69
98
|
set(key, value, expires, path = "/") {
|
|
70
99
|
let cookieStr = `${key}=${EncryptConfig.encryptMethod(value)};path=${path}`;
|
|
71
100
|
if (expires) {
|
|
@@ -76,6 +105,9 @@ var StorageUtil = class StorageUtil {
|
|
|
76
105
|
}
|
|
77
106
|
document.cookie = cookieStr;
|
|
78
107
|
},
|
|
108
|
+
/**
|
|
109
|
+
* 获取所有cookie
|
|
110
|
+
*/
|
|
79
111
|
getAll() {
|
|
80
112
|
const cookieArr = document.cookie.split(";");
|
|
81
113
|
const cookieObj = {};
|
|
@@ -85,6 +117,10 @@ var StorageUtil = class StorageUtil {
|
|
|
85
117
|
});
|
|
86
118
|
return cookieObj;
|
|
87
119
|
},
|
|
120
|
+
/**
|
|
121
|
+
* 删除cookie
|
|
122
|
+
* @param key
|
|
123
|
+
*/
|
|
88
124
|
remove(key) {
|
|
89
125
|
this.set(key, "", -1);
|
|
90
126
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mrxy-yk",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "A collection of Vue 3 components and utilities",
|
|
@@ -100,20 +100,20 @@
|
|
|
100
100
|
"@amap/amap-jsapi-loader": "1.0.1",
|
|
101
101
|
"@element-plus/icons-vue": "2.3.2",
|
|
102
102
|
"echarts": "6.1.0",
|
|
103
|
-
"ezuikit-js": "
|
|
103
|
+
"ezuikit-js": "8.2.4",
|
|
104
104
|
"jszip": "3.10.1",
|
|
105
105
|
"mitt": "3.0.1",
|
|
106
106
|
"qs": "6.15.2"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
109
|
"@tsconfig/node22": "22.0.5",
|
|
110
|
-
"@types/node": "25.9.
|
|
110
|
+
"@types/node": "25.9.2",
|
|
111
111
|
"@types/qs": "6.15.1",
|
|
112
112
|
"@vitejs/plugin-vue": "6.0.7",
|
|
113
113
|
"@vue/eslint-config-typescript": "14.8.0",
|
|
114
114
|
"@vue/tsconfig": "0.9.1",
|
|
115
115
|
"eslint": "10.4.1",
|
|
116
|
-
"eslint-plugin-unicorn": "
|
|
116
|
+
"eslint-plugin-unicorn": "65.0.0",
|
|
117
117
|
"eslint-plugin-vue": "10.9.2",
|
|
118
118
|
"jiti": "2.7.0",
|
|
119
119
|
"npm-run-all2": "9.0.1",
|
|
@@ -121,10 +121,10 @@
|
|
|
121
121
|
"typescript": "5.9.3",
|
|
122
122
|
"unplugin-auto-import": "21.0.0",
|
|
123
123
|
"unplugin-vue-components": "32.1.0",
|
|
124
|
-
"vite": "8.0.
|
|
124
|
+
"vite": "8.0.16",
|
|
125
125
|
"vite-plugin-dts": "5.0.2",
|
|
126
126
|
"vite-plugin-static-copy": "4.1.0",
|
|
127
|
-
"vue-tsc": "3.3.
|
|
127
|
+
"vue-tsc": "3.3.4"
|
|
128
128
|
},
|
|
129
129
|
"browserslist": [
|
|
130
130
|
"> 1%",
|