@dialpad/dialtone-vue 1.0.0-beta.4 → 1.0.0-beta.5

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.
@@ -599,9 +599,17 @@ var update = add("572d8ba2", content, true, {"sourceMap":false,"shadowMode":fals
599
599
  __webpack_require__.r(__webpack_exports__);
600
600
 
601
601
  // EXPORTS
602
+ __webpack_require__.d(__webpack_exports__, "DtAvatar", function() { return /* reexport */ avatar; });
603
+ __webpack_require__.d(__webpack_exports__, "AVATAR_SIZE_MODIFIERS", function() { return /* reexport */ AVATAR_SIZE_MODIFIERS; });
604
+ __webpack_require__.d(__webpack_exports__, "AVATAR_KIND_MODIFIERS", function() { return /* reexport */ AVATAR_KIND_MODIFIERS; });
605
+ __webpack_require__.d(__webpack_exports__, "AVATAR_COLOR_MODIFIERS", function() { return /* reexport */ AVATAR_COLOR_MODIFIERS; });
602
606
  __webpack_require__.d(__webpack_exports__, "DtBadge", function() { return /* reexport */ badge; });
603
607
  __webpack_require__.d(__webpack_exports__, "BADGE_COLOR_MODIFIERS", function() { return /* reexport */ BADGE_COLOR_MODIFIERS; });
604
608
  __webpack_require__.d(__webpack_exports__, "DtBanner", function() { return /* reexport */ banner; });
609
+ __webpack_require__.d(__webpack_exports__, "DtBreadcrumbs", function() { return /* reexport */ breadcrumbs; });
610
+ __webpack_require__.d(__webpack_exports__, "DtBreadcrumbItem", function() { return /* reexport */ breadcrumb_item; });
611
+ __webpack_require__.d(__webpack_exports__, "BREADCRUMB_ITEM_SELECTED_MODIFIER", function() { return /* reexport */ BREADCRUMB_ITEM_SELECTED_MODIFIER; });
612
+ __webpack_require__.d(__webpack_exports__, "BREADCRUMBS_INVERTED_MODIFIER", function() { return /* reexport */ BREADCRUMBS_INVERTED_MODIFIER; });
605
613
  __webpack_require__.d(__webpack_exports__, "DtButton", function() { return /* reexport */ button_button; });
606
614
  __webpack_require__.d(__webpack_exports__, "DtInput", function() { return /* reexport */ input_input; });
607
615
  __webpack_require__.d(__webpack_exports__, "INPUT_TYPES", function() { return /* reexport */ INPUT_TYPES; });
@@ -631,6 +639,9 @@ __webpack_require__.d(__webpack_exports__, "DtCheckboxGroup", function() { retur
631
639
  __webpack_require__.d(__webpack_exports__, "DtSelectMenu", function() { return /* reexport */ select_menu; });
632
640
  __webpack_require__.d(__webpack_exports__, "SELECT_SIZE_MODIFIERS", function() { return /* reexport */ SELECT_SIZE_MODIFIERS; });
633
641
  __webpack_require__.d(__webpack_exports__, "SELECT_STATE_MODIFIERS", function() { return /* reexport */ SELECT_STATE_MODIFIERS; });
642
+ __webpack_require__.d(__webpack_exports__, "DtTooltip", function() { return /* reexport */ tooltip; });
643
+ __webpack_require__.d(__webpack_exports__, "TOOLTIP_DIRECTION_MODIFIERS", function() { return /* reexport */ TOOLTIP_DIRECTION_MODIFIERS; });
644
+ __webpack_require__.d(__webpack_exports__, "TOOLTIP_KIND_MODIFIERS", function() { return /* reexport */ TOOLTIP_KIND_MODIFIERS; });
634
645
  __webpack_require__.d(__webpack_exports__, "DtInputMixin", function() { return /* reexport */ InputMixin; });
635
646
  __webpack_require__.d(__webpack_exports__, "DtCheckableInputMixin", function() { return /* reexport */ CheckableMixin; });
636
647
  __webpack_require__.d(__webpack_exports__, "DtGroupableInputMixin", function() { return /* reexport */ GroupableMixin; });
@@ -660,34 +671,197 @@ if (typeof window !== 'undefined') {
660
671
  // Indicate to webpack that this file can be concatenated
661
672
  /* harmony default export */ var setPublicPath = (null);
662
673
 
663
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"31b17c73-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&
664
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{class:[
665
- 'd-badge',
666
- _vm.BADGE_COLOR_MODIFIERS[_vm.color] ],attrs:{"data-qa":"dt-badge"}},[_vm._t("default",[_vm._v(" "+_vm._s(_vm.text)+" ")])],2)}
674
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/avatar/avatar.vue?vue&type=template&id=3c007948&
675
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
676
+ 'd-avatar',
677
+ _vm.AVATAR_KIND_MODIFIERS[_vm.kind],
678
+ _vm.AVATAR_SIZE_MODIFIERS[_vm.size],
679
+ _vm.AVATAR_COLOR_MODIFIERS[_vm.color],
680
+ _vm.avatarClass ],attrs:{"id":_vm.id,"data-qa":"dt-avatar"}},[_vm._t("default",[_c('img',_vm._b({attrs:{"data-qa":"dt-avatar-image","alt":_vm.$attrs.alt}},'img',_vm.$attrs,false))])],2)}
667
681
  var staticRenderFns = []
668
682
 
669
683
 
670
- // CONCATENATED MODULE: ./components/badge/badge.vue?vue&type=template&id=8281dbe6&
684
+ // CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=template&id=3c007948&
671
685
 
672
- // CONCATENATED MODULE: ./components/badge/badge_constants.js
673
- const BADGE_COLOR_MODIFIERS = {
686
+ // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
687
+ var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
688
+ var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
689
+
690
+ // CONCATENATED MODULE: ./components/avatar/avatar_constants.js
691
+ const AVATAR_KIND_MODIFIERS = {
692
+ default: '',
693
+ icon: 'd-avatar--icon',
694
+ initials: 'd-avatar--initials'
695
+ };
696
+ const AVATAR_SIZE_MODIFIERS = {
697
+ sm: 'd-avatar--sm',
698
+ md: 'd-avatar--md',
699
+ lg: 'd-avatar--lg'
700
+ };
701
+ const AVATAR_COLOR_MODIFIERS = {
674
702
  base: '',
675
- 'black-700': 'd-badge--black-700',
676
- 'green-400': 'd-badge--green-400',
677
- 'orange-400': 'd-badge--orange-400',
678
- 'pink-300': 'd-badge--pink-300',
679
- 'pink-500': 'd-badge--pink-500',
680
- 'pink-600': 'd-badge--pink-600',
681
- 'pink-700': 'd-badge--pink-700',
682
- 'purple-100': 'd-badge--purple-100',
683
- 'purple-300': 'd-badge--purple-300',
684
- 'purple-500': 'd-badge--purple-500',
685
- 'purple-700': 'd-badge--purple-700',
686
- 'red-500': 'd-badge--red-500',
687
- white: 'd-badge--white',
688
- 'yellow-300': 'd-badge--yellow-300'
703
+ 'orange-200': 'd-avatar--orange-200',
704
+ 'orange-300': 'd-avatar--orange-300',
705
+ 'orange-400': 'd-avatar--orange-400',
706
+ 'orange-500': 'd-avatar--orange-500',
707
+ 'pink-300': 'd-avatar--pink-300',
708
+ 'pink-400': 'd-avatar--pink-400',
709
+ 'pink-500': 'd-avatar--pink-500',
710
+ 'pink-600': 'd-avatar--pink-600',
711
+ 'purple-200': 'd-avatar--purple-200',
712
+ 'purple-300': 'd-avatar--purple-300',
713
+ 'purple-500': 'd-avatar--purple-500',
714
+ 'purple-600': 'd-avatar--purple-600',
715
+ 'yellow-200': 'd-avatar--yellow-200',
716
+ 'yellow-300': 'd-avatar--yellow-300',
717
+ 'yellow-400': 'd-avatar--yellow-400',
718
+ 'yellow-500': 'd-avatar--yellow-500'
689
719
  };
690
- // 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/badge/badge.vue?vue&type=script&lang=js&
720
+ /* harmony default export */ var avatar_constants = ({
721
+ AVATAR_KIND_MODIFIERS,
722
+ AVATAR_SIZE_MODIFIERS,
723
+ AVATAR_COLOR_MODIFIERS
724
+ });
725
+ // CONCATENATED MODULE: ./components/constants.js
726
+ /* TODO: Move and sort these in a constants directory
727
+
728
+ Example:
729
+ constants/
730
+ forms.js
731
+ defaults.js
732
+ ...
733
+ */
734
+ // Types of messages, also dictates what is the current state of the input.
735
+ const VALIDATION_MESSAGE_TYPES = {
736
+ ERROR: 'error',
737
+ WARNING: 'warning',
738
+ SUCCESS: 'success'
739
+ }; // Description size variants
740
+
741
+ const DESCRIPTION_SIZE_TYPES = {
742
+ LARGE: 'lg',
743
+ EXTRA_LARGE: 'xl'
744
+ }; // Description size variants
745
+
746
+ const DESCRIPTION_SIZE_MODIFIERS = {
747
+ xs: '',
748
+ sm: '',
749
+ md: '',
750
+ lg: 'd-description--lg',
751
+ xl: 'd-description--xl'
752
+ }; // Label size variants
753
+
754
+ const LABEL_SIZE_MODIFIERS = {
755
+ xs: 'd-label--xs',
756
+ sm: 'd-label--sm',
757
+ md: '',
758
+ lg: 'd-label--lg',
759
+ xl: 'd-label--xl'
760
+ };
761
+ /*
762
+ * Any string message or message object in the messages prop that do not specify
763
+ * a 'type' attributes will default to 'DEFAULT_MESSAGE_TYPE'.
764
+ */
765
+
766
+ const DEFAULT_VALIDATION_MESSAGE_TYPE = VALIDATION_MESSAGE_TYPES.ERROR; // Default prefix used for ids
767
+
768
+ const DEFAULT_PREFIX = 'hs';
769
+ /* harmony default export */ var constants = ({
770
+ VALIDATION_MESSAGE_TYPES,
771
+ DESCRIPTION_SIZE_TYPES,
772
+ DEFAULT_VALIDATION_MESSAGE_TYPE,
773
+ DEFAULT_PREFIX
774
+ });
775
+ // CONCATENATED MODULE: ./components/utils.js
776
+
777
+ let UNIQUE_ID_COUNTER = 0; // selector to find focusable not hidden inputs
778
+
779
+ const FOCUSABLE_SELECTOR_NOT_HIDDEN = 'input:not([type=hidden]):not(:disabled)'; // selector to find focusable not disables elements
780
+
781
+ const FOCUSABLE_SELECTOR_NOT_DISABLED = 'select:not(:disabled),textarea:not(:disabled),button:not(:disabled)'; // // selector to find focusable not hidden and disabled elements
782
+
783
+ const FOCUSABLE_SELECTOR_NOT_HIDDEN_DISABLED = `${FOCUSABLE_SELECTOR_NOT_HIDDEN},${FOCUSABLE_SELECTOR_NOT_DISABLED}`; // selector to find focusable elements
784
+
785
+ const FOCUSABLE_SELECTOR = `a,frame,iframe,${FOCUSABLE_SELECTOR_NOT_HIDDEN_DISABLED},*[tabindex]`;
786
+ function getUniqueString(prefix = DEFAULT_PREFIX) {
787
+ return `${prefix}${UNIQUE_ID_COUNTER++}`;
788
+ }
789
+ function formatMessages(messages) {
790
+ if (!messages) {
791
+ return [];
792
+ }
793
+
794
+ return messages.map(message => {
795
+ if (typeof message === 'string') {
796
+ return {
797
+ message,
798
+ type: DEFAULT_VALIDATION_MESSAGE_TYPE
799
+ };
800
+ }
801
+
802
+ return message;
803
+ });
804
+ }
805
+ function filterFormattedMessages(formattedMessages) {
806
+ const validationState = getValidationState(formattedMessages);
807
+
808
+ if (!formattedMessages || !validationState) {
809
+ return [];
810
+ }
811
+
812
+ return formattedMessages.filter(message => message.type === validationState);
813
+ }
814
+ /*
815
+ * The priority order of message types is as flows: 'error' > 'warning' > 'success'.
816
+ * If any message of type 'error' is present in messages, the input state is considered
817
+ * to be 'error', then 'warning' and lastly 'success'.
818
+ */
819
+
820
+ function getValidationState(formattedMessages) {
821
+ if (!formattedMessages) {
822
+ return null;
823
+ }
824
+
825
+ if (hasFormattedMessageOfType(formattedMessages, VALIDATION_MESSAGE_TYPES.ERROR)) {
826
+ return VALIDATION_MESSAGE_TYPES.ERROR;
827
+ }
828
+
829
+ if (hasFormattedMessageOfType(formattedMessages, VALIDATION_MESSAGE_TYPES.WARNING)) {
830
+ return VALIDATION_MESSAGE_TYPES.WARNING;
831
+ }
832
+
833
+ if (hasFormattedMessageOfType(formattedMessages, VALIDATION_MESSAGE_TYPES.SUCCESS)) {
834
+ return VALIDATION_MESSAGE_TYPES.SUCCESS;
835
+ }
836
+
837
+ return null;
838
+ }
839
+ function hasFormattedMessageOfType(formattedMessages, messageType) {
840
+ if (!formattedMessages || !messageType) {
841
+ return false;
842
+ }
843
+
844
+ return formattedMessages.some(message => (message === null || message === void 0 ? void 0 : message.type) === messageType);
845
+ }
846
+ function findFirstFocusableNode(element) {
847
+ return element === null || element === void 0 ? void 0 : element.querySelector(FOCUSABLE_SELECTOR);
848
+ }
849
+ /* harmony default export */ var utils = ({
850
+ getUniqueString,
851
+ formatMessages,
852
+ filterFormattedMessages,
853
+ hasFormattedMessageOfType,
854
+ getValidationState
855
+ });
856
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/avatar/avatar.vue?vue&type=script&lang=js&
857
+ //
858
+ //
859
+ //
860
+ //
861
+ //
862
+ //
863
+ //
864
+ //
691
865
  //
692
866
  //
693
867
  //
@@ -704,36 +878,90 @@ const BADGE_COLOR_MODIFIERS = {
704
878
  //
705
879
  //
706
880
 
707
- /* harmony default export */ var badgevue_type_script_lang_js_ = ({
708
- name: 'DtBadge',
881
+
882
+
883
+ /* harmony default export */ var avatarvue_type_script_lang_js_ = ({
884
+ name: 'DtAvatar',
885
+ inheritAttrs: false,
709
886
  props: {
710
887
  /**
711
- * Text for the badge content
888
+ * Id of the avatar content wrapper element
712
889
  */
713
- text: {
890
+ id: {
714
891
  type: String,
715
- default: ''
892
+
893
+ default() {
894
+ return getUniqueString();
895
+ }
896
+
716
897
  },
717
898
 
718
899
  /**
719
- * Color for the badge background
900
+ * Applies variant class to the avatar
901
+ */
902
+ kind: {
903
+ type: String,
904
+ default: 'default',
905
+ validator: kind => Object.keys(AVATAR_KIND_MODIFIERS).includes(kind)
906
+ },
907
+
908
+ /**
909
+ * The size of the avatar
910
+ */
911
+ size: {
912
+ type: String,
913
+ default: 'md',
914
+ validator: size => Object.keys(AVATAR_SIZE_MODIFIERS).includes(size)
915
+ },
916
+
917
+ /**
918
+ * The color of the avatar
720
919
  */
721
920
  color: {
722
921
  type: String,
723
922
  default: 'base',
724
- validator: color => Object.keys(BADGE_COLOR_MODIFIERS).includes(color)
923
+ validator: color => Object.keys(AVATAR_COLOR_MODIFIERS).includes(color)
924
+ },
925
+
926
+ /**
927
+ * Used to customize the avatar container
928
+ */
929
+ avatarClass: {
930
+ type: [String, Array, Object],
931
+ default: ''
725
932
  }
726
933
  },
727
934
 
728
935
  data() {
729
936
  return {
730
- BADGE_COLOR_MODIFIERS: BADGE_COLOR_MODIFIERS
937
+ AVATAR_SIZE_MODIFIERS: AVATAR_SIZE_MODIFIERS,
938
+ AVATAR_COLOR_MODIFIERS: AVATAR_COLOR_MODIFIERS,
939
+ AVATAR_KIND_MODIFIERS: AVATAR_KIND_MODIFIERS
731
940
  };
732
- }
941
+ },
942
+
943
+ mounted() {
944
+ this.validateImageAttrsPresence();
945
+ },
733
946
 
947
+ beforeUpdate() {
948
+ this.validateImageAttrsPresence();
949
+ },
950
+
951
+ methods: {
952
+ validateImageAttrsPresence() {
953
+ if (this.kind === 'default' && !this.$slots.default) {
954
+ // Check that default slot image required attributes are provided
955
+ if (!this.$attrs.src || !this.$attrs.alt) {
956
+ external_commonjs_vue_commonjs2_vue_root_Vue_default.a.util.warn('src and alt attributes are required for image avatars', this);
957
+ }
958
+ }
959
+ }
960
+
961
+ }
734
962
  });
735
- // CONCATENATED MODULE: ./components/badge/badge.vue?vue&type=script&lang=js&
736
- /* harmony default export */ var badge_badgevue_type_script_lang_js_ = (badgevue_type_script_lang_js_);
963
+ // CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=script&lang=js&
964
+ /* harmony default export */ var avatar_avatarvue_type_script_lang_js_ = (avatarvue_type_script_lang_js_);
737
965
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
738
966
  /* globals __VUE_SSR_CONTEXT__ */
739
967
 
@@ -834,7 +1062,7 @@ function normalizeComponent (
834
1062
  }
835
1063
  }
836
1064
 
837
- // CONCATENATED MODULE: ./components/badge/badge.vue
1065
+ // CONCATENATED MODULE: ./components/avatar/avatar.vue
838
1066
 
839
1067
 
840
1068
 
@@ -843,7 +1071,7 @@ function normalizeComponent (
843
1071
  /* normalize component */
844
1072
 
845
1073
  var component = normalizeComponent(
846
- badge_badgevue_type_script_lang_js_,
1074
+ avatar_avatarvue_type_script_lang_js_,
847
1075
  render,
848
1076
  staticRenderFns,
849
1077
  false,
@@ -853,25 +1081,122 @@ var component = normalizeComponent(
853
1081
 
854
1082
  )
855
1083
 
856
- /* harmony default export */ var badge = (component.exports);
1084
+ /* harmony default export */ var avatar = (component.exports);
1085
+ // CONCATENATED MODULE: ./components/avatar/index.js
1086
+
1087
+
1088
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/badge/badge.vue?vue&type=template&id=8281dbe6&
1089
+ var badgevue_type_template_id_8281dbe6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{class:[
1090
+ 'd-badge',
1091
+ _vm.BADGE_COLOR_MODIFIERS[_vm.color] ],attrs:{"data-qa":"dt-badge"}},[_vm._t("default",[_vm._v(" "+_vm._s(_vm.text)+" ")])],2)}
1092
+ var badgevue_type_template_id_8281dbe6_staticRenderFns = []
1093
+
1094
+
1095
+ // CONCATENATED MODULE: ./components/badge/badge.vue?vue&type=template&id=8281dbe6&
1096
+
1097
+ // CONCATENATED MODULE: ./components/badge/badge_constants.js
1098
+ const BADGE_COLOR_MODIFIERS = {
1099
+ base: '',
1100
+ 'black-700': 'd-badge--black-700',
1101
+ 'green-400': 'd-badge--green-400',
1102
+ 'orange-400': 'd-badge--orange-400',
1103
+ 'pink-300': 'd-badge--pink-300',
1104
+ 'pink-500': 'd-badge--pink-500',
1105
+ 'pink-600': 'd-badge--pink-600',
1106
+ 'pink-700': 'd-badge--pink-700',
1107
+ 'purple-100': 'd-badge--purple-100',
1108
+ 'purple-300': 'd-badge--purple-300',
1109
+ 'purple-500': 'd-badge--purple-500',
1110
+ 'purple-700': 'd-badge--purple-700',
1111
+ 'red-500': 'd-badge--red-500',
1112
+ white: 'd-badge--white',
1113
+ 'yellow-300': 'd-badge--yellow-300'
1114
+ };
1115
+ // 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/badge/badge.vue?vue&type=script&lang=js&
1116
+ //
1117
+ //
1118
+ //
1119
+ //
1120
+ //
1121
+ //
1122
+ //
1123
+ //
1124
+ //
1125
+ //
1126
+ //
1127
+ //
1128
+ //
1129
+ //
1130
+ //
1131
+
1132
+ /* harmony default export */ var badgevue_type_script_lang_js_ = ({
1133
+ name: 'DtBadge',
1134
+ props: {
1135
+ /**
1136
+ * Text for the badge content
1137
+ */
1138
+ text: {
1139
+ type: String,
1140
+ default: ''
1141
+ },
1142
+
1143
+ /**
1144
+ * Color for the badge background
1145
+ */
1146
+ color: {
1147
+ type: String,
1148
+ default: 'base',
1149
+ validator: color => Object.keys(BADGE_COLOR_MODIFIERS).includes(color)
1150
+ }
1151
+ },
1152
+
1153
+ data() {
1154
+ return {
1155
+ BADGE_COLOR_MODIFIERS: BADGE_COLOR_MODIFIERS
1156
+ };
1157
+ }
1158
+
1159
+ });
1160
+ // CONCATENATED MODULE: ./components/badge/badge.vue?vue&type=script&lang=js&
1161
+ /* harmony default export */ var badge_badgevue_type_script_lang_js_ = (badgevue_type_script_lang_js_);
1162
+ // CONCATENATED MODULE: ./components/badge/badge.vue
1163
+
1164
+
1165
+
1166
+
1167
+
1168
+ /* normalize component */
1169
+
1170
+ var badge_component = normalizeComponent(
1171
+ badge_badgevue_type_script_lang_js_,
1172
+ badgevue_type_template_id_8281dbe6_render,
1173
+ badgevue_type_template_id_8281dbe6_staticRenderFns,
1174
+ false,
1175
+ null,
1176
+ null,
1177
+ null
1178
+
1179
+ )
1180
+
1181
+ /* harmony default export */ var badge = (badge_component.exports);
857
1182
  // CONCATENATED MODULE: ./components/badge/index.js
858
1183
 
859
1184
 
860
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"31b17c73-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/banner/banner.vue?vue&type=template&id=928dbcb4&
1185
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/banner/banner.vue?vue&type=template&id=928dbcb4&
861
1186
  var bannervue_type_template_id_928dbcb4_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)])}
862
1187
  var bannervue_type_template_id_928dbcb4_staticRenderFns = []
863
1188
 
864
1189
 
865
1190
  // CONCATENATED MODULE: ./components/banner/banner.vue?vue&type=template&id=928dbcb4&
866
1191
 
867
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"31b17c73-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&
1192
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-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&
868
1193
  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()}
869
1194
  var notice_iconvue_type_template_id_58ae40bb_staticRenderFns = []
870
1195
 
871
1196
 
872
1197
  // CONCATENATED MODULE: ./components/notice/notice_icon.vue?vue&type=template&id=58ae40bb&
873
1198
 
874
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"31b17c73-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&
1199
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-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&
875
1200
  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"}})])}
876
1201
  var IconLightbulbvue_type_template_id_07d1b1af_staticRenderFns = []
877
1202
 
@@ -897,7 +1222,7 @@ var IconLightbulb_component = normalizeComponent(
897
1222
  )
898
1223
 
899
1224
  /* harmony default export */ var IconLightbulb = (IconLightbulb_component.exports);
900
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"31b17c73-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&
1225
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-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&
901
1226
  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"}})])}
902
1227
  var IconInfovue_type_template_id_d1105ee6_staticRenderFns = []
903
1228
 
@@ -923,7 +1248,7 @@ var IconInfo_component = normalizeComponent(
923
1248
  )
924
1249
 
925
1250
  /* harmony default export */ var IconInfo = (IconInfo_component.exports);
926
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"31b17c73-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&
1251
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-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&
927
1252
  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"}})])}
928
1253
  var IconWarningvue_type_template_id_0a24defa_staticRenderFns = []
929
1254
 
@@ -949,7 +1274,7 @@ var IconWarning_component = normalizeComponent(
949
1274
  )
950
1275
 
951
1276
  /* harmony default export */ var IconWarning = (IconWarning_component.exports);
952
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"31b17c73-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&
1277
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-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&
953
1278
  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"}})])}
954
1279
  var IconErrorvue_type_template_id_4d9e3e9d_staticRenderFns = []
955
1280
 
@@ -975,7 +1300,7 @@ var IconError_component = normalizeComponent(
975
1300
  )
976
1301
 
977
1302
  /* harmony default export */ var IconError = (IconError_component.exports);
978
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"31b17c73-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&
1303
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-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&
979
1304
  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"}})])}
980
1305
  var IconCheckCirclevue_type_template_id_016c7d48_staticRenderFns = []
981
1306
 
@@ -1079,7 +1404,7 @@ var notice_icon_component = normalizeComponent(
1079
1404
  )
1080
1405
 
1081
1406
  /* harmony default export */ var notice_icon = (notice_icon_component.exports);
1082
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"31b17c73-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=4ce704f6&
1407
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-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=4ce704f6&
1083
1408
  var notice_contentvue_type_template_id_4ce704f6_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('h1',{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)])}
1084
1409
  var notice_contentvue_type_template_id_4ce704f6_staticRenderFns = []
1085
1410
 
@@ -1151,14 +1476,14 @@ var notice_content_component = normalizeComponent(
1151
1476
  )
1152
1477
 
1153
1478
  /* harmony default export */ var notice_content = (notice_content_component.exports);
1154
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"31b17c73-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=279e5f84&
1479
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-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=279e5f84&
1155
1480
  var notice_actionvue_type_template_id_279e5f84_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)}
1156
1481
  var notice_actionvue_type_template_id_279e5f84_staticRenderFns = []
1157
1482
 
1158
1483
 
1159
1484
  // CONCATENATED MODULE: ./components/notice/notice_action.vue?vue&type=template&id=279e5f84&
1160
1485
 
1161
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"31b17c73-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&
1486
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-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&
1162
1487
  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"}})])}
1163
1488
  var IconClosevue_type_template_id_18642c39_staticRenderFns = []
1164
1489
 
@@ -1184,16 +1509,17 @@ var IconClose_component = normalizeComponent(
1184
1509
  )
1185
1510
 
1186
1511
  /* harmony default export */ var IconClose = (IconClose_component.exports);
1187
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"31b17c73-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=5e4841a0&
1188
- var buttonvue_type_template_id_5e4841a0_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',_vm._g({class:['base-button__button', _vm.buttonClasses],attrs:{"data-qa":"dt-button","type":_vm.type,"aria-live":_vm.computedAriaLive,"aria-label":_vm.loading ? 'loading' : _vm.$attrs['aria-label']}},_vm.buttonListeners),[(_vm.$slots.icon && !_vm.link)?_c('span',{class:['base-button__icon', _vm.iconClasses],attrs:{"data-qa":"dt-button-icon"}},[_vm._t("icon")],2):_vm._e(),_c('span',{class:['base-button__label', 'd-btn__label'],attrs:{"data-qa":"dt-button-label"}},[_vm._t("default")],2)])}
1189
- var buttonvue_type_template_id_5e4841a0_staticRenderFns = []
1190
-
1512
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-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=50f25d54&
1513
+ var buttonvue_type_template_id_50f25d54_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',_vm._g({class:[
1514
+ 'base-button__button',
1515
+ _vm.buttonClasses ],attrs:{"data-qa":"dt-button","type":_vm.type,"aria-live":_vm.computedAriaLive,"aria-label":_vm.loading ? 'loading' : _vm.$attrs['aria-label']}},_vm.buttonListeners),[(_vm.$slots.icon && !_vm.link)?_c('span',{class:[
1516
+ 'base-button__icon',
1517
+ 'd-btn__icon',
1518
+ _vm.ICON_POSITION_MODIFIERS[_vm.iconPosition] ],attrs:{"data-qa":"dt-button-icon"}},[_vm._t("icon")],2):_vm._e(),_c('span',{class:['base-button__label', 'd-btn__label'],attrs:{"data-qa":"dt-button-label"}},[_vm._t("default")],2)])}
1519
+ var buttonvue_type_template_id_50f25d54_staticRenderFns = []
1191
1520
 
1192
- // CONCATENATED MODULE: ./components/button/button.vue?vue&type=template&id=5e4841a0&
1193
1521
 
1194
- // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
1195
- var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
1196
- var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
1522
+ // CONCATENATED MODULE: ./components/button/button.vue?vue&type=template&id=50f25d54&
1197
1523
 
1198
1524
  // CONCATENATED MODULE: ./components/button/button_constants.js
1199
1525
  const BUTTON_SIZE_MODIFIERS = {
@@ -1292,6 +1618,13 @@ const LINK_KIND_MODIFIERS = {
1292
1618
  //
1293
1619
  //
1294
1620
  //
1621
+ //
1622
+ //
1623
+ //
1624
+ //
1625
+ //
1626
+ //
1627
+ //
1295
1628
 
1296
1629
 
1297
1630
 
@@ -1414,6 +1747,7 @@ const LINK_KIND_MODIFIERS = {
1414
1747
 
1415
1748
  data() {
1416
1749
  return {
1750
+ ICON_POSITION_MODIFIERS: ICON_POSITION_MODIFIERS,
1417
1751
  // whether the button is currently in focus
1418
1752
  isInFocus: false
1419
1753
  };
@@ -1448,10 +1782,6 @@ const LINK_KIND_MODIFIERS = {
1448
1782
  'd-btn--circle': this.circle,
1449
1783
  'd-btn--loading': this.loading
1450
1784
  }];
1451
- },
1452
-
1453
- iconClasses() {
1454
- return ['d-btn__icon', ICON_POSITION_MODIFIERS[this.iconPosition]];
1455
1785
  }
1456
1786
 
1457
1787
  },
@@ -1497,8 +1827,8 @@ const LINK_KIND_MODIFIERS = {
1497
1827
 
1498
1828
  var button_component = normalizeComponent(
1499
1829
  button_buttonvue_type_script_lang_js_,
1500
- buttonvue_type_template_id_5e4841a0_render,
1501
- buttonvue_type_template_id_5e4841a0_staticRenderFns,
1830
+ buttonvue_type_template_id_50f25d54_render,
1831
+ buttonvue_type_template_id_50f25d54_staticRenderFns,
1502
1832
  false,
1503
1833
  null,
1504
1834
  null,
@@ -1683,147 +2013,27 @@ const focusableElementsList = `button:${nonFocusableAttrs},
1683
2013
  const focusableElements = this._getFocusableElements(el);
1684
2014
 
1685
2015
  if (!focusableElements.length) {
1686
- return;
1687
- }
1688
-
1689
- const firstFocusableElement = this._getFirstFocusElement(focusableElements);
1690
-
1691
- const lastFocusableElement = focusableElements[focusableElements.length - 1];
1692
-
1693
- if (e.shiftKey) {
1694
- if (document.activeElement === firstFocusableElement) {
1695
- lastFocusableElement.focus();
1696
- e.preventDefault();
1697
- }
1698
- } else {
1699
- if (document.activeElement === lastFocusableElement) {
1700
- firstFocusableElement.focus();
1701
- e.preventDefault();
1702
- }
1703
- }
1704
- }
1705
-
1706
- }
1707
- });
1708
- // CONCATENATED MODULE: ./components/constants.js
1709
- /* TODO: Move and sort these in a constants directory
1710
-
1711
- Example:
1712
- constants/
1713
- forms.js
1714
- defaults.js
1715
- ...
1716
- */
1717
- // Types of messages, also dictates what is the current state of the input.
1718
- const VALIDATION_MESSAGE_TYPES = {
1719
- ERROR: 'error',
1720
- WARNING: 'warning',
1721
- SUCCESS: 'success'
1722
- }; // Description size variants
1723
-
1724
- const DESCRIPTION_SIZE_TYPES = {
1725
- LARGE: 'lg',
1726
- EXTRA_LARGE: 'xl'
1727
- }; // Description size variants
1728
-
1729
- const DESCRIPTION_SIZE_MODIFIERS = {
1730
- xs: '',
1731
- sm: '',
1732
- md: '',
1733
- lg: 'd-description--lg',
1734
- xl: 'd-description--xl'
1735
- }; // Label size variants
1736
-
1737
- const LABEL_SIZE_MODIFIERS = {
1738
- xs: 'd-label--xs',
1739
- sm: 'd-label--sm',
1740
- md: '',
1741
- lg: 'd-label--lg',
1742
- xl: 'd-label--xl'
1743
- };
1744
- /*
1745
- * Any string message or message object in the messages prop that do not specify
1746
- * a 'type' attributes will default to 'DEFAULT_MESSAGE_TYPE'.
1747
- */
1748
-
1749
- const DEFAULT_VALIDATION_MESSAGE_TYPE = VALIDATION_MESSAGE_TYPES.ERROR; // Default prefix used for ids
1750
-
1751
- const DEFAULT_PREFIX = 'hs';
1752
- /* harmony default export */ var constants = ({
1753
- VALIDATION_MESSAGE_TYPES,
1754
- DESCRIPTION_SIZE_TYPES,
1755
- DEFAULT_VALIDATION_MESSAGE_TYPE,
1756
- DEFAULT_PREFIX
1757
- });
1758
- // CONCATENATED MODULE: ./components/utils.js
1759
-
1760
- let UNIQUE_ID_COUNTER = 0;
1761
- function getUniqueString(prefix = DEFAULT_PREFIX) {
1762
- return `${prefix}${UNIQUE_ID_COUNTER++}`;
1763
- }
1764
- function formatMessages(messages) {
1765
- if (!messages) {
1766
- return [];
1767
- }
1768
-
1769
- return messages.map(message => {
1770
- if (typeof message === 'string') {
1771
- return {
1772
- message,
1773
- type: DEFAULT_VALIDATION_MESSAGE_TYPE
1774
- };
1775
- }
1776
-
1777
- return message;
1778
- });
1779
- }
1780
- function filterFormattedMessages(formattedMessages) {
1781
- const validationState = getValidationState(formattedMessages);
1782
-
1783
- if (!formattedMessages || !validationState) {
1784
- return [];
1785
- }
1786
-
1787
- return formattedMessages.filter(message => message.type === validationState);
1788
- }
1789
- /*
1790
- * The priority order of message types is as flows: 'error' > 'warning' > 'success'.
1791
- * If any message of type 'error' is present in messages, the input state is considered
1792
- * to be 'error', then 'warning' and lastly 'success'.
1793
- */
1794
-
1795
- function getValidationState(formattedMessages) {
1796
- if (!formattedMessages) {
1797
- return null;
1798
- }
2016
+ return;
2017
+ }
1799
2018
 
1800
- if (hasFormattedMessageOfType(formattedMessages, VALIDATION_MESSAGE_TYPES.ERROR)) {
1801
- return VALIDATION_MESSAGE_TYPES.ERROR;
1802
- }
2019
+ const firstFocusableElement = this._getFirstFocusElement(focusableElements);
1803
2020
 
1804
- if (hasFormattedMessageOfType(formattedMessages, VALIDATION_MESSAGE_TYPES.WARNING)) {
1805
- return VALIDATION_MESSAGE_TYPES.WARNING;
1806
- }
2021
+ const lastFocusableElement = focusableElements[focusableElements.length - 1];
1807
2022
 
1808
- if (hasFormattedMessageOfType(formattedMessages, VALIDATION_MESSAGE_TYPES.SUCCESS)) {
1809
- return VALIDATION_MESSAGE_TYPES.SUCCESS;
1810
- }
2023
+ if (e.shiftKey) {
2024
+ if (document.activeElement === firstFocusableElement) {
2025
+ lastFocusableElement.focus();
2026
+ e.preventDefault();
2027
+ }
2028
+ } else {
2029
+ if (document.activeElement === lastFocusableElement) {
2030
+ firstFocusableElement.focus();
2031
+ e.preventDefault();
2032
+ }
2033
+ }
2034
+ }
1811
2035
 
1812
- return null;
1813
- }
1814
- function hasFormattedMessageOfType(formattedMessages, messageType) {
1815
- if (!formattedMessages || !messageType) {
1816
- return false;
1817
2036
  }
1818
-
1819
- return formattedMessages.some(message => (message === null || message === void 0 ? void 0 : message.type) === messageType);
1820
- }
1821
- /* harmony default export */ var utils = ({
1822
- getUniqueString,
1823
- formatMessages,
1824
- filterFormattedMessages,
1825
- hasFormattedMessageOfType,
1826
- getValidationState
1827
2037
  });
1828
2038
  // 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/banner/banner.vue?vue&type=script&lang=js&
1829
2039
  //
@@ -2017,12 +2227,302 @@ var banner_component = normalizeComponent(
2017
2227
 
2018
2228
  )
2019
2229
 
2020
- /* harmony default export */ var banner = (banner_component.exports);
2021
- // CONCATENATED MODULE: ./components/banner/index.js
2230
+ /* harmony default export */ var banner = (banner_component.exports);
2231
+ // CONCATENATED MODULE: ./components/banner/index.js
2232
+
2233
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-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=7014ef1a&
2234
+ var breadcrumbsvue_type_template_id_7014ef1a_render = function () {
2235
+ var _obj;
2236
+ var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',{class:[
2237
+ 'd-breadcrumbs',
2238
+ ( _obj = {}, _obj[_vm.BREADCRUMBS_INVERTED_MODIFIER] = _vm.inverted, _obj ) ]},[_c('ol',[_vm._t("default",_vm._l((_vm.breadcrumbs),function(item,index){return _c('dt-breadcrumb-item',_vm._b({key:_vm.getBreadcrumbItemKey(index),attrs:{"inverted":_vm.inverted}},'dt-breadcrumb-item',item,false))}))],2)])}
2239
+ var breadcrumbsvue_type_template_id_7014ef1a_staticRenderFns = []
2240
+
2241
+
2242
+ // CONCATENATED MODULE: ./components/breadcrumbs/breadcrumbs.vue?vue&type=template&id=7014ef1a&
2243
+
2244
+ // CONCATENATED MODULE: ./components/breadcrumbs/breadcrumbs_constants.js
2245
+ const BREADCRUMB_ITEM_SELECTED_MODIFIER = 'd-breadcrumbs__item--selected';
2246
+ const BREADCRUMBS_INVERTED_MODIFIER = 'd-breadcrumbs--inverted';
2247
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-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=ac7e1df4&
2248
+ var breadcrumb_itemvue_type_template_id_ac7e1df4_render = function () {
2249
+ var _obj;
2250
+ var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{class:[
2251
+ 'd-breadcrumbs__item',
2252
+ ( _obj = {}, _obj[_vm.BREADCRUMB_ITEM_SELECTED_MODIFIER] = _vm.selected, _obj ) ]},[_c('dt-link',_vm._b({attrs:{"kind":_vm.linkKind,"aria-current":_vm.ariaCurrent,"data-qa":"breadcrumb-item"}},'dt-link',_vm.$attrs,false),[_vm._t("default",[_vm._v(" "+_vm._s(_vm.label)+" ")])],2)],1)}
2253
+ var breadcrumb_itemvue_type_template_id_ac7e1df4_staticRenderFns = []
2254
+
2255
+
2256
+ // CONCATENATED MODULE: ./components/breadcrumbs/breadcrumb_item.vue?vue&type=template&id=ac7e1df4&
2257
+
2258
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-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=6af78110&
2259
+ var linkvue_type_template_id_6af78110_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{class:[
2260
+ 'd-link',
2261
+ _vm.LINK_KIND_MODIFIERS[_vm.kind] ],attrs:{"data-qa":"dt-link"}},[_vm._t("default")],2)}
2262
+ var linkvue_type_template_id_6af78110_staticRenderFns = []
2263
+
2264
+
2265
+ // CONCATENATED MODULE: ./components/link/link.vue?vue&type=template&id=6af78110&
2266
+
2267
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/link/link.vue?vue&type=script&lang=js&
2268
+ //
2269
+ //
2270
+ //
2271
+ //
2272
+ //
2273
+ //
2274
+ //
2275
+ //
2276
+ //
2277
+ //
2278
+ //
2279
+ //
2280
+
2281
+ /* harmony default export */ var linkvue_type_script_lang_js_ = ({
2282
+ name: 'DtLink',
2283
+ props: {
2284
+ /**
2285
+ * Applies the link variant styles
2286
+ */
2287
+ kind: {
2288
+ type: String,
2289
+ default: '',
2290
+
2291
+ validator(kind) {
2292
+ return LINK_VARIANTS.includes(kind);
2293
+ }
2294
+
2295
+ }
2296
+ },
2297
+
2298
+ data() {
2299
+ return {
2300
+ LINK_KIND_MODIFIERS: LINK_KIND_MODIFIERS
2301
+ };
2302
+ }
2303
+
2304
+ });
2305
+ // CONCATENATED MODULE: ./components/link/link.vue?vue&type=script&lang=js&
2306
+ /* harmony default export */ var link_linkvue_type_script_lang_js_ = (linkvue_type_script_lang_js_);
2307
+ // CONCATENATED MODULE: ./components/link/link.vue
2308
+
2309
+
2310
+
2311
+
2312
+
2313
+ /* normalize component */
2314
+
2315
+ var link_component = normalizeComponent(
2316
+ link_linkvue_type_script_lang_js_,
2317
+ linkvue_type_template_id_6af78110_render,
2318
+ linkvue_type_template_id_6af78110_staticRenderFns,
2319
+ false,
2320
+ null,
2321
+ null,
2322
+ null
2323
+
2324
+ )
2325
+
2326
+ /* harmony default export */ var link_link = (link_component.exports);
2327
+ // CONCATENATED MODULE: ./components/link/index.js
2328
+
2329
+
2330
+ // 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/breadcrumbs/breadcrumb_item.vue?vue&type=script&lang=js&
2331
+ //
2332
+ //
2333
+ //
2334
+ //
2335
+ //
2336
+ //
2337
+ //
2338
+ //
2339
+ //
2340
+ //
2341
+ //
2342
+ //
2343
+ //
2344
+ //
2345
+ //
2346
+ //
2347
+ //
2348
+ //
2349
+ //
2350
+ //
2351
+ //
2352
+
2353
+
2354
+
2355
+ /* harmony default export */ var breadcrumb_itemvue_type_script_lang_js_ = ({
2356
+ name: 'DtBreadcrumbItem',
2357
+ components: {
2358
+ DtLink: link_link
2359
+ },
2360
+ inheritAttrs: false,
2361
+ props: {
2362
+ /**
2363
+ * Applies the inverted styles to the link
2364
+ */
2365
+ inverted: {
2366
+ type: Boolean,
2367
+ default: false
2368
+ },
2369
+
2370
+ /**
2371
+ * Applies selected styles to the breadcrumb
2372
+ */
2373
+ selected: {
2374
+ type: Boolean,
2375
+ default: false
2376
+ },
2377
+
2378
+ /**
2379
+ * Describes the breadcrumb. Overridden by default slot
2380
+ * */
2381
+ label: {
2382
+ type: String,
2383
+ default: ''
2384
+ }
2385
+ },
2386
+
2387
+ data() {
2388
+ return {
2389
+ BREADCRUMB_ITEM_SELECTED_MODIFIER: BREADCRUMB_ITEM_SELECTED_MODIFIER
2390
+ };
2391
+ },
2392
+
2393
+ computed: {
2394
+ linkKind() {
2395
+ return this.inverted ? INVERTED : MUTED;
2396
+ },
2397
+
2398
+ ariaCurrent() {
2399
+ return this.selected ? 'location' : undefined;
2400
+ }
2401
+
2402
+ }
2403
+ });
2404
+ // CONCATENATED MODULE: ./components/breadcrumbs/breadcrumb_item.vue?vue&type=script&lang=js&
2405
+ /* harmony default export */ var breadcrumbs_breadcrumb_itemvue_type_script_lang_js_ = (breadcrumb_itemvue_type_script_lang_js_);
2406
+ // CONCATENATED MODULE: ./components/breadcrumbs/breadcrumb_item.vue
2407
+
2408
+
2409
+
2410
+
2411
+
2412
+ /* normalize component */
2413
+
2414
+ var breadcrumb_item_component = normalizeComponent(
2415
+ breadcrumbs_breadcrumb_itemvue_type_script_lang_js_,
2416
+ breadcrumb_itemvue_type_template_id_ac7e1df4_render,
2417
+ breadcrumb_itemvue_type_template_id_ac7e1df4_staticRenderFns,
2418
+ false,
2419
+ null,
2420
+ null,
2421
+ null
2422
+
2423
+ )
2424
+
2425
+ /* harmony default export */ var breadcrumb_item = (breadcrumb_item_component.exports);
2426
+ // 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/breadcrumbs/breadcrumbs.vue?vue&type=script&lang=js&
2427
+ //
2428
+ //
2429
+ //
2430
+ //
2431
+ //
2432
+ //
2433
+ //
2434
+ //
2435
+ //
2436
+ //
2437
+ //
2438
+ //
2439
+ //
2440
+ //
2441
+ //
2442
+ //
2443
+ //
2444
+ //
2445
+ //
2446
+ //
2447
+ //
2448
+
2449
+
2450
+
2451
+ /* harmony default export */ var breadcrumbsvue_type_script_lang_js_ = ({
2452
+ name: 'DtBreadcrumbs',
2453
+ components: {
2454
+ DtBreadcrumbItem: breadcrumb_item
2455
+ },
2456
+ props: {
2457
+ /**
2458
+ * A provided list of breadcrumbs. Overridden by default slot
2459
+ */
2460
+ breadcrumbs: {
2461
+ type: Array,
2462
+ default: () => [],
2463
+
2464
+ validate(breadcrumbs) {
2465
+ return breadcrumbs.every(({
2466
+ href,
2467
+ label
2468
+ }) => {
2469
+ return href !== undefined && label !== undefined;
2470
+ });
2471
+ }
2472
+
2473
+ },
2474
+
2475
+ /**
2476
+ * Passed through to link. If true, applies inverted styles to the link.
2477
+ */
2478
+ inverted: {
2479
+ type: Boolean,
2480
+ default: false
2481
+ }
2482
+ },
2483
+
2484
+ data() {
2485
+ return {
2486
+ BREADCRUMBS_INVERTED_MODIFIER: BREADCRUMBS_INVERTED_MODIFIER
2487
+ };
2488
+ },
2489
+
2490
+ methods: {
2491
+ getBreadcrumbItemKey(index) {
2492
+ return `breadcrumbs-item-${index}-${utils.getUniqueString()}`;
2493
+ }
2494
+
2495
+ }
2496
+ });
2497
+ // CONCATENATED MODULE: ./components/breadcrumbs/breadcrumbs.vue?vue&type=script&lang=js&
2498
+ /* harmony default export */ var breadcrumbs_breadcrumbsvue_type_script_lang_js_ = (breadcrumbsvue_type_script_lang_js_);
2499
+ // CONCATENATED MODULE: ./components/breadcrumbs/breadcrumbs.vue
2500
+
2501
+
2502
+
2503
+
2504
+
2505
+ /* normalize component */
2506
+
2507
+ var breadcrumbs_component = normalizeComponent(
2508
+ breadcrumbs_breadcrumbsvue_type_script_lang_js_,
2509
+ breadcrumbsvue_type_template_id_7014ef1a_render,
2510
+ breadcrumbsvue_type_template_id_7014ef1a_staticRenderFns,
2511
+ false,
2512
+ null,
2513
+ null,
2514
+ null
2515
+
2516
+ )
2517
+
2518
+ /* harmony default export */ var breadcrumbs = (breadcrumbs_component.exports);
2519
+ // CONCATENATED MODULE: ./components/breadcrumbs/index.js
2520
+
2521
+
2022
2522
 
2023
2523
  // CONCATENATED MODULE: ./components/button/index.js
2024
2524
 
2025
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"31b17c73-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=4e7e7271&
2525
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-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=4e7e7271&
2026
2526
  var inputvue_type_template_id_4e7e7271_render = function () {
2027
2527
  var _obj, _obj$1;
2028
2528
  var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"container",staticClass:"base-input",attrs:{"data-qa":"dt-input"}},[_c('label',{staticClass:"base-input__label",attrs:{"aria-details":_vm.$slots.description || _vm.description ? _vm.descriptionKey : undefined,"data-qa":"dt-input-label-wrapper"}},[_vm._t("labelSlot",[_c('div',{class:[
@@ -2058,7 +2558,7 @@ const INPUT_SIZES = {
2058
2558
  INPUT_TYPES,
2059
2559
  INPUT_SIZES
2060
2560
  });
2061
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"31b17c73-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/validation_messages/validation_messages.vue?vue&type=template&id=37c959ef&
2561
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/validation_messages/validation_messages.vue?vue&type=template&id=37c959ef&
2062
2562
  var validation_messagesvue_type_template_id_37c959ef_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showMessages && !_vm.isFilteredValidationMessagesEmpty)?_c('div',{staticClass:"base-input__messages d-d-flex d-fd-column",attrs:{"data-qa":"validation-messages-container"}},_vm._l((_vm.filteredValidationMessages),function(ref,index){
2063
2563
  var message = ref.message;
2064
2564
  var type = ref.type;
@@ -2828,7 +3328,7 @@ var input_component = normalizeComponent(
2828
3328
  // CONCATENATED MODULE: ./components/input/index.js
2829
3329
 
2830
3330
 
2831
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"31b17c73-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&
3331
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-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&
2832
3332
  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)}
2833
3333
  var input_groupvue_type_template_id_34acc7c9_staticRenderFns = []
2834
3334
 
@@ -3123,23 +3623,27 @@ var input_group_component = normalizeComponent(
3123
3623
  /* harmony default export */ var input_group_input_group = (input_group_component.exports);
3124
3624
  // CONCATENATED MODULE: ./components/input_group/index.js
3125
3625
 
3126
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"31b17c73-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/modal/modal.vue?vue&type=template&id=7d597133&
3127
- var modalvue_type_template_id_7d597133_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.modalClasses,attrs:{"data-qa":"dt-modal","aria-hidden":_vm.open},on:{"click":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.close($event)},"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"esc",27,$event.key,["Esc","Escape"])){ return null; }return _vm.close($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"tab",9,$event.key,"Tab")){ return null; }return _vm.trapFocus($event)}],"transitionend":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.setFocusAfterTransition($event)}}},[_c('div',{staticClass:"d-modal__dialog",attrs:{"role":"dialog","aria-modal":"true","aria-describedby":_vm.describedById,"aria-labelledby":_vm.labelledById}},[(_vm.$slots.header)?_c('div',{staticClass:"d-modal__header",attrs:{"id":_vm.labelledById,"data-qa":"dt-modal-title"}},[_vm._t("header")],2):_c('h2',{staticClass:"d-modal__header",attrs:{"id":_vm.labelledById,"data-qa":"dt-modal-title"}},[_vm._v(" "+_vm._s(_vm.title)+" ")]),_c('dt-button',_vm._b({staticClass:"d-modal__close",attrs:{"circle":"","size":"lg","importance":"clear","aria-label":_vm.closeButtonProps.ariaLabel,"kind":_vm.kind},on:{"click":_vm.close},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('icon-close')]},proxy:true}])},'dt-button',_vm.closeButtonProps,false)),(_vm.$slots.default)?_c('div',{staticClass:"d-modal__content",attrs:{"data-qa":"dt-modal-copy"}},[_vm._t("default")],2):_c('p',{staticClass:"d-modal__content",attrs:{"data-qa":"dt-modal-copy"}},[_vm._v(" "+_vm._s(_vm.copy)+" ")]),(_vm.hasFooterSlot)?_c('footer',{staticClass:"d-modal__footer"},[_vm._t("footer")],2):_vm._e()],1)])}
3128
- var modalvue_type_template_id_7d597133_staticRenderFns = []
3626
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-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=055b70f4&
3627
+ var modalvue_type_template_id_055b70f4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
3628
+ 'd-modal',
3629
+ _vm.MODAL_KIND_MODIFIERS[_vm.kind],
3630
+ _vm.MODAL_SIZE_MODIFIERS[_vm.size],
3631
+ _vm.modalClass ],attrs:{"data-qa":"dt-modal","aria-hidden":_vm.open},on:{"click":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.close($event)},"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"esc",27,$event.key,["Esc","Escape"])){ return null; }return _vm.close($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"tab",9,$event.key,"Tab")){ return null; }return _vm.trapFocus($event)}],"transitionend":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.setFocusAfterTransition($event)}}},[_c('div',{staticClass:"d-modal__dialog",attrs:{"role":"dialog","aria-modal":"true","aria-describedby":_vm.describedById,"aria-labelledby":_vm.labelledById}},[(_vm.$slots.header)?_c('div',{staticClass:"d-modal__header",attrs:{"id":_vm.labelledById,"data-qa":"dt-modal-title"}},[_vm._t("header")],2):_c('h2',{staticClass:"d-modal__header",attrs:{"id":_vm.labelledById,"data-qa":"dt-modal-title"}},[_vm._v(" "+_vm._s(_vm.title)+" ")]),_c('dt-button',_vm._b({staticClass:"d-modal__close",attrs:{"circle":"","size":"lg","importance":"clear","aria-label":_vm.closeButtonProps.ariaLabel,"kind":_vm.kind},on:{"click":_vm.close},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('icon-close')]},proxy:true}])},'dt-button',_vm.closeButtonProps,false)),(_vm.$slots.default)?_c('div',{staticClass:"d-modal__content",attrs:{"data-qa":"dt-modal-copy"}},[_vm._t("default")],2):_c('p',{staticClass:"d-modal__content",attrs:{"data-qa":"dt-modal-copy"}},[_vm._v(" "+_vm._s(_vm.copy)+" ")]),(_vm.hasFooterSlot)?_c('footer',{staticClass:"d-modal__footer"},[_vm._t("footer")],2):_vm._e()],1)])}
3632
+ var modalvue_type_template_id_055b70f4_staticRenderFns = []
3129
3633
 
3130
3634
 
3131
- // CONCATENATED MODULE: ./components/modal/modal.vue?vue&type=template&id=7d597133&
3635
+ // CONCATENATED MODULE: ./components/modal/modal.vue?vue&type=template&id=055b70f4&
3132
3636
 
3133
3637
  // CONCATENATED MODULE: ./components/modal/modal_constants.js
3134
3638
  // Modal style modifiers
3135
3639
  const MODAL_KIND_MODIFIERS = {
3136
3640
  default: '',
3137
- danger: 'danger'
3641
+ danger: 'd-modal--danger'
3138
3642
  }; // Modal size modifiers
3139
3643
 
3140
3644
  const MODAL_SIZE_MODIFIERS = {
3141
3645
  default: '',
3142
- full: 'full'
3646
+ full: 'd-modal--full'
3143
3647
  };
3144
3648
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/modal/modal.vue?vue&type=script&lang=js&
3145
3649
  //
@@ -3216,6 +3720,11 @@ const MODAL_SIZE_MODIFIERS = {
3216
3720
  //
3217
3721
  //
3218
3722
  //
3723
+ //
3724
+ //
3725
+ //
3726
+ //
3727
+ //
3219
3728
 
3220
3729
 
3221
3730
 
@@ -3295,8 +3804,8 @@ const MODAL_SIZE_MODIFIERS = {
3295
3804
  */
3296
3805
  kind: {
3297
3806
  type: String,
3298
- default: '',
3299
- validator: k => Object.values(MODAL_KIND_MODIFIERS).includes(k)
3807
+ default: 'default',
3808
+ validator: k => Object.keys(MODAL_KIND_MODIFIERS).includes(k)
3300
3809
  },
3301
3810
 
3302
3811
  /**
@@ -3306,8 +3815,8 @@ const MODAL_SIZE_MODIFIERS = {
3306
3815
  */
3307
3816
  size: {
3308
3817
  type: String,
3309
- default: '',
3310
- validator: s => Object.values(MODAL_SIZE_MODIFIERS).includes(s)
3818
+ default: 'default',
3819
+ validator: s => Object.keys(MODAL_SIZE_MODIFIERS).includes(s)
3311
3820
  },
3312
3821
 
3313
3822
  /**
@@ -3320,6 +3829,14 @@ const MODAL_SIZE_MODIFIERS = {
3320
3829
  default: ''
3321
3830
  }
3322
3831
  },
3832
+
3833
+ data() {
3834
+ return {
3835
+ MODAL_KIND_MODIFIERS: MODAL_KIND_MODIFIERS,
3836
+ MODAL_SIZE_MODIFIERS: MODAL_SIZE_MODIFIERS
3837
+ };
3838
+ },
3839
+
3323
3840
  computed: {
3324
3841
  open() {
3325
3842
  return `${!this.show}`;
@@ -3327,14 +3844,6 @@ const MODAL_SIZE_MODIFIERS = {
3327
3844
 
3328
3845
  hasFooterSlot() {
3329
3846
  return !!this.$slots.footer;
3330
- },
3331
-
3332
- modalClasses() {
3333
- return [{
3334
- 'd-modal': true,
3335
- [`d-modal--${this.kind}`]: this.kind,
3336
- [`d-modal--${this.size}`]: this.size
3337
- }, this.modalClass];
3338
3847
  }
3339
3848
 
3340
3849
  },
@@ -3395,8 +3904,8 @@ const MODAL_SIZE_MODIFIERS = {
3395
3904
 
3396
3905
  var modal_component = normalizeComponent(
3397
3906
  modal_modalvue_type_script_lang_js_,
3398
- modalvue_type_template_id_7d597133_render,
3399
- modalvue_type_template_id_7d597133_staticRenderFns,
3907
+ modalvue_type_template_id_055b70f4_render,
3908
+ modalvue_type_template_id_055b70f4_staticRenderFns,
3400
3909
  false,
3401
3910
  null,
3402
3911
  null,
@@ -3408,7 +3917,7 @@ var modal_component = normalizeComponent(
3408
3917
  // CONCATENATED MODULE: ./components/modal/index.js
3409
3918
 
3410
3919
 
3411
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"31b17c73-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/lazy_show/lazy_show.vue?vue&type=template&id=25b42290&
3920
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/lazy_show/lazy_show.vue?vue&type=template&id=25b42290&
3412
3921
  var lazy_showvue_type_template_id_25b42290_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"name":_vm.transition}},[_c('div',_vm._g({directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}]},_vm.$listeners),[(_vm.initialized)?_vm._t("default"):_vm._e()],2)])}
3413
3922
  var lazy_showvue_type_template_id_25b42290_staticRenderFns = []
3414
3923
 
@@ -3491,7 +4000,7 @@ var lazy_show_component = normalizeComponent(
3491
4000
  /* harmony default export */ var lazy_show = (lazy_show_component.exports);
3492
4001
  // CONCATENATED MODULE: ./components/lazy_show/index.js
3493
4002
 
3494
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"31b17c73-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/list_section/list_section.vue?vue&type=template&id=2154a8d5&
4003
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/list_section/list_section.vue?vue&type=template&id=2154a8d5&
3495
4004
  var list_sectionvue_type_template_id_2154a8d5_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['dt-list-section', 'd-fs14', 'd-lh6', 'd-py6', 'd-border-color--ash-darker',
3496
4005
  { 'd-border-bottom': _vm.separator }],attrs:{"id":_vm.id,"role":"group","aria-labelledby":(_vm.id + "-list-section-header"),"tabindex":"-1"}},[(_vm.header)?_c('h3',{staticClass:"d-pl16 d-mt6",attrs:{"id":(_vm.id + "-list-section-header")}},[_vm._v(" "+_vm._s(_vm.header)+" ")]):_vm._e(),(!_vm.isCollapsible || _vm.showAll)?_c('ol',{attrs:{"id":(_vm.id + "-list-section-content")}},[_vm._t("default")],2):_c('ol',{attrs:{"id":(_vm.id + "-list-section-content")}},[_c('vnodes',{attrs:{"vnodes":_vm.displayedItems}})],1),(_vm.isCollapsible)?_c('dt-button',{staticClass:"d-ml16 d-py6",attrs:{"id":(_vm.id + "-list-section-show-more-less"),"link":""},on:{"click":_vm.showMoreLessClicked}},[_vm._v(" "+_vm._s(_vm.showMoreLessText)+" ")]):_vm._e()],1)}
3497
4006
  var list_sectionvue_type_template_id_2154a8d5_staticRenderFns = []
@@ -3670,7 +4179,7 @@ var list_section_component = normalizeComponent(
3670
4179
  /* harmony default export */ var list_section = (list_section_component.exports);
3671
4180
  // CONCATENATED MODULE: ./components/list_section/index.js
3672
4181
 
3673
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"31b17c73-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/list_item/list_item.vue?vue&type=template&id=6b1bb1b9&
4182
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/list_item/list_item.vue?vue&type=template&id=6b1bb1b9&
3674
4183
  var list_itemvue_type_template_id_6b1bb1b9_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{class:['dt-list-item', 'd-fs14', 'd-lh6', 'd-py6', 'd-px16', 'd-d-flex', 'd-ai-center',
3675
4184
  { 'dt-list-item-clickable': _vm.clickable, 'd-jc-space-between': this.$slots.iconRight }],attrs:{"id":_vm.id,"tabindex":_vm.clickable ? 0 : -1},on:{"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.clicked($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"space",32,$event.key,[" ","Spacebar"])){ return null; }return _vm.clicked($event)}],"click":_vm.clicked}},[_vm._t("iconLeft"),_vm._t("default"),_vm._t("iconRight")],2)}
3676
4185
  var list_itemvue_type_template_id_6b1bb1b9_staticRenderFns = []
@@ -3756,79 +4265,7 @@ var list_item_component = normalizeComponent(
3756
4265
  /* harmony default export */ var list_item = (list_item_component.exports);
3757
4266
  // CONCATENATED MODULE: ./components/list_item/index.js
3758
4267
 
3759
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"31b17c73-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=6af78110&
3760
- var linkvue_type_template_id_6af78110_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{class:[
3761
- 'd-link',
3762
- _vm.LINK_KIND_MODIFIERS[_vm.kind] ],attrs:{"data-qa":"dt-link"}},[_vm._t("default")],2)}
3763
- var linkvue_type_template_id_6af78110_staticRenderFns = []
3764
-
3765
-
3766
- // CONCATENATED MODULE: ./components/link/link.vue?vue&type=template&id=6af78110&
3767
-
3768
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/link/link.vue?vue&type=script&lang=js&
3769
- //
3770
- //
3771
- //
3772
- //
3773
- //
3774
- //
3775
- //
3776
- //
3777
- //
3778
- //
3779
- //
3780
- //
3781
-
3782
- /* harmony default export */ var linkvue_type_script_lang_js_ = ({
3783
- name: 'DtLink',
3784
- props: {
3785
- /**
3786
- * Applies the link variant styles
3787
- */
3788
- kind: {
3789
- type: String,
3790
- default: '',
3791
-
3792
- validator(kind) {
3793
- return LINK_VARIANTS.includes(kind);
3794
- }
3795
-
3796
- }
3797
- },
3798
-
3799
- data() {
3800
- return {
3801
- LINK_KIND_MODIFIERS: LINK_KIND_MODIFIERS
3802
- };
3803
- }
3804
-
3805
- });
3806
- // CONCATENATED MODULE: ./components/link/link.vue?vue&type=script&lang=js&
3807
- /* harmony default export */ var link_linkvue_type_script_lang_js_ = (linkvue_type_script_lang_js_);
3808
- // CONCATENATED MODULE: ./components/link/link.vue
3809
-
3810
-
3811
-
3812
-
3813
-
3814
- /* normalize component */
3815
-
3816
- var link_component = normalizeComponent(
3817
- link_linkvue_type_script_lang_js_,
3818
- linkvue_type_template_id_6af78110_render,
3819
- linkvue_type_template_id_6af78110_staticRenderFns,
3820
- false,
3821
- null,
3822
- null,
3823
- null
3824
-
3825
- )
3826
-
3827
- /* harmony default export */ var link_link = (link_component.exports);
3828
- // CONCATENATED MODULE: ./components/link/index.js
3829
-
3830
-
3831
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"31b17c73-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=40200ccc&
4268
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-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=40200ccc&
3832
4269
  var noticevue_type_template_id_40200ccc_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)}
3833
4270
  var noticevue_type_template_id_40200ccc_staticRenderFns = []
3834
4271
 
@@ -3999,7 +4436,7 @@ var notice_component = normalizeComponent(
3999
4436
  // CONCATENATED MODULE: ./components/notice/index.js
4000
4437
 
4001
4438
 
4002
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"31b17c73-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/popover/popover.vue?vue&type=template&id=ec1d0844&
4439
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/popover/popover.vue?vue&type=template&id=ec1d0844&
4003
4440
  var popovervue_type_template_id_ec1d0844_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.elementType,{directives:[{name:"click-outside",rawName:"v-click-outside",value:(function () { return _vm.close('click-outside'); }),expression:"() => close('click-outside')"}],tag:"component",staticClass:"d-p-relative dt-popover"},[_c('div',{ref:"anchor",attrs:{"id":!_vm.ariaLabelledby && _vm.labelledBy}},[_vm._t("anchor",null,{"attrs":{
4004
4441
  'aria-expanded': _vm.open.toString(),
4005
4442
  'aria-controls': _vm.id,
@@ -4403,7 +4840,7 @@ var popover_component = normalizeComponent(
4403
4840
  // CONCATENATED MODULE: ./components/popover/index.js
4404
4841
 
4405
4842
 
4406
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"31b17c73-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/radio/radio.vue?vue&type=template&id=7572bdc7&
4843
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/radio/radio.vue?vue&type=template&id=7572bdc7&
4407
4844
  var radiovue_type_template_id_7572bdc7_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('label',[_c('div',{class:['d-radio-group', { 'd-radio-group--disabled': _vm.internalDisabled }]},[_c('div',{staticClass:"d-radio__input"},[_c('input',_vm._g(_vm._b({class:['d-radio', _vm.inputValidationClass, _vm.inputClass],attrs:{"name":_vm.internalName,"disabled":_vm.internalDisabled,"type":"radio"},domProps:{"checked":_vm.internalChecked,"value":_vm.value}},'input',_vm.$attrs,false),_vm.inputListeners))]),_c('div',{staticClass:"d-radio__copy d-radio__label",attrs:{"data-qa":"radio-label-description-container"}},[_c('div',_vm._b({class:_vm.labelClass,attrs:{"data-qa":"radio-label"}},'div',_vm.labelChildProps,false),[_vm._t("default",[_vm._v(_vm._s(_vm.label))])],2),(_vm.$slots.description || _vm.description)?_c('div',_vm._b({class:['d-radio__description', _vm.descriptionValidationClass, _vm.descriptionClass],attrs:{"data-qa":"radio-description"}},'div',_vm.descriptionChildProps,false),[_vm._t("description",[_vm._v(_vm._s(_vm.description))])],2):_vm._e(),_c('dt-validation-messages',_vm._b({class:_vm.messagesClass,attrs:{"validation-messages":_vm.formattedMessages,"show-messages":_vm.showMessages,"data-qa":"dt-radio-validation-messages"}},'dt-validation-messages',_vm.messagesChildProps,false))],1)])])}
4408
4845
  var radiovue_type_template_id_7572bdc7_staticRenderFns = []
4409
4846
 
@@ -4673,7 +5110,7 @@ var radio_group_component = normalizeComponent(
4673
5110
  /* harmony default export */ var radio_group = (radio_group_component.exports);
4674
5111
  // CONCATENATED MODULE: ./components/radio_group/index.js
4675
5112
 
4676
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"31b17c73-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/checkbox/checkbox.vue?vue&type=template&id=13edc8c6&
5113
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/checkbox/checkbox.vue?vue&type=template&id=13edc8c6&
4677
5114
  var checkboxvue_type_template_id_13edc8c6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('label',[_c('div',{class:['d-checkbox-group', { 'd-checkbox-group--disabled': _vm.internalDisabled }]},[_c('div',{staticClass:"d-checkbox__input"},[_c('input',_vm._g(_vm._b({class:['d-checkbox', _vm.inputValidationClass, _vm.inputClass],attrs:{"type":"checkbox","name":_vm.internalName,"disabled":_vm.internalDisabled},domProps:{"checked":_vm.internalChecked,"value":_vm.value}},'input',_vm.$attrs,false),_vm.inputListeners))]),_c('div',{staticClass:"d-checkbox__copy d-checkbox__label",attrs:{"data-qa":"checkbox-label-description-container"}},[_c('div',_vm._b({class:_vm.labelClass,attrs:{"data-qa":"checkbox-label"}},'div',_vm.labelChildProps,false),[_vm._t("default",[_vm._v(_vm._s(_vm.label))])],2),(_vm.$slots.description || _vm.description)?_c('div',_vm._b({class:['d-checkbox__description', _vm.descriptionValidationClass, _vm.descriptionClass],attrs:{"data-qa":"checkbox-description"}},'div',_vm.descriptionChildProps,false),[_vm._t("description",[_vm._v(_vm._s(_vm.description))])],2):_vm._e(),_c('dt-validation-messages',_vm._b({class:_vm.messagesClass,attrs:{"validation-messages":_vm.formattedMessages,"show-messages":_vm.showMessages,"data-qa":"dt-checkbox-validation-messages"}},'dt-validation-messages',_vm.messagesChildProps,false))],1)])])}
4678
5115
  var checkboxvue_type_template_id_13edc8c6_staticRenderFns = []
4679
5116
 
@@ -4970,7 +5407,7 @@ var checkbox_group_component = normalizeComponent(
4970
5407
  /* harmony default export */ var checkbox_group = (checkbox_group_component.exports);
4971
5408
  // CONCATENATED MODULE: ./components/checkbox_group/index.js
4972
5409
 
4973
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"31b17c73-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=7efee0c6&
5410
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-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=7efee0c6&
4974
5411
  var select_menuvue_type_template_id_7efee0c6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('label',[_c('div',_vm._b({class:[
4975
5412
  'd-label',
4976
5413
  _vm.LABEL_SIZE_MODIFIERS[_vm.size],
@@ -5335,6 +5772,262 @@ var select_menu_component = normalizeComponent(
5335
5772
  // CONCATENATED MODULE: ./components/select_menu/index.js
5336
5773
 
5337
5774
 
5775
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6427f18c-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=32b3102c&
5776
+ var tooltipvue_type_template_id_32b3102c_render = function () {
5777
+ var _obj;
5778
+ var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-tooltip-container",attrs:{"data-qa":"dt-tooltip-container"},on:{"!focus":function($event){return _vm.onFocus($event)},"!blur":function($event){return _vm.onBlur($event)},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"esc",27,$event.key,["Esc","Escape"])){ return null; }return _vm.onEsc($event)},"mouseover":_vm.onHover,"mouseleave":_vm.onBlur}},[_c('div',_vm._b({class:[
5779
+ 'd-ps-absolute',
5780
+ 'd-tooltip',
5781
+ ("d-tooltip__arrow--" + _vm.arrowDirection),
5782
+ _vm.TOOLTIP_KIND_MODIFIERS[_vm.shouldShowTooltip ? 'show' : 'hide'],
5783
+ ( _obj = {}, _obj[ _vm.TOOLTIP_KIND_MODIFIERS.hover ] = _vm.shouldHasHoverModifier, _obj[ _vm.TOOLTIP_KIND_MODIFIERS.inverted ] = _vm.inverted, _obj ) ],attrs:{"id":_vm.id,"data-qa":"dt-tooltip","role":"tooltip","aria-hidden":_vm.ariaHidden}},'div',_vm.$attrs,false),[_vm._t("default",[_vm._v(" "+_vm._s(_vm.message)+" ")])],2),_c('div',{ref:"anchor",attrs:{"data-qa":"dt-tooltip-anchor"}},[_vm._t("anchor")],2)])}
5784
+ var tooltipvue_type_template_id_32b3102c_staticRenderFns = []
5785
+
5786
+
5787
+ // CONCATENATED MODULE: ./components/tooltip/tooltip.vue?vue&type=template&id=32b3102c&
5788
+
5789
+ // CONCATENATED MODULE: ./components/tooltip/tooltip_constants.js
5790
+ const TOOLTIP_DIRECTION_MODIFIERS = ['top-left', 'top-center', 'top-right', 'right-top', 'right-center', 'right-bottom', 'bottom-left', 'bottom-center', 'bottom-right', 'left-top', 'left-center', 'left-bottom'];
5791
+ const TOOLTIP_KIND_MODIFIERS = {
5792
+ hover: `d-tooltip--hover`,
5793
+ show: `d-tooltip--show`,
5794
+ inverted: `d-tooltip--inverted`,
5795
+ hide: `d-tooltip--hide`
5796
+ };
5797
+ // 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/tooltip/tooltip.vue?vue&type=script&lang=js&
5798
+ //
5799
+ //
5800
+ //
5801
+ //
5802
+ //
5803
+ //
5804
+ //
5805
+ //
5806
+ //
5807
+ //
5808
+ //
5809
+ //
5810
+ //
5811
+ //
5812
+ //
5813
+ //
5814
+ //
5815
+ //
5816
+ //
5817
+ //
5818
+ //
5819
+ //
5820
+ //
5821
+ //
5822
+ //
5823
+ //
5824
+ //
5825
+ //
5826
+ //
5827
+ //
5828
+ //
5829
+ //
5830
+ //
5831
+ //
5832
+ //
5833
+ //
5834
+ //
5835
+ //
5836
+ //
5837
+ //
5838
+ //
5839
+ //
5840
+
5841
+
5842
+ /* harmony default export */ var tooltipvue_type_script_lang_js_ = ({
5843
+ name: 'DtTooltip',
5844
+ inheritAttrs: false,
5845
+ props: {
5846
+ /**
5847
+ * The id of the tooltip
5848
+ */
5849
+ id: {
5850
+ type: String,
5851
+
5852
+ default() {
5853
+ return getUniqueString();
5854
+ }
5855
+
5856
+ },
5857
+
5858
+ /**
5859
+ * A provided message for the tooltip content
5860
+ */
5861
+ message: {
5862
+ type: String,
5863
+ default: ''
5864
+ },
5865
+
5866
+ /**
5867
+ * Describes the preferred placement of the tooltip
5868
+ */
5869
+ arrowDirection: {
5870
+ type: String,
5871
+ default: 'bottom-center',
5872
+
5873
+ validator(direction) {
5874
+ return TOOLTIP_DIRECTION_MODIFIERS.includes(direction);
5875
+ }
5876
+
5877
+ },
5878
+
5879
+ /**
5880
+ * Whether the tooltip should be shown. Anchor can sync on this value
5881
+ * by tooltip wrapper to control the tooltip's visibility.
5882
+ */
5883
+ show: {
5884
+ type: Boolean,
5885
+ default: false
5886
+ },
5887
+
5888
+ /**
5889
+ * Mode of tooltip to control the tooltip's visibility.
5890
+ */
5891
+ hover: {
5892
+ type: Boolean,
5893
+ default: true
5894
+ },
5895
+
5896
+ /**
5897
+ * Add inverted class
5898
+ */
5899
+ inverted: {
5900
+ type: Boolean,
5901
+ default: false
5902
+ },
5903
+
5904
+ /**
5905
+ * This property is needed for focus event
5906
+ */
5907
+ tabIndex: {
5908
+ type: String,
5909
+ default: '0'
5910
+ }
5911
+ },
5912
+
5913
+ data() {
5914
+ return {
5915
+ isHover: false,
5916
+ // is hovered local state
5917
+ isDismissed: false,
5918
+ // is dismissed (for ex. escape key pressed) local state
5919
+ isChildFocused: false,
5920
+ // is child element focused local state
5921
+ anchorTabIndex: '-1',
5922
+ // anchor is not tabbable by default
5923
+ TOOLTIP_KIND_MODIFIERS: TOOLTIP_KIND_MODIFIERS
5924
+ };
5925
+ },
5926
+
5927
+ computed: {
5928
+ isTooltipVisible() {
5929
+ if (this.isDismissed) {
5930
+ return false;
5931
+ }
5932
+
5933
+ return this.hover ? this.isHover : this.show;
5934
+ },
5935
+
5936
+ shouldShowTooltip() {
5937
+ return this.isTooltipVisible || this.isChildFocused;
5938
+ },
5939
+
5940
+ shouldHasHoverModifier() {
5941
+ return this.hover && !this.isDismissed && !this.isChildFocused;
5942
+ },
5943
+
5944
+ shouldHasShowModifier() {
5945
+ return this.isChildFocused;
5946
+ },
5947
+
5948
+ ariaHidden() {
5949
+ return `${!this.isTooltipVisible}`;
5950
+ }
5951
+
5952
+ },
5953
+
5954
+ mounted() {
5955
+ this.initAttributes();
5956
+ },
5957
+
5958
+ beforeUpdate() {
5959
+ this.initAttributes();
5960
+ },
5961
+
5962
+ methods: {
5963
+ initAttributes() {
5964
+ if (this.hasFocusableAnchorNode()) {
5965
+ var _this$$refs$anchor, _this$$refs$anchor$ch;
5966
+
5967
+ /* TODO: In the future we might want to refine this to apply the appropriate aria attrs given the child element
5968
+ * type.
5969
+ */
5970
+ // Add aria description to each anchored child
5971
+ (_this$$refs$anchor = this.$refs.anchor) === null || _this$$refs$anchor === void 0 ? void 0 : (_this$$refs$anchor$ch = _this$$refs$anchor.children) === null || _this$$refs$anchor$ch === void 0 ? void 0 : _this$$refs$anchor$ch.forEach(child => {
5972
+ child.setAttribute('aria-describedby', this.id);
5973
+ });
5974
+ } else {
5975
+ this.$refs.anchor.setAttribute('tabIndex', this.tabIndex);
5976
+ this.$refs.anchor.setAttribute('aria-describedby', this.id);
5977
+ }
5978
+ },
5979
+
5980
+ hasFocusableAnchorNode() {
5981
+ return !!findFirstFocusableNode(this.$refs.anchor);
5982
+ },
5983
+
5984
+ onFocus() {
5985
+ this.onHover();
5986
+ this.isChildFocused = true;
5987
+ },
5988
+
5989
+ onHover() {
5990
+ this.isHover = true;
5991
+ },
5992
+
5993
+ onBlur() {
5994
+ this.isHover = false;
5995
+ this.isDismissed = false;
5996
+ this.isChildFocused = false;
5997
+ },
5998
+
5999
+ onEsc() {
6000
+ this.isDismissed = this.hover && this.isHover || !this.show;
6001
+ this.isChildFocused = false;
6002
+ }
6003
+
6004
+ }
6005
+ });
6006
+ // CONCATENATED MODULE: ./components/tooltip/tooltip.vue?vue&type=script&lang=js&
6007
+ /* harmony default export */ var tooltip_tooltipvue_type_script_lang_js_ = (tooltipvue_type_script_lang_js_);
6008
+ // CONCATENATED MODULE: ./components/tooltip/tooltip.vue
6009
+
6010
+
6011
+
6012
+
6013
+
6014
+ /* normalize component */
6015
+
6016
+ var tooltip_component = normalizeComponent(
6017
+ tooltip_tooltipvue_type_script_lang_js_,
6018
+ tooltipvue_type_template_id_32b3102c_render,
6019
+ tooltipvue_type_template_id_32b3102c_staticRenderFns,
6020
+ false,
6021
+ null,
6022
+ null,
6023
+ null
6024
+
6025
+ )
6026
+
6027
+ /* harmony default export */ var tooltip = (tooltip_component.exports);
6028
+ // CONCATENATED MODULE: ./components/tooltip/index.js
6029
+
6030
+
5338
6031
  // CONCATENATED MODULE: ./components/mixins/index.js
5339
6032
 
5340
6033
 
@@ -5357,6 +6050,9 @@ var select_menu_component = normalizeComponent(
5357
6050
 
5358
6051
 
5359
6052
 
6053
+
6054
+
6055
+
5360
6056
  // Mixins
5361
6057
 
5362
6058
  // Constants