@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.
- package/CHANGELOG.json +1 -1
- package/CHANGELOG.md +21 -0
- package/dist/component-documentation.json +1 -1
- package/dist/dialtone-vue.common.js +508 -48
- package/dist/dialtone-vue.umd.js +508 -48
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/dist/emoji.common.js +11 -0
- package/dist/emoji.umd.js +11 -0
- package/dist/emoji.umd.min.js +1 -1
- package/package.json +3 -8
package/dist/dialtone-vue.umd.js
CHANGED
|
@@ -412,7 +412,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
412
412
|
|
|
413
413
|
var ___CSS_LOADER_EXPORT___ = _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
414
414
|
// Module
|
|
415
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".dt-leftbar-row{--leftbar-row-color-foreground:var(--theme-sidebar-color);--leftbar-row-color-background:
|
|
415
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".dt-leftbar-row{--leftbar-row-color-foreground:var(--theme-sidebar-color);--leftbar-row-color-background:var(--theme-sidebar-row-color-background);--leftbar-row-radius:100em;--leftbar-row-opacity:100%;--leftbar-row-alpha-color-foreground:var(--theme-sidebar-icon-color);--leftbar-row-alpha-width:calc(var(--size-300)*10);--leftbar-row-alpha-height:calc(var(--size-300)*9);--leftbar-row-omega-min-width:0;--leftbar-row-omega-height:var(--leftbar-row-alpha-height);--leftbar-row-omega-visibility:visible;--leftbar-row-description-font-weight:var(--fw-normal);--leftbar-row-description-font-size:var(--fs-200);--leftbar-row-description-line-height:var(--lh-200);--leftbar-row-status-color-foreground:var(--theme-sidebar-status-color);--leftbar-row-status-font-size:var(--fs-100);--leftbar-row-status-line-height:var(--lh-100);--leftbar-row-action-position-right:var(--size-400);--leftbar-row-action-position-bottom:50%;--leftbar-row-action-width:calc(var(--size-300)*6);--leftbar-row-action-height:var(--leftbar-row-action-width);position:relative;opacity:var(--leftbar-row-opacity)}.dt-leftbar-row:not(.dt-leftbar-row--no-action):hover{--leftbar-row-omega-min-width:var(--leftbar-row-alpha-width)}.dt-leftbar-row:hover .d-presence{--presence-color-border-base:var(--theme-sidebar-selected-row-color-background)}.dt-leftbar-row:hover .d-avatar__count{--avatar-count-color-shadow:var(--theme-sidebar-selected-row-color-background)}.dt-leftbar-row--has-unread{--leftbar-row-description-font-weight:var(--fw-bold);--leftbar-row-alpha-color-foreground:var(--leftbar-row-color-foreground)}.dt-leftbar-row--has-unread:not(.dt-leftbar-row--no-action):hover{--leftbar-row-omega-visibility:hidden}.dt-leftbar-row--muted{--leftbar-row-opacity:50%}.dt-leftbar-row--selected{--leftbar-row-color-background:var(--theme-sidebar-selected-row-color-background);--leftbar-row-color-foreground:var(--theme-sidebar-selected-row-color)}.dt-leftbar-row--selected .d-avatar__count{--avatar-count-color-shadow:var(--theme-sidebar-selected-row-color-background)}.dt-leftbar-row--action-focused{--leftbar-row-omega-visibility:hidden;--leftbar-row-omega-min-width:var(--leftbar-row-alpha-width)}.dt-leftbar-row__is-typing{--is-typing-size-shape:calc(var(--size-300)*6);height:var(--is-typing-size-shape);width:var(--is-typing-size-shape);position:absolute;display:flex;align-items:center;justify-content:center;gap:2px;border-radius:var(--br-pill);opacity:.75}.dt-leftbar-row__is-typing span{transition:all .5s ease;background:var(--bgc-strong);height:4px;width:4px;display:inline-block;padding:0;opacity:.3;border-radius:var(--br-pill);animation:wave 1.5s ease infinite}.dt-leftbar-row__is-typing span:first-child{animation-delay:0}.dt-leftbar-row__is-typing span:nth-child(2){animation-delay:.1s}.dt-leftbar-row__is-typing span:nth-child(3){animation-delay:.2s}.dt-leftbar-row__primary{display:flex;align-items:center;flex:1;width:100%;text-align:left;color:var(--leftbar-row-color-foreground);text-decoration:none;background-color:var(--leftbar-row-color-background);border-radius:var(--leftbar-row-radius);transition-duration:var(--td200);transition-property:background-color,border,box-shadow;transition-timing-function:var(--ttf-out-quint);-webkit-appearance:none;appearance:none;font-size:inhert;line-height:inherit;margin:0;border:0;padding:0;cursor:pointer}.dt-leftbar-row__primary:hover{--leftbar-row-color-background:var(--theme-sidebar-row-color-background-hover)}.dt-leftbar-row__primary:active{--leftbar-row-color-background:var(--theme-sidebar-row-color-background-active)}.dt-leftbar-row__primary:focus-visible{box-shadow:var(--bs-focus-ring-inset)}.dt-leftbar-row__action{position:absolute;right:var(--leftbar-row-action-position-right);top:var(--leftbar-row-action-position-bottom);transform:translateY(calc(var(--leftbar-row-action-position-bottom)*-1))}.dt-leftbar-row__action-button{opacity:0;width:var(--leftbar-row-action-width);height:var(--leftbar-row-action-height)}.dt-leftbar-row:hover .dt-leftbar-row__action-button,.dt-leftbar-row__action-button:focus-visible{opacity:1}.dt-leftbar-row__alpha{color:var(--leftbar-row-alpha-color-foreground);display:flex;box-sizing:border-box;justify-content:center;align-items:center;padding-left:var(--space-400);padding-right:var(--space-400);width:var(--leftbar-row-alpha-width);height:var(--leftbar-row-alpha-height)}.dt-leftbar-row__label{flex:1;min-width:0}.dt-leftbar-row__omega{display:flex;gap:var(--space-300);justify-content:end;align-items:center;box-sizing:border-box;min-width:var(--leftbar-row-omega-min-width);height:var(--leftbar-row-omega-height);padding-left:var(--space-400);padding-right:var(--space-400);visibility:var(--leftbar-row-omega-visibility)}.dt-leftbar-row__active-voice{color:var(--fc-success);-webkit-animation-name:opacity-pulsate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-fill-mode:both;-moz-animation-name:opacity-pulsate;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-fill-mode:both;animation-name:opacity-pulsate;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:both}.dt-leftbar-row__dnd{padding-top:var(--space-200);padding-right:var(--space-300);color:var(--fc-tertiary);font-size:var(--fs-100);line-height:var(--lh-400);font-weight:var(--fw-medium)}.dt-leftbar-row__description{font-weight:var(--leftbar-row-description-font-weight);font-size:var(--leftbar-row-description-font-size);line-height:var(--leftbar-row-description-line-height)}.dt-leftbar-row__description,.dt-leftbar-row__status{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dt-leftbar-row__status{color:var(--leftbar-row-status-color-foreground);font-size:var(--leftbar-row-status-font-size);line-height:var(--leftbar-row-status-line-height);padding-bottom:var(--space-100)}.dt-leftbar-row__meta-context~.dt-leftbar-row__meta-custom:not(:empty):before{content:\" • \";color:var(--theme-sidebar-status-color)}.dt-leftbar-row__icon-cc{border-radius:var(--size-200);width:calc(var(--size-300)*3.5);height:calc(var(--size-300)*3.5)}.opacity-pulsate{-webkit-animation-name:opacity-pulsate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-fill-mode:both;-moz-animation-name:opacity-pulsate;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-fill-mode:both;animation-name:opacity-pulsate;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:both}@keyframes opacity-pulsate{0%,to{opacity:.2}50%{opacity:1}}@keyframes wave{0%,50%,to{transform:translate(0)}10%{transform:translateY(-5px);opacity:90%}}", ""]);
|
|
416
416
|
// Exports
|
|
417
417
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
418
418
|
|
|
@@ -2289,6 +2289,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
2289
2289
|
"DtRecipeComboboxMultiSelect": () => (/* reexport */ combobox_multi_select),
|
|
2290
2290
|
"DtRecipeComboboxWithPopover": () => (/* reexport */ combobox_with_popover),
|
|
2291
2291
|
"DtRecipeContactInfo": () => (/* reexport */ contact_info),
|
|
2292
|
+
"DtRecipeContactRow": () => (/* reexport */ contact_row),
|
|
2292
2293
|
"DtRecipeGeneralRow": () => (/* reexport */ general_row),
|
|
2293
2294
|
"DtRecipeGroupRow": () => (/* reexport */ group_row),
|
|
2294
2295
|
"DtRecipeGroupedChip": () => (/* reexport */ grouped_chip),
|
|
@@ -4425,6 +4426,7 @@ const focusableElementsList = `button,[href],input,select,textarea,details,[tabi
|
|
|
4425
4426
|
_getFocusableElements() {
|
|
4426
4427
|
let el = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.$el;
|
|
4427
4428
|
let includeNegativeTabIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
4429
|
+
if (!el) return [];
|
|
4428
4430
|
const focusableContent = [...el.querySelectorAll(focusableElementsList)];
|
|
4429
4431
|
return focusableContent.filter(fc => {
|
|
4430
4432
|
const style = window.getComputedStyle(fc);
|
|
@@ -12574,7 +12576,6 @@ const getArrowDetected = fn => ({
|
|
|
12574
12576
|
;// CONCATENATED MODULE: ./components/popover/tippy_utils.js
|
|
12575
12577
|
|
|
12576
12578
|
|
|
12577
|
-
|
|
12578
12579
|
const BASE_TIPPY_DIRECTIONS = ['bottom', 'bottom-start', 'bottom-end', 'right', 'right-start', 'right-end', 'left', 'left-start', 'left-end', 'top', 'top-start', 'top-end'];
|
|
12579
12580
|
const TIPPY_STICKY_VALUES = [true, false, 'reference', 'popper'];
|
|
12580
12581
|
const tippy_utils_createTippy = (anchorElement, options) => {
|
|
@@ -12623,24 +12624,17 @@ const getPopperOptions = function () {
|
|
|
12623
12624
|
};
|
|
12624
12625
|
};
|
|
12625
12626
|
|
|
12626
|
-
const createAnchor =
|
|
12627
|
+
const createAnchor = anchorWrapper => {
|
|
12627
12628
|
const span = document.createElement('span');
|
|
12628
|
-
span.setAttribute('tabindex', tabIndex);
|
|
12629
12629
|
span.innerText = anchorWrapper.innerText || '';
|
|
12630
12630
|
anchorWrapper.innerText = '';
|
|
12631
12631
|
anchorWrapper.appendChild(span);
|
|
12632
12632
|
return span;
|
|
12633
12633
|
};
|
|
12634
12634
|
|
|
12635
|
-
const getAnchor =
|
|
12636
|
-
let tabIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '0';
|
|
12635
|
+
const getAnchor = anchorWrapper => {
|
|
12637
12636
|
const anchor = anchorWrapper === null || anchorWrapper === void 0 ? void 0 : anchorWrapper.children[0];
|
|
12638
12637
|
if (!anchor) return createAnchor(anchorWrapper);
|
|
12639
|
-
|
|
12640
|
-
if (!findFirstFocusableNode(anchor)) {
|
|
12641
|
-
anchor.setAttribute('tabindex', tabIndex);
|
|
12642
|
-
}
|
|
12643
|
-
|
|
12644
12638
|
return anchor;
|
|
12645
12639
|
};
|
|
12646
12640
|
const getContentWrapper = content => {
|
|
@@ -19724,15 +19718,15 @@ var toggle_component = normalizeComponent(
|
|
|
19724
19718
|
/* harmony default export */ const toggle = (toggle_component.exports);
|
|
19725
19719
|
;// CONCATENATED MODULE: ./components/toggle/index.js
|
|
19726
19720
|
|
|
19727
|
-
;// 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=
|
|
19728
|
-
var
|
|
19721
|
+
;// 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&
|
|
19722
|
+
var tooltipvue_type_template_id_6d30a218_render = function () {
|
|
19729
19723
|
var _obj;
|
|
19730
|
-
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:[
|
|
19724
|
+
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:[
|
|
19731
19725
|
'd-tooltip',
|
|
19732
19726
|
("d-tooltip__arrow-tippy--" + _vm.currentPlacement),
|
|
19733
19727
|
( _obj = {}, _obj[ _vm.TOOLTIP_KIND_MODIFIERS.inverted ] = _vm.inverted, _obj ),
|
|
19734
19728
|
_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)}
|
|
19735
|
-
var
|
|
19729
|
+
var tooltipvue_type_template_id_6d30a218_staticRenderFns = []
|
|
19736
19730
|
|
|
19737
19731
|
|
|
19738
19732
|
;// CONCATENATED MODULE: ./components/tooltip/tooltip_constants.js
|
|
@@ -19796,6 +19790,7 @@ const TOOLTIP_HIDE_ON_CLICK_VARIANTS = [true, false, 'toggle'];
|
|
|
19796
19790
|
//
|
|
19797
19791
|
//
|
|
19798
19792
|
//
|
|
19793
|
+
//
|
|
19799
19794
|
|
|
19800
19795
|
|
|
19801
19796
|
|
|
@@ -20139,8 +20134,8 @@ var tooltipvue_type_style_index_0_lang_less_ = __webpack_require__(228);
|
|
|
20139
20134
|
|
|
20140
20135
|
var tooltip_component = normalizeComponent(
|
|
20141
20136
|
tooltip_tooltipvue_type_script_lang_js_,
|
|
20142
|
-
|
|
20143
|
-
|
|
20137
|
+
tooltipvue_type_template_id_6d30a218_render,
|
|
20138
|
+
tooltipvue_type_template_id_6d30a218_staticRenderFns,
|
|
20144
20139
|
false,
|
|
20145
20140
|
null,
|
|
20146
20141
|
null,
|
|
@@ -22162,9 +22157,9 @@ var combobox_multi_select_component = normalizeComponent(
|
|
|
22162
22157
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/index.js
|
|
22163
22158
|
|
|
22164
22159
|
|
|
22165
|
-
;// 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=
|
|
22166
|
-
var
|
|
22167
|
-
var
|
|
22160
|
+
;// 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&
|
|
22161
|
+
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)}
|
|
22162
|
+
var callbar_buttonvue_type_template_id_83ef55d6_staticRenderFns = []
|
|
22168
22163
|
|
|
22169
22164
|
|
|
22170
22165
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/buttons/callbar_button/callbar_button.vue?vue&type=script&lang=js&
|
|
@@ -22310,10 +22305,9 @@ const VALID_WIDTH_SIZE = ['sm', 'md', 'lg', 'xl'];
|
|
|
22310
22305
|
buttonWidth() {
|
|
22311
22306
|
switch (this.buttonWidthSize) {
|
|
22312
22307
|
case 'sm':
|
|
22313
|
-
case 'md':
|
|
22314
22308
|
return '4.5rem';
|
|
22315
22309
|
|
|
22316
|
-
case '
|
|
22310
|
+
case 'md':
|
|
22317
22311
|
return '6rem';
|
|
22318
22312
|
|
|
22319
22313
|
default:
|
|
@@ -22340,8 +22334,8 @@ var callbar_buttonvue_type_style_index_0_lang_less_ = __webpack_require__(736);
|
|
|
22340
22334
|
|
|
22341
22335
|
var callbar_button_component = normalizeComponent(
|
|
22342
22336
|
callbar_button_callbar_buttonvue_type_script_lang_js_,
|
|
22343
|
-
|
|
22344
|
-
|
|
22337
|
+
callbar_buttonvue_type_template_id_83ef55d6_render,
|
|
22338
|
+
callbar_buttonvue_type_template_id_83ef55d6_staticRenderFns,
|
|
22345
22339
|
false,
|
|
22346
22340
|
null,
|
|
22347
22341
|
null,
|
|
@@ -22352,9 +22346,9 @@ var callbar_button_component = normalizeComponent(
|
|
|
22352
22346
|
/* harmony default export */ const callbar_button = (callbar_button_component.exports);
|
|
22353
22347
|
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/index.js
|
|
22354
22348
|
|
|
22355
|
-
;// 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=
|
|
22356
|
-
var
|
|
22357
|
-
var
|
|
22349
|
+
;// 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&
|
|
22350
|
+
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)}
|
|
22351
|
+
var callbar_button_with_popovervue_type_template_id_86437b7c_staticRenderFns = []
|
|
22358
22352
|
|
|
22359
22353
|
|
|
22360
22354
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=script&lang=js&
|
|
@@ -22610,7 +22604,7 @@ var callbar_button_with_popovervue_type_template_id_428bc44b_staticRenderFns = [
|
|
|
22610
22604
|
},
|
|
22611
22605
|
|
|
22612
22606
|
isCompactMode() {
|
|
22613
|
-
return this.buttonWidthSize === 'sm'
|
|
22607
|
+
return this.buttonWidthSize === 'sm';
|
|
22614
22608
|
}
|
|
22615
22609
|
|
|
22616
22610
|
},
|
|
@@ -22653,8 +22647,8 @@ var callbar_button_with_popovervue_type_style_index_0_lang_less_ = __webpack_req
|
|
|
22653
22647
|
|
|
22654
22648
|
var callbar_button_with_popover_component = normalizeComponent(
|
|
22655
22649
|
callbar_button_with_popover_callbar_button_with_popovervue_type_script_lang_js_,
|
|
22656
|
-
|
|
22657
|
-
|
|
22650
|
+
callbar_button_with_popovervue_type_template_id_86437b7c_render,
|
|
22651
|
+
callbar_button_with_popovervue_type_template_id_86437b7c_staticRenderFns,
|
|
22658
22652
|
false,
|
|
22659
22653
|
null,
|
|
22660
22654
|
null,
|
|
@@ -23364,9 +23358,9 @@ var grouped_chip_component = normalizeComponent(
|
|
|
23364
23358
|
/* harmony default export */ const grouped_chip = (grouped_chip_component.exports);
|
|
23365
23359
|
;// CONCATENATED MODULE: ./recipes/chips/grouped_chip/index.js
|
|
23366
23360
|
|
|
23367
|
-
;// 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=
|
|
23368
|
-
var
|
|
23369
|
-
var
|
|
23361
|
+
;// 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&
|
|
23362
|
+
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()])}
|
|
23363
|
+
var general_rowvue_type_template_id_18766278_staticRenderFns = []
|
|
23370
23364
|
|
|
23371
23365
|
|
|
23372
23366
|
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/general_row_constants.js
|
|
@@ -23377,6 +23371,9 @@ const LEFTBAR_GENERAL_ROW_TYPES = {
|
|
|
23377
23371
|
THREADS: 'threads',
|
|
23378
23372
|
LOCKED_CHANNEL: 'locked channel',
|
|
23379
23373
|
CONTACT_CENTER: 'contact center',
|
|
23374
|
+
QUICK_START: 'quick start',
|
|
23375
|
+
COACHING_GROUP: 'coaching group',
|
|
23376
|
+
COACHING_CENTER: 'coaching center',
|
|
23380
23377
|
DIALBOT: 'dialbot',
|
|
23381
23378
|
ASSIGNED: 'assigned',
|
|
23382
23379
|
DIGITAL: 'digital'
|
|
@@ -23387,6 +23384,9 @@ const LEFTBAR_GENERAL_ROW_ICON_MAPPING = {
|
|
|
23387
23384
|
[LEFTBAR_GENERAL_ROW_TYPES.CHANNELS]: 'hash',
|
|
23388
23385
|
[LEFTBAR_GENERAL_ROW_TYPES.THREADS]: 'thread',
|
|
23389
23386
|
[LEFTBAR_GENERAL_ROW_TYPES.LOCKED_CHANNEL]: 'lock',
|
|
23387
|
+
[LEFTBAR_GENERAL_ROW_TYPES.QUICK_START]: 'sparkle',
|
|
23388
|
+
[LEFTBAR_GENERAL_ROW_TYPES.COACHING_GROUP]: 'users',
|
|
23389
|
+
[LEFTBAR_GENERAL_ROW_TYPES.COACHING_CENTER]: 'external-link',
|
|
23390
23390
|
'locked channel unread': 'lock-filled',
|
|
23391
23391
|
'channel unread': 'hash-bold',
|
|
23392
23392
|
[LEFTBAR_GENERAL_ROW_TYPES.ASSIGNED]: 'at-sign',
|
|
@@ -23809,6 +23809,7 @@ var emoji_component = normalizeComponent(
|
|
|
23809
23809
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/emoji_text_wrapper/emoji_text_wrapper.vue?vue&type=script&lang=js&
|
|
23810
23810
|
|
|
23811
23811
|
|
|
23812
|
+
|
|
23812
23813
|
/**
|
|
23813
23814
|
* Wrapper to find and replace shortcodes like :smile: or unicode chars such as 😄 with our custom Emojis implementation.
|
|
23814
23815
|
* @see https://dialpad.design/components/emoji_text_wrapper.html
|
|
@@ -23827,6 +23828,15 @@ var emoji_component = normalizeComponent(
|
|
|
23827
23828
|
elementType: {
|
|
23828
23829
|
type: String,
|
|
23829
23830
|
default: 'div'
|
|
23831
|
+
},
|
|
23832
|
+
|
|
23833
|
+
/**
|
|
23834
|
+
* The icon size to render the emojis at: 100 to 800
|
|
23835
|
+
*/
|
|
23836
|
+
size: {
|
|
23837
|
+
type: String,
|
|
23838
|
+
default: '500',
|
|
23839
|
+
validator: t => Object.keys(ICON_SIZE_MODIFIERS).includes(t)
|
|
23830
23840
|
}
|
|
23831
23841
|
},
|
|
23832
23842
|
|
|
@@ -23856,6 +23866,7 @@ var emoji_component = normalizeComponent(
|
|
|
23856
23866
|
},
|
|
23857
23867
|
props: {
|
|
23858
23868
|
code: item,
|
|
23869
|
+
size: this.size,
|
|
23859
23870
|
...this.$attrs
|
|
23860
23871
|
}
|
|
23861
23872
|
});
|
|
@@ -24106,6 +24117,69 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24106
24117
|
//
|
|
24107
24118
|
//
|
|
24108
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
|
+
//
|
|
24173
|
+
//
|
|
24174
|
+
//
|
|
24175
|
+
//
|
|
24176
|
+
//
|
|
24177
|
+
//
|
|
24178
|
+
//
|
|
24179
|
+
//
|
|
24180
|
+
//
|
|
24181
|
+
|
|
24182
|
+
|
|
24109
24183
|
|
|
24110
24184
|
|
|
24111
24185
|
|
|
@@ -24117,6 +24191,8 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24117
24191
|
DtEmojiTextWrapper: emoji_text_wrapper,
|
|
24118
24192
|
DtBadge: badge,
|
|
24119
24193
|
DtIcon: icon,
|
|
24194
|
+
DtButton: button_button,
|
|
24195
|
+
DtTooltip: tooltip,
|
|
24120
24196
|
DtRecipeLeftbarGeneralRowIcon: leftbar_general_row_icon
|
|
24121
24197
|
},
|
|
24122
24198
|
inheritAttrs: false,
|
|
@@ -24134,13 +24210,22 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24134
24210
|
},
|
|
24135
24211
|
|
|
24136
24212
|
/**
|
|
24137
|
-
*
|
|
24213
|
+
* Will be read out by a screen reader upon focus of this row. If not defined "description" will be read.
|
|
24138
24214
|
*/
|
|
24139
|
-
|
|
24215
|
+
ariaLabel: {
|
|
24140
24216
|
type: String,
|
|
24141
24217
|
default: ''
|
|
24142
24218
|
},
|
|
24143
24219
|
|
|
24220
|
+
/**
|
|
24221
|
+
* Text displayed next to the icon. Required. Even if you are overriding this field using the label slot
|
|
24222
|
+
* you still must input this as it will be displayed as the "title" attribute for the row.
|
|
24223
|
+
*/
|
|
24224
|
+
description: {
|
|
24225
|
+
type: String,
|
|
24226
|
+
required: true
|
|
24227
|
+
},
|
|
24228
|
+
|
|
24144
24229
|
/**
|
|
24145
24230
|
* Determines the color of the contact center icon
|
|
24146
24231
|
*/
|
|
@@ -24153,7 +24238,8 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24153
24238
|
},
|
|
24154
24239
|
|
|
24155
24240
|
/**
|
|
24156
|
-
* Styles the row with an increased font weight to convey it has unreads
|
|
24241
|
+
* Styles the row with an increased font weight to convey it has unreads. This must be true to see
|
|
24242
|
+
* the unread count badge.
|
|
24157
24243
|
*/
|
|
24158
24244
|
hasUnreads: {
|
|
24159
24245
|
type: Boolean,
|
|
@@ -24168,6 +24254,14 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24168
24254
|
default: null
|
|
24169
24255
|
},
|
|
24170
24256
|
|
|
24257
|
+
/**
|
|
24258
|
+
* Text shown when the unread count is hovered.
|
|
24259
|
+
*/
|
|
24260
|
+
unreadCountTooltip: {
|
|
24261
|
+
type: String,
|
|
24262
|
+
default: ''
|
|
24263
|
+
},
|
|
24264
|
+
|
|
24171
24265
|
/**
|
|
24172
24266
|
* Determines if the row is selected
|
|
24173
24267
|
*/
|
|
@@ -24199,14 +24293,70 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24199
24293
|
dndText: {
|
|
24200
24294
|
type: String,
|
|
24201
24295
|
default: ''
|
|
24296
|
+
},
|
|
24297
|
+
|
|
24298
|
+
/**
|
|
24299
|
+
* Text shown in tooltip when you hover the dndText
|
|
24300
|
+
*/
|
|
24301
|
+
dndTextTooltip: {
|
|
24302
|
+
type: String,
|
|
24303
|
+
default: ''
|
|
24304
|
+
},
|
|
24305
|
+
|
|
24306
|
+
/**
|
|
24307
|
+
* Whether the row should have a call button. Usually only applicable to individual contact rows.
|
|
24308
|
+
*/
|
|
24309
|
+
hasCallButton: {
|
|
24310
|
+
type: Boolean,
|
|
24311
|
+
default: false
|
|
24312
|
+
},
|
|
24313
|
+
|
|
24314
|
+
/**
|
|
24315
|
+
* Text shown when the call button is hovered.
|
|
24316
|
+
*/
|
|
24317
|
+
callButtonTooltip: {
|
|
24318
|
+
type: String,
|
|
24319
|
+
default: ''
|
|
24320
|
+
},
|
|
24321
|
+
|
|
24322
|
+
/**
|
|
24323
|
+
* Shows an "is typing" animation over the avatar when true.
|
|
24324
|
+
*/
|
|
24325
|
+
isTyping: {
|
|
24326
|
+
type: Boolean,
|
|
24327
|
+
default: false
|
|
24202
24328
|
}
|
|
24203
24329
|
},
|
|
24330
|
+
emits: [
|
|
24331
|
+
/**
|
|
24332
|
+
* Native click event on the row itself
|
|
24333
|
+
*
|
|
24334
|
+
* @event click
|
|
24335
|
+
* @type {PointerEvent | KeyboardEvent}
|
|
24336
|
+
*/
|
|
24337
|
+
'click',
|
|
24338
|
+
/**
|
|
24339
|
+
* Call button clicked
|
|
24340
|
+
*
|
|
24341
|
+
* @event call
|
|
24342
|
+
* @type {PointerEvent | KeyboardEvent}
|
|
24343
|
+
*/
|
|
24344
|
+
'call'],
|
|
24345
|
+
|
|
24346
|
+
data() {
|
|
24347
|
+
return {
|
|
24348
|
+
actionFocused: false
|
|
24349
|
+
};
|
|
24350
|
+
},
|
|
24351
|
+
|
|
24204
24352
|
computed: {
|
|
24205
24353
|
leftbarGeneralRowClasses() {
|
|
24206
|
-
return ['dt-leftbar-row',
|
|
24354
|
+
return ['dt-leftbar-row', {
|
|
24355
|
+
'dt-leftbar-row--no-action': !this.hasCallButton,
|
|
24207
24356
|
'dt-leftbar-row--has-unread': this.hasUnreads,
|
|
24208
24357
|
'dt-leftbar-row--selected': this.selected,
|
|
24209
|
-
'dt-leftbar-row--muted': this.muted
|
|
24358
|
+
'dt-leftbar-row--muted': this.muted,
|
|
24359
|
+
'dt-leftbar-row--action-focused': this.actionFocused
|
|
24210
24360
|
}];
|
|
24211
24361
|
},
|
|
24212
24362
|
|
|
@@ -24222,6 +24372,10 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24222
24372
|
}
|
|
24223
24373
|
|
|
24224
24374
|
return this.type;
|
|
24375
|
+
},
|
|
24376
|
+
|
|
24377
|
+
getAriaLabel() {
|
|
24378
|
+
return this.ariaLabel ? this.ariaLabel : `${this.description} ${this.unreadCountTooltip} ${this.dndTextTooltip}`;
|
|
24225
24379
|
}
|
|
24226
24380
|
|
|
24227
24381
|
},
|
|
@@ -24262,8 +24416,8 @@ var general_rowvue_type_style_index_0_lang_less_ = __webpack_require__(745);
|
|
|
24262
24416
|
|
|
24263
24417
|
var general_row_component = normalizeComponent(
|
|
24264
24418
|
general_row_general_rowvue_type_script_lang_js_,
|
|
24265
|
-
|
|
24266
|
-
|
|
24419
|
+
general_rowvue_type_template_id_18766278_render,
|
|
24420
|
+
general_rowvue_type_template_id_18766278_staticRenderFns,
|
|
24267
24421
|
false,
|
|
24268
24422
|
null,
|
|
24269
24423
|
null,
|
|
@@ -24275,9 +24429,9 @@ var general_row_component = normalizeComponent(
|
|
|
24275
24429
|
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/index.js
|
|
24276
24430
|
|
|
24277
24431
|
|
|
24278
|
-
;// 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=
|
|
24279
|
-
var
|
|
24280
|
-
var
|
|
24432
|
+
;// 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&
|
|
24433
|
+
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))}
|
|
24434
|
+
var group_rowvue_type_template_id_2afb38bf_staticRenderFns = []
|
|
24281
24435
|
|
|
24282
24436
|
|
|
24283
24437
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/leftbar/group_row/group_row.vue?vue&type=script&lang=js&
|
|
@@ -24304,6 +24458,9 @@ var group_rowvue_type_template_id_226fd04a_staticRenderFns = []
|
|
|
24304
24458
|
//
|
|
24305
24459
|
//
|
|
24306
24460
|
//
|
|
24461
|
+
//
|
|
24462
|
+
//
|
|
24463
|
+
//
|
|
24307
24464
|
|
|
24308
24465
|
|
|
24309
24466
|
/* harmony default export */ const group_rowvue_type_script_lang_js_ = ({
|
|
@@ -24341,12 +24498,20 @@ var group_rowvue_type_template_id_226fd04a_staticRenderFns = []
|
|
|
24341
24498
|
required: true
|
|
24342
24499
|
},
|
|
24343
24500
|
|
|
24501
|
+
/**
|
|
24502
|
+
* Screen reader will read out the number of users in the group using this text. Ex: "2 users"
|
|
24503
|
+
*/
|
|
24504
|
+
groupCountText: {
|
|
24505
|
+
type: String,
|
|
24506
|
+
default: ''
|
|
24507
|
+
},
|
|
24508
|
+
|
|
24344
24509
|
/**
|
|
24345
24510
|
* Names of the group members
|
|
24346
24511
|
*/
|
|
24347
24512
|
names: {
|
|
24348
24513
|
type: String,
|
|
24349
|
-
|
|
24514
|
+
required: true
|
|
24350
24515
|
},
|
|
24351
24516
|
|
|
24352
24517
|
/**
|
|
@@ -24358,7 +24523,16 @@ var group_rowvue_type_template_id_226fd04a_staticRenderFns = []
|
|
|
24358
24523
|
},
|
|
24359
24524
|
|
|
24360
24525
|
/**
|
|
24361
|
-
*
|
|
24526
|
+
* Text shown when the unread count is hovered.
|
|
24527
|
+
*/
|
|
24528
|
+
unreadCountTooltip: {
|
|
24529
|
+
type: String,
|
|
24530
|
+
default: null
|
|
24531
|
+
},
|
|
24532
|
+
|
|
24533
|
+
/**
|
|
24534
|
+
* Styles the row with an increased font weight to convey it has unreads. This must be true to see
|
|
24535
|
+
* the unread count badge.
|
|
24362
24536
|
*/
|
|
24363
24537
|
hasUnreads: {
|
|
24364
24538
|
type: Boolean,
|
|
@@ -24371,8 +24545,24 @@ var group_rowvue_type_template_id_226fd04a_staticRenderFns = []
|
|
|
24371
24545
|
selected: {
|
|
24372
24546
|
type: Boolean,
|
|
24373
24547
|
default: false
|
|
24548
|
+
},
|
|
24549
|
+
|
|
24550
|
+
/**
|
|
24551
|
+
* Shows an "is typing" animation over the avatar when true.
|
|
24552
|
+
*/
|
|
24553
|
+
isTyping: {
|
|
24554
|
+
type: Boolean,
|
|
24555
|
+
default: false
|
|
24374
24556
|
}
|
|
24375
|
-
}
|
|
24557
|
+
},
|
|
24558
|
+
emits: [
|
|
24559
|
+
/**
|
|
24560
|
+
* Native click event on the row itself
|
|
24561
|
+
*
|
|
24562
|
+
* @event click
|
|
24563
|
+
* @type {PointerEvent | KeyboardEvent}
|
|
24564
|
+
*/
|
|
24565
|
+
'click']
|
|
24376
24566
|
});
|
|
24377
24567
|
;// CONCATENATED MODULE: ./recipes/leftbar/group_row/group_row.vue?vue&type=script&lang=js&
|
|
24378
24568
|
/* harmony default export */ const group_row_group_rowvue_type_script_lang_js_ = (group_rowvue_type_script_lang_js_);
|
|
@@ -24386,8 +24576,8 @@ var group_rowvue_type_template_id_226fd04a_staticRenderFns = []
|
|
|
24386
24576
|
;
|
|
24387
24577
|
var group_row_component = normalizeComponent(
|
|
24388
24578
|
group_row_group_rowvue_type_script_lang_js_,
|
|
24389
|
-
|
|
24390
|
-
|
|
24579
|
+
group_rowvue_type_template_id_2afb38bf_render,
|
|
24580
|
+
group_rowvue_type_template_id_2afb38bf_staticRenderFns,
|
|
24391
24581
|
false,
|
|
24392
24582
|
null,
|
|
24393
24583
|
null,
|
|
@@ -24398,6 +24588,275 @@ var group_row_component = normalizeComponent(
|
|
|
24398
24588
|
/* harmony default export */ const group_row = (group_row_component.exports);
|
|
24399
24589
|
;// CONCATENATED MODULE: ./recipes/leftbar/group_row/index.js
|
|
24400
24590
|
|
|
24591
|
+
;// 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&
|
|
24592
|
+
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))}
|
|
24593
|
+
var contact_rowvue_type_template_id_483627f3_staticRenderFns = []
|
|
24594
|
+
|
|
24595
|
+
|
|
24596
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/leftbar/contact_row/contact_row.vue?vue&type=script&lang=js&
|
|
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
|
+
//
|
|
24659
|
+
//
|
|
24660
|
+
//
|
|
24661
|
+
//
|
|
24662
|
+
//
|
|
24663
|
+
|
|
24664
|
+
|
|
24665
|
+
|
|
24666
|
+
|
|
24667
|
+
|
|
24668
|
+
/* harmony default export */ const contact_rowvue_type_script_lang_js_ = ({
|
|
24669
|
+
name: 'DtRecipeGroupRow',
|
|
24670
|
+
components: {
|
|
24671
|
+
DtAvatar: avatar,
|
|
24672
|
+
DtIcon: icon,
|
|
24673
|
+
DtRecipeGeneralRow: general_row,
|
|
24674
|
+
DtEmojiTextWrapper: emoji_text_wrapper
|
|
24675
|
+
},
|
|
24676
|
+
props: {
|
|
24677
|
+
/**
|
|
24678
|
+
* Optional avatar image url.
|
|
24679
|
+
* If not provided it will use the initial of the name.
|
|
24680
|
+
*/
|
|
24681
|
+
avatarSrc: {
|
|
24682
|
+
type: String,
|
|
24683
|
+
default: ''
|
|
24684
|
+
},
|
|
24685
|
+
|
|
24686
|
+
/**
|
|
24687
|
+
* Determines whether to show the presence indicator for
|
|
24688
|
+
* Avatar - accepts PRESENCE_STATES values: 'active', 'busy', 'away', 'offline'. defaults to active.
|
|
24689
|
+
* @values active, busy, away, offline
|
|
24690
|
+
*/
|
|
24691
|
+
avatarPresence: {
|
|
24692
|
+
type: String,
|
|
24693
|
+
default: PRESENCE_STATES.ACTIVE,
|
|
24694
|
+
validator: role => {
|
|
24695
|
+
return PRESENCE_STATES_LIST.includes(role);
|
|
24696
|
+
}
|
|
24697
|
+
},
|
|
24698
|
+
|
|
24699
|
+
/**
|
|
24700
|
+
* Avatar seed, set this to the user's ID to get the same avatar background gradient each time it is displayed.
|
|
24701
|
+
*/
|
|
24702
|
+
avatarSeed: {
|
|
24703
|
+
type: String,
|
|
24704
|
+
default: null
|
|
24705
|
+
},
|
|
24706
|
+
|
|
24707
|
+
/**
|
|
24708
|
+
* Text describing the user's presence, such as "in a meeting"
|
|
24709
|
+
*/
|
|
24710
|
+
presenceText: {
|
|
24711
|
+
type: String,
|
|
24712
|
+
default: ''
|
|
24713
|
+
},
|
|
24714
|
+
|
|
24715
|
+
/**
|
|
24716
|
+
* Name of the contact
|
|
24717
|
+
*/
|
|
24718
|
+
name: {
|
|
24719
|
+
type: String,
|
|
24720
|
+
required: true
|
|
24721
|
+
},
|
|
24722
|
+
|
|
24723
|
+
/**
|
|
24724
|
+
* Status as set by the user.
|
|
24725
|
+
*/
|
|
24726
|
+
userStatus: {
|
|
24727
|
+
type: String,
|
|
24728
|
+
default: ''
|
|
24729
|
+
},
|
|
24730
|
+
|
|
24731
|
+
/**
|
|
24732
|
+
* Gives a faded style to be used when muted
|
|
24733
|
+
*/
|
|
24734
|
+
muted: {
|
|
24735
|
+
type: Boolean,
|
|
24736
|
+
default: false
|
|
24737
|
+
},
|
|
24738
|
+
|
|
24739
|
+
/**
|
|
24740
|
+
* Number of unread messages
|
|
24741
|
+
*/
|
|
24742
|
+
unreadCount: {
|
|
24743
|
+
type: String,
|
|
24744
|
+
default: null
|
|
24745
|
+
},
|
|
24746
|
+
|
|
24747
|
+
/**
|
|
24748
|
+
* Styles the row with an increased font weight to convey it has unreads. This must be true to see
|
|
24749
|
+
* the unread count badge.
|
|
24750
|
+
*/
|
|
24751
|
+
hasUnreads: {
|
|
24752
|
+
type: Boolean,
|
|
24753
|
+
default: false
|
|
24754
|
+
},
|
|
24755
|
+
|
|
24756
|
+
/**
|
|
24757
|
+
* Determines if the row is selected
|
|
24758
|
+
*/
|
|
24759
|
+
selected: {
|
|
24760
|
+
type: Boolean,
|
|
24761
|
+
default: false
|
|
24762
|
+
},
|
|
24763
|
+
|
|
24764
|
+
/**
|
|
24765
|
+
* Initials will never be shown. Instead it will show a "User" icon.
|
|
24766
|
+
*/
|
|
24767
|
+
noInitials: {
|
|
24768
|
+
type: Boolean,
|
|
24769
|
+
default: false
|
|
24770
|
+
},
|
|
24771
|
+
|
|
24772
|
+
/**
|
|
24773
|
+
* Shows an "is typing" animation over the avatar when true.
|
|
24774
|
+
*/
|
|
24775
|
+
isTyping: {
|
|
24776
|
+
type: Boolean,
|
|
24777
|
+
default: false
|
|
24778
|
+
},
|
|
24779
|
+
|
|
24780
|
+
/**
|
|
24781
|
+
* Text shown when the call button is hovered.
|
|
24782
|
+
*/
|
|
24783
|
+
callButtonTooltip: {
|
|
24784
|
+
type: String,
|
|
24785
|
+
default: ''
|
|
24786
|
+
},
|
|
24787
|
+
|
|
24788
|
+
/**
|
|
24789
|
+
* Text shown when the unread count is hovered.
|
|
24790
|
+
*/
|
|
24791
|
+
unreadCountTooltip: {
|
|
24792
|
+
type: String,
|
|
24793
|
+
default: ''
|
|
24794
|
+
}
|
|
24795
|
+
},
|
|
24796
|
+
emits: [
|
|
24797
|
+
/**
|
|
24798
|
+
* Native click event on the row itself
|
|
24799
|
+
*
|
|
24800
|
+
* @event click
|
|
24801
|
+
* @type {PointerEvent | KeyboardEvent}
|
|
24802
|
+
*/
|
|
24803
|
+
'click',
|
|
24804
|
+
/**
|
|
24805
|
+
* Call button clicked
|
|
24806
|
+
*
|
|
24807
|
+
* @event call
|
|
24808
|
+
* @type {PointerEvent | KeyboardEvent}
|
|
24809
|
+
*/
|
|
24810
|
+
'call'],
|
|
24811
|
+
computed: {
|
|
24812
|
+
presenceColorClass() {
|
|
24813
|
+
switch (this.avatarPresence) {
|
|
24814
|
+
case 'active':
|
|
24815
|
+
return 'd-fc-success';
|
|
24816
|
+
|
|
24817
|
+
case 'busy':
|
|
24818
|
+
return 'd-fc-critical';
|
|
24819
|
+
|
|
24820
|
+
case 'away':
|
|
24821
|
+
return 'd-fc-warning';
|
|
24822
|
+
|
|
24823
|
+
default:
|
|
24824
|
+
return undefined;
|
|
24825
|
+
}
|
|
24826
|
+
},
|
|
24827
|
+
|
|
24828
|
+
avatarInitial() {
|
|
24829
|
+
var _this$name$;
|
|
24830
|
+
|
|
24831
|
+
return (_this$name$ = this.name[0]) !== null && _this$name$ !== void 0 ? _this$name$ : '';
|
|
24832
|
+
}
|
|
24833
|
+
|
|
24834
|
+
}
|
|
24835
|
+
});
|
|
24836
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/contact_row/contact_row.vue?vue&type=script&lang=js&
|
|
24837
|
+
/* harmony default export */ const contact_row_contact_rowvue_type_script_lang_js_ = (contact_rowvue_type_script_lang_js_);
|
|
24838
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/contact_row/contact_row.vue
|
|
24839
|
+
|
|
24840
|
+
|
|
24841
|
+
|
|
24842
|
+
|
|
24843
|
+
|
|
24844
|
+
/* normalize component */
|
|
24845
|
+
;
|
|
24846
|
+
var contact_row_component = normalizeComponent(
|
|
24847
|
+
contact_row_contact_rowvue_type_script_lang_js_,
|
|
24848
|
+
contact_rowvue_type_template_id_483627f3_render,
|
|
24849
|
+
contact_rowvue_type_template_id_483627f3_staticRenderFns,
|
|
24850
|
+
false,
|
|
24851
|
+
null,
|
|
24852
|
+
null,
|
|
24853
|
+
null
|
|
24854
|
+
|
|
24855
|
+
)
|
|
24856
|
+
|
|
24857
|
+
/* harmony default export */ const contact_row = (contact_row_component.exports);
|
|
24858
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/contact_row/index.js
|
|
24859
|
+
|
|
24401
24860
|
;// CONCATENATED MODULE: ./common/mixins/index.js
|
|
24402
24861
|
|
|
24403
24862
|
|
|
@@ -24452,6 +24911,7 @@ var group_row_component = normalizeComponent(
|
|
|
24452
24911
|
|
|
24453
24912
|
|
|
24454
24913
|
|
|
24914
|
+
|
|
24455
24915
|
// Mixins
|
|
24456
24916
|
|
|
24457
24917
|
// Constants
|