@dialpad/dialtone-vue 2.21.0 → 2.22.2
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/component-documentation.json +1 -1
- package/dist/dialtone-vue.common.js +785 -220
- package/dist/dialtone-vue.umd.js +785 -220
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/dist/emoji.common.js +6 -1
- package/dist/emoji.umd.js +6 -1
- package/dist/emoji.umd.min.js +1 -1
- package/package.json +1 -1
package/dist/dialtone-vue.umd.js
CHANGED
|
@@ -11,6 +11,30 @@
|
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
13
13
|
|
|
14
|
+
/***/ 890:
|
|
15
|
+
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
16
|
+
|
|
17
|
+
"use strict";
|
|
18
|
+
__webpack_require__.r(__webpack_exports__);
|
|
19
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
21
|
+
/* harmony export */ });
|
|
22
|
+
/* harmony import */ var _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(481);
|
|
23
|
+
/* 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__);
|
|
24
|
+
/* harmony import */ var _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(400);
|
|
25
|
+
/* 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__);
|
|
26
|
+
// Imports
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
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()));
|
|
30
|
+
// Module
|
|
31
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".enter-active,.leave-active{overflow:hidden;transition:height .3s linear}", ""]);
|
|
32
|
+
// Exports
|
|
33
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
/***/ }),
|
|
37
|
+
|
|
14
38
|
/***/ 793:
|
|
15
39
|
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
16
40
|
|
|
@@ -372,6 +396,22 @@ module.exports = function (i) {
|
|
|
372
396
|
|
|
373
397
|
/***/ }),
|
|
374
398
|
|
|
399
|
+
/***/ 275:
|
|
400
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
401
|
+
|
|
402
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
403
|
+
|
|
404
|
+
// load the styles
|
|
405
|
+
var content = __webpack_require__(890);
|
|
406
|
+
if(content.__esModule) content = content.default;
|
|
407
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
408
|
+
if(content.locals) module.exports = content.locals;
|
|
409
|
+
// add the styles to the DOM
|
|
410
|
+
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
|
411
|
+
var update = add("63ce6251", content, true, {"sourceMap":false,"shadowMode":false});
|
|
412
|
+
|
|
413
|
+
/***/ }),
|
|
414
|
+
|
|
375
415
|
/***/ 742:
|
|
376
416
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
377
417
|
|
|
@@ -910,6 +950,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
910
950
|
"DtCheckbox": () => (/* reexport */ checkbox_checkbox),
|
|
911
951
|
"DtCheckboxGroup": () => (/* reexport */ checkbox_group),
|
|
912
952
|
"DtChip": () => (/* reexport */ chip),
|
|
953
|
+
"DtCollapsible": () => (/* reexport */ collapsible),
|
|
913
954
|
"DtCombobox": () => (/* reexport */ combobox),
|
|
914
955
|
"DtDropdown": () => (/* reexport */ dropdown),
|
|
915
956
|
"DtGroupableInputMixin": () => (/* reexport */ GroupableMixin),
|
|
@@ -3080,9 +3121,9 @@ var button_group_component = normalizeComponent(
|
|
|
3080
3121
|
;// CONCATENATED MODULE: ./components/button_group/index.js
|
|
3081
3122
|
|
|
3082
3123
|
|
|
3083
|
-
;// 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=
|
|
3084
|
-
var
|
|
3085
|
-
var
|
|
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=f9b55a7e&
|
|
3125
|
+
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()])}
|
|
3126
|
+
var comboboxvue_type_template_id_f9b55a7e_staticRenderFns = []
|
|
3086
3127
|
|
|
3087
3128
|
|
|
3088
3129
|
;// CONCATENATED MODULE: ./common/mixins/dom.js
|
|
@@ -4667,8 +4708,6 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
4667
4708
|
//
|
|
4668
4709
|
//
|
|
4669
4710
|
//
|
|
4670
|
-
//
|
|
4671
|
-
//
|
|
4672
4711
|
|
|
4673
4712
|
|
|
4674
4713
|
|
|
@@ -4750,6 +4789,14 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
4750
4789
|
default: false
|
|
4751
4790
|
},
|
|
4752
4791
|
|
|
4792
|
+
/**
|
|
4793
|
+
* Sets the list to an empty state, and displays the message from prop `emptyStateMessage`.
|
|
4794
|
+
*/
|
|
4795
|
+
emptyList: {
|
|
4796
|
+
type: Boolean,
|
|
4797
|
+
default: false
|
|
4798
|
+
},
|
|
4799
|
+
|
|
4753
4800
|
/**
|
|
4754
4801
|
* Message to show when the list is empty
|
|
4755
4802
|
*/
|
|
@@ -4792,9 +4839,7 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
4792
4839
|
// If the list is rendered at the root, rather than as a child
|
|
4793
4840
|
// of this component, this is the ref to that dom element. Set
|
|
4794
4841
|
// by the onOpen method.
|
|
4795
|
-
outsideRenderedListRef: null
|
|
4796
|
-
isListEmpty: undefined,
|
|
4797
|
-
isLoading: undefined
|
|
4842
|
+
outsideRenderedListRef: null
|
|
4798
4843
|
};
|
|
4799
4844
|
},
|
|
4800
4845
|
|
|
@@ -4810,149 +4855,750 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
4810
4855
|
};
|
|
4811
4856
|
},
|
|
4812
4857
|
|
|
4813
|
-
listProps() {
|
|
4814
|
-
return {
|
|
4815
|
-
role: 'listbox',
|
|
4816
|
-
id: this.listId,
|
|
4817
|
-
// The list has to be positioned relatively so that the auto-scroll can
|
|
4818
|
-
// calculate the correct offset for the list items.
|
|
4819
|
-
class: 'd-ps-relative',
|
|
4820
|
-
'aria-label': this.listAriaLabel
|
|
4821
|
-
};
|
|
4858
|
+
listProps() {
|
|
4859
|
+
return {
|
|
4860
|
+
role: 'listbox',
|
|
4861
|
+
id: this.listId,
|
|
4862
|
+
// The list has to be positioned relatively so that the auto-scroll can
|
|
4863
|
+
// calculate the correct offset for the list items.
|
|
4864
|
+
class: 'd-ps-relative',
|
|
4865
|
+
'aria-label': this.listAriaLabel
|
|
4866
|
+
};
|
|
4867
|
+
},
|
|
4868
|
+
|
|
4869
|
+
beginningOfListMethod() {
|
|
4870
|
+
return this.onBeginningOfList || this.jumpToEnd;
|
|
4871
|
+
},
|
|
4872
|
+
|
|
4873
|
+
endOfListMethod() {
|
|
4874
|
+
return this.onEndOfList || this.jumpToBeginning;
|
|
4875
|
+
},
|
|
4876
|
+
|
|
4877
|
+
activeItemId() {
|
|
4878
|
+
if (!this.showList || this.highlightIndex < 0 || this.loading) {
|
|
4879
|
+
return;
|
|
4880
|
+
}
|
|
4881
|
+
|
|
4882
|
+
return this.highlightId;
|
|
4883
|
+
},
|
|
4884
|
+
|
|
4885
|
+
activeItemEl() {
|
|
4886
|
+
if (!this.highlightId) return '';
|
|
4887
|
+
return this.getListElement().querySelector('#' + this.highlightId);
|
|
4888
|
+
}
|
|
4889
|
+
|
|
4890
|
+
},
|
|
4891
|
+
watch: {
|
|
4892
|
+
showList(showList) {
|
|
4893
|
+
// When the list's visibility changes reset the highlight index.
|
|
4894
|
+
if (!this.listRenderedOutside) {
|
|
4895
|
+
this.setInitialHighlightIndex();
|
|
4896
|
+
this.$emit('opened', showList);
|
|
4897
|
+
}
|
|
4898
|
+
|
|
4899
|
+
if (!showList && this.outsideRenderedListRef) {
|
|
4900
|
+
this.outsideRenderedListRef.removeEventListener('mousemove', this.onMouseHighlight);
|
|
4901
|
+
this.outsideRenderedListRef = null;
|
|
4902
|
+
}
|
|
4903
|
+
},
|
|
4904
|
+
|
|
4905
|
+
loading(loading) {
|
|
4906
|
+
this.$nextTick(() => {
|
|
4907
|
+
this.setInitialHighlightIndex();
|
|
4908
|
+
});
|
|
4909
|
+
},
|
|
4910
|
+
|
|
4911
|
+
$props: {
|
|
4912
|
+
deep: true,
|
|
4913
|
+
immediate: true,
|
|
4914
|
+
|
|
4915
|
+
handler() {
|
|
4916
|
+
this.validateEmptyListProps();
|
|
4917
|
+
}
|
|
4918
|
+
|
|
4919
|
+
}
|
|
4920
|
+
},
|
|
4921
|
+
|
|
4922
|
+
created() {
|
|
4923
|
+
this.validateEmptyListProps();
|
|
4924
|
+
},
|
|
4925
|
+
|
|
4926
|
+
methods: {
|
|
4927
|
+
onMouseHighlight(e) {
|
|
4928
|
+
if (this.loading) return;
|
|
4929
|
+
const liElement = e.target.closest('li');
|
|
4930
|
+
|
|
4931
|
+
if (liElement && this.highlightId !== liElement.id) {
|
|
4932
|
+
this.setHighlightId(liElement.id);
|
|
4933
|
+
}
|
|
4934
|
+
},
|
|
4935
|
+
|
|
4936
|
+
getListElement() {
|
|
4937
|
+
var _this$outsideRendered, _this$$refs$listWrapp;
|
|
4938
|
+
|
|
4939
|
+
return (_this$outsideRendered = this.outsideRenderedListRef) !== null && _this$outsideRendered !== void 0 ? _this$outsideRendered : (_this$$refs$listWrapp = this.$refs.listWrapper) === null || _this$$refs$listWrapp === void 0 ? void 0 : _this$$refs$listWrapp.querySelector("#".concat(this.listId));
|
|
4940
|
+
},
|
|
4941
|
+
|
|
4942
|
+
clearHighlightIndex() {
|
|
4943
|
+
if (this.showList) {
|
|
4944
|
+
this.setHighlightIndex(-1);
|
|
4945
|
+
}
|
|
4946
|
+
},
|
|
4947
|
+
|
|
4948
|
+
afterHighlight() {
|
|
4949
|
+
if (this.loading) return;
|
|
4950
|
+
this.$emit('highlight', this.highlightIndex);
|
|
4951
|
+
},
|
|
4952
|
+
|
|
4953
|
+
onEnterKey() {
|
|
4954
|
+
if (this.loading || this.emptyList) return;
|
|
4955
|
+
|
|
4956
|
+
if (this.highlightIndex >= 0) {
|
|
4957
|
+
this.$emit('select', this.highlightIndex);
|
|
4958
|
+
}
|
|
4959
|
+
},
|
|
4960
|
+
|
|
4961
|
+
onEscapeKey() {
|
|
4962
|
+
this.$emit('escape');
|
|
4963
|
+
},
|
|
4964
|
+
|
|
4965
|
+
onOpen(open, contentRef) {
|
|
4966
|
+
var _this$outsideRendered2;
|
|
4967
|
+
|
|
4968
|
+
this.outsideRenderedListRef = contentRef;
|
|
4969
|
+
(_this$outsideRendered2 = this.outsideRenderedListRef) === null || _this$outsideRendered2 === void 0 ? void 0 : _this$outsideRendered2.addEventListener('mousemove', this.onMouseHighlight);
|
|
4970
|
+
this.$emit('opened', open);
|
|
4971
|
+
|
|
4972
|
+
if (open) {
|
|
4973
|
+
this.setInitialHighlightIndex();
|
|
4974
|
+
}
|
|
4975
|
+
},
|
|
4976
|
+
|
|
4977
|
+
onKeyValidation(e, eventHandler) {
|
|
4978
|
+
if (!this.showList || !this.getListElement()) return;
|
|
4979
|
+
this[eventHandler](e);
|
|
4980
|
+
},
|
|
4981
|
+
|
|
4982
|
+
setInitialHighlightIndex() {
|
|
4983
|
+
if (!this.showList) return;
|
|
4984
|
+
this.$nextTick(() => {
|
|
4985
|
+
// When the list's is shown, reset the highlight index.
|
|
4986
|
+
// If the list is loading, set to -1
|
|
4987
|
+
this.setHighlightIndex(this.loading ? -1 : 0);
|
|
4988
|
+
});
|
|
4989
|
+
},
|
|
4990
|
+
|
|
4991
|
+
validateEmptyListProps() {
|
|
4992
|
+
if (this.emptyList && !this.emptyStateMessage || !this.emptyList && this.emptyStateMessage) {
|
|
4993
|
+
console.error("Invalid props: you must pass both props emptyList and emptyStateMessage to show the\n empty message.");
|
|
4994
|
+
}
|
|
4995
|
+
}
|
|
4996
|
+
|
|
4997
|
+
}
|
|
4998
|
+
});
|
|
4999
|
+
;// CONCATENATED MODULE: ./components/combobox/combobox.vue?vue&type=script&lang=js&
|
|
5000
|
+
/* harmony default export */ const combobox_comboboxvue_type_script_lang_js_ = (comboboxvue_type_script_lang_js_);
|
|
5001
|
+
;// CONCATENATED MODULE: ./components/combobox/combobox.vue
|
|
5002
|
+
|
|
5003
|
+
|
|
5004
|
+
|
|
5005
|
+
|
|
5006
|
+
|
|
5007
|
+
/* normalize component */
|
|
5008
|
+
;
|
|
5009
|
+
var combobox_component = normalizeComponent(
|
|
5010
|
+
combobox_comboboxvue_type_script_lang_js_,
|
|
5011
|
+
comboboxvue_type_template_id_f9b55a7e_render,
|
|
5012
|
+
comboboxvue_type_template_id_f9b55a7e_staticRenderFns,
|
|
5013
|
+
false,
|
|
5014
|
+
null,
|
|
5015
|
+
null,
|
|
5016
|
+
null
|
|
5017
|
+
|
|
5018
|
+
)
|
|
5019
|
+
|
|
5020
|
+
/* harmony default export */ const combobox = (combobox_component.exports);
|
|
5021
|
+
;// CONCATENATED MODULE: ./components/combobox/index.js
|
|
5022
|
+
|
|
5023
|
+
;// 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/collapsible/collapsible.vue?vue&type=template&id=81ed658c&
|
|
5024
|
+
var collapsiblevue_type_template_id_81ed658c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.elementType,_vm._g({ref:"collapsible",tag:"component"},_vm.$listeners),[_c('div',{ref:"anchor",class:[
|
|
5025
|
+
'd-dt-collapsibe__anchor',
|
|
5026
|
+
_vm.anchorClass ],attrs:{"id":!_vm.ariaLabelledBy && _vm.labelledBy},on:{"!click":function($event){return _vm.defaultToggleOpen.apply(null, arguments)},"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.defaultToggleOpen.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"space",32,$event.key,[" ","Spacebar"])){ return null; }return _vm.defaultToggleOpen.apply(null, arguments)}]}},[_vm._t("anchor",function(){return [_c('dt-button',{style:({
|
|
5027
|
+
'width': _vm.maxWidth,
|
|
5028
|
+
}),attrs:{"importance":"clear","kind":"muted","aria-controls":_vm.id,"aria-expanded":("" + _vm.isOpen)}},[(_vm.isOpen)?_c('icon-arrow-accordion-open',{staticClass:"d-svg--size18 d-mr8 d-fl-shrink0"}):_c('icon-arrow-accordion-closed',{staticClass:"d-svg--size18 d-mr8 d-fl-shrink0"}),_c('span',{staticClass:"d-mr-auto d-truncate",attrs:{"title":_vm.anchorText}},[_vm._v(" "+_vm._s(_vm.anchorText)+" ")])],1)]},{"attrs":{
|
|
5029
|
+
'aria-controls': _vm.id,
|
|
5030
|
+
'aria-expanded': _vm.isOpen.toString(),
|
|
5031
|
+
'role': 'button',
|
|
5032
|
+
}})],2),_c('dt-collapsible-lazy-show',_vm._g({ref:"contentWrapper",class:[
|
|
5033
|
+
'd-dt-collapsible__content',
|
|
5034
|
+
_vm.contentClass ],style:({
|
|
5035
|
+
'max-height': _vm.maxHeight,
|
|
5036
|
+
'max-width': _vm.maxWidth,
|
|
5037
|
+
}),attrs:{"id":_vm.id,"aria-hidden":("" + (!_vm.isOpen)),"aria-labelledby":_vm.labelledBy,"aria-label":_vm.ariaLabel,"show":_vm.isOpen,"element-type":_vm.contentElementType,"tabindex":"-1","appear":""},on:{"after-leave":_vm.onLeaveTransitionComplete,"after-enter":_vm.onEnterTransitionComplete}},_vm.$listeners),[_vm._t("content")],2)],1)}
|
|
5038
|
+
var collapsiblevue_type_template_id_81ed658c_staticRenderFns = []
|
|
5039
|
+
|
|
5040
|
+
|
|
5041
|
+
;// 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/collapsible/collapsible_lazy_show.vue?vue&type=template&id=22ec4864&
|
|
5042
|
+
var collapsible_lazy_showvue_type_template_id_22ec4864_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',_vm._g({attrs:{"appear":_vm.appear,"enter-active-class":"enter-active","leave-active-class":"leave-active"},on:{"before-enter":_vm.beforeEnter,"enter":_vm.enter,"after-enter":_vm.afterEnter,"before-leave":_vm.beforeLeave,"leave":_vm.leave,"after-leave":_vm.afterLeave}},_vm.$listeners),[_c(_vm.elementType,_vm._g({directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}],tag:"component"},_vm.$listeners),[(_vm.initialized)?_vm._t("default"):_vm._e()],2)],1)}
|
|
5043
|
+
var collapsible_lazy_showvue_type_template_id_22ec4864_staticRenderFns = []
|
|
5044
|
+
|
|
5045
|
+
|
|
5046
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/collapsible/collapsible_lazy_show.vue?vue&type=script&lang=js&
|
|
5047
|
+
//
|
|
5048
|
+
//
|
|
5049
|
+
//
|
|
5050
|
+
//
|
|
5051
|
+
//
|
|
5052
|
+
//
|
|
5053
|
+
//
|
|
5054
|
+
//
|
|
5055
|
+
//
|
|
5056
|
+
//
|
|
5057
|
+
//
|
|
5058
|
+
//
|
|
5059
|
+
//
|
|
5060
|
+
//
|
|
5061
|
+
//
|
|
5062
|
+
//
|
|
5063
|
+
//
|
|
5064
|
+
//
|
|
5065
|
+
//
|
|
5066
|
+
//
|
|
5067
|
+
//
|
|
5068
|
+
//
|
|
5069
|
+
//
|
|
5070
|
+
//
|
|
5071
|
+
/* harmony default export */ const collapsible_lazy_showvue_type_script_lang_js_ = ({
|
|
5072
|
+
name: 'DtCollapsibleLazyShow',
|
|
5073
|
+
|
|
5074
|
+
/******************
|
|
5075
|
+
* PROPS *
|
|
5076
|
+
******************/
|
|
5077
|
+
props: {
|
|
5078
|
+
/**
|
|
5079
|
+
* Whether the child slot is shown.
|
|
5080
|
+
*/
|
|
5081
|
+
show: Boolean,
|
|
5082
|
+
appear: {
|
|
5083
|
+
type: Boolean,
|
|
5084
|
+
default: false
|
|
5085
|
+
},
|
|
5086
|
+
elementType: {
|
|
5087
|
+
type: String,
|
|
5088
|
+
default: 'div'
|
|
5089
|
+
}
|
|
5090
|
+
},
|
|
5091
|
+
|
|
5092
|
+
/******************
|
|
5093
|
+
* DATA *
|
|
5094
|
+
******************/
|
|
5095
|
+
data() {
|
|
5096
|
+
return {
|
|
5097
|
+
initialized: !!this.show
|
|
5098
|
+
};
|
|
5099
|
+
},
|
|
5100
|
+
|
|
5101
|
+
/******************
|
|
5102
|
+
* WATCH *
|
|
5103
|
+
******************/
|
|
5104
|
+
watch: {
|
|
5105
|
+
show: function (newValue) {
|
|
5106
|
+
if (!newValue || this.initialized) return;
|
|
5107
|
+
this.initialized = true;
|
|
5108
|
+
}
|
|
5109
|
+
},
|
|
5110
|
+
methods: {
|
|
5111
|
+
/**
|
|
5112
|
+
* @param {HTMLElement} element
|
|
5113
|
+
*/
|
|
5114
|
+
beforeEnter(element) {
|
|
5115
|
+
requestAnimationFrame(() => {
|
|
5116
|
+
if (!element.style.height) {
|
|
5117
|
+
element.style.height = '0px';
|
|
5118
|
+
}
|
|
5119
|
+
|
|
5120
|
+
element.style.display = null;
|
|
5121
|
+
});
|
|
5122
|
+
},
|
|
5123
|
+
|
|
5124
|
+
/**
|
|
5125
|
+
* @param {HTMLElement} element
|
|
5126
|
+
*/
|
|
5127
|
+
enter(element) {
|
|
5128
|
+
requestAnimationFrame(() => {
|
|
5129
|
+
requestAnimationFrame(() => {
|
|
5130
|
+
element.style.height = "".concat(element.scrollHeight, "px");
|
|
5131
|
+
});
|
|
5132
|
+
});
|
|
5133
|
+
},
|
|
5134
|
+
|
|
5135
|
+
/**
|
|
5136
|
+
* @param {HTMLElement} element
|
|
5137
|
+
*/
|
|
5138
|
+
afterEnter(element) {
|
|
5139
|
+
element.style.height = null;
|
|
5140
|
+
},
|
|
5141
|
+
|
|
5142
|
+
/**
|
|
5143
|
+
* @param {HTMLElement} element
|
|
5144
|
+
*/
|
|
5145
|
+
beforeLeave(element) {
|
|
5146
|
+
requestAnimationFrame(() => {
|
|
5147
|
+
if (!element.style.height) {
|
|
5148
|
+
element.style.height = "".concat(element.offsetHeight, "px");
|
|
5149
|
+
}
|
|
5150
|
+
});
|
|
5151
|
+
},
|
|
5152
|
+
|
|
5153
|
+
/**
|
|
5154
|
+
* @param {HTMLElement} element
|
|
5155
|
+
*/
|
|
5156
|
+
leave(element) {
|
|
5157
|
+
requestAnimationFrame(() => {
|
|
5158
|
+
requestAnimationFrame(() => {
|
|
5159
|
+
element.style.height = '0px';
|
|
5160
|
+
});
|
|
5161
|
+
});
|
|
5162
|
+
},
|
|
5163
|
+
|
|
5164
|
+
/**
|
|
5165
|
+
* @param {HTMLElement} element
|
|
5166
|
+
*/
|
|
5167
|
+
afterLeave(element) {
|
|
5168
|
+
element.style.height = null;
|
|
5169
|
+
}
|
|
5170
|
+
|
|
5171
|
+
}
|
|
5172
|
+
});
|
|
5173
|
+
;// CONCATENATED MODULE: ./components/collapsible/collapsible_lazy_show.vue?vue&type=script&lang=js&
|
|
5174
|
+
/* harmony default export */ const collapsible_collapsible_lazy_showvue_type_script_lang_js_ = (collapsible_lazy_showvue_type_script_lang_js_);
|
|
5175
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-52[0].rules[0].use[0]!./node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-52[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-52[0].rules[0].use[2]!./node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-52[0].rules[0].use[3]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/collapsible/collapsible_lazy_show.vue?vue&type=style&index=0&lang=css&
|
|
5176
|
+
var collapsible_lazy_showvue_type_style_index_0_lang_css_ = __webpack_require__(275);
|
|
5177
|
+
;// CONCATENATED MODULE: ./components/collapsible/collapsible_lazy_show.vue?vue&type=style&index=0&lang=css&
|
|
5178
|
+
|
|
5179
|
+
;// CONCATENATED MODULE: ./components/collapsible/collapsible_lazy_show.vue
|
|
5180
|
+
|
|
5181
|
+
|
|
5182
|
+
|
|
5183
|
+
;
|
|
5184
|
+
|
|
5185
|
+
|
|
5186
|
+
/* normalize component */
|
|
5187
|
+
|
|
5188
|
+
var collapsible_lazy_show_component = normalizeComponent(
|
|
5189
|
+
collapsible_collapsible_lazy_showvue_type_script_lang_js_,
|
|
5190
|
+
collapsible_lazy_showvue_type_template_id_22ec4864_render,
|
|
5191
|
+
collapsible_lazy_showvue_type_template_id_22ec4864_staticRenderFns,
|
|
5192
|
+
false,
|
|
5193
|
+
null,
|
|
5194
|
+
null,
|
|
5195
|
+
null
|
|
5196
|
+
|
|
5197
|
+
)
|
|
5198
|
+
|
|
5199
|
+
/* harmony default export */ const collapsible_lazy_show = (collapsible_lazy_show_component.exports);
|
|
5200
|
+
;// 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/lazy_show/lazy_show.vue?vue&type=template&id=9ffa4e8c&
|
|
5201
|
+
var lazy_showvue_type_template_id_9ffa4e8c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',_vm._g({attrs:{"name":_vm.transition,"appear":_vm.appear}},_vm.$listeners),[_c('div',_vm._g({directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}]},_vm.$listeners),[(_vm.initialized)?_vm._t("default"):_vm._e()],2)])}
|
|
5202
|
+
var lazy_showvue_type_template_id_9ffa4e8c_staticRenderFns = []
|
|
5203
|
+
|
|
5204
|
+
|
|
5205
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/lazy_show/lazy_show.vue?vue&type=script&lang=js&
|
|
5206
|
+
//
|
|
5207
|
+
//
|
|
5208
|
+
//
|
|
5209
|
+
//
|
|
5210
|
+
//
|
|
5211
|
+
//
|
|
5212
|
+
//
|
|
5213
|
+
//
|
|
5214
|
+
//
|
|
5215
|
+
//
|
|
5216
|
+
//
|
|
5217
|
+
//
|
|
5218
|
+
//
|
|
5219
|
+
//
|
|
5220
|
+
//
|
|
5221
|
+
//
|
|
5222
|
+
/* harmony default export */ const lazy_showvue_type_script_lang_js_ = ({
|
|
5223
|
+
name: 'DtLazyShow',
|
|
5224
|
+
|
|
5225
|
+
/******************
|
|
5226
|
+
* PROPS *
|
|
5227
|
+
******************/
|
|
5228
|
+
props: {
|
|
5229
|
+
/**
|
|
5230
|
+
* Whether the child slot is shown.
|
|
5231
|
+
*/
|
|
5232
|
+
show: Boolean,
|
|
5233
|
+
|
|
5234
|
+
/**
|
|
5235
|
+
* A valid Vue enter/leave CSS transition name.
|
|
5236
|
+
*/
|
|
5237
|
+
transition: {
|
|
5238
|
+
type: String,
|
|
5239
|
+
default: null
|
|
5240
|
+
},
|
|
5241
|
+
appear: {
|
|
5242
|
+
type: Boolean,
|
|
5243
|
+
default: false
|
|
5244
|
+
}
|
|
5245
|
+
},
|
|
5246
|
+
|
|
5247
|
+
/******************
|
|
5248
|
+
* DATA *
|
|
5249
|
+
******************/
|
|
5250
|
+
data() {
|
|
5251
|
+
return {
|
|
5252
|
+
initialized: !!this.show
|
|
5253
|
+
};
|
|
5254
|
+
},
|
|
5255
|
+
|
|
5256
|
+
/******************
|
|
5257
|
+
* WATCH *
|
|
5258
|
+
******************/
|
|
5259
|
+
watch: {
|
|
5260
|
+
show: function (newValue) {
|
|
5261
|
+
if (!newValue || this.initialized) return;
|
|
5262
|
+
this.initialized = true;
|
|
5263
|
+
}
|
|
5264
|
+
}
|
|
5265
|
+
});
|
|
5266
|
+
;// CONCATENATED MODULE: ./components/lazy_show/lazy_show.vue?vue&type=script&lang=js&
|
|
5267
|
+
/* harmony default export */ const lazy_show_lazy_showvue_type_script_lang_js_ = (lazy_showvue_type_script_lang_js_);
|
|
5268
|
+
;// CONCATENATED MODULE: ./components/lazy_show/lazy_show.vue
|
|
5269
|
+
|
|
5270
|
+
|
|
5271
|
+
|
|
5272
|
+
|
|
5273
|
+
|
|
5274
|
+
/* normalize component */
|
|
5275
|
+
;
|
|
5276
|
+
var lazy_show_component = normalizeComponent(
|
|
5277
|
+
lazy_show_lazy_showvue_type_script_lang_js_,
|
|
5278
|
+
lazy_showvue_type_template_id_9ffa4e8c_render,
|
|
5279
|
+
lazy_showvue_type_template_id_9ffa4e8c_staticRenderFns,
|
|
5280
|
+
false,
|
|
5281
|
+
null,
|
|
5282
|
+
null,
|
|
5283
|
+
null
|
|
5284
|
+
|
|
5285
|
+
)
|
|
5286
|
+
|
|
5287
|
+
/* harmony default export */ const lazy_show = (lazy_show_component.exports);
|
|
5288
|
+
;// CONCATENATED MODULE: ./components/lazy_show/index.js
|
|
5289
|
+
|
|
5290
|
+
;// 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/IconArrowAccordionOpen.vue?vue&type=template&id=5f13df90&
|
|
5291
|
+
var IconArrowAccordionOpenvue_type_template_id_5f13df90_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__arrowAccordionOpen",attrs:{"aria-hidden":"true","aria-label":"Arrow Accordion Open","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"d":"M8.738 8a1 1 0 00-.865 1.502l3.262 5.614a1 1 0 001.73 0l3.262-5.614A1 1 0 0015.262 8H8.738z"}})])}
|
|
5292
|
+
var IconArrowAccordionOpenvue_type_template_id_5f13df90_staticRenderFns = []
|
|
5293
|
+
|
|
5294
|
+
|
|
5295
|
+
;// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconArrowAccordionOpen.vue
|
|
5296
|
+
|
|
5297
|
+
var IconArrowAccordionOpen_script = {}
|
|
5298
|
+
|
|
5299
|
+
|
|
5300
|
+
/* normalize component */
|
|
5301
|
+
;
|
|
5302
|
+
var IconArrowAccordionOpen_component = normalizeComponent(
|
|
5303
|
+
IconArrowAccordionOpen_script,
|
|
5304
|
+
IconArrowAccordionOpenvue_type_template_id_5f13df90_render,
|
|
5305
|
+
IconArrowAccordionOpenvue_type_template_id_5f13df90_staticRenderFns,
|
|
5306
|
+
false,
|
|
5307
|
+
null,
|
|
5308
|
+
null,
|
|
5309
|
+
null
|
|
5310
|
+
|
|
5311
|
+
)
|
|
5312
|
+
|
|
5313
|
+
/* harmony default export */ const IconArrowAccordionOpen = (IconArrowAccordionOpen_component.exports);
|
|
5314
|
+
;// 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/IconArrowAccordionClosed.vue?vue&type=template&id=8c8269ea&
|
|
5315
|
+
var IconArrowAccordionClosedvue_type_template_id_8c8269ea_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__arrowAccordionClosed",attrs:{"aria-hidden":"true","aria-label":"Arrow Accordion Closed","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"d":"M8 15.262a1 1 0 001.502.865l5.614-3.262a1 1 0 000-1.73L9.502 7.873A1 1 0 008 8.738v6.524z"}})])}
|
|
5316
|
+
var IconArrowAccordionClosedvue_type_template_id_8c8269ea_staticRenderFns = []
|
|
5317
|
+
|
|
5318
|
+
|
|
5319
|
+
;// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconArrowAccordionClosed.vue
|
|
5320
|
+
|
|
5321
|
+
var IconArrowAccordionClosed_script = {}
|
|
5322
|
+
|
|
5323
|
+
|
|
5324
|
+
/* normalize component */
|
|
5325
|
+
;
|
|
5326
|
+
var IconArrowAccordionClosed_component = normalizeComponent(
|
|
5327
|
+
IconArrowAccordionClosed_script,
|
|
5328
|
+
IconArrowAccordionClosedvue_type_template_id_8c8269ea_render,
|
|
5329
|
+
IconArrowAccordionClosedvue_type_template_id_8c8269ea_staticRenderFns,
|
|
5330
|
+
false,
|
|
5331
|
+
null,
|
|
5332
|
+
null,
|
|
5333
|
+
null
|
|
5334
|
+
|
|
5335
|
+
)
|
|
5336
|
+
|
|
5337
|
+
/* harmony default export */ const IconArrowAccordionClosed = (IconArrowAccordionClosed_component.exports);
|
|
5338
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/collapsible/collapsible.vue?vue&type=script&lang=js&
|
|
5339
|
+
//
|
|
5340
|
+
//
|
|
5341
|
+
//
|
|
5342
|
+
//
|
|
5343
|
+
//
|
|
5344
|
+
//
|
|
5345
|
+
//
|
|
5346
|
+
//
|
|
5347
|
+
//
|
|
5348
|
+
//
|
|
5349
|
+
//
|
|
5350
|
+
//
|
|
5351
|
+
//
|
|
5352
|
+
//
|
|
5353
|
+
//
|
|
5354
|
+
//
|
|
5355
|
+
//
|
|
5356
|
+
//
|
|
5357
|
+
//
|
|
5358
|
+
//
|
|
5359
|
+
//
|
|
5360
|
+
//
|
|
5361
|
+
//
|
|
5362
|
+
//
|
|
5363
|
+
//
|
|
5364
|
+
//
|
|
5365
|
+
//
|
|
5366
|
+
//
|
|
5367
|
+
//
|
|
5368
|
+
//
|
|
5369
|
+
//
|
|
5370
|
+
//
|
|
5371
|
+
//
|
|
5372
|
+
//
|
|
5373
|
+
//
|
|
5374
|
+
//
|
|
5375
|
+
//
|
|
5376
|
+
//
|
|
5377
|
+
//
|
|
5378
|
+
//
|
|
5379
|
+
//
|
|
5380
|
+
//
|
|
5381
|
+
//
|
|
5382
|
+
//
|
|
5383
|
+
//
|
|
5384
|
+
//
|
|
5385
|
+
//
|
|
5386
|
+
//
|
|
5387
|
+
//
|
|
5388
|
+
//
|
|
5389
|
+
//
|
|
5390
|
+
//
|
|
5391
|
+
//
|
|
5392
|
+
//
|
|
5393
|
+
//
|
|
5394
|
+
//
|
|
5395
|
+
//
|
|
5396
|
+
//
|
|
5397
|
+
//
|
|
5398
|
+
//
|
|
5399
|
+
//
|
|
5400
|
+
//
|
|
5401
|
+
//
|
|
5402
|
+
//
|
|
5403
|
+
//
|
|
5404
|
+
//
|
|
5405
|
+
//
|
|
5406
|
+
//
|
|
5407
|
+
//
|
|
5408
|
+
//
|
|
5409
|
+
//
|
|
5410
|
+
//
|
|
5411
|
+
//
|
|
5412
|
+
//
|
|
5413
|
+
//
|
|
5414
|
+
//
|
|
5415
|
+
//
|
|
5416
|
+
//
|
|
5417
|
+
//
|
|
5418
|
+
//
|
|
5419
|
+
//
|
|
5420
|
+
//
|
|
5421
|
+
//
|
|
5422
|
+
|
|
5423
|
+
|
|
5424
|
+
|
|
5425
|
+
|
|
5426
|
+
|
|
5427
|
+
|
|
5428
|
+
/* harmony default export */ const collapsiblevue_type_script_lang_js_ = ({
|
|
5429
|
+
name: 'DtCollapsible',
|
|
5430
|
+
components: {
|
|
5431
|
+
DtButton: button_button,
|
|
5432
|
+
DtCollapsibleLazyShow: collapsible_lazy_show,
|
|
5433
|
+
DtLazyShow: lazy_show,
|
|
5434
|
+
IconArrowAccordionOpen: IconArrowAccordionOpen,
|
|
5435
|
+
IconArrowAccordionClosed: IconArrowAccordionClosed
|
|
5436
|
+
},
|
|
5437
|
+
props: {
|
|
5438
|
+
/**
|
|
5439
|
+
* Text that is displayed on the anchor if nothing is passed in the slot.
|
|
5440
|
+
* Ignored if the anchor slot is used.
|
|
5441
|
+
*/
|
|
5442
|
+
anchorText: {
|
|
5443
|
+
type: String,
|
|
5444
|
+
default: null
|
|
5445
|
+
},
|
|
5446
|
+
|
|
5447
|
+
/**
|
|
5448
|
+
* Controls whether the collapsible is shown. Leaving this null will have the collapsible start
|
|
5449
|
+
* expanded and trigger on click by default. If you set this value, the default trigger
|
|
5450
|
+
* behavior will be disabled and you can control it as you need.
|
|
5451
|
+
* Supports .sync modifier
|
|
5452
|
+
*/
|
|
5453
|
+
open: {
|
|
5454
|
+
type: Boolean,
|
|
5455
|
+
default: null
|
|
5456
|
+
},
|
|
5457
|
+
|
|
5458
|
+
/**
|
|
5459
|
+
* The id of the content wrapper.
|
|
5460
|
+
*/
|
|
5461
|
+
id: {
|
|
5462
|
+
type: String,
|
|
5463
|
+
|
|
5464
|
+
default() {
|
|
5465
|
+
return getUniqueString();
|
|
5466
|
+
}
|
|
5467
|
+
|
|
5468
|
+
},
|
|
5469
|
+
|
|
5470
|
+
/**
|
|
5471
|
+
* Element type (tag name) of the root element of the component.
|
|
5472
|
+
*/
|
|
5473
|
+
elementType: {
|
|
5474
|
+
type: String,
|
|
5475
|
+
default: 'div'
|
|
5476
|
+
},
|
|
5477
|
+
|
|
5478
|
+
/**
|
|
5479
|
+
* Element type (tag name) of the content wrapper element.
|
|
5480
|
+
*/
|
|
5481
|
+
contentElementType: {
|
|
5482
|
+
type: String,
|
|
5483
|
+
default: 'div'
|
|
5484
|
+
},
|
|
5485
|
+
|
|
5486
|
+
/**
|
|
5487
|
+
* Additional class name for the anchor wrapper element.
|
|
5488
|
+
*/
|
|
5489
|
+
anchorClass: {
|
|
5490
|
+
type: [String, Array, Object],
|
|
5491
|
+
default: null
|
|
4822
5492
|
},
|
|
4823
5493
|
|
|
4824
|
-
|
|
4825
|
-
|
|
5494
|
+
/**
|
|
5495
|
+
* Additional class name for the content wrapper element.
|
|
5496
|
+
*/
|
|
5497
|
+
contentClass: {
|
|
5498
|
+
type: [String, Array, Object],
|
|
5499
|
+
default: null
|
|
4826
5500
|
},
|
|
4827
5501
|
|
|
4828
|
-
|
|
4829
|
-
|
|
5502
|
+
/**
|
|
5503
|
+
* The maximum width of the anchor and collapsible element.
|
|
5504
|
+
* Possible units rem|px|%|em
|
|
5505
|
+
*/
|
|
5506
|
+
maxWidth: {
|
|
5507
|
+
type: String,
|
|
5508
|
+
default: null
|
|
4830
5509
|
},
|
|
4831
5510
|
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
5511
|
+
/**
|
|
5512
|
+
* The maximum height of the collapsible element.
|
|
5513
|
+
* Possible units rem|px|%|em
|
|
5514
|
+
*/
|
|
5515
|
+
maxHeight: {
|
|
5516
|
+
type: String,
|
|
5517
|
+
default: null
|
|
5518
|
+
},
|
|
4836
5519
|
|
|
4837
|
-
|
|
5520
|
+
/**
|
|
5521
|
+
* Label on the collapsible content. Should provide this or ariaLabelledBy but not both.
|
|
5522
|
+
*/
|
|
5523
|
+
ariaLabel: {
|
|
5524
|
+
type: String,
|
|
5525
|
+
default: null
|
|
4838
5526
|
},
|
|
4839
5527
|
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
5528
|
+
/**
|
|
5529
|
+
* Id of the element that labels the collapsible content. Defaults to the anchor element.
|
|
5530
|
+
* Should provide this or ariaLabel but not both.
|
|
5531
|
+
*/
|
|
5532
|
+
ariaLabelledBy: {
|
|
5533
|
+
type: String,
|
|
5534
|
+
default: null
|
|
4843
5535
|
}
|
|
5536
|
+
},
|
|
5537
|
+
emits: ['update:open', 'opened'],
|
|
4844
5538
|
|
|
5539
|
+
data() {
|
|
5540
|
+
return {
|
|
5541
|
+
isOpen: true
|
|
5542
|
+
};
|
|
4845
5543
|
},
|
|
4846
|
-
watch: {
|
|
4847
|
-
showList(showList) {
|
|
4848
|
-
// When the list's visibility changes reset the highlight index.
|
|
4849
|
-
if (!this.listRenderedOutside) {
|
|
4850
|
-
this.setInitialHighlightIndex();
|
|
4851
|
-
this.$emit('opened', showList);
|
|
4852
|
-
}
|
|
4853
5544
|
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
5545
|
+
computed: {
|
|
5546
|
+
labelledBy() {
|
|
5547
|
+
// aria-labelledby should be set only if aria-labelledby is passed as a prop, or if
|
|
5548
|
+
// there is no aria-label and the labelledby should point to the anchor
|
|
5549
|
+
return this.ariaLabelledby || !this.ariaLabel && getUniqueString('DtCollapsible__anchor');
|
|
4859
5550
|
},
|
|
4860
5551
|
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
this.setInitialHighlightIndex();
|
|
4867
|
-
});
|
|
5552
|
+
contentStyle() {
|
|
5553
|
+
return {
|
|
5554
|
+
'max-height': this.maxHeight,
|
|
5555
|
+
'max-width': this.maxWidth
|
|
5556
|
+
};
|
|
4868
5557
|
}
|
|
4869
5558
|
|
|
4870
5559
|
},
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
5560
|
+
watch: {
|
|
5561
|
+
open: {
|
|
5562
|
+
handler: function (open) {
|
|
5563
|
+
if (open !== null) {
|
|
5564
|
+
this.isOpen = open;
|
|
5565
|
+
}
|
|
5566
|
+
},
|
|
5567
|
+
immediate: true
|
|
5568
|
+
}
|
|
4876
5569
|
},
|
|
4877
|
-
|
|
4878
5570
|
methods: {
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
const liElement = e.target.closest('li');
|
|
4882
|
-
|
|
4883
|
-
if (liElement && this.highlightId !== liElement.id) {
|
|
4884
|
-
this.setHighlightId(liElement.id);
|
|
4885
|
-
}
|
|
4886
|
-
},
|
|
4887
|
-
|
|
4888
|
-
getListElement() {
|
|
4889
|
-
var _this$outsideRendered, _this$$refs$listWrapp;
|
|
4890
|
-
|
|
4891
|
-
return (_this$outsideRendered = this.outsideRenderedListRef) !== null && _this$outsideRendered !== void 0 ? _this$outsideRendered : (_this$$refs$listWrapp = this.$refs.listWrapper) === null || _this$$refs$listWrapp === void 0 ? void 0 : _this$$refs$listWrapp.querySelector("#".concat(this.listId));
|
|
4892
|
-
},
|
|
5571
|
+
onLeaveTransitionComplete() {
|
|
5572
|
+
this.$emit('opened', false);
|
|
4893
5573
|
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
this.setHighlightIndex(-1);
|
|
5574
|
+
if (this.open !== null) {
|
|
5575
|
+
this.$emit('update:open', false);
|
|
4897
5576
|
}
|
|
4898
5577
|
},
|
|
4899
5578
|
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
this.$emit('highlight', this.highlightIndex);
|
|
4903
|
-
},
|
|
4904
|
-
|
|
4905
|
-
onEnterKey() {
|
|
4906
|
-
if (this.loading || this.isListEmpty) return;
|
|
5579
|
+
onEnterTransitionComplete() {
|
|
5580
|
+
this.$emit('opened', true, this.$refs.content);
|
|
4907
5581
|
|
|
4908
|
-
if (this.
|
|
4909
|
-
this.$emit('
|
|
5582
|
+
if (this.open !== null) {
|
|
5583
|
+
this.$emit('update:open', true);
|
|
4910
5584
|
}
|
|
4911
5585
|
},
|
|
4912
5586
|
|
|
4913
|
-
|
|
4914
|
-
this
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
onOpen(open, contentRef) {
|
|
4918
|
-
var _this$outsideRendered2;
|
|
4919
|
-
|
|
4920
|
-
this.outsideRenderedListRef = contentRef;
|
|
4921
|
-
(_this$outsideRendered2 = this.outsideRenderedListRef) === null || _this$outsideRendered2 === void 0 ? void 0 : _this$outsideRendered2.addEventListener('mousemove', this.onMouseHighlight);
|
|
4922
|
-
this.$emit('opened', open);
|
|
4923
|
-
|
|
4924
|
-
if (open) {
|
|
4925
|
-
this.isListEmpty = this.checkItemsLength();
|
|
4926
|
-
this.setInitialHighlightIndex();
|
|
5587
|
+
defaultToggleOpen() {
|
|
5588
|
+
if (this.open === null) {
|
|
5589
|
+
this.toggleOpen();
|
|
4927
5590
|
}
|
|
4928
5591
|
},
|
|
4929
5592
|
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
this[eventHandler](e);
|
|
4933
|
-
},
|
|
4934
|
-
|
|
4935
|
-
setInitialHighlightIndex() {
|
|
4936
|
-
if (!this.showList) return;
|
|
4937
|
-
this.$nextTick(() => {
|
|
4938
|
-
// When the list's is shown, reset the highlight index.
|
|
4939
|
-
// If the list is loading, set to -1
|
|
4940
|
-
this.setHighlightIndex(this.loading ? -1 : 0);
|
|
4941
|
-
});
|
|
4942
|
-
},
|
|
4943
|
-
|
|
4944
|
-
checkItemsLength() {
|
|
4945
|
-
if (!this.showList) return undefined;
|
|
4946
|
-
const list = this.getListElement();
|
|
4947
|
-
const options = list === null || list === void 0 ? void 0 : list.querySelectorAll("[role=\"option\"]");
|
|
4948
|
-
return (options === null || options === void 0 ? void 0 : options.length) === 0;
|
|
5593
|
+
toggleOpen() {
|
|
5594
|
+
this.isOpen = !this.isOpen;
|
|
4949
5595
|
}
|
|
4950
5596
|
|
|
4951
5597
|
}
|
|
4952
5598
|
});
|
|
4953
|
-
;// CONCATENATED MODULE: ./components/
|
|
4954
|
-
/* harmony default export */ const
|
|
4955
|
-
;// CONCATENATED MODULE: ./components/
|
|
5599
|
+
;// CONCATENATED MODULE: ./components/collapsible/collapsible.vue?vue&type=script&lang=js&
|
|
5600
|
+
/* harmony default export */ const collapsible_collapsiblevue_type_script_lang_js_ = (collapsiblevue_type_script_lang_js_);
|
|
5601
|
+
;// CONCATENATED MODULE: ./components/collapsible/collapsible.vue
|
|
4956
5602
|
|
|
4957
5603
|
|
|
4958
5604
|
|
|
@@ -4960,10 +5606,10 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
4960
5606
|
|
|
4961
5607
|
/* normalize component */
|
|
4962
5608
|
;
|
|
4963
|
-
var
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
5609
|
+
var collapsible_component = normalizeComponent(
|
|
5610
|
+
collapsible_collapsiblevue_type_script_lang_js_,
|
|
5611
|
+
collapsiblevue_type_template_id_81ed658c_render,
|
|
5612
|
+
collapsiblevue_type_template_id_81ed658c_staticRenderFns,
|
|
4967
5613
|
false,
|
|
4968
5614
|
null,
|
|
4969
5615
|
null,
|
|
@@ -4971,8 +5617,8 @@ var combobox_component = normalizeComponent(
|
|
|
4971
5617
|
|
|
4972
5618
|
)
|
|
4973
5619
|
|
|
4974
|
-
/* harmony default export */ const
|
|
4975
|
-
;// CONCATENATED MODULE: ./components/
|
|
5620
|
+
/* harmony default export */ const collapsible = (collapsible_component.exports);
|
|
5621
|
+
;// CONCATENATED MODULE: ./components/collapsible/index.js
|
|
4976
5622
|
|
|
4977
5623
|
;// 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/dropdown/dropdown.vue?vue&type=template&id=230c0da9&
|
|
4978
5624
|
var dropdownvue_type_template_id_230c0da9_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-popover',_vm._g({ref:"popover",attrs:{"content-width":_vm.contentWidth,"open":_vm.open,"placement":_vm.placement,"initial-focus-element":_vm.openedWithKeyboard ? 'first' : 'dialog',"fallback-placements":_vm.fallbackPlacements,"padding":"none","role":"menu","modal":_vm.modal,"max-height":_vm.maxHeight,"max-width":_vm.maxWidth,"open-with-arrow-keys":true},on:{"opened":_vm.updateInitialHighlightIndex,"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.onEnterKey.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"space",32,$event.key,[" ","Spacebar"])){ return null; }return _vm.onSpaceKey.apply(null, arguments)},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, 'onUpKeyPress')},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, 'onDownKeyPress')},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, 'onHomeKeyPress')},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, 'onEndKeyPress')},function($event){return _vm.onKeyValidation($event, 'onKeyPress')}]},scopedSlots:_vm._u([{key:"anchor",fn:function(ref){
|
|
@@ -9493,94 +10139,6 @@ const POPOVER_CONTENT_WIDTHS = [null, 'anchor'];
|
|
|
9493
10139
|
const POPOVER_INITIAL_FOCUS_STRINGS = ['none', 'dialog', 'first'];
|
|
9494
10140
|
const POPOVER_STICKY_VALUES = [...TIPPY_STICKY_VALUES];
|
|
9495
10141
|
const POPOVER_DIRECTIONS = [...BASE_TIPPY_DIRECTIONS];
|
|
9496
|
-
;// 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/lazy_show/lazy_show.vue?vue&type=template&id=9ffa4e8c&
|
|
9497
|
-
var lazy_showvue_type_template_id_9ffa4e8c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',_vm._g({attrs:{"name":_vm.transition,"appear":_vm.appear}},_vm.$listeners),[_c('div',_vm._g({directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}]},_vm.$listeners),[(_vm.initialized)?_vm._t("default"):_vm._e()],2)])}
|
|
9498
|
-
var lazy_showvue_type_template_id_9ffa4e8c_staticRenderFns = []
|
|
9499
|
-
|
|
9500
|
-
|
|
9501
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/lazy_show/lazy_show.vue?vue&type=script&lang=js&
|
|
9502
|
-
//
|
|
9503
|
-
//
|
|
9504
|
-
//
|
|
9505
|
-
//
|
|
9506
|
-
//
|
|
9507
|
-
//
|
|
9508
|
-
//
|
|
9509
|
-
//
|
|
9510
|
-
//
|
|
9511
|
-
//
|
|
9512
|
-
//
|
|
9513
|
-
//
|
|
9514
|
-
//
|
|
9515
|
-
//
|
|
9516
|
-
//
|
|
9517
|
-
//
|
|
9518
|
-
/* harmony default export */ const lazy_showvue_type_script_lang_js_ = ({
|
|
9519
|
-
name: 'DtLazyShow',
|
|
9520
|
-
|
|
9521
|
-
/******************
|
|
9522
|
-
* PROPS *
|
|
9523
|
-
******************/
|
|
9524
|
-
props: {
|
|
9525
|
-
/**
|
|
9526
|
-
* Whether the child slot is shown.
|
|
9527
|
-
*/
|
|
9528
|
-
show: Boolean,
|
|
9529
|
-
|
|
9530
|
-
/**
|
|
9531
|
-
* A valid Vue enter/leave CSS transition name.
|
|
9532
|
-
*/
|
|
9533
|
-
transition: {
|
|
9534
|
-
type: String,
|
|
9535
|
-
default: null
|
|
9536
|
-
},
|
|
9537
|
-
appear: {
|
|
9538
|
-
type: Boolean,
|
|
9539
|
-
default: false
|
|
9540
|
-
}
|
|
9541
|
-
},
|
|
9542
|
-
|
|
9543
|
-
/******************
|
|
9544
|
-
* DATA *
|
|
9545
|
-
******************/
|
|
9546
|
-
data() {
|
|
9547
|
-
return {
|
|
9548
|
-
initialized: !!this.show
|
|
9549
|
-
};
|
|
9550
|
-
},
|
|
9551
|
-
|
|
9552
|
-
/******************
|
|
9553
|
-
* WATCH *
|
|
9554
|
-
******************/
|
|
9555
|
-
watch: {
|
|
9556
|
-
show: function (newValue) {
|
|
9557
|
-
if (!newValue || this.initialized) return;
|
|
9558
|
-
this.initialized = true;
|
|
9559
|
-
}
|
|
9560
|
-
}
|
|
9561
|
-
});
|
|
9562
|
-
;// CONCATENATED MODULE: ./components/lazy_show/lazy_show.vue?vue&type=script&lang=js&
|
|
9563
|
-
/* harmony default export */ const lazy_show_lazy_showvue_type_script_lang_js_ = (lazy_showvue_type_script_lang_js_);
|
|
9564
|
-
;// CONCATENATED MODULE: ./components/lazy_show/lazy_show.vue
|
|
9565
|
-
|
|
9566
|
-
|
|
9567
|
-
|
|
9568
|
-
|
|
9569
|
-
|
|
9570
|
-
/* normalize component */
|
|
9571
|
-
;
|
|
9572
|
-
var lazy_show_component = normalizeComponent(
|
|
9573
|
-
lazy_show_lazy_showvue_type_script_lang_js_,
|
|
9574
|
-
lazy_showvue_type_template_id_9ffa4e8c_render,
|
|
9575
|
-
lazy_showvue_type_template_id_9ffa4e8c_staticRenderFns,
|
|
9576
|
-
false,
|
|
9577
|
-
null,
|
|
9578
|
-
null,
|
|
9579
|
-
null
|
|
9580
|
-
|
|
9581
|
-
)
|
|
9582
|
-
|
|
9583
|
-
/* harmony default export */ const lazy_show = (lazy_show_component.exports);
|
|
9584
10142
|
;// CONCATENATED MODULE: ./node_modules/nanoid/non-secure/index.js
|
|
9585
10143
|
let urlAlphabet =
|
|
9586
10144
|
'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict'
|
|
@@ -12832,8 +13390,6 @@ var modal_component = normalizeComponent(
|
|
|
12832
13390
|
;// CONCATENATED MODULE: ./components/modal/index.js
|
|
12833
13391
|
|
|
12834
13392
|
|
|
12835
|
-
;// CONCATENATED MODULE: ./components/lazy_show/index.js
|
|
12836
|
-
|
|
12837
13393
|
;// 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_section/list_section.vue?vue&type=template&id=8857acea&
|
|
12838
13394
|
var list_sectionvue_type_template_id_8857acea_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['dt-list-section', 'd-fs14', 'd-lh6', 'd-py6', 'd-bc-black-200',
|
|
12839
13395
|
{ 'd-bb': _vm.separator }],attrs:{"id":_vm.id,"role":"group","aria-labelledby":(_vm.id + "-list-section-header"),"tabindex":"-1"}},[(_vm.header)?_c('h3',{staticClass:"d-pl12 d-mt6",attrs:{"id":(_vm.id + "-list-section-header")}},[_vm._v(" "+_vm._s(_vm.header)+" ")]):_vm._e(),(!_vm.isCollapsible || _vm.showAll)?_c('ol',{attrs:{"id":(_vm.id + "-list-section-content")}},[_vm._t("default")],2):_c('ol',{attrs:{"id":(_vm.id + "-list-section-content")}},[_c('vnodes',{attrs:{"vnodes":_vm.displayedItems}})],1),_c('div',{staticClass:"d-d-flex"},[(_vm.isCollapsible)?_c('dt-button',{staticClass:"d-ml12 d-py6",attrs:{"id":(_vm.id + "-list-section-show-more-less"),"link":""},on:{"click":_vm.showMoreLessClicked}},[_vm._v(" "+_vm._s(_vm.showMoreLessText)+" ")]):_vm._e(),_vm._t("footer")],2)])}
|
|
@@ -16805,17 +17361,15 @@ var root_layout_component = normalizeComponent(
|
|
|
16805
17361
|
;// CONCATENATED MODULE: ./components/root_layout/index.js
|
|
16806
17362
|
|
|
16807
17363
|
|
|
16808
|
-
;// 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=
|
|
16809
|
-
var
|
|
17364
|
+
;// 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=58cb1065&
|
|
17365
|
+
var combobox_with_popovervue_type_template_id_58cb1065_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){
|
|
16810
17366
|
var inputProps = ref.inputProps;
|
|
16811
17367
|
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){
|
|
16812
17368
|
var opened = ref.opened;
|
|
16813
17369
|
var listProps = ref.listProps;
|
|
16814
17370
|
var clearHighlightIndex = ref.clearHighlightIndex;
|
|
16815
|
-
|
|
16816
|
-
var
|
|
16817
|
-
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))}
|
|
16818
|
-
var combobox_with_popovervue_type_template_id_5ee1c401_staticRenderFns = []
|
|
17371
|
+
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))}
|
|
17372
|
+
var combobox_with_popovervue_type_template_id_58cb1065_staticRenderFns = []
|
|
16819
17373
|
|
|
16820
17374
|
|
|
16821
17375
|
;// 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&
|
|
@@ -16917,6 +17471,8 @@ var combobox_with_popovervue_type_template_id_5ee1c401_staticRenderFns = []
|
|
|
16917
17471
|
//
|
|
16918
17472
|
//
|
|
16919
17473
|
//
|
|
17474
|
+
//
|
|
17475
|
+
//
|
|
16920
17476
|
|
|
16921
17477
|
|
|
16922
17478
|
|
|
@@ -17070,6 +17626,14 @@ var combobox_with_popovervue_type_template_id_5ee1c401_staticRenderFns = []
|
|
|
17070
17626
|
default: false
|
|
17071
17627
|
},
|
|
17072
17628
|
|
|
17629
|
+
/**
|
|
17630
|
+
* Sets the list to an empty state, and displays the message from prop `emptyStateMessage`.
|
|
17631
|
+
*/
|
|
17632
|
+
emptyList: {
|
|
17633
|
+
type: Boolean,
|
|
17634
|
+
default: false
|
|
17635
|
+
},
|
|
17636
|
+
|
|
17073
17637
|
/**
|
|
17074
17638
|
* Message to show when the list is empty
|
|
17075
17639
|
*/
|
|
@@ -17210,8 +17774,8 @@ var combobox_with_popovervue_type_template_id_5ee1c401_staticRenderFns = []
|
|
|
17210
17774
|
;
|
|
17211
17775
|
var combobox_with_popover_component = normalizeComponent(
|
|
17212
17776
|
combobox_with_popover_combobox_with_popovervue_type_script_lang_js_,
|
|
17213
|
-
|
|
17214
|
-
|
|
17777
|
+
combobox_with_popovervue_type_template_id_58cb1065_render,
|
|
17778
|
+
combobox_with_popovervue_type_template_id_58cb1065_staticRenderFns,
|
|
17215
17779
|
false,
|
|
17216
17780
|
null,
|
|
17217
17781
|
null,
|
|
@@ -18219,6 +18783,7 @@ var top_banner_info_component = normalizeComponent(
|
|
|
18219
18783
|
|
|
18220
18784
|
|
|
18221
18785
|
|
|
18786
|
+
|
|
18222
18787
|
|
|
18223
18788
|
|
|
18224
18789
|
/// Recipes
|