@db-ux/wc-core-components 4.9.0-stencil-bundle-ad37ca4 → 4.9.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/CHANGELOG.md +19 -1
- package/README.md +0 -20
- package/dist/cjs/db-accordion-item.cjs.entry.js +4 -25
- package/dist/cjs/db-accordion.cjs.entry.js +3 -10
- package/dist/cjs/db-badge.cjs.entry.js +3 -10
- package/dist/cjs/db-brand.cjs.entry.js +3 -10
- package/dist/cjs/db-button.cjs.entry.js +3 -10
- package/dist/cjs/db-card.cjs.entry.js +3 -10
- package/dist/cjs/db-checkbox.cjs.entry.js +3 -10
- package/dist/cjs/db-custom-button.cjs.entry.js +3 -10
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +10 -45
- package/dist/cjs/db-custom-select-form-field.cjs.entry.js +3 -10
- package/dist/cjs/db-custom-select.cjs.entry.js +6 -13
- package/dist/cjs/db-divider.cjs.entry.js +2 -9
- package/dist/cjs/db-drawer.cjs.entry.js +7 -14
- package/dist/cjs/db-header.cjs.entry.js +3 -10
- package/dist/cjs/db-icon.cjs.entry.js +3 -10
- package/dist/cjs/db-infotext.cjs.entry.js +3 -10
- package/dist/cjs/db-link.cjs.entry.js +3 -10
- package/dist/cjs/db-navigation-item.cjs.entry.js +3 -11
- package/dist/cjs/db-navigation.cjs.entry.js +3 -10
- package/dist/cjs/db-notification.cjs.entry.js +3 -10
- package/dist/cjs/db-page.cjs.entry.js +3 -10
- package/dist/cjs/db-popover.cjs.entry.js +3 -10
- package/dist/cjs/db-radio.cjs.entry.js +3 -10
- package/dist/cjs/db-section.cjs.entry.js +3 -10
- package/dist/cjs/db-select.cjs.entry.js +3 -10
- package/dist/cjs/db-stack.cjs.entry.js +3 -10
- package/dist/cjs/db-switch.cjs.entry.js +3 -10
- package/dist/cjs/db-tab-item_3.cjs.entry.js +7 -28
- package/dist/cjs/db-tabs.cjs.entry.js +3 -10
- package/dist/cjs/db-textarea.cjs.entry.js +3 -10
- package/dist/cjs/db-tooltip.cjs.entry.js +3 -10
- package/dist/cjs/db-ux.cjs.js +2 -2
- package/dist/cjs/{index-DLuhzJ0p.js → index-BoC-BWt4.js} +0 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/components/accordion/accordion.js +2 -9
- package/dist/collection/components/accordion-item/accordion-item.js +4 -51
- package/dist/collection/components/badge/badge.js +2 -9
- package/dist/collection/components/brand/brand.js +2 -9
- package/dist/collection/components/button/button.js +3 -10
- package/dist/collection/components/card/card.js +3 -10
- package/dist/collection/components/checkbox/checkbox.js +3 -10
- package/dist/collection/components/custom-button/custom-button.js +2 -9
- package/dist/collection/components/custom-select/custom-select.js +6 -13
- package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +2 -9
- package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +2 -9
- package/dist/collection/components/custom-select-list/custom-select-list.js +2 -9
- package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +2 -9
- package/dist/collection/components/divider/divider.js +1 -8
- package/dist/collection/components/drawer/drawer.js +8 -15
- package/dist/collection/components/header/header.js +13 -20
- package/dist/collection/components/icon/icon.js +2 -9
- package/dist/collection/components/infotext/infotext.js +2 -9
- package/dist/collection/components/input/input.js +3 -10
- package/dist/collection/components/link/link.js +2 -9
- package/dist/collection/components/navigation/navigation.js +2 -9
- package/dist/collection/components/navigation-item/navigation-item.js +3 -37
- package/dist/collection/components/notification/notification.js +3 -10
- package/dist/collection/components/page/page.js +2 -9
- package/dist/collection/components/popover/popover.js +2 -9
- package/dist/collection/components/radio/radio.js +3 -10
- package/dist/collection/components/section/section.js +2 -9
- package/dist/collection/components/select/select.js +3 -10
- package/dist/collection/components/stack/stack.js +2 -9
- package/dist/collection/components/switch/switch.js +3 -10
- package/dist/collection/components/tab-item/tab-item.js +3 -10
- package/dist/collection/components/tab-list/tab-list.js +2 -9
- package/dist/collection/components/tab-panel/tab-panel.js +2 -9
- package/dist/collection/components/tabs/tabs.js +3 -10
- package/dist/collection/components/tag/tag.js +3 -10
- package/dist/collection/components/textarea/textarea.js +3 -10
- package/dist/collection/components/tooltip/tooltip.js +2 -9
- package/dist/custom-elements.json +36 -2252
- package/dist/db-ux/db-ux.esm.js +1 -1
- package/dist/db-ux/p-1b5d76a8.entry.js +1 -0
- package/dist/db-ux/p-296f989b.entry.js +1 -0
- package/dist/db-ux/p-3ae13ff1.entry.js +1 -0
- package/dist/db-ux/p-43f94079.entry.js +1 -0
- package/dist/db-ux/p-54508bad.entry.js +1 -0
- package/dist/db-ux/p-55e8b0b4.entry.js +1 -0
- package/dist/db-ux/p-69a59559.entry.js +1 -0
- package/dist/db-ux/p-6e7126c6.entry.js +1 -0
- package/dist/db-ux/p-7bed4611.entry.js +1 -0
- package/dist/db-ux/p-8ce816c0.entry.js +1 -0
- package/dist/db-ux/p-8e080864.entry.js +1 -0
- package/dist/db-ux/p-K4o-AcjZ.js +2 -0
- package/dist/db-ux/p-a0eccc08.entry.js +1 -0
- package/dist/db-ux/p-a7c6ec23.entry.js +1 -0
- package/dist/db-ux/p-a82c9875.entry.js +1 -0
- package/dist/db-ux/p-ae445d5d.entry.js +1 -0
- package/dist/db-ux/p-b33abf8d.entry.js +1 -0
- package/dist/db-ux/p-b8ab2bd4.entry.js +1 -0
- package/dist/db-ux/p-bb7c59d2.entry.js +1 -0
- package/dist/db-ux/p-bc510135.entry.js +1 -0
- package/dist/db-ux/p-c85d4be6.entry.js +1 -0
- package/dist/db-ux/p-d206ac6f.entry.js +1 -0
- package/dist/db-ux/p-e22b3725.entry.js +1 -0
- package/dist/db-ux/p-e432c81f.entry.js +1 -0
- package/dist/db-ux/p-e64606e2.entry.js +1 -0
- package/dist/db-ux/p-e8ee154f.entry.js +1 -0
- package/dist/db-ux/p-efb9d9bc.entry.js +1 -0
- package/dist/db-ux/p-f35229a1.entry.js +1 -0
- package/dist/db-ux/p-f582c886.entry.js +1 -0
- package/dist/db-ux/p-f6be9a48.entry.js +1 -0
- package/dist/db-ux/p-fb39506f.entry.js +1 -0
- package/dist/db-ux/p-fb9500ba.entry.js +1 -0
- package/dist/esm/db-accordion-item.entry.js +4 -25
- package/dist/esm/db-accordion.entry.js +3 -10
- package/dist/esm/db-badge.entry.js +3 -10
- package/dist/esm/db-brand.entry.js +3 -10
- package/dist/esm/db-button.entry.js +3 -10
- package/dist/esm/db-card.entry.js +3 -10
- package/dist/esm/db-checkbox.entry.js +3 -10
- package/dist/esm/db-custom-button.entry.js +3 -10
- package/dist/esm/db-custom-select-dropdown_5.entry.js +10 -45
- package/dist/esm/db-custom-select-form-field.entry.js +3 -10
- package/dist/esm/db-custom-select.entry.js +6 -13
- package/dist/esm/db-divider.entry.js +2 -9
- package/dist/esm/db-drawer.entry.js +8 -15
- package/dist/esm/db-header.entry.js +3 -10
- package/dist/esm/db-icon.entry.js +3 -10
- package/dist/esm/db-infotext.entry.js +3 -10
- package/dist/esm/db-link.entry.js +3 -10
- package/dist/esm/db-navigation-item.entry.js +3 -11
- package/dist/esm/db-navigation.entry.js +3 -10
- package/dist/esm/db-notification.entry.js +3 -10
- package/dist/esm/db-page.entry.js +3 -10
- package/dist/esm/db-popover.entry.js +3 -10
- package/dist/esm/db-radio.entry.js +3 -10
- package/dist/esm/db-section.entry.js +3 -10
- package/dist/esm/db-select.entry.js +3 -10
- package/dist/esm/db-stack.entry.js +3 -10
- package/dist/esm/db-switch.entry.js +3 -10
- package/dist/esm/db-tab-item_3.entry.js +7 -28
- package/dist/esm/db-tabs.entry.js +3 -10
- package/dist/esm/db-textarea.entry.js +3 -10
- package/dist/esm/db-tooltip.entry.js +3 -10
- package/dist/esm/db-ux.js +3 -3
- package/dist/esm/{index-Cr2cgn5B.js → index-K4o-AcjZ.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/accordion/accordion.d.ts +0 -1
- package/dist/types/components/accordion/model.d.ts +2 -2
- package/dist/types/components/accordion-item/accordion-item.d.ts +0 -4
- package/dist/types/components/accordion-item/model.d.ts +1 -5
- package/dist/types/components/badge/badge.d.ts +0 -1
- package/dist/types/components/badge/model.d.ts +1 -1
- package/dist/types/components/brand/brand.d.ts +0 -1
- package/dist/types/components/brand/model.d.ts +1 -1
- package/dist/types/components/button/button.d.ts +0 -1
- package/dist/types/components/button/model.d.ts +1 -1
- package/dist/types/components/card/card.d.ts +0 -1
- package/dist/types/components/card/model.d.ts +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +0 -1
- package/dist/types/components/checkbox/model.d.ts +1 -1
- package/dist/types/components/custom-button/custom-button.d.ts +0 -1
- package/dist/types/components/custom-button/model.d.ts +2 -2
- package/dist/types/components/custom-select/custom-select.d.ts +0 -1
- package/dist/types/components/custom-select/model.d.ts +4 -4
- package/dist/types/components/custom-select-dropdown/custom-select-dropdown.d.ts +0 -1
- package/dist/types/components/custom-select-dropdown/model.d.ts +1 -1
- package/dist/types/components/custom-select-form-field/custom-select-form-field.d.ts +0 -1
- package/dist/types/components/custom-select-form-field/model.d.ts +1 -1
- package/dist/types/components/custom-select-list/custom-select-list.d.ts +0 -1
- package/dist/types/components/custom-select-list/model.d.ts +1 -1
- package/dist/types/components/custom-select-list-item/custom-select-list-item.d.ts +0 -1
- package/dist/types/components/custom-select-list-item/model.d.ts +1 -1
- package/dist/types/components/divider/divider.d.ts +0 -1
- package/dist/types/components/divider/model.d.ts +1 -1
- package/dist/types/components/drawer/drawer.d.ts +0 -1
- package/dist/types/components/drawer/model.d.ts +1 -1
- package/dist/types/components/header/header.d.ts +2 -3
- package/dist/types/components/header/model.d.ts +1 -1
- package/dist/types/components/icon/icon.d.ts +0 -1
- package/dist/types/components/icon/model.d.ts +1 -1
- package/dist/types/components/infotext/infotext.d.ts +0 -1
- package/dist/types/components/infotext/model.d.ts +1 -1
- package/dist/types/components/input/input.d.ts +0 -1
- package/dist/types/components/input/model.d.ts +1 -1
- package/dist/types/components/link/link.d.ts +0 -1
- package/dist/types/components/link/model.d.ts +1 -1
- package/dist/types/components/navigation/model.d.ts +1 -1
- package/dist/types/components/navigation/navigation.d.ts +0 -1
- package/dist/types/components/navigation-item/model.d.ts +2 -6
- package/dist/types/components/navigation-item/navigation-item.d.ts +0 -2
- package/dist/types/components/notification/model.d.ts +1 -1
- package/dist/types/components/notification/notification.d.ts +0 -1
- package/dist/types/components/page/model.d.ts +1 -1
- package/dist/types/components/page/page.d.ts +0 -1
- package/dist/types/components/popover/model.d.ts +1 -1
- package/dist/types/components/popover/popover.d.ts +0 -1
- package/dist/types/components/radio/model.d.ts +1 -1
- package/dist/types/components/radio/radio.d.ts +0 -1
- package/dist/types/components/section/model.d.ts +1 -1
- package/dist/types/components/section/section.d.ts +0 -1
- package/dist/types/components/select/model.d.ts +1 -1
- package/dist/types/components/select/select.d.ts +0 -1
- package/dist/types/components/stack/model.d.ts +1 -1
- package/dist/types/components/stack/stack.d.ts +0 -1
- package/dist/types/components/switch/model.d.ts +1 -1
- package/dist/types/components/switch/switch.d.ts +0 -1
- package/dist/types/components/tab-item/model.d.ts +1 -1
- package/dist/types/components/tab-item/tab-item.d.ts +0 -1
- package/dist/types/components/tab-list/model.d.ts +1 -1
- package/dist/types/components/tab-list/tab-list.d.ts +0 -1
- package/dist/types/components/tab-panel/model.d.ts +1 -1
- package/dist/types/components/tab-panel/tab-panel.d.ts +0 -1
- package/dist/types/components/tabs/model.d.ts +3 -3
- package/dist/types/components/tabs/tabs.d.ts +0 -1
- package/dist/types/components/tag/model.d.ts +1 -1
- package/dist/types/components/tag/tag.d.ts +0 -1
- package/dist/types/components/textarea/model.d.ts +1 -1
- package/dist/types/components/textarea/textarea.d.ts +0 -1
- package/dist/types/components/tooltip/model.d.ts +1 -1
- package/dist/types/components/tooltip/tooltip.d.ts +0 -1
- package/dist/types/components.d.ts +1 -7
- package/dist/vscode.html-custom-data.json +6 -16
- package/dist/web-types.json +248 -1032
- package/package.json +7 -13
- package/bundle/db-accordion-item.d.ts +0 -11
- package/bundle/db-accordion-item.js +0 -1
- package/bundle/db-accordion.d.ts +0 -11
- package/bundle/db-accordion.js +0 -1
- package/bundle/db-badge.d.ts +0 -11
- package/bundle/db-badge.js +0 -1
- package/bundle/db-brand.d.ts +0 -11
- package/bundle/db-brand.js +0 -1
- package/bundle/db-button.d.ts +0 -11
- package/bundle/db-button.js +0 -1
- package/bundle/db-card.d.ts +0 -11
- package/bundle/db-card.js +0 -1
- package/bundle/db-checkbox.d.ts +0 -11
- package/bundle/db-checkbox.js +0 -1
- package/bundle/db-custom-button.d.ts +0 -11
- package/bundle/db-custom-button.js +0 -1
- package/bundle/db-custom-select-dropdown.d.ts +0 -11
- package/bundle/db-custom-select-dropdown.js +0 -1
- package/bundle/db-custom-select-form-field.d.ts +0 -11
- package/bundle/db-custom-select-form-field.js +0 -1
- package/bundle/db-custom-select-list-item.d.ts +0 -11
- package/bundle/db-custom-select-list-item.js +0 -1
- package/bundle/db-custom-select-list.d.ts +0 -11
- package/bundle/db-custom-select-list.js +0 -1
- package/bundle/db-custom-select.d.ts +0 -11
- package/bundle/db-custom-select.js +0 -1
- package/bundle/db-divider.d.ts +0 -11
- package/bundle/db-divider.js +0 -1
- package/bundle/db-drawer.d.ts +0 -11
- package/bundle/db-drawer.js +0 -1
- package/bundle/db-header.d.ts +0 -11
- package/bundle/db-header.js +0 -1
- package/bundle/db-icon.d.ts +0 -11
- package/bundle/db-icon.js +0 -1
- package/bundle/db-infotext.d.ts +0 -11
- package/bundle/db-infotext.js +0 -1
- package/bundle/db-input.d.ts +0 -11
- package/bundle/db-input.js +0 -1
- package/bundle/db-link.d.ts +0 -11
- package/bundle/db-link.js +0 -1
- package/bundle/db-navigation-item.d.ts +0 -11
- package/bundle/db-navigation-item.js +0 -1
- package/bundle/db-navigation.d.ts +0 -11
- package/bundle/db-navigation.js +0 -1
- package/bundle/db-notification.d.ts +0 -11
- package/bundle/db-notification.js +0 -1
- package/bundle/db-page.d.ts +0 -11
- package/bundle/db-page.js +0 -1
- package/bundle/db-popover.d.ts +0 -11
- package/bundle/db-popover.js +0 -1
- package/bundle/db-radio.d.ts +0 -11
- package/bundle/db-radio.js +0 -1
- package/bundle/db-section.d.ts +0 -11
- package/bundle/db-section.js +0 -1
- package/bundle/db-select.d.ts +0 -11
- package/bundle/db-select.js +0 -1
- package/bundle/db-stack.d.ts +0 -11
- package/bundle/db-stack.js +0 -1
- package/bundle/db-switch.d.ts +0 -11
- package/bundle/db-switch.js +0 -1
- package/bundle/db-tab-item.d.ts +0 -11
- package/bundle/db-tab-item.js +0 -1
- package/bundle/db-tab-list.d.ts +0 -11
- package/bundle/db-tab-list.js +0 -1
- package/bundle/db-tab-panel.d.ts +0 -11
- package/bundle/db-tab-panel.js +0 -1
- package/bundle/db-tabs.d.ts +0 -11
- package/bundle/db-tabs.js +0 -1
- package/bundle/db-tag.d.ts +0 -11
- package/bundle/db-tag.js +0 -1
- package/bundle/db-textarea.d.ts +0 -11
- package/bundle/db-textarea.js +0 -1
- package/bundle/db-tooltip.d.ts +0 -11
- package/bundle/db-tooltip.js +0 -1
- package/bundle/index.d.ts +0 -47
- package/bundle/index.js +0 -1
- package/bundle/p-4nwUOzw7.js +0 -1
- package/bundle/p-6tgjpFiy.js +0 -1
- package/bundle/p-B8jmHdeH.js +0 -1
- package/bundle/p-BNhyPF1P.js +0 -1
- package/bundle/p-BPzP5Ag7.js +0 -1
- package/bundle/p-BdL-nI5y.js +0 -1
- package/bundle/p-BuBrj57D.js +0 -1
- package/bundle/p-BwS8XkPq.js +0 -1
- package/bundle/p-C0grS8Im.js +0 -1
- package/bundle/p-CCbaTFJ9.js +0 -1
- package/bundle/p-CSPKOJ_Q.js +0 -1
- package/bundle/p-C_uuq4ru.js +0 -1
- package/bundle/p-CeC-MQcb.js +0 -1
- package/bundle/p-Cp42j14z.js +0 -1
- package/bundle/p-D4Ym01qf.js +0 -1
- package/bundle/p-DOPXnIzL.js +0 -1
- package/bundle/p-DaaF73NV.js +0 -1
- package/bundle/p-DegvpGo6.js +0 -1
- package/bundle/p-yTv_0IMq.js +0 -1
- package/dist/db-ux/p-00ea76cf.entry.js +0 -1
- package/dist/db-ux/p-047341c9.entry.js +0 -1
- package/dist/db-ux/p-066fa23a.entry.js +0 -1
- package/dist/db-ux/p-0f8989b4.entry.js +0 -1
- package/dist/db-ux/p-25b715ae.entry.js +0 -1
- package/dist/db-ux/p-2df1300b.entry.js +0 -1
- package/dist/db-ux/p-3327169e.entry.js +0 -1
- package/dist/db-ux/p-419f8c38.entry.js +0 -1
- package/dist/db-ux/p-4249b49a.entry.js +0 -1
- package/dist/db-ux/p-44043bdb.entry.js +0 -1
- package/dist/db-ux/p-45e3b8c6.entry.js +0 -1
- package/dist/db-ux/p-47b8ce97.entry.js +0 -1
- package/dist/db-ux/p-692c892c.entry.js +0 -1
- package/dist/db-ux/p-6ca6258f.entry.js +0 -1
- package/dist/db-ux/p-6e2b82d0.entry.js +0 -1
- package/dist/db-ux/p-74a2dd1a.entry.js +0 -1
- package/dist/db-ux/p-78a2617f.entry.js +0 -1
- package/dist/db-ux/p-820c2ca9.entry.js +0 -1
- package/dist/db-ux/p-8894c1da.entry.js +0 -1
- package/dist/db-ux/p-8c7085d4.entry.js +0 -1
- package/dist/db-ux/p-9afcb916.entry.js +0 -1
- package/dist/db-ux/p-9e61d181.entry.js +0 -1
- package/dist/db-ux/p-Cr2cgn5B.js +0 -2
- package/dist/db-ux/p-a15fbd28.entry.js +0 -1
- package/dist/db-ux/p-cd1f41e9.entry.js +0 -1
- package/dist/db-ux/p-cd990388.entry.js +0 -1
- package/dist/db-ux/p-d1d119b6.entry.js +0 -1
- package/dist/db-ux/p-d5bc9beb.entry.js +0 -1
- package/dist/db-ux/p-e57bd4f0.entry.js +0 -1
- package/dist/db-ux/p-e9dd1674.entry.js +0 -1
- package/dist/db-ux/p-f904f3a1.entry.js +0 -1
- package/dist/db-ux/p-fb69c11a.entry.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DEFAULT_CLOSE_BUTTON } from "../../shared/constants";
|
|
2
2
|
import { cls, getBoolean, getBooleanAsString, getNotificationRole, stringPropVisible, } from "../../utils";
|
|
3
|
-
import { h } from "@stencil/core";
|
|
3
|
+
import { h, } from "@stencil/core";
|
|
4
4
|
/**
|
|
5
5
|
* @slot children - This is a default/unnamed slot
|
|
6
6
|
* @slot image - TODO: Add description for slotImage
|
|
@@ -52,23 +52,17 @@ export class DBNotification {
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
componentDidLoad() {
|
|
55
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
56
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
57
|
-
if (connectedElement) {
|
|
58
|
-
connectedElement.remove();
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
55
|
this.enableAttributePassing(this._ref, "db-notification");
|
|
62
56
|
}
|
|
63
57
|
render() {
|
|
64
58
|
var _a, _b, _c;
|
|
65
|
-
return (h("div", { key: '
|
|
59
|
+
return (h("div", { key: 'd7087027be76900f33941e4680afa30f8b008985', class: cls("db-notification", this.className), ref: (el) => {
|
|
66
60
|
this._ref = el;
|
|
67
61
|
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, role: getNotificationRole({
|
|
68
62
|
semantic: this.semantic,
|
|
69
63
|
role: this.role,
|
|
70
64
|
ariaLive: this.ariaLive,
|
|
71
|
-
}), "aria-live": this.ariaLive, "data-semantic": this.semantic, "data-variant": this.variant, "data-icon": getBoolean(this.showIcon) !== false ? this.icon : undefined, "data-show-icon": getBooleanAsString(this.showIcon), "data-link-variant": this.linkVariant }, h("slot", { key: '
|
|
65
|
+
}), "aria-live": this.ariaLive, "data-semantic": this.semantic, "data-variant": this.variant, "data-icon": getBoolean(this.showIcon) !== false ? this.icon : undefined, "data-show-icon": getBooleanAsString(this.showIcon), "data-link-variant": this.linkVariant }, h("slot", { key: '014b063b231b29070ae428befe3fa5703e1a763a', name: "image" }), stringPropVisible(this.headline, this.showHeadline) ? (h("header", { "data-area": "head" }, this.headline)) : null, h("div", { key: 'a6b0eb3a228d5788425916888d33b8425c261a47', "data-area": "content" }, this.text ? this.text : null, h("slot", { key: 'da393b44aa81d021b12053d637cbdd5c6586f548' })), stringPropVisible(this.timestamp, this.showTimestamp) ? (h("time", { "data-area": "timestamp", dateTime: this.timestampDatetime }, this.timestamp)) : null, h("slot", { key: '6d7c1d9da27fddd2ca59d50f00628d6aaf4e4c09', name: "link" }), getBoolean(this.closeable, "closeable") ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event) }, (_c = this.closeButtonText) !== null && _c !== void 0 ? _c : DEFAULT_CLOSE_BUTTON)) : null));
|
|
72
66
|
}
|
|
73
67
|
static get is() { return "db-notification"; }
|
|
74
68
|
static get properties() {
|
|
@@ -585,5 +579,4 @@ export class DBNotification {
|
|
|
585
579
|
}
|
|
586
580
|
}];
|
|
587
581
|
}
|
|
588
|
-
static get elementRef() { return "rootElement"; }
|
|
589
582
|
}
|
|
@@ -46,12 +46,6 @@ export class DBPage {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
componentDidLoad() {
|
|
49
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
50
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
51
|
-
if (connectedElement) {
|
|
52
|
-
connectedElement.remove();
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
49
|
this.enableAttributePassing(this._ref, "db-page");
|
|
56
50
|
this.fontsLoaded = !this.fadeIn;
|
|
57
51
|
if (document && this.fadeIn) {
|
|
@@ -72,9 +66,9 @@ export class DBPage {
|
|
|
72
66
|
}
|
|
73
67
|
render() {
|
|
74
68
|
var _a, _b;
|
|
75
|
-
return (h("div", { key: '
|
|
69
|
+
return (h("div", { key: 'b0ddc76aaed427b7c203d76bbb5b09be304b8134', class: cls("db-page", this.className), ref: (el) => {
|
|
76
70
|
this._ref = el;
|
|
77
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-variant": this.variant, "data-fade-in": getBooleanAsString(this.fadeIn), "data-fonts-loaded": getBooleanAsString(this.fontsLoaded) }, h("slot", { key: '
|
|
71
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-variant": this.variant, "data-fade-in": getBooleanAsString(this.fadeIn), "data-fonts-loaded": getBooleanAsString(this.fontsLoaded) }, h("slot", { key: '6915333868fc61aaf327ae43fe6f967706972032', name: "header" }), h("main", { key: '20588c0501715204c8a87cff378ba7994caae76c', class: cls("db-main", this.mainClass) }, h("slot", { key: '9a52cdaf9c2673630855a455a101f75f065cbdd8' })), h("slot", { key: 'ff8faa06197c83675bf81d18b34d0db9019a664f', name: "footer" })));
|
|
78
72
|
}
|
|
79
73
|
static get is() { return "db-page"; }
|
|
80
74
|
static get properties() {
|
|
@@ -266,5 +260,4 @@ export class DBPage {
|
|
|
266
260
|
"fontsLoaded": {}
|
|
267
261
|
};
|
|
268
262
|
}
|
|
269
|
-
static get elementRef() { return "rootElement"; }
|
|
270
263
|
}
|
|
@@ -163,12 +163,6 @@ export class DBPopover {
|
|
|
163
163
|
this.watch1Fn();
|
|
164
164
|
}
|
|
165
165
|
componentDidLoad() {
|
|
166
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
167
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
168
|
-
if (connectedElement) {
|
|
169
|
-
connectedElement.remove();
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
166
|
this.enableAttributePassing(this._ref, "db-popover");
|
|
173
167
|
this.initialized = true;
|
|
174
168
|
this.watch0Fn();
|
|
@@ -176,9 +170,9 @@ export class DBPopover {
|
|
|
176
170
|
}
|
|
177
171
|
render() {
|
|
178
172
|
var _a, _b, _c;
|
|
179
|
-
return (h("div", { key: '
|
|
173
|
+
return (h("div", { key: '390b82916a04a39f602efb0a05d8702d51da4526', class: cls("db-popover", this.className), ref: (el) => {
|
|
180
174
|
this._ref = el;
|
|
181
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("slot", { key: '
|
|
175
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("slot", { key: '17b12e9a5be220fedfa3ebe8f2bbb47ad1f1fb2f', name: "trigger" }), h("article", { key: '9b1cf4ce7cc66f558dd87b5cc6e3ca9a007bf1af', class: "db-popover-content", "data-spacing": this.spacing, "data-gap": getBooleanAsString(this.gap), "data-animation": getBooleanAsString((_c = this.animation) !== null && _c !== void 0 ? _c : true), "data-open": getBooleanAsString(this.open), "data-delay": this.delay, "data-width": this.width, "data-placement": this.placement }, h("slot", { key: '2e3a7edf39f6027ea34791b1b88668c081f03ba3' }))));
|
|
182
176
|
}
|
|
183
177
|
static get is() { return "db-popover"; }
|
|
184
178
|
static get properties() {
|
|
@@ -451,7 +445,6 @@ export class DBPopover {
|
|
|
451
445
|
"_observer": {}
|
|
452
446
|
};
|
|
453
447
|
}
|
|
454
|
-
static get elementRef() { return "rootElement"; }
|
|
455
448
|
static get watchers() {
|
|
456
449
|
return [{
|
|
457
450
|
"propName": "_ref",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { cls, delay, getBoolean, getHideProp, uuid } from "../../utils";
|
|
2
2
|
import { addResetEventListener, } from "../../utils/form-components";
|
|
3
|
-
import { h } from "@stencil/core";
|
|
3
|
+
import { h, } from "@stencil/core";
|
|
4
4
|
/**
|
|
5
5
|
* @slot children - This is a default/unnamed slot
|
|
6
6
|
|
|
@@ -114,12 +114,6 @@ export class DBRadio {
|
|
|
114
114
|
this.watch2Fn();
|
|
115
115
|
}
|
|
116
116
|
componentDidLoad() {
|
|
117
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
118
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
119
|
-
if (connectedElement) {
|
|
120
|
-
connectedElement.remove();
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
117
|
this.enableAttributePassing(this._ref, "db-radio");
|
|
124
118
|
this.initialized = true;
|
|
125
119
|
this.resetIds();
|
|
@@ -132,9 +126,9 @@ export class DBRadio {
|
|
|
132
126
|
(_a = this.abortController) === null || _a === void 0 ? void 0 : _a.abort();
|
|
133
127
|
}
|
|
134
128
|
render() {
|
|
135
|
-
return (h("label", { key: '
|
|
129
|
+
return (h("label", { key: 'a2b7dddcac7e055e558436ed57c1c6997916a8c0', class: cls("db-radio", this.className), "data-size": this.size, "data-hide-label": getHideProp(this.showLabel), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), htmlFor: this._id }, h("input", { key: '02a94a4237ed5984ce14ab684d981e9676ad68e4', type: "radio", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
|
|
136
130
|
this._ref = el;
|
|
137
|
-
}, id: this._id, name: this.name, checked: getBoolean(this.checked, "checked"), disabled: getBoolean(this.disabled, "disabled"), value: this.value, required: getBoolean(this.required, "required"), onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event) }), this.label ? this.label : null, h("slot", { key: '
|
|
131
|
+
}, id: this._id, name: this.name, checked: getBoolean(this.checked, "checked"), disabled: getBoolean(this.disabled, "disabled"), value: this.value, required: getBoolean(this.required, "required"), onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event) }), this.label ? this.label : null, h("slot", { key: '3b430b5725a3d8c27c71e4937e009bc9da2eb1ef' })));
|
|
138
132
|
}
|
|
139
133
|
static get is() { return "db-radio"; }
|
|
140
134
|
static get properties() {
|
|
@@ -547,7 +541,6 @@ export class DBRadio {
|
|
|
547
541
|
}
|
|
548
542
|
}];
|
|
549
543
|
}
|
|
550
|
-
static get elementRef() { return "rootElement"; }
|
|
551
544
|
static get watchers() {
|
|
552
545
|
return [{
|
|
553
546
|
"propName": "id",
|
|
@@ -42,19 +42,13 @@ export class DBSection {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
componentDidLoad() {
|
|
45
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
46
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
47
|
-
if (connectedElement) {
|
|
48
|
-
connectedElement.remove();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
45
|
this.enableAttributePassing(this._ref, "db-section");
|
|
52
46
|
}
|
|
53
47
|
render() {
|
|
54
48
|
var _a, _b;
|
|
55
|
-
return (h("section", { key: '
|
|
49
|
+
return (h("section", { key: '8e4972331d6f10d78c705481dab9d7a7336bd5fd', class: cls("db-section", this.className), ref: (el) => {
|
|
56
50
|
this._ref = el;
|
|
57
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-spacing": this.spacing || "medium", "data-width": this.width }, h("slot", { key: '
|
|
51
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-spacing": this.spacing || "medium", "data-width": this.width }, h("slot", { key: 'e495f7247f9da72811055148e4a0a73489a10516' })));
|
|
58
52
|
}
|
|
59
53
|
static get is() { return "db-section"; }
|
|
60
54
|
static get properties() {
|
|
@@ -189,5 +183,4 @@ export class DBSection {
|
|
|
189
183
|
}
|
|
190
184
|
};
|
|
191
185
|
}
|
|
192
|
-
static get elementRef() { return "rootElement"; }
|
|
193
186
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DEFAULT_INVALID_MESSAGE, DEFAULT_INVALID_MESSAGE_ID_SUFFIX, DEFAULT_LABEL, DEFAULT_MESSAGE_ID_SUFFIX, DEFAULT_PLACEHOLDER_ID_SUFFIX, DEFAULT_VALID_MESSAGE, DEFAULT_VALID_MESSAGE_ID_SUFFIX, } from "../../shared/constants";
|
|
2
2
|
import { cls, delay, getBoolean, getBooleanAsString, getHideProp, hasVoiceOver, stringPropVisible, uuid, } from "../../utils";
|
|
3
3
|
import { addValueResetEventListener, } from "../../utils/form-components";
|
|
4
|
-
import { h, Fragment } from "@stencil/core";
|
|
4
|
+
import { h, Fragment, } from "@stencil/core";
|
|
5
5
|
/**
|
|
6
6
|
* @slot children - This is a default/unnamed slot
|
|
7
7
|
|
|
@@ -217,12 +217,6 @@ export class DBSelect {
|
|
|
217
217
|
this.watch4Fn();
|
|
218
218
|
}
|
|
219
219
|
componentDidLoad() {
|
|
220
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
221
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
222
|
-
if (connectedElement) {
|
|
223
|
-
connectedElement.remove();
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
220
|
this.enableAttributePassing(this._ref, "db-select");
|
|
227
221
|
this.initialized = true;
|
|
228
222
|
this.resetIds();
|
|
@@ -239,14 +233,14 @@ export class DBSelect {
|
|
|
239
233
|
}
|
|
240
234
|
render() {
|
|
241
235
|
var _a, _b, _c, _d, _e, _f;
|
|
242
|
-
return (h("div", { key: '
|
|
236
|
+
return (h("div", { key: '447466cea315310bff6793d9357323b45d4db313', class: cls("db-select", this.className), "data-variant": this.variant, "data-hide-label": getHideProp(this.showLabel), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon) }, h("label", { key: 'bc9ee1c59c21a1ec52dc96e1aecc9892ef5b29ac', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL), h("select", { key: '10e6f2c0ebedb72cbbcae2e78133353bd646eee8', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
|
|
243
237
|
this._ref = el;
|
|
244
238
|
}, required: getBoolean(this.required, "required"), disabled: getBoolean(this.disabled, "disabled"), id: this._id, name: this.name, size: this.size,
|
|
245
239
|
/* @ts-ignore */
|
|
246
240
|
value: (_c = (_b = this.value) !== null && _b !== void 0 ? _b : this._value) !== null && _c !== void 0 ? _c : undefined, autocomplete: this.autocomplete, multiple: this.multiple, onInput: (event) => this.handleInput(event), onClick: (event) => this.handleClick(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), "aria-describedby": (_d = this.ariaDescribedBy) !== null && _d !== void 0 ? _d : this._descByIds }, this.variant === "floating" || !!this.placeholder ? (h("option", { class: "placeholder", value: "", "data-show-empty-option": getBooleanAsString(this.shouldShowEmptyOption()) })) : null, ((_e = this.options) === null || _e === void 0 ? void 0 : _e.length) ? ((_f = this.options) === null || _f === void 0 ? void 0 : _f.map((option) => {
|
|
247
241
|
var _a;
|
|
248
242
|
return (h(Fragment, null, option.options ? (h("optgroup", { label: this.getOptionLabel(option), key: undefined }, (_a = option.options) === null || _a === void 0 ? void 0 : _a.map((optgroupOption) => (h("option", { value: optgroupOption.value, selected: optgroupOption.selected, disabled: optgroupOption.disabled, key: undefined }, this.getOptionLabel(optgroupOption)))))) : (h("option", { value: option.value, disabled: option.disabled, selected: option.selected, key: undefined }, this.getOptionLabel(option)))));
|
|
249
|
-
})) : (h("slot", null))), this.placeholder ? (h("span", { class: "db-select-placeholder", id: this._placeholderId }, this.placeholder)) : null, stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '
|
|
243
|
+
})) : (h("slot", null))), this.placeholder ? (h("span", { class: "db-select-placeholder", id: this._placeholderId }, this.placeholder)) : null, stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '186aaf564139c38963f7f448c15e8e1760e2b41c', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: 'c0fd12cd115acb62a4d3bf13dc8572b80c386d67', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
250
244
|
}
|
|
251
245
|
static get is() { return "db-select"; }
|
|
252
246
|
static get properties() {
|
|
@@ -1018,7 +1012,6 @@ export class DBSelect {
|
|
|
1018
1012
|
}
|
|
1019
1013
|
}];
|
|
1020
1014
|
}
|
|
1021
|
-
static get elementRef() { return "rootElement"; }
|
|
1022
1015
|
static get watchers() {
|
|
1023
1016
|
return [{
|
|
1024
1017
|
"propName": "id",
|
|
@@ -42,19 +42,13 @@ export class DBStack {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
componentDidLoad() {
|
|
45
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
46
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
47
|
-
if (connectedElement) {
|
|
48
|
-
connectedElement.remove();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
45
|
this.enableAttributePassing(this._ref, "db-stack");
|
|
52
46
|
}
|
|
53
47
|
render() {
|
|
54
48
|
var _a, _b;
|
|
55
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: 'f439616a1745c8702c736c26a66e4714aaf1600c', class: cls("db-stack", this.className), ref: (el) => {
|
|
56
50
|
this._ref = el;
|
|
57
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-gap": this.gap, "data-variant": this.variant, "data-direction": this.direction, "data-alignment": this.alignment, "data-justify-content": this.justifyContent, "data-wrap": getBooleanAsString(this.wrap) }, h("slot", { key: '
|
|
51
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-gap": this.gap, "data-variant": this.variant, "data-direction": this.direction, "data-alignment": this.alignment, "data-justify-content": this.justifyContent, "data-wrap": getBooleanAsString(this.wrap) }, h("slot", { key: '4af45aa4cfbd6749552219a765575c2852f50d8c' })));
|
|
58
52
|
}
|
|
59
53
|
static get is() { return "db-stack"; }
|
|
60
54
|
static get properties() {
|
|
@@ -293,5 +287,4 @@ export class DBStack {
|
|
|
293
287
|
}
|
|
294
288
|
};
|
|
295
289
|
}
|
|
296
|
-
static get elementRef() { return "rootElement"; }
|
|
297
290
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DEFAULT_INVALID_MESSAGE, DEFAULT_INVALID_MESSAGE_ID_SUFFIX, DEFAULT_MESSAGE_ID_SUFFIX, DEFAULT_VALID_MESSAGE, DEFAULT_VALID_MESSAGE_ID_SUFFIX, } from "../../shared/constants";
|
|
2
2
|
import { cls, delay, getBoolean, getBooleanAsString, getHideProp, hasVoiceOver, stringPropVisible, uuid, } from "../../utils";
|
|
3
3
|
import { addCheckedResetEventListener, } from "../../utils/form-components";
|
|
4
|
-
import { h } from "@stencil/core";
|
|
4
|
+
import { h, } from "@stencil/core";
|
|
5
5
|
/**
|
|
6
6
|
* @slot children - This is a default/unnamed slot
|
|
7
7
|
|
|
@@ -170,12 +170,6 @@ export class DBSwitch {
|
|
|
170
170
|
this.watch3Fn();
|
|
171
171
|
}
|
|
172
172
|
componentDidLoad() {
|
|
173
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
174
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
175
|
-
if (connectedElement) {
|
|
176
|
-
connectedElement.remove();
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
173
|
this.enableAttributePassing(this._ref, "db-switch");
|
|
180
174
|
this.resetIds();
|
|
181
175
|
this.handleValidation();
|
|
@@ -191,9 +185,9 @@ export class DBSwitch {
|
|
|
191
185
|
}
|
|
192
186
|
render() {
|
|
193
187
|
var _a, _b;
|
|
194
|
-
return (h("div", { key: '
|
|
188
|
+
return (h("div", { key: '16ac24d631269141f33f1b39599069ad2e017406', class: cls("db-switch", this.className), "data-visual-aid": getBooleanAsString(this.visualAid), "data-size": this.size, "data-hide-label": getHideProp(this.showLabel), "data-variant": this.variant, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-custom-validity": this.validation }, h("label", { key: 'be173c17f4add60b39cc9330ddf1968f10398583', htmlFor: this._id }, h("input", { key: '93aba7e5ef958c1af292702c46503b57c8511109', type: "checkbox", role: "switch", id: this._id, ref: (el) => {
|
|
195
189
|
this._ref = el;
|
|
196
|
-
}, checked: getBoolean(this.checked, "checked"), value: this.value, disabled: getBoolean(this.disabled, "disabled"), "aria-invalid": this.validation === "invalid" ? "true" : undefined, "aria-describedby": this._descByIds, name: this.name, required: getBoolean(this.required, "required"), "data-aid-icon": (_a = this.iconLeading) !== null && _a !== void 0 ? _a : this.icon, "data-aid-icon-trailing": this.iconTrailing, onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), onKeyDown: (event) => this.handleKeyDown(event) }), this.label ? this.label : null, h("slot", { key: '
|
|
190
|
+
}, checked: getBoolean(this.checked, "checked"), value: this.value, disabled: getBoolean(this.disabled, "disabled"), "aria-invalid": this.validation === "invalid" ? "true" : undefined, "aria-describedby": this._descByIds, name: this.name, required: getBoolean(this.required, "required"), "data-aid-icon": (_a = this.iconLeading) !== null && _a !== void 0 ? _a : this.icon, "data-aid-icon-trailing": this.iconTrailing, onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), onKeyDown: (event) => this.handleKeyDown(event) }), this.label ? this.label : null, h("slot", { key: '35c866ff32882b21ab76d4db464674b688aa371f' })), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", semantic: "adaptive", id: this._messageId, icon: this.messageIcon }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, (_b = this.validMessage) !== null && _b !== void 0 ? _b : DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '2663da2147e782beb93274145056a32fcc91b7bb', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: 'a71eedca841f4d30e2844fa4904d8558a7dc1790', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
197
191
|
}
|
|
198
192
|
static get is() { return "db-switch"; }
|
|
199
193
|
static get properties() {
|
|
@@ -856,7 +850,6 @@ export class DBSwitch {
|
|
|
856
850
|
}
|
|
857
851
|
}];
|
|
858
852
|
}
|
|
859
|
-
static get elementRef() { return "rootElement"; }
|
|
860
853
|
static get watchers() {
|
|
861
854
|
return [{
|
|
862
855
|
"propName": "id",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cls, getBoolean, getBooleanAsString } from "../../utils";
|
|
2
|
-
import { h } from "@stencil/core";
|
|
2
|
+
import { h, } from "@stencil/core";
|
|
3
3
|
/**
|
|
4
4
|
* @slot children - This is a default/unnamed slot
|
|
5
5
|
|
|
@@ -97,12 +97,6 @@ export class DBTabItem {
|
|
|
97
97
|
this.watch1Fn();
|
|
98
98
|
}
|
|
99
99
|
componentDidLoad() {
|
|
100
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
101
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
102
|
-
if (connectedElement) {
|
|
103
|
-
connectedElement.remove();
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
100
|
this.enableAttributePassing(this._ref, "db-tab-item");
|
|
107
101
|
this.boundSetSelectedOnChange = this.setSelectedOnChange.bind(this);
|
|
108
102
|
this.initialized = true;
|
|
@@ -119,9 +113,9 @@ export class DBTabItem {
|
|
|
119
113
|
}
|
|
120
114
|
render() {
|
|
121
115
|
var _a, _b, _c, _d, _e, _f;
|
|
122
|
-
return (h("li", { key: '
|
|
116
|
+
return (h("li", { key: '5a67c1ada61e7ef397389486b04f4db9e157f08b', class: cls("db-tab-item", this.className), role: "none" }, h("label", { key: '45bb037d9acfb8d69fb953f2b84b513b57ac9f80', htmlFor: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": (_c = this.iconLeading) !== null && _c !== void 0 ? _c : this.icon, "data-icon-trailing": this.iconTrailing, "data-show-icon": getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing), "data-no-text": getBooleanAsString(this.noText) }, h("input", { key: '3183817d6b6028b40416d12eaa2de60e9e28a36e', type: "radio", role: "tab", disabled: getBoolean(this.disabled, "disabled"), "aria-selected": this._selected, checked: getBoolean(this.checked, "checked"), ref: (el) => {
|
|
123
117
|
this._ref = el;
|
|
124
|
-
}, name: this._name, id: (_e = this.id) !== null && _e !== void 0 ? _e : (_f = this.propOverrides) === null || _f === void 0 ? void 0 : _f.id, onInput: (event) => this.handleChange(event) }), this.label ? this.label : null, h("slot", { key: '
|
|
118
|
+
}, name: this._name, id: (_e = this.id) !== null && _e !== void 0 ? _e : (_f = this.propOverrides) === null || _f === void 0 ? void 0 : _f.id, onInput: (event) => this.handleChange(event) }), this.label ? this.label : null, h("slot", { key: 'a0126930f1705e33cc929b2fb8e7e92e811b8a16' }))));
|
|
125
119
|
}
|
|
126
120
|
static get is() { return "db-tab-item"; }
|
|
127
121
|
static get properties() {
|
|
@@ -543,7 +537,6 @@ export class DBTabItem {
|
|
|
543
537
|
}
|
|
544
538
|
}];
|
|
545
539
|
}
|
|
546
|
-
static get elementRef() { return "rootElement"; }
|
|
547
540
|
static get watchers() {
|
|
548
541
|
return [{
|
|
549
542
|
"propName": "_ref",
|
|
@@ -42,19 +42,13 @@ export class DBTabList {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
componentDidLoad() {
|
|
45
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
46
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
47
|
-
if (connectedElement) {
|
|
48
|
-
connectedElement.remove();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
45
|
this.enableAttributePassing(this._ref, "db-tab-list");
|
|
52
46
|
}
|
|
53
47
|
render() {
|
|
54
48
|
var _a, _b;
|
|
55
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: '106039ad39acd9349758b04b95fdf63f371bdfd8', class: cls("db-tab-list", this.className), ref: (el) => {
|
|
56
50
|
this._ref = el;
|
|
57
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("ul", { key: '
|
|
51
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("ul", { key: 'e65fa1a76b3bec154c44d3c861b38a4fc26ca1a5', role: "tablist" }, h("slot", { key: '9629b9adc5d33818001e7964d4bdbcaf16086fee' }))));
|
|
58
52
|
}
|
|
59
53
|
static get is() { return "db-tab-list"; }
|
|
60
54
|
static get properties() {
|
|
@@ -137,5 +131,4 @@ export class DBTabList {
|
|
|
137
131
|
}
|
|
138
132
|
};
|
|
139
133
|
}
|
|
140
|
-
static get elementRef() { return "rootElement"; }
|
|
141
134
|
}
|
|
@@ -42,19 +42,13 @@ export class DBTabPanel {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
componentDidLoad() {
|
|
45
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
46
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
47
|
-
if (connectedElement) {
|
|
48
|
-
connectedElement.remove();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
45
|
this.enableAttributePassing(this._ref, "db-tab-panel");
|
|
52
46
|
}
|
|
53
47
|
render() {
|
|
54
48
|
var _a, _b;
|
|
55
|
-
return (h("section", { key: '
|
|
49
|
+
return (h("section", { key: 'fda64a520ea6a82df55e61185716f9e2c511b935', class: cls("db-tab-panel", this.className), role: "tabpanel", ref: (el) => {
|
|
56
50
|
this._ref = el;
|
|
57
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, this.content ? this.content : null, h("slot", { key: '
|
|
51
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, this.content ? this.content : null, h("slot", { key: 'f74577ac32a4ed2f463d9dd6114eec74935bd7dc' })));
|
|
58
52
|
}
|
|
59
53
|
static get is() { return "db-tab-panel"; }
|
|
60
54
|
static get properties() {
|
|
@@ -163,5 +157,4 @@ export class DBTabPanel {
|
|
|
163
157
|
}
|
|
164
158
|
};
|
|
165
159
|
}
|
|
166
|
-
static get elementRef() { return "rootElement"; }
|
|
167
160
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cls, uuid } from "../../utils";
|
|
2
|
-
import { h, Fragment } from "@stencil/core";
|
|
2
|
+
import { h, Fragment, } from "@stencil/core";
|
|
3
3
|
/**
|
|
4
4
|
* @slot children - This is a default/unnamed slot
|
|
5
5
|
|
|
@@ -194,12 +194,6 @@ export class DBTabs {
|
|
|
194
194
|
this.watch0Fn();
|
|
195
195
|
}
|
|
196
196
|
componentDidLoad() {
|
|
197
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
198
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
199
|
-
if (connectedElement) {
|
|
200
|
-
connectedElement.remove();
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
197
|
this.enableAttributePassing(this._ref, "db-tabs");
|
|
204
198
|
this._name = `tabs-${this.name || uuid()}`;
|
|
205
199
|
this.initialized = true;
|
|
@@ -212,10 +206,10 @@ export class DBTabs {
|
|
|
212
206
|
}
|
|
213
207
|
render() {
|
|
214
208
|
var _a, _b, _c, _d, _e, _f;
|
|
215
|
-
return (h("div", { key: '
|
|
209
|
+
return (h("div", { key: '8acc1ff6e9231d38b5760877c2d698e442b3efa2', class: cls("db-tabs", this.className), ref: (el) => {
|
|
216
210
|
this._ref = el;
|
|
217
211
|
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-orientation": this.orientation, "data-scroll-behavior": this.behavior, "data-alignment": (_c = this.alignment) !== null && _c !== void 0 ? _c : "start", "data-width": (_d = this.width) !== null && _d !== void 0 ? _d : "auto", onInput: (event) => this.handleChange(event), onChange: (event) => this.handleChange(event) }, this.showScrollLeft ? (h("db-button", { class: "tabs-scroll-left", variant: "ghost", icon: "chevron_left", type: "button", noText: true, onClick: () => this.scroll(true) }, "Scroll left")) : null, this.tabs ? (h(Fragment, null, h("db-tab-list", null, (_e = this.convertTabs()) === null || _e === void 0 ? void 0 : _e.map((tab, index) => (h("db-tab-item", { key: this.name + "tab-item" + index, active: tab.active, label: tab.label, iconTrailing: tab.iconTrailing, icon: tab.icon, noText: tab.noText })))), (_f = this.convertTabs()) === null || _f === void 0 ? void 0 :
|
|
218
|
-
_f.map((tab, index) => (h("db-tab-panel", { key: this.name + "tab-panel" + index, content: tab.content }, tab.children))))) : null, this.showScrollRight ? (h("db-button", { class: "tabs-scroll-right", variant: "ghost", icon: "chevron_right", type: "button", noText: true, onClick: () => this.scroll() }, "Scroll right")) : null, h("slot", { key: '
|
|
212
|
+
_f.map((tab, index) => (h("db-tab-panel", { key: this.name + "tab-panel" + index, content: tab.content }, tab.children))))) : null, this.showScrollRight ? (h("db-button", { class: "tabs-scroll-right", variant: "ghost", icon: "chevron_right", type: "button", noText: true, onClick: () => this.scroll() }, "Scroll right")) : null, h("slot", { key: '98d86feb33b7d73786eabd6aa6275103cac762ba' })));
|
|
219
213
|
}
|
|
220
214
|
static get is() { return "db-tabs"; }
|
|
221
215
|
static get properties() {
|
|
@@ -575,7 +569,6 @@ export class DBTabs {
|
|
|
575
569
|
}
|
|
576
570
|
}];
|
|
577
571
|
}
|
|
578
|
-
static get elementRef() { return "rootElement"; }
|
|
579
572
|
static get watchers() {
|
|
580
573
|
return [{
|
|
581
574
|
"propName": "_ref",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DEFAULT_REMOVE } from "../../shared/constants";
|
|
2
2
|
import { cls, getBooleanAsString } from "../../utils";
|
|
3
|
-
import { h } from "@stencil/core";
|
|
3
|
+
import { h, } from "@stencil/core";
|
|
4
4
|
/**
|
|
5
5
|
* @slot children - This is a default/unnamed slot
|
|
6
6
|
* @slot content - TODO: Add description for slotContent
|
|
@@ -58,19 +58,13 @@ export class DBTag {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
componentDidLoad() {
|
|
61
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
62
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
63
|
-
if (connectedElement) {
|
|
64
|
-
connectedElement.remove();
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
61
|
this.enableAttributePassing(this._ref, "db-tag");
|
|
68
62
|
}
|
|
69
63
|
render() {
|
|
70
64
|
var _a, _b, _c;
|
|
71
|
-
return (h("div", { key: '
|
|
65
|
+
return (h("div", { key: '0f44c340afdd993c4f583c23087bf008cb64bb04', class: cls("db-tag", this.className), ref: (el) => {
|
|
72
66
|
this._ref = el;
|
|
73
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-semantic": this.semantic, "data-emphasis": this.emphasis, "data-icon": this.icon, "data-show-check-state": getBooleanAsString((_c = this.showCheckState) !== null && _c !== void 0 ? _c : true), "data-show-icon": getBooleanAsString(this.showIcon), "data-no-text": getBooleanAsString(this.noText), "data-overflow": getBooleanAsString(this.overflow) }, h("slot", { key: '
|
|
67
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-semantic": this.semantic, "data-emphasis": this.emphasis, "data-icon": this.icon, "data-show-check-state": getBooleanAsString((_c = this.showCheckState) !== null && _c !== void 0 ? _c : true), "data-show-icon": getBooleanAsString(this.showIcon), "data-no-text": getBooleanAsString(this.noText), "data-overflow": getBooleanAsString(this.overflow) }, h("slot", { key: '9e4388656037b233763783ba6e771d30f8302f5c', name: "content" }), this.text ? this.text : null, h("slot", { key: 'e53a5fc3a2f9d5193a73f6c6256aac900df60c74' }), this.behavior === "removable" ? (h("button", { class: "db-button db-tab-remove-button", "data-icon": "cross", "data-size": "small", "data-no-text": "true", "data-variant": "ghost", type: "button", onClick: (event) => this.handleRemove(event) }, h("db-tooltip", { variant: "label" }, this.getRemoveButtonText()))) : null));
|
|
74
68
|
}
|
|
75
69
|
static get is() { return "db-tag"; }
|
|
76
70
|
static get properties() {
|
|
@@ -431,5 +425,4 @@ export class DBTag {
|
|
|
431
425
|
}
|
|
432
426
|
}];
|
|
433
427
|
}
|
|
434
|
-
static get elementRef() { return "rootElement"; }
|
|
435
428
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DEFAULT_INVALID_MESSAGE, DEFAULT_INVALID_MESSAGE_ID_SUFFIX, DEFAULT_LABEL, DEFAULT_MESSAGE_ID_SUFFIX, DEFAULT_PLACEHOLDER, DEFAULT_ROWS, DEFAULT_VALID_MESSAGE, DEFAULT_VALID_MESSAGE_ID_SUFFIX, } from "../../shared/constants";
|
|
2
2
|
import { cls, delay, getBoolean, getHideProp, getNumber, hasVoiceOver, stringPropVisible, uuid, } from "../../utils";
|
|
3
3
|
import { addValueResetEventListener, } from "../../utils/form-components";
|
|
4
|
-
import { h } from "@stencil/core";
|
|
4
|
+
import { h, } from "@stencil/core";
|
|
5
5
|
/**
|
|
6
6
|
* @slot children - This is a default/unnamed slot
|
|
7
7
|
|
|
@@ -182,12 +182,6 @@ export class DBTextarea {
|
|
|
182
182
|
this.watch4Fn();
|
|
183
183
|
}
|
|
184
184
|
componentDidLoad() {
|
|
185
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
186
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
187
|
-
if (connectedElement) {
|
|
188
|
-
connectedElement.remove();
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
185
|
this.enableAttributePassing(this._ref, "db-textarea");
|
|
192
186
|
this.resetIds();
|
|
193
187
|
this._invalidMessage = this.invalidMessage || DEFAULT_INVALID_MESSAGE;
|
|
@@ -203,10 +197,10 @@ export class DBTextarea {
|
|
|
203
197
|
}
|
|
204
198
|
render() {
|
|
205
199
|
var _a, _b, _c, _d, _e, _f;
|
|
206
|
-
return (h("div", { key: '
|
|
200
|
+
return (h("div", { key: '7d28f047cf8d4be83318ebf78434ef3451d74555', class: cls("db-textarea", this.className), "data-variant": this.variant, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-hide-label": getHideProp(this.showLabel) }, h("label", { key: '98f4ba8c559358f440a240d62aeb1c454b6969c2', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL), h("textarea", { key: '1ecfda94ee9b9cdc8466d04012dec4976eb2b32a', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
|
|
207
201
|
this._ref = el;
|
|
208
202
|
}, id: this._id, "data-resize": this.resize, "data-hide-resizer": getHideProp((_b = this.showResizer) !== null && _b !== void 0 ? _b : true), disabled: getBoolean(this.disabled, "disabled"), required: getBoolean(this.required, "required"), readOnly: getBoolean(this.readOnly, "readOnly") ||
|
|
209
|
-
getBoolean(this.readonly, "readonly"), form: this.form, maxLength: getNumber(this.maxLength, this.maxlength), minLength: getNumber(this.minLength, this.minlength), name: this.name, wrap: this.wrap, spellcheck: this.spellCheck, autocomplete: this.autocomplete, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), value: (_d = (_c = this.value) !== null && _c !== void 0 ? _c : this._value) !== null && _d !== void 0 ? _d : "", "aria-describedby": (_e = this.ariaDescribedBy) !== null && _e !== void 0 ? _e : this._descByIds, placeholder: (_f = this.placeholder) !== null && _f !== void 0 ? _f : DEFAULT_PLACEHOLDER, rows: getNumber(this.rows, DEFAULT_ROWS), cols: getNumber(this.cols) }), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '
|
|
203
|
+
getBoolean(this.readonly, "readonly"), form: this.form, maxLength: getNumber(this.maxLength, this.maxlength), minLength: getNumber(this.minLength, this.minlength), name: this.name, wrap: this.wrap, spellcheck: this.spellCheck, autocomplete: this.autocomplete, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), value: (_d = (_c = this.value) !== null && _c !== void 0 ? _c : this._value) !== null && _d !== void 0 ? _d : "", "aria-describedby": (_e = this.ariaDescribedBy) !== null && _e !== void 0 ? _e : this._descByIds, placeholder: (_f = this.placeholder) !== null && _f !== void 0 ? _f : DEFAULT_PLACEHOLDER, rows: getNumber(this.rows, DEFAULT_ROWS), cols: getNumber(this.cols) }), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '9e2a201ab9ce88d395fea65b1d3506d59c4c3be3', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '325d537f8952c134ad7d7aaa024035d86ca1decd', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
210
204
|
}
|
|
211
205
|
static get is() { return "db-textarea"; }
|
|
212
206
|
static get properties() {
|
|
@@ -1171,7 +1165,6 @@ export class DBTextarea {
|
|
|
1171
1165
|
}
|
|
1172
1166
|
}];
|
|
1173
1167
|
}
|
|
1174
|
-
static get elementRef() { return "rootElement"; }
|
|
1175
1168
|
static get watchers() {
|
|
1176
1169
|
return [{
|
|
1177
1170
|
"propName": "id",
|
|
@@ -150,12 +150,6 @@ export class DBTooltip {
|
|
|
150
150
|
this.watch1Fn();
|
|
151
151
|
}
|
|
152
152
|
componentDidLoad() {
|
|
153
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
154
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
155
|
-
if (connectedElement) {
|
|
156
|
-
connectedElement.remove();
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
153
|
this.enableAttributePassing(this._ref, "db-tooltip");
|
|
160
154
|
this.resetIds();
|
|
161
155
|
this.initialized = true;
|
|
@@ -164,9 +158,9 @@ export class DBTooltip {
|
|
|
164
158
|
}
|
|
165
159
|
render() {
|
|
166
160
|
var _a, _b;
|
|
167
|
-
return (h("i", { key: '
|
|
161
|
+
return (h("i", { key: 'bce9e6803a50b743c959d8252b3c6fe7b5d89308', class: cls("db-tooltip", this.className), role: "tooltip", "aria-hidden": "true", "data-gap": "true", ref: (el) => {
|
|
168
162
|
this._ref = el;
|
|
169
|
-
}, id: this._id, "data-emphasis": this.emphasis, "data-wrap": getBooleanAsString(this.wrap), "data-animation": getBooleanAsString((_a = this.animation) !== null && _a !== void 0 ? _a : true), "data-delay": this.delay, "data-width": this.width, "data-show-arrow": getBooleanAsString((_b = this.showArrow) !== null && _b !== void 0 ? _b : true), "data-placement": this.placement, onClick: (event) => this.handleClick(event) }, this.text ? this.text : null, h("slot", { key: '
|
|
163
|
+
}, id: this._id, "data-emphasis": this.emphasis, "data-wrap": getBooleanAsString(this.wrap), "data-animation": getBooleanAsString((_a = this.animation) !== null && _a !== void 0 ? _a : true), "data-delay": this.delay, "data-width": this.width, "data-show-arrow": getBooleanAsString((_b = this.showArrow) !== null && _b !== void 0 ? _b : true), "data-placement": this.placement, onClick: (event) => this.handleClick(event) }, this.text ? this.text : null, h("slot", { key: 'a081ede0d1ce27ae2f8104d7cbc04faa8923eed9' })));
|
|
170
164
|
}
|
|
171
165
|
static get is() { return "db-tooltip"; }
|
|
172
166
|
static get properties() {
|
|
@@ -491,7 +485,6 @@ export class DBTooltip {
|
|
|
491
485
|
"_observer": {}
|
|
492
486
|
};
|
|
493
487
|
}
|
|
494
|
-
static get elementRef() { return "rootElement"; }
|
|
495
488
|
static get watchers() {
|
|
496
489
|
return [{
|
|
497
490
|
"propName": "id",
|