@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
package/dist/dialtone-vue.umd.js
CHANGED
|
@@ -2340,20 +2340,20 @@ function notice_contentvue_type_template_id_45f8172a_render(_ctx, _cache, $props
|
|
|
2340
2340
|
const notice_content_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(notice_contentvue_type_script_lang_js, [['render',notice_contentvue_type_template_id_45f8172a_render]])
|
|
2341
2341
|
|
|
2342
2342
|
/* harmony default export */ const notice_content = (notice_content_exports_);
|
|
2343
|
-
;// 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/notice/notice_action.vue?vue&type=template&id=
|
|
2343
|
+
;// 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/notice/notice_action.vue?vue&type=template&id=b37ee780
|
|
2344
2344
|
|
|
2345
|
-
const
|
|
2345
|
+
const notice_actionvue_type_template_id_b37ee780_hoisted_1 = {
|
|
2346
2346
|
class: "d-notice__actions",
|
|
2347
2347
|
"data-qa": "notice-content-actions"
|
|
2348
2348
|
};
|
|
2349
|
-
function
|
|
2349
|
+
function notice_actionvue_type_template_id_b37ee780_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2350
2350
|
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
2351
2351
|
|
|
2352
2352
|
const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-button");
|
|
2353
2353
|
|
|
2354
2354
|
const _component_sr_only_close_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("sr-only-close-button");
|
|
2355
2355
|
|
|
2356
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div",
|
|
2356
|
+
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)({
|
|
2357
2357
|
key: 0,
|
|
2358
2358
|
ref: "closeButton",
|
|
2359
2359
|
"data-qa": "dt-notice-action-close-button",
|
|
@@ -2375,7 +2375,7 @@ function notice_actionvue_type_template_id_51cd131a_render(_ctx, _cache, $props,
|
|
|
2375
2375
|
onClose: $options.close
|
|
2376
2376
|
}, null, 8, ["visually-hidden-close-label", "onClose"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]);
|
|
2377
2377
|
}
|
|
2378
|
-
;// CONCATENATED MODULE: ./components/notice/notice_action.vue?vue&type=template&id=
|
|
2378
|
+
;// CONCATENATED MODULE: ./components/notice/notice_action.vue?vue&type=template&id=b37ee780
|
|
2379
2379
|
|
|
2380
2380
|
;// 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/button/button.vue?vue&type=template&id=6629834d
|
|
2381
2381
|
|
|
@@ -2912,17 +2912,6 @@ const sr_only_close_button_exports_ = /*#__PURE__*/(0,exportHelper/* default */.
|
|
|
2912
2912
|
* @event close
|
|
2913
2913
|
*/
|
|
2914
2914
|
'close'],
|
|
2915
|
-
watch: {
|
|
2916
|
-
$props: {
|
|
2917
|
-
immediate: true,
|
|
2918
|
-
deep: true,
|
|
2919
|
-
|
|
2920
|
-
handler() {
|
|
2921
|
-
this.validateProps();
|
|
2922
|
-
}
|
|
2923
|
-
|
|
2924
|
-
}
|
|
2925
|
-
},
|
|
2926
2915
|
|
|
2927
2916
|
created() {
|
|
2928
2917
|
if (!this.hideClose && !this.closeButtonProps.ariaLabel) {
|
|
@@ -2945,12 +2934,6 @@ const sr_only_close_button_exports_ = /*#__PURE__*/(0,exportHelper/* default */.
|
|
|
2945
2934
|
methods: {
|
|
2946
2935
|
close() {
|
|
2947
2936
|
this.$emit('close');
|
|
2948
|
-
},
|
|
2949
|
-
|
|
2950
|
-
validateProps() {
|
|
2951
|
-
if (this.hideClose && !this.visuallyHiddenClose) {
|
|
2952
|
-
console.error('If hideClose prop is true, visuallyHiddenClose and visuallyHiddenCloseLabel props ' + 'need to be set so the component always includes a close button');
|
|
2953
|
-
}
|
|
2954
2937
|
}
|
|
2955
2938
|
|
|
2956
2939
|
}
|
|
@@ -2963,7 +2946,7 @@ const sr_only_close_button_exports_ = /*#__PURE__*/(0,exportHelper/* default */.
|
|
|
2963
2946
|
|
|
2964
2947
|
|
|
2965
2948
|
;
|
|
2966
|
-
const notice_action_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(notice_actionvue_type_script_lang_js, [['render',
|
|
2949
|
+
const notice_action_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(notice_actionvue_type_script_lang_js, [['render',notice_actionvue_type_template_id_b37ee780_render]])
|
|
2967
2950
|
|
|
2968
2951
|
/* harmony default export */ const notice_action = (notice_action_exports_);
|
|
2969
2952
|
;// CONCATENATED MODULE: ./common/mixins/modal.js
|
|
@@ -6306,10 +6289,10 @@ const collapsible_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(collap
|
|
|
6306
6289
|
/* harmony default export */ const collapsible = (collapsible_exports_);
|
|
6307
6290
|
;// CONCATENATED MODULE: ./components/collapsible/index.js
|
|
6308
6291
|
|
|
6309
|
-
;// 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/dropdown/dropdown.vue?vue&type=template&id=
|
|
6292
|
+
;// 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/dropdown/dropdown.vue?vue&type=template&id=878a8588
|
|
6310
6293
|
|
|
6311
|
-
const
|
|
6312
|
-
function
|
|
6294
|
+
const dropdownvue_type_template_id_878a8588_hoisted_1 = ["id"];
|
|
6295
|
+
function dropdownvue_type_template_id_878a8588_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6313
6296
|
const _component_sr_only_close_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("sr-only-close-button");
|
|
6314
6297
|
|
|
6315
6298
|
const _component_dt_popover = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-popover");
|
|
@@ -6326,7 +6309,7 @@ function dropdownvue_type_template_id_d36ba644_render(_ctx, _cache, $props, $set
|
|
|
6326
6309
|
modal: $props.modal,
|
|
6327
6310
|
"max-height": $props.maxHeight,
|
|
6328
6311
|
"max-width": $props.maxWidth,
|
|
6329
|
-
"open-with-arrow-keys":
|
|
6312
|
+
"open-with-arrow-keys": $options.shouldOpenWithArrowKeys,
|
|
6330
6313
|
"open-on-context": $props.openOnContext
|
|
6331
6314
|
}, _ctx.$attrs, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toHandlers)($options.dropdownListeners)), {
|
|
6332
6315
|
anchor: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(_ref => {
|
|
@@ -6359,18 +6342,18 @@ function dropdownvue_type_template_id_d36ba644_render(_ctx, _cache, $props, $set
|
|
|
6359
6342
|
"visually-hidden-close-label": _ctx.visuallyHiddenCloseLabel,
|
|
6360
6343
|
tabindex: $options.isArrowKeyNav ? -1 : 0,
|
|
6361
6344
|
onClose: close
|
|
6362
|
-
}, null, 8, ["visually-hidden-close-label", "tabindex", "onClose"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 42,
|
|
6345
|
+
}, 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)];
|
|
6363
6346
|
}),
|
|
6364
6347
|
_: 3
|
|
6365
|
-
}, 16, ["content-width", "open", "placement", "initial-focus-element", "fallback-placements", "modal", "max-height", "max-width", "open-on-context"]);
|
|
6348
|
+
}, 16, ["content-width", "open", "placement", "initial-focus-element", "fallback-placements", "modal", "max-height", "max-width", "open-with-arrow-keys", "open-on-context"]);
|
|
6366
6349
|
}
|
|
6367
|
-
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=template&id=
|
|
6350
|
+
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=template&id=878a8588
|
|
6368
6351
|
|
|
6369
|
-
;// 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=
|
|
6352
|
+
;// 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=4136497c
|
|
6370
6353
|
|
|
6371
|
-
const
|
|
6372
|
-
const
|
|
6373
|
-
function
|
|
6354
|
+
const popovervue_type_template_id_4136497c_hoisted_1 = ["aria-hidden"];
|
|
6355
|
+
const popovervue_type_template_id_4136497c_hoisted_2 = ["id", "tabindex"];
|
|
6356
|
+
function popovervue_type_template_id_4136497c_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6374
6357
|
const _component_popover_header_footer = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("popover-header-footer");
|
|
6375
6358
|
|
|
6376
6359
|
const _component_sr_only_close_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("sr-only-close-button");
|
|
@@ -6384,7 +6367,7 @@ function popovervue_type_template_id_21a6161e_render(_ctx, _cache, $props, $setu
|
|
|
6384
6367
|
class: "d-modal--transparent",
|
|
6385
6368
|
"aria-hidden": $props.modal && $data.isOpen ? 'false' : 'true',
|
|
6386
6369
|
onClick: _cache[0] || (_cache[0] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)(() => {}, ["prevent", "stop"]))
|
|
6387
|
-
}, null, 8,
|
|
6370
|
+
}, 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), {
|
|
6388
6371
|
ref: "popover",
|
|
6389
6372
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-popover', {
|
|
6390
6373
|
'd-popover__anchor--opened': $data.isOpen
|
|
@@ -6416,7 +6399,7 @@ function popovervue_type_template_id_21a6161e_render(_ctx, _cache, $props, $setu
|
|
|
6416
6399
|
'aria-controls': $props.id,
|
|
6417
6400
|
'aria-haspopup': $props.role
|
|
6418
6401
|
}
|
|
6419
|
-
})], 40,
|
|
6402
|
+
})], 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)({
|
|
6420
6403
|
id: $props.id,
|
|
6421
6404
|
ref: "content",
|
|
6422
6405
|
role: $props.role,
|
|
@@ -6427,7 +6410,7 @@ function popovervue_type_template_id_21a6161e_render(_ctx, _cache, $props, $setu
|
|
|
6427
6410
|
"aria-modal": `${!$props.modal}`,
|
|
6428
6411
|
transition: $props.transition,
|
|
6429
6412
|
show: $data.isOpen,
|
|
6430
|
-
appear: $
|
|
6413
|
+
appear: $data.toAppear,
|
|
6431
6414
|
class: ['d-popover__dialog', {
|
|
6432
6415
|
'd-popover__dialog--modal': $props.modal
|
|
6433
6416
|
}, $props.dialogClass],
|
|
@@ -6479,7 +6462,7 @@ function popovervue_type_template_id_21a6161e_render(_ctx, _cache, $props, $setu
|
|
|
6479
6462
|
_: 3
|
|
6480
6463
|
}, 8, ["class"]))]);
|
|
6481
6464
|
}
|
|
6482
|
-
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=template&id=
|
|
6465
|
+
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=template&id=4136497c
|
|
6483
6466
|
|
|
6484
6467
|
;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getWindow.js
|
|
6485
6468
|
function getWindow(node) {
|
|
@@ -11297,7 +11280,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11297
11280
|
*/
|
|
11298
11281
|
contentAppear: {
|
|
11299
11282
|
type: Boolean,
|
|
11300
|
-
default:
|
|
11283
|
+
default: null
|
|
11301
11284
|
},
|
|
11302
11285
|
|
|
11303
11286
|
/**
|
|
@@ -11528,6 +11511,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11528
11511
|
POPOVER_PADDING_CLASSES: POPOVER_PADDING_CLASSES,
|
|
11529
11512
|
POPOVER_HEADER_FOOTER_PADDING_CLASSES: POPOVER_HEADER_FOOTER_PADDING_CLASSES,
|
|
11530
11513
|
isOpen: false,
|
|
11514
|
+
toAppear: false,
|
|
11531
11515
|
anchorEl: null,
|
|
11532
11516
|
popoverContentEl: null
|
|
11533
11517
|
};
|
|
@@ -11582,23 +11566,23 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11582
11566
|
});
|
|
11583
11567
|
},
|
|
11584
11568
|
|
|
11585
|
-
|
|
11569
|
+
appendTo(appendTo) {
|
|
11586
11570
|
var _this$tip3;
|
|
11587
11571
|
|
|
11588
11572
|
(_this$tip3 = this.tip) === null || _this$tip3 === void 0 ? void 0 : _this$tip3.setProps({
|
|
11589
|
-
|
|
11573
|
+
appendTo
|
|
11590
11574
|
});
|
|
11591
11575
|
},
|
|
11592
11576
|
|
|
11593
|
-
|
|
11577
|
+
sticky(sticky) {
|
|
11594
11578
|
var _this$tip4;
|
|
11595
11579
|
|
|
11596
11580
|
(_this$tip4 = this.tip) === null || _this$tip4 === void 0 ? void 0 : _this$tip4.setProps({
|
|
11597
|
-
|
|
11581
|
+
sticky
|
|
11598
11582
|
});
|
|
11599
11583
|
},
|
|
11600
11584
|
|
|
11601
|
-
|
|
11585
|
+
fallbackPlacements() {
|
|
11602
11586
|
var _this$tip5;
|
|
11603
11587
|
|
|
11604
11588
|
(_this$tip5 = this.tip) === null || _this$tip5 === void 0 ? void 0 : _this$tip5.setProps({
|
|
@@ -11606,10 +11590,18 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11606
11590
|
});
|
|
11607
11591
|
},
|
|
11608
11592
|
|
|
11609
|
-
|
|
11593
|
+
tether() {
|
|
11610
11594
|
var _this$tip6;
|
|
11611
11595
|
|
|
11612
11596
|
(_this$tip6 = this.tip) === null || _this$tip6 === void 0 ? void 0 : _this$tip6.setProps({
|
|
11597
|
+
popperOptions: this.popperOptions()
|
|
11598
|
+
});
|
|
11599
|
+
},
|
|
11600
|
+
|
|
11601
|
+
placement(placement) {
|
|
11602
|
+
var _this$tip7;
|
|
11603
|
+
|
|
11604
|
+
(_this$tip7 = this.tip) === null || _this$tip7 === void 0 ? void 0 : _this$tip7.setProps({
|
|
11613
11605
|
placement
|
|
11614
11606
|
});
|
|
11615
11607
|
},
|
|
@@ -11619,9 +11611,20 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11619
11611
|
if (open !== null) {
|
|
11620
11612
|
this.isOpen = open;
|
|
11621
11613
|
}
|
|
11614
|
+
|
|
11615
|
+
if (open === true) {
|
|
11616
|
+
this.toAppear = true;
|
|
11617
|
+
}
|
|
11622
11618
|
},
|
|
11623
11619
|
immediate: true
|
|
11624
11620
|
},
|
|
11621
|
+
contentAppear: {
|
|
11622
|
+
handler: function (contentAppear) {
|
|
11623
|
+
if (contentAppear !== null) {
|
|
11624
|
+
this.toAppear = contentAppear;
|
|
11625
|
+
}
|
|
11626
|
+
}
|
|
11627
|
+
},
|
|
11625
11628
|
|
|
11626
11629
|
isOpen(isOpen, isPrev) {
|
|
11627
11630
|
if (isOpen) {
|
|
@@ -11635,7 +11638,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11635
11638
|
},
|
|
11636
11639
|
|
|
11637
11640
|
mounted() {
|
|
11638
|
-
const externalAnchorEl =
|
|
11641
|
+
const externalAnchorEl = this.externalAnchor ? this.$refs.anchor.getRootNode().querySelector(`#${this.externalAnchor}`) : null;
|
|
11639
11642
|
this.anchorEl = externalAnchorEl !== null && externalAnchorEl !== void 0 ? externalAnchorEl : this.$refs.anchor.children[0];
|
|
11640
11643
|
this.popoverContentEl = this.$refs.content.$el;
|
|
11641
11644
|
|
|
@@ -11645,9 +11648,9 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11645
11648
|
},
|
|
11646
11649
|
|
|
11647
11650
|
beforeUnmount() {
|
|
11648
|
-
var _this$
|
|
11651
|
+
var _this$tip8;
|
|
11649
11652
|
|
|
11650
|
-
(_this$
|
|
11653
|
+
(_this$tip8 = this.tip) === null || _this$tip8 === void 0 ? void 0 : _this$tip8.destroy();
|
|
11651
11654
|
this.removeReferences();
|
|
11652
11655
|
this.removeEventListeners();
|
|
11653
11656
|
},
|
|
@@ -11672,7 +11675,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11672
11675
|
|
|
11673
11676
|
calculateAnchorZindex() {
|
|
11674
11677
|
// if a modal is currently active render at modal-element z-index, otherwise at popover z-index
|
|
11675
|
-
if (
|
|
11678
|
+
if (this.$el.getRootNode().querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')) {
|
|
11676
11679
|
return 650;
|
|
11677
11680
|
} else {
|
|
11678
11681
|
return 300;
|
|
@@ -11766,7 +11769,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11766
11769
|
* Prevents scrolling only when the popover is set to modal
|
|
11767
11770
|
**/
|
|
11768
11771
|
preventScrolling(e) {
|
|
11769
|
-
if (!this.modal
|
|
11772
|
+
if (!this.modal) return;
|
|
11770
11773
|
e.preventDefault();
|
|
11771
11774
|
},
|
|
11772
11775
|
|
|
@@ -11787,7 +11790,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11787
11790
|
},
|
|
11788
11791
|
|
|
11789
11792
|
async onLeaveTransitionComplete() {
|
|
11790
|
-
var _this$
|
|
11793
|
+
var _this$tip9;
|
|
11791
11794
|
|
|
11792
11795
|
if (this.modal) {
|
|
11793
11796
|
await this.focusFirstElement(this.$refs.anchor); // await next tick in case the user wants to change focus themselves.
|
|
@@ -11795,7 +11798,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11795
11798
|
await this.$nextTick();
|
|
11796
11799
|
}
|
|
11797
11800
|
|
|
11798
|
-
(_this$
|
|
11801
|
+
(_this$tip9 = this.tip) === null || _this$tip9 === void 0 ? void 0 : _this$tip9.unmount();
|
|
11799
11802
|
this.$emit('opened', false);
|
|
11800
11803
|
|
|
11801
11804
|
if (this.open !== null) {
|
|
@@ -11921,10 +11924,10 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11921
11924
|
});
|
|
11922
11925
|
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=script&lang=js
|
|
11923
11926
|
|
|
11924
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.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/less-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/popover/popover.vue?vue&type=style&index=0&id=
|
|
11927
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.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/less-loader/dist/cjs.js??clonedRuleSet-74.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
|
|
11925
11928
|
// extracted by mini-css-extract-plugin
|
|
11926
11929
|
|
|
11927
|
-
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=style&index=0&id=
|
|
11930
|
+
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=style&index=0&id=4136497c&lang=less
|
|
11928
11931
|
|
|
11929
11932
|
;// CONCATENATED MODULE: ./components/popover/popover.vue
|
|
11930
11933
|
|
|
@@ -11934,7 +11937,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11934
11937
|
;
|
|
11935
11938
|
|
|
11936
11939
|
|
|
11937
|
-
const popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(popovervue_type_script_lang_js, [['render',
|
|
11940
|
+
const popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(popovervue_type_script_lang_js, [['render',popovervue_type_template_id_4136497c_render]])
|
|
11938
11941
|
|
|
11939
11942
|
/* harmony default export */ const popover = (popover_exports_);
|
|
11940
11943
|
;// CONCATENATED MODULE: ./components/popover/index.js
|
|
@@ -12162,14 +12165,14 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
12162
12165
|
switch (eventCode) {
|
|
12163
12166
|
case EVENT_KEYNAMES.up:
|
|
12164
12167
|
case EVENT_KEYNAMES.arrowup:
|
|
12165
|
-
this.
|
|
12168
|
+
this.onUpKeyPress(event);
|
|
12166
12169
|
event.stopPropagation();
|
|
12167
12170
|
event.preventDefault();
|
|
12168
12171
|
break;
|
|
12169
12172
|
|
|
12170
12173
|
case EVENT_KEYNAMES.down:
|
|
12171
12174
|
case EVENT_KEYNAMES.arrowdown:
|
|
12172
|
-
this.
|
|
12175
|
+
this.onDownKeyPress(event);
|
|
12173
12176
|
event.stopPropagation();
|
|
12174
12177
|
event.preventDefault();
|
|
12175
12178
|
break;
|
|
@@ -12184,19 +12187,19 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
12184
12187
|
break;
|
|
12185
12188
|
|
|
12186
12189
|
case EVENT_KEYNAMES.home:
|
|
12187
|
-
this.
|
|
12190
|
+
this.onHomeKeyPress(event);
|
|
12188
12191
|
event.stopPropagation();
|
|
12189
12192
|
event.preventDefault();
|
|
12190
12193
|
break;
|
|
12191
12194
|
|
|
12192
12195
|
case EVENT_KEYNAMES.end:
|
|
12193
|
-
this.
|
|
12196
|
+
this.onEndKeyPress(event);
|
|
12194
12197
|
event.stopPropagation();
|
|
12195
12198
|
event.preventDefault();
|
|
12196
12199
|
break;
|
|
12197
12200
|
|
|
12198
12201
|
default:
|
|
12199
|
-
this.
|
|
12202
|
+
this.onKeyPress(event);
|
|
12200
12203
|
break;
|
|
12201
12204
|
}
|
|
12202
12205
|
|
|
@@ -12225,6 +12228,10 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
12225
12228
|
return ['d-ps-relative', 'd-stack2', 'd-m4', 'd-px0', DROPDOWN_PADDING_CLASSES[this.padding], this.listClass, {
|
|
12226
12229
|
'd-context-menu-list': this.openOnContext
|
|
12227
12230
|
}];
|
|
12231
|
+
},
|
|
12232
|
+
|
|
12233
|
+
shouldOpenWithArrowKeys() {
|
|
12234
|
+
return !this.openOnContext;
|
|
12228
12235
|
}
|
|
12229
12236
|
|
|
12230
12237
|
},
|
|
@@ -12328,24 +12335,16 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
12328
12335
|
e.stopPropagation();
|
|
12329
12336
|
e.preventDefault();
|
|
12330
12337
|
return this.onNavigationKey(e.key);
|
|
12331
|
-
},
|
|
12332
|
-
|
|
12333
|
-
onKeyValidation(e, eventHandler) {
|
|
12334
|
-
if (this.open !== null && !this.openOnContext) {
|
|
12335
|
-
return;
|
|
12336
|
-
}
|
|
12337
|
-
|
|
12338
|
-
this[eventHandler](e);
|
|
12339
12338
|
}
|
|
12340
12339
|
|
|
12341
12340
|
}
|
|
12342
12341
|
});
|
|
12343
12342
|
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=script&lang=js
|
|
12344
12343
|
|
|
12345
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.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/less-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/dropdown/dropdown.vue?vue&type=style&index=0&id=
|
|
12344
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.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/less-loader/dist/cjs.js??clonedRuleSet-74.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
|
|
12346
12345
|
// extracted by mini-css-extract-plugin
|
|
12347
12346
|
|
|
12348
|
-
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=style&index=0&id=
|
|
12347
|
+
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=style&index=0&id=878a8588&lang=less
|
|
12349
12348
|
|
|
12350
12349
|
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue
|
|
12351
12350
|
|
|
@@ -12355,7 +12354,7 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
12355
12354
|
;
|
|
12356
12355
|
|
|
12357
12356
|
|
|
12358
|
-
const dropdown_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(dropdownvue_type_script_lang_js, [['render',
|
|
12357
|
+
const dropdown_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(dropdownvue_type_script_lang_js, [['render',dropdownvue_type_template_id_878a8588_render]])
|
|
12359
12358
|
|
|
12360
12359
|
/* harmony default export */ const dropdown = (dropdown_exports_);
|
|
12361
12360
|
;// 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/dropdown/dropdown_list.vue?vue&type=template&id=50f7e3e3
|
|
@@ -13844,16 +13843,16 @@ const input_group_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(input_
|
|
|
13844
13843
|
/* harmony default export */ const input_group_input_group = (input_group_exports_);
|
|
13845
13844
|
;// CONCATENATED MODULE: ./components/input_group/index.js
|
|
13846
13845
|
|
|
13847
|
-
;// 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/modal/modal.vue?vue&type=template&id=
|
|
13846
|
+
;// 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/modal/modal.vue?vue&type=template&id=68e78e9e
|
|
13848
13847
|
|
|
13849
|
-
const
|
|
13850
|
-
const
|
|
13851
|
-
const
|
|
13852
|
-
const
|
|
13848
|
+
const modalvue_type_template_id_68e78e9e_hoisted_1 = ["aria-describedby", "aria-labelledby"];
|
|
13849
|
+
const modalvue_type_template_id_68e78e9e_hoisted_2 = ["id"];
|
|
13850
|
+
const modalvue_type_template_id_68e78e9e_hoisted_3 = ["id"];
|
|
13851
|
+
const modalvue_type_template_id_68e78e9e_hoisted_4 = {
|
|
13853
13852
|
key: 4,
|
|
13854
13853
|
class: "d-modal__footer"
|
|
13855
13854
|
};
|
|
13856
|
-
function
|
|
13855
|
+
function modalvue_type_template_id_68e78e9e_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13857
13856
|
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
13858
13857
|
|
|
13859
13858
|
const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-button");
|
|
@@ -13872,7 +13871,7 @@ function modalvue_type_template_id_2aa05149_render(_ctx, _cache, $props, $setup,
|
|
|
13872
13871
|
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", {
|
|
13873
13872
|
key: 0,
|
|
13874
13873
|
"data-qa": "dt-modal-banner",
|
|
13875
|
-
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-modal__banner', $props.bannerClass])
|
|
13874
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-modal__banner', $props.bannerClass, $options.bannerKindClass])
|
|
13876
13875
|
}, [(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, {
|
|
13877
13876
|
appear: "",
|
|
13878
13877
|
name: "d-modal__dialog"
|
|
@@ -13890,12 +13889,12 @@ function modalvue_type_template_id_2aa05149_render(_ctx, _cache, $props, $setup,
|
|
|
13890
13889
|
id: $props.labelledById,
|
|
13891
13890
|
class: "d-modal__header",
|
|
13892
13891
|
"data-qa": "dt-modal-title"
|
|
13893
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "header")], 8,
|
|
13892
|
+
}, [(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", {
|
|
13894
13893
|
key: 1,
|
|
13895
13894
|
id: $props.labelledById,
|
|
13896
13895
|
class: "d-modal__header",
|
|
13897
13896
|
"data-qa": "dt-modal-title"
|
|
13898
|
-
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.title), 9,
|
|
13897
|
+
}, (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", {
|
|
13899
13898
|
key: 2,
|
|
13900
13899
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-modal__content', $props.contentClass]),
|
|
13901
13900
|
"data-qa": "dt-modal-copy"
|
|
@@ -13903,7 +13902,7 @@ function modalvue_type_template_id_2aa05149_render(_ctx, _cache, $props, $setup,
|
|
|
13903
13902
|
key: 3,
|
|
13904
13903
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-modal__content', $props.contentClass]),
|
|
13905
13904
|
"data-qa": "dt-modal-copy"
|
|
13906
|
-
}, (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",
|
|
13905
|
+
}, (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)({
|
|
13907
13906
|
key: 5,
|
|
13908
13907
|
class: "d-modal__close",
|
|
13909
13908
|
circle: "",
|
|
@@ -13922,13 +13921,13 @@ function modalvue_type_template_id_2aa05149_render(_ctx, _cache, $props, $setup,
|
|
|
13922
13921
|
key: 6,
|
|
13923
13922
|
"visually-hidden-close-label": _ctx.visuallyHiddenCloseLabel,
|
|
13924
13923
|
onClose: $options.close
|
|
13925
|
-
}, null, 8, ["visually-hidden-close-label", "onClose"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 10,
|
|
13924
|
+
}, 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]])]),
|
|
13926
13925
|
_: 3
|
|
13927
13926
|
})]),
|
|
13928
13927
|
_: 3
|
|
13929
13928
|
}, 16, ["show", "class", "aria-hidden"]);
|
|
13930
13929
|
}
|
|
13931
|
-
;// CONCATENATED MODULE: ./components/modal/modal.vue?vue&type=template&id=
|
|
13930
|
+
;// CONCATENATED MODULE: ./components/modal/modal.vue?vue&type=template&id=68e78e9e
|
|
13932
13931
|
|
|
13933
13932
|
;// CONCATENATED MODULE: ./components/modal/modal_constants.js
|
|
13934
13933
|
// Modal style modifiers
|
|
@@ -13941,6 +13940,199 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
13941
13940
|
default: '',
|
|
13942
13941
|
full: 'd-modal--full'
|
|
13943
13942
|
};
|
|
13943
|
+
const MODAL_BANNER_KINDS = {
|
|
13944
|
+
error: 'd-modal__banner--critical',
|
|
13945
|
+
info: 'd-modal__banner--info',
|
|
13946
|
+
success: 'd-modal__banner--success',
|
|
13947
|
+
warning: 'd-modal__banner--warning',
|
|
13948
|
+
base: 'd-modal__banner--general'
|
|
13949
|
+
};
|
|
13950
|
+
;// 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/notice/notice.vue?vue&type=template&id=28b8ab50
|
|
13951
|
+
|
|
13952
|
+
function noticevue_type_template_id_28b8ab50_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13953
|
+
const _component_dt_notice_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-notice-icon");
|
|
13954
|
+
|
|
13955
|
+
const _component_dt_notice_content = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-notice-content");
|
|
13956
|
+
|
|
13957
|
+
const _component_dt_notice_action = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-notice-action");
|
|
13958
|
+
|
|
13959
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("aside", {
|
|
13960
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.noticeClass),
|
|
13961
|
+
"data-qa": "notice"
|
|
13962
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_notice_icon, {
|
|
13963
|
+
kind: $props.kind
|
|
13964
|
+
}, {
|
|
13965
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "icon")]),
|
|
13966
|
+
_: 3
|
|
13967
|
+
}, 8, ["kind"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_notice_content, {
|
|
13968
|
+
"title-id": $props.titleId,
|
|
13969
|
+
"content-id": $props.contentId,
|
|
13970
|
+
title: $props.title,
|
|
13971
|
+
role: $props.role
|
|
13972
|
+
}, {
|
|
13973
|
+
titleOverride: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "titleOverride")]),
|
|
13974
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")]),
|
|
13975
|
+
_: 3
|
|
13976
|
+
}, 8, ["title-id", "content-id", "title", "role"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_notice_action, {
|
|
13977
|
+
"hide-close": $props.hideClose,
|
|
13978
|
+
"close-button-props": $props.closeButtonProps,
|
|
13979
|
+
"visually-hidden-close": _ctx.visuallyHiddenClose,
|
|
13980
|
+
"visually-hidden-close-label": _ctx.visuallyHiddenCloseLabel,
|
|
13981
|
+
onClose: _cache[0] || (_cache[0] = $event => _ctx.$emit('close'))
|
|
13982
|
+
}, {
|
|
13983
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "action")]),
|
|
13984
|
+
_: 3
|
|
13985
|
+
}, 8, ["hide-close", "close-button-props", "visually-hidden-close", "visually-hidden-close-label"])], 2);
|
|
13986
|
+
}
|
|
13987
|
+
;// CONCATENATED MODULE: ./components/notice/notice.vue?vue&type=template&id=28b8ab50
|
|
13988
|
+
|
|
13989
|
+
;// 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/notice/notice.vue?vue&type=script&lang=js
|
|
13990
|
+
|
|
13991
|
+
|
|
13992
|
+
|
|
13993
|
+
|
|
13994
|
+
|
|
13995
|
+
/**
|
|
13996
|
+
* A notice is an informational and assistive message that appears inline with content.
|
|
13997
|
+
* @see https://dialpad.design/components/notice.html
|
|
13998
|
+
*/
|
|
13999
|
+
|
|
14000
|
+
/* harmony default export */ const noticevue_type_script_lang_js = ({
|
|
14001
|
+
name: 'DtNotice',
|
|
14002
|
+
components: {
|
|
14003
|
+
DtNoticeIcon: notice_icon,
|
|
14004
|
+
DtNoticeContent: notice_content,
|
|
14005
|
+
DtNoticeAction: notice_action
|
|
14006
|
+
},
|
|
14007
|
+
mixins: [sr_only_close_button],
|
|
14008
|
+
props: {
|
|
14009
|
+
/**
|
|
14010
|
+
* Sets an ID on the title element of the component. Useful for aria-describedby
|
|
14011
|
+
* or aria-labelledby or any other reason you may need an id to refer to the title.
|
|
14012
|
+
*/
|
|
14013
|
+
titleId: {
|
|
14014
|
+
type: String,
|
|
14015
|
+
default: undefined
|
|
14016
|
+
},
|
|
14017
|
+
|
|
14018
|
+
/**
|
|
14019
|
+
* Sets an ID on the content element of the component. Useful for aria-describedby
|
|
14020
|
+
* or aria-labelledby or any other reason you may need an id to refer to the content.
|
|
14021
|
+
*/
|
|
14022
|
+
contentId: {
|
|
14023
|
+
type: String,
|
|
14024
|
+
default: undefined
|
|
14025
|
+
},
|
|
14026
|
+
|
|
14027
|
+
/**
|
|
14028
|
+
* Title header of the notice. This can be left blank to remove the title from the notice entirely.
|
|
14029
|
+
*/
|
|
14030
|
+
title: {
|
|
14031
|
+
type: String,
|
|
14032
|
+
default: ''
|
|
14033
|
+
},
|
|
14034
|
+
|
|
14035
|
+
/**
|
|
14036
|
+
* Provides a role for the notice. 'status' is used to communicate a message. 'alert' is used to communicate an
|
|
14037
|
+
* important message that does not contain any interactive elements. 'alertdialog' is used to communicate an
|
|
14038
|
+
* important message that does contain interactive elements.
|
|
14039
|
+
* @values alert, alertdialog, status
|
|
14040
|
+
*/
|
|
14041
|
+
role: {
|
|
14042
|
+
type: String,
|
|
14043
|
+
default: 'status',
|
|
14044
|
+
|
|
14045
|
+
validate(role) {
|
|
14046
|
+
return NOTICE_ROLES.includes(role);
|
|
14047
|
+
}
|
|
14048
|
+
|
|
14049
|
+
},
|
|
14050
|
+
|
|
14051
|
+
/**
|
|
14052
|
+
* Used in scenarios where the message needs to visually dominate the screen.
|
|
14053
|
+
* This will also change the aria role from status to alert.
|
|
14054
|
+
* @values true, false
|
|
14055
|
+
*/
|
|
14056
|
+
important: {
|
|
14057
|
+
type: Boolean,
|
|
14058
|
+
default: false
|
|
14059
|
+
},
|
|
14060
|
+
|
|
14061
|
+
/**
|
|
14062
|
+
* Severity level of the notice, sets the icon and background
|
|
14063
|
+
* @values base, error, info, success, warning
|
|
14064
|
+
*/
|
|
14065
|
+
kind: {
|
|
14066
|
+
type: String,
|
|
14067
|
+
default: 'base',
|
|
14068
|
+
|
|
14069
|
+
validate(kind) {
|
|
14070
|
+
return NOTICE_KINDS.includes(kind);
|
|
14071
|
+
}
|
|
14072
|
+
|
|
14073
|
+
},
|
|
14074
|
+
|
|
14075
|
+
/**
|
|
14076
|
+
* Props for the notice close button.
|
|
14077
|
+
*/
|
|
14078
|
+
closeButtonProps: {
|
|
14079
|
+
type: Object,
|
|
14080
|
+
default: () => ({})
|
|
14081
|
+
},
|
|
14082
|
+
|
|
14083
|
+
/**
|
|
14084
|
+
* Hides the close button from the notice
|
|
14085
|
+
* @values true, false
|
|
14086
|
+
*/
|
|
14087
|
+
hideClose: {
|
|
14088
|
+
type: Boolean,
|
|
14089
|
+
default: false
|
|
14090
|
+
}
|
|
14091
|
+
},
|
|
14092
|
+
emits: [
|
|
14093
|
+
/**
|
|
14094
|
+
* Close button click event
|
|
14095
|
+
*
|
|
14096
|
+
* @event close
|
|
14097
|
+
*/
|
|
14098
|
+
'close',
|
|
14099
|
+
/**
|
|
14100
|
+
* Native button click event
|
|
14101
|
+
*
|
|
14102
|
+
* @event click
|
|
14103
|
+
* @type {PointerEvent | KeyboardEvent}
|
|
14104
|
+
*/
|
|
14105
|
+
'click'],
|
|
14106
|
+
computed: {
|
|
14107
|
+
noticeClass() {
|
|
14108
|
+
const noticeKinds = {
|
|
14109
|
+
error: 'd-notice--error',
|
|
14110
|
+
info: 'd-notice--info',
|
|
14111
|
+
success: 'd-notice--success',
|
|
14112
|
+
warning: 'd-notice--warning',
|
|
14113
|
+
base: 'd-notice--base'
|
|
14114
|
+
};
|
|
14115
|
+
return ['d-notice', noticeKinds[this.kind], {
|
|
14116
|
+
'd-notice--important': this.important
|
|
14117
|
+
}];
|
|
14118
|
+
}
|
|
14119
|
+
|
|
14120
|
+
}
|
|
14121
|
+
});
|
|
14122
|
+
;// CONCATENATED MODULE: ./components/notice/notice.vue?vue&type=script&lang=js
|
|
14123
|
+
|
|
14124
|
+
;// CONCATENATED MODULE: ./components/notice/notice.vue
|
|
14125
|
+
|
|
14126
|
+
|
|
14127
|
+
|
|
14128
|
+
|
|
14129
|
+
;
|
|
14130
|
+
const notice_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(noticevue_type_script_lang_js, [['render',noticevue_type_template_id_28b8ab50_render]])
|
|
14131
|
+
|
|
14132
|
+
/* harmony default export */ const notice = (notice_exports_);
|
|
14133
|
+
;// CONCATENATED MODULE: ./components/notice/index.js
|
|
14134
|
+
|
|
14135
|
+
|
|
13944
14136
|
;// 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/modal/modal.vue?vue&type=script&lang=js
|
|
13945
14137
|
|
|
13946
14138
|
|
|
@@ -13951,6 +14143,7 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
13951
14143
|
|
|
13952
14144
|
|
|
13953
14145
|
|
|
14146
|
+
|
|
13954
14147
|
/**
|
|
13955
14148
|
* Modals focus the user’s attention exclusively on one task or piece of information
|
|
13956
14149
|
* via a window that sits on top of the page content.
|
|
@@ -14083,6 +14276,20 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
14083
14276
|
default: ''
|
|
14084
14277
|
},
|
|
14085
14278
|
|
|
14279
|
+
/**
|
|
14280
|
+
* Sets the color of the banner.
|
|
14281
|
+
* @values base, error, info, success, warning
|
|
14282
|
+
*/
|
|
14283
|
+
bannerKind: {
|
|
14284
|
+
type: String,
|
|
14285
|
+
default: 'warning',
|
|
14286
|
+
|
|
14287
|
+
validate(kind) {
|
|
14288
|
+
return NOTICE_KINDS.includes(kind);
|
|
14289
|
+
}
|
|
14290
|
+
|
|
14291
|
+
},
|
|
14292
|
+
|
|
14086
14293
|
/**
|
|
14087
14294
|
* Additional class name for the banner element within the modal.
|
|
14088
14295
|
* Can accept String, Object, and Array, i.e. has the
|
|
@@ -14138,7 +14345,9 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
14138
14345
|
data() {
|
|
14139
14346
|
return {
|
|
14140
14347
|
MODAL_KIND_MODIFIERS: MODAL_KIND_MODIFIERS,
|
|
14141
|
-
MODAL_SIZE_MODIFIERS: MODAL_SIZE_MODIFIERS
|
|
14348
|
+
MODAL_SIZE_MODIFIERS: MODAL_SIZE_MODIFIERS,
|
|
14349
|
+
MODAL_BANNER_KINDS: MODAL_BANNER_KINDS,
|
|
14350
|
+
EVENT_KEYNAMES: EVENT_KEYNAMES
|
|
14142
14351
|
};
|
|
14143
14352
|
},
|
|
14144
14353
|
|
|
@@ -14175,6 +14384,10 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
14175
14384
|
|
|
14176
14385
|
hasFooterSlot() {
|
|
14177
14386
|
return !!this.$slots.footer;
|
|
14387
|
+
},
|
|
14388
|
+
|
|
14389
|
+
bannerKindClass() {
|
|
14390
|
+
return MODAL_BANNER_KINDS[this.bannerKind];
|
|
14178
14391
|
}
|
|
14179
14392
|
|
|
14180
14393
|
},
|
|
@@ -14238,7 +14451,7 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
14238
14451
|
|
|
14239
14452
|
|
|
14240
14453
|
;
|
|
14241
|
-
const modal_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(modalvue_type_script_lang_js, [['render',
|
|
14454
|
+
const modal_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(modalvue_type_script_lang_js, [['render',modalvue_type_template_id_68e78e9e_render]])
|
|
14242
14455
|
|
|
14243
14456
|
/* harmony default export */ const modal_modal = (modal_exports_);
|
|
14244
14457
|
;// CONCATENATED MODULE: ./components/modal/index.js
|
|
@@ -14499,192 +14712,6 @@ const list_item_group_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(li
|
|
|
14499
14712
|
;// CONCATENATED MODULE: ./components/list_item_group/index.js
|
|
14500
14713
|
|
|
14501
14714
|
|
|
14502
|
-
;// 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/notice/notice.vue?vue&type=template&id=28b8ab50
|
|
14503
|
-
|
|
14504
|
-
function noticevue_type_template_id_28b8ab50_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14505
|
-
const _component_dt_notice_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-notice-icon");
|
|
14506
|
-
|
|
14507
|
-
const _component_dt_notice_content = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-notice-content");
|
|
14508
|
-
|
|
14509
|
-
const _component_dt_notice_action = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-notice-action");
|
|
14510
|
-
|
|
14511
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("aside", {
|
|
14512
|
-
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.noticeClass),
|
|
14513
|
-
"data-qa": "notice"
|
|
14514
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_notice_icon, {
|
|
14515
|
-
kind: $props.kind
|
|
14516
|
-
}, {
|
|
14517
|
-
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "icon")]),
|
|
14518
|
-
_: 3
|
|
14519
|
-
}, 8, ["kind"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_notice_content, {
|
|
14520
|
-
"title-id": $props.titleId,
|
|
14521
|
-
"content-id": $props.contentId,
|
|
14522
|
-
title: $props.title,
|
|
14523
|
-
role: $props.role
|
|
14524
|
-
}, {
|
|
14525
|
-
titleOverride: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "titleOverride")]),
|
|
14526
|
-
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")]),
|
|
14527
|
-
_: 3
|
|
14528
|
-
}, 8, ["title-id", "content-id", "title", "role"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_notice_action, {
|
|
14529
|
-
"hide-close": $props.hideClose,
|
|
14530
|
-
"close-button-props": $props.closeButtonProps,
|
|
14531
|
-
"visually-hidden-close": _ctx.visuallyHiddenClose,
|
|
14532
|
-
"visually-hidden-close-label": _ctx.visuallyHiddenCloseLabel,
|
|
14533
|
-
onClose: _cache[0] || (_cache[0] = $event => _ctx.$emit('close'))
|
|
14534
|
-
}, {
|
|
14535
|
-
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "action")]),
|
|
14536
|
-
_: 3
|
|
14537
|
-
}, 8, ["hide-close", "close-button-props", "visually-hidden-close", "visually-hidden-close-label"])], 2);
|
|
14538
|
-
}
|
|
14539
|
-
;// CONCATENATED MODULE: ./components/notice/notice.vue?vue&type=template&id=28b8ab50
|
|
14540
|
-
|
|
14541
|
-
;// 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/notice/notice.vue?vue&type=script&lang=js
|
|
14542
|
-
|
|
14543
|
-
|
|
14544
|
-
|
|
14545
|
-
|
|
14546
|
-
|
|
14547
|
-
/**
|
|
14548
|
-
* A notice is an informational and assistive message that appears inline with content.
|
|
14549
|
-
* @see https://dialpad.design/components/notice.html
|
|
14550
|
-
*/
|
|
14551
|
-
|
|
14552
|
-
/* harmony default export */ const noticevue_type_script_lang_js = ({
|
|
14553
|
-
name: 'DtNotice',
|
|
14554
|
-
components: {
|
|
14555
|
-
DtNoticeIcon: notice_icon,
|
|
14556
|
-
DtNoticeContent: notice_content,
|
|
14557
|
-
DtNoticeAction: notice_action
|
|
14558
|
-
},
|
|
14559
|
-
mixins: [sr_only_close_button],
|
|
14560
|
-
props: {
|
|
14561
|
-
/**
|
|
14562
|
-
* Sets an ID on the title element of the component. Useful for aria-describedby
|
|
14563
|
-
* or aria-labelledby or any other reason you may need an id to refer to the title.
|
|
14564
|
-
*/
|
|
14565
|
-
titleId: {
|
|
14566
|
-
type: String,
|
|
14567
|
-
default: undefined
|
|
14568
|
-
},
|
|
14569
|
-
|
|
14570
|
-
/**
|
|
14571
|
-
* Sets an ID on the content element of the component. Useful for aria-describedby
|
|
14572
|
-
* or aria-labelledby or any other reason you may need an id to refer to the content.
|
|
14573
|
-
*/
|
|
14574
|
-
contentId: {
|
|
14575
|
-
type: String,
|
|
14576
|
-
default: undefined
|
|
14577
|
-
},
|
|
14578
|
-
|
|
14579
|
-
/**
|
|
14580
|
-
* Title header of the notice. This can be left blank to remove the title from the notice entirely.
|
|
14581
|
-
*/
|
|
14582
|
-
title: {
|
|
14583
|
-
type: String,
|
|
14584
|
-
default: ''
|
|
14585
|
-
},
|
|
14586
|
-
|
|
14587
|
-
/**
|
|
14588
|
-
* Provides a role for the notice. 'status' is used to communicate a message. 'alert' is used to communicate an
|
|
14589
|
-
* important message that does not contain any interactive elements. 'alertdialog' is used to communicate an
|
|
14590
|
-
* important message that does contain interactive elements.
|
|
14591
|
-
* @values alert, alertdialog, status
|
|
14592
|
-
*/
|
|
14593
|
-
role: {
|
|
14594
|
-
type: String,
|
|
14595
|
-
default: 'status',
|
|
14596
|
-
|
|
14597
|
-
validate(role) {
|
|
14598
|
-
return NOTICE_ROLES.includes(role);
|
|
14599
|
-
}
|
|
14600
|
-
|
|
14601
|
-
},
|
|
14602
|
-
|
|
14603
|
-
/**
|
|
14604
|
-
* Used in scenarios where the message needs to visually dominate the screen.
|
|
14605
|
-
* This will also change the aria role from status to alert.
|
|
14606
|
-
* @values true, false
|
|
14607
|
-
*/
|
|
14608
|
-
important: {
|
|
14609
|
-
type: Boolean,
|
|
14610
|
-
default: false
|
|
14611
|
-
},
|
|
14612
|
-
|
|
14613
|
-
/**
|
|
14614
|
-
* Severity level of the notice, sets the icon and background
|
|
14615
|
-
* @values base, error, info, success, warning
|
|
14616
|
-
*/
|
|
14617
|
-
kind: {
|
|
14618
|
-
type: String,
|
|
14619
|
-
default: 'base',
|
|
14620
|
-
|
|
14621
|
-
validate(kind) {
|
|
14622
|
-
return NOTICE_KINDS.includes(kind);
|
|
14623
|
-
}
|
|
14624
|
-
|
|
14625
|
-
},
|
|
14626
|
-
|
|
14627
|
-
/**
|
|
14628
|
-
* Props for the notice close button.
|
|
14629
|
-
*/
|
|
14630
|
-
closeButtonProps: {
|
|
14631
|
-
type: Object,
|
|
14632
|
-
default: () => ({})
|
|
14633
|
-
},
|
|
14634
|
-
|
|
14635
|
-
/**
|
|
14636
|
-
* Hides the close button from the notice
|
|
14637
|
-
* @values true, false
|
|
14638
|
-
*/
|
|
14639
|
-
hideClose: {
|
|
14640
|
-
type: Boolean,
|
|
14641
|
-
default: false
|
|
14642
|
-
}
|
|
14643
|
-
},
|
|
14644
|
-
emits: [
|
|
14645
|
-
/**
|
|
14646
|
-
* Close button click event
|
|
14647
|
-
*
|
|
14648
|
-
* @event close
|
|
14649
|
-
*/
|
|
14650
|
-
'close',
|
|
14651
|
-
/**
|
|
14652
|
-
* Native button click event
|
|
14653
|
-
*
|
|
14654
|
-
* @event click
|
|
14655
|
-
* @type {PointerEvent | KeyboardEvent}
|
|
14656
|
-
*/
|
|
14657
|
-
'click'],
|
|
14658
|
-
computed: {
|
|
14659
|
-
noticeClass() {
|
|
14660
|
-
const noticeKinds = {
|
|
14661
|
-
error: 'd-notice--error',
|
|
14662
|
-
info: 'd-notice--info',
|
|
14663
|
-
success: 'd-notice--success',
|
|
14664
|
-
warning: 'd-notice--warning',
|
|
14665
|
-
base: 'd-notice--base'
|
|
14666
|
-
};
|
|
14667
|
-
return ['d-notice', noticeKinds[this.kind], {
|
|
14668
|
-
'd-notice--important': this.important
|
|
14669
|
-
}];
|
|
14670
|
-
}
|
|
14671
|
-
|
|
14672
|
-
}
|
|
14673
|
-
});
|
|
14674
|
-
;// CONCATENATED MODULE: ./components/notice/notice.vue?vue&type=script&lang=js
|
|
14675
|
-
|
|
14676
|
-
;// CONCATENATED MODULE: ./components/notice/notice.vue
|
|
14677
|
-
|
|
14678
|
-
|
|
14679
|
-
|
|
14680
|
-
|
|
14681
|
-
;
|
|
14682
|
-
const notice_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(noticevue_type_script_lang_js, [['render',noticevue_type_template_id_28b8ab50_render]])
|
|
14683
|
-
|
|
14684
|
-
/* harmony default export */ const notice = (notice_exports_);
|
|
14685
|
-
;// CONCATENATED MODULE: ./components/notice/index.js
|
|
14686
|
-
|
|
14687
|
-
|
|
14688
14715
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/pagination/pagination.vue?vue&type=template&id=57c28750
|
|
14689
14716
|
|
|
14690
14717
|
const paginationvue_type_template_id_57c28750_hoisted_1 = ["aria-label"];
|
|
@@ -18039,17 +18066,17 @@ const root_layout_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(root_l
|
|
|
18039
18066
|
;// CONCATENATED MODULE: ./components/root_layout/index.js
|
|
18040
18067
|
|
|
18041
18068
|
|
|
18042
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=
|
|
18069
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=27b9863b
|
|
18043
18070
|
|
|
18044
|
-
const
|
|
18045
|
-
const
|
|
18071
|
+
const combobox_with_popovervue_type_template_id_27b9863b_hoisted_1 = ["id"];
|
|
18072
|
+
const combobox_with_popovervue_type_template_id_27b9863b_hoisted_2 = {
|
|
18046
18073
|
ref: "header"
|
|
18047
18074
|
};
|
|
18048
|
-
const
|
|
18049
|
-
const
|
|
18075
|
+
const combobox_with_popovervue_type_template_id_27b9863b_hoisted_3 = ["onMouseleave", "onFocusout"];
|
|
18076
|
+
const combobox_with_popovervue_type_template_id_27b9863b_hoisted_4 = {
|
|
18050
18077
|
ref: "footer"
|
|
18051
18078
|
};
|
|
18052
|
-
function
|
|
18079
|
+
function combobox_with_popovervue_type_template_id_27b9863b_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18053
18080
|
const _component_combobox_loading_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-loading-list");
|
|
18054
18081
|
|
|
18055
18082
|
const _component_combobox_empty_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-empty-list");
|
|
@@ -18072,6 +18099,7 @@ function combobox_with_popovervue_type_template_id_6b1072ea_render(_ctx, _cache,
|
|
|
18072
18099
|
"on-end-of-list": $props.onEndOfList,
|
|
18073
18100
|
"list-rendered-outside": true,
|
|
18074
18101
|
"list-id": $props.listId,
|
|
18102
|
+
"append-to": $props.appendTo,
|
|
18075
18103
|
"data-qa": "dt-combobox"
|
|
18076
18104
|
}, $options.comboboxListeners), {
|
|
18077
18105
|
input: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(_ref => {
|
|
@@ -18088,7 +18116,7 @@ function combobox_with_popovervue_type_template_id_6b1072ea_render(_ctx, _cache,
|
|
|
18088
18116
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "input", {
|
|
18089
18117
|
inputProps: inputProps,
|
|
18090
18118
|
onInput: $options.handleDisplayList
|
|
18091
|
-
})], 40,
|
|
18119
|
+
})], 40, combobox_with_popovervue_type_template_id_27b9863b_hoisted_1)];
|
|
18092
18120
|
}),
|
|
18093
18121
|
list: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(_ref2 => {
|
|
18094
18122
|
let {
|
|
@@ -18133,22 +18161,22 @@ function combobox_with_popovervue_type_template_id_6b1072ea_render(_ctx, _cache,
|
|
|
18133
18161
|
}), null, 16, ["message"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "list", {
|
|
18134
18162
|
key: 2,
|
|
18135
18163
|
listProps: listProps
|
|
18136
|
-
})], 42,
|
|
18164
|
+
})], 42, combobox_with_popovervue_type_template_id_27b9863b_hoisted_3)]),
|
|
18137
18165
|
_: 2
|
|
18138
18166
|
}, [_ctx.$slots.header ? {
|
|
18139
18167
|
name: "headerContent",
|
|
18140
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
18168
|
+
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)]),
|
|
18141
18169
|
key: "0"
|
|
18142
18170
|
} : undefined, _ctx.$slots.footer ? {
|
|
18143
18171
|
name: "footerContent",
|
|
18144
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
18172
|
+
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)]),
|
|
18145
18173
|
key: "1"
|
|
18146
18174
|
} : undefined]), 1032, ["open", "max-height", "max-width", "offset", "sticky", "external-anchor", "content-width", "visually-hidden-close-label", "visually-hidden-close", "onOpened"])];
|
|
18147
18175
|
}),
|
|
18148
18176
|
_: 3
|
|
18149
|
-
}, 16, ["loading", "label", "label-visible", "size", "description", "empty-list", "empty-state-message", "show-list", "on-beginning-of-list", "on-end-of-list", "list-id"]);
|
|
18177
|
+
}, 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"]);
|
|
18150
18178
|
}
|
|
18151
|
-
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=
|
|
18179
|
+
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=27b9863b
|
|
18152
18180
|
|
|
18153
18181
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=script&lang=js
|
|
18154
18182
|
|
|
@@ -18159,6 +18187,7 @@ function combobox_with_popovervue_type_template_id_6b1072ea_render(_ctx, _cache,
|
|
|
18159
18187
|
|
|
18160
18188
|
|
|
18161
18189
|
|
|
18190
|
+
|
|
18162
18191
|
/* harmony default export */ const combobox_with_popovervue_type_script_lang_js = ({
|
|
18163
18192
|
name: 'DtRecipeComboboxWithPopover',
|
|
18164
18193
|
components: {
|
|
@@ -18317,6 +18346,18 @@ function combobox_with_popovervue_type_template_id_6b1072ea_render(_ctx, _cache,
|
|
|
18317
18346
|
default: false
|
|
18318
18347
|
},
|
|
18319
18348
|
|
|
18349
|
+
/**
|
|
18350
|
+
* Sets the element to which the popover is going to append to.
|
|
18351
|
+
* @values 'parent', HTMLElement,
|
|
18352
|
+
*/
|
|
18353
|
+
appendTo: {
|
|
18354
|
+
type: [HTMLElement, String],
|
|
18355
|
+
default: () => document.body,
|
|
18356
|
+
validator: appendTo => {
|
|
18357
|
+
return POPOVER_APPEND_TO_VALUES.includes(appendTo) || appendTo instanceof HTMLElement;
|
|
18358
|
+
}
|
|
18359
|
+
},
|
|
18360
|
+
|
|
18320
18361
|
/**
|
|
18321
18362
|
* Displays the list when the combobox is focused, before the user has typed anything.
|
|
18322
18363
|
* When this is enabled the list will not close after selection.
|
|
@@ -18508,32 +18549,32 @@ function combobox_with_popovervue_type_template_id_6b1072ea_render(_ctx, _cache,
|
|
|
18508
18549
|
|
|
18509
18550
|
|
|
18510
18551
|
;
|
|
18511
|
-
const combobox_with_popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_with_popovervue_type_script_lang_js, [['render',
|
|
18552
|
+
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]])
|
|
18512
18553
|
|
|
18513
18554
|
/* harmony default export */ const combobox_with_popover = (combobox_with_popover_exports_);
|
|
18514
18555
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/index.js
|
|
18515
18556
|
|
|
18516
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue?vue&type=template&id=
|
|
18557
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue?vue&type=template&id=e2856cc6
|
|
18517
18558
|
|
|
18518
|
-
const
|
|
18559
|
+
const combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_1 = {
|
|
18519
18560
|
ref: "inputSlotWrapper",
|
|
18520
18561
|
class: "d-ps-relative d-d-block"
|
|
18521
18562
|
};
|
|
18522
|
-
const
|
|
18563
|
+
const combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_2 = {
|
|
18523
18564
|
ref: "chipsWrapper",
|
|
18524
18565
|
class: "d-ps-absolute d-mx2"
|
|
18525
18566
|
};
|
|
18526
|
-
const
|
|
18567
|
+
const combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_3 = {
|
|
18527
18568
|
ref: "header"
|
|
18528
18569
|
};
|
|
18529
|
-
const
|
|
18570
|
+
const combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_4 = {
|
|
18530
18571
|
key: 1,
|
|
18531
18572
|
class: "d-ta-center d-py16"
|
|
18532
18573
|
};
|
|
18533
|
-
const
|
|
18574
|
+
const combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_5 = {
|
|
18534
18575
|
ref: "footer"
|
|
18535
18576
|
};
|
|
18536
|
-
function
|
|
18577
|
+
function combobox_multi_selectvue_type_template_id_e2856cc6_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18537
18578
|
const _component_dt_chip = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-chip");
|
|
18538
18579
|
|
|
18539
18580
|
const _component_dt_input = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-input");
|
|
@@ -18551,6 +18592,7 @@ function combobox_multi_selectvue_type_template_id_5e05b863_render(_ctx, _cache,
|
|
|
18551
18592
|
"has-suggestion-list": $props.hasSuggestionList,
|
|
18552
18593
|
"visually-hidden-close-label": _ctx.visuallyHiddenCloseLabel,
|
|
18553
18594
|
"visually-hidden-close": _ctx.visuallyHiddenClose,
|
|
18595
|
+
"append-to": $props.appendTo,
|
|
18554
18596
|
"content-width": "anchor",
|
|
18555
18597
|
onSelect: $options.onComboboxSelect
|
|
18556
18598
|
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createSlots)({
|
|
@@ -18558,7 +18600,7 @@ function combobox_multi_selectvue_type_template_id_5e05b863_render(_ctx, _cache,
|
|
|
18558
18600
|
let {
|
|
18559
18601
|
onInput
|
|
18560
18602
|
} = _ref;
|
|
18561
|
-
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("span",
|
|
18603
|
+
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 => {
|
|
18562
18604
|
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)({
|
|
18563
18605
|
ref_for: true,
|
|
18564
18606
|
ref: "chips",
|
|
@@ -18600,19 +18642,19 @@ function combobox_multi_selectvue_type_template_id_5e05b863_render(_ctx, _cache,
|
|
|
18600
18642
|
onMousedown: _cache[1] || (_cache[1] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)(() => {}, ["prevent"]))
|
|
18601
18643
|
}, [!$props.loading ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "list", {
|
|
18602
18644
|
key: 0
|
|
18603
|
-
}) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div",
|
|
18645
|
+
}) : ((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)]),
|
|
18604
18646
|
_: 2
|
|
18605
18647
|
}, [_ctx.$slots.header ? {
|
|
18606
18648
|
name: "header",
|
|
18607
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
18649
|
+
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)]),
|
|
18608
18650
|
key: "0"
|
|
18609
18651
|
} : undefined, _ctx.$slots.footer ? {
|
|
18610
18652
|
name: "footer",
|
|
18611
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
18653
|
+
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)]),
|
|
18612
18654
|
key: "1"
|
|
18613
|
-
} : undefined]), 1032, ["label", "show-list", "max-height", "popover-offset", "has-suggestion-list", "visually-hidden-close-label", "visually-hidden-close", "onSelect"]);
|
|
18655
|
+
} : undefined]), 1032, ["label", "show-list", "max-height", "popover-offset", "has-suggestion-list", "visually-hidden-close-label", "visually-hidden-close", "append-to", "onSelect"]);
|
|
18614
18656
|
}
|
|
18615
|
-
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue?vue&type=template&id=
|
|
18657
|
+
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue?vue&type=template&id=e2856cc6
|
|
18616
18658
|
|
|
18617
18659
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select_story_constants.js
|
|
18618
18660
|
// The item list for default story
|
|
@@ -18729,6 +18771,7 @@ const CHIP_BOTTOM_POSITION = {
|
|
|
18729
18771
|
|
|
18730
18772
|
|
|
18731
18773
|
|
|
18774
|
+
|
|
18732
18775
|
/* harmony default export */ const combobox_multi_selectvue_type_script_lang_js = ({
|
|
18733
18776
|
name: 'DtRecipeComboboxMultiSelect',
|
|
18734
18777
|
components: {
|
|
@@ -18783,6 +18826,18 @@ const CHIP_BOTTOM_POSITION = {
|
|
|
18783
18826
|
}
|
|
18784
18827
|
},
|
|
18785
18828
|
|
|
18829
|
+
/**
|
|
18830
|
+
* Sets the element to which the popover is going to append to.
|
|
18831
|
+
* @values 'parent', HTMLElement,
|
|
18832
|
+
*/
|
|
18833
|
+
appendTo: {
|
|
18834
|
+
type: [HTMLElement, String],
|
|
18835
|
+
default: () => document.body,
|
|
18836
|
+
validator: appendTo => {
|
|
18837
|
+
return POPOVER_APPEND_TO_VALUES.includes(appendTo) || appendTo instanceof HTMLElement;
|
|
18838
|
+
}
|
|
18839
|
+
},
|
|
18840
|
+
|
|
18786
18841
|
/**
|
|
18787
18842
|
* Show input validation message
|
|
18788
18843
|
*/
|
|
@@ -19204,7 +19259,7 @@ const CHIP_BOTTOM_POSITION = {
|
|
|
19204
19259
|
|
|
19205
19260
|
|
|
19206
19261
|
;
|
|
19207
|
-
const combobox_multi_select_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_multi_selectvue_type_script_lang_js, [['render',
|
|
19262
|
+
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]])
|
|
19208
19263
|
|
|
19209
19264
|
/* harmony default export */ const combobox_multi_select = (combobox_multi_select_exports_);
|
|
19210
19265
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/index.js
|