@webitel/ui-sdk 24.2.59 → 24.2.60
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 +101 -97
- package/dist/ui-sdk.umd.js +2 -2
- package/package.json +1 -1
- package/src/components/wt-player/_variables.scss +2 -1
- package/src/components/wt-player/scripts/__tests__/createPlyrURL.spec.js +31 -0
- package/src/components/wt-player/scripts/createPlyrURL.js +11 -0
- package/src/components/wt-player/wt-player.vue +12 -1
package/dist/ui-sdk.mjs
CHANGED
|
@@ -20238,8 +20238,12 @@ var p4 = function() {
|
|
|
20238
20238
|
} }]), e;
|
|
20239
20239
|
}();
|
|
20240
20240
|
p4.defaults = tw(d4);
|
|
20241
|
-
|
|
20242
|
-
|
|
20241
|
+
function Sw(e) {
|
|
20242
|
+
let t = e === "/" ? "" : e;
|
|
20243
|
+
return t = t.endsWith("/") ? t.slice(0, -1) : t, `${t}/img/plyr.svg`;
|
|
20244
|
+
}
|
|
20245
|
+
var Ew = { GJS_DEBUG_TOPICS: "JS ERROR;JS LOG", APPCODE_VM_OPTIONS: "/home/danii/Downloads/jetbra/vmoptions/appcode.vmoptions", GATEWAY_VM_OPTIONS: "/home/danii/Downloads/jetbra/vmoptions/gateway.vmoptions", LC_TIME: "uk_UA.UTF-8", SNAP_COMMON: "/var/snap/webstorm/common", SNAP_INSTANCE_KEY: "", USER: "danii", npm_config_user_agent: "npm/10.2.4 node/v20.11.1 linux x64 workspaces/false", WEBSTORM_VM_OPTIONS: "/home/danii/Downloads/jetbra/vmoptions/webstorm.vmoptions", WEBIDE_VM_OPTIONS: "/home/danii/Downloads/jetbra/vmoptions/webide.vmoptions", XDG_SESSION_TYPE: "x11", npm_node_execpath: "/home/danii/.nvm/versions/node/v20.11.1/bin/node", SNAP_UID: "1000", SHLVL: "0", npm_config_noproxy: "", SNAP_LIBRARY_PATH: "/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void", HOME: "/home/danii", SNAP_USER_DATA: "/home/danii/snap/webstorm/361", DESKTOP_SESSION: "ubuntu", npm_package_json: "/home/danii/Projects/webitel-ui-sdk/package.json", GIO_LAUNCHED_DESKTOP_FILE: "/var/lib/snapd/desktop/applications/webstorm_webstorm.desktop", GTK_MODULES: "gail:atk-bridge", GNOME_SHELL_SESSION_MODE: "ubuntu", MANAGERPID: "1621", LC_MONETARY: "uk_UA.UTF-8", npm_config_userconfig: "/home/danii/.npmrc", npm_config_local_prefix: "/home/danii/Projects/webitel-ui-sdk", DBUS_SESSION_BUS_ADDRESS: "unix:path=/run/user/1000/bus", DATASPELL_VM_OPTIONS: "/home/danii/Downloads/jetbra/vmoptions/dataspell.vmoptions", SYSTEMD_EXEC_PID: "1897", DATAGRIP_VM_OPTIONS: "/home/danii/Downloads/jetbra/vmoptions/datagrip.vmoptions", SNAP_REVISION: "361", IDEA_VM_OPTIONS: "/home/danii/Downloads/jetbra/vmoptions/idea.vmoptions", GIO_LAUNCHED_DESKTOP_FILE_PID: "3283", COLOR: "1", CLION_VM_OPTIONS: "/home/danii/Downloads/jetbra/vmoptions/clion.vmoptions", GTK_IM_MODULE: "ibus", LOGNAME: "danii", JOURNAL_STREAM: "8:24456", JETBRAINSCLIENT_VM_OPTIONS: "/home/danii/Downloads/jetbra/vmoptions/jetbrainsclient.vmoptions", SNAP_CONTEXT: "0Vk4EZYuSUsHl2K0bVJ86K7-3JUfLYxH9wgH9gTDoXTaO8HVguFs", npm_config_prefix: "/home/danii/.nvm/versions/node/v20.11.1", npm_config_npm_version: "10.2.4", SNAP_VERSION: "2023.3.4", XDG_SESSION_CLASS: "user", USERNAME: "danii", STUDIO_VM_OPTIONS: "/home/danii/Downloads/jetbra/vmoptions/studio.vmoptions", TERM: "xterm-256color", PHPSTORM_VM_OPTIONS: "/home/danii/Downloads/jetbra/vmoptions/phpstorm.vmoptions", npm_config_cache: "/home/danii/.npm", GNOME_DESKTOP_SESSION_ID: "this-is-deprecated", SNAP_INSTANCE_NAME: "webstorm", WINDOWPATH: "2", npm_config_node_gyp: "/home/danii/.nvm/versions/node/v20.11.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/danii/Projects/webitel-ui-sdk/node_modules/.bin:/home/danii/Projects/node_modules/.bin:/home/danii/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/home/danii/.nvm/versions/node/v20.11.1/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/danii/Projects/webitel-ui-sdk/node_modules/.bin:/home/danii/Projects/node_modules/.bin:/home/danii/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/home/danii/.nvm/versions/node/v20.11.1/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/danii/.nvm/versions/node/v20.11.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin", INVOCATION_ID: "0521abb40f7245fb9b114ef9eb7b5032", RIDER_VM_OPTIONS: "/home/danii/Downloads/jetbra/vmoptions/rider.vmoptions", SESSION_MANAGER: "local/danii-System-Product-Name:@/tmp/.ICE-unix/1878,unix/danii-System-Product-Name:/tmp/.ICE-unix/1878", DEVECOSTUDIO_VM_OPTIONS: "/home/danii/Downloads/jetbra/vmoptions/devecostudio.vmoptions", NODE: "/home/danii/.nvm/versions/node/v20.11.1/bin/node", npm_package_name: "@webitel/ui-sdk", LC_ADDRESS: "uk_UA.UTF-8", BAMF_DESKTOP_FILE_HINT: "/var/lib/snapd/desktop/applications/webstorm_webstorm.desktop", SNAP_DATA: "/var/snap/webstorm/361", XDG_MENU_PREFIX: "gnome-", XDG_RUNTIME_DIR: "/run/user/1000", DISPLAY: ":1", LC_TELEPHONE: "uk_UA.UTF-8", XDG_CURRENT_DESKTOP: "ubuntu:GNOME", LANG: "en_US.UTF-8", XAUTHORITY: "/run/user/1000/gdm/Xauthority", XMODIFIERS: "@im=ibus", XDG_SESSION_DESKTOP: "ubuntu", GOLAND_VM_OPTIONS: "/home/danii/Downloads/jetbra/vmoptions/goland.vmoptions", npm_lifecycle_script: "vite build", SNAP_USER_COMMON: "/home/danii/snap/webstorm/common", SNAP_ARCH: "amd64", SSH_AGENT_LAUNCHER: "gnome-keyring", SSH_AUTH_SOCK: "/run/user/1000/keyring/ssh", SNAP_COOKIE: "0Vk4EZYuSUsHl2K0bVJ86K7-3JUfLYxH9wgH9gTDoXTaO8HVguFs", SHELL: "/bin/bash", LC_NAME: "uk_UA.UTF-8", npm_package_version: "24.2.60", npm_lifecycle_event: "build", GDMSESSION: "ubuntu", SNAP_REEXEC: "", QT_ACCESSIBILITY: "1", SNAP_NAME: "webstorm", LC_MEASUREMENT: "uk_UA.UTF-8", PYCHARM_VM_OPTIONS: "/home/danii/Downloads/jetbra/vmoptions/pycharm.vmoptions", LC_IDENTIFICATION: "uk_UA.UTF-8", GPG_AGENT_INFO: "/run/user/1000/gnupg/S.gpg-agent:0:1", GJS_DEBUG_OUTPUT: "stderr", QT_IM_MODULE: "ibus", RUBYMINE_VM_OPTIONS: "/home/danii/Downloads/jetbra/vmoptions/rubymine.vmoptions", npm_config_globalconfig: "/home/danii/.nvm/versions/node/v20.11.1/etc/npmrc", npm_config_init_module: "/home/danii/.npm-init.js", PWD: "/home/danii/Projects/webitel-ui-sdk", JETBRAINS_CLIENT_VM_OPTIONS: "/home/danii/Downloads/jetbra/vmoptions/jetbrains_client.vmoptions", npm_execpath: "/home/danii/.nvm/versions/node/v20.11.1/lib/node_modules/npm/bin/npm-cli.js", XDG_DATA_DIRS: "/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop", XDG_CONFIG_DIRS: "/etc/xdg/xdg-ubuntu:/etc/xdg", SNAP_REAL_HOME: "/home/danii", npm_config_global_prefix: "/home/danii/.nvm/versions/node/v20.11.1", SNAP_EUID: "1000", SNAP: "/snap/webstorm/361", LC_NUMERIC: "uk_UA.UTF-8", npm_command: "run-script", LC_PAPER: "uk_UA.UTF-8", INIT_CWD: "/home/danii/Projects/webitel-ui-sdk", EDITOR: "vi", NODE_ENV: "production" };
|
|
20246
|
+
const $w = {
|
|
20243
20247
|
name: "WtPlayer",
|
|
20244
20248
|
props: {
|
|
20245
20249
|
src: {},
|
|
@@ -20310,9 +20314,9 @@ const Ew = {
|
|
|
20310
20314
|
methods: {
|
|
20311
20315
|
async setupPlayer() {
|
|
20312
20316
|
await this.$nextTick();
|
|
20313
|
-
const e = this.$baseURL ||
|
|
20317
|
+
const e = this.$baseURL || Ew.BASE_URL || "/", t = Sw(e);
|
|
20314
20318
|
this.player && this.player.destroy();
|
|
20315
|
-
const
|
|
20319
|
+
const n = [
|
|
20316
20320
|
"play-large",
|
|
20317
20321
|
"play",
|
|
20318
20322
|
"progress",
|
|
@@ -20325,14 +20329,14 @@ const Ew = {
|
|
|
20325
20329
|
"airplay",
|
|
20326
20330
|
"fullscreen"
|
|
20327
20331
|
];
|
|
20328
|
-
this.download &&
|
|
20332
|
+
this.download && n.push("download"), this.player = new p4(this.$refs.player, {
|
|
20329
20333
|
// this.player = new Plyr('.wt-player__player', {
|
|
20330
20334
|
autoplay: this.autoplay,
|
|
20331
20335
|
loadSprite: !1,
|
|
20332
20336
|
resetOnEnd: this.resetOnEnd,
|
|
20333
20337
|
invertTime: this.invertTime,
|
|
20334
|
-
iconUrl:
|
|
20335
|
-
controls:
|
|
20338
|
+
iconUrl: t,
|
|
20339
|
+
controls: n,
|
|
20336
20340
|
loop: {
|
|
20337
20341
|
active: this.loop
|
|
20338
20342
|
}
|
|
@@ -20351,7 +20355,7 @@ const Ew = {
|
|
|
20351
20355
|
}
|
|
20352
20356
|
}
|
|
20353
20357
|
};
|
|
20354
|
-
function
|
|
20358
|
+
function Mw(e, t, n, r, i, a) {
|
|
20355
20359
|
const l = ee("wt-icon-btn");
|
|
20356
20360
|
return y(), $("aside", {
|
|
20357
20361
|
class: de(["wt-player", [`wt-player--position-${n.position}`]])
|
|
@@ -20372,17 +20376,17 @@ function $w(e, t, n, r, i, a) {
|
|
|
20372
20376
|
}, null, 512)) : N("", !0)
|
|
20373
20377
|
], 2);
|
|
20374
20378
|
}
|
|
20375
|
-
const
|
|
20379
|
+
const Dw = /* @__PURE__ */ Ce($w, [["render", Mw], ["__scopeId", "data-v-79d3b06e"]]), V0 = Object.freeze({
|
|
20376
20380
|
ONLINE: "online",
|
|
20377
20381
|
PAUSE: "pause",
|
|
20378
20382
|
OFFLINE: "offline",
|
|
20379
20383
|
BREAK_OUT: "break_out"
|
|
20380
|
-
}),
|
|
20384
|
+
}), Pw = (e) => {
|
|
20381
20385
|
if (!e)
|
|
20382
20386
|
return "00:00:00";
|
|
20383
20387
|
let t = `${Math.floor(e / 3600)}`, n = `${Math.floor(e % 3600 / 60)}`, r = `${Math.floor(e % 3600 % 60)}`;
|
|
20384
20388
|
return t.length === 1 && (t = `0${t}`), n.length === 1 && (n = `0${n}`), r.length === 1 && (r = `0${r}`), `${t}:${n}:${r}`;
|
|
20385
|
-
},
|
|
20389
|
+
}, Nw = [
|
|
20386
20390
|
{
|
|
20387
20391
|
locale: "webitelUI.statusSelect.online",
|
|
20388
20392
|
color: "success",
|
|
@@ -20403,7 +20407,7 @@ const Mw = /* @__PURE__ */ Ce(Ew, [["render", $w], ["__scopeId", "data-v-2427d44
|
|
|
20403
20407
|
color: "break-out",
|
|
20404
20408
|
value: V0.BREAK_OUT
|
|
20405
20409
|
}
|
|
20406
|
-
],
|
|
20410
|
+
], Fw = {
|
|
20407
20411
|
name: "WtStatusSelect",
|
|
20408
20412
|
model: {
|
|
20409
20413
|
prop: "status",
|
|
@@ -20433,7 +20437,7 @@ const Mw = /* @__PURE__ */ Ce(Ew, [["render", $w], ["__scopeId", "data-v-2427d44
|
|
|
20433
20437
|
return this.statusOptions.find((e) => e.value === this.status);
|
|
20434
20438
|
},
|
|
20435
20439
|
statusOptions() {
|
|
20436
|
-
return this.options ? this.options :
|
|
20440
|
+
return this.options ? this.options : Nw.map((e) => ({
|
|
20437
20441
|
...e,
|
|
20438
20442
|
text: this.$t(e.locale)
|
|
20439
20443
|
}));
|
|
@@ -20442,7 +20446,7 @@ const Mw = /* @__PURE__ */ Ce(Ew, [["render", $w], ["__scopeId", "data-v-2427d44
|
|
|
20442
20446
|
return this.statusOptions.reduce((e, t) => this.status === t.value && t.value !== V0.PAUSE || t.value === V0.BREAK_OUT ? e : [...e, t], []);
|
|
20443
20447
|
},
|
|
20444
20448
|
duration() {
|
|
20445
|
-
return typeof this.statusDuration == "string" ? this.statusDuration : this.statusDuration !== void 0 ?
|
|
20449
|
+
return typeof this.statusDuration == "string" ? this.statusDuration : this.statusDuration !== void 0 ? Pw(this.statusDuration) : this.selectedOption.text;
|
|
20446
20450
|
}
|
|
20447
20451
|
},
|
|
20448
20452
|
methods: {
|
|
@@ -20451,7 +20455,7 @@ const Mw = /* @__PURE__ */ Ce(Ew, [["render", $w], ["__scopeId", "data-v-2427d44
|
|
|
20451
20455
|
}
|
|
20452
20456
|
}
|
|
20453
20457
|
};
|
|
20454
|
-
function
|
|
20458
|
+
function Bw(e, t, n, r, i, a) {
|
|
20455
20459
|
const l = ee("wt-indicator"), o = ee("wt-select");
|
|
20456
20460
|
return y(), ie(o, {
|
|
20457
20461
|
class: "wt-status-select",
|
|
@@ -20477,7 +20481,7 @@ function Fw(e, t, n, r, i, a) {
|
|
|
20477
20481
|
_: 1
|
|
20478
20482
|
}, 8, ["value", "options", "onInput"]);
|
|
20479
20483
|
}
|
|
20480
|
-
const
|
|
20484
|
+
const Iw = /* @__PURE__ */ Ce(Fw, [["render", Bw], ["__scopeId", "data-v-f527b244"]]), Vw = (e) => {
|
|
20481
20485
|
switch (e) {
|
|
20482
20486
|
case "asc":
|
|
20483
20487
|
return "desc";
|
|
@@ -20486,7 +20490,7 @@ const Bw = /* @__PURE__ */ Ce(Nw, [["render", Fw], ["__scopeId", "data-v-f527b24
|
|
|
20486
20490
|
default:
|
|
20487
20491
|
return "asc";
|
|
20488
20492
|
}
|
|
20489
|
-
},
|
|
20493
|
+
}, Hw = {
|
|
20490
20494
|
name: "WtTable",
|
|
20491
20495
|
props: {
|
|
20492
20496
|
headers: {
|
|
@@ -20537,7 +20541,7 @@ const Bw = /* @__PURE__ */ Ce(Nw, [["render", Fw], ["__scopeId", "data-v-f527b24
|
|
|
20537
20541
|
sort(e) {
|
|
20538
20542
|
if (!this.isColSortable(e))
|
|
20539
20543
|
return;
|
|
20540
|
-
const t =
|
|
20544
|
+
const t = Vw(e.sort);
|
|
20541
20545
|
this.$emit("sort", e, t);
|
|
20542
20546
|
},
|
|
20543
20547
|
isColSortable({ sort: e }) {
|
|
@@ -20548,35 +20552,35 @@ const Bw = /* @__PURE__ */ Ce(Nw, [["render", Fw], ["__scopeId", "data-v-f527b24
|
|
|
20548
20552
|
this.data.forEach((t) => t._isSelected = !e);
|
|
20549
20553
|
}
|
|
20550
20554
|
}
|
|
20551
|
-
},
|
|
20555
|
+
}, Rw = { class: "wt-table" }, Zw = { class: "wt-table__table" }, Uw = { class: "wt-table__head" }, Ww = {
|
|
20552
20556
|
key: 0,
|
|
20553
20557
|
class: "wt-table__th wt-table__th--checkbox"
|
|
20554
|
-
},
|
|
20558
|
+
}, jw = ["onClick"], Yw = { class: "wt-table__th__text" }, qw = {
|
|
20555
20559
|
key: 1,
|
|
20556
20560
|
class: "wt-table__th__actions"
|
|
20557
|
-
},
|
|
20561
|
+
}, zw = { class: "wt-table__body" }, Gw = {
|
|
20558
20562
|
key: 0,
|
|
20559
20563
|
class: "wt-table__td wt-table__td--checkbox"
|
|
20560
|
-
},
|
|
20564
|
+
}, Xw = {
|
|
20561
20565
|
key: 1,
|
|
20562
20566
|
class: "wt-table__td__actions"
|
|
20563
|
-
},
|
|
20567
|
+
}, Kw = {
|
|
20564
20568
|
key: 0,
|
|
20565
20569
|
class: "wt-table__foot"
|
|
20566
|
-
},
|
|
20570
|
+
}, Qw = {
|
|
20567
20571
|
key: 0,
|
|
20568
20572
|
class: "wt-table__th__checkbox"
|
|
20569
20573
|
};
|
|
20570
|
-
function
|
|
20574
|
+
function Jw(e, t, n, r, i, a) {
|
|
20571
20575
|
const l = ee("wt-checkbox"), o = ee("wt-icon");
|
|
20572
|
-
return y(), $("div",
|
|
20573
|
-
I("table",
|
|
20574
|
-
I("thead",
|
|
20576
|
+
return y(), $("div", Rw, [
|
|
20577
|
+
I("table", Zw, [
|
|
20578
|
+
I("thead", Uw, [
|
|
20575
20579
|
I("tr", {
|
|
20576
20580
|
style: u2(a.columnsStyle),
|
|
20577
20581
|
class: "wt-table__tr wt-table__tr__head"
|
|
20578
20582
|
}, [
|
|
20579
|
-
n.selectable ? (y(), $("th",
|
|
20583
|
+
n.selectable ? (y(), $("th", Ww, [
|
|
20580
20584
|
q(l, {
|
|
20581
20585
|
selected: a.isAllSelected,
|
|
20582
20586
|
onChange: a.selectAll
|
|
@@ -20590,7 +20594,7 @@ function Qw(e, t, n, r, i, a) {
|
|
|
20590
20594
|
], "wt-table__th"]),
|
|
20591
20595
|
onClick: (f) => a.sort(s)
|
|
20592
20596
|
}, [
|
|
20593
|
-
I("div",
|
|
20597
|
+
I("div", Yw, ne(s.text), 1),
|
|
20594
20598
|
n.sortable ? (y(), ie(o, {
|
|
20595
20599
|
key: 0,
|
|
20596
20600
|
class: "wt-table__th__sort-arrow wt-table__th__sort-arrow--asc",
|
|
@@ -20603,19 +20607,19 @@ function Qw(e, t, n, r, i, a) {
|
|
|
20603
20607
|
icon: "sort-arrow-down",
|
|
20604
20608
|
size: "sm"
|
|
20605
20609
|
})) : N("", !0)
|
|
20606
|
-
], 10,
|
|
20607
|
-
n.gridActions ? (y(), $("th",
|
|
20610
|
+
], 10, jw))), 128)),
|
|
20611
|
+
n.gridActions ? (y(), $("th", qw, [
|
|
20608
20612
|
U(e.$slots, "actions-header", {}, void 0, !0)
|
|
20609
20613
|
])) : N("", !0)
|
|
20610
20614
|
], 4)
|
|
20611
20615
|
]),
|
|
20612
|
-
I("tbody",
|
|
20616
|
+
I("tbody", zw, [
|
|
20613
20617
|
(y(!0), $(De, null, Ve(n.data, (s, c) => (y(), $("tr", {
|
|
20614
20618
|
key: c,
|
|
20615
20619
|
class: de([`wt-table__tr__${s.id || c}`, "wt-table__tr wt-table__tr__body"]),
|
|
20616
20620
|
style: u2(a.columnsStyle)
|
|
20617
20621
|
}, [
|
|
20618
|
-
n.selectable ? (y(), $("td",
|
|
20622
|
+
n.selectable ? (y(), $("td", Gw, [
|
|
20619
20623
|
q(l, {
|
|
20620
20624
|
selected: s._isSelected,
|
|
20621
20625
|
onChange: (f) => s._isSelected = !s._isSelected
|
|
@@ -20632,7 +20636,7 @@ function Qw(e, t, n, r, i, a) {
|
|
|
20632
20636
|
I("div", null, ne(s[f.value]), 1)
|
|
20633
20637
|
], !0)
|
|
20634
20638
|
]))), 128)),
|
|
20635
|
-
n.gridActions ? (y(), $("td",
|
|
20639
|
+
n.gridActions ? (y(), $("td", Xw, [
|
|
20636
20640
|
U(e.$slots, "actions", {
|
|
20637
20641
|
index: c,
|
|
20638
20642
|
item: s
|
|
@@ -20640,12 +20644,12 @@ function Qw(e, t, n, r, i, a) {
|
|
|
20640
20644
|
])) : N("", !0)
|
|
20641
20645
|
], 6))), 128))
|
|
20642
20646
|
]),
|
|
20643
|
-
a.isTableFooter ? (y(), $("tfoot",
|
|
20647
|
+
a.isTableFooter ? (y(), $("tfoot", Kw, [
|
|
20644
20648
|
I("tr", {
|
|
20645
20649
|
style: u2(a.columnsStyle),
|
|
20646
20650
|
class: "wt-table__tr wt-table__tr__foot"
|
|
20647
20651
|
}, [
|
|
20648
|
-
n.selectable ? (y(), $("th",
|
|
20652
|
+
n.selectable ? (y(), $("th", Qw)) : N("", !0),
|
|
20649
20653
|
(y(!0), $(De, null, Ve(a.dataHeaders, (s, c) => (y(), $("td", {
|
|
20650
20654
|
key: c,
|
|
20651
20655
|
class: "wt-table__td"
|
|
@@ -20660,7 +20664,7 @@ function Qw(e, t, n, r, i, a) {
|
|
|
20660
20664
|
])
|
|
20661
20665
|
]);
|
|
20662
20666
|
}
|
|
20663
|
-
const
|
|
20667
|
+
const e_ = /* @__PURE__ */ Ce(Hw, [["render", Jw], ["__scopeId", "data-v-2b96924c"]]), t_ = {
|
|
20664
20668
|
name: "WtTableActions",
|
|
20665
20669
|
props: {
|
|
20666
20670
|
icons: {
|
|
@@ -20692,10 +20696,10 @@ const Jw = /* @__PURE__ */ Ce(Vw, [["render", Qw], ["__scopeId", "data-v-2b96924
|
|
|
20692
20696
|
return this.icons.indexOf("settings") !== -1;
|
|
20693
20697
|
}
|
|
20694
20698
|
}
|
|
20695
|
-
},
|
|
20696
|
-
function
|
|
20699
|
+
}, n_ = { class: "wt-table-actions" };
|
|
20700
|
+
function r_(e, t, n, r, i, a) {
|
|
20697
20701
|
const l = ee("wt-icon-btn"), o = ee("wt-tooltip");
|
|
20698
|
-
return y(), $("aside",
|
|
20702
|
+
return y(), $("aside", n_, [
|
|
20699
20703
|
U(e.$slots, "default", {}, void 0, !0),
|
|
20700
20704
|
a.isImport ? (y(), ie(o, { key: 0 }, {
|
|
20701
20705
|
activator: F(() => [
|
|
@@ -20772,7 +20776,7 @@ function n_(e, t, n, r, i, a) {
|
|
|
20772
20776
|
})) : N("", !0)
|
|
20773
20777
|
]);
|
|
20774
20778
|
}
|
|
20775
|
-
const
|
|
20779
|
+
const i_ = /* @__PURE__ */ Ce(t_, [["render", r_], ["__scopeId", "data-v-69a982a8"]]);
|
|
20776
20780
|
var m4 = { exports: {} };
|
|
20777
20781
|
(function(e, t) {
|
|
20778
20782
|
(function(n, r, i) {
|
|
@@ -20815,8 +20819,8 @@ var m4 = { exports: {} };
|
|
|
20815
20819
|
}
|
|
20816
20820
|
});
|
|
20817
20821
|
})(m4);
|
|
20818
|
-
var
|
|
20819
|
-
const
|
|
20822
|
+
var a_ = m4.exports;
|
|
20823
|
+
const l_ = /* @__PURE__ */ Aa(a_), o_ = {
|
|
20820
20824
|
name: "WtTableColumnSelect",
|
|
20821
20825
|
model: {
|
|
20822
20826
|
prop: "headers",
|
|
@@ -20865,16 +20869,16 @@ const a_ = /* @__PURE__ */ Aa(i_), l_ = {
|
|
|
20865
20869
|
this.isColumnSelectPopup = !1;
|
|
20866
20870
|
},
|
|
20867
20871
|
fillHeadersDraft() {
|
|
20868
|
-
this.draft =
|
|
20872
|
+
this.draft = l_(this.headers);
|
|
20869
20873
|
},
|
|
20870
20874
|
setShownColumns() {
|
|
20871
20875
|
this.$emit("change", this.draft), this.close();
|
|
20872
20876
|
}
|
|
20873
20877
|
}
|
|
20874
|
-
},
|
|
20875
|
-
function
|
|
20878
|
+
}, s_ = { class: "wt-table-column-select" }, c_ = { class: "wt-table-column-select__popup-list-wrap" }, u_ = ["onClickCapture"];
|
|
20879
|
+
function d_(e, t, n, r, i, a) {
|
|
20876
20880
|
const l = ee("wt-icon-btn"), o = ee("wt-tooltip"), s = ee("wt-checkbox"), c = ee("wt-button"), f = ee("wt-popup");
|
|
20877
|
-
return y(), $("div",
|
|
20881
|
+
return y(), $("div", s_, [
|
|
20878
20882
|
q(o, null, {
|
|
20879
20883
|
activator: F(() => [
|
|
20880
20884
|
q(l, {
|
|
@@ -20896,7 +20900,7 @@ function u_(e, t, n, r, i, a) {
|
|
|
20896
20900
|
pe(ne(e.$t("webitelUI.tableColumnSelect.title")), 1)
|
|
20897
20901
|
]),
|
|
20898
20902
|
main: F(() => [
|
|
20899
|
-
I("div",
|
|
20903
|
+
I("div", c_, [
|
|
20900
20904
|
I("ul", {
|
|
20901
20905
|
class: de(["wt-table-column-select__popup-list", {
|
|
20902
20906
|
"wt-table-column-select__popup-list--md": a.changeableDraft.length > 10 && a.changeableDraft.length <= 20,
|
|
@@ -20913,7 +20917,7 @@ function u_(e, t, n, r, i, a) {
|
|
|
20913
20917
|
label: a.shownColLabel(d),
|
|
20914
20918
|
onChange: (h) => d.show = h
|
|
20915
20919
|
}, null, 8, ["selected", "label", "onChange"])
|
|
20916
|
-
], 40,
|
|
20920
|
+
], 40, u_))), 128))
|
|
20917
20921
|
], 2)
|
|
20918
20922
|
])
|
|
20919
20923
|
]),
|
|
@@ -20938,7 +20942,7 @@ function u_(e, t, n, r, i, a) {
|
|
|
20938
20942
|
}, 8, ["onClose"])) : N("", !0)
|
|
20939
20943
|
]);
|
|
20940
20944
|
}
|
|
20941
|
-
const
|
|
20945
|
+
const f_ = /* @__PURE__ */ Ce(o_, [["render", d_], ["__scopeId", "data-v-546ba720"]]), h_ = {
|
|
20942
20946
|
__name: "wt-delete-icon-action",
|
|
20943
20947
|
props: {
|
|
20944
20948
|
disabled: {
|
|
@@ -20994,7 +20998,7 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
20994
20998
|
});
|
|
20995
20999
|
};
|
|
20996
21000
|
}
|
|
20997
|
-
},
|
|
21001
|
+
}, p_ = {
|
|
20998
21002
|
__name: "wt-add-icon-action",
|
|
20999
21003
|
props: {
|
|
21000
21004
|
disabled: {
|
|
@@ -21022,7 +21026,7 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
21022
21026
|
});
|
|
21023
21027
|
};
|
|
21024
21028
|
}
|
|
21025
|
-
},
|
|
21029
|
+
}, m_ = {
|
|
21026
21030
|
__name: "wt-history-icon-action",
|
|
21027
21031
|
props: {
|
|
21028
21032
|
disabled: {
|
|
@@ -21050,7 +21054,7 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
21050
21054
|
});
|
|
21051
21055
|
};
|
|
21052
21056
|
}
|
|
21053
|
-
},
|
|
21057
|
+
}, y_ = {
|
|
21054
21058
|
__name: "wt-download-icon-action",
|
|
21055
21059
|
props: {
|
|
21056
21060
|
disabled: {
|
|
@@ -21078,7 +21082,7 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
21078
21082
|
});
|
|
21079
21083
|
};
|
|
21080
21084
|
}
|
|
21081
|
-
},
|
|
21085
|
+
}, g_ = {
|
|
21082
21086
|
__name: "wt-refresh-icon-action",
|
|
21083
21087
|
props: {
|
|
21084
21088
|
disabled: {
|
|
@@ -21106,7 +21110,7 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
21106
21110
|
});
|
|
21107
21111
|
};
|
|
21108
21112
|
}
|
|
21109
|
-
},
|
|
21113
|
+
}, v_ = {
|
|
21110
21114
|
__name: "wt-icon-action",
|
|
21111
21115
|
props: {
|
|
21112
21116
|
action: {
|
|
@@ -21126,15 +21130,15 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
21126
21130
|
case "edit":
|
|
21127
21131
|
return yo;
|
|
21128
21132
|
case "delete":
|
|
21129
|
-
return f_;
|
|
21130
|
-
case "add":
|
|
21131
21133
|
return h_;
|
|
21132
|
-
case "
|
|
21134
|
+
case "add":
|
|
21133
21135
|
return p_;
|
|
21134
|
-
case "
|
|
21136
|
+
case "history":
|
|
21135
21137
|
return m_;
|
|
21136
|
-
case "
|
|
21138
|
+
case "download":
|
|
21137
21139
|
return y_;
|
|
21140
|
+
case "refresh":
|
|
21141
|
+
return g_;
|
|
21138
21142
|
default:
|
|
21139
21143
|
return yo;
|
|
21140
21144
|
}
|
|
@@ -21144,7 +21148,7 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
21144
21148
|
onClick: l[0] || (l[0] = (o) => r("click"))
|
|
21145
21149
|
}, null, 8, ["disabled"]));
|
|
21146
21150
|
}
|
|
21147
|
-
},
|
|
21151
|
+
}, C_ = {
|
|
21148
21152
|
__name: "wt-page-header",
|
|
21149
21153
|
props: {
|
|
21150
21154
|
hidePrimary: {
|
|
@@ -21216,7 +21220,7 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
21216
21220
|
});
|
|
21217
21221
|
};
|
|
21218
21222
|
}
|
|
21219
|
-
},
|
|
21223
|
+
}, b_ = /* @__PURE__ */ Ce(C_, [["__scopeId", "data-v-2fa07965"]]), w_ = { class: "wt-stepper" }, __ = { class: "wt-stepper-header" }, x_ = { class: "wt-stepper-steps" }, L_ = { class: "wt-stepper-steps__wrapper" }, k_ = { class: "wt-stepper-description" }, T_ = {
|
|
21220
21224
|
__name: "wt-stepper",
|
|
21221
21225
|
props: {
|
|
21222
21226
|
steps: {
|
|
@@ -21234,10 +21238,10 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
21234
21238
|
})));
|
|
21235
21239
|
return (i, a) => {
|
|
21236
21240
|
const l = ee("wt-chip");
|
|
21237
|
-
return y(), $("div",
|
|
21238
|
-
I("div",
|
|
21239
|
-
I("div",
|
|
21240
|
-
(y(!0), $(De, null, Ve(r.value, ({ name: o, completed: s }, c) => (y(), $("div",
|
|
21241
|
+
return y(), $("div", w_, [
|
|
21242
|
+
I("div", __, [
|
|
21243
|
+
I("div", x_, [
|
|
21244
|
+
(y(!0), $(De, null, Ve(r.value, ({ name: o, completed: s }, c) => (y(), $("div", L_, [
|
|
21241
21245
|
c !== 0 ? (y(), $("div", {
|
|
21242
21246
|
key: 0,
|
|
21243
21247
|
class: de(["wt-stepper-steps__divider", { "wt-stepper-steps__divider--completed": s }])
|
|
@@ -21255,13 +21259,13 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
21255
21259
|
])
|
|
21256
21260
|
]),
|
|
21257
21261
|
U(i.$slots, "description", {}, () => [
|
|
21258
|
-
I("p",
|
|
21262
|
+
I("p", k_, ne(n.value), 1)
|
|
21259
21263
|
], !0),
|
|
21260
21264
|
U(i.$slots, "main", {}, void 0, !0)
|
|
21261
21265
|
]);
|
|
21262
21266
|
};
|
|
21263
21267
|
}
|
|
21264
|
-
},
|
|
21268
|
+
}, O_ = /* @__PURE__ */ Ce(T_, [["__scopeId", "data-v-1bb094f6"]]), A_ = { class: "wt-expansion-panel-actions" }, S_ = { class: "wt-expansion-panel-body" }, E_ = {
|
|
21265
21269
|
__name: "wt-expansion-panel",
|
|
21266
21270
|
props: {
|
|
21267
21271
|
size: {
|
|
@@ -21299,7 +21303,7 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
21299
21303
|
onKeypress: Me(o, ["enter"])
|
|
21300
21304
|
}, [
|
|
21301
21305
|
U(s.$slots, "title", {}, void 0, !0),
|
|
21302
|
-
I("div",
|
|
21306
|
+
I("div", A_, [
|
|
21303
21307
|
U(s.$slots, "actions", Ze(Xe({ open: a, opened: i.value })), void 0, !0),
|
|
21304
21308
|
q(f, {
|
|
21305
21309
|
class: de(["wt-expansion-panel-arrow", { "wt-expansion-panel-arrow--opened": i.value }]),
|
|
@@ -21309,7 +21313,7 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
21309
21313
|
], 32),
|
|
21310
21314
|
o2(q(d, null, {
|
|
21311
21315
|
default: F(() => [
|
|
21312
|
-
I("div",
|
|
21316
|
+
I("div", S_, [
|
|
21313
21317
|
U(s.$slots, "default", {}, void 0, !0)
|
|
21314
21318
|
])
|
|
21315
21319
|
], void 0, !0),
|
|
@@ -21320,7 +21324,7 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
21320
21324
|
], 2);
|
|
21321
21325
|
};
|
|
21322
21326
|
}
|
|
21323
|
-
},
|
|
21327
|
+
}, $_ = /* @__PURE__ */ Ce(E_, [["__scopeId", "data-v-9ac67319"]]), go = {
|
|
21324
21328
|
WtLogo: N4,
|
|
21325
21329
|
WtAvatar: V4,
|
|
21326
21330
|
WtBadge: Y4,
|
|
@@ -21363,21 +21367,21 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
21363
21367
|
WtNotificationsBar: ob,
|
|
21364
21368
|
WtPageWrapper: pb,
|
|
21365
21369
|
WtPagination: wb,
|
|
21366
|
-
WtPlayer:
|
|
21367
|
-
WtStatusSelect:
|
|
21368
|
-
WtTable:
|
|
21369
|
-
WtTableActions:
|
|
21370
|
-
WtTableColumnSelect:
|
|
21370
|
+
WtPlayer: Dw,
|
|
21371
|
+
WtStatusSelect: Iw,
|
|
21372
|
+
WtTable: e_,
|
|
21373
|
+
WtTableActions: i_,
|
|
21374
|
+
WtTableColumnSelect: f_,
|
|
21371
21375
|
WtButtonSelect: Rg,
|
|
21372
21376
|
WtContextMenu: t5,
|
|
21373
21377
|
WtCopyAction: Qg,
|
|
21374
21378
|
WtLoadBar: nv,
|
|
21375
|
-
WtIconAction:
|
|
21376
|
-
WtPageHeader:
|
|
21379
|
+
WtIconAction: v_,
|
|
21380
|
+
WtPageHeader: b_,
|
|
21377
21381
|
WtItemLink: iv,
|
|
21378
21382
|
WtDummy: fv,
|
|
21379
|
-
WtStepper:
|
|
21380
|
-
WtExpansionPanel:
|
|
21383
|
+
WtStepper: O_,
|
|
21384
|
+
WtExpansionPanel: $_
|
|
21381
21385
|
};
|
|
21382
21386
|
function y4(e) {
|
|
21383
21387
|
return ea() ? (ta(e), !0) : !1;
|
|
@@ -21387,9 +21391,9 @@ function Mt(e) {
|
|
|
21387
21391
|
}
|
|
21388
21392
|
const g4 = typeof window < "u" && typeof document < "u";
|
|
21389
21393
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
21390
|
-
const
|
|
21391
|
-
}, J1 = /* @__PURE__ */
|
|
21392
|
-
function
|
|
21394
|
+
const M_ = Object.prototype.toString, D_ = (e) => M_.call(e) === "[object Object]", Dt = () => {
|
|
21395
|
+
}, J1 = /* @__PURE__ */ P_();
|
|
21396
|
+
function P_() {
|
|
21393
21397
|
var e, t;
|
|
21394
21398
|
return g4 && ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.userAgent) && (/iP(ad|hone|od)/.test(window.navigator.userAgent) || ((t = window == null ? void 0 : window.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
|
|
21395
21399
|
}
|
|
@@ -21398,7 +21402,7 @@ const vo = {
|
|
|
21398
21402
|
updated: "updated",
|
|
21399
21403
|
unmounted: "unmounted"
|
|
21400
21404
|
};
|
|
21401
|
-
function
|
|
21405
|
+
function N_(...e) {
|
|
21402
21406
|
if (e.length !== 1)
|
|
21403
21407
|
return rt(...e);
|
|
21404
21408
|
const t = e[0];
|
|
@@ -21422,7 +21426,7 @@ function Bn(...e) {
|
|
|
21422
21426
|
([f, d]) => {
|
|
21423
21427
|
if (l(), !f)
|
|
21424
21428
|
return;
|
|
21425
|
-
const u =
|
|
21429
|
+
const u = D_(d) ? { ...d } : d;
|
|
21426
21430
|
a.push(
|
|
21427
21431
|
...n.flatMap((h) => r.map((_) => o(f, h, _, u)))
|
|
21428
21432
|
);
|
|
@@ -21472,7 +21476,7 @@ function bo(e, t, n = {}) {
|
|
|
21472
21476
|
].filter(Boolean);
|
|
21473
21477
|
return () => f.forEach((u) => u());
|
|
21474
21478
|
}
|
|
21475
|
-
const
|
|
21479
|
+
const F_ = {
|
|
21476
21480
|
[vo.mounted](e, t) {
|
|
21477
21481
|
const n = !t.modifiers.bubble;
|
|
21478
21482
|
if (typeof t.value == "function")
|
|
@@ -21498,15 +21502,15 @@ function C4(e) {
|
|
|
21498
21502
|
return !n || n.tagName === "BODY" ? !1 : C4(n);
|
|
21499
21503
|
}
|
|
21500
21504
|
}
|
|
21501
|
-
function
|
|
21505
|
+
function B_(e) {
|
|
21502
21506
|
const t = e || window.event, n = t.target;
|
|
21503
21507
|
return C4(n) ? !1 : t.touches.length > 1 ? !0 : (t.preventDefault && t.preventDefault(), !1);
|
|
21504
21508
|
}
|
|
21505
21509
|
const Ut = /* @__PURE__ */ new WeakMap();
|
|
21506
|
-
function
|
|
21510
|
+
function I_(e, t = !1) {
|
|
21507
21511
|
const n = ae(t);
|
|
21508
21512
|
let r = null, i;
|
|
21509
|
-
_2(
|
|
21513
|
+
_2(N_(e), (o) => {
|
|
21510
21514
|
const s = Ci(Mt(o));
|
|
21511
21515
|
if (s) {
|
|
21512
21516
|
const c = s;
|
|
@@ -21521,7 +21525,7 @@ function B_(e, t = !1) {
|
|
|
21521
21525
|
o,
|
|
21522
21526
|
"touchmove",
|
|
21523
21527
|
(s) => {
|
|
21524
|
-
|
|
21528
|
+
B_(s);
|
|
21525
21529
|
},
|
|
21526
21530
|
{ passive: !1 }
|
|
21527
21531
|
)), o.style.overflow = "hidden", n.value = !0);
|
|
@@ -21539,21 +21543,21 @@ function B_(e, t = !1) {
|
|
|
21539
21543
|
}
|
|
21540
21544
|
});
|
|
21541
21545
|
}
|
|
21542
|
-
function
|
|
21546
|
+
function V_() {
|
|
21543
21547
|
let e = !1;
|
|
21544
21548
|
const t = ae(!1);
|
|
21545
21549
|
return (n, r) => {
|
|
21546
21550
|
if (t.value = r.value, e)
|
|
21547
21551
|
return;
|
|
21548
21552
|
e = !0;
|
|
21549
|
-
const i =
|
|
21553
|
+
const i = I_(n, r.value);
|
|
21550
21554
|
_2(t, (a) => i.value = a);
|
|
21551
21555
|
};
|
|
21552
21556
|
}
|
|
21553
|
-
|
|
21557
|
+
V_();
|
|
21554
21558
|
const wo = {
|
|
21555
|
-
clickaway:
|
|
21556
|
-
},
|
|
21559
|
+
clickaway: F_
|
|
21560
|
+
}, R_ = {
|
|
21557
21561
|
install(e, { eventBus: t, router: n, globals: r = {} }) {
|
|
21558
21562
|
Object.keys(wo).forEach((i) => {
|
|
21559
21563
|
e.directive(i, wo[i]);
|
|
@@ -21565,5 +21569,5 @@ const wo = {
|
|
|
21565
21569
|
}
|
|
21566
21570
|
};
|
|
21567
21571
|
export {
|
|
21568
|
-
|
|
21572
|
+
R_ as default
|
|
21569
21573
|
};
|