analytica-frontend-lib 1.2.15 → 1.2.17
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/dist/AlertManager/index.css +16 -0
- package/dist/AlertManager/index.css.map +1 -1
- package/dist/AlertManager/index.js +108 -108
- package/dist/AlertManager/index.js.map +1 -1
- package/dist/AlertManager/index.mjs +101 -101
- package/dist/AlertManager/index.mjs.map +1 -1
- package/dist/AlertManagerView/index.js +13 -3
- package/dist/AlertManagerView/index.js.map +1 -1
- package/dist/AlertManagerView/index.mjs +13 -3
- package/dist/AlertManagerView/index.mjs.map +1 -1
- package/dist/Table/TablePagination/index.d.mts +64 -0
- package/dist/Table/TablePagination/index.d.ts +64 -0
- package/dist/Table/TablePagination/index.js +153 -0
- package/dist/Table/TablePagination/index.js.map +1 -0
- package/dist/Table/TablePagination/index.mjs +132 -0
- package/dist/Table/TablePagination/index.mjs.map +1 -0
- package/dist/Table/index.d.mts +3 -1
- package/dist/Table/index.d.ts +3 -1
- package/dist/Table/index.js +159 -27
- package/dist/Table/index.js.map +1 -1
- package/dist/Table/index.mjs +158 -27
- package/dist/Table/index.mjs.map +1 -1
- package/dist/index.css +16 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +36 -1
- package/dist/index.d.ts +36 -1
- package/dist/index.js +1120 -984
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1115 -981
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +16 -0
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -68,6 +68,7 @@ export { UrlParamsConfig, useUrlParams } from './BreadcrumbMenu/useUrlParams/ind
|
|
|
68
68
|
export { BreadcrumbItem, useBreadcrumb } from './BreadcrumbMenu/breadcrumbStore/index.mjs';
|
|
69
69
|
import * as zustand_middleware from 'zustand/middleware';
|
|
70
70
|
export { cn, getSubjectColorWithOpacity, syncDropdownState } from './utils/index.mjs';
|
|
71
|
+
export { default as TablePagination, TablePaginationProps } from './Table/TablePagination/index.mjs';
|
|
71
72
|
import 'clsx';
|
|
72
73
|
|
|
73
74
|
interface ImageUploadProps {
|
|
@@ -194,6 +195,40 @@ interface RecipientItem {
|
|
|
194
195
|
name: string;
|
|
195
196
|
[key: string]: unknown;
|
|
196
197
|
}
|
|
198
|
+
interface RecipientCategory {
|
|
199
|
+
key: string;
|
|
200
|
+
label: string;
|
|
201
|
+
availableItems: RecipientItem[];
|
|
202
|
+
selectedIds: string[];
|
|
203
|
+
allSelected: boolean;
|
|
204
|
+
parentKey?: string;
|
|
205
|
+
dependsOn?: string[];
|
|
206
|
+
}
|
|
207
|
+
interface AlertFormData {
|
|
208
|
+
title: string;
|
|
209
|
+
message: string;
|
|
210
|
+
image: File | null;
|
|
211
|
+
date: string;
|
|
212
|
+
time: string;
|
|
213
|
+
sendToday: boolean;
|
|
214
|
+
sendCopyToEmail: boolean;
|
|
215
|
+
recipientCategories: Record<string, RecipientCategory>;
|
|
216
|
+
}
|
|
217
|
+
interface AlertFormStore extends AlertFormData {
|
|
218
|
+
setTitle: (title: string) => void;
|
|
219
|
+
setMessage: (message: string) => void;
|
|
220
|
+
setImage: (image: File | null) => void;
|
|
221
|
+
setDate: (date: string) => void;
|
|
222
|
+
setTime: (time: string) => void;
|
|
223
|
+
setSendToday: (sendToday: boolean) => void;
|
|
224
|
+
setSendCopyToEmail: (sendCopyToEmail: boolean) => void;
|
|
225
|
+
initializeCategory: (category: RecipientCategory) => void;
|
|
226
|
+
updateCategoryItems: (key: string, items: RecipientItem[]) => void;
|
|
227
|
+
updateCategorySelection: (key: string, selectedIds: string[], allSelected: boolean) => void;
|
|
228
|
+
clearCategorySelection: (key: string) => void;
|
|
229
|
+
resetForm: () => void;
|
|
230
|
+
}
|
|
231
|
+
declare const useAlertFormStore: zustand.UseBoundStore<zustand.StoreApi<AlertFormStore>>;
|
|
197
232
|
|
|
198
233
|
/**
|
|
199
234
|
* Notification store state interface
|
|
@@ -780,4 +815,4 @@ declare const useAppStore: zustand.UseBoundStore<Omit<zustand.StoreApi<AppState>
|
|
|
780
815
|
};
|
|
781
816
|
}>;
|
|
782
817
|
|
|
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 };
|
|
818
|
+
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, useAlertFormStore, useAppContent, useAppInitialization, useAppStore, useAuthStore, useInstitutionId, useTableFilter };
|
package/dist/index.d.ts
CHANGED
|
@@ -68,6 +68,7 @@ export { UrlParamsConfig, useUrlParams } from './BreadcrumbMenu/useUrlParams/ind
|
|
|
68
68
|
export { BreadcrumbItem, useBreadcrumb } from './BreadcrumbMenu/breadcrumbStore/index.js';
|
|
69
69
|
import * as zustand_middleware from 'zustand/middleware';
|
|
70
70
|
export { cn, getSubjectColorWithOpacity, syncDropdownState } from './utils/index.js';
|
|
71
|
+
export { default as TablePagination, TablePaginationProps } from './Table/TablePagination/index.js';
|
|
71
72
|
import 'clsx';
|
|
72
73
|
|
|
73
74
|
interface ImageUploadProps {
|
|
@@ -194,6 +195,40 @@ interface RecipientItem {
|
|
|
194
195
|
name: string;
|
|
195
196
|
[key: string]: unknown;
|
|
196
197
|
}
|
|
198
|
+
interface RecipientCategory {
|
|
199
|
+
key: string;
|
|
200
|
+
label: string;
|
|
201
|
+
availableItems: RecipientItem[];
|
|
202
|
+
selectedIds: string[];
|
|
203
|
+
allSelected: boolean;
|
|
204
|
+
parentKey?: string;
|
|
205
|
+
dependsOn?: string[];
|
|
206
|
+
}
|
|
207
|
+
interface AlertFormData {
|
|
208
|
+
title: string;
|
|
209
|
+
message: string;
|
|
210
|
+
image: File | null;
|
|
211
|
+
date: string;
|
|
212
|
+
time: string;
|
|
213
|
+
sendToday: boolean;
|
|
214
|
+
sendCopyToEmail: boolean;
|
|
215
|
+
recipientCategories: Record<string, RecipientCategory>;
|
|
216
|
+
}
|
|
217
|
+
interface AlertFormStore extends AlertFormData {
|
|
218
|
+
setTitle: (title: string) => void;
|
|
219
|
+
setMessage: (message: string) => void;
|
|
220
|
+
setImage: (image: File | null) => void;
|
|
221
|
+
setDate: (date: string) => void;
|
|
222
|
+
setTime: (time: string) => void;
|
|
223
|
+
setSendToday: (sendToday: boolean) => void;
|
|
224
|
+
setSendCopyToEmail: (sendCopyToEmail: boolean) => void;
|
|
225
|
+
initializeCategory: (category: RecipientCategory) => void;
|
|
226
|
+
updateCategoryItems: (key: string, items: RecipientItem[]) => void;
|
|
227
|
+
updateCategorySelection: (key: string, selectedIds: string[], allSelected: boolean) => void;
|
|
228
|
+
clearCategorySelection: (key: string) => void;
|
|
229
|
+
resetForm: () => void;
|
|
230
|
+
}
|
|
231
|
+
declare const useAlertFormStore: zustand.UseBoundStore<zustand.StoreApi<AlertFormStore>>;
|
|
197
232
|
|
|
198
233
|
/**
|
|
199
234
|
* Notification store state interface
|
|
@@ -780,4 +815,4 @@ declare const useAppStore: zustand.UseBoundStore<Omit<zustand.StoreApi<AppState>
|
|
|
780
815
|
};
|
|
781
816
|
}>;
|
|
782
817
|
|
|
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 };
|
|
818
|
+
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, useAlertFormStore, useAppContent, useAppInitialization, useAppStore, useAuthStore, useInstitutionId, useTableFilter };
|