@dialpad/dialtone-vue 2.57.0 → 2.58.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.
@@ -2223,7 +2223,6 @@ __webpack_require__.d(__webpack_exports__, {
2223
2223
  "DtCollapsible": () => (/* reexport */ collapsible),
2224
2224
  "DtCombobox": () => (/* reexport */ combobox),
2225
2225
  "DtDropdown": () => (/* reexport */ dropdown),
2226
- "DtDropdownList": () => (/* reexport */ dropdown_list),
2227
2226
  "DtDropdownSeparator": () => (/* reexport */ dropdown_separator),
2228
2227
  "DtGroupableInputMixin": () => (/* reexport */ GroupableMixin),
2229
2228
  "DtIcon": () => (/* reexport */ icon),
@@ -2259,6 +2258,7 @@ __webpack_require__.d(__webpack_exports__, {
2259
2258
  "DtSkeletonParagraph": () => (/* reexport */ skeleton_paragraph),
2260
2259
  "DtSkeletonShape": () => (/* reexport */ skeleton_shape),
2261
2260
  "DtSkeletonText": () => (/* reexport */ skeleton_text),
2261
+ "DtStack": () => (/* reexport */ stack),
2262
2262
  "DtTab": () => (/* reexport */ tab),
2263
2263
  "DtTabGroup": () => (/* reexport */ tab_group),
2264
2264
  "DtTabPanel": () => (/* reexport */ tab_panel),
@@ -14330,73 +14330,6 @@ var dropdown_component = normalizeComponent(
14330
14330
  )
14331
14331
 
14332
14332
  /* harmony default export */ const dropdown = (dropdown_component.exports);
14333
- ;// 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_list.vue?vue&type=template&id=c83c6b9a&
14334
- var dropdown_listvue_type_template_id_c83c6b9a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',[(_vm.heading)?_c('div',{staticClass:"dt-dropdown-list--header d-fs12 d-fc-black-400 d-fw-bold d-lh4 d-py4 d-px12 d-d-flex d-ai-center"},[_c('span',[_vm._v(_vm._s(_vm.heading))])]):_vm._e(),_c('ul',{class:['d-ps-relative', 'd-stack2', 'd-px0', _vm.listClass],attrs:{"data-qa":"dt-dropdown-list-wrapper"}},[_vm._t("default")],2)])}
14335
- var dropdown_listvue_type_template_id_c83c6b9a_staticRenderFns = []
14336
-
14337
-
14338
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/dropdown/dropdown_list.vue?vue&type=script&lang=js&
14339
- //
14340
- //
14341
- //
14342
- //
14343
- //
14344
- //
14345
- //
14346
- //
14347
- //
14348
- //
14349
- //
14350
- //
14351
- //
14352
- //
14353
- //
14354
- //
14355
- //
14356
- //
14357
- //
14358
- /* harmony default export */ const dropdown_listvue_type_script_lang_js_ = ({
14359
- name: 'DtDropdownList',
14360
- props: {
14361
- /**
14362
- * List's heading.
14363
- */
14364
- heading: {
14365
- type: String,
14366
- default: ''
14367
- },
14368
-
14369
- /**
14370
- * Additional class for the wrapper list element.
14371
- */
14372
- listClass: {
14373
- type: [String, Array, Object],
14374
- default: ''
14375
- }
14376
- }
14377
- });
14378
- ;// CONCATENATED MODULE: ./components/dropdown/dropdown_list.vue?vue&type=script&lang=js&
14379
- /* harmony default export */ const dropdown_dropdown_listvue_type_script_lang_js_ = (dropdown_listvue_type_script_lang_js_);
14380
- ;// CONCATENATED MODULE: ./components/dropdown/dropdown_list.vue
14381
-
14382
-
14383
-
14384
-
14385
-
14386
- /* normalize component */
14387
- ;
14388
- var dropdown_list_component = normalizeComponent(
14389
- dropdown_dropdown_listvue_type_script_lang_js_,
14390
- dropdown_listvue_type_template_id_c83c6b9a_render,
14391
- dropdown_listvue_type_template_id_c83c6b9a_staticRenderFns,
14392
- false,
14393
- null,
14394
- null,
14395
- null
14396
-
14397
- )
14398
-
14399
- /* harmony default export */ const dropdown_list = (dropdown_list_component.exports);
14400
14333
  ;// 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_separator.vue?vue&type=template&id=7efcdecb&
14401
14334
  var dropdown_separatorvue_type_template_id_7efcdecb_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"dt-list-separator d-bgc-black-300 d-my4 d-mxn4",attrs:{"aria-hidden":"true"}})}
14402
14335
  var dropdown_separatorvue_type_template_id_7efcdecb_staticRenderFns = []
@@ -14443,7 +14376,6 @@ var dropdown_separator_component = normalizeComponent(
14443
14376
  ;// CONCATENATED MODULE: ./components/dropdown/index.js
14444
14377
 
14445
14378
 
14446
-
14447
14379
  ;// 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/input/input.vue?vue&type=template&id=5be97b31&
14448
14380
  var inputvue_type_template_id_5be97b31_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"container",staticClass:"base-input",attrs:{"data-qa":"dt-input"}},[_c('label',{staticClass:"base-input__label",attrs:{"aria-details":_vm.$slots.description || _vm.description ? _vm.descriptionKey : undefined,"data-qa":"dt-input-label-wrapper"}},[_vm._t("labelSlot",function(){return [(_vm.labelVisible && _vm.label)?_c('div',{ref:"label",class:[
14449
14381
  'base-input__label-text',
@@ -20702,15 +20634,188 @@ var root_layout_component = normalizeComponent(
20702
20634
  ;// CONCATENATED MODULE: ./components/root_layout/index.js
20703
20635
 
20704
20636
 
20705
- ;// 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&
20706
- 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){
20637
+ ;// 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/stack/stack.vue?vue&type=template&id=ec7d952a&
20638
+ var stackvue_type_template_id_ec7d952a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.as,{tag:"component",class:[
20639
+ 'd-stack',
20640
+ _vm.defaultDirection,
20641
+ _vm.stackResponsive,
20642
+ _vm.stackGap ]},[_vm._t("default")],2)}
20643
+ var stackvue_type_template_id_ec7d952a_staticRenderFns = []
20644
+
20645
+
20646
+ ;// CONCATENATED MODULE: ./components/stack/stack_constants.js
20647
+ const DT_STACK_DIRECTION = {
20648
+ default: 'column',
20649
+ column: 'column',
20650
+ row: 'row',
20651
+ 'row-reverse': 'row-reverse',
20652
+ 'column-reverse': 'column-reverse'
20653
+ };
20654
+ const DT_STACK_RESPONSIVE_BREAKPOINTS = ['sm', 'md', 'lg', 'xl'];
20655
+ const DT_STACK_GAP = ['0', '100', '200', '300', '400', '500', '600'];
20656
+ ;// CONCATENATED MODULE: ./components/stack/utils.js
20657
+
20658
+
20659
+ function _isDefaultDirection(direction) {
20660
+ return direction === DT_STACK_DIRECTION["default"];
20661
+ }
20662
+
20663
+ function _getValidDirection(direction) {
20664
+ if (directionPropType(direction) === 'string') {
20665
+ return !_isDefaultDirection(direction) ? DT_STACK_DIRECTION[direction] : null;
20666
+ } else if (directionPropType(direction) === 'object') {
20667
+ const {
20668
+ default: defaultStyle
20669
+ } = direction;
20670
+ return !_isDefaultDirection(defaultStyle) ? DT_STACK_DIRECTION[defaultStyle] : null;
20671
+ } else {
20672
+ return null;
20673
+ }
20674
+ }
20675
+
20676
+ function directionPropType(value) {
20677
+ return typeof value;
20678
+ }
20679
+ function getDefaultDirectionClass(direction) {
20680
+ return _getValidDirection(direction) ? `d-stack--${DT_STACK_DIRECTION[_getValidDirection(direction)]}` : null;
20681
+ }
20682
+ function getResponsiveClasses(direction) {
20683
+ if (directionPropType(direction) === 'object') {
20684
+ return [...DT_STACK_RESPONSIVE_BREAKPOINTS.map(breakpoint => {
20685
+ return direction[breakpoint] ? `d-stack--${breakpoint}--${direction[breakpoint]}` : null;
20686
+ })];
20687
+ } else {
20688
+ return null;
20689
+ }
20690
+ }
20691
+ function getGapClass(gap) {
20692
+ return DT_STACK_GAP.includes(gap) ? `d-stack--gap-${gap}` : null;
20693
+ }
20694
+ ;// CONCATENATED MODULE: ./components/stack/validators.js
20695
+
20696
+
20697
+ function directionValidator(direction) {
20698
+ if (directionPropType(direction) === 'string') {
20699
+ return Object.keys(DT_STACK_DIRECTION).includes(direction);
20700
+ } else if (directionPropType(direction) === 'object') {
20701
+ const {
20702
+ default: defaultStyle
20703
+ } = direction;
20704
+ return Object.keys(DT_STACK_DIRECTION).includes(defaultStyle);
20705
+ } else {
20706
+ return null;
20707
+ }
20708
+ }
20709
+ function gapValidator(gap) {
20710
+ return DT_STACK_GAP.includes(gap);
20711
+ }
20712
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/stack/stack.vue?vue&type=script&lang=js&
20713
+ //
20714
+ //
20715
+ //
20716
+ //
20717
+ //
20718
+ //
20719
+ //
20720
+ //
20721
+ //
20722
+ //
20723
+ //
20724
+ //
20725
+ //
20726
+ //
20727
+ //
20728
+
20729
+
20730
+
20731
+ /* harmony default export */ const stackvue_type_script_lang_js_ = ({
20732
+ name: 'DtStack',
20733
+ props: {
20734
+ /**
20735
+ * Set this prop to the direction to stack the items.
20736
+ * You can override the default direction with 'default' key.
20737
+ * All the undefined breakpoints will have 'default' value
20738
+ */
20739
+ direction: {
20740
+ type: [String, Object],
20741
+ default: 'column',
20742
+ validator: direction => directionValidator(direction)
20743
+ },
20744
+
20745
+ /**
20746
+ * Set this prop to render stack as a specific HTML element.
20747
+ */
20748
+ as: {
20749
+ type: String,
20750
+ default: 'div'
20751
+ },
20752
+
20753
+ /**
20754
+ * Set this prop to have the space between each stack item
20755
+ */
20756
+ gap: {
20757
+ type: String,
20758
+ default: '0',
20759
+ validator: gap => gapValidator(gap)
20760
+ }
20761
+ },
20762
+
20763
+ data() {
20764
+ return {
20765
+ DT_STACK_DIRECTION: DT_STACK_DIRECTION,
20766
+ DT_STACK_GAP: DT_STACK_GAP,
20767
+ DT_STACK_RESPONSIVE_BREAKPOINTS: DT_STACK_RESPONSIVE_BREAKPOINTS
20768
+ };
20769
+ },
20770
+
20771
+ computed: {
20772
+ stackGap() {
20773
+ return getGapClass(this.gap);
20774
+ },
20775
+
20776
+ defaultDirection() {
20777
+ return getDefaultDirectionClass(this.direction);
20778
+ },
20779
+
20780
+ stackResponsive() {
20781
+ return getResponsiveClasses(this.direction);
20782
+ }
20783
+
20784
+ }
20785
+ });
20786
+ ;// CONCATENATED MODULE: ./components/stack/stack.vue?vue&type=script&lang=js&
20787
+ /* harmony default export */ const stack_stackvue_type_script_lang_js_ = (stackvue_type_script_lang_js_);
20788
+ ;// CONCATENATED MODULE: ./components/stack/stack.vue
20789
+
20790
+
20791
+
20792
+
20793
+
20794
+ /* normalize component */
20795
+ ;
20796
+ var stack_component = normalizeComponent(
20797
+ stack_stackvue_type_script_lang_js_,
20798
+ stackvue_type_template_id_ec7d952a_render,
20799
+ stackvue_type_template_id_ec7d952a_staticRenderFns,
20800
+ false,
20801
+ null,
20802
+ null,
20803
+ null
20804
+
20805
+ )
20806
+
20807
+ /* harmony default export */ const stack = (stack_component.exports);
20808
+ ;// CONCATENATED MODULE: ./components/stack/index.js
20809
+
20810
+ ;// 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=8075a3ae&
20811
+ var combobox_with_popovervue_type_template_id_8075a3ae_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){
20707
20812
  var inputProps = ref.inputProps;
20708
20813
  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){
20709
20814
  var opened = ref.opened;
20710
20815
  var listProps = ref.listProps;
20711
20816
  var clearHighlightIndex = ref.clearHighlightIndex;
20712
- 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))}
20713
- var combobox_with_popovervue_type_template_id_7027b3a3_staticRenderFns = []
20817
+ 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,"append-to":_vm.appendTo,"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))}
20818
+ var combobox_with_popovervue_type_template_id_8075a3ae_staticRenderFns = []
20714
20819
 
20715
20820
 
20716
20821
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=script&lang=js&
@@ -20819,6 +20924,8 @@ var combobox_with_popovervue_type_template_id_7027b3a3_staticRenderFns = []
20819
20924
  //
20820
20925
  //
20821
20926
  //
20927
+ //
20928
+
20822
20929
 
20823
20930
 
20824
20931
 
@@ -21016,6 +21123,18 @@ var combobox_with_popovervue_type_template_id_7027b3a3_staticRenderFns = []
21016
21123
  emptyStateMessage: {
21017
21124
  type: String,
21018
21125
  default: ''
21126
+ },
21127
+
21128
+ /**
21129
+ * Sets the element to which the popover is going to append to.
21130
+ * @values 'parent', HTMLElement,
21131
+ */
21132
+ appendTo: {
21133
+ type: [HTMLElement, String],
21134
+ default: () => document.body,
21135
+ validator: appendTo => {
21136
+ return POPOVER_APPEND_TO_VALUES.includes(appendTo) || appendTo instanceof HTMLElement;
21137
+ }
21019
21138
  }
21020
21139
  },
21021
21140
  emits: [
@@ -21180,8 +21299,8 @@ var combobox_with_popovervue_type_template_id_7027b3a3_staticRenderFns = []
21180
21299
  ;
21181
21300
  var combobox_with_popover_component = normalizeComponent(
21182
21301
  combobox_with_popover_combobox_with_popovervue_type_script_lang_js_,
21183
- combobox_with_popovervue_type_template_id_7027b3a3_render,
21184
- combobox_with_popovervue_type_template_id_7027b3a3_staticRenderFns,
21302
+ combobox_with_popovervue_type_template_id_8075a3ae_render,
21303
+ combobox_with_popovervue_type_template_id_8075a3ae_staticRenderFns,
21185
21304
  false,
21186
21305
  null,
21187
21306
  null,
@@ -21192,11 +21311,11 @@ var combobox_with_popover_component = normalizeComponent(
21192
21311
  /* harmony default export */ const combobox_with_popover = (combobox_with_popover_component.exports);
21193
21312
  ;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/index.js
21194
21313
 
21195
- ;// 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_multi_select/combobox_multi_select.vue?vue&type=template&id=cd2212ea&
21196
- var combobox_multi_selectvue_type_template_id_cd2212ea_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-recipe-combobox-with-popover',{ref:"comboboxWithPopover",attrs:{"label":_vm.label,"show-list":_vm.showList,"max-height":_vm.listMaxHeight,"popover-offset":_vm.popoverOffset,"has-suggestion-list":_vm.hasSuggestionList,"visually-hidden-close-label":_vm.visuallyHiddenCloseLabel,"visually-hidden-close":_vm.visuallyHiddenClose,"content-width":"anchor"},on:{"select":_vm.onComboboxSelect},scopedSlots:_vm._u([{key:"input",fn:function(ref){
21314
+ ;// 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_multi_select/combobox_multi_select.vue?vue&type=template&id=a62f00d6&
21315
+ var combobox_multi_selectvue_type_template_id_a62f00d6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-recipe-combobox-with-popover',{ref:"comboboxWithPopover",attrs:{"label":_vm.label,"show-list":_vm.showList,"max-height":_vm.listMaxHeight,"popover-offset":_vm.popoverOffset,"has-suggestion-list":_vm.hasSuggestionList,"visually-hidden-close-label":_vm.visuallyHiddenCloseLabel,"visually-hidden-close":_vm.visuallyHiddenClose,"content-width":"anchor","append-to":_vm.appendTo},on:{"select":_vm.onComboboxSelect},scopedSlots:_vm._u([{key:"input",fn:function(ref){
21197
21316
  var onInput = ref.onInput;
21198
21317
  return [_c('span',{ref:"inputSlotWrapper",staticClass:"d-ps-relative d-d-block"},[_c('span',{ref:"chipsWrapper",staticClass:"d-ps-absolute d-mx2"},_vm._l((_vm.selectedItems),function(item){return _c('dt-chip',_vm._g({key:item.id,ref:"chips",refInFor:true,class:['d-mt4', 'd-mx2', 'd-zi-base1'],attrs:{"label-class":['d-chip__label'],"close-button-props":{ ariaLabel: 'close' },"size":_vm.CHIP_SIZES[_vm.size]},on:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"backspace",undefined,$event.key,undefined)){ return null; }return _vm.onChipRemove(item)},"close":function($event){return _vm.onChipRemove(item)}}},_vm.chipListeners),[_vm._v(" "+_vm._s(item)+" ")])}),1),_c('dt-input',_vm._g({ref:"input",staticClass:"d-fl-grow1",attrs:{"aria-label":_vm.label,"label":_vm.labelVisible ? _vm.label : '',"description":_vm.description,"placeholder":_vm.inputPlaceHolder,"show-messages":_vm.showInputMessages,"messages":_vm.inputMessages,"size":_vm.size},on:{"input":onInput},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}},_vm.inputListeners)),_c('dt-validation-messages',{attrs:{"validation-messages":_vm.maxSelectedMessage,"show-messages":_vm.showValidationMessages}})],1)]}},{key:"header",fn:function(){return [(_vm.$slots.header)?_c('div',{ref:"header"},[_vm._t("header")],2):_vm._e()]},proxy:true},{key:"list",fn:function(){return [_c('div',{ref:"list",on:{"mousedown":function($event){$event.preventDefault();}}},[(!_vm.loading)?_vm._t("list"):_c('div',{staticClass:"d-ta-center d-py16"},[_vm._v(" "+_vm._s(_vm.loadingMessage)+" ")])],2)]},proxy:true},{key:"footer",fn:function(){return [(_vm.$slots.footer)?_c('div',{ref:"footer"},[_vm._t("footer")],2):_vm._e()]},proxy:true}],null,true)})}
21199
- var combobox_multi_selectvue_type_template_id_cd2212ea_staticRenderFns = []
21318
+ var combobox_multi_selectvue_type_template_id_a62f00d6_staticRenderFns = []
21200
21319
 
21201
21320
 
21202
21321
  ;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select_story_constants.js
@@ -21412,6 +21531,8 @@ const CHIP_TOP_POSITION = {
21412
21531
  //
21413
21532
  //
21414
21533
  //
21534
+ //
21535
+
21415
21536
 
21416
21537
 
21417
21538
 
@@ -21568,6 +21689,18 @@ const CHIP_TOP_POSITION = {
21568
21689
  type: String,
21569
21690
  default: null,
21570
21691
  validator: t => Object.values(MULTI_SELECT_SIZES).includes(t)
21692
+ },
21693
+
21694
+ /**
21695
+ * Sets the element to which the popover is going to append to.
21696
+ * @values 'parent', HTMLElement,
21697
+ */
21698
+ appendTo: {
21699
+ type: [HTMLElement, String],
21700
+ default: () => document.body,
21701
+ validator: appendTo => {
21702
+ return POPOVER_APPEND_TO_VALUES.includes(appendTo) || appendTo instanceof HTMLElement;
21703
+ }
21571
21704
  }
21572
21705
  },
21573
21706
  emits: [
@@ -21898,8 +22031,8 @@ const CHIP_TOP_POSITION = {
21898
22031
  ;
21899
22032
  var combobox_multi_select_component = normalizeComponent(
21900
22033
  combobox_multi_select_combobox_multi_selectvue_type_script_lang_js_,
21901
- combobox_multi_selectvue_type_template_id_cd2212ea_render,
21902
- combobox_multi_selectvue_type_template_id_cd2212ea_staticRenderFns,
22034
+ combobox_multi_selectvue_type_template_id_a62f00d6_render,
22035
+ combobox_multi_selectvue_type_template_id_a62f00d6_staticRenderFns,
21903
22036
  false,
21904
22037
  null,
21905
22038
  null,
@@ -23114,6 +23247,7 @@ var grouped_chip_component = normalizeComponent(
23114
23247
 
23115
23248
 
23116
23249
 
23250
+
23117
23251
 
23118
23252
 
23119
23253
  /// Recipes