@dialpad/dialtone-vue 2.56.1 → 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 +22 -0
- package/dist/component-documentation.json +1 -1
- package/dist/dialtone-vue.common.js +142 -134
- package/dist/dialtone-vue.umd.js +144 -136
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/dist/emoji.common.js +6 -1
- package/dist/emoji.umd.js +6 -1
- package/dist/emoji.umd.min.js +1 -1
- package/package.json +3 -3
|
@@ -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}", ""]);
|
|
262
262
|
// Exports
|
|
263
263
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
264
264
|
|
|
@@ -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),
|
|
@@ -3166,12 +3165,15 @@ const BADGE_KIND_MODIFIERS = {
|
|
|
3166
3165
|
label: '',
|
|
3167
3166
|
count: 'd-badge--count'
|
|
3168
3167
|
};
|
|
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=
|
|
3170
|
-
var
|
|
3171
|
-
var
|
|
3168
|
+
;// 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&
|
|
3169
|
+
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}})}
|
|
3170
|
+
var iconvue_type_template_id_7bf3355d_staticRenderFns = []
|
|
3172
3171
|
|
|
3173
3172
|
|
|
3173
|
+
;// CONCATENATED MODULE: external "@dialpad/dialtone-icons"
|
|
3174
|
+
const dialtone_icons_namespaceObject = require("@dialpad/dialtone-icons");
|
|
3174
3175
|
;// CONCATENATED MODULE: ./components/icon/icon_constants.js
|
|
3176
|
+
|
|
3175
3177
|
const ICON_SIZE_MODIFIERS = {
|
|
3176
3178
|
100: 'd-icon--size-100',
|
|
3177
3179
|
200: 'd-icon--size-200',
|
|
@@ -3182,11 +3184,11 @@ const ICON_SIZE_MODIFIERS = {
|
|
|
3182
3184
|
700: 'd-icon--size-700',
|
|
3183
3185
|
800: 'd-icon--size-800'
|
|
3184
3186
|
};
|
|
3187
|
+
const DIALTONE_ICONS = dialtone_icons_namespaceObject;
|
|
3185
3188
|
/* harmony default export */ const icon_constants = ({
|
|
3186
|
-
ICON_SIZE_MODIFIERS
|
|
3189
|
+
ICON_SIZE_MODIFIERS,
|
|
3190
|
+
DIALTONE_ICONS
|
|
3187
3191
|
});
|
|
3188
|
-
;// CONCATENATED MODULE: external "@dialpad/dialtone-icons"
|
|
3189
|
-
const dialtone_icons_namespaceObject = require("@dialpad/dialtone-icons");
|
|
3190
3192
|
;// 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
3193
|
//
|
|
3192
3194
|
//
|
|
@@ -3200,7 +3202,6 @@ const dialtone_icons_namespaceObject = require("@dialpad/dialtone-icons");
|
|
|
3200
3202
|
//
|
|
3201
3203
|
|
|
3202
3204
|
|
|
3203
|
-
|
|
3204
3205
|
/**
|
|
3205
3206
|
* The Icon component provides a set of glyphs and sizes to provide context your application.
|
|
3206
3207
|
* @see https://dialpad.design/components/icon.html
|
|
@@ -3235,13 +3236,6 @@ const dialtone_icons_namespaceObject = require("@dialpad/dialtone-icons");
|
|
|
3235
3236
|
default: undefined
|
|
3236
3237
|
}
|
|
3237
3238
|
},
|
|
3238
|
-
|
|
3239
|
-
data() {
|
|
3240
|
-
return {
|
|
3241
|
-
dialtoneIcons: dialtone_icons_namespaceObject
|
|
3242
|
-
};
|
|
3243
|
-
},
|
|
3244
|
-
|
|
3245
3239
|
computed: {
|
|
3246
3240
|
iconSize() {
|
|
3247
3241
|
return ICON_SIZE_MODIFIERS[this.size];
|
|
@@ -3252,7 +3246,7 @@ const dialtone_icons_namespaceObject = require("@dialpad/dialtone-icons");
|
|
|
3252
3246
|
},
|
|
3253
3247
|
|
|
3254
3248
|
currentIcon() {
|
|
3255
|
-
return
|
|
3249
|
+
return DIALTONE_ICONS[this.iconName];
|
|
3256
3250
|
}
|
|
3257
3251
|
|
|
3258
3252
|
}
|
|
@@ -3269,8 +3263,8 @@ const dialtone_icons_namespaceObject = require("@dialpad/dialtone-icons");
|
|
|
3269
3263
|
;
|
|
3270
3264
|
var icon_component = normalizeComponent(
|
|
3271
3265
|
icon_iconvue_type_script_lang_js_,
|
|
3272
|
-
|
|
3273
|
-
|
|
3266
|
+
iconvue_type_template_id_7bf3355d_render,
|
|
3267
|
+
iconvue_type_template_id_7bf3355d_staticRenderFns,
|
|
3274
3268
|
false,
|
|
3275
3269
|
null,
|
|
3276
3270
|
null,
|
|
@@ -5610,13 +5604,13 @@ var combobox_loading_listvue_type_template_id_07d9971d_render = function () {var
|
|
|
5610
5604
|
var combobox_loading_listvue_type_template_id_07d9971d_staticRenderFns = []
|
|
5611
5605
|
|
|
5612
5606
|
|
|
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=
|
|
5614
|
-
var
|
|
5607
|
+
;// 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&
|
|
5608
|
+
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
5609
|
'dt-list-item--focusable': _vm.isFocusable,
|
|
5616
5610
|
'dt-list-item--highlighted': _vm.isHighlighted,
|
|
5617
5611
|
'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
|
|
5612
|
+
}],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)}
|
|
5613
|
+
var list_itemvue_type_template_id_b658c946_staticRenderFns = []
|
|
5620
5614
|
|
|
5621
5615
|
|
|
5622
5616
|
;// CONCATENATED MODULE: ./components/list_item/list_item_constants.js
|
|
@@ -5633,9 +5627,9 @@ const LIST_ITEM_NAVIGATION_TYPES = {
|
|
|
5633
5627
|
LIST_ITEM_TYPES,
|
|
5634
5628
|
LIST_ITEM_NAVIGATION_TYPES
|
|
5635
5629
|
});
|
|
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=
|
|
5637
|
-
var
|
|
5638
|
-
var
|
|
5630
|
+
;// 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&
|
|
5631
|
+
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)}
|
|
5632
|
+
var default_list_itemvue_type_template_id_2e45cfbd_staticRenderFns = []
|
|
5639
5633
|
|
|
5640
5634
|
|
|
5641
5635
|
;// 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 +5676,7 @@ var default_list_itemvue_type_template_id_19664905_staticRenderFns = []
|
|
|
5682
5676
|
//
|
|
5683
5677
|
//
|
|
5684
5678
|
//
|
|
5679
|
+
//
|
|
5685
5680
|
/* harmony default export */ const default_list_itemvue_type_script_lang_js_ = ({
|
|
5686
5681
|
name: 'DefaultListItem'
|
|
5687
5682
|
});
|
|
@@ -5702,8 +5697,8 @@ var default_list_itemvue_type_style_index_0_lang_less_ = __webpack_require__(986
|
|
|
5702
5697
|
|
|
5703
5698
|
var default_list_item_component = normalizeComponent(
|
|
5704
5699
|
list_item_default_list_itemvue_type_script_lang_js_,
|
|
5705
|
-
|
|
5706
|
-
|
|
5700
|
+
default_list_itemvue_type_template_id_2e45cfbd_render,
|
|
5701
|
+
default_list_itemvue_type_template_id_2e45cfbd_staticRenderFns,
|
|
5707
5702
|
false,
|
|
5708
5703
|
null,
|
|
5709
5704
|
null,
|
|
@@ -5745,6 +5740,17 @@ var default_list_item_component = normalizeComponent(
|
|
|
5745
5740
|
//
|
|
5746
5741
|
//
|
|
5747
5742
|
//
|
|
5743
|
+
//
|
|
5744
|
+
//
|
|
5745
|
+
//
|
|
5746
|
+
//
|
|
5747
|
+
//
|
|
5748
|
+
//
|
|
5749
|
+
//
|
|
5750
|
+
//
|
|
5751
|
+
//
|
|
5752
|
+
//
|
|
5753
|
+
|
|
5748
5754
|
|
|
5749
5755
|
|
|
5750
5756
|
|
|
@@ -5756,7 +5762,8 @@ var default_list_item_component = normalizeComponent(
|
|
|
5756
5762
|
/* harmony default export */ const list_itemvue_type_script_lang_js_ = ({
|
|
5757
5763
|
name: 'ListItem',
|
|
5758
5764
|
components: {
|
|
5759
|
-
DtDefaultListItem: default_list_item
|
|
5765
|
+
DtDefaultListItem: default_list_item,
|
|
5766
|
+
DtIcon: icon
|
|
5760
5767
|
},
|
|
5761
5768
|
|
|
5762
5769
|
/**
|
|
@@ -5817,6 +5824,14 @@ var default_list_item_component = normalizeComponent(
|
|
|
5817
5824
|
type: String,
|
|
5818
5825
|
default: LIST_ITEM_NAVIGATION_TYPES.NONE,
|
|
5819
5826
|
validator: t => Object.values(LIST_ITEM_NAVIGATION_TYPES).includes(t)
|
|
5827
|
+
},
|
|
5828
|
+
|
|
5829
|
+
/**
|
|
5830
|
+
* Applies selected styles to the list item
|
|
5831
|
+
*/
|
|
5832
|
+
selected: {
|
|
5833
|
+
type: Boolean,
|
|
5834
|
+
default: false
|
|
5820
5835
|
}
|
|
5821
5836
|
},
|
|
5822
5837
|
emits: [
|
|
@@ -5944,8 +5959,8 @@ var list_itemvue_type_style_index_0_lang_less_ = __webpack_require__(502);
|
|
|
5944
5959
|
|
|
5945
5960
|
var list_item_component = normalizeComponent(
|
|
5946
5961
|
list_item_list_itemvue_type_script_lang_js_,
|
|
5947
|
-
|
|
5948
|
-
|
|
5962
|
+
list_itemvue_type_template_id_b658c946_render,
|
|
5963
|
+
list_itemvue_type_template_id_b658c946_staticRenderFns,
|
|
5949
5964
|
false,
|
|
5950
5965
|
null,
|
|
5951
5966
|
null,
|
|
@@ -7464,9 +7479,9 @@ var collapsiblevue_type_template_id_280f6c34_render = function () {var _vm=this;
|
|
|
7464
7479
|
var collapsiblevue_type_template_id_280f6c34_staticRenderFns = []
|
|
7465
7480
|
|
|
7466
7481
|
|
|
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=
|
|
7468
|
-
var
|
|
7469
|
-
var
|
|
7482
|
+
;// 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&
|
|
7483
|
+
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)}
|
|
7484
|
+
var collapsible_lazy_showvue_type_template_id_3ceeeccc_staticRenderFns = []
|
|
7470
7485
|
|
|
7471
7486
|
|
|
7472
7487
|
;// 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 +7510,7 @@ var collapsible_lazy_showvue_type_template_id_7a3b1f44_staticRenderFns = []
|
|
|
7495
7510
|
//
|
|
7496
7511
|
//
|
|
7497
7512
|
//
|
|
7513
|
+
//
|
|
7498
7514
|
/* harmony default export */ const collapsible_lazy_showvue_type_script_lang_js_ = ({
|
|
7499
7515
|
name: 'DtCollapsibleLazyShow',
|
|
7500
7516
|
|
|
@@ -7536,6 +7552,22 @@ var collapsible_lazy_showvue_type_template_id_7a3b1f44_staticRenderFns = []
|
|
|
7536
7552
|
};
|
|
7537
7553
|
},
|
|
7538
7554
|
|
|
7555
|
+
/******************
|
|
7556
|
+
* COMPUTED *
|
|
7557
|
+
******************/
|
|
7558
|
+
computed: {
|
|
7559
|
+
/**
|
|
7560
|
+
* Set the css property to false when running tests only.
|
|
7561
|
+
* Refer to: https://vuejs.org/guide/built-ins/transition.html#javascript-hooks for details about
|
|
7562
|
+
* transition `css` property
|
|
7563
|
+
* @returns {boolean}
|
|
7564
|
+
*/
|
|
7565
|
+
isCSSEnabled() {
|
|
7566
|
+
return "production" !== 'test';
|
|
7567
|
+
}
|
|
7568
|
+
|
|
7569
|
+
},
|
|
7570
|
+
|
|
7539
7571
|
/******************
|
|
7540
7572
|
* WATCH *
|
|
7541
7573
|
******************/
|
|
@@ -7625,8 +7657,8 @@ var collapsible_lazy_showvue_type_style_index_0_lang_css_ = __webpack_require__(
|
|
|
7625
7657
|
|
|
7626
7658
|
var collapsible_lazy_show_component = normalizeComponent(
|
|
7627
7659
|
collapsible_collapsible_lazy_showvue_type_script_lang_js_,
|
|
7628
|
-
|
|
7629
|
-
|
|
7660
|
+
collapsible_lazy_showvue_type_template_id_3ceeeccc_render,
|
|
7661
|
+
collapsible_lazy_showvue_type_template_id_3ceeeccc_staticRenderFns,
|
|
7630
7662
|
false,
|
|
7631
7663
|
null,
|
|
7632
7664
|
null,
|
|
@@ -7635,9 +7667,9 @@ var collapsible_lazy_show_component = normalizeComponent(
|
|
|
7635
7667
|
)
|
|
7636
7668
|
|
|
7637
7669
|
/* 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=
|
|
7639
|
-
var
|
|
7640
|
-
var
|
|
7670
|
+
;// 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&
|
|
7671
|
+
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)])}
|
|
7672
|
+
var lazy_showvue_type_template_id_25070b78_staticRenderFns = []
|
|
7641
7673
|
|
|
7642
7674
|
|
|
7643
7675
|
;// 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 +7690,7 @@ var lazy_showvue_type_template_id_68041c9d_staticRenderFns = []
|
|
|
7658
7690
|
//
|
|
7659
7691
|
//
|
|
7660
7692
|
//
|
|
7693
|
+
//
|
|
7661
7694
|
|
|
7662
7695
|
/**
|
|
7663
7696
|
* Lazy Show is a utility component that prevents its children from being rendered until the first time it is shown.
|
|
@@ -7706,6 +7739,19 @@ var lazy_showvue_type_template_id_68041c9d_staticRenderFns = []
|
|
|
7706
7739
|
};
|
|
7707
7740
|
},
|
|
7708
7741
|
|
|
7742
|
+
computed: {
|
|
7743
|
+
/**
|
|
7744
|
+
* Set the css property to false when running tests only.
|
|
7745
|
+
* Refer to: https://vuejs.org/guide/built-ins/transition.html#javascript-hooks for details about
|
|
7746
|
+
* transition `css` property
|
|
7747
|
+
* @returns {boolean}
|
|
7748
|
+
*/
|
|
7749
|
+
isCSSEnabled() {
|
|
7750
|
+
return "production" !== 'test';
|
|
7751
|
+
}
|
|
7752
|
+
|
|
7753
|
+
},
|
|
7754
|
+
|
|
7709
7755
|
/******************
|
|
7710
7756
|
* WATCH *
|
|
7711
7757
|
******************/
|
|
@@ -7728,8 +7774,8 @@ var lazy_showvue_type_template_id_68041c9d_staticRenderFns = []
|
|
|
7728
7774
|
;
|
|
7729
7775
|
var lazy_show_component = normalizeComponent(
|
|
7730
7776
|
lazy_show_lazy_showvue_type_script_lang_js_,
|
|
7731
|
-
|
|
7732
|
-
|
|
7777
|
+
lazy_showvue_type_template_id_25070b78_render,
|
|
7778
|
+
lazy_showvue_type_template_id_25070b78_staticRenderFns,
|
|
7733
7779
|
false,
|
|
7734
7780
|
null,
|
|
7735
7781
|
null,
|
|
@@ -14273,73 +14319,6 @@ var dropdown_component = normalizeComponent(
|
|
|
14273
14319
|
)
|
|
14274
14320
|
|
|
14275
14321
|
/* harmony default export */ const dropdown = (dropdown_component.exports);
|
|
14276
|
-
;// 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&
|
|
14277
|
-
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)])}
|
|
14278
|
-
var dropdown_listvue_type_template_id_c83c6b9a_staticRenderFns = []
|
|
14279
|
-
|
|
14280
|
-
|
|
14281
|
-
;// 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&
|
|
14282
|
-
//
|
|
14283
|
-
//
|
|
14284
|
-
//
|
|
14285
|
-
//
|
|
14286
|
-
//
|
|
14287
|
-
//
|
|
14288
|
-
//
|
|
14289
|
-
//
|
|
14290
|
-
//
|
|
14291
|
-
//
|
|
14292
|
-
//
|
|
14293
|
-
//
|
|
14294
|
-
//
|
|
14295
|
-
//
|
|
14296
|
-
//
|
|
14297
|
-
//
|
|
14298
|
-
//
|
|
14299
|
-
//
|
|
14300
|
-
//
|
|
14301
|
-
/* harmony default export */ const dropdown_listvue_type_script_lang_js_ = ({
|
|
14302
|
-
name: 'DtDropdownList',
|
|
14303
|
-
props: {
|
|
14304
|
-
/**
|
|
14305
|
-
* List's heading.
|
|
14306
|
-
*/
|
|
14307
|
-
heading: {
|
|
14308
|
-
type: String,
|
|
14309
|
-
default: ''
|
|
14310
|
-
},
|
|
14311
|
-
|
|
14312
|
-
/**
|
|
14313
|
-
* Additional class for the wrapper list element.
|
|
14314
|
-
*/
|
|
14315
|
-
listClass: {
|
|
14316
|
-
type: [String, Array, Object],
|
|
14317
|
-
default: ''
|
|
14318
|
-
}
|
|
14319
|
-
}
|
|
14320
|
-
});
|
|
14321
|
-
;// CONCATENATED MODULE: ./components/dropdown/dropdown_list.vue?vue&type=script&lang=js&
|
|
14322
|
-
/* harmony default export */ const dropdown_dropdown_listvue_type_script_lang_js_ = (dropdown_listvue_type_script_lang_js_);
|
|
14323
|
-
;// CONCATENATED MODULE: ./components/dropdown/dropdown_list.vue
|
|
14324
|
-
|
|
14325
|
-
|
|
14326
|
-
|
|
14327
|
-
|
|
14328
|
-
|
|
14329
|
-
/* normalize component */
|
|
14330
|
-
;
|
|
14331
|
-
var dropdown_list_component = normalizeComponent(
|
|
14332
|
-
dropdown_dropdown_listvue_type_script_lang_js_,
|
|
14333
|
-
dropdown_listvue_type_template_id_c83c6b9a_render,
|
|
14334
|
-
dropdown_listvue_type_template_id_c83c6b9a_staticRenderFns,
|
|
14335
|
-
false,
|
|
14336
|
-
null,
|
|
14337
|
-
null,
|
|
14338
|
-
null
|
|
14339
|
-
|
|
14340
|
-
)
|
|
14341
|
-
|
|
14342
|
-
/* harmony default export */ const dropdown_list = (dropdown_list_component.exports);
|
|
14343
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&
|
|
14344
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"}})}
|
|
14345
14324
|
var dropdown_separatorvue_type_template_id_7efcdecb_staticRenderFns = []
|
|
@@ -14386,7 +14365,6 @@ var dropdown_separator_component = normalizeComponent(
|
|
|
14386
14365
|
;// CONCATENATED MODULE: ./components/dropdown/index.js
|
|
14387
14366
|
|
|
14388
14367
|
|
|
14389
|
-
|
|
14390
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&
|
|
14391
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:[
|
|
14392
14370
|
'base-input__label-text',
|
|
@@ -20240,9 +20218,9 @@ var root_layoutvue_type_template_id_29e484da_render = function () {var _vm=this;
|
|
|
20240
20218
|
var root_layoutvue_type_template_id_29e484da_staticRenderFns = []
|
|
20241
20219
|
|
|
20242
20220
|
|
|
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=
|
|
20244
|
-
var
|
|
20245
|
-
var
|
|
20221
|
+
;// 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&
|
|
20222
|
+
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()])}
|
|
20223
|
+
var root_layout_bodyvue_type_template_id_031febe5_staticRenderFns = []
|
|
20246
20224
|
|
|
20247
20225
|
|
|
20248
20226
|
;// CONCATENATED MODULE: ./components/root_layout/root_layout_constants.js
|
|
@@ -20283,6 +20261,8 @@ const ROOT_LAYOUT_SIDEBAR_POSITIONS = {
|
|
|
20283
20261
|
//
|
|
20284
20262
|
//
|
|
20285
20263
|
//
|
|
20264
|
+
//
|
|
20265
|
+
//
|
|
20286
20266
|
|
|
20287
20267
|
/* harmony default export */ const root_layout_bodyvue_type_script_lang_js_ = ({
|
|
20288
20268
|
name: 'DtRootLayoutBody',
|
|
@@ -20370,21 +20350,19 @@ const ROOT_LAYOUT_SIDEBAR_POSITIONS = {
|
|
|
20370
20350
|
|
|
20371
20351
|
mainHeight() {
|
|
20372
20352
|
if (this.fixed) {
|
|
20373
|
-
return `calc(${this.documentHeight}
|
|
20374
|
-
- (${this.headerHeight} + ${this.extraSidebarHeight} + ${this.footerHeight}))`;
|
|
20353
|
+
return `calc(${this.documentHeight} - (${this.headerHeight} + ${this.footerHeight}))`;
|
|
20375
20354
|
}
|
|
20376
20355
|
|
|
20377
20356
|
return null;
|
|
20378
20357
|
},
|
|
20379
20358
|
|
|
20380
|
-
// When the sidebar is above the header due to contentWrapWidthPercent
|
|
20381
|
-
|
|
20382
|
-
extraSidebarHeight() {
|
|
20359
|
+
// When the sidebar is above the header due to contentWrapWidthPercent it is considered to be in mobile mode.
|
|
20360
|
+
isInMobileMode() {
|
|
20383
20361
|
if (this.contentTop > this.sidebarTop) {
|
|
20384
|
-
return
|
|
20362
|
+
return true;
|
|
20385
20363
|
}
|
|
20386
20364
|
|
|
20387
|
-
return
|
|
20365
|
+
return false;
|
|
20388
20366
|
}
|
|
20389
20367
|
|
|
20390
20368
|
},
|
|
@@ -20406,8 +20384,10 @@ const ROOT_LAYOUT_SIDEBAR_POSITIONS = {
|
|
|
20406
20384
|
},
|
|
20407
20385
|
|
|
20408
20386
|
getElementTops() {
|
|
20409
|
-
|
|
20410
|
-
|
|
20387
|
+
var _this$$refs$rootLayo, _this$$refs$rootLayo2;
|
|
20388
|
+
|
|
20389
|
+
this.sidebarTop = (_this$$refs$rootLayo = this.$refs['root-layout-sidebar']) === null || _this$$refs$rootLayo === void 0 ? void 0 : _this$$refs$rootLayo.offsetTop;
|
|
20390
|
+
this.contentTop = (_this$$refs$rootLayo2 = this.$refs['root-layout-content']) === null || _this$$refs$rootLayo2 === void 0 ? void 0 : _this$$refs$rootLayo2.offsetTop;
|
|
20411
20391
|
},
|
|
20412
20392
|
|
|
20413
20393
|
getDocumentHeight() {
|
|
@@ -20433,8 +20413,8 @@ var root_layout_bodyvue_type_style_index_0_lang_less_ = __webpack_require__(125)
|
|
|
20433
20413
|
|
|
20434
20414
|
var root_layout_body_component = normalizeComponent(
|
|
20435
20415
|
root_layout_root_layout_bodyvue_type_script_lang_js_,
|
|
20436
|
-
|
|
20437
|
-
|
|
20416
|
+
root_layout_bodyvue_type_template_id_031febe5_render,
|
|
20417
|
+
root_layout_bodyvue_type_template_id_031febe5_staticRenderFns,
|
|
20438
20418
|
false,
|
|
20439
20419
|
null,
|
|
20440
20420
|
null,
|
|
@@ -20643,15 +20623,15 @@ var root_layout_component = normalizeComponent(
|
|
|
20643
20623
|
;// CONCATENATED MODULE: ./components/root_layout/index.js
|
|
20644
20624
|
|
|
20645
20625
|
|
|
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=
|
|
20647
|
-
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){
|
|
20648
20628
|
var inputProps = ref.inputProps;
|
|
20649
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){
|
|
20650
20630
|
var opened = ref.opened;
|
|
20651
20631
|
var listProps = ref.listProps;
|
|
20652
20632
|
var clearHighlightIndex = ref.clearHighlightIndex;
|
|
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))}
|
|
20654
|
-
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 = []
|
|
20655
20635
|
|
|
20656
20636
|
|
|
20657
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&
|
|
@@ -20760,6 +20740,8 @@ var combobox_with_popovervue_type_template_id_7027b3a3_staticRenderFns = []
|
|
|
20760
20740
|
//
|
|
20761
20741
|
//
|
|
20762
20742
|
//
|
|
20743
|
+
//
|
|
20744
|
+
|
|
20763
20745
|
|
|
20764
20746
|
|
|
20765
20747
|
|
|
@@ -20957,6 +20939,18 @@ var combobox_with_popovervue_type_template_id_7027b3a3_staticRenderFns = []
|
|
|
20957
20939
|
emptyStateMessage: {
|
|
20958
20940
|
type: String,
|
|
20959
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
|
+
}
|
|
20960
20954
|
}
|
|
20961
20955
|
},
|
|
20962
20956
|
emits: [
|
|
@@ -21121,8 +21115,8 @@ var combobox_with_popovervue_type_template_id_7027b3a3_staticRenderFns = []
|
|
|
21121
21115
|
;
|
|
21122
21116
|
var combobox_with_popover_component = normalizeComponent(
|
|
21123
21117
|
combobox_with_popover_combobox_with_popovervue_type_script_lang_js_,
|
|
21124
|
-
|
|
21125
|
-
|
|
21118
|
+
combobox_with_popovervue_type_template_id_8075a3ae_render,
|
|
21119
|
+
combobox_with_popovervue_type_template_id_8075a3ae_staticRenderFns,
|
|
21126
21120
|
false,
|
|
21127
21121
|
null,
|
|
21128
21122
|
null,
|
|
@@ -21133,11 +21127,11 @@ var combobox_with_popover_component = normalizeComponent(
|
|
|
21133
21127
|
/* harmony default export */ const combobox_with_popover = (combobox_with_popover_component.exports);
|
|
21134
21128
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/index.js
|
|
21135
21129
|
|
|
21136
|
-
;// 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=
|
|
21137
|
-
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){
|
|
21138
21132
|
var onInput = ref.onInput;
|
|
21139
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)})}
|
|
21140
|
-
var
|
|
21134
|
+
var combobox_multi_selectvue_type_template_id_a62f00d6_staticRenderFns = []
|
|
21141
21135
|
|
|
21142
21136
|
|
|
21143
21137
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select_story_constants.js
|
|
@@ -21353,6 +21347,8 @@ const CHIP_TOP_POSITION = {
|
|
|
21353
21347
|
//
|
|
21354
21348
|
//
|
|
21355
21349
|
//
|
|
21350
|
+
//
|
|
21351
|
+
|
|
21356
21352
|
|
|
21357
21353
|
|
|
21358
21354
|
|
|
@@ -21509,6 +21505,18 @@ const CHIP_TOP_POSITION = {
|
|
|
21509
21505
|
type: String,
|
|
21510
21506
|
default: null,
|
|
21511
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
|
+
}
|
|
21512
21520
|
}
|
|
21513
21521
|
},
|
|
21514
21522
|
emits: [
|
|
@@ -21839,8 +21847,8 @@ const CHIP_TOP_POSITION = {
|
|
|
21839
21847
|
;
|
|
21840
21848
|
var combobox_multi_select_component = normalizeComponent(
|
|
21841
21849
|
combobox_multi_select_combobox_multi_selectvue_type_script_lang_js_,
|
|
21842
|
-
|
|
21843
|
-
|
|
21850
|
+
combobox_multi_selectvue_type_template_id_a62f00d6_render,
|
|
21851
|
+
combobox_multi_selectvue_type_template_id_a62f00d6_staticRenderFns,
|
|
21844
21852
|
false,
|
|
21845
21853
|
null,
|
|
21846
21854
|
null,
|