@fluidattacks/design 3.44.1 → 3.45.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/components/@core/index.js +1 -1
- package/dist/components/accordion/accordion-content/index.js +1 -1
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/advanced-badge/index.js +1 -1
- package/dist/components/advisories-card/index.js +2 -2
- package/dist/components/alert/index.js +1 -1
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/card/card-header/index.js +1 -1
- package/dist/components/card/card-with-image/index.js +1 -1
- package/dist/components/card/card-with-input/index.js +2 -2
- package/dist/components/card/card-with-options/index.js +1 -1
- package/dist/components/card/card-with-selector/index.js +1 -1
- package/dist/components/card/card-with-switch/index.js +1 -1
- package/dist/components/card/index.js +1 -1
- package/dist/components/card/indicator-card/index.js +2 -2
- package/dist/components/card-container/index.js +1 -1
- package/dist/components/carousel/index.js +2 -2
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/cloud-image/index.js +2 -2
- package/dist/components/code-snippet/index.js +2 -2
- package/dist/components/colors/index.d.ts +2 -2
- package/dist/components/colors/index.js +5 -6
- package/dist/components/conditions-dialog/index.js +2 -2
- package/dist/components/confirm-dialog/index.js +2 -2
- package/dist/components/container/index.js +1 -1
- package/dist/components/copy-button/index.js +1 -1
- package/dist/components/divider/index.js +1 -1
- package/dist/components/dropdown/index.js +2 -2
- package/dist/components/empty-state/empty-button/index.js +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/fa-tag/index.js +1 -1
- package/dist/components/file-preview/index.js +1 -1
- package/dist/components/filters/active-filters/active-filter/index.js +1 -1
- package/dist/components/filters/active-filters/index.js +1 -1
- package/dist/components/filters/context/index.d.ts +1 -5
- package/dist/components/filters/context/index.js +1 -1
- package/dist/components/filters/context/types.d.ts +10 -11
- package/dist/components/filters/filters-menu/index.js +2 -2
- package/dist/components/filters/index.js +2 -2
- package/dist/components/filters/options-menu/index.js +2 -2
- package/dist/components/filters/options-menu/options/index.js +2 -2
- package/dist/components/filters/search/no-matches/index.js +1 -1
- package/dist/components/filters/types.d.ts +16 -1
- package/dist/components/form/index.js +2 -2
- package/dist/components/form/inner-form/index.js +2 -2
- package/dist/components/grid-container/index.js +1 -1
- package/dist/components/group-selector/index.js +1 -1
- package/dist/components/group-selector/option-container/index.js +1 -1
- package/dist/components/icon/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/indicator-card-db/index.js +2 -2
- package/dist/components/info-sidebar/index.js +1 -1
- package/dist/components/inputs/fields/combobox/field/index.js +2 -2
- package/dist/components/inputs/fields/combobox/index.js +2 -2
- package/dist/components/inputs/fields/combobox/option/index.js +2 -2
- package/dist/components/inputs/fields/date/calendar/cell/index.js +2 -2
- package/dist/components/inputs/fields/date/calendar/grid/index.js +2 -2
- package/dist/components/inputs/fields/date/calendar/header/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/index.js +2 -2
- package/dist/components/inputs/fields/date/index.js +2 -2
- package/dist/components/inputs/fields/date-range/calendar/index.js +2 -2
- package/dist/components/inputs/fields/date-range/index.js +2 -2
- package/dist/components/inputs/fields/date-time/calendar/index.js +2 -2
- package/dist/components/inputs/fields/date-time/index.js +2 -2
- package/dist/components/inputs/fields/editable/index.js +2 -2
- package/dist/components/inputs/fields/input-array/field/index.js +1 -1
- package/dist/components/inputs/fields/input-array/index.js +2 -2
- package/dist/components/inputs/fields/input-file/default/index.js +2 -2
- package/dist/components/inputs/fields/input-file/dropzone/index.js +2 -2
- package/dist/components/inputs/fields/input-file/index.js +1 -1
- package/dist/components/inputs/fields/input-section/index.js +1 -1
- package/dist/components/inputs/fields/input-tags/field/index.js +1 -1
- package/dist/components/inputs/fields/input-tags/index.js +2 -2
- package/dist/components/inputs/fields/number/index.js +1 -1
- package/dist/components/inputs/fields/number-range/index.js +1 -1
- package/dist/components/inputs/fields/phone/index.js +2 -2
- package/dist/components/inputs/fields/text-area/index.js +1 -1
- package/dist/components/inputs/fields/text-input/index.js +1 -1
- package/dist/components/inputs/index.js +1 -1
- package/dist/components/inputs/label/index.js +2 -2
- package/dist/components/inputs/outline-container/index.js +1 -1
- package/dist/components/inputs/utils/action-button/index.js +1 -1
- package/dist/components/inputs/utils/calendar-button/index.js +2 -2
- package/dist/components/inputs/utils/date-selector/index.js +1 -1
- package/dist/components/inputs/utils/date-time-field/index.js +2 -2
- package/dist/components/inputs/utils/dialog/index.js +2 -2
- package/dist/components/inputs/utils/number-field/index.js +2 -2
- package/dist/components/inputs/utils/popover/index.js +2 -2
- package/dist/components/item-card-db/index.js +1 -1
- package/dist/components/layout/categories/buttons/index.js +1 -1
- package/dist/components/layout/categories/column/index.js +1 -1
- package/dist/components/layout/categories/gap/index.js +1 -1
- package/dist/components/layout/categories/row/index.js +1 -1
- package/dist/components/layout/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/list-item/index.js +1 -1
- package/dist/components/little-flag/index.js +1 -1
- package/dist/components/loading/index.js +1 -1
- package/dist/components/logo/index.js +1 -1
- package/dist/components/lottie/index.js +1 -1
- package/dist/components/menu/index.js +2 -2
- package/dist/components/message-banner/index.js +1 -1
- package/dist/components/modal/columns-modal/index.js +1 -1
- package/dist/components/modal/columns-modal/preview-panel/index.js +2 -2
- package/dist/components/modal/columns-modal/search-panel/index.js +1 -1
- package/dist/components/modal/filters-modal/applied-filter/index.js +2 -2
- package/dist/components/modal/filters-modal/applied-filters/index.js +2 -2
- package/dist/components/modal/filters-modal/column-filters/index.js +1 -1
- package/dist/components/modal/filters-modal/filter-control/index.js +2 -2
- package/dist/components/modal/filters-modal/filter-form/form-content/index.js +1 -1
- package/dist/components/modal/filters-modal/filter-form/hooks/index.js +2 -2
- package/dist/components/modal/filters-modal/filter-form/index.js +1 -1
- package/dist/components/modal/filters-modal/filters-list/index.js +1 -1
- package/dist/components/modal/filters-modal/index.js +2 -2
- package/dist/components/modal/footer/index.js +2 -2
- package/dist/components/modal/header/index.js +2 -2
- package/dist/components/modal/index.js +2 -2
- package/dist/components/modal/modal-confirm/index.js +1 -1
- package/dist/components/notification/index.js +1 -1
- package/dist/components/notification-sign/index.js +1 -1
- package/dist/components/oauth-selector/index.js +1 -1
- package/dist/components/oauth-selector/option-container/index.js +1 -1
- package/dist/components/paginator-db/btn/index.js +1 -1
- package/dist/components/paginator-db/dropdown/index.js +2 -2
- package/dist/components/paginator-db/index.js +1 -1
- package/dist/components/pop-up/description/index.js +1 -1
- package/dist/components/pop-up/index.js +2 -2
- package/dist/components/premium-feature/index.js +1 -1
- package/dist/components/priority-cards/card/index.js +2 -2
- package/dist/components/priority-cards/index.js +2 -2
- package/dist/components/priority-score/index.js +1 -1
- package/dist/components/progress-bar/index.js +1 -1
- package/dist/components/progress-indicator/in-progress-icon/index.js +1 -1
- package/dist/components/progress-indicator/index.js +1 -1
- package/dist/components/progress-indicator/step/index.js +1 -1
- package/dist/components/radio-button/index.js +1 -1
- package/dist/components/rank-position/icon/index.js +1 -1
- package/dist/components/rank-position/index.js +1 -1
- package/dist/components/rules-card/index.js +2 -2
- package/dist/components/scroll-button/index.js +1 -1
- package/dist/components/search/index.js +2 -2
- package/dist/components/search-dropdown/index.js +2 -2
- package/dist/components/severity-badge/index.js +1 -1
- package/dist/components/severity-overview/badge/index.js +2 -2
- package/dist/components/severity-overview/index.js +1 -1
- package/dist/components/show-on-hover/index.js +1 -1
- package/dist/components/slide-out-menu/index.js +2 -2
- package/dist/components/slide-out-menu/menu-item/index.js +1 -1
- package/dist/components/slider/index.js +2 -2
- package/dist/components/slider/thumb/index.js +2 -2
- package/dist/components/step-lapse/index.js +1 -1
- package/dist/components/table/context/index.js +1 -1
- package/dist/components/table/export-csv/index.js +2 -2
- package/dist/components/table/index.js +1 -1
- package/dist/components/table/pagination/pagination-control/index.js +1 -1
- package/dist/components/table/pagination/pagination-dropdown/index.js +2 -2
- package/dist/components/table/pagination/pagination-size/index.js +1 -1
- package/dist/components/table/sort-icon/index.js +1 -1
- package/dist/components/table/table-body/index.js +2 -2
- package/dist/components/table/table-column-toggle/index.js +2 -2
- package/dist/components/table/table-content/head/index.js +2 -2
- package/dist/components/table/table-content/index.js +1 -1
- package/dist/components/table/table-footer/footer-content/index.js +1 -1
- package/dist/components/table/table-footer/index.js +1 -1
- package/dist/components/table/table-options/caption-content/index.js +1 -1
- package/dist/components/table/table-options/controls-content/index.js +1 -1
- package/dist/components/table/table-options/highlighted-content/index.js +1 -1
- package/dist/components/table/table-options/index.js +1 -1
- package/dist/components/table/wrapper/index.js +1 -1
- package/dist/components/table-button/index.js +1 -1
- package/dist/components/table-content/index.js +1 -1
- package/dist/components/table-content/item-content/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/tab/index.js +1 -1
- package/dist/components/tag/index.js +2 -2
- package/dist/components/timeline/card/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/toggle/index.js +1 -1
- package/dist/components/tooltip/index.js +2 -2
- package/dist/components/tour/index.js +2 -2
- package/dist/components/tree/index.js +1 -1
- package/dist/components/typography/heading/index.js +1 -1
- package/dist/components/typography/index.js +1 -1
- package/dist/components/typography/span/index.js +1 -1
- package/dist/components/typography/text/index.js +1 -1
- package/dist/components/weaknesses-card/index.js +2 -2
- package/dist/{components-DtrU0Bqy.mjs → components-TTFPTdYc.mjs} +2626 -2652
- package/dist/context/index.js +2 -2
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/use-filters.d.ts +13 -9
- package/dist/index.js +14 -16
- package/dist/utils/index.js +1 -1
- package/dist/{vendor-DKF5yQgP.mjs → vendor-DisxR6cH.mjs} +3 -3
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { k as e, B as t, m as n, l as o, x as i, j as r, w as p, u as B, r as d, q as m, s as C, t as g, p as l, v as x } from "../../components-
|
|
1
|
+
import { k as e, B as t, m as n, l as o, x as i, j as r, w as p, u as B, r as d, q as m, s as C, t as g, p as l, v as x } from "../../components-TTFPTdYc.mjs";
|
|
2
2
|
export {
|
|
3
3
|
e as BaseButtonComponent,
|
|
4
4
|
t as BaseComponent,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../vendor-
|
|
2
|
+
import "../../vendor-DisxR6cH.mjs";
|
|
3
3
|
import "styled-components";
|
|
4
|
-
import { z as t } from "../../components-
|
|
4
|
+
import { z as t } from "../../components-TTFPTdYc.mjs";
|
|
5
5
|
export {
|
|
6
6
|
t as AdvisoriesCard
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { G as d } from "../../../components-
|
|
4
|
-
import "../../../vendor-
|
|
3
|
+
import { G as d } from "../../../components-TTFPTdYc.mjs";
|
|
4
|
+
import "../../../vendor-DisxR6cH.mjs";
|
|
5
5
|
import "styled-components";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../vendor-
|
|
2
|
+
import "../../../vendor-DisxR6cH.mjs";
|
|
3
3
|
import "styled-components";
|
|
4
|
-
import { L as p } from "../../../components-
|
|
4
|
+
import { L as p } from "../../../components-TTFPTdYc.mjs";
|
|
5
5
|
export {
|
|
6
6
|
p as IndicatorCard
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { N as i } from "../../components-
|
|
4
|
-
import "../../vendor-
|
|
3
|
+
import { N as i } from "../../components-TTFPTdYc.mjs";
|
|
4
|
+
import "../../vendor-DisxR6cH.mjs";
|
|
5
5
|
export {
|
|
6
6
|
i as Carousel
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../vendor-
|
|
2
|
+
import "../../vendor-DisxR6cH.mjs";
|
|
3
3
|
import "react";
|
|
4
|
-
import { P as i } from "../../components-
|
|
4
|
+
import { P as i } from "../../components-TTFPTdYc.mjs";
|
|
5
5
|
export {
|
|
6
6
|
i as CloudImage
|
|
7
7
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../vendor-
|
|
2
|
+
import "../../vendor-DisxR6cH.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import "styled-components";
|
|
5
|
-
import { Q as e } from "../../components-
|
|
5
|
+
import { Q as e } from "../../components-TTFPTdYc.mjs";
|
|
6
6
|
export {
|
|
7
7
|
e as CodeSnippet
|
|
8
8
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { IconName } from '@fortawesome/free-solid-svg-icons';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
|
-
import { DefaultTheme
|
|
3
|
+
import { DefaultTheme } from 'styled-components';
|
|
4
4
|
declare const icons: IconName[];
|
|
5
5
|
declare const theme: DefaultTheme;
|
|
6
6
|
declare const CustomThemeProvider: ({ children, }: Readonly<{
|
|
7
7
|
children: React.ReactNode;
|
|
8
8
|
}>) => JSX.Element;
|
|
9
|
-
export { CustomThemeProvider, theme, icons
|
|
9
|
+
export { CustomThemeProvider, theme, icons };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { R as
|
|
2
|
+
import "styled-components";
|
|
3
|
+
import { R as s, T as t, S as i } from "../../components-TTFPTdYc.mjs";
|
|
4
4
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
r as useTheme
|
|
5
|
+
s as CustomThemeProvider,
|
|
6
|
+
t as icons,
|
|
7
|
+
i as theme
|
|
9
8
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { U as p } from "../../components-
|
|
4
|
-
import "../../vendor-
|
|
3
|
+
import { U as p } from "../../components-TTFPTdYc.mjs";
|
|
4
|
+
import "../../vendor-DisxR6cH.mjs";
|
|
5
5
|
export {
|
|
6
6
|
p as useConditionsDialog
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { V as t } from "../../components-
|
|
4
|
-
import "../../vendor-
|
|
3
|
+
import { V as t } from "../../components-TTFPTdYc.mjs";
|
|
4
|
+
import "../../vendor-DisxR6cH.mjs";
|
|
5
5
|
export {
|
|
6
6
|
t as useConfirmDialog
|
|
7
7
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../vendor-
|
|
2
|
+
import "../../vendor-DisxR6cH.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import "styled-components";
|
|
5
|
-
import { Z as a } from "../../components-
|
|
5
|
+
import { Z as a } from "../../components-TTFPTdYc.mjs";
|
|
6
6
|
export {
|
|
7
7
|
a as Dropdown
|
|
8
8
|
};
|
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
import { IFiltersContext } from './types';
|
|
2
|
-
declare const FiltersContext: import('react').Context<IFiltersContext
|
|
3
|
-
[x: string]: import('nuqs').GenericParser<any> & import('nuqs').Options & {
|
|
4
|
-
defaultValue?: any;
|
|
5
|
-
};
|
|
6
|
-
}>>;
|
|
2
|
+
declare const FiltersContext: import('react').Context<IFiltersContext>;
|
|
7
3
|
export { FiltersContext };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { TFilterValues, TSetFilterValues } from '../../../hooks/use-filters';
|
|
3
3
|
/**
|
|
4
4
|
* Interface for the search state.
|
|
5
5
|
* @interface ISearchState
|
|
@@ -31,33 +31,32 @@ interface ICalendarState {
|
|
|
31
31
|
updateCalendarState: (isOpen: boolean) => void;
|
|
32
32
|
}
|
|
33
33
|
/** Search values type for the filters context. */
|
|
34
|
-
|
|
34
|
+
interface TSearchValues {
|
|
35
35
|
searchGlobal: string;
|
|
36
36
|
searchFilter: string;
|
|
37
|
-
}
|
|
37
|
+
}
|
|
38
38
|
/** Setter for search values - supports both controlled (useState) and uncontrolled (nuqs) modes. */
|
|
39
|
-
type TSetSearchValues =
|
|
39
|
+
type TSetSearchValues = ((updater: Readonly<TSearchValues> | ((prev: Readonly<TSearchValues>) => TSearchValues) | Readonly<Partial<TSearchValues>>) => void) | Dispatch<SetStateAction<TSearchValues>>;
|
|
40
40
|
/**
|
|
41
41
|
* Interface for the filters context.
|
|
42
42
|
* @interface IFiltersContext
|
|
43
|
-
* @template TParsers - The type of the query states keys map.
|
|
44
43
|
* @property { string } id - The id of the filter.
|
|
45
44
|
* @property { ISearchState } searchState - The search state.
|
|
46
45
|
* @property { IScrollState } scrollState - The scroll state.
|
|
47
|
-
* @property {
|
|
48
|
-
* @property {
|
|
46
|
+
* @property { TFilterValues } values - The values of the filters.
|
|
47
|
+
* @property { TSetFilterValues } setValues - The function to set the values of the filters.
|
|
49
48
|
* @property { Function } updateSearch - The function to update the search state.
|
|
50
49
|
* @property { Function } updateScrollHeight - The function to update the scroll height.
|
|
51
50
|
*/
|
|
52
|
-
interface IFiltersContext
|
|
51
|
+
interface IFiltersContext {
|
|
53
52
|
id: string;
|
|
54
53
|
calendarState: ICalendarState;
|
|
55
54
|
searchState: ISearchState;
|
|
56
55
|
scrollState: IScrollState;
|
|
57
|
-
searchValues:
|
|
56
|
+
searchValues: TSearchValues;
|
|
58
57
|
setSearchValues: TSetSearchValues;
|
|
59
|
-
values:
|
|
60
|
-
setValues:
|
|
58
|
+
values: TFilterValues;
|
|
59
|
+
setValues: TSetFilterValues;
|
|
61
60
|
updateSearch: (updates: Readonly<Partial<ISearchState>>) => void;
|
|
62
61
|
updateScrollHeight: (height: string) => void;
|
|
63
62
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../vendor-
|
|
2
|
+
import "../../../vendor-DisxR6cH.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import "styled-components";
|
|
5
|
-
import { c9 as e } from "../../../components-
|
|
5
|
+
import { c9 as e } from "../../../components-TTFPTdYc.mjs";
|
|
6
6
|
export {
|
|
7
7
|
e as FiltersMenu
|
|
8
8
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../vendor-
|
|
2
|
+
import "../../vendor-DisxR6cH.mjs";
|
|
3
3
|
import "react";
|
|
4
|
-
import { a2 as e, a1 as m } from "../../components-
|
|
4
|
+
import { a2 as e, a1 as m } from "../../components-TTFPTdYc.mjs";
|
|
5
5
|
export {
|
|
6
6
|
e as ActiveFilters,
|
|
7
7
|
m as Filters
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../vendor-
|
|
2
|
+
import "../../../vendor-DisxR6cH.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import "styled-components";
|
|
5
|
-
import { cb as e } from "../../../components-
|
|
5
|
+
import { cb as e } from "../../../components-TTFPTdYc.mjs";
|
|
6
6
|
export {
|
|
7
7
|
e as OptionsMenu
|
|
8
8
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../../vendor-
|
|
2
|
+
import "../../../../vendor-DisxR6cH.mjs";
|
|
3
3
|
import "react";
|
|
4
|
-
import { ca as s } from "../../../../components-
|
|
4
|
+
import { ca as s } from "../../../../components-TTFPTdYc.mjs";
|
|
5
5
|
import "styled-components";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
export {
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { TSearchValues, TSetSearchValues } from './context/types';
|
|
1
2
|
import { IIconModifiable } from '../@core';
|
|
3
|
+
import { IUseFiltersReturn } from '../../hooks/use-filters';
|
|
2
4
|
type TFilterType = "checkboxes" | "dateRange" | "numberRange" | "list" | "text";
|
|
3
5
|
/** Active filter properties. */
|
|
4
6
|
interface IFilter {
|
|
@@ -105,4 +107,17 @@ interface IOptionProps {
|
|
|
105
107
|
/** The change handler for filter */
|
|
106
108
|
onChange: (value: string, type?: string, index?: number) => void;
|
|
107
109
|
}
|
|
108
|
-
|
|
110
|
+
/** Props for the internal FiltersContent component */
|
|
111
|
+
interface IFiltersContentProps {
|
|
112
|
+
readonly disabled: boolean;
|
|
113
|
+
readonly filters: readonly IFiltersOptions[];
|
|
114
|
+
readonly tooltip?: string;
|
|
115
|
+
readonly filterState: IUseFiltersReturn;
|
|
116
|
+
readonly searchValues: TSearchValues;
|
|
117
|
+
readonly setSearchValues: TSetSearchValues;
|
|
118
|
+
readonly filterId: string | null;
|
|
119
|
+
readonly setFilterId: (id: string | null) => void;
|
|
120
|
+
readonly onButtonClick: () => void;
|
|
121
|
+
readonly onOutsideClick: () => void;
|
|
122
|
+
}
|
|
123
|
+
export type { IActiveFilterProps, IFilterProps, IFiltersContentProps, IFiltersOptions, IFilterOptionProps, IFilterItem, IFiltersMenuProps, IOptionsMenuProps, IOptionProps, TFilterType, };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import { B as s, aK as t, aL as m, aH as l, aM as n } from "../../vendor-
|
|
2
|
+
import { B as s, aK as t, aL as m, aH as l, aM as n } from "../../vendor-DisxR6cH.mjs";
|
|
3
3
|
import "styled-components";
|
|
4
|
-
import { a4 as u, a3 as F } from "../../components-
|
|
4
|
+
import { a4 as u, a3 as F } from "../../components-TTFPTdYc.mjs";
|
|
5
5
|
export {
|
|
6
6
|
s as Controller,
|
|
7
7
|
u as Form,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "styled-components";
|
|
4
|
-
import { cd as p, cc as a } from "../../../components-
|
|
4
|
+
import { cd as p, cc as a } from "../../../components-TTFPTdYc.mjs";
|
|
5
5
|
export {
|
|
6
6
|
p as OptionBoxContainer,
|
|
7
7
|
a as OptionContainer
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../vendor-
|
|
2
|
+
import "../../vendor-DisxR6cH.mjs";
|
|
3
3
|
import "styled-components";
|
|
4
|
-
import { a9 as m } from "../../components-
|
|
4
|
+
import { a9 as m } from "../../components-TTFPTdYc.mjs";
|
|
5
5
|
export {
|
|
6
6
|
m as IndicatorCardDB
|
|
7
7
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../../../vendor-
|
|
2
|
+
import "../../../../../vendor-DisxR6cH.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import "styled-components";
|
|
5
|
-
import { bF as b } from "../../../../../components-
|
|
5
|
+
import { bF as b } from "../../../../../components-TTFPTdYc.mjs";
|
|
6
6
|
export {
|
|
7
7
|
b as ComboBoxField
|
|
8
8
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../../vendor-
|
|
3
|
-
import { ad as t } from "../../../../components-
|
|
2
|
+
import "../../../../vendor-DisxR6cH.mjs";
|
|
3
|
+
import { ad as t } from "../../../../components-TTFPTdYc.mjs";
|
|
4
4
|
export {
|
|
5
5
|
t as ComboBox
|
|
6
6
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../../../vendor-
|
|
2
|
+
import "../../../../../vendor-DisxR6cH.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import "styled-components";
|
|
5
|
-
import { bE as a } from "../../../../../components-
|
|
5
|
+
import { bE as a } from "../../../../../components-TTFPTdYc.mjs";
|
|
6
6
|
export {
|
|
7
7
|
a as Option
|
|
8
8
|
};
|