@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
|
@@ -402,7 +402,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
402
402
|
|
|
403
403
|
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()));
|
|
404
404
|
// Module
|
|
405
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".dt-leftbar-row{--leftbar-row-color-foreground:var(--theme-sidebar-color);--leftbar-row-color-background:
|
|
405
|
+
___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%}}", ""]);
|
|
406
406
|
// Exports
|
|
407
407
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
408
408
|
|
|
@@ -2375,8 +2375,8 @@ if (typeof window !== 'undefined') {
|
|
|
2375
2375
|
// Indicate to webpack that this file can be concatenated
|
|
2376
2376
|
/* harmony default export */ const setPublicPath = (null);
|
|
2377
2377
|
|
|
2378
|
-
;// 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=
|
|
2379
|
-
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:[
|
|
2378
|
+
;// 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&
|
|
2379
|
+
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:[
|
|
2380
2380
|
'd-avatar__presence',
|
|
2381
2381
|
_vm.AVATAR_PRESENCE_SIZE_MODIFIERS[_vm.size] ],attrs:{"presence":_vm.presence,"data-qa":"dt-presence"}},'dt-presence',_vm.presenceProps,false)):_vm._e()],1)}
|
|
2382
2382
|
var staticRenderFns = []
|
|
@@ -2459,7 +2459,8 @@ var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpac
|
|
|
2459
2459
|
|
|
2460
2460
|
const seedrandom = __webpack_require__(377);
|
|
2461
2461
|
|
|
2462
|
-
let UNIQUE_ID_COUNTER = 0;
|
|
2462
|
+
let UNIQUE_ID_COUNTER = 0;
|
|
2463
|
+
let TIMER; // selector to find focusable not hidden inputs
|
|
2463
2464
|
|
|
2464
2465
|
const FOCUSABLE_SELECTOR_NOT_HIDDEN = 'input:not([type=hidden]):not(:disabled)'; // selector to find focusable not disables elements
|
|
2465
2466
|
|
|
@@ -2581,7 +2582,7 @@ const flushPromises = () => {
|
|
|
2581
2582
|
*/
|
|
2582
2583
|
|
|
2583
2584
|
const kebabCaseToPascalCase = string => {
|
|
2584
|
-
return string.toLowerCase().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
|
|
2585
|
+
return string === null || string === void 0 ? void 0 : string.toLowerCase().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
|
|
2585
2586
|
};
|
|
2586
2587
|
/**
|
|
2587
2588
|
* Transform a string from PascalCase to kebab-case
|
|
@@ -2592,6 +2593,17 @@ const kebabCaseToPascalCase = string => {
|
|
|
2592
2593
|
const pascalCaseToKebabCase = string => {
|
|
2593
2594
|
return string.replace(/\.?([A-Z0-9]+)/g, (x, y) => '-' + y.toLowerCase()).replace(/^-/, '');
|
|
2594
2595
|
};
|
|
2596
|
+
/*
|
|
2597
|
+
* Set's a global timer to debounce the execution of a function.
|
|
2598
|
+
* @param { object } func - the function that is going to be called after timeout
|
|
2599
|
+
* @param { number } [timeout=300] timeout
|
|
2600
|
+
* */
|
|
2601
|
+
|
|
2602
|
+
function debounce(func) {
|
|
2603
|
+
let timeout = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 300;
|
|
2604
|
+
clearTimeout(TIMER);
|
|
2605
|
+
TIMER = setTimeout(func, timeout);
|
|
2606
|
+
}
|
|
2595
2607
|
/* harmony default export */ const utils = ({
|
|
2596
2608
|
getUniqueString,
|
|
2597
2609
|
getRandomElement,
|
|
@@ -2601,7 +2613,8 @@ const pascalCaseToKebabCase = string => {
|
|
|
2601
2613
|
getValidationState,
|
|
2602
2614
|
htmlFragment,
|
|
2603
2615
|
flushPromises,
|
|
2604
|
-
kebabCaseToPascalCase
|
|
2616
|
+
kebabCaseToPascalCase,
|
|
2617
|
+
debounce
|
|
2605
2618
|
});
|
|
2606
2619
|
;// 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&
|
|
2607
2620
|
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:{
|
|
@@ -2885,6 +2898,8 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
2885
2898
|
//
|
|
2886
2899
|
//
|
|
2887
2900
|
//
|
|
2901
|
+
//
|
|
2902
|
+
//
|
|
2888
2903
|
|
|
2889
2904
|
|
|
2890
2905
|
|
|
@@ -2991,13 +3006,14 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
2991
3006
|
data() {
|
|
2992
3007
|
return {
|
|
2993
3008
|
// initials, image or icon
|
|
2994
|
-
kind:
|
|
3009
|
+
kind: null,
|
|
2995
3010
|
AVATAR_SIZE_MODIFIERS: AVATAR_SIZE_MODIFIERS,
|
|
2996
3011
|
AVATAR_KIND_MODIFIERS: AVATAR_KIND_MODIFIERS,
|
|
2997
3012
|
AVATAR_PRESENCE_SIZE_MODIFIERS: AVATAR_PRESENCE_SIZE_MODIFIERS,
|
|
2998
3013
|
imageLoadedSuccessfully: null,
|
|
2999
3014
|
slottedInitials: '',
|
|
3000
|
-
formattedInitials: ''
|
|
3015
|
+
formattedInitials: '',
|
|
3016
|
+
initializing: false
|
|
3001
3017
|
};
|
|
3002
3018
|
},
|
|
3003
3019
|
|
|
@@ -3010,11 +3026,11 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
3010
3026
|
},
|
|
3011
3027
|
|
|
3012
3028
|
showDefaultSlot() {
|
|
3013
|
-
return this.kind !== 'initials' && this.imageLoadedSuccessfully
|
|
3029
|
+
return this.kind !== 'initials' || this.kind === 'image' && this.imageLoadedSuccessfully === true;
|
|
3014
3030
|
},
|
|
3015
3031
|
|
|
3016
3032
|
showInitials() {
|
|
3017
|
-
return this.kind === 'initials' || this.initials;
|
|
3033
|
+
return this.kind === 'initials' || this.kind === 'image' && this.initials;
|
|
3018
3034
|
},
|
|
3019
3035
|
|
|
3020
3036
|
showGroup() {
|
|
@@ -3047,28 +3063,27 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
3047
3063
|
},
|
|
3048
3064
|
|
|
3049
3065
|
updated() {
|
|
3050
|
-
|
|
3051
|
-
this.slottedInitials = this.$slots.default[0].text || this.$slots.default[0].textContent;
|
|
3052
|
-
this.formatInitials(this.slottedInitials);
|
|
3053
|
-
}
|
|
3066
|
+
this.init();
|
|
3054
3067
|
},
|
|
3055
3068
|
|
|
3056
3069
|
methods: {
|
|
3057
|
-
init() {
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3070
|
+
async init() {
|
|
3071
|
+
if (this.initializing) return;
|
|
3072
|
+
this.kind = null;
|
|
3073
|
+
await this.$nextTick();
|
|
3074
|
+
const firstChild = this.$refs.canvas.firstElementChild || this.$refs.canvas;
|
|
3075
|
+
this.formatInitials(this.initials);
|
|
3064
3076
|
this.setKind(firstChild);
|
|
3065
3077
|
this.kindHandler(firstChild);
|
|
3078
|
+
this.initializing = true;
|
|
3079
|
+
await this.$nextTick();
|
|
3080
|
+
this.initializing = false;
|
|
3066
3081
|
},
|
|
3067
3082
|
|
|
3068
3083
|
kindHandler(el) {
|
|
3069
3084
|
switch (this.kind) {
|
|
3070
3085
|
case 'image':
|
|
3071
|
-
el.classList.add('d-avatar__image');
|
|
3086
|
+
el.classList.add('d-avatar__image', 'd-zi-base1');
|
|
3072
3087
|
this.validateImageAttrsPresence();
|
|
3073
3088
|
this.setImageListeners(el);
|
|
3074
3089
|
break;
|
|
@@ -3079,24 +3094,25 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
3079
3094
|
|
|
3080
3095
|
case 'initials':
|
|
3081
3096
|
this.slottedInitials = el.text || el.textContent;
|
|
3082
|
-
this.formatInitials(this.slottedInitials);
|
|
3097
|
+
this.formatInitials(this.slottedInitials.trim() || this.initials);
|
|
3083
3098
|
break;
|
|
3084
3099
|
}
|
|
3085
3100
|
},
|
|
3086
3101
|
|
|
3087
3102
|
setImageListeners(el) {
|
|
3088
|
-
el.addEventListener('
|
|
3089
|
-
|
|
3090
|
-
this.imageLoadedSuccessfully = false;
|
|
3103
|
+
el.addEventListener('load', () => this._loadedImageEventHandler(el), {
|
|
3104
|
+
once: true
|
|
3091
3105
|
});
|
|
3092
|
-
el.addEventListener('
|
|
3093
|
-
|
|
3094
|
-
this.imageLoadedSuccessfully = true;
|
|
3106
|
+
el.addEventListener('error', () => this._erroredImageEventHandler(el), {
|
|
3107
|
+
once: true
|
|
3095
3108
|
});
|
|
3096
3109
|
},
|
|
3097
3110
|
|
|
3098
3111
|
formatInitials(initials) {
|
|
3099
|
-
if (!initials)
|
|
3112
|
+
if (!initials) {
|
|
3113
|
+
this.formattedInitials = '';
|
|
3114
|
+
return;
|
|
3115
|
+
}
|
|
3100
3116
|
|
|
3101
3117
|
if (this.validatedSize === 'xs') {
|
|
3102
3118
|
this.formattedInitials = '';
|
|
@@ -3108,7 +3124,7 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
3108
3124
|
},
|
|
3109
3125
|
|
|
3110
3126
|
setKind(element) {
|
|
3111
|
-
if (this.
|
|
3127
|
+
if (this.isIconType(element)) {
|
|
3112
3128
|
this.kind = 'icon';
|
|
3113
3129
|
return;
|
|
3114
3130
|
}
|
|
@@ -3121,7 +3137,7 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
3121
3137
|
this.kind = 'initials';
|
|
3122
3138
|
},
|
|
3123
3139
|
|
|
3124
|
-
|
|
3140
|
+
isIconType(element) {
|
|
3125
3141
|
var _element$tagName;
|
|
3126
3142
|
|
|
3127
3143
|
return (element === null || element === void 0 ? void 0 : (_element$tagName = element.tagName) === null || _element$tagName === void 0 ? void 0 : _element$tagName.toUpperCase()) === 'SVG';
|
|
@@ -3167,6 +3183,18 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
3167
3183
|
if (isSrcMissing || isAltMissing) {
|
|
3168
3184
|
external_commonjs_vue_commonjs2_vue_root_Vue_default().util.warn('src and alt attributes are required for image avatars', this);
|
|
3169
3185
|
}
|
|
3186
|
+
},
|
|
3187
|
+
|
|
3188
|
+
_loadedImageEventHandler(el) {
|
|
3189
|
+
this.imageLoadedSuccessfully = true;
|
|
3190
|
+
el.classList.remove('d-d-none');
|
|
3191
|
+
el.classList.add('d-avatar--image-loaded');
|
|
3192
|
+
},
|
|
3193
|
+
|
|
3194
|
+
_erroredImageEventHandler(el) {
|
|
3195
|
+
this.imageLoadedSuccessfully = false;
|
|
3196
|
+
el.classList.remove('d-avatar--image-loaded');
|
|
3197
|
+
el.classList.add('d-d-none');
|
|
3170
3198
|
}
|
|
3171
3199
|
|
|
3172
3200
|
}
|
|
@@ -8611,7 +8639,7 @@ function orderModifiers(modifiers) {
|
|
|
8611
8639
|
}, []);
|
|
8612
8640
|
}
|
|
8613
8641
|
;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/debounce.js
|
|
8614
|
-
function
|
|
8642
|
+
function debounce_debounce(fn) {
|
|
8615
8643
|
var pending;
|
|
8616
8644
|
return function () {
|
|
8617
8645
|
if (!pending) {
|
|
@@ -8796,7 +8824,7 @@ function popperGenerator(generatorOptions) {
|
|
|
8796
8824
|
},
|
|
8797
8825
|
// Async and optimistically optimized update – it will not be executed if
|
|
8798
8826
|
// not necessary (debounced to run at most once-per-tick)
|
|
8799
|
-
update:
|
|
8827
|
+
update: debounce_debounce(function () {
|
|
8800
8828
|
return new Promise(function (resolve) {
|
|
8801
8829
|
instance.forceUpdate();
|
|
8802
8830
|
resolve(state);
|
|
@@ -12566,7 +12594,6 @@ const getArrowDetected = fn => ({
|
|
|
12566
12594
|
;// CONCATENATED MODULE: ./components/popover/tippy_utils.js
|
|
12567
12595
|
|
|
12568
12596
|
|
|
12569
|
-
|
|
12570
12597
|
const BASE_TIPPY_DIRECTIONS = ['bottom', 'bottom-start', 'bottom-end', 'right', 'right-start', 'right-end', 'left', 'left-start', 'left-end', 'top', 'top-start', 'top-end'];
|
|
12571
12598
|
const TIPPY_STICKY_VALUES = [true, false, 'reference', 'popper'];
|
|
12572
12599
|
const tippy_utils_createTippy = (anchorElement, options) => {
|
|
@@ -12615,24 +12642,17 @@ const getPopperOptions = function () {
|
|
|
12615
12642
|
};
|
|
12616
12643
|
};
|
|
12617
12644
|
|
|
12618
|
-
const createAnchor =
|
|
12645
|
+
const createAnchor = anchorWrapper => {
|
|
12619
12646
|
const span = document.createElement('span');
|
|
12620
|
-
span.setAttribute('tabindex', tabIndex);
|
|
12621
12647
|
span.innerText = anchorWrapper.innerText || '';
|
|
12622
12648
|
anchorWrapper.innerText = '';
|
|
12623
12649
|
anchorWrapper.appendChild(span);
|
|
12624
12650
|
return span;
|
|
12625
12651
|
};
|
|
12626
12652
|
|
|
12627
|
-
const getAnchor =
|
|
12628
|
-
let tabIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '0';
|
|
12653
|
+
const getAnchor = anchorWrapper => {
|
|
12629
12654
|
const anchor = anchorWrapper === null || anchorWrapper === void 0 ? void 0 : anchorWrapper.children[0];
|
|
12630
12655
|
if (!anchor) return createAnchor(anchorWrapper);
|
|
12631
|
-
|
|
12632
|
-
if (!findFirstFocusableNode(anchor)) {
|
|
12633
|
-
anchor.setAttribute('tabindex', tabIndex);
|
|
12634
|
-
}
|
|
12635
|
-
|
|
12636
12656
|
return anchor;
|
|
12637
12657
|
};
|
|
12638
12658
|
const getContentWrapper = content => {
|
|
@@ -19716,15 +19736,15 @@ var toggle_component = normalizeComponent(
|
|
|
19716
19736
|
/* harmony default export */ const toggle = (toggle_component.exports);
|
|
19717
19737
|
;// CONCATENATED MODULE: ./components/toggle/index.js
|
|
19718
19738
|
|
|
19719
|
-
;// 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=
|
|
19720
|
-
var
|
|
19739
|
+
;// 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&
|
|
19740
|
+
var tooltipvue_type_template_id_6d30a218_render = function () {
|
|
19721
19741
|
var _obj;
|
|
19722
|
-
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:[
|
|
19742
|
+
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:[
|
|
19723
19743
|
'd-tooltip',
|
|
19724
19744
|
("d-tooltip__arrow-tippy--" + _vm.currentPlacement),
|
|
19725
19745
|
( _obj = {}, _obj[ _vm.TOOLTIP_KIND_MODIFIERS.inverted ] = _vm.inverted, _obj ),
|
|
19726
19746
|
_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)}
|
|
19727
|
-
var
|
|
19747
|
+
var tooltipvue_type_template_id_6d30a218_staticRenderFns = []
|
|
19728
19748
|
|
|
19729
19749
|
|
|
19730
19750
|
;// CONCATENATED MODULE: ./components/tooltip/tooltip_constants.js
|
|
@@ -19788,6 +19808,7 @@ const TOOLTIP_HIDE_ON_CLICK_VARIANTS = [true, false, 'toggle'];
|
|
|
19788
19808
|
//
|
|
19789
19809
|
//
|
|
19790
19810
|
//
|
|
19811
|
+
//
|
|
19791
19812
|
|
|
19792
19813
|
|
|
19793
19814
|
|
|
@@ -20131,8 +20152,8 @@ var tooltipvue_type_style_index_0_lang_less_ = __webpack_require__(213);
|
|
|
20131
20152
|
|
|
20132
20153
|
var tooltip_component = normalizeComponent(
|
|
20133
20154
|
tooltip_tooltipvue_type_script_lang_js_,
|
|
20134
|
-
|
|
20135
|
-
|
|
20155
|
+
tooltipvue_type_template_id_6d30a218_render,
|
|
20156
|
+
tooltipvue_type_template_id_6d30a218_staticRenderFns,
|
|
20136
20157
|
false,
|
|
20137
20158
|
null,
|
|
20138
20159
|
null,
|
|
@@ -23355,9 +23376,9 @@ var grouped_chip_component = normalizeComponent(
|
|
|
23355
23376
|
/* harmony default export */ const grouped_chip = (grouped_chip_component.exports);
|
|
23356
23377
|
;// CONCATENATED MODULE: ./recipes/chips/grouped_chip/index.js
|
|
23357
23378
|
|
|
23358
|
-
;// 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=
|
|
23359
|
-
var
|
|
23360
|
-
var
|
|
23379
|
+
;// 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&
|
|
23380
|
+
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()])}
|
|
23381
|
+
var general_rowvue_type_template_id_31787490_staticRenderFns = []
|
|
23361
23382
|
|
|
23362
23383
|
|
|
23363
23384
|
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/general_row_constants.js
|
|
@@ -23368,6 +23389,9 @@ const LEFTBAR_GENERAL_ROW_TYPES = {
|
|
|
23368
23389
|
THREADS: 'threads',
|
|
23369
23390
|
LOCKED_CHANNEL: 'locked channel',
|
|
23370
23391
|
CONTACT_CENTER: 'contact center',
|
|
23392
|
+
QUICK_START: 'quick start',
|
|
23393
|
+
COACHING_GROUP: 'coaching group',
|
|
23394
|
+
COACHING_CENTER: 'coaching center',
|
|
23371
23395
|
DIALBOT: 'dialbot',
|
|
23372
23396
|
ASSIGNED: 'assigned',
|
|
23373
23397
|
DIGITAL: 'digital'
|
|
@@ -23378,6 +23402,9 @@ const LEFTBAR_GENERAL_ROW_ICON_MAPPING = {
|
|
|
23378
23402
|
[LEFTBAR_GENERAL_ROW_TYPES.CHANNELS]: 'hash',
|
|
23379
23403
|
[LEFTBAR_GENERAL_ROW_TYPES.THREADS]: 'thread',
|
|
23380
23404
|
[LEFTBAR_GENERAL_ROW_TYPES.LOCKED_CHANNEL]: 'lock',
|
|
23405
|
+
[LEFTBAR_GENERAL_ROW_TYPES.QUICK_START]: 'sparkle',
|
|
23406
|
+
[LEFTBAR_GENERAL_ROW_TYPES.COACHING_GROUP]: 'users',
|
|
23407
|
+
[LEFTBAR_GENERAL_ROW_TYPES.COACHING_CENTER]: 'external-link',
|
|
23381
23408
|
'locked channel unread': 'lock-filled',
|
|
23382
23409
|
'channel unread': 'hash-bold',
|
|
23383
23410
|
[LEFTBAR_GENERAL_ROW_TYPES.ASSIGNED]: 'at-sign',
|
|
@@ -23929,27 +23956,27 @@ var emoji_text_wrapper_component = normalizeComponent(
|
|
|
23929
23956
|
)
|
|
23930
23957
|
|
|
23931
23958
|
/* harmony default export */ const emoji_text_wrapper = (emoji_text_wrapper_component.exports);
|
|
23932
|
-
;// 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=
|
|
23933
|
-
var
|
|
23934
|
-
var
|
|
23959
|
+
;// 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&
|
|
23960
|
+
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()}
|
|
23961
|
+
var leftbar_general_row_iconvue_type_template_id_42d6843e_staticRenderFns = []
|
|
23935
23962
|
|
|
23936
23963
|
|
|
23937
|
-
;// 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/
|
|
23938
|
-
var
|
|
23939
|
-
var
|
|
23964
|
+
;// 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&
|
|
23965
|
+
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)])}
|
|
23966
|
+
var IconDialbotvue_type_template_id_afc48fb0_staticRenderFns = []
|
|
23940
23967
|
|
|
23941
23968
|
|
|
23942
|
-
;// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/
|
|
23969
|
+
;// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconDialbot.vue
|
|
23943
23970
|
|
|
23944
23971
|
var script = {}
|
|
23945
23972
|
|
|
23946
23973
|
|
|
23947
23974
|
/* normalize component */
|
|
23948
23975
|
;
|
|
23949
|
-
var
|
|
23976
|
+
var IconDialbot_component = normalizeComponent(
|
|
23950
23977
|
script,
|
|
23951
|
-
|
|
23952
|
-
|
|
23978
|
+
IconDialbotvue_type_template_id_afc48fb0_render,
|
|
23979
|
+
IconDialbotvue_type_template_id_afc48fb0_staticRenderFns,
|
|
23953
23980
|
false,
|
|
23954
23981
|
null,
|
|
23955
23982
|
null,
|
|
@@ -23957,7 +23984,7 @@ var IconDialpadGlyph_component = normalizeComponent(
|
|
|
23957
23984
|
|
|
23958
23985
|
)
|
|
23959
23986
|
|
|
23960
|
-
/* harmony default export */ const
|
|
23987
|
+
/* harmony default export */ const IconDialbot = (IconDialbot_component.exports);
|
|
23961
23988
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[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&
|
|
23962
23989
|
//
|
|
23963
23990
|
//
|
|
@@ -23979,7 +24006,6 @@ var IconDialpadGlyph_component = normalizeComponent(
|
|
|
23979
24006
|
//
|
|
23980
24007
|
//
|
|
23981
24008
|
//
|
|
23982
|
-
//
|
|
23983
24009
|
|
|
23984
24010
|
|
|
23985
24011
|
|
|
@@ -23987,7 +24013,7 @@ var IconDialpadGlyph_component = normalizeComponent(
|
|
|
23987
24013
|
name: 'DtRecipeLeftbarGeneralRowIcon',
|
|
23988
24014
|
components: {
|
|
23989
24015
|
DtIcon: icon,
|
|
23990
|
-
|
|
24016
|
+
IconDialbot: IconDialbot
|
|
23991
24017
|
},
|
|
23992
24018
|
props: {
|
|
23993
24019
|
type: {
|
|
@@ -24021,7 +24047,7 @@ var IconDialpadGlyph_component = normalizeComponent(
|
|
|
24021
24047
|
},
|
|
24022
24048
|
|
|
24023
24049
|
dialbotClasses() {
|
|
24024
|
-
return ['d-
|
|
24050
|
+
return ['d-w24', 'd-h24', 'd-d-flex', 'd-ai-center', 'd-jc-center'];
|
|
24025
24051
|
}
|
|
24026
24052
|
|
|
24027
24053
|
}
|
|
@@ -24038,8 +24064,8 @@ var IconDialpadGlyph_component = normalizeComponent(
|
|
|
24038
24064
|
;
|
|
24039
24065
|
var leftbar_general_row_icon_component = normalizeComponent(
|
|
24040
24066
|
general_row_leftbar_general_row_iconvue_type_script_lang_js_,
|
|
24041
|
-
|
|
24042
|
-
|
|
24067
|
+
leftbar_general_row_iconvue_type_template_id_42d6843e_render,
|
|
24068
|
+
leftbar_general_row_iconvue_type_template_id_42d6843e_staticRenderFns,
|
|
24043
24069
|
false,
|
|
24044
24070
|
null,
|
|
24045
24071
|
null,
|
|
@@ -24136,6 +24162,41 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24136
24162
|
//
|
|
24137
24163
|
//
|
|
24138
24164
|
//
|
|
24165
|
+
//
|
|
24166
|
+
//
|
|
24167
|
+
//
|
|
24168
|
+
//
|
|
24169
|
+
//
|
|
24170
|
+
//
|
|
24171
|
+
//
|
|
24172
|
+
//
|
|
24173
|
+
//
|
|
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
|
+
|
|
24139
24200
|
|
|
24140
24201
|
|
|
24141
24202
|
|
|
@@ -24149,6 +24210,7 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24149
24210
|
DtBadge: badge,
|
|
24150
24211
|
DtIcon: icon,
|
|
24151
24212
|
DtButton: button_button,
|
|
24213
|
+
DtTooltip: tooltip,
|
|
24152
24214
|
DtRecipeLeftbarGeneralRowIcon: leftbar_general_row_icon
|
|
24153
24215
|
},
|
|
24154
24216
|
inheritAttrs: false,
|
|
@@ -24166,13 +24228,22 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24166
24228
|
},
|
|
24167
24229
|
|
|
24168
24230
|
/**
|
|
24169
|
-
*
|
|
24231
|
+
* Will be read out by a screen reader upon focus of this row. If not defined "description" will be read.
|
|
24170
24232
|
*/
|
|
24171
|
-
|
|
24233
|
+
ariaLabel: {
|
|
24172
24234
|
type: String,
|
|
24173
24235
|
default: ''
|
|
24174
24236
|
},
|
|
24175
24237
|
|
|
24238
|
+
/**
|
|
24239
|
+
* Text displayed next to the icon. Required. Even if you are overriding this field using the label slot
|
|
24240
|
+
* you still must input this as it will be displayed as the "title" attribute for the row.
|
|
24241
|
+
*/
|
|
24242
|
+
description: {
|
|
24243
|
+
type: String,
|
|
24244
|
+
required: true
|
|
24245
|
+
},
|
|
24246
|
+
|
|
24176
24247
|
/**
|
|
24177
24248
|
* Determines the color of the contact center icon
|
|
24178
24249
|
*/
|
|
@@ -24201,6 +24272,14 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24201
24272
|
default: null
|
|
24202
24273
|
},
|
|
24203
24274
|
|
|
24275
|
+
/**
|
|
24276
|
+
* Text shown when the unread count is hovered.
|
|
24277
|
+
*/
|
|
24278
|
+
unreadCountTooltip: {
|
|
24279
|
+
type: String,
|
|
24280
|
+
default: ''
|
|
24281
|
+
},
|
|
24282
|
+
|
|
24204
24283
|
/**
|
|
24205
24284
|
* Determines if the row is selected
|
|
24206
24285
|
*/
|
|
@@ -24234,12 +24313,36 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24234
24313
|
default: ''
|
|
24235
24314
|
},
|
|
24236
24315
|
|
|
24316
|
+
/**
|
|
24317
|
+
* Text shown in tooltip when you hover the dndText
|
|
24318
|
+
*/
|
|
24319
|
+
dndTextTooltip: {
|
|
24320
|
+
type: String,
|
|
24321
|
+
default: ''
|
|
24322
|
+
},
|
|
24323
|
+
|
|
24237
24324
|
/**
|
|
24238
24325
|
* Whether the row should have a call button. Usually only applicable to individual contact rows.
|
|
24239
24326
|
*/
|
|
24240
24327
|
hasCallButton: {
|
|
24241
24328
|
type: Boolean,
|
|
24242
24329
|
default: false
|
|
24330
|
+
},
|
|
24331
|
+
|
|
24332
|
+
/**
|
|
24333
|
+
* Text shown when the call button is hovered.
|
|
24334
|
+
*/
|
|
24335
|
+
callButtonTooltip: {
|
|
24336
|
+
type: String,
|
|
24337
|
+
default: ''
|
|
24338
|
+
},
|
|
24339
|
+
|
|
24340
|
+
/**
|
|
24341
|
+
* Shows an "is typing" animation over the avatar when true.
|
|
24342
|
+
*/
|
|
24343
|
+
isTyping: {
|
|
24344
|
+
type: Boolean,
|
|
24345
|
+
default: false
|
|
24243
24346
|
}
|
|
24244
24347
|
},
|
|
24245
24348
|
emits: [
|
|
@@ -24287,6 +24390,10 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24287
24390
|
}
|
|
24288
24391
|
|
|
24289
24392
|
return this.type;
|
|
24393
|
+
},
|
|
24394
|
+
|
|
24395
|
+
getAriaLabel() {
|
|
24396
|
+
return this.ariaLabel ? this.ariaLabel : `${this.description} ${this.unreadCountTooltip} ${this.dndTextTooltip}`;
|
|
24290
24397
|
}
|
|
24291
24398
|
|
|
24292
24399
|
},
|
|
@@ -24327,8 +24434,8 @@ var general_rowvue_type_style_index_0_lang_less_ = __webpack_require__(641);
|
|
|
24327
24434
|
|
|
24328
24435
|
var general_row_component = normalizeComponent(
|
|
24329
24436
|
general_row_general_rowvue_type_script_lang_js_,
|
|
24330
|
-
|
|
24331
|
-
|
|
24437
|
+
general_rowvue_type_template_id_31787490_render,
|
|
24438
|
+
general_rowvue_type_template_id_31787490_staticRenderFns,
|
|
24332
24439
|
false,
|
|
24333
24440
|
null,
|
|
24334
24441
|
null,
|
|
@@ -24340,9 +24447,9 @@ var general_row_component = normalizeComponent(
|
|
|
24340
24447
|
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/index.js
|
|
24341
24448
|
|
|
24342
24449
|
|
|
24343
|
-
;// 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=
|
|
24344
|
-
var
|
|
24345
|
-
var
|
|
24450
|
+
;// 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&
|
|
24451
|
+
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))}
|
|
24452
|
+
var group_rowvue_type_template_id_2afb38bf_staticRenderFns = []
|
|
24346
24453
|
|
|
24347
24454
|
|
|
24348
24455
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[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&
|
|
@@ -24369,6 +24476,9 @@ var group_rowvue_type_template_id_4a86bd91_staticRenderFns = []
|
|
|
24369
24476
|
//
|
|
24370
24477
|
//
|
|
24371
24478
|
//
|
|
24479
|
+
//
|
|
24480
|
+
//
|
|
24481
|
+
//
|
|
24372
24482
|
|
|
24373
24483
|
|
|
24374
24484
|
/* harmony default export */ const group_rowvue_type_script_lang_js_ = ({
|
|
@@ -24406,12 +24516,20 @@ var group_rowvue_type_template_id_4a86bd91_staticRenderFns = []
|
|
|
24406
24516
|
required: true
|
|
24407
24517
|
},
|
|
24408
24518
|
|
|
24519
|
+
/**
|
|
24520
|
+
* Screen reader will read out the number of users in the group using this text. Ex: "2 users"
|
|
24521
|
+
*/
|
|
24522
|
+
groupCountText: {
|
|
24523
|
+
type: String,
|
|
24524
|
+
default: ''
|
|
24525
|
+
},
|
|
24526
|
+
|
|
24409
24527
|
/**
|
|
24410
24528
|
* Names of the group members
|
|
24411
24529
|
*/
|
|
24412
24530
|
names: {
|
|
24413
24531
|
type: String,
|
|
24414
|
-
|
|
24532
|
+
required: true
|
|
24415
24533
|
},
|
|
24416
24534
|
|
|
24417
24535
|
/**
|
|
@@ -24422,6 +24540,14 @@ var group_rowvue_type_template_id_4a86bd91_staticRenderFns = []
|
|
|
24422
24540
|
default: null
|
|
24423
24541
|
},
|
|
24424
24542
|
|
|
24543
|
+
/**
|
|
24544
|
+
* Text shown when the unread count is hovered.
|
|
24545
|
+
*/
|
|
24546
|
+
unreadCountTooltip: {
|
|
24547
|
+
type: String,
|
|
24548
|
+
default: null
|
|
24549
|
+
},
|
|
24550
|
+
|
|
24425
24551
|
/**
|
|
24426
24552
|
* Styles the row with an increased font weight to convey it has unreads. This must be true to see
|
|
24427
24553
|
* the unread count badge.
|
|
@@ -24437,6 +24563,14 @@ var group_rowvue_type_template_id_4a86bd91_staticRenderFns = []
|
|
|
24437
24563
|
selected: {
|
|
24438
24564
|
type: Boolean,
|
|
24439
24565
|
default: false
|
|
24566
|
+
},
|
|
24567
|
+
|
|
24568
|
+
/**
|
|
24569
|
+
* Shows an "is typing" animation over the avatar when true.
|
|
24570
|
+
*/
|
|
24571
|
+
isTyping: {
|
|
24572
|
+
type: Boolean,
|
|
24573
|
+
default: false
|
|
24440
24574
|
}
|
|
24441
24575
|
},
|
|
24442
24576
|
emits: [
|
|
@@ -24460,8 +24594,8 @@ var group_rowvue_type_template_id_4a86bd91_staticRenderFns = []
|
|
|
24460
24594
|
;
|
|
24461
24595
|
var group_row_component = normalizeComponent(
|
|
24462
24596
|
group_row_group_rowvue_type_script_lang_js_,
|
|
24463
|
-
|
|
24464
|
-
|
|
24597
|
+
group_rowvue_type_template_id_2afb38bf_render,
|
|
24598
|
+
group_rowvue_type_template_id_2afb38bf_staticRenderFns,
|
|
24465
24599
|
false,
|
|
24466
24600
|
null,
|
|
24467
24601
|
null,
|
|
@@ -24472,9 +24606,9 @@ var group_row_component = normalizeComponent(
|
|
|
24472
24606
|
/* harmony default export */ const group_row = (group_row_component.exports);
|
|
24473
24607
|
;// CONCATENATED MODULE: ./recipes/leftbar/group_row/index.js
|
|
24474
24608
|
|
|
24475
|
-
;// 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=
|
|
24476
|
-
var
|
|
24477
|
-
var
|
|
24609
|
+
;// 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&
|
|
24610
|
+
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))}
|
|
24611
|
+
var contact_rowvue_type_template_id_4a456732_staticRenderFns = []
|
|
24478
24612
|
|
|
24479
24613
|
|
|
24480
24614
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[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&
|
|
@@ -24540,6 +24674,10 @@ var contact_rowvue_type_template_id_22dc813a_staticRenderFns = []
|
|
|
24540
24674
|
//
|
|
24541
24675
|
//
|
|
24542
24676
|
//
|
|
24677
|
+
//
|
|
24678
|
+
//
|
|
24679
|
+
//
|
|
24680
|
+
//
|
|
24543
24681
|
|
|
24544
24682
|
|
|
24545
24683
|
|
|
@@ -24567,6 +24705,7 @@ var contact_rowvue_type_template_id_22dc813a_staticRenderFns = []
|
|
|
24567
24705
|
* Determines whether to show the presence indicator for
|
|
24568
24706
|
* Avatar - accepts PRESENCE_STATES values: 'active', 'busy', 'away', 'offline'. defaults to active.
|
|
24569
24707
|
* @values active, busy, away, offline
|
|
24708
|
+
* @default active
|
|
24570
24709
|
*/
|
|
24571
24710
|
avatarPresence: {
|
|
24572
24711
|
type: String,
|
|
@@ -24647,6 +24786,30 @@ var contact_rowvue_type_template_id_22dc813a_staticRenderFns = []
|
|
|
24647
24786
|
noInitials: {
|
|
24648
24787
|
type: Boolean,
|
|
24649
24788
|
default: false
|
|
24789
|
+
},
|
|
24790
|
+
|
|
24791
|
+
/**
|
|
24792
|
+
* Shows an "is typing" animation over the avatar when true.
|
|
24793
|
+
*/
|
|
24794
|
+
isTyping: {
|
|
24795
|
+
type: Boolean,
|
|
24796
|
+
default: false
|
|
24797
|
+
},
|
|
24798
|
+
|
|
24799
|
+
/**
|
|
24800
|
+
* Text shown when the call button is hovered.
|
|
24801
|
+
*/
|
|
24802
|
+
callButtonTooltip: {
|
|
24803
|
+
type: String,
|
|
24804
|
+
default: ''
|
|
24805
|
+
},
|
|
24806
|
+
|
|
24807
|
+
/**
|
|
24808
|
+
* Text shown when the unread count is hovered.
|
|
24809
|
+
*/
|
|
24810
|
+
unreadCountTooltip: {
|
|
24811
|
+
type: String,
|
|
24812
|
+
default: ''
|
|
24650
24813
|
}
|
|
24651
24814
|
},
|
|
24652
24815
|
emits: [
|
|
@@ -24701,8 +24864,8 @@ var contact_rowvue_type_template_id_22dc813a_staticRenderFns = []
|
|
|
24701
24864
|
;
|
|
24702
24865
|
var contact_row_component = normalizeComponent(
|
|
24703
24866
|
contact_row_contact_rowvue_type_script_lang_js_,
|
|
24704
|
-
|
|
24705
|
-
|
|
24867
|
+
contact_rowvue_type_template_id_4a456732_render,
|
|
24868
|
+
contact_rowvue_type_template_id_4a456732_staticRenderFns,
|
|
24706
24869
|
false,
|
|
24707
24870
|
null,
|
|
24708
24871
|
null,
|