@dfsj/components 3.3.0 → 3.5.0
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/CHANGELOG.md +43 -0
- package/dist/components/Boards/src/Boards.vue.d.ts +6 -10
- package/dist/components/Boards/src/Boards.vue2.js +1 -1
- package/dist/components/ClickOutSide/src/ClickOutSide.vue.d.ts +2 -2
- package/dist/components/ClickOutSide/src/ClickOutSide.vue2.js +1 -1
- package/dist/components/DatePicker/src/composables/use-range-picker.d.ts +80 -7
- package/dist/components/DatePicker/src/date-picker-com/panel-date-range.vue.d.ts +6 -6
- package/dist/components/DatePicker/src/date-picker-com/panel-month-range.vue.d.ts +6 -6
- package/dist/components/DatePicker/src/index.d.ts +44 -44
- package/dist/components/Descriptions/src/Descriptions.vue.d.ts +1 -96
- package/dist/components/Descriptions/src/Descriptions.vue2.js +1 -1
- package/dist/components/Editor/src/Editor.vue.d.ts +6 -6
- package/dist/components/Editor/src/Editor.vue2.js +1 -1
- package/dist/components/Form/src/Form.vue.d.ts +1 -153
- package/dist/components/Form/src/Form.vue2.js +3 -3
- package/dist/components/Form/src/components/useRenderCheckbox.js +1 -1
- package/dist/components/Form/src/components/useRenderRadio.js +1 -1
- package/dist/components/Form/src/useForm.js +11 -11
- package/dist/components/Highlight/src/Highlight.vue.d.ts +1 -40
- package/dist/components/Icon/src/Icon.vue.d.ts +5 -5
- package/dist/components/Icon/src/Icon.vue2.js +1 -1
- package/dist/components/Icon/src/SvgIcon.vue.d.ts +5 -5
- package/dist/components/InputPassword/src/InputPassword.vue.d.ts +6 -6
- package/dist/components/Modal/src/BasicModal.vue.d.ts +1 -314
- package/dist/components/Modal/src/BasicModal.vue2.js +1 -1
- package/dist/components/Modal/src/components/ModalFooter.vue.d.ts +5 -5
- package/dist/components/Modal/src/components/ModalHeader.vue.d.ts +5 -5
- package/dist/components/Modal/src/hooks/useModalDrag.d.ts +1 -1
- package/dist/components/Modal/src/hooks/useTimeout.d.ts +2 -2
- package/dist/components/Modal/src/hooks/useTimeout.js +1 -1
- package/dist/components/Modal/src/props.d.ts +6 -4
- package/dist/components/NodeAxis/src/CanvasNodeRender.js +18 -4
- package/dist/components/NodeAxis/src/NodeAxis.d.ts +5 -5
- package/dist/components/NodeAxis/src/NodeAxis.vue.d.ts +5 -5
- package/dist/components/NodeAxis/src/NodeAxis.vue2.js +1 -0
- package/dist/components/Stateful/src/Stateful.vue.d.ts +5 -5
- package/dist/components/Table/src/Table.vue.d.ts +1 -536
- package/dist/components/Table/src/Table.vue2.js +8 -8
- package/dist/components/Table/src/components/ColumnSetting.vue.d.ts +6 -6
- package/dist/components/Table/src/components/ColumnSetting.vue2.js +3 -3
- package/dist/components/Table/src/components/TableActions.vue.d.ts +1 -19
- package/dist/components/Table/src/useTable.js +9 -9
- package/dist/components/UnifyChart/src/ChartToolbox.vue.d.ts +8 -7
- package/dist/components/UnifyChart/src/UnifyChart.vue.d.ts +7 -7
- package/dist/components/UnifyChart/src/hooks/useLoader.d.ts +1 -1
- package/dist/components/UnifyChart/src/hooks/useLoader.js +1 -1
- package/dist/components/Video/src/VideoPlayer.vue.d.ts +5 -5
- package/dist/components/Video/src/VideoPlayerToolbar.vue.d.ts +5 -5
- package/dist/components/Video/src/VideoPlayerToolbar.vue2.js +1 -1
- package/dist/components/Visual/src/BufferLayerPlayer.js +5 -5
- package/dist/components/Windows/src/ModalWrap.vue.d.ts +5 -5
- package/dist/components/Windows/src/Windows.vue.d.ts +6 -4
- package/dist/index.min.css +2 -2
- package/dist/node_modules/.pnpm/{@vueuse_core@10.11.0_vue@3.4.31_typescript@5.2.2_ → @vueuse_core@10.11.1_vue@3.5.11_typescript@5.6.2_}/node_modules/@vueuse/core/index.js +6 -6
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/is.d.ts +3 -3
- package/package.json +6 -6
- /package/dist/node_modules/.pnpm/{@vueuse_shared@10.11.0_vue@3.4.31_typescript@5.2.2_ → @vueuse_shared@10.11.1_vue@3.5.11_typescript@5.6.2_}/node_modules/@vueuse/shared/index.js +0 -0
|
@@ -1,20 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TableColumn } from '../types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
columns: {
|
|
5
|
-
type: PropType<TableColumn[]>;
|
|
6
|
-
default: () => any[];
|
|
7
|
-
};
|
|
8
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("refresh" | "changSize" | "confirm")[], "refresh" | "changSize" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
-
columns: {
|
|
10
|
-
type: PropType<TableColumn[]>;
|
|
11
|
-
default: () => any[];
|
|
12
|
-
};
|
|
13
|
-
}>> & {
|
|
14
|
-
onRefresh?: (...args: any[]) => any;
|
|
15
|
-
onChangSize?: (...args: any[]) => any;
|
|
16
|
-
onConfirm?: (...args: any[]) => any;
|
|
17
|
-
}, {
|
|
18
|
-
columns: TableColumn[];
|
|
19
|
-
}, {}>;
|
|
1
|
+
declare const _default: import("vue").DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import("vue").PublicProps>;
|
|
20
2
|
export default _default;
|
|
@@ -41,7 +41,7 @@ var useTable = function useTable(config) {
|
|
|
41
41
|
elTableRef.value = unref(elRef);
|
|
42
42
|
};
|
|
43
43
|
var getTable = /*#__PURE__*/function () {
|
|
44
|
-
var _ref = _asyncToGenerator(
|
|
44
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
45
45
|
var table;
|
|
46
46
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
47
47
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -66,7 +66,7 @@ var useTable = function useTable(config) {
|
|
|
66
66
|
}();
|
|
67
67
|
var methods = {
|
|
68
68
|
getList: function () {
|
|
69
|
-
var _getList = _asyncToGenerator(
|
|
69
|
+
var _getList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
70
70
|
var res;
|
|
71
71
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
72
72
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -104,7 +104,7 @@ var useTable = function useTable(config) {
|
|
|
104
104
|
return getList;
|
|
105
105
|
}(),
|
|
106
106
|
setProps: function () {
|
|
107
|
-
var _setProps = _asyncToGenerator(
|
|
107
|
+
var _setProps = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
|
|
108
108
|
var props,
|
|
109
109
|
table,
|
|
110
110
|
_args3 = arguments;
|
|
@@ -129,7 +129,7 @@ var useTable = function useTable(config) {
|
|
|
129
129
|
return setProps;
|
|
130
130
|
}(),
|
|
131
131
|
setColumn: function () {
|
|
132
|
-
var _setColumn = _asyncToGenerator(
|
|
132
|
+
var _setColumn = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(columnProps) {
|
|
133
133
|
var table;
|
|
134
134
|
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
135
135
|
while (1) switch (_context4.prev = _context4.next) {
|
|
@@ -151,7 +151,7 @@ var useTable = function useTable(config) {
|
|
|
151
151
|
return setColumn;
|
|
152
152
|
}(),
|
|
153
153
|
addColumn: function () {
|
|
154
|
-
var _addColumn = _asyncToGenerator(
|
|
154
|
+
var _addColumn = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(tableColumn, index) {
|
|
155
155
|
var table;
|
|
156
156
|
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
157
157
|
while (1) switch (_context5.prev = _context5.next) {
|
|
@@ -173,7 +173,7 @@ var useTable = function useTable(config) {
|
|
|
173
173
|
return addColumn;
|
|
174
174
|
}(),
|
|
175
175
|
delColumn: function () {
|
|
176
|
-
var _delColumn = _asyncToGenerator(
|
|
176
|
+
var _delColumn = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(field) {
|
|
177
177
|
var table;
|
|
178
178
|
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
179
179
|
while (1) switch (_context6.prev = _context6.next) {
|
|
@@ -195,7 +195,7 @@ var useTable = function useTable(config) {
|
|
|
195
195
|
return delColumn;
|
|
196
196
|
}(),
|
|
197
197
|
getElTableExpose: function () {
|
|
198
|
-
var _getElTableExpose = _asyncToGenerator(
|
|
198
|
+
var _getElTableExpose = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7() {
|
|
199
199
|
return _regeneratorRuntime.wrap(function _callee7$(_context7) {
|
|
200
200
|
while (1) switch (_context7.prev = _context7.next) {
|
|
201
201
|
case 0:
|
|
@@ -218,7 +218,7 @@ var useTable = function useTable(config) {
|
|
|
218
218
|
methods.getList();
|
|
219
219
|
},
|
|
220
220
|
delList: function () {
|
|
221
|
-
var _delList = _asyncToGenerator(
|
|
221
|
+
var _delList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee9(idsLength) {
|
|
222
222
|
var fetchDelApi;
|
|
223
223
|
return _regeneratorRuntime.wrap(function _callee9$(_context9) {
|
|
224
224
|
while (1) switch (_context9.prev = _context9.next) {
|
|
@@ -235,7 +235,7 @@ var useTable = function useTable(config) {
|
|
|
235
235
|
confirmButtonText: t('common.delOk'),
|
|
236
236
|
cancelButtonText: t('common.delCancel'),
|
|
237
237
|
type: 'warning'
|
|
238
|
-
}).then(
|
|
238
|
+
}).then(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8() {
|
|
239
239
|
var res, current;
|
|
240
240
|
return _regeneratorRuntime.wrap(function _callee8$(_context8) {
|
|
241
241
|
while (1) switch (_context8.prev = _context8.next) {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { IToolbox } from "./props";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
3
|
instance: import("vue-types").VueTypeValidableDef<Record<string, any>, import("vue-types/dist/types").ValidatorFunction<Record<string, any>>> & {
|
|
3
4
|
default: () => Record<string, any>;
|
|
4
5
|
} & {
|
|
@@ -15,10 +16,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
16
|
toggleStatistic: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").ValidatorFunction<(...args: any[]) => any>> & {
|
|
16
17
|
default: (...args: any[]) => any;
|
|
17
18
|
};
|
|
18
|
-
toolbox: () =>
|
|
19
|
-
}
|
|
19
|
+
toolbox: () => Array<IToolbox>;
|
|
20
|
+
}>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
20
21
|
[key: string]: any;
|
|
21
|
-
}>,
|
|
22
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
23
|
instance: import("vue-types").VueTypeValidableDef<Record<string, any>, import("vue-types/dist/types").ValidatorFunction<Record<string, any>>> & {
|
|
23
24
|
default: () => Record<string, any>;
|
|
24
25
|
} & {
|
|
@@ -35,11 +36,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
36
|
toggleStatistic: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").ValidatorFunction<(...args: any[]) => any>> & {
|
|
36
37
|
default: (...args: any[]) => any;
|
|
37
38
|
};
|
|
38
|
-
toolbox: () =>
|
|
39
|
-
}
|
|
39
|
+
toolbox: () => Array<IToolbox>;
|
|
40
|
+
}>> & Readonly<{}>, {
|
|
40
41
|
instance: Record<string, any>;
|
|
41
42
|
iconSize: number;
|
|
42
43
|
toggleTable: (...args: any[]) => any;
|
|
43
44
|
toggleStatistic: (...args: any[]) => any;
|
|
44
|
-
}, {}>;
|
|
45
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
45
46
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
data: import("vue-types").VueTypeValidableDef<Record<string, any>, import("vue-types/dist/types").ValidatorFunction<Record<string, any>>> & {
|
|
3
3
|
default: () => Record<string, any>;
|
|
4
4
|
} & {
|
|
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
} & {
|
|
31
31
|
default: () => Record<string, any>;
|
|
32
32
|
};
|
|
33
|
-
toolbox: () =>
|
|
33
|
+
toolbox: () => Array<import("./props").IToolbox>;
|
|
34
34
|
chartHooks: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").ValidatorFunction<(...args: any[]) => any>> & {
|
|
35
35
|
default: (...args: any[]) => any;
|
|
36
36
|
};
|
|
@@ -39,9 +39,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
39
|
} & {
|
|
40
40
|
default: () => Record<string, any>;
|
|
41
41
|
};
|
|
42
|
-
}
|
|
42
|
+
}>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
43
43
|
[key: string]: any;
|
|
44
|
-
}>,
|
|
44
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
45
|
data: import("vue-types").VueTypeValidableDef<Record<string, any>, import("vue-types/dist/types").ValidatorFunction<Record<string, any>>> & {
|
|
46
46
|
default: () => Record<string, any>;
|
|
47
47
|
} & {
|
|
@@ -73,7 +73,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
73
73
|
} & {
|
|
74
74
|
default: () => Record<string, any>;
|
|
75
75
|
};
|
|
76
|
-
toolbox: () =>
|
|
76
|
+
toolbox: () => Array<import("./props").IToolbox>;
|
|
77
77
|
chartHooks: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").ValidatorFunction<(...args: any[]) => any>> & {
|
|
78
78
|
default: (...args: any[]) => any;
|
|
79
79
|
};
|
|
@@ -82,7 +82,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
82
|
} & {
|
|
83
83
|
default: () => Record<string, any>;
|
|
84
84
|
};
|
|
85
|
-
}
|
|
85
|
+
}>> & Readonly<{}>, {
|
|
86
86
|
data: Record<string, any>;
|
|
87
87
|
options: Record<string, any>;
|
|
88
88
|
width: string;
|
|
@@ -91,5 +91,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
91
91
|
datasource: Record<string, any>;
|
|
92
92
|
chartHooks: (...args: any[]) => any;
|
|
93
93
|
stateful: Record<string, any>;
|
|
94
|
-
}, {}>;
|
|
94
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
95
95
|
export default _default;
|
|
@@ -5,7 +5,7 @@ export declare function useLoader(props: useLoaderProps, { immediate, condition,
|
|
|
5
5
|
condition?: {};
|
|
6
6
|
watchCondition?: boolean;
|
|
7
7
|
}): {
|
|
8
|
-
datasource: import("vue").Ref<any>;
|
|
8
|
+
datasource: import("vue").Ref<any, any>;
|
|
9
9
|
fetchData: () => Promise<void>;
|
|
10
10
|
stateful: State;
|
|
11
11
|
};
|
|
@@ -34,7 +34,7 @@ function useLoader(props, _ref) {
|
|
|
34
34
|
deep: true
|
|
35
35
|
});
|
|
36
36
|
var fetchData = /*#__PURE__*/function () {
|
|
37
|
-
var _ref2 = _asyncToGenerator(
|
|
37
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
38
38
|
var _props$options;
|
|
39
39
|
var result, empty;
|
|
40
40
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
host: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
3
3
|
default: string;
|
|
4
4
|
};
|
|
@@ -22,9 +22,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
22
|
} & {
|
|
23
23
|
default: string;
|
|
24
24
|
};
|
|
25
|
-
}
|
|
25
|
+
}>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
26
26
|
[key: string]: any;
|
|
27
|
-
}>,
|
|
27
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
28
|
host: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
29
29
|
default: string;
|
|
30
30
|
};
|
|
@@ -48,7 +48,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
48
|
} & {
|
|
49
49
|
default: string;
|
|
50
50
|
};
|
|
51
|
-
}
|
|
51
|
+
}>> & Readonly<{}>, {
|
|
52
52
|
host: string;
|
|
53
53
|
port: string;
|
|
54
54
|
channel: string;
|
|
@@ -56,5 +56,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
56
|
password: string;
|
|
57
57
|
streamType: string;
|
|
58
58
|
videoType: string;
|
|
59
|
-
}, {}>;
|
|
59
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
60
60
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
domRef: import("vue-types").VueTypeValidableDef<any, import("vue-types/dist/types").ValidatorFunction<any>>;
|
|
3
3
|
stop: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").ValidatorFunction<(...args: any[]) => any>> & {
|
|
4
4
|
default: (...args: any[]) => any;
|
|
@@ -11,9 +11,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
toggleFullscreenFn: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").ValidatorFunction<(...args: any[]) => any>> & {
|
|
12
12
|
default: (...args: any[]) => any;
|
|
13
13
|
};
|
|
14
|
-
}
|
|
14
|
+
}>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
15
15
|
[key: string]: any;
|
|
16
|
-
}>,
|
|
16
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
17
|
domRef: import("vue-types").VueTypeValidableDef<any, import("vue-types/dist/types").ValidatorFunction<any>>;
|
|
18
18
|
stop: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").ValidatorFunction<(...args: any[]) => any>> & {
|
|
19
19
|
default: (...args: any[]) => any;
|
|
@@ -26,9 +26,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
26
|
toggleFullscreenFn: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").ValidatorFunction<(...args: any[]) => any>> & {
|
|
27
27
|
default: (...args: any[]) => any;
|
|
28
28
|
};
|
|
29
|
-
}
|
|
29
|
+
}>> & Readonly<{}>, {
|
|
30
30
|
stop: (...args: any[]) => any;
|
|
31
31
|
play: (...args: any[]) => any;
|
|
32
32
|
toggleFullscreenFn: (...args: any[]) => any;
|
|
33
|
-
}, {}>;
|
|
33
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
34
34
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, toRefs, computed, openBlock, createElementBlock, renderSlot, createVNode, unref, mergeProps, withModifiers } from 'vue';
|
|
2
|
-
import { useFullscreen } from '../../../node_modules/.pnpm/@vueuse_core@10.11.
|
|
2
|
+
import { useFullscreen } from '../../../node_modules/.pnpm/@vueuse_core@10.11.1_vue@3.5.11_typescript@5.6.2_/node_modules/@vueuse/core/index.js';
|
|
3
3
|
import '../../Icon/src/Icon.vue.js';
|
|
4
4
|
import '../../Icon/src/SvgIcon.vue.js';
|
|
5
5
|
import propTypes from '../../../utils/propTypes.js';
|
|
@@ -26,7 +26,7 @@ var BufferLayerPlayer = /*#__PURE__*/function () {
|
|
|
26
26
|
return _createClass(BufferLayerPlayer, [{
|
|
27
27
|
key: "backward",
|
|
28
28
|
value: function () {
|
|
29
|
-
var _backward = _asyncToGenerator(
|
|
29
|
+
var _backward = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
30
30
|
var index, cursor;
|
|
31
31
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
32
32
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -75,7 +75,7 @@ var BufferLayerPlayer = /*#__PURE__*/function () {
|
|
|
75
75
|
}, {
|
|
76
76
|
key: "forward",
|
|
77
77
|
value: function () {
|
|
78
|
-
var _forward = _asyncToGenerator(
|
|
78
|
+
var _forward = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
79
79
|
var size, index, count;
|
|
80
80
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
81
81
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -143,7 +143,7 @@ var BufferLayerPlayer = /*#__PURE__*/function () {
|
|
|
143
143
|
}, {
|
|
144
144
|
key: "visible",
|
|
145
145
|
value: function () {
|
|
146
|
-
var _visible = _asyncToGenerator(
|
|
146
|
+
var _visible = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(value) {
|
|
147
147
|
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
148
148
|
while (1) switch (_context3.prev = _context3.next) {
|
|
149
149
|
case 0:
|
|
@@ -197,7 +197,7 @@ var BufferLayerPlayer = /*#__PURE__*/function () {
|
|
|
197
197
|
}, {
|
|
198
198
|
key: "get",
|
|
199
199
|
value: function () {
|
|
200
|
-
var _get = _asyncToGenerator(
|
|
200
|
+
var _get = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(index) {
|
|
201
201
|
var _this$provider, _this$manager, _this$manager2, _this$manager3;
|
|
202
202
|
var layer, opacity;
|
|
203
203
|
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
@@ -225,7 +225,7 @@ var BufferLayerPlayer = /*#__PURE__*/function () {
|
|
|
225
225
|
}, {
|
|
226
226
|
key: "ready",
|
|
227
227
|
value: function () {
|
|
228
|
-
var _ready = _asyncToGenerator(
|
|
228
|
+
var _ready = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(index) {
|
|
229
229
|
var _this$queue2, _this$manager4;
|
|
230
230
|
var max, i, _this$queue;
|
|
231
231
|
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
import { Options } from './props';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
zIndex: NumberConstructor;
|
|
5
5
|
options: PropType<Options>;
|
|
6
|
-
}
|
|
6
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
7
7
|
[key: string]: any;
|
|
8
|
-
}>,
|
|
8
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
9
|
zIndex: NumberConstructor;
|
|
10
10
|
options: PropType<Options>;
|
|
11
|
-
}>> & {
|
|
11
|
+
}>> & Readonly<{
|
|
12
12
|
onClose?: (...args: any[]) => any;
|
|
13
|
-
}, {}, {}>;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
14
|
export default _default;
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
items: {
|
|
3
3
|
type: import("vue").PropType<import("./props").Options[]>;
|
|
4
4
|
};
|
|
5
5
|
front: StringConstructor;
|
|
6
6
|
layer: NumberConstructor;
|
|
7
|
-
}
|
|
7
|
+
}>, {
|
|
8
8
|
setRefs: (index: number) => (el: HTMLElement) => void;
|
|
9
9
|
zIndex: number;
|
|
10
10
|
onClose: (id: string) => void;
|
|
11
|
-
},
|
|
11
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
12
|
items: {
|
|
13
13
|
type: import("vue").PropType<import("./props").Options[]>;
|
|
14
14
|
};
|
|
15
15
|
front: StringConstructor;
|
|
16
16
|
layer: NumberConstructor;
|
|
17
|
-
}
|
|
17
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
18
|
+
ModalWrap: import("vue").DefineComponent<{}, {}, any>;
|
|
19
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
18
20
|
export default _default;
|
package/dist/index.min.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@dfsj/components:通用的vue组件;包括专业组件、原子级组件
|
|
3
|
-
版本: 3.
|
|
3
|
+
版本: 3.4.0
|
|
4
4
|
作者:yangbo <1747837358@qq.com>
|
|
5
|
-
日期:2024-08
|
|
5
|
+
日期:2024-10-08 16:31:19
|
|
6
6
|
*/.ec-component-board-container-page-wrap{position:fixed;z-index:100;background:#fff;transition:transform 200ms ease-in-out}.ec-component-board-container-page-wrap .board--wing{position:absolute !important;z-index:1;width:18px;height:80px;border-radius:2px;background:rgba(3,19,78,.12);backdrop-filter:blur(2px);box-shadow:2px 1px 1px 0px rgba(0,0,0,.3),-2px -2px 2px 0px #fff;cursor:pointer}.ec-component-board-container-page-wrap .board--wing .app-iconify{position:absolute;top:50%;right:0;font-weight:bolder;color:#fff;transform-origin:50% 50%;max-width:fit-content;max-height:fit-content}.ec-component-board-container-page-wrap .multiple-toggle-tab .el-tabs__nav-wrap::after{display:none}.ec-component-board-container-page-wrap .multiple-toggle-tab .el-tabs__nav-scroll .el-tabs__active-bar{display:none;width:0;height:0}.ec-component-board-container-page-wrap .multiple-toggle-tab .el-tabs__nav-scroll .el-tabs__item{height:auto;padding:10px;color:var(--board-tab-color);background:#eee}.ec-component-board-container-page-wrap .multiple-toggle-tab .el-tabs__nav-scroll .el-tabs__item.is-active{color:#fff;background:var(--board-tab-color)}.ec-component-board-container-page-wrap .multiple-toggle-tab .el-tabs__nav-scroll .el-tabs__nav{gap:10px}.ec-component-board-container-page-wrap.east .custom-label,.ec-component-board-container-page-wrap.west .custom-label{display:flex;width:100%;min-height:0;letter-spacing:5px;writing-mode:vertical-lr}.ec-component-board-container-page-wrap.east{flex-direction:row-reverse;right:0;box-shadow:-0.1rem 0 .7rem .1rem rgba(64,72,191,.3);border-radius:2px 0 0}.ec-component-board-container-page-wrap.east .ec-component-board-container-page-wrap__layout{display:flex;flex-direction:row-reverse;align-items:flex-start}.ec-component-board-container-page-wrap.east .board--wing{z-index:1;box-shadow:-8px 0 10px 0 rgba(64,72,191,.2);transform:translate(-100%, -50%);top:50%;left:0;clip-path:polygon(0 18%, 100% 0, 100% 100%, 0 82%)}.ec-component-board-container-page-wrap.east .board--wing .app-iconify{transform:translateY(-50%) rotate(0deg);top:50%;right:-2px}.ec-component-board-container-page-wrap.east.minify .board--wing .app-iconify{transform:rotate(180deg) translateY(50%)}.ec-component-board-container-page-wrap.west{flex-direction:row-reverse;left:0;box-shadow:-0.1rem 0 .7rem .1rem rgba(64,72,191,.3);border-radius:0 2px 0 0}.ec-component-board-container-page-wrap.west .board--wing{z-index:1;box-shadow:-8px 0 10px 0 rgba(64,72,191,.2);transform:translate(100%, -50%);top:50%;right:0;clip-path:polygon(0 0, 100% 18%, 100% 82%, 0% 100%)}.ec-component-board-container-page-wrap.west .board--wing .app-iconify{transform:translateY(-50%) rotate(180deg);top:50%;left:-2px}.ec-component-board-container-page-wrap.west.minify .board--wing .app-iconify{transform:translateY(-50%) rotate(0deg)}.ec-component-board-container-page-wrap.full{flex-direction:row-reverse;right:0;left:0;box-shadow:-0.1rem 0 .7rem .1rem rgba(64,72,191,.3)}.ec-component-board-container-page-wrap.full .board--wing{display:none;top:-30px;left:calc(50% - 70px);z-index:1;width:140px;height:30px;box-shadow:0 -8px 10px 0 rgba(64,72,191,.2);border-radius:10px 10px 0 0}.ec-component-board-container-page-wrap.full.minify{transform:translateY(100%)}.ec-component-board-container-page-wrap.top{top:0px;box-shadow:-0.1rem 0 .7rem .1rem rgba(64,72,191,.3)}.ec-component-board-container-page-wrap.top .ec-component-board-container-page-wrap__layout{display:flex;flex-direction:column}.ec-component-board-container-page-wrap.top .board--wing{height:18px;width:80px;z-index:1;box-shadow:-8px 0 10px 0 rgba(64,72,191,.2);transform:translate(50%, 100%);right:50%;bottom:0px;clip-path:polygon(0% 18%, 100% 18%, 82% 100%, 18% 100%)}.ec-component-board-container-page-wrap.top .board--wing .app-iconify{transform:translateX(-50%) rotate(270deg);left:50%;top:-2px}.ec-component-board-container-page-wrap.top.minify .board--wing .app-iconify{transform:translateX(-50%) rotate(90deg)}.ec-component-board-container-page-wrap.south{bottom:0px;box-shadow:-0.1rem 0 .7rem .1rem rgba(64,72,191,.3)}.ec-component-board-container-page-wrap.south .ec-component-board-container-page-wrap__layout{display:flex;flex-direction:column}.ec-component-board-container-page-wrap.south .board--panels .board--panel-container{position:inherit;padding:0}.ec-component-board-container-page-wrap.south .board--wing{height:18px;width:80px;z-index:1;box-shadow:-8px 0 10px 0 rgba(64,72,191,.2);transform:translate(50%, -100%);right:50%;top:0px;clip-path:polygon(18% 18%, 82% 18%, 100% 100%, 0% 100%)}.ec-component-board-container-page-wrap.south .board--wing .app-iconify{transform:translateX(-50%) rotate(90deg);left:50%;top:-2px}.ec-component-board-container-page-wrap.south.minify .board--wing .app-iconify{transform:translateX(-50%) rotate(270deg)}.custom-month-range .el-month-table .current .cell{background-color:var(--el-color-primary);color:#fff !important}.ec-component-svg-icon{display:inline-block;overflow:hidden;vertical-align:-0.15em;fill:currentColor}.svg-icon-spin{animation:loadingCircle 1s infinite linear}.app-iconify{display:inline-block;vertical-align:middle}.app-iconify-spin svg{animation:loadingCircle 1s infinite linear}span.iconify{display:block;min-width:1em;min-height:1em;background-color:rgba(225,223,223,.55);border-radius:100%}.ec-component-input-password :deep(.el-input__clear){margin-left:5px}.ec-component-input-password__bar{background-color:var(--el-text-color-disabled);border-radius:var(--el-border-radius-base)}.ec-component-input-password__bar::before,.ec-component-input-password__bar::after{position:absolute;z-index:10;display:block;width:20%;height:inherit;background-color:rgba(0,0,0,0);border-color:var(--el-color-white);border-style:solid;border-width:0 5px;content:""}.ec-component-input-password__bar::before{left:20%}.ec-component-input-password__bar::after{right:20%}.ec-component-input-password__bar--fill{position:absolute;width:0;height:inherit;background-color:rgba(0,0,0,0);border-radius:inherit;transition:width .5s ease-in-out,background .25s}.ec-component-input-password__bar--fill[data-score="0"]{width:20%;background-color:var(--el-color-danger)}.ec-component-input-password__bar--fill[data-score="1"]{width:40%;background-color:var(--el-color-danger)}.ec-component-input-password__bar--fill[data-score="2"]{width:60%;background-color:var(--el-color-warning)}.ec-component-input-password__bar--fill[data-score="3"]{width:80%;background-color:var(--el-color-success)}.ec-component-input-password__bar--fill[data-score="4"]{width:100%;background-color:var(--el-color-success)}.ec-component-input-password--mini>.ec-component-input-password__bar{border-radius:var(--el-border-radius-small)}.component.modal{position:fixed}.component.modal.maximum .modal--body,.component.modal.maximum,.component.modal.modally,.component.modal.modally.maximum .modal--body{top:0 !important;left:0 !important;width:100% !important;height:100% !important}.component.modal.modally:before{content:"";display:block;position:absolute;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:-1}.component.modal .modal--body{display:flex;flex:1;border-radius:.3rem;background:rgba(0,0,0,0);box-shadow:.1rem .1rem 1.5rem .1rem rgba(64,72,191,.3)}.component.modal.modally .modal--body{position:absolute}.component.modal .modal--content{position:relative;flex:1;display:flex;background:#fff;flex-direction:column}.component-modal-page-wrap{display:flex;flex-direction:column;min-height:0}.component-modal-page-wrap .component-modal-body{height:100%;width:100%;display:flex;flex-direction:column;min-height:0}.component-modal-page-wrap .component-modal-body .component-modal-header{position:relative;width:100%;height:40px;min-height:40px}.component-modal-page-wrap .component-modal-body .component-modal-header .modal-header-main-container-wrap{width:100%;height:100%;overflow:hidden;display:flex;align-items:center}.component-modal-page-wrap .component-modal-body .component-modal-header .modal-header-right-control-wrap{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;justify-content:flex-end;align-items:center;gap:10px;padding-right:10px}.component-modal-page-wrap .component-modal-body .component-modal-content{flex:1;height:100%}.component-modal-page-wrap .component-modal-body .component-modal-footer{display:flex;justify-content:center;padding:10px 0}.window--enter-active{animation:animate-window-enter-active 200ms cubic-bezier(0.39, 0.575, 0.565, 1) both}.window--leave-active{animation:animate-window-leave-active 200ms cubic-bezier(0.39, 0.575, 0.565, 1) both}@keyframes animate-window-enter-active{0%{transform:scale(0.5);opacity:0}100%{transform:scale(1);opacity:1}}@keyframes animate-window-leave-active{0%{transform:scale(1);opacity:1}100%{transform:scale(0.5);opacity:0}}.component.stateful{position:relative;flex:1}.component.stateful .stateful--content{display:flex;position:absolute;width:100%;height:100%;left:0;top:0}.component.stateful .stateful--content.cover{filter:blur(1.25px)}.component.stateful .stateful--cover{position:absolute;width:100%;height:100%;left:0;top:0;display:flex;align-items:center;justify-content:center}.component.stateful .stateful--cover .cover--icon{margin-right:10px}.component.stateful .stateful--cover .cover--box{display:flex;align-items:center;justify-content:center;padding:50px 70px;border-radius:.8rem;box-shadow:.1rem .1rem 1.5rem .1rem rgba(64,72,191,.15);position:relative;overflow:hidden;width:auto;height:auto}.component.stateful .stateful--cover .cover--text{font-size:20px;margin-bottom:2px;font-weight:400;text-shadow:0 0 rgba(64,72,191,.3)}.ec-chart-toolbox-wrap{height:100%;width:100%;min-height:0;min-width:0}.ec-chart-toolbox-wrap .tools-container{min-height:0;display:flex;justify-content:flex-end;cursor:pointer;right:0px;top:0px;gap:10px;z-index:9999}.ec-chart-toolbox-wrap .tools-container .app-iconify{cursor:pointer !important;transition:all .5s ease}.ec-chart-toolbox-wrap .tools-container .app-iconify:hover{transition:all .5s ease;box-shadow:0px 1px 10px 0px rgba(0,0,0,.05),0px 4px 5px 0px rgba(0,0,0,.08),0px 2px 4px -1px rgba(0,0,0,.12)}.wrap-el{position:relative;float:left;width:100%;height:100%;overflow:hidden}.video-player-toolbar{color:#fff;position:absolute;left:0;right:0;bottom:0;height:30px;background:rgba(0,0,0,.5);display:flex;align-items:center;gap:10px;justify-content:flex-end;padding:0px 12px;z-index:1000}.video-player-toolbar .app-iconify{cursor:pointer}.component.node-axis{position:relative}.component.node-axis .node-axis--overlay{top:0;left:0;position:absolute;background:rgba(0,0,0,.7);backdrop-filter:blur(10px);box-shadow:0 0 5px 1px rgba(0,0,0,.5);color:#fff;padding:5px;font-size:14px;letter-spacing:1px;display:flex;align-items:center;justify-content:center;border-radius:3px;word-break:keep-all;white-space:nowrap;transition:all 80ms linear;opacity:0}:deep(.el-descriptions__header){display:none !important}:deep(.ec-descriptions-component-label){width:150px !important}.ec-descriptions-component__default .item{padding:8px 11px;font-size:14px}.ec-descriptions-component__default .ec-descriptions-component-content{padding:8px 1px}.ec-descriptions-component__small .item{padding:4px 7px;font-size:12px}.ec-descriptions-component__small .ec-descriptions-component-content{padding:5px 1px}.ec-descriptions-component__large .item{padding:12px 15px;font-size:16px}.ec-descriptions-component__large .ec-descriptions-component-content{padding:10px 1px}.ec-descriptions-component-header__default{font-size:16px;height:32px}.ec-descriptions-component-header__small{font-size:14px;height:32px}.ec-descriptions-component-header__large{font-size:18px;height:40px}.ec-descriptions-component-header__title::after{position:absolute;top:3px;left:-10px;width:4px;height:70%;background:var(--el-color-primary);content:""}
|
|
@@ -5,13 +5,13 @@ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
|
5
5
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
6
6
|
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
7
7
|
import _regeneratorRuntime from '@babel/runtime/regenerator';
|
|
8
|
-
import { noop, isIOS, tryOnMounted, tryOnScopeDispose, toValue, isObject, notNullish, isClient } from '../../../../@vueuse_shared@10.11.
|
|
9
|
-
export { getLifeCycleTarget, tryOnUnmounted } from '../../../../@vueuse_shared@10.11.
|
|
8
|
+
import { noop, isIOS, tryOnMounted, tryOnScopeDispose, toValue, isObject, notNullish, isClient } from '../../../../@vueuse_shared@10.11.1_vue@3.5.11_typescript@5.6.2_/node_modules/@vueuse/shared/index.js';
|
|
9
|
+
export { getLifeCycleTarget, tryOnUnmounted } from '../../../../@vueuse_shared@10.11.1_vue@3.5.11_typescript@5.6.2_/node_modules/@vueuse/shared/index.js';
|
|
10
10
|
import { ref, watch, computed, getCurrentInstance, onMounted } from 'vue';
|
|
11
11
|
|
|
12
12
|
var _excluded = ["window"],
|
|
13
13
|
_excluded2 = ["window"];
|
|
14
|
-
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e
|
|
14
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
15
15
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
16
16
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
17
17
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -393,7 +393,7 @@ function useFullscreen(target) {
|
|
|
393
393
|
return _exit.apply(this, arguments);
|
|
394
394
|
}
|
|
395
395
|
function _exit() {
|
|
396
|
-
_exit = _asyncToGenerator(
|
|
396
|
+
_exit = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee25() {
|
|
397
397
|
var target2;
|
|
398
398
|
return _regeneratorRuntime.wrap(function _callee25$(_context25) {
|
|
399
399
|
while (1) switch (_context25.prev = _context25.next) {
|
|
@@ -439,7 +439,7 @@ function useFullscreen(target) {
|
|
|
439
439
|
return _enter.apply(this, arguments);
|
|
440
440
|
}
|
|
441
441
|
function _enter() {
|
|
442
|
-
_enter = _asyncToGenerator(
|
|
442
|
+
_enter = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee26() {
|
|
443
443
|
var target2;
|
|
444
444
|
return _regeneratorRuntime.wrap(function _callee26$(_context26) {
|
|
445
445
|
while (1) switch (_context26.prev = _context26.next) {
|
|
@@ -478,7 +478,7 @@ function useFullscreen(target) {
|
|
|
478
478
|
return _toggle.apply(this, arguments);
|
|
479
479
|
}
|
|
480
480
|
function _toggle() {
|
|
481
|
-
_toggle = _asyncToGenerator(
|
|
481
|
+
_toggle = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee27() {
|
|
482
482
|
return _regeneratorRuntime.wrap(function _callee27$(_context27) {
|
|
483
483
|
while (1) switch (_context27.prev = _context27.next) {
|
|
484
484
|
case 0:
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export declare const humpToUnderline: (str: string) => string;
|
|
|
4
4
|
export declare const underlineToHump: (str: string) => string;
|
|
5
5
|
export declare const humpToDash: (str: string) => string;
|
|
6
6
|
export declare const setCssVar: (prop: string, val: any, dom?: HTMLElement) => void;
|
|
7
|
-
export declare const findIndex: <T = Recordable>(ary: T
|
|
7
|
+
export declare const findIndex: <T = Recordable>(ary: Array<T>, fn: Fn) => number;
|
|
8
8
|
export declare const trim: (str: string) => string;
|
|
9
9
|
export declare function formatTime(time: Date | number | string, fmt: string): string;
|
|
10
10
|
export declare function toAnyString(): string;
|
package/dist/utils/is.d.ts
CHANGED
|
@@ -5,15 +5,15 @@ export declare const isObject: (val: any) => val is Record<any, any>;
|
|
|
5
5
|
export declare const isEmpty: <T = unknown>(val: T) => val is T;
|
|
6
6
|
export declare const isDate: (val: unknown) => val is Date;
|
|
7
7
|
export declare const isNull: (val: unknown) => val is null;
|
|
8
|
-
export declare const isNullAndUnDef: (val: unknown) => val is null;
|
|
9
|
-
export declare const isNullOrUnDef: (val: unknown) => val is null;
|
|
8
|
+
export declare const isNullAndUnDef: (val: unknown) => val is null | undefined;
|
|
9
|
+
export declare const isNullOrUnDef: (val: unknown) => val is null | undefined;
|
|
10
10
|
export declare const isNumber: (val: unknown) => val is number;
|
|
11
11
|
export declare const isPromise: <T = any>(val: unknown) => val is Promise<T>;
|
|
12
12
|
export declare const isString: (val: unknown) => val is string;
|
|
13
13
|
export declare const isFunction: (val: unknown) => val is Function;
|
|
14
14
|
export declare const isBoolean: (val: unknown) => val is boolean;
|
|
15
15
|
export declare const isRegExp: (val: unknown) => val is RegExp;
|
|
16
|
-
export declare const isArray: (val: any) => val is any
|
|
16
|
+
export declare const isArray: (val: any) => val is Array<any>;
|
|
17
17
|
export declare const isWindow: (val: any) => val is Window;
|
|
18
18
|
export declare const isElement: (val: unknown) => val is Element;
|
|
19
19
|
export declare const isMap: (val: unknown) => val is Map<any, any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dfsj/components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"description": "通用的vue组件;包括专业组件、原子级组件",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"build": "rollup --config ./rollup.config.ts --configPlugin typescript"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@dfsj/echarts": "^3.
|
|
30
|
+
"@dfsj/echarts": "^3.5.0",
|
|
31
31
|
"@dfsj/rollup": "workspace:^",
|
|
32
|
-
"@dfsj/utils": "^3.
|
|
32
|
+
"@dfsj/utils": "^3.5.0",
|
|
33
33
|
"@types/lodash-es": "^4.17.12",
|
|
34
34
|
"@types/node": "^20.11.3",
|
|
35
35
|
"@unocss/transformer-variant-group": "^0.58.6",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"vue": "^3.4.21"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@dfsj/echarts": "^3.
|
|
44
|
-
"@dfsj/utils": "^3.
|
|
43
|
+
"@dfsj/echarts": "^3.5.0",
|
|
44
|
+
"@dfsj/utils": "^3.5.0",
|
|
45
45
|
"element-plus": "2.7.6",
|
|
46
46
|
"vue": "^3.4.21"
|
|
47
47
|
},
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"vue-types": "^5.0.2",
|
|
60
60
|
"zrender": "^5.5.0"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "3d645f4c245e4d211a6f465b4a8dd0e2fb308c2c",
|
|
63
63
|
"module": "dist/index.js",
|
|
64
64
|
"browser": "dist/index.js",
|
|
65
65
|
"types": "dist/index.d.ts",
|