@db-ux/wc-core-components 4.3.2 → 4.4.0-loading-567cd0c
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/CHANGELOG.md +8 -0
- package/dist/cjs/db-accordion-item.cjs.entry.js +2 -2
- package/dist/cjs/db-accordion.cjs.entry.js +2 -2
- package/dist/cjs/db-badge.cjs.entry.js +2 -2
- package/dist/cjs/db-brand.cjs.entry.js +2 -2
- package/dist/cjs/db-button.cjs.entry.js +2 -2
- package/dist/cjs/db-card.cjs.entry.js +2 -2
- package/dist/cjs/db-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/{db-custom-select-dropdown_5.cjs.entry.js → db-custom-select-dropdown_6.cjs.entry.js} +257 -5
- package/dist/cjs/db-custom-select-form-field.cjs.entry.js +4 -4
- package/dist/cjs/db-custom-select.cjs.entry.js +14 -16
- package/dist/cjs/db-divider.cjs.entry.js +3 -3
- package/dist/cjs/db-drawer.cjs.entry.js +5 -5
- package/dist/cjs/db-header.cjs.entry.js +4 -4
- package/dist/cjs/db-icon.cjs.entry.js +3 -3
- package/dist/cjs/db-infotext.cjs.entry.js +2 -2
- package/dist/cjs/db-link.cjs.entry.js +3 -3
- package/dist/cjs/db-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/db-navigation.cjs.entry.js +4 -4
- package/dist/cjs/db-notification.cjs.entry.js +8 -4
- package/dist/cjs/db-page.cjs.entry.js +4 -4
- package/dist/cjs/db-popover.cjs.entry.js +5 -5
- package/dist/cjs/db-radio.cjs.entry.js +4 -4
- package/dist/cjs/db-section.cjs.entry.js +4 -4
- package/dist/cjs/db-select.cjs.entry.js +18 -7
- package/dist/cjs/db-stack.cjs.entry.js +4 -4
- package/dist/cjs/db-switch.cjs.entry.js +5 -5
- package/dist/cjs/db-tab-item_3.cjs.entry.js +8 -8
- package/dist/cjs/db-tabs.cjs.entry.js +4 -4
- package/dist/cjs/db-textarea.cjs.entry.js +5 -5
- package/dist/cjs/db-tooltip.cjs.entry.js +5 -5
- package/dist/cjs/db-ux.cjs.js +3 -3
- package/dist/cjs/{document-click-listener-B2Xzqbvs.js → document-click-listener-Bb3Tinb8.js} +1 -1
- package/dist/cjs/{document-scroll-listener-C_v46oIg.js → document-scroll-listener-unypEU42.js} +1 -1
- package/dist/cjs/{form-components-BrtqMwX0.js → form-components-LsqVohyb.js} +1 -1
- package/dist/cjs/{index-CW5aVEyQ.js → index-CsHqnQII.js} +26 -0
- package/dist/cjs/{index-Mi8dWSSD.js → index-TxzPzc5I.js} +69 -6
- package/dist/cjs/index.cjs.js +9 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/custom-select/custom-select.js +15 -17
- package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +2 -2
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/drawer/drawer.js +3 -3
- package/dist/collection/components/header/header.js +2 -2
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/loading-indicator/examples/_indicators.data.js +91 -0
- package/dist/collection/components/loading-indicator/index.js +2 -0
- package/dist/collection/components/loading-indicator/loading-indicator.js +713 -0
- package/dist/collection/components/loading-indicator/model.js +2 -0
- package/dist/collection/components/navigation/navigation.js +2 -2
- package/dist/collection/components/navigation-item/navigation-item.js +1 -1
- package/dist/collection/components/notification/notification.js +41 -11
- package/dist/collection/components/page/page.js +2 -2
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/radio/radio.js +1 -1
- package/dist/collection/components/section/section.js +2 -2
- package/dist/collection/components/select/select.js +49 -12
- package/dist/collection/components/stack/stack.js +2 -2
- package/dist/collection/components/switch/switch.js +2 -2
- package/dist/collection/components/tab-item/tab-item.js +2 -2
- package/dist/collection/components/tab-list/tab-list.js +2 -2
- package/dist/collection/components/tab-panel/tab-panel.js +2 -2
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tag/tag.js +2 -2
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/index.js +2 -0
- package/dist/collection/utils/index.js +25 -0
- package/dist/custom-elements.json +2499 -888
- package/dist/db-ux/db-ux.esm.js +1 -1
- package/dist/db-ux/index.esm.js +1 -1
- package/dist/db-ux/{p-e7e35164.entry.js → p-0a073f5e.entry.js} +1 -1
- package/dist/db-ux/p-19def2d3.entry.js +1 -0
- package/dist/db-ux/p-1bbe8d13.entry.js +1 -0
- package/dist/db-ux/{p-197f90e4.entry.js → p-2a1481e9.entry.js} +1 -1
- package/dist/db-ux/{p-b6538eed.entry.js → p-30ceac5f.entry.js} +1 -1
- package/dist/db-ux/p-34862d35.entry.js +1 -0
- package/dist/db-ux/{p-44f2f09d.entry.js → p-3aba68af.entry.js} +1 -1
- package/dist/db-ux/p-46b4ed7f.entry.js +1 -0
- package/dist/db-ux/{p-5bca6d35.entry.js → p-4b4916fb.entry.js} +1 -1
- package/dist/db-ux/{p-78f6b72a.entry.js → p-4bda74c9.entry.js} +1 -1
- package/dist/db-ux/{p-9a543d5a.entry.js → p-5c55381c.entry.js} +1 -1
- package/dist/db-ux/{p-a1e66a3d.entry.js → p-642484ca.entry.js} +1 -1
- package/dist/db-ux/p-66e24856.entry.js +1 -0
- package/dist/db-ux/p-69ebe202.entry.js +1 -0
- package/dist/db-ux/{p-a232eea2.entry.js → p-78fd1504.entry.js} +1 -1
- package/dist/db-ux/p-7c0621ef.entry.js +1 -0
- package/dist/db-ux/{p-286f83f4.entry.js → p-8931bdc6.entry.js} +1 -1
- package/dist/db-ux/{p-26fa6bc1.entry.js → p-8e63e73c.entry.js} +1 -1
- package/dist/db-ux/p-8ff8418d.entry.js +1 -0
- package/dist/db-ux/{p-29d3070a.entry.js → p-919ff123.entry.js} +1 -1
- package/dist/db-ux/p-B6-lLNGQ.js +2 -0
- package/dist/db-ux/p-BhXdfCpU.js +1 -0
- package/dist/db-ux/p-C4x0SOcx.js +1 -0
- package/dist/db-ux/{p-Cb-k135w.js → p-CAEpg8tJ.js} +1 -1
- package/dist/db-ux/{p-EqlW5Wqf.js → p-RHqkTr-_.js} +1 -1
- package/dist/db-ux/p-a01a5c4a.entry.js +1 -0
- package/dist/db-ux/{p-027fb90a.entry.js → p-a95f6c84.entry.js} +1 -1
- package/dist/db-ux/{p-e30a4814.entry.js → p-ada8a2ac.entry.js} +1 -1
- package/dist/db-ux/p-b05bc567.entry.js +1 -0
- package/dist/db-ux/p-c1825fa6.entry.js +1 -0
- package/dist/db-ux/p-e847596c.entry.js +1 -0
- package/dist/db-ux/{p-13dd39f1.entry.js → p-f3cc7450.entry.js} +1 -1
- package/dist/db-ux/{p-a7463ead.entry.js → p-f64ab366.entry.js} +1 -1
- package/dist/db-ux/p-f71548d2.entry.js +1 -0
- package/dist/db-ux/{p-29efc51e.entry.js → p-fd4f5fac.entry.js} +1 -1
- package/dist/esm/db-accordion-item.entry.js +2 -2
- package/dist/esm/db-accordion.entry.js +2 -2
- package/dist/esm/db-badge.entry.js +2 -2
- package/dist/esm/db-brand.entry.js +2 -2
- package/dist/esm/db-button.entry.js +2 -2
- package/dist/esm/db-card.entry.js +2 -2
- package/dist/esm/db-checkbox.entry.js +3 -3
- package/dist/esm/{db-custom-select-dropdown_5.entry.js → db-custom-select-dropdown_6.entry.js} +258 -7
- package/dist/esm/db-custom-select-form-field.entry.js +4 -4
- package/dist/esm/db-custom-select.entry.js +14 -16
- package/dist/esm/db-divider.entry.js +3 -3
- package/dist/esm/db-drawer.entry.js +5 -5
- package/dist/esm/db-header.entry.js +4 -4
- package/dist/esm/db-icon.entry.js +3 -3
- package/dist/esm/db-infotext.entry.js +2 -2
- package/dist/esm/db-link.entry.js +3 -3
- package/dist/esm/db-navigation-item.entry.js +3 -3
- package/dist/esm/db-navigation.entry.js +4 -4
- package/dist/esm/db-notification.entry.js +8 -4
- package/dist/esm/db-page.entry.js +4 -4
- package/dist/esm/db-popover.entry.js +5 -5
- package/dist/esm/db-radio.entry.js +4 -4
- package/dist/esm/db-section.entry.js +4 -4
- package/dist/esm/db-select.entry.js +18 -7
- package/dist/esm/db-stack.entry.js +4 -4
- package/dist/esm/db-switch.entry.js +5 -5
- package/dist/esm/db-tab-item_3.entry.js +8 -8
- package/dist/esm/db-tabs.entry.js +4 -4
- package/dist/esm/db-textarea.entry.js +5 -5
- package/dist/esm/db-tooltip.entry.js +5 -5
- package/dist/esm/db-ux.js +4 -4
- package/dist/esm/{document-click-listener-B_LaIr0O.js → document-click-listener-CmYoXpGE.js} +1 -1
- package/dist/esm/{document-scroll-listener-dHAsT0Tb.js → document-scroll-listener-65bHuFAN.js} +1 -1
- package/dist/esm/{form-components-Cl_wgkeJ.js → form-components-BLsiOrPI.js} +1 -1
- package/dist/esm/{index-9pYJFapZ.js → index-B6-lLNGQ.js} +69 -6
- package/dist/esm/{index-BwBkekqp.js → index-C4x0SOcx.js} +26 -1
- package/dist/esm/index.js +7 -4
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/custom-select/custom-select.d.ts +1 -1
- package/dist/types/components/link/model.d.ts +2 -2
- package/dist/types/components/loading-indicator/examples/_indicators.data.d.ts +49 -0
- package/dist/types/components/loading-indicator/index.d.ts +2 -0
- package/dist/types/components/loading-indicator/loading-indicator.d.ts +56 -0
- package/dist/types/components/loading-indicator/model.d.ts +39 -0
- package/dist/types/components/notification/model.d.ts +2 -2
- package/dist/types/components/notification/notification.d.ts +2 -1
- package/dist/types/components/select/model.d.ts +10 -0
- package/dist/types/components/select/select.d.ts +3 -1
- package/dist/types/components.d.ts +91 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/shared/model.d.ts +12 -8
- package/dist/types/utils/index.d.ts +12 -0
- package/dist/vscode.html-custom-data.json +182 -22
- package/dist/web-types.json +316 -51
- package/package.json +4 -4
- package/dist/db-ux/p-15241486.entry.js +0 -1
- package/dist/db-ux/p-2069117e.entry.js +0 -1
- package/dist/db-ux/p-2baf9c08.entry.js +0 -1
- package/dist/db-ux/p-39d22a0f.entry.js +0 -1
- package/dist/db-ux/p-462d8de5.entry.js +0 -1
- package/dist/db-ux/p-58611dcc.entry.js +0 -1
- package/dist/db-ux/p-623a6b59.entry.js +0 -1
- package/dist/db-ux/p-9d5365f7.entry.js +0 -1
- package/dist/db-ux/p-9pYJFapZ.js +0 -2
- package/dist/db-ux/p-BwBkekqp.js +0 -1
- package/dist/db-ux/p-a98bde77.entry.js +0 -1
- package/dist/db-ux/p-af0e61d0.entry.js +0 -1
- package/dist/db-ux/p-b729b29f.entry.js +0 -1
- package/dist/db-ux/p-bde7ff5f.entry.js +0 -1
- package/dist/db-ux/p-c9d514e5.entry.js +0 -1
- package/dist/db-ux/p-cqrM3KjS.js +0 -1
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@db-ux/wc-core-components",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.4.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -1766,6 +1766,149 @@
|
|
|
1766
1766
|
]
|
|
1767
1767
|
}
|
|
1768
1768
|
},
|
|
1769
|
+
{
|
|
1770
|
+
"name": "db-loading-indicator",
|
|
1771
|
+
"description": "\n---\n\n\n### **Events:**\n - **timeout**\n\n### **Slots:**\n - **children** - default slot",
|
|
1772
|
+
"doc-url": "https://design-system.deutschebahn.com/core-web/review/main/components/loading-indicator/properties",
|
|
1773
|
+
"attributes": [
|
|
1774
|
+
{
|
|
1775
|
+
"name": "id",
|
|
1776
|
+
"description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
|
|
1777
|
+
"value": { "type": "string" }
|
|
1778
|
+
},
|
|
1779
|
+
{
|
|
1780
|
+
"name": "auto-disable",
|
|
1781
|
+
"description": "Disable the parent component (e.g. a DBButton) when loading indicator is inside it",
|
|
1782
|
+
"value": { "type": "boolean | string", "default": "true" }
|
|
1783
|
+
},
|
|
1784
|
+
{ "name": "overlay", "value": { "type": "boolean | string" } },
|
|
1785
|
+
{
|
|
1786
|
+
"name": "state",
|
|
1787
|
+
"value": {
|
|
1788
|
+
"type": "\"inactive\" | \"active\" | \"successful\" | \"critical\" | string"
|
|
1789
|
+
}
|
|
1790
|
+
},
|
|
1791
|
+
{
|
|
1792
|
+
"name": "indeterminate",
|
|
1793
|
+
"value": { "type": "boolean | string", "default": "true" }
|
|
1794
|
+
},
|
|
1795
|
+
{
|
|
1796
|
+
"name": "delay",
|
|
1797
|
+
"description": "Add a delay before showing the component",
|
|
1798
|
+
"value": { "type": "\"none\" | \"slow\" | \"fast\"" }
|
|
1799
|
+
},
|
|
1800
|
+
{ "name": "value", "value": { "type": "string | number" } },
|
|
1801
|
+
{ "name": "max", "value": { "type": "number | string" } },
|
|
1802
|
+
{
|
|
1803
|
+
"name": "role",
|
|
1804
|
+
"value": { "type": "'alert' | 'status' | 'none'" }
|
|
1805
|
+
},
|
|
1806
|
+
{
|
|
1807
|
+
"name": "classname",
|
|
1808
|
+
"description": "React specific for adding className to the component.",
|
|
1809
|
+
"value": { "type": "string" }
|
|
1810
|
+
},
|
|
1811
|
+
{
|
|
1812
|
+
"name": "size",
|
|
1813
|
+
"description": "The size attribute changes the font-size and other related sizes of the component.",
|
|
1814
|
+
"value": {
|
|
1815
|
+
"type": "\"small\" | \"medium\"",
|
|
1816
|
+
"default": "\"medium\""
|
|
1817
|
+
}
|
|
1818
|
+
},
|
|
1819
|
+
{
|
|
1820
|
+
"name": "variant",
|
|
1821
|
+
"value": {
|
|
1822
|
+
"type": "\"progress-bar\" | \"onsite\" | \"inline\"",
|
|
1823
|
+
"default": "\"inline\""
|
|
1824
|
+
}
|
|
1825
|
+
},
|
|
1826
|
+
{
|
|
1827
|
+
"name": "show-label",
|
|
1828
|
+
"description": "Enables/disables the visibility of the label",
|
|
1829
|
+
"value": { "type": "boolean | string" }
|
|
1830
|
+
},
|
|
1831
|
+
{ "name": "label", "value": { "type": "string" } },
|
|
1832
|
+
{ "name": "progress-text", "value": { "type": "string" } },
|
|
1833
|
+
{
|
|
1834
|
+
"name": "show-progress-text",
|
|
1835
|
+
"description": "Enables/disables the visibility of the progressText",
|
|
1836
|
+
"value": { "type": "boolean | string" }
|
|
1837
|
+
}
|
|
1838
|
+
],
|
|
1839
|
+
"slots": [{ "name": "children", "description": "default slot" }],
|
|
1840
|
+
"events": [
|
|
1841
|
+
{
|
|
1842
|
+
"name": "timeout",
|
|
1843
|
+
"type": "EventEmitter<\n Parameters<Required<DBLoadingIndicatorProps>[\"onTimeout\"]>[number]\n > | void"
|
|
1844
|
+
}
|
|
1845
|
+
],
|
|
1846
|
+
"js": {
|
|
1847
|
+
"properties": [
|
|
1848
|
+
{
|
|
1849
|
+
"name": "id",
|
|
1850
|
+
"description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
|
|
1851
|
+
"type": "string"
|
|
1852
|
+
},
|
|
1853
|
+
{
|
|
1854
|
+
"name": "autoDisable",
|
|
1855
|
+
"description": "Disable the parent component (e.g. a DBButton) when loading indicator is inside it",
|
|
1856
|
+
"type": "boolean | string"
|
|
1857
|
+
},
|
|
1858
|
+
{ "name": "overlay", "type": "boolean | string" },
|
|
1859
|
+
{
|
|
1860
|
+
"name": "state",
|
|
1861
|
+
"type": "\"inactive\" | \"active\" | \"successful\" | \"critical\" | string"
|
|
1862
|
+
},
|
|
1863
|
+
{ "name": "indeterminate", "type": "boolean | string" },
|
|
1864
|
+
{
|
|
1865
|
+
"name": "delay",
|
|
1866
|
+
"description": "Add a delay before showing the component",
|
|
1867
|
+
"type": "\"none\" | \"slow\" | \"fast\""
|
|
1868
|
+
},
|
|
1869
|
+
{ "name": "value", "type": "string | number" },
|
|
1870
|
+
{ "name": "max", "type": "number | string" },
|
|
1871
|
+
{ "name": "role", "type": "'alert' | 'status' | 'none'" },
|
|
1872
|
+
{
|
|
1873
|
+
"name": "className",
|
|
1874
|
+
"description": "React specific for adding className to the component.",
|
|
1875
|
+
"type": "string"
|
|
1876
|
+
},
|
|
1877
|
+
{
|
|
1878
|
+
"name": "size",
|
|
1879
|
+
"description": "The size attribute changes the font-size and other related sizes of the component.",
|
|
1880
|
+
"type": "\"small\" | \"medium\""
|
|
1881
|
+
},
|
|
1882
|
+
{
|
|
1883
|
+
"name": "variant",
|
|
1884
|
+
"type": "\"progress-bar\" | \"onsite\" | \"inline\""
|
|
1885
|
+
},
|
|
1886
|
+
{
|
|
1887
|
+
"name": "showLabel",
|
|
1888
|
+
"description": "Enables/disables the visibility of the label",
|
|
1889
|
+
"type": "boolean | string"
|
|
1890
|
+
},
|
|
1891
|
+
{ "name": "label", "type": "string" },
|
|
1892
|
+
{ "name": "progressText", "type": "string" },
|
|
1893
|
+
{
|
|
1894
|
+
"name": "showProgressText",
|
|
1895
|
+
"description": "Enables/disables the visibility of the progressText",
|
|
1896
|
+
"type": "boolean | string"
|
|
1897
|
+
},
|
|
1898
|
+
{ "name": "_id" },
|
|
1899
|
+
{ "name": "_loadingState", "type": "string" },
|
|
1900
|
+
{ "name": "_previousLoadingState" },
|
|
1901
|
+
{ "name": "_style", "type": "object" },
|
|
1902
|
+
{ "name": "initialized", "type": "boolean" }
|
|
1903
|
+
],
|
|
1904
|
+
"events": [
|
|
1905
|
+
{
|
|
1906
|
+
"name": "timeout",
|
|
1907
|
+
"type": "EventEmitter<\n Parameters<Required<DBLoadingIndicatorProps>[\"onTimeout\"]>[number]\n > | void"
|
|
1908
|
+
}
|
|
1909
|
+
]
|
|
1910
|
+
}
|
|
1911
|
+
},
|
|
1769
1912
|
{
|
|
1770
1913
|
"name": "db-tooltip",
|
|
1771
1914
|
"description": "\n---\n\n\n### **Slots:**\n - **children** - default slot",
|
|
@@ -1799,17 +1942,17 @@
|
|
|
1799
1942
|
{
|
|
1800
1943
|
"name": "animation",
|
|
1801
1944
|
"description": "Disable animation",
|
|
1802
|
-
"value": { "type": "
|
|
1945
|
+
"value": { "type": "string" }
|
|
1803
1946
|
},
|
|
1804
1947
|
{
|
|
1805
1948
|
"name": "delay",
|
|
1806
|
-
"description": "Add a delay before showing the
|
|
1949
|
+
"description": "Add a delay before showing the component",
|
|
1807
1950
|
"value": { "type": "\"none\" | \"slow\" | \"fast\"" }
|
|
1808
1951
|
},
|
|
1809
1952
|
{
|
|
1810
1953
|
"name": "width",
|
|
1811
1954
|
"description": "Use fixed with for default max-width",
|
|
1812
|
-
"value": { "type": "
|
|
1955
|
+
"value": { "type": "string" }
|
|
1813
1956
|
},
|
|
1814
1957
|
{
|
|
1815
1958
|
"name": "show-arrow",
|
|
@@ -1846,20 +1989,15 @@
|
|
|
1846
1989
|
"description": "The emphasis attribute divides in between a weak or strong importance.",
|
|
1847
1990
|
"type": "\"weak\" | \"strong\""
|
|
1848
1991
|
},
|
|
1849
|
-
{
|
|
1850
|
-
"name": "animation",
|
|
1851
|
-
"description": "Disable animation",
|
|
1852
|
-
"type": "boolean | string"
|
|
1853
|
-
},
|
|
1992
|
+
{ "name": "animation", "description": "Disable animation" },
|
|
1854
1993
|
{
|
|
1855
1994
|
"name": "delay",
|
|
1856
|
-
"description": "Add a delay before showing the
|
|
1995
|
+
"description": "Add a delay before showing the component",
|
|
1857
1996
|
"type": "\"none\" | \"slow\" | \"fast\""
|
|
1858
1997
|
},
|
|
1859
1998
|
{
|
|
1860
1999
|
"name": "width",
|
|
1861
|
-
"description": "Use fixed with for default max-width"
|
|
1862
|
-
"type": "\"auto\" | \"fixed\""
|
|
2000
|
+
"description": "Use fixed with for default max-width"
|
|
1863
2001
|
},
|
|
1864
2002
|
{
|
|
1865
2003
|
"name": "showArrow",
|
|
@@ -2239,13 +2377,13 @@
|
|
|
2239
2377
|
"value": { "type": "string" }
|
|
2240
2378
|
},
|
|
2241
2379
|
{
|
|
2242
|
-
"name": "
|
|
2243
|
-
"description": "Dropdown - hint if
|
|
2380
|
+
"name": "no-results-text",
|
|
2381
|
+
"description": "Dropdown - hint if there are no options",
|
|
2244
2382
|
"value": { "type": "string" }
|
|
2245
2383
|
},
|
|
2246
2384
|
{
|
|
2247
|
-
"name": "
|
|
2248
|
-
"description": "Dropdown - hint if
|
|
2385
|
+
"name": "loading-text",
|
|
2386
|
+
"description": "Dropdown - hint if data has to be loaded",
|
|
2249
2387
|
"value": { "type": "string" }
|
|
2250
2388
|
},
|
|
2251
2389
|
{
|
|
@@ -2501,13 +2639,13 @@
|
|
|
2501
2639
|
"type": "string"
|
|
2502
2640
|
},
|
|
2503
2641
|
{
|
|
2504
|
-
"name": "
|
|
2505
|
-
"description": "Dropdown - hint if
|
|
2642
|
+
"name": "noResultsText",
|
|
2643
|
+
"description": "Dropdown - hint if there are no options",
|
|
2506
2644
|
"type": "string"
|
|
2507
2645
|
},
|
|
2508
2646
|
{
|
|
2509
|
-
"name": "
|
|
2510
|
-
"description": "Dropdown - hint if
|
|
2647
|
+
"name": "loadingText",
|
|
2648
|
+
"description": "Dropdown - hint if data has to be loaded",
|
|
2511
2649
|
"type": "string"
|
|
2512
2650
|
},
|
|
2513
2651
|
{
|
|
@@ -3430,11 +3568,6 @@
|
|
|
3430
3568
|
"description": "React specific for adding className to the component.",
|
|
3431
3569
|
"value": { "type": "string" }
|
|
3432
3570
|
},
|
|
3433
|
-
{
|
|
3434
|
-
"name": "aria-live",
|
|
3435
|
-
"description": "The arialive attribute will lead to that the screenreader interrupts immediately\nand reads out the notification if set to \"assertive\", while it will wait for the\nuser's idleness when set to \"polite\", compare to [aria-live](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-live)",
|
|
3436
|
-
"value": { "type": "\"assertive\" | \"polite\" | \"off\"" }
|
|
3437
|
-
},
|
|
3438
3571
|
{
|
|
3439
3572
|
"name": "semantic",
|
|
3440
3573
|
"description": "The semantic defines the default variants for most components.",
|
|
@@ -3442,6 +3575,16 @@
|
|
|
3442
3575
|
"type": "\"adaptive\" | \"neutral\" | \"critical\" | \"informational\" | \"warning\" | \"successful\""
|
|
3443
3576
|
}
|
|
3444
3577
|
},
|
|
3578
|
+
{
|
|
3579
|
+
"name": "role",
|
|
3580
|
+
"description": "Sets aria role based on [`aria-role`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles).",
|
|
3581
|
+
"value": { "type": "string" }
|
|
3582
|
+
},
|
|
3583
|
+
{
|
|
3584
|
+
"name": "aria-live",
|
|
3585
|
+
"description": "The arialive attribute will lead to that the screenreader interrupts immediately\nand reads out the notification if set to \"assertive\", while it will wait for the\nuser's idleness when set to \"polite\", compare to [aria-live](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-live)",
|
|
3586
|
+
"value": { "type": "\"assertive\" | \"polite\" | \"off\"" }
|
|
3587
|
+
},
|
|
3445
3588
|
{
|
|
3446
3589
|
"name": "variant",
|
|
3447
3590
|
"description": "The variant attribute changes the styling of the notification.\n- The docked notifications are used e.g. between header and main content to show a global alert.\n- The standalone notifications are used e.g. inside a form to show an alert for a specific field.\n- The overlay notifications are used for absolute and floating notifications like snackbars etc.",
|
|
@@ -3532,16 +3675,21 @@
|
|
|
3532
3675
|
"description": "React specific for adding className to the component.",
|
|
3533
3676
|
"type": "string"
|
|
3534
3677
|
},
|
|
3535
|
-
{
|
|
3536
|
-
"name": "ariaLive",
|
|
3537
|
-
"description": "The arialive attribute will lead to that the screenreader interrupts immediately\nand reads out the notification if set to \"assertive\", while it will wait for the\nuser's idleness when set to \"polite\", compare to [aria-live](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-live)",
|
|
3538
|
-
"type": "\"assertive\" | \"polite\" | \"off\""
|
|
3539
|
-
},
|
|
3540
3678
|
{
|
|
3541
3679
|
"name": "semantic",
|
|
3542
3680
|
"description": "The semantic defines the default variants for most components.",
|
|
3543
3681
|
"type": "\"adaptive\" | \"neutral\" | \"critical\" | \"informational\" | \"warning\" | \"successful\""
|
|
3544
3682
|
},
|
|
3683
|
+
{
|
|
3684
|
+
"name": "role",
|
|
3685
|
+
"description": "Sets aria role based on [`aria-role`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles).",
|
|
3686
|
+
"type": "string"
|
|
3687
|
+
},
|
|
3688
|
+
{
|
|
3689
|
+
"name": "ariaLive",
|
|
3690
|
+
"description": "The arialive attribute will lead to that the screenreader interrupts immediately\nand reads out the notification if set to \"assertive\", while it will wait for the\nuser's idleness when set to \"polite\", compare to [aria-live](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-live)",
|
|
3691
|
+
"type": "\"assertive\" | \"polite\" | \"off\""
|
|
3692
|
+
},
|
|
3545
3693
|
{
|
|
3546
3694
|
"name": "variant",
|
|
3547
3695
|
"description": "The variant attribute changes the styling of the notification.\n- The docked notifications are used e.g. between header and main content to show a global alert.\n- The standalone notifications are used e.g. inside a form to show an alert for a specific field.\n- The overlay notifications are used for absolute and floating notifications like snackbars etc.",
|
|
@@ -3731,7 +3879,7 @@
|
|
|
3731
3879
|
{
|
|
3732
3880
|
"name": "animation",
|
|
3733
3881
|
"description": "Disable animation",
|
|
3734
|
-
"value": { "type": "
|
|
3882
|
+
"value": { "type": "string" }
|
|
3735
3883
|
},
|
|
3736
3884
|
{
|
|
3737
3885
|
"name": "open",
|
|
@@ -3740,13 +3888,13 @@
|
|
|
3740
3888
|
},
|
|
3741
3889
|
{
|
|
3742
3890
|
"name": "delay",
|
|
3743
|
-
"description": "Add a delay before showing the
|
|
3891
|
+
"description": "Add a delay before showing the component",
|
|
3744
3892
|
"value": { "type": "\"none\" | \"slow\" | \"fast\"" }
|
|
3745
3893
|
},
|
|
3746
3894
|
{
|
|
3747
3895
|
"name": "width",
|
|
3748
3896
|
"description": "Use fixed with for default max-width",
|
|
3749
|
-
"value": { "type": "
|
|
3897
|
+
"value": { "type": "string" }
|
|
3750
3898
|
}
|
|
3751
3899
|
],
|
|
3752
3900
|
"slots": [
|
|
@@ -3784,11 +3932,7 @@
|
|
|
3784
3932
|
"description": "If the absolute element should have a gap between the parent element.",
|
|
3785
3933
|
"type": "boolean | string"
|
|
3786
3934
|
},
|
|
3787
|
-
{
|
|
3788
|
-
"name": "animation",
|
|
3789
|
-
"description": "Disable animation",
|
|
3790
|
-
"type": "boolean | string"
|
|
3791
|
-
},
|
|
3935
|
+
{ "name": "animation", "description": "Disable animation" },
|
|
3792
3936
|
{
|
|
3793
3937
|
"name": "open",
|
|
3794
3938
|
"description": "Use open to disable the default hover/focus behavior to use it on click or other trigger.",
|
|
@@ -3796,13 +3940,12 @@
|
|
|
3796
3940
|
},
|
|
3797
3941
|
{
|
|
3798
3942
|
"name": "delay",
|
|
3799
|
-
"description": "Add a delay before showing the
|
|
3943
|
+
"description": "Add a delay before showing the component",
|
|
3800
3944
|
"type": "\"none\" | \"slow\" | \"fast\""
|
|
3801
3945
|
},
|
|
3802
3946
|
{
|
|
3803
3947
|
"name": "width",
|
|
3804
|
-
"description": "Use fixed with for default max-width"
|
|
3805
|
-
"type": "\"auto\" | \"fixed\""
|
|
3948
|
+
"description": "Use fixed with for default max-width"
|
|
3806
3949
|
},
|
|
3807
3950
|
{ "name": "initialized", "type": "boolean" },
|
|
3808
3951
|
{ "name": "isExpanded", "type": "boolean" },
|
|
@@ -4091,16 +4234,21 @@
|
|
|
4091
4234
|
"description": "When the required attribute specified, the user will be required to fill the form element before submitting the form.\nThe form element will be marked semantically as required and by default also visually with an asterisk '*' next to the label (unless the property `showRequiredAsterisk` is also set with the value `false`).",
|
|
4092
4235
|
"value": { "type": "boolean | string" }
|
|
4093
4236
|
},
|
|
4094
|
-
{
|
|
4095
|
-
"name": "classname",
|
|
4096
|
-
"description": "React specific for adding className to the component.",
|
|
4097
|
-
"value": { "type": "string" }
|
|
4098
|
-
},
|
|
4099
4237
|
{
|
|
4100
4238
|
"name": "variant",
|
|
4101
4239
|
"description": "Change the variant of the label to float or hidden",
|
|
4102
4240
|
"value": { "type": "\"above\" | \"floating\"" }
|
|
4103
4241
|
},
|
|
4242
|
+
{
|
|
4243
|
+
"name": "show-empty-option",
|
|
4244
|
+
"description": "Controls whether the empty placeholder option is shown in the dropdown after the user's selection of another option.\nBy default, it is shown for non-required selects and hidden for required selects.\nSet to `true` to always show or `false` to always hide the empty option.\n\nNote: The empty option is only rendered when `variant === 'floating'` or a `placeholder` is set.\nSetting `showEmptyOption` alone has no effect if neither of these conditions is met.",
|
|
4245
|
+
"value": { "type": "boolean" }
|
|
4246
|
+
},
|
|
4247
|
+
{
|
|
4248
|
+
"name": "classname",
|
|
4249
|
+
"description": "React specific for adding className to the component.",
|
|
4250
|
+
"value": { "type": "string" }
|
|
4251
|
+
},
|
|
4104
4252
|
{
|
|
4105
4253
|
"name": "show-label",
|
|
4106
4254
|
"description": "Enables/disables the visibility of the label",
|
|
@@ -4239,16 +4387,21 @@
|
|
|
4239
4387
|
"description": "When the required attribute specified, the user will be required to fill the form element before submitting the form.\nThe form element will be marked semantically as required and by default also visually with an asterisk '*' next to the label (unless the property `showRequiredAsterisk` is also set with the value `false`).",
|
|
4240
4388
|
"type": "boolean | string"
|
|
4241
4389
|
},
|
|
4242
|
-
{
|
|
4243
|
-
"name": "className",
|
|
4244
|
-
"description": "React specific for adding className to the component.",
|
|
4245
|
-
"type": "string"
|
|
4246
|
-
},
|
|
4247
4390
|
{
|
|
4248
4391
|
"name": "variant",
|
|
4249
4392
|
"description": "Change the variant of the label to float or hidden",
|
|
4250
4393
|
"type": "\"above\" | \"floating\""
|
|
4251
4394
|
},
|
|
4395
|
+
{
|
|
4396
|
+
"name": "showEmptyOption",
|
|
4397
|
+
"description": "Controls whether the empty placeholder option is shown in the dropdown after the user's selection of another option.\nBy default, it is shown for non-required selects and hidden for required selects.\nSet to `true` to always show or `false` to always hide the empty option.\n\nNote: The empty option is only rendered when `variant === 'floating'` or a `placeholder` is set.\nSetting `showEmptyOption` alone has no effect if neither of these conditions is met.",
|
|
4398
|
+
"type": "boolean"
|
|
4399
|
+
},
|
|
4400
|
+
{
|
|
4401
|
+
"name": "className",
|
|
4402
|
+
"description": "React specific for adding className to the component.",
|
|
4403
|
+
"type": "string"
|
|
4404
|
+
},
|
|
4252
4405
|
{
|
|
4253
4406
|
"name": "showLabel",
|
|
4254
4407
|
"description": "Enables/disables the visibility of the label",
|
|
@@ -5653,6 +5806,118 @@
|
|
|
5653
5806
|
],
|
|
5654
5807
|
"events": []
|
|
5655
5808
|
}
|
|
5809
|
+
},
|
|
5810
|
+
{
|
|
5811
|
+
"name": "loading-indicator-button",
|
|
5812
|
+
"description": "\n---\n",
|
|
5813
|
+
"doc-url": "https://design-system.deutschebahn.com/core-web/review/main/components/loading-indicator-button/properties",
|
|
5814
|
+
"attributes": [],
|
|
5815
|
+
"events": [],
|
|
5816
|
+
"js": { "properties": [], "events": [] }
|
|
5817
|
+
},
|
|
5818
|
+
{
|
|
5819
|
+
"name": "loading-indicator-delay",
|
|
5820
|
+
"description": "\n---\n",
|
|
5821
|
+
"doc-url": "https://design-system.deutschebahn.com/core-web/review/main/components/loading-indicator-delay/properties",
|
|
5822
|
+
"attributes": [],
|
|
5823
|
+
"events": [],
|
|
5824
|
+
"js": { "properties": [], "events": [] }
|
|
5825
|
+
},
|
|
5826
|
+
{
|
|
5827
|
+
"name": "loading-indicator-density",
|
|
5828
|
+
"description": "\n---\n",
|
|
5829
|
+
"doc-url": "https://design-system.deutschebahn.com/core-web/review/main/components/loading-indicator-density/properties",
|
|
5830
|
+
"attributes": [],
|
|
5831
|
+
"events": [],
|
|
5832
|
+
"js": { "properties": [], "events": [] }
|
|
5833
|
+
},
|
|
5834
|
+
{
|
|
5835
|
+
"name": "loading-indicator-indeterminate",
|
|
5836
|
+
"description": "\n---\n",
|
|
5837
|
+
"doc-url": "https://design-system.deutschebahn.com/core-web/review/main/components/loading-indicator-indeterminate/properties",
|
|
5838
|
+
"attributes": [],
|
|
5839
|
+
"events": [],
|
|
5840
|
+
"js": { "properties": [], "events": [] }
|
|
5841
|
+
},
|
|
5842
|
+
{
|
|
5843
|
+
"name": "loading-indicator-overlay",
|
|
5844
|
+
"description": "\n---\n",
|
|
5845
|
+
"doc-url": "https://design-system.deutschebahn.com/core-web/review/main/components/loading-indicator-overlay/properties",
|
|
5846
|
+
"attributes": [],
|
|
5847
|
+
"events": [],
|
|
5848
|
+
"js": { "properties": [], "events": [] }
|
|
5849
|
+
},
|
|
5850
|
+
{
|
|
5851
|
+
"name": "loading-indicator-show-label",
|
|
5852
|
+
"description": "\n---\n",
|
|
5853
|
+
"doc-url": "https://design-system.deutschebahn.com/core-web/review/main/components/loading-indicator-show-label/properties",
|
|
5854
|
+
"attributes": [],
|
|
5855
|
+
"events": [],
|
|
5856
|
+
"js": { "properties": [], "events": [] }
|
|
5857
|
+
},
|
|
5858
|
+
{
|
|
5859
|
+
"name": "loading-indicator-show-progress-text",
|
|
5860
|
+
"description": "\n---\n",
|
|
5861
|
+
"doc-url": "https://design-system.deutschebahn.com/core-web/review/main/components/loading-indicator-show-progress-text/properties",
|
|
5862
|
+
"attributes": [],
|
|
5863
|
+
"events": [],
|
|
5864
|
+
"js": { "properties": [], "events": [] }
|
|
5865
|
+
},
|
|
5866
|
+
{
|
|
5867
|
+
"name": "loading-indicator-size",
|
|
5868
|
+
"description": "\n---\n",
|
|
5869
|
+
"doc-url": "https://design-system.deutschebahn.com/core-web/review/main/components/loading-indicator-size/properties",
|
|
5870
|
+
"attributes": [],
|
|
5871
|
+
"events": [],
|
|
5872
|
+
"js": { "properties": [], "events": [] }
|
|
5873
|
+
},
|
|
5874
|
+
{
|
|
5875
|
+
"name": "loading-indicator-state-determinate",
|
|
5876
|
+
"description": "\n---\n",
|
|
5877
|
+
"doc-url": "https://design-system.deutschebahn.com/core-web/review/main/components/loading-indicator-state-determinate/properties",
|
|
5878
|
+
"attributes": [],
|
|
5879
|
+
"events": [],
|
|
5880
|
+
"js": { "properties": [], "events": [] }
|
|
5881
|
+
},
|
|
5882
|
+
{
|
|
5883
|
+
"name": "loading-indicator-state",
|
|
5884
|
+
"description": "\n---\n",
|
|
5885
|
+
"doc-url": "https://design-system.deutschebahn.com/core-web/review/main/components/loading-indicator-state/properties",
|
|
5886
|
+
"attributes": [],
|
|
5887
|
+
"events": [],
|
|
5888
|
+
"js": { "properties": [], "events": [] }
|
|
5889
|
+
},
|
|
5890
|
+
{
|
|
5891
|
+
"name": "loading-indicator-timeout",
|
|
5892
|
+
"description": "\n---\n",
|
|
5893
|
+
"doc-url": "https://design-system.deutschebahn.com/core-web/review/main/components/loading-indicator-timeout/properties",
|
|
5894
|
+
"attributes": [],
|
|
5895
|
+
"events": [],
|
|
5896
|
+
"js": {
|
|
5897
|
+
"properties": [{ "name": "loadingState", "type": "string" }],
|
|
5898
|
+
"events": []
|
|
5899
|
+
}
|
|
5900
|
+
},
|
|
5901
|
+
{
|
|
5902
|
+
"name": "loading-indicator-showcase",
|
|
5903
|
+
"description": "\n---\n",
|
|
5904
|
+
"doc-url": "https://design-system.deutschebahn.com/core-web/review/main/components/loading-indicator-showcase/properties",
|
|
5905
|
+
"attributes": [
|
|
5906
|
+
{
|
|
5907
|
+
"name": "is-patternhub",
|
|
5908
|
+
"value": { "type": "PatternhubProps[\"isPatternhub\"]" }
|
|
5909
|
+
}
|
|
5910
|
+
],
|
|
5911
|
+
"events": [],
|
|
5912
|
+
"js": {
|
|
5913
|
+
"properties": [
|
|
5914
|
+
{
|
|
5915
|
+
"name": "isPatternhub",
|
|
5916
|
+
"type": "PatternhubProps[\"isPatternhub\"]"
|
|
5917
|
+
}
|
|
5918
|
+
],
|
|
5919
|
+
"events": []
|
|
5920
|
+
}
|
|
5656
5921
|
}
|
|
5657
5922
|
]
|
|
5658
5923
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@db-ux/wc-core-components",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.0-loading-567cd0c",
|
|
4
4
|
"description": "Stencil components for @db-ux/core-components",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@custom-elements-manifest/analyzer": "0.11.0",
|
|
38
|
-
"@stencil/core": "4.41.
|
|
38
|
+
"@stencil/core": "4.41.3",
|
|
39
39
|
"cem-plugin-expanded-types": "1.4.0",
|
|
40
40
|
"custom-element-jet-brains-integration": "1.7.0",
|
|
41
41
|
"custom-element-vs-code-integration": "1.5.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"web-types": "./dist/web-types.json",
|
|
49
49
|
"customElements": "dist/custom-elements.json",
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@db-ux/core-components": "4.
|
|
52
|
-
"@db-ux/core-foundations": "4.
|
|
51
|
+
"@db-ux/core-components": "4.4.0-loading-567cd0c",
|
|
52
|
+
"@db-ux/core-foundations": "4.4.0-loading-567cd0c"
|
|
53
53
|
}
|
|
54
54
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as s}from"./p-9pYJFapZ.js";import{c as a}from"./p-BwBkekqp.js";const i=class{constructor(s){t(this,s)}enableAttributePassing(t,s){const a=null==t?void 0:t.closest(s);if(t&&a){const s=a.attributes;for(let i=0;i<s.length;i++){const c=s.item(i);if(c&&(c.name.startsWith("data-")||c.name.startsWith("aria-"))&&(t.setAttribute(c.name,c.value),a.removeAttribute(c.name)),c&&"class"===c.name){const s=c.value.includes("hydrated"),i=c.value.replace("hydrated","").trim(),o=t.getAttribute("class");t.setAttribute(c.name,`${o?`${o} `:""}${i}`),s?a.setAttribute("class","hydrated"):a.removeAttribute(c.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-icon")}render(){return s("span",{key:"3a67532009f85e493784e99774e230f52c588ccc",class:a("db-icon",this.className),"aria-hidden":"true",ref:t=>{this._ref=t},id:this.id,"data-icon":this.icon,"data-icon-weight":this.weight,"data-icon-variant":this.variant},this.text?this.text:s("slot",null))}};export{i as db_icon}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,c as e,h as d}from"./p-9pYJFapZ.js";import{p as c}from"./p-BdL-nI5y.js";import{a as t,e as s,c as i}from"./p-BwBkekqp.js";import{i as b}from"./p-sP2NlPcu.js";import"./p-G-TursYV.js";const n=class{constructor(d){a(this,d),this.toggle=e(this,"toggle"),this.initialized=!1,this.forcedToMobile=!1}handleToggle(a){a&&a.stopPropagation&&a.stopPropagation();const e=!s(this.drawerOpen,"drawerOpen");this.toggle&&this.toggle.emit(e)}handleNavigationItemClick(a){b(a)&&this.handleToggle()}enableAttributePassing(a,e){const d=null==a?void 0:a.closest(e);if(a&&d){const e=d.attributes;for(let c=0;c<e.length;c++){const t=e.item(c);if(t&&(t.name.startsWith("data-")||t.name.startsWith("aria-"))&&(a.setAttribute(t.name,t.value),d.removeAttribute(t.name)),t&&"class"===t.name){const e=t.value.includes("hydrated"),c=t.value.replace("hydrated","").trim(),s=a.getAttribute("class");a.setAttribute(t.name,`${s?`${s} `:""}${c}`),e?d.setAttribute("class","hydrated"):d.removeAttribute(t.name)}}}}watch0Fn(){this.initialized&&this._ref&&this.forceMobile&&(t(this._ref,{key:"data-force-mobile",value:"true"}),this.forcedToMobile=!0)}watch0(){this.watch0Fn()}componentDidLoad(){this.enableAttributePassing(this._ref,"db-header"),this.initialized=!0,this.watch0Fn()}render(){var a;return d("header",{key:"f9850f5a6f59bee2ed97db4baea343e07aaff91a",class:i("db-header",this.className),ref:a=>{this._ref=a},id:this.id,"data-width":this.width,"data-on-forcing-mobile":this.forceMobile&&!this.forcedToMobile},d("db-drawer",{key:"32f62d8f0bf634e96cf7b0e96721fcd40aa3a3eb",class:"db-header-drawer",spacing:"small",rounded:!0,closeButtonId:this.closeButtonId,closeButtonText:this.closeButtonText,open:s(this.drawerOpen),onClose:()=>this.handleToggle()},d("div",{key:"a42c28439d07e97a3842efe4fa1c143c23691b5f",class:"db-header-drawer-navigation"},d("div",{key:"141165e04574db312d51b0b4c376c53ddace243e",class:"db-header-navigation",onClick:a=>this.handleNavigationItemClick(a)},d("slot",{key:"2208e0677b1f15da56fd6be230523559fcb5f1da"})),d("div",{key:"fb980500cdb2f6f3ce2fce2489c48ac27ebd256a",class:"db-header-meta-navigation"},d("slot",{key:"7eea7189a1e82821fc3f0bd600bda5a040382e88",name:"metaNavigation"}))),d("div",{key:"a492419586593d43edbada69ad136ad832902e15",class:"db-header-secondary-action"},d("slot",{key:"90ed75a19c230c3a2af94b8e0b397c8712f9a0df",name:"secondaryAction"}))),d("div",{key:"1d0451bd1f522f51cbd2bab3cd1b7c316fd644b4",class:"db-header-meta-navigation"},d("slot",{key:"d92c5a30a0131225f2b7b1428c5121fed241d8a7",name:"metaNavigation"})),d("div",{key:"f65c8e6b2b997c281046f20e1ac7c89d8b5697f6",class:"db-header-navigation-bar"},d("div",{key:"be1e1017417595bbb4ff845b650f5edef1f4fd49",class:"db-header-brand-container"},d("slot",{key:"5552b137967ae4659887ad67514fd0078ced1473",name:"brand"})),d("div",{key:"682e11b41f5131feb17cdf1e175b9bbcf8399740",class:"db-header-navigation-container"},d("div",{key:"29f5a7afa6d8c014f6e574d72198289970e5324e",class:"db-header-navigation"},d("slot",{key:"f03956cf3368d3ec0dbaab3b3091c276eaf03a92"})),d("div",{key:"8a81b9ee537f84e14c9d41acf323552d6f239748",class:"db-header-primary-action"},d("slot",{key:"78ae4dbdc9bcad5bd4bd951a0a334c47cb35bcf6",name:"primaryAction"}))),d("div",{key:"e1e913c181df2f73cc9fe4cda17f505a26b1ad04",class:"db-header-action-container"},d("div",{key:"92d7c9c0e50f9aa86e15c18a2ac7dddabc241358",class:"db-header-burger-menu-container"},d("db-button",{key:"775ca507ba24b19e411e529e9ad67fcdfa6f3dea",icon:"menu",variant:"ghost",noText:!0,onClick:()=>this.handleToggle()},null!==(a=this.burgerMenuLabel)&&void 0!==a?a:c)),d("div",{key:"7cd5a16e27c72e3e0635056df8bcb7f45461c9fb",class:"db-header-secondary-action"},d("slot",{key:"09669c165311f8dc95961c64900d5ab36281700a",name:"secondaryAction"})))))}static get watchers(){return{initialized:[{watch0:0}],_ref:[{watch0:0}]}}};export{n as db_header}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as t}from"./p-9pYJFapZ.js";import{c as a}from"./p-BwBkekqp.js";const i=class{constructor(t){s(this,t)}enableAttributePassing(s,t){const a=null==s?void 0:s.closest(t);if(s&&a){const t=a.attributes;for(let i=0;i<t.length;i++){const c=t.item(i);if(c&&(c.name.startsWith("data-")||c.name.startsWith("aria-"))&&(s.setAttribute(c.name,c.value),a.removeAttribute(c.name)),c&&"class"===c.name){const t=c.value.includes("hydrated"),i=c.value.replace("hydrated","").trim(),e=s.getAttribute("class");s.setAttribute(c.name,`${e?`${e} `:""}${i}`),t?a.setAttribute("class","hydrated"):a.removeAttribute(c.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-section")}render(){return t("section",{key:"2d9f2702a0f18b257a3517ff002ff45984e07016",class:a("db-section",this.className),ref:s=>{this._ref=s},id:this.id,"data-spacing":this.spacing||"medium","data-width":this.width},t("slot",{key:"c432a712362af876cadc2c40946280272886e74c"}))}};export{i as db_section}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,c as t,h as s}from"./p-9pYJFapZ.js";import{l as h,g as a,h as d,f as e,k as l,b as n,r as o,a as c}from"./p-BdL-nI5y.js";import{h as r,d as v,s as u,u as f,f as b,e as m,l as p,c as w}from"./p-BwBkekqp.js";import{c as y}from"./p-Cb-k135w.js";const k=class{constructor(s){i(this,s),this.input=t(this,"input"),this.change=t(this,"change"),this.blur=t(this,"blur"),this.focus=t(this,"focus"),this._id=void 0,this._messageId=void 0,this._validMessageId=void 0,this._invalidMessageId=void 0,this._invalidMessage=void 0,this._descByIds=void 0,this._value="",this._voiceOverFallback="",this.abortController=void 0}hasValidState(){var i;return!!(null!==(i=this.validMessage)&&void 0!==i?i:"valid"===this.validation)}handleValidation(){var i,t,s,a;(null===(i=this._ref)||void 0===i?void 0:i.validity.valid)&&"invalid"!==this.validation?this.hasValidState()&&(null===(s=this._ref)||void 0===s?void 0:s.validity.valid)&&(this.required||this.minLength||this.maxLength)?(this._descByIds=this._validMessageId,r()&&(this._voiceOverFallback=null!==(a=this.validMessage)&&void 0!==a?a:l,v((()=>this._voiceOverFallback=""),1e3))):this._descByIds=u(this.message,this.showMessage)?this._messageId:void 0:(this._descByIds=this._invalidMessageId,this._invalidMessage=this.invalidMessage||(null===(t=this._ref)||void 0===t?void 0:t.validationMessage)||h,r()&&(this._voiceOverFallback=this._invalidMessage,v((()=>this._voiceOverFallback=""),1e3)))}handleInput(i,t){this.input&&this.input.emit(i),this.handleValidation()}handleChange(i,t){this.change&&this.change.emit(i),this.handleValidation()}handleBlur(i){this.blur&&this.blur.emit(i)}handleFocus(i){this.focus&&this.focus.emit(i)}enableAttributePassing(i,t){const s=null==i?void 0:i.closest(t);if(i&&s){const t=s.attributes;for(let h=0;h<t.length;h++){const a=t.item(h);if(a&&(a.name.startsWith("data-")||a.name.startsWith("aria-"))&&(i.setAttribute(a.name,a.value),s.removeAttribute(a.name)),a&&"class"===a.name){const t=a.value.includes("hydrated"),h=a.value.replace("hydrated","").trim(),d=i.getAttribute("class");i.setAttribute(a.name,`${d?`${d} `:""}${h}`),t?s.setAttribute("class","hydrated"):s.removeAttribute(a.name)}}}}watch0Fn(){var i;this._invalidMessage=this.invalidMessage||(null===(i=this._ref)||void 0===i?void 0:i.validationMessage)||h}watch0(){this.watch0Fn()}watch1Fn(){if(this._id){const i=this._id+e;this._messageId=i,this._validMessageId=this._id+a,this._invalidMessageId=this._id+d,u(this.message,this.showMessage)&&(this._descByIds=i),this.handleValidation()}}watch1(){this.watch1Fn()}watch2Fn(){void 0!==this.value&&(this._value=this.value)}watch2(){this.watch2Fn()}watch3Fn(){if(this._ref){const i=void 0;let t=this.abortController;t||(t=new AbortController,this.abortController=t),y(this._ref,{value:this.value,defaultValue:i},(i=>{this.handleChange(i,!0),this.handleInput(i,!0)}),t.signal)}}watch3(){this.watch3Fn()}componentDidLoad(){var i;this.enableAttributePassing(this._ref,"db-textarea");const t=null!==(i=this.id)&&void 0!==i?i:`textarea-${f()}`;this._id=t,this._messageId=t+e,this._validMessageId=t+a,this._invalidMessageId=t+d,this._invalidMessage=this.invalidMessage||h,this.watch0Fn(),this.watch1Fn(),this.watch2Fn(),this.watch3Fn()}disconnectedCallback(){var i;null===(i=this.abortController)||void 0===i||i.abort()}render(){var i,t,h,a,d;return s("div",{key:"3ac7e870ca2c9d8f366f07797fc15c238ddeab50",class:w("db-textarea",this.className),"data-variant":this.variant,"data-hide-asterisk":p(this.showRequiredAsterisk),"data-hide-label":p(this.showLabel)},s("label",{key:"d3d0e209d0a14a54975cce835e50e4f57d09d1bd",htmlFor:this._id},null!==(i=this.label)&&void 0!==i?i:c),s("textarea",{key:"7e7dce4db9a84230a9c736039eefd58022944cf8","aria-invalid":"invalid"===this.validation,"data-custom-validity":this.validation,"data-field-sizing":this.fieldSizing,ref:i=>{this._ref=i},id:this._id,"data-resize":this.resize,"data-hide-resizer":p(null===(t=this.showResizer)||void 0===t||t),disabled:m(this.disabled,"disabled"),required:m(this.required,"required"),readOnly:m(this.readOnly,"readOnly")||m(this.readonly,"readonly"),form:this.form,maxLength:b(this.maxLength,this.maxlength),minLength:b(this.minLength,this.minlength),name:this.name,wrap:this.wrap,spellcheck:this.spellCheck,autocomplete:this.autocomplete,onInput:i=>this.handleInput(i),onChange:i=>this.handleChange(i),onBlur:i=>this.handleBlur(i),onFocus:i=>this.handleFocus(i),value:null!==(h=this.value)&&void 0!==h?h:this._value,"aria-describedby":null!==(a=this.ariaDescribedBy)&&void 0!==a?a:this._descByIds,placeholder:null!==(d=this.placeholder)&&void 0!==d?d:n,rows:b(this.rows,o),cols:b(this.cols)}),u(this.message,this.showMessage)?s("db-infotext",{size:"small",icon:this.messageIcon,id:this._messageId},this.message):null,this.hasValidState()?s("db-infotext",{size:"small",semantic:"successful",id:this._validMessageId},this.validMessage||l):null,s("db-infotext",{key:"dc153c224d3acafa0a8d7f3ad37317b76cba01b8",size:"small",semantic:"critical",id:this._invalidMessageId},this._invalidMessage),s("span",{key:"21cd2120d06ec2891979d7a7fc0f1041031dabf2","data-visually-hidden":"true",role:"status"},this._voiceOverFallback))}static get watchers(){return{_ref:[{watch0:0},{watch3:0}],invalidMessage:[{watch0:0}],_id:[{watch1:0}],value:[{watch2:0}]}}};export{k as db_textarea}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as s,c as i}from"./p-9pYJFapZ.js";import{c as a,e as h,u as e,g as d,h as o,d as l,s as c,i as n,k as r,f as u,j as b,b as f,l as v}from"./p-BwBkekqp.js";import{l as m,g as p,h as y,j as k,f as w,k as g,b as x,a as $,m as _}from"./p-BdL-nI5y.js";import{c as F}from"./p-Cb-k135w.js";const C=class{constructor(s){t(this,s),this.width="fixed"}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let a=0;a<s.length;a++){const h=s.item(a);if(h&&(h.name.startsWith("data-")||h.name.startsWith("aria-"))&&(t.setAttribute(h.name,h.value),i.removeAttribute(h.name)),h&&"class"===h.name){const s=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(h.name,`${e?`${e} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(h.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-custom-select-dropdown")}render(){return s("article",{key:"98087cc1db985bbb2e2578cb9e2c78bc3a0c3b23",class:a("db-custom-select-dropdown db-card",this.className),"data-spacing":"none",ref:t=>{this._ref=t},id:this.id,"data-width":this.width},s("slot",{key:"25bcaa79bdf8168feffce0a59c0adbc656023e64"}))}},L=class{constructor(s){t(this,s)}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let a=0;a<s.length;a++){const h=s.item(a);if(h&&(h.name.startsWith("data-")||h.name.startsWith("aria-"))&&(t.setAttribute(h.name,h.value),i.removeAttribute(h.name)),h&&"class"===h.name){const s=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(h.name,`${e?`${e} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(h.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-custom-select-list")}render(){return s("div",{key:"f47e219aac45d07e958a94969205260af981bcf1",class:a("db-custom-select-list",this.className),role:this.multiple?"group":"radiogroup","aria-label":this.label,ref:t=>{this._ref=t},id:this.id},s("ul",{key:"adca0d159ec4cd5d2dc46f11fe41006276dba94f"},s("slot",{key:"abb6edfb683a3e4a42512b2185854099c66f1f3c"})))}},A=class{constructor(s){t(this,s),this.change=i(this,"change"),this._id=void 0,this.hasDivider=!1}handleChange(t){t.stopPropagation(),this.change&&this.change.emit(t)}getIconTrailing(){if(!this.isGroupTitle&&"checkbox"!==this.type)return h(this.checked,"checked")?"check":"x_placeholder"}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let a=0;a<s.length;a++){const h=s.item(a);if(h&&(h.name.startsWith("data-")||h.name.startsWith("aria-"))&&(t.setAttribute(h.name,h.value),i.removeAttribute(h.name)),h&&"class"===h.name){const s=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(h.name,`${e?`${e} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(h.name)}}}}watch0Fn(){this.hasDivider=Boolean(this.isGroupTitle||this.showDivider)}watch0(){this.watch0Fn()}componentDidLoad(){var t;this.enableAttributePassing(this._ref,"db-custom-select-list-item"),this._id=null!==(t=this.id)&&void 0!==t?t:`custom-select-list-item-${e()}`,this.watch0Fn()}render(){return s("li",{key:"d94821da8bf1842933f6518079c9e463459bed2b",class:a("db-custom-select-list-item",this.className,{"db-checkbox":"checkbox"===this.type&&!this.isGroupTitle,"db-radio":"checkbox"!==this.type&&!this.isGroupTitle}),ref:t=>{this._ref=t},id:this._id,"data-divider":d(this.hasDivider)},this.isGroupTitle?s("span",null,this.groupTitle):s("label",{"data-icon":"checkbox"!==this.type&&this.icon?this.icon:void 0,"data-show-icon":d(this.showIcon),"data-icon-trailing":this.getIconTrailing()},s("input",{class:"db-custom-select-list-item-checkbox","data-disable-focus":"true",type:this.type,name:this.name,form:this.name,checked:h(this.checked,"checked"),disabled:h(this.disabled,"disabled"),value:this.value,onChange:t=>this.handleChange(t)}),this.label?this.label:s("slot",null)))}static get watchers(){return{isGroupTitle:[{watch0:0}],showDivider:[{watch0:0}]}}},B=class{constructor(s){t(this,s),this.input=i(this,"input"),this.change=i(this,"change"),this.blur=i(this,"blur"),this.focus=i(this,"focus"),this._id=void 0,this._messageId=void 0,this._validMessageId=void 0,this._invalidMessageId=void 0,this._invalidMessage=void 0,this._dataListId=void 0,this._descByIds=void 0,this._value="",this._voiceOverFallback="",this.abortController=void 0}hasValidState(){var t;return!!(null!==(t=this.validMessage)&&void 0!==t?t:"valid"===this.validation)}handleValidation(){var t,s,i,a;(null===(t=this._ref)||void 0===t?void 0:t.validity.valid)&&"invalid"!==this.validation?this.hasValidState()&&(null===(i=this._ref)||void 0===i?void 0:i.validity.valid)&&(this.required||this.minLength||this.maxLength||this.pattern)?(this._descByIds=this._validMessageId,o()&&(this._voiceOverFallback=null!==(a=this.validMessage)&&void 0!==a?a:g,l((()=>this._voiceOverFallback=""),1e3))):this._descByIds=c(this.message,this.showMessage)?this._messageId:void 0:(this._descByIds=this._invalidMessageId,this._invalidMessage=this.invalidMessage||(null===(s=this._ref)||void 0===s?void 0:s.validationMessage)||m,o()&&(this._voiceOverFallback=this._invalidMessage,l((()=>this._voiceOverFallback=""),1e3)))}handleInput(t,s){this.input&&this.input.emit(t),this.handleValidation()}handleChange(t,s){this.change&&this.change.emit(t),this.handleValidation()}handleBlur(t){this.blur&&this.blur.emit(t)}handleFocus(t){this.focus&&this.focus.emit(t)}getDataList(){const t=this.dataList;return Array.from((n(t)?null==t?void 0:t.map((t=>({value:t,label:void 0}))):t)||[])}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let a=0;a<s.length;a++){const h=s.item(a);if(h&&(h.name.startsWith("data-")||h.name.startsWith("aria-"))&&(t.setAttribute(h.name,h.value),i.removeAttribute(h.name)),h&&"class"===h.name){const s=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(h.name,`${e?`${e} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(h.name)}}}}watch0Fn(){var t;this._invalidMessage=this.invalidMessage||(null===(t=this._ref)||void 0===t?void 0:t.validationMessage)||m}watch0(){this.watch0Fn()}watch1Fn(){var t;if(this._id){const s=this._id+w;this._messageId=s,this._validMessageId=this._id+p,this._invalidMessageId=this._id+y,this._dataListId=null!==(t=this.dataListId)&&void 0!==t?t:this._id+k,c(this.message,this.showMessage)&&(this._descByIds=s),this.handleValidation()}}watch1(){this.watch1Fn()}watch2Fn(){void 0!==this.value&&(this._value=this.value)}watch2(){this.watch2Fn()}watch3Fn(){if(this._ref){const t=void 0;let s=this.abortController;s||(s=new AbortController,this.abortController=s),F(this._ref,{value:this.value,defaultValue:t},(t=>{this.handleChange(t,!0),this.handleInput(t,!0)}),s.signal)}}watch3(){this.watch3Fn()}componentDidLoad(){var t;this.enableAttributePassing(this._ref,"db-input");const s=null!==(t=this.id)&&void 0!==t?t:`input-${e()}`;this._id=s,this._messageId=s+w,this._validMessageId=s+p,this._invalidMessageId=s+y,this._dataListId=s+k,this._invalidMessage=this.invalidMessage||m,this.watch0Fn(),this.watch1Fn(),this.watch2Fn(),this.watch3Fn()}disconnectedCallback(){var t;null===(t=this.abortController)||void 0===t||t.abort()}render(){var t,i,e,o,l,n,m,p;return s("div",{key:"b6b5870b00e7a3ef0155004291fc9c646863faa9",class:a("db-input",this.className),"data-variant":this.variant,"data-hide-label":v(this.showLabel),"data-show-icon":d(null!==(t=this.showIconLeading)&&void 0!==t?t:this.showIcon),"data-icon":null!==(i=this.iconLeading)&&void 0!==i?i:this.icon,"data-icon-trailing":this.iconTrailing,"data-hide-asterisk":v(this.showRequiredAsterisk),"data-show-icon-trailing":d(this.showIconTrailing)},s("label",{key:"ac47e1bd7206de27075a86e3b5bf59647cffa8de",htmlFor:this._id},null!==(e=this.label)&&void 0!==e?e:$),s("input",{key:"40170ba9d207c96b4e86232f367a70a3301eb914","aria-invalid":"invalid"===this.validation,"data-custom-validity":this.validation,"data-field-sizing":this.fieldSizing,ref:t=>{this._ref=t},id:this._id,name:this.name,type:this.type||"text",multiple:h(this.multiple,"multiple"),accept:this.accept,placeholder:null!==(o=this.placeholder)&&void 0!==o?o:x,disabled:h(this.disabled,"disabled"),required:h(this.required,"required"),step:b(this.step),value:null!==(l=this.value)&&void 0!==l?l:this._value,maxLength:u(this.maxLength,this.maxlength),minLength:u(this.minLength,this.minlength),max:r(this.max,this.type),min:r(this.min,this.type),readOnly:h(this.readOnly,"readOnly")||h(this.readonly,"readonly"),form:this.form,pattern:this.pattern,size:this.size,autoComplete:this.autocomplete,autoFocus:h(this.autofocus,"autofocus"),enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,onInput:t=>this.handleInput(t),onChange:t=>this.handleChange(t),onBlur:t=>this.handleBlur(t),onFocus:t=>this.handleFocus(t),list:this.dataList&&this._dataListId,"aria-describedby":null!==(n=this.ariaDescribedBy)&&void 0!==n?n:this._descByIds,role:["datetime-local","date","time","week","month","color"].includes(null!==(m=this.type)&&void 0!==m?m:"")&&f()?"textbox":void 0}),this.dataList?s("datalist",{id:this._dataListId},null===(p=this.getDataList())||void 0===p?void 0:p.map((t=>s("option",{key:this._dataListId+"-option-"+t.value,value:t.value},t.label)))):null,s("slot",{key:"dd4cf602903406782a97e88ad8ccb8aacb903421"}),c(this.message,this.showMessage)?s("db-infotext",{size:this.messageSize||"small",icon:this.messageIcon,id:this._messageId},this.message):null,this.hasValidState()?s("db-infotext",{semantic:"successful",id:this._validMessageId,size:this.validMessageSize||"small"},this.validMessage||g):null,s("db-infotext",{key:"081dc92e27a0b81733d3200f97686fbe5fa15f76",semantic:"critical",id:this._invalidMessageId,size:this.invalidMessageSize||"small"},this._invalidMessage),s("span",{key:"43be19988deae0484f47eed9b19e0556238b558d","data-visually-hidden":"true",role:"status"},this._voiceOverFallback))}static get watchers(){return{_ref:[{watch0:0},{watch3:0}],invalidMessage:[{watch0:0}],_id:[{watch1:0}],value:[{watch2:0}]}}},D=class{constructor(s){t(this,s),this.remove=i(this,"remove")}handleRemove(t){t&&(t.stopPropagation(),this.remove&&this.remove.emit(t))}getRemoveButtonText(){return this.removeButton?this.removeButton:_}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let a=0;a<s.length;a++){const h=s.item(a);if(h&&(h.name.startsWith("data-")||h.name.startsWith("aria-"))&&(t.setAttribute(h.name,h.value),i.removeAttribute(h.name)),h&&"class"===h.name){const s=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(h.name,`${e?`${e} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(h.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-tag")}render(){var t;return s("div",{key:"db86fabfde3f9d1e41a863f58db34eb88d067440",class:a("db-tag",this.className),ref:t=>{this._ref=t},id:this.id,"data-semantic":this.semantic,"data-emphasis":this.emphasis,"data-icon":this.icon,"data-show-check-state":d(null===(t=this.showCheckState)||void 0===t||t),"data-show-icon":d(this.showIcon),"data-no-text":d(this.noText),"data-overflow":d(this.overflow)},s("slot",{key:"1bef11e30ca670fa5bf1d438cd12c43e233cded4",name:"content"}),s("slot",{key:"3f94141f60688d0730478711748fa9dbb194f810"}),this.text?this.text:null,"removable"===this.behavior?s("button",{class:"db-button db-tab-remove-button","data-icon":"cross","data-size":"small","data-no-text":"true","data-variant":"ghost",type:"button",onClick:t=>this.handleRemove(t)},s("db-tooltip",{variant:"label"},this.getRemoveButtonText())):null)}};export{C as db_custom_select_dropdown,L as db_custom_select_list,A as db_custom_select_list_item,B as db_input,D as db_tag}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,h as s}from"./p-9pYJFapZ.js";import{D as t}from"./p-BdL-nI5y.js";import{u as i,c as e}from"./p-BwBkekqp.js";const c=class{constructor(s){a(this,s),this._id=t}enableAttributePassing(a,s){const t=null==a?void 0:a.closest(s);if(a&&t){const s=t.attributes;for(let i=0;i<s.length;i++){const e=s.item(i);if(e&&(e.name.startsWith("data-")||e.name.startsWith("aria-"))&&(a.setAttribute(e.name,e.value),t.removeAttribute(e.name)),e&&"class"===e.name){const s=e.value.includes("hydrated"),i=e.value.replace("hydrated","").trim(),c=a.getAttribute("class");a.setAttribute(e.name,`${c?`${c} `:""}${i}`),s?t.setAttribute("class","hydrated"):t.removeAttribute(e.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-navigation"),this._id=this.id||"navigation-"+i()}render(){return s("nav",{key:"ed27159179b89985cbf0711be7dc494ca820cf75",class:e("db-navigation",this.className),ref:a=>{this._ref=a},id:this._id},s("menu",{key:"6aa518535f6c802abec874a174d6e8d028572269"},s("slot",{key:"2307ee2093cf4bcec3c8f4b8d5e8e88a8d78cf08"})))}};export{c as db_navigation}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as d,h as e}from"./p-9pYJFapZ.js";import{c as a,g as t}from"./p-BwBkekqp.js";const s=class{constructor(e){d(this,e),this.fontsLoaded=!1}enableAttributePassing(d,e){const a=null==d?void 0:d.closest(e);if(d&&a){const e=a.attributes;for(let t=0;t<e.length;t++){const s=e.item(t);if(s&&(s.name.startsWith("data-")||s.name.startsWith("aria-"))&&(d.setAttribute(s.name,s.value),a.removeAttribute(s.name)),s&&"class"===s.name){const e=s.value.includes("hydrated"),t=s.value.replace("hydrated","").trim(),c=d.getAttribute("class");d.setAttribute(s.name,`${c?`${c} `:""}${t}`),e?a.setAttribute("class","hydrated"):a.removeAttribute(s.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-page"),this.fontsLoaded=!this.fadeIn,document&&this.fadeIn?document.fonts.ready.then((()=>{this.fontsLoaded=!0})):this.fontsLoaded=!0}disconnectedCallback(){"undefined"!=typeof window&&document.documentElement.classList.contains("db-page-document")&&document.documentElement.classList.remove("db-page-document")}render(){return e("div",{key:"005b795411eb8ae8717d978eae32db515f7f6d87",class:a("db-page",this.className),ref:d=>{this._ref=d},id:this.id,"data-variant":this.variant,"data-fade-in":t(this.fadeIn),"data-fonts-loaded":t(this.fontsLoaded)},e("slot",{key:"d9afe2076d0f115c2e7e8dc362ccd6e1dd3c4df7",name:"header"}),e("main",{key:"2002d9fbc8a71df9d042da0e77dbdce9d9bd9ab5",class:a("db-main",this.mainClass)},e("slot",{key:"40fdc82ff79391f41ba9bd1886959e7f84ab7626"})),e("slot",{key:"0468545812365d7124bf4e3e9f9045aacce6786a",name:"footer"}))}};export{s as db_page}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as s}from"./p-9pYJFapZ.js";import{c as a}from"./p-BwBkekqp.js";const i=class{constructor(s){t(this,s)}enableAttributePassing(t,s){const a=null==t?void 0:t.closest(s);if(t&&a){const s=a.attributes;for(let i=0;i<s.length;i++){const d=s.item(i);if(d&&(d.name.startsWith("data-")||d.name.startsWith("aria-"))&&(t.setAttribute(d.name,d.value),a.removeAttribute(d.name)),d&&"class"===d.name){const s=d.value.includes("hydrated"),i=d.value.replace("hydrated","").trim(),r=t.getAttribute("class");t.setAttribute(d.name,`${r?`${r} `:""}${i}`),s?a.setAttribute("class","hydrated"):a.removeAttribute(d.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-divider")}render(){return s("div",{key:"0e9bf54bcd77ec1c324eb6300162bbf8c67b8c16",class:a("db-divider",this.className),ref:t=>{this._ref=t},id:this.id,"data-margin":this.margin,"data-variant":this.variant,"data-emphasis":this.emphasis,"data-width":this.width})}};export{i as db_divider}
|