@dialpad/dialtone-vue 2.38.0 → 2.39.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/dist/component-documentation.json +1 -1
- package/dist/dialtone-vue.common.js +294 -155
- package/dist/dialtone-vue.umd.js +294 -155
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/package.json +2 -2
|
@@ -306,7 +306,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306
306
|
|
|
307
307
|
var ___CSS_LOADER_EXPORT___ = _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
308
308
|
// Module
|
|
309
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".dt-recipe-callbar-button:not(.dt-recipe-callbar-button--circle){letter-spacing:-.011rem;line-height:1.6rem}.dt-recipe-callbar-button--circle{border-radius:var(--br-circle)}.dt-recipe-callbar-button.d-btn[disabled]{background-color:unset}.dt-recipe-callbar-button--circle.d-btn[disabled]{border-color:unset}.dt-recipe-callbar-button--active{--button--
|
|
309
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".dt-recipe-callbar-button:not(.dt-recipe-callbar-button--circle){letter-spacing:-.011rem;line-height:1.6rem}.dt-recipe-callbar-button--circle{border-radius:var(--br-circle)}.dt-recipe-callbar-button.d-btn[disabled]{background-color:unset}.dt-recipe-callbar-button--circle.d-btn[disabled]{border-color:unset}.dt-recipe-callbar-button--danger.dt-recipe-callbar-button--active{--button--bgc:hsla(var(--error-color-hsl)/10%);--button--fc:var(--error-color-hover)}.dt-recipe-callbar-button--danger.dt-recipe-callbar-button--active:hover{--button--bgc:hsla(var(--error-color-hsl)/20%);--button--fc:var(--error-color-hover)}.dt-recipe-callbar-button--active .base-button__icon,.dt-recipe-callbar-button--active:hover .base-button__icon{color:var(--primary-color)}", ""]);
|
|
310
310
|
// Exports
|
|
311
311
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
312
312
|
|
|
@@ -1248,60 +1248,18 @@ if (typeof window !== 'undefined') {
|
|
|
1248
1248
|
// Indicate to webpack that this file can be concatenated
|
|
1249
1249
|
/* harmony default export */ const setPublicPath = (null);
|
|
1250
1250
|
|
|
1251
|
-
;// 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=
|
|
1251
|
+
;// 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=2ccfaa37&
|
|
1252
1252
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
|
|
1253
1253
|
'd-avatar',
|
|
1254
1254
|
_vm.AVATAR_KIND_MODIFIERS[_vm.kind],
|
|
1255
1255
|
_vm.AVATAR_SIZE_MODIFIERS[_vm.size],
|
|
1256
1256
|
_vm.AVATAR_COLOR_MODIFIERS[_vm.color],
|
|
1257
|
-
_vm.avatarClass ],attrs:{"id":_vm.id,"data-qa":"dt-avatar"}},[_vm._t("default")
|
|
1257
|
+
_vm.avatarClass ],attrs:{"id":_vm.id,"data-qa":"dt-avatar"}},[_vm._t("default"),(_vm.presence)?_c('dt-presence',_vm._b({class:[
|
|
1258
|
+
'd-avatar__presence',
|
|
1259
|
+
_vm.AVATAR_PRESENCE_SIZE_MODIFIERS[_vm.size] ],attrs:{"presence":_vm.presence,"data-qa":"dt-presence"}},'dt-presence',_vm.presenceProps,false)):_vm._e()],2)}
|
|
1258
1260
|
var staticRenderFns = []
|
|
1259
1261
|
|
|
1260
1262
|
|
|
1261
|
-
;// CONCATENATED MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
1262
|
-
const external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject = require("vue");
|
|
1263
|
-
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject);
|
|
1264
|
-
;// CONCATENATED MODULE: ./components/avatar/avatar_constants.js
|
|
1265
|
-
const AVATAR_KIND_MODIFIERS = {
|
|
1266
|
-
default: '',
|
|
1267
|
-
icon: 'd-avatar--icon',
|
|
1268
|
-
initials: 'd-avatar--initials'
|
|
1269
|
-
};
|
|
1270
|
-
const AVATAR_SIZE_MODIFIERS = {
|
|
1271
|
-
sm: 'd-avatar--sm',
|
|
1272
|
-
md: 'd-avatar--md',
|
|
1273
|
-
lg: 'd-avatar--lg'
|
|
1274
|
-
};
|
|
1275
|
-
const AVATAR_COLOR_MODIFIERS = {
|
|
1276
|
-
base: '',
|
|
1277
|
-
'orange-200': 'd-avatar--orange-200',
|
|
1278
|
-
'orange-300': 'd-avatar--orange-300',
|
|
1279
|
-
'orange-400': 'd-avatar--orange-400',
|
|
1280
|
-
'orange-500': 'd-avatar--orange-500',
|
|
1281
|
-
'magenta-100': 'd-avatar--magenta-100',
|
|
1282
|
-
'magenta-200': 'd-avatar--magenta-200',
|
|
1283
|
-
'magenta-300': 'd-avatar--magenta-300',
|
|
1284
|
-
'magenta-400': 'd-avatar--magenta-400',
|
|
1285
|
-
'purple-200': 'd-avatar--purple-200',
|
|
1286
|
-
'purple-300': 'd-avatar--purple-300',
|
|
1287
|
-
'purple-400': 'd-avatar--purple-400',
|
|
1288
|
-
'purple-500': 'd-avatar--purple-500',
|
|
1289
|
-
'gold-100': 'd-avatar--gold-100',
|
|
1290
|
-
'gold-200': 'd-avatar--gold-200',
|
|
1291
|
-
'gold-300': 'd-avatar--gold-300',
|
|
1292
|
-
'gold-500': 'd-avatar--gold-500'
|
|
1293
|
-
};
|
|
1294
|
-
const AVATAR_ICON_SIZES = {
|
|
1295
|
-
sm: '200',
|
|
1296
|
-
md: '400',
|
|
1297
|
-
lg: '500'
|
|
1298
|
-
};
|
|
1299
|
-
/* harmony default export */ const avatar_constants = ({
|
|
1300
|
-
AVATAR_KIND_MODIFIERS,
|
|
1301
|
-
AVATAR_SIZE_MODIFIERS,
|
|
1302
|
-
AVATAR_COLOR_MODIFIERS,
|
|
1303
|
-
AVATAR_ICON_SIZES
|
|
1304
|
-
});
|
|
1305
1263
|
;// CONCATENATED MODULE: ./common/constants.js
|
|
1306
1264
|
/* TODO: Move and sort these in a constants directory
|
|
1307
1265
|
|
|
@@ -1370,6 +1328,9 @@ const DEFAULT_PREFIX = 'dt';
|
|
|
1370
1328
|
DEFAULT_VALIDATION_MESSAGE_TYPE,
|
|
1371
1329
|
DEFAULT_PREFIX
|
|
1372
1330
|
});
|
|
1331
|
+
;// CONCATENATED MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
1332
|
+
const external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject = require("vue");
|
|
1333
|
+
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject);
|
|
1373
1334
|
;// CONCATENATED MODULE: ./common/utils.js
|
|
1374
1335
|
|
|
1375
1336
|
|
|
@@ -1504,6 +1465,251 @@ const pascalCaseToKebabCase = string => {
|
|
|
1504
1465
|
flushPromises,
|
|
1505
1466
|
kebabCaseToPascalCase
|
|
1506
1467
|
});
|
|
1468
|
+
;// 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=30834c22&
|
|
1469
|
+
var presencevue_type_template_id_30834c22_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:{
|
|
1470
|
+
'd-presence__inner--active': _vm.presence === 'active',
|
|
1471
|
+
'd-presence__inner--away': _vm.presence === 'away',
|
|
1472
|
+
'd-presence__inner--busy': _vm.presence === 'busy',
|
|
1473
|
+
'd-presence__inner--offline': _vm.presence === 'offline',
|
|
1474
|
+
}})])}
|
|
1475
|
+
var presencevue_type_template_id_30834c22_staticRenderFns = []
|
|
1476
|
+
|
|
1477
|
+
|
|
1478
|
+
;// CONCATENATED MODULE: ./components/presence/presence_constants.js
|
|
1479
|
+
const PRESENCE_STATES = {
|
|
1480
|
+
BUSY: 'busy',
|
|
1481
|
+
AWAY: 'away',
|
|
1482
|
+
OFFLINE: 'offline',
|
|
1483
|
+
ACTIVE: 'active'
|
|
1484
|
+
};
|
|
1485
|
+
const PRESENCE_STATES_LIST = [PRESENCE_STATES.BUSY, PRESENCE_STATES.AWAY, PRESENCE_STATES.OFFLINE, PRESENCE_STATES.ACTIVE];
|
|
1486
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/presence/presence.vue?vue&type=script&lang=js&
|
|
1487
|
+
//
|
|
1488
|
+
//
|
|
1489
|
+
//
|
|
1490
|
+
//
|
|
1491
|
+
//
|
|
1492
|
+
//
|
|
1493
|
+
//
|
|
1494
|
+
//
|
|
1495
|
+
//
|
|
1496
|
+
//
|
|
1497
|
+
//
|
|
1498
|
+
//
|
|
1499
|
+
//
|
|
1500
|
+
//
|
|
1501
|
+
//
|
|
1502
|
+
//
|
|
1503
|
+
//
|
|
1504
|
+
//
|
|
1505
|
+
//
|
|
1506
|
+
//
|
|
1507
|
+
//
|
|
1508
|
+
//
|
|
1509
|
+
//
|
|
1510
|
+
//
|
|
1511
|
+
|
|
1512
|
+
/**
|
|
1513
|
+
* Presence is a user status visual indicator element.
|
|
1514
|
+
* @see https://dialpad.design/components/presence.html
|
|
1515
|
+
*/
|
|
1516
|
+
|
|
1517
|
+
/* harmony default export */ const presencevue_type_script_lang_js_ = ({
|
|
1518
|
+
name: 'Presence',
|
|
1519
|
+
props: {
|
|
1520
|
+
/**
|
|
1521
|
+
* Determines the color of the inner presence circle, indicating status.
|
|
1522
|
+
* Accepts one of 4 values: 'busy', 'away', 'active', 'offline'
|
|
1523
|
+
*/
|
|
1524
|
+
presence: {
|
|
1525
|
+
type: String,
|
|
1526
|
+
default: PRESENCE_STATES.ACTIVE,
|
|
1527
|
+
validator: role => {
|
|
1528
|
+
return PRESENCE_STATES_LIST.includes(role);
|
|
1529
|
+
}
|
|
1530
|
+
},
|
|
1531
|
+
|
|
1532
|
+
/**
|
|
1533
|
+
* Since Presence is a visual element, we need SRs to read out any state changes
|
|
1534
|
+
* that occur.
|
|
1535
|
+
* Text entered here will be read by assistive technology. If null this component will be ignored by AT.
|
|
1536
|
+
*/
|
|
1537
|
+
srText: {
|
|
1538
|
+
type: String,
|
|
1539
|
+
default: null
|
|
1540
|
+
}
|
|
1541
|
+
}
|
|
1542
|
+
});
|
|
1543
|
+
;// CONCATENATED MODULE: ./components/presence/presence.vue?vue&type=script&lang=js&
|
|
1544
|
+
/* harmony default export */ const presence_presencevue_type_script_lang_js_ = (presencevue_type_script_lang_js_);
|
|
1545
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
1546
|
+
/* globals __VUE_SSR_CONTEXT__ */
|
|
1547
|
+
|
|
1548
|
+
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
1549
|
+
// This module is a runtime utility for cleaner component module output and will
|
|
1550
|
+
// be included in the final webpack user bundle.
|
|
1551
|
+
|
|
1552
|
+
function normalizeComponent (
|
|
1553
|
+
scriptExports,
|
|
1554
|
+
render,
|
|
1555
|
+
staticRenderFns,
|
|
1556
|
+
functionalTemplate,
|
|
1557
|
+
injectStyles,
|
|
1558
|
+
scopeId,
|
|
1559
|
+
moduleIdentifier, /* server only */
|
|
1560
|
+
shadowMode /* vue-cli only */
|
|
1561
|
+
) {
|
|
1562
|
+
// Vue.extend constructor export interop
|
|
1563
|
+
var options = typeof scriptExports === 'function'
|
|
1564
|
+
? scriptExports.options
|
|
1565
|
+
: scriptExports
|
|
1566
|
+
|
|
1567
|
+
// render functions
|
|
1568
|
+
if (render) {
|
|
1569
|
+
options.render = render
|
|
1570
|
+
options.staticRenderFns = staticRenderFns
|
|
1571
|
+
options._compiled = true
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
// functional template
|
|
1575
|
+
if (functionalTemplate) {
|
|
1576
|
+
options.functional = true
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1579
|
+
// scopedId
|
|
1580
|
+
if (scopeId) {
|
|
1581
|
+
options._scopeId = 'data-v-' + scopeId
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
var hook
|
|
1585
|
+
if (moduleIdentifier) { // server build
|
|
1586
|
+
hook = function (context) {
|
|
1587
|
+
// 2.3 injection
|
|
1588
|
+
context =
|
|
1589
|
+
context || // cached call
|
|
1590
|
+
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
1591
|
+
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
1592
|
+
// 2.2 with runInNewContext: true
|
|
1593
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
1594
|
+
context = __VUE_SSR_CONTEXT__
|
|
1595
|
+
}
|
|
1596
|
+
// inject component styles
|
|
1597
|
+
if (injectStyles) {
|
|
1598
|
+
injectStyles.call(this, context)
|
|
1599
|
+
}
|
|
1600
|
+
// register component module identifier for async chunk inferrence
|
|
1601
|
+
if (context && context._registeredComponents) {
|
|
1602
|
+
context._registeredComponents.add(moduleIdentifier)
|
|
1603
|
+
}
|
|
1604
|
+
}
|
|
1605
|
+
// used by ssr in case component is cached and beforeCreate
|
|
1606
|
+
// never gets called
|
|
1607
|
+
options._ssrRegister = hook
|
|
1608
|
+
} else if (injectStyles) {
|
|
1609
|
+
hook = shadowMode
|
|
1610
|
+
? function () {
|
|
1611
|
+
injectStyles.call(
|
|
1612
|
+
this,
|
|
1613
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
1614
|
+
)
|
|
1615
|
+
}
|
|
1616
|
+
: injectStyles
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
if (hook) {
|
|
1620
|
+
if (options.functional) {
|
|
1621
|
+
// for template-only hot-reload because in that case the render fn doesn't
|
|
1622
|
+
// go through the normalizer
|
|
1623
|
+
options._injectStyles = hook
|
|
1624
|
+
// register for functional component in vue file
|
|
1625
|
+
var originalRender = options.render
|
|
1626
|
+
options.render = function renderWithStyleInjection (h, context) {
|
|
1627
|
+
hook.call(context)
|
|
1628
|
+
return originalRender(h, context)
|
|
1629
|
+
}
|
|
1630
|
+
} else {
|
|
1631
|
+
// inject component registration as beforeCreate hook
|
|
1632
|
+
var existing = options.beforeCreate
|
|
1633
|
+
options.beforeCreate = existing
|
|
1634
|
+
? [].concat(existing, hook)
|
|
1635
|
+
: [hook]
|
|
1636
|
+
}
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1639
|
+
return {
|
|
1640
|
+
exports: scriptExports,
|
|
1641
|
+
options: options
|
|
1642
|
+
}
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
;// CONCATENATED MODULE: ./components/presence/presence.vue
|
|
1646
|
+
|
|
1647
|
+
|
|
1648
|
+
|
|
1649
|
+
|
|
1650
|
+
|
|
1651
|
+
/* normalize component */
|
|
1652
|
+
;
|
|
1653
|
+
var component = normalizeComponent(
|
|
1654
|
+
presence_presencevue_type_script_lang_js_,
|
|
1655
|
+
presencevue_type_template_id_30834c22_render,
|
|
1656
|
+
presencevue_type_template_id_30834c22_staticRenderFns,
|
|
1657
|
+
false,
|
|
1658
|
+
null,
|
|
1659
|
+
null,
|
|
1660
|
+
null
|
|
1661
|
+
|
|
1662
|
+
)
|
|
1663
|
+
|
|
1664
|
+
/* harmony default export */ const presence = (component.exports);
|
|
1665
|
+
;// CONCATENATED MODULE: ./components/presence/index.js
|
|
1666
|
+
|
|
1667
|
+
|
|
1668
|
+
;// CONCATENATED MODULE: ./components/avatar/avatar_constants.js
|
|
1669
|
+
const AVATAR_KIND_MODIFIERS = {
|
|
1670
|
+
default: '',
|
|
1671
|
+
icon: 'd-avatar--icon',
|
|
1672
|
+
initials: 'd-avatar--initials'
|
|
1673
|
+
};
|
|
1674
|
+
const AVATAR_SIZE_MODIFIERS = {
|
|
1675
|
+
sm: 'd-avatar--sm',
|
|
1676
|
+
md: 'd-avatar--md',
|
|
1677
|
+
lg: 'd-avatar--lg'
|
|
1678
|
+
};
|
|
1679
|
+
const AVATAR_PRESENCE_SIZE_MODIFIERS = {
|
|
1680
|
+
md: 'd-avatar__presence--md',
|
|
1681
|
+
lg: 'd-avatar__presence--lg'
|
|
1682
|
+
};
|
|
1683
|
+
const AVATAR_COLOR_MODIFIERS = {
|
|
1684
|
+
base: '',
|
|
1685
|
+
'orange-200': 'd-avatar--orange-200',
|
|
1686
|
+
'orange-300': 'd-avatar--orange-300',
|
|
1687
|
+
'orange-400': 'd-avatar--orange-400',
|
|
1688
|
+
'orange-500': 'd-avatar--orange-500',
|
|
1689
|
+
'magenta-100': 'd-avatar--magenta-100',
|
|
1690
|
+
'magenta-200': 'd-avatar--magenta-200',
|
|
1691
|
+
'magenta-300': 'd-avatar--magenta-300',
|
|
1692
|
+
'magenta-400': 'd-avatar--magenta-400',
|
|
1693
|
+
'purple-200': 'd-avatar--purple-200',
|
|
1694
|
+
'purple-300': 'd-avatar--purple-300',
|
|
1695
|
+
'purple-400': 'd-avatar--purple-400',
|
|
1696
|
+
'purple-500': 'd-avatar--purple-500',
|
|
1697
|
+
'gold-100': 'd-avatar--gold-100',
|
|
1698
|
+
'gold-200': 'd-avatar--gold-200',
|
|
1699
|
+
'gold-300': 'd-avatar--gold-300',
|
|
1700
|
+
'gold-500': 'd-avatar--gold-500'
|
|
1701
|
+
};
|
|
1702
|
+
const AVATAR_ICON_SIZES = {
|
|
1703
|
+
sm: '200',
|
|
1704
|
+
md: '400',
|
|
1705
|
+
lg: '500'
|
|
1706
|
+
};
|
|
1707
|
+
/* harmony default export */ const avatar_constants = ({
|
|
1708
|
+
AVATAR_KIND_MODIFIERS,
|
|
1709
|
+
AVATAR_SIZE_MODIFIERS,
|
|
1710
|
+
AVATAR_COLOR_MODIFIERS,
|
|
1711
|
+
AVATAR_ICON_SIZES
|
|
1712
|
+
});
|
|
1507
1713
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/avatar/avatar.vue?vue&type=script&lang=js&
|
|
1508
1714
|
//
|
|
1509
1715
|
//
|
|
@@ -1522,6 +1728,17 @@ const pascalCaseToKebabCase = string => {
|
|
|
1522
1728
|
//
|
|
1523
1729
|
//
|
|
1524
1730
|
//
|
|
1731
|
+
//
|
|
1732
|
+
//
|
|
1733
|
+
//
|
|
1734
|
+
//
|
|
1735
|
+
//
|
|
1736
|
+
//
|
|
1737
|
+
//
|
|
1738
|
+
//
|
|
1739
|
+
//
|
|
1740
|
+
//
|
|
1741
|
+
|
|
1525
1742
|
|
|
1526
1743
|
|
|
1527
1744
|
|
|
@@ -1532,6 +1749,9 @@ const pascalCaseToKebabCase = string => {
|
|
|
1532
1749
|
|
|
1533
1750
|
/* harmony default export */ const avatarvue_type_script_lang_js_ = ({
|
|
1534
1751
|
name: 'DtAvatar',
|
|
1752
|
+
components: {
|
|
1753
|
+
DtPresence: presence
|
|
1754
|
+
},
|
|
1535
1755
|
inheritAttrs: false,
|
|
1536
1756
|
props: {
|
|
1537
1757
|
/**
|
|
@@ -1576,6 +1796,24 @@ const pascalCaseToKebabCase = string => {
|
|
|
1576
1796
|
avatarClass: {
|
|
1577
1797
|
type: [String, Array, Object],
|
|
1578
1798
|
default: ''
|
|
1799
|
+
},
|
|
1800
|
+
|
|
1801
|
+
/**
|
|
1802
|
+
* Determines whether to show the presence indicator for
|
|
1803
|
+
* Avatar - accepts PRESENCE_STATES values: 'busy', 'away', 'offline',
|
|
1804
|
+
* or 'active'. By default, it's null and nothing is shown.
|
|
1805
|
+
*/
|
|
1806
|
+
presence: {
|
|
1807
|
+
type: String,
|
|
1808
|
+
default: null
|
|
1809
|
+
},
|
|
1810
|
+
|
|
1811
|
+
/**
|
|
1812
|
+
* A set of props to be passed into the presence component.
|
|
1813
|
+
*/
|
|
1814
|
+
presenceProps: {
|
|
1815
|
+
type: Object,
|
|
1816
|
+
default: () => ({})
|
|
1579
1817
|
}
|
|
1580
1818
|
},
|
|
1581
1819
|
|
|
@@ -1585,7 +1823,8 @@ const pascalCaseToKebabCase = string => {
|
|
|
1585
1823
|
kind: 'initials',
|
|
1586
1824
|
AVATAR_SIZE_MODIFIERS: AVATAR_SIZE_MODIFIERS,
|
|
1587
1825
|
AVATAR_COLOR_MODIFIERS: AVATAR_COLOR_MODIFIERS,
|
|
1588
|
-
AVATAR_KIND_MODIFIERS: AVATAR_KIND_MODIFIERS
|
|
1826
|
+
AVATAR_KIND_MODIFIERS: AVATAR_KIND_MODIFIERS,
|
|
1827
|
+
AVATAR_PRESENCE_SIZE_MODIFIERS: AVATAR_PRESENCE_SIZE_MODIFIERS
|
|
1589
1828
|
};
|
|
1590
1829
|
},
|
|
1591
1830
|
|
|
@@ -1646,106 +1885,6 @@ const pascalCaseToKebabCase = string => {
|
|
|
1646
1885
|
});
|
|
1647
1886
|
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=script&lang=js&
|
|
1648
1887
|
/* harmony default export */ const avatar_avatarvue_type_script_lang_js_ = (avatarvue_type_script_lang_js_);
|
|
1649
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
1650
|
-
/* globals __VUE_SSR_CONTEXT__ */
|
|
1651
|
-
|
|
1652
|
-
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
1653
|
-
// This module is a runtime utility for cleaner component module output and will
|
|
1654
|
-
// be included in the final webpack user bundle.
|
|
1655
|
-
|
|
1656
|
-
function normalizeComponent (
|
|
1657
|
-
scriptExports,
|
|
1658
|
-
render,
|
|
1659
|
-
staticRenderFns,
|
|
1660
|
-
functionalTemplate,
|
|
1661
|
-
injectStyles,
|
|
1662
|
-
scopeId,
|
|
1663
|
-
moduleIdentifier, /* server only */
|
|
1664
|
-
shadowMode /* vue-cli only */
|
|
1665
|
-
) {
|
|
1666
|
-
// Vue.extend constructor export interop
|
|
1667
|
-
var options = typeof scriptExports === 'function'
|
|
1668
|
-
? scriptExports.options
|
|
1669
|
-
: scriptExports
|
|
1670
|
-
|
|
1671
|
-
// render functions
|
|
1672
|
-
if (render) {
|
|
1673
|
-
options.render = render
|
|
1674
|
-
options.staticRenderFns = staticRenderFns
|
|
1675
|
-
options._compiled = true
|
|
1676
|
-
}
|
|
1677
|
-
|
|
1678
|
-
// functional template
|
|
1679
|
-
if (functionalTemplate) {
|
|
1680
|
-
options.functional = true
|
|
1681
|
-
}
|
|
1682
|
-
|
|
1683
|
-
// scopedId
|
|
1684
|
-
if (scopeId) {
|
|
1685
|
-
options._scopeId = 'data-v-' + scopeId
|
|
1686
|
-
}
|
|
1687
|
-
|
|
1688
|
-
var hook
|
|
1689
|
-
if (moduleIdentifier) { // server build
|
|
1690
|
-
hook = function (context) {
|
|
1691
|
-
// 2.3 injection
|
|
1692
|
-
context =
|
|
1693
|
-
context || // cached call
|
|
1694
|
-
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
1695
|
-
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
1696
|
-
// 2.2 with runInNewContext: true
|
|
1697
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
1698
|
-
context = __VUE_SSR_CONTEXT__
|
|
1699
|
-
}
|
|
1700
|
-
// inject component styles
|
|
1701
|
-
if (injectStyles) {
|
|
1702
|
-
injectStyles.call(this, context)
|
|
1703
|
-
}
|
|
1704
|
-
// register component module identifier for async chunk inferrence
|
|
1705
|
-
if (context && context._registeredComponents) {
|
|
1706
|
-
context._registeredComponents.add(moduleIdentifier)
|
|
1707
|
-
}
|
|
1708
|
-
}
|
|
1709
|
-
// used by ssr in case component is cached and beforeCreate
|
|
1710
|
-
// never gets called
|
|
1711
|
-
options._ssrRegister = hook
|
|
1712
|
-
} else if (injectStyles) {
|
|
1713
|
-
hook = shadowMode
|
|
1714
|
-
? function () {
|
|
1715
|
-
injectStyles.call(
|
|
1716
|
-
this,
|
|
1717
|
-
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
1718
|
-
)
|
|
1719
|
-
}
|
|
1720
|
-
: injectStyles
|
|
1721
|
-
}
|
|
1722
|
-
|
|
1723
|
-
if (hook) {
|
|
1724
|
-
if (options.functional) {
|
|
1725
|
-
// for template-only hot-reload because in that case the render fn doesn't
|
|
1726
|
-
// go through the normalizer
|
|
1727
|
-
options._injectStyles = hook
|
|
1728
|
-
// register for functional component in vue file
|
|
1729
|
-
var originalRender = options.render
|
|
1730
|
-
options.render = function renderWithStyleInjection (h, context) {
|
|
1731
|
-
hook.call(context)
|
|
1732
|
-
return originalRender(h, context)
|
|
1733
|
-
}
|
|
1734
|
-
} else {
|
|
1735
|
-
// inject component registration as beforeCreate hook
|
|
1736
|
-
var existing = options.beforeCreate
|
|
1737
|
-
options.beforeCreate = existing
|
|
1738
|
-
? [].concat(existing, hook)
|
|
1739
|
-
: [hook]
|
|
1740
|
-
}
|
|
1741
|
-
}
|
|
1742
|
-
|
|
1743
|
-
return {
|
|
1744
|
-
exports: scriptExports,
|
|
1745
|
-
options: options
|
|
1746
|
-
}
|
|
1747
|
-
}
|
|
1748
|
-
|
|
1749
1888
|
;// CONCATENATED MODULE: ./components/avatar/avatar.vue
|
|
1750
1889
|
|
|
1751
1890
|
|
|
@@ -1754,7 +1893,7 @@ function normalizeComponent (
|
|
|
1754
1893
|
|
|
1755
1894
|
/* normalize component */
|
|
1756
1895
|
;
|
|
1757
|
-
var
|
|
1896
|
+
var avatar_component = normalizeComponent(
|
|
1758
1897
|
avatar_avatarvue_type_script_lang_js_,
|
|
1759
1898
|
render,
|
|
1760
1899
|
staticRenderFns,
|
|
@@ -1765,7 +1904,7 @@ var component = normalizeComponent(
|
|
|
1765
1904
|
|
|
1766
1905
|
)
|
|
1767
1906
|
|
|
1768
|
-
/* harmony default export */ const avatar = (
|
|
1907
|
+
/* harmony default export */ const avatar = (avatar_component.exports);
|
|
1769
1908
|
;// CONCATENATED MODULE: ./components/avatar/index.js
|
|
1770
1909
|
|
|
1771
1910
|
|
|
@@ -20006,9 +20145,9 @@ var combobox_multi_select_component = normalizeComponent(
|
|
|
20006
20145
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/index.js
|
|
20007
20146
|
|
|
20008
20147
|
|
|
20009
|
-
;// 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/buttons/callbar_button/callbar_button.vue?vue&type=template&id=
|
|
20010
|
-
var
|
|
20011
|
-
var
|
|
20148
|
+
;// 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/buttons/callbar_button/callbar_button.vue?vue&type=template&id=739cffb4&
|
|
20149
|
+
var callbar_buttonvue_type_template_id_739cffb4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-tooltip',{attrs:{"id":_vm.id,"offset":[0, -12]},scopedSlots:_vm._u([{key:"anchor",fn:function(){return [_c('dt-button',_vm._g({class:_vm.callbarButtonClass,attrs:{"importance":_vm.circle ? 'outlined' : 'clear',"kind":"muted","icon-position":"top","disabled":_vm.disabled,"aria-label":_vm.ariaLabel,"label-class":"d-fs-100","width":"8.4rem"}},_vm.$listeners),[_vm._t("default"),_vm._t("icon",null,{"slot":"icon"})],2)]},proxy:true}],null,true)},[_vm._t("tooltip")],2)}
|
|
20150
|
+
var callbar_buttonvue_type_template_id_739cffb4_staticRenderFns = []
|
|
20012
20151
|
|
|
20013
20152
|
|
|
20014
20153
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/buttons/callbar_button/callbar_button.vue?vue&type=script&lang=js&
|
|
@@ -20160,8 +20299,8 @@ var callbar_buttonvue_type_style_index_0_lang_less_ = __webpack_require__(759);
|
|
|
20160
20299
|
|
|
20161
20300
|
var callbar_button_component = normalizeComponent(
|
|
20162
20301
|
callbar_button_callbar_buttonvue_type_script_lang_js_,
|
|
20163
|
-
|
|
20164
|
-
|
|
20302
|
+
callbar_buttonvue_type_template_id_739cffb4_render,
|
|
20303
|
+
callbar_buttonvue_type_template_id_739cffb4_staticRenderFns,
|
|
20165
20304
|
false,
|
|
20166
20305
|
null,
|
|
20167
20306
|
null,
|