@dialpad/dialtone-vue 3.34.0 → 3.35.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 +179 -155
- package/dist/dialtone-vue.umd.js +181 -157
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/package.json +3 -3
package/dist/dialtone-vue.umd.js
CHANGED
|
@@ -203,7 +203,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".dt-list-section[tabindex=\"-1\"]:focu
|
|
|
203
203
|
|
|
204
204
|
/***/ }),
|
|
205
205
|
|
|
206
|
-
/***/
|
|
206
|
+
/***/ 752:
|
|
207
207
|
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
208
208
|
|
|
209
209
|
"use strict";
|
|
@@ -1694,19 +1694,19 @@ var update = add("2b02cf58", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
1694
1694
|
|
|
1695
1695
|
/***/ }),
|
|
1696
1696
|
|
|
1697
|
-
/***/
|
|
1697
|
+
/***/ 531:
|
|
1698
1698
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
1699
1699
|
|
|
1700
1700
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
1701
1701
|
|
|
1702
1702
|
// load the styles
|
|
1703
|
-
var content = __webpack_require__(
|
|
1703
|
+
var content = __webpack_require__(752);
|
|
1704
1704
|
if(content.__esModule) content = content.default;
|
|
1705
1705
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
1706
1706
|
if(content.locals) module.exports = content.locals;
|
|
1707
1707
|
// add the styles to the DOM
|
|
1708
1708
|
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
|
1709
|
-
var update = add("
|
|
1709
|
+
var update = add("2105810a", content, true, {"sourceMap":false,"shadowMode":false});
|
|
1710
1710
|
|
|
1711
1711
|
/***/ }),
|
|
1712
1712
|
|
|
@@ -1822,7 +1822,7 @@ var update = add("2cc23047", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
1822
1822
|
|
|
1823
1823
|
/***/ }),
|
|
1824
1824
|
|
|
1825
|
-
/***/
|
|
1825
|
+
/***/ 198:
|
|
1826
1826
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
1827
1827
|
|
|
1828
1828
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
@@ -7411,11 +7411,11 @@ function dropdownvue_type_template_id_d36ba644_render(_ctx, _cache, $props, $set
|
|
|
7411
7411
|
}
|
|
7412
7412
|
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=template&id=d36ba644
|
|
7413
7413
|
|
|
7414
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/popover/popover.vue?vue&type=template&id=
|
|
7414
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/popover/popover.vue?vue&type=template&id=4e81d3c3
|
|
7415
7415
|
|
|
7416
|
-
const
|
|
7417
|
-
const
|
|
7418
|
-
function
|
|
7416
|
+
const popovervue_type_template_id_4e81d3c3_hoisted_1 = ["aria-hidden"];
|
|
7417
|
+
const popovervue_type_template_id_4e81d3c3_hoisted_2 = ["id", "tabindex"];
|
|
7418
|
+
function popovervue_type_template_id_4e81d3c3_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7419
7419
|
const _component_popover_header_footer = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("popover-header-footer");
|
|
7420
7420
|
|
|
7421
7421
|
const _component_sr_only_close_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("sr-only-close-button");
|
|
@@ -7428,9 +7428,8 @@ function popovervue_type_template_id_1c311181_render(_ctx, _cache, $props, $setu
|
|
|
7428
7428
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
|
|
7429
7429
|
class: "d-modal--transparent",
|
|
7430
7430
|
"aria-hidden": $props.modal && $data.isOpen ? 'false' : 'true',
|
|
7431
|
-
onClick: _cache[0] || (_cache[0] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)(() => {}, ["prevent", "stop"]))
|
|
7432
|
-
|
|
7433
|
-
}, null, 40, popovervue_type_template_id_1c311181_hoisted_1)])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveDynamicComponent)($props.elementType), {
|
|
7431
|
+
onClick: _cache[0] || (_cache[0] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)(() => {}, ["prevent", "stop"]))
|
|
7432
|
+
}, null, 8, popovervue_type_template_id_4e81d3c3_hoisted_1)])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveDynamicComponent)($props.elementType), {
|
|
7434
7433
|
ref: "popover",
|
|
7435
7434
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-popover', {
|
|
7436
7435
|
'd-popover__anchor--opened': $data.isOpen
|
|
@@ -7442,18 +7441,18 @@ function popovervue_type_template_id_1c311181_render(_ctx, _cache, $props, $setu
|
|
|
7442
7441
|
ref: "anchor",
|
|
7443
7442
|
"data-qa": "dt-popover-anchor",
|
|
7444
7443
|
tabindex: $props.openOnContext ? 0 : undefined,
|
|
7445
|
-
onClickCapture: _cache[
|
|
7444
|
+
onClickCapture: _cache[1] || (_cache[1] = function () {
|
|
7446
7445
|
return $options.defaultToggleOpen && $options.defaultToggleOpen(...arguments);
|
|
7447
7446
|
}),
|
|
7448
|
-
onContextmenu: _cache[
|
|
7447
|
+
onContextmenu: _cache[2] || (_cache[2] = function () {
|
|
7449
7448
|
return $options.onContext && $options.onContext(...arguments);
|
|
7450
7449
|
}),
|
|
7451
|
-
onKeydown: [_cache[
|
|
7450
|
+
onKeydown: [_cache[3] || (_cache[3] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)(function () {
|
|
7452
7451
|
return $options.onArrowKeyPress && $options.onArrowKeyPress(...arguments);
|
|
7453
|
-
}, ["prevent"]), ["up"])), _cache[
|
|
7452
|
+
}, ["prevent"]), ["up"])), _cache[4] || (_cache[4] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)(function () {
|
|
7454
7453
|
return $options.onArrowKeyPress && $options.onArrowKeyPress(...arguments);
|
|
7455
|
-
}, ["prevent"]), ["down"])), _cache[
|
|
7456
|
-
onKeydownCapture: _cache[
|
|
7454
|
+
}, ["prevent"]), ["down"])), _cache[6] || (_cache[6] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)($event => _ctx.$emit('keydown', $event), ["enter"])), _cache[7] || (_cache[7] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)($event => _ctx.$emit('keydown', $event), ["space"]))],
|
|
7455
|
+
onKeydownCapture: _cache[5] || (_cache[5] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)(function () {
|
|
7457
7456
|
return $options.closePopover && $options.closePopover(...arguments);
|
|
7458
7457
|
}, ["escape"]))
|
|
7459
7458
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "anchor", {
|
|
@@ -7462,7 +7461,7 @@ function popovervue_type_template_id_1c311181_render(_ctx, _cache, $props, $setu
|
|
|
7462
7461
|
'aria-controls': $props.id,
|
|
7463
7462
|
'aria-haspopup': $props.role
|
|
7464
7463
|
}
|
|
7465
|
-
})], 40,
|
|
7464
|
+
})], 40, popovervue_type_template_id_4e81d3c3_hoisted_2), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_lazy_show, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
7466
7465
|
id: $props.id,
|
|
7467
7466
|
ref: "content",
|
|
7468
7467
|
role: $props.role,
|
|
@@ -7483,9 +7482,7 @@ function popovervue_type_template_id_1c311181_render(_ctx, _cache, $props, $setu
|
|
|
7483
7482
|
},
|
|
7484
7483
|
css: _ctx.$attrs.css,
|
|
7485
7484
|
tabindex: $props.contentTabindex
|
|
7486
|
-
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toHandlers)($options.popoverListeners), {
|
|
7487
|
-
onWheel: _cache[9] || (_cache[9] = e => $data.isOpen && $props.modal && e.preventDefault())
|
|
7488
|
-
}), {
|
|
7485
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toHandlers)($options.popoverListeners)), {
|
|
7489
7486
|
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [_ctx.$slots.headerContent || $props.showCloseButton ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_popover_header_footer, {
|
|
7490
7487
|
key: 0,
|
|
7491
7488
|
ref: "popover__header",
|
|
@@ -7527,7 +7524,7 @@ function popovervue_type_template_id_1c311181_render(_ctx, _cache, $props, $setu
|
|
|
7527
7524
|
_: 3
|
|
7528
7525
|
}, 8, ["class"]))]);
|
|
7529
7526
|
}
|
|
7530
|
-
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=template&id=
|
|
7527
|
+
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=template&id=4e81d3c3
|
|
7531
7528
|
|
|
7532
7529
|
;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getWindow.js
|
|
7533
7530
|
function getWindow(node) {
|
|
@@ -12615,39 +12612,49 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
12615
12612
|
},
|
|
12616
12613
|
|
|
12617
12614
|
modal(modal) {
|
|
12618
|
-
|
|
12619
|
-
|
|
12615
|
+
var _this$tip;
|
|
12616
|
+
|
|
12617
|
+
(_this$tip = this.tip) === null || _this$tip === void 0 ? void 0 : _this$tip.setProps({
|
|
12618
|
+
zIndex: modal ? 650 : this.calculateAnchorZindex()
|
|
12620
12619
|
});
|
|
12621
12620
|
},
|
|
12622
12621
|
|
|
12623
12622
|
offset(offset) {
|
|
12624
|
-
|
|
12623
|
+
var _this$tip2;
|
|
12624
|
+
|
|
12625
|
+
(_this$tip2 = this.tip) === null || _this$tip2 === void 0 ? void 0 : _this$tip2.setProps({
|
|
12625
12626
|
offset
|
|
12626
12627
|
});
|
|
12627
12628
|
},
|
|
12628
12629
|
|
|
12629
12630
|
sticky(sticky) {
|
|
12630
|
-
|
|
12631
|
+
var _this$tip3;
|
|
12632
|
+
|
|
12633
|
+
(_this$tip3 = this.tip) === null || _this$tip3 === void 0 ? void 0 : _this$tip3.setProps({
|
|
12631
12634
|
sticky
|
|
12632
12635
|
});
|
|
12633
12636
|
},
|
|
12634
12637
|
|
|
12635
12638
|
fallbackPlacements() {
|
|
12636
|
-
|
|
12639
|
+
var _this$tip4;
|
|
12640
|
+
|
|
12641
|
+
(_this$tip4 = this.tip) === null || _this$tip4 === void 0 ? void 0 : _this$tip4.setProps({
|
|
12637
12642
|
popperOptions: this.popperOptions()
|
|
12638
12643
|
});
|
|
12639
12644
|
},
|
|
12640
12645
|
|
|
12641
12646
|
tether() {
|
|
12642
|
-
|
|
12647
|
+
var _this$tip5;
|
|
12648
|
+
|
|
12649
|
+
(_this$tip5 = this.tip) === null || _this$tip5 === void 0 ? void 0 : _this$tip5.setProps({
|
|
12643
12650
|
popperOptions: this.popperOptions()
|
|
12644
12651
|
});
|
|
12645
12652
|
},
|
|
12646
12653
|
|
|
12647
12654
|
placement(placement) {
|
|
12648
|
-
var _this$
|
|
12655
|
+
var _this$tip6;
|
|
12649
12656
|
|
|
12650
|
-
(_this$
|
|
12657
|
+
(_this$tip6 = this.tip) === null || _this$tip6 === void 0 ? void 0 : _this$tip6.setProps({
|
|
12651
12658
|
placement
|
|
12652
12659
|
});
|
|
12653
12660
|
},
|
|
@@ -12663,13 +12670,9 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
12663
12670
|
|
|
12664
12671
|
isOpen(isOpen, isPrev) {
|
|
12665
12672
|
if (isOpen) {
|
|
12666
|
-
this.
|
|
12667
|
-
zIndex: this.modal ? 650 : this.calculateAnchorZindex()
|
|
12668
|
-
});
|
|
12669
|
-
this.tip.show();
|
|
12670
|
-
this.addClosePopoverEventListener();
|
|
12673
|
+
this.initTippyInstance();
|
|
12671
12674
|
} else if (!isOpen && isPrev !== isOpen) {
|
|
12672
|
-
this.
|
|
12675
|
+
this.removeEventListeners();
|
|
12673
12676
|
this.tip.hide();
|
|
12674
12677
|
}
|
|
12675
12678
|
}
|
|
@@ -12677,45 +12680,21 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
12677
12680
|
},
|
|
12678
12681
|
|
|
12679
12682
|
mounted() {
|
|
12680
|
-
// support single anchor for popover, not multi anchor
|
|
12681
12683
|
const externalAnchorEl = document.getElementById(this.externalAnchor);
|
|
12682
12684
|
this.anchorEl = externalAnchorEl !== null && externalAnchorEl !== void 0 ? externalAnchorEl : this.$refs.anchor.children[0];
|
|
12683
|
-
this.popoverContentEl = this.$refs.content.$el;
|
|
12684
|
-
|
|
12685
|
-
if (this.contentWidth === 'anchor') {
|
|
12686
|
-
window.addEventListener('resize', this.onResize);
|
|
12687
|
-
}
|
|
12688
|
-
|
|
12689
|
-
this.tip = tippy_utils_createTippy(this.anchorEl, {
|
|
12690
|
-
popperOptions: this.popperOptions(),
|
|
12691
|
-
contentElement: this.popoverContentEl,
|
|
12692
|
-
placement: this.placement,
|
|
12693
|
-
offset: this.offset,
|
|
12694
|
-
sticky: this.sticky,
|
|
12695
|
-
appendTo: this.appendTo,
|
|
12696
|
-
interactive: true,
|
|
12697
|
-
trigger: 'manual',
|
|
12698
|
-
// We have to manage hideOnClick functionality manually to handle
|
|
12699
|
-
// popover within popover situations.
|
|
12700
|
-
hideOnClick: false,
|
|
12701
|
-
zIndex: this.modal ? 650 : this.calculateAnchorZindex(),
|
|
12702
|
-
onClickOutside: this.onClickOutside,
|
|
12703
|
-
onShow: this.onShow
|
|
12704
|
-
}); // immediate watcher fires before mounted, so have this here in case
|
|
12705
|
-
// show prop was initially set to true.
|
|
12685
|
+
this.popoverContentEl = this.$refs.content.$el;
|
|
12706
12686
|
|
|
12707
12687
|
if (this.isOpen) {
|
|
12708
|
-
this.
|
|
12688
|
+
this.initTippyInstance();
|
|
12709
12689
|
}
|
|
12710
12690
|
},
|
|
12711
12691
|
|
|
12712
12692
|
beforeUnmount() {
|
|
12713
|
-
var _this$
|
|
12693
|
+
var _this$tip7;
|
|
12714
12694
|
|
|
12715
|
-
|
|
12716
|
-
(_this$tip2 = this.tip) === null || _this$tip2 === void 0 ? void 0 : _this$tip2.destroy();
|
|
12695
|
+
(_this$tip7 = this.tip) === null || _this$tip7 === void 0 ? void 0 : _this$tip7.destroy();
|
|
12717
12696
|
this.removeReferences();
|
|
12718
|
-
this.
|
|
12697
|
+
this.removeEventListeners();
|
|
12719
12698
|
},
|
|
12720
12699
|
|
|
12721
12700
|
/******************
|
|
@@ -12763,18 +12742,16 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
12763
12742
|
}
|
|
12764
12743
|
},
|
|
12765
12744
|
|
|
12766
|
-
onContext(event) {
|
|
12767
|
-
var _this$tip3;
|
|
12768
|
-
|
|
12745
|
+
async onContext(event) {
|
|
12769
12746
|
if (!this.openOnContext) {
|
|
12770
12747
|
return;
|
|
12771
12748
|
}
|
|
12772
12749
|
|
|
12773
12750
|
event.preventDefault();
|
|
12774
|
-
|
|
12775
|
-
|
|
12776
|
-
});
|
|
12751
|
+
this.isOpen = true;
|
|
12752
|
+
await this.$nextTick();
|
|
12777
12753
|
this.tip.setProps({
|
|
12754
|
+
placement: 'right-start',
|
|
12778
12755
|
getReferenceClientRect: () => ({
|
|
12779
12756
|
width: 0,
|
|
12780
12757
|
height: 0,
|
|
@@ -12784,7 +12761,6 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
12784
12761
|
right: event.clientX
|
|
12785
12762
|
})
|
|
12786
12763
|
});
|
|
12787
|
-
this.toggleOpen();
|
|
12788
12764
|
},
|
|
12789
12765
|
|
|
12790
12766
|
toggleOpen() {
|
|
@@ -12805,18 +12781,40 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
12805
12781
|
this.$emit('keydown', e);
|
|
12806
12782
|
},
|
|
12807
12783
|
|
|
12808
|
-
|
|
12784
|
+
addEventListeners() {
|
|
12809
12785
|
window.addEventListener('dt-popover-close', this.closePopover);
|
|
12786
|
+
window.addEventListener('wheel', this.preventScrolling, {
|
|
12787
|
+
passive: false
|
|
12788
|
+
}); // align popover content width when contentWidth is 'anchor'
|
|
12789
|
+
|
|
12790
|
+
if (this.contentWidth === 'anchor') {
|
|
12791
|
+
window.addEventListener('resize', this.onResize);
|
|
12792
|
+
}
|
|
12810
12793
|
},
|
|
12811
12794
|
|
|
12812
|
-
|
|
12795
|
+
removeEventListeners() {
|
|
12813
12796
|
window.removeEventListener('dt-popover-close', this.closePopover);
|
|
12797
|
+
window.removeEventListener('wheel', this.preventScrolling, {
|
|
12798
|
+
passive: false
|
|
12799
|
+
});
|
|
12800
|
+
|
|
12801
|
+
if (this.contentWidth === 'anchor') {
|
|
12802
|
+
window.removeEventListener('resize', this.onResize);
|
|
12803
|
+
}
|
|
12814
12804
|
},
|
|
12815
12805
|
|
|
12816
12806
|
closePopover() {
|
|
12817
12807
|
this.isOpen = false;
|
|
12818
12808
|
},
|
|
12819
12809
|
|
|
12810
|
+
/*
|
|
12811
|
+
* Prevents scrolling only when the popover is set to modal
|
|
12812
|
+
**/
|
|
12813
|
+
preventScrolling(e) {
|
|
12814
|
+
if (!this.modal) return;
|
|
12815
|
+
e.preventDefault();
|
|
12816
|
+
},
|
|
12817
|
+
|
|
12820
12818
|
removeReferences() {
|
|
12821
12819
|
this.anchorEl = null;
|
|
12822
12820
|
this.popoverContentEl = null;
|
|
@@ -12834,15 +12832,15 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
12834
12832
|
},
|
|
12835
12833
|
|
|
12836
12834
|
async onLeaveTransitionComplete() {
|
|
12837
|
-
var _this$
|
|
12835
|
+
var _this$tip8;
|
|
12838
12836
|
|
|
12839
12837
|
if (this.modal) {
|
|
12840
|
-
this.focusFirstElement(this.$refs.anchor); // await next tick in case the user wants to change focus themselves.
|
|
12838
|
+
await this.focusFirstElement(this.$refs.anchor); // await next tick in case the user wants to change focus themselves.
|
|
12841
12839
|
|
|
12842
12840
|
await this.$nextTick();
|
|
12843
12841
|
}
|
|
12844
12842
|
|
|
12845
|
-
(_this$
|
|
12843
|
+
(_this$tip8 = this.tip) === null || _this$tip8 === void 0 ? void 0 : _this$tip8.unmount();
|
|
12846
12844
|
this.$emit('opened', false);
|
|
12847
12845
|
|
|
12848
12846
|
if (this.open !== null) {
|
|
@@ -12938,15 +12936,39 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
12938
12936
|
// if there are no focusable elements at all focus the dialog itself
|
|
12939
12937
|
this.$refs.content.$el.focus();
|
|
12940
12938
|
}
|
|
12939
|
+
},
|
|
12940
|
+
|
|
12941
|
+
initTippyInstance() {
|
|
12942
|
+
this.tip = tippy_utils_createTippy(this.anchorEl, {
|
|
12943
|
+
popperOptions: this.popperOptions(),
|
|
12944
|
+
contentElement: this.popoverContentEl,
|
|
12945
|
+
placement: this.placement,
|
|
12946
|
+
offset: this.offset,
|
|
12947
|
+
sticky: this.sticky,
|
|
12948
|
+
appendTo: this.appendTo,
|
|
12949
|
+
interactive: true,
|
|
12950
|
+
trigger: 'manual',
|
|
12951
|
+
// We have to manage hideOnClick functionality manually to handle
|
|
12952
|
+
// popover within popover situations.
|
|
12953
|
+
hideOnClick: false,
|
|
12954
|
+
zIndex: this.modal ? 650 : this.calculateAnchorZindex(),
|
|
12955
|
+
onClickOutside: this.onClickOutside,
|
|
12956
|
+
onShow: this.onShow
|
|
12957
|
+
});
|
|
12958
|
+
this.tip.setProps({
|
|
12959
|
+
zIndex: this.modal ? 650 : this.calculateAnchorZindex()
|
|
12960
|
+
});
|
|
12961
|
+
this.tip.show();
|
|
12962
|
+
this.addEventListeners();
|
|
12941
12963
|
}
|
|
12942
12964
|
|
|
12943
12965
|
}
|
|
12944
12966
|
});
|
|
12945
12967
|
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=script&lang=js
|
|
12946
12968
|
|
|
12947
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.use[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/popover/popover.vue?vue&type=style&index=0&id=
|
|
12948
|
-
var
|
|
12949
|
-
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=style&index=0&id=
|
|
12969
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.use[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/popover/popover.vue?vue&type=style&index=0&id=4e81d3c3&lang=less
|
|
12970
|
+
var popovervue_type_style_index_0_id_4e81d3c3_lang_less = __webpack_require__(531);
|
|
12971
|
+
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=style&index=0&id=4e81d3c3&lang=less
|
|
12950
12972
|
|
|
12951
12973
|
;// CONCATENATED MODULE: ./components/popover/popover.vue
|
|
12952
12974
|
|
|
@@ -12956,7 +12978,7 @@ var popovervue_type_style_index_0_id_1c311181_lang_less = __webpack_require__(19
|
|
|
12956
12978
|
;
|
|
12957
12979
|
|
|
12958
12980
|
|
|
12959
|
-
const popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(popovervue_type_script_lang_js, [['render',
|
|
12981
|
+
const popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(popovervue_type_script_lang_js, [['render',popovervue_type_template_id_4e81d3c3_render]])
|
|
12960
12982
|
|
|
12961
12983
|
/* harmony default export */ const popover = (popover_exports_);
|
|
12962
12984
|
;// CONCATENATED MODULE: ./components/popover/index.js
|
|
@@ -15704,65 +15726,73 @@ const notice_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(noticevue_t
|
|
|
15704
15726
|
;// CONCATENATED MODULE: ./components/notice/index.js
|
|
15705
15727
|
|
|
15706
15728
|
|
|
15707
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/pagination/pagination.vue?vue&type=template&id=
|
|
15729
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/pagination/pagination.vue?vue&type=template&id=57c28750
|
|
15708
15730
|
|
|
15709
|
-
const
|
|
15710
|
-
const
|
|
15731
|
+
const paginationvue_type_template_id_57c28750_hoisted_1 = ["aria-label"];
|
|
15732
|
+
const paginationvue_type_template_id_57c28750_hoisted_2 = {
|
|
15711
15733
|
key: 0,
|
|
15712
|
-
|
|
15713
|
-
|
|
15734
|
+
class: "d-fc-tertiary d-w24 d-ta-center",
|
|
15735
|
+
"data-qa": "dt-pagination-separator"
|
|
15714
15736
|
};
|
|
15715
|
-
function
|
|
15737
|
+
function paginationvue_type_template_id_57c28750_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
15716
15738
|
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
15717
15739
|
|
|
15718
15740
|
const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-button");
|
|
15719
15741
|
|
|
15720
15742
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("nav", {
|
|
15721
15743
|
"aria-label": $props.ariaLabel,
|
|
15722
|
-
class: "d-d-flex d-fd-row d-
|
|
15744
|
+
class: "d-d-flex d-fd-row d-gg4 d-ai-center"
|
|
15723
15745
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_button, {
|
|
15724
|
-
class: "d-
|
|
15746
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(["d-px8", $options.isFirstPage ? 'd-fc-black-300 h:d-fc-black-300 d-bgc-transparent' : 'd-fc-tertiary']),
|
|
15725
15747
|
"data-qa": "dt-pagination-prev",
|
|
15726
15748
|
"aria-label": $props.prevAriaLabel,
|
|
15749
|
+
kind: "muted",
|
|
15727
15750
|
importance: $options.isFirstPage ? 'primary' : 'clear',
|
|
15728
15751
|
disabled: $options.isFirstPage,
|
|
15729
15752
|
onClick: _cache[0] || (_cache[0] = $event => $options.changePage($data.currentPage - 1))
|
|
15730
15753
|
}, {
|
|
15731
15754
|
icon: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_icon, {
|
|
15732
15755
|
name: "chevron-left",
|
|
15733
|
-
size: "
|
|
15756
|
+
size: "300"
|
|
15734
15757
|
})]),
|
|
15735
15758
|
_: 1
|
|
15736
|
-
}, 8, ["aria-label", "importance", "disabled"]), ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.Fragment, null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderList)($options.pages, (page, index) => {
|
|
15759
|
+
}, 8, ["aria-label", "importance", "disabled", "class"]), ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.Fragment, null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderList)($options.pages, (page, index) => {
|
|
15737
15760
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
15738
|
-
key: `page-${page}-${index}
|
|
15739
|
-
|
|
15761
|
+
key: `page-${page}-${index}`,
|
|
15762
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)({
|
|
15763
|
+
'd-as-flex-end': isNaN(Number(page))
|
|
15764
|
+
})
|
|
15765
|
+
}, [isNaN(Number(page)) ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", paginationvue_type_template_id_57c28750_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_icon, {
|
|
15766
|
+
name: "more-horizontal",
|
|
15767
|
+
size: "300"
|
|
15768
|
+
})])) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_button, {
|
|
15740
15769
|
key: 1,
|
|
15741
15770
|
"aria-label": $props.pageNumberAriaLabel(page),
|
|
15771
|
+
kind: $data.currentPage === page ? 'default' : 'muted',
|
|
15742
15772
|
importance: $data.currentPage === page ? 'primary' : 'clear',
|
|
15743
|
-
class: "
|
|
15744
|
-
"label-class": "d-fs-200",
|
|
15773
|
+
"label-class": "",
|
|
15745
15774
|
onClick: $event => $options.changePage(page)
|
|
15746
15775
|
}, {
|
|
15747
15776
|
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)(page), 1)]),
|
|
15748
15777
|
_: 2
|
|
15749
|
-
}, 1032, ["aria-label", "importance", "onClick"]))]);
|
|
15778
|
+
}, 1032, ["aria-label", "kind", "importance", "onClick"]))], 2);
|
|
15750
15779
|
}), 128)), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_button, {
|
|
15751
|
-
class: "d-
|
|
15780
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(["d-px8", $options.isLastPage ? 'd-fc-black-300 h:d-fc-black-300 d-bgc-transparent' : 'd-fc-tertiary']),
|
|
15752
15781
|
"data-qa": "dt-pagination-next",
|
|
15753
15782
|
"aria-label": $props.nextAriaLabel,
|
|
15754
15783
|
disabled: $options.isLastPage,
|
|
15784
|
+
kind: "muted",
|
|
15755
15785
|
importance: $options.isLastPage ? 'primary' : 'clear',
|
|
15756
15786
|
onClick: _cache[1] || (_cache[1] = $event => $options.changePage($data.currentPage + 1))
|
|
15757
15787
|
}, {
|
|
15758
15788
|
icon: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_icon, {
|
|
15759
15789
|
name: "chevron-right",
|
|
15760
|
-
size: "
|
|
15790
|
+
size: "300"
|
|
15761
15791
|
})]),
|
|
15762
15792
|
_: 1
|
|
15763
|
-
}, 8, ["aria-label", "disabled", "importance"])], 8,
|
|
15793
|
+
}, 8, ["aria-label", "disabled", "importance", "class"])], 8, paginationvue_type_template_id_57c28750_hoisted_1);
|
|
15764
15794
|
}
|
|
15765
|
-
;// CONCATENATED MODULE: ./components/pagination/pagination.vue?vue&type=template&id=
|
|
15795
|
+
;// CONCATENATED MODULE: ./components/pagination/pagination.vue?vue&type=template&id=57c28750
|
|
15766
15796
|
|
|
15767
15797
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/pagination/pagination.vue?vue&type=script&lang=js
|
|
15768
15798
|
|
|
@@ -15917,7 +15947,7 @@ function paginationvue_type_template_id_0f3daac1_render(_ctx, _cache, $props, $s
|
|
|
15917
15947
|
|
|
15918
15948
|
|
|
15919
15949
|
;
|
|
15920
|
-
const pagination_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(paginationvue_type_script_lang_js, [['render',
|
|
15950
|
+
const pagination_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(paginationvue_type_script_lang_js, [['render',paginationvue_type_template_id_57c28750_render]])
|
|
15921
15951
|
|
|
15922
15952
|
/* harmony default export */ const pagination = (pagination_exports_);
|
|
15923
15953
|
;// CONCATENATED MODULE: ./components/pagination/index.js
|
|
@@ -17100,26 +17130,27 @@ const checkbox_group_exports_ = checkbox_groupvue_type_script_lang_js;
|
|
|
17100
17130
|
/* harmony default export */ const checkbox_group = (checkbox_group_exports_);
|
|
17101
17131
|
;// CONCATENATED MODULE: ./components/checkbox_group/index.js
|
|
17102
17132
|
|
|
17103
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/chip/chip.vue?vue&type=template&id=
|
|
17133
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/chip/chip.vue?vue&type=template&id=7cc71ad9
|
|
17104
17134
|
|
|
17105
|
-
const
|
|
17135
|
+
const chipvue_type_template_id_7cc71ad9_hoisted_1 = {
|
|
17136
|
+
class: "d-chip"
|
|
17137
|
+
};
|
|
17138
|
+
const chipvue_type_template_id_7cc71ad9_hoisted_2 = {
|
|
17106
17139
|
key: 0,
|
|
17107
17140
|
"data-qa": "dt-chip-icon",
|
|
17108
17141
|
class: "d-chip__icon"
|
|
17109
17142
|
};
|
|
17110
|
-
const
|
|
17143
|
+
const chipvue_type_template_id_7cc71ad9_hoisted_3 = {
|
|
17111
17144
|
key: 1,
|
|
17112
17145
|
"data-qa": "dt-chip-avatar"
|
|
17113
17146
|
};
|
|
17114
|
-
const
|
|
17115
|
-
function
|
|
17147
|
+
const chipvue_type_template_id_7cc71ad9_hoisted_4 = ["id"];
|
|
17148
|
+
function chipvue_type_template_id_7cc71ad9_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
17116
17149
|
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
17117
17150
|
|
|
17118
17151
|
const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-button");
|
|
17119
17152
|
|
|
17120
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", {
|
|
17121
|
-
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-chip', _ctx.parentClass])
|
|
17122
|
-
}, [((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveDynamicComponent)($props.interactive ? 'button' : 'span'), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
17153
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", chipvue_type_template_id_7cc71ad9_hoisted_1, [((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveDynamicComponent)($props.interactive ? 'button' : 'span'), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
17123
17154
|
id: $props.id,
|
|
17124
17155
|
type: $props.interactive && 'button',
|
|
17125
17156
|
class: $options.chipClasses(),
|
|
@@ -17127,12 +17158,12 @@ function chipvue_type_template_id_f2b79d66_render(_ctx, _cache, $props, $setup,
|
|
|
17127
17158
|
"aria-labelledby": $props.ariaLabel ? undefined : `${$props.id}-content`,
|
|
17128
17159
|
"aria-label": $props.ariaLabel
|
|
17129
17160
|
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toHandlers)($options.chipListeners)), {
|
|
17130
|
-
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [_ctx.$slots.icon ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span",
|
|
17161
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [_ctx.$slots.icon ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", chipvue_type_template_id_7cc71ad9_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "icon")])) : _ctx.$slots.avatar ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", chipvue_type_template_id_7cc71ad9_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "avatar")])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), _ctx.$slots.default ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", {
|
|
17131
17162
|
key: 2,
|
|
17132
17163
|
id: `${$props.id}-content`,
|
|
17133
17164
|
"data-qa": "dt-chip-label",
|
|
17134
17165
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-truncate', 'd-chip__text', $props.contentClass])
|
|
17135
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")], 10,
|
|
17166
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")], 10, chipvue_type_template_id_7cc71ad9_hoisted_4)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]),
|
|
17136
17167
|
_: 3
|
|
17137
17168
|
}, 16, ["id", "type", "class", "aria-labelledby", "aria-label"])), !$props.hideClose ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_button, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
17138
17169
|
key: 0
|
|
@@ -17147,9 +17178,9 @@ function chipvue_type_template_id_f2b79d66_render(_ctx, _cache, $props, $setup,
|
|
|
17147
17178
|
size: $options.closeButtonIconSize
|
|
17148
17179
|
}, null, 8, ["size"])]),
|
|
17149
17180
|
_: 1
|
|
17150
|
-
}, 16, ["class", "aria-label"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]
|
|
17181
|
+
}, 16, ["class", "aria-label"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]);
|
|
17151
17182
|
}
|
|
17152
|
-
;// CONCATENATED MODULE: ./components/chip/chip.vue?vue&type=template&id=
|
|
17183
|
+
;// CONCATENATED MODULE: ./components/chip/chip.vue?vue&type=template&id=7cc71ad9
|
|
17153
17184
|
|
|
17154
17185
|
;// CONCATENATED MODULE: ./components/chip/chip_constants.js
|
|
17155
17186
|
const CHIP_SIZE_MODIFIERS = {
|
|
@@ -17345,7 +17376,7 @@ const CHIP_ICON_SIZES = {
|
|
|
17345
17376
|
|
|
17346
17377
|
|
|
17347
17378
|
;
|
|
17348
|
-
const chip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(chipvue_type_script_lang_js, [['render',
|
|
17379
|
+
const chip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(chipvue_type_script_lang_js, [['render',chipvue_type_template_id_7cc71ad9_render]])
|
|
17349
17380
|
|
|
17350
17381
|
/* harmony default export */ const chip = (chip_exports_);
|
|
17351
17382
|
;// CONCATENATED MODULE: ./components/chip/index.js
|
|
@@ -19033,11 +19064,17 @@ const root_layout_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(root_l
|
|
|
19033
19064
|
;// CONCATENATED MODULE: ./components/root_layout/index.js
|
|
19034
19065
|
|
|
19035
19066
|
|
|
19036
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=
|
|
19067
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=6b1072ea
|
|
19037
19068
|
|
|
19038
|
-
const
|
|
19039
|
-
const
|
|
19040
|
-
|
|
19069
|
+
const combobox_with_popovervue_type_template_id_6b1072ea_hoisted_1 = ["id"];
|
|
19070
|
+
const combobox_with_popovervue_type_template_id_6b1072ea_hoisted_2 = {
|
|
19071
|
+
ref: "header"
|
|
19072
|
+
};
|
|
19073
|
+
const combobox_with_popovervue_type_template_id_6b1072ea_hoisted_3 = ["onMouseleave", "onFocusout"];
|
|
19074
|
+
const combobox_with_popovervue_type_template_id_6b1072ea_hoisted_4 = {
|
|
19075
|
+
ref: "footer"
|
|
19076
|
+
};
|
|
19077
|
+
function combobox_with_popovervue_type_template_id_6b1072ea_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
19041
19078
|
const _component_combobox_loading_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-loading-list");
|
|
19042
19079
|
|
|
19043
19080
|
const _component_combobox_empty_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-empty-list");
|
|
@@ -19072,14 +19109,11 @@ function combobox_with_popovervue_type_template_id_35131c6d_render(_ctx, _cache,
|
|
|
19072
19109
|
onFocusin: _cache[0] || (_cache[0] = function () {
|
|
19073
19110
|
return $options.onFocusIn && $options.onFocusIn(...arguments);
|
|
19074
19111
|
}),
|
|
19075
|
-
|
|
19076
|
-
return $options.onFocusOut && $options.onFocusOut(...arguments);
|
|
19077
|
-
}),
|
|
19078
|
-
onKeydown: [_cache[2] || (_cache[2] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)($event => $options.openOnArrowKeyPress($event), ["up"])), _cache[3] || (_cache[3] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)($event => $options.openOnArrowKeyPress($event), ["down"]))]
|
|
19112
|
+
onKeydown: [_cache[1] || (_cache[1] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)($event => $options.openOnArrowKeyPress($event), ["up"])), _cache[2] || (_cache[2] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)($event => $options.openOnArrowKeyPress($event), ["down"]))]
|
|
19079
19113
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "input", {
|
|
19080
19114
|
inputProps: inputProps,
|
|
19081
19115
|
onInput: $options.handleDisplayList
|
|
19082
|
-
})], 40,
|
|
19116
|
+
})], 40, combobox_with_popovervue_type_template_id_6b1072ea_hoisted_1)];
|
|
19083
19117
|
}),
|
|
19084
19118
|
list: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(_ref2 => {
|
|
19085
19119
|
let {
|
|
@@ -19090,8 +19124,8 @@ function combobox_with_popovervue_type_template_id_35131c6d_render(_ctx, _cache,
|
|
|
19090
19124
|
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_popover, {
|
|
19091
19125
|
ref: "popover",
|
|
19092
19126
|
open: $data.isListShown,
|
|
19093
|
-
"onUpdate:open": _cache[
|
|
19094
|
-
"hide-on-click":
|
|
19127
|
+
"onUpdate:open": _cache[3] || (_cache[3] = $event => $data.isListShown = $event),
|
|
19128
|
+
"hide-on-click": false,
|
|
19095
19129
|
"max-height": $props.maxHeight,
|
|
19096
19130
|
"max-width": $props.maxWidth,
|
|
19097
19131
|
offset: $props.popoverOffset,
|
|
@@ -19114,10 +19148,7 @@ function combobox_with_popovervue_type_template_id_35131c6d_render(_ctx, _cache,
|
|
|
19114
19148
|
ref: "listWrapper",
|
|
19115
19149
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)([$data.DROPDOWN_PADDING_CLASSES[$props.padding], $props.listClass]),
|
|
19116
19150
|
onMouseleave: clearHighlightIndex,
|
|
19117
|
-
onFocusout:
|
|
19118
|
-
clearHighlightIndex;
|
|
19119
|
-
$options.onFocusOut;
|
|
19120
|
-
}
|
|
19151
|
+
onFocusout: clearHighlightIndex
|
|
19121
19152
|
}, [$props.loading ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_combobox_loading_list, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeProps)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
19122
19153
|
key: 0
|
|
19123
19154
|
}, listProps)), null, 16)) : $props.emptyList && $props.emptyStateMessage ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_combobox_empty_list, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
@@ -19127,32 +19158,22 @@ function combobox_with_popovervue_type_template_id_35131c6d_render(_ctx, _cache,
|
|
|
19127
19158
|
}), null, 16, ["message"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "list", {
|
|
19128
19159
|
key: 2,
|
|
19129
19160
|
listProps: listProps
|
|
19130
|
-
})], 42,
|
|
19161
|
+
})], 42, combobox_with_popovervue_type_template_id_6b1072ea_hoisted_3)]),
|
|
19131
19162
|
_: 2
|
|
19132
19163
|
}, [_ctx.$slots.header ? {
|
|
19133
19164
|
name: "headerContent",
|
|
19134
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
19135
|
-
ref: "header",
|
|
19136
|
-
onFocusout: _cache[4] || (_cache[4] = function () {
|
|
19137
|
-
return $options.onFocusOut && $options.onFocusOut(...arguments);
|
|
19138
|
-
})
|
|
19139
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "header")], 544)]),
|
|
19165
|
+
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", combobox_with_popovervue_type_template_id_6b1072ea_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "header")], 512)]),
|
|
19140
19166
|
key: "0"
|
|
19141
19167
|
} : undefined, _ctx.$slots.footer ? {
|
|
19142
19168
|
name: "footerContent",
|
|
19143
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
19144
|
-
ref: "footer",
|
|
19145
|
-
onFocusout: _cache[5] || (_cache[5] = function () {
|
|
19146
|
-
return $options.onFocusOut && $options.onFocusOut(...arguments);
|
|
19147
|
-
})
|
|
19148
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "footer")], 544)]),
|
|
19169
|
+
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", combobox_with_popovervue_type_template_id_6b1072ea_hoisted_4, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "footer")], 512)]),
|
|
19149
19170
|
key: "1"
|
|
19150
|
-
} : undefined]), 1032, ["open", "
|
|
19171
|
+
} : undefined]), 1032, ["open", "max-height", "max-width", "offset", "sticky", "external-anchor", "content-width", "visually-hidden-close-label", "visually-hidden-close", "onOpened"])];
|
|
19151
19172
|
}),
|
|
19152
19173
|
_: 3
|
|
19153
19174
|
}, 16, ["loading", "label", "label-visible", "size", "description", "empty-list", "empty-state-message", "show-list", "on-beginning-of-list", "on-end-of-list", "list-id"]);
|
|
19154
19175
|
}
|
|
19155
|
-
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=
|
|
19176
|
+
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=6b1072ea
|
|
19156
19177
|
|
|
19157
19178
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=script&lang=js
|
|
19158
19179
|
|
|
@@ -19414,6 +19435,12 @@ function combobox_with_popovervue_type_template_id_35131c6d_render(_ctx, _cache,
|
|
|
19414
19435
|
},
|
|
19415
19436
|
|
|
19416
19437
|
isListShown(val) {
|
|
19438
|
+
if (val) {
|
|
19439
|
+
window.addEventListener('mousedown', this.onFocusOut);
|
|
19440
|
+
} else {
|
|
19441
|
+
window.removeEventListener('mousedown', this.onFocusOut);
|
|
19442
|
+
}
|
|
19443
|
+
|
|
19417
19444
|
this.onOpened(val);
|
|
19418
19445
|
}
|
|
19419
19446
|
|
|
@@ -19478,17 +19505,14 @@ function combobox_with_popovervue_type_template_id_35131c6d_render(_ctx, _cache,
|
|
|
19478
19505
|
},
|
|
19479
19506
|
|
|
19480
19507
|
onFocusOut(e) {
|
|
19481
|
-
|
|
19482
|
-
|
|
19483
|
-
|
|
19484
|
-
|
|
19485
|
-
|
|
19486
|
-
|
|
19487
|
-
}) || this.visuallyHiddenClose; // If outside the combobox then close
|
|
19508
|
+
// Check if the focus change was to another target within the combobox component
|
|
19509
|
+
const isComboboxStillFocused = Object.keys(this.$refs).some(refName => {
|
|
19510
|
+
const ref = this.$refs[refName];
|
|
19511
|
+
return ref.$el ? ref.$el.contains(e.target) : ref.contains(e.target);
|
|
19512
|
+
});
|
|
19513
|
+
if (isComboboxStillFocused) return; // If outside the combobox then close
|
|
19488
19514
|
|
|
19489
|
-
|
|
19490
|
-
this.closeComboboxList();
|
|
19491
|
-
}
|
|
19515
|
+
this.closeComboboxList();
|
|
19492
19516
|
},
|
|
19493
19517
|
|
|
19494
19518
|
openOnArrowKeyPress() {
|
|
@@ -19509,7 +19533,7 @@ function combobox_with_popovervue_type_template_id_35131c6d_render(_ctx, _cache,
|
|
|
19509
19533
|
|
|
19510
19534
|
|
|
19511
19535
|
;
|
|
19512
|
-
const combobox_with_popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_with_popovervue_type_script_lang_js, [['render',
|
|
19536
|
+
const combobox_with_popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_with_popovervue_type_script_lang_js, [['render',combobox_with_popovervue_type_template_id_6b1072ea_render]])
|
|
19513
19537
|
|
|
19514
19538
|
/* harmony default export */ const combobox_with_popover = (combobox_with_popover_exports_);
|
|
19515
19539
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/index.js
|
|
@@ -20860,7 +20884,7 @@ const COLOR_CODES = ['green300', 'green100', 'red200', 'red100', 'gold100', 'gol
|
|
|
20860
20884
|
;// CONCATENATED MODULE: ./recipes/notices/top_banner_info/top_banner_info.vue?vue&type=script&lang=js
|
|
20861
20885
|
|
|
20862
20886
|
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.use[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/notices/top_banner_info/top_banner_info.vue?vue&type=style&index=0&id=1996f46e&lang=less
|
|
20863
|
-
var top_banner_infovue_type_style_index_0_id_1996f46e_lang_less = __webpack_require__(
|
|
20887
|
+
var top_banner_infovue_type_style_index_0_id_1996f46e_lang_less = __webpack_require__(198);
|
|
20864
20888
|
;// CONCATENATED MODULE: ./recipes/notices/top_banner_info/top_banner_info.vue?vue&type=style&index=0&id=1996f46e&lang=less
|
|
20865
20889
|
|
|
20866
20890
|
;// CONCATENATED MODULE: ./recipes/notices/top_banner_info/top_banner_info.vue
|