@webitel/ui-sdk 24.2.46 → 24.2.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 +117 -108
- package/dist/ui-sdk.umd.js +1 -1
- package/package.json +1 -1
- package/src/components/wt-expansion-panel/wt-expansion-panel.vue +38 -7
package/dist/ui-sdk.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as m, createElementBlock as E, unref as S, computed as z, resolveComponent as te, normalizeClass as de, createBlock as ie, createCommentVNode as F, normalizeStyle as u2, toDisplayString as ne, createElementVNode as V, renderSlot as U, createTextVNode as pe, ref as ae, shallowRef as _o, watch as
|
|
1
|
+
import { openBlock as m, createElementBlock as E, unref as S, computed as z, resolveComponent as te, normalizeClass as de, createBlock as ie, createCommentVNode as F, normalizeStyle as u2, toDisplayString as ne, createElementVNode as V, renderSlot as U, createTextVNode as pe, ref as ae, shallowRef as _o, watch as _2, getCurrentScope as ea, onScopeDispose as ta, shallowReadonly as z0, onMounted as I2, onBeforeUnmount as b4, resolveDirective as W0, withDirectives as o2, withCtx as B, normalizeProps as Ze, guardReactiveProps as Xe, pushScopeId as na, popScopeId as ra, Fragment as De, renderList as Ie, withModifiers as Be, createVNode as K, mergeProps as Fe, reactive as Nt, defineComponent as Q2, useSlots as Er, toRef as rt, onUnmounted as ia, isRef as N0, createSlots as T2, resolveDynamicComponent as Sr, Teleport as w4, withKeys as Me, Transition as q2, nextTick as T0, vShow as N2, onBeforeUpdate as _4, h as xo, getCurrentInstance as aa, inject as x4, onBeforeMount as L4, Text as k4, isReactive as T4, toRefs as O4, toHandlers as Mr, TransitionGroup as A4, readonly as $4, customRef as E4 } from "vue";
|
|
2
2
|
const S4 = "data:image/svg+xml,%3csvg%20width='84'%20height='16'%20viewBox='0%200%2084%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20style=''%3e%3cpath%20d='M19.1471%206.76561C19.5192%206.46004%2019.6844%205.97826%2019.5751%205.5171L19.4594%205.02854C19.3506%204.56907%2018.9874%204.2066%2018.5174%204.08828L2.35134%200.0186988C1.8058%20-0.118634%201.40925%200.531474%201.77936%200.956411L7.27394%207.26494C7.73821%207.79799%208.55962%207.86467%209.1086%207.41386L12.8859%204.31212C13.4349%203.86131%2014.2563%203.92799%2014.7205%204.46104L16.8959%206.95867C17.3602%207.49173%2018.1816%207.5584%2018.7306%207.1076L19.1471%206.76561Z'%20fill='url(%23paint0_linear_8188_8305)'%20class='HcezHUeY_0'%3e%3c/path%3e%3cpath%20d='M2.8954%2013.2275L0.0318858%204.54719C-0.164915%203.95062%200.597042%203.51399%201.00917%203.98718L6.96719%2010.8278C7.43146%2011.3608%208.25287%2011.4275%208.80185%2010.9767L12.5791%207.87496C13.1281%207.42416%2013.9495%207.49084%2014.4138%208.02389L20.5264%2015.042C20.9236%2015.498%2020.4402%2016.1812%2019.8801%2015.9555L15.6717%2014.2593C15.478%2014.1812%2015.2676%2014.1497%2015.0586%2014.1676L5.60297%2014.9747C4.39086%2015.0782%203.26658%2014.3527%202.8954%2013.2275Z'%20fill='url(%23paint1_linear_8188_8305)'%20class='HcezHUeY_1'%3e%3c/path%3e%3cpath%20d='M20.0597%2010.6176C20.7881%2011.307%2022%2010.7984%2022%209.80342C22%208.80811%2020.7875%208.2997%2020.0592%208.98965C19.5902%209.43403%2019.5904%2010.1735%2020.0597%2010.6176Z'%20fill='url(%23paint2_linear_8188_8305)'%20class='HcezHUeY_2'%3e%3c/path%3e%3cpath%20d='M83%202L83%2014.0004'%20stroke='%23454E68'%20stroke-width='2'%20stroke-linecap='round'%20class='HcezHUeY_3'%3e%3c/path%3e%3cpath%20d='M25%202.15332C25%202.15332%2028.2186%2013.9992%2028.3273%2013.9992C28.436%2013.9992%2031.5128%202.15332%2031.6546%202.15332C31.7963%202.15332%2034.8519%2013.9992%2034.9819%2013.9992C35.1118%2013.9992%2038.3091%202.15332%2038.3091%202.15332'%20stroke='%23454E68'%20stroke-width='2'%20stroke-linecap='round'%20class='HcezHUeY_4'%3e%3c/path%3e%3cpath%20d='M62%206L62%2013.9995M62%202L62%203.07689'%20stroke='%23454E68'%20stroke-width='2'%20stroke-linecap='round'%20class='HcezHUeY_5'%3e%3c/path%3e%3cpath%20d='M67.0001%202L67.0001%2013.9996M70%206H65'%20stroke='%23454E68'%20stroke-width='2'%20stroke-linecap='round'%20class='HcezHUeY_6'%3e%3c/path%3e%3cpath%20d='M47.0809%2012.6863C46.3035%2013.5332%2045.1749%2014%2044.0462%2014C42.0231%2014%2040%2012.5%2040%2010C40%207.5%2042.0231%206%2044.0462%206C45.7855%206%2047.5247%207.10857%2047.9786%209.00803C48.107%209.54553%2047.6396%2010%2047.0809%2010H41.0116'%20stroke='%23454E68'%20stroke-width='2'%20stroke-linecap='round'%20class='HcezHUeY_7'%3e%3c/path%3e%3cpath%20d='M79.0811%2012.6864C78.3037%2013.5332%2077.175%2014.0001%2076.0464%2014.0001C74.0233%2014.0001%2072.0001%2012.5001%2072.0001%2010.0001C72.0001%207.50007%2074.0233%206.00007%2076.0464%206.00007C77.7856%206.00007%2079.5248%207.10864%2079.9787%209.00811C80.1071%209.5456%2079.6397%2010.0001%2079.0811%2010.0001H73.0117'%20stroke='%23454E68'%20stroke-width='2'%20stroke-linecap='round'%20class='HcezHUeY_8'%3e%3c/path%3e%3cpath%20d='M51%202L51%2013.9992M58.7637%2010.23C58.7637%2012.3117%2057.0257%2013.9992%2054.8818%2013.9992C52.738%2013.9992%2051%2012.3117%2051%2010.23C51%208.14839%2052.738%206.4609%2054.8818%206.4609C57.0257%206.4609%2058.7637%208.14839%2058.7637%2010.23Z'%20stroke='%23454E68'%20stroke-width='2'%20stroke-linecap='round'%20class='HcezHUeY_9'%3e%3c/path%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_8188_8305'%20x1='19.6018'%20y1='1.31343'%20x2='5.13539'%20y2='15.7822'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D93DF5'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%231A2EB2'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_8188_8305'%20x1='19.6018'%20y1='1.31343'%20x2='5.13539'%20y2='15.7822'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D93DF5'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%231A2EB2'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_8188_8305'%20x1='19.6018'%20y1='1.31343'%20x2='5.13539'%20y2='15.7822'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D93DF5'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%231A2EB2'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cstyle%20data-made-with='vivus-instant'%3e.HcezHUeY_0{stroke-dasharray:45%2047;stroke-dashoffset:46;animation:HcezHUeY_draw%202666ms%20ease%200ms%20forwards;}.HcezHUeY_1{stroke-dasharray:58%2060;stroke-dashoffset:59;animation:HcezHUeY_draw%202666ms%20ease%20148ms%20forwards;}.HcezHUeY_2{stroke-dasharray:8%2010;stroke-dashoffset:9;animation:HcezHUeY_draw%202666ms%20ease%20296ms%20forwards;}.HcezHUeY_3{stroke-dasharray:13%2015;stroke-dashoffset:14;animation:HcezHUeY_draw%202666ms%20ease%20444ms%20forwards;}.HcezHUeY_4{stroke-dasharray:50%2052;stroke-dashoffset:51;animation:HcezHUeY_draw%202666ms%20ease%20592ms%20forwards;}.HcezHUeY_5{stroke-dasharray:10%2012;stroke-dashoffset:11;animation:HcezHUeY_draw%202666ms%20ease%20740ms%20forwards;}.HcezHUeY_6{stroke-dasharray:17%2019;stroke-dashoffset:18;animation:HcezHUeY_draw%202666ms%20ease%20888ms%20forwards;}.HcezHUeY_7{stroke-dasharray:30%2032;stroke-dashoffset:31;animation:HcezHUeY_draw%202666ms%20ease%201037ms%20forwards;}.HcezHUeY_8{stroke-dasharray:30%2032;stroke-dashoffset:31;animation:HcezHUeY_draw%202666ms%20ease%201185ms%20forwards;}.HcezHUeY_9{stroke-dasharray:37%2039;stroke-dashoffset:38;animation:HcezHUeY_draw%202666ms%20ease%201333ms%20forwards;}@keyframes%20HcezHUeY_draw{100%25{stroke-dashoffset:0;}}@keyframes%20HcezHUeY_fade{0%25{stroke-opacity:1;}95.1219512195122%25{stroke-opacity:1;}100%25{stroke-opacity:0;}}%3c/style%3e%3c/svg%3e", M4 = "data:image/svg+xml,%3csvg%20width='84'%20height='16'%20viewBox='0%200%2084%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20style=''%3e%3cpath%20d='M19.1471%206.76561C19.5192%206.46004%2019.6844%205.97826%2019.5751%205.5171L19.4594%205.02854C19.3506%204.56907%2018.9874%204.2066%2018.5174%204.08828L2.35134%200.0186988C1.8058%20-0.118634%201.40925%200.531474%201.77936%200.956411L7.27394%207.26494C7.73821%207.79799%208.55962%207.86467%209.1086%207.41386L12.8859%204.31212C13.4349%203.86131%2014.2563%203.92799%2014.7205%204.46104L16.8959%206.95867C17.3602%207.49173%2018.1816%207.5584%2018.7306%207.1076L19.1471%206.76561Z'%20fill='url(%23paint0_linear_8188_8295)'%20class='mfqwVynX_0'%3e%3c/path%3e%3cpath%20d='M2.8954%2013.2275L0.0318858%204.54719C-0.164915%203.95062%200.597042%203.51399%201.00917%203.98718L6.96719%2010.8278C7.43146%2011.3608%208.25287%2011.4275%208.80185%2010.9767L12.5791%207.87496C13.1281%207.42416%2013.9495%207.49084%2014.4138%208.02389L20.5264%2015.042C20.9236%2015.498%2020.4402%2016.1812%2019.8801%2015.9555L15.6717%2014.2593C15.478%2014.1812%2015.2676%2014.1497%2015.0586%2014.1676L5.60297%2014.9747C4.39086%2015.0782%203.26658%2014.3527%202.8954%2013.2275Z'%20fill='url(%23paint1_linear_8188_8295)'%20class='mfqwVynX_1'%3e%3c/path%3e%3cpath%20d='M20.0597%2010.6176C20.7881%2011.307%2022%2010.7984%2022%209.80342C22%208.80811%2020.7875%208.2997%2020.0592%208.98965C19.5902%209.43403%2019.5904%2010.1735%2020.0597%2010.6176Z'%20fill='url(%23paint2_linear_8188_8295)'%20class='mfqwVynX_2'%3e%3c/path%3e%3cpath%20d='M83%202L83%2014.0004'%20stroke='%23919AB6'%20stroke-width='2'%20stroke-linecap='round'%20class='mfqwVynX_3'%3e%3c/path%3e%3cpath%20d='M25%202.15332C25%202.15332%2028.2186%2013.9992%2028.3273%2013.9992C28.436%2013.9992%2031.5128%202.15332%2031.6546%202.15332C31.7963%202.15332%2034.8519%2013.9992%2034.9819%2013.9992C35.1118%2013.9992%2038.3091%202.15332%2038.3091%202.15332'%20stroke='%23919AB6'%20stroke-width='2'%20stroke-linecap='round'%20class='mfqwVynX_4'%3e%3c/path%3e%3cpath%20d='M62%206L62%2013.9995M62%202L62%203.07689'%20stroke='%23919AB6'%20stroke-width='2'%20stroke-linecap='round'%20class='mfqwVynX_5'%3e%3c/path%3e%3cpath%20d='M67.0001%202L67.0001%2013.9996M70%206H65'%20stroke='%23919AB6'%20stroke-width='2'%20stroke-linecap='round'%20class='mfqwVynX_6'%3e%3c/path%3e%3cpath%20d='M47.0809%2012.6863C46.3035%2013.5332%2045.1749%2014%2044.0462%2014C42.0231%2014%2040%2012.5%2040%2010C40%207.5%2042.0231%206%2044.0462%206C45.7855%206%2047.5247%207.10857%2047.9786%209.00803C48.107%209.54553%2047.6396%2010%2047.0809%2010H41.0116'%20stroke='%23919AB6'%20stroke-width='2'%20stroke-linecap='round'%20class='mfqwVynX_7'%3e%3c/path%3e%3cpath%20d='M79.0811%2012.6864C78.3037%2013.5332%2077.175%2014.0001%2076.0464%2014.0001C74.0233%2014.0001%2072.0001%2012.5001%2072.0001%2010.0001C72.0001%207.50007%2074.0233%206.00007%2076.0464%206.00007C77.7856%206.00007%2079.5248%207.10864%2079.9787%209.00811C80.1071%209.5456%2079.6397%2010.0001%2079.0811%2010.0001H73.0117'%20stroke='%23919AB6'%20stroke-width='2'%20stroke-linecap='round'%20class='mfqwVynX_8'%3e%3c/path%3e%3cpath%20d='M51%202L51%2013.9992M58.7637%2010.23C58.7637%2012.3117%2057.0257%2013.9992%2054.8818%2013.9992C52.738%2013.9992%2051%2012.3117%2051%2010.23C51%208.14839%2052.738%206.4609%2054.8818%206.4609C57.0257%206.4609%2058.7637%208.14839%2058.7637%2010.23Z'%20stroke='%23919AB6'%20stroke-width='2'%20stroke-linecap='round'%20class='mfqwVynX_9'%3e%3c/path%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_8188_8295'%20x1='19.6018'%20y1='1.31343'%20x2='5.13539'%20y2='15.7822'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D93DF5'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%231A2EB2'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_8188_8295'%20x1='19.6018'%20y1='1.31343'%20x2='5.13539'%20y2='15.7822'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D93DF5'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%231A2EB2'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_8188_8295'%20x1='19.6018'%20y1='1.31343'%20x2='5.13539'%20y2='15.7822'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D93DF5'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%231A2EB2'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cstyle%20data-made-with='vivus-instant'%3e.mfqwVynX_0{stroke-dasharray:45%2047;stroke-dashoffset:46;animation:mfqwVynX_draw%202666ms%20ease%200ms%20forwards;}.mfqwVynX_1{stroke-dasharray:58%2060;stroke-dashoffset:59;animation:mfqwVynX_draw%202666ms%20ease%20148ms%20forwards;}.mfqwVynX_2{stroke-dasharray:8%2010;stroke-dashoffset:9;animation:mfqwVynX_draw%202666ms%20ease%20296ms%20forwards;}.mfqwVynX_3{stroke-dasharray:13%2015;stroke-dashoffset:14;animation:mfqwVynX_draw%202666ms%20ease%20444ms%20forwards;}.mfqwVynX_4{stroke-dasharray:50%2052;stroke-dashoffset:51;animation:mfqwVynX_draw%202666ms%20ease%20592ms%20forwards;}.mfqwVynX_5{stroke-dasharray:10%2012;stroke-dashoffset:11;animation:mfqwVynX_draw%202666ms%20ease%20740ms%20forwards;}.mfqwVynX_6{stroke-dasharray:17%2019;stroke-dashoffset:18;animation:mfqwVynX_draw%202666ms%20ease%20888ms%20forwards;}.mfqwVynX_7{stroke-dasharray:30%2032;stroke-dashoffset:31;animation:mfqwVynX_draw%202666ms%20ease%201037ms%20forwards;}.mfqwVynX_8{stroke-dasharray:30%2032;stroke-dashoffset:31;animation:mfqwVynX_draw%202666ms%20ease%201185ms%20forwards;}.mfqwVynX_9{stroke-dasharray:37%2039;stroke-dashoffset:38;animation:mfqwVynX_draw%202666ms%20ease%201333ms%20forwards;}@keyframes%20mfqwVynX_draw{100%25{stroke-dashoffset:0;}}@keyframes%20mfqwVynX_fade{0%25{stroke-opacity:1;}95.1219512195122%25{stroke-opacity:1;}100%25{stroke-opacity:0;}}%3c/style%3e%3c/svg%3e", Ce = (e, t) => {
|
|
3
3
|
const n = e.__vccOpts || e;
|
|
4
4
|
for (const [r, i] of t)
|
|
@@ -884,11 +884,11 @@ function S9(e, t, n) {
|
|
|
884
884
|
function D() {
|
|
885
885
|
i.value || (x.value = !1);
|
|
886
886
|
}
|
|
887
|
-
return
|
|
887
|
+
return _2([a, l, o], O, {
|
|
888
888
|
flush: "sync"
|
|
889
|
-
}),
|
|
889
|
+
}), _2([c, f], k, {
|
|
890
890
|
flush: "sync"
|
|
891
|
-
}),
|
|
891
|
+
}), _2(i, D, {
|
|
892
892
|
flush: "sync"
|
|
893
893
|
}), ea() && ta(L), {
|
|
894
894
|
x: z0(d),
|
|
@@ -1016,7 +1016,7 @@ const qa = {
|
|
|
1016
1016
|
triggers: t.triggers,
|
|
1017
1017
|
show: a,
|
|
1018
1018
|
hide: l
|
|
1019
|
-
}),
|
|
1019
|
+
}), _2(t.visible, (s) => {
|
|
1020
1020
|
s ? a() : l();
|
|
1021
1021
|
}), I2(() => {
|
|
1022
1022
|
t.visible && a();
|
|
@@ -7075,7 +7075,7 @@ function En(e) {
|
|
|
7075
7075
|
return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
|
|
7076
7076
|
}, En(e);
|
|
7077
7077
|
}
|
|
7078
|
-
function
|
|
7078
|
+
function k2(e, t) {
|
|
7079
7079
|
if (be(2, arguments), En(t) !== "object" || t === null)
|
|
7080
7080
|
throw new RangeError("values parameter must be an object");
|
|
7081
7081
|
var n = Te(e);
|
|
@@ -7266,7 +7266,7 @@ function os() {
|
|
|
7266
7266
|
}
|
|
7267
7267
|
const fl = (e, t, n, r) => {
|
|
7268
7268
|
const i = S1(e, t.slice(0, e.length), /* @__PURE__ */ new Date());
|
|
7269
|
-
return kt(i) && Io(i) ? r ? i :
|
|
7269
|
+
return kt(i) && Io(i) ? r ? i : k2(i, {
|
|
7270
7270
|
hours: +n.hours,
|
|
7271
7271
|
minutes: +(n == null ? void 0 : n.minutes),
|
|
7272
7272
|
seconds: +(n == null ? void 0 : n.seconds),
|
|
@@ -7305,7 +7305,7 @@ const fl = (e, t, n, r) => {
|
|
|
7305
7305
|
let i = e ? re(e) : re();
|
|
7306
7306
|
return (t || t === 0) && (i = ns(i, +t)), (n || n === 0) && (i = rs(i, +n)), (r || r === 0) && (i = is(i, +r)), ga(i, 0);
|
|
7307
7307
|
}, S2 = (e, t) => !e || !t ? !1 : fa(K2(e), K2(t)), ze = (e, t) => !e || !t ? !1 : zo(K2(e), K2(t)), V2 = (e, t) => !e || !t ? !1 : da(K2(e), K2(t)), ss = (e, t, n) => e && e[0] && e[1] ? V2(n, e[0]) && S2(n, e[1]) : e && e[0] && t ? V2(n, e[0]) && S2(n, t) || S2(n, e[0]) && V2(n, t) : !1, mt = (e) => {
|
|
7308
|
-
const t =
|
|
7308
|
+
const t = k2(new Date(e), { date: 1 });
|
|
7309
7309
|
return K2(t);
|
|
7310
7310
|
}, yt = Nt({
|
|
7311
7311
|
menuFocused: !1,
|
|
@@ -7842,7 +7842,7 @@ const Zd = (e, t = 3) => {
|
|
|
7842
7842
|
}, y = (p, b) => Array.isArray(b) ? b.some((I) => ze(o(re(I)), o(p))) : b(p), v = (p, b, I) => {
|
|
7843
7843
|
let H = p ? re(p) : re();
|
|
7844
7844
|
return (b || b === 0) && (H = Ot(H, b)), I && (H = H0(H, I)), H;
|
|
7845
|
-
}, O = (p) =>
|
|
7845
|
+
}, O = (p) => k2(re(), { hours: p0(p), minutes: m0(p), seconds: lt(p) }), L = (p) => k2(re(), {
|
|
7846
7846
|
hours: +p.hours || 0,
|
|
7847
7847
|
minutes: +p.minutes || 0,
|
|
7848
7848
|
seconds: +p.seconds || 0
|
|
@@ -7851,7 +7851,7 @@ const Zd = (e, t = 3) => {
|
|
|
7851
7851
|
return !0;
|
|
7852
7852
|
if (H) {
|
|
7853
7853
|
const se = I === "max" ? fa(p, b) : da(p, b), fe = { seconds: 0, milliseconds: 0 };
|
|
7854
|
-
return se || zo(
|
|
7854
|
+
return se || zo(k2(p, fe), k2(b, fe));
|
|
7855
7855
|
}
|
|
7856
7856
|
return I === "max" ? p.getTime() <= b.getTime() : p.getTime() >= b.getTime();
|
|
7857
7857
|
}, D = () => !e.enableTimePicker || e.monthPicker || e.yearPicker || e.ignoreTimeValidation, P = (p) => Array.isArray(p) ? [p[0] ? O(p[0]) : null, p[1] ? O(p[1]) : null] : O(p), R = (p) => {
|
|
@@ -7896,7 +7896,7 @@ const Zd = (e, t = 3) => {
|
|
|
7896
7896
|
}
|
|
7897
7897
|
}
|
|
7898
7898
|
return I;
|
|
7899
|
-
}, ee = (p, b, I) => [
|
|
7899
|
+
}, ee = (p, b, I) => [k2(re(p), { date: 1 }), k2(re(), { month: b, year: I, date: 1 })], ye = (p, b) => S2(...ee(e.minDate, p, b)) || ze(...ee(e.minDate, p, b)), ce = (p, b) => V2(...ee(e.maxDate, p, b)) || ze(...ee(e.maxDate, p, b)), q = (p, b, I) => {
|
|
7900
7900
|
let H = !1;
|
|
7901
7901
|
return e.maxDate && I && ce(p, b) && (H = !0), e.minDate && !I && ye(p, b) && (H = !0), H;
|
|
7902
7902
|
};
|
|
@@ -7938,7 +7938,7 @@ const Zd = (e, t = 3) => {
|
|
|
7938
7938
|
1: []
|
|
7939
7939
|
},
|
|
7940
7940
|
monthPicker: []
|
|
7941
|
-
}), ni = ae(null), Rt = ae(!1), ri = ae(!1), ii = ae(!1), ai = ae(!1), P2 = ae(0),
|
|
7941
|
+
}), ni = ae(null), Rt = ae(!1), ri = ae(!1), ii = ae(!1), ai = ae(!1), P2 = ae(0), L2 = ae(0), $0 = () => {
|
|
7942
7942
|
const e = z(() => Rt.value ? [...Qe.selectionGrid, Qe.actionRow].filter((d) => d.length) : ri.value ? [
|
|
7943
7943
|
...Qe.timePicker[0],
|
|
7944
7944
|
...Qe.timePicker[1],
|
|
@@ -7947,12 +7947,12 @@ const Zd = (e, t = 3) => {
|
|
|
7947
7947
|
].filter((d) => d.length) : ii.value ? [...Qe.monthPicker, Qe.actionRow] : [Qe.monthYear, ...Qe.calendar, Qe.time, Qe.actionRow].filter((d) => d.length)), t = (d) => {
|
|
7948
7948
|
P2.value = d ? P2.value + 1 : P2.value - 1;
|
|
7949
7949
|
let u = null;
|
|
7950
|
-
e.value[
|
|
7950
|
+
e.value[L2.value] && (u = e.value[L2.value][P2.value]), u || (P2.value = d ? P2.value - 1 : P2.value + 1);
|
|
7951
7951
|
}, n = (d) => {
|
|
7952
|
-
|
|
7952
|
+
L2.value === 0 && !d || L2.value === e.value.length && d || (L2.value = d ? L2.value + 1 : L2.value - 1, e.value[L2.value] ? e.value[L2.value] && !e.value[L2.value][P2.value] && P2.value !== 0 && (P2.value = e.value[L2.value].length - 1) : L2.value = d ? L2.value - 1 : L2.value + 1);
|
|
7953
7953
|
}, r = (d) => {
|
|
7954
7954
|
let u = null;
|
|
7955
|
-
e.value[
|
|
7955
|
+
e.value[L2.value] && (u = e.value[L2.value][P2.value]), u ? u.focus({ preventScroll: !Rt.value }) : P2.value = d ? P2.value - 1 : P2.value + 1;
|
|
7956
7956
|
}, i = () => {
|
|
7957
7957
|
t(!0), r(!0);
|
|
7958
7958
|
}, a = () => {
|
|
@@ -7966,7 +7966,7 @@ const Zd = (e, t = 3) => {
|
|
|
7966
7966
|
}, c = (d, u) => {
|
|
7967
7967
|
Qe[u] = d;
|
|
7968
7968
|
}, f = () => {
|
|
7969
|
-
P2.value = 0,
|
|
7969
|
+
P2.value = 0, L2.value = 0;
|
|
7970
7970
|
};
|
|
7971
7971
|
return {
|
|
7972
7972
|
buildMatrix: s,
|
|
@@ -8011,11 +8011,11 @@ const Zd = (e, t = 3) => {
|
|
|
8011
8011
|
!e.readonly && !e.disabled && t("update:internal-model-value", M);
|
|
8012
8012
|
}
|
|
8013
8013
|
}), h = ae([]);
|
|
8014
|
-
|
|
8014
|
+
_2(u, () => {
|
|
8015
8015
|
D();
|
|
8016
8016
|
});
|
|
8017
8017
|
const _ = rt(e, "multiCalendars");
|
|
8018
|
-
|
|
8018
|
+
_2(_, () => {
|
|
8019
8019
|
y2(0);
|
|
8020
8020
|
});
|
|
8021
8021
|
const T = ae([{ month: Je(re()), year: e2(re()) }]), x = Nt({
|
|
@@ -8049,7 +8049,7 @@ const Zd = (e, t = 3) => {
|
|
|
8049
8049
|
}, P = (M, Q = !1) => {
|
|
8050
8050
|
if ((!d.value.multiCalendars || !e.multiStatic || Q) && L(0, Je(M), e2(M)), d.value.multiCalendars)
|
|
8051
8051
|
for (let Le = 1; Le < d.value.multiCalendars; Le++) {
|
|
8052
|
-
const Ee =
|
|
8052
|
+
const Ee = k2(re(), { month: y.value(Le - 1), year: v.value(Le - 1) }), Y = Bo(Ee, { months: 1 });
|
|
8053
8053
|
T.value[Le] = { month: Je(Y), year: e2(Y) };
|
|
8054
8054
|
}
|
|
8055
8055
|
}, R = (M) => {
|
|
@@ -8106,7 +8106,7 @@ const Zd = (e, t = 3) => {
|
|
|
8106
8106
|
if (L(0, Q, Le), d.value.multiCalendars > 0)
|
|
8107
8107
|
for (let Ee = 1; Ee < d.value.multiCalendars; Ee++) {
|
|
8108
8108
|
const Y = I(
|
|
8109
|
-
|
|
8109
|
+
k2(re(M), { year: y.value(Ee - 1), month: v.value(Ee - 1) })
|
|
8110
8110
|
);
|
|
8111
8111
|
L(Ee, Y.month, Y.year);
|
|
8112
8112
|
}
|
|
@@ -8175,11 +8175,11 @@ const Zd = (e, t = 3) => {
|
|
|
8175
8175
|
return e.weekNumbers === "local" ? kc(Q.value, { weekStartsOn: +e.weekStart }) : e.weekNumbers === "iso" ? wc(Q.value) : typeof e.weekNumbers == "function" ? e.weekNumbers(Q.value) : "";
|
|
8176
8176
|
}, y2 = (M) => {
|
|
8177
8177
|
for (let Q = M - 1; Q >= 0; Q--) {
|
|
8178
|
-
const Le = et(
|
|
8178
|
+
const Le = et(k2(re(), { month: y.value(Q + 1), year: v.value(Q + 1) }), 1);
|
|
8179
8179
|
L(Q, Je(Le), e2(Le));
|
|
8180
8180
|
}
|
|
8181
8181
|
for (let Q = M + 1; Q <= d.value.multiCalendars - 1; Q++) {
|
|
8182
|
-
const Le = l0(
|
|
8182
|
+
const Le = l0(k2(re(), { month: y.value(Q - 1), year: v.value(Q - 1) }), 1);
|
|
8183
8183
|
L(Q, Je(Le), e2(Le));
|
|
8184
8184
|
}
|
|
8185
8185
|
}, r2 = (M) => c(re(), y.value(M), v.value(M)), i2 = (M) => j2(M, x.hours, x.minutes, ce()), X = (M) => {
|
|
@@ -8205,7 +8205,7 @@ const Zd = (e, t = 3) => {
|
|
|
8205
8205
|
}
|
|
8206
8206
|
n();
|
|
8207
8207
|
}, p2 = (M, Q) => {
|
|
8208
|
-
const Le =
|
|
8208
|
+
const Le = k2(re(), { month: y.value(Q), year: v.value(Q) }), Ee = M < 0 ? l0(Le, 1) : et(Le, 1);
|
|
8209
8209
|
f(Je(Ee), e2(Ee), M < 0, e.preventMinMaxNavigation) && (L(Q, Je(Ee), e2(Ee)), d.value.multiCalendars && !e.multiCalendarsSolo && y2(Q), t("update-month-year", { instance: Q, month: Je(Ee), year: e2(Ee) }), r());
|
|
8210
8210
|
}, u0 = (M) => {
|
|
8211
8211
|
xl(M) && xl(u.value) && D0(x.hours) && D0(x.minutes) ? (M[0] && u.value[0] && (u.value[0] = j2(M[0], x.hours[0], x.minutes[0], ce())), M[1] && u.value[1] && (u.value[1] = j2(M[1], x.hours[1], x.minutes[1], ce(!1)))) : e.multiDates && Array.isArray(u.value) ? u.value[u.value.length - 1] = i2(M) : !e.range && !Ll(M) && (u.value = i2(M)), t("time-update");
|
|
@@ -8267,9 +8267,9 @@ const Zd = (e, t = 3) => {
|
|
|
8267
8267
|
setDateMonthOrYear: d,
|
|
8268
8268
|
defaults: u
|
|
8269
8269
|
} = W2(t), h = ae(""), _ = rt(t, "format");
|
|
8270
|
-
|
|
8270
|
+
_2(r, () => {
|
|
8271
8271
|
e("internal-model-change", r.value);
|
|
8272
|
-
}),
|
|
8272
|
+
}), _2(_, () => {
|
|
8273
8273
|
b();
|
|
8274
8274
|
});
|
|
8275
8275
|
const T = (w) => {
|
|
@@ -8362,7 +8362,7 @@ const Zd = (e, t = 3) => {
|
|
|
8362
8362
|
let h = d;
|
|
8363
8363
|
return a.value.filters.years.includes(e2(h)) ? (h = u ? Vo(d, 1) : fd(d, 1), o(h, u)) : h;
|
|
8364
8364
|
}, s = (d) => {
|
|
8365
|
-
const u =
|
|
8365
|
+
const u = k2(/* @__PURE__ */ new Date(), { month: e.month, year: e.year });
|
|
8366
8366
|
let h = d ? l0(u, 1) : et(u, 1), _ = Je(h), T = e2(h);
|
|
8367
8367
|
a.value.filters.months.includes(_) && (h = l(h, d), _ = Je(h), T = e2(h)), a.value.filters.years.includes(T) && (h = o(h, d), T = e2(h)), n(_, T, d, e.preventMinMaxNavigation) && c(_, T);
|
|
8368
8368
|
}, c = (d, u) => {
|
|
@@ -8370,7 +8370,7 @@ const Zd = (e, t = 3) => {
|
|
|
8370
8370
|
}, f = z(() => (d) => {
|
|
8371
8371
|
if (!e.preventMinMaxNavigation || d && !e.maxDate || !d && !e.minDate)
|
|
8372
8372
|
return !1;
|
|
8373
|
-
const u =
|
|
8373
|
+
const u = k2(/* @__PURE__ */ new Date(), { month: e.month, year: e.year }), h = d ? l0(u, 1) : et(u, 1), _ = [Je(h), e2(h)];
|
|
8374
8374
|
return d ? !r(..._) : !i(..._);
|
|
8375
8375
|
});
|
|
8376
8376
|
return { handleMonthYearChange: s, isDisabled: f, updateMonthYear: c };
|
|
@@ -8382,7 +8382,7 @@ const rf = (e, t, n, r) => {
|
|
|
8382
8382
|
left: "0",
|
|
8383
8383
|
transform: "none"
|
|
8384
8384
|
}), a = ae(!1), l = rt(r, "teleportCenter");
|
|
8385
|
-
|
|
8385
|
+
_2(l, () => {
|
|
8386
8386
|
T();
|
|
8387
8387
|
});
|
|
8388
8388
|
const o = (R) => {
|
|
@@ -9418,7 +9418,7 @@ const rf = (e, t, n, r) => {
|
|
|
9418
9418
|
"header-refs": [],
|
|
9419
9419
|
"onUpdate:modelValue": o[3] || (o[3] = (s) => l.$emit("update:model-value", s)),
|
|
9420
9420
|
onToggle: o[4] || (o[4] = (s) => l.$emit("toggle"))
|
|
9421
|
-
}),
|
|
9421
|
+
}), T2({
|
|
9422
9422
|
"button-icon": B(() => [
|
|
9423
9423
|
l.$slots["calendar-icon"] ? U(l.$slots, "calendar-icon", { key: 0 }) : F("", !0),
|
|
9424
9424
|
l.$slots["calendar-icon"] ? F("", !0) : (m(), ie(S(Nr), { key: 1 }))
|
|
@@ -9565,7 +9565,7 @@ const rf = (e, t, n, r) => {
|
|
|
9565
9565
|
}, S(D)("month"), {
|
|
9566
9566
|
onToggle: I,
|
|
9567
9567
|
onSetRef: W[3] || (W[3] = (_e) => le(_e, 1))
|
|
9568
|
-
}),
|
|
9568
|
+
}), T2({
|
|
9569
9569
|
default: B(() => [
|
|
9570
9570
|
w.$slots.month ? U(w.$slots, "month", Ze(Fe({ key: 0 }, S(ye)))) : F("", !0),
|
|
9571
9571
|
w.$slots.month ? F("", !0) : (m(), E(De, { key: 1 }, [
|
|
@@ -9616,7 +9616,7 @@ const rf = (e, t, n, r) => {
|
|
|
9616
9616
|
}, S(D)("year"), {
|
|
9617
9617
|
onToggle: H,
|
|
9618
9618
|
onSetRef: W[5] || (W[5] = (_e) => le(_e, 2))
|
|
9619
|
-
}),
|
|
9619
|
+
}), T2({
|
|
9620
9620
|
default: B(() => [
|
|
9621
9621
|
w.$slots.year ? U(w.$slots, "year", {
|
|
9622
9622
|
key: 0,
|
|
@@ -9697,7 +9697,7 @@ const rf = (e, t, n, r) => {
|
|
|
9697
9697
|
"onUpdate:modelValue": W[17] || (W[17] = (_e) => N0(v) ? v.value = _e : null),
|
|
9698
9698
|
onToggle: I,
|
|
9699
9699
|
onSelected: W[18] || (W[18] = (_e) => w.$emit("overlay-closed"))
|
|
9700
|
-
}),
|
|
9700
|
+
}), T2({
|
|
9701
9701
|
header: B(() => {
|
|
9702
9702
|
var _e, C2, A;
|
|
9703
9703
|
return [
|
|
@@ -9765,7 +9765,7 @@ const rf = (e, t, n, r) => {
|
|
|
9765
9765
|
"onUpdate:modelValue": W[15] || (W[15] = (C) => N0(O) ? O.value = C : null),
|
|
9766
9766
|
onToggle: H,
|
|
9767
9767
|
onSelected: W[16] || (W[16] = (C) => w.$emit("overlay-closed"))
|
|
9768
|
-
}),
|
|
9768
|
+
}), T2({
|
|
9769
9769
|
"button-icon": B(() => [
|
|
9770
9770
|
w.$slots["calendar-icon"] ? U(w.$slots, "calendar-icon", { key: 0 }) : F("", !0),
|
|
9771
9771
|
w.$slots["calendar-icon"] ? F("", !0) : (m(), ie(S(Nr), { key: 1 }))
|
|
@@ -9810,7 +9810,7 @@ const rf = (e, t, n, r) => {
|
|
|
9810
9810
|
"year-picker": "",
|
|
9811
9811
|
onToggle: H,
|
|
9812
9812
|
onSelected: W[20] || (W[20] = (_e) => w.$emit("overlay-closed"))
|
|
9813
|
-
}),
|
|
9813
|
+
}), T2({ _: 2 }, [
|
|
9814
9814
|
w.$slots["year-overlay-value"] ? {
|
|
9815
9815
|
name: "item",
|
|
9816
9816
|
fn: B(({ item: _e }) => [
|
|
@@ -9858,7 +9858,7 @@ const rf = (e, t, n, r) => {
|
|
|
9858
9858
|
I2(() => {
|
|
9859
9859
|
n("mounted");
|
|
9860
9860
|
});
|
|
9861
|
-
const h = z(() => (p) => !!(r.maxTime && r.maxTime[p] && r.maxTime[p] < r[p] + +r[`${p}Increment`])), _ = z(() => (p) => !!(r.minTime && r.minTime[p] && r.minTime[p] > r[p] - +r[`${p}Increment`])), T = (p, b) => Bo(
|
|
9861
|
+
const h = z(() => (p) => !!(r.maxTime && r.maxTime[p] && r.maxTime[p] < r[p] + +r[`${p}Increment`])), _ = z(() => (p) => !!(r.minTime && r.minTime[p] && r.minTime[p] > r[p] - +r[`${p}Increment`])), T = (p, b) => Bo(k2(re(), p), b), x = (p, b) => dd(k2(re(), p), b), y = z(
|
|
9862
9862
|
() => ({
|
|
9863
9863
|
dp__time_col: !0,
|
|
9864
9864
|
dp__time_col_reg: !r.enableSeconds && r.is24,
|
|
@@ -10023,7 +10023,7 @@ const rf = (e, t, n, r) => {
|
|
|
10023
10023
|
onToggle: (fe) => $(H.type),
|
|
10024
10024
|
onResetFlow: b[0] || (b[0] = (fe) => p.$emit("reset-flow")),
|
|
10025
10025
|
type: H.type
|
|
10026
|
-
},
|
|
10026
|
+
}, T2({
|
|
10027
10027
|
"button-icon": B(() => [
|
|
10028
10028
|
p.$slots["clock-icon"] ? U(p.$slots, "clock-icon", { key: 0 }) : F("", !0),
|
|
10029
10029
|
p.$slots["clock-icon"] ? F("", !0) : (m(), ie(S(as), { key: 1 }))
|
|
@@ -10166,7 +10166,7 @@ const rf = (e, t, n, r) => {
|
|
|
10166
10166
|
"onUpdate:seconds": (p) => $(D(p, q, "seconds")),
|
|
10167
10167
|
onMounted: j,
|
|
10168
10168
|
onOverlayClosed: j
|
|
10169
|
-
}),
|
|
10169
|
+
}), T2({ _: 2 }, [
|
|
10170
10170
|
Ie(S(k), (p, b) => ({
|
|
10171
10171
|
name: p,
|
|
10172
10172
|
fn: B((I) => [
|
|
@@ -10385,7 +10385,7 @@ const rf = (e, t, n, r) => {
|
|
|
10385
10385
|
selectCurrentDate: w,
|
|
10386
10386
|
presetDateRange: W
|
|
10387
10387
|
} = ef(r, n, R, D, y), { setHoverDate: Ae, clearHoverDate: $e, getDayClassData: we } = Qf(N, r);
|
|
10388
|
-
|
|
10388
|
+
_2(
|
|
10389
10389
|
j,
|
|
10390
10390
|
() => {
|
|
10391
10391
|
r.openOnTop && setTimeout(() => {
|
|
@@ -10550,7 +10550,7 @@ const rf = (e, t, n, r) => {
|
|
|
10550
10550
|
onUpdateMonthYear: (Ne) => S(q)(xe, Ne),
|
|
10551
10551
|
onMonthYearSelect: S(I),
|
|
10552
10552
|
onOverlayClosed: P
|
|
10553
|
-
}),
|
|
10553
|
+
}), T2({ _: 2 }, [
|
|
10554
10554
|
Ie(S(C2), (Ne, C4) => ({
|
|
10555
10555
|
name: Ne,
|
|
10556
10556
|
fn: B((qr) => [
|
|
@@ -10581,7 +10581,7 @@ const rf = (e, t, n, r) => {
|
|
|
10581
10581
|
onResetFlow: $,
|
|
10582
10582
|
onTooltipOpen: me[4] || (me[4] = (Ne) => Y.$emit("tooltip-open", Ne)),
|
|
10583
10583
|
onTooltipClose: me[5] || (me[5] = (Ne) => Y.$emit("tooltip-close", Ne))
|
|
10584
|
-
}),
|
|
10584
|
+
}), T2({ _: 2 }, [
|
|
10585
10585
|
Ie(S(Pe), (Ne, C4) => ({
|
|
10586
10586
|
name: Ne,
|
|
10587
10587
|
fn: B((qr) => [
|
|
@@ -10609,7 +10609,7 @@ const rf = (e, t, n, r) => {
|
|
|
10609
10609
|
onResetFlow: $,
|
|
10610
10610
|
onOverlayClosed: P,
|
|
10611
10611
|
onOverlayOpened: me[10] || (me[10] = (xe) => Y.$emit("time-picker-open", xe))
|
|
10612
|
-
}),
|
|
10612
|
+
}), T2({ _: 2 }, [
|
|
10613
10613
|
Ie(S(_e), (xe, q0) => ({
|
|
10614
10614
|
name: xe,
|
|
10615
10615
|
fn: B((Ne) => [
|
|
@@ -10646,7 +10646,7 @@ const rf = (e, t, n, r) => {
|
|
|
10646
10646
|
onClosePicker: me[12] || (me[12] = (xe) => Y.$emit("close-picker")),
|
|
10647
10647
|
onSelectDate: me[13] || (me[13] = (xe) => Y.$emit("select-date")),
|
|
10648
10648
|
onInvalidSelect: me[14] || (me[14] = (xe) => Y.$emit("invalid-select"))
|
|
10649
|
-
}),
|
|
10649
|
+
}), T2({ _: 2 }, [
|
|
10650
10650
|
Ie(S(Ye), (xe, q0) => ({
|
|
10651
10651
|
name: xe,
|
|
10652
10652
|
fn: B((Ne) => [
|
|
@@ -10666,7 +10666,7 @@ const rf = (e, t, n, r) => {
|
|
|
10666
10666
|
if (!e)
|
|
10667
10667
|
return oi;
|
|
10668
10668
|
let i = oi;
|
|
10669
|
-
const a =
|
|
10669
|
+
const a = _2(
|
|
10670
10670
|
() => S(e),
|
|
10671
10671
|
(o) => {
|
|
10672
10672
|
i(), o && (o.addEventListener(t, n, r), i = () => {
|
|
@@ -10718,7 +10718,7 @@ const rf = (e, t, n, r) => {
|
|
|
10718
10718
|
}
|
|
10719
10719
|
});
|
|
10720
10720
|
const y = B0(i, "all", r.presetRanges), v = B0(i, "input");
|
|
10721
|
-
|
|
10721
|
+
_2(
|
|
10722
10722
|
[l, o],
|
|
10723
10723
|
() => {
|
|
10724
10724
|
j(l.value);
|
|
@@ -10832,7 +10832,7 @@ const rf = (e, t, n, r) => {
|
|
|
10832
10832
|
onClose: $e,
|
|
10833
10833
|
onFocus: C2,
|
|
10834
10834
|
onBlur: A
|
|
10835
|
-
}),
|
|
10835
|
+
}), T2({ _: 2 }, [
|
|
10836
10836
|
Ie(S(v), (ve, y2) => ({
|
|
10837
10837
|
name: ve,
|
|
10838
10838
|
fn: B((r2) => [
|
|
@@ -10864,7 +10864,7 @@ const rf = (e, t, n, r) => {
|
|
|
10864
10864
|
onTooltipOpen: he[6] || (he[6] = (ve) => G.$emit("tooltip-open", ve)),
|
|
10865
10865
|
onTooltipClose: he[7] || (he[7] = (ve) => G.$emit("tooltip-close", ve)),
|
|
10866
10866
|
onTimePickerOpen: he[8] || (he[8] = (ve) => G.$emit("time-picker-open", ve))
|
|
10867
|
-
}),
|
|
10867
|
+
}), T2({ _: 2 }, [
|
|
10868
10868
|
Ie(S(y), (ve, y2) => ({
|
|
10869
10869
|
name: ve,
|
|
10870
10870
|
fn: B((r2) => [
|
|
@@ -10959,7 +10959,7 @@ const fh = { class: "datepicker__timepicker" }, hh = {
|
|
|
10959
10959
|
onClosed: s[0] || (s[0] = (h) => i.value = !1),
|
|
10960
10960
|
onOpen: s[1] || (s[1] = (h) => i.value = !0),
|
|
10961
10961
|
"onUpdate:modelValue": s[2] || (s[2] = (h) => r("input", h.getTime()))
|
|
10962
|
-
}),
|
|
10962
|
+
}), T2({
|
|
10963
10963
|
"input-icon": B(() => [
|
|
10964
10964
|
K(f, {
|
|
10965
10965
|
color: e.disabled ? "disabled" : "default",
|
|
@@ -12916,9 +12916,9 @@ function Pp(e = {}, t) {
|
|
|
12916
12916
|
function r2(X, oe) {
|
|
12917
12917
|
c.value[X] = A2(c.value[X] || {}, oe), k.numberFormats = c.value, jl(k, X, oe);
|
|
12918
12918
|
}
|
|
12919
|
-
zl++, n && gh && (
|
|
12919
|
+
zl++, n && gh && (_2(n.locale, (X) => {
|
|
12920
12920
|
i && (a.value = X, k.locale = X, gt(k, a.value, l.value));
|
|
12921
|
-
}),
|
|
12921
|
+
}), _2(n.fallbackLocale, (X) => {
|
|
12922
12922
|
i && (l.value = X, k.fallbackLocale = X, gt(k, a.value, l.value));
|
|
12923
12923
|
}));
|
|
12924
12924
|
const i2 = {
|
|
@@ -15562,7 +15562,7 @@ function Qy(e, t, n, r, i, a) {
|
|
|
15562
15562
|
}, {
|
|
15563
15563
|
onClose: t[2] || (t[2] = (h) => e.isOpened = !1),
|
|
15564
15564
|
onOpen: t[3] || (t[3] = (h) => e.isOpened = !0)
|
|
15565
|
-
}, Mr(e.listeners)),
|
|
15565
|
+
}, Mr(e.listeners)), T2({
|
|
15566
15566
|
tag: B(({ option: h }) => [
|
|
15567
15567
|
V("span", Gy, ne(e.getOptionLabel({ option: h, optionLabel: e.optionLabel })), 1)
|
|
15568
15568
|
]),
|
|
@@ -15927,7 +15927,7 @@ function bg(e, t, n, r, i, a) {
|
|
|
15927
15927
|
"track-by": n.trackBy,
|
|
15928
15928
|
class: "wt-tags-input__select",
|
|
15929
15929
|
multiple: ""
|
|
15930
|
-
}, Mr(e.listeners)),
|
|
15930
|
+
}, Mr(e.listeners)), T2({
|
|
15931
15931
|
tag: B(({ option: h, remove: _ }) => [
|
|
15932
15932
|
K(s, { class: "multiselect__custom-tag" }, {
|
|
15933
15933
|
default: B(() => [
|
|
@@ -17566,7 +17566,7 @@ function Lb(e, t) {
|
|
|
17566
17566
|
}
|
|
17567
17567
|
return i;
|
|
17568
17568
|
}
|
|
17569
|
-
function
|
|
17569
|
+
function x2(e, t) {
|
|
17570
17570
|
return Tb(e) || Ab(e, t) || Us(e, t) || Eb();
|
|
17571
17571
|
}
|
|
17572
17572
|
function W1(e) {
|
|
@@ -17819,7 +17819,7 @@ function q1(e, t) {
|
|
|
17819
17819
|
}
|
|
17820
17820
|
}, t);
|
|
17821
17821
|
}
|
|
17822
|
-
var
|
|
17822
|
+
var O2 = { isIE: (
|
|
17823
17823
|
/* @cc_on!@ */
|
|
17824
17824
|
!!document.documentMode
|
|
17825
17825
|
), isEdge: window.navigator.userAgent.includes("Edge"), isWebkit: "WebkitAppearance" in document.documentElement.style && !/Edge/.test(navigator.userAgent), isIPhone: /(iPhone|iPod)/gi.test(navigator.platform), isIos: /(iPad|iPhone|iPod)/gi.test(navigator.platform) };
|
|
@@ -17850,10 +17850,10 @@ function t4(e, t) {
|
|
|
17850
17850
|
}
|
|
17851
17851
|
function z1(e, t) {
|
|
17852
17852
|
g.element(e) && !g.empty(t) && Object.entries(t).filter(function(n) {
|
|
17853
|
-
var r =
|
|
17853
|
+
var r = x2(n, 2)[1];
|
|
17854
17854
|
return !g.nullOrUndefined(r);
|
|
17855
17855
|
}).forEach(function(n) {
|
|
17856
|
-
var r =
|
|
17856
|
+
var r = x2(n, 2), i = r[0], a = r[1];
|
|
17857
17857
|
return e.setAttribute(i, a);
|
|
17858
17858
|
});
|
|
17859
17859
|
}
|
|
@@ -17883,7 +17883,7 @@ function t0(e, t) {
|
|
|
17883
17883
|
return {};
|
|
17884
17884
|
var n = {}, r = c2({}, t);
|
|
17885
17885
|
return e.split(",").forEach(function(i) {
|
|
17886
|
-
var a = i.trim(), l = a.replace(".", ""), o = a.replace(/[[\]]/g, "").split("="), s =
|
|
17886
|
+
var a = i.trim(), l = a.replace(".", ""), o = a.replace(/[[\]]/g, "").split("="), s = x2(o, 1)[0], c = o.length > 1 ? o[1].replace(/["']/g, "") : "";
|
|
17887
17887
|
switch (a.charAt(0)) {
|
|
17888
17888
|
case ".":
|
|
17889
17889
|
g.string(r.class) ? n.class = "".concat(r.class, " ").concat(l) : n.class = l;
|
|
@@ -17944,12 +17944,12 @@ function mi() {
|
|
|
17944
17944
|
g.element(e) && (e.focus({ preventScroll: !0 }), t && Re(e, this.config.classNames.tabFocus));
|
|
17945
17945
|
}
|
|
17946
17946
|
var ho = { "audio/ogg": "vorbis", "audio/wav": "1", "video/webm": "vp8, vorbis", "video/mp4": "avc1.42E01E, mp4a.40.2", "video/ogg": "theora" }, l2 = { audio: "canPlayType" in document.createElement("audio"), video: "canPlayType" in document.createElement("video"), check: function(e, t, n) {
|
|
17947
|
-
var r =
|
|
17948
|
-
return { api: i, ui: i && l2.rangeInput && (e !== "video" || !
|
|
17949
|
-
}, pip: !(
|
|
17947
|
+
var r = O2.isIPhone && n && l2.playsinline, i = l2[e] || t !== "html5";
|
|
17948
|
+
return { api: i, ui: i && l2.rangeInput && (e !== "video" || !O2.isIPhone || r) };
|
|
17949
|
+
}, pip: !(O2.isIPhone || !g.function(Se("video").webkitSetPresentationMode) && (!document.pictureInPictureEnabled || Se("video").disablePictureInPicture)), airplay: g.function(window.WebKitPlaybackTargetAvailabilityEvent), playsinline: "playsInline" in document.createElement("video"), mime: function(e) {
|
|
17950
17950
|
if (g.empty(e))
|
|
17951
17951
|
return !1;
|
|
17952
|
-
var t =
|
|
17952
|
+
var t = x2(e.split("/"), 1)[0], n = e;
|
|
17953
17953
|
if (!this.isHTML5 || t !== this.type)
|
|
17954
17954
|
return !1;
|
|
17955
17955
|
Object.keys(ho).includes(n) && (n += '; codecs="'.concat(ho[e], '"'));
|
|
@@ -18028,7 +18028,7 @@ function n4(e) {
|
|
|
18028
18028
|
function r4(e) {
|
|
18029
18029
|
if (!g.array(e) || !e.every(g.number))
|
|
18030
18030
|
return null;
|
|
18031
|
-
var t =
|
|
18031
|
+
var t = x2(e, 2), n = t[0], r = t[1], i = function a(l, o) {
|
|
18032
18032
|
return o === 0 ? l : a(o, l % o);
|
|
18033
18033
|
}(n, r);
|
|
18034
18034
|
return [n / i, r / i];
|
|
@@ -18046,7 +18046,7 @@ function Pa(e) {
|
|
|
18046
18046
|
function A0(e) {
|
|
18047
18047
|
if (!this.isVideo)
|
|
18048
18048
|
return {};
|
|
18049
|
-
var t = this.elements.wrapper, n = Pa.call(this, e), r =
|
|
18049
|
+
var t = this.elements.wrapper, n = Pa.call(this, e), r = x2(g.array(n) ? n : [0, 0], 2), i = 100 / r[0] * r[1];
|
|
18050
18050
|
if (t.style.paddingBottom = "".concat(i, "%"), this.isVimeo && !this.config.vimeo.premium && this.supported.ui) {
|
|
18051
18051
|
var a = 100 / this.media.offsetWidth * parseInt(window.getComputedStyle(this.media).paddingBottom, 10), l = (a - i) / (a / 50);
|
|
18052
18052
|
this.fullscreen.active ? t.style.paddingBottom = null : this.media.style.transform = "translateY(-".concat(l, "%)");
|
|
@@ -18151,7 +18151,7 @@ var po = { pip: "PIP", airplay: "AirPlay", html5: "HTML5", vimeo: "Vimeo", youtu
|
|
|
18151
18151
|
return Object.keys(po).includes(e) ? po[e] : "";
|
|
18152
18152
|
var r = { "{seektime}": t.seekTime, "{title}": t.title };
|
|
18153
18153
|
return Object.entries(r).forEach(function(i) {
|
|
18154
|
-
var a =
|
|
18154
|
+
var a = x2(i, 2), l = a[0], o = a[1];
|
|
18155
18155
|
n = St(n, l, o);
|
|
18156
18156
|
}), n;
|
|
18157
18157
|
} }, a4 = function() {
|
|
@@ -18246,7 +18246,7 @@ function Yr() {
|
|
|
18246
18246
|
return i = t || i > 0 ? "".concat(i, ":") : "", "".concat(n && e > 0 ? "-" : "").concat(i).concat(r(a), ":").concat(r(l));
|
|
18247
18247
|
}
|
|
18248
18248
|
var ue = { getIconUrl: function() {
|
|
18249
|
-
var e = new URL(this.config.iconUrl, window.location).host !== window.location.host ||
|
|
18249
|
+
var e = new URL(this.config.iconUrl, window.location).host !== window.location.host || O2.isIE && !window.svg4everybody;
|
|
18250
18250
|
return { url: this.config.iconUrl, cors: e };
|
|
18251
18251
|
}, findElements: function() {
|
|
18252
18252
|
try {
|
|
@@ -18392,7 +18392,7 @@ var ue = { getIconUrl: function() {
|
|
|
18392
18392
|
t.setAttribute("aria-valuenow", a), t.setAttribute("aria-valuetext", "".concat(a.toFixed(1), "%"));
|
|
18393
18393
|
} else
|
|
18394
18394
|
t.setAttribute("aria-valuenow", t.value);
|
|
18395
|
-
|
|
18395
|
+
O2.isWebkit && t.style.setProperty("--value", "".concat(t.value / t.max * 100, "%"));
|
|
18396
18396
|
}
|
|
18397
18397
|
}, updateSeekTooltip: function(e) {
|
|
18398
18398
|
var t = this;
|
|
@@ -18571,7 +18571,7 @@ var ue = { getIconUrl: function() {
|
|
|
18571
18571
|
}
|
|
18572
18572
|
if (u === "current-time" && f.appendChild(l.call(t, "currentTime", d)), u === "duration" && f.appendChild(l.call(t, "duration", d)), u === "mute" || u === "volume") {
|
|
18573
18573
|
var x = t.elements.volume;
|
|
18574
|
-
if (g.element(x) && f.contains(x) || (x = Se("div", c2({}, d, { class: "".concat(d.class, " plyr__volume").trim() })), t.elements.volume = x, f.appendChild(x)), u === "mute" && x.appendChild(r.call(t, "mute")), u === "volume" && !
|
|
18574
|
+
if (g.element(x) && f.contains(x) || (x = Se("div", c2({}, d, { class: "".concat(d.class, " plyr__volume").trim() })), t.elements.volume = x, f.appendChild(x)), u === "mute" && x.appendChild(r.call(t, "mute")), u === "volume" && !O2.isIos) {
|
|
18575
18575
|
var y = { max: 1, step: 0.05, value: t.config.volume };
|
|
18576
18576
|
x.appendChild(a.call(t, "volume", c2(y, { id: "plyr-volume-".concat(e.id) })));
|
|
18577
18577
|
}
|
|
@@ -18616,7 +18616,7 @@ var ue = { getIconUrl: function() {
|
|
|
18616
18616
|
g.function(this.config.controls) && (this.config.controls = this.config.controls.call(this, r)), this.config.controls || (this.config.controls = []), g.element(this.config.controls) || g.string(this.config.controls) ? n = this.config.controls : (n = ue.create.call(this, { id: this.id, seektime: this.config.seekTime, speed: this.speed, quality: this.quality, captions: We.getLabel.call(this) }), i = !1);
|
|
18617
18617
|
var a, l;
|
|
18618
18618
|
if (i && g.string(this.config.controls) && (a = n, Object.entries(r).forEach(function(h) {
|
|
18619
|
-
var _ =
|
|
18619
|
+
var _ = x2(h, 2), T = _[0], x = _[1];
|
|
18620
18620
|
a = St(a, "{".concat(T, "}"), x);
|
|
18621
18621
|
}), n = a), g.string(this.config.selectors.controls.container) && (l = document.querySelector(this.config.selectors.controls.container)), g.element(l) || (l = this.elements.container), l[g.element(n) ? "insertAdjacentElement" : "insertAdjacentHTML"]("afterbegin", n), g.element(this.elements.controls) || ue.findElements.call(this), !g.empty(this.elements.buttons)) {
|
|
18622
18622
|
var o = function(h) {
|
|
@@ -18632,7 +18632,7 @@ var ue = { getIconUrl: function() {
|
|
|
18632
18632
|
g.array(h) || g.nodeList(h) ? Array.from(h).filter(Boolean).forEach(o) : o(h);
|
|
18633
18633
|
});
|
|
18634
18634
|
}
|
|
18635
|
-
if (
|
|
18635
|
+
if (O2.isEdge && q1(l), this.config.tooltips.controls) {
|
|
18636
18636
|
var s = this.config, c = s.classNames, f = s.selectors, d = "".concat(f.controls.wrapper, " ").concat(f.labels, " .").concat(c.hidden), u = tt.call(this, d);
|
|
18637
18637
|
Array.from(u).forEach(function(h) {
|
|
18638
18638
|
Re(h, e.config.classNames.hidden, !1), Re(h, e.config.classNames.tooltip, !0);
|
|
@@ -18654,7 +18654,7 @@ function s4(e) {
|
|
|
18654
18654
|
function c4(e) {
|
|
18655
18655
|
var t = new URLSearchParams();
|
|
18656
18656
|
return g.object(e) && Object.entries(e).forEach(function(n) {
|
|
18657
|
-
var r =
|
|
18657
|
+
var r = x2(n, 2), i = r[0], a = r[1];
|
|
18658
18658
|
t.set(i, a);
|
|
18659
18659
|
}), t;
|
|
18660
18660
|
}
|
|
@@ -18663,7 +18663,7 @@ var We = { setup: function() {
|
|
|
18663
18663
|
if (!this.isVideo || this.isYouTube || this.isHTML5 && !l2.textTracks)
|
|
18664
18664
|
g.array(this.config.controls) && this.config.controls.includes("settings") && this.config.settings.includes("captions") && ue.setCaptionsMenu.call(this);
|
|
18665
18665
|
else {
|
|
18666
|
-
if (g.element(this.elements.captions) || (this.elements.captions = Se("div", t0(this.config.selectors.captions)), rw(this.elements.captions, this.elements.wrapper)),
|
|
18666
|
+
if (g.element(this.elements.captions) || (this.elements.captions = Se("div", t0(this.config.selectors.captions)), rw(this.elements.captions, this.elements.wrapper)), O2.isIE && window.URL) {
|
|
18667
18667
|
var e = this.media.querySelectorAll("track");
|
|
18668
18668
|
Array.from(e).forEach(function(a) {
|
|
18669
18669
|
var l = a.getAttribute("src"), o = s4(l);
|
|
@@ -18677,7 +18677,7 @@ var We = { setup: function() {
|
|
|
18677
18677
|
var t = G1((navigator.languages || [navigator.language || navigator.userLanguage || "en"]).map(function(a) {
|
|
18678
18678
|
return a.split("-")[0];
|
|
18679
18679
|
})), n = (this.storage.get("language") || this.config.captions.language || "auto").toLowerCase();
|
|
18680
|
-
n === "auto" && (n =
|
|
18680
|
+
n === "auto" && (n = x2(t, 1)[0]);
|
|
18681
18681
|
var r = this.storage.get("captions");
|
|
18682
18682
|
if (g.boolean(r) || (r = this.config.captions.active), Object.assign(this.captions, { toggled: !1, active: r, language: n, languages: t }), this.isHTML5) {
|
|
18683
18683
|
var i = this.config.captions.update ? "addtrack removetrack" : "removetrack";
|
|
@@ -18821,7 +18821,7 @@ var vi = function() {
|
|
|
18821
18821
|
}
|
|
18822
18822
|
} }, { key: "toggleFallback", value: function() {
|
|
18823
18823
|
var t = arguments.length > 0 && arguments[0] !== void 0 && arguments[0];
|
|
18824
|
-
if (t ? this.scrollPosition = { x: window.scrollX || 0, y: window.scrollY || 0 } : window.scrollTo(this.scrollPosition.x, this.scrollPosition.y), document.body.style.overflow = t ? "hidden" : "", Re(this.target, this.player.config.classNames.fullscreen.fallback, t),
|
|
18824
|
+
if (t ? this.scrollPosition = { x: window.scrollX || 0, y: window.scrollY || 0 } : window.scrollTo(this.scrollPosition.x, this.scrollPosition.y), document.body.style.overflow = t ? "hidden" : "", Re(this.target, this.player.config.classNames.fullscreen.fallback, t), O2.isIos) {
|
|
18825
18825
|
var n = document.head.querySelector('meta[name="viewport"]'), r = "viewport-fit=cover";
|
|
18826
18826
|
n || (n = document.createElement("meta")).setAttribute("name", "viewport");
|
|
18827
18827
|
var i = g.string(n.content) && n.content.includes(r);
|
|
@@ -18831,18 +18831,18 @@ var vi = function() {
|
|
|
18831
18831
|
}
|
|
18832
18832
|
this.onChange();
|
|
18833
18833
|
} }, { key: "trapFocus", value: function(t) {
|
|
18834
|
-
if (!
|
|
18835
|
-
var n = document.activeElement, r = tt.call(this.player, "a[href], button:not(:disabled), input:not(:disabled), [tabindex]"), i =
|
|
18834
|
+
if (!O2.isIos && this.active && t.key === "Tab" && t.keyCode === 9) {
|
|
18835
|
+
var n = document.activeElement, r = tt.call(this.player, "a[href], button:not(:disabled), input:not(:disabled), [tabindex]"), i = x2(r, 1)[0], a = r[r.length - 1];
|
|
18836
18836
|
n !== a || t.shiftKey ? n === i && t.shiftKey && (a.focus(), t.preventDefault()) : (i.focus(), t.preventDefault());
|
|
18837
18837
|
}
|
|
18838
18838
|
} }, { key: "update", value: function() {
|
|
18839
18839
|
var t;
|
|
18840
18840
|
this.enabled ? (t = this.forceFallback ? "Fallback (forced)" : e.native ? "Native" : "Fallback", this.player.debug.log("".concat(t, " fullscreen enabled"))) : this.player.debug.log("Fullscreen not supported and fallback disabled"), Re(this.player.elements.container, this.player.config.classNames.fullscreen.enabled, this.enabled);
|
|
18841
18841
|
} }, { key: "enter", value: function() {
|
|
18842
|
-
this.enabled && (
|
|
18842
|
+
this.enabled && (O2.isIos && this.player.config.fullscreen.iosNative ? this.target.webkitEnterFullscreen() : !e.native || this.forceFallback ? this.toggleFallback(!0) : this.prefix ? g.empty(this.prefix) || this.target["".concat(this.prefix, "Request").concat(this.property)]() : this.target.requestFullscreen({ navigationUI: "hide" }));
|
|
18843
18843
|
} }, { key: "exit", value: function() {
|
|
18844
18844
|
if (this.enabled)
|
|
18845
|
-
if (
|
|
18845
|
+
if (O2.isIos && this.player.config.fullscreen.iosNative)
|
|
18846
18846
|
this.target.webkitExitFullscreen(), a0(this.player.play());
|
|
18847
18847
|
else if (!e.native || this.forceFallback)
|
|
18848
18848
|
this.toggleFallback(!1);
|
|
@@ -18867,7 +18867,7 @@ var vi = function() {
|
|
|
18867
18867
|
var t = this.prefix ? document["".concat(this.prefix).concat(this.property, "Element")] : document.fullscreenElement;
|
|
18868
18868
|
return t && t.shadowRoot ? t === this.target.getRootNode().host : t === this.target;
|
|
18869
18869
|
} }, { key: "target", get: function() {
|
|
18870
|
-
return
|
|
18870
|
+
return O2.isIos && this.player.config.fullscreen.iosNative ? this.player.media : this.player.elements.fullscreen || this.player.elements.container;
|
|
18871
18871
|
} }], [{ key: "native", get: function() {
|
|
18872
18872
|
return !!(document.fullscreenEnabled || document.webkitFullscreenEnabled || document.mozFullScreenEnabled || document.msFullscreenEnabled);
|
|
18873
18873
|
} }, { key: "prefix", get: function() {
|
|
@@ -18899,7 +18899,7 @@ var Ge = { addStyleHook: function() {
|
|
|
18899
18899
|
var e = this;
|
|
18900
18900
|
if (this.listeners.media(), !this.supported.ui)
|
|
18901
18901
|
return this.debug.warn("Basic support only for ".concat(this.provider, " ").concat(this.type)), void Ge.toggleNativeControls.call(this, !0);
|
|
18902
|
-
g.element(this.elements.controls) || (ue.inject.call(this), this.listeners.controls()), Ge.toggleNativeControls.call(this), this.isHTML5 && We.setup.call(this), this.volume = null, this.muted = null, this.loop = null, this.quality = null, this.speed = null, ue.updateVolume.call(this), ue.timeUpdate.call(this), Ge.checkPlaying.call(this), Re(this.elements.container, this.config.classNames.pip.supported, l2.pip && this.isHTML5 && this.isVideo), Re(this.elements.container, this.config.classNames.airplay.supported, l2.airplay && this.isHTML5), Re(this.elements.container, this.config.classNames.isIos,
|
|
18902
|
+
g.element(this.elements.controls) || (ue.inject.call(this), this.listeners.controls()), Ge.toggleNativeControls.call(this), this.isHTML5 && We.setup.call(this), this.volume = null, this.muted = null, this.loop = null, this.quality = null, this.speed = null, ue.updateVolume.call(this), ue.timeUpdate.call(this), Ge.checkPlaying.call(this), Re(this.elements.container, this.config.classNames.pip.supported, l2.pip && this.isHTML5 && this.isVideo), Re(this.elements.container, this.config.classNames.airplay.supported, l2.airplay && this.isHTML5), Re(this.elements.container, this.config.classNames.isIos, O2.isIos), Re(this.elements.container, this.config.classNames.isTouch, this.touch), this.ready = !0, setTimeout(function() {
|
|
18903
18903
|
Oe.call(e, e.media, "ready");
|
|
18904
18904
|
}, 0), Ge.setTitle.call(this), this.poster && Ge.setPoster.call(this, this.poster, !1).catch(function() {
|
|
18905
18905
|
}), this.config.duration && ue.durationUpdate.call(this);
|
|
@@ -19051,7 +19051,7 @@ var Ge = { addStyleHook: function() {
|
|
|
19051
19051
|
var d = o.type === "enterfullscreen", u = a(d);
|
|
19052
19052
|
u.padding, function(h, _, T) {
|
|
19053
19053
|
if (t.isVimeo && !t.config.vimeo.premium) {
|
|
19054
|
-
var x = t.elements.wrapper.firstChild, y =
|
|
19054
|
+
var x = t.elements.wrapper.firstChild, y = x2(h, 2)[1], v = x2(Pa.call(t), 2), O = v[0], L = v[1];
|
|
19055
19055
|
x.style.maxWidth = T ? "".concat(y / L * O, "px") : null, x.style.margin = T ? "0 auto" : null;
|
|
19056
19056
|
}
|
|
19057
19057
|
}(u.ratio, 0, d), d && setTimeout(function() {
|
|
@@ -19112,7 +19112,7 @@ var Ge = { addStyleHook: function() {
|
|
|
19112
19112
|
return a.proxy(f, r, i);
|
|
19113
19113
|
}, l && !c);
|
|
19114
19114
|
} }, { key: "controls", value: function() {
|
|
19115
|
-
var t = this, n = this.player, r = n.elements, i =
|
|
19115
|
+
var t = this, n = this.player, r = n.elements, i = O2.isIE ? "change" : "input";
|
|
19116
19116
|
if (r.buttons.play && Array.from(r.buttons.play).forEach(function(l) {
|
|
19117
19117
|
t.bind(l, "click", function() {
|
|
19118
19118
|
a0(n.togglePlay());
|
|
@@ -19148,7 +19148,7 @@ var Ge = { addStyleHook: function() {
|
|
|
19148
19148
|
var f = o.hasAttribute(c), d = ["mouseup", "touchend", "keyup"].includes(l.type);
|
|
19149
19149
|
f && d ? (o.removeAttribute(c), a0(n.play())) : !d && n.playing && (o.setAttribute(c, ""), n.pause());
|
|
19150
19150
|
}
|
|
19151
|
-
}),
|
|
19151
|
+
}), O2.isIos) {
|
|
19152
19152
|
var a = tt.call(n, 'input[type="range"]');
|
|
19153
19153
|
Array.from(a).forEach(function(l) {
|
|
19154
19154
|
return t.bind(l, i, function(o) {
|
|
@@ -19173,7 +19173,7 @@ var Ge = { addStyleHook: function() {
|
|
|
19173
19173
|
}), this.bind(r.progress, "mouseup touchend", function(l) {
|
|
19174
19174
|
var o = n.previewThumbnails;
|
|
19175
19175
|
o && o.loaded && o.endScrubbing(l);
|
|
19176
|
-
}),
|
|
19176
|
+
}), O2.isWebkit && Array.from(tt.call(n, 'input[type="range"]')).forEach(function(l) {
|
|
19177
19177
|
t.bind(l, "input", function(o) {
|
|
19178
19178
|
return ue.updateRangeFill.call(n, o.target);
|
|
19179
19179
|
});
|
|
@@ -19201,7 +19201,7 @@ var Ge = { addStyleHook: function() {
|
|
|
19201
19201
|
return Ge.toggleControls.call(n, !1);
|
|
19202
19202
|
}, s);
|
|
19203
19203
|
}), this.bind(r.inputs.volume, "wheel", function(l) {
|
|
19204
|
-
var o = l.webkitDirectionInvertedFromDevice, s =
|
|
19204
|
+
var o = l.webkitDirectionInvertedFromDevice, s = x2([l.deltaX, -l.deltaY].map(function(h) {
|
|
19205
19205
|
return o ? -h : h;
|
|
19206
19206
|
}), 2), c = s[0], f = s[1], d = Math.sign(Math.abs(c) > Math.abs(f) ? c : f);
|
|
19207
19207
|
n.increaseVolume(d / 50);
|
|
@@ -19393,7 +19393,7 @@ var K1 = { setup: function() {
|
|
|
19393
19393
|
} }), Object.defineProperty(t.media, "ended", { get: function() {
|
|
19394
19394
|
return t.currentTime === t.duration;
|
|
19395
19395
|
} }), Promise.all([t.embed.getVideoWidth(), t.embed.getVideoHeight()]).then(function(v) {
|
|
19396
|
-
var O =
|
|
19396
|
+
var O = x2(v, 2), L = O[0], k = O[1];
|
|
19397
19397
|
t.embed.ratio = [L, k], A0.call(e);
|
|
19398
19398
|
}), t.embed.setAutopause(t.config.autopause).then(function(v) {
|
|
19399
19399
|
t.config.autopause = v;
|
|
@@ -19733,9 +19733,9 @@ var Nn = { setup: function() {
|
|
|
19733
19733
|
n.split(/\r\n|\n|\r/).forEach(function(i) {
|
|
19734
19734
|
if (g.number(r.startTime)) {
|
|
19735
19735
|
if (!g.empty(i.trim()) && g.empty(r.text)) {
|
|
19736
|
-
var a = i.trim().split("#xywh="), l =
|
|
19736
|
+
var a = i.trim().split("#xywh="), l = x2(a, 1);
|
|
19737
19737
|
if (r.text = l[0], a[1]) {
|
|
19738
|
-
var o =
|
|
19738
|
+
var o = x2(a[1].split(","), 4);
|
|
19739
19739
|
r.x = o[0], r.y = o[1], r.w = o[2], r.h = o[3];
|
|
19740
19740
|
}
|
|
19741
19741
|
}
|
|
@@ -19949,7 +19949,7 @@ var Nn = { setup: function() {
|
|
|
19949
19949
|
var t = this;
|
|
19950
19950
|
e4(e, "sources.length") ? (x0.cancelRequests.call(this), this.destroy.call(this, function() {
|
|
19951
19951
|
t.options.quality = [], y0(t.media), t.media = null, g.element(t.elements.container) && t.elements.container.removeAttribute("class");
|
|
19952
|
-
var n = e.sources, r = e.type, i =
|
|
19952
|
+
var n = e.sources, r = e.type, i = x2(n, 1)[0], a = i.provider, l = a === void 0 ? _0.html5 : a, o = i.src, s = l === "html5" ? r : "div", c = l === "html5" ? {} : { src: o };
|
|
19953
19953
|
Object.assign(t, { provider: l, type: r, supported: l2.check(r, l, t.config.playsinline), media: Se(s, c) }), t.elements.container.appendChild(t.media), g.boolean(e.autoplay) && (t.config.autoplay = e.autoplay), t.isHTML5 && (t.config.crossorigin && t.media.setAttribute("crossorigin", ""), t.config.autoplay && t.media.setAttribute("autoplay", ""), g.empty(e.poster) || (t.poster = e.poster), t.config.loop.active && t.media.setAttribute("loop", ""), t.config.muted && t.media.setAttribute("muted", ""), t.config.playsinline && t.media.setAttribute("playsinline", "")), Ge.addStyleHook.call(t), t.isHTML5 && Q1.insertElements.call(t, "source", n), t.config.title = e.title, d4.setup.call(t), t.isHTML5 && Object.keys(e).includes("tracks") && Q1.insertElements.call(t, "track", e.tracks), (t.isHTML5 || t.isEmbed && !t.supported.ui) && Ge.build.call(t), t.isHTML5 && t.media.load(), g.empty(e.previewThumbnails) || (Object.assign(t.config.previewThumbnails, e.previewThumbnails), t.previewThumbnails && t.previewThumbnails.loaded && (t.previewThumbnails.destroy(), t.previewThumbnails = null), t.config.previewThumbnails.enabled && (t.previewThumbnails = new f4(t))), t.fullscreen.update();
|
|
19954
19954
|
}, !0)) : this.debug.warn("Invalid source format");
|
|
19955
19955
|
} };
|
|
@@ -20193,7 +20193,7 @@ var h4 = function() {
|
|
|
20193
20193
|
} }]), e;
|
|
20194
20194
|
}();
|
|
20195
20195
|
h4.defaults = nw(u4);
|
|
20196
|
-
var Ew = { 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.ENQQGknNjU/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: "24.2.
|
|
20196
|
+
var Ew = { 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.ENQQGknNjU/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: "24.2.48", STUDIO_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/studio.vmoptions", HOME: "/Users/admin", SHLVL: "2", HOMEBREW_PREFIX: "/opt/homebrew", IDEA_INITIAL_DIRECTORY: "/", LOGNAME: "admin", npm_config_cache: "/Users/admin/.npm", npm_lifecycle_script: "vite build", GATEWAY_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/gateway.vmoptions", LC_CTYPE: "en_US.UTF-8", DATAGRIP_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/datagrip.vmoptions", NVM_BIN: "/Users/admin/.nvm/versions/node/v20.9.0/bin", npm_config_user_agent: "npm/10.1.0 node/v20.9.0 darwin arm64 workspaces/false", INFOPATH: "/opt/homebrew/share/info:", HOMEBREW_CELLAR: "/opt/homebrew/Cellar", RIDER_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/rider.vmoptions", JETBRAINS_CLIENT_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/jetbrains_client.vmoptions", RUBYMINE_VM_OPTIONS: "/Users/admin/Downloads/jetbra/vmoptions/rubymine.vmoptions", 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" };
|
|
20197
20197
|
const Sw = {
|
|
20198
20198
|
name: "WtPlayer",
|
|
20199
20199
|
props: {
|
|
@@ -21228,45 +21228,54 @@ const f_ = /* @__PURE__ */ Ce(o_, [["render", d_], ["__scopeId", "data-v-546ba72
|
|
|
21228
21228
|
default: !1
|
|
21229
21229
|
}
|
|
21230
21230
|
},
|
|
21231
|
-
|
|
21232
|
-
|
|
21233
|
-
|
|
21234
|
-
|
|
21231
|
+
emits: ["opened", "closed"],
|
|
21232
|
+
setup(e, { emit: t }) {
|
|
21233
|
+
const n = e, r = t, i = ae(!n.collapsed);
|
|
21234
|
+
function a() {
|
|
21235
|
+
i.value || (i.value = !0, r("opened"));
|
|
21235
21236
|
}
|
|
21236
|
-
|
|
21237
|
-
|
|
21237
|
+
function l() {
|
|
21238
|
+
i.value && (i.value = !1, r("closed"));
|
|
21239
|
+
}
|
|
21240
|
+
function o() {
|
|
21241
|
+
return i.value ? l() : a();
|
|
21242
|
+
}
|
|
21243
|
+
return _2(() => n.collapsed, (s) => {
|
|
21244
|
+
s ? l() : a();
|
|
21245
|
+
}), (s, c) => {
|
|
21246
|
+
const f = te("wt-icon"), d = te("wt-expand-transition");
|
|
21238
21247
|
return m(), E("div", {
|
|
21239
|
-
class: de([[`wt-expansion-panel--${
|
|
21248
|
+
class: de([[`wt-expansion-panel--${n.size}`], "wt-expansion-panel"])
|
|
21240
21249
|
}, [
|
|
21241
21250
|
V("div", {
|
|
21242
21251
|
class: "wt-expansion-panel-header",
|
|
21243
21252
|
tabindex: "0",
|
|
21244
|
-
onClick:
|
|
21245
|
-
onKeypress:
|
|
21253
|
+
onClick: o,
|
|
21254
|
+
onKeypress: Me(o, ["enter"])
|
|
21246
21255
|
}, [
|
|
21247
|
-
U(
|
|
21256
|
+
U(s.$slots, "title", {}, void 0, !0),
|
|
21248
21257
|
V("div", A_, [
|
|
21249
|
-
U(
|
|
21250
|
-
K(
|
|
21251
|
-
class: de({ "wt-expansion-panel-arrow--opened":
|
|
21258
|
+
U(s.$slots, "actions", Ze(Xe({ open: a, opened: i.value })), void 0, !0),
|
|
21259
|
+
K(f, {
|
|
21260
|
+
class: de(["wt-expansion-panel-arrow", { "wt-expansion-panel-arrow--opened": i.value }]),
|
|
21252
21261
|
icon: "arrow-right"
|
|
21253
21262
|
}, null, 8, ["class"])
|
|
21254
21263
|
])
|
|
21255
21264
|
], 32),
|
|
21256
|
-
o2(K(
|
|
21265
|
+
o2(K(d, null, {
|
|
21257
21266
|
default: B(() => [
|
|
21258
21267
|
V("div", $_, [
|
|
21259
|
-
U(
|
|
21268
|
+
U(s.$slots, "default", {}, void 0, !0)
|
|
21260
21269
|
])
|
|
21261
21270
|
], void 0, !0),
|
|
21262
21271
|
_: 3
|
|
21263
21272
|
}, 512), [
|
|
21264
|
-
[N2,
|
|
21273
|
+
[N2, i.value]
|
|
21265
21274
|
])
|
|
21266
21275
|
], 2);
|
|
21267
21276
|
};
|
|
21268
21277
|
}
|
|
21269
|
-
}, S_ = /* @__PURE__ */ Ce(E_, [["__scopeId", "data-v-
|
|
21278
|
+
}, S_ = /* @__PURE__ */ Ce(E_, [["__scopeId", "data-v-0909d532"]]), go = {
|
|
21270
21279
|
WtLogo: F4,
|
|
21271
21280
|
WtAvatar: I4,
|
|
21272
21281
|
WtBadge: Y4,
|
|
@@ -21363,7 +21372,7 @@ function Bn(...e) {
|
|
|
21363
21372
|
Array.isArray(n) || (n = [n]), Array.isArray(r) || (r = [r]);
|
|
21364
21373
|
const a = [], l = () => {
|
|
21365
21374
|
a.forEach((f) => f()), a.length = 0;
|
|
21366
|
-
}, o = (f, d, u, h) => (f.addEventListener(d, u, h), () => f.removeEventListener(d, u, h)), s =
|
|
21375
|
+
}, o = (f, d, u, h) => (f.addEventListener(d, u, h), () => f.removeEventListener(d, u, h)), s = _2(
|
|
21367
21376
|
() => [_t(t), Mt(i)],
|
|
21368
21377
|
([f, d]) => {
|
|
21369
21378
|
if (l(), !f)
|
|
@@ -21452,7 +21461,7 @@ const Ut = /* @__PURE__ */ new WeakMap();
|
|
|
21452
21461
|
function V_(e, t = !1) {
|
|
21453
21462
|
const n = ae(t);
|
|
21454
21463
|
let r = null, i;
|
|
21455
|
-
|
|
21464
|
+
_2(F_(e), (o) => {
|
|
21456
21465
|
const s = Ci(Mt(o));
|
|
21457
21466
|
if (s) {
|
|
21458
21467
|
const c = s;
|
|
@@ -21493,7 +21502,7 @@ function I_() {
|
|
|
21493
21502
|
return;
|
|
21494
21503
|
e = !0;
|
|
21495
21504
|
const i = V_(n, r.value);
|
|
21496
|
-
|
|
21505
|
+
_2(t, (a) => i.value = a);
|
|
21497
21506
|
};
|
|
21498
21507
|
}
|
|
21499
21508
|
I_();
|