@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.
@@ -49,7 +49,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".dt-default-list-item,.dt-default-list
49
49
 
50
50
  /***/ }),
51
51
 
52
- /***/ 143:
52
+ /***/ 987:
53
53
  /***/ ((module, __webpack_exports__, __webpack_require__) => {
54
54
 
55
55
  "use strict";
@@ -119,6 +119,54 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".tippy-box[data-popper-escaped] .d-pop
119
119
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
120
120
 
121
121
 
122
+ /***/ }),
123
+
124
+ /***/ 475:
125
+ /***/ ((module, __webpack_exports__, __webpack_require__) => {
126
+
127
+ "use strict";
128
+ __webpack_require__.r(__webpack_exports__);
129
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
130
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
131
+ /* harmony export */ });
132
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81);
133
+ /* 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__);
134
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(645);
135
+ /* 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__);
136
+ // Imports
137
+
138
+
139
+ 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()));
140
+ // Module
141
+ ___CSS_LOADER_EXPORT___.push([module.id, ".root-layout__header--sticky{position:-webkit-sticky;position:sticky;top:0}", ""]);
142
+ // Exports
143
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
144
+
145
+
146
+ /***/ }),
147
+
148
+ /***/ 669:
149
+ /***/ ((module, __webpack_exports__, __webpack_require__) => {
150
+
151
+ "use strict";
152
+ __webpack_require__.r(__webpack_exports__);
153
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
154
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
155
+ /* harmony export */ });
156
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81);
157
+ /* 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__);
158
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(645);
159
+ /* 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__);
160
+ // Imports
161
+
162
+
163
+ 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()));
164
+ // Module
165
+ ___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}", ""]);
166
+ // Exports
167
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
168
+
169
+
122
170
  /***/ }),
123
171
 
124
172
  /***/ 511:
@@ -145,7 +193,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".skeleton-placeholder{display:flex;str
145
193
 
146
194
  /***/ }),
147
195
 
148
- /***/ 635:
196
+ /***/ 71:
149
197
  /***/ ((module, __webpack_exports__, __webpack_require__) => {
150
198
 
151
199
  "use strict";
@@ -377,19 +425,19 @@ var update = add("c62e22ae", content, true, {"sourceMap":false,"shadowMode":fals
377
425
 
378
426
  /***/ }),
379
427
 
380
- /***/ 746:
428
+ /***/ 366:
381
429
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
382
430
 
383
431
  // style-loader: Adds some css to the DOM by adding a <style> tag
384
432
 
385
433
  // load the styles
386
- var content = __webpack_require__(143);
434
+ var content = __webpack_require__(987);
387
435
  if(content.__esModule) content = content.default;
388
436
  if(typeof content === 'string') content = [[module.id, content, '']];
389
437
  if(content.locals) module.exports = content.locals;
390
438
  // add the styles to the DOM
391
439
  var add = (__webpack_require__(402)/* ["default"] */ .Z)
392
- var update = add("5bb61f99", content, true, {"sourceMap":false,"shadowMode":false});
440
+ var update = add("48240900", content, true, {"sourceMap":false,"shadowMode":false});
393
441
 
394
442
  /***/ }),
395
443
 
@@ -425,6 +473,38 @@ var update = add("3123c041", content, true, {"sourceMap":false,"shadowMode":fals
425
473
 
426
474
  /***/ }),
427
475
 
476
+ /***/ 35:
477
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
478
+
479
+ // style-loader: Adds some css to the DOM by adding a <style> tag
480
+
481
+ // load the styles
482
+ var content = __webpack_require__(475);
483
+ if(content.__esModule) content = content.default;
484
+ if(typeof content === 'string') content = [[module.id, content, '']];
485
+ if(content.locals) module.exports = content.locals;
486
+ // add the styles to the DOM
487
+ var add = (__webpack_require__(402)/* ["default"] */ .Z)
488
+ var update = add("10cf22bb", content, true, {"sourceMap":false,"shadowMode":false});
489
+
490
+ /***/ }),
491
+
492
+ /***/ 516:
493
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
494
+
495
+ // style-loader: Adds some css to the DOM by adding a <style> tag
496
+
497
+ // load the styles
498
+ var content = __webpack_require__(669);
499
+ if(content.__esModule) content = content.default;
500
+ if(typeof content === 'string') content = [[module.id, content, '']];
501
+ if(content.locals) module.exports = content.locals;
502
+ // add the styles to the DOM
503
+ var add = (__webpack_require__(402)/* ["default"] */ .Z)
504
+ var update = add("6104adba", content, true, {"sourceMap":false,"shadowMode":false});
505
+
506
+ /***/ }),
507
+
428
508
  /***/ 878:
429
509
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
430
510
 
@@ -441,19 +521,19 @@ var update = add("6f5d0b60", content, true, {"sourceMap":false,"shadowMode":fals
441
521
 
442
522
  /***/ }),
443
523
 
444
- /***/ 96:
524
+ /***/ 126:
445
525
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
446
526
 
447
527
  // style-loader: Adds some css to the DOM by adding a <style> tag
448
528
 
449
529
  // load the styles
450
- var content = __webpack_require__(635);
530
+ var content = __webpack_require__(71);
451
531
  if(content.__esModule) content = content.default;
452
532
  if(typeof content === 'string') content = [[module.id, content, '']];
453
533
  if(content.locals) module.exports = content.locals;
454
534
  // add the styles to the DOM
455
535
  var add = (__webpack_require__(402)/* ["default"] */ .Z)
456
- var update = add("9886cd68", content, true, {"sourceMap":false,"shadowMode":false});
536
+ var update = add("762f0436", content, true, {"sourceMap":false,"shadowMode":false});
457
537
 
458
538
  /***/ }),
459
539
 
@@ -1057,6 +1137,7 @@ __webpack_require__.d(__webpack_exports__, {
1057
1137
  "DtRadioGroup": () => (/* reexport */ radio_group),
1058
1138
  "DtRecipeContactInfo": () => (/* reexport */ contact_info),
1059
1139
  "DtRecipeTopBannerInfo": () => (/* reexport */ top_banner_info),
1140
+ "DtRootLayout": () => (/* reexport */ root_layout),
1060
1141
  "DtSelectMenu": () => (/* reexport */ select_menu),
1061
1142
  "DtSkeleton": () => (/* reexport */ skeleton_skeleton),
1062
1143
  "DtSkeletonListItem": () => (/* reexport */ skeleton_list_item),
@@ -1083,6 +1164,7 @@ __webpack_require__.d(__webpack_exports__, {
1083
1164
  "POPOVER_INITIAL_FOCUS_STRINGS": () => (/* reexport */ POPOVER_INITIAL_FOCUS_STRINGS),
1084
1165
  "POPOVER_PADDING_CLASSES": () => (/* reexport */ POPOVER_PADDING_CLASSES),
1085
1166
  "POPOVER_ROLES": () => (/* reexport */ POPOVER_ROLES),
1167
+ "ROOT_LAYOUT_SIDEBAR_POSITIONS": () => (/* reexport */ ROOT_LAYOUT_SIDEBAR_POSITIONS),
1086
1168
  "SELECT_SIZE_MODIFIERS": () => (/* reexport */ SELECT_SIZE_MODIFIERS),
1087
1169
  "SELECT_STATE_MODIFIERS": () => (/* reexport */ SELECT_STATE_MODIFIERS),
1088
1170
  "SHORTCUTS_ALIASES": () => (/* reexport */ SHORTCUTS_ALIASES),
@@ -3013,6 +3095,7 @@ function comboboxvue_type_template_id_4901dce5_render(_ctx, _cache, $props, $set
3013
3095
  * the root element of the component.
3014
3096
  */
3015
3097
 
3098
+ const ERROR_INVALID_LIST_ELEMENT = 'listElementKey is required or the referenced ' + 'element doesn\'t exist. Received listElement: ';
3016
3099
  /* harmony default export */ const keyboard_list_navigation = (function () {
3017
3100
  let {
3018
3101
  // Role of the list items in the component. This is used to identify the list items
@@ -3036,7 +3119,7 @@ function comboboxvue_type_template_id_4901dce5_render(_ctx, _cache, $props, $set
3036
3119
  endOfListMethod = null,
3037
3120
  // Scroll the active element into view when highlighted by a keyboard event.
3038
3121
  scrollToOnHighlight = true,
3039
- // Focus the active element on keyboard navigation
3122
+ // Focus the active element on keyboard navigation.
3040
3123
  focusOnKeyboardNavigation = false
3041
3124
  } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3042
3125
  return {
@@ -3070,14 +3153,25 @@ function comboboxvue_type_template_id_4901dce5_render(_ctx, _cache, $props, $set
3070
3153
  // Gets the length of all the items in the list, uses the listItemRole param to determine
3071
3154
  // whether an element is a list item.
3072
3155
  _itemsLength() {
3156
+ const listItems = this._getListItemNodes();
3157
+
3158
+ if (listItems === null) {
3159
+ return 0;
3160
+ }
3161
+
3162
+ return listItems.length;
3163
+ },
3164
+
3165
+ // Gets all the list item nodes within the list element
3166
+ _getListItemNodes() {
3073
3167
  const listElement = this._getListElement();
3074
3168
 
3075
3169
  if (!listElement) {
3076
- console.error("listElementKey is required or the referenced element doesn't exist. Received\n listElement: ", listElement);
3077
- return 0;
3170
+ console.error(ERROR_INVALID_LIST_ELEMENT, listElement);
3171
+ return null;
3078
3172
  }
3079
3173
 
3080
- return listElement.querySelectorAll("[role=\"".concat(listItemRole, "\"]")).length;
3174
+ return Array.from(listElement.querySelectorAll("[role=\"".concat(listItemRole, "\"]")));
3081
3175
  },
3082
3176
 
3083
3177
  onUpKey() {
@@ -3122,6 +3216,35 @@ function comboboxvue_type_template_id_4901dce5_render(_ctx, _cache, $props, $set
3122
3216
  this.focusActiveItemIfNeeded();
3123
3217
  },
3124
3218
 
3219
+ onNavigationKey(key) {
3220
+ const listItems = this._getListItemNodes();
3221
+
3222
+ const matchingItems = listItems.filter(item => {
3223
+ const content = item.textContent.trim().toLowerCase();
3224
+ return content.startsWith(key.toLowerCase());
3225
+ });
3226
+
3227
+ if (matchingItems.length <= 0) {
3228
+ return;
3229
+ }
3230
+
3231
+ const highlightedMatchingItemIndex = matchingItems.findIndex(item => {
3232
+ return this[indexKey] === listItems.indexOf(item);
3233
+ });
3234
+ const nextHighlightedItemIndex = listItems.indexOf(highlightedMatchingItemIndex < matchingItems.length - 1 ? matchingItems[highlightedMatchingItemIndex + 1] : matchingItems[0]);
3235
+ this.setHighlightIndex(nextHighlightedItemIndex);
3236
+ this.scrollActiveItemIntoViewIfNeeded();
3237
+ this.focusActiveItemIfNeeded();
3238
+ },
3239
+
3240
+ isValidLetter(key) {
3241
+ if (key.length > 1) {
3242
+ return false;
3243
+ }
3244
+
3245
+ return key >= 'a' && key <= 'z' || key >= 'A' && key <= 'Z';
3246
+ },
3247
+
3125
3248
  jumpToBeginning() {
3126
3249
  this.setHighlightIndex(0);
3127
3250
  },
@@ -3158,8 +3281,7 @@ function comboboxvue_type_template_id_4901dce5_render(_ctx, _cache, $props, $set
3158
3281
  }
3159
3282
 
3160
3283
  const listItems = Array.from(listElement.querySelectorAll("[role=\"".concat(listItemRole, "\"]")));
3161
- const index = listItems.indexOf(listElement.querySelector("#".concat(id)));
3162
- return index;
3284
+ return listItems.indexOf(listElement.querySelector("#".concat(id)));
3163
3285
  },
3164
3286
 
3165
3287
  _getItemId(index) {
@@ -3422,10 +3544,10 @@ const combobox_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(comboboxv
3422
3544
  /* harmony default export */ const combobox = (combobox_exports_);
3423
3545
  ;// CONCATENATED MODULE: ./components/combobox/index.js
3424
3546
 
3425
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
3547
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
3426
3548
 
3427
- const dropdownvue_type_template_id_071e4ebc_hoisted_1 = ["id"];
3428
- function dropdownvue_type_template_id_071e4ebc_render(_ctx, _cache, $props, $setup, $data, $options) {
3549
+ const dropdownvue_type_template_id_e86dedbc_hoisted_1 = ["id"];
3550
+ function dropdownvue_type_template_id_e86dedbc_render(_ctx, _cache, $props, $setup, $data, $options) {
3429
3551
  const _component_dt_popover = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-popover");
3430
3552
 
3431
3553
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_popover, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
@@ -3443,7 +3565,7 @@ function dropdownvue_type_template_id_071e4ebc_render(_ctx, _cache, $props, $set
3443
3565
  "max-width": $props.maxWidth,
3444
3566
  "open-with-arrow-keys": true,
3445
3567
  onOpened: $options.updateInitialHighlightIndex,
3446
- onKeydown: [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)($options.onEnterKey, ["enter"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)($options.onSpaceKey, ["space"]), _cache[2] || (_cache[2] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.onKeyValidation($event, 'onUpKeyPress'), ["stop", "prevent"]), ["up"])), _cache[3] || (_cache[3] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.onKeyValidation($event, 'onDownKeyPress'), ["stop", "prevent"]), ["down"])), _cache[4] || (_cache[4] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.onKeyValidation($event, 'onHomeKeyPress'), ["stop", "prevent"]), ["home"])), _cache[5] || (_cache[5] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.onKeyValidation($event, 'onEndKeyPress'), ["stop", "prevent"]), ["end"]))]
3568
+ onKeydown: [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)($options.onEnterKey, ["enter"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)($options.onSpaceKey, ["space"]), _cache[2] || (_cache[2] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.onKeyValidation($event, 'onUpKeyPress'), ["stop", "prevent"]), ["up"])), _cache[3] || (_cache[3] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.onKeyValidation($event, 'onDownKeyPress'), ["stop", "prevent"]), ["down"])), _cache[4] || (_cache[4] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.onKeyValidation($event, 'onHomeKeyPress'), ["stop", "prevent"]), ["home"])), _cache[5] || (_cache[5] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.onKeyValidation($event, 'onEndKeyPress'), ["stop", "prevent"]), ["end"])), _cache[6] || (_cache[6] = $event => $options.onKeyValidation($event, 'onKeyPress'))]
3447
3569
  }), {
3448
3570
  anchor: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(_ref => {
3449
3571
  let {
@@ -3470,12 +3592,12 @@ function dropdownvue_type_template_id_071e4ebc_render(_ctx, _cache, $props, $set
3470
3592
  })
3471
3593
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "list", {
3472
3594
  close: close
3473
- })], 42, dropdownvue_type_template_id_071e4ebc_hoisted_1)];
3595
+ })], 42, dropdownvue_type_template_id_e86dedbc_hoisted_1)];
3474
3596
  }),
3475
3597
  _: 3
3476
3598
  }, 16, ["content-width", "open", "placement", "fallback-placements", "modal", "max-height", "max-width", "onOpened", "onKeydown"]);
3477
3599
  }
3478
- ;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=template&id=071e4ebc
3600
+ ;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=template&id=e86dedbc
3479
3601
 
3480
3602
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
3481
3603
 
@@ -8920,7 +9042,6 @@ const DROPDOWN_PADDING_CLASSES = {
8920
9042
  components: {
8921
9043
  DtPopover: popover
8922
9044
  },
8923
- inheritAttrs: false,
8924
9045
  mixins: [keyboard_list_navigation({
8925
9046
  indexKey: 'highlightIndex',
8926
9047
  idKey: 'highlightId',
@@ -8932,6 +9053,7 @@ const DROPDOWN_PADDING_CLASSES = {
8932
9053
  activeItemKey: 'activeItemEl',
8933
9054
  focusOnKeyboardNavigation: true
8934
9055
  })],
9056
+ inheritAttrs: false,
8935
9057
  props: {
8936
9058
  /**
8937
9059
  * Controls whether the dropdown is shown. Leaving this null will have the dropdown trigger on click by default.
@@ -9080,6 +9202,10 @@ const DROPDOWN_PADDING_CLASSES = {
9080
9202
 
9081
9203
  activeItemEl() {
9082
9204
  return this.getListElement().querySelector('#' + this.highlightId);
9205
+ },
9206
+
9207
+ isArrowKeyNav() {
9208
+ return this.navigationType === this.LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS;
9083
9209
  }
9084
9210
 
9085
9211
  },
@@ -9139,7 +9265,7 @@ const DROPDOWN_PADDING_CLASSES = {
9139
9265
  return;
9140
9266
  }
9141
9267
 
9142
- if (this.navigationType === this.LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS) {
9268
+ if (this.isArrowKeyNav) {
9143
9269
  return this.onUpKey();
9144
9270
  }
9145
9271
  },
@@ -9150,29 +9276,35 @@ const DROPDOWN_PADDING_CLASSES = {
9150
9276
  return;
9151
9277
  }
9152
9278
 
9153
- if (this.navigationType === this.LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS) {
9279
+ if (this.isArrowKeyNav) {
9154
9280
  return this.onDownKey();
9155
9281
  }
9156
9282
  },
9157
9283
 
9158
9284
  onHomeKeyPress() {
9159
- if (!this.isOpen) {
9285
+ if (!this.isOpen || !this.isArrowKeyNav) {
9160
9286
  return;
9161
9287
  }
9162
9288
 
9163
- if (this.navigationType === this.LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS) {
9164
- return this.onHomeKey();
9165
- }
9289
+ return this.onHomeKey();
9166
9290
  },
9167
9291
 
9168
9292
  onEndKeyPress() {
9169
- if (!this.isOpen) {
9293
+ if (!this.isOpen || !this.isArrowKeyNav) {
9170
9294
  return;
9171
9295
  }
9172
9296
 
9173
- if (this.navigationType === this.LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS) {
9174
- return this.onEndKey();
9297
+ return this.onEndKey();
9298
+ },
9299
+
9300
+ onKeyPress(e) {
9301
+ if (!this.isOpen || !this.isArrowKeyNav || !this.isValidLetter(e.key)) {
9302
+ return;
9175
9303
  }
9304
+
9305
+ e.stopPropagation();
9306
+ e.preventDefault();
9307
+ return this.onNavigationKey(e.key);
9176
9308
  },
9177
9309
 
9178
9310
  onKeyValidation(e, eventHandler) {
@@ -9193,7 +9325,7 @@ const DROPDOWN_PADDING_CLASSES = {
9193
9325
 
9194
9326
 
9195
9327
  ;
9196
- const dropdown_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(dropdownvue_type_script_lang_js, [['render',dropdownvue_type_template_id_071e4ebc_render]])
9328
+ const dropdown_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(dropdownvue_type_script_lang_js, [['render',dropdownvue_type_template_id_e86dedbc_render]])
9197
9329
 
9198
9330
  /* harmony default export */ const dropdown = (dropdown_exports_);
9199
9331
  ;// CONCATENATED MODULE: ./components/dropdown/index.js
@@ -9358,7 +9490,7 @@ async function codeToEmojiData(code) {
9358
9490
  // @returns {string[]}
9359
9491
 
9360
9492
  function findShortCodes(textContent) {
9361
- const shortCodes = textContent.match(/:[^:]+:/g);
9493
+ const shortCodes = textContent.match(/:\w+:/g);
9362
9494
  const filtered = shortCodes ? shortCodes.filter(code => shortcodeToEmojiData(code)) : [];
9363
9495
  return new Set(filtered);
9364
9496
  } // Finds every emoji in slot text
@@ -11830,23 +11962,19 @@ const list_section_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(list_
11830
11962
  /* harmony default export */ const list_section = (list_section_exports_);
11831
11963
  ;// CONCATENATED MODULE: ./components/list_section/index.js
11832
11964
 
11833
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
11965
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
11834
11966
 
11835
- function list_itemvue_type_template_id_642c4ad3_render(_ctx, _cache, $props, $setup, $data, $options) {
11836
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveDynamicComponent)($props.elementType), {
11967
+ function list_itemvue_type_template_id_7876bc36_render(_ctx, _cache, $props, $setup, $data, $options) {
11968
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveDynamicComponent)($props.elementType), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
11837
11969
  id: $props.id,
11838
- class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['dt-list-item d-ls-none focus-visible', {
11970
+ class: ['dt-list-item d-ls-none focus-visible', {
11839
11971
  'dt-list-item--focusable': $options.isFocusable,
11840
11972
  'dt-list-item--highlighted': $options.isHighlighted
11841
- }]),
11973
+ }],
11842
11974
  tabindex: $options.isFocusable ? 0 : -1,
11843
11975
  role: $props.role,
11844
- "aria-selected": $options.isHighlighted,
11845
- onKeydown: [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)($options.onClick, ["enter"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)($options.onClick, ["space"])],
11846
- onMousemove: $options.onMouseHover,
11847
- onMouseleave: $options.onMouseLeave,
11848
- onClick: $options.onClick
11849
- }, {
11976
+ "aria-selected": $options.isHighlighted
11977
+ }, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toHandlers)($options.listItemListeners)), {
11850
11978
  default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [$options.listItemType ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveDynamicComponent)($options.listItemType), {
11851
11979
  key: 0
11852
11980
  }, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createSlots)({
@@ -11860,9 +11988,9 @@ function list_itemvue_type_template_id_642c4ad3_render(_ctx, _cache, $props, $se
11860
11988
  key: 1
11861
11989
  })]),
11862
11990
  _: 3
11863
- }, 40, ["id", "class", "tabindex", "role", "aria-selected", "onKeydown", "onMousemove", "onMouseleave", "onClick"]);
11991
+ }, 16, ["id", "class", "tabindex", "role", "aria-selected"]);
11864
11992
  }
11865
- ;// CONCATENATED MODULE: ./components/list_item/list_item.vue?vue&type=template&id=642c4ad3
11993
+ ;// CONCATENATED MODULE: ./components/list_item/list_item.vue?vue&type=template&id=7876bc36
11866
11994
 
11867
11995
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
11868
11996
 
@@ -11990,7 +12118,7 @@ const default_list_item_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(
11990
12118
  validator: t => Object.values(LIST_ITEM_NAVIGATION_TYPES).includes(t)
11991
12119
  }
11992
12120
  },
11993
- emits: ['click'],
12121
+ emits: ['click', 'keydown', 'mousemove', 'mouseleave'],
11994
12122
 
11995
12123
  data() {
11996
12124
  return {
@@ -12010,6 +12138,26 @@ const default_list_item_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(
12010
12138
  }
12011
12139
  },
12012
12140
 
12141
+ listItemListeners() {
12142
+ return {
12143
+ keydown: event => {
12144
+ if (['enter', 'space'].includes(event.code.toLowerCase())) {
12145
+ this.onClick(event);
12146
+ }
12147
+
12148
+ this.$emit('keydown', event);
12149
+ },
12150
+ mousemove: event => {
12151
+ this.onMouseHover(event);
12152
+ this.$emit('mousemove', event);
12153
+ },
12154
+ mouseleave: event => {
12155
+ this.onMouseLeave(event);
12156
+ this.$emit('mouseleave', event);
12157
+ }
12158
+ };
12159
+ },
12160
+
12013
12161
  /**
12014
12162
  * For keyboard navigation, whether or not this item is currently highlighted.
12015
12163
  * An injected highlightId will override the default mouseover highlight.
@@ -12036,8 +12184,8 @@ const default_list_item_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(
12036
12184
 
12037
12185
  },
12038
12186
  methods: {
12039
- onClick() {
12040
- this.$emit('click');
12187
+ onClick(e) {
12188
+ this.$emit('click', e);
12041
12189
  },
12042
12190
 
12043
12191
  onMouseHover() {
@@ -12052,9 +12200,9 @@ const default_list_item_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(
12052
12200
  });
12053
12201
  ;// CONCATENATED MODULE: ./components/list_item/list_item.vue?vue&type=script&lang=js
12054
12202
 
12055
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.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
12056
- var list_itemvue_type_style_index_0_id_642c4ad3_lang_less = __webpack_require__(746);
12057
- ;// CONCATENATED MODULE: ./components/list_item/list_item.vue?vue&type=style&index=0&id=642c4ad3&lang=less
12203
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.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
12204
+ var list_itemvue_type_style_index_0_id_7876bc36_lang_less = __webpack_require__(366);
12205
+ ;// CONCATENATED MODULE: ./components/list_item/list_item.vue?vue&type=style&index=0&id=7876bc36&lang=less
12058
12206
 
12059
12207
  ;// CONCATENATED MODULE: ./components/list_item/list_item.vue
12060
12208
 
@@ -12064,7 +12212,7 @@ var list_itemvue_type_style_index_0_id_642c4ad3_lang_less = __webpack_require__(
12064
12212
  ;
12065
12213
 
12066
12214
 
12067
- const list_item_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(list_itemvue_type_script_lang_js, [['render',list_itemvue_type_template_id_642c4ad3_render]])
12215
+ const list_item_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(list_itemvue_type_script_lang_js, [['render',list_itemvue_type_template_id_7876bc36_render]])
12068
12216
 
12069
12217
  /* harmony default export */ const list_item = (list_item_exports_);
12070
12218
  ;// CONCATENATED MODULE: ./components/list_item/index.js
@@ -13243,79 +13391,64 @@ const checkbox_group_exports_ = checkbox_groupvue_type_script_lang_js;
13243
13391
  /* harmony default export */ const checkbox_group = (checkbox_group_exports_);
13244
13392
  ;// CONCATENATED MODULE: ./components/checkbox_group/index.js
13245
13393
 
13246
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
13394
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
13247
13395
 
13248
- const chipvue_type_template_id_4d7bb584_hoisted_1 = ["id", "tabindex", "aria-labelledby", "aria-label"];
13249
- const chipvue_type_template_id_4d7bb584_hoisted_2 = {
13396
+ const chipvue_type_template_id_8a56dabe_hoisted_1 = {
13397
+ class: "d-chip"
13398
+ };
13399
+ const chipvue_type_template_id_8a56dabe_hoisted_2 = {
13250
13400
  key: 0,
13251
13401
  "data-qa": "dt-chip-icon",
13252
13402
  class: "d-chip__icon"
13253
13403
  };
13254
- const chipvue_type_template_id_4d7bb584_hoisted_3 = {
13404
+ const chipvue_type_template_id_8a56dabe_hoisted_3 = {
13255
13405
  key: 1,
13256
13406
  "data-qa": "dt-chip-avatar"
13257
13407
  };
13258
- const chipvue_type_template_id_4d7bb584_hoisted_4 = ["id"];
13259
- const chipvue_type_template_id_4d7bb584_hoisted_5 = {
13260
- key: 3,
13261
- class: "d-chip-btn-holder"
13262
- };
13263
- const chipvue_type_template_id_4d7bb584_hoisted_6 = {
13264
- ref: "closeBtnContainer",
13265
- class: "d-chip-btn-container"
13266
- };
13267
- function chipvue_type_template_id_4d7bb584_render(_ctx, _cache, $props, $setup, $data, $options) {
13408
+ const chipvue_type_template_id_8a56dabe_hoisted_4 = ["id"];
13409
+ function chipvue_type_template_id_8a56dabe_render(_ctx, _cache, $props, $setup, $data, $options) {
13268
13410
  const _component_icon_close = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("icon-close");
13269
13411
 
13270
13412
  const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-button");
13271
13413
 
13272
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", {
13414
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", chipvue_type_template_id_8a56dabe_hoisted_1, [((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveDynamicComponent)($props.interactive ? 'button' : 'span'), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
13273
13415
  id: $props.id,
13274
- class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.chipClasses()),
13416
+ type: $props.interactive && 'button',
13417
+ class: $options.chipClasses(),
13275
13418
  "data-qa": "dt-chip",
13276
- tabindex: $options.tabIndex,
13277
13419
  "aria-labelledby": $props.ariaLabel ? undefined : "".concat($props.id, "-content"),
13278
- "aria-label": $props.ariaLabel,
13279
- onMousedown: _cache[1] || (_cache[1] = function () {
13280
- return $options.onClick && $options.onClick(...arguments);
13281
- }),
13282
- onMouseup: _cache[2] || (_cache[2] = function () {
13283
- return $options.onClick && $options.onClick(...arguments);
13284
- }),
13285
- onMouseleave: _cache[3] || (_cache[3] = $event => $data.isActive = false),
13286
- onFocusout: _cache[4] || (_cache[4] = $event => $data.isActive = false),
13287
- onKeydown: _cache[5] || (_cache[5] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)(function () {
13288
- return $options.onClick && $options.onClick(...arguments);
13289
- }, ["enter"])),
13290
- onKeyup: [_cache[6] || (_cache[6] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)(function () {
13291
- return $options.onClick && $options.onClick(...arguments);
13292
- }, ["enter"])), _cache[7] || (_cache[7] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)(function () {
13293
- return $options.onClose && $options.onClose(...arguments);
13294
- }, ["delete"]))]
13295
- }, [_ctx.$slots.icon ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", chipvue_type_template_id_4d7bb584_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "icon")])) : _ctx.$slots.avatar ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", chipvue_type_template_id_4d7bb584_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "avatar")])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), _ctx.$slots.default ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", {
13296
- key: 2,
13297
- id: "".concat($props.id, "-content"),
13298
- "data-qa": "dt-chip-label",
13299
- class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-truncate', $props.contentClass])
13300
- }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")], 10, chipvue_type_template_id_4d7bb584_hoisted_4)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), !$props.hideClose ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", chipvue_type_template_id_4d7bb584_hoisted_5)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("span", chipvue_type_template_id_4d7bb584_hoisted_6, [!$props.hideClose ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_button, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
13420
+ "aria-label": $props.ariaLabel
13421
+ }, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toHandlers)($options.chipListeners)), {
13422
+ default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [_ctx.$slots.icon ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", chipvue_type_template_id_8a56dabe_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "icon")])) : _ctx.$slots.avatar ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", chipvue_type_template_id_8a56dabe_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "avatar")])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), _ctx.$slots.default ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", {
13423
+ key: 2,
13424
+ id: "".concat($props.id, "-content"),
13425
+ "data-qa": "dt-chip-label",
13426
+ class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-truncate', 'd-chip__text', $props.contentClass])
13427
+ }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")], 10, chipvue_type_template_id_8a56dabe_hoisted_4)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]),
13428
+ _: 3
13429
+ }, 16, ["id", "type", "class", "aria-labelledby", "aria-label"])), !$props.hideClose ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_button, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
13301
13430
  key: 0
13302
13431
  }, $props.closeButtonProps, {
13432
+ class: $options.chipCloseButtonClasses(),
13303
13433
  "data-qa": "dt-chip-close",
13304
- circle: "",
13305
- importance: "clear",
13306
13434
  "aria-label": $props.closeButtonProps.ariaLabel,
13307
13435
  onClick: _cache[0] || (_cache[0] = $event => _ctx.$emit('close'))
13308
13436
  }), {
13309
- default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_icon_close)]),
13437
+ icon: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_icon_close)]),
13310
13438
  _: 1
13311
- }, 16, ["aria-label"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 512)], 42, chipvue_type_template_id_4d7bb584_hoisted_1);
13439
+ }, 16, ["class", "aria-label"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]);
13312
13440
  }
13313
- ;// CONCATENATED MODULE: ./components/chip/chip.vue?vue&type=template&id=4d7bb584
13441
+ ;// CONCATENATED MODULE: ./components/chip/chip.vue?vue&type=template&id=8a56dabe
13314
13442
 
13315
13443
  ;// CONCATENATED MODULE: ./components/chip/chip_constants.js
13316
13444
  const CHIP_SIZE_MODIFIERS = {
13317
- xs: 'd-chip--xs',
13318
- sm: 'd-chip--sm',
13445
+ xs: 'd-chip__label--xs',
13446
+ sm: 'd-chip__label--sm',
13447
+ md: ''
13448
+ };
13449
+ const CHIP_CLOSE_BUTTON_SIZE_MODIFIERS = {
13450
+ xs: 'd-chip__close--xs',
13451
+ sm: 'd-chip__close--sm',
13319
13452
  md: ''
13320
13453
  };
13321
13454
  /* harmony default export */ const chip_constants = ({
@@ -13399,7 +13532,7 @@ const CHIP_SIZE_MODIFIERS = {
13399
13532
  default: ''
13400
13533
  }
13401
13534
  },
13402
- emits: ['click', 'close'],
13535
+ emits: ['click', 'close', 'keyup'],
13403
13536
 
13404
13537
  data() {
13405
13538
  return {
@@ -13408,37 +13541,37 @@ const CHIP_SIZE_MODIFIERS = {
13408
13541
  },
13409
13542
 
13410
13543
  computed: {
13411
- tabIndex() {
13412
- return this.interactive ? 0 : -1;
13544
+ chipListeners() {
13545
+ return {
13546
+ click: event => {
13547
+ if (this.interactive) this.$emit('click', event);
13548
+ },
13549
+ keyup: event => {
13550
+ var _event$code;
13551
+
13552
+ if (((_event$code = event.code) === null || _event$code === void 0 ? void 0 : _event$code.toLowerCase()) === 'delete') {
13553
+ this.onClose();
13554
+ } else {
13555
+ this.$emit('keyup', event);
13556
+ }
13557
+ }
13558
+ };
13413
13559
  }
13414
13560
 
13415
13561
  },
13416
13562
  methods: {
13417
13563
  chipClasses() {
13418
- return ['d-chip', CHIP_SIZE_MODIFIERS[this.size], {
13419
- 'd-chip--interactive': this.interactive,
13420
- 'd-chip--active': this.isActive
13421
- }];
13564
+ return ['d-chip__label', CHIP_SIZE_MODIFIERS[this.size]];
13565
+ },
13566
+
13567
+ chipCloseButtonClasses() {
13568
+ return ['d-chip__close', CHIP_CLOSE_BUTTON_SIZE_MODIFIERS[this.size]];
13422
13569
  },
13423
13570
 
13424
13571
  onClose() {
13425
13572
  if (!this.hideClose) {
13426
13573
  this.$emit('close');
13427
13574
  }
13428
- },
13429
-
13430
- onClick(event) {
13431
- // Clicking on the button should not update value of isActive.
13432
- if (!this.interactive || this.$refs.closeBtnContainer.contains(event.target)) {
13433
- return;
13434
- }
13435
-
13436
- if (event.type === 'mousedown' || event.type === 'keydown') {
13437
- this.isActive = true;
13438
- } else {
13439
- this.isActive = false;
13440
- this.$emit('click');
13441
- }
13442
13575
  }
13443
13576
 
13444
13577
  }
@@ -13451,7 +13584,7 @@ const CHIP_SIZE_MODIFIERS = {
13451
13584
 
13452
13585
 
13453
13586
  ;
13454
- const chip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(chipvue_type_script_lang_js, [['render',chipvue_type_template_id_4d7bb584_render]])
13587
+ const chip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(chipvue_type_script_lang_js, [['render',chipvue_type_template_id_8a56dabe_render]])
13455
13588
 
13456
13589
  /* harmony default export */ const chip = (chip_exports_);
13457
13590
  ;// CONCATENATED MODULE: ./components/chip/index.js
@@ -13770,27 +13903,27 @@ const select_menu_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(select
13770
13903
  ;// CONCATENATED MODULE: ./components/select_menu/index.js
13771
13904
 
13772
13905
 
13773
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
13906
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
13774
13907
 
13775
- const toastvue_type_template_id_1cc09485_hoisted_1 = ["aria-hidden"];
13776
- const toastvue_type_template_id_1cc09485_hoisted_2 = {
13908
+ const toastvue_type_template_id_b9998f6e_hoisted_1 = ["aria-hidden"];
13909
+ const toastvue_type_template_id_b9998f6e_hoisted_2 = {
13777
13910
  class: "d-toast__dialog"
13778
13911
  };
13779
- function toastvue_type_template_id_1cc09485_render(_ctx, _cache, $props, $setup, $data, $options) {
13912
+ function toastvue_type_template_id_b9998f6e_render(_ctx, _cache, $props, $setup, $data, $options) {
13780
13913
  const _component_dt_notice_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-notice-icon");
13781
13914
 
13782
13915
  const _component_dt_notice_content = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-notice-content");
13783
13916
 
13784
13917
  const _component_dt_notice_action = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-notice-action");
13785
13918
 
13786
- return !$data.hidden ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
13919
+ return $data.isShown ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
13787
13920
  key: 0,
13788
13921
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-toast', $options.kindClass, {
13789
13922
  'd-toast--important': $props.important
13790
13923
  }]),
13791
13924
  "data-qa": "dt-toast",
13792
- "aria-hidden": $data.hidden.toString()
13793
- }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", toastvue_type_template_id_1cc09485_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_notice_icon, {
13925
+ "aria-hidden": (!$data.isShown).toString()
13926
+ }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", toastvue_type_template_id_b9998f6e_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_notice_icon, {
13794
13927
  kind: $props.kind
13795
13928
  }, {
13796
13929
  default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "icon")]),
@@ -13807,18 +13940,20 @@ function toastvue_type_template_id_1cc09485_render(_ctx, _cache, $props, $setup,
13807
13940
  }, 8, ["title-id", "content-id", "title", "role"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_notice_action, {
13808
13941
  "hide-close": $props.hideClose,
13809
13942
  "close-button-props": $props.closeButtonProps,
13810
- onClose: _cache[0] || (_cache[0] = $event => _ctx.$emit('close'))
13943
+ onClose: $options.closeToast
13811
13944
  }, {
13812
13945
  default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "action")]),
13813
13946
  _: 3
13814
- }, 8, ["hide-close", "close-button-props"])])], 10, toastvue_type_template_id_1cc09485_hoisted_1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true);
13947
+ }, 8, ["hide-close", "close-button-props", "onClose"])])], 10, toastvue_type_template_id_b9998f6e_hoisted_1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true);
13815
13948
  }
13816
- ;// CONCATENATED MODULE: ./components/toast/toast.vue?vue&type=template&id=1cc09485
13949
+ ;// CONCATENATED MODULE: ./components/toast/toast.vue?vue&type=template&id=b9998f6e
13817
13950
 
13818
13951
  ;// CONCATENATED MODULE: ./components/toast/toast_constants.js
13819
13952
  const TOAST_ROLES = ['status', 'alert'];
13953
+ const TOAST_MIN_DURATION = 6000;
13820
13954
  /* harmony default export */ const toast_constants = ({
13821
- TOAST_ROLES
13955
+ TOAST_ROLES,
13956
+ TOAST_MIN_DURATION
13822
13957
  });
13823
13958
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/toast/toast.vue?vue&type=script&lang=js
13824
13959
 
@@ -13908,6 +14043,17 @@ const TOAST_ROLES = ['status', 'alert'];
13908
14043
  default: false
13909
14044
  },
13910
14045
 
14046
+ /**
14047
+ * Controls whether the toast is shown. If a valid duration is provided, the toast will disappear
14048
+ * after reaching the duration time, so it's convenient to use `v-model` with this prop to update
14049
+ * the data in your component.
14050
+ * Supports v-model
14051
+ */
14052
+ show: {
14053
+ type: Boolean,
14054
+ default: false
14055
+ },
14056
+
13911
14057
  /**
13912
14058
  * Props for the toast close button.
13913
14059
  */
@@ -13926,21 +14072,23 @@ const TOAST_ROLES = ['status', 'alert'];
13926
14072
 
13927
14073
  /**
13928
14074
  * The duration in ms the toast will display before disappearing.
13929
- * Defaults to 6000 ms and the prop validation is that provided duration is equal to or greater than 6000.
14075
+ * The toast won't disappear if the duration is not provided.
14076
+ * If it's provided, it should be equal to or greater than 6000.
13930
14077
  */
13931
14078
  duration: {
13932
14079
  type: Number,
13933
- default: 6000,
14080
+ default: null,
13934
14081
  validator: duration => {
13935
- return duration >= 6000;
14082
+ return duration >= TOAST_MIN_DURATION;
13936
14083
  }
13937
14084
  }
13938
14085
  },
13939
- emits: ['close', 'click'],
14086
+ emits: ['close', 'click', 'update:show'],
13940
14087
 
13941
14088
  data() {
13942
14089
  return {
13943
- hidden: true
14090
+ isShown: false,
14091
+ minDuration: TOAST_MIN_DURATION
13944
14092
  };
13945
14093
  },
13946
14094
 
@@ -13954,25 +14102,45 @@ const TOAST_ROLES = ['status', 'alert'];
13954
14102
  base: 'd-toast--base'
13955
14103
  };
13956
14104
  return kindClasses[this.kind];
14105
+ },
14106
+
14107
+ shouldSetTimeout() {
14108
+ return !!this.duration && this.duration >= this.minDuration;
13957
14109
  }
13958
14110
 
13959
14111
  },
14112
+ watch: {
14113
+ show: {
14114
+ handler: function (show) {
14115
+ this.isShown = show;
14116
+
14117
+ if (show) {
14118
+ this.setTimeout();
14119
+ } else {
14120
+ clearTimeout(this.displayTimer);
14121
+ }
14122
+ },
14123
+ immediate: true
14124
+ }
14125
+ },
13960
14126
 
13961
14127
  unmounted() {
13962
14128
  clearTimeout(this.displayTimer);
13963
14129
  },
13964
14130
 
13965
14131
  methods: {
13966
- show() {
13967
- this.hidden = false;
13968
- this.displayTimer = setTimeout(() => {
13969
- this.hidden = true;
13970
- }, this.duration);
14132
+ closeToast(event) {
14133
+ this.$emit('update:show', false);
14134
+ this.$emit('close', event);
13971
14135
  },
13972
14136
 
13973
- close() {
13974
- this.hidden = true;
13975
- clearTimeout(this.displayTimer);
14137
+ setTimeout() {
14138
+ if (this.shouldSetTimeout) {
14139
+ this.displayTimer = setTimeout(() => {
14140
+ this.isShown = false;
14141
+ this.$emit('update:show', false);
14142
+ }, this.duration);
14143
+ }
13976
14144
  }
13977
14145
 
13978
14146
  }
@@ -13985,7 +14153,7 @@ const TOAST_ROLES = ['status', 'alert'];
13985
14153
 
13986
14154
 
13987
14155
  ;
13988
- const toast_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(toastvue_type_script_lang_js, [['render',toastvue_type_template_id_1cc09485_render]])
14156
+ const toast_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(toastvue_type_script_lang_js, [['render',toastvue_type_template_id_b9998f6e_render]])
13989
14157
 
13990
14158
  /* harmony default export */ const toast = (toast_exports_);
13991
14159
  ;// CONCATENATED MODULE: ./components/toast/index.js
@@ -14124,15 +14292,15 @@ const toggle_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(togglevue_t
14124
14292
  /* harmony default export */ const toggle = (toggle_exports_);
14125
14293
  ;// CONCATENATED MODULE: ./components/toggle/index.js
14126
14294
 
14127
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
14295
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
14128
14296
 
14129
- const tooltipvue_type_template_id_600c8e6a_hoisted_1 = {
14297
+ const tooltipvue_type_template_id_044c8b20_hoisted_1 = {
14130
14298
  "data-qa": "dt-tooltip-container"
14131
14299
  };
14132
- function tooltipvue_type_template_id_600c8e6a_render(_ctx, _cache, $props, $setup, $data, $options) {
14300
+ function tooltipvue_type_template_id_044c8b20_render(_ctx, _cache, $props, $setup, $data, $options) {
14133
14301
  const _component_dt_lazy_show = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-lazy-show");
14134
14302
 
14135
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", tooltipvue_type_template_id_600c8e6a_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
14303
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", tooltipvue_type_template_id_044c8b20_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
14136
14304
  ref: "anchor",
14137
14305
  "data-qa": "dt-tooltip-anchor",
14138
14306
  onFocusin: _cache[0] || (_cache[0] = function () {
@@ -14169,7 +14337,7 @@ function tooltipvue_type_template_id_600c8e6a_render(_ctx, _cache, $props, $setu
14169
14337
  _: 3
14170
14338
  }, 8, ["id", "show", "transition", "class", "onAfterLeave", "onAfterEnter"])]);
14171
14339
  }
14172
- ;// CONCATENATED MODULE: ./components/tooltip/tooltip.vue?vue&type=template&id=600c8e6a
14340
+ ;// CONCATENATED MODULE: ./components/tooltip/tooltip.vue?vue&type=template&id=044c8b20
14173
14341
 
14174
14342
  ;// CONCATENATED MODULE: ./components/tooltip/tooltip_constants.js
14175
14343
  /*
@@ -14233,7 +14401,7 @@ const TOOLTIP_HIDE_ON_CLICK_VARIANTS = [true, false, 'toggle'];
14233
14401
  */
14234
14402
  offset: {
14235
14403
  type: Array,
14236
- default: () => [0, 0]
14404
+ default: () => [0, -4]
14237
14405
  },
14238
14406
 
14239
14407
  /**
@@ -14445,9 +14613,9 @@ const TOOLTIP_HIDE_ON_CLICK_VARIANTS = [true, false, 'toggle'];
14445
14613
  });
14446
14614
  ;// CONCATENATED MODULE: ./components/tooltip/tooltip.vue?vue&type=script&lang=js
14447
14615
 
14448
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.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
14449
- var tooltipvue_type_style_index_0_id_600c8e6a_lang_less = __webpack_require__(96);
14450
- ;// CONCATENATED MODULE: ./components/tooltip/tooltip.vue?vue&type=style&index=0&id=600c8e6a&lang=less
14616
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.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
14617
+ var tooltipvue_type_style_index_0_id_044c8b20_lang_less = __webpack_require__(126);
14618
+ ;// CONCATENATED MODULE: ./components/tooltip/tooltip.vue?vue&type=style&index=0&id=044c8b20&lang=less
14451
14619
 
14452
14620
  ;// CONCATENATED MODULE: ./components/tooltip/tooltip.vue
14453
14621
 
@@ -14457,7 +14625,7 @@ var tooltipvue_type_style_index_0_id_600c8e6a_lang_less = __webpack_require__(96
14457
14625
  ;
14458
14626
 
14459
14627
 
14460
- const tooltip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(tooltipvue_type_script_lang_js, [['render',tooltipvue_type_template_id_600c8e6a_render]])
14628
+ const tooltip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(tooltipvue_type_script_lang_js, [['render',tooltipvue_type_template_id_044c8b20_render]])
14461
14629
 
14462
14630
  /* harmony default export */ const tooltip = (tooltip_exports_);
14463
14631
  ;// CONCATENATED MODULE: ./components/tooltip/index.js
@@ -14758,6 +14926,270 @@ const keyboard_shortcut_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(
14758
14926
  ;// CONCATENATED MODULE: ./components/keyboard_shortcut/index.js
14759
14927
 
14760
14928
 
14929
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
14930
+
14931
+ const root_layoutvue_type_template_id_2e5fe0a4_hoisted_1 = {
14932
+ class: "root-layout"
14933
+ };
14934
+ function root_layoutvue_type_template_id_2e5fe0a4_render(_ctx, _cache, $props, $setup, $data, $options) {
14935
+ const _component_dt_root_layout_body = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-root-layout-body");
14936
+
14937
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", root_layoutvue_type_template_id_2e5fe0a4_hoisted_1, [_ctx.$slots.header ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("header", {
14938
+ key: 0,
14939
+ class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['root-layout__header', $props.headerClass, {
14940
+ 'root-layout__header--sticky': $props.headerSticky
14941
+ }]),
14942
+ style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeStyle)({
14943
+ 'height': $props.headerHeight
14944
+ }),
14945
+ "data-qa": "root-layout-header"
14946
+ }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "header")], 6)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_root_layout_body, {
14947
+ "content-class": $props.contentClass,
14948
+ "content-wrap-width-percent": $props.contentWrapWidthPercent,
14949
+ "sidebar-class": $props.sidebarClass,
14950
+ "sidebar-width": $props.sidebarWidth,
14951
+ "sidebar-position": $props.sidebarPosition
14952
+ }, {
14953
+ sidebar: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "sidebar")]),
14954
+ content: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")]),
14955
+ _: 3
14956
+ }, 8, ["content-class", "content-wrap-width-percent", "sidebar-class", "sidebar-width", "sidebar-position"]), _ctx.$slots.footer ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("footer", {
14957
+ key: 1,
14958
+ class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['root-layout__footer', $props.footerClass]),
14959
+ style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeStyle)({
14960
+ 'height': $props.footerHeight
14961
+ }),
14962
+ "data-qa": "root-layout-footer"
14963
+ }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "footer")], 6)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]);
14964
+ }
14965
+ ;// CONCATENATED MODULE: ./components/root_layout/root_layout.vue?vue&type=template&id=2e5fe0a4
14966
+
14967
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
14968
+
14969
+ function root_layout_bodyvue_type_template_id_dfb53770_render(_ctx, _cache, $props, $setup, $data, $options) {
14970
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
14971
+ class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['root-layout__body', $options.bodyClass]),
14972
+ "data-qa": "root-layout-body"
14973
+ }, [_ctx.$slots.sidebar ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("aside", {
14974
+ key: 0,
14975
+ class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['root-layout__sidebar', $props.sidebarClass]),
14976
+ style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeStyle)({
14977
+ 'flex-basis': $props.sidebarWidth
14978
+ }),
14979
+ "data-qa": "root-layout-sidebar"
14980
+ }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "sidebar")], 6)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), _ctx.$slots.content ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("main", {
14981
+ key: 1,
14982
+ class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['root-layout__content', $props.contentClass]),
14983
+ style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeStyle)({
14984
+ 'min-inline-size': $props.contentWrapWidthPercent
14985
+ }),
14986
+ "data-qa": "root-layout-content"
14987
+ }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "content")], 6)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 2);
14988
+ }
14989
+ ;// CONCATENATED MODULE: ./components/root_layout/root_layout_body.vue?vue&type=template&id=dfb53770
14990
+
14991
+ ;// CONCATENATED MODULE: ./components/root_layout/root_layout_constants.js
14992
+ const ROOT_LAYOUT_SIDEBAR_POSITIONS = {
14993
+ LEFT: 'left',
14994
+ RIGHT: 'right'
14995
+ };
14996
+ /* harmony default export */ const root_layout_constants = ({
14997
+ ROOT_LAYOUT_SIDEBAR_POSITIONS
14998
+ });
14999
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
15000
+
15001
+ /* harmony default export */ const root_layout_bodyvue_type_script_lang_js = ({
15002
+ name: 'DtRootLayoutBody',
15003
+ props: {
15004
+ /**
15005
+ * Additional class name for the content element
15006
+ */
15007
+ contentClass: {
15008
+ type: [String, Array, Object],
15009
+ default: undefined
15010
+ },
15011
+
15012
+ /**
15013
+ * Additional class name for the sidebar element
15014
+ */
15015
+ sidebarClass: {
15016
+ type: [String, Array, Object],
15017
+ default: undefined
15018
+ },
15019
+
15020
+ /**
15021
+ * The width of the sidebar
15022
+ * Possible units rem|px|%|em
15023
+ */
15024
+ sidebarWidth: {
15025
+ type: String,
15026
+ default: undefined
15027
+ },
15028
+
15029
+ /**
15030
+ * Whether the sidebar is on the left or right side
15031
+ * Possible options: 'left', 'right'
15032
+ */
15033
+ sidebarPosition: {
15034
+ type: String,
15035
+ default: undefined
15036
+ },
15037
+
15038
+ /**
15039
+ * For responsive layouts. When the main content is at the specified width percentage,
15040
+ * the sidebar will display above the content rather than beside it. Please enter a percentage string value
15041
+ *
15042
+ * ex: '50%', '30%'
15043
+ */
15044
+ contentWrapWidthPercent: {
15045
+ type: String,
15046
+ default: undefined
15047
+ }
15048
+ },
15049
+ computed: {
15050
+ bodyClass() {
15051
+ return {
15052
+ 'root-layout__body--invert': this.sidebarPosition === ROOT_LAYOUT_SIDEBAR_POSITIONS.RIGHT
15053
+ };
15054
+ }
15055
+
15056
+ }
15057
+ });
15058
+ ;// CONCATENATED MODULE: ./components/root_layout/root_layout_body.vue?vue&type=script&lang=js
15059
+
15060
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.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
15061
+ var root_layout_bodyvue_type_style_index_0_id_dfb53770_lang_less = __webpack_require__(516);
15062
+ ;// CONCATENATED MODULE: ./components/root_layout/root_layout_body.vue?vue&type=style&index=0&id=dfb53770&lang=less
15063
+
15064
+ ;// CONCATENATED MODULE: ./components/root_layout/root_layout_body.vue
15065
+
15066
+
15067
+
15068
+
15069
+ ;
15070
+
15071
+
15072
+ 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]])
15073
+
15074
+ /* harmony default export */ const root_layout_body = (root_layout_body_exports_);
15075
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/root_layout/root_layout.vue?vue&type=script&lang=js
15076
+
15077
+
15078
+ /* harmony default export */ const root_layoutvue_type_script_lang_js = ({
15079
+ name: 'DtRootLayout',
15080
+ components: {
15081
+ DtRootLayoutBody: root_layout_body
15082
+ },
15083
+ props: {
15084
+ /**
15085
+ * Additional class name for the header element
15086
+ */
15087
+ headerClass: {
15088
+ type: [String, Array, Object],
15089
+ default: ''
15090
+ },
15091
+
15092
+ /**
15093
+ * The height of the header
15094
+ * Possible units rem|px|%|em
15095
+ */
15096
+ headerHeight: {
15097
+ type: String,
15098
+ default: '64px'
15099
+ },
15100
+
15101
+ /**
15102
+ * Scroll the header with the page
15103
+ */
15104
+ headerSticky: {
15105
+ type: Boolean,
15106
+ default: false
15107
+ },
15108
+
15109
+ /**
15110
+ * Additional class name for the content element
15111
+ */
15112
+ contentClass: {
15113
+ type: [String, Array, Object],
15114
+ default: ''
15115
+ },
15116
+
15117
+ /**
15118
+ * For responsive layouts. When the main content is at the specified width percentage,
15119
+ * the sidebar will display above the content rather than beside it. Please enter a percentage string value
15120
+ *
15121
+ * ex: '50%', '30%'
15122
+ */
15123
+ contentWrapWidthPercent: {
15124
+ type: String,
15125
+ default: '50%'
15126
+ },
15127
+
15128
+ /**
15129
+ * Additional class name for the sidebar element
15130
+ */
15131
+ sidebarClass: {
15132
+ type: [String, Array, Object],
15133
+ default: ''
15134
+ },
15135
+
15136
+ /**
15137
+ * The width of the sidebar
15138
+ * Possible units rem|px|%|em
15139
+ */
15140
+ sidebarWidth: {
15141
+ type: String,
15142
+ default: '256px'
15143
+ },
15144
+
15145
+ /**
15146
+ * Whether the sidebar is on the left or right side
15147
+ * Possible options: 'left', 'right'
15148
+ */
15149
+ sidebarPosition: {
15150
+ type: String,
15151
+ default: 'left',
15152
+ validator: s => Object.values(ROOT_LAYOUT_SIDEBAR_POSITIONS).includes(s)
15153
+ },
15154
+
15155
+ /**
15156
+ * Additional class name for the footer element
15157
+ */
15158
+ footerClass: {
15159
+ type: [String, Array, Object],
15160
+ default: ''
15161
+ },
15162
+
15163
+ /**
15164
+ * The height of the footer
15165
+ * Possible units rem|px|%|em
15166
+ */
15167
+ footerHeight: {
15168
+ type: String,
15169
+ default: '64px'
15170
+ }
15171
+ }
15172
+ });
15173
+ ;// CONCATENATED MODULE: ./components/root_layout/root_layout.vue?vue&type=script&lang=js
15174
+
15175
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.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
15176
+ var root_layoutvue_type_style_index_0_id_2e5fe0a4_lang_less = __webpack_require__(35);
15177
+ ;// CONCATENATED MODULE: ./components/root_layout/root_layout.vue?vue&type=style&index=0&id=2e5fe0a4&lang=less
15178
+
15179
+ ;// CONCATENATED MODULE: ./components/root_layout/root_layout.vue
15180
+
15181
+
15182
+
15183
+
15184
+ ;
15185
+
15186
+
15187
+ const root_layout_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(root_layoutvue_type_script_lang_js, [['render',root_layoutvue_type_template_id_2e5fe0a4_render]])
15188
+
15189
+ /* harmony default export */ const root_layout = (root_layout_exports_);
15190
+ ;// CONCATENATED MODULE: ./components/root_layout/index.js
15191
+
15192
+
14761
15193
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
14762
15194
 
14763
15195
  const contact_infovue_type_template_id_7091b031_hoisted_1 = {
@@ -15042,6 +15474,7 @@ const top_banner_info_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(to
15042
15474
 
15043
15475
 
15044
15476
 
15477
+
15045
15478
 
15046
15479
 
15047
15480
  /// Recipes