@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.
package/dist/dialtone-vue.umd.js
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
13
13
|
|
|
14
|
-
/***/
|
|
14
|
+
/***/ 403:
|
|
15
15
|
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
16
16
|
|
|
17
17
|
"use strict";
|
|
@@ -107,7 +107,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".dt-list-section[tabindex=\"-1\"]:focu
|
|
|
107
107
|
|
|
108
108
|
/***/ }),
|
|
109
109
|
|
|
110
|
-
/***/
|
|
110
|
+
/***/ 195:
|
|
111
111
|
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
112
112
|
|
|
113
113
|
"use strict";
|
|
@@ -409,7 +409,7 @@ exports.Z = (sfc, props) => {
|
|
|
409
409
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
410
410
|
|
|
411
411
|
// load the styles
|
|
412
|
-
var content = __webpack_require__(
|
|
412
|
+
var content = __webpack_require__(403);
|
|
413
413
|
if(content.__esModule) content = content.default;
|
|
414
414
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
415
415
|
if(content.locals) module.exports = content.locals;
|
|
@@ -467,19 +467,19 @@ var update = add("06b601f1", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
467
467
|
|
|
468
468
|
/***/ }),
|
|
469
469
|
|
|
470
|
-
/***/
|
|
470
|
+
/***/ 560:
|
|
471
471
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
472
472
|
|
|
473
473
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
474
474
|
|
|
475
475
|
// load the styles
|
|
476
|
-
var content = __webpack_require__(
|
|
476
|
+
var content = __webpack_require__(195);
|
|
477
477
|
if(content.__esModule) content = content.default;
|
|
478
478
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
479
479
|
if(content.locals) module.exports = content.locals;
|
|
480
480
|
// add the styles to the DOM
|
|
481
481
|
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
|
482
|
-
var update = add("
|
|
482
|
+
var update = add("42289f9e", content, true, {"sourceMap":false,"shadowMode":false});
|
|
483
483
|
|
|
484
484
|
/***/ }),
|
|
485
485
|
|
|
@@ -1151,6 +1151,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1151
1151
|
"DtListSection": () => (/* reexport */ list_section),
|
|
1152
1152
|
"DtModal": () => (/* reexport */ modal_modal),
|
|
1153
1153
|
"DtNotice": () => (/* reexport */ notice),
|
|
1154
|
+
"DtPagination": () => (/* reexport */ pagination),
|
|
1154
1155
|
"DtPopover": () => (/* reexport */ popover),
|
|
1155
1156
|
"DtRadio": () => (/* reexport */ radio_radio),
|
|
1156
1157
|
"DtRadioGroup": () => (/* reexport */ radio_group),
|
|
@@ -2942,13 +2943,13 @@ const button_group_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(butto
|
|
|
2942
2943
|
;// CONCATENATED MODULE: ./components/button_group/index.js
|
|
2943
2944
|
|
|
2944
2945
|
|
|
2945
|
-
;// 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/combobox/combobox.vue?vue&type=template&id=
|
|
2946
|
+
;// 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/combobox/combobox.vue?vue&type=template&id=3a8030f9
|
|
2946
2947
|
|
|
2947
|
-
const
|
|
2948
|
-
const
|
|
2948
|
+
const comboboxvue_type_template_id_3a8030f9_hoisted_1 = ["aria-expanded", "aria-controls", "aria-owns"];
|
|
2949
|
+
const comboboxvue_type_template_id_3a8030f9_hoisted_2 = {
|
|
2949
2950
|
"data-qa": "dt-combobox-input-wrapper"
|
|
2950
2951
|
};
|
|
2951
|
-
function
|
|
2952
|
+
function comboboxvue_type_template_id_3a8030f9_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2952
2953
|
const _component_combobox_loading_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("combobox-loading-list");
|
|
2953
2954
|
|
|
2954
2955
|
const _component_combobox_empty_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("combobox-empty-list");
|
|
@@ -2960,7 +2961,7 @@ function comboboxvue_type_template_id_83040a60_render(_ctx, _cache, $props, $set
|
|
|
2960
2961
|
"aria-owns": $props.listId,
|
|
2961
2962
|
"aria-haspopup": "listbox",
|
|
2962
2963
|
onKeydown: [_cache[3] || (_cache[3] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.withModifiers)($event => $options.onKeyValidation($event, 'onEscapeKey'), ["stop"]), ["esc"])), _cache[4] || (_cache[4] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.withModifiers)($event => $options.onKeyValidation($event, 'onEnterKey'), ["exact"]), ["enter"])), _cache[5] || (_cache[5] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.withModifiers)($event => $options.onKeyValidation($event, 'onUpKey'), ["stop", "prevent"]), ["up"])), _cache[6] || (_cache[6] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.withModifiers)($event => $options.onKeyValidation($event, 'onDownKey'), ["stop", "prevent"]), ["down"])), _cache[7] || (_cache[7] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.withModifiers)($event => $options.onKeyValidation($event, 'onHomeKey'), ["stop", "prevent"]), ["home"])), _cache[8] || (_cache[8] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.withModifiers)($event => $options.onKeyValidation($event, 'onEndKey'), ["stop", "prevent"]), ["end"]))]
|
|
2963
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div",
|
|
2964
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", comboboxvue_type_template_id_3a8030f9_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "input", {
|
|
2964
2965
|
inputProps: $options.inputProps
|
|
2965
2966
|
})]), $props.showList ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
2966
2967
|
key: 0,
|
|
@@ -2988,9 +2989,9 @@ function comboboxvue_type_template_id_83040a60_render(_ctx, _cache, $props, $set
|
|
|
2988
2989
|
clearHighlightIndex: $options.clearHighlightIndex,
|
|
2989
2990
|
isLoading: $data.isLoading,
|
|
2990
2991
|
isListEmpty: $data.isListEmpty
|
|
2991
|
-
})], 544)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)], 40,
|
|
2992
|
+
})], 544)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)], 40, comboboxvue_type_template_id_3a8030f9_hoisted_1);
|
|
2992
2993
|
}
|
|
2993
|
-
;// CONCATENATED MODULE: ./components/combobox/combobox.vue?vue&type=template&id=
|
|
2994
|
+
;// CONCATENATED MODULE: ./components/combobox/combobox.vue?vue&type=template&id=3a8030f9
|
|
2994
2995
|
|
|
2995
2996
|
;// CONCATENATED MODULE: ./common/mixins/dom.js
|
|
2996
2997
|
/* harmony default export */ const dom = ({
|
|
@@ -4524,9 +4525,9 @@ const combobox_empty_list_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z
|
|
|
4524
4525
|
},
|
|
4525
4526
|
|
|
4526
4527
|
getListElement() {
|
|
4527
|
-
var _this$outsideRendered;
|
|
4528
|
+
var _this$outsideRendered, _this$$refs$listWrapp;
|
|
4528
4529
|
|
|
4529
|
-
return (_this$outsideRendered = this.outsideRenderedListRef) !== null && _this$outsideRendered !== void 0 ? _this$outsideRendered : this.$refs.listWrapper.querySelector("#".concat(this.listId));
|
|
4530
|
+
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));
|
|
4530
4531
|
},
|
|
4531
4532
|
|
|
4532
4533
|
clearHighlightIndex() {
|
|
@@ -4596,7 +4597,7 @@ const combobox_empty_list_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z
|
|
|
4596
4597
|
|
|
4597
4598
|
|
|
4598
4599
|
;
|
|
4599
|
-
const combobox_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(comboboxvue_type_script_lang_js, [['render',
|
|
4600
|
+
const combobox_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(comboboxvue_type_script_lang_js, [['render',comboboxvue_type_template_id_3a8030f9_render]])
|
|
4600
4601
|
|
|
4601
4602
|
/* harmony default export */ const combobox = (combobox_exports_);
|
|
4602
4603
|
;// CONCATENATED MODULE: ./components/combobox/index.js
|
|
@@ -4656,11 +4657,11 @@ function dropdownvue_type_template_id_b0e1f8ba_render(_ctx, _cache, $props, $set
|
|
|
4656
4657
|
}
|
|
4657
4658
|
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=template&id=b0e1f8ba
|
|
4658
4659
|
|
|
4659
|
-
;// 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=
|
|
4660
|
+
;// 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=fee82b00
|
|
4660
4661
|
|
|
4661
|
-
const
|
|
4662
|
-
const
|
|
4663
|
-
function
|
|
4662
|
+
const popovervue_type_template_id_fee82b00_hoisted_1 = ["aria-hidden"];
|
|
4663
|
+
const popovervue_type_template_id_fee82b00_hoisted_2 = ["id"];
|
|
4664
|
+
function popovervue_type_template_id_fee82b00_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4664
4665
|
const _component_popover_header_footer = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("popover-header-footer");
|
|
4665
4666
|
|
|
4666
4667
|
const _component_dt_lazy_show = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("dt-lazy-show");
|
|
@@ -4672,13 +4673,13 @@ function popovervue_type_template_id_582f9c98_render(_ctx, _cache, $props, $setu
|
|
|
4672
4673
|
class: "d-modal--transparent",
|
|
4673
4674
|
"aria-hidden": $props.modal && $data.isOpen ? 'false' : 'true',
|
|
4674
4675
|
onClick: _cache[0] || (_cache[0] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withModifiers)(() => {}, ["prevent", "stop"]))
|
|
4675
|
-
}, null, 8,
|
|
4676
|
+
}, null, 8, popovervue_type_template_id_fee82b00_hoisted_1)])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveDynamicComponent)($props.elementType), {
|
|
4676
4677
|
ref: "popover",
|
|
4677
|
-
class: ['d-popover', {
|
|
4678
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(['d-popover', {
|
|
4678
4679
|
'd-popover__anchor--modal-opened': $props.modal && $data.isOpen
|
|
4679
|
-
}],
|
|
4680
|
+
}]),
|
|
4680
4681
|
"data-qa": "dt-popover-container"
|
|
4681
|
-
},
|
|
4682
|
+
}, {
|
|
4682
4683
|
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
4683
4684
|
id: !$props.ariaLabelledby && $options.labelledBy,
|
|
4684
4685
|
ref: "anchor",
|
|
@@ -4701,7 +4702,7 @@ function popovervue_type_template_id_582f9c98_render(_ctx, _cache, $props, $setu
|
|
|
4701
4702
|
'aria-controls': $props.id,
|
|
4702
4703
|
'aria-haspopup': $props.role
|
|
4703
4704
|
}
|
|
4704
|
-
})], 40,
|
|
4705
|
+
})], 40, popovervue_type_template_id_fee82b00_hoisted_2), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_dt_lazy_show, {
|
|
4705
4706
|
id: $props.id,
|
|
4706
4707
|
ref: "content",
|
|
4707
4708
|
role: $props.role,
|
|
@@ -4713,19 +4714,19 @@ function popovervue_type_template_id_582f9c98_render(_ctx, _cache, $props, $setu
|
|
|
4713
4714
|
transition: $props.transition,
|
|
4714
4715
|
show: $data.isOpen,
|
|
4715
4716
|
appear: "",
|
|
4716
|
-
class: ['d-popover__dialog', {
|
|
4717
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(['d-popover__dialog', {
|
|
4717
4718
|
'd-popover__dialog--modal': $props.modal
|
|
4718
|
-
}, $props.dialogClass],
|
|
4719
|
-
style: {
|
|
4719
|
+
}, $props.dialogClass]),
|
|
4720
|
+
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)({
|
|
4720
4721
|
'max-height': $props.maxHeight,
|
|
4721
4722
|
'max-width': $props.maxWidth
|
|
4722
|
-
},
|
|
4723
|
-
|
|
4724
|
-
|
|
4723
|
+
}),
|
|
4724
|
+
css: _ctx.$attrs.css,
|
|
4725
|
+
tabindex: $props.contentTabindex,
|
|
4725
4726
|
onKeydownCapture: $options.onKeydown,
|
|
4726
4727
|
onAfterLeave: $options.onLeaveTransitionComplete,
|
|
4727
4728
|
onAfterEnter: $options.onEnterTransitionComplete
|
|
4728
|
-
}
|
|
4729
|
+
}, {
|
|
4729
4730
|
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [_ctx.$slots.headerContent || $props.showCloseButton ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_popover_header_footer, {
|
|
4730
4731
|
key: 0,
|
|
4731
4732
|
ref: "popover__header",
|
|
@@ -4759,11 +4760,11 @@ function popovervue_type_template_id_582f9c98_render(_ctx, _cache, $props, $setu
|
|
|
4759
4760
|
_: 3
|
|
4760
4761
|
}, 8, ["class", "content-class"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)]),
|
|
4761
4762
|
_: 3
|
|
4762
|
-
},
|
|
4763
|
+
}, 8, ["id", "role", "aria-hidden", "aria-labelledby", "aria-label", "aria-modal", "transition", "show", "class", "style", "css", "tabindex", "onKeydownCapture", "onAfterLeave", "onAfterEnter"])]),
|
|
4763
4764
|
_: 3
|
|
4764
|
-
},
|
|
4765
|
+
}, 8, ["class"]))]);
|
|
4765
4766
|
}
|
|
4766
|
-
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=template&id=
|
|
4767
|
+
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=template&id=fee82b00
|
|
4767
4768
|
|
|
4768
4769
|
;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getWindow.js
|
|
4769
4770
|
function getWindow(node) {
|
|
@@ -9232,7 +9233,10 @@ const getPopperOptions = function () {
|
|
|
9232
9233
|
boundary = 'clippingParents',
|
|
9233
9234
|
fallbackPlacements = [],
|
|
9234
9235
|
onChangePlacement = () => {},
|
|
9235
|
-
hasHideModifierEnabled = false
|
|
9236
|
+
hasHideModifierEnabled = false,
|
|
9237
|
+
// If set to false the dialog will display over top of the anchor when there is insufficient space.
|
|
9238
|
+
// if set to true it will never move from its position relative to the anchor and will clip instead.
|
|
9239
|
+
tether = true
|
|
9236
9240
|
} = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
9237
9241
|
return {
|
|
9238
9242
|
modifiers: [{
|
|
@@ -9244,6 +9248,12 @@ const getPopperOptions = function () {
|
|
|
9244
9248
|
}, {
|
|
9245
9249
|
name: 'hide',
|
|
9246
9250
|
enabled: hasHideModifierEnabled
|
|
9251
|
+
}, {
|
|
9252
|
+
name: 'preventOverflow',
|
|
9253
|
+
options: {
|
|
9254
|
+
altAxis: !tether,
|
|
9255
|
+
tether
|
|
9256
|
+
}
|
|
9247
9257
|
}, getArrowDetected(_ref => {
|
|
9248
9258
|
let {
|
|
9249
9259
|
state
|
|
@@ -9493,7 +9503,6 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
9493
9503
|
PopoverHeaderFooter: popover_header_footer
|
|
9494
9504
|
},
|
|
9495
9505
|
mixins: [modal],
|
|
9496
|
-
inheritAttrs: false,
|
|
9497
9506
|
props: {
|
|
9498
9507
|
/**
|
|
9499
9508
|
* Controls whether the popover is shown. Leaving this null will have the popover trigger on click by default.
|
|
@@ -9668,6 +9677,15 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
9668
9677
|
default: 'bottom-end'
|
|
9669
9678
|
},
|
|
9670
9679
|
|
|
9680
|
+
/**
|
|
9681
|
+
* If set to false the dialog will display over top of the anchor when there is insufficient space.
|
|
9682
|
+
* If set to true it will never move from its position relative to the anchor and will clip instead.
|
|
9683
|
+
*/
|
|
9684
|
+
tether: {
|
|
9685
|
+
type: Boolean,
|
|
9686
|
+
default: true
|
|
9687
|
+
},
|
|
9688
|
+
|
|
9671
9689
|
/**
|
|
9672
9690
|
* If the popover sticks to the anchor. This is usually not needed, but can be needed
|
|
9673
9691
|
* if the reference element's position is animating, or to automatically update the popover
|
|
@@ -9806,12 +9824,15 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
9806
9824
|
});
|
|
9807
9825
|
},
|
|
9808
9826
|
|
|
9809
|
-
fallbackPlacements(
|
|
9827
|
+
fallbackPlacements() {
|
|
9810
9828
|
this.tip.setProps({
|
|
9811
|
-
popperOptions:
|
|
9812
|
-
|
|
9813
|
-
|
|
9814
|
-
|
|
9829
|
+
popperOptions: this.popperOptions()
|
|
9830
|
+
});
|
|
9831
|
+
},
|
|
9832
|
+
|
|
9833
|
+
tether() {
|
|
9834
|
+
this.tip.setProps({
|
|
9835
|
+
popperOptions: this.popperOptions()
|
|
9815
9836
|
});
|
|
9816
9837
|
},
|
|
9817
9838
|
|
|
@@ -9855,10 +9876,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
9855
9876
|
}
|
|
9856
9877
|
|
|
9857
9878
|
this.tip = tippy_utils_createTippy(this.anchorEl, {
|
|
9858
|
-
popperOptions:
|
|
9859
|
-
fallbackPlacements: this.fallbackPlacements,
|
|
9860
|
-
hasHideModifierEnabled: true
|
|
9861
|
-
}),
|
|
9879
|
+
popperOptions: this.popperOptions(),
|
|
9862
9880
|
contentElement: this.popoverContentEl,
|
|
9863
9881
|
placement: this.placement,
|
|
9864
9882
|
offset: this.offset,
|
|
@@ -9893,6 +9911,14 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
9893
9911
|
* METHODS *
|
|
9894
9912
|
******************/
|
|
9895
9913
|
methods: {
|
|
9914
|
+
popperOptions() {
|
|
9915
|
+
return getPopperOptions({
|
|
9916
|
+
fallbackPlacements: this.fallbackPlacements,
|
|
9917
|
+
tether: this.tether,
|
|
9918
|
+
hasHideModifierEnabled: true
|
|
9919
|
+
});
|
|
9920
|
+
},
|
|
9921
|
+
|
|
9896
9922
|
validateProps() {
|
|
9897
9923
|
if (this.modal && this.initialFocusElement === 'none') {
|
|
9898
9924
|
console.error('If the popover is modal you must set the ' + 'initialFocusElement prop. Possible values: "dialog", "first", HTMLElement');
|
|
@@ -10075,9 +10101,9 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
10075
10101
|
});
|
|
10076
10102
|
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=script&lang=js
|
|
10077
10103
|
|
|
10078
|
-
// 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=
|
|
10079
|
-
var
|
|
10080
|
-
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=style&index=0&id=
|
|
10104
|
+
// 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=fee82b00&lang=less
|
|
10105
|
+
var popovervue_type_style_index_0_id_fee82b00_lang_less = __webpack_require__(560);
|
|
10106
|
+
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=style&index=0&id=fee82b00&lang=less
|
|
10081
10107
|
|
|
10082
10108
|
;// CONCATENATED MODULE: ./components/popover/popover.vue
|
|
10083
10109
|
|
|
@@ -10087,7 +10113,7 @@ var popovervue_type_style_index_0_id_582f9c98_lang_less = __webpack_require__(40
|
|
|
10087
10113
|
;
|
|
10088
10114
|
|
|
10089
10115
|
|
|
10090
|
-
const popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(popovervue_type_script_lang_js, [['render',
|
|
10116
|
+
const popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(popovervue_type_script_lang_js, [['render',popovervue_type_template_id_fee82b00_render]])
|
|
10091
10117
|
|
|
10092
10118
|
/* harmony default export */ const popover = (popover_exports_);
|
|
10093
10119
|
;// CONCATENATED MODULE: ./components/popover/index.js
|
|
@@ -12779,6 +12805,265 @@ const notice_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(noticevue_t
|
|
|
12779
12805
|
;// CONCATENATED MODULE: ./components/notice/index.js
|
|
12780
12806
|
|
|
12781
12807
|
|
|
12808
|
+
;// 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=679081ce
|
|
12809
|
+
|
|
12810
|
+
const paginationvue_type_template_id_679081ce_hoisted_1 = ["aria-label"];
|
|
12811
|
+
const paginationvue_type_template_id_679081ce_hoisted_2 = {
|
|
12812
|
+
key: 0,
|
|
12813
|
+
"data-qa": "dt-pagination-separator",
|
|
12814
|
+
class: "d-h32 d-w32 d-d-flex d-ai-center d-jc-center"
|
|
12815
|
+
};
|
|
12816
|
+
function paginationvue_type_template_id_679081ce_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12817
|
+
const _component_icon_chevron_left = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("icon-chevron-left");
|
|
12818
|
+
|
|
12819
|
+
const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("dt-button");
|
|
12820
|
+
|
|
12821
|
+
const _component_icon_chevron_right = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("icon-chevron-right");
|
|
12822
|
+
|
|
12823
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("nav", {
|
|
12824
|
+
"aria-label": $props.ariaLabel,
|
|
12825
|
+
class: "d-d-flex d-fd-row d-gg2 d-ai-center"
|
|
12826
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_dt_button, {
|
|
12827
|
+
class: "d-h32 d-w32",
|
|
12828
|
+
"data-qa": "dt-pagination-prev",
|
|
12829
|
+
"aria-label": $props.prevAriaLabel,
|
|
12830
|
+
importance: $options.isFirstPage ? 'primary' : 'clear',
|
|
12831
|
+
disabled: $options.isFirstPage,
|
|
12832
|
+
onClick: _cache[0] || (_cache[0] = $event => $options.changePage($data.currentPage - 1))
|
|
12833
|
+
}, {
|
|
12834
|
+
icon: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_icon_chevron_left)]),
|
|
12835
|
+
_: 1
|
|
12836
|
+
}, 8, ["aria-label", "importance", "disabled"]), ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_.Fragment, null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderList)($options.pages, (page, index) => {
|
|
12837
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
12838
|
+
key: "page-".concat(page, "-").concat(index)
|
|
12839
|
+
}, [isNaN(Number(page)) ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", paginationvue_type_template_id_679081ce_hoisted_2, " … ")) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_dt_button, {
|
|
12840
|
+
key: 1,
|
|
12841
|
+
"aria-label": $props.pageNumberAriaLabel(page),
|
|
12842
|
+
importance: $data.currentPage === page ? 'primary' : 'clear',
|
|
12843
|
+
class: "d-h32 d-w32",
|
|
12844
|
+
"label-class": "d-fs14",
|
|
12845
|
+
onClick: $event => $options.changePage(page)
|
|
12846
|
+
}, {
|
|
12847
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(page), 1)]),
|
|
12848
|
+
_: 2
|
|
12849
|
+
}, 1032, ["aria-label", "importance", "onClick"]))]);
|
|
12850
|
+
}), 128)), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_dt_button, {
|
|
12851
|
+
class: "d-h32 d-w32",
|
|
12852
|
+
"data-qa": "dt-pagination-next",
|
|
12853
|
+
"aria-label": $props.nextAriaLabel,
|
|
12854
|
+
disabled: $options.isLastPage,
|
|
12855
|
+
importance: $options.isLastPage ? 'primary' : 'clear',
|
|
12856
|
+
onClick: _cache[1] || (_cache[1] = $event => $options.changePage($data.currentPage + 1))
|
|
12857
|
+
}, {
|
|
12858
|
+
icon: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_icon_chevron_right)]),
|
|
12859
|
+
_: 1
|
|
12860
|
+
}, 8, ["aria-label", "disabled", "importance"])], 8, paginationvue_type_template_id_679081ce_hoisted_1);
|
|
12861
|
+
}
|
|
12862
|
+
;// CONCATENATED MODULE: ./components/pagination/pagination.vue?vue&type=template&id=679081ce
|
|
12863
|
+
|
|
12864
|
+
;// 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
|
|
12865
|
+
|
|
12866
|
+
|
|
12867
|
+
const IconChevronLeftvue_type_template_id_bdbc37f6_hoisted_1 = {
|
|
12868
|
+
"aria-hidden": "true",
|
|
12869
|
+
"aria-label": "Chevron Left",
|
|
12870
|
+
class: "d-svg d-svg--system d-svg__chevronLeft",
|
|
12871
|
+
viewBox: "0 0 24 24"
|
|
12872
|
+
}
|
|
12873
|
+
const IconChevronLeftvue_type_template_id_bdbc37f6_hoisted_2 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("path", { d: "M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12l4.58-4.59z" }, null, -1)
|
|
12874
|
+
const IconChevronLeftvue_type_template_id_bdbc37f6_hoisted_3 = [
|
|
12875
|
+
IconChevronLeftvue_type_template_id_bdbc37f6_hoisted_2
|
|
12876
|
+
]
|
|
12877
|
+
|
|
12878
|
+
function IconChevronLeftvue_type_template_id_bdbc37f6_render(_ctx, _cache) {
|
|
12879
|
+
return ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("svg", IconChevronLeftvue_type_template_id_bdbc37f6_hoisted_1, IconChevronLeftvue_type_template_id_bdbc37f6_hoisted_3))
|
|
12880
|
+
}
|
|
12881
|
+
;// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconChevronLeft.vue?vue&type=template&id=bdbc37f6
|
|
12882
|
+
|
|
12883
|
+
;// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconChevronLeft.vue
|
|
12884
|
+
|
|
12885
|
+
const IconChevronLeft_script = {}
|
|
12886
|
+
|
|
12887
|
+
;
|
|
12888
|
+
const IconChevronLeft_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(IconChevronLeft_script, [['render',IconChevronLeftvue_type_template_id_bdbc37f6_render]])
|
|
12889
|
+
|
|
12890
|
+
/* harmony default export */ const IconChevronLeft = (IconChevronLeft_exports_);
|
|
12891
|
+
;// 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
|
|
12892
|
+
|
|
12893
|
+
|
|
12894
|
+
const IconChevronRightvue_type_template_id_c72b3d10_hoisted_1 = {
|
|
12895
|
+
"aria-hidden": "true",
|
|
12896
|
+
"aria-label": "Chevron Right",
|
|
12897
|
+
class: "d-svg d-svg--system d-svg__chevronRight",
|
|
12898
|
+
viewBox: "0 0 24 24"
|
|
12899
|
+
}
|
|
12900
|
+
const IconChevronRightvue_type_template_id_c72b3d10_hoisted_2 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("path", { d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z" }, null, -1)
|
|
12901
|
+
const IconChevronRightvue_type_template_id_c72b3d10_hoisted_3 = [
|
|
12902
|
+
IconChevronRightvue_type_template_id_c72b3d10_hoisted_2
|
|
12903
|
+
]
|
|
12904
|
+
|
|
12905
|
+
function IconChevronRightvue_type_template_id_c72b3d10_render(_ctx, _cache) {
|
|
12906
|
+
return ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("svg", IconChevronRightvue_type_template_id_c72b3d10_hoisted_1, IconChevronRightvue_type_template_id_c72b3d10_hoisted_3))
|
|
12907
|
+
}
|
|
12908
|
+
;// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconChevronRight.vue?vue&type=template&id=c72b3d10
|
|
12909
|
+
|
|
12910
|
+
;// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconChevronRight.vue
|
|
12911
|
+
|
|
12912
|
+
const IconChevronRight_script = {}
|
|
12913
|
+
|
|
12914
|
+
;
|
|
12915
|
+
const IconChevronRight_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(IconChevronRight_script, [['render',IconChevronRightvue_type_template_id_c72b3d10_render]])
|
|
12916
|
+
|
|
12917
|
+
/* harmony default export */ const IconChevronRight = (IconChevronRight_exports_);
|
|
12918
|
+
;// 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
|
|
12919
|
+
|
|
12920
|
+
|
|
12921
|
+
|
|
12922
|
+
/* harmony default export */ const paginationvue_type_script_lang_js = ({
|
|
12923
|
+
name: 'DtPagination',
|
|
12924
|
+
components: {
|
|
12925
|
+
DtButton: button_button,
|
|
12926
|
+
IconChevronLeft: IconChevronLeft,
|
|
12927
|
+
IconChevronRight: IconChevronRight
|
|
12928
|
+
},
|
|
12929
|
+
props: {
|
|
12930
|
+
/**
|
|
12931
|
+
* Descriptive label for the pagination content.
|
|
12932
|
+
*/
|
|
12933
|
+
ariaLabel: {
|
|
12934
|
+
type: String,
|
|
12935
|
+
required: true
|
|
12936
|
+
},
|
|
12937
|
+
|
|
12938
|
+
/**
|
|
12939
|
+
* The total number of the pages
|
|
12940
|
+
*/
|
|
12941
|
+
totalPages: {
|
|
12942
|
+
type: Number,
|
|
12943
|
+
required: true
|
|
12944
|
+
},
|
|
12945
|
+
|
|
12946
|
+
/**
|
|
12947
|
+
* Descriptive label for the previous button.
|
|
12948
|
+
*/
|
|
12949
|
+
prevAriaLabel: {
|
|
12950
|
+
type: String,
|
|
12951
|
+
required: true
|
|
12952
|
+
},
|
|
12953
|
+
|
|
12954
|
+
/**
|
|
12955
|
+
* Descriptive label for the next button.
|
|
12956
|
+
*/
|
|
12957
|
+
nextAriaLabel: {
|
|
12958
|
+
type: String,
|
|
12959
|
+
required: true
|
|
12960
|
+
},
|
|
12961
|
+
|
|
12962
|
+
/**
|
|
12963
|
+
* A method that will be called to get the aria label of each page.
|
|
12964
|
+
*/
|
|
12965
|
+
pageNumberAriaLabel: {
|
|
12966
|
+
type: Function,
|
|
12967
|
+
required: true
|
|
12968
|
+
},
|
|
12969
|
+
|
|
12970
|
+
/**
|
|
12971
|
+
* The active current page in the list of pages, defaults to the first page
|
|
12972
|
+
*/
|
|
12973
|
+
activePage: {
|
|
12974
|
+
type: Number,
|
|
12975
|
+
default: 1
|
|
12976
|
+
},
|
|
12977
|
+
|
|
12978
|
+
/**
|
|
12979
|
+
* Determines the max pages to be shown in the list. Using an odd number is recommended.
|
|
12980
|
+
* If an even number is given, then it will be rounded down to the nearest odd number to always
|
|
12981
|
+
* keep current page in the middle when current page is in the mid-range.
|
|
12982
|
+
*/
|
|
12983
|
+
maxVisible: {
|
|
12984
|
+
type: Number,
|
|
12985
|
+
default: 5
|
|
12986
|
+
}
|
|
12987
|
+
},
|
|
12988
|
+
emits: ['change'],
|
|
12989
|
+
|
|
12990
|
+
data() {
|
|
12991
|
+
return {
|
|
12992
|
+
currentPage: this.activePage
|
|
12993
|
+
};
|
|
12994
|
+
},
|
|
12995
|
+
|
|
12996
|
+
computed: {
|
|
12997
|
+
isFirstPage() {
|
|
12998
|
+
return this.currentPage === 1;
|
|
12999
|
+
},
|
|
13000
|
+
|
|
13001
|
+
isLastPage() {
|
|
13002
|
+
return this.currentPage === this.totalPages;
|
|
13003
|
+
},
|
|
13004
|
+
|
|
13005
|
+
pages() {
|
|
13006
|
+
if (this.maxVisible === 0) {
|
|
13007
|
+
return [];
|
|
13008
|
+
}
|
|
13009
|
+
|
|
13010
|
+
if (this.totalPages <= this.maxVisible) {
|
|
13011
|
+
return this.range(1, this.totalPages);
|
|
13012
|
+
}
|
|
13013
|
+
|
|
13014
|
+
const start = this.maxVisible - 1;
|
|
13015
|
+
const end = this.totalPages - start + 1;
|
|
13016
|
+
|
|
13017
|
+
if (this.currentPage < start) {
|
|
13018
|
+
return [...this.range(1, start), '...', this.totalPages];
|
|
13019
|
+
}
|
|
13020
|
+
|
|
13021
|
+
if (this.currentPage > end) {
|
|
13022
|
+
return [1, '...', ...this.range(end, this.totalPages)];
|
|
13023
|
+
} // rounding to the nearest odd according to the maxlength to always show the page number in the middle.
|
|
13024
|
+
|
|
13025
|
+
|
|
13026
|
+
const total = this.maxVisible - (3 - this.maxVisible % 2);
|
|
13027
|
+
const centerIndex = Math.floor(total / 2);
|
|
13028
|
+
const left = this.currentPage - centerIndex;
|
|
13029
|
+
const right = this.currentPage + centerIndex;
|
|
13030
|
+
return [1, '...', ...this.range(left, right), '...', this.totalPages];
|
|
13031
|
+
}
|
|
13032
|
+
|
|
13033
|
+
},
|
|
13034
|
+
watch: {},
|
|
13035
|
+
methods: {
|
|
13036
|
+
range(from, to) {
|
|
13037
|
+
const range = [];
|
|
13038
|
+
from = from > 0 ? from : 1;
|
|
13039
|
+
|
|
13040
|
+
for (let i = from; i <= to; i++) {
|
|
13041
|
+
range.push(i);
|
|
13042
|
+
}
|
|
13043
|
+
|
|
13044
|
+
return range;
|
|
13045
|
+
},
|
|
13046
|
+
|
|
13047
|
+
changePage(page) {
|
|
13048
|
+
this.currentPage = page;
|
|
13049
|
+
this.$emit('change', this.currentPage);
|
|
13050
|
+
}
|
|
13051
|
+
|
|
13052
|
+
}
|
|
13053
|
+
});
|
|
13054
|
+
;// CONCATENATED MODULE: ./components/pagination/pagination.vue?vue&type=script&lang=js
|
|
13055
|
+
|
|
13056
|
+
;// CONCATENATED MODULE: ./components/pagination/pagination.vue
|
|
13057
|
+
|
|
13058
|
+
|
|
13059
|
+
|
|
13060
|
+
|
|
13061
|
+
;
|
|
13062
|
+
const pagination_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(paginationvue_type_script_lang_js, [['render',paginationvue_type_template_id_679081ce_render]])
|
|
13063
|
+
|
|
13064
|
+
/* harmony default export */ const pagination = (pagination_exports_);
|
|
13065
|
+
;// CONCATENATED MODULE: ./components/pagination/index.js
|
|
13066
|
+
|
|
12782
13067
|
;// 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/radio/radio.vue?vue&type=template&id=36afe768
|
|
12783
13068
|
|
|
12784
13069
|
const radiovue_type_template_id_36afe768_hoisted_1 = {
|
|
@@ -16957,6 +17242,7 @@ const top_banner_info_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(to
|
|
|
16957
17242
|
|
|
16958
17243
|
|
|
16959
17244
|
|
|
17245
|
+
|
|
16960
17246
|
|
|
16961
17247
|
|
|
16962
17248
|
/// Recipes
|