@dialpad/dialtone-vue 2.60.0 → 2.62.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 +21 -0
- package/dist/dialtone-vue.common.js +132 -40
- package/dist/dialtone-vue.umd.js +130 -38
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
# [2.62.0](https://github.com/dialpad/dialtone-vue/compare/v2.61.0...v2.62.0) (2023-03-01)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* DP-59900 Add `buttonWidthSize` prop ([167b08c](https://github.com/dialpad/dialtone-vue/commit/167b08c081f3a5f73d8d2bad733f323a3b6c0ff7))
|
|
7
|
+
|
|
8
|
+
# [2.61.0](https://github.com/dialpad/dialtone-vue/compare/v2.60.0...v2.61.0) (2023-03-01)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **Combobox:** popover close on scroll ([#779](https://github.com/dialpad/dialtone-vue/issues/779)) ([7cbb916](https://github.com/dialpad/dialtone-vue/commit/7cbb91607346fed731f122738eb4e3e4633afa9f))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* **Leftbar General Row:** additional styles ([#786](https://github.com/dialpad/dialtone-vue/issues/786)) ([c803bc0](https://github.com/dialpad/dialtone-vue/commit/c803bc0ddfd6d42394f9543d1a059651fa58ea46))
|
|
19
|
+
* **Leftbar:** update text-overflow style ([#789](https://github.com/dialpad/dialtone-vue/issues/789)) ([d6873a8](https://github.com/dialpad/dialtone-vue/commit/d6873a83684c822ea696d65c9a46acbbc29ea495))
|
|
20
|
+
* **Theme:** update sidebar theme vars ([#782](https://github.com/dialpad/dialtone-vue/issues/782)) ([1c0584f](https://github.com/dialpad/dialtone-vue/commit/1c0584f3c865180573ab5194bc5833f77bee5686))
|
|
21
|
+
|
|
1
22
|
# [2.60.0](https://github.com/dialpad/dialtone-vue/compare/v2.59.2...v2.60.0) (2023-02-28)
|
|
2
23
|
|
|
3
24
|
|
|
@@ -354,7 +354,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
354
354
|
|
|
355
355
|
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()));
|
|
356
356
|
// Module
|
|
357
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".dt-recipe--callbar-button-with-popover--
|
|
357
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".dt-recipe--callbar-button-with-popover--arrow.d-btn--circle{margin-top:-1.2rem;width:var(--su16);height:var(--su16);padding:var(--su8);border-radius:var(--su4)}.dt-recipe--callbar-button-with-popover--arrow.d-btn--circle.d-btn--active{background:var(--black-025)}.dt-recipe--callbar-button-with-popover--popover .d-popover__header{background:var(--black-900);color:var(--white)}.dt-recipe--callbar-button-with-popover--popover .d-popover__header button{color:var(--white)}.dt-recipe--callbar-button-with-popover--button .d-tab--selected:after,.dt-recipe--callbar-button-with-popover--button .d-tab--selected:hover:after{--tab--bgc:var(--black-900)}.dt-recipe--callbar-button-with-popover--button .tab-group{display:flex;flex-direction:column;height:100%}.dt-recipe--callbar-button-with-popover--button .tab-content{flex:1 1 100%;overflow-y:auto}", ""]);
|
|
358
358
|
// Exports
|
|
359
359
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
360
360
|
|
|
@@ -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(--
|
|
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}}", ""]);
|
|
406
406
|
// Exports
|
|
407
407
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
408
408
|
|
|
@@ -1560,7 +1560,7 @@ if ( true && module.exports) {
|
|
|
1560
1560
|
|
|
1561
1561
|
/***/ }),
|
|
1562
1562
|
|
|
1563
|
-
/***/
|
|
1563
|
+
/***/ 627:
|
|
1564
1564
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
1565
1565
|
|
|
1566
1566
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
@@ -2349,6 +2349,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
2349
2349
|
"TOOLTIP_STICKY_VALUES": () => (/* reexport */ TOOLTIP_STICKY_VALUES),
|
|
2350
2350
|
"USER_STATUS_COLOR_MODIFIERS": () => (/* reexport */ USER_STATUS_COLOR_MODIFIERS),
|
|
2351
2351
|
"VALIDATION_MESSAGE_TYPES": () => (/* reexport */ VALIDATION_MESSAGE_TYPES),
|
|
2352
|
+
"VALID_WIDTH_SIZE": () => (/* reexport */ VALID_WIDTH_SIZE),
|
|
2352
2353
|
"filterFormattedMessages": () => (/* reexport */ filterFormattedMessages),
|
|
2353
2354
|
"formatMessages": () => (/* reexport */ formatMessages),
|
|
2354
2355
|
"getUniqueString": () => (/* reexport */ getUniqueString),
|
|
@@ -7699,7 +7700,7 @@ var collapsible_lazy_showvue_type_template_id_3ceeeccc_staticRenderFns = []
|
|
|
7699
7700
|
;// CONCATENATED MODULE: ./components/collapsible/collapsible_lazy_show.vue?vue&type=script&lang=js&
|
|
7700
7701
|
/* harmony default export */ const collapsible_collapsible_lazy_showvue_type_script_lang_js_ = (collapsible_lazy_showvue_type_script_lang_js_);
|
|
7701
7702
|
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12[0].rules[0].use[0]!./node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[2]!./node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[3]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/collapsible/collapsible_lazy_show.vue?vue&type=style&index=0&lang=css&
|
|
7702
|
-
var collapsible_lazy_showvue_type_style_index_0_lang_css_ = __webpack_require__(
|
|
7703
|
+
var collapsible_lazy_showvue_type_style_index_0_lang_css_ = __webpack_require__(627);
|
|
7703
7704
|
;// CONCATENATED MODULE: ./components/collapsible/collapsible_lazy_show.vue?vue&type=style&index=0&lang=css&
|
|
7704
7705
|
|
|
7705
7706
|
;// CONCATENATED MODULE: ./components/collapsible/collapsible_lazy_show.vue
|
|
@@ -20912,15 +20913,15 @@ var stack_component = normalizeComponent(
|
|
|
20912
20913
|
/* harmony default export */ const stack = (stack_component.exports);
|
|
20913
20914
|
;// CONCATENATED MODULE: ./components/stack/index.js
|
|
20914
20915
|
|
|
20915
|
-
;// 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/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=
|
|
20916
|
-
var
|
|
20916
|
+
;// 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/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=5bccf868&
|
|
20917
|
+
var combobox_with_popovervue_type_template_id_5bccf868_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-combobox',_vm._g({ref:"combobox",attrs:{"loading":_vm.loading,"label":_vm.label,"label-visible":_vm.labelVisible,"size":_vm.size,"description":_vm.description,"empty-list":_vm.emptyList,"empty-state-message":_vm.emptyStateMessage,"show-list":_vm.isListShown,"on-beginning-of-list":_vm.onBeginningOfList,"on-end-of-list":_vm.onEndOfList,"list-rendered-outside":true,"list-id":_vm.listId,"data-qa":"dt-combobox"},scopedSlots:_vm._u([{key:"input",fn:function(ref){
|
|
20917
20918
|
var inputProps = ref.inputProps;
|
|
20918
20919
|
return [_c('div',{ref:"input",attrs:{"id":_vm.externalAnchor},on:{"focusin":_vm.onFocusIn,"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"up",38,$event.key,["Up","ArrowUp"])){ return null; }return _vm.openOnArrowKeyPress($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"down",40,$event.key,["Down","ArrowDown"])){ return null; }return _vm.openOnArrowKeyPress($event)}]}},[_vm._t("input",null,{"inputProps":inputProps,"onInput":_vm.handleDisplayList})],2)]}},{key:"list",fn:function(ref){
|
|
20919
20920
|
var opened = ref.opened;
|
|
20920
20921
|
var listProps = ref.listProps;
|
|
20921
20922
|
var clearHighlightIndex = ref.clearHighlightIndex;
|
|
20922
20923
|
return [_c('dt-popover',{ref:"popover",attrs:{"open":_vm.isListShown,"hide-on-click":false,"max-height":_vm.maxHeight,"max-width":_vm.maxWidth,"offset":_vm.popoverOffset,"sticky":_vm.popoverSticky,"placement":"bottom-start","initial-focus-element":"none","padding":"none","role":"listbox","external-anchor":_vm.externalAnchor,"content-width":_vm.contentWidth,"content-tabindex":null,"modal":false,"auto-focus":false,"append-to":_vm.appendTo,"visually-hidden-close-label":_vm.visuallyHiddenCloseLabel,"visually-hidden-close":_vm.visuallyHiddenClose},on:{"update:open":function($event){_vm.isListShown=$event},"opened":function($event){return opened($event, arguments[1]);}},scopedSlots:_vm._u([{key:"headerContent",fn:function(){return [(_vm.$slots.header)?_c('div',{ref:"header"},[_vm._t("header")],2):_vm._e()]},proxy:true},{key:"content",fn:function(){return [_c('div',{ref:"listWrapper",class:[_vm.DROPDOWN_PADDING_CLASSES[_vm.padding], _vm.listClass],on:{"mouseleave":clearHighlightIndex,"focusout":clearHighlightIndex}},[(_vm.loading)?_c('combobox-loading-list',_vm._b({},'combobox-loading-list',listProps,false)):(_vm.emptyList && _vm.emptyStateMessage)?_c('combobox-empty-list',_vm._b({attrs:{"message":_vm.emptyStateMessage}},'combobox-empty-list',listProps,false)):_vm._t("list",null,{"listProps":listProps})],2)]},proxy:true},{key:"footerContent",fn:function(){return [(_vm.$slots.footer)?_c('div',{ref:"footer"},[_vm._t("footer")],2):_vm._e()]},proxy:true}],null,true)})]}}],null,true)},_vm.comboboxListeners))}
|
|
20923
|
-
var
|
|
20924
|
+
var combobox_with_popovervue_type_template_id_5bccf868_staticRenderFns = []
|
|
20924
20925
|
|
|
20925
20926
|
|
|
20926
20927
|
;// 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/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=script&lang=js&
|
|
@@ -21373,12 +21374,12 @@ var combobox_with_popovervue_type_template_id_2f87445e_staticRenderFns = []
|
|
|
21373
21374
|
},
|
|
21374
21375
|
|
|
21375
21376
|
onFocusOut(e) {
|
|
21377
|
+
var _this$$refs$popover$t, _e$composedPath;
|
|
21378
|
+
|
|
21376
21379
|
// Check if the focus change was to another target within the combobox component
|
|
21377
|
-
const
|
|
21378
|
-
|
|
21379
|
-
|
|
21380
|
-
});
|
|
21381
|
-
if (isComboboxStillFocused) return; // If outside the combobox then close
|
|
21380
|
+
const popoverEl = (_this$$refs$popover$t = this.$refs.popover.tip) === null || _this$$refs$popover$t === void 0 ? void 0 : _this$$refs$popover$t.popper;
|
|
21381
|
+
const comboboxEl = this.$refs.input;
|
|
21382
|
+
if ((_e$composedPath = e.composedPath()) !== null && _e$composedPath !== void 0 && _e$composedPath.some(el => [popoverEl, comboboxEl].includes(el))) return; // If outside the combobox then close
|
|
21382
21383
|
|
|
21383
21384
|
this.closeComboboxList();
|
|
21384
21385
|
},
|
|
@@ -21405,8 +21406,8 @@ var combobox_with_popovervue_type_template_id_2f87445e_staticRenderFns = []
|
|
|
21405
21406
|
;
|
|
21406
21407
|
var combobox_with_popover_component = normalizeComponent(
|
|
21407
21408
|
combobox_with_popover_combobox_with_popovervue_type_script_lang_js_,
|
|
21408
|
-
|
|
21409
|
-
|
|
21409
|
+
combobox_with_popovervue_type_template_id_5bccf868_render,
|
|
21410
|
+
combobox_with_popovervue_type_template_id_5bccf868_staticRenderFns,
|
|
21410
21411
|
false,
|
|
21411
21412
|
null,
|
|
21412
21413
|
null,
|
|
@@ -22151,9 +22152,9 @@ var combobox_multi_select_component = normalizeComponent(
|
|
|
22151
22152
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/index.js
|
|
22152
22153
|
|
|
22153
22154
|
|
|
22154
|
-
;// 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=
|
|
22155
|
-
var
|
|
22156
|
-
var
|
|
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
22158
|
|
|
22158
22159
|
|
|
22159
22160
|
;// 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&
|
|
@@ -22188,6 +22189,7 @@ var callbar_buttonvue_type_template_id_7a807bca_staticRenderFns = []
|
|
|
22188
22189
|
|
|
22189
22190
|
|
|
22190
22191
|
|
|
22192
|
+
const VALID_WIDTH_SIZE = ['sm', 'md', 'lg', 'xl'];
|
|
22191
22193
|
/* harmony default export */ const callbar_buttonvue_type_script_lang_js_ = ({
|
|
22192
22194
|
name: 'DtRecipeCallbarButton',
|
|
22193
22195
|
components: {
|
|
@@ -22267,6 +22269,15 @@ var callbar_buttonvue_type_template_id_7a807bca_staticRenderFns = []
|
|
|
22267
22269
|
buttonClass: {
|
|
22268
22270
|
type: [String, Array, Object],
|
|
22269
22271
|
default: ''
|
|
22272
|
+
},
|
|
22273
|
+
|
|
22274
|
+
/*
|
|
22275
|
+
* Width size. Valid values are: 'xl', 'lg', 'md' and 'sm'.
|
|
22276
|
+
*/
|
|
22277
|
+
buttonWidthSize: {
|
|
22278
|
+
type: String,
|
|
22279
|
+
default: 'xl',
|
|
22280
|
+
validator: size => VALID_WIDTH_SIZE.includes(size)
|
|
22270
22281
|
}
|
|
22271
22282
|
},
|
|
22272
22283
|
emits: [
|
|
@@ -22284,6 +22295,20 @@ var callbar_buttonvue_type_template_id_7a807bca_staticRenderFns = []
|
|
|
22284
22295
|
'dt-recipe-callbar-button--active': this.active,
|
|
22285
22296
|
'dt-recipe-callbar-button--danger': this.danger
|
|
22286
22297
|
}];
|
|
22298
|
+
},
|
|
22299
|
+
|
|
22300
|
+
buttonWidth() {
|
|
22301
|
+
switch (this.buttonWidthSize) {
|
|
22302
|
+
case 'sm':
|
|
22303
|
+
case 'md':
|
|
22304
|
+
return '4.5rem';
|
|
22305
|
+
|
|
22306
|
+
case 'lg':
|
|
22307
|
+
return '6rem';
|
|
22308
|
+
|
|
22309
|
+
default:
|
|
22310
|
+
return '8.4rem';
|
|
22311
|
+
}
|
|
22287
22312
|
}
|
|
22288
22313
|
|
|
22289
22314
|
}
|
|
@@ -22305,8 +22330,8 @@ var callbar_buttonvue_type_style_index_0_lang_less_ = __webpack_require__(759);
|
|
|
22305
22330
|
|
|
22306
22331
|
var callbar_button_component = normalizeComponent(
|
|
22307
22332
|
callbar_button_callbar_buttonvue_type_script_lang_js_,
|
|
22308
|
-
|
|
22309
|
-
|
|
22333
|
+
callbar_buttonvue_type_template_id_44881500_render,
|
|
22334
|
+
callbar_buttonvue_type_template_id_44881500_staticRenderFns,
|
|
22310
22335
|
false,
|
|
22311
22336
|
null,
|
|
22312
22337
|
null,
|
|
@@ -22317,9 +22342,9 @@ var callbar_button_component = normalizeComponent(
|
|
|
22317
22342
|
/* harmony default export */ const callbar_button = (callbar_button_component.exports);
|
|
22318
22343
|
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/index.js
|
|
22319
22344
|
|
|
22320
|
-
;// 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=
|
|
22321
|
-
var
|
|
22322
|
-
var
|
|
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 = []
|
|
22323
22348
|
|
|
22324
22349
|
|
|
22325
22350
|
;// 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&
|
|
@@ -22395,6 +22420,7 @@ var callbar_button_with_popovervue_type_template_id_cca8d214_staticRenderFns = [
|
|
|
22395
22420
|
//
|
|
22396
22421
|
//
|
|
22397
22422
|
//
|
|
22423
|
+
//
|
|
22398
22424
|
|
|
22399
22425
|
|
|
22400
22426
|
|
|
@@ -22532,6 +22558,15 @@ var callbar_button_with_popovervue_type_template_id_cca8d214_staticRenderFns = [
|
|
|
22532
22558
|
default: ''
|
|
22533
22559
|
},
|
|
22534
22560
|
|
|
22561
|
+
/*
|
|
22562
|
+
* Width size. Valid values are: 'xl', 'lg', 'md' and 'sm'.
|
|
22563
|
+
*/
|
|
22564
|
+
buttonWidthSize: {
|
|
22565
|
+
type: String,
|
|
22566
|
+
default: 'xl',
|
|
22567
|
+
validator: size => VALID_WIDTH_SIZE.includes(size)
|
|
22568
|
+
},
|
|
22569
|
+
|
|
22535
22570
|
/**
|
|
22536
22571
|
* Additional class name for the popover content wrapper element.
|
|
22537
22572
|
*/
|
|
@@ -22562,6 +22597,10 @@ var callbar_button_with_popovervue_type_template_id_cca8d214_staticRenderFns = [
|
|
|
22562
22597
|
computed: {
|
|
22563
22598
|
showArrowButton() {
|
|
22564
22599
|
return this.forceShowArrow || !this.disabled;
|
|
22600
|
+
},
|
|
22601
|
+
|
|
22602
|
+
isCompactMode() {
|
|
22603
|
+
return this.buttonWidthSize === 'sm' || this.buttonWidthSize === 'md';
|
|
22565
22604
|
}
|
|
22566
22605
|
|
|
22567
22606
|
},
|
|
@@ -22604,8 +22643,8 @@ var callbar_button_with_popovervue_type_style_index_0_lang_less_ = __webpack_req
|
|
|
22604
22643
|
|
|
22605
22644
|
var callbar_button_with_popover_component = normalizeComponent(
|
|
22606
22645
|
callbar_button_with_popover_callbar_button_with_popovervue_type_script_lang_js_,
|
|
22607
|
-
|
|
22608
|
-
|
|
22646
|
+
callbar_button_with_popovervue_type_template_id_428bc44b_render,
|
|
22647
|
+
callbar_button_with_popovervue_type_template_id_428bc44b_staticRenderFns,
|
|
22609
22648
|
false,
|
|
22610
22649
|
null,
|
|
22611
22650
|
null,
|
|
@@ -23315,9 +23354,9 @@ var grouped_chip_component = normalizeComponent(
|
|
|
23315
23354
|
/* harmony default export */ const grouped_chip = (grouped_chip_component.exports);
|
|
23316
23355
|
;// CONCATENATED MODULE: ./recipes/chips/grouped_chip/index.js
|
|
23317
23356
|
|
|
23318
|
-
;// 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=
|
|
23319
|
-
var
|
|
23320
|
-
var
|
|
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 = []
|
|
23321
23360
|
|
|
23322
23361
|
|
|
23323
23362
|
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/general_row_constants.js
|
|
@@ -23328,7 +23367,9 @@ const LEFTBAR_GENERAL_ROW_TYPES = {
|
|
|
23328
23367
|
THREADS: 'threads',
|
|
23329
23368
|
LOCKED_CHANNEL: 'locked channel',
|
|
23330
23369
|
CONTACT_CENTER: 'contact center',
|
|
23331
|
-
DIALBOT: 'dialbot'
|
|
23370
|
+
DIALBOT: 'dialbot',
|
|
23371
|
+
ASSIGNED: 'assigned',
|
|
23372
|
+
DIGITAL: 'digital'
|
|
23332
23373
|
};
|
|
23333
23374
|
const LEFTBAR_GENERAL_ROW_ICON_MAPPING = {
|
|
23334
23375
|
[LEFTBAR_GENERAL_ROW_TYPES.INBOX]: 'inbox',
|
|
@@ -23337,20 +23378,28 @@ const LEFTBAR_GENERAL_ROW_ICON_MAPPING = {
|
|
|
23337
23378
|
[LEFTBAR_GENERAL_ROW_TYPES.THREADS]: 'thread',
|
|
23338
23379
|
[LEFTBAR_GENERAL_ROW_TYPES.LOCKED_CHANNEL]: 'lock',
|
|
23339
23380
|
'locked channel unread': 'lock-filled',
|
|
23340
|
-
'channel unread': 'hash-bold'
|
|
23381
|
+
'channel unread': 'hash-bold',
|
|
23382
|
+
[LEFTBAR_GENERAL_ROW_TYPES.ASSIGNED]: 'at-sign',
|
|
23383
|
+
[LEFTBAR_GENERAL_ROW_TYPES.DIGITAL]: 'message'
|
|
23341
23384
|
};
|
|
23342
23385
|
const LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS = {
|
|
23343
|
-
|
|
23344
|
-
|
|
23345
|
-
|
|
23346
|
-
|
|
23347
|
-
magenta: 'd-bgc-magenta-300',
|
|
23348
|
-
|
|
23386
|
+
'magenta-200': 'd-bgc-magenta-200',
|
|
23387
|
+
'green-200': 'd-bgc-green-200',
|
|
23388
|
+
'gold-300': 'd-bgc-gold-300',
|
|
23389
|
+
'purple-600': 'd-bgc-purple-600',
|
|
23390
|
+
'magenta-300': 'd-bgc-magenta-300',
|
|
23391
|
+
'purple-300': 'd-bgc-purple-300',
|
|
23392
|
+
'green-500': 'd-bgc-green-500',
|
|
23393
|
+
'purple-100': 'd-bgc-purple-100',
|
|
23394
|
+
'magenta-400': 'd-bgc-magenta-400',
|
|
23395
|
+
'magenta-100': 'd-bgc-magenta-100'
|
|
23349
23396
|
};
|
|
23397
|
+
const LEFTBAR_GENERAL_ROW_CONTACT_CENTER_VALIDATION_ERROR = 'If type is contact center, color must be one' + 'of the following:' + Object.keys(LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS).join(', ');
|
|
23350
23398
|
/* harmony default export */ const general_row_constants = ({
|
|
23351
23399
|
LEFTBAR_GENERAL_ROW_TYPES,
|
|
23352
23400
|
LEFTBAR_GENERAL_ROW_ICON_MAPPING,
|
|
23353
|
-
LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS
|
|
23401
|
+
LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS,
|
|
23402
|
+
LEFTBAR_GENERAL_ROW_CONTACT_CENTER_VALIDATION_ERROR
|
|
23354
23403
|
});
|
|
23355
23404
|
;// 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/emoji/emoji.vue?vue&type=template&id=147e0534&
|
|
23356
23405
|
var emojivue_type_template_id_147e0534_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{class:_vm.emojiSize},[_c('dt-skeleton',{directives:[{name:"show",rawName:"v-show",value:(_vm.imgLoading && _vm.showSkeleton),expression:"imgLoading && showSkeleton"}],class:_vm.emojiSize,attrs:{"offset":0,"shape-option":{ shape: 'square', contentClass: _vm.emojiSize, size: 'auto' }}}),_c('img',{directives:[{name:"show",rawName:"v-show",value:(!_vm.imgLoading),expression:"!imgLoading"}],ref:"emojiImg",class:['d-icon', _vm.emojiSize, _vm.imgClass],attrs:{"aria-label":_vm.emojiLabel,"alt":_vm.emojiAlt,"title":_vm.emojiLabel,"src":_vm.emojiSrc},on:{"load":_vm.imageLoaded,"error":_vm.imageErrored}})],1)}
|
|
@@ -24032,6 +24081,22 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24032
24081
|
//
|
|
24033
24082
|
//
|
|
24034
24083
|
//
|
|
24084
|
+
//
|
|
24085
|
+
//
|
|
24086
|
+
//
|
|
24087
|
+
//
|
|
24088
|
+
//
|
|
24089
|
+
//
|
|
24090
|
+
//
|
|
24091
|
+
//
|
|
24092
|
+
//
|
|
24093
|
+
//
|
|
24094
|
+
//
|
|
24095
|
+
//
|
|
24096
|
+
//
|
|
24097
|
+
//
|
|
24098
|
+
//
|
|
24099
|
+
|
|
24035
24100
|
|
|
24036
24101
|
|
|
24037
24102
|
|
|
@@ -24041,6 +24106,7 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24041
24106
|
components: {
|
|
24042
24107
|
DtEmojiTextWrapper: emoji_text_wrapper,
|
|
24043
24108
|
DtBadge: badge,
|
|
24109
|
+
DtIcon: icon,
|
|
24044
24110
|
DtRecipeLeftbarGeneralRowIcon: leftbar_general_row_icon
|
|
24045
24111
|
},
|
|
24046
24112
|
inheritAttrs: false,
|
|
@@ -24090,13 +24156,39 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24090
24156
|
selected: {
|
|
24091
24157
|
type: Boolean,
|
|
24092
24158
|
default: false
|
|
24159
|
+
},
|
|
24160
|
+
|
|
24161
|
+
/**
|
|
24162
|
+
* Gives a faded style to be used when muted
|
|
24163
|
+
*/
|
|
24164
|
+
muted: {
|
|
24165
|
+
type: Boolean,
|
|
24166
|
+
default: false
|
|
24167
|
+
},
|
|
24168
|
+
|
|
24169
|
+
/**
|
|
24170
|
+
* Shows styling to represent an active voice chat. This will display over unreadCount.
|
|
24171
|
+
*/
|
|
24172
|
+
activeVoiceChat: {
|
|
24173
|
+
type: Boolean,
|
|
24174
|
+
default: false
|
|
24175
|
+
},
|
|
24176
|
+
|
|
24177
|
+
/**
|
|
24178
|
+
* Acronym used to represent "Do not Disturb" state. If entered will display the entered text over
|
|
24179
|
+
* unreadCount and activeVoiceChat.
|
|
24180
|
+
*/
|
|
24181
|
+
dndText: {
|
|
24182
|
+
type: String,
|
|
24183
|
+
default: ''
|
|
24093
24184
|
}
|
|
24094
24185
|
},
|
|
24095
24186
|
computed: {
|
|
24096
24187
|
leftbarGeneralRowClasses() {
|
|
24097
24188
|
return ['dt-leftbar-row', 'dt-leftbar-row--no-action', {
|
|
24098
24189
|
'dt-leftbar-row--has-unread': this.hasUnreadMessages,
|
|
24099
|
-
'dt-leftbar-row--selected': this.selected
|
|
24190
|
+
'dt-leftbar-row--selected': this.selected,
|
|
24191
|
+
'dt-leftbar-row--muted': this.muted
|
|
24100
24192
|
}];
|
|
24101
24193
|
},
|
|
24102
24194
|
|
|
@@ -24133,7 +24225,7 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24133
24225
|
methods: {
|
|
24134
24226
|
validateProps() {
|
|
24135
24227
|
if (this.type === LEFTBAR_GENERAL_ROW_TYPES.CONTACT_CENTER && !Object.keys(LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS).includes(this.color)) {
|
|
24136
|
-
console.error(
|
|
24228
|
+
console.error(LEFTBAR_GENERAL_ROW_CONTACT_CENTER_VALIDATION_ERROR);
|
|
24137
24229
|
}
|
|
24138
24230
|
}
|
|
24139
24231
|
|
|
@@ -24156,8 +24248,8 @@ var general_rowvue_type_style_index_0_lang_less_ = __webpack_require__(641);
|
|
|
24156
24248
|
|
|
24157
24249
|
var general_row_component = normalizeComponent(
|
|
24158
24250
|
general_row_general_rowvue_type_script_lang_js_,
|
|
24159
|
-
|
|
24160
|
-
|
|
24251
|
+
general_rowvue_type_template_id_1889c7ad_render,
|
|
24252
|
+
general_rowvue_type_template_id_1889c7ad_staticRenderFns,
|
|
24161
24253
|
false,
|
|
24162
24254
|
null,
|
|
24163
24255
|
null,
|