mogh_ui 0.6.0 → 0.7.0
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/auth/index.cjs +10 -1
- package/dist/auth/index.cjs.map +1 -1
- package/dist/auth/index.d.cts +4 -3
- package/dist/auth/index.d.ts +4 -3
- package/dist/auth/index.js +9 -1
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/login/header.d.cts +2 -2
- package/dist/auth/login/header.d.ts +2 -2
- package/dist/auth/login/index.cjs +32 -9
- package/dist/auth/login/index.cjs.map +1 -1
- package/dist/auth/login/index.d.cts +2 -2
- package/dist/auth/login/index.d.ts +2 -2
- package/dist/auth/login/index.js +41 -11
- package/dist/auth/login/index.js.map +1 -1
- package/dist/auth/profile/index.d.cts +1 -1
- package/dist/auth/profile/index.d.ts +1 -1
- package/dist/auth/profile/linked-logins.d.cts +2 -2
- package/dist/auth/profile/linked-logins.d.ts +2 -2
- package/dist/auth/profile/passkey.d.cts +2 -2
- package/dist/auth/profile/passkey.d.ts +2 -2
- package/dist/auth/profile/totp.d.cts +2 -2
- package/dist/auth/profile/totp.d.ts +2 -2
- package/dist/components/back-button.d.cts +2 -2
- package/dist/components/back-button.d.ts +2 -2
- package/dist/components/button-link.d.cts +2 -2
- package/dist/components/button-link.d.ts +2 -2
- package/dist/components/config/confirm.d.cts +2 -2
- package/dist/components/config/confirm.d.ts +2 -2
- package/dist/components/config/group.d.cts +1 -2
- package/dist/components/config/group.d.ts +1 -2
- package/dist/components/config/index.d.cts +3 -3
- package/dist/components/config/index.d.ts +3 -3
- package/dist/components/config/item.d.cts +3 -4
- package/dist/components/config/item.d.ts +3 -4
- package/dist/components/config/layout.d.cts +2 -2
- package/dist/components/config/layout.d.ts +2 -2
- package/dist/components/config/unsaved-changes.d.cts +2 -2
- package/dist/components/config/unsaved-changes.d.ts +2 -2
- package/dist/components/confirm-modal.d.cts +3 -3
- package/dist/components/confirm-modal.d.ts +3 -3
- package/dist/components/copy-button.d.cts +3 -3
- package/dist/components/copy-button.d.ts +3 -3
- package/dist/components/copy-text.d.cts +2 -2
- package/dist/components/copy-text.d.ts +2 -2
- package/dist/components/create-modal.d.cts +3 -3
- package/dist/components/create-modal.d.ts +3 -3
- package/dist/components/data-table.d.cts +3 -3
- package/dist/components/data-table.d.ts +3 -3
- package/dist/components/enable-switch.d.cts +2 -2
- package/dist/components/enable-switch.d.ts +2 -2
- package/dist/components/entity-header.d.cts +2 -2
- package/dist/components/entity-header.d.ts +2 -2
- package/dist/components/entity-page.d.cts +3 -3
- package/dist/components/entity-page.d.ts +3 -3
- package/dist/components/hover-error.d.cts +2 -2
- package/dist/components/hover-error.d.ts +2 -2
- package/dist/components/input-list.d.cts +2 -2
- package/dist/components/input-list.d.ts +2 -2
- package/dist/components/labelled-switch.d.cts +3 -3
- package/dist/components/labelled-switch.d.ts +3 -3
- package/dist/components/labels-group.d.cts +2 -2
- package/dist/components/labels-group.d.ts +2 -2
- package/dist/components/loading-screen.d.cts +2 -2
- package/dist/components/loading-screen.d.ts +2 -2
- package/dist/components/mobile-friendly-tabs.d.cts +5 -5
- package/dist/components/mobile-friendly-tabs.d.ts +5 -5
- package/dist/components/monaco/index.d.cts +3 -3
- package/dist/components/monaco/index.d.ts +3 -3
- package/dist/components/monaco/syntax/yaml.cjs +0 -13
- package/dist/components/monaco/syntax/yaml.cjs.map +1 -1
- package/dist/components/monaco/syntax/yaml.js +0 -13
- package/dist/components/monaco/syntax/yaml.js.map +1 -1
- package/dist/components/page-guard.d.cts +1 -2
- package/dist/components/page-guard.d.ts +1 -2
- package/dist/components/search-input.d.cts +2 -2
- package/dist/components/search-input.d.ts +2 -2
- package/dist/components/shared-text-update.d.cts +3 -3
- package/dist/components/shared-text-update.d.ts +3 -3
- package/dist/components/show-hide-button.d.cts +2 -2
- package/dist/components/show-hide-button.d.ts +2 -2
- package/dist/components/stat-bar.d.cts +3 -3
- package/dist/components/stat-bar.d.ts +3 -3
- package/dist/components/stat-cell.d.cts +3 -3
- package/dist/components/stat-cell.d.ts +3 -3
- package/dist/components/tabbed-page.d.cts +3 -3
- package/dist/components/tabbed-page.d.ts +3 -3
- package/dist/components/table-skeleton.d.cts +2 -2
- package/dist/components/table-skeleton.d.ts +2 -2
- package/dist/components/text-update-modal.d.cts +3 -3
- package/dist/components/text-update-modal.d.ts +3 -3
- package/dist/components/theme-toggle.d.cts +2 -2
- package/dist/components/theme-toggle.d.ts +2 -2
- package/dist/index.d.cts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/theme.d.cts +3 -3
- package/dist/theme.d.ts +3 -3
- package/package.json +26 -25
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
|
|
3
3
|
declare const EnrollTotp: ({ userInvalidate, passkeyEnrolled, totpEnrolled, }: {
|
|
4
4
|
userInvalidate?: () => void;
|
|
5
5
|
passkeyEnrolled?: boolean;
|
|
6
6
|
totpEnrolled?: boolean;
|
|
7
|
-
}) =>
|
|
7
|
+
}) => react.JSX.Element;
|
|
8
8
|
|
|
9
9
|
export { EnrollTotp };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { ButtonProps } from '@mantine/core';
|
|
3
3
|
|
|
4
4
|
interface BackButtonProps extends ButtonProps {
|
|
5
5
|
to?: string | number;
|
|
6
6
|
}
|
|
7
|
-
declare function BackButton({ to, ...props }: BackButtonProps):
|
|
7
|
+
declare function BackButton({ to, ...props }: BackButtonProps): react.JSX.Element;
|
|
8
8
|
|
|
9
9
|
export { BackButton, type BackButtonProps };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { ButtonProps } from '@mantine/core';
|
|
3
3
|
|
|
4
4
|
interface BackButtonProps extends ButtonProps {
|
|
5
5
|
to?: string | number;
|
|
6
6
|
}
|
|
7
|
-
declare function BackButton({ to, ...props }: BackButtonProps):
|
|
7
|
+
declare function BackButton({ to, ...props }: BackButtonProps): react.JSX.Element;
|
|
8
8
|
|
|
9
9
|
export { BackButton, type BackButtonProps };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { ButtonProps } from '@mantine/core';
|
|
3
3
|
|
|
4
4
|
interface ButtonLinkProps extends ButtonProps {
|
|
5
5
|
to: string;
|
|
6
6
|
}
|
|
7
|
-
declare function ButtonLink({ to, ...props }: ButtonLinkProps):
|
|
7
|
+
declare function ButtonLink({ to, ...props }: ButtonLinkProps): react.JSX.Element;
|
|
8
8
|
|
|
9
9
|
export { ButtonLink, type ButtonLinkProps };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { ButtonProps } from '@mantine/core';
|
|
3
3
|
|
|
4
4
|
interface ButtonLinkProps extends ButtonProps {
|
|
5
5
|
to: string;
|
|
6
6
|
}
|
|
7
|
-
declare function ButtonLink({ to, ...props }: ButtonLinkProps):
|
|
7
|
+
declare function ButtonLink({ to, ...props }: ButtonLinkProps): react.JSX.Element;
|
|
8
8
|
|
|
9
9
|
export { ButtonLink, type ButtonLinkProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { MonacoLanguage } from '../monaco/index.cjs';
|
|
3
3
|
import '@mantine/core';
|
|
4
4
|
|
|
@@ -15,6 +15,6 @@ interface ConfirmUpdateProps<T> {
|
|
|
15
15
|
confirmKeyListener?: boolean;
|
|
16
16
|
enableFancyToml?: boolean;
|
|
17
17
|
}
|
|
18
|
-
declare function ConfirmUpdate<T>({ original, update, onConfirm, loading, disabled, language, fileContentsLanguage, fullWidth, openKeyListener, confirmKeyListener, enableFancyToml, }: ConfirmUpdateProps<T>):
|
|
18
|
+
declare function ConfirmUpdate<T>({ original, update, onConfirm, loading, disabled, language, fileContentsLanguage, fullWidth, openKeyListener, confirmKeyListener, enableFancyToml, }: ConfirmUpdateProps<T>): react.JSX.Element;
|
|
19
19
|
|
|
20
20
|
export { ConfirmUpdate, type ConfirmUpdateProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { MonacoLanguage } from '../monaco/index.js';
|
|
3
3
|
import '@mantine/core';
|
|
4
4
|
|
|
@@ -15,6 +15,6 @@ interface ConfirmUpdateProps<T> {
|
|
|
15
15
|
confirmKeyListener?: boolean;
|
|
16
16
|
enableFancyToml?: boolean;
|
|
17
17
|
}
|
|
18
|
-
declare function ConfirmUpdate<T>({ original, update, onConfirm, loading, disabled, language, fileContentsLanguage, fullWidth, openKeyListener, confirmKeyListener, enableFancyToml, }: ConfirmUpdateProps<T>):
|
|
18
|
+
declare function ConfirmUpdate<T>({ original, update, onConfirm, loading, disabled, language, fileContentsLanguage, fullWidth, openKeyListener, confirmKeyListener, enableFancyToml, }: ConfirmUpdateProps<T>): react.JSX.Element;
|
|
19
19
|
|
|
20
20
|
export { ConfirmUpdate, type ConfirmUpdateProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { SetStateAction, ReactNode } from 'react';
|
|
3
3
|
import { MonacoLanguage } from '../monaco/index.cjs';
|
|
4
4
|
export { ConfirmUpdate, ConfirmUpdateProps } from './confirm.cjs';
|
|
@@ -15,7 +15,7 @@ declare function ConfigGroup<T>({ config, update, setUpdate, disabled, fields, }
|
|
|
15
15
|
setUpdate: (update: Partial<T>) => void;
|
|
16
16
|
disabled: boolean;
|
|
17
17
|
fields: ConfigGroupArgs<T>["fields"];
|
|
18
|
-
}):
|
|
18
|
+
}): react.JSX.Element;
|
|
19
19
|
|
|
20
20
|
interface ConfigFieldArgs {
|
|
21
21
|
label?: string;
|
|
@@ -57,6 +57,6 @@ interface ConfigProps<T> {
|
|
|
57
57
|
// Section key
|
|
58
58
|
ConfigGroupArgs<T>[] | false | undefined>;
|
|
59
59
|
}
|
|
60
|
-
declare function Config<T>({ original, update, setUpdate, disabled, onSave, titleOther, disableSidebar, fileContentsLanguage, enableFancyToml, groups: _groups, }: ConfigProps<T>):
|
|
60
|
+
declare function Config<T>({ original, update, setUpdate, disabled, onSave, titleOther, disableSidebar, fileContentsLanguage, enableFancyToml, groups: _groups, }: ConfigProps<T>): react.JSX.Element;
|
|
61
61
|
|
|
62
62
|
export { Config, type ConfigFieldArgs, ConfigGroup, type ConfigGroupArgs, type ConfigProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { SetStateAction, ReactNode } from 'react';
|
|
3
3
|
import { MonacoLanguage } from '../monaco/index.js';
|
|
4
4
|
export { ConfirmUpdate, ConfirmUpdateProps } from './confirm.js';
|
|
@@ -15,7 +15,7 @@ declare function ConfigGroup<T>({ config, update, setUpdate, disabled, fields, }
|
|
|
15
15
|
setUpdate: (update: Partial<T>) => void;
|
|
16
16
|
disabled: boolean;
|
|
17
17
|
fields: ConfigGroupArgs<T>["fields"];
|
|
18
|
-
}):
|
|
18
|
+
}): react.JSX.Element;
|
|
19
19
|
|
|
20
20
|
interface ConfigFieldArgs {
|
|
21
21
|
label?: string;
|
|
@@ -57,6 +57,6 @@ interface ConfigProps<T> {
|
|
|
57
57
|
// Section key
|
|
58
58
|
ConfigGroupArgs<T>[] | false | undefined>;
|
|
59
59
|
}
|
|
60
|
-
declare function Config<T>({ original, update, setUpdate, disabled, onSave, titleOther, disableSidebar, fileContentsLanguage, enableFancyToml, groups: _groups, }: ConfigProps<T>):
|
|
60
|
+
declare function Config<T>({ original, update, setUpdate, disabled, onSave, titleOther, disableSidebar, fileContentsLanguage, enableFancyToml, groups: _groups, }: ConfigProps<T>): react.JSX.Element;
|
|
61
61
|
|
|
62
62
|
export { Config, type ConfigFieldArgs, ConfigGroup, type ConfigGroupArgs, type ConfigProps };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as react from 'react';
|
|
3
2
|
import { ReactNode } from 'react';
|
|
4
3
|
import * as _mantine_core from '@mantine/core';
|
|
@@ -30,16 +29,16 @@ declare function ConfigInput({ value, disabled, placeholder, onChange, onValueCh
|
|
|
30
29
|
inputRight?: ReactNode;
|
|
31
30
|
inputProps?: TextInputProps;
|
|
32
31
|
email?: boolean;
|
|
33
|
-
} & Omit<ConfigItemProps, "children">):
|
|
32
|
+
} & Omit<ConfigItemProps, "children">): react.JSX.Element;
|
|
34
33
|
declare function ConfigSwitch({ value, disabled, onCheckedChange, switchProps, ...itemProps }: {
|
|
35
34
|
value: boolean | undefined;
|
|
36
35
|
disabled: boolean;
|
|
37
36
|
onCheckedChange: (value: boolean) => void;
|
|
38
37
|
switchProps?: SwitchProps;
|
|
39
|
-
} & Omit<ConfigItemProps, "children">):
|
|
38
|
+
} & Omit<ConfigItemProps, "children">): react.JSX.Element;
|
|
40
39
|
declare function ConfigList<T>({ addLabel, label, description, ...inputListProps }: {
|
|
41
40
|
label?: string;
|
|
42
41
|
addLabel?: string;
|
|
43
|
-
} & InputListProps<T> & Omit<ConfigItemProps, "children">):
|
|
42
|
+
} & InputListProps<T> & Omit<ConfigItemProps, "children">): react.JSX.Element;
|
|
44
43
|
|
|
45
44
|
export { ConfigInput, ConfigItem, type ConfigItemProps, ConfigList, ConfigSwitch };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as react from 'react';
|
|
3
2
|
import { ReactNode } from 'react';
|
|
4
3
|
import * as _mantine_core from '@mantine/core';
|
|
@@ -30,16 +29,16 @@ declare function ConfigInput({ value, disabled, placeholder, onChange, onValueCh
|
|
|
30
29
|
inputRight?: ReactNode;
|
|
31
30
|
inputProps?: TextInputProps;
|
|
32
31
|
email?: boolean;
|
|
33
|
-
} & Omit<ConfigItemProps, "children">):
|
|
32
|
+
} & Omit<ConfigItemProps, "children">): react.JSX.Element;
|
|
34
33
|
declare function ConfigSwitch({ value, disabled, onCheckedChange, switchProps, ...itemProps }: {
|
|
35
34
|
value: boolean | undefined;
|
|
36
35
|
disabled: boolean;
|
|
37
36
|
onCheckedChange: (value: boolean) => void;
|
|
38
37
|
switchProps?: SwitchProps;
|
|
39
|
-
} & Omit<ConfigItemProps, "children">):
|
|
38
|
+
} & Omit<ConfigItemProps, "children">): react.JSX.Element;
|
|
40
39
|
declare function ConfigList<T>({ addLabel, label, description, ...inputListProps }: {
|
|
41
40
|
label?: string;
|
|
42
41
|
addLabel?: string;
|
|
43
|
-
} & InputListProps<T> & Omit<ConfigItemProps, "children">):
|
|
42
|
+
} & InputListProps<T> & Omit<ConfigItemProps, "children">): react.JSX.Element;
|
|
44
43
|
|
|
45
44
|
export { ConfigInput, ConfigItem, type ConfigItemProps, ConfigList, ConfigSwitch };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { SectionProps } from '../section.cjs';
|
|
4
4
|
import '@mantine/core';
|
|
@@ -6,6 +6,6 @@ import '@mantine/core';
|
|
|
6
6
|
/** Includes save buttons */
|
|
7
7
|
declare function ConfigLayout({ title, icon, titleOther, SaveOrReset, ...sectionProps }: {
|
|
8
8
|
SaveOrReset: ReactNode | undefined;
|
|
9
|
-
} & SectionProps):
|
|
9
|
+
} & SectionProps): react.JSX.Element;
|
|
10
10
|
|
|
11
11
|
export { ConfigLayout };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { SectionProps } from '../section.js';
|
|
4
4
|
import '@mantine/core';
|
|
@@ -6,6 +6,6 @@ import '@mantine/core';
|
|
|
6
6
|
/** Includes save buttons */
|
|
7
7
|
declare function ConfigLayout({ title, icon, titleOther, SaveOrReset, ...sectionProps }: {
|
|
8
8
|
SaveOrReset: ReactNode | undefined;
|
|
9
|
-
} & SectionProps):
|
|
9
|
+
} & SectionProps): react.JSX.Element;
|
|
10
10
|
|
|
11
11
|
export { ConfigLayout };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { ModalProps, ButtonProps } from '@mantine/core';
|
|
1
|
+
import * as react from 'react';
|
|
3
2
|
import { ReactNode } from 'react';
|
|
3
|
+
import { ModalProps, ButtonProps } from '@mantine/core';
|
|
4
4
|
|
|
5
5
|
interface ConfirmModalProps extends Omit<Omit<Omit<ModalProps, "opened">, "onClose">, "onClick"> {
|
|
6
6
|
children?: ReactNode;
|
|
@@ -20,6 +20,6 @@ interface ConfirmModalProps extends Omit<Omit<Omit<ModalProps, "opened">, "onClo
|
|
|
20
20
|
/** Converts into ConfirmButton */
|
|
21
21
|
disableModal?: boolean;
|
|
22
22
|
}
|
|
23
|
-
declare function ConfirmModal({ children, icon, disabled, confirmText, title, confirmButtonContent, onConfirm, loading, additional, topAdditonal, targetProps, targetNoIcon, confirmProps, disableModal, ...modalProps }: ConfirmModalProps):
|
|
23
|
+
declare function ConfirmModal({ children, icon, disabled, confirmText, title, confirmButtonContent, onConfirm, loading, additional, topAdditonal, targetProps, targetNoIcon, confirmProps, disableModal, ...modalProps }: ConfirmModalProps): react.JSX.Element;
|
|
24
24
|
|
|
25
25
|
export { ConfirmModal, type ConfirmModalProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { ModalProps, ButtonProps } from '@mantine/core';
|
|
1
|
+
import * as react from 'react';
|
|
3
2
|
import { ReactNode } from 'react';
|
|
3
|
+
import { ModalProps, ButtonProps } from '@mantine/core';
|
|
4
4
|
|
|
5
5
|
interface ConfirmModalProps extends Omit<Omit<Omit<ModalProps, "opened">, "onClose">, "onClick"> {
|
|
6
6
|
children?: ReactNode;
|
|
@@ -20,6 +20,6 @@ interface ConfirmModalProps extends Omit<Omit<Omit<ModalProps, "opened">, "onClo
|
|
|
20
20
|
/** Converts into ConfirmButton */
|
|
21
21
|
disableModal?: boolean;
|
|
22
22
|
}
|
|
23
|
-
declare function ConfirmModal({ children, icon, disabled, confirmText, title, confirmButtonContent, onConfirm, loading, additional, topAdditonal, targetProps, targetNoIcon, confirmProps, disableModal, ...modalProps }: ConfirmModalProps):
|
|
23
|
+
declare function ConfirmModal({ children, icon, disabled, confirmText, title, confirmButtonContent, onConfirm, loading, additional, topAdditonal, targetProps, targetNoIcon, confirmProps, disableModal, ...modalProps }: ConfirmModalProps): react.JSX.Element;
|
|
24
24
|
|
|
25
25
|
export { ConfirmModal, type ConfirmModalProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { ActionIconProps } from '@mantine/core';
|
|
1
|
+
import * as react from 'react';
|
|
3
2
|
import { ReactNode } from 'react';
|
|
3
|
+
import { ActionIconProps } from '@mantine/core';
|
|
4
4
|
|
|
5
5
|
interface CopyButtonProps {
|
|
6
6
|
content: string;
|
|
@@ -9,7 +9,7 @@ interface CopyButtonProps {
|
|
|
9
9
|
size?: string | number;
|
|
10
10
|
buttonSize?: ActionIconProps["size"];
|
|
11
11
|
}
|
|
12
|
-
declare function CopyButton({ content, icon, label, size, buttonSize, }: CopyButtonProps):
|
|
12
|
+
declare function CopyButton({ content, icon, label, size, buttonSize, }: CopyButtonProps): react.JSX.Element;
|
|
13
13
|
declare function sendCopyNotification(label?: string): void;
|
|
14
14
|
|
|
15
15
|
export { CopyButton, type CopyButtonProps, sendCopyNotification };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { ActionIconProps } from '@mantine/core';
|
|
1
|
+
import * as react from 'react';
|
|
3
2
|
import { ReactNode } from 'react';
|
|
3
|
+
import { ActionIconProps } from '@mantine/core';
|
|
4
4
|
|
|
5
5
|
interface CopyButtonProps {
|
|
6
6
|
content: string;
|
|
@@ -9,7 +9,7 @@ interface CopyButtonProps {
|
|
|
9
9
|
size?: string | number;
|
|
10
10
|
buttonSize?: ActionIconProps["size"];
|
|
11
11
|
}
|
|
12
|
-
declare function CopyButton({ content, icon, label, size, buttonSize, }: CopyButtonProps):
|
|
12
|
+
declare function CopyButton({ content, icon, label, size, buttonSize, }: CopyButtonProps): react.JSX.Element;
|
|
13
13
|
declare function sendCopyNotification(label?: string): void;
|
|
14
14
|
|
|
15
15
|
export { CopyButton, type CopyButtonProps, sendCopyNotification };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { TextProps, GroupProps } from '@mantine/core';
|
|
3
3
|
|
|
4
4
|
interface CopyTextProps extends TextProps {
|
|
@@ -6,6 +6,6 @@ interface CopyTextProps extends TextProps {
|
|
|
6
6
|
label?: string;
|
|
7
7
|
groupProps?: GroupProps;
|
|
8
8
|
}
|
|
9
|
-
declare function CopyText({ content, label, groupProps, ...textProps }: CopyTextProps):
|
|
9
|
+
declare function CopyText({ content, label, groupProps, ...textProps }: CopyTextProps): react.JSX.Element;
|
|
10
10
|
|
|
11
11
|
export { CopyText, type CopyTextProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { TextProps, GroupProps } from '@mantine/core';
|
|
3
3
|
|
|
4
4
|
interface CopyTextProps extends TextProps {
|
|
@@ -6,6 +6,6 @@ interface CopyTextProps extends TextProps {
|
|
|
6
6
|
label?: string;
|
|
7
7
|
groupProps?: GroupProps;
|
|
8
8
|
}
|
|
9
|
-
declare function CopyText({ content, label, groupProps, ...textProps }: CopyTextProps):
|
|
9
|
+
declare function CopyText({ content, label, groupProps, ...textProps }: CopyTextProps): react.JSX.Element;
|
|
10
10
|
|
|
11
11
|
export { CopyText, type CopyTextProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { ButtonProps, ModalBaseProps } from '@mantine/core';
|
|
1
|
+
import * as react from 'react';
|
|
3
2
|
import { ReactNode } from 'react';
|
|
3
|
+
import { ButtonProps, ModalBaseProps } from '@mantine/core';
|
|
4
4
|
|
|
5
5
|
interface CreateModalProps extends ButtonProps {
|
|
6
6
|
entityType: string;
|
|
@@ -13,6 +13,6 @@ interface CreateModalProps extends ButtonProps {
|
|
|
13
13
|
children?: ReactNode;
|
|
14
14
|
modalSize?: ModalBaseProps["size"];
|
|
15
15
|
}
|
|
16
|
-
declare function CreateModal({ entityType, configSection, disabled, loading, onConfirm, onOpenChange, configureLabel, openShiftKeyListener, leftSection, children, modalSize, ...targetProps }: CreateModalProps):
|
|
16
|
+
declare function CreateModal({ entityType, configSection, disabled, loading, onConfirm, onOpenChange, configureLabel, openShiftKeyListener, leftSection, children, modalSize, ...targetProps }: CreateModalProps): react.JSX.Element;
|
|
17
17
|
|
|
18
18
|
export { CreateModal, type CreateModalProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { ButtonProps, ModalBaseProps } from '@mantine/core';
|
|
1
|
+
import * as react from 'react';
|
|
3
2
|
import { ReactNode } from 'react';
|
|
3
|
+
import { ButtonProps, ModalBaseProps } from '@mantine/core';
|
|
4
4
|
|
|
5
5
|
interface CreateModalProps extends ButtonProps {
|
|
6
6
|
entityType: string;
|
|
@@ -13,6 +13,6 @@ interface CreateModalProps extends ButtonProps {
|
|
|
13
13
|
children?: ReactNode;
|
|
14
14
|
modalSize?: ModalBaseProps["size"];
|
|
15
15
|
}
|
|
16
|
-
declare function CreateModal({ entityType, configSection, disabled, loading, onConfirm, onOpenChange, configureLabel, openShiftKeyListener, leftSection, children, modalSize, ...targetProps }: CreateModalProps):
|
|
16
|
+
declare function CreateModal({ entityType, configSection, disabled, loading, onConfirm, onOpenChange, configureLabel, openShiftKeyListener, leftSection, children, modalSize, ...targetProps }: CreateModalProps): react.JSX.Element;
|
|
17
17
|
|
|
18
18
|
export { CreateModal, type CreateModalProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { ReactNode, Dispatch, SetStateAction } from 'react';
|
|
3
3
|
import { ColumnDef, SortingState, RowSelectionState, Row, Column } from '@tanstack/react-table';
|
|
4
4
|
import { BoxProps, DefaultMantineColor, TableProps } from '@mantine/core';
|
|
@@ -25,12 +25,12 @@ interface DataTableProps<TData, TValue = unknown> extends BoxProps {
|
|
|
25
25
|
noBox?: boolean;
|
|
26
26
|
noBorder?: boolean;
|
|
27
27
|
}
|
|
28
|
-
declare function DataTable<TData, TValue>({ tableKey, columns, data, loading, onRowClick, noResults, sortDescFirst, defaultSort, selectOptions, caption, tableProps, noBox, noBorder, mah, ...boxProps }: DataTableProps<TData, TValue>):
|
|
28
|
+
declare function DataTable<TData, TValue>({ tableKey, columns, data, loading, onRowClick, noResults, sortDescFirst, defaultSort, selectOptions, caption, tableProps, noBox, noBorder, mah, ...boxProps }: DataTableProps<TData, TValue>): react.JSX.Element;
|
|
29
29
|
declare const SortableHeader: <T, V>({ column, title, description, sortDescFirst, }: {
|
|
30
30
|
column: Column<T, V>;
|
|
31
31
|
title: string;
|
|
32
32
|
description?: ReactNode;
|
|
33
33
|
sortDescFirst?: boolean;
|
|
34
|
-
}) =>
|
|
34
|
+
}) => react.JSX.Element;
|
|
35
35
|
|
|
36
36
|
export { DataTable, type DataTableProps, SortableHeader };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { ReactNode, Dispatch, SetStateAction } from 'react';
|
|
3
3
|
import { ColumnDef, SortingState, RowSelectionState, Row, Column } from '@tanstack/react-table';
|
|
4
4
|
import { BoxProps, DefaultMantineColor, TableProps } from '@mantine/core';
|
|
@@ -25,12 +25,12 @@ interface DataTableProps<TData, TValue = unknown> extends BoxProps {
|
|
|
25
25
|
noBox?: boolean;
|
|
26
26
|
noBorder?: boolean;
|
|
27
27
|
}
|
|
28
|
-
declare function DataTable<TData, TValue>({ tableKey, columns, data, loading, onRowClick, noResults, sortDescFirst, defaultSort, selectOptions, caption, tableProps, noBox, noBorder, mah, ...boxProps }: DataTableProps<TData, TValue>):
|
|
28
|
+
declare function DataTable<TData, TValue>({ tableKey, columns, data, loading, onRowClick, noResults, sortDescFirst, defaultSort, selectOptions, caption, tableProps, noBox, noBorder, mah, ...boxProps }: DataTableProps<TData, TValue>): react.JSX.Element;
|
|
29
29
|
declare const SortableHeader: <T, V>({ column, title, description, sortDescFirst, }: {
|
|
30
30
|
column: Column<T, V>;
|
|
31
31
|
title: string;
|
|
32
32
|
description?: ReactNode;
|
|
33
33
|
sortDescFirst?: boolean;
|
|
34
|
-
}) =>
|
|
34
|
+
}) => react.JSX.Element;
|
|
35
35
|
|
|
36
36
|
export { DataTable, type DataTableProps, SortableHeader };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { SwitchProps, GroupProps } from '@mantine/core';
|
|
3
3
|
|
|
4
4
|
interface EnableSwitchProps extends SwitchProps {
|
|
@@ -7,6 +7,6 @@ interface EnableSwitchProps extends SwitchProps {
|
|
|
7
7
|
redDisabled?: boolean;
|
|
8
8
|
labelProps?: GroupProps;
|
|
9
9
|
}
|
|
10
|
-
declare function EnableSwitch({ checked, color, label, onChange, onCheckedChange, disabled, redDisabled, labelProps, ...props }: EnableSwitchProps):
|
|
10
|
+
declare function EnableSwitch({ checked, color, label, onChange, onCheckedChange, disabled, redDisabled, labelProps, ...props }: EnableSwitchProps): react.JSX.Element;
|
|
11
11
|
|
|
12
12
|
export { EnableSwitch, type EnableSwitchProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { SwitchProps, GroupProps } from '@mantine/core';
|
|
3
3
|
|
|
4
4
|
interface EnableSwitchProps extends SwitchProps {
|
|
@@ -7,6 +7,6 @@ interface EnableSwitchProps extends SwitchProps {
|
|
|
7
7
|
redDisabled?: boolean;
|
|
8
8
|
labelProps?: GroupProps;
|
|
9
9
|
}
|
|
10
|
-
declare function EnableSwitch({ checked, color, label, onChange, onCheckedChange, disabled, redDisabled, labelProps, ...props }: EnableSwitchProps):
|
|
10
|
+
declare function EnableSwitch({ checked, color, label, onChange, onCheckedChange, disabled, redDisabled, labelProps, ...props }: EnableSwitchProps): react.JSX.Element;
|
|
11
11
|
|
|
12
12
|
export { EnableSwitch, type EnableSwitchProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { FC, ReactNode } from 'react';
|
|
3
3
|
import { ColorIntention } from '../color.cjs';
|
|
4
4
|
|
|
@@ -15,6 +15,6 @@ interface EntityHeaderProps {
|
|
|
15
15
|
onRename?: (name: string) => Promise<unknown>;
|
|
16
16
|
renamePending?: boolean;
|
|
17
17
|
}
|
|
18
|
-
declare function EntityHeader({ name, icon: Icon, intent, state, status, action, onRename: _onRename, renamePending, }: EntityHeaderProps):
|
|
18
|
+
declare function EntityHeader({ name, icon: Icon, intent, state, status, action, onRename: _onRename, renamePending, }: EntityHeaderProps): react.JSX.Element;
|
|
19
19
|
|
|
20
20
|
export { EntityHeader, type EntityHeaderProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { FC, ReactNode } from 'react';
|
|
3
3
|
import { ColorIntention } from '../color.js';
|
|
4
4
|
|
|
@@ -15,6 +15,6 @@ interface EntityHeaderProps {
|
|
|
15
15
|
onRename?: (name: string) => Promise<unknown>;
|
|
16
16
|
renamePending?: boolean;
|
|
17
17
|
}
|
|
18
|
-
declare function EntityHeader({ name, icon: Icon, intent, state, status, action, onRename: _onRename, renamePending, }: EntityHeaderProps):
|
|
18
|
+
declare function EntityHeader({ name, icon: Icon, intent, state, status, action, onRename: _onRename, renamePending, }: EntityHeaderProps): react.JSX.Element;
|
|
19
19
|
|
|
20
20
|
export { EntityHeader, type EntityHeaderProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { StackProps } from '@mantine/core';
|
|
1
|
+
import * as react from 'react';
|
|
3
2
|
import { ReactNode } from 'react';
|
|
3
|
+
import { StackProps } from '@mantine/core';
|
|
4
4
|
|
|
5
5
|
interface EntityPageProps extends StackProps {
|
|
6
6
|
backTo?: string;
|
|
7
7
|
actions?: ReactNode;
|
|
8
8
|
}
|
|
9
|
-
declare function EntityPage({ backTo, actions, children, ...props }: EntityPageProps):
|
|
9
|
+
declare function EntityPage({ backTo, actions, children, ...props }: EntityPageProps): react.JSX.Element;
|
|
10
10
|
|
|
11
11
|
export { EntityPage, type EntityPageProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { StackProps } from '@mantine/core';
|
|
1
|
+
import * as react from 'react';
|
|
3
2
|
import { ReactNode } from 'react';
|
|
3
|
+
import { StackProps } from '@mantine/core';
|
|
4
4
|
|
|
5
5
|
interface EntityPageProps extends StackProps {
|
|
6
6
|
backTo?: string;
|
|
7
7
|
actions?: ReactNode;
|
|
8
8
|
}
|
|
9
|
-
declare function EntityPage({ backTo, actions, children, ...props }: EntityPageProps):
|
|
9
|
+
declare function EntityPage({ backTo, actions, children, ...props }: EntityPageProps): react.JSX.Element;
|
|
10
10
|
|
|
11
11
|
export { EntityPage, type EntityPageProps };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
|
|
3
3
|
interface HoverErrorProps {
|
|
4
4
|
error: string;
|
|
5
5
|
trace: string[];
|
|
6
6
|
}
|
|
7
|
-
declare function HoverError({ error, trace }: HoverErrorProps):
|
|
7
|
+
declare function HoverError({ error, trace }: HoverErrorProps): react.JSX.Element;
|
|
8
8
|
|
|
9
9
|
export { HoverError, type HoverErrorProps };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
|
|
3
3
|
interface HoverErrorProps {
|
|
4
4
|
error: string;
|
|
5
5
|
trace: string[];
|
|
6
6
|
}
|
|
7
|
-
declare function HoverError({ error, trace }: HoverErrorProps):
|
|
7
|
+
declare function HoverError({ error, trace }: HoverErrorProps): react.JSX.Element;
|
|
8
8
|
|
|
9
9
|
export { HoverError, type HoverErrorProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { TextInputProps } from '@mantine/core';
|
|
3
3
|
|
|
4
4
|
interface InputListProps<T> {
|
|
@@ -9,6 +9,6 @@ interface InputListProps<T> {
|
|
|
9
9
|
placeholder?: string;
|
|
10
10
|
inputProps?: TextInputProps;
|
|
11
11
|
}
|
|
12
|
-
declare function InputList<T>({ field, values, disabled, set, placeholder, inputProps, }: InputListProps<T>):
|
|
12
|
+
declare function InputList<T>({ field, values, disabled, set, placeholder, inputProps, }: InputListProps<T>): react.JSX.Element;
|
|
13
13
|
|
|
14
14
|
export { InputList, type InputListProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { TextInputProps } from '@mantine/core';
|
|
3
3
|
|
|
4
4
|
interface InputListProps<T> {
|
|
@@ -9,6 +9,6 @@ interface InputListProps<T> {
|
|
|
9
9
|
placeholder?: string;
|
|
10
10
|
inputProps?: TextInputProps;
|
|
11
11
|
}
|
|
12
|
-
declare function InputList<T>({ field, values, disabled, set, placeholder, inputProps, }: InputListProps<T>):
|
|
12
|
+
declare function InputList<T>({ field, values, disabled, set, placeholder, inputProps, }: InputListProps<T>): react.JSX.Element;
|
|
13
13
|
|
|
14
14
|
export { InputList, type InputListProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { SwitchProps, GroupProps, TextProps } from '@mantine/core';
|
|
1
|
+
import * as react from 'react';
|
|
3
2
|
import { ReactNode } from 'react';
|
|
3
|
+
import { SwitchProps, GroupProps, TextProps } from '@mantine/core';
|
|
4
4
|
|
|
5
5
|
interface LabelledSwitchProps extends SwitchProps {
|
|
6
6
|
checked: boolean | undefined;
|
|
@@ -9,6 +9,6 @@ interface LabelledSwitchProps extends SwitchProps {
|
|
|
9
9
|
groupProps?: GroupProps;
|
|
10
10
|
labelProps?: TextProps;
|
|
11
11
|
}
|
|
12
|
-
declare function LabelledSwitch({ checked, onCheckedChange, label, groupProps, labelProps, ...switchProps }: LabelledSwitchProps):
|
|
12
|
+
declare function LabelledSwitch({ checked, onCheckedChange, label, groupProps, labelProps, ...switchProps }: LabelledSwitchProps): react.JSX.Element;
|
|
13
13
|
|
|
14
14
|
export { LabelledSwitch, type LabelledSwitchProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { SwitchProps, GroupProps, TextProps } from '@mantine/core';
|
|
1
|
+
import * as react from 'react';
|
|
3
2
|
import { ReactNode } from 'react';
|
|
3
|
+
import { SwitchProps, GroupProps, TextProps } from '@mantine/core';
|
|
4
4
|
|
|
5
5
|
interface LabelledSwitchProps extends SwitchProps {
|
|
6
6
|
checked: boolean | undefined;
|
|
@@ -9,6 +9,6 @@ interface LabelledSwitchProps extends SwitchProps {
|
|
|
9
9
|
groupProps?: GroupProps;
|
|
10
10
|
labelProps?: TextProps;
|
|
11
11
|
}
|
|
12
|
-
declare function LabelledSwitch({ checked, onCheckedChange, label, groupProps, labelProps, ...switchProps }: LabelledSwitchProps):
|
|
12
|
+
declare function LabelledSwitch({ checked, onCheckedChange, label, groupProps, labelProps, ...switchProps }: LabelledSwitchProps): react.JSX.Element;
|
|
13
13
|
|
|
14
14
|
export { LabelledSwitch, type LabelledSwitchProps };
|