@dialpad/dialtone-vue 3.28.0 → 3.29.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 +209 -149
- package/dist/dialtone-vue.umd.js +209 -149
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/dist/emoji.common.js +0 -8
- package/dist/emoji.umd.js +0 -8
- package/dist/emoji.umd.min.js +1 -1
- package/package.json +3 -3
package/dist/dialtone-vue.umd.js
CHANGED
|
@@ -1143,7 +1143,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1143
1143
|
"AVATAR_COLOR_MODIFIERS": () => (/* reexport */ AVATAR_COLOR_MODIFIERS),
|
|
1144
1144
|
"AVATAR_KIND_MODIFIERS": () => (/* reexport */ AVATAR_KIND_MODIFIERS),
|
|
1145
1145
|
"AVATAR_SIZE_MODIFIERS": () => (/* reexport */ AVATAR_SIZE_MODIFIERS),
|
|
1146
|
-
"
|
|
1146
|
+
"BADGE_KIND_MODIFIERS": () => (/* reexport */ BADGE_KIND_MODIFIERS),
|
|
1147
|
+
"BADGE_TYPE_MODIFIERS": () => (/* reexport */ BADGE_TYPE_MODIFIERS),
|
|
1147
1148
|
"BREADCRUMBS_INVERTED_MODIFIER": () => (/* reexport */ BREADCRUMBS_INVERTED_MODIFIER),
|
|
1148
1149
|
"BREADCRUMB_ITEM_SELECTED_MODIFIER": () => (/* reexport */ BREADCRUMB_ITEM_SELECTED_MODIFIER),
|
|
1149
1150
|
"BUTTON_GROUP_ALIGNMENT": () => (/* reexport */ BUTTON_GROUP_ALIGNMENT),
|
|
@@ -1781,36 +1782,154 @@ const avatar_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(avatarvue_t
|
|
|
1781
1782
|
;// CONCATENATED MODULE: ./components/avatar/index.js
|
|
1782
1783
|
|
|
1783
1784
|
|
|
1784
|
-
;// 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/badge/badge.vue?vue&type=template&id=
|
|
1785
|
+
;// 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/badge/badge.vue?vue&type=template&id=741d001d
|
|
1786
|
+
|
|
1787
|
+
const badgevue_type_template_id_741d001d_hoisted_1 = {
|
|
1788
|
+
key: 0,
|
|
1789
|
+
class: "d-badge__icon-left"
|
|
1790
|
+
};
|
|
1791
|
+
const badgevue_type_template_id_741d001d_hoisted_2 = {
|
|
1792
|
+
class: "d-badge__label"
|
|
1793
|
+
};
|
|
1794
|
+
const _hoisted_3 = {
|
|
1795
|
+
key: 1,
|
|
1796
|
+
class: "d-badge__icon-right"
|
|
1797
|
+
};
|
|
1798
|
+
function badgevue_type_template_id_741d001d_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1799
|
+
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
1785
1800
|
|
|
1786
|
-
function badgevue_type_template_id_fea57e1e_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1787
1801
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", {
|
|
1788
|
-
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-badge', $data.
|
|
1802
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-badge', $data.BADGE_TYPE_MODIFIERS[$props.type], $data.BADGE_KIND_MODIFIERS[$props.kind]]),
|
|
1789
1803
|
"data-qa": "dt-badge"
|
|
1790
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.
|
|
1804
|
+
}, [$props.iconLeft || $props.type === 'ai' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", badgevue_type_template_id_741d001d_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_icon, {
|
|
1805
|
+
name: $props.iconLeft || 'dialpad-ai',
|
|
1806
|
+
size: "200"
|
|
1807
|
+
}, null, 8, ["name"])])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("span", badgevue_type_template_id_741d001d_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default", {}, () => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.text), 1)])]), $props.iconRight ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", _hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_icon, {
|
|
1808
|
+
name: $props.iconRight,
|
|
1809
|
+
size: "200"
|
|
1810
|
+
}, null, 8, ["name"])])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 2);
|
|
1791
1811
|
}
|
|
1792
|
-
;// CONCATENATED MODULE: ./components/badge/badge.vue?vue&type=template&id=
|
|
1812
|
+
;// CONCATENATED MODULE: ./components/badge/badge.vue?vue&type=template&id=741d001d
|
|
1793
1813
|
|
|
1794
1814
|
;// CONCATENATED MODULE: ./components/badge/badge_constants.js
|
|
1795
|
-
const
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1815
|
+
const BADGE_TYPE_MODIFIERS = {
|
|
1816
|
+
default: '',
|
|
1817
|
+
info: 'd-badge--info',
|
|
1818
|
+
success: 'd-badge--success',
|
|
1819
|
+
warning: 'd-badge--warning',
|
|
1820
|
+
critical: 'd-badge--critical',
|
|
1821
|
+
bulletin: 'd-badge--bulletin',
|
|
1822
|
+
ai: 'd-badge--ai'
|
|
1823
|
+
};
|
|
1824
|
+
const BADGE_KIND_MODIFIERS = {
|
|
1825
|
+
label: '',
|
|
1826
|
+
count: 'd-badge--count'
|
|
1827
|
+
};
|
|
1828
|
+
;// 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/icon/icon.vue?vue&type=template&id=0c7462d0
|
|
1829
|
+
|
|
1830
|
+
function iconvue_type_template_id_0c7462d0_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1831
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveDynamicComponent)($options.currentIcon), {
|
|
1832
|
+
"data-qa": "dt-icon",
|
|
1833
|
+
"aria-hidden": $props.ariaLabel ? 'false' : 'true',
|
|
1834
|
+
"aria-label": $props.ariaLabel,
|
|
1835
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.iconSize)
|
|
1836
|
+
}, null, 8, ["aria-hidden", "aria-label", "class"]);
|
|
1837
|
+
}
|
|
1838
|
+
;// CONCATENATED MODULE: ./components/icon/icon.vue?vue&type=template&id=0c7462d0
|
|
1839
|
+
|
|
1840
|
+
;// CONCATENATED MODULE: ./components/icon/icon_constants.js
|
|
1841
|
+
const ICON_SIZE_MODIFIERS = {
|
|
1842
|
+
100: 'd-icon--size-100',
|
|
1843
|
+
200: 'd-icon--size-200',
|
|
1844
|
+
300: 'd-icon--size-300',
|
|
1845
|
+
400: 'd-icon--size-400',
|
|
1846
|
+
500: 'd-icon--size-500',
|
|
1847
|
+
600: 'd-icon--size-600',
|
|
1848
|
+
700: 'd-icon--size-700',
|
|
1849
|
+
800: 'd-icon--size-800'
|
|
1811
1850
|
};
|
|
1851
|
+
/* harmony default export */ const icon_constants = ({
|
|
1852
|
+
ICON_SIZE_MODIFIERS
|
|
1853
|
+
});
|
|
1854
|
+
;// CONCATENATED MODULE: external "@dialpad/dialtone-icons"
|
|
1855
|
+
const dialtone_icons_namespaceObject = require("@dialpad/dialtone-icons");
|
|
1856
|
+
;// 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]!./components/icon/icon.vue?vue&type=script&lang=js
|
|
1857
|
+
|
|
1858
|
+
|
|
1859
|
+
|
|
1860
|
+
/**
|
|
1861
|
+
* The Icon component provides a set of glyphs and sizes to provide context your application.
|
|
1862
|
+
* @see https://dialpad.design/components/icon.html
|
|
1863
|
+
*/
|
|
1864
|
+
|
|
1865
|
+
/* harmony default export */ const iconvue_type_script_lang_js = ({
|
|
1866
|
+
name: 'DtIcon',
|
|
1867
|
+
props: {
|
|
1868
|
+
/**
|
|
1869
|
+
* The size of the icon.
|
|
1870
|
+
* @values 100, 200, 300, 400, 500, 600, 700, 800
|
|
1871
|
+
*/
|
|
1872
|
+
size: {
|
|
1873
|
+
type: String,
|
|
1874
|
+
default: '500',
|
|
1875
|
+
validator: s => Object.keys(ICON_SIZE_MODIFIERS).includes(s)
|
|
1876
|
+
},
|
|
1877
|
+
|
|
1878
|
+
/**
|
|
1879
|
+
* The icon name in kebab-case
|
|
1880
|
+
*/
|
|
1881
|
+
name: {
|
|
1882
|
+
type: String,
|
|
1883
|
+
required: true
|
|
1884
|
+
},
|
|
1885
|
+
|
|
1886
|
+
/**
|
|
1887
|
+
* The label of the icon as read out by a screenreader. Leave this unset if your icon is purely presentational
|
|
1888
|
+
*/
|
|
1889
|
+
ariaLabel: {
|
|
1890
|
+
type: String,
|
|
1891
|
+
default: undefined
|
|
1892
|
+
}
|
|
1893
|
+
},
|
|
1894
|
+
|
|
1895
|
+
data() {
|
|
1896
|
+
return {
|
|
1897
|
+
dialtoneIcons: dialtone_icons_namespaceObject
|
|
1898
|
+
};
|
|
1899
|
+
},
|
|
1900
|
+
|
|
1901
|
+
computed: {
|
|
1902
|
+
iconSize() {
|
|
1903
|
+
return ICON_SIZE_MODIFIERS[this.size];
|
|
1904
|
+
},
|
|
1905
|
+
|
|
1906
|
+
iconName() {
|
|
1907
|
+
return kebabCaseToPascalCase(this.name);
|
|
1908
|
+
},
|
|
1909
|
+
|
|
1910
|
+
currentIcon() {
|
|
1911
|
+
return this.dialtoneIcons[this.iconName];
|
|
1912
|
+
}
|
|
1913
|
+
|
|
1914
|
+
}
|
|
1915
|
+
});
|
|
1916
|
+
;// CONCATENATED MODULE: ./components/icon/icon.vue?vue&type=script&lang=js
|
|
1917
|
+
|
|
1918
|
+
;// CONCATENATED MODULE: ./components/icon/icon.vue
|
|
1919
|
+
|
|
1920
|
+
|
|
1921
|
+
|
|
1922
|
+
|
|
1923
|
+
;
|
|
1924
|
+
const icon_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(iconvue_type_script_lang_js, [['render',iconvue_type_template_id_0c7462d0_render]])
|
|
1925
|
+
|
|
1926
|
+
/* harmony default export */ const icon = (icon_exports_);
|
|
1927
|
+
;// CONCATENATED MODULE: ./components/icon/index.js
|
|
1928
|
+
|
|
1929
|
+
|
|
1812
1930
|
;// 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]!./components/badge/badge.vue?vue&type=script&lang=js
|
|
1813
1931
|
|
|
1932
|
+
|
|
1814
1933
|
/**
|
|
1815
1934
|
* A badge is a compact UI element that provides brief, descriptive information about an element.
|
|
1816
1935
|
* It is terse, ideally one word.
|
|
@@ -1819,7 +1938,29 @@ const BADGE_COLOR_MODIFIERS = {
|
|
|
1819
1938
|
|
|
1820
1939
|
/* harmony default export */ const badgevue_type_script_lang_js = ({
|
|
1821
1940
|
name: 'DtBadge',
|
|
1941
|
+
components: {
|
|
1942
|
+
DtIcon: icon
|
|
1943
|
+
},
|
|
1822
1944
|
props: {
|
|
1945
|
+
/**
|
|
1946
|
+
* Icon on the left side of the badge. Supports any valid icon name from the icon catalog at
|
|
1947
|
+
* https://dialpad.design/components/icon.html#icon-catalog. If type:'ai' is set, the ai icon
|
|
1948
|
+
* will automatically be shown here, but this can be overridden by setting this prop.
|
|
1949
|
+
*/
|
|
1950
|
+
iconLeft: {
|
|
1951
|
+
type: String,
|
|
1952
|
+
default: ''
|
|
1953
|
+
},
|
|
1954
|
+
|
|
1955
|
+
/**
|
|
1956
|
+
* Icon on the right side of the badge. Supports any valid icon name from the icon catalog at
|
|
1957
|
+
* https://dialpad.design/components/icon.html#icon-catalog
|
|
1958
|
+
*/
|
|
1959
|
+
iconRight: {
|
|
1960
|
+
type: String,
|
|
1961
|
+
default: ''
|
|
1962
|
+
},
|
|
1963
|
+
|
|
1823
1964
|
/**
|
|
1824
1965
|
* Text for the badge content
|
|
1825
1966
|
*/
|
|
@@ -1828,26 +1969,53 @@ const BADGE_COLOR_MODIFIERS = {
|
|
|
1828
1969
|
default: ''
|
|
1829
1970
|
},
|
|
1830
1971
|
|
|
1972
|
+
/**
|
|
1973
|
+
* The kind of badge which determines the styling
|
|
1974
|
+
* @values label, count
|
|
1975
|
+
*/
|
|
1976
|
+
kind: {
|
|
1977
|
+
type: String,
|
|
1978
|
+
default: 'label',
|
|
1979
|
+
validator: kind => Object.keys(BADGE_KIND_MODIFIERS).includes(kind)
|
|
1980
|
+
},
|
|
1981
|
+
|
|
1831
1982
|
/**
|
|
1832
1983
|
* Color for the badge background
|
|
1833
|
-
* @values
|
|
1834
|
-
* pink-300, pink-500, pink-600, pink-700,
|
|
1835
|
-
* purple-100, purple-300, purple-500, purple-700,
|
|
1836
|
-
* red-500, white, yellow-300
|
|
1984
|
+
* @values default, info, success, warning, critical, bulletin, ai
|
|
1837
1985
|
*/
|
|
1838
|
-
|
|
1986
|
+
type: {
|
|
1839
1987
|
type: String,
|
|
1840
|
-
default: '
|
|
1841
|
-
validator:
|
|
1988
|
+
default: 'default',
|
|
1989
|
+
validator: type => Object.keys(BADGE_TYPE_MODIFIERS).includes(type)
|
|
1842
1990
|
}
|
|
1843
1991
|
},
|
|
1844
1992
|
|
|
1845
1993
|
data() {
|
|
1846
1994
|
return {
|
|
1847
|
-
|
|
1995
|
+
BADGE_TYPE_MODIFIERS: BADGE_TYPE_MODIFIERS,
|
|
1996
|
+
BADGE_KIND_MODIFIERS: BADGE_KIND_MODIFIERS
|
|
1848
1997
|
};
|
|
1849
|
-
}
|
|
1998
|
+
},
|
|
1999
|
+
|
|
2000
|
+
watch: {
|
|
2001
|
+
$props: {
|
|
2002
|
+
immediate: true,
|
|
2003
|
+
deep: true,
|
|
1850
2004
|
|
|
2005
|
+
handler() {
|
|
2006
|
+
this.validateProps();
|
|
2007
|
+
}
|
|
2008
|
+
|
|
2009
|
+
}
|
|
2010
|
+
},
|
|
2011
|
+
methods: {
|
|
2012
|
+
validateProps() {
|
|
2013
|
+
if (this.type === 'ai' && this.kind === 'count') {
|
|
2014
|
+
console.error('DtBadge error: type: \'ai\' with kind: \'count\' is an invalid combination.');
|
|
2015
|
+
}
|
|
2016
|
+
}
|
|
2017
|
+
|
|
2018
|
+
}
|
|
1851
2019
|
});
|
|
1852
2020
|
;// CONCATENATED MODULE: ./components/badge/badge.vue?vue&type=script&lang=js
|
|
1853
2021
|
|
|
@@ -1857,7 +2025,7 @@ const BADGE_COLOR_MODIFIERS = {
|
|
|
1857
2025
|
|
|
1858
2026
|
|
|
1859
2027
|
;
|
|
1860
|
-
const badge_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(badgevue_type_script_lang_js, [['render',
|
|
2028
|
+
const badge_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(badgevue_type_script_lang_js, [['render',badgevue_type_template_id_741d001d_render]])
|
|
1861
2029
|
|
|
1862
2030
|
/* harmony default export */ const badge = (badge_exports_);
|
|
1863
2031
|
;// CONCATENATED MODULE: ./components/badge/index.js
|
|
@@ -1929,108 +2097,6 @@ function notice_iconvue_type_template_id_dbeeebfa_render(_ctx, _cache, $props, $
|
|
|
1929
2097
|
}
|
|
1930
2098
|
;// CONCATENATED MODULE: ./components/notice/notice_icon.vue?vue&type=template&id=dbeeebfa
|
|
1931
2099
|
|
|
1932
|
-
;// 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/icon/icon.vue?vue&type=template&id=0c7462d0
|
|
1933
|
-
|
|
1934
|
-
function iconvue_type_template_id_0c7462d0_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1935
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveDynamicComponent)($options.currentIcon), {
|
|
1936
|
-
"data-qa": "dt-icon",
|
|
1937
|
-
"aria-hidden": $props.ariaLabel ? 'false' : 'true',
|
|
1938
|
-
"aria-label": $props.ariaLabel,
|
|
1939
|
-
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.iconSize)
|
|
1940
|
-
}, null, 8, ["aria-hidden", "aria-label", "class"]);
|
|
1941
|
-
}
|
|
1942
|
-
;// CONCATENATED MODULE: ./components/icon/icon.vue?vue&type=template&id=0c7462d0
|
|
1943
|
-
|
|
1944
|
-
;// CONCATENATED MODULE: ./components/icon/icon_constants.js
|
|
1945
|
-
const ICON_SIZE_MODIFIERS = {
|
|
1946
|
-
100: 'd-icon--size-100',
|
|
1947
|
-
200: 'd-icon--size-200',
|
|
1948
|
-
300: 'd-icon--size-300',
|
|
1949
|
-
400: 'd-icon--size-400',
|
|
1950
|
-
500: 'd-icon--size-500',
|
|
1951
|
-
600: 'd-icon--size-600',
|
|
1952
|
-
700: 'd-icon--size-700',
|
|
1953
|
-
800: 'd-icon--size-800'
|
|
1954
|
-
};
|
|
1955
|
-
/* harmony default export */ const icon_constants = ({
|
|
1956
|
-
ICON_SIZE_MODIFIERS
|
|
1957
|
-
});
|
|
1958
|
-
;// CONCATENATED MODULE: external "@dialpad/dialtone-icons"
|
|
1959
|
-
const dialtone_icons_namespaceObject = require("@dialpad/dialtone-icons");
|
|
1960
|
-
;// 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]!./components/icon/icon.vue?vue&type=script&lang=js
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
/**
|
|
1965
|
-
* The Icon component provides a set of glyphs and sizes to provide context your application.
|
|
1966
|
-
* @see https://dialpad.design/components/icon.html
|
|
1967
|
-
*/
|
|
1968
|
-
|
|
1969
|
-
/* harmony default export */ const iconvue_type_script_lang_js = ({
|
|
1970
|
-
name: 'DtIcon',
|
|
1971
|
-
props: {
|
|
1972
|
-
/**
|
|
1973
|
-
* The size of the icon.
|
|
1974
|
-
* @values 100, 200, 300, 400, 500, 600, 700, 800
|
|
1975
|
-
*/
|
|
1976
|
-
size: {
|
|
1977
|
-
type: String,
|
|
1978
|
-
default: '500',
|
|
1979
|
-
validator: s => Object.keys(ICON_SIZE_MODIFIERS).includes(s)
|
|
1980
|
-
},
|
|
1981
|
-
|
|
1982
|
-
/**
|
|
1983
|
-
* The icon name in kebab-case
|
|
1984
|
-
*/
|
|
1985
|
-
name: {
|
|
1986
|
-
type: String,
|
|
1987
|
-
required: true
|
|
1988
|
-
},
|
|
1989
|
-
|
|
1990
|
-
/**
|
|
1991
|
-
* The label of the icon as read out by a screenreader. Leave this unset if your icon is purely presentational
|
|
1992
|
-
*/
|
|
1993
|
-
ariaLabel: {
|
|
1994
|
-
type: String,
|
|
1995
|
-
default: undefined
|
|
1996
|
-
}
|
|
1997
|
-
},
|
|
1998
|
-
|
|
1999
|
-
data() {
|
|
2000
|
-
return {
|
|
2001
|
-
dialtoneIcons: dialtone_icons_namespaceObject
|
|
2002
|
-
};
|
|
2003
|
-
},
|
|
2004
|
-
|
|
2005
|
-
computed: {
|
|
2006
|
-
iconSize() {
|
|
2007
|
-
return ICON_SIZE_MODIFIERS[this.size];
|
|
2008
|
-
},
|
|
2009
|
-
|
|
2010
|
-
iconName() {
|
|
2011
|
-
return kebabCaseToPascalCase(this.name);
|
|
2012
|
-
},
|
|
2013
|
-
|
|
2014
|
-
currentIcon() {
|
|
2015
|
-
return this.dialtoneIcons[this.iconName];
|
|
2016
|
-
}
|
|
2017
|
-
|
|
2018
|
-
}
|
|
2019
|
-
});
|
|
2020
|
-
;// CONCATENATED MODULE: ./components/icon/icon.vue?vue&type=script&lang=js
|
|
2021
|
-
|
|
2022
|
-
;// CONCATENATED MODULE: ./components/icon/icon.vue
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
;
|
|
2028
|
-
const icon_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(iconvue_type_script_lang_js, [['render',iconvue_type_template_id_0c7462d0_render]])
|
|
2029
|
-
|
|
2030
|
-
/* harmony default export */ const icon = (icon_exports_);
|
|
2031
|
-
;// CONCATENATED MODULE: ./components/icon/index.js
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
2100
|
;// CONCATENATED MODULE: ./components/notice/notice_constants.js
|
|
2035
2101
|
const NOTICE_KINDS = ['base', 'error', 'info', 'success', 'warning'];
|
|
2036
2102
|
const NOTICE_ROLES = ['alert', 'alertdialog', 'status'];
|
|
@@ -2087,7 +2153,7 @@ const notice_contentvue_type_template_id_45f8172a_hoisted_1 = {
|
|
|
2087
2153
|
"data-qa": "notice-content"
|
|
2088
2154
|
};
|
|
2089
2155
|
const notice_contentvue_type_template_id_45f8172a_hoisted_2 = ["id"];
|
|
2090
|
-
const
|
|
2156
|
+
const notice_contentvue_type_template_id_45f8172a_hoisted_3 = ["id"];
|
|
2091
2157
|
function notice_contentvue_type_template_id_45f8172a_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2092
2158
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", notice_contentvue_type_template_id_45f8172a_hoisted_1, [$props.title || _ctx.$slots.titleOverride ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("p", {
|
|
2093
2159
|
key: 0,
|
|
@@ -2098,7 +2164,7 @@ function notice_contentvue_type_template_id_45f8172a_render(_ctx, _cache, $props
|
|
|
2098
2164
|
id: $props.contentId,
|
|
2099
2165
|
class: "d-notice__message",
|
|
2100
2166
|
"data-qa": "notice-content-message"
|
|
2101
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")], 8,
|
|
2167
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")], 8, notice_contentvue_type_template_id_45f8172a_hoisted_3)]);
|
|
2102
2168
|
}
|
|
2103
2169
|
;// CONCATENATED MODULE: ./components/notice/notice_content.vue?vue&type=template&id=45f8172a
|
|
2104
2170
|
|
|
@@ -3478,25 +3544,19 @@ const card_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(cardvue_type_
|
|
|
3478
3544
|
/* harmony default export */ const card = (card_exports_);
|
|
3479
3545
|
;// CONCATENATED MODULE: ./components/card/index.js
|
|
3480
3546
|
|
|
3481
|
-
;// 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/combobox/combobox.vue?vue&type=template&id=
|
|
3547
|
+
;// 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/combobox/combobox.vue?vue&type=template&id=3595da7e
|
|
3482
3548
|
|
|
3483
|
-
const
|
|
3484
|
-
const comboboxvue_type_template_id_4fb51d61_hoisted_2 = {
|
|
3549
|
+
const comboboxvue_type_template_id_3595da7e_hoisted_1 = {
|
|
3485
3550
|
"data-qa": "dt-combobox-input-wrapper"
|
|
3486
3551
|
};
|
|
3487
|
-
function
|
|
3552
|
+
function comboboxvue_type_template_id_3595da7e_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3488
3553
|
const _component_combobox_loading_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-loading-list");
|
|
3489
3554
|
|
|
3490
3555
|
const _component_combobox_empty_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-empty-list");
|
|
3491
3556
|
|
|
3492
3557
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
3493
|
-
role: "combobox",
|
|
3494
|
-
"aria-expanded": $props.showList.toString(),
|
|
3495
|
-
"aria-controls": $props.listId,
|
|
3496
|
-
"aria-owns": $props.listId,
|
|
3497
|
-
"aria-haspopup": "listbox",
|
|
3498
3558
|
onKeydown: [_cache[3] || (_cache[3] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.onKeyValidation($event, 'onEscapeKey'), ["stop"]), ["esc"])), _cache[4] || (_cache[4] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.onKeyValidation($event, 'onEnterKey'), ["exact"]), ["enter"])), _cache[5] || (_cache[5] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.onKeyValidation($event, 'onUpKey'), ["stop", "prevent"]), ["up"])), _cache[6] || (_cache[6] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.onKeyValidation($event, 'onDownKey'), ["stop", "prevent"]), ["down"])), _cache[7] || (_cache[7] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.onKeyValidation($event, 'onHomeKey'), ["stop", "prevent"]), ["home"])), _cache[8] || (_cache[8] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.onKeyValidation($event, 'onEndKey'), ["stop", "prevent"]), ["end"]))]
|
|
3499
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
3559
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", comboboxvue_type_template_id_3595da7e_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "input", {
|
|
3500
3560
|
inputProps: $options.inputProps
|
|
3501
3561
|
})]), $props.showList ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
3502
3562
|
key: 0,
|
|
@@ -3526,9 +3586,9 @@ function comboboxvue_type_template_id_4fb51d61_render(_ctx, _cache, $props, $set
|
|
|
3526
3586
|
listProps: $options.listProps,
|
|
3527
3587
|
opened: $options.onOpen,
|
|
3528
3588
|
clearHighlightIndex: $options.clearHighlightIndex
|
|
3529
|
-
})], 544)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)],
|
|
3589
|
+
})], 544)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 32);
|
|
3530
3590
|
}
|
|
3531
|
-
;// CONCATENATED MODULE: ./components/combobox/combobox.vue?vue&type=template&id=
|
|
3591
|
+
;// CONCATENATED MODULE: ./components/combobox/combobox.vue?vue&type=template&id=3595da7e
|
|
3532
3592
|
|
|
3533
3593
|
;// CONCATENATED MODULE: ./common/mixins/dom.js
|
|
3534
3594
|
/* harmony default export */ const dom = ({
|
|
@@ -5517,7 +5577,7 @@ const LABEL_SIZES = {
|
|
|
5517
5577
|
|
|
5518
5578
|
|
|
5519
5579
|
;
|
|
5520
|
-
const combobox_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(comboboxvue_type_script_lang_js, [['render',
|
|
5580
|
+
const combobox_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(comboboxvue_type_script_lang_js, [['render',comboboxvue_type_template_id_3595da7e_render]])
|
|
5521
5581
|
|
|
5522
5582
|
/* harmony default export */ const combobox = (combobox_exports_);
|
|
5523
5583
|
;// CONCATENATED MODULE: ./components/combobox/index.js
|