@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.
@@ -590,9 +590,17 @@ var update = add("572d8ba2", content, true, {"sourceMap":false,"shadowMode":fals
590
590
  __webpack_require__.r(__webpack_exports__);
591
591
 
592
592
  // EXPORTS
593
+ __webpack_require__.d(__webpack_exports__, "DtAvatar", function() { return /* reexport */ avatar; });
594
+ __webpack_require__.d(__webpack_exports__, "AVATAR_SIZE_MODIFIERS", function() { return /* reexport */ AVATAR_SIZE_MODIFIERS; });
595
+ __webpack_require__.d(__webpack_exports__, "AVATAR_KIND_MODIFIERS", function() { return /* reexport */ AVATAR_KIND_MODIFIERS; });
596
+ __webpack_require__.d(__webpack_exports__, "AVATAR_COLOR_MODIFIERS", function() { return /* reexport */ AVATAR_COLOR_MODIFIERS; });
593
597
  __webpack_require__.d(__webpack_exports__, "DtBadge", function() { return /* reexport */ badge; });
594
598
  __webpack_require__.d(__webpack_exports__, "BADGE_COLOR_MODIFIERS", function() { return /* reexport */ BADGE_COLOR_MODIFIERS; });
595
599
  __webpack_require__.d(__webpack_exports__, "DtBanner", function() { return /* reexport */ banner; });
600
+ __webpack_require__.d(__webpack_exports__, "DtBreadcrumbs", function() { return /* reexport */ breadcrumbs; });
601
+ __webpack_require__.d(__webpack_exports__, "DtBreadcrumbItem", function() { return /* reexport */ breadcrumb_item; });
602
+ __webpack_require__.d(__webpack_exports__, "BREADCRUMB_ITEM_SELECTED_MODIFIER", function() { return /* reexport */ BREADCRUMB_ITEM_SELECTED_MODIFIER; });
603
+ __webpack_require__.d(__webpack_exports__, "BREADCRUMBS_INVERTED_MODIFIER", function() { return /* reexport */ BREADCRUMBS_INVERTED_MODIFIER; });
596
604
  __webpack_require__.d(__webpack_exports__, "DtButton", function() { return /* reexport */ button_button; });
597
605
  __webpack_require__.d(__webpack_exports__, "DtInput", function() { return /* reexport */ input_input; });
598
606
  __webpack_require__.d(__webpack_exports__, "INPUT_TYPES", function() { return /* reexport */ INPUT_TYPES; });
@@ -622,6 +630,9 @@ __webpack_require__.d(__webpack_exports__, "DtCheckboxGroup", function() { retur
622
630
  __webpack_require__.d(__webpack_exports__, "DtSelectMenu", function() { return /* reexport */ select_menu; });
623
631
  __webpack_require__.d(__webpack_exports__, "SELECT_SIZE_MODIFIERS", function() { return /* reexport */ SELECT_SIZE_MODIFIERS; });
624
632
  __webpack_require__.d(__webpack_exports__, "SELECT_STATE_MODIFIERS", function() { return /* reexport */ SELECT_STATE_MODIFIERS; });
633
+ __webpack_require__.d(__webpack_exports__, "DtTooltip", function() { return /* reexport */ tooltip; });
634
+ __webpack_require__.d(__webpack_exports__, "TOOLTIP_DIRECTION_MODIFIERS", function() { return /* reexport */ TOOLTIP_DIRECTION_MODIFIERS; });
635
+ __webpack_require__.d(__webpack_exports__, "TOOLTIP_KIND_MODIFIERS", function() { return /* reexport */ TOOLTIP_KIND_MODIFIERS; });
625
636
  __webpack_require__.d(__webpack_exports__, "DtInputMixin", function() { return /* reexport */ InputMixin; });
626
637
  __webpack_require__.d(__webpack_exports__, "DtCheckableInputMixin", function() { return /* reexport */ CheckableMixin; });
627
638
  __webpack_require__.d(__webpack_exports__, "DtGroupableInputMixin", function() { return /* reexport */ GroupableMixin; });
@@ -651,34 +662,197 @@ if (typeof window !== 'undefined') {
651
662
  // Indicate to webpack that this file can be concatenated
652
663
  /* harmony default export */ var setPublicPath = (null);
653
664
 
654
- // 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&
655
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{class:[
656
- 'd-badge',
657
- _vm.BADGE_COLOR_MODIFIERS[_vm.color] ],attrs:{"data-qa":"dt-badge"}},[_vm._t("default",[_vm._v(" "+_vm._s(_vm.text)+" ")])],2)}
665
+ // 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&
666
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
667
+ 'd-avatar',
668
+ _vm.AVATAR_KIND_MODIFIERS[_vm.kind],
669
+ _vm.AVATAR_SIZE_MODIFIERS[_vm.size],
670
+ _vm.AVATAR_COLOR_MODIFIERS[_vm.color],
671
+ _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)}
658
672
  var staticRenderFns = []
659
673
 
660
674
 
661
- // CONCATENATED MODULE: ./components/badge/badge.vue?vue&type=template&id=8281dbe6&
675
+ // CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=template&id=3c007948&
662
676
 
663
- // CONCATENATED MODULE: ./components/badge/badge_constants.js
664
- const BADGE_COLOR_MODIFIERS = {
677
+ // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
678
+ var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
679
+ var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
680
+
681
+ // CONCATENATED MODULE: ./components/avatar/avatar_constants.js
682
+ const AVATAR_KIND_MODIFIERS = {
683
+ default: '',
684
+ icon: 'd-avatar--icon',
685
+ initials: 'd-avatar--initials'
686
+ };
687
+ const AVATAR_SIZE_MODIFIERS = {
688
+ sm: 'd-avatar--sm',
689
+ md: 'd-avatar--md',
690
+ lg: 'd-avatar--lg'
691
+ };
692
+ const AVATAR_COLOR_MODIFIERS = {
665
693
  base: '',
666
- 'black-700': 'd-badge--black-700',
667
- 'green-400': 'd-badge--green-400',
668
- 'orange-400': 'd-badge--orange-400',
669
- 'pink-300': 'd-badge--pink-300',
670
- 'pink-500': 'd-badge--pink-500',
671
- 'pink-600': 'd-badge--pink-600',
672
- 'pink-700': 'd-badge--pink-700',
673
- 'purple-100': 'd-badge--purple-100',
674
- 'purple-300': 'd-badge--purple-300',
675
- 'purple-500': 'd-badge--purple-500',
676
- 'purple-700': 'd-badge--purple-700',
677
- 'red-500': 'd-badge--red-500',
678
- white: 'd-badge--white',
679
- 'yellow-300': 'd-badge--yellow-300'
694
+ 'orange-200': 'd-avatar--orange-200',
695
+ 'orange-300': 'd-avatar--orange-300',
696
+ 'orange-400': 'd-avatar--orange-400',
697
+ 'orange-500': 'd-avatar--orange-500',
698
+ 'pink-300': 'd-avatar--pink-300',
699
+ 'pink-400': 'd-avatar--pink-400',
700
+ 'pink-500': 'd-avatar--pink-500',
701
+ 'pink-600': 'd-avatar--pink-600',
702
+ 'purple-200': 'd-avatar--purple-200',
703
+ 'purple-300': 'd-avatar--purple-300',
704
+ 'purple-500': 'd-avatar--purple-500',
705
+ 'purple-600': 'd-avatar--purple-600',
706
+ 'yellow-200': 'd-avatar--yellow-200',
707
+ 'yellow-300': 'd-avatar--yellow-300',
708
+ 'yellow-400': 'd-avatar--yellow-400',
709
+ 'yellow-500': 'd-avatar--yellow-500'
680
710
  };
681
- // 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&
711
+ /* harmony default export */ var avatar_constants = ({
712
+ AVATAR_KIND_MODIFIERS,
713
+ AVATAR_SIZE_MODIFIERS,
714
+ AVATAR_COLOR_MODIFIERS
715
+ });
716
+ // CONCATENATED MODULE: ./components/constants.js
717
+ /* TODO: Move and sort these in a constants directory
718
+
719
+ Example:
720
+ constants/
721
+ forms.js
722
+ defaults.js
723
+ ...
724
+ */
725
+ // Types of messages, also dictates what is the current state of the input.
726
+ const VALIDATION_MESSAGE_TYPES = {
727
+ ERROR: 'error',
728
+ WARNING: 'warning',
729
+ SUCCESS: 'success'
730
+ }; // Description size variants
731
+
732
+ const DESCRIPTION_SIZE_TYPES = {
733
+ LARGE: 'lg',
734
+ EXTRA_LARGE: 'xl'
735
+ }; // Description size variants
736
+
737
+ const DESCRIPTION_SIZE_MODIFIERS = {
738
+ xs: '',
739
+ sm: '',
740
+ md: '',
741
+ lg: 'd-description--lg',
742
+ xl: 'd-description--xl'
743
+ }; // Label size variants
744
+
745
+ const LABEL_SIZE_MODIFIERS = {
746
+ xs: 'd-label--xs',
747
+ sm: 'd-label--sm',
748
+ md: '',
749
+ lg: 'd-label--lg',
750
+ xl: 'd-label--xl'
751
+ };
752
+ /*
753
+ * Any string message or message object in the messages prop that do not specify
754
+ * a 'type' attributes will default to 'DEFAULT_MESSAGE_TYPE'.
755
+ */
756
+
757
+ const DEFAULT_VALIDATION_MESSAGE_TYPE = VALIDATION_MESSAGE_TYPES.ERROR; // Default prefix used for ids
758
+
759
+ const DEFAULT_PREFIX = 'hs';
760
+ /* harmony default export */ var constants = ({
761
+ VALIDATION_MESSAGE_TYPES,
762
+ DESCRIPTION_SIZE_TYPES,
763
+ DEFAULT_VALIDATION_MESSAGE_TYPE,
764
+ DEFAULT_PREFIX
765
+ });
766
+ // CONCATENATED MODULE: ./components/utils.js
767
+
768
+ let UNIQUE_ID_COUNTER = 0; // selector to find focusable not hidden inputs
769
+
770
+ const FOCUSABLE_SELECTOR_NOT_HIDDEN = 'input:not([type=hidden]):not(:disabled)'; // selector to find focusable not disables elements
771
+
772
+ const FOCUSABLE_SELECTOR_NOT_DISABLED = 'select:not(:disabled),textarea:not(:disabled),button:not(:disabled)'; // // selector to find focusable not hidden and disabled elements
773
+
774
+ const FOCUSABLE_SELECTOR_NOT_HIDDEN_DISABLED = `${FOCUSABLE_SELECTOR_NOT_HIDDEN},${FOCUSABLE_SELECTOR_NOT_DISABLED}`; // selector to find focusable elements
775
+
776
+ const FOCUSABLE_SELECTOR = `a,frame,iframe,${FOCUSABLE_SELECTOR_NOT_HIDDEN_DISABLED},*[tabindex]`;
777
+ function getUniqueString(prefix = DEFAULT_PREFIX) {
778
+ return `${prefix}${UNIQUE_ID_COUNTER++}`;
779
+ }
780
+ function formatMessages(messages) {
781
+ if (!messages) {
782
+ return [];
783
+ }
784
+
785
+ return messages.map(message => {
786
+ if (typeof message === 'string') {
787
+ return {
788
+ message,
789
+ type: DEFAULT_VALIDATION_MESSAGE_TYPE
790
+ };
791
+ }
792
+
793
+ return message;
794
+ });
795
+ }
796
+ function filterFormattedMessages(formattedMessages) {
797
+ const validationState = getValidationState(formattedMessages);
798
+
799
+ if (!formattedMessages || !validationState) {
800
+ return [];
801
+ }
802
+
803
+ return formattedMessages.filter(message => message.type === validationState);
804
+ }
805
+ /*
806
+ * The priority order of message types is as flows: 'error' > 'warning' > 'success'.
807
+ * If any message of type 'error' is present in messages, the input state is considered
808
+ * to be 'error', then 'warning' and lastly 'success'.
809
+ */
810
+
811
+ function getValidationState(formattedMessages) {
812
+ if (!formattedMessages) {
813
+ return null;
814
+ }
815
+
816
+ if (hasFormattedMessageOfType(formattedMessages, VALIDATION_MESSAGE_TYPES.ERROR)) {
817
+ return VALIDATION_MESSAGE_TYPES.ERROR;
818
+ }
819
+
820
+ if (hasFormattedMessageOfType(formattedMessages, VALIDATION_MESSAGE_TYPES.WARNING)) {
821
+ return VALIDATION_MESSAGE_TYPES.WARNING;
822
+ }
823
+
824
+ if (hasFormattedMessageOfType(formattedMessages, VALIDATION_MESSAGE_TYPES.SUCCESS)) {
825
+ return VALIDATION_MESSAGE_TYPES.SUCCESS;
826
+ }
827
+
828
+ return null;
829
+ }
830
+ function hasFormattedMessageOfType(formattedMessages, messageType) {
831
+ if (!formattedMessages || !messageType) {
832
+ return false;
833
+ }
834
+
835
+ return formattedMessages.some(message => (message === null || message === void 0 ? void 0 : message.type) === messageType);
836
+ }
837
+ function findFirstFocusableNode(element) {
838
+ return element === null || element === void 0 ? void 0 : element.querySelector(FOCUSABLE_SELECTOR);
839
+ }
840
+ /* harmony default export */ var utils = ({
841
+ getUniqueString,
842
+ formatMessages,
843
+ filterFormattedMessages,
844
+ hasFormattedMessageOfType,
845
+ getValidationState
846
+ });
847
+ // 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&
848
+ //
849
+ //
850
+ //
851
+ //
852
+ //
853
+ //
854
+ //
855
+ //
682
856
  //
683
857
  //
684
858
  //
@@ -695,36 +869,90 @@ const BADGE_COLOR_MODIFIERS = {
695
869
  //
696
870
  //
697
871
 
698
- /* harmony default export */ var badgevue_type_script_lang_js_ = ({
699
- name: 'DtBadge',
872
+
873
+
874
+ /* harmony default export */ var avatarvue_type_script_lang_js_ = ({
875
+ name: 'DtAvatar',
876
+ inheritAttrs: false,
700
877
  props: {
701
878
  /**
702
- * Text for the badge content
879
+ * Id of the avatar content wrapper element
703
880
  */
704
- text: {
881
+ id: {
705
882
  type: String,
706
- default: ''
883
+
884
+ default() {
885
+ return getUniqueString();
886
+ }
887
+
707
888
  },
708
889
 
709
890
  /**
710
- * Color for the badge background
891
+ * Applies variant class to the avatar
892
+ */
893
+ kind: {
894
+ type: String,
895
+ default: 'default',
896
+ validator: kind => Object.keys(AVATAR_KIND_MODIFIERS).includes(kind)
897
+ },
898
+
899
+ /**
900
+ * The size of the avatar
901
+ */
902
+ size: {
903
+ type: String,
904
+ default: 'md',
905
+ validator: size => Object.keys(AVATAR_SIZE_MODIFIERS).includes(size)
906
+ },
907
+
908
+ /**
909
+ * The color of the avatar
711
910
  */
712
911
  color: {
713
912
  type: String,
714
913
  default: 'base',
715
- validator: color => Object.keys(BADGE_COLOR_MODIFIERS).includes(color)
914
+ validator: color => Object.keys(AVATAR_COLOR_MODIFIERS).includes(color)
915
+ },
916
+
917
+ /**
918
+ * Used to customize the avatar container
919
+ */
920
+ avatarClass: {
921
+ type: [String, Array, Object],
922
+ default: ''
716
923
  }
717
924
  },
718
925
 
719
926
  data() {
720
927
  return {
721
- BADGE_COLOR_MODIFIERS: BADGE_COLOR_MODIFIERS
928
+ AVATAR_SIZE_MODIFIERS: AVATAR_SIZE_MODIFIERS,
929
+ AVATAR_COLOR_MODIFIERS: AVATAR_COLOR_MODIFIERS,
930
+ AVATAR_KIND_MODIFIERS: AVATAR_KIND_MODIFIERS
722
931
  };
723
- }
932
+ },
933
+
934
+ mounted() {
935
+ this.validateImageAttrsPresence();
936
+ },
724
937
 
938
+ beforeUpdate() {
939
+ this.validateImageAttrsPresence();
940
+ },
941
+
942
+ methods: {
943
+ validateImageAttrsPresence() {
944
+ if (this.kind === 'default' && !this.$slots.default) {
945
+ // Check that default slot image required attributes are provided
946
+ if (!this.$attrs.src || !this.$attrs.alt) {
947
+ external_commonjs_vue_commonjs2_vue_root_Vue_default.a.util.warn('src and alt attributes are required for image avatars', this);
948
+ }
949
+ }
950
+ }
951
+
952
+ }
725
953
  });
726
- // CONCATENATED MODULE: ./components/badge/badge.vue?vue&type=script&lang=js&
727
- /* harmony default export */ var badge_badgevue_type_script_lang_js_ = (badgevue_type_script_lang_js_);
954
+ // CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=script&lang=js&
955
+ /* harmony default export */ var avatar_avatarvue_type_script_lang_js_ = (avatarvue_type_script_lang_js_);
728
956
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
729
957
  /* globals __VUE_SSR_CONTEXT__ */
730
958
 
@@ -825,7 +1053,7 @@ function normalizeComponent (
825
1053
  }
826
1054
  }
827
1055
 
828
- // CONCATENATED MODULE: ./components/badge/badge.vue
1056
+ // CONCATENATED MODULE: ./components/avatar/avatar.vue
829
1057
 
830
1058
 
831
1059
 
@@ -834,7 +1062,7 @@ function normalizeComponent (
834
1062
  /* normalize component */
835
1063
 
836
1064
  var component = normalizeComponent(
837
- badge_badgevue_type_script_lang_js_,
1065
+ avatar_avatarvue_type_script_lang_js_,
838
1066
  render,
839
1067
  staticRenderFns,
840
1068
  false,
@@ -844,25 +1072,122 @@ var component = normalizeComponent(
844
1072
 
845
1073
  )
846
1074
 
847
- /* harmony default export */ var badge = (component.exports);
1075
+ /* harmony default export */ var avatar = (component.exports);
1076
+ // CONCATENATED MODULE: ./components/avatar/index.js
1077
+
1078
+
1079
+ // 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&
1080
+ 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:[
1081
+ 'd-badge',
1082
+ _vm.BADGE_COLOR_MODIFIERS[_vm.color] ],attrs:{"data-qa":"dt-badge"}},[_vm._t("default",[_vm._v(" "+_vm._s(_vm.text)+" ")])],2)}
1083
+ var badgevue_type_template_id_8281dbe6_staticRenderFns = []
1084
+
1085
+
1086
+ // CONCATENATED MODULE: ./components/badge/badge.vue?vue&type=template&id=8281dbe6&
1087
+
1088
+ // CONCATENATED MODULE: ./components/badge/badge_constants.js
1089
+ const BADGE_COLOR_MODIFIERS = {
1090
+ base: '',
1091
+ 'black-700': 'd-badge--black-700',
1092
+ 'green-400': 'd-badge--green-400',
1093
+ 'orange-400': 'd-badge--orange-400',
1094
+ 'pink-300': 'd-badge--pink-300',
1095
+ 'pink-500': 'd-badge--pink-500',
1096
+ 'pink-600': 'd-badge--pink-600',
1097
+ 'pink-700': 'd-badge--pink-700',
1098
+ 'purple-100': 'd-badge--purple-100',
1099
+ 'purple-300': 'd-badge--purple-300',
1100
+ 'purple-500': 'd-badge--purple-500',
1101
+ 'purple-700': 'd-badge--purple-700',
1102
+ 'red-500': 'd-badge--red-500',
1103
+ white: 'd-badge--white',
1104
+ 'yellow-300': 'd-badge--yellow-300'
1105
+ };
1106
+ // 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&
1107
+ //
1108
+ //
1109
+ //
1110
+ //
1111
+ //
1112
+ //
1113
+ //
1114
+ //
1115
+ //
1116
+ //
1117
+ //
1118
+ //
1119
+ //
1120
+ //
1121
+ //
1122
+
1123
+ /* harmony default export */ var badgevue_type_script_lang_js_ = ({
1124
+ name: 'DtBadge',
1125
+ props: {
1126
+ /**
1127
+ * Text for the badge content
1128
+ */
1129
+ text: {
1130
+ type: String,
1131
+ default: ''
1132
+ },
1133
+
1134
+ /**
1135
+ * Color for the badge background
1136
+ */
1137
+ color: {
1138
+ type: String,
1139
+ default: 'base',
1140
+ validator: color => Object.keys(BADGE_COLOR_MODIFIERS).includes(color)
1141
+ }
1142
+ },
1143
+
1144
+ data() {
1145
+ return {
1146
+ BADGE_COLOR_MODIFIERS: BADGE_COLOR_MODIFIERS
1147
+ };
1148
+ }
1149
+
1150
+ });
1151
+ // CONCATENATED MODULE: ./components/badge/badge.vue?vue&type=script&lang=js&
1152
+ /* harmony default export */ var badge_badgevue_type_script_lang_js_ = (badgevue_type_script_lang_js_);
1153
+ // CONCATENATED MODULE: ./components/badge/badge.vue
1154
+
1155
+
1156
+
1157
+
1158
+
1159
+ /* normalize component */
1160
+
1161
+ var badge_component = normalizeComponent(
1162
+ badge_badgevue_type_script_lang_js_,
1163
+ badgevue_type_template_id_8281dbe6_render,
1164
+ badgevue_type_template_id_8281dbe6_staticRenderFns,
1165
+ false,
1166
+ null,
1167
+ null,
1168
+ null
1169
+
1170
+ )
1171
+
1172
+ /* harmony default export */ var badge = (badge_component.exports);
848
1173
  // CONCATENATED MODULE: ./components/badge/index.js
849
1174
 
850
1175
 
851
- // 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&
1176
+ // 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&
852
1177
  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)])}
853
1178
  var bannervue_type_template_id_928dbcb4_staticRenderFns = []
854
1179
 
855
1180
 
856
1181
  // CONCATENATED MODULE: ./components/banner/banner.vue?vue&type=template&id=928dbcb4&
857
1182
 
858
- // 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&
1183
+ // 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&
859
1184
  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()}
860
1185
  var notice_iconvue_type_template_id_58ae40bb_staticRenderFns = []
861
1186
 
862
1187
 
863
1188
  // CONCATENATED MODULE: ./components/notice/notice_icon.vue?vue&type=template&id=58ae40bb&
864
1189
 
865
- // 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&
1190
+ // 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&
866
1191
  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"}})])}
867
1192
  var IconLightbulbvue_type_template_id_07d1b1af_staticRenderFns = []
868
1193
 
@@ -888,7 +1213,7 @@ var IconLightbulb_component = normalizeComponent(
888
1213
  )
889
1214
 
890
1215
  /* harmony default export */ var IconLightbulb = (IconLightbulb_component.exports);
891
- // 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&
1216
+ // 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&
892
1217
  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"}})])}
893
1218
  var IconInfovue_type_template_id_d1105ee6_staticRenderFns = []
894
1219
 
@@ -914,7 +1239,7 @@ var IconInfo_component = normalizeComponent(
914
1239
  )
915
1240
 
916
1241
  /* harmony default export */ var IconInfo = (IconInfo_component.exports);
917
- // 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&
1242
+ // 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&
918
1243
  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"}})])}
919
1244
  var IconWarningvue_type_template_id_0a24defa_staticRenderFns = []
920
1245
 
@@ -940,7 +1265,7 @@ var IconWarning_component = normalizeComponent(
940
1265
  )
941
1266
 
942
1267
  /* harmony default export */ var IconWarning = (IconWarning_component.exports);
943
- // 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&
1268
+ // 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&
944
1269
  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"}})])}
945
1270
  var IconErrorvue_type_template_id_4d9e3e9d_staticRenderFns = []
946
1271
 
@@ -966,7 +1291,7 @@ var IconError_component = normalizeComponent(
966
1291
  )
967
1292
 
968
1293
  /* harmony default export */ var IconError = (IconError_component.exports);
969
- // 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&
1294
+ // 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&
970
1295
  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"}})])}
971
1296
  var IconCheckCirclevue_type_template_id_016c7d48_staticRenderFns = []
972
1297
 
@@ -1070,7 +1395,7 @@ var notice_icon_component = normalizeComponent(
1070
1395
  )
1071
1396
 
1072
1397
  /* harmony default export */ var notice_icon = (notice_icon_component.exports);
1073
- // 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&
1398
+ // 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&
1074
1399
  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)])}
1075
1400
  var notice_contentvue_type_template_id_4ce704f6_staticRenderFns = []
1076
1401
 
@@ -1142,14 +1467,14 @@ var notice_content_component = normalizeComponent(
1142
1467
  )
1143
1468
 
1144
1469
  /* harmony default export */ var notice_content = (notice_content_component.exports);
1145
- // 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&
1470
+ // 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&
1146
1471
  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)}
1147
1472
  var notice_actionvue_type_template_id_279e5f84_staticRenderFns = []
1148
1473
 
1149
1474
 
1150
1475
  // CONCATENATED MODULE: ./components/notice/notice_action.vue?vue&type=template&id=279e5f84&
1151
1476
 
1152
- // 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&
1477
+ // 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&
1153
1478
  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"}})])}
1154
1479
  var IconClosevue_type_template_id_18642c39_staticRenderFns = []
1155
1480
 
@@ -1175,16 +1500,17 @@ var IconClose_component = normalizeComponent(
1175
1500
  )
1176
1501
 
1177
1502
  /* harmony default export */ var IconClose = (IconClose_component.exports);
1178
- // 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&
1179
- 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)])}
1180
- var buttonvue_type_template_id_5e4841a0_staticRenderFns = []
1181
-
1503
+ // 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&
1504
+ 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:[
1505
+ 'base-button__button',
1506
+ _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:[
1507
+ 'base-button__icon',
1508
+ 'd-btn__icon',
1509
+ _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)])}
1510
+ var buttonvue_type_template_id_50f25d54_staticRenderFns = []
1182
1511
 
1183
- // CONCATENATED MODULE: ./components/button/button.vue?vue&type=template&id=5e4841a0&
1184
1512
 
1185
- // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
1186
- var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
1187
- var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
1513
+ // CONCATENATED MODULE: ./components/button/button.vue?vue&type=template&id=50f25d54&
1188
1514
 
1189
1515
  // CONCATENATED MODULE: ./components/button/button_constants.js
1190
1516
  const BUTTON_SIZE_MODIFIERS = {
@@ -1283,6 +1609,13 @@ const LINK_KIND_MODIFIERS = {
1283
1609
  //
1284
1610
  //
1285
1611
  //
1612
+ //
1613
+ //
1614
+ //
1615
+ //
1616
+ //
1617
+ //
1618
+ //
1286
1619
 
1287
1620
 
1288
1621
 
@@ -1405,6 +1738,7 @@ const LINK_KIND_MODIFIERS = {
1405
1738
 
1406
1739
  data() {
1407
1740
  return {
1741
+ ICON_POSITION_MODIFIERS: ICON_POSITION_MODIFIERS,
1408
1742
  // whether the button is currently in focus
1409
1743
  isInFocus: false
1410
1744
  };
@@ -1439,10 +1773,6 @@ const LINK_KIND_MODIFIERS = {
1439
1773
  'd-btn--circle': this.circle,
1440
1774
  'd-btn--loading': this.loading
1441
1775
  }];
1442
- },
1443
-
1444
- iconClasses() {
1445
- return ['d-btn__icon', ICON_POSITION_MODIFIERS[this.iconPosition]];
1446
1776
  }
1447
1777
 
1448
1778
  },
@@ -1488,8 +1818,8 @@ const LINK_KIND_MODIFIERS = {
1488
1818
 
1489
1819
  var button_component = normalizeComponent(
1490
1820
  button_buttonvue_type_script_lang_js_,
1491
- buttonvue_type_template_id_5e4841a0_render,
1492
- buttonvue_type_template_id_5e4841a0_staticRenderFns,
1821
+ buttonvue_type_template_id_50f25d54_render,
1822
+ buttonvue_type_template_id_50f25d54_staticRenderFns,
1493
1823
  false,
1494
1824
  null,
1495
1825
  null,
@@ -1674,147 +2004,27 @@ const focusableElementsList = `button:${nonFocusableAttrs},
1674
2004
  const focusableElements = this._getFocusableElements(el);
1675
2005
 
1676
2006
  if (!focusableElements.length) {
1677
- return;
1678
- }
1679
-
1680
- const firstFocusableElement = this._getFirstFocusElement(focusableElements);
1681
-
1682
- const lastFocusableElement = focusableElements[focusableElements.length - 1];
1683
-
1684
- if (e.shiftKey) {
1685
- if (document.activeElement === firstFocusableElement) {
1686
- lastFocusableElement.focus();
1687
- e.preventDefault();
1688
- }
1689
- } else {
1690
- if (document.activeElement === lastFocusableElement) {
1691
- firstFocusableElement.focus();
1692
- e.preventDefault();
1693
- }
1694
- }
1695
- }
1696
-
1697
- }
1698
- });
1699
- // CONCATENATED MODULE: ./components/constants.js
1700
- /* TODO: Move and sort these in a constants directory
1701
-
1702
- Example:
1703
- constants/
1704
- forms.js
1705
- defaults.js
1706
- ...
1707
- */
1708
- // Types of messages, also dictates what is the current state of the input.
1709
- const VALIDATION_MESSAGE_TYPES = {
1710
- ERROR: 'error',
1711
- WARNING: 'warning',
1712
- SUCCESS: 'success'
1713
- }; // Description size variants
1714
-
1715
- const DESCRIPTION_SIZE_TYPES = {
1716
- LARGE: 'lg',
1717
- EXTRA_LARGE: 'xl'
1718
- }; // Description size variants
1719
-
1720
- const DESCRIPTION_SIZE_MODIFIERS = {
1721
- xs: '',
1722
- sm: '',
1723
- md: '',
1724
- lg: 'd-description--lg',
1725
- xl: 'd-description--xl'
1726
- }; // Label size variants
1727
-
1728
- const LABEL_SIZE_MODIFIERS = {
1729
- xs: 'd-label--xs',
1730
- sm: 'd-label--sm',
1731
- md: '',
1732
- lg: 'd-label--lg',
1733
- xl: 'd-label--xl'
1734
- };
1735
- /*
1736
- * Any string message or message object in the messages prop that do not specify
1737
- * a 'type' attributes will default to 'DEFAULT_MESSAGE_TYPE'.
1738
- */
1739
-
1740
- const DEFAULT_VALIDATION_MESSAGE_TYPE = VALIDATION_MESSAGE_TYPES.ERROR; // Default prefix used for ids
1741
-
1742
- const DEFAULT_PREFIX = 'hs';
1743
- /* harmony default export */ var constants = ({
1744
- VALIDATION_MESSAGE_TYPES,
1745
- DESCRIPTION_SIZE_TYPES,
1746
- DEFAULT_VALIDATION_MESSAGE_TYPE,
1747
- DEFAULT_PREFIX
1748
- });
1749
- // CONCATENATED MODULE: ./components/utils.js
1750
-
1751
- let UNIQUE_ID_COUNTER = 0;
1752
- function getUniqueString(prefix = DEFAULT_PREFIX) {
1753
- return `${prefix}${UNIQUE_ID_COUNTER++}`;
1754
- }
1755
- function formatMessages(messages) {
1756
- if (!messages) {
1757
- return [];
1758
- }
1759
-
1760
- return messages.map(message => {
1761
- if (typeof message === 'string') {
1762
- return {
1763
- message,
1764
- type: DEFAULT_VALIDATION_MESSAGE_TYPE
1765
- };
1766
- }
1767
-
1768
- return message;
1769
- });
1770
- }
1771
- function filterFormattedMessages(formattedMessages) {
1772
- const validationState = getValidationState(formattedMessages);
1773
-
1774
- if (!formattedMessages || !validationState) {
1775
- return [];
1776
- }
1777
-
1778
- return formattedMessages.filter(message => message.type === validationState);
1779
- }
1780
- /*
1781
- * The priority order of message types is as flows: 'error' > 'warning' > 'success'.
1782
- * If any message of type 'error' is present in messages, the input state is considered
1783
- * to be 'error', then 'warning' and lastly 'success'.
1784
- */
1785
-
1786
- function getValidationState(formattedMessages) {
1787
- if (!formattedMessages) {
1788
- return null;
1789
- }
2007
+ return;
2008
+ }
1790
2009
 
1791
- if (hasFormattedMessageOfType(formattedMessages, VALIDATION_MESSAGE_TYPES.ERROR)) {
1792
- return VALIDATION_MESSAGE_TYPES.ERROR;
1793
- }
2010
+ const firstFocusableElement = this._getFirstFocusElement(focusableElements);
1794
2011
 
1795
- if (hasFormattedMessageOfType(formattedMessages, VALIDATION_MESSAGE_TYPES.WARNING)) {
1796
- return VALIDATION_MESSAGE_TYPES.WARNING;
1797
- }
2012
+ const lastFocusableElement = focusableElements[focusableElements.length - 1];
1798
2013
 
1799
- if (hasFormattedMessageOfType(formattedMessages, VALIDATION_MESSAGE_TYPES.SUCCESS)) {
1800
- return VALIDATION_MESSAGE_TYPES.SUCCESS;
1801
- }
2014
+ if (e.shiftKey) {
2015
+ if (document.activeElement === firstFocusableElement) {
2016
+ lastFocusableElement.focus();
2017
+ e.preventDefault();
2018
+ }
2019
+ } else {
2020
+ if (document.activeElement === lastFocusableElement) {
2021
+ firstFocusableElement.focus();
2022
+ e.preventDefault();
2023
+ }
2024
+ }
2025
+ }
1802
2026
 
1803
- return null;
1804
- }
1805
- function hasFormattedMessageOfType(formattedMessages, messageType) {
1806
- if (!formattedMessages || !messageType) {
1807
- return false;
1808
2027
  }
1809
-
1810
- return formattedMessages.some(message => (message === null || message === void 0 ? void 0 : message.type) === messageType);
1811
- }
1812
- /* harmony default export */ var utils = ({
1813
- getUniqueString,
1814
- formatMessages,
1815
- filterFormattedMessages,
1816
- hasFormattedMessageOfType,
1817
- getValidationState
1818
2028
  });
1819
2029
  // 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&
1820
2030
  //
@@ -2008,12 +2218,302 @@ var banner_component = normalizeComponent(
2008
2218
 
2009
2219
  )
2010
2220
 
2011
- /* harmony default export */ var banner = (banner_component.exports);
2012
- // CONCATENATED MODULE: ./components/banner/index.js
2221
+ /* harmony default export */ var banner = (banner_component.exports);
2222
+ // CONCATENATED MODULE: ./components/banner/index.js
2223
+
2224
+ // 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&
2225
+ var breadcrumbsvue_type_template_id_7014ef1a_render = function () {
2226
+ var _obj;
2227
+ var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',{class:[
2228
+ 'd-breadcrumbs',
2229
+ ( _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)])}
2230
+ var breadcrumbsvue_type_template_id_7014ef1a_staticRenderFns = []
2231
+
2232
+
2233
+ // CONCATENATED MODULE: ./components/breadcrumbs/breadcrumbs.vue?vue&type=template&id=7014ef1a&
2234
+
2235
+ // CONCATENATED MODULE: ./components/breadcrumbs/breadcrumbs_constants.js
2236
+ const BREADCRUMB_ITEM_SELECTED_MODIFIER = 'd-breadcrumbs__item--selected';
2237
+ const BREADCRUMBS_INVERTED_MODIFIER = 'd-breadcrumbs--inverted';
2238
+ // 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&
2239
+ var breadcrumb_itemvue_type_template_id_ac7e1df4_render = function () {
2240
+ var _obj;
2241
+ var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{class:[
2242
+ 'd-breadcrumbs__item',
2243
+ ( _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)}
2244
+ var breadcrumb_itemvue_type_template_id_ac7e1df4_staticRenderFns = []
2245
+
2246
+
2247
+ // CONCATENATED MODULE: ./components/breadcrumbs/breadcrumb_item.vue?vue&type=template&id=ac7e1df4&
2248
+
2249
+ // 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&
2250
+ 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:[
2251
+ 'd-link',
2252
+ _vm.LINK_KIND_MODIFIERS[_vm.kind] ],attrs:{"data-qa":"dt-link"}},[_vm._t("default")],2)}
2253
+ var linkvue_type_template_id_6af78110_staticRenderFns = []
2254
+
2255
+
2256
+ // CONCATENATED MODULE: ./components/link/link.vue?vue&type=template&id=6af78110&
2257
+
2258
+ // 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&
2259
+ //
2260
+ //
2261
+ //
2262
+ //
2263
+ //
2264
+ //
2265
+ //
2266
+ //
2267
+ //
2268
+ //
2269
+ //
2270
+ //
2271
+
2272
+ /* harmony default export */ var linkvue_type_script_lang_js_ = ({
2273
+ name: 'DtLink',
2274
+ props: {
2275
+ /**
2276
+ * Applies the link variant styles
2277
+ */
2278
+ kind: {
2279
+ type: String,
2280
+ default: '',
2281
+
2282
+ validator(kind) {
2283
+ return LINK_VARIANTS.includes(kind);
2284
+ }
2285
+
2286
+ }
2287
+ },
2288
+
2289
+ data() {
2290
+ return {
2291
+ LINK_KIND_MODIFIERS: LINK_KIND_MODIFIERS
2292
+ };
2293
+ }
2294
+
2295
+ });
2296
+ // CONCATENATED MODULE: ./components/link/link.vue?vue&type=script&lang=js&
2297
+ /* harmony default export */ var link_linkvue_type_script_lang_js_ = (linkvue_type_script_lang_js_);
2298
+ // CONCATENATED MODULE: ./components/link/link.vue
2299
+
2300
+
2301
+
2302
+
2303
+
2304
+ /* normalize component */
2305
+
2306
+ var link_component = normalizeComponent(
2307
+ link_linkvue_type_script_lang_js_,
2308
+ linkvue_type_template_id_6af78110_render,
2309
+ linkvue_type_template_id_6af78110_staticRenderFns,
2310
+ false,
2311
+ null,
2312
+ null,
2313
+ null
2314
+
2315
+ )
2316
+
2317
+ /* harmony default export */ var link_link = (link_component.exports);
2318
+ // CONCATENATED MODULE: ./components/link/index.js
2319
+
2320
+
2321
+ // 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&
2322
+ //
2323
+ //
2324
+ //
2325
+ //
2326
+ //
2327
+ //
2328
+ //
2329
+ //
2330
+ //
2331
+ //
2332
+ //
2333
+ //
2334
+ //
2335
+ //
2336
+ //
2337
+ //
2338
+ //
2339
+ //
2340
+ //
2341
+ //
2342
+ //
2343
+
2344
+
2345
+
2346
+ /* harmony default export */ var breadcrumb_itemvue_type_script_lang_js_ = ({
2347
+ name: 'DtBreadcrumbItem',
2348
+ components: {
2349
+ DtLink: link_link
2350
+ },
2351
+ inheritAttrs: false,
2352
+ props: {
2353
+ /**
2354
+ * Applies the inverted styles to the link
2355
+ */
2356
+ inverted: {
2357
+ type: Boolean,
2358
+ default: false
2359
+ },
2360
+
2361
+ /**
2362
+ * Applies selected styles to the breadcrumb
2363
+ */
2364
+ selected: {
2365
+ type: Boolean,
2366
+ default: false
2367
+ },
2368
+
2369
+ /**
2370
+ * Describes the breadcrumb. Overridden by default slot
2371
+ * */
2372
+ label: {
2373
+ type: String,
2374
+ default: ''
2375
+ }
2376
+ },
2377
+
2378
+ data() {
2379
+ return {
2380
+ BREADCRUMB_ITEM_SELECTED_MODIFIER: BREADCRUMB_ITEM_SELECTED_MODIFIER
2381
+ };
2382
+ },
2383
+
2384
+ computed: {
2385
+ linkKind() {
2386
+ return this.inverted ? INVERTED : MUTED;
2387
+ },
2388
+
2389
+ ariaCurrent() {
2390
+ return this.selected ? 'location' : undefined;
2391
+ }
2392
+
2393
+ }
2394
+ });
2395
+ // CONCATENATED MODULE: ./components/breadcrumbs/breadcrumb_item.vue?vue&type=script&lang=js&
2396
+ /* harmony default export */ var breadcrumbs_breadcrumb_itemvue_type_script_lang_js_ = (breadcrumb_itemvue_type_script_lang_js_);
2397
+ // CONCATENATED MODULE: ./components/breadcrumbs/breadcrumb_item.vue
2398
+
2399
+
2400
+
2401
+
2402
+
2403
+ /* normalize component */
2404
+
2405
+ var breadcrumb_item_component = normalizeComponent(
2406
+ breadcrumbs_breadcrumb_itemvue_type_script_lang_js_,
2407
+ breadcrumb_itemvue_type_template_id_ac7e1df4_render,
2408
+ breadcrumb_itemvue_type_template_id_ac7e1df4_staticRenderFns,
2409
+ false,
2410
+ null,
2411
+ null,
2412
+ null
2413
+
2414
+ )
2415
+
2416
+ /* harmony default export */ var breadcrumb_item = (breadcrumb_item_component.exports);
2417
+ // 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&
2418
+ //
2419
+ //
2420
+ //
2421
+ //
2422
+ //
2423
+ //
2424
+ //
2425
+ //
2426
+ //
2427
+ //
2428
+ //
2429
+ //
2430
+ //
2431
+ //
2432
+ //
2433
+ //
2434
+ //
2435
+ //
2436
+ //
2437
+ //
2438
+ //
2439
+
2440
+
2441
+
2442
+ /* harmony default export */ var breadcrumbsvue_type_script_lang_js_ = ({
2443
+ name: 'DtBreadcrumbs',
2444
+ components: {
2445
+ DtBreadcrumbItem: breadcrumb_item
2446
+ },
2447
+ props: {
2448
+ /**
2449
+ * A provided list of breadcrumbs. Overridden by default slot
2450
+ */
2451
+ breadcrumbs: {
2452
+ type: Array,
2453
+ default: () => [],
2454
+
2455
+ validate(breadcrumbs) {
2456
+ return breadcrumbs.every(({
2457
+ href,
2458
+ label
2459
+ }) => {
2460
+ return href !== undefined && label !== undefined;
2461
+ });
2462
+ }
2463
+
2464
+ },
2465
+
2466
+ /**
2467
+ * Passed through to link. If true, applies inverted styles to the link.
2468
+ */
2469
+ inverted: {
2470
+ type: Boolean,
2471
+ default: false
2472
+ }
2473
+ },
2474
+
2475
+ data() {
2476
+ return {
2477
+ BREADCRUMBS_INVERTED_MODIFIER: BREADCRUMBS_INVERTED_MODIFIER
2478
+ };
2479
+ },
2480
+
2481
+ methods: {
2482
+ getBreadcrumbItemKey(index) {
2483
+ return `breadcrumbs-item-${index}-${utils.getUniqueString()}`;
2484
+ }
2485
+
2486
+ }
2487
+ });
2488
+ // CONCATENATED MODULE: ./components/breadcrumbs/breadcrumbs.vue?vue&type=script&lang=js&
2489
+ /* harmony default export */ var breadcrumbs_breadcrumbsvue_type_script_lang_js_ = (breadcrumbsvue_type_script_lang_js_);
2490
+ // CONCATENATED MODULE: ./components/breadcrumbs/breadcrumbs.vue
2491
+
2492
+
2493
+
2494
+
2495
+
2496
+ /* normalize component */
2497
+
2498
+ var breadcrumbs_component = normalizeComponent(
2499
+ breadcrumbs_breadcrumbsvue_type_script_lang_js_,
2500
+ breadcrumbsvue_type_template_id_7014ef1a_render,
2501
+ breadcrumbsvue_type_template_id_7014ef1a_staticRenderFns,
2502
+ false,
2503
+ null,
2504
+ null,
2505
+ null
2506
+
2507
+ )
2508
+
2509
+ /* harmony default export */ var breadcrumbs = (breadcrumbs_component.exports);
2510
+ // CONCATENATED MODULE: ./components/breadcrumbs/index.js
2511
+
2512
+
2013
2513
 
2014
2514
  // CONCATENATED MODULE: ./components/button/index.js
2015
2515
 
2016
- // 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&
2516
+ // 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&
2017
2517
  var inputvue_type_template_id_4e7e7271_render = function () {
2018
2518
  var _obj, _obj$1;
2019
2519
  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:[
@@ -2049,7 +2549,7 @@ const INPUT_SIZES = {
2049
2549
  INPUT_TYPES,
2050
2550
  INPUT_SIZES
2051
2551
  });
2052
- // 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&
2552
+ // 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&
2053
2553
  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){
2054
2554
  var message = ref.message;
2055
2555
  var type = ref.type;
@@ -2819,7 +3319,7 @@ var input_component = normalizeComponent(
2819
3319
  // CONCATENATED MODULE: ./components/input/index.js
2820
3320
 
2821
3321
 
2822
- // 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&
3322
+ // 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&
2823
3323
  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)}
2824
3324
  var input_groupvue_type_template_id_34acc7c9_staticRenderFns = []
2825
3325
 
@@ -3114,23 +3614,27 @@ var input_group_component = normalizeComponent(
3114
3614
  /* harmony default export */ var input_group_input_group = (input_group_component.exports);
3115
3615
  // CONCATENATED MODULE: ./components/input_group/index.js
3116
3616
 
3117
- // 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&
3118
- 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)])}
3119
- var modalvue_type_template_id_7d597133_staticRenderFns = []
3617
+ // 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&
3618
+ 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:[
3619
+ 'd-modal',
3620
+ _vm.MODAL_KIND_MODIFIERS[_vm.kind],
3621
+ _vm.MODAL_SIZE_MODIFIERS[_vm.size],
3622
+ _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)])}
3623
+ var modalvue_type_template_id_055b70f4_staticRenderFns = []
3120
3624
 
3121
3625
 
3122
- // CONCATENATED MODULE: ./components/modal/modal.vue?vue&type=template&id=7d597133&
3626
+ // CONCATENATED MODULE: ./components/modal/modal.vue?vue&type=template&id=055b70f4&
3123
3627
 
3124
3628
  // CONCATENATED MODULE: ./components/modal/modal_constants.js
3125
3629
  // Modal style modifiers
3126
3630
  const MODAL_KIND_MODIFIERS = {
3127
3631
  default: '',
3128
- danger: 'danger'
3632
+ danger: 'd-modal--danger'
3129
3633
  }; // Modal size modifiers
3130
3634
 
3131
3635
  const MODAL_SIZE_MODIFIERS = {
3132
3636
  default: '',
3133
- full: 'full'
3637
+ full: 'd-modal--full'
3134
3638
  };
3135
3639
  // 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&
3136
3640
  //
@@ -3207,6 +3711,11 @@ const MODAL_SIZE_MODIFIERS = {
3207
3711
  //
3208
3712
  //
3209
3713
  //
3714
+ //
3715
+ //
3716
+ //
3717
+ //
3718
+ //
3210
3719
 
3211
3720
 
3212
3721
 
@@ -3286,8 +3795,8 @@ const MODAL_SIZE_MODIFIERS = {
3286
3795
  */
3287
3796
  kind: {
3288
3797
  type: String,
3289
- default: '',
3290
- validator: k => Object.values(MODAL_KIND_MODIFIERS).includes(k)
3798
+ default: 'default',
3799
+ validator: k => Object.keys(MODAL_KIND_MODIFIERS).includes(k)
3291
3800
  },
3292
3801
 
3293
3802
  /**
@@ -3297,8 +3806,8 @@ const MODAL_SIZE_MODIFIERS = {
3297
3806
  */
3298
3807
  size: {
3299
3808
  type: String,
3300
- default: '',
3301
- validator: s => Object.values(MODAL_SIZE_MODIFIERS).includes(s)
3809
+ default: 'default',
3810
+ validator: s => Object.keys(MODAL_SIZE_MODIFIERS).includes(s)
3302
3811
  },
3303
3812
 
3304
3813
  /**
@@ -3311,6 +3820,14 @@ const MODAL_SIZE_MODIFIERS = {
3311
3820
  default: ''
3312
3821
  }
3313
3822
  },
3823
+
3824
+ data() {
3825
+ return {
3826
+ MODAL_KIND_MODIFIERS: MODAL_KIND_MODIFIERS,
3827
+ MODAL_SIZE_MODIFIERS: MODAL_SIZE_MODIFIERS
3828
+ };
3829
+ },
3830
+
3314
3831
  computed: {
3315
3832
  open() {
3316
3833
  return `${!this.show}`;
@@ -3318,14 +3835,6 @@ const MODAL_SIZE_MODIFIERS = {
3318
3835
 
3319
3836
  hasFooterSlot() {
3320
3837
  return !!this.$slots.footer;
3321
- },
3322
-
3323
- modalClasses() {
3324
- return [{
3325
- 'd-modal': true,
3326
- [`d-modal--${this.kind}`]: this.kind,
3327
- [`d-modal--${this.size}`]: this.size
3328
- }, this.modalClass];
3329
3838
  }
3330
3839
 
3331
3840
  },
@@ -3386,8 +3895,8 @@ const MODAL_SIZE_MODIFIERS = {
3386
3895
 
3387
3896
  var modal_component = normalizeComponent(
3388
3897
  modal_modalvue_type_script_lang_js_,
3389
- modalvue_type_template_id_7d597133_render,
3390
- modalvue_type_template_id_7d597133_staticRenderFns,
3898
+ modalvue_type_template_id_055b70f4_render,
3899
+ modalvue_type_template_id_055b70f4_staticRenderFns,
3391
3900
  false,
3392
3901
  null,
3393
3902
  null,
@@ -3399,7 +3908,7 @@ var modal_component = normalizeComponent(
3399
3908
  // CONCATENATED MODULE: ./components/modal/index.js
3400
3909
 
3401
3910
 
3402
- // 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&
3911
+ // 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&
3403
3912
  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)])}
3404
3913
  var lazy_showvue_type_template_id_25b42290_staticRenderFns = []
3405
3914
 
@@ -3482,7 +3991,7 @@ var lazy_show_component = normalizeComponent(
3482
3991
  /* harmony default export */ var lazy_show = (lazy_show_component.exports);
3483
3992
  // CONCATENATED MODULE: ./components/lazy_show/index.js
3484
3993
 
3485
- // 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&
3994
+ // 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&
3486
3995
  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',
3487
3996
  { '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)}
3488
3997
  var list_sectionvue_type_template_id_2154a8d5_staticRenderFns = []
@@ -3661,7 +4170,7 @@ var list_section_component = normalizeComponent(
3661
4170
  /* harmony default export */ var list_section = (list_section_component.exports);
3662
4171
  // CONCATENATED MODULE: ./components/list_section/index.js
3663
4172
 
3664
- // 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&
4173
+ // 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&
3665
4174
  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',
3666
4175
  { '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)}
3667
4176
  var list_itemvue_type_template_id_6b1bb1b9_staticRenderFns = []
@@ -3747,79 +4256,7 @@ var list_item_component = normalizeComponent(
3747
4256
  /* harmony default export */ var list_item = (list_item_component.exports);
3748
4257
  // CONCATENATED MODULE: ./components/list_item/index.js
3749
4258
 
3750
- // 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&
3751
- 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:[
3752
- 'd-link',
3753
- _vm.LINK_KIND_MODIFIERS[_vm.kind] ],attrs:{"data-qa":"dt-link"}},[_vm._t("default")],2)}
3754
- var linkvue_type_template_id_6af78110_staticRenderFns = []
3755
-
3756
-
3757
- // CONCATENATED MODULE: ./components/link/link.vue?vue&type=template&id=6af78110&
3758
-
3759
- // 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&
3760
- //
3761
- //
3762
- //
3763
- //
3764
- //
3765
- //
3766
- //
3767
- //
3768
- //
3769
- //
3770
- //
3771
- //
3772
-
3773
- /* harmony default export */ var linkvue_type_script_lang_js_ = ({
3774
- name: 'DtLink',
3775
- props: {
3776
- /**
3777
- * Applies the link variant styles
3778
- */
3779
- kind: {
3780
- type: String,
3781
- default: '',
3782
-
3783
- validator(kind) {
3784
- return LINK_VARIANTS.includes(kind);
3785
- }
3786
-
3787
- }
3788
- },
3789
-
3790
- data() {
3791
- return {
3792
- LINK_KIND_MODIFIERS: LINK_KIND_MODIFIERS
3793
- };
3794
- }
3795
-
3796
- });
3797
- // CONCATENATED MODULE: ./components/link/link.vue?vue&type=script&lang=js&
3798
- /* harmony default export */ var link_linkvue_type_script_lang_js_ = (linkvue_type_script_lang_js_);
3799
- // CONCATENATED MODULE: ./components/link/link.vue
3800
-
3801
-
3802
-
3803
-
3804
-
3805
- /* normalize component */
3806
-
3807
- var link_component = normalizeComponent(
3808
- link_linkvue_type_script_lang_js_,
3809
- linkvue_type_template_id_6af78110_render,
3810
- linkvue_type_template_id_6af78110_staticRenderFns,
3811
- false,
3812
- null,
3813
- null,
3814
- null
3815
-
3816
- )
3817
-
3818
- /* harmony default export */ var link_link = (link_component.exports);
3819
- // CONCATENATED MODULE: ./components/link/index.js
3820
-
3821
-
3822
- // 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&
4259
+ // 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&
3823
4260
  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)}
3824
4261
  var noticevue_type_template_id_40200ccc_staticRenderFns = []
3825
4262
 
@@ -3990,7 +4427,7 @@ var notice_component = normalizeComponent(
3990
4427
  // CONCATENATED MODULE: ./components/notice/index.js
3991
4428
 
3992
4429
 
3993
- // 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&
4430
+ // 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&
3994
4431
  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":{
3995
4432
  'aria-expanded': _vm.open.toString(),
3996
4433
  'aria-controls': _vm.id,
@@ -4394,7 +4831,7 @@ var popover_component = normalizeComponent(
4394
4831
  // CONCATENATED MODULE: ./components/popover/index.js
4395
4832
 
4396
4833
 
4397
- // 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&
4834
+ // 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&
4398
4835
  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)])])}
4399
4836
  var radiovue_type_template_id_7572bdc7_staticRenderFns = []
4400
4837
 
@@ -4664,7 +5101,7 @@ var radio_group_component = normalizeComponent(
4664
5101
  /* harmony default export */ var radio_group = (radio_group_component.exports);
4665
5102
  // CONCATENATED MODULE: ./components/radio_group/index.js
4666
5103
 
4667
- // 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&
5104
+ // 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&
4668
5105
  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)])])}
4669
5106
  var checkboxvue_type_template_id_13edc8c6_staticRenderFns = []
4670
5107
 
@@ -4961,7 +5398,7 @@ var checkbox_group_component = normalizeComponent(
4961
5398
  /* harmony default export */ var checkbox_group = (checkbox_group_component.exports);
4962
5399
  // CONCATENATED MODULE: ./components/checkbox_group/index.js
4963
5400
 
4964
- // 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&
5401
+ // 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&
4965
5402
  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:[
4966
5403
  'd-label',
4967
5404
  _vm.LABEL_SIZE_MODIFIERS[_vm.size],
@@ -5326,6 +5763,262 @@ var select_menu_component = normalizeComponent(
5326
5763
  // CONCATENATED MODULE: ./components/select_menu/index.js
5327
5764
 
5328
5765
 
5766
+ // 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&
5767
+ var tooltipvue_type_template_id_32b3102c_render = function () {
5768
+ var _obj;
5769
+ 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:[
5770
+ 'd-ps-absolute',
5771
+ 'd-tooltip',
5772
+ ("d-tooltip__arrow--" + _vm.arrowDirection),
5773
+ _vm.TOOLTIP_KIND_MODIFIERS[_vm.shouldShowTooltip ? 'show' : 'hide'],
5774
+ ( _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)])}
5775
+ var tooltipvue_type_template_id_32b3102c_staticRenderFns = []
5776
+
5777
+
5778
+ // CONCATENATED MODULE: ./components/tooltip/tooltip.vue?vue&type=template&id=32b3102c&
5779
+
5780
+ // CONCATENATED MODULE: ./components/tooltip/tooltip_constants.js
5781
+ 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'];
5782
+ const TOOLTIP_KIND_MODIFIERS = {
5783
+ hover: `d-tooltip--hover`,
5784
+ show: `d-tooltip--show`,
5785
+ inverted: `d-tooltip--inverted`,
5786
+ hide: `d-tooltip--hide`
5787
+ };
5788
+ // 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&
5789
+ //
5790
+ //
5791
+ //
5792
+ //
5793
+ //
5794
+ //
5795
+ //
5796
+ //
5797
+ //
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
+ /* harmony default export */ var tooltipvue_type_script_lang_js_ = ({
5834
+ name: 'DtTooltip',
5835
+ inheritAttrs: false,
5836
+ props: {
5837
+ /**
5838
+ * The id of the tooltip
5839
+ */
5840
+ id: {
5841
+ type: String,
5842
+
5843
+ default() {
5844
+ return getUniqueString();
5845
+ }
5846
+
5847
+ },
5848
+
5849
+ /**
5850
+ * A provided message for the tooltip content
5851
+ */
5852
+ message: {
5853
+ type: String,
5854
+ default: ''
5855
+ },
5856
+
5857
+ /**
5858
+ * Describes the preferred placement of the tooltip
5859
+ */
5860
+ arrowDirection: {
5861
+ type: String,
5862
+ default: 'bottom-center',
5863
+
5864
+ validator(direction) {
5865
+ return TOOLTIP_DIRECTION_MODIFIERS.includes(direction);
5866
+ }
5867
+
5868
+ },
5869
+
5870
+ /**
5871
+ * Whether the tooltip should be shown. Anchor can sync on this value
5872
+ * by tooltip wrapper to control the tooltip's visibility.
5873
+ */
5874
+ show: {
5875
+ type: Boolean,
5876
+ default: false
5877
+ },
5878
+
5879
+ /**
5880
+ * Mode of tooltip to control the tooltip's visibility.
5881
+ */
5882
+ hover: {
5883
+ type: Boolean,
5884
+ default: true
5885
+ },
5886
+
5887
+ /**
5888
+ * Add inverted class
5889
+ */
5890
+ inverted: {
5891
+ type: Boolean,
5892
+ default: false
5893
+ },
5894
+
5895
+ /**
5896
+ * This property is needed for focus event
5897
+ */
5898
+ tabIndex: {
5899
+ type: String,
5900
+ default: '0'
5901
+ }
5902
+ },
5903
+
5904
+ data() {
5905
+ return {
5906
+ isHover: false,
5907
+ // is hovered local state
5908
+ isDismissed: false,
5909
+ // is dismissed (for ex. escape key pressed) local state
5910
+ isChildFocused: false,
5911
+ // is child element focused local state
5912
+ anchorTabIndex: '-1',
5913
+ // anchor is not tabbable by default
5914
+ TOOLTIP_KIND_MODIFIERS: TOOLTIP_KIND_MODIFIERS
5915
+ };
5916
+ },
5917
+
5918
+ computed: {
5919
+ isTooltipVisible() {
5920
+ if (this.isDismissed) {
5921
+ return false;
5922
+ }
5923
+
5924
+ return this.hover ? this.isHover : this.show;
5925
+ },
5926
+
5927
+ shouldShowTooltip() {
5928
+ return this.isTooltipVisible || this.isChildFocused;
5929
+ },
5930
+
5931
+ shouldHasHoverModifier() {
5932
+ return this.hover && !this.isDismissed && !this.isChildFocused;
5933
+ },
5934
+
5935
+ shouldHasShowModifier() {
5936
+ return this.isChildFocused;
5937
+ },
5938
+
5939
+ ariaHidden() {
5940
+ return `${!this.isTooltipVisible}`;
5941
+ }
5942
+
5943
+ },
5944
+
5945
+ mounted() {
5946
+ this.initAttributes();
5947
+ },
5948
+
5949
+ beforeUpdate() {
5950
+ this.initAttributes();
5951
+ },
5952
+
5953
+ methods: {
5954
+ initAttributes() {
5955
+ if (this.hasFocusableAnchorNode()) {
5956
+ var _this$$refs$anchor, _this$$refs$anchor$ch;
5957
+
5958
+ /* TODO: In the future we might want to refine this to apply the appropriate aria attrs given the child element
5959
+ * type.
5960
+ */
5961
+ // Add aria description to each anchored child
5962
+ (_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 => {
5963
+ child.setAttribute('aria-describedby', this.id);
5964
+ });
5965
+ } else {
5966
+ this.$refs.anchor.setAttribute('tabIndex', this.tabIndex);
5967
+ this.$refs.anchor.setAttribute('aria-describedby', this.id);
5968
+ }
5969
+ },
5970
+
5971
+ hasFocusableAnchorNode() {
5972
+ return !!findFirstFocusableNode(this.$refs.anchor);
5973
+ },
5974
+
5975
+ onFocus() {
5976
+ this.onHover();
5977
+ this.isChildFocused = true;
5978
+ },
5979
+
5980
+ onHover() {
5981
+ this.isHover = true;
5982
+ },
5983
+
5984
+ onBlur() {
5985
+ this.isHover = false;
5986
+ this.isDismissed = false;
5987
+ this.isChildFocused = false;
5988
+ },
5989
+
5990
+ onEsc() {
5991
+ this.isDismissed = this.hover && this.isHover || !this.show;
5992
+ this.isChildFocused = false;
5993
+ }
5994
+
5995
+ }
5996
+ });
5997
+ // CONCATENATED MODULE: ./components/tooltip/tooltip.vue?vue&type=script&lang=js&
5998
+ /* harmony default export */ var tooltip_tooltipvue_type_script_lang_js_ = (tooltipvue_type_script_lang_js_);
5999
+ // CONCATENATED MODULE: ./components/tooltip/tooltip.vue
6000
+
6001
+
6002
+
6003
+
6004
+
6005
+ /* normalize component */
6006
+
6007
+ var tooltip_component = normalizeComponent(
6008
+ tooltip_tooltipvue_type_script_lang_js_,
6009
+ tooltipvue_type_template_id_32b3102c_render,
6010
+ tooltipvue_type_template_id_32b3102c_staticRenderFns,
6011
+ false,
6012
+ null,
6013
+ null,
6014
+ null
6015
+
6016
+ )
6017
+
6018
+ /* harmony default export */ var tooltip = (tooltip_component.exports);
6019
+ // CONCATENATED MODULE: ./components/tooltip/index.js
6020
+
6021
+
5329
6022
  // CONCATENATED MODULE: ./components/mixins/index.js
5330
6023
 
5331
6024
 
@@ -5348,6 +6041,9 @@ var select_menu_component = normalizeComponent(
5348
6041
 
5349
6042
 
5350
6043
 
6044
+
6045
+
6046
+
5351
6047
  // Mixins
5352
6048
 
5353
6049
  // Constants