@dialpad/dialtone-vue 2.22.2-alpha.1 → 2.23.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/dist/dialtone-vue.umd.js
CHANGED
|
@@ -249,6 +249,54 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".tippy-box[data-popper-escaped] .d-too
|
|
|
249
249
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
250
250
|
|
|
251
251
|
|
|
252
|
+
/***/ }),
|
|
253
|
+
|
|
254
|
+
/***/ 534:
|
|
255
|
+
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
256
|
+
|
|
257
|
+
"use strict";
|
|
258
|
+
__webpack_require__.r(__webpack_exports__);
|
|
259
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
260
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
261
|
+
/* harmony export */ });
|
|
262
|
+
/* harmony import */ var _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(481);
|
|
263
|
+
/* harmony import */ var _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
264
|
+
/* harmony import */ var _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(400);
|
|
265
|
+
/* harmony import */ var _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
266
|
+
// Imports
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
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()));
|
|
270
|
+
// Module
|
|
271
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".dt-recipe-callbar-button:not(.dt-recipe-callbar-button--circle){width:8rem;height:6.2rem;letter-spacing:-.011rem;line-height:1.6rem}.dt-recipe-callbar-button--circle{border-radius:var(--br-circle)}.dt-recipe-callbar-button.d-btn .d-btn__icon .d-svg{width:2.4rem;height:2.4rem}.dt-recipe-callbar-button.d-btn[disabled]{background-color:unset}.dt-recipe-callbar-button--circle.d-btn[disabled]{border-color:unset}.dt-recipe-callbar-button--active{--button--fc:var(--muted-color-hover);--button--bgc:hsla(var(--muted-color-hsl)/15%)}.dt-recipe-callbar-button--danger.dt-recipe-callbar-button--active{--button--bgc:hsla(var(--error-color-hsl)/10%);--button--fc:var(--error-color-hover)}.dt-recipe-callbar-button--danger.dt-recipe-callbar-button--active:hover{--button--bgc:hsla(var(--error-color-hsl)/20%);--button--fc:var(--error-color-hover)}", ""]);
|
|
272
|
+
// Exports
|
|
273
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
/***/ }),
|
|
277
|
+
|
|
278
|
+
/***/ 452:
|
|
279
|
+
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
280
|
+
|
|
281
|
+
"use strict";
|
|
282
|
+
__webpack_require__.r(__webpack_exports__);
|
|
283
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
284
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
285
|
+
/* harmony export */ });
|
|
286
|
+
/* harmony import */ var _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(481);
|
|
287
|
+
/* harmony import */ var _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
288
|
+
/* harmony import */ var _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(400);
|
|
289
|
+
/* harmony import */ var _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
290
|
+
// Imports
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
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()));
|
|
294
|
+
// Module
|
|
295
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".dt-recipe--callbar-button-with-popover--button{position:relative;display:inline-block}.dt-recipe--callbar-button-with-popover--arrow.d-btn--circle{position:absolute;top:2rem;right:0;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)}.d-tab--selected:after,.d-tab--selected:hover:after{--tab--bgc:var(--black-900)}.tab-group{display:flex;flex-direction:column;height:100%}.tab-content{flex:1 1 100%;overflow-y:auto}", ""]);
|
|
296
|
+
// Exports
|
|
297
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
298
|
+
|
|
299
|
+
|
|
252
300
|
/***/ }),
|
|
253
301
|
|
|
254
302
|
/***/ 994:
|
|
@@ -556,6 +604,38 @@ var update = add("4dcafb11", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
556
604
|
|
|
557
605
|
/***/ }),
|
|
558
606
|
|
|
607
|
+
/***/ 736:
|
|
608
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
609
|
+
|
|
610
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
611
|
+
|
|
612
|
+
// load the styles
|
|
613
|
+
var content = __webpack_require__(534);
|
|
614
|
+
if(content.__esModule) content = content.default;
|
|
615
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
616
|
+
if(content.locals) module.exports = content.locals;
|
|
617
|
+
// add the styles to the DOM
|
|
618
|
+
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
|
619
|
+
var update = add("0b7102a6", content, true, {"sourceMap":false,"shadowMode":false});
|
|
620
|
+
|
|
621
|
+
/***/ }),
|
|
622
|
+
|
|
623
|
+
/***/ 625:
|
|
624
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
625
|
+
|
|
626
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
627
|
+
|
|
628
|
+
// load the styles
|
|
629
|
+
var content = __webpack_require__(452);
|
|
630
|
+
if(content.__esModule) content = content.default;
|
|
631
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
632
|
+
if(content.locals) module.exports = content.locals;
|
|
633
|
+
// add the styles to the DOM
|
|
634
|
+
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
|
635
|
+
var update = add("41ffb190", content, true, {"sourceMap":false,"shadowMode":false});
|
|
636
|
+
|
|
637
|
+
/***/ }),
|
|
638
|
+
|
|
559
639
|
/***/ 814:
|
|
560
640
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
561
641
|
|
|
@@ -970,6 +1050,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
970
1050
|
"DtPopover": () => (/* reexport */ popover),
|
|
971
1051
|
"DtRadio": () => (/* reexport */ radio_radio),
|
|
972
1052
|
"DtRadioGroup": () => (/* reexport */ radio_group),
|
|
1053
|
+
"DtRecipeCallbarButton": () => (/* reexport */ callbar_button),
|
|
1054
|
+
"DtRecipeCallbarButtonWithPopover": () => (/* reexport */ callbar_button_with_popover),
|
|
973
1055
|
"DtRecipeComboboxMultiSelect": () => (/* reexport */ combobox_multi_select),
|
|
974
1056
|
"DtRecipeComboboxWithPopover": () => (/* reexport */ combobox_with_popover),
|
|
975
1057
|
"DtRecipeContactInfo": () => (/* reexport */ contact_info),
|
|
@@ -3121,9 +3203,9 @@ var button_group_component = normalizeComponent(
|
|
|
3121
3203
|
;// CONCATENATED MODULE: ./components/button_group/index.js
|
|
3122
3204
|
|
|
3123
3205
|
|
|
3124
|
-
;// 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/combobox/combobox.vue?vue&type=template&id=
|
|
3125
|
-
var
|
|
3126
|
-
var
|
|
3206
|
+
;// 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/combobox/combobox.vue?vue&type=template&id=f9b55a7e&
|
|
3207
|
+
var comboboxvue_type_template_id_f9b55a7e_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{on:{"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"esc",27,$event.key,["Esc","Escape"])){ return null; }$event.stopPropagation();return _vm.onKeyValidation($event, 'onEscapeKey')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }if($event.ctrlKey||$event.shiftKey||$event.altKey||$event.metaKey){ return null; }return _vm.onKeyValidation($event, 'onEnterKey')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"up",38,$event.key,["Up","ArrowUp"])){ return null; }$event.stopPropagation();$event.preventDefault();return _vm.onKeyValidation($event, 'onUpKey')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"down",40,$event.key,["Down","ArrowDown"])){ return null; }$event.stopPropagation();$event.preventDefault();return _vm.onKeyValidation($event, 'onDownKey')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"home",undefined,$event.key,undefined)){ return null; }$event.stopPropagation();$event.preventDefault();return _vm.onKeyValidation($event, 'onHomeKey')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"end",undefined,$event.key,undefined)){ return null; }$event.stopPropagation();$event.preventDefault();return _vm.onKeyValidation($event, 'onEndKey')}]}},[_c('div',{attrs:{"data-qa":"dt-combobox-input-wrapper"}},[_vm._t("input",null,{"inputProps":_vm.inputProps})],2),(_vm.showList)?_c('div',{ref:"listWrapper",attrs:{"data-qa":"dt-combobox-list-wrapper"},on:{"mouseleave":_vm.clearHighlightIndex,"focusout":_vm.clearHighlightIndex,"!mousemove":function($event){return _vm.onMouseHighlight.apply(null, arguments)}}},[(_vm.loading && !_vm.listRenderedOutside)?_c('combobox-loading-list',_vm._b({},'combobox-loading-list',_vm.listProps,false)):(_vm.emptyList && _vm.emptyStateMessage && !_vm.listRenderedOutside)?_c('combobox-empty-list',_vm._b({attrs:{"message":_vm.emptyStateMessage}},'combobox-empty-list',_vm.listProps,false)):_vm._t("list",null,{"listProps":_vm.listProps,"opened":_vm.onOpen,"clearHighlightIndex":_vm.clearHighlightIndex})],2):_vm._e()])}
|
|
3208
|
+
var comboboxvue_type_template_id_f9b55a7e_staticRenderFns = []
|
|
3127
3209
|
|
|
3128
3210
|
|
|
3129
3211
|
;// CONCATENATED MODULE: ./common/mixins/dom.js
|
|
@@ -3500,12 +3582,12 @@ var combobox_loading_listvue_type_template_id_07d9971d_render = function () {var
|
|
|
3500
3582
|
var combobox_loading_listvue_type_template_id_07d9971d_staticRenderFns = []
|
|
3501
3583
|
|
|
3502
3584
|
|
|
3503
|
-
;// 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/list_item/list_item.vue?vue&type=template&id=
|
|
3504
|
-
var
|
|
3585
|
+
;// 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/list_item/list_item.vue?vue&type=template&id=17070dec&
|
|
3586
|
+
var list_itemvue_type_template_id_17070dec_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.elementType,_vm._g({tag:"component",class:['dt-list-item d-ls-none focus-visible', {
|
|
3505
3587
|
'dt-list-item--focusable': _vm.isFocusable,
|
|
3506
3588
|
'dt-list-item--highlighted': _vm.isHighlighted,
|
|
3507
3589
|
}],attrs:{"id":_vm.id,"tabindex":_vm.isFocusable ? 0 : -1,"role":_vm.role,"aria-selected":_vm.isHighlighted}},_vm.listItemListeners),[(_vm.listItemType)?_c(_vm.listItemType,{tag:"component",scopedSlots:_vm._u([_vm._l((_vm.$slots),function(_,slotName){return {key:slotName,fn:function(){return [_vm._t(slotName)]},proxy:true}})],null,true)}):_vm._t("default")],2)}
|
|
3508
|
-
var
|
|
3590
|
+
var list_itemvue_type_template_id_17070dec_staticRenderFns = []
|
|
3509
3591
|
|
|
3510
3592
|
|
|
3511
3593
|
;// CONCATENATED MODULE: ./components/list_item/list_item_constants.js
|
|
@@ -3755,13 +3837,6 @@ var default_list_item_component = normalizeComponent(
|
|
|
3755
3837
|
|
|
3756
3838
|
this.$emit('keydown', event);
|
|
3757
3839
|
},
|
|
3758
|
-
mousedown: event => {
|
|
3759
|
-
if (!this.isFocusable) {
|
|
3760
|
-
event.preventDefault();
|
|
3761
|
-
}
|
|
3762
|
-
|
|
3763
|
-
this.$emit('mousedown', event);
|
|
3764
|
-
},
|
|
3765
3840
|
mousemove: event => {
|
|
3766
3841
|
this.onMouseHover(event);
|
|
3767
3842
|
this.$emit('mousemove', event);
|
|
@@ -3830,8 +3905,8 @@ var list_itemvue_type_style_index_0_lang_less_ = __webpack_require__(285);
|
|
|
3830
3905
|
|
|
3831
3906
|
var list_item_component = normalizeComponent(
|
|
3832
3907
|
list_item_list_itemvue_type_script_lang_js_,
|
|
3833
|
-
|
|
3834
|
-
|
|
3908
|
+
list_itemvue_type_template_id_17070dec_render,
|
|
3909
|
+
list_itemvue_type_template_id_17070dec_staticRenderFns,
|
|
3835
3910
|
false,
|
|
3836
3911
|
null,
|
|
3837
3912
|
null,
|
|
@@ -4708,8 +4783,6 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
4708
4783
|
//
|
|
4709
4784
|
//
|
|
4710
4785
|
//
|
|
4711
|
-
//
|
|
4712
|
-
//
|
|
4713
4786
|
|
|
4714
4787
|
|
|
4715
4788
|
|
|
@@ -4792,11 +4865,11 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
4792
4865
|
},
|
|
4793
4866
|
|
|
4794
4867
|
/**
|
|
4795
|
-
*
|
|
4868
|
+
* Sets the list to an empty state, and displays the message from prop `emptyStateMessage`.
|
|
4796
4869
|
*/
|
|
4797
|
-
|
|
4870
|
+
emptyList: {
|
|
4798
4871
|
type: Boolean,
|
|
4799
|
-
default:
|
|
4872
|
+
default: false
|
|
4800
4873
|
},
|
|
4801
4874
|
|
|
4802
4875
|
/**
|
|
@@ -4841,9 +4914,7 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
4841
4914
|
// If the list is rendered at the root, rather than as a child
|
|
4842
4915
|
// of this component, this is the ref to that dom element. Set
|
|
4843
4916
|
// by the onOpen method.
|
|
4844
|
-
outsideRenderedListRef: null
|
|
4845
|
-
isListEmpty: undefined,
|
|
4846
|
-
isLoading: undefined
|
|
4917
|
+
outsideRenderedListRef: null
|
|
4847
4918
|
};
|
|
4848
4919
|
},
|
|
4849
4920
|
|
|
@@ -4903,25 +4974,28 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
4903
4974
|
if (!showList && this.outsideRenderedListRef) {
|
|
4904
4975
|
this.outsideRenderedListRef.removeEventListener('mousemove', this.onMouseHighlight);
|
|
4905
4976
|
this.outsideRenderedListRef = null;
|
|
4906
|
-
this.isListEmpty = undefined;
|
|
4907
4977
|
}
|
|
4908
4978
|
},
|
|
4909
4979
|
|
|
4910
|
-
loading(
|
|
4911
|
-
this.isListEmpty = undefined;
|
|
4912
|
-
this.isLoading = isLoading;
|
|
4980
|
+
loading(loading) {
|
|
4913
4981
|
this.$nextTick(() => {
|
|
4914
|
-
this.isListEmpty = this.checkItemsLength();
|
|
4915
4982
|
this.setInitialHighlightIndex();
|
|
4916
4983
|
});
|
|
4917
|
-
}
|
|
4984
|
+
},
|
|
4918
4985
|
|
|
4986
|
+
$props: {
|
|
4987
|
+
deep: true,
|
|
4988
|
+
immediate: true,
|
|
4989
|
+
|
|
4990
|
+
handler() {
|
|
4991
|
+
this.validateEmptyListProps();
|
|
4992
|
+
}
|
|
4993
|
+
|
|
4994
|
+
}
|
|
4919
4995
|
},
|
|
4920
4996
|
|
|
4921
|
-
|
|
4922
|
-
this.
|
|
4923
|
-
await this.$nextTick();
|
|
4924
|
-
this.isListEmpty = this.checkItemsLength();
|
|
4997
|
+
created() {
|
|
4998
|
+
this.validateEmptyListProps();
|
|
4925
4999
|
},
|
|
4926
5000
|
|
|
4927
5001
|
methods: {
|
|
@@ -4952,7 +5026,7 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
4952
5026
|
},
|
|
4953
5027
|
|
|
4954
5028
|
onEnterKey() {
|
|
4955
|
-
if (this.loading || this.
|
|
5029
|
+
if (this.loading || this.emptyList) return;
|
|
4956
5030
|
|
|
4957
5031
|
if (this.highlightIndex >= 0) {
|
|
4958
5032
|
this.$emit('select', this.highlightIndex);
|
|
@@ -4971,7 +5045,6 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
4971
5045
|
this.$emit('opened', open);
|
|
4972
5046
|
|
|
4973
5047
|
if (open) {
|
|
4974
|
-
this.isListEmpty = this.checkItemsLength();
|
|
4975
5048
|
this.setInitialHighlightIndex();
|
|
4976
5049
|
}
|
|
4977
5050
|
},
|
|
@@ -4990,11 +5063,10 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
4990
5063
|
});
|
|
4991
5064
|
},
|
|
4992
5065
|
|
|
4993
|
-
|
|
4994
|
-
if (!this.
|
|
4995
|
-
|
|
4996
|
-
|
|
4997
|
-
return (options === null || options === void 0 ? void 0 : options.length) === 0;
|
|
5066
|
+
validateEmptyListProps() {
|
|
5067
|
+
if (this.emptyList && !this.emptyStateMessage || !this.emptyList && this.emptyStateMessage) {
|
|
5068
|
+
console.error("Invalid props: you must pass both props emptyList and emptyStateMessage to show the\n empty message.");
|
|
5069
|
+
}
|
|
4998
5070
|
}
|
|
4999
5071
|
|
|
5000
5072
|
}
|
|
@@ -5011,8 +5083,8 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
5011
5083
|
;
|
|
5012
5084
|
var combobox_component = normalizeComponent(
|
|
5013
5085
|
combobox_comboboxvue_type_script_lang_js_,
|
|
5014
|
-
|
|
5015
|
-
|
|
5086
|
+
comboboxvue_type_template_id_f9b55a7e_render,
|
|
5087
|
+
comboboxvue_type_template_id_f9b55a7e_staticRenderFns,
|
|
5016
5088
|
false,
|
|
5017
5089
|
null,
|
|
5018
5090
|
null,
|
|
@@ -17364,17 +17436,15 @@ var root_layout_component = normalizeComponent(
|
|
|
17364
17436
|
;// CONCATENATED MODULE: ./components/root_layout/index.js
|
|
17365
17437
|
|
|
17366
17438
|
|
|
17367
|
-
;// 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=
|
|
17368
|
-
var
|
|
17439
|
+
;// 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=7efaa59c&
|
|
17440
|
+
var combobox_with_popovervue_type_template_id_7efaa59c_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,"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-aria-label":_vm.listAriaLabel,"list-rendered-outside":true,"list-id":_vm.listId,"data-qa":"dt-combobox"},scopedSlots:_vm._u([{key:"input",fn:function(ref){
|
|
17369
17441
|
var inputProps = ref.inputProps;
|
|
17370
17442
|
return [_c('div',{ref:"input",attrs:{"id":_vm.externalAnchor},on:{"focusin":_vm.onFocusIn,"focusout":_vm.onFocusOut,"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){
|
|
17371
17443
|
var opened = ref.opened;
|
|
17372
17444
|
var listProps = ref.listProps;
|
|
17373
17445
|
var clearHighlightIndex = ref.clearHighlightIndex;
|
|
17374
|
-
|
|
17375
|
-
var
|
|
17376
|
-
return [_c('dt-popover',{ref:"popover",attrs:{"open":_vm.isListShown,"hide-on-click":_vm.showList === null,"max-height":_vm.maxHeight,"max-width":_vm.maxWidth,"offset":_vm.popoverOffset,"sticky":_vm.popoverSticky,"placement":"bottom-start","padding":"none","role":"listbox","external-anchor":_vm.externalAnchor,"content-width":_vm.contentWidth,"content-tabindex":null,"modal":false,"auto-focus":false},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",on:{"focusout":_vm.onFocusOut}},[_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":function($event){clearHighlightIndex; _vm.onFocusOut;}}},[(isLoading)?_c('combobox-loading-list',_vm._b({},'combobox-loading-list',listProps,false)):(isListEmpty)?_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",on:{"focusout":_vm.onFocusOut}},[_vm._t("footer")],2):_vm._e()]},proxy:true}],null,true)})]}}],null,true)},_vm.comboboxListeners))}
|
|
17377
|
-
var combobox_with_popovervue_type_template_id_5ee1c401_staticRenderFns = []
|
|
17446
|
+
return [_c('dt-popover',{ref:"popover",attrs:{"open":_vm.isListShown,"hide-on-click":_vm.showList === null,"max-height":_vm.maxHeight,"max-width":_vm.maxWidth,"offset":_vm.popoverOffset,"sticky":_vm.popoverSticky,"placement":"bottom-start","padding":"none","role":"listbox","external-anchor":_vm.externalAnchor,"content-width":_vm.contentWidth,"content-tabindex":null,"modal":false,"auto-focus":false},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",on:{"focusout":_vm.onFocusOut}},[_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":function($event){clearHighlightIndex; _vm.onFocusOut;}}},[(_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",on:{"focusout":_vm.onFocusOut}},[_vm._t("footer")],2):_vm._e()]},proxy:true}],null,true)})]}}],null,true)},_vm.comboboxListeners))}
|
|
17447
|
+
var combobox_with_popovervue_type_template_id_7efaa59c_staticRenderFns = []
|
|
17378
17448
|
|
|
17379
17449
|
|
|
17380
17450
|
;// 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/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=script&lang=js&
|
|
@@ -17476,6 +17546,8 @@ var combobox_with_popovervue_type_template_id_5ee1c401_staticRenderFns = []
|
|
|
17476
17546
|
//
|
|
17477
17547
|
//
|
|
17478
17548
|
//
|
|
17549
|
+
//
|
|
17550
|
+
//
|
|
17479
17551
|
|
|
17480
17552
|
|
|
17481
17553
|
|
|
@@ -17629,6 +17701,14 @@ var combobox_with_popovervue_type_template_id_5ee1c401_staticRenderFns = []
|
|
|
17629
17701
|
default: false
|
|
17630
17702
|
},
|
|
17631
17703
|
|
|
17704
|
+
/**
|
|
17705
|
+
* Sets the list to an empty state, and displays the message from prop `emptyStateMessage`.
|
|
17706
|
+
*/
|
|
17707
|
+
emptyList: {
|
|
17708
|
+
type: Boolean,
|
|
17709
|
+
default: false
|
|
17710
|
+
},
|
|
17711
|
+
|
|
17632
17712
|
/**
|
|
17633
17713
|
* Message to show when the list is empty
|
|
17634
17714
|
*/
|
|
@@ -17735,15 +17815,20 @@ var combobox_with_popovervue_type_template_id_5ee1c401_staticRenderFns = []
|
|
|
17735
17815
|
},
|
|
17736
17816
|
|
|
17737
17817
|
onFocusOut(e) {
|
|
17738
|
-
const comboboxRefs = ['input', 'header', 'footer', 'listWrapper'];
|
|
17818
|
+
const comboboxRefs = ['input', 'header', 'footer', 'listWrapper']; // Check if the focus change was to another target within the combobox component
|
|
17819
|
+
|
|
17739
17820
|
const isComboboxStillFocused = comboboxRefs.some(ref => {
|
|
17740
17821
|
var _this$$refs$ref;
|
|
17741
17822
|
|
|
17742
17823
|
return (_this$$refs$ref = this.$refs[ref]) === null || _this$$refs$ref === void 0 ? void 0 : _this$$refs$ref.contains(e.relatedTarget);
|
|
17743
|
-
});
|
|
17824
|
+
}); // If outside of the combobox then close
|
|
17744
17825
|
|
|
17745
17826
|
if (!isComboboxStillFocused) {
|
|
17746
17827
|
this.closeComboboxList();
|
|
17828
|
+
} else {
|
|
17829
|
+
// if focus is anywhere within the combobox input or list,
|
|
17830
|
+
// keep the focus on the input, or keyboard nav will break.
|
|
17831
|
+
e.target.focus();
|
|
17747
17832
|
}
|
|
17748
17833
|
},
|
|
17749
17834
|
|
|
@@ -17769,8 +17854,8 @@ var combobox_with_popovervue_type_template_id_5ee1c401_staticRenderFns = []
|
|
|
17769
17854
|
;
|
|
17770
17855
|
var combobox_with_popover_component = normalizeComponent(
|
|
17771
17856
|
combobox_with_popover_combobox_with_popovervue_type_script_lang_js_,
|
|
17772
|
-
|
|
17773
|
-
|
|
17857
|
+
combobox_with_popovervue_type_template_id_7efaa59c_render,
|
|
17858
|
+
combobox_with_popovervue_type_template_id_7efaa59c_staticRenderFns,
|
|
17774
17859
|
false,
|
|
17775
17860
|
null,
|
|
17776
17861
|
null,
|
|
@@ -17781,11 +17866,11 @@ var combobox_with_popover_component = normalizeComponent(
|
|
|
17781
17866
|
/* harmony default export */ const combobox_with_popover = (combobox_with_popover_component.exports);
|
|
17782
17867
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/index.js
|
|
17783
17868
|
|
|
17784
|
-
;// 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_multi_select/combobox_multi_select.vue?vue&type=template&id=
|
|
17785
|
-
var
|
|
17869
|
+
;// 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_multi_select/combobox_multi_select.vue?vue&type=template&id=14e17b26&
|
|
17870
|
+
var combobox_multi_selectvue_type_template_id_14e17b26_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-recipe-combobox-with-popover',{ref:"comboboxWithPopover",attrs:{"list-aria-label":"listAriaLabel","show-list":_vm.showList,"max-height":_vm.listMaxHeight,"popover-offset":_vm.popoverOffset,"has-suggestion-list":_vm.hasSuggestionList,"content-width":"anchor"},on:{"select":_vm.onComboboxSelect},scopedSlots:_vm._u([{key:"input",fn:function(ref){
|
|
17786
17871
|
var onInput = ref.onInput;
|
|
17787
17872
|
return [_c('span',{ref:"inputSlotWrapper",staticClass:"d-ps-relative"},[_c('span',{ref:"chipsWrapper",staticClass:"d-ps-absolute d-mx2"},_vm._l((_vm.selectedItems),function(item){return _c('dt-chip',_vm._g({key:item.id,ref:"chips",refInFor:true,staticClass:"d-mt4 d-mx2 d-zi-base1",attrs:{"close-button-props":{ ariaLabel: 'close' },"size":_vm.size},on:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"backspace",undefined,$event.key,undefined)){ return null; }return _vm.onChipRemove(item)},"close":function($event){return _vm.onChipRemove(item)}}},_vm.chipListeners),[_vm._v(" "+_vm._s(item)+" ")])}),1),_c('dt-input',_vm._g({ref:"input",staticClass:"d-fl-grow1 d-mb4",attrs:{"label":_vm.label,"description":_vm.description,"placeholder":_vm.inputPlaceHolder,"show-messages":_vm.showInputMessages,"messages":_vm.inputMessages,"size":_vm.size},on:{"input":onInput},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}},_vm.inputListeners)),_c('dt-validation-messages',{attrs:{"validation-messages":_vm.maxSelectedMessage,"show-messages":_vm.showValidationMessages}})],1)]}},{key:"header",fn:function(){return [(_vm.$slots.header)?_c('div',{ref:"header"},[_vm._t("header")],2):_vm._e()]},proxy:true},{key:"list",fn:function(){return [_c('div',{ref:"list"},[(!_vm.loading)?_vm._t("list"):_c('div',{staticClass:"d-ta-center d-py16"},[_vm._v(" "+_vm._s(_vm.loadingMessage)+" ")])],2)]},proxy:true},{key:"footer",fn:function(){return [(_vm.$slots.footer)?_c('div',{ref:"footer"},[_vm._t("footer")],2):_vm._e()]},proxy:true}],null,true)})}
|
|
17788
|
-
var
|
|
17873
|
+
var combobox_multi_selectvue_type_template_id_14e17b26_staticRenderFns = []
|
|
17789
17874
|
|
|
17790
17875
|
|
|
17791
17876
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select_story_constants.js
|
|
@@ -17989,6 +18074,9 @@ const MULTI_SELECT_SIZES = {
|
|
|
17989
18074
|
|
|
17990
18075
|
|
|
17991
18076
|
|
|
18077
|
+
|
|
18078
|
+
|
|
18079
|
+
|
|
17992
18080
|
/* harmony default export */ const combobox_multi_selectvue_type_script_lang_js_ = ({
|
|
17993
18081
|
name: 'DtRecipeComboboxMultiSelect',
|
|
17994
18082
|
components: {
|
|
@@ -18421,8 +18509,8 @@ const MULTI_SELECT_SIZES = {
|
|
|
18421
18509
|
;
|
|
18422
18510
|
var combobox_multi_select_component = normalizeComponent(
|
|
18423
18511
|
combobox_multi_select_combobox_multi_selectvue_type_script_lang_js_,
|
|
18424
|
-
|
|
18425
|
-
|
|
18512
|
+
combobox_multi_selectvue_type_template_id_14e17b26_render,
|
|
18513
|
+
combobox_multi_selectvue_type_template_id_14e17b26_staticRenderFns,
|
|
18426
18514
|
false,
|
|
18427
18515
|
null,
|
|
18428
18516
|
null,
|
|
@@ -18434,8 +18522,438 @@ var combobox_multi_select_component = normalizeComponent(
|
|
|
18434
18522
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/index.js
|
|
18435
18523
|
|
|
18436
18524
|
|
|
18437
|
-
;// 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/
|
|
18438
|
-
var
|
|
18525
|
+
;// 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=0421e5c4&
|
|
18526
|
+
var callbar_buttonvue_type_template_id_0421e5c4_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-fs11"}},_vm.$listeners),[_vm._t("default"),_vm._t("icon",null,{"slot":"icon"})],2)]},proxy:true}],null,true)},[_vm._t("tooltip")],2)}
|
|
18527
|
+
var callbar_buttonvue_type_template_id_0421e5c4_staticRenderFns = []
|
|
18528
|
+
|
|
18529
|
+
|
|
18530
|
+
;// 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&
|
|
18531
|
+
//
|
|
18532
|
+
//
|
|
18533
|
+
//
|
|
18534
|
+
//
|
|
18535
|
+
//
|
|
18536
|
+
//
|
|
18537
|
+
//
|
|
18538
|
+
//
|
|
18539
|
+
//
|
|
18540
|
+
//
|
|
18541
|
+
//
|
|
18542
|
+
//
|
|
18543
|
+
//
|
|
18544
|
+
//
|
|
18545
|
+
//
|
|
18546
|
+
//
|
|
18547
|
+
//
|
|
18548
|
+
//
|
|
18549
|
+
//
|
|
18550
|
+
//
|
|
18551
|
+
//
|
|
18552
|
+
//
|
|
18553
|
+
//
|
|
18554
|
+
//
|
|
18555
|
+
//
|
|
18556
|
+
//
|
|
18557
|
+
//
|
|
18558
|
+
|
|
18559
|
+
|
|
18560
|
+
|
|
18561
|
+
/* harmony default export */ const callbar_buttonvue_type_script_lang_js_ = ({
|
|
18562
|
+
name: 'DtRecipeCallbarButton',
|
|
18563
|
+
components: {
|
|
18564
|
+
DtButton: button_button,
|
|
18565
|
+
DtTooltip: tooltip
|
|
18566
|
+
},
|
|
18567
|
+
inheritAttrs: true,
|
|
18568
|
+
props: {
|
|
18569
|
+
/**
|
|
18570
|
+
* Id for the item.
|
|
18571
|
+
*/
|
|
18572
|
+
id: {
|
|
18573
|
+
type: String,
|
|
18574
|
+
|
|
18575
|
+
default() {
|
|
18576
|
+
return utils.getUniqueString();
|
|
18577
|
+
}
|
|
18578
|
+
|
|
18579
|
+
},
|
|
18580
|
+
|
|
18581
|
+
/**
|
|
18582
|
+
* Determines whether the button should have active styling
|
|
18583
|
+
* default is false.
|
|
18584
|
+
* @values true, false
|
|
18585
|
+
* @see https://dialpad.design/components/button/
|
|
18586
|
+
*/
|
|
18587
|
+
active: {
|
|
18588
|
+
type: Boolean,
|
|
18589
|
+
default: false
|
|
18590
|
+
},
|
|
18591
|
+
|
|
18592
|
+
/**
|
|
18593
|
+
* Determines whether the button should have danger styling
|
|
18594
|
+
* default is false.
|
|
18595
|
+
* @values true, false
|
|
18596
|
+
* @see https://dialpad.design/components/button/
|
|
18597
|
+
*/
|
|
18598
|
+
danger: {
|
|
18599
|
+
type: Boolean,
|
|
18600
|
+
default: false
|
|
18601
|
+
},
|
|
18602
|
+
|
|
18603
|
+
/**
|
|
18604
|
+
* Determines whether the button should be disabled
|
|
18605
|
+
* default is false.
|
|
18606
|
+
* @values true, false
|
|
18607
|
+
*/
|
|
18608
|
+
disabled: {
|
|
18609
|
+
type: Boolean,
|
|
18610
|
+
default: false
|
|
18611
|
+
},
|
|
18612
|
+
|
|
18613
|
+
/**
|
|
18614
|
+
* Whether the button is a circle or not.
|
|
18615
|
+
* @values true, false
|
|
18616
|
+
* @see https://dialpad.design/components/button/
|
|
18617
|
+
*/
|
|
18618
|
+
circle: {
|
|
18619
|
+
type: Boolean,
|
|
18620
|
+
default: false
|
|
18621
|
+
},
|
|
18622
|
+
|
|
18623
|
+
/**
|
|
18624
|
+
* Aria label for the button. If empty, it takes its value from the default slot.
|
|
18625
|
+
*/
|
|
18626
|
+
ariaLabel: {
|
|
18627
|
+
type: String,
|
|
18628
|
+
default: null,
|
|
18629
|
+
validator: label => {
|
|
18630
|
+
return label || undefined.$slots.default;
|
|
18631
|
+
}
|
|
18632
|
+
}
|
|
18633
|
+
},
|
|
18634
|
+
emits: ['click'],
|
|
18635
|
+
computed: {
|
|
18636
|
+
callbarButtonClass() {
|
|
18637
|
+
return ['dt-recipe-callbar-button', 'd-stack4', {
|
|
18638
|
+
'dt-recipe-callbar-button--circle': this.circle,
|
|
18639
|
+
'dt-recipe-callbar-button--active': this.active,
|
|
18640
|
+
'dt-recipe-callbar-button--danger': this.danger
|
|
18641
|
+
}];
|
|
18642
|
+
}
|
|
18643
|
+
|
|
18644
|
+
}
|
|
18645
|
+
});
|
|
18646
|
+
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/callbar_button.vue?vue&type=script&lang=js&
|
|
18647
|
+
/* harmony default export */ const callbar_button_callbar_buttonvue_type_script_lang_js_ = (callbar_buttonvue_type_script_lang_js_);
|
|
18648
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-72[0].rules[0].use[0]!./node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-72[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-72[0].rules[0].use[2]!./node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-72[0].rules[0].use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-72[0].rules[0].use[4]!./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=style&index=0&lang=less&
|
|
18649
|
+
var callbar_buttonvue_type_style_index_0_lang_less_ = __webpack_require__(736);
|
|
18650
|
+
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/callbar_button.vue?vue&type=style&index=0&lang=less&
|
|
18651
|
+
|
|
18652
|
+
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/callbar_button.vue
|
|
18653
|
+
|
|
18654
|
+
|
|
18655
|
+
|
|
18656
|
+
;
|
|
18657
|
+
|
|
18658
|
+
|
|
18659
|
+
/* normalize component */
|
|
18660
|
+
|
|
18661
|
+
var callbar_button_component = normalizeComponent(
|
|
18662
|
+
callbar_button_callbar_buttonvue_type_script_lang_js_,
|
|
18663
|
+
callbar_buttonvue_type_template_id_0421e5c4_render,
|
|
18664
|
+
callbar_buttonvue_type_template_id_0421e5c4_staticRenderFns,
|
|
18665
|
+
false,
|
|
18666
|
+
null,
|
|
18667
|
+
null,
|
|
18668
|
+
null
|
|
18669
|
+
|
|
18670
|
+
)
|
|
18671
|
+
|
|
18672
|
+
/* harmony default export */ const callbar_button = (callbar_button_component.exports);
|
|
18673
|
+
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/index.js
|
|
18674
|
+
|
|
18675
|
+
;// 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=d1e0f278&
|
|
18676
|
+
var callbar_button_with_popovervue_type_template_id_d1e0f278_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"dt-recipe--callbar-button-with-popover--button"},[_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},on:{"click":_vm.buttonClick}},[_vm._t("icon",null,{"slot":"icon"}),_vm._t("tooltip",null,{"slot":"tooltip"}),_vm._t("default")],2),(!_vm.disabled)?_c('dt-popover',_vm._b({staticClass:"dt-recipe--callbar-button-with-popover--popover-wrapper",attrs:{"id":_vm.id,"disabled":_vm.disabled,"open":_vm.open,"placement":_vm.placement,"initial-focus-element":_vm.initialFocusElement,"show-close-button":_vm.showCloseButton,"padding":"none","dialog-class":"d-h464 d-w512 dt-recipe--callbar-button-with-popover--popover","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',{staticClass:"dt-recipe--callbar-button-with-popover--arrow",attrs:{"circle":"","importance":"clear","size":"lg","aria-label":_vm.arrowButtonLabel,"active":_vm.open},on:{"click":_vm.arrowClick},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('icon-arrow-drop-up',{staticClass:"d-svg--size-16"})]},proxy:true}],null,false,2876394386)})]},proxy:true}],null,false,4054443748)},'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)}
|
|
18677
|
+
var callbar_button_with_popovervue_type_template_id_d1e0f278_staticRenderFns = []
|
|
18678
|
+
|
|
18679
|
+
|
|
18680
|
+
;// 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!./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconArrowDropUp.vue?vue&type=template&id=35fc0e49&
|
|
18681
|
+
var IconArrowDropUpvue_type_template_id_35fc0e49_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticClass:"d-svg d-svg--system d-svg__arrowDropUp",attrs:{"aria-hidden":"true","aria-label":"Arrow Drop Up","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"d":"M7 14l5-5 5 5H7z"}})])}
|
|
18682
|
+
var IconArrowDropUpvue_type_template_id_35fc0e49_staticRenderFns = []
|
|
18683
|
+
|
|
18684
|
+
|
|
18685
|
+
;// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconArrowDropUp.vue
|
|
18686
|
+
|
|
18687
|
+
var IconArrowDropUp_script = {}
|
|
18688
|
+
|
|
18689
|
+
|
|
18690
|
+
/* normalize component */
|
|
18691
|
+
;
|
|
18692
|
+
var IconArrowDropUp_component = normalizeComponent(
|
|
18693
|
+
IconArrowDropUp_script,
|
|
18694
|
+
IconArrowDropUpvue_type_template_id_35fc0e49_render,
|
|
18695
|
+
IconArrowDropUpvue_type_template_id_35fc0e49_staticRenderFns,
|
|
18696
|
+
false,
|
|
18697
|
+
null,
|
|
18698
|
+
null,
|
|
18699
|
+
null
|
|
18700
|
+
|
|
18701
|
+
)
|
|
18702
|
+
|
|
18703
|
+
/* harmony default export */ const IconArrowDropUp = (IconArrowDropUp_component.exports);
|
|
18704
|
+
;// 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&
|
|
18705
|
+
//
|
|
18706
|
+
//
|
|
18707
|
+
//
|
|
18708
|
+
//
|
|
18709
|
+
//
|
|
18710
|
+
//
|
|
18711
|
+
//
|
|
18712
|
+
//
|
|
18713
|
+
//
|
|
18714
|
+
//
|
|
18715
|
+
//
|
|
18716
|
+
//
|
|
18717
|
+
//
|
|
18718
|
+
//
|
|
18719
|
+
//
|
|
18720
|
+
//
|
|
18721
|
+
//
|
|
18722
|
+
//
|
|
18723
|
+
//
|
|
18724
|
+
//
|
|
18725
|
+
//
|
|
18726
|
+
//
|
|
18727
|
+
//
|
|
18728
|
+
//
|
|
18729
|
+
//
|
|
18730
|
+
//
|
|
18731
|
+
//
|
|
18732
|
+
//
|
|
18733
|
+
//
|
|
18734
|
+
//
|
|
18735
|
+
//
|
|
18736
|
+
//
|
|
18737
|
+
//
|
|
18738
|
+
//
|
|
18739
|
+
//
|
|
18740
|
+
//
|
|
18741
|
+
//
|
|
18742
|
+
//
|
|
18743
|
+
//
|
|
18744
|
+
//
|
|
18745
|
+
//
|
|
18746
|
+
//
|
|
18747
|
+
//
|
|
18748
|
+
//
|
|
18749
|
+
//
|
|
18750
|
+
//
|
|
18751
|
+
//
|
|
18752
|
+
//
|
|
18753
|
+
//
|
|
18754
|
+
//
|
|
18755
|
+
//
|
|
18756
|
+
//
|
|
18757
|
+
//
|
|
18758
|
+
//
|
|
18759
|
+
//
|
|
18760
|
+
//
|
|
18761
|
+
//
|
|
18762
|
+
//
|
|
18763
|
+
//
|
|
18764
|
+
//
|
|
18765
|
+
//
|
|
18766
|
+
//
|
|
18767
|
+
//
|
|
18768
|
+
//
|
|
18769
|
+
//
|
|
18770
|
+
//
|
|
18771
|
+
//
|
|
18772
|
+
//
|
|
18773
|
+
|
|
18774
|
+
|
|
18775
|
+
|
|
18776
|
+
|
|
18777
|
+
|
|
18778
|
+
/* harmony default export */ const callbar_button_with_popovervue_type_script_lang_js_ = ({
|
|
18779
|
+
name: 'DtRecipeCallbarButtonWithPopover',
|
|
18780
|
+
components: {
|
|
18781
|
+
DtRecipeCallbarButton: callbar_button,
|
|
18782
|
+
DtPopover: popover,
|
|
18783
|
+
DtButton: button_button,
|
|
18784
|
+
IconArrowDropUp: IconArrowDropUp
|
|
18785
|
+
},
|
|
18786
|
+
|
|
18787
|
+
/* inheritAttrs: false is generally an option we want to set on library
|
|
18788
|
+
components. This allows any attributes passed in that are not recognized
|
|
18789
|
+
as props to be passed down to another element or component using v-bind:$attrs
|
|
18790
|
+
more info: https://vuejs.org/v2/api/#inheritAttrs */
|
|
18791
|
+
inheritAttrs: false,
|
|
18792
|
+
props: {
|
|
18793
|
+
/**
|
|
18794
|
+
* Id for the item.
|
|
18795
|
+
*/
|
|
18796
|
+
id: {
|
|
18797
|
+
type: String,
|
|
18798
|
+
|
|
18799
|
+
default() {
|
|
18800
|
+
return utils.getUniqueString();
|
|
18801
|
+
}
|
|
18802
|
+
|
|
18803
|
+
},
|
|
18804
|
+
|
|
18805
|
+
/**
|
|
18806
|
+
* Aria label for the button. If empty, it takes its value from the default slot.
|
|
18807
|
+
*/
|
|
18808
|
+
ariaLabel: {
|
|
18809
|
+
type: String,
|
|
18810
|
+
default: null,
|
|
18811
|
+
validator: label => {
|
|
18812
|
+
return label || undefined.$slots.default;
|
|
18813
|
+
}
|
|
18814
|
+
},
|
|
18815
|
+
|
|
18816
|
+
/**
|
|
18817
|
+
* Aria label for the arrow. Cannot be empty.
|
|
18818
|
+
*/
|
|
18819
|
+
arrowButtonLabel: {
|
|
18820
|
+
type: String,
|
|
18821
|
+
required: true,
|
|
18822
|
+
validator: label => {
|
|
18823
|
+
return !!label;
|
|
18824
|
+
}
|
|
18825
|
+
},
|
|
18826
|
+
|
|
18827
|
+
/**
|
|
18828
|
+
* The direction the popover displays relative to the anchor.
|
|
18829
|
+
* @values 'bottom', 'bottom-start', 'bottom-end',
|
|
18830
|
+
* 'right', 'right-start', 'right-end',
|
|
18831
|
+
* 'left', 'left-start', 'left-end',
|
|
18832
|
+
* 'top', 'top-start', 'top-end'
|
|
18833
|
+
* @default 'top'
|
|
18834
|
+
*/
|
|
18835
|
+
placement: {
|
|
18836
|
+
type: String,
|
|
18837
|
+
default: 'top'
|
|
18838
|
+
},
|
|
18839
|
+
|
|
18840
|
+
/**
|
|
18841
|
+
* The element that is focused when the popover is opened. This can be an
|
|
18842
|
+
* HTMLElement within the popover, a string starting with '#' which will
|
|
18843
|
+
* find the element by ID. 'first' which will automatically focus
|
|
18844
|
+
* the first element, or 'dialog' which will focus the dialog window itself.
|
|
18845
|
+
* If the dialog is modal this prop cannot be 'none'.
|
|
18846
|
+
*/
|
|
18847
|
+
initialFocusElement: {
|
|
18848
|
+
type: String,
|
|
18849
|
+
default: 'first'
|
|
18850
|
+
},
|
|
18851
|
+
|
|
18852
|
+
/**
|
|
18853
|
+
* Determines visibility for close button
|
|
18854
|
+
*/
|
|
18855
|
+
showCloseButton: {
|
|
18856
|
+
type: Boolean,
|
|
18857
|
+
default: true
|
|
18858
|
+
},
|
|
18859
|
+
|
|
18860
|
+
/**
|
|
18861
|
+
* Determines whether the button should be disabled
|
|
18862
|
+
* default is false.
|
|
18863
|
+
* @values true, false
|
|
18864
|
+
*/
|
|
18865
|
+
disabled: {
|
|
18866
|
+
type: Boolean,
|
|
18867
|
+
default: false
|
|
18868
|
+
},
|
|
18869
|
+
|
|
18870
|
+
/**
|
|
18871
|
+
* Determines whether the button should have active styling
|
|
18872
|
+
* default is false.
|
|
18873
|
+
* @values true, false
|
|
18874
|
+
* @see https://dialpad.design/components/button/
|
|
18875
|
+
*/
|
|
18876
|
+
active: {
|
|
18877
|
+
type: Boolean,
|
|
18878
|
+
default: false
|
|
18879
|
+
},
|
|
18880
|
+
|
|
18881
|
+
/**
|
|
18882
|
+
* Determines whether the button should have danger styling
|
|
18883
|
+
* default is false.
|
|
18884
|
+
* @values true, false
|
|
18885
|
+
* @see https://dialpad.design/components/button/
|
|
18886
|
+
*/
|
|
18887
|
+
danger: {
|
|
18888
|
+
type: Boolean,
|
|
18889
|
+
default: false
|
|
18890
|
+
}
|
|
18891
|
+
},
|
|
18892
|
+
emits: [
|
|
18893
|
+
/**
|
|
18894
|
+
* Emitted when the arrow is clicked
|
|
18895
|
+
*/
|
|
18896
|
+
'arrowClick', 'click'],
|
|
18897
|
+
|
|
18898
|
+
data() {
|
|
18899
|
+
return {
|
|
18900
|
+
open: false
|
|
18901
|
+
};
|
|
18902
|
+
},
|
|
18903
|
+
|
|
18904
|
+
methods: {
|
|
18905
|
+
arrowClick(ev) {
|
|
18906
|
+
this.$emit('arrowClick', ev);
|
|
18907
|
+
return this.open = !this.open;
|
|
18908
|
+
},
|
|
18909
|
+
|
|
18910
|
+
buttonClick(ev) {
|
|
18911
|
+
// If no listener for the click event, the button click opens the popover
|
|
18912
|
+
// the same as if the arrow was clicked.
|
|
18913
|
+
if (!this.$listeners.click) {
|
|
18914
|
+
this.arrowClick(ev);
|
|
18915
|
+
} else {
|
|
18916
|
+
this.$emit('click', ev);
|
|
18917
|
+
}
|
|
18918
|
+
},
|
|
18919
|
+
|
|
18920
|
+
onModalIsOpened(isOpened) {
|
|
18921
|
+
this.open = isOpened;
|
|
18922
|
+
}
|
|
18923
|
+
|
|
18924
|
+
}
|
|
18925
|
+
});
|
|
18926
|
+
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=script&lang=js&
|
|
18927
|
+
/* harmony default export */ const callbar_button_with_popover_callbar_button_with_popovervue_type_script_lang_js_ = (callbar_button_with_popovervue_type_script_lang_js_);
|
|
18928
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-72[0].rules[0].use[0]!./node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-72[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-72[0].rules[0].use[2]!./node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-72[0].rules[0].use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-72[0].rules[0].use[4]!./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=style&index=0&lang=less&
|
|
18929
|
+
var callbar_button_with_popovervue_type_style_index_0_lang_less_ = __webpack_require__(625);
|
|
18930
|
+
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=style&index=0&lang=less&
|
|
18931
|
+
|
|
18932
|
+
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue
|
|
18933
|
+
|
|
18934
|
+
|
|
18935
|
+
|
|
18936
|
+
;
|
|
18937
|
+
|
|
18938
|
+
|
|
18939
|
+
/* normalize component */
|
|
18940
|
+
|
|
18941
|
+
var callbar_button_with_popover_component = normalizeComponent(
|
|
18942
|
+
callbar_button_with_popover_callbar_button_with_popovervue_type_script_lang_js_,
|
|
18943
|
+
callbar_button_with_popovervue_type_template_id_d1e0f278_render,
|
|
18944
|
+
callbar_button_with_popovervue_type_template_id_d1e0f278_staticRenderFns,
|
|
18945
|
+
false,
|
|
18946
|
+
null,
|
|
18947
|
+
null,
|
|
18948
|
+
null
|
|
18949
|
+
|
|
18950
|
+
)
|
|
18951
|
+
|
|
18952
|
+
/* harmony default export */ const callbar_button_with_popover = (callbar_button_with_popover_component.exports);
|
|
18953
|
+
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button_with_popover/index.js
|
|
18954
|
+
|
|
18955
|
+
;// 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/list_items/contact_info/contact_info.vue?vue&type=template&id=2ea57cf6&
|
|
18956
|
+
var contact_infovue_type_template_id_2ea57cf6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-list-item',{attrs:{"id":_vm.id,"role":_vm.role,"element-type":"div","data-qa":"contact-info"},scopedSlots:_vm._u([{key:"left",fn:function(){return [_c('div',{staticClass:"d-ps-relative",attrs:{"data-qa":"contact-info-left"}},[(_vm.avatarSrc)?_c('dt-avatar',{attrs:{"size":"lg","avatar-class":"d-bar2"}},[_c('img',{attrs:{"data-qa":"dt-contact-avatar","src":_vm.avatarSrc,"alt":_vm.avatarInitials}})]):(_vm.avatarInitials)?_c('dt-avatar',{attrs:{"kind":"initials","size":"lg","color":_vm.avatarColor}},[_vm._v(" "+_vm._s(_vm.avatarInitials)+" ")]):_vm._e(),(_vm.showUserStatus)?_c('div',{class:[
|
|
18439
18957
|
'd-ba',
|
|
18440
18958
|
'd-bc-white',
|
|
18441
18959
|
'd-baw2',
|
|
@@ -18446,7 +18964,7 @@ var contact_infovue_type_template_id_3f590359_render = function () {var _vm=this
|
|
|
18446
18964
|
'd-w20p',
|
|
18447
18965
|
'd-h20p',
|
|
18448
18966
|
_vm.USER_STATUS_COLOR_MODIFIERS[_vm.userStatusColor] ],attrs:{"data-qa":"contact-info-user-status"}},[_vm._v(" ")]):_vm._e()],1)]},proxy:true},{key:"default",fn:function(){return [_c('div',{attrs:{"data-qa":"contact-info-header"}},[_vm._t("header")],2)]},proxy:true},{key:"subtitle",fn:function(){return [_c('div',{attrs:{"data-qa":"contact-info-subtitle"}},[_vm._t("subtitle")],2)]},proxy:true},{key:"bottom",fn:function(){return [_c('div',{attrs:{"data-qa":"contact-info-bottom"}},[_vm._t("bottom")],2)]},proxy:true},{key:"right",fn:function(){return [_c('div',{attrs:{"data-qa":"contact-info-right"}},[_vm._t("right")],2)]},proxy:true}],null,true)})}
|
|
18449
|
-
var
|
|
18967
|
+
var contact_infovue_type_template_id_2ea57cf6_staticRenderFns = []
|
|
18450
18968
|
|
|
18451
18969
|
|
|
18452
18970
|
;// CONCATENATED MODULE: ./recipes/list_items/contact_info/contact_info_constants.js
|
|
@@ -18544,6 +19062,8 @@ const USER_STATUS_COLOR_MODIFIERS = {
|
|
|
18544
19062
|
|
|
18545
19063
|
|
|
18546
19064
|
|
|
19065
|
+
|
|
19066
|
+
|
|
18547
19067
|
/* harmony default export */ const contact_infovue_type_script_lang_js_ = ({
|
|
18548
19068
|
name: 'DtRecipeContactInfo',
|
|
18549
19069
|
components: {
|
|
@@ -18637,8 +19157,8 @@ const USER_STATUS_COLOR_MODIFIERS = {
|
|
|
18637
19157
|
;
|
|
18638
19158
|
var contact_info_component = normalizeComponent(
|
|
18639
19159
|
contact_info_contact_infovue_type_script_lang_js_,
|
|
18640
|
-
|
|
18641
|
-
|
|
19160
|
+
contact_infovue_type_template_id_2ea57cf6_render,
|
|
19161
|
+
contact_infovue_type_template_id_2ea57cf6_staticRenderFns,
|
|
18642
19162
|
false,
|
|
18643
19163
|
null,
|
|
18644
19164
|
null,
|
|
@@ -18786,6 +19306,8 @@ var top_banner_info_component = normalizeComponent(
|
|
|
18786
19306
|
|
|
18787
19307
|
|
|
18788
19308
|
|
|
19309
|
+
|
|
19310
|
+
|
|
18789
19311
|
// Mixins
|
|
18790
19312
|
|
|
18791
19313
|
// Constants
|