@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.
|
@@ -239,6 +239,54 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".tippy-box[data-popper-escaped] .d-too
|
|
|
239
239
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
240
240
|
|
|
241
241
|
|
|
242
|
+
/***/ }),
|
|
243
|
+
|
|
244
|
+
/***/ 41:
|
|
245
|
+
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
246
|
+
|
|
247
|
+
"use strict";
|
|
248
|
+
__webpack_require__.r(__webpack_exports__);
|
|
249
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
250
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
251
|
+
/* harmony export */ });
|
|
252
|
+
/* harmony import */ var _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(481);
|
|
253
|
+
/* 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__);
|
|
254
|
+
/* harmony import */ var _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(400);
|
|
255
|
+
/* 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__);
|
|
256
|
+
// Imports
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
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()));
|
|
260
|
+
// Module
|
|
261
|
+
___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)}", ""]);
|
|
262
|
+
// Exports
|
|
263
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
/***/ }),
|
|
267
|
+
|
|
268
|
+
/***/ 489:
|
|
269
|
+
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
270
|
+
|
|
271
|
+
"use strict";
|
|
272
|
+
__webpack_require__.r(__webpack_exports__);
|
|
273
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
274
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
275
|
+
/* harmony export */ });
|
|
276
|
+
/* harmony import */ var _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(481);
|
|
277
|
+
/* 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__);
|
|
278
|
+
/* harmony import */ var _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(400);
|
|
279
|
+
/* 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__);
|
|
280
|
+
// Imports
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
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()));
|
|
284
|
+
// Module
|
|
285
|
+
___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}", ""]);
|
|
286
|
+
// Exports
|
|
287
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
288
|
+
|
|
289
|
+
|
|
242
290
|
/***/ }),
|
|
243
291
|
|
|
244
292
|
/***/ 3:
|
|
@@ -546,6 +594,38 @@ var update = add("0a135999", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
546
594
|
|
|
547
595
|
/***/ }),
|
|
548
596
|
|
|
597
|
+
/***/ 759:
|
|
598
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
599
|
+
|
|
600
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
601
|
+
|
|
602
|
+
// load the styles
|
|
603
|
+
var content = __webpack_require__(41);
|
|
604
|
+
if(content.__esModule) content = content.default;
|
|
605
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
606
|
+
if(content.locals) module.exports = content.locals;
|
|
607
|
+
// add the styles to the DOM
|
|
608
|
+
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
|
609
|
+
var update = add("326eb2ad", content, true, {"sourceMap":false,"shadowMode":false});
|
|
610
|
+
|
|
611
|
+
/***/ }),
|
|
612
|
+
|
|
613
|
+
/***/ 545:
|
|
614
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
615
|
+
|
|
616
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
617
|
+
|
|
618
|
+
// load the styles
|
|
619
|
+
var content = __webpack_require__(489);
|
|
620
|
+
if(content.__esModule) content = content.default;
|
|
621
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
622
|
+
if(content.locals) module.exports = content.locals;
|
|
623
|
+
// add the styles to the DOM
|
|
624
|
+
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
|
625
|
+
var update = add("6de67338", content, true, {"sourceMap":false,"shadowMode":false});
|
|
626
|
+
|
|
627
|
+
/***/ }),
|
|
628
|
+
|
|
549
629
|
/***/ 9:
|
|
550
630
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
551
631
|
|
|
@@ -952,6 +1032,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
952
1032
|
"DtPopover": () => (/* reexport */ popover),
|
|
953
1033
|
"DtRadio": () => (/* reexport */ radio_radio),
|
|
954
1034
|
"DtRadioGroup": () => (/* reexport */ radio_group),
|
|
1035
|
+
"DtRecipeCallbarButton": () => (/* reexport */ callbar_button),
|
|
1036
|
+
"DtRecipeCallbarButtonWithPopover": () => (/* reexport */ callbar_button_with_popover),
|
|
955
1037
|
"DtRecipeComboboxMultiSelect": () => (/* reexport */ combobox_multi_select),
|
|
956
1038
|
"DtRecipeComboboxWithPopover": () => (/* reexport */ combobox_with_popover),
|
|
957
1039
|
"DtRecipeContactInfo": () => (/* reexport */ contact_info),
|
|
@@ -3103,9 +3185,9 @@ var button_group_component = normalizeComponent(
|
|
|
3103
3185
|
;// CONCATENATED MODULE: ./components/button_group/index.js
|
|
3104
3186
|
|
|
3105
3187
|
|
|
3106
|
-
;// 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=
|
|
3107
|
-
var
|
|
3108
|
-
var
|
|
3188
|
+
;// 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&
|
|
3189
|
+
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()])}
|
|
3190
|
+
var comboboxvue_type_template_id_f9b55a7e_staticRenderFns = []
|
|
3109
3191
|
|
|
3110
3192
|
|
|
3111
3193
|
;// CONCATENATED MODULE: ./common/mixins/dom.js
|
|
@@ -3482,12 +3564,12 @@ var combobox_loading_listvue_type_template_id_07d9971d_render = function () {var
|
|
|
3482
3564
|
var combobox_loading_listvue_type_template_id_07d9971d_staticRenderFns = []
|
|
3483
3565
|
|
|
3484
3566
|
|
|
3485
|
-
;// 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=
|
|
3486
|
-
var
|
|
3567
|
+
;// 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&
|
|
3568
|
+
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', {
|
|
3487
3569
|
'dt-list-item--focusable': _vm.isFocusable,
|
|
3488
3570
|
'dt-list-item--highlighted': _vm.isHighlighted,
|
|
3489
3571
|
}],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)}
|
|
3490
|
-
var
|
|
3572
|
+
var list_itemvue_type_template_id_17070dec_staticRenderFns = []
|
|
3491
3573
|
|
|
3492
3574
|
|
|
3493
3575
|
;// CONCATENATED MODULE: ./components/list_item/list_item_constants.js
|
|
@@ -3737,13 +3819,6 @@ var default_list_item_component = normalizeComponent(
|
|
|
3737
3819
|
|
|
3738
3820
|
this.$emit('keydown', event);
|
|
3739
3821
|
},
|
|
3740
|
-
mousedown: event => {
|
|
3741
|
-
if (!this.isFocusable) {
|
|
3742
|
-
event.preventDefault();
|
|
3743
|
-
}
|
|
3744
|
-
|
|
3745
|
-
this.$emit('mousedown', event);
|
|
3746
|
-
},
|
|
3747
3822
|
mousemove: event => {
|
|
3748
3823
|
this.onMouseHover(event);
|
|
3749
3824
|
this.$emit('mousemove', event);
|
|
@@ -3812,8 +3887,8 @@ var list_itemvue_type_style_index_0_lang_less_ = __webpack_require__(502);
|
|
|
3812
3887
|
|
|
3813
3888
|
var list_item_component = normalizeComponent(
|
|
3814
3889
|
list_item_list_itemvue_type_script_lang_js_,
|
|
3815
|
-
|
|
3816
|
-
|
|
3890
|
+
list_itemvue_type_template_id_17070dec_render,
|
|
3891
|
+
list_itemvue_type_template_id_17070dec_staticRenderFns,
|
|
3817
3892
|
false,
|
|
3818
3893
|
null,
|
|
3819
3894
|
null,
|
|
@@ -4690,8 +4765,6 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
4690
4765
|
//
|
|
4691
4766
|
//
|
|
4692
4767
|
//
|
|
4693
|
-
//
|
|
4694
|
-
//
|
|
4695
4768
|
|
|
4696
4769
|
|
|
4697
4770
|
|
|
@@ -4774,11 +4847,11 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
4774
4847
|
},
|
|
4775
4848
|
|
|
4776
4849
|
/**
|
|
4777
|
-
*
|
|
4850
|
+
* Sets the list to an empty state, and displays the message from prop `emptyStateMessage`.
|
|
4778
4851
|
*/
|
|
4779
|
-
|
|
4852
|
+
emptyList: {
|
|
4780
4853
|
type: Boolean,
|
|
4781
|
-
default:
|
|
4854
|
+
default: false
|
|
4782
4855
|
},
|
|
4783
4856
|
|
|
4784
4857
|
/**
|
|
@@ -4823,9 +4896,7 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
4823
4896
|
// If the list is rendered at the root, rather than as a child
|
|
4824
4897
|
// of this component, this is the ref to that dom element. Set
|
|
4825
4898
|
// by the onOpen method.
|
|
4826
|
-
outsideRenderedListRef: null
|
|
4827
|
-
isListEmpty: undefined,
|
|
4828
|
-
isLoading: undefined
|
|
4899
|
+
outsideRenderedListRef: null
|
|
4829
4900
|
};
|
|
4830
4901
|
},
|
|
4831
4902
|
|
|
@@ -4885,25 +4956,28 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
4885
4956
|
if (!showList && this.outsideRenderedListRef) {
|
|
4886
4957
|
this.outsideRenderedListRef.removeEventListener('mousemove', this.onMouseHighlight);
|
|
4887
4958
|
this.outsideRenderedListRef = null;
|
|
4888
|
-
this.isListEmpty = undefined;
|
|
4889
4959
|
}
|
|
4890
4960
|
},
|
|
4891
4961
|
|
|
4892
|
-
loading(
|
|
4893
|
-
this.isListEmpty = undefined;
|
|
4894
|
-
this.isLoading = isLoading;
|
|
4962
|
+
loading(loading) {
|
|
4895
4963
|
this.$nextTick(() => {
|
|
4896
|
-
this.isListEmpty = this.checkItemsLength();
|
|
4897
4964
|
this.setInitialHighlightIndex();
|
|
4898
4965
|
});
|
|
4899
|
-
}
|
|
4966
|
+
},
|
|
4900
4967
|
|
|
4968
|
+
$props: {
|
|
4969
|
+
deep: true,
|
|
4970
|
+
immediate: true,
|
|
4971
|
+
|
|
4972
|
+
handler() {
|
|
4973
|
+
this.validateEmptyListProps();
|
|
4974
|
+
}
|
|
4975
|
+
|
|
4976
|
+
}
|
|
4901
4977
|
},
|
|
4902
4978
|
|
|
4903
|
-
|
|
4904
|
-
this.
|
|
4905
|
-
await this.$nextTick();
|
|
4906
|
-
this.isListEmpty = this.checkItemsLength();
|
|
4979
|
+
created() {
|
|
4980
|
+
this.validateEmptyListProps();
|
|
4907
4981
|
},
|
|
4908
4982
|
|
|
4909
4983
|
methods: {
|
|
@@ -4934,7 +5008,7 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
4934
5008
|
},
|
|
4935
5009
|
|
|
4936
5010
|
onEnterKey() {
|
|
4937
|
-
if (this.loading || this.
|
|
5011
|
+
if (this.loading || this.emptyList) return;
|
|
4938
5012
|
|
|
4939
5013
|
if (this.highlightIndex >= 0) {
|
|
4940
5014
|
this.$emit('select', this.highlightIndex);
|
|
@@ -4953,7 +5027,6 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
4953
5027
|
this.$emit('opened', open);
|
|
4954
5028
|
|
|
4955
5029
|
if (open) {
|
|
4956
|
-
this.isListEmpty = this.checkItemsLength();
|
|
4957
5030
|
this.setInitialHighlightIndex();
|
|
4958
5031
|
}
|
|
4959
5032
|
},
|
|
@@ -4972,11 +5045,10 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
4972
5045
|
});
|
|
4973
5046
|
},
|
|
4974
5047
|
|
|
4975
|
-
|
|
4976
|
-
if (!this.
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
return (options === null || options === void 0 ? void 0 : options.length) === 0;
|
|
5048
|
+
validateEmptyListProps() {
|
|
5049
|
+
if (this.emptyList && !this.emptyStateMessage || !this.emptyList && this.emptyStateMessage) {
|
|
5050
|
+
console.error("Invalid props: you must pass both props emptyList and emptyStateMessage to show the\n empty message.");
|
|
5051
|
+
}
|
|
4980
5052
|
}
|
|
4981
5053
|
|
|
4982
5054
|
}
|
|
@@ -4993,8 +5065,8 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
4993
5065
|
;
|
|
4994
5066
|
var combobox_component = normalizeComponent(
|
|
4995
5067
|
combobox_comboboxvue_type_script_lang_js_,
|
|
4996
|
-
|
|
4997
|
-
|
|
5068
|
+
comboboxvue_type_template_id_f9b55a7e_render,
|
|
5069
|
+
comboboxvue_type_template_id_f9b55a7e_staticRenderFns,
|
|
4998
5070
|
false,
|
|
4999
5071
|
null,
|
|
5000
5072
|
null,
|
|
@@ -17346,17 +17418,15 @@ var root_layout_component = normalizeComponent(
|
|
|
17346
17418
|
;// CONCATENATED MODULE: ./components/root_layout/index.js
|
|
17347
17419
|
|
|
17348
17420
|
|
|
17349
|
-
;// 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=
|
|
17350
|
-
var
|
|
17421
|
+
;// 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&
|
|
17422
|
+
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){
|
|
17351
17423
|
var inputProps = ref.inputProps;
|
|
17352
17424
|
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){
|
|
17353
17425
|
var opened = ref.opened;
|
|
17354
17426
|
var listProps = ref.listProps;
|
|
17355
17427
|
var clearHighlightIndex = ref.clearHighlightIndex;
|
|
17356
|
-
|
|
17357
|
-
var
|
|
17358
|
-
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))}
|
|
17359
|
-
var combobox_with_popovervue_type_template_id_5ee1c401_staticRenderFns = []
|
|
17428
|
+
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))}
|
|
17429
|
+
var combobox_with_popovervue_type_template_id_7efaa59c_staticRenderFns = []
|
|
17360
17430
|
|
|
17361
17431
|
|
|
17362
17432
|
;// 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&
|
|
@@ -17458,6 +17528,8 @@ var combobox_with_popovervue_type_template_id_5ee1c401_staticRenderFns = []
|
|
|
17458
17528
|
//
|
|
17459
17529
|
//
|
|
17460
17530
|
//
|
|
17531
|
+
//
|
|
17532
|
+
//
|
|
17461
17533
|
|
|
17462
17534
|
|
|
17463
17535
|
|
|
@@ -17611,6 +17683,14 @@ var combobox_with_popovervue_type_template_id_5ee1c401_staticRenderFns = []
|
|
|
17611
17683
|
default: false
|
|
17612
17684
|
},
|
|
17613
17685
|
|
|
17686
|
+
/**
|
|
17687
|
+
* Sets the list to an empty state, and displays the message from prop `emptyStateMessage`.
|
|
17688
|
+
*/
|
|
17689
|
+
emptyList: {
|
|
17690
|
+
type: Boolean,
|
|
17691
|
+
default: false
|
|
17692
|
+
},
|
|
17693
|
+
|
|
17614
17694
|
/**
|
|
17615
17695
|
* Message to show when the list is empty
|
|
17616
17696
|
*/
|
|
@@ -17717,15 +17797,20 @@ var combobox_with_popovervue_type_template_id_5ee1c401_staticRenderFns = []
|
|
|
17717
17797
|
},
|
|
17718
17798
|
|
|
17719
17799
|
onFocusOut(e) {
|
|
17720
|
-
const comboboxRefs = ['input', 'header', 'footer', 'listWrapper'];
|
|
17800
|
+
const comboboxRefs = ['input', 'header', 'footer', 'listWrapper']; // Check if the focus change was to another target within the combobox component
|
|
17801
|
+
|
|
17721
17802
|
const isComboboxStillFocused = comboboxRefs.some(ref => {
|
|
17722
17803
|
var _this$$refs$ref;
|
|
17723
17804
|
|
|
17724
17805
|
return (_this$$refs$ref = this.$refs[ref]) === null || _this$$refs$ref === void 0 ? void 0 : _this$$refs$ref.contains(e.relatedTarget);
|
|
17725
|
-
});
|
|
17806
|
+
}); // If outside of the combobox then close
|
|
17726
17807
|
|
|
17727
17808
|
if (!isComboboxStillFocused) {
|
|
17728
17809
|
this.closeComboboxList();
|
|
17810
|
+
} else {
|
|
17811
|
+
// if focus is anywhere within the combobox input or list,
|
|
17812
|
+
// keep the focus on the input, or keyboard nav will break.
|
|
17813
|
+
e.target.focus();
|
|
17729
17814
|
}
|
|
17730
17815
|
},
|
|
17731
17816
|
|
|
@@ -17751,8 +17836,8 @@ var combobox_with_popovervue_type_template_id_5ee1c401_staticRenderFns = []
|
|
|
17751
17836
|
;
|
|
17752
17837
|
var combobox_with_popover_component = normalizeComponent(
|
|
17753
17838
|
combobox_with_popover_combobox_with_popovervue_type_script_lang_js_,
|
|
17754
|
-
|
|
17755
|
-
|
|
17839
|
+
combobox_with_popovervue_type_template_id_7efaa59c_render,
|
|
17840
|
+
combobox_with_popovervue_type_template_id_7efaa59c_staticRenderFns,
|
|
17756
17841
|
false,
|
|
17757
17842
|
null,
|
|
17758
17843
|
null,
|
|
@@ -17763,11 +17848,11 @@ var combobox_with_popover_component = normalizeComponent(
|
|
|
17763
17848
|
/* harmony default export */ const combobox_with_popover = (combobox_with_popover_component.exports);
|
|
17764
17849
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/index.js
|
|
17765
17850
|
|
|
17766
|
-
;// 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=
|
|
17767
|
-
var
|
|
17851
|
+
;// 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&
|
|
17852
|
+
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){
|
|
17768
17853
|
var onInput = ref.onInput;
|
|
17769
17854
|
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)})}
|
|
17770
|
-
var
|
|
17855
|
+
var combobox_multi_selectvue_type_template_id_14e17b26_staticRenderFns = []
|
|
17771
17856
|
|
|
17772
17857
|
|
|
17773
17858
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select_story_constants.js
|
|
@@ -17971,6 +18056,9 @@ const MULTI_SELECT_SIZES = {
|
|
|
17971
18056
|
|
|
17972
18057
|
|
|
17973
18058
|
|
|
18059
|
+
|
|
18060
|
+
|
|
18061
|
+
|
|
17974
18062
|
/* harmony default export */ const combobox_multi_selectvue_type_script_lang_js_ = ({
|
|
17975
18063
|
name: 'DtRecipeComboboxMultiSelect',
|
|
17976
18064
|
components: {
|
|
@@ -18403,8 +18491,8 @@ const MULTI_SELECT_SIZES = {
|
|
|
18403
18491
|
;
|
|
18404
18492
|
var combobox_multi_select_component = normalizeComponent(
|
|
18405
18493
|
combobox_multi_select_combobox_multi_selectvue_type_script_lang_js_,
|
|
18406
|
-
|
|
18407
|
-
|
|
18494
|
+
combobox_multi_selectvue_type_template_id_14e17b26_render,
|
|
18495
|
+
combobox_multi_selectvue_type_template_id_14e17b26_staticRenderFns,
|
|
18408
18496
|
false,
|
|
18409
18497
|
null,
|
|
18410
18498
|
null,
|
|
@@ -18416,8 +18504,438 @@ var combobox_multi_select_component = normalizeComponent(
|
|
|
18416
18504
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/index.js
|
|
18417
18505
|
|
|
18418
18506
|
|
|
18419
|
-
;// 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/
|
|
18420
|
-
var
|
|
18507
|
+
;// 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&
|
|
18508
|
+
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)}
|
|
18509
|
+
var callbar_buttonvue_type_template_id_0421e5c4_staticRenderFns = []
|
|
18510
|
+
|
|
18511
|
+
|
|
18512
|
+
;// 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&
|
|
18513
|
+
//
|
|
18514
|
+
//
|
|
18515
|
+
//
|
|
18516
|
+
//
|
|
18517
|
+
//
|
|
18518
|
+
//
|
|
18519
|
+
//
|
|
18520
|
+
//
|
|
18521
|
+
//
|
|
18522
|
+
//
|
|
18523
|
+
//
|
|
18524
|
+
//
|
|
18525
|
+
//
|
|
18526
|
+
//
|
|
18527
|
+
//
|
|
18528
|
+
//
|
|
18529
|
+
//
|
|
18530
|
+
//
|
|
18531
|
+
//
|
|
18532
|
+
//
|
|
18533
|
+
//
|
|
18534
|
+
//
|
|
18535
|
+
//
|
|
18536
|
+
//
|
|
18537
|
+
//
|
|
18538
|
+
//
|
|
18539
|
+
//
|
|
18540
|
+
|
|
18541
|
+
|
|
18542
|
+
|
|
18543
|
+
/* harmony default export */ const callbar_buttonvue_type_script_lang_js_ = ({
|
|
18544
|
+
name: 'DtRecipeCallbarButton',
|
|
18545
|
+
components: {
|
|
18546
|
+
DtButton: button_button,
|
|
18547
|
+
DtTooltip: tooltip
|
|
18548
|
+
},
|
|
18549
|
+
inheritAttrs: true,
|
|
18550
|
+
props: {
|
|
18551
|
+
/**
|
|
18552
|
+
* Id for the item.
|
|
18553
|
+
*/
|
|
18554
|
+
id: {
|
|
18555
|
+
type: String,
|
|
18556
|
+
|
|
18557
|
+
default() {
|
|
18558
|
+
return utils.getUniqueString();
|
|
18559
|
+
}
|
|
18560
|
+
|
|
18561
|
+
},
|
|
18562
|
+
|
|
18563
|
+
/**
|
|
18564
|
+
* Determines whether the button should have active styling
|
|
18565
|
+
* default is false.
|
|
18566
|
+
* @values true, false
|
|
18567
|
+
* @see https://dialpad.design/components/button/
|
|
18568
|
+
*/
|
|
18569
|
+
active: {
|
|
18570
|
+
type: Boolean,
|
|
18571
|
+
default: false
|
|
18572
|
+
},
|
|
18573
|
+
|
|
18574
|
+
/**
|
|
18575
|
+
* Determines whether the button should have danger styling
|
|
18576
|
+
* default is false.
|
|
18577
|
+
* @values true, false
|
|
18578
|
+
* @see https://dialpad.design/components/button/
|
|
18579
|
+
*/
|
|
18580
|
+
danger: {
|
|
18581
|
+
type: Boolean,
|
|
18582
|
+
default: false
|
|
18583
|
+
},
|
|
18584
|
+
|
|
18585
|
+
/**
|
|
18586
|
+
* Determines whether the button should be disabled
|
|
18587
|
+
* default is false.
|
|
18588
|
+
* @values true, false
|
|
18589
|
+
*/
|
|
18590
|
+
disabled: {
|
|
18591
|
+
type: Boolean,
|
|
18592
|
+
default: false
|
|
18593
|
+
},
|
|
18594
|
+
|
|
18595
|
+
/**
|
|
18596
|
+
* Whether the button is a circle or not.
|
|
18597
|
+
* @values true, false
|
|
18598
|
+
* @see https://dialpad.design/components/button/
|
|
18599
|
+
*/
|
|
18600
|
+
circle: {
|
|
18601
|
+
type: Boolean,
|
|
18602
|
+
default: false
|
|
18603
|
+
},
|
|
18604
|
+
|
|
18605
|
+
/**
|
|
18606
|
+
* Aria label for the button. If empty, it takes its value from the default slot.
|
|
18607
|
+
*/
|
|
18608
|
+
ariaLabel: {
|
|
18609
|
+
type: String,
|
|
18610
|
+
default: null,
|
|
18611
|
+
validator: label => {
|
|
18612
|
+
return label || undefined.$slots.default;
|
|
18613
|
+
}
|
|
18614
|
+
}
|
|
18615
|
+
},
|
|
18616
|
+
emits: ['click'],
|
|
18617
|
+
computed: {
|
|
18618
|
+
callbarButtonClass() {
|
|
18619
|
+
return ['dt-recipe-callbar-button', 'd-stack4', {
|
|
18620
|
+
'dt-recipe-callbar-button--circle': this.circle,
|
|
18621
|
+
'dt-recipe-callbar-button--active': this.active,
|
|
18622
|
+
'dt-recipe-callbar-button--danger': this.danger
|
|
18623
|
+
}];
|
|
18624
|
+
}
|
|
18625
|
+
|
|
18626
|
+
}
|
|
18627
|
+
});
|
|
18628
|
+
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/callbar_button.vue?vue&type=script&lang=js&
|
|
18629
|
+
/* harmony default export */ const callbar_button_callbar_buttonvue_type_script_lang_js_ = (callbar_buttonvue_type_script_lang_js_);
|
|
18630
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-32[0].rules[0].use[0]!./node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-32[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-32[0].rules[0].use[2]!./node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32[0].rules[0].use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32[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&
|
|
18631
|
+
var callbar_buttonvue_type_style_index_0_lang_less_ = __webpack_require__(759);
|
|
18632
|
+
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/callbar_button.vue?vue&type=style&index=0&lang=less&
|
|
18633
|
+
|
|
18634
|
+
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/callbar_button.vue
|
|
18635
|
+
|
|
18636
|
+
|
|
18637
|
+
|
|
18638
|
+
;
|
|
18639
|
+
|
|
18640
|
+
|
|
18641
|
+
/* normalize component */
|
|
18642
|
+
|
|
18643
|
+
var callbar_button_component = normalizeComponent(
|
|
18644
|
+
callbar_button_callbar_buttonvue_type_script_lang_js_,
|
|
18645
|
+
callbar_buttonvue_type_template_id_0421e5c4_render,
|
|
18646
|
+
callbar_buttonvue_type_template_id_0421e5c4_staticRenderFns,
|
|
18647
|
+
false,
|
|
18648
|
+
null,
|
|
18649
|
+
null,
|
|
18650
|
+
null
|
|
18651
|
+
|
|
18652
|
+
)
|
|
18653
|
+
|
|
18654
|
+
/* harmony default export */ const callbar_button = (callbar_button_component.exports);
|
|
18655
|
+
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/index.js
|
|
18656
|
+
|
|
18657
|
+
;// 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&
|
|
18658
|
+
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)}
|
|
18659
|
+
var callbar_button_with_popovervue_type_template_id_d1e0f278_staticRenderFns = []
|
|
18660
|
+
|
|
18661
|
+
|
|
18662
|
+
;// 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&
|
|
18663
|
+
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"}})])}
|
|
18664
|
+
var IconArrowDropUpvue_type_template_id_35fc0e49_staticRenderFns = []
|
|
18665
|
+
|
|
18666
|
+
|
|
18667
|
+
;// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconArrowDropUp.vue
|
|
18668
|
+
|
|
18669
|
+
var IconArrowDropUp_script = {}
|
|
18670
|
+
|
|
18671
|
+
|
|
18672
|
+
/* normalize component */
|
|
18673
|
+
;
|
|
18674
|
+
var IconArrowDropUp_component = normalizeComponent(
|
|
18675
|
+
IconArrowDropUp_script,
|
|
18676
|
+
IconArrowDropUpvue_type_template_id_35fc0e49_render,
|
|
18677
|
+
IconArrowDropUpvue_type_template_id_35fc0e49_staticRenderFns,
|
|
18678
|
+
false,
|
|
18679
|
+
null,
|
|
18680
|
+
null,
|
|
18681
|
+
null
|
|
18682
|
+
|
|
18683
|
+
)
|
|
18684
|
+
|
|
18685
|
+
/* harmony default export */ const IconArrowDropUp = (IconArrowDropUp_component.exports);
|
|
18686
|
+
;// 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&
|
|
18687
|
+
//
|
|
18688
|
+
//
|
|
18689
|
+
//
|
|
18690
|
+
//
|
|
18691
|
+
//
|
|
18692
|
+
//
|
|
18693
|
+
//
|
|
18694
|
+
//
|
|
18695
|
+
//
|
|
18696
|
+
//
|
|
18697
|
+
//
|
|
18698
|
+
//
|
|
18699
|
+
//
|
|
18700
|
+
//
|
|
18701
|
+
//
|
|
18702
|
+
//
|
|
18703
|
+
//
|
|
18704
|
+
//
|
|
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
|
+
/* harmony default export */ const callbar_button_with_popovervue_type_script_lang_js_ = ({
|
|
18761
|
+
name: 'DtRecipeCallbarButtonWithPopover',
|
|
18762
|
+
components: {
|
|
18763
|
+
DtRecipeCallbarButton: callbar_button,
|
|
18764
|
+
DtPopover: popover,
|
|
18765
|
+
DtButton: button_button,
|
|
18766
|
+
IconArrowDropUp: IconArrowDropUp
|
|
18767
|
+
},
|
|
18768
|
+
|
|
18769
|
+
/* inheritAttrs: false is generally an option we want to set on library
|
|
18770
|
+
components. This allows any attributes passed in that are not recognized
|
|
18771
|
+
as props to be passed down to another element or component using v-bind:$attrs
|
|
18772
|
+
more info: https://vuejs.org/v2/api/#inheritAttrs */
|
|
18773
|
+
inheritAttrs: false,
|
|
18774
|
+
props: {
|
|
18775
|
+
/**
|
|
18776
|
+
* Id for the item.
|
|
18777
|
+
*/
|
|
18778
|
+
id: {
|
|
18779
|
+
type: String,
|
|
18780
|
+
|
|
18781
|
+
default() {
|
|
18782
|
+
return utils.getUniqueString();
|
|
18783
|
+
}
|
|
18784
|
+
|
|
18785
|
+
},
|
|
18786
|
+
|
|
18787
|
+
/**
|
|
18788
|
+
* Aria label for the button. If empty, it takes its value from the default slot.
|
|
18789
|
+
*/
|
|
18790
|
+
ariaLabel: {
|
|
18791
|
+
type: String,
|
|
18792
|
+
default: null,
|
|
18793
|
+
validator: label => {
|
|
18794
|
+
return label || undefined.$slots.default;
|
|
18795
|
+
}
|
|
18796
|
+
},
|
|
18797
|
+
|
|
18798
|
+
/**
|
|
18799
|
+
* Aria label for the arrow. Cannot be empty.
|
|
18800
|
+
*/
|
|
18801
|
+
arrowButtonLabel: {
|
|
18802
|
+
type: String,
|
|
18803
|
+
required: true,
|
|
18804
|
+
validator: label => {
|
|
18805
|
+
return !!label;
|
|
18806
|
+
}
|
|
18807
|
+
},
|
|
18808
|
+
|
|
18809
|
+
/**
|
|
18810
|
+
* The direction the popover displays relative to the anchor.
|
|
18811
|
+
* @values 'bottom', 'bottom-start', 'bottom-end',
|
|
18812
|
+
* 'right', 'right-start', 'right-end',
|
|
18813
|
+
* 'left', 'left-start', 'left-end',
|
|
18814
|
+
* 'top', 'top-start', 'top-end'
|
|
18815
|
+
* @default 'top'
|
|
18816
|
+
*/
|
|
18817
|
+
placement: {
|
|
18818
|
+
type: String,
|
|
18819
|
+
default: 'top'
|
|
18820
|
+
},
|
|
18821
|
+
|
|
18822
|
+
/**
|
|
18823
|
+
* The element that is focused when the popover is opened. This can be an
|
|
18824
|
+
* HTMLElement within the popover, a string starting with '#' which will
|
|
18825
|
+
* find the element by ID. 'first' which will automatically focus
|
|
18826
|
+
* the first element, or 'dialog' which will focus the dialog window itself.
|
|
18827
|
+
* If the dialog is modal this prop cannot be 'none'.
|
|
18828
|
+
*/
|
|
18829
|
+
initialFocusElement: {
|
|
18830
|
+
type: String,
|
|
18831
|
+
default: 'first'
|
|
18832
|
+
},
|
|
18833
|
+
|
|
18834
|
+
/**
|
|
18835
|
+
* Determines visibility for close button
|
|
18836
|
+
*/
|
|
18837
|
+
showCloseButton: {
|
|
18838
|
+
type: Boolean,
|
|
18839
|
+
default: true
|
|
18840
|
+
},
|
|
18841
|
+
|
|
18842
|
+
/**
|
|
18843
|
+
* Determines whether the button should be disabled
|
|
18844
|
+
* default is false.
|
|
18845
|
+
* @values true, false
|
|
18846
|
+
*/
|
|
18847
|
+
disabled: {
|
|
18848
|
+
type: Boolean,
|
|
18849
|
+
default: false
|
|
18850
|
+
},
|
|
18851
|
+
|
|
18852
|
+
/**
|
|
18853
|
+
* Determines whether the button should have active styling
|
|
18854
|
+
* default is false.
|
|
18855
|
+
* @values true, false
|
|
18856
|
+
* @see https://dialpad.design/components/button/
|
|
18857
|
+
*/
|
|
18858
|
+
active: {
|
|
18859
|
+
type: Boolean,
|
|
18860
|
+
default: false
|
|
18861
|
+
},
|
|
18862
|
+
|
|
18863
|
+
/**
|
|
18864
|
+
* Determines whether the button should have danger styling
|
|
18865
|
+
* default is false.
|
|
18866
|
+
* @values true, false
|
|
18867
|
+
* @see https://dialpad.design/components/button/
|
|
18868
|
+
*/
|
|
18869
|
+
danger: {
|
|
18870
|
+
type: Boolean,
|
|
18871
|
+
default: false
|
|
18872
|
+
}
|
|
18873
|
+
},
|
|
18874
|
+
emits: [
|
|
18875
|
+
/**
|
|
18876
|
+
* Emitted when the arrow is clicked
|
|
18877
|
+
*/
|
|
18878
|
+
'arrowClick', 'click'],
|
|
18879
|
+
|
|
18880
|
+
data() {
|
|
18881
|
+
return {
|
|
18882
|
+
open: false
|
|
18883
|
+
};
|
|
18884
|
+
},
|
|
18885
|
+
|
|
18886
|
+
methods: {
|
|
18887
|
+
arrowClick(ev) {
|
|
18888
|
+
this.$emit('arrowClick', ev);
|
|
18889
|
+
return this.open = !this.open;
|
|
18890
|
+
},
|
|
18891
|
+
|
|
18892
|
+
buttonClick(ev) {
|
|
18893
|
+
// If no listener for the click event, the button click opens the popover
|
|
18894
|
+
// the same as if the arrow was clicked.
|
|
18895
|
+
if (!this.$listeners.click) {
|
|
18896
|
+
this.arrowClick(ev);
|
|
18897
|
+
} else {
|
|
18898
|
+
this.$emit('click', ev);
|
|
18899
|
+
}
|
|
18900
|
+
},
|
|
18901
|
+
|
|
18902
|
+
onModalIsOpened(isOpened) {
|
|
18903
|
+
this.open = isOpened;
|
|
18904
|
+
}
|
|
18905
|
+
|
|
18906
|
+
}
|
|
18907
|
+
});
|
|
18908
|
+
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=script&lang=js&
|
|
18909
|
+
/* harmony default export */ const callbar_button_with_popover_callbar_button_with_popovervue_type_script_lang_js_ = (callbar_button_with_popovervue_type_script_lang_js_);
|
|
18910
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-32[0].rules[0].use[0]!./node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-32[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-32[0].rules[0].use[2]!./node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32[0].rules[0].use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32[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&
|
|
18911
|
+
var callbar_button_with_popovervue_type_style_index_0_lang_less_ = __webpack_require__(545);
|
|
18912
|
+
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=style&index=0&lang=less&
|
|
18913
|
+
|
|
18914
|
+
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue
|
|
18915
|
+
|
|
18916
|
+
|
|
18917
|
+
|
|
18918
|
+
;
|
|
18919
|
+
|
|
18920
|
+
|
|
18921
|
+
/* normalize component */
|
|
18922
|
+
|
|
18923
|
+
var callbar_button_with_popover_component = normalizeComponent(
|
|
18924
|
+
callbar_button_with_popover_callbar_button_with_popovervue_type_script_lang_js_,
|
|
18925
|
+
callbar_button_with_popovervue_type_template_id_d1e0f278_render,
|
|
18926
|
+
callbar_button_with_popovervue_type_template_id_d1e0f278_staticRenderFns,
|
|
18927
|
+
false,
|
|
18928
|
+
null,
|
|
18929
|
+
null,
|
|
18930
|
+
null
|
|
18931
|
+
|
|
18932
|
+
)
|
|
18933
|
+
|
|
18934
|
+
/* harmony default export */ const callbar_button_with_popover = (callbar_button_with_popover_component.exports);
|
|
18935
|
+
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button_with_popover/index.js
|
|
18936
|
+
|
|
18937
|
+
;// 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&
|
|
18938
|
+
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:[
|
|
18421
18939
|
'd-ba',
|
|
18422
18940
|
'd-bc-white',
|
|
18423
18941
|
'd-baw2',
|
|
@@ -18428,7 +18946,7 @@ var contact_infovue_type_template_id_3f590359_render = function () {var _vm=this
|
|
|
18428
18946
|
'd-w20p',
|
|
18429
18947
|
'd-h20p',
|
|
18430
18948
|
_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)})}
|
|
18431
|
-
var
|
|
18949
|
+
var contact_infovue_type_template_id_2ea57cf6_staticRenderFns = []
|
|
18432
18950
|
|
|
18433
18951
|
|
|
18434
18952
|
;// CONCATENATED MODULE: ./recipes/list_items/contact_info/contact_info_constants.js
|
|
@@ -18526,6 +19044,8 @@ const USER_STATUS_COLOR_MODIFIERS = {
|
|
|
18526
19044
|
|
|
18527
19045
|
|
|
18528
19046
|
|
|
19047
|
+
|
|
19048
|
+
|
|
18529
19049
|
/* harmony default export */ const contact_infovue_type_script_lang_js_ = ({
|
|
18530
19050
|
name: 'DtRecipeContactInfo',
|
|
18531
19051
|
components: {
|
|
@@ -18619,8 +19139,8 @@ const USER_STATUS_COLOR_MODIFIERS = {
|
|
|
18619
19139
|
;
|
|
18620
19140
|
var contact_info_component = normalizeComponent(
|
|
18621
19141
|
contact_info_contact_infovue_type_script_lang_js_,
|
|
18622
|
-
|
|
18623
|
-
|
|
19142
|
+
contact_infovue_type_template_id_2ea57cf6_render,
|
|
19143
|
+
contact_infovue_type_template_id_2ea57cf6_staticRenderFns,
|
|
18624
19144
|
false,
|
|
18625
19145
|
null,
|
|
18626
19146
|
null,
|
|
@@ -18768,6 +19288,8 @@ var top_banner_info_component = normalizeComponent(
|
|
|
18768
19288
|
|
|
18769
19289
|
|
|
18770
19290
|
|
|
19291
|
+
|
|
19292
|
+
|
|
18771
19293
|
// Mixins
|
|
18772
19294
|
|
|
18773
19295
|
// Constants
|