@trackunit/filters-asset-filter-definitions 1.4.2 → 1.5.3

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 CHANGED
@@ -2664,7 +2664,7 @@ const CustomerIdsFilterView = (props) => {
2664
2664
  const { data, loading, searchText, setSearchText } = useCustomerData(props.filterState.values);
2665
2665
  const hierarchicalOptions = useCustomerHierarchy(data?.assetSummary?.customers?.summary);
2666
2666
  const valueNameArrayFilterDefinition = props.filterDefinition;
2667
- return (jsxRuntime.jsx(filtersFilterBar.HierarchicalCheckboxFilter, { customSearch: {
2667
+ return (jsxRuntime.jsx(filtersFilterBar.HierarchicalCheckboxFilter, { cascadeSelection: true, customSearch: {
2668
2668
  value: searchText,
2669
2669
  onChange: setSearchText,
2670
2670
  }, filterBarActions: props.filterBarActions, filterDefinition: valueNameArrayFilterDefinition, filterState: props.filterState, loading: loading, options: hierarchicalOptions, setValue: props.setValue, value: props.value }));
package/index.esm.js CHANGED
@@ -2662,7 +2662,7 @@ const CustomerIdsFilterView = (props) => {
2662
2662
  const { data, loading, searchText, setSearchText } = useCustomerData(props.filterState.values);
2663
2663
  const hierarchicalOptions = useCustomerHierarchy(data?.assetSummary?.customers?.summary);
2664
2664
  const valueNameArrayFilterDefinition = props.filterDefinition;
2665
- return (jsx(HierarchicalCheckboxFilter, { customSearch: {
2665
+ return (jsx(HierarchicalCheckboxFilter, { cascadeSelection: true, customSearch: {
2666
2666
  value: searchText,
2667
2667
  onChange: setSearchText,
2668
2668
  }, filterBarActions: props.filterBarActions, filterDefinition: valueNameArrayFilterDefinition, filterState: props.filterState, loading: loading, options: hierarchicalOptions, setValue: props.setValue, value: props.value }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/filters-asset-filter-definitions",
3
- "version": "1.4.2",
3
+ "version": "1.5.3",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -17,22 +17,22 @@
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.3.79",
21
- "@trackunit/filters-filter-bar": "1.3.124",
22
- "@trackunit/react-core-hooks": "1.3.81",
23
- "@trackunit/react-filter-components": "1.3.104",
24
- "@trackunit/react-form-components": "1.3.104",
25
- "@trackunit/filters-graphql-hook": "1.4.2",
26
- "@trackunit/utilization-indicator": "1.3.97",
27
- "@trackunit/geo-json-utils": "1.3.77",
28
- "@trackunit/react-components": "1.4.92",
29
- "@trackunit/shared-utils": "1.5.76",
30
- "@trackunit/translations-machine-type": "1.3.85",
31
- "@trackunit/criticality-indicator": "1.3.97",
32
- "@trackunit/iris-app-api": "1.3.79",
33
- "@trackunit/react-core-contexts-test": "1.3.82",
34
- "@trackunit/i18n-library-translation": "1.3.84",
35
- "@trackunit/react-core-contexts-api": "1.4.79"
20
+ "@trackunit/iris-app-build-utilities": "1.3.82",
21
+ "@trackunit/filters-filter-bar": "1.3.129",
22
+ "@trackunit/react-core-hooks": "1.3.84",
23
+ "@trackunit/react-filter-components": "1.3.109",
24
+ "@trackunit/react-form-components": "1.3.109",
25
+ "@trackunit/filters-graphql-hook": "1.5.3",
26
+ "@trackunit/utilization-indicator": "1.3.101",
27
+ "@trackunit/geo-json-utils": "1.3.80",
28
+ "@trackunit/react-components": "1.4.95",
29
+ "@trackunit/shared-utils": "1.5.79",
30
+ "@trackunit/translations-machine-type": "1.3.89",
31
+ "@trackunit/criticality-indicator": "1.3.101",
32
+ "@trackunit/iris-app-api": "1.3.82",
33
+ "@trackunit/react-core-contexts-test": "1.3.86",
34
+ "@trackunit/i18n-library-translation": "1.3.87",
35
+ "@trackunit/react-core-contexts-api": "1.4.82"
36
36
  },
37
37
  "module": "./index.esm.js",
38
38
  "main": "./index.cjs.js",
@@ -349,9 +349,9 @@ export declare const digitalKeyMode: {
349
349
  };
350
350
  export type DigitalKeyMode = (typeof digitalKeyMode)[keyof typeof digitalKeyMode];
351
351
  export declare const fleetDataHealthIssueCategory: {
352
- readonly FUNCTIONAL_DEVICE_CORE_DEFINITION: "FUNCTIONAL_DEVICE_CORE_DEFINITION";
352
+ readonly COVERAGE_ISSUES: "COVERAGE_ISSUES";
353
+ readonly DEVICE_BATTERY_ISSUES: "DEVICE_BATTERY_ISSUES";
353
354
  readonly INSTALL_AND_CONFIGURATION_HEALTH: "INSTALL_AND_CONFIGURATION_HEALTH";
354
- readonly OPERATIONAL_DEVICE_CORE_DEFINITION: "OPERATIONAL_DEVICE_CORE_DEFINITION";
355
355
  };
356
356
  export type FleetDataHealthIssueCategory = (typeof fleetDataHealthIssueCategory)[keyof typeof fleetDataHealthIssueCategory];
357
357
  export declare const fleetDataHealthIssueState: {
@@ -364,20 +364,14 @@ export type FleetDataHealthIssueState = (typeof fleetDataHealthIssueState)[keyof
364
364
  export declare const fleetDataHealthIssueType: {
365
365
  readonly BLUETOOTH_DISABLED: "BLUETOOTH_DISABLED";
366
366
  readonly DIGITAL_KEY_DISABLED: "DIGITAL_KEY_DISABLED";
367
- readonly EXCEPTION_ERROR: "EXCEPTION_ERROR";
368
- readonly FIRMWARE_ERROR: "FIRMWARE_ERROR";
369
367
  readonly INSTALLATION_VALIDATION_MISSING: "INSTALLATION_VALIDATION_MISSING";
370
- readonly INTERNAL_FLASH_ERROR: "INTERNAL_FLASH_ERROR";
371
- readonly LOW_BATTERY_POWER: "LOW_BATTERY_POWER";
372
368
  readonly LOW_CELLULAR_COVERAGE: "LOW_CELLULAR_COVERAGE";
373
- readonly LOW_EXTERNAL_POWER: "LOW_EXTERNAL_POWER";
369
+ readonly LOW_DEVICE_BATTERY_VOLTAGE: "LOW_DEVICE_BATTERY_VOLTAGE";
370
+ readonly LOW_DEVICE_INPUT_VOLTAGE: "LOW_DEVICE_INPUT_VOLTAGE";
374
371
  readonly LOW_GPS_COVERAGE: "LOW_GPS_COVERAGE";
375
- readonly MALICIOUS_REBOOT_TYPE_0_33: "MALICIOUS_REBOOT_TYPE_0_33";
376
372
  readonly NO_CAN_DATA_CONFIGURATION: "NO_CAN_DATA_CONFIGURATION";
377
373
  readonly NO_CAN_DATA_WIRING: "NO_CAN_DATA_WIRING";
378
374
  readonly OPERATING_HOURS: "OPERATING_HOURS";
379
- readonly TEMPERATURE_SHUTDOWN: "TEMPERATURE_SHUTDOWN";
380
- readonly UNKNOWN_ERROR: "UNKNOWN_ERROR";
381
375
  };
382
376
  export type FleetDataHealthIssueType = (typeof fleetDataHealthIssueType)[keyof typeof fleetDataHealthIssueType];
383
377
  export declare const metadataCompleteness: {