@webitel/ui-sdk 24.4.8 → 24.4.10
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 +109 -102
- package/dist/ui-sdk.umd.js +3 -3
- 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/src/components/wt-tags-input/__tests__/WtTagsInput.spec.js +1 -1
- package/src/components/wt-tags-input/wt-tags-input.vue +6 -1
package/dist/ui-sdk.mjs
CHANGED
|
@@ -15927,7 +15927,10 @@ const yg = /* @__PURE__ */ Ce(dg, [["render", mg], ["__scopeId", "data-v-0dd29b8
|
|
|
15927
15927
|
},
|
|
15928
15928
|
emits: ["input", "tag", "search-change", "closed"],
|
|
15929
15929
|
data: () => ({
|
|
15930
|
-
defaultOptionLabel: "label"
|
|
15930
|
+
defaultOptionLabel: "label",
|
|
15931
|
+
// [https://webitel.atlassian.net/browse/WTEL-4310]
|
|
15932
|
+
// Multiple value is needed in TaggableMixin mixin to correctly add custom values
|
|
15933
|
+
multiple: !0
|
|
15931
15934
|
}),
|
|
15932
15935
|
methods: {
|
|
15933
15936
|
getTagOptionLabel({ optionLabel: e, option: t }) {
|
|
@@ -15965,12 +15968,12 @@ function Cg(e, t, n, r, i, a) {
|
|
|
15965
15968
|
label: e.selectOptionLabel,
|
|
15966
15969
|
loading: !1,
|
|
15967
15970
|
"model-value": e.selectValue,
|
|
15971
|
+
multiple: e.multiple,
|
|
15968
15972
|
options: e.selectOptions,
|
|
15969
15973
|
placeholder: e.placeholder || e.label,
|
|
15970
15974
|
taggable: n.taggable,
|
|
15971
15975
|
"track-by": n.trackBy,
|
|
15972
|
-
class: "wt-tags-input__select"
|
|
15973
|
-
multiple: ""
|
|
15976
|
+
class: "wt-tags-input__select"
|
|
15974
15977
|
}, Mr(e.listeners)), T2({
|
|
15975
15978
|
tag: F(({ option: h, remove: _ }) => [
|
|
15976
15979
|
q(s, { class: "multiselect__custom-tag" }, {
|
|
@@ -16018,7 +16021,7 @@ function Cg(e, t, n, r, i, a) {
|
|
|
16018
16021
|
]),
|
|
16019
16022
|
key: "0"
|
|
16020
16023
|
} : void 0
|
|
16021
|
-
]), 1040, ["disabled", "internal-search", "label", "model-value", "options", "placeholder", "taggable", "track-by"]),
|
|
16024
|
+
]), 1040, ["disabled", "internal-search", "label", "model-value", "multiple", "options", "placeholder", "taggable", "track-by"]),
|
|
16022
16025
|
e.isValidation ? (y(), ie(d, {
|
|
16023
16026
|
key: 1,
|
|
16024
16027
|
invalid: e.invalid
|
|
@@ -16030,7 +16033,7 @@ function Cg(e, t, n, r, i, a) {
|
|
|
16030
16033
|
}, 8, ["invalid"])) : N("", !0)
|
|
16031
16034
|
], 2);
|
|
16032
16035
|
}
|
|
16033
|
-
const bg = /* @__PURE__ */ Ce(gg, [["render", Cg], ["__scopeId", "data-v-
|
|
16036
|
+
const bg = /* @__PURE__ */ Ce(gg, [["render", Cg], ["__scopeId", "data-v-a6ddcac9"]]), wg = {
|
|
16034
16037
|
name: "WtTimeInput",
|
|
16035
16038
|
mixins: [Zr],
|
|
16036
16039
|
props: {
|
|
@@ -20237,8 +20240,12 @@ var h4 = function() {
|
|
|
20237
20240
|
} }]), e;
|
|
20238
20241
|
}();
|
|
20239
20242
|
h4.defaults = tw(u4);
|
|
20240
|
-
|
|
20241
|
-
|
|
20243
|
+
function Ew(e) {
|
|
20244
|
+
let t = e === "/" ? "" : e;
|
|
20245
|
+
return t = t.endsWith("/") ? t.slice(0, -1) : t, `${t}/img/plyr.svg`;
|
|
20246
|
+
}
|
|
20247
|
+
var Sw = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_b385ec2b-eae5-45f4-8965-ee3e6983ecee", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", USER: "runner", npm_config_always_auth: "", npm_config_user_agent: "npm/10.2.4 node/v20.11.1 linux x64 workspaces/false ci/github-actions", CI: "true", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_b385ec2b-eae5-45f4-8965-ee3e6983ecee", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/20.11.1/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_config_noproxy: "", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_json: "/home/runner/work/webitel-ui-sdk/webitel-ui-sdk/package.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "webitel", GRADLE_HOME: "/usr/share/gradle-8.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.2.11394342", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", GITHUB_REPOSITORY_OWNER_ID: "9943327", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_local_prefix: "/home/runner/work/webitel-ui-sdk/webitel-ui-sdk", SYSTEMD_EXEC_PID: "594", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", COLOR: "0", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.8/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240310.1.0", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.1/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:20528", GITHUB_WORKFLOW: "Webitel UI release with docs", _: "/opt/hostedtoolcache/node/20.11.1/x64/bin/npm", npm_config_prefix: "/opt/hostedtoolcache/node/20.11.1/x64", npm_config_npm_version: "10.2.4", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "8264980925", npm_config_cache: "/home/runner/.npm", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "18782b1464cf6beaff8cc37e6df83e82b05cf9fe", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", GITHUB_WORKFLOW_REF: "webitel/webitel-ui-sdk/.github/workflows/release.yml@refs/heads/master", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_config_node_gyp: "/opt/hostedtoolcache/node/20.11.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/webitel-ui-sdk/webitel-ui-sdk/node_modules/.bin:/home/runner/work/webitel-ui-sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.11.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.11.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_9793d460-1863-484b-b25b-bc6dd04d4db4", INVOCATION_ID: "4d619866055c4117aa8a946c9aa6f8e6", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.11.1/x64/bin/node", npm_package_name: "@webitel/ui-sdk", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "194", GITHUB_TRIGGERING_ACTOR: "dlohvinov", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 2", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "master", GITHUB_REPOSITORY: "webitel/webitel-ui-sdk", STATS_D_D: "true", npm_lifecycle_script: "vite build", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", GITHUB_REPOSITORY_ID: "278613868", GITHUB_ACTIONS: "true", npm_package_version: "24.4.10", npm_lifecycle_event: "build", GITHUB_REF_PROTECTED: "true", GITHUB_WORKSPACE: "/home/runner/work/webitel-ui-sdk/webitel-ui-sdk", ACCEPT_EULA: "Y", GITHUB_JOB: "test-build-release", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "18782b1464cf6beaff8cc37e6df83e82b05cf9fe", GITHUB_RUN_ATTEMPT: "1", GITHUB_REF: "refs/heads/master", GITHUB_ACTOR: "dlohvinov", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", LEIN_HOME: "/usr/local/lib/lein", npm_config_globalconfig: "/opt/hostedtoolcache/node/20.11.1/x64/etc/npmrc", npm_config_init_module: "/home/runner/.npm-init.js", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_b385ec2b-eae5-45f4-8965-ee3e6983ecee", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/webitel-ui-sdk/webitel-ui-sdk", GITHUB_ACTOR_ID: "32868304", RUNNER_WORKSPACE: "/home/runner/work/webitel-ui-sdk", npm_execpath: "/opt/hostedtoolcache/node/20.11.1/x64/lib/node_modules/npm/bin/npm-cli.js", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_b385ec2b-eae5-45f4-8965-ee3e6983ecee", npm_config_global_prefix: "/opt/hostedtoolcache/node/20.11.1/x64", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_b385ec2b-eae5-45f4-8965-ee3e6983ecee", INIT_CWD: "/home/runner/work/webitel-ui-sdk/webitel-ui-sdk", EDITOR: "vi", NODE_ENV: "production" };
|
|
20248
|
+
const $w = {
|
|
20242
20249
|
name: "WtPlayer",
|
|
20243
20250
|
props: {
|
|
20244
20251
|
src: {},
|
|
@@ -20309,9 +20316,9 @@ const Sw = {
|
|
|
20309
20316
|
methods: {
|
|
20310
20317
|
async setupPlayer() {
|
|
20311
20318
|
await this.$nextTick();
|
|
20312
|
-
const e = this.$baseURL ||
|
|
20319
|
+
const e = this.$baseURL || Sw.BASE_URL || "/", t = Ew(e);
|
|
20313
20320
|
this.player && this.player.destroy();
|
|
20314
|
-
const
|
|
20321
|
+
const n = [
|
|
20315
20322
|
"play-large",
|
|
20316
20323
|
"play",
|
|
20317
20324
|
"progress",
|
|
@@ -20324,14 +20331,14 @@ const Sw = {
|
|
|
20324
20331
|
"airplay",
|
|
20325
20332
|
"fullscreen"
|
|
20326
20333
|
];
|
|
20327
|
-
this.download &&
|
|
20334
|
+
this.download && n.push("download"), this.player = new h4(this.$refs.player, {
|
|
20328
20335
|
// this.player = new Plyr('.wt-player__player', {
|
|
20329
20336
|
autoplay: this.autoplay,
|
|
20330
20337
|
loadSprite: !1,
|
|
20331
20338
|
resetOnEnd: this.resetOnEnd,
|
|
20332
20339
|
invertTime: this.invertTime,
|
|
20333
|
-
iconUrl:
|
|
20334
|
-
controls:
|
|
20340
|
+
iconUrl: t,
|
|
20341
|
+
controls: n,
|
|
20335
20342
|
loop: {
|
|
20336
20343
|
active: this.loop
|
|
20337
20344
|
}
|
|
@@ -20350,7 +20357,7 @@ const Sw = {
|
|
|
20350
20357
|
}
|
|
20351
20358
|
}
|
|
20352
20359
|
};
|
|
20353
|
-
function
|
|
20360
|
+
function Mw(e, t, n, r, i, a) {
|
|
20354
20361
|
const l = ee("wt-icon-btn");
|
|
20355
20362
|
return y(), $("aside", {
|
|
20356
20363
|
class: de(["wt-player", [`wt-player--position-${n.position}`]])
|
|
@@ -20371,17 +20378,17 @@ function $w(e, t, n, r, i, a) {
|
|
|
20371
20378
|
}, null, 512)) : N("", !0)
|
|
20372
20379
|
], 2);
|
|
20373
20380
|
}
|
|
20374
|
-
const
|
|
20381
|
+
const Dw = /* @__PURE__ */ Ce($w, [["render", Mw], ["__scopeId", "data-v-79d3b06e"]]), V0 = Object.freeze({
|
|
20375
20382
|
ONLINE: "online",
|
|
20376
20383
|
PAUSE: "pause",
|
|
20377
20384
|
OFFLINE: "offline",
|
|
20378
20385
|
BREAK_OUT: "break_out"
|
|
20379
|
-
}),
|
|
20386
|
+
}), Pw = (e) => {
|
|
20380
20387
|
if (!e)
|
|
20381
20388
|
return "00:00:00";
|
|
20382
20389
|
let t = `${Math.floor(e / 3600)}`, n = `${Math.floor(e % 3600 / 60)}`, r = `${Math.floor(e % 3600 % 60)}`;
|
|
20383
20390
|
return t.length === 1 && (t = `0${t}`), n.length === 1 && (n = `0${n}`), r.length === 1 && (r = `0${r}`), `${t}:${n}:${r}`;
|
|
20384
|
-
},
|
|
20391
|
+
}, Nw = [
|
|
20385
20392
|
{
|
|
20386
20393
|
locale: "webitelUI.statusSelect.online",
|
|
20387
20394
|
color: "success",
|
|
@@ -20402,7 +20409,7 @@ const Mw = /* @__PURE__ */ Ce(Sw, [["render", $w], ["__scopeId", "data-v-2427d44
|
|
|
20402
20409
|
color: "break-out",
|
|
20403
20410
|
value: V0.BREAK_OUT
|
|
20404
20411
|
}
|
|
20405
|
-
],
|
|
20412
|
+
], Fw = {
|
|
20406
20413
|
name: "WtStatusSelect",
|
|
20407
20414
|
model: {
|
|
20408
20415
|
prop: "status",
|
|
@@ -20432,7 +20439,7 @@ const Mw = /* @__PURE__ */ Ce(Sw, [["render", $w], ["__scopeId", "data-v-2427d44
|
|
|
20432
20439
|
return this.statusOptions.find((e) => e.value === this.status);
|
|
20433
20440
|
},
|
|
20434
20441
|
statusOptions() {
|
|
20435
|
-
return this.options ? this.options :
|
|
20442
|
+
return this.options ? this.options : Nw.map((e) => ({
|
|
20436
20443
|
...e,
|
|
20437
20444
|
text: this.$t(e.locale)
|
|
20438
20445
|
}));
|
|
@@ -20441,7 +20448,7 @@ const Mw = /* @__PURE__ */ Ce(Sw, [["render", $w], ["__scopeId", "data-v-2427d44
|
|
|
20441
20448
|
return this.statusOptions.reduce((e, t) => this.status === t.value && t.value !== V0.PAUSE || t.value === V0.BREAK_OUT ? e : [...e, t], []);
|
|
20442
20449
|
},
|
|
20443
20450
|
duration() {
|
|
20444
|
-
return typeof this.statusDuration == "string" ? this.statusDuration : this.statusDuration !== void 0 ?
|
|
20451
|
+
return typeof this.statusDuration == "string" ? this.statusDuration : this.statusDuration !== void 0 ? Pw(this.statusDuration) : this.selectedOption.text;
|
|
20445
20452
|
}
|
|
20446
20453
|
},
|
|
20447
20454
|
methods: {
|
|
@@ -20450,7 +20457,7 @@ const Mw = /* @__PURE__ */ Ce(Sw, [["render", $w], ["__scopeId", "data-v-2427d44
|
|
|
20450
20457
|
}
|
|
20451
20458
|
}
|
|
20452
20459
|
};
|
|
20453
|
-
function
|
|
20460
|
+
function Bw(e, t, n, r, i, a) {
|
|
20454
20461
|
const l = ee("wt-indicator"), o = ee("wt-select");
|
|
20455
20462
|
return y(), ie(o, {
|
|
20456
20463
|
class: "wt-status-select",
|
|
@@ -20476,7 +20483,7 @@ function Fw(e, t, n, r, i, a) {
|
|
|
20476
20483
|
_: 1
|
|
20477
20484
|
}, 8, ["value", "options", "onInput"]);
|
|
20478
20485
|
}
|
|
20479
|
-
const
|
|
20486
|
+
const Iw = /* @__PURE__ */ Ce(Fw, [["render", Bw], ["__scopeId", "data-v-f527b244"]]), Vw = (e) => {
|
|
20480
20487
|
switch (e) {
|
|
20481
20488
|
case "asc":
|
|
20482
20489
|
return "desc";
|
|
@@ -20485,7 +20492,7 @@ const Bw = /* @__PURE__ */ Ce(Nw, [["render", Fw], ["__scopeId", "data-v-f527b24
|
|
|
20485
20492
|
default:
|
|
20486
20493
|
return "asc";
|
|
20487
20494
|
}
|
|
20488
|
-
},
|
|
20495
|
+
}, Rw = {
|
|
20489
20496
|
name: "WtTable",
|
|
20490
20497
|
props: {
|
|
20491
20498
|
headers: {
|
|
@@ -20536,7 +20543,7 @@ const Bw = /* @__PURE__ */ Ce(Nw, [["render", Fw], ["__scopeId", "data-v-f527b24
|
|
|
20536
20543
|
sort(e) {
|
|
20537
20544
|
if (!this.isColSortable(e))
|
|
20538
20545
|
return;
|
|
20539
|
-
const t =
|
|
20546
|
+
const t = Vw(e.sort);
|
|
20540
20547
|
this.$emit("sort", e, t);
|
|
20541
20548
|
},
|
|
20542
20549
|
isColSortable({ sort: e }) {
|
|
@@ -20547,35 +20554,35 @@ const Bw = /* @__PURE__ */ Ce(Nw, [["render", Fw], ["__scopeId", "data-v-f527b24
|
|
|
20547
20554
|
this.data.forEach((t) => t._isSelected = !e);
|
|
20548
20555
|
}
|
|
20549
20556
|
}
|
|
20550
|
-
},
|
|
20557
|
+
}, Hw = { class: "wt-table" }, Uw = { class: "wt-table__table" }, Zw = { class: "wt-table__head" }, Ww = {
|
|
20551
20558
|
key: 0,
|
|
20552
20559
|
class: "wt-table__th wt-table__th--checkbox"
|
|
20553
|
-
},
|
|
20560
|
+
}, jw = ["onClick"], Yw = { class: "wt-table__th__text" }, qw = {
|
|
20554
20561
|
key: 1,
|
|
20555
20562
|
class: "wt-table__th__actions"
|
|
20556
|
-
},
|
|
20563
|
+
}, Gw = { class: "wt-table__body" }, zw = {
|
|
20557
20564
|
key: 0,
|
|
20558
20565
|
class: "wt-table__td wt-table__td--checkbox"
|
|
20559
|
-
},
|
|
20566
|
+
}, Xw = {
|
|
20560
20567
|
key: 1,
|
|
20561
20568
|
class: "wt-table__td__actions"
|
|
20562
|
-
},
|
|
20569
|
+
}, Kw = {
|
|
20563
20570
|
key: 0,
|
|
20564
20571
|
class: "wt-table__foot"
|
|
20565
|
-
},
|
|
20572
|
+
}, Qw = {
|
|
20566
20573
|
key: 0,
|
|
20567
20574
|
class: "wt-table__th__checkbox"
|
|
20568
20575
|
};
|
|
20569
|
-
function
|
|
20576
|
+
function Jw(e, t, n, r, i, a) {
|
|
20570
20577
|
const l = ee("wt-checkbox"), o = ee("wt-icon");
|
|
20571
|
-
return y(), $("div",
|
|
20572
|
-
I("table",
|
|
20573
|
-
I("thead",
|
|
20578
|
+
return y(), $("div", Hw, [
|
|
20579
|
+
I("table", Uw, [
|
|
20580
|
+
I("thead", Zw, [
|
|
20574
20581
|
I("tr", {
|
|
20575
20582
|
style: u2(a.columnsStyle),
|
|
20576
20583
|
class: "wt-table__tr wt-table__tr__head"
|
|
20577
20584
|
}, [
|
|
20578
|
-
n.selectable ? (y(), $("th",
|
|
20585
|
+
n.selectable ? (y(), $("th", Ww, [
|
|
20579
20586
|
q(l, {
|
|
20580
20587
|
selected: a.isAllSelected,
|
|
20581
20588
|
onChange: a.selectAll
|
|
@@ -20589,7 +20596,7 @@ function Qw(e, t, n, r, i, a) {
|
|
|
20589
20596
|
], "wt-table__th"]),
|
|
20590
20597
|
onClick: (f) => a.sort(s)
|
|
20591
20598
|
}, [
|
|
20592
|
-
I("div",
|
|
20599
|
+
I("div", Yw, ne(s.text), 1),
|
|
20593
20600
|
n.sortable ? (y(), ie(o, {
|
|
20594
20601
|
key: 0,
|
|
20595
20602
|
class: "wt-table__th__sort-arrow wt-table__th__sort-arrow--asc",
|
|
@@ -20602,19 +20609,19 @@ function Qw(e, t, n, r, i, a) {
|
|
|
20602
20609
|
icon: "sort-arrow-down",
|
|
20603
20610
|
size: "sm"
|
|
20604
20611
|
})) : N("", !0)
|
|
20605
|
-
], 10,
|
|
20606
|
-
n.gridActions ? (y(), $("th",
|
|
20612
|
+
], 10, jw))), 128)),
|
|
20613
|
+
n.gridActions ? (y(), $("th", qw, [
|
|
20607
20614
|
Z(e.$slots, "actions-header", {}, void 0, !0)
|
|
20608
20615
|
])) : N("", !0)
|
|
20609
20616
|
], 4)
|
|
20610
20617
|
]),
|
|
20611
|
-
I("tbody",
|
|
20618
|
+
I("tbody", Gw, [
|
|
20612
20619
|
(y(!0), $(De, null, Ve(n.data, (s, c) => (y(), $("tr", {
|
|
20613
20620
|
key: c,
|
|
20614
20621
|
class: de([`wt-table__tr__${s.id || c}`, "wt-table__tr wt-table__tr__body"]),
|
|
20615
20622
|
style: u2(a.columnsStyle)
|
|
20616
20623
|
}, [
|
|
20617
|
-
n.selectable ? (y(), $("td",
|
|
20624
|
+
n.selectable ? (y(), $("td", zw, [
|
|
20618
20625
|
q(l, {
|
|
20619
20626
|
selected: s._isSelected,
|
|
20620
20627
|
onChange: (f) => s._isSelected = !s._isSelected
|
|
@@ -20631,7 +20638,7 @@ function Qw(e, t, n, r, i, a) {
|
|
|
20631
20638
|
I("div", null, ne(s[f.value]), 1)
|
|
20632
20639
|
], !0)
|
|
20633
20640
|
]))), 128)),
|
|
20634
|
-
n.gridActions ? (y(), $("td",
|
|
20641
|
+
n.gridActions ? (y(), $("td", Xw, [
|
|
20635
20642
|
Z(e.$slots, "actions", {
|
|
20636
20643
|
index: c,
|
|
20637
20644
|
item: s
|
|
@@ -20639,12 +20646,12 @@ function Qw(e, t, n, r, i, a) {
|
|
|
20639
20646
|
])) : N("", !0)
|
|
20640
20647
|
], 6))), 128))
|
|
20641
20648
|
]),
|
|
20642
|
-
a.isTableFooter ? (y(), $("tfoot",
|
|
20649
|
+
a.isTableFooter ? (y(), $("tfoot", Kw, [
|
|
20643
20650
|
I("tr", {
|
|
20644
20651
|
style: u2(a.columnsStyle),
|
|
20645
20652
|
class: "wt-table__tr wt-table__tr__foot"
|
|
20646
20653
|
}, [
|
|
20647
|
-
n.selectable ? (y(), $("th",
|
|
20654
|
+
n.selectable ? (y(), $("th", Qw)) : N("", !0),
|
|
20648
20655
|
(y(!0), $(De, null, Ve(a.dataHeaders, (s, c) => (y(), $("td", {
|
|
20649
20656
|
key: c,
|
|
20650
20657
|
class: "wt-table__td"
|
|
@@ -20659,7 +20666,7 @@ function Qw(e, t, n, r, i, a) {
|
|
|
20659
20666
|
])
|
|
20660
20667
|
]);
|
|
20661
20668
|
}
|
|
20662
|
-
const
|
|
20669
|
+
const e_ = /* @__PURE__ */ Ce(Rw, [["render", Jw], ["__scopeId", "data-v-2b96924c"]]), t_ = {
|
|
20663
20670
|
name: "WtTableActions",
|
|
20664
20671
|
props: {
|
|
20665
20672
|
icons: {
|
|
@@ -20691,10 +20698,10 @@ const Jw = /* @__PURE__ */ Ce(Vw, [["render", Qw], ["__scopeId", "data-v-2b96924
|
|
|
20691
20698
|
return this.icons.indexOf("settings") !== -1;
|
|
20692
20699
|
}
|
|
20693
20700
|
}
|
|
20694
|
-
},
|
|
20695
|
-
function
|
|
20701
|
+
}, n_ = { class: "wt-table-actions" };
|
|
20702
|
+
function r_(e, t, n, r, i, a) {
|
|
20696
20703
|
const l = ee("wt-icon-btn"), o = ee("wt-tooltip");
|
|
20697
|
-
return y(), $("aside",
|
|
20704
|
+
return y(), $("aside", n_, [
|
|
20698
20705
|
Z(e.$slots, "default", {}, void 0, !0),
|
|
20699
20706
|
a.isImport ? (y(), ie(o, { key: 0 }, {
|
|
20700
20707
|
activator: F(() => [
|
|
@@ -20771,7 +20778,7 @@ function n_(e, t, n, r, i, a) {
|
|
|
20771
20778
|
})) : N("", !0)
|
|
20772
20779
|
]);
|
|
20773
20780
|
}
|
|
20774
|
-
const
|
|
20781
|
+
const i_ = /* @__PURE__ */ Ce(t_, [["render", r_], ["__scopeId", "data-v-69a982a8"]]);
|
|
20775
20782
|
var p4 = { exports: {} };
|
|
20776
20783
|
(function(e, t) {
|
|
20777
20784
|
(function(n, r, i) {
|
|
@@ -20814,8 +20821,8 @@ var p4 = { exports: {} };
|
|
|
20814
20821
|
}
|
|
20815
20822
|
});
|
|
20816
20823
|
})(p4);
|
|
20817
|
-
var
|
|
20818
|
-
const
|
|
20824
|
+
var a_ = p4.exports;
|
|
20825
|
+
const l_ = /* @__PURE__ */ Aa(a_), o_ = {
|
|
20819
20826
|
name: "WtTableColumnSelect",
|
|
20820
20827
|
model: {
|
|
20821
20828
|
prop: "headers",
|
|
@@ -20864,16 +20871,16 @@ const a_ = /* @__PURE__ */ Aa(i_), l_ = {
|
|
|
20864
20871
|
this.isColumnSelectPopup = !1;
|
|
20865
20872
|
},
|
|
20866
20873
|
fillHeadersDraft() {
|
|
20867
|
-
this.draft =
|
|
20874
|
+
this.draft = l_(this.headers);
|
|
20868
20875
|
},
|
|
20869
20876
|
setShownColumns() {
|
|
20870
20877
|
this.$emit("change", this.draft), this.close();
|
|
20871
20878
|
}
|
|
20872
20879
|
}
|
|
20873
|
-
},
|
|
20874
|
-
function
|
|
20880
|
+
}, s_ = { class: "wt-table-column-select" }, c_ = { class: "wt-table-column-select__popup-list-wrap" }, u_ = ["onClickCapture"];
|
|
20881
|
+
function d_(e, t, n, r, i, a) {
|
|
20875
20882
|
const l = ee("wt-icon-btn"), o = ee("wt-tooltip"), s = ee("wt-checkbox"), c = ee("wt-button"), f = ee("wt-popup");
|
|
20876
|
-
return y(), $("div",
|
|
20883
|
+
return y(), $("div", s_, [
|
|
20877
20884
|
q(o, null, {
|
|
20878
20885
|
activator: F(() => [
|
|
20879
20886
|
q(l, {
|
|
@@ -20895,7 +20902,7 @@ function u_(e, t, n, r, i, a) {
|
|
|
20895
20902
|
pe(ne(e.$t("webitelUI.tableColumnSelect.title")), 1)
|
|
20896
20903
|
]),
|
|
20897
20904
|
main: F(() => [
|
|
20898
|
-
I("div",
|
|
20905
|
+
I("div", c_, [
|
|
20899
20906
|
I("ul", {
|
|
20900
20907
|
class: de(["wt-table-column-select__popup-list", {
|
|
20901
20908
|
"wt-table-column-select__popup-list--md": a.changeableDraft.length > 10 && a.changeableDraft.length <= 20,
|
|
@@ -20912,7 +20919,7 @@ function u_(e, t, n, r, i, a) {
|
|
|
20912
20919
|
label: a.shownColLabel(d),
|
|
20913
20920
|
onChange: (h) => d.show = h
|
|
20914
20921
|
}, null, 8, ["selected", "label", "onChange"])
|
|
20915
|
-
], 40,
|
|
20922
|
+
], 40, u_))), 128))
|
|
20916
20923
|
], 2)
|
|
20917
20924
|
])
|
|
20918
20925
|
]),
|
|
@@ -20937,7 +20944,7 @@ function u_(e, t, n, r, i, a) {
|
|
|
20937
20944
|
}, 8, ["onClose"])) : N("", !0)
|
|
20938
20945
|
]);
|
|
20939
20946
|
}
|
|
20940
|
-
const
|
|
20947
|
+
const f_ = /* @__PURE__ */ Ce(o_, [["render", d_], ["__scopeId", "data-v-546ba720"]]), h_ = {
|
|
20941
20948
|
__name: "wt-delete-icon-action",
|
|
20942
20949
|
props: {
|
|
20943
20950
|
disabled: {
|
|
@@ -20993,7 +21000,7 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
20993
21000
|
});
|
|
20994
21001
|
};
|
|
20995
21002
|
}
|
|
20996
|
-
},
|
|
21003
|
+
}, p_ = {
|
|
20997
21004
|
__name: "wt-add-icon-action",
|
|
20998
21005
|
props: {
|
|
20999
21006
|
disabled: {
|
|
@@ -21021,7 +21028,7 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
21021
21028
|
});
|
|
21022
21029
|
};
|
|
21023
21030
|
}
|
|
21024
|
-
},
|
|
21031
|
+
}, m_ = {
|
|
21025
21032
|
__name: "wt-history-icon-action",
|
|
21026
21033
|
props: {
|
|
21027
21034
|
disabled: {
|
|
@@ -21049,7 +21056,7 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
21049
21056
|
});
|
|
21050
21057
|
};
|
|
21051
21058
|
}
|
|
21052
|
-
},
|
|
21059
|
+
}, y_ = {
|
|
21053
21060
|
__name: "wt-download-icon-action",
|
|
21054
21061
|
props: {
|
|
21055
21062
|
disabled: {
|
|
@@ -21077,7 +21084,7 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
21077
21084
|
});
|
|
21078
21085
|
};
|
|
21079
21086
|
}
|
|
21080
|
-
},
|
|
21087
|
+
}, g_ = {
|
|
21081
21088
|
__name: "wt-refresh-icon-action",
|
|
21082
21089
|
props: {
|
|
21083
21090
|
disabled: {
|
|
@@ -21105,7 +21112,7 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
21105
21112
|
});
|
|
21106
21113
|
};
|
|
21107
21114
|
}
|
|
21108
|
-
},
|
|
21115
|
+
}, v_ = {
|
|
21109
21116
|
__name: "wt-icon-action",
|
|
21110
21117
|
props: {
|
|
21111
21118
|
action: {
|
|
@@ -21125,15 +21132,15 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
21125
21132
|
case "edit":
|
|
21126
21133
|
return yo;
|
|
21127
21134
|
case "delete":
|
|
21128
|
-
return f_;
|
|
21129
|
-
case "add":
|
|
21130
21135
|
return h_;
|
|
21131
|
-
case "
|
|
21136
|
+
case "add":
|
|
21132
21137
|
return p_;
|
|
21133
|
-
case "
|
|
21138
|
+
case "history":
|
|
21134
21139
|
return m_;
|
|
21135
|
-
case "
|
|
21140
|
+
case "download":
|
|
21136
21141
|
return y_;
|
|
21142
|
+
case "refresh":
|
|
21143
|
+
return g_;
|
|
21137
21144
|
default:
|
|
21138
21145
|
return yo;
|
|
21139
21146
|
}
|
|
@@ -21143,7 +21150,7 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
21143
21150
|
onClick: l[0] || (l[0] = (o) => r("click"))
|
|
21144
21151
|
}, null, 8, ["disabled"]));
|
|
21145
21152
|
}
|
|
21146
|
-
},
|
|
21153
|
+
}, C_ = {
|
|
21147
21154
|
__name: "wt-page-header",
|
|
21148
21155
|
props: {
|
|
21149
21156
|
hidePrimary: {
|
|
@@ -21215,7 +21222,7 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
21215
21222
|
});
|
|
21216
21223
|
};
|
|
21217
21224
|
}
|
|
21218
|
-
},
|
|
21225
|
+
}, 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_ = {
|
|
21219
21226
|
__name: "wt-stepper",
|
|
21220
21227
|
props: {
|
|
21221
21228
|
steps: {
|
|
@@ -21233,10 +21240,10 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
21233
21240
|
})));
|
|
21234
21241
|
return (i, a) => {
|
|
21235
21242
|
const l = ee("wt-chip");
|
|
21236
|
-
return y(), $("div",
|
|
21237
|
-
I("div",
|
|
21238
|
-
I("div",
|
|
21239
|
-
(y(!0), $(De, null, Ve(r.value, ({ name: o, completed: s }, c) => (y(), $("div",
|
|
21243
|
+
return y(), $("div", w_, [
|
|
21244
|
+
I("div", __, [
|
|
21245
|
+
I("div", x_, [
|
|
21246
|
+
(y(!0), $(De, null, Ve(r.value, ({ name: o, completed: s }, c) => (y(), $("div", L_, [
|
|
21240
21247
|
c !== 0 ? (y(), $("div", {
|
|
21241
21248
|
key: 0,
|
|
21242
21249
|
class: de(["wt-stepper-steps__divider", { "wt-stepper-steps__divider--completed": s }])
|
|
@@ -21254,13 +21261,13 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
21254
21261
|
])
|
|
21255
21262
|
]),
|
|
21256
21263
|
Z(i.$slots, "description", {}, () => [
|
|
21257
|
-
I("p",
|
|
21264
|
+
I("p", k_, ne(n.value), 1)
|
|
21258
21265
|
], !0),
|
|
21259
21266
|
Z(i.$slots, "main", {}, void 0, !0)
|
|
21260
21267
|
]);
|
|
21261
21268
|
};
|
|
21262
21269
|
}
|
|
21263
|
-
},
|
|
21270
|
+
}, O_ = /* @__PURE__ */ Ce(T_, [["__scopeId", "data-v-1bb094f6"]]), A_ = { class: "wt-expansion-panel-actions" }, E_ = { class: "wt-expansion-panel-body" }, S_ = {
|
|
21264
21271
|
__name: "wt-expansion-panel",
|
|
21265
21272
|
props: {
|
|
21266
21273
|
size: {
|
|
@@ -21298,7 +21305,7 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
21298
21305
|
onKeypress: Me(o, ["enter"])
|
|
21299
21306
|
}, [
|
|
21300
21307
|
Z(s.$slots, "title", {}, void 0, !0),
|
|
21301
|
-
I("div",
|
|
21308
|
+
I("div", A_, [
|
|
21302
21309
|
Z(s.$slots, "actions", Ue(Xe({ open: a, opened: i.value })), void 0, !0),
|
|
21303
21310
|
q(f, {
|
|
21304
21311
|
class: de(["wt-expansion-panel-arrow", { "wt-expansion-panel-arrow--opened": i.value }]),
|
|
@@ -21308,7 +21315,7 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
21308
21315
|
], 32),
|
|
21309
21316
|
o2(q(d, null, {
|
|
21310
21317
|
default: F(() => [
|
|
21311
|
-
I("div",
|
|
21318
|
+
I("div", E_, [
|
|
21312
21319
|
Z(s.$slots, "default", {}, void 0, !0)
|
|
21313
21320
|
])
|
|
21314
21321
|
], void 0, !0),
|
|
@@ -21319,7 +21326,7 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
21319
21326
|
], 2);
|
|
21320
21327
|
};
|
|
21321
21328
|
}
|
|
21322
|
-
},
|
|
21329
|
+
}, $_ = /* @__PURE__ */ Ce(S_, [["__scopeId", "data-v-9ac67319"]]), go = {
|
|
21323
21330
|
WtLogo: N4,
|
|
21324
21331
|
WtAvatar: V4,
|
|
21325
21332
|
WtBadge: Y4,
|
|
@@ -21362,21 +21369,21 @@ const d_ = /* @__PURE__ */ Ce(l_, [["render", u_], ["__scopeId", "data-v-546ba72
|
|
|
21362
21369
|
WtNotificationsBar: ob,
|
|
21363
21370
|
WtPageWrapper: pb,
|
|
21364
21371
|
WtPagination: wb,
|
|
21365
|
-
WtPlayer:
|
|
21366
|
-
WtStatusSelect:
|
|
21367
|
-
WtTable:
|
|
21368
|
-
WtTableActions:
|
|
21369
|
-
WtTableColumnSelect:
|
|
21372
|
+
WtPlayer: Dw,
|
|
21373
|
+
WtStatusSelect: Iw,
|
|
21374
|
+
WtTable: e_,
|
|
21375
|
+
WtTableActions: i_,
|
|
21376
|
+
WtTableColumnSelect: f_,
|
|
21370
21377
|
WtButtonSelect: Hg,
|
|
21371
21378
|
WtContextMenu: t5,
|
|
21372
21379
|
WtCopyAction: Qg,
|
|
21373
21380
|
WtLoadBar: nv,
|
|
21374
|
-
WtIconAction:
|
|
21375
|
-
WtPageHeader:
|
|
21381
|
+
WtIconAction: v_,
|
|
21382
|
+
WtPageHeader: b_,
|
|
21376
21383
|
WtItemLink: iv,
|
|
21377
21384
|
WtDummy: fv,
|
|
21378
|
-
WtStepper:
|
|
21379
|
-
WtExpansionPanel:
|
|
21385
|
+
WtStepper: O_,
|
|
21386
|
+
WtExpansionPanel: $_
|
|
21380
21387
|
};
|
|
21381
21388
|
function m4(e) {
|
|
21382
21389
|
return ea() ? (ta(e), !0) : !1;
|
|
@@ -21386,9 +21393,9 @@ function Mt(e) {
|
|
|
21386
21393
|
}
|
|
21387
21394
|
const y4 = typeof window < "u" && typeof document < "u";
|
|
21388
21395
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
21389
|
-
const
|
|
21390
|
-
}, J1 = /* @__PURE__ */
|
|
21391
|
-
function
|
|
21396
|
+
const M_ = Object.prototype.toString, D_ = (e) => M_.call(e) === "[object Object]", Dt = () => {
|
|
21397
|
+
}, J1 = /* @__PURE__ */ P_();
|
|
21398
|
+
function P_() {
|
|
21392
21399
|
var e, t;
|
|
21393
21400
|
return y4 && ((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));
|
|
21394
21401
|
}
|
|
@@ -21397,7 +21404,7 @@ const vo = {
|
|
|
21397
21404
|
updated: "updated",
|
|
21398
21405
|
unmounted: "unmounted"
|
|
21399
21406
|
};
|
|
21400
|
-
function
|
|
21407
|
+
function N_(...e) {
|
|
21401
21408
|
if (e.length !== 1)
|
|
21402
21409
|
return rt(...e);
|
|
21403
21410
|
const t = e[0];
|
|
@@ -21421,7 +21428,7 @@ function Bn(...e) {
|
|
|
21421
21428
|
([f, d]) => {
|
|
21422
21429
|
if (l(), !f)
|
|
21423
21430
|
return;
|
|
21424
|
-
const u =
|
|
21431
|
+
const u = D_(d) ? { ...d } : d;
|
|
21425
21432
|
a.push(
|
|
21426
21433
|
...n.flatMap((h) => r.map((_) => o(f, h, _, u)))
|
|
21427
21434
|
);
|
|
@@ -21471,7 +21478,7 @@ function bo(e, t, n = {}) {
|
|
|
21471
21478
|
].filter(Boolean);
|
|
21472
21479
|
return () => f.forEach((u) => u());
|
|
21473
21480
|
}
|
|
21474
|
-
const
|
|
21481
|
+
const F_ = {
|
|
21475
21482
|
[vo.mounted](e, t) {
|
|
21476
21483
|
const n = !t.modifiers.bubble;
|
|
21477
21484
|
if (typeof t.value == "function")
|
|
@@ -21497,15 +21504,15 @@ function v4(e) {
|
|
|
21497
21504
|
return !n || n.tagName === "BODY" ? !1 : v4(n);
|
|
21498
21505
|
}
|
|
21499
21506
|
}
|
|
21500
|
-
function
|
|
21507
|
+
function B_(e) {
|
|
21501
21508
|
const t = e || window.event, n = t.target;
|
|
21502
21509
|
return v4(n) ? !1 : t.touches.length > 1 ? !0 : (t.preventDefault && t.preventDefault(), !1);
|
|
21503
21510
|
}
|
|
21504
21511
|
const Zt = /* @__PURE__ */ new WeakMap();
|
|
21505
|
-
function
|
|
21512
|
+
function I_(e, t = !1) {
|
|
21506
21513
|
const n = ae(t);
|
|
21507
21514
|
let r = null, i;
|
|
21508
|
-
_2(
|
|
21515
|
+
_2(N_(e), (o) => {
|
|
21509
21516
|
const s = Ci(Mt(o));
|
|
21510
21517
|
if (s) {
|
|
21511
21518
|
const c = s;
|
|
@@ -21520,7 +21527,7 @@ function B_(e, t = !1) {
|
|
|
21520
21527
|
o,
|
|
21521
21528
|
"touchmove",
|
|
21522
21529
|
(s) => {
|
|
21523
|
-
|
|
21530
|
+
B_(s);
|
|
21524
21531
|
},
|
|
21525
21532
|
{ passive: !1 }
|
|
21526
21533
|
)), o.style.overflow = "hidden", n.value = !0);
|
|
@@ -21538,21 +21545,21 @@ function B_(e, t = !1) {
|
|
|
21538
21545
|
}
|
|
21539
21546
|
});
|
|
21540
21547
|
}
|
|
21541
|
-
function
|
|
21548
|
+
function V_() {
|
|
21542
21549
|
let e = !1;
|
|
21543
21550
|
const t = ae(!1);
|
|
21544
21551
|
return (n, r) => {
|
|
21545
21552
|
if (t.value = r.value, e)
|
|
21546
21553
|
return;
|
|
21547
21554
|
e = !0;
|
|
21548
|
-
const i =
|
|
21555
|
+
const i = I_(n, r.value);
|
|
21549
21556
|
_2(t, (a) => i.value = a);
|
|
21550
21557
|
};
|
|
21551
21558
|
}
|
|
21552
|
-
|
|
21559
|
+
V_();
|
|
21553
21560
|
const wo = {
|
|
21554
|
-
clickaway:
|
|
21555
|
-
},
|
|
21561
|
+
clickaway: F_
|
|
21562
|
+
}, H_ = {
|
|
21556
21563
|
install(e, { eventBus: t, router: n, globals: r = {} }) {
|
|
21557
21564
|
Object.keys(wo).forEach((i) => {
|
|
21558
21565
|
e.directive(i, wo[i]);
|
|
@@ -21564,5 +21571,5 @@ const wo = {
|
|
|
21564
21571
|
}
|
|
21565
21572
|
};
|
|
21566
21573
|
export {
|
|
21567
|
-
|
|
21574
|
+
H_ as default
|
|
21568
21575
|
};
|