@webitel/ui-sdk 26.8.138 → 26.8.140
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/clients-B87Nx03m.js +42474 -0
- package/dist/{components-DirfTDyC.js → components-peYTVwLb.js} +1238 -1156
- package/dist/{convertDuration-y5tRHrgE.js → convertDuration-CIPonKKW.js} +1 -1
- package/dist/{enums-CLu6QDOc.js → enums-CKer6GJR.js} +0 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +3 -3
- package/dist/ui-sdk.umd.cjs +650 -650
- package/dist/{useValidation-BO5PKJ7c.js → useValidation-B1EJdGM4.js} +1 -1
- package/dist/{utils-DVfDViCh.js → utils-DQQQIpjz.js} +1 -1
- package/dist/{wt-action-bar-RruYJ0y6.js → wt-action-bar-CJiWenUy.js} +2 -2
- package/dist/{wt-badge-LyfZxvmI.js → wt-badge-B3NI2a3-.js} +1 -1
- package/dist/{wt-button-COHcpvhY.js → wt-button-DSs8WAg-.js} +2 -2
- package/dist/{wt-chat-emoji-D7UDa2Xn.js → wt-chat-emoji-D72hYTJU.js} +4 -4
- package/dist/{wt-datepicker-D5ARLEeQ.js → wt-datepicker-Cx8yPH4d.js} +2 -2
- package/dist/{wt-display-chip-items-Dqwb5b-S.js → wt-display-chip-items-DwdzIwJH.js} +2 -2
- package/dist/{wt-dual-panel-BRgwCFK_.js → wt-dual-panel-BHfOeLJZ.js} +1 -1
- package/dist/{wt-expansion-card-JQxugKar.js → wt-expansion-card-CNkGLQvo.js} +1 -1
- package/dist/{wt-expansion-panel-BHxaV6pi.js → wt-expansion-panel-CGFamfkt.js} +1 -1
- package/dist/{wt-icon-CgzRk5RS.js → wt-icon-Cr_aDKIX.js} +1 -1
- package/dist/{wt-icon-action-DqN65BiE.js → wt-icon-action-DnDFrScL.js} +1 -1
- package/dist/{wt-icon-btn-DwwaYWSw.js → wt-icon-btn-Dy4odu2Q.js} +1 -1
- package/dist/{wt-notifications-bar-BlybO6wl.js → wt-notifications-bar-BDtvykT7.js} +2 -2
- package/dist/{wt-player-CVj1a9-l.js → wt-player-BjnujOrP.js} +3 -3
- package/dist/{wt-screen-recordings-action-DKCrbDdO.js → wt-screen-recordings-action-CHlh4sNO.js} +1 -1
- package/dist/{wt-search-bar-DpsACKmt.js → wt-search-bar-Bp9M1oCq.js} +1 -1
- package/dist/{wt-send-message-popup-CQ0-OKQE.js → wt-send-message-popup-D3KQ6fqe.js} +3 -3
- package/dist/{wt-status-select-CwrK_Q9v.js → wt-status-select-DItpCCVE.js} +2 -2
- package/dist/{wt-table-C_Vk3v8K.js → wt-table-ByNazLN3.js} +3 -3
- package/dist/{wt-timepicker-DhXZ0OI8.js → wt-timepicker-BW0HmFJI.js} +2 -2
- package/dist/{wt-toast-CrvaF-UL.js → wt-toast-CAoQkSuJ.js} +2 -2
- package/dist/{wt-tree-table-BqV7-6Pz.js → wt-tree-table-Rf2Jq-39.js} +1 -1
- package/dist/{wt-type-extension-value-input-DPFFWC81.js → wt-type-extension-value-input-BQjSYAdt.js} +6 -6
- package/dist/{wt-vidstack-player-DB7M5VzI.js → wt-vidstack-player-DwS6IkZJ.js} +5 -5
- package/package.json +1 -1
- package/src/components/index.js +3 -0
- package/src/components/wt-navigation-rail/__tests__/WtNavigationRail.spec.js +90 -0
- package/src/components/wt-navigation-rail/_internals/navigation-rail-button.vue +79 -0
- package/src/components/wt-navigation-rail/_variables.css +45 -0
- package/src/components/wt-navigation-rail/types/WtNavigationRail.ts +19 -0
- package/src/components/wt-navigation-rail/wt-navigation-rail.vue +108 -0
- package/src/components/wt-page/__tests__/WtPage.spec.js +60 -1
- package/src/components/wt-page/wt-page.vue +40 -3
- package/src/css/components-variables.css +1 -0
- package/src/enums/WebitelApplications/AdminSections.ts +0 -1
- package/src/modules/Userinfo/classes/ApplicationsAccess.ts +6 -6
- package/src/modules/Userinfo/classes/__tests__/ApplicationsAccess.spec.ts +2 -9
- package/src/modules/Userinfo/mappings/__tests__/mappings.spec.ts +10 -12
- package/src/modules/Userinfo/mappings/mappings.ts +2 -2
- package/types/.tsbuildinfo +1 -1
- package/types/components/index.d.ts +3 -1
- package/types/components/wt-navigation-rail/__tests__/WtNavigationRail.spec.d.ts +1 -0
- package/types/components/wt-navigation-rail/_internals/navigation-rail-button.vue.d.ts +12 -0
- package/types/components/wt-navigation-rail/types/WtNavigationRail.d.ts +17 -0
- package/types/components/wt-navigation-rail/wt-navigation-rail.vue.d.ts +25 -0
- package/types/components/wt-page/wt-page.vue.d.ts +20 -1
- package/types/enums/WebitelApplications/AdminSections.d.ts +0 -1
- package/dist/clients-CKBvYoKf.js +0 -42456
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as e } from "./enums-
|
|
1
|
+
import { u as e } from "./enums-CKer6GJR.js";
|
|
2
2
|
import { n as t } from "./vue-i18n-VBiROMZ4.js";
|
|
3
3
|
import { computed as n, isReactive as r, isRef as i, unref as a } from "vue";
|
|
4
4
|
//#region src/mixins/validationMixin/regle/useRegleValidation.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./caseConverters-DGri4uJo.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { f as n } from "./enums-
|
|
4
|
-
import { t as r } from "./wt-icon-action-
|
|
3
|
+
import { f as n } from "./enums-CKer6GJR.js";
|
|
4
|
+
import { t as r } from "./wt-icon-action-DnDFrScL.js";
|
|
5
5
|
import { Fragment as i, computed as a, createElementBlock as o, createVNode as s, defineComponent as c, guardReactiveProps as l, mergeProps as u, normalizeProps as d, openBlock as f, renderList as p, renderSlot as m } from "vue";
|
|
6
6
|
//#region src/components/wt-action-bar/WtActionBarActionsOrder.ts
|
|
7
7
|
var h = [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { k as t } from "./enums-
|
|
2
|
+
import { k as t } from "./enums-CKer6GJR.js";
|
|
3
3
|
import { createCommentVNode as n, createElementBlock as r, createElementVNode as i, normalizeClass as a, normalizeStyle as o, openBlock as s, renderSlot as c, vShow as l, withDirectives as u } from "vue";
|
|
4
4
|
//#region src/components/wt-badge/assets/badge-dnd.svg
|
|
5
5
|
var d = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='4'%20cy='4'%20r='4'%20fill='%23FFC000'/%3e%3crect%20x='2'%20y='3'%20width='4'%20height='2'%20fill='%23F7F7F7'/%3e%3c/svg%3e", f = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='8'%20cy='8'%20r='8'%20fill='%23169C18'/%3e%3cpath%20d='M5%204.80433L5%2011.1958C5%2011.9813%205.86395%2012.4601%206.53%2012.0438L11.6432%208.84808C12.2699%208.45642%2012.2699%207.54376%2011.6432%207.15209L6.53%203.95634C5.86395%203.54005%205%204.0189%205%204.80433Z'%20fill='white'/%3e%3c/svg%3e", p = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='8'%20cy='8'%20r='8'%20fill='%23F6AB55'/%3e%3cpath%20d='M6%204C6.55228%204%207%204.44772%207%205L7%2011C7%2011.5523%206.55228%2012%206%2012H5C4.44772%2012%204%2011.5523%204%2011L4%205C4%204.44772%204.44772%204%205%204L6%204Z'%20fill='white'/%3e%3cpath%20d='M11%204C11.5523%204%2012%204.44772%2012%205V11C12%2011.5523%2011.5523%2012%2011%2012H10C9.44772%2012%209%2011.5523%209%2011L9%205C9%204.44772%209.44772%204%2010%204L11%204Z'%20fill='white'/%3e%3c/svg%3e", m = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./wt-icon-
|
|
2
|
-
import { D as t, E as n, h as r } from "./enums-
|
|
1
|
+
import { t as e } from "./wt-icon-Cr_aDKIX.js";
|
|
2
|
+
import { D as t, E as n, h as r } from "./enums-CKer6GJR.js";
|
|
3
3
|
import { computed as i, createBlock as a, createCommentVNode as o, createElementVNode as s, createTextVNode as c, defineComponent as l, inject as u, mergeProps as d, normalizeClass as f, openBlock as p, ref as m, renderSlot as h, resolveComponent as g, toDisplayString as _, toRef as v, unref as y, useAttrs as b, watch as x, withCtx as S, withModifiers as C } from "vue";
|
|
4
4
|
//#endregion
|
|
5
5
|
//#region src/components/wt-badge-new/wt-badge.vue
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./components-
|
|
1
|
+
import "./components-peYTVwLb.js";
|
|
2
2
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { E as t, h as n } from "./enums-
|
|
4
|
-
import { t as r } from "./wt-button-
|
|
5
|
-
import { n as i } from "./wt-toast-
|
|
3
|
+
import { E as t, h as n } from "./enums-CKer6GJR.js";
|
|
4
|
+
import { t as r } from "./wt-button-DSs8WAg-.js";
|
|
5
|
+
import { n as i } from "./wt-toast-CAoQkSuJ.js";
|
|
6
6
|
import { Teleport as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createVNode as u, nextTick as d, onBeforeUnmount as f, openBlock as p, ref as m, resolveDirective as h, unref as g, withDirectives as ee } from "vue";
|
|
7
7
|
//#region node_modules/emoji-picker-element/database.js
|
|
8
8
|
function _(e) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as e, i as t, n, r, t as i } from "./toZonedTime-B8L5kbse.js";
|
|
2
2
|
import { t as a } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { D as o, E as s, h as c, l } from "./enums-
|
|
3
|
+
import { D as o, E as s, h as c, l } from "./enums-CKer6GJR.js";
|
|
4
4
|
import { n as u } from "./vue-i18n-VBiROMZ4.js";
|
|
5
|
-
import { t as d } from "./useValidation-
|
|
5
|
+
import { t as d } from "./useValidation-B1EJdGM4.js";
|
|
6
6
|
import { computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineComponent as y, guardReactiveProps as b, mergeModels as x, mergeProps as S, nextTick as C, normalizeProps as w, onMounted as T, onUnmounted as E, openBlock as D, renderSlot as O, resolveComponent as k, toDisplayString as A, toRefs as j, unref as M, useModel as N, useTemplateRef as P, vShow as F, withCtx as I, withDirectives as ee } from "vue";
|
|
7
7
|
import te from "primevue/datepicker";
|
|
8
8
|
//#region node_modules/date-fns-tz/dist/esm/fromZonedTime/index.js
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as e, i as t } from "./components-
|
|
1
|
+
import { C as e, i as t } from "./components-peYTVwLb.js";
|
|
2
2
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { t as r } from "./utils-
|
|
3
|
+
import { t as r } from "./utils-DQQQIpjz.js";
|
|
4
4
|
import { Fragment as i, computed as a, createCommentVNode as o, createElementBlock as s, createTextVNode as c, createVNode as l, defineComponent as u, openBlock as d, renderList as f, renderSlot as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
|
|
5
5
|
//#region src/components/on-demand/wt-display-chip-items/wt-display-chip-items.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var _ = { class: "wt-display-chip-items" }, v = { key: 0 }, y = ["onClick"], b = /*#__PURE__*/ n(/* @__PURE__ */ u({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { f as t, h as n } from "./enums-
|
|
2
|
+
import { f as t, h as n } from "./enums-CKer6GJR.js";
|
|
3
3
|
import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, normalizeClass as c, openBlock as l, ref as u, renderSlot as d, resolveComponent as f, unref as p } from "vue";
|
|
4
4
|
//#region src/components/wt-dual-panel/wt-dual-panel.vue
|
|
5
5
|
var m = { class: "wt-dual-panel" }, h = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { h as t } from "./enums-
|
|
2
|
+
import { h as t } from "./enums-CKer6GJR.js";
|
|
3
3
|
import { t as n } from "./useExpansion-DVdIpoOn.js";
|
|
4
4
|
import "./composables-BeyROIj_.js";
|
|
5
5
|
import { t as r } from "./wt-expand-transition-C2p9bR4j.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { h as t } from "./enums-
|
|
2
|
+
import { h as t } from "./enums-CKer6GJR.js";
|
|
3
3
|
import { t as n } from "./useExpansion-DVdIpoOn.js";
|
|
4
4
|
import { t as r } from "./wt-expand-transition-C2p9bR4j.js";
|
|
5
5
|
import { createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, guardReactiveProps as c, normalizeClass as l, normalizeProps as u, openBlock as d, renderSlot as f, resolveComponent as p, toRef as m, unref as h, vShow as g, withCtx as _, withDirectives as v, withKeys as y } from "vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as e } from "./caseConverters-DGri4uJo.js";
|
|
2
|
-
import { d as t, h as n } from "./enums-
|
|
2
|
+
import { d as t, h as n } from "./enums-CKer6GJR.js";
|
|
3
3
|
import { computed as r, createElementBlock as i, defineComponent as a, normalizeClass as o, openBlock as s } from "vue";
|
|
4
4
|
//#region node_modules/dompurify/dist/purify.es.mjs
|
|
5
5
|
function c(e, t) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as e } from "./enums-
|
|
1
|
+
import { f as e } from "./enums-CKer6GJR.js";
|
|
2
2
|
import { n as t } from "./vue-i18n-VBiROMZ4.js";
|
|
3
3
|
import { t as n } from "./sortQueryAdapters-Bb1yt_LD.js";
|
|
4
4
|
import { computed as r, createBlock as i, openBlock as a, resolveComponent as o, resolveDirective as s, unref as c, withDirectives as l } from "vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./wt-icon-
|
|
1
|
+
import { t as e } from "./wt-icon-Cr_aDKIX.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
3
|
import { createElementBlock as n, createVNode as r, defineComponent as i, mergeProps as a, normalizeClass as o, openBlock as s } from "vue";
|
|
4
4
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as e } from "./enums-
|
|
2
|
-
import { n as t, t as n } from "./wt-toast-
|
|
1
|
+
import { u as e } from "./enums-CKer6GJR.js";
|
|
2
|
+
import { n as t, t as n } from "./wt-toast-CAoQkSuJ.js";
|
|
3
3
|
import { createBlock as r, inject as i, onUnmounted as a, openBlock as o } from "vue";
|
|
4
4
|
import { useToast as s } from "primevue/usetoast";
|
|
5
5
|
//#region src/components/wt-toast/types/index.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "./wt-icon-
|
|
1
|
+
import { t as e } from "./wt-icon-Cr_aDKIX.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { h as n } from "./enums-
|
|
4
|
-
import { t as r } from "./wt-button-
|
|
3
|
+
import { h as n } from "./enums-CKer6GJR.js";
|
|
4
|
+
import { t as r } from "./wt-button-DSs8WAg-.js";
|
|
5
5
|
import { n as i, t as a } from "./useVidstackSrc-aQcqC_v0.js";
|
|
6
6
|
import { t as o } from "./wt-popover-BI6YyXy0.js";
|
|
7
7
|
import { t as s } from "./wt-slider-x-Tch7RT.js";
|
package/dist/{wt-screen-recordings-action-DKCrbDdO.js → wt-screen-recordings-action-CHlh4sNO.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import "./utils-
|
|
2
|
+
import "./utils-DQQQIpjz.js";
|
|
3
3
|
import { t } from "./engineCallFileType-D7QVFOac.js";
|
|
4
4
|
import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, openBlock as u, resolveComponent as d, toDisplayString as f, unref as p, withCtx as m } from "vue";
|
|
5
5
|
//#region src/components/on-demand/wt-screen-recordings-action/wt-screen-recordings-action.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { t } from "./debounce-A4B4PTkL.js";
|
|
3
|
-
import { t as n } from "./useValidation-
|
|
3
|
+
import { t as n } from "./useValidation-B1EJdGM4.js";
|
|
4
4
|
import { computed as r, createBlock as i, createCommentVNode as a, createElementVNode as o, createSlots as s, createTextVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, openBlock as f, renderSlot as p, resolveComponent as m, resolveDirective as h, toDisplayString as g, toRefs as _, unref as v, withCtx as y, withDirectives as b } from "vue";
|
|
5
5
|
//#region src/components/wt-search-bar/wt-search-bar.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var x = { class: "wt-search-bar__icon-controls" }, S = /*#__PURE__*/ e(/* @__PURE__ */ u({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "./components-
|
|
2
|
-
import "./convertDuration-
|
|
3
|
-
import { i as t, r as n } from "./clients-
|
|
1
|
+
import { n as e } from "./components-peYTVwLb.js";
|
|
2
|
+
import "./convertDuration-CIPonKKW.js";
|
|
3
|
+
import { i as t, r as n } from "./clients-B87Nx03m.js";
|
|
4
4
|
import { n as r } from "./vue-i18n-VBiROMZ4.js";
|
|
5
5
|
import { n as i } from "./useEventBus-B-ZeklLu.js";
|
|
6
6
|
import { createBlock as a, createTextVNode as o, createVNode as s, defineComponent as c, mergeProps as l, onMounted as u, openBlock as d, ref as f, resolveComponent as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./convertDuration-
|
|
2
|
-
import { O as t, h as n } from "./enums-
|
|
1
|
+
import { t as e } from "./convertDuration-CIPonKKW.js";
|
|
2
|
+
import { O as t, h as n } from "./enums-CKer6GJR.js";
|
|
3
3
|
import { n as r } from "./vue-i18n-VBiROMZ4.js";
|
|
4
4
|
import { computed as i, createBlock as a, createVNode as o, defineComponent as s, openBlock as c, resolveComponent as l, unref as u, withCtx as d } from "vue";
|
|
5
5
|
//#region src/components/wt-status-select/_internals/StatusOptions.lookup.js
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { h as t } from "./enums-
|
|
3
|
-
import { t as n } from "./wt-badge-
|
|
2
|
+
import { h as t } from "./enums-CKer6GJR.js";
|
|
3
|
+
import { t as n } from "./wt-badge-B3NI2a3-.js";
|
|
4
4
|
import { n as r } from "./vue-i18n-VBiROMZ4.js";
|
|
5
5
|
import { n as i, t as a } from "./sortQueryAdapters-Bb1yt_LD.js";
|
|
6
|
-
import { t as o } from "./wt-icon-btn-
|
|
6
|
+
import { t as o } from "./wt-icon-btn-Dy4odu2Q.js";
|
|
7
7
|
import { t as s } from "./composables-BeyROIj_.js";
|
|
8
8
|
import { t as c } from "./wt-popover-BI6YyXy0.js";
|
|
9
9
|
import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as h, createTextVNode as g, createVNode as _, defineComponent as v, guardReactiveProps as y, nextTick as b, normalizeClass as x, normalizeProps as S, normalizeStyle as C, onMounted as w, onUnmounted as T, openBlock as E, ref as D, renderList as ee, renderSlot as O, resolveComponent as k, resolveDirective as te, toDisplayString as A, unref as j, useSlots as M, useTemplateRef as ne, withCtx as N, withDirectives as P, withModifiers as F } from "vue";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { h as t, l as n } from "./enums-
|
|
2
|
+
import { h as t, l as n } from "./enums-CKer6GJR.js";
|
|
3
3
|
import { n as r } from "./vue-i18n-VBiROMZ4.js";
|
|
4
|
-
import { t as i } from "./useValidation-
|
|
4
|
+
import { t as i } from "./useValidation-B1EJdGM4.js";
|
|
5
5
|
import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, defineComponent as d, guardReactiveProps as f, mergeProps as p, nextTick as m, normalizeClass as h, normalizeProps as g, openBlock as _, renderSlot as v, resolveComponent as y, toDisplayString as b, toRefs as x, unref as S, withCtx as C } from "vue";
|
|
6
6
|
//#region src/components/wt-timepicker/wt-timepicker.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var w = { class: "wt-timepicker__wrapper" }, T = 3600, E = 60, D = /*#__PURE__*/ e(/* @__PURE__ */ d({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./wt-icon-
|
|
2
|
-
import { h as t, u as n } from "./enums-
|
|
1
|
+
import { t as e } from "./wt-icon-Cr_aDKIX.js";
|
|
2
|
+
import { h as t, u as n } from "./enums-CKer6GJR.js";
|
|
3
3
|
import { Fragment as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, guardReactiveProps as u, normalizeProps as d, normalizeStyle as f, openBlock as p, resolveComponent as m, toDisplayString as h, unref as g, useAttrs as _, withCtx as v } from "vue";
|
|
4
4
|
//#region node_modules/mitt/dist/mitt.mjs
|
|
5
5
|
function y(e) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { n as t } from "./sortQueryAdapters-Bb1yt_LD.js";
|
|
3
3
|
import { t as n } from "./wt-checkbox-BBdi-1oS.js";
|
|
4
|
-
import { t as r } from "./wt-icon-btn-
|
|
4
|
+
import { t as r } from "./wt-icon-btn-Dy4odu2Q.js";
|
|
5
5
|
import { t as i } from "./useWtTable-AYb1yHre.js";
|
|
6
6
|
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createSlots as d, createTextVNode as f, createVNode as p, defineComponent as m, nextTick as h, normalizeClass as g, normalizeStyle as _, onMounted as v, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveComponent as C, toDisplayString as w, toRef as T, unref as E, withCtx as D, withModifiers as O } from "vue";
|
|
7
7
|
//#region src/components/wt-tree-table-row/wt-tree-table-row.vue?vue&type=script&setup=true&lang.ts
|
package/dist/{wt-type-extension-value-input-DPFFWC81.js → wt-type-extension-value-input-BQjSYAdt.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { a as e, c as t, i as n, n as r, r as i, s as a, t as o } from "./dist-EXdgfpvN.js";
|
|
2
2
|
import { n as s } from "./genClient-CvWlQ0TZ.js";
|
|
3
3
|
import { a as c } from "./caseConverters-DGri4uJo.js";
|
|
4
|
-
import { a as l, o as u, r as d, s as f } from "./components-
|
|
5
|
-
import { a as p, n as m, t as h } from "./clients-
|
|
6
|
-
import { S as g, _, a as v, c as y, f as b, i as x, n as S, o as C, p as w, r as T, s as E, t as D, x as O } from "./enums-
|
|
4
|
+
import { a as l, o as u, r as d, s as f } from "./components-peYTVwLb.js";
|
|
5
|
+
import { a as p, n as m, t as h } from "./clients-B87Nx03m.js";
|
|
6
|
+
import { S as g, _, a as v, c as y, f as b, i as x, n as S, o as C, p as w, r as T, s as E, t as D, x as O } from "./enums-CKer6GJR.js";
|
|
7
7
|
import { n as ee, t as te } from "./vue-i18n-VBiROMZ4.js";
|
|
8
|
-
import "./wt-toast-
|
|
8
|
+
import "./wt-toast-CAoQkSuJ.js";
|
|
9
9
|
import { t as k } from "./sortQueryAdapters-Bb1yt_LD.js";
|
|
10
10
|
import { t as ne } from "./deep-copy-BJdHBMNZ.js";
|
|
11
11
|
import { computed as re, createBlock as ie, createCommentVNode as ae, createVNode as oe, defineComponent as A, inject as se, mergeModels as ce, mergeProps as le, openBlock as ue, reactive as j, renderSlot as M, resolveComponent as de, toValue as fe, unref as N, useModel as pe } from "vue";
|
|
@@ -199,7 +199,6 @@ S.License, S.Object, S.Configuration, be.SystemSetting, S.GlobalVariable, be.Sch
|
|
|
199
199
|
[S.ChangeLog]: y.Changelogs,
|
|
200
200
|
[S.Configuration]: y.Configuration,
|
|
201
201
|
[S.GlobalVariable]: y.GlobalVariables,
|
|
202
|
-
[S.WorkingCondition]: y.WorkingConditions,
|
|
203
202
|
[S.Member]: y.Members,
|
|
204
203
|
[S.QuickReply]: y.QuickReplies,
|
|
205
204
|
[S.ActivityType]: y.ActivityTypes
|
|
@@ -225,8 +224,9 @@ S.License, S.Object, S.Configuration, be.SystemSetting, S.GlobalVariable, be.Sch
|
|
|
225
224
|
},
|
|
226
225
|
[T.Wfm]: {
|
|
227
226
|
[S.Agent]: x.Agents,
|
|
227
|
+
[S.ShiftTemplate]: x.ShiftTemplates,
|
|
228
228
|
[S.PauseTemplate]: x.PauseTemplates,
|
|
229
|
-
[S.
|
|
229
|
+
[S.WorkingCondition]: x.WorkingConditions
|
|
230
230
|
}
|
|
231
231
|
}), me(y), me(E), me(C), me(v), me(x);
|
|
232
232
|
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { w as e } from "./components-
|
|
2
|
-
import "./convertDuration-
|
|
1
|
+
import { w as e } from "./components-peYTVwLb.js";
|
|
2
|
+
import "./convertDuration-CIPonKKW.js";
|
|
3
3
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
4
|
-
import { h as n } from "./enums-
|
|
5
|
-
import "./wt-button-
|
|
6
|
-
import { t as r } from "./wt-icon-btn-
|
|
4
|
+
import { h as n } from "./enums-CKer6GJR.js";
|
|
5
|
+
import "./wt-button-DSs8WAg-.js";
|
|
6
|
+
import { t as r } from "./wt-icon-btn-Dy4odu2Q.js";
|
|
7
7
|
import { $ as i, C as a, D as o, F as s, G as c, H as l, I as u, J as d, K as f, L as p, M as m, N as h, O as g, P as ee, Q as _, R as te, S as v, U as ne, V as y, W as b, X as x, Y as re, Z as S, _ as C, a as ie, b as ae, c as oe, d as se, et as ce, f as le, g as ue, h as de, i as w, it as fe, j as pe, k as me, l as T, m as he, n as E, nt as D, o as O, ot as ge, p as k, q as A, r as j, rt as _e, t as ve, tt as ye, u as be, v as M, w as xe, y as Se, z as Ce } from "./vidstack-D9mvYVIz-DesuYgKV.js";
|
|
8
8
|
import { _ as N, a as we, c as Te, d as Ee, f as De, g as Oe, h as ke, i as Ae, l as je, m as Me, n as Ne, o as Pe, p as Fe, r as Ie, s as Le, t as P, u as Re } from "./vidstack-CgfrU1hS-CNTJkyzm.js";
|
|
9
9
|
import { _ as ze, a as Be, c as Ve, f as He, g as Ue, h as We, i as Ge, l as Ke, n as qe, r as Je, s as Ye, t as Xe, u as Ze, v as Qe, x as $e, y as et } from "./useVidstackSrc-aQcqC_v0.js";
|
package/package.json
CHANGED
package/src/components/index.js
CHANGED
|
@@ -38,6 +38,7 @@ import WtLogo from './wt-logo/wt-logo.vue';
|
|
|
38
38
|
import WtMessage from './wt-message/wt-message.vue';
|
|
39
39
|
import WtMultiSelect from './wt-multi-select/wt-multi-select.vue';
|
|
40
40
|
import WtNavigationBar from './wt-navigation-bar/wt-navigation-bar.vue';
|
|
41
|
+
import WtNavigationRail from './wt-navigation-rail/wt-navigation-rail.vue';
|
|
41
42
|
import WtPage from './wt-page/wt-page.vue';
|
|
42
43
|
import WtPageWrapper from './wt-page-wrapper/wt-page-wrapper.vue';
|
|
43
44
|
import WtPassword from './wt-password/wt-password.vue';
|
|
@@ -279,6 +280,7 @@ const Components = {
|
|
|
279
280
|
WtHeaderActions,
|
|
280
281
|
WtErrorPage,
|
|
281
282
|
WtNotificationsBar,
|
|
283
|
+
WtNavigationRail,
|
|
282
284
|
WtPage,
|
|
283
285
|
WtPageWrapper,
|
|
284
286
|
WtDualPanel,
|
|
@@ -374,6 +376,7 @@ export {
|
|
|
374
376
|
WtMultiSelect,
|
|
375
377
|
WtNavigationBar,
|
|
376
378
|
WtNavigationMenu,
|
|
379
|
+
WtNavigationRail,
|
|
377
380
|
WtNotificationsBar,
|
|
378
381
|
WtPage,
|
|
379
382
|
WtPageHeader,
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { mount } from '@vue/test-utils';
|
|
2
|
+
|
|
3
|
+
import WtNavigationRail from '../wt-navigation-rail.vue';
|
|
4
|
+
|
|
5
|
+
const top = [
|
|
6
|
+
{
|
|
7
|
+
id: 'home',
|
|
8
|
+
icon: 'home',
|
|
9
|
+
label: 'Home',
|
|
10
|
+
badge: {
|
|
11
|
+
value: 1,
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
id: 'calls',
|
|
16
|
+
icon: 'call',
|
|
17
|
+
label: 'Calls',
|
|
18
|
+
},
|
|
19
|
+
];
|
|
20
|
+
const bottom = [
|
|
21
|
+
{
|
|
22
|
+
id: 'dialer',
|
|
23
|
+
icon: 'call',
|
|
24
|
+
label: 'Dialer',
|
|
25
|
+
},
|
|
26
|
+
];
|
|
27
|
+
|
|
28
|
+
const mountRail = (props) =>
|
|
29
|
+
mount(WtNavigationRail, {
|
|
30
|
+
props,
|
|
31
|
+
global: {
|
|
32
|
+
stubs: {
|
|
33
|
+
WtButton: false,
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
describe('WtNavigationRail', () => {
|
|
39
|
+
it('renders top and bottom buttons', () => {
|
|
40
|
+
const wrapper = mountRail({
|
|
41
|
+
topItems: top,
|
|
42
|
+
bottomItems: bottom,
|
|
43
|
+
});
|
|
44
|
+
const groups = wrapper.findAll('.wt-navigation-rail__group');
|
|
45
|
+
expect(groups[0].findAll('.navigation-rail-button')).toHaveLength(2);
|
|
46
|
+
expect(groups[1].findAll('.navigation-rail-button')).toHaveLength(1);
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
it('marks active item', () => {
|
|
50
|
+
const wrapper = mountRail({
|
|
51
|
+
topItems: top,
|
|
52
|
+
bottomItems: bottom,
|
|
53
|
+
activeItemId: 'calls',
|
|
54
|
+
});
|
|
55
|
+
const active = wrapper.findAll('.navigation-rail-button--active');
|
|
56
|
+
expect(active).toHaveLength(1);
|
|
57
|
+
expect(active[0].attributes('aria-label')).toBe('Calls');
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
it('renders badge only for items with badge', () => {
|
|
61
|
+
const wrapper = mountRail({
|
|
62
|
+
topItems: top,
|
|
63
|
+
});
|
|
64
|
+
expect(wrapper.findAll('.wt-badge')).toHaveLength(1);
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
it('renders nothing while both lists are empty', () => {
|
|
68
|
+
const wrapper = mountRail({});
|
|
69
|
+
expect(wrapper.find('.wt-navigation-rail').exists()).toBe(false);
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
it('renders when only one list is not empty', () => {
|
|
73
|
+
const wrapper = mountRail({
|
|
74
|
+
bottomItems: bottom,
|
|
75
|
+
});
|
|
76
|
+
expect(wrapper.find('.wt-navigation-rail').exists()).toBe(true);
|
|
77
|
+
expect(wrapper.findAll('.wt-navigation-rail__group')).toHaveLength(1);
|
|
78
|
+
});
|
|
79
|
+
|
|
80
|
+
it('emits select on click', async () => {
|
|
81
|
+
const wrapper = mountRail({
|
|
82
|
+
topItems: top,
|
|
83
|
+
bottomItems: bottom,
|
|
84
|
+
});
|
|
85
|
+
await wrapper.findAll('button')[2].trigger('click');
|
|
86
|
+
expect(wrapper.emitted('select')[0]).toEqual([
|
|
87
|
+
bottom[0],
|
|
88
|
+
]);
|
|
89
|
+
});
|
|
90
|
+
});
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<wt-tooltip :disabled="!item.label" placement="right">
|
|
3
|
+
<template #activator>
|
|
4
|
+
<wt-button
|
|
5
|
+
:class="{ 'navigation-rail-button--active': active }"
|
|
6
|
+
:aria-label="item.label"
|
|
7
|
+
:aria-current="active ? 'page' : undefined"
|
|
8
|
+
:badge="item.badge ? String(item.badge.value) : undefined"
|
|
9
|
+
:badge-severity="item.badge?.severity ?? 'success'"
|
|
10
|
+
:disabled="item.disabled"
|
|
11
|
+
:icon="item.icon"
|
|
12
|
+
:size="ComponentSize.SM"
|
|
13
|
+
:variant="ButtonVariant.TEXT"
|
|
14
|
+
class="navigation-rail-button"
|
|
15
|
+
@click="emit('select', item)"
|
|
16
|
+
/>
|
|
17
|
+
</template>
|
|
18
|
+
{{ item.label }}
|
|
19
|
+
</wt-tooltip>
|
|
20
|
+
</template>
|
|
21
|
+
|
|
22
|
+
<script setup lang="ts">
|
|
23
|
+
import { ButtonVariant, ComponentSize } from '../../../enums';
|
|
24
|
+
import WtButton from '../../wt-button/wt-button.vue';
|
|
25
|
+
import WtTooltip from '../../wt-tooltip/wt-tooltip.vue';
|
|
26
|
+
import type { NavigationRailItem } from '../types/WtNavigationRail';
|
|
27
|
+
|
|
28
|
+
defineProps<{
|
|
29
|
+
item: NavigationRailItem;
|
|
30
|
+
active?: boolean;
|
|
31
|
+
}>();
|
|
32
|
+
|
|
33
|
+
const emit = defineEmits<{
|
|
34
|
+
select: [
|
|
35
|
+
item: NavigationRailItem,
|
|
36
|
+
];
|
|
37
|
+
}>();
|
|
38
|
+
</script>
|
|
39
|
+
|
|
40
|
+
<style scoped>
|
|
41
|
+
/* wt-button theme colors are overridden with navigation rail tokens */
|
|
42
|
+
.navigation-rail-button.p-button.p-button-text {
|
|
43
|
+
--icon-color: var(--wt-navigation-rail-button-icon-color);
|
|
44
|
+
background: transparent;
|
|
45
|
+
color: var(--wt-navigation-rail-button-icon-color);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.navigation-rail-button.p-button.p-button-text:not(:disabled):hover {
|
|
49
|
+
--icon-color: var(--wt-navigation-rail-button-icon-color);
|
|
50
|
+
background: var(--wt-navigation-rail-button-background--hover);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.navigation-rail-button.p-button.p-button-text:not(:disabled):active {
|
|
54
|
+
--icon-color: var(--wt-navigation-rail-button-icon-color);
|
|
55
|
+
background: var(--wt-navigation-rail-button-background--pressed);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.navigation-rail-button--active.p-button.p-button-text,
|
|
59
|
+
.navigation-rail-button--active.p-button.p-button-text:not(:disabled):active {
|
|
60
|
+
--icon-color: var(--wt-navigation-rail-button-icon-color--active);
|
|
61
|
+
background: var(--wt-navigation-rail-button-background--active);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.navigation-rail-button--active.p-button.p-button-text:not(:disabled):hover {
|
|
65
|
+
--icon-color: var(--wt-navigation-rail-button-icon-color--active-hover);
|
|
66
|
+
background: var(--wt-navigation-rail-button-background--active-hover);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.navigation-rail-button :deep(.wt-badge) {
|
|
70
|
+
position: absolute;
|
|
71
|
+
top: var(--wt-navigation-rail-badge-offset-y);
|
|
72
|
+
left: var(--wt-navigation-rail-badge-offset-x);
|
|
73
|
+
/* p-badge sets own width/min-width (1.5rem), override to match design */
|
|
74
|
+
width: auto;
|
|
75
|
+
min-width: var(--wt-navigation-rail-badge-size);
|
|
76
|
+
height: var(--wt-navigation-rail-badge-size);
|
|
77
|
+
padding: 0 var(--wt-navigation-rail-badge-padding-x);
|
|
78
|
+
}
|
|
79
|
+
</style>
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--wt-navigation-rail-width: 48px;
|
|
3
|
+
--wt-navigation-rail-padding-x: 8px;
|
|
4
|
+
--wt-navigation-rail-padding-y: 8px;
|
|
5
|
+
--wt-navigation-rail-gap: 8px;
|
|
6
|
+
--wt-navigation-rail-border-radius: 0;
|
|
7
|
+
--wt-navigation-rail-background: linear-gradient(
|
|
8
|
+
to top right,
|
|
9
|
+
rgba(20, 34, 184, 1) 0%,
|
|
10
|
+
rgba(192, 66, 215, 1) 100%
|
|
11
|
+
);
|
|
12
|
+
|
|
13
|
+
--wt-navigation-rail-button-icon-color: var(--p-indigo-50);
|
|
14
|
+
--wt-navigation-rail-button-background--hover: var(--p-deep-purple-600);
|
|
15
|
+
--wt-navigation-rail-button-background--pressed: var(--p-deep-purple-500);
|
|
16
|
+
--wt-navigation-rail-button-icon-color--active: var(--p-deep-purple-600);
|
|
17
|
+
--wt-navigation-rail-button-background--active: var(--p-gray-50);
|
|
18
|
+
--wt-navigation-rail-button-icon-color--active-hover: var(
|
|
19
|
+
--p-deep-purple-550
|
|
20
|
+
);
|
|
21
|
+
--wt-navigation-rail-button-background--active-hover: var(--p-white);
|
|
22
|
+
|
|
23
|
+
--wt-navigation-rail-badge-size: 16px;
|
|
24
|
+
--wt-navigation-rail-badge-padding-x: var(--spacing-2xs);
|
|
25
|
+
--wt-navigation-rail-badge-offset-x: 16px;
|
|
26
|
+
--wt-navigation-rail-badge-offset-y: 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:root.theme--dark {
|
|
30
|
+
--wt-navigation-rail-background: linear-gradient(
|
|
31
|
+
to top right,
|
|
32
|
+
rgba(10, 17, 92, 1) 0%,
|
|
33
|
+
rgba(111, 27, 126, 1) 100%
|
|
34
|
+
);
|
|
35
|
+
|
|
36
|
+
--wt-navigation-rail-button-icon-color: var(--p-deep-purple-150);
|
|
37
|
+
--wt-navigation-rail-button-background--hover: var(--p-deep-purple-650);
|
|
38
|
+
--wt-navigation-rail-button-background--pressed: var(--p-deep-purple-500);
|
|
39
|
+
--wt-navigation-rail-button-icon-color--active: var(--p-white);
|
|
40
|
+
--wt-navigation-rail-button-background--active: var(--p-deep-purple-800);
|
|
41
|
+
--wt-navigation-rail-button-icon-color--active-hover: var(--p-deep-purple-50);
|
|
42
|
+
--wt-navigation-rail-button-background--active-hover: var(
|
|
43
|
+
--p-deep-purple-750
|
|
44
|
+
);
|
|
45
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { BadgeSeverity } from '../../wt-badge-new/types/WtBadge';
|
|
2
|
+
|
|
3
|
+
export interface NavigationRailBadge {
|
|
4
|
+
value: string | number;
|
|
5
|
+
/** @default 'success' */
|
|
6
|
+
severity?: BadgeSeverity;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface NavigationRailItem {
|
|
10
|
+
/** Unique id, emitted on select and matched against `active` */
|
|
11
|
+
id: string;
|
|
12
|
+
/** Icon name from icons repository */
|
|
13
|
+
icon: string;
|
|
14
|
+
/** Accessible label (aria-label + tooltip) */
|
|
15
|
+
label?: string;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
/** Renders badge over the button when set */
|
|
18
|
+
badge?: NavigationRailBadge | null;
|
|
19
|
+
}
|