@dialpad/dialtone-vue 2.38.0 → 2.40.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 +331 -165
- package/dist/dialtone-vue.umd.js +331 -165
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/package.json +3 -3
|
@@ -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=8203a6da&
|
|
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
|
|
|
@@ -1603,6 +1842,11 @@ const pascalCaseToKebabCase = string => {
|
|
|
1603
1842
|
|
|
1604
1843
|
if (firstChild) {
|
|
1605
1844
|
this.setKind(firstChild);
|
|
1845
|
+
|
|
1846
|
+
if (this.kind === 'image') {
|
|
1847
|
+
firstChild.classList.add('d-avatar__image');
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1606
1850
|
this.validateImageAttrsPresence();
|
|
1607
1851
|
}
|
|
1608
1852
|
},
|
|
@@ -1646,106 +1890,6 @@ const pascalCaseToKebabCase = string => {
|
|
|
1646
1890
|
});
|
|
1647
1891
|
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=script&lang=js&
|
|
1648
1892
|
/* 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
1893
|
;// CONCATENATED MODULE: ./components/avatar/avatar.vue
|
|
1750
1894
|
|
|
1751
1895
|
|
|
@@ -1754,7 +1898,7 @@ function normalizeComponent (
|
|
|
1754
1898
|
|
|
1755
1899
|
/* normalize component */
|
|
1756
1900
|
;
|
|
1757
|
-
var
|
|
1901
|
+
var avatar_component = normalizeComponent(
|
|
1758
1902
|
avatar_avatarvue_type_script_lang_js_,
|
|
1759
1903
|
render,
|
|
1760
1904
|
staticRenderFns,
|
|
@@ -1765,7 +1909,7 @@ var component = normalizeComponent(
|
|
|
1765
1909
|
|
|
1766
1910
|
)
|
|
1767
1911
|
|
|
1768
|
-
/* harmony default export */ const avatar = (
|
|
1912
|
+
/* harmony default export */ const avatar = (avatar_component.exports);
|
|
1769
1913
|
;// CONCATENATED MODULE: ./components/avatar/index.js
|
|
1770
1914
|
|
|
1771
1915
|
|
|
@@ -3772,9 +3916,9 @@ var card_component = normalizeComponent(
|
|
|
3772
3916
|
/* harmony default export */ const card = (card_component.exports);
|
|
3773
3917
|
;// CONCATENATED MODULE: ./components/card/index.js
|
|
3774
3918
|
|
|
3775
|
-
;// 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/combobox/combobox.vue?vue&type=template&id=
|
|
3776
|
-
var
|
|
3777
|
-
var
|
|
3919
|
+
;// 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/combobox/combobox.vue?vue&type=template&id=66a9d4d5&
|
|
3920
|
+
var comboboxvue_type_template_id_66a9d4d5_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{on:{"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"esc",27,$event.key,["Esc","Escape"])){ return null; }$event.stopPropagation();return _vm.onKeyValidation($event, 'onEscapeKey')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }if($event.ctrlKey||$event.shiftKey||$event.altKey||$event.metaKey){ return null; }return _vm.onKeyValidation($event, 'onEnterKey')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"up",38,$event.key,["Up","ArrowUp"])){ return null; }$event.stopPropagation();$event.preventDefault();return _vm.onKeyValidation($event, 'onUpKey')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"down",40,$event.key,["Down","ArrowDown"])){ return null; }$event.stopPropagation();$event.preventDefault();return _vm.onKeyValidation($event, 'onDownKey')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"home",undefined,$event.key,undefined)){ return null; }$event.stopPropagation();$event.preventDefault();return _vm.onKeyValidation($event, 'onHomeKey')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"end",undefined,$event.key,undefined)){ return null; }$event.stopPropagation();$event.preventDefault();return _vm.onKeyValidation($event, 'onEndKey')}]}},[_c('div',{attrs:{"data-qa":"dt-combobox-input-wrapper"}},[_vm._t("input",null,{"inputProps":_vm.inputProps})],2),(_vm.showList)?_c('div',{ref:"listWrapper",attrs:{"data-qa":"dt-combobox-list-wrapper"},on:{"mouseleave":_vm.clearHighlightIndex,"focusout":_vm.clearHighlightIndex,"!mousemove":function($event){return _vm.onMouseHighlight.apply(null, arguments)}}},[(_vm.loading && !_vm.listRenderedOutside)?_c('combobox-loading-list',_vm._b({},'combobox-loading-list',_vm.listProps,false)):(_vm.emptyList && (_vm.emptyStateMessage || _vm.$slots.emptyListItem) && !_vm.listRenderedOutside)?_c('combobox-empty-list',_vm._b({attrs:{"message":_vm.emptyStateMessage,"item-class":_vm.emptyStateClass}},'combobox-empty-list',_vm.listProps,false),[_vm._t("emptyListItem")],2):_vm._t("list",null,{"listProps":_vm.listProps,"opened":_vm.onOpen,"clearHighlightIndex":_vm.clearHighlightIndex})],2):_vm._e()])}
|
|
3921
|
+
var comboboxvue_type_template_id_66a9d4d5_staticRenderFns = []
|
|
3778
3922
|
|
|
3779
3923
|
|
|
3780
3924
|
;// CONCATENATED MODULE: ./common/mixins/dom.js
|
|
@@ -5720,6 +5864,16 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
5720
5864
|
emptyStateClass: {
|
|
5721
5865
|
type: [String, Object, Array],
|
|
5722
5866
|
default: ''
|
|
5867
|
+
},
|
|
5868
|
+
|
|
5869
|
+
/**
|
|
5870
|
+
* Programmatically click on the active list item element when a selection
|
|
5871
|
+
* comes from keyboard navigation, i.e. pressing the "Enter" key.
|
|
5872
|
+
* @values true, false
|
|
5873
|
+
*/
|
|
5874
|
+
clickOnSelect: {
|
|
5875
|
+
type: Boolean,
|
|
5876
|
+
default: false
|
|
5723
5877
|
}
|
|
5724
5878
|
},
|
|
5725
5879
|
emits: [
|
|
@@ -5872,6 +6026,12 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
5872
6026
|
|
|
5873
6027
|
if (this.highlightIndex >= 0) {
|
|
5874
6028
|
this.$emit('select', this.highlightIndex);
|
|
6029
|
+
|
|
6030
|
+
if (this.clickOnSelect) {
|
|
6031
|
+
var _this$activeItemEl;
|
|
6032
|
+
|
|
6033
|
+
(_this$activeItemEl = this.activeItemEl) === null || _this$activeItemEl === void 0 ? void 0 : _this$activeItemEl.click();
|
|
6034
|
+
}
|
|
5875
6035
|
}
|
|
5876
6036
|
},
|
|
5877
6037
|
|
|
@@ -5930,8 +6090,8 @@ var combobox_empty_list_component = normalizeComponent(
|
|
|
5930
6090
|
;
|
|
5931
6091
|
var combobox_component = normalizeComponent(
|
|
5932
6092
|
combobox_comboboxvue_type_script_lang_js_,
|
|
5933
|
-
|
|
5934
|
-
|
|
6093
|
+
comboboxvue_type_template_id_66a9d4d5_render,
|
|
6094
|
+
comboboxvue_type_template_id_66a9d4d5_staticRenderFns,
|
|
5935
6095
|
false,
|
|
5936
6096
|
null,
|
|
5937
6097
|
null,
|
|
@@ -18539,9 +18699,9 @@ var keyboard_shortcut_component = normalizeComponent(
|
|
|
18539
18699
|
;// CONCATENATED MODULE: ./components/keyboard_shortcut/index.js
|
|
18540
18700
|
|
|
18541
18701
|
|
|
18542
|
-
;// 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/root_layout/root_layout.vue?vue&type=template&id=
|
|
18543
|
-
var
|
|
18544
|
-
var
|
|
18702
|
+
;// 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/root_layout/root_layout.vue?vue&type=template&id=1a7774b2&
|
|
18703
|
+
var root_layoutvue_type_template_id_1a7774b2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"root-layout"},[(_vm.$slots.header)?_c('header',{class:['root-layout__header', _vm.headerClass, { 'root-layout__header--sticky': _vm.headerSticky }],style:({ 'height': _vm.headerHeight }),attrs:{"data-qa":"root-layout-header"}},[_vm._t("header")],2):_vm._e(),_c('dt-root-layout-body',{attrs:{"body-class":_vm.bodyClass,"content-class":_vm.contentClass,"content-wrap-width-percent":_vm.contentWrapWidthPercent,"sidebar-class":_vm.sidebarClass,"sidebar-width":_vm.sidebarWidth,"sidebar-position":_vm.sidebarPosition},scopedSlots:_vm._u([(_vm.$slots.sidebar)?{key:"sidebar",fn:function(){return [_vm._t("sidebar")]},proxy:true}:null,(_vm.$slots.default)?{key:"content",fn:function(){return [_vm._t("default")]},proxy:true}:null],null,true)}),(_vm.$slots.footer)?_c('footer',{class:['root-layout__footer', _vm.footerClass],style:({ 'height': _vm.footerHeight }),attrs:{"data-qa":"root-layout-footer"}},[_vm._t("footer")],2):_vm._e()],1)}
|
|
18704
|
+
var root_layoutvue_type_template_id_1a7774b2_staticRenderFns = []
|
|
18545
18705
|
|
|
18546
18706
|
|
|
18547
18707
|
;// 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/root_layout/root_layout_body.vue?vue&type=template&id=fa742994&
|
|
@@ -18718,6 +18878,12 @@ var root_layout_body_component = normalizeComponent(
|
|
|
18718
18878
|
//
|
|
18719
18879
|
//
|
|
18720
18880
|
//
|
|
18881
|
+
//
|
|
18882
|
+
//
|
|
18883
|
+
//
|
|
18884
|
+
//
|
|
18885
|
+
//
|
|
18886
|
+
//
|
|
18721
18887
|
|
|
18722
18888
|
|
|
18723
18889
|
/**
|
|
@@ -18846,8 +19012,8 @@ var root_layoutvue_type_style_index_0_lang_less_ = __webpack_require__(426);
|
|
|
18846
19012
|
|
|
18847
19013
|
var root_layout_component = normalizeComponent(
|
|
18848
19014
|
root_layout_root_layoutvue_type_script_lang_js_,
|
|
18849
|
-
|
|
18850
|
-
|
|
19015
|
+
root_layoutvue_type_template_id_1a7774b2_render,
|
|
19016
|
+
root_layoutvue_type_template_id_1a7774b2_staticRenderFns,
|
|
18851
19017
|
false,
|
|
18852
19018
|
null,
|
|
18853
19019
|
null,
|
|
@@ -20006,9 +20172,9 @@ var combobox_multi_select_component = normalizeComponent(
|
|
|
20006
20172
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/index.js
|
|
20007
20173
|
|
|
20008
20174
|
|
|
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
|
|
20175
|
+
;// 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&
|
|
20176
|
+
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)}
|
|
20177
|
+
var callbar_buttonvue_type_template_id_739cffb4_staticRenderFns = []
|
|
20012
20178
|
|
|
20013
20179
|
|
|
20014
20180
|
;// 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 +20326,8 @@ var callbar_buttonvue_type_style_index_0_lang_less_ = __webpack_require__(759);
|
|
|
20160
20326
|
|
|
20161
20327
|
var callbar_button_component = normalizeComponent(
|
|
20162
20328
|
callbar_button_callbar_buttonvue_type_script_lang_js_,
|
|
20163
|
-
|
|
20164
|
-
|
|
20329
|
+
callbar_buttonvue_type_template_id_739cffb4_render,
|
|
20330
|
+
callbar_buttonvue_type_template_id_739cffb4_staticRenderFns,
|
|
20165
20331
|
false,
|
|
20166
20332
|
null,
|
|
20167
20333
|
null,
|