@dialpad/dialtone-vue 2.63.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.
- package/CHANGELOG.json +1 -1
- package/CHANGELOG.md +14 -0
- package/dist/component-documentation.json +1 -1
- package/dist/dialtone-vue.common.js +355 -29
- package/dist/dialtone-vue.umd.js +355 -29
- 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 +1 -6
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: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-
|
|
415
|
+
___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}}", ""]);
|
|
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);
|
|
@@ -22162,9 +22164,9 @@ var combobox_multi_select_component = normalizeComponent(
|
|
|
22162
22164
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/index.js
|
|
22163
22165
|
|
|
22164
22166
|
|
|
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
|
|
22167
|
+
;// 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&
|
|
22168
|
+
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)}
|
|
22169
|
+
var callbar_buttonvue_type_template_id_83ef55d6_staticRenderFns = []
|
|
22168
22170
|
|
|
22169
22171
|
|
|
22170
22172
|
;// 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 +22312,9 @@ const VALID_WIDTH_SIZE = ['sm', 'md', 'lg', 'xl'];
|
|
|
22310
22312
|
buttonWidth() {
|
|
22311
22313
|
switch (this.buttonWidthSize) {
|
|
22312
22314
|
case 'sm':
|
|
22313
|
-
case 'md':
|
|
22314
22315
|
return '4.5rem';
|
|
22315
22316
|
|
|
22316
|
-
case '
|
|
22317
|
+
case 'md':
|
|
22317
22318
|
return '6rem';
|
|
22318
22319
|
|
|
22319
22320
|
default:
|
|
@@ -22340,8 +22341,8 @@ var callbar_buttonvue_type_style_index_0_lang_less_ = __webpack_require__(736);
|
|
|
22340
22341
|
|
|
22341
22342
|
var callbar_button_component = normalizeComponent(
|
|
22342
22343
|
callbar_button_callbar_buttonvue_type_script_lang_js_,
|
|
22343
|
-
|
|
22344
|
-
|
|
22344
|
+
callbar_buttonvue_type_template_id_83ef55d6_render,
|
|
22345
|
+
callbar_buttonvue_type_template_id_83ef55d6_staticRenderFns,
|
|
22345
22346
|
false,
|
|
22346
22347
|
null,
|
|
22347
22348
|
null,
|
|
@@ -22352,9 +22353,9 @@ var callbar_button_component = normalizeComponent(
|
|
|
22352
22353
|
/* harmony default export */ const callbar_button = (callbar_button_component.exports);
|
|
22353
22354
|
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/index.js
|
|
22354
22355
|
|
|
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
|
|
22356
|
+
;// 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&
|
|
22357
|
+
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)}
|
|
22358
|
+
var callbar_button_with_popovervue_type_template_id_86437b7c_staticRenderFns = []
|
|
22358
22359
|
|
|
22359
22360
|
|
|
22360
22361
|
;// 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 +22611,7 @@ var callbar_button_with_popovervue_type_template_id_428bc44b_staticRenderFns = [
|
|
|
22610
22611
|
},
|
|
22611
22612
|
|
|
22612
22613
|
isCompactMode() {
|
|
22613
|
-
return this.buttonWidthSize === 'sm'
|
|
22614
|
+
return this.buttonWidthSize === 'sm';
|
|
22614
22615
|
}
|
|
22615
22616
|
|
|
22616
22617
|
},
|
|
@@ -22653,8 +22654,8 @@ var callbar_button_with_popovervue_type_style_index_0_lang_less_ = __webpack_req
|
|
|
22653
22654
|
|
|
22654
22655
|
var callbar_button_with_popover_component = normalizeComponent(
|
|
22655
22656
|
callbar_button_with_popover_callbar_button_with_popovervue_type_script_lang_js_,
|
|
22656
|
-
|
|
22657
|
-
|
|
22657
|
+
callbar_button_with_popovervue_type_template_id_86437b7c_render,
|
|
22658
|
+
callbar_button_with_popovervue_type_template_id_86437b7c_staticRenderFns,
|
|
22658
22659
|
false,
|
|
22659
22660
|
null,
|
|
22660
22661
|
null,
|
|
@@ -23364,9 +23365,9 @@ var grouped_chip_component = normalizeComponent(
|
|
|
23364
23365
|
/* harmony default export */ const grouped_chip = (grouped_chip_component.exports);
|
|
23365
23366
|
;// CONCATENATED MODULE: ./recipes/chips/grouped_chip/index.js
|
|
23366
23367
|
|
|
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
|
|
23368
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/leftbar/general_row/general_row.vue?vue&type=template&id=37f653fe&
|
|
23369
|
+
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()])}
|
|
23370
|
+
var general_rowvue_type_template_id_37f653fe_staticRenderFns = []
|
|
23370
23371
|
|
|
23371
23372
|
|
|
23372
23373
|
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/general_row_constants.js
|
|
@@ -23809,6 +23810,7 @@ var emoji_component = normalizeComponent(
|
|
|
23809
23810
|
;// 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
23811
|
|
|
23811
23812
|
|
|
23813
|
+
|
|
23812
23814
|
/**
|
|
23813
23815
|
* Wrapper to find and replace shortcodes like :smile: or unicode chars such as 😄 with our custom Emojis implementation.
|
|
23814
23816
|
* @see https://dialpad.design/components/emoji_text_wrapper.html
|
|
@@ -23827,6 +23829,15 @@ var emoji_component = normalizeComponent(
|
|
|
23827
23829
|
elementType: {
|
|
23828
23830
|
type: String,
|
|
23829
23831
|
default: 'div'
|
|
23832
|
+
},
|
|
23833
|
+
|
|
23834
|
+
/**
|
|
23835
|
+
* The icon size to render the emojis at: 100 to 800
|
|
23836
|
+
*/
|
|
23837
|
+
size: {
|
|
23838
|
+
type: String,
|
|
23839
|
+
default: '500',
|
|
23840
|
+
validator: t => Object.keys(ICON_SIZE_MODIFIERS).includes(t)
|
|
23830
23841
|
}
|
|
23831
23842
|
},
|
|
23832
23843
|
|
|
@@ -23856,6 +23867,7 @@ var emoji_component = normalizeComponent(
|
|
|
23856
23867
|
},
|
|
23857
23868
|
props: {
|
|
23858
23869
|
code: item,
|
|
23870
|
+
size: this.size,
|
|
23859
23871
|
...this.$attrs
|
|
23860
23872
|
}
|
|
23861
23873
|
});
|
|
@@ -24106,6 +24118,35 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24106
24118
|
//
|
|
24107
24119
|
//
|
|
24108
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
|
+
|
|
24109
24150
|
|
|
24110
24151
|
|
|
24111
24152
|
|
|
@@ -24117,6 +24158,7 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24117
24158
|
DtEmojiTextWrapper: emoji_text_wrapper,
|
|
24118
24159
|
DtBadge: badge,
|
|
24119
24160
|
DtIcon: icon,
|
|
24161
|
+
DtButton: button_button,
|
|
24120
24162
|
DtRecipeLeftbarGeneralRowIcon: leftbar_general_row_icon
|
|
24121
24163
|
},
|
|
24122
24164
|
inheritAttrs: false,
|
|
@@ -24153,7 +24195,8 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24153
24195
|
},
|
|
24154
24196
|
|
|
24155
24197
|
/**
|
|
24156
|
-
* Styles the row with an increased font weight to convey it has unreads
|
|
24198
|
+
* Styles the row with an increased font weight to convey it has unreads. This must be true to see
|
|
24199
|
+
* the unread count badge.
|
|
24157
24200
|
*/
|
|
24158
24201
|
hasUnreads: {
|
|
24159
24202
|
type: Boolean,
|
|
@@ -24199,14 +24242,46 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24199
24242
|
dndText: {
|
|
24200
24243
|
type: String,
|
|
24201
24244
|
default: ''
|
|
24245
|
+
},
|
|
24246
|
+
|
|
24247
|
+
/**
|
|
24248
|
+
* Whether the row should have a call button. Usually only applicable to individual contact rows.
|
|
24249
|
+
*/
|
|
24250
|
+
hasCallButton: {
|
|
24251
|
+
type: Boolean,
|
|
24252
|
+
default: false
|
|
24202
24253
|
}
|
|
24203
24254
|
},
|
|
24255
|
+
emits: [
|
|
24256
|
+
/**
|
|
24257
|
+
* Native click event on the row itself
|
|
24258
|
+
*
|
|
24259
|
+
* @event click
|
|
24260
|
+
* @type {PointerEvent | KeyboardEvent}
|
|
24261
|
+
*/
|
|
24262
|
+
'click',
|
|
24263
|
+
/**
|
|
24264
|
+
* Call button clicked
|
|
24265
|
+
*
|
|
24266
|
+
* @event call
|
|
24267
|
+
* @type {PointerEvent | KeyboardEvent}
|
|
24268
|
+
*/
|
|
24269
|
+
'call'],
|
|
24270
|
+
|
|
24271
|
+
data() {
|
|
24272
|
+
return {
|
|
24273
|
+
actionFocused: false
|
|
24274
|
+
};
|
|
24275
|
+
},
|
|
24276
|
+
|
|
24204
24277
|
computed: {
|
|
24205
24278
|
leftbarGeneralRowClasses() {
|
|
24206
|
-
return ['dt-leftbar-row',
|
|
24279
|
+
return ['dt-leftbar-row', {
|
|
24280
|
+
'dt-leftbar-row--no-action': !this.hasCallButton,
|
|
24207
24281
|
'dt-leftbar-row--has-unread': this.hasUnreads,
|
|
24208
24282
|
'dt-leftbar-row--selected': this.selected,
|
|
24209
|
-
'dt-leftbar-row--muted': this.muted
|
|
24283
|
+
'dt-leftbar-row--muted': this.muted,
|
|
24284
|
+
'dt-leftbar-row--action-focused': this.actionFocused
|
|
24210
24285
|
}];
|
|
24211
24286
|
},
|
|
24212
24287
|
|
|
@@ -24262,8 +24337,8 @@ var general_rowvue_type_style_index_0_lang_less_ = __webpack_require__(745);
|
|
|
24262
24337
|
|
|
24263
24338
|
var general_row_component = normalizeComponent(
|
|
24264
24339
|
general_row_general_rowvue_type_script_lang_js_,
|
|
24265
|
-
|
|
24266
|
-
|
|
24340
|
+
general_rowvue_type_template_id_37f653fe_render,
|
|
24341
|
+
general_rowvue_type_template_id_37f653fe_staticRenderFns,
|
|
24267
24342
|
false,
|
|
24268
24343
|
null,
|
|
24269
24344
|
null,
|
|
@@ -24275,9 +24350,9 @@ var general_row_component = normalizeComponent(
|
|
|
24275
24350
|
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/index.js
|
|
24276
24351
|
|
|
24277
24352
|
|
|
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
|
|
24353
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/leftbar/group_row/group_row.vue?vue&type=template&id=4a86bd91&
|
|
24354
|
+
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))}
|
|
24355
|
+
var group_rowvue_type_template_id_4a86bd91_staticRenderFns = []
|
|
24281
24356
|
|
|
24282
24357
|
|
|
24283
24358
|
;// 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&
|
|
@@ -24358,7 +24433,8 @@ var group_rowvue_type_template_id_226fd04a_staticRenderFns = []
|
|
|
24358
24433
|
},
|
|
24359
24434
|
|
|
24360
24435
|
/**
|
|
24361
|
-
* Styles the row with an increased font weight to convey it has unreads
|
|
24436
|
+
* Styles the row with an increased font weight to convey it has unreads. This must be true to see
|
|
24437
|
+
* the unread count badge.
|
|
24362
24438
|
*/
|
|
24363
24439
|
hasUnreads: {
|
|
24364
24440
|
type: Boolean,
|
|
@@ -24372,7 +24448,15 @@ var group_rowvue_type_template_id_226fd04a_staticRenderFns = []
|
|
|
24372
24448
|
type: Boolean,
|
|
24373
24449
|
default: false
|
|
24374
24450
|
}
|
|
24375
|
-
}
|
|
24451
|
+
},
|
|
24452
|
+
emits: [
|
|
24453
|
+
/**
|
|
24454
|
+
* Native click event on the row itself
|
|
24455
|
+
*
|
|
24456
|
+
* @event click
|
|
24457
|
+
* @type {PointerEvent | KeyboardEvent}
|
|
24458
|
+
*/
|
|
24459
|
+
'click']
|
|
24376
24460
|
});
|
|
24377
24461
|
;// CONCATENATED MODULE: ./recipes/leftbar/group_row/group_row.vue?vue&type=script&lang=js&
|
|
24378
24462
|
/* harmony default export */ const group_row_group_rowvue_type_script_lang_js_ = (group_rowvue_type_script_lang_js_);
|
|
@@ -24386,8 +24470,8 @@ var group_rowvue_type_template_id_226fd04a_staticRenderFns = []
|
|
|
24386
24470
|
;
|
|
24387
24471
|
var group_row_component = normalizeComponent(
|
|
24388
24472
|
group_row_group_rowvue_type_script_lang_js_,
|
|
24389
|
-
|
|
24390
|
-
|
|
24473
|
+
group_rowvue_type_template_id_4a86bd91_render,
|
|
24474
|
+
group_rowvue_type_template_id_4a86bd91_staticRenderFns,
|
|
24391
24475
|
false,
|
|
24392
24476
|
null,
|
|
24393
24477
|
null,
|
|
@@ -24398,6 +24482,247 @@ var group_row_component = normalizeComponent(
|
|
|
24398
24482
|
/* harmony default export */ const group_row = (group_row_component.exports);
|
|
24399
24483
|
;// CONCATENATED MODULE: ./recipes/leftbar/group_row/index.js
|
|
24400
24484
|
|
|
24485
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/leftbar/contact_row/contact_row.vue?vue&type=template&id=22dc813a&
|
|
24486
|
+
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))}
|
|
24487
|
+
var contact_rowvue_type_template_id_22dc813a_staticRenderFns = []
|
|
24488
|
+
|
|
24489
|
+
|
|
24490
|
+
;// 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&
|
|
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
|
+
//
|
|
24549
|
+
//
|
|
24550
|
+
//
|
|
24551
|
+
//
|
|
24552
|
+
//
|
|
24553
|
+
|
|
24554
|
+
|
|
24555
|
+
|
|
24556
|
+
|
|
24557
|
+
|
|
24558
|
+
/* harmony default export */ const contact_rowvue_type_script_lang_js_ = ({
|
|
24559
|
+
name: 'DtRecipeGroupRow',
|
|
24560
|
+
components: {
|
|
24561
|
+
DtAvatar: avatar,
|
|
24562
|
+
DtIcon: icon,
|
|
24563
|
+
DtRecipeGeneralRow: general_row,
|
|
24564
|
+
DtEmojiTextWrapper: emoji_text_wrapper
|
|
24565
|
+
},
|
|
24566
|
+
props: {
|
|
24567
|
+
/**
|
|
24568
|
+
* Optional avatar image url.
|
|
24569
|
+
* If not provided it will use the initial of the name.
|
|
24570
|
+
*/
|
|
24571
|
+
avatarSrc: {
|
|
24572
|
+
type: String,
|
|
24573
|
+
default: ''
|
|
24574
|
+
},
|
|
24575
|
+
|
|
24576
|
+
/**
|
|
24577
|
+
* Determines whether to show the presence indicator for
|
|
24578
|
+
* Avatar - accepts PRESENCE_STATES values: 'active', 'busy', 'away', 'offline'. defaults to active.
|
|
24579
|
+
* @values active, busy, away, offline
|
|
24580
|
+
*/
|
|
24581
|
+
avatarPresence: {
|
|
24582
|
+
type: String,
|
|
24583
|
+
default: PRESENCE_STATES.ACTIVE,
|
|
24584
|
+
validator: role => {
|
|
24585
|
+
return PRESENCE_STATES_LIST.includes(role);
|
|
24586
|
+
}
|
|
24587
|
+
},
|
|
24588
|
+
|
|
24589
|
+
/**
|
|
24590
|
+
* Avatar seed, set this to the user's ID to get the same avatar background gradient each time it is displayed.
|
|
24591
|
+
*/
|
|
24592
|
+
avatarSeed: {
|
|
24593
|
+
type: String,
|
|
24594
|
+
default: null
|
|
24595
|
+
},
|
|
24596
|
+
|
|
24597
|
+
/**
|
|
24598
|
+
* Text describing the user's presence, such as "in a meeting"
|
|
24599
|
+
*/
|
|
24600
|
+
presenceText: {
|
|
24601
|
+
type: String,
|
|
24602
|
+
default: ''
|
|
24603
|
+
},
|
|
24604
|
+
|
|
24605
|
+
/**
|
|
24606
|
+
* Name of the contact
|
|
24607
|
+
*/
|
|
24608
|
+
name: {
|
|
24609
|
+
type: String,
|
|
24610
|
+
required: true
|
|
24611
|
+
},
|
|
24612
|
+
|
|
24613
|
+
/**
|
|
24614
|
+
* Status as set by the user.
|
|
24615
|
+
*/
|
|
24616
|
+
userStatus: {
|
|
24617
|
+
type: String,
|
|
24618
|
+
default: ''
|
|
24619
|
+
},
|
|
24620
|
+
|
|
24621
|
+
/**
|
|
24622
|
+
* Gives a faded style to be used when muted
|
|
24623
|
+
*/
|
|
24624
|
+
muted: {
|
|
24625
|
+
type: Boolean,
|
|
24626
|
+
default: false
|
|
24627
|
+
},
|
|
24628
|
+
|
|
24629
|
+
/**
|
|
24630
|
+
* Number of unread messages
|
|
24631
|
+
*/
|
|
24632
|
+
unreadCount: {
|
|
24633
|
+
type: String,
|
|
24634
|
+
default: null
|
|
24635
|
+
},
|
|
24636
|
+
|
|
24637
|
+
/**
|
|
24638
|
+
* Styles the row with an increased font weight to convey it has unreads. This must be true to see
|
|
24639
|
+
* the unread count badge.
|
|
24640
|
+
*/
|
|
24641
|
+
hasUnreads: {
|
|
24642
|
+
type: Boolean,
|
|
24643
|
+
default: false
|
|
24644
|
+
},
|
|
24645
|
+
|
|
24646
|
+
/**
|
|
24647
|
+
* Determines if the row is selected
|
|
24648
|
+
*/
|
|
24649
|
+
selected: {
|
|
24650
|
+
type: Boolean,
|
|
24651
|
+
default: false
|
|
24652
|
+
},
|
|
24653
|
+
|
|
24654
|
+
/**
|
|
24655
|
+
* Initials will never be shown. Instead it will show a "User" icon.
|
|
24656
|
+
*/
|
|
24657
|
+
noInitials: {
|
|
24658
|
+
type: Boolean,
|
|
24659
|
+
default: false
|
|
24660
|
+
}
|
|
24661
|
+
},
|
|
24662
|
+
emits: [
|
|
24663
|
+
/**
|
|
24664
|
+
* Native click event on the row itself
|
|
24665
|
+
*
|
|
24666
|
+
* @event click
|
|
24667
|
+
* @type {PointerEvent | KeyboardEvent}
|
|
24668
|
+
*/
|
|
24669
|
+
'click',
|
|
24670
|
+
/**
|
|
24671
|
+
* Call button clicked
|
|
24672
|
+
*
|
|
24673
|
+
* @event call
|
|
24674
|
+
* @type {PointerEvent | KeyboardEvent}
|
|
24675
|
+
*/
|
|
24676
|
+
'call'],
|
|
24677
|
+
computed: {
|
|
24678
|
+
presenceColorClass() {
|
|
24679
|
+
switch (this.avatarPresence) {
|
|
24680
|
+
case 'active':
|
|
24681
|
+
return 'd-fc-success';
|
|
24682
|
+
|
|
24683
|
+
case 'busy':
|
|
24684
|
+
return 'd-fc-critical';
|
|
24685
|
+
|
|
24686
|
+
case 'away':
|
|
24687
|
+
return 'd-fc-warning';
|
|
24688
|
+
|
|
24689
|
+
default:
|
|
24690
|
+
return undefined;
|
|
24691
|
+
}
|
|
24692
|
+
},
|
|
24693
|
+
|
|
24694
|
+
avatarInitial() {
|
|
24695
|
+
var _this$name$;
|
|
24696
|
+
|
|
24697
|
+
return (_this$name$ = this.name[0]) !== null && _this$name$ !== void 0 ? _this$name$ : '';
|
|
24698
|
+
}
|
|
24699
|
+
|
|
24700
|
+
}
|
|
24701
|
+
});
|
|
24702
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/contact_row/contact_row.vue?vue&type=script&lang=js&
|
|
24703
|
+
/* harmony default export */ const contact_row_contact_rowvue_type_script_lang_js_ = (contact_rowvue_type_script_lang_js_);
|
|
24704
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/contact_row/contact_row.vue
|
|
24705
|
+
|
|
24706
|
+
|
|
24707
|
+
|
|
24708
|
+
|
|
24709
|
+
|
|
24710
|
+
/* normalize component */
|
|
24711
|
+
;
|
|
24712
|
+
var contact_row_component = normalizeComponent(
|
|
24713
|
+
contact_row_contact_rowvue_type_script_lang_js_,
|
|
24714
|
+
contact_rowvue_type_template_id_22dc813a_render,
|
|
24715
|
+
contact_rowvue_type_template_id_22dc813a_staticRenderFns,
|
|
24716
|
+
false,
|
|
24717
|
+
null,
|
|
24718
|
+
null,
|
|
24719
|
+
null
|
|
24720
|
+
|
|
24721
|
+
)
|
|
24722
|
+
|
|
24723
|
+
/* harmony default export */ const contact_row = (contact_row_component.exports);
|
|
24724
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/contact_row/index.js
|
|
24725
|
+
|
|
24401
24726
|
;// CONCATENATED MODULE: ./common/mixins/index.js
|
|
24402
24727
|
|
|
24403
24728
|
|
|
@@ -24452,6 +24777,7 @@ var group_row_component = normalizeComponent(
|
|
|
24452
24777
|
|
|
24453
24778
|
|
|
24454
24779
|
|
|
24780
|
+
|
|
24455
24781
|
// Mixins
|
|
24456
24782
|
|
|
24457
24783
|
// Constants
|