+299
-368
lines changed Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ import { AlertEntity, AlertMessage, AlertOperation } from './Signum.Alerts'
23
23
const MaxNumberOfAlerts = 3;
24
24
const MaxNumberOfGroups = 3;
25
25
26
-
export default function AlertDropdown(props: { keepRingingFor?: number }) {
26
+
export default function AlertDropdown(props: { keepRingingFor?: number }): React.JSX.Element {
27
27
28
28
if (!Navigator.isViewable(AlertEntity))
29
29
return null;
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ import { AlertEntity, AlertMessage } from '../Signum.Alerts'
5
5
import { AlertsClient } from '../AlertsClient'
6
6
import { useForceUpdate } from '@framework/Hooks';
7
7
8
-
export default function Alert(p: { ctx: TypeContext<AlertEntity> }) {
8
+
export default function Alert(p: { ctx: TypeContext<AlertEntity> }): React.JSX.Element {
9
9
10
10
const forceUpdate = useForceUpdate();
11
11
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ import { AutoLine } from '@framework/Lines'
3
3
import { TypeContext } from '@framework/TypeContext'
4
4
import { AlertTypeSymbol } from '../Signum.Alerts'
5
5
6
-
export default function AlertType(p : { ctx: TypeContext<AlertTypeSymbol> }){
6
+
export default function AlertType(p : { ctx: TypeContext<AlertTypeSymbol> }): React.JSX.Element {
7
7
const ctx = p.ctx;
8
8
const ctx4 = ctx.subCtx({ labelColumns: 2 });
9
9
return (
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ import { useForceUpdate } from '@framework/Hooks';
7
7
import { SearchValueLine } from '@framework/Search';
8
8
import { toLite } from '@framework/Signum.Entities'
9
9
10
-
export default function SendNotificationEmailTask(p: { ctx: TypeContext<SendNotificationEmailTaskEntity> }) {
10
+
export default function SendNotificationEmailTask(p: { ctx: TypeContext<SendNotificationEmailTaskEntity> }): React.JSX.Element {
11
11
const ctx = p.ctx;
12
12
const forceUpdate = useForceUpdate();
13
13
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ import { SearchValueLine } from '@framework/Search';
5
5
import { ADGroupEntity } from './Signum.Authorization.ActiveDirectory';
6
6
import { AzureADQuery } from './Signum.Authorization.ActiveDirectory.Azure';
7
7
8
-
export default function ADGroup(p: { ctx: TypeContext<ADGroupEntity> }) {
8
+
export default function ADGroup(p: { ctx: TypeContext<ADGroupEntity> }): React.JSX.Element {
9
9
const ctx = p.ctx;
10
10
return (
11
11
<div>
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ import { ChangeLogClient } from '@framework/Basics/ChangeLogClient';
22
22
23
23
export namespace ActiveDirectoryClient {
24
24
25
-
export function start(options: { routes: RouteObject[], adGroups: boolean, cachedProfilePhoto: boolean; }) {
25
+
export function start(options: { routes: RouteObject[], adGroups: boolean, cachedProfilePhoto: boolean; }): void {
26
26
27
27
ChangeLogClient.registerChangeLogModule("Signum.ActiveDirectory", () => import("./Changelog"));
28
28
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ import { TypeContext } from '@framework/TypeContext'
4
4
import { useForceUpdate } from '@framework/Hooks';
5
5
import { ActiveDirectoryConfigurationEmbedded } from './Signum.Authorization.ActiveDirectory';
6
6
7
-
export default function ActiveDirectoryConfiguration(p: { ctx: TypeContext<ActiveDirectoryConfigurationEmbedded> }) {
7
+
export default function ActiveDirectoryConfiguration(p: { ctx: TypeContext<ActiveDirectoryConfigurationEmbedded> }): React.JSX.Element {
8
8
const ctx = p.ctx;
9
9
const forceUpdate = useForceUpdate();
10
10
const ctxb = ctx.subCtx({ formGroupStyle: "Basic" });
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ import { LoginAuthMessage } from '../Signum.Authorization/Signum.Authorization'
6
6
import { ResetPasswordClient } from './ResetPasswordClient'
7
7
import { useStateWithPromise } from '@framework/Hooks'
8
8
9
-
export default function ForgotPasswordEmailPage() {
9
+
export default function ForgotPasswordEmailPage(): React.JSX.Element {
10
10
11
11
const [modelState, setModelState] = useStateWithPromise<ModelState | undefined>(undefined);
12
12
const [success, setSuccess] = React.useState(false);
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ import { useStateWithPromise } from '@framework/Hooks'
10
10
import { QueryString } from '@framework/QueryString'
11
11
import { LoginAuthMessage } from '../Signum.Authorization/Signum.Authorization'
12
12
13
-
export default function ResetPassword() {
13
+
export default function ResetPassword(): React.JSX.Element {
14
14
const location = useLocation();
15
15
16
16
const [modelState, setModelState] = useStateWithPromise<ModelState | undefined>(undefined);
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4