@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
|
@@ -2330,20 +2330,20 @@ function notice_contentvue_type_template_id_45f8172a_render(_ctx, _cache, $props
|
|
|
2330
2330
|
const notice_content_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(notice_contentvue_type_script_lang_js, [['render',notice_contentvue_type_template_id_45f8172a_render]])
|
|
2331
2331
|
|
|
2332
2332
|
/* harmony default export */ const notice_content = (notice_content_exports_);
|
|
2333
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/notice/notice_action.vue?vue&type=template&id=
|
|
2333
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/notice/notice_action.vue?vue&type=template&id=b37ee780
|
|
2334
2334
|
|
|
2335
|
-
const
|
|
2335
|
+
const notice_actionvue_type_template_id_b37ee780_hoisted_1 = {
|
|
2336
2336
|
class: "d-notice__actions",
|
|
2337
2337
|
"data-qa": "notice-content-actions"
|
|
2338
2338
|
};
|
|
2339
|
-
function
|
|
2339
|
+
function notice_actionvue_type_template_id_b37ee780_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2340
2340
|
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
2341
2341
|
|
|
2342
2342
|
const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-button");
|
|
2343
2343
|
|
|
2344
2344
|
const _component_sr_only_close_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("sr-only-close-button");
|
|
2345
2345
|
|
|
2346
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div",
|
|
2346
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", notice_actionvue_type_template_id_b37ee780_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default"), !$props.hideClose ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_button, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
2347
2347
|
key: 0,
|
|
2348
2348
|
ref: "closeButton",
|
|
2349
2349
|
"data-qa": "dt-notice-action-close-button",
|
|
@@ -2365,7 +2365,7 @@ function notice_actionvue_type_template_id_51cd131a_render(_ctx, _cache, $props,
|
|
|
2365
2365
|
onClose: $options.close
|
|
2366
2366
|
}, null, 8, ["visually-hidden-close-label", "onClose"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]);
|
|
2367
2367
|
}
|
|
2368
|
-
;// CONCATENATED MODULE: ./components/notice/notice_action.vue?vue&type=template&id=
|
|
2368
|
+
;// CONCATENATED MODULE: ./components/notice/notice_action.vue?vue&type=template&id=b37ee780
|
|
2369
2369
|
|
|
2370
2370
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/button/button.vue?vue&type=template&id=6629834d
|
|
2371
2371
|
|
|
@@ -2902,17 +2902,6 @@ const sr_only_close_button_exports_ = /*#__PURE__*/(0,exportHelper/* default */.
|
|
|
2902
2902
|
* @event close
|
|
2903
2903
|
*/
|
|
2904
2904
|
'close'],
|
|
2905
|
-
watch: {
|
|
2906
|
-
$props: {
|
|
2907
|
-
immediate: true,
|
|
2908
|
-
deep: true,
|
|
2909
|
-
|
|
2910
|
-
handler() {
|
|
2911
|
-
this.validateProps();
|
|
2912
|
-
}
|
|
2913
|
-
|
|
2914
|
-
}
|
|
2915
|
-
},
|
|
2916
2905
|
|
|
2917
2906
|
created() {
|
|
2918
2907
|
if (!this.hideClose && !this.closeButtonProps.ariaLabel) {
|
|
@@ -2935,12 +2924,6 @@ const sr_only_close_button_exports_ = /*#__PURE__*/(0,exportHelper/* default */.
|
|
|
2935
2924
|
methods: {
|
|
2936
2925
|
close() {
|
|
2937
2926
|
this.$emit('close');
|
|
2938
|
-
},
|
|
2939
|
-
|
|
2940
|
-
validateProps() {
|
|
2941
|
-
if (this.hideClose && !this.visuallyHiddenClose) {
|
|
2942
|
-
console.error('If hideClose prop is true, visuallyHiddenClose and visuallyHiddenCloseLabel props ' + 'need to be set so the component always includes a close button');
|
|
2943
|
-
}
|
|
2944
2927
|
}
|
|
2945
2928
|
|
|
2946
2929
|
}
|
|
@@ -2953,7 +2936,7 @@ const sr_only_close_button_exports_ = /*#__PURE__*/(0,exportHelper/* default */.
|
|
|
2953
2936
|
|
|
2954
2937
|
|
|
2955
2938
|
;
|
|
2956
|
-
const notice_action_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(notice_actionvue_type_script_lang_js, [['render',
|
|
2939
|
+
const notice_action_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(notice_actionvue_type_script_lang_js, [['render',notice_actionvue_type_template_id_b37ee780_render]])
|
|
2957
2940
|
|
|
2958
2941
|
/* harmony default export */ const notice_action = (notice_action_exports_);
|
|
2959
2942
|
;// CONCATENATED MODULE: ./common/mixins/modal.js
|
|
@@ -6296,10 +6279,10 @@ const collapsible_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(collap
|
|
|
6296
6279
|
/* harmony default export */ const collapsible = (collapsible_exports_);
|
|
6297
6280
|
;// CONCATENATED MODULE: ./components/collapsible/index.js
|
|
6298
6281
|
|
|
6299
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/dropdown/dropdown.vue?vue&type=template&id=
|
|
6282
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/dropdown/dropdown.vue?vue&type=template&id=878a8588
|
|
6300
6283
|
|
|
6301
|
-
const
|
|
6302
|
-
function
|
|
6284
|
+
const dropdownvue_type_template_id_878a8588_hoisted_1 = ["id"];
|
|
6285
|
+
function dropdownvue_type_template_id_878a8588_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6303
6286
|
const _component_sr_only_close_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("sr-only-close-button");
|
|
6304
6287
|
|
|
6305
6288
|
const _component_dt_popover = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-popover");
|
|
@@ -6316,7 +6299,7 @@ function dropdownvue_type_template_id_d36ba644_render(_ctx, _cache, $props, $set
|
|
|
6316
6299
|
modal: $props.modal,
|
|
6317
6300
|
"max-height": $props.maxHeight,
|
|
6318
6301
|
"max-width": $props.maxWidth,
|
|
6319
|
-
"open-with-arrow-keys":
|
|
6302
|
+
"open-with-arrow-keys": $options.shouldOpenWithArrowKeys,
|
|
6320
6303
|
"open-on-context": $props.openOnContext
|
|
6321
6304
|
}, _ctx.$attrs, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toHandlers)($options.dropdownListeners)), {
|
|
6322
6305
|
anchor: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(_ref => {
|
|
@@ -6349,18 +6332,18 @@ function dropdownvue_type_template_id_d36ba644_render(_ctx, _cache, $props, $set
|
|
|
6349
6332
|
"visually-hidden-close-label": _ctx.visuallyHiddenCloseLabel,
|
|
6350
6333
|
tabindex: $options.isArrowKeyNav ? -1 : 0,
|
|
6351
6334
|
onClose: close
|
|
6352
|
-
}, null, 8, ["visually-hidden-close-label", "tabindex", "onClose"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 42,
|
|
6335
|
+
}, null, 8, ["visually-hidden-close-label", "tabindex", "onClose"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 42, dropdownvue_type_template_id_878a8588_hoisted_1)];
|
|
6353
6336
|
}),
|
|
6354
6337
|
_: 3
|
|
6355
|
-
}, 16, ["content-width", "open", "placement", "initial-focus-element", "fallback-placements", "modal", "max-height", "max-width", "open-on-context"]);
|
|
6338
|
+
}, 16, ["content-width", "open", "placement", "initial-focus-element", "fallback-placements", "modal", "max-height", "max-width", "open-with-arrow-keys", "open-on-context"]);
|
|
6356
6339
|
}
|
|
6357
|
-
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=template&id=
|
|
6340
|
+
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=template&id=878a8588
|
|
6358
6341
|
|
|
6359
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/popover/popover.vue?vue&type=template&id=
|
|
6342
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/popover/popover.vue?vue&type=template&id=7070dfc8
|
|
6360
6343
|
|
|
6361
|
-
const
|
|
6362
|
-
const
|
|
6363
|
-
function
|
|
6344
|
+
const popovervue_type_template_id_7070dfc8_hoisted_1 = ["aria-hidden"];
|
|
6345
|
+
const popovervue_type_template_id_7070dfc8_hoisted_2 = ["id", "tabindex"];
|
|
6346
|
+
function popovervue_type_template_id_7070dfc8_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6364
6347
|
const _component_popover_header_footer = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("popover-header-footer");
|
|
6365
6348
|
|
|
6366
6349
|
const _component_sr_only_close_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("sr-only-close-button");
|
|
@@ -6374,7 +6357,7 @@ function popovervue_type_template_id_21a6161e_render(_ctx, _cache, $props, $setu
|
|
|
6374
6357
|
class: "d-modal--transparent",
|
|
6375
6358
|
"aria-hidden": $props.modal && $data.isOpen ? 'false' : 'true',
|
|
6376
6359
|
onClick: _cache[0] || (_cache[0] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)(() => {}, ["prevent", "stop"]))
|
|
6377
|
-
}, null, 8,
|
|
6360
|
+
}, null, 8, popovervue_type_template_id_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), {
|
|
6378
6361
|
ref: "popover",
|
|
6379
6362
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-popover', {
|
|
6380
6363
|
'd-popover__anchor--opened': $data.isOpen
|
|
@@ -6406,7 +6389,7 @@ function popovervue_type_template_id_21a6161e_render(_ctx, _cache, $props, $setu
|
|
|
6406
6389
|
'aria-controls': $props.id,
|
|
6407
6390
|
'aria-haspopup': $props.role
|
|
6408
6391
|
}
|
|
6409
|
-
})], 40,
|
|
6392
|
+
})], 40, popovervue_type_template_id_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)({
|
|
6410
6393
|
id: $props.id,
|
|
6411
6394
|
ref: "content",
|
|
6412
6395
|
role: $props.role,
|
|
@@ -6417,7 +6400,7 @@ function popovervue_type_template_id_21a6161e_render(_ctx, _cache, $props, $setu
|
|
|
6417
6400
|
"aria-modal": `${!$props.modal}`,
|
|
6418
6401
|
transition: $props.transition,
|
|
6419
6402
|
show: $data.isOpen,
|
|
6420
|
-
appear: $
|
|
6403
|
+
appear: $data.toAppear,
|
|
6421
6404
|
class: ['d-popover__dialog', {
|
|
6422
6405
|
'd-popover__dialog--modal': $props.modal
|
|
6423
6406
|
}, $props.dialogClass],
|
|
@@ -6469,7 +6452,7 @@ function popovervue_type_template_id_21a6161e_render(_ctx, _cache, $props, $setu
|
|
|
6469
6452
|
_: 3
|
|
6470
6453
|
}, 8, ["class"]))]);
|
|
6471
6454
|
}
|
|
6472
|
-
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=template&id=
|
|
6455
|
+
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=template&id=7070dfc8
|
|
6473
6456
|
|
|
6474
6457
|
;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getWindow.js
|
|
6475
6458
|
function getWindow(node) {
|
|
@@ -11287,7 +11270,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11287
11270
|
*/
|
|
11288
11271
|
contentAppear: {
|
|
11289
11272
|
type: Boolean,
|
|
11290
|
-
default:
|
|
11273
|
+
default: null
|
|
11291
11274
|
},
|
|
11292
11275
|
|
|
11293
11276
|
/**
|
|
@@ -11518,6 +11501,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11518
11501
|
POPOVER_PADDING_CLASSES: POPOVER_PADDING_CLASSES,
|
|
11519
11502
|
POPOVER_HEADER_FOOTER_PADDING_CLASSES: POPOVER_HEADER_FOOTER_PADDING_CLASSES,
|
|
11520
11503
|
isOpen: false,
|
|
11504
|
+
toAppear: false,
|
|
11521
11505
|
anchorEl: null,
|
|
11522
11506
|
popoverContentEl: null
|
|
11523
11507
|
};
|
|
@@ -11609,9 +11593,20 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11609
11593
|
if (open !== null) {
|
|
11610
11594
|
this.isOpen = open;
|
|
11611
11595
|
}
|
|
11596
|
+
|
|
11597
|
+
if (open === true) {
|
|
11598
|
+
this.toAppear = true;
|
|
11599
|
+
}
|
|
11612
11600
|
},
|
|
11613
11601
|
immediate: true
|
|
11614
11602
|
},
|
|
11603
|
+
contentAppear: {
|
|
11604
|
+
handler: function (contentAppear) {
|
|
11605
|
+
if (contentAppear !== null) {
|
|
11606
|
+
this.toAppear = contentAppear;
|
|
11607
|
+
}
|
|
11608
|
+
}
|
|
11609
|
+
},
|
|
11615
11610
|
|
|
11616
11611
|
isOpen(isOpen, isPrev) {
|
|
11617
11612
|
if (isOpen) {
|
|
@@ -11625,7 +11620,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11625
11620
|
},
|
|
11626
11621
|
|
|
11627
11622
|
mounted() {
|
|
11628
|
-
const externalAnchorEl =
|
|
11623
|
+
const externalAnchorEl = this.externalAnchor ? this.$el.getRootNode().querySelector(`#${this.externalAnchor}`) : null;
|
|
11629
11624
|
this.anchorEl = externalAnchorEl !== null && externalAnchorEl !== void 0 ? externalAnchorEl : this.$refs.anchor.children[0];
|
|
11630
11625
|
this.popoverContentEl = this.$refs.content.$el;
|
|
11631
11626
|
|
|
@@ -11662,7 +11657,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11662
11657
|
|
|
11663
11658
|
calculateAnchorZindex() {
|
|
11664
11659
|
// if a modal is currently active render at modal-element z-index, otherwise at popover z-index
|
|
11665
|
-
if (
|
|
11660
|
+
if (this.$el.getRootNode().querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')) {
|
|
11666
11661
|
return 650;
|
|
11667
11662
|
} else {
|
|
11668
11663
|
return 300;
|
|
@@ -11756,7 +11751,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11756
11751
|
* Prevents scrolling only when the popover is set to modal
|
|
11757
11752
|
**/
|
|
11758
11753
|
preventScrolling(e) {
|
|
11759
|
-
if (!this.modal
|
|
11754
|
+
if (!this.modal) return;
|
|
11760
11755
|
e.preventDefault();
|
|
11761
11756
|
},
|
|
11762
11757
|
|
|
@@ -11911,10 +11906,10 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11911
11906
|
});
|
|
11912
11907
|
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=script&lang=js
|
|
11913
11908
|
|
|
11914
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/popover/popover.vue?vue&type=style&index=0&id=
|
|
11909
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/popover/popover.vue?vue&type=style&index=0&id=7070dfc8&lang=less
|
|
11915
11910
|
// extracted by mini-css-extract-plugin
|
|
11916
11911
|
|
|
11917
|
-
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=style&index=0&id=
|
|
11912
|
+
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=style&index=0&id=7070dfc8&lang=less
|
|
11918
11913
|
|
|
11919
11914
|
;// CONCATENATED MODULE: ./components/popover/popover.vue
|
|
11920
11915
|
|
|
@@ -11924,7 +11919,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11924
11919
|
;
|
|
11925
11920
|
|
|
11926
11921
|
|
|
11927
|
-
const popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(popovervue_type_script_lang_js, [['render',
|
|
11922
|
+
const popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(popovervue_type_script_lang_js, [['render',popovervue_type_template_id_7070dfc8_render]])
|
|
11928
11923
|
|
|
11929
11924
|
/* harmony default export */ const popover = (popover_exports_);
|
|
11930
11925
|
;// CONCATENATED MODULE: ./components/popover/index.js
|
|
@@ -12152,14 +12147,14 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
12152
12147
|
switch (eventCode) {
|
|
12153
12148
|
case EVENT_KEYNAMES.up:
|
|
12154
12149
|
case EVENT_KEYNAMES.arrowup:
|
|
12155
|
-
this.
|
|
12150
|
+
this.onUpKeyPress(event);
|
|
12156
12151
|
event.stopPropagation();
|
|
12157
12152
|
event.preventDefault();
|
|
12158
12153
|
break;
|
|
12159
12154
|
|
|
12160
12155
|
case EVENT_KEYNAMES.down:
|
|
12161
12156
|
case EVENT_KEYNAMES.arrowdown:
|
|
12162
|
-
this.
|
|
12157
|
+
this.onDownKeyPress(event);
|
|
12163
12158
|
event.stopPropagation();
|
|
12164
12159
|
event.preventDefault();
|
|
12165
12160
|
break;
|
|
@@ -12174,19 +12169,19 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
12174
12169
|
break;
|
|
12175
12170
|
|
|
12176
12171
|
case EVENT_KEYNAMES.home:
|
|
12177
|
-
this.
|
|
12172
|
+
this.onHomeKeyPress(event);
|
|
12178
12173
|
event.stopPropagation();
|
|
12179
12174
|
event.preventDefault();
|
|
12180
12175
|
break;
|
|
12181
12176
|
|
|
12182
12177
|
case EVENT_KEYNAMES.end:
|
|
12183
|
-
this.
|
|
12178
|
+
this.onEndKeyPress(event);
|
|
12184
12179
|
event.stopPropagation();
|
|
12185
12180
|
event.preventDefault();
|
|
12186
12181
|
break;
|
|
12187
12182
|
|
|
12188
12183
|
default:
|
|
12189
|
-
this.
|
|
12184
|
+
this.onKeyPress(event);
|
|
12190
12185
|
break;
|
|
12191
12186
|
}
|
|
12192
12187
|
|
|
@@ -12215,6 +12210,10 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
12215
12210
|
return ['d-ps-relative', 'd-stack2', 'd-m4', 'd-px0', DROPDOWN_PADDING_CLASSES[this.padding], this.listClass, {
|
|
12216
12211
|
'd-context-menu-list': this.openOnContext
|
|
12217
12212
|
}];
|
|
12213
|
+
},
|
|
12214
|
+
|
|
12215
|
+
shouldOpenWithArrowKeys() {
|
|
12216
|
+
return !this.openOnContext;
|
|
12218
12217
|
}
|
|
12219
12218
|
|
|
12220
12219
|
},
|
|
@@ -12318,24 +12317,16 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
12318
12317
|
e.stopPropagation();
|
|
12319
12318
|
e.preventDefault();
|
|
12320
12319
|
return this.onNavigationKey(e.key);
|
|
12321
|
-
},
|
|
12322
|
-
|
|
12323
|
-
onKeyValidation(e, eventHandler) {
|
|
12324
|
-
if (this.open !== null && !this.openOnContext) {
|
|
12325
|
-
return;
|
|
12326
|
-
}
|
|
12327
|
-
|
|
12328
|
-
this[eventHandler](e);
|
|
12329
12320
|
}
|
|
12330
12321
|
|
|
12331
12322
|
}
|
|
12332
12323
|
});
|
|
12333
12324
|
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=script&lang=js
|
|
12334
12325
|
|
|
12335
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/dropdown/dropdown.vue?vue&type=style&index=0&id=
|
|
12326
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/dropdown/dropdown.vue?vue&type=style&index=0&id=878a8588&lang=less
|
|
12336
12327
|
// extracted by mini-css-extract-plugin
|
|
12337
12328
|
|
|
12338
|
-
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=style&index=0&id=
|
|
12329
|
+
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=style&index=0&id=878a8588&lang=less
|
|
12339
12330
|
|
|
12340
12331
|
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue
|
|
12341
12332
|
|
|
@@ -12345,7 +12336,7 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
12345
12336
|
;
|
|
12346
12337
|
|
|
12347
12338
|
|
|
12348
|
-
const dropdown_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(dropdownvue_type_script_lang_js, [['render',
|
|
12339
|
+
const dropdown_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(dropdownvue_type_script_lang_js, [['render',dropdownvue_type_template_id_878a8588_render]])
|
|
12349
12340
|
|
|
12350
12341
|
/* harmony default export */ const dropdown = (dropdown_exports_);
|
|
12351
12342
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/dropdown/dropdown_list.vue?vue&type=template&id=50f7e3e3
|
|
@@ -13834,16 +13825,16 @@ const input_group_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(input_
|
|
|
13834
13825
|
/* harmony default export */ const input_group_input_group = (input_group_exports_);
|
|
13835
13826
|
;// CONCATENATED MODULE: ./components/input_group/index.js
|
|
13836
13827
|
|
|
13837
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/modal/modal.vue?vue&type=template&id=
|
|
13828
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/modal/modal.vue?vue&type=template&id=68e78e9e
|
|
13838
13829
|
|
|
13839
|
-
const
|
|
13840
|
-
const
|
|
13841
|
-
const
|
|
13842
|
-
const
|
|
13830
|
+
const modalvue_type_template_id_68e78e9e_hoisted_1 = ["aria-describedby", "aria-labelledby"];
|
|
13831
|
+
const modalvue_type_template_id_68e78e9e_hoisted_2 = ["id"];
|
|
13832
|
+
const modalvue_type_template_id_68e78e9e_hoisted_3 = ["id"];
|
|
13833
|
+
const modalvue_type_template_id_68e78e9e_hoisted_4 = {
|
|
13843
13834
|
key: 4,
|
|
13844
13835
|
class: "d-modal__footer"
|
|
13845
13836
|
};
|
|
13846
|
-
function
|
|
13837
|
+
function modalvue_type_template_id_68e78e9e_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13847
13838
|
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
13848
13839
|
|
|
13849
13840
|
const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-button");
|
|
@@ -13862,7 +13853,7 @@ function modalvue_type_template_id_2aa05149_render(_ctx, _cache, $props, $setup,
|
|
|
13862
13853
|
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [$props.show && (_ctx.$slots.banner || $props.bannerTitle) ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
13863
13854
|
key: 0,
|
|
13864
13855
|
"data-qa": "dt-modal-banner",
|
|
13865
|
-
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-modal__banner', $props.bannerClass])
|
|
13856
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-modal__banner', $props.bannerClass, $options.bannerKindClass])
|
|
13866
13857
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "banner", {}, () => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.bannerTitle), 1)])], 2)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.Transition, {
|
|
13867
13858
|
appear: "",
|
|
13868
13859
|
name: "d-modal__dialog"
|
|
@@ -13880,12 +13871,12 @@ function modalvue_type_template_id_2aa05149_render(_ctx, _cache, $props, $setup,
|
|
|
13880
13871
|
id: $props.labelledById,
|
|
13881
13872
|
class: "d-modal__header",
|
|
13882
13873
|
"data-qa": "dt-modal-title"
|
|
13883
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "header")], 8,
|
|
13874
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "header")], 8, modalvue_type_template_id_68e78e9e_hoisted_2)) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("h2", {
|
|
13884
13875
|
key: 1,
|
|
13885
13876
|
id: $props.labelledById,
|
|
13886
13877
|
class: "d-modal__header",
|
|
13887
13878
|
"data-qa": "dt-modal-title"
|
|
13888
|
-
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.title), 9,
|
|
13879
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.title), 9, modalvue_type_template_id_68e78e9e_hoisted_3)), _ctx.$slots.default ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
13889
13880
|
key: 2,
|
|
13890
13881
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-modal__content', $props.contentClass]),
|
|
13891
13882
|
"data-qa": "dt-modal-copy"
|
|
@@ -13893,7 +13884,7 @@ function modalvue_type_template_id_2aa05149_render(_ctx, _cache, $props, $setup,
|
|
|
13893
13884
|
key: 3,
|
|
13894
13885
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-modal__content', $props.contentClass]),
|
|
13895
13886
|
"data-qa": "dt-modal-copy"
|
|
13896
|
-
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.copy), 3)), $options.hasFooterSlot ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("footer",
|
|
13887
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.copy), 3)), $options.hasFooterSlot ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("footer", modalvue_type_template_id_68e78e9e_hoisted_4, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "footer")])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), !$props.hideClose ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_button, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
13897
13888
|
key: 5,
|
|
13898
13889
|
class: "d-modal__close",
|
|
13899
13890
|
circle: "",
|
|
@@ -13912,13 +13903,13 @@ function modalvue_type_template_id_2aa05149_render(_ctx, _cache, $props, $setup,
|
|
|
13912
13903
|
key: 6,
|
|
13913
13904
|
"visually-hidden-close-label": _ctx.visuallyHiddenCloseLabel,
|
|
13914
13905
|
onClose: $options.close
|
|
13915
|
-
}, null, 8, ["visually-hidden-close-label", "onClose"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 10,
|
|
13906
|
+
}, null, 8, ["visually-hidden-close-label", "onClose"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 10, modalvue_type_template_id_68e78e9e_hoisted_1), [[external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.vShow, $props.show]])]),
|
|
13916
13907
|
_: 3
|
|
13917
13908
|
})]),
|
|
13918
13909
|
_: 3
|
|
13919
13910
|
}, 16, ["show", "class", "aria-hidden"]);
|
|
13920
13911
|
}
|
|
13921
|
-
;// CONCATENATED MODULE: ./components/modal/modal.vue?vue&type=template&id=
|
|
13912
|
+
;// CONCATENATED MODULE: ./components/modal/modal.vue?vue&type=template&id=68e78e9e
|
|
13922
13913
|
|
|
13923
13914
|
;// CONCATENATED MODULE: ./components/modal/modal_constants.js
|
|
13924
13915
|
// Modal style modifiers
|
|
@@ -13931,6 +13922,199 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
13931
13922
|
default: '',
|
|
13932
13923
|
full: 'd-modal--full'
|
|
13933
13924
|
};
|
|
13925
|
+
const MODAL_BANNER_KINDS = {
|
|
13926
|
+
error: 'd-modal__banner--critical',
|
|
13927
|
+
info: 'd-modal__banner--info',
|
|
13928
|
+
success: 'd-modal__banner--success',
|
|
13929
|
+
warning: 'd-modal__banner--warning',
|
|
13930
|
+
base: 'd-modal__banner--general'
|
|
13931
|
+
};
|
|
13932
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/notice/notice.vue?vue&type=template&id=28b8ab50
|
|
13933
|
+
|
|
13934
|
+
function noticevue_type_template_id_28b8ab50_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13935
|
+
const _component_dt_notice_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-notice-icon");
|
|
13936
|
+
|
|
13937
|
+
const _component_dt_notice_content = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-notice-content");
|
|
13938
|
+
|
|
13939
|
+
const _component_dt_notice_action = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-notice-action");
|
|
13940
|
+
|
|
13941
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("aside", {
|
|
13942
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.noticeClass),
|
|
13943
|
+
"data-qa": "notice"
|
|
13944
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_notice_icon, {
|
|
13945
|
+
kind: $props.kind
|
|
13946
|
+
}, {
|
|
13947
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "icon")]),
|
|
13948
|
+
_: 3
|
|
13949
|
+
}, 8, ["kind"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_notice_content, {
|
|
13950
|
+
"title-id": $props.titleId,
|
|
13951
|
+
"content-id": $props.contentId,
|
|
13952
|
+
title: $props.title,
|
|
13953
|
+
role: $props.role
|
|
13954
|
+
}, {
|
|
13955
|
+
titleOverride: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "titleOverride")]),
|
|
13956
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")]),
|
|
13957
|
+
_: 3
|
|
13958
|
+
}, 8, ["title-id", "content-id", "title", "role"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_notice_action, {
|
|
13959
|
+
"hide-close": $props.hideClose,
|
|
13960
|
+
"close-button-props": $props.closeButtonProps,
|
|
13961
|
+
"visually-hidden-close": _ctx.visuallyHiddenClose,
|
|
13962
|
+
"visually-hidden-close-label": _ctx.visuallyHiddenCloseLabel,
|
|
13963
|
+
onClose: _cache[0] || (_cache[0] = $event => _ctx.$emit('close'))
|
|
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, "action")]),
|
|
13966
|
+
_: 3
|
|
13967
|
+
}, 8, ["hide-close", "close-button-props", "visually-hidden-close", "visually-hidden-close-label"])], 2);
|
|
13968
|
+
}
|
|
13969
|
+
;// CONCATENATED MODULE: ./components/notice/notice.vue?vue&type=template&id=28b8ab50
|
|
13970
|
+
|
|
13971
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/notice/notice.vue?vue&type=script&lang=js
|
|
13972
|
+
|
|
13973
|
+
|
|
13974
|
+
|
|
13975
|
+
|
|
13976
|
+
|
|
13977
|
+
/**
|
|
13978
|
+
* A notice is an informational and assistive message that appears inline with content.
|
|
13979
|
+
* @see https://dialpad.design/components/notice.html
|
|
13980
|
+
*/
|
|
13981
|
+
|
|
13982
|
+
/* harmony default export */ const noticevue_type_script_lang_js = ({
|
|
13983
|
+
name: 'DtNotice',
|
|
13984
|
+
components: {
|
|
13985
|
+
DtNoticeIcon: notice_icon,
|
|
13986
|
+
DtNoticeContent: notice_content,
|
|
13987
|
+
DtNoticeAction: notice_action
|
|
13988
|
+
},
|
|
13989
|
+
mixins: [sr_only_close_button],
|
|
13990
|
+
props: {
|
|
13991
|
+
/**
|
|
13992
|
+
* Sets an ID on the title element of the component. Useful for aria-describedby
|
|
13993
|
+
* or aria-labelledby or any other reason you may need an id to refer to the title.
|
|
13994
|
+
*/
|
|
13995
|
+
titleId: {
|
|
13996
|
+
type: String,
|
|
13997
|
+
default: undefined
|
|
13998
|
+
},
|
|
13999
|
+
|
|
14000
|
+
/**
|
|
14001
|
+
* Sets an ID on the content element of the component. Useful for aria-describedby
|
|
14002
|
+
* or aria-labelledby or any other reason you may need an id to refer to the content.
|
|
14003
|
+
*/
|
|
14004
|
+
contentId: {
|
|
14005
|
+
type: String,
|
|
14006
|
+
default: undefined
|
|
14007
|
+
},
|
|
14008
|
+
|
|
14009
|
+
/**
|
|
14010
|
+
* Title header of the notice. This can be left blank to remove the title from the notice entirely.
|
|
14011
|
+
*/
|
|
14012
|
+
title: {
|
|
14013
|
+
type: String,
|
|
14014
|
+
default: ''
|
|
14015
|
+
},
|
|
14016
|
+
|
|
14017
|
+
/**
|
|
14018
|
+
* Provides a role for the notice. 'status' is used to communicate a message. 'alert' is used to communicate an
|
|
14019
|
+
* important message that does not contain any interactive elements. 'alertdialog' is used to communicate an
|
|
14020
|
+
* important message that does contain interactive elements.
|
|
14021
|
+
* @values alert, alertdialog, status
|
|
14022
|
+
*/
|
|
14023
|
+
role: {
|
|
14024
|
+
type: String,
|
|
14025
|
+
default: 'status',
|
|
14026
|
+
|
|
14027
|
+
validate(role) {
|
|
14028
|
+
return NOTICE_ROLES.includes(role);
|
|
14029
|
+
}
|
|
14030
|
+
|
|
14031
|
+
},
|
|
14032
|
+
|
|
14033
|
+
/**
|
|
14034
|
+
* Used in scenarios where the message needs to visually dominate the screen.
|
|
14035
|
+
* This will also change the aria role from status to alert.
|
|
14036
|
+
* @values true, false
|
|
14037
|
+
*/
|
|
14038
|
+
important: {
|
|
14039
|
+
type: Boolean,
|
|
14040
|
+
default: false
|
|
14041
|
+
},
|
|
14042
|
+
|
|
14043
|
+
/**
|
|
14044
|
+
* Severity level of the notice, sets the icon and background
|
|
14045
|
+
* @values base, error, info, success, warning
|
|
14046
|
+
*/
|
|
14047
|
+
kind: {
|
|
14048
|
+
type: String,
|
|
14049
|
+
default: 'base',
|
|
14050
|
+
|
|
14051
|
+
validate(kind) {
|
|
14052
|
+
return NOTICE_KINDS.includes(kind);
|
|
14053
|
+
}
|
|
14054
|
+
|
|
14055
|
+
},
|
|
14056
|
+
|
|
14057
|
+
/**
|
|
14058
|
+
* Props for the notice close button.
|
|
14059
|
+
*/
|
|
14060
|
+
closeButtonProps: {
|
|
14061
|
+
type: Object,
|
|
14062
|
+
default: () => ({})
|
|
14063
|
+
},
|
|
14064
|
+
|
|
14065
|
+
/**
|
|
14066
|
+
* Hides the close button from the notice
|
|
14067
|
+
* @values true, false
|
|
14068
|
+
*/
|
|
14069
|
+
hideClose: {
|
|
14070
|
+
type: Boolean,
|
|
14071
|
+
default: false
|
|
14072
|
+
}
|
|
14073
|
+
},
|
|
14074
|
+
emits: [
|
|
14075
|
+
/**
|
|
14076
|
+
* Close button click event
|
|
14077
|
+
*
|
|
14078
|
+
* @event close
|
|
14079
|
+
*/
|
|
14080
|
+
'close',
|
|
14081
|
+
/**
|
|
14082
|
+
* Native button click event
|
|
14083
|
+
*
|
|
14084
|
+
* @event click
|
|
14085
|
+
* @type {PointerEvent | KeyboardEvent}
|
|
14086
|
+
*/
|
|
14087
|
+
'click'],
|
|
14088
|
+
computed: {
|
|
14089
|
+
noticeClass() {
|
|
14090
|
+
const noticeKinds = {
|
|
14091
|
+
error: 'd-notice--error',
|
|
14092
|
+
info: 'd-notice--info',
|
|
14093
|
+
success: 'd-notice--success',
|
|
14094
|
+
warning: 'd-notice--warning',
|
|
14095
|
+
base: 'd-notice--base'
|
|
14096
|
+
};
|
|
14097
|
+
return ['d-notice', noticeKinds[this.kind], {
|
|
14098
|
+
'd-notice--important': this.important
|
|
14099
|
+
}];
|
|
14100
|
+
}
|
|
14101
|
+
|
|
14102
|
+
}
|
|
14103
|
+
});
|
|
14104
|
+
;// CONCATENATED MODULE: ./components/notice/notice.vue?vue&type=script&lang=js
|
|
14105
|
+
|
|
14106
|
+
;// CONCATENATED MODULE: ./components/notice/notice.vue
|
|
14107
|
+
|
|
14108
|
+
|
|
14109
|
+
|
|
14110
|
+
|
|
14111
|
+
;
|
|
14112
|
+
const notice_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(noticevue_type_script_lang_js, [['render',noticevue_type_template_id_28b8ab50_render]])
|
|
14113
|
+
|
|
14114
|
+
/* harmony default export */ const notice = (notice_exports_);
|
|
14115
|
+
;// CONCATENATED MODULE: ./components/notice/index.js
|
|
14116
|
+
|
|
14117
|
+
|
|
13934
14118
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/modal/modal.vue?vue&type=script&lang=js
|
|
13935
14119
|
|
|
13936
14120
|
|
|
@@ -13941,6 +14125,7 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
13941
14125
|
|
|
13942
14126
|
|
|
13943
14127
|
|
|
14128
|
+
|
|
13944
14129
|
/**
|
|
13945
14130
|
* Modals focus the user’s attention exclusively on one task or piece of information
|
|
13946
14131
|
* via a window that sits on top of the page content.
|
|
@@ -14073,6 +14258,20 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
14073
14258
|
default: ''
|
|
14074
14259
|
},
|
|
14075
14260
|
|
|
14261
|
+
/**
|
|
14262
|
+
* Sets the color of the banner.
|
|
14263
|
+
* @values base, error, info, success, warning
|
|
14264
|
+
*/
|
|
14265
|
+
bannerKind: {
|
|
14266
|
+
type: String,
|
|
14267
|
+
default: 'warning',
|
|
14268
|
+
|
|
14269
|
+
validate(kind) {
|
|
14270
|
+
return NOTICE_KINDS.includes(kind);
|
|
14271
|
+
}
|
|
14272
|
+
|
|
14273
|
+
},
|
|
14274
|
+
|
|
14076
14275
|
/**
|
|
14077
14276
|
* Additional class name for the banner element within the modal.
|
|
14078
14277
|
* Can accept String, Object, and Array, i.e. has the
|
|
@@ -14128,7 +14327,9 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
14128
14327
|
data() {
|
|
14129
14328
|
return {
|
|
14130
14329
|
MODAL_KIND_MODIFIERS: MODAL_KIND_MODIFIERS,
|
|
14131
|
-
MODAL_SIZE_MODIFIERS: MODAL_SIZE_MODIFIERS
|
|
14330
|
+
MODAL_SIZE_MODIFIERS: MODAL_SIZE_MODIFIERS,
|
|
14331
|
+
MODAL_BANNER_KINDS: MODAL_BANNER_KINDS,
|
|
14332
|
+
EVENT_KEYNAMES: EVENT_KEYNAMES
|
|
14132
14333
|
};
|
|
14133
14334
|
},
|
|
14134
14335
|
|
|
@@ -14165,6 +14366,10 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
14165
14366
|
|
|
14166
14367
|
hasFooterSlot() {
|
|
14167
14368
|
return !!this.$slots.footer;
|
|
14369
|
+
},
|
|
14370
|
+
|
|
14371
|
+
bannerKindClass() {
|
|
14372
|
+
return MODAL_BANNER_KINDS[this.bannerKind];
|
|
14168
14373
|
}
|
|
14169
14374
|
|
|
14170
14375
|
},
|
|
@@ -14228,7 +14433,7 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
14228
14433
|
|
|
14229
14434
|
|
|
14230
14435
|
;
|
|
14231
|
-
const modal_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(modalvue_type_script_lang_js, [['render',
|
|
14436
|
+
const modal_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(modalvue_type_script_lang_js, [['render',modalvue_type_template_id_68e78e9e_render]])
|
|
14232
14437
|
|
|
14233
14438
|
/* harmony default export */ const modal_modal = (modal_exports_);
|
|
14234
14439
|
;// CONCATENATED MODULE: ./components/modal/index.js
|
|
@@ -14489,192 +14694,6 @@ const list_item_group_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(li
|
|
|
14489
14694
|
;// CONCATENATED MODULE: ./components/list_item_group/index.js
|
|
14490
14695
|
|
|
14491
14696
|
|
|
14492
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/notice/notice.vue?vue&type=template&id=28b8ab50
|
|
14493
|
-
|
|
14494
|
-
function noticevue_type_template_id_28b8ab50_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14495
|
-
const _component_dt_notice_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-notice-icon");
|
|
14496
|
-
|
|
14497
|
-
const _component_dt_notice_content = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-notice-content");
|
|
14498
|
-
|
|
14499
|
-
const _component_dt_notice_action = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-notice-action");
|
|
14500
|
-
|
|
14501
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("aside", {
|
|
14502
|
-
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.noticeClass),
|
|
14503
|
-
"data-qa": "notice"
|
|
14504
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_notice_icon, {
|
|
14505
|
-
kind: $props.kind
|
|
14506
|
-
}, {
|
|
14507
|
-
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "icon")]),
|
|
14508
|
-
_: 3
|
|
14509
|
-
}, 8, ["kind"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_notice_content, {
|
|
14510
|
-
"title-id": $props.titleId,
|
|
14511
|
-
"content-id": $props.contentId,
|
|
14512
|
-
title: $props.title,
|
|
14513
|
-
role: $props.role
|
|
14514
|
-
}, {
|
|
14515
|
-
titleOverride: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "titleOverride")]),
|
|
14516
|
-
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")]),
|
|
14517
|
-
_: 3
|
|
14518
|
-
}, 8, ["title-id", "content-id", "title", "role"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_notice_action, {
|
|
14519
|
-
"hide-close": $props.hideClose,
|
|
14520
|
-
"close-button-props": $props.closeButtonProps,
|
|
14521
|
-
"visually-hidden-close": _ctx.visuallyHiddenClose,
|
|
14522
|
-
"visually-hidden-close-label": _ctx.visuallyHiddenCloseLabel,
|
|
14523
|
-
onClose: _cache[0] || (_cache[0] = $event => _ctx.$emit('close'))
|
|
14524
|
-
}, {
|
|
14525
|
-
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "action")]),
|
|
14526
|
-
_: 3
|
|
14527
|
-
}, 8, ["hide-close", "close-button-props", "visually-hidden-close", "visually-hidden-close-label"])], 2);
|
|
14528
|
-
}
|
|
14529
|
-
;// CONCATENATED MODULE: ./components/notice/notice.vue?vue&type=template&id=28b8ab50
|
|
14530
|
-
|
|
14531
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/notice/notice.vue?vue&type=script&lang=js
|
|
14532
|
-
|
|
14533
|
-
|
|
14534
|
-
|
|
14535
|
-
|
|
14536
|
-
|
|
14537
|
-
/**
|
|
14538
|
-
* A notice is an informational and assistive message that appears inline with content.
|
|
14539
|
-
* @see https://dialpad.design/components/notice.html
|
|
14540
|
-
*/
|
|
14541
|
-
|
|
14542
|
-
/* harmony default export */ const noticevue_type_script_lang_js = ({
|
|
14543
|
-
name: 'DtNotice',
|
|
14544
|
-
components: {
|
|
14545
|
-
DtNoticeIcon: notice_icon,
|
|
14546
|
-
DtNoticeContent: notice_content,
|
|
14547
|
-
DtNoticeAction: notice_action
|
|
14548
|
-
},
|
|
14549
|
-
mixins: [sr_only_close_button],
|
|
14550
|
-
props: {
|
|
14551
|
-
/**
|
|
14552
|
-
* Sets an ID on the title element of the component. Useful for aria-describedby
|
|
14553
|
-
* or aria-labelledby or any other reason you may need an id to refer to the title.
|
|
14554
|
-
*/
|
|
14555
|
-
titleId: {
|
|
14556
|
-
type: String,
|
|
14557
|
-
default: undefined
|
|
14558
|
-
},
|
|
14559
|
-
|
|
14560
|
-
/**
|
|
14561
|
-
* Sets an ID on the content element of the component. Useful for aria-describedby
|
|
14562
|
-
* or aria-labelledby or any other reason you may need an id to refer to the content.
|
|
14563
|
-
*/
|
|
14564
|
-
contentId: {
|
|
14565
|
-
type: String,
|
|
14566
|
-
default: undefined
|
|
14567
|
-
},
|
|
14568
|
-
|
|
14569
|
-
/**
|
|
14570
|
-
* Title header of the notice. This can be left blank to remove the title from the notice entirely.
|
|
14571
|
-
*/
|
|
14572
|
-
title: {
|
|
14573
|
-
type: String,
|
|
14574
|
-
default: ''
|
|
14575
|
-
},
|
|
14576
|
-
|
|
14577
|
-
/**
|
|
14578
|
-
* Provides a role for the notice. 'status' is used to communicate a message. 'alert' is used to communicate an
|
|
14579
|
-
* important message that does not contain any interactive elements. 'alertdialog' is used to communicate an
|
|
14580
|
-
* important message that does contain interactive elements.
|
|
14581
|
-
* @values alert, alertdialog, status
|
|
14582
|
-
*/
|
|
14583
|
-
role: {
|
|
14584
|
-
type: String,
|
|
14585
|
-
default: 'status',
|
|
14586
|
-
|
|
14587
|
-
validate(role) {
|
|
14588
|
-
return NOTICE_ROLES.includes(role);
|
|
14589
|
-
}
|
|
14590
|
-
|
|
14591
|
-
},
|
|
14592
|
-
|
|
14593
|
-
/**
|
|
14594
|
-
* Used in scenarios where the message needs to visually dominate the screen.
|
|
14595
|
-
* This will also change the aria role from status to alert.
|
|
14596
|
-
* @values true, false
|
|
14597
|
-
*/
|
|
14598
|
-
important: {
|
|
14599
|
-
type: Boolean,
|
|
14600
|
-
default: false
|
|
14601
|
-
},
|
|
14602
|
-
|
|
14603
|
-
/**
|
|
14604
|
-
* Severity level of the notice, sets the icon and background
|
|
14605
|
-
* @values base, error, info, success, warning
|
|
14606
|
-
*/
|
|
14607
|
-
kind: {
|
|
14608
|
-
type: String,
|
|
14609
|
-
default: 'base',
|
|
14610
|
-
|
|
14611
|
-
validate(kind) {
|
|
14612
|
-
return NOTICE_KINDS.includes(kind);
|
|
14613
|
-
}
|
|
14614
|
-
|
|
14615
|
-
},
|
|
14616
|
-
|
|
14617
|
-
/**
|
|
14618
|
-
* Props for the notice close button.
|
|
14619
|
-
*/
|
|
14620
|
-
closeButtonProps: {
|
|
14621
|
-
type: Object,
|
|
14622
|
-
default: () => ({})
|
|
14623
|
-
},
|
|
14624
|
-
|
|
14625
|
-
/**
|
|
14626
|
-
* Hides the close button from the notice
|
|
14627
|
-
* @values true, false
|
|
14628
|
-
*/
|
|
14629
|
-
hideClose: {
|
|
14630
|
-
type: Boolean,
|
|
14631
|
-
default: false
|
|
14632
|
-
}
|
|
14633
|
-
},
|
|
14634
|
-
emits: [
|
|
14635
|
-
/**
|
|
14636
|
-
* Close button click event
|
|
14637
|
-
*
|
|
14638
|
-
* @event close
|
|
14639
|
-
*/
|
|
14640
|
-
'close',
|
|
14641
|
-
/**
|
|
14642
|
-
* Native button click event
|
|
14643
|
-
*
|
|
14644
|
-
* @event click
|
|
14645
|
-
* @type {PointerEvent | KeyboardEvent}
|
|
14646
|
-
*/
|
|
14647
|
-
'click'],
|
|
14648
|
-
computed: {
|
|
14649
|
-
noticeClass() {
|
|
14650
|
-
const noticeKinds = {
|
|
14651
|
-
error: 'd-notice--error',
|
|
14652
|
-
info: 'd-notice--info',
|
|
14653
|
-
success: 'd-notice--success',
|
|
14654
|
-
warning: 'd-notice--warning',
|
|
14655
|
-
base: 'd-notice--base'
|
|
14656
|
-
};
|
|
14657
|
-
return ['d-notice', noticeKinds[this.kind], {
|
|
14658
|
-
'd-notice--important': this.important
|
|
14659
|
-
}];
|
|
14660
|
-
}
|
|
14661
|
-
|
|
14662
|
-
}
|
|
14663
|
-
});
|
|
14664
|
-
;// CONCATENATED MODULE: ./components/notice/notice.vue?vue&type=script&lang=js
|
|
14665
|
-
|
|
14666
|
-
;// CONCATENATED MODULE: ./components/notice/notice.vue
|
|
14667
|
-
|
|
14668
|
-
|
|
14669
|
-
|
|
14670
|
-
|
|
14671
|
-
;
|
|
14672
|
-
const notice_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(noticevue_type_script_lang_js, [['render',noticevue_type_template_id_28b8ab50_render]])
|
|
14673
|
-
|
|
14674
|
-
/* harmony default export */ const notice = (notice_exports_);
|
|
14675
|
-
;// CONCATENATED MODULE: ./components/notice/index.js
|
|
14676
|
-
|
|
14677
|
-
|
|
14678
14697
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/pagination/pagination.vue?vue&type=template&id=57c28750
|
|
14679
14698
|
|
|
14680
14699
|
const paginationvue_type_template_id_57c28750_hoisted_1 = ["aria-label"];
|
|
@@ -18029,17 +18048,17 @@ const root_layout_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(root_l
|
|
|
18029
18048
|
;// CONCATENATED MODULE: ./components/root_layout/index.js
|
|
18030
18049
|
|
|
18031
18050
|
|
|
18032
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=
|
|
18051
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=27b9863b
|
|
18033
18052
|
|
|
18034
|
-
const
|
|
18035
|
-
const
|
|
18053
|
+
const combobox_with_popovervue_type_template_id_27b9863b_hoisted_1 = ["id"];
|
|
18054
|
+
const combobox_with_popovervue_type_template_id_27b9863b_hoisted_2 = {
|
|
18036
18055
|
ref: "header"
|
|
18037
18056
|
};
|
|
18038
|
-
const
|
|
18039
|
-
const
|
|
18057
|
+
const combobox_with_popovervue_type_template_id_27b9863b_hoisted_3 = ["onMouseleave", "onFocusout"];
|
|
18058
|
+
const combobox_with_popovervue_type_template_id_27b9863b_hoisted_4 = {
|
|
18040
18059
|
ref: "footer"
|
|
18041
18060
|
};
|
|
18042
|
-
function
|
|
18061
|
+
function combobox_with_popovervue_type_template_id_27b9863b_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18043
18062
|
const _component_combobox_loading_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-loading-list");
|
|
18044
18063
|
|
|
18045
18064
|
const _component_combobox_empty_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-empty-list");
|
|
@@ -18062,6 +18081,7 @@ function combobox_with_popovervue_type_template_id_6b1072ea_render(_ctx, _cache,
|
|
|
18062
18081
|
"on-end-of-list": $props.onEndOfList,
|
|
18063
18082
|
"list-rendered-outside": true,
|
|
18064
18083
|
"list-id": $props.listId,
|
|
18084
|
+
"append-to": $props.appendTo,
|
|
18065
18085
|
"data-qa": "dt-combobox"
|
|
18066
18086
|
}, $options.comboboxListeners), {
|
|
18067
18087
|
input: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(_ref => {
|
|
@@ -18078,7 +18098,7 @@ function combobox_with_popovervue_type_template_id_6b1072ea_render(_ctx, _cache,
|
|
|
18078
18098
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "input", {
|
|
18079
18099
|
inputProps: inputProps,
|
|
18080
18100
|
onInput: $options.handleDisplayList
|
|
18081
|
-
})], 40,
|
|
18101
|
+
})], 40, combobox_with_popovervue_type_template_id_27b9863b_hoisted_1)];
|
|
18082
18102
|
}),
|
|
18083
18103
|
list: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(_ref2 => {
|
|
18084
18104
|
let {
|
|
@@ -18123,22 +18143,22 @@ function combobox_with_popovervue_type_template_id_6b1072ea_render(_ctx, _cache,
|
|
|
18123
18143
|
}), null, 16, ["message"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "list", {
|
|
18124
18144
|
key: 2,
|
|
18125
18145
|
listProps: listProps
|
|
18126
|
-
})], 42,
|
|
18146
|
+
})], 42, combobox_with_popovervue_type_template_id_27b9863b_hoisted_3)]),
|
|
18127
18147
|
_: 2
|
|
18128
18148
|
}, [_ctx.$slots.header ? {
|
|
18129
18149
|
name: "headerContent",
|
|
18130
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
18150
|
+
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", combobox_with_popovervue_type_template_id_27b9863b_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "header")], 512)]),
|
|
18131
18151
|
key: "0"
|
|
18132
18152
|
} : undefined, _ctx.$slots.footer ? {
|
|
18133
18153
|
name: "footerContent",
|
|
18134
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
18154
|
+
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", combobox_with_popovervue_type_template_id_27b9863b_hoisted_4, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "footer")], 512)]),
|
|
18135
18155
|
key: "1"
|
|
18136
18156
|
} : undefined]), 1032, ["open", "max-height", "max-width", "offset", "sticky", "external-anchor", "content-width", "visually-hidden-close-label", "visually-hidden-close", "onOpened"])];
|
|
18137
18157
|
}),
|
|
18138
18158
|
_: 3
|
|
18139
|
-
}, 16, ["loading", "label", "label-visible", "size", "description", "empty-list", "empty-state-message", "show-list", "on-beginning-of-list", "on-end-of-list", "list-id"]);
|
|
18159
|
+
}, 16, ["loading", "label", "label-visible", "size", "description", "empty-list", "empty-state-message", "show-list", "on-beginning-of-list", "on-end-of-list", "list-id", "append-to"]);
|
|
18140
18160
|
}
|
|
18141
|
-
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=
|
|
18161
|
+
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=27b9863b
|
|
18142
18162
|
|
|
18143
18163
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=script&lang=js
|
|
18144
18164
|
|
|
@@ -18149,6 +18169,7 @@ function combobox_with_popovervue_type_template_id_6b1072ea_render(_ctx, _cache,
|
|
|
18149
18169
|
|
|
18150
18170
|
|
|
18151
18171
|
|
|
18172
|
+
|
|
18152
18173
|
/* harmony default export */ const combobox_with_popovervue_type_script_lang_js = ({
|
|
18153
18174
|
name: 'DtRecipeComboboxWithPopover',
|
|
18154
18175
|
components: {
|
|
@@ -18307,6 +18328,18 @@ function combobox_with_popovervue_type_template_id_6b1072ea_render(_ctx, _cache,
|
|
|
18307
18328
|
default: false
|
|
18308
18329
|
},
|
|
18309
18330
|
|
|
18331
|
+
/**
|
|
18332
|
+
* Sets the element to which the popover is going to append to.
|
|
18333
|
+
* @values 'parent', HTMLElement,
|
|
18334
|
+
*/
|
|
18335
|
+
appendTo: {
|
|
18336
|
+
type: [HTMLElement, String],
|
|
18337
|
+
default: () => document.body,
|
|
18338
|
+
validator: appendTo => {
|
|
18339
|
+
return POPOVER_APPEND_TO_VALUES.includes(appendTo) || appendTo instanceof HTMLElement;
|
|
18340
|
+
}
|
|
18341
|
+
},
|
|
18342
|
+
|
|
18310
18343
|
/**
|
|
18311
18344
|
* Displays the list when the combobox is focused, before the user has typed anything.
|
|
18312
18345
|
* When this is enabled the list will not close after selection.
|
|
@@ -18498,32 +18531,32 @@ function combobox_with_popovervue_type_template_id_6b1072ea_render(_ctx, _cache,
|
|
|
18498
18531
|
|
|
18499
18532
|
|
|
18500
18533
|
;
|
|
18501
|
-
const combobox_with_popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_with_popovervue_type_script_lang_js, [['render',
|
|
18534
|
+
const combobox_with_popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_with_popovervue_type_script_lang_js, [['render',combobox_with_popovervue_type_template_id_27b9863b_render]])
|
|
18502
18535
|
|
|
18503
18536
|
/* harmony default export */ const combobox_with_popover = (combobox_with_popover_exports_);
|
|
18504
18537
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/index.js
|
|
18505
18538
|
|
|
18506
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue?vue&type=template&id=
|
|
18539
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue?vue&type=template&id=e2856cc6
|
|
18507
18540
|
|
|
18508
|
-
const
|
|
18541
|
+
const combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_1 = {
|
|
18509
18542
|
ref: "inputSlotWrapper",
|
|
18510
18543
|
class: "d-ps-relative d-d-block"
|
|
18511
18544
|
};
|
|
18512
|
-
const
|
|
18545
|
+
const combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_2 = {
|
|
18513
18546
|
ref: "chipsWrapper",
|
|
18514
18547
|
class: "d-ps-absolute d-mx2"
|
|
18515
18548
|
};
|
|
18516
|
-
const
|
|
18549
|
+
const combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_3 = {
|
|
18517
18550
|
ref: "header"
|
|
18518
18551
|
};
|
|
18519
|
-
const
|
|
18552
|
+
const combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_4 = {
|
|
18520
18553
|
key: 1,
|
|
18521
18554
|
class: "d-ta-center d-py16"
|
|
18522
18555
|
};
|
|
18523
|
-
const
|
|
18556
|
+
const combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_5 = {
|
|
18524
18557
|
ref: "footer"
|
|
18525
18558
|
};
|
|
18526
|
-
function
|
|
18559
|
+
function combobox_multi_selectvue_type_template_id_e2856cc6_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18527
18560
|
const _component_dt_chip = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-chip");
|
|
18528
18561
|
|
|
18529
18562
|
const _component_dt_input = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-input");
|
|
@@ -18541,6 +18574,7 @@ function combobox_multi_selectvue_type_template_id_5e05b863_render(_ctx, _cache,
|
|
|
18541
18574
|
"has-suggestion-list": $props.hasSuggestionList,
|
|
18542
18575
|
"visually-hidden-close-label": _ctx.visuallyHiddenCloseLabel,
|
|
18543
18576
|
"visually-hidden-close": _ctx.visuallyHiddenClose,
|
|
18577
|
+
"append-to": $props.appendTo,
|
|
18544
18578
|
"content-width": "anchor",
|
|
18545
18579
|
onSelect: $options.onComboboxSelect
|
|
18546
18580
|
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createSlots)({
|
|
@@ -18548,7 +18582,7 @@ function combobox_multi_selectvue_type_template_id_5e05b863_render(_ctx, _cache,
|
|
|
18548
18582
|
let {
|
|
18549
18583
|
onInput
|
|
18550
18584
|
} = _ref;
|
|
18551
|
-
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("span",
|
|
18585
|
+
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("span", combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("span", combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_2, [((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.Fragment, null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderList)($props.selectedItems, item => {
|
|
18552
18586
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_chip, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
18553
18587
|
ref_for: true,
|
|
18554
18588
|
ref: "chips",
|
|
@@ -18590,19 +18624,19 @@ function combobox_multi_selectvue_type_template_id_5e05b863_render(_ctx, _cache,
|
|
|
18590
18624
|
onMousedown: _cache[1] || (_cache[1] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)(() => {}, ["prevent"]))
|
|
18591
18625
|
}, [!$props.loading ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "list", {
|
|
18592
18626
|
key: 0
|
|
18593
|
-
}) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div",
|
|
18627
|
+
}) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_4, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.loadingMessage), 1))], 544)]),
|
|
18594
18628
|
_: 2
|
|
18595
18629
|
}, [_ctx.$slots.header ? {
|
|
18596
18630
|
name: "header",
|
|
18597
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
18631
|
+
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "header")], 512)]),
|
|
18598
18632
|
key: "0"
|
|
18599
18633
|
} : undefined, _ctx.$slots.footer ? {
|
|
18600
18634
|
name: "footer",
|
|
18601
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
18635
|
+
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", combobox_multi_selectvue_type_template_id_e2856cc6_hoisted_5, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "footer")], 512)]),
|
|
18602
18636
|
key: "1"
|
|
18603
|
-
} : undefined]), 1032, ["label", "show-list", "max-height", "popover-offset", "has-suggestion-list", "visually-hidden-close-label", "visually-hidden-close", "onSelect"]);
|
|
18637
|
+
} : undefined]), 1032, ["label", "show-list", "max-height", "popover-offset", "has-suggestion-list", "visually-hidden-close-label", "visually-hidden-close", "append-to", "onSelect"]);
|
|
18604
18638
|
}
|
|
18605
|
-
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue?vue&type=template&id=
|
|
18639
|
+
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue?vue&type=template&id=e2856cc6
|
|
18606
18640
|
|
|
18607
18641
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select_story_constants.js
|
|
18608
18642
|
// The item list for default story
|
|
@@ -18719,6 +18753,7 @@ const CHIP_BOTTOM_POSITION = {
|
|
|
18719
18753
|
|
|
18720
18754
|
|
|
18721
18755
|
|
|
18756
|
+
|
|
18722
18757
|
/* harmony default export */ const combobox_multi_selectvue_type_script_lang_js = ({
|
|
18723
18758
|
name: 'DtRecipeComboboxMultiSelect',
|
|
18724
18759
|
components: {
|
|
@@ -18773,6 +18808,18 @@ const CHIP_BOTTOM_POSITION = {
|
|
|
18773
18808
|
}
|
|
18774
18809
|
},
|
|
18775
18810
|
|
|
18811
|
+
/**
|
|
18812
|
+
* Sets the element to which the popover is going to append to.
|
|
18813
|
+
* @values 'parent', HTMLElement,
|
|
18814
|
+
*/
|
|
18815
|
+
appendTo: {
|
|
18816
|
+
type: [HTMLElement, String],
|
|
18817
|
+
default: () => document.body,
|
|
18818
|
+
validator: appendTo => {
|
|
18819
|
+
return POPOVER_APPEND_TO_VALUES.includes(appendTo) || appendTo instanceof HTMLElement;
|
|
18820
|
+
}
|
|
18821
|
+
},
|
|
18822
|
+
|
|
18776
18823
|
/**
|
|
18777
18824
|
* Show input validation message
|
|
18778
18825
|
*/
|
|
@@ -19194,7 +19241,7 @@ const CHIP_BOTTOM_POSITION = {
|
|
|
19194
19241
|
|
|
19195
19242
|
|
|
19196
19243
|
;
|
|
19197
|
-
const combobox_multi_select_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_multi_selectvue_type_script_lang_js, [['render',
|
|
19244
|
+
const combobox_multi_select_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_multi_selectvue_type_script_lang_js, [['render',combobox_multi_selectvue_type_template_id_e2856cc6_render]])
|
|
19198
19245
|
|
|
19199
19246
|
/* harmony default export */ const combobox_multi_select = (combobox_multi_select_exports_);
|
|
19200
19247
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/index.js
|