@dialpad/dialtone-vue 2.55.2 → 2.56.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -258,7 +258,7 @@ __webpack_require__.r(__webpack_exports__);
258
258
 
259
259
  var ___CSS_LOADER_EXPORT___ = _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
260
260
  // Module
261
- ___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}", ""]);
261
+ ___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;overflow-y:auto}", ""]);
262
262
  // Exports
263
263
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
264
264
 
@@ -2325,14 +2325,10 @@ if (typeof window !== 'undefined') {
2325
2325
  // Indicate to webpack that this file can be concatenated
2326
2326
  /* harmony default export */ const setPublicPath = (null);
2327
2327
 
2328
- ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/avatar/avatar.vue?vue&type=template&id=4839e656&
2329
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
2330
- 'd-avatar',
2331
- _vm.AVATAR_KIND_MODIFIERS[_vm.kind],
2332
- _vm.AVATAR_SIZE_MODIFIERS[_vm.size],
2333
- _vm.avatarClass ],style:(_vm.initialKindStyle),attrs:{"id":_vm.id,"data-qa":"dt-avatar"}},[(_vm.showDefaultSlot)?_vm._t("default"):(_vm.showInitials)?_c('span',[_vm._v(" "+_vm._s(_vm.formattedInitials)+" ")]):_vm._e(),(_vm.presence)?_c('dt-presence',_vm._b({class:[
2328
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/avatar/avatar.vue?vue&type=template&id=f68dc5f0&
2329
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.avatarClasses,style:(_vm.initialKindStyle),attrs:{"id":_vm.id,"data-qa":"dt-avatar"}},[_c('div',{ref:"canvas",staticClass:"d-avatar__canvas"},[(_vm.showDefaultSlot)?_vm._t("default"):(_vm.showInitials)?_c('span',{class:_vm.AVATAR_KIND_MODIFIERS.initials},[_vm._v(" "+_vm._s(_vm.formattedInitials)+" ")]):_vm._e()],2),(_vm.showGroup)?_c('span',{staticClass:"d-avatar__count",attrs:{"data-qa":"dt-avatar-count"}},[_vm._v(_vm._s(_vm.formattedGroup))]):_vm._e(),(_vm.presence && !_vm.showGroup)?_c('dt-presence',_vm._b({class:[
2334
2330
  'd-avatar__presence',
2335
- _vm.AVATAR_PRESENCE_SIZE_MODIFIERS[_vm.size] ],attrs:{"presence":_vm.presence,"data-qa":"dt-presence"}},'dt-presence',_vm.presenceProps,false)):_vm._e()],2)}
2331
+ _vm.AVATAR_PRESENCE_SIZE_MODIFIERS[_vm.size] ],attrs:{"presence":_vm.presence,"data-qa":"dt-presence"}},'dt-presence',_vm.presenceProps,false)):_vm._e()],1)}
2336
2332
  var staticRenderFns = []
2337
2333
 
2338
2334
 
@@ -2761,11 +2757,6 @@ var component = normalizeComponent(
2761
2757
  var node_modules_seedrandom = __webpack_require__(377);
2762
2758
  var seedrandom_default = /*#__PURE__*/__webpack_require__.n(node_modules_seedrandom);
2763
2759
  ;// CONCATENATED MODULE: ./components/avatar/avatar_constants.js
2764
- const AVATAR_KIND_MODIFIERS = {
2765
- default: '',
2766
- icon: 'd-avatar--icon',
2767
- initials: 'd-avatar--initials'
2768
- };
2769
2760
  const AVATAR_SIZE_MODIFIERS = {
2770
2761
  xs: 'd-avatar--xs',
2771
2762
  sm: 'd-avatar--sm',
@@ -2773,6 +2764,11 @@ const AVATAR_SIZE_MODIFIERS = {
2773
2764
  lg: 'd-avatar--lg',
2774
2765
  xl: 'd-avatar--xl'
2775
2766
  };
2767
+ const AVATAR_KIND_MODIFIERS = {
2768
+ default: '',
2769
+ icon: 'd-avatar__icon',
2770
+ initials: 'd-avatar__initials'
2771
+ };
2776
2772
  const AVATAR_PRESENCE_SIZE_MODIFIERS = {
2777
2773
  md: 'd-avatar__presence--md',
2778
2774
  lg: 'd-avatar__presence--lg'
@@ -2791,11 +2787,13 @@ const GRADIENT_COLORS = {
2791
2787
  };
2792
2788
  const MAX_GRADIENT_COLORS = 3;
2793
2789
  const MAX_GRADIENT_COLORS_100 = 2;
2790
+ const AVATAR_GROUP_VALIDATOR = group => group > 1;
2794
2791
  /* harmony default export */ const avatar_constants = ({
2795
2792
  AVATAR_KIND_MODIFIERS,
2796
2793
  AVATAR_SIZE_MODIFIERS,
2797
2794
  AVATAR_ICON_SIZES,
2798
- AVATAR_ANGLES
2795
+ AVATAR_ANGLES,
2796
+ AVATAR_GROUP_VALIDATOR
2799
2797
  });
2800
2798
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/avatar/avatar.vue?vue&type=script&lang=js&
2801
2799
  //
@@ -2828,6 +2826,14 @@ const MAX_GRADIENT_COLORS_100 = 2;
2828
2826
  //
2829
2827
  //
2830
2828
  //
2829
+ //
2830
+ //
2831
+ //
2832
+ //
2833
+ //
2834
+ //
2835
+ //
2836
+ //
2831
2837
 
2832
2838
 
2833
2839
 
@@ -2908,6 +2914,25 @@ const MAX_GRADIENT_COLORS_100 = 2;
2908
2914
  initials: {
2909
2915
  type: String,
2910
2916
  default: ''
2917
+ },
2918
+
2919
+ /**
2920
+ * Determines whether to show a gradient background for the avatar.
2921
+ */
2922
+ gradient: {
2923
+ type: Boolean,
2924
+ default: true
2925
+ },
2926
+
2927
+ /**
2928
+ * Determines whether to show a group avatar.
2929
+ * Limit to 2 digits max, more than 99 will be rendered as “99+”.
2930
+ * if the number is 1 or less it would just show the regular avatar as if group had not been set.
2931
+ */
2932
+ group: {
2933
+ type: Number,
2934
+ default: undefined,
2935
+ validator: group => AVATAR_GROUP_VALIDATOR(group)
2911
2936
  }
2912
2937
  },
2913
2938
 
@@ -2925,6 +2950,13 @@ const MAX_GRADIENT_COLORS_100 = 2;
2925
2950
  },
2926
2951
 
2927
2952
  computed: {
2953
+ avatarClasses() {
2954
+ return ['d-avatar', AVATAR_SIZE_MODIFIERS[this.size], this.avatarClass, {
2955
+ 'd-avatar--no-gradient': !this.gradient,
2956
+ 'd-avatar--group': this.showGroup
2957
+ }];
2958
+ },
2959
+
2928
2960
  showDefaultSlot() {
2929
2961
  return this.kind !== 'initials' && this.imageLoadedSuccessfully !== false;
2930
2962
  },
@@ -2933,6 +2965,10 @@ const MAX_GRADIENT_COLORS_100 = 2;
2933
2965
  return this.kind === 'initials' || this.initials;
2934
2966
  },
2935
2967
 
2968
+ showGroup() {
2969
+ return AVATAR_GROUP_VALIDATOR(this.group);
2970
+ },
2971
+
2936
2972
  initialKindStyle() {
2937
2973
  const randomGradientColorStops = this.randomizeGradientColorStops();
2938
2974
  return {
@@ -2941,6 +2977,10 @@ const MAX_GRADIENT_COLORS_100 = 2;
2941
2977
  '--avatar-gradient-stop-2': `var(--${randomGradientColorStops[1]})`,
2942
2978
  '--avatar-gradient-stop-3': `var(--${randomGradientColorStops[2]})`
2943
2979
  };
2980
+ },
2981
+
2982
+ formattedGroup() {
2983
+ return this.group > 99 ? '99+' : this.group;
2944
2984
  }
2945
2985
 
2946
2986
  },
@@ -2958,31 +2998,46 @@ const MAX_GRADIENT_COLORS_100 = 2;
2958
2998
 
2959
2999
  methods: {
2960
3000
  init() {
2961
- const firstChild = this.$el.firstChild;
3001
+ const firstChild = this.$refs.canvas.firstChild;
3002
+
3003
+ if (!firstChild) {
3004
+ return;
3005
+ }
2962
3006
 
2963
- if (firstChild) {
2964
- this.setKind(firstChild);
3007
+ this.setKind(firstChild);
3008
+ this.kindHandler(firstChild);
3009
+ },
2965
3010
 
2966
- if (this.kind === 'image') {
2967
- firstChild.classList.add('d-avatar__image');
3011
+ kindHandler(el) {
3012
+ switch (this.kind) {
3013
+ case 'image':
3014
+ el.classList.add('d-avatar__image');
2968
3015
  this.validateImageAttrsPresence();
2969
- firstChild.addEventListener('error', () => {
2970
- this.formatInitials(this.initials);
2971
- this.imageLoadedSuccessfully = false;
2972
- });
2973
- firstChild.addEventListener('load', () => {
2974
- firstChild.classList.add('d-avatar--image-loaded');
2975
- this.imageLoadedSuccessfully = true;
2976
- });
2977
- }
3016
+ this.setImageListeners(el);
3017
+ break;
3018
+
3019
+ case 'icon':
3020
+ el.classList.add(AVATAR_KIND_MODIFIERS.icon);
3021
+ break;
2978
3022
 
2979
- if (this.kind === 'initials') {
2980
- this.slottedInitials = firstChild.text || firstChild.textContent;
3023
+ case 'initials':
3024
+ this.slottedInitials = el.text || el.textContent;
2981
3025
  this.formatInitials(this.slottedInitials);
2982
- }
3026
+ break;
2983
3027
  }
2984
3028
  },
2985
3029
 
3030
+ setImageListeners(el) {
3031
+ el.addEventListener('error', () => {
3032
+ this.formatInitials(this.initials);
3033
+ this.imageLoadedSuccessfully = false;
3034
+ });
3035
+ el.addEventListener('load', () => {
3036
+ el.classList.add('d-avatar--image-loaded');
3037
+ this.imageLoadedSuccessfully = true;
3038
+ });
3039
+ },
3040
+
2986
3041
  formatInitials(initials) {
2987
3042
  if (!initials) return;
2988
3043
 
@@ -3049,8 +3104,8 @@ const MAX_GRADIENT_COLORS_100 = 2;
3049
3104
  },
3050
3105
 
3051
3106
  validateImageAttrsPresence() {
3052
- const isSrcMissing = !this.$el.firstChild.getAttribute('src');
3053
- const isAltMissing = !this.$el.firstChild.getAttribute('alt');
3107
+ const isSrcMissing = !this.$refs.canvas.firstChild.getAttribute('src');
3108
+ const isAltMissing = !this.$refs.canvas.firstChild.getAttribute('alt');
3054
3109
 
3055
3110
  if (isSrcMissing || isAltMissing) {
3056
3111
  external_commonjs_vue_commonjs2_vue_root_Vue_default().util.warn('src and alt attributes are required for image avatars', this);
@@ -3377,9 +3432,9 @@ var badge_component = normalizeComponent(
3377
3432
  ;// CONCATENATED MODULE: ./components/badge/index.js
3378
3433
 
3379
3434
 
3380
- ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/banner/banner.vue?vue&type=template&id=756779c1&
3381
- var bannervue_type_template_id_756779c1_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('aside',{class:_vm.bannerClass,style:(_vm.bannerBackgroundImage),attrs:{"role":_vm.role},on:{"keydown":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"tab",9,$event.key,"Tab")){ return null; }return _vm.trapFocus.apply(null, arguments)}}},[_c('div',{staticClass:"d-banner__dialog",class:_vm.dialogClass,attrs:{"aria-labelledby":_vm.titleId,"aria-describedby":_vm.contentId}},[(!_vm.hideIcon)?_c('dt-notice-icon',_vm._g({attrs:{"kind":_vm.kind}},_vm.$listeners),[_vm._t("icon")],2):_vm._e(),_c('dt-notice-content',_vm._g({attrs:{"title-id":_vm.titleId,"content-id":_vm.contentId,"title":_vm.title},scopedSlots:_vm._u([{key:"titleOverride",fn:function(){return [_vm._t("titleOverride")]},proxy:true}],null,true)},_vm.$listeners),[_vm._t("default")],2),_c('dt-notice-action',_vm._g({attrs:{"hide-close":_vm.hideClose,"close-button-props":_vm.closeButtonProps,"visually-hidden-close":_vm.visuallyHiddenClose,"visually-hidden-close-label":_vm.visuallyHiddenCloseLabel}},_vm.$listeners),[_vm._t("action")],2)],1)])}
3382
- var bannervue_type_template_id_756779c1_staticRenderFns = []
3435
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/banner/banner.vue?vue&type=template&id=d982e6ae&
3436
+ var bannervue_type_template_id_d982e6ae_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('aside',{class:_vm.bannerClass,style:(_vm.bannerBackgroundImage),attrs:{"role":_vm.role},on:{"keydown":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"tab",9,$event.key,"Tab")){ return null; }return _vm.trapFocus.apply(null, arguments)}}},[_c('div',{staticClass:"d-banner__dialog",class:_vm.dialogClass,attrs:{"aria-labelledby":_vm.titleId,"aria-describedby":_vm.contentId}},[(!_vm.hideIcon)?_c('dt-notice-icon',_vm._g({attrs:{"kind":_vm.kind}},_vm.$listeners),[_vm._t("icon")],2):_vm._e(),_c('dt-notice-content',_vm._g({attrs:{"title-id":_vm.titleId,"content-id":_vm.contentId,"title":_vm.title},scopedSlots:_vm._u([{key:"titleOverride",fn:function(){return [_vm._t("titleOverride")]},proxy:true}],null,true)},_vm.$listeners),[_vm._t("default")],2),_c('dt-notice-action',_vm._g({attrs:{"hide-close":_vm.hideClose,"close-button-props":_vm.closeButtonProps,"visually-hidden-close":_vm.visuallyHiddenClose,"visually-hidden-close-label":_vm.visuallyHiddenCloseLabel}},_vm.$listeners),[_vm._t("action")],2)],1)])}
3437
+ var bannervue_type_template_id_d982e6ae_staticRenderFns = []
3383
3438
 
3384
3439
 
3385
3440
  ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/notice/notice_icon.vue?vue&type=template&id=dbeeebfa&
@@ -4405,6 +4460,7 @@ const focusableElementsList = `button,[href],input,select,textarea,details,[tabi
4405
4460
  //
4406
4461
  //
4407
4462
  //
4463
+ //
4408
4464
 
4409
4465
 
4410
4466
 
@@ -4608,8 +4664,8 @@ const focusableElementsList = `button,[href],input,select,textarea,details,[tabi
4608
4664
  ;
4609
4665
  var banner_component = normalizeComponent(
4610
4666
  banner_bannervue_type_script_lang_js_,
4611
- bannervue_type_template_id_756779c1_render,
4612
- bannervue_type_template_id_756779c1_staticRenderFns,
4667
+ bannervue_type_template_id_d982e6ae_render,
4668
+ bannervue_type_template_id_d982e6ae_staticRenderFns,
4613
4669
  false,
4614
4670
  null,
4615
4671
  null,
@@ -5161,9 +5217,9 @@ var card_component = normalizeComponent(
5161
5217
  /* harmony default export */ const card = (card_component.exports);
5162
5218
  ;// CONCATENATED MODULE: ./components/card/index.js
5163
5219
 
5164
- ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/combobox/combobox.vue?vue&type=template&id=3595da7e&
5165
- var comboboxvue_type_template_id_3595da7e_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{on:{"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"esc",27,$event.key,["Esc","Escape"])){ return null; }$event.stopPropagation();return _vm.onKeyValidation($event, 'onEscapeKey')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }if($event.ctrlKey||$event.shiftKey||$event.altKey||$event.metaKey){ return null; }return _vm.onKeyValidation($event, 'onEnterKey')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"up",38,$event.key,["Up","ArrowUp"])){ return null; }$event.stopPropagation();$event.preventDefault();return _vm.onKeyValidation($event, 'onUpKey')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"down",40,$event.key,["Down","ArrowDown"])){ return null; }$event.stopPropagation();$event.preventDefault();return _vm.onKeyValidation($event, 'onDownKey')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"home",undefined,$event.key,undefined)){ return null; }$event.stopPropagation();$event.preventDefault();return _vm.onKeyValidation($event, 'onHomeKey')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"end",undefined,$event.key,undefined)){ return null; }$event.stopPropagation();$event.preventDefault();return _vm.onKeyValidation($event, 'onEndKey')}]}},[_c('div',{attrs:{"data-qa":"dt-combobox-input-wrapper"}},[_vm._t("input",null,{"inputProps":_vm.inputProps})],2),(_vm.showList)?_c('div',{ref:"listWrapper",attrs:{"data-qa":"dt-combobox-list-wrapper"},on:{"mouseleave":_vm.clearHighlightIndex,"focusout":_vm.clearHighlightIndex,"!mousemove":function($event){return _vm.onMouseHighlight.apply(null, arguments)}}},[(_vm.loading && !_vm.listRenderedOutside)?_c('combobox-loading-list',_vm._b({},'combobox-loading-list',_vm.listProps,false)):(_vm.emptyList && (_vm.emptyStateMessage || _vm.$slots.emptyListItem) && !_vm.listRenderedOutside)?_c('combobox-empty-list',_vm._b({attrs:{"message":_vm.emptyStateMessage,"item-class":_vm.emptyStateClass}},'combobox-empty-list',_vm.listProps,false),[_vm._t("emptyListItem")],2):_vm._t("list",null,{"listProps":_vm.listProps,"opened":_vm.onOpen,"clearHighlightIndex":_vm.clearHighlightIndex})],2):_vm._e()])}
5166
- var comboboxvue_type_template_id_3595da7e_staticRenderFns = []
5220
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/combobox/combobox.vue?vue&type=template&id=5e29b120&
5221
+ var comboboxvue_type_template_id_5e29b120_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{on:{"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"esc",27,$event.key,["Esc","Escape"])){ return null; }$event.stopPropagation();return _vm.onKeyValidation($event, 'onEscapeKey')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }if($event.ctrlKey||$event.shiftKey||$event.altKey||$event.metaKey){ return null; }return _vm.onKeyValidation($event, 'onEnterKey')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"up",38,$event.key,["Up","ArrowUp"])){ return null; }$event.stopPropagation();$event.preventDefault();return _vm.onKeyValidation($event, 'onUpKey')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"down",40,$event.key,["Down","ArrowDown"])){ return null; }$event.stopPropagation();$event.preventDefault();return _vm.onKeyValidation($event, 'onDownKey')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"home",undefined,$event.key,undefined)){ return null; }$event.stopPropagation();$event.preventDefault();return _vm.onKeyValidation($event, 'onHomeKey')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"end",undefined,$event.key,undefined)){ return null; }$event.stopPropagation();$event.preventDefault();return _vm.onKeyValidation($event, 'onEndKey')}]}},[_c('div',{attrs:{"data-qa":"dt-combobox-input-wrapper"}},[_vm._t("input",null,{"inputProps":_vm.inputProps})],2),(_vm.showList)?_c('div',{ref:"listWrapper",attrs:{"data-qa":"dt-combobox-list-wrapper"},on:{"mouseleave":_vm.clearHighlightIndex,"focusout":_vm.clearHighlightIndex,"!mousemove":function($event){return _vm.onMouseHighlight.apply(null, arguments)}}},[(_vm.loading && !_vm.listRenderedOutside)?_c('combobox-loading-list',_vm._b({},'combobox-loading-list',_vm.listProps,false)):(_vm.emptyList && (_vm.emptyStateMessage || _vm.$slots.emptyListItem) && !_vm.listRenderedOutside)?_c('combobox-empty-list',_vm._b({attrs:{"message":_vm.emptyStateMessage,"item-class":_vm.emptyStateClass}},'combobox-empty-list',_vm.listProps,false),[_vm._t("emptyListItem")],2):_vm._t("list",null,{"listProps":_vm.listProps,"opened":_vm.onOpen,"clearHighlightIndex":_vm.clearHighlightIndex})],2):_vm._e()])}
5222
+ var comboboxvue_type_template_id_5e29b120_staticRenderFns = []
5167
5223
 
5168
5224
 
5169
5225
  ;// CONCATENATED MODULE: ./common/mixins/dom.js
@@ -7002,6 +7058,8 @@ const LABEL_SIZES = {
7002
7058
  //
7003
7059
  //
7004
7060
  //
7061
+ //
7062
+ //
7005
7063
 
7006
7064
 
7007
7065
 
@@ -7376,8 +7434,8 @@ const LABEL_SIZES = {
7376
7434
  ;
7377
7435
  var combobox_component = normalizeComponent(
7378
7436
  combobox_comboboxvue_type_script_lang_js_,
7379
- comboboxvue_type_template_id_3595da7e_render,
7380
- comboboxvue_type_template_id_3595da7e_staticRenderFns,
7437
+ comboboxvue_type_template_id_5e29b120_render,
7438
+ comboboxvue_type_template_id_5e29b120_staticRenderFns,
7381
7439
  false,
7382
7440
  null,
7383
7441
  null,
@@ -7981,17 +8039,17 @@ var collapsible_component = normalizeComponent(
7981
8039
  /* harmony default export */ const collapsible = (collapsible_component.exports);
7982
8040
  ;// CONCATENATED MODULE: ./components/collapsible/index.js
7983
8041
 
7984
- ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/dropdown/dropdown.vue?vue&type=template&id=5944f754&
7985
- var dropdownvue_type_template_id_5944f754_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-popover',_vm._g({ref:"popover",attrs:{"content-width":_vm.contentWidth,"open":_vm.open,"placement":_vm.placement,"initial-focus-element":_vm.openedWithKeyboard ? 'first' : 'dialog',"fallback-placements":_vm.fallbackPlacements,"padding":"none","role":"menu","modal":_vm.modal,"max-height":_vm.maxHeight,"max-width":_vm.maxWidth,"open-with-arrow-keys":_vm.shouldOpenWithArrowKeys,"open-on-context":_vm.openOnContext},scopedSlots:_vm._u([{key:"anchor",fn:function(ref){
8042
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/dropdown/dropdown.vue?vue&type=template&id=3c1dacf6&
8043
+ var dropdownvue_type_template_id_3c1dacf6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-popover',_vm._g({ref:"popover",attrs:{"content-width":_vm.contentWidth,"open":_vm.open,"placement":_vm.placement,"initial-focus-element":_vm.openedWithKeyboard ? 'first' : 'dialog',"fallback-placements":_vm.fallbackPlacements,"padding":"none","role":"menu","modal":_vm.modal,"max-height":_vm.maxHeight,"max-width":_vm.maxWidth,"open-with-arrow-keys":_vm.shouldOpenWithArrowKeys,"open-on-context":_vm.openOnContext},scopedSlots:_vm._u([{key:"anchor",fn:function(ref){
7986
8044
  var attrs = ref.attrs;
7987
8045
  return [_vm._t("anchor",null,null,attrs)]}},{key:"content",fn:function(ref){
7988
8046
  var close = ref.close;
7989
8047
  return [_c('ul',{ref:"listWrapper",class:_vm.listClasses,attrs:{"id":_vm.listId,"data-qa":"dt-dropdown-list-wrapper"},on:{"mouseleave":_vm.clearHighlightIndex,"!mousemove":function($event){return _vm.onMouseHighlight.apply(null, arguments)}}},[_vm._t("list",null,{"close":close}),(_vm.showVisuallyHiddenClose)?_c('sr-only-close-button',{attrs:{"visually-hidden-close-label":_vm.visuallyHiddenCloseLabel,"tabindex":_vm.isArrowKeyNav ? -1 : 0},on:{"close":close}}):_vm._e()],2)]}}],null,true)},_vm.dropdownListeners))}
7990
- var dropdownvue_type_template_id_5944f754_staticRenderFns = []
8048
+ var dropdownvue_type_template_id_3c1dacf6_staticRenderFns = []
7991
8049
 
7992
8050
 
7993
- ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/popover/popover.vue?vue&type=template&id=fec53cb4&
7994
- var popovervue_type_template_id_fec53cb4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.modal && _vm.isOpen)?_c('portal',[_c('div',{staticClass:"d-modal--transparent",attrs:{"aria-hidden":_vm.modal && _vm.isOpen ? 'false' : 'true'},on:{"click":function($event){$event.preventDefault();$event.stopPropagation();}}})]):_vm._e(),_c(_vm.elementType,_vm._g({ref:"popover",tag:"component",class:['d-popover', { 'd-popover__anchor--opened': _vm.isOpen }],attrs:{"data-qa":"dt-popover-container"}},_vm.$listeners),[_c('div',{ref:"anchor",attrs:{"id":!_vm.ariaLabelledby && _vm.labelledBy,"data-qa":"dt-popover-anchor","tabindex":_vm.openOnContext ? 0 : undefined},on:{"!click":function($event){return _vm.defaultToggleOpen.apply(null, arguments)},"contextmenu":_vm.onContext,"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"up",38,$event.key,["Up","ArrowUp"])){ return null; }$event.preventDefault();return _vm.onArrowKeyPress.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"down",40,$event.key,["Down","ArrowDown"])){ return null; }$event.preventDefault();return _vm.onArrowKeyPress.apply(null, arguments)}],"!keydown":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"escape",undefined,$event.key,undefined)){ return null; }return _vm.closePopover.apply(null, arguments)}}},[_vm._t("anchor",null,{"attrs":{
8051
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/popover/popover.vue?vue&type=template&id=1fe3451a&
8052
+ var popovervue_type_template_id_1fe3451a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.modal && _vm.isOpen)?_c('portal',[_c('div',{staticClass:"d-modal--transparent",attrs:{"aria-hidden":_vm.modal && _vm.isOpen ? 'false' : 'true'},on:{"click":function($event){$event.preventDefault();$event.stopPropagation();}}})]):_vm._e(),_c(_vm.elementType,_vm._g({ref:"popover",tag:"component",class:['d-popover', { 'd-popover__anchor--opened': _vm.isOpen }],attrs:{"data-qa":"dt-popover-container"}},_vm.$listeners),[_c('div',{ref:"anchor",attrs:{"id":!_vm.ariaLabelledby && _vm.labelledBy,"data-qa":"dt-popover-anchor","tabindex":_vm.openOnContext ? 0 : undefined},on:{"!click":function($event){return _vm.defaultToggleOpen.apply(null, arguments)},"contextmenu":_vm.onContext,"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"up",38,$event.key,["Up","ArrowUp"])){ return null; }$event.preventDefault();return _vm.onArrowKeyPress.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"down",40,$event.key,["Down","ArrowDown"])){ return null; }$event.preventDefault();return _vm.onArrowKeyPress.apply(null, arguments)}],"!keydown":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"escape",undefined,$event.key,undefined)){ return null; }return _vm.closePopover.apply(null, arguments)}}},[_vm._t("anchor",null,{"attrs":{
7995
8053
  'aria-expanded': _vm.isOpen.toString(),
7996
8054
  'aria-controls': _vm.id,
7997
8055
  'aria-haspopup': _vm.role,
@@ -8002,7 +8060,7 @@ var popovervue_type_template_id_fec53cb4_render = function () {var _vm=this;var
8002
8060
  'd-popover__content',
8003
8061
  _vm.POPOVER_PADDING_CLASSES[_vm.padding],
8004
8062
  _vm.contentClass ],attrs:{"data-qa":"dt-popover-content"}},[_vm._t("content",null,{"close":_vm.closePopover})],2),(_vm.$slots.footerContent)?_c('popover-header-footer',{ref:"popover__footer",class:_vm.POPOVER_HEADER_FOOTER_PADDING_CLASSES[_vm.padding],attrs:{"type":"footer","content-class":_vm.footerClass},scopedSlots:_vm._u([{key:"content",fn:function(){return [_vm._t("footerContent",null,{"close":_vm.closePopover})]},proxy:true}],null,true)}):_vm._e(),(_vm.showVisuallyHiddenClose)?_c('sr-only-close-button',{attrs:{"visually-hidden-close-label":_vm.visuallyHiddenCloseLabel},on:{"close":_vm.closePopover}}):_vm._e()],1)],1)],1)}
8005
- var popovervue_type_template_id_fec53cb4_staticRenderFns = []
8063
+ var popovervue_type_template_id_1fe3451a_staticRenderFns = []
8006
8064
 
8007
8065
 
8008
8066
  ;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js
@@ -12950,6 +13008,7 @@ var popover_header_footer_component = normalizeComponent(
12950
13008
  //
12951
13009
  //
12952
13010
  //
13011
+ //
12953
13012
 
12954
13013
  /* eslint-disable max-lines */
12955
13014
 
@@ -13413,11 +13472,9 @@ var popover_header_footer_component = normalizeComponent(
13413
13472
  isOpen(isOpen, isPrev) {
13414
13473
  if (isOpen) {
13415
13474
  this.initTippyInstance();
13416
- this.preventScrolling();
13417
13475
  } else if (!isOpen && isPrev !== isOpen) {
13418
13476
  this.removeEventListeners();
13419
13477
  this.tip.hide();
13420
- this.enableScrolling();
13421
13478
  }
13422
13479
  }
13423
13480
 
@@ -13600,6 +13657,7 @@ var popover_header_footer_component = normalizeComponent(
13600
13657
  }
13601
13658
 
13602
13659
  (_this$tip8 = this.tip) === null || _this$tip8 === void 0 ? void 0 : _this$tip8.unmount();
13660
+ this.enableScrolling();
13603
13661
  this.$emit('opened', false);
13604
13662
 
13605
13663
  if (this.open !== null) {
@@ -13608,7 +13666,8 @@ var popover_header_footer_component = normalizeComponent(
13608
13666
  },
13609
13667
 
13610
13668
  async onEnterTransitionComplete() {
13611
- this.focusInitialElement(); // await next tick in case the user wants to change focus themselves.
13669
+ this.focusInitialElement();
13670
+ this.preventScrolling(); // await next tick in case the user wants to change focus themselves.
13612
13671
 
13613
13672
  await this.$nextTick();
13614
13673
  this.$emit('opened', true, this.$refs.popover__content);
@@ -13738,8 +13797,8 @@ var popovervue_type_style_index_0_lang_less_ = __webpack_require__(230);
13738
13797
 
13739
13798
  var popover_component = normalizeComponent(
13740
13799
  popover_popovervue_type_script_lang_js_,
13741
- popovervue_type_template_id_fec53cb4_render,
13742
- popovervue_type_template_id_fec53cb4_staticRenderFns,
13800
+ popovervue_type_template_id_1fe3451a_render,
13801
+ popovervue_type_template_id_1fe3451a_staticRenderFns,
13743
13802
  false,
13744
13803
  null,
13745
13804
  null,
@@ -13809,6 +13868,7 @@ const DROPDOWN_PADDING_CLASSES = {
13809
13868
  //
13810
13869
  //
13811
13870
  //
13871
+ //
13812
13872
 
13813
13873
 
13814
13874
 
@@ -14203,8 +14263,8 @@ var dropdownvue_type_style_index_0_lang_less_ = __webpack_require__(782);
14203
14263
 
14204
14264
  var dropdown_component = normalizeComponent(
14205
14265
  dropdown_dropdownvue_type_script_lang_js_,
14206
- dropdownvue_type_template_id_5944f754_render,
14207
- dropdownvue_type_template_id_5944f754_staticRenderFns,
14266
+ dropdownvue_type_template_id_3c1dacf6_render,
14267
+ dropdownvue_type_template_id_3c1dacf6_staticRenderFns,
14208
14268
  false,
14209
14269
  null,
14210
14270
  null,
@@ -20175,14 +20235,14 @@ var keyboard_shortcut_component = normalizeComponent(
20175
20235
  ;// CONCATENATED MODULE: ./components/keyboard_shortcut/index.js
20176
20236
 
20177
20237
 
20178
- ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/root_layout/root_layout.vue?vue&type=template&id=0bf64ed3&
20179
- var root_layoutvue_type_template_id_0bf64ed3_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"root-layout d-root-layout"},[(_vm.$slots.header)?_c('header',{class:['root-layout__header', _vm.headerClass, { 'root-layout__header--sticky': _vm.headerSticky }],style:({ 'height': _vm.headerHeight }),attrs:{"data-qa":"root-layout-header"}},[_vm._t("header")],2):_vm._e(),_c('dt-root-layout-body',{attrs:{"body-class":_vm.bodyClass,"content-class":_vm.contentClass,"content-wrap-width-percent":_vm.contentWrapWidthPercent,"sidebar-class":_vm.sidebarClass,"sidebar-width":_vm.sidebarWidth,"sidebar-position":_vm.sidebarPosition},scopedSlots:_vm._u([(_vm.$slots.sidebar)?{key:"sidebar",fn:function(){return [_vm._t("sidebar")]},proxy:true}:null,(_vm.$slots.default)?{key:"content",fn:function(){return [_vm._t("default")]},proxy:true}:null],null,true)}),(_vm.$slots.footer)?_c('footer',{class:['root-layout__footer', _vm.footerClass],style:({ 'height': _vm.footerHeight }),attrs:{"data-qa":"root-layout-footer"}},[_vm._t("footer")],2):_vm._e()],1)}
20180
- var root_layoutvue_type_template_id_0bf64ed3_staticRenderFns = []
20238
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/root_layout/root_layout.vue?vue&type=template&id=29e484da&
20239
+ var root_layoutvue_type_template_id_29e484da_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"root-layout d-root-layout"},[(_vm.$slots.header)?_c('header',{class:['root-layout__header', _vm.headerClass, { 'root-layout__header--sticky': _vm.headerSticky }],style:({ 'height': _vm.headerHeight, 'min-height': _vm.headerHeight }),attrs:{"data-qa":"root-layout-header"}},[_vm._t("header")],2):_vm._e(),_c('dt-root-layout-body',{attrs:{"body-class":_vm.bodyClass,"content-class":_vm.contentClass,"content-wrap-width-percent":_vm.contentWrapWidthPercent,"sidebar-class":_vm.sidebarClass,"sidebar-width":_vm.sidebarWidth,"sidebar-position":_vm.sidebarPosition,"header-height":_vm.$slots.header ? _vm.headerHeight : '0px',"footer-height":_vm.$slots.footer ? _vm.footerHeight : '0px',"fixed":_vm.fixed},scopedSlots:_vm._u([(_vm.$slots.sidebar)?{key:"sidebar",fn:function(){return [_vm._t("sidebar")]},proxy:true}:null,(_vm.$slots.default)?{key:"content",fn:function(){return [_vm._t("default")]},proxy:true}:null],null,true)}),(_vm.$slots.footer)?_c('footer',{class:['root-layout__footer', _vm.footerClass],style:({ 'height': _vm.footerHeight, 'min-height': _vm.footerHeight }),attrs:{"data-qa":"root-layout-footer"}},[_vm._t("footer")],2):_vm._e()],1)}
20240
+ var root_layoutvue_type_template_id_29e484da_staticRenderFns = []
20181
20241
 
20182
20242
 
20183
- ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/root_layout/root_layout_body.vue?vue&type=template&id=a07ea7ec&
20184
- var root_layout_bodyvue_type_template_id_a07ea7ec_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['root-layout__body', 'd-fl-grow1', _vm.bodyClasses],attrs:{"data-qa":"root-layout-body"}},[(_vm.$slots.sidebar)?_c('aside',{class:['root-layout__sidebar', _vm.sidebarClass],style:({ 'flex-basis': _vm.sidebarWidth }),attrs:{"data-qa":"root-layout-sidebar"}},[_vm._t("sidebar")],2):_vm._e(),(_vm.$slots.content)?_c('main',{class:['root-layout__content', _vm.contentClass],style:({ 'min-inline-size': _vm.contentWrapWidthPercent }),attrs:{"data-qa":"root-layout-content"}},[_vm._t("content")],2):_vm._e()])}
20185
- var root_layout_bodyvue_type_template_id_a07ea7ec_staticRenderFns = []
20243
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/root_layout/root_layout_body.vue?vue&type=template&id=d8938174&
20244
+ var root_layout_bodyvue_type_template_id_d8938174_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"root-layout-body",class:['root-layout__body', 'd-fl-grow1', _vm.bodyClasses],attrs:{"data-qa":"root-layout-body"}},[(_vm.$slots.sidebar)?_c('aside',{ref:"root-layout-sidebar",class:['root-layout__sidebar', _vm.sidebarClass],style:({ 'flex-basis': _vm.sidebarWidth }),attrs:{"data-qa":"root-layout-sidebar"}},[_vm._t("sidebar")],2):_vm._e(),(_vm.$slots.content)?_c('main',{ref:"root-layout-content",class:['root-layout__content', _vm.contentClass],style:({ 'min-inline-size': _vm.contentWrapWidthPercent, 'height': _vm.mainHeight }),attrs:{"data-qa":"root-layout-content"}},[_vm._t("content")],2):_vm._e()])}
20245
+ var root_layout_bodyvue_type_template_id_d8938174_staticRenderFns = []
20186
20246
 
20187
20247
 
20188
20248
  ;// CONCATENATED MODULE: ./components/root_layout/root_layout_constants.js
@@ -20220,6 +20280,9 @@ const ROOT_LAYOUT_SIDEBAR_POSITIONS = {
20220
20280
  //
20221
20281
  //
20222
20282
  //
20283
+ //
20284
+ //
20285
+ //
20223
20286
 
20224
20287
  /* harmony default export */ const root_layout_bodyvue_type_script_lang_js_ = ({
20225
20288
  name: 'DtRootLayoutBody',
@@ -20275,13 +20338,80 @@ const ROOT_LAYOUT_SIDEBAR_POSITIONS = {
20275
20338
  contentWrapWidthPercent: {
20276
20339
  type: String,
20277
20340
  default: undefined
20341
+ },
20342
+ headerHeight: {
20343
+ type: String,
20344
+ default: undefined
20345
+ },
20346
+ footerHeight: {
20347
+ type: String,
20348
+ default: undefined
20349
+ },
20350
+ fixed: {
20351
+ type: Boolean,
20352
+ default: undefined
20278
20353
  }
20279
20354
  },
20355
+
20356
+ data() {
20357
+ return {
20358
+ sidebarTop: null,
20359
+ contentTop: null,
20360
+ documentHeight: null
20361
+ };
20362
+ },
20363
+
20280
20364
  computed: {
20281
20365
  bodyClasses() {
20282
20366
  return [this.bodyClass, {
20283
20367
  'root-layout__body--invert': this.sidebarPosition === ROOT_LAYOUT_SIDEBAR_POSITIONS.RIGHT
20284
20368
  }];
20369
+ },
20370
+
20371
+ mainHeight() {
20372
+ if (this.fixed) {
20373
+ return `calc(${this.documentHeight}
20374
+ - (${this.headerHeight} + ${this.extraSidebarHeight} + ${this.footerHeight}))`;
20375
+ }
20376
+
20377
+ return null;
20378
+ },
20379
+
20380
+ // When the sidebar is above the header due to contentWrapWidthPercent, it needs to be excluded
20381
+ // in the main content height calculation. Otherwise it is 0 since it is at equal height with the main content.
20382
+ extraSidebarHeight() {
20383
+ if (this.contentTop > this.sidebarTop) {
20384
+ return this.$refs['root-layout-sidebar'].offsetHeight + 'px';
20385
+ }
20386
+
20387
+ return '0px';
20388
+ }
20389
+
20390
+ },
20391
+
20392
+ mounted() {
20393
+ window.addEventListener('resize', this.onResize);
20394
+ this.getDocumentHeight();
20395
+ this.getElementTops();
20396
+ },
20397
+
20398
+ beforeDestroy() {
20399
+ window.removeEventListener('resize', this.onResize);
20400
+ },
20401
+
20402
+ methods: {
20403
+ onResize() {
20404
+ this.getDocumentHeight();
20405
+ this.getElementTops();
20406
+ },
20407
+
20408
+ getElementTops() {
20409
+ this.sidebarTop = this.$refs['root-layout-sidebar'].offsetTop;
20410
+ this.contentTop = this.$refs['root-layout-content'].offsetTop;
20411
+ },
20412
+
20413
+ getDocumentHeight() {
20414
+ this.documentHeight = window.innerHeight + 'px';
20285
20415
  }
20286
20416
 
20287
20417
  }
@@ -20303,8 +20433,8 @@ var root_layout_bodyvue_type_style_index_0_lang_less_ = __webpack_require__(125)
20303
20433
 
20304
20434
  var root_layout_body_component = normalizeComponent(
20305
20435
  root_layout_root_layout_bodyvue_type_script_lang_js_,
20306
- root_layout_bodyvue_type_template_id_a07ea7ec_render,
20307
- root_layout_bodyvue_type_template_id_a07ea7ec_staticRenderFns,
20436
+ root_layout_bodyvue_type_template_id_d8938174_render,
20437
+ root_layout_bodyvue_type_template_id_d8938174_staticRenderFns,
20308
20438
  false,
20309
20439
  null,
20310
20440
  null,
@@ -20360,6 +20490,9 @@ var root_layout_body_component = normalizeComponent(
20360
20490
  //
20361
20491
  //
20362
20492
  //
20493
+ //
20494
+ //
20495
+ //
20363
20496
 
20364
20497
 
20365
20498
  /**
@@ -20372,6 +20505,15 @@ var root_layout_body_component = normalizeComponent(
20372
20505
  DtRootLayoutBody: root_layout_body
20373
20506
  },
20374
20507
  props: {
20508
+ /**
20509
+ * When true, the header / footer will be locked in position and the content will
20510
+ * be scrollable. When false the header / footer will scroll out of view.
20511
+ */
20512
+ fixed: {
20513
+ type: Boolean,
20514
+ default: true
20515
+ },
20516
+
20375
20517
  /**
20376
20518
  * Additional class name for the header element
20377
20519
  */
@@ -20488,8 +20630,8 @@ var root_layoutvue_type_style_index_0_lang_less_ = __webpack_require__(426);
20488
20630
 
20489
20631
  var root_layout_component = normalizeComponent(
20490
20632
  root_layout_root_layoutvue_type_script_lang_js_,
20491
- root_layoutvue_type_template_id_0bf64ed3_render,
20492
- root_layoutvue_type_template_id_0bf64ed3_staticRenderFns,
20633
+ root_layoutvue_type_template_id_29e484da_render,
20634
+ root_layoutvue_type_template_id_29e484da_staticRenderFns,
20493
20635
  false,
20494
20636
  null,
20495
20637
  null,
@@ -20501,15 +20643,15 @@ var root_layout_component = normalizeComponent(
20501
20643
  ;// CONCATENATED MODULE: ./components/root_layout/index.js
20502
20644
 
20503
20645
 
20504
- ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=ad3e7dce&
20505
- var combobox_with_popovervue_type_template_id_ad3e7dce_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-combobox',_vm._g({ref:"combobox",attrs:{"loading":_vm.loading,"label":_vm.label,"label-visible":_vm.labelVisible,"size":_vm.size,"description":_vm.description,"empty-list":_vm.emptyList,"empty-state-message":_vm.emptyStateMessage,"show-list":_vm.isListShown,"on-beginning-of-list":_vm.onBeginningOfList,"on-end-of-list":_vm.onEndOfList,"list-rendered-outside":true,"list-id":_vm.listId,"data-qa":"dt-combobox"},scopedSlots:_vm._u([{key:"input",fn:function(ref){
20646
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=7027b3a3&
20647
+ var combobox_with_popovervue_type_template_id_7027b3a3_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-combobox',_vm._g({ref:"combobox",attrs:{"loading":_vm.loading,"label":_vm.label,"label-visible":_vm.labelVisible,"size":_vm.size,"description":_vm.description,"empty-list":_vm.emptyList,"empty-state-message":_vm.emptyStateMessage,"show-list":_vm.isListShown,"on-beginning-of-list":_vm.onBeginningOfList,"on-end-of-list":_vm.onEndOfList,"list-rendered-outside":true,"list-id":_vm.listId,"data-qa":"dt-combobox"},scopedSlots:_vm._u([{key:"input",fn:function(ref){
20506
20648
  var inputProps = ref.inputProps;
20507
20649
  return [_c('div',{ref:"input",attrs:{"id":_vm.externalAnchor},on:{"focusin":_vm.onFocusIn,"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"up",38,$event.key,["Up","ArrowUp"])){ return null; }return _vm.openOnArrowKeyPress($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"down",40,$event.key,["Down","ArrowDown"])){ return null; }return _vm.openOnArrowKeyPress($event)}]}},[_vm._t("input",null,{"inputProps":inputProps,"onInput":_vm.handleDisplayList})],2)]}},{key:"list",fn:function(ref){
20508
20650
  var opened = ref.opened;
20509
20651
  var listProps = ref.listProps;
20510
20652
  var clearHighlightIndex = ref.clearHighlightIndex;
20511
20653
  return [_c('dt-popover',{ref:"popover",attrs:{"open":_vm.isListShown,"hide-on-click":false,"max-height":_vm.maxHeight,"max-width":_vm.maxWidth,"offset":_vm.popoverOffset,"sticky":_vm.popoverSticky,"placement":"bottom-start","initial-focus-element":"none","padding":"none","role":"listbox","external-anchor":_vm.externalAnchor,"content-width":_vm.contentWidth,"content-tabindex":null,"modal":false,"auto-focus":false,"visually-hidden-close-label":_vm.visuallyHiddenCloseLabel,"visually-hidden-close":_vm.visuallyHiddenClose},on:{"update:open":function($event){_vm.isListShown=$event},"opened":function($event){return opened($event, arguments[1]);}},scopedSlots:_vm._u([{key:"headerContent",fn:function(){return [(_vm.$slots.header)?_c('div',{ref:"header"},[_vm._t("header")],2):_vm._e()]},proxy:true},{key:"content",fn:function(){return [_c('div',{ref:"listWrapper",class:[_vm.DROPDOWN_PADDING_CLASSES[_vm.padding], _vm.listClass],on:{"mouseleave":clearHighlightIndex,"focusout":clearHighlightIndex}},[(_vm.loading)?_c('combobox-loading-list',_vm._b({},'combobox-loading-list',listProps,false)):(_vm.emptyList && _vm.emptyStateMessage)?_c('combobox-empty-list',_vm._b({attrs:{"message":_vm.emptyStateMessage}},'combobox-empty-list',listProps,false)):_vm._t("list",null,{"listProps":listProps})],2)]},proxy:true},{key:"footerContent",fn:function(){return [(_vm.$slots.footer)?_c('div',{ref:"footer"},[_vm._t("footer")],2):_vm._e()]},proxy:true}],null,true)})]}}],null,true)},_vm.comboboxListeners))}
20512
- var combobox_with_popovervue_type_template_id_ad3e7dce_staticRenderFns = []
20654
+ var combobox_with_popovervue_type_template_id_7027b3a3_staticRenderFns = []
20513
20655
 
20514
20656
 
20515
20657
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=script&lang=js&
@@ -20616,6 +20758,8 @@ var combobox_with_popovervue_type_template_id_ad3e7dce_staticRenderFns = []
20616
20758
  //
20617
20759
  //
20618
20760
  //
20761
+ //
20762
+ //
20619
20763
 
20620
20764
 
20621
20765
 
@@ -20977,8 +21121,8 @@ var combobox_with_popovervue_type_template_id_ad3e7dce_staticRenderFns = []
20977
21121
  ;
20978
21122
  var combobox_with_popover_component = normalizeComponent(
20979
21123
  combobox_with_popover_combobox_with_popovervue_type_script_lang_js_,
20980
- combobox_with_popovervue_type_template_id_ad3e7dce_render,
20981
- combobox_with_popovervue_type_template_id_ad3e7dce_staticRenderFns,
21124
+ combobox_with_popovervue_type_template_id_7027b3a3_render,
21125
+ combobox_with_popovervue_type_template_id_7027b3a3_staticRenderFns,
20982
21126
  false,
20983
21127
  null,
20984
21128
  null,