@dialpad/dialtone-vue 2.64.0 → 2.65.0
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/CHANGELOG.json +1 -1
- package/CHANGELOG.md +13 -0
- package/dist/dialtone-vue.common.js +247 -84
- package/dist/dialtone-vue.umd.js +247 -84
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/package.json +3 -3
package/dist/dialtone-vue.umd.js
CHANGED
|
@@ -412,7 +412,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
412
412
|
|
|
413
413
|
var ___CSS_LOADER_EXPORT___ = _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
414
414
|
// Module
|
|
415
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".dt-leftbar-row{--leftbar-row-color-foreground:var(--theme-sidebar-color);--leftbar-row-color-background:
|
|
415
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".dt-leftbar-row{--leftbar-row-color-foreground:var(--theme-sidebar-color);--leftbar-row-color-background:var(--theme-sidebar-row-color-background);--leftbar-row-radius:100em;--leftbar-row-opacity:100%;--leftbar-row-alpha-color-foreground:var(--theme-sidebar-icon-color);--leftbar-row-alpha-width:calc(var(--size-300)*10);--leftbar-row-alpha-height:calc(var(--size-300)*9);--leftbar-row-omega-min-width:0;--leftbar-row-omega-height:var(--leftbar-row-alpha-height);--leftbar-row-omega-visibility:visible;--leftbar-row-description-font-weight:var(--fw-normal);--leftbar-row-description-font-size:var(--fs-200);--leftbar-row-description-line-height:var(--lh-200);--leftbar-row-status-color-foreground:var(--theme-sidebar-status-color);--leftbar-row-status-font-size:var(--fs-100);--leftbar-row-status-line-height:var(--lh-100);--leftbar-row-action-position-right:var(--size-400);--leftbar-row-action-position-bottom:50%;--leftbar-row-action-width:calc(var(--size-300)*6);--leftbar-row-action-height:var(--leftbar-row-action-width);position:relative;opacity:var(--leftbar-row-opacity)}.dt-leftbar-row:not(.dt-leftbar-row--no-action):hover{--leftbar-row-omega-min-width:var(--leftbar-row-alpha-width)}.dt-leftbar-row:hover .d-presence{--presence-color-border-base:var(--theme-sidebar-selected-row-color-background)}.dt-leftbar-row:hover .d-avatar__count{--avatar-count-color-shadow:var(--theme-sidebar-selected-row-color-background)}.dt-leftbar-row--has-unread{--leftbar-row-description-font-weight:var(--fw-bold);--leftbar-row-alpha-color-foreground:var(--leftbar-row-color-foreground)}.dt-leftbar-row--has-unread:not(.dt-leftbar-row--no-action):hover{--leftbar-row-omega-visibility:hidden}.dt-leftbar-row--muted{--leftbar-row-opacity:50%}.dt-leftbar-row--selected{--leftbar-row-color-background:var(--theme-sidebar-selected-row-color-background);--leftbar-row-color-foreground:var(--theme-sidebar-selected-row-color)}.dt-leftbar-row--selected .d-avatar__count{--avatar-count-color-shadow:var(--theme-sidebar-selected-row-color-background)}.dt-leftbar-row--action-focused{--leftbar-row-omega-visibility:hidden;--leftbar-row-omega-min-width:var(--leftbar-row-alpha-width)}.dt-leftbar-row__is-typing{--is-typing-size-shape:calc(var(--size-300)*6);height:var(--is-typing-size-shape);width:var(--is-typing-size-shape);position:absolute;display:flex;align-items:center;justify-content:center;gap:2px;border-radius:var(--br-pill);opacity:.75}.dt-leftbar-row__is-typing span{transition:all .5s ease;background:var(--bgc-strong);height:4px;width:4px;display:inline-block;padding:0;opacity:.3;border-radius:var(--br-pill);animation:wave 1.5s ease infinite}.dt-leftbar-row__is-typing span:first-child{animation-delay:0}.dt-leftbar-row__is-typing span:nth-child(2){animation-delay:.1s}.dt-leftbar-row__is-typing span:nth-child(3){animation-delay:.2s}.dt-leftbar-row__primary{display:flex;align-items:center;flex:1;width:100%;text-align:left;color:var(--leftbar-row-color-foreground);text-decoration:none;background-color:var(--leftbar-row-color-background);border-radius:var(--leftbar-row-radius);transition-duration:var(--td200);transition-property:background-color,border,box-shadow;transition-timing-function:var(--ttf-out-quint);-webkit-appearance:none;appearance:none;font-size:inhert;line-height:inherit;margin:0;border:0;padding:0;cursor:pointer}.dt-leftbar-row__primary:hover{--leftbar-row-color-background:var(--theme-sidebar-row-color-background-hover)}.dt-leftbar-row__primary:active{--leftbar-row-color-background:var(--theme-sidebar-row-color-background-active)}.dt-leftbar-row__primary:focus-visible{box-shadow:var(--bs-focus-ring-inset)}.dt-leftbar-row__action{position:absolute;right:var(--leftbar-row-action-position-right);top:var(--leftbar-row-action-position-bottom);transform:translateY(calc(var(--leftbar-row-action-position-bottom)*-1))}.dt-leftbar-row__action-button{opacity:0;width:var(--leftbar-row-action-width);height:var(--leftbar-row-action-height)}.dt-leftbar-row:hover .dt-leftbar-row__action-button,.dt-leftbar-row__action-button:focus-visible{opacity:1}.dt-leftbar-row__alpha{color:var(--leftbar-row-alpha-color-foreground);display:flex;box-sizing:border-box;justify-content:center;align-items:center;padding-left:var(--space-400);padding-right:var(--space-400);width:var(--leftbar-row-alpha-width);height:var(--leftbar-row-alpha-height)}.dt-leftbar-row__label{flex:1;min-width:0}.dt-leftbar-row__omega{display:flex;gap:var(--space-300);justify-content:end;align-items:center;box-sizing:border-box;min-width:var(--leftbar-row-omega-min-width);height:var(--leftbar-row-omega-height);padding-left:var(--space-400);padding-right:var(--space-400);visibility:var(--leftbar-row-omega-visibility)}.dt-leftbar-row__active-voice{color:var(--fc-success);-webkit-animation-name:opacity-pulsate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-fill-mode:both;-moz-animation-name:opacity-pulsate;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-fill-mode:both;animation-name:opacity-pulsate;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:both}.dt-leftbar-row__dnd{padding-top:var(--space-200);padding-right:var(--space-300);color:var(--fc-tertiary);font-size:var(--fs-100);line-height:var(--lh-400);font-weight:var(--fw-medium)}.dt-leftbar-row__description{font-weight:var(--leftbar-row-description-font-weight);font-size:var(--leftbar-row-description-font-size);line-height:var(--leftbar-row-description-line-height)}.dt-leftbar-row__description,.dt-leftbar-row__status{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dt-leftbar-row__status{color:var(--leftbar-row-status-color-foreground);font-size:var(--leftbar-row-status-font-size);line-height:var(--leftbar-row-status-line-height);padding-bottom:var(--space-100)}.dt-leftbar-row__meta-context~.dt-leftbar-row__meta-custom:not(:empty):before{content:\" • \";color:var(--theme-sidebar-status-color)}.dt-leftbar-row__icon-cc{border-radius:var(--size-200);width:calc(var(--size-300)*3.5);height:calc(var(--size-300)*3.5)}.opacity-pulsate{-webkit-animation-name:opacity-pulsate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-fill-mode:both;-moz-animation-name:opacity-pulsate;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-fill-mode:both;animation-name:opacity-pulsate;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:both}@keyframes opacity-pulsate{0%,to{opacity:.2}50%{opacity:1}}@keyframes wave{0%,50%,to{transform:translate(0)}10%{transform:translateY(-5px);opacity:90%}}", ""]);
|
|
416
416
|
// Exports
|
|
417
417
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
418
418
|
|
|
@@ -2385,8 +2385,8 @@ if (typeof window !== 'undefined') {
|
|
|
2385
2385
|
// Indicate to webpack that this file can be concatenated
|
|
2386
2386
|
/* harmony default export */ const setPublicPath = (null);
|
|
2387
2387
|
|
|
2388
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/avatar/avatar.vue?vue&type=template&id=
|
|
2389
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.avatarClasses,style:(_vm.initialKindStyle),attrs:{"id":_vm.id,"data-qa":"dt-avatar"}},[_c('div',{ref:"canvas",staticClass:"d-avatar__canvas"},[(_vm.showDefaultSlot)?_vm._t("default"):(_vm.showInitials)?_c('span',{class:_vm.AVATAR_KIND_MODIFIERS.initials},[_vm._v(" "+_vm._s(_vm.formattedInitials)+" ")]):_vm._e()],2),(_vm.showGroup)?_c('span',{staticClass:"d-avatar__count",attrs:{"data-qa":"dt-avatar-count"}},[_vm._v(_vm._s(_vm.formattedGroup))]):_vm._e(),(_vm.presence && !_vm.showGroup)?_c('dt-presence',_vm._b({class:[
|
|
2388
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/avatar/avatar.vue?vue&type=template&id=0071818a&
|
|
2389
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.avatarClasses,style:(_vm.initialKindStyle),attrs:{"id":_vm.id,"data-qa":"dt-avatar"}},[_c('div',{ref:"canvas",staticClass:"d-avatar__canvas"},[(_vm.showDefaultSlot)?_vm._t("default"):_vm._e(),(_vm.showInitials)?_c('span',{staticClass:"d-ps-absolute d-zi-base",class:_vm.AVATAR_KIND_MODIFIERS.initials},[_vm._v(" "+_vm._s(_vm.formattedInitials)+" ")]):_vm._e()],2),(_vm.showGroup)?_c('span',{staticClass:"d-avatar__count d-zi-base1",attrs:{"data-qa":"dt-avatar-count"}},[_vm._v(_vm._s(_vm.formattedGroup))]):_vm._e(),(_vm.presence && !_vm.showGroup)?_c('dt-presence',_vm._b({staticClass:"d-zi-base1",class:[
|
|
2390
2390
|
'd-avatar__presence',
|
|
2391
2391
|
_vm.AVATAR_PRESENCE_SIZE_MODIFIERS[_vm.size] ],attrs:{"presence":_vm.presence,"data-qa":"dt-presence"}},'dt-presence',_vm.presenceProps,false)):_vm._e()],1)}
|
|
2392
2392
|
var staticRenderFns = []
|
|
@@ -2469,7 +2469,8 @@ var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpac
|
|
|
2469
2469
|
|
|
2470
2470
|
const seedrandom = __webpack_require__(377);
|
|
2471
2471
|
|
|
2472
|
-
let UNIQUE_ID_COUNTER = 0;
|
|
2472
|
+
let UNIQUE_ID_COUNTER = 0;
|
|
2473
|
+
let TIMER; // selector to find focusable not hidden inputs
|
|
2473
2474
|
|
|
2474
2475
|
const FOCUSABLE_SELECTOR_NOT_HIDDEN = 'input:not([type=hidden]):not(:disabled)'; // selector to find focusable not disables elements
|
|
2475
2476
|
|
|
@@ -2591,7 +2592,7 @@ const flushPromises = () => {
|
|
|
2591
2592
|
*/
|
|
2592
2593
|
|
|
2593
2594
|
const kebabCaseToPascalCase = string => {
|
|
2594
|
-
return string.toLowerCase().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
|
|
2595
|
+
return string === null || string === void 0 ? void 0 : string.toLowerCase().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
|
|
2595
2596
|
};
|
|
2596
2597
|
/**
|
|
2597
2598
|
* Transform a string from PascalCase to kebab-case
|
|
@@ -2602,6 +2603,17 @@ const kebabCaseToPascalCase = string => {
|
|
|
2602
2603
|
const pascalCaseToKebabCase = string => {
|
|
2603
2604
|
return string.replace(/\.?([A-Z0-9]+)/g, (x, y) => '-' + y.toLowerCase()).replace(/^-/, '');
|
|
2604
2605
|
};
|
|
2606
|
+
/*
|
|
2607
|
+
* Set's a global timer to debounce the execution of a function.
|
|
2608
|
+
* @param { object } func - the function that is going to be called after timeout
|
|
2609
|
+
* @param { number } [timeout=300] timeout
|
|
2610
|
+
* */
|
|
2611
|
+
|
|
2612
|
+
function debounce(func) {
|
|
2613
|
+
let timeout = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 300;
|
|
2614
|
+
clearTimeout(TIMER);
|
|
2615
|
+
TIMER = setTimeout(func, timeout);
|
|
2616
|
+
}
|
|
2605
2617
|
/* harmony default export */ const utils = ({
|
|
2606
2618
|
getUniqueString,
|
|
2607
2619
|
getRandomElement,
|
|
@@ -2611,7 +2623,8 @@ const pascalCaseToKebabCase = string => {
|
|
|
2611
2623
|
getValidationState,
|
|
2612
2624
|
htmlFragment,
|
|
2613
2625
|
flushPromises,
|
|
2614
|
-
kebabCaseToPascalCase
|
|
2626
|
+
kebabCaseToPascalCase,
|
|
2627
|
+
debounce
|
|
2615
2628
|
});
|
|
2616
2629
|
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/presence/presence.vue?vue&type=template&id=77957bb3&
|
|
2617
2630
|
var presencevue_type_template_id_77957bb3_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-presence",attrs:{"data-qa":"dt-presence","role":"status","aria-live":_vm.$attrs.ariaLive || 'off'}},[(_vm.srText)?_c('span',{staticClass:"sr-only",attrs:{"data-qa":"dt-presence-sr-text"}},[_vm._v(_vm._s(_vm.srText)+" ")]):_vm._e(),_c('div',{staticClass:"d-presence__inner",class:{
|
|
@@ -2895,6 +2908,8 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
2895
2908
|
//
|
|
2896
2909
|
//
|
|
2897
2910
|
//
|
|
2911
|
+
//
|
|
2912
|
+
//
|
|
2898
2913
|
|
|
2899
2914
|
|
|
2900
2915
|
|
|
@@ -3001,13 +3016,14 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
3001
3016
|
data() {
|
|
3002
3017
|
return {
|
|
3003
3018
|
// initials, image or icon
|
|
3004
|
-
kind:
|
|
3019
|
+
kind: null,
|
|
3005
3020
|
AVATAR_SIZE_MODIFIERS: AVATAR_SIZE_MODIFIERS,
|
|
3006
3021
|
AVATAR_KIND_MODIFIERS: AVATAR_KIND_MODIFIERS,
|
|
3007
3022
|
AVATAR_PRESENCE_SIZE_MODIFIERS: AVATAR_PRESENCE_SIZE_MODIFIERS,
|
|
3008
3023
|
imageLoadedSuccessfully: null,
|
|
3009
3024
|
slottedInitials: '',
|
|
3010
|
-
formattedInitials: ''
|
|
3025
|
+
formattedInitials: '',
|
|
3026
|
+
initializing: false
|
|
3011
3027
|
};
|
|
3012
3028
|
},
|
|
3013
3029
|
|
|
@@ -3020,11 +3036,11 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
3020
3036
|
},
|
|
3021
3037
|
|
|
3022
3038
|
showDefaultSlot() {
|
|
3023
|
-
return this.kind !== 'initials' && this.imageLoadedSuccessfully
|
|
3039
|
+
return this.kind !== 'initials' || this.kind === 'image' && this.imageLoadedSuccessfully === true;
|
|
3024
3040
|
},
|
|
3025
3041
|
|
|
3026
3042
|
showInitials() {
|
|
3027
|
-
return this.kind === 'initials' || this.initials;
|
|
3043
|
+
return this.kind === 'initials' || this.kind === 'image' && this.initials;
|
|
3028
3044
|
},
|
|
3029
3045
|
|
|
3030
3046
|
showGroup() {
|
|
@@ -3057,28 +3073,27 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
3057
3073
|
},
|
|
3058
3074
|
|
|
3059
3075
|
updated() {
|
|
3060
|
-
|
|
3061
|
-
this.slottedInitials = this.$slots.default[0].text || this.$slots.default[0].textContent;
|
|
3062
|
-
this.formatInitials(this.slottedInitials);
|
|
3063
|
-
}
|
|
3076
|
+
this.init();
|
|
3064
3077
|
},
|
|
3065
3078
|
|
|
3066
3079
|
methods: {
|
|
3067
|
-
init() {
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3080
|
+
async init() {
|
|
3081
|
+
if (this.initializing) return;
|
|
3082
|
+
this.kind = null;
|
|
3083
|
+
await this.$nextTick();
|
|
3084
|
+
const firstChild = this.$refs.canvas.firstElementChild || this.$refs.canvas;
|
|
3085
|
+
this.formatInitials(this.initials);
|
|
3074
3086
|
this.setKind(firstChild);
|
|
3075
3087
|
this.kindHandler(firstChild);
|
|
3088
|
+
this.initializing = true;
|
|
3089
|
+
await this.$nextTick();
|
|
3090
|
+
this.initializing = false;
|
|
3076
3091
|
},
|
|
3077
3092
|
|
|
3078
3093
|
kindHandler(el) {
|
|
3079
3094
|
switch (this.kind) {
|
|
3080
3095
|
case 'image':
|
|
3081
|
-
el.classList.add('d-avatar__image');
|
|
3096
|
+
el.classList.add('d-avatar__image', 'd-zi-base1');
|
|
3082
3097
|
this.validateImageAttrsPresence();
|
|
3083
3098
|
this.setImageListeners(el);
|
|
3084
3099
|
break;
|
|
@@ -3089,24 +3104,25 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
3089
3104
|
|
|
3090
3105
|
case 'initials':
|
|
3091
3106
|
this.slottedInitials = el.text || el.textContent;
|
|
3092
|
-
this.formatInitials(this.slottedInitials);
|
|
3107
|
+
this.formatInitials(this.slottedInitials.trim() || this.initials);
|
|
3093
3108
|
break;
|
|
3094
3109
|
}
|
|
3095
3110
|
},
|
|
3096
3111
|
|
|
3097
3112
|
setImageListeners(el) {
|
|
3098
|
-
el.addEventListener('
|
|
3099
|
-
|
|
3100
|
-
this.imageLoadedSuccessfully = false;
|
|
3113
|
+
el.addEventListener('load', () => this._loadedImageEventHandler(el), {
|
|
3114
|
+
once: true
|
|
3101
3115
|
});
|
|
3102
|
-
el.addEventListener('
|
|
3103
|
-
|
|
3104
|
-
this.imageLoadedSuccessfully = true;
|
|
3116
|
+
el.addEventListener('error', () => this._erroredImageEventHandler(el), {
|
|
3117
|
+
once: true
|
|
3105
3118
|
});
|
|
3106
3119
|
},
|
|
3107
3120
|
|
|
3108
3121
|
formatInitials(initials) {
|
|
3109
|
-
if (!initials)
|
|
3122
|
+
if (!initials) {
|
|
3123
|
+
this.formattedInitials = '';
|
|
3124
|
+
return;
|
|
3125
|
+
}
|
|
3110
3126
|
|
|
3111
3127
|
if (this.validatedSize === 'xs') {
|
|
3112
3128
|
this.formattedInitials = '';
|
|
@@ -3118,7 +3134,7 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
3118
3134
|
},
|
|
3119
3135
|
|
|
3120
3136
|
setKind(element) {
|
|
3121
|
-
if (this.
|
|
3137
|
+
if (this.isIconType(element)) {
|
|
3122
3138
|
this.kind = 'icon';
|
|
3123
3139
|
return;
|
|
3124
3140
|
}
|
|
@@ -3131,7 +3147,7 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
3131
3147
|
this.kind = 'initials';
|
|
3132
3148
|
},
|
|
3133
3149
|
|
|
3134
|
-
|
|
3150
|
+
isIconType(element) {
|
|
3135
3151
|
var _element$tagName;
|
|
3136
3152
|
|
|
3137
3153
|
return (element === null || element === void 0 ? void 0 : (_element$tagName = element.tagName) === null || _element$tagName === void 0 ? void 0 : _element$tagName.toUpperCase()) === 'SVG';
|
|
@@ -3177,6 +3193,18 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
3177
3193
|
if (isSrcMissing || isAltMissing) {
|
|
3178
3194
|
external_commonjs_vue_commonjs2_vue_root_Vue_default().util.warn('src and alt attributes are required for image avatars', this);
|
|
3179
3195
|
}
|
|
3196
|
+
},
|
|
3197
|
+
|
|
3198
|
+
_loadedImageEventHandler(el) {
|
|
3199
|
+
this.imageLoadedSuccessfully = true;
|
|
3200
|
+
el.classList.remove('d-d-none');
|
|
3201
|
+
el.classList.add('d-avatar--image-loaded');
|
|
3202
|
+
},
|
|
3203
|
+
|
|
3204
|
+
_erroredImageEventHandler(el) {
|
|
3205
|
+
this.imageLoadedSuccessfully = false;
|
|
3206
|
+
el.classList.remove('d-avatar--image-loaded');
|
|
3207
|
+
el.classList.add('d-d-none');
|
|
3180
3208
|
}
|
|
3181
3209
|
|
|
3182
3210
|
}
|
|
@@ -8621,7 +8649,7 @@ function orderModifiers(modifiers) {
|
|
|
8621
8649
|
}, []);
|
|
8622
8650
|
}
|
|
8623
8651
|
;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/debounce.js
|
|
8624
|
-
function
|
|
8652
|
+
function debounce_debounce(fn) {
|
|
8625
8653
|
var pending;
|
|
8626
8654
|
return function () {
|
|
8627
8655
|
if (!pending) {
|
|
@@ -8806,7 +8834,7 @@ function popperGenerator(generatorOptions) {
|
|
|
8806
8834
|
},
|
|
8807
8835
|
// Async and optimistically optimized update – it will not be executed if
|
|
8808
8836
|
// not necessary (debounced to run at most once-per-tick)
|
|
8809
|
-
update:
|
|
8837
|
+
update: debounce_debounce(function () {
|
|
8810
8838
|
return new Promise(function (resolve) {
|
|
8811
8839
|
instance.forceUpdate();
|
|
8812
8840
|
resolve(state);
|
|
@@ -12576,7 +12604,6 @@ const getArrowDetected = fn => ({
|
|
|
12576
12604
|
;// CONCATENATED MODULE: ./components/popover/tippy_utils.js
|
|
12577
12605
|
|
|
12578
12606
|
|
|
12579
|
-
|
|
12580
12607
|
const BASE_TIPPY_DIRECTIONS = ['bottom', 'bottom-start', 'bottom-end', 'right', 'right-start', 'right-end', 'left', 'left-start', 'left-end', 'top', 'top-start', 'top-end'];
|
|
12581
12608
|
const TIPPY_STICKY_VALUES = [true, false, 'reference', 'popper'];
|
|
12582
12609
|
const tippy_utils_createTippy = (anchorElement, options) => {
|
|
@@ -12625,24 +12652,17 @@ const getPopperOptions = function () {
|
|
|
12625
12652
|
};
|
|
12626
12653
|
};
|
|
12627
12654
|
|
|
12628
|
-
const createAnchor =
|
|
12655
|
+
const createAnchor = anchorWrapper => {
|
|
12629
12656
|
const span = document.createElement('span');
|
|
12630
|
-
span.setAttribute('tabindex', tabIndex);
|
|
12631
12657
|
span.innerText = anchorWrapper.innerText || '';
|
|
12632
12658
|
anchorWrapper.innerText = '';
|
|
12633
12659
|
anchorWrapper.appendChild(span);
|
|
12634
12660
|
return span;
|
|
12635
12661
|
};
|
|
12636
12662
|
|
|
12637
|
-
const getAnchor =
|
|
12638
|
-
let tabIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '0';
|
|
12663
|
+
const getAnchor = anchorWrapper => {
|
|
12639
12664
|
const anchor = anchorWrapper === null || anchorWrapper === void 0 ? void 0 : anchorWrapper.children[0];
|
|
12640
12665
|
if (!anchor) return createAnchor(anchorWrapper);
|
|
12641
|
-
|
|
12642
|
-
if (!findFirstFocusableNode(anchor)) {
|
|
12643
|
-
anchor.setAttribute('tabindex', tabIndex);
|
|
12644
|
-
}
|
|
12645
|
-
|
|
12646
12666
|
return anchor;
|
|
12647
12667
|
};
|
|
12648
12668
|
const getContentWrapper = content => {
|
|
@@ -19726,15 +19746,15 @@ var toggle_component = normalizeComponent(
|
|
|
19726
19746
|
/* harmony default export */ const toggle = (toggle_component.exports);
|
|
19727
19747
|
;// CONCATENATED MODULE: ./components/toggle/index.js
|
|
19728
19748
|
|
|
19729
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/tooltip/tooltip.vue?vue&type=template&id=
|
|
19730
|
-
var
|
|
19749
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/tooltip/tooltip.vue?vue&type=template&id=6d30a218&
|
|
19750
|
+
var tooltipvue_type_template_id_6d30a218_render = function () {
|
|
19731
19751
|
var _obj;
|
|
19732
|
-
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"data-qa":"dt-tooltip-container"}},[_c('a',{ref:"anchor",attrs:{"role":"presentation","data-qa":"dt-tooltip-anchor"},on:{"focusin":_vm.onEnterAnchor,"focusout":_vm.onLeaveAnchor,"mouseenter":_vm.onEnterAnchor,"mouseleave":_vm.onLeaveAnchor,"keydown":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"esc",27,$event.key,["Esc","Escape"])){ return null; }return _vm.onLeaveAnchor.apply(null, arguments)}}},[_vm._t("anchor")],2),_c('dt-lazy-show',_vm._g({ref:"content",class:[
|
|
19752
|
+
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"data-qa":"dt-tooltip-container"}},[_c('a',{ref:"anchor",attrs:{"tabindex":"-1","role":"presentation","data-qa":"dt-tooltip-anchor"},on:{"focusin":_vm.onEnterAnchor,"focusout":_vm.onLeaveAnchor,"mouseenter":_vm.onEnterAnchor,"mouseleave":_vm.onLeaveAnchor,"keydown":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"esc",27,$event.key,["Esc","Escape"])){ return null; }return _vm.onLeaveAnchor.apply(null, arguments)}}},[_vm._t("anchor")],2),_c('dt-lazy-show',_vm._g({ref:"content",class:[
|
|
19733
19753
|
'd-tooltip',
|
|
19734
19754
|
("d-tooltip__arrow-tippy--" + _vm.currentPlacement),
|
|
19735
19755
|
( _obj = {}, _obj[ _vm.TOOLTIP_KIND_MODIFIERS.inverted ] = _vm.inverted, _obj ),
|
|
19736
19756
|
_vm.contentClass ],attrs:{"id":_vm.id,"show":_vm.isShown && (!!_vm.message.trim() || !!_vm.$slots.default),"role":"tooltip","aria-hidden":"false","data-qa":"dt-tooltip","appear":"","transition":_vm.transition}},_vm.tooltipListeners),[_vm._t("default",function(){return [_vm._v(" "+_vm._s(_vm.message)+" ")]})],2)],1)}
|
|
19737
|
-
var
|
|
19757
|
+
var tooltipvue_type_template_id_6d30a218_staticRenderFns = []
|
|
19738
19758
|
|
|
19739
19759
|
|
|
19740
19760
|
;// CONCATENATED MODULE: ./components/tooltip/tooltip_constants.js
|
|
@@ -19798,6 +19818,7 @@ const TOOLTIP_HIDE_ON_CLICK_VARIANTS = [true, false, 'toggle'];
|
|
|
19798
19818
|
//
|
|
19799
19819
|
//
|
|
19800
19820
|
//
|
|
19821
|
+
//
|
|
19801
19822
|
|
|
19802
19823
|
|
|
19803
19824
|
|
|
@@ -20141,8 +20162,8 @@ var tooltipvue_type_style_index_0_lang_less_ = __webpack_require__(228);
|
|
|
20141
20162
|
|
|
20142
20163
|
var tooltip_component = normalizeComponent(
|
|
20143
20164
|
tooltip_tooltipvue_type_script_lang_js_,
|
|
20144
|
-
|
|
20145
|
-
|
|
20165
|
+
tooltipvue_type_template_id_6d30a218_render,
|
|
20166
|
+
tooltipvue_type_template_id_6d30a218_staticRenderFns,
|
|
20146
20167
|
false,
|
|
20147
20168
|
null,
|
|
20148
20169
|
null,
|
|
@@ -23365,9 +23386,9 @@ var grouped_chip_component = normalizeComponent(
|
|
|
23365
23386
|
/* harmony default export */ const grouped_chip = (grouped_chip_component.exports);
|
|
23366
23387
|
;// CONCATENATED MODULE: ./recipes/chips/grouped_chip/index.js
|
|
23367
23388
|
|
|
23368
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/leftbar/general_row/general_row.vue?vue&type=template&id=
|
|
23369
|
-
var
|
|
23370
|
-
var
|
|
23389
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/leftbar/general_row/general_row.vue?vue&type=template&id=31787490&
|
|
23390
|
+
var general_rowvue_type_template_id_31787490_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.leftbarGeneralRowClasses,attrs:{"data-qa":"dt-leftbar-row"}},[_c('button',_vm._g(_vm._b({staticClass:"dt-leftbar-row__primary",attrs:{"data-qa":"dt-leftbar-row-link","aria-label":_vm.getAriaLabel,"title":_vm.description}},'button',_vm.$attrs,false),_vm.$listeners),[_c('div',{staticClass:"dt-leftbar-row__alpha"},[(_vm.isTyping)?_c('div',{staticClass:"dt-leftbar-row__is-typing"},[_c('span'),_c('span'),_c('span')]):_vm._t("left",function(){return [_c('dt-recipe-leftbar-general-row-icon',{class:{ 'd-o50': _vm.isTyping },attrs:{"type":_vm.getIcon,"color":_vm.color,"data-qa":"dt-leftbar-row-icon"}})]})],2),_c('div',{staticClass:"dt-leftbar-row__label"},[_vm._t("label",function(){return [_c('dt-emoji-text-wrapper',{staticClass:"dt-leftbar-row__description",attrs:{"data-qa":"dt-leftbar-row-description"}},[_vm._v(" "+_vm._s(_vm.description)+" ")])]})],2),_c('div',{staticClass:"dt-leftbar-row__omega"},[(_vm.dndText)?_c('dt-tooltip',{attrs:{"placement":"top","message":_vm.dndTextTooltip},scopedSlots:_vm._u([{key:"anchor",fn:function(){return [_c('div',{staticClass:"dt-leftbar-row__dnd"},[_vm._v(" "+_vm._s(_vm.dndText)+" ")])]},proxy:true}],null,false,1506147022)}):(_vm.activeVoiceChat)?_c('div',{staticClass:"dt-leftbar-row__active-voice"},[_c('dt-icon',{attrs:{"size":"300","name":"activity"}})],1):(!!_vm.unreadCount && _vm.hasUnreads)?_c('dt-tooltip',{attrs:{"message":_vm.unreadCountTooltip,"placement":"top"},scopedSlots:_vm._u([{key:"anchor",fn:function(){return [_c('dt-badge',{attrs:{"kind":"count","type":"bulletin","data-qa":"dt-leftbar-row-unread-badge"}},[_vm._v(" "+_vm._s(_vm.unreadCount)+" ")])]},proxy:true}])}):_vm._e()],1)]),(_vm.hasCallButton)?_c('div',{staticClass:"dt-leftbar-row__action",attrs:{"data-qa":"dt-leftbar-row-action"}},[_c('dt-tooltip',{attrs:{"message":_vm.callButtonTooltip,"placement":"top"},scopedSlots:_vm._u([{key:"anchor",fn:function(){return [_c('dt-button',{staticClass:"dt-leftbar-row__action-button",attrs:{"data-qa":"dt-leftbar-row-action-call-button","circle":"","size":"xs","kind":"inverted","aria-label":_vm.callButtonTooltip},on:{"focus":function($event){_vm.actionFocused = true},"blur":function($event){_vm.actionFocused = false},"mouseleave":function($event){_vm.actionFocused = false},"click":function($event){$event.stopPropagation();return _vm.$emit('call', $event)}},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('dt-icon',{attrs:{"name":"phone","size":"200"}})]},proxy:true}],null,false,990728611)})]},proxy:true}],null,false,4111698736)})],1):_vm._e()])}
|
|
23391
|
+
var general_rowvue_type_template_id_31787490_staticRenderFns = []
|
|
23371
23392
|
|
|
23372
23393
|
|
|
23373
23394
|
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/general_row_constants.js
|
|
@@ -23378,6 +23399,9 @@ const LEFTBAR_GENERAL_ROW_TYPES = {
|
|
|
23378
23399
|
THREADS: 'threads',
|
|
23379
23400
|
LOCKED_CHANNEL: 'locked channel',
|
|
23380
23401
|
CONTACT_CENTER: 'contact center',
|
|
23402
|
+
QUICK_START: 'quick start',
|
|
23403
|
+
COACHING_GROUP: 'coaching group',
|
|
23404
|
+
COACHING_CENTER: 'coaching center',
|
|
23381
23405
|
DIALBOT: 'dialbot',
|
|
23382
23406
|
ASSIGNED: 'assigned',
|
|
23383
23407
|
DIGITAL: 'digital'
|
|
@@ -23388,6 +23412,9 @@ const LEFTBAR_GENERAL_ROW_ICON_MAPPING = {
|
|
|
23388
23412
|
[LEFTBAR_GENERAL_ROW_TYPES.CHANNELS]: 'hash',
|
|
23389
23413
|
[LEFTBAR_GENERAL_ROW_TYPES.THREADS]: 'thread',
|
|
23390
23414
|
[LEFTBAR_GENERAL_ROW_TYPES.LOCKED_CHANNEL]: 'lock',
|
|
23415
|
+
[LEFTBAR_GENERAL_ROW_TYPES.QUICK_START]: 'sparkle',
|
|
23416
|
+
[LEFTBAR_GENERAL_ROW_TYPES.COACHING_GROUP]: 'users',
|
|
23417
|
+
[LEFTBAR_GENERAL_ROW_TYPES.COACHING_CENTER]: 'external-link',
|
|
23391
23418
|
'locked channel unread': 'lock-filled',
|
|
23392
23419
|
'channel unread': 'hash-bold',
|
|
23393
23420
|
[LEFTBAR_GENERAL_ROW_TYPES.ASSIGNED]: 'at-sign',
|
|
@@ -23939,27 +23966,27 @@ var emoji_text_wrapper_component = normalizeComponent(
|
|
|
23939
23966
|
)
|
|
23940
23967
|
|
|
23941
23968
|
/* harmony default export */ const emoji_text_wrapper = (emoji_text_wrapper_component.exports);
|
|
23942
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/leftbar/general_row/leftbar_general_row_icon.vue?vue&type=template&id=
|
|
23943
|
-
var
|
|
23944
|
-
var
|
|
23969
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/leftbar/general_row/leftbar_general_row_icon.vue?vue&type=template&id=42d6843e&
|
|
23970
|
+
var leftbar_general_row_iconvue_type_template_id_42d6843e_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isIconType)?_c('dt-icon',{attrs:{"name":_vm.getIconName,"size":"300"}}):(_vm.isContactCenterType)?_c('div',{class:_vm.contactCenterIconClasses}):(_vm.isDialbotType)?_c('div',{class:_vm.dialbotClasses},[_c('icon-dialbot',{staticClass:"d-svg--size18"})],1):_vm._e()}
|
|
23971
|
+
var leftbar_general_row_iconvue_type_template_id_42d6843e_staticRenderFns = []
|
|
23945
23972
|
|
|
23946
23973
|
|
|
23947
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./node_modules/@dialpad/dialtone/lib/dist/vue/icons/
|
|
23948
|
-
var
|
|
23949
|
-
var
|
|
23974
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconDialbot.vue?vue&type=template&id=afc48fb0&
|
|
23975
|
+
var IconDialbotvue_type_template_id_afc48fb0_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticClass:"d-svg d-svg--native d-svg__dialbot",attrs:{"aria-hidden":"true","focusable":"false","aria-label":"Dialbot","width":"358","height":"358","viewBox":"0 0 358 358","fill":"none"}},[_c('circle',{attrs:{"cx":"179","cy":"179","r":"179","fill":"url(#paint0_linear_1957_89480)"}}),_c('path',{attrs:{"d":"M179 268.5v-11.933V268.5Zm86.517 0v11.933h19.308l-8.635-17.27-10.673 5.337Zm-16.73-33.459-9.3-7.478-4.797 5.967 3.424 6.848 10.673-5.337ZM179 101.433c42.839 0 77.567 34.728 77.567 77.567h23.866c0-56.02-45.413-101.433-101.433-101.433v23.866ZM101.433 179c0-42.839 34.728-77.567 77.567-77.567V77.567C122.98 77.567 77.567 122.98 77.567 179h23.866ZM179 256.567c-42.839 0-77.567-34.728-77.567-77.567H77.567c0 56.02 45.413 101.433 101.433 101.433v-23.866Zm86.517 0H179v23.866h86.517v-23.866Zm-27.403-16.189 16.729 33.459 21.347-10.674-16.729-33.459-21.347 10.674ZM256.567 179c0 18.396-6.39 35.268-17.08 48.563l18.6 14.955c13.975-17.38 22.346-39.488 22.346-63.518h-23.866Z","fill":"white"}}),_c('path',{attrs:{"d":"M226.733 202.867c-6.527 5.701-13.942 10.11-22.243 13.226-8.302 3.116-16.781 4.674-25.437 4.674-8.727 0-17.241-1.558-25.543-4.674-8.301-3.116-15.716-7.525-22.243-13.226v-11.933c4.399 2.651 9.365 4.939 14.9 6.861a112.143 112.143 0 0 0 16.816 4.674c5.747 1.127 11.104 1.691 16.07 1.691 5.038 0 10.395-.564 16.071-1.691a112.209 112.209 0 0 0 16.816-4.674c5.534-1.922 10.465-4.21 14.793-6.861v11.933Z","fill":"white"}}),_c('defs',[_c('linearGradient',{attrs:{"id":"paint0_linear_1957_89480","x1":"0","y1":"0","x2":"358","y2":"358","gradientUnits":"userSpaceOnUse"}},[_c('stop',{attrs:{"stop-color":"#7C52FF"}}),_c('stop',{attrs:{"offset":"1","stop-color":"#F9008E"}})],1)],1)])}
|
|
23976
|
+
var IconDialbotvue_type_template_id_afc48fb0_staticRenderFns = []
|
|
23950
23977
|
|
|
23951
23978
|
|
|
23952
|
-
;// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/
|
|
23979
|
+
;// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconDialbot.vue
|
|
23953
23980
|
|
|
23954
23981
|
var script = {}
|
|
23955
23982
|
|
|
23956
23983
|
|
|
23957
23984
|
/* normalize component */
|
|
23958
23985
|
;
|
|
23959
|
-
var
|
|
23986
|
+
var IconDialbot_component = normalizeComponent(
|
|
23960
23987
|
script,
|
|
23961
|
-
|
|
23962
|
-
|
|
23988
|
+
IconDialbotvue_type_template_id_afc48fb0_render,
|
|
23989
|
+
IconDialbotvue_type_template_id_afc48fb0_staticRenderFns,
|
|
23963
23990
|
false,
|
|
23964
23991
|
null,
|
|
23965
23992
|
null,
|
|
@@ -23967,7 +23994,7 @@ var IconDialpadGlyph_component = normalizeComponent(
|
|
|
23967
23994
|
|
|
23968
23995
|
)
|
|
23969
23996
|
|
|
23970
|
-
/* harmony default export */ const
|
|
23997
|
+
/* harmony default export */ const IconDialbot = (IconDialbot_component.exports);
|
|
23971
23998
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/leftbar/general_row/leftbar_general_row_icon.vue?vue&type=script&lang=js&
|
|
23972
23999
|
//
|
|
23973
24000
|
//
|
|
@@ -23989,7 +24016,6 @@ var IconDialpadGlyph_component = normalizeComponent(
|
|
|
23989
24016
|
//
|
|
23990
24017
|
//
|
|
23991
24018
|
//
|
|
23992
|
-
//
|
|
23993
24019
|
|
|
23994
24020
|
|
|
23995
24021
|
|
|
@@ -23997,7 +24023,7 @@ var IconDialpadGlyph_component = normalizeComponent(
|
|
|
23997
24023
|
name: 'DtRecipeLeftbarGeneralRowIcon',
|
|
23998
24024
|
components: {
|
|
23999
24025
|
DtIcon: icon,
|
|
24000
|
-
|
|
24026
|
+
IconDialbot: IconDialbot
|
|
24001
24027
|
},
|
|
24002
24028
|
props: {
|
|
24003
24029
|
type: {
|
|
@@ -24031,7 +24057,7 @@ var IconDialpadGlyph_component = normalizeComponent(
|
|
|
24031
24057
|
},
|
|
24032
24058
|
|
|
24033
24059
|
dialbotClasses() {
|
|
24034
|
-
return ['d-
|
|
24060
|
+
return ['d-w24', 'd-h24', 'd-d-flex', 'd-ai-center', 'd-jc-center'];
|
|
24035
24061
|
}
|
|
24036
24062
|
|
|
24037
24063
|
}
|
|
@@ -24048,8 +24074,8 @@ var IconDialpadGlyph_component = normalizeComponent(
|
|
|
24048
24074
|
;
|
|
24049
24075
|
var leftbar_general_row_icon_component = normalizeComponent(
|
|
24050
24076
|
general_row_leftbar_general_row_iconvue_type_script_lang_js_,
|
|
24051
|
-
|
|
24052
|
-
|
|
24077
|
+
leftbar_general_row_iconvue_type_template_id_42d6843e_render,
|
|
24078
|
+
leftbar_general_row_iconvue_type_template_id_42d6843e_staticRenderFns,
|
|
24053
24079
|
false,
|
|
24054
24080
|
null,
|
|
24055
24081
|
null,
|
|
@@ -24146,6 +24172,41 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24146
24172
|
//
|
|
24147
24173
|
//
|
|
24148
24174
|
//
|
|
24175
|
+
//
|
|
24176
|
+
//
|
|
24177
|
+
//
|
|
24178
|
+
//
|
|
24179
|
+
//
|
|
24180
|
+
//
|
|
24181
|
+
//
|
|
24182
|
+
//
|
|
24183
|
+
//
|
|
24184
|
+
//
|
|
24185
|
+
//
|
|
24186
|
+
//
|
|
24187
|
+
//
|
|
24188
|
+
//
|
|
24189
|
+
//
|
|
24190
|
+
//
|
|
24191
|
+
//
|
|
24192
|
+
//
|
|
24193
|
+
//
|
|
24194
|
+
//
|
|
24195
|
+
//
|
|
24196
|
+
//
|
|
24197
|
+
//
|
|
24198
|
+
//
|
|
24199
|
+
//
|
|
24200
|
+
//
|
|
24201
|
+
//
|
|
24202
|
+
//
|
|
24203
|
+
//
|
|
24204
|
+
//
|
|
24205
|
+
//
|
|
24206
|
+
//
|
|
24207
|
+
//
|
|
24208
|
+
//
|
|
24209
|
+
|
|
24149
24210
|
|
|
24150
24211
|
|
|
24151
24212
|
|
|
@@ -24159,6 +24220,7 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24159
24220
|
DtBadge: badge,
|
|
24160
24221
|
DtIcon: icon,
|
|
24161
24222
|
DtButton: button_button,
|
|
24223
|
+
DtTooltip: tooltip,
|
|
24162
24224
|
DtRecipeLeftbarGeneralRowIcon: leftbar_general_row_icon
|
|
24163
24225
|
},
|
|
24164
24226
|
inheritAttrs: false,
|
|
@@ -24176,13 +24238,22 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24176
24238
|
},
|
|
24177
24239
|
|
|
24178
24240
|
/**
|
|
24179
|
-
*
|
|
24241
|
+
* Will be read out by a screen reader upon focus of this row. If not defined "description" will be read.
|
|
24180
24242
|
*/
|
|
24181
|
-
|
|
24243
|
+
ariaLabel: {
|
|
24182
24244
|
type: String,
|
|
24183
24245
|
default: ''
|
|
24184
24246
|
},
|
|
24185
24247
|
|
|
24248
|
+
/**
|
|
24249
|
+
* Text displayed next to the icon. Required. Even if you are overriding this field using the label slot
|
|
24250
|
+
* you still must input this as it will be displayed as the "title" attribute for the row.
|
|
24251
|
+
*/
|
|
24252
|
+
description: {
|
|
24253
|
+
type: String,
|
|
24254
|
+
required: true
|
|
24255
|
+
},
|
|
24256
|
+
|
|
24186
24257
|
/**
|
|
24187
24258
|
* Determines the color of the contact center icon
|
|
24188
24259
|
*/
|
|
@@ -24211,6 +24282,14 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24211
24282
|
default: null
|
|
24212
24283
|
},
|
|
24213
24284
|
|
|
24285
|
+
/**
|
|
24286
|
+
* Text shown when the unread count is hovered.
|
|
24287
|
+
*/
|
|
24288
|
+
unreadCountTooltip: {
|
|
24289
|
+
type: String,
|
|
24290
|
+
default: ''
|
|
24291
|
+
},
|
|
24292
|
+
|
|
24214
24293
|
/**
|
|
24215
24294
|
* Determines if the row is selected
|
|
24216
24295
|
*/
|
|
@@ -24244,12 +24323,36 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24244
24323
|
default: ''
|
|
24245
24324
|
},
|
|
24246
24325
|
|
|
24326
|
+
/**
|
|
24327
|
+
* Text shown in tooltip when you hover the dndText
|
|
24328
|
+
*/
|
|
24329
|
+
dndTextTooltip: {
|
|
24330
|
+
type: String,
|
|
24331
|
+
default: ''
|
|
24332
|
+
},
|
|
24333
|
+
|
|
24247
24334
|
/**
|
|
24248
24335
|
* Whether the row should have a call button. Usually only applicable to individual contact rows.
|
|
24249
24336
|
*/
|
|
24250
24337
|
hasCallButton: {
|
|
24251
24338
|
type: Boolean,
|
|
24252
24339
|
default: false
|
|
24340
|
+
},
|
|
24341
|
+
|
|
24342
|
+
/**
|
|
24343
|
+
* Text shown when the call button is hovered.
|
|
24344
|
+
*/
|
|
24345
|
+
callButtonTooltip: {
|
|
24346
|
+
type: String,
|
|
24347
|
+
default: ''
|
|
24348
|
+
},
|
|
24349
|
+
|
|
24350
|
+
/**
|
|
24351
|
+
* Shows an "is typing" animation over the avatar when true.
|
|
24352
|
+
*/
|
|
24353
|
+
isTyping: {
|
|
24354
|
+
type: Boolean,
|
|
24355
|
+
default: false
|
|
24253
24356
|
}
|
|
24254
24357
|
},
|
|
24255
24358
|
emits: [
|
|
@@ -24297,6 +24400,10 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24297
24400
|
}
|
|
24298
24401
|
|
|
24299
24402
|
return this.type;
|
|
24403
|
+
},
|
|
24404
|
+
|
|
24405
|
+
getAriaLabel() {
|
|
24406
|
+
return this.ariaLabel ? this.ariaLabel : `${this.description} ${this.unreadCountTooltip} ${this.dndTextTooltip}`;
|
|
24300
24407
|
}
|
|
24301
24408
|
|
|
24302
24409
|
},
|
|
@@ -24337,8 +24444,8 @@ var general_rowvue_type_style_index_0_lang_less_ = __webpack_require__(745);
|
|
|
24337
24444
|
|
|
24338
24445
|
var general_row_component = normalizeComponent(
|
|
24339
24446
|
general_row_general_rowvue_type_script_lang_js_,
|
|
24340
|
-
|
|
24341
|
-
|
|
24447
|
+
general_rowvue_type_template_id_31787490_render,
|
|
24448
|
+
general_rowvue_type_template_id_31787490_staticRenderFns,
|
|
24342
24449
|
false,
|
|
24343
24450
|
null,
|
|
24344
24451
|
null,
|
|
@@ -24350,9 +24457,9 @@ var general_row_component = normalizeComponent(
|
|
|
24350
24457
|
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/index.js
|
|
24351
24458
|
|
|
24352
24459
|
|
|
24353
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/leftbar/group_row/group_row.vue?vue&type=template&id=
|
|
24354
|
-
var
|
|
24355
|
-
var
|
|
24460
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/leftbar/group_row/group_row.vue?vue&type=template&id=2afb38bf&
|
|
24461
|
+
var group_rowvue_type_template_id_2afb38bf_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-recipe-general-row',_vm._g({attrs:{"description":_vm.names,"aria-label":(_vm.groupCountText + " " + _vm.names),"unread-count":_vm.unreadCount,"has-unreads":_vm.hasUnreads,"unread-count-tooltip":_vm.unreadCountTooltip,"selected":_vm.selected,"is-typing":_vm.isTyping},scopedSlots:_vm._u([{key:"left",fn:function(){return [_c('dt-avatar',{attrs:{"initials":_vm.avatarInitials,"group":_vm.groupCount}},[_c('img',{attrs:{"data-qa":"dt-avatar-image","src":_vm.avatarSrc,"alt":_vm.avatarInitials}})])]},proxy:true}])},_vm.$listeners))}
|
|
24462
|
+
var group_rowvue_type_template_id_2afb38bf_staticRenderFns = []
|
|
24356
24463
|
|
|
24357
24464
|
|
|
24358
24465
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/leftbar/group_row/group_row.vue?vue&type=script&lang=js&
|
|
@@ -24379,6 +24486,9 @@ var group_rowvue_type_template_id_4a86bd91_staticRenderFns = []
|
|
|
24379
24486
|
//
|
|
24380
24487
|
//
|
|
24381
24488
|
//
|
|
24489
|
+
//
|
|
24490
|
+
//
|
|
24491
|
+
//
|
|
24382
24492
|
|
|
24383
24493
|
|
|
24384
24494
|
/* harmony default export */ const group_rowvue_type_script_lang_js_ = ({
|
|
@@ -24416,12 +24526,20 @@ var group_rowvue_type_template_id_4a86bd91_staticRenderFns = []
|
|
|
24416
24526
|
required: true
|
|
24417
24527
|
},
|
|
24418
24528
|
|
|
24529
|
+
/**
|
|
24530
|
+
* Screen reader will read out the number of users in the group using this text. Ex: "2 users"
|
|
24531
|
+
*/
|
|
24532
|
+
groupCountText: {
|
|
24533
|
+
type: String,
|
|
24534
|
+
default: ''
|
|
24535
|
+
},
|
|
24536
|
+
|
|
24419
24537
|
/**
|
|
24420
24538
|
* Names of the group members
|
|
24421
24539
|
*/
|
|
24422
24540
|
names: {
|
|
24423
24541
|
type: String,
|
|
24424
|
-
|
|
24542
|
+
required: true
|
|
24425
24543
|
},
|
|
24426
24544
|
|
|
24427
24545
|
/**
|
|
@@ -24432,6 +24550,14 @@ var group_rowvue_type_template_id_4a86bd91_staticRenderFns = []
|
|
|
24432
24550
|
default: null
|
|
24433
24551
|
},
|
|
24434
24552
|
|
|
24553
|
+
/**
|
|
24554
|
+
* Text shown when the unread count is hovered.
|
|
24555
|
+
*/
|
|
24556
|
+
unreadCountTooltip: {
|
|
24557
|
+
type: String,
|
|
24558
|
+
default: null
|
|
24559
|
+
},
|
|
24560
|
+
|
|
24435
24561
|
/**
|
|
24436
24562
|
* Styles the row with an increased font weight to convey it has unreads. This must be true to see
|
|
24437
24563
|
* the unread count badge.
|
|
@@ -24447,6 +24573,14 @@ var group_rowvue_type_template_id_4a86bd91_staticRenderFns = []
|
|
|
24447
24573
|
selected: {
|
|
24448
24574
|
type: Boolean,
|
|
24449
24575
|
default: false
|
|
24576
|
+
},
|
|
24577
|
+
|
|
24578
|
+
/**
|
|
24579
|
+
* Shows an "is typing" animation over the avatar when true.
|
|
24580
|
+
*/
|
|
24581
|
+
isTyping: {
|
|
24582
|
+
type: Boolean,
|
|
24583
|
+
default: false
|
|
24450
24584
|
}
|
|
24451
24585
|
},
|
|
24452
24586
|
emits: [
|
|
@@ -24470,8 +24604,8 @@ var group_rowvue_type_template_id_4a86bd91_staticRenderFns = []
|
|
|
24470
24604
|
;
|
|
24471
24605
|
var group_row_component = normalizeComponent(
|
|
24472
24606
|
group_row_group_rowvue_type_script_lang_js_,
|
|
24473
|
-
|
|
24474
|
-
|
|
24607
|
+
group_rowvue_type_template_id_2afb38bf_render,
|
|
24608
|
+
group_rowvue_type_template_id_2afb38bf_staticRenderFns,
|
|
24475
24609
|
false,
|
|
24476
24610
|
null,
|
|
24477
24611
|
null,
|
|
@@ -24482,9 +24616,9 @@ var group_row_component = normalizeComponent(
|
|
|
24482
24616
|
/* harmony default export */ const group_row = (group_row_component.exports);
|
|
24483
24617
|
;// CONCATENATED MODULE: ./recipes/leftbar/group_row/index.js
|
|
24484
24618
|
|
|
24485
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/leftbar/contact_row/contact_row.vue?vue&type=template&id=
|
|
24486
|
-
var
|
|
24487
|
-
var
|
|
24619
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/leftbar/contact_row/contact_row.vue?vue&type=template&id=4a456732&
|
|
24620
|
+
var contact_rowvue_type_template_id_4a456732_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-recipe-general-row',_vm._g({attrs:{"unread-count":_vm.unreadCount,"description":(_vm.name + " " + _vm.presenceText + " " + _vm.userStatus),"has-unreads":_vm.hasUnreads,"selected":_vm.selected,"has-call-button":true,"muted":_vm.muted,"is-typing":_vm.isTyping,"call-button-tooltip":_vm.callButtonTooltip,"unread-count-tooltip":_vm.unreadCountTooltip},scopedSlots:_vm._u([{key:"left",fn:function(){return [_c('dt-avatar',{attrs:{"size":"sm","seed":_vm.avatarSeed,"presence":_vm.avatarPresence}},[(_vm.avatarSrc)?_c('img',{attrs:{"data-qa":"dt-avatar-image","src":_vm.avatarSrc,"alt":_vm.name}}):(_vm.noInitials)?[_c('dt-icon',{attrs:{"name":"user","size":"200"}})]:[_vm._v(" "+_vm._s(_vm.avatarInitial)+" ")]],2)]},proxy:true},{key:"label",fn:function(){return [_c('dt-emoji-text-wrapper',{staticClass:"dt-leftbar-row__description",attrs:{"data-qa":"dt-leftbar-row-description","size":"200"}},[_vm._v(" "+_vm._s(_vm.name)+" ")]),_c('div',{staticClass:"dt-leftbar-row__status"},[(_vm.presenceText)?_c('span',{class:['dt-leftbar-row__meta-context', _vm.presenceColorClass],attrs:{"data-qa":"dt-leftbar-row-presence-text"}},[_vm._v(" "+_vm._s(_vm.presenceText)+" ")]):_vm._e(),(_vm.userStatus)?_c('dt-emoji-text-wrapper',{staticClass:"dt-leftbar-row__meta-custom",attrs:{"size":"100","element-type":"span","data-qa":"dt-leftbar-row-user-status"}},[_vm._v(" "+_vm._s(_vm.userStatus)+" ")]):_vm._e()],1)]},proxy:true}])},_vm.$listeners))}
|
|
24621
|
+
var contact_rowvue_type_template_id_4a456732_staticRenderFns = []
|
|
24488
24622
|
|
|
24489
24623
|
|
|
24490
24624
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/leftbar/contact_row/contact_row.vue?vue&type=script&lang=js&
|
|
@@ -24550,6 +24684,10 @@ var contact_rowvue_type_template_id_22dc813a_staticRenderFns = []
|
|
|
24550
24684
|
//
|
|
24551
24685
|
//
|
|
24552
24686
|
//
|
|
24687
|
+
//
|
|
24688
|
+
//
|
|
24689
|
+
//
|
|
24690
|
+
//
|
|
24553
24691
|
|
|
24554
24692
|
|
|
24555
24693
|
|
|
@@ -24577,6 +24715,7 @@ var contact_rowvue_type_template_id_22dc813a_staticRenderFns = []
|
|
|
24577
24715
|
* Determines whether to show the presence indicator for
|
|
24578
24716
|
* Avatar - accepts PRESENCE_STATES values: 'active', 'busy', 'away', 'offline'. defaults to active.
|
|
24579
24717
|
* @values active, busy, away, offline
|
|
24718
|
+
* @default active
|
|
24580
24719
|
*/
|
|
24581
24720
|
avatarPresence: {
|
|
24582
24721
|
type: String,
|
|
@@ -24657,6 +24796,30 @@ var contact_rowvue_type_template_id_22dc813a_staticRenderFns = []
|
|
|
24657
24796
|
noInitials: {
|
|
24658
24797
|
type: Boolean,
|
|
24659
24798
|
default: false
|
|
24799
|
+
},
|
|
24800
|
+
|
|
24801
|
+
/**
|
|
24802
|
+
* Shows an "is typing" animation over the avatar when true.
|
|
24803
|
+
*/
|
|
24804
|
+
isTyping: {
|
|
24805
|
+
type: Boolean,
|
|
24806
|
+
default: false
|
|
24807
|
+
},
|
|
24808
|
+
|
|
24809
|
+
/**
|
|
24810
|
+
* Text shown when the call button is hovered.
|
|
24811
|
+
*/
|
|
24812
|
+
callButtonTooltip: {
|
|
24813
|
+
type: String,
|
|
24814
|
+
default: ''
|
|
24815
|
+
},
|
|
24816
|
+
|
|
24817
|
+
/**
|
|
24818
|
+
* Text shown when the unread count is hovered.
|
|
24819
|
+
*/
|
|
24820
|
+
unreadCountTooltip: {
|
|
24821
|
+
type: String,
|
|
24822
|
+
default: ''
|
|
24660
24823
|
}
|
|
24661
24824
|
},
|
|
24662
24825
|
emits: [
|
|
@@ -24711,8 +24874,8 @@ var contact_rowvue_type_template_id_22dc813a_staticRenderFns = []
|
|
|
24711
24874
|
;
|
|
24712
24875
|
var contact_row_component = normalizeComponent(
|
|
24713
24876
|
contact_row_contact_rowvue_type_script_lang_js_,
|
|
24714
|
-
|
|
24715
|
-
|
|
24877
|
+
contact_rowvue_type_template_id_4a456732_render,
|
|
24878
|
+
contact_rowvue_type_template_id_4a456732_staticRenderFns,
|
|
24716
24879
|
false,
|
|
24717
24880
|
null,
|
|
24718
24881
|
null,
|