@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
|
@@ -1,6 +1,30 @@
|
|
|
1
1
|
/******/ (() => { // webpackBootstrap
|
|
2
2
|
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
+
/***/ 651:
|
|
5
|
+
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
6
|
+
|
|
7
|
+
"use strict";
|
|
8
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
11
|
+
/* harmony export */ });
|
|
12
|
+
/* harmony import */ var _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(481);
|
|
13
|
+
/* 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__);
|
|
14
|
+
/* harmony import */ var _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(400);
|
|
15
|
+
/* 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__);
|
|
16
|
+
// Imports
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
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()));
|
|
20
|
+
// Module
|
|
21
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".enter-active,.leave-active{overflow:hidden;transition:height .3s linear}", ""]);
|
|
22
|
+
// Exports
|
|
23
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
/***/ }),
|
|
27
|
+
|
|
4
28
|
/***/ 771:
|
|
5
29
|
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
6
30
|
|
|
@@ -362,6 +386,22 @@ module.exports = function (i) {
|
|
|
362
386
|
|
|
363
387
|
/***/ }),
|
|
364
388
|
|
|
389
|
+
/***/ 627:
|
|
390
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
391
|
+
|
|
392
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
393
|
+
|
|
394
|
+
// load the styles
|
|
395
|
+
var content = __webpack_require__(651);
|
|
396
|
+
if(content.__esModule) content = content.default;
|
|
397
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
398
|
+
if(content.locals) module.exports = content.locals;
|
|
399
|
+
// add the styles to the DOM
|
|
400
|
+
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
|
401
|
+
var update = add("056a7866", content, true, {"sourceMap":false,"shadowMode":false});
|
|
402
|
+
|
|
403
|
+
/***/ }),
|
|
404
|
+
|
|
365
405
|
/***/ 245:
|
|
366
406
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
367
407
|
|
|
@@ -892,6 +932,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
892
932
|
"DtCheckbox": () => (/* reexport */ checkbox_checkbox),
|
|
893
933
|
"DtCheckboxGroup": () => (/* reexport */ checkbox_group),
|
|
894
934
|
"DtChip": () => (/* reexport */ chip),
|
|
935
|
+
"DtCollapsible": () => (/* reexport */ collapsible),
|
|
895
936
|
"DtCombobox": () => (/* reexport */ combobox),
|
|
896
937
|
"DtDropdown": () => (/* reexport */ dropdown),
|
|
897
938
|
"DtGroupableInputMixin": () => (/* reexport */ GroupableMixin),
|
|
@@ -4803,138 +4844,738 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
4803
4844
|
};
|
|
4804
4845
|
},
|
|
4805
4846
|
|
|
4806
|
-
beginningOfListMethod() {
|
|
4807
|
-
return this.onBeginningOfList || this.jumpToEnd;
|
|
4847
|
+
beginningOfListMethod() {
|
|
4848
|
+
return this.onBeginningOfList || this.jumpToEnd;
|
|
4849
|
+
},
|
|
4850
|
+
|
|
4851
|
+
endOfListMethod() {
|
|
4852
|
+
return this.onEndOfList || this.jumpToBeginning;
|
|
4853
|
+
},
|
|
4854
|
+
|
|
4855
|
+
activeItemId() {
|
|
4856
|
+
if (!this.showList || this.highlightIndex < 0 || this.loading) {
|
|
4857
|
+
return;
|
|
4858
|
+
}
|
|
4859
|
+
|
|
4860
|
+
return this.highlightId;
|
|
4861
|
+
},
|
|
4862
|
+
|
|
4863
|
+
activeItemEl() {
|
|
4864
|
+
if (!this.highlightId) return '';
|
|
4865
|
+
return this.getListElement().querySelector('#' + this.highlightId);
|
|
4866
|
+
}
|
|
4867
|
+
|
|
4868
|
+
},
|
|
4869
|
+
watch: {
|
|
4870
|
+
showList(showList) {
|
|
4871
|
+
// When the list's visibility changes reset the highlight index.
|
|
4872
|
+
if (!this.listRenderedOutside) {
|
|
4873
|
+
this.setInitialHighlightIndex();
|
|
4874
|
+
this.$emit('opened', showList);
|
|
4875
|
+
}
|
|
4876
|
+
|
|
4877
|
+
if (!showList && this.outsideRenderedListRef) {
|
|
4878
|
+
this.outsideRenderedListRef.removeEventListener('mousemove', this.onMouseHighlight);
|
|
4879
|
+
this.outsideRenderedListRef = null;
|
|
4880
|
+
this.isListEmpty = undefined;
|
|
4881
|
+
}
|
|
4882
|
+
},
|
|
4883
|
+
|
|
4884
|
+
loading(isLoading) {
|
|
4885
|
+
this.isListEmpty = undefined;
|
|
4886
|
+
this.isLoading = isLoading;
|
|
4887
|
+
this.$nextTick(() => {
|
|
4888
|
+
this.isListEmpty = this.checkItemsLength();
|
|
4889
|
+
this.setInitialHighlightIndex();
|
|
4890
|
+
});
|
|
4891
|
+
}
|
|
4892
|
+
|
|
4893
|
+
},
|
|
4894
|
+
|
|
4895
|
+
async mounted() {
|
|
4896
|
+
this.isLoading = this.loading;
|
|
4897
|
+
await this.$nextTick();
|
|
4898
|
+
this.isListEmpty = this.checkItemsLength();
|
|
4899
|
+
},
|
|
4900
|
+
|
|
4901
|
+
methods: {
|
|
4902
|
+
onMouseHighlight(e) {
|
|
4903
|
+
if (this.loading) return;
|
|
4904
|
+
const liElement = e.target.closest('li');
|
|
4905
|
+
|
|
4906
|
+
if (liElement && this.highlightId !== liElement.id) {
|
|
4907
|
+
this.setHighlightId(liElement.id);
|
|
4908
|
+
}
|
|
4909
|
+
},
|
|
4910
|
+
|
|
4911
|
+
getListElement() {
|
|
4912
|
+
var _this$outsideRendered, _this$$refs$listWrapp;
|
|
4913
|
+
|
|
4914
|
+
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));
|
|
4915
|
+
},
|
|
4916
|
+
|
|
4917
|
+
clearHighlightIndex() {
|
|
4918
|
+
if (this.showList) {
|
|
4919
|
+
this.setHighlightIndex(-1);
|
|
4920
|
+
}
|
|
4921
|
+
},
|
|
4922
|
+
|
|
4923
|
+
afterHighlight() {
|
|
4924
|
+
if (this.loading) return;
|
|
4925
|
+
this.$emit('highlight', this.highlightIndex);
|
|
4926
|
+
},
|
|
4927
|
+
|
|
4928
|
+
onEnterKey() {
|
|
4929
|
+
if (this.loading || this.isListEmpty) return;
|
|
4930
|
+
|
|
4931
|
+
if (this.highlightIndex >= 0) {
|
|
4932
|
+
this.$emit('select', this.highlightIndex);
|
|
4933
|
+
}
|
|
4934
|
+
},
|
|
4935
|
+
|
|
4936
|
+
onEscapeKey() {
|
|
4937
|
+
this.$emit('escape');
|
|
4938
|
+
},
|
|
4939
|
+
|
|
4940
|
+
onOpen(open, contentRef) {
|
|
4941
|
+
var _this$outsideRendered2;
|
|
4942
|
+
|
|
4943
|
+
this.outsideRenderedListRef = contentRef;
|
|
4944
|
+
(_this$outsideRendered2 = this.outsideRenderedListRef) === null || _this$outsideRendered2 === void 0 ? void 0 : _this$outsideRendered2.addEventListener('mousemove', this.onMouseHighlight);
|
|
4945
|
+
this.$emit('opened', open);
|
|
4946
|
+
|
|
4947
|
+
if (open) {
|
|
4948
|
+
this.isListEmpty = this.checkItemsLength();
|
|
4949
|
+
this.setInitialHighlightIndex();
|
|
4950
|
+
}
|
|
4951
|
+
},
|
|
4952
|
+
|
|
4953
|
+
onKeyValidation(e, eventHandler) {
|
|
4954
|
+
if (!this.showList || !this.getListElement()) return;
|
|
4955
|
+
this[eventHandler](e);
|
|
4956
|
+
},
|
|
4957
|
+
|
|
4958
|
+
setInitialHighlightIndex() {
|
|
4959
|
+
if (!this.showList) return;
|
|
4960
|
+
this.$nextTick(() => {
|
|
4961
|
+
// When the list's is shown, reset the highlight index.
|
|
4962
|
+
// If the list is loading, set to -1
|
|
4963
|
+
this.setHighlightIndex(this.loading ? -1 : 0);
|
|
4964
|
+
});
|
|
4965
|
+
},
|
|
4966
|
+
|
|
4967
|
+
checkItemsLength() {
|
|
4968
|
+
if (!this.showList) return undefined;
|
|
4969
|
+
const list = this.getListElement();
|
|
4970
|
+
const options = list === null || list === void 0 ? void 0 : list.querySelectorAll("[role=\"option\"]");
|
|
4971
|
+
return (options === null || options === void 0 ? void 0 : options.length) === 0;
|
|
4972
|
+
}
|
|
4973
|
+
|
|
4974
|
+
}
|
|
4975
|
+
});
|
|
4976
|
+
;// CONCATENATED MODULE: ./components/combobox/combobox.vue?vue&type=script&lang=js&
|
|
4977
|
+
/* harmony default export */ const combobox_comboboxvue_type_script_lang_js_ = (comboboxvue_type_script_lang_js_);
|
|
4978
|
+
;// CONCATENATED MODULE: ./components/combobox/combobox.vue
|
|
4979
|
+
|
|
4980
|
+
|
|
4981
|
+
|
|
4982
|
+
|
|
4983
|
+
|
|
4984
|
+
/* normalize component */
|
|
4985
|
+
;
|
|
4986
|
+
var combobox_component = normalizeComponent(
|
|
4987
|
+
combobox_comboboxvue_type_script_lang_js_,
|
|
4988
|
+
comboboxvue_type_template_id_25daf05b_render,
|
|
4989
|
+
comboboxvue_type_template_id_25daf05b_staticRenderFns,
|
|
4990
|
+
false,
|
|
4991
|
+
null,
|
|
4992
|
+
null,
|
|
4993
|
+
null
|
|
4994
|
+
|
|
4995
|
+
)
|
|
4996
|
+
|
|
4997
|
+
/* harmony default export */ const combobox = (combobox_component.exports);
|
|
4998
|
+
;// CONCATENATED MODULE: ./components/combobox/index.js
|
|
4999
|
+
|
|
5000
|
+
;// 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&
|
|
5001
|
+
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:[
|
|
5002
|
+
'd-dt-collapsibe__anchor',
|
|
5003
|
+
_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:({
|
|
5004
|
+
'width': _vm.maxWidth,
|
|
5005
|
+
}),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":{
|
|
5006
|
+
'aria-controls': _vm.id,
|
|
5007
|
+
'aria-expanded': _vm.isOpen.toString(),
|
|
5008
|
+
'role': 'button',
|
|
5009
|
+
}})],2),_c('dt-collapsible-lazy-show',_vm._g({ref:"contentWrapper",class:[
|
|
5010
|
+
'd-dt-collapsible__content',
|
|
5011
|
+
_vm.contentClass ],style:({
|
|
5012
|
+
'max-height': _vm.maxHeight,
|
|
5013
|
+
'max-width': _vm.maxWidth,
|
|
5014
|
+
}),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)}
|
|
5015
|
+
var collapsiblevue_type_template_id_81ed658c_staticRenderFns = []
|
|
5016
|
+
|
|
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_lazy_show.vue?vue&type=template&id=22ec4864&
|
|
5019
|
+
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)}
|
|
5020
|
+
var collapsible_lazy_showvue_type_template_id_22ec4864_staticRenderFns = []
|
|
5021
|
+
|
|
5022
|
+
|
|
5023
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/collapsible/collapsible_lazy_show.vue?vue&type=script&lang=js&
|
|
5024
|
+
//
|
|
5025
|
+
//
|
|
5026
|
+
//
|
|
5027
|
+
//
|
|
5028
|
+
//
|
|
5029
|
+
//
|
|
5030
|
+
//
|
|
5031
|
+
//
|
|
5032
|
+
//
|
|
5033
|
+
//
|
|
5034
|
+
//
|
|
5035
|
+
//
|
|
5036
|
+
//
|
|
5037
|
+
//
|
|
5038
|
+
//
|
|
5039
|
+
//
|
|
5040
|
+
//
|
|
5041
|
+
//
|
|
5042
|
+
//
|
|
5043
|
+
//
|
|
5044
|
+
//
|
|
5045
|
+
//
|
|
5046
|
+
//
|
|
5047
|
+
//
|
|
5048
|
+
/* harmony default export */ const collapsible_lazy_showvue_type_script_lang_js_ = ({
|
|
5049
|
+
name: 'DtCollapsibleLazyShow',
|
|
5050
|
+
|
|
5051
|
+
/******************
|
|
5052
|
+
* PROPS *
|
|
5053
|
+
******************/
|
|
5054
|
+
props: {
|
|
5055
|
+
/**
|
|
5056
|
+
* Whether the child slot is shown.
|
|
5057
|
+
*/
|
|
5058
|
+
show: Boolean,
|
|
5059
|
+
appear: {
|
|
5060
|
+
type: Boolean,
|
|
5061
|
+
default: false
|
|
5062
|
+
},
|
|
5063
|
+
elementType: {
|
|
5064
|
+
type: String,
|
|
5065
|
+
default: 'div'
|
|
5066
|
+
}
|
|
5067
|
+
},
|
|
5068
|
+
|
|
5069
|
+
/******************
|
|
5070
|
+
* DATA *
|
|
5071
|
+
******************/
|
|
5072
|
+
data() {
|
|
5073
|
+
return {
|
|
5074
|
+
initialized: !!this.show
|
|
5075
|
+
};
|
|
5076
|
+
},
|
|
5077
|
+
|
|
5078
|
+
/******************
|
|
5079
|
+
* WATCH *
|
|
5080
|
+
******************/
|
|
5081
|
+
watch: {
|
|
5082
|
+
show: function (newValue) {
|
|
5083
|
+
if (!newValue || this.initialized) return;
|
|
5084
|
+
this.initialized = true;
|
|
5085
|
+
}
|
|
5086
|
+
},
|
|
5087
|
+
methods: {
|
|
5088
|
+
/**
|
|
5089
|
+
* @param {HTMLElement} element
|
|
5090
|
+
*/
|
|
5091
|
+
beforeEnter(element) {
|
|
5092
|
+
requestAnimationFrame(() => {
|
|
5093
|
+
if (!element.style.height) {
|
|
5094
|
+
element.style.height = '0px';
|
|
5095
|
+
}
|
|
5096
|
+
|
|
5097
|
+
element.style.display = null;
|
|
5098
|
+
});
|
|
5099
|
+
},
|
|
5100
|
+
|
|
5101
|
+
/**
|
|
5102
|
+
* @param {HTMLElement} element
|
|
5103
|
+
*/
|
|
5104
|
+
enter(element) {
|
|
5105
|
+
requestAnimationFrame(() => {
|
|
5106
|
+
requestAnimationFrame(() => {
|
|
5107
|
+
element.style.height = "".concat(element.scrollHeight, "px");
|
|
5108
|
+
});
|
|
5109
|
+
});
|
|
5110
|
+
},
|
|
5111
|
+
|
|
5112
|
+
/**
|
|
5113
|
+
* @param {HTMLElement} element
|
|
5114
|
+
*/
|
|
5115
|
+
afterEnter(element) {
|
|
5116
|
+
element.style.height = null;
|
|
5117
|
+
},
|
|
5118
|
+
|
|
5119
|
+
/**
|
|
5120
|
+
* @param {HTMLElement} element
|
|
5121
|
+
*/
|
|
5122
|
+
beforeLeave(element) {
|
|
5123
|
+
requestAnimationFrame(() => {
|
|
5124
|
+
if (!element.style.height) {
|
|
5125
|
+
element.style.height = "".concat(element.offsetHeight, "px");
|
|
5126
|
+
}
|
|
5127
|
+
});
|
|
5128
|
+
},
|
|
5129
|
+
|
|
5130
|
+
/**
|
|
5131
|
+
* @param {HTMLElement} element
|
|
5132
|
+
*/
|
|
5133
|
+
leave(element) {
|
|
5134
|
+
requestAnimationFrame(() => {
|
|
5135
|
+
requestAnimationFrame(() => {
|
|
5136
|
+
element.style.height = '0px';
|
|
5137
|
+
});
|
|
5138
|
+
});
|
|
5139
|
+
},
|
|
5140
|
+
|
|
5141
|
+
/**
|
|
5142
|
+
* @param {HTMLElement} element
|
|
5143
|
+
*/
|
|
5144
|
+
afterLeave(element) {
|
|
5145
|
+
element.style.height = null;
|
|
5146
|
+
}
|
|
5147
|
+
|
|
5148
|
+
}
|
|
5149
|
+
});
|
|
5150
|
+
;// CONCATENATED MODULE: ./components/collapsible/collapsible_lazy_show.vue?vue&type=script&lang=js&
|
|
5151
|
+
/* harmony default export */ const collapsible_collapsible_lazy_showvue_type_script_lang_js_ = (collapsible_lazy_showvue_type_script_lang_js_);
|
|
5152
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12[0].rules[0].use[0]!./node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-12[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-12[0].rules[0].use[2]!./node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[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&
|
|
5153
|
+
var collapsible_lazy_showvue_type_style_index_0_lang_css_ = __webpack_require__(627);
|
|
5154
|
+
;// CONCATENATED MODULE: ./components/collapsible/collapsible_lazy_show.vue?vue&type=style&index=0&lang=css&
|
|
5155
|
+
|
|
5156
|
+
;// CONCATENATED MODULE: ./components/collapsible/collapsible_lazy_show.vue
|
|
5157
|
+
|
|
5158
|
+
|
|
5159
|
+
|
|
5160
|
+
;
|
|
5161
|
+
|
|
5162
|
+
|
|
5163
|
+
/* normalize component */
|
|
5164
|
+
|
|
5165
|
+
var collapsible_lazy_show_component = normalizeComponent(
|
|
5166
|
+
collapsible_collapsible_lazy_showvue_type_script_lang_js_,
|
|
5167
|
+
collapsible_lazy_showvue_type_template_id_22ec4864_render,
|
|
5168
|
+
collapsible_lazy_showvue_type_template_id_22ec4864_staticRenderFns,
|
|
5169
|
+
false,
|
|
5170
|
+
null,
|
|
5171
|
+
null,
|
|
5172
|
+
null
|
|
5173
|
+
|
|
5174
|
+
)
|
|
5175
|
+
|
|
5176
|
+
/* harmony default export */ const collapsible_lazy_show = (collapsible_lazy_show_component.exports);
|
|
5177
|
+
;// 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&
|
|
5178
|
+
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)])}
|
|
5179
|
+
var lazy_showvue_type_template_id_9ffa4e8c_staticRenderFns = []
|
|
5180
|
+
|
|
5181
|
+
|
|
5182
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/lazy_show/lazy_show.vue?vue&type=script&lang=js&
|
|
5183
|
+
//
|
|
5184
|
+
//
|
|
5185
|
+
//
|
|
5186
|
+
//
|
|
5187
|
+
//
|
|
5188
|
+
//
|
|
5189
|
+
//
|
|
5190
|
+
//
|
|
5191
|
+
//
|
|
5192
|
+
//
|
|
5193
|
+
//
|
|
5194
|
+
//
|
|
5195
|
+
//
|
|
5196
|
+
//
|
|
5197
|
+
//
|
|
5198
|
+
//
|
|
5199
|
+
/* harmony default export */ const lazy_showvue_type_script_lang_js_ = ({
|
|
5200
|
+
name: 'DtLazyShow',
|
|
5201
|
+
|
|
5202
|
+
/******************
|
|
5203
|
+
* PROPS *
|
|
5204
|
+
******************/
|
|
5205
|
+
props: {
|
|
5206
|
+
/**
|
|
5207
|
+
* Whether the child slot is shown.
|
|
5208
|
+
*/
|
|
5209
|
+
show: Boolean,
|
|
5210
|
+
|
|
5211
|
+
/**
|
|
5212
|
+
* A valid Vue enter/leave CSS transition name.
|
|
5213
|
+
*/
|
|
5214
|
+
transition: {
|
|
5215
|
+
type: String,
|
|
5216
|
+
default: null
|
|
5217
|
+
},
|
|
5218
|
+
appear: {
|
|
5219
|
+
type: Boolean,
|
|
5220
|
+
default: false
|
|
5221
|
+
}
|
|
5222
|
+
},
|
|
5223
|
+
|
|
5224
|
+
/******************
|
|
5225
|
+
* DATA *
|
|
5226
|
+
******************/
|
|
5227
|
+
data() {
|
|
5228
|
+
return {
|
|
5229
|
+
initialized: !!this.show
|
|
5230
|
+
};
|
|
5231
|
+
},
|
|
5232
|
+
|
|
5233
|
+
/******************
|
|
5234
|
+
* WATCH *
|
|
5235
|
+
******************/
|
|
5236
|
+
watch: {
|
|
5237
|
+
show: function (newValue) {
|
|
5238
|
+
if (!newValue || this.initialized) return;
|
|
5239
|
+
this.initialized = true;
|
|
5240
|
+
}
|
|
5241
|
+
}
|
|
5242
|
+
});
|
|
5243
|
+
;// CONCATENATED MODULE: ./components/lazy_show/lazy_show.vue?vue&type=script&lang=js&
|
|
5244
|
+
/* harmony default export */ const lazy_show_lazy_showvue_type_script_lang_js_ = (lazy_showvue_type_script_lang_js_);
|
|
5245
|
+
;// CONCATENATED MODULE: ./components/lazy_show/lazy_show.vue
|
|
5246
|
+
|
|
5247
|
+
|
|
5248
|
+
|
|
5249
|
+
|
|
5250
|
+
|
|
5251
|
+
/* normalize component */
|
|
5252
|
+
;
|
|
5253
|
+
var lazy_show_component = normalizeComponent(
|
|
5254
|
+
lazy_show_lazy_showvue_type_script_lang_js_,
|
|
5255
|
+
lazy_showvue_type_template_id_9ffa4e8c_render,
|
|
5256
|
+
lazy_showvue_type_template_id_9ffa4e8c_staticRenderFns,
|
|
5257
|
+
false,
|
|
5258
|
+
null,
|
|
5259
|
+
null,
|
|
5260
|
+
null
|
|
5261
|
+
|
|
5262
|
+
)
|
|
5263
|
+
|
|
5264
|
+
/* harmony default export */ const lazy_show = (lazy_show_component.exports);
|
|
5265
|
+
;// CONCATENATED MODULE: ./components/lazy_show/index.js
|
|
5266
|
+
|
|
5267
|
+
;// 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&
|
|
5268
|
+
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"}})])}
|
|
5269
|
+
var IconArrowAccordionOpenvue_type_template_id_5f13df90_staticRenderFns = []
|
|
5270
|
+
|
|
5271
|
+
|
|
5272
|
+
;// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconArrowAccordionOpen.vue
|
|
5273
|
+
|
|
5274
|
+
var IconArrowAccordionOpen_script = {}
|
|
5275
|
+
|
|
5276
|
+
|
|
5277
|
+
/* normalize component */
|
|
5278
|
+
;
|
|
5279
|
+
var IconArrowAccordionOpen_component = normalizeComponent(
|
|
5280
|
+
IconArrowAccordionOpen_script,
|
|
5281
|
+
IconArrowAccordionOpenvue_type_template_id_5f13df90_render,
|
|
5282
|
+
IconArrowAccordionOpenvue_type_template_id_5f13df90_staticRenderFns,
|
|
5283
|
+
false,
|
|
5284
|
+
null,
|
|
5285
|
+
null,
|
|
5286
|
+
null
|
|
5287
|
+
|
|
5288
|
+
)
|
|
5289
|
+
|
|
5290
|
+
/* harmony default export */ const IconArrowAccordionOpen = (IconArrowAccordionOpen_component.exports);
|
|
5291
|
+
;// 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&
|
|
5292
|
+
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"}})])}
|
|
5293
|
+
var IconArrowAccordionClosedvue_type_template_id_8c8269ea_staticRenderFns = []
|
|
5294
|
+
|
|
5295
|
+
|
|
5296
|
+
;// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconArrowAccordionClosed.vue
|
|
5297
|
+
|
|
5298
|
+
var IconArrowAccordionClosed_script = {}
|
|
5299
|
+
|
|
5300
|
+
|
|
5301
|
+
/* normalize component */
|
|
5302
|
+
;
|
|
5303
|
+
var IconArrowAccordionClosed_component = normalizeComponent(
|
|
5304
|
+
IconArrowAccordionClosed_script,
|
|
5305
|
+
IconArrowAccordionClosedvue_type_template_id_8c8269ea_render,
|
|
5306
|
+
IconArrowAccordionClosedvue_type_template_id_8c8269ea_staticRenderFns,
|
|
5307
|
+
false,
|
|
5308
|
+
null,
|
|
5309
|
+
null,
|
|
5310
|
+
null
|
|
5311
|
+
|
|
5312
|
+
)
|
|
5313
|
+
|
|
5314
|
+
/* harmony default export */ const IconArrowAccordionClosed = (IconArrowAccordionClosed_component.exports);
|
|
5315
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/collapsible/collapsible.vue?vue&type=script&lang=js&
|
|
5316
|
+
//
|
|
5317
|
+
//
|
|
5318
|
+
//
|
|
5319
|
+
//
|
|
5320
|
+
//
|
|
5321
|
+
//
|
|
5322
|
+
//
|
|
5323
|
+
//
|
|
5324
|
+
//
|
|
5325
|
+
//
|
|
5326
|
+
//
|
|
5327
|
+
//
|
|
5328
|
+
//
|
|
5329
|
+
//
|
|
5330
|
+
//
|
|
5331
|
+
//
|
|
5332
|
+
//
|
|
5333
|
+
//
|
|
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
|
+
/* harmony default export */ const collapsiblevue_type_script_lang_js_ = ({
|
|
5406
|
+
name: 'DtCollapsible',
|
|
5407
|
+
components: {
|
|
5408
|
+
DtButton: button_button,
|
|
5409
|
+
DtCollapsibleLazyShow: collapsible_lazy_show,
|
|
5410
|
+
DtLazyShow: lazy_show,
|
|
5411
|
+
IconArrowAccordionOpen: IconArrowAccordionOpen,
|
|
5412
|
+
IconArrowAccordionClosed: IconArrowAccordionClosed
|
|
5413
|
+
},
|
|
5414
|
+
props: {
|
|
5415
|
+
/**
|
|
5416
|
+
* Text that is displayed on the anchor if nothing is passed in the slot.
|
|
5417
|
+
* Ignored if the anchor slot is used.
|
|
5418
|
+
*/
|
|
5419
|
+
anchorText: {
|
|
5420
|
+
type: String,
|
|
5421
|
+
default: null
|
|
5422
|
+
},
|
|
5423
|
+
|
|
5424
|
+
/**
|
|
5425
|
+
* Controls whether the collapsible is shown. Leaving this null will have the collapsible start
|
|
5426
|
+
* expanded and trigger on click by default. If you set this value, the default trigger
|
|
5427
|
+
* behavior will be disabled and you can control it as you need.
|
|
5428
|
+
* Supports .sync modifier
|
|
5429
|
+
*/
|
|
5430
|
+
open: {
|
|
5431
|
+
type: Boolean,
|
|
5432
|
+
default: null
|
|
5433
|
+
},
|
|
5434
|
+
|
|
5435
|
+
/**
|
|
5436
|
+
* The id of the content wrapper.
|
|
5437
|
+
*/
|
|
5438
|
+
id: {
|
|
5439
|
+
type: String,
|
|
5440
|
+
|
|
5441
|
+
default() {
|
|
5442
|
+
return getUniqueString();
|
|
5443
|
+
}
|
|
5444
|
+
|
|
5445
|
+
},
|
|
5446
|
+
|
|
5447
|
+
/**
|
|
5448
|
+
* Element type (tag name) of the root element of the component.
|
|
5449
|
+
*/
|
|
5450
|
+
elementType: {
|
|
5451
|
+
type: String,
|
|
5452
|
+
default: 'div'
|
|
5453
|
+
},
|
|
5454
|
+
|
|
5455
|
+
/**
|
|
5456
|
+
* Element type (tag name) of the content wrapper element.
|
|
5457
|
+
*/
|
|
5458
|
+
contentElementType: {
|
|
5459
|
+
type: String,
|
|
5460
|
+
default: 'div'
|
|
5461
|
+
},
|
|
5462
|
+
|
|
5463
|
+
/**
|
|
5464
|
+
* Additional class name for the anchor wrapper element.
|
|
5465
|
+
*/
|
|
5466
|
+
anchorClass: {
|
|
5467
|
+
type: [String, Array, Object],
|
|
5468
|
+
default: null
|
|
5469
|
+
},
|
|
5470
|
+
|
|
5471
|
+
/**
|
|
5472
|
+
* Additional class name for the content wrapper element.
|
|
5473
|
+
*/
|
|
5474
|
+
contentClass: {
|
|
5475
|
+
type: [String, Array, Object],
|
|
5476
|
+
default: null
|
|
4808
5477
|
},
|
|
4809
5478
|
|
|
4810
|
-
|
|
4811
|
-
|
|
5479
|
+
/**
|
|
5480
|
+
* The maximum width of the anchor and collapsible element.
|
|
5481
|
+
* Possible units rem|px|%|em
|
|
5482
|
+
*/
|
|
5483
|
+
maxWidth: {
|
|
5484
|
+
type: String,
|
|
5485
|
+
default: null
|
|
4812
5486
|
},
|
|
4813
5487
|
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
5488
|
+
/**
|
|
5489
|
+
* The maximum height of the collapsible element.
|
|
5490
|
+
* Possible units rem|px|%|em
|
|
5491
|
+
*/
|
|
5492
|
+
maxHeight: {
|
|
5493
|
+
type: String,
|
|
5494
|
+
default: null
|
|
5495
|
+
},
|
|
4818
5496
|
|
|
4819
|
-
|
|
5497
|
+
/**
|
|
5498
|
+
* Label on the collapsible content. Should provide this or ariaLabelledBy but not both.
|
|
5499
|
+
*/
|
|
5500
|
+
ariaLabel: {
|
|
5501
|
+
type: String,
|
|
5502
|
+
default: null
|
|
4820
5503
|
},
|
|
4821
5504
|
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
5505
|
+
/**
|
|
5506
|
+
* Id of the element that labels the collapsible content. Defaults to the anchor element.
|
|
5507
|
+
* Should provide this or ariaLabel but not both.
|
|
5508
|
+
*/
|
|
5509
|
+
ariaLabelledBy: {
|
|
5510
|
+
type: String,
|
|
5511
|
+
default: null
|
|
4825
5512
|
}
|
|
5513
|
+
},
|
|
5514
|
+
emits: ['update:open', 'opened'],
|
|
4826
5515
|
|
|
5516
|
+
data() {
|
|
5517
|
+
return {
|
|
5518
|
+
isOpen: true
|
|
5519
|
+
};
|
|
4827
5520
|
},
|
|
4828
|
-
watch: {
|
|
4829
|
-
showList(showList) {
|
|
4830
|
-
// When the list's visibility changes reset the highlight index.
|
|
4831
|
-
if (!this.listRenderedOutside) {
|
|
4832
|
-
this.setInitialHighlightIndex();
|
|
4833
|
-
this.$emit('opened', showList);
|
|
4834
|
-
}
|
|
4835
5521
|
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
5522
|
+
computed: {
|
|
5523
|
+
labelledBy() {
|
|
5524
|
+
// aria-labelledby should be set only if aria-labelledby is passed as a prop, or if
|
|
5525
|
+
// there is no aria-label and the labelledby should point to the anchor
|
|
5526
|
+
return this.ariaLabelledby || !this.ariaLabel && getUniqueString('DtCollapsible__anchor');
|
|
4841
5527
|
},
|
|
4842
5528
|
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
this.setInitialHighlightIndex();
|
|
4849
|
-
});
|
|
5529
|
+
contentStyle() {
|
|
5530
|
+
return {
|
|
5531
|
+
'max-height': this.maxHeight,
|
|
5532
|
+
'max-width': this.maxWidth
|
|
5533
|
+
};
|
|
4850
5534
|
}
|
|
4851
5535
|
|
|
4852
5536
|
},
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
5537
|
+
watch: {
|
|
5538
|
+
open: {
|
|
5539
|
+
handler: function (open) {
|
|
5540
|
+
if (open !== null) {
|
|
5541
|
+
this.isOpen = open;
|
|
5542
|
+
}
|
|
5543
|
+
},
|
|
5544
|
+
immediate: true
|
|
5545
|
+
}
|
|
4858
5546
|
},
|
|
4859
|
-
|
|
4860
5547
|
methods: {
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
const liElement = e.target.closest('li');
|
|
4864
|
-
|
|
4865
|
-
if (liElement && this.highlightId !== liElement.id) {
|
|
4866
|
-
this.setHighlightId(liElement.id);
|
|
4867
|
-
}
|
|
4868
|
-
},
|
|
4869
|
-
|
|
4870
|
-
getListElement() {
|
|
4871
|
-
var _this$outsideRendered, _this$$refs$listWrapp;
|
|
4872
|
-
|
|
4873
|
-
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));
|
|
4874
|
-
},
|
|
5548
|
+
onLeaveTransitionComplete() {
|
|
5549
|
+
this.$emit('opened', false);
|
|
4875
5550
|
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
this.setHighlightIndex(-1);
|
|
5551
|
+
if (this.open !== null) {
|
|
5552
|
+
this.$emit('update:open', false);
|
|
4879
5553
|
}
|
|
4880
5554
|
},
|
|
4881
5555
|
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
this.$emit('highlight', this.highlightIndex);
|
|
4885
|
-
},
|
|
4886
|
-
|
|
4887
|
-
onEnterKey() {
|
|
4888
|
-
if (this.loading || this.isListEmpty) return;
|
|
5556
|
+
onEnterTransitionComplete() {
|
|
5557
|
+
this.$emit('opened', true, this.$refs.content);
|
|
4889
5558
|
|
|
4890
|
-
if (this.
|
|
4891
|
-
this.$emit('
|
|
5559
|
+
if (this.open !== null) {
|
|
5560
|
+
this.$emit('update:open', true);
|
|
4892
5561
|
}
|
|
4893
5562
|
},
|
|
4894
5563
|
|
|
4895
|
-
|
|
4896
|
-
this
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
onOpen(open, contentRef) {
|
|
4900
|
-
var _this$outsideRendered2;
|
|
4901
|
-
|
|
4902
|
-
this.outsideRenderedListRef = contentRef;
|
|
4903
|
-
(_this$outsideRendered2 = this.outsideRenderedListRef) === null || _this$outsideRendered2 === void 0 ? void 0 : _this$outsideRendered2.addEventListener('mousemove', this.onMouseHighlight);
|
|
4904
|
-
this.$emit('opened', open);
|
|
4905
|
-
|
|
4906
|
-
if (open) {
|
|
4907
|
-
this.isListEmpty = this.checkItemsLength();
|
|
4908
|
-
this.setInitialHighlightIndex();
|
|
5564
|
+
defaultToggleOpen() {
|
|
5565
|
+
if (this.open === null) {
|
|
5566
|
+
this.toggleOpen();
|
|
4909
5567
|
}
|
|
4910
5568
|
},
|
|
4911
5569
|
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
this[eventHandler](e);
|
|
4915
|
-
},
|
|
4916
|
-
|
|
4917
|
-
setInitialHighlightIndex() {
|
|
4918
|
-
if (!this.showList) return;
|
|
4919
|
-
this.$nextTick(() => {
|
|
4920
|
-
// When the list's is shown, reset the highlight index.
|
|
4921
|
-
// If the list is loading, set to -1
|
|
4922
|
-
this.setHighlightIndex(this.loading ? -1 : 0);
|
|
4923
|
-
});
|
|
4924
|
-
},
|
|
4925
|
-
|
|
4926
|
-
checkItemsLength() {
|
|
4927
|
-
if (!this.showList) return undefined;
|
|
4928
|
-
const list = this.getListElement();
|
|
4929
|
-
const options = list === null || list === void 0 ? void 0 : list.querySelectorAll("[role=\"option\"]");
|
|
4930
|
-
return (options === null || options === void 0 ? void 0 : options.length) === 0;
|
|
5570
|
+
toggleOpen() {
|
|
5571
|
+
this.isOpen = !this.isOpen;
|
|
4931
5572
|
}
|
|
4932
5573
|
|
|
4933
5574
|
}
|
|
4934
5575
|
});
|
|
4935
|
-
;// CONCATENATED MODULE: ./components/
|
|
4936
|
-
/* harmony default export */ const
|
|
4937
|
-
;// CONCATENATED MODULE: ./components/
|
|
5576
|
+
;// CONCATENATED MODULE: ./components/collapsible/collapsible.vue?vue&type=script&lang=js&
|
|
5577
|
+
/* harmony default export */ const collapsible_collapsiblevue_type_script_lang_js_ = (collapsiblevue_type_script_lang_js_);
|
|
5578
|
+
;// CONCATENATED MODULE: ./components/collapsible/collapsible.vue
|
|
4938
5579
|
|
|
4939
5580
|
|
|
4940
5581
|
|
|
@@ -4942,10 +5583,10 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
4942
5583
|
|
|
4943
5584
|
/* normalize component */
|
|
4944
5585
|
;
|
|
4945
|
-
var
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
5586
|
+
var collapsible_component = normalizeComponent(
|
|
5587
|
+
collapsible_collapsiblevue_type_script_lang_js_,
|
|
5588
|
+
collapsiblevue_type_template_id_81ed658c_render,
|
|
5589
|
+
collapsiblevue_type_template_id_81ed658c_staticRenderFns,
|
|
4949
5590
|
false,
|
|
4950
5591
|
null,
|
|
4951
5592
|
null,
|
|
@@ -4953,8 +5594,8 @@ var combobox_component = normalizeComponent(
|
|
|
4953
5594
|
|
|
4954
5595
|
)
|
|
4955
5596
|
|
|
4956
|
-
/* harmony default export */ const
|
|
4957
|
-
;// CONCATENATED MODULE: ./components/
|
|
5597
|
+
/* harmony default export */ const collapsible = (collapsible_component.exports);
|
|
5598
|
+
;// CONCATENATED MODULE: ./components/collapsible/index.js
|
|
4958
5599
|
|
|
4959
5600
|
;// 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&
|
|
4960
5601
|
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){
|
|
@@ -9475,94 +10116,6 @@ const POPOVER_CONTENT_WIDTHS = [null, 'anchor'];
|
|
|
9475
10116
|
const POPOVER_INITIAL_FOCUS_STRINGS = ['none', 'dialog', 'first'];
|
|
9476
10117
|
const POPOVER_STICKY_VALUES = [...TIPPY_STICKY_VALUES];
|
|
9477
10118
|
const POPOVER_DIRECTIONS = [...BASE_TIPPY_DIRECTIONS];
|
|
9478
|
-
;// 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&
|
|
9479
|
-
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)])}
|
|
9480
|
-
var lazy_showvue_type_template_id_9ffa4e8c_staticRenderFns = []
|
|
9481
|
-
|
|
9482
|
-
|
|
9483
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/lazy_show/lazy_show.vue?vue&type=script&lang=js&
|
|
9484
|
-
//
|
|
9485
|
-
//
|
|
9486
|
-
//
|
|
9487
|
-
//
|
|
9488
|
-
//
|
|
9489
|
-
//
|
|
9490
|
-
//
|
|
9491
|
-
//
|
|
9492
|
-
//
|
|
9493
|
-
//
|
|
9494
|
-
//
|
|
9495
|
-
//
|
|
9496
|
-
//
|
|
9497
|
-
//
|
|
9498
|
-
//
|
|
9499
|
-
//
|
|
9500
|
-
/* harmony default export */ const lazy_showvue_type_script_lang_js_ = ({
|
|
9501
|
-
name: 'DtLazyShow',
|
|
9502
|
-
|
|
9503
|
-
/******************
|
|
9504
|
-
* PROPS *
|
|
9505
|
-
******************/
|
|
9506
|
-
props: {
|
|
9507
|
-
/**
|
|
9508
|
-
* Whether the child slot is shown.
|
|
9509
|
-
*/
|
|
9510
|
-
show: Boolean,
|
|
9511
|
-
|
|
9512
|
-
/**
|
|
9513
|
-
* A valid Vue enter/leave CSS transition name.
|
|
9514
|
-
*/
|
|
9515
|
-
transition: {
|
|
9516
|
-
type: String,
|
|
9517
|
-
default: null
|
|
9518
|
-
},
|
|
9519
|
-
appear: {
|
|
9520
|
-
type: Boolean,
|
|
9521
|
-
default: false
|
|
9522
|
-
}
|
|
9523
|
-
},
|
|
9524
|
-
|
|
9525
|
-
/******************
|
|
9526
|
-
* DATA *
|
|
9527
|
-
******************/
|
|
9528
|
-
data() {
|
|
9529
|
-
return {
|
|
9530
|
-
initialized: !!this.show
|
|
9531
|
-
};
|
|
9532
|
-
},
|
|
9533
|
-
|
|
9534
|
-
/******************
|
|
9535
|
-
* WATCH *
|
|
9536
|
-
******************/
|
|
9537
|
-
watch: {
|
|
9538
|
-
show: function (newValue) {
|
|
9539
|
-
if (!newValue || this.initialized) return;
|
|
9540
|
-
this.initialized = true;
|
|
9541
|
-
}
|
|
9542
|
-
}
|
|
9543
|
-
});
|
|
9544
|
-
;// CONCATENATED MODULE: ./components/lazy_show/lazy_show.vue?vue&type=script&lang=js&
|
|
9545
|
-
/* harmony default export */ const lazy_show_lazy_showvue_type_script_lang_js_ = (lazy_showvue_type_script_lang_js_);
|
|
9546
|
-
;// CONCATENATED MODULE: ./components/lazy_show/lazy_show.vue
|
|
9547
|
-
|
|
9548
|
-
|
|
9549
|
-
|
|
9550
|
-
|
|
9551
|
-
|
|
9552
|
-
/* normalize component */
|
|
9553
|
-
;
|
|
9554
|
-
var lazy_show_component = normalizeComponent(
|
|
9555
|
-
lazy_show_lazy_showvue_type_script_lang_js_,
|
|
9556
|
-
lazy_showvue_type_template_id_9ffa4e8c_render,
|
|
9557
|
-
lazy_showvue_type_template_id_9ffa4e8c_staticRenderFns,
|
|
9558
|
-
false,
|
|
9559
|
-
null,
|
|
9560
|
-
null,
|
|
9561
|
-
null
|
|
9562
|
-
|
|
9563
|
-
)
|
|
9564
|
-
|
|
9565
|
-
/* harmony default export */ const lazy_show = (lazy_show_component.exports);
|
|
9566
10119
|
;// CONCATENATED MODULE: ./node_modules/nanoid/non-secure/index.js
|
|
9567
10120
|
let urlAlphabet =
|
|
9568
10121
|
'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict'
|
|
@@ -12814,8 +13367,6 @@ var modal_component = normalizeComponent(
|
|
|
12814
13367
|
;// CONCATENATED MODULE: ./components/modal/index.js
|
|
12815
13368
|
|
|
12816
13369
|
|
|
12817
|
-
;// CONCATENATED MODULE: ./components/lazy_show/index.js
|
|
12818
|
-
|
|
12819
13370
|
;// 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&
|
|
12820
13371
|
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',
|
|
12821
13372
|
{ '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)])}
|
|
@@ -18201,6 +18752,7 @@ var top_banner_info_component = normalizeComponent(
|
|
|
18201
18752
|
|
|
18202
18753
|
|
|
18203
18754
|
|
|
18755
|
+
|
|
18204
18756
|
|
|
18205
18757
|
|
|
18206
18758
|
/// Recipes
|