@webitel/ui-sdk 23.12.46 → 23.12.48
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.mjs +12 -14
- package/dist/ui-sdk.umd.js +4 -4
- package/package.json +1 -1
- package/src/components/wt-progress-bar/_variables.scss +9 -7
- package/src/components/wt-progress-bar/wt-progress-bar.vue +16 -11
- package/src/components/wt-radio/wt-radio.vue +11 -47
- package/src/components/wt-search-bar/wt-search-bar.vue +5 -23
- package/src/components/wt-slider/_variables.scss +4 -0
- package/src/components/wt-slider/wt-slider.vue +5 -4
- package/src/components/wt-status-select/_variables.scss +6 -4
- package/src/components/wt-status-select/wt-status-select.vue +8 -3
- package/src/composables/useRepresentableAgentPauseCause/__tests__/useRepresentableAgentPauseCause.spec.js +1 -1
- package/src/composables/useRepresentableAgentPauseCause/useRepresentableAgentPauseCause.js +1 -1
package/dist/ui-sdk.mjs
CHANGED
|
@@ -14823,7 +14823,7 @@ const mf = {
|
|
|
14823
14823
|
color: {
|
|
14824
14824
|
type: String,
|
|
14825
14825
|
default: "primary",
|
|
14826
|
-
options: ["primary", "secondary", "success", "
|
|
14826
|
+
options: ["primary", "secondary", "success", "error"]
|
|
14827
14827
|
}
|
|
14828
14828
|
},
|
|
14829
14829
|
computed: {
|
|
@@ -14853,7 +14853,7 @@ function hf(e, t, M, i, n, u) {
|
|
|
14853
14853
|
}, null, 4)
|
|
14854
14854
|
], 2);
|
|
14855
14855
|
}
|
|
14856
|
-
const kf = /* @__PURE__ */ Ee(mf, [["render", hf], ["__scopeId", "data-v-
|
|
14856
|
+
const kf = /* @__PURE__ */ Ee(mf, [["render", hf], ["__scopeId", "data-v-577aa221"]]);
|
|
14857
14857
|
const Sf = {
|
|
14858
14858
|
name: "WtRadio",
|
|
14859
14859
|
model: {
|
|
@@ -14888,6 +14888,7 @@ const Sf = {
|
|
|
14888
14888
|
default: !1
|
|
14889
14889
|
}
|
|
14890
14890
|
},
|
|
14891
|
+
emits: ["input"],
|
|
14891
14892
|
computed: {
|
|
14892
14893
|
isChecked() {
|
|
14893
14894
|
return this.value === this.selected;
|
|
@@ -14936,7 +14937,7 @@ function Uf(e, t, M, i, n, u) {
|
|
|
14936
14937
|
})
|
|
14937
14938
|
], 2);
|
|
14938
14939
|
}
|
|
14939
|
-
const vf = /* @__PURE__ */ Ee(Sf, [["render", Uf], ["__scopeId", "data-v-
|
|
14940
|
+
const vf = /* @__PURE__ */ Ee(Sf, [["render", Uf], ["__scopeId", "data-v-042037a8"]]);
|
|
14940
14941
|
function Yf(e) {
|
|
14941
14942
|
var t = typeof e;
|
|
14942
14943
|
return e != null && (t == "object" || t == "function");
|
|
@@ -15069,10 +15070,6 @@ const YL = { class: "wt-search-bar__wrapper" }, bL = { class: "wt-search-bar__se
|
|
|
15069
15070
|
placeholder: {
|
|
15070
15071
|
type: String
|
|
15071
15072
|
},
|
|
15072
|
-
outline: {
|
|
15073
|
-
type: Boolean,
|
|
15074
|
-
default: !1
|
|
15075
|
-
},
|
|
15076
15073
|
hint: {
|
|
15077
15074
|
type: String,
|
|
15078
15075
|
description: 'Adds hint icon + tooltip with text, passed as "hint" prop'
|
|
@@ -15097,7 +15094,6 @@ const YL = { class: "wt-search-bar__wrapper" }, bL = { class: "wt-search-bar__se
|
|
|
15097
15094
|
const j = ae("wt-icon"), w = ae("wt-icon-btn"), h = ae("wt-hint");
|
|
15098
15095
|
return z(), Y("div", {
|
|
15099
15096
|
class: Te([{
|
|
15100
|
-
"wt-search-bar--outline": e.outline,
|
|
15101
15097
|
"wt-search-bar--invalid": U(r)
|
|
15102
15098
|
}, "wt-search-bar"])
|
|
15103
15099
|
}, [
|
|
@@ -15140,7 +15136,7 @@ const YL = { class: "wt-search-bar__wrapper" }, bL = { class: "wt-search-bar__se
|
|
|
15140
15136
|
], 2);
|
|
15141
15137
|
};
|
|
15142
15138
|
}
|
|
15143
|
-
}, $L = /* @__PURE__ */ Ee(RL, [["__scopeId", "data-v-
|
|
15139
|
+
}, $L = /* @__PURE__ */ Ee(RL, [["__scopeId", "data-v-0dc3f132"]]);
|
|
15144
15140
|
function dr(e) {
|
|
15145
15141
|
return e === 0 ? !1 : Array.isArray(e) && e.length === 0 ? !0 : !e;
|
|
15146
15142
|
}
|
|
@@ -16757,9 +16753,10 @@ const Lx = {
|
|
|
16757
16753
|
default: 100
|
|
16758
16754
|
}
|
|
16759
16755
|
},
|
|
16756
|
+
emits: ["input"],
|
|
16760
16757
|
computed: {
|
|
16761
16758
|
progressStyle() {
|
|
16762
|
-
return `linear-gradient(to right, var(--
|
|
16759
|
+
return `linear-gradient(to right, var(--wt-slider-background-completed-color) ${(this.value - this.min) / (this.max - this.min) * 100}%, var(--wt-slider-background-color) 0%)`;
|
|
16763
16760
|
},
|
|
16764
16761
|
verticalHeight() {
|
|
16765
16762
|
return this.vertical ? `${this.height}px` : "100%";
|
|
@@ -16780,7 +16777,7 @@ function Ex(e, t, M, i, n, u) {
|
|
|
16780
16777
|
style: zt({ height: M.vertical && u.verticalHeight })
|
|
16781
16778
|
}, [
|
|
16782
16779
|
$("div", {
|
|
16783
|
-
style: zt({ width:
|
|
16780
|
+
style: zt({ width: M.vertical && u.verticalHeight }),
|
|
16784
16781
|
class: "wt-slider__wrapper"
|
|
16785
16782
|
}, [
|
|
16786
16783
|
$("input", {
|
|
@@ -16797,7 +16794,7 @@ function Ex(e, t, M, i, n, u) {
|
|
|
16797
16794
|
], 4)
|
|
16798
16795
|
], 6);
|
|
16799
16796
|
}
|
|
16800
|
-
const px = /* @__PURE__ */ Ee(Lx, [["render", Ex], ["__scopeId", "data-v-
|
|
16797
|
+
const px = /* @__PURE__ */ Ee(Lx, [["render", Ex], ["__scopeId", "data-v-c6fbb296"]]);
|
|
16801
16798
|
const wx = {
|
|
16802
16799
|
name: "WtSwitcher",
|
|
16803
16800
|
model: {
|
|
@@ -21427,7 +21424,7 @@ const th = {
|
|
|
21427
21424
|
methods: {
|
|
21428
21425
|
async setupPlayer() {
|
|
21429
21426
|
await this.$nextTick();
|
|
21430
|
-
const e = this.$baseURL || { 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.kba6zikL4f/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/Projects/webitel-ui-sdk/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/Projects/webitel-ui-sdk/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", 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/Projects/webitel-ui-sdk/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", XPC_SERVICE_NAME: "0", npm_package_version: "23.12.
|
|
21427
|
+
const e = this.$baseURL || { 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.kba6zikL4f/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/Projects/webitel-ui-sdk/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/Projects/webitel-ui-sdk/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", 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/Projects/webitel-ui-sdk/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", XPC_SERVICE_NAME: "0", npm_package_version: "23.12.48", STUDIO_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/studio.vmoptions", HOME: "/Users/admin", SHLVL: "2", HOMEBREW_PREFIX: "/opt/homebrew", 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", 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" }.BASE_URL || "/";
|
|
21431
21428
|
this.player && this.player.destroy();
|
|
21432
21429
|
const t = [
|
|
21433
21430
|
"play-large",
|
|
@@ -21545,6 +21542,7 @@ const rh = {
|
|
|
21545
21542
|
// options: ['sm', 'md'],
|
|
21546
21543
|
// },
|
|
21547
21544
|
},
|
|
21545
|
+
emits: ["change"],
|
|
21548
21546
|
computed: {
|
|
21549
21547
|
selectedOption() {
|
|
21550
21548
|
return this.statusOptions.find((e) => e.value === this.status);
|
|
@@ -21594,7 +21592,7 @@ function ah(e, t, M, i, n, u) {
|
|
|
21594
21592
|
_: 1
|
|
21595
21593
|
}, 8, ["value", "options", "onInput"]);
|
|
21596
21594
|
}
|
|
21597
|
-
const Nh = /* @__PURE__ */ Ee(rh, [["render", ah], ["__scopeId", "data-v-
|
|
21595
|
+
const Nh = /* @__PURE__ */ Ee(rh, [["render", ah], ["__scopeId", "data-v-eadb01ee"]]), oh = (e) => {
|
|
21598
21596
|
switch (e) {
|
|
21599
21597
|
case "asc":
|
|
21600
21598
|
return "desc";
|