@integrativedesigndevelopment/dashboard-core 0.0.9 → 0.0.11
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/package.json +1 -1
- package/dist/actions/pluginActions.d.ts +0 -48
- package/dist/actions/pluginActions.d.ts.map +0 -1
- package/dist/actions/types.d.ts +0 -17
- package/dist/actions/types.d.ts.map +0 -1
- package/dist/components/ActivityProvider/index.d.ts +0 -10
- package/dist/components/ActivityProvider/index.d.ts.map +0 -1
- package/dist/components/CancelActionButton/index.d.ts +0 -14
- package/dist/components/CancelActionButton/index.d.ts.map +0 -1
- package/dist/components/Card/index.d.ts +0 -18
- package/dist/components/Card/index.d.ts.map +0 -1
- package/dist/components/ConfirmActionButton/index.d.ts +0 -14
- package/dist/components/ConfirmActionButton/index.d.ts.map +0 -1
- package/dist/components/ErrorBoundary/index.d.ts +0 -18
- package/dist/components/ErrorBoundary/index.d.ts.map +0 -1
- package/dist/components/IDDLinkInputItem/index.d.ts +0 -18
- package/dist/components/IDDLinkInputItem/index.d.ts.map +0 -1
- package/dist/components/Layout/SimpleLayout.d.ts +0 -8
- package/dist/components/Layout/SimpleLayout.d.ts.map +0 -1
- package/dist/components/Layout/index.d.ts +0 -8
- package/dist/components/Layout/index.d.ts.map +0 -1
- package/dist/components/Loader/index.d.ts +0 -16
- package/dist/components/Loader/index.d.ts.map +0 -1
- package/dist/components/LoginBackground/index.d.ts +0 -29
- package/dist/components/LoginBackground/index.d.ts.map +0 -1
- package/dist/components/LoginBackground/index.improved.d.ts +0 -16
- package/dist/components/LoginBackground/index.improved.d.ts.map +0 -1
- package/dist/components/LoginBackground/types.d.ts +0 -25
- package/dist/components/LoginBackground/types.d.ts.map +0 -1
- package/dist/components/LoginBackground/utils.d.ts +0 -28
- package/dist/components/LoginBackground/utils.d.ts.map +0 -1
- package/dist/components/Modal/index.d.ts +0 -18
- package/dist/components/Modal/index.d.ts.map +0 -1
- package/dist/components/Password/index.d.ts +0 -15
- package/dist/components/Password/index.d.ts.map +0 -1
- package/dist/components/PasswordStrengthIndicator/index.d.ts +0 -47
- package/dist/components/PasswordStrengthIndicator/index.d.ts.map +0 -1
- package/dist/components/PasswordStrengthIndicator/index.improved.d.ts +0 -47
- package/dist/components/PasswordStrengthIndicator/index.improved.d.ts.map +0 -1
- package/dist/components/SimpleButton/index.d.ts +0 -16
- package/dist/components/SimpleButton/index.d.ts.map +0 -1
- package/dist/components/TextInput/index.d.ts +0 -16
- package/dist/components/TextInput/index.d.ts.map +0 -1
- package/dist/components/forms/FormField/index.d.ts +0 -19
- package/dist/components/forms/FormField/index.d.ts.map +0 -1
- package/dist/components/forms/FormField/index.improved.d.ts +0 -27
- package/dist/components/forms/FormField/index.improved.d.ts.map +0 -1
- package/dist/components/forms/SubmitButton/index.d.ts +0 -11
- package/dist/components/forms/SubmitButton/index.d.ts.map +0 -1
- package/dist/components/forms/SubmitButton/index.improved.d.ts +0 -17
- package/dist/components/forms/SubmitButton/index.improved.d.ts.map +0 -1
- package/dist/components/forms/TermsCheckbox/index.d.ts +0 -13
- package/dist/components/forms/TermsCheckbox/index.d.ts.map +0 -1
- package/dist/components/forms/TermsCheckbox/index.improved.d.ts +0 -23
- package/dist/components/forms/TermsCheckbox/index.improved.d.ts.map +0 -1
- package/dist/components/helpers.d.ts +0 -5
- package/dist/components/helpers.d.ts.map +0 -1
- package/dist/components/index.d.ts +0 -25
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/media.d.ts +0 -11
- package/dist/components/media.d.ts.map +0 -1
- package/dist/components/utils/componentTemplate.d.ts +0 -40
- package/dist/components/utils/componentTemplate.d.ts.map +0 -1
- package/dist/components/utils/componentWrapper.d.ts +0 -87
- package/dist/components/utils/componentWrapper.d.ts.map +0 -1
- package/dist/config/index.d.ts +0 -23
- package/dist/config/index.d.ts.map +0 -1
- package/dist/hooks/index.d.ts +0 -3
- package/dist/hooks/index.d.ts.map +0 -1
- package/dist/hooks/useAsyncOperation.d.ts +0 -12
- package/dist/hooks/useAsyncOperation.d.ts.map +0 -1
- package/dist/hooks/useUpdateUser.d.ts +0 -32
- package/dist/hooks/useUpdateUser.d.ts.map +0 -1
- package/dist/hooks/useUserManagement.d.ts +0 -51
- package/dist/hooks/useUserManagement.d.ts.map +0 -1
- package/dist/index.d.ts +0 -26
- package/dist/index.d.ts.map +0 -1
- package/dist/metrics/clsMetrics.d.ts +0 -3
- package/dist/metrics/clsMetrics.d.ts.map +0 -1
- package/dist/metrics/fcpMetrics.d.ts +0 -3
- package/dist/metrics/fcpMetrics.d.ts.map +0 -1
- package/dist/metrics/fidMetrics.d.ts +0 -3
- package/dist/metrics/fidMetrics.d.ts.map +0 -1
- package/dist/metrics/index.d.ts +0 -3
- package/dist/metrics/index.d.ts.map +0 -1
- package/dist/metrics/lcpMetrics.d.ts +0 -3
- package/dist/metrics/lcpMetrics.d.ts.map +0 -1
- package/dist/metrics/ttfbMetrics.d.ts +0 -3
- package/dist/metrics/ttfbMetrics.d.ts.map +0 -1
- package/dist/plugin-system/DashboardProvider.d.ts +0 -14
- package/dist/plugin-system/DashboardProvider.d.ts.map +0 -1
- package/dist/plugin-system/PluginManager.d.ts +0 -9
- package/dist/plugin-system/PluginManager.d.ts.map +0 -1
- package/dist/plugin-system/core/Dashboard/Icon.d.ts +0 -6
- package/dist/plugin-system/core/Dashboard/Icon.d.ts.map +0 -1
- package/dist/plugin-system/core/Dashboard/index.d.ts +0 -4
- package/dist/plugin-system/core/Dashboard/index.d.ts.map +0 -1
- package/dist/plugin-system/core/Dashboard/tab0.d.ts +0 -8
- package/dist/plugin-system/core/Dashboard/tab0.d.ts.map +0 -1
- package/dist/plugin-system/core/Dashboard/views/DashboardView/index.d.ts +0 -3
- package/dist/plugin-system/core/Dashboard/views/DashboardView/index.d.ts.map +0 -1
- package/dist/plugin-system/core/Dashboard/views/DashboardView/index.stories.d.ts +0 -13
- package/dist/plugin-system/core/Dashboard/views/DashboardView/index.stories.d.ts.map +0 -1
- package/dist/plugin-system/index.d.ts +0 -6
- package/dist/plugin-system/index.d.ts.map +0 -1
- package/dist/plugin-system/plugin_manifest.d.ts +0 -2
- package/dist/plugin-system/plugin_manifest.d.ts.map +0 -1
- package/dist/plugin-system/types.d.ts +0 -76
- package/dist/plugin-system/types.d.ts.map +0 -1
- package/dist/services/errorServices.d.ts +0 -37
- package/dist/services/errorServices.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -76
- package/dist/types/index.d.ts.map +0 -1
- package/dist/utils/array-safety.d.ts +0 -32
- package/dist/utils/array-safety.d.ts.map +0 -1
- package/dist/utils/assetValidation.d.ts +0 -54
- package/dist/utils/assetValidation.d.ts.map +0 -1
- package/dist/utils/fromReq.d.ts +0 -3
- package/dist/utils/fromReq.d.ts.map +0 -1
- package/dist/utils/helpers.d.ts +0 -27
- package/dist/utils/helpers.d.ts.map +0 -1
- package/dist/utils/isDeepEqual.d.ts +0 -3
- package/dist/utils/isDeepEqual.d.ts.map +0 -1
- package/dist/utils/logger.d.ts +0 -3
- package/dist/utils/logger.d.ts.map +0 -1
- package/dist/utils/validation.d.ts +0 -93
- package/dist/utils/validation.d.ts.map +0 -1
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface SubmitButtonProps {
|
|
3
|
-
isLoading: boolean;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
text: string;
|
|
6
|
-
loadingText: string;
|
|
7
|
-
className?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const SubmitButton: React.NamedExoticComponent<SubmitButtonProps>;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/SubmitButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,iBAAiB;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,YAAY,+CAkCvB,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface SubmitButtonProps {
|
|
3
|
-
isLoading: boolean;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
text: string;
|
|
6
|
-
loadingText?: string;
|
|
7
|
-
className?: string;
|
|
8
|
-
variant?: 'primary' | 'secondary' | 'danger' | 'ghost';
|
|
9
|
-
size?: 'small' | 'medium' | 'large';
|
|
10
|
-
fullWidth?: boolean;
|
|
11
|
-
'aria-label'?: string;
|
|
12
|
-
'data-testid'?: string;
|
|
13
|
-
onClick?: () => void;
|
|
14
|
-
}
|
|
15
|
-
export declare const SubmitButton: React.NamedExoticComponent<SubmitButtonProps>;
|
|
16
|
-
export default SubmitButton;
|
|
17
|
-
//# sourceMappingURL=index.improved.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.improved.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/SubmitButton/index.improved.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAItD,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,OAAO,CAAC;IACvD,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AA0ID,eAAO,MAAM,YAAY,+CAAyB,CAAC;AAGnD,eAAe,YAAY,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface TermsCheckboxProps {
|
|
3
|
-
checked: boolean;
|
|
4
|
-
onChange: (checked: boolean) => void;
|
|
5
|
-
errors?: string[];
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
showErrors?: boolean;
|
|
8
|
-
termsUrl?: string;
|
|
9
|
-
privacyUrl?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const TermsCheckbox: React.NamedExoticComponent<TermsCheckboxProps>;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/TermsCheckbox/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,kBAAkB;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,aAAa,gDA6ExB,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React, { type FC } from 'react';
|
|
2
|
-
export interface TermsCheckboxProps {
|
|
3
|
-
checked: boolean;
|
|
4
|
-
onChange: (checked: boolean) => void;
|
|
5
|
-
errors?: string[];
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
showErrors?: boolean;
|
|
8
|
-
termsUrl?: string;
|
|
9
|
-
privacyUrl?: string;
|
|
10
|
-
customText?: React.ReactNode;
|
|
11
|
-
required?: boolean;
|
|
12
|
-
id?: string;
|
|
13
|
-
name?: string;
|
|
14
|
-
'aria-describedby'?: string;
|
|
15
|
-
'data-testid'?: string;
|
|
16
|
-
}
|
|
17
|
-
export declare const TermsCheckbox: React.NamedExoticComponent<TermsCheckboxProps>;
|
|
18
|
-
/**
|
|
19
|
-
* Alternative styled checkbox with custom icon
|
|
20
|
-
*/
|
|
21
|
-
export declare const StyledTermsCheckbox: FC<TermsCheckboxProps>;
|
|
22
|
-
export default TermsCheckbox;
|
|
23
|
-
//# sourceMappingURL=index.improved.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.improved.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/TermsCheckbox/index.improved.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAqC,KAAK,EAAE,EAAoB,MAAM,OAAO,CAAC;AAE5F,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAsKD,eAAO,MAAM,aAAa,gDAA0B,CAAC;AAGrD;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,kBAAkB,CA6BrD,CAAC;AAIH,eAAe,aAAa,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,25 +0,0 @@
|
|
|
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 { SimpleButtonProps } from './SimpleButton';
|
|
15
|
-
export { default as SimpleButton } from './SimpleButton';
|
|
16
|
-
export type { TextInputProps } from './TextInput';
|
|
17
|
-
export { default as TextInput } from './TextInput';
|
|
18
|
-
export type { ModalProps } from './Modal';
|
|
19
|
-
export { default as Modal } from './Modal';
|
|
20
|
-
export type { LoaderProps } from './Loader';
|
|
21
|
-
export { default as Loader } from './Loader';
|
|
22
|
-
export type { CardProps } from './Card';
|
|
23
|
-
export { default as Card } from './Card';
|
|
24
|
-
export * from './utils/componentWrapper';
|
|
25
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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;AAC5C,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,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AAGnD,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AAGzC,cAAc,0BAA0B,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export const images: {
|
|
2
|
-
title: string;
|
|
3
|
-
uploadDate: string;
|
|
4
|
-
uploadedBy: string;
|
|
5
|
-
url: string;
|
|
6
|
-
size: string;
|
|
7
|
-
type: string;
|
|
8
|
-
usage: number;
|
|
9
|
-
}[];
|
|
10
|
-
export function fileIcon(type: any): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
//# sourceMappingURL=media.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../src/components/media.js"],"names":[],"mappings":"AAAA;;;;;;;;IAqCE;AAEF,6EAgTC"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Template for creating standardized IDD-Common component wrappers
|
|
3
|
-
*
|
|
4
|
-
* This template ensures consistency across all wrapped components
|
|
5
|
-
* and provides a starting point for new component development.
|
|
6
|
-
*/
|
|
7
|
-
import type { FC } from 'react';
|
|
8
|
-
import { ComponentWrapperProps } from './componentWrapper';
|
|
9
|
-
export interface TemplateComponentProps extends ComponentWrapperProps {
|
|
10
|
-
children: React.ReactNode;
|
|
11
|
-
variant?: 'primary' | 'secondary';
|
|
12
|
-
onPress?: () => void;
|
|
13
|
-
onClick?: () => void;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Template Component - Replace with actual component name
|
|
17
|
-
*
|
|
18
|
-
* A standardized wrapper around IDD-Common components that provides:
|
|
19
|
-
* - Consistent styling through variant system
|
|
20
|
-
* - Type safety with proper TypeScript integration
|
|
21
|
-
* - Accessibility features (data-testid, proper focus management)
|
|
22
|
-
* - Backward compatibility where needed
|
|
23
|
-
* - Integration with IDD configuration system
|
|
24
|
-
*/
|
|
25
|
-
declare const TemplateComponent: FC<TemplateComponentProps>;
|
|
26
|
-
export default TemplateComponent;
|
|
27
|
-
/**
|
|
28
|
-
* Usage Example:
|
|
29
|
-
*
|
|
30
|
-
* import { TemplateComponent } from '@integrativedesigndevelopment/dashboard-core';
|
|
31
|
-
*
|
|
32
|
-
* <TemplateComponent
|
|
33
|
-
* variant="primary"
|
|
34
|
-
* onPress={() => console.log('clicked')}
|
|
35
|
-
* data-testid="my-component"
|
|
36
|
-
* >
|
|
37
|
-
* Component Content
|
|
38
|
-
* </TemplateComponent>
|
|
39
|
-
*/
|
|
40
|
-
//# sourceMappingURL=componentTemplate.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"componentTemplate.d.ts","sourceRoot":"","sources":["../../../src/components/utils/componentTemplate.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAG3D,MAAM,WAAW,sBAAuB,SAAQ,qBAAqB;IACnE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IAElC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED;;;;;;;;;GASG;AACH,QAAA,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAqCjD,CAAC;AAEF,eAAe,iBAAiB,CAAC;AAEjC;;;;;;;;;;;;GAYG"}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Component Wrapper Utilities for IDD-Common Integration
|
|
3
|
-
*
|
|
4
|
-
* This module provides standardized patterns for wrapping IDD-Common components
|
|
5
|
-
* with consistent theming, configuration, and TypeScript integration.
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Hook for accessing theme configuration with IDD-Common integration
|
|
9
|
-
*/
|
|
10
|
-
export declare const useIDDTheme: () => {
|
|
11
|
-
config: import("../../config").IDDConfig;
|
|
12
|
-
tailwindConfig: Omit<any, "theme"> & {
|
|
13
|
-
theme: {
|
|
14
|
-
[x: string]: any;
|
|
15
|
-
[x: number]: any;
|
|
16
|
-
[x: symbol]: any;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
colors: Record<string, string>;
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* Standard button variants based on IDD design system
|
|
23
|
-
*/
|
|
24
|
-
export declare const buttonVariants: {
|
|
25
|
-
readonly primary: {
|
|
26
|
-
readonly base: "text-idd-white bg-idd-active-color hover:bg-idd-primary-color focus:bg-idd-primary-color";
|
|
27
|
-
readonly disabled: "opacity-50 cursor-not-allowed";
|
|
28
|
-
};
|
|
29
|
-
readonly secondary: {
|
|
30
|
-
readonly base: "text-idd-active-color bg-idd-tertiary-background border border-idd-active-color hover:bg-idd-active-color hover:text-idd-white focus:bg-idd-active-color focus:text-idd-white";
|
|
31
|
-
readonly disabled: "opacity-50 cursor-not-allowed";
|
|
32
|
-
};
|
|
33
|
-
readonly tertiary: {
|
|
34
|
-
readonly base: "text-idd-black bg-idd-tertiary-background hover:bg-idd-grey-20 focus:bg-idd-grey-20";
|
|
35
|
-
readonly disabled: "opacity-50 cursor-not-allowed";
|
|
36
|
-
};
|
|
37
|
-
readonly outline: {
|
|
38
|
-
readonly base: "text-idd-active-color bg-transparent border border-idd-active-color hover:bg-idd-active-color hover:text-idd-white focus:bg-idd-active-color focus:text-idd-white";
|
|
39
|
-
readonly disabled: "opacity-50 cursor-not-allowed";
|
|
40
|
-
};
|
|
41
|
-
readonly ghost: {
|
|
42
|
-
readonly base: "text-idd-grey bg-transparent hover:bg-idd-grey-20 hover:text-idd-black focus:bg-idd-grey-20 focus:text-idd-black";
|
|
43
|
-
readonly disabled: "opacity-50 cursor-not-allowed";
|
|
44
|
-
};
|
|
45
|
-
readonly danger: {
|
|
46
|
-
readonly base: "text-idd-white bg-idd-red hover:opacity-90 focus:opacity-90";
|
|
47
|
-
readonly disabled: "opacity-50 cursor-not-allowed";
|
|
48
|
-
};
|
|
49
|
-
readonly success: {
|
|
50
|
-
readonly base: "text-idd-white bg-idd-green hover:opacity-90 focus:opacity-90";
|
|
51
|
-
readonly disabled: "opacity-50 cursor-not-allowed";
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* Common styles for consistent component appearance
|
|
56
|
-
*/
|
|
57
|
-
export declare const commonStyles: {
|
|
58
|
-
readonly button: "font-idd-primary-font-medium text-idd-primary-font-size text-center py-2 px-4 rounded-sm focus:outline-none focus-visible:outline-none transition-colors duration-200";
|
|
59
|
-
readonly input: "w-full h-[3.125rem] rounded-sm";
|
|
60
|
-
readonly error: "font-idd-primary-font text-idd-primary-font-size !mb-0";
|
|
61
|
-
readonly label: "font-idd-primary-font-medium text-idd-primary-font-size";
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* Utility function to combine styles based on variant and state
|
|
65
|
-
*/
|
|
66
|
-
export declare const getButtonStyles: (variant?: keyof typeof buttonVariants, disabled?: boolean, customClass?: string) => string;
|
|
67
|
-
/**
|
|
68
|
-
* Type utility for extracting variant types
|
|
69
|
-
*/
|
|
70
|
-
export type ButtonVariant = keyof typeof buttonVariants;
|
|
71
|
-
/**
|
|
72
|
-
* Standard prop types for wrapped components
|
|
73
|
-
*/
|
|
74
|
-
export interface ComponentWrapperProps {
|
|
75
|
-
className?: string;
|
|
76
|
-
disabled?: boolean;
|
|
77
|
-
'data-testid'?: string;
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* Standard event handler types
|
|
81
|
-
*/
|
|
82
|
-
export interface EventHandlerProps {
|
|
83
|
-
onClick?: () => void;
|
|
84
|
-
onPress?: () => void;
|
|
85
|
-
onChange?: (value: any) => void;
|
|
86
|
-
}
|
|
87
|
-
//# sourceMappingURL=componentWrapper.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"componentWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/utils/componentWrapper.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;;;;YAOa,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CAE1D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BjB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;CAKf,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,eAAe,GAC1B,UAAS,MAAM,OAAO,cAA0B,EAChD,kBAAgB,EAChB,oBAAgB,WAOjB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,cAAc,CAAC;AAExD;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;CACjC"}
|
package/dist/config/index.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
package/dist/hooks/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,32 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,51 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export * from './components/LoginBackground';
|
|
2
|
-
export { default as LoginBackground } from './components/LoginBackground';
|
|
3
|
-
export * from './components/LoginBackground/types';
|
|
4
|
-
export * from './components/LoginBackground/utils';
|
|
5
|
-
export * from './components/PasswordStrengthIndicator';
|
|
6
|
-
export { default as PasswordStrengthIndicator } from './components/PasswordStrengthIndicator';
|
|
7
|
-
export { default as Password } from './components/Password';
|
|
8
|
-
export { FormField } from './components/forms/FormField';
|
|
9
|
-
export { SubmitButton } from './components/forms/SubmitButton';
|
|
10
|
-
export { TermsCheckbox } from './components/forms/TermsCheckbox';
|
|
11
|
-
export * from './actions/pluginActions';
|
|
12
|
-
export type { ActionType } from './actions/types';
|
|
13
|
-
export { ActionTypes } from './actions/types';
|
|
14
|
-
export * from './components';
|
|
15
|
-
export { default as SimpleButton } from './components/SimpleButton';
|
|
16
|
-
export type { DashboardProviderProps } from './plugin-system';
|
|
17
|
-
export { DashboardProvider, get_all_plugins, PluginManager, useDashboard, } from './plugin-system';
|
|
18
|
-
export type { IDDCurrentPlugin, IDDPlugin, IDDPluginExport, IDDPluginNotification, IDDPluginSetting, IDDPluginTab, } from './plugin-system/types';
|
|
19
|
-
export * from './utils/array-safety';
|
|
20
|
-
export * from './utils/assetValidation';
|
|
21
|
-
export * from './utils/helpers';
|
|
22
|
-
export * from './utils/validation';
|
|
23
|
-
export * from './config';
|
|
24
|
-
export * from './services/errorServices';
|
|
25
|
-
export * from './types';
|
|
26
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC1E,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAC9F,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAGjE,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;AACpE,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,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AAInC,cAAc,UAAU,CAAC;AAGzB,cAAc,0BAA0B,CAAC;AAGzC,cAAc,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clsMetrics.d.ts","sourceRoot":"","sources":["../../src/metrics/clsMetrics.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,MAAM,EAAE,mBAAmB,QAqB7D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fcpMetrics.d.ts","sourceRoot":"","sources":["../../src/metrics/fcpMetrics.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,MAAM,EAAE,mBAAmB,QAyB7D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fidMetrics.d.ts","sourceRoot":"","sources":["../../src/metrics/fidMetrics.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,MAAM,EAAE,mBAAmB,QAoB7D"}
|
package/dist/metrics/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/metrics/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAOpD,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,MAAM,EAAE,mBAAmB,QAqC1D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lcpMetrics.d.ts","sourceRoot":"","sources":["../../src/metrics/lcpMetrics.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,MAAM,EAAE,mBAAmB,QAoB7D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ttfbMetrics.d.ts","sourceRoot":"","sources":["../../src/metrics/ttfbMetrics.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,MAAM,EAAE,mBAAmB,QAqB9D"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React, { type ReactNode } from 'react';
|
|
2
|
-
import type { DashboardConfig } from '../types';
|
|
3
|
-
interface DashboardContextType {
|
|
4
|
-
config: DashboardConfig;
|
|
5
|
-
updateConfig: (updates: Partial<DashboardConfig>) => void;
|
|
6
|
-
}
|
|
7
|
-
export interface DashboardProviderProps {
|
|
8
|
-
config: DashboardConfig;
|
|
9
|
-
children: ReactNode;
|
|
10
|
-
}
|
|
11
|
-
export declare const DashboardProvider: React.FC<DashboardProviderProps>;
|
|
12
|
-
export declare const useDashboard: () => DashboardContextType;
|
|
13
|
-
export default DashboardProvider;
|
|
14
|
-
//# sourceMappingURL=DashboardProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardProvider.d.ts","sourceRoot":"","sources":["../../src/plugin-system/DashboardProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAiB,KAAK,SAAS,EAAc,MAAM,OAAO,CAAC;AACzE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,UAAU,oBAAoB;IAC5B,MAAM,EAAE,eAAe,CAAC;IACxB,YAAY,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC,KAAK,IAAI,CAAC;CAC3D;AAMD,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,eAAe,CAAC;IACxB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAqB9D,CAAC;AAEF,eAAO,MAAM,YAAY,QAAO,oBAM/B,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
|
-
import type { IDDPlugin } from './types';
|
|
3
|
-
export interface PluginManagerProps {
|
|
4
|
-
plugins: IDDPlugin[];
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
}
|
|
7
|
-
declare const PluginManager: React.FC<PluginManagerProps>;
|
|
8
|
-
export default PluginManager;
|
|
9
|
-
//# sourceMappingURL=PluginManager.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PluginManager.d.ts","sourceRoot":"","sources":["../../src/plugin-system/PluginManager.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAmD/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../src/plugin-system/core/Dashboard/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAgB,MAAM,OAAO,CAAC;AAE9C,QAAA,MAAM,IAAI,EAAE,EAAE,CAAC;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAyC/B,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugin-system/core/Dashboard/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAG7C,QAAA,MAAM,oBAAoB,QAAO,SAM/B,CAAC;AAEH,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type ReactElement } from 'react';
|
|
2
|
-
import type { IDDPluginTab } from '../../types';
|
|
3
|
-
export interface WidgetizerProps {
|
|
4
|
-
widgets: ReactElement[];
|
|
5
|
-
}
|
|
6
|
-
declare const DashboardTab: IDDPluginTab;
|
|
7
|
-
export default DashboardTab;
|
|
8
|
-
//# sourceMappingURL=tab0.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tab0.d.ts","sourceRoot":"","sources":["../../../../src/plugin-system/core/Dashboard/tab0.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGhD,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,YAAY,EAAE,CAAC;CACzB;AAUD,QAAA,MAAM,YAAY,EAAE,YAInB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/plugin-system/core/Dashboard/views/DashboardView/index.tsx"],"names":[],"mappings":"wBA+I4B,GAAG;AAN/B,wBAMgC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export default meta;
|
|
2
|
-
export function Default(args: any): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export namespace Default {
|
|
4
|
-
namespace args {
|
|
5
|
-
let name: string;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
declare namespace meta {
|
|
9
|
-
export let title: string;
|
|
10
|
-
export { DashboardView as component };
|
|
11
|
-
}
|
|
12
|
-
import DashboardView from '.';
|
|
13
|
-
//# sourceMappingURL=index.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/plugin-system/core/Dashboard/views/DashboardView/index.stories.js"],"names":[],"mappings":";AAcA,4EASC;;;;;;;;;;0BAlByB,GAAG"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { IDDPlugin } from './types';
|
|
2
|
-
export declare const get_all_plugins: (_icon_color?: string) => IDDPlugin[];
|
|
3
|
-
export type { DashboardProviderProps } from './DashboardProvider';
|
|
4
|
-
export { default as DashboardProvider, useDashboard, } from './DashboardProvider';
|
|
5
|
-
export { default as PluginManager } from './PluginManager';
|
|
6
|
-
//# sourceMappingURL=index.d.ts.map
|