@dialpad/dialtone-vue 2.67.0 → 2.69.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 +25 -0
- package/dist/dialtone-vue.common.js +99 -42
- package/dist/dialtone-vue.umd.js +99 -42
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
# [2.69.0](https://github.com/dialpad/dialtone-vue/compare/v2.68.0...v2.69.0) (2023-03-16)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* dialtone-icons version ([#823](https://github.com/dialpad/dialtone-vue/issues/823)) ([0cde468](https://github.com/dialpad/dialtone-vue/commit/0cde468de8db4c9eeb9f44653e271f1b5d9b78fd))
|
|
7
|
+
* popover fallback placements ([#821](https://github.com/dialpad/dialtone-vue/issues/821)) ([a18ac48](https://github.com/dialpad/dialtone-vue/commit/a18ac482c84c9d73fbee695d6a89c3051c8b28cb))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* **Leftbar Contact Row:** add hasCallButton ([#826](https://github.com/dialpad/dialtone-vue/issues/826)) ([000cd5a](https://github.com/dialpad/dialtone-vue/commit/000cd5a272a0a0fbe53984311b8c6351acdd6c5d))
|
|
13
|
+
|
|
14
|
+
# [2.68.0](https://github.com/dialpad/dialtone-vue/compare/v2.67.0...v2.68.0) (2023-03-15)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Code Refactoring
|
|
18
|
+
|
|
19
|
+
* modify dt-recipe-callbar component to have common styles baked in ([#811](https://github.com/dialpad/dialtone-vue/issues/811)) ([4bebf71](https://github.com/dialpad/dialtone-vue/commit/4bebf71f8836ff83db0fa36336480195283629ca))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
* **Dt Recipe Ivr Node:** add new ivr top connector slot ([#819](https://github.com/dialpad/dialtone-vue/issues/819)) ([d45a305](https://github.com/dialpad/dialtone-vue/commit/d45a3050bd1fa5ad6dc5fc198c49ea4bc6b55c61))
|
|
25
|
+
|
|
1
26
|
# [2.67.0](https://github.com/dialpad/dialtone-vue/compare/v2.66.0...v2.67.0) (2023-03-15)
|
|
2
27
|
|
|
3
28
|
|
|
@@ -378,7 +378,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
378
378
|
|
|
379
379
|
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()));
|
|
380
380
|
// Module
|
|
381
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".ivr_node__width{width:280px}.ivr_node__goto_icon{transform:rotate(90deg)}", ""]);
|
|
381
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".ivr_node__width{width:280px}.ivr_node__goto_icon{transform:rotate(90deg)}.ivr-connector{z-index:var(--zi-base1);display:flex;justify-content:center;align-items:center;border-color:var(--purple-600);background-color:var(--purple-600)}", ""]);
|
|
382
382
|
// Exports
|
|
383
383
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
384
384
|
|
|
@@ -2603,6 +2603,25 @@ function debounce(func) {
|
|
|
2603
2603
|
clearTimeout(TIMER);
|
|
2604
2604
|
TIMER = setTimeout(func, timeout);
|
|
2605
2605
|
}
|
|
2606
|
+
/**
|
|
2607
|
+
* Checks if the element is out of the viewport
|
|
2608
|
+
* https://gomakethings.com/how-to-check-if-any-part-of-an-element-is-out-of-the-viewport-with-vanilla-js/
|
|
2609
|
+
* @param {HTMLElement} element The element to check
|
|
2610
|
+
* @return {Object} A set of booleans for each side of the element
|
|
2611
|
+
*/
|
|
2612
|
+
|
|
2613
|
+
function isOutOfViewPort(element) {
|
|
2614
|
+
const bounding = element.getBoundingClientRect();
|
|
2615
|
+
const isOut = {
|
|
2616
|
+
top: bounding.top < 0,
|
|
2617
|
+
left: bounding.left < 0,
|
|
2618
|
+
bottom: bounding.bottom > (window.innerHeight || document.documentElement.clientHeight),
|
|
2619
|
+
right: bounding.right > (window.innerWidth || document.documentElement.clientWidth)
|
|
2620
|
+
};
|
|
2621
|
+
isOut.any = Object.values(isOut).some(val => val);
|
|
2622
|
+
isOut.all = Object.values(isOut).every(val => val);
|
|
2623
|
+
return isOut;
|
|
2624
|
+
}
|
|
2606
2625
|
/* harmony default export */ const utils = ({
|
|
2607
2626
|
getUniqueString,
|
|
2608
2627
|
getRandomElement,
|
|
@@ -2613,7 +2632,8 @@ function debounce(func) {
|
|
|
2613
2632
|
htmlFragment,
|
|
2614
2633
|
flushPromises,
|
|
2615
2634
|
kebabCaseToPascalCase,
|
|
2616
|
-
debounce
|
|
2635
|
+
debounce,
|
|
2636
|
+
isOutOfViewPort
|
|
2617
2637
|
});
|
|
2618
2638
|
;// 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/presence/presence.vue?vue&type=template&id=77957bb3&
|
|
2619
2639
|
var presencevue_type_template_id_77957bb3_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-presence",attrs:{"data-qa":"dt-presence","role":"status","aria-live":_vm.$attrs.ariaLive || 'off'}},[(_vm.srText)?_c('span',{staticClass:"sr-only",attrs:{"data-qa":"dt-presence-sr-text"}},[_vm._v(_vm._s(_vm.srText)+" ")]):_vm._e(),_c('div',{staticClass:"d-presence__inner",class:{
|
|
@@ -8190,8 +8210,8 @@ return [_c('ul',{ref:"listWrapper",class:_vm.listClasses,attrs:{"id":_vm.listId,
|
|
|
8190
8210
|
var dropdownvue_type_template_id_359f1c8b_staticRenderFns = []
|
|
8191
8211
|
|
|
8192
8212
|
|
|
8193
|
-
;// 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/popover/popover.vue?vue&type=template&id=
|
|
8194
|
-
var
|
|
8213
|
+
;// 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/popover/popover.vue?vue&type=template&id=683dbc64&
|
|
8214
|
+
var popovervue_type_template_id_683dbc64_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.modal && _vm.isOpen)?_c('portal',[_c('div',{staticClass:"d-modal--transparent",attrs:{"aria-hidden":_vm.modal && _vm.isOpen ? 'false' : 'true'},on:{"click":function($event){$event.preventDefault();$event.stopPropagation();}}})]):_vm._e(),_c(_vm.elementType,_vm._g({ref:"popover",tag:"component",class:['d-popover', { 'd-popover__anchor--opened': _vm.isOpen }],attrs:{"data-qa":"dt-popover-container"}},_vm.$listeners),[_c('div',{ref:"anchor",attrs:{"id":!_vm.ariaLabelledby && _vm.labelledBy,"data-qa":"dt-popover-anchor","tabindex":_vm.openOnContext ? 0 : undefined},on:{"!click":function($event){return _vm.defaultToggleOpen.apply(null, arguments)},"contextmenu":_vm.onContext,"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"up",38,$event.key,["Up","ArrowUp"])){ return null; }$event.preventDefault();return _vm.onArrowKeyPress.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"down",40,$event.key,["Down","ArrowDown"])){ return null; }$event.preventDefault();return _vm.onArrowKeyPress.apply(null, arguments)}],"!keydown":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"escape",undefined,$event.key,undefined)){ return null; }return _vm.closePopover.apply(null, arguments)}}},[_vm._t("anchor",null,{"attrs":{
|
|
8195
8215
|
'aria-expanded': _vm.isOpen.toString(),
|
|
8196
8216
|
'aria-controls': _vm.id,
|
|
8197
8217
|
'aria-haspopup': _vm.role,
|
|
@@ -8202,7 +8222,7 @@ var popovervue_type_template_id_cdba9054_render = function () {var _vm=this;var
|
|
|
8202
8222
|
'd-popover__content',
|
|
8203
8223
|
_vm.POPOVER_PADDING_CLASSES[_vm.padding],
|
|
8204
8224
|
_vm.contentClass ],attrs:{"data-qa":"dt-popover-content"}},[_vm._t("content",null,{"close":_vm.closePopover})],2),(_vm.$slots.footerContent)?_c('popover-header-footer',{ref:"popover__footer",class:_vm.POPOVER_HEADER_FOOTER_PADDING_CLASSES[_vm.padding],attrs:{"type":"footer","content-class":_vm.footerClass},scopedSlots:_vm._u([{key:"content",fn:function(){return [_vm._t("footerContent",null,{"close":_vm.closePopover})]},proxy:true}],null,true)}):_vm._e(),(_vm.showVisuallyHiddenClose)?_c('sr-only-close-button',{attrs:{"visually-hidden-close-label":_vm.visuallyHiddenCloseLabel},on:{"close":_vm.closePopover}}):_vm._e()],1)],1)],1)}
|
|
8205
|
-
var
|
|
8225
|
+
var popovervue_type_template_id_683dbc64_staticRenderFns = []
|
|
8206
8226
|
|
|
8207
8227
|
|
|
8208
8228
|
;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js
|
|
@@ -13617,6 +13637,7 @@ var popover_header_footer_component = normalizeComponent(
|
|
|
13617
13637
|
isOpen(isOpen, isPrev) {
|
|
13618
13638
|
if (isOpen) {
|
|
13619
13639
|
this.initTippyInstance();
|
|
13640
|
+
this.tip.show();
|
|
13620
13641
|
} else if (!isOpen && isPrev !== isOpen) {
|
|
13621
13642
|
this.removeEventListeners();
|
|
13622
13643
|
this.tip.hide();
|
|
@@ -13632,16 +13653,14 @@ var popover_header_footer_component = normalizeComponent(
|
|
|
13632
13653
|
|
|
13633
13654
|
if (this.isOpen) {
|
|
13634
13655
|
this.initTippyInstance();
|
|
13656
|
+
this.tip.show();
|
|
13635
13657
|
} // rootMargin here must be greater than the margin of the height we are setting in calculatedMaxHeight which
|
|
13636
13658
|
// currently is var(--space-300) (4px). If not the intersectionObserver will continually trigger in an infinite
|
|
13637
13659
|
// loop.
|
|
13638
13660
|
// threshold 1.0 makes this trigger every time the dialog "touches" the edge of the viewport.
|
|
13639
13661
|
|
|
13640
13662
|
|
|
13641
|
-
this.intersectionObserver = new IntersectionObserver(this.hasIntersectedViewport
|
|
13642
|
-
rootMargin: '-8px',
|
|
13643
|
-
threshold: 1.0
|
|
13644
|
-
});
|
|
13663
|
+
this.intersectionObserver = new IntersectionObserver(this.hasIntersectedViewport);
|
|
13645
13664
|
this.intersectionObserver.observe(this.popoverContentEl);
|
|
13646
13665
|
},
|
|
13647
13666
|
|
|
@@ -13659,8 +13678,12 @@ var popover_header_footer_component = normalizeComponent(
|
|
|
13659
13678
|
******************/
|
|
13660
13679
|
methods: {
|
|
13661
13680
|
hasIntersectedViewport(entries) {
|
|
13662
|
-
|
|
13663
|
-
|
|
13681
|
+
var _entries$;
|
|
13682
|
+
|
|
13683
|
+
const dialog = entries === null || entries === void 0 ? void 0 : (_entries$ = entries[0]) === null || _entries$ === void 0 ? void 0 : _entries$.target;
|
|
13684
|
+
if (!dialog) return;
|
|
13685
|
+
const isOut = isOutOfViewPort(dialog);
|
|
13686
|
+
this.isOutsideViewport = isOut.bottom || isOut.top;
|
|
13664
13687
|
},
|
|
13665
13688
|
|
|
13666
13689
|
popperOptions() {
|
|
@@ -13771,6 +13794,9 @@ var popover_header_footer_component = normalizeComponent(
|
|
|
13771
13794
|
|
|
13772
13795
|
if (element.tagName.toLowerCase() === 'body') {
|
|
13773
13796
|
element.classList.add('d-of-hidden');
|
|
13797
|
+
this.tip.setProps({
|
|
13798
|
+
offset: this.offset
|
|
13799
|
+
});
|
|
13774
13800
|
} else {
|
|
13775
13801
|
element.classList.add('d-zi-popover');
|
|
13776
13802
|
}
|
|
@@ -13788,6 +13814,9 @@ var popover_header_footer_component = normalizeComponent(
|
|
|
13788
13814
|
|
|
13789
13815
|
if (element.tagName.toLowerCase() === 'body') {
|
|
13790
13816
|
element.classList.remove('d-of-hidden');
|
|
13817
|
+
this.tip.setProps({
|
|
13818
|
+
offset: this.offset
|
|
13819
|
+
});
|
|
13791
13820
|
} else {
|
|
13792
13821
|
element.classList.remove('d-zi-popover');
|
|
13793
13822
|
}
|
|
@@ -13808,6 +13837,8 @@ var popover_header_footer_component = normalizeComponent(
|
|
|
13808
13837
|
if (this.contentWidth === null) {
|
|
13809
13838
|
this.popoverContentEl.style.width = 'auto';
|
|
13810
13839
|
}
|
|
13840
|
+
|
|
13841
|
+
this.addEventListeners();
|
|
13811
13842
|
},
|
|
13812
13843
|
|
|
13813
13844
|
async onLeaveTransitionComplete() {
|
|
@@ -13820,7 +13851,7 @@ var popover_header_footer_component = normalizeComponent(
|
|
|
13820
13851
|
}
|
|
13821
13852
|
|
|
13822
13853
|
(_this$tip8 = this.tip) === null || _this$tip8 === void 0 ? void 0 : _this$tip8.unmount();
|
|
13823
|
-
this.enableScrolling();
|
|
13854
|
+
await this.enableScrolling();
|
|
13824
13855
|
this.$emit('opened', false);
|
|
13825
13856
|
|
|
13826
13857
|
if (this.open !== null) {
|
|
@@ -13830,7 +13861,7 @@ var popover_header_footer_component = normalizeComponent(
|
|
|
13830
13861
|
|
|
13831
13862
|
async onEnterTransitionComplete() {
|
|
13832
13863
|
this.focusInitialElement();
|
|
13833
|
-
this.preventScrolling(); // await next tick in case the user wants to change focus themselves.
|
|
13864
|
+
await this.preventScrolling(); // await next tick in case the user wants to change focus themselves.
|
|
13834
13865
|
|
|
13835
13866
|
await this.$nextTick();
|
|
13836
13867
|
this.$emit('opened', true, this.$refs.popover__content);
|
|
@@ -13936,11 +13967,6 @@ var popover_header_footer_component = normalizeComponent(
|
|
|
13936
13967
|
onClickOutside: this.onClickOutside,
|
|
13937
13968
|
onShow: this.onShow
|
|
13938
13969
|
});
|
|
13939
|
-
this.tip.setProps({
|
|
13940
|
-
zIndex: this.modal ? 650 : this.calculateAnchorZindex()
|
|
13941
|
-
});
|
|
13942
|
-
this.tip.show();
|
|
13943
|
-
this.addEventListeners();
|
|
13944
13970
|
}
|
|
13945
13971
|
|
|
13946
13972
|
}
|
|
@@ -13962,8 +13988,8 @@ var popovervue_type_style_index_0_lang_less_ = __webpack_require__(230);
|
|
|
13962
13988
|
|
|
13963
13989
|
var popover_component = normalizeComponent(
|
|
13964
13990
|
popover_popovervue_type_script_lang_js_,
|
|
13965
|
-
|
|
13966
|
-
|
|
13991
|
+
popovervue_type_template_id_683dbc64_render,
|
|
13992
|
+
popovervue_type_template_id_683dbc64_staticRenderFns,
|
|
13967
13993
|
false,
|
|
13968
13994
|
null,
|
|
13969
13995
|
null,
|
|
@@ -22184,9 +22210,9 @@ var combobox_multi_select_component = normalizeComponent(
|
|
|
22184
22210
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/index.js
|
|
22185
22211
|
|
|
22186
22212
|
|
|
22187
|
-
;// 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=
|
|
22188
|
-
var
|
|
22189
|
-
var
|
|
22213
|
+
;// 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=86672db0&
|
|
22214
|
+
var callbar_buttonvue_type_template_id_86672db0_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":_vm.callbarButtonTextClass,"width":_vm.buttonWidth}},_vm.$listeners),[_vm._t("default"),_vm._t("icon",null,{"slot":"icon"})],2)]},proxy:true}],null,true)},[_vm._t("tooltip")],2)}
|
|
22215
|
+
var callbar_buttonvue_type_template_id_86672db0_staticRenderFns = []
|
|
22190
22216
|
|
|
22191
22217
|
|
|
22192
22218
|
;// 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&
|
|
@@ -22303,6 +22329,14 @@ const VALID_WIDTH_SIZE = ['sm', 'md', 'lg', 'xl'];
|
|
|
22303
22329
|
default: ''
|
|
22304
22330
|
},
|
|
22305
22331
|
|
|
22332
|
+
/**
|
|
22333
|
+
* Additional class name for the button text.
|
|
22334
|
+
*/
|
|
22335
|
+
textClass: {
|
|
22336
|
+
type: [String, Array, Object],
|
|
22337
|
+
default: ''
|
|
22338
|
+
},
|
|
22339
|
+
|
|
22306
22340
|
/*
|
|
22307
22341
|
* Width size. Valid values are: 'xl', 'lg', 'md' and 'sm'.
|
|
22308
22342
|
*/
|
|
@@ -22322,13 +22356,17 @@ const VALID_WIDTH_SIZE = ['sm', 'md', 'lg', 'xl'];
|
|
|
22322
22356
|
'click'],
|
|
22323
22357
|
computed: {
|
|
22324
22358
|
callbarButtonClass() {
|
|
22325
|
-
return [this.buttonClass, 'dt-recipe-callbar-button', 'd-px0', {
|
|
22359
|
+
return [this.buttonClass, 'dt-recipe-callbar-button', 'd-px0', 'd-fc-black-900', {
|
|
22326
22360
|
'dt-recipe-callbar-button--circle': this.circle,
|
|
22327
22361
|
'dt-recipe-callbar-button--active': this.active,
|
|
22328
22362
|
'dt-recipe-callbar-button--danger': this.danger
|
|
22329
22363
|
}];
|
|
22330
22364
|
},
|
|
22331
22365
|
|
|
22366
|
+
callbarButtonTextClass() {
|
|
22367
|
+
return ['d-fs-100 lg:d-d-none md:d-d-none sm:d-d-none', this.textClass];
|
|
22368
|
+
},
|
|
22369
|
+
|
|
22332
22370
|
buttonWidth() {
|
|
22333
22371
|
switch (this.buttonWidthSize) {
|
|
22334
22372
|
case 'sm':
|
|
@@ -22361,8 +22399,8 @@ var callbar_buttonvue_type_style_index_0_lang_less_ = __webpack_require__(759);
|
|
|
22361
22399
|
|
|
22362
22400
|
var callbar_button_component = normalizeComponent(
|
|
22363
22401
|
callbar_button_callbar_buttonvue_type_script_lang_js_,
|
|
22364
|
-
|
|
22365
|
-
|
|
22402
|
+
callbar_buttonvue_type_template_id_86672db0_render,
|
|
22403
|
+
callbar_buttonvue_type_template_id_86672db0_staticRenderFns,
|
|
22366
22404
|
false,
|
|
22367
22405
|
null,
|
|
22368
22406
|
null,
|
|
@@ -22373,9 +22411,9 @@ var callbar_button_component = normalizeComponent(
|
|
|
22373
22411
|
/* harmony default export */ const callbar_button = (callbar_button_component.exports);
|
|
22374
22412
|
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/index.js
|
|
22375
22413
|
|
|
22376
|
-
;// 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=
|
|
22377
|
-
var
|
|
22378
|
-
var
|
|
22414
|
+
;// 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=6c396bca&
|
|
22415
|
+
var callbar_button_with_popovervue_type_template_id_6c396bca_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,"text-class":_vm.textClass},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)}
|
|
22416
|
+
var callbar_button_with_popovervue_type_template_id_6c396bca_staticRenderFns = []
|
|
22379
22417
|
|
|
22380
22418
|
|
|
22381
22419
|
;// 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&
|
|
@@ -22452,6 +22490,7 @@ var callbar_button_with_popovervue_type_template_id_86437b7c_staticRenderFns = [
|
|
|
22452
22490
|
//
|
|
22453
22491
|
//
|
|
22454
22492
|
//
|
|
22493
|
+
//
|
|
22455
22494
|
|
|
22456
22495
|
|
|
22457
22496
|
|
|
@@ -22589,6 +22628,14 @@ var callbar_button_with_popovervue_type_template_id_86437b7c_staticRenderFns = [
|
|
|
22589
22628
|
default: ''
|
|
22590
22629
|
},
|
|
22591
22630
|
|
|
22631
|
+
/**
|
|
22632
|
+
* Additional class name for the button text.
|
|
22633
|
+
*/
|
|
22634
|
+
textClass: {
|
|
22635
|
+
type: [String, Array, Object],
|
|
22636
|
+
default: ''
|
|
22637
|
+
},
|
|
22638
|
+
|
|
22592
22639
|
/*
|
|
22593
22640
|
* Width size. Valid values are: 'xl', 'lg', 'md' and 'sm'.
|
|
22594
22641
|
*/
|
|
@@ -22674,8 +22721,8 @@ var callbar_button_with_popovervue_type_style_index_0_lang_less_ = __webpack_req
|
|
|
22674
22721
|
|
|
22675
22722
|
var callbar_button_with_popover_component = normalizeComponent(
|
|
22676
22723
|
callbar_button_with_popover_callbar_button_with_popovervue_type_script_lang_js_,
|
|
22677
|
-
|
|
22678
|
-
|
|
22724
|
+
callbar_button_with_popovervue_type_template_id_6c396bca_render,
|
|
22725
|
+
callbar_button_with_popovervue_type_template_id_6c396bca_staticRenderFns,
|
|
22679
22726
|
false,
|
|
22680
22727
|
null,
|
|
22681
22728
|
null,
|
|
@@ -22948,8 +22995,8 @@ var top_banner_info_component = normalizeComponent(
|
|
|
22948
22995
|
;// CONCATENATED MODULE: ./recipes/notices/top_banner_info/index.js
|
|
22949
22996
|
|
|
22950
22997
|
|
|
22951
|
-
;// 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/cards/ivr_node/ivr_node.vue?vue&type=template&id=
|
|
22952
|
-
var
|
|
22998
|
+
;// 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/cards/ivr_node/ivr_node.vue?vue&type=template&id=0696f265&
|
|
22999
|
+
var ivr_nodevue_type_template_id_0696f265_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._g({staticClass:"d-d-flex d-fd-column d-ai-center d-c-pointer ivr_node__width"},_vm.$listeners),[(_vm.dtmfKey)?_c('div',{staticClass:"ivr-connector d-w24 d-h24 d-bar-circle d-mbn12 d-fc-white d-fs-200",class:{ 'd-mbn16': _vm.isSelected },attrs:{"data-qa":"dt-top-connector-dtmf"}},[_vm._v(" "+_vm._s(_vm.dtmfKey)+" ")]):_vm._e(),(_vm.$slots.connector)?_vm._t("connector"):_vm._e(),(!_vm.dtmfKey && !_vm.$slots.connector)?_c('div',{staticClass:"ivr-connector d-w8 d-h8 d-bar-circle d-mbn4",class:{ 'd-mbn8': _vm.isSelected },attrs:{"data-qa":"dt-top-connector"}}):_vm._e(),_c('dt-card',{attrs:{"content-class":"d-bt d-bc-black-300 d-px12 d-pt8 d-pb12","container-class":[
|
|
22953
23000
|
'd-w100p',
|
|
22954
23001
|
{ 'd-ba d-bar8 d-baw4': _vm.isSelected },
|
|
22955
23002
|
_vm.headerColor ],"header-class":[
|
|
@@ -22960,8 +23007,8 @@ var ivr_nodevue_type_template_id_5b6f101b_render = function () {var _vm=this;var
|
|
|
22960
23007
|
_vm.headerColor,
|
|
22961
23008
|
{ 'd-btr4': !_vm.isSelected } ]},scopedSlots:_vm._u([{key:"header",fn:function(){return [_c('div',{staticClass:"d-d-flex d-ai-center"},[_c('dt-button',{attrs:{"aria-label":_vm.nodeType,"importance":"clear","data-qa":"dt-ivr-node-icon"},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('dt-icon',{class:['d-fc-black-900', { 'ivr_node__goto_icon': _vm.isGotoNode }],attrs:{"name":_vm.nodeIcon,"size":"200"}})]},proxy:true}])}),_c('p',{staticClass:"d-fs-200 d-fw-bold",attrs:{"data-qa":"ivr-node-label"}},[_vm._v(" "+_vm._s(_vm.nodeLabel)+" ")])],1),_c('dt-dropdown',{attrs:{"placement":"bottom","open":_vm.isOpen},on:{"update:open":function($event){_vm.isOpen=$event}},scopedSlots:_vm._u([{key:"anchor",fn:function(){return [_c('dt-button',{attrs:{"importance":"clear","aria-label":_vm.menuButtonAriaLabel},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.openMenu.apply(null, arguments)}},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('dt-icon',{staticClass:"d-fc-black-900",attrs:{"name":"more-vertical","size":"200"}})]},proxy:true}])})]},proxy:true},{key:"list",fn:function(ref){
|
|
22962
23009
|
var close = ref.close;
|
|
22963
|
-
return [_c('div',{staticClass:"d-w164"},[_vm._t("menuItems",null,{"close":close})],2)]}}],null,true)})]},proxy:true},{key:"content",fn:function(){return [_vm._t("content")]},proxy:true}],null,true)})],
|
|
22964
|
-
var
|
|
23010
|
+
return [_c('div',{staticClass:"d-w164"},[_vm._t("menuItems",null,{"close":close})],2)]}}],null,true)})]},proxy:true},{key:"content",fn:function(){return [_vm._t("content")]},proxy:true}],null,true)})],2)}
|
|
23011
|
+
var ivr_nodevue_type_template_id_0696f265_staticRenderFns = []
|
|
22965
23012
|
|
|
22966
23013
|
|
|
22967
23014
|
;// CONCATENATED MODULE: ./recipes/cards/ivr_node/ivr_node_constants.js
|
|
@@ -23115,6 +23162,8 @@ const IVR_NODE_COLOR_MAPPING = {
|
|
|
23115
23162
|
//
|
|
23116
23163
|
//
|
|
23117
23164
|
//
|
|
23165
|
+
//
|
|
23166
|
+
//
|
|
23118
23167
|
|
|
23119
23168
|
|
|
23120
23169
|
|
|
@@ -23226,8 +23275,8 @@ var ivr_nodevue_type_style_index_0_lang_less_ = __webpack_require__(212);
|
|
|
23226
23275
|
|
|
23227
23276
|
var ivr_node_component = normalizeComponent(
|
|
23228
23277
|
ivr_node_ivr_nodevue_type_script_lang_js_,
|
|
23229
|
-
|
|
23230
|
-
|
|
23278
|
+
ivr_nodevue_type_template_id_0696f265_render,
|
|
23279
|
+
ivr_nodevue_type_template_id_0696f265_staticRenderFns,
|
|
23231
23280
|
false,
|
|
23232
23281
|
null,
|
|
23233
23282
|
null,
|
|
@@ -24576,9 +24625,9 @@ var group_row_component = normalizeComponent(
|
|
|
24576
24625
|
/* harmony default export */ const group_row = (group_row_component.exports);
|
|
24577
24626
|
;// CONCATENATED MODULE: ./recipes/leftbar/group_row/index.js
|
|
24578
24627
|
|
|
24579
|
-
;// 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=
|
|
24580
|
-
var
|
|
24581
|
-
var
|
|
24628
|
+
;// 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=5d3cfbea&
|
|
24629
|
+
var contact_rowvue_type_template_id_5d3cfbea_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":_vm.hasCallButton,"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))}
|
|
24630
|
+
var contact_rowvue_type_template_id_5d3cfbea_staticRenderFns = []
|
|
24582
24631
|
|
|
24583
24632
|
|
|
24584
24633
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/leftbar/contact_row/contact_row.vue?vue&type=script&lang=js&
|
|
@@ -24763,6 +24812,14 @@ var contact_rowvue_type_template_id_6a63c490_staticRenderFns = []
|
|
|
24763
24812
|
default: false
|
|
24764
24813
|
},
|
|
24765
24814
|
|
|
24815
|
+
/**
|
|
24816
|
+
* Whether the contact row should display a call button when hovered.
|
|
24817
|
+
*/
|
|
24818
|
+
hasCallButton: {
|
|
24819
|
+
type: Boolean,
|
|
24820
|
+
default: true
|
|
24821
|
+
},
|
|
24822
|
+
|
|
24766
24823
|
/**
|
|
24767
24824
|
* Text shown when the call button is hovered.
|
|
24768
24825
|
*/
|
|
@@ -24831,8 +24888,8 @@ var contact_rowvue_type_template_id_6a63c490_staticRenderFns = []
|
|
|
24831
24888
|
;
|
|
24832
24889
|
var contact_row_component = normalizeComponent(
|
|
24833
24890
|
contact_row_contact_rowvue_type_script_lang_js_,
|
|
24834
|
-
|
|
24835
|
-
|
|
24891
|
+
contact_rowvue_type_template_id_5d3cfbea_render,
|
|
24892
|
+
contact_rowvue_type_template_id_5d3cfbea_staticRenderFns,
|
|
24836
24893
|
false,
|
|
24837
24894
|
null,
|
|
24838
24895
|
null,
|