@ezuikit/player-theme 2.0.1-beta.1 → 2.0.1-beta.2
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 -7
- package/dist/index.mjs +4 -7
- package/dist/index.umd.js +91 -2432
- package/dist/style.css +1 -1
- package/dist/style.js +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @ezuikit/player-theme v2.0.1-beta.
|
|
2
|
+
* @ezuikit/player-theme v2.0.1-beta.2
|
|
3
3
|
* Copyright (c) 2025-12-03 Ezviz-OpenBiz
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -8834,14 +8834,11 @@ function _set_prototype_of$6(o, p) {
|
|
|
8834
8834
|
}
|
|
8835
8835
|
}
|
|
8836
8836
|
},
|
|
8837
|
-
onChange: function(date) {
|
|
8838
|
-
if (date && _this._value !== DateTime.formate(date, 'YYYY-MM-DD') && !isMobile1) {
|
|
8837
|
+
onChange: function(date, mode) {
|
|
8838
|
+
if (date && _this._value !== DateTime.formate(date, 'YYYY-MM-DD') && !isMobile1 && mode === 'date') {
|
|
8839
8839
|
_this._value = DateTime.formate(date, 'YYYY-MM-DD');
|
|
8840
8840
|
_this.options.onChange == null ? void 0 : _this.options.onChange.call(_this.options, date);
|
|
8841
8841
|
_this.emit(EVENTS.control.dateChange, date);
|
|
8842
|
-
if (date && _this.$container.querySelector("." + PREFIX_CLASS + "-mobile-date-filter-value")) {
|
|
8843
|
-
_this.$container.querySelector("." + PREFIX_CLASS + "-mobile-date-filter-value").innerHTML = _this._getDateStr();
|
|
8844
|
-
}
|
|
8845
8842
|
}
|
|
8846
8843
|
},
|
|
8847
8844
|
onOpenChange: function(open) {
|
|
@@ -11481,7 +11478,7 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
11481
11478
|
zh: zh,
|
|
11482
11479
|
en: en
|
|
11483
11480
|
};
|
|
11484
|
-
/** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.0.1-beta.
|
|
11481
|
+
/** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.0.1-beta.2';
|
|
11485
11482
|
|
|
11486
11483
|
exports.Control = Control;
|
|
11487
11484
|
exports.Fullscreen = Fullscreen;
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @ezuikit/player-theme v2.0.1-beta.
|
|
2
|
+
* @ezuikit/player-theme v2.0.1-beta.2
|
|
3
3
|
* Copyright (c) 2025-12-03 Ezviz-OpenBiz
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -8832,14 +8832,11 @@ function _set_prototype_of$6(o, p) {
|
|
|
8832
8832
|
}
|
|
8833
8833
|
}
|
|
8834
8834
|
},
|
|
8835
|
-
onChange: function(date) {
|
|
8836
|
-
if (date && _this._value !== DateTime.formate(date, 'YYYY-MM-DD') && !isMobile1) {
|
|
8835
|
+
onChange: function(date, mode) {
|
|
8836
|
+
if (date && _this._value !== DateTime.formate(date, 'YYYY-MM-DD') && !isMobile1 && mode === 'date') {
|
|
8837
8837
|
_this._value = DateTime.formate(date, 'YYYY-MM-DD');
|
|
8838
8838
|
_this.options.onChange == null ? void 0 : _this.options.onChange.call(_this.options, date);
|
|
8839
8839
|
_this.emit(EVENTS.control.dateChange, date);
|
|
8840
|
-
if (date && _this.$container.querySelector("." + PREFIX_CLASS + "-mobile-date-filter-value")) {
|
|
8841
|
-
_this.$container.querySelector("." + PREFIX_CLASS + "-mobile-date-filter-value").innerHTML = _this._getDateStr();
|
|
8842
|
-
}
|
|
8843
8840
|
}
|
|
8844
8841
|
},
|
|
8845
8842
|
onOpenChange: function(open) {
|
|
@@ -11479,6 +11476,6 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
11479
11476
|
zh: zh,
|
|
11480
11477
|
en: en
|
|
11481
11478
|
};
|
|
11482
|
-
/** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.0.1-beta.
|
|
11479
|
+
/** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.0.1-beta.2';
|
|
11483
11480
|
|
|
11484
11481
|
export { Control, Fullscreen, Loading, Message, Play, Poster, Rec, Theme, Utils, Volume };
|