@dialpad/dialtone-vue 2.63.0 → 2.65.0-beta.1

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.
@@ -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:transparent;--leftbar-row-radius:100em;--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-alpha-opacity:100%;--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-description-opacity:100%;--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}.dt-leftbar-row:not(.dt-leftbar-row--no-action):hover{--leftbar-row-omega-min-width:var(--leftbar-row-alpha-width)}.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-alpha-opacity:50%;--leftbar-row-description-opacity:60%}.dt-leftbar-row--selected{--leftbar-row-color-background:var(--theme-sidebar-active-row-color-background);--leftbar-row-color-foreground:var(--theme-sidebar-active-row-color)}.dt-leftbar-row--selected .d-avatar__count{--avatar-count-color-shadow:var(--theme-sidebar-active-row-color-background)}.dt-leftbar-row--action-focused{--leftbar-row-omega-visibility:hidden}.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-active-row-color-background)}.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));opacity:0}.dt-leftbar-row:hover .dt-leftbar-row__action,.dt-leftbar-row__action:focus,.dt-leftbar-row__action:focus-within{opacity:1}.dt-leftbar-row__action-button{width:var(--leftbar-row-action-width);height:var(--leftbar-row-action-height)}.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);opacity:var(--leftbar-row-alpha-opacity)}.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{color:var(--black-600);font-size:var(--fs-100);font-weight:var(--fw-bold)}.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);opacity:var(--leftbar-row-description-opacity)}.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}}", ""]);
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
 
@@ -2279,6 +2279,7 @@ __webpack_require__.d(__webpack_exports__, {
2279
2279
  "DtRecipeComboboxMultiSelect": () => (/* reexport */ combobox_multi_select),
2280
2280
  "DtRecipeComboboxWithPopover": () => (/* reexport */ combobox_with_popover),
2281
2281
  "DtRecipeContactInfo": () => (/* reexport */ contact_info),
2282
+ "DtRecipeContactRow": () => (/* reexport */ contact_row),
2282
2283
  "DtRecipeGeneralRow": () => (/* reexport */ general_row),
2283
2284
  "DtRecipeGroupRow": () => (/* reexport */ group_row),
2284
2285
  "DtRecipeGroupedChip": () => (/* reexport */ grouped_chip),
@@ -4415,6 +4416,7 @@ const focusableElementsList = `button,[href],input,select,textarea,details,[tabi
4415
4416
  _getFocusableElements() {
4416
4417
  let el = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.$el;
4417
4418
  let includeNegativeTabIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
4419
+ if (!el) return [];
4418
4420
  const focusableContent = [...el.querySelectorAll(focusableElementsList)];
4419
4421
  return focusableContent.filter(fc => {
4420
4422
  const style = window.getComputedStyle(fc);
@@ -12564,7 +12566,6 @@ const getArrowDetected = fn => ({
12564
12566
  ;// CONCATENATED MODULE: ./components/popover/tippy_utils.js
12565
12567
 
12566
12568
 
12567
-
12568
12569
  const BASE_TIPPY_DIRECTIONS = ['bottom', 'bottom-start', 'bottom-end', 'right', 'right-start', 'right-end', 'left', 'left-start', 'left-end', 'top', 'top-start', 'top-end'];
12569
12570
  const TIPPY_STICKY_VALUES = [true, false, 'reference', 'popper'];
12570
12571
  const tippy_utils_createTippy = (anchorElement, options) => {
@@ -12613,24 +12614,17 @@ const getPopperOptions = function () {
12613
12614
  };
12614
12615
  };
12615
12616
 
12616
- const createAnchor = (anchorWrapper, tabIndex) => {
12617
+ const createAnchor = anchorWrapper => {
12617
12618
  const span = document.createElement('span');
12618
- span.setAttribute('tabindex', tabIndex);
12619
12619
  span.innerText = anchorWrapper.innerText || '';
12620
12620
  anchorWrapper.innerText = '';
12621
12621
  anchorWrapper.appendChild(span);
12622
12622
  return span;
12623
12623
  };
12624
12624
 
12625
- const getAnchor = function (anchorWrapper) {
12626
- let tabIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '0';
12625
+ const getAnchor = anchorWrapper => {
12627
12626
  const anchor = anchorWrapper === null || anchorWrapper === void 0 ? void 0 : anchorWrapper.children[0];
12628
12627
  if (!anchor) return createAnchor(anchorWrapper);
12629
-
12630
- if (!findFirstFocusableNode(anchor)) {
12631
- anchor.setAttribute('tabindex', tabIndex);
12632
- }
12633
-
12634
12628
  return anchor;
12635
12629
  };
12636
12630
  const getContentWrapper = content => {
@@ -19714,15 +19708,15 @@ var toggle_component = normalizeComponent(
19714
19708
  /* harmony default export */ const toggle = (toggle_component.exports);
19715
19709
  ;// CONCATENATED MODULE: ./components/toggle/index.js
19716
19710
 
19717
- ;// 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=0c394aac&
19718
- var tooltipvue_type_template_id_0c394aac_render = function () {
19711
+ ;// 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&
19712
+ var tooltipvue_type_template_id_6d30a218_render = function () {
19719
19713
  var _obj;
19720
- 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:[
19714
+ 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:[
19721
19715
  'd-tooltip',
19722
19716
  ("d-tooltip__arrow-tippy--" + _vm.currentPlacement),
19723
19717
  ( _obj = {}, _obj[ _vm.TOOLTIP_KIND_MODIFIERS.inverted ] = _vm.inverted, _obj ),
19724
19718
  _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)}
19725
- var tooltipvue_type_template_id_0c394aac_staticRenderFns = []
19719
+ var tooltipvue_type_template_id_6d30a218_staticRenderFns = []
19726
19720
 
19727
19721
 
19728
19722
  ;// CONCATENATED MODULE: ./components/tooltip/tooltip_constants.js
@@ -19786,6 +19780,7 @@ const TOOLTIP_HIDE_ON_CLICK_VARIANTS = [true, false, 'toggle'];
19786
19780
  //
19787
19781
  //
19788
19782
  //
19783
+ //
19789
19784
 
19790
19785
 
19791
19786
 
@@ -20129,8 +20124,8 @@ var tooltipvue_type_style_index_0_lang_less_ = __webpack_require__(213);
20129
20124
 
20130
20125
  var tooltip_component = normalizeComponent(
20131
20126
  tooltip_tooltipvue_type_script_lang_js_,
20132
- tooltipvue_type_template_id_0c394aac_render,
20133
- tooltipvue_type_template_id_0c394aac_staticRenderFns,
20127
+ tooltipvue_type_template_id_6d30a218_render,
20128
+ tooltipvue_type_template_id_6d30a218_staticRenderFns,
20134
20129
  false,
20135
20130
  null,
20136
20131
  null,
@@ -22152,9 +22147,9 @@ var combobox_multi_select_component = normalizeComponent(
22152
22147
  ;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/index.js
22153
22148
 
22154
22149
 
22155
- ;// 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/buttons/callbar_button/callbar_button.vue?vue&type=template&id=44881500&
22156
- var callbar_buttonvue_type_template_id_44881500_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-tooltip',{attrs:{"id":_vm.id,"offset":[0, -12]},scopedSlots:_vm._u([{key:"anchor",fn:function(){return [_c('dt-button',_vm._g({class:_vm.callbarButtonClass,attrs:{"importance":_vm.circle ? 'outlined' : 'clear',"kind":"muted","icon-position":"top","disabled":_vm.disabled,"aria-label":_vm.ariaLabel,"label-class":"d-fs-100","width":_vm.buttonWidth}},_vm.$listeners),[_vm._t("default"),_vm._t("icon",null,{"slot":"icon"})],2)]},proxy:true}],null,true)},[_vm._t("tooltip")],2)}
22157
- var callbar_buttonvue_type_template_id_44881500_staticRenderFns = []
22150
+ ;// 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/buttons/callbar_button/callbar_button.vue?vue&type=template&id=83ef55d6&
22151
+ var callbar_buttonvue_type_template_id_83ef55d6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-tooltip',{attrs:{"id":_vm.id,"offset":[0, -12]},scopedSlots:_vm._u([{key:"anchor",fn:function(){return [_c('dt-button',_vm._g({class:_vm.callbarButtonClass,attrs:{"importance":_vm.circle ? 'outlined' : 'clear',"kind":"muted","icon-position":"top","disabled":_vm.disabled,"aria-label":_vm.ariaLabel,"label-class":"d-fs-100","width":_vm.buttonWidth}},_vm.$listeners),[_vm._t("default"),_vm._t("icon",null,{"slot":"icon"})],2)]},proxy:true}],null,true)},[_vm._t("tooltip")],2)}
22152
+ var callbar_buttonvue_type_template_id_83ef55d6_staticRenderFns = []
22158
22153
 
22159
22154
 
22160
22155
  ;// 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/buttons/callbar_button/callbar_button.vue?vue&type=script&lang=js&
@@ -22300,10 +22295,9 @@ const VALID_WIDTH_SIZE = ['sm', 'md', 'lg', 'xl'];
22300
22295
  buttonWidth() {
22301
22296
  switch (this.buttonWidthSize) {
22302
22297
  case 'sm':
22303
- case 'md':
22304
22298
  return '4.5rem';
22305
22299
 
22306
- case 'lg':
22300
+ case 'md':
22307
22301
  return '6rem';
22308
22302
 
22309
22303
  default:
@@ -22330,8 +22324,8 @@ var callbar_buttonvue_type_style_index_0_lang_less_ = __webpack_require__(759);
22330
22324
 
22331
22325
  var callbar_button_component = normalizeComponent(
22332
22326
  callbar_button_callbar_buttonvue_type_script_lang_js_,
22333
- callbar_buttonvue_type_template_id_44881500_render,
22334
- callbar_buttonvue_type_template_id_44881500_staticRenderFns,
22327
+ callbar_buttonvue_type_template_id_83ef55d6_render,
22328
+ callbar_buttonvue_type_template_id_83ef55d6_staticRenderFns,
22335
22329
  false,
22336
22330
  null,
22337
22331
  null,
@@ -22342,9 +22336,9 @@ var callbar_button_component = normalizeComponent(
22342
22336
  /* harmony default export */ const callbar_button = (callbar_button_component.exports);
22343
22337
  ;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/index.js
22344
22338
 
22345
- ;// 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/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=template&id=428bc44b&
22346
- var callbar_button_with_popovervue_type_template_id_428bc44b_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-d-flex d-ai-center"},[_c('dt-recipe-callbar-button',{staticClass:"dt-recipe--callbar-button-with-popover--main-button",attrs:{"aria-label":_vm.ariaLabel,"disabled":_vm.disabled,"active":_vm.active,"danger":_vm.danger,"button-class":_vm.buttonClass,"button-width-size":_vm.buttonWidthSize},on:{"click":_vm.buttonClick}},[_vm._t("icon",null,{"slot":"icon"}),_vm._t("tooltip",null,{"slot":"tooltip"}),_vm._t("default")],2),(_vm.showArrowButton)?_c('dt-popover',_vm._b({staticClass:"dt-recipe--callbar-button-with-popover--popover-wrapper",attrs:{"id":_vm.id,"open":_vm.open,"placement":_vm.placement,"initial-focus-element":_vm.initialFocusElement,"show-close-button":_vm.showCloseButton,"padding":"none","dialog-class":['dt-recipe--callbar-button-with-popover--popover', _vm.contentClass],"header-class":"d-d-flex d-ai-center d-fw-normal d-px12"},on:{"opened":_vm.onModalIsOpened},scopedSlots:_vm._u([{key:"anchor",fn:function(){return [_c('dt-button',{class:['dt-recipe--callbar-button-with-popover--arrow', _vm.isCompactMode ? 'd-mln16' : 'd-mln24'],attrs:{"circle":"","importance":"clear","size":"lg","width":"2rem","aria-label":_vm.arrowButtonLabel,"active":_vm.open},on:{"click":_vm.arrowClick},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('dt-icon',{attrs:{"name":"chevron-up","size":"200"}})]},proxy:true}],null,false,3340821372)})]},proxy:true}],null,false,821174459)},'dt-popover',_vm.$attrs,false),[_vm._t("content",null,{"slot":"content"}),_vm._t("headerContent",null,{"slot":"headerContent"}),_vm._t("footerContent",null,{"slot":"footerContent"})],2):_vm._e()],1)}
22347
- var callbar_button_with_popovervue_type_template_id_428bc44b_staticRenderFns = []
22339
+ ;// 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/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=template&id=86437b7c&
22340
+ var callbar_button_with_popovervue_type_template_id_86437b7c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-d-flex d-ai-center"},[_c('dt-recipe-callbar-button',{staticClass:"dt-recipe--callbar-button-with-popover--main-button",attrs:{"aria-label":_vm.ariaLabel,"disabled":_vm.disabled,"active":_vm.active,"danger":_vm.danger,"button-class":_vm.buttonClass,"button-width-size":_vm.buttonWidthSize},on:{"click":_vm.buttonClick}},[_vm._t("icon",null,{"slot":"icon"}),_vm._t("tooltip",null,{"slot":"tooltip"}),_vm._t("default")],2),(_vm.showArrowButton)?_c('dt-popover',_vm._b({staticClass:"dt-recipe--callbar-button-with-popover--popover-wrapper",attrs:{"id":_vm.id,"open":_vm.open,"placement":_vm.placement,"initial-focus-element":_vm.initialFocusElement,"show-close-button":_vm.showCloseButton,"padding":"none","dialog-class":['dt-recipe--callbar-button-with-popover--popover', _vm.contentClass],"header-class":"d-d-flex d-ai-center d-fw-normal d-px12"},on:{"opened":_vm.onModalIsOpened},scopedSlots:_vm._u([{key:"anchor",fn:function(){return [_c('dt-button',{class:['dt-recipe--callbar-button-with-popover--arrow', _vm.isCompactMode ? 'd-mln16' : 'd-mln24'],attrs:{"circle":"","importance":"clear","size":"lg","width":"2rem","aria-label":_vm.arrowButtonLabel,"active":_vm.open},on:{"click":_vm.arrowClick},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('dt-icon',{attrs:{"name":"chevron-up","size":"200"}})]},proxy:true}],null,false,3340821372)})]},proxy:true}],null,false,821174459)},'dt-popover',_vm.$attrs,false),[_vm._t("content",null,{"slot":"content"}),_vm._t("headerContent",null,{"slot":"headerContent"}),_vm._t("footerContent",null,{"slot":"footerContent"})],2):_vm._e()],1)}
22341
+ var callbar_button_with_popovervue_type_template_id_86437b7c_staticRenderFns = []
22348
22342
 
22349
22343
 
22350
22344
  ;// 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/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=script&lang=js&
@@ -22600,7 +22594,7 @@ var callbar_button_with_popovervue_type_template_id_428bc44b_staticRenderFns = [
22600
22594
  },
22601
22595
 
22602
22596
  isCompactMode() {
22603
- return this.buttonWidthSize === 'sm' || this.buttonWidthSize === 'md';
22597
+ return this.buttonWidthSize === 'sm';
22604
22598
  }
22605
22599
 
22606
22600
  },
@@ -22643,8 +22637,8 @@ var callbar_button_with_popovervue_type_style_index_0_lang_less_ = __webpack_req
22643
22637
 
22644
22638
  var callbar_button_with_popover_component = normalizeComponent(
22645
22639
  callbar_button_with_popover_callbar_button_with_popovervue_type_script_lang_js_,
22646
- callbar_button_with_popovervue_type_template_id_428bc44b_render,
22647
- callbar_button_with_popovervue_type_template_id_428bc44b_staticRenderFns,
22640
+ callbar_button_with_popovervue_type_template_id_86437b7c_render,
22641
+ callbar_button_with_popovervue_type_template_id_86437b7c_staticRenderFns,
22648
22642
  false,
22649
22643
  null,
22650
22644
  null,
@@ -23354,9 +23348,9 @@ var grouped_chip_component = normalizeComponent(
23354
23348
  /* harmony default export */ const grouped_chip = (grouped_chip_component.exports);
23355
23349
  ;// CONCATENATED MODULE: ./recipes/chips/grouped_chip/index.js
23356
23350
 
23357
- ;// 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=2844a3ae&
23358
- var general_rowvue_type_template_id_2844a3ae_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"}},'button',_vm.$attrs,false),_vm.$listeners),[_c('div',{staticClass:"dt-leftbar-row__alpha"},[_vm._t("left",function(){return [_c('dt-recipe-leftbar-general-row-icon',{attrs:{"type":_vm.getIcon,"color":_vm.color,"data-qa":"dt-leftbar-row-icon"}})]})],2),_c('div',{staticClass:"dt-leftbar-row__label"},[_c('dt-emoji-text-wrapper',{staticClass:"dt-leftbar-row__description",attrs:{"data-qa":"dt-leftbar-row-description"}},[_vm._v(" "+_vm._s(_vm.description)+" ")])],1),_c('div',{staticClass:"dt-leftbar-row__omega"},[(_vm.dndText)?_c('div',{staticClass:"dt-leftbar-row__dnd"},[_vm._v(" "+_vm._s(_vm.dndText)+" ")]):(_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-badge',{attrs:{"kind":"count","type":"bulletin","data-qa":"dt-leftbar-row-unread-badge"}},[_vm._v(" "+_vm._s(_vm.unreadCount)+" ")]):_vm._e()],1)])])}
23359
- var general_rowvue_type_template_id_2844a3ae_staticRenderFns = []
23351
+ ;// 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=18766278&
23352
+ var general_rowvue_type_template_id_18766278_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"},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,2110922487)})],1):_vm._e()])}
23353
+ var general_rowvue_type_template_id_18766278_staticRenderFns = []
23360
23354
 
23361
23355
 
23362
23356
  ;// CONCATENATED MODULE: ./recipes/leftbar/general_row/general_row_constants.js
@@ -23367,6 +23361,9 @@ const LEFTBAR_GENERAL_ROW_TYPES = {
23367
23361
  THREADS: 'threads',
23368
23362
  LOCKED_CHANNEL: 'locked channel',
23369
23363
  CONTACT_CENTER: 'contact center',
23364
+ QUICK_START: 'quick start',
23365
+ COACHING_GROUP: 'coaching group',
23366
+ COACHING_CENTER: 'coaching center',
23370
23367
  DIALBOT: 'dialbot',
23371
23368
  ASSIGNED: 'assigned',
23372
23369
  DIGITAL: 'digital'
@@ -23377,6 +23374,9 @@ const LEFTBAR_GENERAL_ROW_ICON_MAPPING = {
23377
23374
  [LEFTBAR_GENERAL_ROW_TYPES.CHANNELS]: 'hash',
23378
23375
  [LEFTBAR_GENERAL_ROW_TYPES.THREADS]: 'thread',
23379
23376
  [LEFTBAR_GENERAL_ROW_TYPES.LOCKED_CHANNEL]: 'lock',
23377
+ [LEFTBAR_GENERAL_ROW_TYPES.QUICK_START]: 'sparkle',
23378
+ [LEFTBAR_GENERAL_ROW_TYPES.COACHING_GROUP]: 'users',
23379
+ [LEFTBAR_GENERAL_ROW_TYPES.COACHING_CENTER]: 'external-link',
23380
23380
  'locked channel unread': 'lock-filled',
23381
23381
  'channel unread': 'hash-bold',
23382
23382
  [LEFTBAR_GENERAL_ROW_TYPES.ASSIGNED]: 'at-sign',
@@ -23799,6 +23799,7 @@ var emoji_component = normalizeComponent(
23799
23799
  ;// 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!./components/emoji_text_wrapper/emoji_text_wrapper.vue?vue&type=script&lang=js&
23800
23800
 
23801
23801
 
23802
+
23802
23803
  /**
23803
23804
  * Wrapper to find and replace shortcodes like :smile: or unicode chars such as 😄 with our custom Emojis implementation.
23804
23805
  * @see https://dialpad.design/components/emoji_text_wrapper.html
@@ -23817,6 +23818,15 @@ var emoji_component = normalizeComponent(
23817
23818
  elementType: {
23818
23819
  type: String,
23819
23820
  default: 'div'
23821
+ },
23822
+
23823
+ /**
23824
+ * The icon size to render the emojis at: 100 to 800
23825
+ */
23826
+ size: {
23827
+ type: String,
23828
+ default: '500',
23829
+ validator: t => Object.keys(ICON_SIZE_MODIFIERS).includes(t)
23820
23830
  }
23821
23831
  },
23822
23832
 
@@ -23846,6 +23856,7 @@ var emoji_component = normalizeComponent(
23846
23856
  },
23847
23857
  props: {
23848
23858
  code: item,
23859
+ size: this.size,
23849
23860
  ...this.$attrs
23850
23861
  }
23851
23862
  });
@@ -24096,6 +24107,69 @@ var leftbar_general_row_icon_component = normalizeComponent(
24096
24107
  //
24097
24108
  //
24098
24109
  //
24110
+ //
24111
+ //
24112
+ //
24113
+ //
24114
+ //
24115
+ //
24116
+ //
24117
+ //
24118
+ //
24119
+ //
24120
+ //
24121
+ //
24122
+ //
24123
+ //
24124
+ //
24125
+ //
24126
+ //
24127
+ //
24128
+ //
24129
+ //
24130
+ //
24131
+ //
24132
+ //
24133
+ //
24134
+ //
24135
+ //
24136
+ //
24137
+ //
24138
+ //
24139
+ //
24140
+ //
24141
+ //
24142
+ //
24143
+ //
24144
+ //
24145
+ //
24146
+ //
24147
+ //
24148
+ //
24149
+ //
24150
+ //
24151
+ //
24152
+ //
24153
+ //
24154
+ //
24155
+ //
24156
+ //
24157
+ //
24158
+ //
24159
+ //
24160
+ //
24161
+ //
24162
+ //
24163
+ //
24164
+ //
24165
+ //
24166
+ //
24167
+ //
24168
+ //
24169
+ //
24170
+ //
24171
+
24172
+
24099
24173
 
24100
24174
 
24101
24175
 
@@ -24107,6 +24181,8 @@ var leftbar_general_row_icon_component = normalizeComponent(
24107
24181
  DtEmojiTextWrapper: emoji_text_wrapper,
24108
24182
  DtBadge: badge,
24109
24183
  DtIcon: icon,
24184
+ DtButton: button_button,
24185
+ DtTooltip: tooltip,
24110
24186
  DtRecipeLeftbarGeneralRowIcon: leftbar_general_row_icon
24111
24187
  },
24112
24188
  inheritAttrs: false,
@@ -24124,13 +24200,22 @@ var leftbar_general_row_icon_component = normalizeComponent(
24124
24200
  },
24125
24201
 
24126
24202
  /**
24127
- * Text displayed next to the icon
24203
+ * Will be read out by a screen reader upon focus of this row. If not defined "description" will be read.
24128
24204
  */
24129
- description: {
24205
+ ariaLabel: {
24130
24206
  type: String,
24131
24207
  default: ''
24132
24208
  },
24133
24209
 
24210
+ /**
24211
+ * Text displayed next to the icon. Required. Even if you are overriding this field using the label slot
24212
+ * you still must input this as it will be displayed as the "title" attribute for the row.
24213
+ */
24214
+ description: {
24215
+ type: String,
24216
+ required: true
24217
+ },
24218
+
24134
24219
  /**
24135
24220
  * Determines the color of the contact center icon
24136
24221
  */
@@ -24143,7 +24228,8 @@ var leftbar_general_row_icon_component = normalizeComponent(
24143
24228
  },
24144
24229
 
24145
24230
  /**
24146
- * Styles the row with an increased font weight to convey it has unreads
24231
+ * Styles the row with an increased font weight to convey it has unreads. This must be true to see
24232
+ * the unread count badge.
24147
24233
  */
24148
24234
  hasUnreads: {
24149
24235
  type: Boolean,
@@ -24158,6 +24244,14 @@ var leftbar_general_row_icon_component = normalizeComponent(
24158
24244
  default: null
24159
24245
  },
24160
24246
 
24247
+ /**
24248
+ * Text shown when the unread count is hovered.
24249
+ */
24250
+ unreadCountTooltip: {
24251
+ type: String,
24252
+ default: ''
24253
+ },
24254
+
24161
24255
  /**
24162
24256
  * Determines if the row is selected
24163
24257
  */
@@ -24189,14 +24283,70 @@ var leftbar_general_row_icon_component = normalizeComponent(
24189
24283
  dndText: {
24190
24284
  type: String,
24191
24285
  default: ''
24286
+ },
24287
+
24288
+ /**
24289
+ * Text shown in tooltip when you hover the dndText
24290
+ */
24291
+ dndTextTooltip: {
24292
+ type: String,
24293
+ default: ''
24294
+ },
24295
+
24296
+ /**
24297
+ * Whether the row should have a call button. Usually only applicable to individual contact rows.
24298
+ */
24299
+ hasCallButton: {
24300
+ type: Boolean,
24301
+ default: false
24302
+ },
24303
+
24304
+ /**
24305
+ * Text shown when the call button is hovered.
24306
+ */
24307
+ callButtonTooltip: {
24308
+ type: String,
24309
+ default: ''
24310
+ },
24311
+
24312
+ /**
24313
+ * Shows an "is typing" animation over the avatar when true.
24314
+ */
24315
+ isTyping: {
24316
+ type: Boolean,
24317
+ default: false
24192
24318
  }
24193
24319
  },
24320
+ emits: [
24321
+ /**
24322
+ * Native click event on the row itself
24323
+ *
24324
+ * @event click
24325
+ * @type {PointerEvent | KeyboardEvent}
24326
+ */
24327
+ 'click',
24328
+ /**
24329
+ * Call button clicked
24330
+ *
24331
+ * @event call
24332
+ * @type {PointerEvent | KeyboardEvent}
24333
+ */
24334
+ 'call'],
24335
+
24336
+ data() {
24337
+ return {
24338
+ actionFocused: false
24339
+ };
24340
+ },
24341
+
24194
24342
  computed: {
24195
24343
  leftbarGeneralRowClasses() {
24196
- return ['dt-leftbar-row', 'dt-leftbar-row--no-action', {
24344
+ return ['dt-leftbar-row', {
24345
+ 'dt-leftbar-row--no-action': !this.hasCallButton,
24197
24346
  'dt-leftbar-row--has-unread': this.hasUnreads,
24198
24347
  'dt-leftbar-row--selected': this.selected,
24199
- 'dt-leftbar-row--muted': this.muted
24348
+ 'dt-leftbar-row--muted': this.muted,
24349
+ 'dt-leftbar-row--action-focused': this.actionFocused
24200
24350
  }];
24201
24351
  },
24202
24352
 
@@ -24212,6 +24362,10 @@ var leftbar_general_row_icon_component = normalizeComponent(
24212
24362
  }
24213
24363
 
24214
24364
  return this.type;
24365
+ },
24366
+
24367
+ getAriaLabel() {
24368
+ return this.ariaLabel ? this.ariaLabel : `${this.description} ${this.unreadCountTooltip} ${this.dndTextTooltip}`;
24215
24369
  }
24216
24370
 
24217
24371
  },
@@ -24252,8 +24406,8 @@ var general_rowvue_type_style_index_0_lang_less_ = __webpack_require__(641);
24252
24406
 
24253
24407
  var general_row_component = normalizeComponent(
24254
24408
  general_row_general_rowvue_type_script_lang_js_,
24255
- general_rowvue_type_template_id_2844a3ae_render,
24256
- general_rowvue_type_template_id_2844a3ae_staticRenderFns,
24409
+ general_rowvue_type_template_id_18766278_render,
24410
+ general_rowvue_type_template_id_18766278_staticRenderFns,
24257
24411
  false,
24258
24412
  null,
24259
24413
  null,
@@ -24265,9 +24419,9 @@ var general_row_component = normalizeComponent(
24265
24419
  ;// CONCATENATED MODULE: ./recipes/leftbar/general_row/index.js
24266
24420
 
24267
24421
 
24268
- ;// 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=226fd04a&
24269
- var group_rowvue_type_template_id_226fd04a_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,"unread-count":_vm.unreadCount,"has-unreads":_vm.hasUnreads,"selected":_vm.selected},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))}
24270
- var group_rowvue_type_template_id_226fd04a_staticRenderFns = []
24422
+ ;// 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&
24423
+ 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))}
24424
+ var group_rowvue_type_template_id_2afb38bf_staticRenderFns = []
24271
24425
 
24272
24426
 
24273
24427
  ;// 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&
@@ -24294,6 +24448,9 @@ var group_rowvue_type_template_id_226fd04a_staticRenderFns = []
24294
24448
  //
24295
24449
  //
24296
24450
  //
24451
+ //
24452
+ //
24453
+ //
24297
24454
 
24298
24455
 
24299
24456
  /* harmony default export */ const group_rowvue_type_script_lang_js_ = ({
@@ -24331,12 +24488,20 @@ var group_rowvue_type_template_id_226fd04a_staticRenderFns = []
24331
24488
  required: true
24332
24489
  },
24333
24490
 
24491
+ /**
24492
+ * Screen reader will read out the number of users in the group using this text. Ex: "2 users"
24493
+ */
24494
+ groupCountText: {
24495
+ type: String,
24496
+ default: ''
24497
+ },
24498
+
24334
24499
  /**
24335
24500
  * Names of the group members
24336
24501
  */
24337
24502
  names: {
24338
24503
  type: String,
24339
- default: ''
24504
+ required: true
24340
24505
  },
24341
24506
 
24342
24507
  /**
@@ -24348,7 +24513,16 @@ var group_rowvue_type_template_id_226fd04a_staticRenderFns = []
24348
24513
  },
24349
24514
 
24350
24515
  /**
24351
- * Styles the row with an increased font weight to convey it has unreads
24516
+ * Text shown when the unread count is hovered.
24517
+ */
24518
+ unreadCountTooltip: {
24519
+ type: String,
24520
+ default: null
24521
+ },
24522
+
24523
+ /**
24524
+ * Styles the row with an increased font weight to convey it has unreads. This must be true to see
24525
+ * the unread count badge.
24352
24526
  */
24353
24527
  hasUnreads: {
24354
24528
  type: Boolean,
@@ -24361,8 +24535,24 @@ var group_rowvue_type_template_id_226fd04a_staticRenderFns = []
24361
24535
  selected: {
24362
24536
  type: Boolean,
24363
24537
  default: false
24538
+ },
24539
+
24540
+ /**
24541
+ * Shows an "is typing" animation over the avatar when true.
24542
+ */
24543
+ isTyping: {
24544
+ type: Boolean,
24545
+ default: false
24364
24546
  }
24365
- }
24547
+ },
24548
+ emits: [
24549
+ /**
24550
+ * Native click event on the row itself
24551
+ *
24552
+ * @event click
24553
+ * @type {PointerEvent | KeyboardEvent}
24554
+ */
24555
+ 'click']
24366
24556
  });
24367
24557
  ;// CONCATENATED MODULE: ./recipes/leftbar/group_row/group_row.vue?vue&type=script&lang=js&
24368
24558
  /* harmony default export */ const group_row_group_rowvue_type_script_lang_js_ = (group_rowvue_type_script_lang_js_);
@@ -24376,8 +24566,8 @@ var group_rowvue_type_template_id_226fd04a_staticRenderFns = []
24376
24566
  ;
24377
24567
  var group_row_component = normalizeComponent(
24378
24568
  group_row_group_rowvue_type_script_lang_js_,
24379
- group_rowvue_type_template_id_226fd04a_render,
24380
- group_rowvue_type_template_id_226fd04a_staticRenderFns,
24569
+ group_rowvue_type_template_id_2afb38bf_render,
24570
+ group_rowvue_type_template_id_2afb38bf_staticRenderFns,
24381
24571
  false,
24382
24572
  null,
24383
24573
  null,
@@ -24388,6 +24578,275 @@ var group_row_component = normalizeComponent(
24388
24578
  /* harmony default export */ const group_row = (group_row_component.exports);
24389
24579
  ;// CONCATENATED MODULE: ./recipes/leftbar/group_row/index.js
24390
24580
 
24581
+ ;// 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=483627f3&
24582
+ var contact_rowvue_type_template_id_483627f3_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))}
24583
+ var contact_rowvue_type_template_id_483627f3_staticRenderFns = []
24584
+
24585
+
24586
+ ;// 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&
24587
+ //
24588
+ //
24589
+ //
24590
+ //
24591
+ //
24592
+ //
24593
+ //
24594
+ //
24595
+ //
24596
+ //
24597
+ //
24598
+ //
24599
+ //
24600
+ //
24601
+ //
24602
+ //
24603
+ //
24604
+ //
24605
+ //
24606
+ //
24607
+ //
24608
+ //
24609
+ //
24610
+ //
24611
+ //
24612
+ //
24613
+ //
24614
+ //
24615
+ //
24616
+ //
24617
+ //
24618
+ //
24619
+ //
24620
+ //
24621
+ //
24622
+ //
24623
+ //
24624
+ //
24625
+ //
24626
+ //
24627
+ //
24628
+ //
24629
+ //
24630
+ //
24631
+ //
24632
+ //
24633
+ //
24634
+ //
24635
+ //
24636
+ //
24637
+ //
24638
+ //
24639
+ //
24640
+ //
24641
+ //
24642
+ //
24643
+ //
24644
+ //
24645
+ //
24646
+ //
24647
+ //
24648
+ //
24649
+ //
24650
+ //
24651
+ //
24652
+ //
24653
+
24654
+
24655
+
24656
+
24657
+
24658
+ /* harmony default export */ const contact_rowvue_type_script_lang_js_ = ({
24659
+ name: 'DtRecipeGroupRow',
24660
+ components: {
24661
+ DtAvatar: avatar,
24662
+ DtIcon: icon,
24663
+ DtRecipeGeneralRow: general_row,
24664
+ DtEmojiTextWrapper: emoji_text_wrapper
24665
+ },
24666
+ props: {
24667
+ /**
24668
+ * Optional avatar image url.
24669
+ * If not provided it will use the initial of the name.
24670
+ */
24671
+ avatarSrc: {
24672
+ type: String,
24673
+ default: ''
24674
+ },
24675
+
24676
+ /**
24677
+ * Determines whether to show the presence indicator for
24678
+ * Avatar - accepts PRESENCE_STATES values: 'active', 'busy', 'away', 'offline'. defaults to active.
24679
+ * @values active, busy, away, offline
24680
+ */
24681
+ avatarPresence: {
24682
+ type: String,
24683
+ default: PRESENCE_STATES.ACTIVE,
24684
+ validator: role => {
24685
+ return PRESENCE_STATES_LIST.includes(role);
24686
+ }
24687
+ },
24688
+
24689
+ /**
24690
+ * Avatar seed, set this to the user's ID to get the same avatar background gradient each time it is displayed.
24691
+ */
24692
+ avatarSeed: {
24693
+ type: String,
24694
+ default: null
24695
+ },
24696
+
24697
+ /**
24698
+ * Text describing the user's presence, such as "in a meeting"
24699
+ */
24700
+ presenceText: {
24701
+ type: String,
24702
+ default: ''
24703
+ },
24704
+
24705
+ /**
24706
+ * Name of the contact
24707
+ */
24708
+ name: {
24709
+ type: String,
24710
+ required: true
24711
+ },
24712
+
24713
+ /**
24714
+ * Status as set by the user.
24715
+ */
24716
+ userStatus: {
24717
+ type: String,
24718
+ default: ''
24719
+ },
24720
+
24721
+ /**
24722
+ * Gives a faded style to be used when muted
24723
+ */
24724
+ muted: {
24725
+ type: Boolean,
24726
+ default: false
24727
+ },
24728
+
24729
+ /**
24730
+ * Number of unread messages
24731
+ */
24732
+ unreadCount: {
24733
+ type: String,
24734
+ default: null
24735
+ },
24736
+
24737
+ /**
24738
+ * Styles the row with an increased font weight to convey it has unreads. This must be true to see
24739
+ * the unread count badge.
24740
+ */
24741
+ hasUnreads: {
24742
+ type: Boolean,
24743
+ default: false
24744
+ },
24745
+
24746
+ /**
24747
+ * Determines if the row is selected
24748
+ */
24749
+ selected: {
24750
+ type: Boolean,
24751
+ default: false
24752
+ },
24753
+
24754
+ /**
24755
+ * Initials will never be shown. Instead it will show a "User" icon.
24756
+ */
24757
+ noInitials: {
24758
+ type: Boolean,
24759
+ default: false
24760
+ },
24761
+
24762
+ /**
24763
+ * Shows an "is typing" animation over the avatar when true.
24764
+ */
24765
+ isTyping: {
24766
+ type: Boolean,
24767
+ default: false
24768
+ },
24769
+
24770
+ /**
24771
+ * Text shown when the call button is hovered.
24772
+ */
24773
+ callButtonTooltip: {
24774
+ type: String,
24775
+ default: ''
24776
+ },
24777
+
24778
+ /**
24779
+ * Text shown when the unread count is hovered.
24780
+ */
24781
+ unreadCountTooltip: {
24782
+ type: String,
24783
+ default: ''
24784
+ }
24785
+ },
24786
+ emits: [
24787
+ /**
24788
+ * Native click event on the row itself
24789
+ *
24790
+ * @event click
24791
+ * @type {PointerEvent | KeyboardEvent}
24792
+ */
24793
+ 'click',
24794
+ /**
24795
+ * Call button clicked
24796
+ *
24797
+ * @event call
24798
+ * @type {PointerEvent | KeyboardEvent}
24799
+ */
24800
+ 'call'],
24801
+ computed: {
24802
+ presenceColorClass() {
24803
+ switch (this.avatarPresence) {
24804
+ case 'active':
24805
+ return 'd-fc-success';
24806
+
24807
+ case 'busy':
24808
+ return 'd-fc-critical';
24809
+
24810
+ case 'away':
24811
+ return 'd-fc-warning';
24812
+
24813
+ default:
24814
+ return undefined;
24815
+ }
24816
+ },
24817
+
24818
+ avatarInitial() {
24819
+ var _this$name$;
24820
+
24821
+ return (_this$name$ = this.name[0]) !== null && _this$name$ !== void 0 ? _this$name$ : '';
24822
+ }
24823
+
24824
+ }
24825
+ });
24826
+ ;// CONCATENATED MODULE: ./recipes/leftbar/contact_row/contact_row.vue?vue&type=script&lang=js&
24827
+ /* harmony default export */ const contact_row_contact_rowvue_type_script_lang_js_ = (contact_rowvue_type_script_lang_js_);
24828
+ ;// CONCATENATED MODULE: ./recipes/leftbar/contact_row/contact_row.vue
24829
+
24830
+
24831
+
24832
+
24833
+
24834
+ /* normalize component */
24835
+ ;
24836
+ var contact_row_component = normalizeComponent(
24837
+ contact_row_contact_rowvue_type_script_lang_js_,
24838
+ contact_rowvue_type_template_id_483627f3_render,
24839
+ contact_rowvue_type_template_id_483627f3_staticRenderFns,
24840
+ false,
24841
+ null,
24842
+ null,
24843
+ null
24844
+
24845
+ )
24846
+
24847
+ /* harmony default export */ const contact_row = (contact_row_component.exports);
24848
+ ;// CONCATENATED MODULE: ./recipes/leftbar/contact_row/index.js
24849
+
24391
24850
  ;// CONCATENATED MODULE: ./common/mixins/index.js
24392
24851
 
24393
24852
 
@@ -24442,6 +24901,7 @@ var group_row_component = normalizeComponent(
24442
24901
 
24443
24902
 
24444
24903
 
24904
+
24445
24905
  // Mixins
24446
24906
 
24447
24907
  // Constants