@dialpad/dialtone-vue 3.28.0 → 3.29.1
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 +223 -164
- package/dist/dialtone-vue.umd.js +223 -164
- 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
|
@@ -1133,7 +1133,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1133
1133
|
"AVATAR_COLOR_MODIFIERS": () => (/* reexport */ AVATAR_COLOR_MODIFIERS),
|
|
1134
1134
|
"AVATAR_KIND_MODIFIERS": () => (/* reexport */ AVATAR_KIND_MODIFIERS),
|
|
1135
1135
|
"AVATAR_SIZE_MODIFIERS": () => (/* reexport */ AVATAR_SIZE_MODIFIERS),
|
|
1136
|
-
"
|
|
1136
|
+
"BADGE_KIND_MODIFIERS": () => (/* reexport */ BADGE_KIND_MODIFIERS),
|
|
1137
|
+
"BADGE_TYPE_MODIFIERS": () => (/* reexport */ BADGE_TYPE_MODIFIERS),
|
|
1137
1138
|
"BREADCRUMBS_INVERTED_MODIFIER": () => (/* reexport */ BREADCRUMBS_INVERTED_MODIFIER),
|
|
1138
1139
|
"BREADCRUMB_ITEM_SELECTED_MODIFIER": () => (/* reexport */ BREADCRUMB_ITEM_SELECTED_MODIFIER),
|
|
1139
1140
|
"BUTTON_GROUP_ALIGNMENT": () => (/* reexport */ BUTTON_GROUP_ALIGNMENT),
|
|
@@ -1771,36 +1772,154 @@ const avatar_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(avatarvue_t
|
|
|
1771
1772
|
;// CONCATENATED MODULE: ./components/avatar/index.js
|
|
1772
1773
|
|
|
1773
1774
|
|
|
1774
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=
|
|
1775
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
1776
|
+
|
|
1777
|
+
const badgevue_type_template_id_741d001d_hoisted_1 = {
|
|
1778
|
+
key: 0,
|
|
1779
|
+
class: "d-badge__icon-left"
|
|
1780
|
+
};
|
|
1781
|
+
const badgevue_type_template_id_741d001d_hoisted_2 = {
|
|
1782
|
+
class: "d-badge__label"
|
|
1783
|
+
};
|
|
1784
|
+
const _hoisted_3 = {
|
|
1785
|
+
key: 1,
|
|
1786
|
+
class: "d-badge__icon-right"
|
|
1787
|
+
};
|
|
1788
|
+
function badgevue_type_template_id_741d001d_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1789
|
+
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
1775
1790
|
|
|
1776
|
-
function badgevue_type_template_id_fea57e1e_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1777
1791
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", {
|
|
1778
|
-
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-badge', $data.
|
|
1792
|
+
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]]),
|
|
1779
1793
|
"data-qa": "dt-badge"
|
|
1780
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.
|
|
1794
|
+
}, [$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, {
|
|
1795
|
+
name: $props.iconLeft || 'dialpad-ai',
|
|
1796
|
+
size: "200"
|
|
1797
|
+
}, 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, {
|
|
1798
|
+
name: $props.iconRight,
|
|
1799
|
+
size: "200"
|
|
1800
|
+
}, null, 8, ["name"])])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 2);
|
|
1781
1801
|
}
|
|
1782
|
-
;// CONCATENATED MODULE: ./components/badge/badge.vue?vue&type=template&id=
|
|
1802
|
+
;// CONCATENATED MODULE: ./components/badge/badge.vue?vue&type=template&id=741d001d
|
|
1783
1803
|
|
|
1784
1804
|
;// CONCATENATED MODULE: ./components/badge/badge_constants.js
|
|
1785
|
-
const
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1805
|
+
const BADGE_TYPE_MODIFIERS = {
|
|
1806
|
+
default: '',
|
|
1807
|
+
info: 'd-badge--info',
|
|
1808
|
+
success: 'd-badge--success',
|
|
1809
|
+
warning: 'd-badge--warning',
|
|
1810
|
+
critical: 'd-badge--critical',
|
|
1811
|
+
bulletin: 'd-badge--bulletin',
|
|
1812
|
+
ai: 'd-badge--ai'
|
|
1813
|
+
};
|
|
1814
|
+
const BADGE_KIND_MODIFIERS = {
|
|
1815
|
+
label: '',
|
|
1816
|
+
count: 'd-badge--count'
|
|
1817
|
+
};
|
|
1818
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
1819
|
+
|
|
1820
|
+
function iconvue_type_template_id_0c7462d0_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1821
|
+
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), {
|
|
1822
|
+
"data-qa": "dt-icon",
|
|
1823
|
+
"aria-hidden": $props.ariaLabel ? 'false' : 'true',
|
|
1824
|
+
"aria-label": $props.ariaLabel,
|
|
1825
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.iconSize)
|
|
1826
|
+
}, null, 8, ["aria-hidden", "aria-label", "class"]);
|
|
1827
|
+
}
|
|
1828
|
+
;// CONCATENATED MODULE: ./components/icon/icon.vue?vue&type=template&id=0c7462d0
|
|
1829
|
+
|
|
1830
|
+
;// CONCATENATED MODULE: ./components/icon/icon_constants.js
|
|
1831
|
+
const ICON_SIZE_MODIFIERS = {
|
|
1832
|
+
100: 'd-icon--size-100',
|
|
1833
|
+
200: 'd-icon--size-200',
|
|
1834
|
+
300: 'd-icon--size-300',
|
|
1835
|
+
400: 'd-icon--size-400',
|
|
1836
|
+
500: 'd-icon--size-500',
|
|
1837
|
+
600: 'd-icon--size-600',
|
|
1838
|
+
700: 'd-icon--size-700',
|
|
1839
|
+
800: 'd-icon--size-800'
|
|
1801
1840
|
};
|
|
1841
|
+
/* harmony default export */ const icon_constants = ({
|
|
1842
|
+
ICON_SIZE_MODIFIERS
|
|
1843
|
+
});
|
|
1844
|
+
;// CONCATENATED MODULE: external "@dialpad/dialtone-icons"
|
|
1845
|
+
const dialtone_icons_namespaceObject = require("@dialpad/dialtone-icons");
|
|
1846
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/icon/icon.vue?vue&type=script&lang=js
|
|
1847
|
+
|
|
1848
|
+
|
|
1849
|
+
|
|
1850
|
+
/**
|
|
1851
|
+
* The Icon component provides a set of glyphs and sizes to provide context your application.
|
|
1852
|
+
* @see https://dialpad.design/components/icon.html
|
|
1853
|
+
*/
|
|
1854
|
+
|
|
1855
|
+
/* harmony default export */ const iconvue_type_script_lang_js = ({
|
|
1856
|
+
name: 'DtIcon',
|
|
1857
|
+
props: {
|
|
1858
|
+
/**
|
|
1859
|
+
* The size of the icon.
|
|
1860
|
+
* @values 100, 200, 300, 400, 500, 600, 700, 800
|
|
1861
|
+
*/
|
|
1862
|
+
size: {
|
|
1863
|
+
type: String,
|
|
1864
|
+
default: '500',
|
|
1865
|
+
validator: s => Object.keys(ICON_SIZE_MODIFIERS).includes(s)
|
|
1866
|
+
},
|
|
1867
|
+
|
|
1868
|
+
/**
|
|
1869
|
+
* The icon name in kebab-case
|
|
1870
|
+
*/
|
|
1871
|
+
name: {
|
|
1872
|
+
type: String,
|
|
1873
|
+
required: true
|
|
1874
|
+
},
|
|
1875
|
+
|
|
1876
|
+
/**
|
|
1877
|
+
* The label of the icon as read out by a screenreader. Leave this unset if your icon is purely presentational
|
|
1878
|
+
*/
|
|
1879
|
+
ariaLabel: {
|
|
1880
|
+
type: String,
|
|
1881
|
+
default: undefined
|
|
1882
|
+
}
|
|
1883
|
+
},
|
|
1884
|
+
|
|
1885
|
+
data() {
|
|
1886
|
+
return {
|
|
1887
|
+
dialtoneIcons: dialtone_icons_namespaceObject
|
|
1888
|
+
};
|
|
1889
|
+
},
|
|
1890
|
+
|
|
1891
|
+
computed: {
|
|
1892
|
+
iconSize() {
|
|
1893
|
+
return ICON_SIZE_MODIFIERS[this.size];
|
|
1894
|
+
},
|
|
1895
|
+
|
|
1896
|
+
iconName() {
|
|
1897
|
+
return kebabCaseToPascalCase(this.name);
|
|
1898
|
+
},
|
|
1899
|
+
|
|
1900
|
+
currentIcon() {
|
|
1901
|
+
return this.dialtoneIcons[this.iconName];
|
|
1902
|
+
}
|
|
1903
|
+
|
|
1904
|
+
}
|
|
1905
|
+
});
|
|
1906
|
+
;// CONCATENATED MODULE: ./components/icon/icon.vue?vue&type=script&lang=js
|
|
1907
|
+
|
|
1908
|
+
;// CONCATENATED MODULE: ./components/icon/icon.vue
|
|
1909
|
+
|
|
1910
|
+
|
|
1911
|
+
|
|
1912
|
+
|
|
1913
|
+
;
|
|
1914
|
+
const icon_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(iconvue_type_script_lang_js, [['render',iconvue_type_template_id_0c7462d0_render]])
|
|
1915
|
+
|
|
1916
|
+
/* harmony default export */ const icon = (icon_exports_);
|
|
1917
|
+
;// CONCATENATED MODULE: ./components/icon/index.js
|
|
1918
|
+
|
|
1919
|
+
|
|
1802
1920
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/badge/badge.vue?vue&type=script&lang=js
|
|
1803
1921
|
|
|
1922
|
+
|
|
1804
1923
|
/**
|
|
1805
1924
|
* A badge is a compact UI element that provides brief, descriptive information about an element.
|
|
1806
1925
|
* It is terse, ideally one word.
|
|
@@ -1809,7 +1928,29 @@ const BADGE_COLOR_MODIFIERS = {
|
|
|
1809
1928
|
|
|
1810
1929
|
/* harmony default export */ const badgevue_type_script_lang_js = ({
|
|
1811
1930
|
name: 'DtBadge',
|
|
1931
|
+
components: {
|
|
1932
|
+
DtIcon: icon
|
|
1933
|
+
},
|
|
1812
1934
|
props: {
|
|
1935
|
+
/**
|
|
1936
|
+
* Icon on the left side of the badge. Supports any valid icon name from the icon catalog at
|
|
1937
|
+
* https://dialpad.design/components/icon.html#icon-catalog. If type:'ai' is set, the ai icon
|
|
1938
|
+
* will automatically be shown here, but this can be overridden by setting this prop.
|
|
1939
|
+
*/
|
|
1940
|
+
iconLeft: {
|
|
1941
|
+
type: String,
|
|
1942
|
+
default: ''
|
|
1943
|
+
},
|
|
1944
|
+
|
|
1945
|
+
/**
|
|
1946
|
+
* Icon on the right side of the badge. Supports any valid icon name from the icon catalog at
|
|
1947
|
+
* https://dialpad.design/components/icon.html#icon-catalog
|
|
1948
|
+
*/
|
|
1949
|
+
iconRight: {
|
|
1950
|
+
type: String,
|
|
1951
|
+
default: ''
|
|
1952
|
+
},
|
|
1953
|
+
|
|
1813
1954
|
/**
|
|
1814
1955
|
* Text for the badge content
|
|
1815
1956
|
*/
|
|
@@ -1818,26 +1959,53 @@ const BADGE_COLOR_MODIFIERS = {
|
|
|
1818
1959
|
default: ''
|
|
1819
1960
|
},
|
|
1820
1961
|
|
|
1962
|
+
/**
|
|
1963
|
+
* The kind of badge which determines the styling
|
|
1964
|
+
* @values label, count
|
|
1965
|
+
*/
|
|
1966
|
+
kind: {
|
|
1967
|
+
type: String,
|
|
1968
|
+
default: 'label',
|
|
1969
|
+
validator: kind => Object.keys(BADGE_KIND_MODIFIERS).includes(kind)
|
|
1970
|
+
},
|
|
1971
|
+
|
|
1821
1972
|
/**
|
|
1822
1973
|
* Color for the badge background
|
|
1823
|
-
* @values
|
|
1824
|
-
* pink-300, pink-500, pink-600, pink-700,
|
|
1825
|
-
* purple-100, purple-300, purple-500, purple-700,
|
|
1826
|
-
* red-500, white, yellow-300
|
|
1974
|
+
* @values default, info, success, warning, critical, bulletin, ai
|
|
1827
1975
|
*/
|
|
1828
|
-
|
|
1976
|
+
type: {
|
|
1829
1977
|
type: String,
|
|
1830
|
-
default: '
|
|
1831
|
-
validator:
|
|
1978
|
+
default: 'default',
|
|
1979
|
+
validator: type => Object.keys(BADGE_TYPE_MODIFIERS).includes(type)
|
|
1832
1980
|
}
|
|
1833
1981
|
},
|
|
1834
1982
|
|
|
1835
1983
|
data() {
|
|
1836
1984
|
return {
|
|
1837
|
-
|
|
1985
|
+
BADGE_TYPE_MODIFIERS: BADGE_TYPE_MODIFIERS,
|
|
1986
|
+
BADGE_KIND_MODIFIERS: BADGE_KIND_MODIFIERS
|
|
1838
1987
|
};
|
|
1839
|
-
}
|
|
1988
|
+
},
|
|
1840
1989
|
|
|
1990
|
+
watch: {
|
|
1991
|
+
$props: {
|
|
1992
|
+
immediate: true,
|
|
1993
|
+
deep: true,
|
|
1994
|
+
|
|
1995
|
+
handler() {
|
|
1996
|
+
this.validateProps();
|
|
1997
|
+
}
|
|
1998
|
+
|
|
1999
|
+
}
|
|
2000
|
+
},
|
|
2001
|
+
methods: {
|
|
2002
|
+
validateProps() {
|
|
2003
|
+
if (this.type === 'ai' && this.kind === 'count') {
|
|
2004
|
+
console.error('DtBadge error: type: \'ai\' with kind: \'count\' is an invalid combination.');
|
|
2005
|
+
}
|
|
2006
|
+
}
|
|
2007
|
+
|
|
2008
|
+
}
|
|
1841
2009
|
});
|
|
1842
2010
|
;// CONCATENATED MODULE: ./components/badge/badge.vue?vue&type=script&lang=js
|
|
1843
2011
|
|
|
@@ -1847,7 +2015,7 @@ const BADGE_COLOR_MODIFIERS = {
|
|
|
1847
2015
|
|
|
1848
2016
|
|
|
1849
2017
|
;
|
|
1850
|
-
const badge_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(badgevue_type_script_lang_js, [['render',
|
|
2018
|
+
const badge_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(badgevue_type_script_lang_js, [['render',badgevue_type_template_id_741d001d_render]])
|
|
1851
2019
|
|
|
1852
2020
|
/* harmony default export */ const badge = (badge_exports_);
|
|
1853
2021
|
;// CONCATENATED MODULE: ./components/badge/index.js
|
|
@@ -1919,108 +2087,6 @@ function notice_iconvue_type_template_id_dbeeebfa_render(_ctx, _cache, $props, $
|
|
|
1919
2087
|
}
|
|
1920
2088
|
;// CONCATENATED MODULE: ./components/notice/notice_icon.vue?vue&type=template&id=dbeeebfa
|
|
1921
2089
|
|
|
1922
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
1923
|
-
|
|
1924
|
-
function iconvue_type_template_id_0c7462d0_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1925
|
-
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), {
|
|
1926
|
-
"data-qa": "dt-icon",
|
|
1927
|
-
"aria-hidden": $props.ariaLabel ? 'false' : 'true',
|
|
1928
|
-
"aria-label": $props.ariaLabel,
|
|
1929
|
-
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.iconSize)
|
|
1930
|
-
}, null, 8, ["aria-hidden", "aria-label", "class"]);
|
|
1931
|
-
}
|
|
1932
|
-
;// CONCATENATED MODULE: ./components/icon/icon.vue?vue&type=template&id=0c7462d0
|
|
1933
|
-
|
|
1934
|
-
;// CONCATENATED MODULE: ./components/icon/icon_constants.js
|
|
1935
|
-
const ICON_SIZE_MODIFIERS = {
|
|
1936
|
-
100: 'd-icon--size-100',
|
|
1937
|
-
200: 'd-icon--size-200',
|
|
1938
|
-
300: 'd-icon--size-300',
|
|
1939
|
-
400: 'd-icon--size-400',
|
|
1940
|
-
500: 'd-icon--size-500',
|
|
1941
|
-
600: 'd-icon--size-600',
|
|
1942
|
-
700: 'd-icon--size-700',
|
|
1943
|
-
800: 'd-icon--size-800'
|
|
1944
|
-
};
|
|
1945
|
-
/* harmony default export */ const icon_constants = ({
|
|
1946
|
-
ICON_SIZE_MODIFIERS
|
|
1947
|
-
});
|
|
1948
|
-
;// CONCATENATED MODULE: external "@dialpad/dialtone-icons"
|
|
1949
|
-
const dialtone_icons_namespaceObject = require("@dialpad/dialtone-icons");
|
|
1950
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/icon/icon.vue?vue&type=script&lang=js
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
/**
|
|
1955
|
-
* The Icon component provides a set of glyphs and sizes to provide context your application.
|
|
1956
|
-
* @see https://dialpad.design/components/icon.html
|
|
1957
|
-
*/
|
|
1958
|
-
|
|
1959
|
-
/* harmony default export */ const iconvue_type_script_lang_js = ({
|
|
1960
|
-
name: 'DtIcon',
|
|
1961
|
-
props: {
|
|
1962
|
-
/**
|
|
1963
|
-
* The size of the icon.
|
|
1964
|
-
* @values 100, 200, 300, 400, 500, 600, 700, 800
|
|
1965
|
-
*/
|
|
1966
|
-
size: {
|
|
1967
|
-
type: String,
|
|
1968
|
-
default: '500',
|
|
1969
|
-
validator: s => Object.keys(ICON_SIZE_MODIFIERS).includes(s)
|
|
1970
|
-
},
|
|
1971
|
-
|
|
1972
|
-
/**
|
|
1973
|
-
* The icon name in kebab-case
|
|
1974
|
-
*/
|
|
1975
|
-
name: {
|
|
1976
|
-
type: String,
|
|
1977
|
-
required: true
|
|
1978
|
-
},
|
|
1979
|
-
|
|
1980
|
-
/**
|
|
1981
|
-
* The label of the icon as read out by a screenreader. Leave this unset if your icon is purely presentational
|
|
1982
|
-
*/
|
|
1983
|
-
ariaLabel: {
|
|
1984
|
-
type: String,
|
|
1985
|
-
default: undefined
|
|
1986
|
-
}
|
|
1987
|
-
},
|
|
1988
|
-
|
|
1989
|
-
data() {
|
|
1990
|
-
return {
|
|
1991
|
-
dialtoneIcons: dialtone_icons_namespaceObject
|
|
1992
|
-
};
|
|
1993
|
-
},
|
|
1994
|
-
|
|
1995
|
-
computed: {
|
|
1996
|
-
iconSize() {
|
|
1997
|
-
return ICON_SIZE_MODIFIERS[this.size];
|
|
1998
|
-
},
|
|
1999
|
-
|
|
2000
|
-
iconName() {
|
|
2001
|
-
return kebabCaseToPascalCase(this.name);
|
|
2002
|
-
},
|
|
2003
|
-
|
|
2004
|
-
currentIcon() {
|
|
2005
|
-
return this.dialtoneIcons[this.iconName];
|
|
2006
|
-
}
|
|
2007
|
-
|
|
2008
|
-
}
|
|
2009
|
-
});
|
|
2010
|
-
;// CONCATENATED MODULE: ./components/icon/icon.vue?vue&type=script&lang=js
|
|
2011
|
-
|
|
2012
|
-
;// CONCATENATED MODULE: ./components/icon/icon.vue
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
;
|
|
2018
|
-
const icon_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(iconvue_type_script_lang_js, [['render',iconvue_type_template_id_0c7462d0_render]])
|
|
2019
|
-
|
|
2020
|
-
/* harmony default export */ const icon = (icon_exports_);
|
|
2021
|
-
;// CONCATENATED MODULE: ./components/icon/index.js
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
2090
|
;// CONCATENATED MODULE: ./components/notice/notice_constants.js
|
|
2025
2091
|
const NOTICE_KINDS = ['base', 'error', 'info', 'success', 'warning'];
|
|
2026
2092
|
const NOTICE_ROLES = ['alert', 'alertdialog', 'status'];
|
|
@@ -2077,7 +2143,7 @@ const notice_contentvue_type_template_id_45f8172a_hoisted_1 = {
|
|
|
2077
2143
|
"data-qa": "notice-content"
|
|
2078
2144
|
};
|
|
2079
2145
|
const notice_contentvue_type_template_id_45f8172a_hoisted_2 = ["id"];
|
|
2080
|
-
const
|
|
2146
|
+
const notice_contentvue_type_template_id_45f8172a_hoisted_3 = ["id"];
|
|
2081
2147
|
function notice_contentvue_type_template_id_45f8172a_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2082
2148
|
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", {
|
|
2083
2149
|
key: 0,
|
|
@@ -2088,7 +2154,7 @@ function notice_contentvue_type_template_id_45f8172a_render(_ctx, _cache, $props
|
|
|
2088
2154
|
id: $props.contentId,
|
|
2089
2155
|
class: "d-notice__message",
|
|
2090
2156
|
"data-qa": "notice-content-message"
|
|
2091
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")], 8,
|
|
2157
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")], 8, notice_contentvue_type_template_id_45f8172a_hoisted_3)]);
|
|
2092
2158
|
}
|
|
2093
2159
|
;// CONCATENATED MODULE: ./components/notice/notice_content.vue?vue&type=template&id=45f8172a
|
|
2094
2160
|
|
|
@@ -3468,25 +3534,19 @@ const card_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(cardvue_type_
|
|
|
3468
3534
|
/* harmony default export */ const card = (card_exports_);
|
|
3469
3535
|
;// CONCATENATED MODULE: ./components/card/index.js
|
|
3470
3536
|
|
|
3471
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=
|
|
3537
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
3472
3538
|
|
|
3473
|
-
const
|
|
3474
|
-
const comboboxvue_type_template_id_4fb51d61_hoisted_2 = {
|
|
3539
|
+
const comboboxvue_type_template_id_3595da7e_hoisted_1 = {
|
|
3475
3540
|
"data-qa": "dt-combobox-input-wrapper"
|
|
3476
3541
|
};
|
|
3477
|
-
function
|
|
3542
|
+
function comboboxvue_type_template_id_3595da7e_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3478
3543
|
const _component_combobox_loading_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-loading-list");
|
|
3479
3544
|
|
|
3480
3545
|
const _component_combobox_empty_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-empty-list");
|
|
3481
3546
|
|
|
3482
3547
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
3483
|
-
role: "combobox",
|
|
3484
|
-
"aria-expanded": $props.showList.toString(),
|
|
3485
|
-
"aria-controls": $props.listId,
|
|
3486
|
-
"aria-owns": $props.listId,
|
|
3487
|
-
"aria-haspopup": "listbox",
|
|
3488
3548
|
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"]))]
|
|
3489
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
3549
|
+
}, [(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", {
|
|
3490
3550
|
inputProps: $options.inputProps
|
|
3491
3551
|
})]), $props.showList ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
3492
3552
|
key: 0,
|
|
@@ -3516,9 +3576,9 @@ function comboboxvue_type_template_id_4fb51d61_render(_ctx, _cache, $props, $set
|
|
|
3516
3576
|
listProps: $options.listProps,
|
|
3517
3577
|
opened: $options.onOpen,
|
|
3518
3578
|
clearHighlightIndex: $options.clearHighlightIndex
|
|
3519
|
-
})], 544)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)],
|
|
3579
|
+
})], 544)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 32);
|
|
3520
3580
|
}
|
|
3521
|
-
;// CONCATENATED MODULE: ./components/combobox/combobox.vue?vue&type=template&id=
|
|
3581
|
+
;// CONCATENATED MODULE: ./components/combobox/combobox.vue?vue&type=template&id=3595da7e
|
|
3522
3582
|
|
|
3523
3583
|
;// CONCATENATED MODULE: ./common/mixins/dom.js
|
|
3524
3584
|
/* harmony default export */ const dom = ({
|
|
@@ -5507,7 +5567,7 @@ const LABEL_SIZES = {
|
|
|
5507
5567
|
|
|
5508
5568
|
|
|
5509
5569
|
;
|
|
5510
|
-
const combobox_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(comboboxvue_type_script_lang_js, [['render',
|
|
5570
|
+
const combobox_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(comboboxvue_type_script_lang_js, [['render',comboboxvue_type_template_id_3595da7e_render]])
|
|
5511
5571
|
|
|
5512
5572
|
/* harmony default export */ const combobox = (combobox_exports_);
|
|
5513
5573
|
;// CONCATENATED MODULE: ./components/combobox/index.js
|
|
@@ -12196,30 +12256,30 @@ const dropdown_separator_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)
|
|
|
12196
12256
|
|
|
12197
12257
|
|
|
12198
12258
|
|
|
12199
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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/input/input.vue?vue&type=template&id=
|
|
12259
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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/input/input.vue?vue&type=template&id=752f3446
|
|
12200
12260
|
|
|
12201
|
-
const
|
|
12261
|
+
const inputvue_type_template_id_752f3446_hoisted_1 = {
|
|
12202
12262
|
ref: "container",
|
|
12203
12263
|
class: "base-input",
|
|
12204
12264
|
"data-qa": "dt-input"
|
|
12205
12265
|
};
|
|
12206
|
-
const
|
|
12207
|
-
const
|
|
12208
|
-
const
|
|
12266
|
+
const inputvue_type_template_id_752f3446_hoisted_2 = ["aria-details"];
|
|
12267
|
+
const inputvue_type_template_id_752f3446_hoisted_3 = ["id"];
|
|
12268
|
+
const inputvue_type_template_id_752f3446_hoisted_4 = {
|
|
12209
12269
|
key: 0
|
|
12210
12270
|
};
|
|
12211
|
-
const
|
|
12271
|
+
const inputvue_type_template_id_752f3446_hoisted_5 = {
|
|
12212
12272
|
key: 1,
|
|
12213
12273
|
"data-qa": "dt-input-length-description",
|
|
12214
12274
|
class: /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-mb2'])
|
|
12215
12275
|
};
|
|
12216
|
-
const
|
|
12276
|
+
const inputvue_type_template_id_752f3446_hoisted_6 = ["read-only"];
|
|
12217
12277
|
const _hoisted_7 = ["value", "name", "disabled", "maxlength"];
|
|
12218
12278
|
const _hoisted_8 = ["value", "name", "type", "disabled", "maxlength"];
|
|
12219
|
-
function
|
|
12279
|
+
function inputvue_type_template_id_752f3446_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12220
12280
|
const _component_dt_validation_messages = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-validation-messages");
|
|
12221
12281
|
|
|
12222
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div",
|
|
12282
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", inputvue_type_template_id_752f3446_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("label", {
|
|
12223
12283
|
class: "base-input__label",
|
|
12224
12284
|
"aria-details": _ctx.$slots.description || $props.description ? $options.descriptionKey : undefined,
|
|
12225
12285
|
"data-qa": "dt-input-label-wrapper"
|
|
@@ -12234,7 +12294,7 @@ function inputvue_type_template_id_013475ce_render(_ctx, _cache, $props, $setup,
|
|
|
12234
12294
|
ref: "description",
|
|
12235
12295
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['base-input__description', 'd-description', 'd-fd-column', $data.descriptionSizeClasses[$props.size]]),
|
|
12236
12296
|
"data-qa": "dt-input-description"
|
|
12237
|
-
}, [_ctx.$slots.description || $props.description ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div",
|
|
12297
|
+
}, [_ctx.$slots.description || $props.description ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", inputvue_type_template_id_752f3446_hoisted_4, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "description", {}, () => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.description), 1)])])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), $options.shouldValidateLength ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", inputvue_type_template_id_752f3446_hoisted_5, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($options.validationProps.length.description), 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 10, inputvue_type_template_id_752f3446_hoisted_3)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
|
|
12238
12298
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.inputWrapperClasses()),
|
|
12239
12299
|
"read-only": $props.disabled === true ? true : undefined
|
|
12240
12300
|
}, [_ctx.$slots.leftIcon ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", {
|
|
@@ -12270,7 +12330,7 @@ function inputvue_type_template_id_013475ce_render(_ctx, _cache, $props, $setup,
|
|
|
12270
12330
|
onFocusout: _cache[1] || (_cache[1] = function () {
|
|
12271
12331
|
return $options.onBlur && $options.onBlur(...arguments);
|
|
12272
12332
|
})
|
|
12273
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "rightIcon")], 34)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 10,
|
|
12333
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "rightIcon")], 34)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 10, inputvue_type_template_id_752f3446_hoisted_6)], 8, inputvue_type_template_id_752f3446_hoisted_2), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_validation_messages, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
12274
12334
|
"validation-messages": $options.validationMessages,
|
|
12275
12335
|
"show-messages": _ctx.showMessages,
|
|
12276
12336
|
class: _ctx.messagesClass
|
|
@@ -12278,7 +12338,7 @@ function inputvue_type_template_id_013475ce_render(_ctx, _cache, $props, $setup,
|
|
|
12278
12338
|
"data-qa": "dt-input-messages"
|
|
12279
12339
|
}), null, 16, ["validation-messages", "show-messages", "class"])], 512);
|
|
12280
12340
|
}
|
|
12281
|
-
;// CONCATENATED MODULE: ./components/input/input.vue?vue&type=template&id=
|
|
12341
|
+
;// CONCATENATED MODULE: ./components/input/input.vue?vue&type=template&id=752f3446
|
|
12282
12342
|
|
|
12283
12343
|
;// CONCATENATED MODULE: ./components/input/input_constants.js
|
|
12284
12344
|
// Valid input types, any other input types (for example: 'radio' or 'checkbox') should
|
|
@@ -12870,8 +12930,7 @@ const MessagesMixin = {
|
|
|
12870
12930
|
*/
|
|
12871
12931
|
label: {
|
|
12872
12932
|
type: String,
|
|
12873
|
-
default: ''
|
|
12874
|
-
required: true
|
|
12933
|
+
default: ''
|
|
12875
12934
|
},
|
|
12876
12935
|
|
|
12877
12936
|
/**
|
|
@@ -13301,7 +13360,7 @@ const MessagesMixin = {
|
|
|
13301
13360
|
|
|
13302
13361
|
|
|
13303
13362
|
;
|
|
13304
|
-
const input_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(inputvue_type_script_lang_js, [['render',
|
|
13363
|
+
const input_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(inputvue_type_script_lang_js, [['render',inputvue_type_template_id_752f3446_render]])
|
|
13305
13364
|
|
|
13306
13365
|
/* harmony default export */ const input_input = (input_exports_);
|
|
13307
13366
|
;// CONCATENATED MODULE: ./components/input/index.js
|