@webitel/ui-sdk 24.6.56 → 24.6.57
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/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +10 -5
- package/dist/ui-sdk.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/components/wt-player/wt-player.vue +23 -10
package/dist/ui-sdk.js
CHANGED
|
@@ -19904,7 +19904,7 @@ function lx(e) {
|
|
|
19904
19904
|
let t = e === "/" ? "" : e;
|
|
19905
19905
|
return t = t.endsWith("/") ? t.slice(0, -1) : t, `${t}/img/plyr.svg`;
|
|
19906
19906
|
}
|
|
19907
|
-
var ox = { VUE_APP_API_URL: "/api", NVM_INC: "/Users/admin/.nvm/versions/node/v20.9.0/include/node", MANPATH: "/Users/admin/.nvm/versions/node/v20.9.0/share/man:/opt/homebrew/share/man::", PYCHARM_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/pycharm.vmoptions", WEBIDE_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/webide.vmoptions", NODE: "/Users/admin/.nvm/versions/node/v20.9.0/bin/node", NVM_CD_FLAGS: "-q", INIT_CWD: "/Users/admin/Projects/webitel-ui-sdk", JETBRAINSCLIENT_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/jetbrainsclient.vmoptions", TERM: "xterm-256color", SHELL: "/bin/zsh", HOMEBREW_REPOSITORY: "/opt/homebrew", TMPDIR: "/var/folders/g5/lf24d3m547vg6s2570f54tm40000gn/T/", npm_config_global_prefix: "/Users/admin/.nvm/versions/node/v20.9.0", COLOR: "1", npm_config_noproxy: "", npm_config_local_prefix: "/Users/admin/Projects/webitel-ui-sdk", NVM_DIR: "/Users/admin/.nvm", USER: "admin", COMMAND_MODE: "unix2003", npm_config_globalconfig: "/Users/admin/.nvm/versions/node/v20.9.0/etc/npmrc", SSH_AUTH_SOCK: "/private/tmp/com.apple.launchd.MRlVSzGkDE/Listeners", PHPSTORM_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/phpstorm.vmoptions", __CF_USER_TEXT_ENCODING: "0x1F5:0x0:0x0", GOLAND_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/goland.vmoptions", npm_execpath: "/Users/admin/.nvm/versions/node/v20.9.0/lib/node_modules/npm/bin/npm-cli.js", APPCODE_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/appcode.vmoptions", PATH: "/Users/admin/Projects/webitel-ui-sdk/node_modules/.bin:/Users/admin/Projects/node_modules/.bin:/Users/admin/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/admin/.nvm/versions/node/v20.9.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/admin/Projects/webitel-ui-sdk/node_modules/.bin:/Users/admin/Projects/node_modules/.bin:/Users/admin/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/admin/.nvm/versions/node/v20.9.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/admin/.nvm/versions/node/v20.9.0/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin", DEVECOSTUDIO_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/devecostudio.vmoptions", _: "/Users/admin/Projects/webitel-ui-sdk/node_modules/.bin/vite", LaunchInstanceID: "A8A2A9D8-F712-47B8-AF20-55890EA4CF7A", npm_package_json: "/Users/admin/Projects/webitel-ui-sdk/package.json", __CFBundleIdentifier: "com.jetbrains.WebStorm", npm_config_init_module: "/Users/admin/.npm-init.js", npm_config_userconfig: "/Users/admin/.npmrc", PWD: "/Users/admin/Projects/webitel-ui-sdk", npm_command: "run-script", EDITOR: "vi", npm_lifecycle_event: "build", CLION_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/clion.vmoptions", IDEA_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/idea.vmoptions", npm_package_name: "@webitel/ui-sdk", XPC_FLAGS: "0x0", npm_config_npm_version: "10.1.0", WEBSTORM_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/webstorm.vmoptions", DATASPELL_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/dataspell.vmoptions", npm_config_node_gyp: "/Users/admin/.nvm/versions/node/v20.9.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", XPC_SERVICE_NAME: "0", npm_package_version: "24.6.
|
|
19907
|
+
var ox = { VUE_APP_API_URL: "/api", NVM_INC: "/Users/admin/.nvm/versions/node/v20.9.0/include/node", MANPATH: "/Users/admin/.nvm/versions/node/v20.9.0/share/man:/opt/homebrew/share/man::", PYCHARM_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/pycharm.vmoptions", WEBIDE_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/webide.vmoptions", NODE: "/Users/admin/.nvm/versions/node/v20.9.0/bin/node", NVM_CD_FLAGS: "-q", INIT_CWD: "/Users/admin/Projects/webitel-ui-sdk", JETBRAINSCLIENT_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/jetbrainsclient.vmoptions", TERM: "xterm-256color", SHELL: "/bin/zsh", HOMEBREW_REPOSITORY: "/opt/homebrew", TMPDIR: "/var/folders/g5/lf24d3m547vg6s2570f54tm40000gn/T/", npm_config_global_prefix: "/Users/admin/.nvm/versions/node/v20.9.0", COLOR: "1", npm_config_noproxy: "", npm_config_local_prefix: "/Users/admin/Projects/webitel-ui-sdk", NVM_DIR: "/Users/admin/.nvm", USER: "admin", COMMAND_MODE: "unix2003", npm_config_globalconfig: "/Users/admin/.nvm/versions/node/v20.9.0/etc/npmrc", SSH_AUTH_SOCK: "/private/tmp/com.apple.launchd.MRlVSzGkDE/Listeners", PHPSTORM_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/phpstorm.vmoptions", __CF_USER_TEXT_ENCODING: "0x1F5:0x0:0x0", GOLAND_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/goland.vmoptions", npm_execpath: "/Users/admin/.nvm/versions/node/v20.9.0/lib/node_modules/npm/bin/npm-cli.js", APPCODE_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/appcode.vmoptions", PATH: "/Users/admin/Projects/webitel-ui-sdk/node_modules/.bin:/Users/admin/Projects/node_modules/.bin:/Users/admin/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/admin/.nvm/versions/node/v20.9.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/admin/Projects/webitel-ui-sdk/node_modules/.bin:/Users/admin/Projects/node_modules/.bin:/Users/admin/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/admin/.nvm/versions/node/v20.9.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/admin/.nvm/versions/node/v20.9.0/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin", DEVECOSTUDIO_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/devecostudio.vmoptions", _: "/Users/admin/Projects/webitel-ui-sdk/node_modules/.bin/vite", LaunchInstanceID: "A8A2A9D8-F712-47B8-AF20-55890EA4CF7A", npm_package_json: "/Users/admin/Projects/webitel-ui-sdk/package.json", __CFBundleIdentifier: "com.jetbrains.WebStorm", npm_config_init_module: "/Users/admin/.npm-init.js", npm_config_userconfig: "/Users/admin/.npmrc", PWD: "/Users/admin/Projects/webitel-ui-sdk", npm_command: "run-script", EDITOR: "vi", npm_lifecycle_event: "build", CLION_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/clion.vmoptions", IDEA_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/idea.vmoptions", npm_package_name: "@webitel/ui-sdk", XPC_FLAGS: "0x0", npm_config_npm_version: "10.1.0", WEBSTORM_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/webstorm.vmoptions", DATASPELL_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/dataspell.vmoptions", npm_config_node_gyp: "/Users/admin/.nvm/versions/node/v20.9.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", XPC_SERVICE_NAME: "0", npm_package_version: "24.6.57", STUDIO_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/studio.vmoptions", HOME: "/Users/admin", SHLVL: "2", HOMEBREW_PREFIX: "/opt/homebrew", IDEA_INITIAL_DIRECTORY: "/", LOGNAME: "admin", npm_config_cache: "/Users/admin/.npm", npm_lifecycle_script: "vite build", GATEWAY_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/gateway.vmoptions", LC_CTYPE: "en_US.UTF-8", DATAGRIP_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/datagrip.vmoptions", NVM_BIN: "/Users/admin/.nvm/versions/node/v20.9.0/bin", npm_config_user_agent: "npm/10.1.0 node/v20.9.0 darwin arm64 workspaces/false", INFOPATH: "/opt/homebrew/share/info:", HOMEBREW_CELLAR: "/opt/homebrew/Cellar", RIDER_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/rider.vmoptions", JETBRAINS_CLIENT_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/jetbrains_client.vmoptions", RUBYMINE_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/rubymine.vmoptions", SECURITYSESSIONID: "186b3", npm_config_prefix: "/Users/admin/.nvm/versions/node/v20.9.0", npm_node_execpath: "/Users/admin/.nvm/versions/node/v20.9.0/bin/node", NODE_ENV: "production" };
|
|
19908
19908
|
const sx = {
|
|
19909
19909
|
name: "WtPlayer",
|
|
19910
19910
|
props: {
|
|
@@ -19917,6 +19917,10 @@ const sx = {
|
|
|
19917
19917
|
type: Boolean,
|
|
19918
19918
|
default: !1
|
|
19919
19919
|
},
|
|
19920
|
+
hideDuration: {
|
|
19921
|
+
type: Boolean,
|
|
19922
|
+
default: !1
|
|
19923
|
+
},
|
|
19920
19924
|
download: {
|
|
19921
19925
|
type: [String, Function, Boolean],
|
|
19922
19926
|
default: () => (e) => e.replace("/stream", "/download")
|
|
@@ -19983,6 +19987,7 @@ const sx = {
|
|
|
19983
19987
|
"play",
|
|
19984
19988
|
"progress",
|
|
19985
19989
|
"current-time",
|
|
19990
|
+
"duration",
|
|
19986
19991
|
"mute",
|
|
19987
19992
|
"volume",
|
|
19988
19993
|
"captions",
|
|
@@ -19990,15 +19995,15 @@ const sx = {
|
|
|
19990
19995
|
"pip",
|
|
19991
19996
|
"airplay",
|
|
19992
19997
|
"fullscreen"
|
|
19993
|
-
];
|
|
19994
|
-
this.download &&
|
|
19998
|
+
], r = this.hideDuration ? n.filter((i) => i !== "duration") : n;
|
|
19999
|
+
this.download && r.push("download"), this.player = new Ps(this.$refs.player, {
|
|
19995
20000
|
// this.player = new Plyr('.wt-player__player', {
|
|
19996
20001
|
autoplay: this.autoplay,
|
|
19997
20002
|
loadSprite: !1,
|
|
19998
20003
|
resetOnEnd: this.resetOnEnd,
|
|
19999
20004
|
invertTime: this.invertTime,
|
|
20000
20005
|
iconUrl: t,
|
|
20001
|
-
controls:
|
|
20006
|
+
controls: r,
|
|
20002
20007
|
loop: {
|
|
20003
20008
|
active: this.loop
|
|
20004
20009
|
}
|
|
@@ -20038,7 +20043,7 @@ function cx(e, t, n, r, i, a) {
|
|
|
20038
20043
|
}, null, 512)) : H("", !0)
|
|
20039
20044
|
], 2);
|
|
20040
20045
|
}
|
|
20041
|
-
const ux = /* @__PURE__ */ M0(sx, [["render", cx], ["__scopeId", "data-v-
|
|
20046
|
+
const ux = /* @__PURE__ */ M0(sx, [["render", cx], ["__scopeId", "data-v-9dae5377"]]);
|
|
20042
20047
|
var dx = (e) => Object.prototype.toString.call(e).includes("Object"), h4 = (e) => typeof e == "number" && !isNaN(e), fx = (e) => Array.isArray(e), Bs = (e) => Object.prototype.toString.call(e) === "[object String]", Da = (e) => Number.isInteger(e);
|
|
20043
20048
|
const br = (e, t) => t(e) ? !0 : !dx(e) || Object.keys(e).length !== 2 ? !1 : !Object.entries(e).some(([n, r]) => {
|
|
20044
20049
|
const i = !["enter", "leave"].includes(n), a = !t(r);
|