@ezuikit/player-theme 2.0.1-beta.3 → 2.0.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 +4 -6
- package/dist/index.mjs +4 -6
- package/dist/index.umd.js +341 -343
- package/dist/style.js +1 -1
- package/dist/types/index.d.ts +20 -20
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @ezuikit/player-theme v2.0.1
|
|
2
|
+
* @ezuikit/player-theme v2.0.1
|
|
3
3
|
* Copyright (c) 2025-12-04 Ezviz-OpenBiz
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -8693,7 +8693,7 @@ function _set_prototype_of$6(o, p) {
|
|
|
8693
8693
|
onOk: function(date, mode) {
|
|
8694
8694
|
if (date && _this._value !== require$$1.DateTime.format(date, 'YYYY-MM-DD') && isMobile1) {
|
|
8695
8695
|
_this._value = require$$1.DateTime.format(date, 'YYYY-MM-DD');
|
|
8696
|
-
_this.options.
|
|
8696
|
+
_this.options.onOk == null ? void 0 : _this.options.onOk.call(_this.options, date);
|
|
8697
8697
|
_this.emit(EVENTS.control.dateChange, date);
|
|
8698
8698
|
if (date && _this.$container.querySelector("." + PREFIX_CLASS + "-mobile-date-filter-value")) {
|
|
8699
8699
|
_this.$container.querySelector("." + PREFIX_CLASS + "-mobile-date-filter-value").innerHTML = _this._getDateStr();
|
|
@@ -10132,9 +10132,7 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
10132
10132
|
// _recMonthObj: Record<string, string[]> = {};
|
|
10133
10133
|
/**
|
|
10134
10134
|
* 录像回放的月份列表 @private
|
|
10135
|
-
*/ _this.recMonth = [
|
|
10136
|
-
'2025-12-01'
|
|
10137
|
-
], /** 清理 header/footer 动画 定时器 @private */ _this._onPauseTimingFunc = null, /** 销毁标识 @readonly */ _this.destroyed = false, /** 播放地址信息 */ _this.urlInfo = null, _this.scaleMode = 0;
|
|
10135
|
+
*/ _this.recMonth = [], /** 清理 header/footer 动画 定时器 @private */ _this._onPauseTimingFunc = null, /** 销毁标识 @readonly */ _this.destroyed = false, /** 播放地址信息 */ _this.urlInfo = null, _this.scaleMode = 0;
|
|
10138
10136
|
_this._initOptions(options);
|
|
10139
10137
|
if (_this.options.type === 'ezopen') {
|
|
10140
10138
|
var _this_urlInfo_searchParams, _this_urlInfo;
|
|
@@ -11356,7 +11354,7 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
11356
11354
|
zh: zh,
|
|
11357
11355
|
en: en
|
|
11358
11356
|
};
|
|
11359
|
-
/** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.0.1
|
|
11357
|
+
/** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.0.1';
|
|
11360
11358
|
|
|
11361
11359
|
exports.Control = Control;
|
|
11362
11360
|
exports.Fullscreen = Fullscreen;
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @ezuikit/player-theme v2.0.1
|
|
2
|
+
* @ezuikit/player-theme v2.0.1
|
|
3
3
|
* Copyright (c) 2025-12-04 Ezviz-OpenBiz
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -8691,7 +8691,7 @@ function _set_prototype_of$6(o, p) {
|
|
|
8691
8691
|
onOk: function(date, mode) {
|
|
8692
8692
|
if (date && _this._value !== DateTime.format(date, 'YYYY-MM-DD') && isMobile1) {
|
|
8693
8693
|
_this._value = DateTime.format(date, 'YYYY-MM-DD');
|
|
8694
|
-
_this.options.
|
|
8694
|
+
_this.options.onOk == null ? void 0 : _this.options.onOk.call(_this.options, date);
|
|
8695
8695
|
_this.emit(EVENTS.control.dateChange, date);
|
|
8696
8696
|
if (date && _this.$container.querySelector("." + PREFIX_CLASS + "-mobile-date-filter-value")) {
|
|
8697
8697
|
_this.$container.querySelector("." + PREFIX_CLASS + "-mobile-date-filter-value").innerHTML = _this._getDateStr();
|
|
@@ -10130,9 +10130,7 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
10130
10130
|
// _recMonthObj: Record<string, string[]> = {};
|
|
10131
10131
|
/**
|
|
10132
10132
|
* 录像回放的月份列表 @private
|
|
10133
|
-
*/ _this.recMonth = [
|
|
10134
|
-
'2025-12-01'
|
|
10135
|
-
], /** 清理 header/footer 动画 定时器 @private */ _this._onPauseTimingFunc = null, /** 销毁标识 @readonly */ _this.destroyed = false, /** 播放地址信息 */ _this.urlInfo = null, _this.scaleMode = 0;
|
|
10133
|
+
*/ _this.recMonth = [], /** 清理 header/footer 动画 定时器 @private */ _this._onPauseTimingFunc = null, /** 销毁标识 @readonly */ _this.destroyed = false, /** 播放地址信息 */ _this.urlInfo = null, _this.scaleMode = 0;
|
|
10136
10134
|
_this._initOptions(options);
|
|
10137
10135
|
if (_this.options.type === 'ezopen') {
|
|
10138
10136
|
var _this_urlInfo_searchParams, _this_urlInfo;
|
|
@@ -11354,6 +11352,6 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
11354
11352
|
zh: zh,
|
|
11355
11353
|
en: en
|
|
11356
11354
|
};
|
|
11357
|
-
/** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.0.1
|
|
11355
|
+
/** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.0.1';
|
|
11358
11356
|
|
|
11359
11357
|
export { Control, Fullscreen, Loading, Message, Play, Poster, Rec, Theme, Utils, Volume };
|