@dialpad/dialtone-vue 3.40.0 → 3.41.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +1 -1
- package/CHANGELOG.md +13 -0
- package/dist/component-documentation.json +1 -1
- package/dist/dialtone-vue.common.js +335 -288
- package/dist/dialtone-vue.umd.js +335 -288
- 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=7070dfc8
|
|
6370
6353
|
|
|
6371
|
-
const
|
|
6372
|
-
const
|
|
6373
|
-
function
|
|
6354
|
+
const popovervue_type_template_id_7070dfc8_hoisted_1 = ["aria-hidden"];
|
|
6355
|
+
const popovervue_type_template_id_7070dfc8_hoisted_2 = ["id", "tabindex"];
|
|
6356
|
+
function popovervue_type_template_id_7070dfc8_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_7070dfc8_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_7070dfc8_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=7070dfc8
|
|
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
|
};
|
|
@@ -11619,9 +11603,20 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11619
11603
|
if (open !== null) {
|
|
11620
11604
|
this.isOpen = open;
|
|
11621
11605
|
}
|
|
11606
|
+
|
|
11607
|
+
if (open === true) {
|
|
11608
|
+
this.toAppear = true;
|
|
11609
|
+
}
|
|
11622
11610
|
},
|
|
11623
11611
|
immediate: true
|
|
11624
11612
|
},
|
|
11613
|
+
contentAppear: {
|
|
11614
|
+
handler: function (contentAppear) {
|
|
11615
|
+
if (contentAppear !== null) {
|
|
11616
|
+
this.toAppear = contentAppear;
|
|
11617
|
+
}
|
|
11618
|
+
}
|
|
11619
|
+
},
|
|
11625
11620
|
|
|
11626
11621
|
isOpen(isOpen, isPrev) {
|
|
11627
11622
|
if (isOpen) {
|
|
@@ -11635,7 +11630,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11635
11630
|
},
|
|
11636
11631
|
|
|
11637
11632
|
mounted() {
|
|
11638
|
-
const externalAnchorEl =
|
|
11633
|
+
const externalAnchorEl = this.externalAnchor ? this.$el.getRootNode().querySelector(`#${this.externalAnchor}`) : null;
|
|
11639
11634
|
this.anchorEl = externalAnchorEl !== null && externalAnchorEl !== void 0 ? externalAnchorEl : this.$refs.anchor.children[0];
|
|
11640
11635
|
this.popoverContentEl = this.$refs.content.$el;
|
|
11641
11636
|
|
|
@@ -11672,7 +11667,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11672
11667
|
|
|
11673
11668
|
calculateAnchorZindex() {
|
|
11674
11669
|
// if a modal is currently active render at modal-element z-index, otherwise at popover z-index
|
|
11675
|
-
if (
|
|
11670
|
+
if (this.$el.getRootNode().querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')) {
|
|
11676
11671
|
return 650;
|
|
11677
11672
|
} else {
|
|
11678
11673
|
return 300;
|
|
@@ -11766,7 +11761,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11766
11761
|
* Prevents scrolling only when the popover is set to modal
|
|
11767
11762
|
**/
|
|
11768
11763
|
preventScrolling(e) {
|
|
11769
|
-
if (!this.modal
|
|
11764
|
+
if (!this.modal) return;
|
|
11770
11765
|
e.preventDefault();
|
|
11771
11766
|
},
|
|
11772
11767
|
|
|
@@ -11921,10 +11916,10 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11921
11916
|
});
|
|
11922
11917
|
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=script&lang=js
|
|
11923
11918
|
|
|
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=
|
|
11919
|
+
;// 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=7070dfc8&lang=less
|
|
11925
11920
|
// extracted by mini-css-extract-plugin
|
|
11926
11921
|
|
|
11927
|
-
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=style&index=0&id=
|
|
11922
|
+
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=style&index=0&id=7070dfc8&lang=less
|
|
11928
11923
|
|
|
11929
11924
|
;// CONCATENATED MODULE: ./components/popover/popover.vue
|
|
11930
11925
|
|
|
@@ -11934,7 +11929,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11934
11929
|
;
|
|
11935
11930
|
|
|
11936
11931
|
|
|
11937
|
-
const popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(popovervue_type_script_lang_js, [['render',
|
|
11932
|
+
const popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(popovervue_type_script_lang_js, [['render',popovervue_type_template_id_7070dfc8_render]])
|
|
11938
11933
|
|
|
11939
11934
|
/* harmony default export */ const popover = (popover_exports_);
|
|
11940
11935
|
;// CONCATENATED MODULE: ./components/popover/index.js
|
|
@@ -12162,14 +12157,14 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
12162
12157
|
switch (eventCode) {
|
|
12163
12158
|
case EVENT_KEYNAMES.up:
|
|
12164
12159
|
case EVENT_KEYNAMES.arrowup:
|
|
12165
|
-
this.
|
|
12160
|
+
this.onUpKeyPress(event);
|
|
12166
12161
|
event.stopPropagation();
|
|
12167
12162
|
event.preventDefault();
|
|
12168
12163
|
break;
|
|
12169
12164
|
|
|
12170
12165
|
case EVENT_KEYNAMES.down:
|
|
12171
12166
|
case EVENT_KEYNAMES.arrowdown:
|
|
12172
|
-
this.
|
|
12167
|
+
this.onDownKeyPress(event);
|
|
12173
12168
|
event.stopPropagation();
|
|
12174
12169
|
event.preventDefault();
|
|
12175
12170
|
break;
|
|
@@ -12184,19 +12179,19 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
12184
12179
|
break;
|
|
12185
12180
|
|
|
12186
12181
|
case EVENT_KEYNAMES.home:
|
|
12187
|
-
this.
|
|
12182
|
+
this.onHomeKeyPress(event);
|
|
12188
12183
|
event.stopPropagation();
|
|
12189
12184
|
event.preventDefault();
|
|
12190
12185
|
break;
|
|
12191
12186
|
|
|
12192
12187
|
case EVENT_KEYNAMES.end:
|
|
12193
|
-
this.
|
|
12188
|
+
this.onEndKeyPress(event);
|
|
12194
12189
|
event.stopPropagation();
|
|
12195
12190
|
event.preventDefault();
|
|
12196
12191
|
break;
|
|
12197
12192
|
|
|
12198
12193
|
default:
|
|
12199
|
-
this.
|
|
12194
|
+
this.onKeyPress(event);
|
|
12200
12195
|
break;
|
|
12201
12196
|
}
|
|
12202
12197
|
|
|
@@ -12225,6 +12220,10 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
12225
12220
|
return ['d-ps-relative', 'd-stack2', 'd-m4', 'd-px0', DROPDOWN_PADDING_CLASSES[this.padding], this.listClass, {
|
|
12226
12221
|
'd-context-menu-list': this.openOnContext
|
|
12227
12222
|
}];
|
|
12223
|
+
},
|
|
12224
|
+
|
|
12225
|
+
shouldOpenWithArrowKeys() {
|
|
12226
|
+
return !this.openOnContext;
|
|
12228
12227
|
}
|
|
12229
12228
|
|
|
12230
12229
|
},
|
|
@@ -12328,24 +12327,16 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
12328
12327
|
e.stopPropagation();
|
|
12329
12328
|
e.preventDefault();
|
|
12330
12329
|
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
12330
|
}
|
|
12340
12331
|
|
|
12341
12332
|
}
|
|
12342
12333
|
});
|
|
12343
12334
|
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=script&lang=js
|
|
12344
12335
|
|
|
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=
|
|
12336
|
+
;// 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
12337
|
// extracted by mini-css-extract-plugin
|
|
12347
12338
|
|
|
12348
|
-
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=style&index=0&id=
|
|
12339
|
+
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=style&index=0&id=878a8588&lang=less
|
|
12349
12340
|
|
|
12350
12341
|
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue
|
|
12351
12342
|
|
|
@@ -12355,7 +12346,7 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
12355
12346
|
;
|
|
12356
12347
|
|
|
12357
12348
|
|
|
12358
|
-
const dropdown_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(dropdownvue_type_script_lang_js, [['render',
|
|
12349
|
+
const dropdown_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(dropdownvue_type_script_lang_js, [['render',dropdownvue_type_template_id_878a8588_render]])
|
|
12359
12350
|
|
|
12360
12351
|
/* harmony default export */ const dropdown = (dropdown_exports_);
|
|
12361
12352
|
;// 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 +13835,16 @@ const input_group_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(input_
|
|
|
13844
13835
|
/* harmony default export */ const input_group_input_group = (input_group_exports_);
|
|
13845
13836
|
;// CONCATENATED MODULE: ./components/input_group/index.js
|
|
13846
13837
|
|
|
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=
|
|
13838
|
+
;// 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
13839
|
|
|
13849
|
-
const
|
|
13850
|
-
const
|
|
13851
|
-
const
|
|
13852
|
-
const
|
|
13840
|
+
const modalvue_type_template_id_68e78e9e_hoisted_1 = ["aria-describedby", "aria-labelledby"];
|
|
13841
|
+
const modalvue_type_template_id_68e78e9e_hoisted_2 = ["id"];
|
|
13842
|
+
const modalvue_type_template_id_68e78e9e_hoisted_3 = ["id"];
|
|
13843
|
+
const modalvue_type_template_id_68e78e9e_hoisted_4 = {
|
|
13853
13844
|
key: 4,
|
|
13854
13845
|
class: "d-modal__footer"
|
|
13855
13846
|
};
|
|
13856
|
-
function
|
|
13847
|
+
function modalvue_type_template_id_68e78e9e_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13857
13848
|
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
13858
13849
|
|
|
13859
13850
|
const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-button");
|
|
@@ -13872,7 +13863,7 @@ function modalvue_type_template_id_2aa05149_render(_ctx, _cache, $props, $setup,
|
|
|
13872
13863
|
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
13864
|
key: 0,
|
|
13874
13865
|
"data-qa": "dt-modal-banner",
|
|
13875
|
-
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-modal__banner', $props.bannerClass])
|
|
13866
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-modal__banner', $props.bannerClass, $options.bannerKindClass])
|
|
13876
13867
|
}, [(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
13868
|
appear: "",
|
|
13878
13869
|
name: "d-modal__dialog"
|
|
@@ -13890,12 +13881,12 @@ function modalvue_type_template_id_2aa05149_render(_ctx, _cache, $props, $setup,
|
|
|
13890
13881
|
id: $props.labelledById,
|
|
13891
13882
|
class: "d-modal__header",
|
|
13892
13883
|
"data-qa": "dt-modal-title"
|
|
13893
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "header")], 8,
|
|
13884
|
+
}, [(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
13885
|
key: 1,
|
|
13895
13886
|
id: $props.labelledById,
|
|
13896
13887
|
class: "d-modal__header",
|
|
13897
13888
|
"data-qa": "dt-modal-title"
|
|
13898
|
-
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.title), 9,
|
|
13889
|
+
}, (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
13890
|
key: 2,
|
|
13900
13891
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-modal__content', $props.contentClass]),
|
|
13901
13892
|
"data-qa": "dt-modal-copy"
|
|
@@ -13903,7 +13894,7 @@ function modalvue_type_template_id_2aa05149_render(_ctx, _cache, $props, $setup,
|
|
|
13903
13894
|
key: 3,
|
|
13904
13895
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-modal__content', $props.contentClass]),
|
|
13905
13896
|
"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",
|
|
13897
|
+
}, (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
13898
|
key: 5,
|
|
13908
13899
|
class: "d-modal__close",
|
|
13909
13900
|
circle: "",
|
|
@@ -13922,13 +13913,13 @@ function modalvue_type_template_id_2aa05149_render(_ctx, _cache, $props, $setup,
|
|
|
13922
13913
|
key: 6,
|
|
13923
13914
|
"visually-hidden-close-label": _ctx.visuallyHiddenCloseLabel,
|
|
13924
13915
|
onClose: $options.close
|
|
13925
|
-
}, null, 8, ["visually-hidden-close-label", "onClose"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 10,
|
|
13916
|
+
}, 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
13917
|
_: 3
|
|
13927
13918
|
})]),
|
|
13928
13919
|
_: 3
|
|
13929
13920
|
}, 16, ["show", "class", "aria-hidden"]);
|
|
13930
13921
|
}
|
|
13931
|
-
;// CONCATENATED MODULE: ./components/modal/modal.vue?vue&type=template&id=
|
|
13922
|
+
;// CONCATENATED MODULE: ./components/modal/modal.vue?vue&type=template&id=68e78e9e
|
|
13932
13923
|
|
|
13933
13924
|
;// CONCATENATED MODULE: ./components/modal/modal_constants.js
|
|
13934
13925
|
// Modal style modifiers
|
|
@@ -13941,6 +13932,199 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
13941
13932
|
default: '',
|
|
13942
13933
|
full: 'd-modal--full'
|
|
13943
13934
|
};
|
|
13935
|
+
const MODAL_BANNER_KINDS = {
|
|
13936
|
+
error: 'd-modal__banner--critical',
|
|
13937
|
+
info: 'd-modal__banner--info',
|
|
13938
|
+
success: 'd-modal__banner--success',
|
|
13939
|
+
warning: 'd-modal__banner--warning',
|
|
13940
|
+
base: 'd-modal__banner--general'
|
|
13941
|
+
};
|
|
13942
|
+
;// 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
|
|
13943
|
+
|
|
13944
|
+
function noticevue_type_template_id_28b8ab50_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13945
|
+
const _component_dt_notice_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-notice-icon");
|
|
13946
|
+
|
|
13947
|
+
const _component_dt_notice_content = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-notice-content");
|
|
13948
|
+
|
|
13949
|
+
const _component_dt_notice_action = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-notice-action");
|
|
13950
|
+
|
|
13951
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("aside", {
|
|
13952
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.noticeClass),
|
|
13953
|
+
"data-qa": "notice"
|
|
13954
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_notice_icon, {
|
|
13955
|
+
kind: $props.kind
|
|
13956
|
+
}, {
|
|
13957
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "icon")]),
|
|
13958
|
+
_: 3
|
|
13959
|
+
}, 8, ["kind"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_notice_content, {
|
|
13960
|
+
"title-id": $props.titleId,
|
|
13961
|
+
"content-id": $props.contentId,
|
|
13962
|
+
title: $props.title,
|
|
13963
|
+
role: $props.role
|
|
13964
|
+
}, {
|
|
13965
|
+
titleOverride: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "titleOverride")]),
|
|
13966
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")]),
|
|
13967
|
+
_: 3
|
|
13968
|
+
}, 8, ["title-id", "content-id", "title", "role"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_notice_action, {
|
|
13969
|
+
"hide-close": $props.hideClose,
|
|
13970
|
+
"close-button-props": $props.closeButtonProps,
|
|
13971
|
+
"visually-hidden-close": _ctx.visuallyHiddenClose,
|
|
13972
|
+
"visually-hidden-close-label": _ctx.visuallyHiddenCloseLabel,
|
|
13973
|
+
onClose: _cache[0] || (_cache[0] = $event => _ctx.$emit('close'))
|
|
13974
|
+
}, {
|
|
13975
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "action")]),
|
|
13976
|
+
_: 3
|
|
13977
|
+
}, 8, ["hide-close", "close-button-props", "visually-hidden-close", "visually-hidden-close-label"])], 2);
|
|
13978
|
+
}
|
|
13979
|
+
;// CONCATENATED MODULE: ./components/notice/notice.vue?vue&type=template&id=28b8ab50
|
|
13980
|
+
|
|
13981
|
+
;// 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
|
|
13982
|
+
|
|
13983
|
+
|
|
13984
|
+
|
|
13985
|
+
|
|
13986
|
+
|
|
13987
|
+
/**
|
|
13988
|
+
* A notice is an informational and assistive message that appears inline with content.
|
|
13989
|
+
* @see https://dialpad.design/components/notice.html
|
|
13990
|
+
*/
|
|
13991
|
+
|
|
13992
|
+
/* harmony default export */ const noticevue_type_script_lang_js = ({
|
|
13993
|
+
name: 'DtNotice',
|
|
13994
|
+
components: {
|
|
13995
|
+
DtNoticeIcon: notice_icon,
|
|
13996
|
+
DtNoticeContent: notice_content,
|
|
13997
|
+
DtNoticeAction: notice_action
|
|
13998
|
+
},
|
|
13999
|
+
mixins: [sr_only_close_button],
|
|
14000
|
+
props: {
|
|
14001
|
+
/**
|
|
14002
|
+
* Sets an ID on the title element of the component. Useful for aria-describedby
|
|
14003
|
+
* or aria-labelledby or any other reason you may need an id to refer to the title.
|
|
14004
|
+
*/
|
|
14005
|
+
titleId: {
|
|
14006
|
+
type: String,
|
|
14007
|
+
default: undefined
|
|
14008
|
+
},
|
|
14009
|
+
|
|
14010
|
+
/**
|
|
14011
|
+
* Sets an ID on the content element of the component. Useful for aria-describedby
|
|
14012
|
+
* or aria-labelledby or any other reason you may need an id to refer to the content.
|
|
14013
|
+
*/
|
|
14014
|
+
contentId: {
|
|
14015
|
+
type: String,
|
|
14016
|
+
default: undefined
|
|
14017
|
+
},
|
|
14018
|
+
|
|
14019
|
+
/**
|
|
14020
|
+
* Title header of the notice. This can be left blank to remove the title from the notice entirely.
|
|
14021
|
+
*/
|
|
14022
|
+
title: {
|
|
14023
|
+
type: String,
|
|
14024
|
+
default: ''
|
|
14025
|
+
},
|
|
14026
|
+
|
|
14027
|
+
/**
|
|
14028
|
+
* Provides a role for the notice. 'status' is used to communicate a message. 'alert' is used to communicate an
|
|
14029
|
+
* important message that does not contain any interactive elements. 'alertdialog' is used to communicate an
|
|
14030
|
+
* important message that does contain interactive elements.
|
|
14031
|
+
* @values alert, alertdialog, status
|
|
14032
|
+
*/
|
|
14033
|
+
role: {
|
|
14034
|
+
type: String,
|
|
14035
|
+
default: 'status',
|
|
14036
|
+
|
|
14037
|
+
validate(role) {
|
|
14038
|
+
return NOTICE_ROLES.includes(role);
|
|
14039
|
+
}
|
|
14040
|
+
|
|
14041
|
+
},
|
|
14042
|
+
|
|
14043
|
+
/**
|
|
14044
|
+
* Used in scenarios where the message needs to visually dominate the screen.
|
|
14045
|
+
* This will also change the aria role from status to alert.
|
|
14046
|
+
* @values true, false
|
|
14047
|
+
*/
|
|
14048
|
+
important: {
|
|
14049
|
+
type: Boolean,
|
|
14050
|
+
default: false
|
|
14051
|
+
},
|
|
14052
|
+
|
|
14053
|
+
/**
|
|
14054
|
+
* Severity level of the notice, sets the icon and background
|
|
14055
|
+
* @values base, error, info, success, warning
|
|
14056
|
+
*/
|
|
14057
|
+
kind: {
|
|
14058
|
+
type: String,
|
|
14059
|
+
default: 'base',
|
|
14060
|
+
|
|
14061
|
+
validate(kind) {
|
|
14062
|
+
return NOTICE_KINDS.includes(kind);
|
|
14063
|
+
}
|
|
14064
|
+
|
|
14065
|
+
},
|
|
14066
|
+
|
|
14067
|
+
/**
|
|
14068
|
+
* Props for the notice close button.
|
|
14069
|
+
*/
|
|
14070
|
+
closeButtonProps: {
|
|
14071
|
+
type: Object,
|
|
14072
|
+
default: () => ({})
|
|
14073
|
+
},
|
|
14074
|
+
|
|
14075
|
+
/**
|
|
14076
|
+
* Hides the close button from the notice
|
|
14077
|
+
* @values true, false
|
|
14078
|
+
*/
|
|
14079
|
+
hideClose: {
|
|
14080
|
+
type: Boolean,
|
|
14081
|
+
default: false
|
|
14082
|
+
}
|
|
14083
|
+
},
|
|
14084
|
+
emits: [
|
|
14085
|
+
/**
|
|
14086
|
+
* Close button click event
|
|
14087
|
+
*
|
|
14088
|
+
* @event close
|
|
14089
|
+
*/
|
|
14090
|
+
'close',
|
|
14091
|
+
/**
|
|
14092
|
+
* Native button click event
|
|
14093
|
+
*
|
|
14094
|
+
* @event click
|
|
14095
|
+
* @type {PointerEvent | KeyboardEvent}
|
|
14096
|
+
*/
|
|
14097
|
+
'click'],
|
|
14098
|
+
computed: {
|
|
14099
|
+
noticeClass() {
|
|
14100
|
+
const noticeKinds = {
|
|
14101
|
+
error: 'd-notice--error',
|
|
14102
|
+
info: 'd-notice--info',
|
|
14103
|
+
success: 'd-notice--success',
|
|
14104
|
+
warning: 'd-notice--warning',
|
|
14105
|
+
base: 'd-notice--base'
|
|
14106
|
+
};
|
|
14107
|
+
return ['d-notice', noticeKinds[this.kind], {
|
|
14108
|
+
'd-notice--important': this.important
|
|
14109
|
+
}];
|
|
14110
|
+
}
|
|
14111
|
+
|
|
14112
|
+
}
|
|
14113
|
+
});
|
|
14114
|
+
;// CONCATENATED MODULE: ./components/notice/notice.vue?vue&type=script&lang=js
|
|
14115
|
+
|
|
14116
|
+
;// CONCATENATED MODULE: ./components/notice/notice.vue
|
|
14117
|
+
|
|
14118
|
+
|
|
14119
|
+
|
|
14120
|
+
|
|
14121
|
+
;
|
|
14122
|
+
const notice_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(noticevue_type_script_lang_js, [['render',noticevue_type_template_id_28b8ab50_render]])
|
|
14123
|
+
|
|
14124
|
+
/* harmony default export */ const notice = (notice_exports_);
|
|
14125
|
+
;// CONCATENATED MODULE: ./components/notice/index.js
|
|
14126
|
+
|
|
14127
|
+
|
|
13944
14128
|
;// 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
14129
|
|
|
13946
14130
|
|
|
@@ -13951,6 +14135,7 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
13951
14135
|
|
|
13952
14136
|
|
|
13953
14137
|
|
|
14138
|
+
|
|
13954
14139
|
/**
|
|
13955
14140
|
* Modals focus the user’s attention exclusively on one task or piece of information
|
|
13956
14141
|
* via a window that sits on top of the page content.
|
|
@@ -14083,6 +14268,20 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
14083
14268
|
default: ''
|
|
14084
14269
|
},
|
|
14085
14270
|
|
|
14271
|
+
/**
|
|
14272
|
+
* Sets the color of the banner.
|
|
14273
|
+
* @values base, error, info, success, warning
|
|
14274
|
+
*/
|
|
14275
|
+
bannerKind: {
|
|
14276
|
+
type: String,
|
|
14277
|
+
default: 'warning',
|
|
14278
|
+
|
|
14279
|
+
validate(kind) {
|
|
14280
|
+
return NOTICE_KINDS.includes(kind);
|
|
14281
|
+
}
|
|
14282
|
+
|
|
14283
|
+
},
|
|
14284
|
+
|
|
14086
14285
|
/**
|
|
14087
14286
|
* Additional class name for the banner element within the modal.
|
|
14088
14287
|
* Can accept String, Object, and Array, i.e. has the
|
|
@@ -14138,7 +14337,9 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
14138
14337
|
data() {
|
|
14139
14338
|
return {
|
|
14140
14339
|
MODAL_KIND_MODIFIERS: MODAL_KIND_MODIFIERS,
|
|
14141
|
-
MODAL_SIZE_MODIFIERS: MODAL_SIZE_MODIFIERS
|
|
14340
|
+
MODAL_SIZE_MODIFIERS: MODAL_SIZE_MODIFIERS,
|
|
14341
|
+
MODAL_BANNER_KINDS: MODAL_BANNER_KINDS,
|
|
14342
|
+
EVENT_KEYNAMES: EVENT_KEYNAMES
|
|
14142
14343
|
};
|
|
14143
14344
|
},
|
|
14144
14345
|
|
|
@@ -14175,6 +14376,10 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
14175
14376
|
|
|
14176
14377
|
hasFooterSlot() {
|
|
14177
14378
|
return !!this.$slots.footer;
|
|
14379
|
+
},
|
|
14380
|
+
|
|
14381
|
+
bannerKindClass() {
|
|
14382
|
+
return MODAL_BANNER_KINDS[this.bannerKind];
|
|
14178
14383
|
}
|
|
14179
14384
|
|
|
14180
14385
|
},
|
|
@@ -14238,7 +14443,7 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
14238
14443
|
|
|
14239
14444
|
|
|
14240
14445
|
;
|
|
14241
|
-
const modal_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(modalvue_type_script_lang_js, [['render',
|
|
14446
|
+
const modal_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(modalvue_type_script_lang_js, [['render',modalvue_type_template_id_68e78e9e_render]])
|
|
14242
14447
|
|
|
14243
14448
|
/* harmony default export */ const modal_modal = (modal_exports_);
|
|
14244
14449
|
;// CONCATENATED MODULE: ./components/modal/index.js
|
|
@@ -14499,192 +14704,6 @@ const list_item_group_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(li
|
|
|
14499
14704
|
;// CONCATENATED MODULE: ./components/list_item_group/index.js
|
|
14500
14705
|
|
|
14501
14706
|
|
|
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
14707
|
;// 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
14708
|
|
|
14690
14709
|
const paginationvue_type_template_id_57c28750_hoisted_1 = ["aria-label"];
|
|
@@ -18039,17 +18058,17 @@ const root_layout_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(root_l
|
|
|
18039
18058
|
;// CONCATENATED MODULE: ./components/root_layout/index.js
|
|
18040
18059
|
|
|
18041
18060
|
|
|
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=
|
|
18061
|
+
;// 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
18062
|
|
|
18044
|
-
const
|
|
18045
|
-
const
|
|
18063
|
+
const combobox_with_popovervue_type_template_id_27b9863b_hoisted_1 = ["id"];
|
|
18064
|
+
const combobox_with_popovervue_type_template_id_27b9863b_hoisted_2 = {
|
|
18046
18065
|
ref: "header"
|
|
18047
18066
|
};
|
|
18048
|
-
const
|
|
18049
|
-
const
|
|
18067
|
+
const combobox_with_popovervue_type_template_id_27b9863b_hoisted_3 = ["onMouseleave", "onFocusout"];
|
|
18068
|
+
const combobox_with_popovervue_type_template_id_27b9863b_hoisted_4 = {
|
|
18050
18069
|
ref: "footer"
|
|
18051
18070
|
};
|
|
18052
|
-
function
|
|
18071
|
+
function combobox_with_popovervue_type_template_id_27b9863b_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18053
18072
|
const _component_combobox_loading_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-loading-list");
|
|
18054
18073
|
|
|
18055
18074
|
const _component_combobox_empty_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-empty-list");
|
|
@@ -18072,6 +18091,7 @@ function combobox_with_popovervue_type_template_id_6b1072ea_render(_ctx, _cache,
|
|
|
18072
18091
|
"on-end-of-list": $props.onEndOfList,
|
|
18073
18092
|
"list-rendered-outside": true,
|
|
18074
18093
|
"list-id": $props.listId,
|
|
18094
|
+
"append-to": $props.appendTo,
|
|
18075
18095
|
"data-qa": "dt-combobox"
|
|
18076
18096
|
}, $options.comboboxListeners), {
|
|
18077
18097
|
input: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(_ref => {
|
|
@@ -18088,7 +18108,7 @@ function combobox_with_popovervue_type_template_id_6b1072ea_render(_ctx, _cache,
|
|
|
18088
18108
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "input", {
|
|
18089
18109
|
inputProps: inputProps,
|
|
18090
18110
|
onInput: $options.handleDisplayList
|
|
18091
|
-
})], 40,
|
|
18111
|
+
})], 40, combobox_with_popovervue_type_template_id_27b9863b_hoisted_1)];
|
|
18092
18112
|
}),
|
|
18093
18113
|
list: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(_ref2 => {
|
|
18094
18114
|
let {
|
|
@@ -18133,22 +18153,22 @@ function combobox_with_popovervue_type_template_id_6b1072ea_render(_ctx, _cache,
|
|
|
18133
18153
|
}), null, 16, ["message"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "list", {
|
|
18134
18154
|
key: 2,
|
|
18135
18155
|
listProps: listProps
|
|
18136
|
-
})], 42,
|
|
18156
|
+
})], 42, combobox_with_popovervue_type_template_id_27b9863b_hoisted_3)]),
|
|
18137
18157
|
_: 2
|
|
18138
18158
|
}, [_ctx.$slots.header ? {
|
|
18139
18159
|
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",
|
|
18160
|
+
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
18161
|
key: "0"
|
|
18142
18162
|
} : undefined, _ctx.$slots.footer ? {
|
|
18143
18163
|
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",
|
|
18164
|
+
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
18165
|
key: "1"
|
|
18146
18166
|
} : undefined]), 1032, ["open", "max-height", "max-width", "offset", "sticky", "external-anchor", "content-width", "visually-hidden-close-label", "visually-hidden-close", "onOpened"])];
|
|
18147
18167
|
}),
|
|
18148
18168
|
_: 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"]);
|
|
18169
|
+
}, 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
18170
|
}
|
|
18151
|
-
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=
|
|
18171
|
+
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=27b9863b
|
|
18152
18172
|
|
|
18153
18173
|
;// 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
18174
|
|
|
@@ -18159,6 +18179,7 @@ function combobox_with_popovervue_type_template_id_6b1072ea_render(_ctx, _cache,
|
|
|
18159
18179
|
|
|
18160
18180
|
|
|
18161
18181
|
|
|
18182
|
+
|
|
18162
18183
|
/* harmony default export */ const combobox_with_popovervue_type_script_lang_js = ({
|
|
18163
18184
|
name: 'DtRecipeComboboxWithPopover',
|
|
18164
18185
|
components: {
|
|
@@ -18317,6 +18338,18 @@ function combobox_with_popovervue_type_template_id_6b1072ea_render(_ctx, _cache,
|
|
|
18317
18338
|
default: false
|
|
18318
18339
|
},
|
|
18319
18340
|
|
|
18341
|
+
/**
|
|
18342
|
+
* Sets the element to which the popover is going to append to.
|
|
18343
|
+
* @values 'parent', HTMLElement,
|
|
18344
|
+
*/
|
|
18345
|
+
appendTo: {
|
|
18346
|
+
type: [HTMLElement, String],
|
|
18347
|
+
default: () => document.body,
|
|
18348
|
+
validator: appendTo => {
|
|
18349
|
+
return POPOVER_APPEND_TO_VALUES.includes(appendTo) || appendTo instanceof HTMLElement;
|
|
18350
|
+
}
|
|
18351
|
+
},
|
|
18352
|
+
|
|
18320
18353
|
/**
|
|
18321
18354
|
* Displays the list when the combobox is focused, before the user has typed anything.
|
|
18322
18355
|
* When this is enabled the list will not close after selection.
|
|
@@ -18508,32 +18541,32 @@ function combobox_with_popovervue_type_template_id_6b1072ea_render(_ctx, _cache,
|
|
|
18508
18541
|
|
|
18509
18542
|
|
|
18510
18543
|
;
|
|
18511
|
-
const combobox_with_popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_with_popovervue_type_script_lang_js, [['render',
|
|
18544
|
+
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
18545
|
|
|
18513
18546
|
/* harmony default export */ const combobox_with_popover = (combobox_with_popover_exports_);
|
|
18514
18547
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/index.js
|
|
18515
18548
|
|
|
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=
|
|
18549
|
+
;// 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
18550
|
|
|
18518
|
-
const
|
|
18551
|
+
const combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_1 = {
|
|
18519
18552
|
ref: "inputSlotWrapper",
|
|
18520
18553
|
class: "d-ps-relative d-d-block"
|
|
18521
18554
|
};
|
|
18522
|
-
const
|
|
18555
|
+
const combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_2 = {
|
|
18523
18556
|
ref: "chipsWrapper",
|
|
18524
18557
|
class: "d-ps-absolute d-mx2"
|
|
18525
18558
|
};
|
|
18526
|
-
const
|
|
18559
|
+
const combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_3 = {
|
|
18527
18560
|
ref: "header"
|
|
18528
18561
|
};
|
|
18529
|
-
const
|
|
18562
|
+
const combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_4 = {
|
|
18530
18563
|
key: 1,
|
|
18531
18564
|
class: "d-ta-center d-py16"
|
|
18532
18565
|
};
|
|
18533
|
-
const
|
|
18566
|
+
const combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_5 = {
|
|
18534
18567
|
ref: "footer"
|
|
18535
18568
|
};
|
|
18536
|
-
function
|
|
18569
|
+
function combobox_multi_selectvue_type_template_id_e2856cc6_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18537
18570
|
const _component_dt_chip = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-chip");
|
|
18538
18571
|
|
|
18539
18572
|
const _component_dt_input = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-input");
|
|
@@ -18551,6 +18584,7 @@ function combobox_multi_selectvue_type_template_id_5e05b863_render(_ctx, _cache,
|
|
|
18551
18584
|
"has-suggestion-list": $props.hasSuggestionList,
|
|
18552
18585
|
"visually-hidden-close-label": _ctx.visuallyHiddenCloseLabel,
|
|
18553
18586
|
"visually-hidden-close": _ctx.visuallyHiddenClose,
|
|
18587
|
+
"append-to": $props.appendTo,
|
|
18554
18588
|
"content-width": "anchor",
|
|
18555
18589
|
onSelect: $options.onComboboxSelect
|
|
18556
18590
|
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createSlots)({
|
|
@@ -18558,7 +18592,7 @@ function combobox_multi_selectvue_type_template_id_5e05b863_render(_ctx, _cache,
|
|
|
18558
18592
|
let {
|
|
18559
18593
|
onInput
|
|
18560
18594
|
} = _ref;
|
|
18561
|
-
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("span",
|
|
18595
|
+
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
18596
|
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
18597
|
ref_for: true,
|
|
18564
18598
|
ref: "chips",
|
|
@@ -18600,19 +18634,19 @@ function combobox_multi_selectvue_type_template_id_5e05b863_render(_ctx, _cache,
|
|
|
18600
18634
|
onMousedown: _cache[1] || (_cache[1] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)(() => {}, ["prevent"]))
|
|
18601
18635
|
}, [!$props.loading ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "list", {
|
|
18602
18636
|
key: 0
|
|
18603
|
-
}) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div",
|
|
18637
|
+
}) : ((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
18638
|
_: 2
|
|
18605
18639
|
}, [_ctx.$slots.header ? {
|
|
18606
18640
|
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",
|
|
18641
|
+
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
18642
|
key: "0"
|
|
18609
18643
|
} : undefined, _ctx.$slots.footer ? {
|
|
18610
18644
|
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",
|
|
18645
|
+
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
18646
|
key: "1"
|
|
18613
|
-
} : undefined]), 1032, ["label", "show-list", "max-height", "popover-offset", "has-suggestion-list", "visually-hidden-close-label", "visually-hidden-close", "onSelect"]);
|
|
18647
|
+
} : undefined]), 1032, ["label", "show-list", "max-height", "popover-offset", "has-suggestion-list", "visually-hidden-close-label", "visually-hidden-close", "append-to", "onSelect"]);
|
|
18614
18648
|
}
|
|
18615
|
-
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue?vue&type=template&id=
|
|
18649
|
+
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue?vue&type=template&id=e2856cc6
|
|
18616
18650
|
|
|
18617
18651
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select_story_constants.js
|
|
18618
18652
|
// The item list for default story
|
|
@@ -18729,6 +18763,7 @@ const CHIP_BOTTOM_POSITION = {
|
|
|
18729
18763
|
|
|
18730
18764
|
|
|
18731
18765
|
|
|
18766
|
+
|
|
18732
18767
|
/* harmony default export */ const combobox_multi_selectvue_type_script_lang_js = ({
|
|
18733
18768
|
name: 'DtRecipeComboboxMultiSelect',
|
|
18734
18769
|
components: {
|
|
@@ -18783,6 +18818,18 @@ const CHIP_BOTTOM_POSITION = {
|
|
|
18783
18818
|
}
|
|
18784
18819
|
},
|
|
18785
18820
|
|
|
18821
|
+
/**
|
|
18822
|
+
* Sets the element to which the popover is going to append to.
|
|
18823
|
+
* @values 'parent', HTMLElement,
|
|
18824
|
+
*/
|
|
18825
|
+
appendTo: {
|
|
18826
|
+
type: [HTMLElement, String],
|
|
18827
|
+
default: () => document.body,
|
|
18828
|
+
validator: appendTo => {
|
|
18829
|
+
return POPOVER_APPEND_TO_VALUES.includes(appendTo) || appendTo instanceof HTMLElement;
|
|
18830
|
+
}
|
|
18831
|
+
},
|
|
18832
|
+
|
|
18786
18833
|
/**
|
|
18787
18834
|
* Show input validation message
|
|
18788
18835
|
*/
|
|
@@ -19204,7 +19251,7 @@ const CHIP_BOTTOM_POSITION = {
|
|
|
19204
19251
|
|
|
19205
19252
|
|
|
19206
19253
|
;
|
|
19207
|
-
const combobox_multi_select_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_multi_selectvue_type_script_lang_js, [['render',
|
|
19254
|
+
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
19255
|
|
|
19209
19256
|
/* harmony default export */ const combobox_multi_select = (combobox_multi_select_exports_);
|
|
19210
19257
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/index.js
|