@dialpad/dialtone-vue 1.2.1 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +41 -0
- package/dist/dialtone-vue.common.js +787 -244
- package/dist/dialtone-vue.umd.js +787 -244
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/package.json +15 -7
|
@@ -87,6 +87,20 @@ module.exports =
|
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
+
/***/ "1a61":
|
|
91
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
92
|
+
|
|
93
|
+
// Imports
|
|
94
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
95
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
96
|
+
// Module
|
|
97
|
+
exports.push([module.i, ".dt-default-list-item,.dt-default-list-item--left,.dt-default-list-item--right{min-height:28px}", ""]);
|
|
98
|
+
// Exports
|
|
99
|
+
module.exports = exports;
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
/***/ }),
|
|
103
|
+
|
|
90
104
|
/***/ "24fb":
|
|
91
105
|
/***/ (function(module, exports, __webpack_require__) {
|
|
92
106
|
|
|
@@ -209,7 +223,21 @@ module.exports = exports;
|
|
|
209
223
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
210
224
|
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
211
225
|
// Module
|
|
212
|
-
exports.push([module.i, ".dt-list-item
|
|
226
|
+
exports.push([module.i, ".dt-list-item--focusable:focus,.dt-list-item--focusable:focus-within,.dt-list-item--focusable:hover,.dt-list-item--highlighted{background-color:hsla(var(--black-400-h),var(--black-400-s),var(--black-400-l),.15);cursor:pointer}.dt-list-item--focusable:focus{outline-color:var(--primary-color)}", ""]);
|
|
227
|
+
// Exports
|
|
228
|
+
module.exports = exports;
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
/***/ }),
|
|
232
|
+
|
|
233
|
+
/***/ "4834":
|
|
234
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
235
|
+
|
|
236
|
+
// Imports
|
|
237
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
238
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
239
|
+
// Module
|
|
240
|
+
exports.push([module.i, ".d-modal-enter,.d-modal-leave-to,.d-modal__dialog-enter,.d-modal__dialog-leave-to{z-index:var(--zi-hide)!important;-webkit-backface-visibility:hidden!important;backface-visibility:hidden!important;visibility:hidden!important;opacity:0!important}.d-modal__dialog-enter,.d-modal__dialog-leave-to{transform:translate3d(0,30%,0) scale3d(.75,.75,.75)!important}.d-modal-enter-active,.d-modal__dialog-enter-active{transition:opacity .1s var(--ttf-in-out) 10ms,z-index 0s 0s,visibility 0s 0s,transform .1s var(--ttf-in-out) 10ms}@media (prefers-reduced-motion){.d-modal-enter-active,.d-modal__dialog-enter-active{transition:none!important}}.d-modal-leave-active{transition:opacity .1s var(--ttf-in-out) 10ms,z-index 0s .2s,visibility 0s .2s,transform .1s var(--ttf-in-out) 10ms}.d-modal-leave-active.d-modal--full{transition:opacity .2s var(--ttf-in-out) 0s,z-index 0s .2s,visibility 0s .2s}@media (prefers-reduced-motion){.d-modal-leave-active{transition:none!important}}.d-modal__dialog-leave-active{transition:opacity .2s var(--ttf-in-out) 0s,z-index 0s .2s,visibility 0s .2s,transform .1s var(--ttf-in-out) 0s}.d-modal__dialog-leave-active.d-modal--full{transition:opacity .2s var(--ttf-in-out) 0s,z-index 0s .2s,visibility 0s .2s}@media (prefers-reduced-motion){.d-modal__dialog-leave-active{transition:none!important}}", ""]);
|
|
213
241
|
// Exports
|
|
214
242
|
module.exports = exports;
|
|
215
243
|
|
|
@@ -523,6 +551,22 @@ var update = add("27ac9170", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
523
551
|
|
|
524
552
|
/***/ }),
|
|
525
553
|
|
|
554
|
+
/***/ "86eb":
|
|
555
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
556
|
+
|
|
557
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
558
|
+
|
|
559
|
+
// load the styles
|
|
560
|
+
var content = __webpack_require__("1a61");
|
|
561
|
+
if(content.__esModule) content = content.default;
|
|
562
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
563
|
+
if(content.locals) module.exports = content.locals;
|
|
564
|
+
// add the styles to the DOM
|
|
565
|
+
var add = __webpack_require__("499e").default
|
|
566
|
+
var update = add("7758d33c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
567
|
+
|
|
568
|
+
/***/ }),
|
|
569
|
+
|
|
526
570
|
/***/ "88f8":
|
|
527
571
|
/***/ (function(module, exports, __webpack_require__) {
|
|
528
572
|
|
|
@@ -560,6 +604,17 @@ if(content.locals) module.exports = content.locals;
|
|
|
560
604
|
var add = __webpack_require__("499e").default
|
|
561
605
|
var update = add("572d8ba2", content, true, {"sourceMap":false,"shadowMode":false});
|
|
562
606
|
|
|
607
|
+
/***/ }),
|
|
608
|
+
|
|
609
|
+
/***/ "b8b3":
|
|
610
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
611
|
+
|
|
612
|
+
"use strict";
|
|
613
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_default_list_item_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("86eb");
|
|
614
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_default_list_item_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_default_list_item_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__);
|
|
615
|
+
/* unused harmony reexport * */
|
|
616
|
+
|
|
617
|
+
|
|
563
618
|
/***/ }),
|
|
564
619
|
|
|
565
620
|
/***/ "c28b":
|
|
@@ -580,6 +635,17 @@ var update = add("572d8ba2", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
580
635
|
/* unused harmony reexport * */
|
|
581
636
|
|
|
582
637
|
|
|
638
|
+
/***/ }),
|
|
639
|
+
|
|
640
|
+
/***/ "e55c":
|
|
641
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
642
|
+
|
|
643
|
+
"use strict";
|
|
644
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_modal_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("fc47");
|
|
645
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_modal_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_modal_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__);
|
|
646
|
+
/* unused harmony reexport * */
|
|
647
|
+
|
|
648
|
+
|
|
583
649
|
/***/ }),
|
|
584
650
|
|
|
585
651
|
/***/ "fae3":
|
|
@@ -671,7 +737,7 @@ if (typeof window !== 'undefined') {
|
|
|
671
737
|
// Indicate to webpack that this file can be concatenated
|
|
672
738
|
/* harmony default export */ var setPublicPath = (null);
|
|
673
739
|
|
|
674
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
740
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/avatar/avatar.vue?vue&type=template&id=3c007948&
|
|
675
741
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
|
|
676
742
|
'd-avatar',
|
|
677
743
|
_vm.AVATAR_KIND_MODIFIERS[_vm.kind],
|
|
@@ -774,6 +840,7 @@ const DEFAULT_PREFIX = 'dt';
|
|
|
774
840
|
});
|
|
775
841
|
// CONCATENATED MODULE: ./components/utils.js
|
|
776
842
|
|
|
843
|
+
|
|
777
844
|
let UNIQUE_ID_COUNTER = 0; // selector to find focusable not hidden inputs
|
|
778
845
|
|
|
779
846
|
const FOCUSABLE_SELECTOR_NOT_HIDDEN = 'input:not([type=hidden]):not(:disabled)'; // selector to find focusable not disables elements
|
|
@@ -846,12 +913,36 @@ function hasFormattedMessageOfType(formattedMessages, messageType) {
|
|
|
846
913
|
function findFirstFocusableNode(element) {
|
|
847
914
|
return element === null || element === void 0 ? void 0 : element.querySelector(FOCUSABLE_SELECTOR);
|
|
848
915
|
}
|
|
916
|
+
/* html-fragment component:
|
|
917
|
+
* To render html without wrapping in another element as when using v-html.
|
|
918
|
+
* props: html
|
|
919
|
+
*/
|
|
920
|
+
|
|
921
|
+
const htmlFragment = {
|
|
922
|
+
name: 'html-fragment',
|
|
923
|
+
functional: true,
|
|
924
|
+
props: ['html'],
|
|
925
|
+
|
|
926
|
+
render(h, ctx) {
|
|
927
|
+
return new external_commonjs_vue_commonjs2_vue_root_Vue_default.a({
|
|
928
|
+
name: 'Inner',
|
|
929
|
+
|
|
930
|
+
beforeCreate() {
|
|
931
|
+
this.$createElement = h;
|
|
932
|
+
},
|
|
933
|
+
|
|
934
|
+
template: `<div>${ctx.props.html}</div>`
|
|
935
|
+
}).$mount()._vnode.children;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
};
|
|
849
939
|
/* harmony default export */ var utils = ({
|
|
850
940
|
getUniqueString,
|
|
851
941
|
formatMessages,
|
|
852
942
|
filterFormattedMessages,
|
|
853
943
|
hasFormattedMessageOfType,
|
|
854
|
-
getValidationState
|
|
944
|
+
getValidationState,
|
|
945
|
+
htmlFragment
|
|
855
946
|
});
|
|
856
947
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/avatar/avatar.vue?vue&type=script&lang=js&
|
|
857
948
|
//
|
|
@@ -1085,7 +1176,7 @@ var component = normalizeComponent(
|
|
|
1085
1176
|
// CONCATENATED MODULE: ./components/avatar/index.js
|
|
1086
1177
|
|
|
1087
1178
|
|
|
1088
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1179
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/badge/badge.vue?vue&type=template&id=8281dbe6&
|
|
1089
1180
|
var badgevue_type_template_id_8281dbe6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{class:[
|
|
1090
1181
|
'd-badge',
|
|
1091
1182
|
_vm.BADGE_COLOR_MODIFIERS[_vm.color] ],attrs:{"data-qa":"dt-badge"}},[_vm._t("default",[_vm._v(" "+_vm._s(_vm.text)+" ")])],2)}
|
|
@@ -1182,21 +1273,21 @@ var badge_component = normalizeComponent(
|
|
|
1182
1273
|
// CONCATENATED MODULE: ./components/badge/index.js
|
|
1183
1274
|
|
|
1184
1275
|
|
|
1185
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1186
|
-
var
|
|
1187
|
-
var
|
|
1276
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/banner/banner.vue?vue&type=template&id=008cf60a&
|
|
1277
|
+
var bannervue_type_template_id_008cf60a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('aside',{class:_vm.bannerClass,attrs:{"role":_vm.role},on:{"keydown":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"tab",9,$event.key,"Tab")){ return null; }return _vm.trapFocus($event)}}},[_c('div',{staticClass:"d-banner__dialog",attrs:{"aria-labelledby":_vm.titleId,"aria-describedby":_vm.contentId}},[_c('dt-notice-icon',_vm._g({attrs:{"kind":_vm.kind}},_vm.$listeners),[_vm._t("icon")],2),_c('dt-notice-content',_vm._g({attrs:{"title-id":_vm.titleId,"content-id":_vm.contentId,"title":_vm.title},scopedSlots:_vm._u([{key:"titleOverride",fn:function(){return [_vm._t("titleOverride")]},proxy:true}],null,true)},_vm.$listeners),[_vm._t("default")],2),_c('dt-notice-action',_vm._g({attrs:{"hide-close":_vm.hideClose,"close-button-props":_vm.closeButtonProps}},_vm.$listeners),[_vm._t("action")],2)],1)])}
|
|
1278
|
+
var bannervue_type_template_id_008cf60a_staticRenderFns = []
|
|
1188
1279
|
|
|
1189
1280
|
|
|
1190
|
-
// CONCATENATED MODULE: ./components/banner/banner.vue?vue&type=template&id=
|
|
1281
|
+
// CONCATENATED MODULE: ./components/banner/banner.vue?vue&type=template&id=008cf60a&
|
|
1191
1282
|
|
|
1192
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1283
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/notice/notice_icon.vue?vue&type=template&id=58ae40bb&
|
|
1193
1284
|
var notice_iconvue_type_template_id_58ae40bb_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.defaultIcon || _vm.$slots.default)?_c('div',{staticClass:"d-notice__icon",attrs:{"aria-hidden":"true"}},[_vm._t("default",[_c(_vm.defaultIcon,{tag:"component"})])],2):_vm._e()}
|
|
1194
1285
|
var notice_iconvue_type_template_id_58ae40bb_staticRenderFns = []
|
|
1195
1286
|
|
|
1196
1287
|
|
|
1197
1288
|
// CONCATENATED MODULE: ./components/notice/notice_icon.vue?vue&type=template&id=58ae40bb&
|
|
1198
1289
|
|
|
1199
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1290
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconLightbulb.vue?vue&type=template&id=07d1b1af&
|
|
1200
1291
|
var IconLightbulbvue_type_template_id_07d1b1af_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticClass:"d-svg d-svg--system d-svg__lightbulb",attrs:{"aria-hidden":"true","aria-label":"Lightbulb","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"d":"M9 21c0 .5.4 1 1 1h4c.6 0 1-.5 1-1v-1H9v1zm3-19C8.1 2 5 5.1 5 9c0 2.4 1.2 4.5 3 5.7V17c0 .5.4 1 1 1h6c.6 0 1-.5 1-1v-2.3c1.8-1.3 3-3.4 3-5.7 0-3.9-3.1-7-7-7z"}})])}
|
|
1201
1292
|
var IconLightbulbvue_type_template_id_07d1b1af_staticRenderFns = []
|
|
1202
1293
|
|
|
@@ -1222,7 +1313,7 @@ var IconLightbulb_component = normalizeComponent(
|
|
|
1222
1313
|
)
|
|
1223
1314
|
|
|
1224
1315
|
/* harmony default export */ var IconLightbulb = (IconLightbulb_component.exports);
|
|
1225
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1316
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconInfo.vue?vue&type=template&id=d1105ee6&
|
|
1226
1317
|
var IconInfovue_type_template_id_d1105ee6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticClass:"d-svg d-svg--system d-svg__info",attrs:{"aria-hidden":"true","aria-label":"Info","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"d":"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}})])}
|
|
1227
1318
|
var IconInfovue_type_template_id_d1105ee6_staticRenderFns = []
|
|
1228
1319
|
|
|
@@ -1248,7 +1339,7 @@ var IconInfo_component = normalizeComponent(
|
|
|
1248
1339
|
)
|
|
1249
1340
|
|
|
1250
1341
|
/* harmony default export */ var IconInfo = (IconInfo_component.exports);
|
|
1251
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1342
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconWarning.vue?vue&type=template&id=0a24defa&
|
|
1252
1343
|
var IconWarningvue_type_template_id_0a24defa_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticClass:"d-svg d-svg--system d-svg__warning",attrs:{"aria-hidden":"true","aria-label":"Warning","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"d":"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}})])}
|
|
1253
1344
|
var IconWarningvue_type_template_id_0a24defa_staticRenderFns = []
|
|
1254
1345
|
|
|
@@ -1274,7 +1365,7 @@ var IconWarning_component = normalizeComponent(
|
|
|
1274
1365
|
)
|
|
1275
1366
|
|
|
1276
1367
|
/* harmony default export */ var IconWarning = (IconWarning_component.exports);
|
|
1277
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1368
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconError.vue?vue&type=template&id=4d9e3e9d&
|
|
1278
1369
|
var IconErrorvue_type_template_id_4d9e3e9d_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticClass:"d-svg d-svg--system d-svg__error",attrs:{"aria-hidden":"true","aria-label":"Error","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"d":"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"}})])}
|
|
1279
1370
|
var IconErrorvue_type_template_id_4d9e3e9d_staticRenderFns = []
|
|
1280
1371
|
|
|
@@ -1300,7 +1391,7 @@ var IconError_component = normalizeComponent(
|
|
|
1300
1391
|
)
|
|
1301
1392
|
|
|
1302
1393
|
/* harmony default export */ var IconError = (IconError_component.exports);
|
|
1303
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1394
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconCheckCircle.vue?vue&type=template&id=016c7d48&
|
|
1304
1395
|
var IconCheckCirclevue_type_template_id_016c7d48_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticClass:"d-svg d-svg--system d-svg__checkCircle",attrs:{"aria-hidden":"true","aria-label":"Check Circle","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"d":"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}})])}
|
|
1305
1396
|
var IconCheckCirclevue_type_template_id_016c7d48_staticRenderFns = []
|
|
1306
1397
|
|
|
@@ -1404,7 +1495,7 @@ var notice_icon_component = normalizeComponent(
|
|
|
1404
1495
|
)
|
|
1405
1496
|
|
|
1406
1497
|
/* harmony default export */ var notice_icon = (notice_icon_component.exports);
|
|
1407
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1498
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/notice/notice_content.vue?vue&type=template&id=24cf95e4&
|
|
1408
1499
|
var notice_contentvue_type_template_id_24cf95e4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-notice__content",attrs:{"data-qa":"notice-content"}},[(_vm.title || this.$slots.titleOverride)?_c('p',{staticClass:"d-notice__title",attrs:{"id":_vm.titleId,"data-qa":"notice-content-title"}},[_vm._t("titleOverride",[_vm._v(" "+_vm._s(_vm.title)+" ")])],2):_vm._e(),_c('p',{staticClass:"d-notice__message",attrs:{"id":_vm.contentId,"data-qa":"notice-content-message"}},[_vm._t("default")],2)])}
|
|
1409
1500
|
var notice_contentvue_type_template_id_24cf95e4_staticRenderFns = []
|
|
1410
1501
|
|
|
@@ -1476,14 +1567,14 @@ var notice_content_component = normalizeComponent(
|
|
|
1476
1567
|
)
|
|
1477
1568
|
|
|
1478
1569
|
/* harmony default export */ var notice_content = (notice_content_component.exports);
|
|
1479
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1480
|
-
var
|
|
1481
|
-
var
|
|
1570
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/notice/notice_action.vue?vue&type=template&id=83c987fc&
|
|
1571
|
+
var notice_actionvue_type_template_id_83c987fc_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-notice__actions",attrs:{"data-qa":"notice-content-actions"}},[_vm._t("default"),(!_vm.hideClose)?_c('dt-button',_vm._b({ref:"closeButton",attrs:{"size":"sm","importance":"clear","circle":"","aria-label":_vm.closeButtonProps.ariaLabel ? _vm.closeButtonProps.ariaLabel : 'Close'},on:{"click":_vm.close},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('icon-close')]},proxy:true}],null,false,4267981299)},'dt-button',_vm.closeButtonProps,false)):_vm._e()],2)}
|
|
1572
|
+
var notice_actionvue_type_template_id_83c987fc_staticRenderFns = []
|
|
1482
1573
|
|
|
1483
1574
|
|
|
1484
|
-
// CONCATENATED MODULE: ./components/notice/notice_action.vue?vue&type=template&id=
|
|
1575
|
+
// CONCATENATED MODULE: ./components/notice/notice_action.vue?vue&type=template&id=83c987fc&
|
|
1485
1576
|
|
|
1486
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1577
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconClose.vue?vue&type=template&id=18642c39&
|
|
1487
1578
|
var IconClosevue_type_template_id_18642c39_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticClass:"d-svg d-svg--system d-svg__close",attrs:{"aria-hidden":"true","aria-label":"Close","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"d":"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"}})])}
|
|
1488
1579
|
var IconClosevue_type_template_id_18642c39_staticRenderFns = []
|
|
1489
1580
|
|
|
@@ -1509,17 +1600,17 @@ var IconClose_component = normalizeComponent(
|
|
|
1509
1600
|
)
|
|
1510
1601
|
|
|
1511
1602
|
/* harmony default export */ var IconClose = (IconClose_component.exports);
|
|
1512
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1513
|
-
var
|
|
1603
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/button/button.vue?vue&type=template&id=434ac93d&
|
|
1604
|
+
var buttonvue_type_template_id_434ac93d_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',_vm._g({class:[
|
|
1514
1605
|
'base-button__button',
|
|
1515
1606
|
_vm.buttonClasses ],attrs:{"data-qa":"dt-button","type":_vm.type,"aria-live":_vm.computedAriaLive,"aria-label":_vm.loading ? 'loading' : _vm.$attrs['aria-label']}},_vm.buttonListeners),[(_vm.$slots.icon && !_vm.link)?_c('span',{class:[
|
|
1516
1607
|
'base-button__icon',
|
|
1517
1608
|
'd-btn__icon',
|
|
1518
1609
|
_vm.ICON_POSITION_MODIFIERS[_vm.iconPosition] ],attrs:{"data-qa":"dt-button-icon"}},[_vm._t("icon")],2):_vm._e(),(_vm.$slots.default)?_c('span',{class:['d-w100p', 'd-btn__label', 'base-button__label', _vm.labelClass],attrs:{"data-qa":"dt-button-label"}},[_vm._t("default")],2):_vm._e()])}
|
|
1519
|
-
var
|
|
1610
|
+
var buttonvue_type_template_id_434ac93d_staticRenderFns = []
|
|
1520
1611
|
|
|
1521
1612
|
|
|
1522
|
-
// CONCATENATED MODULE: ./components/button/button.vue?vue&type=template&id=
|
|
1613
|
+
// CONCATENATED MODULE: ./components/button/button.vue?vue&type=template&id=434ac93d&
|
|
1523
1614
|
|
|
1524
1615
|
// CONCATENATED MODULE: ./components/button/button_constants.js
|
|
1525
1616
|
const BUTTON_SIZE_MODIFIERS = {
|
|
@@ -1626,6 +1717,7 @@ const LINK_KIND_MODIFIERS = {
|
|
|
1626
1717
|
//
|
|
1627
1718
|
//
|
|
1628
1719
|
//
|
|
1720
|
+
//
|
|
1629
1721
|
|
|
1630
1722
|
|
|
1631
1723
|
|
|
@@ -1752,7 +1844,7 @@ const LINK_KIND_MODIFIERS = {
|
|
|
1752
1844
|
default: false
|
|
1753
1845
|
}
|
|
1754
1846
|
},
|
|
1755
|
-
emits: ['
|
|
1847
|
+
emits: ['click', 'focusin', 'focusout'],
|
|
1756
1848
|
|
|
1757
1849
|
data() {
|
|
1758
1850
|
return {
|
|
@@ -1836,8 +1928,8 @@ const LINK_KIND_MODIFIERS = {
|
|
|
1836
1928
|
|
|
1837
1929
|
var button_component = normalizeComponent(
|
|
1838
1930
|
button_buttonvue_type_script_lang_js_,
|
|
1839
|
-
|
|
1840
|
-
|
|
1931
|
+
buttonvue_type_template_id_434ac93d_render,
|
|
1932
|
+
buttonvue_type_template_id_434ac93d_staticRenderFns,
|
|
1841
1933
|
false,
|
|
1842
1934
|
null,
|
|
1843
1935
|
null,
|
|
@@ -1869,6 +1961,7 @@ var button_component = normalizeComponent(
|
|
|
1869
1961
|
//
|
|
1870
1962
|
//
|
|
1871
1963
|
//
|
|
1964
|
+
//
|
|
1872
1965
|
|
|
1873
1966
|
|
|
1874
1967
|
/* harmony default export */ var notice_actionvue_type_script_lang_js_ = ({
|
|
@@ -1887,6 +1980,7 @@ var button_component = normalizeComponent(
|
|
|
1887
1980
|
default: false
|
|
1888
1981
|
}
|
|
1889
1982
|
},
|
|
1983
|
+
emits: ['close'],
|
|
1890
1984
|
|
|
1891
1985
|
created() {
|
|
1892
1986
|
if (!this.hideClose && !this.closeButtonProps.ariaLabel) {
|
|
@@ -1925,8 +2019,8 @@ var button_component = normalizeComponent(
|
|
|
1925
2019
|
|
|
1926
2020
|
var notice_action_component = normalizeComponent(
|
|
1927
2021
|
notice_notice_actionvue_type_script_lang_js_,
|
|
1928
|
-
|
|
1929
|
-
|
|
2022
|
+
notice_actionvue_type_template_id_83c987fc_render,
|
|
2023
|
+
notice_actionvue_type_template_id_83c987fc_staticRenderFns,
|
|
1930
2024
|
false,
|
|
1931
2025
|
null,
|
|
1932
2026
|
null,
|
|
@@ -2185,14 +2279,21 @@ const focusableElementsList = `button:${nonFocusableAttrs},
|
|
|
2185
2279
|
default: false
|
|
2186
2280
|
}
|
|
2187
2281
|
},
|
|
2282
|
+
emits: ['close'],
|
|
2188
2283
|
computed: {
|
|
2189
2284
|
role() {
|
|
2190
2285
|
return this.important ? 'alertdialog' : 'status';
|
|
2191
2286
|
},
|
|
2192
2287
|
|
|
2193
2288
|
bannerClass() {
|
|
2194
|
-
|
|
2195
|
-
|
|
2289
|
+
const kindClasses = {
|
|
2290
|
+
error: 'd-banner--error',
|
|
2291
|
+
info: 'd-banner--info',
|
|
2292
|
+
success: 'd-banner--success',
|
|
2293
|
+
warning: 'd-banner--warning',
|
|
2294
|
+
base: 'd-banner--base'
|
|
2295
|
+
};
|
|
2296
|
+
return ['d-banner', kindClasses[this.kind], {
|
|
2196
2297
|
'd-banner--important': this.important,
|
|
2197
2298
|
'd-banner--pinned': this.pinned
|
|
2198
2299
|
}];
|
|
@@ -2227,8 +2328,8 @@ const focusableElementsList = `button:${nonFocusableAttrs},
|
|
|
2227
2328
|
|
|
2228
2329
|
var banner_component = normalizeComponent(
|
|
2229
2330
|
banner_bannervue_type_script_lang_js_,
|
|
2230
|
-
|
|
2231
|
-
|
|
2331
|
+
bannervue_type_template_id_008cf60a_render,
|
|
2332
|
+
bannervue_type_template_id_008cf60a_staticRenderFns,
|
|
2232
2333
|
false,
|
|
2233
2334
|
null,
|
|
2234
2335
|
null,
|
|
@@ -2239,7 +2340,7 @@ var banner_component = normalizeComponent(
|
|
|
2239
2340
|
/* harmony default export */ var banner = (banner_component.exports);
|
|
2240
2341
|
// CONCATENATED MODULE: ./components/banner/index.js
|
|
2241
2342
|
|
|
2242
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2343
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/breadcrumbs/breadcrumbs.vue?vue&type=template&id=b762e354&
|
|
2243
2344
|
var breadcrumbsvue_type_template_id_b762e354_render = function () {
|
|
2244
2345
|
var _obj;
|
|
2245
2346
|
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',{class:[
|
|
@@ -2253,7 +2354,7 @@ var breadcrumbsvue_type_template_id_b762e354_staticRenderFns = []
|
|
|
2253
2354
|
// CONCATENATED MODULE: ./components/breadcrumbs/breadcrumbs_constants.js
|
|
2254
2355
|
const BREADCRUMB_ITEM_SELECTED_MODIFIER = 'd-breadcrumbs__item--selected';
|
|
2255
2356
|
const BREADCRUMBS_INVERTED_MODIFIER = 'd-breadcrumbs--inverted';
|
|
2256
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2357
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/breadcrumbs/breadcrumb_item.vue?vue&type=template&id=6f97ec8a&
|
|
2257
2358
|
var breadcrumb_itemvue_type_template_id_6f97ec8a_render = function () {
|
|
2258
2359
|
var _obj;
|
|
2259
2360
|
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{class:[
|
|
@@ -2264,14 +2365,14 @@ var breadcrumb_itemvue_type_template_id_6f97ec8a_staticRenderFns = []
|
|
|
2264
2365
|
|
|
2265
2366
|
// CONCATENATED MODULE: ./components/breadcrumbs/breadcrumb_item.vue?vue&type=template&id=6f97ec8a&
|
|
2266
2367
|
|
|
2267
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2268
|
-
var
|
|
2368
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/link/link.vue?vue&type=template&id=08ea8c41&
|
|
2369
|
+
var linkvue_type_template_id_08ea8c41_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',_vm._g({class:[
|
|
2269
2370
|
'd-link',
|
|
2270
|
-
_vm.LINK_KIND_MODIFIERS[_vm.kind] ],attrs:{"data-qa":"dt-link"}},[_vm._t("default")],2)}
|
|
2271
|
-
var
|
|
2371
|
+
_vm.LINK_KIND_MODIFIERS[_vm.kind] ],attrs:{"data-qa":"dt-link"}},_vm.$listeners),[_vm._t("default")],2)}
|
|
2372
|
+
var linkvue_type_template_id_08ea8c41_staticRenderFns = []
|
|
2272
2373
|
|
|
2273
2374
|
|
|
2274
|
-
// CONCATENATED MODULE: ./components/link/link.vue?vue&type=template&id=
|
|
2375
|
+
// CONCATENATED MODULE: ./components/link/link.vue?vue&type=template&id=08ea8c41&
|
|
2275
2376
|
|
|
2276
2377
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/link/link.vue?vue&type=script&lang=js&
|
|
2277
2378
|
//
|
|
@@ -2286,6 +2387,7 @@ var linkvue_type_template_id_6af78110_staticRenderFns = []
|
|
|
2286
2387
|
//
|
|
2287
2388
|
//
|
|
2288
2389
|
//
|
|
2390
|
+
//
|
|
2289
2391
|
|
|
2290
2392
|
/* harmony default export */ var linkvue_type_script_lang_js_ = ({
|
|
2291
2393
|
name: 'DtLink',
|
|
@@ -2303,6 +2405,7 @@ var linkvue_type_template_id_6af78110_staticRenderFns = []
|
|
|
2303
2405
|
|
|
2304
2406
|
}
|
|
2305
2407
|
},
|
|
2408
|
+
emits: ['click', 'focusin', 'focusout'],
|
|
2306
2409
|
|
|
2307
2410
|
data() {
|
|
2308
2411
|
return {
|
|
@@ -2323,8 +2426,8 @@ var linkvue_type_template_id_6af78110_staticRenderFns = []
|
|
|
2323
2426
|
|
|
2324
2427
|
var link_component = normalizeComponent(
|
|
2325
2428
|
link_linkvue_type_script_lang_js_,
|
|
2326
|
-
|
|
2327
|
-
|
|
2429
|
+
linkvue_type_template_id_08ea8c41_render,
|
|
2430
|
+
linkvue_type_template_id_08ea8c41_staticRenderFns,
|
|
2328
2431
|
false,
|
|
2329
2432
|
null,
|
|
2330
2433
|
null,
|
|
@@ -2542,20 +2645,18 @@ var breadcrumbs_component = normalizeComponent(
|
|
|
2542
2645
|
|
|
2543
2646
|
// CONCATENATED MODULE: ./components/button/index.js
|
|
2544
2647
|
|
|
2545
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2546
|
-
var
|
|
2547
|
-
var _obj, _obj$1;
|
|
2548
|
-
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"container",staticClass:"base-input",attrs:{"data-qa":"dt-input"}},[_c('label',{staticClass:"base-input__label",attrs:{"aria-details":_vm.$slots.description || _vm.description ? _vm.descriptionKey : undefined,"data-qa":"dt-input-label-wrapper"}},[_vm._t("labelSlot",[(_vm.label)?_c('div',{class:[
|
|
2648
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/input/input.vue?vue&type=template&id=0231bf39&
|
|
2649
|
+
var inputvue_type_template_id_0231bf39_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"container",staticClass:"base-input",attrs:{"data-qa":"dt-input"}},[_c('label',{staticClass:"base-input__label",attrs:{"aria-details":_vm.$slots.description || _vm.description ? _vm.descriptionKey : undefined,"data-qa":"dt-input-label-wrapper"}},[_vm._t("labelSlot",[(_vm.label)?_c('div',{class:[
|
|
2549
2650
|
'base-input__label-text',
|
|
2550
2651
|
'd-label',
|
|
2551
|
-
|
|
2652
|
+
_vm.labelSizeClasses[_vm.size] ],attrs:{"data-qa":"dt-input-label"}},[_vm._v(" "+_vm._s(_vm.label)+" ")]):_vm._e()]),(_vm.$slots.description || _vm.description)?_c('div',{class:[
|
|
2552
2653
|
'base-input__description',
|
|
2553
2654
|
'd-description',
|
|
2554
|
-
|
|
2555
|
-
var
|
|
2655
|
+
_vm.descriptionSizeClasses[_vm.size] ],attrs:{"id":_vm.descriptionKey,"data-qa":"dt-input-description"}},[_vm._t("description",[_vm._v(_vm._s(_vm.description))])],2):_vm._e(),_c('div',{staticClass:"d-input__wrapper"},[(_vm.$slots.leftIcon)?_c('span',{class:_vm.inputIconClasses('left'),attrs:{"data-qa":"dt-input-left-icon-wrapper"},on:{"focusout":_vm.onBlur}},[_vm._t("leftIcon")],2):_vm._e(),(_vm.isTextarea)?_c('textarea',_vm._g(_vm._b({ref:"input",class:_vm.inputClasses(),attrs:{"name":_vm.name,"disabled":_vm.disabled,"data-qa":"dt-input-input"},domProps:{"value":_vm.value}},'textarea',_vm.$attrs,false),_vm.inputListeners)):_c('input',_vm._g(_vm._b({ref:"input",class:_vm.inputClasses(),attrs:{"name":_vm.name,"type":_vm.type,"disabled":_vm.disabled,"data-qa":"dt-input-input"},domProps:{"value":_vm.value}},'input',_vm.$attrs,false),_vm.inputListeners)),(_vm.$slots.rightIcon)?_c('span',{class:_vm.inputIconClasses('right'),attrs:{"data-qa":"dt-input-right-icon-wrapper"},on:{"focusout":_vm.onBlur}},[_vm._t("rightIcon")],2):_vm._e()])],2),_c('dt-validation-messages',_vm._b({class:_vm.messagesClass,attrs:{"validation-messages":_vm.formattedMessages,"show-messages":_vm.showMessages,"data-qa":"dt-input-messages"}},'dt-validation-messages',_vm.messagesChildProps,false))],1)}
|
|
2656
|
+
var inputvue_type_template_id_0231bf39_staticRenderFns = []
|
|
2556
2657
|
|
|
2557
2658
|
|
|
2558
|
-
// CONCATENATED MODULE: ./components/input/input.vue?vue&type=template&id=
|
|
2659
|
+
// CONCATENATED MODULE: ./components/input/input.vue?vue&type=template&id=0231bf39&
|
|
2559
2660
|
|
|
2560
2661
|
// CONCATENATED MODULE: ./components/input/input_constants.js
|
|
2561
2662
|
// Valid input types, any other input types (for example: 'radio' or 'checkbox') should
|
|
@@ -2578,19 +2679,18 @@ const INPUT_SIZES = {
|
|
|
2578
2679
|
INPUT_TYPES,
|
|
2579
2680
|
INPUT_SIZES
|
|
2580
2681
|
});
|
|
2581
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2582
|
-
var
|
|
2682
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/validation_messages/validation_messages.vue?vue&type=template&id=6fb7180e&
|
|
2683
|
+
var validation_messagesvue_type_template_id_6fb7180e_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showMessages && !_vm.isFilteredValidationMessagesEmpty)?_c('div',{staticClass:"base-input__messages d-d-flex d-fd-column",attrs:{"data-qa":"validation-messages-container"}},_vm._l((_vm.filteredValidationMessages),function(ref,index){
|
|
2583
2684
|
var message = ref.message;
|
|
2584
2685
|
var type = ref.type;
|
|
2585
2686
|
return _c('div',{key:_vm.getMessageKey(type, index),class:[
|
|
2586
2687
|
'base-input__message',
|
|
2587
2688
|
'd-validation-message',
|
|
2588
|
-
("
|
|
2589
|
-
|
|
2590
|
-
var validation_messagesvue_type_template_id_7d26d3bb_staticRenderFns = []
|
|
2689
|
+
_vm.messageTypeClass(type) ],attrs:{"role":"status","aria-live":"polite","data-qa":"validation-message"}},[_c('p',{domProps:{"innerHTML":_vm._s(message)}})])}),0):_vm._e()}
|
|
2690
|
+
var validation_messagesvue_type_template_id_6fb7180e_staticRenderFns = []
|
|
2591
2691
|
|
|
2592
2692
|
|
|
2593
|
-
// CONCATENATED MODULE: ./components/validation_messages/validation_messages.vue?vue&type=template&id=
|
|
2693
|
+
// CONCATENATED MODULE: ./components/validation_messages/validation_messages.vue?vue&type=template&id=6fb7180e&
|
|
2594
2694
|
|
|
2595
2695
|
// CONCATENATED MODULE: ./components/validators.js
|
|
2596
2696
|
|
|
@@ -2638,7 +2738,6 @@ function validationMessageValidator(rawMessages) {
|
|
|
2638
2738
|
//
|
|
2639
2739
|
//
|
|
2640
2740
|
//
|
|
2641
|
-
//
|
|
2642
2741
|
|
|
2643
2742
|
|
|
2644
2743
|
/* harmony default export */ var validation_messagesvue_type_script_lang_js_ = ({
|
|
@@ -2691,6 +2790,15 @@ function validationMessageValidator(rawMessages) {
|
|
|
2691
2790
|
methods: {
|
|
2692
2791
|
getMessageKey(type, index) {
|
|
2693
2792
|
return `validation-message-${type}-${index}-${this.id}`;
|
|
2793
|
+
},
|
|
2794
|
+
|
|
2795
|
+
messageTypeClass(type) {
|
|
2796
|
+
const messageTypesClasses = {
|
|
2797
|
+
error: 'base-input__message--error d-validation-message--error',
|
|
2798
|
+
warning: 'base-input__message--warning d-validation-message--warning',
|
|
2799
|
+
success: 'base-input__message--success d-validation-message--success'
|
|
2800
|
+
};
|
|
2801
|
+
return messageTypesClasses[type];
|
|
2694
2802
|
}
|
|
2695
2803
|
|
|
2696
2804
|
}
|
|
@@ -2707,8 +2815,8 @@ function validationMessageValidator(rawMessages) {
|
|
|
2707
2815
|
|
|
2708
2816
|
var validation_messages_component = normalizeComponent(
|
|
2709
2817
|
validation_messages_validation_messagesvue_type_script_lang_js_,
|
|
2710
|
-
|
|
2711
|
-
|
|
2818
|
+
validation_messagesvue_type_template_id_6fb7180e_render,
|
|
2819
|
+
validation_messagesvue_type_template_id_6fb7180e_staticRenderFns,
|
|
2712
2820
|
false,
|
|
2713
2821
|
null,
|
|
2714
2822
|
null,
|
|
@@ -2845,6 +2953,18 @@ const InputMixin = {
|
|
|
2845
2953
|
this.internalValidationState = newValidationState;
|
|
2846
2954
|
}
|
|
2847
2955
|
|
|
2956
|
+
},
|
|
2957
|
+
methods: {
|
|
2958
|
+
/**
|
|
2959
|
+
* @param {Boolean | String} hasLabelOrLabel either a boolean indicating the label exists or the label itself
|
|
2960
|
+
* @param {String} ariaLabel the aria-label passed (null/undefined if it's not passed)
|
|
2961
|
+
*/
|
|
2962
|
+
validateInputLabels(hasLabelOrLabel, ariaLabel) {
|
|
2963
|
+
if (!hasLabelOrLabel && !ariaLabel) {
|
|
2964
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.util.warn('You must provide an aria-label when there is no label passed', this);
|
|
2965
|
+
}
|
|
2966
|
+
}
|
|
2967
|
+
|
|
2848
2968
|
}
|
|
2849
2969
|
};
|
|
2850
2970
|
/**
|
|
@@ -3235,7 +3355,24 @@ const MessagesMixin = {
|
|
|
3235
3355
|
default: ''
|
|
3236
3356
|
}
|
|
3237
3357
|
},
|
|
3238
|
-
emits: ['blur', 'input', 'clear'],
|
|
3358
|
+
emits: ['blur', 'input', 'clear', 'focusin', 'focusout'],
|
|
3359
|
+
|
|
3360
|
+
data() {
|
|
3361
|
+
return {
|
|
3362
|
+
descriptionSizeClasses: {
|
|
3363
|
+
lg: 'd-description--lg',
|
|
3364
|
+
xl: 'd-description--xl'
|
|
3365
|
+
},
|
|
3366
|
+
labelSizeClasses: {
|
|
3367
|
+
xs: 'd-label--xs',
|
|
3368
|
+
sm: 'd-label--sm',
|
|
3369
|
+
md: 'd-label--md',
|
|
3370
|
+
lg: 'd-label--lg',
|
|
3371
|
+
xl: 'd-label--xl'
|
|
3372
|
+
}
|
|
3373
|
+
};
|
|
3374
|
+
},
|
|
3375
|
+
|
|
3239
3376
|
computed: {
|
|
3240
3377
|
isTextarea() {
|
|
3241
3378
|
return this.type === INPUT_TYPES.TEXTAREA;
|
|
@@ -3290,22 +3427,58 @@ const MessagesMixin = {
|
|
|
3290
3427
|
return '';
|
|
3291
3428
|
}
|
|
3292
3429
|
|
|
3293
|
-
|
|
3430
|
+
const sizeClasses = {
|
|
3431
|
+
input: {
|
|
3432
|
+
xs: 'd-input--xs',
|
|
3433
|
+
sm: 'd-input--sm',
|
|
3434
|
+
lg: 'd-input--lg',
|
|
3435
|
+
xl: 'd-input--xl'
|
|
3436
|
+
},
|
|
3437
|
+
textarea: {
|
|
3438
|
+
xs: 'd-textarea--xs',
|
|
3439
|
+
sm: 'd-textarea--sm',
|
|
3440
|
+
lg: 'd-textarea--lg',
|
|
3441
|
+
xl: 'd-textarea--xl'
|
|
3442
|
+
}
|
|
3443
|
+
};
|
|
3444
|
+
return sizeClasses[this.inputComponent][this.size];
|
|
3294
3445
|
}
|
|
3295
3446
|
|
|
3296
3447
|
},
|
|
3297
3448
|
methods: {
|
|
3298
3449
|
inputClasses() {
|
|
3299
|
-
|
|
3300
|
-
|
|
3450
|
+
const inputStateClasses = {
|
|
3451
|
+
input: {
|
|
3452
|
+
error: 'd-input--error base-input__input--error',
|
|
3453
|
+
warning: 'd-input--warning base-input__input--warning',
|
|
3454
|
+
success: 'd-input--success base-input__input--success'
|
|
3455
|
+
},
|
|
3456
|
+
textarea: {
|
|
3457
|
+
error: 'd-textarea--error base-input__input--error',
|
|
3458
|
+
warning: 'd-textarea--warning base-input__input--warning',
|
|
3459
|
+
success: 'd-textarea--success base-input__input--success'
|
|
3460
|
+
}
|
|
3461
|
+
};
|
|
3462
|
+
return ['base-input__input', this.inputComponent === 'input' ? 'd-input' : 'd-textarea', {
|
|
3463
|
+
[inputStateClasses[this.inputComponent][this.inputState]]: this.showInputState,
|
|
3301
3464
|
'd-input-icon--left': this.$slots.leftIcon,
|
|
3302
3465
|
'd-input-icon--right': this.$slots.rightIcon
|
|
3303
3466
|
}, this.sizeModifierClass, this.inputClass];
|
|
3304
3467
|
},
|
|
3305
3468
|
|
|
3306
3469
|
inputIconClasses(side) {
|
|
3307
|
-
|
|
3308
|
-
|
|
3470
|
+
const iconSizeClasses = {
|
|
3471
|
+
xs: 'd-input-icon--xs',
|
|
3472
|
+
sm: 'd-input-icon--sm',
|
|
3473
|
+
lg: 'd-input-icon--lg',
|
|
3474
|
+
xl: 'd-input-icon--xl'
|
|
3475
|
+
};
|
|
3476
|
+
const iconOrientationClasses = {
|
|
3477
|
+
left: 'base-input__icon--left d-input-icon--left',
|
|
3478
|
+
right: 'base-input__icon--right d-input-icon--right'
|
|
3479
|
+
};
|
|
3480
|
+
return [iconOrientationClasses[side], 'd-input-icon', {
|
|
3481
|
+
[iconSizeClasses[this.size]]: !this.isDefaultSize
|
|
3309
3482
|
}];
|
|
3310
3483
|
},
|
|
3311
3484
|
|
|
@@ -3353,8 +3526,8 @@ const MessagesMixin = {
|
|
|
3353
3526
|
|
|
3354
3527
|
var input_component = normalizeComponent(
|
|
3355
3528
|
input_inputvue_type_script_lang_js_,
|
|
3356
|
-
|
|
3357
|
-
|
|
3529
|
+
inputvue_type_template_id_0231bf39_render,
|
|
3530
|
+
inputvue_type_template_id_0231bf39_staticRenderFns,
|
|
3358
3531
|
false,
|
|
3359
3532
|
null,
|
|
3360
3533
|
null,
|
|
@@ -3366,7 +3539,7 @@ var input_component = normalizeComponent(
|
|
|
3366
3539
|
// CONCATENATED MODULE: ./components/input/index.js
|
|
3367
3540
|
|
|
3368
3541
|
|
|
3369
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3542
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/input_group/input_group.vue?vue&type=template&id=34acc7c9&
|
|
3370
3543
|
var input_groupvue_type_template_id_34acc7c9_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('fieldset',{attrs:{"data-qa":_vm.dataQaGroup}},[(_vm.$slots.legend || _vm.legend)?_c('legend',_vm._b({class:['d-label', _vm.legendClass],attrs:{"data-qa":_vm.dataQaGroupLegend}},'legend',_vm.legendChildProps,false),[_vm._t("legend",[_vm._v(" "+_vm._s(_vm.legend)+" ")])],2):_vm._e(),_vm._t("default"),_c('dt-validation-messages',_vm._b({class:_vm.messagesClass,attrs:{"validation-messages":_vm.formattedMessages,"show-messages":_vm.showMessages,"data-qa":_vm.dataQaGroupMessages}},'dt-validation-messages',_vm.messagesChildProps,false))],2)}
|
|
3371
3544
|
var input_groupvue_type_template_id_34acc7c9_staticRenderFns = []
|
|
3372
3545
|
|
|
@@ -3661,16 +3834,16 @@ var input_group_component = normalizeComponent(
|
|
|
3661
3834
|
/* harmony default export */ var input_group_input_group = (input_group_component.exports);
|
|
3662
3835
|
// CONCATENATED MODULE: ./components/input_group/index.js
|
|
3663
3836
|
|
|
3664
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3665
|
-
var
|
|
3837
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/modal/modal.vue?vue&type=template&id=76e6f72c&
|
|
3838
|
+
var modalvue_type_template_id_76e6f72c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-lazy-show',{class:[
|
|
3666
3839
|
'd-modal',
|
|
3667
3840
|
_vm.MODAL_KIND_MODIFIERS[_vm.kind],
|
|
3668
3841
|
_vm.MODAL_SIZE_MODIFIERS[_vm.size],
|
|
3669
|
-
_vm.modalClass ],attrs:{"data-qa":"dt-modal","aria-hidden":_vm.open},on:{"click":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.close($event)},"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"esc",27,$event.key,["Esc","Escape"])){ return null; }return _vm.close($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"tab",9,$event.key,"Tab")){ return null; }return _vm.trapFocus($event)}],"
|
|
3670
|
-
var
|
|
3842
|
+
_vm.modalClass ],attrs:{"transition":"d-modal","show":_vm.show,"data-qa":"dt-modal","aria-hidden":_vm.open},on:{"click":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.close($event)},"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"esc",27,$event.key,["Esc","Escape"])){ return null; }return _vm.close($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"tab",9,$event.key,"Tab")){ return null; }return _vm.trapFocus($event)}],"after-enter":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.setFocusAfterTransition($event)}}},[_c('transition',{attrs:{"appear":"","name":"d-modal__dialog"}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}],staticClass:"d-modal__dialog",attrs:{"role":"dialog","aria-modal":"true","aria-describedby":_vm.describedById,"aria-labelledby":_vm.labelledById}},[(_vm.$slots.header)?_c('div',{staticClass:"d-modal__header",attrs:{"id":_vm.labelledById,"data-qa":"dt-modal-title"}},[_vm._t("header")],2):_c('h2',{staticClass:"d-modal__header",attrs:{"id":_vm.labelledById,"data-qa":"dt-modal-title"}},[_vm._v(" "+_vm._s(_vm.title)+" ")]),(_vm.$slots.default)?_c('div',{staticClass:"d-modal__content",attrs:{"data-qa":"dt-modal-copy"}},[_vm._t("default")],2):_c('p',{staticClass:"d-modal__content",attrs:{"data-qa":"dt-modal-copy"}},[_vm._v(" "+_vm._s(_vm.copy)+" ")]),(_vm.hasFooterSlot)?_c('footer',{staticClass:"d-modal__footer"},[_vm._t("footer")],2):_vm._e(),(!_vm.hideClose)?_c('dt-button',_vm._b({staticClass:"d-modal__close",attrs:{"circle":"","size":"lg","importance":"clear","aria-label":_vm.closeButtonProps.ariaLabel,"kind":_vm.kind},on:{"click":_vm.close},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('icon-close')]},proxy:true}],null,false,4267981299)},'dt-button',_vm.closeButtonProps,false)):_vm._e()],1)])],1)}
|
|
3843
|
+
var modalvue_type_template_id_76e6f72c_staticRenderFns = []
|
|
3671
3844
|
|
|
3672
3845
|
|
|
3673
|
-
// CONCATENATED MODULE: ./components/modal/modal.vue?vue&type=template&id=
|
|
3846
|
+
// CONCATENATED MODULE: ./components/modal/modal.vue?vue&type=template&id=76e6f72c&
|
|
3674
3847
|
|
|
3675
3848
|
// CONCATENATED MODULE: ./components/modal/modal_constants.js
|
|
3676
3849
|
// Modal style modifiers
|
|
@@ -3683,6 +3856,90 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
3683
3856
|
default: '',
|
|
3684
3857
|
full: 'd-modal--full'
|
|
3685
3858
|
};
|
|
3859
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/lazy_show/lazy_show.vue?vue&type=template&id=5deb023a&
|
|
3860
|
+
var lazy_showvue_type_template_id_5deb023a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',_vm._g({attrs:{"name":_vm.transition}},_vm.$listeners),[_c('div',_vm._g({directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}]},_vm.$listeners),[(_vm.initialized)?_vm._t("default"):_vm._e()],2)])}
|
|
3861
|
+
var lazy_showvue_type_template_id_5deb023a_staticRenderFns = []
|
|
3862
|
+
|
|
3863
|
+
|
|
3864
|
+
// CONCATENATED MODULE: ./components/lazy_show/lazy_show.vue?vue&type=template&id=5deb023a&
|
|
3865
|
+
|
|
3866
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/lazy_show/lazy_show.vue?vue&type=script&lang=js&
|
|
3867
|
+
//
|
|
3868
|
+
//
|
|
3869
|
+
//
|
|
3870
|
+
//
|
|
3871
|
+
//
|
|
3872
|
+
//
|
|
3873
|
+
//
|
|
3874
|
+
//
|
|
3875
|
+
//
|
|
3876
|
+
//
|
|
3877
|
+
//
|
|
3878
|
+
//
|
|
3879
|
+
//
|
|
3880
|
+
//
|
|
3881
|
+
/* harmony default export */ var lazy_showvue_type_script_lang_js_ = ({
|
|
3882
|
+
name: 'DtLazyShow',
|
|
3883
|
+
|
|
3884
|
+
/******************
|
|
3885
|
+
* PROPS *
|
|
3886
|
+
******************/
|
|
3887
|
+
props: {
|
|
3888
|
+
/**
|
|
3889
|
+
* Whether the child slot is shown.
|
|
3890
|
+
*/
|
|
3891
|
+
show: Boolean,
|
|
3892
|
+
|
|
3893
|
+
/**
|
|
3894
|
+
* A valid Vue enter/leave CSS transition name.
|
|
3895
|
+
*/
|
|
3896
|
+
transition: {
|
|
3897
|
+
type: String,
|
|
3898
|
+
default: null
|
|
3899
|
+
}
|
|
3900
|
+
},
|
|
3901
|
+
|
|
3902
|
+
/******************
|
|
3903
|
+
* DATA *
|
|
3904
|
+
******************/
|
|
3905
|
+
data() {
|
|
3906
|
+
return {
|
|
3907
|
+
initialized: !!this.show
|
|
3908
|
+
};
|
|
3909
|
+
},
|
|
3910
|
+
|
|
3911
|
+
/******************
|
|
3912
|
+
* WATCH *
|
|
3913
|
+
******************/
|
|
3914
|
+
watch: {
|
|
3915
|
+
show: function (newValue) {
|
|
3916
|
+
if (!newValue || this.initialized) return;
|
|
3917
|
+
this.initialized = true;
|
|
3918
|
+
}
|
|
3919
|
+
}
|
|
3920
|
+
});
|
|
3921
|
+
// CONCATENATED MODULE: ./components/lazy_show/lazy_show.vue?vue&type=script&lang=js&
|
|
3922
|
+
/* harmony default export */ var lazy_show_lazy_showvue_type_script_lang_js_ = (lazy_showvue_type_script_lang_js_);
|
|
3923
|
+
// CONCATENATED MODULE: ./components/lazy_show/lazy_show.vue
|
|
3924
|
+
|
|
3925
|
+
|
|
3926
|
+
|
|
3927
|
+
|
|
3928
|
+
|
|
3929
|
+
/* normalize component */
|
|
3930
|
+
|
|
3931
|
+
var lazy_show_component = normalizeComponent(
|
|
3932
|
+
lazy_show_lazy_showvue_type_script_lang_js_,
|
|
3933
|
+
lazy_showvue_type_template_id_5deb023a_render,
|
|
3934
|
+
lazy_showvue_type_template_id_5deb023a_staticRenderFns,
|
|
3935
|
+
false,
|
|
3936
|
+
null,
|
|
3937
|
+
null,
|
|
3938
|
+
null
|
|
3939
|
+
|
|
3940
|
+
)
|
|
3941
|
+
|
|
3942
|
+
/* harmony default export */ var lazy_show = (lazy_show_component.exports);
|
|
3686
3943
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/modal/modal.vue?vue&type=script&lang=js&
|
|
3687
3944
|
//
|
|
3688
3945
|
//
|
|
@@ -3764,6 +4021,15 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
3764
4021
|
//
|
|
3765
4022
|
//
|
|
3766
4023
|
//
|
|
4024
|
+
//
|
|
4025
|
+
//
|
|
4026
|
+
//
|
|
4027
|
+
//
|
|
4028
|
+
//
|
|
4029
|
+
//
|
|
4030
|
+
//
|
|
4031
|
+
//
|
|
4032
|
+
|
|
3767
4033
|
|
|
3768
4034
|
|
|
3769
4035
|
|
|
@@ -3777,6 +4043,7 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
3777
4043
|
/* harmony default export */ var modalvue_type_script_lang_js_ = ({
|
|
3778
4044
|
name: 'DtModal',
|
|
3779
4045
|
components: {
|
|
4046
|
+
DtLazyShow: lazy_show,
|
|
3780
4047
|
DtButton: button_button,
|
|
3781
4048
|
IconClose: IconClose
|
|
3782
4049
|
},
|
|
@@ -3876,6 +4143,7 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
3876
4143
|
default: false
|
|
3877
4144
|
}
|
|
3878
4145
|
},
|
|
4146
|
+
emits: ['update:show'],
|
|
3879
4147
|
|
|
3880
4148
|
data() {
|
|
3881
4149
|
return {
|
|
@@ -3918,16 +4186,7 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
3918
4186
|
this.$emit('update:show', false);
|
|
3919
4187
|
},
|
|
3920
4188
|
|
|
3921
|
-
setFocusAfterTransition({
|
|
3922
|
-
propertyName
|
|
3923
|
-
}) {
|
|
3924
|
-
// We only focus if the dialog is showing, and 'transform' seems to be the most reliable property to track.
|
|
3925
|
-
// Note: 'visibility' would be an ideal prop to watch here, but it doesn't fire if the previous close transition
|
|
3926
|
-
// was still in progress, making it a little flakey when quickly opening/closing a modal repeatedly.
|
|
3927
|
-
if (!this.show || propertyName !== 'transform') {
|
|
3928
|
-
return;
|
|
3929
|
-
}
|
|
3930
|
-
|
|
4189
|
+
setFocusAfterTransition() {
|
|
3931
4190
|
this.focusFirstElement();
|
|
3932
4191
|
},
|
|
3933
4192
|
|
|
@@ -3941,18 +4200,22 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
3941
4200
|
});
|
|
3942
4201
|
// CONCATENATED MODULE: ./components/modal/modal.vue?vue&type=script&lang=js&
|
|
3943
4202
|
/* harmony default export */ var modal_modalvue_type_script_lang_js_ = (modalvue_type_script_lang_js_);
|
|
4203
|
+
// EXTERNAL MODULE: ./components/modal/modal.vue?vue&type=style&index=0&lang=less&
|
|
4204
|
+
var modalvue_type_style_index_0_lang_less_ = __webpack_require__("e55c");
|
|
4205
|
+
|
|
3944
4206
|
// CONCATENATED MODULE: ./components/modal/modal.vue
|
|
3945
4207
|
|
|
3946
4208
|
|
|
3947
4209
|
|
|
3948
4210
|
|
|
3949
4211
|
|
|
4212
|
+
|
|
3950
4213
|
/* normalize component */
|
|
3951
4214
|
|
|
3952
4215
|
var modal_component = normalizeComponent(
|
|
3953
4216
|
modal_modalvue_type_script_lang_js_,
|
|
3954
|
-
|
|
3955
|
-
|
|
4217
|
+
modalvue_type_template_id_76e6f72c_render,
|
|
4218
|
+
modalvue_type_template_id_76e6f72c_staticRenderFns,
|
|
3956
4219
|
false,
|
|
3957
4220
|
null,
|
|
3958
4221
|
null,
|
|
@@ -3964,98 +4227,21 @@ var modal_component = normalizeComponent(
|
|
|
3964
4227
|
// CONCATENATED MODULE: ./components/modal/index.js
|
|
3965
4228
|
|
|
3966
4229
|
|
|
3967
|
-
// CONCATENATED MODULE: ./
|
|
3968
|
-
var lazy_showvue_type_template_id_25b42290_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"name":_vm.transition}},[_c('div',_vm._g({directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}]},_vm.$listeners),[(_vm.initialized)?_vm._t("default"):_vm._e()],2)])}
|
|
3969
|
-
var lazy_showvue_type_template_id_25b42290_staticRenderFns = []
|
|
4230
|
+
// CONCATENATED MODULE: ./components/lazy_show/index.js
|
|
3970
4231
|
|
|
4232
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/list_section/list_section.vue?vue&type=template&id=0285311e&
|
|
4233
|
+
var list_sectionvue_type_template_id_0285311e_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['dt-list-section', 'd-fs14', 'd-lh6', 'd-py6', 'd-bc-black-200',
|
|
4234
|
+
{ 'd-bb': _vm.separator }],attrs:{"id":_vm.id,"role":"group","aria-labelledby":(_vm.id + "-list-section-header"),"tabindex":"-1"}},[(_vm.header)?_c('h3',{staticClass:"d-pl12 d-mt6",attrs:{"id":(_vm.id + "-list-section-header")}},[_vm._v(" "+_vm._s(_vm.header)+" ")]):_vm._e(),(!_vm.isCollapsible || _vm.showAll)?_c('ol',{attrs:{"id":(_vm.id + "-list-section-content")}},[_vm._t("default")],2):_c('ol',{attrs:{"id":(_vm.id + "-list-section-content")}},[_c('vnodes',{attrs:{"vnodes":_vm.displayedItems}})],1),_c('div',{staticClass:"d-d-flex"},[(_vm.isCollapsible)?_c('dt-button',{staticClass:"d-ml12 d-py6",attrs:{"id":(_vm.id + "-list-section-show-more-less"),"link":""},on:{"click":_vm.showMoreLessClicked}},[_vm._v(" "+_vm._s(_vm.showMoreLessText)+" ")]):_vm._e(),_vm._t("footer")],2)])}
|
|
4235
|
+
var list_sectionvue_type_template_id_0285311e_staticRenderFns = []
|
|
3971
4236
|
|
|
3972
|
-
// CONCATENATED MODULE: ./components/lazy_show/lazy_show.vue?vue&type=template&id=25b42290&
|
|
3973
4237
|
|
|
3974
|
-
// CONCATENATED MODULE: ./
|
|
3975
|
-
|
|
3976
|
-
//
|
|
3977
|
-
//
|
|
3978
|
-
//
|
|
3979
|
-
//
|
|
3980
|
-
//
|
|
3981
|
-
//
|
|
4238
|
+
// CONCATENATED MODULE: ./components/list_section/list_section.vue?vue&type=template&id=0285311e&
|
|
4239
|
+
|
|
4240
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/list_section/list_section.vue?vue&type=script&lang=js&
|
|
3982
4241
|
//
|
|
3983
4242
|
//
|
|
3984
4243
|
//
|
|
3985
4244
|
//
|
|
3986
|
-
/* harmony default export */ var lazy_showvue_type_script_lang_js_ = ({
|
|
3987
|
-
name: 'DtLazyShow',
|
|
3988
|
-
|
|
3989
|
-
/******************
|
|
3990
|
-
* PROPS *
|
|
3991
|
-
******************/
|
|
3992
|
-
props: {
|
|
3993
|
-
/**
|
|
3994
|
-
* Whether the child slot is shown.
|
|
3995
|
-
*/
|
|
3996
|
-
show: Boolean,
|
|
3997
|
-
|
|
3998
|
-
/**
|
|
3999
|
-
* A valid Vue enter/leave CSS transition name.
|
|
4000
|
-
*/
|
|
4001
|
-
transition: {
|
|
4002
|
-
type: String,
|
|
4003
|
-
default: null
|
|
4004
|
-
}
|
|
4005
|
-
},
|
|
4006
|
-
|
|
4007
|
-
/******************
|
|
4008
|
-
* DATA *
|
|
4009
|
-
******************/
|
|
4010
|
-
data() {
|
|
4011
|
-
return {
|
|
4012
|
-
initialized: !!this.show
|
|
4013
|
-
};
|
|
4014
|
-
},
|
|
4015
|
-
|
|
4016
|
-
/******************
|
|
4017
|
-
* WATCH *
|
|
4018
|
-
******************/
|
|
4019
|
-
watch: {
|
|
4020
|
-
show: function (newValue) {
|
|
4021
|
-
if (!newValue || this.initialized) return;
|
|
4022
|
-
this.initialized = true;
|
|
4023
|
-
}
|
|
4024
|
-
}
|
|
4025
|
-
});
|
|
4026
|
-
// CONCATENATED MODULE: ./components/lazy_show/lazy_show.vue?vue&type=script&lang=js&
|
|
4027
|
-
/* harmony default export */ var lazy_show_lazy_showvue_type_script_lang_js_ = (lazy_showvue_type_script_lang_js_);
|
|
4028
|
-
// CONCATENATED MODULE: ./components/lazy_show/lazy_show.vue
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
/* normalize component */
|
|
4035
|
-
|
|
4036
|
-
var lazy_show_component = normalizeComponent(
|
|
4037
|
-
lazy_show_lazy_showvue_type_script_lang_js_,
|
|
4038
|
-
lazy_showvue_type_template_id_25b42290_render,
|
|
4039
|
-
lazy_showvue_type_template_id_25b42290_staticRenderFns,
|
|
4040
|
-
false,
|
|
4041
|
-
null,
|
|
4042
|
-
null,
|
|
4043
|
-
null
|
|
4044
|
-
|
|
4045
|
-
)
|
|
4046
|
-
|
|
4047
|
-
/* harmony default export */ var lazy_show = (lazy_show_component.exports);
|
|
4048
|
-
// CONCATENATED MODULE: ./components/lazy_show/index.js
|
|
4049
|
-
|
|
4050
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0a246294-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/list_section/list_section.vue?vue&type=template&id=2493c7b1&
|
|
4051
|
-
var list_sectionvue_type_template_id_2493c7b1_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['dt-list-section', 'd-fs14', 'd-lh6', 'd-py6', 'd-bc-black-200',
|
|
4052
|
-
{ 'd-bb': _vm.separator }],attrs:{"id":_vm.id,"role":"group","aria-labelledby":(_vm.id + "-list-section-header"),"tabindex":"-1"}},[(_vm.header)?_c('h3',{staticClass:"d-pl16 d-mt6",attrs:{"id":(_vm.id + "-list-section-header")}},[_vm._v(" "+_vm._s(_vm.header)+" ")]):_vm._e(),(!_vm.isCollapsible || _vm.showAll)?_c('ol',{attrs:{"id":(_vm.id + "-list-section-content")}},[_vm._t("default")],2):_c('ol',{attrs:{"id":(_vm.id + "-list-section-content")}},[_c('vnodes',{attrs:{"vnodes":_vm.displayedItems}})],1),(_vm.isCollapsible)?_c('dt-button',{staticClass:"d-ml16 d-py6",attrs:{"id":(_vm.id + "-list-section-show-more-less"),"link":""},on:{"click":_vm.showMoreLessClicked}},[_vm._v(" "+_vm._s(_vm.showMoreLessText)+" ")]):_vm._e()],1)}
|
|
4053
|
-
var list_sectionvue_type_template_id_2493c7b1_staticRenderFns = []
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
// CONCATENATED MODULE: ./components/list_section/list_section.vue?vue&type=template&id=2493c7b1&
|
|
4057
|
-
|
|
4058
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/list_section/list_section.vue?vue&type=script&lang=js&
|
|
4059
4245
|
//
|
|
4060
4246
|
//
|
|
4061
4247
|
//
|
|
@@ -4105,6 +4291,7 @@ var list_sectionvue_type_template_id_2493c7b1_staticRenderFns = []
|
|
|
4105
4291
|
- Can add border lines to visually separate the section
|
|
4106
4292
|
- Allows a list to have a max number of visible items, and any items
|
|
4107
4293
|
above the max you'd press "show more" to display.
|
|
4294
|
+
- Allows to add additional content to list footer.
|
|
4108
4295
|
*/
|
|
4109
4296
|
|
|
4110
4297
|
|
|
@@ -4214,8 +4401,8 @@ var list_sectionvue_type_style_index_0_lang_less_ = __webpack_require__("fc89");
|
|
|
4214
4401
|
|
|
4215
4402
|
var list_section_component = normalizeComponent(
|
|
4216
4403
|
list_section_list_sectionvue_type_script_lang_js_,
|
|
4217
|
-
|
|
4218
|
-
|
|
4404
|
+
list_sectionvue_type_template_id_0285311e_render,
|
|
4405
|
+
list_sectionvue_type_template_id_0285311e_staticRenderFns,
|
|
4219
4406
|
false,
|
|
4220
4407
|
null,
|
|
4221
4408
|
null,
|
|
@@ -4226,14 +4413,110 @@ var list_section_component = normalizeComponent(
|
|
|
4226
4413
|
/* harmony default export */ var list_section = (list_section_component.exports);
|
|
4227
4414
|
// CONCATENATED MODULE: ./components/list_section/index.js
|
|
4228
4415
|
|
|
4229
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4230
|
-
var
|
|
4231
|
-
|
|
4232
|
-
|
|
4416
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/list_item/list_item.vue?vue&type=template&id=42009112&
|
|
4417
|
+
var list_itemvue_type_template_id_42009112_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.elementType,{tag:"component",class:['dt-list-item d-ls-none', {
|
|
4418
|
+
'dt-list-item--focusable': _vm.isFocusable,
|
|
4419
|
+
'dt-list-item--highlighted': _vm.isHighlighted,
|
|
4420
|
+
}],attrs:{"id":_vm.id,"tabindex":_vm.isFocusable ? 0 : -1,"role":_vm.role,"aria-selected":_vm.isHighlighted},on:_vm._d({"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.onClick($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"space",32,$event.key,[" ","Spacebar"])){ return null; }return _vm.onClick($event)}],"click":_vm.onClick},[_vm.maybeMouseMove,_vm.onMouseMove])},[(_vm.listItemType)?_c(_vm.listItemType,{tag:"component",scopedSlots:_vm._u([_vm._l((_vm.$slots),function(_,slotName){return {key:slotName,fn:function(){return [_vm._t(slotName)]},proxy:true}})],null,true)}):_vm._t("default")],2)}
|
|
4421
|
+
var list_itemvue_type_template_id_42009112_staticRenderFns = []
|
|
4422
|
+
|
|
4423
|
+
|
|
4424
|
+
// CONCATENATED MODULE: ./components/list_item/list_item.vue?vue&type=template&id=42009112&
|
|
4425
|
+
|
|
4426
|
+
// CONCATENATED MODULE: ./components/list_item/list_item_constants.js
|
|
4427
|
+
const LIST_ITEM_TYPES = {
|
|
4428
|
+
DEFAULT: 'default',
|
|
4429
|
+
CUSTOM: 'custom'
|
|
4430
|
+
};
|
|
4431
|
+
const LIST_ITEM_NAVIGATION_TYPES = {
|
|
4432
|
+
ARROW_KEYS: 'arrow-keys',
|
|
4433
|
+
TAB: 'tab',
|
|
4434
|
+
NONE: 'none'
|
|
4435
|
+
};
|
|
4436
|
+
/* harmony default export */ var list_item_constants = ({
|
|
4437
|
+
LIST_ITEM_TYPES,
|
|
4438
|
+
LIST_ITEM_NAVIGATION_TYPES
|
|
4439
|
+
});
|
|
4440
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/list_item/default_list_item.vue?vue&type=template&id=42285ca2&
|
|
4441
|
+
var default_list_itemvue_type_template_id_42285ca2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"dt-default-list-item d-fs14 d-lh4 d-py2 d-px12 d-d-flex d-ai-center"},[(_vm.$slots.left)?_c('section',{staticClass:"dt-default-list-item--left d-d-inline-flex d-as-flex-start d-d-flex d-ai-center d-pr8",attrs:{"data-qa":"dt-default-list-item-left-wrapper"}},[_vm._t("left")],2):_vm._e(),_c('section',{staticClass:"d-fl-grow1"},[(_vm.$slots.default)?_c('div',[_vm._t("default")],2):_vm._e(),(_vm.$slots.subtitle)?_c('div',{class:['d-fs12 d-fc-black-500', { 'd-mtn2': _vm.$slots.default }],attrs:{"data-qa":"dt-default-list-item-subtitle-wrapper"}},[_vm._t("subtitle")],2):_vm._e(),(_vm.$slots.bottom)?_c('div',{staticClass:"d-mt2",attrs:{"data-qa":"dt-default-list-item-bottom-wrapper"}},[_vm._t("bottom")],2):_vm._e()]),(_vm.$slots.right)?_c('section',{staticClass:"dt-default-list-item--right d-d-inline-flex d-as-flex-start d-d-flex d-ai-center d-pl8",attrs:{"data-qa":"dt-default-list-item-right-wrapper"}},[_vm._t("right")],2):_vm._e()])}
|
|
4442
|
+
var default_list_itemvue_type_template_id_42285ca2_staticRenderFns = []
|
|
4443
|
+
|
|
4444
|
+
|
|
4445
|
+
// CONCATENATED MODULE: ./components/list_item/default_list_item.vue?vue&type=template&id=42285ca2&
|
|
4446
|
+
|
|
4447
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/list_item/default_list_item.vue?vue&type=script&lang=js&
|
|
4448
|
+
//
|
|
4449
|
+
//
|
|
4450
|
+
//
|
|
4451
|
+
//
|
|
4452
|
+
//
|
|
4453
|
+
//
|
|
4454
|
+
//
|
|
4455
|
+
//
|
|
4456
|
+
//
|
|
4457
|
+
//
|
|
4458
|
+
//
|
|
4459
|
+
//
|
|
4460
|
+
//
|
|
4461
|
+
//
|
|
4462
|
+
//
|
|
4463
|
+
//
|
|
4464
|
+
//
|
|
4465
|
+
//
|
|
4466
|
+
//
|
|
4467
|
+
//
|
|
4468
|
+
//
|
|
4469
|
+
//
|
|
4470
|
+
//
|
|
4471
|
+
//
|
|
4472
|
+
//
|
|
4473
|
+
//
|
|
4474
|
+
//
|
|
4475
|
+
//
|
|
4476
|
+
//
|
|
4477
|
+
//
|
|
4478
|
+
//
|
|
4479
|
+
//
|
|
4480
|
+
//
|
|
4481
|
+
//
|
|
4482
|
+
//
|
|
4483
|
+
//
|
|
4484
|
+
//
|
|
4485
|
+
//
|
|
4486
|
+
//
|
|
4487
|
+
//
|
|
4488
|
+
//
|
|
4489
|
+
//
|
|
4490
|
+
//
|
|
4491
|
+
/* harmony default export */ var default_list_itemvue_type_script_lang_js_ = ({
|
|
4492
|
+
name: 'DefaultListItem'
|
|
4493
|
+
});
|
|
4494
|
+
// CONCATENATED MODULE: ./components/list_item/default_list_item.vue?vue&type=script&lang=js&
|
|
4495
|
+
/* harmony default export */ var list_item_default_list_itemvue_type_script_lang_js_ = (default_list_itemvue_type_script_lang_js_);
|
|
4496
|
+
// EXTERNAL MODULE: ./components/list_item/default_list_item.vue?vue&type=style&index=0&lang=less&
|
|
4497
|
+
var default_list_itemvue_type_style_index_0_lang_less_ = __webpack_require__("b8b3");
|
|
4498
|
+
|
|
4499
|
+
// CONCATENATED MODULE: ./components/list_item/default_list_item.vue
|
|
4500
|
+
|
|
4501
|
+
|
|
4502
|
+
|
|
4503
|
+
|
|
4233
4504
|
|
|
4234
4505
|
|
|
4235
|
-
|
|
4506
|
+
/* normalize component */
|
|
4507
|
+
|
|
4508
|
+
var default_list_item_component = normalizeComponent(
|
|
4509
|
+
list_item_default_list_itemvue_type_script_lang_js_,
|
|
4510
|
+
default_list_itemvue_type_template_id_42285ca2_render,
|
|
4511
|
+
default_list_itemvue_type_template_id_42285ca2_staticRenderFns,
|
|
4512
|
+
false,
|
|
4513
|
+
null,
|
|
4514
|
+
null,
|
|
4515
|
+
null
|
|
4516
|
+
|
|
4517
|
+
)
|
|
4236
4518
|
|
|
4519
|
+
/* harmony default export */ var default_list_item = (default_list_item_component.exports);
|
|
4237
4520
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/list_item/list_item.vue?vue&type=script&lang=js&
|
|
4238
4521
|
//
|
|
4239
4522
|
//
|
|
@@ -4252,12 +4535,32 @@ var list_itemvue_type_template_id_4ae41e30_staticRenderFns = []
|
|
|
4252
4535
|
//
|
|
4253
4536
|
//
|
|
4254
4537
|
//
|
|
4255
|
-
//
|
|
4256
|
-
//
|
|
4538
|
+
//
|
|
4539
|
+
//
|
|
4540
|
+
//
|
|
4541
|
+
//
|
|
4542
|
+
//
|
|
4543
|
+
//
|
|
4544
|
+
//
|
|
4545
|
+
//
|
|
4546
|
+
//
|
|
4547
|
+
//
|
|
4548
|
+
//
|
|
4549
|
+
//
|
|
4550
|
+
//
|
|
4551
|
+
//
|
|
4552
|
+
|
|
4553
|
+
|
|
4257
4554
|
|
|
4258
4555
|
/* harmony default export */ var list_itemvue_type_script_lang_js_ = ({
|
|
4259
4556
|
name: 'ListItem',
|
|
4557
|
+
components: {
|
|
4558
|
+
DtDefaultListItem: default_list_item
|
|
4559
|
+
},
|
|
4260
4560
|
props: {
|
|
4561
|
+
/**
|
|
4562
|
+
* Id for the item.
|
|
4563
|
+
*/
|
|
4261
4564
|
id: {
|
|
4262
4565
|
type: String,
|
|
4263
4566
|
|
|
@@ -4266,20 +4569,131 @@ var list_itemvue_type_template_id_4ae41e30_staticRenderFns = []
|
|
|
4266
4569
|
}
|
|
4267
4570
|
|
|
4268
4571
|
},
|
|
4572
|
+
|
|
4573
|
+
/**
|
|
4574
|
+
* String to use for the item's role.
|
|
4575
|
+
*/
|
|
4269
4576
|
role: {
|
|
4270
4577
|
type: String,
|
|
4271
4578
|
default: 'listitem'
|
|
4272
4579
|
},
|
|
4273
|
-
|
|
4580
|
+
|
|
4581
|
+
/**
|
|
4582
|
+
* The type of element to use for the wrapper.
|
|
4583
|
+
*/
|
|
4584
|
+
elementType: {
|
|
4585
|
+
type: String,
|
|
4586
|
+
default: 'li'
|
|
4587
|
+
},
|
|
4588
|
+
|
|
4589
|
+
/**
|
|
4590
|
+
* The type of child list item to use.
|
|
4591
|
+
*/
|
|
4592
|
+
type: {
|
|
4593
|
+
type: String,
|
|
4594
|
+
default: LIST_ITEM_TYPES.DEFAULT,
|
|
4595
|
+
validator: t => Object.values(LIST_ITEM_TYPES).includes(t)
|
|
4596
|
+
},
|
|
4597
|
+
|
|
4598
|
+
/**
|
|
4599
|
+
* The type of navigation that this component should support.
|
|
4600
|
+
* - "arrow-keys" for items that are navigated with UP/DOWN keys.
|
|
4601
|
+
* - "tab" for items that are navigated using the TAB key.
|
|
4602
|
+
* - "none" for static items that are not interactive.
|
|
4603
|
+
*/
|
|
4604
|
+
navigationType: {
|
|
4605
|
+
type: String,
|
|
4606
|
+
default: LIST_ITEM_NAVIGATION_TYPES.NONE,
|
|
4607
|
+
validator: t => Object.values(LIST_ITEM_NAVIGATION_TYPES).includes(t)
|
|
4608
|
+
},
|
|
4609
|
+
|
|
4610
|
+
/**
|
|
4611
|
+
* For keyboard navigation, the method to set the highlight to this item.
|
|
4612
|
+
*/
|
|
4613
|
+
setHighlight: {
|
|
4614
|
+
type: [Function, Promise],
|
|
4615
|
+
default: null
|
|
4616
|
+
},
|
|
4617
|
+
|
|
4618
|
+
/**
|
|
4619
|
+
* For keyboard navigation, whether or not this item is currently highlighted.
|
|
4620
|
+
*/
|
|
4621
|
+
isHighlighted: {
|
|
4274
4622
|
type: Boolean,
|
|
4275
|
-
default:
|
|
4623
|
+
default: false
|
|
4276
4624
|
}
|
|
4277
4625
|
},
|
|
4278
4626
|
emits: ['click'],
|
|
4627
|
+
computed: {
|
|
4628
|
+
listItemType() {
|
|
4629
|
+
switch (this.type) {
|
|
4630
|
+
case LIST_ITEM_TYPES.DEFAULT:
|
|
4631
|
+
return default_list_item;
|
|
4632
|
+
|
|
4633
|
+
default:
|
|
4634
|
+
return null;
|
|
4635
|
+
}
|
|
4636
|
+
},
|
|
4637
|
+
|
|
4638
|
+
isFocusable() {
|
|
4639
|
+
// Navigation type has to be set to "tab".
|
|
4640
|
+
return this.navigationType === LIST_ITEM_NAVIGATION_TYPES.TAB;
|
|
4641
|
+
},
|
|
4642
|
+
|
|
4643
|
+
/**
|
|
4644
|
+
* When using "arrow-keys" navigation the item shouldn't receive actual focus, so
|
|
4645
|
+
* we use custom highlighting to indicate which item has the "focus".
|
|
4646
|
+
*/
|
|
4647
|
+
isHighlightable() {
|
|
4648
|
+
// Navigation type has to be set to "arrow-keys".
|
|
4649
|
+
if (this.navigationType !== LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS) {
|
|
4650
|
+
return false;
|
|
4651
|
+
} // setHighlight method has to be provided.
|
|
4652
|
+
|
|
4653
|
+
|
|
4654
|
+
return !!this.setHighlight;
|
|
4655
|
+
},
|
|
4656
|
+
|
|
4657
|
+
/**
|
|
4658
|
+
* Since this event listener can be resource heavy, only attach it when needed.
|
|
4659
|
+
* https://github.com/vuejs/vue/issues/7349#issuecomment-458405684
|
|
4660
|
+
*/
|
|
4661
|
+
maybeMouseMove() {
|
|
4662
|
+
return this.isHighlightable && !this.isHighlighted ? 'mousemove' : null;
|
|
4663
|
+
}
|
|
4664
|
+
|
|
4665
|
+
},
|
|
4666
|
+
|
|
4667
|
+
created() {
|
|
4668
|
+
this.validateProps();
|
|
4669
|
+
},
|
|
4670
|
+
|
|
4279
4671
|
methods: {
|
|
4280
|
-
|
|
4281
|
-
clicked() {
|
|
4672
|
+
onClick() {
|
|
4282
4673
|
this.$emit('click');
|
|
4674
|
+
},
|
|
4675
|
+
|
|
4676
|
+
/**
|
|
4677
|
+
* While you hover over an item, always highlight it.
|
|
4678
|
+
*/
|
|
4679
|
+
onMouseMove() {
|
|
4680
|
+
if (this.isHighlightable && !this.isHighlighted) {
|
|
4681
|
+
// Update the highlight.
|
|
4682
|
+
this.setHighlight();
|
|
4683
|
+
}
|
|
4684
|
+
},
|
|
4685
|
+
|
|
4686
|
+
/**
|
|
4687
|
+
* Helper to make sure some dependent props are provided.
|
|
4688
|
+
*/
|
|
4689
|
+
validateProps() {
|
|
4690
|
+
// Keyboard navigation.
|
|
4691
|
+
if (this.navigationType === LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS) {
|
|
4692
|
+
// The method setHighlight should be provided.
|
|
4693
|
+
if (typeof this.setHighlight !== 'function') {
|
|
4694
|
+
console.error('DtListItem: prop "setHighlight" is required when navigationType is:', LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS, 'but received setHighlight:', this.setHighlight);
|
|
4695
|
+
}
|
|
4696
|
+
}
|
|
4283
4697
|
}
|
|
4284
4698
|
|
|
4285
4699
|
}
|
|
@@ -4300,8 +4714,8 @@ var list_itemvue_type_style_index_0_lang_less_ = __webpack_require__("51f5");
|
|
|
4300
4714
|
|
|
4301
4715
|
var list_item_component = normalizeComponent(
|
|
4302
4716
|
list_item_list_itemvue_type_script_lang_js_,
|
|
4303
|
-
|
|
4304
|
-
|
|
4717
|
+
list_itemvue_type_template_id_42009112_render,
|
|
4718
|
+
list_itemvue_type_template_id_42009112_staticRenderFns,
|
|
4305
4719
|
false,
|
|
4306
4720
|
null,
|
|
4307
4721
|
null,
|
|
@@ -4312,12 +4726,12 @@ var list_item_component = normalizeComponent(
|
|
|
4312
4726
|
/* harmony default export */ var list_item = (list_item_component.exports);
|
|
4313
4727
|
// CONCATENATED MODULE: ./components/list_item/index.js
|
|
4314
4728
|
|
|
4315
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4316
|
-
var
|
|
4317
|
-
var
|
|
4729
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/notice/notice.vue?vue&type=template&id=4b03fec7&
|
|
4730
|
+
var noticevue_type_template_id_4b03fec7_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('aside',_vm._g({class:_vm.noticeClass,attrs:{"data-qa":"notice"}},_vm.$listeners),[_c('dt-notice-icon',_vm._g({attrs:{"kind":_vm.kind}},_vm.$listeners),[_vm._t("icon")],2),_c('dt-notice-content',_vm._g({attrs:{"title-id":_vm.titleId,"content-id":_vm.contentId,"title":_vm.title,"role":_vm.role},scopedSlots:_vm._u([{key:"titleOverride",fn:function(){return [_vm._t("titleOverride")]},proxy:true}],null,true)},_vm.$listeners),[_vm._t("default")],2),_c('dt-notice-action',_vm._g({attrs:{"hide-close":_vm.hideClose,"close-button-props":_vm.closeButtonProps}},_vm.$listeners),[_vm._t("action")],2)],1)}
|
|
4731
|
+
var noticevue_type_template_id_4b03fec7_staticRenderFns = []
|
|
4318
4732
|
|
|
4319
4733
|
|
|
4320
|
-
// CONCATENATED MODULE: ./components/notice/notice.vue?vue&type=template&id=
|
|
4734
|
+
// CONCATENATED MODULE: ./components/notice/notice.vue?vue&type=template&id=4b03fec7&
|
|
4321
4735
|
|
|
4322
4736
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/notice/notice.vue?vue&type=script&lang=js&
|
|
4323
4737
|
//
|
|
@@ -4358,6 +4772,7 @@ var noticevue_type_template_id_f94c040c_staticRenderFns = []
|
|
|
4358
4772
|
//
|
|
4359
4773
|
//
|
|
4360
4774
|
//
|
|
4775
|
+
//
|
|
4361
4776
|
|
|
4362
4777
|
|
|
4363
4778
|
|
|
@@ -4449,9 +4864,17 @@ var noticevue_type_template_id_f94c040c_staticRenderFns = []
|
|
|
4449
4864
|
default: false
|
|
4450
4865
|
}
|
|
4451
4866
|
},
|
|
4867
|
+
emits: ['close'],
|
|
4452
4868
|
computed: {
|
|
4453
4869
|
noticeClass() {
|
|
4454
|
-
|
|
4870
|
+
const noticeKinds = {
|
|
4871
|
+
error: 'd-notice--error',
|
|
4872
|
+
info: 'd-notice--info',
|
|
4873
|
+
success: 'd-notice--success',
|
|
4874
|
+
warning: 'd-notice--warning',
|
|
4875
|
+
base: 'd-notice--base'
|
|
4876
|
+
};
|
|
4877
|
+
return ['d-notice', noticeKinds[this.kind], {
|
|
4455
4878
|
'd-notice--important': this.important
|
|
4456
4879
|
}];
|
|
4457
4880
|
}
|
|
@@ -4470,8 +4893,8 @@ var noticevue_type_template_id_f94c040c_staticRenderFns = []
|
|
|
4470
4893
|
|
|
4471
4894
|
var notice_component = normalizeComponent(
|
|
4472
4895
|
notice_noticevue_type_script_lang_js_,
|
|
4473
|
-
|
|
4474
|
-
|
|
4896
|
+
noticevue_type_template_id_4b03fec7_render,
|
|
4897
|
+
noticevue_type_template_id_4b03fec7_staticRenderFns,
|
|
4475
4898
|
false,
|
|
4476
4899
|
null,
|
|
4477
4900
|
null,
|
|
@@ -4483,8 +4906,8 @@ var notice_component = normalizeComponent(
|
|
|
4483
4906
|
// CONCATENATED MODULE: ./components/notice/index.js
|
|
4484
4907
|
|
|
4485
4908
|
|
|
4486
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4487
|
-
var
|
|
4909
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/popover/popover.vue?vue&type=template&id=eacdffcc&
|
|
4910
|
+
var popovervue_type_template_id_eacdffcc_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.elementType,{directives:[{name:"click-outside",rawName:"v-click-outside",value:(function () { return _vm.close('click-outside'); }),expression:"() => close('click-outside')"}],tag:"component",staticClass:"d-ps-relative dt-popover"},[_c('div',{ref:"anchor",attrs:{"id":!_vm.ariaLabelledby && _vm.labelledBy}},[_vm._t("anchor",null,{"attrs":{
|
|
4488
4911
|
'aria-expanded': _vm.open.toString(),
|
|
4489
4912
|
'aria-controls': _vm.id,
|
|
4490
4913
|
'aria-haspopup': _vm.role,
|
|
@@ -4498,14 +4921,14 @@ var popovervue_type_template_id_34e0d8ea_render = function () {var _vm=this;var
|
|
|
4498
4921
|
'd-ps-absolute',
|
|
4499
4922
|
'd-zi-popover',
|
|
4500
4923
|
'dt-popover__content',
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4924
|
+
_vm.alignment,
|
|
4925
|
+
_vm.verticalAlignment,
|
|
4926
|
+
_vm.paddingClass,
|
|
4504
4927
|
_vm.contentClass ],attrs:{"id":_vm.id,"role":_vm.role,"aria-hidden":!_vm.open,"aria-labelledby":_vm.labelledBy,"aria-label":_vm.ariaLabel,"aria-modal":_vm.isDialog,"transition":_vm.transition,"show":_vm.open,"tabindex":"-1"}},_vm.dialogListeners),[_vm._t("content"),(_vm.hasCaret)?_c('div',{staticClass:"d-bgc-white d-mtn4 d-bt d-bl d-bc-black-075 dt-popover__caret"}):_vm._e()],2)],1)}
|
|
4505
|
-
var
|
|
4928
|
+
var popovervue_type_template_id_eacdffcc_staticRenderFns = []
|
|
4506
4929
|
|
|
4507
4930
|
|
|
4508
|
-
// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=template&id=
|
|
4931
|
+
// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=template&id=eacdffcc&
|
|
4509
4932
|
|
|
4510
4933
|
// CONCATENATED MODULE: ./components/popover/popover_constants.js
|
|
4511
4934
|
const POPOVER_PADDING_CLASSES = ['none', 'small', 'medium', 'large'];
|
|
@@ -4746,11 +5169,19 @@ var v_click_outside_umd_default = /*#__PURE__*/__webpack_require__.n(v_click_out
|
|
|
4746
5169
|
|
|
4747
5170
|
computed: {
|
|
4748
5171
|
alignment() {
|
|
4749
|
-
|
|
5172
|
+
if (!this.fixedAlignment || this.fixedAlignment === this.autoAlignment) {
|
|
5173
|
+
return 'dt-popover__content--align-left';
|
|
5174
|
+
}
|
|
5175
|
+
|
|
5176
|
+
return 'dt-popover__content--align-right';
|
|
4750
5177
|
},
|
|
4751
5178
|
|
|
4752
5179
|
verticalAlignment() {
|
|
4753
|
-
|
|
5180
|
+
if (!this.fixedVerticalAlignment || this.fixedVerticalAlignment === this.autoVerticalAlignment) {
|
|
5181
|
+
return 'dt-popover__content--valign-bottom';
|
|
5182
|
+
}
|
|
5183
|
+
|
|
5184
|
+
return 'dt-popover__content--valign-top';
|
|
4754
5185
|
},
|
|
4755
5186
|
|
|
4756
5187
|
labelledBy() {
|
|
@@ -4779,6 +5210,16 @@ var v_click_outside_umd_default = /*#__PURE__*/__webpack_require__.n(v_click_out
|
|
|
4779
5210
|
}
|
|
4780
5211
|
|
|
4781
5212
|
return null;
|
|
5213
|
+
},
|
|
5214
|
+
|
|
5215
|
+
paddingClass() {
|
|
5216
|
+
const paddingClasses = {
|
|
5217
|
+
none: 'dt-popover__content--pad-none',
|
|
5218
|
+
small: 'dt-popover__content--pad-small',
|
|
5219
|
+
medium: 'dt-popover__content--pad-medium',
|
|
5220
|
+
large: 'dt-popover__content--pad-large'
|
|
5221
|
+
};
|
|
5222
|
+
return paddingClasses[this.padding];
|
|
4782
5223
|
}
|
|
4783
5224
|
|
|
4784
5225
|
},
|
|
@@ -4876,8 +5317,8 @@ var popovervue_type_style_index_0_lang_less_ = __webpack_require__("e0bf");
|
|
|
4876
5317
|
|
|
4877
5318
|
var popover_component = normalizeComponent(
|
|
4878
5319
|
popover_popovervue_type_script_lang_js_,
|
|
4879
|
-
|
|
4880
|
-
|
|
5320
|
+
popovervue_type_template_id_eacdffcc_render,
|
|
5321
|
+
popovervue_type_template_id_eacdffcc_staticRenderFns,
|
|
4881
5322
|
false,
|
|
4882
5323
|
null,
|
|
4883
5324
|
null,
|
|
@@ -4889,12 +5330,12 @@ var popover_component = normalizeComponent(
|
|
|
4889
5330
|
// CONCATENATED MODULE: ./components/popover/index.js
|
|
4890
5331
|
|
|
4891
5332
|
|
|
4892
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4893
|
-
var
|
|
4894
|
-
var
|
|
5333
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/radio/radio.vue?vue&type=template&id=7516bd14&
|
|
5334
|
+
var radiovue_type_template_id_7516bd14_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('label',[_c('div',{class:['d-radio-group', { 'd-radio-group--disabled': _vm.internalDisabled }]},[_c('div',{staticClass:"d-radio__input"},[_c('input',_vm._g(_vm._b({class:['d-radio', _vm.inputValidationClass, _vm.inputClass],attrs:{"name":_vm.internalName,"disabled":_vm.internalDisabled,"type":"radio"},domProps:{"checked":_vm.internalChecked,"value":_vm.value}},'input',_vm.$attrs,false),_vm.inputListeners))]),_c('div',{staticClass:"d-radio__copy d-radio__label",attrs:{"data-qa":"radio-label-description-container"}},[_c('div',_vm._b({class:_vm.labelClass,attrs:{"data-qa":"radio-label"}},'div',_vm.labelChildProps,false),[_vm._t("default",[_vm._v(_vm._s(_vm.label))])],2),(_vm.$slots.description || _vm.description)?_c('div',_vm._b({class:['d-description', _vm.descriptionClass],attrs:{"data-qa":"radio-description"}},'div',_vm.descriptionChildProps,false),[_vm._t("description",[_vm._v(_vm._s(_vm.description))])],2):_vm._e(),_c('dt-validation-messages',_vm._b({class:_vm.messagesClass,attrs:{"validation-messages":_vm.formattedMessages,"show-messages":_vm.showMessages,"data-qa":"dt-radio-validation-messages"}},'dt-validation-messages',_vm.messagesChildProps,false))],1)])])}
|
|
5335
|
+
var radiovue_type_template_id_7516bd14_staticRenderFns = []
|
|
4895
5336
|
|
|
4896
5337
|
|
|
4897
|
-
// CONCATENATED MODULE: ./components/radio/radio.vue?vue&type=template&id=
|
|
5338
|
+
// CONCATENATED MODULE: ./components/radio/radio.vue?vue&type=template&id=7516bd14&
|
|
4898
5339
|
|
|
4899
5340
|
// CONCATENATED MODULE: ./components/radio/radio_constants.js
|
|
4900
5341
|
const RADIO_INPUT_VALIDATION_CLASSES = {
|
|
@@ -4973,6 +5414,7 @@ const RADIO_INPUT_VALIDATION_CLASSES = {
|
|
|
4973
5414
|
default: ''
|
|
4974
5415
|
}
|
|
4975
5416
|
},
|
|
5417
|
+
emits: ['input', 'focusin', 'focusout'],
|
|
4976
5418
|
computed: {
|
|
4977
5419
|
inputValidationClass() {
|
|
4978
5420
|
return RADIO_INPUT_VALIDATION_CLASSES[this.internalValidationState];
|
|
@@ -5039,8 +5481,8 @@ const RADIO_INPUT_VALIDATION_CLASSES = {
|
|
|
5039
5481
|
|
|
5040
5482
|
var radio_component = normalizeComponent(
|
|
5041
5483
|
radio_radiovue_type_script_lang_js_,
|
|
5042
|
-
|
|
5043
|
-
|
|
5484
|
+
radiovue_type_template_id_7516bd14_render,
|
|
5485
|
+
radiovue_type_template_id_7516bd14_staticRenderFns,
|
|
5044
5486
|
false,
|
|
5045
5487
|
null,
|
|
5046
5488
|
null,
|
|
@@ -5149,20 +5591,21 @@ var radio_group_component = normalizeComponent(
|
|
|
5149
5591
|
/* harmony default export */ var radio_group = (radio_group_component.exports);
|
|
5150
5592
|
// CONCATENATED MODULE: ./components/radio_group/index.js
|
|
5151
5593
|
|
|
5152
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5153
|
-
var
|
|
5594
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/tabs/tab_group.vue?vue&type=template&id=59d36f62&
|
|
5595
|
+
var tab_groupvue_type_template_id_59d36f62_render = function () {
|
|
5154
5596
|
var _obj;
|
|
5155
|
-
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"data-qa":"dt-tab-group"}},[_c('div',{class:[
|
|
5597
|
+
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"data-qa":"dt-tab-group"}},[_c('div',_vm._b({class:[
|
|
5156
5598
|
'd-tablist',
|
|
5157
5599
|
_vm.TAB_LIST_SIZE_MODIFIERS[_vm.size],
|
|
5158
|
-
( _obj = {}, _obj[_vm.TAB_LIST_KIND_MODIFIERS.inverted] = _vm.inverted, _obj[_vm.TAB_LIST_IMPORTANCE_MODIFIERS.borderless] = _vm.borderless, _obj )
|
|
5159
|
-
|
|
5600
|
+
( _obj = {}, _obj[_vm.TAB_LIST_KIND_MODIFIERS.inverted] = _vm.inverted, _obj[_vm.TAB_LIST_IMPORTANCE_MODIFIERS.borderless] = _vm.borderless, _obj ),
|
|
5601
|
+
_vm.tabListClass ],attrs:{"role":"tablist","aria-label":_vm.label},on:{"keyup":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"left",37,$event.key,["Left","ArrowLeft"])){ return null; }if('button' in $event && $event.button !== 0){ return null; }return _vm.tabLeft($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"right",39,$event.key,["Right","ArrowRight"])){ return null; }if('button' in $event && $event.button !== 2){ return null; }return _vm.tabRight($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.selectTab($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"space",32,$event.key,[" ","Spacebar"])){ return null; }return _vm.selectTab($event)}],"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"home",undefined,$event.key,undefined)){ return null; }return _vm.onHomeButton($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"end",undefined,$event.key,undefined)){ return null; }return _vm.onEndButton($event)}]}},'div',_vm.tabListChildProps,false),[_vm._t("tabs")],2),_vm._t("default")],2)}
|
|
5602
|
+
var tab_groupvue_type_template_id_59d36f62_staticRenderFns = []
|
|
5160
5603
|
|
|
5161
5604
|
|
|
5162
|
-
// CONCATENATED MODULE: ./components/tabs/tab_group.vue?vue&type=template&id=
|
|
5605
|
+
// CONCATENATED MODULE: ./components/tabs/tab_group.vue?vue&type=template&id=59d36f62&
|
|
5163
5606
|
|
|
5164
5607
|
// CONCATENATED MODULE: ./components/tabs/tabs_constants.js
|
|
5165
|
-
const TAB_LIST_SIZES = ['', 'sm'];
|
|
5608
|
+
const TAB_LIST_SIZES = ['default', 'sm'];
|
|
5166
5609
|
const TAB_LIST_SIZE_MODIFIERS = {
|
|
5167
5610
|
sm: 'd-tablist--sm'
|
|
5168
5611
|
};
|
|
@@ -5206,6 +5649,8 @@ const TAB_IMPORTANCE_MODIFIERS = {
|
|
|
5206
5649
|
//
|
|
5207
5650
|
//
|
|
5208
5651
|
//
|
|
5652
|
+
//
|
|
5653
|
+
//
|
|
5209
5654
|
|
|
5210
5655
|
/* harmony default export */ var tab_groupvue_type_script_lang_js_ = ({
|
|
5211
5656
|
name: 'DtTabGroup',
|
|
@@ -5264,14 +5709,31 @@ const TAB_IMPORTANCE_MODIFIERS = {
|
|
|
5264
5709
|
*/
|
|
5265
5710
|
size: {
|
|
5266
5711
|
type: String,
|
|
5267
|
-
default: '',
|
|
5712
|
+
default: 'default',
|
|
5268
5713
|
|
|
5269
5714
|
validate(size) {
|
|
5270
5715
|
return TAB_LIST_SIZES.includes(size);
|
|
5271
5716
|
}
|
|
5272
5717
|
|
|
5718
|
+
},
|
|
5719
|
+
|
|
5720
|
+
/**
|
|
5721
|
+
* Pass through classes, used to customize the tab list
|
|
5722
|
+
*/
|
|
5723
|
+
tabListClass: {
|
|
5724
|
+
type: [String, Array, Object],
|
|
5725
|
+
default: ''
|
|
5726
|
+
},
|
|
5727
|
+
|
|
5728
|
+
/**
|
|
5729
|
+
* Pass through props, used to customize the tab list
|
|
5730
|
+
*/
|
|
5731
|
+
tabListChildProps: {
|
|
5732
|
+
type: Object,
|
|
5733
|
+
default: () => ({})
|
|
5273
5734
|
}
|
|
5274
5735
|
},
|
|
5736
|
+
emits: ['change'],
|
|
5275
5737
|
|
|
5276
5738
|
data() {
|
|
5277
5739
|
return {
|
|
@@ -5445,8 +5907,8 @@ const TAB_IMPORTANCE_MODIFIERS = {
|
|
|
5445
5907
|
|
|
5446
5908
|
var tab_group_component = normalizeComponent(
|
|
5447
5909
|
tabs_tab_groupvue_type_script_lang_js_,
|
|
5448
|
-
|
|
5449
|
-
|
|
5910
|
+
tab_groupvue_type_template_id_59d36f62_render,
|
|
5911
|
+
tab_groupvue_type_template_id_59d36f62_staticRenderFns,
|
|
5450
5912
|
false,
|
|
5451
5913
|
null,
|
|
5452
5914
|
null,
|
|
@@ -5455,7 +5917,7 @@ var tab_group_component = normalizeComponent(
|
|
|
5455
5917
|
)
|
|
5456
5918
|
|
|
5457
5919
|
/* harmony default export */ var tab_group = (tab_group_component.exports);
|
|
5458
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5920
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/tabs/tab.vue?vue&type=template&id=0bc212ec&
|
|
5459
5921
|
var tabvue_type_template_id_0bc212ec_render = function () {
|
|
5460
5922
|
var _obj;
|
|
5461
5923
|
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-button',_vm._b({class:[
|
|
@@ -5608,7 +6070,7 @@ var tab_component = normalizeComponent(
|
|
|
5608
6070
|
)
|
|
5609
6071
|
|
|
5610
6072
|
/* harmony default export */ var tab = (tab_component.exports);
|
|
5611
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6073
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/tabs/tab_panel.vue?vue&type=template&id=4d6d0107&
|
|
5612
6074
|
var tab_panelvue_type_template_id_4d6d0107_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
|
|
5613
6075
|
{
|
|
5614
6076
|
'd-d-none': _vm.hidePanel,
|
|
@@ -5710,12 +6172,12 @@ var tab_panel_component = normalizeComponent(
|
|
|
5710
6172
|
|
|
5711
6173
|
|
|
5712
6174
|
|
|
5713
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5714
|
-
var
|
|
5715
|
-
var
|
|
6175
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/checkbox/checkbox.vue?vue&type=template&id=fea0a32a&
|
|
6176
|
+
var checkboxvue_type_template_id_fea0a32a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('label',[_c('div',{class:['d-checkbox-group', { 'd-checkbox-group--disabled': _vm.internalDisabled }]},[_c('div',{staticClass:"d-checkbox__input"},[_c('input',_vm._g(_vm._b({class:['d-checkbox', _vm.inputValidationClass, _vm.inputClass],attrs:{"type":"checkbox","name":_vm.internalName,"disabled":_vm.internalDisabled},domProps:{"checked":_vm.internalChecked,"value":_vm.value,"indeterminate":_vm.indeterminate}},'input',_vm.$attrs,false),_vm.inputListeners))]),(_vm.hasLabelOrDescription)?_c('div',{staticClass:"d-checkbox__copy d-checkbox__label",attrs:{"data-qa":"checkbox-label-description-container"}},[(_vm.hasLabel)?_c('div',_vm._b({class:_vm.labelClass,attrs:{"data-qa":"checkbox-label"}},'div',_vm.labelChildProps,false),[_vm._t("default",[_vm._v(_vm._s(_vm.label))])],2):_vm._e(),(_vm.hasDescription)?_c('div',_vm._b({class:['d-description', _vm.descriptionClass],attrs:{"data-qa":"checkbox-description"}},'div',_vm.descriptionChildProps,false),[_vm._t("description",[_vm._v(_vm._s(_vm.description))])],2):_vm._e(),_c('dt-validation-messages',_vm._b({class:_vm.messagesClass,attrs:{"validation-messages":_vm.formattedMessages,"show-messages":_vm.showMessages,"data-qa":"dt-checkbox-validation-messages"}},'dt-validation-messages',_vm.messagesChildProps,false))],1):_vm._e()])])}
|
|
6177
|
+
var checkboxvue_type_template_id_fea0a32a_staticRenderFns = []
|
|
5716
6178
|
|
|
5717
6179
|
|
|
5718
|
-
// CONCATENATED MODULE: ./components/checkbox/checkbox.vue?vue&type=template&id=
|
|
6180
|
+
// CONCATENATED MODULE: ./components/checkbox/checkbox.vue?vue&type=template&id=fea0a32a&
|
|
5719
6181
|
|
|
5720
6182
|
// CONCATENATED MODULE: ./components/checkbox/checkbox_constants.js
|
|
5721
6183
|
const CHECKBOX_INPUT_VALIDATION_CLASSES = {
|
|
@@ -5776,6 +6238,8 @@ const CHECKBOX_INPUT_VALIDATION_CLASSES = {
|
|
|
5776
6238
|
//
|
|
5777
6239
|
//
|
|
5778
6240
|
//
|
|
6241
|
+
//
|
|
6242
|
+
//
|
|
5779
6243
|
// Imports
|
|
5780
6244
|
|
|
5781
6245
|
|
|
@@ -5787,6 +6251,7 @@ const CHECKBOX_INPUT_VALIDATION_CLASSES = {
|
|
|
5787
6251
|
},
|
|
5788
6252
|
mixins: [InputMixin, CheckableMixin, GroupableMixin, MessagesMixin],
|
|
5789
6253
|
inheritAttrs: false,
|
|
6254
|
+
emits: ['input', 'focusin', 'focusout'],
|
|
5790
6255
|
computed: {
|
|
5791
6256
|
inputValidationClass() {
|
|
5792
6257
|
return CHECKBOX_INPUT_VALIDATION_CLASSES[this.internalValidationState];
|
|
@@ -5798,6 +6263,18 @@ const CHECKBOX_INPUT_VALIDATION_CLASSES = {
|
|
|
5798
6263
|
return (_this$groupContext$se = (_this$groupContext = this.groupContext) === null || _this$groupContext === void 0 ? void 0 : (_this$groupContext$se2 = _this$groupContext.selectedValues) === null || _this$groupContext$se2 === void 0 ? void 0 : _this$groupContext$se2.includes(this.value)) !== null && _this$groupContext$se !== void 0 ? _this$groupContext$se : false;
|
|
5799
6264
|
},
|
|
5800
6265
|
|
|
6266
|
+
hasLabel() {
|
|
6267
|
+
return !!(this.$slots.default || this.label);
|
|
6268
|
+
},
|
|
6269
|
+
|
|
6270
|
+
hasDescription() {
|
|
6271
|
+
return !!(this.$slots.description || this.description);
|
|
6272
|
+
},
|
|
6273
|
+
|
|
6274
|
+
hasLabelOrDescription() {
|
|
6275
|
+
return this.hasLabel || this.hasDescription;
|
|
6276
|
+
},
|
|
6277
|
+
|
|
5801
6278
|
inputListeners() {
|
|
5802
6279
|
return {
|
|
5803
6280
|
/* TODO
|
|
@@ -5831,12 +6308,21 @@ const CHECKBOX_INPUT_VALIDATION_CLASSES = {
|
|
|
5831
6308
|
|
|
5832
6309
|
}
|
|
5833
6310
|
},
|
|
6311
|
+
|
|
6312
|
+
mounted() {
|
|
6313
|
+
this.runValidations();
|
|
6314
|
+
},
|
|
6315
|
+
|
|
5834
6316
|
methods: {
|
|
5835
6317
|
emitValue(value, checked) {
|
|
5836
6318
|
// update provided value if injected
|
|
5837
6319
|
this.setGroupValue(value, checked); // emit the state of the checkbox
|
|
5838
6320
|
|
|
5839
6321
|
this.$emit('input', checked);
|
|
6322
|
+
},
|
|
6323
|
+
|
|
6324
|
+
runValidations() {
|
|
6325
|
+
this.validateInputLabels(this.hasLabel, this.$attrs['aria-label']);
|
|
5840
6326
|
}
|
|
5841
6327
|
|
|
5842
6328
|
}
|
|
@@ -5853,8 +6339,8 @@ const CHECKBOX_INPUT_VALIDATION_CLASSES = {
|
|
|
5853
6339
|
|
|
5854
6340
|
var checkbox_component = normalizeComponent(
|
|
5855
6341
|
checkbox_checkboxvue_type_script_lang_js_,
|
|
5856
|
-
|
|
5857
|
-
|
|
6342
|
+
checkboxvue_type_template_id_fea0a32a_render,
|
|
6343
|
+
checkboxvue_type_template_id_fea0a32a_staticRenderFns,
|
|
5858
6344
|
false,
|
|
5859
6345
|
null,
|
|
5860
6346
|
null,
|
|
@@ -5998,7 +6484,7 @@ var checkbox_group_component = normalizeComponent(
|
|
|
5998
6484
|
/* harmony default export */ var checkbox_group = (checkbox_group_component.exports);
|
|
5999
6485
|
// CONCATENATED MODULE: ./components/checkbox_group/index.js
|
|
6000
6486
|
|
|
6001
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6487
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/select_menu/select_menu.vue?vue&type=template&id=59947fa6&
|
|
6002
6488
|
var select_menuvue_type_template_id_59947fa6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('label',[(_vm.$slots.label || _vm.label)?_c('div',_vm._b({class:[
|
|
6003
6489
|
'd-label',
|
|
6004
6490
|
_vm.LABEL_SIZE_MODIFIERS[_vm.size],
|
|
@@ -6375,15 +6861,15 @@ var select_menu_component = normalizeComponent(
|
|
|
6375
6861
|
// CONCATENATED MODULE: ./components/select_menu/index.js
|
|
6376
6862
|
|
|
6377
6863
|
|
|
6378
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6379
|
-
var
|
|
6864
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/toast/toast.vue?vue&type=template&id=1f5a483f&
|
|
6865
|
+
var toastvue_type_template_id_1f5a483f_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('aside',{staticClass:"d-toast-wrapper"},[(!_vm.hidden)?_c('div',{class:[
|
|
6380
6866
|
'd-toast',
|
|
6381
|
-
|
|
6867
|
+
_vm.kindClass,
|
|
6382
6868
|
{ 'd-toast--important': _vm.important } ],attrs:{"data-qa":"dt-toast","aria-hidden":_vm.hidden.toString()}},[_c('div',{staticClass:"d-toast__dialog"},[_c('dt-notice-icon',_vm._g({attrs:{"kind":_vm.kind}},_vm.$listeners),[_vm._t("icon")],2),_c('dt-notice-content',_vm._g({attrs:{"title-id":_vm.titleId,"content-id":_vm.contentId,"title":_vm.title,"role":_vm.role},scopedSlots:_vm._u([{key:"titleOverride",fn:function(){return [_vm._t("titleOverride")]},proxy:true}],null,true)},_vm.$listeners),[_vm._t("default",[_vm._v(" "+_vm._s(_vm.message)+" ")])],2),_c('dt-notice-action',_vm._g({attrs:{"hide-close":_vm.hideClose,"close-button-props":_vm.closeButtonProps}},_vm.$listeners),[_vm._t("action")],2)],1)]):_vm._e()])}
|
|
6383
|
-
var
|
|
6869
|
+
var toastvue_type_template_id_1f5a483f_staticRenderFns = []
|
|
6384
6870
|
|
|
6385
6871
|
|
|
6386
|
-
// CONCATENATED MODULE: ./components/toast/toast.vue?vue&type=template&id=
|
|
6872
|
+
// CONCATENATED MODULE: ./components/toast/toast.vue?vue&type=template&id=1f5a483f&
|
|
6387
6873
|
|
|
6388
6874
|
// CONCATENATED MODULE: ./components/toast/toast_constants.js
|
|
6389
6875
|
const TOAST_ROLES = ['status', 'alert'];
|
|
@@ -6556,6 +7042,7 @@ const TOAST_ROLES = ['status', 'alert'];
|
|
|
6556
7042
|
}
|
|
6557
7043
|
}
|
|
6558
7044
|
},
|
|
7045
|
+
emits: ['close'],
|
|
6559
7046
|
|
|
6560
7047
|
data() {
|
|
6561
7048
|
return {
|
|
@@ -6563,6 +7050,20 @@ const TOAST_ROLES = ['status', 'alert'];
|
|
|
6563
7050
|
};
|
|
6564
7051
|
},
|
|
6565
7052
|
|
|
7053
|
+
computed: {
|
|
7054
|
+
kindClass() {
|
|
7055
|
+
const kindClasses = {
|
|
7056
|
+
error: 'd-toast--error',
|
|
7057
|
+
info: 'd-toast--info',
|
|
7058
|
+
success: 'd-toast--success',
|
|
7059
|
+
warning: 'd-toast--warning',
|
|
7060
|
+
base: 'd-toast--base'
|
|
7061
|
+
};
|
|
7062
|
+
return kindClasses[this.kind];
|
|
7063
|
+
}
|
|
7064
|
+
|
|
7065
|
+
},
|
|
7066
|
+
|
|
6566
7067
|
/* TODO Vue 3 Migration
|
|
6567
7068
|
* destroyed() should be updated to unmounted() when migrating to Vue 3.
|
|
6568
7069
|
*/
|
|
@@ -6598,8 +7099,8 @@ const TOAST_ROLES = ['status', 'alert'];
|
|
|
6598
7099
|
|
|
6599
7100
|
var toast_component = normalizeComponent(
|
|
6600
7101
|
toast_toastvue_type_script_lang_js_,
|
|
6601
|
-
|
|
6602
|
-
|
|
7102
|
+
toastvue_type_template_id_1f5a483f_render,
|
|
7103
|
+
toastvue_type_template_id_1f5a483f_staticRenderFns,
|
|
6603
7104
|
false,
|
|
6604
7105
|
null,
|
|
6605
7106
|
null,
|
|
@@ -6611,19 +7112,19 @@ var toast_component = normalizeComponent(
|
|
|
6611
7112
|
// CONCATENATED MODULE: ./components/toast/index.js
|
|
6612
7113
|
|
|
6613
7114
|
|
|
6614
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6615
|
-
var
|
|
7115
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c94b5f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/tooltip/tooltip.vue?vue&type=template&id=4e5005b2&
|
|
7116
|
+
var tooltipvue_type_template_id_4e5005b2_render = function () {
|
|
6616
7117
|
var _obj;
|
|
6617
7118
|
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-tooltip-container",attrs:{"data-qa":"dt-tooltip-container"},on:{"!focus":function($event){return _vm.onFocus($event)},"!blur":function($event){return _vm.onBlur($event)},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"esc",27,$event.key,["Esc","Escape"])){ return null; }return _vm.onEsc($event)},"mouseover":_vm.onHover,"mouseleave":_vm.onBlur}},[_c('div',_vm._b({class:[
|
|
6618
7119
|
'd-ps-absolute',
|
|
6619
7120
|
'd-tooltip',
|
|
6620
|
-
|
|
7121
|
+
_vm.arrowDirectionClass,
|
|
6621
7122
|
_vm.TOOLTIP_KIND_MODIFIERS[_vm.shouldShowTooltip ? 'show' : 'hide'],
|
|
6622
7123
|
( _obj = {}, _obj[ _vm.TOOLTIP_KIND_MODIFIERS.hover ] = _vm.shouldHasHoverModifier, _obj[ _vm.TOOLTIP_KIND_MODIFIERS.inverted ] = _vm.inverted, _obj ) ],attrs:{"id":_vm.id,"data-qa":"dt-tooltip","role":"tooltip","aria-hidden":_vm.ariaHidden}},'div',_vm.$attrs,false),[_vm._t("default",[_vm._v(" "+_vm._s(_vm.message)+" ")])],2),_c('div',{ref:"anchor",attrs:{"data-qa":"dt-tooltip-anchor"}},[_vm._t("anchor")],2)])}
|
|
6623
|
-
var
|
|
7124
|
+
var tooltipvue_type_template_id_4e5005b2_staticRenderFns = []
|
|
6624
7125
|
|
|
6625
7126
|
|
|
6626
|
-
// CONCATENATED MODULE: ./components/tooltip/tooltip.vue?vue&type=template&id=
|
|
7127
|
+
// CONCATENATED MODULE: ./components/tooltip/tooltip.vue?vue&type=template&id=4e5005b2&
|
|
6627
7128
|
|
|
6628
7129
|
// CONCATENATED MODULE: ./components/tooltip/tooltip_constants.js
|
|
6629
7130
|
const TOOLTIP_DIRECTION_MODIFIERS = ['top-left', 'top-center', 'top-right', 'right-top', 'right-center', 'right-bottom', 'bottom-left', 'bottom-center', 'bottom-right', 'left-top', 'left-center', 'left-bottom'];
|
|
@@ -6786,6 +7287,24 @@ const TOOLTIP_KIND_MODIFIERS = {
|
|
|
6786
7287
|
|
|
6787
7288
|
ariaHidden() {
|
|
6788
7289
|
return `${!this.isTooltipVisible}`;
|
|
7290
|
+
},
|
|
7291
|
+
|
|
7292
|
+
arrowDirectionClass() {
|
|
7293
|
+
const arrowDirections = {
|
|
7294
|
+
'top-left': 'd-tooltip__arrow--top-left',
|
|
7295
|
+
'top-center': 'd-tooltip__arrow--top-center',
|
|
7296
|
+
'top-right': 'd-tooltip__arrow--top-right',
|
|
7297
|
+
'right-top': 'd-tooltip__arrow--right-top',
|
|
7298
|
+
'right-center': 'd-tooltip__arrow--right-center',
|
|
7299
|
+
'right-bottom': 'd-tooltip__arrow--right-bottom',
|
|
7300
|
+
'bottom-left': 'd-tooltip__arrow--bottom-left',
|
|
7301
|
+
'bottom-center': 'd-tooltip__arrow--bottom-center',
|
|
7302
|
+
'bottom-right': 'd-tooltip__arrow--bottom-right',
|
|
7303
|
+
'left-top': 'd-tooltip__arrow--left-top',
|
|
7304
|
+
'left-center': 'd-tooltip__arrow--left-center',
|
|
7305
|
+
'left-bottom': 'd-tooltip__arrow--left-bottom'
|
|
7306
|
+
};
|
|
7307
|
+
return arrowDirections[this.arrowDirection];
|
|
6789
7308
|
}
|
|
6790
7309
|
|
|
6791
7310
|
},
|
|
@@ -6801,13 +7320,13 @@ const TOOLTIP_KIND_MODIFIERS = {
|
|
|
6801
7320
|
methods: {
|
|
6802
7321
|
initAttributes() {
|
|
6803
7322
|
if (this.hasFocusableAnchorNode()) {
|
|
6804
|
-
var _this$$refs$anchor
|
|
7323
|
+
var _this$$refs$anchor;
|
|
6805
7324
|
|
|
6806
7325
|
/* TODO: In the future we might want to refine this to apply the appropriate aria attrs given the child element
|
|
6807
7326
|
* type.
|
|
6808
7327
|
*/
|
|
6809
7328
|
// Add aria description to each anchored child
|
|
6810
|
-
(_this$$refs$anchor = this.$refs.anchor) === null || _this$$refs$anchor === void 0 ? void 0 :
|
|
7329
|
+
[...(((_this$$refs$anchor = this.$refs.anchor) === null || _this$$refs$anchor === void 0 ? void 0 : _this$$refs$anchor.children) || [])].forEach(child => {
|
|
6811
7330
|
child.setAttribute('aria-describedby', this.id);
|
|
6812
7331
|
});
|
|
6813
7332
|
} else {
|
|
@@ -6830,14 +7349,22 @@ const TOOLTIP_KIND_MODIFIERS = {
|
|
|
6830
7349
|
},
|
|
6831
7350
|
|
|
6832
7351
|
onBlur() {
|
|
7352
|
+
this.triggerUpdateShowEvent();
|
|
6833
7353
|
this.isHover = false;
|
|
6834
7354
|
this.isDismissed = false;
|
|
6835
7355
|
this.isChildFocused = false;
|
|
6836
7356
|
},
|
|
6837
7357
|
|
|
6838
7358
|
onEsc() {
|
|
7359
|
+
this.triggerUpdateShowEvent();
|
|
6839
7360
|
this.isDismissed = this.hover && this.isHover || !this.show;
|
|
6840
7361
|
this.isChildFocused = false;
|
|
7362
|
+
},
|
|
7363
|
+
|
|
7364
|
+
triggerUpdateShowEvent() {
|
|
7365
|
+
if (this.isTooltipVisible) {
|
|
7366
|
+
this.$emit('update:show', false);
|
|
7367
|
+
}
|
|
6841
7368
|
}
|
|
6842
7369
|
|
|
6843
7370
|
}
|
|
@@ -6854,8 +7381,8 @@ const TOOLTIP_KIND_MODIFIERS = {
|
|
|
6854
7381
|
|
|
6855
7382
|
var tooltip_component = normalizeComponent(
|
|
6856
7383
|
tooltip_tooltipvue_type_script_lang_js_,
|
|
6857
|
-
|
|
6858
|
-
|
|
7384
|
+
tooltipvue_type_template_id_4e5005b2_render,
|
|
7385
|
+
tooltipvue_type_template_id_4e5005b2_staticRenderFns,
|
|
6859
7386
|
false,
|
|
6860
7387
|
null,
|
|
6861
7388
|
null,
|
|
@@ -6908,6 +7435,22 @@ var tooltip_component = normalizeComponent(
|
|
|
6908
7435
|
|
|
6909
7436
|
|
|
6910
7437
|
|
|
7438
|
+
/***/ }),
|
|
7439
|
+
|
|
7440
|
+
/***/ "fc47":
|
|
7441
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7442
|
+
|
|
7443
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
7444
|
+
|
|
7445
|
+
// load the styles
|
|
7446
|
+
var content = __webpack_require__("4834");
|
|
7447
|
+
if(content.__esModule) content = content.default;
|
|
7448
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
7449
|
+
if(content.locals) module.exports = content.locals;
|
|
7450
|
+
// add the styles to the DOM
|
|
7451
|
+
var add = __webpack_require__("499e").default
|
|
7452
|
+
var update = add("74f39bdb", content, true, {"sourceMap":false,"shadowMode":false});
|
|
7453
|
+
|
|
6911
7454
|
/***/ }),
|
|
6912
7455
|
|
|
6913
7456
|
/***/ "fc89":
|