@ogcio/design-system-react 1.17.2 → 1.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/button-group/button-group.d.ts +2 -20
- package/dist/button-group/button-group.js +51 -45
- package/dist/button-group/types.d.ts +29 -0
- package/dist/button-group/types.js +1 -0
- package/dist/data-table/data-table-footer.d.ts +2 -1
- package/dist/data-table/data-table-footer.js +38 -38
- package/dist/data-table/data-table-header.d.ts +3 -3
- package/dist/data-table/data-table-header.js +73 -76
- package/dist/header/components/header-menu.d.ts +1 -2
- package/dist/header/components/header-menu.js +42 -73
- package/dist/header/components/header-slot.js +19 -19
- package/dist/header/types.d.ts +4 -0
- package/dist/index.d.ts +1 -0
- package/dist/input-text/input-text.js +11 -10
- package/dist/score-select/score-select.js +94 -54
- package/dist/score-select/type.d.ts +4 -0
- package/dist/styles.css +1 -1
- package/dist/table/table-data.d.ts +3 -1
- package/dist/table/table-data.js +39 -37
- package/dist/table/table-header.d.ts +3 -1
- package/dist/table/table-header.js +31 -29
- package/dist/table/table-pagination.js +38 -38
- package/package.json +3 -3
|
@@ -1,22 +1,4 @@
|
|
|
1
|
-
import { FC
|
|
2
|
-
import {
|
|
3
|
-
type ButtonGroupItemProps = PropsWithChildren<{
|
|
4
|
-
value: string;
|
|
5
|
-
role?: string;
|
|
6
|
-
'aria-checked'?: boolean;
|
|
7
|
-
'aria-label'?: string;
|
|
8
|
-
}>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ButtonGroupItemProps, ButtonGroupProps } from './types.js';
|
|
9
3
|
export declare const ButtonGroupItem: FC<ButtonGroupItemProps>;
|
|
10
|
-
type ButtonGroupProps = PropsWithChildren<{
|
|
11
|
-
name: string;
|
|
12
|
-
size?: ButtonSize;
|
|
13
|
-
appearance?: ButtonAppearance;
|
|
14
|
-
onChange?: (value: string) => void;
|
|
15
|
-
defaultValue?: string;
|
|
16
|
-
value?: string;
|
|
17
|
-
role?: string;
|
|
18
|
-
'aria-labelledby'?: string;
|
|
19
|
-
'aria-describedby'?: string;
|
|
20
|
-
}>;
|
|
21
4
|
export declare const ButtonGroup: FC<ButtonGroupProps>;
|
|
22
|
-
export {};
|
|
@@ -1,92 +1,98 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
3
|
-
import { createContext as
|
|
4
|
-
import { Button as
|
|
5
|
-
import {
|
|
6
|
-
|
|
2
|
+
import { jsx as y } from "react/jsx-runtime";
|
|
3
|
+
import { createContext as G, useState as V, useEffect as k, useContext as S } from "react";
|
|
4
|
+
import { Button as w } from "../button/button.js";
|
|
5
|
+
import { cn as E } from "../cn.js";
|
|
6
|
+
import { useDomId as $ } from "../hooks/use-dom-id.js";
|
|
7
|
+
const x = G(
|
|
7
8
|
void 0
|
|
8
|
-
),
|
|
9
|
+
), P = ({
|
|
9
10
|
value: r,
|
|
10
11
|
children: d,
|
|
11
12
|
role: s,
|
|
12
13
|
"aria-checked": e,
|
|
13
|
-
"aria-label": a
|
|
14
|
+
"aria-label": a,
|
|
15
|
+
...t
|
|
14
16
|
}) => {
|
|
15
|
-
const
|
|
16
|
-
if (!
|
|
17
|
+
const c = S(x);
|
|
18
|
+
if (!c)
|
|
17
19
|
throw new Error("ButtonGroupItem must be used within a ButtonGroup");
|
|
18
20
|
const {
|
|
19
21
|
selectedValue: n,
|
|
20
22
|
setSelectedValue: l,
|
|
21
23
|
size: u,
|
|
22
24
|
onChange: o,
|
|
23
|
-
groupId:
|
|
24
|
-
appearance:
|
|
25
|
-
} =
|
|
25
|
+
groupId: m,
|
|
26
|
+
appearance: p
|
|
27
|
+
} = c, i = n === r, b = () => {
|
|
26
28
|
l(r), o == null || o(r);
|
|
27
|
-
},
|
|
28
|
-
return /* @__PURE__ */
|
|
29
|
-
|
|
29
|
+
}, f = `${m}-${r}`;
|
|
30
|
+
return /* @__PURE__ */ y(
|
|
31
|
+
w,
|
|
30
32
|
{
|
|
31
|
-
variant:
|
|
33
|
+
variant: i ? "primary" : "secondary",
|
|
32
34
|
size: u,
|
|
33
|
-
appearance:
|
|
34
|
-
onClick:
|
|
35
|
-
id:
|
|
35
|
+
appearance: p,
|
|
36
|
+
onClick: b,
|
|
37
|
+
id: f,
|
|
36
38
|
role: s || "radio",
|
|
37
|
-
"aria-checked": e === void 0 ?
|
|
39
|
+
"aria-checked": e === void 0 ? i : e,
|
|
38
40
|
"aria-label": a,
|
|
39
41
|
type: "button",
|
|
42
|
+
...t,
|
|
40
43
|
children: d
|
|
41
44
|
}
|
|
42
45
|
);
|
|
43
|
-
},
|
|
46
|
+
}, q = ({
|
|
44
47
|
name: r,
|
|
45
48
|
size: d = "medium",
|
|
46
49
|
appearance: s = "dark",
|
|
47
50
|
onChange: e,
|
|
48
51
|
defaultValue: a,
|
|
49
52
|
value: t,
|
|
50
|
-
children:
|
|
51
|
-
role:
|
|
52
|
-
"aria-labelledby":
|
|
53
|
-
"aria-describedby":
|
|
53
|
+
children: c,
|
|
54
|
+
role: n,
|
|
55
|
+
"aria-labelledby": l,
|
|
56
|
+
"aria-describedby": u,
|
|
57
|
+
className: o,
|
|
58
|
+
...m
|
|
54
59
|
}) => {
|
|
55
|
-
const [p, i] =
|
|
60
|
+
const [p, i] = V(
|
|
56
61
|
a
|
|
57
|
-
),
|
|
58
|
-
|
|
62
|
+
), b = t === void 0 ? p : t;
|
|
63
|
+
k(() => {
|
|
59
64
|
t !== void 0 && i(t);
|
|
60
65
|
}, [t]);
|
|
61
|
-
const
|
|
62
|
-
t === void 0 && i(
|
|
63
|
-
},
|
|
64
|
-
return /* @__PURE__ */
|
|
65
|
-
|
|
66
|
+
const f = (I) => {
|
|
67
|
+
t === void 0 && i(I), e == null || e(I);
|
|
68
|
+
}, B = $();
|
|
69
|
+
return /* @__PURE__ */ y(
|
|
70
|
+
x.Provider,
|
|
66
71
|
{
|
|
67
72
|
value: {
|
|
68
|
-
selectedValue:
|
|
69
|
-
setSelectedValue:
|
|
73
|
+
selectedValue: b,
|
|
74
|
+
setSelectedValue: f,
|
|
70
75
|
name: r,
|
|
71
76
|
size: d,
|
|
72
77
|
onChange: e,
|
|
73
|
-
groupId:
|
|
74
|
-
appearance: s
|
|
78
|
+
groupId: B,
|
|
79
|
+
appearance: s,
|
|
80
|
+
...m
|
|
75
81
|
},
|
|
76
|
-
children: /* @__PURE__ */
|
|
82
|
+
children: /* @__PURE__ */ y(
|
|
77
83
|
"div",
|
|
78
84
|
{
|
|
79
|
-
className: "gi-btn-group",
|
|
80
|
-
role:
|
|
81
|
-
"aria-labelledby":
|
|
82
|
-
"aria-describedby":
|
|
83
|
-
children:
|
|
85
|
+
className: E("gi-btn-group", o),
|
|
86
|
+
role: n || "radiogroup",
|
|
87
|
+
"aria-labelledby": l,
|
|
88
|
+
"aria-describedby": u,
|
|
89
|
+
children: c
|
|
84
90
|
}
|
|
85
91
|
)
|
|
86
92
|
}
|
|
87
93
|
);
|
|
88
94
|
};
|
|
89
95
|
export {
|
|
90
|
-
|
|
91
|
-
|
|
96
|
+
q as ButtonGroup,
|
|
97
|
+
P as ButtonGroupItem
|
|
92
98
|
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { ButtonAppearance, ButtonSize } from '../button/types.js';
|
|
3
|
+
export type ButtonGroupProps = PropsWithChildren<{
|
|
4
|
+
name: string;
|
|
5
|
+
size?: ButtonSize;
|
|
6
|
+
appearance?: ButtonAppearance;
|
|
7
|
+
onChange?: (value: string) => void;
|
|
8
|
+
defaultValue?: string;
|
|
9
|
+
value?: string;
|
|
10
|
+
role?: string;
|
|
11
|
+
'aria-labelledby'?: string;
|
|
12
|
+
'aria-describedby'?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
}>;
|
|
15
|
+
export type ButtonGroupItemProps = PropsWithChildren<{
|
|
16
|
+
value: string;
|
|
17
|
+
role?: string;
|
|
18
|
+
'aria-checked'?: boolean;
|
|
19
|
+
'aria-label'?: string;
|
|
20
|
+
}>;
|
|
21
|
+
export type ButtonGroupContextType = {
|
|
22
|
+
selectedValue?: string;
|
|
23
|
+
setSelectedValue: (value: string) => void;
|
|
24
|
+
name: string;
|
|
25
|
+
size: ButtonSize;
|
|
26
|
+
appearance?: ButtonAppearance;
|
|
27
|
+
onChange?: (value: string) => void;
|
|
28
|
+
groupId: string;
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -2,8 +2,9 @@ import { default as React } from 'react';
|
|
|
2
2
|
interface DataTableFooterTypeProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
}
|
|
5
|
-
interface DataTableFooterProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
interface DataTableFooterProps extends React.HTMLAttributes<HTMLDivElement | HTMLTableSectionElement> {
|
|
6
6
|
children?: React.ReactNode;
|
|
7
|
+
standalone?: boolean;
|
|
7
8
|
}
|
|
8
9
|
export type { DataTableFooterProps, DataTableFooterTypeProps };
|
|
9
10
|
export declare const DataTableFooterStart: React.FC<DataTableFooterTypeProps>;
|
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { cn as
|
|
4
|
-
const
|
|
1
|
+
import { jsx as a, jsxs as E } from "react/jsx-runtime";
|
|
2
|
+
import i from "react";
|
|
3
|
+
import { cn as o } from "../cn.js";
|
|
4
|
+
const r = (e, t) => i.isValidElement(e) && e.type === t, l = (e, t, s) => e ? /* @__PURE__ */ a(
|
|
5
5
|
"div",
|
|
6
6
|
{
|
|
7
|
-
className:
|
|
7
|
+
className: o(
|
|
8
8
|
t,
|
|
9
|
-
|
|
9
|
+
s,
|
|
10
10
|
e.props.className
|
|
11
11
|
),
|
|
12
12
|
style: e.props.style,
|
|
13
13
|
children: e.props.children
|
|
14
14
|
}
|
|
15
|
-
) : null,
|
|
15
|
+
) : null, T = ({
|
|
16
16
|
children: e,
|
|
17
17
|
...t
|
|
18
|
-
}) => /* @__PURE__ */
|
|
19
|
-
|
|
20
|
-
const
|
|
18
|
+
}) => /* @__PURE__ */ a("div", { ...t, children: e });
|
|
19
|
+
T.displayName = "DataTableFooterStart";
|
|
20
|
+
const h = ({
|
|
21
21
|
children: e,
|
|
22
22
|
...t
|
|
23
|
-
}) => /* @__PURE__ */
|
|
24
|
-
|
|
25
|
-
const
|
|
23
|
+
}) => /* @__PURE__ */ a("div", { ...t, children: e });
|
|
24
|
+
h.displayName = "DataTableFooterCenter";
|
|
25
|
+
const D = ({
|
|
26
26
|
children: e,
|
|
27
27
|
...t
|
|
28
|
-
}) => /* @__PURE__ */
|
|
29
|
-
|
|
30
|
-
const
|
|
28
|
+
}) => /* @__PURE__ */ a("div", { ...t, children: e });
|
|
29
|
+
D.displayName = "DataTableFooterEnd";
|
|
30
|
+
const v = ({
|
|
31
31
|
children: e,
|
|
32
32
|
className: t,
|
|
33
|
-
|
|
33
|
+
standalone: s = !1,
|
|
34
|
+
...c
|
|
34
35
|
}) => {
|
|
35
|
-
const
|
|
36
|
-
let
|
|
37
|
-
return
|
|
38
|
-
|
|
39
|
-
}), { start:
|
|
40
|
-
}, [e]), { start:
|
|
41
|
-
"gi-basis-1/2 gi-text-right": !
|
|
42
|
-
})
|
|
43
|
-
return /* @__PURE__ */ x(
|
|
36
|
+
const S = i.useMemo(() => {
|
|
37
|
+
let g = null, y = null, F = null;
|
|
38
|
+
return i.Children.forEach(e, (n) => {
|
|
39
|
+
r(n, T) ? g = n : r(n, h) ? y = n : r(n, D) && (F = n);
|
|
40
|
+
}), { start: g, center: y, end: F };
|
|
41
|
+
}, [e]), { start: d, center: p, end: m } = S, f = !!!d && !!!p && !!m, b = "gi-data-table-footer-base", C = `${b} gi-text-center`, N = o("gi-min-w-0", {
|
|
42
|
+
"gi-basis-1/2 gi-text-right": !f
|
|
43
|
+
}), u = /* @__PURE__ */ E(
|
|
44
44
|
"div",
|
|
45
45
|
{
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
p ? "gi-justify-end" : "gi-gap-2",
|
|
46
|
+
className: o(
|
|
47
|
+
"gi-data-table-footer",
|
|
48
|
+
f ? "gi-justify-end" : "gi-gap-2",
|
|
50
49
|
t
|
|
51
50
|
),
|
|
52
51
|
children: [
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
52
|
+
l(d, b),
|
|
53
|
+
l(p, C),
|
|
54
|
+
l(m, N)
|
|
56
55
|
]
|
|
57
56
|
}
|
|
58
57
|
);
|
|
58
|
+
return s ? /* @__PURE__ */ a("div", { ...c, className: o("gi-w-full gi-p-2", t), children: u }) : /* @__PURE__ */ a("tfoot", { ...c, children: /* @__PURE__ */ a("tr", { children: /* @__PURE__ */ a("td", { colSpan: 999, className: "gi-p-2", children: u }) }) });
|
|
59
59
|
};
|
|
60
|
-
|
|
60
|
+
v.displayName = "DataTableFooter";
|
|
61
61
|
export {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
62
|
+
v as DataTableFooter,
|
|
63
|
+
h as DataTableFooterCenter,
|
|
64
|
+
D as DataTableFooterEnd,
|
|
65
|
+
T as DataTableFooterStart
|
|
66
66
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
interface DataTableHeaderTypeProps extends
|
|
1
|
+
import { default as React, HTMLAttributes } from 'react';
|
|
2
|
+
interface DataTableHeaderTypeProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
}
|
|
5
|
-
interface DataTableHeaderProps extends
|
|
5
|
+
interface DataTableHeaderProps extends HTMLAttributes<HTMLDivElement> {
|
|
6
6
|
children?: React.ReactNode;
|
|
7
7
|
showHeader?: boolean;
|
|
8
8
|
showFilter?: boolean;
|
|
@@ -1,90 +1,87 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { Button as
|
|
4
|
-
import { Chip as
|
|
5
|
-
import { cn as
|
|
6
|
-
import { Heading as
|
|
7
|
-
import { translate as
|
|
8
|
-
const
|
|
1
|
+
import { jsxs as c, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as A, Children as C, isValidElement as x } from "react";
|
|
3
|
+
import { Button as L } from "../button/button.js";
|
|
4
|
+
import { Chip as S } from "../chip/chip.js";
|
|
5
|
+
import { cn as r } from "../cn.js";
|
|
6
|
+
import { Heading as V } from "../heading/heading.js";
|
|
7
|
+
import { translate as h } from "../i18n/utility.js";
|
|
8
|
+
const d = (e, a) => x(e) && e.type === a, g = ({
|
|
9
9
|
children: e,
|
|
10
10
|
className: a,
|
|
11
11
|
showHeader: t = !0,
|
|
12
|
-
showFilter:
|
|
13
|
-
...
|
|
12
|
+
showFilter: s = !0,
|
|
13
|
+
...o
|
|
14
14
|
}) => {
|
|
15
|
-
const { search: n, filter: O, filterList:
|
|
16
|
-
let u = null,
|
|
17
|
-
return
|
|
18
|
-
|
|
19
|
-
}), { search: u, filter:
|
|
15
|
+
const { search: n, filter: O, filterList: f, actions: P } = A(() => {
|
|
16
|
+
let u = null, H = null, y = null, D = null;
|
|
17
|
+
return C.forEach(e, (i) => {
|
|
18
|
+
d(i, p) ? u = i : d(i, m) ? H = i : d(i, T) ? y = i : d(i, b) && (D = i);
|
|
19
|
+
}), { search: u, filter: H, filterList: y, actions: D };
|
|
20
20
|
}, [e]);
|
|
21
|
-
return /* @__PURE__ */ o(
|
|
22
|
-
"div",
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
t && /* @__PURE__ */ o("div", { className: "gi-flex gi-flex-1 gi-gap-4 gi-items-center", children: [
|
|
31
|
-
n,
|
|
32
|
-
O,
|
|
33
|
-
P
|
|
34
|
-
] }),
|
|
35
|
-
b && d && /* @__PURE__ */ l("div", { className: "gi-w-full", children: b })
|
|
36
|
-
]
|
|
37
|
-
}
|
|
38
|
-
);
|
|
39
|
-
}, m = ({
|
|
21
|
+
return /* @__PURE__ */ c("div", { ...o, className: r("gi-data-table-header", a), children: [
|
|
22
|
+
t && /* @__PURE__ */ c("div", { className: "gi-flex gi-flex-1 gi-gap-4 gi-items-center", children: [
|
|
23
|
+
n,
|
|
24
|
+
O,
|
|
25
|
+
P
|
|
26
|
+
] }),
|
|
27
|
+
f && s && /* @__PURE__ */ l("div", { className: "gi-w-full", children: f })
|
|
28
|
+
] });
|
|
29
|
+
}, p = ({
|
|
40
30
|
children: e,
|
|
41
31
|
className: a,
|
|
42
32
|
...t
|
|
43
|
-
}) => /* @__PURE__ */ l("div", { className:
|
|
33
|
+
}) => /* @__PURE__ */ l("div", { className: r("gi-data-table-header-search", a), ...t, children: e }), b = ({
|
|
44
34
|
children: e,
|
|
45
35
|
className: a,
|
|
46
36
|
...t
|
|
47
|
-
}) => /* @__PURE__ */ l(
|
|
48
|
-
"div",
|
|
49
|
-
{
|
|
50
|
-
className: i("gi-flex gi-items-center gi-ml-auto gi-gap-4", a),
|
|
51
|
-
...t,
|
|
52
|
-
children: e
|
|
53
|
-
}
|
|
54
|
-
), f = ({
|
|
37
|
+
}) => /* @__PURE__ */ l("div", { className: r("gi-data-table-header-actions", a), ...t, children: e }), m = ({
|
|
55
38
|
children: e,
|
|
56
39
|
className: a,
|
|
57
40
|
...t
|
|
58
|
-
}) => /* @__PURE__ */ l("div", { className:
|
|
41
|
+
}) => /* @__PURE__ */ l("div", { className: r("gi-data-table-header-filter", a), ...t, children: e }), N = ({
|
|
59
42
|
children: e,
|
|
60
43
|
className: a,
|
|
61
44
|
...t
|
|
62
|
-
}) => /* @__PURE__ */ l(
|
|
45
|
+
}) => /* @__PURE__ */ l(
|
|
46
|
+
"div",
|
|
47
|
+
{
|
|
48
|
+
className: r("gi-data-table-header-filter-title", a),
|
|
49
|
+
...t,
|
|
50
|
+
children: /* @__PURE__ */ l(V, { as: "h6", children: e })
|
|
51
|
+
}
|
|
52
|
+
), F = ({ children: e, className: a, ...t }) => /* @__PURE__ */ l(
|
|
53
|
+
"div",
|
|
54
|
+
{
|
|
55
|
+
className: r("gi-data-table-header-filter-content", a),
|
|
56
|
+
...t,
|
|
57
|
+
children: e
|
|
58
|
+
}
|
|
59
|
+
), v = ({ children: e, className: a, ...t }) => /* @__PURE__ */ l(
|
|
63
60
|
"div",
|
|
64
61
|
{
|
|
65
|
-
className:
|
|
62
|
+
className: r("gi-data-table-header-filter-content-title", a),
|
|
66
63
|
...t,
|
|
67
64
|
children: e
|
|
68
65
|
}
|
|
69
|
-
),
|
|
66
|
+
), j = ({ children: e, className: a, ...t }) => /* @__PURE__ */ l(
|
|
70
67
|
"div",
|
|
71
68
|
{
|
|
72
|
-
className:
|
|
69
|
+
className: r("gi-data-table-header-filter-actions", a),
|
|
73
70
|
...t,
|
|
74
71
|
children: e
|
|
75
72
|
}
|
|
76
|
-
), T = ({ filters: e, onRemove: a, onClear: t, className:
|
|
73
|
+
), T = ({ filters: e, onRemove: a, onClear: t, className: s, ...o }) => !e || e.length === 0 ? null : /* @__PURE__ */ c(
|
|
77
74
|
"div",
|
|
78
75
|
{
|
|
79
|
-
className:
|
|
80
|
-
...
|
|
76
|
+
className: r("gi-data-table-header-filter-list", s),
|
|
77
|
+
...o,
|
|
81
78
|
children: [
|
|
82
|
-
/* @__PURE__ */ l("span", { className: "gi-text-sm", children:
|
|
79
|
+
/* @__PURE__ */ l("span", { className: "gi-text-sm", children: h("dataTableHeader.filtersApplied", {
|
|
83
80
|
length: e.length,
|
|
84
81
|
defaultValue: `Filters applied ${e.length}:`
|
|
85
82
|
}) }),
|
|
86
83
|
e.map((n) => /* @__PURE__ */ l(
|
|
87
|
-
|
|
84
|
+
S,
|
|
88
85
|
{
|
|
89
86
|
onClose: () => a == null ? void 0 : a(n.id),
|
|
90
87
|
label: n.label
|
|
@@ -92,7 +89,7 @@ const s = (e, a) => p.isValidElement(e) && e.type === a, F = ({
|
|
|
92
89
|
n.id
|
|
93
90
|
)),
|
|
94
91
|
/* @__PURE__ */ l(
|
|
95
|
-
|
|
92
|
+
L,
|
|
96
93
|
{
|
|
97
94
|
appearance: "dark",
|
|
98
95
|
size: "medium",
|
|
@@ -100,7 +97,7 @@ const s = (e, a) => p.isValidElement(e) && e.type === a, F = ({
|
|
|
100
97
|
onClick: () => {
|
|
101
98
|
t == null || t();
|
|
102
99
|
},
|
|
103
|
-
children:
|
|
100
|
+
children: h("dataTableHeader.clearAllFilters", {
|
|
104
101
|
defaultValue: "Clear all filters"
|
|
105
102
|
})
|
|
106
103
|
}
|
|
@@ -108,50 +105,50 @@ const s = (e, a) => p.isValidElement(e) && e.type === a, F = ({
|
|
|
108
105
|
]
|
|
109
106
|
}
|
|
110
107
|
);
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
108
|
+
g.displayName = "DataTableHeader";
|
|
109
|
+
p.displayName = "DataTableHeaderSearch";
|
|
110
|
+
b.displayName = "DataTableHeaderActions";
|
|
111
|
+
m.displayName = "DataTableHeaderFilter";
|
|
115
112
|
T.displayName = "DataTableHeaderFilterList";
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
113
|
+
N.displayName = "DataTableHeaderFilterTitle";
|
|
114
|
+
F.displayName = "DataTableHeaderFilterContent";
|
|
115
|
+
v.displayName = "DataTableHeaderFilterContentTitle";
|
|
119
116
|
j.displayName = "DataTableHeaderFilterActions";
|
|
120
|
-
Object.defineProperty(
|
|
117
|
+
Object.defineProperty(g, "componentType", {
|
|
121
118
|
value: "DataTableHeader"
|
|
122
119
|
});
|
|
123
|
-
Object.defineProperty(
|
|
120
|
+
Object.defineProperty(p, "componentType", {
|
|
124
121
|
value: "DataTableHeaderSearch"
|
|
125
122
|
});
|
|
126
|
-
Object.defineProperty(
|
|
123
|
+
Object.defineProperty(b, "componentType", {
|
|
127
124
|
value: "DataTableHeaderActions"
|
|
128
125
|
});
|
|
129
|
-
Object.defineProperty(
|
|
126
|
+
Object.defineProperty(m, "componentType", {
|
|
130
127
|
value: "DataTableHeaderFilter"
|
|
131
128
|
});
|
|
132
129
|
Object.defineProperty(T, "componentType", {
|
|
133
130
|
value: "DataTableHeaderFilterList"
|
|
134
131
|
});
|
|
135
|
-
Object.defineProperty(
|
|
132
|
+
Object.defineProperty(N, "componentType", {
|
|
136
133
|
value: "DataTableHeaderFilterTitle"
|
|
137
134
|
});
|
|
138
|
-
Object.defineProperty(
|
|
135
|
+
Object.defineProperty(F, "componentType", {
|
|
139
136
|
value: "DataTableHeaderFilterContent"
|
|
140
137
|
});
|
|
141
|
-
Object.defineProperty(
|
|
138
|
+
Object.defineProperty(v, "componentType", {
|
|
142
139
|
value: "DataTableHeaderFilterContentTitle"
|
|
143
140
|
});
|
|
144
141
|
Object.defineProperty(j, "componentType", {
|
|
145
142
|
value: "DataTableHeaderFilterActions"
|
|
146
143
|
});
|
|
147
144
|
export {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
145
|
+
g as DataTableHeader,
|
|
146
|
+
b as DataTableHeaderActions,
|
|
147
|
+
m as DataTableHeaderFilter,
|
|
151
148
|
j as DataTableHeaderFilterActions,
|
|
152
|
-
|
|
153
|
-
|
|
149
|
+
F as DataTableHeaderFilterContent,
|
|
150
|
+
v as DataTableHeaderFilterContentTitle,
|
|
154
151
|
T as DataTableHeaderFilterList,
|
|
155
|
-
|
|
156
|
-
|
|
152
|
+
N as DataTableHeaderFilterTitle,
|
|
153
|
+
p as DataTableHeaderSearch
|
|
157
154
|
};
|
|
@@ -9,5 +9,4 @@ type MenuItemAccordionProps = {
|
|
|
9
9
|
};
|
|
10
10
|
export declare const MenuItemAccordion: ({ index, item }: MenuItemAccordionProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export declare const MobileHeaderMenuItems: ({ items, secondaryLinks, }: MobileHeaderMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
|
|
13
|
-
export default HeaderMenu;
|
|
12
|
+
export {};
|