@trackunit/filters-asset-filter-definitions 1.9.10 → 1.9.14
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/index.cjs.js +5 -5
- package/index.esm.js +5 -5
- package/package.json +18 -18
- package/src/defaultFilters/defaults/ProductionYearFilter.d.ts +2 -2
- package/src/defaultFilters/defaults/RentalContractOrderNumberFilter.d.ts +1 -1
- package/src/defaultFilters/defaults/RentalContractReferenceCodeDescriptionFilter.d.ts +1 -1
- package/src/defaultFilters/defaults/RentalContractReferenceCodeFilter.d.ts +1 -1
package/index.cjs.js
CHANGED
|
@@ -3399,10 +3399,10 @@ const FETCH_LIMIT$5 = 1000;
|
|
|
3399
3399
|
* It fetches data from a GraphQL query and integrates with the filter bar's filtering logic.
|
|
3400
3400
|
*
|
|
3401
3401
|
* @param {ValueNameArrayFilterDefinition} filterDefinition - The filter's definition.
|
|
3402
|
-
* @param {
|
|
3402
|
+
* @param {FilterState} filterState - The current state of the filter, including selected values.
|
|
3403
3403
|
* @param {object} filterBarActions - Actions for the filter's interaction with the filter bar.
|
|
3404
3404
|
* @param {object} props - Additional props passed to the component.
|
|
3405
|
-
* @returns {
|
|
3405
|
+
* @returns {ReactElement} React component to render the production year filter.
|
|
3406
3406
|
*/
|
|
3407
3407
|
const ProductionYearFilterView = ({ filterDefinition, filterState, filterBarActions, ...props }) => {
|
|
3408
3408
|
const [t] = useTranslation();
|
|
@@ -3460,7 +3460,7 @@ const FETCH_LIMIT$4 = 1000;
|
|
|
3460
3460
|
* It fetches data from a GraphQL query and integrates with the filter bar's filtering logic.
|
|
3461
3461
|
*
|
|
3462
3462
|
* @param {FilterViewProps<Array<string>>} props - The props for the component.
|
|
3463
|
-
* @returns {
|
|
3463
|
+
* @returns {Element} The rendered component.
|
|
3464
3464
|
*/
|
|
3465
3465
|
const RentalContractOrderNumberFilterView = (props) => {
|
|
3466
3466
|
const activeFilters = filtersGraphqlHook.useActiveAssetFilters(props.filterState.values);
|
|
@@ -3527,7 +3527,7 @@ const MAX_RECENT_SEARCHES$1 = 20;
|
|
|
3527
3527
|
* It fetches data from a GraphQL query and integrates with the filter bar's filtering logic.
|
|
3528
3528
|
*
|
|
3529
3529
|
* @param {SearchFilterProps<FilterBarDefinition>} props - The props for the component.
|
|
3530
|
-
* @returns {
|
|
3530
|
+
* @returns {Element} The rendered component.
|
|
3531
3531
|
*/
|
|
3532
3532
|
const RentalContractReferenceCodeDescriptionFilterView = ({ filterBarActions, filterState, filterDefinition, localStorageKey, }) => {
|
|
3533
3533
|
const [t] = useTranslation();
|
|
@@ -3611,7 +3611,7 @@ const FETCH_LIMIT$3 = 1000;
|
|
|
3611
3611
|
* It fetches data from a GraphQL query and integrates with the filter bar's filtering logic.
|
|
3612
3612
|
*
|
|
3613
3613
|
* @param {FilterViewProps<Array<string>>} props - The props for the component.
|
|
3614
|
-
* @returns {
|
|
3614
|
+
* @returns {Element} The rendered component.
|
|
3615
3615
|
*/
|
|
3616
3616
|
const RentalContractReferenceCodeFilterView = (props) => {
|
|
3617
3617
|
const activeFilters = filtersGraphqlHook.useActiveAssetFilters(props.filterState.values);
|
package/index.esm.js
CHANGED
|
@@ -3397,10 +3397,10 @@ const FETCH_LIMIT$5 = 1000;
|
|
|
3397
3397
|
* It fetches data from a GraphQL query and integrates with the filter bar's filtering logic.
|
|
3398
3398
|
*
|
|
3399
3399
|
* @param {ValueNameArrayFilterDefinition} filterDefinition - The filter's definition.
|
|
3400
|
-
* @param {
|
|
3400
|
+
* @param {FilterState} filterState - The current state of the filter, including selected values.
|
|
3401
3401
|
* @param {object} filterBarActions - Actions for the filter's interaction with the filter bar.
|
|
3402
3402
|
* @param {object} props - Additional props passed to the component.
|
|
3403
|
-
* @returns {
|
|
3403
|
+
* @returns {ReactElement} React component to render the production year filter.
|
|
3404
3404
|
*/
|
|
3405
3405
|
const ProductionYearFilterView = ({ filterDefinition, filterState, filterBarActions, ...props }) => {
|
|
3406
3406
|
const [t] = useTranslation();
|
|
@@ -3458,7 +3458,7 @@ const FETCH_LIMIT$4 = 1000;
|
|
|
3458
3458
|
* It fetches data from a GraphQL query and integrates with the filter bar's filtering logic.
|
|
3459
3459
|
*
|
|
3460
3460
|
* @param {FilterViewProps<Array<string>>} props - The props for the component.
|
|
3461
|
-
* @returns {
|
|
3461
|
+
* @returns {Element} The rendered component.
|
|
3462
3462
|
*/
|
|
3463
3463
|
const RentalContractOrderNumberFilterView = (props) => {
|
|
3464
3464
|
const activeFilters = useActiveAssetFilters(props.filterState.values);
|
|
@@ -3525,7 +3525,7 @@ const MAX_RECENT_SEARCHES$1 = 20;
|
|
|
3525
3525
|
* It fetches data from a GraphQL query and integrates with the filter bar's filtering logic.
|
|
3526
3526
|
*
|
|
3527
3527
|
* @param {SearchFilterProps<FilterBarDefinition>} props - The props for the component.
|
|
3528
|
-
* @returns {
|
|
3528
|
+
* @returns {Element} The rendered component.
|
|
3529
3529
|
*/
|
|
3530
3530
|
const RentalContractReferenceCodeDescriptionFilterView = ({ filterBarActions, filterState, filterDefinition, localStorageKey, }) => {
|
|
3531
3531
|
const [t] = useTranslation();
|
|
@@ -3609,7 +3609,7 @@ const FETCH_LIMIT$3 = 1000;
|
|
|
3609
3609
|
* It fetches data from a GraphQL query and integrates with the filter bar's filtering logic.
|
|
3610
3610
|
*
|
|
3611
3611
|
* @param {FilterViewProps<Array<string>>} props - The props for the component.
|
|
3612
|
-
* @returns {
|
|
3612
|
+
* @returns {Element} The rendered component.
|
|
3613
3613
|
*/
|
|
3614
3614
|
const RentalContractReferenceCodeFilterView = (props) => {
|
|
3615
3615
|
const activeFilters = useActiveAssetFilters(props.filterState.values);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/filters-asset-filter-definitions",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.14",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -17,23 +17,23 @@
|
|
|
17
17
|
"@tanstack/react-router": "1.114.29",
|
|
18
18
|
"string-ts": "^2.0.0",
|
|
19
19
|
"tailwind-merge": "^2.0.0",
|
|
20
|
-
"@trackunit/iris-app-build-utilities": "1.6.
|
|
21
|
-
"@trackunit/filters-filter-bar": "1.7.
|
|
22
|
-
"@trackunit/react-core-hooks": "1.6.
|
|
23
|
-
"@trackunit/react-filter-components": "1.6.
|
|
24
|
-
"@trackunit/react-form-components": "1.6.
|
|
25
|
-
"@trackunit/filters-graphql-hook": "1.9.
|
|
26
|
-
"@trackunit/utilization-indicator": "1.6.
|
|
27
|
-
"@trackunit/geo-json-utils": "1.6.
|
|
28
|
-
"@trackunit/react-components": "1.7.
|
|
29
|
-
"@trackunit/shared-utils": "1.8.
|
|
30
|
-
"@trackunit/translations-machine-type": "1.6.
|
|
31
|
-
"@trackunit/criticality-indicator": "1.6.
|
|
32
|
-
"@trackunit/iris-app-api": "1.6.
|
|
33
|
-
"@trackunit/react-core-contexts-test": "1.6.
|
|
34
|
-
"@trackunit/i18n-library-translation": "1.6.
|
|
35
|
-
"@trackunit/react-core-contexts-api": "1.7.
|
|
36
|
-
"@trackunit/react-test-setup": "1.3.
|
|
20
|
+
"@trackunit/iris-app-build-utilities": "1.6.9",
|
|
21
|
+
"@trackunit/filters-filter-bar": "1.7.13",
|
|
22
|
+
"@trackunit/react-core-hooks": "1.6.10",
|
|
23
|
+
"@trackunit/react-filter-components": "1.6.13",
|
|
24
|
+
"@trackunit/react-form-components": "1.6.13",
|
|
25
|
+
"@trackunit/filters-graphql-hook": "1.9.13",
|
|
26
|
+
"@trackunit/utilization-indicator": "1.6.12",
|
|
27
|
+
"@trackunit/geo-json-utils": "1.6.10",
|
|
28
|
+
"@trackunit/react-components": "1.7.12",
|
|
29
|
+
"@trackunit/shared-utils": "1.8.10",
|
|
30
|
+
"@trackunit/translations-machine-type": "1.6.11",
|
|
31
|
+
"@trackunit/criticality-indicator": "1.6.12",
|
|
32
|
+
"@trackunit/iris-app-api": "1.6.9",
|
|
33
|
+
"@trackunit/react-core-contexts-test": "1.6.10",
|
|
34
|
+
"@trackunit/i18n-library-translation": "1.6.10",
|
|
35
|
+
"@trackunit/react-core-contexts-api": "1.7.10",
|
|
36
|
+
"@trackunit/react-test-setup": "1.3.10"
|
|
37
37
|
},
|
|
38
38
|
"module": "./index.esm.js",
|
|
39
39
|
"main": "./index.cjs.js",
|
|
@@ -7,10 +7,10 @@ import { ReactElement } from "react";
|
|
|
7
7
|
* It fetches data from a GraphQL query and integrates with the filter bar's filtering logic.
|
|
8
8
|
*
|
|
9
9
|
* @param {ValueNameArrayFilterDefinition} filterDefinition - The filter's definition.
|
|
10
|
-
* @param {
|
|
10
|
+
* @param {FilterState} filterState - The current state of the filter, including selected values.
|
|
11
11
|
* @param {object} filterBarActions - Actions for the filter's interaction with the filter bar.
|
|
12
12
|
* @param {object} props - Additional props passed to the component.
|
|
13
|
-
* @returns {
|
|
13
|
+
* @returns {ReactElement} React component to render the production year filter.
|
|
14
14
|
*/
|
|
15
15
|
export declare const ProductionYearFilterView: ({ filterDefinition, filterState, filterBarActions, ...props }: FilterViewProps<Array<ValueName>>) => ReactElement;
|
|
16
16
|
/**
|
|
@@ -6,7 +6,7 @@ import { FilterViewProps, StringArrayFilterDefinition } from "@trackunit/filters
|
|
|
6
6
|
* It fetches data from a GraphQL query and integrates with the filter bar's filtering logic.
|
|
7
7
|
*
|
|
8
8
|
* @param {FilterViewProps<Array<string>>} props - The props for the component.
|
|
9
|
-
* @returns {
|
|
9
|
+
* @returns {Element} The rendered component.
|
|
10
10
|
*/
|
|
11
11
|
export declare const RentalContractOrderNumberFilterView: (props: FilterViewProps<Array<string>>) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
interface FilterProps {
|
|
@@ -7,7 +7,7 @@ import { SearchFilterProps } from "./SearchFilter";
|
|
|
7
7
|
* It fetches data from a GraphQL query and integrates with the filter bar's filtering logic.
|
|
8
8
|
*
|
|
9
9
|
* @param {SearchFilterProps<FilterBarDefinition>} props - The props for the component.
|
|
10
|
-
* @returns {
|
|
10
|
+
* @returns {Element} The rendered component.
|
|
11
11
|
*/
|
|
12
12
|
export declare const RentalContractReferenceCodeDescriptionFilterView: <TFilterState extends FilterBarDefinition>({ filterBarActions, filterState, filterDefinition, localStorageKey, }: SearchFilterProps<TFilterState>) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
interface FilterProps {
|
|
@@ -6,7 +6,7 @@ import { FilterViewProps, StringArrayFilterDefinition } from "@trackunit/filters
|
|
|
6
6
|
* It fetches data from a GraphQL query and integrates with the filter bar's filtering logic.
|
|
7
7
|
*
|
|
8
8
|
* @param {FilterViewProps<Array<string>>} props - The props for the component.
|
|
9
|
-
* @returns {
|
|
9
|
+
* @returns {Element} The rendered component.
|
|
10
10
|
*/
|
|
11
11
|
export declare const RentalContractReferenceCodeFilterView: (props: FilterViewProps<Array<string>>) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
interface FilterProps {
|