@dialpad/dialtone-vue 2.65.0-beta.1 → 2.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +1 -1
- package/CHANGELOG.md +7 -1
- package/dist/dialtone-vue.common.js +88 -59
- package/dist/dialtone-vue.umd.js +88 -59
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/package.json +2 -2
package/dist/dialtone-vue.umd.js
CHANGED
|
@@ -2385,8 +2385,8 @@ if (typeof window !== 'undefined') {
|
|
|
2385
2385
|
// Indicate to webpack that this file can be concatenated
|
|
2386
2386
|
/* harmony default export */ const setPublicPath = (null);
|
|
2387
2387
|
|
|
2388
|
-
;// 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=
|
|
2389
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.avatarClasses,style:(_vm.initialKindStyle),attrs:{"id":_vm.id,"data-qa":"dt-avatar"}},[_c('div',{ref:"canvas",staticClass:"d-avatar__canvas"},[(_vm.showDefaultSlot)?_vm._t("default"):(_vm.showInitials)?_c('span',{class:_vm.AVATAR_KIND_MODIFIERS.initials},[_vm._v(" "+_vm._s(_vm.formattedInitials)+" ")]):_vm._e()],2),(_vm.showGroup)?_c('span',{staticClass:"d-avatar__count",attrs:{"data-qa":"dt-avatar-count"}},[_vm._v(_vm._s(_vm.formattedGroup))]):_vm._e(),(_vm.presence && !_vm.showGroup)?_c('dt-presence',_vm._b({class:[
|
|
2388
|
+
;// 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=0071818a&
|
|
2389
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.avatarClasses,style:(_vm.initialKindStyle),attrs:{"id":_vm.id,"data-qa":"dt-avatar"}},[_c('div',{ref:"canvas",staticClass:"d-avatar__canvas"},[(_vm.showDefaultSlot)?_vm._t("default"):_vm._e(),(_vm.showInitials)?_c('span',{staticClass:"d-ps-absolute d-zi-base",class:_vm.AVATAR_KIND_MODIFIERS.initials},[_vm._v(" "+_vm._s(_vm.formattedInitials)+" ")]):_vm._e()],2),(_vm.showGroup)?_c('span',{staticClass:"d-avatar__count d-zi-base1",attrs:{"data-qa":"dt-avatar-count"}},[_vm._v(_vm._s(_vm.formattedGroup))]):_vm._e(),(_vm.presence && !_vm.showGroup)?_c('dt-presence',_vm._b({staticClass:"d-zi-base1",class:[
|
|
2390
2390
|
'd-avatar__presence',
|
|
2391
2391
|
_vm.AVATAR_PRESENCE_SIZE_MODIFIERS[_vm.size] ],attrs:{"presence":_vm.presence,"data-qa":"dt-presence"}},'dt-presence',_vm.presenceProps,false)):_vm._e()],1)}
|
|
2392
2392
|
var staticRenderFns = []
|
|
@@ -2469,7 +2469,8 @@ var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpac
|
|
|
2469
2469
|
|
|
2470
2470
|
const seedrandom = __webpack_require__(377);
|
|
2471
2471
|
|
|
2472
|
-
let UNIQUE_ID_COUNTER = 0;
|
|
2472
|
+
let UNIQUE_ID_COUNTER = 0;
|
|
2473
|
+
let TIMER; // selector to find focusable not hidden inputs
|
|
2473
2474
|
|
|
2474
2475
|
const FOCUSABLE_SELECTOR_NOT_HIDDEN = 'input:not([type=hidden]):not(:disabled)'; // selector to find focusable not disables elements
|
|
2475
2476
|
|
|
@@ -2591,7 +2592,7 @@ const flushPromises = () => {
|
|
|
2591
2592
|
*/
|
|
2592
2593
|
|
|
2593
2594
|
const kebabCaseToPascalCase = string => {
|
|
2594
|
-
return string.toLowerCase().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
|
|
2595
|
+
return string === null || string === void 0 ? void 0 : string.toLowerCase().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
|
|
2595
2596
|
};
|
|
2596
2597
|
/**
|
|
2597
2598
|
* Transform a string from PascalCase to kebab-case
|
|
@@ -2602,6 +2603,17 @@ const kebabCaseToPascalCase = string => {
|
|
|
2602
2603
|
const pascalCaseToKebabCase = string => {
|
|
2603
2604
|
return string.replace(/\.?([A-Z0-9]+)/g, (x, y) => '-' + y.toLowerCase()).replace(/^-/, '');
|
|
2604
2605
|
};
|
|
2606
|
+
/*
|
|
2607
|
+
* Set's a global timer to debounce the execution of a function.
|
|
2608
|
+
* @param { object } func - the function that is going to be called after timeout
|
|
2609
|
+
* @param { number } [timeout=300] timeout
|
|
2610
|
+
* */
|
|
2611
|
+
|
|
2612
|
+
function debounce(func) {
|
|
2613
|
+
let timeout = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 300;
|
|
2614
|
+
clearTimeout(TIMER);
|
|
2615
|
+
TIMER = setTimeout(func, timeout);
|
|
2616
|
+
}
|
|
2605
2617
|
/* harmony default export */ const utils = ({
|
|
2606
2618
|
getUniqueString,
|
|
2607
2619
|
getRandomElement,
|
|
@@ -2611,7 +2623,8 @@ const pascalCaseToKebabCase = string => {
|
|
|
2611
2623
|
getValidationState,
|
|
2612
2624
|
htmlFragment,
|
|
2613
2625
|
flushPromises,
|
|
2614
|
-
kebabCaseToPascalCase
|
|
2626
|
+
kebabCaseToPascalCase,
|
|
2627
|
+
debounce
|
|
2615
2628
|
});
|
|
2616
2629
|
;// 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/presence/presence.vue?vue&type=template&id=77957bb3&
|
|
2617
2630
|
var presencevue_type_template_id_77957bb3_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-presence",attrs:{"data-qa":"dt-presence","role":"status","aria-live":_vm.$attrs.ariaLive || 'off'}},[(_vm.srText)?_c('span',{staticClass:"sr-only",attrs:{"data-qa":"dt-presence-sr-text"}},[_vm._v(_vm._s(_vm.srText)+" ")]):_vm._e(),_c('div',{staticClass:"d-presence__inner",class:{
|
|
@@ -2895,6 +2908,8 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
2895
2908
|
//
|
|
2896
2909
|
//
|
|
2897
2910
|
//
|
|
2911
|
+
//
|
|
2912
|
+
//
|
|
2898
2913
|
|
|
2899
2914
|
|
|
2900
2915
|
|
|
@@ -3001,13 +3016,14 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
3001
3016
|
data() {
|
|
3002
3017
|
return {
|
|
3003
3018
|
// initials, image or icon
|
|
3004
|
-
kind:
|
|
3019
|
+
kind: null,
|
|
3005
3020
|
AVATAR_SIZE_MODIFIERS: AVATAR_SIZE_MODIFIERS,
|
|
3006
3021
|
AVATAR_KIND_MODIFIERS: AVATAR_KIND_MODIFIERS,
|
|
3007
3022
|
AVATAR_PRESENCE_SIZE_MODIFIERS: AVATAR_PRESENCE_SIZE_MODIFIERS,
|
|
3008
3023
|
imageLoadedSuccessfully: null,
|
|
3009
3024
|
slottedInitials: '',
|
|
3010
|
-
formattedInitials: ''
|
|
3025
|
+
formattedInitials: '',
|
|
3026
|
+
initializing: false
|
|
3011
3027
|
};
|
|
3012
3028
|
},
|
|
3013
3029
|
|
|
@@ -3020,11 +3036,11 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
3020
3036
|
},
|
|
3021
3037
|
|
|
3022
3038
|
showDefaultSlot() {
|
|
3023
|
-
return this.kind !== 'initials' && this.imageLoadedSuccessfully
|
|
3039
|
+
return this.kind !== 'initials' || this.kind === 'image' && this.imageLoadedSuccessfully === true;
|
|
3024
3040
|
},
|
|
3025
3041
|
|
|
3026
3042
|
showInitials() {
|
|
3027
|
-
return this.kind === 'initials' || this.initials;
|
|
3043
|
+
return this.kind === 'initials' || this.kind === 'image' && this.initials;
|
|
3028
3044
|
},
|
|
3029
3045
|
|
|
3030
3046
|
showGroup() {
|
|
@@ -3057,28 +3073,27 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
3057
3073
|
},
|
|
3058
3074
|
|
|
3059
3075
|
updated() {
|
|
3060
|
-
|
|
3061
|
-
this.slottedInitials = this.$slots.default[0].text || this.$slots.default[0].textContent;
|
|
3062
|
-
this.formatInitials(this.slottedInitials);
|
|
3063
|
-
}
|
|
3076
|
+
this.init();
|
|
3064
3077
|
},
|
|
3065
3078
|
|
|
3066
3079
|
methods: {
|
|
3067
|
-
init() {
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3080
|
+
async init() {
|
|
3081
|
+
if (this.initializing) return;
|
|
3082
|
+
this.kind = null;
|
|
3083
|
+
await this.$nextTick();
|
|
3084
|
+
const firstChild = this.$refs.canvas.firstElementChild || this.$refs.canvas;
|
|
3085
|
+
this.formatInitials(this.initials);
|
|
3074
3086
|
this.setKind(firstChild);
|
|
3075
3087
|
this.kindHandler(firstChild);
|
|
3088
|
+
this.initializing = true;
|
|
3089
|
+
await this.$nextTick();
|
|
3090
|
+
this.initializing = false;
|
|
3076
3091
|
},
|
|
3077
3092
|
|
|
3078
3093
|
kindHandler(el) {
|
|
3079
3094
|
switch (this.kind) {
|
|
3080
3095
|
case 'image':
|
|
3081
|
-
el.classList.add('d-avatar__image');
|
|
3096
|
+
el.classList.add('d-avatar__image', 'd-zi-base1');
|
|
3082
3097
|
this.validateImageAttrsPresence();
|
|
3083
3098
|
this.setImageListeners(el);
|
|
3084
3099
|
break;
|
|
@@ -3089,24 +3104,25 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
3089
3104
|
|
|
3090
3105
|
case 'initials':
|
|
3091
3106
|
this.slottedInitials = el.text || el.textContent;
|
|
3092
|
-
this.formatInitials(this.slottedInitials);
|
|
3107
|
+
this.formatInitials(this.slottedInitials.trim() || this.initials);
|
|
3093
3108
|
break;
|
|
3094
3109
|
}
|
|
3095
3110
|
},
|
|
3096
3111
|
|
|
3097
3112
|
setImageListeners(el) {
|
|
3098
|
-
el.addEventListener('
|
|
3099
|
-
|
|
3100
|
-
this.imageLoadedSuccessfully = false;
|
|
3113
|
+
el.addEventListener('load', () => this._loadedImageEventHandler(el), {
|
|
3114
|
+
once: true
|
|
3101
3115
|
});
|
|
3102
|
-
el.addEventListener('
|
|
3103
|
-
|
|
3104
|
-
this.imageLoadedSuccessfully = true;
|
|
3116
|
+
el.addEventListener('error', () => this._erroredImageEventHandler(el), {
|
|
3117
|
+
once: true
|
|
3105
3118
|
});
|
|
3106
3119
|
},
|
|
3107
3120
|
|
|
3108
3121
|
formatInitials(initials) {
|
|
3109
|
-
if (!initials)
|
|
3122
|
+
if (!initials) {
|
|
3123
|
+
this.formattedInitials = '';
|
|
3124
|
+
return;
|
|
3125
|
+
}
|
|
3110
3126
|
|
|
3111
3127
|
if (this.validatedSize === 'xs') {
|
|
3112
3128
|
this.formattedInitials = '';
|
|
@@ -3118,7 +3134,7 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
3118
3134
|
},
|
|
3119
3135
|
|
|
3120
3136
|
setKind(element) {
|
|
3121
|
-
if (this.
|
|
3137
|
+
if (this.isIconType(element)) {
|
|
3122
3138
|
this.kind = 'icon';
|
|
3123
3139
|
return;
|
|
3124
3140
|
}
|
|
@@ -3131,7 +3147,7 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
3131
3147
|
this.kind = 'initials';
|
|
3132
3148
|
},
|
|
3133
3149
|
|
|
3134
|
-
|
|
3150
|
+
isIconType(element) {
|
|
3135
3151
|
var _element$tagName;
|
|
3136
3152
|
|
|
3137
3153
|
return (element === null || element === void 0 ? void 0 : (_element$tagName = element.tagName) === null || _element$tagName === void 0 ? void 0 : _element$tagName.toUpperCase()) === 'SVG';
|
|
@@ -3177,6 +3193,18 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
3177
3193
|
if (isSrcMissing || isAltMissing) {
|
|
3178
3194
|
external_commonjs_vue_commonjs2_vue_root_Vue_default().util.warn('src and alt attributes are required for image avatars', this);
|
|
3179
3195
|
}
|
|
3196
|
+
},
|
|
3197
|
+
|
|
3198
|
+
_loadedImageEventHandler(el) {
|
|
3199
|
+
this.imageLoadedSuccessfully = true;
|
|
3200
|
+
el.classList.remove('d-d-none');
|
|
3201
|
+
el.classList.add('d-avatar--image-loaded');
|
|
3202
|
+
},
|
|
3203
|
+
|
|
3204
|
+
_erroredImageEventHandler(el) {
|
|
3205
|
+
this.imageLoadedSuccessfully = false;
|
|
3206
|
+
el.classList.remove('d-avatar--image-loaded');
|
|
3207
|
+
el.classList.add('d-d-none');
|
|
3180
3208
|
}
|
|
3181
3209
|
|
|
3182
3210
|
}
|
|
@@ -8621,7 +8649,7 @@ function orderModifiers(modifiers) {
|
|
|
8621
8649
|
}, []);
|
|
8622
8650
|
}
|
|
8623
8651
|
;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/debounce.js
|
|
8624
|
-
function
|
|
8652
|
+
function debounce_debounce(fn) {
|
|
8625
8653
|
var pending;
|
|
8626
8654
|
return function () {
|
|
8627
8655
|
if (!pending) {
|
|
@@ -8806,7 +8834,7 @@ function popperGenerator(generatorOptions) {
|
|
|
8806
8834
|
},
|
|
8807
8835
|
// Async and optimistically optimized update – it will not be executed if
|
|
8808
8836
|
// not necessary (debounced to run at most once-per-tick)
|
|
8809
|
-
update:
|
|
8837
|
+
update: debounce_debounce(function () {
|
|
8810
8838
|
return new Promise(function (resolve) {
|
|
8811
8839
|
instance.forceUpdate();
|
|
8812
8840
|
resolve(state);
|
|
@@ -23358,9 +23386,9 @@ var grouped_chip_component = normalizeComponent(
|
|
|
23358
23386
|
/* harmony default export */ const grouped_chip = (grouped_chip_component.exports);
|
|
23359
23387
|
;// CONCATENATED MODULE: ./recipes/chips/grouped_chip/index.js
|
|
23360
23388
|
|
|
23361
|
-
;// 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/leftbar/general_row/general_row.vue?vue&type=template&id=
|
|
23362
|
-
var
|
|
23363
|
-
var
|
|
23389
|
+
;// 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/leftbar/general_row/general_row.vue?vue&type=template&id=31787490&
|
|
23390
|
+
var general_rowvue_type_template_id_31787490_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.leftbarGeneralRowClasses,attrs:{"data-qa":"dt-leftbar-row"}},[_c('button',_vm._g(_vm._b({staticClass:"dt-leftbar-row__primary",attrs:{"data-qa":"dt-leftbar-row-link","aria-label":_vm.getAriaLabel,"title":_vm.description}},'button',_vm.$attrs,false),_vm.$listeners),[_c('div',{staticClass:"dt-leftbar-row__alpha"},[(_vm.isTyping)?_c('div',{staticClass:"dt-leftbar-row__is-typing"},[_c('span'),_c('span'),_c('span')]):_vm._t("left",function(){return [_c('dt-recipe-leftbar-general-row-icon',{class:{ 'd-o50': _vm.isTyping },attrs:{"type":_vm.getIcon,"color":_vm.color,"data-qa":"dt-leftbar-row-icon"}})]})],2),_c('div',{staticClass:"dt-leftbar-row__label"},[_vm._t("label",function(){return [_c('dt-emoji-text-wrapper',{staticClass:"dt-leftbar-row__description",attrs:{"data-qa":"dt-leftbar-row-description"}},[_vm._v(" "+_vm._s(_vm.description)+" ")])]})],2),_c('div',{staticClass:"dt-leftbar-row__omega"},[(_vm.dndText)?_c('dt-tooltip',{attrs:{"placement":"top","message":_vm.dndTextTooltip},scopedSlots:_vm._u([{key:"anchor",fn:function(){return [_c('div',{staticClass:"dt-leftbar-row__dnd"},[_vm._v(" "+_vm._s(_vm.dndText)+" ")])]},proxy:true}],null,false,1506147022)}):(_vm.activeVoiceChat)?_c('div',{staticClass:"dt-leftbar-row__active-voice"},[_c('dt-icon',{attrs:{"size":"300","name":"activity"}})],1):(!!_vm.unreadCount && _vm.hasUnreads)?_c('dt-tooltip',{attrs:{"message":_vm.unreadCountTooltip,"placement":"top"},scopedSlots:_vm._u([{key:"anchor",fn:function(){return [_c('dt-badge',{attrs:{"kind":"count","type":"bulletin","data-qa":"dt-leftbar-row-unread-badge"}},[_vm._v(" "+_vm._s(_vm.unreadCount)+" ")])]},proxy:true}])}):_vm._e()],1)]),(_vm.hasCallButton)?_c('div',{staticClass:"dt-leftbar-row__action",attrs:{"data-qa":"dt-leftbar-row-action"}},[_c('dt-tooltip',{attrs:{"message":_vm.callButtonTooltip,"placement":"top"},scopedSlots:_vm._u([{key:"anchor",fn:function(){return [_c('dt-button',{staticClass:"dt-leftbar-row__action-button",attrs:{"data-qa":"dt-leftbar-row-action-call-button","circle":"","size":"xs","kind":"inverted","aria-label":_vm.callButtonTooltip},on:{"focus":function($event){_vm.actionFocused = true},"blur":function($event){_vm.actionFocused = false},"mouseleave":function($event){_vm.actionFocused = false},"click":function($event){$event.stopPropagation();return _vm.$emit('call', $event)}},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('dt-icon',{attrs:{"name":"phone","size":"200"}})]},proxy:true}],null,false,990728611)})]},proxy:true}],null,false,4111698736)})],1):_vm._e()])}
|
|
23391
|
+
var general_rowvue_type_template_id_31787490_staticRenderFns = []
|
|
23364
23392
|
|
|
23365
23393
|
|
|
23366
23394
|
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/general_row_constants.js
|
|
@@ -23938,27 +23966,27 @@ var emoji_text_wrapper_component = normalizeComponent(
|
|
|
23938
23966
|
)
|
|
23939
23967
|
|
|
23940
23968
|
/* harmony default export */ const emoji_text_wrapper = (emoji_text_wrapper_component.exports);
|
|
23941
|
-
;// 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/leftbar/general_row/leftbar_general_row_icon.vue?vue&type=template&id=
|
|
23942
|
-
var
|
|
23943
|
-
var
|
|
23969
|
+
;// 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/leftbar/general_row/leftbar_general_row_icon.vue?vue&type=template&id=42d6843e&
|
|
23970
|
+
var leftbar_general_row_iconvue_type_template_id_42d6843e_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isIconType)?_c('dt-icon',{attrs:{"name":_vm.getIconName,"size":"300"}}):(_vm.isContactCenterType)?_c('div',{class:_vm.contactCenterIconClasses}):(_vm.isDialbotType)?_c('div',{class:_vm.dialbotClasses},[_c('icon-dialbot',{staticClass:"d-svg--size18"})],1):_vm._e()}
|
|
23971
|
+
var leftbar_general_row_iconvue_type_template_id_42d6843e_staticRenderFns = []
|
|
23944
23972
|
|
|
23945
23973
|
|
|
23946
|
-
;// 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!./node_modules/@dialpad/dialtone/lib/dist/vue/icons/
|
|
23947
|
-
var
|
|
23948
|
-
var
|
|
23974
|
+
;// 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!./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconDialbot.vue?vue&type=template&id=afc48fb0&
|
|
23975
|
+
var IconDialbotvue_type_template_id_afc48fb0_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticClass:"d-svg d-svg--native d-svg__dialbot",attrs:{"aria-hidden":"true","focusable":"false","aria-label":"Dialbot","width":"358","height":"358","viewBox":"0 0 358 358","fill":"none"}},[_c('circle',{attrs:{"cx":"179","cy":"179","r":"179","fill":"url(#paint0_linear_1957_89480)"}}),_c('path',{attrs:{"d":"M179 268.5v-11.933V268.5Zm86.517 0v11.933h19.308l-8.635-17.27-10.673 5.337Zm-16.73-33.459-9.3-7.478-4.797 5.967 3.424 6.848 10.673-5.337ZM179 101.433c42.839 0 77.567 34.728 77.567 77.567h23.866c0-56.02-45.413-101.433-101.433-101.433v23.866ZM101.433 179c0-42.839 34.728-77.567 77.567-77.567V77.567C122.98 77.567 77.567 122.98 77.567 179h23.866ZM179 256.567c-42.839 0-77.567-34.728-77.567-77.567H77.567c0 56.02 45.413 101.433 101.433 101.433v-23.866Zm86.517 0H179v23.866h86.517v-23.866Zm-27.403-16.189 16.729 33.459 21.347-10.674-16.729-33.459-21.347 10.674ZM256.567 179c0 18.396-6.39 35.268-17.08 48.563l18.6 14.955c13.975-17.38 22.346-39.488 22.346-63.518h-23.866Z","fill":"white"}}),_c('path',{attrs:{"d":"M226.733 202.867c-6.527 5.701-13.942 10.11-22.243 13.226-8.302 3.116-16.781 4.674-25.437 4.674-8.727 0-17.241-1.558-25.543-4.674-8.301-3.116-15.716-7.525-22.243-13.226v-11.933c4.399 2.651 9.365 4.939 14.9 6.861a112.143 112.143 0 0 0 16.816 4.674c5.747 1.127 11.104 1.691 16.07 1.691 5.038 0 10.395-.564 16.071-1.691a112.209 112.209 0 0 0 16.816-4.674c5.534-1.922 10.465-4.21 14.793-6.861v11.933Z","fill":"white"}}),_c('defs',[_c('linearGradient',{attrs:{"id":"paint0_linear_1957_89480","x1":"0","y1":"0","x2":"358","y2":"358","gradientUnits":"userSpaceOnUse"}},[_c('stop',{attrs:{"stop-color":"#7C52FF"}}),_c('stop',{attrs:{"offset":"1","stop-color":"#F9008E"}})],1)],1)])}
|
|
23976
|
+
var IconDialbotvue_type_template_id_afc48fb0_staticRenderFns = []
|
|
23949
23977
|
|
|
23950
23978
|
|
|
23951
|
-
;// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/
|
|
23979
|
+
;// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconDialbot.vue
|
|
23952
23980
|
|
|
23953
23981
|
var script = {}
|
|
23954
23982
|
|
|
23955
23983
|
|
|
23956
23984
|
/* normalize component */
|
|
23957
23985
|
;
|
|
23958
|
-
var
|
|
23986
|
+
var IconDialbot_component = normalizeComponent(
|
|
23959
23987
|
script,
|
|
23960
|
-
|
|
23961
|
-
|
|
23988
|
+
IconDialbotvue_type_template_id_afc48fb0_render,
|
|
23989
|
+
IconDialbotvue_type_template_id_afc48fb0_staticRenderFns,
|
|
23962
23990
|
false,
|
|
23963
23991
|
null,
|
|
23964
23992
|
null,
|
|
@@ -23966,7 +23994,7 @@ var IconDialpadGlyph_component = normalizeComponent(
|
|
|
23966
23994
|
|
|
23967
23995
|
)
|
|
23968
23996
|
|
|
23969
|
-
/* harmony default export */ const
|
|
23997
|
+
/* harmony default export */ const IconDialbot = (IconDialbot_component.exports);
|
|
23970
23998
|
;// 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!./recipes/leftbar/general_row/leftbar_general_row_icon.vue?vue&type=script&lang=js&
|
|
23971
23999
|
//
|
|
23972
24000
|
//
|
|
@@ -23988,7 +24016,6 @@ var IconDialpadGlyph_component = normalizeComponent(
|
|
|
23988
24016
|
//
|
|
23989
24017
|
//
|
|
23990
24018
|
//
|
|
23991
|
-
//
|
|
23992
24019
|
|
|
23993
24020
|
|
|
23994
24021
|
|
|
@@ -23996,7 +24023,7 @@ var IconDialpadGlyph_component = normalizeComponent(
|
|
|
23996
24023
|
name: 'DtRecipeLeftbarGeneralRowIcon',
|
|
23997
24024
|
components: {
|
|
23998
24025
|
DtIcon: icon,
|
|
23999
|
-
|
|
24026
|
+
IconDialbot: IconDialbot
|
|
24000
24027
|
},
|
|
24001
24028
|
props: {
|
|
24002
24029
|
type: {
|
|
@@ -24030,7 +24057,7 @@ var IconDialpadGlyph_component = normalizeComponent(
|
|
|
24030
24057
|
},
|
|
24031
24058
|
|
|
24032
24059
|
dialbotClasses() {
|
|
24033
|
-
return ['d-
|
|
24060
|
+
return ['d-w24', 'd-h24', 'd-d-flex', 'd-ai-center', 'd-jc-center'];
|
|
24034
24061
|
}
|
|
24035
24062
|
|
|
24036
24063
|
}
|
|
@@ -24047,8 +24074,8 @@ var IconDialpadGlyph_component = normalizeComponent(
|
|
|
24047
24074
|
;
|
|
24048
24075
|
var leftbar_general_row_icon_component = normalizeComponent(
|
|
24049
24076
|
general_row_leftbar_general_row_iconvue_type_script_lang_js_,
|
|
24050
|
-
|
|
24051
|
-
|
|
24077
|
+
leftbar_general_row_iconvue_type_template_id_42d6843e_render,
|
|
24078
|
+
leftbar_general_row_iconvue_type_template_id_42d6843e_staticRenderFns,
|
|
24052
24079
|
false,
|
|
24053
24080
|
null,
|
|
24054
24081
|
null,
|
|
@@ -24178,6 +24205,7 @@ var leftbar_general_row_icon_component = normalizeComponent(
|
|
|
24178
24205
|
//
|
|
24179
24206
|
//
|
|
24180
24207
|
//
|
|
24208
|
+
//
|
|
24181
24209
|
|
|
24182
24210
|
|
|
24183
24211
|
|
|
@@ -24416,8 +24444,8 @@ var general_rowvue_type_style_index_0_lang_less_ = __webpack_require__(745);
|
|
|
24416
24444
|
|
|
24417
24445
|
var general_row_component = normalizeComponent(
|
|
24418
24446
|
general_row_general_rowvue_type_script_lang_js_,
|
|
24419
|
-
|
|
24420
|
-
|
|
24447
|
+
general_rowvue_type_template_id_31787490_render,
|
|
24448
|
+
general_rowvue_type_template_id_31787490_staticRenderFns,
|
|
24421
24449
|
false,
|
|
24422
24450
|
null,
|
|
24423
24451
|
null,
|
|
@@ -24588,9 +24616,9 @@ var group_row_component = normalizeComponent(
|
|
|
24588
24616
|
/* harmony default export */ const group_row = (group_row_component.exports);
|
|
24589
24617
|
;// CONCATENATED MODULE: ./recipes/leftbar/group_row/index.js
|
|
24590
24618
|
|
|
24591
|
-
;// 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/leftbar/contact_row/contact_row.vue?vue&type=template&id=
|
|
24592
|
-
var
|
|
24593
|
-
var
|
|
24619
|
+
;// 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/leftbar/contact_row/contact_row.vue?vue&type=template&id=4a456732&
|
|
24620
|
+
var contact_rowvue_type_template_id_4a456732_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-recipe-general-row',_vm._g({attrs:{"unread-count":_vm.unreadCount,"description":(_vm.name + " " + _vm.presenceText + " " + _vm.userStatus),"has-unreads":_vm.hasUnreads,"selected":_vm.selected,"has-call-button":true,"muted":_vm.muted,"is-typing":_vm.isTyping,"call-button-tooltip":_vm.callButtonTooltip,"unread-count-tooltip":_vm.unreadCountTooltip},scopedSlots:_vm._u([{key:"left",fn:function(){return [_c('dt-avatar',{attrs:{"size":"sm","seed":_vm.avatarSeed,"presence":_vm.avatarPresence}},[(_vm.avatarSrc)?_c('img',{attrs:{"data-qa":"dt-avatar-image","src":_vm.avatarSrc,"alt":_vm.name}}):(_vm.noInitials)?[_c('dt-icon',{attrs:{"name":"user","size":"200"}})]:[_vm._v(" "+_vm._s(_vm.avatarInitial)+" ")]],2)]},proxy:true},{key:"label",fn:function(){return [_c('dt-emoji-text-wrapper',{staticClass:"dt-leftbar-row__description",attrs:{"data-qa":"dt-leftbar-row-description","size":"200"}},[_vm._v(" "+_vm._s(_vm.name)+" ")]),_c('div',{staticClass:"dt-leftbar-row__status"},[(_vm.presenceText)?_c('span',{class:['dt-leftbar-row__meta-context', _vm.presenceColorClass],attrs:{"data-qa":"dt-leftbar-row-presence-text"}},[_vm._v(" "+_vm._s(_vm.presenceText)+" ")]):_vm._e(),(_vm.userStatus)?_c('dt-emoji-text-wrapper',{staticClass:"dt-leftbar-row__meta-custom",attrs:{"size":"100","element-type":"span","data-qa":"dt-leftbar-row-user-status"}},[_vm._v(" "+_vm._s(_vm.userStatus)+" ")]):_vm._e()],1)]},proxy:true}])},_vm.$listeners))}
|
|
24621
|
+
var contact_rowvue_type_template_id_4a456732_staticRenderFns = []
|
|
24594
24622
|
|
|
24595
24623
|
|
|
24596
24624
|
;// 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!./recipes/leftbar/contact_row/contact_row.vue?vue&type=script&lang=js&
|
|
@@ -24687,6 +24715,7 @@ var contact_rowvue_type_template_id_483627f3_staticRenderFns = []
|
|
|
24687
24715
|
* Determines whether to show the presence indicator for
|
|
24688
24716
|
* Avatar - accepts PRESENCE_STATES values: 'active', 'busy', 'away', 'offline'. defaults to active.
|
|
24689
24717
|
* @values active, busy, away, offline
|
|
24718
|
+
* @default active
|
|
24690
24719
|
*/
|
|
24691
24720
|
avatarPresence: {
|
|
24692
24721
|
type: String,
|
|
@@ -24845,8 +24874,8 @@ var contact_rowvue_type_template_id_483627f3_staticRenderFns = []
|
|
|
24845
24874
|
;
|
|
24846
24875
|
var contact_row_component = normalizeComponent(
|
|
24847
24876
|
contact_row_contact_rowvue_type_script_lang_js_,
|
|
24848
|
-
|
|
24849
|
-
|
|
24877
|
+
contact_rowvue_type_template_id_4a456732_render,
|
|
24878
|
+
contact_rowvue_type_template_id_4a456732_staticRenderFns,
|
|
24850
24879
|
false,
|
|
24851
24880
|
null,
|
|
24852
24881
|
null,
|