react-luminus-components 2.0.29 → 2.0.31
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/.vite/manifest.json +34 -34
- package/dist/{FormDisabledProvider-DkShe5lG.cjs → FormDisabledProvider-DFCB4DVo.cjs} +1 -1
- package/dist/{FormDisabledProvider-v_f72bx-.js → FormDisabledProvider-DYgNxt_V.js} +5 -5
- package/dist/ShortcutLinksContext-BGLfiUxG.cjs +285 -0
- package/dist/{ShortcutLinksContext-Bzk6zb9Z.js → ShortcutLinksContext-Bu12oYeg.js} +13126 -12179
- package/dist/components/common/NotificationCenter/Actions/NotificationActions.d.ts +23 -0
- package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/ActionTemplates/ActionTemplates.d.ts +1 -1
- package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/ActionTemplates/comps/Recipients/NotificationRecipients.d.ts +1 -1
- package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/ActionTemplates/comps/modals/NotificationTargetModal.d.ts +1 -1
- package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/HistoryTable/NotificationHistoryTable.d.ts +3 -3
- package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/modals/NotificationActionAddModal.d.ts +1 -1
- package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/modals/NotificationTemplateAddModal.d.ts +2 -2
- package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/modals/NotificationTemplateEditModal.d.ts +2 -2
- package/dist/components/common/NotificationCenter/NotifStyles/NotifStyles.d.ts +8 -0
- package/dist/components/common/NotificationCenter/Users/NotificationUsers.d.ts +12 -0
- package/dist/components/{NotifCenter → common/NotificationCenter}/Users/components/EmployeeNotifTable/EmployeeNotifHistoryTable.d.ts +2 -2
- package/dist/components/{NotifCenter → common/NotificationCenter}/index.d.ts +1 -1
- package/dist/components/common/index.d.ts +3 -0
- package/dist/contexts/apiWebSocket/ApiWebSocketContext.d.ts +10 -0
- package/dist/contexts/apiWebSocket/ApiWebSocketProvider.d.ts +9 -0
- package/dist/contexts/apiWebSocket/useApiWebSocket.d.ts +2 -0
- package/dist/contexts/index.d.ts +3 -0
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +1419 -518
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useIsBrowserOnline/useIsBrowserOnline.d.ts +2 -0
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +159 -150
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +2 -2
- package/dist/main.cjs.js +8 -8
- package/dist/main.d.ts +1 -3
- package/dist/main.es.js +8678 -8645
- package/dist/{useIsFormDirty-Cp4xs1BK.js → useIsFormDirty-D61PZNiu.js} +1 -1
- package/dist/{useIsFormDirty-DjNkWEmd.cjs → useIsFormDirty-DQrsSiIC.cjs} +1 -1
- package/dist/{useLocalStorageState-DgJ_e5P1.js → useLocalStorageState-C9vgpAvX.js} +1 -1
- package/dist/{useLocalStorageState-BOKWHt5u.cjs → useLocalStorageState-DnWPyDKJ.cjs} +1 -1
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +26 -26
- package/package.json +2 -1
- package/dist/ShortcutLinksContext-D4CGbP2q.cjs +0 -285
- package/dist/components/NotifCenter/Actions/NotificationActions.d.ts +0 -22
- package/dist/components/NotifCenter/NotifStyles/NotifStyles.d.ts +0 -10
- package/dist/components/NotifCenter/NotifStyles/hooks/useNotifStyleFormSchema.d.ts +0 -20
- package/dist/components/NotifCenter/NotifStyles/hooks/useNotifStyleTableColumns.d.ts +0 -7
- package/dist/components/NotifCenter/Users/NotificationUsers.d.ts +0 -10
- /package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/ActionTemplates/comps/index.d.ts +0 -0
- /package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/index.d.ts +0 -0
- /package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/hooks/useNotifTemplateUtils.d.ts +0 -0
- /package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/types/NotificationKindFullModel.d.ts +0 -0
- /package/dist/components/{NotifCenter → common/NotificationCenter}/Users/components/index.d.ts +0 -0
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { EmailViewModel, NameIdIntModel, NameIdStringModel, NotificationHistoryModel, NotificationModel, NotificationPreviewModel, NotificationTarget, NotifTargetModel, NotifTemplateCreateModel, NotifTemplateEditModel } from '../../../models/index';
|
|
2
|
-
import { default as NotificationKindFullModel } from './types/NotificationKindFullModel';
|
|
3
|
-
|
|
4
|
-
export type Props = {
|
|
5
|
-
kinds: NotificationKindFullModel[];
|
|
6
|
-
styles: NameIdIntModel[];
|
|
7
|
-
entities: NameIdStringModel[];
|
|
8
|
-
targetSystem: 1 | 2 | 4;
|
|
9
|
-
reloadActions: (kindId: number) => Promise<Array<NotificationModel>>;
|
|
10
|
-
reloadHistory: (actionId: number, templateId: number) => Promise<Array<NotificationHistoryModel>>;
|
|
11
|
-
reloadRoles: (actionId: number) => Promise<Array<string>>;
|
|
12
|
-
onRemoveTarget: (id: number) => Promise<void>;
|
|
13
|
-
onPostTarget: (m: NotifTargetModel, employeeName: string | null) => Promise<NotificationTarget>;
|
|
14
|
-
onTemplateEdit: (i: NotifTemplateEditModel) => Promise<void>;
|
|
15
|
-
onTemplateDelete: (id: number) => Promise<void>;
|
|
16
|
-
onNotifActionAdd: (id: number, name: string, kind: number) => Promise<boolean>;
|
|
17
|
-
onNotifTemplateAdd: (tpl: NotifTemplateCreateModel) => Promise<boolean>;
|
|
18
|
-
onPreview: (p: NotificationPreviewModel) => Promise<EmailViewModel | null>;
|
|
19
|
-
EmployeePicker: React.ElementType;
|
|
20
|
-
};
|
|
21
|
-
declare const NotificationActions: ({ kinds, styles, entities, targetSystem, reloadActions, reloadHistory, reloadRoles, onRemoveTarget, onPostTarget, onTemplateEdit, onTemplateDelete, onNotifActionAdd, onNotifTemplateAdd, onPreview, EmployeePicker, }: Props) => import("react").JSX.Element;
|
|
22
|
-
export default NotificationActions;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { NotifStyleModel } from '../../../models/index';
|
|
2
|
-
|
|
3
|
-
type Props = {
|
|
4
|
-
reloadStyles: () => Promise<Array<NotifStyleModel>>;
|
|
5
|
-
BnfTableComponent: React.ElementType;
|
|
6
|
-
tableIdentifier: number;
|
|
7
|
-
postStyle: (i: NotifStyleModel) => Promise<void>;
|
|
8
|
-
};
|
|
9
|
-
declare const NotifStyles: ({ reloadStyles, BnfTableComponent, tableIdentifier, postStyle }: Props) => import("react").JSX.Element;
|
|
10
|
-
export default NotifStyles;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { NotifStyleModel } from '../../../../models/index';
|
|
2
|
-
import { SubmitHandler } from '../../../../../node_modules/react-hook-form';
|
|
3
|
-
|
|
4
|
-
declare const useNotifStyleFormSchema: (onEdit: (n: NotifStyleModel) => Promise<void>) => {
|
|
5
|
-
formMethods: import('../../../../../node_modules/react-hook-form').UseFormReturn<{
|
|
6
|
-
name: string;
|
|
7
|
-
id: number | null;
|
|
8
|
-
css: string;
|
|
9
|
-
}, any, {
|
|
10
|
-
name: string;
|
|
11
|
-
id: number | null;
|
|
12
|
-
css: string;
|
|
13
|
-
}>;
|
|
14
|
-
onSubmit: SubmitHandler<{
|
|
15
|
-
name: string;
|
|
16
|
-
id: number | null;
|
|
17
|
-
css: string;
|
|
18
|
-
}>;
|
|
19
|
-
};
|
|
20
|
-
export default useNotifStyleFormSchema;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { NotifStyleModel } from '../../../../models/index';
|
|
2
|
-
import { BnfTableColumnDef } from 'tanstack-bnf-table';
|
|
3
|
-
|
|
4
|
-
declare const useNotifStyleTableColumns: () => {
|
|
5
|
-
columnsDef: BnfTableColumnDef<NotifStyleModel>[];
|
|
6
|
-
};
|
|
7
|
-
export default useNotifStyleTableColumns;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { NotificationHistoryUserDto } from '../../../models/index';
|
|
2
|
-
import { default as BnfTableWrappedProps } from '../../../models/bnfTable/BnfTableWrappedProps';
|
|
3
|
-
|
|
4
|
-
type Props<T> = {
|
|
5
|
-
reloadUserHistory: (employeeId: number) => Promise<Array<NotificationHistoryUserDto>>;
|
|
6
|
-
EmployeePicker: React.ElementType;
|
|
7
|
-
BnfTableComponent: React.ComponentType<BnfTableWrappedProps<T>>;
|
|
8
|
-
};
|
|
9
|
-
declare const NotificationUsers: ({ reloadUserHistory, EmployeePicker, BnfTableComponent, }: Props<NotificationHistoryUserDto>) => import("react").JSX.Element;
|
|
10
|
-
export default NotificationUsers;
|
|
File without changes
|
/package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/index.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/components/{NotifCenter → common/NotificationCenter}/Users/components/index.d.ts
RENAMED
|
File without changes
|