@plurid/plurid-ui-components-react 0.0.0-2 → 0.0.0-20
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/distribution/components/pluridal/containers/EntityView/index.d.ts +32 -0
- package/distribution/components/pluridal/containers/EntityView/logic.d.ts +8 -0
- package/distribution/components/pluridal/containers/EntityView/styled.d.ts +25 -0
- package/distribution/components/pluridal/containers/index.d.ts +5 -0
- package/distribution/components/pluridal/head/Head/index.d.ts +48 -0
- package/distribution/components/pluridal/head/index.d.ts +16 -0
- package/distribution/components/pluridal/index.d.ts +40 -4
- package/distribution/components/pluridal/notifications/Notification/index.d.ts +3 -3
- package/distribution/components/pluridal/notifications/Notification/styled.d.ts +4 -1
- package/distribution/components/pluridal/notifications/Notifications/index.d.ts +15 -6
- package/distribution/components/pluridal/notifications/index.d.ts +14 -1
- package/distribution/components/pluridal/sitting/SittingTray/components/Sittings/index.d.ts +4 -1
- package/distribution/components/pluridal/sitting/SittingTray/components/StateImage/index.d.ts +4 -1
- package/distribution/components/pluridal/sitting/SittingTray/components/StateLine/index.d.ts +4 -1
- package/distribution/components/pluridal/sitting/SittingTray/components/StateLink/index.d.ts +4 -1
- package/distribution/components/pluridal/sitting/SittingTray/index.d.ts +4 -2
- package/distribution/components/pluridal/sitting/index.d.ts +3 -1
- package/distribution/components/pluridal/toolbars/ToolbarControls/index.d.ts +1 -0
- package/distribution/components/pluridal/toolbars/ToolbarControls/styled.d.ts +1 -1
- package/distribution/components/pluridal/toolbars/ToolbarGeneral/index.d.ts +6 -4
- package/distribution/components/pluridal/toolbars/ToolbarSpecific/index.d.ts +4 -1
- package/distribution/components/pluridal/toolbars/index.d.ts +6 -2
- package/distribution/components/universal/form/FormLeftRight/index.d.ts +1 -0
- package/distribution/components/universal/form/Formitem/index.d.ts +1 -0
- package/distribution/components/universal/form/Formline/index.d.ts +1 -0
- package/distribution/components/universal/index.d.ts +3 -0
- package/distribution/components/universal/inputs/Dropdown/index.d.ts +1 -0
- package/distribution/components/universal/inputs/EntityPill/index.d.ts +11 -0
- package/distribution/components/universal/inputs/EntityPill/styled.d.ts +5 -0
- package/distribution/components/universal/inputs/EntityPillGroup/index.d.ts +13 -0
- package/distribution/components/universal/inputs/EntityPillGroup/styled.d.ts +5 -0
- package/distribution/components/universal/inputs/InputDescriptor/index.d.ts +3 -1
- package/distribution/components/universal/inputs/InputSwitch/index.d.ts +6 -1
- package/distribution/components/universal/inputs/Switch/index.d.ts +1 -0
- package/distribution/components/universal/inputs/Switch/styled.d.ts +1 -0
- package/distribution/components/universal/inputs/Textline/index.d.ts +5 -3
- package/distribution/components/universal/inputs/index.d.ts +2 -0
- package/distribution/components/universal/markers/Spinner/index.d.ts +2 -0
- package/distribution/components/universal/varia/CopyableLine/index.d.ts +12 -0
- package/distribution/components/universal/varia/NewPageLink/index.d.ts +14 -0
- package/distribution/components/universal/varia/NewPageLink/styled.d.ts +3 -0
- package/distribution/components/universal/varia/ScrollableLine/index.d.ts +0 -3
- package/distribution/components/universal/varia/ScrollableLine/styled.d.ts +0 -3
- package/distribution/components/universal/varia/index.d.ts +1 -0
- package/distribution/data/interfaces/index.d.ts +4 -0
- package/distribution/index.d.ts +77 -2
- package/distribution/index.es.js +3153 -3252
- package/distribution/index.es.js.map +1 -1
- package/distribution/index.js +3235 -3262
- package/distribution/index.js.map +1 -1
- package/package.json +39 -52
- package/distribution/data/constants/index.d.ts +0 -8
- package/distribution/utilities/react/index.d.ts +0 -10
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
import { SearchTerm } from './logic';
|
|
4
|
+
export interface EntityViewProperties {
|
|
5
|
+
entities: any[];
|
|
6
|
+
searchFields: string[];
|
|
7
|
+
generalTheme: Theme;
|
|
8
|
+
interactionTheme: Theme;
|
|
9
|
+
rowsHeader: JSX.Element;
|
|
10
|
+
rowTemplate: string;
|
|
11
|
+
rows?: JSX.Element[];
|
|
12
|
+
noRows: string;
|
|
13
|
+
abstractRowRenderer: (columns: string[], data: Record<string, any>, methods: Record<string, any>) => JSX.Element;
|
|
14
|
+
actionButtonText?: string;
|
|
15
|
+
placeholderText?: string;
|
|
16
|
+
scrollThrottleTime?: number;
|
|
17
|
+
loading?: number;
|
|
18
|
+
rowRenderFields?: string[];
|
|
19
|
+
rowRenderMethods?: any;
|
|
20
|
+
actionButtonClick?: () => void;
|
|
21
|
+
filterUpdate?: (value: any) => void;
|
|
22
|
+
refresh?: () => void;
|
|
23
|
+
actionScrollBottom?: (entities: any[]) => void;
|
|
24
|
+
customRowRenderer?: (columns: string[], data: Record<string, any>, methods: Record<string, any>) => JSX.Element[];
|
|
25
|
+
}
|
|
26
|
+
export interface EntityViewRefAttributes {
|
|
27
|
+
getSearchTerms: () => SearchTerm[];
|
|
28
|
+
resetFilterValue: () => void;
|
|
29
|
+
}
|
|
30
|
+
export declare type EntityViewType = EntityViewProperties & React.RefAttributes<EntityViewRefAttributes>;
|
|
31
|
+
declare const EntityView: React.ForwardRefExoticComponent<EntityViewType>;
|
|
32
|
+
export default EntityView;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
2
|
+
export interface IStyledEntityView {
|
|
3
|
+
theme: Theme;
|
|
4
|
+
}
|
|
5
|
+
export declare const StyledEntityView: import("styled-components").StyledComponent<"div", any, IStyledEntityView, never>;
|
|
6
|
+
export declare const StyledEntityViewTop: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
+
export declare const StyledEntityFilterLine: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
+
export interface IStyledEntityFilterCancel {
|
|
9
|
+
filterLength: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const StyledEntityFilterCancel: import("styled-components").StyledComponent<"div", any, IStyledEntityFilterCancel, never>;
|
|
12
|
+
export declare const StyledTopButtons: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
13
|
+
export declare const StyledEntityListContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
14
|
+
export interface IStyledEntityList {
|
|
15
|
+
theme: Theme;
|
|
16
|
+
header?: boolean;
|
|
17
|
+
loading?: number;
|
|
18
|
+
}
|
|
19
|
+
export declare const StyledEntityList: import("styled-components").StyledComponent<"ul", any, IStyledEntityList, never>;
|
|
20
|
+
export interface IStyledEntityListItem {
|
|
21
|
+
rowTemplate: string;
|
|
22
|
+
}
|
|
23
|
+
export declare const StyledEntityListItem: import("styled-components").StyledComponent<"li", any, IStyledEntityListItem, never>;
|
|
24
|
+
export declare const StyledActionButton: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
25
|
+
export declare const StyledNoRows: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AnyAction } from '@reduxjs/toolkit';
|
|
3
|
+
import { StateOfAny, head } from '@plurid/plurid-ui-state-react';
|
|
4
|
+
export declare type HeadState = StateOfAny & {
|
|
5
|
+
head: head.HeadState;
|
|
6
|
+
};
|
|
7
|
+
export declare type HeadSelectors = StateOfAny & {
|
|
8
|
+
head: typeof head.selectors;
|
|
9
|
+
};
|
|
10
|
+
export interface HeadDefaults {
|
|
11
|
+
robots?: string;
|
|
12
|
+
viewport?: string;
|
|
13
|
+
faviconIcon?: string;
|
|
14
|
+
favicon16?: string;
|
|
15
|
+
favicon32?: string;
|
|
16
|
+
manifest?: string;
|
|
17
|
+
themeColor?: string;
|
|
18
|
+
apiDomain?: string;
|
|
19
|
+
canonicalURL?: string;
|
|
20
|
+
ogImageWidth?: string;
|
|
21
|
+
ogImageHeight?: string;
|
|
22
|
+
ogSiteName?: string;
|
|
23
|
+
appleTouchIcon?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface HeadOwnProperties {
|
|
26
|
+
Helmet: any;
|
|
27
|
+
defaults?: Partial<head.HeadState> & HeadDefaults;
|
|
28
|
+
selectors: HeadSelectors;
|
|
29
|
+
context: React.Context<any>;
|
|
30
|
+
children?: React.ReactNode;
|
|
31
|
+
}
|
|
32
|
+
export interface HeadStateProperties {
|
|
33
|
+
stateHead: head.HeadState;
|
|
34
|
+
}
|
|
35
|
+
export interface HeadDispatchProperties {
|
|
36
|
+
}
|
|
37
|
+
export declare type HeadProperties = HeadOwnProperties & HeadStateProperties & HeadDispatchProperties;
|
|
38
|
+
declare const ConnectedHead: import("react-redux").ConnectedComponent<React.FC<HeadProperties>, {
|
|
39
|
+
context: React.Context<any>;
|
|
40
|
+
Helmet: any;
|
|
41
|
+
defaults?: (Partial<head.HeadState> & HeadDefaults) | undefined;
|
|
42
|
+
selectors: StateOfAny & {
|
|
43
|
+
head: typeof head.selectors;
|
|
44
|
+
};
|
|
45
|
+
children?: React.ReactNode;
|
|
46
|
+
store?: import("@reduxjs/toolkit").Store<any, AnyAction> | undefined;
|
|
47
|
+
}>;
|
|
48
|
+
export default ConnectedHead;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const head: {
|
|
3
|
+
Head: import("react-redux").ConnectedComponent<import("react").FC<import("./Head").HeadProperties>, {
|
|
4
|
+
context: import("react").Context<any>;
|
|
5
|
+
Helmet: any;
|
|
6
|
+
defaults?: (Partial<import("@plurid/plurid-ui-state-react/distribution/modules/head").HeadState> & import("./Head").HeadDefaults) | undefined;
|
|
7
|
+
selectors: import("@plurid/plurid-ui-state-react").StateOfAny & {
|
|
8
|
+
head: {
|
|
9
|
+
getHead: (state: import("@plurid/plurid-ui-state-react").StateWithSlice<"head", import("@plurid/plurid-ui-state-react/distribution/modules/head").HeadState>) => import("@plurid/plurid-ui-state-react/distribution/modules/head").HeadState;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
children?: import("react").ReactNode;
|
|
13
|
+
store?: import("@reduxjs/toolkit").Store<any, import("@reduxjs/toolkit").AnyAction> | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
};
|
|
16
|
+
export default head;
|
|
@@ -1,17 +1,53 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const pluridal: {
|
|
3
|
+
containers: {
|
|
4
|
+
EntityView: import("react").ForwardRefExoticComponent<import("./containers/EntityView").EntityViewType>;
|
|
5
|
+
};
|
|
6
|
+
head: {
|
|
7
|
+
Head: import("react-redux").ConnectedComponent<import("react").FC<import("./head/Head").HeadProperties>, {
|
|
8
|
+
context: import("react").Context<any>;
|
|
9
|
+
Helmet: any;
|
|
10
|
+
defaults?: (Partial<import("@plurid/plurid-ui-state-react/distribution/modules/head").HeadState> & import("./head/Head").HeadDefaults) | undefined;
|
|
11
|
+
selectors: import("@plurid/plurid-ui-state-react").StateOfAny & {
|
|
12
|
+
head: {
|
|
13
|
+
getHead: (state: import("@plurid/plurid-ui-state-react").StateWithSlice<"head", import("@plurid/plurid-ui-state-react/distribution/modules/head").HeadState>) => import("@plurid/plurid-ui-state-react/distribution/modules/head").HeadState;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
children?: import("react").ReactNode;
|
|
17
|
+
store?: import("@reduxjs/toolkit").Store<any, import("@reduxjs/toolkit").AnyAction> | undefined;
|
|
18
|
+
}>;
|
|
19
|
+
};
|
|
3
20
|
notifications: {
|
|
4
21
|
Notification: import("react").FC<import("./notifications/Notification").NotificationOwnProperties>;
|
|
5
|
-
Notifications: import("react-redux").ConnectedComponent<import("react").FC<import("./notifications/Notifications").NotificationsProperties>,
|
|
22
|
+
Notifications: import("react-redux").ConnectedComponent<import("react").FC<import("./notifications/Notifications").NotificationsProperties>, {
|
|
23
|
+
context: import("react").Context<any>;
|
|
24
|
+
selectors: import("@plurid/plurid-ui-state-react").StateOfAny & {
|
|
25
|
+
themes: {
|
|
26
|
+
getGeneralTheme: (state: import("@plurid/plurid-ui-state-react").StateWithSlice<"themes", import("@plurid/plurid-ui-state-react/distribution/modules/themes").ThemesState>) => import("@plurid/plurid-themes/distribution").Theme;
|
|
27
|
+
getInteractionTheme: (state: import("@plurid/plurid-ui-state-react").StateWithSlice<"themes", import("@plurid/plurid-ui-state-react/distribution/modules/themes").ThemesState>) => import("@plurid/plurid-themes/distribution").Theme;
|
|
28
|
+
};
|
|
29
|
+
notifications: {
|
|
30
|
+
getAll: (state: import("@plurid/plurid-ui-state-react").StateWithSlice<"notifications", import("@plurid/plurid-ui-state-react/distribution/modules/notifications").NotificationsState>) => import("@plurid/plurid-ui-state-react/distribution/modules/notifications").NotificationsState;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
elements?: Record<string, JSX.Element> | undefined;
|
|
34
|
+
store?: import("@reduxjs/toolkit").Store<any, import("@reduxjs/toolkit").AnyAction> | undefined;
|
|
35
|
+
}>;
|
|
6
36
|
};
|
|
7
37
|
sitting: {
|
|
8
|
-
SittingTray: import("react-redux").ConnectedComponent<import("react").FC<import("./sitting/SittingTray").SittingTrayProperties>,
|
|
38
|
+
SittingTray: import("react-redux").ConnectedComponent<import("react").FC<import("./sitting/SittingTray").SittingTrayProperties>, {
|
|
39
|
+
[x: string]: any;
|
|
40
|
+
}>;
|
|
9
41
|
};
|
|
10
42
|
toolbars: {
|
|
11
43
|
HorizontalToolbarButton: import("react").FC<import("./toolbars/HorizontalToolbarButton").HorizontalToolbarButtonOwnProperties>;
|
|
12
44
|
ToolbarControls: import("react").FC<import("./toolbars/ToolbarControls").ToolbarControlsOwnProperties>;
|
|
13
|
-
ToolbarGeneral: import("react-redux").ConnectedComponent<import("react").FC<import("./toolbars/ToolbarGeneral").ToolbarGeneralProperties>,
|
|
14
|
-
|
|
45
|
+
ToolbarGeneral: import("react-redux").ConnectedComponent<import("react").FC<import("./toolbars/ToolbarGeneral").ToolbarGeneralProperties>, {
|
|
46
|
+
[x: string]: any;
|
|
47
|
+
}>;
|
|
48
|
+
ToolbarSpecific: import("react-redux").ConnectedComponent<import("react").FC<import("./toolbars/ToolbarSpecific").ToolbarSpecificProperties>, {
|
|
49
|
+
[x: string]: any;
|
|
50
|
+
}>;
|
|
15
51
|
VerticalToolbarButton: import("react").FC<import("./toolbars/VerticalToolbarButton").VerticalToolbarButtonOwnProperties>;
|
|
16
52
|
};
|
|
17
53
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { notifications } from '@plurid/plurid-ui-state-react';
|
|
3
2
|
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
import { DispatchAction, Notification, notifications } from '@plurid/plurid-ui-state-react';
|
|
4
4
|
export interface NotificationOwnProperties {
|
|
5
|
-
data:
|
|
5
|
+
data: Notification;
|
|
6
6
|
theme: Theme;
|
|
7
|
-
remove:
|
|
7
|
+
remove: DispatchAction<typeof notifications.actions.remove>;
|
|
8
8
|
elements?: Record<string, JSX.Element>;
|
|
9
9
|
style?: React.CSSProperties;
|
|
10
10
|
className?: string;
|
|
@@ -3,5 +3,8 @@ export interface IStyledNotification {
|
|
|
3
3
|
theme: Theme;
|
|
4
4
|
}
|
|
5
5
|
export declare const StyledNotification: import("styled-components").StyledComponent<"div", any, IStyledNotification, never>;
|
|
6
|
-
export
|
|
6
|
+
export interface IStyledNotificationContent {
|
|
7
|
+
wordBreak: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const StyledNotificationContent: import("styled-components").StyledComponent<"div", any, IStyledNotificationContent, never>;
|
|
7
10
|
export declare const StyledNotificationClose: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { AnyAction } from '@reduxjs/toolkit';
|
|
3
3
|
import { Theme } from '@plurid/plurid-themes';
|
|
4
|
+
import { DispatchAction, StateOfAny, themes as themesStateService, notifications as notificationsStateService, Notification as INotification } from '@plurid/plurid-ui-state-react';
|
|
4
5
|
export declare type NotificationsState = StateOfAny & {
|
|
5
|
-
themes: themesStateService.
|
|
6
|
-
notifications: notificationsStateService.
|
|
6
|
+
themes: themesStateService.ThemesState;
|
|
7
|
+
notifications: notificationsStateService.NotificationsState;
|
|
7
8
|
};
|
|
8
9
|
export declare type NotificationsSelectors = StateOfAny & {
|
|
9
10
|
themes: typeof themesStateService.selectors;
|
|
@@ -16,11 +17,19 @@ export interface NotificationsOwnProperties {
|
|
|
16
17
|
}
|
|
17
18
|
export interface NotificationsStateProperties {
|
|
18
19
|
stateGeneralTheme: Theme;
|
|
19
|
-
stateNotifications:
|
|
20
|
+
stateNotifications: INotification[];
|
|
20
21
|
}
|
|
21
22
|
export interface NotificationsDispatchProperties {
|
|
22
|
-
dispatchRemoveNotification: typeof notificationsStateService.actions.
|
|
23
|
+
dispatchRemoveNotification: DispatchAction<typeof notificationsStateService.actions.remove>;
|
|
23
24
|
}
|
|
24
25
|
export declare type NotificationsProperties = NotificationsOwnProperties & NotificationsStateProperties & NotificationsDispatchProperties;
|
|
25
|
-
declare const ConnectedNotifications: import("react-redux").ConnectedComponent<React.FC<NotificationsProperties>,
|
|
26
|
+
declare const ConnectedNotifications: import("react-redux").ConnectedComponent<React.FC<NotificationsProperties>, {
|
|
27
|
+
context: React.Context<any>;
|
|
28
|
+
selectors: StateOfAny & {
|
|
29
|
+
themes: typeof themesStateService.selectors;
|
|
30
|
+
notifications: typeof notificationsStateService.selectors;
|
|
31
|
+
};
|
|
32
|
+
elements?: Record<string, JSX.Element> | undefined;
|
|
33
|
+
store?: import("@reduxjs/toolkit").Store<any, AnyAction> | undefined;
|
|
34
|
+
}>;
|
|
26
35
|
export default ConnectedNotifications;
|
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const notifications: {
|
|
3
3
|
Notification: import("react").FC<import("./Notification").NotificationOwnProperties>;
|
|
4
|
-
Notifications: import("react-redux").ConnectedComponent<import("react").FC<import("./Notifications").NotificationsProperties>,
|
|
4
|
+
Notifications: import("react-redux").ConnectedComponent<import("react").FC<import("./Notifications").NotificationsProperties>, {
|
|
5
|
+
context: import("react").Context<any>;
|
|
6
|
+
selectors: import("@plurid/plurid-ui-state-react").StateOfAny & {
|
|
7
|
+
themes: {
|
|
8
|
+
getGeneralTheme: (state: import("@plurid/plurid-ui-state-react").StateWithSlice<"themes", import("@plurid/plurid-ui-state-react/distribution/modules/themes").ThemesState>) => import("@plurid/plurid-themes/distribution").Theme;
|
|
9
|
+
getInteractionTheme: (state: import("@plurid/plurid-ui-state-react").StateWithSlice<"themes", import("@plurid/plurid-ui-state-react/distribution/modules/themes").ThemesState>) => import("@plurid/plurid-themes/distribution").Theme;
|
|
10
|
+
};
|
|
11
|
+
notifications: {
|
|
12
|
+
getAll: (state: import("@plurid/plurid-ui-state-react").StateWithSlice<"notifications", import("@plurid/plurid-ui-state-react/distribution/modules/notifications").NotificationsState>) => import("@plurid/plurid-ui-state-react/distribution/modules/notifications").NotificationsState;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
elements?: Record<string, JSX.Element> | undefined;
|
|
16
|
+
store?: import("@reduxjs/toolkit").Store<any, import("@reduxjs/toolkit").AnyAction> | undefined;
|
|
17
|
+
}>;
|
|
5
18
|
};
|
|
6
19
|
export default notifications;
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { Theme } from '@plurid/plurid-themes';
|
|
3
3
|
export interface SittingsOwnProperties {
|
|
4
4
|
selectors: any;
|
|
5
|
+
context: React.Context<any>;
|
|
5
6
|
}
|
|
6
7
|
export interface SittingsStateProperties {
|
|
7
8
|
stateInteractionTheme: Theme;
|
|
@@ -9,5 +10,7 @@ export interface SittingsStateProperties {
|
|
|
9
10
|
export interface SittingsDispatchProperties {
|
|
10
11
|
}
|
|
11
12
|
export declare type SittingsProperties = SittingsOwnProperties & SittingsStateProperties & SittingsDispatchProperties;
|
|
12
|
-
declare const ConnectedSittings: import("react-redux").ConnectedComponent<React.FC<SittingsProperties>,
|
|
13
|
+
declare const ConnectedSittings: import("react-redux").ConnectedComponent<React.FC<SittingsProperties>, {
|
|
14
|
+
[x: string]: any;
|
|
15
|
+
}>;
|
|
13
16
|
export default ConnectedSittings;
|
package/distribution/components/pluridal/sitting/SittingTray/components/StateImage/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { Theme } from '@plurid/plurid-themes';
|
|
3
3
|
export interface StateImageOwnProperties {
|
|
4
4
|
selectors: any;
|
|
5
|
+
context: React.Context<any>;
|
|
5
6
|
}
|
|
6
7
|
export interface StateImageStateProperties {
|
|
7
8
|
stateInteractionTheme: Theme;
|
|
@@ -9,5 +10,7 @@ export interface StateImageStateProperties {
|
|
|
9
10
|
export interface StateImageDispatchProperties {
|
|
10
11
|
}
|
|
11
12
|
export declare type StateImageProperties = StateImageOwnProperties & StateImageStateProperties & StateImageDispatchProperties;
|
|
12
|
-
declare const ConnectedStateImage: import("react-redux").ConnectedComponent<React.FC<StateImageProperties>,
|
|
13
|
+
declare const ConnectedStateImage: import("react-redux").ConnectedComponent<React.FC<StateImageProperties>, {
|
|
14
|
+
[x: string]: any;
|
|
15
|
+
}>;
|
|
13
16
|
export default ConnectedStateImage;
|
package/distribution/components/pluridal/sitting/SittingTray/components/StateLine/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface StateLineProperties {
|
|
3
3
|
theme: any;
|
|
4
|
+
context: React.Context<any>;
|
|
4
5
|
}
|
|
5
|
-
declare const ConnectedStateLine: import("react-redux").ConnectedComponent<React.FC<StateLineProperties>,
|
|
6
|
+
declare const ConnectedStateLine: import("react-redux").ConnectedComponent<React.FC<StateLineProperties>, {
|
|
7
|
+
[x: string]: any;
|
|
8
|
+
}>;
|
|
6
9
|
export default ConnectedStateLine;
|
package/distribution/components/pluridal/sitting/SittingTray/components/StateLink/index.d.ts
CHANGED
|
@@ -2,6 +2,9 @@ import React from 'react';
|
|
|
2
2
|
export interface StateLinkProperties {
|
|
3
3
|
theme: any;
|
|
4
4
|
currentLink: string;
|
|
5
|
+
context: React.Context<any>;
|
|
5
6
|
}
|
|
6
|
-
declare const ConnectedStateLink: import("react-redux").ConnectedComponent<React.FC<StateLinkProperties>,
|
|
7
|
+
declare const ConnectedStateLink: import("react-redux").ConnectedComponent<React.FC<StateLinkProperties>, {
|
|
8
|
+
[x: string]: any;
|
|
9
|
+
}>;
|
|
7
10
|
export default ConnectedStateLink;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { Theme } from '@plurid/plurid-themes';
|
|
3
3
|
export interface SittingTrayOwnProperties {
|
|
4
4
|
selectors: any;
|
|
5
|
-
context: any
|
|
5
|
+
context: React.Context<any>;
|
|
6
6
|
}
|
|
7
7
|
export interface SittingTrayStateProperties {
|
|
8
8
|
stateInteractionTheme: Theme;
|
|
@@ -10,5 +10,7 @@ export interface SittingTrayStateProperties {
|
|
|
10
10
|
export interface SittingTrayDispatchProperties {
|
|
11
11
|
}
|
|
12
12
|
export declare type SittingTrayProperties = SittingTrayOwnProperties & SittingTrayStateProperties & SittingTrayDispatchProperties;
|
|
13
|
-
declare const ConnectedSittingTray: import("react-redux").ConnectedComponent<React.FC<SittingTrayProperties>,
|
|
13
|
+
declare const ConnectedSittingTray: import("react-redux").ConnectedComponent<React.FC<SittingTrayProperties>, {
|
|
14
|
+
[x: string]: any;
|
|
15
|
+
}>;
|
|
14
16
|
export default ConnectedSittingTray;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const sitting: {
|
|
3
|
-
SittingTray: import("react-redux").ConnectedComponent<import("react").FC<import("./SittingTray").SittingTrayProperties>,
|
|
3
|
+
SittingTray: import("react-redux").ConnectedComponent<import("react").FC<import("./SittingTray").SittingTrayProperties>, {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
}>;
|
|
4
6
|
};
|
|
5
7
|
export default sitting;
|
|
@@ -6,6 +6,7 @@ export interface ToolbarControlsOwnProperties {
|
|
|
6
6
|
theme?: Theme;
|
|
7
7
|
style?: React.CSSProperties;
|
|
8
8
|
className?: string;
|
|
9
|
+
children?: React.ReactNode;
|
|
9
10
|
}
|
|
10
11
|
export declare type ToolbarControlsProperties = ToolbarControlsOwnProperties;
|
|
11
12
|
declare const ToolbarControls: React.FC<ToolbarControlsProperties>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { sitting } from '@plurid/plurid-ui-state-react';
|
|
3
2
|
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
import { DispatchAction, sitting } from '@plurid/plurid-ui-state-react';
|
|
4
4
|
import { ToolbarButton } from "../../../../data/interfaces";
|
|
5
5
|
export interface ToolbarGeneralOwnProperties {
|
|
6
6
|
buttons: ToolbarButton[];
|
|
7
7
|
selectors: any;
|
|
8
|
-
context: any
|
|
8
|
+
context: React.Context<any>;
|
|
9
9
|
handleClick: (type: any) => void;
|
|
10
10
|
speakButton?: boolean;
|
|
11
11
|
sittingButton?: boolean;
|
|
@@ -17,8 +17,10 @@ export interface ToolbarGeneralStateProperties {
|
|
|
17
17
|
stateInteractionTheme: Theme;
|
|
18
18
|
}
|
|
19
19
|
export interface ToolbarGeneralDispatchProperties {
|
|
20
|
-
dispatchToggleSittingTray: typeof sitting.actions.toggleSittingTray
|
|
20
|
+
dispatchToggleSittingTray: DispatchAction<typeof sitting.actions.toggleSittingTray>;
|
|
21
21
|
}
|
|
22
22
|
export declare type ToolbarGeneralProperties = ToolbarGeneralOwnProperties & ToolbarGeneralStateProperties & ToolbarGeneralDispatchProperties;
|
|
23
|
-
declare const ConnectedToolbarGeneral: import("react-redux").ConnectedComponent<React.FC<ToolbarGeneralProperties>,
|
|
23
|
+
declare const ConnectedToolbarGeneral: import("react-redux").ConnectedComponent<React.FC<ToolbarGeneralProperties>, {
|
|
24
|
+
[x: string]: any;
|
|
25
|
+
}>;
|
|
24
26
|
export default ConnectedToolbarGeneral;
|
|
@@ -8,6 +8,7 @@ export interface ToolbarSpecificOwnProperties {
|
|
|
8
8
|
activeType: any;
|
|
9
9
|
selectors: any;
|
|
10
10
|
position?: keyof typeof HorizontalPositions;
|
|
11
|
+
children?: React.ReactNode;
|
|
11
12
|
}
|
|
12
13
|
export interface ToolbarSpecificStateProperties {
|
|
13
14
|
stateToolbars: any;
|
|
@@ -17,5 +18,7 @@ export interface ToolbarSpecificStateProperties {
|
|
|
17
18
|
export interface ToolbarSpecificDispatchProperties {
|
|
18
19
|
}
|
|
19
20
|
export declare type ToolbarSpecificProperties = ToolbarSpecificOwnProperties & ToolbarSpecificStateProperties & ToolbarSpecificDispatchProperties;
|
|
20
|
-
declare const ConnectedToolbarSpecific: import("react-redux").ConnectedComponent<React.FC<ToolbarSpecificProperties>,
|
|
21
|
+
declare const ConnectedToolbarSpecific: import("react-redux").ConnectedComponent<React.FC<ToolbarSpecificProperties>, {
|
|
22
|
+
[x: string]: any;
|
|
23
|
+
}>;
|
|
21
24
|
export default ConnectedToolbarSpecific;
|
|
@@ -2,8 +2,12 @@
|
|
|
2
2
|
declare const toolbars: {
|
|
3
3
|
HorizontalToolbarButton: import("react").FC<import("./HorizontalToolbarButton").HorizontalToolbarButtonOwnProperties>;
|
|
4
4
|
ToolbarControls: import("react").FC<import("./ToolbarControls").ToolbarControlsOwnProperties>;
|
|
5
|
-
ToolbarGeneral: import("react-redux").ConnectedComponent<import("react").FC<import("./ToolbarGeneral").ToolbarGeneralProperties>,
|
|
6
|
-
|
|
5
|
+
ToolbarGeneral: import("react-redux").ConnectedComponent<import("react").FC<import("./ToolbarGeneral").ToolbarGeneralProperties>, {
|
|
6
|
+
[x: string]: any;
|
|
7
|
+
}>;
|
|
8
|
+
ToolbarSpecific: import("react-redux").ConnectedComponent<import("react").FC<import("./ToolbarSpecific").ToolbarSpecificProperties>, {
|
|
9
|
+
[x: string]: any;
|
|
10
|
+
}>;
|
|
7
11
|
VerticalToolbarButton: import("react").FC<import("./VerticalToolbarButton").VerticalToolbarButtonOwnProperties>;
|
|
8
12
|
};
|
|
9
13
|
export default toolbars;
|
|
@@ -17,6 +17,8 @@ declare const universal: {
|
|
|
17
17
|
};
|
|
18
18
|
inputs: {
|
|
19
19
|
Dropdown: import("react").FC<import("./inputs/Dropdown").DropdownProperties>;
|
|
20
|
+
EntityPill: import("react").FC<import("./inputs/EntityPill").EntityPillProperties>;
|
|
21
|
+
EntityPillGroup: import("react").FC<import("./inputs/EntityPillGroup").EntityPillGroupProperties>;
|
|
20
22
|
InputBox: import("react").FC<import("./inputs/InputBox").InputBoxProperties>;
|
|
21
23
|
InputDescriptor: import("react").FC<import("./inputs/InputDescriptor").InputDescriptorProperties>;
|
|
22
24
|
InputLine: import("react").FC<import("./inputs/InputLine").InputLineProperties>;
|
|
@@ -39,6 +41,7 @@ declare const universal: {
|
|
|
39
41
|
};
|
|
40
42
|
varia: {
|
|
41
43
|
CopyableLine: import("react").FC<import("./varia/CopyableLine").CopyableLineProperties>;
|
|
44
|
+
NewPageLink: import("react").FC<import("./varia/NewPageLink").NewPageLinkProperties>;
|
|
42
45
|
ScrollableLine: import("react").FC<import("./varia/ScrollableLine").ScrollableLineProperties>;
|
|
43
46
|
TextItem: import("react").FC<import("./varia/TextItem").TextItemProperties>;
|
|
44
47
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
export interface EntityPillProperties {
|
|
4
|
+
id: string;
|
|
5
|
+
remove: (id: string) => void;
|
|
6
|
+
text?: string;
|
|
7
|
+
theme?: Theme;
|
|
8
|
+
style?: React.CSSProperties;
|
|
9
|
+
}
|
|
10
|
+
declare const EntityPill: React.FC<EntityPillProperties>;
|
|
11
|
+
export default EntityPill;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
import { PluridUIEntityPillData } from "../../../../data/interfaces";
|
|
4
|
+
export interface EntityPillGroupProperties {
|
|
5
|
+
entities: (string | PluridUIEntityPillData)[];
|
|
6
|
+
remove: (id: string) => void;
|
|
7
|
+
keyFix?: string;
|
|
8
|
+
theme?: Theme;
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
pillStyle?: React.CSSProperties;
|
|
11
|
+
}
|
|
12
|
+
declare const EntityPillGroup: React.FC<EntityPillGroupProperties>;
|
|
13
|
+
export default EntityPillGroup;
|
|
@@ -3,7 +3,9 @@ import { Theme } from '@plurid/plurid-themes';
|
|
|
3
3
|
export interface InputDescriptorProperties {
|
|
4
4
|
name: string;
|
|
5
5
|
show: boolean;
|
|
6
|
-
theme
|
|
6
|
+
theme?: Theme;
|
|
7
|
+
style?: React.CSSProperties;
|
|
8
|
+
className?: string;
|
|
7
9
|
}
|
|
8
10
|
declare const InputDescriptor: React.FC<InputDescriptorProperties>;
|
|
9
11
|
export default InputDescriptor;
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
import { SwitchProperties } from '../Switch';
|
|
2
4
|
export interface InputSwitchProperties {
|
|
3
5
|
name: string;
|
|
4
6
|
checked: boolean;
|
|
5
|
-
theme: any;
|
|
6
7
|
atChange: () => void;
|
|
8
|
+
theme?: Theme;
|
|
7
9
|
compact?: boolean;
|
|
10
|
+
switch?: SwitchProperties;
|
|
11
|
+
style?: React.CSSProperties;
|
|
12
|
+
className?: string;
|
|
8
13
|
}
|
|
9
14
|
declare const InputSwitch: React.FC<InputSwitchProperties>;
|
|
10
15
|
export default InputSwitch;
|