@dialpad/dialtone-vue 2.48.0 → 2.49.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/dist/dialtone-vue.common.js +129 -95
- package/dist/dialtone-vue.umd.js +127 -93
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/package.json +3 -3
|
@@ -563,7 +563,7 @@ var xorwow = __webpack_require__(801);
|
|
|
563
563
|
// with 256 bits, that passes BigCrush with no systmatic failures.
|
|
564
564
|
// Period 2^256-1.
|
|
565
565
|
// No systematic BigCrush failures reported.
|
|
566
|
-
var xorshift7 = __webpack_require__(
|
|
566
|
+
var xorshift7 = __webpack_require__(30);
|
|
567
567
|
|
|
568
568
|
// xor4096, by Richard Brent, is a 4096-bit xor-shift with a
|
|
569
569
|
// very long period that also adds a Weyl generator. It also passes
|
|
@@ -1077,7 +1077,7 @@ if (module && module.exports) {
|
|
|
1077
1077
|
|
|
1078
1078
|
/***/ }),
|
|
1079
1079
|
|
|
1080
|
-
/***/
|
|
1080
|
+
/***/ 30:
|
|
1081
1081
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1082
1082
|
|
|
1083
1083
|
/* module decorator */ module = __webpack_require__.nmd(module);
|
|
@@ -7999,19 +7999,19 @@ return [_c('ul',{ref:"listWrapper",class:_vm.listClasses,attrs:{"id":_vm.listId,
|
|
|
7999
7999
|
var dropdownvue_type_template_id_70cb2bdc_staticRenderFns = []
|
|
8000
8000
|
|
|
8001
8001
|
|
|
8002
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/popover/popover.vue?vue&type=template&id=
|
|
8003
|
-
var
|
|
8002
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/popover/popover.vue?vue&type=template&id=47e76c3e&
|
|
8003
|
+
var popovervue_type_template_id_47e76c3e_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.modal && _vm.isOpen)?_c('portal',[_c('div',{staticClass:"d-modal--transparent",attrs:{"aria-hidden":_vm.modal && _vm.isOpen ? 'false' : 'true'},on:{"click":function($event){$event.preventDefault();$event.stopPropagation();}}})]):_vm._e(),_c(_vm.elementType,_vm._g({ref:"popover",tag:"component",class:['d-popover', { 'd-popover__anchor--opened': _vm.isOpen }],attrs:{"data-qa":"dt-popover-container"}},_vm.$listeners),[_c('div',{ref:"anchor",attrs:{"id":!_vm.ariaLabelledby && _vm.labelledBy,"data-qa":"dt-popover-anchor","tabindex":_vm.openOnContext ? 0 : undefined},on:{"!click":function($event){return _vm.defaultToggleOpen.apply(null, arguments)},"contextmenu":_vm.onContext,"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"up",38,$event.key,["Up","ArrowUp"])){ return null; }$event.preventDefault();return _vm.onArrowKeyPress.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"down",40,$event.key,["Down","ArrowDown"])){ return null; }$event.preventDefault();return _vm.onArrowKeyPress.apply(null, arguments)}],"!keydown":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"escape",undefined,$event.key,undefined)){ return null; }return _vm.closePopover.apply(null, arguments)}}},[_vm._t("anchor",null,{"attrs":{
|
|
8004
8004
|
'aria-expanded': _vm.isOpen.toString(),
|
|
8005
8005
|
'aria-controls': _vm.id,
|
|
8006
8006
|
'aria-haspopup': _vm.role,
|
|
8007
8007
|
}})],2),_c('dt-lazy-show',_vm._g({ref:"content",class:['d-popover__dialog', { 'd-popover__dialog--modal': _vm.modal }, _vm.dialogClass],style:({
|
|
8008
8008
|
'max-height': _vm.maxHeight,
|
|
8009
8009
|
'max-width': _vm.maxWidth,
|
|
8010
|
-
}),attrs:{"id":_vm.id,"role":_vm.role,"data-qa":"dt-popover","aria-hidden":("" + (!_vm.isOpen)),"aria-labelledby":_vm.labelledBy,"aria-label":_vm.ariaLabel,"aria-modal":("" + (!_vm.modal)),"transition":_vm.transition,"show":_vm.isOpen,"tabindex":_vm.contentTabindex,"appear":""}
|
|
8010
|
+
}),attrs:{"id":_vm.id,"role":_vm.role,"data-qa":"dt-popover","aria-hidden":("" + (!_vm.isOpen)),"aria-labelledby":_vm.labelledBy,"aria-label":_vm.ariaLabel,"aria-modal":("" + (!_vm.modal)),"transition":_vm.transition,"show":_vm.isOpen,"tabindex":_vm.contentTabindex,"appear":""}},_vm.popoverListeners),[(_vm.$slots.headerContent || _vm.showCloseButton)?_c('popover-header-footer',{ref:"popover__header",class:_vm.POPOVER_HEADER_FOOTER_PADDING_CLASSES[_vm.padding],attrs:{"content-class":_vm.headerClass,"type":"header","show-close-button":_vm.showCloseButton,"close-button-props":_vm.closeButtonProps},on:{"close":_vm.closePopover},scopedSlots:_vm._u([{key:"content",fn:function(){return [_vm._t("headerContent",null,{"close":_vm.closePopover})]},proxy:true}],null,true)}):_vm._e(),_c('div',{ref:"popover__content",class:[
|
|
8011
8011
|
'd-popover__content',
|
|
8012
8012
|
_vm.POPOVER_PADDING_CLASSES[_vm.padding],
|
|
8013
8013
|
_vm.contentClass ],attrs:{"data-qa":"dt-popover-content"}},[_vm._t("content",null,{"close":_vm.closePopover})],2),(_vm.$slots.footerContent)?_c('popover-header-footer',{ref:"popover__footer",class:_vm.POPOVER_HEADER_FOOTER_PADDING_CLASSES[_vm.padding],attrs:{"type":"footer","content-class":_vm.footerClass},scopedSlots:_vm._u([{key:"content",fn:function(){return [_vm._t("footerContent",null,{"close":_vm.closePopover})]},proxy:true}],null,true)}):_vm._e(),(_vm.showVisuallyHiddenClose)?_c('sr-only-close-button',{attrs:{"visually-hidden-close-label":_vm.visuallyHiddenCloseLabel},on:{"close":_vm.closePopover}}):_vm._e()],1)],1)],1)}
|
|
8014
|
-
var
|
|
8014
|
+
var popovervue_type_template_id_47e76c3e_staticRenderFns = []
|
|
8015
8015
|
|
|
8016
8016
|
|
|
8017
8017
|
;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js
|
|
@@ -12959,8 +12959,6 @@ var popover_header_footer_component = normalizeComponent(
|
|
|
12959
12959
|
//
|
|
12960
12960
|
//
|
|
12961
12961
|
//
|
|
12962
|
-
//
|
|
12963
|
-
//
|
|
12964
12962
|
|
|
12965
12963
|
/* eslint-disable max-lines */
|
|
12966
12964
|
|
|
@@ -13365,39 +13363,49 @@ var popover_header_footer_component = normalizeComponent(
|
|
|
13365
13363
|
},
|
|
13366
13364
|
|
|
13367
13365
|
modal(modal) {
|
|
13368
|
-
|
|
13369
|
-
|
|
13366
|
+
var _this$tip;
|
|
13367
|
+
|
|
13368
|
+
(_this$tip = this.tip) === null || _this$tip === void 0 ? void 0 : _this$tip.setProps({
|
|
13369
|
+
zIndex: modal ? 650 : this.calculateAnchorZindex()
|
|
13370
13370
|
});
|
|
13371
13371
|
},
|
|
13372
13372
|
|
|
13373
13373
|
offset(offset) {
|
|
13374
|
-
|
|
13374
|
+
var _this$tip2;
|
|
13375
|
+
|
|
13376
|
+
(_this$tip2 = this.tip) === null || _this$tip2 === void 0 ? void 0 : _this$tip2.setProps({
|
|
13375
13377
|
offset
|
|
13376
13378
|
});
|
|
13377
13379
|
},
|
|
13378
13380
|
|
|
13379
13381
|
sticky(sticky) {
|
|
13380
|
-
|
|
13382
|
+
var _this$tip3;
|
|
13383
|
+
|
|
13384
|
+
(_this$tip3 = this.tip) === null || _this$tip3 === void 0 ? void 0 : _this$tip3.setProps({
|
|
13381
13385
|
sticky
|
|
13382
13386
|
});
|
|
13383
13387
|
},
|
|
13384
13388
|
|
|
13385
13389
|
fallbackPlacements() {
|
|
13386
|
-
|
|
13390
|
+
var _this$tip4;
|
|
13391
|
+
|
|
13392
|
+
(_this$tip4 = this.tip) === null || _this$tip4 === void 0 ? void 0 : _this$tip4.setProps({
|
|
13387
13393
|
popperOptions: this.popperOptions()
|
|
13388
13394
|
});
|
|
13389
13395
|
},
|
|
13390
13396
|
|
|
13391
13397
|
tether() {
|
|
13392
|
-
|
|
13398
|
+
var _this$tip5;
|
|
13399
|
+
|
|
13400
|
+
(_this$tip5 = this.tip) === null || _this$tip5 === void 0 ? void 0 : _this$tip5.setProps({
|
|
13393
13401
|
popperOptions: this.popperOptions()
|
|
13394
13402
|
});
|
|
13395
13403
|
},
|
|
13396
13404
|
|
|
13397
13405
|
placement(placement) {
|
|
13398
|
-
var _this$
|
|
13406
|
+
var _this$tip6;
|
|
13399
13407
|
|
|
13400
|
-
(_this$
|
|
13408
|
+
(_this$tip6 = this.tip) === null || _this$tip6 === void 0 ? void 0 : _this$tip6.setProps({
|
|
13401
13409
|
placement
|
|
13402
13410
|
});
|
|
13403
13411
|
},
|
|
@@ -13413,13 +13421,9 @@ var popover_header_footer_component = normalizeComponent(
|
|
|
13413
13421
|
|
|
13414
13422
|
isOpen(isOpen, isPrev) {
|
|
13415
13423
|
if (isOpen) {
|
|
13416
|
-
this.
|
|
13417
|
-
zIndex: this.modal ? 650 : this.calculateAnchorZindex()
|
|
13418
|
-
});
|
|
13419
|
-
this.tip.show();
|
|
13420
|
-
this.addClosePopoverEventListener();
|
|
13424
|
+
this.initTippyInstance();
|
|
13421
13425
|
} else if (!isOpen && isPrev !== isOpen) {
|
|
13422
|
-
this.
|
|
13426
|
+
this.removeEventListeners();
|
|
13423
13427
|
this.tip.hide();
|
|
13424
13428
|
}
|
|
13425
13429
|
}
|
|
@@ -13427,45 +13431,21 @@ var popover_header_footer_component = normalizeComponent(
|
|
|
13427
13431
|
},
|
|
13428
13432
|
|
|
13429
13433
|
mounted() {
|
|
13430
|
-
// support single anchor for popover, not multi anchor
|
|
13431
13434
|
const externalAnchorEl = document.getElementById(this.externalAnchor);
|
|
13432
13435
|
this.anchorEl = externalAnchorEl !== null && externalAnchorEl !== void 0 ? externalAnchorEl : this.$refs.anchor.children[0];
|
|
13433
|
-
this.popoverContentEl = this.$refs.content.$el;
|
|
13434
|
-
|
|
13435
|
-
if (this.contentWidth === 'anchor') {
|
|
13436
|
-
window.addEventListener('resize', this.onResize);
|
|
13437
|
-
}
|
|
13438
|
-
|
|
13439
|
-
this.tip = tippy_utils_createTippy(this.anchorEl, {
|
|
13440
|
-
popperOptions: this.popperOptions(),
|
|
13441
|
-
contentElement: this.popoverContentEl,
|
|
13442
|
-
placement: this.placement,
|
|
13443
|
-
offset: this.offset,
|
|
13444
|
-
sticky: this.sticky,
|
|
13445
|
-
appendTo: this.appendTo,
|
|
13446
|
-
interactive: true,
|
|
13447
|
-
trigger: 'manual',
|
|
13448
|
-
// We have to manage hideOnClick functionality manually to handle
|
|
13449
|
-
// popover within popover situations.
|
|
13450
|
-
hideOnClick: false,
|
|
13451
|
-
zIndex: this.modal ? 650 : this.calculateAnchorZindex(),
|
|
13452
|
-
onClickOutside: this.onClickOutside,
|
|
13453
|
-
onShow: this.onShow
|
|
13454
|
-
}); // immediate watcher fires before mounted, so have this here in case
|
|
13455
|
-
// show prop was initially set to true.
|
|
13436
|
+
this.popoverContentEl = this.$refs.content.$el;
|
|
13456
13437
|
|
|
13457
13438
|
if (this.isOpen) {
|
|
13458
|
-
this.
|
|
13439
|
+
this.initTippyInstance();
|
|
13459
13440
|
}
|
|
13460
13441
|
},
|
|
13461
13442
|
|
|
13462
13443
|
beforeDestroy() {
|
|
13463
|
-
var _this$
|
|
13444
|
+
var _this$tip7;
|
|
13464
13445
|
|
|
13465
|
-
|
|
13466
|
-
(_this$tip2 = this.tip) === null || _this$tip2 === void 0 ? void 0 : _this$tip2.destroy();
|
|
13446
|
+
(_this$tip7 = this.tip) === null || _this$tip7 === void 0 ? void 0 : _this$tip7.destroy();
|
|
13467
13447
|
this.removeReferences();
|
|
13468
|
-
this.
|
|
13448
|
+
this.removeEventListeners();
|
|
13469
13449
|
},
|
|
13470
13450
|
|
|
13471
13451
|
/******************
|
|
@@ -13507,18 +13487,16 @@ var popover_header_footer_component = normalizeComponent(
|
|
|
13507
13487
|
(_this$open = this.open) !== null && _this$open !== void 0 ? _this$open : this.anchorEl.contains(e.target) && !((_this$anchorEl = this.anchorEl) !== null && _this$anchorEl !== void 0 && _this$anchorEl.disabled) && this.toggleOpen();
|
|
13508
13488
|
},
|
|
13509
13489
|
|
|
13510
|
-
onContext(event) {
|
|
13511
|
-
var _this$tip3;
|
|
13512
|
-
|
|
13490
|
+
async onContext(event) {
|
|
13513
13491
|
if (!this.openOnContext) {
|
|
13514
13492
|
return;
|
|
13515
13493
|
}
|
|
13516
13494
|
|
|
13517
13495
|
event.preventDefault();
|
|
13518
|
-
|
|
13519
|
-
|
|
13520
|
-
});
|
|
13496
|
+
this.isOpen = true;
|
|
13497
|
+
await this.$nextTick();
|
|
13521
13498
|
this.tip.setProps({
|
|
13499
|
+
placement: 'right-start',
|
|
13522
13500
|
getReferenceClientRect: () => ({
|
|
13523
13501
|
width: 0,
|
|
13524
13502
|
height: 0,
|
|
@@ -13528,7 +13506,6 @@ var popover_header_footer_component = normalizeComponent(
|
|
|
13528
13506
|
right: event.clientX
|
|
13529
13507
|
})
|
|
13530
13508
|
});
|
|
13531
|
-
this.toggleOpen();
|
|
13532
13509
|
},
|
|
13533
13510
|
|
|
13534
13511
|
toggleOpen() {
|
|
@@ -13547,18 +13524,40 @@ var popover_header_footer_component = normalizeComponent(
|
|
|
13547
13524
|
}
|
|
13548
13525
|
},
|
|
13549
13526
|
|
|
13550
|
-
|
|
13527
|
+
addEventListeners() {
|
|
13551
13528
|
window.addEventListener('dt-popover-close', this.closePopover);
|
|
13529
|
+
window.addEventListener('wheel', this.preventScrolling, {
|
|
13530
|
+
passive: false
|
|
13531
|
+
}); // align popover content width when contentWidth is 'anchor'
|
|
13532
|
+
|
|
13533
|
+
if (this.contentWidth === 'anchor') {
|
|
13534
|
+
window.addEventListener('resize', this.onResize);
|
|
13535
|
+
}
|
|
13552
13536
|
},
|
|
13553
13537
|
|
|
13554
|
-
|
|
13538
|
+
removeEventListeners() {
|
|
13555
13539
|
window.removeEventListener('dt-popover-close', this.closePopover);
|
|
13540
|
+
window.removeEventListener('wheel', this.preventScrolling, {
|
|
13541
|
+
passive: false
|
|
13542
|
+
});
|
|
13543
|
+
|
|
13544
|
+
if (this.contentWidth === 'anchor') {
|
|
13545
|
+
window.removeEventListener('resize', this.onResize);
|
|
13546
|
+
}
|
|
13556
13547
|
},
|
|
13557
13548
|
|
|
13558
13549
|
closePopover() {
|
|
13559
13550
|
this.isOpen = false;
|
|
13560
13551
|
},
|
|
13561
13552
|
|
|
13553
|
+
/*
|
|
13554
|
+
* Prevents scrolling only when the popover is set to modal
|
|
13555
|
+
**/
|
|
13556
|
+
preventScrolling(e) {
|
|
13557
|
+
if (!this.modal) return;
|
|
13558
|
+
e.preventDefault();
|
|
13559
|
+
},
|
|
13560
|
+
|
|
13562
13561
|
removeReferences() {
|
|
13563
13562
|
this.anchorEl = null;
|
|
13564
13563
|
this.popoverContentEl = null;
|
|
@@ -13576,15 +13575,15 @@ var popover_header_footer_component = normalizeComponent(
|
|
|
13576
13575
|
},
|
|
13577
13576
|
|
|
13578
13577
|
async onLeaveTransitionComplete() {
|
|
13579
|
-
var _this$
|
|
13578
|
+
var _this$tip8;
|
|
13580
13579
|
|
|
13581
13580
|
if (this.modal) {
|
|
13582
|
-
this.focusFirstElement(this.$refs.anchor); // await next tick in case the user wants to change focus themselves.
|
|
13581
|
+
await this.focusFirstElement(this.$refs.anchor); // await next tick in case the user wants to change focus themselves.
|
|
13583
13582
|
|
|
13584
13583
|
await this.$nextTick();
|
|
13585
13584
|
}
|
|
13586
13585
|
|
|
13587
|
-
(_this$
|
|
13586
|
+
(_this$tip8 = this.tip) === null || _this$tip8 === void 0 ? void 0 : _this$tip8.unmount();
|
|
13588
13587
|
this.$emit('opened', false);
|
|
13589
13588
|
|
|
13590
13589
|
if (this.open !== null) {
|
|
@@ -13678,6 +13677,30 @@ var popover_header_footer_component = normalizeComponent(
|
|
|
13678
13677
|
// if there are no focusable elements at all focus the dialog itself
|
|
13679
13678
|
this.$refs.content.$el.focus();
|
|
13680
13679
|
}
|
|
13680
|
+
},
|
|
13681
|
+
|
|
13682
|
+
initTippyInstance() {
|
|
13683
|
+
this.tip = tippy_utils_createTippy(this.anchorEl, {
|
|
13684
|
+
popperOptions: this.popperOptions(),
|
|
13685
|
+
contentElement: this.popoverContentEl,
|
|
13686
|
+
placement: this.placement,
|
|
13687
|
+
offset: this.offset,
|
|
13688
|
+
sticky: this.sticky,
|
|
13689
|
+
appendTo: this.appendTo,
|
|
13690
|
+
interactive: true,
|
|
13691
|
+
trigger: 'manual',
|
|
13692
|
+
// We have to manage hideOnClick functionality manually to handle
|
|
13693
|
+
// popover within popover situations.
|
|
13694
|
+
hideOnClick: false,
|
|
13695
|
+
zIndex: this.modal ? 650 : this.calculateAnchorZindex(),
|
|
13696
|
+
onClickOutside: this.onClickOutside,
|
|
13697
|
+
onShow: this.onShow
|
|
13698
|
+
});
|
|
13699
|
+
this.tip.setProps({
|
|
13700
|
+
zIndex: this.modal ? 650 : this.calculateAnchorZindex()
|
|
13701
|
+
});
|
|
13702
|
+
this.tip.show();
|
|
13703
|
+
this.addEventListeners();
|
|
13681
13704
|
}
|
|
13682
13705
|
|
|
13683
13706
|
}
|
|
@@ -13699,8 +13722,8 @@ var popovervue_type_style_index_0_lang_less_ = __webpack_require__(230);
|
|
|
13699
13722
|
|
|
13700
13723
|
var popover_component = normalizeComponent(
|
|
13701
13724
|
popover_popovervue_type_script_lang_js_,
|
|
13702
|
-
|
|
13703
|
-
|
|
13725
|
+
popovervue_type_template_id_47e76c3e_render,
|
|
13726
|
+
popovervue_type_template_id_47e76c3e_staticRenderFns,
|
|
13704
13727
|
false,
|
|
13705
13728
|
null,
|
|
13706
13729
|
null,
|
|
@@ -16704,9 +16727,9 @@ var notice_component = normalizeComponent(
|
|
|
16704
16727
|
;// CONCATENATED MODULE: ./components/notice/index.js
|
|
16705
16728
|
|
|
16706
16729
|
|
|
16707
|
-
;// 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/pagination/pagination.vue?vue&type=template&id=
|
|
16708
|
-
var
|
|
16709
|
-
var
|
|
16730
|
+
;// 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/pagination/pagination.vue?vue&type=template&id=8a1dbe50&
|
|
16731
|
+
var paginationvue_type_template_id_8a1dbe50_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',{staticClass:"d-d-flex d-fd-row d-gg4 d-ai-center",attrs:{"aria-label":_vm.ariaLabel}},[_c('dt-button',{staticClass:"d-px8",class:_vm.isFirstPage ? 'd-fc-black-300 h:d-fc-black-300 d-bgc-transparent' : 'd-fc-tertiary',attrs:{"data-qa":"dt-pagination-prev","aria-label":_vm.prevAriaLabel,"kind":"muted","importance":_vm.isFirstPage ? 'primary' : 'clear',"disabled":_vm.isFirstPage},on:{"click":function($event){return _vm.changePage(_vm.currentPage - 1)}}},[_c('template',{slot:"icon"},[_c('dt-icon',{attrs:{"name":"chevron-left","size":"300"}})],1)],2),_vm._l((_vm.pages),function(page,index){return _c('div',{key:("page-" + page + "-" + index),class:{ 'd-as-flex-end': isNaN(Number(page)) }},[(isNaN(Number(page)))?_c('div',{staticClass:"d-fc-tertiary d-w24 d-ta-center",attrs:{"data-qa":"dt-pagination-separator"}},[_c('dt-icon',{attrs:{"name":"more-horizontal","size":"300"}})],1):_c('dt-button',{attrs:{"aria-label":_vm.pageNumberAriaLabel(page),"kind":_vm.currentPage === page ? 'default' : 'muted',"importance":_vm.currentPage === page ? 'primary' : 'clear',"label-class":""},on:{"click":function($event){return _vm.changePage(page)}}},[_vm._v(" "+_vm._s(page)+" ")])],1)}),_c('dt-button',{staticClass:"d-px8",class:_vm.isLastPage ? 'd-fc-black-300 h:d-fc-black-300 d-bgc-transparent' : 'd-fc-tertiary',attrs:{"data-qa":"dt-pagination-next","aria-label":_vm.nextAriaLabel,"disabled":_vm.isLastPage,"kind":"muted","importance":_vm.isLastPage ? 'primary' : 'clear'},on:{"click":function($event){return _vm.changePage(_vm.currentPage + 1)}}},[_c('template',{slot:"icon"},[_c('dt-icon',{attrs:{"name":"chevron-right","size":"300"}})],1)],2)],2)}
|
|
16732
|
+
var paginationvue_type_template_id_8a1dbe50_staticRenderFns = []
|
|
16710
16733
|
|
|
16711
16734
|
|
|
16712
16735
|
;// 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/pagination/pagination.vue?vue&type=script&lang=js&
|
|
@@ -16772,6 +16795,17 @@ var paginationvue_type_template_id_7e2cf07e_staticRenderFns = []
|
|
|
16772
16795
|
//
|
|
16773
16796
|
//
|
|
16774
16797
|
//
|
|
16798
|
+
//
|
|
16799
|
+
//
|
|
16800
|
+
//
|
|
16801
|
+
//
|
|
16802
|
+
//
|
|
16803
|
+
//
|
|
16804
|
+
//
|
|
16805
|
+
//
|
|
16806
|
+
//
|
|
16807
|
+
//
|
|
16808
|
+
//
|
|
16775
16809
|
|
|
16776
16810
|
|
|
16777
16811
|
/**
|
|
@@ -16928,8 +16962,8 @@ var paginationvue_type_template_id_7e2cf07e_staticRenderFns = []
|
|
|
16928
16962
|
;
|
|
16929
16963
|
var pagination_component = normalizeComponent(
|
|
16930
16964
|
pagination_paginationvue_type_script_lang_js_,
|
|
16931
|
-
|
|
16932
|
-
|
|
16965
|
+
paginationvue_type_template_id_8a1dbe50_render,
|
|
16966
|
+
paginationvue_type_template_id_8a1dbe50_staticRenderFns,
|
|
16933
16967
|
false,
|
|
16934
16968
|
null,
|
|
16935
16969
|
null,
|
|
@@ -18229,9 +18263,9 @@ var checkbox_group_component = normalizeComponent(
|
|
|
18229
18263
|
/* harmony default export */ const checkbox_group = (checkbox_group_component.exports);
|
|
18230
18264
|
;// CONCATENATED MODULE: ./components/checkbox_group/index.js
|
|
18231
18265
|
|
|
18232
|
-
;// 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/chip/chip.vue?vue&type=template&id=
|
|
18233
|
-
var
|
|
18234
|
-
var
|
|
18266
|
+
;// 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/chip/chip.vue?vue&type=template&id=9f4db318&
|
|
18267
|
+
var chipvue_type_template_id_9f4db318_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:"d-chip"},[_c(_vm.interactive ? 'button' : 'span',_vm._g({tag:"component",class:_vm.chipClasses(),attrs:{"id":_vm.id,"type":_vm.interactive && 'button',"data-qa":"dt-chip","aria-labelledby":_vm.ariaLabel ? undefined : (_vm.id + "-content"),"aria-label":_vm.ariaLabel}},_vm.chipListeners),[(_vm.$slots.icon)?_c('span',{staticClass:"d-chip__icon",attrs:{"data-qa":"dt-chip-icon"}},[_vm._t("icon")],2):(_vm.$slots.avatar)?_c('span',{attrs:{"data-qa":"dt-chip-avatar"}},[_vm._t("avatar")],2):_vm._e(),(_vm.$slots.default)?_c('span',{class:['d-truncate', 'd-chip__text', _vm.contentClass],attrs:{"id":(_vm.id + "-content"),"data-qa":"dt-chip-label"}},[_vm._t("default")],2):_vm._e()]),(!_vm.hideClose)?_c('dt-button',_vm._b({class:_vm.chipCloseButtonClasses(),attrs:{"data-qa":"dt-chip-close","aria-label":_vm.closeButtonProps.ariaLabel},on:{"click":function($event){return _vm.$emit('close')}},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('dt-icon',{attrs:{"name":"close","size":_vm.closeButtonIconSize}})]},proxy:true}],null,false,1192647893)},'dt-button',_vm.closeButtonProps,false)):_vm._e()],1)}
|
|
18268
|
+
var chipvue_type_template_id_9f4db318_staticRenderFns = []
|
|
18235
18269
|
|
|
18236
18270
|
|
|
18237
18271
|
;// CONCATENATED MODULE: ./components/chip/chip_constants.js
|
|
@@ -18487,8 +18521,8 @@ const CHIP_ICON_SIZES = {
|
|
|
18487
18521
|
;
|
|
18488
18522
|
var chip_component = normalizeComponent(
|
|
18489
18523
|
chip_chipvue_type_script_lang_js_,
|
|
18490
|
-
|
|
18491
|
-
|
|
18524
|
+
chipvue_type_template_id_9f4db318_render,
|
|
18525
|
+
chipvue_type_template_id_9f4db318_staticRenderFns,
|
|
18492
18526
|
false,
|
|
18493
18527
|
null,
|
|
18494
18528
|
null,
|
|
@@ -20371,15 +20405,15 @@ var root_layout_component = normalizeComponent(
|
|
|
20371
20405
|
;// CONCATENATED MODULE: ./components/root_layout/index.js
|
|
20372
20406
|
|
|
20373
20407
|
|
|
20374
|
-
;// 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=
|
|
20375
|
-
var
|
|
20408
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=ad3e7dce&
|
|
20409
|
+
var combobox_with_popovervue_type_template_id_ad3e7dce_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-combobox',_vm._g({ref:"combobox",attrs:{"loading":_vm.loading,"label":_vm.label,"label-visible":_vm.labelVisible,"size":_vm.size,"description":_vm.description,"empty-list":_vm.emptyList,"empty-state-message":_vm.emptyStateMessage,"show-list":_vm.isListShown,"on-beginning-of-list":_vm.onBeginningOfList,"on-end-of-list":_vm.onEndOfList,"list-rendered-outside":true,"list-id":_vm.listId,"data-qa":"dt-combobox"},scopedSlots:_vm._u([{key:"input",fn:function(ref){
|
|
20376
20410
|
var inputProps = ref.inputProps;
|
|
20377
|
-
return [_c('div',{ref:"input",attrs:{"id":_vm.externalAnchor},on:{"focusin":_vm.onFocusIn,"
|
|
20411
|
+
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){
|
|
20378
20412
|
var opened = ref.opened;
|
|
20379
20413
|
var listProps = ref.listProps;
|
|
20380
20414
|
var clearHighlightIndex = ref.clearHighlightIndex;
|
|
20381
|
-
return [_c('dt-popover',{ref:"popover",attrs:{"open":_vm.isListShown,"hide-on-click":
|
|
20382
|
-
var
|
|
20415
|
+
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))}
|
|
20416
|
+
var combobox_with_popovervue_type_template_id_ad3e7dce_staticRenderFns = []
|
|
20383
20417
|
|
|
20384
20418
|
|
|
20385
20419
|
;// 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&
|
|
@@ -20486,9 +20520,6 @@ var combobox_with_popovervue_type_template_id_7d75f1f4_staticRenderFns = []
|
|
|
20486
20520
|
//
|
|
20487
20521
|
//
|
|
20488
20522
|
//
|
|
20489
|
-
//
|
|
20490
|
-
//
|
|
20491
|
-
//
|
|
20492
20523
|
|
|
20493
20524
|
|
|
20494
20525
|
|
|
@@ -20748,6 +20779,12 @@ var combobox_with_popovervue_type_template_id_7d75f1f4_staticRenderFns = []
|
|
|
20748
20779
|
},
|
|
20749
20780
|
|
|
20750
20781
|
isListShown(val) {
|
|
20782
|
+
if (val) {
|
|
20783
|
+
window.addEventListener('mousedown', this.onFocusOut);
|
|
20784
|
+
} else {
|
|
20785
|
+
window.removeEventListener('mousedown', this.onFocusOut);
|
|
20786
|
+
}
|
|
20787
|
+
|
|
20751
20788
|
this.onOpened(val);
|
|
20752
20789
|
}
|
|
20753
20790
|
|
|
@@ -20812,17 +20849,14 @@ var combobox_with_popovervue_type_template_id_7d75f1f4_staticRenderFns = []
|
|
|
20812
20849
|
},
|
|
20813
20850
|
|
|
20814
20851
|
onFocusOut(e) {
|
|
20815
|
-
|
|
20816
|
-
|
|
20817
|
-
|
|
20818
|
-
|
|
20819
|
-
|
|
20820
|
-
|
|
20821
|
-
}) || this.visuallyHiddenClose; // If outside the combobox then close
|
|
20852
|
+
// Check if the focus change was to another target within the combobox component
|
|
20853
|
+
const isComboboxStillFocused = Object.keys(this.$refs).some(refName => {
|
|
20854
|
+
const ref = this.$refs[refName];
|
|
20855
|
+
return ref.$el ? ref.$el.contains(e.target) : ref.contains(e.target);
|
|
20856
|
+
});
|
|
20857
|
+
if (isComboboxStillFocused) return; // If outside the combobox then close
|
|
20822
20858
|
|
|
20823
|
-
|
|
20824
|
-
this.closeComboboxList();
|
|
20825
|
-
}
|
|
20859
|
+
this.closeComboboxList();
|
|
20826
20860
|
},
|
|
20827
20861
|
|
|
20828
20862
|
openOnArrowKeyPress() {
|
|
@@ -20847,8 +20881,8 @@ var combobox_with_popovervue_type_template_id_7d75f1f4_staticRenderFns = []
|
|
|
20847
20881
|
;
|
|
20848
20882
|
var combobox_with_popover_component = normalizeComponent(
|
|
20849
20883
|
combobox_with_popover_combobox_with_popovervue_type_script_lang_js_,
|
|
20850
|
-
|
|
20851
|
-
|
|
20884
|
+
combobox_with_popovervue_type_template_id_ad3e7dce_render,
|
|
20885
|
+
combobox_with_popovervue_type_template_id_ad3e7dce_staticRenderFns,
|
|
20852
20886
|
false,
|
|
20853
20887
|
null,
|
|
20854
20888
|
null,
|