@yimou6/common-ui 1.12.8 → 1.12.10
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 +5 -5
- package/cdn/index.cdn.js.map +1 -1
- package/cdn/index.cdn.mjs +4 -4
- package/cdn/index.cdn.mjs.map +1 -1
- package/es/components/form/src/form.vue.d.ts +2 -2
- package/es/components/form/src/form.vue2.mjs.map +1 -1
- package/es/components/tzj-player/index.d.ts +18 -216
- package/es/components/tzj-player/src/ctyun-player.vue.d.ts +2 -24
- package/es/components/tzj-player/src/easyPlayer.vue.d.ts +1 -12
- package/es/components/tzj-player/src/easyPlayer.vue2.mjs +12 -27
- package/es/components/tzj-player/src/easyPlayer.vue2.mjs.map +1 -1
- package/es/components/tzj-player/src/errorPage.vue.d.ts +1 -12
- package/es/components/tzj-player/src/errorPage.vue2.mjs +1 -2
- package/es/components/tzj-player/src/errorPage.vue2.mjs.map +1 -1
- package/es/components/tzj-player/src/tzj-player.vue.d.ts +18 -216
- package/es/components/tzj-player/src/ysPlayer.vue.d.ts +1 -12
- package/es/components/tzj-player/src/yunzhiyanPlayer.vue.d.ts +2 -24
- package/lib/components/form/src/form.vue.d.ts +2 -2
- package/lib/components/form/src/form.vue2.js.map +1 -1
- package/lib/components/tzj-player/index.d.ts +18 -216
- package/lib/components/tzj-player/src/ctyun-player.vue.d.ts +2 -24
- package/lib/components/tzj-player/src/easyPlayer.vue.d.ts +1 -12
- package/lib/components/tzj-player/src/easyPlayer.vue2.js +11 -26
- package/lib/components/tzj-player/src/easyPlayer.vue2.js.map +1 -1
- package/lib/components/tzj-player/src/errorPage.vue.d.ts +1 -12
- package/lib/components/tzj-player/src/errorPage.vue2.js +1 -2
- package/lib/components/tzj-player/src/errorPage.vue2.js.map +1 -1
- package/lib/components/tzj-player/src/tzj-player.vue.d.ts +18 -216
- package/lib/components/tzj-player/src/ysPlayer.vue.d.ts +1 -12
- package/lib/components/tzj-player/src/yunzhiyanPlayer.vue.d.ts +2 -24
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.vue2.js","sources":["../../../../../../../packages/components/form/src/form.vue"],"sourcesContent":["<script lang=\"ts\" setup>\
|
|
1
|
+
{"version":3,"file":"form.vue2.js","sources":["../../../../../../../packages/components/form/src/form.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { ElForm } from \"element-plus\";\nimport { ref } from \"vue\";\nimport type {\n FormItemProp,\n FormValidateCallback,\n FormValidationResult,\n} from \"element-plus\";\nimport { excludeObjectKeys } from \"../../../utils\";\nimport { ArrayAble, FormProps } from \"./form\";\nimport IFormItem from \"./form-item.vue\";\n\ndefineOptions({\n name: \"IForm\",\n});\n\nconst props = defineProps(FormProps);\nconst emit = defineEmits<{\n (e: \"validate\", prop: FormItemProp, isValid: boolean, message?: string): void;\n (e: \"change\", key: string, value: any, ref: any, component: string): void;\n}>();\nconst formRef = ref();\n\ndefineExpose({\n getRef() {\n return formRef.value;\n },\n validate(callback?: FormValidateCallback): Promise<void> {\n return formRef.value?.validate(callback);\n },\n validateField(\n props?: ArrayAble<FormItemProp>,\n callback?: FormValidateCallback,\n ): FormValidationResult | undefined {\n return formRef.value?.validateField(props, callback);\n },\n resetFields(props?: ArrayAble<FormItemProp>): void {\n formRef.value?.resetFields(props);\n },\n scrollToField(prop: FormItemProp): void {\n formRef.value?.scrollToField(prop);\n },\n clearValidate(props?: ArrayAble<FormItemProp>): void {\n formRef.value?.clearValidate(props);\n },\n});\n/**\n * 任一表单项值变化后触发\n * @param key\n * @param value\n * @param ref\n * @param component\n */\nconst handleItemChange = (\n key: string,\n value: any,\n ref: any,\n component: string,\n) => {\n emit(\"change\", key, value, ref, component);\n};\n\nconst handleValidate = (\n prop: FormItemProp,\n isValid: boolean,\n message?: string,\n) => {\n emit(\"validate\", prop, isValid, message);\n};\n</script>\n\n<template>\n <ElForm\n ref=\"formRef\"\n class=\"i-form\"\n :model=\"model\"\n v-bind=\"excludeObjectKeys(props, ['fields', 'column', 'model', 'action'])\"\n :style=\"\n props.column\n ? { gridTemplateColumns: `repeat(${props.column}, 1fr)` }\n : {}\n \"\n @validate=\"handleValidate\"\n >\n <IFormItem\n v-for=\"field of fields\"\n v-bind=\"field\"\n :key=\"field.prop\"\n v-model=\"model[field.prop || '_field']\"\n :action=\"action\"\n @change=\"handleItemChange\"\n >\n <template v-for=\"(item, key) in $slots\" :key=\"key\" #[key]>\n <slot :name=\"key\" v-bind=\"item\" />\n </template>\n </IFormItem>\n </ElForm>\n</template>\n"],"names":["ref","props","_openBlock","_createBlock","_unref","_mergeProps","model","excludeObjectKeys","_createElementBlock","_Fragment","_renderList","fields","IFormItem","action","$slots","_renderSlot"],"mappings":"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"}
|
|
@@ -1551,18 +1551,7 @@ export declare const ITzjPlayer: import("../../types").SFCWithInstall<import("vu
|
|
|
1551
1551
|
type: StringConstructor;
|
|
1552
1552
|
default: string;
|
|
1553
1553
|
};
|
|
1554
|
-
}>, {
|
|
1555
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1556
|
-
videoName: {
|
|
1557
|
-
type: StringConstructor;
|
|
1558
|
-
default: string;
|
|
1559
|
-
};
|
|
1560
|
-
message: {
|
|
1561
|
-
type: StringConstructor;
|
|
1562
|
-
default: string;
|
|
1563
|
-
};
|
|
1564
|
-
}>> & Readonly<{}> & {}>;
|
|
1565
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1554
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1566
1555
|
videoName: {
|
|
1567
1556
|
type: StringConstructor;
|
|
1568
1557
|
default: string;
|
|
@@ -1630,18 +1619,7 @@ export declare const ITzjPlayer: import("../../types").SFCWithInstall<import("vu
|
|
|
1630
1619
|
type: StringConstructor;
|
|
1631
1620
|
default: string;
|
|
1632
1621
|
};
|
|
1633
|
-
}>, {
|
|
1634
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1635
|
-
videoName: {
|
|
1636
|
-
type: StringConstructor;
|
|
1637
|
-
default: string;
|
|
1638
|
-
};
|
|
1639
|
-
message: {
|
|
1640
|
-
type: StringConstructor;
|
|
1641
|
-
default: string;
|
|
1642
|
-
};
|
|
1643
|
-
}>> & Readonly<{}> & {}>;
|
|
1644
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1622
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1645
1623
|
videoName: {
|
|
1646
1624
|
type: StringConstructor;
|
|
1647
1625
|
default: string;
|
|
@@ -1757,18 +1735,7 @@ export declare const ITzjPlayer: import("../../types").SFCWithInstall<import("vu
|
|
|
1757
1735
|
type: StringConstructor;
|
|
1758
1736
|
default: string;
|
|
1759
1737
|
};
|
|
1760
|
-
}>, {
|
|
1761
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1762
|
-
videoName: {
|
|
1763
|
-
type: StringConstructor;
|
|
1764
|
-
default: string;
|
|
1765
|
-
};
|
|
1766
|
-
message: {
|
|
1767
|
-
type: StringConstructor;
|
|
1768
|
-
default: string;
|
|
1769
|
-
};
|
|
1770
|
-
}>> & Readonly<{}> & {}>;
|
|
1771
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1738
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1772
1739
|
videoName: {
|
|
1773
1740
|
type: StringConstructor;
|
|
1774
1741
|
default: string;
|
|
@@ -3295,18 +3262,7 @@ export declare const ITzjPlayer: import("../../types").SFCWithInstall<import("vu
|
|
|
3295
3262
|
type: StringConstructor;
|
|
3296
3263
|
default: string;
|
|
3297
3264
|
};
|
|
3298
|
-
}>, {
|
|
3299
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
3300
|
-
videoName: {
|
|
3301
|
-
type: StringConstructor;
|
|
3302
|
-
default: string;
|
|
3303
|
-
};
|
|
3304
|
-
message: {
|
|
3305
|
-
type: StringConstructor;
|
|
3306
|
-
default: string;
|
|
3307
|
-
};
|
|
3308
|
-
}>> & Readonly<{}> & {}>;
|
|
3309
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
3265
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
3310
3266
|
videoName: {
|
|
3311
3267
|
type: StringConstructor;
|
|
3312
3268
|
default: string;
|
|
@@ -3374,18 +3330,7 @@ export declare const ITzjPlayer: import("../../types").SFCWithInstall<import("vu
|
|
|
3374
3330
|
type: StringConstructor;
|
|
3375
3331
|
default: string;
|
|
3376
3332
|
};
|
|
3377
|
-
}>, {
|
|
3378
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
3379
|
-
videoName: {
|
|
3380
|
-
type: StringConstructor;
|
|
3381
|
-
default: string;
|
|
3382
|
-
};
|
|
3383
|
-
message: {
|
|
3384
|
-
type: StringConstructor;
|
|
3385
|
-
default: string;
|
|
3386
|
-
};
|
|
3387
|
-
}>> & Readonly<{}> & {}>;
|
|
3388
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
3333
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
3389
3334
|
videoName: {
|
|
3390
3335
|
type: StringConstructor;
|
|
3391
3336
|
default: string;
|
|
@@ -3548,18 +3493,7 @@ export declare const ITzjPlayer: import("../../types").SFCWithInstall<import("vu
|
|
|
3548
3493
|
type: StringConstructor;
|
|
3549
3494
|
default: string;
|
|
3550
3495
|
};
|
|
3551
|
-
}>, {
|
|
3552
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
3553
|
-
videoName: {
|
|
3554
|
-
type: StringConstructor;
|
|
3555
|
-
default: string;
|
|
3556
|
-
};
|
|
3557
|
-
message: {
|
|
3558
|
-
type: StringConstructor;
|
|
3559
|
-
default: string;
|
|
3560
|
-
};
|
|
3561
|
-
}>> & Readonly<{}> & {}>;
|
|
3562
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
3496
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
3563
3497
|
videoName: {
|
|
3564
3498
|
type: StringConstructor;
|
|
3565
3499
|
default: string;
|
|
@@ -5101,18 +5035,7 @@ export declare const ITzjPlayer: import("../../types").SFCWithInstall<import("vu
|
|
|
5101
5035
|
type: StringConstructor;
|
|
5102
5036
|
default: string;
|
|
5103
5037
|
};
|
|
5104
|
-
}>, {
|
|
5105
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
5106
|
-
videoName: {
|
|
5107
|
-
type: StringConstructor;
|
|
5108
|
-
default: string;
|
|
5109
|
-
};
|
|
5110
|
-
message: {
|
|
5111
|
-
type: StringConstructor;
|
|
5112
|
-
default: string;
|
|
5113
|
-
};
|
|
5114
|
-
}>> & Readonly<{}> & {}>;
|
|
5115
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
5038
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
5116
5039
|
videoName: {
|
|
5117
5040
|
type: StringConstructor;
|
|
5118
5041
|
default: string;
|
|
@@ -5180,18 +5103,7 @@ export declare const ITzjPlayer: import("../../types").SFCWithInstall<import("vu
|
|
|
5180
5103
|
type: StringConstructor;
|
|
5181
5104
|
default: string;
|
|
5182
5105
|
};
|
|
5183
|
-
}>, {
|
|
5184
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
5185
|
-
videoName: {
|
|
5186
|
-
type: StringConstructor;
|
|
5187
|
-
default: string;
|
|
5188
|
-
};
|
|
5189
|
-
message: {
|
|
5190
|
-
type: StringConstructor;
|
|
5191
|
-
default: string;
|
|
5192
|
-
};
|
|
5193
|
-
}>> & Readonly<{}> & {}>;
|
|
5194
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
5106
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
5195
5107
|
videoName: {
|
|
5196
5108
|
type: StringConstructor;
|
|
5197
5109
|
default: string;
|
|
@@ -5306,18 +5218,7 @@ export declare const ITzjPlayer: import("../../types").SFCWithInstall<import("vu
|
|
|
5306
5218
|
type: StringConstructor;
|
|
5307
5219
|
default: string;
|
|
5308
5220
|
};
|
|
5309
|
-
}>, {
|
|
5310
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
5311
|
-
videoName: {
|
|
5312
|
-
type: StringConstructor;
|
|
5313
|
-
default: string;
|
|
5314
|
-
};
|
|
5315
|
-
message: {
|
|
5316
|
-
type: StringConstructor;
|
|
5317
|
-
default: string;
|
|
5318
|
-
};
|
|
5319
|
-
}>> & Readonly<{}> & {}>;
|
|
5320
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
5221
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
5321
5222
|
videoName: {
|
|
5322
5223
|
type: StringConstructor;
|
|
5323
5224
|
default: string;
|
|
@@ -6843,18 +6744,7 @@ export declare const ITzjPlayer: import("../../types").SFCWithInstall<import("vu
|
|
|
6843
6744
|
type: StringConstructor;
|
|
6844
6745
|
default: string;
|
|
6845
6746
|
};
|
|
6846
|
-
}>, {
|
|
6847
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
6848
|
-
videoName: {
|
|
6849
|
-
type: StringConstructor;
|
|
6850
|
-
default: string;
|
|
6851
|
-
};
|
|
6852
|
-
message: {
|
|
6853
|
-
type: StringConstructor;
|
|
6854
|
-
default: string;
|
|
6855
|
-
};
|
|
6856
|
-
}>> & Readonly<{}> & {}>;
|
|
6857
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
6747
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
6858
6748
|
videoName: {
|
|
6859
6749
|
type: StringConstructor;
|
|
6860
6750
|
default: string;
|
|
@@ -6922,18 +6812,7 @@ export declare const ITzjPlayer: import("../../types").SFCWithInstall<import("vu
|
|
|
6922
6812
|
type: StringConstructor;
|
|
6923
6813
|
default: string;
|
|
6924
6814
|
};
|
|
6925
|
-
}>, {
|
|
6926
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
6927
|
-
videoName: {
|
|
6928
|
-
type: StringConstructor;
|
|
6929
|
-
default: string;
|
|
6930
|
-
};
|
|
6931
|
-
message: {
|
|
6932
|
-
type: StringConstructor;
|
|
6933
|
-
default: string;
|
|
6934
|
-
};
|
|
6935
|
-
}>> & Readonly<{}> & {}>;
|
|
6936
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
6815
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
6937
6816
|
videoName: {
|
|
6938
6817
|
type: StringConstructor;
|
|
6939
6818
|
default: string;
|
|
@@ -7099,18 +6978,7 @@ export declare const ITzjPlayer: import("../../types").SFCWithInstall<import("vu
|
|
|
7099
6978
|
type: StringConstructor;
|
|
7100
6979
|
default: string;
|
|
7101
6980
|
};
|
|
7102
|
-
}>, {
|
|
7103
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
7104
|
-
videoName: {
|
|
7105
|
-
type: StringConstructor;
|
|
7106
|
-
default: string;
|
|
7107
|
-
};
|
|
7108
|
-
message: {
|
|
7109
|
-
type: StringConstructor;
|
|
7110
|
-
default: string;
|
|
7111
|
-
};
|
|
7112
|
-
}>> & Readonly<{}> & {}>;
|
|
7113
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
6981
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7114
6982
|
videoName: {
|
|
7115
6983
|
type: StringConstructor;
|
|
7116
6984
|
default: string;
|
|
@@ -8652,18 +8520,7 @@ export declare const ITzjPlayer: import("../../types").SFCWithInstall<import("vu
|
|
|
8652
8520
|
type: StringConstructor;
|
|
8653
8521
|
default: string;
|
|
8654
8522
|
};
|
|
8655
|
-
}>, {
|
|
8656
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
8657
|
-
videoName: {
|
|
8658
|
-
type: StringConstructor;
|
|
8659
|
-
default: string;
|
|
8660
|
-
};
|
|
8661
|
-
message: {
|
|
8662
|
-
type: StringConstructor;
|
|
8663
|
-
default: string;
|
|
8664
|
-
};
|
|
8665
|
-
}>> & Readonly<{}> & {}>;
|
|
8666
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8523
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8667
8524
|
videoName: {
|
|
8668
8525
|
type: StringConstructor;
|
|
8669
8526
|
default: string;
|
|
@@ -8731,18 +8588,7 @@ export declare const ITzjPlayer: import("../../types").SFCWithInstall<import("vu
|
|
|
8731
8588
|
type: StringConstructor;
|
|
8732
8589
|
default: string;
|
|
8733
8590
|
};
|
|
8734
|
-
}>, {
|
|
8735
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
8736
|
-
videoName: {
|
|
8737
|
-
type: StringConstructor;
|
|
8738
|
-
default: string;
|
|
8739
|
-
};
|
|
8740
|
-
message: {
|
|
8741
|
-
type: StringConstructor;
|
|
8742
|
-
default: string;
|
|
8743
|
-
};
|
|
8744
|
-
}>> & Readonly<{}> & {}>;
|
|
8745
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8591
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8746
8592
|
videoName: {
|
|
8747
8593
|
type: StringConstructor;
|
|
8748
8594
|
default: string;
|
|
@@ -8857,18 +8703,7 @@ export declare const ITzjPlayer: import("../../types").SFCWithInstall<import("vu
|
|
|
8857
8703
|
type: StringConstructor;
|
|
8858
8704
|
default: string;
|
|
8859
8705
|
};
|
|
8860
|
-
}>, {
|
|
8861
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
8862
|
-
videoName: {
|
|
8863
|
-
type: StringConstructor;
|
|
8864
|
-
default: string;
|
|
8865
|
-
};
|
|
8866
|
-
message: {
|
|
8867
|
-
type: StringConstructor;
|
|
8868
|
-
default: string;
|
|
8869
|
-
};
|
|
8870
|
-
}>> & Readonly<{}> & {}>;
|
|
8871
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8706
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8872
8707
|
videoName: {
|
|
8873
8708
|
type: StringConstructor;
|
|
8874
8709
|
default: string;
|
|
@@ -10394,18 +10229,7 @@ export declare const ITzjPlayer: import("../../types").SFCWithInstall<import("vu
|
|
|
10394
10229
|
type: StringConstructor;
|
|
10395
10230
|
default: string;
|
|
10396
10231
|
};
|
|
10397
|
-
}>, {
|
|
10398
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
10399
|
-
videoName: {
|
|
10400
|
-
type: StringConstructor;
|
|
10401
|
-
default: string;
|
|
10402
|
-
};
|
|
10403
|
-
message: {
|
|
10404
|
-
type: StringConstructor;
|
|
10405
|
-
default: string;
|
|
10406
|
-
};
|
|
10407
|
-
}>> & Readonly<{}> & {}>;
|
|
10408
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10232
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10409
10233
|
videoName: {
|
|
10410
10234
|
type: StringConstructor;
|
|
10411
10235
|
default: string;
|
|
@@ -10473,18 +10297,7 @@ export declare const ITzjPlayer: import("../../types").SFCWithInstall<import("vu
|
|
|
10473
10297
|
type: StringConstructor;
|
|
10474
10298
|
default: string;
|
|
10475
10299
|
};
|
|
10476
|
-
}>, {
|
|
10477
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
10478
|
-
videoName: {
|
|
10479
|
-
type: StringConstructor;
|
|
10480
|
-
default: string;
|
|
10481
|
-
};
|
|
10482
|
-
message: {
|
|
10483
|
-
type: StringConstructor;
|
|
10484
|
-
default: string;
|
|
10485
|
-
};
|
|
10486
|
-
}>> & Readonly<{}> & {}>;
|
|
10487
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10300
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10488
10301
|
videoName: {
|
|
10489
10302
|
type: StringConstructor;
|
|
10490
10303
|
default: string;
|
|
@@ -10545,18 +10358,7 @@ export declare const ITzjPlayer: import("../../types").SFCWithInstall<import("vu
|
|
|
10545
10358
|
type: StringConstructor;
|
|
10546
10359
|
default: string;
|
|
10547
10360
|
};
|
|
10548
|
-
}>, {
|
|
10549
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
10550
|
-
videoName: {
|
|
10551
|
-
type: StringConstructor;
|
|
10552
|
-
default: string;
|
|
10553
|
-
};
|
|
10554
|
-
message: {
|
|
10555
|
-
type: StringConstructor;
|
|
10556
|
-
default: string;
|
|
10557
|
-
};
|
|
10558
|
-
}>> & Readonly<{}> & {}>;
|
|
10559
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10361
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10560
10362
|
videoName: {
|
|
10561
10363
|
type: StringConstructor;
|
|
10562
10364
|
default: string;
|
|
@@ -1482,18 +1482,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1482
1482
|
type: StringConstructor;
|
|
1483
1483
|
default: string;
|
|
1484
1484
|
};
|
|
1485
|
-
}>, {
|
|
1486
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1487
|
-
videoName: {
|
|
1488
|
-
type: StringConstructor;
|
|
1489
|
-
default: string;
|
|
1490
|
-
};
|
|
1491
|
-
message: {
|
|
1492
|
-
type: StringConstructor;
|
|
1493
|
-
default: string;
|
|
1494
|
-
};
|
|
1495
|
-
}>> & Readonly<{}> & {}>;
|
|
1496
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1485
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1497
1486
|
videoName: {
|
|
1498
1487
|
type: StringConstructor;
|
|
1499
1488
|
default: string;
|
|
@@ -1561,18 +1550,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1561
1550
|
type: StringConstructor;
|
|
1562
1551
|
default: string;
|
|
1563
1552
|
};
|
|
1564
|
-
}>, {
|
|
1565
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1566
|
-
videoName: {
|
|
1567
|
-
type: StringConstructor;
|
|
1568
|
-
default: string;
|
|
1569
|
-
};
|
|
1570
|
-
message: {
|
|
1571
|
-
type: StringConstructor;
|
|
1572
|
-
default: string;
|
|
1573
|
-
};
|
|
1574
|
-
}>> & Readonly<{}> & {}>;
|
|
1575
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1553
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1576
1554
|
videoName: {
|
|
1577
1555
|
type: StringConstructor;
|
|
1578
1556
|
default: string;
|
|
@@ -108,18 +108,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
108
108
|
type: StringConstructor;
|
|
109
109
|
default: string;
|
|
110
110
|
};
|
|
111
|
-
}>, {
|
|
112
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
113
|
-
videoName: {
|
|
114
|
-
type: StringConstructor;
|
|
115
|
-
default: string;
|
|
116
|
-
};
|
|
117
|
-
message: {
|
|
118
|
-
type: StringConstructor;
|
|
119
|
-
default: string;
|
|
120
|
-
};
|
|
121
|
-
}>> & Readonly<{}> & {}>;
|
|
122
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
111
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
123
112
|
videoName: {
|
|
124
113
|
type: StringConstructor;
|
|
125
114
|
default: string;
|
|
@@ -9,10 +9,6 @@ var errorPage_vue_vue_type_script_setup_true_lang = require('./errorPage.vue2.js
|
|
|
9
9
|
|
|
10
10
|
var __defProp = Object.defineProperty;
|
|
11
11
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
12
|
-
const _hoisted_1 = {
|
|
13
|
-
key: 0,
|
|
14
|
-
class: "i-tzj-easyPlayer__top"
|
|
15
|
-
};
|
|
16
12
|
const MAX_CREATE_RETRY = 3;
|
|
17
13
|
var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
18
14
|
...{
|
|
@@ -56,7 +52,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
56
52
|
const dom = document.getElementById(id);
|
|
57
53
|
if (dom && width > 0 && height > 0 && !realFullscreen.value) {
|
|
58
54
|
dom.style.width = `${width}px`;
|
|
59
|
-
dom.style.height =
|
|
55
|
+
dom.style.height = `${height}px`;
|
|
60
56
|
}
|
|
61
57
|
}
|
|
62
58
|
});
|
|
@@ -180,6 +176,12 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
180
176
|
if (url.startsWith("http://") || url.startsWith("https://") || url.startsWith("ws://")) {
|
|
181
177
|
return url;
|
|
182
178
|
}
|
|
179
|
+
if (url.startsWith("//")) {
|
|
180
|
+
if (typeof window !== "undefined" && window.location) {
|
|
181
|
+
return `${window.location.protocol}${url}`;
|
|
182
|
+
}
|
|
183
|
+
return `https:${url}`;
|
|
184
|
+
}
|
|
183
185
|
if (typeof window !== "undefined" && window.location) {
|
|
184
186
|
return `${window.location.origin}${url.startsWith("/") ? "" : "/"}${url}`;
|
|
185
187
|
}
|
|
@@ -249,10 +251,10 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
249
251
|
const h = rectH > 0 ? rectH : ((_e = playerRef.value) == null ? void 0 : _e.offsetHeight) || 450;
|
|
250
252
|
if (realFullscreen.value) {
|
|
251
253
|
dom.style.width = `100vw`;
|
|
252
|
-
dom.style.height =
|
|
254
|
+
dom.style.height = `100vh`;
|
|
253
255
|
} else {
|
|
254
256
|
dom.style.width = `${w}px`;
|
|
255
|
-
dom.style.height =
|
|
257
|
+
dom.style.height = `${h}px`;
|
|
256
258
|
}
|
|
257
259
|
(_f = playerRef.value) == null ? void 0 : _f.appendChild(dom);
|
|
258
260
|
resolve(dom);
|
|
@@ -438,30 +440,13 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
438
440
|
class: vue.normalizeClass(["i-tzj-easyPlayer", customBar.value ? "i-tzj-easyPlayer--custom" : ""])
|
|
439
441
|
},
|
|
440
442
|
[
|
|
441
|
-
vue.createCommentVNode(" \u64AD\u653E\u5668\u9876\u90E8\u663E\u793A\u533A\u57DF(\u8BBE\u5907)\u540D\u79F0 "),
|
|
442
|
-
_ctx.areaName || _ctx.deviceSerial ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
443
|
-
_cache[0] || (_cache[0] = vue.createElementVNode(
|
|
444
|
-
"i",
|
|
445
|
-
{ class: "iconfont icon-shexiangtou4" },
|
|
446
|
-
null,
|
|
447
|
-
-1
|
|
448
|
-
/* CACHED */
|
|
449
|
-
)),
|
|
450
|
-
vue.createElementVNode(
|
|
451
|
-
"span",
|
|
452
|
-
null,
|
|
453
|
-
vue.toDisplayString(_ctx.areaName || _ctx.deviceSerial),
|
|
454
|
-
1
|
|
455
|
-
/* TEXT */
|
|
456
|
-
)
|
|
457
|
-
])) : vue.createCommentVNode("v-if", true),
|
|
458
443
|
!playSuccess.value ? (vue.openBlock(), vue.createBlock(errorPage_vue_vue_type_script_setup_true_lang.default, {
|
|
459
|
-
key:
|
|
444
|
+
key: 0,
|
|
460
445
|
"video-name": _ctx.areaName || _ctx.deviceSerial,
|
|
461
446
|
message: "\u65E0\u4FE1\u53F7"
|
|
462
447
|
}, null, 8, ["video-name"])) : vue.createCommentVNode("v-if", true),
|
|
463
448
|
!playUrl.value ? (vue.openBlock(), vue.createBlock(errorPage_vue_vue_type_script_setup_true_lang.default, {
|
|
464
|
-
key:
|
|
449
|
+
key: 1,
|
|
465
450
|
"video-name": _ctx.areaName || _ctx.deviceSerial,
|
|
466
451
|
message: "\u65E0\u64AD\u653E\u5730\u5740"
|
|
467
452
|
}, null, 8, ["video-name"])) : vue.createCommentVNode("v-if", true),
|