@db-ux/v-core-components 5.1.4 → 5.1.6-shell-11663a0
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 +17 -0
- package/agent/ControlPanelBrand.md +15 -0
- package/agent/ControlPanelDesktop.md +48 -0
- package/agent/ControlPanelMeta.md +19 -0
- package/agent/ControlPanelMobile.md +40 -0
- package/agent/ControlPanelNavigation.md +24 -0
- package/agent/ControlPanelNavigationItem.md +39 -0
- package/agent/ControlPanelPrimaryActions.md +20 -0
- package/agent/ControlPanelSecondaryActions.md +24 -0
- package/agent/Shell.md +28 -0
- package/agent/ShellSubNavigation.md +6 -0
- package/agent/_instructions.md +10 -0
- package/dist/components/accordion/accordion.vue.d.ts +1 -1
- package/dist/components/accordion/model.d.ts +2 -8
- package/dist/components/control-panel-brand/control-panel-brand.vue.d.ts +22 -0
- package/dist/components/control-panel-brand/index.d.ts +1 -0
- package/dist/components/control-panel-brand/model.d.ts +7 -0
- package/dist/components/control-panel-desktop/control-panel-desktop.vue.d.ts +34 -0
- package/dist/components/control-panel-desktop/index.d.ts +1 -0
- package/dist/components/control-panel-desktop/model.d.ts +7 -0
- package/dist/components/control-panel-flat-icon/control-panel-flat-icon.vue.d.ts +22 -0
- package/dist/components/control-panel-flat-icon/index.d.ts +1 -0
- package/dist/components/control-panel-flat-icon/model.d.ts +12 -0
- package/dist/components/control-panel-meta/control-panel-meta.vue.d.ts +18 -0
- package/dist/components/control-panel-meta/index.d.ts +1 -0
- package/dist/components/control-panel-meta/model.d.ts +5 -0
- package/dist/components/control-panel-mobile/control-panel-mobile.vue.d.ts +33 -0
- package/dist/components/control-panel-mobile/index.d.ts +1 -0
- package/dist/components/control-panel-mobile/model.d.ts +21 -0
- package/dist/components/control-panel-navigation/control-panel-navigation.vue.d.ts +26 -0
- package/dist/components/control-panel-navigation/index.d.ts +1 -0
- package/dist/components/control-panel-navigation/model.d.ts +27 -0
- package/dist/components/control-panel-navigation-item/control-panel-navigation-item.vue.d.ts +27 -0
- package/dist/components/control-panel-navigation-item/index.d.ts +1 -0
- package/dist/components/control-panel-navigation-item/model.d.ts +20 -0
- package/dist/components/control-panel-navigation-item-group/control-panel-navigation-item-group.vue.d.ts +32 -0
- package/dist/components/control-panel-navigation-item-group/index.d.ts +1 -0
- package/dist/components/control-panel-navigation-item-group/model.d.ts +42 -0
- package/dist/components/control-panel-primary-actions/control-panel-primary-actions.vue.d.ts +18 -0
- package/dist/components/control-panel-primary-actions/index.d.ts +1 -0
- package/dist/components/control-panel-primary-actions/model.d.ts +5 -0
- package/dist/components/control-panel-secondary-actions/control-panel-secondary-actions.vue.d.ts +18 -0
- package/dist/components/control-panel-secondary-actions/index.d.ts +1 -0
- package/dist/components/control-panel-secondary-actions/model.d.ts +5 -0
- package/dist/components/control-panel-skip-navigation/control-panel-skip-navigation.vue.d.ts +21 -0
- package/dist/components/control-panel-skip-navigation/index.d.ts +1 -0
- package/dist/components/control-panel-skip-navigation/model.d.ts +16 -0
- package/dist/components/custom-select/custom-select.vue.d.ts +1 -1
- package/dist/components/custom-select/model.d.ts +1 -1
- package/dist/components/custom-select-list/custom-select-list.vue.d.ts +1 -1
- package/dist/components/drawer/model.d.ts +1 -0
- package/dist/components/header/header.vue.d.ts +2 -2
- package/dist/components/input/input.vue.d.ts +1 -1
- package/dist/components/navigation-item/navigation-item.vue.d.ts +2 -2
- package/dist/components/notification/notification.vue.d.ts +1 -1
- package/dist/components/popover/popover.vue.d.ts +1 -0
- package/dist/components/select/select.vue.d.ts +1 -1
- package/dist/components/shell/index.d.ts +1 -0
- package/dist/components/shell/model.d.ts +38 -0
- package/dist/components/shell/shell.vue.d.ts +25 -0
- package/dist/components/shell-content/index.d.ts +1 -0
- package/dist/components/shell-content/model.d.ts +28 -0
- package/dist/components/shell-content/shell-content.vue.d.ts +27 -0
- package/dist/components/shell-sub-navigation/index.d.ts +1 -0
- package/dist/components/shell-sub-navigation/model.d.ts +5 -0
- package/dist/components/shell-sub-navigation/shell-sub-navigation.vue.d.ts +22 -0
- package/dist/components/tooltip/tooltip.vue.d.ts +1 -0
- package/dist/db-ux.es.js +2693 -1457
- package/dist/db-ux.umd.js +1 -1
- package/dist/index.d.ts +28 -0
- package/dist/shared/constants.d.ts +5 -1
- package/dist/shared/model.d.ts +96 -5
- package/dist/utils/floating-components.d.ts +7 -2
- package/dist/utils/index.d.ts +10 -0
- package/dist/utils/navigation.d.ts +27 -11
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @db-ux/v-core-components
|
|
2
2
|
|
|
3
|
+
## 5.1.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix: multiple issues for DBPopover - [see commit a1a575c](https://github.com/db-ux-design-system/core-web/commit/a1a575c893d0b54aff6bddcb56719e4f8c40197d):
|
|
8
|
+
- DBPopover hides when moving mouse too slow
|
|
9
|
+
- DBPopover changes aria-expanded independently of open state
|
|
10
|
+
- DBPopover - wrong content position on programmatic "open" prop
|
|
11
|
+
- fix(select): move placeholder text to `::before` pseudo-element to avoid axe-core false positive - [see commit 5f1584d](https://github.com/db-ux-design-system/core-web/commit/5f1584d2488115ef9418ca24b8e04f7bddbca803)
|
|
12
|
+
|
|
13
|
+
## 5.1.5
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- fix: handle `env(safe-area-inset-*)` correctly for drawer `direction="up"` and `direction="down"` - [see commit d2cbdf7](https://github.com/db-ux-design-system/core-web/commit/d2cbdf7b78195b57de2d9103f43431b9920d3a4f)
|
|
18
|
+
- fix(`DBHeader`): react to `forceMobile` changes after the initial render - [see commit d2cbdf7](https://github.com/db-ux-design-system/core-web/commit/d2cbdf7b78195b57de2d9103f43431b9920d3a4f)
|
|
19
|
+
|
|
3
20
|
## 5.1.4
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# ControlPanelBrand Examples (vue)
|
|
4
|
+
|
|
5
|
+
```vue
|
|
6
|
+
<template>
|
|
7
|
+
<h1>DBControlPanelBrand Documentation Examples</h1>
|
|
8
|
+
<h2>1. Default Control Panel Brand</h2>
|
|
9
|
+
<DBControlPanelBrand></DBControlPanelBrand>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script setup lang="ts">
|
|
13
|
+
import { DBControlPanelBrand } from "@db-ux/v-v-core-components";
|
|
14
|
+
</script>
|
|
15
|
+
```
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# ControlPanelDesktop Examples (vue)
|
|
4
|
+
|
|
5
|
+
```vue
|
|
6
|
+
<template>
|
|
7
|
+
<h1>DBControlPanelDesktop Documentation Examples</h1>
|
|
8
|
+
<h2>1. Default Control Panel Desktop</h2>
|
|
9
|
+
<DBControlPanelDesktop
|
|
10
|
+
:brand="<DBControlPanelBrand>Application Name</DBControlPanelBrand>"
|
|
11
|
+
><DBControlPanelNavigation
|
|
12
|
+
><DBControlPanelNavigationItem icon="x_placeholder"
|
|
13
|
+
><a href="#">Navi-Item 1</a></DBControlPanelNavigationItem
|
|
14
|
+
><DBControlPanelNavigationItem icon="x_placeholder" :disabled="true"
|
|
15
|
+
><a href="#">Navi-Item 2</a></DBControlPanelNavigationItem
|
|
16
|
+
></DBControlPanelNavigation
|
|
17
|
+
></DBControlPanelDesktop
|
|
18
|
+
>
|
|
19
|
+
<h2>2. Vertical Orientation</h2>
|
|
20
|
+
<DBControlPanelDesktop
|
|
21
|
+
orientation="vertical"
|
|
22
|
+
:brand="<DBControlPanelBrand>Application Name</DBControlPanelBrand>"
|
|
23
|
+
><DBControlPanelNavigation
|
|
24
|
+
><DBControlPanelNavigationItem icon="x_placeholder"
|
|
25
|
+
><a href="#">Navi-Item 1</a></DBControlPanelNavigationItem
|
|
26
|
+
></DBControlPanelNavigation
|
|
27
|
+
></DBControlPanelDesktop
|
|
28
|
+
>
|
|
29
|
+
<h2>3. Collapsed (expanded=false)</h2>
|
|
30
|
+
<DBControlPanelDesktop
|
|
31
|
+
orientation="vertical"
|
|
32
|
+
:expanded="false"
|
|
33
|
+
:brand="<DBControlPanelBrand>Application Name</DBControlPanelBrand>"
|
|
34
|
+
><DBControlPanelNavigation
|
|
35
|
+
><DBControlPanelNavigationItem icon="x_placeholder"
|
|
36
|
+
><a href="#">Navi-Item 1</a></DBControlPanelNavigationItem
|
|
37
|
+
></DBControlPanelNavigation
|
|
38
|
+
></DBControlPanelDesktop
|
|
39
|
+
>
|
|
40
|
+
</template>
|
|
41
|
+
|
|
42
|
+
<script setup lang="ts">
|
|
43
|
+
import { DBControlPanelBrand } from "@db-ux/v-v-core-components";
|
|
44
|
+
import { DBControlPanelNavigation } from "@db-ux/v-v-core-components";
|
|
45
|
+
import { DBControlPanelNavigationItem } from "@db-ux/v-v-core-components";
|
|
46
|
+
import { DBControlPanelDesktop } from "@db-ux/v-v-core-components";
|
|
47
|
+
</script>
|
|
48
|
+
```
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# ControlPanelMeta Examples (vue)
|
|
4
|
+
|
|
5
|
+
```vue
|
|
6
|
+
<template>
|
|
7
|
+
<h1>DBControlPanelMeta Documentation Examples</h1>
|
|
8
|
+
<h2>1. Default Meta</h2>
|
|
9
|
+
<DBControlPanelMeta
|
|
10
|
+
><DBLink href="#">Imprint</DBLink><DBLink href="#">Help</DBLink
|
|
11
|
+
><DBLink href="#">Privacy</DBLink></DBControlPanelMeta
|
|
12
|
+
>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<script setup lang="ts">
|
|
16
|
+
import { DBLink } from "@db-ux/v-v-core-components";
|
|
17
|
+
import { DBControlPanelMeta } from "@db-ux/v-v-core-components";
|
|
18
|
+
</script>
|
|
19
|
+
```
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# ControlPanelMobile Examples (vue)
|
|
4
|
+
|
|
5
|
+
```vue
|
|
6
|
+
<template>
|
|
7
|
+
<h1>DBControlPanelMobile Documentation Examples</h1>
|
|
8
|
+
<h2>1. Default Control Panel Mobile (Drawer)</h2>
|
|
9
|
+
<DBControlPanelMobile
|
|
10
|
+
drawerHeaderText="Application Name"
|
|
11
|
+
:brand="<DBControlPanelBrand>Application Name</DBControlPanelBrand>"
|
|
12
|
+
><DBControlPanelNavigation
|
|
13
|
+
><DBControlPanelNavigationItem icon="x_placeholder"
|
|
14
|
+
><a href="#">Navi-Item 1</a></DBControlPanelNavigationItem
|
|
15
|
+
><DBControlPanelNavigationItem icon="x_placeholder" :disabled="true"
|
|
16
|
+
><a href="#">Navi-Item 2</a></DBControlPanelNavigationItem
|
|
17
|
+
></DBControlPanelNavigation
|
|
18
|
+
></DBControlPanelMobile
|
|
19
|
+
>
|
|
20
|
+
<h2>2. Bottom Position + Flat Icon Variant</h2>
|
|
21
|
+
<DBControlPanelMobile
|
|
22
|
+
position="bottom"
|
|
23
|
+
variant="flat-icon"
|
|
24
|
+
drawerHeaderText="Application Name"
|
|
25
|
+
:brand="<DBControlPanelBrand>Application Name</DBControlPanelBrand>"
|
|
26
|
+
><DBControlPanelNavigation
|
|
27
|
+
><DBControlPanelNavigationItem icon="x_placeholder"
|
|
28
|
+
><a href="#">Navi-Item 1</a></DBControlPanelNavigationItem
|
|
29
|
+
></DBControlPanelNavigation
|
|
30
|
+
></DBControlPanelMobile
|
|
31
|
+
>
|
|
32
|
+
</template>
|
|
33
|
+
|
|
34
|
+
<script setup lang="ts">
|
|
35
|
+
import { DBControlPanelBrand } from "@db-ux/v-v-core-components";
|
|
36
|
+
import { DBControlPanelNavigation } from "@db-ux/v-v-core-components";
|
|
37
|
+
import { DBControlPanelNavigationItem } from "@db-ux/v-v-core-components";
|
|
38
|
+
import { DBControlPanelMobile } from "@db-ux/v-v-core-components";
|
|
39
|
+
</script>
|
|
40
|
+
```
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# ControlPanelNavigation Examples (vue)
|
|
4
|
+
|
|
5
|
+
```vue
|
|
6
|
+
<template>
|
|
7
|
+
<h1>DBControlPanelNavigation Documentation Examples</h1>
|
|
8
|
+
<h2>1. Default Navigation</h2>
|
|
9
|
+
<DBControlPanelNavigation
|
|
10
|
+
><DBControlPanelNavigationItem
|
|
11
|
+
><a href="#">Navi-Item 1</a></DBControlPanelNavigationItem
|
|
12
|
+
><DBControlPanelNavigationItem icon="x_placeholder"
|
|
13
|
+
><a href="#">Navi-Item 2</a></DBControlPanelNavigationItem
|
|
14
|
+
><DBControlPanelNavigationItem :disabled="true"
|
|
15
|
+
><a href="#">Navi-Item 3</a></DBControlPanelNavigationItem
|
|
16
|
+
></DBControlPanelNavigation
|
|
17
|
+
>
|
|
18
|
+
</template>
|
|
19
|
+
|
|
20
|
+
<script setup lang="ts">
|
|
21
|
+
import { DBControlPanelNavigationItem } from "@db-ux/v-v-core-components";
|
|
22
|
+
import { DBControlPanelNavigation } from "@db-ux/v-v-core-components";
|
|
23
|
+
</script>
|
|
24
|
+
```
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# ControlPanelNavigationItem Examples (vue)
|
|
4
|
+
|
|
5
|
+
```vue
|
|
6
|
+
<template>
|
|
7
|
+
<h1>DBControlPanelNavigationItem Documentation Examples</h1>
|
|
8
|
+
<h2>1. Default Navigation Item</h2>
|
|
9
|
+
<DBControlPanelNavigationItem>
|
|
10
|
+
Default Navigation Item
|
|
11
|
+
</DBControlPanelNavigationItem>
|
|
12
|
+
<h2>2. Active State</h2>
|
|
13
|
+
<DBControlPanelNavigationItem :active="true">
|
|
14
|
+
Active Navigation Item
|
|
15
|
+
</DBControlPanelNavigationItem>
|
|
16
|
+
<h2>3. Disabled State</h2>
|
|
17
|
+
<DBControlPanelNavigationItem :disabled="true">
|
|
18
|
+
Disabled Navigation Item
|
|
19
|
+
</DBControlPanelNavigationItem>
|
|
20
|
+
<h2>4. Sub-Navigation</h2>
|
|
21
|
+
<DBControlPanelNavigationItem
|
|
22
|
+
:subNavigation="<div>Sub Navigation Content</div>"
|
|
23
|
+
>
|
|
24
|
+
Navigation Item with Sub-Navigation
|
|
25
|
+
</DBControlPanelNavigationItem>
|
|
26
|
+
<h2>5. Icon Support</h2>
|
|
27
|
+
<DBControlPanelNavigationItem icon="user">
|
|
28
|
+
Navigation Item with Icon
|
|
29
|
+
</DBControlPanelNavigationItem>
|
|
30
|
+
<h2>6. Custom Class</h2>
|
|
31
|
+
<DBControlPanelNavigationItem>
|
|
32
|
+
Navigation Item with Custom Class
|
|
33
|
+
</DBControlPanelNavigationItem>
|
|
34
|
+
</template>
|
|
35
|
+
|
|
36
|
+
<script setup lang="ts">
|
|
37
|
+
import { DBControlPanelNavigationItem } from "@db-ux/v-v-core-components";
|
|
38
|
+
</script>
|
|
39
|
+
```
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# ControlPanelPrimaryActions Examples (vue)
|
|
4
|
+
|
|
5
|
+
```vue
|
|
6
|
+
<template>
|
|
7
|
+
<h1>DBControlPanelPrimaryActions Documentation Examples</h1>
|
|
8
|
+
<h2>1. Default Primary Actions</h2>
|
|
9
|
+
<DBControlPanelPrimaryActions
|
|
10
|
+
><DBButton icon="magnifying_glass" variant="ghost" :noText="true">
|
|
11
|
+
Search
|
|
12
|
+
</DBButton></DBControlPanelPrimaryActions
|
|
13
|
+
>
|
|
14
|
+
</template>
|
|
15
|
+
|
|
16
|
+
<script setup lang="ts">
|
|
17
|
+
import { DBButton } from "@db-ux/v-v-core-components";
|
|
18
|
+
import { DBControlPanelPrimaryActions } from "@db-ux/v-v-core-components";
|
|
19
|
+
</script>
|
|
20
|
+
```
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# ControlPanelSecondaryActions Examples (vue)
|
|
4
|
+
|
|
5
|
+
```vue
|
|
6
|
+
<template>
|
|
7
|
+
<h1>DBControlPanelSecondaryActions Documentation Examples</h1>
|
|
8
|
+
<h2>1. Default Secondary Actions</h2>
|
|
9
|
+
<DBControlPanelSecondaryActions
|
|
10
|
+
><DBButton icon="x_placeholder" variant="ghost" :noText="true">
|
|
11
|
+
Profile </DBButton
|
|
12
|
+
><DBButton icon="x_placeholder" variant="ghost" :noText="true">
|
|
13
|
+
Notification </DBButton
|
|
14
|
+
><DBButton icon="x_placeholder" variant="ghost" :noText="true">
|
|
15
|
+
Help
|
|
16
|
+
</DBButton></DBControlPanelSecondaryActions
|
|
17
|
+
>
|
|
18
|
+
</template>
|
|
19
|
+
|
|
20
|
+
<script setup lang="ts">
|
|
21
|
+
import { DBButton } from "@db-ux/v-v-core-components";
|
|
22
|
+
import { DBControlPanelSecondaryActions } from "@db-ux/v-v-core-components";
|
|
23
|
+
</script>
|
|
24
|
+
```
|
package/agent/Shell.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# Shell Examples (vue)
|
|
4
|
+
|
|
5
|
+
```vue
|
|
6
|
+
<template>
|
|
7
|
+
<h1>DBShell Documentation Examples</h1>
|
|
8
|
+
<h2>1. Full Shell (Desktop + Mobile Control Panel)</h2>
|
|
9
|
+
<DBShell>
|
|
10
|
+
<template v-slot:controlPanelDesktop><DBControlPanelDesktop><template v-slot:brand><DBControlPanelBrand data-logo="db-systel" /></template><template v-slot:meta><DBLink href="#">Imprint</DBLink><DBLink href="#">Help</DBLink></template><template v-slot:primaryActions><DBButton icon="magnifying_glass" variant="ghost" noText>Search</DBButton></template><template v-slot:secondaryActions><DBButton icon="x_placeholder" variant="ghost" noText>Profile</DBButton><DBButton icon="x_placeholder" variant="ghost" noText>Notification</DBButton><DBButton icon="x_placeholder" variant="ghost" noText>Help</DBButton></template><DBControlPanelNavigation><DBControlPanelNavigationItem icon="x_placeholder"><a href="#">Navi-Item 1</a></DBControlPanelNavigationItem><DBControlPanelNavigationItem icon="x_placeholder" disabled><a href="#">Navi-Item 2</a></DBControlPanelNavigationItem></DBControlPanelNavigation></DBControlPanelDesktop></template>
|
|
11
|
+
<template v-slot:controlPanelMobile><DBControlPanelMobile drawerHeaderText="Application Name"><template v-slot:brand><DBControlPanelBrand data-logo="db-systel" /></template><template v-slot:meta><DBLink href="#">Imprint</DBLink><DBLink href="#">Help</DBLink></template><template v-slot:primaryActions><DBButton icon="magnifying_glass" variant="ghost" noText>Search</DBButton></template><template v-slot:secondaryActions><DBButton icon="x_placeholder" variant="ghost" noText>Profile</DBButton><DBButton icon="x_placeholder" variant="ghost" noText>Notification</DBButton><DBButton icon="x_placeholder" variant="ghost" noText>Help</DBButton></template><DBControlPanelNavigation><DBControlPanelNavigationItem icon="x_placeholder"><a href="#">Navi-Item 1</a></DBControlPanelNavigationItem><DBControlPanelNavigationItem icon="x_placeholder" disabled><a href="#">Navi-Item 2</a></DBControlPanelNavigationItem></DBControlPanelNavigation></DBControlPanelMobile></template>
|
|
12
|
+
|
|
13
|
+
<DBControlPanelNavigation
|
|
14
|
+
><DBControlPanelNavigationItem icon="x_placeholder"
|
|
15
|
+
><a href="#">Navi-Item 1</a></DBControlPanelNavigationItem
|
|
16
|
+
><DBControlPanelNavigationItem icon="x_placeholder" :disabled="true"
|
|
17
|
+
><a href="#">Navi-Item 2</a></DBControlPanelNavigationItem
|
|
18
|
+
></DBControlPanelNavigation
|
|
19
|
+
></DBShell
|
|
20
|
+
>
|
|
21
|
+
</template>
|
|
22
|
+
|
|
23
|
+
<script setup lang="ts">
|
|
24
|
+
import { DBControlPanelNavigation } from "@db-ux/v-v-core-components";
|
|
25
|
+
import { DBControlPanelNavigationItem } from "@db-ux/v-v-core-components";
|
|
26
|
+
import { DBShell } from "@db-ux/v-v-core-components";
|
|
27
|
+
</script>
|
|
28
|
+
```
|
package/agent/_instructions.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
- Use "@db-ux/v-core-components" as import for components:
|
|
2
|
+
- use for `DBShellSubNavigation` or `ShellSubNavigation` the file __agent-path__/agent/ShellSubNavigation.md
|
|
2
3
|
- use for `DBTooltip` or `Tooltip` the file __agent-path__/agent/Tooltip.md
|
|
3
4
|
- use for `DBTextarea` or `Textarea` the file __agent-path__/agent/Textarea.md
|
|
4
5
|
- use for `DBTag` or `Tag` the file __agent-path__/agent/Tag.md
|
|
@@ -6,6 +7,7 @@
|
|
|
6
7
|
- use for `DBTabItem` or `TabItem` the file __agent-path__/agent/TabItem.md
|
|
7
8
|
- use for `DBSwitch` or `Switch` the file __agent-path__/agent/Switch.md
|
|
8
9
|
- use for `DBStack` or `Stack` the file __agent-path__/agent/Stack.md
|
|
10
|
+
- use for `DBShell` or `Shell` the file __agent-path__/agent/Shell.md
|
|
9
11
|
- use for `DBSelect` or `Select` the file __agent-path__/agent/Select.md
|
|
10
12
|
- use for `DBSection` or `Section` the file __agent-path__/agent/Section.md
|
|
11
13
|
- use for `DBRadio` or `Radio` the file __agent-path__/agent/Radio.md
|
|
@@ -22,6 +24,14 @@
|
|
|
22
24
|
- use for `DBDrawer` or `Drawer` the file __agent-path__/agent/Drawer.md
|
|
23
25
|
- use for `DBDivider` or `Divider` the file __agent-path__/agent/Divider.md
|
|
24
26
|
- use for `DBCustomSelect` or `CustomSelect` the file __agent-path__/agent/CustomSelect.md
|
|
27
|
+
- use for `DBControlPanelSecondaryActions` or `ControlPanelSecondaryActions` the file __agent-path__/agent/ControlPanelSecondaryActions.md
|
|
28
|
+
- use for `DBControlPanelPrimaryActions` or `ControlPanelPrimaryActions` the file __agent-path__/agent/ControlPanelPrimaryActions.md
|
|
29
|
+
- use for `DBControlPanelNavigationItem` or `ControlPanelNavigationItem` the file __agent-path__/agent/ControlPanelNavigationItem.md
|
|
30
|
+
- use for `DBControlPanelNavigation` or `ControlPanelNavigation` the file __agent-path__/agent/ControlPanelNavigation.md
|
|
31
|
+
- use for `DBControlPanelMobile` or `ControlPanelMobile` the file __agent-path__/agent/ControlPanelMobile.md
|
|
32
|
+
- use for `DBControlPanelMeta` or `ControlPanelMeta` the file __agent-path__/agent/ControlPanelMeta.md
|
|
33
|
+
- use for `DBControlPanelDesktop` or `ControlPanelDesktop` the file __agent-path__/agent/ControlPanelDesktop.md
|
|
34
|
+
- use for `DBControlPanelBrand` or `ControlPanelBrand` the file __agent-path__/agent/ControlPanelBrand.md
|
|
25
35
|
- use for `DBCheckbox` or `Checkbox` the file __agent-path__/agent/Checkbox.md
|
|
26
36
|
- use for `DBCard` or `Card` the file __agent-path__/agent/Card.md
|
|
27
37
|
- use for `DBButton` or `Button` the file __agent-path__/agent/Button.md
|
|
@@ -10,10 +10,10 @@ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBAccordio
|
|
|
10
10
|
className: string;
|
|
11
11
|
propOverrides: import("../../index.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
|
|
12
12
|
name: string;
|
|
13
|
-
behavior: import("./model.js", { with: { "resolution-mode": "import" } }).AccordionBehaviorType;
|
|
14
13
|
initOpenIndex: number[];
|
|
15
14
|
items: DBAccordionItemDefaultProps[] | string;
|
|
16
15
|
variant: import("./model.js", { with: { "resolution-mode": "import" } }).AccordionVariantType;
|
|
16
|
+
behavior: import("../../index.js", { with: { "resolution-mode": "import" } }).CollapsibleBehaviorType;
|
|
17
17
|
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
19
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,14 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { CollapsibleBehaviorProps, GlobalProps, InitializedState } from '../../shared/model.js';
|
|
2
2
|
import type { DBAccordionItemDefaultProps } from '../accordion-item/model.js';
|
|
3
3
|
export declare const AccordionVariantList: readonly ["divider", "card"];
|
|
4
4
|
export type AccordionVariantType = (typeof AccordionVariantList)[number];
|
|
5
|
-
export declare const AccordionBehaviorList: readonly ["multiple", "single"];
|
|
6
|
-
export type AccordionBehaviorType = (typeof AccordionBehaviorList)[number];
|
|
7
5
|
export type DBAccordionDefaultProps = {
|
|
8
|
-
/**
|
|
9
|
-
* To allow multiple items open at the same time or only 1 item
|
|
10
|
-
*/
|
|
11
|
-
behavior?: AccordionBehaviorType;
|
|
12
6
|
/**
|
|
13
7
|
* The index of items which should be open when loading the accordion
|
|
14
8
|
*/
|
|
@@ -32,7 +26,7 @@ export type DBAccordionDefaultProps = {
|
|
|
32
26
|
*/
|
|
33
27
|
variant?: AccordionVariantType;
|
|
34
28
|
};
|
|
35
|
-
export type DBAccordionProps = DBAccordionDefaultProps & GlobalProps;
|
|
29
|
+
export type DBAccordionProps = DBAccordionDefaultProps & GlobalProps & CollapsibleBehaviorProps;
|
|
36
30
|
export type DBAccordionDefaultState = {
|
|
37
31
|
_initOpenIndexDone: boolean;
|
|
38
32
|
_name?: string;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DBControlPanelBrandProps } from "./model.js";
|
|
2
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
5
|
+
} & {
|
|
6
|
+
'end-slot'?: (props: typeof __VLS_3) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBControlPanelBrandProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<DBControlPanelBrandProps> & Readonly<{}>, {
|
|
9
|
+
id: string;
|
|
10
|
+
children: any;
|
|
11
|
+
className: string;
|
|
12
|
+
propOverrides: import("../../index.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
|
|
13
|
+
secondLine: string;
|
|
14
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DBControlPanelBrand } from './control-panel-brand.vue';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { EndSlotProps, GlobalProps, GlobalState } from '../../shared/model.js';
|
|
2
|
+
export type DBControlPanelBrandDefaultProps = {
|
|
3
|
+
secondLine?: string;
|
|
4
|
+
};
|
|
5
|
+
export type DBControlPanelBrandProps = DBControlPanelBrandDefaultProps & GlobalProps & EndSlotProps;
|
|
6
|
+
export type DBControlPanelBrandDefaultState = {};
|
|
7
|
+
export type DBControlPanelBrandState = DBControlPanelBrandDefaultState & GlobalState;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { DBControlPanelDesktopProps } from "./model.js";
|
|
2
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
'skip-navigation'?: (props: typeof __VLS_1) => any;
|
|
5
|
+
} & {
|
|
6
|
+
brand?: (props: typeof __VLS_3) => any;
|
|
7
|
+
} & {
|
|
8
|
+
default?: (props: typeof __VLS_5) => any;
|
|
9
|
+
} & {
|
|
10
|
+
meta?: (props: typeof __VLS_7) => any;
|
|
11
|
+
} & {
|
|
12
|
+
'primary-actions'?: (props: typeof __VLS_9) => any;
|
|
13
|
+
} & {
|
|
14
|
+
'secondary-actions'?: (props: typeof __VLS_11) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBControlPanelDesktopProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<DBControlPanelDesktopProps> & Readonly<{}>, {
|
|
17
|
+
id: string;
|
|
18
|
+
children: any;
|
|
19
|
+
className: string;
|
|
20
|
+
propOverrides: import("../../index.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
|
|
21
|
+
width: import("../../index.js", { with: { "resolution-mode": "import" } }).MaxWidthType;
|
|
22
|
+
orientation: import("../../index.js", { with: { "resolution-mode": "import" } }).OrientationType;
|
|
23
|
+
expanded: boolean | string;
|
|
24
|
+
expandButtonTooltip: string;
|
|
25
|
+
onExpandButtonTooltipFn: (open: boolean) => string;
|
|
26
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DBControlPanelDesktop } from './control-panel-desktop.vue';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ContainerWidthProps, ControlPanelProps, GlobalProps, GlobalState, OrientationProps, ResetIdState, SidebarProps, SidebarState, ToggleEventState } from '../../shared/model.js';
|
|
2
|
+
export type DBControlPanelDesktopDefaultProps = {};
|
|
3
|
+
export type DBControlPanelDesktopProps = DBControlPanelDesktopDefaultProps & GlobalProps & ContainerWidthProps & ControlPanelProps & OrientationProps & SidebarProps;
|
|
4
|
+
export type DBControlPanelDesktopDefaultState = {
|
|
5
|
+
syncExpanded: () => void;
|
|
6
|
+
};
|
|
7
|
+
export type DBControlPanelDesktopState = DBControlPanelDesktopDefaultState & GlobalState & ToggleEventState<HTMLButtonElement> & SidebarState & ResetIdState;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DBControlPanelFlatIconProps } from "./model.js";
|
|
2
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
'skip-navigation'?: (props: typeof __VLS_1) => any;
|
|
5
|
+
} & {
|
|
6
|
+
default?: (props: typeof __VLS_3) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBControlPanelFlatIconProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<DBControlPanelFlatIconProps> & Readonly<{}>, {
|
|
9
|
+
id: string;
|
|
10
|
+
children: any;
|
|
11
|
+
className: string;
|
|
12
|
+
propOverrides: import("../../index.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
|
|
13
|
+
noText: boolean | string;
|
|
14
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DBControlPanelFlatIcon } from './control-panel-flat-icon.vue';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { GlobalProps, GlobalState, NoTextProps } from '../../shared/model.js';
|
|
2
|
+
export type DBControlPanelFlatIconDefaultProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Slot to pass an anchor or link to skip the navigation and jump to main content.
|
|
5
|
+
*/
|
|
6
|
+
skipNavigation?: any;
|
|
7
|
+
};
|
|
8
|
+
export type DBControlPanelFlatIconProps = DBControlPanelFlatIconDefaultProps & GlobalProps & NoTextProps;
|
|
9
|
+
export type DBControlPanelFlatIconDefaultState = {
|
|
10
|
+
_resizeObserverCallbackId?: string;
|
|
11
|
+
};
|
|
12
|
+
export type DBControlPanelFlatIconState = DBControlPanelFlatIconDefaultState & GlobalState;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<import("../../index.js", { with: { "resolution-mode": "import" } }).GlobalProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("../../index.js", { with: { "resolution-mode": "import" } }).GlobalProps> & Readonly<{}>, {
|
|
6
|
+
id: string;
|
|
7
|
+
children: any;
|
|
8
|
+
className: string;
|
|
9
|
+
propOverrides: import("../../index.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
|
|
10
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DBControlPanelMeta } from './control-panel-meta.vue';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { GlobalProps, GlobalState } from '../../shared/model.js';
|
|
2
|
+
export type DBControlPanelMetaDefaultProps = {};
|
|
3
|
+
export type DBControlPanelMetaProps = DBControlPanelMetaDefaultProps & GlobalProps;
|
|
4
|
+
export type DBControlPanelMetaDefaultState = {};
|
|
5
|
+
export type DBControlPanelMetaState = DBControlPanelMetaDefaultState & GlobalState;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { DBControlPanelMobileProps } from "./model.js";
|
|
2
|
+
declare var __VLS_1: {}, __VLS_9: {}, __VLS_11: {}, __VLS_26: {}, __VLS_28: {}, __VLS_30: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
'skip-navigation'?: (props: typeof __VLS_1) => any;
|
|
5
|
+
} & {
|
|
6
|
+
default?: (props: typeof __VLS_9) => any;
|
|
7
|
+
} & {
|
|
8
|
+
meta?: (props: typeof __VLS_11) => any;
|
|
9
|
+
} & {
|
|
10
|
+
'secondary-actions'?: (props: typeof __VLS_26) => any;
|
|
11
|
+
} & {
|
|
12
|
+
brand?: (props: typeof __VLS_28) => any;
|
|
13
|
+
} & {
|
|
14
|
+
'primary-actions'?: (props: typeof __VLS_30) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBControlPanelMobileProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<DBControlPanelMobileProps> & Readonly<{}>, {
|
|
17
|
+
id: string;
|
|
18
|
+
children: any;
|
|
19
|
+
className: string;
|
|
20
|
+
propOverrides: import("../../index.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
|
|
21
|
+
onToggle: (open: boolean) => void;
|
|
22
|
+
position: import("../../index.js", { with: { "resolution-mode": "import" } }).ShellControlPanelMobilePositionType;
|
|
23
|
+
drawerHeaderText: string;
|
|
24
|
+
burgerMenuLabel: string;
|
|
25
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DBControlPanelMobile } from './control-panel-mobile.vue';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ControlPanelProps, GlobalProps, GlobalState, NavigationBehaviorState, ShellControlPanelMobilePositionType, ToggleEventProps, ToggleEventState } from '../../shared/model.js';
|
|
2
|
+
export type DBControlPanelMobileDefaultProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Text to pass in a headline for the drawer header.
|
|
5
|
+
*/
|
|
6
|
+
drawerHeaderText?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Sets the accessible label for the burger menu button of the mobile control panel.
|
|
9
|
+
*/
|
|
10
|
+
burgerMenuLabel?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Change the position of the mobile content panel
|
|
13
|
+
*/
|
|
14
|
+
position?: ShellControlPanelMobilePositionType;
|
|
15
|
+
};
|
|
16
|
+
export type DBControlPanelMobileProps = DBControlPanelMobileDefaultProps & GlobalProps & ToggleEventProps & ControlPanelProps;
|
|
17
|
+
export type DBControlPanelMobileDefaultState = {
|
|
18
|
+
open: boolean;
|
|
19
|
+
handleClose: (event: any) => void;
|
|
20
|
+
};
|
|
21
|
+
export type DBControlPanelMobileState = DBControlPanelMobileDefaultState & GlobalState & ToggleEventState<HTMLElement> & NavigationBehaviorState;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { NavigationItemGroupVariantType } from "../../shared/model.js";
|
|
2
|
+
import { DBControlPanelNavigationProps } from "./model.js";
|
|
3
|
+
declare var __VLS_7: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_7) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBControlPanelNavigationProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<DBControlPanelNavigationProps> & Readonly<{}>, {
|
|
8
|
+
id: string;
|
|
9
|
+
children: any;
|
|
10
|
+
className: string;
|
|
11
|
+
propOverrides: import("../../shared/model.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
|
|
12
|
+
variant: NavigationItemGroupVariantType;
|
|
13
|
+
behavior: import("../../shared/model.js", { with: { "resolution-mode": "import" } }).CollapsibleBehaviorType;
|
|
14
|
+
showTreeLine: boolean | string;
|
|
15
|
+
arrowScrollDistance: number | string;
|
|
16
|
+
scrollLeftText: string;
|
|
17
|
+
scrollRightText: string;
|
|
18
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DBControlPanelNavigation } from './control-panel-navigation.vue';
|