@codezee/sixtify-brahma 0.2.263 → 0.2.265

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codezee/sixtify-brahma",
3
- "version": "0.2.263",
3
+ "version": "0.2.265",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/hardikranpariya/sixtify-brahma.git"
@@ -67,6 +67,7 @@
67
67
  "react-hook-form": "^7.51.5"
68
68
  },
69
69
  "dependencies": {
70
+ "@codezee-org/sixtify-smartgrid": "^0.1.1",
70
71
  "@dnd-kit/core": "^6.3.1",
71
72
  "@dnd-kit/sortable": "^10.0.0",
72
73
  "@dnd-kit/utilities": "^3.2.2",
@@ -0,0 +1,27 @@
1
+ import { type AppColumnDef } from "@codezee-org/sixtify-smartgrid";
2
+ import { type Control, type FieldValues, type Path } from "react-hook-form";
3
+ import type { OptionsType } from "../../CellSelectionTable";
4
+ import type { SizeType } from "../../utils/types";
5
+ type BaseOption = OptionsType & {
6
+ value: string | number;
7
+ label: string;
8
+ };
9
+ type BaseDataItem = {
10
+ id: string | number;
11
+ };
12
+ type DialogSelectProps<TFormValues extends FieldValues, TData extends BaseDataItem> = {
13
+ columns: AppColumnDef<TData>[];
14
+ control: Control<TFormValues>;
15
+ name: Path<TFormValues>;
16
+ searchedByColumn: string;
17
+ optionsData: TData[];
18
+ label?: string;
19
+ placeholder?: string;
20
+ loading?: boolean;
21
+ height?: string;
22
+ size?: SizeType;
23
+ options: BaseOption[];
24
+ };
25
+ export declare function DialogSelect<TFormValues extends FieldValues, TData extends BaseDataItem>({ columns, control, name, optionsData, height, label, size, placeholder, options, loading, searchedByColumn, }: Readonly<DialogSelectProps<TFormValues, TData>>): import("react/jsx-runtime").JSX.Element;
26
+ export {};
27
+ //# sourceMappingURL=DialogSelect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DialogSelect.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,OAAO,EACP,OAAe,EACf,gBAAgB,GACjB,EAAE,QAAQ,CAAC,iBAAiB,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC,2CAwFjD"}
@@ -1,2 +1,3 @@
1
1
  export * from "./Autocomplete";
2
+ export * from "./DialogSelect";
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/FormFields/Autocomplete/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/FormFields/Autocomplete/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC"}