@dialpad/dialtone-vue 2.57.0 → 2.57.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.
- package/CHANGELOG.json +1 -1
- package/CHANGELOG.md +8 -0
- package/dist/dialtone-vue.common.js +39 -80
- package/dist/dialtone-vue.umd.js +39 -80
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [2.57.1](https://github.com/dialpad/dialtone-vue/compare/v2.57.0...v2.57.1) (2023-02-15)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add appendTo prop on all popover based components ([#764](https://github.com/dialpad/dialtone-vue/issues/764)) ([e11a915](https://github.com/dialpad/dialtone-vue/commit/e11a915666a9dff363ca7a489cffbb0464198ed2))
|
|
7
|
+
* **Dropdown:** remove deprecated DropdownList ([#765](https://github.com/dialpad/dialtone-vue/issues/765)) ([72edcf1](https://github.com/dialpad/dialtone-vue/commit/72edcf1edb84656ae88d37c5dfaa996cb240e6c6))
|
|
8
|
+
|
|
1
9
|
# [2.57.0](https://github.com/dialpad/dialtone-vue/compare/v2.56.1...v2.57.0) (2023-02-14)
|
|
2
10
|
|
|
3
11
|
|
|
@@ -2213,7 +2213,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
2213
2213
|
"DtCollapsible": () => (/* reexport */ collapsible),
|
|
2214
2214
|
"DtCombobox": () => (/* reexport */ combobox),
|
|
2215
2215
|
"DtDropdown": () => (/* reexport */ dropdown),
|
|
2216
|
-
"DtDropdownList": () => (/* reexport */ dropdown_list),
|
|
2217
2216
|
"DtDropdownSeparator": () => (/* reexport */ dropdown_separator),
|
|
2218
2217
|
"DtGroupableInputMixin": () => (/* reexport */ GroupableMixin),
|
|
2219
2218
|
"DtIcon": () => (/* reexport */ icon),
|
|
@@ -14320,73 +14319,6 @@ var dropdown_component = normalizeComponent(
|
|
|
14320
14319
|
)
|
|
14321
14320
|
|
|
14322
14321
|
/* harmony default export */ const dropdown = (dropdown_component.exports);
|
|
14323
|
-
;// 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&
|
|
14324
|
-
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)])}
|
|
14325
|
-
var dropdown_listvue_type_template_id_c83c6b9a_staticRenderFns = []
|
|
14326
|
-
|
|
14327
|
-
|
|
14328
|
-
;// 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/dropdown/dropdown_list.vue?vue&type=script&lang=js&
|
|
14329
|
-
//
|
|
14330
|
-
//
|
|
14331
|
-
//
|
|
14332
|
-
//
|
|
14333
|
-
//
|
|
14334
|
-
//
|
|
14335
|
-
//
|
|
14336
|
-
//
|
|
14337
|
-
//
|
|
14338
|
-
//
|
|
14339
|
-
//
|
|
14340
|
-
//
|
|
14341
|
-
//
|
|
14342
|
-
//
|
|
14343
|
-
//
|
|
14344
|
-
//
|
|
14345
|
-
//
|
|
14346
|
-
//
|
|
14347
|
-
//
|
|
14348
|
-
/* harmony default export */ const dropdown_listvue_type_script_lang_js_ = ({
|
|
14349
|
-
name: 'DtDropdownList',
|
|
14350
|
-
props: {
|
|
14351
|
-
/**
|
|
14352
|
-
* List's heading.
|
|
14353
|
-
*/
|
|
14354
|
-
heading: {
|
|
14355
|
-
type: String,
|
|
14356
|
-
default: ''
|
|
14357
|
-
},
|
|
14358
|
-
|
|
14359
|
-
/**
|
|
14360
|
-
* Additional class for the wrapper list element.
|
|
14361
|
-
*/
|
|
14362
|
-
listClass: {
|
|
14363
|
-
type: [String, Array, Object],
|
|
14364
|
-
default: ''
|
|
14365
|
-
}
|
|
14366
|
-
}
|
|
14367
|
-
});
|
|
14368
|
-
;// CONCATENATED MODULE: ./components/dropdown/dropdown_list.vue?vue&type=script&lang=js&
|
|
14369
|
-
/* harmony default export */ const dropdown_dropdown_listvue_type_script_lang_js_ = (dropdown_listvue_type_script_lang_js_);
|
|
14370
|
-
;// CONCATENATED MODULE: ./components/dropdown/dropdown_list.vue
|
|
14371
|
-
|
|
14372
|
-
|
|
14373
|
-
|
|
14374
|
-
|
|
14375
|
-
|
|
14376
|
-
/* normalize component */
|
|
14377
|
-
;
|
|
14378
|
-
var dropdown_list_component = normalizeComponent(
|
|
14379
|
-
dropdown_dropdown_listvue_type_script_lang_js_,
|
|
14380
|
-
dropdown_listvue_type_template_id_c83c6b9a_render,
|
|
14381
|
-
dropdown_listvue_type_template_id_c83c6b9a_staticRenderFns,
|
|
14382
|
-
false,
|
|
14383
|
-
null,
|
|
14384
|
-
null,
|
|
14385
|
-
null
|
|
14386
|
-
|
|
14387
|
-
)
|
|
14388
|
-
|
|
14389
|
-
/* harmony default export */ const dropdown_list = (dropdown_list_component.exports);
|
|
14390
14322
|
;// 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&
|
|
14391
14323
|
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"}})}
|
|
14392
14324
|
var dropdown_separatorvue_type_template_id_7efcdecb_staticRenderFns = []
|
|
@@ -14433,7 +14365,6 @@ var dropdown_separator_component = normalizeComponent(
|
|
|
14433
14365
|
;// CONCATENATED MODULE: ./components/dropdown/index.js
|
|
14434
14366
|
|
|
14435
14367
|
|
|
14436
|
-
|
|
14437
14368
|
;// 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&
|
|
14438
14369
|
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:[
|
|
14439
14370
|
'base-input__label-text',
|
|
@@ -20692,15 +20623,15 @@ var root_layout_component = normalizeComponent(
|
|
|
20692
20623
|
;// CONCATENATED MODULE: ./components/root_layout/index.js
|
|
20693
20624
|
|
|
20694
20625
|
|
|
20695
|
-
;// 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=
|
|
20696
|
-
var
|
|
20626
|
+
;// 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&
|
|
20627
|
+
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){
|
|
20697
20628
|
var inputProps = ref.inputProps;
|
|
20698
20629
|
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){
|
|
20699
20630
|
var opened = ref.opened;
|
|
20700
20631
|
var listProps = ref.listProps;
|
|
20701
20632
|
var clearHighlightIndex = ref.clearHighlightIndex;
|
|
20702
|
-
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))}
|
|
20703
|
-
var
|
|
20633
|
+
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))}
|
|
20634
|
+
var combobox_with_popovervue_type_template_id_8075a3ae_staticRenderFns = []
|
|
20704
20635
|
|
|
20705
20636
|
|
|
20706
20637
|
;// 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&
|
|
@@ -20809,6 +20740,8 @@ var combobox_with_popovervue_type_template_id_7027b3a3_staticRenderFns = []
|
|
|
20809
20740
|
//
|
|
20810
20741
|
//
|
|
20811
20742
|
//
|
|
20743
|
+
//
|
|
20744
|
+
|
|
20812
20745
|
|
|
20813
20746
|
|
|
20814
20747
|
|
|
@@ -21006,6 +20939,18 @@ var combobox_with_popovervue_type_template_id_7027b3a3_staticRenderFns = []
|
|
|
21006
20939
|
emptyStateMessage: {
|
|
21007
20940
|
type: String,
|
|
21008
20941
|
default: ''
|
|
20942
|
+
},
|
|
20943
|
+
|
|
20944
|
+
/**
|
|
20945
|
+
* Sets the element to which the popover is going to append to.
|
|
20946
|
+
* @values 'parent', HTMLElement,
|
|
20947
|
+
*/
|
|
20948
|
+
appendTo: {
|
|
20949
|
+
type: [HTMLElement, String],
|
|
20950
|
+
default: () => document.body,
|
|
20951
|
+
validator: appendTo => {
|
|
20952
|
+
return POPOVER_APPEND_TO_VALUES.includes(appendTo) || appendTo instanceof HTMLElement;
|
|
20953
|
+
}
|
|
21009
20954
|
}
|
|
21010
20955
|
},
|
|
21011
20956
|
emits: [
|
|
@@ -21170,8 +21115,8 @@ var combobox_with_popovervue_type_template_id_7027b3a3_staticRenderFns = []
|
|
|
21170
21115
|
;
|
|
21171
21116
|
var combobox_with_popover_component = normalizeComponent(
|
|
21172
21117
|
combobox_with_popover_combobox_with_popovervue_type_script_lang_js_,
|
|
21173
|
-
|
|
21174
|
-
|
|
21118
|
+
combobox_with_popovervue_type_template_id_8075a3ae_render,
|
|
21119
|
+
combobox_with_popovervue_type_template_id_8075a3ae_staticRenderFns,
|
|
21175
21120
|
false,
|
|
21176
21121
|
null,
|
|
21177
21122
|
null,
|
|
@@ -21182,11 +21127,11 @@ var combobox_with_popover_component = normalizeComponent(
|
|
|
21182
21127
|
/* harmony default export */ const combobox_with_popover = (combobox_with_popover_component.exports);
|
|
21183
21128
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/index.js
|
|
21184
21129
|
|
|
21185
|
-
;// 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=
|
|
21186
|
-
var
|
|
21130
|
+
;// 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&
|
|
21131
|
+
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){
|
|
21187
21132
|
var onInput = ref.onInput;
|
|
21188
21133
|
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)})}
|
|
21189
|
-
var
|
|
21134
|
+
var combobox_multi_selectvue_type_template_id_a62f00d6_staticRenderFns = []
|
|
21190
21135
|
|
|
21191
21136
|
|
|
21192
21137
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select_story_constants.js
|
|
@@ -21402,6 +21347,8 @@ const CHIP_TOP_POSITION = {
|
|
|
21402
21347
|
//
|
|
21403
21348
|
//
|
|
21404
21349
|
//
|
|
21350
|
+
//
|
|
21351
|
+
|
|
21405
21352
|
|
|
21406
21353
|
|
|
21407
21354
|
|
|
@@ -21558,6 +21505,18 @@ const CHIP_TOP_POSITION = {
|
|
|
21558
21505
|
type: String,
|
|
21559
21506
|
default: null,
|
|
21560
21507
|
validator: t => Object.values(MULTI_SELECT_SIZES).includes(t)
|
|
21508
|
+
},
|
|
21509
|
+
|
|
21510
|
+
/**
|
|
21511
|
+
* Sets the element to which the popover is going to append to.
|
|
21512
|
+
* @values 'parent', HTMLElement,
|
|
21513
|
+
*/
|
|
21514
|
+
appendTo: {
|
|
21515
|
+
type: [HTMLElement, String],
|
|
21516
|
+
default: () => document.body,
|
|
21517
|
+
validator: appendTo => {
|
|
21518
|
+
return POPOVER_APPEND_TO_VALUES.includes(appendTo) || appendTo instanceof HTMLElement;
|
|
21519
|
+
}
|
|
21561
21520
|
}
|
|
21562
21521
|
},
|
|
21563
21522
|
emits: [
|
|
@@ -21888,8 +21847,8 @@ const CHIP_TOP_POSITION = {
|
|
|
21888
21847
|
;
|
|
21889
21848
|
var combobox_multi_select_component = normalizeComponent(
|
|
21890
21849
|
combobox_multi_select_combobox_multi_selectvue_type_script_lang_js_,
|
|
21891
|
-
|
|
21892
|
-
|
|
21850
|
+
combobox_multi_selectvue_type_template_id_a62f00d6_render,
|
|
21851
|
+
combobox_multi_selectvue_type_template_id_a62f00d6_staticRenderFns,
|
|
21893
21852
|
false,
|
|
21894
21853
|
null,
|
|
21895
21854
|
null,
|
package/dist/dialtone-vue.umd.js
CHANGED
|
@@ -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),
|
|
@@ -14330,73 +14329,6 @@ var dropdown_component = normalizeComponent(
|
|
|
14330
14329
|
)
|
|
14331
14330
|
|
|
14332
14331
|
/* 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
14332
|
;// 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
14333
|
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
14334
|
var dropdown_separatorvue_type_template_id_7efcdecb_staticRenderFns = []
|
|
@@ -14443,7 +14375,6 @@ var dropdown_separator_component = normalizeComponent(
|
|
|
14443
14375
|
;// CONCATENATED MODULE: ./components/dropdown/index.js
|
|
14444
14376
|
|
|
14445
14377
|
|
|
14446
|
-
|
|
14447
14378
|
;// 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
14379
|
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
14380
|
'base-input__label-text',
|
|
@@ -20702,15 +20633,15 @@ var root_layout_component = normalizeComponent(
|
|
|
20702
20633
|
;// CONCATENATED MODULE: ./components/root_layout/index.js
|
|
20703
20634
|
|
|
20704
20635
|
|
|
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=
|
|
20706
|
-
var
|
|
20636
|
+
;// 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&
|
|
20637
|
+
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
20638
|
var inputProps = ref.inputProps;
|
|
20708
20639
|
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
20640
|
var opened = ref.opened;
|
|
20710
20641
|
var listProps = ref.listProps;
|
|
20711
20642
|
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
|
|
20643
|
+
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))}
|
|
20644
|
+
var combobox_with_popovervue_type_template_id_8075a3ae_staticRenderFns = []
|
|
20714
20645
|
|
|
20715
20646
|
|
|
20716
20647
|
;// 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 +20750,8 @@ var combobox_with_popovervue_type_template_id_7027b3a3_staticRenderFns = []
|
|
|
20819
20750
|
//
|
|
20820
20751
|
//
|
|
20821
20752
|
//
|
|
20753
|
+
//
|
|
20754
|
+
|
|
20822
20755
|
|
|
20823
20756
|
|
|
20824
20757
|
|
|
@@ -21016,6 +20949,18 @@ var combobox_with_popovervue_type_template_id_7027b3a3_staticRenderFns = []
|
|
|
21016
20949
|
emptyStateMessage: {
|
|
21017
20950
|
type: String,
|
|
21018
20951
|
default: ''
|
|
20952
|
+
},
|
|
20953
|
+
|
|
20954
|
+
/**
|
|
20955
|
+
* Sets the element to which the popover is going to append to.
|
|
20956
|
+
* @values 'parent', HTMLElement,
|
|
20957
|
+
*/
|
|
20958
|
+
appendTo: {
|
|
20959
|
+
type: [HTMLElement, String],
|
|
20960
|
+
default: () => document.body,
|
|
20961
|
+
validator: appendTo => {
|
|
20962
|
+
return POPOVER_APPEND_TO_VALUES.includes(appendTo) || appendTo instanceof HTMLElement;
|
|
20963
|
+
}
|
|
21019
20964
|
}
|
|
21020
20965
|
},
|
|
21021
20966
|
emits: [
|
|
@@ -21180,8 +21125,8 @@ var combobox_with_popovervue_type_template_id_7027b3a3_staticRenderFns = []
|
|
|
21180
21125
|
;
|
|
21181
21126
|
var combobox_with_popover_component = normalizeComponent(
|
|
21182
21127
|
combobox_with_popover_combobox_with_popovervue_type_script_lang_js_,
|
|
21183
|
-
|
|
21184
|
-
|
|
21128
|
+
combobox_with_popovervue_type_template_id_8075a3ae_render,
|
|
21129
|
+
combobox_with_popovervue_type_template_id_8075a3ae_staticRenderFns,
|
|
21185
21130
|
false,
|
|
21186
21131
|
null,
|
|
21187
21132
|
null,
|
|
@@ -21192,11 +21137,11 @@ var combobox_with_popover_component = normalizeComponent(
|
|
|
21192
21137
|
/* harmony default export */ const combobox_with_popover = (combobox_with_popover_component.exports);
|
|
21193
21138
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/index.js
|
|
21194
21139
|
|
|
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=
|
|
21196
|
-
var
|
|
21140
|
+
;// 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&
|
|
21141
|
+
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
21142
|
var onInput = ref.onInput;
|
|
21198
21143
|
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
|
|
21144
|
+
var combobox_multi_selectvue_type_template_id_a62f00d6_staticRenderFns = []
|
|
21200
21145
|
|
|
21201
21146
|
|
|
21202
21147
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select_story_constants.js
|
|
@@ -21412,6 +21357,8 @@ const CHIP_TOP_POSITION = {
|
|
|
21412
21357
|
//
|
|
21413
21358
|
//
|
|
21414
21359
|
//
|
|
21360
|
+
//
|
|
21361
|
+
|
|
21415
21362
|
|
|
21416
21363
|
|
|
21417
21364
|
|
|
@@ -21568,6 +21515,18 @@ const CHIP_TOP_POSITION = {
|
|
|
21568
21515
|
type: String,
|
|
21569
21516
|
default: null,
|
|
21570
21517
|
validator: t => Object.values(MULTI_SELECT_SIZES).includes(t)
|
|
21518
|
+
},
|
|
21519
|
+
|
|
21520
|
+
/**
|
|
21521
|
+
* Sets the element to which the popover is going to append to.
|
|
21522
|
+
* @values 'parent', HTMLElement,
|
|
21523
|
+
*/
|
|
21524
|
+
appendTo: {
|
|
21525
|
+
type: [HTMLElement, String],
|
|
21526
|
+
default: () => document.body,
|
|
21527
|
+
validator: appendTo => {
|
|
21528
|
+
return POPOVER_APPEND_TO_VALUES.includes(appendTo) || appendTo instanceof HTMLElement;
|
|
21529
|
+
}
|
|
21571
21530
|
}
|
|
21572
21531
|
},
|
|
21573
21532
|
emits: [
|
|
@@ -21898,8 +21857,8 @@ const CHIP_TOP_POSITION = {
|
|
|
21898
21857
|
;
|
|
21899
21858
|
var combobox_multi_select_component = normalizeComponent(
|
|
21900
21859
|
combobox_multi_select_combobox_multi_selectvue_type_script_lang_js_,
|
|
21901
|
-
|
|
21902
|
-
|
|
21860
|
+
combobox_multi_selectvue_type_template_id_a62f00d6_render,
|
|
21861
|
+
combobox_multi_selectvue_type_template_id_a62f00d6_staticRenderFns,
|
|
21903
21862
|
false,
|
|
21904
21863
|
null,
|
|
21905
21864
|
null,
|