@dialpad/dialtone-vue 3.46.2 → 3.47.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 +21 -0
- package/dist/component-documentation.json +1 -1
- package/dist/dialtone-vue.common.js +598 -75
- package/dist/dialtone-vue.css +1 -1
- package/dist/dialtone-vue.umd.js +598 -75
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/dist/emoji.common.js +11 -0
- package/dist/emoji.umd.js +11 -0
- package/dist/emoji.umd.min.js +1 -1
- package/package.json +2 -2
package/dist/dialtone-vue.umd.js
CHANGED
|
@@ -1202,7 +1202,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1202
1202
|
"DtRecipeComboboxMultiSelect": () => (/* reexport */ combobox_multi_select),
|
|
1203
1203
|
"DtRecipeComboboxWithPopover": () => (/* reexport */ combobox_with_popover),
|
|
1204
1204
|
"DtRecipeContactInfo": () => (/* reexport */ contact_info),
|
|
1205
|
+
"DtRecipeContactRow": () => (/* reexport */ contact_row),
|
|
1205
1206
|
"DtRecipeGeneralRow": () => (/* reexport */ general_row),
|
|
1207
|
+
"DtRecipeGroupRow": () => (/* reexport */ group_row),
|
|
1206
1208
|
"DtRecipeGroupedChip": () => (/* reexport */ grouped_chip),
|
|
1207
1209
|
"DtRecipeIvrNode": () => (/* reexport */ ivr_node),
|
|
1208
1210
|
"DtRecipeTopBannerInfo": () => (/* reexport */ top_banner_info),
|
|
@@ -1272,6 +1274,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1272
1274
|
"TOOLTIP_STICKY_VALUES": () => (/* reexport */ TOOLTIP_STICKY_VALUES),
|
|
1273
1275
|
"USER_STATUS_COLOR_MODIFIERS": () => (/* reexport */ USER_STATUS_COLOR_MODIFIERS),
|
|
1274
1276
|
"VALIDATION_MESSAGE_TYPES": () => (/* reexport */ VALIDATION_MESSAGE_TYPES),
|
|
1277
|
+
"VALID_WIDTH_SIZE": () => (/* reexport */ VALID_WIDTH_SIZE),
|
|
1275
1278
|
"filterFormattedMessages": () => (/* reexport */ filterFormattedMessages),
|
|
1276
1279
|
"formatMessages": () => (/* reexport */ formatMessages),
|
|
1277
1280
|
"getUniqueString": () => (/* reexport */ getUniqueString),
|
|
@@ -1298,7 +1301,7 @@ if (typeof window !== 'undefined') {
|
|
|
1298
1301
|
|
|
1299
1302
|
;// CONCATENATED MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
1300
1303
|
const external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject = require("vue");
|
|
1301
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/avatar/avatar.vue?vue&type=template&id=
|
|
1304
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/avatar/avatar.vue?vue&type=template&id=0795f071
|
|
1302
1305
|
|
|
1303
1306
|
const _hoisted_1 = ["id"];
|
|
1304
1307
|
const _hoisted_2 = {
|
|
@@ -1331,7 +1334,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1331
1334
|
"data-qa": "dt-presence"
|
|
1332
1335
|
}), null, 16, ["presence", "class"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 14, _hoisted_1);
|
|
1333
1336
|
}
|
|
1334
|
-
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=template&id=
|
|
1337
|
+
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=template&id=0795f071
|
|
1335
1338
|
|
|
1336
1339
|
;// CONCATENATED MODULE: ./common/constants.js
|
|
1337
1340
|
/* TODO: Move and sort these in a constants directory
|
|
@@ -1805,7 +1808,7 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
1805
1808
|
|
|
1806
1809
|
computed: {
|
|
1807
1810
|
avatarClasses() {
|
|
1808
|
-
return ['d-avatar', AVATAR_SIZE_MODIFIERS[this.
|
|
1811
|
+
return ['d-avatar', AVATAR_SIZE_MODIFIERS[this.validatedSize], this.avatarClass, {
|
|
1809
1812
|
'd-avatar--no-gradient': !this.gradient,
|
|
1810
1813
|
'd-avatar--group': this.showGroup
|
|
1811
1814
|
}];
|
|
@@ -1835,6 +1838,11 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
1835
1838
|
|
|
1836
1839
|
formattedGroup() {
|
|
1837
1840
|
return this.group > 99 ? '99+' : this.group;
|
|
1841
|
+
},
|
|
1842
|
+
|
|
1843
|
+
validatedSize() {
|
|
1844
|
+
// TODO: Group only supports xs size for now. Remove this when we support other sizes.
|
|
1845
|
+
return this.group ? 'xs' : this.size;
|
|
1838
1846
|
}
|
|
1839
1847
|
|
|
1840
1848
|
},
|
|
@@ -1895,9 +1903,9 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
1895
1903
|
formatInitials(initials) {
|
|
1896
1904
|
if (!initials) return;
|
|
1897
1905
|
|
|
1898
|
-
if (this.
|
|
1906
|
+
if (this.validatedSize === 'xs') {
|
|
1899
1907
|
this.formattedInitials = '';
|
|
1900
|
-
} else if (this.
|
|
1908
|
+
} else if (this.validatedSize === 'sm') {
|
|
1901
1909
|
this.formattedInitials = initials.trim()[0];
|
|
1902
1910
|
} else {
|
|
1903
1911
|
this.formattedInitials = initials.trim().slice(0, 2);
|
|
@@ -1970,10 +1978,10 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
1970
1978
|
});
|
|
1971
1979
|
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=script&lang=js
|
|
1972
1980
|
|
|
1973
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/avatar/avatar.vue?vue&type=style&index=0&id=
|
|
1981
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/avatar/avatar.vue?vue&type=style&index=0&id=0795f071&lang=less
|
|
1974
1982
|
// extracted by mini-css-extract-plugin
|
|
1975
1983
|
|
|
1976
|
-
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=style&index=0&id=
|
|
1984
|
+
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=style&index=0&id=0795f071&lang=less
|
|
1977
1985
|
|
|
1978
1986
|
;// CONCATENATED MODULE: ./components/avatar/avatar.vue
|
|
1979
1987
|
|
|
@@ -3119,6 +3127,7 @@ const focusableElementsList = `button,[href],input,select,textarea,details,[tabi
|
|
|
3119
3127
|
_getFocusableElements() {
|
|
3120
3128
|
let el = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.$el;
|
|
3121
3129
|
let includeNegativeTabIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
3130
|
+
if (!el) return [];
|
|
3122
3131
|
const focusableContent = [...el.querySelectorAll(focusableElementsList)];
|
|
3123
3132
|
return focusableContent.filter(fc => {
|
|
3124
3133
|
const style = window.getComputedStyle(fc);
|
|
@@ -18519,17 +18528,17 @@ const stack_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(stackvue_typ
|
|
|
18519
18528
|
/* harmony default export */ const stack = (stack_exports_);
|
|
18520
18529
|
;// CONCATENATED MODULE: ./components/stack/index.js
|
|
18521
18530
|
|
|
18522
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=
|
|
18531
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=bdafd0f4
|
|
18523
18532
|
|
|
18524
|
-
const
|
|
18525
|
-
const
|
|
18533
|
+
const combobox_with_popovervue_type_template_id_bdafd0f4_hoisted_1 = ["id"];
|
|
18534
|
+
const combobox_with_popovervue_type_template_id_bdafd0f4_hoisted_2 = {
|
|
18526
18535
|
ref: "header"
|
|
18527
18536
|
};
|
|
18528
|
-
const
|
|
18529
|
-
const
|
|
18537
|
+
const combobox_with_popovervue_type_template_id_bdafd0f4_hoisted_3 = ["onMouseleave", "onFocusout"];
|
|
18538
|
+
const combobox_with_popovervue_type_template_id_bdafd0f4_hoisted_4 = {
|
|
18530
18539
|
ref: "footer"
|
|
18531
18540
|
};
|
|
18532
|
-
function
|
|
18541
|
+
function combobox_with_popovervue_type_template_id_bdafd0f4_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18533
18542
|
const _component_combobox_loading_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-loading-list");
|
|
18534
18543
|
|
|
18535
18544
|
const _component_combobox_empty_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-empty-list");
|
|
@@ -18568,7 +18577,7 @@ function combobox_with_popovervue_type_template_id_935fbcea_render(_ctx, _cache,
|
|
|
18568
18577
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "input", {
|
|
18569
18578
|
inputProps: inputProps,
|
|
18570
18579
|
onInput: $options.handleDisplayList
|
|
18571
|
-
})], 40,
|
|
18580
|
+
})], 40, combobox_with_popovervue_type_template_id_bdafd0f4_hoisted_1)];
|
|
18572
18581
|
}),
|
|
18573
18582
|
list: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(_ref2 => {
|
|
18574
18583
|
let {
|
|
@@ -18614,22 +18623,22 @@ function combobox_with_popovervue_type_template_id_935fbcea_render(_ctx, _cache,
|
|
|
18614
18623
|
}), null, 16, ["message"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "list", {
|
|
18615
18624
|
key: 2,
|
|
18616
18625
|
listProps: listProps
|
|
18617
|
-
})], 42,
|
|
18626
|
+
})], 42, combobox_with_popovervue_type_template_id_bdafd0f4_hoisted_3)]),
|
|
18618
18627
|
_: 2
|
|
18619
18628
|
}, [$data.hasSlotContent(_ctx.$slots.header) ? {
|
|
18620
18629
|
name: "headerContent",
|
|
18621
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
18630
|
+
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", combobox_with_popovervue_type_template_id_bdafd0f4_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "header")], 512)]),
|
|
18622
18631
|
key: "0"
|
|
18623
18632
|
} : undefined, $data.hasSlotContent(_ctx.$slots.footer) ? {
|
|
18624
18633
|
name: "footerContent",
|
|
18625
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
18634
|
+
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", combobox_with_popovervue_type_template_id_bdafd0f4_hoisted_4, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "footer")], 512)]),
|
|
18626
18635
|
key: "1"
|
|
18627
18636
|
} : undefined]), 1032, ["open", "max-height", "max-width", "offset", "sticky", "external-anchor", "content-width", "append-to", "visually-hidden-close-label", "visually-hidden-close", "onOpened"])];
|
|
18628
18637
|
}),
|
|
18629
18638
|
_: 3
|
|
18630
18639
|
}, 16, ["loading", "label", "label-visible", "size", "description", "empty-list", "empty-state-message", "show-list", "on-beginning-of-list", "on-end-of-list", "list-id"]);
|
|
18631
18640
|
}
|
|
18632
|
-
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=
|
|
18641
|
+
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=bdafd0f4
|
|
18633
18642
|
|
|
18634
18643
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=script&lang=js
|
|
18635
18644
|
/* eslint-disable vuejs-accessibility/no-static-element-interactions */
|
|
@@ -18977,12 +18986,12 @@ function combobox_with_popovervue_type_template_id_935fbcea_render(_ctx, _cache,
|
|
|
18977
18986
|
},
|
|
18978
18987
|
|
|
18979
18988
|
onFocusOut(e) {
|
|
18989
|
+
var _this$$refs$popover$t, _e$composedPath;
|
|
18990
|
+
|
|
18980
18991
|
// Check if the focus change was to another target within the combobox component
|
|
18981
|
-
const
|
|
18982
|
-
|
|
18983
|
-
|
|
18984
|
-
});
|
|
18985
|
-
if (isComboboxStillFocused) return; // If outside the combobox then close
|
|
18992
|
+
const popoverEl = (_this$$refs$popover$t = this.$refs.popover.tip) === null || _this$$refs$popover$t === void 0 ? void 0 : _this$$refs$popover$t.popper;
|
|
18993
|
+
const comboboxEl = this.$refs.input;
|
|
18994
|
+
if ((_e$composedPath = e.composedPath()) !== null && _e$composedPath !== void 0 && _e$composedPath.some(el => [popoverEl, comboboxEl].includes(el))) return; // If outside the combobox then close
|
|
18986
18995
|
|
|
18987
18996
|
this.closeComboboxList();
|
|
18988
18997
|
},
|
|
@@ -19005,7 +19014,7 @@ function combobox_with_popovervue_type_template_id_935fbcea_render(_ctx, _cache,
|
|
|
19005
19014
|
|
|
19006
19015
|
|
|
19007
19016
|
;
|
|
19008
|
-
const combobox_with_popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_with_popovervue_type_script_lang_js, [['render',
|
|
19017
|
+
const combobox_with_popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_with_popovervue_type_script_lang_js, [['render',combobox_with_popovervue_type_template_id_bdafd0f4_render]])
|
|
19009
19018
|
|
|
19010
19019
|
/* harmony default export */ const combobox_with_popover = (combobox_with_popover_exports_);
|
|
19011
19020
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/index.js
|
|
@@ -19730,9 +19739,9 @@ const combobox_multi_select_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
19730
19739
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/index.js
|
|
19731
19740
|
|
|
19732
19741
|
|
|
19733
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/buttons/callbar_button/callbar_button.vue?vue&type=template&id=
|
|
19742
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/buttons/callbar_button/callbar_button.vue?vue&type=template&id=5a354a3a
|
|
19734
19743
|
|
|
19735
|
-
function
|
|
19744
|
+
function callbar_buttonvue_type_template_id_5a354a3a_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
19736
19745
|
const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-button");
|
|
19737
19746
|
|
|
19738
19747
|
const _component_dt_tooltip = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-tooltip");
|
|
@@ -19748,23 +19757,24 @@ function callbar_buttonvue_type_template_id_8f55595a_render(_ctx, _cache, $props
|
|
|
19748
19757
|
disabled: $props.disabled,
|
|
19749
19758
|
"aria-label": $props.ariaLabel,
|
|
19750
19759
|
"label-class": "d-fs-100",
|
|
19751
|
-
width:
|
|
19760
|
+
width: $options.buttonWidth,
|
|
19752
19761
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.callbarButtonClass)
|
|
19753
19762
|
}, {
|
|
19754
19763
|
icon: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "icon")]),
|
|
19755
19764
|
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")]),
|
|
19756
19765
|
_: 3
|
|
19757
|
-
}, 8, ["importance", "disabled", "aria-label", "class"])]),
|
|
19766
|
+
}, 8, ["importance", "disabled", "aria-label", "width", "class"])]),
|
|
19758
19767
|
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "tooltip")]),
|
|
19759
19768
|
_: 3
|
|
19760
19769
|
}, 8, ["id"]);
|
|
19761
19770
|
}
|
|
19762
|
-
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/callbar_button.vue?vue&type=template&id=
|
|
19771
|
+
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/callbar_button.vue?vue&type=template&id=5a354a3a
|
|
19763
19772
|
|
|
19764
19773
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/buttons/callbar_button/callbar_button.vue?vue&type=script&lang=js
|
|
19765
19774
|
|
|
19766
19775
|
|
|
19767
19776
|
|
|
19777
|
+
const VALID_WIDTH_SIZE = ['sm', 'md', 'lg', 'xl'];
|
|
19768
19778
|
/* harmony default export */ const callbar_buttonvue_type_script_lang_js = ({
|
|
19769
19779
|
name: 'DtRecipeCallbarButton',
|
|
19770
19780
|
components: {
|
|
@@ -19844,6 +19854,15 @@ function callbar_buttonvue_type_template_id_8f55595a_render(_ctx, _cache, $props
|
|
|
19844
19854
|
buttonClass: {
|
|
19845
19855
|
type: [String, Array, Object],
|
|
19846
19856
|
default: ''
|
|
19857
|
+
},
|
|
19858
|
+
|
|
19859
|
+
/*
|
|
19860
|
+
* Width size. Valid values are: 'xl', 'lg', 'md' and 'sm'.
|
|
19861
|
+
*/
|
|
19862
|
+
buttonWidthSize: {
|
|
19863
|
+
type: String,
|
|
19864
|
+
default: 'xl',
|
|
19865
|
+
validator: size => VALID_WIDTH_SIZE.includes(size)
|
|
19847
19866
|
}
|
|
19848
19867
|
},
|
|
19849
19868
|
computed: {
|
|
@@ -19854,16 +19873,29 @@ function callbar_buttonvue_type_template_id_8f55595a_render(_ctx, _cache, $props
|
|
|
19854
19873
|
'dt-recipe-callbar-button--active': this.active,
|
|
19855
19874
|
'dt-recipe-callbar-button--danger': this.danger
|
|
19856
19875
|
}];
|
|
19876
|
+
},
|
|
19877
|
+
|
|
19878
|
+
buttonWidth() {
|
|
19879
|
+
switch (this.buttonWidthSize) {
|
|
19880
|
+
case 'sm':
|
|
19881
|
+
return '4.5rem';
|
|
19882
|
+
|
|
19883
|
+
case 'md':
|
|
19884
|
+
return '6rem';
|
|
19885
|
+
|
|
19886
|
+
default:
|
|
19887
|
+
return '8.4rem';
|
|
19888
|
+
}
|
|
19857
19889
|
}
|
|
19858
19890
|
|
|
19859
19891
|
}
|
|
19860
19892
|
});
|
|
19861
19893
|
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/callbar_button.vue?vue&type=script&lang=js
|
|
19862
19894
|
|
|
19863
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/buttons/callbar_button/callbar_button.vue?vue&type=style&index=0&id=
|
|
19895
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/buttons/callbar_button/callbar_button.vue?vue&type=style&index=0&id=5a354a3a&lang=less
|
|
19864
19896
|
// extracted by mini-css-extract-plugin
|
|
19865
19897
|
|
|
19866
|
-
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/callbar_button.vue?vue&type=style&index=0&id=
|
|
19898
|
+
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/callbar_button.vue?vue&type=style&index=0&id=5a354a3a&lang=less
|
|
19867
19899
|
|
|
19868
19900
|
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/callbar_button.vue
|
|
19869
19901
|
|
|
@@ -19873,17 +19905,17 @@ function callbar_buttonvue_type_template_id_8f55595a_render(_ctx, _cache, $props
|
|
|
19873
19905
|
;
|
|
19874
19906
|
|
|
19875
19907
|
|
|
19876
|
-
const callbar_button_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(callbar_buttonvue_type_script_lang_js, [['render',
|
|
19908
|
+
const callbar_button_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(callbar_buttonvue_type_script_lang_js, [['render',callbar_buttonvue_type_template_id_5a354a3a_render]])
|
|
19877
19909
|
|
|
19878
19910
|
/* harmony default export */ const callbar_button = (callbar_button_exports_);
|
|
19879
19911
|
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/index.js
|
|
19880
19912
|
|
|
19881
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=template&id=
|
|
19913
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=template&id=fef43d00
|
|
19882
19914
|
|
|
19883
|
-
const
|
|
19884
|
-
class: "
|
|
19915
|
+
const callbar_button_with_popovervue_type_template_id_fef43d00_hoisted_1 = {
|
|
19916
|
+
class: "d-d-flex d-ai-center"
|
|
19885
19917
|
};
|
|
19886
|
-
function
|
|
19918
|
+
function callbar_button_with_popovervue_type_template_id_fef43d00_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
19887
19919
|
const _component_dt_recipe_callbar_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-recipe-callbar-button");
|
|
19888
19920
|
|
|
19889
19921
|
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
@@ -19892,12 +19924,13 @@ function callbar_button_with_popovervue_type_template_id_cd71689c_render(_ctx, _
|
|
|
19892
19924
|
|
|
19893
19925
|
const _component_dt_popover = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-popover");
|
|
19894
19926
|
|
|
19895
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div",
|
|
19927
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", callbar_button_with_popovervue_type_template_id_fef43d00_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_recipe_callbar_button, {
|
|
19896
19928
|
"aria-label": $props.ariaLabel,
|
|
19897
19929
|
disabled: $props.disabled,
|
|
19898
19930
|
active: $props.active,
|
|
19899
19931
|
danger: $props.danger,
|
|
19900
19932
|
"button-class": $props.buttonClass,
|
|
19933
|
+
"button-width-size": $props.buttonWidthSize,
|
|
19901
19934
|
class: "dt-recipe--callbar-button-with-popover--main-button",
|
|
19902
19935
|
onClick: $options.buttonClick
|
|
19903
19936
|
}, {
|
|
@@ -19905,7 +19938,7 @@ function callbar_button_with_popovervue_type_template_id_cd71689c_render(_ctx, _
|
|
|
19905
19938
|
tooltip: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "tooltip")]),
|
|
19906
19939
|
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")]),
|
|
19907
19940
|
_: 3
|
|
19908
|
-
}, 8, ["aria-label", "disabled", "active", "danger", "button-class", "onClick"]), $options.showArrowButton ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_popover, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
19941
|
+
}, 8, ["aria-label", "disabled", "active", "danger", "button-class", "button-width-size", "onClick"]), $options.showArrowButton ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_popover, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
19909
19942
|
key: 0,
|
|
19910
19943
|
id: $props.id,
|
|
19911
19944
|
open: $data.open,
|
|
@@ -19923,7 +19956,7 @@ function callbar_button_with_popovervue_type_template_id_cd71689c_render(_ctx, _
|
|
|
19923
19956
|
circle: "",
|
|
19924
19957
|
importance: "clear",
|
|
19925
19958
|
size: "lg",
|
|
19926
|
-
class:
|
|
19959
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['dt-recipe--callbar-button-with-popover--arrow', $options.isCompactMode ? 'd-mln16' : 'd-mln24']),
|
|
19927
19960
|
width: "2rem",
|
|
19928
19961
|
"aria-label": $props.arrowButtonLabel,
|
|
19929
19962
|
active: $data.open,
|
|
@@ -19934,14 +19967,14 @@ function callbar_button_with_popovervue_type_template_id_cd71689c_render(_ctx, _
|
|
|
19934
19967
|
size: "200"
|
|
19935
19968
|
})]),
|
|
19936
19969
|
_: 1
|
|
19937
|
-
}, 8, ["aria-label", "active", "onClick"])]),
|
|
19970
|
+
}, 8, ["class", "aria-label", "active", "onClick"])]),
|
|
19938
19971
|
content: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "content")]),
|
|
19939
19972
|
headerContent: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "headerContent")]),
|
|
19940
19973
|
footerContent: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "footerContent")]),
|
|
19941
19974
|
_: 3
|
|
19942
19975
|
}, 16, ["id", "open", "placement", "initial-focus-element", "show-close-button", "dialog-class", "onOpened"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]);
|
|
19943
19976
|
}
|
|
19944
|
-
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=template&id=
|
|
19977
|
+
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=template&id=fef43d00
|
|
19945
19978
|
|
|
19946
19979
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=script&lang=js
|
|
19947
19980
|
|
|
@@ -20096,6 +20129,15 @@ function callbar_button_with_popovervue_type_template_id_cd71689c_render(_ctx, _
|
|
|
20096
20129
|
default: ''
|
|
20097
20130
|
},
|
|
20098
20131
|
|
|
20132
|
+
/*
|
|
20133
|
+
* Width size. Valid values are: 'xl', 'lg', 'md' and 'sm'.
|
|
20134
|
+
*/
|
|
20135
|
+
buttonWidthSize: {
|
|
20136
|
+
type: String,
|
|
20137
|
+
default: 'xl',
|
|
20138
|
+
validator: size => VALID_WIDTH_SIZE.includes(size)
|
|
20139
|
+
},
|
|
20140
|
+
|
|
20099
20141
|
/**
|
|
20100
20142
|
* Additional class name for the popover content wrapper element.
|
|
20101
20143
|
*/
|
|
@@ -20126,6 +20168,10 @@ function callbar_button_with_popovervue_type_template_id_cd71689c_render(_ctx, _
|
|
|
20126
20168
|
computed: {
|
|
20127
20169
|
showArrowButton() {
|
|
20128
20170
|
return this.forceShowArrow || !this.disabled;
|
|
20171
|
+
},
|
|
20172
|
+
|
|
20173
|
+
isCompactMode() {
|
|
20174
|
+
return this.buttonWidthSize === 'sm';
|
|
20129
20175
|
}
|
|
20130
20176
|
|
|
20131
20177
|
},
|
|
@@ -20153,10 +20199,10 @@ function callbar_button_with_popovervue_type_template_id_cd71689c_render(_ctx, _
|
|
|
20153
20199
|
});
|
|
20154
20200
|
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=script&lang=js
|
|
20155
20201
|
|
|
20156
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=style&index=0&id=
|
|
20202
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=style&index=0&id=fef43d00&lang=less
|
|
20157
20203
|
// extracted by mini-css-extract-plugin
|
|
20158
20204
|
|
|
20159
|
-
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=style&index=0&id=
|
|
20205
|
+
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=style&index=0&id=fef43d00&lang=less
|
|
20160
20206
|
|
|
20161
20207
|
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue
|
|
20162
20208
|
|
|
@@ -20166,7 +20212,7 @@ function callbar_button_with_popovervue_type_template_id_cd71689c_render(_ctx, _
|
|
|
20166
20212
|
;
|
|
20167
20213
|
|
|
20168
20214
|
|
|
20169
|
-
const callbar_button_with_popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(callbar_button_with_popovervue_type_script_lang_js, [['render',
|
|
20215
|
+
const callbar_button_with_popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(callbar_button_with_popovervue_type_script_lang_js, [['render',callbar_button_with_popovervue_type_template_id_fef43d00_render]])
|
|
20170
20216
|
|
|
20171
20217
|
/* harmony default export */ const callbar_button_with_popover = (callbar_button_with_popover_exports_);
|
|
20172
20218
|
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button_with_popover/index.js
|
|
@@ -20763,51 +20809,87 @@ const grouped_chip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(group
|
|
|
20763
20809
|
/* harmony default export */ const grouped_chip = (grouped_chip_exports_);
|
|
20764
20810
|
;// CONCATENATED MODULE: ./recipes/chips/grouped_chip/index.js
|
|
20765
20811
|
|
|
20766
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/leftbar/general_row/general_row.vue?vue&type=template&id=
|
|
20812
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/leftbar/general_row/general_row.vue?vue&type=template&id=06ebf262
|
|
20767
20813
|
|
|
20768
|
-
const
|
|
20814
|
+
const general_rowvue_type_template_id_06ebf262_hoisted_1 = {
|
|
20769
20815
|
class: "dt-leftbar-row__alpha"
|
|
20770
20816
|
};
|
|
20771
|
-
const
|
|
20817
|
+
const general_rowvue_type_template_id_06ebf262_hoisted_2 = {
|
|
20772
20818
|
class: "dt-leftbar-row__label"
|
|
20773
20819
|
};
|
|
20774
|
-
const
|
|
20820
|
+
const general_rowvue_type_template_id_06ebf262_hoisted_3 = {
|
|
20775
20821
|
class: "dt-leftbar-row__omega"
|
|
20776
20822
|
};
|
|
20777
|
-
|
|
20823
|
+
const general_rowvue_type_template_id_06ebf262_hoisted_4 = {
|
|
20824
|
+
key: 0,
|
|
20825
|
+
class: "dt-leftbar-row__dnd"
|
|
20826
|
+
};
|
|
20827
|
+
const general_rowvue_type_template_id_06ebf262_hoisted_5 = {
|
|
20828
|
+
key: 1,
|
|
20829
|
+
class: "dt-leftbar-row__active-voice"
|
|
20830
|
+
};
|
|
20831
|
+
const general_rowvue_type_template_id_06ebf262_hoisted_6 = {
|
|
20832
|
+
key: 0,
|
|
20833
|
+
class: "dt-leftbar-row__action",
|
|
20834
|
+
"data-qa": "dt-leftbar-row-action"
|
|
20835
|
+
};
|
|
20836
|
+
function general_rowvue_type_template_id_06ebf262_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20778
20837
|
const _component_dt_recipe_leftbar_general_row_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-recipe-leftbar-general-row-icon");
|
|
20779
20838
|
|
|
20780
20839
|
const _component_dt_emoji_text_wrapper = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-emoji-text-wrapper");
|
|
20781
20840
|
|
|
20841
|
+
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
20842
|
+
|
|
20782
20843
|
const _component_dt_badge = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-badge");
|
|
20783
20844
|
|
|
20845
|
+
const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-button");
|
|
20846
|
+
|
|
20784
20847
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
20785
20848
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.leftbarGeneralRowClasses),
|
|
20786
20849
|
"data-qa": "dt-leftbar-row"
|
|
20787
20850
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("button", (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
20788
20851
|
class: "dt-leftbar-row__primary",
|
|
20789
20852
|
"data-qa": "dt-leftbar-row-link"
|
|
20790
|
-
}, _ctx.$attrs), [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
20853
|
+
}, _ctx.$attrs), [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", general_rowvue_type_template_id_06ebf262_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "left", {}, () => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_recipe_leftbar_general_row_icon, {
|
|
20791
20854
|
type: $options.getIcon,
|
|
20792
20855
|
color: $props.color,
|
|
20793
20856
|
"data-qa": "dt-leftbar-row-icon"
|
|
20794
|
-
}, null, 8, ["type", "color"])]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
20857
|
+
}, null, 8, ["type", "color"])])]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", general_rowvue_type_template_id_06ebf262_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "label", {}, () => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_emoji_text_wrapper, {
|
|
20795
20858
|
class: "dt-leftbar-row__description",
|
|
20796
20859
|
"data-qa": "dt-leftbar-row-description"
|
|
20797
20860
|
}, {
|
|
20798
20861
|
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.description), 1)]),
|
|
20799
20862
|
_: 1
|
|
20800
|
-
})]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
20801
|
-
|
|
20863
|
+
})])]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", general_rowvue_type_template_id_06ebf262_hoisted_3, [$props.dndText ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", general_rowvue_type_template_id_06ebf262_hoisted_4, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.dndText), 1)) : $props.activeVoiceChat ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", general_rowvue_type_template_id_06ebf262_hoisted_5, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_icon, {
|
|
20864
|
+
size: "300",
|
|
20865
|
+
name: "activity"
|
|
20866
|
+
})])) : !!$props.unreadCount && $props.hasUnreads ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_badge, {
|
|
20867
|
+
key: 2,
|
|
20802
20868
|
kind: "count",
|
|
20803
20869
|
type: "bulletin",
|
|
20804
20870
|
"data-qa": "dt-leftbar-row-unread-badge"
|
|
20805
20871
|
}, {
|
|
20806
20872
|
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.unreadCount), 1)]),
|
|
20807
20873
|
_: 1
|
|
20808
|
-
})) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)])], 16)
|
|
20874
|
+
})) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)])], 16), $props.hasCallButton ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", general_rowvue_type_template_id_06ebf262_hoisted_6, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_button, {
|
|
20875
|
+
class: "dt-leftbar-row__action-button",
|
|
20876
|
+
"data-qa": "dt-leftbar-row-action-call-button",
|
|
20877
|
+
circle: "",
|
|
20878
|
+
size: "xs",
|
|
20879
|
+
kind: "inverted",
|
|
20880
|
+
onFocus: _cache[0] || (_cache[0] = $event => $data.actionFocused = true),
|
|
20881
|
+
onBlur: _cache[1] || (_cache[1] = $event => $data.actionFocused = false),
|
|
20882
|
+
onMouseout: _cache[2] || (_cache[2] = $event => $data.actionFocused = false),
|
|
20883
|
+
onClick: _cache[3] || (_cache[3] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => _ctx.$emit('call', $event), ["stop"]))
|
|
20884
|
+
}, {
|
|
20885
|
+
icon: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_icon, {
|
|
20886
|
+
name: "phone",
|
|
20887
|
+
size: "200"
|
|
20888
|
+
})]),
|
|
20889
|
+
_: 1
|
|
20890
|
+
})])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 2);
|
|
20809
20891
|
}
|
|
20810
|
-
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/general_row.vue?vue&type=template&id=
|
|
20892
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/general_row.vue?vue&type=template&id=06ebf262
|
|
20811
20893
|
|
|
20812
20894
|
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/general_row_constants.js
|
|
20813
20895
|
const LEFTBAR_GENERAL_ROW_TYPES = {
|
|
@@ -20817,7 +20899,9 @@ const LEFTBAR_GENERAL_ROW_TYPES = {
|
|
|
20817
20899
|
THREADS: 'threads',
|
|
20818
20900
|
LOCKED_CHANNEL: 'locked channel',
|
|
20819
20901
|
CONTACT_CENTER: 'contact center',
|
|
20820
|
-
DIALBOT: 'dialbot'
|
|
20902
|
+
DIALBOT: 'dialbot',
|
|
20903
|
+
ASSIGNED: 'assigned',
|
|
20904
|
+
DIGITAL: 'digital'
|
|
20821
20905
|
};
|
|
20822
20906
|
const LEFTBAR_GENERAL_ROW_ICON_MAPPING = {
|
|
20823
20907
|
[LEFTBAR_GENERAL_ROW_TYPES.INBOX]: 'inbox',
|
|
@@ -20826,20 +20910,28 @@ const LEFTBAR_GENERAL_ROW_ICON_MAPPING = {
|
|
|
20826
20910
|
[LEFTBAR_GENERAL_ROW_TYPES.THREADS]: 'thread',
|
|
20827
20911
|
[LEFTBAR_GENERAL_ROW_TYPES.LOCKED_CHANNEL]: 'lock',
|
|
20828
20912
|
'locked channel unread': 'lock-filled',
|
|
20829
|
-
'channel unread': 'hash-bold'
|
|
20913
|
+
'channel unread': 'hash-bold',
|
|
20914
|
+
[LEFTBAR_GENERAL_ROW_TYPES.ASSIGNED]: 'at-sign',
|
|
20915
|
+
[LEFTBAR_GENERAL_ROW_TYPES.DIGITAL]: 'message'
|
|
20830
20916
|
};
|
|
20831
20917
|
const LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS = {
|
|
20832
|
-
|
|
20833
|
-
|
|
20834
|
-
|
|
20835
|
-
|
|
20836
|
-
magenta: 'd-bgc-magenta-300',
|
|
20837
|
-
|
|
20918
|
+
'magenta-200': 'd-bgc-magenta-200',
|
|
20919
|
+
'green-200': 'd-bgc-green-200',
|
|
20920
|
+
'gold-300': 'd-bgc-gold-300',
|
|
20921
|
+
'purple-600': 'd-bgc-purple-600',
|
|
20922
|
+
'magenta-300': 'd-bgc-magenta-300',
|
|
20923
|
+
'purple-300': 'd-bgc-purple-300',
|
|
20924
|
+
'green-500': 'd-bgc-green-500',
|
|
20925
|
+
'purple-100': 'd-bgc-purple-100',
|
|
20926
|
+
'magenta-400': 'd-bgc-magenta-400',
|
|
20927
|
+
'magenta-100': 'd-bgc-magenta-100'
|
|
20838
20928
|
};
|
|
20929
|
+
const LEFTBAR_GENERAL_ROW_CONTACT_CENTER_VALIDATION_ERROR = 'If type is contact center, color must be one' + 'of the following:' + Object.keys(LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS).join(', ');
|
|
20839
20930
|
/* harmony default export */ const general_row_constants = ({
|
|
20840
20931
|
LEFTBAR_GENERAL_ROW_TYPES,
|
|
20841
20932
|
LEFTBAR_GENERAL_ROW_ICON_MAPPING,
|
|
20842
|
-
LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS
|
|
20933
|
+
LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS,
|
|
20934
|
+
LEFTBAR_GENERAL_ROW_CONTACT_CENTER_VALIDATION_ERROR
|
|
20843
20935
|
});
|
|
20844
20936
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/emoji/emoji.vue?vue&type=template&id=147e0534
|
|
20845
20937
|
|
|
@@ -21235,6 +21327,7 @@ const emoji_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(emojivue_typ
|
|
|
21235
21327
|
|
|
21236
21328
|
|
|
21237
21329
|
|
|
21330
|
+
|
|
21238
21331
|
/**
|
|
21239
21332
|
* Wrapper to find and replace shortcodes like :smile: or unicode chars such as 😄 with our custom Emojis implementation.
|
|
21240
21333
|
* @see https://dialpad.design/components/emoji_text_wrapper.html
|
|
@@ -21253,6 +21346,15 @@ const emoji_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(emojivue_typ
|
|
|
21253
21346
|
elementType: {
|
|
21254
21347
|
type: String,
|
|
21255
21348
|
default: 'div'
|
|
21349
|
+
},
|
|
21350
|
+
|
|
21351
|
+
/**
|
|
21352
|
+
* The icon size to render the emojis at: 100 to 800
|
|
21353
|
+
*/
|
|
21354
|
+
size: {
|
|
21355
|
+
type: String,
|
|
21356
|
+
default: '500',
|
|
21357
|
+
validator: t => Object.keys(ICON_SIZE_MODIFIERS).includes(t)
|
|
21256
21358
|
}
|
|
21257
21359
|
},
|
|
21258
21360
|
|
|
@@ -21278,6 +21380,7 @@ const emoji_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(emojivue_typ
|
|
|
21278
21380
|
if (replaceList.includes(item)) {
|
|
21279
21381
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.h)(emoji, { ...this.$attrs,
|
|
21280
21382
|
class: 'd-mx4 d-d-inline-block',
|
|
21383
|
+
size: this.size,
|
|
21281
21384
|
code: item
|
|
21282
21385
|
});
|
|
21283
21386
|
}
|
|
@@ -21457,11 +21560,16 @@ const leftbar_general_row_icon_exports_ = /*#__PURE__*/(0,exportHelper/* default
|
|
|
21457
21560
|
|
|
21458
21561
|
|
|
21459
21562
|
|
|
21563
|
+
|
|
21564
|
+
|
|
21565
|
+
|
|
21460
21566
|
/* harmony default export */ const general_rowvue_type_script_lang_js = ({
|
|
21461
21567
|
name: 'DtRecipeGeneralRow',
|
|
21462
21568
|
components: {
|
|
21463
21569
|
DtEmojiTextWrapper: emoji_text_wrapper,
|
|
21464
21570
|
DtBadge: badge,
|
|
21571
|
+
DtIcon: icon,
|
|
21572
|
+
DtButton: button_button,
|
|
21465
21573
|
DtRecipeLeftbarGeneralRowIcon: leftbar_general_row_icon
|
|
21466
21574
|
},
|
|
21467
21575
|
inheritAttrs: false,
|
|
@@ -21497,6 +21605,15 @@ const leftbar_general_row_icon_exports_ = /*#__PURE__*/(0,exportHelper/* default
|
|
|
21497
21605
|
}
|
|
21498
21606
|
},
|
|
21499
21607
|
|
|
21608
|
+
/**
|
|
21609
|
+
* Styles the row with an increased font weight to convey it has unreads. This must be true to see
|
|
21610
|
+
* the unread count badge.
|
|
21611
|
+
*/
|
|
21612
|
+
hasUnreads: {
|
|
21613
|
+
type: Boolean,
|
|
21614
|
+
default: false
|
|
21615
|
+
},
|
|
21616
|
+
|
|
21500
21617
|
/**
|
|
21501
21618
|
* Number of unread messages
|
|
21502
21619
|
*/
|
|
@@ -21511,32 +21628,83 @@ const leftbar_general_row_icon_exports_ = /*#__PURE__*/(0,exportHelper/* default
|
|
|
21511
21628
|
selected: {
|
|
21512
21629
|
type: Boolean,
|
|
21513
21630
|
default: false
|
|
21631
|
+
},
|
|
21632
|
+
|
|
21633
|
+
/**
|
|
21634
|
+
* Gives a faded style to be used when muted
|
|
21635
|
+
*/
|
|
21636
|
+
muted: {
|
|
21637
|
+
type: Boolean,
|
|
21638
|
+
default: false
|
|
21639
|
+
},
|
|
21640
|
+
|
|
21641
|
+
/**
|
|
21642
|
+
* Shows styling to represent an active voice chat. This will display over unreadCount.
|
|
21643
|
+
*/
|
|
21644
|
+
activeVoiceChat: {
|
|
21645
|
+
type: Boolean,
|
|
21646
|
+
default: false
|
|
21647
|
+
},
|
|
21648
|
+
|
|
21649
|
+
/**
|
|
21650
|
+
* Acronym used to represent "Do not Disturb" state. If entered will display the entered text over
|
|
21651
|
+
* unreadCount and activeVoiceChat.
|
|
21652
|
+
*/
|
|
21653
|
+
dndText: {
|
|
21654
|
+
type: String,
|
|
21655
|
+
default: ''
|
|
21656
|
+
},
|
|
21657
|
+
|
|
21658
|
+
/**
|
|
21659
|
+
* Whether the row should have a call button. Usually only applicable to individual contact rows.
|
|
21660
|
+
*/
|
|
21661
|
+
hasCallButton: {
|
|
21662
|
+
type: Boolean,
|
|
21663
|
+
default: false
|
|
21514
21664
|
}
|
|
21515
21665
|
},
|
|
21666
|
+
emits: [
|
|
21667
|
+
/**
|
|
21668
|
+
* Call button clicked
|
|
21669
|
+
*
|
|
21670
|
+
* @event call
|
|
21671
|
+
* @type {PointerEvent | KeyboardEvent}
|
|
21672
|
+
*/
|
|
21673
|
+
'call'],
|
|
21674
|
+
|
|
21675
|
+
data() {
|
|
21676
|
+
return {
|
|
21677
|
+
actionFocused: false
|
|
21678
|
+
};
|
|
21679
|
+
},
|
|
21680
|
+
|
|
21516
21681
|
computed: {
|
|
21517
21682
|
leftbarGeneralRowClasses() {
|
|
21518
|
-
return ['dt-leftbar-row',
|
|
21519
|
-
'dt-leftbar-row--
|
|
21520
|
-
'dt-leftbar-row--
|
|
21683
|
+
return ['dt-leftbar-row', {
|
|
21684
|
+
'dt-leftbar-row--no-action': !this.hasCallButton,
|
|
21685
|
+
'dt-leftbar-row--has-unread': this.hasUnreads,
|
|
21686
|
+
'dt-leftbar-row--selected': this.selected,
|
|
21687
|
+
'dt-leftbar-row--muted': this.muted,
|
|
21688
|
+
'dt-leftbar-row--action-focused': this.actionFocused
|
|
21521
21689
|
}];
|
|
21522
21690
|
},
|
|
21523
21691
|
|
|
21524
21692
|
getIcon() {
|
|
21525
21693
|
switch (this.type) {
|
|
21526
21694
|
case LEFTBAR_GENERAL_ROW_TYPES.CHANNELS:
|
|
21527
|
-
if (this.
|
|
21695
|
+
if (this.hasUnreads) return 'channel unread';
|
|
21528
21696
|
break;
|
|
21529
21697
|
|
|
21530
21698
|
case LEFTBAR_GENERAL_ROW_TYPES.LOCKED_CHANNEL:
|
|
21531
|
-
if (this.
|
|
21699
|
+
if (this.hasUnreads) return 'locked channel unread';
|
|
21532
21700
|
break;
|
|
21533
21701
|
}
|
|
21534
21702
|
|
|
21535
21703
|
return this.type;
|
|
21536
21704
|
},
|
|
21537
21705
|
|
|
21538
|
-
|
|
21539
|
-
return
|
|
21706
|
+
generalRowListeners() {
|
|
21707
|
+
return extractVueListeners(this.$attrs);
|
|
21540
21708
|
}
|
|
21541
21709
|
|
|
21542
21710
|
},
|
|
@@ -21554,7 +21722,7 @@ const leftbar_general_row_icon_exports_ = /*#__PURE__*/(0,exportHelper/* default
|
|
|
21554
21722
|
methods: {
|
|
21555
21723
|
validateProps() {
|
|
21556
21724
|
if (this.type === LEFTBAR_GENERAL_ROW_TYPES.CONTACT_CENTER && !Object.keys(LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS).includes(this.color)) {
|
|
21557
|
-
console.error(
|
|
21725
|
+
console.error(LEFTBAR_GENERAL_ROW_CONTACT_CENTER_VALIDATION_ERROR);
|
|
21558
21726
|
}
|
|
21559
21727
|
}
|
|
21560
21728
|
|
|
@@ -21562,10 +21730,10 @@ const leftbar_general_row_icon_exports_ = /*#__PURE__*/(0,exportHelper/* default
|
|
|
21562
21730
|
});
|
|
21563
21731
|
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/general_row.vue?vue&type=script&lang=js
|
|
21564
21732
|
|
|
21565
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/leftbar/general_row/general_row.vue?vue&type=style&index=0&id=
|
|
21733
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/leftbar/general_row/general_row.vue?vue&type=style&index=0&id=06ebf262&lang=less
|
|
21566
21734
|
// extracted by mini-css-extract-plugin
|
|
21567
21735
|
|
|
21568
|
-
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/general_row.vue?vue&type=style&index=0&id=
|
|
21736
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/general_row.vue?vue&type=style&index=0&id=06ebf262&lang=less
|
|
21569
21737
|
|
|
21570
21738
|
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/general_row.vue
|
|
21571
21739
|
|
|
@@ -21575,12 +21743,365 @@ const leftbar_general_row_icon_exports_ = /*#__PURE__*/(0,exportHelper/* default
|
|
|
21575
21743
|
;
|
|
21576
21744
|
|
|
21577
21745
|
|
|
21578
|
-
const general_row_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(general_rowvue_type_script_lang_js, [['render',
|
|
21746
|
+
const general_row_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(general_rowvue_type_script_lang_js, [['render',general_rowvue_type_template_id_06ebf262_render]])
|
|
21579
21747
|
|
|
21580
21748
|
/* harmony default export */ const general_row = (general_row_exports_);
|
|
21581
21749
|
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/index.js
|
|
21582
21750
|
|
|
21583
21751
|
|
|
21752
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/leftbar/group_row/group_row.vue?vue&type=template&id=29f5cb33
|
|
21753
|
+
|
|
21754
|
+
const group_rowvue_type_template_id_29f5cb33_hoisted_1 = ["src", "alt"];
|
|
21755
|
+
function group_rowvue_type_template_id_29f5cb33_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21756
|
+
const _component_dt_avatar = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-avatar");
|
|
21757
|
+
|
|
21758
|
+
const _component_dt_recipe_general_row = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-recipe-general-row");
|
|
21759
|
+
|
|
21760
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_recipe_general_row, {
|
|
21761
|
+
description: $props.names,
|
|
21762
|
+
"unread-count": $props.unreadCount,
|
|
21763
|
+
"has-unreads": $props.hasUnreads,
|
|
21764
|
+
selected: $props.selected
|
|
21765
|
+
}, {
|
|
21766
|
+
left: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_avatar, {
|
|
21767
|
+
initials: $props.avatarInitials,
|
|
21768
|
+
group: $props.groupCount
|
|
21769
|
+
}, {
|
|
21770
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("img", {
|
|
21771
|
+
"data-qa": "dt-avatar-image",
|
|
21772
|
+
src: $props.avatarSrc,
|
|
21773
|
+
alt: $props.avatarInitials
|
|
21774
|
+
}, null, 8, group_rowvue_type_template_id_29f5cb33_hoisted_1)]),
|
|
21775
|
+
_: 1
|
|
21776
|
+
}, 8, ["initials", "group"])]),
|
|
21777
|
+
_: 1
|
|
21778
|
+
}, 8, ["description", "unread-count", "has-unreads", "selected"]);
|
|
21779
|
+
}
|
|
21780
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/group_row/group_row.vue?vue&type=template&id=29f5cb33
|
|
21781
|
+
|
|
21782
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/leftbar/group_row/group_row.vue?vue&type=script&lang=js
|
|
21783
|
+
|
|
21784
|
+
|
|
21785
|
+
/* harmony default export */ const group_rowvue_type_script_lang_js = ({
|
|
21786
|
+
name: 'DtRecipeGroupRow',
|
|
21787
|
+
components: {
|
|
21788
|
+
DtAvatar: avatar,
|
|
21789
|
+
DtRecipeGeneralRow: general_row
|
|
21790
|
+
},
|
|
21791
|
+
props: {
|
|
21792
|
+
/**
|
|
21793
|
+
* Optional avatar image url.
|
|
21794
|
+
* if provided, it's also required to provide a value in the `avatarInitials` prop to use
|
|
21795
|
+
* in the alt attribute of the avatar.
|
|
21796
|
+
*/
|
|
21797
|
+
avatarSrc: {
|
|
21798
|
+
type: String,
|
|
21799
|
+
default: ''
|
|
21800
|
+
},
|
|
21801
|
+
|
|
21802
|
+
/**
|
|
21803
|
+
* Initials to display on the avatar if avatarSrc is not provided or
|
|
21804
|
+
* alt attr if avatarSrc is provided.
|
|
21805
|
+
*/
|
|
21806
|
+
avatarInitials: {
|
|
21807
|
+
type: String,
|
|
21808
|
+
default: '',
|
|
21809
|
+
required: true
|
|
21810
|
+
},
|
|
21811
|
+
|
|
21812
|
+
/**
|
|
21813
|
+
* Number displayed in avatar to count group members
|
|
21814
|
+
*/
|
|
21815
|
+
groupCount: {
|
|
21816
|
+
type: Number,
|
|
21817
|
+
required: true
|
|
21818
|
+
},
|
|
21819
|
+
|
|
21820
|
+
/**
|
|
21821
|
+
* Names of the group members
|
|
21822
|
+
*/
|
|
21823
|
+
names: {
|
|
21824
|
+
type: String,
|
|
21825
|
+
default: ''
|
|
21826
|
+
},
|
|
21827
|
+
|
|
21828
|
+
/**
|
|
21829
|
+
* Number of unread messages
|
|
21830
|
+
*/
|
|
21831
|
+
unreadCount: {
|
|
21832
|
+
type: String,
|
|
21833
|
+
default: null
|
|
21834
|
+
},
|
|
21835
|
+
|
|
21836
|
+
/**
|
|
21837
|
+
* Styles the row with an increased font weight to convey it has unreads. This must be true to see
|
|
21838
|
+
* the unread count badge.
|
|
21839
|
+
*/
|
|
21840
|
+
hasUnreads: {
|
|
21841
|
+
type: Boolean,
|
|
21842
|
+
default: false
|
|
21843
|
+
},
|
|
21844
|
+
|
|
21845
|
+
/**
|
|
21846
|
+
* Determines if the row is selected
|
|
21847
|
+
*/
|
|
21848
|
+
selected: {
|
|
21849
|
+
type: Boolean,
|
|
21850
|
+
default: false
|
|
21851
|
+
}
|
|
21852
|
+
},
|
|
21853
|
+
emits: [
|
|
21854
|
+
/**
|
|
21855
|
+
* Native click event on the row itself
|
|
21856
|
+
*
|
|
21857
|
+
* @event click
|
|
21858
|
+
* @type {PointerEvent | KeyboardEvent}
|
|
21859
|
+
*/
|
|
21860
|
+
'click']
|
|
21861
|
+
});
|
|
21862
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/group_row/group_row.vue?vue&type=script&lang=js
|
|
21863
|
+
|
|
21864
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/group_row/group_row.vue
|
|
21865
|
+
|
|
21866
|
+
|
|
21867
|
+
|
|
21868
|
+
|
|
21869
|
+
;
|
|
21870
|
+
const group_row_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(group_rowvue_type_script_lang_js, [['render',group_rowvue_type_template_id_29f5cb33_render]])
|
|
21871
|
+
|
|
21872
|
+
/* harmony default export */ const group_row = (group_row_exports_);
|
|
21873
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/group_row/index.js
|
|
21874
|
+
|
|
21875
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/leftbar/contact_row/contact_row.vue?vue&type=template&id=8a190578
|
|
21876
|
+
|
|
21877
|
+
const contact_rowvue_type_template_id_8a190578_hoisted_1 = ["src", "alt"];
|
|
21878
|
+
const contact_rowvue_type_template_id_8a190578_hoisted_2 = {
|
|
21879
|
+
class: "dt-leftbar-row__status"
|
|
21880
|
+
};
|
|
21881
|
+
function contact_rowvue_type_template_id_8a190578_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21882
|
+
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
21883
|
+
|
|
21884
|
+
const _component_dt_avatar = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-avatar");
|
|
21885
|
+
|
|
21886
|
+
const _component_dt_emoji_text_wrapper = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-emoji-text-wrapper");
|
|
21887
|
+
|
|
21888
|
+
const _component_dt_recipe_general_row = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-recipe-general-row");
|
|
21889
|
+
|
|
21890
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_recipe_general_row, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
21891
|
+
"unread-count": $props.unreadCount,
|
|
21892
|
+
"has-unreads": $props.hasUnreads,
|
|
21893
|
+
selected: $props.selected,
|
|
21894
|
+
"has-call-button": true,
|
|
21895
|
+
muted: $props.muted
|
|
21896
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toHandlers)($options.contactRowListeners), {
|
|
21897
|
+
onCall: _cache[0] || (_cache[0] = $event => _ctx.$emit('call', $event))
|
|
21898
|
+
}), {
|
|
21899
|
+
left: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_avatar, {
|
|
21900
|
+
size: "sm",
|
|
21901
|
+
seed: $props.avatarSeed,
|
|
21902
|
+
presence: $props.avatarPresence
|
|
21903
|
+
}, {
|
|
21904
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [$props.avatarSrc ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("img", {
|
|
21905
|
+
key: 0,
|
|
21906
|
+
"data-qa": "dt-avatar-image",
|
|
21907
|
+
src: $props.avatarSrc,
|
|
21908
|
+
alt: $props.name
|
|
21909
|
+
}, null, 8, contact_rowvue_type_template_id_8a190578_hoisted_1)) : $props.noInitials ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_icon, {
|
|
21910
|
+
key: 1,
|
|
21911
|
+
name: "user",
|
|
21912
|
+
size: "200"
|
|
21913
|
+
})) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.Fragment, {
|
|
21914
|
+
key: 2
|
|
21915
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($options.avatarInitial), 1)], 64))]),
|
|
21916
|
+
_: 1
|
|
21917
|
+
}, 8, ["seed", "presence"])]),
|
|
21918
|
+
label: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_emoji_text_wrapper, {
|
|
21919
|
+
class: "dt-leftbar-row__description",
|
|
21920
|
+
"data-qa": "dt-leftbar-row-description",
|
|
21921
|
+
size: "200"
|
|
21922
|
+
}, {
|
|
21923
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.name), 1)]),
|
|
21924
|
+
_: 1
|
|
21925
|
+
}), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", contact_rowvue_type_template_id_8a190578_hoisted_2, [$props.presenceText ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", {
|
|
21926
|
+
key: 0,
|
|
21927
|
+
"data-qa": "dt-leftbar-row-presence-text",
|
|
21928
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['dt-leftbar-row__meta-context', $options.presenceColorClass])
|
|
21929
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.presenceText), 3)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), $props.userStatus ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_emoji_text_wrapper, {
|
|
21930
|
+
key: 1,
|
|
21931
|
+
size: "100",
|
|
21932
|
+
"element-type": "span",
|
|
21933
|
+
"data-qa": "dt-leftbar-row-user-status",
|
|
21934
|
+
class: "dt-leftbar-row__meta-custom"
|
|
21935
|
+
}, {
|
|
21936
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.userStatus), 1)]),
|
|
21937
|
+
_: 1
|
|
21938
|
+
})) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)])]),
|
|
21939
|
+
_: 1
|
|
21940
|
+
}, 16, ["unread-count", "has-unreads", "selected", "muted"]);
|
|
21941
|
+
}
|
|
21942
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/contact_row/contact_row.vue?vue&type=template&id=8a190578
|
|
21943
|
+
|
|
21944
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/leftbar/contact_row/contact_row.vue?vue&type=script&lang=js
|
|
21945
|
+
|
|
21946
|
+
|
|
21947
|
+
|
|
21948
|
+
|
|
21949
|
+
|
|
21950
|
+
|
|
21951
|
+
/* harmony default export */ const contact_rowvue_type_script_lang_js = ({
|
|
21952
|
+
name: 'DtRecipeGroupRow',
|
|
21953
|
+
components: {
|
|
21954
|
+
DtAvatar: avatar,
|
|
21955
|
+
DtIcon: icon,
|
|
21956
|
+
DtRecipeGeneralRow: general_row,
|
|
21957
|
+
DtEmojiTextWrapper: emoji_text_wrapper
|
|
21958
|
+
},
|
|
21959
|
+
props: {
|
|
21960
|
+
/**
|
|
21961
|
+
* Optional avatar image url.
|
|
21962
|
+
* If not provided it will use the initial of the name.
|
|
21963
|
+
*/
|
|
21964
|
+
avatarSrc: {
|
|
21965
|
+
type: String,
|
|
21966
|
+
default: ''
|
|
21967
|
+
},
|
|
21968
|
+
|
|
21969
|
+
/**
|
|
21970
|
+
* Determines whether to show the presence indicator for
|
|
21971
|
+
* Avatar - accepts PRESENCE_STATES values: 'active', 'busy', 'away', 'offline'. defaults to active.
|
|
21972
|
+
* @values active, busy, away, offline
|
|
21973
|
+
*/
|
|
21974
|
+
avatarPresence: {
|
|
21975
|
+
type: String,
|
|
21976
|
+
default: PRESENCE_STATES.ACTIVE,
|
|
21977
|
+
validator: role => {
|
|
21978
|
+
return PRESENCE_STATES_LIST.includes(role);
|
|
21979
|
+
}
|
|
21980
|
+
},
|
|
21981
|
+
|
|
21982
|
+
/**
|
|
21983
|
+
* Avatar seed, set this to the user's ID to get the same avatar background gradient each time it is displayed.
|
|
21984
|
+
*/
|
|
21985
|
+
avatarSeed: {
|
|
21986
|
+
type: String,
|
|
21987
|
+
default: null
|
|
21988
|
+
},
|
|
21989
|
+
|
|
21990
|
+
/**
|
|
21991
|
+
* Text describing the user's presence, such as "in a meeting"
|
|
21992
|
+
*/
|
|
21993
|
+
presenceText: {
|
|
21994
|
+
type: String,
|
|
21995
|
+
default: ''
|
|
21996
|
+
},
|
|
21997
|
+
|
|
21998
|
+
/**
|
|
21999
|
+
* Name of the contact
|
|
22000
|
+
*/
|
|
22001
|
+
name: {
|
|
22002
|
+
type: String,
|
|
22003
|
+
required: true
|
|
22004
|
+
},
|
|
22005
|
+
|
|
22006
|
+
/**
|
|
22007
|
+
* Status as set by the user.
|
|
22008
|
+
*/
|
|
22009
|
+
userStatus: {
|
|
22010
|
+
type: String,
|
|
22011
|
+
default: ''
|
|
22012
|
+
},
|
|
22013
|
+
|
|
22014
|
+
/**
|
|
22015
|
+
* Gives a faded style to be used when muted
|
|
22016
|
+
*/
|
|
22017
|
+
muted: {
|
|
22018
|
+
type: Boolean,
|
|
22019
|
+
default: false
|
|
22020
|
+
},
|
|
22021
|
+
|
|
22022
|
+
/**
|
|
22023
|
+
* Number of unread messages
|
|
22024
|
+
*/
|
|
22025
|
+
unreadCount: {
|
|
22026
|
+
type: String,
|
|
22027
|
+
default: null
|
|
22028
|
+
},
|
|
22029
|
+
|
|
22030
|
+
/**
|
|
22031
|
+
* Styles the row with an increased font weight to convey it has unreads. This must be true to see
|
|
22032
|
+
* the unread count badge.
|
|
22033
|
+
*/
|
|
22034
|
+
hasUnreads: {
|
|
22035
|
+
type: Boolean,
|
|
22036
|
+
default: false
|
|
22037
|
+
},
|
|
22038
|
+
|
|
22039
|
+
/**
|
|
22040
|
+
* Determines if the row is selected
|
|
22041
|
+
*/
|
|
22042
|
+
selected: {
|
|
22043
|
+
type: Boolean,
|
|
22044
|
+
default: false
|
|
22045
|
+
},
|
|
22046
|
+
|
|
22047
|
+
/**
|
|
22048
|
+
* Initials will never be shown. Instead it will show a "User" icon.
|
|
22049
|
+
*/
|
|
22050
|
+
noInitials: {
|
|
22051
|
+
type: Boolean,
|
|
22052
|
+
default: false
|
|
22053
|
+
}
|
|
22054
|
+
},
|
|
22055
|
+
emits: [
|
|
22056
|
+
/**
|
|
22057
|
+
* Call button clicked
|
|
22058
|
+
*
|
|
22059
|
+
* @event call
|
|
22060
|
+
* @type {PointerEvent | KeyboardEvent}
|
|
22061
|
+
*/
|
|
22062
|
+
'call'],
|
|
22063
|
+
computed: {
|
|
22064
|
+
presenceColorClass() {
|
|
22065
|
+
switch (this.avatarPresence) {
|
|
22066
|
+
case 'active':
|
|
22067
|
+
return 'd-fc-success';
|
|
22068
|
+
|
|
22069
|
+
case 'busy':
|
|
22070
|
+
return 'd-fc-critical';
|
|
22071
|
+
|
|
22072
|
+
case 'away':
|
|
22073
|
+
return 'd-fc-warning';
|
|
22074
|
+
|
|
22075
|
+
default:
|
|
22076
|
+
return undefined;
|
|
22077
|
+
}
|
|
22078
|
+
},
|
|
22079
|
+
|
|
22080
|
+
contactRowListeners() {
|
|
22081
|
+
return extractVueListeners(this.$attrs);
|
|
22082
|
+
},
|
|
22083
|
+
|
|
22084
|
+
avatarInitial() {
|
|
22085
|
+
var _this$name$;
|
|
22086
|
+
|
|
22087
|
+
return (_this$name$ = this.name[0]) !== null && _this$name$ !== void 0 ? _this$name$ : '';
|
|
22088
|
+
}
|
|
22089
|
+
|
|
22090
|
+
}
|
|
22091
|
+
});
|
|
22092
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/contact_row/contact_row.vue?vue&type=script&lang=js
|
|
22093
|
+
|
|
22094
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/contact_row/contact_row.vue
|
|
22095
|
+
|
|
22096
|
+
|
|
22097
|
+
|
|
22098
|
+
|
|
22099
|
+
;
|
|
22100
|
+
const contact_row_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(contact_rowvue_type_script_lang_js, [['render',contact_rowvue_type_template_id_8a190578_render]])
|
|
22101
|
+
|
|
22102
|
+
/* harmony default export */ const contact_row = (contact_row_exports_);
|
|
22103
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/contact_row/index.js
|
|
22104
|
+
|
|
21584
22105
|
;// CONCATENATED MODULE: ./common/mixins/index.js
|
|
21585
22106
|
|
|
21586
22107
|
|
|
@@ -21634,6 +22155,8 @@ const general_row_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(genera
|
|
|
21634
22155
|
|
|
21635
22156
|
|
|
21636
22157
|
|
|
22158
|
+
|
|
22159
|
+
|
|
21637
22160
|
// Mixins
|
|
21638
22161
|
|
|
21639
22162
|
// Constants
|