@dialpad/dialtone-vue 2.9.1 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/dialtone-vue.umd.js
CHANGED
|
@@ -129,6 +129,54 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".tippy-box[data-popper-escaped] .d-pop
|
|
|
129
129
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
130
130
|
|
|
131
131
|
|
|
132
|
+
/***/ }),
|
|
133
|
+
|
|
134
|
+
/***/ 262:
|
|
135
|
+
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
136
|
+
|
|
137
|
+
"use strict";
|
|
138
|
+
__webpack_require__.r(__webpack_exports__);
|
|
139
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
140
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
141
|
+
/* harmony export */ });
|
|
142
|
+
/* harmony import */ var _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(481);
|
|
143
|
+
/* 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__);
|
|
144
|
+
/* harmony import */ var _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(400);
|
|
145
|
+
/* 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__);
|
|
146
|
+
// Imports
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
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()));
|
|
150
|
+
// Module
|
|
151
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".root-layout__header--sticky{position:-webkit-sticky;position:sticky;top:0}", ""]);
|
|
152
|
+
// Exports
|
|
153
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
/***/ }),
|
|
157
|
+
|
|
158
|
+
/***/ 217:
|
|
159
|
+
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
160
|
+
|
|
161
|
+
"use strict";
|
|
162
|
+
__webpack_require__.r(__webpack_exports__);
|
|
163
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
164
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
165
|
+
/* harmony export */ });
|
|
166
|
+
/* harmony import */ var _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(481);
|
|
167
|
+
/* 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__);
|
|
168
|
+
/* harmony import */ var _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(400);
|
|
169
|
+
/* 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__);
|
|
170
|
+
// Imports
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
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()));
|
|
174
|
+
// Module
|
|
175
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".root-layout__body{display:flex;flex-wrap:wrap;gap:0}.root-layout__body--invert{flex-direction:row-reverse}.root-layout__sidebar{flex-grow:1}.root-layout__content{flex-basis:0;flex-grow:999}", ""]);
|
|
176
|
+
// Exports
|
|
177
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
178
|
+
|
|
179
|
+
|
|
132
180
|
/***/ }),
|
|
133
181
|
|
|
134
182
|
/***/ 784:
|
|
@@ -415,6 +463,38 @@ var update = add("465f071a", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
415
463
|
|
|
416
464
|
/***/ }),
|
|
417
465
|
|
|
466
|
+
/***/ 253:
|
|
467
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
468
|
+
|
|
469
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
470
|
+
|
|
471
|
+
// load the styles
|
|
472
|
+
var content = __webpack_require__(262);
|
|
473
|
+
if(content.__esModule) content = content.default;
|
|
474
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
475
|
+
if(content.locals) module.exports = content.locals;
|
|
476
|
+
// add the styles to the DOM
|
|
477
|
+
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
|
478
|
+
var update = add("13ad79b5", content, true, {"sourceMap":false,"shadowMode":false});
|
|
479
|
+
|
|
480
|
+
/***/ }),
|
|
481
|
+
|
|
482
|
+
/***/ 75:
|
|
483
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
484
|
+
|
|
485
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
486
|
+
|
|
487
|
+
// load the styles
|
|
488
|
+
var content = __webpack_require__(217);
|
|
489
|
+
if(content.__esModule) content = content.default;
|
|
490
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
491
|
+
if(content.locals) module.exports = content.locals;
|
|
492
|
+
// add the styles to the DOM
|
|
493
|
+
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
|
494
|
+
var update = add("4a759ff2", content, true, {"sourceMap":false,"shadowMode":false});
|
|
495
|
+
|
|
496
|
+
/***/ }),
|
|
497
|
+
|
|
418
498
|
/***/ 778:
|
|
419
499
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
420
500
|
|
|
@@ -1056,6 +1136,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1056
1136
|
"DtRecipeComboboxWithPopover": () => (/* reexport */ combobox_with_popover),
|
|
1057
1137
|
"DtRecipeContactInfo": () => (/* reexport */ contact_info),
|
|
1058
1138
|
"DtRecipeTopBannerInfo": () => (/* reexport */ top_banner_info),
|
|
1139
|
+
"DtRootLayout": () => (/* reexport */ root_layout),
|
|
1059
1140
|
"DtSelectMenu": () => (/* reexport */ select_menu),
|
|
1060
1141
|
"DtSkeleton": () => (/* reexport */ skeleton_skeleton),
|
|
1061
1142
|
"DtSkeletonListItem": () => (/* reexport */ skeleton_list_item),
|
|
@@ -1082,6 +1163,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1082
1163
|
"POPOVER_INITIAL_FOCUS_STRINGS": () => (/* reexport */ POPOVER_INITIAL_FOCUS_STRINGS),
|
|
1083
1164
|
"POPOVER_PADDING_CLASSES": () => (/* reexport */ POPOVER_PADDING_CLASSES),
|
|
1084
1165
|
"POPOVER_ROLES": () => (/* reexport */ POPOVER_ROLES),
|
|
1166
|
+
"ROOT_LAYOUT_SIDEBAR_POSITIONS": () => (/* reexport */ ROOT_LAYOUT_SIDEBAR_POSITIONS),
|
|
1085
1167
|
"SELECT_SIZE_MODIFIERS": () => (/* reexport */ SELECT_SIZE_MODIFIERS),
|
|
1086
1168
|
"SELECT_STATE_MODIFIERS": () => (/* reexport */ SELECT_STATE_MODIFIERS),
|
|
1087
1169
|
"SHORTCUTS_ALIASES": () => (/* reexport */ SHORTCUTS_ALIASES),
|
|
@@ -3311,6 +3393,7 @@ var comboboxvue_type_template_id_f944df30_staticRenderFns = []
|
|
|
3311
3393
|
* the root element of the component.
|
|
3312
3394
|
*/
|
|
3313
3395
|
|
|
3396
|
+
const ERROR_INVALID_LIST_ELEMENT = 'listElementKey is required or the referenced ' + 'element doesn\'t exist. Received listElement: ';
|
|
3314
3397
|
/* harmony default export */ const keyboard_list_navigation = (function () {
|
|
3315
3398
|
let {
|
|
3316
3399
|
// Role of the list items in the component. This is used to identify the list items
|
|
@@ -3334,7 +3417,7 @@ var comboboxvue_type_template_id_f944df30_staticRenderFns = []
|
|
|
3334
3417
|
endOfListMethod = null,
|
|
3335
3418
|
// Scroll the active element into view when highlighted by a keyboard event.
|
|
3336
3419
|
scrollToOnHighlight = true,
|
|
3337
|
-
// Focus the active element on keyboard navigation
|
|
3420
|
+
// Focus the active element on keyboard navigation.
|
|
3338
3421
|
focusOnKeyboardNavigation = false
|
|
3339
3422
|
} = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
3340
3423
|
return {
|
|
@@ -3344,8 +3427,8 @@ var comboboxvue_type_template_id_f944df30_staticRenderFns = []
|
|
|
3344
3427
|
return {
|
|
3345
3428
|
[indexKey]: -1,
|
|
3346
3429
|
[idKey]: '',
|
|
3347
|
-
scrollToOnHighlight
|
|
3348
|
-
focusOnKeyboardNavigation
|
|
3430
|
+
scrollToOnHighlight,
|
|
3431
|
+
focusOnKeyboardNavigation
|
|
3349
3432
|
};
|
|
3350
3433
|
},
|
|
3351
3434
|
|
|
@@ -3368,14 +3451,25 @@ var comboboxvue_type_template_id_f944df30_staticRenderFns = []
|
|
|
3368
3451
|
// Gets the length of all the items in the list, uses the listItemRole param to determine
|
|
3369
3452
|
// whether an element is a list item.
|
|
3370
3453
|
_itemsLength() {
|
|
3454
|
+
const listItems = this._getListItemNodes();
|
|
3455
|
+
|
|
3456
|
+
if (listItems === null) {
|
|
3457
|
+
return 0;
|
|
3458
|
+
}
|
|
3459
|
+
|
|
3460
|
+
return listItems.length;
|
|
3461
|
+
},
|
|
3462
|
+
|
|
3463
|
+
// Gets all the list item nodes within the list element
|
|
3464
|
+
_getListItemNodes() {
|
|
3371
3465
|
const listElement = this._getListElement();
|
|
3372
3466
|
|
|
3373
3467
|
if (!listElement) {
|
|
3374
|
-
console.error(
|
|
3375
|
-
return
|
|
3468
|
+
console.error(ERROR_INVALID_LIST_ELEMENT, listElement);
|
|
3469
|
+
return null;
|
|
3376
3470
|
}
|
|
3377
3471
|
|
|
3378
|
-
return listElement.querySelectorAll("[role=\"".concat(listItemRole, "\"]"))
|
|
3472
|
+
return Array.from(listElement.querySelectorAll("[role=\"".concat(listItemRole, "\"]")));
|
|
3379
3473
|
},
|
|
3380
3474
|
|
|
3381
3475
|
onUpKey() {
|
|
@@ -3420,6 +3514,31 @@ var comboboxvue_type_template_id_f944df30_staticRenderFns = []
|
|
|
3420
3514
|
this.focusActiveItemIfNeeded();
|
|
3421
3515
|
},
|
|
3422
3516
|
|
|
3517
|
+
onNavigationKey(key) {
|
|
3518
|
+
const listItems = this._getListItemNodes();
|
|
3519
|
+
|
|
3520
|
+
const matchingItems = listItems.filter(item => {
|
|
3521
|
+
const content = item.textContent.trim().toLowerCase();
|
|
3522
|
+
return content.startsWith(key.toLowerCase());
|
|
3523
|
+
});
|
|
3524
|
+
|
|
3525
|
+
if (matchingItems.length <= 0) {
|
|
3526
|
+
return;
|
|
3527
|
+
}
|
|
3528
|
+
|
|
3529
|
+
const highlightedMatchingItemIndex = matchingItems.findIndex(item => {
|
|
3530
|
+
return this[indexKey] === listItems.indexOf(item);
|
|
3531
|
+
});
|
|
3532
|
+
const nextHighlightedItemIndex = listItems.indexOf(highlightedMatchingItemIndex < matchingItems.length - 1 ? matchingItems[highlightedMatchingItemIndex + 1] : matchingItems[0]);
|
|
3533
|
+
this.setHighlightIndex(nextHighlightedItemIndex);
|
|
3534
|
+
this.scrollActiveItemIntoViewIfNeeded();
|
|
3535
|
+
this.focusActiveItemIfNeeded();
|
|
3536
|
+
},
|
|
3537
|
+
|
|
3538
|
+
isValidCharacter(key) {
|
|
3539
|
+
return key.length === 1;
|
|
3540
|
+
},
|
|
3541
|
+
|
|
3423
3542
|
jumpToBeginning() {
|
|
3424
3543
|
this.setHighlightIndex(0);
|
|
3425
3544
|
},
|
|
@@ -3456,8 +3575,7 @@ var comboboxvue_type_template_id_f944df30_staticRenderFns = []
|
|
|
3456
3575
|
}
|
|
3457
3576
|
|
|
3458
3577
|
const listItems = Array.from(listElement.querySelectorAll("[role=\"".concat(listItemRole, "\"]")));
|
|
3459
|
-
|
|
3460
|
-
return index;
|
|
3578
|
+
return listItems.indexOf(listElement.querySelector("#".concat(id)));
|
|
3461
3579
|
},
|
|
3462
3580
|
|
|
3463
3581
|
_getItemId(index) {
|
|
@@ -3766,13 +3884,13 @@ var combobox_component = normalizeComponent(
|
|
|
3766
3884
|
/* harmony default export */ const combobox = (combobox_component.exports);
|
|
3767
3885
|
;// CONCATENATED MODULE: ./components/combobox/index.js
|
|
3768
3886
|
|
|
3769
|
-
;// 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=
|
|
3770
|
-
var
|
|
3887
|
+
;// 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=e689f0c4&
|
|
3888
|
+
var dropdownvue_type_template_id_e689f0c4_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":"first","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){
|
|
3771
3889
|
var attrs = ref.attrs;
|
|
3772
3890
|
return [_vm._t("anchor",null,null,attrs)]}},{key:"content",fn:function(ref){
|
|
3773
3891
|
var close = ref.close;
|
|
3774
3892
|
return [_c('ul',{ref:"listWrapper",class:['d-ps-relative', 'd-px0', _vm.DROPDOWN_PADDING_CLASSES[_vm.padding], _vm.listClass],attrs:{"id":_vm.listId,"data-qa":"dt-dropdown-list-wrapper"},on:{"mouseleave":_vm.clearHighlightIndex,"!mousemove":function($event){return _vm.onMouseHighlight.apply(null, arguments)}}},[_vm._t("list",null,{"close":close})],2)]}}],null,true)},_vm.$listeners))}
|
|
3775
|
-
var
|
|
3893
|
+
var dropdownvue_type_template_id_e689f0c4_staticRenderFns = []
|
|
3776
3894
|
|
|
3777
3895
|
|
|
3778
3896
|
;// 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/popover/popover.vue?vue&type=template&id=97535496&
|
|
@@ -9470,6 +9588,7 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
9470
9588
|
//
|
|
9471
9589
|
//
|
|
9472
9590
|
//
|
|
9591
|
+
//
|
|
9473
9592
|
|
|
9474
9593
|
|
|
9475
9594
|
|
|
@@ -9639,6 +9758,10 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
9639
9758
|
|
|
9640
9759
|
activeItemEl() {
|
|
9641
9760
|
return this.getListElement().querySelector('#' + this.highlightId);
|
|
9761
|
+
},
|
|
9762
|
+
|
|
9763
|
+
isArrowKeyNav() {
|
|
9764
|
+
return this.navigationType === this.LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS;
|
|
9642
9765
|
}
|
|
9643
9766
|
|
|
9644
9767
|
},
|
|
@@ -9698,7 +9821,7 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
9698
9821
|
return;
|
|
9699
9822
|
}
|
|
9700
9823
|
|
|
9701
|
-
if (this.
|
|
9824
|
+
if (this.isArrowKeyNav) {
|
|
9702
9825
|
return this.onUpKey();
|
|
9703
9826
|
}
|
|
9704
9827
|
},
|
|
@@ -9709,29 +9832,35 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
9709
9832
|
return;
|
|
9710
9833
|
}
|
|
9711
9834
|
|
|
9712
|
-
if (this.
|
|
9835
|
+
if (this.isArrowKeyNav) {
|
|
9713
9836
|
return this.onDownKey();
|
|
9714
9837
|
}
|
|
9715
9838
|
},
|
|
9716
9839
|
|
|
9717
9840
|
onHomeKeyPress() {
|
|
9718
|
-
if (!this.isOpen) {
|
|
9841
|
+
if (!this.isOpen || !this.isArrowKeyNav) {
|
|
9719
9842
|
return;
|
|
9720
9843
|
}
|
|
9721
9844
|
|
|
9722
|
-
|
|
9723
|
-
return this.onHomeKey();
|
|
9724
|
-
}
|
|
9845
|
+
return this.onHomeKey();
|
|
9725
9846
|
},
|
|
9726
9847
|
|
|
9727
9848
|
onEndKeyPress() {
|
|
9728
|
-
if (!this.isOpen) {
|
|
9849
|
+
if (!this.isOpen || !this.isArrowKeyNav) {
|
|
9729
9850
|
return;
|
|
9730
9851
|
}
|
|
9731
9852
|
|
|
9732
|
-
|
|
9733
|
-
|
|
9853
|
+
return this.onEndKey();
|
|
9854
|
+
},
|
|
9855
|
+
|
|
9856
|
+
onKeyPress(e) {
|
|
9857
|
+
if (!this.isOpen || !this.isArrowKeyNav || !this.isValidCharacter(e.key)) {
|
|
9858
|
+
return;
|
|
9734
9859
|
}
|
|
9860
|
+
|
|
9861
|
+
e.stopPropagation();
|
|
9862
|
+
e.preventDefault();
|
|
9863
|
+
return this.onNavigationKey(e.key);
|
|
9735
9864
|
},
|
|
9736
9865
|
|
|
9737
9866
|
onKeyValidation(e, eventHandler) {
|
|
@@ -9756,8 +9885,8 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
9756
9885
|
;
|
|
9757
9886
|
var dropdown_component = normalizeComponent(
|
|
9758
9887
|
dropdown_dropdownvue_type_script_lang_js_,
|
|
9759
|
-
|
|
9760
|
-
|
|
9888
|
+
dropdownvue_type_template_id_e689f0c4_render,
|
|
9889
|
+
dropdownvue_type_template_id_e689f0c4_staticRenderFns,
|
|
9761
9890
|
false,
|
|
9762
9891
|
null,
|
|
9763
9892
|
null,
|
|
@@ -14296,15 +14425,20 @@ var checkbox_group_component = normalizeComponent(
|
|
|
14296
14425
|
/* harmony default export */ const checkbox_group = (checkbox_group_component.exports);
|
|
14297
14426
|
;// CONCATENATED MODULE: ./components/checkbox_group/index.js
|
|
14298
14427
|
|
|
14299
|
-
;// 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/chip/chip.vue?vue&type=template&id=
|
|
14300
|
-
var
|
|
14301
|
-
var
|
|
14428
|
+
;// 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/chip/chip.vue?vue&type=template&id=81827eb4&
|
|
14429
|
+
var chipvue_type_template_id_81827eb4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:"d-chip"},[_c(_vm.interactive ? 'button' : 'span',_vm._g({tag:"component",class:_vm.chipClasses(),attrs:{"id":_vm.id,"type":_vm.interactive && 'button',"data-qa":"dt-chip","aria-labelledby":_vm.ariaLabel ? undefined : (_vm.id + "-content"),"aria-label":_vm.ariaLabel}},_vm.chipListeners),[(_vm.$slots.icon)?_c('span',{staticClass:"d-chip__icon",attrs:{"data-qa":"dt-chip-icon"}},[_vm._t("icon")],2):(_vm.$slots.avatar)?_c('span',{attrs:{"data-qa":"dt-chip-avatar"}},[_vm._t("avatar")],2):_vm._e(),(_vm.$slots.default)?_c('span',{class:['d-truncate', 'd-chip__text', _vm.contentClass],attrs:{"id":(_vm.id + "-content"),"data-qa":"dt-chip-label"}},[_vm._t("default")],2):_vm._e()]),(!_vm.hideClose)?_c('dt-button',_vm._b({class:_vm.chipCloseButtonClasses(),attrs:{"data-qa":"dt-chip-close","aria-label":_vm.closeButtonProps.ariaLabel},on:{"click":function($event){return _vm.$emit('close')}},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('icon-close')]},proxy:true}],null,false,4267981299)},'dt-button',_vm.closeButtonProps,false)):_vm._e()],1)}
|
|
14430
|
+
var chipvue_type_template_id_81827eb4_staticRenderFns = []
|
|
14302
14431
|
|
|
14303
14432
|
|
|
14304
14433
|
;// CONCATENATED MODULE: ./components/chip/chip_constants.js
|
|
14305
14434
|
const CHIP_SIZE_MODIFIERS = {
|
|
14306
|
-
xs: 'd-
|
|
14307
|
-
sm: 'd-
|
|
14435
|
+
xs: 'd-chip__label--xs',
|
|
14436
|
+
sm: 'd-chip__label--sm',
|
|
14437
|
+
md: ''
|
|
14438
|
+
};
|
|
14439
|
+
const CHIP_CLOSE_BUTTON_SIZE_MODIFIERS = {
|
|
14440
|
+
xs: 'd-chip__close--xs',
|
|
14441
|
+
sm: 'd-chip__close--sm',
|
|
14308
14442
|
md: ''
|
|
14309
14443
|
};
|
|
14310
14444
|
/* harmony default export */ const chip_constants = ({
|
|
@@ -14363,17 +14497,6 @@ const CHIP_SIZE_MODIFIERS = {
|
|
|
14363
14497
|
//
|
|
14364
14498
|
//
|
|
14365
14499
|
//
|
|
14366
|
-
//
|
|
14367
|
-
//
|
|
14368
|
-
//
|
|
14369
|
-
//
|
|
14370
|
-
//
|
|
14371
|
-
//
|
|
14372
|
-
//
|
|
14373
|
-
//
|
|
14374
|
-
//
|
|
14375
|
-
//
|
|
14376
|
-
//
|
|
14377
14500
|
|
|
14378
14501
|
|
|
14379
14502
|
|
|
@@ -14451,7 +14574,7 @@ const CHIP_SIZE_MODIFIERS = {
|
|
|
14451
14574
|
default: ''
|
|
14452
14575
|
}
|
|
14453
14576
|
},
|
|
14454
|
-
emits: ['click', 'close'],
|
|
14577
|
+
emits: ['click', 'close', 'keyup'],
|
|
14455
14578
|
|
|
14456
14579
|
data() {
|
|
14457
14580
|
return {
|
|
@@ -14460,37 +14583,37 @@ const CHIP_SIZE_MODIFIERS = {
|
|
|
14460
14583
|
},
|
|
14461
14584
|
|
|
14462
14585
|
computed: {
|
|
14463
|
-
|
|
14464
|
-
return this
|
|
14586
|
+
chipListeners() {
|
|
14587
|
+
return { ...this.$listeners,
|
|
14588
|
+
click: event => {
|
|
14589
|
+
if (this.interactive) this.$emit('click', event);
|
|
14590
|
+
},
|
|
14591
|
+
keyup: event => {
|
|
14592
|
+
var _event$code;
|
|
14593
|
+
|
|
14594
|
+
if (((_event$code = event.code) === null || _event$code === void 0 ? void 0 : _event$code.toLowerCase()) === 'delete') {
|
|
14595
|
+
this.onClose();
|
|
14596
|
+
} else {
|
|
14597
|
+
this.$emit('keyup', event);
|
|
14598
|
+
}
|
|
14599
|
+
}
|
|
14600
|
+
};
|
|
14465
14601
|
}
|
|
14466
14602
|
|
|
14467
14603
|
},
|
|
14468
14604
|
methods: {
|
|
14469
14605
|
chipClasses() {
|
|
14470
|
-
return ['d-
|
|
14471
|
-
|
|
14472
|
-
|
|
14473
|
-
|
|
14606
|
+
return ['d-chip__label', CHIP_SIZE_MODIFIERS[this.size]];
|
|
14607
|
+
},
|
|
14608
|
+
|
|
14609
|
+
chipCloseButtonClasses() {
|
|
14610
|
+
return ['d-chip__close', CHIP_CLOSE_BUTTON_SIZE_MODIFIERS[this.size]];
|
|
14474
14611
|
},
|
|
14475
14612
|
|
|
14476
14613
|
onClose() {
|
|
14477
14614
|
if (!this.hideClose) {
|
|
14478
14615
|
this.$emit('close');
|
|
14479
14616
|
}
|
|
14480
|
-
},
|
|
14481
|
-
|
|
14482
|
-
onClick(event) {
|
|
14483
|
-
// Clicking on the button should not update value of isActive.
|
|
14484
|
-
if (!this.interactive || this.$refs.closeBtnContainer.contains(event.target)) {
|
|
14485
|
-
return;
|
|
14486
|
-
}
|
|
14487
|
-
|
|
14488
|
-
if (event.type === 'mousedown' || event.type === 'keydown') {
|
|
14489
|
-
this.isActive = true;
|
|
14490
|
-
} else {
|
|
14491
|
-
this.isActive = false;
|
|
14492
|
-
this.$emit('click');
|
|
14493
|
-
}
|
|
14494
14617
|
}
|
|
14495
14618
|
|
|
14496
14619
|
}
|
|
@@ -14507,8 +14630,8 @@ const CHIP_SIZE_MODIFIERS = {
|
|
|
14507
14630
|
;
|
|
14508
14631
|
var chip_component = normalizeComponent(
|
|
14509
14632
|
chip_chipvue_type_script_lang_js_,
|
|
14510
|
-
|
|
14511
|
-
|
|
14633
|
+
chipvue_type_template_id_81827eb4_render,
|
|
14634
|
+
chipvue_type_template_id_81827eb4_staticRenderFns,
|
|
14512
14635
|
false,
|
|
14513
14636
|
null,
|
|
14514
14637
|
null,
|
|
@@ -14895,18 +15018,20 @@ var select_menu_component = normalizeComponent(
|
|
|
14895
15018
|
;// CONCATENATED MODULE: ./components/select_menu/index.js
|
|
14896
15019
|
|
|
14897
15020
|
|
|
14898
|
-
;// 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/toast/toast.vue?vue&type=template&id=
|
|
14899
|
-
var
|
|
15021
|
+
;// 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/toast/toast.vue?vue&type=template&id=7c8c2d2a&
|
|
15022
|
+
var toastvue_type_template_id_7c8c2d2a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isShown)?_c('div',{class:[
|
|
14900
15023
|
'd-toast',
|
|
14901
15024
|
_vm.kindClass,
|
|
14902
|
-
{ 'd-toast--important': _vm.important } ],attrs:{"data-qa":"dt-toast","aria-hidden":_vm.
|
|
14903
|
-
var
|
|
15025
|
+
{ 'd-toast--important': _vm.important } ],attrs:{"data-qa":"dt-toast","aria-hidden":(!_vm.isShown).toString()}},[_c('div',{staticClass:"d-toast__dialog"},[_c('dt-notice-icon',_vm._g({attrs:{"kind":_vm.kind}},_vm.$listeners),[_vm._t("icon")],2),_c('dt-notice-content',_vm._g({attrs:{"title-id":_vm.titleId,"content-id":_vm.contentId,"title":_vm.title,"role":_vm.role},scopedSlots:_vm._u([{key:"titleOverride",fn:function(){return [_vm._t("titleOverride")]},proxy:true}],null,true)},_vm.$listeners),[_vm._t("default",function(){return [_vm._v(" "+_vm._s(_vm.message)+" ")]})],2),_c('dt-notice-action',_vm._g({attrs:{"hide-close":_vm.hideClose,"close-button-props":_vm.closeButtonProps}},_vm.noticeActionListeners),[_vm._t("action")],2)],1)]):_vm._e()}
|
|
15026
|
+
var toastvue_type_template_id_7c8c2d2a_staticRenderFns = []
|
|
14904
15027
|
|
|
14905
15028
|
|
|
14906
15029
|
;// CONCATENATED MODULE: ./components/toast/toast_constants.js
|
|
14907
15030
|
const TOAST_ROLES = ['status', 'alert'];
|
|
15031
|
+
const TOAST_MIN_DURATION = 6000;
|
|
14908
15032
|
/* harmony default export */ const toast_constants = ({
|
|
14909
|
-
TOAST_ROLES
|
|
15033
|
+
TOAST_ROLES,
|
|
15034
|
+
TOAST_MIN_DURATION
|
|
14910
15035
|
});
|
|
14911
15036
|
;// 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/toast/toast.vue?vue&type=script&lang=js&
|
|
14912
15037
|
//
|
|
@@ -15044,6 +15169,17 @@ const TOAST_ROLES = ['status', 'alert'];
|
|
|
15044
15169
|
default: false
|
|
15045
15170
|
},
|
|
15046
15171
|
|
|
15172
|
+
/**
|
|
15173
|
+
* Controls whether the toast is shown. If a valid duration is provided, the toast will disappear
|
|
15174
|
+
* after reaching the duration time, so it's convenient to use `.sync` modifier with this prop to update
|
|
15175
|
+
* the data in your component.
|
|
15176
|
+
* Supports .sync modifier
|
|
15177
|
+
*/
|
|
15178
|
+
show: {
|
|
15179
|
+
type: Boolean,
|
|
15180
|
+
default: false
|
|
15181
|
+
},
|
|
15182
|
+
|
|
15047
15183
|
/**
|
|
15048
15184
|
* Props for the toast close button.
|
|
15049
15185
|
*/
|
|
@@ -15062,13 +15198,14 @@ const TOAST_ROLES = ['status', 'alert'];
|
|
|
15062
15198
|
|
|
15063
15199
|
/**
|
|
15064
15200
|
* The duration in ms the toast will display before disappearing.
|
|
15065
|
-
*
|
|
15201
|
+
* The toast won't disappear if the duration is not provided.
|
|
15202
|
+
* If it's provided, it should be equal to or greater than 6000.
|
|
15066
15203
|
*/
|
|
15067
15204
|
duration: {
|
|
15068
15205
|
type: Number,
|
|
15069
|
-
default:
|
|
15206
|
+
default: null,
|
|
15070
15207
|
validator: duration => {
|
|
15071
|
-
return duration >=
|
|
15208
|
+
return duration >= TOAST_MIN_DURATION;
|
|
15072
15209
|
}
|
|
15073
15210
|
}
|
|
15074
15211
|
},
|
|
@@ -15076,7 +15213,8 @@ const TOAST_ROLES = ['status', 'alert'];
|
|
|
15076
15213
|
|
|
15077
15214
|
data() {
|
|
15078
15215
|
return {
|
|
15079
|
-
|
|
15216
|
+
isShown: false,
|
|
15217
|
+
minDuration: TOAST_MIN_DURATION
|
|
15080
15218
|
};
|
|
15081
15219
|
},
|
|
15082
15220
|
|
|
@@ -15090,29 +15228,54 @@ const TOAST_ROLES = ['status', 'alert'];
|
|
|
15090
15228
|
base: 'd-toast--base'
|
|
15091
15229
|
};
|
|
15092
15230
|
return kindClasses[this.kind];
|
|
15231
|
+
},
|
|
15232
|
+
|
|
15233
|
+
noticeActionListeners() {
|
|
15234
|
+
return { // eslint-disable-next-line vue/no-deprecated-dollar-listeners-api
|
|
15235
|
+
...this.$listeners,
|
|
15236
|
+
close: event => {
|
|
15237
|
+
this.isShown = false;
|
|
15238
|
+
this.$emit('update:show', false);
|
|
15239
|
+
this.$emit('close', event);
|
|
15240
|
+
}
|
|
15241
|
+
};
|
|
15242
|
+
},
|
|
15243
|
+
|
|
15244
|
+
shouldSetTimeout() {
|
|
15245
|
+
return !!this.duration && this.duration >= this.minDuration;
|
|
15093
15246
|
}
|
|
15094
15247
|
|
|
15095
15248
|
},
|
|
15249
|
+
watch: {
|
|
15250
|
+
show: {
|
|
15251
|
+
handler: function (show) {
|
|
15252
|
+
this.isShown = show;
|
|
15253
|
+
|
|
15254
|
+
if (show) {
|
|
15255
|
+
this.setTimeout();
|
|
15256
|
+
} else {
|
|
15257
|
+
clearTimeout(this.displayTimer);
|
|
15258
|
+
}
|
|
15259
|
+
},
|
|
15260
|
+
immediate: true
|
|
15261
|
+
}
|
|
15262
|
+
},
|
|
15096
15263
|
|
|
15097
|
-
/* TODO Vue 3 Migration
|
|
15098
|
-
* destroyed() should be updated to unmounted() when migrating to Vue 3.
|
|
15099
|
-
*/
|
|
15100
15264
|
// eslint-disable-next-line vue/no-deprecated-destroyed-lifecycle
|
|
15101
15265
|
destroyed() {
|
|
15102
|
-
|
|
15266
|
+
if (this.shouldSetTimeout) {
|
|
15267
|
+
clearTimeout(this.displayTimer);
|
|
15268
|
+
}
|
|
15103
15269
|
},
|
|
15104
15270
|
|
|
15105
15271
|
methods: {
|
|
15106
|
-
|
|
15107
|
-
this.
|
|
15108
|
-
|
|
15109
|
-
|
|
15110
|
-
|
|
15111
|
-
|
|
15112
|
-
|
|
15113
|
-
close() {
|
|
15114
|
-
this.hidden = true;
|
|
15115
|
-
clearTimeout(this.displayTimer);
|
|
15272
|
+
setTimeout() {
|
|
15273
|
+
if (this.shouldSetTimeout) {
|
|
15274
|
+
this.displayTimer = setTimeout(() => {
|
|
15275
|
+
this.isShown = false;
|
|
15276
|
+
this.$emit('update:show', false);
|
|
15277
|
+
}, this.duration);
|
|
15278
|
+
}
|
|
15116
15279
|
}
|
|
15117
15280
|
|
|
15118
15281
|
}
|
|
@@ -15129,8 +15292,8 @@ const TOAST_ROLES = ['status', 'alert'];
|
|
|
15129
15292
|
;
|
|
15130
15293
|
var toast_component = normalizeComponent(
|
|
15131
15294
|
toast_toastvue_type_script_lang_js_,
|
|
15132
|
-
|
|
15133
|
-
|
|
15295
|
+
toastvue_type_template_id_7c8c2d2a_render,
|
|
15296
|
+
toastvue_type_template_id_7c8c2d2a_staticRenderFns,
|
|
15134
15297
|
false,
|
|
15135
15298
|
null,
|
|
15136
15299
|
null,
|
|
@@ -15978,6 +16141,297 @@ var keyboard_shortcut_component = normalizeComponent(
|
|
|
15978
16141
|
;// CONCATENATED MODULE: ./components/keyboard_shortcut/index.js
|
|
15979
16142
|
|
|
15980
16143
|
|
|
16144
|
+
;// 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/root_layout/root_layout.vue?vue&type=template&id=2e5fe0a4&
|
|
16145
|
+
var root_layoutvue_type_template_id_2e5fe0a4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"root-layout"},[(_vm.$slots.header)?_c('header',{class:['root-layout__header', _vm.headerClass, { 'root-layout__header--sticky': _vm.headerSticky }],style:({ 'height': _vm.headerHeight }),attrs:{"data-qa":"root-layout-header"}},[_vm._t("header")],2):_vm._e(),_c('dt-root-layout-body',{attrs:{"content-class":_vm.contentClass,"content-wrap-width-percent":_vm.contentWrapWidthPercent,"sidebar-class":_vm.sidebarClass,"sidebar-width":_vm.sidebarWidth,"sidebar-position":_vm.sidebarPosition},scopedSlots:_vm._u([{key:"sidebar",fn:function(){return [_vm._t("sidebar")]},proxy:true},{key:"content",fn:function(){return [_vm._t("default")]},proxy:true}],null,true)}),(_vm.$slots.footer)?_c('footer',{class:['root-layout__footer', _vm.footerClass],style:({ 'height': _vm.footerHeight }),attrs:{"data-qa":"root-layout-footer"}},[_vm._t("footer")],2):_vm._e()],1)}
|
|
16146
|
+
var root_layoutvue_type_template_id_2e5fe0a4_staticRenderFns = []
|
|
16147
|
+
|
|
16148
|
+
|
|
16149
|
+
;// 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/root_layout/root_layout_body.vue?vue&type=template&id=dfb53770&
|
|
16150
|
+
var root_layout_bodyvue_type_template_id_dfb53770_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['root-layout__body', _vm.bodyClass],attrs:{"data-qa":"root-layout-body"}},[(_vm.$slots.sidebar)?_c('aside',{class:['root-layout__sidebar', _vm.sidebarClass],style:({ 'flex-basis': _vm.sidebarWidth }),attrs:{"data-qa":"root-layout-sidebar"}},[_vm._t("sidebar")],2):_vm._e(),(_vm.$slots.content)?_c('main',{class:['root-layout__content', _vm.contentClass],style:({ 'min-inline-size': _vm.contentWrapWidthPercent }),attrs:{"data-qa":"root-layout-content"}},[_vm._t("content")],2):_vm._e()])}
|
|
16151
|
+
var root_layout_bodyvue_type_template_id_dfb53770_staticRenderFns = []
|
|
16152
|
+
|
|
16153
|
+
|
|
16154
|
+
;// CONCATENATED MODULE: ./components/root_layout/root_layout_constants.js
|
|
16155
|
+
const ROOT_LAYOUT_SIDEBAR_POSITIONS = {
|
|
16156
|
+
LEFT: 'left',
|
|
16157
|
+
RIGHT: 'right'
|
|
16158
|
+
};
|
|
16159
|
+
/* harmony default export */ const root_layout_constants = ({
|
|
16160
|
+
ROOT_LAYOUT_SIDEBAR_POSITIONS
|
|
16161
|
+
});
|
|
16162
|
+
;// 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/root_layout/root_layout_body.vue?vue&type=script&lang=js&
|
|
16163
|
+
//
|
|
16164
|
+
//
|
|
16165
|
+
//
|
|
16166
|
+
//
|
|
16167
|
+
//
|
|
16168
|
+
//
|
|
16169
|
+
//
|
|
16170
|
+
//
|
|
16171
|
+
//
|
|
16172
|
+
//
|
|
16173
|
+
//
|
|
16174
|
+
//
|
|
16175
|
+
//
|
|
16176
|
+
//
|
|
16177
|
+
//
|
|
16178
|
+
//
|
|
16179
|
+
//
|
|
16180
|
+
//
|
|
16181
|
+
//
|
|
16182
|
+
//
|
|
16183
|
+
//
|
|
16184
|
+
//
|
|
16185
|
+
//
|
|
16186
|
+
//
|
|
16187
|
+
|
|
16188
|
+
/* harmony default export */ const root_layout_bodyvue_type_script_lang_js_ = ({
|
|
16189
|
+
name: 'DtRootLayoutBody',
|
|
16190
|
+
props: {
|
|
16191
|
+
/**
|
|
16192
|
+
* Additional class name for the content element
|
|
16193
|
+
*/
|
|
16194
|
+
contentClass: {
|
|
16195
|
+
type: [String, Array, Object],
|
|
16196
|
+
default: undefined
|
|
16197
|
+
},
|
|
16198
|
+
|
|
16199
|
+
/**
|
|
16200
|
+
* Additional class name for the sidebar element
|
|
16201
|
+
*/
|
|
16202
|
+
sidebarClass: {
|
|
16203
|
+
type: [String, Array, Object],
|
|
16204
|
+
default: undefined
|
|
16205
|
+
},
|
|
16206
|
+
|
|
16207
|
+
/**
|
|
16208
|
+
* The width of the sidebar
|
|
16209
|
+
* Possible units rem|px|%|em
|
|
16210
|
+
*/
|
|
16211
|
+
sidebarWidth: {
|
|
16212
|
+
type: String,
|
|
16213
|
+
default: undefined
|
|
16214
|
+
},
|
|
16215
|
+
|
|
16216
|
+
/**
|
|
16217
|
+
* Whether the sidebar is on the left or right side
|
|
16218
|
+
* Possible options: 'left', 'right'
|
|
16219
|
+
*/
|
|
16220
|
+
sidebarPosition: {
|
|
16221
|
+
type: String,
|
|
16222
|
+
default: undefined
|
|
16223
|
+
},
|
|
16224
|
+
|
|
16225
|
+
/**
|
|
16226
|
+
* For responsive layouts. When the main content is at the specified width percentage,
|
|
16227
|
+
* the sidebar will display above the content rather than beside it. Please enter a percentage string value
|
|
16228
|
+
*
|
|
16229
|
+
* ex: '50%', '30%'
|
|
16230
|
+
*/
|
|
16231
|
+
contentWrapWidthPercent: {
|
|
16232
|
+
type: String,
|
|
16233
|
+
default: undefined
|
|
16234
|
+
}
|
|
16235
|
+
},
|
|
16236
|
+
computed: {
|
|
16237
|
+
bodyClass() {
|
|
16238
|
+
return {
|
|
16239
|
+
'root-layout__body--invert': this.sidebarPosition === ROOT_LAYOUT_SIDEBAR_POSITIONS.RIGHT
|
|
16240
|
+
};
|
|
16241
|
+
}
|
|
16242
|
+
|
|
16243
|
+
}
|
|
16244
|
+
});
|
|
16245
|
+
;// CONCATENATED MODULE: ./components/root_layout/root_layout_body.vue?vue&type=script&lang=js&
|
|
16246
|
+
/* harmony default export */ const root_layout_root_layout_bodyvue_type_script_lang_js_ = (root_layout_bodyvue_type_script_lang_js_);
|
|
16247
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-72[0].rules[0].use[0]!./node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-72[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-72[0].rules[0].use[2]!./node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-72[0].rules[0].use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-72[0].rules[0].use[4]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/root_layout/root_layout_body.vue?vue&type=style&index=0&lang=less&
|
|
16248
|
+
var root_layout_bodyvue_type_style_index_0_lang_less_ = __webpack_require__(75);
|
|
16249
|
+
;// CONCATENATED MODULE: ./components/root_layout/root_layout_body.vue?vue&type=style&index=0&lang=less&
|
|
16250
|
+
|
|
16251
|
+
;// CONCATENATED MODULE: ./components/root_layout/root_layout_body.vue
|
|
16252
|
+
|
|
16253
|
+
|
|
16254
|
+
|
|
16255
|
+
;
|
|
16256
|
+
|
|
16257
|
+
|
|
16258
|
+
/* normalize component */
|
|
16259
|
+
|
|
16260
|
+
var root_layout_body_component = normalizeComponent(
|
|
16261
|
+
root_layout_root_layout_bodyvue_type_script_lang_js_,
|
|
16262
|
+
root_layout_bodyvue_type_template_id_dfb53770_render,
|
|
16263
|
+
root_layout_bodyvue_type_template_id_dfb53770_staticRenderFns,
|
|
16264
|
+
false,
|
|
16265
|
+
null,
|
|
16266
|
+
null,
|
|
16267
|
+
null
|
|
16268
|
+
|
|
16269
|
+
)
|
|
16270
|
+
|
|
16271
|
+
/* harmony default export */ const root_layout_body = (root_layout_body_component.exports);
|
|
16272
|
+
;// 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/root_layout/root_layout.vue?vue&type=script&lang=js&
|
|
16273
|
+
//
|
|
16274
|
+
//
|
|
16275
|
+
//
|
|
16276
|
+
//
|
|
16277
|
+
//
|
|
16278
|
+
//
|
|
16279
|
+
//
|
|
16280
|
+
//
|
|
16281
|
+
//
|
|
16282
|
+
//
|
|
16283
|
+
//
|
|
16284
|
+
//
|
|
16285
|
+
//
|
|
16286
|
+
//
|
|
16287
|
+
//
|
|
16288
|
+
//
|
|
16289
|
+
//
|
|
16290
|
+
//
|
|
16291
|
+
//
|
|
16292
|
+
//
|
|
16293
|
+
//
|
|
16294
|
+
//
|
|
16295
|
+
//
|
|
16296
|
+
//
|
|
16297
|
+
//
|
|
16298
|
+
//
|
|
16299
|
+
//
|
|
16300
|
+
//
|
|
16301
|
+
//
|
|
16302
|
+
//
|
|
16303
|
+
//
|
|
16304
|
+
//
|
|
16305
|
+
//
|
|
16306
|
+
//
|
|
16307
|
+
//
|
|
16308
|
+
|
|
16309
|
+
|
|
16310
|
+
/* harmony default export */ const root_layoutvue_type_script_lang_js_ = ({
|
|
16311
|
+
name: 'DtRootLayout',
|
|
16312
|
+
components: {
|
|
16313
|
+
DtRootLayoutBody: root_layout_body
|
|
16314
|
+
},
|
|
16315
|
+
props: {
|
|
16316
|
+
/**
|
|
16317
|
+
* Additional class name for the header element
|
|
16318
|
+
*/
|
|
16319
|
+
headerClass: {
|
|
16320
|
+
type: [String, Array, Object],
|
|
16321
|
+
default: ''
|
|
16322
|
+
},
|
|
16323
|
+
|
|
16324
|
+
/**
|
|
16325
|
+
* The height of the header
|
|
16326
|
+
* Possible units rem|px|%|em
|
|
16327
|
+
*/
|
|
16328
|
+
headerHeight: {
|
|
16329
|
+
type: String,
|
|
16330
|
+
default: '64px'
|
|
16331
|
+
},
|
|
16332
|
+
|
|
16333
|
+
/**
|
|
16334
|
+
* Scroll the header with the page
|
|
16335
|
+
*/
|
|
16336
|
+
headerSticky: {
|
|
16337
|
+
type: Boolean,
|
|
16338
|
+
default: false
|
|
16339
|
+
},
|
|
16340
|
+
|
|
16341
|
+
/**
|
|
16342
|
+
* Additional class name for the content element
|
|
16343
|
+
*/
|
|
16344
|
+
contentClass: {
|
|
16345
|
+
type: [String, Array, Object],
|
|
16346
|
+
default: ''
|
|
16347
|
+
},
|
|
16348
|
+
|
|
16349
|
+
/**
|
|
16350
|
+
* For responsive layouts. When the main content is at the specified width percentage,
|
|
16351
|
+
* the sidebar will display above the content rather than beside it. Please enter a percentage string value
|
|
16352
|
+
*
|
|
16353
|
+
* ex: '50%', '30%'
|
|
16354
|
+
*/
|
|
16355
|
+
contentWrapWidthPercent: {
|
|
16356
|
+
type: String,
|
|
16357
|
+
default: '50%'
|
|
16358
|
+
},
|
|
16359
|
+
|
|
16360
|
+
/**
|
|
16361
|
+
* Additional class name for the sidebar element
|
|
16362
|
+
*/
|
|
16363
|
+
sidebarClass: {
|
|
16364
|
+
type: [String, Array, Object],
|
|
16365
|
+
default: ''
|
|
16366
|
+
},
|
|
16367
|
+
|
|
16368
|
+
/**
|
|
16369
|
+
* The width of the sidebar
|
|
16370
|
+
* Possible units rem|px|%|em
|
|
16371
|
+
*/
|
|
16372
|
+
sidebarWidth: {
|
|
16373
|
+
type: String,
|
|
16374
|
+
default: '256px'
|
|
16375
|
+
},
|
|
16376
|
+
|
|
16377
|
+
/**
|
|
16378
|
+
* Whether the sidebar is on the left or right side
|
|
16379
|
+
* Possible options: 'left', 'right'
|
|
16380
|
+
*/
|
|
16381
|
+
sidebarPosition: {
|
|
16382
|
+
type: String,
|
|
16383
|
+
default: 'left',
|
|
16384
|
+
validator: s => Object.values(ROOT_LAYOUT_SIDEBAR_POSITIONS).includes(s)
|
|
16385
|
+
},
|
|
16386
|
+
|
|
16387
|
+
/**
|
|
16388
|
+
* Additional class name for the footer element
|
|
16389
|
+
*/
|
|
16390
|
+
footerClass: {
|
|
16391
|
+
type: [String, Array, Object],
|
|
16392
|
+
default: ''
|
|
16393
|
+
},
|
|
16394
|
+
|
|
16395
|
+
/**
|
|
16396
|
+
* The height of the footer
|
|
16397
|
+
* Possible units rem|px|%|em
|
|
16398
|
+
*/
|
|
16399
|
+
footerHeight: {
|
|
16400
|
+
type: String,
|
|
16401
|
+
default: '64px'
|
|
16402
|
+
}
|
|
16403
|
+
}
|
|
16404
|
+
});
|
|
16405
|
+
;// CONCATENATED MODULE: ./components/root_layout/root_layout.vue?vue&type=script&lang=js&
|
|
16406
|
+
/* harmony default export */ const root_layout_root_layoutvue_type_script_lang_js_ = (root_layoutvue_type_script_lang_js_);
|
|
16407
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-72[0].rules[0].use[0]!./node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-72[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-72[0].rules[0].use[2]!./node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-72[0].rules[0].use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-72[0].rules[0].use[4]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/root_layout/root_layout.vue?vue&type=style&index=0&lang=less&
|
|
16408
|
+
var root_layoutvue_type_style_index_0_lang_less_ = __webpack_require__(253);
|
|
16409
|
+
;// CONCATENATED MODULE: ./components/root_layout/root_layout.vue?vue&type=style&index=0&lang=less&
|
|
16410
|
+
|
|
16411
|
+
;// CONCATENATED MODULE: ./components/root_layout/root_layout.vue
|
|
16412
|
+
|
|
16413
|
+
|
|
16414
|
+
|
|
16415
|
+
;
|
|
16416
|
+
|
|
16417
|
+
|
|
16418
|
+
/* normalize component */
|
|
16419
|
+
|
|
16420
|
+
var root_layout_component = normalizeComponent(
|
|
16421
|
+
root_layout_root_layoutvue_type_script_lang_js_,
|
|
16422
|
+
root_layoutvue_type_template_id_2e5fe0a4_render,
|
|
16423
|
+
root_layoutvue_type_template_id_2e5fe0a4_staticRenderFns,
|
|
16424
|
+
false,
|
|
16425
|
+
null,
|
|
16426
|
+
null,
|
|
16427
|
+
null
|
|
16428
|
+
|
|
16429
|
+
)
|
|
16430
|
+
|
|
16431
|
+
/* harmony default export */ const root_layout = (root_layout_component.exports);
|
|
16432
|
+
;// CONCATENATED MODULE: ./components/root_layout/index.js
|
|
16433
|
+
|
|
16434
|
+
|
|
15981
16435
|
;// 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=01303da8&
|
|
15982
16436
|
var combobox_with_popovervue_type_template_id_01303da8_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-combobox',_vm._g({ref:"combobox",attrs:{"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){
|
|
15983
16437
|
var inputProps = ref.inputProps;
|
|
@@ -16650,6 +17104,7 @@ var top_banner_info_component = normalizeComponent(
|
|
|
16650
17104
|
|
|
16651
17105
|
|
|
16652
17106
|
|
|
17107
|
+
|
|
16653
17108
|
|
|
16654
17109
|
|
|
16655
17110
|
/// Recipes
|