@dialpad/dialtone-vue 1.6.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/README.md +15 -80
- package/dist/dialtone-vue.common.js +1356 -87
- package/dist/dialtone-vue.umd.js +1356 -87
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/package.json +6 -5
|
@@ -225,7 +225,7 @@ function toComment(sourceMap) {
|
|
|
225
225
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
226
226
|
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
227
227
|
// Module
|
|
228
|
-
exports.push([module.i, ".dt-popover__content--align-right{right:
|
|
228
|
+
exports.push([module.i, ".dt-popover__content--align-right .dt-popover__caret{right:2.4rem}.dt-popover__content--align-center .dt-popover__caret{left:50%}.dt-popover__content--valign-top{bottom:100%;margin-top:0;margin-bottom:.4rem}.dt-popover__content--valign-top .dt-popover__caret{bottom:-.4rem;transform:rotate(225deg)}.dt-popover__content--valign-bottom .dt-popover__caret{bottom:100%;top:0;transform:rotate(45deg)}.dt-popover__caret{transform:rotate(45deg)}.tippy-box[data-popper-escaped] .dt-popover-box,.tippy-box[data-popper-reference-hidden] .dt-popover-box{visibility:hidden;pointer-events:none}.d-popover-overlay{--bgo:85%!important}.dt-popover-box,.dt-popover-box *,.dt-popover-box :after,.dt-popover-box :before{box-sizing:border-box}", ""]);
|
|
229
229
|
// Exports
|
|
230
230
|
module.exports = exports;
|
|
231
231
|
|
|
@@ -244,6 +244,17 @@ exports.push([module.i, ".dt-list-item--focusable:focus,.dt-list-item--focusable
|
|
|
244
244
|
module.exports = exports;
|
|
245
245
|
|
|
246
246
|
|
|
247
|
+
/***/ }),
|
|
248
|
+
|
|
249
|
+
/***/ "4654":
|
|
250
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
251
|
+
|
|
252
|
+
"use strict";
|
|
253
|
+
/* 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_keyboard_shortcut_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("df60");
|
|
254
|
+
/* 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_keyboard_shortcut_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_keyboard_shortcut_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__);
|
|
255
|
+
/* unused harmony reexport * */
|
|
256
|
+
|
|
257
|
+
|
|
247
258
|
/***/ }),
|
|
248
259
|
|
|
249
260
|
/***/ "499e":
|
|
@@ -606,6 +617,20 @@ if(content.locals) module.exports = content.locals;
|
|
|
606
617
|
var add = __webpack_require__("499e").default
|
|
607
618
|
var update = add("572d8ba2", content, true, {"sourceMap":false,"shadowMode":false});
|
|
608
619
|
|
|
620
|
+
/***/ }),
|
|
621
|
+
|
|
622
|
+
/***/ "9e97":
|
|
623
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
624
|
+
|
|
625
|
+
// Imports
|
|
626
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
627
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
628
|
+
// Module
|
|
629
|
+
exports.push([module.i, ".dt-keyboard-shortcut__svg{width:1em;height:1em}.dt-keyboard-shortcut__svg path{fill:currentColor}", ""]);
|
|
630
|
+
// Exports
|
|
631
|
+
module.exports = exports;
|
|
632
|
+
|
|
633
|
+
|
|
609
634
|
/***/ }),
|
|
610
635
|
|
|
611
636
|
/***/ "b8b3":
|
|
@@ -631,6 +656,22 @@ exports.push([module.i, ".tippy-box[data-popper-escaped] .d-tooltip,.tippy-box[d
|
|
|
631
656
|
module.exports = exports;
|
|
632
657
|
|
|
633
658
|
|
|
659
|
+
/***/ }),
|
|
660
|
+
|
|
661
|
+
/***/ "df60":
|
|
662
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
663
|
+
|
|
664
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
665
|
+
|
|
666
|
+
// load the styles
|
|
667
|
+
var content = __webpack_require__("9e97");
|
|
668
|
+
if(content.__esModule) content = content.default;
|
|
669
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
670
|
+
if(content.locals) module.exports = content.locals;
|
|
671
|
+
// add the styles to the DOM
|
|
672
|
+
var add = __webpack_require__("499e").default
|
|
673
|
+
var update = add("d2563328", content, true, {"sourceMap":false,"shadowMode":false});
|
|
674
|
+
|
|
634
675
|
/***/ }),
|
|
635
676
|
|
|
636
677
|
/***/ "e0bf":
|
|
@@ -664,6 +705,8 @@ __webpack_require__.d(__webpack_exports__, "DtBreadcrumbItem", function() { retu
|
|
|
664
705
|
__webpack_require__.d(__webpack_exports__, "BREADCRUMB_ITEM_SELECTED_MODIFIER", function() { return /* reexport */ BREADCRUMB_ITEM_SELECTED_MODIFIER; });
|
|
665
706
|
__webpack_require__.d(__webpack_exports__, "BREADCRUMBS_INVERTED_MODIFIER", function() { return /* reexport */ BREADCRUMBS_INVERTED_MODIFIER; });
|
|
666
707
|
__webpack_require__.d(__webpack_exports__, "DtButton", function() { return /* reexport */ button_button; });
|
|
708
|
+
__webpack_require__.d(__webpack_exports__, "DtButtonGroup", function() { return /* reexport */ button_group; });
|
|
709
|
+
__webpack_require__.d(__webpack_exports__, "BUTTON_GROUP_ALIGNMENT", function() { return /* reexport */ BUTTON_GROUP_ALIGNMENT; });
|
|
667
710
|
__webpack_require__.d(__webpack_exports__, "DtInput", function() { return /* reexport */ input_input; });
|
|
668
711
|
__webpack_require__.d(__webpack_exports__, "INPUT_TYPES", function() { return /* reexport */ INPUT_TYPES; });
|
|
669
712
|
__webpack_require__.d(__webpack_exports__, "INPUT_SIZES", function() { return /* reexport */ INPUT_SIZES; });
|
|
@@ -708,6 +751,21 @@ __webpack_require__.d(__webpack_exports__, "TOOLTIP_TIPPY_DIRECTIONS", function(
|
|
|
708
751
|
__webpack_require__.d(__webpack_exports__, "TOOLTIP_DIALTONE_DIRECTIONS", function() { return /* reexport */ TOOLTIP_DIALTONE_DIRECTIONS; });
|
|
709
752
|
__webpack_require__.d(__webpack_exports__, "TOOLTIP_KIND_MODIFIERS", function() { return /* reexport */ TOOLTIP_KIND_MODIFIERS; });
|
|
710
753
|
__webpack_require__.d(__webpack_exports__, "TOOLTIP_HIDE_ON_CLICK_VARIANTS", function() { return /* reexport */ TOOLTIP_HIDE_ON_CLICK_VARIANTS; });
|
|
754
|
+
__webpack_require__.d(__webpack_exports__, "DtSkeleton", function() { return /* reexport */ skeleton_skeleton; });
|
|
755
|
+
__webpack_require__.d(__webpack_exports__, "DtSkeletonListItem", function() { return /* reexport */ skeleton_list_item; });
|
|
756
|
+
__webpack_require__.d(__webpack_exports__, "DtSkeletonText", function() { return /* reexport */ skeleton_text; });
|
|
757
|
+
__webpack_require__.d(__webpack_exports__, "DtSkeletonShape", function() { return /* reexport */ skeleton_shape; });
|
|
758
|
+
__webpack_require__.d(__webpack_exports__, "DtSkeletonParagraph", function() { return /* reexport */ skeleton_shape; });
|
|
759
|
+
__webpack_require__.d(__webpack_exports__, "SKELETON_RIPPLE_DURATION", function() { return /* reexport */ SKELETON_RIPPLE_DURATION; });
|
|
760
|
+
__webpack_require__.d(__webpack_exports__, "SKELETON_SHAPES", function() { return /* reexport */ SKELETON_SHAPES; });
|
|
761
|
+
__webpack_require__.d(__webpack_exports__, "SKELETON_TEXT_TYPES", function() { return /* reexport */ SKELETON_TEXT_TYPES; });
|
|
762
|
+
__webpack_require__.d(__webpack_exports__, "SKELETON_SHAPE_SIZES", function() { return /* reexport */ SKELETON_SHAPE_SIZES; });
|
|
763
|
+
__webpack_require__.d(__webpack_exports__, "SKELETON_HEADING_HEIGHTS", function() { return /* reexport */ SKELETON_HEADING_HEIGHTS; });
|
|
764
|
+
__webpack_require__.d(__webpack_exports__, "DtKeyboardShortcut", function() { return /* reexport */ keyboard_shortcut; });
|
|
765
|
+
__webpack_require__.d(__webpack_exports__, "SHORTCUTS_ALIASES", function() { return /* reexport */ SHORTCUTS_ALIASES; });
|
|
766
|
+
__webpack_require__.d(__webpack_exports__, "SHORTCUTS_ICON_ALIASES", function() { return /* reexport */ SHORTCUTS_ICON_ALIASES; });
|
|
767
|
+
__webpack_require__.d(__webpack_exports__, "SHORTCUTS_ALIASES_LIST", function() { return /* reexport */ SHORTCUTS_ALIASES_LIST; });
|
|
768
|
+
__webpack_require__.d(__webpack_exports__, "SHORTCUTS_ICON_SEPARATOR", function() { return /* reexport */ SHORTCUTS_ICON_SEPARATOR; });
|
|
711
769
|
__webpack_require__.d(__webpack_exports__, "DtInputMixin", function() { return /* reexport */ InputMixin; });
|
|
712
770
|
__webpack_require__.d(__webpack_exports__, "DtCheckableInputMixin", function() { return /* reexport */ CheckableMixin; });
|
|
713
771
|
__webpack_require__.d(__webpack_exports__, "DtGroupableInputMixin", function() { return /* reexport */ GroupableMixin; });
|
|
@@ -737,7 +795,7 @@ if (typeof window !== 'undefined') {
|
|
|
737
795
|
// Indicate to webpack that this file can be concatenated
|
|
738
796
|
/* harmony default export */ var setPublicPath = (null);
|
|
739
797
|
|
|
740
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
798
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/avatar/avatar.vue?vue&type=template&id=3c007948&
|
|
741
799
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
|
|
742
800
|
'd-avatar',
|
|
743
801
|
_vm.AVATAR_KIND_MODIFIERS[_vm.kind],
|
|
@@ -1183,7 +1241,7 @@ var component = normalizeComponent(
|
|
|
1183
1241
|
// CONCATENATED MODULE: ./components/avatar/index.js
|
|
1184
1242
|
|
|
1185
1243
|
|
|
1186
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1244
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/badge/badge.vue?vue&type=template&id=8281dbe6&
|
|
1187
1245
|
var badgevue_type_template_id_8281dbe6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{class:[
|
|
1188
1246
|
'd-badge',
|
|
1189
1247
|
_vm.BADGE_COLOR_MODIFIERS[_vm.color] ],attrs:{"data-qa":"dt-badge"}},[_vm._t("default",[_vm._v(" "+_vm._s(_vm.text)+" ")])],2)}
|
|
@@ -1280,21 +1338,21 @@ var badge_component = normalizeComponent(
|
|
|
1280
1338
|
// CONCATENATED MODULE: ./components/badge/index.js
|
|
1281
1339
|
|
|
1282
1340
|
|
|
1283
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1341
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/banner/banner.vue?vue&type=template&id=008cf60a&
|
|
1284
1342
|
var bannervue_type_template_id_008cf60a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('aside',{class:_vm.bannerClass,attrs:{"role":_vm.role},on:{"keydown":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"tab",9,$event.key,"Tab")){ return null; }return _vm.trapFocus($event)}}},[_c('div',{staticClass:"d-banner__dialog",attrs:{"aria-labelledby":_vm.titleId,"aria-describedby":_vm.contentId}},[_c('dt-notice-icon',_vm._g({attrs:{"kind":_vm.kind}},_vm.$listeners),[_vm._t("icon")],2),_c('dt-notice-content',_vm._g({attrs:{"title-id":_vm.titleId,"content-id":_vm.contentId,"title":_vm.title},scopedSlots:_vm._u([{key:"titleOverride",fn:function(){return [_vm._t("titleOverride")]},proxy:true}],null,true)},_vm.$listeners),[_vm._t("default")],2),_c('dt-notice-action',_vm._g({attrs:{"hide-close":_vm.hideClose,"close-button-props":_vm.closeButtonProps}},_vm.$listeners),[_vm._t("action")],2)],1)])}
|
|
1285
1343
|
var bannervue_type_template_id_008cf60a_staticRenderFns = []
|
|
1286
1344
|
|
|
1287
1345
|
|
|
1288
1346
|
// CONCATENATED MODULE: ./components/banner/banner.vue?vue&type=template&id=008cf60a&
|
|
1289
1347
|
|
|
1290
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1348
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/notice/notice_icon.vue?vue&type=template&id=58ae40bb&
|
|
1291
1349
|
var notice_iconvue_type_template_id_58ae40bb_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.defaultIcon || _vm.$slots.default)?_c('div',{staticClass:"d-notice__icon",attrs:{"aria-hidden":"true"}},[_vm._t("default",[_c(_vm.defaultIcon,{tag:"component"})])],2):_vm._e()}
|
|
1292
1350
|
var notice_iconvue_type_template_id_58ae40bb_staticRenderFns = []
|
|
1293
1351
|
|
|
1294
1352
|
|
|
1295
1353
|
// CONCATENATED MODULE: ./components/notice/notice_icon.vue?vue&type=template&id=58ae40bb&
|
|
1296
1354
|
|
|
1297
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1355
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconLightbulb.vue?vue&type=template&id=07d1b1af&
|
|
1298
1356
|
var IconLightbulbvue_type_template_id_07d1b1af_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticClass:"d-svg d-svg--system d-svg__lightbulb",attrs:{"aria-hidden":"true","aria-label":"Lightbulb","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"d":"M9 21c0 .5.4 1 1 1h4c.6 0 1-.5 1-1v-1H9v1zm3-19C8.1 2 5 5.1 5 9c0 2.4 1.2 4.5 3 5.7V17c0 .5.4 1 1 1h6c.6 0 1-.5 1-1v-2.3c1.8-1.3 3-3.4 3-5.7 0-3.9-3.1-7-7-7z"}})])}
|
|
1299
1357
|
var IconLightbulbvue_type_template_id_07d1b1af_staticRenderFns = []
|
|
1300
1358
|
|
|
@@ -1320,7 +1378,7 @@ var IconLightbulb_component = normalizeComponent(
|
|
|
1320
1378
|
)
|
|
1321
1379
|
|
|
1322
1380
|
/* harmony default export */ var IconLightbulb = (IconLightbulb_component.exports);
|
|
1323
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1381
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-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&
|
|
1324
1382
|
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"}})])}
|
|
1325
1383
|
var IconInfovue_type_template_id_d1105ee6_staticRenderFns = []
|
|
1326
1384
|
|
|
@@ -1346,7 +1404,7 @@ var IconInfo_component = normalizeComponent(
|
|
|
1346
1404
|
)
|
|
1347
1405
|
|
|
1348
1406
|
/* harmony default export */ var IconInfo = (IconInfo_component.exports);
|
|
1349
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1407
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-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&
|
|
1350
1408
|
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"}})])}
|
|
1351
1409
|
var IconWarningvue_type_template_id_0a24defa_staticRenderFns = []
|
|
1352
1410
|
|
|
@@ -1372,7 +1430,7 @@ var IconWarning_component = normalizeComponent(
|
|
|
1372
1430
|
)
|
|
1373
1431
|
|
|
1374
1432
|
/* harmony default export */ var IconWarning = (IconWarning_component.exports);
|
|
1375
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1433
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-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&
|
|
1376
1434
|
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"}})])}
|
|
1377
1435
|
var IconErrorvue_type_template_id_4d9e3e9d_staticRenderFns = []
|
|
1378
1436
|
|
|
@@ -1398,7 +1456,7 @@ var IconError_component = normalizeComponent(
|
|
|
1398
1456
|
)
|
|
1399
1457
|
|
|
1400
1458
|
/* harmony default export */ var IconError = (IconError_component.exports);
|
|
1401
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1459
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconCheckCircle.vue?vue&type=template&id=016c7d48&
|
|
1402
1460
|
var IconCheckCirclevue_type_template_id_016c7d48_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticClass:"d-svg d-svg--system d-svg__checkCircle",attrs:{"aria-hidden":"true","aria-label":"Check Circle","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"d":"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}})])}
|
|
1403
1461
|
var IconCheckCirclevue_type_template_id_016c7d48_staticRenderFns = []
|
|
1404
1462
|
|
|
@@ -1502,7 +1560,7 @@ var notice_icon_component = normalizeComponent(
|
|
|
1502
1560
|
)
|
|
1503
1561
|
|
|
1504
1562
|
/* harmony default export */ var notice_icon = (notice_icon_component.exports);
|
|
1505
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1563
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/notice/notice_content.vue?vue&type=template&id=24cf95e4&
|
|
1506
1564
|
var notice_contentvue_type_template_id_24cf95e4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-notice__content",attrs:{"data-qa":"notice-content"}},[(_vm.title || this.$slots.titleOverride)?_c('p',{staticClass:"d-notice__title",attrs:{"id":_vm.titleId,"data-qa":"notice-content-title"}},[_vm._t("titleOverride",[_vm._v(" "+_vm._s(_vm.title)+" ")])],2):_vm._e(),_c('p',{staticClass:"d-notice__message",attrs:{"id":_vm.contentId,"data-qa":"notice-content-message"}},[_vm._t("default")],2)])}
|
|
1507
1565
|
var notice_contentvue_type_template_id_24cf95e4_staticRenderFns = []
|
|
1508
1566
|
|
|
@@ -1574,14 +1632,14 @@ var notice_content_component = normalizeComponent(
|
|
|
1574
1632
|
)
|
|
1575
1633
|
|
|
1576
1634
|
/* harmony default export */ var notice_content = (notice_content_component.exports);
|
|
1577
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1635
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/notice/notice_action.vue?vue&type=template&id=83c987fc&
|
|
1578
1636
|
var notice_actionvue_type_template_id_83c987fc_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-notice__actions",attrs:{"data-qa":"notice-content-actions"}},[_vm._t("default"),(!_vm.hideClose)?_c('dt-button',_vm._b({ref:"closeButton",attrs:{"size":"sm","importance":"clear","circle":"","aria-label":_vm.closeButtonProps.ariaLabel ? _vm.closeButtonProps.ariaLabel : 'Close'},on:{"click":_vm.close},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('icon-close')]},proxy:true}],null,false,4267981299)},'dt-button',_vm.closeButtonProps,false)):_vm._e()],2)}
|
|
1579
1637
|
var notice_actionvue_type_template_id_83c987fc_staticRenderFns = []
|
|
1580
1638
|
|
|
1581
1639
|
|
|
1582
1640
|
// CONCATENATED MODULE: ./components/notice/notice_action.vue?vue&type=template&id=83c987fc&
|
|
1583
1641
|
|
|
1584
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1642
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-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&
|
|
1585
1643
|
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"}})])}
|
|
1586
1644
|
var IconClosevue_type_template_id_18642c39_staticRenderFns = []
|
|
1587
1645
|
|
|
@@ -1607,17 +1665,17 @@ var IconClose_component = normalizeComponent(
|
|
|
1607
1665
|
)
|
|
1608
1666
|
|
|
1609
1667
|
/* harmony default export */ var IconClose = (IconClose_component.exports);
|
|
1610
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1611
|
-
var
|
|
1668
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-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=bde52e82&
|
|
1669
|
+
var buttonvue_type_template_id_bde52e82_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',_vm._g({class:[
|
|
1612
1670
|
'base-button__button',
|
|
1613
1671
|
_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:[
|
|
1614
1672
|
'base-button__icon',
|
|
1615
1673
|
'd-btn__icon',
|
|
1616
1674
|
_vm.ICON_POSITION_MODIFIERS[_vm.iconPosition] ],attrs:{"data-qa":"dt-button-icon"}},[_vm._t("icon")],2):_vm._e(),(_vm.$slots.default)?_c('span',{class:['d-w100p', 'd-btn__label', 'base-button__label', _vm.labelClass],attrs:{"data-qa":"dt-button-label"}},[_vm._t("default")],2):_vm._e()])}
|
|
1617
|
-
var
|
|
1675
|
+
var buttonvue_type_template_id_bde52e82_staticRenderFns = []
|
|
1618
1676
|
|
|
1619
1677
|
|
|
1620
|
-
// CONCATENATED MODULE: ./components/button/button.vue?vue&type=template&id=
|
|
1678
|
+
// CONCATENATED MODULE: ./components/button/button.vue?vue&type=template&id=bde52e82&
|
|
1621
1679
|
|
|
1622
1680
|
// CONCATENATED MODULE: ./components/button/button_constants.js
|
|
1623
1681
|
const BUTTON_SIZE_MODIFIERS = {
|
|
@@ -1653,6 +1711,16 @@ const INVALID_COMBINATION = [{
|
|
|
1653
1711
|
kind: 'danger',
|
|
1654
1712
|
importance: 'outlined',
|
|
1655
1713
|
message: _invalidCombinationMessage(true, 'danger', 'outlined')
|
|
1714
|
+
}, {
|
|
1715
|
+
circle: true,
|
|
1716
|
+
kind: 'muted',
|
|
1717
|
+
importance: 'primary',
|
|
1718
|
+
message: _invalidCombinationMessage(true, 'muted', 'primary')
|
|
1719
|
+
}, {
|
|
1720
|
+
circle: false,
|
|
1721
|
+
kind: 'muted',
|
|
1722
|
+
importance: 'primary',
|
|
1723
|
+
message: _invalidCombinationMessage(false, 'muted', 'primary')
|
|
1656
1724
|
}];
|
|
1657
1725
|
|
|
1658
1726
|
function _invalidCombinationMessage(circle, kind, importance) {
|
|
@@ -1895,6 +1963,7 @@ const LINK_KIND_MODIFIERS = {
|
|
|
1895
1963
|
},
|
|
1896
1964
|
watch: {
|
|
1897
1965
|
$props: {
|
|
1966
|
+
deep: true,
|
|
1898
1967
|
immediate: true,
|
|
1899
1968
|
|
|
1900
1969
|
handler() {
|
|
@@ -1935,8 +2004,8 @@ const LINK_KIND_MODIFIERS = {
|
|
|
1935
2004
|
|
|
1936
2005
|
var button_component = normalizeComponent(
|
|
1937
2006
|
button_buttonvue_type_script_lang_js_,
|
|
1938
|
-
|
|
1939
|
-
|
|
2007
|
+
buttonvue_type_template_id_bde52e82_render,
|
|
2008
|
+
buttonvue_type_template_id_bde52e82_staticRenderFns,
|
|
1940
2009
|
false,
|
|
1941
2010
|
null,
|
|
1942
2011
|
null,
|
|
@@ -2347,7 +2416,7 @@ var banner_component = normalizeComponent(
|
|
|
2347
2416
|
/* harmony default export */ var banner = (banner_component.exports);
|
|
2348
2417
|
// CONCATENATED MODULE: ./components/banner/index.js
|
|
2349
2418
|
|
|
2350
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2419
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/breadcrumbs/breadcrumbs.vue?vue&type=template&id=b762e354&
|
|
2351
2420
|
var breadcrumbsvue_type_template_id_b762e354_render = function () {
|
|
2352
2421
|
var _obj;
|
|
2353
2422
|
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',{class:[
|
|
@@ -2361,7 +2430,7 @@ var breadcrumbsvue_type_template_id_b762e354_staticRenderFns = []
|
|
|
2361
2430
|
// CONCATENATED MODULE: ./components/breadcrumbs/breadcrumbs_constants.js
|
|
2362
2431
|
const BREADCRUMB_ITEM_SELECTED_MODIFIER = 'd-breadcrumbs__item--selected';
|
|
2363
2432
|
const BREADCRUMBS_INVERTED_MODIFIER = 'd-breadcrumbs--inverted';
|
|
2364
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2433
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/breadcrumbs/breadcrumb_item.vue?vue&type=template&id=6f97ec8a&
|
|
2365
2434
|
var breadcrumb_itemvue_type_template_id_6f97ec8a_render = function () {
|
|
2366
2435
|
var _obj;
|
|
2367
2436
|
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{class:[
|
|
@@ -2372,7 +2441,7 @@ var breadcrumb_itemvue_type_template_id_6f97ec8a_staticRenderFns = []
|
|
|
2372
2441
|
|
|
2373
2442
|
// CONCATENATED MODULE: ./components/breadcrumbs/breadcrumb_item.vue?vue&type=template&id=6f97ec8a&
|
|
2374
2443
|
|
|
2375
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2444
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/link/link.vue?vue&type=template&id=08ea8c41&
|
|
2376
2445
|
var linkvue_type_template_id_08ea8c41_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',_vm._g({class:[
|
|
2377
2446
|
'd-link',
|
|
2378
2447
|
_vm.LINK_KIND_MODIFIERS[_vm.kind] ],attrs:{"data-qa":"dt-link"}},_vm.$listeners),[_vm._t("default")],2)}
|
|
@@ -2652,7 +2721,82 @@ var breadcrumbs_component = normalizeComponent(
|
|
|
2652
2721
|
|
|
2653
2722
|
// CONCATENATED MODULE: ./components/button/index.js
|
|
2654
2723
|
|
|
2655
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2724
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-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_group/button_group.vue?vue&type=template&id=8962a2f0&
|
|
2725
|
+
var button_groupvue_type_template_id_8962a2f0_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
|
|
2726
|
+
'd-btn-group',
|
|
2727
|
+
_vm.BUTTON_GROUP_ALIGNMENT[this.alignment] ],attrs:{"role":"group"}},[_vm._t("default")],2)}
|
|
2728
|
+
var button_groupvue_type_template_id_8962a2f0_staticRenderFns = []
|
|
2729
|
+
|
|
2730
|
+
|
|
2731
|
+
// CONCATENATED MODULE: ./components/button_group/button_group.vue?vue&type=template&id=8962a2f0&
|
|
2732
|
+
|
|
2733
|
+
// CONCATENATED MODULE: ./components/button_group/button_group_constants.js
|
|
2734
|
+
const BUTTON_GROUP_ALIGNMENT = {
|
|
2735
|
+
start: 'd-btn-group--start',
|
|
2736
|
+
end: 'd-btn-group--end',
|
|
2737
|
+
'space-between': 'd-btn-group--space-between'
|
|
2738
|
+
};
|
|
2739
|
+
// 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_group/button_group.vue?vue&type=script&lang=js&
|
|
2740
|
+
//
|
|
2741
|
+
//
|
|
2742
|
+
//
|
|
2743
|
+
//
|
|
2744
|
+
//
|
|
2745
|
+
//
|
|
2746
|
+
//
|
|
2747
|
+
//
|
|
2748
|
+
//
|
|
2749
|
+
//
|
|
2750
|
+
//
|
|
2751
|
+
//
|
|
2752
|
+
//
|
|
2753
|
+
|
|
2754
|
+
/* harmony default export */ var button_groupvue_type_script_lang_js_ = ({
|
|
2755
|
+
name: 'DtButtonGroup',
|
|
2756
|
+
props: {
|
|
2757
|
+
/**
|
|
2758
|
+
* Alignment of the buttons inside the container
|
|
2759
|
+
*/
|
|
2760
|
+
alignment: {
|
|
2761
|
+
type: String,
|
|
2762
|
+
default: 'start',
|
|
2763
|
+
validator: alignment => Object.keys(BUTTON_GROUP_ALIGNMENT).includes(alignment)
|
|
2764
|
+
}
|
|
2765
|
+
},
|
|
2766
|
+
|
|
2767
|
+
data() {
|
|
2768
|
+
return {
|
|
2769
|
+
BUTTON_GROUP_ALIGNMENT: BUTTON_GROUP_ALIGNMENT
|
|
2770
|
+
};
|
|
2771
|
+
}
|
|
2772
|
+
|
|
2773
|
+
});
|
|
2774
|
+
// CONCATENATED MODULE: ./components/button_group/button_group.vue?vue&type=script&lang=js&
|
|
2775
|
+
/* harmony default export */ var button_group_button_groupvue_type_script_lang_js_ = (button_groupvue_type_script_lang_js_);
|
|
2776
|
+
// CONCATENATED MODULE: ./components/button_group/button_group.vue
|
|
2777
|
+
|
|
2778
|
+
|
|
2779
|
+
|
|
2780
|
+
|
|
2781
|
+
|
|
2782
|
+
/* normalize component */
|
|
2783
|
+
|
|
2784
|
+
var button_group_component = normalizeComponent(
|
|
2785
|
+
button_group_button_groupvue_type_script_lang_js_,
|
|
2786
|
+
button_groupvue_type_template_id_8962a2f0_render,
|
|
2787
|
+
button_groupvue_type_template_id_8962a2f0_staticRenderFns,
|
|
2788
|
+
false,
|
|
2789
|
+
null,
|
|
2790
|
+
null,
|
|
2791
|
+
null
|
|
2792
|
+
|
|
2793
|
+
)
|
|
2794
|
+
|
|
2795
|
+
/* harmony default export */ var button_group = (button_group_component.exports);
|
|
2796
|
+
// CONCATENATED MODULE: ./components/button_group/index.js
|
|
2797
|
+
|
|
2798
|
+
|
|
2799
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/input/input.vue?vue&type=template&id=0231bf39&
|
|
2656
2800
|
var inputvue_type_template_id_0231bf39_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"container",staticClass:"base-input",attrs:{"data-qa":"dt-input"}},[_c('label',{staticClass:"base-input__label",attrs:{"aria-details":_vm.$slots.description || _vm.description ? _vm.descriptionKey : undefined,"data-qa":"dt-input-label-wrapper"}},[_vm._t("labelSlot",[(_vm.label)?_c('div',{class:[
|
|
2657
2801
|
'base-input__label-text',
|
|
2658
2802
|
'd-label',
|
|
@@ -2686,7 +2830,7 @@ const INPUT_SIZES = {
|
|
|
2686
2830
|
INPUT_TYPES,
|
|
2687
2831
|
INPUT_SIZES
|
|
2688
2832
|
});
|
|
2689
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2833
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/validation_messages/validation_messages.vue?vue&type=template&id=6fb7180e&
|
|
2690
2834
|
var validation_messagesvue_type_template_id_6fb7180e_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showMessages && !_vm.isFilteredValidationMessagesEmpty)?_c('div',{staticClass:"base-input__messages d-d-flex d-fd-column",attrs:{"data-qa":"validation-messages-container"}},_vm._l((_vm.filteredValidationMessages),function(ref,index){
|
|
2691
2835
|
var message = ref.message;
|
|
2692
2836
|
var type = ref.type;
|
|
@@ -2995,7 +3139,7 @@ const CheckableMixin = {
|
|
|
2995
3139
|
},
|
|
2996
3140
|
|
|
2997
3141
|
/**
|
|
2998
|
-
* Indeterminate State
|
|
3142
|
+
* Indeterminate State, toggling indeterminate checkbox will uncheck
|
|
2999
3143
|
*/
|
|
3000
3144
|
indeterminate: {
|
|
3001
3145
|
type: Boolean,
|
|
@@ -3013,7 +3157,8 @@ const CheckableMixin = {
|
|
|
3013
3157
|
|
|
3014
3158
|
data() {
|
|
3015
3159
|
return {
|
|
3016
|
-
internalChecked: this.checked
|
|
3160
|
+
internalChecked: this.checked,
|
|
3161
|
+
internalIndeterminate: this.indeterminate
|
|
3017
3162
|
};
|
|
3018
3163
|
},
|
|
3019
3164
|
|
|
@@ -3021,6 +3166,10 @@ const CheckableMixin = {
|
|
|
3021
3166
|
checked(newChecked) {
|
|
3022
3167
|
// update internal checked when the prop changes
|
|
3023
3168
|
this.internalChecked = newChecked;
|
|
3169
|
+
},
|
|
3170
|
+
|
|
3171
|
+
indeterminate(newValue) {
|
|
3172
|
+
this.internalIndeterminate = newValue;
|
|
3024
3173
|
}
|
|
3025
3174
|
|
|
3026
3175
|
}
|
|
@@ -3546,7 +3695,7 @@ var input_component = normalizeComponent(
|
|
|
3546
3695
|
// CONCATENATED MODULE: ./components/input/index.js
|
|
3547
3696
|
|
|
3548
3697
|
|
|
3549
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3698
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-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&
|
|
3550
3699
|
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)}
|
|
3551
3700
|
var input_groupvue_type_template_id_34acc7c9_staticRenderFns = []
|
|
3552
3701
|
|
|
@@ -3841,7 +3990,7 @@ var input_group_component = normalizeComponent(
|
|
|
3841
3990
|
/* harmony default export */ var input_group_input_group = (input_group_component.exports);
|
|
3842
3991
|
// CONCATENATED MODULE: ./components/input_group/index.js
|
|
3843
3992
|
|
|
3844
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3993
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-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=3b895075&
|
|
3845
3994
|
var modalvue_type_template_id_3b895075_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-lazy-show',{class:[
|
|
3846
3995
|
'd-modal',
|
|
3847
3996
|
_vm.MODAL_KIND_MODIFIERS[_vm.kind],
|
|
@@ -3863,7 +4012,7 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
3863
4012
|
default: '',
|
|
3864
4013
|
full: 'd-modal--full'
|
|
3865
4014
|
};
|
|
3866
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4015
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-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=9ffa4e8c&
|
|
3867
4016
|
var lazy_showvue_type_template_id_9ffa4e8c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',_vm._g({attrs:{"name":_vm.transition,"appear":_vm.appear}},_vm.$listeners),[_c('div',_vm._g({directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}]},_vm.$listeners),[(_vm.initialized)?_vm._t("default"):_vm._e()],2)])}
|
|
3868
4017
|
var lazy_showvue_type_template_id_9ffa4e8c_staticRenderFns = []
|
|
3869
4018
|
|
|
@@ -4238,7 +4387,7 @@ var modal_component = normalizeComponent(
|
|
|
4238
4387
|
|
|
4239
4388
|
// CONCATENATED MODULE: ./components/lazy_show/index.js
|
|
4240
4389
|
|
|
4241
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4390
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/list_section/list_section.vue?vue&type=template&id=0285311e&
|
|
4242
4391
|
var list_sectionvue_type_template_id_0285311e_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['dt-list-section', 'd-fs14', 'd-lh6', 'd-py6', 'd-bc-black-200',
|
|
4243
4392
|
{ 'd-bb': _vm.separator }],attrs:{"id":_vm.id,"role":"group","aria-labelledby":(_vm.id + "-list-section-header"),"tabindex":"-1"}},[(_vm.header)?_c('h3',{staticClass:"d-pl12 d-mt6",attrs:{"id":(_vm.id + "-list-section-header")}},[_vm._v(" "+_vm._s(_vm.header)+" ")]):_vm._e(),(!_vm.isCollapsible || _vm.showAll)?_c('ol',{attrs:{"id":(_vm.id + "-list-section-content")}},[_vm._t("default")],2):_c('ol',{attrs:{"id":(_vm.id + "-list-section-content")}},[_c('vnodes',{attrs:{"vnodes":_vm.displayedItems}})],1),_c('div',{staticClass:"d-d-flex"},[(_vm.isCollapsible)?_c('dt-button',{staticClass:"d-ml12 d-py6",attrs:{"id":(_vm.id + "-list-section-show-more-less"),"link":""},on:{"click":_vm.showMoreLessClicked}},[_vm._v(" "+_vm._s(_vm.showMoreLessText)+" ")]):_vm._e(),_vm._t("footer")],2)])}
|
|
4244
4393
|
var list_sectionvue_type_template_id_0285311e_staticRenderFns = []
|
|
@@ -4422,7 +4571,7 @@ var list_section_component = normalizeComponent(
|
|
|
4422
4571
|
/* harmony default export */ var list_section = (list_section_component.exports);
|
|
4423
4572
|
// CONCATENATED MODULE: ./components/list_section/index.js
|
|
4424
4573
|
|
|
4425
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4574
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/list_item/list_item.vue?vue&type=template&id=42009112&
|
|
4426
4575
|
var list_itemvue_type_template_id_42009112_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.elementType,{tag:"component",class:['dt-list-item d-ls-none', {
|
|
4427
4576
|
'dt-list-item--focusable': _vm.isFocusable,
|
|
4428
4577
|
'dt-list-item--highlighted': _vm.isHighlighted,
|
|
@@ -4446,7 +4595,7 @@ const LIST_ITEM_NAVIGATION_TYPES = {
|
|
|
4446
4595
|
LIST_ITEM_TYPES,
|
|
4447
4596
|
LIST_ITEM_NAVIGATION_TYPES
|
|
4448
4597
|
});
|
|
4449
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4598
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/list_item/default_list_item.vue?vue&type=template&id=42285ca2&
|
|
4450
4599
|
var default_list_itemvue_type_template_id_42285ca2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"dt-default-list-item d-fs14 d-lh4 d-py2 d-px12 d-d-flex d-ai-center"},[(_vm.$slots.left)?_c('section',{staticClass:"dt-default-list-item--left d-d-inline-flex d-as-flex-start d-d-flex d-ai-center d-pr8",attrs:{"data-qa":"dt-default-list-item-left-wrapper"}},[_vm._t("left")],2):_vm._e(),_c('section',{staticClass:"d-fl-grow1"},[(_vm.$slots.default)?_c('div',[_vm._t("default")],2):_vm._e(),(_vm.$slots.subtitle)?_c('div',{class:['d-fs12 d-fc-black-500', { 'd-mtn2': _vm.$slots.default }],attrs:{"data-qa":"dt-default-list-item-subtitle-wrapper"}},[_vm._t("subtitle")],2):_vm._e(),(_vm.$slots.bottom)?_c('div',{staticClass:"d-mt2",attrs:{"data-qa":"dt-default-list-item-bottom-wrapper"}},[_vm._t("bottom")],2):_vm._e()]),(_vm.$slots.right)?_c('section',{staticClass:"dt-default-list-item--right d-d-inline-flex d-as-flex-start d-d-flex d-ai-center d-pl8",attrs:{"data-qa":"dt-default-list-item-right-wrapper"}},[_vm._t("right")],2):_vm._e()])}
|
|
4451
4600
|
var default_list_itemvue_type_template_id_42285ca2_staticRenderFns = []
|
|
4452
4601
|
|
|
@@ -4735,7 +4884,7 @@ var list_item_component = normalizeComponent(
|
|
|
4735
4884
|
/* harmony default export */ var list_item = (list_item_component.exports);
|
|
4736
4885
|
// CONCATENATED MODULE: ./components/list_item/index.js
|
|
4737
4886
|
|
|
4738
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4887
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/notice/notice.vue?vue&type=template&id=4b03fec7&
|
|
4739
4888
|
var noticevue_type_template_id_4b03fec7_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('aside',_vm._g({class:_vm.noticeClass,attrs:{"data-qa":"notice"}},_vm.$listeners),[_c('dt-notice-icon',_vm._g({attrs:{"kind":_vm.kind}},_vm.$listeners),[_vm._t("icon")],2),_c('dt-notice-content',_vm._g({attrs:{"title-id":_vm.titleId,"content-id":_vm.contentId,"title":_vm.title,"role":_vm.role},scopedSlots:_vm._u([{key:"titleOverride",fn:function(){return [_vm._t("titleOverride")]},proxy:true}],null,true)},_vm.$listeners),[_vm._t("default")],2),_c('dt-notice-action',_vm._g({attrs:{"hide-close":_vm.hideClose,"close-button-props":_vm.closeButtonProps}},_vm.$listeners),[_vm._t("action")],2)],1)}
|
|
4740
4889
|
var noticevue_type_template_id_4b03fec7_staticRenderFns = []
|
|
4741
4890
|
|
|
@@ -4915,8 +5064,8 @@ var notice_component = normalizeComponent(
|
|
|
4915
5064
|
// CONCATENATED MODULE: ./components/notice/index.js
|
|
4916
5065
|
|
|
4917
5066
|
|
|
4918
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4919
|
-
var
|
|
5067
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-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=67f9c14b&
|
|
5068
|
+
var popovervue_type_template_id_67f9c14b_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.elementType,{ref:"popover",tag:"component"},[(_vm.modal)?_c('dt-lazy-show',{ref:"overlay",staticClass:"\n d-popover-overlay\n d-ps-fixed\n d-all0\n d-fl-center\n d-fd-column\n d-vi-visible\n d-zi-modal\n d-o100\n d-bgc-black-900\n ",attrs:{"show":_vm.modal && _vm.isOpeningPopover,"transition":"d-zoom"},on:{"click":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.closePopover($event)}}}):_vm._e(),_c('div',{ref:"anchor",attrs:{"id":!_vm.ariaLabelledby && _vm.labelledBy}},[_vm._t("anchor",null,{"attrs":{
|
|
4920
5069
|
'aria-expanded': _vm.showPopover.toString(),
|
|
4921
5070
|
'aria-controls': _vm.id,
|
|
4922
5071
|
'aria-haspopup': _vm.role,
|
|
@@ -4932,10 +5081,10 @@ var popovervue_type_template_id_6aa4f74f_render = function () {var _vm=this;var
|
|
|
4932
5081
|
("dt-popover__content--valign-" + _vm.verticalAlignment),
|
|
4933
5082
|
'd-m0',
|
|
4934
5083
|
_vm.contentClass ],attrs:{"id":_vm.id,"role":_vm.role,"data-qa":"dt-popover","aria-hidden":("" + (!_vm.showPopover)),"aria-labelledby":_vm.labelledBy,"aria-label":_vm.ariaLabel,"aria-modal":_vm.isDialog,"transition":_vm.transition,"show":_vm.showPopover,"tabindex":"-1","appear":""},on:{"keydown":_vm.onKeydown,"after-leave":_vm.onLeave,"enter":function($event){_vm.isOpeningPopover = true},"leave":function($event){_vm.isOpeningPopover = false},"after-enter":_vm.dialogFocusFirstElement}},[_vm._t("content"),(_vm.hasCaret)?_c('div',{staticClass:"d-bgc-white d-mtn4 d-bt d-bl d-bc-black-075 dt-popover__caret d-ps-absolute d-w6 d-h6"}):_vm._e()],2)],1)}
|
|
4935
|
-
var
|
|
5084
|
+
var popovervue_type_template_id_67f9c14b_staticRenderFns = []
|
|
4936
5085
|
|
|
4937
5086
|
|
|
4938
|
-
// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=template&id=
|
|
5087
|
+
// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=template&id=67f9c14b&
|
|
4939
5088
|
|
|
4940
5089
|
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js
|
|
4941
5090
|
// import { isHTMLElement } from './instanceOf';
|
|
@@ -9256,12 +9405,11 @@ const POPOVER_PADDING_CLASSES = {
|
|
|
9256
9405
|
medium: 'd-p16',
|
|
9257
9406
|
large: 'd-p24'
|
|
9258
9407
|
};
|
|
9259
|
-
const POPOVER_HORIZONTAL_ALIGNMENT = [null, 'left', 'right'];
|
|
9408
|
+
const POPOVER_HORIZONTAL_ALIGNMENT = [null, 'left', 'center', 'right'];
|
|
9260
9409
|
const POPOVER_VERTICAL_ALIGNMENT = [null, 'top', 'bottom'];
|
|
9261
|
-
const TIPPY_HORIZONTAL_ALIGNMENT = ['start', 'end'];
|
|
9262
9410
|
const POPOVER_ROLES = ['dialog', 'menu', 'listbox', 'tree', 'grid'];
|
|
9263
9411
|
const POPOVER_CONTENT_WIDTHS = [null, 'anchor'];
|
|
9264
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
9412
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/tooltip/tooltip.vue?vue&type=template&id=00f87924&
|
|
9265
9413
|
var tooltipvue_type_template_id_00f87924_render = function () {
|
|
9266
9414
|
var _obj;
|
|
9267
9415
|
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"data-qa":"dt-tooltip-container"}},[_c('div',{ref:"anchor",attrs:{"data-qa":"dt-tooltip-anchor"}},[_vm._t("anchor",null,{"attrs":{
|
|
@@ -9806,6 +9954,10 @@ var tooltip_component = normalizeComponent(
|
|
|
9806
9954
|
//
|
|
9807
9955
|
//
|
|
9808
9956
|
//
|
|
9957
|
+
//
|
|
9958
|
+
//
|
|
9959
|
+
//
|
|
9960
|
+
//
|
|
9809
9961
|
|
|
9810
9962
|
|
|
9811
9963
|
|
|
@@ -10054,6 +10206,10 @@ var tooltip_component = normalizeComponent(
|
|
|
10054
10206
|
type: [Number, String],
|
|
10055
10207
|
default: 300,
|
|
10056
10208
|
validator: zIndex => !!Number(zIndex)
|
|
10209
|
+
},
|
|
10210
|
+
overlayAppendTo: {
|
|
10211
|
+
type: HTMLElement,
|
|
10212
|
+
default: () => document.body
|
|
10057
10213
|
}
|
|
10058
10214
|
},
|
|
10059
10215
|
emits: ['update:open'],
|
|
@@ -10074,26 +10230,26 @@ var tooltip_component = normalizeComponent(
|
|
|
10074
10230
|
|
|
10075
10231
|
computed: {
|
|
10076
10232
|
fallbackPlacements() {
|
|
10233
|
+
const verticalVariants = POPOVER_VERTICAL_ALIGNMENT.filter(alignment => alignment);
|
|
10234
|
+
const horizontalVariants = POPOVER_HORIZONTAL_ALIGNMENT.filter(alignment => alignment);
|
|
10235
|
+
|
|
10077
10236
|
if (this.fixedAlignment === null && this.fixedVerticalAlignment === null) {
|
|
10078
|
-
return
|
|
10237
|
+
return verticalVariants.map(vertical => horizontalVariants.map(horizontal => this.getPlacement(vertical, horizontal))).flat();
|
|
10079
10238
|
}
|
|
10080
10239
|
|
|
10081
10240
|
if (this.fixedAlignment === null) {
|
|
10082
|
-
return
|
|
10241
|
+
return horizontalVariants.map(horizontal => this.getPlacement(this.fixedVerticalAlignment, horizontal));
|
|
10083
10242
|
}
|
|
10084
10243
|
|
|
10085
10244
|
if (this.fixedVerticalAlignment === null) {
|
|
10086
|
-
|
|
10087
|
-
return POPOVER_VERTICAL_ALIGNMENT.filter(verticalAlignment => verticalAlignment).map(verticalAlignment => `${verticalAlignment}-${horizontalAlignment}`);
|
|
10245
|
+
return verticalVariants.map(vertical => this.getPlacement(vertical, this.fixedAlignment));
|
|
10088
10246
|
}
|
|
10089
10247
|
|
|
10090
10248
|
return [];
|
|
10091
10249
|
},
|
|
10092
10250
|
|
|
10093
10251
|
placement() {
|
|
10094
|
-
|
|
10095
|
-
const horizontalAlignment = this.fixedAlignment === 'left' ? 'start' : 'end';
|
|
10096
|
-
return `${verticalAlignment}-${horizontalAlignment}`;
|
|
10252
|
+
return this.getPlacement(this.fixedVerticalAlignment, this.fixedAlignment);
|
|
10097
10253
|
},
|
|
10098
10254
|
|
|
10099
10255
|
isDialog() {
|
|
@@ -10109,13 +10265,11 @@ var tooltip_component = normalizeComponent(
|
|
|
10109
10265
|
},
|
|
10110
10266
|
watch: {
|
|
10111
10267
|
placement(placement) {
|
|
10112
|
-
|
|
10113
|
-
var _this$tip;
|
|
10268
|
+
var _this$tip;
|
|
10114
10269
|
|
|
10115
|
-
|
|
10116
|
-
|
|
10117
|
-
|
|
10118
|
-
}
|
|
10270
|
+
(_this$tip = this.tip) === null || _this$tip === void 0 ? void 0 : _this$tip.setProps({
|
|
10271
|
+
placement
|
|
10272
|
+
});
|
|
10119
10273
|
},
|
|
10120
10274
|
|
|
10121
10275
|
fallbackPlacements: {
|
|
@@ -10160,6 +10314,7 @@ var tooltip_component = normalizeComponent(
|
|
|
10160
10314
|
if (this.modal) {
|
|
10161
10315
|
this.anchorEl.classList.add('d-zi-notification');
|
|
10162
10316
|
zIndex = zIndex > 600 ? zIndex : 700;
|
|
10317
|
+
this.appendOverlay();
|
|
10163
10318
|
} // align popover content width when
|
|
10164
10319
|
|
|
10165
10320
|
|
|
@@ -10170,7 +10325,7 @@ var tooltip_component = normalizeComponent(
|
|
|
10170
10325
|
this.tip = tippy_headless_esm(this.anchorEl, this.getOptions({
|
|
10171
10326
|
popperOptions: this.getPopperOptions(),
|
|
10172
10327
|
tippyOptions: {
|
|
10173
|
-
placement: this.
|
|
10328
|
+
placement: this.placement,
|
|
10174
10329
|
hideOnClick: this.hideOnClick,
|
|
10175
10330
|
offset: this.offset,
|
|
10176
10331
|
interactiveBorder: this.interactiveBorder,
|
|
@@ -10195,13 +10350,52 @@ var tooltip_component = normalizeComponent(
|
|
|
10195
10350
|
var _this$tip4;
|
|
10196
10351
|
|
|
10197
10352
|
window.removeEventListener('resize', this.onResize);
|
|
10353
|
+
this.removeOverlay();
|
|
10198
10354
|
(_this$tip4 = this.tip) === null || _this$tip4 === void 0 ? void 0 : _this$tip4.destroy();
|
|
10355
|
+
this.removeReferences();
|
|
10199
10356
|
},
|
|
10200
10357
|
|
|
10201
10358
|
/******************
|
|
10202
10359
|
* METHODS *
|
|
10203
10360
|
******************/
|
|
10204
10361
|
methods: {
|
|
10362
|
+
removeReferences() {
|
|
10363
|
+
this.anchorEl = null;
|
|
10364
|
+
this.popoverContentEl = null;
|
|
10365
|
+
this.tip = null;
|
|
10366
|
+
},
|
|
10367
|
+
|
|
10368
|
+
appendOverlay() {
|
|
10369
|
+
const overlay = this.$refs.overlay.$el;
|
|
10370
|
+
const {
|
|
10371
|
+
lastChild
|
|
10372
|
+
} = this.overlayAppendTo;
|
|
10373
|
+
|
|
10374
|
+
if (lastChild) {
|
|
10375
|
+
this.overlayAppendTo.insertBefore(overlay, lastChild);
|
|
10376
|
+
} else {
|
|
10377
|
+
this.overlayAppendTo.append(overlay);
|
|
10378
|
+
}
|
|
10379
|
+
},
|
|
10380
|
+
|
|
10381
|
+
removeOverlay() {
|
|
10382
|
+
if (this.$refs.overlay && this.$refs.overlay.$el) {
|
|
10383
|
+
this.$refs.popover.append(this.$refs.overlay.$el);
|
|
10384
|
+
}
|
|
10385
|
+
},
|
|
10386
|
+
|
|
10387
|
+
getPlacement(vertical = 'bottom', horizontal = 'end') {
|
|
10388
|
+
const verticalAlignment = vertical || 'bottom';
|
|
10389
|
+
const horizontalAlignment = horizontal || 'end';
|
|
10390
|
+
if (horizontalAlignment === 'center') return verticalAlignment;
|
|
10391
|
+
|
|
10392
|
+
if (horizontalAlignment === 'left' || horizontalAlignment === 'right') {
|
|
10393
|
+
return `${verticalAlignment}-${horizontalAlignment === 'left' ? 'start' : 'end'}`;
|
|
10394
|
+
}
|
|
10395
|
+
|
|
10396
|
+
return `${verticalAlignment}-${horizontalAlignment}`;
|
|
10397
|
+
},
|
|
10398
|
+
|
|
10205
10399
|
closePopover() {
|
|
10206
10400
|
if (typeof this.hideOnClick === 'boolean' && this.hideOnClick) {
|
|
10207
10401
|
this.tip.hide();
|
|
@@ -10241,16 +10435,13 @@ var tooltip_component = normalizeComponent(
|
|
|
10241
10435
|
},
|
|
10242
10436
|
|
|
10243
10437
|
onMount() {
|
|
10438
|
+
var _this$tip5;
|
|
10439
|
+
|
|
10244
10440
|
this.isPreventHidePopover = false;
|
|
10245
10441
|
this.showPopover = true;
|
|
10246
|
-
|
|
10247
|
-
|
|
10248
|
-
|
|
10249
|
-
|
|
10250
|
-
(_this$tip5 = this.tip) === null || _this$tip5 === void 0 ? void 0 : _this$tip5.setProps({
|
|
10251
|
-
placement: this.placement
|
|
10252
|
-
});
|
|
10253
|
-
}
|
|
10442
|
+
(_this$tip5 = this.tip) === null || _this$tip5 === void 0 ? void 0 : _this$tip5.setProps({
|
|
10443
|
+
placement: this.placement
|
|
10444
|
+
});
|
|
10254
10445
|
},
|
|
10255
10446
|
|
|
10256
10447
|
onResize() {
|
|
@@ -10275,11 +10466,19 @@ var tooltip_component = normalizeComponent(
|
|
|
10275
10466
|
boundary: this.flipBoundary,
|
|
10276
10467
|
fallbackPlacements: this.fallbackPlacements
|
|
10277
10468
|
}
|
|
10469
|
+
}, {
|
|
10470
|
+
name: 'hide',
|
|
10471
|
+
enabled: this.appendTo !== 'parent'
|
|
10278
10472
|
}, getArrowDetected(({
|
|
10279
10473
|
state
|
|
10280
10474
|
}) => {
|
|
10281
10475
|
this.verticalAlignment = state.placement.includes('top') ? 'top' : 'bottom';
|
|
10282
|
-
|
|
10476
|
+
|
|
10477
|
+
if (state.placement === 'top' || state.placement === 'bottom') {
|
|
10478
|
+
this.horizontalAlignment = 'center';
|
|
10479
|
+
} else {
|
|
10480
|
+
this.horizontalAlignment = state.placement.includes('start') ? 'left' : 'right';
|
|
10481
|
+
}
|
|
10283
10482
|
})]
|
|
10284
10483
|
};
|
|
10285
10484
|
},
|
|
@@ -10304,10 +10503,6 @@ var tooltip_component = normalizeComponent(
|
|
|
10304
10503
|
};
|
|
10305
10504
|
},
|
|
10306
10505
|
|
|
10307
|
-
getInitialPlacement() {
|
|
10308
|
-
return TOOLTIP_TIPPY_DIRECTIONS[this.placement] ? this.placement : this.fallbackPlacements[0];
|
|
10309
|
-
},
|
|
10310
|
-
|
|
10311
10506
|
async setPopoverContentAnchorWidth() {
|
|
10312
10507
|
await this.$nextTick();
|
|
10313
10508
|
this.popoverContentEl.style.width = `${this.anchorEl.clientWidth}px`;
|
|
@@ -10337,8 +10532,8 @@ var popovervue_type_style_index_0_lang_less_ = __webpack_require__("e0bf");
|
|
|
10337
10532
|
|
|
10338
10533
|
var popover_component = normalizeComponent(
|
|
10339
10534
|
popover_popovervue_type_script_lang_js_,
|
|
10340
|
-
|
|
10341
|
-
|
|
10535
|
+
popovervue_type_template_id_67f9c14b_render,
|
|
10536
|
+
popovervue_type_template_id_67f9c14b_staticRenderFns,
|
|
10342
10537
|
false,
|
|
10343
10538
|
null,
|
|
10344
10539
|
null,
|
|
@@ -10350,7 +10545,7 @@ var popover_component = normalizeComponent(
|
|
|
10350
10545
|
// CONCATENATED MODULE: ./components/popover/index.js
|
|
10351
10546
|
|
|
10352
10547
|
|
|
10353
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10548
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/radio/radio.vue?vue&type=template&id=7516bd14&
|
|
10354
10549
|
var radiovue_type_template_id_7516bd14_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('label',[_c('div',{class:['d-radio-group', { 'd-radio-group--disabled': _vm.internalDisabled }]},[_c('div',{staticClass:"d-radio__input"},[_c('input',_vm._g(_vm._b({class:['d-radio', _vm.inputValidationClass, _vm.inputClass],attrs:{"name":_vm.internalName,"disabled":_vm.internalDisabled,"type":"radio"},domProps:{"checked":_vm.internalChecked,"value":_vm.value}},'input',_vm.$attrs,false),_vm.inputListeners))]),_c('div',{staticClass:"d-radio__copy d-radio__label",attrs:{"data-qa":"radio-label-description-container"}},[_c('div',_vm._b({class:_vm.labelClass,attrs:{"data-qa":"radio-label"}},'div',_vm.labelChildProps,false),[_vm._t("default",[_vm._v(_vm._s(_vm.label))])],2),(_vm.$slots.description || _vm.description)?_c('div',_vm._b({class:['d-description', _vm.descriptionClass],attrs:{"data-qa":"radio-description"}},'div',_vm.descriptionChildProps,false),[_vm._t("description",[_vm._v(_vm._s(_vm.description))])],2):_vm._e(),_c('dt-validation-messages',_vm._b({class:_vm.messagesClass,attrs:{"validation-messages":_vm.formattedMessages,"show-messages":_vm.showMessages,"data-qa":"dt-radio-validation-messages"}},'dt-validation-messages',_vm.messagesChildProps,false))],1)])])}
|
|
10355
10550
|
var radiovue_type_template_id_7516bd14_staticRenderFns = []
|
|
10356
10551
|
|
|
@@ -10611,7 +10806,7 @@ var radio_group_component = normalizeComponent(
|
|
|
10611
10806
|
/* harmony default export */ var radio_group = (radio_group_component.exports);
|
|
10612
10807
|
// CONCATENATED MODULE: ./components/radio_group/index.js
|
|
10613
10808
|
|
|
10614
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10809
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/tabs/tab_group.vue?vue&type=template&id=59d36f62&
|
|
10615
10810
|
var tab_groupvue_type_template_id_59d36f62_render = function () {
|
|
10616
10811
|
var _obj;
|
|
10617
10812
|
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"data-qa":"dt-tab-group"}},[_c('div',_vm._b({class:[
|
|
@@ -10937,7 +11132,7 @@ var tab_group_component = normalizeComponent(
|
|
|
10937
11132
|
)
|
|
10938
11133
|
|
|
10939
11134
|
/* harmony default export */ var tab_group = (tab_group_component.exports);
|
|
10940
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11135
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/tabs/tab.vue?vue&type=template&id=0bc212ec&
|
|
10941
11136
|
var tabvue_type_template_id_0bc212ec_render = function () {
|
|
10942
11137
|
var _obj;
|
|
10943
11138
|
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-button',_vm._b({class:[
|
|
@@ -11090,7 +11285,7 @@ var tab_component = normalizeComponent(
|
|
|
11090
11285
|
)
|
|
11091
11286
|
|
|
11092
11287
|
/* harmony default export */ var tab = (tab_component.exports);
|
|
11093
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11288
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/tabs/tab_panel.vue?vue&type=template&id=4d6d0107&
|
|
11094
11289
|
var tab_panelvue_type_template_id_4d6d0107_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
|
|
11095
11290
|
{
|
|
11096
11291
|
'd-d-none': _vm.hidePanel,
|
|
@@ -11192,12 +11387,12 @@ var tab_panel_component = normalizeComponent(
|
|
|
11192
11387
|
|
|
11193
11388
|
|
|
11194
11389
|
|
|
11195
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11196
|
-
var
|
|
11197
|
-
var
|
|
11390
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-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=86d051ec&
|
|
11391
|
+
var checkboxvue_type_template_id_86d051ec_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('label',[_c('div',{class:['d-checkbox-group', { 'd-checkbox-group--disabled': _vm.internalDisabled }]},[_c('div',{staticClass:"d-checkbox__input"},[_c('input',_vm._g(_vm._b({class:['d-checkbox', _vm.inputValidationClass, _vm.inputClass],attrs:{"type":"checkbox","name":_vm.internalName,"disabled":_vm.internalDisabled},domProps:{"checked":_vm.internalChecked,"value":_vm.value,"indeterminate":_vm.internalIndeterminate}},'input',_vm.$attrs,false),_vm.inputListeners))]),(_vm.hasLabelOrDescription)?_c('div',{staticClass:"d-checkbox__copy d-checkbox__label",attrs:{"data-qa":"checkbox-label-description-container"}},[(_vm.hasLabel)?_c('div',_vm._b({class:_vm.labelClass,attrs:{"data-qa":"checkbox-label"}},'div',_vm.labelChildProps,false),[_vm._t("default",[_vm._v(_vm._s(_vm.label))])],2):_vm._e(),(_vm.hasDescription)?_c('div',_vm._b({class:['d-description', _vm.descriptionClass],attrs:{"data-qa":"checkbox-description"}},'div',_vm.descriptionChildProps,false),[_vm._t("description",[_vm._v(_vm._s(_vm.description))])],2):_vm._e(),_c('dt-validation-messages',_vm._b({class:_vm.messagesClass,attrs:{"validation-messages":_vm.formattedMessages,"show-messages":_vm.showMessages,"data-qa":"dt-checkbox-validation-messages"}},'dt-validation-messages',_vm.messagesChildProps,false))],1):_vm._e()])])}
|
|
11392
|
+
var checkboxvue_type_template_id_86d051ec_staticRenderFns = []
|
|
11198
11393
|
|
|
11199
11394
|
|
|
11200
|
-
// CONCATENATED MODULE: ./components/checkbox/checkbox.vue?vue&type=template&id=
|
|
11395
|
+
// CONCATENATED MODULE: ./components/checkbox/checkbox.vue?vue&type=template&id=86d051ec&
|
|
11201
11396
|
|
|
11202
11397
|
// CONCATENATED MODULE: ./components/checkbox/checkbox_constants.js
|
|
11203
11398
|
const CHECKBOX_INPUT_VALIDATION_CLASSES = {
|
|
@@ -11310,7 +11505,7 @@ const CHECKBOX_INPUT_VALIDATION_CLASSES = {
|
|
|
11310
11505
|
* input event by the change listener).
|
|
11311
11506
|
*/
|
|
11312
11507
|
input: () => {},
|
|
11313
|
-
change: event => this.emitValue(event.target
|
|
11508
|
+
change: event => this.emitValue(event.target)
|
|
11314
11509
|
};
|
|
11315
11510
|
}
|
|
11316
11511
|
|
|
@@ -11334,8 +11529,20 @@ const CHECKBOX_INPUT_VALIDATION_CLASSES = {
|
|
|
11334
11529
|
},
|
|
11335
11530
|
|
|
11336
11531
|
methods: {
|
|
11337
|
-
emitValue(
|
|
11338
|
-
|
|
11532
|
+
emitValue(target) {
|
|
11533
|
+
let {
|
|
11534
|
+
value,
|
|
11535
|
+
checked
|
|
11536
|
+
} = target; // Expected: Indeterminate -> unchecked. We need to manually set DOM property `checked` to false
|
|
11537
|
+
// and update this.internalIndeterminate.
|
|
11538
|
+
|
|
11539
|
+
if (this.internalIndeterminate) {
|
|
11540
|
+
checked = false;
|
|
11541
|
+
this.internalIndeterminate = false;
|
|
11542
|
+
target.checked = false;
|
|
11543
|
+
} // update provided value if injected
|
|
11544
|
+
|
|
11545
|
+
|
|
11339
11546
|
this.setGroupValue(value, checked); // emit the state of the checkbox
|
|
11340
11547
|
|
|
11341
11548
|
this.$emit('input', checked);
|
|
@@ -11359,8 +11566,8 @@ const CHECKBOX_INPUT_VALIDATION_CLASSES = {
|
|
|
11359
11566
|
|
|
11360
11567
|
var checkbox_component = normalizeComponent(
|
|
11361
11568
|
checkbox_checkboxvue_type_script_lang_js_,
|
|
11362
|
-
|
|
11363
|
-
|
|
11569
|
+
checkboxvue_type_template_id_86d051ec_render,
|
|
11570
|
+
checkboxvue_type_template_id_86d051ec_staticRenderFns,
|
|
11364
11571
|
false,
|
|
11365
11572
|
null,
|
|
11366
11573
|
null,
|
|
@@ -11504,7 +11711,7 @@ var checkbox_group_component = normalizeComponent(
|
|
|
11504
11711
|
/* harmony default export */ var checkbox_group = (checkbox_group_component.exports);
|
|
11505
11712
|
// CONCATENATED MODULE: ./components/checkbox_group/index.js
|
|
11506
11713
|
|
|
11507
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11714
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/select_menu/select_menu.vue?vue&type=template&id=59947fa6&
|
|
11508
11715
|
var select_menuvue_type_template_id_59947fa6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('label',[(_vm.$slots.label || _vm.label)?_c('div',_vm._b({class:[
|
|
11509
11716
|
'd-label',
|
|
11510
11717
|
_vm.LABEL_SIZE_MODIFIERS[_vm.size],
|
|
@@ -11881,7 +12088,7 @@ var select_menu_component = normalizeComponent(
|
|
|
11881
12088
|
// CONCATENATED MODULE: ./components/select_menu/index.js
|
|
11882
12089
|
|
|
11883
12090
|
|
|
11884
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
12091
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/toast/toast.vue?vue&type=template&id=1f5a483f&
|
|
11885
12092
|
var toastvue_type_template_id_1f5a483f_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('aside',{staticClass:"d-toast-wrapper"},[(!_vm.hidden)?_c('div',{class:[
|
|
11886
12093
|
'd-toast',
|
|
11887
12094
|
_vm.kindClass,
|
|
@@ -12132,11 +12339,1073 @@ var toast_component = normalizeComponent(
|
|
|
12132
12339
|
// CONCATENATED MODULE: ./components/toast/index.js
|
|
12133
12340
|
|
|
12134
12341
|
|
|
12135
|
-
// CONCATENATED MODULE: ./components/
|
|
12342
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-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/skeleton/skeleton.vue?vue&type=template&id=22b9be50&
|
|
12343
|
+
var skeletonvue_type_template_id_22b9be50_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"aria-busy":"true","role":"status","aria-label":_vm.ariaLabel}},[(_vm.listItemOption)?_c('dt-skeleton-list-item',_vm._b({attrs:{"animation-duration":_vm.animationDuration,"animate":_vm.animate,"offset":_vm.offset}},'dt-skeleton-list-item',_vm.listItemOption === true ? {} : _vm.listItemOption,false)):(_vm.shapeOption)?_c('dt-skeleton-shape',_vm._b({attrs:{"animation-duration":_vm.animationDuration,"animate":_vm.animate,"offset":_vm.offset}},'dt-skeleton-shape',_vm.shapeOption === true ? {} : _vm.shapeOption,false)):(_vm.paragraphOption)?_c('dt-skeleton-paragraph',_vm._b({attrs:{"animation-duration":_vm.animationDuration,"animate":_vm.animate,"offset":_vm.offset}},'dt-skeleton-paragraph',_vm.paragraphOption === true ? {} : _vm.paragraphOption,false)):_c('dt-skeleton-text',_vm._b({attrs:{"animation-duration":_vm.animationDuration,"animate":_vm.animate,"offset":_vm.offset}},'dt-skeleton-text',_vm.textOption || {},false))],1)}
|
|
12344
|
+
var skeletonvue_type_template_id_22b9be50_staticRenderFns = []
|
|
12345
|
+
|
|
12346
|
+
|
|
12347
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton.vue?vue&type=template&id=22b9be50&
|
|
12348
|
+
|
|
12349
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-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/skeleton/skeleton-shape.vue?vue&type=template&id=0b405340&
|
|
12350
|
+
var skeleton_shapevue_type_template_id_0b405340_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"skeleton",class:[
|
|
12351
|
+
'skeleton-placeholder',
|
|
12352
|
+
_vm.SKELETON_SHAPES[_vm.shape],
|
|
12353
|
+
{
|
|
12354
|
+
'skeleton-placeholder--animate': _vm.animate,
|
|
12355
|
+
},
|
|
12356
|
+
_vm.contentClass ],style:(_vm.shapeStyles),attrs:{"data-qa":"skeleton-shape"}})}
|
|
12357
|
+
var skeleton_shapevue_type_template_id_0b405340_staticRenderFns = []
|
|
12358
|
+
|
|
12359
|
+
|
|
12360
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton-shape.vue?vue&type=template&id=0b405340&
|
|
12361
|
+
|
|
12362
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton_constants.js
|
|
12363
|
+
// NOTE: RippleDuration controls how long the delay is for the animation
|
|
12364
|
+
// of a skeleton 1000 pixels from the top of the page. Each skeleton
|
|
12365
|
+
// from the top down will have a delay duration from 0 to this offset.
|
|
12366
|
+
// The delay of each skeleton animation is based on how far down the page
|
|
12367
|
+
// the skeleton is rendered. This is a linear relationship. The unit
|
|
12368
|
+
// is miliseconds.
|
|
12369
|
+
const SKELETON_RIPPLE_DURATION = 3000000;
|
|
12370
|
+
const SKELETON_SHAPES = {
|
|
12371
|
+
circle: 'd-bar-circle',
|
|
12372
|
+
square: 'd-bar2'
|
|
12373
|
+
};
|
|
12374
|
+
const SKELETON_TEXT_TYPES = ['body', 'heading'];
|
|
12375
|
+
const SKELETON_SHAPE_SIZES = {
|
|
12376
|
+
sm: '24px',
|
|
12377
|
+
md: '32px',
|
|
12378
|
+
lg: '48px'
|
|
12379
|
+
};
|
|
12380
|
+
const SKELETON_HEADING_HEIGHTS = {
|
|
12381
|
+
sm: 'd-h16',
|
|
12382
|
+
md: 'd-h24',
|
|
12383
|
+
lg: 'd-h32'
|
|
12384
|
+
};
|
|
12385
|
+
/* harmony default export */ var skeleton_constants = ({
|
|
12386
|
+
SKELETON_RIPPLE_DURATION,
|
|
12387
|
+
SKELETON_SHAPES,
|
|
12388
|
+
SKELETON_TEXT_TYPES,
|
|
12389
|
+
SKELETON_HEADING_HEIGHTS
|
|
12390
|
+
});
|
|
12391
|
+
// CONCATENATED MODULE: ./components/mixins/skeleton.js
|
|
12392
|
+
|
|
12393
|
+
/* harmony default export */ var skeleton = ({
|
|
12394
|
+
computed: {
|
|
12395
|
+
skeletonOffset() {
|
|
12396
|
+
const skeletonText = this.$refs.skeleton;
|
|
12397
|
+
|
|
12398
|
+
if (!skeletonText) {
|
|
12399
|
+
return this.offset;
|
|
12400
|
+
}
|
|
12401
|
+
|
|
12402
|
+
const {
|
|
12403
|
+
top,
|
|
12404
|
+
height
|
|
12405
|
+
} = skeletonText.getBoundingClientRect();
|
|
12406
|
+
return top + height / 2;
|
|
12407
|
+
},
|
|
12408
|
+
|
|
12409
|
+
skeletonStyle() {
|
|
12410
|
+
const style = {};
|
|
12411
|
+
|
|
12412
|
+
if (this.skeletonOffset === -1 || !this.animate && this.animationDuration === -1) {
|
|
12413
|
+
return style;
|
|
12414
|
+
}
|
|
12415
|
+
|
|
12416
|
+
const animationDelay = this.skeletonOffset * SKELETON_RIPPLE_DURATION / 1000;
|
|
12417
|
+
const animationDuration = this.animationDuration === -1 ? 1000 : this.animationDuration;
|
|
12418
|
+
style.animationDelay = `${animationDelay}ms`;
|
|
12419
|
+
style.animationDuration = `${animationDuration}ms`;
|
|
12420
|
+
return style;
|
|
12421
|
+
}
|
|
12422
|
+
|
|
12423
|
+
}
|
|
12424
|
+
});
|
|
12425
|
+
// 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/skeleton/skeleton-shape.vue?vue&type=script&lang=js&
|
|
12426
|
+
//
|
|
12427
|
+
//
|
|
12428
|
+
//
|
|
12429
|
+
//
|
|
12430
|
+
//
|
|
12431
|
+
//
|
|
12432
|
+
//
|
|
12433
|
+
//
|
|
12434
|
+
//
|
|
12435
|
+
//
|
|
12436
|
+
//
|
|
12437
|
+
//
|
|
12438
|
+
//
|
|
12439
|
+
//
|
|
12440
|
+
//
|
|
12441
|
+
//
|
|
12442
|
+
|
|
12443
|
+
|
|
12444
|
+
/* harmony default export */ var skeleton_shapevue_type_script_lang_js_ = ({
|
|
12445
|
+
name: 'DtSkeletonShape',
|
|
12446
|
+
mixins: [skeleton],
|
|
12447
|
+
props: {
|
|
12448
|
+
shape: {
|
|
12449
|
+
type: String,
|
|
12450
|
+
default: 'circle',
|
|
12451
|
+
validator: shape => Object.keys(SKELETON_SHAPES).includes(shape)
|
|
12452
|
+
},
|
|
12453
|
+
size: {
|
|
12454
|
+
type: String,
|
|
12455
|
+
default: 'md'
|
|
12456
|
+
},
|
|
12457
|
+
animationDuration: {
|
|
12458
|
+
type: Number,
|
|
12459
|
+
default: -1
|
|
12460
|
+
},
|
|
12461
|
+
animate: {
|
|
12462
|
+
type: Boolean,
|
|
12463
|
+
default: true
|
|
12464
|
+
},
|
|
12465
|
+
offset: {
|
|
12466
|
+
type: Number,
|
|
12467
|
+
default: 1
|
|
12468
|
+
},
|
|
12469
|
+
contentClass: {
|
|
12470
|
+
type: String,
|
|
12471
|
+
default: ''
|
|
12472
|
+
}
|
|
12473
|
+
},
|
|
12474
|
+
|
|
12475
|
+
data() {
|
|
12476
|
+
return {
|
|
12477
|
+
SKELETON_SHAPES: SKELETON_SHAPES
|
|
12478
|
+
};
|
|
12479
|
+
},
|
|
12480
|
+
|
|
12481
|
+
computed: {
|
|
12482
|
+
shapeStyles() {
|
|
12483
|
+
const size = SKELETON_SHAPE_SIZES[this.size] || this.size;
|
|
12484
|
+
return { ...this.skeletonStyle,
|
|
12485
|
+
'min-width': size,
|
|
12486
|
+
'max-width': size,
|
|
12487
|
+
'min-height': size,
|
|
12488
|
+
'max-height': size
|
|
12489
|
+
};
|
|
12490
|
+
}
|
|
12491
|
+
|
|
12492
|
+
}
|
|
12493
|
+
});
|
|
12494
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton-shape.vue?vue&type=script&lang=js&
|
|
12495
|
+
/* harmony default export */ var skeleton_skeleton_shapevue_type_script_lang_js_ = (skeleton_shapevue_type_script_lang_js_);
|
|
12496
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton-shape.vue
|
|
12497
|
+
|
|
12498
|
+
|
|
12499
|
+
|
|
12500
|
+
|
|
12501
|
+
|
|
12502
|
+
/* normalize component */
|
|
12503
|
+
|
|
12504
|
+
var skeleton_shape_component = normalizeComponent(
|
|
12505
|
+
skeleton_skeleton_shapevue_type_script_lang_js_,
|
|
12506
|
+
skeleton_shapevue_type_template_id_0b405340_render,
|
|
12507
|
+
skeleton_shapevue_type_template_id_0b405340_staticRenderFns,
|
|
12508
|
+
false,
|
|
12509
|
+
null,
|
|
12510
|
+
null,
|
|
12511
|
+
null
|
|
12512
|
+
|
|
12513
|
+
)
|
|
12514
|
+
|
|
12515
|
+
/* harmony default export */ var skeleton_shape = (skeleton_shape_component.exports);
|
|
12516
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-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/skeleton/skeleton-list-item.vue?vue&type=template&id=550b8bfc&
|
|
12517
|
+
var skeleton_list_itemvue_type_template_id_550b8bfc_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
|
|
12518
|
+
'd-d-flex',
|
|
12519
|
+
{
|
|
12520
|
+
'd-ai-center': _vm.paragraphs.rows === 1,
|
|
12521
|
+
},
|
|
12522
|
+
_vm.contentClass ],attrs:{"data-qa":"skeleton-list-item"}},[_c('dt-skeleton-shape',{staticClass:"d-mr8",attrs:{"size":_vm.shapeSize,"shape":_vm.shape,"animation-duration":_vm.animationDuration,"animate":_vm.animate,"offset":_vm.offset,"content-class":_vm.shapeClass}}),_c('div',{staticClass:"d-d-flex d-fd-column d-w100p"},[_c('dt-skeleton-paragraph',_vm._b({attrs:{"animation-duration":_vm.animationDuration,"animate":_vm.animate,"offset":_vm.offset}},'dt-skeleton-paragraph',_vm.paragraphs,false))],1)],1)}
|
|
12523
|
+
var skeleton_list_itemvue_type_template_id_550b8bfc_staticRenderFns = []
|
|
12524
|
+
|
|
12525
|
+
|
|
12526
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton-list-item.vue?vue&type=template&id=550b8bfc&
|
|
12527
|
+
|
|
12528
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-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/skeleton/skeleton-paragraph.vue?vue&type=template&id=df721706&
|
|
12529
|
+
var skeleton_paragraphvue_type_template_id_df721706_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
|
|
12530
|
+
'd-w100p',
|
|
12531
|
+
_vm.contentClass ],attrs:{"contentClass":"","data-qa":"skeleton-paragraph"}},_vm._l((_vm.integerRows),function(row){return _c('dt-skeleton-text',{key:row,class:[
|
|
12532
|
+
{
|
|
12533
|
+
'd-mb12': row !== _vm.integerRows,
|
|
12534
|
+
} ],attrs:{"data-qa":"skeleton-paragraph-row","content-class":_vm.rowClass,"animate":_vm.animate,"offset":_vm.offset,"animation-duration":_vm.animationDuration,"width":_vm.getSizeParagraphRow(row)}})}),1)}
|
|
12535
|
+
var skeleton_paragraphvue_type_template_id_df721706_staticRenderFns = []
|
|
12536
|
+
|
|
12537
|
+
|
|
12538
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton-paragraph.vue?vue&type=template&id=df721706&
|
|
12539
|
+
|
|
12540
|
+
// 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/skeleton/skeleton-paragraph.vue?vue&type=script&lang=js&
|
|
12541
|
+
//
|
|
12542
|
+
//
|
|
12543
|
+
//
|
|
12544
|
+
//
|
|
12545
|
+
//
|
|
12546
|
+
//
|
|
12547
|
+
//
|
|
12548
|
+
//
|
|
12549
|
+
//
|
|
12550
|
+
//
|
|
12551
|
+
//
|
|
12552
|
+
//
|
|
12553
|
+
//
|
|
12554
|
+
//
|
|
12555
|
+
//
|
|
12556
|
+
//
|
|
12557
|
+
//
|
|
12558
|
+
//
|
|
12559
|
+
//
|
|
12560
|
+
//
|
|
12561
|
+
//
|
|
12562
|
+
//
|
|
12563
|
+
//
|
|
12564
|
+
//
|
|
12565
|
+
//
|
|
12566
|
+
//
|
|
12567
|
+
//
|
|
12568
|
+
|
|
12569
|
+
|
|
12570
|
+
const validator = number => number !== '' && !Number.isNaN(Number(number));
|
|
12571
|
+
|
|
12572
|
+
/* harmony default export */ var skeleton_paragraphvue_type_script_lang_js_ = ({
|
|
12573
|
+
name: 'DtSkeletonParagraph',
|
|
12574
|
+
components: {
|
|
12575
|
+
DtSkeletonText: skeleton_text
|
|
12576
|
+
},
|
|
12577
|
+
props: {
|
|
12578
|
+
rows: {
|
|
12579
|
+
type: [Number, String],
|
|
12580
|
+
default: 3,
|
|
12581
|
+
validator
|
|
12582
|
+
},
|
|
12583
|
+
animate: {
|
|
12584
|
+
type: Boolean,
|
|
12585
|
+
default: true
|
|
12586
|
+
},
|
|
12587
|
+
minWidth: {
|
|
12588
|
+
type: [Number, String],
|
|
12589
|
+
default: 30,
|
|
12590
|
+
validator
|
|
12591
|
+
},
|
|
12592
|
+
maxWidth: {
|
|
12593
|
+
type: [Number, String],
|
|
12594
|
+
default: 100,
|
|
12595
|
+
validator
|
|
12596
|
+
},
|
|
12597
|
+
width: {
|
|
12598
|
+
type: [String, Array],
|
|
12599
|
+
default: null
|
|
12600
|
+
},
|
|
12601
|
+
randomWidth: {
|
|
12602
|
+
type: Boolean,
|
|
12603
|
+
default: false
|
|
12604
|
+
},
|
|
12605
|
+
offset: {
|
|
12606
|
+
type: Number,
|
|
12607
|
+
default: 1
|
|
12608
|
+
},
|
|
12609
|
+
animationDuration: {
|
|
12610
|
+
type: Number,
|
|
12611
|
+
default: -1
|
|
12612
|
+
},
|
|
12613
|
+
contentClass: {
|
|
12614
|
+
type: String,
|
|
12615
|
+
default: ''
|
|
12616
|
+
},
|
|
12617
|
+
rowClass: {
|
|
12618
|
+
type: String,
|
|
12619
|
+
default: ''
|
|
12620
|
+
}
|
|
12621
|
+
},
|
|
12622
|
+
computed: {
|
|
12623
|
+
integerRows() {
|
|
12624
|
+
return Number(this.rows);
|
|
12625
|
+
}
|
|
12626
|
+
|
|
12627
|
+
},
|
|
12628
|
+
methods: {
|
|
12629
|
+
randomWidthPercentage() {
|
|
12630
|
+
const min = Math.min(this.minWidth, this.maxWidth);
|
|
12631
|
+
const max = Math.max(this.minWidth, this.maxWidth);
|
|
12632
|
+
return `${Math.round(Math.random() * (max - min)) + min}%`;
|
|
12633
|
+
},
|
|
12634
|
+
|
|
12635
|
+
getSizeParagraphRow(row) {
|
|
12636
|
+
const paragraphWidth = this.width;
|
|
12637
|
+
const isArrayWidth = Array.isArray(paragraphWidth);
|
|
12638
|
+
const currentWidth = paragraphWidth === null || paragraphWidth === void 0 ? void 0 : paragraphWidth[row - 1];
|
|
12639
|
+
const isLastRow = row === this.rows;
|
|
12640
|
+
|
|
12641
|
+
if (this.randomWidth) {
|
|
12642
|
+
return this.randomWidthPercentage();
|
|
12643
|
+
}
|
|
12644
|
+
|
|
12645
|
+
if (paragraphWidth && !isArrayWidth) {
|
|
12646
|
+
return paragraphWidth;
|
|
12647
|
+
}
|
|
12648
|
+
|
|
12649
|
+
if (paragraphWidth && isArrayWidth && currentWidth) {
|
|
12650
|
+
return currentWidth;
|
|
12651
|
+
}
|
|
12652
|
+
|
|
12653
|
+
return isLastRow ? '38%' : '100%';
|
|
12654
|
+
}
|
|
12655
|
+
|
|
12656
|
+
}
|
|
12657
|
+
});
|
|
12658
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton-paragraph.vue?vue&type=script&lang=js&
|
|
12659
|
+
/* harmony default export */ var skeleton_skeleton_paragraphvue_type_script_lang_js_ = (skeleton_paragraphvue_type_script_lang_js_);
|
|
12660
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton-paragraph.vue
|
|
12661
|
+
|
|
12662
|
+
|
|
12663
|
+
|
|
12664
|
+
|
|
12665
|
+
|
|
12666
|
+
/* normalize component */
|
|
12667
|
+
|
|
12668
|
+
var skeleton_paragraph_component = normalizeComponent(
|
|
12669
|
+
skeleton_skeleton_paragraphvue_type_script_lang_js_,
|
|
12670
|
+
skeleton_paragraphvue_type_template_id_df721706_render,
|
|
12671
|
+
skeleton_paragraphvue_type_template_id_df721706_staticRenderFns,
|
|
12672
|
+
false,
|
|
12673
|
+
null,
|
|
12674
|
+
null,
|
|
12675
|
+
null
|
|
12676
|
+
|
|
12677
|
+
)
|
|
12678
|
+
|
|
12679
|
+
/* harmony default export */ var skeleton_paragraph = (skeleton_paragraph_component.exports);
|
|
12680
|
+
// 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/skeleton/skeleton-list-item.vue?vue&type=script&lang=js&
|
|
12681
|
+
//
|
|
12682
|
+
//
|
|
12683
|
+
//
|
|
12684
|
+
//
|
|
12685
|
+
//
|
|
12686
|
+
//
|
|
12687
|
+
//
|
|
12688
|
+
//
|
|
12689
|
+
//
|
|
12690
|
+
//
|
|
12691
|
+
//
|
|
12692
|
+
//
|
|
12693
|
+
//
|
|
12694
|
+
//
|
|
12695
|
+
//
|
|
12696
|
+
//
|
|
12697
|
+
//
|
|
12698
|
+
//
|
|
12699
|
+
//
|
|
12700
|
+
//
|
|
12701
|
+
//
|
|
12702
|
+
//
|
|
12703
|
+
//
|
|
12704
|
+
//
|
|
12705
|
+
//
|
|
12706
|
+
//
|
|
12707
|
+
//
|
|
12708
|
+
//
|
|
12709
|
+
//
|
|
12710
|
+
//
|
|
12711
|
+
//
|
|
12712
|
+
|
|
12713
|
+
|
|
12714
|
+
|
|
12715
|
+
/* harmony default export */ var skeleton_list_itemvue_type_script_lang_js_ = ({
|
|
12716
|
+
name: 'DtSkeletonListItem',
|
|
12717
|
+
components: {
|
|
12718
|
+
DtSkeletonShape: skeleton_shape,
|
|
12719
|
+
DtSkeletonParagraph: skeleton_paragraph
|
|
12720
|
+
},
|
|
12721
|
+
props: {
|
|
12722
|
+
shape: {
|
|
12723
|
+
type: String,
|
|
12724
|
+
default: 'circle',
|
|
12725
|
+
validator: shape => Object.keys(SKELETON_SHAPES).includes(shape)
|
|
12726
|
+
},
|
|
12727
|
+
shapeSize: {
|
|
12728
|
+
type: String,
|
|
12729
|
+
default: 'md'
|
|
12730
|
+
},
|
|
12731
|
+
paragraphs: {
|
|
12732
|
+
type: Object,
|
|
12733
|
+
default: () => ({
|
|
12734
|
+
rows: 3,
|
|
12735
|
+
randomWidth: true
|
|
12736
|
+
})
|
|
12737
|
+
},
|
|
12738
|
+
animationDuration: {
|
|
12739
|
+
type: Number,
|
|
12740
|
+
default: -1
|
|
12741
|
+
},
|
|
12742
|
+
animate: {
|
|
12743
|
+
type: Boolean,
|
|
12744
|
+
default: true
|
|
12745
|
+
},
|
|
12746
|
+
offset: {
|
|
12747
|
+
type: Number,
|
|
12748
|
+
default: 1
|
|
12749
|
+
},
|
|
12750
|
+
shapeClass: {
|
|
12751
|
+
type: String,
|
|
12752
|
+
default: ''
|
|
12753
|
+
},
|
|
12754
|
+
contentClass: {
|
|
12755
|
+
type: String,
|
|
12756
|
+
default: ''
|
|
12757
|
+
}
|
|
12758
|
+
}
|
|
12759
|
+
});
|
|
12760
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton-list-item.vue?vue&type=script&lang=js&
|
|
12761
|
+
/* harmony default export */ var skeleton_skeleton_list_itemvue_type_script_lang_js_ = (skeleton_list_itemvue_type_script_lang_js_);
|
|
12762
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton-list-item.vue
|
|
12763
|
+
|
|
12764
|
+
|
|
12765
|
+
|
|
12766
|
+
|
|
12767
|
+
|
|
12768
|
+
/* normalize component */
|
|
12769
|
+
|
|
12770
|
+
var skeleton_list_item_component = normalizeComponent(
|
|
12771
|
+
skeleton_skeleton_list_itemvue_type_script_lang_js_,
|
|
12772
|
+
skeleton_list_itemvue_type_template_id_550b8bfc_render,
|
|
12773
|
+
skeleton_list_itemvue_type_template_id_550b8bfc_staticRenderFns,
|
|
12774
|
+
false,
|
|
12775
|
+
null,
|
|
12776
|
+
null,
|
|
12777
|
+
null
|
|
12778
|
+
|
|
12779
|
+
)
|
|
12780
|
+
|
|
12781
|
+
/* harmony default export */ var skeleton_list_item = (skeleton_list_item_component.exports);
|
|
12782
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-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/skeleton/skeleton-text.vue?vue&type=template&id=9c94b6be&
|
|
12783
|
+
var skeleton_textvue_type_template_id_9c94b6be_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.type === 'body')?_c('div',{ref:"skeleton",class:[
|
|
12784
|
+
'd-h8',
|
|
12785
|
+
'd-bar2',
|
|
12786
|
+
'skeleton-placeholder',
|
|
12787
|
+
{
|
|
12788
|
+
'skeleton-placeholder--animate': _vm.animate,
|
|
12789
|
+
},
|
|
12790
|
+
_vm.contentClass ],style:(Object.assign({}, {width: _vm.width},
|
|
12791
|
+
_vm.skeletonStyle)),attrs:{"data-qa":"skeleton-text-body"}}):(_vm.type === 'heading')?_c('div',{ref:"skeleton",class:[
|
|
12792
|
+
_vm.SKELETON_HEADING_HEIGHTS[_vm.headingHeight],
|
|
12793
|
+
'd-bar2',
|
|
12794
|
+
'skeleton-placeholder',
|
|
12795
|
+
{
|
|
12796
|
+
'skeleton-placeholder--animate': _vm.animate,
|
|
12797
|
+
},
|
|
12798
|
+
_vm.contentClass ],style:(Object.assign({}, {width: _vm.width},
|
|
12799
|
+
_vm.skeletonStyle)),attrs:{"data-qa":"skeleton-text-heading"}}):_vm._e()}
|
|
12800
|
+
var skeleton_textvue_type_template_id_9c94b6be_staticRenderFns = []
|
|
12801
|
+
|
|
12802
|
+
|
|
12803
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton-text.vue?vue&type=template&id=9c94b6be&
|
|
12804
|
+
|
|
12805
|
+
// 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/skeleton/skeleton-text.vue?vue&type=script&lang=js&
|
|
12806
|
+
//
|
|
12807
|
+
//
|
|
12808
|
+
//
|
|
12809
|
+
//
|
|
12810
|
+
//
|
|
12811
|
+
//
|
|
12812
|
+
//
|
|
12813
|
+
//
|
|
12814
|
+
//
|
|
12815
|
+
//
|
|
12816
|
+
//
|
|
12817
|
+
//
|
|
12818
|
+
//
|
|
12819
|
+
//
|
|
12820
|
+
//
|
|
12821
|
+
//
|
|
12822
|
+
//
|
|
12823
|
+
//
|
|
12824
|
+
//
|
|
12825
|
+
//
|
|
12826
|
+
//
|
|
12827
|
+
//
|
|
12828
|
+
//
|
|
12829
|
+
//
|
|
12830
|
+
//
|
|
12831
|
+
//
|
|
12832
|
+
//
|
|
12833
|
+
//
|
|
12834
|
+
//
|
|
12835
|
+
//
|
|
12836
|
+
//
|
|
12837
|
+
//
|
|
12838
|
+
//
|
|
12839
|
+
//
|
|
12840
|
+
//
|
|
12841
|
+
//
|
|
12842
|
+
//
|
|
12843
|
+
//
|
|
12844
|
+
//
|
|
12845
|
+
|
|
12846
|
+
|
|
12847
|
+
/* harmony default export */ var skeleton_textvue_type_script_lang_js_ = ({
|
|
12848
|
+
name: 'DtSkeletonText',
|
|
12849
|
+
mixins: [skeleton],
|
|
12850
|
+
props: {
|
|
12851
|
+
type: {
|
|
12852
|
+
type: String,
|
|
12853
|
+
default: 'body',
|
|
12854
|
+
validator: type => SKELETON_TEXT_TYPES.includes(type)
|
|
12855
|
+
},
|
|
12856
|
+
headingHeight: {
|
|
12857
|
+
type: String,
|
|
12858
|
+
default: 'md',
|
|
12859
|
+
validator: headingHeight => Object.keys(SKELETON_HEADING_HEIGHTS).includes(headingHeight)
|
|
12860
|
+
},
|
|
12861
|
+
width: {
|
|
12862
|
+
type: String,
|
|
12863
|
+
default: '100%'
|
|
12864
|
+
},
|
|
12865
|
+
animationDuration: {
|
|
12866
|
+
type: Number,
|
|
12867
|
+
default: -1
|
|
12868
|
+
},
|
|
12869
|
+
animate: {
|
|
12870
|
+
type: Boolean,
|
|
12871
|
+
default: false
|
|
12872
|
+
},
|
|
12873
|
+
offset: {
|
|
12874
|
+
type: Number,
|
|
12875
|
+
default: 1
|
|
12876
|
+
},
|
|
12877
|
+
contentClass: {
|
|
12878
|
+
type: String,
|
|
12879
|
+
default: ''
|
|
12880
|
+
}
|
|
12881
|
+
},
|
|
12882
|
+
|
|
12883
|
+
data() {
|
|
12884
|
+
return {
|
|
12885
|
+
SKELETON_HEADING_HEIGHTS: SKELETON_HEADING_HEIGHTS
|
|
12886
|
+
};
|
|
12887
|
+
}
|
|
12888
|
+
|
|
12889
|
+
});
|
|
12890
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton-text.vue?vue&type=script&lang=js&
|
|
12891
|
+
/* harmony default export */ var skeleton_skeleton_textvue_type_script_lang_js_ = (skeleton_textvue_type_script_lang_js_);
|
|
12892
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton-text.vue
|
|
12893
|
+
|
|
12894
|
+
|
|
12895
|
+
|
|
12896
|
+
|
|
12897
|
+
|
|
12898
|
+
/* normalize component */
|
|
12899
|
+
|
|
12900
|
+
var skeleton_text_component = normalizeComponent(
|
|
12901
|
+
skeleton_skeleton_textvue_type_script_lang_js_,
|
|
12902
|
+
skeleton_textvue_type_template_id_9c94b6be_render,
|
|
12903
|
+
skeleton_textvue_type_template_id_9c94b6be_staticRenderFns,
|
|
12904
|
+
false,
|
|
12905
|
+
null,
|
|
12906
|
+
null,
|
|
12907
|
+
null
|
|
12908
|
+
|
|
12909
|
+
)
|
|
12910
|
+
|
|
12911
|
+
/* harmony default export */ var skeleton_text = (skeleton_text_component.exports);
|
|
12912
|
+
// 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/skeleton/skeleton.vue?vue&type=script&lang=js&
|
|
12913
|
+
//
|
|
12914
|
+
//
|
|
12915
|
+
//
|
|
12916
|
+
//
|
|
12917
|
+
//
|
|
12918
|
+
//
|
|
12919
|
+
//
|
|
12920
|
+
//
|
|
12921
|
+
//
|
|
12922
|
+
//
|
|
12923
|
+
//
|
|
12924
|
+
//
|
|
12925
|
+
//
|
|
12926
|
+
//
|
|
12927
|
+
//
|
|
12928
|
+
//
|
|
12929
|
+
//
|
|
12930
|
+
//
|
|
12931
|
+
//
|
|
12932
|
+
//
|
|
12933
|
+
//
|
|
12934
|
+
//
|
|
12935
|
+
//
|
|
12936
|
+
//
|
|
12937
|
+
//
|
|
12938
|
+
//
|
|
12939
|
+
//
|
|
12940
|
+
//
|
|
12941
|
+
//
|
|
12942
|
+
//
|
|
12943
|
+
//
|
|
12944
|
+
//
|
|
12945
|
+
//
|
|
12946
|
+
//
|
|
12947
|
+
//
|
|
12948
|
+
//
|
|
12949
|
+
//
|
|
12950
|
+
|
|
12951
|
+
|
|
12952
|
+
|
|
12953
|
+
|
|
12954
|
+
/* harmony default export */ var skeletonvue_type_script_lang_js_ = ({
|
|
12955
|
+
name: 'DtSkeleton',
|
|
12956
|
+
components: {
|
|
12957
|
+
DtSkeletonText: skeleton_text,
|
|
12958
|
+
DtSkeletonShape: skeleton_shape,
|
|
12959
|
+
DtSkeletonListItem: skeleton_list_item,
|
|
12960
|
+
DtSkeletonParagraph: skeleton_paragraph
|
|
12961
|
+
},
|
|
12962
|
+
props: {
|
|
12963
|
+
paragraphOption: {
|
|
12964
|
+
type: [Object, Boolean],
|
|
12965
|
+
default: null
|
|
12966
|
+
},
|
|
12967
|
+
listItemOption: {
|
|
12968
|
+
type: [Object, Boolean],
|
|
12969
|
+
default: null
|
|
12970
|
+
},
|
|
12971
|
+
textOption: {
|
|
12972
|
+
type: Object,
|
|
12973
|
+
default: null
|
|
12974
|
+
},
|
|
12975
|
+
shapeOption: {
|
|
12976
|
+
type: [Object, Boolean],
|
|
12977
|
+
default: null
|
|
12978
|
+
},
|
|
12979
|
+
animationDuration: {
|
|
12980
|
+
type: Number,
|
|
12981
|
+
default: -1
|
|
12982
|
+
},
|
|
12983
|
+
ariaLabel: {
|
|
12984
|
+
type: String,
|
|
12985
|
+
default: ''
|
|
12986
|
+
},
|
|
12987
|
+
animate: {
|
|
12988
|
+
type: Boolean,
|
|
12989
|
+
default: true
|
|
12990
|
+
},
|
|
12991
|
+
offset: {
|
|
12992
|
+
type: Number,
|
|
12993
|
+
default: 1
|
|
12994
|
+
}
|
|
12995
|
+
},
|
|
12996
|
+
computed: {
|
|
12997
|
+
validationOptions() {
|
|
12998
|
+
return {
|
|
12999
|
+
paragraphOption: this.paragraphOption,
|
|
13000
|
+
listItemOption: this.listItemOption,
|
|
13001
|
+
textOption: this.textOption,
|
|
13002
|
+
shapeOption: this.shapeOption
|
|
13003
|
+
};
|
|
13004
|
+
}
|
|
13005
|
+
|
|
13006
|
+
},
|
|
13007
|
+
watch: {
|
|
13008
|
+
$props: {
|
|
13009
|
+
immediate: true,
|
|
13010
|
+
handler: 'validator'
|
|
13011
|
+
}
|
|
13012
|
+
},
|
|
13013
|
+
methods: {
|
|
13014
|
+
validator() {
|
|
13015
|
+
const filtered = Object.entries(this.validationOptions).filter(([_, option]) => option);
|
|
13016
|
+
|
|
13017
|
+
if (filtered.length >= 2) {
|
|
13018
|
+
const errorMessage = `Use only one of ${filtered.map(([key]) => key).join(' | ')} options at the same time`;
|
|
13019
|
+
console.error(errorMessage);
|
|
13020
|
+
}
|
|
13021
|
+
}
|
|
13022
|
+
|
|
13023
|
+
}
|
|
13024
|
+
});
|
|
13025
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton.vue?vue&type=script&lang=js&
|
|
13026
|
+
/* harmony default export */ var skeleton_skeletonvue_type_script_lang_js_ = (skeletonvue_type_script_lang_js_);
|
|
13027
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton.vue
|
|
13028
|
+
|
|
13029
|
+
|
|
13030
|
+
|
|
13031
|
+
|
|
13032
|
+
|
|
13033
|
+
/* normalize component */
|
|
13034
|
+
|
|
13035
|
+
var skeleton_component = normalizeComponent(
|
|
13036
|
+
skeleton_skeletonvue_type_script_lang_js_,
|
|
13037
|
+
skeletonvue_type_template_id_22b9be50_render,
|
|
13038
|
+
skeletonvue_type_template_id_22b9be50_staticRenderFns,
|
|
13039
|
+
false,
|
|
13040
|
+
null,
|
|
13041
|
+
null,
|
|
13042
|
+
null
|
|
13043
|
+
|
|
13044
|
+
)
|
|
13045
|
+
|
|
13046
|
+
/* harmony default export */ var skeleton_skeleton = (skeleton_component.exports);
|
|
13047
|
+
// CONCATENATED MODULE: ./components/skeleton/index.js
|
|
13048
|
+
|
|
13049
|
+
|
|
13050
|
+
|
|
13051
|
+
|
|
13052
|
+
|
|
13053
|
+
|
|
13054
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-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/keyboard_shortcut/keyboard_shortcut.vue?vue&type=template&id=42a36d1f&
|
|
13055
|
+
var keyboard_shortcutvue_type_template_id_42a36d1f_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('kbd',{class:[
|
|
13056
|
+
'd-d-inline-flex',
|
|
13057
|
+
'd-ff-custom',
|
|
13058
|
+
'd-ai-center',
|
|
13059
|
+
'd-jc-center',
|
|
13060
|
+
'd-box-border',
|
|
13061
|
+
'd-pl6',
|
|
13062
|
+
'd-pr4',
|
|
13063
|
+
'd-ba',
|
|
13064
|
+
'd-bar4',
|
|
13065
|
+
'd-fs12',
|
|
13066
|
+
_vm.inverted ? 'd-bc-black-400' : 'd-bc-black-100' ]},[(_vm.screenReaderText)?_c('span',{staticClass:"sr-only"},[_vm._v(" "+_vm._s(_vm.screenReaderText)+" ")]):_vm._e(),_vm._l((_vm.formattedShortcutSplit),function(item,i){return [(_vm.icons[item])?_c(_vm.icons[item],{key:(i + "-" + item),tag:"component",class:[
|
|
13067
|
+
'dt-keyboard-shortcut__svg',
|
|
13068
|
+
_vm.inverted ? 'd-fc-black-075' : 'd-fc-black-500',
|
|
13069
|
+
'd-mr2' ],attrs:{"aria-hidden":"true"}}):_c('span',{key:(i + "-" + item),class:[
|
|
13070
|
+
_vm.inverted ? 'd-fc-black-075' : 'd-fc-black-500',
|
|
13071
|
+
'd-mr2' ],attrs:{"aria-hidden":"true"},domProps:{"innerHTML":_vm._s(item)}})]})],2)}
|
|
13072
|
+
var keyboard_shortcutvue_type_template_id_42a36d1f_staticRenderFns = []
|
|
13073
|
+
|
|
13074
|
+
|
|
13075
|
+
// CONCATENATED MODULE: ./components/keyboard_shortcut/keyboard_shortcut.vue?vue&type=template&id=42a36d1f&
|
|
13076
|
+
|
|
13077
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-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/IconWindows.vue?vue&type=template&id=799d0e52&
|
|
13078
|
+
var IconWindowsvue_type_template_id_799d0e52_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__windows",attrs:{"aria-hidden":"true","aria-label":"Windows","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"d":"M19.903 12.819v7.532L10.936 19v-6.197l8.967.016zM10.936 5.334l8.967-1.249V11.5h-8.967V5.334zM9.745 12.757v6.134l-6.643-.885v-5.28l6.643.03zM3.097 6.328l6.647-.885v6.134H3.1l-.003-5.25z","fill":"#0D0C0F"}})])}
|
|
13079
|
+
var IconWindowsvue_type_template_id_799d0e52_staticRenderFns = []
|
|
13080
|
+
|
|
13081
|
+
|
|
13082
|
+
// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconWindows.vue?vue&type=template&id=799d0e52&
|
|
13083
|
+
|
|
13084
|
+
// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconWindows.vue
|
|
13085
|
+
|
|
13086
|
+
var IconWindows_script = {}
|
|
13087
|
+
|
|
13088
|
+
|
|
13089
|
+
/* normalize component */
|
|
13090
|
+
|
|
13091
|
+
var IconWindows_component = normalizeComponent(
|
|
13092
|
+
IconWindows_script,
|
|
13093
|
+
IconWindowsvue_type_template_id_799d0e52_render,
|
|
13094
|
+
IconWindowsvue_type_template_id_799d0e52_staticRenderFns,
|
|
13095
|
+
false,
|
|
13096
|
+
null,
|
|
13097
|
+
null,
|
|
13098
|
+
null
|
|
13099
|
+
|
|
13100
|
+
)
|
|
13101
|
+
|
|
13102
|
+
/* harmony default export */ var IconWindows = (IconWindows_component.exports);
|
|
13103
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-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/IconAdd.vue?vue&type=template&id=37aa578e&
|
|
13104
|
+
var IconAddvue_type_template_id_37aa578e_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__add",attrs:{"aria-hidden":"true","aria-label":"Add","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"d":"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}})])}
|
|
13105
|
+
var IconAddvue_type_template_id_37aa578e_staticRenderFns = []
|
|
13106
|
+
|
|
13107
|
+
|
|
13108
|
+
// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconAdd.vue?vue&type=template&id=37aa578e&
|
|
13109
|
+
|
|
13110
|
+
// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconAdd.vue
|
|
13111
|
+
|
|
13112
|
+
var IconAdd_script = {}
|
|
13113
|
+
|
|
13114
|
+
|
|
13115
|
+
/* normalize component */
|
|
13116
|
+
|
|
13117
|
+
var IconAdd_component = normalizeComponent(
|
|
13118
|
+
IconAdd_script,
|
|
13119
|
+
IconAddvue_type_template_id_37aa578e_render,
|
|
13120
|
+
IconAddvue_type_template_id_37aa578e_staticRenderFns,
|
|
13121
|
+
false,
|
|
13122
|
+
null,
|
|
13123
|
+
null,
|
|
13124
|
+
null
|
|
13125
|
+
|
|
13126
|
+
)
|
|
13127
|
+
|
|
13128
|
+
/* harmony default export */ var IconAdd = (IconAdd_component.exports);
|
|
13129
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-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/IconArrowDownward.vue?vue&type=template&id=3615192c&
|
|
13130
|
+
var IconArrowDownwardvue_type_template_id_3615192c_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__arrowDownward",attrs:{"aria-hidden":"true","aria-label":"Arrow Downward","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"d":"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}})])}
|
|
13131
|
+
var IconArrowDownwardvue_type_template_id_3615192c_staticRenderFns = []
|
|
13132
|
+
|
|
13133
|
+
|
|
13134
|
+
// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconArrowDownward.vue?vue&type=template&id=3615192c&
|
|
13135
|
+
|
|
13136
|
+
// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconArrowDownward.vue
|
|
13137
|
+
|
|
13138
|
+
var IconArrowDownward_script = {}
|
|
13139
|
+
|
|
13140
|
+
|
|
13141
|
+
/* normalize component */
|
|
13142
|
+
|
|
13143
|
+
var IconArrowDownward_component = normalizeComponent(
|
|
13144
|
+
IconArrowDownward_script,
|
|
13145
|
+
IconArrowDownwardvue_type_template_id_3615192c_render,
|
|
13146
|
+
IconArrowDownwardvue_type_template_id_3615192c_staticRenderFns,
|
|
13147
|
+
false,
|
|
13148
|
+
null,
|
|
13149
|
+
null,
|
|
13150
|
+
null
|
|
13151
|
+
|
|
13152
|
+
)
|
|
13153
|
+
|
|
13154
|
+
/* harmony default export */ var IconArrowDownward = (IconArrowDownward_component.exports);
|
|
13155
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-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/IconArrowUpward.vue?vue&type=template&id=10122176&
|
|
13156
|
+
var IconArrowUpwardvue_type_template_id_10122176_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__arrowUpward",attrs:{"aria-hidden":"true","aria-label":"Arrow Upward","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"d":"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"}})])}
|
|
13157
|
+
var IconArrowUpwardvue_type_template_id_10122176_staticRenderFns = []
|
|
13158
|
+
|
|
13159
|
+
|
|
13160
|
+
// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconArrowUpward.vue?vue&type=template&id=10122176&
|
|
13161
|
+
|
|
13162
|
+
// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconArrowUpward.vue
|
|
13163
|
+
|
|
13164
|
+
var IconArrowUpward_script = {}
|
|
13165
|
+
|
|
13166
|
+
|
|
13167
|
+
/* normalize component */
|
|
13168
|
+
|
|
13169
|
+
var IconArrowUpward_component = normalizeComponent(
|
|
13170
|
+
IconArrowUpward_script,
|
|
13171
|
+
IconArrowUpwardvue_type_template_id_10122176_render,
|
|
13172
|
+
IconArrowUpwardvue_type_template_id_10122176_staticRenderFns,
|
|
13173
|
+
false,
|
|
13174
|
+
null,
|
|
13175
|
+
null,
|
|
13176
|
+
null
|
|
13177
|
+
|
|
13178
|
+
)
|
|
13179
|
+
|
|
13180
|
+
/* harmony default export */ var IconArrowUpward = (IconArrowUpward_component.exports);
|
|
13181
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-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/IconArrowForward.vue?vue&type=template&id=24d9c0d4&
|
|
13182
|
+
var IconArrowForwardvue_type_template_id_24d9c0d4_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__arrowForward",attrs:{"aria-hidden":"true","aria-label":"Arrow Forward","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"d":"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"}})])}
|
|
13183
|
+
var IconArrowForwardvue_type_template_id_24d9c0d4_staticRenderFns = []
|
|
13184
|
+
|
|
13185
|
+
|
|
13186
|
+
// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconArrowForward.vue?vue&type=template&id=24d9c0d4&
|
|
13187
|
+
|
|
13188
|
+
// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconArrowForward.vue
|
|
13189
|
+
|
|
13190
|
+
var IconArrowForward_script = {}
|
|
13191
|
+
|
|
13192
|
+
|
|
13193
|
+
/* normalize component */
|
|
13194
|
+
|
|
13195
|
+
var IconArrowForward_component = normalizeComponent(
|
|
13196
|
+
IconArrowForward_script,
|
|
13197
|
+
IconArrowForwardvue_type_template_id_24d9c0d4_render,
|
|
13198
|
+
IconArrowForwardvue_type_template_id_24d9c0d4_staticRenderFns,
|
|
13199
|
+
false,
|
|
13200
|
+
null,
|
|
13201
|
+
null,
|
|
13202
|
+
null
|
|
13203
|
+
|
|
13204
|
+
)
|
|
13205
|
+
|
|
13206
|
+
/* harmony default export */ var IconArrowForward = (IconArrowForward_component.exports);
|
|
13207
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"274d57be-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/IconArrowBackwards.vue?vue&type=template&id=422cf4b0&
|
|
13208
|
+
var IconArrowBackwardsvue_type_template_id_422cf4b0_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__arrowBackwards",attrs:{"aria-hidden":"true","aria-label":"Arrow Backwards","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"d":"M12 20l1.41-1.41L7.83 13H20v-2H7.83l5.58-5.59L12 4l-8 8 8 8z"}})])}
|
|
13209
|
+
var IconArrowBackwardsvue_type_template_id_422cf4b0_staticRenderFns = []
|
|
13210
|
+
|
|
13211
|
+
|
|
13212
|
+
// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconArrowBackwards.vue?vue&type=template&id=422cf4b0&
|
|
13213
|
+
|
|
13214
|
+
// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconArrowBackwards.vue
|
|
13215
|
+
|
|
13216
|
+
var IconArrowBackwards_script = {}
|
|
13217
|
+
|
|
13218
|
+
|
|
13219
|
+
/* normalize component */
|
|
13220
|
+
|
|
13221
|
+
var IconArrowBackwards_component = normalizeComponent(
|
|
13222
|
+
IconArrowBackwards_script,
|
|
13223
|
+
IconArrowBackwardsvue_type_template_id_422cf4b0_render,
|
|
13224
|
+
IconArrowBackwardsvue_type_template_id_422cf4b0_staticRenderFns,
|
|
13225
|
+
false,
|
|
13226
|
+
null,
|
|
13227
|
+
null,
|
|
13228
|
+
null
|
|
13229
|
+
|
|
13230
|
+
)
|
|
13231
|
+
|
|
13232
|
+
/* harmony default export */ var IconArrowBackwards = (IconArrowBackwards_component.exports);
|
|
13233
|
+
// CONCATENATED MODULE: ./components/keyboard_shortcut/keyboard_shortcut_constants.js
|
|
13234
|
+
const SHORTCUTS_ALIASES = {
|
|
13235
|
+
cmd: '⌘' // ⌘ Command
|
|
13236
|
+
|
|
13237
|
+
};
|
|
13238
|
+
const SHORTCUTS_ICON_ALIASES = {
|
|
13239
|
+
'{win}': 'IconWindows',
|
|
13240
|
+
'{arrow-right}': 'IconArrowForward',
|
|
13241
|
+
'{arrow-left}': 'IconArrowBackward',
|
|
13242
|
+
'{arrow-up}': 'IconArrowUpward',
|
|
13243
|
+
'{arrow-down}': 'IconArrowDownward'
|
|
13244
|
+
};
|
|
13245
|
+
const SHORTCUTS_ICON_SEPARATOR = {
|
|
13246
|
+
'{plus}': 'IconAdd'
|
|
13247
|
+
};
|
|
13248
|
+
const SHORTCUTS_ALIASES_LIST = Object.keys(SHORTCUTS_ALIASES).map(key => `{${key}}`).concat(Object.keys(SHORTCUTS_ICON_ALIASES));
|
|
13249
|
+
// 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/keyboard_shortcut/keyboard_shortcut.vue?vue&type=script&lang=js&
|
|
13250
|
+
//
|
|
13251
|
+
//
|
|
13252
|
+
//
|
|
13253
|
+
//
|
|
13254
|
+
//
|
|
13255
|
+
//
|
|
13256
|
+
//
|
|
13257
|
+
//
|
|
13258
|
+
//
|
|
13259
|
+
//
|
|
13260
|
+
//
|
|
13261
|
+
//
|
|
13262
|
+
//
|
|
13263
|
+
//
|
|
13264
|
+
//
|
|
13265
|
+
//
|
|
13266
|
+
//
|
|
13267
|
+
//
|
|
13268
|
+
//
|
|
13269
|
+
//
|
|
13270
|
+
//
|
|
13271
|
+
//
|
|
13272
|
+
//
|
|
13273
|
+
//
|
|
13274
|
+
//
|
|
13275
|
+
//
|
|
13276
|
+
//
|
|
13277
|
+
//
|
|
13278
|
+
//
|
|
13279
|
+
//
|
|
13280
|
+
//
|
|
13281
|
+
//
|
|
13282
|
+
//
|
|
13283
|
+
//
|
|
13284
|
+
//
|
|
13285
|
+
//
|
|
13286
|
+
//
|
|
13287
|
+
//
|
|
13288
|
+
//
|
|
13289
|
+
//
|
|
13290
|
+
//
|
|
13291
|
+
//
|
|
13292
|
+
//
|
|
13293
|
+
//
|
|
13294
|
+
//
|
|
13295
|
+
//
|
|
13296
|
+
//
|
|
13297
|
+
//
|
|
13298
|
+
//
|
|
13299
|
+
//
|
|
13300
|
+
//
|
|
13301
|
+
|
|
13302
|
+
|
|
13303
|
+
|
|
13304
|
+
|
|
13305
|
+
|
|
13306
|
+
|
|
13307
|
+
|
|
13308
|
+
/* harmony default export */ var keyboard_shortcutvue_type_script_lang_js_ = ({
|
|
13309
|
+
name: 'DtKeyboardShortcut',
|
|
13310
|
+
components: {
|
|
13311
|
+
IconWindows: IconWindows,
|
|
13312
|
+
IconArrowBackward: IconArrowBackwards,
|
|
13313
|
+
IconArrowDownward: IconArrowDownward,
|
|
13314
|
+
IconArrowForward: IconArrowForward,
|
|
13315
|
+
IconArrowUpward: IconArrowUpward,
|
|
13316
|
+
IconAdd: IconAdd
|
|
13317
|
+
},
|
|
13318
|
+
props: {
|
|
13319
|
+
inverted: {
|
|
13320
|
+
type: Boolean,
|
|
13321
|
+
default: false
|
|
13322
|
+
},
|
|
13323
|
+
shortcut: {
|
|
13324
|
+
type: String,
|
|
13325
|
+
required: true
|
|
13326
|
+
},
|
|
13327
|
+
screenReaderText: {
|
|
13328
|
+
type: String,
|
|
13329
|
+
default: null
|
|
13330
|
+
}
|
|
13331
|
+
},
|
|
13332
|
+
|
|
13333
|
+
data() {
|
|
13334
|
+
return {
|
|
13335
|
+
SHORTCUTS_ICON_ALIASES: SHORTCUTS_ICON_ALIASES,
|
|
13336
|
+
separator: /\+/gi
|
|
13337
|
+
};
|
|
13338
|
+
},
|
|
13339
|
+
|
|
13340
|
+
computed: {
|
|
13341
|
+
icons() {
|
|
13342
|
+
return { ...SHORTCUTS_ICON_ALIASES,
|
|
13343
|
+
...SHORTCUTS_ICON_SEPARATOR
|
|
13344
|
+
};
|
|
13345
|
+
},
|
|
13346
|
+
|
|
13347
|
+
shortcutWithSeparator() {
|
|
13348
|
+
return this.shortcut.replace(this.separator, '{plus}');
|
|
13349
|
+
},
|
|
13350
|
+
|
|
13351
|
+
formattedShortcut() {
|
|
13352
|
+
return Object.keys(SHORTCUTS_ALIASES).reduce((result, key) => {
|
|
13353
|
+
return result.replace(new RegExp('{' + key + '}', 'gi'), SHORTCUTS_ALIASES[key]);
|
|
13354
|
+
}, this.shortcutWithSeparator);
|
|
13355
|
+
},
|
|
13356
|
+
|
|
13357
|
+
// Splits any icon based aliases into their own array items.
|
|
13358
|
+
formattedShortcutSplit() {
|
|
13359
|
+
const iconAliasString = Object.keys(this.icons).join('|');
|
|
13360
|
+
/*
|
|
13361
|
+
The regexp splits a given string with icon alias and is filtered by empty strings after:
|
|
13362
|
+
if {win} is our delimiter AKA shortcut icon alias
|
|
13363
|
+
'{win} + D K + {win}' returned value will be [{win}, ' ', '{plus}', ' D K ', '{plus}', ' ', {win}]
|
|
13364
|
+
*/
|
|
13365
|
+
|
|
13366
|
+
const regex = new RegExp(`(${iconAliasString})`, 'gi');
|
|
13367
|
+
return this.formattedShortcut.split(regex).filter(Boolean);
|
|
13368
|
+
}
|
|
13369
|
+
|
|
13370
|
+
}
|
|
13371
|
+
});
|
|
13372
|
+
// CONCATENATED MODULE: ./components/keyboard_shortcut/keyboard_shortcut.vue?vue&type=script&lang=js&
|
|
13373
|
+
/* harmony default export */ var keyboard_shortcut_keyboard_shortcutvue_type_script_lang_js_ = (keyboard_shortcutvue_type_script_lang_js_);
|
|
13374
|
+
// EXTERNAL MODULE: ./components/keyboard_shortcut/keyboard_shortcut.vue?vue&type=style&index=0&lang=less&
|
|
13375
|
+
var keyboard_shortcutvue_type_style_index_0_lang_less_ = __webpack_require__("4654");
|
|
13376
|
+
|
|
13377
|
+
// CONCATENATED MODULE: ./components/keyboard_shortcut/keyboard_shortcut.vue
|
|
13378
|
+
|
|
13379
|
+
|
|
13380
|
+
|
|
13381
|
+
|
|
13382
|
+
|
|
13383
|
+
|
|
13384
|
+
/* normalize component */
|
|
13385
|
+
|
|
13386
|
+
var keyboard_shortcut_component = normalizeComponent(
|
|
13387
|
+
keyboard_shortcut_keyboard_shortcutvue_type_script_lang_js_,
|
|
13388
|
+
keyboard_shortcutvue_type_template_id_42a36d1f_render,
|
|
13389
|
+
keyboard_shortcutvue_type_template_id_42a36d1f_staticRenderFns,
|
|
13390
|
+
false,
|
|
13391
|
+
null,
|
|
13392
|
+
null,
|
|
13393
|
+
null
|
|
13394
|
+
|
|
13395
|
+
)
|
|
13396
|
+
|
|
13397
|
+
/* harmony default export */ var keyboard_shortcut = (keyboard_shortcut_component.exports);
|
|
13398
|
+
// CONCATENATED MODULE: ./components/keyboard_shortcut/index.js
|
|
13399
|
+
|
|
13400
|
+
|
|
13401
|
+
// CONCATENATED MODULE: ./components/mixins/index.js
|
|
13402
|
+
|
|
13403
|
+
|
|
13404
|
+
// CONCATENATED MODULE: ./index.js
|
|
13405
|
+
// Components
|
|
13406
|
+
|
|
12136
13407
|
|
|
12137
13408
|
|
|
12138
|
-
// CONCATENATED MODULE: ./index.js
|
|
12139
|
-
// Components
|
|
12140
13409
|
|
|
12141
13410
|
|
|
12142
13411
|
|