@dialpad/dialtone-vue 1.0.0-beta.2 → 1.0.0-beta.3
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/README.md +44 -32
- package/dist/dialtone-vue.common.js +359 -412
- package/dist/dialtone-vue.umd.js +359 -412
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/package.json +10 -7
|
@@ -87,31 +87,6 @@ module.exports =
|
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/ "1848":
|
|
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, ".base-input .base-button__icon{margin:0}", ""]);
|
|
98
|
-
// Exports
|
|
99
|
-
module.exports = exports;
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
/***/ }),
|
|
103
|
-
|
|
104
|
-
/***/ "2133":
|
|
105
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
|
-
|
|
107
|
-
"use strict";
|
|
108
|
-
/* 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_input_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5672");
|
|
109
|
-
/* 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_input_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_input_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__);
|
|
110
|
-
/* unused harmony reexport * */
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
/***/ }),
|
|
114
|
-
|
|
115
90
|
/***/ "24fb":
|
|
116
91
|
/***/ (function(module, exports, __webpack_require__) {
|
|
117
92
|
|
|
@@ -220,7 +195,7 @@ function toComment(sourceMap) {
|
|
|
220
195
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
221
196
|
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
222
197
|
// Module
|
|
223
|
-
exports.push([module.i, ".
|
|
198
|
+
exports.push([module.i, ".dt-popover__content--align-right{right:0}.dt-popover__content--align-right .dt-popover__caret{right:2.4rem}.dt-popover__content--valign-top{bottom:100%;margin-top:0;margin-bottom:.4rem}.dt-popover__content--valign-top .dt-popover__caret{top:auto;bottom:-.4rem;transform:rotate(225deg)}.dt-popover__content--pad-none{padding:0}.dt-popover__content--pad-small{padding:.8rem}.dt-popover__content--pad-medium{padding:1.6rem}.dt-popover__content--pad-large{padding:2.4rem}.dt-popover__caret{top:0;height:.6rem;width:.6rem;transform:rotate(45deg);position:absolute}", ""]);
|
|
224
199
|
// Exports
|
|
225
200
|
module.exports = exports;
|
|
226
201
|
|
|
@@ -234,7 +209,7 @@ module.exports = exports;
|
|
|
234
209
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
235
210
|
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
236
211
|
// Module
|
|
237
|
-
exports.push([module.i, ".
|
|
212
|
+
exports.push([module.i, ".dt-list-item[tabindex=\"-1\"]:focus{outline:none}.dt-list-item-clickable:focus,.dt-list-item-clickable:hover{background-color:hsla(var(--primary-color--h),var(--primary-color--s),var(--primary-color--l),.1);cursor:pointer}", ""]);
|
|
238
213
|
// Exports
|
|
239
214
|
module.exports = exports;
|
|
240
215
|
|
|
@@ -525,27 +500,11 @@ function applyToTag (styleElement, obj) {
|
|
|
525
500
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
526
501
|
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
527
502
|
// Module
|
|
528
|
-
exports.push([module.i, ".
|
|
503
|
+
exports.push([module.i, ".dt-list-section[tabindex=\"-1\"]:focus{outline:none}", ""]);
|
|
529
504
|
// Exports
|
|
530
505
|
module.exports = exports;
|
|
531
506
|
|
|
532
507
|
|
|
533
|
-
/***/ }),
|
|
534
|
-
|
|
535
|
-
/***/ "5672":
|
|
536
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
537
|
-
|
|
538
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
539
|
-
|
|
540
|
-
// load the styles
|
|
541
|
-
var content = __webpack_require__("1848");
|
|
542
|
-
if(content.__esModule) content = content.default;
|
|
543
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
544
|
-
if(content.locals) module.exports = content.locals;
|
|
545
|
-
// add the styles to the DOM
|
|
546
|
-
var add = __webpack_require__("499e").default
|
|
547
|
-
var update = add("1fc0ff98", content, true, {"sourceMap":false,"shadowMode":false});
|
|
548
|
-
|
|
549
508
|
/***/ }),
|
|
550
509
|
|
|
551
510
|
/***/ "816f":
|
|
@@ -562,31 +521,6 @@ if(content.locals) module.exports = content.locals;
|
|
|
562
521
|
var add = __webpack_require__("499e").default
|
|
563
522
|
var update = add("27ac9170", content, true, {"sourceMap":false,"shadowMode":false});
|
|
564
523
|
|
|
565
|
-
/***/ }),
|
|
566
|
-
|
|
567
|
-
/***/ "81d6":
|
|
568
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
569
|
-
|
|
570
|
-
// Imports
|
|
571
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
572
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
573
|
-
// Module
|
|
574
|
-
exports.push([module.i, ".button__label__right-align,.button__left-align{justify-content:flex-start!important}", ""]);
|
|
575
|
-
// Exports
|
|
576
|
-
module.exports = exports;
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
/***/ }),
|
|
580
|
-
|
|
581
|
-
/***/ "84cc":
|
|
582
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
583
|
-
|
|
584
|
-
"use strict";
|
|
585
|
-
/* 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_button_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a61d");
|
|
586
|
-
/* 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_button_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_button_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__);
|
|
587
|
-
/* unused harmony reexport * */
|
|
588
|
-
|
|
589
|
-
|
|
590
524
|
/***/ }),
|
|
591
525
|
|
|
592
526
|
/***/ "88f8":
|
|
@@ -628,22 +562,6 @@ var update = add("572d8ba2", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
628
562
|
|
|
629
563
|
/***/ }),
|
|
630
564
|
|
|
631
|
-
/***/ "a61d":
|
|
632
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
633
|
-
|
|
634
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
635
|
-
|
|
636
|
-
// load the styles
|
|
637
|
-
var content = __webpack_require__("81d6");
|
|
638
|
-
if(content.__esModule) content = content.default;
|
|
639
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
640
|
-
if(content.locals) module.exports = content.locals;
|
|
641
|
-
// add the styles to the DOM
|
|
642
|
-
var add = __webpack_require__("499e").default
|
|
643
|
-
var update = add("e183417c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
644
|
-
|
|
645
|
-
/***/ }),
|
|
646
|
-
|
|
647
565
|
/***/ "c28b":
|
|
648
566
|
/***/ (function(module, exports, __webpack_require__) {
|
|
649
567
|
|
|
@@ -672,35 +590,36 @@ var update = add("e183417c", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
672
590
|
__webpack_require__.r(__webpack_exports__);
|
|
673
591
|
|
|
674
592
|
// EXPORTS
|
|
675
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
676
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
677
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
593
|
+
__webpack_require__.d(__webpack_exports__, "DtBanner", function() { return /* reexport */ banner; });
|
|
594
|
+
__webpack_require__.d(__webpack_exports__, "DtButton", function() { return /* reexport */ button_button; });
|
|
595
|
+
__webpack_require__.d(__webpack_exports__, "DtInput", function() { return /* reexport */ input_input; });
|
|
678
596
|
__webpack_require__.d(__webpack_exports__, "INPUT_TYPES", function() { return /* reexport */ INPUT_TYPES; });
|
|
679
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
680
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
681
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
597
|
+
__webpack_require__.d(__webpack_exports__, "INPUT_SIZES", function() { return /* reexport */ INPUT_SIZES; });
|
|
598
|
+
__webpack_require__.d(__webpack_exports__, "DtInputGroup", function() { return /* reexport */ input_group_input_group; });
|
|
599
|
+
__webpack_require__.d(__webpack_exports__, "DtModal", function() { return /* reexport */ modal_modal; });
|
|
682
600
|
__webpack_require__.d(__webpack_exports__, "MODAL_KIND_MODIFIERS", function() { return /* reexport */ MODAL_KIND_MODIFIERS; });
|
|
683
601
|
__webpack_require__.d(__webpack_exports__, "MODAL_SIZE_MODIFIERS", function() { return /* reexport */ MODAL_SIZE_MODIFIERS; });
|
|
684
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
685
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
686
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
687
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
602
|
+
__webpack_require__.d(__webpack_exports__, "DtLazyShow", function() { return /* reexport */ lazy_show; });
|
|
603
|
+
__webpack_require__.d(__webpack_exports__, "DtListSection", function() { return /* reexport */ list_section; });
|
|
604
|
+
__webpack_require__.d(__webpack_exports__, "DtListItem", function() { return /* reexport */ list_item; });
|
|
605
|
+
__webpack_require__.d(__webpack_exports__, "DtNotice", function() { return /* reexport */ notice; });
|
|
688
606
|
__webpack_require__.d(__webpack_exports__, "NOTICE_KINDS", function() { return /* reexport */ NOTICE_KINDS; });
|
|
689
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
607
|
+
__webpack_require__.d(__webpack_exports__, "DtPopover", function() { return /* reexport */ popover; });
|
|
690
608
|
__webpack_require__.d(__webpack_exports__, "POPOVER_PADDING_CLASSES", function() { return /* reexport */ POPOVER_PADDING_CLASSES; });
|
|
691
609
|
__webpack_require__.d(__webpack_exports__, "POPOVER_HORIZONTAL_ALIGNMENT", function() { return /* reexport */ POPOVER_HORIZONTAL_ALIGNMENT; });
|
|
692
610
|
__webpack_require__.d(__webpack_exports__, "POPOVER_VERTICAL_ALIGNMENT", function() { return /* reexport */ POPOVER_VERTICAL_ALIGNMENT; });
|
|
693
611
|
__webpack_require__.d(__webpack_exports__, "POPOVER_ROLES", function() { return /* reexport */ POPOVER_ROLES; });
|
|
694
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
695
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
696
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
697
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
698
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
699
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
700
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
701
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
702
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
612
|
+
__webpack_require__.d(__webpack_exports__, "DtRadio", function() { return /* reexport */ radio_radio; });
|
|
613
|
+
__webpack_require__.d(__webpack_exports__, "DtRadioGroup", function() { return /* reexport */ radio_group; });
|
|
614
|
+
__webpack_require__.d(__webpack_exports__, "DtValidationMessages", function() { return /* reexport */ validation_messages; });
|
|
615
|
+
__webpack_require__.d(__webpack_exports__, "DtCheckbox", function() { return /* reexport */ checkbox_checkbox; });
|
|
616
|
+
__webpack_require__.d(__webpack_exports__, "DtCheckboxGroup", function() { return /* reexport */ checkbox_group; });
|
|
617
|
+
__webpack_require__.d(__webpack_exports__, "DtInputMixin", function() { return /* reexport */ InputMixin; });
|
|
618
|
+
__webpack_require__.d(__webpack_exports__, "DtCheckableInputMixin", function() { return /* reexport */ CheckableMixin; });
|
|
619
|
+
__webpack_require__.d(__webpack_exports__, "DtGroupableInputMixin", function() { return /* reexport */ GroupableMixin; });
|
|
620
|
+
__webpack_require__.d(__webpack_exports__, "DtInputGroupMixin", function() { return /* reexport */ InputGroupMixin; });
|
|
703
621
|
__webpack_require__.d(__webpack_exports__, "VALIDATION_MESSAGE_TYPES", function() { return /* reexport */ VALIDATION_MESSAGE_TYPES; });
|
|
622
|
+
__webpack_require__.d(__webpack_exports__, "DESCRIPTION_SIZE_TYPES", function() { return /* reexport */ DESCRIPTION_SIZE_TYPES; });
|
|
704
623
|
__webpack_require__.d(__webpack_exports__, "DEFAULT_VALIDATION_MESSAGE_TYPE", function() { return /* reexport */ DEFAULT_VALIDATION_MESSAGE_TYPE; });
|
|
705
624
|
__webpack_require__.d(__webpack_exports__, "validationMessageValidator", function() { return /* reexport */ validationMessageValidator; });
|
|
706
625
|
__webpack_require__.d(__webpack_exports__, "getUniqueString", function() { return /* reexport */ getUniqueString; });
|
|
@@ -724,21 +643,21 @@ if (typeof window !== 'undefined') {
|
|
|
724
643
|
// Indicate to webpack that this file can be concatenated
|
|
725
644
|
/* harmony default export */ var setPublicPath = (null);
|
|
726
645
|
|
|
727
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
728
|
-
var 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('
|
|
646
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"59098857-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=928dbcb4&
|
|
647
|
+
var 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)])}
|
|
729
648
|
var staticRenderFns = []
|
|
730
649
|
|
|
731
650
|
|
|
732
|
-
// CONCATENATED MODULE: ./components/banner/banner.vue?vue&type=template&id=
|
|
651
|
+
// CONCATENATED MODULE: ./components/banner/banner.vue?vue&type=template&id=928dbcb4&
|
|
733
652
|
|
|
734
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
735
|
-
var
|
|
736
|
-
var
|
|
653
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"59098857-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=21baafec&
|
|
654
|
+
var notice_iconvue_type_template_id_21baafec_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 d-as-center"},[_vm._t("default",[_c(_vm.defaultIcon,{tag:"component"})])],2):_vm._e()}
|
|
655
|
+
var notice_iconvue_type_template_id_21baafec_staticRenderFns = []
|
|
737
656
|
|
|
738
657
|
|
|
739
|
-
// CONCATENATED MODULE: ./components/notice/notice_icon.vue?vue&type=template&id=
|
|
658
|
+
// CONCATENATED MODULE: ./components/notice/notice_icon.vue?vue&type=template&id=21baafec&
|
|
740
659
|
|
|
741
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
660
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"59098857-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&
|
|
742
661
|
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"}})])}
|
|
743
662
|
var IconInfovue_type_template_id_d1105ee6_staticRenderFns = []
|
|
744
663
|
|
|
@@ -864,7 +783,7 @@ var component = normalizeComponent(
|
|
|
864
783
|
)
|
|
865
784
|
|
|
866
785
|
/* harmony default export */ var IconInfo = (component.exports);
|
|
867
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
786
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"59098857-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&
|
|
868
787
|
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"}})])}
|
|
869
788
|
var IconWarningvue_type_template_id_0a24defa_staticRenderFns = []
|
|
870
789
|
|
|
@@ -890,7 +809,7 @@ var IconWarning_component = normalizeComponent(
|
|
|
890
809
|
)
|
|
891
810
|
|
|
892
811
|
/* harmony default export */ var IconWarning = (IconWarning_component.exports);
|
|
893
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
812
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"59098857-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&
|
|
894
813
|
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"}})])}
|
|
895
814
|
var IconErrorvue_type_template_id_4d9e3e9d_staticRenderFns = []
|
|
896
815
|
|
|
@@ -916,7 +835,7 @@ var IconError_component = normalizeComponent(
|
|
|
916
835
|
)
|
|
917
836
|
|
|
918
837
|
/* harmony default export */ var IconError = (IconError_component.exports);
|
|
919
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
838
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"59098857-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/IconCheckmark.vue?vue&type=template&id=00878f9c&
|
|
920
839
|
var IconCheckmarkvue_type_template_id_00878f9c_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__checkmark",attrs:{"aria-hidden":"true","aria-label":"Checkmark","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"d":"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])}
|
|
921
840
|
var IconCheckmarkvue_type_template_id_00878f9c_staticRenderFns = []
|
|
922
841
|
|
|
@@ -943,7 +862,7 @@ var IconCheckmark_component = normalizeComponent(
|
|
|
943
862
|
|
|
944
863
|
/* harmony default export */ var IconCheckmark = (IconCheckmark_component.exports);
|
|
945
864
|
// CONCATENATED MODULE: ./components/notice/notice_constants.js
|
|
946
|
-
const NOTICE_KINDS = ['
|
|
865
|
+
const NOTICE_KINDS = ['', 'info', 'warning', 'error', 'success'];
|
|
947
866
|
/* harmony default export */ var notice_constants = ({
|
|
948
867
|
NOTICE_KINDS
|
|
949
868
|
});
|
|
@@ -967,7 +886,7 @@ const NOTICE_KINDS = ['base', 'info', 'warning', 'error', 'success'];
|
|
|
967
886
|
|
|
968
887
|
const kindToIcon = new Map([['info', 'IconInfo'], ['success', 'IconCheckmark'], ['warning', 'IconWarning'], ['error', 'IconError'], ['base', null]]);
|
|
969
888
|
/* harmony default export */ var notice_iconvue_type_script_lang_js_ = ({
|
|
970
|
-
name: '
|
|
889
|
+
name: 'DtNoticeIcon',
|
|
971
890
|
components: {
|
|
972
891
|
IconInfo: IconInfo,
|
|
973
892
|
IconWarning: IconWarning,
|
|
@@ -1004,8 +923,8 @@ const kindToIcon = new Map([['info', 'IconInfo'], ['success', 'IconCheckmark'],
|
|
|
1004
923
|
|
|
1005
924
|
var notice_icon_component = normalizeComponent(
|
|
1006
925
|
notice_notice_iconvue_type_script_lang_js_,
|
|
1007
|
-
|
|
1008
|
-
|
|
926
|
+
notice_iconvue_type_template_id_21baafec_render,
|
|
927
|
+
notice_iconvue_type_template_id_21baafec_staticRenderFns,
|
|
1009
928
|
false,
|
|
1010
929
|
null,
|
|
1011
930
|
null,
|
|
@@ -1014,12 +933,12 @@ var notice_icon_component = normalizeComponent(
|
|
|
1014
933
|
)
|
|
1015
934
|
|
|
1016
935
|
/* harmony default export */ var notice_icon = (notice_icon_component.exports);
|
|
1017
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1018
|
-
var
|
|
1019
|
-
var
|
|
936
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"59098857-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=153d0212&
|
|
937
|
+
var notice_contentvue_type_template_id_153d0212_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-notice__content d-fw-wrap"},[(_vm.title || this.$slots.titleOverride)?_c('h1',{staticClass:"d-notice__title",attrs:{"id":_vm.titleId}},[_vm._t("titleOverride",[_vm._v(" "+_vm._s(_vm.title)+" ")])],2):_vm._e(),_c('p',{staticClass:"d-notice__message",attrs:{"id":_vm.contentId}},[_vm._t("default")],2)])}
|
|
938
|
+
var notice_contentvue_type_template_id_153d0212_staticRenderFns = []
|
|
1020
939
|
|
|
1021
940
|
|
|
1022
|
-
// CONCATENATED MODULE: ./components/notice/notice_content.vue?vue&type=template&id=
|
|
941
|
+
// CONCATENATED MODULE: ./components/notice/notice_content.vue?vue&type=template&id=153d0212&
|
|
1023
942
|
|
|
1024
943
|
// 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_content.vue?vue&type=script&lang=js&
|
|
1025
944
|
//
|
|
@@ -1045,7 +964,7 @@ var notice_contentvue_type_template_id_30c035b7_staticRenderFns = []
|
|
|
1045
964
|
//
|
|
1046
965
|
//
|
|
1047
966
|
/* harmony default export */ var notice_contentvue_type_script_lang_js_ = ({
|
|
1048
|
-
name: '
|
|
967
|
+
name: 'DtNoticeContent',
|
|
1049
968
|
props: {
|
|
1050
969
|
title: {
|
|
1051
970
|
type: String,
|
|
@@ -1073,8 +992,8 @@ var notice_contentvue_type_template_id_30c035b7_staticRenderFns = []
|
|
|
1073
992
|
|
|
1074
993
|
var notice_content_component = normalizeComponent(
|
|
1075
994
|
notice_notice_contentvue_type_script_lang_js_,
|
|
1076
|
-
|
|
1077
|
-
|
|
995
|
+
notice_contentvue_type_template_id_153d0212_render,
|
|
996
|
+
notice_contentvue_type_template_id_153d0212_staticRenderFns,
|
|
1078
997
|
false,
|
|
1079
998
|
null,
|
|
1080
999
|
null,
|
|
@@ -1083,14 +1002,14 @@ var notice_content_component = normalizeComponent(
|
|
|
1083
1002
|
)
|
|
1084
1003
|
|
|
1085
1004
|
/* harmony default export */ var notice_content = (notice_content_component.exports);
|
|
1086
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1087
|
-
var
|
|
1088
|
-
var
|
|
1005
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"59098857-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=5a25139e&
|
|
1006
|
+
var notice_actionvue_type_template_id_5a25139e_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-notice__actions"},[_vm._t("default"),(!_vm.hideClose)?_c('dt-button',_vm._b({ref:"closeButton",staticClass:"d-notice__btn d-notice__close",attrs:{"importance":"clear","circle":"","aria-label":_vm.closeButtonProps.ariaLabel ? _vm.closeButtonProps.ariaLabel : null},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)}
|
|
1007
|
+
var notice_actionvue_type_template_id_5a25139e_staticRenderFns = []
|
|
1089
1008
|
|
|
1090
1009
|
|
|
1091
|
-
// CONCATENATED MODULE: ./components/notice/notice_action.vue?vue&type=template&id=
|
|
1010
|
+
// CONCATENATED MODULE: ./components/notice/notice_action.vue?vue&type=template&id=5a25139e&
|
|
1092
1011
|
|
|
1093
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1012
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"59098857-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&
|
|
1094
1013
|
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"}})])}
|
|
1095
1014
|
var IconClosevue_type_template_id_18642c39_staticRenderFns = []
|
|
1096
1015
|
|
|
@@ -1116,17 +1035,79 @@ var IconClose_component = normalizeComponent(
|
|
|
1116
1035
|
)
|
|
1117
1036
|
|
|
1118
1037
|
/* harmony default export */ var IconClose = (IconClose_component.exports);
|
|
1119
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1120
|
-
var
|
|
1121
|
-
var
|
|
1038
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"59098857-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=3fe946f4&
|
|
1039
|
+
var buttonvue_type_template_id_3fe946f4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',_vm._g({class:['base-button__button', _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:['base-button__icon', _vm.iconClasses],attrs:{"data-qa":"dt-button-icon"}},[_vm._t("icon")],2):_vm._e(),_c('span',{class:['base-button__label', 'd-btn__label'],attrs:{"data-qa":"dt-button-label"}},[_vm._t("default")],2)])}
|
|
1040
|
+
var buttonvue_type_template_id_3fe946f4_staticRenderFns = []
|
|
1122
1041
|
|
|
1123
1042
|
|
|
1124
|
-
// CONCATENATED MODULE: ./components/button/button.vue?vue&type=template&id=
|
|
1043
|
+
// CONCATENATED MODULE: ./components/button/button.vue?vue&type=template&id=3fe946f4&
|
|
1125
1044
|
|
|
1126
1045
|
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
1127
1046
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
1128
1047
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
1129
1048
|
|
|
1049
|
+
// CONCATENATED MODULE: ./components/button/button_constants.js
|
|
1050
|
+
const BUTTON_SIZE_MODIFIERS = {
|
|
1051
|
+
xs: 'd-btn--xs',
|
|
1052
|
+
sm: 'd-btn--sm',
|
|
1053
|
+
md: '',
|
|
1054
|
+
lg: 'd-btn--lg',
|
|
1055
|
+
xl: 'd-btn--xl'
|
|
1056
|
+
};
|
|
1057
|
+
const BUTTON_KIND_MODIFIERS = {
|
|
1058
|
+
default: '',
|
|
1059
|
+
danger: 'd-btn--danger',
|
|
1060
|
+
inverted: 'd-btn--inverted'
|
|
1061
|
+
};
|
|
1062
|
+
const BUTTON_IMPORTANCE_MODIFIERS = {
|
|
1063
|
+
clear: '',
|
|
1064
|
+
primary: 'd-btn--primary',
|
|
1065
|
+
outlined: 'd-btn--outlined'
|
|
1066
|
+
};
|
|
1067
|
+
const BUTTON_TYPES = ['submit', 'reset', 'button'];
|
|
1068
|
+
const ICON_POSITION_MODIFIERS = {
|
|
1069
|
+
left: 'd-btn__icon--left',
|
|
1070
|
+
right: 'd-btn__icon--right'
|
|
1071
|
+
}; // TODO: Use LINK_KIND_MODIFIERS from the link component
|
|
1072
|
+
// rather than this one once it gets merged in.
|
|
1073
|
+
|
|
1074
|
+
const LINK_KIND_MODIFIERS = {
|
|
1075
|
+
default: 'd-link',
|
|
1076
|
+
warning: 'd-link--warning',
|
|
1077
|
+
danger: 'd-link--danger',
|
|
1078
|
+
success: 'd-link--success',
|
|
1079
|
+
muted: 'd-link--muted',
|
|
1080
|
+
inverted: 'd-link--inverted'
|
|
1081
|
+
};
|
|
1082
|
+
const INVALID_COMBINATION = [{
|
|
1083
|
+
circle: true,
|
|
1084
|
+
kind: 'default',
|
|
1085
|
+
importance: 'primary',
|
|
1086
|
+
message: _invalidCombinationMessage(true, 'default', 'primary')
|
|
1087
|
+
}, {
|
|
1088
|
+
circle: true,
|
|
1089
|
+
kind: 'danger',
|
|
1090
|
+
importance: 'outlined',
|
|
1091
|
+
message: _invalidCombinationMessage(true, 'danger', 'outlined')
|
|
1092
|
+
}];
|
|
1093
|
+
|
|
1094
|
+
function _invalidCombinationMessage(circle, kind, importance) {
|
|
1095
|
+
return `You cannot not have a ${circle ? 'circle ' : ''}button \
|
|
1096
|
+
with kind: ${kind} and importance: ${importance} as it \
|
|
1097
|
+
does not exist in our design system. \
|
|
1098
|
+
See https://dialpad.design/components/button for a \
|
|
1099
|
+
list of available button styles`;
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
/* harmony default export */ var button_constants = ({
|
|
1103
|
+
BUTTON_SIZE_MODIFIERS,
|
|
1104
|
+
BUTTON_KIND_MODIFIERS,
|
|
1105
|
+
BUTTON_IMPORTANCE_MODIFIERS,
|
|
1106
|
+
BUTTON_TYPES,
|
|
1107
|
+
ICON_POSITION_MODIFIERS,
|
|
1108
|
+
LINK_KIND_MODIFIERS,
|
|
1109
|
+
INVALID_COMBINATION
|
|
1110
|
+
});
|
|
1130
1111
|
// 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/button/button.vue?vue&type=script&lang=js&
|
|
1131
1112
|
//
|
|
1132
1113
|
//
|
|
@@ -1156,45 +1137,21 @@ var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpac
|
|
|
1156
1137
|
//
|
|
1157
1138
|
//
|
|
1158
1139
|
//
|
|
1140
|
+
//
|
|
1141
|
+
|
|
1159
1142
|
|
|
1160
|
-
const BUTTON_SIZE_MODIFIERS = {
|
|
1161
|
-
xs: '--xs',
|
|
1162
|
-
sm: '--sm',
|
|
1163
|
-
md: '',
|
|
1164
|
-
lg: '--lg',
|
|
1165
|
-
xl: '--xl'
|
|
1166
|
-
};
|
|
1167
|
-
const BUTTON_KIND_MODIFIERS = {
|
|
1168
|
-
default: '',
|
|
1169
|
-
danger: '--danger',
|
|
1170
|
-
inverted: '--inverted'
|
|
1171
|
-
};
|
|
1172
|
-
const BUTTON_IMPORTANCE_MODIFIERS = {
|
|
1173
|
-
clear: '',
|
|
1174
|
-
primary: '--primary',
|
|
1175
|
-
outlined: '--outlined'
|
|
1176
|
-
};
|
|
1177
|
-
const BUTTON_TYPES = ['submit', 'reset', 'button'];
|
|
1178
|
-
const ICON_POSITIONS = ['left-align', 'split-left', 'center-align', 'right-align'];
|
|
1179
|
-
const LINK_KIND_MODIFIERS = {
|
|
1180
|
-
default: '',
|
|
1181
|
-
warning: '--warning',
|
|
1182
|
-
danger: '--danger',
|
|
1183
|
-
success: '--success',
|
|
1184
|
-
dark: '--dark'
|
|
1185
|
-
};
|
|
1186
1143
|
/**
|
|
1187
1144
|
* Base Vue component for Dialtone Buttons.
|
|
1188
1145
|
* @displayName HSButton
|
|
1189
1146
|
*/
|
|
1190
1147
|
|
|
1191
1148
|
/* harmony default export */ var buttonvue_type_script_lang_js_ = ({
|
|
1192
|
-
name: '
|
|
1149
|
+
name: 'DtButton',
|
|
1193
1150
|
props: {
|
|
1194
1151
|
/**
|
|
1195
1152
|
* Whether the button is a circle or not.
|
|
1196
1153
|
* @values true, false
|
|
1197
|
-
* @see https://dialpad.design/components/
|
|
1154
|
+
* @see https://dialpad.design/components/button/
|
|
1198
1155
|
*/
|
|
1199
1156
|
circle: {
|
|
1200
1157
|
type: Boolean,
|
|
@@ -1203,19 +1160,19 @@ const LINK_KIND_MODIFIERS = {
|
|
|
1203
1160
|
|
|
1204
1161
|
/**
|
|
1205
1162
|
* The position of the icon slot within the button.
|
|
1206
|
-
* @values left,
|
|
1207
|
-
* @see https://dialpad.design/components/
|
|
1163
|
+
* @values left, right
|
|
1164
|
+
* @see https://dialpad.design/components/button/
|
|
1208
1165
|
*/
|
|
1209
1166
|
iconPosition: {
|
|
1210
1167
|
type: String,
|
|
1211
|
-
default: '
|
|
1212
|
-
validator: position =>
|
|
1168
|
+
default: 'left',
|
|
1169
|
+
validator: position => Object.keys(ICON_POSITION_MODIFIERS).includes(position)
|
|
1213
1170
|
},
|
|
1214
1171
|
|
|
1215
1172
|
/**
|
|
1216
1173
|
* The fill and outline of the button associated with its visual importance.
|
|
1217
1174
|
* @values clear, outlined, primary
|
|
1218
|
-
* @see https://dialpad.design/components/
|
|
1175
|
+
* @see https://dialpad.design/components/button/
|
|
1219
1176
|
*/
|
|
1220
1177
|
importance: {
|
|
1221
1178
|
type: String,
|
|
@@ -1226,27 +1183,17 @@ const LINK_KIND_MODIFIERS = {
|
|
|
1226
1183
|
/**
|
|
1227
1184
|
* Whether the button should be styled as a link or not.
|
|
1228
1185
|
* @values true, false
|
|
1229
|
-
* @see https://dialpad.design/components/
|
|
1186
|
+
* @see https://dialpad.design/components/link
|
|
1230
1187
|
*/
|
|
1231
1188
|
link: {
|
|
1232
1189
|
type: Boolean,
|
|
1233
1190
|
default: false
|
|
1234
1191
|
},
|
|
1235
1192
|
|
|
1236
|
-
/**
|
|
1237
|
-
* Whether the link should be inverted if the button is styled as a link.
|
|
1238
|
-
* @values true, false
|
|
1239
|
-
* @see https://dialpad.design/components/links/#
|
|
1240
|
-
*/
|
|
1241
|
-
linkInverted: {
|
|
1242
|
-
type: Boolean,
|
|
1243
|
-
default: false
|
|
1244
|
-
},
|
|
1245
|
-
|
|
1246
1193
|
/**
|
|
1247
1194
|
* The color of the link and button if the button is styled as a link.
|
|
1248
1195
|
* @values danger, dark, default, success, warning
|
|
1249
|
-
* @see https://dialpad.design/components/
|
|
1196
|
+
* @see https://dialpad.design/components/link
|
|
1250
1197
|
*/
|
|
1251
1198
|
linkKind: {
|
|
1252
1199
|
type: String,
|
|
@@ -1268,7 +1215,7 @@ const LINK_KIND_MODIFIERS = {
|
|
|
1268
1215
|
/**
|
|
1269
1216
|
* The size of the button.
|
|
1270
1217
|
* @values xs, s, md, lg, xl
|
|
1271
|
-
* @see https://dialpad.design/components/
|
|
1218
|
+
* @see https://dialpad.design/components/button
|
|
1272
1219
|
*/
|
|
1273
1220
|
size: {
|
|
1274
1221
|
type: String,
|
|
@@ -1279,7 +1226,7 @@ const LINK_KIND_MODIFIERS = {
|
|
|
1279
1226
|
/**
|
|
1280
1227
|
* Whether the button should display a loading animation or not.
|
|
1281
1228
|
* @values true, false
|
|
1282
|
-
* @see https://dialpad.design/components/
|
|
1229
|
+
* @see https://dialpad.design/components/button
|
|
1283
1230
|
*/
|
|
1284
1231
|
loading: {
|
|
1285
1232
|
type: Boolean,
|
|
@@ -1289,7 +1236,7 @@ const LINK_KIND_MODIFIERS = {
|
|
|
1289
1236
|
/**
|
|
1290
1237
|
* The color of the button.
|
|
1291
1238
|
* @values default, danger, inverted
|
|
1292
|
-
*
|
|
1239
|
+
* @see https://dialpad.design/components/button
|
|
1293
1240
|
*/
|
|
1294
1241
|
kind: {
|
|
1295
1242
|
type: String,
|
|
@@ -1338,121 +1285,65 @@ const LINK_KIND_MODIFIERS = {
|
|
|
1338
1285
|
},
|
|
1339
1286
|
|
|
1340
1287
|
buttonClasses() {
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
},
|
|
1344
|
-
|
|
1345
|
-
buttonMainClass() {
|
|
1346
|
-
const shape = this.circle ? '--circle' : '';
|
|
1347
|
-
const kind = BUTTON_KIND_MODIFIERS[this.kind] || '';
|
|
1348
|
-
const importance = BUTTON_IMPORTANCE_MODIFIERS[this.importance] || '';
|
|
1349
|
-
const loading = this.loading ? '--loading' : ''; // Button class structure: .d-btn--shape--kind--importance--state
|
|
1350
|
-
|
|
1351
|
-
return `d-btn${shape}${kind}${importance}${loading}`;
|
|
1352
|
-
},
|
|
1353
|
-
|
|
1354
|
-
buttonLinkClass() {
|
|
1355
|
-
const inverted = this.linkInverted ? '--inverted' : '';
|
|
1356
|
-
const linkKind = LINK_KIND_MODIFIERS[this.linkKind] || ''; // Link class structure: .d-link--inverted--kind
|
|
1357
|
-
|
|
1358
|
-
return `d-link${inverted}${linkKind}`;
|
|
1359
|
-
},
|
|
1360
|
-
|
|
1361
|
-
buttonSizeClass() {
|
|
1362
|
-
const shape = this.circle ? '--circle' : '';
|
|
1363
|
-
const size = BUTTON_SIZE_MODIFIERS[this.size] || ''; // Size class structure: .d-btn--shape--size
|
|
1364
|
-
|
|
1365
|
-
return `d-btn${shape}${size}`;
|
|
1366
|
-
},
|
|
1367
|
-
|
|
1368
|
-
buttonIconPositionClass() {
|
|
1369
|
-
// Note(cormac): When it has an icon, a button only needs extra styling if its icon is positioned left-align.
|
|
1370
|
-
if (this.hasIconSlot && this.iconPosition === 'left-align') {
|
|
1371
|
-
return 'button__left-align';
|
|
1372
|
-
}
|
|
1373
|
-
|
|
1374
|
-
return '';
|
|
1375
|
-
},
|
|
1376
|
-
|
|
1377
|
-
hasIconSlot() {
|
|
1378
|
-
return !!this.$slots.icon;
|
|
1379
|
-
},
|
|
1380
|
-
|
|
1381
|
-
iconPositionClass() {
|
|
1382
|
-
// Note(cormac): When a button has an icon, the icon only needs extra styling when it's positioned right-align.
|
|
1383
|
-
if (this.hasIconSlot && this.iconPosition === 'right-align') {
|
|
1384
|
-
return 'd-btn__icon--last';
|
|
1288
|
+
if (this.link) {
|
|
1289
|
+
return ['d-link', LINK_KIND_MODIFIERS[this.linkKind], BUTTON_SIZE_MODIFIERS[this.size]];
|
|
1385
1290
|
}
|
|
1386
1291
|
|
|
1387
|
-
return ''
|
|
1292
|
+
return ['d-btn', BUTTON_IMPORTANCE_MODIFIERS[this.importance], BUTTON_KIND_MODIFIERS[this.kind], BUTTON_SIZE_MODIFIERS[this.size], {
|
|
1293
|
+
'd-btn--circle': this.circle,
|
|
1294
|
+
'd-btn--loading': this.loading
|
|
1295
|
+
}];
|
|
1388
1296
|
},
|
|
1389
1297
|
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
return [];
|
|
1393
|
-
}
|
|
1394
|
-
|
|
1395
|
-
const classes = [];
|
|
1396
|
-
|
|
1397
|
-
if (this.iconPosition === 'split-left' || this.iconPosition === 'right-align') {
|
|
1398
|
-
classes.push('d-flex1');
|
|
1399
|
-
}
|
|
1400
|
-
|
|
1401
|
-
if (this.iconPosition === 'right-align') {
|
|
1402
|
-
classes.push('button__label__right-align');
|
|
1403
|
-
}
|
|
1404
|
-
|
|
1405
|
-
return classes;
|
|
1298
|
+
iconClasses() {
|
|
1299
|
+
return ['d-btn__icon', ICON_POSITION_MODIFIERS[this.iconPosition]];
|
|
1406
1300
|
}
|
|
1407
1301
|
|
|
1408
1302
|
},
|
|
1409
|
-
|
|
1410
|
-
|
|
1303
|
+
watch: {
|
|
1304
|
+
$props: {
|
|
1305
|
+
immediate: true,
|
|
1411
1306
|
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
}
|
|
1307
|
+
handler() {
|
|
1308
|
+
if (true) return;
|
|
1415
1309
|
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1310
|
+
if (this.circle && this.link) {
|
|
1311
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.util.warn('You cannot enable circle and link at the same time', this);
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
this.isInvalidPropCombination(this.circle, this.kind, this.importance);
|
|
1315
|
+
}
|
|
1419
1316
|
|
|
1420
|
-
if (this.circle && this.link) {
|
|
1421
|
-
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.util.warn('Unsupported link: circle d-link is not supported.', this);
|
|
1422
1317
|
}
|
|
1423
1318
|
},
|
|
1424
1319
|
methods: {
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1320
|
+
isInvalidPropCombination(circle, kind, importance) {
|
|
1321
|
+
for (const row of INVALID_COMBINATION) {
|
|
1322
|
+
if (circle === row.circle && kind === row.kind && importance === row.importance) {
|
|
1323
|
+
console.error(row.message);
|
|
1324
|
+
return false;
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1431
1327
|
|
|
1432
|
-
|
|
1433
|
-
return this.linkInverted && this.linkKind !== 'danger' && this.linkKind !== 'default';
|
|
1328
|
+
return true;
|
|
1434
1329
|
}
|
|
1435
1330
|
|
|
1436
1331
|
}
|
|
1437
1332
|
});
|
|
1438
1333
|
// CONCATENATED MODULE: ./components/button/button.vue?vue&type=script&lang=js&
|
|
1439
1334
|
/* harmony default export */ var button_buttonvue_type_script_lang_js_ = (buttonvue_type_script_lang_js_);
|
|
1440
|
-
// EXTERNAL MODULE: ./components/button/button.vue?vue&type=style&index=0&lang=less&
|
|
1441
|
-
var buttonvue_type_style_index_0_lang_less_ = __webpack_require__("84cc");
|
|
1442
|
-
|
|
1443
1335
|
// CONCATENATED MODULE: ./components/button/button.vue
|
|
1444
1336
|
|
|
1445
1337
|
|
|
1446
1338
|
|
|
1447
1339
|
|
|
1448
1340
|
|
|
1449
|
-
|
|
1450
1341
|
/* normalize component */
|
|
1451
1342
|
|
|
1452
1343
|
var button_component = normalizeComponent(
|
|
1453
1344
|
button_buttonvue_type_script_lang_js_,
|
|
1454
|
-
|
|
1455
|
-
|
|
1345
|
+
buttonvue_type_template_id_3fe946f4_render,
|
|
1346
|
+
buttonvue_type_template_id_3fe946f4_staticRenderFns,
|
|
1456
1347
|
false,
|
|
1457
1348
|
null,
|
|
1458
1349
|
null,
|
|
@@ -1484,10 +1375,10 @@ var button_component = normalizeComponent(
|
|
|
1484
1375
|
|
|
1485
1376
|
|
|
1486
1377
|
/* harmony default export */ var notice_actionvue_type_script_lang_js_ = ({
|
|
1487
|
-
name: '
|
|
1378
|
+
name: 'DtNoticeAction',
|
|
1488
1379
|
components: {
|
|
1489
1380
|
IconClose: IconClose,
|
|
1490
|
-
|
|
1381
|
+
DtButton: button_button
|
|
1491
1382
|
},
|
|
1492
1383
|
props: {
|
|
1493
1384
|
closeButtonProps: {
|
|
@@ -1537,8 +1428,8 @@ var button_component = normalizeComponent(
|
|
|
1537
1428
|
|
|
1538
1429
|
var notice_action_component = normalizeComponent(
|
|
1539
1430
|
notice_notice_actionvue_type_script_lang_js_,
|
|
1540
|
-
|
|
1541
|
-
|
|
1431
|
+
notice_actionvue_type_template_id_5a25139e_render,
|
|
1432
|
+
notice_actionvue_type_template_id_5a25139e_staticRenderFns,
|
|
1542
1433
|
false,
|
|
1543
1434
|
null,
|
|
1544
1435
|
null,
|
|
@@ -1637,11 +1528,24 @@ const focusableElementsList = `button:${nonFocusableAttrs},
|
|
|
1637
1528
|
}
|
|
1638
1529
|
});
|
|
1639
1530
|
// CONCATENATED MODULE: ./components/constants.js
|
|
1531
|
+
/* TODO: Move and sort these in a constants directory
|
|
1532
|
+
|
|
1533
|
+
Example:
|
|
1534
|
+
constants/
|
|
1535
|
+
forms.js
|
|
1536
|
+
defaults.js
|
|
1537
|
+
...
|
|
1538
|
+
*/
|
|
1640
1539
|
// Types of messages, also dictates what is the current state of the input.
|
|
1641
1540
|
const VALIDATION_MESSAGE_TYPES = {
|
|
1642
1541
|
ERROR: 'error',
|
|
1643
1542
|
WARNING: 'warning',
|
|
1644
1543
|
SUCCESS: 'success'
|
|
1544
|
+
}; // Description size variants
|
|
1545
|
+
|
|
1546
|
+
const DESCRIPTION_SIZE_TYPES = {
|
|
1547
|
+
LARGE: 'lg',
|
|
1548
|
+
EXTRA_LARGE: 'xl'
|
|
1645
1549
|
};
|
|
1646
1550
|
/*
|
|
1647
1551
|
* Any string message or message object in the messages prop that do not specify
|
|
@@ -1653,6 +1557,7 @@ const DEFAULT_VALIDATION_MESSAGE_TYPE = VALIDATION_MESSAGE_TYPES.ERROR; // Defau
|
|
|
1653
1557
|
const DEFAULT_PREFIX = 'hs';
|
|
1654
1558
|
/* harmony default export */ var constants = ({
|
|
1655
1559
|
VALIDATION_MESSAGE_TYPES,
|
|
1560
|
+
DESCRIPTION_SIZE_TYPES,
|
|
1656
1561
|
DEFAULT_VALIDATION_MESSAGE_TYPE,
|
|
1657
1562
|
DEFAULT_PREFIX
|
|
1658
1563
|
});
|
|
@@ -1769,6 +1674,8 @@ function hasFormattedMessageOfType(formattedMessages, messageType) {
|
|
|
1769
1674
|
//
|
|
1770
1675
|
//
|
|
1771
1676
|
//
|
|
1677
|
+
//
|
|
1678
|
+
//
|
|
1772
1679
|
|
|
1773
1680
|
|
|
1774
1681
|
|
|
@@ -1776,16 +1683,17 @@ function hasFormattedMessageOfType(formattedMessages, messageType) {
|
|
|
1776
1683
|
|
|
1777
1684
|
|
|
1778
1685
|
/* harmony default export */ var bannervue_type_script_lang_js_ = ({
|
|
1779
|
-
name: '
|
|
1686
|
+
name: 'DtBanner',
|
|
1780
1687
|
components: {
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1688
|
+
DtNoticeIcon: notice_icon,
|
|
1689
|
+
DtNoticeContent: notice_content,
|
|
1690
|
+
DtNoticeAction: notice_action
|
|
1784
1691
|
},
|
|
1785
1692
|
mixins: [modal],
|
|
1786
1693
|
props: {
|
|
1787
1694
|
/**
|
|
1788
|
-
* Sets an ID on the title element of the component. Useful for aria-describedby
|
|
1695
|
+
* Sets an ID on the title element of the component. Useful for aria-describedby
|
|
1696
|
+
* or aria-labelledby or any other reason you may need an id to refer to the title.
|
|
1789
1697
|
*/
|
|
1790
1698
|
titleId: {
|
|
1791
1699
|
type: String,
|
|
@@ -1797,7 +1705,8 @@ function hasFormattedMessageOfType(formattedMessages, messageType) {
|
|
|
1797
1705
|
},
|
|
1798
1706
|
|
|
1799
1707
|
/**
|
|
1800
|
-
* Sets an ID on the content element of the component. Useful for aria-describedby
|
|
1708
|
+
* Sets an ID on the content element of the component. Useful for aria-describedby
|
|
1709
|
+
* or aria-labelledby or any other reason you may need an id to refer to the content.
|
|
1801
1710
|
*/
|
|
1802
1711
|
contentId: {
|
|
1803
1712
|
type: String,
|
|
@@ -1817,7 +1726,8 @@ function hasFormattedMessageOfType(formattedMessages, messageType) {
|
|
|
1817
1726
|
},
|
|
1818
1727
|
|
|
1819
1728
|
/**
|
|
1820
|
-
* Used in scenarios where the message needs to visually dominate the screen.
|
|
1729
|
+
* Used in scenarios where the message needs to visually dominate the screen.
|
|
1730
|
+
* This will also change the aria role from status to alertdialog.
|
|
1821
1731
|
* and will modally trap the keyboard focus in the dialog as soon as it displays.
|
|
1822
1732
|
*/
|
|
1823
1733
|
important: {
|
|
@@ -1838,7 +1748,7 @@ function hasFormattedMessageOfType(formattedMessages, messageType) {
|
|
|
1838
1748
|
*/
|
|
1839
1749
|
kind: {
|
|
1840
1750
|
type: String,
|
|
1841
|
-
default: '
|
|
1751
|
+
default: '',
|
|
1842
1752
|
|
|
1843
1753
|
validate(kind) {
|
|
1844
1754
|
return NOTICE_KINDS.includes(kind);
|
|
@@ -1868,7 +1778,8 @@ function hasFormattedMessageOfType(formattedMessages, messageType) {
|
|
|
1868
1778
|
},
|
|
1869
1779
|
|
|
1870
1780
|
bannerClass() {
|
|
1871
|
-
return ['d-banner',
|
|
1781
|
+
return ['d-banner', {
|
|
1782
|
+
[`d-banner--${this.kind}`]: this.kind.length > 1,
|
|
1872
1783
|
'd-banner--important': this.important,
|
|
1873
1784
|
'd-banner--pinned': this.pinned
|
|
1874
1785
|
}];
|
|
@@ -1917,12 +1828,12 @@ var banner_component = normalizeComponent(
|
|
|
1917
1828
|
|
|
1918
1829
|
// CONCATENATED MODULE: ./components/button/index.js
|
|
1919
1830
|
|
|
1920
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1921
|
-
var
|
|
1922
|
-
var
|
|
1831
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"59098857-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=4ecb5bb6&
|
|
1832
|
+
var inputvue_type_template_id_4ecb5bb6_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",[_c('div',{class:['base-input__label-text', 'd-label', _vm.labelSizeModifierClass],attrs:{"data-qa":"dt-input-label"}},[_vm._v(" "+_vm._s(_vm.label)+" ")])]),(_vm.$slots.description || _vm.description)?_c('div',{class:['base-input__description', 'd-description', _vm.descriptionSizeModifierClass],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-ps-relative"},[(_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.$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(),(_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))])],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)}
|
|
1833
|
+
var inputvue_type_template_id_4ecb5bb6_staticRenderFns = []
|
|
1923
1834
|
|
|
1924
1835
|
|
|
1925
|
-
// CONCATENATED MODULE: ./components/input/input.vue?vue&type=template&id=
|
|
1836
|
+
// CONCATENATED MODULE: ./components/input/input.vue?vue&type=template&id=4ecb5bb6&
|
|
1926
1837
|
|
|
1927
1838
|
// CONCATENATED MODULE: ./components/input/input_constants.js
|
|
1928
1839
|
// Valid input types, any other input types (for example: 'radio' or 'checkbox') should
|
|
@@ -1934,26 +1845,30 @@ const INPUT_TYPES = {
|
|
|
1934
1845
|
EMAIL: 'email',
|
|
1935
1846
|
NUMBER: 'number'
|
|
1936
1847
|
};
|
|
1937
|
-
const
|
|
1848
|
+
const INPUT_SIZES = {
|
|
1938
1849
|
EXTRA_SMALL: 'xs',
|
|
1939
1850
|
SMALL: 'sm',
|
|
1940
|
-
DEFAULT: '',
|
|
1851
|
+
DEFAULT: 'md',
|
|
1941
1852
|
LARGE: 'lg',
|
|
1942
1853
|
EXTRA_LARGE: 'xl'
|
|
1943
1854
|
};
|
|
1944
1855
|
/* harmony default export */ var input_constants = ({
|
|
1945
1856
|
INPUT_TYPES,
|
|
1946
|
-
|
|
1857
|
+
INPUT_SIZES
|
|
1947
1858
|
});
|
|
1948
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1949
|
-
var
|
|
1859
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"59098857-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=37c959ef&
|
|
1860
|
+
var validation_messagesvue_type_template_id_37c959ef_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){
|
|
1950
1861
|
var message = ref.message;
|
|
1951
1862
|
var type = ref.type;
|
|
1952
|
-
return _c('div',{key:_vm.getMessageKey(type, index),class:[
|
|
1953
|
-
|
|
1863
|
+
return _c('div',{key:_vm.getMessageKey(type, index),class:[
|
|
1864
|
+
'base-input__message',
|
|
1865
|
+
'd-validation-message',
|
|
1866
|
+
("base-input__message--" + type),
|
|
1867
|
+
("d-validation-message--" + type) ],attrs:{"role":"status","aria-live":"polite","data-qa":"validation-message"}},[_vm._v(" "+_vm._s(message)+" ")])}),0):_vm._e()}
|
|
1868
|
+
var validation_messagesvue_type_template_id_37c959ef_staticRenderFns = []
|
|
1954
1869
|
|
|
1955
1870
|
|
|
1956
|
-
// CONCATENATED MODULE: ./components/validation_messages/validation_messages.vue?vue&type=template&id=
|
|
1871
|
+
// CONCATENATED MODULE: ./components/validation_messages/validation_messages.vue?vue&type=template&id=37c959ef&
|
|
1957
1872
|
|
|
1958
1873
|
// CONCATENATED MODULE: ./components/validators.js
|
|
1959
1874
|
|
|
@@ -1997,10 +1912,15 @@ function validationMessageValidator(rawMessages) {
|
|
|
1997
1912
|
//
|
|
1998
1913
|
//
|
|
1999
1914
|
//
|
|
1915
|
+
//
|
|
1916
|
+
//
|
|
1917
|
+
//
|
|
1918
|
+
//
|
|
1919
|
+
//
|
|
2000
1920
|
|
|
2001
1921
|
|
|
2002
1922
|
/* harmony default export */ var validation_messagesvue_type_script_lang_js_ = ({
|
|
2003
|
-
name: '
|
|
1923
|
+
name: 'DtValidationMessages',
|
|
2004
1924
|
props: {
|
|
2005
1925
|
/**
|
|
2006
1926
|
* The id of the validation message
|
|
@@ -2065,8 +1985,8 @@ function validationMessageValidator(rawMessages) {
|
|
|
2065
1985
|
|
|
2066
1986
|
var validation_messages_component = normalizeComponent(
|
|
2067
1987
|
validation_messages_validation_messagesvue_type_script_lang_js_,
|
|
2068
|
-
|
|
2069
|
-
|
|
1988
|
+
validation_messagesvue_type_template_id_37c959ef_render,
|
|
1989
|
+
validation_messagesvue_type_template_id_37c959ef_staticRenderFns,
|
|
2070
1990
|
false,
|
|
2071
1991
|
null,
|
|
2072
1992
|
null,
|
|
@@ -2493,14 +2413,19 @@ const MessagesMixin = {
|
|
|
2493
2413
|
//
|
|
2494
2414
|
//
|
|
2495
2415
|
//
|
|
2416
|
+
//
|
|
2417
|
+
//
|
|
2418
|
+
//
|
|
2419
|
+
//
|
|
2420
|
+
|
|
2496
2421
|
|
|
2497
2422
|
|
|
2498
2423
|
|
|
2499
2424
|
|
|
2500
2425
|
/* harmony default export */ var inputvue_type_script_lang_js_ = ({
|
|
2501
|
-
name: '
|
|
2426
|
+
name: 'DtInput',
|
|
2502
2427
|
components: {
|
|
2503
|
-
|
|
2428
|
+
DtValidationMessages: validation_messages
|
|
2504
2429
|
},
|
|
2505
2430
|
mixins: [MessagesMixin],
|
|
2506
2431
|
inheritAttrs: false,
|
|
@@ -2556,12 +2481,12 @@ const MessagesMixin = {
|
|
|
2556
2481
|
},
|
|
2557
2482
|
|
|
2558
2483
|
/**
|
|
2559
|
-
* Size of the input, one of `xs`, `sm`, `
|
|
2484
|
+
* Size of the input, one of `xs`, `sm`, `md`, `lg`, `xl`
|
|
2560
2485
|
*/
|
|
2561
2486
|
size: {
|
|
2562
2487
|
type: String,
|
|
2563
|
-
default:
|
|
2564
|
-
validator: t => Object.values(
|
|
2488
|
+
default: INPUT_SIZES.DEFAULT,
|
|
2489
|
+
validator: t => Object.values(INPUT_SIZES).includes(t)
|
|
2565
2490
|
}
|
|
2566
2491
|
},
|
|
2567
2492
|
emits: ['blur', 'input', 'clear'],
|
|
@@ -2570,6 +2495,10 @@ const MessagesMixin = {
|
|
|
2570
2495
|
return this.type === INPUT_TYPES.TEXTAREA;
|
|
2571
2496
|
},
|
|
2572
2497
|
|
|
2498
|
+
isDefaultSize() {
|
|
2499
|
+
return this.size === INPUT_SIZES.DEFAULT;
|
|
2500
|
+
},
|
|
2501
|
+
|
|
2573
2502
|
inputComponent() {
|
|
2574
2503
|
if (this.isTextarea) {
|
|
2575
2504
|
return 'textarea';
|
|
@@ -2603,7 +2532,7 @@ const MessagesMixin = {
|
|
|
2603
2532
|
},
|
|
2604
2533
|
|
|
2605
2534
|
sizeModifierClass() {
|
|
2606
|
-
if (
|
|
2535
|
+
if (this.isDefaultSize || !Object.values(INPUT_SIZES).includes(this.size)) {
|
|
2607
2536
|
return '';
|
|
2608
2537
|
}
|
|
2609
2538
|
|
|
@@ -2611,7 +2540,7 @@ const MessagesMixin = {
|
|
|
2611
2540
|
},
|
|
2612
2541
|
|
|
2613
2542
|
labelSizeModifierClass() {
|
|
2614
|
-
if (
|
|
2543
|
+
if (this.isDefaultSize || !Object.values(INPUT_SIZES).includes(this.size)) {
|
|
2615
2544
|
return '';
|
|
2616
2545
|
}
|
|
2617
2546
|
|
|
@@ -2619,7 +2548,7 @@ const MessagesMixin = {
|
|
|
2619
2548
|
},
|
|
2620
2549
|
|
|
2621
2550
|
descriptionSizeModifierClass() {
|
|
2622
|
-
if (
|
|
2551
|
+
if (this.isDefaultSize || !Object.values(DESCRIPTION_SIZE_TYPES).includes(this.size)) {
|
|
2623
2552
|
return '';
|
|
2624
2553
|
}
|
|
2625
2554
|
|
|
@@ -2629,13 +2558,15 @@ const MessagesMixin = {
|
|
|
2629
2558
|
},
|
|
2630
2559
|
methods: {
|
|
2631
2560
|
inputClasses() {
|
|
2632
|
-
return [`d-${this.inputComponent}`, {
|
|
2561
|
+
return ['base-input__input', `d-${this.inputComponent}`, {
|
|
2633
2562
|
[`d-${this.inputComponent}--${this.inputState} base-input__input--${this.inputState}`]: this.showInputState
|
|
2634
|
-
},
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
}
|
|
2563
|
+
}, this.sizeModifierClass];
|
|
2564
|
+
},
|
|
2565
|
+
|
|
2566
|
+
inputIconClasses(side) {
|
|
2567
|
+
return [`base-input__icon--${side}`, 'd-input-icon', `d-input-icon--${side}`, {
|
|
2568
|
+
[`d-input-icon--${this.size}`]: !this.isDefaultSize
|
|
2569
|
+
}];
|
|
2639
2570
|
},
|
|
2640
2571
|
|
|
2641
2572
|
onBlur(e) {
|
|
@@ -2670,22 +2601,18 @@ const MessagesMixin = {
|
|
|
2670
2601
|
});
|
|
2671
2602
|
// CONCATENATED MODULE: ./components/input/input.vue?vue&type=script&lang=js&
|
|
2672
2603
|
/* harmony default export */ var input_inputvue_type_script_lang_js_ = (inputvue_type_script_lang_js_);
|
|
2673
|
-
// EXTERNAL MODULE: ./components/input/input.vue?vue&type=style&index=0&lang=less&
|
|
2674
|
-
var inputvue_type_style_index_0_lang_less_ = __webpack_require__("2133");
|
|
2675
|
-
|
|
2676
2604
|
// CONCATENATED MODULE: ./components/input/input.vue
|
|
2677
2605
|
|
|
2678
2606
|
|
|
2679
2607
|
|
|
2680
2608
|
|
|
2681
2609
|
|
|
2682
|
-
|
|
2683
2610
|
/* normalize component */
|
|
2684
2611
|
|
|
2685
2612
|
var input_component = normalizeComponent(
|
|
2686
2613
|
input_inputvue_type_script_lang_js_,
|
|
2687
|
-
|
|
2688
|
-
|
|
2614
|
+
inputvue_type_template_id_4ecb5bb6_render,
|
|
2615
|
+
inputvue_type_template_id_4ecb5bb6_staticRenderFns,
|
|
2689
2616
|
false,
|
|
2690
2617
|
null,
|
|
2691
2618
|
null,
|
|
@@ -2697,12 +2624,12 @@ var input_component = normalizeComponent(
|
|
|
2697
2624
|
// CONCATENATED MODULE: ./components/input/index.js
|
|
2698
2625
|
|
|
2699
2626
|
|
|
2700
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2701
|
-
var
|
|
2702
|
-
var
|
|
2627
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"59098857-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&
|
|
2628
|
+
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)}
|
|
2629
|
+
var input_groupvue_type_template_id_34acc7c9_staticRenderFns = []
|
|
2703
2630
|
|
|
2704
2631
|
|
|
2705
|
-
// CONCATENATED MODULE: ./components/input_group/input_group.vue?vue&type=template&id=
|
|
2632
|
+
// CONCATENATED MODULE: ./components/input_group/input_group.vue?vue&type=template&id=34acc7c9&
|
|
2706
2633
|
|
|
2707
2634
|
// CONCATENATED MODULE: ./components/mixins/input_group.js
|
|
2708
2635
|
|
|
@@ -2716,7 +2643,7 @@ var input_groupvue_type_template_id_d2491942_staticRenderFns = []
|
|
|
2716
2643
|
|
|
2717
2644
|
const InputGroupMixin = {
|
|
2718
2645
|
components: {
|
|
2719
|
-
|
|
2646
|
+
DtValidationMessages: validation_messages
|
|
2720
2647
|
},
|
|
2721
2648
|
|
|
2722
2649
|
// provide data to slotted components
|
|
@@ -2905,10 +2832,10 @@ const InputGroupMixin = {
|
|
|
2905
2832
|
|
|
2906
2833
|
|
|
2907
2834
|
/* harmony default export */ var input_groupvue_type_script_lang_js_ = ({
|
|
2908
|
-
name: '
|
|
2835
|
+
name: 'DtInputGroup',
|
|
2909
2836
|
mixins: [InputGroupMixin],
|
|
2910
2837
|
components: {
|
|
2911
|
-
|
|
2838
|
+
DtValidationMessages: validation_messages
|
|
2912
2839
|
},
|
|
2913
2840
|
props: {
|
|
2914
2841
|
/**
|
|
@@ -2980,8 +2907,8 @@ const InputGroupMixin = {
|
|
|
2980
2907
|
|
|
2981
2908
|
var input_group_component = normalizeComponent(
|
|
2982
2909
|
input_group_input_groupvue_type_script_lang_js_,
|
|
2983
|
-
|
|
2984
|
-
|
|
2910
|
+
input_groupvue_type_template_id_34acc7c9_render,
|
|
2911
|
+
input_groupvue_type_template_id_34acc7c9_staticRenderFns,
|
|
2985
2912
|
false,
|
|
2986
2913
|
null,
|
|
2987
2914
|
null,
|
|
@@ -2992,12 +2919,12 @@ var input_group_component = normalizeComponent(
|
|
|
2992
2919
|
/* harmony default export */ var input_group_input_group = (input_group_component.exports);
|
|
2993
2920
|
// CONCATENATED MODULE: ./components/input_group/index.js
|
|
2994
2921
|
|
|
2995
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2996
|
-
var
|
|
2997
|
-
var
|
|
2922
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"59098857-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=7d597133&
|
|
2923
|
+
var modalvue_type_template_id_7d597133_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.modalClasses,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)}],"transitionend":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.setFocusAfterTransition($event)}}},[_c('div',{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)+" ")]),_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}])},'dt-button',_vm.closeButtonProps,false)),(_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()],1)])}
|
|
2924
|
+
var modalvue_type_template_id_7d597133_staticRenderFns = []
|
|
2998
2925
|
|
|
2999
2926
|
|
|
3000
|
-
// CONCATENATED MODULE: ./components/modal/modal.vue?vue&type=template&id=
|
|
2927
|
+
// CONCATENATED MODULE: ./components/modal/modal.vue?vue&type=template&id=7d597133&
|
|
3001
2928
|
|
|
3002
2929
|
// CONCATENATED MODULE: ./components/modal/modal_constants.js
|
|
3003
2930
|
// Modal style modifiers
|
|
@@ -3092,13 +3019,13 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
3092
3019
|
|
|
3093
3020
|
/**
|
|
3094
3021
|
* Base Vue component for Dialtone Modal.
|
|
3095
|
-
* @displayName
|
|
3022
|
+
* @displayName DtModal
|
|
3096
3023
|
*/
|
|
3097
3024
|
|
|
3098
3025
|
/* harmony default export */ var modalvue_type_script_lang_js_ = ({
|
|
3099
|
-
name: '
|
|
3026
|
+
name: 'DtModal',
|
|
3100
3027
|
components: {
|
|
3101
|
-
|
|
3028
|
+
DtButton: button_button,
|
|
3102
3029
|
IconClose: IconClose
|
|
3103
3030
|
},
|
|
3104
3031
|
mixins: [modal],
|
|
@@ -3184,12 +3111,16 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
3184
3111
|
* Can accept all of String, Object, and Array, i.e. has the
|
|
3185
3112
|
* same api as Vue's built-in handling of the class attribute.
|
|
3186
3113
|
*/
|
|
3187
|
-
|
|
3114
|
+
modalClass: {
|
|
3188
3115
|
type: [String, Object, Array],
|
|
3189
3116
|
default: ''
|
|
3190
3117
|
}
|
|
3191
3118
|
},
|
|
3192
3119
|
computed: {
|
|
3120
|
+
open() {
|
|
3121
|
+
return `${!this.show}`;
|
|
3122
|
+
},
|
|
3123
|
+
|
|
3193
3124
|
hasFooterSlot() {
|
|
3194
3125
|
return !!this.$slots.footer;
|
|
3195
3126
|
},
|
|
@@ -3199,7 +3130,7 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
3199
3130
|
'd-modal': true,
|
|
3200
3131
|
[`d-modal--${this.kind}`]: this.kind,
|
|
3201
3132
|
[`d-modal--${this.size}`]: this.size
|
|
3202
|
-
}, this.
|
|
3133
|
+
}, this.modalClass];
|
|
3203
3134
|
}
|
|
3204
3135
|
|
|
3205
3136
|
},
|
|
@@ -3260,8 +3191,8 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
3260
3191
|
|
|
3261
3192
|
var modal_component = normalizeComponent(
|
|
3262
3193
|
modal_modalvue_type_script_lang_js_,
|
|
3263
|
-
|
|
3264
|
-
|
|
3194
|
+
modalvue_type_template_id_7d597133_render,
|
|
3195
|
+
modalvue_type_template_id_7d597133_staticRenderFns,
|
|
3265
3196
|
false,
|
|
3266
3197
|
null,
|
|
3267
3198
|
null,
|
|
@@ -3273,12 +3204,12 @@ var modal_component = normalizeComponent(
|
|
|
3273
3204
|
// CONCATENATED MODULE: ./components/modal/index.js
|
|
3274
3205
|
|
|
3275
3206
|
|
|
3276
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3277
|
-
var
|
|
3278
|
-
var
|
|
3207
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"59098857-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=25b42290&
|
|
3208
|
+
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)])}
|
|
3209
|
+
var lazy_showvue_type_template_id_25b42290_staticRenderFns = []
|
|
3279
3210
|
|
|
3280
3211
|
|
|
3281
|
-
// CONCATENATED MODULE: ./components/lazy_show/lazy_show.vue?vue&type=template&id=
|
|
3212
|
+
// CONCATENATED MODULE: ./components/lazy_show/lazy_show.vue?vue&type=template&id=25b42290&
|
|
3282
3213
|
|
|
3283
3214
|
// 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&
|
|
3284
3215
|
//
|
|
@@ -3293,7 +3224,7 @@ var lazy_showvue_type_template_id_fce94346_staticRenderFns = []
|
|
|
3293
3224
|
//
|
|
3294
3225
|
//
|
|
3295
3226
|
/* harmony default export */ var lazy_showvue_type_script_lang_js_ = ({
|
|
3296
|
-
name: '
|
|
3227
|
+
name: 'DtLazyShow',
|
|
3297
3228
|
|
|
3298
3229
|
/******************
|
|
3299
3230
|
* PROPS *
|
|
@@ -3344,8 +3275,8 @@ var lazy_showvue_type_template_id_fce94346_staticRenderFns = []
|
|
|
3344
3275
|
|
|
3345
3276
|
var lazy_show_component = normalizeComponent(
|
|
3346
3277
|
lazy_show_lazy_showvue_type_script_lang_js_,
|
|
3347
|
-
|
|
3348
|
-
|
|
3278
|
+
lazy_showvue_type_template_id_25b42290_render,
|
|
3279
|
+
lazy_showvue_type_template_id_25b42290_staticRenderFns,
|
|
3349
3280
|
false,
|
|
3350
3281
|
null,
|
|
3351
3282
|
null,
|
|
@@ -3356,13 +3287,13 @@ var lazy_show_component = normalizeComponent(
|
|
|
3356
3287
|
/* harmony default export */ var lazy_show = (lazy_show_component.exports);
|
|
3357
3288
|
// CONCATENATED MODULE: ./components/lazy_show/index.js
|
|
3358
3289
|
|
|
3359
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3360
|
-
var
|
|
3361
|
-
{ 'd-border-bottom': _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('
|
|
3362
|
-
var
|
|
3290
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"59098857-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=2154a8d5&
|
|
3291
|
+
var list_sectionvue_type_template_id_2154a8d5_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-border-color--ash-darker',
|
|
3292
|
+
{ 'd-border-bottom': _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)}
|
|
3293
|
+
var list_sectionvue_type_template_id_2154a8d5_staticRenderFns = []
|
|
3363
3294
|
|
|
3364
3295
|
|
|
3365
|
-
// CONCATENATED MODULE: ./components/list_section/list_section.vue?vue&type=template&id=
|
|
3296
|
+
// CONCATENATED MODULE: ./components/list_section/list_section.vue?vue&type=template&id=2154a8d5&
|
|
3366
3297
|
|
|
3367
3298
|
// 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&
|
|
3368
3299
|
//
|
|
@@ -3426,7 +3357,7 @@ var list_sectionvue_type_template_id_4596c35a_staticRenderFns = []
|
|
|
3426
3357
|
functional: true,
|
|
3427
3358
|
render: (h, ctx) => ctx.props.vnodes
|
|
3428
3359
|
},
|
|
3429
|
-
|
|
3360
|
+
DtButton: button_button
|
|
3430
3361
|
},
|
|
3431
3362
|
props: {
|
|
3432
3363
|
id: {
|
|
@@ -3455,12 +3386,12 @@ var list_sectionvue_type_template_id_4596c35a_staticRenderFns = []
|
|
|
3455
3386
|
},
|
|
3456
3387
|
textMore: {
|
|
3457
3388
|
type: String,
|
|
3458
|
-
// TODO needs to be translated, but
|
|
3389
|
+
// TODO needs to be translated, but Dialtone Vue can't do it.
|
|
3459
3390
|
default: 'Show more'
|
|
3460
3391
|
},
|
|
3461
3392
|
textLess: {
|
|
3462
3393
|
type: String,
|
|
3463
|
-
// TODO needs to be translated, but
|
|
3394
|
+
// TODO needs to be translated, but Dialtone Vue can't do it.
|
|
3464
3395
|
default: 'Show less'
|
|
3465
3396
|
}
|
|
3466
3397
|
},
|
|
@@ -3523,8 +3454,8 @@ var list_sectionvue_type_style_index_0_lang_less_ = __webpack_require__("fc89");
|
|
|
3523
3454
|
|
|
3524
3455
|
var list_section_component = normalizeComponent(
|
|
3525
3456
|
list_section_list_sectionvue_type_script_lang_js_,
|
|
3526
|
-
|
|
3527
|
-
|
|
3457
|
+
list_sectionvue_type_template_id_2154a8d5_render,
|
|
3458
|
+
list_sectionvue_type_template_id_2154a8d5_staticRenderFns,
|
|
3528
3459
|
false,
|
|
3529
3460
|
null,
|
|
3530
3461
|
null,
|
|
@@ -3535,13 +3466,13 @@ var list_section_component = normalizeComponent(
|
|
|
3535
3466
|
/* harmony default export */ var list_section = (list_section_component.exports);
|
|
3536
3467
|
// CONCATENATED MODULE: ./components/list_section/index.js
|
|
3537
3468
|
|
|
3538
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3539
|
-
var
|
|
3540
|
-
{ '
|
|
3541
|
-
var
|
|
3469
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"59098857-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=6b1bb1b9&
|
|
3470
|
+
var list_itemvue_type_template_id_6b1bb1b9_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{class:['dt-list-item', 'd-fs14', 'd-lh6', 'd-py6', 'd-px16', 'd-d-flex', 'd-ai-center',
|
|
3471
|
+
{ 'dt-list-item-clickable': _vm.clickable, 'd-jc-space-between': this.$slots.iconRight }],attrs:{"id":_vm.id,"tabindex":_vm.clickable ? 0 : -1},on:{"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.clicked($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"space",32,$event.key,[" ","Spacebar"])){ return null; }return _vm.clicked($event)}],"click":_vm.clicked}},[_vm._t("iconLeft"),_vm._t("default"),_vm._t("iconRight")],2)}
|
|
3472
|
+
var list_itemvue_type_template_id_6b1bb1b9_staticRenderFns = []
|
|
3542
3473
|
|
|
3543
3474
|
|
|
3544
|
-
// CONCATENATED MODULE: ./components/list_item/list_item.vue?vue&type=template&id=
|
|
3475
|
+
// CONCATENATED MODULE: ./components/list_item/list_item.vue?vue&type=template&id=6b1bb1b9&
|
|
3545
3476
|
|
|
3546
3477
|
// 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&
|
|
3547
3478
|
//
|
|
@@ -3609,8 +3540,8 @@ var list_itemvue_type_style_index_0_lang_less_ = __webpack_require__("51f5");
|
|
|
3609
3540
|
|
|
3610
3541
|
var list_item_component = normalizeComponent(
|
|
3611
3542
|
list_item_list_itemvue_type_script_lang_js_,
|
|
3612
|
-
|
|
3613
|
-
|
|
3543
|
+
list_itemvue_type_template_id_6b1bb1b9_render,
|
|
3544
|
+
list_itemvue_type_template_id_6b1bb1b9_staticRenderFns,
|
|
3614
3545
|
false,
|
|
3615
3546
|
null,
|
|
3616
3547
|
null,
|
|
@@ -3621,12 +3552,12 @@ var list_item_component = normalizeComponent(
|
|
|
3621
3552
|
/* harmony default export */ var list_item = (list_item_component.exports);
|
|
3622
3553
|
// CONCATENATED MODULE: ./components/list_item/index.js
|
|
3623
3554
|
|
|
3624
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3625
|
-
var
|
|
3626
|
-
var
|
|
3555
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"59098857-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=5dec1a72&
|
|
3556
|
+
var noticevue_type_template_id_5dec1a72_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('aside',_vm._g({class:_vm.noticeClass,attrs:{"role":_vm.role}},_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},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)}
|
|
3557
|
+
var noticevue_type_template_id_5dec1a72_staticRenderFns = []
|
|
3627
3558
|
|
|
3628
3559
|
|
|
3629
|
-
// CONCATENATED MODULE: ./components/notice/notice.vue?vue&type=template&id=
|
|
3560
|
+
// CONCATENATED MODULE: ./components/notice/notice.vue?vue&type=template&id=5dec1a72&
|
|
3630
3561
|
|
|
3631
3562
|
// 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&
|
|
3632
3563
|
//
|
|
@@ -3665,20 +3596,22 @@ var noticevue_type_template_id_5b2bf016_staticRenderFns = []
|
|
|
3665
3596
|
//
|
|
3666
3597
|
//
|
|
3667
3598
|
//
|
|
3599
|
+
//
|
|
3668
3600
|
|
|
3669
3601
|
|
|
3670
3602
|
|
|
3671
3603
|
|
|
3672
3604
|
/* harmony default export */ var noticevue_type_script_lang_js_ = ({
|
|
3673
|
-
name: '
|
|
3605
|
+
name: 'DtNotice',
|
|
3674
3606
|
components: {
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3607
|
+
DtNoticeIcon: notice_icon,
|
|
3608
|
+
DtNoticeContent: notice_content,
|
|
3609
|
+
DtNoticeAction: notice_action
|
|
3678
3610
|
},
|
|
3679
3611
|
props: {
|
|
3680
3612
|
/**
|
|
3681
|
-
* Sets an ID on the title element of the component. Useful for aria-describedby
|
|
3613
|
+
* Sets an ID on the title element of the component. Useful for aria-describedby
|
|
3614
|
+
* or aria-labelledby or any other reason you may need an id to refer to the title.
|
|
3682
3615
|
*/
|
|
3683
3616
|
titleId: {
|
|
3684
3617
|
type: String,
|
|
@@ -3686,7 +3619,8 @@ var noticevue_type_template_id_5b2bf016_staticRenderFns = []
|
|
|
3686
3619
|
},
|
|
3687
3620
|
|
|
3688
3621
|
/**
|
|
3689
|
-
* Sets an ID on the content element of the component. Useful for aria-describedby
|
|
3622
|
+
* Sets an ID on the content element of the component. Useful for aria-describedby
|
|
3623
|
+
* or aria-labelledby or any other reason you may need an id to refer to the content.
|
|
3690
3624
|
*/
|
|
3691
3625
|
contentId: {
|
|
3692
3626
|
type: String,
|
|
@@ -3702,7 +3636,8 @@ var noticevue_type_template_id_5b2bf016_staticRenderFns = []
|
|
|
3702
3636
|
},
|
|
3703
3637
|
|
|
3704
3638
|
/**
|
|
3705
|
-
* Used in scenarios where the message needs to visually dominate the screen.
|
|
3639
|
+
* Used in scenarios where the message needs to visually dominate the screen.
|
|
3640
|
+
* This will also change the aria role from status to alert.
|
|
3706
3641
|
*/
|
|
3707
3642
|
important: {
|
|
3708
3643
|
type: Boolean,
|
|
@@ -3763,8 +3698,8 @@ var noticevue_type_template_id_5b2bf016_staticRenderFns = []
|
|
|
3763
3698
|
|
|
3764
3699
|
var notice_component = normalizeComponent(
|
|
3765
3700
|
notice_noticevue_type_script_lang_js_,
|
|
3766
|
-
|
|
3767
|
-
|
|
3701
|
+
noticevue_type_template_id_5dec1a72_render,
|
|
3702
|
+
noticevue_type_template_id_5dec1a72_staticRenderFns,
|
|
3768
3703
|
false,
|
|
3769
3704
|
null,
|
|
3770
3705
|
null,
|
|
@@ -3776,22 +3711,28 @@ var notice_component = normalizeComponent(
|
|
|
3776
3711
|
// CONCATENATED MODULE: ./components/notice/index.js
|
|
3777
3712
|
|
|
3778
3713
|
|
|
3779
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3780
|
-
var
|
|
3714
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"59098857-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=ec1d0844&
|
|
3715
|
+
var popovervue_type_template_id_ec1d0844_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-p-relative dt-popover"},[_c('div',{ref:"anchor",attrs:{"id":!_vm.ariaLabelledby && _vm.labelledBy}},[_vm._t("anchor",null,{"attrs":{
|
|
3781
3716
|
'aria-expanded': _vm.open.toString(),
|
|
3782
3717
|
'aria-controls': _vm.id,
|
|
3783
3718
|
'aria-haspopup': _vm.role,
|
|
3784
|
-
}})],2),_c('
|
|
3785
|
-
'd-border
|
|
3786
|
-
'
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3719
|
+
}})],2),_c('dt-lazy-show',_vm._g({ref:"container",class:[
|
|
3720
|
+
'd-border',
|
|
3721
|
+
'd-border-color--ash-dark',
|
|
3722
|
+
'd-border-radius--sm',
|
|
3723
|
+
'd-bgc-white d-box-shadow--md',
|
|
3724
|
+
'd-mt4',
|
|
3725
|
+
'd-ps-absolute',
|
|
3726
|
+
'd-z-index--popover',
|
|
3727
|
+
'dt-popover__content',
|
|
3728
|
+
("dt-popover__content--align-" + _vm.alignment),
|
|
3729
|
+
("dt-popover__content--valign-" + _vm.verticalAlignment),
|
|
3730
|
+
("dt-popover__content--pad-" + _vm.padding),
|
|
3731
|
+
_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-border-top d-border-left d-border-color--ash-dark dt-popover__caret"}):_vm._e()],2)],1)}
|
|
3732
|
+
var popovervue_type_template_id_ec1d0844_staticRenderFns = []
|
|
3733
|
+
|
|
3734
|
+
|
|
3735
|
+
// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=template&id=ec1d0844&
|
|
3795
3736
|
|
|
3796
3737
|
// CONCATENATED MODULE: ./components/popover/popover_constants.js
|
|
3797
3738
|
const POPOVER_PADDING_CLASSES = ['none', 'small', 'medium', 'large'];
|
|
@@ -3855,19 +3796,25 @@ var v_click_outside_umd_default = /*#__PURE__*/__webpack_require__.n(v_click_out
|
|
|
3855
3796
|
//
|
|
3856
3797
|
//
|
|
3857
3798
|
//
|
|
3799
|
+
//
|
|
3800
|
+
//
|
|
3801
|
+
//
|
|
3802
|
+
//
|
|
3803
|
+
//
|
|
3804
|
+
//
|
|
3858
3805
|
|
|
3859
3806
|
|
|
3860
3807
|
|
|
3861
3808
|
|
|
3862
3809
|
|
|
3863
3810
|
/* harmony default export */ var popovervue_type_script_lang_js_ = ({
|
|
3864
|
-
name: '
|
|
3811
|
+
name: 'DtPopover',
|
|
3865
3812
|
|
|
3866
3813
|
/********************
|
|
3867
3814
|
* CHILD COMPONENTS *
|
|
3868
3815
|
********************/
|
|
3869
3816
|
components: {
|
|
3870
|
-
|
|
3817
|
+
DtLazyShow: lazy_show
|
|
3871
3818
|
},
|
|
3872
3819
|
directives: {
|
|
3873
3820
|
clickOutside: v_click_outside_umd_default.a.directive
|
|
@@ -3924,7 +3871,7 @@ var v_click_outside_umd_default = /*#__PURE__*/__webpack_require__.n(v_click_out
|
|
|
3924
3871
|
|
|
3925
3872
|
/**
|
|
3926
3873
|
* Named transition when the content display is toggled.
|
|
3927
|
-
* @see
|
|
3874
|
+
* @see DtLazyShow
|
|
3928
3875
|
*/
|
|
3929
3876
|
transition: {
|
|
3930
3877
|
type: String,
|
|
@@ -3969,7 +3916,7 @@ var v_click_outside_umd_default = /*#__PURE__*/__webpack_require__.n(v_click_out
|
|
|
3969
3916
|
type: String,
|
|
3970
3917
|
|
|
3971
3918
|
default() {
|
|
3972
|
-
return utils.getUniqueString('
|
|
3919
|
+
return utils.getUniqueString('DtPopover__content');
|
|
3973
3920
|
}
|
|
3974
3921
|
|
|
3975
3922
|
},
|
|
@@ -4035,7 +3982,7 @@ var v_click_outside_umd_default = /*#__PURE__*/__webpack_require__.n(v_click_out
|
|
|
4035
3982
|
labelledBy() {
|
|
4036
3983
|
// aria-labelledby should be set only if aria-labelledby is passed as a prop, or if
|
|
4037
3984
|
// there is no aria-label and the labelledby should point to the anchor.
|
|
4038
|
-
return this.ariaLabelledby || !this.ariaLabel && utils.getUniqueString('
|
|
3985
|
+
return this.ariaLabelledby || !this.ariaLabel && utils.getUniqueString('DtPopover__anchor');
|
|
4039
3986
|
},
|
|
4040
3987
|
|
|
4041
3988
|
isDialog() {
|
|
@@ -4155,8 +4102,8 @@ var popovervue_type_style_index_0_lang_less_ = __webpack_require__("e0bf");
|
|
|
4155
4102
|
|
|
4156
4103
|
var popover_component = normalizeComponent(
|
|
4157
4104
|
popover_popovervue_type_script_lang_js_,
|
|
4158
|
-
|
|
4159
|
-
|
|
4105
|
+
popovervue_type_template_id_ec1d0844_render,
|
|
4106
|
+
popovervue_type_template_id_ec1d0844_staticRenderFns,
|
|
4160
4107
|
false,
|
|
4161
4108
|
null,
|
|
4162
4109
|
null,
|
|
@@ -4168,12 +4115,12 @@ var popover_component = normalizeComponent(
|
|
|
4168
4115
|
// CONCATENATED MODULE: ./components/popover/index.js
|
|
4169
4116
|
|
|
4170
4117
|
|
|
4171
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4172
|
-
var
|
|
4173
|
-
var
|
|
4118
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"59098857-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=7572bdc7&
|
|
4119
|
+
var radiovue_type_template_id_7572bdc7_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-radio__description', _vm.descriptionValidationClass, _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)])])}
|
|
4120
|
+
var radiovue_type_template_id_7572bdc7_staticRenderFns = []
|
|
4174
4121
|
|
|
4175
4122
|
|
|
4176
|
-
// CONCATENATED MODULE: ./components/radio/radio.vue?vue&type=template&id=
|
|
4123
|
+
// CONCATENATED MODULE: ./components/radio/radio.vue?vue&type=template&id=7572bdc7&
|
|
4177
4124
|
|
|
4178
4125
|
// CONCATENATED MODULE: ./components/radio/radio_constants.js
|
|
4179
4126
|
const RADIO_INPUT_VALIDATION_CLASSES = {
|
|
@@ -4243,9 +4190,9 @@ const RADIO_DESCRIPTION_VALIDATION_CLASSES = {
|
|
|
4243
4190
|
|
|
4244
4191
|
|
|
4245
4192
|
/* harmony default export */ var radiovue_type_script_lang_js_ = ({
|
|
4246
|
-
name: '
|
|
4193
|
+
name: 'DtRadio',
|
|
4247
4194
|
components: {
|
|
4248
|
-
|
|
4195
|
+
DtValidationMessages: validation_messages
|
|
4249
4196
|
},
|
|
4250
4197
|
mixins: [InputMixin, CheckableMixin, GroupableMixin, MessagesMixin],
|
|
4251
4198
|
inheritAttrs: false,
|
|
@@ -4328,8 +4275,8 @@ const RADIO_DESCRIPTION_VALIDATION_CLASSES = {
|
|
|
4328
4275
|
|
|
4329
4276
|
var radio_component = normalizeComponent(
|
|
4330
4277
|
radio_radiovue_type_script_lang_js_,
|
|
4331
|
-
|
|
4332
|
-
|
|
4278
|
+
radiovue_type_template_id_7572bdc7_render,
|
|
4279
|
+
radiovue_type_template_id_7572bdc7_staticRenderFns,
|
|
4333
4280
|
false,
|
|
4334
4281
|
null,
|
|
4335
4282
|
null,
|
|
@@ -4343,7 +4290,7 @@ var radio_component = normalizeComponent(
|
|
|
4343
4290
|
// 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/radio_group/radio_group.vue?vue&type=script&lang=js&
|
|
4344
4291
|
|
|
4345
4292
|
/* harmony default export */ var radio_groupvue_type_script_lang_js_ = ({
|
|
4346
|
-
name: '
|
|
4293
|
+
name: 'DtRadioGroup',
|
|
4347
4294
|
extends: input_group_input_group,
|
|
4348
4295
|
props: {
|
|
4349
4296
|
/**
|
|
@@ -4438,12 +4385,12 @@ var radio_group_component = normalizeComponent(
|
|
|
4438
4385
|
/* harmony default export */ var radio_group = (radio_group_component.exports);
|
|
4439
4386
|
// CONCATENATED MODULE: ./components/radio_group/index.js
|
|
4440
4387
|
|
|
4441
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4442
|
-
var
|
|
4443
|
-
var
|
|
4388
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"59098857-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=13edc8c6&
|
|
4389
|
+
var checkboxvue_type_template_id_13edc8c6_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}},'input',_vm.$attrs,false),_vm.inputListeners))]),_c('div',{staticClass:"d-checkbox__copy d-checkbox__label",attrs:{"data-qa":"checkbox-label-description-container"}},[_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.$slots.description || _vm.description)?_c('div',_vm._b({class:['d-checkbox__description', _vm.descriptionValidationClass, _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)])])}
|
|
4390
|
+
var checkboxvue_type_template_id_13edc8c6_staticRenderFns = []
|
|
4444
4391
|
|
|
4445
4392
|
|
|
4446
|
-
// CONCATENATED MODULE: ./components/checkbox/checkbox.vue?vue&type=template&id=
|
|
4393
|
+
// CONCATENATED MODULE: ./components/checkbox/checkbox.vue?vue&type=template&id=13edc8c6&
|
|
4447
4394
|
|
|
4448
4395
|
// CONCATENATED MODULE: ./components/checkbox/checkbox_constants.js
|
|
4449
4396
|
const CHECKBOX_INPUT_VALIDATION_CLASSES = {
|
|
@@ -4514,9 +4461,9 @@ const CHECKBOX_DESCRIPTION_VALIDATION_CLASSES = {
|
|
|
4514
4461
|
|
|
4515
4462
|
|
|
4516
4463
|
/* harmony default export */ var checkboxvue_type_script_lang_js_ = ({
|
|
4517
|
-
name: '
|
|
4464
|
+
name: 'DtCheckbox',
|
|
4518
4465
|
components: {
|
|
4519
|
-
|
|
4466
|
+
DtValidationMessages: validation_messages
|
|
4520
4467
|
},
|
|
4521
4468
|
mixins: [InputMixin, CheckableMixin, GroupableMixin, MessagesMixin],
|
|
4522
4469
|
inheritAttrs: false,
|
|
@@ -4590,8 +4537,8 @@ const CHECKBOX_DESCRIPTION_VALIDATION_CLASSES = {
|
|
|
4590
4537
|
|
|
4591
4538
|
var checkbox_component = normalizeComponent(
|
|
4592
4539
|
checkbox_checkboxvue_type_script_lang_js_,
|
|
4593
|
-
|
|
4594
|
-
|
|
4540
|
+
checkboxvue_type_template_id_13edc8c6_render,
|
|
4541
|
+
checkboxvue_type_template_id_13edc8c6_staticRenderFns,
|
|
4595
4542
|
false,
|
|
4596
4543
|
null,
|
|
4597
4544
|
null,
|
|
@@ -4606,7 +4553,7 @@ var checkbox_component = normalizeComponent(
|
|
|
4606
4553
|
|
|
4607
4554
|
|
|
4608
4555
|
/* harmony default export */ var checkbox_groupvue_type_script_lang_js_ = ({
|
|
4609
|
-
name: '
|
|
4556
|
+
name: 'DtCheckboxGroup',
|
|
4610
4557
|
extends: input_group_input_group,
|
|
4611
4558
|
model: {
|
|
4612
4559
|
prop: 'selectedValues'
|