@dialpad/dialtone-vue 3.40.0 → 3.41.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +1 -1
- package/CHANGELOG.md +20 -0
- package/dist/component-documentation.json +1 -1
- package/dist/dialtone-vue.common.js +353 -298
- package/dist/dialtone-vue.umd.js +353 -298
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/package.json +3 -3
|
@@ -2330,20 +2330,20 @@ function notice_contentvue_type_template_id_45f8172a_render(_ctx, _cache, $props
|
|
|
2330
2330
|
const notice_content_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(notice_contentvue_type_script_lang_js, [['render',notice_contentvue_type_template_id_45f8172a_render]])
|
|
2331
2331
|
|
|
2332
2332
|
/* harmony default export */ const notice_content = (notice_content_exports_);
|
|
2333
|
-
;// 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/notice/notice_action.vue?vue&type=template&id=
|
|
2333
|
+
;// 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/notice/notice_action.vue?vue&type=template&id=b37ee780
|
|
2334
2334
|
|
|
2335
|
-
const
|
|
2335
|
+
const notice_actionvue_type_template_id_b37ee780_hoisted_1 = {
|
|
2336
2336
|
class: "d-notice__actions",
|
|
2337
2337
|
"data-qa": "notice-content-actions"
|
|
2338
2338
|
};
|
|
2339
|
-
function
|
|
2339
|
+
function notice_actionvue_type_template_id_b37ee780_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2340
2340
|
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
2341
2341
|
|
|
2342
2342
|
const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-button");
|
|
2343
2343
|
|
|
2344
2344
|
const _component_sr_only_close_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("sr-only-close-button");
|
|
2345
2345
|
|
|
2346
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div",
|
|
2346
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", notice_actionvue_type_template_id_b37ee780_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default"), !$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)({
|
|
2347
2347
|
key: 0,
|
|
2348
2348
|
ref: "closeButton",
|
|
2349
2349
|
"data-qa": "dt-notice-action-close-button",
|
|
@@ -2365,7 +2365,7 @@ function notice_actionvue_type_template_id_51cd131a_render(_ctx, _cache, $props,
|
|
|
2365
2365
|
onClose: $options.close
|
|
2366
2366
|
}, null, 8, ["visually-hidden-close-label", "onClose"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]);
|
|
2367
2367
|
}
|
|
2368
|
-
;// CONCATENATED MODULE: ./components/notice/notice_action.vue?vue&type=template&id=
|
|
2368
|
+
;// CONCATENATED MODULE: ./components/notice/notice_action.vue?vue&type=template&id=b37ee780
|
|
2369
2369
|
|
|
2370
2370
|
;// 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/button/button.vue?vue&type=template&id=6629834d
|
|
2371
2371
|
|
|
@@ -2902,17 +2902,6 @@ const sr_only_close_button_exports_ = /*#__PURE__*/(0,exportHelper/* default */.
|
|
|
2902
2902
|
* @event close
|
|
2903
2903
|
*/
|
|
2904
2904
|
'close'],
|
|
2905
|
-
watch: {
|
|
2906
|
-
$props: {
|
|
2907
|
-
immediate: true,
|
|
2908
|
-
deep: true,
|
|
2909
|
-
|
|
2910
|
-
handler() {
|
|
2911
|
-
this.validateProps();
|
|
2912
|
-
}
|
|
2913
|
-
|
|
2914
|
-
}
|
|
2915
|
-
},
|
|
2916
2905
|
|
|
2917
2906
|
created() {
|
|
2918
2907
|
if (!this.hideClose && !this.closeButtonProps.ariaLabel) {
|
|
@@ -2935,12 +2924,6 @@ const sr_only_close_button_exports_ = /*#__PURE__*/(0,exportHelper/* default */.
|
|
|
2935
2924
|
methods: {
|
|
2936
2925
|
close() {
|
|
2937
2926
|
this.$emit('close');
|
|
2938
|
-
},
|
|
2939
|
-
|
|
2940
|
-
validateProps() {
|
|
2941
|
-
if (this.hideClose && !this.visuallyHiddenClose) {
|
|
2942
|
-
console.error('If hideClose prop is true, visuallyHiddenClose and visuallyHiddenCloseLabel props ' + 'need to be set so the component always includes a close button');
|
|
2943
|
-
}
|
|
2944
2927
|
}
|
|
2945
2928
|
|
|
2946
2929
|
}
|
|
@@ -2953,7 +2936,7 @@ const sr_only_close_button_exports_ = /*#__PURE__*/(0,exportHelper/* default */.
|
|
|
2953
2936
|
|
|
2954
2937
|
|
|
2955
2938
|
;
|
|
2956
|
-
const notice_action_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(notice_actionvue_type_script_lang_js, [['render',
|
|
2939
|
+
const notice_action_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(notice_actionvue_type_script_lang_js, [['render',notice_actionvue_type_template_id_b37ee780_render]])
|
|
2957
2940
|
|
|
2958
2941
|
/* harmony default export */ const notice_action = (notice_action_exports_);
|
|
2959
2942
|
;// CONCATENATED MODULE: ./common/mixins/modal.js
|
|
@@ -6296,10 +6279,10 @@ const collapsible_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(collap
|
|
|
6296
6279
|
/* harmony default export */ const collapsible = (collapsible_exports_);
|
|
6297
6280
|
;// CONCATENATED MODULE: ./components/collapsible/index.js
|
|
6298
6281
|
|
|
6299
|
-
;// 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/dropdown/dropdown.vue?vue&type=template&id=
|
|
6282
|
+
;// 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/dropdown/dropdown.vue?vue&type=template&id=878a8588
|
|
6300
6283
|
|
|
6301
|
-
const
|
|
6302
|
-
function
|
|
6284
|
+
const dropdownvue_type_template_id_878a8588_hoisted_1 = ["id"];
|
|
6285
|
+
function dropdownvue_type_template_id_878a8588_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6303
6286
|
const _component_sr_only_close_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("sr-only-close-button");
|
|
6304
6287
|
|
|
6305
6288
|
const _component_dt_popover = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-popover");
|
|
@@ -6316,7 +6299,7 @@ function dropdownvue_type_template_id_d36ba644_render(_ctx, _cache, $props, $set
|
|
|
6316
6299
|
modal: $props.modal,
|
|
6317
6300
|
"max-height": $props.maxHeight,
|
|
6318
6301
|
"max-width": $props.maxWidth,
|
|
6319
|
-
"open-with-arrow-keys":
|
|
6302
|
+
"open-with-arrow-keys": $options.shouldOpenWithArrowKeys,
|
|
6320
6303
|
"open-on-context": $props.openOnContext
|
|
6321
6304
|
}, _ctx.$attrs, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toHandlers)($options.dropdownListeners)), {
|
|
6322
6305
|
anchor: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(_ref => {
|
|
@@ -6349,18 +6332,18 @@ function dropdownvue_type_template_id_d36ba644_render(_ctx, _cache, $props, $set
|
|
|
6349
6332
|
"visually-hidden-close-label": _ctx.visuallyHiddenCloseLabel,
|
|
6350
6333
|
tabindex: $options.isArrowKeyNav ? -1 : 0,
|
|
6351
6334
|
onClose: close
|
|
6352
|
-
}, null, 8, ["visually-hidden-close-label", "tabindex", "onClose"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 42,
|
|
6335
|
+
}, null, 8, ["visually-hidden-close-label", "tabindex", "onClose"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 42, dropdownvue_type_template_id_878a8588_hoisted_1)];
|
|
6353
6336
|
}),
|
|
6354
6337
|
_: 3
|
|
6355
|
-
}, 16, ["content-width", "open", "placement", "initial-focus-element", "fallback-placements", "modal", "max-height", "max-width", "open-on-context"]);
|
|
6338
|
+
}, 16, ["content-width", "open", "placement", "initial-focus-element", "fallback-placements", "modal", "max-height", "max-width", "open-with-arrow-keys", "open-on-context"]);
|
|
6356
6339
|
}
|
|
6357
|
-
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=template&id=
|
|
6340
|
+
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=template&id=878a8588
|
|
6358
6341
|
|
|
6359
|
-
;// 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=
|
|
6342
|
+
;// 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=4136497c
|
|
6360
6343
|
|
|
6361
|
-
const
|
|
6362
|
-
const
|
|
6363
|
-
function
|
|
6344
|
+
const popovervue_type_template_id_4136497c_hoisted_1 = ["aria-hidden"];
|
|
6345
|
+
const popovervue_type_template_id_4136497c_hoisted_2 = ["id", "tabindex"];
|
|
6346
|
+
function popovervue_type_template_id_4136497c_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6364
6347
|
const _component_popover_header_footer = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("popover-header-footer");
|
|
6365
6348
|
|
|
6366
6349
|
const _component_sr_only_close_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("sr-only-close-button");
|
|
@@ -6374,7 +6357,7 @@ function popovervue_type_template_id_21a6161e_render(_ctx, _cache, $props, $setu
|
|
|
6374
6357
|
class: "d-modal--transparent",
|
|
6375
6358
|
"aria-hidden": $props.modal && $data.isOpen ? 'false' : 'true',
|
|
6376
6359
|
onClick: _cache[0] || (_cache[0] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)(() => {}, ["prevent", "stop"]))
|
|
6377
|
-
}, null, 8,
|
|
6360
|
+
}, null, 8, popovervue_type_template_id_4136497c_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), {
|
|
6378
6361
|
ref: "popover",
|
|
6379
6362
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-popover', {
|
|
6380
6363
|
'd-popover__anchor--opened': $data.isOpen
|
|
@@ -6406,7 +6389,7 @@ function popovervue_type_template_id_21a6161e_render(_ctx, _cache, $props, $setu
|
|
|
6406
6389
|
'aria-controls': $props.id,
|
|
6407
6390
|
'aria-haspopup': $props.role
|
|
6408
6391
|
}
|
|
6409
|
-
})], 40,
|
|
6392
|
+
})], 40, popovervue_type_template_id_4136497c_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)({
|
|
6410
6393
|
id: $props.id,
|
|
6411
6394
|
ref: "content",
|
|
6412
6395
|
role: $props.role,
|
|
@@ -6417,7 +6400,7 @@ function popovervue_type_template_id_21a6161e_render(_ctx, _cache, $props, $setu
|
|
|
6417
6400
|
"aria-modal": `${!$props.modal}`,
|
|
6418
6401
|
transition: $props.transition,
|
|
6419
6402
|
show: $data.isOpen,
|
|
6420
|
-
appear: $
|
|
6403
|
+
appear: $data.toAppear,
|
|
6421
6404
|
class: ['d-popover__dialog', {
|
|
6422
6405
|
'd-popover__dialog--modal': $props.modal
|
|
6423
6406
|
}, $props.dialogClass],
|
|
@@ -6469,7 +6452,7 @@ function popovervue_type_template_id_21a6161e_render(_ctx, _cache, $props, $setu
|
|
|
6469
6452
|
_: 3
|
|
6470
6453
|
}, 8, ["class"]))]);
|
|
6471
6454
|
}
|
|
6472
|
-
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=template&id=
|
|
6455
|
+
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=template&id=4136497c
|
|
6473
6456
|
|
|
6474
6457
|
;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getWindow.js
|
|
6475
6458
|
function getWindow(node) {
|
|
@@ -11287,7 +11270,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11287
11270
|
*/
|
|
11288
11271
|
contentAppear: {
|
|
11289
11272
|
type: Boolean,
|
|
11290
|
-
default:
|
|
11273
|
+
default: null
|
|
11291
11274
|
},
|
|
11292
11275
|
|
|
11293
11276
|
/**
|
|
@@ -11518,6 +11501,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11518
11501
|
POPOVER_PADDING_CLASSES: POPOVER_PADDING_CLASSES,
|
|
11519
11502
|
POPOVER_HEADER_FOOTER_PADDING_CLASSES: POPOVER_HEADER_FOOTER_PADDING_CLASSES,
|
|
11520
11503
|
isOpen: false,
|
|
11504
|
+
toAppear: false,
|
|
11521
11505
|
anchorEl: null,
|
|
11522
11506
|
popoverContentEl: null
|
|
11523
11507
|
};
|
|
@@ -11572,23 +11556,23 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11572
11556
|
});
|
|
11573
11557
|
},
|
|
11574
11558
|
|
|
11575
|
-
|
|
11559
|
+
appendTo(appendTo) {
|
|
11576
11560
|
var _this$tip3;
|
|
11577
11561
|
|
|
11578
11562
|
(_this$tip3 = this.tip) === null || _this$tip3 === void 0 ? void 0 : _this$tip3.setProps({
|
|
11579
|
-
|
|
11563
|
+
appendTo
|
|
11580
11564
|
});
|
|
11581
11565
|
},
|
|
11582
11566
|
|
|
11583
|
-
|
|
11567
|
+
sticky(sticky) {
|
|
11584
11568
|
var _this$tip4;
|
|
11585
11569
|
|
|
11586
11570
|
(_this$tip4 = this.tip) === null || _this$tip4 === void 0 ? void 0 : _this$tip4.setProps({
|
|
11587
|
-
|
|
11571
|
+
sticky
|
|
11588
11572
|
});
|
|
11589
11573
|
},
|
|
11590
11574
|
|
|
11591
|
-
|
|
11575
|
+
fallbackPlacements() {
|
|
11592
11576
|
var _this$tip5;
|
|
11593
11577
|
|
|
11594
11578
|
(_this$tip5 = this.tip) === null || _this$tip5 === void 0 ? void 0 : _this$tip5.setProps({
|
|
@@ -11596,10 +11580,18 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11596
11580
|
});
|
|
11597
11581
|
},
|
|
11598
11582
|
|
|
11599
|
-
|
|
11583
|
+
tether() {
|
|
11600
11584
|
var _this$tip6;
|
|
11601
11585
|
|
|
11602
11586
|
(_this$tip6 = this.tip) === null || _this$tip6 === void 0 ? void 0 : _this$tip6.setProps({
|
|
11587
|
+
popperOptions: this.popperOptions()
|
|
11588
|
+
});
|
|
11589
|
+
},
|
|
11590
|
+
|
|
11591
|
+
placement(placement) {
|
|
11592
|
+
var _this$tip7;
|
|
11593
|
+
|
|
11594
|
+
(_this$tip7 = this.tip) === null || _this$tip7 === void 0 ? void 0 : _this$tip7.setProps({
|
|
11603
11595
|
placement
|
|
11604
11596
|
});
|
|
11605
11597
|
},
|
|
@@ -11609,9 +11601,20 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11609
11601
|
if (open !== null) {
|
|
11610
11602
|
this.isOpen = open;
|
|
11611
11603
|
}
|
|
11604
|
+
|
|
11605
|
+
if (open === true) {
|
|
11606
|
+
this.toAppear = true;
|
|
11607
|
+
}
|
|
11612
11608
|
},
|
|
11613
11609
|
immediate: true
|
|
11614
11610
|
},
|
|
11611
|
+
contentAppear: {
|
|
11612
|
+
handler: function (contentAppear) {
|
|
11613
|
+
if (contentAppear !== null) {
|
|
11614
|
+
this.toAppear = contentAppear;
|
|
11615
|
+
}
|
|
11616
|
+
}
|
|
11617
|
+
},
|
|
11615
11618
|
|
|
11616
11619
|
isOpen(isOpen, isPrev) {
|
|
11617
11620
|
if (isOpen) {
|
|
@@ -11625,7 +11628,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11625
11628
|
},
|
|
11626
11629
|
|
|
11627
11630
|
mounted() {
|
|
11628
|
-
const externalAnchorEl =
|
|
11631
|
+
const externalAnchorEl = this.externalAnchor ? this.$refs.anchor.getRootNode().querySelector(`#${this.externalAnchor}`) : null;
|
|
11629
11632
|
this.anchorEl = externalAnchorEl !== null && externalAnchorEl !== void 0 ? externalAnchorEl : this.$refs.anchor.children[0];
|
|
11630
11633
|
this.popoverContentEl = this.$refs.content.$el;
|
|
11631
11634
|
|
|
@@ -11635,9 +11638,9 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11635
11638
|
},
|
|
11636
11639
|
|
|
11637
11640
|
beforeUnmount() {
|
|
11638
|
-
var _this$
|
|
11641
|
+
var _this$tip8;
|
|
11639
11642
|
|
|
11640
|
-
(_this$
|
|
11643
|
+
(_this$tip8 = this.tip) === null || _this$tip8 === void 0 ? void 0 : _this$tip8.destroy();
|
|
11641
11644
|
this.removeReferences();
|
|
11642
11645
|
this.removeEventListeners();
|
|
11643
11646
|
},
|
|
@@ -11662,7 +11665,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11662
11665
|
|
|
11663
11666
|
calculateAnchorZindex() {
|
|
11664
11667
|
// if a modal is currently active render at modal-element z-index, otherwise at popover z-index
|
|
11665
|
-
if (
|
|
11668
|
+
if (this.$el.getRootNode().querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')) {
|
|
11666
11669
|
return 650;
|
|
11667
11670
|
} else {
|
|
11668
11671
|
return 300;
|
|
@@ -11756,7 +11759,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11756
11759
|
* Prevents scrolling only when the popover is set to modal
|
|
11757
11760
|
**/
|
|
11758
11761
|
preventScrolling(e) {
|
|
11759
|
-
if (!this.modal
|
|
11762
|
+
if (!this.modal) return;
|
|
11760
11763
|
e.preventDefault();
|
|
11761
11764
|
},
|
|
11762
11765
|
|
|
@@ -11777,7 +11780,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11777
11780
|
},
|
|
11778
11781
|
|
|
11779
11782
|
async onLeaveTransitionComplete() {
|
|
11780
|
-
var _this$
|
|
11783
|
+
var _this$tip9;
|
|
11781
11784
|
|
|
11782
11785
|
if (this.modal) {
|
|
11783
11786
|
await this.focusFirstElement(this.$refs.anchor); // await next tick in case the user wants to change focus themselves.
|
|
@@ -11785,7 +11788,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11785
11788
|
await this.$nextTick();
|
|
11786
11789
|
}
|
|
11787
11790
|
|
|
11788
|
-
(_this$
|
|
11791
|
+
(_this$tip9 = this.tip) === null || _this$tip9 === void 0 ? void 0 : _this$tip9.unmount();
|
|
11789
11792
|
this.$emit('opened', false);
|
|
11790
11793
|
|
|
11791
11794
|
if (this.open !== null) {
|
|
@@ -11911,10 +11914,10 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11911
11914
|
});
|
|
11912
11915
|
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=script&lang=js
|
|
11913
11916
|
|
|
11914
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.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/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/popover/popover.vue?vue&type=style&index=0&id=
|
|
11917
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.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/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/popover/popover.vue?vue&type=style&index=0&id=4136497c&lang=less
|
|
11915
11918
|
// extracted by mini-css-extract-plugin
|
|
11916
11919
|
|
|
11917
|
-
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=style&index=0&id=
|
|
11920
|
+
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=style&index=0&id=4136497c&lang=less
|
|
11918
11921
|
|
|
11919
11922
|
;// CONCATENATED MODULE: ./components/popover/popover.vue
|
|
11920
11923
|
|
|
@@ -11924,7 +11927,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11924
11927
|
;
|
|
11925
11928
|
|
|
11926
11929
|
|
|
11927
|
-
const popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(popovervue_type_script_lang_js, [['render',
|
|
11930
|
+
const popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(popovervue_type_script_lang_js, [['render',popovervue_type_template_id_4136497c_render]])
|
|
11928
11931
|
|
|
11929
11932
|
/* harmony default export */ const popover = (popover_exports_);
|
|
11930
11933
|
;// CONCATENATED MODULE: ./components/popover/index.js
|
|
@@ -12152,14 +12155,14 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
12152
12155
|
switch (eventCode) {
|
|
12153
12156
|
case EVENT_KEYNAMES.up:
|
|
12154
12157
|
case EVENT_KEYNAMES.arrowup:
|
|
12155
|
-
this.
|
|
12158
|
+
this.onUpKeyPress(event);
|
|
12156
12159
|
event.stopPropagation();
|
|
12157
12160
|
event.preventDefault();
|
|
12158
12161
|
break;
|
|
12159
12162
|
|
|
12160
12163
|
case EVENT_KEYNAMES.down:
|
|
12161
12164
|
case EVENT_KEYNAMES.arrowdown:
|
|
12162
|
-
this.
|
|
12165
|
+
this.onDownKeyPress(event);
|
|
12163
12166
|
event.stopPropagation();
|
|
12164
12167
|
event.preventDefault();
|
|
12165
12168
|
break;
|
|
@@ -12174,19 +12177,19 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
12174
12177
|
break;
|
|
12175
12178
|
|
|
12176
12179
|
case EVENT_KEYNAMES.home:
|
|
12177
|
-
this.
|
|
12180
|
+
this.onHomeKeyPress(event);
|
|
12178
12181
|
event.stopPropagation();
|
|
12179
12182
|
event.preventDefault();
|
|
12180
12183
|
break;
|
|
12181
12184
|
|
|
12182
12185
|
case EVENT_KEYNAMES.end:
|
|
12183
|
-
this.
|
|
12186
|
+
this.onEndKeyPress(event);
|
|
12184
12187
|
event.stopPropagation();
|
|
12185
12188
|
event.preventDefault();
|
|
12186
12189
|
break;
|
|
12187
12190
|
|
|
12188
12191
|
default:
|
|
12189
|
-
this.
|
|
12192
|
+
this.onKeyPress(event);
|
|
12190
12193
|
break;
|
|
12191
12194
|
}
|
|
12192
12195
|
|
|
@@ -12215,6 +12218,10 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
12215
12218
|
return ['d-ps-relative', 'd-stack2', 'd-m4', 'd-px0', DROPDOWN_PADDING_CLASSES[this.padding], this.listClass, {
|
|
12216
12219
|
'd-context-menu-list': this.openOnContext
|
|
12217
12220
|
}];
|
|
12221
|
+
},
|
|
12222
|
+
|
|
12223
|
+
shouldOpenWithArrowKeys() {
|
|
12224
|
+
return !this.openOnContext;
|
|
12218
12225
|
}
|
|
12219
12226
|
|
|
12220
12227
|
},
|
|
@@ -12318,24 +12325,16 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
12318
12325
|
e.stopPropagation();
|
|
12319
12326
|
e.preventDefault();
|
|
12320
12327
|
return this.onNavigationKey(e.key);
|
|
12321
|
-
},
|
|
12322
|
-
|
|
12323
|
-
onKeyValidation(e, eventHandler) {
|
|
12324
|
-
if (this.open !== null && !this.openOnContext) {
|
|
12325
|
-
return;
|
|
12326
|
-
}
|
|
12327
|
-
|
|
12328
|
-
this[eventHandler](e);
|
|
12329
12328
|
}
|
|
12330
12329
|
|
|
12331
12330
|
}
|
|
12332
12331
|
});
|
|
12333
12332
|
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=script&lang=js
|
|
12334
12333
|
|
|
12335
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.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/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/dropdown/dropdown.vue?vue&type=style&index=0&id=
|
|
12334
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.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/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/dropdown/dropdown.vue?vue&type=style&index=0&id=878a8588&lang=less
|
|
12336
12335
|
// extracted by mini-css-extract-plugin
|
|
12337
12336
|
|
|
12338
|
-
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=style&index=0&id=
|
|
12337
|
+
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=style&index=0&id=878a8588&lang=less
|
|
12339
12338
|
|
|
12340
12339
|
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue
|
|
12341
12340
|
|
|
@@ -12345,7 +12344,7 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
12345
12344
|
;
|
|
12346
12345
|
|
|
12347
12346
|
|
|
12348
|
-
const dropdown_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(dropdownvue_type_script_lang_js, [['render',
|
|
12347
|
+
const dropdown_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(dropdownvue_type_script_lang_js, [['render',dropdownvue_type_template_id_878a8588_render]])
|
|
12349
12348
|
|
|
12350
12349
|
/* harmony default export */ const dropdown = (dropdown_exports_);
|
|
12351
12350
|
;// 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/dropdown/dropdown_list.vue?vue&type=template&id=50f7e3e3
|
|
@@ -13834,16 +13833,16 @@ const input_group_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(input_
|
|
|
13834
13833
|
/* harmony default export */ const input_group_input_group = (input_group_exports_);
|
|
13835
13834
|
;// CONCATENATED MODULE: ./components/input_group/index.js
|
|
13836
13835
|
|
|
13837
|
-
;// 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/modal/modal.vue?vue&type=template&id=
|
|
13836
|
+
;// 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/modal/modal.vue?vue&type=template&id=68e78e9e
|
|
13838
13837
|
|
|
13839
|
-
const
|
|
13840
|
-
const
|
|
13841
|
-
const
|
|
13842
|
-
const
|
|
13838
|
+
const modalvue_type_template_id_68e78e9e_hoisted_1 = ["aria-describedby", "aria-labelledby"];
|
|
13839
|
+
const modalvue_type_template_id_68e78e9e_hoisted_2 = ["id"];
|
|
13840
|
+
const modalvue_type_template_id_68e78e9e_hoisted_3 = ["id"];
|
|
13841
|
+
const modalvue_type_template_id_68e78e9e_hoisted_4 = {
|
|
13843
13842
|
key: 4,
|
|
13844
13843
|
class: "d-modal__footer"
|
|
13845
13844
|
};
|
|
13846
|
-
function
|
|
13845
|
+
function modalvue_type_template_id_68e78e9e_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13847
13846
|
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
13848
13847
|
|
|
13849
13848
|
const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-button");
|
|
@@ -13862,7 +13861,7 @@ function modalvue_type_template_id_2aa05149_render(_ctx, _cache, $props, $setup,
|
|
|
13862
13861
|
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [$props.show && (_ctx.$slots.banner || $props.bannerTitle) ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
13863
13862
|
key: 0,
|
|
13864
13863
|
"data-qa": "dt-modal-banner",
|
|
13865
|
-
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-modal__banner', $props.bannerClass])
|
|
13864
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-modal__banner', $props.bannerClass, $options.bannerKindClass])
|
|
13866
13865
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "banner", {}, () => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.bannerTitle), 1)])], 2)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.Transition, {
|
|
13867
13866
|
appear: "",
|
|
13868
13867
|
name: "d-modal__dialog"
|
|
@@ -13880,12 +13879,12 @@ function modalvue_type_template_id_2aa05149_render(_ctx, _cache, $props, $setup,
|
|
|
13880
13879
|
id: $props.labelledById,
|
|
13881
13880
|
class: "d-modal__header",
|
|
13882
13881
|
"data-qa": "dt-modal-title"
|
|
13883
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "header")], 8,
|
|
13882
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "header")], 8, modalvue_type_template_id_68e78e9e_hoisted_2)) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("h2", {
|
|
13884
13883
|
key: 1,
|
|
13885
13884
|
id: $props.labelledById,
|
|
13886
13885
|
class: "d-modal__header",
|
|
13887
13886
|
"data-qa": "dt-modal-title"
|
|
13888
|
-
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.title), 9,
|
|
13887
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.title), 9, modalvue_type_template_id_68e78e9e_hoisted_3)), _ctx.$slots.default ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
13889
13888
|
key: 2,
|
|
13890
13889
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-modal__content', $props.contentClass]),
|
|
13891
13890
|
"data-qa": "dt-modal-copy"
|
|
@@ -13893,7 +13892,7 @@ function modalvue_type_template_id_2aa05149_render(_ctx, _cache, $props, $setup,
|
|
|
13893
13892
|
key: 3,
|
|
13894
13893
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-modal__content', $props.contentClass]),
|
|
13895
13894
|
"data-qa": "dt-modal-copy"
|
|
13896
|
-
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.copy), 3)), $options.hasFooterSlot ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("footer",
|
|
13895
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.copy), 3)), $options.hasFooterSlot ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("footer", modalvue_type_template_id_68e78e9e_hoisted_4, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "footer")])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), !$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)({
|
|
13897
13896
|
key: 5,
|
|
13898
13897
|
class: "d-modal__close",
|
|
13899
13898
|
circle: "",
|
|
@@ -13912,13 +13911,13 @@ function modalvue_type_template_id_2aa05149_render(_ctx, _cache, $props, $setup,
|
|
|
13912
13911
|
key: 6,
|
|
13913
13912
|
"visually-hidden-close-label": _ctx.visuallyHiddenCloseLabel,
|
|
13914
13913
|
onClose: $options.close
|
|
13915
|
-
}, null, 8, ["visually-hidden-close-label", "onClose"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 10,
|
|
13914
|
+
}, null, 8, ["visually-hidden-close-label", "onClose"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 10, modalvue_type_template_id_68e78e9e_hoisted_1), [[external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.vShow, $props.show]])]),
|
|
13916
13915
|
_: 3
|
|
13917
13916
|
})]),
|
|
13918
13917
|
_: 3
|
|
13919
13918
|
}, 16, ["show", "class", "aria-hidden"]);
|
|
13920
13919
|
}
|
|
13921
|
-
;// CONCATENATED MODULE: ./components/modal/modal.vue?vue&type=template&id=
|
|
13920
|
+
;// CONCATENATED MODULE: ./components/modal/modal.vue?vue&type=template&id=68e78e9e
|
|
13922
13921
|
|
|
13923
13922
|
;// CONCATENATED MODULE: ./components/modal/modal_constants.js
|
|
13924
13923
|
// Modal style modifiers
|
|
@@ -13931,6 +13930,199 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
13931
13930
|
default: '',
|
|
13932
13931
|
full: 'd-modal--full'
|
|
13933
13932
|
};
|
|
13933
|
+
const MODAL_BANNER_KINDS = {
|
|
13934
|
+
error: 'd-modal__banner--critical',
|
|
13935
|
+
info: 'd-modal__banner--info',
|
|
13936
|
+
success: 'd-modal__banner--success',
|
|
13937
|
+
warning: 'd-modal__banner--warning',
|
|
13938
|
+
base: 'd-modal__banner--general'
|
|
13939
|
+
};
|
|
13940
|
+
;// 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/notice/notice.vue?vue&type=template&id=28b8ab50
|
|
13941
|
+
|
|
13942
|
+
function noticevue_type_template_id_28b8ab50_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13943
|
+
const _component_dt_notice_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-notice-icon");
|
|
13944
|
+
|
|
13945
|
+
const _component_dt_notice_content = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-notice-content");
|
|
13946
|
+
|
|
13947
|
+
const _component_dt_notice_action = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-notice-action");
|
|
13948
|
+
|
|
13949
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("aside", {
|
|
13950
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.noticeClass),
|
|
13951
|
+
"data-qa": "notice"
|
|
13952
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_notice_icon, {
|
|
13953
|
+
kind: $props.kind
|
|
13954
|
+
}, {
|
|
13955
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "icon")]),
|
|
13956
|
+
_: 3
|
|
13957
|
+
}, 8, ["kind"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_notice_content, {
|
|
13958
|
+
"title-id": $props.titleId,
|
|
13959
|
+
"content-id": $props.contentId,
|
|
13960
|
+
title: $props.title,
|
|
13961
|
+
role: $props.role
|
|
13962
|
+
}, {
|
|
13963
|
+
titleOverride: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "titleOverride")]),
|
|
13964
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")]),
|
|
13965
|
+
_: 3
|
|
13966
|
+
}, 8, ["title-id", "content-id", "title", "role"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_notice_action, {
|
|
13967
|
+
"hide-close": $props.hideClose,
|
|
13968
|
+
"close-button-props": $props.closeButtonProps,
|
|
13969
|
+
"visually-hidden-close": _ctx.visuallyHiddenClose,
|
|
13970
|
+
"visually-hidden-close-label": _ctx.visuallyHiddenCloseLabel,
|
|
13971
|
+
onClose: _cache[0] || (_cache[0] = $event => _ctx.$emit('close'))
|
|
13972
|
+
}, {
|
|
13973
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "action")]),
|
|
13974
|
+
_: 3
|
|
13975
|
+
}, 8, ["hide-close", "close-button-props", "visually-hidden-close", "visually-hidden-close-label"])], 2);
|
|
13976
|
+
}
|
|
13977
|
+
;// CONCATENATED MODULE: ./components/notice/notice.vue?vue&type=template&id=28b8ab50
|
|
13978
|
+
|
|
13979
|
+
;// 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/notice/notice.vue?vue&type=script&lang=js
|
|
13980
|
+
|
|
13981
|
+
|
|
13982
|
+
|
|
13983
|
+
|
|
13984
|
+
|
|
13985
|
+
/**
|
|
13986
|
+
* A notice is an informational and assistive message that appears inline with content.
|
|
13987
|
+
* @see https://dialpad.design/components/notice.html
|
|
13988
|
+
*/
|
|
13989
|
+
|
|
13990
|
+
/* harmony default export */ const noticevue_type_script_lang_js = ({
|
|
13991
|
+
name: 'DtNotice',
|
|
13992
|
+
components: {
|
|
13993
|
+
DtNoticeIcon: notice_icon,
|
|
13994
|
+
DtNoticeContent: notice_content,
|
|
13995
|
+
DtNoticeAction: notice_action
|
|
13996
|
+
},
|
|
13997
|
+
mixins: [sr_only_close_button],
|
|
13998
|
+
props: {
|
|
13999
|
+
/**
|
|
14000
|
+
* Sets an ID on the title element of the component. Useful for aria-describedby
|
|
14001
|
+
* or aria-labelledby or any other reason you may need an id to refer to the title.
|
|
14002
|
+
*/
|
|
14003
|
+
titleId: {
|
|
14004
|
+
type: String,
|
|
14005
|
+
default: undefined
|
|
14006
|
+
},
|
|
14007
|
+
|
|
14008
|
+
/**
|
|
14009
|
+
* Sets an ID on the content element of the component. Useful for aria-describedby
|
|
14010
|
+
* or aria-labelledby or any other reason you may need an id to refer to the content.
|
|
14011
|
+
*/
|
|
14012
|
+
contentId: {
|
|
14013
|
+
type: String,
|
|
14014
|
+
default: undefined
|
|
14015
|
+
},
|
|
14016
|
+
|
|
14017
|
+
/**
|
|
14018
|
+
* Title header of the notice. This can be left blank to remove the title from the notice entirely.
|
|
14019
|
+
*/
|
|
14020
|
+
title: {
|
|
14021
|
+
type: String,
|
|
14022
|
+
default: ''
|
|
14023
|
+
},
|
|
14024
|
+
|
|
14025
|
+
/**
|
|
14026
|
+
* Provides a role for the notice. 'status' is used to communicate a message. 'alert' is used to communicate an
|
|
14027
|
+
* important message that does not contain any interactive elements. 'alertdialog' is used to communicate an
|
|
14028
|
+
* important message that does contain interactive elements.
|
|
14029
|
+
* @values alert, alertdialog, status
|
|
14030
|
+
*/
|
|
14031
|
+
role: {
|
|
14032
|
+
type: String,
|
|
14033
|
+
default: 'status',
|
|
14034
|
+
|
|
14035
|
+
validate(role) {
|
|
14036
|
+
return NOTICE_ROLES.includes(role);
|
|
14037
|
+
}
|
|
14038
|
+
|
|
14039
|
+
},
|
|
14040
|
+
|
|
14041
|
+
/**
|
|
14042
|
+
* Used in scenarios where the message needs to visually dominate the screen.
|
|
14043
|
+
* This will also change the aria role from status to alert.
|
|
14044
|
+
* @values true, false
|
|
14045
|
+
*/
|
|
14046
|
+
important: {
|
|
14047
|
+
type: Boolean,
|
|
14048
|
+
default: false
|
|
14049
|
+
},
|
|
14050
|
+
|
|
14051
|
+
/**
|
|
14052
|
+
* Severity level of the notice, sets the icon and background
|
|
14053
|
+
* @values base, error, info, success, warning
|
|
14054
|
+
*/
|
|
14055
|
+
kind: {
|
|
14056
|
+
type: String,
|
|
14057
|
+
default: 'base',
|
|
14058
|
+
|
|
14059
|
+
validate(kind) {
|
|
14060
|
+
return NOTICE_KINDS.includes(kind);
|
|
14061
|
+
}
|
|
14062
|
+
|
|
14063
|
+
},
|
|
14064
|
+
|
|
14065
|
+
/**
|
|
14066
|
+
* Props for the notice close button.
|
|
14067
|
+
*/
|
|
14068
|
+
closeButtonProps: {
|
|
14069
|
+
type: Object,
|
|
14070
|
+
default: () => ({})
|
|
14071
|
+
},
|
|
14072
|
+
|
|
14073
|
+
/**
|
|
14074
|
+
* Hides the close button from the notice
|
|
14075
|
+
* @values true, false
|
|
14076
|
+
*/
|
|
14077
|
+
hideClose: {
|
|
14078
|
+
type: Boolean,
|
|
14079
|
+
default: false
|
|
14080
|
+
}
|
|
14081
|
+
},
|
|
14082
|
+
emits: [
|
|
14083
|
+
/**
|
|
14084
|
+
* Close button click event
|
|
14085
|
+
*
|
|
14086
|
+
* @event close
|
|
14087
|
+
*/
|
|
14088
|
+
'close',
|
|
14089
|
+
/**
|
|
14090
|
+
* Native button click event
|
|
14091
|
+
*
|
|
14092
|
+
* @event click
|
|
14093
|
+
* @type {PointerEvent | KeyboardEvent}
|
|
14094
|
+
*/
|
|
14095
|
+
'click'],
|
|
14096
|
+
computed: {
|
|
14097
|
+
noticeClass() {
|
|
14098
|
+
const noticeKinds = {
|
|
14099
|
+
error: 'd-notice--error',
|
|
14100
|
+
info: 'd-notice--info',
|
|
14101
|
+
success: 'd-notice--success',
|
|
14102
|
+
warning: 'd-notice--warning',
|
|
14103
|
+
base: 'd-notice--base'
|
|
14104
|
+
};
|
|
14105
|
+
return ['d-notice', noticeKinds[this.kind], {
|
|
14106
|
+
'd-notice--important': this.important
|
|
14107
|
+
}];
|
|
14108
|
+
}
|
|
14109
|
+
|
|
14110
|
+
}
|
|
14111
|
+
});
|
|
14112
|
+
;// CONCATENATED MODULE: ./components/notice/notice.vue?vue&type=script&lang=js
|
|
14113
|
+
|
|
14114
|
+
;// CONCATENATED MODULE: ./components/notice/notice.vue
|
|
14115
|
+
|
|
14116
|
+
|
|
14117
|
+
|
|
14118
|
+
|
|
14119
|
+
;
|
|
14120
|
+
const notice_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(noticevue_type_script_lang_js, [['render',noticevue_type_template_id_28b8ab50_render]])
|
|
14121
|
+
|
|
14122
|
+
/* harmony default export */ const notice = (notice_exports_);
|
|
14123
|
+
;// CONCATENATED MODULE: ./components/notice/index.js
|
|
14124
|
+
|
|
14125
|
+
|
|
13934
14126
|
;// 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/modal/modal.vue?vue&type=script&lang=js
|
|
13935
14127
|
|
|
13936
14128
|
|
|
@@ -13941,6 +14133,7 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
13941
14133
|
|
|
13942
14134
|
|
|
13943
14135
|
|
|
14136
|
+
|
|
13944
14137
|
/**
|
|
13945
14138
|
* Modals focus the user’s attention exclusively on one task or piece of information
|
|
13946
14139
|
* via a window that sits on top of the page content.
|
|
@@ -14073,6 +14266,20 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
14073
14266
|
default: ''
|
|
14074
14267
|
},
|
|
14075
14268
|
|
|
14269
|
+
/**
|
|
14270
|
+
* Sets the color of the banner.
|
|
14271
|
+
* @values base, error, info, success, warning
|
|
14272
|
+
*/
|
|
14273
|
+
bannerKind: {
|
|
14274
|
+
type: String,
|
|
14275
|
+
default: 'warning',
|
|
14276
|
+
|
|
14277
|
+
validate(kind) {
|
|
14278
|
+
return NOTICE_KINDS.includes(kind);
|
|
14279
|
+
}
|
|
14280
|
+
|
|
14281
|
+
},
|
|
14282
|
+
|
|
14076
14283
|
/**
|
|
14077
14284
|
* Additional class name for the banner element within the modal.
|
|
14078
14285
|
* Can accept String, Object, and Array, i.e. has the
|
|
@@ -14128,7 +14335,9 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
14128
14335
|
data() {
|
|
14129
14336
|
return {
|
|
14130
14337
|
MODAL_KIND_MODIFIERS: MODAL_KIND_MODIFIERS,
|
|
14131
|
-
MODAL_SIZE_MODIFIERS: MODAL_SIZE_MODIFIERS
|
|
14338
|
+
MODAL_SIZE_MODIFIERS: MODAL_SIZE_MODIFIERS,
|
|
14339
|
+
MODAL_BANNER_KINDS: MODAL_BANNER_KINDS,
|
|
14340
|
+
EVENT_KEYNAMES: EVENT_KEYNAMES
|
|
14132
14341
|
};
|
|
14133
14342
|
},
|
|
14134
14343
|
|
|
@@ -14165,6 +14374,10 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
14165
14374
|
|
|
14166
14375
|
hasFooterSlot() {
|
|
14167
14376
|
return !!this.$slots.footer;
|
|
14377
|
+
},
|
|
14378
|
+
|
|
14379
|
+
bannerKindClass() {
|
|
14380
|
+
return MODAL_BANNER_KINDS[this.bannerKind];
|
|
14168
14381
|
}
|
|
14169
14382
|
|
|
14170
14383
|
},
|
|
@@ -14228,7 +14441,7 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
14228
14441
|
|
|
14229
14442
|
|
|
14230
14443
|
;
|
|
14231
|
-
const modal_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(modalvue_type_script_lang_js, [['render',
|
|
14444
|
+
const modal_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(modalvue_type_script_lang_js, [['render',modalvue_type_template_id_68e78e9e_render]])
|
|
14232
14445
|
|
|
14233
14446
|
/* harmony default export */ const modal_modal = (modal_exports_);
|
|
14234
14447
|
;// CONCATENATED MODULE: ./components/modal/index.js
|
|
@@ -14489,192 +14702,6 @@ const list_item_group_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(li
|
|
|
14489
14702
|
;// CONCATENATED MODULE: ./components/list_item_group/index.js
|
|
14490
14703
|
|
|
14491
14704
|
|
|
14492
|
-
;// 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/notice/notice.vue?vue&type=template&id=28b8ab50
|
|
14493
|
-
|
|
14494
|
-
function noticevue_type_template_id_28b8ab50_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14495
|
-
const _component_dt_notice_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-notice-icon");
|
|
14496
|
-
|
|
14497
|
-
const _component_dt_notice_content = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-notice-content");
|
|
14498
|
-
|
|
14499
|
-
const _component_dt_notice_action = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-notice-action");
|
|
14500
|
-
|
|
14501
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("aside", {
|
|
14502
|
-
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.noticeClass),
|
|
14503
|
-
"data-qa": "notice"
|
|
14504
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_notice_icon, {
|
|
14505
|
-
kind: $props.kind
|
|
14506
|
-
}, {
|
|
14507
|
-
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "icon")]),
|
|
14508
|
-
_: 3
|
|
14509
|
-
}, 8, ["kind"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_notice_content, {
|
|
14510
|
-
"title-id": $props.titleId,
|
|
14511
|
-
"content-id": $props.contentId,
|
|
14512
|
-
title: $props.title,
|
|
14513
|
-
role: $props.role
|
|
14514
|
-
}, {
|
|
14515
|
-
titleOverride: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "titleOverride")]),
|
|
14516
|
-
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")]),
|
|
14517
|
-
_: 3
|
|
14518
|
-
}, 8, ["title-id", "content-id", "title", "role"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_notice_action, {
|
|
14519
|
-
"hide-close": $props.hideClose,
|
|
14520
|
-
"close-button-props": $props.closeButtonProps,
|
|
14521
|
-
"visually-hidden-close": _ctx.visuallyHiddenClose,
|
|
14522
|
-
"visually-hidden-close-label": _ctx.visuallyHiddenCloseLabel,
|
|
14523
|
-
onClose: _cache[0] || (_cache[0] = $event => _ctx.$emit('close'))
|
|
14524
|
-
}, {
|
|
14525
|
-
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "action")]),
|
|
14526
|
-
_: 3
|
|
14527
|
-
}, 8, ["hide-close", "close-button-props", "visually-hidden-close", "visually-hidden-close-label"])], 2);
|
|
14528
|
-
}
|
|
14529
|
-
;// CONCATENATED MODULE: ./components/notice/notice.vue?vue&type=template&id=28b8ab50
|
|
14530
|
-
|
|
14531
|
-
;// 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/notice/notice.vue?vue&type=script&lang=js
|
|
14532
|
-
|
|
14533
|
-
|
|
14534
|
-
|
|
14535
|
-
|
|
14536
|
-
|
|
14537
|
-
/**
|
|
14538
|
-
* A notice is an informational and assistive message that appears inline with content.
|
|
14539
|
-
* @see https://dialpad.design/components/notice.html
|
|
14540
|
-
*/
|
|
14541
|
-
|
|
14542
|
-
/* harmony default export */ const noticevue_type_script_lang_js = ({
|
|
14543
|
-
name: 'DtNotice',
|
|
14544
|
-
components: {
|
|
14545
|
-
DtNoticeIcon: notice_icon,
|
|
14546
|
-
DtNoticeContent: notice_content,
|
|
14547
|
-
DtNoticeAction: notice_action
|
|
14548
|
-
},
|
|
14549
|
-
mixins: [sr_only_close_button],
|
|
14550
|
-
props: {
|
|
14551
|
-
/**
|
|
14552
|
-
* Sets an ID on the title element of the component. Useful for aria-describedby
|
|
14553
|
-
* or aria-labelledby or any other reason you may need an id to refer to the title.
|
|
14554
|
-
*/
|
|
14555
|
-
titleId: {
|
|
14556
|
-
type: String,
|
|
14557
|
-
default: undefined
|
|
14558
|
-
},
|
|
14559
|
-
|
|
14560
|
-
/**
|
|
14561
|
-
* Sets an ID on the content element of the component. Useful for aria-describedby
|
|
14562
|
-
* or aria-labelledby or any other reason you may need an id to refer to the content.
|
|
14563
|
-
*/
|
|
14564
|
-
contentId: {
|
|
14565
|
-
type: String,
|
|
14566
|
-
default: undefined
|
|
14567
|
-
},
|
|
14568
|
-
|
|
14569
|
-
/**
|
|
14570
|
-
* Title header of the notice. This can be left blank to remove the title from the notice entirely.
|
|
14571
|
-
*/
|
|
14572
|
-
title: {
|
|
14573
|
-
type: String,
|
|
14574
|
-
default: ''
|
|
14575
|
-
},
|
|
14576
|
-
|
|
14577
|
-
/**
|
|
14578
|
-
* Provides a role for the notice. 'status' is used to communicate a message. 'alert' is used to communicate an
|
|
14579
|
-
* important message that does not contain any interactive elements. 'alertdialog' is used to communicate an
|
|
14580
|
-
* important message that does contain interactive elements.
|
|
14581
|
-
* @values alert, alertdialog, status
|
|
14582
|
-
*/
|
|
14583
|
-
role: {
|
|
14584
|
-
type: String,
|
|
14585
|
-
default: 'status',
|
|
14586
|
-
|
|
14587
|
-
validate(role) {
|
|
14588
|
-
return NOTICE_ROLES.includes(role);
|
|
14589
|
-
}
|
|
14590
|
-
|
|
14591
|
-
},
|
|
14592
|
-
|
|
14593
|
-
/**
|
|
14594
|
-
* Used in scenarios where the message needs to visually dominate the screen.
|
|
14595
|
-
* This will also change the aria role from status to alert.
|
|
14596
|
-
* @values true, false
|
|
14597
|
-
*/
|
|
14598
|
-
important: {
|
|
14599
|
-
type: Boolean,
|
|
14600
|
-
default: false
|
|
14601
|
-
},
|
|
14602
|
-
|
|
14603
|
-
/**
|
|
14604
|
-
* Severity level of the notice, sets the icon and background
|
|
14605
|
-
* @values base, error, info, success, warning
|
|
14606
|
-
*/
|
|
14607
|
-
kind: {
|
|
14608
|
-
type: String,
|
|
14609
|
-
default: 'base',
|
|
14610
|
-
|
|
14611
|
-
validate(kind) {
|
|
14612
|
-
return NOTICE_KINDS.includes(kind);
|
|
14613
|
-
}
|
|
14614
|
-
|
|
14615
|
-
},
|
|
14616
|
-
|
|
14617
|
-
/**
|
|
14618
|
-
* Props for the notice close button.
|
|
14619
|
-
*/
|
|
14620
|
-
closeButtonProps: {
|
|
14621
|
-
type: Object,
|
|
14622
|
-
default: () => ({})
|
|
14623
|
-
},
|
|
14624
|
-
|
|
14625
|
-
/**
|
|
14626
|
-
* Hides the close button from the notice
|
|
14627
|
-
* @values true, false
|
|
14628
|
-
*/
|
|
14629
|
-
hideClose: {
|
|
14630
|
-
type: Boolean,
|
|
14631
|
-
default: false
|
|
14632
|
-
}
|
|
14633
|
-
},
|
|
14634
|
-
emits: [
|
|
14635
|
-
/**
|
|
14636
|
-
* Close button click event
|
|
14637
|
-
*
|
|
14638
|
-
* @event close
|
|
14639
|
-
*/
|
|
14640
|
-
'close',
|
|
14641
|
-
/**
|
|
14642
|
-
* Native button click event
|
|
14643
|
-
*
|
|
14644
|
-
* @event click
|
|
14645
|
-
* @type {PointerEvent | KeyboardEvent}
|
|
14646
|
-
*/
|
|
14647
|
-
'click'],
|
|
14648
|
-
computed: {
|
|
14649
|
-
noticeClass() {
|
|
14650
|
-
const noticeKinds = {
|
|
14651
|
-
error: 'd-notice--error',
|
|
14652
|
-
info: 'd-notice--info',
|
|
14653
|
-
success: 'd-notice--success',
|
|
14654
|
-
warning: 'd-notice--warning',
|
|
14655
|
-
base: 'd-notice--base'
|
|
14656
|
-
};
|
|
14657
|
-
return ['d-notice', noticeKinds[this.kind], {
|
|
14658
|
-
'd-notice--important': this.important
|
|
14659
|
-
}];
|
|
14660
|
-
}
|
|
14661
|
-
|
|
14662
|
-
}
|
|
14663
|
-
});
|
|
14664
|
-
;// CONCATENATED MODULE: ./components/notice/notice.vue?vue&type=script&lang=js
|
|
14665
|
-
|
|
14666
|
-
;// CONCATENATED MODULE: ./components/notice/notice.vue
|
|
14667
|
-
|
|
14668
|
-
|
|
14669
|
-
|
|
14670
|
-
|
|
14671
|
-
;
|
|
14672
|
-
const notice_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(noticevue_type_script_lang_js, [['render',noticevue_type_template_id_28b8ab50_render]])
|
|
14673
|
-
|
|
14674
|
-
/* harmony default export */ const notice = (notice_exports_);
|
|
14675
|
-
;// CONCATENATED MODULE: ./components/notice/index.js
|
|
14676
|
-
|
|
14677
|
-
|
|
14678
14705
|
;// 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=57c28750
|
|
14679
14706
|
|
|
14680
14707
|
const paginationvue_type_template_id_57c28750_hoisted_1 = ["aria-label"];
|
|
@@ -18029,17 +18056,17 @@ const root_layout_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(root_l
|
|
|
18029
18056
|
;// CONCATENATED MODULE: ./components/root_layout/index.js
|
|
18030
18057
|
|
|
18031
18058
|
|
|
18032
|
-
;// 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]!./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=
|
|
18059
|
+
;// 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]!./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=27b9863b
|
|
18033
18060
|
|
|
18034
|
-
const
|
|
18035
|
-
const
|
|
18061
|
+
const combobox_with_popovervue_type_template_id_27b9863b_hoisted_1 = ["id"];
|
|
18062
|
+
const combobox_with_popovervue_type_template_id_27b9863b_hoisted_2 = {
|
|
18036
18063
|
ref: "header"
|
|
18037
18064
|
};
|
|
18038
|
-
const
|
|
18039
|
-
const
|
|
18065
|
+
const combobox_with_popovervue_type_template_id_27b9863b_hoisted_3 = ["onMouseleave", "onFocusout"];
|
|
18066
|
+
const combobox_with_popovervue_type_template_id_27b9863b_hoisted_4 = {
|
|
18040
18067
|
ref: "footer"
|
|
18041
18068
|
};
|
|
18042
|
-
function
|
|
18069
|
+
function combobox_with_popovervue_type_template_id_27b9863b_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18043
18070
|
const _component_combobox_loading_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-loading-list");
|
|
18044
18071
|
|
|
18045
18072
|
const _component_combobox_empty_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-empty-list");
|
|
@@ -18062,6 +18089,7 @@ function combobox_with_popovervue_type_template_id_6b1072ea_render(_ctx, _cache,
|
|
|
18062
18089
|
"on-end-of-list": $props.onEndOfList,
|
|
18063
18090
|
"list-rendered-outside": true,
|
|
18064
18091
|
"list-id": $props.listId,
|
|
18092
|
+
"append-to": $props.appendTo,
|
|
18065
18093
|
"data-qa": "dt-combobox"
|
|
18066
18094
|
}, $options.comboboxListeners), {
|
|
18067
18095
|
input: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(_ref => {
|
|
@@ -18078,7 +18106,7 @@ function combobox_with_popovervue_type_template_id_6b1072ea_render(_ctx, _cache,
|
|
|
18078
18106
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "input", {
|
|
18079
18107
|
inputProps: inputProps,
|
|
18080
18108
|
onInput: $options.handleDisplayList
|
|
18081
|
-
})], 40,
|
|
18109
|
+
})], 40, combobox_with_popovervue_type_template_id_27b9863b_hoisted_1)];
|
|
18082
18110
|
}),
|
|
18083
18111
|
list: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(_ref2 => {
|
|
18084
18112
|
let {
|
|
@@ -18123,22 +18151,22 @@ function combobox_with_popovervue_type_template_id_6b1072ea_render(_ctx, _cache,
|
|
|
18123
18151
|
}), null, 16, ["message"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "list", {
|
|
18124
18152
|
key: 2,
|
|
18125
18153
|
listProps: listProps
|
|
18126
|
-
})], 42,
|
|
18154
|
+
})], 42, combobox_with_popovervue_type_template_id_27b9863b_hoisted_3)]),
|
|
18127
18155
|
_: 2
|
|
18128
18156
|
}, [_ctx.$slots.header ? {
|
|
18129
18157
|
name: "headerContent",
|
|
18130
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
18158
|
+
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_27b9863b_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "header")], 512)]),
|
|
18131
18159
|
key: "0"
|
|
18132
18160
|
} : undefined, _ctx.$slots.footer ? {
|
|
18133
18161
|
name: "footerContent",
|
|
18134
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
18162
|
+
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_27b9863b_hoisted_4, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "footer")], 512)]),
|
|
18135
18163
|
key: "1"
|
|
18136
18164
|
} : undefined]), 1032, ["open", "max-height", "max-width", "offset", "sticky", "external-anchor", "content-width", "visually-hidden-close-label", "visually-hidden-close", "onOpened"])];
|
|
18137
18165
|
}),
|
|
18138
18166
|
_: 3
|
|
18139
|
-
}, 16, ["loading", "label", "label-visible", "size", "description", "empty-list", "empty-state-message", "show-list", "on-beginning-of-list", "on-end-of-list", "list-id"]);
|
|
18167
|
+
}, 16, ["loading", "label", "label-visible", "size", "description", "empty-list", "empty-state-message", "show-list", "on-beginning-of-list", "on-end-of-list", "list-id", "append-to"]);
|
|
18140
18168
|
}
|
|
18141
|
-
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=
|
|
18169
|
+
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=27b9863b
|
|
18142
18170
|
|
|
18143
18171
|
;// 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]!./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=script&lang=js
|
|
18144
18172
|
|
|
@@ -18149,6 +18177,7 @@ function combobox_with_popovervue_type_template_id_6b1072ea_render(_ctx, _cache,
|
|
|
18149
18177
|
|
|
18150
18178
|
|
|
18151
18179
|
|
|
18180
|
+
|
|
18152
18181
|
/* harmony default export */ const combobox_with_popovervue_type_script_lang_js = ({
|
|
18153
18182
|
name: 'DtRecipeComboboxWithPopover',
|
|
18154
18183
|
components: {
|
|
@@ -18307,6 +18336,18 @@ function combobox_with_popovervue_type_template_id_6b1072ea_render(_ctx, _cache,
|
|
|
18307
18336
|
default: false
|
|
18308
18337
|
},
|
|
18309
18338
|
|
|
18339
|
+
/**
|
|
18340
|
+
* Sets the element to which the popover is going to append to.
|
|
18341
|
+
* @values 'parent', HTMLElement,
|
|
18342
|
+
*/
|
|
18343
|
+
appendTo: {
|
|
18344
|
+
type: [HTMLElement, String],
|
|
18345
|
+
default: () => document.body,
|
|
18346
|
+
validator: appendTo => {
|
|
18347
|
+
return POPOVER_APPEND_TO_VALUES.includes(appendTo) || appendTo instanceof HTMLElement;
|
|
18348
|
+
}
|
|
18349
|
+
},
|
|
18350
|
+
|
|
18310
18351
|
/**
|
|
18311
18352
|
* Displays the list when the combobox is focused, before the user has typed anything.
|
|
18312
18353
|
* When this is enabled the list will not close after selection.
|
|
@@ -18498,32 +18539,32 @@ function combobox_with_popovervue_type_template_id_6b1072ea_render(_ctx, _cache,
|
|
|
18498
18539
|
|
|
18499
18540
|
|
|
18500
18541
|
;
|
|
18501
|
-
const combobox_with_popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_with_popovervue_type_script_lang_js, [['render',
|
|
18542
|
+
const combobox_with_popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_with_popovervue_type_script_lang_js, [['render',combobox_with_popovervue_type_template_id_27b9863b_render]])
|
|
18502
18543
|
|
|
18503
18544
|
/* harmony default export */ const combobox_with_popover = (combobox_with_popover_exports_);
|
|
18504
18545
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/index.js
|
|
18505
18546
|
|
|
18506
|
-
;// 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]!./recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue?vue&type=template&id=
|
|
18547
|
+
;// 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]!./recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue?vue&type=template&id=e2856cc6
|
|
18507
18548
|
|
|
18508
|
-
const
|
|
18549
|
+
const combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_1 = {
|
|
18509
18550
|
ref: "inputSlotWrapper",
|
|
18510
18551
|
class: "d-ps-relative d-d-block"
|
|
18511
18552
|
};
|
|
18512
|
-
const
|
|
18553
|
+
const combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_2 = {
|
|
18513
18554
|
ref: "chipsWrapper",
|
|
18514
18555
|
class: "d-ps-absolute d-mx2"
|
|
18515
18556
|
};
|
|
18516
|
-
const
|
|
18557
|
+
const combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_3 = {
|
|
18517
18558
|
ref: "header"
|
|
18518
18559
|
};
|
|
18519
|
-
const
|
|
18560
|
+
const combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_4 = {
|
|
18520
18561
|
key: 1,
|
|
18521
18562
|
class: "d-ta-center d-py16"
|
|
18522
18563
|
};
|
|
18523
|
-
const
|
|
18564
|
+
const combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_5 = {
|
|
18524
18565
|
ref: "footer"
|
|
18525
18566
|
};
|
|
18526
|
-
function
|
|
18567
|
+
function combobox_multi_selectvue_type_template_id_e2856cc6_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18527
18568
|
const _component_dt_chip = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-chip");
|
|
18528
18569
|
|
|
18529
18570
|
const _component_dt_input = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-input");
|
|
@@ -18541,6 +18582,7 @@ function combobox_multi_selectvue_type_template_id_5e05b863_render(_ctx, _cache,
|
|
|
18541
18582
|
"has-suggestion-list": $props.hasSuggestionList,
|
|
18542
18583
|
"visually-hidden-close-label": _ctx.visuallyHiddenCloseLabel,
|
|
18543
18584
|
"visually-hidden-close": _ctx.visuallyHiddenClose,
|
|
18585
|
+
"append-to": $props.appendTo,
|
|
18544
18586
|
"content-width": "anchor",
|
|
18545
18587
|
onSelect: $options.onComboboxSelect
|
|
18546
18588
|
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createSlots)({
|
|
@@ -18548,7 +18590,7 @@ function combobox_multi_selectvue_type_template_id_5e05b863_render(_ctx, _cache,
|
|
|
18548
18590
|
let {
|
|
18549
18591
|
onInput
|
|
18550
18592
|
} = _ref;
|
|
18551
|
-
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("span",
|
|
18593
|
+
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("span", combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("span", combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_2, [((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)($props.selectedItems, item => {
|
|
18552
18594
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_chip, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
18553
18595
|
ref_for: true,
|
|
18554
18596
|
ref: "chips",
|
|
@@ -18590,19 +18632,19 @@ function combobox_multi_selectvue_type_template_id_5e05b863_render(_ctx, _cache,
|
|
|
18590
18632
|
onMousedown: _cache[1] || (_cache[1] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)(() => {}, ["prevent"]))
|
|
18591
18633
|
}, [!$props.loading ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "list", {
|
|
18592
18634
|
key: 0
|
|
18593
|
-
}) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div",
|
|
18635
|
+
}) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_4, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.loadingMessage), 1))], 544)]),
|
|
18594
18636
|
_: 2
|
|
18595
18637
|
}, [_ctx.$slots.header ? {
|
|
18596
18638
|
name: "header",
|
|
18597
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
18639
|
+
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "header")], 512)]),
|
|
18598
18640
|
key: "0"
|
|
18599
18641
|
} : undefined, _ctx.$slots.footer ? {
|
|
18600
18642
|
name: "footer",
|
|
18601
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
18643
|
+
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_5, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "footer")], 512)]),
|
|
18602
18644
|
key: "1"
|
|
18603
|
-
} : undefined]), 1032, ["label", "show-list", "max-height", "popover-offset", "has-suggestion-list", "visually-hidden-close-label", "visually-hidden-close", "onSelect"]);
|
|
18645
|
+
} : undefined]), 1032, ["label", "show-list", "max-height", "popover-offset", "has-suggestion-list", "visually-hidden-close-label", "visually-hidden-close", "append-to", "onSelect"]);
|
|
18604
18646
|
}
|
|
18605
|
-
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue?vue&type=template&id=
|
|
18647
|
+
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue?vue&type=template&id=e2856cc6
|
|
18606
18648
|
|
|
18607
18649
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select_story_constants.js
|
|
18608
18650
|
// The item list for default story
|
|
@@ -18719,6 +18761,7 @@ const CHIP_BOTTOM_POSITION = {
|
|
|
18719
18761
|
|
|
18720
18762
|
|
|
18721
18763
|
|
|
18764
|
+
|
|
18722
18765
|
/* harmony default export */ const combobox_multi_selectvue_type_script_lang_js = ({
|
|
18723
18766
|
name: 'DtRecipeComboboxMultiSelect',
|
|
18724
18767
|
components: {
|
|
@@ -18773,6 +18816,18 @@ const CHIP_BOTTOM_POSITION = {
|
|
|
18773
18816
|
}
|
|
18774
18817
|
},
|
|
18775
18818
|
|
|
18819
|
+
/**
|
|
18820
|
+
* Sets the element to which the popover is going to append to.
|
|
18821
|
+
* @values 'parent', HTMLElement,
|
|
18822
|
+
*/
|
|
18823
|
+
appendTo: {
|
|
18824
|
+
type: [HTMLElement, String],
|
|
18825
|
+
default: () => document.body,
|
|
18826
|
+
validator: appendTo => {
|
|
18827
|
+
return POPOVER_APPEND_TO_VALUES.includes(appendTo) || appendTo instanceof HTMLElement;
|
|
18828
|
+
}
|
|
18829
|
+
},
|
|
18830
|
+
|
|
18776
18831
|
/**
|
|
18777
18832
|
* Show input validation message
|
|
18778
18833
|
*/
|
|
@@ -19194,7 +19249,7 @@ const CHIP_BOTTOM_POSITION = {
|
|
|
19194
19249
|
|
|
19195
19250
|
|
|
19196
19251
|
;
|
|
19197
|
-
const combobox_multi_select_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_multi_selectvue_type_script_lang_js, [['render',
|
|
19252
|
+
const combobox_multi_select_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_multi_selectvue_type_script_lang_js, [['render',combobox_multi_selectvue_type_template_id_e2856cc6_render]])
|
|
19198
19253
|
|
|
19199
19254
|
/* harmony default export */ const combobox_multi_select = (combobox_multi_select_exports_);
|
|
19200
19255
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/index.js
|