@yimou6/common-ui 1.12.13 → 1.12.15
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/cdn/index.cdn.js +13 -13
- package/cdn/index.cdn.js.map +1 -1
- package/cdn/index.cdn.mjs +13 -13
- package/cdn/index.cdn.mjs.map +1 -1
- package/cdn/index.css +1 -1
- package/es/components/radio/index.d.ts +63 -38
- package/es/components/radio/src/radio.d.ts +25 -10
- package/es/components/radio/src/radio.mjs +26 -5
- package/es/components/radio/src/radio.mjs.map +1 -1
- package/es/components/radio/src/radio.vue.d.ts +63 -38
- package/es/components/radio/src/radio.vue2.mjs +4 -5
- package/es/components/radio/src/radio.vue2.mjs.map +1 -1
- package/es/components/search/src/search.vue.d.ts +1 -1
- package/es/components/search/src/search.vue2.mjs.map +1 -1
- package/es/components/tzj-player/src/ctyun-player.vue2.mjs +2 -3
- package/es/components/tzj-player/src/ctyun-player.vue2.mjs.map +1 -1
- package/es/components/tzj-player/src/easyPlayer.vue2.mjs +2 -4
- package/es/components/tzj-player/src/easyPlayer.vue2.mjs.map +1 -1
- package/es/components/tzj-player/src/tzj-player.vue2.mjs +9 -16
- package/es/components/tzj-player/src/tzj-player.vue2.mjs.map +1 -1
- package/es/components/tzj-player/src/ysPlayer.vue2.mjs +1 -2
- package/es/components/tzj-player/src/ysPlayer.vue2.mjs.map +1 -1
- package/es/components/tzj-player/src/yunzhiyanPlayer.vue2.mjs +1 -2
- package/es/components/tzj-player/src/yunzhiyanPlayer.vue2.mjs.map +1 -1
- package/es/element-plus.types.d.ts +9 -0
- package/lib/components/radio/index.d.ts +63 -38
- package/lib/components/radio/src/radio.d.ts +25 -10
- package/lib/components/radio/src/radio.js +26 -4
- package/lib/components/radio/src/radio.js.map +1 -1
- package/lib/components/radio/src/radio.vue.d.ts +63 -38
- package/lib/components/radio/src/radio.vue2.js +3 -4
- package/lib/components/radio/src/radio.vue2.js.map +1 -1
- package/lib/components/search/src/search.vue.d.ts +1 -1
- package/lib/components/search/src/search.vue2.js.map +1 -1
- package/lib/components/tzj-player/src/ctyun-player.vue2.js +2 -3
- package/lib/components/tzj-player/src/ctyun-player.vue2.js.map +1 -1
- package/lib/components/tzj-player/src/easyPlayer.vue2.js +2 -4
- package/lib/components/tzj-player/src/easyPlayer.vue2.js.map +1 -1
- package/lib/components/tzj-player/src/tzj-player.vue2.js +9 -16
- package/lib/components/tzj-player/src/tzj-player.vue2.js.map +1 -1
- package/lib/components/tzj-player/src/ysPlayer.vue2.js +1 -2
- package/lib/components/tzj-player/src/ysPlayer.vue2.js.map +1 -1
- package/lib/components/tzj-player/src/yunzhiyanPlayer.vue2.js +1 -2
- package/lib/components/tzj-player/src/yunzhiyanPlayer.vue2.js.map +1 -1
- package/lib/element-plus.types.d.ts +9 -0
- package/package.json +1 -1
- package/theme-default/i-tzj-player.css +1 -1
- package/theme-default/index.css +1 -1
|
@@ -1,26 +1,32 @@
|
|
|
1
1
|
export declare const IRadio: import("../../types").SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
modelValue:
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: import("vue").PropType<import("../../element-plus.types").ElRadioGroupProps["modelValue"]>;
|
|
4
|
+
};
|
|
3
5
|
size: {
|
|
4
|
-
type: import("vue").PropType<"
|
|
6
|
+
type: import("vue").PropType<import("../../element-plus.types").ElRadioGroupProps["size"]>;
|
|
5
7
|
default: string;
|
|
6
8
|
};
|
|
7
|
-
disabled:
|
|
9
|
+
disabled: import("vue").PropType<import("../../element-plus.types").ElRadioGroupProps["disabled"]>;
|
|
8
10
|
textColor: {
|
|
9
|
-
type:
|
|
11
|
+
type: import("vue").PropType<import("../../element-plus.types").ElRadioGroupProps["textColor"]>;
|
|
10
12
|
default: string;
|
|
11
13
|
};
|
|
12
|
-
fill:
|
|
13
|
-
|
|
14
|
+
fill: {
|
|
15
|
+
type: import("vue").PropType<import("../../element-plus.types").ElRadioGroupProps["fill"]>;
|
|
16
|
+
};
|
|
17
|
+
validateEvent: {
|
|
18
|
+
type: import("vue").PropType<import("../../element-plus.types").ElRadioGroupProps["validateEvent"]>;
|
|
19
|
+
};
|
|
14
20
|
type: {
|
|
15
21
|
type: import("vue").PropType<"button" | "">;
|
|
16
22
|
default: string;
|
|
17
23
|
};
|
|
18
24
|
data: {
|
|
19
|
-
type: (
|
|
25
|
+
type: import("vue").PropType<string | Record<string, any>[]>;
|
|
20
26
|
default: () => never[];
|
|
21
27
|
};
|
|
22
28
|
dataCallback: {
|
|
23
|
-
type:
|
|
29
|
+
type: import("vue").PropType<(list: Record<string, any>[]) => any[]>;
|
|
24
30
|
};
|
|
25
31
|
optLabel: {
|
|
26
32
|
type: StringConstructor;
|
|
@@ -30,30 +36,39 @@ export declare const IRadio: import("../../types").SFCWithInstall<import("vue").
|
|
|
30
36
|
type: StringConstructor;
|
|
31
37
|
default: string;
|
|
32
38
|
};
|
|
39
|
+
onChange: {
|
|
40
|
+
type: import("vue").PropType<(value: string | number | boolean | undefined) => void>;
|
|
41
|
+
};
|
|
33
42
|
}>, {
|
|
34
43
|
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
-
modelValue:
|
|
44
|
+
modelValue: {
|
|
45
|
+
type: import("vue").PropType<import("../../element-plus.types").ElRadioGroupProps["modelValue"]>;
|
|
46
|
+
};
|
|
36
47
|
size: {
|
|
37
|
-
type: import("vue").PropType<"
|
|
48
|
+
type: import("vue").PropType<import("../../element-plus.types").ElRadioGroupProps["size"]>;
|
|
38
49
|
default: string;
|
|
39
50
|
};
|
|
40
|
-
disabled:
|
|
51
|
+
disabled: import("vue").PropType<import("../../element-plus.types").ElRadioGroupProps["disabled"]>;
|
|
41
52
|
textColor: {
|
|
42
|
-
type:
|
|
53
|
+
type: import("vue").PropType<import("../../element-plus.types").ElRadioGroupProps["textColor"]>;
|
|
43
54
|
default: string;
|
|
44
55
|
};
|
|
45
|
-
fill:
|
|
46
|
-
|
|
56
|
+
fill: {
|
|
57
|
+
type: import("vue").PropType<import("../../element-plus.types").ElRadioGroupProps["fill"]>;
|
|
58
|
+
};
|
|
59
|
+
validateEvent: {
|
|
60
|
+
type: import("vue").PropType<import("../../element-plus.types").ElRadioGroupProps["validateEvent"]>;
|
|
61
|
+
};
|
|
47
62
|
type: {
|
|
48
63
|
type: import("vue").PropType<"button" | "">;
|
|
49
64
|
default: string;
|
|
50
65
|
};
|
|
51
66
|
data: {
|
|
52
|
-
type: (
|
|
67
|
+
type: import("vue").PropType<string | Record<string, any>[]>;
|
|
53
68
|
default: () => never[];
|
|
54
69
|
};
|
|
55
70
|
dataCallback: {
|
|
56
|
-
type:
|
|
71
|
+
type: import("vue").PropType<(list: Record<string, any>[]) => any[]>;
|
|
57
72
|
};
|
|
58
73
|
optLabel: {
|
|
59
74
|
type: StringConstructor;
|
|
@@ -63,21 +78,24 @@ export declare const IRadio: import("../../types").SFCWithInstall<import("vue").
|
|
|
63
78
|
type: StringConstructor;
|
|
64
79
|
default: string;
|
|
65
80
|
};
|
|
81
|
+
onChange: {
|
|
82
|
+
type: import("vue").PropType<(value: string | number | boolean | undefined) => void>;
|
|
83
|
+
};
|
|
66
84
|
}>> & Readonly<{
|
|
67
|
-
"onUpdate:modelValue"?: ((
|
|
68
|
-
onChange?: ((
|
|
85
|
+
"onUpdate:modelValue"?: ((_value: string | number | boolean | undefined) => any) | undefined;
|
|
86
|
+
onChange?: ((_value: string | number | boolean | undefined) => any) | undefined;
|
|
69
87
|
}> & {}>;
|
|
70
|
-
emit: ((event: "update:modelValue",
|
|
88
|
+
emit: ((event: "update:modelValue", _value: string | number | boolean | undefined) => void) & ((event: "change", _value: string | number | boolean | undefined) => void);
|
|
71
89
|
dictStore: {
|
|
72
90
|
dict: import("vue").Ref<Record<string, any>>;
|
|
73
91
|
getDict: (dictType: string) => Promise<any[]>;
|
|
74
92
|
} | undefined;
|
|
75
93
|
bindAttrs: import("vue").ComputedRef<any>;
|
|
76
|
-
radioOptions: import("vue").Ref<any[], any[]>;
|
|
94
|
+
radioOptions: import("vue").Ref<Record<string, any>[], Record<string, any>[]>;
|
|
77
95
|
setOptions: () => Promise<void>;
|
|
78
96
|
getList: () => Promise<any[]>;
|
|
79
97
|
value: import("vue").Ref<string, string>;
|
|
80
|
-
handleChange: (val:
|
|
98
|
+
handleChange: (val: string | number | boolean | undefined) => void;
|
|
81
99
|
readonly ElRadio: import("element-plus/es/utils").SFCWithInstall<{
|
|
82
100
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
83
101
|
readonly border: BooleanConstructor;
|
|
@@ -516,31 +534,37 @@ export declare const IRadio: import("../../types").SFCWithInstall<import("vue").
|
|
|
516
534
|
};
|
|
517
535
|
})>;
|
|
518
536
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
519
|
-
|
|
520
|
-
change: (
|
|
537
|
+
"update:modelValue": (_value: string | number | boolean | undefined) => boolean;
|
|
538
|
+
change: (_value: string | number | boolean | undefined) => boolean;
|
|
521
539
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
522
|
-
modelValue:
|
|
540
|
+
modelValue: {
|
|
541
|
+
type: import("vue").PropType<import("../../element-plus.types").ElRadioGroupProps["modelValue"]>;
|
|
542
|
+
};
|
|
523
543
|
size: {
|
|
524
|
-
type: import("vue").PropType<"
|
|
544
|
+
type: import("vue").PropType<import("../../element-plus.types").ElRadioGroupProps["size"]>;
|
|
525
545
|
default: string;
|
|
526
546
|
};
|
|
527
|
-
disabled:
|
|
547
|
+
disabled: import("vue").PropType<import("../../element-plus.types").ElRadioGroupProps["disabled"]>;
|
|
528
548
|
textColor: {
|
|
529
|
-
type:
|
|
549
|
+
type: import("vue").PropType<import("../../element-plus.types").ElRadioGroupProps["textColor"]>;
|
|
530
550
|
default: string;
|
|
531
551
|
};
|
|
532
|
-
fill:
|
|
533
|
-
|
|
552
|
+
fill: {
|
|
553
|
+
type: import("vue").PropType<import("../../element-plus.types").ElRadioGroupProps["fill"]>;
|
|
554
|
+
};
|
|
555
|
+
validateEvent: {
|
|
556
|
+
type: import("vue").PropType<import("../../element-plus.types").ElRadioGroupProps["validateEvent"]>;
|
|
557
|
+
};
|
|
534
558
|
type: {
|
|
535
559
|
type: import("vue").PropType<"button" | "">;
|
|
536
560
|
default: string;
|
|
537
561
|
};
|
|
538
562
|
data: {
|
|
539
|
-
type: (
|
|
563
|
+
type: import("vue").PropType<string | Record<string, any>[]>;
|
|
540
564
|
default: () => never[];
|
|
541
565
|
};
|
|
542
566
|
dataCallback: {
|
|
543
|
-
type:
|
|
567
|
+
type: import("vue").PropType<(list: Record<string, any>[]) => any[]>;
|
|
544
568
|
};
|
|
545
569
|
optLabel: {
|
|
546
570
|
type: StringConstructor;
|
|
@@ -550,17 +574,18 @@ export declare const IRadio: import("../../types").SFCWithInstall<import("vue").
|
|
|
550
574
|
type: StringConstructor;
|
|
551
575
|
default: string;
|
|
552
576
|
};
|
|
577
|
+
onChange: {
|
|
578
|
+
type: import("vue").PropType<(value: string | number | boolean | undefined) => void>;
|
|
579
|
+
};
|
|
553
580
|
}>> & Readonly<{
|
|
554
|
-
"onUpdate:modelValue"?: ((
|
|
555
|
-
onChange?: ((
|
|
581
|
+
"onUpdate:modelValue"?: ((_value: string | number | boolean | undefined) => any) | undefined;
|
|
582
|
+
onChange?: ((_value: string | number | boolean | undefined) => any) | undefined;
|
|
556
583
|
}>, {
|
|
557
|
-
size: "" | "small" | "large" | "default";
|
|
584
|
+
size: "" | "small" | "large" | "default" | undefined;
|
|
558
585
|
type: "" | "button";
|
|
559
|
-
data: string |
|
|
586
|
+
data: string | Record<string, any>[];
|
|
560
587
|
optLabel: string;
|
|
561
588
|
optValue: string;
|
|
562
|
-
|
|
563
|
-
textColor: string;
|
|
564
|
-
validateEvent: boolean;
|
|
589
|
+
textColor: string | undefined;
|
|
565
590
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
566
591
|
export default IRadio;
|
|
@@ -1,28 +1,35 @@
|
|
|
1
|
-
import type { ExtractPropTypes, ExtractPublicPropTypes, PropType } from
|
|
2
|
-
import type
|
|
1
|
+
import type { ExtractPropTypes, ExtractPublicPropTypes, PropType } from "vue";
|
|
2
|
+
import type { ElRadioGroupProps } from "../../../element-plus.types";
|
|
3
|
+
import type Radio from "./radio.vue";
|
|
3
4
|
export declare const RadioProps: {
|
|
4
|
-
modelValue:
|
|
5
|
+
modelValue: {
|
|
6
|
+
type: PropType<ElRadioGroupProps["modelValue"]>;
|
|
7
|
+
};
|
|
5
8
|
size: {
|
|
6
|
-
type: PropType<"
|
|
9
|
+
type: PropType<ElRadioGroupProps["size"]>;
|
|
7
10
|
default: string;
|
|
8
11
|
};
|
|
9
|
-
disabled:
|
|
12
|
+
disabled: PropType<ElRadioGroupProps["disabled"]>;
|
|
10
13
|
textColor: {
|
|
11
|
-
type:
|
|
14
|
+
type: PropType<ElRadioGroupProps["textColor"]>;
|
|
12
15
|
default: string;
|
|
13
16
|
};
|
|
14
|
-
fill:
|
|
15
|
-
|
|
17
|
+
fill: {
|
|
18
|
+
type: PropType<ElRadioGroupProps["fill"]>;
|
|
19
|
+
};
|
|
20
|
+
validateEvent: {
|
|
21
|
+
type: PropType<ElRadioGroupProps["validateEvent"]>;
|
|
22
|
+
};
|
|
16
23
|
type: {
|
|
17
24
|
type: PropType<"button" | "">;
|
|
18
25
|
default: string;
|
|
19
26
|
};
|
|
20
27
|
data: {
|
|
21
|
-
type:
|
|
28
|
+
type: PropType<string | Record<string, any>[]>;
|
|
22
29
|
default: () => never[];
|
|
23
30
|
};
|
|
24
31
|
dataCallback: {
|
|
25
|
-
type:
|
|
32
|
+
type: PropType<(list: Record<string, any>[]) => any[]>;
|
|
26
33
|
};
|
|
27
34
|
optLabel: {
|
|
28
35
|
type: StringConstructor;
|
|
@@ -32,8 +39,16 @@ export declare const RadioProps: {
|
|
|
32
39
|
type: StringConstructor;
|
|
33
40
|
default: string;
|
|
34
41
|
};
|
|
42
|
+
onChange: {
|
|
43
|
+
type: PropType<(value: string | number | boolean | undefined) => void>;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export declare const RadioEmits: {
|
|
47
|
+
"update:modelValue": (_value: string | number | boolean | undefined) => boolean;
|
|
48
|
+
change: (_value: string | number | boolean | undefined) => boolean;
|
|
35
49
|
};
|
|
36
50
|
export declare const excludeRadioKeys: string[];
|
|
37
51
|
export type RadioPropsType = ExtractPropTypes<typeof RadioProps>;
|
|
38
52
|
export type RadioPublicPropsType = ExtractPublicPropTypes<typeof RadioProps>;
|
|
39
53
|
export type RadioInstance = InstanceType<typeof Radio>;
|
|
54
|
+
export type RadioEmitsType = typeof RadioEmits;
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
5
5
|
const RadioProps = {
|
|
6
|
-
modelValue:
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: [String, Number, Boolean]
|
|
8
|
+
},
|
|
7
9
|
size: {
|
|
8
10
|
type: String,
|
|
9
11
|
default: ""
|
|
@@ -13,8 +15,12 @@ const RadioProps = {
|
|
|
13
15
|
type: String,
|
|
14
16
|
default: ""
|
|
15
17
|
},
|
|
16
|
-
fill:
|
|
17
|
-
|
|
18
|
+
fill: {
|
|
19
|
+
type: String
|
|
20
|
+
},
|
|
21
|
+
validateEvent: {
|
|
22
|
+
type: Boolean
|
|
23
|
+
},
|
|
18
24
|
type: {
|
|
19
25
|
type: String,
|
|
20
26
|
default: ""
|
|
@@ -33,10 +39,26 @@ const RadioProps = {
|
|
|
33
39
|
optValue: {
|
|
34
40
|
type: String,
|
|
35
41
|
default: "value"
|
|
42
|
+
},
|
|
43
|
+
onChange: {
|
|
44
|
+
type: Function
|
|
36
45
|
}
|
|
37
46
|
};
|
|
38
|
-
const
|
|
47
|
+
const RadioEmits = {
|
|
48
|
+
"update:modelValue": /* @__PURE__ */ __name((_value) => true, "update:modelValue"),
|
|
49
|
+
change: /* @__PURE__ */ __name((_value) => true, "change")
|
|
50
|
+
};
|
|
51
|
+
const excludeRadioKeys = [
|
|
52
|
+
"type",
|
|
53
|
+
"data",
|
|
54
|
+
"dataCallback",
|
|
55
|
+
"optLabel",
|
|
56
|
+
"optValue",
|
|
57
|
+
"modelValue",
|
|
58
|
+
"onChange"
|
|
59
|
+
];
|
|
39
60
|
|
|
61
|
+
exports.RadioEmits = RadioEmits;
|
|
40
62
|
exports.RadioProps = RadioProps;
|
|
41
63
|
exports.excludeRadioKeys = excludeRadioKeys;
|
|
42
64
|
//# sourceMappingURL=radio.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio.js","sources":["../../../../../../../packages/components/radio/src/radio.ts"],"sourcesContent":["import type { ExtractPropTypes, ExtractPublicPropTypes, PropType } from
|
|
1
|
+
{"version":3,"file":"radio.js","sources":["../../../../../../../packages/components/radio/src/radio.ts"],"sourcesContent":["import type { ExtractPropTypes, ExtractPublicPropTypes, PropType } from \"vue\";\nimport type { ElRadioGroupProps } from \"../../../element-plus.types\";\nimport type Radio from \"./radio.vue\";\n\nexport const RadioProps = {\n modelValue: {\n type: [String, Number, Boolean] as PropType<\n ElRadioGroupProps[\"modelValue\"]\n >,\n },\n size: {\n type: String as PropType<ElRadioGroupProps[\"size\"]>,\n default: \"\",\n },\n disabled: Boolean as PropType<ElRadioGroupProps[\"disabled\"]>,\n textColor: {\n type: String as PropType<ElRadioGroupProps[\"textColor\"]>,\n default: \"\",\n },\n fill: {\n type: String as PropType<ElRadioGroupProps[\"fill\"]>,\n },\n validateEvent: {\n type: Boolean as PropType<ElRadioGroupProps[\"validateEvent\"]>,\n },\n type: {\n type: String as PropType<\"button\" | \"\">,\n default: \"\",\n },\n data: {\n type: [String, Array] as PropType<string | Record<string, any>[]>,\n default: () => [],\n },\n dataCallback: {\n type: Function as PropType<(list: Record<string, any>[]) => any[]>,\n },\n optLabel: {\n type: String,\n default: \"label\",\n },\n optValue: {\n type: String,\n default: \"value\",\n },\n onChange: {\n type: Function as PropType<\n (value: string | number | boolean | undefined) => void\n >,\n },\n};\n\nexport const RadioEmits = {\n \"update:modelValue\": (_value: string | number | boolean | undefined) => true,\n change: (_value: string | number | boolean | undefined) => true,\n};\n\nexport const excludeRadioKeys = [\n \"type\",\n \"data\",\n \"dataCallback\",\n \"optLabel\",\n \"optValue\",\n \"modelValue\",\n \"onChange\",\n];\n\nexport type RadioPropsType = ExtractPropTypes<typeof RadioProps>;\nexport type RadioPublicPropsType = ExtractPublicPropTypes<typeof RadioProps>;\nexport type RadioInstance = InstanceType<typeof Radio>;\nexport type RadioEmitsType = typeof RadioEmits;\n"],"names":[],"mappings":";;;;AAIO,MAAM,UAAa,GAAA;AAAA,EACxB,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,CAAC,MAAQ,EAAA,MAAA,EAAQ,OAAO;AAAA,GAGhC;AAAA,EACA,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA;AAAA,GACX;AAAA,EACA,QAAU,EAAA,OAAA;AAAA,EACV,SAAW,EAAA;AAAA,IACT,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA;AAAA,GACX;AAAA,EACA,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA;AAAA,GACR;AAAA,EACA,aAAe,EAAA;AAAA,IACb,IAAM,EAAA;AAAA,GACR;AAAA,EACA,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA;AAAA,GACX;AAAA,EACA,IAAM,EAAA;AAAA,IACJ,IAAA,EAAM,CAAC,MAAA,EAAQ,KAAK,CAAA;AAAA,IACpB,OAAA,kBAAe,MAAA,CAAA,MAAA,EAAN,EAAA,SAAA;AAAA,GACX;AAAA,EACA,YAAc,EAAA;AAAA,IACZ,IAAM,EAAA;AAAA,GACR;AAAA,EACA,QAAU,EAAA;AAAA,IACR,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA;AAAA,GACX;AAAA,EACA,QAAU,EAAA;AAAA,IACR,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA;AAAA,GACX;AAAA,EACA,QAAU,EAAA;AAAA,IACR,IAAM,EAAA;AAAA;AAIV;AAEO,MAAM,UAAa,GAAA;AAAA,EACxB,mBAAA,kBAAsB,MAAA,CAAA,CAAA,MAAA,KAAkD,IAAnD,EAAA,mBAAA,CAAA;AAAA,EACrB,MAAA,kBAAS,MAAA,CAAA,CAAA,MAAA,KAAkD,IAAnD,EAAA,QAAA;AACV;AAEO,MAAM,gBAAmB,GAAA;AAAA,EAC9B,MAAA;AAAA,EACA,MAAA;AAAA,EACA,cAAA;AAAA,EACA,UAAA;AAAA,EACA,UAAA;AAAA,EACA,YAAA;AAAA,EACA;AACF;;;;;;"}
|
|
@@ -1,26 +1,32 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
modelValue:
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: import("vue").PropType<import("../../../element-plus.types").ElRadioGroupProps["modelValue"]>;
|
|
4
|
+
};
|
|
3
5
|
size: {
|
|
4
|
-
type: import("vue").PropType<"
|
|
6
|
+
type: import("vue").PropType<import("../../../element-plus.types").ElRadioGroupProps["size"]>;
|
|
5
7
|
default: string;
|
|
6
8
|
};
|
|
7
|
-
disabled:
|
|
9
|
+
disabled: import("vue").PropType<import("../../../element-plus.types").ElRadioGroupProps["disabled"]>;
|
|
8
10
|
textColor: {
|
|
9
|
-
type:
|
|
11
|
+
type: import("vue").PropType<import("../../../element-plus.types").ElRadioGroupProps["textColor"]>;
|
|
10
12
|
default: string;
|
|
11
13
|
};
|
|
12
|
-
fill:
|
|
13
|
-
|
|
14
|
+
fill: {
|
|
15
|
+
type: import("vue").PropType<import("../../../element-plus.types").ElRadioGroupProps["fill"]>;
|
|
16
|
+
};
|
|
17
|
+
validateEvent: {
|
|
18
|
+
type: import("vue").PropType<import("../../../element-plus.types").ElRadioGroupProps["validateEvent"]>;
|
|
19
|
+
};
|
|
14
20
|
type: {
|
|
15
21
|
type: import("vue").PropType<"button" | "">;
|
|
16
22
|
default: string;
|
|
17
23
|
};
|
|
18
24
|
data: {
|
|
19
|
-
type: (
|
|
25
|
+
type: import("vue").PropType<string | Record<string, any>[]>;
|
|
20
26
|
default: () => never[];
|
|
21
27
|
};
|
|
22
28
|
dataCallback: {
|
|
23
|
-
type:
|
|
29
|
+
type: import("vue").PropType<(list: Record<string, any>[]) => any[]>;
|
|
24
30
|
};
|
|
25
31
|
optLabel: {
|
|
26
32
|
type: StringConstructor;
|
|
@@ -30,30 +36,39 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
30
36
|
type: StringConstructor;
|
|
31
37
|
default: string;
|
|
32
38
|
};
|
|
39
|
+
onChange: {
|
|
40
|
+
type: import("vue").PropType<(value: string | number | boolean | undefined) => void>;
|
|
41
|
+
};
|
|
33
42
|
}>, {
|
|
34
43
|
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
-
modelValue:
|
|
44
|
+
modelValue: {
|
|
45
|
+
type: import("vue").PropType<import("../../../element-plus.types").ElRadioGroupProps["modelValue"]>;
|
|
46
|
+
};
|
|
36
47
|
size: {
|
|
37
|
-
type: import("vue").PropType<"
|
|
48
|
+
type: import("vue").PropType<import("../../../element-plus.types").ElRadioGroupProps["size"]>;
|
|
38
49
|
default: string;
|
|
39
50
|
};
|
|
40
|
-
disabled:
|
|
51
|
+
disabled: import("vue").PropType<import("../../../element-plus.types").ElRadioGroupProps["disabled"]>;
|
|
41
52
|
textColor: {
|
|
42
|
-
type:
|
|
53
|
+
type: import("vue").PropType<import("../../../element-plus.types").ElRadioGroupProps["textColor"]>;
|
|
43
54
|
default: string;
|
|
44
55
|
};
|
|
45
|
-
fill:
|
|
46
|
-
|
|
56
|
+
fill: {
|
|
57
|
+
type: import("vue").PropType<import("../../../element-plus.types").ElRadioGroupProps["fill"]>;
|
|
58
|
+
};
|
|
59
|
+
validateEvent: {
|
|
60
|
+
type: import("vue").PropType<import("../../../element-plus.types").ElRadioGroupProps["validateEvent"]>;
|
|
61
|
+
};
|
|
47
62
|
type: {
|
|
48
63
|
type: import("vue").PropType<"button" | "">;
|
|
49
64
|
default: string;
|
|
50
65
|
};
|
|
51
66
|
data: {
|
|
52
|
-
type: (
|
|
67
|
+
type: import("vue").PropType<string | Record<string, any>[]>;
|
|
53
68
|
default: () => never[];
|
|
54
69
|
};
|
|
55
70
|
dataCallback: {
|
|
56
|
-
type:
|
|
71
|
+
type: import("vue").PropType<(list: Record<string, any>[]) => any[]>;
|
|
57
72
|
};
|
|
58
73
|
optLabel: {
|
|
59
74
|
type: StringConstructor;
|
|
@@ -63,21 +78,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
63
78
|
type: StringConstructor;
|
|
64
79
|
default: string;
|
|
65
80
|
};
|
|
81
|
+
onChange: {
|
|
82
|
+
type: import("vue").PropType<(value: string | number | boolean | undefined) => void>;
|
|
83
|
+
};
|
|
66
84
|
}>> & Readonly<{
|
|
67
|
-
"onUpdate:modelValue"?: ((
|
|
68
|
-
onChange?: ((
|
|
85
|
+
"onUpdate:modelValue"?: ((_value: string | number | boolean | undefined) => any) | undefined;
|
|
86
|
+
onChange?: ((_value: string | number | boolean | undefined) => any) | undefined;
|
|
69
87
|
}> & {}>;
|
|
70
|
-
emit: ((event: "update:modelValue",
|
|
88
|
+
emit: ((event: "update:modelValue", _value: string | number | boolean | undefined) => void) & ((event: "change", _value: string | number | boolean | undefined) => void);
|
|
71
89
|
dictStore: {
|
|
72
90
|
dict: import("vue").Ref<Record<string, any>>;
|
|
73
91
|
getDict: (dictType: string) => Promise<any[]>;
|
|
74
92
|
} | undefined;
|
|
75
93
|
bindAttrs: import("vue").ComputedRef<any>;
|
|
76
|
-
radioOptions: import("vue").Ref<any[], any[]>;
|
|
94
|
+
radioOptions: import("vue").Ref<Record<string, any>[], Record<string, any>[]>;
|
|
77
95
|
setOptions: () => Promise<void>;
|
|
78
96
|
getList: () => Promise<any[]>;
|
|
79
97
|
value: import("vue").Ref<string, string>;
|
|
80
|
-
handleChange: (val:
|
|
98
|
+
handleChange: (val: string | number | boolean | undefined) => void;
|
|
81
99
|
readonly ElRadio: import("element-plus/es/utils").SFCWithInstall<{
|
|
82
100
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
83
101
|
readonly border: BooleanConstructor;
|
|
@@ -516,31 +534,37 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
516
534
|
};
|
|
517
535
|
})>;
|
|
518
536
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
519
|
-
|
|
520
|
-
change: (
|
|
537
|
+
"update:modelValue": (_value: string | number | boolean | undefined) => boolean;
|
|
538
|
+
change: (_value: string | number | boolean | undefined) => boolean;
|
|
521
539
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
522
|
-
modelValue:
|
|
540
|
+
modelValue: {
|
|
541
|
+
type: import("vue").PropType<import("../../../element-plus.types").ElRadioGroupProps["modelValue"]>;
|
|
542
|
+
};
|
|
523
543
|
size: {
|
|
524
|
-
type: import("vue").PropType<"
|
|
544
|
+
type: import("vue").PropType<import("../../../element-plus.types").ElRadioGroupProps["size"]>;
|
|
525
545
|
default: string;
|
|
526
546
|
};
|
|
527
|
-
disabled:
|
|
547
|
+
disabled: import("vue").PropType<import("../../../element-plus.types").ElRadioGroupProps["disabled"]>;
|
|
528
548
|
textColor: {
|
|
529
|
-
type:
|
|
549
|
+
type: import("vue").PropType<import("../../../element-plus.types").ElRadioGroupProps["textColor"]>;
|
|
530
550
|
default: string;
|
|
531
551
|
};
|
|
532
|
-
fill:
|
|
533
|
-
|
|
552
|
+
fill: {
|
|
553
|
+
type: import("vue").PropType<import("../../../element-plus.types").ElRadioGroupProps["fill"]>;
|
|
554
|
+
};
|
|
555
|
+
validateEvent: {
|
|
556
|
+
type: import("vue").PropType<import("../../../element-plus.types").ElRadioGroupProps["validateEvent"]>;
|
|
557
|
+
};
|
|
534
558
|
type: {
|
|
535
559
|
type: import("vue").PropType<"button" | "">;
|
|
536
560
|
default: string;
|
|
537
561
|
};
|
|
538
562
|
data: {
|
|
539
|
-
type: (
|
|
563
|
+
type: import("vue").PropType<string | Record<string, any>[]>;
|
|
540
564
|
default: () => never[];
|
|
541
565
|
};
|
|
542
566
|
dataCallback: {
|
|
543
|
-
type:
|
|
567
|
+
type: import("vue").PropType<(list: Record<string, any>[]) => any[]>;
|
|
544
568
|
};
|
|
545
569
|
optLabel: {
|
|
546
570
|
type: StringConstructor;
|
|
@@ -550,17 +574,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
550
574
|
type: StringConstructor;
|
|
551
575
|
default: string;
|
|
552
576
|
};
|
|
577
|
+
onChange: {
|
|
578
|
+
type: import("vue").PropType<(value: string | number | boolean | undefined) => void>;
|
|
579
|
+
};
|
|
553
580
|
}>> & Readonly<{
|
|
554
|
-
"onUpdate:modelValue"?: ((
|
|
555
|
-
onChange?: ((
|
|
581
|
+
"onUpdate:modelValue"?: ((_value: string | number | boolean | undefined) => any) | undefined;
|
|
582
|
+
onChange?: ((_value: string | number | boolean | undefined) => any) | undefined;
|
|
556
583
|
}>, {
|
|
557
|
-
size: "" | "small" | "large" | "default";
|
|
584
|
+
size: "" | "small" | "large" | "default" | undefined;
|
|
558
585
|
type: "" | "button";
|
|
559
|
-
data: string |
|
|
586
|
+
data: string | Record<string, any>[];
|
|
560
587
|
optLabel: string;
|
|
561
588
|
optValue: string;
|
|
562
|
-
|
|
563
|
-
textColor: string;
|
|
564
|
-
validateEvent: boolean;
|
|
589
|
+
textColor: string | undefined;
|
|
565
590
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
566
591
|
export default _default;
|
|
@@ -17,10 +17,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
17
17
|
},
|
|
18
18
|
__name: "radio",
|
|
19
19
|
props: radio.RadioProps,
|
|
20
|
-
emits:
|
|
21
|
-
"update:modelValue": /* @__PURE__ */ __name((value) => value, "update:modelValue"),
|
|
22
|
-
change: /* @__PURE__ */ __name((value) => value, "change")
|
|
23
|
-
},
|
|
20
|
+
emits: radio.RadioEmits,
|
|
24
21
|
setup(__props, { emit: __emit }) {
|
|
25
22
|
const props = __props;
|
|
26
23
|
const emit = __emit;
|
|
@@ -55,6 +52,8 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
55
52
|
{ deep: true, immediate: true }
|
|
56
53
|
);
|
|
57
54
|
const handleChange = /* @__PURE__ */ __name((val) => {
|
|
55
|
+
var _a;
|
|
56
|
+
(_a = props.onChange) == null ? void 0 : _a.call(props, val);
|
|
58
57
|
emit("change", val);
|
|
59
58
|
emit("update:modelValue", val);
|
|
60
59
|
}, "handleChange");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio.vue2.js","sources":["../../../../../../../packages/components/radio/src/radio.vue"],"sourcesContent":["<script lang=\"ts\" setup>\
|
|
1
|
+
{"version":3,"file":"radio.vue2.js","sources":["../../../../../../../packages/components/radio/src/radio.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { ElRadio, ElRadioButton, ElRadioGroup } from \"element-plus\";\nimport { computed, inject, onMounted, ref, watch } from \"vue\";\nimport { DICT_STORE, excludeObjectKeys } from \"../../../utils\";\nimport { excludeRadioKeys, RadioEmits, RadioProps } from \"./radio\";\n\ndefineOptions({\n name: \"IRadio\",\n});\nconst props = defineProps(RadioProps);\nconst emit = defineEmits(RadioEmits);\nconst dictStore = inject(DICT_STORE);\nconst bindAttrs = computed(() => excludeObjectKeys(props, excludeRadioKeys));\n\nconst radioOptions = ref<Record<string, any>[]>([]);\nonMounted(() => setOptions());\nwatch(\n () => props.data,\n () => setOptions(),\n { deep: true },\n);\nasync function setOptions() {\n const list = await getList();\n radioOptions.value = props.dataCallback ? props.dataCallback(list) : list;\n}\n\nasync function getList() {\n if (Array.isArray(props.data)) {\n return props.data;\n }\n if (dictStore) {\n return await dictStore.getDict(props.data);\n }\n return [];\n}\n\nconst value = ref(\"\");\nwatch(\n () => props.modelValue,\n (val: any) => (value.value = val),\n { deep: true, immediate: true },\n);\nconst handleChange = (val: string | number | boolean | undefined) => {\n props.onChange?.(val);\n emit(\"change\", val);\n emit(\"update:modelValue\", val);\n};\n</script>\n\n<template>\n <ElRadioGroup v-model=\"value\" v-bind=\"bindAttrs\" @change=\"handleChange\">\n <template v-if=\"type === 'button'\">\n <ElRadioButton\n v-for=\"item of radioOptions\"\n :key=\"item[optValue]\"\n :label=\"item[optValue]\"\n :disabled=\"item.disabled\"\n >\n {{ item[optLabel] }}\n </ElRadioButton>\n </template>\n <template v-else>\n <ElRadio\n v-for=\"item of radioOptions\"\n :key=\"item[optValue]\"\n :label=\"item[optValue]\"\n :disabled=\"item.disabled\"\n >\n {{ item[optLabel] }}\n </ElRadio>\n </template>\n </ElRadioGroup>\n</template>\n"],"names":["inject","DICT_STORE","computed","excludeObjectKeys","excludeRadioKeys","ref","onMounted","watch","_openBlock","_createBlock","_unref","_mergeProps","type","_createElementBlock","_Fragment","_renderList","ElRadioButton","optValue","_createTextVNode","_toDisplayString","optLabel","ElRadio"],"mappings":";;;;;;;;;;;;;;;;;;;;;AASA,IAAA,MAAM,KAAQ,GAAA,OAAA;AACd,IAAA,MAAM,IAAO,GAAA,MAAA;AACb,IAAM,MAAA,SAAA,GAAYA,WAAOC,kBAAU,CAAA;AACnC,IAAA,MAAM,YAAYC,YAAS,CAAA,MAAMC,sBAAkB,CAAA,KAAA,EAAOC,sBAAgB,CAAC,CAAA;AAE3E,IAAM,MAAA,YAA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CAAA;AAAA;qCAEhB,MAAoB;AAAA,kBAAjBC,mBAAA;AAAA,oBAAAC,mBAAA,CAAA,IAAA,CAAKC,IAAQ,CAAA,QAAA,CAAA,CAAA;AAAA,oBAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.vue2.js","sources":["../../../../../../../packages/components/search/src/search.vue"],"sourcesContent":["<script lang=\"ts\" setup>\
|
|
1
|
+
{"version":3,"file":"search.vue2.js","sources":["../../../../../../../packages/components/search/src/search.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { ElButton } from \"element-plus\";\nimport { ref, watchEffect } from \"vue\";\nimport { excludeObjectKeys } from \"../../../utils\";\nimport IForm from \"../../form/src/form.vue\";\nimport { excludeSearchPropsKeys, SearchEmits, SearchProps } from \"./search\";\n\ndefineOptions({\n name: \"ISearch\",\n});\nconst props = defineProps(SearchProps);\nconst emit = defineEmits(SearchEmits);\n\nconst bindAttrs = ref<any>();\nwatchEffect(() => {\n const attrs = excludeObjectKeys(props, excludeSearchPropsKeys);\n if (!attrs.fileds) {\n attrs.fileds = [];\n }\n if (!attrs.fields.some((item: any) => item.prop === \"searchBtn\")) {\n attrs.fields.push({\n prop: \"searchBtn\",\n comp: \"slot\",\n });\n }\n bindAttrs.value = attrs;\n});\n\nconst formRef = ref();\ndefineExpose({\n getRef() {\n return formRef.value?.getRef();\n },\n});\n\nconst handleChange = (key: string, value: any, ref: any, comp: string) => {\n emit(\"change\", key, value, ref, comp);\n if (comp === \"el-input\") {\n // el-input change 调用查询事件\n // 即在输入框值变化和按下回车时,触发查询事件。\n // emit('search', props.model);\n }\n};\n</script>\n\n<template>\n <div class=\"i-search\">\n <IForm ref=\"formRef\" v-bind=\"bindAttrs\" @change=\"handleChange\">\n <template v-for=\"(item, key) in $slots\" :key=\"key\" #[key]>\n <slot\n v-if=\"key !== 'searchBtn' && key !== 'btn'\"\n :name=\"key\"\n v-bind=\"item\"\n />\n </template>\n <template #searchBtn>\n <div class=\"i-search__opera\">\n <template v-if=\"showDefaultBtn\">\n <ElButton\n type=\"primary\"\n :loading=\"loading\"\n @click=\"emit('search', model)\"\n >\n {{ searchBtnText }}\n </ElButton>\n <ElButton :loading=\"loading\" @click=\"emit('reset')\">\n {{ resetBtnText }}\n </ElButton>\n </template>\n <template v-if=\"$slots.btn\">\n <slot name=\"btn\" />\n </template>\n </div>\n </template>\n </IForm>\n </div>\n</template>\n"],"names":["ref","watchEffect","excludeObjectKeys","excludeSearchPropsKeys","_openBlock","_createElementBlock","_createVNode","IForm","_mergeProps","_createSlots","_createElementVNode","showDefaultBtn","_Fragment","_unref","ElButton","loading","model","searchBtnText","resetBtnText","$slots","_renderSlot","_normalizeProps"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAUA,IAAA,MAAM,KAAQ,GAAA,OAAA;AACd,IAAA,MAAM,IAAO,GAAA,MAAA;AAEb,IAAA,MAAM,YAAYA,OAAS,EAAA;AAC3B,IAAAC,eAAA,CAAY,MAAM;AAChB,MAAM,MAAA,KAAA,GAAQC,sBAAkB,CAAA,KAAA,EAAOC,6BAAsB,CAAA;AAC7D,MAAI,IAAA,CAAC,MAAM,MAAQ,EAAA;AACjB,QAAA,KAAA,CAAM,SAAS,EAAC;AAAA;AAElB,MAAI,IAAA,CAAC,MAAM,MAAO,CAAA,IAAA,CAAK,CAAC,IAAc,KAAA,IAAA,CAAK,IAAS,KAAA,WAAW,CAAG,EAAA;AAChE,QAAA,KAAA,CAAM,OAAO,IAAK,CAAA;AAAA,UAChB,IAAM,EAAA,WAAA;AAAA,UACN,IAAM,EAAA;AAAA,SACP,CAAA;AAAA;AAEH,MAAA,SAAA,CAAU,KAAQ,GAAA,KAAA;AAAA,KACnB,CAAA;AAED,IAAA,MAAM,UAAUH,OAAI,EAAA;AACpB,IAAa,QAAA,CAAA;AAAA,MACX,MAAS,GAAA;;AACP,QAAO,OAAA,CAAA,EAAA,GAAA,OAAA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,CAEWO,SAAA,CAAAC,oBAAA,CAAA,EAAA;AAAA,sBAFA,SAASC,IAAO,CAAA,OAAA;AAAA,sBAAG,OAAA,mCAAO,KAAA,IAAA,CAAI,OAAA,CAAA;AAAA;2CACvC,MAAkB;AAAA;8CAAfG,KAAY,YAAA,CAAA;AAAA,0BAAA;AAAA;AAAA;AAAA;;;;;;;;gBAGHC,IAAAA,CAAAA,MAAAA,CAAO,GACrB,GAAAC,cAAA,CAAmB,KAAA,MAAA,EAAA,KAAA,EAAA,EAAA,GAAA,EAAA,CAAA,EAAA;;;;;;0BAtBOD,CAAAA,IAAAA,CAAM,MAAA,EAAA,CAApB,MAAM,GAAG,KAAA;;oBAAyB,EAAA,GAAA;AAAA,gCAClD,MAIE;AAAA,kBAHM,GAAA,oBAAuB,GAAG,KAAA,KAAA,GADlCC,eAIE,IAAA,CAAA,MAAA,EAFO,KAAGC,kBAAA,CAAAb,cAAA,CAAA,EAAA,GAAA,EAAA,CAAA,IACF,IAAI,CAAA,CAAA;;;;;;;;;;;;;;;"}
|
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var ctyunPlayer = require('./ctyun-player.js');
|
|
7
7
|
require('./easyPlayer.vue.js');
|
|
8
|
-
var tzjPlayer = require('./tzj-player.js');
|
|
9
8
|
require('./errorPage.vue.js');
|
|
9
|
+
var tzjPlayer = require('./tzj-player.js');
|
|
10
10
|
var errorPage_vue_vue_type_script_setup_true_lang = require('./errorPage.vue2.js');
|
|
11
11
|
var easyPlayer_vue_vue_type_script_setup_true_lang = require('./easyPlayer.vue2.js');
|
|
12
12
|
|
|
@@ -416,9 +416,8 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
416
416
|
[
|
|
417
417
|
errorMsg.value ? (vue.openBlock(), vue.createBlock(errorPage_vue_vue_type_script_setup_true_lang.default, {
|
|
418
418
|
key: 0,
|
|
419
|
-
videoName: _ctx.areaName || _ctx.deviceSerial,
|
|
420
419
|
message: errorMsg.value
|
|
421
|
-
}, null, 8, ["
|
|
420
|
+
}, null, 8, ["message"])) : videoUrl.value ? (vue.openBlock(), vue.createBlock(easyPlayer_vue_vue_type_script_setup_true_lang.default, {
|
|
422
421
|
key: 1,
|
|
423
422
|
ref_key: "playerRef",
|
|
424
423
|
ref: playerRef,
|