@ezuikit/player-theme 2.1.2-beta.3 → 2.1.2-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/constant.js +2 -2
- package/dist/index.js +13 -12
- package/dist/index.mjs +13 -12
- package/dist/index.umd.js +13 -12
- package/dist/style.js +2 -2
- package/package.json +1 -1
package/dist/constant.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @ezuikit/player-theme v2.1.2-beta.
|
|
3
|
-
* Copyright (c) 2026-03-
|
|
2
|
+
* @ezuikit/player-theme v2.1.2-beta.5
|
|
3
|
+
* Copyright (c) 2026-03-12 Ezviz-OpenBiz
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
@@ -8519,15 +8519,13 @@ function _ts_generator$2(thisArg, body) {
|
|
|
8519
8519
|
classNameSuffix: 'aichat'
|
|
8520
8520
|
})) || this;
|
|
8521
8521
|
_this._options = options;
|
|
8522
|
-
|
|
8523
|
-
|
|
8524
|
-
_this.
|
|
8525
|
-
|
|
8526
|
-
|
|
8527
|
-
|
|
8528
|
-
|
|
8529
|
-
});
|
|
8530
|
-
}
|
|
8522
|
+
_this._render();
|
|
8523
|
+
_this.on(EVENTS.aichatChange, function(active) {
|
|
8524
|
+
if (_this.active !== active) {
|
|
8525
|
+
_this.active = active;
|
|
8526
|
+
_this._render();
|
|
8527
|
+
}
|
|
8528
|
+
});
|
|
8531
8529
|
return _this;
|
|
8532
8530
|
}
|
|
8533
8531
|
var _proto = AIChat.prototype;
|
|
@@ -8536,6 +8534,9 @@ function _ts_generator$2(thisArg, body) {
|
|
|
8536
8534
|
this.$container.innerHTML = IconComponents.aiChat({
|
|
8537
8535
|
title: (_this_locale = this.locale) == null ? void 0 : _this_locale.BTN_AICHAT
|
|
8538
8536
|
});
|
|
8537
|
+
if (this._options.urlInfo.searchParams.busType !== '7' && this._options.urlInfo.recType === "cloud") ; else {
|
|
8538
|
+
this.$container.style.display = 'none';
|
|
8539
|
+
}
|
|
8539
8540
|
};
|
|
8540
8541
|
_proto.reset = function reset(hide) {
|
|
8541
8542
|
if (this.active) {
|
|
@@ -11952,7 +11953,7 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
11952
11953
|
zh: zh,
|
|
11953
11954
|
en: en
|
|
11954
11955
|
};
|
|
11955
|
-
/** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.1.2-beta.
|
|
11956
|
+
/** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.1.2-beta.5';
|
|
11956
11957
|
|
|
11957
11958
|
exports.Control = Control;
|
|
11958
11959
|
exports.EVENTS = EVENTS;
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @ezuikit/player-theme v2.1.2-beta.
|
|
3
|
-
* Copyright (c) 2026-03-
|
|
2
|
+
* @ezuikit/player-theme v2.1.2-beta.5
|
|
3
|
+
* Copyright (c) 2026-03-12 Ezviz-OpenBiz
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import EventEmitter from 'eventemitter3';
|
|
@@ -8517,15 +8517,13 @@ function _ts_generator$2(thisArg, body) {
|
|
|
8517
8517
|
classNameSuffix: 'aichat'
|
|
8518
8518
|
})) || this;
|
|
8519
8519
|
_this._options = options;
|
|
8520
|
-
|
|
8521
|
-
|
|
8522
|
-
_this.
|
|
8523
|
-
|
|
8524
|
-
|
|
8525
|
-
|
|
8526
|
-
|
|
8527
|
-
});
|
|
8528
|
-
}
|
|
8520
|
+
_this._render();
|
|
8521
|
+
_this.on(EVENTS.aichatChange, function(active) {
|
|
8522
|
+
if (_this.active !== active) {
|
|
8523
|
+
_this.active = active;
|
|
8524
|
+
_this._render();
|
|
8525
|
+
}
|
|
8526
|
+
});
|
|
8529
8527
|
return _this;
|
|
8530
8528
|
}
|
|
8531
8529
|
var _proto = AIChat.prototype;
|
|
@@ -8534,6 +8532,9 @@ function _ts_generator$2(thisArg, body) {
|
|
|
8534
8532
|
this.$container.innerHTML = IconComponents.aiChat({
|
|
8535
8533
|
title: (_this_locale = this.locale) == null ? void 0 : _this_locale.BTN_AICHAT
|
|
8536
8534
|
});
|
|
8535
|
+
if (this._options.urlInfo.searchParams.busType !== '7' && this._options.urlInfo.recType === "cloud") ; else {
|
|
8536
|
+
this.$container.style.display = 'none';
|
|
8537
|
+
}
|
|
8537
8538
|
};
|
|
8538
8539
|
_proto.reset = function reset(hide) {
|
|
8539
8540
|
if (this.active) {
|
|
@@ -11950,6 +11951,6 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
11950
11951
|
zh: zh,
|
|
11951
11952
|
en: en
|
|
11952
11953
|
};
|
|
11953
|
-
/** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.1.2-beta.
|
|
11954
|
+
/** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.1.2-beta.5';
|
|
11954
11955
|
|
|
11955
11956
|
export { Control, EVENTS, Fullscreen, Loading, Message, Play, Poster, Rec, Theme, Utils, Volume };
|
package/dist/index.umd.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @ezuikit/player-theme v2.1.2-beta.
|
|
3
|
-
* Copyright (c) 2026-03-
|
|
2
|
+
* @ezuikit/player-theme v2.1.2-beta.5
|
|
3
|
+
* Copyright (c) 2026-03-12 Ezviz-OpenBiz
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
(function (global, factory) {
|
|
@@ -10161,15 +10161,13 @@
|
|
|
10161
10161
|
classNameSuffix: 'aichat'
|
|
10162
10162
|
})) || this;
|
|
10163
10163
|
_this._options = options;
|
|
10164
|
-
|
|
10165
|
-
|
|
10166
|
-
_this.
|
|
10167
|
-
|
|
10168
|
-
|
|
10169
|
-
|
|
10170
|
-
|
|
10171
|
-
});
|
|
10172
|
-
}
|
|
10164
|
+
_this._render();
|
|
10165
|
+
_this.on(EVENTS.aichatChange, function(active) {
|
|
10166
|
+
if (_this.active !== active) {
|
|
10167
|
+
_this.active = active;
|
|
10168
|
+
_this._render();
|
|
10169
|
+
}
|
|
10170
|
+
});
|
|
10173
10171
|
return _this;
|
|
10174
10172
|
}
|
|
10175
10173
|
var _proto = AIChat.prototype;
|
|
@@ -10178,6 +10176,9 @@
|
|
|
10178
10176
|
this.$container.innerHTML = IconComponents.aiChat({
|
|
10179
10177
|
title: (_this_locale = this.locale) == null ? void 0 : _this_locale.BTN_AICHAT
|
|
10180
10178
|
});
|
|
10179
|
+
if (this._options.urlInfo.searchParams.busType !== '7' && this._options.urlInfo.recType === "cloud") ; else {
|
|
10180
|
+
this.$container.style.display = 'none';
|
|
10181
|
+
}
|
|
10181
10182
|
};
|
|
10182
10183
|
_proto.reset = function reset(hide) {
|
|
10183
10184
|
if (this.active) {
|
|
@@ -14104,7 +14105,7 @@
|
|
|
14104
14105
|
zh: zh,
|
|
14105
14106
|
en: en
|
|
14106
14107
|
};
|
|
14107
|
-
/** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.1.2-beta.
|
|
14108
|
+
/** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.1.2-beta.5';
|
|
14108
14109
|
|
|
14109
14110
|
// 不要动这里的代码, 这个出口是为了编译成 umd 规范的文件
|
|
14110
14111
|
|
package/dist/style.js
CHANGED