@dialpad/dialtone-vue 2.56.0 → 2.57.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.
@@ -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;overflow-y:auto}", ""]);
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}", ""]);
262
262
  // Exports
263
263
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
264
264
 
@@ -3166,12 +3166,15 @@ const BADGE_KIND_MODIFIERS = {
3166
3166
  label: '',
3167
3167
  count: 'd-badge--count'
3168
3168
  };
3169
- ;// 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/icon/icon.vue?vue&type=template&id=0c7462d0&
3170
- var iconvue_type_template_id_0c7462d0_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.currentIcon,{tag:"component",class:_vm.iconSize,attrs:{"data-qa":"dt-icon","aria-hidden":_vm.ariaLabel ? 'false' : 'true',"aria-label":_vm.ariaLabel}})}
3171
- var iconvue_type_template_id_0c7462d0_staticRenderFns = []
3169
+ ;// 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/icon/icon.vue?vue&type=template&id=7bf3355d&
3170
+ var iconvue_type_template_id_7bf3355d_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.currentIcon,{tag:"component",class:_vm.iconSize,attrs:{"data-qa":"dt-icon","aria-hidden":_vm.ariaLabel ? 'false' : 'true',"aria-label":_vm.ariaLabel}})}
3171
+ var iconvue_type_template_id_7bf3355d_staticRenderFns = []
3172
3172
 
3173
3173
 
3174
+ ;// CONCATENATED MODULE: external "@dialpad/dialtone-icons"
3175
+ const dialtone_icons_namespaceObject = require("@dialpad/dialtone-icons");
3174
3176
  ;// CONCATENATED MODULE: ./components/icon/icon_constants.js
3177
+
3175
3178
  const ICON_SIZE_MODIFIERS = {
3176
3179
  100: 'd-icon--size-100',
3177
3180
  200: 'd-icon--size-200',
@@ -3182,11 +3185,11 @@ const ICON_SIZE_MODIFIERS = {
3182
3185
  700: 'd-icon--size-700',
3183
3186
  800: 'd-icon--size-800'
3184
3187
  };
3188
+ const DIALTONE_ICONS = dialtone_icons_namespaceObject;
3185
3189
  /* harmony default export */ const icon_constants = ({
3186
- ICON_SIZE_MODIFIERS
3190
+ ICON_SIZE_MODIFIERS,
3191
+ DIALTONE_ICONS
3187
3192
  });
3188
- ;// CONCATENATED MODULE: external "@dialpad/dialtone-icons"
3189
- const dialtone_icons_namespaceObject = require("@dialpad/dialtone-icons");
3190
3193
  ;// 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/icon/icon.vue?vue&type=script&lang=js&
3191
3194
  //
3192
3195
  //
@@ -3200,7 +3203,6 @@ const dialtone_icons_namespaceObject = require("@dialpad/dialtone-icons");
3200
3203
  //
3201
3204
 
3202
3205
 
3203
-
3204
3206
  /**
3205
3207
  * The Icon component provides a set of glyphs and sizes to provide context your application.
3206
3208
  * @see https://dialpad.design/components/icon.html
@@ -3235,13 +3237,6 @@ const dialtone_icons_namespaceObject = require("@dialpad/dialtone-icons");
3235
3237
  default: undefined
3236
3238
  }
3237
3239
  },
3238
-
3239
- data() {
3240
- return {
3241
- dialtoneIcons: dialtone_icons_namespaceObject
3242
- };
3243
- },
3244
-
3245
3240
  computed: {
3246
3241
  iconSize() {
3247
3242
  return ICON_SIZE_MODIFIERS[this.size];
@@ -3252,7 +3247,7 @@ const dialtone_icons_namespaceObject = require("@dialpad/dialtone-icons");
3252
3247
  },
3253
3248
 
3254
3249
  currentIcon() {
3255
- return this.dialtoneIcons[this.iconName];
3250
+ return DIALTONE_ICONS[this.iconName];
3256
3251
  }
3257
3252
 
3258
3253
  }
@@ -3269,8 +3264,8 @@ const dialtone_icons_namespaceObject = require("@dialpad/dialtone-icons");
3269
3264
  ;
3270
3265
  var icon_component = normalizeComponent(
3271
3266
  icon_iconvue_type_script_lang_js_,
3272
- iconvue_type_template_id_0c7462d0_render,
3273
- iconvue_type_template_id_0c7462d0_staticRenderFns,
3267
+ iconvue_type_template_id_7bf3355d_render,
3268
+ iconvue_type_template_id_7bf3355d_staticRenderFns,
3274
3269
  false,
3275
3270
  null,
3276
3271
  null,
@@ -5610,13 +5605,13 @@ var combobox_loading_listvue_type_template_id_07d9971d_render = function () {var
5610
5605
  var combobox_loading_listvue_type_template_id_07d9971d_staticRenderFns = []
5611
5606
 
5612
5607
 
5613
- ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/list_item/list_item.vue?vue&type=template&id=344ae1a2&
5614
- var list_itemvue_type_template_id_344ae1a2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.elementType,_vm._g({tag:"component",class:['dt-list-item d-ls-none', {
5608
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/list_item/list_item.vue?vue&type=template&id=b658c946&
5609
+ var list_itemvue_type_template_id_b658c946_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.elementType,_vm._g({tag:"component",class:['dt-list-item d-ls-none', {
5615
5610
  'dt-list-item--focusable': _vm.isFocusable,
5616
5611
  'dt-list-item--highlighted': _vm.isHighlighted,
5617
5612
  'dt-list-item--static': !_vm.isHoverable,
5618
- }],attrs:{"id":_vm.id,"tabindex":_vm.isFocusable ? 0 : -1,"role":_vm.role,"aria-selected":_vm.isHighlighted}},_vm.listItemListeners),[(_vm.listItemType)?_c(_vm.listItemType,{tag:"component",scopedSlots:_vm._u([_vm._l((_vm.$slots),function(_,slotName){return {key:slotName,fn:function(){return [_vm._t(slotName)]},proxy:true}})],null,true)}):_vm._t("default")],2)}
5619
- var list_itemvue_type_template_id_344ae1a2_staticRenderFns = []
5613
+ }],attrs:{"id":_vm.id,"tabindex":_vm.isFocusable ? 0 : -1,"role":_vm.role,"aria-selected":_vm.isHighlighted}},_vm.listItemListeners),[(_vm.listItemType)?_c(_vm.listItemType,{tag:"component",scopedSlots:_vm._u([_vm._l((_vm.$slots),function(_,slotName){return {key:slotName,fn:function(){return [_vm._t(slotName)]},proxy:true}}),(_vm.selected)?{key:"selected",fn:function(){return [_c('dt-icon',{staticClass:"d-ml8",attrs:{"name":"check","size":"400"}})]},proxy:true}:null],null,true)}):_vm._t("default")],2)}
5614
+ var list_itemvue_type_template_id_b658c946_staticRenderFns = []
5620
5615
 
5621
5616
 
5622
5617
  ;// CONCATENATED MODULE: ./components/list_item/list_item_constants.js
@@ -5633,9 +5628,9 @@ const LIST_ITEM_NAVIGATION_TYPES = {
5633
5628
  LIST_ITEM_TYPES,
5634
5629
  LIST_ITEM_NAVIGATION_TYPES
5635
5630
  });
5636
- ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/list_item/default_list_item.vue?vue&type=template&id=19664905&
5637
- var default_list_itemvue_type_template_id_19664905_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"dt-default-list-item d-fs-200 d-lh-300 d-py4 d-px8 d-d-flex d-ai-center"},[(_vm.$slots.left)?_c('section',{staticClass:"dt-default-list-item--left d-d-inline-flex d-as-flex-start d-d-flex d-ai-center d-pr8",attrs:{"data-qa":"dt-default-list-item-left-wrapper"}},[_vm._t("left")],2):_vm._e(),_c('section',{staticClass:"d-fl-grow1 d-of-hidden"},[(_vm.$slots.default)?_c('div',[_vm._t("default")],2):_vm._e(),(_vm.$slots.subtitle)?_c('div',{class:['d-fs-100 d-fc-black-600', { 'd-mtn2': _vm.$slots.default }],attrs:{"data-qa":"dt-default-list-item-subtitle-wrapper"}},[_vm._t("subtitle")],2):_vm._e(),(_vm.$slots.bottom)?_c('div',{staticClass:"d-mt2",attrs:{"data-qa":"dt-default-list-item-bottom-wrapper"}},[_vm._t("bottom")],2):_vm._e()]),(_vm.$slots.right)?_c('section',{staticClass:"dt-default-list-item--right d-d-inline-flex d-as-flex-start d-d-flex d-ai-center d-pl8",attrs:{"data-qa":"dt-default-list-item-right-wrapper"}},[_vm._t("right")],2):_vm._e()])}
5638
- var default_list_itemvue_type_template_id_19664905_staticRenderFns = []
5631
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/list_item/default_list_item.vue?vue&type=template&id=2e45cfbd&
5632
+ var default_list_itemvue_type_template_id_2e45cfbd_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"dt-default-list-item d-fs-200 d-lh-300 d-py4 d-px8 d-d-flex d-ai-center"},[(_vm.$slots.left)?_c('section',{staticClass:"dt-default-list-item--left d-d-inline-flex d-as-flex-start d-d-flex d-ai-center d-pr8",attrs:{"data-qa":"dt-default-list-item-left-wrapper"}},[_vm._t("left")],2):_vm._e(),_c('section',{staticClass:"d-fl-grow1 d-of-hidden"},[(_vm.$slots.default)?_c('div',[_vm._t("default")],2):_vm._e(),(_vm.$slots.subtitle)?_c('div',{class:['d-fs-100 d-fc-black-600', { 'd-mtn2': _vm.$slots.default }],attrs:{"data-qa":"dt-default-list-item-subtitle-wrapper"}},[_vm._t("subtitle")],2):_vm._e(),(_vm.$slots.bottom)?_c('div',{staticClass:"d-mt2",attrs:{"data-qa":"dt-default-list-item-bottom-wrapper"}},[_vm._t("bottom")],2):_vm._e()]),(_vm.$slots.right)?_c('section',{staticClass:"dt-default-list-item--right d-d-inline-flex d-as-flex-start d-d-flex d-ai-center d-pl8",attrs:{"data-qa":"dt-default-list-item-right-wrapper"}},[_vm._t("right")],2):_vm._e(),_vm._t("selected")],2)}
5633
+ var default_list_itemvue_type_template_id_2e45cfbd_staticRenderFns = []
5639
5634
 
5640
5635
 
5641
5636
  ;// 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/list_item/default_list_item.vue?vue&type=script&lang=js&
@@ -5682,6 +5677,7 @@ var default_list_itemvue_type_template_id_19664905_staticRenderFns = []
5682
5677
  //
5683
5678
  //
5684
5679
  //
5680
+ //
5685
5681
  /* harmony default export */ const default_list_itemvue_type_script_lang_js_ = ({
5686
5682
  name: 'DefaultListItem'
5687
5683
  });
@@ -5702,8 +5698,8 @@ var default_list_itemvue_type_style_index_0_lang_less_ = __webpack_require__(986
5702
5698
 
5703
5699
  var default_list_item_component = normalizeComponent(
5704
5700
  list_item_default_list_itemvue_type_script_lang_js_,
5705
- default_list_itemvue_type_template_id_19664905_render,
5706
- default_list_itemvue_type_template_id_19664905_staticRenderFns,
5701
+ default_list_itemvue_type_template_id_2e45cfbd_render,
5702
+ default_list_itemvue_type_template_id_2e45cfbd_staticRenderFns,
5707
5703
  false,
5708
5704
  null,
5709
5705
  null,
@@ -5745,6 +5741,17 @@ var default_list_item_component = normalizeComponent(
5745
5741
  //
5746
5742
  //
5747
5743
  //
5744
+ //
5745
+ //
5746
+ //
5747
+ //
5748
+ //
5749
+ //
5750
+ //
5751
+ //
5752
+ //
5753
+ //
5754
+
5748
5755
 
5749
5756
 
5750
5757
 
@@ -5756,7 +5763,8 @@ var default_list_item_component = normalizeComponent(
5756
5763
  /* harmony default export */ const list_itemvue_type_script_lang_js_ = ({
5757
5764
  name: 'ListItem',
5758
5765
  components: {
5759
- DtDefaultListItem: default_list_item
5766
+ DtDefaultListItem: default_list_item,
5767
+ DtIcon: icon
5760
5768
  },
5761
5769
 
5762
5770
  /**
@@ -5817,6 +5825,14 @@ var default_list_item_component = normalizeComponent(
5817
5825
  type: String,
5818
5826
  default: LIST_ITEM_NAVIGATION_TYPES.NONE,
5819
5827
  validator: t => Object.values(LIST_ITEM_NAVIGATION_TYPES).includes(t)
5828
+ },
5829
+
5830
+ /**
5831
+ * Applies selected styles to the list item
5832
+ */
5833
+ selected: {
5834
+ type: Boolean,
5835
+ default: false
5820
5836
  }
5821
5837
  },
5822
5838
  emits: [
@@ -5944,8 +5960,8 @@ var list_itemvue_type_style_index_0_lang_less_ = __webpack_require__(502);
5944
5960
 
5945
5961
  var list_item_component = normalizeComponent(
5946
5962
  list_item_list_itemvue_type_script_lang_js_,
5947
- list_itemvue_type_template_id_344ae1a2_render,
5948
- list_itemvue_type_template_id_344ae1a2_staticRenderFns,
5963
+ list_itemvue_type_template_id_b658c946_render,
5964
+ list_itemvue_type_template_id_b658c946_staticRenderFns,
5949
5965
  false,
5950
5966
  null,
5951
5967
  null,
@@ -7464,9 +7480,9 @@ var collapsiblevue_type_template_id_280f6c34_render = function () {var _vm=this;
7464
7480
  var collapsiblevue_type_template_id_280f6c34_staticRenderFns = []
7465
7481
 
7466
7482
 
7467
- ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/collapsible/collapsible_lazy_show.vue?vue&type=template&id=7a3b1f44&
7468
- var collapsible_lazy_showvue_type_template_id_7a3b1f44_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',_vm._g({attrs:{"appear":_vm.appear,"enter-active-class":"enter-active","leave-active-class":"leave-active"},on:{"before-enter":_vm.beforeEnter,"enter":_vm.enter,"after-enter":_vm.afterEnter,"before-leave":_vm.beforeLeave,"leave":_vm.leave,"after-leave":_vm.afterLeave}},_vm.$listeners),[_c(_vm.elementType,_vm._g({directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}],tag:"component"},_vm.$listeners),[(_vm.initialized)?_vm._t("default"):_vm._e()],2)],1)}
7469
- var collapsible_lazy_showvue_type_template_id_7a3b1f44_staticRenderFns = []
7483
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/collapsible/collapsible_lazy_show.vue?vue&type=template&id=3ceeeccc&
7484
+ var collapsible_lazy_showvue_type_template_id_3ceeeccc_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',_vm._g({attrs:{"appear":_vm.appear,"enter-active-class":"enter-active","leave-active-class":"leave-active","css":_vm.isCSSEnabled},on:{"before-enter":_vm.beforeEnter,"enter":_vm.enter,"after-enter":_vm.afterEnter,"before-leave":_vm.beforeLeave,"leave":_vm.leave,"after-leave":_vm.afterLeave}},_vm.$listeners),[_c(_vm.elementType,_vm._g({directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}],tag:"component"},_vm.$listeners),[(_vm.initialized)?_vm._t("default"):_vm._e()],2)],1)}
7485
+ var collapsible_lazy_showvue_type_template_id_3ceeeccc_staticRenderFns = []
7470
7486
 
7471
7487
 
7472
7488
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/collapsible/collapsible_lazy_show.vue?vue&type=script&lang=js&
@@ -7495,6 +7511,7 @@ var collapsible_lazy_showvue_type_template_id_7a3b1f44_staticRenderFns = []
7495
7511
  //
7496
7512
  //
7497
7513
  //
7514
+ //
7498
7515
  /* harmony default export */ const collapsible_lazy_showvue_type_script_lang_js_ = ({
7499
7516
  name: 'DtCollapsibleLazyShow',
7500
7517
 
@@ -7536,6 +7553,22 @@ var collapsible_lazy_showvue_type_template_id_7a3b1f44_staticRenderFns = []
7536
7553
  };
7537
7554
  },
7538
7555
 
7556
+ /******************
7557
+ * COMPUTED *
7558
+ ******************/
7559
+ computed: {
7560
+ /**
7561
+ * Set the css property to false when running tests only.
7562
+ * Refer to: https://vuejs.org/guide/built-ins/transition.html#javascript-hooks for details about
7563
+ * transition `css` property
7564
+ * @returns {boolean}
7565
+ */
7566
+ isCSSEnabled() {
7567
+ return "production" !== 'test';
7568
+ }
7569
+
7570
+ },
7571
+
7539
7572
  /******************
7540
7573
  * WATCH *
7541
7574
  ******************/
@@ -7625,8 +7658,8 @@ var collapsible_lazy_showvue_type_style_index_0_lang_css_ = __webpack_require__(
7625
7658
 
7626
7659
  var collapsible_lazy_show_component = normalizeComponent(
7627
7660
  collapsible_collapsible_lazy_showvue_type_script_lang_js_,
7628
- collapsible_lazy_showvue_type_template_id_7a3b1f44_render,
7629
- collapsible_lazy_showvue_type_template_id_7a3b1f44_staticRenderFns,
7661
+ collapsible_lazy_showvue_type_template_id_3ceeeccc_render,
7662
+ collapsible_lazy_showvue_type_template_id_3ceeeccc_staticRenderFns,
7630
7663
  false,
7631
7664
  null,
7632
7665
  null,
@@ -7635,9 +7668,9 @@ var collapsible_lazy_show_component = normalizeComponent(
7635
7668
  )
7636
7669
 
7637
7670
  /* harmony default export */ const collapsible_lazy_show = (collapsible_lazy_show_component.exports);
7638
- ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/lazy_show/lazy_show.vue?vue&type=template&id=68041c9d&
7639
- var lazy_showvue_type_template_id_68041c9d_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',_vm._g({attrs:{"name":_vm.transition,"appear":_vm.appear}},_vm.$listeners),[_c('div',_vm._g({directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}]},_vm.$listeners),[(_vm.initialized)?_vm._t("default"):_vm._e()],2)])}
7640
- var lazy_showvue_type_template_id_68041c9d_staticRenderFns = []
7671
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/lazy_show/lazy_show.vue?vue&type=template&id=25070b78&
7672
+ var lazy_showvue_type_template_id_25070b78_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',_vm._g({attrs:{"name":_vm.transition,"appear":_vm.appear,"css":_vm.isCSSEnabled}},_vm.$listeners),[_c('div',_vm._g({directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}]},_vm.$listeners),[(_vm.initialized)?_vm._t("default"):_vm._e()],2)])}
7673
+ var lazy_showvue_type_template_id_25070b78_staticRenderFns = []
7641
7674
 
7642
7675
 
7643
7676
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/lazy_show/lazy_show.vue?vue&type=script&lang=js&
@@ -7658,6 +7691,7 @@ var lazy_showvue_type_template_id_68041c9d_staticRenderFns = []
7658
7691
  //
7659
7692
  //
7660
7693
  //
7694
+ //
7661
7695
 
7662
7696
  /**
7663
7697
  * Lazy Show is a utility component that prevents its children from being rendered until the first time it is shown.
@@ -7706,6 +7740,19 @@ var lazy_showvue_type_template_id_68041c9d_staticRenderFns = []
7706
7740
  };
7707
7741
  },
7708
7742
 
7743
+ computed: {
7744
+ /**
7745
+ * Set the css property to false when running tests only.
7746
+ * Refer to: https://vuejs.org/guide/built-ins/transition.html#javascript-hooks for details about
7747
+ * transition `css` property
7748
+ * @returns {boolean}
7749
+ */
7750
+ isCSSEnabled() {
7751
+ return "production" !== 'test';
7752
+ }
7753
+
7754
+ },
7755
+
7709
7756
  /******************
7710
7757
  * WATCH *
7711
7758
  ******************/
@@ -7728,8 +7775,8 @@ var lazy_showvue_type_template_id_68041c9d_staticRenderFns = []
7728
7775
  ;
7729
7776
  var lazy_show_component = normalizeComponent(
7730
7777
  lazy_show_lazy_showvue_type_script_lang_js_,
7731
- lazy_showvue_type_template_id_68041c9d_render,
7732
- lazy_showvue_type_template_id_68041c9d_staticRenderFns,
7778
+ lazy_showvue_type_template_id_25070b78_render,
7779
+ lazy_showvue_type_template_id_25070b78_staticRenderFns,
7733
7780
  false,
7734
7781
  null,
7735
7782
  null,
@@ -20240,9 +20287,9 @@ var root_layoutvue_type_template_id_29e484da_render = function () {var _vm=this;
20240
20287
  var root_layoutvue_type_template_id_29e484da_staticRenderFns = []
20241
20288
 
20242
20289
 
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 = []
20290
+ ;// 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=031febe5&
20291
+ var root_layout_bodyvue_type_template_id_031febe5_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-of-y-auto': _vm.isInMobileMode }, 'd-fl-grow1', _vm.bodyClasses],style:({ 'height': _vm.isInMobileMode ? _vm.mainHeight : null }),attrs:{"data-qa":"root-layout-body"}},[(_vm.$slots.sidebar)?_c('aside',{ref:"root-layout-sidebar",class:['root-layout__sidebar', { 'd-of-y-auto': !_vm.isInMobileMode }, _vm.sidebarClass],style:({ 'flex-basis': _vm.sidebarWidth, 'height': !_vm.isInMobileMode ? _vm.mainHeight : null }),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', { 'd-of-y-auto': !_vm.isInMobileMode }, _vm.contentClass],style:({ 'min-inline-size': _vm.contentWrapWidthPercent, 'height': !_vm.isInMobileMode ? _vm.mainHeight : null }),attrs:{"data-qa":"root-layout-content","tabindex":"0"}},[_vm._t("content")],2):_vm._e()])}
20292
+ var root_layout_bodyvue_type_template_id_031febe5_staticRenderFns = []
20246
20293
 
20247
20294
 
20248
20295
  ;// CONCATENATED MODULE: ./components/root_layout/root_layout_constants.js
@@ -20283,6 +20330,8 @@ const ROOT_LAYOUT_SIDEBAR_POSITIONS = {
20283
20330
  //
20284
20331
  //
20285
20332
  //
20333
+ //
20334
+ //
20286
20335
 
20287
20336
  /* harmony default export */ const root_layout_bodyvue_type_script_lang_js_ = ({
20288
20337
  name: 'DtRootLayoutBody',
@@ -20370,21 +20419,19 @@ const ROOT_LAYOUT_SIDEBAR_POSITIONS = {
20370
20419
 
20371
20420
  mainHeight() {
20372
20421
  if (this.fixed) {
20373
- return `calc(${this.documentHeight}
20374
- - (${this.headerHeight} + ${this.extraSidebarHeight} + ${this.footerHeight}))`;
20422
+ return `calc(${this.documentHeight} - (${this.headerHeight} + ${this.footerHeight}))`;
20375
20423
  }
20376
20424
 
20377
20425
  return null;
20378
20426
  },
20379
20427
 
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() {
20428
+ // When the sidebar is above the header due to contentWrapWidthPercent it is considered to be in mobile mode.
20429
+ isInMobileMode() {
20383
20430
  if (this.contentTop > this.sidebarTop) {
20384
- return this.$refs['root-layout-sidebar'].offsetHeight + 'px';
20431
+ return true;
20385
20432
  }
20386
20433
 
20387
- return '0px';
20434
+ return false;
20388
20435
  }
20389
20436
 
20390
20437
  },
@@ -20406,8 +20453,10 @@ const ROOT_LAYOUT_SIDEBAR_POSITIONS = {
20406
20453
  },
20407
20454
 
20408
20455
  getElementTops() {
20409
- this.sidebarTop = this.$refs['root-layout-sidebar'].offsetTop;
20410
- this.contentTop = this.$refs['root-layout-content'].offsetTop;
20456
+ var _this$$refs$rootLayo, _this$$refs$rootLayo2;
20457
+
20458
+ this.sidebarTop = (_this$$refs$rootLayo = this.$refs['root-layout-sidebar']) === null || _this$$refs$rootLayo === void 0 ? void 0 : _this$$refs$rootLayo.offsetTop;
20459
+ this.contentTop = (_this$$refs$rootLayo2 = this.$refs['root-layout-content']) === null || _this$$refs$rootLayo2 === void 0 ? void 0 : _this$$refs$rootLayo2.offsetTop;
20411
20460
  },
20412
20461
 
20413
20462
  getDocumentHeight() {
@@ -20433,8 +20482,8 @@ var root_layout_bodyvue_type_style_index_0_lang_less_ = __webpack_require__(125)
20433
20482
 
20434
20483
  var root_layout_body_component = normalizeComponent(
20435
20484
  root_layout_root_layout_bodyvue_type_script_lang_js_,
20436
- root_layout_bodyvue_type_template_id_d8938174_render,
20437
- root_layout_bodyvue_type_template_id_d8938174_staticRenderFns,
20485
+ root_layout_bodyvue_type_template_id_031febe5_render,
20486
+ root_layout_bodyvue_type_template_id_031febe5_staticRenderFns,
20438
20487
  false,
20439
20488
  null,
20440
20489
  null,