@webitel/ui-sdk 23.12.92 → 23.12.94
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 +32 -29
- package/dist/ui-sdk.umd.js +6 -6
- package/package.json +2 -2
- package/src/components/wt-expansion-panel/wt-expansion-panel.vue +10 -7
- package/src/components/wt-input/wt-input.vue +14 -0
- package/src/components/wt-time-input/wt-time-input.vue +14 -0
package/dist/ui-sdk.mjs
CHANGED
|
@@ -14705,7 +14705,7 @@ const jf = { class: "wt-input__wrapper" }, If = ["id", "disabled", "max", "min",
|
|
|
14705
14705
|
], 2);
|
|
14706
14706
|
};
|
|
14707
14707
|
}
|
|
14708
|
-
}, Tf = /* @__PURE__ */ Ee(yf, [["__scopeId", "data-v-
|
|
14708
|
+
}, Tf = /* @__PURE__ */ Ee(yf, [["__scopeId", "data-v-0e86cb96"]]);
|
|
14709
14709
|
const zf = {
|
|
14710
14710
|
name: "WtNotification",
|
|
14711
14711
|
props: {
|
|
@@ -17181,7 +17181,7 @@ function Jx(e, t, M, n, i, u) {
|
|
|
17181
17181
|
}, 8, ["invalid"])) : _("", !0)
|
|
17182
17182
|
], 2);
|
|
17183
17183
|
}
|
|
17184
|
-
const Xx = /* @__PURE__ */ Ee(Gx, [["render", Jx], ["__scopeId", "data-v-
|
|
17184
|
+
const Xx = /* @__PURE__ */ Ee(Gx, [["render", Jx], ["__scopeId", "data-v-c97822a7"]]);
|
|
17185
17185
|
const Kx = {
|
|
17186
17186
|
name: "WtTextarea",
|
|
17187
17187
|
mixins: [er],
|
|
@@ -21429,7 +21429,7 @@ const Mh = {
|
|
|
21429
21429
|
methods: {
|
|
21430
21430
|
async setupPlayer() {
|
|
21431
21431
|
await this.$nextTick();
|
|
21432
|
-
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.vsmwSVC7V9/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", 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: "23.12.
|
|
21432
|
+
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.vsmwSVC7V9/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", 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: "23.12.94", 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 || "/";
|
|
21433
21433
|
this.player && this.player.destroy();
|
|
21434
21434
|
const t = [
|
|
21435
21435
|
"play-large",
|
|
@@ -22387,7 +22387,7 @@ const Fh = { class: "wt-stepper" }, Gh = { class: "wt-stepper-header" }, Zh = {
|
|
|
22387
22387
|
};
|
|
22388
22388
|
}
|
|
22389
22389
|
}, Kh = /* @__PURE__ */ Ee(Xh, [["__scopeId", "data-v-1bb094f6"]]);
|
|
22390
|
-
const qh =
|
|
22390
|
+
const qh = { class: "wt-expansion-panel-actions" }, e1 = { class: "wt-expansion-panel-body" }, t1 = {
|
|
22391
22391
|
__name: "wt-expansion-panel",
|
|
22392
22392
|
props: {
|
|
22393
22393
|
size: {
|
|
@@ -22396,7 +22396,10 @@ const qh = ["onKeypress"], e1 = { class: "wt-expansion-panel-actions" }, t1 = {
|
|
|
22396
22396
|
}
|
|
22397
22397
|
},
|
|
22398
22398
|
setup(e) {
|
|
22399
|
-
const t = e, M = le(!0)
|
|
22399
|
+
const t = e, M = le(!0);
|
|
22400
|
+
function n() {
|
|
22401
|
+
M.value || (M.value = !0);
|
|
22402
|
+
}
|
|
22400
22403
|
return (i, u) => {
|
|
22401
22404
|
const r = ae("wt-icon"), a = ae("wt-expand-transition");
|
|
22402
22405
|
return z(), Y("div", {
|
|
@@ -22408,18 +22411,18 @@ const qh = ["onKeypress"], e1 = { class: "wt-expansion-panel-actions" }, t1 = {
|
|
|
22408
22411
|
$("div", {
|
|
22409
22412
|
class: "wt-expansion-panel-header",
|
|
22410
22413
|
tabindex: "0",
|
|
22411
|
-
onClick:
|
|
22412
|
-
onKeypress: be(
|
|
22414
|
+
onClick: u[0] || (u[0] = (N) => M.value = !M.value),
|
|
22415
|
+
onKeypress: u[1] || (u[1] = be((N) => M.value = !M.value, ["enter"]))
|
|
22413
22416
|
}, [
|
|
22414
22417
|
X(i.$slots, "title", {}, void 0, !0),
|
|
22415
|
-
$("div",
|
|
22416
|
-
X(i.$slots, "actions", He(ut({ open:
|
|
22418
|
+
$("div", qh, [
|
|
22419
|
+
X(i.$slots, "actions", He(ut({ open: n })), void 0, !0),
|
|
22417
22420
|
Me(r, { icon: "arrow-right" })
|
|
22418
22421
|
])
|
|
22419
|
-
],
|
|
22422
|
+
], 32),
|
|
22420
22423
|
Me(a, null, {
|
|
22421
22424
|
default: B(() => [
|
|
22422
|
-
gt($("div",
|
|
22425
|
+
gt($("div", e1, [
|
|
22423
22426
|
X(i.$slots, "default", {}, void 0, !0)
|
|
22424
22427
|
], 512), [
|
|
22425
22428
|
[$t, M.value]
|
|
@@ -22430,7 +22433,7 @@ const qh = ["onKeypress"], e1 = { class: "wt-expansion-panel-actions" }, t1 = {
|
|
|
22430
22433
|
], 2);
|
|
22431
22434
|
};
|
|
22432
22435
|
}
|
|
22433
|
-
},
|
|
22436
|
+
}, M1 = /* @__PURE__ */ Ee(t1, [["__scopeId", "data-v-79adc988"]]), Sc = {
|
|
22434
22437
|
WtAvatar: eg,
|
|
22435
22438
|
WtBadge: ig,
|
|
22436
22439
|
WtIcon: _c,
|
|
@@ -22486,7 +22489,7 @@ const qh = ["onKeypress"], e1 = { class: "wt-expansion-panel-actions" }, t1 = {
|
|
|
22486
22489
|
WtItemLink: hE,
|
|
22487
22490
|
WtDummy: YE,
|
|
22488
22491
|
WtStepper: Kh,
|
|
22489
|
-
WtExpansionPanel:
|
|
22492
|
+
WtExpansionPanel: M1
|
|
22490
22493
|
};
|
|
22491
22494
|
function Cs(e) {
|
|
22492
22495
|
return jN() ? (IN(e), !0) : !1;
|
|
@@ -22494,9 +22497,9 @@ function Cs(e) {
|
|
|
22494
22497
|
function Wn(e) {
|
|
22495
22498
|
return typeof e == "function" ? e() : C(e);
|
|
22496
22499
|
}
|
|
22497
|
-
const Us = typeof window < "u" && typeof document < "u",
|
|
22498
|
-
}, gN = /* @__PURE__ */
|
|
22499
|
-
function
|
|
22500
|
+
const Us = typeof window < "u" && typeof document < "u", n1 = Object.prototype.toString, i1 = (e) => n1.call(e) === "[object Object]", _u = () => {
|
|
22501
|
+
}, gN = /* @__PURE__ */ u1();
|
|
22502
|
+
function u1() {
|
|
22500
22503
|
var e;
|
|
22501
22504
|
return Us && ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
22502
22505
|
}
|
|
@@ -22505,7 +22508,7 @@ const Qc = {
|
|
|
22505
22508
|
updated: "updated",
|
|
22506
22509
|
unmounted: "unmounted"
|
|
22507
22510
|
};
|
|
22508
|
-
function
|
|
22511
|
+
function r1(...e) {
|
|
22509
22512
|
if (e.length !== 1)
|
|
22510
22513
|
return jn(...e);
|
|
22511
22514
|
const t = e[0];
|
|
@@ -22529,7 +22532,7 @@ function Fi(...e) {
|
|
|
22529
22532
|
([g, s]) => {
|
|
22530
22533
|
if (r(), !g)
|
|
22531
22534
|
return;
|
|
22532
|
-
const D =
|
|
22535
|
+
const D = i1(s) ? { ...s } : s;
|
|
22533
22536
|
u.push(
|
|
22534
22537
|
...M.flatMap((j) => n.map((w) => a(g, j, w, D)))
|
|
22535
22538
|
);
|
|
@@ -22579,7 +22582,7 @@ function Cc(e, t, M = {}) {
|
|
|
22579
22582
|
].filter(Boolean);
|
|
22580
22583
|
return () => g.forEach((D) => D());
|
|
22581
22584
|
}
|
|
22582
|
-
const
|
|
22585
|
+
const a1 = {
|
|
22583
22586
|
[Qc.mounted](e, t) {
|
|
22584
22587
|
const M = !t.modifiers.bubble;
|
|
22585
22588
|
if (typeof t.value == "function")
|
|
@@ -22605,14 +22608,14 @@ function bs(e) {
|
|
|
22605
22608
|
return !M || M.tagName === "BODY" ? !1 : bs(M);
|
|
22606
22609
|
}
|
|
22607
22610
|
}
|
|
22608
|
-
function
|
|
22611
|
+
function N1(e) {
|
|
22609
22612
|
const t = e || window.event, M = t.target;
|
|
22610
22613
|
return bs(M) ? !1 : t.touches.length > 1 ? !0 : (t.preventDefault && t.preventDefault(), !1);
|
|
22611
22614
|
}
|
|
22612
|
-
function
|
|
22615
|
+
function o1(e, t = !1) {
|
|
22613
22616
|
const M = le(t);
|
|
22614
22617
|
let n = null, i;
|
|
22615
|
-
Qt(
|
|
22618
|
+
Qt(r1(e), (a) => {
|
|
22616
22619
|
const N = kr(Wn(a));
|
|
22617
22620
|
if (N) {
|
|
22618
22621
|
const c = N;
|
|
@@ -22627,7 +22630,7 @@ function l1(e, t = !1) {
|
|
|
22627
22630
|
a,
|
|
22628
22631
|
"touchmove",
|
|
22629
22632
|
(N) => {
|
|
22630
|
-
|
|
22633
|
+
N1(N);
|
|
22631
22634
|
},
|
|
22632
22635
|
{ passive: !1 }
|
|
22633
22636
|
)), a.style.overflow = "hidden", M.value = !0);
|
|
@@ -22644,22 +22647,22 @@ function l1(e, t = !1) {
|
|
|
22644
22647
|
}
|
|
22645
22648
|
});
|
|
22646
22649
|
}
|
|
22647
|
-
function
|
|
22650
|
+
function l1() {
|
|
22648
22651
|
let e = !1;
|
|
22649
22652
|
const t = le(!1);
|
|
22650
22653
|
return (M, n) => {
|
|
22651
22654
|
if (t.value = n.value, e)
|
|
22652
22655
|
return;
|
|
22653
22656
|
e = !0;
|
|
22654
|
-
const i =
|
|
22657
|
+
const i = o1(M, n.value);
|
|
22655
22658
|
Qt(t, (u) => i.value = u);
|
|
22656
22659
|
};
|
|
22657
22660
|
}
|
|
22658
|
-
|
|
22661
|
+
l1();
|
|
22659
22662
|
const Uc = {
|
|
22660
|
-
clickaway:
|
|
22663
|
+
clickaway: a1
|
|
22661
22664
|
};
|
|
22662
|
-
const
|
|
22665
|
+
const s1 = {
|
|
22663
22666
|
install(e, { eventBus: t, router: M, globals: n = {} }) {
|
|
22664
22667
|
Object.keys(Uc).forEach((i) => {
|
|
22665
22668
|
e.directive(i, Uc[i]);
|
|
@@ -22671,5 +22674,5 @@ const g1 = {
|
|
|
22671
22674
|
}
|
|
22672
22675
|
};
|
|
22673
22676
|
export {
|
|
22674
|
-
|
|
22677
|
+
s1 as default
|
|
22675
22678
|
};
|