@@ -9,6 +9,7 @@ import {
|
||||
} from "react-hook-form";
|
||||
import { useLazyLoadQuery, graphql } from "react-relay";
|
||||
import { getAuditStateVariant, getAuditStateLabel } from "@probo/helpers";
|
||||
|
||||
import type { AuditSelectFieldQuery } from "/__generated__/core/AuditSelectFieldQuery.graphql";
|
||||
|
||||
const auditsQuery = graphql`
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import type { ComponentProps } from "react";
|
||||
import { Field } from "@probo/ui";
|
||||
import { Field, Select } from "@probo/ui";
|
||||
import { Controller, type FieldPath, type FieldValues } from "react-hook-form";
|
||||
import { Select } from "@probo/ui";
|
||||
|
||||
type Props<
|
||||
T extends typeof Field | typeof Select,
|
||||
|
||||
@@ -3,7 +3,7 @@ import { useEffect, useState } from "react";
|
||||
import { Badge, Input, IconCrossLargeX } from "@probo/ui";
|
||||
import { type Control, Controller, type FieldPath, type FieldValues } from "react-hook-form";
|
||||
import { getCountryName, getCountryOptions, countries, type CountryCode } from "@probo/helpers";
|
||||
import clsx from "clsx";
|
||||
import { clsx } from "clsx";
|
||||
|
||||
type Props<T extends FieldValues = FieldValues> = {
|
||||
control: Control<T>;
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
import { Button, IconPlusLarge, IconTrashCan, Input, Label } from "@probo/ui";
|
||||
import { useTranslate } from "@probo/i18n";
|
||||
import { useFieldArray } from "react-hook-form";
|
||||
import type { ArrayPath, Control, FieldValue, FieldValues, Path } from "react-hook-form";
|
||||
import type { UseFormRegister } from "react-hook-form";
|
||||
import type { ArrayPath, Control, FieldValue, FieldValues, Path, UseFormRegister } from "react-hook-form";
|
||||
|
||||
type Props<TFieldValues extends FieldValues = FieldValues> = {
|
||||
control: Control<TFieldValues>;
|
||||
|
||||
@@ -2,6 +2,7 @@ import { Field, Combobox, ComboboxItem } from "@probo/ui";
|
||||
import { Suspense, useMemo, useState, type ComponentProps } from "react";
|
||||
import { useTranslate } from "@probo/i18n";
|
||||
import { type Control, Controller, type FieldPath, type FieldValues } from "react-hook-form";
|
||||
|
||||
import { usePaginatedMeasures } from "/hooks/graph/usePaginatedMeasures";
|
||||
|
||||
type Props<
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { Avatar, Field, Option, Select, Badge, Button, IconCrossLargeX } from "@probo/ui";
|
||||
import { Suspense, useState, type ComponentProps } from "react";
|
||||
import { useTranslate } from "@probo/i18n";
|
||||
import { type Control, Controller, type FieldValues } from "react-hook-form";
|
||||
import { type Control, Controller, type FieldValues, Path } from "react-hook-form";
|
||||
|
||||
import { usePeople } from "/hooks/graph/PeopleGraph.ts";
|
||||
import type { Path } from "react-hook-form";
|
||||
|
||||
type Person = {
|
||||
id: string;
|
||||
|
||||
@@ -2,6 +2,7 @@ import { Avatar, Field, Option, Select } from "@probo/ui";
|
||||
import { Suspense, type ComponentProps } from "react";
|
||||
import { useTranslate } from "@probo/i18n";
|
||||
import { type Control, Controller, type FieldPath, type FieldValues } from "react-hook-form";
|
||||
|
||||
import { usePeople } from "/hooks/graph/PeopleGraph.ts";
|
||||
|
||||
type Props<
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { useTranslate } from "@probo/i18n";
|
||||
import { Option } from "@probo/ui";
|
||||
|
||||
import type {
|
||||
ProcessingActivitySpecialOrCriminalDatum,
|
||||
ProcessingActivityLawfulBasis,
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { Avatar, Field, Option, Select, Badge, Button, IconCrossLargeX } from "@probo/ui";
|
||||
import { Suspense, useState, type ComponentProps } from "react";
|
||||
import { useTranslate } from "@probo/i18n";
|
||||
import { type Control, Controller, type FieldValues } from "react-hook-form";
|
||||
import { useVendors } from "/hooks/graph/VendorGraph.ts";
|
||||
import { type Control, Controller, type FieldValues, Path } from "react-hook-form";
|
||||
import { faviconUrl } from "@probo/helpers";
|
||||
import type { Path } from "react-hook-form";
|
||||
|
||||
import { useVendors } from "/hooks/graph/VendorGraph.ts";
|
||||
|
||||
type Vendor = {
|
||||
id: string;
|
||||
|
||||
Reference in New Issue
Block a user