@webitel/ui-sdk 24.6.53 → 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 +20 -18
- package/dist/ui-sdk.umd.cjs +2 -2
- package/package.json +1 -1
- package/src/api/clients/media/media.js +1 -1
- package/src/components/wt-notification/wt-notification.vue +7 -10
- package/src/components/wt-notifications-bar/wt-notifications-bar.vue +1 -1
- package/src/components/wt-player/wt-player.vue +23 -10
- package/src/modules/TableStoreModule/store/TableStoreModule.js +0 -1
package/dist/ui-sdk.js
CHANGED
|
@@ -16820,29 +16820,26 @@ const Ab = /* @__PURE__ */ M0(pb, [["render", Mb], ["__scopeId", "data-v-6511f4e
|
|
|
16820
16820
|
props: {
|
|
16821
16821
|
type: {
|
|
16822
16822
|
type: String,
|
|
16823
|
-
default: "
|
|
16823
|
+
default: "success"
|
|
16824
16824
|
}
|
|
16825
16825
|
},
|
|
16826
16826
|
computed: {
|
|
16827
16827
|
notificationIcon() {
|
|
16828
16828
|
switch (this.type) {
|
|
16829
16829
|
case "info":
|
|
16830
|
-
return "
|
|
16830
|
+
return "rounded-info";
|
|
16831
16831
|
case "error":
|
|
16832
16832
|
return "attention";
|
|
16833
|
+
case "warning":
|
|
16834
|
+
return "attention";
|
|
16835
|
+
case "success":
|
|
16836
|
+
return "done";
|
|
16833
16837
|
default:
|
|
16834
16838
|
return "";
|
|
16835
16839
|
}
|
|
16836
16840
|
},
|
|
16837
16841
|
notificationIconColor() {
|
|
16838
|
-
|
|
16839
|
-
case "info":
|
|
16840
|
-
return "success";
|
|
16841
|
-
case "error":
|
|
16842
|
-
return "error";
|
|
16843
|
-
default:
|
|
16844
|
-
return "";
|
|
16845
|
-
}
|
|
16842
|
+
return this.type || "";
|
|
16846
16843
|
}
|
|
16847
16844
|
}
|
|
16848
16845
|
}, Ob = { class: "wt-notification__text" };
|
|
@@ -16862,7 +16859,7 @@ function Sb(e, t, n, r, i, a) {
|
|
|
16862
16859
|
])
|
|
16863
16860
|
]);
|
|
16864
16861
|
}
|
|
16865
|
-
const $b = /* @__PURE__ */ M0(Tb, [["render", Sb], ["__scopeId", "data-v-
|
|
16862
|
+
const $b = /* @__PURE__ */ M0(Tb, [["render", Sb], ["__scopeId", "data-v-807735e2"]]), Db = {
|
|
16866
16863
|
name: "WtNotificationsBar",
|
|
16867
16864
|
inject: ["$eventBus"],
|
|
16868
16865
|
data: () => ({
|
|
@@ -16881,7 +16878,7 @@ const $b = /* @__PURE__ */ M0(Tb, [["render", Sb], ["__scopeId", "data-v-6a8a0b1
|
|
|
16881
16878
|
},
|
|
16882
16879
|
methods: {
|
|
16883
16880
|
showNotification(e) {
|
|
16884
|
-
this.notifications.unshift(e), setTimeout(() => this.closeNotification(e), this.notificationDuration);
|
|
16881
|
+
this.notifications.unshift(e), setTimeout(() => this.closeNotification(e), e.timeout * 1e3 || this.notificationDuration);
|
|
16885
16882
|
},
|
|
16886
16883
|
closeNotification(e) {
|
|
16887
16884
|
const t = this.notifications.indexOf(e);
|
|
@@ -16912,7 +16909,7 @@ function Bb(e, t, n, r, i, a) {
|
|
|
16912
16909
|
})
|
|
16913
16910
|
]);
|
|
16914
16911
|
}
|
|
16915
|
-
const Fb = /* @__PURE__ */ M0(Db, [["render", Bb], ["__scopeId", "data-v-
|
|
16912
|
+
const Fb = /* @__PURE__ */ M0(Db, [["render", Bb], ["__scopeId", "data-v-c13562a1"]]), Nb = {
|
|
16916
16913
|
__name: "wt-page-header",
|
|
16917
16914
|
props: {
|
|
16918
16915
|
hidePrimary: {
|
|
@@ -19907,7 +19904,7 @@ function lx(e) {
|
|
|
19907
19904
|
let t = e === "/" ? "" : e;
|
|
19908
19905
|
return t = t.endsWith("/") ? t.slice(0, -1) : t, `${t}/img/plyr.svg`;
|
|
19909
19906
|
}
|
|
19910
|
-
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.
|
|
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" };
|
|
19911
19908
|
const sx = {
|
|
19912
19909
|
name: "WtPlayer",
|
|
19913
19910
|
props: {
|
|
@@ -19920,6 +19917,10 @@ const sx = {
|
|
|
19920
19917
|
type: Boolean,
|
|
19921
19918
|
default: !1
|
|
19922
19919
|
},
|
|
19920
|
+
hideDuration: {
|
|
19921
|
+
type: Boolean,
|
|
19922
|
+
default: !1
|
|
19923
|
+
},
|
|
19923
19924
|
download: {
|
|
19924
19925
|
type: [String, Function, Boolean],
|
|
19925
19926
|
default: () => (e) => e.replace("/stream", "/download")
|
|
@@ -19986,6 +19987,7 @@ const sx = {
|
|
|
19986
19987
|
"play",
|
|
19987
19988
|
"progress",
|
|
19988
19989
|
"current-time",
|
|
19990
|
+
"duration",
|
|
19989
19991
|
"mute",
|
|
19990
19992
|
"volume",
|
|
19991
19993
|
"captions",
|
|
@@ -19993,15 +19995,15 @@ const sx = {
|
|
|
19993
19995
|
"pip",
|
|
19994
19996
|
"airplay",
|
|
19995
19997
|
"fullscreen"
|
|
19996
|
-
];
|
|
19997
|
-
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, {
|
|
19998
20000
|
// this.player = new Plyr('.wt-player__player', {
|
|
19999
20001
|
autoplay: this.autoplay,
|
|
20000
20002
|
loadSprite: !1,
|
|
20001
20003
|
resetOnEnd: this.resetOnEnd,
|
|
20002
20004
|
invertTime: this.invertTime,
|
|
20003
20005
|
iconUrl: t,
|
|
20004
|
-
controls:
|
|
20006
|
+
controls: r,
|
|
20005
20007
|
loop: {
|
|
20006
20008
|
active: this.loop
|
|
20007
20009
|
}
|
|
@@ -20041,7 +20043,7 @@ function cx(e, t, n, r, i, a) {
|
|
|
20041
20043
|
}, null, 512)) : H("", !0)
|
|
20042
20044
|
], 2);
|
|
20043
20045
|
}
|
|
20044
|
-
const ux = /* @__PURE__ */ M0(sx, [["render", cx], ["__scopeId", "data-v-
|
|
20046
|
+
const ux = /* @__PURE__ */ M0(sx, [["render", cx], ["__scopeId", "data-v-9dae5377"]]);
|
|
20045
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);
|
|
20046
20048
|
const br = (e, t) => t(e) ? !0 : !dx(e) || Object.keys(e).length !== 2 ? !1 : !Object.entries(e).some(([n, r]) => {
|
|
20047
20049
|
const i = !["enter", "leave"].includes(n), a = !t(r);
|