@integrativedesigndevelopment/dashboard-core 0.0.2
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/README.md +775 -0
- package/dist/actions/pluginActions.d.ts +48 -0
- package/dist/actions/pluginActions.d.ts.map +1 -0
- package/dist/actions/types.d.ts +17 -0
- package/dist/actions/types.d.ts.map +1 -0
- package/dist/components/ActivityProvider/index.d.ts +10 -0
- package/dist/components/ActivityProvider/index.d.ts.map +1 -0
- package/dist/components/CancelActionButton/index.d.ts +11 -0
- package/dist/components/CancelActionButton/index.d.ts.map +1 -0
- package/dist/components/ConfirmActionButton/index.d.ts +12 -0
- package/dist/components/ConfirmActionButton/index.d.ts.map +1 -0
- package/dist/components/ErrorBoundary/index.d.ts +18 -0
- package/dist/components/ErrorBoundary/index.d.ts.map +1 -0
- package/dist/components/IDDLink/index.d.ts +10 -0
- package/dist/components/IDDLink/index.d.ts.map +1 -0
- package/dist/components/IDDLinkInputItem/index.d.ts +18 -0
- package/dist/components/IDDLinkInputItem/index.d.ts.map +1 -0
- package/dist/components/Layout/SimpleLayout.d.ts +8 -0
- package/dist/components/Layout/SimpleLayout.d.ts.map +1 -0
- package/dist/components/Layout/index.d.ts +8 -0
- package/dist/components/Layout/index.d.ts.map +1 -0
- package/dist/components/Password/index.d.ts +15 -0
- package/dist/components/Password/index.d.ts.map +1 -0
- package/dist/components/SimpleButton/index.d.ts +10 -0
- package/dist/components/SimpleButton/index.d.ts.map +1 -0
- package/dist/components/TextInput/index.d.ts +16 -0
- package/dist/components/TextInput/index.d.ts.map +1 -0
- package/dist/components/helpers.d.ts +5 -0
- package/dist/components/helpers.d.ts.map +1 -0
- package/dist/components/index.d.ts +16 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/config/index.d.ts +23 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +3 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/useAsyncOperation.d.ts +12 -0
- package/dist/hooks/useAsyncOperation.d.ts.map +1 -0
- package/dist/hooks/useUpdateUser.d.ts +32 -0
- package/dist/hooks/useUpdateUser.d.ts.map +1 -0
- package/dist/hooks/useUserManagement.d.ts +51 -0
- package/dist/hooks/useUserManagement.d.ts.map +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.esm.js +14 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -0
- package/dist/metrics/clsMetrics.d.ts +3 -0
- package/dist/metrics/clsMetrics.d.ts.map +1 -0
- package/dist/metrics/fcpMetrics.d.ts +3 -0
- package/dist/metrics/fcpMetrics.d.ts.map +1 -0
- package/dist/metrics/fidMetrics.d.ts +3 -0
- package/dist/metrics/fidMetrics.d.ts.map +1 -0
- package/dist/metrics/index.d.ts +3 -0
- package/dist/metrics/index.d.ts.map +1 -0
- package/dist/metrics/lcpMetrics.d.ts +3 -0
- package/dist/metrics/lcpMetrics.d.ts.map +1 -0
- package/dist/metrics/ttfbMetrics.d.ts +3 -0
- package/dist/metrics/ttfbMetrics.d.ts.map +1 -0
- package/dist/plugin-system/DashboardProvider.d.ts +14 -0
- package/dist/plugin-system/DashboardProvider.d.ts.map +1 -0
- package/dist/plugin-system/PluginManager.d.ts +9 -0
- package/dist/plugin-system/PluginManager.d.ts.map +1 -0
- package/dist/plugin-system/core/Dashboard/Icon.d.ts +6 -0
- package/dist/plugin-system/core/Dashboard/Icon.d.ts.map +1 -0
- package/dist/plugin-system/core/Dashboard/index.d.ts +4 -0
- package/dist/plugin-system/core/Dashboard/index.d.ts.map +1 -0
- package/dist/plugin-system/core/Dashboard/tab0.d.ts +8 -0
- package/dist/plugin-system/core/Dashboard/tab0.d.ts.map +1 -0
- package/dist/plugin-system/core/Dashboard/views/DashboardView/index.d.ts +3 -0
- package/dist/plugin-system/core/Dashboard/views/DashboardView/index.d.ts.map +1 -0
- package/dist/plugin-system/index.d.ts +6 -0
- package/dist/plugin-system/index.d.ts.map +1 -0
- package/dist/plugin-system/plugin_manifest.d.ts +2 -0
- package/dist/plugin-system/plugin_manifest.d.ts.map +1 -0
- package/dist/plugin-system/types.d.ts +76 -0
- package/dist/plugin-system/types.d.ts.map +1 -0
- package/dist/services/errorServices.d.ts +37 -0
- package/dist/services/errorServices.d.ts.map +1 -0
- package/dist/types/index.d.ts +66 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/utils/array-safety.d.ts +32 -0
- package/dist/utils/array-safety.d.ts.map +1 -0
- package/dist/utils/fromReq.d.ts +3 -0
- package/dist/utils/fromReq.d.ts.map +1 -0
- package/dist/utils/helpers.d.ts +27 -0
- package/dist/utils/helpers.d.ts.map +1 -0
- package/package.json +59 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { IDDPlugin } from '../plugin-system/types';
|
|
2
|
+
export interface PluginState {
|
|
3
|
+
pluginID: string;
|
|
4
|
+
tabID: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const setPlugins: (plugins: IDDPlugin[]) => {
|
|
7
|
+
type: "set_plugins";
|
|
8
|
+
payload: IDDPlugin[];
|
|
9
|
+
};
|
|
10
|
+
export declare const setCurrentPlugin: (id: string) => {
|
|
11
|
+
type: "set_current_plugin";
|
|
12
|
+
payload: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const setCurrentTab: (tab: number) => {
|
|
15
|
+
type: "set_current_tab";
|
|
16
|
+
payload: number;
|
|
17
|
+
};
|
|
18
|
+
export declare const setCurrentState: (state: PluginState[]) => {
|
|
19
|
+
type: "set_current_state";
|
|
20
|
+
payload: PluginState[];
|
|
21
|
+
};
|
|
22
|
+
export declare const setCurrentView: (view: string) => {
|
|
23
|
+
type: "set_current_view";
|
|
24
|
+
payload: string;
|
|
25
|
+
};
|
|
26
|
+
export declare const setCurrentItem: (item: string) => {
|
|
27
|
+
type: "set_current_item";
|
|
28
|
+
payload: string;
|
|
29
|
+
};
|
|
30
|
+
export declare const resetReducer: () => {
|
|
31
|
+
type: "reset";
|
|
32
|
+
};
|
|
33
|
+
export declare const setCurrentPluginAndTab: (pluginID: string, tabID: string) => (dispatch: any, getState: any) => void;
|
|
34
|
+
export declare const setCurrentTabAndState: (tabIndex: number, tabID: string) => (dispatch: any, getState: any) => void;
|
|
35
|
+
export declare const setSetting: (key: string, value: any) => {
|
|
36
|
+
type: "set_setting";
|
|
37
|
+
payload: {
|
|
38
|
+
key: string;
|
|
39
|
+
value: any;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare const toggleCollapsed: () => {
|
|
43
|
+
type: "toggle_collapsed";
|
|
44
|
+
};
|
|
45
|
+
export declare const toggleNotifications: () => {
|
|
46
|
+
type: "toggle_notifications";
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=pluginActions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pluginActions.d.ts","sourceRoot":"","sources":["../../src/actions/pluginActions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGxD,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,UAAU,GAAI,SAAS,SAAS,EAAE;;;CAG7C,CAAC;AAEH,eAAO,MAAM,gBAAgB,GAAI,IAAI,MAAM;;;CAGzC,CAAC;AAEH,eAAO,MAAM,aAAa,GAAI,KAAK,MAAM;;;CAGvC,CAAC;AAEH,eAAO,MAAM,eAAe,GAAI,OAAO,WAAW,EAAE;;;CAGlD,CAAC;AAEH,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM;;;CAGzC,CAAC;AAEH,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM;;;CAGzC,CAAC;AAEH,eAAO,MAAM,YAAY;;CAEvB,CAAC;AAGH,eAAO,MAAM,sBAAsB,GAChC,UAAU,MAAM,EAAE,OAAO,MAAM,MAAM,UAAU,GAAG,EAAE,UAAU,GAAG,SAmBjE,CAAC;AAEJ,eAAO,MAAM,qBAAqB,GAC/B,UAAU,MAAM,EAAE,OAAO,MAAM,MAAM,UAAU,GAAG,EAAE,UAAU,GAAG,SAmBjE,CAAC;AAGJ,eAAO,MAAM,UAAU,GAAI,KAAK,MAAM,EAAE,OAAO,GAAG;;;;;;CAGhD,CAAC;AAGH,eAAO,MAAM,eAAe;;CAE1B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;CAE9B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const ActionTypes: {
|
|
2
|
+
readonly SET_PLUGINS: "set_plugins";
|
|
3
|
+
readonly SET_CURRENT_PLUGIN: "set_current_plugin";
|
|
4
|
+
readonly SET_CURRENT_TAB: "set_current_tab";
|
|
5
|
+
readonly SET_CURRENT_STATE: "set_current_state";
|
|
6
|
+
readonly SET_CURRENT_VIEW: "set_current_view";
|
|
7
|
+
readonly SET_CURRENT_ITEM: "set_current_item";
|
|
8
|
+
readonly COLLAPSED_TOGGLE: "toggle_collapsed";
|
|
9
|
+
readonly SET_COLOR_MODE: "set_color_mode";
|
|
10
|
+
readonly TOGGLE_NOTIFICATIONS: "toggle_notifications";
|
|
11
|
+
readonly SET_SETTING: "set_setting";
|
|
12
|
+
readonly SET_JWT: "SET_JWT";
|
|
13
|
+
readonly SET_USER: "SET_USER";
|
|
14
|
+
readonly RESET: "reset";
|
|
15
|
+
};
|
|
16
|
+
export type ActionType = (typeof ActionTypes)[keyof typeof ActionTypes];
|
|
17
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/actions/types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;CAyBd,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const pageViewEvent: (pageId: any, userId: any) => {
|
|
2
|
+
type: string;
|
|
3
|
+
data: {
|
|
4
|
+
pageId: any;
|
|
5
|
+
userId: any;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export declare function ActivityProvider({ children }: any): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const useTracker: () => any;
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ActivityProvider/index.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,aAAa,GAAI,QAAQ,GAAG,EAAE,QAAQ,GAAG;;;;;;CAMpD,CAAC;AAOH,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,EAAE,GAAG,2CA6CjD;AAED,eAAO,MAAM,UAAU,WAEtB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type IDDButtonProps } from '@integrativedesigndevelopment/idd-common';
|
|
2
|
+
import type { FC } from 'react';
|
|
3
|
+
export interface CancelActionButtonProps {
|
|
4
|
+
children: IDDButtonProps['children'];
|
|
5
|
+
onPress?: IDDButtonProps['onPress'];
|
|
6
|
+
disabled?: IDDButtonProps['disabled'];
|
|
7
|
+
className?: IDDButtonProps['buttonClass'];
|
|
8
|
+
}
|
|
9
|
+
declare const CancelActionButton: FC<CancelActionButtonProps>;
|
|
10
|
+
export default CancelActionButton;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CancelActionButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,cAAc,EACpB,MAAM,0CAA0C,CAAC;AAClD,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IACrC,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IACpC,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IACtC,SAAS,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;CAC3C;AAED,QAAA,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAgBnD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type IDDButtonProps } from '@integrativedesigndevelopment/idd-common';
|
|
2
|
+
import type { FC } from 'react';
|
|
3
|
+
export interface ConfirmActionButtonProps {
|
|
4
|
+
children: IDDButtonProps['children'];
|
|
5
|
+
onPress?: IDDButtonProps['onPress'];
|
|
6
|
+
disabled?: IDDButtonProps['disabled'];
|
|
7
|
+
type?: IDDButtonProps['type'];
|
|
8
|
+
className?: IDDButtonProps['buttonClass'];
|
|
9
|
+
}
|
|
10
|
+
declare const ConfirmActionButton: FC<ConfirmActionButtonProps>;
|
|
11
|
+
export default ConfirmActionButton;
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ConfirmActionButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,cAAc,EACpB,MAAM,0CAA0C,CAAC;AAClD,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IACrC,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IACpC,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IACtC,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;IAC9B,SAAS,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;CAC3C;AAED,QAAA,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CAiBrD,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { Component, type ErrorInfo, type ReactNode } from 'react';
|
|
2
|
+
interface Props {
|
|
3
|
+
children?: ReactNode;
|
|
4
|
+
fallback?: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
interface State {
|
|
7
|
+
hasError: boolean;
|
|
8
|
+
error?: Error;
|
|
9
|
+
}
|
|
10
|
+
declare class ErrorBoundary extends Component<Props, State> {
|
|
11
|
+
state: State;
|
|
12
|
+
static getDerivedStateFromError(error: Error): State;
|
|
13
|
+
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
|
14
|
+
render(): string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<React.AwaitedReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
15
|
+
}
|
|
16
|
+
export default ErrorBoundary;
|
|
17
|
+
export type { Props as ErrorBoundaryProps };
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorBoundary/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzE,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,UAAU,KAAK;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,cAAM,aAAc,SAAQ,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC;IAC1C,KAAK,EAAE,KAAK,CAEjB;WAEY,wBAAwB,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK;IAKpD,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS;IAIpD,MAAM;CA6Bd;AAED,eAAe,aAAa,CAAC;AAC7B,YAAY,EAAE,KAAK,IAAI,kBAAkB,EAAE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
export interface IDDLinkProps {
|
|
3
|
+
href: string;
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
id?: string;
|
|
7
|
+
target?: string;
|
|
8
|
+
}
|
|
9
|
+
export default function IDDLink({ children, href, className, id, target, }: IDDLinkProps): ReactElement;
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/IDDLink/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAC9B,QAAQ,EACR,IAAI,EACJ,SAAc,EACd,EAAE,EACF,MAAgB,GACjB,EAAE,YAAY,GAAG,YAAY,CAc7B"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
export interface LinkProps {
|
|
3
|
+
id: string;
|
|
4
|
+
text: string;
|
|
5
|
+
url?: string;
|
|
6
|
+
path?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IDDLinkInputItemProps {
|
|
9
|
+
id: string;
|
|
10
|
+
idsArray?: string[];
|
|
11
|
+
onDelete: (e: any) => void;
|
|
12
|
+
onBlur?: (e: any) => void;
|
|
13
|
+
link?: LinkProps;
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
declare const IDDLinkInputItem: FC<IDDLinkInputItemProps>;
|
|
17
|
+
export default IDDLinkInputItem;
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/IDDLinkInputItem/index.tsx"],"names":[],"mappings":"AAMA,OAAc,EACZ,KAAK,EAAE,EAKR,MAAM,OAAO,CAAC;AAGf,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,QAAQ,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IAC3B,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IAC1B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CA2G/C,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleLayout.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/SimpleLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAS7C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,EAAE,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAG1E,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CAa3B,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type IDDInputProps } from '@integrativedesigndevelopment/idd-common';
|
|
2
|
+
import { type FC } from 'react';
|
|
3
|
+
export interface PasswordProps {
|
|
4
|
+
onChange: IDDInputProps['onChange'];
|
|
5
|
+
label: IDDInputProps['label'];
|
|
6
|
+
value?: IDDInputProps['value'];
|
|
7
|
+
componentClass?: IDDInputProps['componentClass'];
|
|
8
|
+
appendToInputClass?: IDDInputProps['appendToInputClass'];
|
|
9
|
+
error?: IDDInputProps['errors'];
|
|
10
|
+
errorColor?: IDDInputProps['errorColor'];
|
|
11
|
+
isErrorOnlyColor?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare const Password: FC<PasswordProps>;
|
|
14
|
+
export default Password;
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Password/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,aAAa,EAEnB,MAAM,0CAA0C,CAAC;AAKlD,OAAO,EAEL,KAAK,EAAE,EAKR,MAAM,OAAO,CAAC;AAGf,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACpC,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC9B,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC/B,cAAc,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IACjD,kBAAkB,CAAC,EAAE,aAAa,CAAC,oBAAoB,CAAC,CAAC;IACzD,KAAK,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAChC,UAAU,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IACzC,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,QAAA,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CA+F/B,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
export interface SimpleButtonProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
onClick?: () => void;
|
|
5
|
+
className?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const SimpleButton: React.FC<SimpleButtonProps>;
|
|
9
|
+
export default SimpleButton;
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SimpleButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAe7C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type IDDInputProps } from '@integrativedesigndevelopment/idd-common';
|
|
2
|
+
import type { FC } from 'react';
|
|
3
|
+
export interface TextInputProps {
|
|
4
|
+
label: IDDInputProps['label'];
|
|
5
|
+
onChange?: IDDInputProps['onChange'];
|
|
6
|
+
value?: IDDInputProps['value'];
|
|
7
|
+
placeholder?: IDDInputProps['placeholder'];
|
|
8
|
+
type?: IDDInputProps['type'];
|
|
9
|
+
readOnly?: IDDInputProps['readOnly'];
|
|
10
|
+
error?: IDDInputProps['errors'];
|
|
11
|
+
errorColor?: IDDInputProps['errorColor'];
|
|
12
|
+
isErrorOnlyColor?: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare const TextInput: FC<TextInputProps>;
|
|
15
|
+
export default TextInput;
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TextInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,aAAa,EAEnB,MAAM,0CAA0C,CAAC;AAClD,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC9B,QAAQ,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACrC,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC/B,WAAW,CAAC,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;IAC3C,IAAI,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACrC,KAAK,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAChC,UAAU,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IACzC,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,QAAA,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAuEjC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare function isURL(stringToValidate: string): boolean;
|
|
2
|
+
declare function containsHTML(stringToValidate: string): boolean;
|
|
3
|
+
declare function extractHTML(arrayFrom: any, arrayTo: any): void;
|
|
4
|
+
export { isURL, containsHTML, extractHTML };
|
|
5
|
+
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../src/components/helpers.tsx"],"names":[],"mappings":"AAAA,iBAAS,KAAK,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAIhD;AAED,iBAAS,YAAY,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAEvD;AAED,iBAAS,WAAW,CAAC,SAAS,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,GAAG,IAAI,CAYvD;AAED,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type { CancelActionButtonProps } from './CancelActionButton';
|
|
2
|
+
export { default as CancelActionButton } from './CancelActionButton';
|
|
3
|
+
export type { ConfirmActionButtonProps } from './ConfirmActionButton';
|
|
4
|
+
export { default as ConfirmActionButton } from './ConfirmActionButton';
|
|
5
|
+
export type { ErrorBoundaryProps } from './ErrorBoundary';
|
|
6
|
+
export { default as ErrorBoundary } from './ErrorBoundary';
|
|
7
|
+
export { isURL } from './helpers';
|
|
8
|
+
export type { IDDLinkInputItemProps, LinkProps } from './IDDLinkInputItem';
|
|
9
|
+
export { default as IDDLinkInputItem } from './IDDLinkInputItem';
|
|
10
|
+
export type { LayoutProps } from './Layout';
|
|
11
|
+
export { default as Layout } from './Layout';
|
|
12
|
+
export type { PasswordProps } from './Password';
|
|
13
|
+
export { default as Password } from './Password';
|
|
14
|
+
export type { TextInputProps } from './TextInput';
|
|
15
|
+
export { default as TextInput } from './TextInput';
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.tsx"],"names":[],"mappings":"AAAA,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACrE,YAAY,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACvE,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAClC,YAAY,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACjE,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface IDDConfig {
|
|
2
|
+
title: string;
|
|
3
|
+
pages: any[];
|
|
4
|
+
plugins: string[];
|
|
5
|
+
categories: any[];
|
|
6
|
+
sub_categories: Record<string, any>;
|
|
7
|
+
style: {
|
|
8
|
+
colors: Record<string, string>;
|
|
9
|
+
fontFamily: Record<string, string>;
|
|
10
|
+
fontStyle: Record<string, string>;
|
|
11
|
+
fontWeight: Record<string, string>;
|
|
12
|
+
fontSize: Record<string, string>;
|
|
13
|
+
letterSpacing: Record<string, string>;
|
|
14
|
+
lineHeight: Record<string, string>;
|
|
15
|
+
backgroundImage: Record<string, string>;
|
|
16
|
+
borderRadius: Record<string, string>;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export declare const defaultConfig: IDDConfig;
|
|
20
|
+
export declare const setConfig: (config: Partial<IDDConfig>) => void;
|
|
21
|
+
export declare const getConfig: () => IDDConfig;
|
|
22
|
+
export declare const useConfig: () => IDDConfig;
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,EAAE,GAAG,EAAE,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACpC,KAAK,EAAE;QACL,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAC/B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACnC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAClC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACnC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACjC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACtC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACnC,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACxC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;KACtC,CAAC;CACH;AAED,eAAO,MAAM,aAAa,EAAE,SAwF3B,CAAC;AAKF,eAAO,MAAM,SAAS,GAAI,QAAQ,OAAO,CAAC,SAAS,CAAC,SAEnD,CAAC;AAEF,eAAO,MAAM,SAAS,QAAO,SAA0B,CAAC;AAExD,eAAO,MAAM,SAAS,iBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,eAAe,EACf,kBAAkB,EAClB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom hook to handle asynchronous operations with error and success handling.
|
|
3
|
+
* @param {number} minLoadingTime - Minimum loading time in milliseconds (default: 500ms)
|
|
4
|
+
* @returns {Object} An object containing the executeAsync function and loading state.
|
|
5
|
+
* @example
|
|
6
|
+
* const { executeAsync, loading } = useAsyncOperation(1000); // 1 second minimum loading
|
|
7
|
+
*/
|
|
8
|
+
export declare const useAsyncOperation: (minLoadingTime?: number) => {
|
|
9
|
+
executeAsync: <T>(operation: () => Promise<T>, successMessage?: string, errorMessage?: string) => Promise<T | null>;
|
|
10
|
+
loading: boolean;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=useAsyncOperation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAsyncOperation.d.ts","sourceRoot":"","sources":["../../src/hooks/useAsyncOperation.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,GAAI,iBAAgB,MAAY;mBAKnD,CAAC,aACK,MAAM,OAAO,CAAC,CAAC,CAAC,mBACV,MAAM,iBACR,MAAM,KACpB,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC;;CA0CvB,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export interface UpdateUserInput {
|
|
2
|
+
_id: string;
|
|
3
|
+
firstName?: string;
|
|
4
|
+
lastName?: string;
|
|
5
|
+
email?: string;
|
|
6
|
+
password?: string;
|
|
7
|
+
role?: string;
|
|
8
|
+
projects?: string[];
|
|
9
|
+
}
|
|
10
|
+
export interface UpdateUserResponse {
|
|
11
|
+
_id: string;
|
|
12
|
+
firstName: string;
|
|
13
|
+
lastName: string;
|
|
14
|
+
email: string;
|
|
15
|
+
role: string;
|
|
16
|
+
dateAdded: string;
|
|
17
|
+
projects: string[];
|
|
18
|
+
}
|
|
19
|
+
export interface UpdateUserResult {
|
|
20
|
+
update_auth: UpdateUserResponse;
|
|
21
|
+
}
|
|
22
|
+
export interface UseUpdateUserReturn {
|
|
23
|
+
updateUser: (input: UpdateUserInput) => Promise<UpdateUserResponse | null>;
|
|
24
|
+
loading: boolean;
|
|
25
|
+
error: any;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Custom hook to update user data
|
|
29
|
+
* @returns Object containing updateUser function, loading state, and error state
|
|
30
|
+
*/
|
|
31
|
+
export declare const useUpdateUser: () => UseUpdateUserReturn;
|
|
32
|
+
//# sourceMappingURL=useUpdateUser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useUpdateUser.d.ts","sourceRoot":"","sources":["../../src/hooks/useUpdateUser.ts"],"names":[],"mappings":"AAkBA,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAGD,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAGD,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,kBAAkB,CAAC;CACjC;AAGD,MAAM,WAAW,mBAAmB;IAClC,UAAU,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAAC;IAC3E,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,GAAG,CAAC;CACZ;AAED;;;GAGG;AACH,eAAO,MAAM,aAAa,QAAO,mBAyBhC,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export interface User {
|
|
2
|
+
_id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
email: string;
|
|
5
|
+
role: string;
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}
|
|
8
|
+
export interface UpdateUserMutationInput {
|
|
9
|
+
_id: string;
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Custom hook for user management functionality
|
|
14
|
+
* This is a stub implementation that can be extended with actual user management logic
|
|
15
|
+
*/
|
|
16
|
+
export declare const useUserManagement: () => {
|
|
17
|
+
users: User[];
|
|
18
|
+
isLoading: boolean;
|
|
19
|
+
usersLoading: boolean;
|
|
20
|
+
updateLoading: boolean;
|
|
21
|
+
deleteLoading: boolean;
|
|
22
|
+
operationLoading: boolean;
|
|
23
|
+
error: string | null;
|
|
24
|
+
usersError: null;
|
|
25
|
+
updateError: null;
|
|
26
|
+
deleteError: null;
|
|
27
|
+
operationError: string | null;
|
|
28
|
+
updateUser: (updateData: UpdateUserMutationInput) => Promise<{
|
|
29
|
+
success: boolean;
|
|
30
|
+
data: UpdateUserMutationInput;
|
|
31
|
+
error?: undefined;
|
|
32
|
+
} | {
|
|
33
|
+
success: boolean;
|
|
34
|
+
error: string;
|
|
35
|
+
data?: undefined;
|
|
36
|
+
}>;
|
|
37
|
+
deleteUsers: (userIds: string | string[]) => Promise<{
|
|
38
|
+
success: boolean;
|
|
39
|
+
data: string | string[];
|
|
40
|
+
error?: undefined;
|
|
41
|
+
} | {
|
|
42
|
+
success: boolean;
|
|
43
|
+
error: string;
|
|
44
|
+
data?: undefined;
|
|
45
|
+
}>;
|
|
46
|
+
refetchUsers: () => void;
|
|
47
|
+
getUserById: (userId: string) => User | undefined;
|
|
48
|
+
getUsersByRole: (role: string) => User[];
|
|
49
|
+
};
|
|
50
|
+
export default useUserManagement;
|
|
51
|
+
//# sourceMappingURL=useUserManagement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useUserManagement.d.ts","sourceRoot":"","sources":["../../src/hooks/useUserManagement.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,IAAI;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,uBAAuB;IACtC,GAAG,EAAE,MAAM,CAAC;IACZ,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;6BAoBP,uBAAuB;;;;;;;;;2BAoBI,MAAM,GAAG,MAAM,EAAE;;;;;;;;;;0BAlCtD,MAAM;2BAOR,MAAM;CAoEhB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * from './actions/pluginActions';
|
|
2
|
+
export type { ActionType } from './actions/types';
|
|
3
|
+
export { ActionTypes } from './actions/types';
|
|
4
|
+
export * from './components';
|
|
5
|
+
export { default as SimpleButton } from './components/SimpleButton';
|
|
6
|
+
export * from './hooks';
|
|
7
|
+
export * from './metrics';
|
|
8
|
+
export type { DashboardProviderProps } from './plugin-system';
|
|
9
|
+
export { DashboardProvider, get_all_plugins, PluginManager, useDashboard, } from './plugin-system';
|
|
10
|
+
export type { IDDCurrentPlugin, IDDPlugin, IDDPluginExport, IDDPluginNotification, IDDPluginSetting, IDDPluginTab, } from './plugin-system/types';
|
|
11
|
+
export * from './utils/array-safety';
|
|
12
|
+
export * from './utils/helpers';
|
|
13
|
+
export * from './config';
|
|
14
|
+
export * from './services/errorServices';
|
|
15
|
+
export * from './types';
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,cAAc,yBAAyB,CAAC;AACxC,YAAY,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEpE,cAAc,SAAS,CAAC;AAExB,cAAc,WAAW,CAAC;AAC1B,YAAY,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAE9D,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,YAAY,GACb,MAAM,iBAAiB,CAAC;AACzB,YAAY,EACV,gBAAgB,EAChB,SAAS,EACT,eAAe,EACf,qBAAqB,EACrB,gBAAgB,EAChB,YAAY,GACb,MAAM,uBAAuB,CAAC;AAG/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAIhC,cAAc,UAAU,CAAC;AAGzB,cAAc,0BAA0B,CAAC;AAGzC,cAAc,SAAS,CAAC"}
|