@dialpad/dialtone-vue 2.21.0 → 2.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dialtone-vue.common.js +747 -195
- package/dist/dialtone-vue.umd.js +747 -195
- 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),
|
|
@@ -4821,138 +4862,738 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
4821
4862
|
};
|
|
4822
4863
|
},
|
|
4823
4864
|
|
|
4824
|
-
beginningOfListMethod() {
|
|
4825
|
-
return this.onBeginningOfList || this.jumpToEnd;
|
|
4865
|
+
beginningOfListMethod() {
|
|
4866
|
+
return this.onBeginningOfList || this.jumpToEnd;
|
|
4867
|
+
},
|
|
4868
|
+
|
|
4869
|
+
endOfListMethod() {
|
|
4870
|
+
return this.onEndOfList || this.jumpToBeginning;
|
|
4871
|
+
},
|
|
4872
|
+
|
|
4873
|
+
activeItemId() {
|
|
4874
|
+
if (!this.showList || this.highlightIndex < 0 || this.loading) {
|
|
4875
|
+
return;
|
|
4876
|
+
}
|
|
4877
|
+
|
|
4878
|
+
return this.highlightId;
|
|
4879
|
+
},
|
|
4880
|
+
|
|
4881
|
+
activeItemEl() {
|
|
4882
|
+
if (!this.highlightId) return '';
|
|
4883
|
+
return this.getListElement().querySelector('#' + this.highlightId);
|
|
4884
|
+
}
|
|
4885
|
+
|
|
4886
|
+
},
|
|
4887
|
+
watch: {
|
|
4888
|
+
showList(showList) {
|
|
4889
|
+
// When the list's visibility changes reset the highlight index.
|
|
4890
|
+
if (!this.listRenderedOutside) {
|
|
4891
|
+
this.setInitialHighlightIndex();
|
|
4892
|
+
this.$emit('opened', showList);
|
|
4893
|
+
}
|
|
4894
|
+
|
|
4895
|
+
if (!showList && this.outsideRenderedListRef) {
|
|
4896
|
+
this.outsideRenderedListRef.removeEventListener('mousemove', this.onMouseHighlight);
|
|
4897
|
+
this.outsideRenderedListRef = null;
|
|
4898
|
+
this.isListEmpty = undefined;
|
|
4899
|
+
}
|
|
4900
|
+
},
|
|
4901
|
+
|
|
4902
|
+
loading(isLoading) {
|
|
4903
|
+
this.isListEmpty = undefined;
|
|
4904
|
+
this.isLoading = isLoading;
|
|
4905
|
+
this.$nextTick(() => {
|
|
4906
|
+
this.isListEmpty = this.checkItemsLength();
|
|
4907
|
+
this.setInitialHighlightIndex();
|
|
4908
|
+
});
|
|
4909
|
+
}
|
|
4910
|
+
|
|
4911
|
+
},
|
|
4912
|
+
|
|
4913
|
+
async mounted() {
|
|
4914
|
+
this.isLoading = this.loading;
|
|
4915
|
+
await this.$nextTick();
|
|
4916
|
+
this.isListEmpty = this.checkItemsLength();
|
|
4917
|
+
},
|
|
4918
|
+
|
|
4919
|
+
methods: {
|
|
4920
|
+
onMouseHighlight(e) {
|
|
4921
|
+
if (this.loading) return;
|
|
4922
|
+
const liElement = e.target.closest('li');
|
|
4923
|
+
|
|
4924
|
+
if (liElement && this.highlightId !== liElement.id) {
|
|
4925
|
+
this.setHighlightId(liElement.id);
|
|
4926
|
+
}
|
|
4927
|
+
},
|
|
4928
|
+
|
|
4929
|
+
getListElement() {
|
|
4930
|
+
var _this$outsideRendered, _this$$refs$listWrapp;
|
|
4931
|
+
|
|
4932
|
+
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));
|
|
4933
|
+
},
|
|
4934
|
+
|
|
4935
|
+
clearHighlightIndex() {
|
|
4936
|
+
if (this.showList) {
|
|
4937
|
+
this.setHighlightIndex(-1);
|
|
4938
|
+
}
|
|
4939
|
+
},
|
|
4940
|
+
|
|
4941
|
+
afterHighlight() {
|
|
4942
|
+
if (this.loading) return;
|
|
4943
|
+
this.$emit('highlight', this.highlightIndex);
|
|
4944
|
+
},
|
|
4945
|
+
|
|
4946
|
+
onEnterKey() {
|
|
4947
|
+
if (this.loading || this.isListEmpty) return;
|
|
4948
|
+
|
|
4949
|
+
if (this.highlightIndex >= 0) {
|
|
4950
|
+
this.$emit('select', this.highlightIndex);
|
|
4951
|
+
}
|
|
4952
|
+
},
|
|
4953
|
+
|
|
4954
|
+
onEscapeKey() {
|
|
4955
|
+
this.$emit('escape');
|
|
4956
|
+
},
|
|
4957
|
+
|
|
4958
|
+
onOpen(open, contentRef) {
|
|
4959
|
+
var _this$outsideRendered2;
|
|
4960
|
+
|
|
4961
|
+
this.outsideRenderedListRef = contentRef;
|
|
4962
|
+
(_this$outsideRendered2 = this.outsideRenderedListRef) === null || _this$outsideRendered2 === void 0 ? void 0 : _this$outsideRendered2.addEventListener('mousemove', this.onMouseHighlight);
|
|
4963
|
+
this.$emit('opened', open);
|
|
4964
|
+
|
|
4965
|
+
if (open) {
|
|
4966
|
+
this.isListEmpty = this.checkItemsLength();
|
|
4967
|
+
this.setInitialHighlightIndex();
|
|
4968
|
+
}
|
|
4969
|
+
},
|
|
4970
|
+
|
|
4971
|
+
onKeyValidation(e, eventHandler) {
|
|
4972
|
+
if (!this.showList || !this.getListElement()) return;
|
|
4973
|
+
this[eventHandler](e);
|
|
4974
|
+
},
|
|
4975
|
+
|
|
4976
|
+
setInitialHighlightIndex() {
|
|
4977
|
+
if (!this.showList) return;
|
|
4978
|
+
this.$nextTick(() => {
|
|
4979
|
+
// When the list's is shown, reset the highlight index.
|
|
4980
|
+
// If the list is loading, set to -1
|
|
4981
|
+
this.setHighlightIndex(this.loading ? -1 : 0);
|
|
4982
|
+
});
|
|
4983
|
+
},
|
|
4984
|
+
|
|
4985
|
+
checkItemsLength() {
|
|
4986
|
+
if (!this.showList) return undefined;
|
|
4987
|
+
const list = this.getListElement();
|
|
4988
|
+
const options = list === null || list === void 0 ? void 0 : list.querySelectorAll("[role=\"option\"]");
|
|
4989
|
+
return (options === null || options === void 0 ? void 0 : options.length) === 0;
|
|
4990
|
+
}
|
|
4991
|
+
|
|
4992
|
+
}
|
|
4993
|
+
});
|
|
4994
|
+
;// CONCATENATED MODULE: ./components/combobox/combobox.vue?vue&type=script&lang=js&
|
|
4995
|
+
/* harmony default export */ const combobox_comboboxvue_type_script_lang_js_ = (comboboxvue_type_script_lang_js_);
|
|
4996
|
+
;// CONCATENATED MODULE: ./components/combobox/combobox.vue
|
|
4997
|
+
|
|
4998
|
+
|
|
4999
|
+
|
|
5000
|
+
|
|
5001
|
+
|
|
5002
|
+
/* normalize component */
|
|
5003
|
+
;
|
|
5004
|
+
var combobox_component = normalizeComponent(
|
|
5005
|
+
combobox_comboboxvue_type_script_lang_js_,
|
|
5006
|
+
comboboxvue_type_template_id_25daf05b_render,
|
|
5007
|
+
comboboxvue_type_template_id_25daf05b_staticRenderFns,
|
|
5008
|
+
false,
|
|
5009
|
+
null,
|
|
5010
|
+
null,
|
|
5011
|
+
null
|
|
5012
|
+
|
|
5013
|
+
)
|
|
5014
|
+
|
|
5015
|
+
/* harmony default export */ const combobox = (combobox_component.exports);
|
|
5016
|
+
;// CONCATENATED MODULE: ./components/combobox/index.js
|
|
5017
|
+
|
|
5018
|
+
;// 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&
|
|
5019
|
+
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:[
|
|
5020
|
+
'd-dt-collapsibe__anchor',
|
|
5021
|
+
_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:({
|
|
5022
|
+
'width': _vm.maxWidth,
|
|
5023
|
+
}),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":{
|
|
5024
|
+
'aria-controls': _vm.id,
|
|
5025
|
+
'aria-expanded': _vm.isOpen.toString(),
|
|
5026
|
+
'role': 'button',
|
|
5027
|
+
}})],2),_c('dt-collapsible-lazy-show',_vm._g({ref:"contentWrapper",class:[
|
|
5028
|
+
'd-dt-collapsible__content',
|
|
5029
|
+
_vm.contentClass ],style:({
|
|
5030
|
+
'max-height': _vm.maxHeight,
|
|
5031
|
+
'max-width': _vm.maxWidth,
|
|
5032
|
+
}),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)}
|
|
5033
|
+
var collapsiblevue_type_template_id_81ed658c_staticRenderFns = []
|
|
5034
|
+
|
|
5035
|
+
|
|
5036
|
+
;// 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&
|
|
5037
|
+
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)}
|
|
5038
|
+
var collapsible_lazy_showvue_type_template_id_22ec4864_staticRenderFns = []
|
|
5039
|
+
|
|
5040
|
+
|
|
5041
|
+
;// 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&
|
|
5042
|
+
//
|
|
5043
|
+
//
|
|
5044
|
+
//
|
|
5045
|
+
//
|
|
5046
|
+
//
|
|
5047
|
+
//
|
|
5048
|
+
//
|
|
5049
|
+
//
|
|
5050
|
+
//
|
|
5051
|
+
//
|
|
5052
|
+
//
|
|
5053
|
+
//
|
|
5054
|
+
//
|
|
5055
|
+
//
|
|
5056
|
+
//
|
|
5057
|
+
//
|
|
5058
|
+
//
|
|
5059
|
+
//
|
|
5060
|
+
//
|
|
5061
|
+
//
|
|
5062
|
+
//
|
|
5063
|
+
//
|
|
5064
|
+
//
|
|
5065
|
+
//
|
|
5066
|
+
/* harmony default export */ const collapsible_lazy_showvue_type_script_lang_js_ = ({
|
|
5067
|
+
name: 'DtCollapsibleLazyShow',
|
|
5068
|
+
|
|
5069
|
+
/******************
|
|
5070
|
+
* PROPS *
|
|
5071
|
+
******************/
|
|
5072
|
+
props: {
|
|
5073
|
+
/**
|
|
5074
|
+
* Whether the child slot is shown.
|
|
5075
|
+
*/
|
|
5076
|
+
show: Boolean,
|
|
5077
|
+
appear: {
|
|
5078
|
+
type: Boolean,
|
|
5079
|
+
default: false
|
|
5080
|
+
},
|
|
5081
|
+
elementType: {
|
|
5082
|
+
type: String,
|
|
5083
|
+
default: 'div'
|
|
5084
|
+
}
|
|
5085
|
+
},
|
|
5086
|
+
|
|
5087
|
+
/******************
|
|
5088
|
+
* DATA *
|
|
5089
|
+
******************/
|
|
5090
|
+
data() {
|
|
5091
|
+
return {
|
|
5092
|
+
initialized: !!this.show
|
|
5093
|
+
};
|
|
5094
|
+
},
|
|
5095
|
+
|
|
5096
|
+
/******************
|
|
5097
|
+
* WATCH *
|
|
5098
|
+
******************/
|
|
5099
|
+
watch: {
|
|
5100
|
+
show: function (newValue) {
|
|
5101
|
+
if (!newValue || this.initialized) return;
|
|
5102
|
+
this.initialized = true;
|
|
5103
|
+
}
|
|
5104
|
+
},
|
|
5105
|
+
methods: {
|
|
5106
|
+
/**
|
|
5107
|
+
* @param {HTMLElement} element
|
|
5108
|
+
*/
|
|
5109
|
+
beforeEnter(element) {
|
|
5110
|
+
requestAnimationFrame(() => {
|
|
5111
|
+
if (!element.style.height) {
|
|
5112
|
+
element.style.height = '0px';
|
|
5113
|
+
}
|
|
5114
|
+
|
|
5115
|
+
element.style.display = null;
|
|
5116
|
+
});
|
|
5117
|
+
},
|
|
5118
|
+
|
|
5119
|
+
/**
|
|
5120
|
+
* @param {HTMLElement} element
|
|
5121
|
+
*/
|
|
5122
|
+
enter(element) {
|
|
5123
|
+
requestAnimationFrame(() => {
|
|
5124
|
+
requestAnimationFrame(() => {
|
|
5125
|
+
element.style.height = "".concat(element.scrollHeight, "px");
|
|
5126
|
+
});
|
|
5127
|
+
});
|
|
5128
|
+
},
|
|
5129
|
+
|
|
5130
|
+
/**
|
|
5131
|
+
* @param {HTMLElement} element
|
|
5132
|
+
*/
|
|
5133
|
+
afterEnter(element) {
|
|
5134
|
+
element.style.height = null;
|
|
5135
|
+
},
|
|
5136
|
+
|
|
5137
|
+
/**
|
|
5138
|
+
* @param {HTMLElement} element
|
|
5139
|
+
*/
|
|
5140
|
+
beforeLeave(element) {
|
|
5141
|
+
requestAnimationFrame(() => {
|
|
5142
|
+
if (!element.style.height) {
|
|
5143
|
+
element.style.height = "".concat(element.offsetHeight, "px");
|
|
5144
|
+
}
|
|
5145
|
+
});
|
|
5146
|
+
},
|
|
5147
|
+
|
|
5148
|
+
/**
|
|
5149
|
+
* @param {HTMLElement} element
|
|
5150
|
+
*/
|
|
5151
|
+
leave(element) {
|
|
5152
|
+
requestAnimationFrame(() => {
|
|
5153
|
+
requestAnimationFrame(() => {
|
|
5154
|
+
element.style.height = '0px';
|
|
5155
|
+
});
|
|
5156
|
+
});
|
|
5157
|
+
},
|
|
5158
|
+
|
|
5159
|
+
/**
|
|
5160
|
+
* @param {HTMLElement} element
|
|
5161
|
+
*/
|
|
5162
|
+
afterLeave(element) {
|
|
5163
|
+
element.style.height = null;
|
|
5164
|
+
}
|
|
5165
|
+
|
|
5166
|
+
}
|
|
5167
|
+
});
|
|
5168
|
+
;// CONCATENATED MODULE: ./components/collapsible/collapsible_lazy_show.vue?vue&type=script&lang=js&
|
|
5169
|
+
/* harmony default export */ const collapsible_collapsible_lazy_showvue_type_script_lang_js_ = (collapsible_lazy_showvue_type_script_lang_js_);
|
|
5170
|
+
// 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&
|
|
5171
|
+
var collapsible_lazy_showvue_type_style_index_0_lang_css_ = __webpack_require__(275);
|
|
5172
|
+
;// CONCATENATED MODULE: ./components/collapsible/collapsible_lazy_show.vue?vue&type=style&index=0&lang=css&
|
|
5173
|
+
|
|
5174
|
+
;// CONCATENATED MODULE: ./components/collapsible/collapsible_lazy_show.vue
|
|
5175
|
+
|
|
5176
|
+
|
|
5177
|
+
|
|
5178
|
+
;
|
|
5179
|
+
|
|
5180
|
+
|
|
5181
|
+
/* normalize component */
|
|
5182
|
+
|
|
5183
|
+
var collapsible_lazy_show_component = normalizeComponent(
|
|
5184
|
+
collapsible_collapsible_lazy_showvue_type_script_lang_js_,
|
|
5185
|
+
collapsible_lazy_showvue_type_template_id_22ec4864_render,
|
|
5186
|
+
collapsible_lazy_showvue_type_template_id_22ec4864_staticRenderFns,
|
|
5187
|
+
false,
|
|
5188
|
+
null,
|
|
5189
|
+
null,
|
|
5190
|
+
null
|
|
5191
|
+
|
|
5192
|
+
)
|
|
5193
|
+
|
|
5194
|
+
/* harmony default export */ const collapsible_lazy_show = (collapsible_lazy_show_component.exports);
|
|
5195
|
+
;// 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&
|
|
5196
|
+
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)])}
|
|
5197
|
+
var lazy_showvue_type_template_id_9ffa4e8c_staticRenderFns = []
|
|
5198
|
+
|
|
5199
|
+
|
|
5200
|
+
;// 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&
|
|
5201
|
+
//
|
|
5202
|
+
//
|
|
5203
|
+
//
|
|
5204
|
+
//
|
|
5205
|
+
//
|
|
5206
|
+
//
|
|
5207
|
+
//
|
|
5208
|
+
//
|
|
5209
|
+
//
|
|
5210
|
+
//
|
|
5211
|
+
//
|
|
5212
|
+
//
|
|
5213
|
+
//
|
|
5214
|
+
//
|
|
5215
|
+
//
|
|
5216
|
+
//
|
|
5217
|
+
/* harmony default export */ const lazy_showvue_type_script_lang_js_ = ({
|
|
5218
|
+
name: 'DtLazyShow',
|
|
5219
|
+
|
|
5220
|
+
/******************
|
|
5221
|
+
* PROPS *
|
|
5222
|
+
******************/
|
|
5223
|
+
props: {
|
|
5224
|
+
/**
|
|
5225
|
+
* Whether the child slot is shown.
|
|
5226
|
+
*/
|
|
5227
|
+
show: Boolean,
|
|
5228
|
+
|
|
5229
|
+
/**
|
|
5230
|
+
* A valid Vue enter/leave CSS transition name.
|
|
5231
|
+
*/
|
|
5232
|
+
transition: {
|
|
5233
|
+
type: String,
|
|
5234
|
+
default: null
|
|
5235
|
+
},
|
|
5236
|
+
appear: {
|
|
5237
|
+
type: Boolean,
|
|
5238
|
+
default: false
|
|
5239
|
+
}
|
|
5240
|
+
},
|
|
5241
|
+
|
|
5242
|
+
/******************
|
|
5243
|
+
* DATA *
|
|
5244
|
+
******************/
|
|
5245
|
+
data() {
|
|
5246
|
+
return {
|
|
5247
|
+
initialized: !!this.show
|
|
5248
|
+
};
|
|
5249
|
+
},
|
|
5250
|
+
|
|
5251
|
+
/******************
|
|
5252
|
+
* WATCH *
|
|
5253
|
+
******************/
|
|
5254
|
+
watch: {
|
|
5255
|
+
show: function (newValue) {
|
|
5256
|
+
if (!newValue || this.initialized) return;
|
|
5257
|
+
this.initialized = true;
|
|
5258
|
+
}
|
|
5259
|
+
}
|
|
5260
|
+
});
|
|
5261
|
+
;// CONCATENATED MODULE: ./components/lazy_show/lazy_show.vue?vue&type=script&lang=js&
|
|
5262
|
+
/* harmony default export */ const lazy_show_lazy_showvue_type_script_lang_js_ = (lazy_showvue_type_script_lang_js_);
|
|
5263
|
+
;// CONCATENATED MODULE: ./components/lazy_show/lazy_show.vue
|
|
5264
|
+
|
|
5265
|
+
|
|
5266
|
+
|
|
5267
|
+
|
|
5268
|
+
|
|
5269
|
+
/* normalize component */
|
|
5270
|
+
;
|
|
5271
|
+
var lazy_show_component = normalizeComponent(
|
|
5272
|
+
lazy_show_lazy_showvue_type_script_lang_js_,
|
|
5273
|
+
lazy_showvue_type_template_id_9ffa4e8c_render,
|
|
5274
|
+
lazy_showvue_type_template_id_9ffa4e8c_staticRenderFns,
|
|
5275
|
+
false,
|
|
5276
|
+
null,
|
|
5277
|
+
null,
|
|
5278
|
+
null
|
|
5279
|
+
|
|
5280
|
+
)
|
|
5281
|
+
|
|
5282
|
+
/* harmony default export */ const lazy_show = (lazy_show_component.exports);
|
|
5283
|
+
;// CONCATENATED MODULE: ./components/lazy_show/index.js
|
|
5284
|
+
|
|
5285
|
+
;// 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&
|
|
5286
|
+
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"}})])}
|
|
5287
|
+
var IconArrowAccordionOpenvue_type_template_id_5f13df90_staticRenderFns = []
|
|
5288
|
+
|
|
5289
|
+
|
|
5290
|
+
;// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconArrowAccordionOpen.vue
|
|
5291
|
+
|
|
5292
|
+
var IconArrowAccordionOpen_script = {}
|
|
5293
|
+
|
|
5294
|
+
|
|
5295
|
+
/* normalize component */
|
|
5296
|
+
;
|
|
5297
|
+
var IconArrowAccordionOpen_component = normalizeComponent(
|
|
5298
|
+
IconArrowAccordionOpen_script,
|
|
5299
|
+
IconArrowAccordionOpenvue_type_template_id_5f13df90_render,
|
|
5300
|
+
IconArrowAccordionOpenvue_type_template_id_5f13df90_staticRenderFns,
|
|
5301
|
+
false,
|
|
5302
|
+
null,
|
|
5303
|
+
null,
|
|
5304
|
+
null
|
|
5305
|
+
|
|
5306
|
+
)
|
|
5307
|
+
|
|
5308
|
+
/* harmony default export */ const IconArrowAccordionOpen = (IconArrowAccordionOpen_component.exports);
|
|
5309
|
+
;// 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&
|
|
5310
|
+
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"}})])}
|
|
5311
|
+
var IconArrowAccordionClosedvue_type_template_id_8c8269ea_staticRenderFns = []
|
|
5312
|
+
|
|
5313
|
+
|
|
5314
|
+
;// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconArrowAccordionClosed.vue
|
|
5315
|
+
|
|
5316
|
+
var IconArrowAccordionClosed_script = {}
|
|
5317
|
+
|
|
5318
|
+
|
|
5319
|
+
/* normalize component */
|
|
5320
|
+
;
|
|
5321
|
+
var IconArrowAccordionClosed_component = normalizeComponent(
|
|
5322
|
+
IconArrowAccordionClosed_script,
|
|
5323
|
+
IconArrowAccordionClosedvue_type_template_id_8c8269ea_render,
|
|
5324
|
+
IconArrowAccordionClosedvue_type_template_id_8c8269ea_staticRenderFns,
|
|
5325
|
+
false,
|
|
5326
|
+
null,
|
|
5327
|
+
null,
|
|
5328
|
+
null
|
|
5329
|
+
|
|
5330
|
+
)
|
|
5331
|
+
|
|
5332
|
+
/* harmony default export */ const IconArrowAccordionClosed = (IconArrowAccordionClosed_component.exports);
|
|
5333
|
+
;// 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&
|
|
5334
|
+
//
|
|
5335
|
+
//
|
|
5336
|
+
//
|
|
5337
|
+
//
|
|
5338
|
+
//
|
|
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
|
+
/* harmony default export */ const collapsiblevue_type_script_lang_js_ = ({
|
|
5424
|
+
name: 'DtCollapsible',
|
|
5425
|
+
components: {
|
|
5426
|
+
DtButton: button_button,
|
|
5427
|
+
DtCollapsibleLazyShow: collapsible_lazy_show,
|
|
5428
|
+
DtLazyShow: lazy_show,
|
|
5429
|
+
IconArrowAccordionOpen: IconArrowAccordionOpen,
|
|
5430
|
+
IconArrowAccordionClosed: IconArrowAccordionClosed
|
|
5431
|
+
},
|
|
5432
|
+
props: {
|
|
5433
|
+
/**
|
|
5434
|
+
* Text that is displayed on the anchor if nothing is passed in the slot.
|
|
5435
|
+
* Ignored if the anchor slot is used.
|
|
5436
|
+
*/
|
|
5437
|
+
anchorText: {
|
|
5438
|
+
type: String,
|
|
5439
|
+
default: null
|
|
5440
|
+
},
|
|
5441
|
+
|
|
5442
|
+
/**
|
|
5443
|
+
* Controls whether the collapsible is shown. Leaving this null will have the collapsible start
|
|
5444
|
+
* expanded and trigger on click by default. If you set this value, the default trigger
|
|
5445
|
+
* behavior will be disabled and you can control it as you need.
|
|
5446
|
+
* Supports .sync modifier
|
|
5447
|
+
*/
|
|
5448
|
+
open: {
|
|
5449
|
+
type: Boolean,
|
|
5450
|
+
default: null
|
|
5451
|
+
},
|
|
5452
|
+
|
|
5453
|
+
/**
|
|
5454
|
+
* The id of the content wrapper.
|
|
5455
|
+
*/
|
|
5456
|
+
id: {
|
|
5457
|
+
type: String,
|
|
5458
|
+
|
|
5459
|
+
default() {
|
|
5460
|
+
return getUniqueString();
|
|
5461
|
+
}
|
|
5462
|
+
|
|
5463
|
+
},
|
|
5464
|
+
|
|
5465
|
+
/**
|
|
5466
|
+
* Element type (tag name) of the root element of the component.
|
|
5467
|
+
*/
|
|
5468
|
+
elementType: {
|
|
5469
|
+
type: String,
|
|
5470
|
+
default: 'div'
|
|
5471
|
+
},
|
|
5472
|
+
|
|
5473
|
+
/**
|
|
5474
|
+
* Element type (tag name) of the content wrapper element.
|
|
5475
|
+
*/
|
|
5476
|
+
contentElementType: {
|
|
5477
|
+
type: String,
|
|
5478
|
+
default: 'div'
|
|
5479
|
+
},
|
|
5480
|
+
|
|
5481
|
+
/**
|
|
5482
|
+
* Additional class name for the anchor wrapper element.
|
|
5483
|
+
*/
|
|
5484
|
+
anchorClass: {
|
|
5485
|
+
type: [String, Array, Object],
|
|
5486
|
+
default: null
|
|
5487
|
+
},
|
|
5488
|
+
|
|
5489
|
+
/**
|
|
5490
|
+
* Additional class name for the content wrapper element.
|
|
5491
|
+
*/
|
|
5492
|
+
contentClass: {
|
|
5493
|
+
type: [String, Array, Object],
|
|
5494
|
+
default: null
|
|
4826
5495
|
},
|
|
4827
5496
|
|
|
4828
|
-
|
|
4829
|
-
|
|
5497
|
+
/**
|
|
5498
|
+
* The maximum width of the anchor and collapsible element.
|
|
5499
|
+
* Possible units rem|px|%|em
|
|
5500
|
+
*/
|
|
5501
|
+
maxWidth: {
|
|
5502
|
+
type: String,
|
|
5503
|
+
default: null
|
|
4830
5504
|
},
|
|
4831
5505
|
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
5506
|
+
/**
|
|
5507
|
+
* The maximum height of the collapsible element.
|
|
5508
|
+
* Possible units rem|px|%|em
|
|
5509
|
+
*/
|
|
5510
|
+
maxHeight: {
|
|
5511
|
+
type: String,
|
|
5512
|
+
default: null
|
|
5513
|
+
},
|
|
4836
5514
|
|
|
4837
|
-
|
|
5515
|
+
/**
|
|
5516
|
+
* Label on the collapsible content. Should provide this or ariaLabelledBy but not both.
|
|
5517
|
+
*/
|
|
5518
|
+
ariaLabel: {
|
|
5519
|
+
type: String,
|
|
5520
|
+
default: null
|
|
4838
5521
|
},
|
|
4839
5522
|
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
5523
|
+
/**
|
|
5524
|
+
* Id of the element that labels the collapsible content. Defaults to the anchor element.
|
|
5525
|
+
* Should provide this or ariaLabel but not both.
|
|
5526
|
+
*/
|
|
5527
|
+
ariaLabelledBy: {
|
|
5528
|
+
type: String,
|
|
5529
|
+
default: null
|
|
4843
5530
|
}
|
|
5531
|
+
},
|
|
5532
|
+
emits: ['update:open', 'opened'],
|
|
4844
5533
|
|
|
5534
|
+
data() {
|
|
5535
|
+
return {
|
|
5536
|
+
isOpen: true
|
|
5537
|
+
};
|
|
4845
5538
|
},
|
|
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
5539
|
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
5540
|
+
computed: {
|
|
5541
|
+
labelledBy() {
|
|
5542
|
+
// aria-labelledby should be set only if aria-labelledby is passed as a prop, or if
|
|
5543
|
+
// there is no aria-label and the labelledby should point to the anchor
|
|
5544
|
+
return this.ariaLabelledby || !this.ariaLabel && getUniqueString('DtCollapsible__anchor');
|
|
4859
5545
|
},
|
|
4860
5546
|
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
this.setInitialHighlightIndex();
|
|
4867
|
-
});
|
|
5547
|
+
contentStyle() {
|
|
5548
|
+
return {
|
|
5549
|
+
'max-height': this.maxHeight,
|
|
5550
|
+
'max-width': this.maxWidth
|
|
5551
|
+
};
|
|
4868
5552
|
}
|
|
4869
5553
|
|
|
4870
5554
|
},
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
5555
|
+
watch: {
|
|
5556
|
+
open: {
|
|
5557
|
+
handler: function (open) {
|
|
5558
|
+
if (open !== null) {
|
|
5559
|
+
this.isOpen = open;
|
|
5560
|
+
}
|
|
5561
|
+
},
|
|
5562
|
+
immediate: true
|
|
5563
|
+
}
|
|
4876
5564
|
},
|
|
4877
|
-
|
|
4878
5565
|
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
|
-
},
|
|
5566
|
+
onLeaveTransitionComplete() {
|
|
5567
|
+
this.$emit('opened', false);
|
|
4893
5568
|
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
this.setHighlightIndex(-1);
|
|
5569
|
+
if (this.open !== null) {
|
|
5570
|
+
this.$emit('update:open', false);
|
|
4897
5571
|
}
|
|
4898
5572
|
},
|
|
4899
5573
|
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
this.$emit('highlight', this.highlightIndex);
|
|
4903
|
-
},
|
|
4904
|
-
|
|
4905
|
-
onEnterKey() {
|
|
4906
|
-
if (this.loading || this.isListEmpty) return;
|
|
5574
|
+
onEnterTransitionComplete() {
|
|
5575
|
+
this.$emit('opened', true, this.$refs.content);
|
|
4907
5576
|
|
|
4908
|
-
if (this.
|
|
4909
|
-
this.$emit('
|
|
5577
|
+
if (this.open !== null) {
|
|
5578
|
+
this.$emit('update:open', true);
|
|
4910
5579
|
}
|
|
4911
5580
|
},
|
|
4912
5581
|
|
|
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();
|
|
5582
|
+
defaultToggleOpen() {
|
|
5583
|
+
if (this.open === null) {
|
|
5584
|
+
this.toggleOpen();
|
|
4927
5585
|
}
|
|
4928
5586
|
},
|
|
4929
5587
|
|
|
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;
|
|
5588
|
+
toggleOpen() {
|
|
5589
|
+
this.isOpen = !this.isOpen;
|
|
4949
5590
|
}
|
|
4950
5591
|
|
|
4951
5592
|
}
|
|
4952
5593
|
});
|
|
4953
|
-
;// CONCATENATED MODULE: ./components/
|
|
4954
|
-
/* harmony default export */ const
|
|
4955
|
-
;// CONCATENATED MODULE: ./components/
|
|
5594
|
+
;// CONCATENATED MODULE: ./components/collapsible/collapsible.vue?vue&type=script&lang=js&
|
|
5595
|
+
/* harmony default export */ const collapsible_collapsiblevue_type_script_lang_js_ = (collapsiblevue_type_script_lang_js_);
|
|
5596
|
+
;// CONCATENATED MODULE: ./components/collapsible/collapsible.vue
|
|
4956
5597
|
|
|
4957
5598
|
|
|
4958
5599
|
|
|
@@ -4960,10 +5601,10 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
4960
5601
|
|
|
4961
5602
|
/* normalize component */
|
|
4962
5603
|
;
|
|
4963
|
-
var
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
5604
|
+
var collapsible_component = normalizeComponent(
|
|
5605
|
+
collapsible_collapsiblevue_type_script_lang_js_,
|
|
5606
|
+
collapsiblevue_type_template_id_81ed658c_render,
|
|
5607
|
+
collapsiblevue_type_template_id_81ed658c_staticRenderFns,
|
|
4967
5608
|
false,
|
|
4968
5609
|
null,
|
|
4969
5610
|
null,
|
|
@@ -4971,8 +5612,8 @@ var combobox_component = normalizeComponent(
|
|
|
4971
5612
|
|
|
4972
5613
|
)
|
|
4973
5614
|
|
|
4974
|
-
/* harmony default export */ const
|
|
4975
|
-
;// CONCATENATED MODULE: ./components/
|
|
5615
|
+
/* harmony default export */ const collapsible = (collapsible_component.exports);
|
|
5616
|
+
;// CONCATENATED MODULE: ./components/collapsible/index.js
|
|
4976
5617
|
|
|
4977
5618
|
;// 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
5619
|
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 +10134,6 @@ const POPOVER_CONTENT_WIDTHS = [null, 'anchor'];
|
|
|
9493
10134
|
const POPOVER_INITIAL_FOCUS_STRINGS = ['none', 'dialog', 'first'];
|
|
9494
10135
|
const POPOVER_STICKY_VALUES = [...TIPPY_STICKY_VALUES];
|
|
9495
10136
|
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
10137
|
;// CONCATENATED MODULE: ./node_modules/nanoid/non-secure/index.js
|
|
9585
10138
|
let urlAlphabet =
|
|
9586
10139
|
'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict'
|
|
@@ -12832,8 +13385,6 @@ var modal_component = normalizeComponent(
|
|
|
12832
13385
|
;// CONCATENATED MODULE: ./components/modal/index.js
|
|
12833
13386
|
|
|
12834
13387
|
|
|
12835
|
-
;// CONCATENATED MODULE: ./components/lazy_show/index.js
|
|
12836
|
-
|
|
12837
13388
|
;// 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
13389
|
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
13390
|
{ '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)])}
|
|
@@ -18219,6 +18770,7 @@ var top_banner_info_component = normalizeComponent(
|
|
|
18219
18770
|
|
|
18220
18771
|
|
|
18221
18772
|
|
|
18773
|
+
|
|
18222
18774
|
|
|
18223
18775
|
|
|
18224
18776
|
/// Recipes
|