@dialpad/dialtone-vue 2.62.0 → 2.64.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.
@@ -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:transparent;--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--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-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;--leftbar-row-omega-min-width:var(--leftbar-row-alpha-width)}.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)}.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}}", ""]);
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);
@@ -22152,9 +22154,9 @@ var combobox_multi_select_component = normalizeComponent(
22152
22154
  ;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/index.js
22153
22155
 
22154
22156
 
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 = []
22157
+ ;// 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&
22158
+ 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)}
22159
+ var callbar_buttonvue_type_template_id_83ef55d6_staticRenderFns = []
22158
22160
 
22159
22161
 
22160
22162
  ;// 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 +22302,9 @@ const VALID_WIDTH_SIZE = ['sm', 'md', 'lg', 'xl'];
22300
22302
  buttonWidth() {
22301
22303
  switch (this.buttonWidthSize) {
22302
22304
  case 'sm':
22303
- case 'md':
22304
22305
  return '4.5rem';
22305
22306
 
22306
- case 'lg':
22307
+ case 'md':
22307
22308
  return '6rem';
22308
22309
 
22309
22310
  default:
@@ -22330,8 +22331,8 @@ var callbar_buttonvue_type_style_index_0_lang_less_ = __webpack_require__(759);
22330
22331
 
22331
22332
  var callbar_button_component = normalizeComponent(
22332
22333
  callbar_button_callbar_buttonvue_type_script_lang_js_,
22333
- callbar_buttonvue_type_template_id_44881500_render,
22334
- callbar_buttonvue_type_template_id_44881500_staticRenderFns,
22334
+ callbar_buttonvue_type_template_id_83ef55d6_render,
22335
+ callbar_buttonvue_type_template_id_83ef55d6_staticRenderFns,
22335
22336
  false,
22336
22337
  null,
22337
22338
  null,
@@ -22342,9 +22343,9 @@ var callbar_button_component = normalizeComponent(
22342
22343
  /* harmony default export */ const callbar_button = (callbar_button_component.exports);
22343
22344
  ;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/index.js
22344
22345
 
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 = []
22346
+ ;// 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&
22347
+ 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)}
22348
+ var callbar_button_with_popovervue_type_template_id_86437b7c_staticRenderFns = []
22348
22349
 
22349
22350
 
22350
22351
  ;// 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 +22601,7 @@ var callbar_button_with_popovervue_type_template_id_428bc44b_staticRenderFns = [
22600
22601
  },
22601
22602
 
22602
22603
  isCompactMode() {
22603
- return this.buttonWidthSize === 'sm' || this.buttonWidthSize === 'md';
22604
+ return this.buttonWidthSize === 'sm';
22604
22605
  }
22605
22606
 
22606
22607
  },
@@ -22643,8 +22644,8 @@ var callbar_button_with_popovervue_type_style_index_0_lang_less_ = __webpack_req
22643
22644
 
22644
22645
  var callbar_button_with_popover_component = normalizeComponent(
22645
22646
  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,
22647
+ callbar_button_with_popovervue_type_template_id_86437b7c_render,
22648
+ callbar_button_with_popovervue_type_template_id_86437b7c_staticRenderFns,
22648
22649
  false,
22649
22650
  null,
22650
22651
  null,
@@ -23354,9 +23355,9 @@ var grouped_chip_component = normalizeComponent(
23354
23355
  /* harmony default export */ const grouped_chip = (grouped_chip_component.exports);
23355
23356
  ;// CONCATENATED MODULE: ./recipes/chips/grouped_chip/index.js
23356
23357
 
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=1889c7ad&
23358
- var general_rowvue_type_template_id_1889c7ad_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.hasUnreadMessages)?_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_1889c7ad_staticRenderFns = []
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=37f653fe&
23359
+ var general_rowvue_type_template_id_37f653fe_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"},[_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('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)]),(_vm.hasCallButton)?_c('div',{staticClass:"dt-leftbar-row__action",attrs:{"data-qa":"dt-leftbar-row-action"}},[_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},"mouseout":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)})],1):_vm._e()])}
23360
+ var general_rowvue_type_template_id_37f653fe_staticRenderFns = []
23360
23361
 
23361
23362
 
23362
23363
  ;// CONCATENATED MODULE: ./recipes/leftbar/general_row/general_row_constants.js
@@ -23799,6 +23800,7 @@ var emoji_component = normalizeComponent(
23799
23800
  ;// 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
23801
 
23801
23802
 
23803
+
23802
23804
  /**
23803
23805
  * Wrapper to find and replace shortcodes like :smile: or unicode chars such as 😄 with our custom Emojis implementation.
23804
23806
  * @see https://dialpad.design/components/emoji_text_wrapper.html
@@ -23817,6 +23819,15 @@ var emoji_component = normalizeComponent(
23817
23819
  elementType: {
23818
23820
  type: String,
23819
23821
  default: 'div'
23822
+ },
23823
+
23824
+ /**
23825
+ * The icon size to render the emojis at: 100 to 800
23826
+ */
23827
+ size: {
23828
+ type: String,
23829
+ default: '500',
23830
+ validator: t => Object.keys(ICON_SIZE_MODIFIERS).includes(t)
23820
23831
  }
23821
23832
  },
23822
23833
 
@@ -23846,6 +23857,7 @@ var emoji_component = normalizeComponent(
23846
23857
  },
23847
23858
  props: {
23848
23859
  code: item,
23860
+ size: this.size,
23849
23861
  ...this.$attrs
23850
23862
  }
23851
23863
  });
@@ -24096,6 +24108,35 @@ var leftbar_general_row_icon_component = normalizeComponent(
24096
24108
  //
24097
24109
  //
24098
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
+
24099
24140
 
24100
24141
 
24101
24142
 
@@ -24107,6 +24148,7 @@ var leftbar_general_row_icon_component = normalizeComponent(
24107
24148
  DtEmojiTextWrapper: emoji_text_wrapper,
24108
24149
  DtBadge: badge,
24109
24150
  DtIcon: icon,
24151
+ DtButton: button_button,
24110
24152
  DtRecipeLeftbarGeneralRowIcon: leftbar_general_row_icon
24111
24153
  },
24112
24154
  inheritAttrs: false,
@@ -24142,6 +24184,15 @@ var leftbar_general_row_icon_component = normalizeComponent(
24142
24184
  }
24143
24185
  },
24144
24186
 
24187
+ /**
24188
+ * Styles the row with an increased font weight to convey it has unreads. This must be true to see
24189
+ * the unread count badge.
24190
+ */
24191
+ hasUnreads: {
24192
+ type: Boolean,
24193
+ default: false
24194
+ },
24195
+
24145
24196
  /**
24146
24197
  * Number of unread messages
24147
24198
  */
@@ -24181,33 +24232,61 @@ var leftbar_general_row_icon_component = normalizeComponent(
24181
24232
  dndText: {
24182
24233
  type: String,
24183
24234
  default: ''
24235
+ },
24236
+
24237
+ /**
24238
+ * Whether the row should have a call button. Usually only applicable to individual contact rows.
24239
+ */
24240
+ hasCallButton: {
24241
+ type: Boolean,
24242
+ default: false
24184
24243
  }
24185
24244
  },
24245
+ emits: [
24246
+ /**
24247
+ * Native click event on the row itself
24248
+ *
24249
+ * @event click
24250
+ * @type {PointerEvent | KeyboardEvent}
24251
+ */
24252
+ 'click',
24253
+ /**
24254
+ * Call button clicked
24255
+ *
24256
+ * @event call
24257
+ * @type {PointerEvent | KeyboardEvent}
24258
+ */
24259
+ 'call'],
24260
+
24261
+ data() {
24262
+ return {
24263
+ actionFocused: false
24264
+ };
24265
+ },
24266
+
24186
24267
  computed: {
24187
24268
  leftbarGeneralRowClasses() {
24188
- return ['dt-leftbar-row', 'dt-leftbar-row--no-action', {
24189
- 'dt-leftbar-row--has-unread': this.hasUnreadMessages,
24269
+ return ['dt-leftbar-row', {
24270
+ 'dt-leftbar-row--no-action': !this.hasCallButton,
24271
+ 'dt-leftbar-row--has-unread': this.hasUnreads,
24190
24272
  'dt-leftbar-row--selected': this.selected,
24191
- 'dt-leftbar-row--muted': this.muted
24273
+ 'dt-leftbar-row--muted': this.muted,
24274
+ 'dt-leftbar-row--action-focused': this.actionFocused
24192
24275
  }];
24193
24276
  },
24194
24277
 
24195
24278
  getIcon() {
24196
24279
  switch (this.type) {
24197
24280
  case LEFTBAR_GENERAL_ROW_TYPES.CHANNELS:
24198
- if (this.hasUnreadMessages) return 'channel unread';
24281
+ if (this.hasUnreads) return 'channel unread';
24199
24282
  break;
24200
24283
 
24201
24284
  case LEFTBAR_GENERAL_ROW_TYPES.LOCKED_CHANNEL:
24202
- if (this.hasUnreadMessages) return 'locked channel unread';
24285
+ if (this.hasUnreads) return 'locked channel unread';
24203
24286
  break;
24204
24287
  }
24205
24288
 
24206
24289
  return this.type;
24207
- },
24208
-
24209
- hasUnreadMessages() {
24210
- return isNaN(Number(this.unreadCount)) ? !!this.unreadCount : Number(this.unreadCount) > 0;
24211
24290
  }
24212
24291
 
24213
24292
  },
@@ -24248,8 +24327,8 @@ var general_rowvue_type_style_index_0_lang_less_ = __webpack_require__(641);
24248
24327
 
24249
24328
  var general_row_component = normalizeComponent(
24250
24329
  general_row_general_rowvue_type_script_lang_js_,
24251
- general_rowvue_type_template_id_1889c7ad_render,
24252
- general_rowvue_type_template_id_1889c7ad_staticRenderFns,
24330
+ general_rowvue_type_template_id_37f653fe_render,
24331
+ general_rowvue_type_template_id_37f653fe_staticRenderFns,
24253
24332
  false,
24254
24333
  null,
24255
24334
  null,
@@ -24261,9 +24340,9 @@ var general_row_component = normalizeComponent(
24261
24340
  ;// CONCATENATED MODULE: ./recipes/leftbar/general_row/index.js
24262
24341
 
24263
24342
 
24264
- ;// 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=8a338828&
24265
- var group_rowvue_type_template_id_8a338828_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,"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))}
24266
- var group_rowvue_type_template_id_8a338828_staticRenderFns = []
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=4a86bd91&
24344
+ var group_rowvue_type_template_id_4a86bd91_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))}
24345
+ var group_rowvue_type_template_id_4a86bd91_staticRenderFns = []
24267
24346
 
24268
24347
 
24269
24348
  ;// 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&
@@ -24289,6 +24368,7 @@ var group_rowvue_type_template_id_8a338828_staticRenderFns = []
24289
24368
  //
24290
24369
  //
24291
24370
  //
24371
+ //
24292
24372
 
24293
24373
 
24294
24374
  /* harmony default export */ const group_rowvue_type_script_lang_js_ = ({
@@ -24342,6 +24422,15 @@ var group_rowvue_type_template_id_8a338828_staticRenderFns = []
24342
24422
  default: null
24343
24423
  },
24344
24424
 
24425
+ /**
24426
+ * Styles the row with an increased font weight to convey it has unreads. This must be true to see
24427
+ * the unread count badge.
24428
+ */
24429
+ hasUnreads: {
24430
+ type: Boolean,
24431
+ default: false
24432
+ },
24433
+
24345
24434
  /**
24346
24435
  * Determines if the row is selected
24347
24436
  */
@@ -24349,7 +24438,15 @@ var group_rowvue_type_template_id_8a338828_staticRenderFns = []
24349
24438
  type: Boolean,
24350
24439
  default: false
24351
24440
  }
24352
- }
24441
+ },
24442
+ emits: [
24443
+ /**
24444
+ * Native click event on the row itself
24445
+ *
24446
+ * @event click
24447
+ * @type {PointerEvent | KeyboardEvent}
24448
+ */
24449
+ 'click']
24353
24450
  });
24354
24451
  ;// CONCATENATED MODULE: ./recipes/leftbar/group_row/group_row.vue?vue&type=script&lang=js&
24355
24452
  /* harmony default export */ const group_row_group_rowvue_type_script_lang_js_ = (group_rowvue_type_script_lang_js_);
@@ -24363,8 +24460,8 @@ var group_rowvue_type_template_id_8a338828_staticRenderFns = []
24363
24460
  ;
24364
24461
  var group_row_component = normalizeComponent(
24365
24462
  group_row_group_rowvue_type_script_lang_js_,
24366
- group_rowvue_type_template_id_8a338828_render,
24367
- group_rowvue_type_template_id_8a338828_staticRenderFns,
24463
+ group_rowvue_type_template_id_4a86bd91_render,
24464
+ group_rowvue_type_template_id_4a86bd91_staticRenderFns,
24368
24465
  false,
24369
24466
  null,
24370
24467
  null,
@@ -24375,6 +24472,247 @@ var group_row_component = normalizeComponent(
24375
24472
  /* harmony default export */ const group_row = (group_row_component.exports);
24376
24473
  ;// CONCATENATED MODULE: ./recipes/leftbar/group_row/index.js
24377
24474
 
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=22dc813a&
24476
+ var contact_rowvue_type_template_id_22dc813a_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,"has-unreads":_vm.hasUnreads,"selected":_vm.selected,"has-call-button":true,"muted":_vm.muted},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))}
24477
+ var contact_rowvue_type_template_id_22dc813a_staticRenderFns = []
24478
+
24479
+
24480
+ ;// 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&
24481
+ //
24482
+ //
24483
+ //
24484
+ //
24485
+ //
24486
+ //
24487
+ //
24488
+ //
24489
+ //
24490
+ //
24491
+ //
24492
+ //
24493
+ //
24494
+ //
24495
+ //
24496
+ //
24497
+ //
24498
+ //
24499
+ //
24500
+ //
24501
+ //
24502
+ //
24503
+ //
24504
+ //
24505
+ //
24506
+ //
24507
+ //
24508
+ //
24509
+ //
24510
+ //
24511
+ //
24512
+ //
24513
+ //
24514
+ //
24515
+ //
24516
+ //
24517
+ //
24518
+ //
24519
+ //
24520
+ //
24521
+ //
24522
+ //
24523
+ //
24524
+ //
24525
+ //
24526
+ //
24527
+ //
24528
+ //
24529
+ //
24530
+ //
24531
+ //
24532
+ //
24533
+ //
24534
+ //
24535
+ //
24536
+ //
24537
+ //
24538
+ //
24539
+ //
24540
+ //
24541
+ //
24542
+ //
24543
+
24544
+
24545
+
24546
+
24547
+
24548
+ /* harmony default export */ const contact_rowvue_type_script_lang_js_ = ({
24549
+ name: 'DtRecipeGroupRow',
24550
+ components: {
24551
+ DtAvatar: avatar,
24552
+ DtIcon: icon,
24553
+ DtRecipeGeneralRow: general_row,
24554
+ DtEmojiTextWrapper: emoji_text_wrapper
24555
+ },
24556
+ props: {
24557
+ /**
24558
+ * Optional avatar image url.
24559
+ * If not provided it will use the initial of the name.
24560
+ */
24561
+ avatarSrc: {
24562
+ type: String,
24563
+ default: ''
24564
+ },
24565
+
24566
+ /**
24567
+ * Determines whether to show the presence indicator for
24568
+ * Avatar - accepts PRESENCE_STATES values: 'active', 'busy', 'away', 'offline'. defaults to active.
24569
+ * @values active, busy, away, offline
24570
+ */
24571
+ avatarPresence: {
24572
+ type: String,
24573
+ default: PRESENCE_STATES.ACTIVE,
24574
+ validator: role => {
24575
+ return PRESENCE_STATES_LIST.includes(role);
24576
+ }
24577
+ },
24578
+
24579
+ /**
24580
+ * Avatar seed, set this to the user's ID to get the same avatar background gradient each time it is displayed.
24581
+ */
24582
+ avatarSeed: {
24583
+ type: String,
24584
+ default: null
24585
+ },
24586
+
24587
+ /**
24588
+ * Text describing the user's presence, such as "in a meeting"
24589
+ */
24590
+ presenceText: {
24591
+ type: String,
24592
+ default: ''
24593
+ },
24594
+
24595
+ /**
24596
+ * Name of the contact
24597
+ */
24598
+ name: {
24599
+ type: String,
24600
+ required: true
24601
+ },
24602
+
24603
+ /**
24604
+ * Status as set by the user.
24605
+ */
24606
+ userStatus: {
24607
+ type: String,
24608
+ default: ''
24609
+ },
24610
+
24611
+ /**
24612
+ * Gives a faded style to be used when muted
24613
+ */
24614
+ muted: {
24615
+ type: Boolean,
24616
+ default: false
24617
+ },
24618
+
24619
+ /**
24620
+ * Number of unread messages
24621
+ */
24622
+ unreadCount: {
24623
+ type: String,
24624
+ default: null
24625
+ },
24626
+
24627
+ /**
24628
+ * Styles the row with an increased font weight to convey it has unreads. This must be true to see
24629
+ * the unread count badge.
24630
+ */
24631
+ hasUnreads: {
24632
+ type: Boolean,
24633
+ default: false
24634
+ },
24635
+
24636
+ /**
24637
+ * Determines if the row is selected
24638
+ */
24639
+ selected: {
24640
+ type: Boolean,
24641
+ default: false
24642
+ },
24643
+
24644
+ /**
24645
+ * Initials will never be shown. Instead it will show a "User" icon.
24646
+ */
24647
+ noInitials: {
24648
+ type: Boolean,
24649
+ default: false
24650
+ }
24651
+ },
24652
+ emits: [
24653
+ /**
24654
+ * Native click event on the row itself
24655
+ *
24656
+ * @event click
24657
+ * @type {PointerEvent | KeyboardEvent}
24658
+ */
24659
+ 'click',
24660
+ /**
24661
+ * Call button clicked
24662
+ *
24663
+ * @event call
24664
+ * @type {PointerEvent | KeyboardEvent}
24665
+ */
24666
+ 'call'],
24667
+ computed: {
24668
+ presenceColorClass() {
24669
+ switch (this.avatarPresence) {
24670
+ case 'active':
24671
+ return 'd-fc-success';
24672
+
24673
+ case 'busy':
24674
+ return 'd-fc-critical';
24675
+
24676
+ case 'away':
24677
+ return 'd-fc-warning';
24678
+
24679
+ default:
24680
+ return undefined;
24681
+ }
24682
+ },
24683
+
24684
+ avatarInitial() {
24685
+ var _this$name$;
24686
+
24687
+ return (_this$name$ = this.name[0]) !== null && _this$name$ !== void 0 ? _this$name$ : '';
24688
+ }
24689
+
24690
+ }
24691
+ });
24692
+ ;// CONCATENATED MODULE: ./recipes/leftbar/contact_row/contact_row.vue?vue&type=script&lang=js&
24693
+ /* harmony default export */ const contact_row_contact_rowvue_type_script_lang_js_ = (contact_rowvue_type_script_lang_js_);
24694
+ ;// CONCATENATED MODULE: ./recipes/leftbar/contact_row/contact_row.vue
24695
+
24696
+
24697
+
24698
+
24699
+
24700
+ /* normalize component */
24701
+ ;
24702
+ var contact_row_component = normalizeComponent(
24703
+ contact_row_contact_rowvue_type_script_lang_js_,
24704
+ contact_rowvue_type_template_id_22dc813a_render,
24705
+ contact_rowvue_type_template_id_22dc813a_staticRenderFns,
24706
+ false,
24707
+ null,
24708
+ null,
24709
+ null
24710
+
24711
+ )
24712
+
24713
+ /* harmony default export */ const contact_row = (contact_row_component.exports);
24714
+ ;// CONCATENATED MODULE: ./recipes/leftbar/contact_row/index.js
24715
+
24378
24716
  ;// CONCATENATED MODULE: ./common/mixins/index.js
24379
24717
 
24380
24718
 
@@ -24429,6 +24767,7 @@ var group_row_component = normalizeComponent(
24429
24767
 
24430
24768
 
24431
24769
 
24770
+
24432
24771
  // Mixins
24433
24772
 
24434
24773
  // Constants