@dialpad/dialtone-vue 3.2.0 → 3.5.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.
@@ -59,7 +59,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".dt-default-list-item,.dt-default-list
59
59
 
60
60
  /***/ }),
61
61
 
62
- /***/ 254:
62
+ /***/ 63:
63
63
  /***/ ((module, __webpack_exports__, __webpack_require__) => {
64
64
 
65
65
  "use strict";
@@ -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
+ /***/ 660:
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_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81);
143
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
144
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(645);
145
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
146
+ // Imports
147
+
148
+
149
+ var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_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
+ /***/ 385:
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_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81);
167
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
168
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(645);
169
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
170
+ // Imports
171
+
172
+
173
+ var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_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
  /***/ 224:
@@ -155,7 +203,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".skeleton-placeholder{display:flex;str
155
203
 
156
204
  /***/ }),
157
205
 
158
- /***/ 739:
206
+ /***/ 791:
159
207
  /***/ ((module, __webpack_exports__, __webpack_require__) => {
160
208
 
161
209
  "use strict";
@@ -387,19 +435,19 @@ var update = add("463815e5", content, true, {"sourceMap":false,"shadowMode":fals
387
435
 
388
436
  /***/ }),
389
437
 
390
- /***/ 32:
438
+ /***/ 621:
391
439
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
392
440
 
393
441
  // style-loader: Adds some css to the DOM by adding a <style> tag
394
442
 
395
443
  // load the styles
396
- var content = __webpack_require__(254);
444
+ var content = __webpack_require__(63);
397
445
  if(content.__esModule) content = content.default;
398
446
  if(typeof content === 'string') content = [[module.id, content, '']];
399
447
  if(content.locals) module.exports = content.locals;
400
448
  // add the styles to the DOM
401
449
  var add = (__webpack_require__(402)/* ["default"] */ .Z)
402
- var update = add("65533ed5", content, true, {"sourceMap":false,"shadowMode":false});
450
+ var update = add("51c1283c", content, true, {"sourceMap":false,"shadowMode":false});
403
451
 
404
452
  /***/ }),
405
453
 
@@ -435,6 +483,38 @@ var update = add("fc300706", content, true, {"sourceMap":false,"shadowMode":fals
435
483
 
436
484
  /***/ }),
437
485
 
486
+ /***/ 151:
487
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
488
+
489
+ // style-loader: Adds some css to the DOM by adding a <style> tag
490
+
491
+ // load the styles
492
+ var content = __webpack_require__(660);
493
+ if(content.__esModule) content = content.default;
494
+ if(typeof content === 'string') content = [[module.id, content, '']];
495
+ if(content.locals) module.exports = content.locals;
496
+ // add the styles to the DOM
497
+ var add = (__webpack_require__(402)/* ["default"] */ .Z)
498
+ var update = add("10623612", content, true, {"sourceMap":false,"shadowMode":false});
499
+
500
+ /***/ }),
501
+
502
+ /***/ 304:
503
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
504
+
505
+ // style-loader: Adds some css to the DOM by adding a <style> tag
506
+
507
+ // load the styles
508
+ var content = __webpack_require__(385);
509
+ if(content.__esModule) content = content.default;
510
+ if(typeof content === 'string') content = [[module.id, content, '']];
511
+ if(content.locals) module.exports = content.locals;
512
+ // add the styles to the DOM
513
+ var add = (__webpack_require__(402)/* ["default"] */ .Z)
514
+ var update = add("78ccd05f", content, true, {"sourceMap":false,"shadowMode":false});
515
+
516
+ /***/ }),
517
+
438
518
  /***/ 587:
439
519
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
440
520
 
@@ -451,19 +531,19 @@ var update = add("537a95a4", content, true, {"sourceMap":false,"shadowMode":fals
451
531
 
452
532
  /***/ }),
453
533
 
454
- /***/ 877:
534
+ /***/ 273:
455
535
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
456
536
 
457
537
  // style-loader: Adds some css to the DOM by adding a <style> tag
458
538
 
459
539
  // load the styles
460
- var content = __webpack_require__(739);
540
+ var content = __webpack_require__(791);
461
541
  if(content.__esModule) content = content.default;
462
542
  if(typeof content === 'string') content = [[module.id, content, '']];
463
543
  if(content.locals) module.exports = content.locals;
464
544
  // add the styles to the DOM
465
545
  var add = (__webpack_require__(402)/* ["default"] */ .Z)
466
- var update = add("0480d588", content, true, {"sourceMap":false,"shadowMode":false});
546
+ var update = add("72197f1c", content, true, {"sourceMap":false,"shadowMode":false});
467
547
 
468
548
  /***/ }),
469
549
 
@@ -1075,6 +1155,7 @@ __webpack_require__.d(__webpack_exports__, {
1075
1155
  "DtRadioGroup": () => (/* reexport */ radio_group),
1076
1156
  "DtRecipeContactInfo": () => (/* reexport */ contact_info),
1077
1157
  "DtRecipeTopBannerInfo": () => (/* reexport */ top_banner_info),
1158
+ "DtRootLayout": () => (/* reexport */ root_layout),
1078
1159
  "DtSelectMenu": () => (/* reexport */ select_menu),
1079
1160
  "DtSkeleton": () => (/* reexport */ skeleton_skeleton),
1080
1161
  "DtSkeletonListItem": () => (/* reexport */ skeleton_list_item),
@@ -1101,6 +1182,7 @@ __webpack_require__.d(__webpack_exports__, {
1101
1182
  "POPOVER_INITIAL_FOCUS_STRINGS": () => (/* reexport */ POPOVER_INITIAL_FOCUS_STRINGS),
1102
1183
  "POPOVER_PADDING_CLASSES": () => (/* reexport */ POPOVER_PADDING_CLASSES),
1103
1184
  "POPOVER_ROLES": () => (/* reexport */ POPOVER_ROLES),
1185
+ "ROOT_LAYOUT_SIDEBAR_POSITIONS": () => (/* reexport */ ROOT_LAYOUT_SIDEBAR_POSITIONS),
1104
1186
  "SELECT_SIZE_MODIFIERS": () => (/* reexport */ SELECT_SIZE_MODIFIERS),
1105
1187
  "SELECT_STATE_MODIFIERS": () => (/* reexport */ SELECT_STATE_MODIFIERS),
1106
1188
  "SHORTCUTS_ALIASES": () => (/* reexport */ SHORTCUTS_ALIASES),
@@ -3031,6 +3113,7 @@ function comboboxvue_type_template_id_4901dce5_render(_ctx, _cache, $props, $set
3031
3113
  * the root element of the component.
3032
3114
  */
3033
3115
 
3116
+ const ERROR_INVALID_LIST_ELEMENT = 'listElementKey is required or the referenced ' + 'element doesn\'t exist. Received listElement: ';
3034
3117
  /* harmony default export */ const keyboard_list_navigation = (function () {
3035
3118
  let {
3036
3119
  // Role of the list items in the component. This is used to identify the list items
@@ -3054,7 +3137,7 @@ function comboboxvue_type_template_id_4901dce5_render(_ctx, _cache, $props, $set
3054
3137
  endOfListMethod = null,
3055
3138
  // Scroll the active element into view when highlighted by a keyboard event.
3056
3139
  scrollToOnHighlight = true,
3057
- // Focus the active element on keyboard navigation
3140
+ // Focus the active element on keyboard navigation.
3058
3141
  focusOnKeyboardNavigation = false
3059
3142
  } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3060
3143
  return {
@@ -3088,14 +3171,25 @@ function comboboxvue_type_template_id_4901dce5_render(_ctx, _cache, $props, $set
3088
3171
  // Gets the length of all the items in the list, uses the listItemRole param to determine
3089
3172
  // whether an element is a list item.
3090
3173
  _itemsLength() {
3174
+ const listItems = this._getListItemNodes();
3175
+
3176
+ if (listItems === null) {
3177
+ return 0;
3178
+ }
3179
+
3180
+ return listItems.length;
3181
+ },
3182
+
3183
+ // Gets all the list item nodes within the list element
3184
+ _getListItemNodes() {
3091
3185
  const listElement = this._getListElement();
3092
3186
 
3093
3187
  if (!listElement) {
3094
- console.error("listElementKey is required or the referenced element doesn't exist. Received\n listElement: ", listElement);
3095
- return 0;
3188
+ console.error(ERROR_INVALID_LIST_ELEMENT, listElement);
3189
+ return null;
3096
3190
  }
3097
3191
 
3098
- return listElement.querySelectorAll("[role=\"".concat(listItemRole, "\"]")).length;
3192
+ return Array.from(listElement.querySelectorAll("[role=\"".concat(listItemRole, "\"]")));
3099
3193
  },
3100
3194
 
3101
3195
  onUpKey() {
@@ -3140,6 +3234,35 @@ function comboboxvue_type_template_id_4901dce5_render(_ctx, _cache, $props, $set
3140
3234
  this.focusActiveItemIfNeeded();
3141
3235
  },
3142
3236
 
3237
+ onNavigationKey(key) {
3238
+ const listItems = this._getListItemNodes();
3239
+
3240
+ const matchingItems = listItems.filter(item => {
3241
+ const content = item.textContent.trim().toLowerCase();
3242
+ return content.startsWith(key.toLowerCase());
3243
+ });
3244
+
3245
+ if (matchingItems.length <= 0) {
3246
+ return;
3247
+ }
3248
+
3249
+ const highlightedMatchingItemIndex = matchingItems.findIndex(item => {
3250
+ return this[indexKey] === listItems.indexOf(item);
3251
+ });
3252
+ const nextHighlightedItemIndex = listItems.indexOf(highlightedMatchingItemIndex < matchingItems.length - 1 ? matchingItems[highlightedMatchingItemIndex + 1] : matchingItems[0]);
3253
+ this.setHighlightIndex(nextHighlightedItemIndex);
3254
+ this.scrollActiveItemIntoViewIfNeeded();
3255
+ this.focusActiveItemIfNeeded();
3256
+ },
3257
+
3258
+ isValidLetter(key) {
3259
+ if (key.length > 1) {
3260
+ return false;
3261
+ }
3262
+
3263
+ return key >= 'a' && key <= 'z' || key >= 'A' && key <= 'Z';
3264
+ },
3265
+
3143
3266
  jumpToBeginning() {
3144
3267
  this.setHighlightIndex(0);
3145
3268
  },
@@ -3176,8 +3299,7 @@ function comboboxvue_type_template_id_4901dce5_render(_ctx, _cache, $props, $set
3176
3299
  }
3177
3300
 
3178
3301
  const listItems = Array.from(listElement.querySelectorAll("[role=\"".concat(listItemRole, "\"]")));
3179
- const index = listItems.indexOf(listElement.querySelector("#".concat(id)));
3180
- return index;
3302
+ return listItems.indexOf(listElement.querySelector("#".concat(id)));
3181
3303
  },
3182
3304
 
3183
3305
  _getItemId(index) {
@@ -3440,10 +3562,10 @@ const combobox_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(comboboxv
3440
3562
  /* harmony default export */ const combobox = (combobox_exports_);
3441
3563
  ;// CONCATENATED MODULE: ./components/combobox/index.js
3442
3564
 
3443
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/dropdown/dropdown.vue?vue&type=template&id=071e4ebc
3565
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/dropdown/dropdown.vue?vue&type=template&id=e86dedbc
3444
3566
 
3445
- const dropdownvue_type_template_id_071e4ebc_hoisted_1 = ["id"];
3446
- function dropdownvue_type_template_id_071e4ebc_render(_ctx, _cache, $props, $setup, $data, $options) {
3567
+ const dropdownvue_type_template_id_e86dedbc_hoisted_1 = ["id"];
3568
+ function dropdownvue_type_template_id_e86dedbc_render(_ctx, _cache, $props, $setup, $data, $options) {
3447
3569
  const _component_dt_popover = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("dt-popover");
3448
3570
 
3449
3571
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_dt_popover, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.mergeProps)({
@@ -3461,7 +3583,7 @@ function dropdownvue_type_template_id_071e4ebc_render(_ctx, _cache, $props, $set
3461
3583
  "max-width": $props.maxWidth,
3462
3584
  "open-with-arrow-keys": true,
3463
3585
  onOpened: $options.updateInitialHighlightIndex,
3464
- onKeydown: [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.withKeys)($options.onEnterKey, ["enter"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withKeys)($options.onSpaceKey, ["space"]), _cache[2] || (_cache[2] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.withModifiers)($event => $options.onKeyValidation($event, 'onUpKeyPress'), ["stop", "prevent"]), ["up"])), _cache[3] || (_cache[3] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.withModifiers)($event => $options.onKeyValidation($event, 'onDownKeyPress'), ["stop", "prevent"]), ["down"])), _cache[4] || (_cache[4] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.withModifiers)($event => $options.onKeyValidation($event, 'onHomeKeyPress'), ["stop", "prevent"]), ["home"])), _cache[5] || (_cache[5] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.withModifiers)($event => $options.onKeyValidation($event, 'onEndKeyPress'), ["stop", "prevent"]), ["end"]))]
3586
+ onKeydown: [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.withKeys)($options.onEnterKey, ["enter"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withKeys)($options.onSpaceKey, ["space"]), _cache[2] || (_cache[2] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.withModifiers)($event => $options.onKeyValidation($event, 'onUpKeyPress'), ["stop", "prevent"]), ["up"])), _cache[3] || (_cache[3] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.withModifiers)($event => $options.onKeyValidation($event, 'onDownKeyPress'), ["stop", "prevent"]), ["down"])), _cache[4] || (_cache[4] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.withModifiers)($event => $options.onKeyValidation($event, 'onHomeKeyPress'), ["stop", "prevent"]), ["home"])), _cache[5] || (_cache[5] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.withModifiers)($event => $options.onKeyValidation($event, 'onEndKeyPress'), ["stop", "prevent"]), ["end"])), _cache[6] || (_cache[6] = $event => $options.onKeyValidation($event, 'onKeyPress'))]
3465
3587
  }), {
3466
3588
  anchor: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(_ref => {
3467
3589
  let {
@@ -3488,12 +3610,12 @@ function dropdownvue_type_template_id_071e4ebc_render(_ctx, _cache, $props, $set
3488
3610
  })
3489
3611
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "list", {
3490
3612
  close: close
3491
- })], 42, dropdownvue_type_template_id_071e4ebc_hoisted_1)];
3613
+ })], 42, dropdownvue_type_template_id_e86dedbc_hoisted_1)];
3492
3614
  }),
3493
3615
  _: 3
3494
3616
  }, 16, ["content-width", "open", "placement", "fallback-placements", "modal", "max-height", "max-width", "onOpened", "onKeydown"]);
3495
3617
  }
3496
- ;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=template&id=071e4ebc
3618
+ ;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=template&id=e86dedbc
3497
3619
 
3498
3620
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/popover/popover.vue?vue&type=template&id=0656612f
3499
3621
 
@@ -8938,7 +9060,6 @@ const DROPDOWN_PADDING_CLASSES = {
8938
9060
  components: {
8939
9061
  DtPopover: popover
8940
9062
  },
8941
- inheritAttrs: false,
8942
9063
  mixins: [keyboard_list_navigation({
8943
9064
  indexKey: 'highlightIndex',
8944
9065
  idKey: 'highlightId',
@@ -8950,6 +9071,7 @@ const DROPDOWN_PADDING_CLASSES = {
8950
9071
  activeItemKey: 'activeItemEl',
8951
9072
  focusOnKeyboardNavigation: true
8952
9073
  })],
9074
+ inheritAttrs: false,
8953
9075
  props: {
8954
9076
  /**
8955
9077
  * Controls whether the dropdown is shown. Leaving this null will have the dropdown trigger on click by default.
@@ -9098,6 +9220,10 @@ const DROPDOWN_PADDING_CLASSES = {
9098
9220
 
9099
9221
  activeItemEl() {
9100
9222
  return this.getListElement().querySelector('#' + this.highlightId);
9223
+ },
9224
+
9225
+ isArrowKeyNav() {
9226
+ return this.navigationType === this.LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS;
9101
9227
  }
9102
9228
 
9103
9229
  },
@@ -9157,7 +9283,7 @@ const DROPDOWN_PADDING_CLASSES = {
9157
9283
  return;
9158
9284
  }
9159
9285
 
9160
- if (this.navigationType === this.LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS) {
9286
+ if (this.isArrowKeyNav) {
9161
9287
  return this.onUpKey();
9162
9288
  }
9163
9289
  },
@@ -9168,29 +9294,35 @@ const DROPDOWN_PADDING_CLASSES = {
9168
9294
  return;
9169
9295
  }
9170
9296
 
9171
- if (this.navigationType === this.LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS) {
9297
+ if (this.isArrowKeyNav) {
9172
9298
  return this.onDownKey();
9173
9299
  }
9174
9300
  },
9175
9301
 
9176
9302
  onHomeKeyPress() {
9177
- if (!this.isOpen) {
9303
+ if (!this.isOpen || !this.isArrowKeyNav) {
9178
9304
  return;
9179
9305
  }
9180
9306
 
9181
- if (this.navigationType === this.LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS) {
9182
- return this.onHomeKey();
9183
- }
9307
+ return this.onHomeKey();
9184
9308
  },
9185
9309
 
9186
9310
  onEndKeyPress() {
9187
- if (!this.isOpen) {
9311
+ if (!this.isOpen || !this.isArrowKeyNav) {
9188
9312
  return;
9189
9313
  }
9190
9314
 
9191
- if (this.navigationType === this.LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS) {
9192
- return this.onEndKey();
9315
+ return this.onEndKey();
9316
+ },
9317
+
9318
+ onKeyPress(e) {
9319
+ if (!this.isOpen || !this.isArrowKeyNav || !this.isValidLetter(e.key)) {
9320
+ return;
9193
9321
  }
9322
+
9323
+ e.stopPropagation();
9324
+ e.preventDefault();
9325
+ return this.onNavigationKey(e.key);
9194
9326
  },
9195
9327
 
9196
9328
  onKeyValidation(e, eventHandler) {
@@ -9211,7 +9343,7 @@ const DROPDOWN_PADDING_CLASSES = {
9211
9343
 
9212
9344
 
9213
9345
  ;
9214
- const dropdown_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(dropdownvue_type_script_lang_js, [['render',dropdownvue_type_template_id_071e4ebc_render]])
9346
+ const dropdown_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(dropdownvue_type_script_lang_js, [['render',dropdownvue_type_template_id_e86dedbc_render]])
9215
9347
 
9216
9348
  /* harmony default export */ const dropdown = (dropdown_exports_);
9217
9349
  ;// CONCATENATED MODULE: ./components/dropdown/index.js
@@ -9376,7 +9508,7 @@ async function codeToEmojiData(code) {
9376
9508
  // @returns {string[]}
9377
9509
 
9378
9510
  function findShortCodes(textContent) {
9379
- const shortCodes = textContent.match(/:[^:]+:/g);
9511
+ const shortCodes = textContent.match(/:\w+:/g);
9380
9512
  const filtered = shortCodes ? shortCodes.filter(code => shortcodeToEmojiData(code)) : [];
9381
9513
  return new Set(filtered);
9382
9514
  } // Finds every emoji in slot text
@@ -11848,23 +11980,19 @@ const list_section_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(list_
11848
11980
  /* harmony default export */ const list_section = (list_section_exports_);
11849
11981
  ;// CONCATENATED MODULE: ./components/list_section/index.js
11850
11982
 
11851
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/list_item/list_item.vue?vue&type=template&id=642c4ad3
11983
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/list_item/list_item.vue?vue&type=template&id=7876bc36
11852
11984
 
11853
- function list_itemvue_type_template_id_642c4ad3_render(_ctx, _cache, $props, $setup, $data, $options) {
11854
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveDynamicComponent)($props.elementType), {
11985
+ function list_itemvue_type_template_id_7876bc36_render(_ctx, _cache, $props, $setup, $data, $options) {
11986
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveDynamicComponent)($props.elementType), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.mergeProps)({
11855
11987
  id: $props.id,
11856
- class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(['dt-list-item d-ls-none focus-visible', {
11988
+ class: ['dt-list-item d-ls-none focus-visible', {
11857
11989
  'dt-list-item--focusable': $options.isFocusable,
11858
11990
  'dt-list-item--highlighted': $options.isHighlighted
11859
- }]),
11991
+ }],
11860
11992
  tabindex: $options.isFocusable ? 0 : -1,
11861
11993
  role: $props.role,
11862
- "aria-selected": $options.isHighlighted,
11863
- onKeydown: [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.withKeys)($options.onClick, ["enter"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withKeys)($options.onClick, ["space"])],
11864
- onMousemove: $options.onMouseHover,
11865
- onMouseleave: $options.onMouseLeave,
11866
- onClick: $options.onClick
11867
- }, {
11994
+ "aria-selected": $options.isHighlighted
11995
+ }, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toHandlers)($options.listItemListeners)), {
11868
11996
  default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [$options.listItemType ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveDynamicComponent)($options.listItemType), {
11869
11997
  key: 0
11870
11998
  }, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createSlots)({
@@ -11878,9 +12006,9 @@ function list_itemvue_type_template_id_642c4ad3_render(_ctx, _cache, $props, $se
11878
12006
  key: 1
11879
12007
  })]),
11880
12008
  _: 3
11881
- }, 40, ["id", "class", "tabindex", "role", "aria-selected", "onKeydown", "onMousemove", "onMouseleave", "onClick"]);
12009
+ }, 16, ["id", "class", "tabindex", "role", "aria-selected"]);
11882
12010
  }
11883
- ;// CONCATENATED MODULE: ./components/list_item/list_item.vue?vue&type=template&id=642c4ad3
12011
+ ;// CONCATENATED MODULE: ./components/list_item/list_item.vue?vue&type=template&id=7876bc36
11884
12012
 
11885
12013
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/list_item/default_list_item.vue?vue&type=template&id=4c89d4ed
11886
12014
 
@@ -12008,7 +12136,7 @@ const default_list_item_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(
12008
12136
  validator: t => Object.values(LIST_ITEM_NAVIGATION_TYPES).includes(t)
12009
12137
  }
12010
12138
  },
12011
- emits: ['click'],
12139
+ emits: ['click', 'keydown', 'mousemove', 'mouseleave'],
12012
12140
 
12013
12141
  data() {
12014
12142
  return {
@@ -12028,6 +12156,26 @@ const default_list_item_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(
12028
12156
  }
12029
12157
  },
12030
12158
 
12159
+ listItemListeners() {
12160
+ return {
12161
+ keydown: event => {
12162
+ if (['enter', 'space'].includes(event.code.toLowerCase())) {
12163
+ this.onClick(event);
12164
+ }
12165
+
12166
+ this.$emit('keydown', event);
12167
+ },
12168
+ mousemove: event => {
12169
+ this.onMouseHover(event);
12170
+ this.$emit('mousemove', event);
12171
+ },
12172
+ mouseleave: event => {
12173
+ this.onMouseLeave(event);
12174
+ this.$emit('mouseleave', event);
12175
+ }
12176
+ };
12177
+ },
12178
+
12031
12179
  /**
12032
12180
  * For keyboard navigation, whether or not this item is currently highlighted.
12033
12181
  * An injected highlightId will override the default mouseover highlight.
@@ -12054,8 +12202,8 @@ const default_list_item_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(
12054
12202
 
12055
12203
  },
12056
12204
  methods: {
12057
- onClick() {
12058
- this.$emit('click');
12205
+ onClick(e) {
12206
+ this.$emit('click', e);
12059
12207
  },
12060
12208
 
12061
12209
  onMouseHover() {
@@ -12070,9 +12218,9 @@ const default_list_item_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(
12070
12218
  });
12071
12219
  ;// CONCATENATED MODULE: ./components/list_item/list_item.vue?vue&type=script&lang=js
12072
12220
 
12073
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.use[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/list_item/list_item.vue?vue&type=style&index=0&id=642c4ad3&lang=less
12074
- var list_itemvue_type_style_index_0_id_642c4ad3_lang_less = __webpack_require__(32);
12075
- ;// CONCATENATED MODULE: ./components/list_item/list_item.vue?vue&type=style&index=0&id=642c4ad3&lang=less
12221
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.use[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/list_item/list_item.vue?vue&type=style&index=0&id=7876bc36&lang=less
12222
+ var list_itemvue_type_style_index_0_id_7876bc36_lang_less = __webpack_require__(621);
12223
+ ;// CONCATENATED MODULE: ./components/list_item/list_item.vue?vue&type=style&index=0&id=7876bc36&lang=less
12076
12224
 
12077
12225
  ;// CONCATENATED MODULE: ./components/list_item/list_item.vue
12078
12226
 
@@ -12082,7 +12230,7 @@ var list_itemvue_type_style_index_0_id_642c4ad3_lang_less = __webpack_require__(
12082
12230
  ;
12083
12231
 
12084
12232
 
12085
- const list_item_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(list_itemvue_type_script_lang_js, [['render',list_itemvue_type_template_id_642c4ad3_render]])
12233
+ const list_item_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(list_itemvue_type_script_lang_js, [['render',list_itemvue_type_template_id_7876bc36_render]])
12086
12234
 
12087
12235
  /* harmony default export */ const list_item = (list_item_exports_);
12088
12236
  ;// CONCATENATED MODULE: ./components/list_item/index.js
@@ -13261,79 +13409,64 @@ const checkbox_group_exports_ = checkbox_groupvue_type_script_lang_js;
13261
13409
  /* harmony default export */ const checkbox_group = (checkbox_group_exports_);
13262
13410
  ;// CONCATENATED MODULE: ./components/checkbox_group/index.js
13263
13411
 
13264
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/chip/chip.vue?vue&type=template&id=4d7bb584
13412
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/chip/chip.vue?vue&type=template&id=8a56dabe
13265
13413
 
13266
- const chipvue_type_template_id_4d7bb584_hoisted_1 = ["id", "tabindex", "aria-labelledby", "aria-label"];
13267
- const chipvue_type_template_id_4d7bb584_hoisted_2 = {
13414
+ const chipvue_type_template_id_8a56dabe_hoisted_1 = {
13415
+ class: "d-chip"
13416
+ };
13417
+ const chipvue_type_template_id_8a56dabe_hoisted_2 = {
13268
13418
  key: 0,
13269
13419
  "data-qa": "dt-chip-icon",
13270
13420
  class: "d-chip__icon"
13271
13421
  };
13272
- const chipvue_type_template_id_4d7bb584_hoisted_3 = {
13422
+ const chipvue_type_template_id_8a56dabe_hoisted_3 = {
13273
13423
  key: 1,
13274
13424
  "data-qa": "dt-chip-avatar"
13275
13425
  };
13276
- const chipvue_type_template_id_4d7bb584_hoisted_4 = ["id"];
13277
- const chipvue_type_template_id_4d7bb584_hoisted_5 = {
13278
- key: 3,
13279
- class: "d-chip-btn-holder"
13280
- };
13281
- const chipvue_type_template_id_4d7bb584_hoisted_6 = {
13282
- ref: "closeBtnContainer",
13283
- class: "d-chip-btn-container"
13284
- };
13285
- function chipvue_type_template_id_4d7bb584_render(_ctx, _cache, $props, $setup, $data, $options) {
13426
+ const chipvue_type_template_id_8a56dabe_hoisted_4 = ["id"];
13427
+ function chipvue_type_template_id_8a56dabe_render(_ctx, _cache, $props, $setup, $data, $options) {
13286
13428
  const _component_icon_close = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("icon-close");
13287
13429
 
13288
13430
  const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("dt-button");
13289
13431
 
13290
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", {
13432
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", chipvue_type_template_id_8a56dabe_hoisted_1, [((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveDynamicComponent)($props.interactive ? 'button' : 'span'), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.mergeProps)({
13291
13433
  id: $props.id,
13292
- class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)($options.chipClasses()),
13434
+ type: $props.interactive && 'button',
13435
+ class: $options.chipClasses(),
13293
13436
  "data-qa": "dt-chip",
13294
- tabindex: $options.tabIndex,
13295
13437
  "aria-labelledby": $props.ariaLabel ? undefined : "".concat($props.id, "-content"),
13296
- "aria-label": $props.ariaLabel,
13297
- onMousedown: _cache[1] || (_cache[1] = function () {
13298
- return $options.onClick && $options.onClick(...arguments);
13299
- }),
13300
- onMouseup: _cache[2] || (_cache[2] = function () {
13301
- return $options.onClick && $options.onClick(...arguments);
13302
- }),
13303
- onMouseleave: _cache[3] || (_cache[3] = $event => $data.isActive = false),
13304
- onFocusout: _cache[4] || (_cache[4] = $event => $data.isActive = false),
13305
- onKeydown: _cache[5] || (_cache[5] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withKeys)(function () {
13306
- return $options.onClick && $options.onClick(...arguments);
13307
- }, ["enter"])),
13308
- onKeyup: [_cache[6] || (_cache[6] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withKeys)(function () {
13309
- return $options.onClick && $options.onClick(...arguments);
13310
- }, ["enter"])), _cache[7] || (_cache[7] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withKeys)(function () {
13311
- return $options.onClose && $options.onClose(...arguments);
13312
- }, ["delete"]))]
13313
- }, [_ctx.$slots.icon ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", chipvue_type_template_id_4d7bb584_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "icon")])) : _ctx.$slots.avatar ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", chipvue_type_template_id_4d7bb584_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "avatar")])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), _ctx.$slots.default ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", {
13314
- key: 2,
13315
- id: "".concat($props.id, "-content"),
13316
- "data-qa": "dt-chip-label",
13317
- class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(['d-truncate', $props.contentClass])
13318
- }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "default")], 10, chipvue_type_template_id_4d7bb584_hoisted_4)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), !$props.hideClose ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", chipvue_type_template_id_4d7bb584_hoisted_5)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", chipvue_type_template_id_4d7bb584_hoisted_6, [!$props.hideClose ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_dt_button, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.mergeProps)({
13438
+ "aria-label": $props.ariaLabel
13439
+ }, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toHandlers)($options.chipListeners)), {
13440
+ default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [_ctx.$slots.icon ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", chipvue_type_template_id_8a56dabe_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "icon")])) : _ctx.$slots.avatar ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", chipvue_type_template_id_8a56dabe_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "avatar")])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), _ctx.$slots.default ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", {
13441
+ key: 2,
13442
+ id: "".concat($props.id, "-content"),
13443
+ "data-qa": "dt-chip-label",
13444
+ class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(['d-truncate', 'd-chip__text', $props.contentClass])
13445
+ }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "default")], 10, chipvue_type_template_id_8a56dabe_hoisted_4)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)]),
13446
+ _: 3
13447
+ }, 16, ["id", "type", "class", "aria-labelledby", "aria-label"])), !$props.hideClose ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_dt_button, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.mergeProps)({
13319
13448
  key: 0
13320
13449
  }, $props.closeButtonProps, {
13450
+ class: $options.chipCloseButtonClasses(),
13321
13451
  "data-qa": "dt-chip-close",
13322
- circle: "",
13323
- importance: "clear",
13324
13452
  "aria-label": $props.closeButtonProps.ariaLabel,
13325
13453
  onClick: _cache[0] || (_cache[0] = $event => _ctx.$emit('close'))
13326
13454
  }), {
13327
- default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_icon_close)]),
13455
+ icon: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_icon_close)]),
13328
13456
  _: 1
13329
- }, 16, ["aria-label"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)], 512)], 42, chipvue_type_template_id_4d7bb584_hoisted_1);
13457
+ }, 16, ["class", "aria-label"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)]);
13330
13458
  }
13331
- ;// CONCATENATED MODULE: ./components/chip/chip.vue?vue&type=template&id=4d7bb584
13459
+ ;// CONCATENATED MODULE: ./components/chip/chip.vue?vue&type=template&id=8a56dabe
13332
13460
 
13333
13461
  ;// CONCATENATED MODULE: ./components/chip/chip_constants.js
13334
13462
  const CHIP_SIZE_MODIFIERS = {
13335
- xs: 'd-chip--xs',
13336
- sm: 'd-chip--sm',
13463
+ xs: 'd-chip__label--xs',
13464
+ sm: 'd-chip__label--sm',
13465
+ md: ''
13466
+ };
13467
+ const CHIP_CLOSE_BUTTON_SIZE_MODIFIERS = {
13468
+ xs: 'd-chip__close--xs',
13469
+ sm: 'd-chip__close--sm',
13337
13470
  md: ''
13338
13471
  };
13339
13472
  /* harmony default export */ const chip_constants = ({
@@ -13417,7 +13550,7 @@ const CHIP_SIZE_MODIFIERS = {
13417
13550
  default: ''
13418
13551
  }
13419
13552
  },
13420
- emits: ['click', 'close'],
13553
+ emits: ['click', 'close', 'keyup'],
13421
13554
 
13422
13555
  data() {
13423
13556
  return {
@@ -13426,37 +13559,37 @@ const CHIP_SIZE_MODIFIERS = {
13426
13559
  },
13427
13560
 
13428
13561
  computed: {
13429
- tabIndex() {
13430
- return this.interactive ? 0 : -1;
13562
+ chipListeners() {
13563
+ return {
13564
+ click: event => {
13565
+ if (this.interactive) this.$emit('click', event);
13566
+ },
13567
+ keyup: event => {
13568
+ var _event$code;
13569
+
13570
+ if (((_event$code = event.code) === null || _event$code === void 0 ? void 0 : _event$code.toLowerCase()) === 'delete') {
13571
+ this.onClose();
13572
+ } else {
13573
+ this.$emit('keyup', event);
13574
+ }
13575
+ }
13576
+ };
13431
13577
  }
13432
13578
 
13433
13579
  },
13434
13580
  methods: {
13435
13581
  chipClasses() {
13436
- return ['d-chip', CHIP_SIZE_MODIFIERS[this.size], {
13437
- 'd-chip--interactive': this.interactive,
13438
- 'd-chip--active': this.isActive
13439
- }];
13582
+ return ['d-chip__label', CHIP_SIZE_MODIFIERS[this.size]];
13583
+ },
13584
+
13585
+ chipCloseButtonClasses() {
13586
+ return ['d-chip__close', CHIP_CLOSE_BUTTON_SIZE_MODIFIERS[this.size]];
13440
13587
  },
13441
13588
 
13442
13589
  onClose() {
13443
13590
  if (!this.hideClose) {
13444
13591
  this.$emit('close');
13445
13592
  }
13446
- },
13447
-
13448
- onClick(event) {
13449
- // Clicking on the button should not update value of isActive.
13450
- if (!this.interactive || this.$refs.closeBtnContainer.contains(event.target)) {
13451
- return;
13452
- }
13453
-
13454
- if (event.type === 'mousedown' || event.type === 'keydown') {
13455
- this.isActive = true;
13456
- } else {
13457
- this.isActive = false;
13458
- this.$emit('click');
13459
- }
13460
13593
  }
13461
13594
 
13462
13595
  }
@@ -13469,7 +13602,7 @@ const CHIP_SIZE_MODIFIERS = {
13469
13602
 
13470
13603
 
13471
13604
  ;
13472
- const chip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(chipvue_type_script_lang_js, [['render',chipvue_type_template_id_4d7bb584_render]])
13605
+ const chip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(chipvue_type_script_lang_js, [['render',chipvue_type_template_id_8a56dabe_render]])
13473
13606
 
13474
13607
  /* harmony default export */ const chip = (chip_exports_);
13475
13608
  ;// CONCATENATED MODULE: ./components/chip/index.js
@@ -13788,27 +13921,27 @@ const select_menu_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(select
13788
13921
  ;// CONCATENATED MODULE: ./components/select_menu/index.js
13789
13922
 
13790
13923
 
13791
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/toast/toast.vue?vue&type=template&id=1cc09485
13924
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/toast/toast.vue?vue&type=template&id=b9998f6e
13792
13925
 
13793
- const toastvue_type_template_id_1cc09485_hoisted_1 = ["aria-hidden"];
13794
- const toastvue_type_template_id_1cc09485_hoisted_2 = {
13926
+ const toastvue_type_template_id_b9998f6e_hoisted_1 = ["aria-hidden"];
13927
+ const toastvue_type_template_id_b9998f6e_hoisted_2 = {
13795
13928
  class: "d-toast__dialog"
13796
13929
  };
13797
- function toastvue_type_template_id_1cc09485_render(_ctx, _cache, $props, $setup, $data, $options) {
13930
+ function toastvue_type_template_id_b9998f6e_render(_ctx, _cache, $props, $setup, $data, $options) {
13798
13931
  const _component_dt_notice_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("dt-notice-icon");
13799
13932
 
13800
13933
  const _component_dt_notice_content = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("dt-notice-content");
13801
13934
 
13802
13935
  const _component_dt_notice_action = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("dt-notice-action");
13803
13936
 
13804
- return !$data.hidden ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
13937
+ return $data.isShown ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
13805
13938
  key: 0,
13806
13939
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(['d-toast', $options.kindClass, {
13807
13940
  'd-toast--important': $props.important
13808
13941
  }]),
13809
13942
  "data-qa": "dt-toast",
13810
- "aria-hidden": $data.hidden.toString()
13811
- }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", toastvue_type_template_id_1cc09485_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_dt_notice_icon, {
13943
+ "aria-hidden": (!$data.isShown).toString()
13944
+ }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", toastvue_type_template_id_b9998f6e_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_dt_notice_icon, {
13812
13945
  kind: $props.kind
13813
13946
  }, {
13814
13947
  default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "icon")]),
@@ -13825,18 +13958,20 @@ function toastvue_type_template_id_1cc09485_render(_ctx, _cache, $props, $setup,
13825
13958
  }, 8, ["title-id", "content-id", "title", "role"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_dt_notice_action, {
13826
13959
  "hide-close": $props.hideClose,
13827
13960
  "close-button-props": $props.closeButtonProps,
13828
- onClose: _cache[0] || (_cache[0] = $event => _ctx.$emit('close'))
13961
+ onClose: $options.closeToast
13829
13962
  }, {
13830
13963
  default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "action")]),
13831
13964
  _: 3
13832
- }, 8, ["hide-close", "close-button-props"])])], 10, toastvue_type_template_id_1cc09485_hoisted_1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true);
13965
+ }, 8, ["hide-close", "close-button-props", "onClose"])])], 10, toastvue_type_template_id_b9998f6e_hoisted_1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true);
13833
13966
  }
13834
- ;// CONCATENATED MODULE: ./components/toast/toast.vue?vue&type=template&id=1cc09485
13967
+ ;// CONCATENATED MODULE: ./components/toast/toast.vue?vue&type=template&id=b9998f6e
13835
13968
 
13836
13969
  ;// CONCATENATED MODULE: ./components/toast/toast_constants.js
13837
13970
  const TOAST_ROLES = ['status', 'alert'];
13971
+ const TOAST_MIN_DURATION = 6000;
13838
13972
  /* harmony default export */ const toast_constants = ({
13839
- TOAST_ROLES
13973
+ TOAST_ROLES,
13974
+ TOAST_MIN_DURATION
13840
13975
  });
13841
13976
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/toast/toast.vue?vue&type=script&lang=js
13842
13977
 
@@ -13926,6 +14061,17 @@ const TOAST_ROLES = ['status', 'alert'];
13926
14061
  default: false
13927
14062
  },
13928
14063
 
14064
+ /**
14065
+ * Controls whether the toast is shown. If a valid duration is provided, the toast will disappear
14066
+ * after reaching the duration time, so it's convenient to use `v-model` with this prop to update
14067
+ * the data in your component.
14068
+ * Supports v-model
14069
+ */
14070
+ show: {
14071
+ type: Boolean,
14072
+ default: false
14073
+ },
14074
+
13929
14075
  /**
13930
14076
  * Props for the toast close button.
13931
14077
  */
@@ -13944,21 +14090,23 @@ const TOAST_ROLES = ['status', 'alert'];
13944
14090
 
13945
14091
  /**
13946
14092
  * The duration in ms the toast will display before disappearing.
13947
- * Defaults to 6000 ms and the prop validation is that provided duration is equal to or greater than 6000.
14093
+ * The toast won't disappear if the duration is not provided.
14094
+ * If it's provided, it should be equal to or greater than 6000.
13948
14095
  */
13949
14096
  duration: {
13950
14097
  type: Number,
13951
- default: 6000,
14098
+ default: null,
13952
14099
  validator: duration => {
13953
- return duration >= 6000;
14100
+ return duration >= TOAST_MIN_DURATION;
13954
14101
  }
13955
14102
  }
13956
14103
  },
13957
- emits: ['close', 'click'],
14104
+ emits: ['close', 'click', 'update:show'],
13958
14105
 
13959
14106
  data() {
13960
14107
  return {
13961
- hidden: true
14108
+ isShown: false,
14109
+ minDuration: TOAST_MIN_DURATION
13962
14110
  };
13963
14111
  },
13964
14112
 
@@ -13972,25 +14120,45 @@ const TOAST_ROLES = ['status', 'alert'];
13972
14120
  base: 'd-toast--base'
13973
14121
  };
13974
14122
  return kindClasses[this.kind];
14123
+ },
14124
+
14125
+ shouldSetTimeout() {
14126
+ return !!this.duration && this.duration >= this.minDuration;
13975
14127
  }
13976
14128
 
13977
14129
  },
14130
+ watch: {
14131
+ show: {
14132
+ handler: function (show) {
14133
+ this.isShown = show;
14134
+
14135
+ if (show) {
14136
+ this.setTimeout();
14137
+ } else {
14138
+ clearTimeout(this.displayTimer);
14139
+ }
14140
+ },
14141
+ immediate: true
14142
+ }
14143
+ },
13978
14144
 
13979
14145
  unmounted() {
13980
14146
  clearTimeout(this.displayTimer);
13981
14147
  },
13982
14148
 
13983
14149
  methods: {
13984
- show() {
13985
- this.hidden = false;
13986
- this.displayTimer = setTimeout(() => {
13987
- this.hidden = true;
13988
- }, this.duration);
14150
+ closeToast(event) {
14151
+ this.$emit('update:show', false);
14152
+ this.$emit('close', event);
13989
14153
  },
13990
14154
 
13991
- close() {
13992
- this.hidden = true;
13993
- clearTimeout(this.displayTimer);
14155
+ setTimeout() {
14156
+ if (this.shouldSetTimeout) {
14157
+ this.displayTimer = setTimeout(() => {
14158
+ this.isShown = false;
14159
+ this.$emit('update:show', false);
14160
+ }, this.duration);
14161
+ }
13994
14162
  }
13995
14163
 
13996
14164
  }
@@ -14003,7 +14171,7 @@ const TOAST_ROLES = ['status', 'alert'];
14003
14171
 
14004
14172
 
14005
14173
  ;
14006
- const toast_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(toastvue_type_script_lang_js, [['render',toastvue_type_template_id_1cc09485_render]])
14174
+ const toast_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(toastvue_type_script_lang_js, [['render',toastvue_type_template_id_b9998f6e_render]])
14007
14175
 
14008
14176
  /* harmony default export */ const toast = (toast_exports_);
14009
14177
  ;// CONCATENATED MODULE: ./components/toast/index.js
@@ -14142,15 +14310,15 @@ const toggle_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(togglevue_t
14142
14310
  /* harmony default export */ const toggle = (toggle_exports_);
14143
14311
  ;// CONCATENATED MODULE: ./components/toggle/index.js
14144
14312
 
14145
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/tooltip/tooltip.vue?vue&type=template&id=600c8e6a
14313
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/tooltip/tooltip.vue?vue&type=template&id=044c8b20
14146
14314
 
14147
- const tooltipvue_type_template_id_600c8e6a_hoisted_1 = {
14315
+ const tooltipvue_type_template_id_044c8b20_hoisted_1 = {
14148
14316
  "data-qa": "dt-tooltip-container"
14149
14317
  };
14150
- function tooltipvue_type_template_id_600c8e6a_render(_ctx, _cache, $props, $setup, $data, $options) {
14318
+ function tooltipvue_type_template_id_044c8b20_render(_ctx, _cache, $props, $setup, $data, $options) {
14151
14319
  const _component_dt_lazy_show = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("dt-lazy-show");
14152
14320
 
14153
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", tooltipvue_type_template_id_600c8e6a_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
14321
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", tooltipvue_type_template_id_044c8b20_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
14154
14322
  ref: "anchor",
14155
14323
  "data-qa": "dt-tooltip-anchor",
14156
14324
  onFocusin: _cache[0] || (_cache[0] = function () {
@@ -14187,7 +14355,7 @@ function tooltipvue_type_template_id_600c8e6a_render(_ctx, _cache, $props, $setu
14187
14355
  _: 3
14188
14356
  }, 8, ["id", "show", "transition", "class", "onAfterLeave", "onAfterEnter"])]);
14189
14357
  }
14190
- ;// CONCATENATED MODULE: ./components/tooltip/tooltip.vue?vue&type=template&id=600c8e6a
14358
+ ;// CONCATENATED MODULE: ./components/tooltip/tooltip.vue?vue&type=template&id=044c8b20
14191
14359
 
14192
14360
  ;// CONCATENATED MODULE: ./components/tooltip/tooltip_constants.js
14193
14361
  /*
@@ -14251,7 +14419,7 @@ const TOOLTIP_HIDE_ON_CLICK_VARIANTS = [true, false, 'toggle'];
14251
14419
  */
14252
14420
  offset: {
14253
14421
  type: Array,
14254
- default: () => [0, 0]
14422
+ default: () => [0, -4]
14255
14423
  },
14256
14424
 
14257
14425
  /**
@@ -14463,9 +14631,9 @@ const TOOLTIP_HIDE_ON_CLICK_VARIANTS = [true, false, 'toggle'];
14463
14631
  });
14464
14632
  ;// CONCATENATED MODULE: ./components/tooltip/tooltip.vue?vue&type=script&lang=js
14465
14633
 
14466
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.use[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/tooltip/tooltip.vue?vue&type=style&index=0&id=600c8e6a&lang=less
14467
- var tooltipvue_type_style_index_0_id_600c8e6a_lang_less = __webpack_require__(877);
14468
- ;// CONCATENATED MODULE: ./components/tooltip/tooltip.vue?vue&type=style&index=0&id=600c8e6a&lang=less
14634
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.use[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/tooltip/tooltip.vue?vue&type=style&index=0&id=044c8b20&lang=less
14635
+ var tooltipvue_type_style_index_0_id_044c8b20_lang_less = __webpack_require__(273);
14636
+ ;// CONCATENATED MODULE: ./components/tooltip/tooltip.vue?vue&type=style&index=0&id=044c8b20&lang=less
14469
14637
 
14470
14638
  ;// CONCATENATED MODULE: ./components/tooltip/tooltip.vue
14471
14639
 
@@ -14475,7 +14643,7 @@ var tooltipvue_type_style_index_0_id_600c8e6a_lang_less = __webpack_require__(87
14475
14643
  ;
14476
14644
 
14477
14645
 
14478
- const tooltip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(tooltipvue_type_script_lang_js, [['render',tooltipvue_type_template_id_600c8e6a_render]])
14646
+ const tooltip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(tooltipvue_type_script_lang_js, [['render',tooltipvue_type_template_id_044c8b20_render]])
14479
14647
 
14480
14648
  /* harmony default export */ const tooltip = (tooltip_exports_);
14481
14649
  ;// CONCATENATED MODULE: ./components/tooltip/index.js
@@ -14776,6 +14944,270 @@ const keyboard_shortcut_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(
14776
14944
  ;// CONCATENATED MODULE: ./components/keyboard_shortcut/index.js
14777
14945
 
14778
14946
 
14947
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/root_layout/root_layout.vue?vue&type=template&id=2e5fe0a4
14948
+
14949
+ const root_layoutvue_type_template_id_2e5fe0a4_hoisted_1 = {
14950
+ class: "root-layout"
14951
+ };
14952
+ function root_layoutvue_type_template_id_2e5fe0a4_render(_ctx, _cache, $props, $setup, $data, $options) {
14953
+ const _component_dt_root_layout_body = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("dt-root-layout-body");
14954
+
14955
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", root_layoutvue_type_template_id_2e5fe0a4_hoisted_1, [_ctx.$slots.header ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("header", {
14956
+ key: 0,
14957
+ class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(['root-layout__header', $props.headerClass, {
14958
+ 'root-layout__header--sticky': $props.headerSticky
14959
+ }]),
14960
+ style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)({
14961
+ 'height': $props.headerHeight
14962
+ }),
14963
+ "data-qa": "root-layout-header"
14964
+ }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "header")], 6)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_dt_root_layout_body, {
14965
+ "content-class": $props.contentClass,
14966
+ "content-wrap-width-percent": $props.contentWrapWidthPercent,
14967
+ "sidebar-class": $props.sidebarClass,
14968
+ "sidebar-width": $props.sidebarWidth,
14969
+ "sidebar-position": $props.sidebarPosition
14970
+ }, {
14971
+ sidebar: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "sidebar")]),
14972
+ content: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "default")]),
14973
+ _: 3
14974
+ }, 8, ["content-class", "content-wrap-width-percent", "sidebar-class", "sidebar-width", "sidebar-position"]), _ctx.$slots.footer ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("footer", {
14975
+ key: 1,
14976
+ class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(['root-layout__footer', $props.footerClass]),
14977
+ style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)({
14978
+ 'height': $props.footerHeight
14979
+ }),
14980
+ "data-qa": "root-layout-footer"
14981
+ }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "footer")], 6)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)]);
14982
+ }
14983
+ ;// CONCATENATED MODULE: ./components/root_layout/root_layout.vue?vue&type=template&id=2e5fe0a4
14984
+
14985
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/root_layout/root_layout_body.vue?vue&type=template&id=dfb53770
14986
+
14987
+ function root_layout_bodyvue_type_template_id_dfb53770_render(_ctx, _cache, $props, $setup, $data, $options) {
14988
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
14989
+ class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(['root-layout__body', $options.bodyClass]),
14990
+ "data-qa": "root-layout-body"
14991
+ }, [_ctx.$slots.sidebar ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("aside", {
14992
+ key: 0,
14993
+ class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(['root-layout__sidebar', $props.sidebarClass]),
14994
+ style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)({
14995
+ 'flex-basis': $props.sidebarWidth
14996
+ }),
14997
+ "data-qa": "root-layout-sidebar"
14998
+ }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "sidebar")], 6)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), _ctx.$slots.content ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("main", {
14999
+ key: 1,
15000
+ class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(['root-layout__content', $props.contentClass]),
15001
+ style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)({
15002
+ 'min-inline-size': $props.contentWrapWidthPercent
15003
+ }),
15004
+ "data-qa": "root-layout-content"
15005
+ }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "content")], 6)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)], 2);
15006
+ }
15007
+ ;// CONCATENATED MODULE: ./components/root_layout/root_layout_body.vue?vue&type=template&id=dfb53770
15008
+
15009
+ ;// CONCATENATED MODULE: ./components/root_layout/root_layout_constants.js
15010
+ const ROOT_LAYOUT_SIDEBAR_POSITIONS = {
15011
+ LEFT: 'left',
15012
+ RIGHT: 'right'
15013
+ };
15014
+ /* harmony default export */ const root_layout_constants = ({
15015
+ ROOT_LAYOUT_SIDEBAR_POSITIONS
15016
+ });
15017
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/root_layout/root_layout_body.vue?vue&type=script&lang=js
15018
+
15019
+ /* harmony default export */ const root_layout_bodyvue_type_script_lang_js = ({
15020
+ name: 'DtRootLayoutBody',
15021
+ props: {
15022
+ /**
15023
+ * Additional class name for the content element
15024
+ */
15025
+ contentClass: {
15026
+ type: [String, Array, Object],
15027
+ default: undefined
15028
+ },
15029
+
15030
+ /**
15031
+ * Additional class name for the sidebar element
15032
+ */
15033
+ sidebarClass: {
15034
+ type: [String, Array, Object],
15035
+ default: undefined
15036
+ },
15037
+
15038
+ /**
15039
+ * The width of the sidebar
15040
+ * Possible units rem|px|%|em
15041
+ */
15042
+ sidebarWidth: {
15043
+ type: String,
15044
+ default: undefined
15045
+ },
15046
+
15047
+ /**
15048
+ * Whether the sidebar is on the left or right side
15049
+ * Possible options: 'left', 'right'
15050
+ */
15051
+ sidebarPosition: {
15052
+ type: String,
15053
+ default: undefined
15054
+ },
15055
+
15056
+ /**
15057
+ * For responsive layouts. When the main content is at the specified width percentage,
15058
+ * the sidebar will display above the content rather than beside it. Please enter a percentage string value
15059
+ *
15060
+ * ex: '50%', '30%'
15061
+ */
15062
+ contentWrapWidthPercent: {
15063
+ type: String,
15064
+ default: undefined
15065
+ }
15066
+ },
15067
+ computed: {
15068
+ bodyClass() {
15069
+ return {
15070
+ 'root-layout__body--invert': this.sidebarPosition === ROOT_LAYOUT_SIDEBAR_POSITIONS.RIGHT
15071
+ };
15072
+ }
15073
+
15074
+ }
15075
+ });
15076
+ ;// CONCATENATED MODULE: ./components/root_layout/root_layout_body.vue?vue&type=script&lang=js
15077
+
15078
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.use[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/root_layout/root_layout_body.vue?vue&type=style&index=0&id=dfb53770&lang=less
15079
+ var root_layout_bodyvue_type_style_index_0_id_dfb53770_lang_less = __webpack_require__(304);
15080
+ ;// CONCATENATED MODULE: ./components/root_layout/root_layout_body.vue?vue&type=style&index=0&id=dfb53770&lang=less
15081
+
15082
+ ;// CONCATENATED MODULE: ./components/root_layout/root_layout_body.vue
15083
+
15084
+
15085
+
15086
+
15087
+ ;
15088
+
15089
+
15090
+ const root_layout_body_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(root_layout_bodyvue_type_script_lang_js, [['render',root_layout_bodyvue_type_template_id_dfb53770_render]])
15091
+
15092
+ /* harmony default export */ const root_layout_body = (root_layout_body_exports_);
15093
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/root_layout/root_layout.vue?vue&type=script&lang=js
15094
+
15095
+
15096
+ /* harmony default export */ const root_layoutvue_type_script_lang_js = ({
15097
+ name: 'DtRootLayout',
15098
+ components: {
15099
+ DtRootLayoutBody: root_layout_body
15100
+ },
15101
+ props: {
15102
+ /**
15103
+ * Additional class name for the header element
15104
+ */
15105
+ headerClass: {
15106
+ type: [String, Array, Object],
15107
+ default: ''
15108
+ },
15109
+
15110
+ /**
15111
+ * The height of the header
15112
+ * Possible units rem|px|%|em
15113
+ */
15114
+ headerHeight: {
15115
+ type: String,
15116
+ default: '64px'
15117
+ },
15118
+
15119
+ /**
15120
+ * Scroll the header with the page
15121
+ */
15122
+ headerSticky: {
15123
+ type: Boolean,
15124
+ default: false
15125
+ },
15126
+
15127
+ /**
15128
+ * Additional class name for the content element
15129
+ */
15130
+ contentClass: {
15131
+ type: [String, Array, Object],
15132
+ default: ''
15133
+ },
15134
+
15135
+ /**
15136
+ * For responsive layouts. When the main content is at the specified width percentage,
15137
+ * the sidebar will display above the content rather than beside it. Please enter a percentage string value
15138
+ *
15139
+ * ex: '50%', '30%'
15140
+ */
15141
+ contentWrapWidthPercent: {
15142
+ type: String,
15143
+ default: '50%'
15144
+ },
15145
+
15146
+ /**
15147
+ * Additional class name for the sidebar element
15148
+ */
15149
+ sidebarClass: {
15150
+ type: [String, Array, Object],
15151
+ default: ''
15152
+ },
15153
+
15154
+ /**
15155
+ * The width of the sidebar
15156
+ * Possible units rem|px|%|em
15157
+ */
15158
+ sidebarWidth: {
15159
+ type: String,
15160
+ default: '256px'
15161
+ },
15162
+
15163
+ /**
15164
+ * Whether the sidebar is on the left or right side
15165
+ * Possible options: 'left', 'right'
15166
+ */
15167
+ sidebarPosition: {
15168
+ type: String,
15169
+ default: 'left',
15170
+ validator: s => Object.values(ROOT_LAYOUT_SIDEBAR_POSITIONS).includes(s)
15171
+ },
15172
+
15173
+ /**
15174
+ * Additional class name for the footer element
15175
+ */
15176
+ footerClass: {
15177
+ type: [String, Array, Object],
15178
+ default: ''
15179
+ },
15180
+
15181
+ /**
15182
+ * The height of the footer
15183
+ * Possible units rem|px|%|em
15184
+ */
15185
+ footerHeight: {
15186
+ type: String,
15187
+ default: '64px'
15188
+ }
15189
+ }
15190
+ });
15191
+ ;// CONCATENATED MODULE: ./components/root_layout/root_layout.vue?vue&type=script&lang=js
15192
+
15193
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.use[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/root_layout/root_layout.vue?vue&type=style&index=0&id=2e5fe0a4&lang=less
15194
+ var root_layoutvue_type_style_index_0_id_2e5fe0a4_lang_less = __webpack_require__(151);
15195
+ ;// CONCATENATED MODULE: ./components/root_layout/root_layout.vue?vue&type=style&index=0&id=2e5fe0a4&lang=less
15196
+
15197
+ ;// CONCATENATED MODULE: ./components/root_layout/root_layout.vue
15198
+
15199
+
15200
+
15201
+
15202
+ ;
15203
+
15204
+
15205
+ const root_layout_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(root_layoutvue_type_script_lang_js, [['render',root_layoutvue_type_template_id_2e5fe0a4_render]])
15206
+
15207
+ /* harmony default export */ const root_layout = (root_layout_exports_);
15208
+ ;// CONCATENATED MODULE: ./components/root_layout/index.js
15209
+
15210
+
14779
15211
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/list_items/contact_info/contact_info.vue?vue&type=template&id=7091b031
14780
15212
 
14781
15213
  const contact_infovue_type_template_id_7091b031_hoisted_1 = {
@@ -15060,6 +15492,7 @@ const top_banner_info_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(to
15060
15492
 
15061
15493
 
15062
15494
 
15495
+
15063
15496
 
15064
15497
 
15065
15498
  /// Recipes