@dialpad/dialtone-vue 3.10.0 → 3.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -97,7 +97,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".dt-list-section[tabindex=\"-1\"]:focu
|
|
|
97
97
|
|
|
98
98
|
/***/ }),
|
|
99
99
|
|
|
100
|
-
/***/
|
|
100
|
+
/***/ 222:
|
|
101
101
|
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
102
102
|
|
|
103
103
|
"use strict";
|
|
@@ -457,19 +457,19 @@ var update = add("69c9bdad", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
457
457
|
|
|
458
458
|
/***/ }),
|
|
459
459
|
|
|
460
|
-
/***/
|
|
460
|
+
/***/ 888:
|
|
461
461
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
462
462
|
|
|
463
463
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
464
464
|
|
|
465
465
|
// load the styles
|
|
466
|
-
var content = __webpack_require__(
|
|
466
|
+
var content = __webpack_require__(222);
|
|
467
467
|
if(content.__esModule) content = content.default;
|
|
468
468
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
469
469
|
if(content.locals) module.exports = content.locals;
|
|
470
470
|
// add the styles to the DOM
|
|
471
471
|
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
|
472
|
-
var update = add("
|
|
472
|
+
var update = add("e3b11816", content, true, {"sourceMap":false,"shadowMode":false});
|
|
473
473
|
|
|
474
474
|
/***/ }),
|
|
475
475
|
|
|
@@ -1133,6 +1133,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1133
1133
|
"DtListSection": () => (/* reexport */ list_section),
|
|
1134
1134
|
"DtModal": () => (/* reexport */ modal_modal),
|
|
1135
1135
|
"DtNotice": () => (/* reexport */ notice),
|
|
1136
|
+
"DtPagination": () => (/* reexport */ pagination),
|
|
1136
1137
|
"DtPopover": () => (/* reexport */ popover),
|
|
1137
1138
|
"DtRadio": () => (/* reexport */ radio_radio),
|
|
1138
1139
|
"DtRadioGroup": () => (/* reexport */ radio_group),
|
|
@@ -2924,13 +2925,13 @@ const button_group_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(butto
|
|
|
2924
2925
|
;// CONCATENATED MODULE: ./components/button_group/index.js
|
|
2925
2926
|
|
|
2926
2927
|
|
|
2927
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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/combobox/combobox.vue?vue&type=template&id=
|
|
2928
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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/combobox/combobox.vue?vue&type=template&id=3a8030f9
|
|
2928
2929
|
|
|
2929
|
-
const
|
|
2930
|
-
const
|
|
2930
|
+
const comboboxvue_type_template_id_3a8030f9_hoisted_1 = ["aria-expanded", "aria-controls", "aria-owns"];
|
|
2931
|
+
const comboboxvue_type_template_id_3a8030f9_hoisted_2 = {
|
|
2931
2932
|
"data-qa": "dt-combobox-input-wrapper"
|
|
2932
2933
|
};
|
|
2933
|
-
function
|
|
2934
|
+
function comboboxvue_type_template_id_3a8030f9_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2934
2935
|
const _component_combobox_loading_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-loading-list");
|
|
2935
2936
|
|
|
2936
2937
|
const _component_combobox_empty_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-empty-list");
|
|
@@ -2942,7 +2943,7 @@ function comboboxvue_type_template_id_83040a60_render(_ctx, _cache, $props, $set
|
|
|
2942
2943
|
"aria-owns": $props.listId,
|
|
2943
2944
|
"aria-haspopup": "listbox",
|
|
2944
2945
|
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)($event => $options.onKeyValidation($event, 'onEscapeKey'), ["stop"]), ["esc"])), _cache[4] || (_cache[4] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.onKeyValidation($event, 'onEnterKey'), ["exact"]), ["enter"])), _cache[5] || (_cache[5] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.onKeyValidation($event, 'onUpKey'), ["stop", "prevent"]), ["up"])), _cache[6] || (_cache[6] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.onKeyValidation($event, 'onDownKey'), ["stop", "prevent"]), ["down"])), _cache[7] || (_cache[7] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.onKeyValidation($event, 'onHomeKey'), ["stop", "prevent"]), ["home"])), _cache[8] || (_cache[8] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.onKeyValidation($event, 'onEndKey'), ["stop", "prevent"]), ["end"]))]
|
|
2945
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
2946
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", comboboxvue_type_template_id_3a8030f9_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "input", {
|
|
2946
2947
|
inputProps: $options.inputProps
|
|
2947
2948
|
})]), $props.showList ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
2948
2949
|
key: 0,
|
|
@@ -2970,9 +2971,9 @@ function comboboxvue_type_template_id_83040a60_render(_ctx, _cache, $props, $set
|
|
|
2970
2971
|
clearHighlightIndex: $options.clearHighlightIndex,
|
|
2971
2972
|
isLoading: $data.isLoading,
|
|
2972
2973
|
isListEmpty: $data.isListEmpty
|
|
2973
|
-
})], 544)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 40,
|
|
2974
|
+
})], 544)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 40, comboboxvue_type_template_id_3a8030f9_hoisted_1);
|
|
2974
2975
|
}
|
|
2975
|
-
;// CONCATENATED MODULE: ./components/combobox/combobox.vue?vue&type=template&id=
|
|
2976
|
+
;// CONCATENATED MODULE: ./components/combobox/combobox.vue?vue&type=template&id=3a8030f9
|
|
2976
2977
|
|
|
2977
2978
|
;// CONCATENATED MODULE: ./common/mixins/dom.js
|
|
2978
2979
|
/* harmony default export */ const dom = ({
|
|
@@ -4506,9 +4507,9 @@ const combobox_empty_list_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z
|
|
|
4506
4507
|
},
|
|
4507
4508
|
|
|
4508
4509
|
getListElement() {
|
|
4509
|
-
var _this$outsideRendered;
|
|
4510
|
+
var _this$outsideRendered, _this$$refs$listWrapp;
|
|
4510
4511
|
|
|
4511
|
-
return (_this$outsideRendered = this.outsideRenderedListRef) !== null && _this$outsideRendered !== void 0 ? _this$outsideRendered : this.$refs.listWrapper.querySelector("#".concat(this.listId));
|
|
4512
|
+
return (_this$outsideRendered = this.outsideRenderedListRef) !== null && _this$outsideRendered !== void 0 ? _this$outsideRendered : (_this$$refs$listWrapp = this.$refs.listWrapper) === null || _this$$refs$listWrapp === void 0 ? void 0 : _this$$refs$listWrapp.querySelector("#".concat(this.listId));
|
|
4512
4513
|
},
|
|
4513
4514
|
|
|
4514
4515
|
clearHighlightIndex() {
|
|
@@ -4578,7 +4579,7 @@ const combobox_empty_list_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z
|
|
|
4578
4579
|
|
|
4579
4580
|
|
|
4580
4581
|
;
|
|
4581
|
-
const combobox_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(comboboxvue_type_script_lang_js, [['render',
|
|
4582
|
+
const combobox_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(comboboxvue_type_script_lang_js, [['render',comboboxvue_type_template_id_3a8030f9_render]])
|
|
4582
4583
|
|
|
4583
4584
|
/* harmony default export */ const combobox = (combobox_exports_);
|
|
4584
4585
|
;// CONCATENATED MODULE: ./components/combobox/index.js
|
|
@@ -4638,11 +4639,11 @@ function dropdownvue_type_template_id_b0e1f8ba_render(_ctx, _cache, $props, $set
|
|
|
4638
4639
|
}
|
|
4639
4640
|
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=template&id=b0e1f8ba
|
|
4640
4641
|
|
|
4641
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=
|
|
4642
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=fee82b00
|
|
4642
4643
|
|
|
4643
|
-
const
|
|
4644
|
-
const
|
|
4645
|
-
function
|
|
4644
|
+
const popovervue_type_template_id_fee82b00_hoisted_1 = ["aria-hidden"];
|
|
4645
|
+
const popovervue_type_template_id_fee82b00_hoisted_2 = ["id"];
|
|
4646
|
+
function popovervue_type_template_id_fee82b00_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4646
4647
|
const _component_popover_header_footer = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("popover-header-footer");
|
|
4647
4648
|
|
|
4648
4649
|
const _component_dt_lazy_show = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-lazy-show");
|
|
@@ -4654,13 +4655,13 @@ function popovervue_type_template_id_582f9c98_render(_ctx, _cache, $props, $setu
|
|
|
4654
4655
|
class: "d-modal--transparent",
|
|
4655
4656
|
"aria-hidden": $props.modal && $data.isOpen ? 'false' : 'true',
|
|
4656
4657
|
onClick: _cache[0] || (_cache[0] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)(() => {}, ["prevent", "stop"]))
|
|
4657
|
-
}, null, 8,
|
|
4658
|
+
}, null, 8, popovervue_type_template_id_fee82b00_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), {
|
|
4658
4659
|
ref: "popover",
|
|
4659
|
-
class: ['d-popover', {
|
|
4660
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-popover', {
|
|
4660
4661
|
'd-popover__anchor--modal-opened': $props.modal && $data.isOpen
|
|
4661
|
-
}],
|
|
4662
|
+
}]),
|
|
4662
4663
|
"data-qa": "dt-popover-container"
|
|
4663
|
-
},
|
|
4664
|
+
}, {
|
|
4664
4665
|
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
|
|
4665
4666
|
id: !$props.ariaLabelledby && $options.labelledBy,
|
|
4666
4667
|
ref: "anchor",
|
|
@@ -4683,7 +4684,7 @@ function popovervue_type_template_id_582f9c98_render(_ctx, _cache, $props, $setu
|
|
|
4683
4684
|
'aria-controls': $props.id,
|
|
4684
4685
|
'aria-haspopup': $props.role
|
|
4685
4686
|
}
|
|
4686
|
-
})], 40,
|
|
4687
|
+
})], 40, popovervue_type_template_id_fee82b00_hoisted_2), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_lazy_show, {
|
|
4687
4688
|
id: $props.id,
|
|
4688
4689
|
ref: "content",
|
|
4689
4690
|
role: $props.role,
|
|
@@ -4695,19 +4696,19 @@ function popovervue_type_template_id_582f9c98_render(_ctx, _cache, $props, $setu
|
|
|
4695
4696
|
transition: $props.transition,
|
|
4696
4697
|
show: $data.isOpen,
|
|
4697
4698
|
appear: "",
|
|
4698
|
-
class: ['d-popover__dialog', {
|
|
4699
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-popover__dialog', {
|
|
4699
4700
|
'd-popover__dialog--modal': $props.modal
|
|
4700
|
-
}, $props.dialogClass],
|
|
4701
|
-
style: {
|
|
4701
|
+
}, $props.dialogClass]),
|
|
4702
|
+
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeStyle)({
|
|
4702
4703
|
'max-height': $props.maxHeight,
|
|
4703
4704
|
'max-width': $props.maxWidth
|
|
4704
|
-
},
|
|
4705
|
-
|
|
4706
|
-
|
|
4705
|
+
}),
|
|
4706
|
+
css: _ctx.$attrs.css,
|
|
4707
|
+
tabindex: $props.contentTabindex,
|
|
4707
4708
|
onKeydownCapture: $options.onKeydown,
|
|
4708
4709
|
onAfterLeave: $options.onLeaveTransitionComplete,
|
|
4709
4710
|
onAfterEnter: $options.onEnterTransitionComplete
|
|
4710
|
-
}
|
|
4711
|
+
}, {
|
|
4711
4712
|
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, {
|
|
4712
4713
|
key: 0,
|
|
4713
4714
|
ref: "popover__header",
|
|
@@ -4741,11 +4742,11 @@ function popovervue_type_template_id_582f9c98_render(_ctx, _cache, $props, $setu
|
|
|
4741
4742
|
_: 3
|
|
4742
4743
|
}, 8, ["class", "content-class"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]),
|
|
4743
4744
|
_: 3
|
|
4744
|
-
},
|
|
4745
|
+
}, 8, ["id", "role", "aria-hidden", "aria-labelledby", "aria-label", "aria-modal", "transition", "show", "class", "style", "css", "tabindex", "onKeydownCapture", "onAfterLeave", "onAfterEnter"])]),
|
|
4745
4746
|
_: 3
|
|
4746
|
-
},
|
|
4747
|
+
}, 8, ["class"]))]);
|
|
4747
4748
|
}
|
|
4748
|
-
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=template&id=
|
|
4749
|
+
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=template&id=fee82b00
|
|
4749
4750
|
|
|
4750
4751
|
;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getWindow.js
|
|
4751
4752
|
function getWindow(node) {
|
|
@@ -9214,7 +9215,10 @@ const getPopperOptions = function () {
|
|
|
9214
9215
|
boundary = 'clippingParents',
|
|
9215
9216
|
fallbackPlacements = [],
|
|
9216
9217
|
onChangePlacement = () => {},
|
|
9217
|
-
hasHideModifierEnabled = false
|
|
9218
|
+
hasHideModifierEnabled = false,
|
|
9219
|
+
// If set to false the dialog will display over top of the anchor when there is insufficient space.
|
|
9220
|
+
// if set to true it will never move from its position relative to the anchor and will clip instead.
|
|
9221
|
+
tether = true
|
|
9218
9222
|
} = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
9219
9223
|
return {
|
|
9220
9224
|
modifiers: [{
|
|
@@ -9226,6 +9230,12 @@ const getPopperOptions = function () {
|
|
|
9226
9230
|
}, {
|
|
9227
9231
|
name: 'hide',
|
|
9228
9232
|
enabled: hasHideModifierEnabled
|
|
9233
|
+
}, {
|
|
9234
|
+
name: 'preventOverflow',
|
|
9235
|
+
options: {
|
|
9236
|
+
altAxis: !tether,
|
|
9237
|
+
tether
|
|
9238
|
+
}
|
|
9229
9239
|
}, getArrowDetected(_ref => {
|
|
9230
9240
|
let {
|
|
9231
9241
|
state
|
|
@@ -9475,7 +9485,6 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
9475
9485
|
PopoverHeaderFooter: popover_header_footer
|
|
9476
9486
|
},
|
|
9477
9487
|
mixins: [modal],
|
|
9478
|
-
inheritAttrs: false,
|
|
9479
9488
|
props: {
|
|
9480
9489
|
/**
|
|
9481
9490
|
* Controls whether the popover is shown. Leaving this null will have the popover trigger on click by default.
|
|
@@ -9650,6 +9659,15 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
9650
9659
|
default: 'bottom-end'
|
|
9651
9660
|
},
|
|
9652
9661
|
|
|
9662
|
+
/**
|
|
9663
|
+
* If set to false the dialog will display over top of the anchor when there is insufficient space.
|
|
9664
|
+
* If set to true it will never move from its position relative to the anchor and will clip instead.
|
|
9665
|
+
*/
|
|
9666
|
+
tether: {
|
|
9667
|
+
type: Boolean,
|
|
9668
|
+
default: true
|
|
9669
|
+
},
|
|
9670
|
+
|
|
9653
9671
|
/**
|
|
9654
9672
|
* If the popover sticks to the anchor. This is usually not needed, but can be needed
|
|
9655
9673
|
* if the reference element's position is animating, or to automatically update the popover
|
|
@@ -9788,12 +9806,15 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
9788
9806
|
});
|
|
9789
9807
|
},
|
|
9790
9808
|
|
|
9791
|
-
fallbackPlacements(
|
|
9809
|
+
fallbackPlacements() {
|
|
9792
9810
|
this.tip.setProps({
|
|
9793
|
-
popperOptions:
|
|
9794
|
-
|
|
9795
|
-
|
|
9796
|
-
|
|
9811
|
+
popperOptions: this.popperOptions()
|
|
9812
|
+
});
|
|
9813
|
+
},
|
|
9814
|
+
|
|
9815
|
+
tether() {
|
|
9816
|
+
this.tip.setProps({
|
|
9817
|
+
popperOptions: this.popperOptions()
|
|
9797
9818
|
});
|
|
9798
9819
|
},
|
|
9799
9820
|
|
|
@@ -9837,10 +9858,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
9837
9858
|
}
|
|
9838
9859
|
|
|
9839
9860
|
this.tip = tippy_utils_createTippy(this.anchorEl, {
|
|
9840
|
-
popperOptions:
|
|
9841
|
-
fallbackPlacements: this.fallbackPlacements,
|
|
9842
|
-
hasHideModifierEnabled: true
|
|
9843
|
-
}),
|
|
9861
|
+
popperOptions: this.popperOptions(),
|
|
9844
9862
|
contentElement: this.popoverContentEl,
|
|
9845
9863
|
placement: this.placement,
|
|
9846
9864
|
offset: this.offset,
|
|
@@ -9875,6 +9893,14 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
9875
9893
|
* METHODS *
|
|
9876
9894
|
******************/
|
|
9877
9895
|
methods: {
|
|
9896
|
+
popperOptions() {
|
|
9897
|
+
return getPopperOptions({
|
|
9898
|
+
fallbackPlacements: this.fallbackPlacements,
|
|
9899
|
+
tether: this.tether,
|
|
9900
|
+
hasHideModifierEnabled: true
|
|
9901
|
+
});
|
|
9902
|
+
},
|
|
9903
|
+
|
|
9878
9904
|
validateProps() {
|
|
9879
9905
|
if (this.modal && this.initialFocusElement === 'none') {
|
|
9880
9906
|
console.error('If the popover is modal you must set the ' + 'initialFocusElement prop. Possible values: "dialog", "first", HTMLElement');
|
|
@@ -10057,9 +10083,9 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
10057
10083
|
});
|
|
10058
10084
|
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=script&lang=js
|
|
10059
10085
|
|
|
10060
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/popover/popover.vue?vue&type=style&index=0&id=
|
|
10061
|
-
var
|
|
10062
|
-
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=style&index=0&id=
|
|
10086
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/popover/popover.vue?vue&type=style&index=0&id=fee82b00&lang=less
|
|
10087
|
+
var popovervue_type_style_index_0_id_fee82b00_lang_less = __webpack_require__(888);
|
|
10088
|
+
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=style&index=0&id=fee82b00&lang=less
|
|
10063
10089
|
|
|
10064
10090
|
;// CONCATENATED MODULE: ./components/popover/popover.vue
|
|
10065
10091
|
|
|
@@ -10069,7 +10095,7 @@ var popovervue_type_style_index_0_id_582f9c98_lang_less = __webpack_require__(68
|
|
|
10069
10095
|
;
|
|
10070
10096
|
|
|
10071
10097
|
|
|
10072
|
-
const popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(popovervue_type_script_lang_js, [['render',
|
|
10098
|
+
const popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(popovervue_type_script_lang_js, [['render',popovervue_type_template_id_fee82b00_render]])
|
|
10073
10099
|
|
|
10074
10100
|
/* harmony default export */ const popover = (popover_exports_);
|
|
10075
10101
|
;// CONCATENATED MODULE: ./components/popover/index.js
|
|
@@ -12761,6 +12787,265 @@ const notice_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(noticevue_t
|
|
|
12761
12787
|
;// CONCATENATED MODULE: ./components/notice/index.js
|
|
12762
12788
|
|
|
12763
12789
|
|
|
12790
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=679081ce
|
|
12791
|
+
|
|
12792
|
+
const paginationvue_type_template_id_679081ce_hoisted_1 = ["aria-label"];
|
|
12793
|
+
const paginationvue_type_template_id_679081ce_hoisted_2 = {
|
|
12794
|
+
key: 0,
|
|
12795
|
+
"data-qa": "dt-pagination-separator",
|
|
12796
|
+
class: "d-h32 d-w32 d-d-flex d-ai-center d-jc-center"
|
|
12797
|
+
};
|
|
12798
|
+
function paginationvue_type_template_id_679081ce_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12799
|
+
const _component_icon_chevron_left = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("icon-chevron-left");
|
|
12800
|
+
|
|
12801
|
+
const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-button");
|
|
12802
|
+
|
|
12803
|
+
const _component_icon_chevron_right = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("icon-chevron-right");
|
|
12804
|
+
|
|
12805
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("nav", {
|
|
12806
|
+
"aria-label": $props.ariaLabel,
|
|
12807
|
+
class: "d-d-flex d-fd-row d-gg2 d-ai-center"
|
|
12808
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_button, {
|
|
12809
|
+
class: "d-h32 d-w32",
|
|
12810
|
+
"data-qa": "dt-pagination-prev",
|
|
12811
|
+
"aria-label": $props.prevAriaLabel,
|
|
12812
|
+
importance: $options.isFirstPage ? 'primary' : 'clear',
|
|
12813
|
+
disabled: $options.isFirstPage,
|
|
12814
|
+
onClick: _cache[0] || (_cache[0] = $event => $options.changePage($data.currentPage - 1))
|
|
12815
|
+
}, {
|
|
12816
|
+
icon: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_icon_chevron_left)]),
|
|
12817
|
+
_: 1
|
|
12818
|
+
}, 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) => {
|
|
12819
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
12820
|
+
key: "page-".concat(page, "-").concat(index)
|
|
12821
|
+
}, [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_679081ce_hoisted_2, " … ")) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_button, {
|
|
12822
|
+
key: 1,
|
|
12823
|
+
"aria-label": $props.pageNumberAriaLabel(page),
|
|
12824
|
+
importance: $data.currentPage === page ? 'primary' : 'clear',
|
|
12825
|
+
class: "d-h32 d-w32",
|
|
12826
|
+
"label-class": "d-fs14",
|
|
12827
|
+
onClick: $event => $options.changePage(page)
|
|
12828
|
+
}, {
|
|
12829
|
+
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)]),
|
|
12830
|
+
_: 2
|
|
12831
|
+
}, 1032, ["aria-label", "importance", "onClick"]))]);
|
|
12832
|
+
}), 128)), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_button, {
|
|
12833
|
+
class: "d-h32 d-w32",
|
|
12834
|
+
"data-qa": "dt-pagination-next",
|
|
12835
|
+
"aria-label": $props.nextAriaLabel,
|
|
12836
|
+
disabled: $options.isLastPage,
|
|
12837
|
+
importance: $options.isLastPage ? 'primary' : 'clear',
|
|
12838
|
+
onClick: _cache[1] || (_cache[1] = $event => $options.changePage($data.currentPage + 1))
|
|
12839
|
+
}, {
|
|
12840
|
+
icon: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_icon_chevron_right)]),
|
|
12841
|
+
_: 1
|
|
12842
|
+
}, 8, ["aria-label", "disabled", "importance"])], 8, paginationvue_type_template_id_679081ce_hoisted_1);
|
|
12843
|
+
}
|
|
12844
|
+
;// CONCATENATED MODULE: ./components/pagination/pagination.vue?vue&type=template&id=679081ce
|
|
12845
|
+
|
|
12846
|
+
;// CONCATENATED MODULE: ./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconChevronLeft.vue?vue&type=template&id=bdbc37f6
|
|
12847
|
+
|
|
12848
|
+
|
|
12849
|
+
const IconChevronLeftvue_type_template_id_bdbc37f6_hoisted_1 = {
|
|
12850
|
+
"aria-hidden": "true",
|
|
12851
|
+
"aria-label": "Chevron Left",
|
|
12852
|
+
class: "d-svg d-svg--system d-svg__chevronLeft",
|
|
12853
|
+
viewBox: "0 0 24 24"
|
|
12854
|
+
}
|
|
12855
|
+
const IconChevronLeftvue_type_template_id_bdbc37f6_hoisted_2 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("path", { d: "M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12l4.58-4.59z" }, null, -1)
|
|
12856
|
+
const IconChevronLeftvue_type_template_id_bdbc37f6_hoisted_3 = [
|
|
12857
|
+
IconChevronLeftvue_type_template_id_bdbc37f6_hoisted_2
|
|
12858
|
+
]
|
|
12859
|
+
|
|
12860
|
+
function IconChevronLeftvue_type_template_id_bdbc37f6_render(_ctx, _cache) {
|
|
12861
|
+
return ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("svg", IconChevronLeftvue_type_template_id_bdbc37f6_hoisted_1, IconChevronLeftvue_type_template_id_bdbc37f6_hoisted_3))
|
|
12862
|
+
}
|
|
12863
|
+
;// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconChevronLeft.vue?vue&type=template&id=bdbc37f6
|
|
12864
|
+
|
|
12865
|
+
;// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconChevronLeft.vue
|
|
12866
|
+
|
|
12867
|
+
const IconChevronLeft_script = {}
|
|
12868
|
+
|
|
12869
|
+
;
|
|
12870
|
+
const IconChevronLeft_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(IconChevronLeft_script, [['render',IconChevronLeftvue_type_template_id_bdbc37f6_render]])
|
|
12871
|
+
|
|
12872
|
+
/* harmony default export */ const IconChevronLeft = (IconChevronLeft_exports_);
|
|
12873
|
+
;// CONCATENATED MODULE: ./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconChevronRight.vue?vue&type=template&id=c72b3d10
|
|
12874
|
+
|
|
12875
|
+
|
|
12876
|
+
const IconChevronRightvue_type_template_id_c72b3d10_hoisted_1 = {
|
|
12877
|
+
"aria-hidden": "true",
|
|
12878
|
+
"aria-label": "Chevron Right",
|
|
12879
|
+
class: "d-svg d-svg--system d-svg__chevronRight",
|
|
12880
|
+
viewBox: "0 0 24 24"
|
|
12881
|
+
}
|
|
12882
|
+
const IconChevronRightvue_type_template_id_c72b3d10_hoisted_2 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("path", { d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z" }, null, -1)
|
|
12883
|
+
const IconChevronRightvue_type_template_id_c72b3d10_hoisted_3 = [
|
|
12884
|
+
IconChevronRightvue_type_template_id_c72b3d10_hoisted_2
|
|
12885
|
+
]
|
|
12886
|
+
|
|
12887
|
+
function IconChevronRightvue_type_template_id_c72b3d10_render(_ctx, _cache) {
|
|
12888
|
+
return ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("svg", IconChevronRightvue_type_template_id_c72b3d10_hoisted_1, IconChevronRightvue_type_template_id_c72b3d10_hoisted_3))
|
|
12889
|
+
}
|
|
12890
|
+
;// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconChevronRight.vue?vue&type=template&id=c72b3d10
|
|
12891
|
+
|
|
12892
|
+
;// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconChevronRight.vue
|
|
12893
|
+
|
|
12894
|
+
const IconChevronRight_script = {}
|
|
12895
|
+
|
|
12896
|
+
;
|
|
12897
|
+
const IconChevronRight_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(IconChevronRight_script, [['render',IconChevronRightvue_type_template_id_c72b3d10_render]])
|
|
12898
|
+
|
|
12899
|
+
/* harmony default export */ const IconChevronRight = (IconChevronRight_exports_);
|
|
12900
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/pagination/pagination.vue?vue&type=script&lang=js
|
|
12901
|
+
|
|
12902
|
+
|
|
12903
|
+
|
|
12904
|
+
/* harmony default export */ const paginationvue_type_script_lang_js = ({
|
|
12905
|
+
name: 'DtPagination',
|
|
12906
|
+
components: {
|
|
12907
|
+
DtButton: button_button,
|
|
12908
|
+
IconChevronLeft: IconChevronLeft,
|
|
12909
|
+
IconChevronRight: IconChevronRight
|
|
12910
|
+
},
|
|
12911
|
+
props: {
|
|
12912
|
+
/**
|
|
12913
|
+
* Descriptive label for the pagination content.
|
|
12914
|
+
*/
|
|
12915
|
+
ariaLabel: {
|
|
12916
|
+
type: String,
|
|
12917
|
+
required: true
|
|
12918
|
+
},
|
|
12919
|
+
|
|
12920
|
+
/**
|
|
12921
|
+
* The total number of the pages
|
|
12922
|
+
*/
|
|
12923
|
+
totalPages: {
|
|
12924
|
+
type: Number,
|
|
12925
|
+
required: true
|
|
12926
|
+
},
|
|
12927
|
+
|
|
12928
|
+
/**
|
|
12929
|
+
* Descriptive label for the previous button.
|
|
12930
|
+
*/
|
|
12931
|
+
prevAriaLabel: {
|
|
12932
|
+
type: String,
|
|
12933
|
+
required: true
|
|
12934
|
+
},
|
|
12935
|
+
|
|
12936
|
+
/**
|
|
12937
|
+
* Descriptive label for the next button.
|
|
12938
|
+
*/
|
|
12939
|
+
nextAriaLabel: {
|
|
12940
|
+
type: String,
|
|
12941
|
+
required: true
|
|
12942
|
+
},
|
|
12943
|
+
|
|
12944
|
+
/**
|
|
12945
|
+
* A method that will be called to get the aria label of each page.
|
|
12946
|
+
*/
|
|
12947
|
+
pageNumberAriaLabel: {
|
|
12948
|
+
type: Function,
|
|
12949
|
+
required: true
|
|
12950
|
+
},
|
|
12951
|
+
|
|
12952
|
+
/**
|
|
12953
|
+
* The active current page in the list of pages, defaults to the first page
|
|
12954
|
+
*/
|
|
12955
|
+
activePage: {
|
|
12956
|
+
type: Number,
|
|
12957
|
+
default: 1
|
|
12958
|
+
},
|
|
12959
|
+
|
|
12960
|
+
/**
|
|
12961
|
+
* Determines the max pages to be shown in the list. Using an odd number is recommended.
|
|
12962
|
+
* If an even number is given, then it will be rounded down to the nearest odd number to always
|
|
12963
|
+
* keep current page in the middle when current page is in the mid-range.
|
|
12964
|
+
*/
|
|
12965
|
+
maxVisible: {
|
|
12966
|
+
type: Number,
|
|
12967
|
+
default: 5
|
|
12968
|
+
}
|
|
12969
|
+
},
|
|
12970
|
+
emits: ['change'],
|
|
12971
|
+
|
|
12972
|
+
data() {
|
|
12973
|
+
return {
|
|
12974
|
+
currentPage: this.activePage
|
|
12975
|
+
};
|
|
12976
|
+
},
|
|
12977
|
+
|
|
12978
|
+
computed: {
|
|
12979
|
+
isFirstPage() {
|
|
12980
|
+
return this.currentPage === 1;
|
|
12981
|
+
},
|
|
12982
|
+
|
|
12983
|
+
isLastPage() {
|
|
12984
|
+
return this.currentPage === this.totalPages;
|
|
12985
|
+
},
|
|
12986
|
+
|
|
12987
|
+
pages() {
|
|
12988
|
+
if (this.maxVisible === 0) {
|
|
12989
|
+
return [];
|
|
12990
|
+
}
|
|
12991
|
+
|
|
12992
|
+
if (this.totalPages <= this.maxVisible) {
|
|
12993
|
+
return this.range(1, this.totalPages);
|
|
12994
|
+
}
|
|
12995
|
+
|
|
12996
|
+
const start = this.maxVisible - 1;
|
|
12997
|
+
const end = this.totalPages - start + 1;
|
|
12998
|
+
|
|
12999
|
+
if (this.currentPage < start) {
|
|
13000
|
+
return [...this.range(1, start), '...', this.totalPages];
|
|
13001
|
+
}
|
|
13002
|
+
|
|
13003
|
+
if (this.currentPage > end) {
|
|
13004
|
+
return [1, '...', ...this.range(end, this.totalPages)];
|
|
13005
|
+
} // rounding to the nearest odd according to the maxlength to always show the page number in the middle.
|
|
13006
|
+
|
|
13007
|
+
|
|
13008
|
+
const total = this.maxVisible - (3 - this.maxVisible % 2);
|
|
13009
|
+
const centerIndex = Math.floor(total / 2);
|
|
13010
|
+
const left = this.currentPage - centerIndex;
|
|
13011
|
+
const right = this.currentPage + centerIndex;
|
|
13012
|
+
return [1, '...', ...this.range(left, right), '...', this.totalPages];
|
|
13013
|
+
}
|
|
13014
|
+
|
|
13015
|
+
},
|
|
13016
|
+
watch: {},
|
|
13017
|
+
methods: {
|
|
13018
|
+
range(from, to) {
|
|
13019
|
+
const range = [];
|
|
13020
|
+
from = from > 0 ? from : 1;
|
|
13021
|
+
|
|
13022
|
+
for (let i = from; i <= to; i++) {
|
|
13023
|
+
range.push(i);
|
|
13024
|
+
}
|
|
13025
|
+
|
|
13026
|
+
return range;
|
|
13027
|
+
},
|
|
13028
|
+
|
|
13029
|
+
changePage(page) {
|
|
13030
|
+
this.currentPage = page;
|
|
13031
|
+
this.$emit('change', this.currentPage);
|
|
13032
|
+
}
|
|
13033
|
+
|
|
13034
|
+
}
|
|
13035
|
+
});
|
|
13036
|
+
;// CONCATENATED MODULE: ./components/pagination/pagination.vue?vue&type=script&lang=js
|
|
13037
|
+
|
|
13038
|
+
;// CONCATENATED MODULE: ./components/pagination/pagination.vue
|
|
13039
|
+
|
|
13040
|
+
|
|
13041
|
+
|
|
13042
|
+
|
|
13043
|
+
;
|
|
13044
|
+
const pagination_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(paginationvue_type_script_lang_js, [['render',paginationvue_type_template_id_679081ce_render]])
|
|
13045
|
+
|
|
13046
|
+
/* harmony default export */ const pagination = (pagination_exports_);
|
|
13047
|
+
;// CONCATENATED MODULE: ./components/pagination/index.js
|
|
13048
|
+
|
|
12764
13049
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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/radio/radio.vue?vue&type=template&id=36afe768
|
|
12765
13050
|
|
|
12766
13051
|
const radiovue_type_template_id_36afe768_hoisted_1 = {
|
|
@@ -16939,6 +17224,7 @@ const top_banner_info_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(to
|
|
|
16939
17224
|
|
|
16940
17225
|
|
|
16941
17226
|
|
|
17227
|
+
|
|
16942
17228
|
|
|
16943
17229
|
|
|
16944
17230
|
/// Recipes
|