analytica-frontend-lib 1.2.19 → 1.2.21

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.
@@ -1,6 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { A as AlertsConfig } from '../types-BXzeefgf.mjs';
2
+ import { A as AlertsConfig } from '../types-pd3QVhSu.mjs';
3
3
  import 'react';
4
+ import '../CheckBoxGroup-9n5C0OH4.mjs';
4
5
 
5
6
  interface AlertsManagerProps {
6
7
  config: AlertsConfig;
@@ -1,6 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { A as AlertsConfig } from '../types-BXzeefgf.js';
2
+ import { A as AlertsConfig } from '../types-DqZRjqxh.js';
3
3
  import 'react';
4
+ import '../CheckBoxGroup-9n5C0OH4.js';
4
5
 
5
6
  interface AlertsManagerProps {
6
7
  config: AlertsConfig;
@@ -1,6 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { a as AlertData } from '../types-BXzeefgf.mjs';
2
+ import { a as AlertData } from '../types-pd3QVhSu.mjs';
3
3
  import 'react';
4
+ import '../CheckBoxGroup-9n5C0OH4.mjs';
4
5
 
5
6
  interface AlertViewData extends Omit<AlertData, 'image'> {
6
7
  image?: string;
@@ -1,6 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { a as AlertData } from '../types-BXzeefgf.js';
2
+ import { a as AlertData } from '../types-DqZRjqxh.js';
3
3
  import 'react';
4
+ import '../CheckBoxGroup-9n5C0OH4.js';
4
5
 
5
6
  interface AlertViewData extends Omit<AlertData, 'image'> {
6
7
  image?: string;
@@ -0,0 +1,24 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+
3
+ type Item = {
4
+ id: string;
5
+ name: string;
6
+ [key: string]: unknown;
7
+ };
8
+ type CategoryConfig = {
9
+ key: string;
10
+ label: string;
11
+ selectedIds?: string[];
12
+ dependsOn?: string[];
13
+ itens?: Item[];
14
+ filteredBy?: {
15
+ key: string;
16
+ internalField: string;
17
+ }[];
18
+ };
19
+ declare const CheckboxGroup: ({ categories, onCategoriesChange, }: {
20
+ categories: CategoryConfig[];
21
+ onCategoriesChange: (categories: CategoryConfig[]) => void;
22
+ }) => react_jsx_runtime.JSX.Element;
23
+
24
+ export { type CategoryConfig as C, type Item as I, CheckboxGroup as a };
@@ -0,0 +1,24 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+
3
+ type Item = {
4
+ id: string;
5
+ name: string;
6
+ [key: string]: unknown;
7
+ };
8
+ type CategoryConfig = {
9
+ key: string;
10
+ label: string;
11
+ selectedIds?: string[];
12
+ dependsOn?: string[];
13
+ itens?: Item[];
14
+ filteredBy?: {
15
+ key: string;
16
+ internalField: string;
17
+ }[];
18
+ };
19
+ declare const CheckboxGroup: ({ categories, onCategoriesChange, }: {
20
+ categories: CategoryConfig[];
21
+ onCategoriesChange: (categories: CategoryConfig[]) => void;
22
+ }) => react_jsx_runtime.JSX.Element;
23
+
24
+ export { type CategoryConfig as C, type Item as I, CheckboxGroup as a };
@@ -198,6 +198,6 @@ declare const RadioGroupItem: react.ForwardRefExoticComponent<{
198
198
  state?: RadioState;
199
199
  /** Additional CSS classes */
200
200
  className?: string;
201
- } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "checked" | "type" | "name" | "onChange"> & react.RefAttributes<HTMLInputElement>>;
201
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "name" | "type" | "value" | "checked"> & react.RefAttributes<HTMLInputElement>>;
202
202
 
203
203
  export { RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, type RadioProps, Radio as default, useRadioGroupStore };
@@ -198,6 +198,6 @@ declare const RadioGroupItem: react.ForwardRefExoticComponent<{
198
198
  state?: RadioState;
199
199
  /** Additional CSS classes */
200
200
  className?: string;
201
- } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "checked" | "type" | "name" | "onChange"> & react.RefAttributes<HTMLInputElement>>;
201
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "name" | "type" | "value" | "checked"> & react.RefAttributes<HTMLInputElement>>;
202
202
 
203
203
  export { RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, type RadioProps, Radio as default, useRadioGroupStore };