@ezuikit/player-theme 2.0.2-beta.8 → 2.0.3-beta.1

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/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*
2
- * @ezuikit/player-theme v2.0.2-beta.8
3
- * Copyright (c) 2025-12-12 Ezviz-OpenBiz
2
+ * @ezuikit/player-theme v2.0.3-beta.1
3
+ * Copyright (c) 2025-12-25 Ezviz-OpenBiz
4
4
  * Released under the MIT License.
5
5
  */
6
6
  'use strict';
@@ -8853,9 +8853,12 @@ function _set_prototype_of$5(o, p) {
8853
8853
  _proto._render = function _render() {
8854
8854
  var _this = this;
8855
8855
  var _this_timeLineUtil_updateTimeSections, _this_timeLineUtil;
8856
+ var _this__options_showTimeWidthBtn, _this__options_showCoverFold;
8856
8857
  var _timeLineOptions = {
8857
8858
  language: this._options.language || 'zh',
8858
8859
  coverQuery: this._options.coverQuery || '',
8860
+ showTimeWidthBtn: (_this__options_showTimeWidthBtn = this._options.showTimeWidthBtn) != null ? _this__options_showTimeWidthBtn : true,
8861
+ showCoverFold: (_this__options_showCoverFold = this._options.showCoverFold) != null ? _this__options_showCoverFold : true,
8859
8862
  onChange: function(date) {
8860
8863
  if (_this._currentTime !== (date == null ? void 0 : date.getTime())) {
8861
8864
  _this._options.onChange == null ? void 0 : _this._options.onChange.call(_this._options, date);
@@ -11381,9 +11384,10 @@ var THEME_DEFAULT_OPTIONS = {
11381
11384
  zh: zh,
11382
11385
  en: en
11383
11386
  };
11384
- /** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.0.2-beta.8';
11387
+ /** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.0.3-beta.1';
11385
11388
 
11386
11389
  exports.Control = Control;
11390
+ exports.EVENTS = EVENTS;
11387
11391
  exports.Fullscreen = Fullscreen;
11388
11392
  exports.Loading = Loading;
11389
11393
  exports.Message = Message;
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  /*
2
- * @ezuikit/player-theme v2.0.2-beta.8
3
- * Copyright (c) 2025-12-12 Ezviz-OpenBiz
2
+ * @ezuikit/player-theme v2.0.3-beta.1
3
+ * Copyright (c) 2025-12-25 Ezviz-OpenBiz
4
4
  * Released under the MIT License.
5
5
  */
6
6
  import EventEmitter from 'eventemitter3';
@@ -8851,9 +8851,12 @@ function _set_prototype_of$5(o, p) {
8851
8851
  _proto._render = function _render() {
8852
8852
  var _this = this;
8853
8853
  var _this_timeLineUtil_updateTimeSections, _this_timeLineUtil;
8854
+ var _this__options_showTimeWidthBtn, _this__options_showCoverFold;
8854
8855
  var _timeLineOptions = {
8855
8856
  language: this._options.language || 'zh',
8856
8857
  coverQuery: this._options.coverQuery || '',
8858
+ showTimeWidthBtn: (_this__options_showTimeWidthBtn = this._options.showTimeWidthBtn) != null ? _this__options_showTimeWidthBtn : true,
8859
+ showCoverFold: (_this__options_showCoverFold = this._options.showCoverFold) != null ? _this__options_showCoverFold : true,
8857
8860
  onChange: function(date) {
8858
8861
  if (_this._currentTime !== (date == null ? void 0 : date.getTime())) {
8859
8862
  _this._options.onChange == null ? void 0 : _this._options.onChange.call(_this._options, date);
@@ -11379,6 +11382,6 @@ var THEME_DEFAULT_OPTIONS = {
11379
11382
  zh: zh,
11380
11383
  en: en
11381
11384
  };
11382
- /** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.0.2-beta.8';
11385
+ /** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.0.3-beta.1';
11383
11386
 
11384
- export { Control, Fullscreen, Loading, Message, Play, Poster, Rec, Theme, Utils, Volume };
11387
+ export { Control, EVENTS, Fullscreen, Loading, Message, Play, Poster, Rec, Theme, Utils, Volume };