@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
package/dist/dialtone-vue.umd.js
CHANGED
|
@@ -234,7 +234,7 @@ function toComment(sourceMap) {
|
|
|
234
234
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
235
235
|
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
236
236
|
// Module
|
|
237
|
-
exports.push([module.i, ".dt-popover__content--align-right{right:
|
|
237
|
+
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}", ""]);
|
|
238
238
|
// Exports
|
|
239
239
|
module.exports = exports;
|
|
240
240
|
|
|
@@ -253,6 +253,17 @@ exports.push([module.i, ".dt-list-item--focusable:focus,.dt-list-item--focusable
|
|
|
253
253
|
module.exports = exports;
|
|
254
254
|
|
|
255
255
|
|
|
256
|
+
/***/ }),
|
|
257
|
+
|
|
258
|
+
/***/ "4654":
|
|
259
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
260
|
+
|
|
261
|
+
"use strict";
|
|
262
|
+
/* 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");
|
|
263
|
+
/* 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__);
|
|
264
|
+
/* unused harmony reexport * */
|
|
265
|
+
|
|
266
|
+
|
|
256
267
|
/***/ }),
|
|
257
268
|
|
|
258
269
|
/***/ "499e":
|
|
@@ -615,6 +626,20 @@ if(content.locals) module.exports = content.locals;
|
|
|
615
626
|
var add = __webpack_require__("499e").default
|
|
616
627
|
var update = add("572d8ba2", content, true, {"sourceMap":false,"shadowMode":false});
|
|
617
628
|
|
|
629
|
+
/***/ }),
|
|
630
|
+
|
|
631
|
+
/***/ "9e97":
|
|
632
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
633
|
+
|
|
634
|
+
// Imports
|
|
635
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
636
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
637
|
+
// Module
|
|
638
|
+
exports.push([module.i, ".dt-keyboard-shortcut__svg{width:1em;height:1em}.dt-keyboard-shortcut__svg path{fill:currentColor}", ""]);
|
|
639
|
+
// Exports
|
|
640
|
+
module.exports = exports;
|
|
641
|
+
|
|
642
|
+
|
|
618
643
|
/***/ }),
|
|
619
644
|
|
|
620
645
|
/***/ "b8b3":
|
|
@@ -640,6 +665,22 @@ exports.push([module.i, ".tippy-box[data-popper-escaped] .d-tooltip,.tippy-box[d
|
|
|
640
665
|
module.exports = exports;
|
|
641
666
|
|
|
642
667
|
|
|
668
|
+
/***/ }),
|
|
669
|
+
|
|
670
|
+
/***/ "df60":
|
|
671
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
672
|
+
|
|
673
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
674
|
+
|
|
675
|
+
// load the styles
|
|
676
|
+
var content = __webpack_require__("9e97");
|
|
677
|
+
if(content.__esModule) content = content.default;
|
|
678
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
679
|
+
if(content.locals) module.exports = content.locals;
|
|
680
|
+
// add the styles to the DOM
|
|
681
|
+
var add = __webpack_require__("499e").default
|
|
682
|
+
var update = add("d2563328", content, true, {"sourceMap":false,"shadowMode":false});
|
|
683
|
+
|
|
643
684
|
/***/ }),
|
|
644
685
|
|
|
645
686
|
/***/ "e0bf":
|
|
@@ -673,6 +714,8 @@ __webpack_require__.d(__webpack_exports__, "DtBreadcrumbItem", function() { retu
|
|
|
673
714
|
__webpack_require__.d(__webpack_exports__, "BREADCRUMB_ITEM_SELECTED_MODIFIER", function() { return /* reexport */ BREADCRUMB_ITEM_SELECTED_MODIFIER; });
|
|
674
715
|
__webpack_require__.d(__webpack_exports__, "BREADCRUMBS_INVERTED_MODIFIER", function() { return /* reexport */ BREADCRUMBS_INVERTED_MODIFIER; });
|
|
675
716
|
__webpack_require__.d(__webpack_exports__, "DtButton", function() { return /* reexport */ button_button; });
|
|
717
|
+
__webpack_require__.d(__webpack_exports__, "DtButtonGroup", function() { return /* reexport */ button_group; });
|
|
718
|
+
__webpack_require__.d(__webpack_exports__, "BUTTON_GROUP_ALIGNMENT", function() { return /* reexport */ BUTTON_GROUP_ALIGNMENT; });
|
|
676
719
|
__webpack_require__.d(__webpack_exports__, "DtInput", function() { return /* reexport */ input_input; });
|
|
677
720
|
__webpack_require__.d(__webpack_exports__, "INPUT_TYPES", function() { return /* reexport */ INPUT_TYPES; });
|
|
678
721
|
__webpack_require__.d(__webpack_exports__, "INPUT_SIZES", function() { return /* reexport */ INPUT_SIZES; });
|
|
@@ -717,6 +760,21 @@ __webpack_require__.d(__webpack_exports__, "TOOLTIP_TIPPY_DIRECTIONS", function(
|
|
|
717
760
|
__webpack_require__.d(__webpack_exports__, "TOOLTIP_DIALTONE_DIRECTIONS", function() { return /* reexport */ TOOLTIP_DIALTONE_DIRECTIONS; });
|
|
718
761
|
__webpack_require__.d(__webpack_exports__, "TOOLTIP_KIND_MODIFIERS", function() { return /* reexport */ TOOLTIP_KIND_MODIFIERS; });
|
|
719
762
|
__webpack_require__.d(__webpack_exports__, "TOOLTIP_HIDE_ON_CLICK_VARIANTS", function() { return /* reexport */ TOOLTIP_HIDE_ON_CLICK_VARIANTS; });
|
|
763
|
+
__webpack_require__.d(__webpack_exports__, "DtSkeleton", function() { return /* reexport */ skeleton_skeleton; });
|
|
764
|
+
__webpack_require__.d(__webpack_exports__, "DtSkeletonListItem", function() { return /* reexport */ skeleton_list_item; });
|
|
765
|
+
__webpack_require__.d(__webpack_exports__, "DtSkeletonText", function() { return /* reexport */ skeleton_text; });
|
|
766
|
+
__webpack_require__.d(__webpack_exports__, "DtSkeletonShape", function() { return /* reexport */ skeleton_shape; });
|
|
767
|
+
__webpack_require__.d(__webpack_exports__, "DtSkeletonParagraph", function() { return /* reexport */ skeleton_shape; });
|
|
768
|
+
__webpack_require__.d(__webpack_exports__, "SKELETON_RIPPLE_DURATION", function() { return /* reexport */ SKELETON_RIPPLE_DURATION; });
|
|
769
|
+
__webpack_require__.d(__webpack_exports__, "SKELETON_SHAPES", function() { return /* reexport */ SKELETON_SHAPES; });
|
|
770
|
+
__webpack_require__.d(__webpack_exports__, "SKELETON_TEXT_TYPES", function() { return /* reexport */ SKELETON_TEXT_TYPES; });
|
|
771
|
+
__webpack_require__.d(__webpack_exports__, "SKELETON_SHAPE_SIZES", function() { return /* reexport */ SKELETON_SHAPE_SIZES; });
|
|
772
|
+
__webpack_require__.d(__webpack_exports__, "SKELETON_HEADING_HEIGHTS", function() { return /* reexport */ SKELETON_HEADING_HEIGHTS; });
|
|
773
|
+
__webpack_require__.d(__webpack_exports__, "DtKeyboardShortcut", function() { return /* reexport */ keyboard_shortcut; });
|
|
774
|
+
__webpack_require__.d(__webpack_exports__, "SHORTCUTS_ALIASES", function() { return /* reexport */ SHORTCUTS_ALIASES; });
|
|
775
|
+
__webpack_require__.d(__webpack_exports__, "SHORTCUTS_ICON_ALIASES", function() { return /* reexport */ SHORTCUTS_ICON_ALIASES; });
|
|
776
|
+
__webpack_require__.d(__webpack_exports__, "SHORTCUTS_ALIASES_LIST", function() { return /* reexport */ SHORTCUTS_ALIASES_LIST; });
|
|
777
|
+
__webpack_require__.d(__webpack_exports__, "SHORTCUTS_ICON_SEPARATOR", function() { return /* reexport */ SHORTCUTS_ICON_SEPARATOR; });
|
|
720
778
|
__webpack_require__.d(__webpack_exports__, "DtInputMixin", function() { return /* reexport */ InputMixin; });
|
|
721
779
|
__webpack_require__.d(__webpack_exports__, "DtCheckableInputMixin", function() { return /* reexport */ CheckableMixin; });
|
|
722
780
|
__webpack_require__.d(__webpack_exports__, "DtGroupableInputMixin", function() { return /* reexport */ GroupableMixin; });
|
|
@@ -746,7 +804,7 @@ if (typeof window !== 'undefined') {
|
|
|
746
804
|
// Indicate to webpack that this file can be concatenated
|
|
747
805
|
/* harmony default export */ var setPublicPath = (null);
|
|
748
806
|
|
|
749
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
807
|
+
// 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&
|
|
750
808
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
|
|
751
809
|
'd-avatar',
|
|
752
810
|
_vm.AVATAR_KIND_MODIFIERS[_vm.kind],
|
|
@@ -1192,7 +1250,7 @@ var component = normalizeComponent(
|
|
|
1192
1250
|
// CONCATENATED MODULE: ./components/avatar/index.js
|
|
1193
1251
|
|
|
1194
1252
|
|
|
1195
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1253
|
+
// 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&
|
|
1196
1254
|
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:[
|
|
1197
1255
|
'd-badge',
|
|
1198
1256
|
_vm.BADGE_COLOR_MODIFIERS[_vm.color] ],attrs:{"data-qa":"dt-badge"}},[_vm._t("default",[_vm._v(" "+_vm._s(_vm.text)+" ")])],2)}
|
|
@@ -1289,21 +1347,21 @@ var badge_component = normalizeComponent(
|
|
|
1289
1347
|
// CONCATENATED MODULE: ./components/badge/index.js
|
|
1290
1348
|
|
|
1291
1349
|
|
|
1292
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1350
|
+
// 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&
|
|
1293
1351
|
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)])}
|
|
1294
1352
|
var bannervue_type_template_id_008cf60a_staticRenderFns = []
|
|
1295
1353
|
|
|
1296
1354
|
|
|
1297
1355
|
// CONCATENATED MODULE: ./components/banner/banner.vue?vue&type=template&id=008cf60a&
|
|
1298
1356
|
|
|
1299
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1357
|
+
// 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&
|
|
1300
1358
|
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()}
|
|
1301
1359
|
var notice_iconvue_type_template_id_58ae40bb_staticRenderFns = []
|
|
1302
1360
|
|
|
1303
1361
|
|
|
1304
1362
|
// CONCATENATED MODULE: ./components/notice/notice_icon.vue?vue&type=template&id=58ae40bb&
|
|
1305
1363
|
|
|
1306
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1364
|
+
// 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&
|
|
1307
1365
|
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"}})])}
|
|
1308
1366
|
var IconLightbulbvue_type_template_id_07d1b1af_staticRenderFns = []
|
|
1309
1367
|
|
|
@@ -1329,7 +1387,7 @@ var IconLightbulb_component = normalizeComponent(
|
|
|
1329
1387
|
)
|
|
1330
1388
|
|
|
1331
1389
|
/* harmony default export */ var IconLightbulb = (IconLightbulb_component.exports);
|
|
1332
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1390
|
+
// 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&
|
|
1333
1391
|
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"}})])}
|
|
1334
1392
|
var IconInfovue_type_template_id_d1105ee6_staticRenderFns = []
|
|
1335
1393
|
|
|
@@ -1355,7 +1413,7 @@ var IconInfo_component = normalizeComponent(
|
|
|
1355
1413
|
)
|
|
1356
1414
|
|
|
1357
1415
|
/* harmony default export */ var IconInfo = (IconInfo_component.exports);
|
|
1358
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1416
|
+
// 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&
|
|
1359
1417
|
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"}})])}
|
|
1360
1418
|
var IconWarningvue_type_template_id_0a24defa_staticRenderFns = []
|
|
1361
1419
|
|
|
@@ -1381,7 +1439,7 @@ var IconWarning_component = normalizeComponent(
|
|
|
1381
1439
|
)
|
|
1382
1440
|
|
|
1383
1441
|
/* harmony default export */ var IconWarning = (IconWarning_component.exports);
|
|
1384
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1442
|
+
// 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&
|
|
1385
1443
|
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"}})])}
|
|
1386
1444
|
var IconErrorvue_type_template_id_4d9e3e9d_staticRenderFns = []
|
|
1387
1445
|
|
|
@@ -1407,7 +1465,7 @@ var IconError_component = normalizeComponent(
|
|
|
1407
1465
|
)
|
|
1408
1466
|
|
|
1409
1467
|
/* harmony default export */ var IconError = (IconError_component.exports);
|
|
1410
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1468
|
+
// 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&
|
|
1411
1469
|
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"}})])}
|
|
1412
1470
|
var IconCheckCirclevue_type_template_id_016c7d48_staticRenderFns = []
|
|
1413
1471
|
|
|
@@ -1511,7 +1569,7 @@ var notice_icon_component = normalizeComponent(
|
|
|
1511
1569
|
)
|
|
1512
1570
|
|
|
1513
1571
|
/* harmony default export */ var notice_icon = (notice_icon_component.exports);
|
|
1514
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1572
|
+
// 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&
|
|
1515
1573
|
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)])}
|
|
1516
1574
|
var notice_contentvue_type_template_id_24cf95e4_staticRenderFns = []
|
|
1517
1575
|
|
|
@@ -1583,14 +1641,14 @@ var notice_content_component = normalizeComponent(
|
|
|
1583
1641
|
)
|
|
1584
1642
|
|
|
1585
1643
|
/* harmony default export */ var notice_content = (notice_content_component.exports);
|
|
1586
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1644
|
+
// 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&
|
|
1587
1645
|
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)}
|
|
1588
1646
|
var notice_actionvue_type_template_id_83c987fc_staticRenderFns = []
|
|
1589
1647
|
|
|
1590
1648
|
|
|
1591
1649
|
// CONCATENATED MODULE: ./components/notice/notice_action.vue?vue&type=template&id=83c987fc&
|
|
1592
1650
|
|
|
1593
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1651
|
+
// 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&
|
|
1594
1652
|
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"}})])}
|
|
1595
1653
|
var IconClosevue_type_template_id_18642c39_staticRenderFns = []
|
|
1596
1654
|
|
|
@@ -1616,17 +1674,17 @@ var IconClose_component = normalizeComponent(
|
|
|
1616
1674
|
)
|
|
1617
1675
|
|
|
1618
1676
|
/* harmony default export */ var IconClose = (IconClose_component.exports);
|
|
1619
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1620
|
-
var
|
|
1677
|
+
// 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&
|
|
1678
|
+
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:[
|
|
1621
1679
|
'base-button__button',
|
|
1622
1680
|
_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:[
|
|
1623
1681
|
'base-button__icon',
|
|
1624
1682
|
'd-btn__icon',
|
|
1625
1683
|
_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()])}
|
|
1626
|
-
var
|
|
1684
|
+
var buttonvue_type_template_id_bde52e82_staticRenderFns = []
|
|
1627
1685
|
|
|
1628
1686
|
|
|
1629
|
-
// CONCATENATED MODULE: ./components/button/button.vue?vue&type=template&id=
|
|
1687
|
+
// CONCATENATED MODULE: ./components/button/button.vue?vue&type=template&id=bde52e82&
|
|
1630
1688
|
|
|
1631
1689
|
// CONCATENATED MODULE: ./components/button/button_constants.js
|
|
1632
1690
|
const BUTTON_SIZE_MODIFIERS = {
|
|
@@ -1662,6 +1720,16 @@ const INVALID_COMBINATION = [{
|
|
|
1662
1720
|
kind: 'danger',
|
|
1663
1721
|
importance: 'outlined',
|
|
1664
1722
|
message: _invalidCombinationMessage(true, 'danger', 'outlined')
|
|
1723
|
+
}, {
|
|
1724
|
+
circle: true,
|
|
1725
|
+
kind: 'muted',
|
|
1726
|
+
importance: 'primary',
|
|
1727
|
+
message: _invalidCombinationMessage(true, 'muted', 'primary')
|
|
1728
|
+
}, {
|
|
1729
|
+
circle: false,
|
|
1730
|
+
kind: 'muted',
|
|
1731
|
+
importance: 'primary',
|
|
1732
|
+
message: _invalidCombinationMessage(false, 'muted', 'primary')
|
|
1665
1733
|
}];
|
|
1666
1734
|
|
|
1667
1735
|
function _invalidCombinationMessage(circle, kind, importance) {
|
|
@@ -1904,6 +1972,7 @@ const LINK_KIND_MODIFIERS = {
|
|
|
1904
1972
|
},
|
|
1905
1973
|
watch: {
|
|
1906
1974
|
$props: {
|
|
1975
|
+
deep: true,
|
|
1907
1976
|
immediate: true,
|
|
1908
1977
|
|
|
1909
1978
|
handler() {
|
|
@@ -1944,8 +2013,8 @@ const LINK_KIND_MODIFIERS = {
|
|
|
1944
2013
|
|
|
1945
2014
|
var button_component = normalizeComponent(
|
|
1946
2015
|
button_buttonvue_type_script_lang_js_,
|
|
1947
|
-
|
|
1948
|
-
|
|
2016
|
+
buttonvue_type_template_id_bde52e82_render,
|
|
2017
|
+
buttonvue_type_template_id_bde52e82_staticRenderFns,
|
|
1949
2018
|
false,
|
|
1950
2019
|
null,
|
|
1951
2020
|
null,
|
|
@@ -2356,7 +2425,7 @@ var banner_component = normalizeComponent(
|
|
|
2356
2425
|
/* harmony default export */ var banner = (banner_component.exports);
|
|
2357
2426
|
// CONCATENATED MODULE: ./components/banner/index.js
|
|
2358
2427
|
|
|
2359
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2428
|
+
// 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&
|
|
2360
2429
|
var breadcrumbsvue_type_template_id_b762e354_render = function () {
|
|
2361
2430
|
var _obj;
|
|
2362
2431
|
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',{class:[
|
|
@@ -2370,7 +2439,7 @@ var breadcrumbsvue_type_template_id_b762e354_staticRenderFns = []
|
|
|
2370
2439
|
// CONCATENATED MODULE: ./components/breadcrumbs/breadcrumbs_constants.js
|
|
2371
2440
|
const BREADCRUMB_ITEM_SELECTED_MODIFIER = 'd-breadcrumbs__item--selected';
|
|
2372
2441
|
const BREADCRUMBS_INVERTED_MODIFIER = 'd-breadcrumbs--inverted';
|
|
2373
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2442
|
+
// 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&
|
|
2374
2443
|
var breadcrumb_itemvue_type_template_id_6f97ec8a_render = function () {
|
|
2375
2444
|
var _obj;
|
|
2376
2445
|
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{class:[
|
|
@@ -2381,7 +2450,7 @@ var breadcrumb_itemvue_type_template_id_6f97ec8a_staticRenderFns = []
|
|
|
2381
2450
|
|
|
2382
2451
|
// CONCATENATED MODULE: ./components/breadcrumbs/breadcrumb_item.vue?vue&type=template&id=6f97ec8a&
|
|
2383
2452
|
|
|
2384
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2453
|
+
// 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&
|
|
2385
2454
|
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:[
|
|
2386
2455
|
'd-link',
|
|
2387
2456
|
_vm.LINK_KIND_MODIFIERS[_vm.kind] ],attrs:{"data-qa":"dt-link"}},_vm.$listeners),[_vm._t("default")],2)}
|
|
@@ -2661,7 +2730,82 @@ var breadcrumbs_component = normalizeComponent(
|
|
|
2661
2730
|
|
|
2662
2731
|
// CONCATENATED MODULE: ./components/button/index.js
|
|
2663
2732
|
|
|
2664
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2733
|
+
// 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&
|
|
2734
|
+
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:[
|
|
2735
|
+
'd-btn-group',
|
|
2736
|
+
_vm.BUTTON_GROUP_ALIGNMENT[this.alignment] ],attrs:{"role":"group"}},[_vm._t("default")],2)}
|
|
2737
|
+
var button_groupvue_type_template_id_8962a2f0_staticRenderFns = []
|
|
2738
|
+
|
|
2739
|
+
|
|
2740
|
+
// CONCATENATED MODULE: ./components/button_group/button_group.vue?vue&type=template&id=8962a2f0&
|
|
2741
|
+
|
|
2742
|
+
// CONCATENATED MODULE: ./components/button_group/button_group_constants.js
|
|
2743
|
+
const BUTTON_GROUP_ALIGNMENT = {
|
|
2744
|
+
start: 'd-btn-group--start',
|
|
2745
|
+
end: 'd-btn-group--end',
|
|
2746
|
+
'space-between': 'd-btn-group--space-between'
|
|
2747
|
+
};
|
|
2748
|
+
// 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&
|
|
2749
|
+
//
|
|
2750
|
+
//
|
|
2751
|
+
//
|
|
2752
|
+
//
|
|
2753
|
+
//
|
|
2754
|
+
//
|
|
2755
|
+
//
|
|
2756
|
+
//
|
|
2757
|
+
//
|
|
2758
|
+
//
|
|
2759
|
+
//
|
|
2760
|
+
//
|
|
2761
|
+
//
|
|
2762
|
+
|
|
2763
|
+
/* harmony default export */ var button_groupvue_type_script_lang_js_ = ({
|
|
2764
|
+
name: 'DtButtonGroup',
|
|
2765
|
+
props: {
|
|
2766
|
+
/**
|
|
2767
|
+
* Alignment of the buttons inside the container
|
|
2768
|
+
*/
|
|
2769
|
+
alignment: {
|
|
2770
|
+
type: String,
|
|
2771
|
+
default: 'start',
|
|
2772
|
+
validator: alignment => Object.keys(BUTTON_GROUP_ALIGNMENT).includes(alignment)
|
|
2773
|
+
}
|
|
2774
|
+
},
|
|
2775
|
+
|
|
2776
|
+
data() {
|
|
2777
|
+
return {
|
|
2778
|
+
BUTTON_GROUP_ALIGNMENT: BUTTON_GROUP_ALIGNMENT
|
|
2779
|
+
};
|
|
2780
|
+
}
|
|
2781
|
+
|
|
2782
|
+
});
|
|
2783
|
+
// CONCATENATED MODULE: ./components/button_group/button_group.vue?vue&type=script&lang=js&
|
|
2784
|
+
/* harmony default export */ var button_group_button_groupvue_type_script_lang_js_ = (button_groupvue_type_script_lang_js_);
|
|
2785
|
+
// CONCATENATED MODULE: ./components/button_group/button_group.vue
|
|
2786
|
+
|
|
2787
|
+
|
|
2788
|
+
|
|
2789
|
+
|
|
2790
|
+
|
|
2791
|
+
/* normalize component */
|
|
2792
|
+
|
|
2793
|
+
var button_group_component = normalizeComponent(
|
|
2794
|
+
button_group_button_groupvue_type_script_lang_js_,
|
|
2795
|
+
button_groupvue_type_template_id_8962a2f0_render,
|
|
2796
|
+
button_groupvue_type_template_id_8962a2f0_staticRenderFns,
|
|
2797
|
+
false,
|
|
2798
|
+
null,
|
|
2799
|
+
null,
|
|
2800
|
+
null
|
|
2801
|
+
|
|
2802
|
+
)
|
|
2803
|
+
|
|
2804
|
+
/* harmony default export */ var button_group = (button_group_component.exports);
|
|
2805
|
+
// CONCATENATED MODULE: ./components/button_group/index.js
|
|
2806
|
+
|
|
2807
|
+
|
|
2808
|
+
// 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&
|
|
2665
2809
|
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:[
|
|
2666
2810
|
'base-input__label-text',
|
|
2667
2811
|
'd-label',
|
|
@@ -2695,7 +2839,7 @@ const INPUT_SIZES = {
|
|
|
2695
2839
|
INPUT_TYPES,
|
|
2696
2840
|
INPUT_SIZES
|
|
2697
2841
|
});
|
|
2698
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2842
|
+
// 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&
|
|
2699
2843
|
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){
|
|
2700
2844
|
var message = ref.message;
|
|
2701
2845
|
var type = ref.type;
|
|
@@ -3004,7 +3148,7 @@ const CheckableMixin = {
|
|
|
3004
3148
|
},
|
|
3005
3149
|
|
|
3006
3150
|
/**
|
|
3007
|
-
* Indeterminate State
|
|
3151
|
+
* Indeterminate State, toggling indeterminate checkbox will uncheck
|
|
3008
3152
|
*/
|
|
3009
3153
|
indeterminate: {
|
|
3010
3154
|
type: Boolean,
|
|
@@ -3022,7 +3166,8 @@ const CheckableMixin = {
|
|
|
3022
3166
|
|
|
3023
3167
|
data() {
|
|
3024
3168
|
return {
|
|
3025
|
-
internalChecked: this.checked
|
|
3169
|
+
internalChecked: this.checked,
|
|
3170
|
+
internalIndeterminate: this.indeterminate
|
|
3026
3171
|
};
|
|
3027
3172
|
},
|
|
3028
3173
|
|
|
@@ -3030,6 +3175,10 @@ const CheckableMixin = {
|
|
|
3030
3175
|
checked(newChecked) {
|
|
3031
3176
|
// update internal checked when the prop changes
|
|
3032
3177
|
this.internalChecked = newChecked;
|
|
3178
|
+
},
|
|
3179
|
+
|
|
3180
|
+
indeterminate(newValue) {
|
|
3181
|
+
this.internalIndeterminate = newValue;
|
|
3033
3182
|
}
|
|
3034
3183
|
|
|
3035
3184
|
}
|
|
@@ -3555,7 +3704,7 @@ var input_component = normalizeComponent(
|
|
|
3555
3704
|
// CONCATENATED MODULE: ./components/input/index.js
|
|
3556
3705
|
|
|
3557
3706
|
|
|
3558
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3707
|
+
// 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&
|
|
3559
3708
|
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)}
|
|
3560
3709
|
var input_groupvue_type_template_id_34acc7c9_staticRenderFns = []
|
|
3561
3710
|
|
|
@@ -3850,7 +3999,7 @@ var input_group_component = normalizeComponent(
|
|
|
3850
3999
|
/* harmony default export */ var input_group_input_group = (input_group_component.exports);
|
|
3851
4000
|
// CONCATENATED MODULE: ./components/input_group/index.js
|
|
3852
4001
|
|
|
3853
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4002
|
+
// 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&
|
|
3854
4003
|
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:[
|
|
3855
4004
|
'd-modal',
|
|
3856
4005
|
_vm.MODAL_KIND_MODIFIERS[_vm.kind],
|
|
@@ -3872,7 +4021,7 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
3872
4021
|
default: '',
|
|
3873
4022
|
full: 'd-modal--full'
|
|
3874
4023
|
};
|
|
3875
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4024
|
+
// 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&
|
|
3876
4025
|
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)])}
|
|
3877
4026
|
var lazy_showvue_type_template_id_9ffa4e8c_staticRenderFns = []
|
|
3878
4027
|
|
|
@@ -4247,7 +4396,7 @@ var modal_component = normalizeComponent(
|
|
|
4247
4396
|
|
|
4248
4397
|
// CONCATENATED MODULE: ./components/lazy_show/index.js
|
|
4249
4398
|
|
|
4250
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4399
|
+
// 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&
|
|
4251
4400
|
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',
|
|
4252
4401
|
{ '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)])}
|
|
4253
4402
|
var list_sectionvue_type_template_id_0285311e_staticRenderFns = []
|
|
@@ -4431,7 +4580,7 @@ var list_section_component = normalizeComponent(
|
|
|
4431
4580
|
/* harmony default export */ var list_section = (list_section_component.exports);
|
|
4432
4581
|
// CONCATENATED MODULE: ./components/list_section/index.js
|
|
4433
4582
|
|
|
4434
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4583
|
+
// 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&
|
|
4435
4584
|
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', {
|
|
4436
4585
|
'dt-list-item--focusable': _vm.isFocusable,
|
|
4437
4586
|
'dt-list-item--highlighted': _vm.isHighlighted,
|
|
@@ -4455,7 +4604,7 @@ const LIST_ITEM_NAVIGATION_TYPES = {
|
|
|
4455
4604
|
LIST_ITEM_TYPES,
|
|
4456
4605
|
LIST_ITEM_NAVIGATION_TYPES
|
|
4457
4606
|
});
|
|
4458
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4607
|
+
// 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&
|
|
4459
4608
|
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()])}
|
|
4460
4609
|
var default_list_itemvue_type_template_id_42285ca2_staticRenderFns = []
|
|
4461
4610
|
|
|
@@ -4744,7 +4893,7 @@ var list_item_component = normalizeComponent(
|
|
|
4744
4893
|
/* harmony default export */ var list_item = (list_item_component.exports);
|
|
4745
4894
|
// CONCATENATED MODULE: ./components/list_item/index.js
|
|
4746
4895
|
|
|
4747
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4896
|
+
// 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&
|
|
4748
4897
|
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)}
|
|
4749
4898
|
var noticevue_type_template_id_4b03fec7_staticRenderFns = []
|
|
4750
4899
|
|
|
@@ -4924,8 +5073,8 @@ var notice_component = normalizeComponent(
|
|
|
4924
5073
|
// CONCATENATED MODULE: ./components/notice/index.js
|
|
4925
5074
|
|
|
4926
5075
|
|
|
4927
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4928
|
-
var
|
|
5076
|
+
// 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&
|
|
5077
|
+
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":{
|
|
4929
5078
|
'aria-expanded': _vm.showPopover.toString(),
|
|
4930
5079
|
'aria-controls': _vm.id,
|
|
4931
5080
|
'aria-haspopup': _vm.role,
|
|
@@ -4941,10 +5090,10 @@ var popovervue_type_template_id_6aa4f74f_render = function () {var _vm=this;var
|
|
|
4941
5090
|
("dt-popover__content--valign-" + _vm.verticalAlignment),
|
|
4942
5091
|
'd-m0',
|
|
4943
5092
|
_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)}
|
|
4944
|
-
var
|
|
5093
|
+
var popovervue_type_template_id_67f9c14b_staticRenderFns = []
|
|
4945
5094
|
|
|
4946
5095
|
|
|
4947
|
-
// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=template&id=
|
|
5096
|
+
// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=template&id=67f9c14b&
|
|
4948
5097
|
|
|
4949
5098
|
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js
|
|
4950
5099
|
// import { isHTMLElement } from './instanceOf';
|
|
@@ -9265,12 +9414,11 @@ const POPOVER_PADDING_CLASSES = {
|
|
|
9265
9414
|
medium: 'd-p16',
|
|
9266
9415
|
large: 'd-p24'
|
|
9267
9416
|
};
|
|
9268
|
-
const POPOVER_HORIZONTAL_ALIGNMENT = [null, 'left', 'right'];
|
|
9417
|
+
const POPOVER_HORIZONTAL_ALIGNMENT = [null, 'left', 'center', 'right'];
|
|
9269
9418
|
const POPOVER_VERTICAL_ALIGNMENT = [null, 'top', 'bottom'];
|
|
9270
|
-
const TIPPY_HORIZONTAL_ALIGNMENT = ['start', 'end'];
|
|
9271
9419
|
const POPOVER_ROLES = ['dialog', 'menu', 'listbox', 'tree', 'grid'];
|
|
9272
9420
|
const POPOVER_CONTENT_WIDTHS = [null, 'anchor'];
|
|
9273
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
9421
|
+
// 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&
|
|
9274
9422
|
var tooltipvue_type_template_id_00f87924_render = function () {
|
|
9275
9423
|
var _obj;
|
|
9276
9424
|
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":{
|
|
@@ -9815,6 +9963,10 @@ var tooltip_component = normalizeComponent(
|
|
|
9815
9963
|
//
|
|
9816
9964
|
//
|
|
9817
9965
|
//
|
|
9966
|
+
//
|
|
9967
|
+
//
|
|
9968
|
+
//
|
|
9969
|
+
//
|
|
9818
9970
|
|
|
9819
9971
|
|
|
9820
9972
|
|
|
@@ -10063,6 +10215,10 @@ var tooltip_component = normalizeComponent(
|
|
|
10063
10215
|
type: [Number, String],
|
|
10064
10216
|
default: 300,
|
|
10065
10217
|
validator: zIndex => !!Number(zIndex)
|
|
10218
|
+
},
|
|
10219
|
+
overlayAppendTo: {
|
|
10220
|
+
type: HTMLElement,
|
|
10221
|
+
default: () => document.body
|
|
10066
10222
|
}
|
|
10067
10223
|
},
|
|
10068
10224
|
emits: ['update:open'],
|
|
@@ -10083,26 +10239,26 @@ var tooltip_component = normalizeComponent(
|
|
|
10083
10239
|
|
|
10084
10240
|
computed: {
|
|
10085
10241
|
fallbackPlacements() {
|
|
10242
|
+
const verticalVariants = POPOVER_VERTICAL_ALIGNMENT.filter(alignment => alignment);
|
|
10243
|
+
const horizontalVariants = POPOVER_HORIZONTAL_ALIGNMENT.filter(alignment => alignment);
|
|
10244
|
+
|
|
10086
10245
|
if (this.fixedAlignment === null && this.fixedVerticalAlignment === null) {
|
|
10087
|
-
return
|
|
10246
|
+
return verticalVariants.map(vertical => horizontalVariants.map(horizontal => this.getPlacement(vertical, horizontal))).flat();
|
|
10088
10247
|
}
|
|
10089
10248
|
|
|
10090
10249
|
if (this.fixedAlignment === null) {
|
|
10091
|
-
return
|
|
10250
|
+
return horizontalVariants.map(horizontal => this.getPlacement(this.fixedVerticalAlignment, horizontal));
|
|
10092
10251
|
}
|
|
10093
10252
|
|
|
10094
10253
|
if (this.fixedVerticalAlignment === null) {
|
|
10095
|
-
|
|
10096
|
-
return POPOVER_VERTICAL_ALIGNMENT.filter(verticalAlignment => verticalAlignment).map(verticalAlignment => `${verticalAlignment}-${horizontalAlignment}`);
|
|
10254
|
+
return verticalVariants.map(vertical => this.getPlacement(vertical, this.fixedAlignment));
|
|
10097
10255
|
}
|
|
10098
10256
|
|
|
10099
10257
|
return [];
|
|
10100
10258
|
},
|
|
10101
10259
|
|
|
10102
10260
|
placement() {
|
|
10103
|
-
|
|
10104
|
-
const horizontalAlignment = this.fixedAlignment === 'left' ? 'start' : 'end';
|
|
10105
|
-
return `${verticalAlignment}-${horizontalAlignment}`;
|
|
10261
|
+
return this.getPlacement(this.fixedVerticalAlignment, this.fixedAlignment);
|
|
10106
10262
|
},
|
|
10107
10263
|
|
|
10108
10264
|
isDialog() {
|
|
@@ -10118,13 +10274,11 @@ var tooltip_component = normalizeComponent(
|
|
|
10118
10274
|
},
|
|
10119
10275
|
watch: {
|
|
10120
10276
|
placement(placement) {
|
|
10121
|
-
|
|
10122
|
-
var _this$tip;
|
|
10277
|
+
var _this$tip;
|
|
10123
10278
|
|
|
10124
|
-
|
|
10125
|
-
|
|
10126
|
-
|
|
10127
|
-
}
|
|
10279
|
+
(_this$tip = this.tip) === null || _this$tip === void 0 ? void 0 : _this$tip.setProps({
|
|
10280
|
+
placement
|
|
10281
|
+
});
|
|
10128
10282
|
},
|
|
10129
10283
|
|
|
10130
10284
|
fallbackPlacements: {
|
|
@@ -10169,6 +10323,7 @@ var tooltip_component = normalizeComponent(
|
|
|
10169
10323
|
if (this.modal) {
|
|
10170
10324
|
this.anchorEl.classList.add('d-zi-notification');
|
|
10171
10325
|
zIndex = zIndex > 600 ? zIndex : 700;
|
|
10326
|
+
this.appendOverlay();
|
|
10172
10327
|
} // align popover content width when
|
|
10173
10328
|
|
|
10174
10329
|
|
|
@@ -10179,7 +10334,7 @@ var tooltip_component = normalizeComponent(
|
|
|
10179
10334
|
this.tip = tippy_headless_esm(this.anchorEl, this.getOptions({
|
|
10180
10335
|
popperOptions: this.getPopperOptions(),
|
|
10181
10336
|
tippyOptions: {
|
|
10182
|
-
placement: this.
|
|
10337
|
+
placement: this.placement,
|
|
10183
10338
|
hideOnClick: this.hideOnClick,
|
|
10184
10339
|
offset: this.offset,
|
|
10185
10340
|
interactiveBorder: this.interactiveBorder,
|
|
@@ -10204,13 +10359,52 @@ var tooltip_component = normalizeComponent(
|
|
|
10204
10359
|
var _this$tip4;
|
|
10205
10360
|
|
|
10206
10361
|
window.removeEventListener('resize', this.onResize);
|
|
10362
|
+
this.removeOverlay();
|
|
10207
10363
|
(_this$tip4 = this.tip) === null || _this$tip4 === void 0 ? void 0 : _this$tip4.destroy();
|
|
10364
|
+
this.removeReferences();
|
|
10208
10365
|
},
|
|
10209
10366
|
|
|
10210
10367
|
/******************
|
|
10211
10368
|
* METHODS *
|
|
10212
10369
|
******************/
|
|
10213
10370
|
methods: {
|
|
10371
|
+
removeReferences() {
|
|
10372
|
+
this.anchorEl = null;
|
|
10373
|
+
this.popoverContentEl = null;
|
|
10374
|
+
this.tip = null;
|
|
10375
|
+
},
|
|
10376
|
+
|
|
10377
|
+
appendOverlay() {
|
|
10378
|
+
const overlay = this.$refs.overlay.$el;
|
|
10379
|
+
const {
|
|
10380
|
+
lastChild
|
|
10381
|
+
} = this.overlayAppendTo;
|
|
10382
|
+
|
|
10383
|
+
if (lastChild) {
|
|
10384
|
+
this.overlayAppendTo.insertBefore(overlay, lastChild);
|
|
10385
|
+
} else {
|
|
10386
|
+
this.overlayAppendTo.append(overlay);
|
|
10387
|
+
}
|
|
10388
|
+
},
|
|
10389
|
+
|
|
10390
|
+
removeOverlay() {
|
|
10391
|
+
if (this.$refs.overlay && this.$refs.overlay.$el) {
|
|
10392
|
+
this.$refs.popover.append(this.$refs.overlay.$el);
|
|
10393
|
+
}
|
|
10394
|
+
},
|
|
10395
|
+
|
|
10396
|
+
getPlacement(vertical = 'bottom', horizontal = 'end') {
|
|
10397
|
+
const verticalAlignment = vertical || 'bottom';
|
|
10398
|
+
const horizontalAlignment = horizontal || 'end';
|
|
10399
|
+
if (horizontalAlignment === 'center') return verticalAlignment;
|
|
10400
|
+
|
|
10401
|
+
if (horizontalAlignment === 'left' || horizontalAlignment === 'right') {
|
|
10402
|
+
return `${verticalAlignment}-${horizontalAlignment === 'left' ? 'start' : 'end'}`;
|
|
10403
|
+
}
|
|
10404
|
+
|
|
10405
|
+
return `${verticalAlignment}-${horizontalAlignment}`;
|
|
10406
|
+
},
|
|
10407
|
+
|
|
10214
10408
|
closePopover() {
|
|
10215
10409
|
if (typeof this.hideOnClick === 'boolean' && this.hideOnClick) {
|
|
10216
10410
|
this.tip.hide();
|
|
@@ -10250,16 +10444,13 @@ var tooltip_component = normalizeComponent(
|
|
|
10250
10444
|
},
|
|
10251
10445
|
|
|
10252
10446
|
onMount() {
|
|
10447
|
+
var _this$tip5;
|
|
10448
|
+
|
|
10253
10449
|
this.isPreventHidePopover = false;
|
|
10254
10450
|
this.showPopover = true;
|
|
10255
|
-
|
|
10256
|
-
|
|
10257
|
-
|
|
10258
|
-
|
|
10259
|
-
(_this$tip5 = this.tip) === null || _this$tip5 === void 0 ? void 0 : _this$tip5.setProps({
|
|
10260
|
-
placement: this.placement
|
|
10261
|
-
});
|
|
10262
|
-
}
|
|
10451
|
+
(_this$tip5 = this.tip) === null || _this$tip5 === void 0 ? void 0 : _this$tip5.setProps({
|
|
10452
|
+
placement: this.placement
|
|
10453
|
+
});
|
|
10263
10454
|
},
|
|
10264
10455
|
|
|
10265
10456
|
onResize() {
|
|
@@ -10284,11 +10475,19 @@ var tooltip_component = normalizeComponent(
|
|
|
10284
10475
|
boundary: this.flipBoundary,
|
|
10285
10476
|
fallbackPlacements: this.fallbackPlacements
|
|
10286
10477
|
}
|
|
10478
|
+
}, {
|
|
10479
|
+
name: 'hide',
|
|
10480
|
+
enabled: this.appendTo !== 'parent'
|
|
10287
10481
|
}, getArrowDetected(({
|
|
10288
10482
|
state
|
|
10289
10483
|
}) => {
|
|
10290
10484
|
this.verticalAlignment = state.placement.includes('top') ? 'top' : 'bottom';
|
|
10291
|
-
|
|
10485
|
+
|
|
10486
|
+
if (state.placement === 'top' || state.placement === 'bottom') {
|
|
10487
|
+
this.horizontalAlignment = 'center';
|
|
10488
|
+
} else {
|
|
10489
|
+
this.horizontalAlignment = state.placement.includes('start') ? 'left' : 'right';
|
|
10490
|
+
}
|
|
10292
10491
|
})]
|
|
10293
10492
|
};
|
|
10294
10493
|
},
|
|
@@ -10313,10 +10512,6 @@ var tooltip_component = normalizeComponent(
|
|
|
10313
10512
|
};
|
|
10314
10513
|
},
|
|
10315
10514
|
|
|
10316
|
-
getInitialPlacement() {
|
|
10317
|
-
return TOOLTIP_TIPPY_DIRECTIONS[this.placement] ? this.placement : this.fallbackPlacements[0];
|
|
10318
|
-
},
|
|
10319
|
-
|
|
10320
10515
|
async setPopoverContentAnchorWidth() {
|
|
10321
10516
|
await this.$nextTick();
|
|
10322
10517
|
this.popoverContentEl.style.width = `${this.anchorEl.clientWidth}px`;
|
|
@@ -10346,8 +10541,8 @@ var popovervue_type_style_index_0_lang_less_ = __webpack_require__("e0bf");
|
|
|
10346
10541
|
|
|
10347
10542
|
var popover_component = normalizeComponent(
|
|
10348
10543
|
popover_popovervue_type_script_lang_js_,
|
|
10349
|
-
|
|
10350
|
-
|
|
10544
|
+
popovervue_type_template_id_67f9c14b_render,
|
|
10545
|
+
popovervue_type_template_id_67f9c14b_staticRenderFns,
|
|
10351
10546
|
false,
|
|
10352
10547
|
null,
|
|
10353
10548
|
null,
|
|
@@ -10359,7 +10554,7 @@ var popover_component = normalizeComponent(
|
|
|
10359
10554
|
// CONCATENATED MODULE: ./components/popover/index.js
|
|
10360
10555
|
|
|
10361
10556
|
|
|
10362
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10557
|
+
// 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&
|
|
10363
10558
|
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)])])}
|
|
10364
10559
|
var radiovue_type_template_id_7516bd14_staticRenderFns = []
|
|
10365
10560
|
|
|
@@ -10620,7 +10815,7 @@ var radio_group_component = normalizeComponent(
|
|
|
10620
10815
|
/* harmony default export */ var radio_group = (radio_group_component.exports);
|
|
10621
10816
|
// CONCATENATED MODULE: ./components/radio_group/index.js
|
|
10622
10817
|
|
|
10623
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10818
|
+
// 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&
|
|
10624
10819
|
var tab_groupvue_type_template_id_59d36f62_render = function () {
|
|
10625
10820
|
var _obj;
|
|
10626
10821
|
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:[
|
|
@@ -10946,7 +11141,7 @@ var tab_group_component = normalizeComponent(
|
|
|
10946
11141
|
)
|
|
10947
11142
|
|
|
10948
11143
|
/* harmony default export */ var tab_group = (tab_group_component.exports);
|
|
10949
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11144
|
+
// 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&
|
|
10950
11145
|
var tabvue_type_template_id_0bc212ec_render = function () {
|
|
10951
11146
|
var _obj;
|
|
10952
11147
|
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-button',_vm._b({class:[
|
|
@@ -11099,7 +11294,7 @@ var tab_component = normalizeComponent(
|
|
|
11099
11294
|
)
|
|
11100
11295
|
|
|
11101
11296
|
/* harmony default export */ var tab = (tab_component.exports);
|
|
11102
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11297
|
+
// 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&
|
|
11103
11298
|
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:[
|
|
11104
11299
|
{
|
|
11105
11300
|
'd-d-none': _vm.hidePanel,
|
|
@@ -11201,12 +11396,12 @@ var tab_panel_component = normalizeComponent(
|
|
|
11201
11396
|
|
|
11202
11397
|
|
|
11203
11398
|
|
|
11204
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11205
|
-
var
|
|
11206
|
-
var
|
|
11399
|
+
// 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&
|
|
11400
|
+
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()])])}
|
|
11401
|
+
var checkboxvue_type_template_id_86d051ec_staticRenderFns = []
|
|
11207
11402
|
|
|
11208
11403
|
|
|
11209
|
-
// CONCATENATED MODULE: ./components/checkbox/checkbox.vue?vue&type=template&id=
|
|
11404
|
+
// CONCATENATED MODULE: ./components/checkbox/checkbox.vue?vue&type=template&id=86d051ec&
|
|
11210
11405
|
|
|
11211
11406
|
// CONCATENATED MODULE: ./components/checkbox/checkbox_constants.js
|
|
11212
11407
|
const CHECKBOX_INPUT_VALIDATION_CLASSES = {
|
|
@@ -11319,7 +11514,7 @@ const CHECKBOX_INPUT_VALIDATION_CLASSES = {
|
|
|
11319
11514
|
* input event by the change listener).
|
|
11320
11515
|
*/
|
|
11321
11516
|
input: () => {},
|
|
11322
|
-
change: event => this.emitValue(event.target
|
|
11517
|
+
change: event => this.emitValue(event.target)
|
|
11323
11518
|
};
|
|
11324
11519
|
}
|
|
11325
11520
|
|
|
@@ -11343,8 +11538,20 @@ const CHECKBOX_INPUT_VALIDATION_CLASSES = {
|
|
|
11343
11538
|
},
|
|
11344
11539
|
|
|
11345
11540
|
methods: {
|
|
11346
|
-
emitValue(
|
|
11347
|
-
|
|
11541
|
+
emitValue(target) {
|
|
11542
|
+
let {
|
|
11543
|
+
value,
|
|
11544
|
+
checked
|
|
11545
|
+
} = target; // Expected: Indeterminate -> unchecked. We need to manually set DOM property `checked` to false
|
|
11546
|
+
// and update this.internalIndeterminate.
|
|
11547
|
+
|
|
11548
|
+
if (this.internalIndeterminate) {
|
|
11549
|
+
checked = false;
|
|
11550
|
+
this.internalIndeterminate = false;
|
|
11551
|
+
target.checked = false;
|
|
11552
|
+
} // update provided value if injected
|
|
11553
|
+
|
|
11554
|
+
|
|
11348
11555
|
this.setGroupValue(value, checked); // emit the state of the checkbox
|
|
11349
11556
|
|
|
11350
11557
|
this.$emit('input', checked);
|
|
@@ -11368,8 +11575,8 @@ const CHECKBOX_INPUT_VALIDATION_CLASSES = {
|
|
|
11368
11575
|
|
|
11369
11576
|
var checkbox_component = normalizeComponent(
|
|
11370
11577
|
checkbox_checkboxvue_type_script_lang_js_,
|
|
11371
|
-
|
|
11372
|
-
|
|
11578
|
+
checkboxvue_type_template_id_86d051ec_render,
|
|
11579
|
+
checkboxvue_type_template_id_86d051ec_staticRenderFns,
|
|
11373
11580
|
false,
|
|
11374
11581
|
null,
|
|
11375
11582
|
null,
|
|
@@ -11513,7 +11720,7 @@ var checkbox_group_component = normalizeComponent(
|
|
|
11513
11720
|
/* harmony default export */ var checkbox_group = (checkbox_group_component.exports);
|
|
11514
11721
|
// CONCATENATED MODULE: ./components/checkbox_group/index.js
|
|
11515
11722
|
|
|
11516
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11723
|
+
// 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&
|
|
11517
11724
|
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:[
|
|
11518
11725
|
'd-label',
|
|
11519
11726
|
_vm.LABEL_SIZE_MODIFIERS[_vm.size],
|
|
@@ -11890,7 +12097,7 @@ var select_menu_component = normalizeComponent(
|
|
|
11890
12097
|
// CONCATENATED MODULE: ./components/select_menu/index.js
|
|
11891
12098
|
|
|
11892
12099
|
|
|
11893
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
12100
|
+
// 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&
|
|
11894
12101
|
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:[
|
|
11895
12102
|
'd-toast',
|
|
11896
12103
|
_vm.kindClass,
|
|
@@ -12141,11 +12348,1073 @@ var toast_component = normalizeComponent(
|
|
|
12141
12348
|
// CONCATENATED MODULE: ./components/toast/index.js
|
|
12142
12349
|
|
|
12143
12350
|
|
|
12144
|
-
// CONCATENATED MODULE: ./components/
|
|
12351
|
+
// 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&
|
|
12352
|
+
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)}
|
|
12353
|
+
var skeletonvue_type_template_id_22b9be50_staticRenderFns = []
|
|
12354
|
+
|
|
12355
|
+
|
|
12356
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton.vue?vue&type=template&id=22b9be50&
|
|
12357
|
+
|
|
12358
|
+
// 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&
|
|
12359
|
+
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:[
|
|
12360
|
+
'skeleton-placeholder',
|
|
12361
|
+
_vm.SKELETON_SHAPES[_vm.shape],
|
|
12362
|
+
{
|
|
12363
|
+
'skeleton-placeholder--animate': _vm.animate,
|
|
12364
|
+
},
|
|
12365
|
+
_vm.contentClass ],style:(_vm.shapeStyles),attrs:{"data-qa":"skeleton-shape"}})}
|
|
12366
|
+
var skeleton_shapevue_type_template_id_0b405340_staticRenderFns = []
|
|
12367
|
+
|
|
12368
|
+
|
|
12369
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton-shape.vue?vue&type=template&id=0b405340&
|
|
12370
|
+
|
|
12371
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton_constants.js
|
|
12372
|
+
// NOTE: RippleDuration controls how long the delay is for the animation
|
|
12373
|
+
// of a skeleton 1000 pixels from the top of the page. Each skeleton
|
|
12374
|
+
// from the top down will have a delay duration from 0 to this offset.
|
|
12375
|
+
// The delay of each skeleton animation is based on how far down the page
|
|
12376
|
+
// the skeleton is rendered. This is a linear relationship. The unit
|
|
12377
|
+
// is miliseconds.
|
|
12378
|
+
const SKELETON_RIPPLE_DURATION = 3000000;
|
|
12379
|
+
const SKELETON_SHAPES = {
|
|
12380
|
+
circle: 'd-bar-circle',
|
|
12381
|
+
square: 'd-bar2'
|
|
12382
|
+
};
|
|
12383
|
+
const SKELETON_TEXT_TYPES = ['body', 'heading'];
|
|
12384
|
+
const SKELETON_SHAPE_SIZES = {
|
|
12385
|
+
sm: '24px',
|
|
12386
|
+
md: '32px',
|
|
12387
|
+
lg: '48px'
|
|
12388
|
+
};
|
|
12389
|
+
const SKELETON_HEADING_HEIGHTS = {
|
|
12390
|
+
sm: 'd-h16',
|
|
12391
|
+
md: 'd-h24',
|
|
12392
|
+
lg: 'd-h32'
|
|
12393
|
+
};
|
|
12394
|
+
/* harmony default export */ var skeleton_constants = ({
|
|
12395
|
+
SKELETON_RIPPLE_DURATION,
|
|
12396
|
+
SKELETON_SHAPES,
|
|
12397
|
+
SKELETON_TEXT_TYPES,
|
|
12398
|
+
SKELETON_HEADING_HEIGHTS
|
|
12399
|
+
});
|
|
12400
|
+
// CONCATENATED MODULE: ./components/mixins/skeleton.js
|
|
12401
|
+
|
|
12402
|
+
/* harmony default export */ var skeleton = ({
|
|
12403
|
+
computed: {
|
|
12404
|
+
skeletonOffset() {
|
|
12405
|
+
const skeletonText = this.$refs.skeleton;
|
|
12406
|
+
|
|
12407
|
+
if (!skeletonText) {
|
|
12408
|
+
return this.offset;
|
|
12409
|
+
}
|
|
12410
|
+
|
|
12411
|
+
const {
|
|
12412
|
+
top,
|
|
12413
|
+
height
|
|
12414
|
+
} = skeletonText.getBoundingClientRect();
|
|
12415
|
+
return top + height / 2;
|
|
12416
|
+
},
|
|
12417
|
+
|
|
12418
|
+
skeletonStyle() {
|
|
12419
|
+
const style = {};
|
|
12420
|
+
|
|
12421
|
+
if (this.skeletonOffset === -1 || !this.animate && this.animationDuration === -1) {
|
|
12422
|
+
return style;
|
|
12423
|
+
}
|
|
12424
|
+
|
|
12425
|
+
const animationDelay = this.skeletonOffset * SKELETON_RIPPLE_DURATION / 1000;
|
|
12426
|
+
const animationDuration = this.animationDuration === -1 ? 1000 : this.animationDuration;
|
|
12427
|
+
style.animationDelay = `${animationDelay}ms`;
|
|
12428
|
+
style.animationDuration = `${animationDuration}ms`;
|
|
12429
|
+
return style;
|
|
12430
|
+
}
|
|
12431
|
+
|
|
12432
|
+
}
|
|
12433
|
+
});
|
|
12434
|
+
// 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&
|
|
12435
|
+
//
|
|
12436
|
+
//
|
|
12437
|
+
//
|
|
12438
|
+
//
|
|
12439
|
+
//
|
|
12440
|
+
//
|
|
12441
|
+
//
|
|
12442
|
+
//
|
|
12443
|
+
//
|
|
12444
|
+
//
|
|
12445
|
+
//
|
|
12446
|
+
//
|
|
12447
|
+
//
|
|
12448
|
+
//
|
|
12449
|
+
//
|
|
12450
|
+
//
|
|
12451
|
+
|
|
12452
|
+
|
|
12453
|
+
/* harmony default export */ var skeleton_shapevue_type_script_lang_js_ = ({
|
|
12454
|
+
name: 'DtSkeletonShape',
|
|
12455
|
+
mixins: [skeleton],
|
|
12456
|
+
props: {
|
|
12457
|
+
shape: {
|
|
12458
|
+
type: String,
|
|
12459
|
+
default: 'circle',
|
|
12460
|
+
validator: shape => Object.keys(SKELETON_SHAPES).includes(shape)
|
|
12461
|
+
},
|
|
12462
|
+
size: {
|
|
12463
|
+
type: String,
|
|
12464
|
+
default: 'md'
|
|
12465
|
+
},
|
|
12466
|
+
animationDuration: {
|
|
12467
|
+
type: Number,
|
|
12468
|
+
default: -1
|
|
12469
|
+
},
|
|
12470
|
+
animate: {
|
|
12471
|
+
type: Boolean,
|
|
12472
|
+
default: true
|
|
12473
|
+
},
|
|
12474
|
+
offset: {
|
|
12475
|
+
type: Number,
|
|
12476
|
+
default: 1
|
|
12477
|
+
},
|
|
12478
|
+
contentClass: {
|
|
12479
|
+
type: String,
|
|
12480
|
+
default: ''
|
|
12481
|
+
}
|
|
12482
|
+
},
|
|
12483
|
+
|
|
12484
|
+
data() {
|
|
12485
|
+
return {
|
|
12486
|
+
SKELETON_SHAPES: SKELETON_SHAPES
|
|
12487
|
+
};
|
|
12488
|
+
},
|
|
12489
|
+
|
|
12490
|
+
computed: {
|
|
12491
|
+
shapeStyles() {
|
|
12492
|
+
const size = SKELETON_SHAPE_SIZES[this.size] || this.size;
|
|
12493
|
+
return { ...this.skeletonStyle,
|
|
12494
|
+
'min-width': size,
|
|
12495
|
+
'max-width': size,
|
|
12496
|
+
'min-height': size,
|
|
12497
|
+
'max-height': size
|
|
12498
|
+
};
|
|
12499
|
+
}
|
|
12500
|
+
|
|
12501
|
+
}
|
|
12502
|
+
});
|
|
12503
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton-shape.vue?vue&type=script&lang=js&
|
|
12504
|
+
/* harmony default export */ var skeleton_skeleton_shapevue_type_script_lang_js_ = (skeleton_shapevue_type_script_lang_js_);
|
|
12505
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton-shape.vue
|
|
12506
|
+
|
|
12507
|
+
|
|
12508
|
+
|
|
12509
|
+
|
|
12510
|
+
|
|
12511
|
+
/* normalize component */
|
|
12512
|
+
|
|
12513
|
+
var skeleton_shape_component = normalizeComponent(
|
|
12514
|
+
skeleton_skeleton_shapevue_type_script_lang_js_,
|
|
12515
|
+
skeleton_shapevue_type_template_id_0b405340_render,
|
|
12516
|
+
skeleton_shapevue_type_template_id_0b405340_staticRenderFns,
|
|
12517
|
+
false,
|
|
12518
|
+
null,
|
|
12519
|
+
null,
|
|
12520
|
+
null
|
|
12521
|
+
|
|
12522
|
+
)
|
|
12523
|
+
|
|
12524
|
+
/* harmony default export */ var skeleton_shape = (skeleton_shape_component.exports);
|
|
12525
|
+
// 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&
|
|
12526
|
+
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:[
|
|
12527
|
+
'd-d-flex',
|
|
12528
|
+
{
|
|
12529
|
+
'd-ai-center': _vm.paragraphs.rows === 1,
|
|
12530
|
+
},
|
|
12531
|
+
_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)}
|
|
12532
|
+
var skeleton_list_itemvue_type_template_id_550b8bfc_staticRenderFns = []
|
|
12533
|
+
|
|
12534
|
+
|
|
12535
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton-list-item.vue?vue&type=template&id=550b8bfc&
|
|
12536
|
+
|
|
12537
|
+
// 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&
|
|
12538
|
+
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:[
|
|
12539
|
+
'd-w100p',
|
|
12540
|
+
_vm.contentClass ],attrs:{"contentClass":"","data-qa":"skeleton-paragraph"}},_vm._l((_vm.integerRows),function(row){return _c('dt-skeleton-text',{key:row,class:[
|
|
12541
|
+
{
|
|
12542
|
+
'd-mb12': row !== _vm.integerRows,
|
|
12543
|
+
} ],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)}
|
|
12544
|
+
var skeleton_paragraphvue_type_template_id_df721706_staticRenderFns = []
|
|
12545
|
+
|
|
12546
|
+
|
|
12547
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton-paragraph.vue?vue&type=template&id=df721706&
|
|
12548
|
+
|
|
12549
|
+
// 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&
|
|
12550
|
+
//
|
|
12551
|
+
//
|
|
12552
|
+
//
|
|
12553
|
+
//
|
|
12554
|
+
//
|
|
12555
|
+
//
|
|
12556
|
+
//
|
|
12557
|
+
//
|
|
12558
|
+
//
|
|
12559
|
+
//
|
|
12560
|
+
//
|
|
12561
|
+
//
|
|
12562
|
+
//
|
|
12563
|
+
//
|
|
12564
|
+
//
|
|
12565
|
+
//
|
|
12566
|
+
//
|
|
12567
|
+
//
|
|
12568
|
+
//
|
|
12569
|
+
//
|
|
12570
|
+
//
|
|
12571
|
+
//
|
|
12572
|
+
//
|
|
12573
|
+
//
|
|
12574
|
+
//
|
|
12575
|
+
//
|
|
12576
|
+
//
|
|
12577
|
+
|
|
12578
|
+
|
|
12579
|
+
const validator = number => number !== '' && !Number.isNaN(Number(number));
|
|
12580
|
+
|
|
12581
|
+
/* harmony default export */ var skeleton_paragraphvue_type_script_lang_js_ = ({
|
|
12582
|
+
name: 'DtSkeletonParagraph',
|
|
12583
|
+
components: {
|
|
12584
|
+
DtSkeletonText: skeleton_text
|
|
12585
|
+
},
|
|
12586
|
+
props: {
|
|
12587
|
+
rows: {
|
|
12588
|
+
type: [Number, String],
|
|
12589
|
+
default: 3,
|
|
12590
|
+
validator
|
|
12591
|
+
},
|
|
12592
|
+
animate: {
|
|
12593
|
+
type: Boolean,
|
|
12594
|
+
default: true
|
|
12595
|
+
},
|
|
12596
|
+
minWidth: {
|
|
12597
|
+
type: [Number, String],
|
|
12598
|
+
default: 30,
|
|
12599
|
+
validator
|
|
12600
|
+
},
|
|
12601
|
+
maxWidth: {
|
|
12602
|
+
type: [Number, String],
|
|
12603
|
+
default: 100,
|
|
12604
|
+
validator
|
|
12605
|
+
},
|
|
12606
|
+
width: {
|
|
12607
|
+
type: [String, Array],
|
|
12608
|
+
default: null
|
|
12609
|
+
},
|
|
12610
|
+
randomWidth: {
|
|
12611
|
+
type: Boolean,
|
|
12612
|
+
default: false
|
|
12613
|
+
},
|
|
12614
|
+
offset: {
|
|
12615
|
+
type: Number,
|
|
12616
|
+
default: 1
|
|
12617
|
+
},
|
|
12618
|
+
animationDuration: {
|
|
12619
|
+
type: Number,
|
|
12620
|
+
default: -1
|
|
12621
|
+
},
|
|
12622
|
+
contentClass: {
|
|
12623
|
+
type: String,
|
|
12624
|
+
default: ''
|
|
12625
|
+
},
|
|
12626
|
+
rowClass: {
|
|
12627
|
+
type: String,
|
|
12628
|
+
default: ''
|
|
12629
|
+
}
|
|
12630
|
+
},
|
|
12631
|
+
computed: {
|
|
12632
|
+
integerRows() {
|
|
12633
|
+
return Number(this.rows);
|
|
12634
|
+
}
|
|
12635
|
+
|
|
12636
|
+
},
|
|
12637
|
+
methods: {
|
|
12638
|
+
randomWidthPercentage() {
|
|
12639
|
+
const min = Math.min(this.minWidth, this.maxWidth);
|
|
12640
|
+
const max = Math.max(this.minWidth, this.maxWidth);
|
|
12641
|
+
return `${Math.round(Math.random() * (max - min)) + min}%`;
|
|
12642
|
+
},
|
|
12643
|
+
|
|
12644
|
+
getSizeParagraphRow(row) {
|
|
12645
|
+
const paragraphWidth = this.width;
|
|
12646
|
+
const isArrayWidth = Array.isArray(paragraphWidth);
|
|
12647
|
+
const currentWidth = paragraphWidth === null || paragraphWidth === void 0 ? void 0 : paragraphWidth[row - 1];
|
|
12648
|
+
const isLastRow = row === this.rows;
|
|
12649
|
+
|
|
12650
|
+
if (this.randomWidth) {
|
|
12651
|
+
return this.randomWidthPercentage();
|
|
12652
|
+
}
|
|
12653
|
+
|
|
12654
|
+
if (paragraphWidth && !isArrayWidth) {
|
|
12655
|
+
return paragraphWidth;
|
|
12656
|
+
}
|
|
12657
|
+
|
|
12658
|
+
if (paragraphWidth && isArrayWidth && currentWidth) {
|
|
12659
|
+
return currentWidth;
|
|
12660
|
+
}
|
|
12661
|
+
|
|
12662
|
+
return isLastRow ? '38%' : '100%';
|
|
12663
|
+
}
|
|
12664
|
+
|
|
12665
|
+
}
|
|
12666
|
+
});
|
|
12667
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton-paragraph.vue?vue&type=script&lang=js&
|
|
12668
|
+
/* harmony default export */ var skeleton_skeleton_paragraphvue_type_script_lang_js_ = (skeleton_paragraphvue_type_script_lang_js_);
|
|
12669
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton-paragraph.vue
|
|
12670
|
+
|
|
12671
|
+
|
|
12672
|
+
|
|
12673
|
+
|
|
12674
|
+
|
|
12675
|
+
/* normalize component */
|
|
12676
|
+
|
|
12677
|
+
var skeleton_paragraph_component = normalizeComponent(
|
|
12678
|
+
skeleton_skeleton_paragraphvue_type_script_lang_js_,
|
|
12679
|
+
skeleton_paragraphvue_type_template_id_df721706_render,
|
|
12680
|
+
skeleton_paragraphvue_type_template_id_df721706_staticRenderFns,
|
|
12681
|
+
false,
|
|
12682
|
+
null,
|
|
12683
|
+
null,
|
|
12684
|
+
null
|
|
12685
|
+
|
|
12686
|
+
)
|
|
12687
|
+
|
|
12688
|
+
/* harmony default export */ var skeleton_paragraph = (skeleton_paragraph_component.exports);
|
|
12689
|
+
// 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&
|
|
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
|
+
//
|
|
12716
|
+
//
|
|
12717
|
+
//
|
|
12718
|
+
//
|
|
12719
|
+
//
|
|
12720
|
+
//
|
|
12721
|
+
|
|
12722
|
+
|
|
12723
|
+
|
|
12724
|
+
/* harmony default export */ var skeleton_list_itemvue_type_script_lang_js_ = ({
|
|
12725
|
+
name: 'DtSkeletonListItem',
|
|
12726
|
+
components: {
|
|
12727
|
+
DtSkeletonShape: skeleton_shape,
|
|
12728
|
+
DtSkeletonParagraph: skeleton_paragraph
|
|
12729
|
+
},
|
|
12730
|
+
props: {
|
|
12731
|
+
shape: {
|
|
12732
|
+
type: String,
|
|
12733
|
+
default: 'circle',
|
|
12734
|
+
validator: shape => Object.keys(SKELETON_SHAPES).includes(shape)
|
|
12735
|
+
},
|
|
12736
|
+
shapeSize: {
|
|
12737
|
+
type: String,
|
|
12738
|
+
default: 'md'
|
|
12739
|
+
},
|
|
12740
|
+
paragraphs: {
|
|
12741
|
+
type: Object,
|
|
12742
|
+
default: () => ({
|
|
12743
|
+
rows: 3,
|
|
12744
|
+
randomWidth: true
|
|
12745
|
+
})
|
|
12746
|
+
},
|
|
12747
|
+
animationDuration: {
|
|
12748
|
+
type: Number,
|
|
12749
|
+
default: -1
|
|
12750
|
+
},
|
|
12751
|
+
animate: {
|
|
12752
|
+
type: Boolean,
|
|
12753
|
+
default: true
|
|
12754
|
+
},
|
|
12755
|
+
offset: {
|
|
12756
|
+
type: Number,
|
|
12757
|
+
default: 1
|
|
12758
|
+
},
|
|
12759
|
+
shapeClass: {
|
|
12760
|
+
type: String,
|
|
12761
|
+
default: ''
|
|
12762
|
+
},
|
|
12763
|
+
contentClass: {
|
|
12764
|
+
type: String,
|
|
12765
|
+
default: ''
|
|
12766
|
+
}
|
|
12767
|
+
}
|
|
12768
|
+
});
|
|
12769
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton-list-item.vue?vue&type=script&lang=js&
|
|
12770
|
+
/* harmony default export */ var skeleton_skeleton_list_itemvue_type_script_lang_js_ = (skeleton_list_itemvue_type_script_lang_js_);
|
|
12771
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton-list-item.vue
|
|
12772
|
+
|
|
12773
|
+
|
|
12774
|
+
|
|
12775
|
+
|
|
12776
|
+
|
|
12777
|
+
/* normalize component */
|
|
12778
|
+
|
|
12779
|
+
var skeleton_list_item_component = normalizeComponent(
|
|
12780
|
+
skeleton_skeleton_list_itemvue_type_script_lang_js_,
|
|
12781
|
+
skeleton_list_itemvue_type_template_id_550b8bfc_render,
|
|
12782
|
+
skeleton_list_itemvue_type_template_id_550b8bfc_staticRenderFns,
|
|
12783
|
+
false,
|
|
12784
|
+
null,
|
|
12785
|
+
null,
|
|
12786
|
+
null
|
|
12787
|
+
|
|
12788
|
+
)
|
|
12789
|
+
|
|
12790
|
+
/* harmony default export */ var skeleton_list_item = (skeleton_list_item_component.exports);
|
|
12791
|
+
// 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&
|
|
12792
|
+
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:[
|
|
12793
|
+
'd-h8',
|
|
12794
|
+
'd-bar2',
|
|
12795
|
+
'skeleton-placeholder',
|
|
12796
|
+
{
|
|
12797
|
+
'skeleton-placeholder--animate': _vm.animate,
|
|
12798
|
+
},
|
|
12799
|
+
_vm.contentClass ],style:(Object.assign({}, {width: _vm.width},
|
|
12800
|
+
_vm.skeletonStyle)),attrs:{"data-qa":"skeleton-text-body"}}):(_vm.type === 'heading')?_c('div',{ref:"skeleton",class:[
|
|
12801
|
+
_vm.SKELETON_HEADING_HEIGHTS[_vm.headingHeight],
|
|
12802
|
+
'd-bar2',
|
|
12803
|
+
'skeleton-placeholder',
|
|
12804
|
+
{
|
|
12805
|
+
'skeleton-placeholder--animate': _vm.animate,
|
|
12806
|
+
},
|
|
12807
|
+
_vm.contentClass ],style:(Object.assign({}, {width: _vm.width},
|
|
12808
|
+
_vm.skeletonStyle)),attrs:{"data-qa":"skeleton-text-heading"}}):_vm._e()}
|
|
12809
|
+
var skeleton_textvue_type_template_id_9c94b6be_staticRenderFns = []
|
|
12810
|
+
|
|
12811
|
+
|
|
12812
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton-text.vue?vue&type=template&id=9c94b6be&
|
|
12813
|
+
|
|
12814
|
+
// 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&
|
|
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
|
+
//
|
|
12848
|
+
//
|
|
12849
|
+
//
|
|
12850
|
+
//
|
|
12851
|
+
//
|
|
12852
|
+
//
|
|
12853
|
+
//
|
|
12854
|
+
|
|
12855
|
+
|
|
12856
|
+
/* harmony default export */ var skeleton_textvue_type_script_lang_js_ = ({
|
|
12857
|
+
name: 'DtSkeletonText',
|
|
12858
|
+
mixins: [skeleton],
|
|
12859
|
+
props: {
|
|
12860
|
+
type: {
|
|
12861
|
+
type: String,
|
|
12862
|
+
default: 'body',
|
|
12863
|
+
validator: type => SKELETON_TEXT_TYPES.includes(type)
|
|
12864
|
+
},
|
|
12865
|
+
headingHeight: {
|
|
12866
|
+
type: String,
|
|
12867
|
+
default: 'md',
|
|
12868
|
+
validator: headingHeight => Object.keys(SKELETON_HEADING_HEIGHTS).includes(headingHeight)
|
|
12869
|
+
},
|
|
12870
|
+
width: {
|
|
12871
|
+
type: String,
|
|
12872
|
+
default: '100%'
|
|
12873
|
+
},
|
|
12874
|
+
animationDuration: {
|
|
12875
|
+
type: Number,
|
|
12876
|
+
default: -1
|
|
12877
|
+
},
|
|
12878
|
+
animate: {
|
|
12879
|
+
type: Boolean,
|
|
12880
|
+
default: false
|
|
12881
|
+
},
|
|
12882
|
+
offset: {
|
|
12883
|
+
type: Number,
|
|
12884
|
+
default: 1
|
|
12885
|
+
},
|
|
12886
|
+
contentClass: {
|
|
12887
|
+
type: String,
|
|
12888
|
+
default: ''
|
|
12889
|
+
}
|
|
12890
|
+
},
|
|
12891
|
+
|
|
12892
|
+
data() {
|
|
12893
|
+
return {
|
|
12894
|
+
SKELETON_HEADING_HEIGHTS: SKELETON_HEADING_HEIGHTS
|
|
12895
|
+
};
|
|
12896
|
+
}
|
|
12897
|
+
|
|
12898
|
+
});
|
|
12899
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton-text.vue?vue&type=script&lang=js&
|
|
12900
|
+
/* harmony default export */ var skeleton_skeleton_textvue_type_script_lang_js_ = (skeleton_textvue_type_script_lang_js_);
|
|
12901
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton-text.vue
|
|
12902
|
+
|
|
12903
|
+
|
|
12904
|
+
|
|
12905
|
+
|
|
12906
|
+
|
|
12907
|
+
/* normalize component */
|
|
12908
|
+
|
|
12909
|
+
var skeleton_text_component = normalizeComponent(
|
|
12910
|
+
skeleton_skeleton_textvue_type_script_lang_js_,
|
|
12911
|
+
skeleton_textvue_type_template_id_9c94b6be_render,
|
|
12912
|
+
skeleton_textvue_type_template_id_9c94b6be_staticRenderFns,
|
|
12913
|
+
false,
|
|
12914
|
+
null,
|
|
12915
|
+
null,
|
|
12916
|
+
null
|
|
12917
|
+
|
|
12918
|
+
)
|
|
12919
|
+
|
|
12920
|
+
/* harmony default export */ var skeleton_text = (skeleton_text_component.exports);
|
|
12921
|
+
// 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&
|
|
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
|
+
//
|
|
12955
|
+
//
|
|
12956
|
+
//
|
|
12957
|
+
//
|
|
12958
|
+
//
|
|
12959
|
+
|
|
12960
|
+
|
|
12961
|
+
|
|
12962
|
+
|
|
12963
|
+
/* harmony default export */ var skeletonvue_type_script_lang_js_ = ({
|
|
12964
|
+
name: 'DtSkeleton',
|
|
12965
|
+
components: {
|
|
12966
|
+
DtSkeletonText: skeleton_text,
|
|
12967
|
+
DtSkeletonShape: skeleton_shape,
|
|
12968
|
+
DtSkeletonListItem: skeleton_list_item,
|
|
12969
|
+
DtSkeletonParagraph: skeleton_paragraph
|
|
12970
|
+
},
|
|
12971
|
+
props: {
|
|
12972
|
+
paragraphOption: {
|
|
12973
|
+
type: [Object, Boolean],
|
|
12974
|
+
default: null
|
|
12975
|
+
},
|
|
12976
|
+
listItemOption: {
|
|
12977
|
+
type: [Object, Boolean],
|
|
12978
|
+
default: null
|
|
12979
|
+
},
|
|
12980
|
+
textOption: {
|
|
12981
|
+
type: Object,
|
|
12982
|
+
default: null
|
|
12983
|
+
},
|
|
12984
|
+
shapeOption: {
|
|
12985
|
+
type: [Object, Boolean],
|
|
12986
|
+
default: null
|
|
12987
|
+
},
|
|
12988
|
+
animationDuration: {
|
|
12989
|
+
type: Number,
|
|
12990
|
+
default: -1
|
|
12991
|
+
},
|
|
12992
|
+
ariaLabel: {
|
|
12993
|
+
type: String,
|
|
12994
|
+
default: ''
|
|
12995
|
+
},
|
|
12996
|
+
animate: {
|
|
12997
|
+
type: Boolean,
|
|
12998
|
+
default: true
|
|
12999
|
+
},
|
|
13000
|
+
offset: {
|
|
13001
|
+
type: Number,
|
|
13002
|
+
default: 1
|
|
13003
|
+
}
|
|
13004
|
+
},
|
|
13005
|
+
computed: {
|
|
13006
|
+
validationOptions() {
|
|
13007
|
+
return {
|
|
13008
|
+
paragraphOption: this.paragraphOption,
|
|
13009
|
+
listItemOption: this.listItemOption,
|
|
13010
|
+
textOption: this.textOption,
|
|
13011
|
+
shapeOption: this.shapeOption
|
|
13012
|
+
};
|
|
13013
|
+
}
|
|
13014
|
+
|
|
13015
|
+
},
|
|
13016
|
+
watch: {
|
|
13017
|
+
$props: {
|
|
13018
|
+
immediate: true,
|
|
13019
|
+
handler: 'validator'
|
|
13020
|
+
}
|
|
13021
|
+
},
|
|
13022
|
+
methods: {
|
|
13023
|
+
validator() {
|
|
13024
|
+
const filtered = Object.entries(this.validationOptions).filter(([_, option]) => option);
|
|
13025
|
+
|
|
13026
|
+
if (filtered.length >= 2) {
|
|
13027
|
+
const errorMessage = `Use only one of ${filtered.map(([key]) => key).join(' | ')} options at the same time`;
|
|
13028
|
+
console.error(errorMessage);
|
|
13029
|
+
}
|
|
13030
|
+
}
|
|
13031
|
+
|
|
13032
|
+
}
|
|
13033
|
+
});
|
|
13034
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton.vue?vue&type=script&lang=js&
|
|
13035
|
+
/* harmony default export */ var skeleton_skeletonvue_type_script_lang_js_ = (skeletonvue_type_script_lang_js_);
|
|
13036
|
+
// CONCATENATED MODULE: ./components/skeleton/skeleton.vue
|
|
13037
|
+
|
|
13038
|
+
|
|
13039
|
+
|
|
13040
|
+
|
|
13041
|
+
|
|
13042
|
+
/* normalize component */
|
|
13043
|
+
|
|
13044
|
+
var skeleton_component = normalizeComponent(
|
|
13045
|
+
skeleton_skeletonvue_type_script_lang_js_,
|
|
13046
|
+
skeletonvue_type_template_id_22b9be50_render,
|
|
13047
|
+
skeletonvue_type_template_id_22b9be50_staticRenderFns,
|
|
13048
|
+
false,
|
|
13049
|
+
null,
|
|
13050
|
+
null,
|
|
13051
|
+
null
|
|
13052
|
+
|
|
13053
|
+
)
|
|
13054
|
+
|
|
13055
|
+
/* harmony default export */ var skeleton_skeleton = (skeleton_component.exports);
|
|
13056
|
+
// CONCATENATED MODULE: ./components/skeleton/index.js
|
|
13057
|
+
|
|
13058
|
+
|
|
13059
|
+
|
|
13060
|
+
|
|
13061
|
+
|
|
13062
|
+
|
|
13063
|
+
// 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&
|
|
13064
|
+
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:[
|
|
13065
|
+
'd-d-inline-flex',
|
|
13066
|
+
'd-ff-custom',
|
|
13067
|
+
'd-ai-center',
|
|
13068
|
+
'd-jc-center',
|
|
13069
|
+
'd-box-border',
|
|
13070
|
+
'd-pl6',
|
|
13071
|
+
'd-pr4',
|
|
13072
|
+
'd-ba',
|
|
13073
|
+
'd-bar4',
|
|
13074
|
+
'd-fs12',
|
|
13075
|
+
_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:[
|
|
13076
|
+
'dt-keyboard-shortcut__svg',
|
|
13077
|
+
_vm.inverted ? 'd-fc-black-075' : 'd-fc-black-500',
|
|
13078
|
+
'd-mr2' ],attrs:{"aria-hidden":"true"}}):_c('span',{key:(i + "-" + item),class:[
|
|
13079
|
+
_vm.inverted ? 'd-fc-black-075' : 'd-fc-black-500',
|
|
13080
|
+
'd-mr2' ],attrs:{"aria-hidden":"true"},domProps:{"innerHTML":_vm._s(item)}})]})],2)}
|
|
13081
|
+
var keyboard_shortcutvue_type_template_id_42a36d1f_staticRenderFns = []
|
|
13082
|
+
|
|
13083
|
+
|
|
13084
|
+
// CONCATENATED MODULE: ./components/keyboard_shortcut/keyboard_shortcut.vue?vue&type=template&id=42a36d1f&
|
|
13085
|
+
|
|
13086
|
+
// 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&
|
|
13087
|
+
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"}})])}
|
|
13088
|
+
var IconWindowsvue_type_template_id_799d0e52_staticRenderFns = []
|
|
13089
|
+
|
|
13090
|
+
|
|
13091
|
+
// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconWindows.vue?vue&type=template&id=799d0e52&
|
|
13092
|
+
|
|
13093
|
+
// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconWindows.vue
|
|
13094
|
+
|
|
13095
|
+
var IconWindows_script = {}
|
|
13096
|
+
|
|
13097
|
+
|
|
13098
|
+
/* normalize component */
|
|
13099
|
+
|
|
13100
|
+
var IconWindows_component = normalizeComponent(
|
|
13101
|
+
IconWindows_script,
|
|
13102
|
+
IconWindowsvue_type_template_id_799d0e52_render,
|
|
13103
|
+
IconWindowsvue_type_template_id_799d0e52_staticRenderFns,
|
|
13104
|
+
false,
|
|
13105
|
+
null,
|
|
13106
|
+
null,
|
|
13107
|
+
null
|
|
13108
|
+
|
|
13109
|
+
)
|
|
13110
|
+
|
|
13111
|
+
/* harmony default export */ var IconWindows = (IconWindows_component.exports);
|
|
13112
|
+
// 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&
|
|
13113
|
+
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"}})])}
|
|
13114
|
+
var IconAddvue_type_template_id_37aa578e_staticRenderFns = []
|
|
13115
|
+
|
|
13116
|
+
|
|
13117
|
+
// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconAdd.vue?vue&type=template&id=37aa578e&
|
|
13118
|
+
|
|
13119
|
+
// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconAdd.vue
|
|
13120
|
+
|
|
13121
|
+
var IconAdd_script = {}
|
|
13122
|
+
|
|
13123
|
+
|
|
13124
|
+
/* normalize component */
|
|
13125
|
+
|
|
13126
|
+
var IconAdd_component = normalizeComponent(
|
|
13127
|
+
IconAdd_script,
|
|
13128
|
+
IconAddvue_type_template_id_37aa578e_render,
|
|
13129
|
+
IconAddvue_type_template_id_37aa578e_staticRenderFns,
|
|
13130
|
+
false,
|
|
13131
|
+
null,
|
|
13132
|
+
null,
|
|
13133
|
+
null
|
|
13134
|
+
|
|
13135
|
+
)
|
|
13136
|
+
|
|
13137
|
+
/* harmony default export */ var IconAdd = (IconAdd_component.exports);
|
|
13138
|
+
// 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&
|
|
13139
|
+
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"}})])}
|
|
13140
|
+
var IconArrowDownwardvue_type_template_id_3615192c_staticRenderFns = []
|
|
13141
|
+
|
|
13142
|
+
|
|
13143
|
+
// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconArrowDownward.vue?vue&type=template&id=3615192c&
|
|
13144
|
+
|
|
13145
|
+
// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconArrowDownward.vue
|
|
13146
|
+
|
|
13147
|
+
var IconArrowDownward_script = {}
|
|
13148
|
+
|
|
13149
|
+
|
|
13150
|
+
/* normalize component */
|
|
13151
|
+
|
|
13152
|
+
var IconArrowDownward_component = normalizeComponent(
|
|
13153
|
+
IconArrowDownward_script,
|
|
13154
|
+
IconArrowDownwardvue_type_template_id_3615192c_render,
|
|
13155
|
+
IconArrowDownwardvue_type_template_id_3615192c_staticRenderFns,
|
|
13156
|
+
false,
|
|
13157
|
+
null,
|
|
13158
|
+
null,
|
|
13159
|
+
null
|
|
13160
|
+
|
|
13161
|
+
)
|
|
13162
|
+
|
|
13163
|
+
/* harmony default export */ var IconArrowDownward = (IconArrowDownward_component.exports);
|
|
13164
|
+
// 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&
|
|
13165
|
+
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"}})])}
|
|
13166
|
+
var IconArrowUpwardvue_type_template_id_10122176_staticRenderFns = []
|
|
13167
|
+
|
|
13168
|
+
|
|
13169
|
+
// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconArrowUpward.vue?vue&type=template&id=10122176&
|
|
13170
|
+
|
|
13171
|
+
// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconArrowUpward.vue
|
|
13172
|
+
|
|
13173
|
+
var IconArrowUpward_script = {}
|
|
13174
|
+
|
|
13175
|
+
|
|
13176
|
+
/* normalize component */
|
|
13177
|
+
|
|
13178
|
+
var IconArrowUpward_component = normalizeComponent(
|
|
13179
|
+
IconArrowUpward_script,
|
|
13180
|
+
IconArrowUpwardvue_type_template_id_10122176_render,
|
|
13181
|
+
IconArrowUpwardvue_type_template_id_10122176_staticRenderFns,
|
|
13182
|
+
false,
|
|
13183
|
+
null,
|
|
13184
|
+
null,
|
|
13185
|
+
null
|
|
13186
|
+
|
|
13187
|
+
)
|
|
13188
|
+
|
|
13189
|
+
/* harmony default export */ var IconArrowUpward = (IconArrowUpward_component.exports);
|
|
13190
|
+
// 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&
|
|
13191
|
+
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"}})])}
|
|
13192
|
+
var IconArrowForwardvue_type_template_id_24d9c0d4_staticRenderFns = []
|
|
13193
|
+
|
|
13194
|
+
|
|
13195
|
+
// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconArrowForward.vue?vue&type=template&id=24d9c0d4&
|
|
13196
|
+
|
|
13197
|
+
// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconArrowForward.vue
|
|
13198
|
+
|
|
13199
|
+
var IconArrowForward_script = {}
|
|
13200
|
+
|
|
13201
|
+
|
|
13202
|
+
/* normalize component */
|
|
13203
|
+
|
|
13204
|
+
var IconArrowForward_component = normalizeComponent(
|
|
13205
|
+
IconArrowForward_script,
|
|
13206
|
+
IconArrowForwardvue_type_template_id_24d9c0d4_render,
|
|
13207
|
+
IconArrowForwardvue_type_template_id_24d9c0d4_staticRenderFns,
|
|
13208
|
+
false,
|
|
13209
|
+
null,
|
|
13210
|
+
null,
|
|
13211
|
+
null
|
|
13212
|
+
|
|
13213
|
+
)
|
|
13214
|
+
|
|
13215
|
+
/* harmony default export */ var IconArrowForward = (IconArrowForward_component.exports);
|
|
13216
|
+
// 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&
|
|
13217
|
+
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"}})])}
|
|
13218
|
+
var IconArrowBackwardsvue_type_template_id_422cf4b0_staticRenderFns = []
|
|
13219
|
+
|
|
13220
|
+
|
|
13221
|
+
// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconArrowBackwards.vue?vue&type=template&id=422cf4b0&
|
|
13222
|
+
|
|
13223
|
+
// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconArrowBackwards.vue
|
|
13224
|
+
|
|
13225
|
+
var IconArrowBackwards_script = {}
|
|
13226
|
+
|
|
13227
|
+
|
|
13228
|
+
/* normalize component */
|
|
13229
|
+
|
|
13230
|
+
var IconArrowBackwards_component = normalizeComponent(
|
|
13231
|
+
IconArrowBackwards_script,
|
|
13232
|
+
IconArrowBackwardsvue_type_template_id_422cf4b0_render,
|
|
13233
|
+
IconArrowBackwardsvue_type_template_id_422cf4b0_staticRenderFns,
|
|
13234
|
+
false,
|
|
13235
|
+
null,
|
|
13236
|
+
null,
|
|
13237
|
+
null
|
|
13238
|
+
|
|
13239
|
+
)
|
|
13240
|
+
|
|
13241
|
+
/* harmony default export */ var IconArrowBackwards = (IconArrowBackwards_component.exports);
|
|
13242
|
+
// CONCATENATED MODULE: ./components/keyboard_shortcut/keyboard_shortcut_constants.js
|
|
13243
|
+
const SHORTCUTS_ALIASES = {
|
|
13244
|
+
cmd: '⌘' // ⌘ Command
|
|
13245
|
+
|
|
13246
|
+
};
|
|
13247
|
+
const SHORTCUTS_ICON_ALIASES = {
|
|
13248
|
+
'{win}': 'IconWindows',
|
|
13249
|
+
'{arrow-right}': 'IconArrowForward',
|
|
13250
|
+
'{arrow-left}': 'IconArrowBackward',
|
|
13251
|
+
'{arrow-up}': 'IconArrowUpward',
|
|
13252
|
+
'{arrow-down}': 'IconArrowDownward'
|
|
13253
|
+
};
|
|
13254
|
+
const SHORTCUTS_ICON_SEPARATOR = {
|
|
13255
|
+
'{plus}': 'IconAdd'
|
|
13256
|
+
};
|
|
13257
|
+
const SHORTCUTS_ALIASES_LIST = Object.keys(SHORTCUTS_ALIASES).map(key => `{${key}}`).concat(Object.keys(SHORTCUTS_ICON_ALIASES));
|
|
13258
|
+
// 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&
|
|
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
|
+
//
|
|
13309
|
+
//
|
|
13310
|
+
|
|
13311
|
+
|
|
13312
|
+
|
|
13313
|
+
|
|
13314
|
+
|
|
13315
|
+
|
|
13316
|
+
|
|
13317
|
+
/* harmony default export */ var keyboard_shortcutvue_type_script_lang_js_ = ({
|
|
13318
|
+
name: 'DtKeyboardShortcut',
|
|
13319
|
+
components: {
|
|
13320
|
+
IconWindows: IconWindows,
|
|
13321
|
+
IconArrowBackward: IconArrowBackwards,
|
|
13322
|
+
IconArrowDownward: IconArrowDownward,
|
|
13323
|
+
IconArrowForward: IconArrowForward,
|
|
13324
|
+
IconArrowUpward: IconArrowUpward,
|
|
13325
|
+
IconAdd: IconAdd
|
|
13326
|
+
},
|
|
13327
|
+
props: {
|
|
13328
|
+
inverted: {
|
|
13329
|
+
type: Boolean,
|
|
13330
|
+
default: false
|
|
13331
|
+
},
|
|
13332
|
+
shortcut: {
|
|
13333
|
+
type: String,
|
|
13334
|
+
required: true
|
|
13335
|
+
},
|
|
13336
|
+
screenReaderText: {
|
|
13337
|
+
type: String,
|
|
13338
|
+
default: null
|
|
13339
|
+
}
|
|
13340
|
+
},
|
|
13341
|
+
|
|
13342
|
+
data() {
|
|
13343
|
+
return {
|
|
13344
|
+
SHORTCUTS_ICON_ALIASES: SHORTCUTS_ICON_ALIASES,
|
|
13345
|
+
separator: /\+/gi
|
|
13346
|
+
};
|
|
13347
|
+
},
|
|
13348
|
+
|
|
13349
|
+
computed: {
|
|
13350
|
+
icons() {
|
|
13351
|
+
return { ...SHORTCUTS_ICON_ALIASES,
|
|
13352
|
+
...SHORTCUTS_ICON_SEPARATOR
|
|
13353
|
+
};
|
|
13354
|
+
},
|
|
13355
|
+
|
|
13356
|
+
shortcutWithSeparator() {
|
|
13357
|
+
return this.shortcut.replace(this.separator, '{plus}');
|
|
13358
|
+
},
|
|
13359
|
+
|
|
13360
|
+
formattedShortcut() {
|
|
13361
|
+
return Object.keys(SHORTCUTS_ALIASES).reduce((result, key) => {
|
|
13362
|
+
return result.replace(new RegExp('{' + key + '}', 'gi'), SHORTCUTS_ALIASES[key]);
|
|
13363
|
+
}, this.shortcutWithSeparator);
|
|
13364
|
+
},
|
|
13365
|
+
|
|
13366
|
+
// Splits any icon based aliases into their own array items.
|
|
13367
|
+
formattedShortcutSplit() {
|
|
13368
|
+
const iconAliasString = Object.keys(this.icons).join('|');
|
|
13369
|
+
/*
|
|
13370
|
+
The regexp splits a given string with icon alias and is filtered by empty strings after:
|
|
13371
|
+
if {win} is our delimiter AKA shortcut icon alias
|
|
13372
|
+
'{win} + D K + {win}' returned value will be [{win}, ' ', '{plus}', ' D K ', '{plus}', ' ', {win}]
|
|
13373
|
+
*/
|
|
13374
|
+
|
|
13375
|
+
const regex = new RegExp(`(${iconAliasString})`, 'gi');
|
|
13376
|
+
return this.formattedShortcut.split(regex).filter(Boolean);
|
|
13377
|
+
}
|
|
13378
|
+
|
|
13379
|
+
}
|
|
13380
|
+
});
|
|
13381
|
+
// CONCATENATED MODULE: ./components/keyboard_shortcut/keyboard_shortcut.vue?vue&type=script&lang=js&
|
|
13382
|
+
/* harmony default export */ var keyboard_shortcut_keyboard_shortcutvue_type_script_lang_js_ = (keyboard_shortcutvue_type_script_lang_js_);
|
|
13383
|
+
// EXTERNAL MODULE: ./components/keyboard_shortcut/keyboard_shortcut.vue?vue&type=style&index=0&lang=less&
|
|
13384
|
+
var keyboard_shortcutvue_type_style_index_0_lang_less_ = __webpack_require__("4654");
|
|
13385
|
+
|
|
13386
|
+
// CONCATENATED MODULE: ./components/keyboard_shortcut/keyboard_shortcut.vue
|
|
13387
|
+
|
|
13388
|
+
|
|
13389
|
+
|
|
13390
|
+
|
|
13391
|
+
|
|
13392
|
+
|
|
13393
|
+
/* normalize component */
|
|
13394
|
+
|
|
13395
|
+
var keyboard_shortcut_component = normalizeComponent(
|
|
13396
|
+
keyboard_shortcut_keyboard_shortcutvue_type_script_lang_js_,
|
|
13397
|
+
keyboard_shortcutvue_type_template_id_42a36d1f_render,
|
|
13398
|
+
keyboard_shortcutvue_type_template_id_42a36d1f_staticRenderFns,
|
|
13399
|
+
false,
|
|
13400
|
+
null,
|
|
13401
|
+
null,
|
|
13402
|
+
null
|
|
13403
|
+
|
|
13404
|
+
)
|
|
13405
|
+
|
|
13406
|
+
/* harmony default export */ var keyboard_shortcut = (keyboard_shortcut_component.exports);
|
|
13407
|
+
// CONCATENATED MODULE: ./components/keyboard_shortcut/index.js
|
|
13408
|
+
|
|
13409
|
+
|
|
13410
|
+
// CONCATENATED MODULE: ./components/mixins/index.js
|
|
13411
|
+
|
|
13412
|
+
|
|
13413
|
+
// CONCATENATED MODULE: ./index.js
|
|
13414
|
+
// Components
|
|
13415
|
+
|
|
12145
13416
|
|
|
12146
13417
|
|
|
12147
|
-
// CONCATENATED MODULE: ./index.js
|
|
12148
|
-
// Components
|
|
12149
13418
|
|
|
12150
13419
|
|
|
12151
13420
|
|