@dialpad/dialtone-vue 2.44.0 → 2.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,7 +11,7 @@
11
11
  return /******/ (() => { // webpackBootstrap
12
12
  /******/ var __webpack_modules__ = ({
13
13
 
14
- /***/ 890:
14
+ /***/ 555:
15
15
  /***/ ((module, __webpack_exports__, __webpack_require__) => {
16
16
 
17
17
  "use strict";
@@ -33,6 +33,30 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".enter-active,.leave-active{overflow:h
33
33
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
34
34
 
35
35
 
36
+ /***/ }),
37
+
38
+ /***/ 67:
39
+ /***/ ((module, __webpack_exports__, __webpack_require__) => {
40
+
41
+ "use strict";
42
+ __webpack_require__.r(__webpack_exports__);
43
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
44
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
45
+ /* harmony export */ });
46
+ /* harmony import */ var _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(481);
47
+ /* harmony import */ var _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
48
+ /* harmony import */ var _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(400);
49
+ /* harmony import */ var _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
50
+ // Imports
51
+
52
+
53
+ var ___CSS_LOADER_EXPORT___ = _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
54
+ // Module
55
+ ___CSS_LOADER_EXPORT___.push([module.id, ".d-avatar--image-loaded{background-color:initial;background-image:unset}", ""]);
56
+ // Exports
57
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
58
+
59
+
36
60
  /***/ }),
37
61
 
38
62
  /***/ 140:
@@ -522,7 +546,7 @@ module.exports = function (i) {
522
546
  // style-loader: Adds some css to the DOM by adding a <style> tag
523
547
 
524
548
  // load the styles
525
- var content = __webpack_require__(890);
549
+ var content = __webpack_require__(555);
526
550
  if(content.__esModule) content = content.default;
527
551
  if(typeof content === 'string') content = [[module.id, content, '']];
528
552
  if(content.locals) module.exports = content.locals;
@@ -532,6 +556,22 @@ var update = add("63ce6251", content, true, {"sourceMap":false,"shadowMode":fals
532
556
 
533
557
  /***/ }),
534
558
 
559
+ /***/ 329:
560
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
561
+
562
+ // style-loader: Adds some css to the DOM by adding a <style> tag
563
+
564
+ // load the styles
565
+ var content = __webpack_require__(67);
566
+ if(content.__esModule) content = content.default;
567
+ if(typeof content === 'string') content = [[module.id, content, '']];
568
+ if(content.locals) module.exports = content.locals;
569
+ // add the styles to the DOM
570
+ var add = (__webpack_require__(402)/* ["default"] */ .Z)
571
+ var update = add("b4bc460a", content, true, {"sourceMap":false,"shadowMode":false});
572
+
573
+ /***/ }),
574
+
535
575
  /***/ 464:
536
576
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
537
577
 
@@ -1120,7 +1160,6 @@ __webpack_require__.r(__webpack_exports__);
1120
1160
 
1121
1161
  // EXPORTS
1122
1162
  __webpack_require__.d(__webpack_exports__, {
1123
- "AVATAR_COLOR_MODIFIERS": () => (/* reexport */ AVATAR_COLOR_MODIFIERS),
1124
1163
  "AVATAR_KIND_MODIFIERS": () => (/* reexport */ AVATAR_KIND_MODIFIERS),
1125
1164
  "AVATAR_SIZE_MODIFIERS": () => (/* reexport */ AVATAR_SIZE_MODIFIERS),
1126
1165
  "BADGE_KIND_MODIFIERS": () => (/* reexport */ BADGE_KIND_MODIFIERS),
@@ -1259,13 +1298,12 @@ if (typeof window !== 'undefined') {
1259
1298
  // Indicate to webpack that this file can be concatenated
1260
1299
  /* harmony default export */ const setPublicPath = (null);
1261
1300
 
1262
- ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/avatar/avatar.vue?vue&type=template&id=8203a6da&
1301
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/avatar/avatar.vue?vue&type=template&id=68159748&
1263
1302
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
1264
1303
  'd-avatar',
1265
1304
  _vm.AVATAR_KIND_MODIFIERS[_vm.kind],
1266
1305
  _vm.AVATAR_SIZE_MODIFIERS[_vm.size],
1267
- _vm.AVATAR_COLOR_MODIFIERS[_vm.color],
1268
- _vm.avatarClass ],attrs:{"id":_vm.id,"data-qa":"dt-avatar"}},[_vm._t("default"),(_vm.presence)?_c('dt-presence',_vm._b({class:[
1306
+ _vm.avatarClass ],style:(_vm.initialKindStyle),attrs:{"id":_vm.id,"data-qa":"dt-avatar"}},[(_vm.showDefaultSlot)?_vm._t("default"):(_vm.showInitials)?_c('span',[_vm._v(" "+_vm._s(_vm.formattedInitials)+" ")]):_vm._e(),(_vm.presence)?_c('dt-presence',_vm._b({class:[
1269
1307
  'd-avatar__presence',
1270
1308
  _vm.AVATAR_PRESENCE_SIZE_MODIFIERS[_vm.size] ],attrs:{"presence":_vm.presence,"data-qa":"dt-presence"}},'dt-presence',_vm.presenceProps,false)):_vm._e()],2)}
1271
1309
  var staticRenderFns = []
@@ -1359,6 +1397,15 @@ function getUniqueString() {
1359
1397
  let prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_PREFIX;
1360
1398
  return `${prefix}${UNIQUE_ID_COUNTER++}`;
1361
1399
  }
1400
+ /**
1401
+ * Returns a random element from array
1402
+ * @param array
1403
+ * @returns {*}
1404
+ */
1405
+
1406
+ function getRandomElement(array) {
1407
+ return array[Math.floor(Math.random() * array.length)];
1408
+ }
1362
1409
  function formatMessages(messages) {
1363
1410
  if (!messages) {
1364
1411
  return [];
@@ -1468,6 +1515,7 @@ const pascalCaseToKebabCase = string => {
1468
1515
  };
1469
1516
  /* harmony default export */ const utils = ({
1470
1517
  getUniqueString,
1518
+ getRandomElement,
1471
1519
  formatMessages,
1472
1520
  filterFormattedMessages,
1473
1521
  hasFormattedMessageOfType,
@@ -1683,43 +1731,35 @@ const AVATAR_KIND_MODIFIERS = {
1683
1731
  initials: 'd-avatar--initials'
1684
1732
  };
1685
1733
  const AVATAR_SIZE_MODIFIERS = {
1734
+ xs: 'd-avatar--xs',
1686
1735
  sm: 'd-avatar--sm',
1687
1736
  md: 'd-avatar--md',
1688
- lg: 'd-avatar--lg'
1737
+ lg: 'd-avatar--lg',
1738
+ xl: 'd-avatar--xl'
1689
1739
  };
1690
1740
  const AVATAR_PRESENCE_SIZE_MODIFIERS = {
1691
1741
  md: 'd-avatar__presence--md',
1692
1742
  lg: 'd-avatar__presence--lg'
1693
1743
  };
1694
- const AVATAR_COLOR_MODIFIERS = {
1695
- base: '',
1696
- 'orange-200': 'd-avatar--orange-200',
1697
- 'orange-300': 'd-avatar--orange-300',
1698
- 'orange-400': 'd-avatar--orange-400',
1699
- 'orange-500': 'd-avatar--orange-500',
1700
- 'magenta-100': 'd-avatar--magenta-100',
1701
- 'magenta-200': 'd-avatar--magenta-200',
1702
- 'magenta-300': 'd-avatar--magenta-300',
1703
- 'magenta-400': 'd-avatar--magenta-400',
1704
- 'purple-200': 'd-avatar--purple-200',
1705
- 'purple-300': 'd-avatar--purple-300',
1706
- 'purple-400': 'd-avatar--purple-400',
1707
- 'purple-500': 'd-avatar--purple-500',
1708
- 'gold-100': 'd-avatar--gold-100',
1709
- 'gold-200': 'd-avatar--gold-200',
1710
- 'gold-300': 'd-avatar--gold-300',
1711
- 'gold-500': 'd-avatar--gold-500'
1712
- };
1713
1744
  const AVATAR_ICON_SIZES = {
1745
+ xs: '100',
1714
1746
  sm: '200',
1715
1747
  md: '400',
1716
- lg: '500'
1748
+ lg: '500',
1749
+ xl: '600'
1750
+ };
1751
+ const AVATAR_ANGLES = [45, -45, 90, -90, 135, -135, 180, -180];
1752
+ const GRADIENT_COLORS = {
1753
+ with100: ['purple-100', 'magenta-100', 'gold-100', 'blue-100'],
1754
+ with200: ['purple-200', 'magenta-200', 'gold-200', 'blue-200']
1717
1755
  };
1756
+ const MAX_GRADIENT_COLORS = 3;
1757
+ const MAX_GRADIENT_COLORS_100 = 2;
1718
1758
  /* harmony default export */ const avatar_constants = ({
1719
1759
  AVATAR_KIND_MODIFIERS,
1720
1760
  AVATAR_SIZE_MODIFIERS,
1721
- AVATAR_COLOR_MODIFIERS,
1722
- AVATAR_ICON_SIZES
1761
+ AVATAR_ICON_SIZES,
1762
+ AVATAR_ANGLES
1723
1763
  });
1724
1764
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/avatar/avatar.vue?vue&type=script&lang=js&
1725
1765
  //
@@ -1749,6 +1789,9 @@ const AVATAR_ICON_SIZES = {
1749
1789
  //
1750
1790
  //
1751
1791
  //
1792
+ //
1793
+ //
1794
+ //
1752
1795
 
1753
1796
 
1754
1797
 
@@ -1779,7 +1822,7 @@ const AVATAR_ICON_SIZES = {
1779
1822
 
1780
1823
  /**
1781
1824
  * The size of the avatar
1782
- * @values sm, md, lg
1825
+ * @values xs, sm, md, lg, xl
1783
1826
  */
1784
1827
  size: {
1785
1828
  type: String,
@@ -1787,20 +1830,6 @@ const AVATAR_ICON_SIZES = {
1787
1830
  validator: size => Object.keys(AVATAR_SIZE_MODIFIERS).includes(size)
1788
1831
  },
1789
1832
 
1790
- /**
1791
- * The color of the avatar
1792
- * @values base
1793
- * orange-200, orange-300, orange-400, orange-500,
1794
- * pink-300, pink-400, pink-500, pink-600,
1795
- * purple-200, purple-300, purple-500, purple-600,
1796
- * yellow-200, yellow-300, yellow-400, yellow-500
1797
- */
1798
- color: {
1799
- type: String,
1800
- default: 'base',
1801
- validator: color => Object.keys(AVATAR_COLOR_MODIFIERS).includes(color)
1802
- },
1803
-
1804
1833
  /**
1805
1834
  * Used to customize the avatar container
1806
1835
  */
@@ -1825,26 +1854,60 @@ const AVATAR_ICON_SIZES = {
1825
1854
  presenceProps: {
1826
1855
  type: Object,
1827
1856
  default: () => ({})
1857
+ },
1858
+
1859
+ /**
1860
+ * Initials to be shown in the avatar. Used as fallback if image fails to load.
1861
+ */
1862
+ initials: {
1863
+ type: String,
1864
+ default: ''
1828
1865
  }
1829
1866
  },
1830
1867
 
1831
1868
  data() {
1832
1869
  return {
1833
1870
  // initials, image or icon
1834
- kind: 'initials',
1871
+ kind: 'image',
1835
1872
  AVATAR_SIZE_MODIFIERS: AVATAR_SIZE_MODIFIERS,
1836
- AVATAR_COLOR_MODIFIERS: AVATAR_COLOR_MODIFIERS,
1837
1873
  AVATAR_KIND_MODIFIERS: AVATAR_KIND_MODIFIERS,
1838
- AVATAR_PRESENCE_SIZE_MODIFIERS: AVATAR_PRESENCE_SIZE_MODIFIERS
1874
+ AVATAR_PRESENCE_SIZE_MODIFIERS: AVATAR_PRESENCE_SIZE_MODIFIERS,
1875
+ imageLoadedSuccessfully: null,
1876
+ slottedInitials: '',
1877
+ formattedInitials: ''
1839
1878
  };
1840
1879
  },
1841
1880
 
1881
+ computed: {
1882
+ showDefaultSlot() {
1883
+ return this.kind !== 'initials' && this.imageLoadedSuccessfully !== false;
1884
+ },
1885
+
1886
+ showInitials() {
1887
+ return this.kind === 'initials' || this.initials;
1888
+ },
1889
+
1890
+ initialKindStyle() {
1891
+ const randomGradientColorStops = this.randomizeGradientColorStops();
1892
+ return {
1893
+ '--avatar-gradient-angle': `${this.randomizeGradientAngle()}deg`,
1894
+ '--avatar-gradient-stop-1': `var(--${randomGradientColorStops[0]})`,
1895
+ '--avatar-gradient-stop-2': `var(--${randomGradientColorStops[1]})`,
1896
+ '--avatar-gradient-stop-3': `var(--${randomGradientColorStops[2]})`
1897
+ };
1898
+ }
1899
+
1900
+ },
1901
+
1842
1902
  mounted() {
1843
1903
  this.init();
1844
1904
  },
1845
1905
 
1846
1906
  updated() {
1847
- this.init();
1907
+ if (this.kind === 'initials') {
1908
+ this.slottedInitials = this.$slots.default[0].text || this.$slots.default[0].textContent;
1909
+ this.formatInitials(this.slottedInitials);
1910
+ }
1848
1911
  },
1849
1912
 
1850
1913
  methods: {
@@ -1856,9 +1919,33 @@ const AVATAR_ICON_SIZES = {
1856
1919
 
1857
1920
  if (this.kind === 'image') {
1858
1921
  firstChild.classList.add('d-avatar__image');
1922
+ this.validateImageAttrsPresence();
1923
+ firstChild.addEventListener('error', () => {
1924
+ this.formatInitials(this.initials);
1925
+ this.imageLoadedSuccessfully = false;
1926
+ });
1927
+ firstChild.addEventListener('load', () => {
1928
+ firstChild.classList.add('d-avatar--image-loaded');
1929
+ this.imageLoadedSuccessfully = true;
1930
+ });
1859
1931
  }
1860
1932
 
1861
- this.validateImageAttrsPresence();
1933
+ if (this.kind === 'initials') {
1934
+ this.slottedInitials = firstChild.text || firstChild.textContent;
1935
+ this.formatInitials(this.slottedInitials);
1936
+ }
1937
+ }
1938
+ },
1939
+
1940
+ formatInitials(initials) {
1941
+ if (!initials) return;
1942
+
1943
+ if (this.size === 'xs') {
1944
+ this.formattedInitials = '';
1945
+ } else if (this.size === 'sm') {
1946
+ this.formattedInitials = initials.trim()[0];
1947
+ } else {
1948
+ this.formattedInitials = initials.trim().slice(0, 2);
1862
1949
  }
1863
1950
  },
1864
1951
 
@@ -1888,27 +1975,51 @@ const AVATAR_ICON_SIZES = {
1888
1975
  return (element === null || element === void 0 ? void 0 : (_element$tagName2 = element.tagName) === null || _element$tagName2 === void 0 ? void 0 : _element$tagName2.toUpperCase()) === 'IMG';
1889
1976
  },
1890
1977
 
1891
- validateImageAttrsPresence() {
1892
- if (this.kind === 'image') {
1893
- // Check that default slot image required attributes are provided
1894
- if (!this.$el.firstChild.getAttribute('src') || !this.$el.firstChild.getAttribute('alt')) {
1895
- external_commonjs_vue_commonjs2_vue_root_Vue_default().util.warn('src and alt attributes are required for image avatars', this);
1978
+ randomizeGradientAngle() {
1979
+ return getRandomElement(AVATAR_ANGLES);
1980
+ },
1981
+
1982
+ randomizeGradientColorStops() {
1983
+ const colors = new Set(); // get 3 unique colors, 2 from colorsWith100 and one from colorsWith200
1984
+
1985
+ while (colors.size < MAX_GRADIENT_COLORS) {
1986
+ if (colors.size === MAX_GRADIENT_COLORS_100) {
1987
+ colors.add(getRandomElement(GRADIENT_COLORS.with200));
1988
+ } else {
1989
+ colors.add(getRandomElement(GRADIENT_COLORS.with100));
1896
1990
  }
1897
1991
  }
1992
+
1993
+ const shuffledColors = Array.from(colors).sort(() => 0.5 - Math.random());
1994
+ return shuffledColors;
1995
+ },
1996
+
1997
+ validateImageAttrsPresence() {
1998
+ const isSrcMissing = !this.$el.firstChild.getAttribute('src');
1999
+ const isAltMissing = !this.$el.firstChild.getAttribute('alt');
2000
+
2001
+ if (isSrcMissing || isAltMissing) {
2002
+ external_commonjs_vue_commonjs2_vue_root_Vue_default().util.warn('src and alt attributes are required for image avatars', this);
2003
+ }
1898
2004
  }
1899
2005
 
1900
2006
  }
1901
2007
  });
1902
2008
  ;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=script&lang=js&
1903
2009
  /* harmony default export */ const avatar_avatarvue_type_script_lang_js_ = (avatarvue_type_script_lang_js_);
2010
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-72[0].rules[0].use[0]!./node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-72[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-72[0].rules[0].use[2]!./node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-72[0].rules[0].use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-72[0].rules[0].use[4]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/avatar/avatar.vue?vue&type=style&index=0&lang=less&
2011
+ var avatarvue_type_style_index_0_lang_less_ = __webpack_require__(329);
2012
+ ;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=style&index=0&lang=less&
2013
+
1904
2014
  ;// CONCATENATED MODULE: ./components/avatar/avatar.vue
1905
2015
 
1906
2016
 
1907
2017
 
2018
+ ;
1908
2019
 
1909
2020
 
1910
2021
  /* normalize component */
1911
- ;
2022
+
1912
2023
  var avatar_component = normalizeComponent(
1913
2024
  avatar_avatarvue_type_script_lang_js_,
1914
2025
  render,
@@ -20818,8 +20929,8 @@ var callbar_button_with_popover_component = normalizeComponent(
20818
20929
  /* harmony default export */ const callbar_button_with_popover = (callbar_button_with_popover_component.exports);
20819
20930
  ;// CONCATENATED MODULE: ./recipes/buttons/callbar_button_with_popover/index.js
20820
20931
 
20821
- ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/list_items/contact_info/contact_info.vue?vue&type=template&id=c1f377a8&
20822
- var contact_infovue_type_template_id_c1f377a8_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-list-item',{attrs:{"id":_vm.id,"role":_vm.role,"element-type":"div","data-qa":"contact-info"},scopedSlots:_vm._u([{key:"left",fn:function(){return [_c('div',{staticClass:"d-ps-relative",attrs:{"data-qa":"contact-info-left"}},[(_vm.avatarSrc)?_c('dt-avatar',{attrs:{"size":"lg"}},[_c('img',{attrs:{"data-qa":"dt-contact-avatar","src":_vm.avatarSrc,"alt":_vm.avatarInitials}})]):(_vm.avatarInitials)?_c('dt-avatar',{attrs:{"kind":"initials","size":"lg","color":_vm.avatarColor}},[_vm._v(" "+_vm._s(_vm.avatarInitials)+" ")]):_vm._e(),(_vm.showUserStatus)?_c('div',{class:[
20932
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/list_items/contact_info/contact_info.vue?vue&type=template&id=9fe40f88&
20933
+ var contact_infovue_type_template_id_9fe40f88_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-list-item',{attrs:{"id":_vm.id,"role":_vm.role,"element-type":"div","data-qa":"contact-info"},scopedSlots:_vm._u([{key:"left",fn:function(){return [_c('div',{staticClass:"d-ps-relative",attrs:{"data-qa":"contact-info-left"}},[(_vm.avatarSrc)?_c('dt-avatar',{attrs:{"size":"lg"}},[_c('img',{attrs:{"data-qa":"dt-contact-avatar","src":_vm.avatarSrc,"alt":_vm.avatarInitials}})]):(_vm.avatarInitials)?_c('dt-avatar',{attrs:{"size":"lg"}},[_vm._v(" "+_vm._s(_vm.avatarInitials)+" ")]):_vm._e(),(_vm.showUserStatus)?_c('div',{class:[
20823
20934
  'd-ba',
20824
20935
  'd-bc-white',
20825
20936
  'd-baw2',
@@ -20830,7 +20941,7 @@ var contact_infovue_type_template_id_c1f377a8_render = function () {var _vm=this
20830
20941
  'd-w20p',
20831
20942
  'd-h20p',
20832
20943
  _vm.USER_STATUS_COLOR_MODIFIERS[_vm.userStatusColor] ],attrs:{"data-qa":"contact-info-user-status"}},[_vm._v("   ")]):_vm._e()],1)]},proxy:true},{key:"default",fn:function(){return [_c('div',{attrs:{"data-qa":"contact-info-header"}},[_vm._t("header")],2)]},proxy:true},{key:"subtitle",fn:function(){return [_c('div',{attrs:{"data-qa":"contact-info-subtitle"}},[_vm._t("subtitle")],2)]},proxy:true},{key:"bottom",fn:function(){return [_c('div',{attrs:{"data-qa":"contact-info-bottom"}},[_vm._t("bottom")],2)]},proxy:true},{key:"right",fn:function(){return [_c('div',{attrs:{"data-qa":"contact-info-right"}},[_vm._t("right")],2)]},proxy:true}],null,true)})}
20833
- var contact_infovue_type_template_id_c1f377a8_staticRenderFns = []
20944
+ var contact_infovue_type_template_id_9fe40f88_staticRenderFns = []
20834
20945
 
20835
20946
 
20836
20947
  ;// CONCATENATED MODULE: ./recipes/list_items/contact_info/contact_info_constants.js
@@ -20922,9 +21033,6 @@ const USER_STATUS_COLOR_MODIFIERS = {
20922
21033
  //
20923
21034
  //
20924
21035
  //
20925
- //
20926
- //
20927
-
20928
21036
 
20929
21037
 
20930
21038
 
@@ -20980,15 +21088,6 @@ const USER_STATUS_COLOR_MODIFIERS = {
20980
21088
  default: ''
20981
21089
  },
20982
21090
 
20983
- /**
20984
- * Background color of initials letters in avatar.
20985
- */
20986
- avatarColor: {
20987
- type: String,
20988
- default: 'base',
20989
- validator: color => Object.keys(AVATAR_COLOR_MODIFIERS).includes(color)
20990
- },
20991
-
20992
21091
  /**
20993
21092
  * Status color of user from contact.
20994
21093
  */
@@ -21024,8 +21123,8 @@ const USER_STATUS_COLOR_MODIFIERS = {
21024
21123
  ;
21025
21124
  var contact_info_component = normalizeComponent(
21026
21125
  contact_info_contact_infovue_type_script_lang_js_,
21027
- contact_infovue_type_template_id_c1f377a8_render,
21028
- contact_infovue_type_template_id_c1f377a8_staticRenderFns,
21126
+ contact_infovue_type_template_id_9fe40f88_render,
21127
+ contact_infovue_type_template_id_9fe40f88_staticRenderFns,
21029
21128
  false,
21030
21129
  null,
21031
21130
  null,