@db-ux/v-core-components 4.5.4-table-c758ae7 → 4.5.4-tailwind-inline-5d37a00

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.
Files changed (31) hide show
  1. package/README.md +50 -9
  2. package/dist/db-ux.es.js +4642 -4951
  3. package/dist/db-ux.umd.js +1 -1
  4. package/dist/index.d.ts +0 -16
  5. package/dist/shared/model.d.ts +2 -42
  6. package/package.json +6 -6
  7. package/dist/components/table/examples/data.d.ts +0 -9
  8. package/dist/components/table/index.d.ts +0 -1
  9. package/dist/components/table/model.d.ts +0 -74
  10. package/dist/components/table/table.vue.d.ts +0 -30
  11. package/dist/components/table-body/index.d.ts +0 -1
  12. package/dist/components/table-body/model.d.ts +0 -8
  13. package/dist/components/table-body/table-body.vue.d.ts +0 -20
  14. package/dist/components/table-caption/index.d.ts +0 -1
  15. package/dist/components/table-caption/model.d.ts +0 -5
  16. package/dist/components/table-caption/table-caption.vue.d.ts +0 -17
  17. package/dist/components/table-data-cell/index.d.ts +0 -1
  18. package/dist/components/table-data-cell/model.d.ts +0 -5
  19. package/dist/components/table-data-cell/table-data-cell.vue.d.ts +0 -25
  20. package/dist/components/table-footer/index.d.ts +0 -1
  21. package/dist/components/table-footer/model.d.ts +0 -8
  22. package/dist/components/table-footer/table-footer.vue.d.ts +0 -20
  23. package/dist/components/table-head/index.d.ts +0 -1
  24. package/dist/components/table-head/model.d.ts +0 -10
  25. package/dist/components/table-head/table-head.vue.d.ts +0 -20
  26. package/dist/components/table-header-cell/index.d.ts +0 -1
  27. package/dist/components/table-header-cell/model.d.ts +0 -24
  28. package/dist/components/table-header-cell/table-header-cell.vue.d.ts +0 -28
  29. package/dist/components/table-row/index.d.ts +0 -1
  30. package/dist/components/table-row/model.d.ts +0 -30
  31. package/dist/components/table-row/table-row.vue.d.ts +0 -21
package/dist/index.d.ts CHANGED
@@ -79,19 +79,3 @@ export * from './utils/document-scroll-listener';
79
79
  export * from './utils/floating-components';
80
80
  export * from './utils/index';
81
81
  export * from './utils/navigation';
82
- export * from "./components/table";
83
- export * from "./components/table/model";
84
- export * from "./components/table-caption";
85
- export * from "./components/table-caption/model";
86
- export * from "./components/table-head";
87
- export * from "./components/table-head/model";
88
- export * from "./components/table-body";
89
- export * from "./components/table-body/model";
90
- export * from "./components/table-footer";
91
- export * from "./components/table-footer/model";
92
- export * from "./components/table-row";
93
- export * from "./components/table-row/model";
94
- export * from "./components/table-header-cell";
95
- export * from "./components/table-header-cell/model";
96
- export * from "./components/table-data-cell";
97
- export * from "./components/table-data-cell/model";
@@ -460,11 +460,11 @@ export type CloseEventProps<T> = {
460
460
  export type CloseEventState<T> = {
461
461
  handleClose: (event?: T | void, forceClose?: boolean) => void;
462
462
  };
463
- export declare const AlignmentList: readonly ["start", "center", "end"];
463
+ export declare const AlignmentList: readonly ["start", "center"];
464
464
  export type AlignmentType = (typeof AlignmentList)[number];
465
465
  export type AlignmentProps = {
466
466
  /**
467
- * Define the content alignment
467
+ * Define the content alignment in full width
468
468
  */
469
469
  alignment?: AlignmentType | string;
470
470
  };
@@ -554,43 +554,3 @@ export interface PatternhubProps {
554
554
  */
555
555
  isPatternhub?: boolean;
556
556
  }
557
- export type DBTableCellProps = {
558
- /**
559
- * The **`colSpan`** read-only property of the HTMLTableCellElement interface represents the number of columns this cell must span; this lets the cell occupy space across multiple columns of the table.
560
- *
561
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/colSpan)
562
- */
563
- colSpan?: number | string;
564
- /**
565
- * The **`colSpan`** read-only property of the HTMLTableCellElement interface represents the number of columns this cell must span; this lets the cell occupy space across multiple columns of the table.
566
- *
567
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/colSpan)
568
- */
569
- colspan?: number | string;
570
- /**
571
- * The **`headers`** property of the HTMLTableCellElement interface contains a list of IDs of th elements that are _headers_ for this specific cell.
572
- *
573
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/headers)
574
- */
575
- headers?: string;
576
- /**
577
- * The **`rowSpan`** read-only property of the HTMLTableCellElement interface represents the number of rows this cell must span; this lets the cell occupy space across multiple rows of the table.
578
- *
579
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/rowSpan)
580
- */
581
- rowSpan?: number | string;
582
- /**
583
- * The **`rowSpan`** read-only property of the HTMLTableCellElement interface represents the number of rows this cell must span; this lets the cell occupy space across multiple rows of the table.
584
- *
585
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/rowSpan)
586
- */
587
- rowspan?: number | string;
588
- /**
589
- * Set the horizontal alignment of the cell content.
590
- */
591
- horizontalAlignment?: AlignmentType;
592
- /**
593
- * Set the vertical alignment of the cell content.
594
- */
595
- verticalAlignment?: AlignmentType;
596
- };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@db-ux/v-core-components",
3
- "version": "4.5.4-table-c758ae7",
3
+ "version": "4.5.4-tailwind-inline-5d37a00",
4
4
  "type": "module",
5
5
  "description": "Vue components for @db-ux/core-components",
6
6
  "repository": {
@@ -45,9 +45,9 @@
45
45
  "replace-in-file": "8.4.0",
46
46
  "tsx": "4.21.0",
47
47
  "typescript": "5.9.3",
48
- "vite": "7.3.1",
49
- "vue": "3.5.30",
50
- "vue-tsc": "3.2.6"
48
+ "vite": "8.0.5",
49
+ "vue": "3.5.31",
50
+ "vue-tsc": "^3.2.6"
51
51
  },
52
52
  "publishConfig": {
53
53
  "registry": "https://registry.npmjs.org/",
@@ -56,7 +56,7 @@
56
56
  "sideEffects": false,
57
57
  "source": "src/index.ts",
58
58
  "dependencies": {
59
- "@db-ux/core-components": "4.5.4-table-c758ae7",
60
- "@db-ux/core-foundations": "4.5.4-table-c758ae7"
59
+ "@db-ux/core-components": "4.5.4-tailwind-inline-5d37a00",
60
+ "@db-ux/core-foundations": "4.5.4-tailwind-inline-5d37a00"
61
61
  }
62
62
  }
@@ -1,9 +0,0 @@
1
- import { DBTableData } from '../model';
2
- export declare const defaultTable: DBTableData;
3
- export declare const horizontalAlignmentStartTable: DBTableData;
4
- export declare const horizontalAlignmentCenterTable: DBTableData;
5
- export declare const horizontalAlignmentEndTable: DBTableData;
6
- export declare const subHeaderEmphasisNoneTable: DBTableData;
7
- export declare const subHeaderEmphasisWeakTable: DBTableData;
8
- export declare const subHeaderEmphasisStrongTable: DBTableData;
9
- export declare const overflowTable: DBTableData;
@@ -1 +0,0 @@
1
- export { default as DBTable } from "./table.vue";
@@ -1,74 +0,0 @@
1
- import { GlobalProps, GlobalState, WidthProps } from '../../shared/model';
2
- import { DBTableRowDefaultProps } from '../table-row/model';
3
- export declare const DBTableRowSizeList: readonly ["x-small", "small", "medium", "large"];
4
- export type DBTableRowSizeType = (typeof DBTableRowSizeList)[number];
5
- export declare const DBTableVariantList: readonly ["joined", "zebra", "floating"];
6
- export type DBTableVariantType = (typeof DBTableVariantList)[number];
7
- export declare const DBTableDividerList: readonly ["none", "both", "horizontal", "vertical"];
8
- export type DBTableDividerType = (typeof DBTableDividerList)[number];
9
- export declare const DBTableMobileVariantList: readonly ["table", "list"];
10
- export type DBTableMobileVariantType = (typeof DBTableMobileVariantList)[number];
11
- export declare const DBTableStickHeaderList: readonly ["none", "both", "horizontal", "vertical"];
12
- export type DBTableStickHederType = (typeof DBTableStickHeaderList)[number];
13
- export type DBTableData = {
14
- header?: DBTableRowDefaultProps[];
15
- body?: DBTableRowDefaultProps[];
16
- footer?: DBTableRowDefaultProps[];
17
- };
18
- export declare const DBTableColumnsSizeList: readonly ["auto", "1fr", "min-content", "max-content"];
19
- export type DBTableColumnsSizeType = (typeof DBTableColumnsSizeList)[number];
20
- export type DBTableDefaultProps = {
21
- /**
22
- * Slot for table caption
23
- */
24
- caption?: any;
25
- /**
26
- * String alternative for table caption slot
27
- */
28
- captionPlain?: string;
29
- /**
30
- * Table data if you don't use default slot/children
31
- */
32
- data?: DBTableData | string;
33
- /**
34
- * Show the divider between the rows and cells
35
- */
36
- divider?: DBTableDividerType;
37
- /**
38
- * Show caption above table default is hidden
39
- */
40
- showCaption?: boolean | string;
41
- /**
42
- * Size of the table rows
43
- */
44
- size?: DBTableRowSizeType;
45
- /**
46
- * Change the layout of the table
47
- * floating: card style table
48
- * joined: classic table
49
- */
50
- variant?: DBTableVariantType;
51
- /**
52
- * Change the layout of the table on mobile
53
- * list: list style
54
- * table: classic table
55
- */
56
- mobileVariant?: DBTableMobileVariantType;
57
- /**
58
- * Change the header cells to be sticky when scrolling the table
59
- */
60
- stickyHeader?: DBTableStickHederType;
61
- /**
62
- * Set the width of the columns based in their index.
63
- * Alternative: Use `--db-table-column-size-$index` inside CSS to control it.
64
- * See: https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/grid-template-columns
65
- */
66
- columnSizes?: Record<number, DBTableColumnsSizeType | string>;
67
- };
68
- export type DBTableProps = DBTableDefaultProps & GlobalProps & WidthProps;
69
- export type DBTableDefaultState = {
70
- _data?: DBTableData;
71
- _style?: any;
72
- convertData: () => DBTableData;
73
- };
74
- export type DBTableState = DBTableDefaultState & GlobalState;
@@ -1,30 +0,0 @@
1
- import { DBTableData, DBTableProps } from "./model";
2
- declare var __VLS_1: {}, __VLS_18: {};
3
- type __VLS_Slots = {} & {
4
- caption?: (props: typeof __VLS_1) => any;
5
- } & {
6
- default?: (props: typeof __VLS_18) => any;
7
- };
8
- declare const __VLS_base: import("vue").DefineComponent<DBTableProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBTableProps> & Readonly<{}>, {
9
- id: string;
10
- children: any;
11
- className: string;
12
- data: DBTableData | string;
13
- divider: import("./model").DBTableDividerType;
14
- variant: import("./model").DBTableVariantType;
15
- size: import("./model").DBTableRowSizeType;
16
- width: import("../..").WidthType | string;
17
- captionPlain: string;
18
- showCaption: boolean | string;
19
- mobileVariant: import("./model").DBTableMobileVariantType;
20
- stickyHeader: import("./model").DBTableStickHederType;
21
- columnSizes: Record<number, import("./model").DBTableColumnsSizeType | string>;
22
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
- declare const _default: typeof __VLS_export;
25
- export default _default;
26
- type __VLS_WithSlots<T, S> = T & {
27
- new (): {
28
- $slots: S;
29
- };
30
- };
@@ -1 +0,0 @@
1
- export { default as DBTableBody } from "./table-body.vue";
@@ -1,8 +0,0 @@
1
- import { GlobalProps, GlobalState } from '../../shared/model';
2
- import { DBTableRowProps } from '../table-row/model';
3
- export type DBTableBodyDefaultProps = {
4
- rows?: DBTableRowProps[];
5
- };
6
- export type DBTableBodyProps = DBTableBodyDefaultProps & GlobalProps;
7
- export type DBTableBodyDefaultState = {};
8
- export type DBTableBodyState = DBTableBodyDefaultState & GlobalState;
@@ -1,20 +0,0 @@
1
- import { DBTableRowProps } from "../table-row/model";
2
- import { DBTableBodyProps } from "./model";
3
- declare var __VLS_6: {};
4
- type __VLS_Slots = {} & {
5
- default?: (props: typeof __VLS_6) => any;
6
- };
7
- declare const __VLS_base: import("vue").DefineComponent<DBTableBodyProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBTableBodyProps> & Readonly<{}>, {
8
- id: string;
9
- children: any;
10
- className: string;
11
- rows: DBTableRowProps[];
12
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
- declare const _default: typeof __VLS_export;
15
- export default _default;
16
- type __VLS_WithSlots<T, S> = T & {
17
- new (): {
18
- $slots: S;
19
- };
20
- };
@@ -1 +0,0 @@
1
- export { default as DBTableCaption } from "./table-caption.vue";
@@ -1,5 +0,0 @@
1
- import { GlobalProps, GlobalState } from '../../shared/model';
2
- export type DBTableCaptionDefaultProps = {};
3
- export type DBTableCaptionProps = DBTableCaptionDefaultProps & GlobalProps;
4
- export type DBTableCaptionDefaultState = {};
5
- export type DBTableCaptionState = DBTableCaptionDefaultState & GlobalState;
@@ -1,17 +0,0 @@
1
- declare var __VLS_1: {};
2
- type __VLS_Slots = {} & {
3
- default?: (props: typeof __VLS_1) => any;
4
- };
5
- declare const __VLS_base: import("vue").DefineComponent<import("../..").GlobalProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("../..").GlobalProps> & Readonly<{}>, {
6
- id: string;
7
- children: any;
8
- className: string;
9
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
- declare const _default: typeof __VLS_export;
12
- export default _default;
13
- type __VLS_WithSlots<T, S> = T & {
14
- new (): {
15
- $slots: S;
16
- };
17
- };
@@ -1 +0,0 @@
1
- export { default as DBTableDataCell } from "./table-data-cell.vue";
@@ -1,5 +0,0 @@
1
- import { DBTableCellProps, GlobalProps, GlobalState } from '../../shared/model';
2
- export type DBTableDataCellDefaultProps = {};
3
- export type DBTableDataCellProps = DBTableDataCellDefaultProps & GlobalProps & DBTableCellProps;
4
- export type DBTableDataCellDefaultState = {};
5
- export type DBTableDataCellState = DBTableDataCellDefaultState & GlobalState;
@@ -1,25 +0,0 @@
1
- import { DBTableDataCellProps } from "./model";
2
- declare var __VLS_1: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_1) => any;
5
- };
6
- declare const __VLS_base: import("vue").DefineComponent<DBTableDataCellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBTableDataCellProps> & Readonly<{}>, {
7
- id: string;
8
- children: any;
9
- className: string;
10
- colSpan: number | string;
11
- colspan: number | string;
12
- headers: string;
13
- rowSpan: number | string;
14
- rowspan: number | string;
15
- horizontalAlignment: import("../..").AlignmentType;
16
- verticalAlignment: import("../..").AlignmentType;
17
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
- declare const _default: typeof __VLS_export;
20
- export default _default;
21
- type __VLS_WithSlots<T, S> = T & {
22
- new (): {
23
- $slots: S;
24
- };
25
- };
@@ -1 +0,0 @@
1
- export { default as DBTableFooter } from "./table-footer.vue";
@@ -1,8 +0,0 @@
1
- import { GlobalProps, GlobalState } from '../../shared/model';
2
- import { DBTableRowProps } from '../table-row/model';
3
- export type DBTableFooterDefaultProps = {
4
- rows?: DBTableRowProps[];
5
- };
6
- export type DBTableFooterProps = DBTableFooterDefaultProps & GlobalProps;
7
- export type DBTableFooterDefaultState = {};
8
- export type DBTableFooterState = DBTableFooterDefaultState & GlobalState;
@@ -1,20 +0,0 @@
1
- import { DBTableRowProps } from "../table-row/model";
2
- import { DBTableFooterProps } from "./model";
3
- declare var __VLS_6: {};
4
- type __VLS_Slots = {} & {
5
- default?: (props: typeof __VLS_6) => any;
6
- };
7
- declare const __VLS_base: import("vue").DefineComponent<DBTableFooterProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBTableFooterProps> & Readonly<{}>, {
8
- id: string;
9
- children: any;
10
- className: string;
11
- rows: DBTableRowProps[];
12
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
- declare const _default: typeof __VLS_export;
15
- export default _default;
16
- type __VLS_WithSlots<T, S> = T & {
17
- new (): {
18
- $slots: S;
19
- };
20
- };
@@ -1 +0,0 @@
1
- export { default as DBTableHead } from "./table-head.vue";
@@ -1,10 +0,0 @@
1
- import { GlobalProps, GlobalState } from '../../shared/model';
2
- import { DBTableRowCell, DBTableRowProps } from '../table-row/model';
3
- export type DBTableHeadDefaultProps = {
4
- rows?: DBTableRowProps[];
5
- };
6
- export type DBTableHeadProps = DBTableHeadDefaultProps & GlobalProps;
7
- export type DBTableHeadDefaultState = {
8
- getCells: (cells?: DBTableRowCell[]) => DBTableRowCell[] | undefined;
9
- };
10
- export type DBTableHeadState = DBTableHeadDefaultState & GlobalState;
@@ -1,20 +0,0 @@
1
- import { DBTableRowProps } from "../table-row/model";
2
- import { DBTableHeadProps } from "./model";
3
- declare var __VLS_6: {};
4
- type __VLS_Slots = {} & {
5
- default?: (props: typeof __VLS_6) => any;
6
- };
7
- declare const __VLS_base: import("vue").DefineComponent<DBTableHeadProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBTableHeadProps> & Readonly<{}>, {
8
- id: string;
9
- children: any;
10
- className: string;
11
- rows: DBTableRowProps[];
12
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
- declare const _default: typeof __VLS_export;
15
- export default _default;
16
- type __VLS_WithSlots<T, S> = T & {
17
- new (): {
18
- $slots: S;
19
- };
20
- };
@@ -1 +0,0 @@
1
- export { default as DBTableHeaderCell } from "./table-header-cell.vue";
@@ -1,24 +0,0 @@
1
- import { DBTableCellProps, GlobalProps, GlobalState } from '../../shared/model';
2
- export declare const DBTableHeaderCellScopeList: readonly ["row", "col", "rowgroup", "colgroup"];
3
- export type DBTableHeaderCellScopeType = (typeof DBTableHeaderCellScopeList)[number];
4
- export type DBTableHeaderCellDefaultProps = {
5
- /**
6
- * The **`abbr`** property of the HTMLTableCellElement interface indicates an abbreviation associated with the cell.
7
- *
8
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/abbr)
9
- */
10
- abbr?: string;
11
- /**
12
- * The **`scope`** property of the HTMLTableCellElement interface indicates the scope of a th cell.
13
- *
14
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/scope)
15
- */
16
- scope?: DBTableHeaderCellScopeType;
17
- /**
18
- * Hide the text content of the cell.
19
- */
20
- noText?: boolean | string;
21
- };
22
- export type DBTableHeaderCellProps = DBTableHeaderCellDefaultProps & GlobalProps & DBTableCellProps;
23
- export type DBTableHeaderCellDefaultState = {};
24
- export type DBTableHeaderCellState = DBTableHeaderCellDefaultState & GlobalState;
@@ -1,28 +0,0 @@
1
- import { DBTableHeaderCellProps } from "./model";
2
- declare var __VLS_1: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_1) => any;
5
- };
6
- declare const __VLS_base: import("vue").DefineComponent<DBTableHeaderCellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBTableHeaderCellProps> & Readonly<{}>, {
7
- id: string;
8
- children: any;
9
- className: string;
10
- abbr: string;
11
- noText: boolean | string;
12
- colSpan: number | string;
13
- colspan: number | string;
14
- headers: string;
15
- rowSpan: number | string;
16
- rowspan: number | string;
17
- horizontalAlignment: import("../..").AlignmentType;
18
- verticalAlignment: import("../..").AlignmentType;
19
- scope: import("./model").DBTableHeaderCellScopeType;
20
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
- declare const _default: typeof __VLS_export;
23
- export default _default;
24
- type __VLS_WithSlots<T, S> = T & {
25
- new (): {
26
- $slots: S;
27
- };
28
- };
@@ -1 +0,0 @@
1
- export { default as DBTableRow } from "./table-row.vue";
@@ -1,30 +0,0 @@
1
- import { GlobalProps, GlobalState } from '../../shared/model';
2
- import { DBLinkProps } from '../link/model';
3
- import { DBTableDataCellProps } from '../table-data-cell/model';
4
- import { DBTableHeaderCellProps } from '../table-header-cell/model';
5
- export declare const DBTableRowSubHeaderEmphasisList: readonly ["none", "weak", "strong"];
6
- export type DBTableRowSubHeaderEmphasisType = (typeof DBTableRowSubHeaderEmphasisList)[number];
7
- export type DBTableRowCell = (DBTableHeaderCellProps | DBTableDataCellProps) & {
8
- headerCell?: boolean;
9
- content?: any;
10
- link?: DBLinkProps;
11
- };
12
- export type DBTableRowDefaultProps = {
13
- /**
14
- * All cells of the row
15
- */
16
- cells?: DBTableRowCell[];
17
- /**
18
- * Change styling of row only if it is inside thead
19
- */
20
- subHeaderEmphasis?: DBTableRowSubHeaderEmphasisType;
21
- /**
22
- * If true marks the row as interactive, which checks for child with data-table-row-action="true"
23
- */
24
- interactive?: boolean | string;
25
- };
26
- export type DBTableRowProps = DBTableRowDefaultProps & GlobalProps;
27
- export type DBTableRowDefaultState = {
28
- getHeaderCell: (cell: DBTableRowCell) => DBTableHeaderCellProps | undefined;
29
- };
30
- export type DBTableRowState = DBTableRowDefaultState & GlobalState;
@@ -1,21 +0,0 @@
1
- import { DBTableRowCell, DBTableRowProps } from "./model";
2
- declare var __VLS_25: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_25) => any;
5
- };
6
- declare const __VLS_base: import("vue").DefineComponent<DBTableRowProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBTableRowProps> & Readonly<{}>, {
7
- id: string;
8
- children: any;
9
- className: string;
10
- interactive: boolean | string;
11
- cells: DBTableRowCell[];
12
- subHeaderEmphasis: import("./model").DBTableRowSubHeaderEmphasisType;
13
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
- declare const _default: typeof __VLS_export;
16
- export default _default;
17
- type __VLS_WithSlots<T, S> = T & {
18
- new (): {
19
- $slots: S;
20
- };
21
- };