@ezuikit/player-theme 2.1.0-beta.2 → 2.1.0-beta.4

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  /*
2
- * @ezuikit/player-theme v2.1.0-beta.2
3
- * Copyright (c) 2025-12-30 Ezviz-OpenBiz
2
+ * @ezuikit/player-theme v2.1.0-beta.4
3
+ * Copyright (c) 2025-12-31 Ezviz-OpenBiz
4
4
  * Released under the MIT License.
5
5
  */
6
6
  /**
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*
2
- * @ezuikit/player-theme v2.1.0-beta.2
3
- * Copyright (c) 2025-12-30 Ezviz-OpenBiz
2
+ * @ezuikit/player-theme v2.1.0-beta.4
3
+ * Copyright (c) 2025-12-31 Ezviz-OpenBiz
4
4
  * Released under the MIT License.
5
5
  */
6
6
  'use strict';
@@ -1746,7 +1746,7 @@ var VOLUME_DEFAULT_OPTIONS = {
1746
1746
  _this._lastVolume = _this._volume;
1747
1747
  _this._muted = !!((_this__options_props3 = _this._options.props) == null ? void 0 : _this__options_props3.muted) || false;
1748
1748
  // 轻应用私有暂时不支持调节音量
1749
- if (!(Utils.isMobile || _this._options.PLAY_TYPE !== 'ezopen')) {
1749
+ if (!(Utils.isMobile || _this._options.PLAY_TYPE === 'ezopen')) {
1750
1750
  var _this__options_props4, _this__options_props5;
1751
1751
  _this.picker = new Picker(_this.$container, {
1752
1752
  getPopupContainer: function() {
@@ -8719,7 +8719,7 @@ function _set_prototype_of$6(o, p) {
8719
8719
  ],
8720
8720
  badges: ((_this_options_props = this.options.props) == null ? void 0 : _this_options_props.recMonth) || [],
8721
8721
  language: this.options.language === 'zh' ? 'zh' : 'en',
8722
- current: new Date(this._value + ' 00:00:00'),
8722
+ current: require$$1.DateTime.toDate(this._value),
8723
8723
  placement: 'tr',
8724
8724
  triggerClose: true,
8725
8725
  disabledDate: function(date) {
@@ -11391,7 +11391,7 @@ var THEME_DEFAULT_OPTIONS = {
11391
11391
  zh: zh,
11392
11392
  en: en
11393
11393
  };
11394
- /** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.1.0-beta.2';
11394
+ /** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.1.0-beta.4';
11395
11395
 
11396
11396
  exports.Control = Control;
11397
11397
  exports.EVENTS = EVENTS;
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  /*
2
- * @ezuikit/player-theme v2.1.0-beta.2
3
- * Copyright (c) 2025-12-30 Ezviz-OpenBiz
2
+ * @ezuikit/player-theme v2.1.0-beta.4
3
+ * Copyright (c) 2025-12-31 Ezviz-OpenBiz
4
4
  * Released under the MIT License.
5
5
  */
6
6
  import EventEmitter from 'eventemitter3';
@@ -1744,7 +1744,7 @@ var VOLUME_DEFAULT_OPTIONS = {
1744
1744
  _this._lastVolume = _this._volume;
1745
1745
  _this._muted = !!((_this__options_props3 = _this._options.props) == null ? void 0 : _this__options_props3.muted) || false;
1746
1746
  // 轻应用私有暂时不支持调节音量
1747
- if (!(Utils.isMobile || _this._options.PLAY_TYPE !== 'ezopen')) {
1747
+ if (!(Utils.isMobile || _this._options.PLAY_TYPE === 'ezopen')) {
1748
1748
  var _this__options_props4, _this__options_props5;
1749
1749
  _this.picker = new Picker(_this.$container, {
1750
1750
  getPopupContainer: function() {
@@ -8717,7 +8717,7 @@ function _set_prototype_of$6(o, p) {
8717
8717
  ],
8718
8718
  badges: ((_this_options_props = this.options.props) == null ? void 0 : _this_options_props.recMonth) || [],
8719
8719
  language: this.options.language === 'zh' ? 'zh' : 'en',
8720
- current: new Date(this._value + ' 00:00:00'),
8720
+ current: DateTime.toDate(this._value),
8721
8721
  placement: 'tr',
8722
8722
  triggerClose: true,
8723
8723
  disabledDate: function(date) {
@@ -11389,6 +11389,6 @@ var THEME_DEFAULT_OPTIONS = {
11389
11389
  zh: zh,
11390
11390
  en: en
11391
11391
  };
11392
- /** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.1.0-beta.2';
11392
+ /** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.1.0-beta.4';
11393
11393
 
11394
11394
  export { Control, EVENTS, Fullscreen, Loading, Message, Play, Poster, Rec, Theme, Utils, Volume };