analytica-frontend-lib 1.2.12 → 1.2.13

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.
Files changed (60) hide show
  1. package/dist/AlertManager/index.css +19114 -0
  2. package/dist/AlertManager/index.css.map +1 -0
  3. package/dist/AlertManager/index.d.mts +12 -0
  4. package/dist/AlertManager/index.d.ts +12 -0
  5. package/dist/AlertManager/index.js +6018 -0
  6. package/dist/AlertManager/index.js.map +1 -0
  7. package/dist/AlertManager/index.mjs +6045 -0
  8. package/dist/AlertManager/index.mjs.map +1 -0
  9. package/dist/AlertManagerView/index.d.mts +25 -0
  10. package/dist/AlertManagerView/index.d.ts +25 -0
  11. package/dist/AlertManagerView/index.js +835 -0
  12. package/dist/AlertManagerView/index.js.map +1 -0
  13. package/dist/AlertManagerView/index.mjs +815 -0
  14. package/dist/AlertManagerView/index.mjs.map +1 -0
  15. package/dist/CheckBox/index.d.mts +1 -1
  16. package/dist/CheckBox/index.d.ts +1 -1
  17. package/dist/DropdownMenu/index.js +3 -2
  18. package/dist/DropdownMenu/index.js.map +1 -1
  19. package/dist/DropdownMenu/index.mjs +3 -2
  20. package/dist/DropdownMenu/index.mjs.map +1 -1
  21. package/dist/Modal/index.d.mts +2 -1
  22. package/dist/Modal/index.d.ts +2 -1
  23. package/dist/Modal/index.js +3 -2
  24. package/dist/Modal/index.js.map +1 -1
  25. package/dist/Modal/index.mjs +3 -2
  26. package/dist/Modal/index.mjs.map +1 -1
  27. package/dist/NotificationCard/index.js +3 -2
  28. package/dist/NotificationCard/index.js.map +1 -1
  29. package/dist/NotificationCard/index.mjs +3 -2
  30. package/dist/NotificationCard/index.mjs.map +1 -1
  31. package/dist/Quiz/index.js +3 -2
  32. package/dist/Quiz/index.js.map +1 -1
  33. package/dist/Quiz/index.mjs +3 -2
  34. package/dist/Quiz/index.mjs.map +1 -1
  35. package/dist/Radio/index.d.mts +2 -2
  36. package/dist/Radio/index.d.ts +2 -2
  37. package/dist/Search/index.d.mts +1 -1
  38. package/dist/Search/index.d.ts +1 -1
  39. package/dist/Search/index.js +3 -2
  40. package/dist/Search/index.js.map +1 -1
  41. package/dist/Search/index.mjs +3 -2
  42. package/dist/Search/index.mjs.map +1 -1
  43. package/dist/Stepper/index.js +1 -1
  44. package/dist/Stepper/index.js.map +1 -1
  45. package/dist/Stepper/index.mjs +1 -1
  46. package/dist/Stepper/index.mjs.map +1 -1
  47. package/dist/index.css +29 -0
  48. package/dist/index.css.map +1 -1
  49. package/dist/index.d.mts +8 -19
  50. package/dist/index.d.ts +8 -19
  51. package/dist/index.js +3141 -2269
  52. package/dist/index.js.map +1 -1
  53. package/dist/index.mjs +3175 -2299
  54. package/dist/index.mjs.map +1 -1
  55. package/dist/notification-TD7ZFRLL.png +0 -0
  56. package/dist/styles.css +29 -0
  57. package/dist/styles.css.map +1 -1
  58. package/dist/types-DMycdI4U.d.mts +88 -0
  59. package/dist/types-DMycdI4U.d.ts +88 -0
  60. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -12,6 +12,10 @@ import * as react from 'react';
12
12
  import react__default, { ReactNode, HTMLAttributes, InputHTMLAttributes } from 'react';
13
13
  import * as zustand from 'zustand';
14
14
  import { StoreApi } from 'zustand';
15
+ import { C as CategoryConfig } from './types-DMycdI4U.mjs';
16
+ export { a as AlertData, A as AlertsConfig, b as CheckboxGroup, I as Item } from './types-DMycdI4U.mjs';
17
+ export { AlertsManager } from './AlertManager/index.mjs';
18
+ export { AlertViewData, AlertsManagerView, RecipientStatus } from './AlertManagerView/index.mjs';
15
19
  export { default as Radio, RadioGroup, RadioGroupItem } from './Radio/index.mjs';
16
20
  export { default as TextArea } from './TextArea/index.mjs';
17
21
  export { default as Toast } from './Toast/index.mjs';
@@ -183,28 +187,13 @@ declare const CheckboxListItem: react.ForwardRefExoticComponent<{
183
187
  state?: CheckboxListState;
184
188
  /** Additional CSS classes */
185
189
  className?: string;
186
- } & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "name" | "type" | "size" | "value" | "checked"> & react.RefAttributes<HTMLInputElement>>;
190
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "checked" | "type" | "name" | "onChange"> & react.RefAttributes<HTMLInputElement>>;
187
191
 
188
- type Item = {
192
+ interface RecipientItem {
189
193
  id: string;
190
194
  name: string;
191
195
  [key: string]: unknown;
192
- };
193
- type CategoryConfig = {
194
- key: string;
195
- label: string;
196
- selectedIds?: string[];
197
- dependsOn?: string[];
198
- itens?: Item[];
199
- filteredBy?: {
200
- key: string;
201
- internalField: string;
202
- }[];
203
- };
204
- declare const CheckboxGroup: ({ categories, onCategoriesChange, }: {
205
- categories: CategoryConfig[];
206
- onCategoriesChange: (categories: CategoryConfig[]) => void;
207
- }) => react_jsx_runtime.JSX.Element;
196
+ }
208
197
 
209
198
  /**
210
199
  * Notification store state interface
@@ -791,4 +780,4 @@ declare const useAppStore: zustand.UseBoundStore<Omit<zustand.StoreApi<AppState>
791
780
  };
792
781
  }>;
793
782
 
794
- export { AccordionGroup, type AuthState, type CategoryConfig, CheckboxGroup, CheckboxList, CheckboxListItem, FetchNotificationsParams, type FilterConfig, FilterModal, type FilterModalProps, ImageUpload, type ImageUploadProps, type Item, Notification, type NotificationActions, NotificationApiClient, NotificationEntityType, NotificationGroup, type NotificationState, type NotificationStore, NotificationType, Question, QuizAlternative, QuizConnectDots, QuizDissertative, QuizHeaderResult, QuizImageQuestion, QuizListResult, QuizListResultByMateria, QuizMultipleChoice, QuizResultHeaderTitle, QuizResultPerformance, QuizResultTitle, QuizTrueOrFalse, type UseTableFilterOptions, type UseTableFilterReturn, createNotificationStore, createNotificationsHook, createUseNotificationStore, createUseNotifications, formatTimeAgo, getStatusBadge, useAppContent, useAppInitialization, useAppStore, useAuthStore, useInstitutionId, useTableFilter };
783
+ export { AccordionGroup, type AuthState, CategoryConfig, CheckboxList, CheckboxListItem, FetchNotificationsParams, type FilterConfig, FilterModal, type FilterModalProps, ImageUpload, type ImageUploadProps, Notification, type NotificationActions, NotificationApiClient, NotificationEntityType, NotificationGroup, type NotificationState, type NotificationStore, NotificationType, Question, QuizAlternative, QuizConnectDots, QuizDissertative, QuizHeaderResult, QuizImageQuestion, QuizListResult, QuizListResultByMateria, QuizMultipleChoice, QuizResultHeaderTitle, QuizResultPerformance, QuizResultTitle, QuizTrueOrFalse, type RecipientItem, type UseTableFilterOptions, type UseTableFilterReturn, createNotificationStore, createNotificationsHook, createUseNotificationStore, createUseNotifications, formatTimeAgo, getStatusBadge, useAppContent, useAppInitialization, useAppStore, useAuthStore, useInstitutionId, useTableFilter };
package/dist/index.d.ts CHANGED
@@ -12,6 +12,10 @@ import * as react from 'react';
12
12
  import react__default, { ReactNode, HTMLAttributes, InputHTMLAttributes } from 'react';
13
13
  import * as zustand from 'zustand';
14
14
  import { StoreApi } from 'zustand';
15
+ import { C as CategoryConfig } from './types-DMycdI4U.js';
16
+ export { a as AlertData, A as AlertsConfig, b as CheckboxGroup, I as Item } from './types-DMycdI4U.js';
17
+ export { AlertsManager } from './AlertManager/index.js';
18
+ export { AlertViewData, AlertsManagerView, RecipientStatus } from './AlertManagerView/index.js';
15
19
  export { default as Radio, RadioGroup, RadioGroupItem } from './Radio/index.js';
16
20
  export { default as TextArea } from './TextArea/index.js';
17
21
  export { default as Toast } from './Toast/index.js';
@@ -183,28 +187,13 @@ declare const CheckboxListItem: react.ForwardRefExoticComponent<{
183
187
  state?: CheckboxListState;
184
188
  /** Additional CSS classes */
185
189
  className?: string;
186
- } & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "name" | "type" | "size" | "value" | "checked"> & react.RefAttributes<HTMLInputElement>>;
190
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "checked" | "type" | "name" | "onChange"> & react.RefAttributes<HTMLInputElement>>;
187
191
 
188
- type Item = {
192
+ interface RecipientItem {
189
193
  id: string;
190
194
  name: string;
191
195
  [key: string]: unknown;
192
- };
193
- type CategoryConfig = {
194
- key: string;
195
- label: string;
196
- selectedIds?: string[];
197
- dependsOn?: string[];
198
- itens?: Item[];
199
- filteredBy?: {
200
- key: string;
201
- internalField: string;
202
- }[];
203
- };
204
- declare const CheckboxGroup: ({ categories, onCategoriesChange, }: {
205
- categories: CategoryConfig[];
206
- onCategoriesChange: (categories: CategoryConfig[]) => void;
207
- }) => react_jsx_runtime.JSX.Element;
196
+ }
208
197
 
209
198
  /**
210
199
  * Notification store state interface
@@ -791,4 +780,4 @@ declare const useAppStore: zustand.UseBoundStore<Omit<zustand.StoreApi<AppState>
791
780
  };
792
781
  }>;
793
782
 
794
- export { AccordionGroup, type AuthState, type CategoryConfig, CheckboxGroup, CheckboxList, CheckboxListItem, FetchNotificationsParams, type FilterConfig, FilterModal, type FilterModalProps, ImageUpload, type ImageUploadProps, type Item, Notification, type NotificationActions, NotificationApiClient, NotificationEntityType, NotificationGroup, type NotificationState, type NotificationStore, NotificationType, Question, QuizAlternative, QuizConnectDots, QuizDissertative, QuizHeaderResult, QuizImageQuestion, QuizListResult, QuizListResultByMateria, QuizMultipleChoice, QuizResultHeaderTitle, QuizResultPerformance, QuizResultTitle, QuizTrueOrFalse, type UseTableFilterOptions, type UseTableFilterReturn, createNotificationStore, createNotificationsHook, createUseNotificationStore, createUseNotifications, formatTimeAgo, getStatusBadge, useAppContent, useAppInitialization, useAppStore, useAuthStore, useInstitutionId, useTableFilter };
783
+ export { AccordionGroup, type AuthState, CategoryConfig, CheckboxList, CheckboxListItem, FetchNotificationsParams, type FilterConfig, FilterModal, type FilterModalProps, ImageUpload, type ImageUploadProps, Notification, type NotificationActions, NotificationApiClient, NotificationEntityType, NotificationGroup, type NotificationState, type NotificationStore, NotificationType, Question, QuizAlternative, QuizConnectDots, QuizDissertative, QuizHeaderResult, QuizImageQuestion, QuizListResult, QuizListResultByMateria, QuizMultipleChoice, QuizResultHeaderTitle, QuizResultPerformance, QuizResultTitle, QuizTrueOrFalse, type RecipientItem, type UseTableFilterOptions, type UseTableFilterReturn, createNotificationStore, createNotificationsHook, createUseNotificationStore, createUseNotifications, formatTimeAgo, getStatusBadge, useAppContent, useAppInitialization, useAppStore, useAuthStore, useInstitutionId, useTableFilter };