@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
package/dist/dialtone-vue.umd.js
CHANGED
|
@@ -316,7 +316,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316
316
|
|
|
317
317
|
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()));
|
|
318
318
|
// Module
|
|
319
|
-
___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--
|
|
319
|
+
___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)}", ""]);
|
|
320
320
|
// Exports
|
|
321
321
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
322
322
|
|
|
@@ -1258,60 +1258,18 @@ if (typeof window !== 'undefined') {
|
|
|
1258
1258
|
// Indicate to webpack that this file can be concatenated
|
|
1259
1259
|
/* harmony default export */ const setPublicPath = (null);
|
|
1260
1260
|
|
|
1261
|
-
;// 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=
|
|
1261
|
+
;// 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&
|
|
1262
1262
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
|
|
1263
1263
|
'd-avatar',
|
|
1264
1264
|
_vm.AVATAR_KIND_MODIFIERS[_vm.kind],
|
|
1265
1265
|
_vm.AVATAR_SIZE_MODIFIERS[_vm.size],
|
|
1266
1266
|
_vm.AVATAR_COLOR_MODIFIERS[_vm.color],
|
|
1267
|
-
_vm.avatarClass ],attrs:{"id":_vm.id,"data-qa":"dt-avatar"}},[_vm._t("default")
|
|
1267
|
+
_vm.avatarClass ],attrs:{"id":_vm.id,"data-qa":"dt-avatar"}},[_vm._t("default"),(_vm.presence)?_c('dt-presence',_vm._b({class:[
|
|
1268
|
+
'd-avatar__presence',
|
|
1269
|
+
_vm.AVATAR_PRESENCE_SIZE_MODIFIERS[_vm.size] ],attrs:{"presence":_vm.presence,"data-qa":"dt-presence"}},'dt-presence',_vm.presenceProps,false)):_vm._e()],2)}
|
|
1268
1270
|
var staticRenderFns = []
|
|
1269
1271
|
|
|
1270
1272
|
|
|
1271
|
-
;// CONCATENATED MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
1272
|
-
const external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject = require("vue");
|
|
1273
|
-
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject);
|
|
1274
|
-
;// CONCATENATED MODULE: ./components/avatar/avatar_constants.js
|
|
1275
|
-
const AVATAR_KIND_MODIFIERS = {
|
|
1276
|
-
default: '',
|
|
1277
|
-
icon: 'd-avatar--icon',
|
|
1278
|
-
initials: 'd-avatar--initials'
|
|
1279
|
-
};
|
|
1280
|
-
const AVATAR_SIZE_MODIFIERS = {
|
|
1281
|
-
sm: 'd-avatar--sm',
|
|
1282
|
-
md: 'd-avatar--md',
|
|
1283
|
-
lg: 'd-avatar--lg'
|
|
1284
|
-
};
|
|
1285
|
-
const AVATAR_COLOR_MODIFIERS = {
|
|
1286
|
-
base: '',
|
|
1287
|
-
'orange-200': 'd-avatar--orange-200',
|
|
1288
|
-
'orange-300': 'd-avatar--orange-300',
|
|
1289
|
-
'orange-400': 'd-avatar--orange-400',
|
|
1290
|
-
'orange-500': 'd-avatar--orange-500',
|
|
1291
|
-
'magenta-100': 'd-avatar--magenta-100',
|
|
1292
|
-
'magenta-200': 'd-avatar--magenta-200',
|
|
1293
|
-
'magenta-300': 'd-avatar--magenta-300',
|
|
1294
|
-
'magenta-400': 'd-avatar--magenta-400',
|
|
1295
|
-
'purple-200': 'd-avatar--purple-200',
|
|
1296
|
-
'purple-300': 'd-avatar--purple-300',
|
|
1297
|
-
'purple-400': 'd-avatar--purple-400',
|
|
1298
|
-
'purple-500': 'd-avatar--purple-500',
|
|
1299
|
-
'gold-100': 'd-avatar--gold-100',
|
|
1300
|
-
'gold-200': 'd-avatar--gold-200',
|
|
1301
|
-
'gold-300': 'd-avatar--gold-300',
|
|
1302
|
-
'gold-500': 'd-avatar--gold-500'
|
|
1303
|
-
};
|
|
1304
|
-
const AVATAR_ICON_SIZES = {
|
|
1305
|
-
sm: '200',
|
|
1306
|
-
md: '400',
|
|
1307
|
-
lg: '500'
|
|
1308
|
-
};
|
|
1309
|
-
/* harmony default export */ const avatar_constants = ({
|
|
1310
|
-
AVATAR_KIND_MODIFIERS,
|
|
1311
|
-
AVATAR_SIZE_MODIFIERS,
|
|
1312
|
-
AVATAR_COLOR_MODIFIERS,
|
|
1313
|
-
AVATAR_ICON_SIZES
|
|
1314
|
-
});
|
|
1315
1273
|
;// CONCATENATED MODULE: ./common/constants.js
|
|
1316
1274
|
/* TODO: Move and sort these in a constants directory
|
|
1317
1275
|
|
|
@@ -1380,6 +1338,9 @@ const DEFAULT_PREFIX = 'dt';
|
|
|
1380
1338
|
DEFAULT_VALIDATION_MESSAGE_TYPE,
|
|
1381
1339
|
DEFAULT_PREFIX
|
|
1382
1340
|
});
|
|
1341
|
+
;// CONCATENATED MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
1342
|
+
const external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject = require("vue");
|
|
1343
|
+
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject);
|
|
1383
1344
|
;// CONCATENATED MODULE: ./common/utils.js
|
|
1384
1345
|
|
|
1385
1346
|
|
|
@@ -1514,6 +1475,251 @@ const pascalCaseToKebabCase = string => {
|
|
|
1514
1475
|
flushPromises,
|
|
1515
1476
|
kebabCaseToPascalCase
|
|
1516
1477
|
});
|
|
1478
|
+
;// 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&
|
|
1479
|
+
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:{
|
|
1480
|
+
'd-presence__inner--active': _vm.presence === 'active',
|
|
1481
|
+
'd-presence__inner--away': _vm.presence === 'away',
|
|
1482
|
+
'd-presence__inner--busy': _vm.presence === 'busy',
|
|
1483
|
+
'd-presence__inner--offline': _vm.presence === 'offline',
|
|
1484
|
+
}})])}
|
|
1485
|
+
var presencevue_type_template_id_30834c22_staticRenderFns = []
|
|
1486
|
+
|
|
1487
|
+
|
|
1488
|
+
;// CONCATENATED MODULE: ./components/presence/presence_constants.js
|
|
1489
|
+
const PRESENCE_STATES = {
|
|
1490
|
+
BUSY: 'busy',
|
|
1491
|
+
AWAY: 'away',
|
|
1492
|
+
OFFLINE: 'offline',
|
|
1493
|
+
ACTIVE: 'active'
|
|
1494
|
+
};
|
|
1495
|
+
const PRESENCE_STATES_LIST = [PRESENCE_STATES.BUSY, PRESENCE_STATES.AWAY, PRESENCE_STATES.OFFLINE, PRESENCE_STATES.ACTIVE];
|
|
1496
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/presence/presence.vue?vue&type=script&lang=js&
|
|
1497
|
+
//
|
|
1498
|
+
//
|
|
1499
|
+
//
|
|
1500
|
+
//
|
|
1501
|
+
//
|
|
1502
|
+
//
|
|
1503
|
+
//
|
|
1504
|
+
//
|
|
1505
|
+
//
|
|
1506
|
+
//
|
|
1507
|
+
//
|
|
1508
|
+
//
|
|
1509
|
+
//
|
|
1510
|
+
//
|
|
1511
|
+
//
|
|
1512
|
+
//
|
|
1513
|
+
//
|
|
1514
|
+
//
|
|
1515
|
+
//
|
|
1516
|
+
//
|
|
1517
|
+
//
|
|
1518
|
+
//
|
|
1519
|
+
//
|
|
1520
|
+
//
|
|
1521
|
+
|
|
1522
|
+
/**
|
|
1523
|
+
* Presence is a user status visual indicator element.
|
|
1524
|
+
* @see https://dialpad.design/components/presence.html
|
|
1525
|
+
*/
|
|
1526
|
+
|
|
1527
|
+
/* harmony default export */ const presencevue_type_script_lang_js_ = ({
|
|
1528
|
+
name: 'Presence',
|
|
1529
|
+
props: {
|
|
1530
|
+
/**
|
|
1531
|
+
* Determines the color of the inner presence circle, indicating status.
|
|
1532
|
+
* Accepts one of 4 values: 'busy', 'away', 'active', 'offline'
|
|
1533
|
+
*/
|
|
1534
|
+
presence: {
|
|
1535
|
+
type: String,
|
|
1536
|
+
default: PRESENCE_STATES.ACTIVE,
|
|
1537
|
+
validator: role => {
|
|
1538
|
+
return PRESENCE_STATES_LIST.includes(role);
|
|
1539
|
+
}
|
|
1540
|
+
},
|
|
1541
|
+
|
|
1542
|
+
/**
|
|
1543
|
+
* Since Presence is a visual element, we need SRs to read out any state changes
|
|
1544
|
+
* that occur.
|
|
1545
|
+
* Text entered here will be read by assistive technology. If null this component will be ignored by AT.
|
|
1546
|
+
*/
|
|
1547
|
+
srText: {
|
|
1548
|
+
type: String,
|
|
1549
|
+
default: null
|
|
1550
|
+
}
|
|
1551
|
+
}
|
|
1552
|
+
});
|
|
1553
|
+
;// CONCATENATED MODULE: ./components/presence/presence.vue?vue&type=script&lang=js&
|
|
1554
|
+
/* harmony default export */ const presence_presencevue_type_script_lang_js_ = (presencevue_type_script_lang_js_);
|
|
1555
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
1556
|
+
/* globals __VUE_SSR_CONTEXT__ */
|
|
1557
|
+
|
|
1558
|
+
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
1559
|
+
// This module is a runtime utility for cleaner component module output and will
|
|
1560
|
+
// be included in the final webpack user bundle.
|
|
1561
|
+
|
|
1562
|
+
function normalizeComponent (
|
|
1563
|
+
scriptExports,
|
|
1564
|
+
render,
|
|
1565
|
+
staticRenderFns,
|
|
1566
|
+
functionalTemplate,
|
|
1567
|
+
injectStyles,
|
|
1568
|
+
scopeId,
|
|
1569
|
+
moduleIdentifier, /* server only */
|
|
1570
|
+
shadowMode /* vue-cli only */
|
|
1571
|
+
) {
|
|
1572
|
+
// Vue.extend constructor export interop
|
|
1573
|
+
var options = typeof scriptExports === 'function'
|
|
1574
|
+
? scriptExports.options
|
|
1575
|
+
: scriptExports
|
|
1576
|
+
|
|
1577
|
+
// render functions
|
|
1578
|
+
if (render) {
|
|
1579
|
+
options.render = render
|
|
1580
|
+
options.staticRenderFns = staticRenderFns
|
|
1581
|
+
options._compiled = true
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
// functional template
|
|
1585
|
+
if (functionalTemplate) {
|
|
1586
|
+
options.functional = true
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
// scopedId
|
|
1590
|
+
if (scopeId) {
|
|
1591
|
+
options._scopeId = 'data-v-' + scopeId
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
var hook
|
|
1595
|
+
if (moduleIdentifier) { // server build
|
|
1596
|
+
hook = function (context) {
|
|
1597
|
+
// 2.3 injection
|
|
1598
|
+
context =
|
|
1599
|
+
context || // cached call
|
|
1600
|
+
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
1601
|
+
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
1602
|
+
// 2.2 with runInNewContext: true
|
|
1603
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
1604
|
+
context = __VUE_SSR_CONTEXT__
|
|
1605
|
+
}
|
|
1606
|
+
// inject component styles
|
|
1607
|
+
if (injectStyles) {
|
|
1608
|
+
injectStyles.call(this, context)
|
|
1609
|
+
}
|
|
1610
|
+
// register component module identifier for async chunk inferrence
|
|
1611
|
+
if (context && context._registeredComponents) {
|
|
1612
|
+
context._registeredComponents.add(moduleIdentifier)
|
|
1613
|
+
}
|
|
1614
|
+
}
|
|
1615
|
+
// used by ssr in case component is cached and beforeCreate
|
|
1616
|
+
// never gets called
|
|
1617
|
+
options._ssrRegister = hook
|
|
1618
|
+
} else if (injectStyles) {
|
|
1619
|
+
hook = shadowMode
|
|
1620
|
+
? function () {
|
|
1621
|
+
injectStyles.call(
|
|
1622
|
+
this,
|
|
1623
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
1624
|
+
)
|
|
1625
|
+
}
|
|
1626
|
+
: injectStyles
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
if (hook) {
|
|
1630
|
+
if (options.functional) {
|
|
1631
|
+
// for template-only hot-reload because in that case the render fn doesn't
|
|
1632
|
+
// go through the normalizer
|
|
1633
|
+
options._injectStyles = hook
|
|
1634
|
+
// register for functional component in vue file
|
|
1635
|
+
var originalRender = options.render
|
|
1636
|
+
options.render = function renderWithStyleInjection (h, context) {
|
|
1637
|
+
hook.call(context)
|
|
1638
|
+
return originalRender(h, context)
|
|
1639
|
+
}
|
|
1640
|
+
} else {
|
|
1641
|
+
// inject component registration as beforeCreate hook
|
|
1642
|
+
var existing = options.beforeCreate
|
|
1643
|
+
options.beforeCreate = existing
|
|
1644
|
+
? [].concat(existing, hook)
|
|
1645
|
+
: [hook]
|
|
1646
|
+
}
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1649
|
+
return {
|
|
1650
|
+
exports: scriptExports,
|
|
1651
|
+
options: options
|
|
1652
|
+
}
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1655
|
+
;// CONCATENATED MODULE: ./components/presence/presence.vue
|
|
1656
|
+
|
|
1657
|
+
|
|
1658
|
+
|
|
1659
|
+
|
|
1660
|
+
|
|
1661
|
+
/* normalize component */
|
|
1662
|
+
;
|
|
1663
|
+
var component = normalizeComponent(
|
|
1664
|
+
presence_presencevue_type_script_lang_js_,
|
|
1665
|
+
presencevue_type_template_id_30834c22_render,
|
|
1666
|
+
presencevue_type_template_id_30834c22_staticRenderFns,
|
|
1667
|
+
false,
|
|
1668
|
+
null,
|
|
1669
|
+
null,
|
|
1670
|
+
null
|
|
1671
|
+
|
|
1672
|
+
)
|
|
1673
|
+
|
|
1674
|
+
/* harmony default export */ const presence = (component.exports);
|
|
1675
|
+
;// CONCATENATED MODULE: ./components/presence/index.js
|
|
1676
|
+
|
|
1677
|
+
|
|
1678
|
+
;// CONCATENATED MODULE: ./components/avatar/avatar_constants.js
|
|
1679
|
+
const AVATAR_KIND_MODIFIERS = {
|
|
1680
|
+
default: '',
|
|
1681
|
+
icon: 'd-avatar--icon',
|
|
1682
|
+
initials: 'd-avatar--initials'
|
|
1683
|
+
};
|
|
1684
|
+
const AVATAR_SIZE_MODIFIERS = {
|
|
1685
|
+
sm: 'd-avatar--sm',
|
|
1686
|
+
md: 'd-avatar--md',
|
|
1687
|
+
lg: 'd-avatar--lg'
|
|
1688
|
+
};
|
|
1689
|
+
const AVATAR_PRESENCE_SIZE_MODIFIERS = {
|
|
1690
|
+
md: 'd-avatar__presence--md',
|
|
1691
|
+
lg: 'd-avatar__presence--lg'
|
|
1692
|
+
};
|
|
1693
|
+
const AVATAR_COLOR_MODIFIERS = {
|
|
1694
|
+
base: '',
|
|
1695
|
+
'orange-200': 'd-avatar--orange-200',
|
|
1696
|
+
'orange-300': 'd-avatar--orange-300',
|
|
1697
|
+
'orange-400': 'd-avatar--orange-400',
|
|
1698
|
+
'orange-500': 'd-avatar--orange-500',
|
|
1699
|
+
'magenta-100': 'd-avatar--magenta-100',
|
|
1700
|
+
'magenta-200': 'd-avatar--magenta-200',
|
|
1701
|
+
'magenta-300': 'd-avatar--magenta-300',
|
|
1702
|
+
'magenta-400': 'd-avatar--magenta-400',
|
|
1703
|
+
'purple-200': 'd-avatar--purple-200',
|
|
1704
|
+
'purple-300': 'd-avatar--purple-300',
|
|
1705
|
+
'purple-400': 'd-avatar--purple-400',
|
|
1706
|
+
'purple-500': 'd-avatar--purple-500',
|
|
1707
|
+
'gold-100': 'd-avatar--gold-100',
|
|
1708
|
+
'gold-200': 'd-avatar--gold-200',
|
|
1709
|
+
'gold-300': 'd-avatar--gold-300',
|
|
1710
|
+
'gold-500': 'd-avatar--gold-500'
|
|
1711
|
+
};
|
|
1712
|
+
const AVATAR_ICON_SIZES = {
|
|
1713
|
+
sm: '200',
|
|
1714
|
+
md: '400',
|
|
1715
|
+
lg: '500'
|
|
1716
|
+
};
|
|
1717
|
+
/* harmony default export */ const avatar_constants = ({
|
|
1718
|
+
AVATAR_KIND_MODIFIERS,
|
|
1719
|
+
AVATAR_SIZE_MODIFIERS,
|
|
1720
|
+
AVATAR_COLOR_MODIFIERS,
|
|
1721
|
+
AVATAR_ICON_SIZES
|
|
1722
|
+
});
|
|
1517
1723
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/avatar/avatar.vue?vue&type=script&lang=js&
|
|
1518
1724
|
//
|
|
1519
1725
|
//
|
|
@@ -1532,6 +1738,17 @@ const pascalCaseToKebabCase = string => {
|
|
|
1532
1738
|
//
|
|
1533
1739
|
//
|
|
1534
1740
|
//
|
|
1741
|
+
//
|
|
1742
|
+
//
|
|
1743
|
+
//
|
|
1744
|
+
//
|
|
1745
|
+
//
|
|
1746
|
+
//
|
|
1747
|
+
//
|
|
1748
|
+
//
|
|
1749
|
+
//
|
|
1750
|
+
//
|
|
1751
|
+
|
|
1535
1752
|
|
|
1536
1753
|
|
|
1537
1754
|
|
|
@@ -1542,6 +1759,9 @@ const pascalCaseToKebabCase = string => {
|
|
|
1542
1759
|
|
|
1543
1760
|
/* harmony default export */ const avatarvue_type_script_lang_js_ = ({
|
|
1544
1761
|
name: 'DtAvatar',
|
|
1762
|
+
components: {
|
|
1763
|
+
DtPresence: presence
|
|
1764
|
+
},
|
|
1545
1765
|
inheritAttrs: false,
|
|
1546
1766
|
props: {
|
|
1547
1767
|
/**
|
|
@@ -1586,6 +1806,24 @@ const pascalCaseToKebabCase = string => {
|
|
|
1586
1806
|
avatarClass: {
|
|
1587
1807
|
type: [String, Array, Object],
|
|
1588
1808
|
default: ''
|
|
1809
|
+
},
|
|
1810
|
+
|
|
1811
|
+
/**
|
|
1812
|
+
* Determines whether to show the presence indicator for
|
|
1813
|
+
* Avatar - accepts PRESENCE_STATES values: 'busy', 'away', 'offline',
|
|
1814
|
+
* or 'active'. By default, it's null and nothing is shown.
|
|
1815
|
+
*/
|
|
1816
|
+
presence: {
|
|
1817
|
+
type: String,
|
|
1818
|
+
default: null
|
|
1819
|
+
},
|
|
1820
|
+
|
|
1821
|
+
/**
|
|
1822
|
+
* A set of props to be passed into the presence component.
|
|
1823
|
+
*/
|
|
1824
|
+
presenceProps: {
|
|
1825
|
+
type: Object,
|
|
1826
|
+
default: () => ({})
|
|
1589
1827
|
}
|
|
1590
1828
|
},
|
|
1591
1829
|
|
|
@@ -1595,7 +1833,8 @@ const pascalCaseToKebabCase = string => {
|
|
|
1595
1833
|
kind: 'initials',
|
|
1596
1834
|
AVATAR_SIZE_MODIFIERS: AVATAR_SIZE_MODIFIERS,
|
|
1597
1835
|
AVATAR_COLOR_MODIFIERS: AVATAR_COLOR_MODIFIERS,
|
|
1598
|
-
AVATAR_KIND_MODIFIERS: AVATAR_KIND_MODIFIERS
|
|
1836
|
+
AVATAR_KIND_MODIFIERS: AVATAR_KIND_MODIFIERS,
|
|
1837
|
+
AVATAR_PRESENCE_SIZE_MODIFIERS: AVATAR_PRESENCE_SIZE_MODIFIERS
|
|
1599
1838
|
};
|
|
1600
1839
|
},
|
|
1601
1840
|
|
|
@@ -1656,106 +1895,6 @@ const pascalCaseToKebabCase = string => {
|
|
|
1656
1895
|
});
|
|
1657
1896
|
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=script&lang=js&
|
|
1658
1897
|
/* harmony default export */ const avatar_avatarvue_type_script_lang_js_ = (avatarvue_type_script_lang_js_);
|
|
1659
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
1660
|
-
/* globals __VUE_SSR_CONTEXT__ */
|
|
1661
|
-
|
|
1662
|
-
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
1663
|
-
// This module is a runtime utility for cleaner component module output and will
|
|
1664
|
-
// be included in the final webpack user bundle.
|
|
1665
|
-
|
|
1666
|
-
function normalizeComponent (
|
|
1667
|
-
scriptExports,
|
|
1668
|
-
render,
|
|
1669
|
-
staticRenderFns,
|
|
1670
|
-
functionalTemplate,
|
|
1671
|
-
injectStyles,
|
|
1672
|
-
scopeId,
|
|
1673
|
-
moduleIdentifier, /* server only */
|
|
1674
|
-
shadowMode /* vue-cli only */
|
|
1675
|
-
) {
|
|
1676
|
-
// Vue.extend constructor export interop
|
|
1677
|
-
var options = typeof scriptExports === 'function'
|
|
1678
|
-
? scriptExports.options
|
|
1679
|
-
: scriptExports
|
|
1680
|
-
|
|
1681
|
-
// render functions
|
|
1682
|
-
if (render) {
|
|
1683
|
-
options.render = render
|
|
1684
|
-
options.staticRenderFns = staticRenderFns
|
|
1685
|
-
options._compiled = true
|
|
1686
|
-
}
|
|
1687
|
-
|
|
1688
|
-
// functional template
|
|
1689
|
-
if (functionalTemplate) {
|
|
1690
|
-
options.functional = true
|
|
1691
|
-
}
|
|
1692
|
-
|
|
1693
|
-
// scopedId
|
|
1694
|
-
if (scopeId) {
|
|
1695
|
-
options._scopeId = 'data-v-' + scopeId
|
|
1696
|
-
}
|
|
1697
|
-
|
|
1698
|
-
var hook
|
|
1699
|
-
if (moduleIdentifier) { // server build
|
|
1700
|
-
hook = function (context) {
|
|
1701
|
-
// 2.3 injection
|
|
1702
|
-
context =
|
|
1703
|
-
context || // cached call
|
|
1704
|
-
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
1705
|
-
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
1706
|
-
// 2.2 with runInNewContext: true
|
|
1707
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
1708
|
-
context = __VUE_SSR_CONTEXT__
|
|
1709
|
-
}
|
|
1710
|
-
// inject component styles
|
|
1711
|
-
if (injectStyles) {
|
|
1712
|
-
injectStyles.call(this, context)
|
|
1713
|
-
}
|
|
1714
|
-
// register component module identifier for async chunk inferrence
|
|
1715
|
-
if (context && context._registeredComponents) {
|
|
1716
|
-
context._registeredComponents.add(moduleIdentifier)
|
|
1717
|
-
}
|
|
1718
|
-
}
|
|
1719
|
-
// used by ssr in case component is cached and beforeCreate
|
|
1720
|
-
// never gets called
|
|
1721
|
-
options._ssrRegister = hook
|
|
1722
|
-
} else if (injectStyles) {
|
|
1723
|
-
hook = shadowMode
|
|
1724
|
-
? function () {
|
|
1725
|
-
injectStyles.call(
|
|
1726
|
-
this,
|
|
1727
|
-
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
1728
|
-
)
|
|
1729
|
-
}
|
|
1730
|
-
: injectStyles
|
|
1731
|
-
}
|
|
1732
|
-
|
|
1733
|
-
if (hook) {
|
|
1734
|
-
if (options.functional) {
|
|
1735
|
-
// for template-only hot-reload because in that case the render fn doesn't
|
|
1736
|
-
// go through the normalizer
|
|
1737
|
-
options._injectStyles = hook
|
|
1738
|
-
// register for functional component in vue file
|
|
1739
|
-
var originalRender = options.render
|
|
1740
|
-
options.render = function renderWithStyleInjection (h, context) {
|
|
1741
|
-
hook.call(context)
|
|
1742
|
-
return originalRender(h, context)
|
|
1743
|
-
}
|
|
1744
|
-
} else {
|
|
1745
|
-
// inject component registration as beforeCreate hook
|
|
1746
|
-
var existing = options.beforeCreate
|
|
1747
|
-
options.beforeCreate = existing
|
|
1748
|
-
? [].concat(existing, hook)
|
|
1749
|
-
: [hook]
|
|
1750
|
-
}
|
|
1751
|
-
}
|
|
1752
|
-
|
|
1753
|
-
return {
|
|
1754
|
-
exports: scriptExports,
|
|
1755
|
-
options: options
|
|
1756
|
-
}
|
|
1757
|
-
}
|
|
1758
|
-
|
|
1759
1898
|
;// CONCATENATED MODULE: ./components/avatar/avatar.vue
|
|
1760
1899
|
|
|
1761
1900
|
|
|
@@ -1764,7 +1903,7 @@ function normalizeComponent (
|
|
|
1764
1903
|
|
|
1765
1904
|
/* normalize component */
|
|
1766
1905
|
;
|
|
1767
|
-
var
|
|
1906
|
+
var avatar_component = normalizeComponent(
|
|
1768
1907
|
avatar_avatarvue_type_script_lang_js_,
|
|
1769
1908
|
render,
|
|
1770
1909
|
staticRenderFns,
|
|
@@ -1775,7 +1914,7 @@ var component = normalizeComponent(
|
|
|
1775
1914
|
|
|
1776
1915
|
)
|
|
1777
1916
|
|
|
1778
|
-
/* harmony default export */ const avatar = (
|
|
1917
|
+
/* harmony default export */ const avatar = (avatar_component.exports);
|
|
1779
1918
|
;// CONCATENATED MODULE: ./components/avatar/index.js
|
|
1780
1919
|
|
|
1781
1920
|
|
|
@@ -20016,9 +20155,9 @@ var combobox_multi_select_component = normalizeComponent(
|
|
|
20016
20155
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/index.js
|
|
20017
20156
|
|
|
20018
20157
|
|
|
20019
|
-
;// 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=
|
|
20020
|
-
var
|
|
20021
|
-
var
|
|
20158
|
+
;// 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&
|
|
20159
|
+
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)}
|
|
20160
|
+
var callbar_buttonvue_type_template_id_739cffb4_staticRenderFns = []
|
|
20022
20161
|
|
|
20023
20162
|
|
|
20024
20163
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/buttons/callbar_button/callbar_button.vue?vue&type=script&lang=js&
|
|
@@ -20170,8 +20309,8 @@ var callbar_buttonvue_type_style_index_0_lang_less_ = __webpack_require__(736);
|
|
|
20170
20309
|
|
|
20171
20310
|
var callbar_button_component = normalizeComponent(
|
|
20172
20311
|
callbar_button_callbar_buttonvue_type_script_lang_js_,
|
|
20173
|
-
|
|
20174
|
-
|
|
20312
|
+
callbar_buttonvue_type_template_id_739cffb4_render,
|
|
20313
|
+
callbar_buttonvue_type_template_id_739cffb4_staticRenderFns,
|
|
20175
20314
|
false,
|
|
20176
20315
|
null,
|
|
20177
20316
|
null,
|