@geowiki/ui 0.0.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/LICENSE +201 -0
- package/README.md +67 -0
- package/dist/chunk-IIIL7C6U.mjs +65 -0
- package/dist/cluster-map-YODMYBPK.mjs +194 -0
- package/dist/index.d.mts +1088 -0
- package/dist/index.d.ts +1088 -0
- package/dist/index.js +11775 -0
- package/dist/index.mjs +11613 -0
- package/dist/styles.css +1 -0
- package/package.json +136 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,1088 @@
|
|
|
1
|
+
import { LinkButtonItem } from '@geowiki/design-system';
|
|
2
|
+
export * from '@geowiki/design-system';
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import react__default, { Dispatch, SetStateAction } from 'react';
|
|
5
|
+
import { DefaultSettings, BaseProp } from '@geowiki/core';
|
|
6
|
+
import { ProfileDto, PagedResultDtoOfTenantDto, IdentityUserUpdateDto, PagedResultDtoOfIdentityUserDto, IdentityRoleUpdateDto, PagedResultDtoOfIdentityRoleDto, ExternalNewsDto, KeyValuePairOfString_String, ClusterDto, FarmerClusterNewsDto } from '@geowiki/api-proxy';
|
|
7
|
+
import { GeoWikiSettingsItemDto, FeatureItemItemDto, LinkPartDto, ApplicationItemDto, PublicationItemDto, HtmlLinkItemDto } from '@geowiki/cms-proxy';
|
|
8
|
+
import { OnChangeValue, ActionMeta } from 'react-select';
|
|
9
|
+
|
|
10
|
+
interface FooterProps$1 {
|
|
11
|
+
settings: DefaultSettings;
|
|
12
|
+
sessionStatus?: string;
|
|
13
|
+
}
|
|
14
|
+
declare const Footer: ({ settings, sessionStatus }: FooterProps$1) => react.JSX.Element;
|
|
15
|
+
|
|
16
|
+
declare const getSelectTheme: (selectTheme: any, theme: any) => any;
|
|
17
|
+
declare const customSelectInputStyles: {
|
|
18
|
+
input: (base: any) => any;
|
|
19
|
+
};
|
|
20
|
+
declare const formatTagString: (tag: string) => string;
|
|
21
|
+
declare function formatDate(input: string | number, monthFormat: any): string;
|
|
22
|
+
declare enum Permissions {
|
|
23
|
+
ROLES = "AbpIdentity.Roles",
|
|
24
|
+
USERS = "AbpIdentity.Users",
|
|
25
|
+
TENANTS = "AbpTenantManagement.Tenants",
|
|
26
|
+
MANAGE_HOST_FEATURES = "FeatureManagement.ManageHostFeatures",
|
|
27
|
+
SETTINGS = "SettingManagement.Emailing"
|
|
28
|
+
}
|
|
29
|
+
declare enum PermissionsGrant {
|
|
30
|
+
ROLE_MANAGEMENT = "Role management",
|
|
31
|
+
TENANT_MANAGEMENT = "Tenant management",
|
|
32
|
+
FEATURE_MANAGEMENT = "Feature management",
|
|
33
|
+
SETTING_MANAGEMENT = "Setting management"
|
|
34
|
+
}
|
|
35
|
+
declare const tableCustomStyles: {
|
|
36
|
+
headRow: {
|
|
37
|
+
style: {
|
|
38
|
+
backgroundColor: string;
|
|
39
|
+
borderTopRightRadius: string;
|
|
40
|
+
borderTopLeftRadius: string;
|
|
41
|
+
fontWeight: string;
|
|
42
|
+
fontSize: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
declare const tableDesigntyles: {
|
|
47
|
+
headRow: {
|
|
48
|
+
style: {
|
|
49
|
+
backgroundColor: string;
|
|
50
|
+
borderTopRightRadius: string;
|
|
51
|
+
borderTopLeftRadius: string;
|
|
52
|
+
borderBottom: string;
|
|
53
|
+
fontWeight: string;
|
|
54
|
+
fontSize: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
rows: {
|
|
58
|
+
style: {
|
|
59
|
+
fontWeight: string;
|
|
60
|
+
fontSize: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
pagination: {
|
|
64
|
+
style: {
|
|
65
|
+
borderBottomRightRadius: string;
|
|
66
|
+
borderBottomLeftRadius: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
declare function parseTitle(title: string, type: "LandingTitle" | "H1" | "H2"): string;
|
|
71
|
+
declare const isAdmin: (token: string) => boolean;
|
|
72
|
+
|
|
73
|
+
interface TopNavbarProps {
|
|
74
|
+
branding: {
|
|
75
|
+
logo: string;
|
|
76
|
+
title: string;
|
|
77
|
+
imageWidth: number;
|
|
78
|
+
imageHeight: number;
|
|
79
|
+
};
|
|
80
|
+
mainMenu: {
|
|
81
|
+
link: string;
|
|
82
|
+
text: string;
|
|
83
|
+
subMenu: {
|
|
84
|
+
link: string;
|
|
85
|
+
text: string;
|
|
86
|
+
}[];
|
|
87
|
+
}[];
|
|
88
|
+
canLogin: boolean;
|
|
89
|
+
}
|
|
90
|
+
declare const TopNavbar: ({ branding, mainMenu }: TopNavbarProps) => react.JSX.Element;
|
|
91
|
+
|
|
92
|
+
declare const TopNav2: () => react.JSX.Element;
|
|
93
|
+
|
|
94
|
+
interface TopNav3Props {
|
|
95
|
+
}
|
|
96
|
+
declare const TopNav3: React.FC<TopNav3Props>;
|
|
97
|
+
|
|
98
|
+
declare const TopNav4: () => react.JSX.Element;
|
|
99
|
+
|
|
100
|
+
interface ProfileSettingsProps {
|
|
101
|
+
data: ProfileDto;
|
|
102
|
+
}
|
|
103
|
+
declare const ProfileSettings: ({ data }: ProfileSettingsProps) => react.JSX.Element;
|
|
104
|
+
|
|
105
|
+
declare const ChangePassword: () => react.JSX.Element;
|
|
106
|
+
|
|
107
|
+
interface AccountDetailProps {
|
|
108
|
+
data: ProfileDto;
|
|
109
|
+
}
|
|
110
|
+
declare const AccountDetail: ({ data }: AccountDetailProps) => react.JSX.Element;
|
|
111
|
+
|
|
112
|
+
declare const Emailing: () => react.JSX.Element;
|
|
113
|
+
|
|
114
|
+
type FeaturesProps = {
|
|
115
|
+
onDismiss: () => void;
|
|
116
|
+
};
|
|
117
|
+
declare const Features: ({ onDismiss }: FeaturesProps) => react.JSX.Element;
|
|
118
|
+
|
|
119
|
+
declare const FeatureManagement: () => react.JSX.Element;
|
|
120
|
+
|
|
121
|
+
type TestEmailProps = {
|
|
122
|
+
onDismiss: () => void;
|
|
123
|
+
};
|
|
124
|
+
declare const TestEmail: ({ onDismiss }: TestEmailProps) => react.JSX.Element;
|
|
125
|
+
|
|
126
|
+
declare const AddTenant: () => react.JSX.Element;
|
|
127
|
+
|
|
128
|
+
interface TenantListProps {
|
|
129
|
+
data: PagedResultDtoOfTenantDto | undefined;
|
|
130
|
+
searchStr: string | undefined;
|
|
131
|
+
setSearchStr: any;
|
|
132
|
+
setPagination: any;
|
|
133
|
+
pageSize: number;
|
|
134
|
+
pagination: any;
|
|
135
|
+
showButtonArray: Array<boolean>;
|
|
136
|
+
}
|
|
137
|
+
declare const TenantList: ({ data, searchStr, setSearchStr, setPagination, pageSize, pagination, showButtonArray, }: TenantListProps) => react.JSX.Element;
|
|
138
|
+
|
|
139
|
+
type AddUserProps$1 = {
|
|
140
|
+
showButtonAdd: boolean;
|
|
141
|
+
};
|
|
142
|
+
declare const AddUser: ({ showButtonAdd }: AddUserProps$1) => react.JSX.Element;
|
|
143
|
+
|
|
144
|
+
type DeleteUserProps = {
|
|
145
|
+
user: {
|
|
146
|
+
userId: string;
|
|
147
|
+
username: string;
|
|
148
|
+
};
|
|
149
|
+
onDismiss: () => void;
|
|
150
|
+
};
|
|
151
|
+
declare const DeleteUser: ({ user: { userId, username }, onDismiss, }: DeleteUserProps) => react.JSX.Element;
|
|
152
|
+
|
|
153
|
+
declare const UserDropDown: () => react.JSX.Element;
|
|
154
|
+
|
|
155
|
+
type UserEditProps = {
|
|
156
|
+
userDto: IdentityUserUpdateDto;
|
|
157
|
+
userId: string;
|
|
158
|
+
onDismiss: () => void;
|
|
159
|
+
};
|
|
160
|
+
declare const UserEdit: ({ userDto, userId, onDismiss }: UserEditProps) => react.JSX.Element;
|
|
161
|
+
|
|
162
|
+
interface UserListProps {
|
|
163
|
+
data: PagedResultDtoOfIdentityUserDto | undefined;
|
|
164
|
+
searchStr: string | undefined;
|
|
165
|
+
setSearchStr: any;
|
|
166
|
+
setPagination: any;
|
|
167
|
+
pageSize: number;
|
|
168
|
+
pagination: any;
|
|
169
|
+
showButtonArray: Array<boolean>;
|
|
170
|
+
}
|
|
171
|
+
declare const UserList: ({ data, searchStr, setSearchStr, pageSize, setPagination, pagination, showButtonArray, }: UserListProps) => react.JSX.Element;
|
|
172
|
+
|
|
173
|
+
interface UserMenusProps {
|
|
174
|
+
}
|
|
175
|
+
declare const UserMenus: ({}: UserMenusProps) => react.JSX.Element;
|
|
176
|
+
|
|
177
|
+
type UserPermissionProps = {
|
|
178
|
+
userDto: IdentityUserUpdateDto;
|
|
179
|
+
userId: string;
|
|
180
|
+
onDismiss: () => void;
|
|
181
|
+
};
|
|
182
|
+
declare const UserPermission: ({ userDto, userId, onDismiss, }: UserPermissionProps) => react.JSX.Element;
|
|
183
|
+
|
|
184
|
+
type DeleteRoleProps = {
|
|
185
|
+
role: {
|
|
186
|
+
roleId: string;
|
|
187
|
+
roleName: string;
|
|
188
|
+
};
|
|
189
|
+
onDismiss: () => void;
|
|
190
|
+
};
|
|
191
|
+
declare const DeleteRole: ({ role: { roleId, roleName }, onDismiss, }: DeleteRoleProps) => react.JSX.Element;
|
|
192
|
+
|
|
193
|
+
type RoleEditProps = {
|
|
194
|
+
roleDto: IdentityRoleUpdateDto;
|
|
195
|
+
roleId: string;
|
|
196
|
+
onDismiss: () => void;
|
|
197
|
+
};
|
|
198
|
+
declare const RoleEdit: ({ roleDto, roleId, onDismiss }: RoleEditProps) => react.JSX.Element;
|
|
199
|
+
|
|
200
|
+
interface RoleListProps {
|
|
201
|
+
data: PagedResultDtoOfIdentityRoleDto | undefined;
|
|
202
|
+
searchStr: string | undefined;
|
|
203
|
+
setSearchStr: any;
|
|
204
|
+
setPagination: any;
|
|
205
|
+
pageSize: number;
|
|
206
|
+
pagination: any;
|
|
207
|
+
showButtonArray: Array<boolean>;
|
|
208
|
+
}
|
|
209
|
+
declare const RoleList: ({ data, searchStr, setSearchStr, setPagination, pageSize, pagination, showButtonArray, }: RoleListProps) => react.JSX.Element;
|
|
210
|
+
|
|
211
|
+
type RolePermissionProps = {
|
|
212
|
+
roleDto: IdentityRoleUpdateDto;
|
|
213
|
+
onDismiss: () => void;
|
|
214
|
+
};
|
|
215
|
+
declare const RolePermission: ({ roleDto, onDismiss }: RolePermissionProps) => react.JSX.Element;
|
|
216
|
+
|
|
217
|
+
type AddUserProps = {
|
|
218
|
+
showButtonAdd: boolean;
|
|
219
|
+
};
|
|
220
|
+
declare const AddRole: ({ showButtonAdd }: AddUserProps) => react.JSX.Element;
|
|
221
|
+
|
|
222
|
+
interface IPanelMainProps {
|
|
223
|
+
direction?: "horizontal" | "vertical";
|
|
224
|
+
leftPanel?: React.ReactNode;
|
|
225
|
+
rightPanel?: React.ReactNode;
|
|
226
|
+
middlePanel?: React.ReactNode;
|
|
227
|
+
onResize?: () => void;
|
|
228
|
+
}
|
|
229
|
+
declare const PanelMain: React.FC<IPanelMainProps>;
|
|
230
|
+
|
|
231
|
+
interface IVerticalHorizontalProps {
|
|
232
|
+
first: React.ReactNode;
|
|
233
|
+
second: React.ReactNode;
|
|
234
|
+
}
|
|
235
|
+
declare const PanelVertical: React.FC<IVerticalHorizontalProps>;
|
|
236
|
+
|
|
237
|
+
interface AdminLayoutProps {
|
|
238
|
+
children: react__default.ReactNode;
|
|
239
|
+
generalSettings?: GeoWikiSettingsItemDto;
|
|
240
|
+
title?: string;
|
|
241
|
+
}
|
|
242
|
+
declare const AdminLayout: ({ children, generalSettings, }: AdminLayoutProps) => react__default.JSX.Element;
|
|
243
|
+
|
|
244
|
+
interface Props$v extends BaseProp {
|
|
245
|
+
children: react__default.ReactNode;
|
|
246
|
+
title: string;
|
|
247
|
+
}
|
|
248
|
+
declare const MapLayout: ({ title, children, settings }: Props$v) => react__default.JSX.Element;
|
|
249
|
+
|
|
250
|
+
interface HtmlViewProps {
|
|
251
|
+
html: string;
|
|
252
|
+
cssClass?: string;
|
|
253
|
+
imgClass?: string;
|
|
254
|
+
}
|
|
255
|
+
declare const HtmlView: (props: HtmlViewProps) => react.JSX.Element;
|
|
256
|
+
|
|
257
|
+
declare const TopProgress: () => react.JSX.Element;
|
|
258
|
+
|
|
259
|
+
interface PaginationProps$2 {
|
|
260
|
+
totalCount: number;
|
|
261
|
+
currentPage: number;
|
|
262
|
+
siblingCount: number;
|
|
263
|
+
pageSize: number;
|
|
264
|
+
onPageChange: (page: number) => void;
|
|
265
|
+
className?: string;
|
|
266
|
+
scrollToTop?: boolean;
|
|
267
|
+
elementId?: string;
|
|
268
|
+
}
|
|
269
|
+
declare const Pagination: ({ totalCount, currentPage, siblingCount, pageSize, onPageChange, elementId, scrollToTop, }: PaginationProps$2) => react__default.JSX.Element | null;
|
|
270
|
+
|
|
271
|
+
interface SortItemProps {
|
|
272
|
+
name: string;
|
|
273
|
+
key: string;
|
|
274
|
+
sortDirection: string;
|
|
275
|
+
selected: boolean;
|
|
276
|
+
}
|
|
277
|
+
interface FilterItemProps$2 {
|
|
278
|
+
Name: string;
|
|
279
|
+
FetchDetail: string;
|
|
280
|
+
LabelField: string;
|
|
281
|
+
LabelLookUpField: string;
|
|
282
|
+
ValueField: string;
|
|
283
|
+
LabelLookUp: any;
|
|
284
|
+
Parameter: any;
|
|
285
|
+
}
|
|
286
|
+
interface CustomFilterSortProps {
|
|
287
|
+
sort: any;
|
|
288
|
+
setSort: any;
|
|
289
|
+
sortItems?: SortItemProps[];
|
|
290
|
+
filter: any;
|
|
291
|
+
setFilter: any;
|
|
292
|
+
filterItems?: FilterItemProps$2[];
|
|
293
|
+
customName: any;
|
|
294
|
+
isFreeText: any;
|
|
295
|
+
showButtons: any;
|
|
296
|
+
}
|
|
297
|
+
declare const CustomFilterSort: (props: CustomFilterSortProps) => react__default.JSX.Element;
|
|
298
|
+
|
|
299
|
+
interface InfoCardProps {
|
|
300
|
+
id: string;
|
|
301
|
+
url: string;
|
|
302
|
+
imageId: string;
|
|
303
|
+
title: string;
|
|
304
|
+
subtitle: string[];
|
|
305
|
+
text: string;
|
|
306
|
+
isSubTitlePreLine: boolean;
|
|
307
|
+
fileUrl: string;
|
|
308
|
+
}
|
|
309
|
+
declare const InfoCard: (props: InfoCardProps) => react.JSX.Element;
|
|
310
|
+
|
|
311
|
+
interface Props$u {
|
|
312
|
+
isOpen: boolean;
|
|
313
|
+
setIsOpen: (isOpen: boolean) => void;
|
|
314
|
+
heading: string;
|
|
315
|
+
children: react__default.ReactNode;
|
|
316
|
+
}
|
|
317
|
+
declare const DialogWrapper: ({ isOpen, setIsOpen, heading, children, }: Props$u) => react__default.JSX.Element;
|
|
318
|
+
|
|
319
|
+
interface Props$t {
|
|
320
|
+
items: [
|
|
321
|
+
{
|
|
322
|
+
id: string;
|
|
323
|
+
url: string;
|
|
324
|
+
imageId: string;
|
|
325
|
+
title: string;
|
|
326
|
+
subtitle: [];
|
|
327
|
+
text: string;
|
|
328
|
+
}
|
|
329
|
+
];
|
|
330
|
+
title: string;
|
|
331
|
+
isSubTitlePreLine: boolean;
|
|
332
|
+
emptyText: string;
|
|
333
|
+
parentId: string | undefined;
|
|
334
|
+
fileUrl: string;
|
|
335
|
+
}
|
|
336
|
+
declare const ContentGrid: (props: Props$t) => react.JSX.Element;
|
|
337
|
+
|
|
338
|
+
interface Props$s {
|
|
339
|
+
tags?: string[];
|
|
340
|
+
label?: string;
|
|
341
|
+
tagColor?: string;
|
|
342
|
+
}
|
|
343
|
+
declare const ShowTagItem: (props: Props$s) => react__default.JSX.Element;
|
|
344
|
+
|
|
345
|
+
interface PageNotFoundProps {
|
|
346
|
+
}
|
|
347
|
+
declare const PageNotFound: (_props: PageNotFoundProps) => react__default.JSX.Element;
|
|
348
|
+
|
|
349
|
+
interface NextImageProps {
|
|
350
|
+
src: string;
|
|
351
|
+
width: number;
|
|
352
|
+
height: number;
|
|
353
|
+
alt: string;
|
|
354
|
+
className?: string;
|
|
355
|
+
}
|
|
356
|
+
declare const NextImage: ({ src, width, height, alt, className, }: NextImageProps) => react__default.JSX.Element;
|
|
357
|
+
|
|
358
|
+
type Props$r = {
|
|
359
|
+
src: string;
|
|
360
|
+
width?: number;
|
|
361
|
+
height?: number;
|
|
362
|
+
alt?: string;
|
|
363
|
+
className?: string;
|
|
364
|
+
cmsUrl?: string;
|
|
365
|
+
priority?: boolean;
|
|
366
|
+
showPlaceholder?: boolean;
|
|
367
|
+
};
|
|
368
|
+
declare const CmsImage: ({ src, width, height, alt, className, showPlaceholder, }: Props$r) => react.JSX.Element;
|
|
369
|
+
|
|
370
|
+
declare const Video: ({ media, poster, className, controls, autoPlay, }: any) => react.JSX.Element;
|
|
371
|
+
|
|
372
|
+
interface FeatureItemElementProps {
|
|
373
|
+
item: FeatureItemItemDto;
|
|
374
|
+
cmsUrl: string;
|
|
375
|
+
}
|
|
376
|
+
declare const FeatureItemElement: ({ item, cmsUrl, }: FeatureItemElementProps) => react.JSX.Element;
|
|
377
|
+
|
|
378
|
+
interface MediaItemProps {
|
|
379
|
+
cmsUrl: string;
|
|
380
|
+
path: string;
|
|
381
|
+
}
|
|
382
|
+
declare const MediaItem: ({ path, cmsUrl }: MediaItemProps) => react__default.JSX.Element;
|
|
383
|
+
|
|
384
|
+
interface Props$q {
|
|
385
|
+
data: LinkPartDto;
|
|
386
|
+
}
|
|
387
|
+
declare const CustomLink: ({ data }: Props$q) => react.JSX.Element;
|
|
388
|
+
|
|
389
|
+
declare function News({ news }: any): react__default.JSX.Element;
|
|
390
|
+
|
|
391
|
+
interface Props$p {
|
|
392
|
+
app: ApplicationItemDto;
|
|
393
|
+
cmsUrl: string;
|
|
394
|
+
}
|
|
395
|
+
declare function ApplicationView({ app, cmsUrl }: Props$p): react.JSX.Element;
|
|
396
|
+
|
|
397
|
+
interface CustomDropDownProps {
|
|
398
|
+
PlaceholderName: string;
|
|
399
|
+
FetchDetail: string;
|
|
400
|
+
LabelLookUp?: {
|
|
401
|
+
value: string;
|
|
402
|
+
label: string;
|
|
403
|
+
}[];
|
|
404
|
+
LabelLookUpField: string;
|
|
405
|
+
ValueField: string;
|
|
406
|
+
LabelField: string;
|
|
407
|
+
Parameter?: any;
|
|
408
|
+
onValueChange: any;
|
|
409
|
+
}
|
|
410
|
+
declare const CustomDropDown: (props: CustomDropDownProps) => react.JSX.Element;
|
|
411
|
+
|
|
412
|
+
declare const UiTimer: ({ getStopWatchTime, IsTimerReset, setSTopWatchTime, }: any) => react__default.JSX.Element;
|
|
413
|
+
|
|
414
|
+
interface FeatureProps {
|
|
415
|
+
feature: string;
|
|
416
|
+
children: React.ReactNode;
|
|
417
|
+
}
|
|
418
|
+
declare const RequireFeature: ({ children, feature }: FeatureProps) => react.JSX.Element | null;
|
|
419
|
+
|
|
420
|
+
interface Props$o {
|
|
421
|
+
Carousel: [
|
|
422
|
+
{
|
|
423
|
+
id: string;
|
|
424
|
+
url: string;
|
|
425
|
+
imageId: string;
|
|
426
|
+
title: string;
|
|
427
|
+
subtitle: [];
|
|
428
|
+
text: string;
|
|
429
|
+
}
|
|
430
|
+
];
|
|
431
|
+
title: string;
|
|
432
|
+
isSubTitlePreLine: boolean;
|
|
433
|
+
emptyText: string;
|
|
434
|
+
}
|
|
435
|
+
declare const ContentCarousel: (props: Props$o) => react.JSX.Element;
|
|
436
|
+
|
|
437
|
+
interface Props$n {
|
|
438
|
+
coverImageDropzone: any;
|
|
439
|
+
coverImage: any;
|
|
440
|
+
displayText: string;
|
|
441
|
+
displayDescription?: string;
|
|
442
|
+
isRequired?: boolean;
|
|
443
|
+
info?: string;
|
|
444
|
+
}
|
|
445
|
+
declare const CoverImage: (props: Props$n) => react__default.JSX.Element;
|
|
446
|
+
|
|
447
|
+
interface Props$m {
|
|
448
|
+
value: any;
|
|
449
|
+
defaultValue?: string;
|
|
450
|
+
setValue: any;
|
|
451
|
+
isRequired?: boolean;
|
|
452
|
+
displayText?: string;
|
|
453
|
+
}
|
|
454
|
+
declare const RichTextContent: (props: Props$m) => react__default.JSX.Element;
|
|
455
|
+
|
|
456
|
+
interface Option {
|
|
457
|
+
label: string;
|
|
458
|
+
value: string;
|
|
459
|
+
}
|
|
460
|
+
interface SelectProps {
|
|
461
|
+
options: Option[];
|
|
462
|
+
onChange?: (value: OnChangeValue<any, true>, actionMeta: ActionMeta<any>) => void;
|
|
463
|
+
name: string;
|
|
464
|
+
displayText: string;
|
|
465
|
+
isRequired: boolean;
|
|
466
|
+
isLabelBold?: boolean;
|
|
467
|
+
errors?: any;
|
|
468
|
+
control: any;
|
|
469
|
+
}
|
|
470
|
+
declare const MultiSelectFreeText: (props: SelectProps) => react__default.JSX.Element;
|
|
471
|
+
|
|
472
|
+
type Props$l = {
|
|
473
|
+
href: string;
|
|
474
|
+
onClick?: any;
|
|
475
|
+
};
|
|
476
|
+
declare const EditLinkButton: (props: Props$l) => react.JSX.Element;
|
|
477
|
+
|
|
478
|
+
type Props$k = {
|
|
479
|
+
href: string;
|
|
480
|
+
};
|
|
481
|
+
declare const ViewLink: (props: Props$k) => react__default.JSX.Element;
|
|
482
|
+
|
|
483
|
+
declare const ButtonList: ({ data }: any) => any;
|
|
484
|
+
|
|
485
|
+
type AuthenticationFailureProps = {};
|
|
486
|
+
declare const AuthenticationFailure: ({}: AuthenticationFailureProps) => react.JSX.Element;
|
|
487
|
+
|
|
488
|
+
declare const Error: () => react.JSX.Element;
|
|
489
|
+
|
|
490
|
+
interface CookieConsentProps {
|
|
491
|
+
gTagId: string;
|
|
492
|
+
}
|
|
493
|
+
declare const CookieConsent: ({ gTagId }: CookieConsentProps) => react__default.JSX.Element;
|
|
494
|
+
|
|
495
|
+
interface NewsItemListProps {
|
|
496
|
+
newsItems: ExternalNewsDto[];
|
|
497
|
+
currentLang: string;
|
|
498
|
+
}
|
|
499
|
+
declare const NewsItemList: ({ newsItems }: NewsItemListProps) => react.JSX.Element;
|
|
500
|
+
|
|
501
|
+
interface PublicationListProps {
|
|
502
|
+
publications: PublicationItemDto[];
|
|
503
|
+
}
|
|
504
|
+
declare const PublicationList: ({ publications }: PublicationListProps) => react__default.JSX.Element;
|
|
505
|
+
|
|
506
|
+
interface HeroWidgetProps {
|
|
507
|
+
paths: string[] | undefined;
|
|
508
|
+
contentItemId: any;
|
|
509
|
+
mainText: string;
|
|
510
|
+
subText: string;
|
|
511
|
+
contentItems: any;
|
|
512
|
+
cmsUrl: string;
|
|
513
|
+
}
|
|
514
|
+
declare const HeroWidgetOld: (props: HeroWidgetProps) => react.JSX.Element;
|
|
515
|
+
|
|
516
|
+
interface HeroWithCenterTextProps {
|
|
517
|
+
paths: string[];
|
|
518
|
+
title: string | null | undefined;
|
|
519
|
+
description: string | null | undefined;
|
|
520
|
+
links: HtmlLinkItemDto[];
|
|
521
|
+
cmsUrl: string;
|
|
522
|
+
}
|
|
523
|
+
declare const HeroWithCenterText: (props: HeroWithCenterTextProps) => react.JSX.Element;
|
|
524
|
+
|
|
525
|
+
interface HeroWithMapProps {
|
|
526
|
+
title: string | null | undefined;
|
|
527
|
+
description: string | null | undefined;
|
|
528
|
+
links: HtmlLinkItemDto[];
|
|
529
|
+
}
|
|
530
|
+
declare const HeroWithMap: (props: HeroWithMapProps) => react.JSX.Element;
|
|
531
|
+
|
|
532
|
+
interface HeroProps$2 {
|
|
533
|
+
paths: string[] | undefined;
|
|
534
|
+
contentItemId: any;
|
|
535
|
+
title: string | null | undefined;
|
|
536
|
+
description: string | null | undefined;
|
|
537
|
+
links: HtmlLinkItemDto[];
|
|
538
|
+
cmsUrl: string;
|
|
539
|
+
}
|
|
540
|
+
declare const HeroWithMultipleImage: (props: HeroProps$2) => react.JSX.Element;
|
|
541
|
+
|
|
542
|
+
interface HeroWithThreeImageProps {
|
|
543
|
+
paths: string[];
|
|
544
|
+
title: string | null | undefined;
|
|
545
|
+
description: string | null | undefined;
|
|
546
|
+
cmsUrl: string;
|
|
547
|
+
links: HtmlLinkItemDto[];
|
|
548
|
+
}
|
|
549
|
+
declare const HeroWithThreeImage: (props: HeroWithThreeImageProps) => react.JSX.Element;
|
|
550
|
+
|
|
551
|
+
interface StoreLink {
|
|
552
|
+
url: string;
|
|
553
|
+
type: "google" | "apple";
|
|
554
|
+
}
|
|
555
|
+
interface HeroWidgetMobileDeviceProps {
|
|
556
|
+
version: 1 | 2;
|
|
557
|
+
title: string;
|
|
558
|
+
description: string;
|
|
559
|
+
image: string;
|
|
560
|
+
storeLinks: StoreLink[];
|
|
561
|
+
cmsUrl: string;
|
|
562
|
+
links: any;
|
|
563
|
+
}
|
|
564
|
+
/**
|
|
565
|
+
* HeroWidgetMobileDevice displays a hero section with a mobile device image and app store links.
|
|
566
|
+
* Supports two layout versions: (1) image below text, (2) image right of text.
|
|
567
|
+
*/
|
|
568
|
+
declare const HeroWidgetMobileDevice: react__default.FC<HeroWidgetMobileDeviceProps>;
|
|
569
|
+
|
|
570
|
+
interface UpdatePasswordProps {
|
|
571
|
+
ShowUpdatePassword: boolean;
|
|
572
|
+
setShowUpdatePassword: any;
|
|
573
|
+
}
|
|
574
|
+
declare const UpdatePassword: (props: UpdatePasswordProps) => react__default.JSX.Element;
|
|
575
|
+
|
|
576
|
+
interface UpdateUserProfileProps {
|
|
577
|
+
ShowProfile: boolean;
|
|
578
|
+
setShowProfile: any;
|
|
579
|
+
data: ProfileDto | undefined;
|
|
580
|
+
}
|
|
581
|
+
declare const UpdateUserProfile: ({ ShowProfile, setShowProfile, data, }: UpdateUserProfileProps) => react__default.JSX.Element;
|
|
582
|
+
|
|
583
|
+
interface SidebarProps {
|
|
584
|
+
toggleSidebar: boolean;
|
|
585
|
+
onToggle?: (f: boolean) => void;
|
|
586
|
+
generalSettings?: GeoWikiSettingsItemDto;
|
|
587
|
+
}
|
|
588
|
+
declare const SidebarIcon: ({ type }: {
|
|
589
|
+
type: any;
|
|
590
|
+
}) => react__default.JSX.Element | null;
|
|
591
|
+
declare const Sidebar: ({ toggleSidebar, onToggle, generalSettings, }: SidebarProps) => react__default.JSX.Element;
|
|
592
|
+
|
|
593
|
+
declare const SettingsManagement: () => react.JSX.Element;
|
|
594
|
+
|
|
595
|
+
interface FAQProps {
|
|
596
|
+
faqs: {
|
|
597
|
+
question: string;
|
|
598
|
+
answer: React.ReactNode;
|
|
599
|
+
hint?: string;
|
|
600
|
+
}[];
|
|
601
|
+
backgroundColor?: string;
|
|
602
|
+
}
|
|
603
|
+
declare const FAQ: ({ faqs, backgroundColor }: FAQProps) => react.JSX.Element;
|
|
604
|
+
|
|
605
|
+
interface PaginationProps$1 {
|
|
606
|
+
totalCount: number;
|
|
607
|
+
currentPage: number;
|
|
608
|
+
siblingCount: number;
|
|
609
|
+
pageSize: number;
|
|
610
|
+
onPageChange: (page: number) => void;
|
|
611
|
+
className?: string;
|
|
612
|
+
scrollToTop?: boolean;
|
|
613
|
+
elementId?: string;
|
|
614
|
+
}
|
|
615
|
+
declare const DesignPagination: ({ totalCount, currentPage, siblingCount, pageSize, onPageChange, elementId, scrollToTop, }: PaginationProps$1) => react__default.JSX.Element | null;
|
|
616
|
+
|
|
617
|
+
interface ItemProps {
|
|
618
|
+
name: string;
|
|
619
|
+
href: string;
|
|
620
|
+
}
|
|
621
|
+
interface FooterProps {
|
|
622
|
+
branding: {
|
|
623
|
+
logo: string;
|
|
624
|
+
title: string;
|
|
625
|
+
};
|
|
626
|
+
navigation: {
|
|
627
|
+
category: string;
|
|
628
|
+
items: ItemProps[];
|
|
629
|
+
}[];
|
|
630
|
+
bottomMenu: {
|
|
631
|
+
name: string;
|
|
632
|
+
href: string;
|
|
633
|
+
iconPath?: string;
|
|
634
|
+
}[];
|
|
635
|
+
footerLogoPath: string | undefined;
|
|
636
|
+
footerText: string;
|
|
637
|
+
imagesPaths: string[] | undefined;
|
|
638
|
+
copyrights?: string | undefined;
|
|
639
|
+
socialLinks?: {
|
|
640
|
+
name: string;
|
|
641
|
+
href: string;
|
|
642
|
+
isNewTab?: boolean;
|
|
643
|
+
}[];
|
|
644
|
+
}
|
|
645
|
+
declare const DesignFooter: (props: FooterProps) => react.JSX.Element;
|
|
646
|
+
|
|
647
|
+
interface DesignHeaderProps {
|
|
648
|
+
branding: {
|
|
649
|
+
logo: string;
|
|
650
|
+
title: string;
|
|
651
|
+
};
|
|
652
|
+
mainMenu: {
|
|
653
|
+
link: string;
|
|
654
|
+
text: string;
|
|
655
|
+
isNewTab?: boolean;
|
|
656
|
+
subMenu?: {
|
|
657
|
+
link: string;
|
|
658
|
+
text: string;
|
|
659
|
+
isNewTab?: boolean;
|
|
660
|
+
}[];
|
|
661
|
+
}[];
|
|
662
|
+
sessionStatus: "authenticated" | "unauthenticated" | "loading";
|
|
663
|
+
canLogin: boolean;
|
|
664
|
+
canSignUp: boolean;
|
|
665
|
+
isAdmin: boolean;
|
|
666
|
+
hasStickyNavBar?: boolean;
|
|
667
|
+
}
|
|
668
|
+
declare const DesignHeader: ({ branding, mainMenu, sessionStatus, canLogin, canSignUp: canSignup, isAdmin, hasStickyNavBar, }: DesignHeaderProps) => react.JSX.Element;
|
|
669
|
+
|
|
670
|
+
type SearchProps = {
|
|
671
|
+
textButton: string;
|
|
672
|
+
placeholder: string;
|
|
673
|
+
onUpdate: (searchStr: string) => void;
|
|
674
|
+
value: string;
|
|
675
|
+
};
|
|
676
|
+
declare const DesignSearchInput: react.MemoExoticComponent<({ textButton, placeholder, onUpdate, value, }: SearchProps) => react.JSX.Element>;
|
|
677
|
+
|
|
678
|
+
interface PaginationProps {
|
|
679
|
+
totalCount: number;
|
|
680
|
+
currentPage: number;
|
|
681
|
+
siblingCount: number;
|
|
682
|
+
pageSize: number;
|
|
683
|
+
onPageChange: (page: number) => void;
|
|
684
|
+
className?: string;
|
|
685
|
+
scrollToTop?: boolean;
|
|
686
|
+
elementId?: string;
|
|
687
|
+
pageSegments: number[];
|
|
688
|
+
}
|
|
689
|
+
declare const DesignDashboardPagination: ({ totalCount, currentPage, siblingCount, pageSize, onPageChange, elementId, scrollToTop, pageSegments, }: PaginationProps) => react.JSX.Element | null;
|
|
690
|
+
|
|
691
|
+
interface DesignSortProps {
|
|
692
|
+
totalCount: number;
|
|
693
|
+
name: string;
|
|
694
|
+
}
|
|
695
|
+
declare const DesignSort: ({ totalCount, name }: DesignSortProps) => react.JSX.Element;
|
|
696
|
+
|
|
697
|
+
interface FilterDropdownProps {
|
|
698
|
+
name: string;
|
|
699
|
+
filterKey: string;
|
|
700
|
+
sortItems: KeyValuePairOfString_String[];
|
|
701
|
+
}
|
|
702
|
+
declare const FilterDropdown: ({ name, filterKey, sortItems, }: FilterDropdownProps) => react.JSX.Element;
|
|
703
|
+
|
|
704
|
+
interface TestimonialProps {
|
|
705
|
+
info: string;
|
|
706
|
+
name: string;
|
|
707
|
+
position: string;
|
|
708
|
+
imagePath?: string;
|
|
709
|
+
}
|
|
710
|
+
interface Props$j {
|
|
711
|
+
testimonials: TestimonialProps[];
|
|
712
|
+
}
|
|
713
|
+
declare const DesignTestimonials: ({ testimonials }: Props$j) => react.JSX.Element;
|
|
714
|
+
|
|
715
|
+
interface LinkProps$1 {
|
|
716
|
+
text: string;
|
|
717
|
+
href: string;
|
|
718
|
+
isNewTab: boolean;
|
|
719
|
+
}
|
|
720
|
+
interface BannerFollowLinksProps {
|
|
721
|
+
title: string;
|
|
722
|
+
links: LinkProps$1[];
|
|
723
|
+
}
|
|
724
|
+
declare const BannerFollowLinks: ({ title, links }: BannerFollowLinksProps) => react.JSX.Element;
|
|
725
|
+
|
|
726
|
+
interface Props$i {
|
|
727
|
+
cluster: ClusterDto;
|
|
728
|
+
}
|
|
729
|
+
declare const ListTagsGroup: ({ cluster }: Props$i) => react.JSX.Element;
|
|
730
|
+
|
|
731
|
+
type ApiImageProps = {
|
|
732
|
+
imageId: string;
|
|
733
|
+
width?: number;
|
|
734
|
+
height?: number;
|
|
735
|
+
alt?: string;
|
|
736
|
+
className?: string;
|
|
737
|
+
sizes?: string;
|
|
738
|
+
};
|
|
739
|
+
declare const ApiImage: ({ imageId, className, alt, width, height, }: ApiImageProps) => react.JSX.Element;
|
|
740
|
+
|
|
741
|
+
interface SignUpBannerProps {
|
|
742
|
+
title: string;
|
|
743
|
+
text: string;
|
|
744
|
+
button: LinkButtonItem;
|
|
745
|
+
imagePaths: string[];
|
|
746
|
+
}
|
|
747
|
+
declare const SignUpBanner: ({ title, text, button, imagePaths, }: SignUpBannerProps) => react.JSX.Element;
|
|
748
|
+
|
|
749
|
+
declare const RoutePagination: ({ pageSize, total, }: {
|
|
750
|
+
pageSize: number;
|
|
751
|
+
total: number;
|
|
752
|
+
}) => react.JSX.Element;
|
|
753
|
+
|
|
754
|
+
declare const LanguagePopup: () => react.JSX.Element | null;
|
|
755
|
+
|
|
756
|
+
interface FilterItemProps$1 {
|
|
757
|
+
value: string;
|
|
758
|
+
label: string;
|
|
759
|
+
}
|
|
760
|
+
interface FilterGroup {
|
|
761
|
+
filterName: string;
|
|
762
|
+
routerFiltername: string;
|
|
763
|
+
filterItems: FilterItemProps$1[];
|
|
764
|
+
}
|
|
765
|
+
interface MobileFilterPopupProps {
|
|
766
|
+
open: boolean;
|
|
767
|
+
setOpen: Dispatch<SetStateAction<boolean>>;
|
|
768
|
+
name: string;
|
|
769
|
+
filters: FilterGroup[];
|
|
770
|
+
isMultiSelect?: boolean;
|
|
771
|
+
}
|
|
772
|
+
declare function MobileFilterPopup({ open, setOpen, name, filters, isMultiSelect, }: MobileFilterPopupProps): react.JSX.Element;
|
|
773
|
+
|
|
774
|
+
interface FilterItemProps {
|
|
775
|
+
value: string;
|
|
776
|
+
label: string;
|
|
777
|
+
}
|
|
778
|
+
interface MobileFilterPopupOpenedProps {
|
|
779
|
+
open: boolean;
|
|
780
|
+
setOpen: Dispatch<SetStateAction<boolean>>;
|
|
781
|
+
setParentOpen?: Dispatch<SetStateAction<boolean>>;
|
|
782
|
+
name: string;
|
|
783
|
+
list: FilterItemProps[];
|
|
784
|
+
routerFiltername: string;
|
|
785
|
+
isMultiSelect?: boolean;
|
|
786
|
+
}
|
|
787
|
+
declare function MobileFilterPopupOpened({ open, setOpen, setParentOpen, name, list, routerFiltername, isMultiSelect, }: MobileFilterPopupOpenedProps): react.JSX.Element;
|
|
788
|
+
|
|
789
|
+
interface LinkProps {
|
|
790
|
+
title: string;
|
|
791
|
+
href: string;
|
|
792
|
+
isNewTab: boolean;
|
|
793
|
+
type: string;
|
|
794
|
+
description?: string;
|
|
795
|
+
subtitle?: string;
|
|
796
|
+
}
|
|
797
|
+
interface Props$h {
|
|
798
|
+
link: LinkProps;
|
|
799
|
+
fillColor?: string;
|
|
800
|
+
}
|
|
801
|
+
declare const DesignLink: ({ link, fillColor }: Props$h) => react.JSX.Element;
|
|
802
|
+
|
|
803
|
+
interface Props$g {
|
|
804
|
+
links: LinkProps[];
|
|
805
|
+
fillColor?: string;
|
|
806
|
+
}
|
|
807
|
+
declare const DesignListLink: ({ links, fillColor }: Props$g) => react.JSX.Element;
|
|
808
|
+
|
|
809
|
+
interface CustomLinkItemProps {
|
|
810
|
+
linkText: string;
|
|
811
|
+
href: string;
|
|
812
|
+
isNewTab: boolean;
|
|
813
|
+
fillColor?: string;
|
|
814
|
+
className?: string;
|
|
815
|
+
}
|
|
816
|
+
declare const DesignCustomLink: ({ linkText, href, isNewTab, fillColor, className, }: CustomLinkItemProps) => react.JSX.Element;
|
|
817
|
+
|
|
818
|
+
interface ClusterNewsItemProps {
|
|
819
|
+
id: string;
|
|
820
|
+
title: string | null | undefined;
|
|
821
|
+
clusterName?: string | null | undefined;
|
|
822
|
+
username?: string | null | undefined;
|
|
823
|
+
time: string | number | Date | undefined;
|
|
824
|
+
clusterCountry: string | null | undefined;
|
|
825
|
+
path: string | null | undefined;
|
|
826
|
+
}
|
|
827
|
+
declare const ClusterNewsItem: (props: ClusterNewsItemProps) => react.JSX.Element;
|
|
828
|
+
|
|
829
|
+
interface Props$f {
|
|
830
|
+
clusterNewsItems?: ClusterNewsItemProps[];
|
|
831
|
+
}
|
|
832
|
+
declare const ClusterNewsList: ({ clusterNewsItems }: Props$f) => react.JSX.Element;
|
|
833
|
+
|
|
834
|
+
interface Props$e {
|
|
835
|
+
clusterId: any;
|
|
836
|
+
newsId: any;
|
|
837
|
+
fileUrl?: string;
|
|
838
|
+
ClusterCountry: string;
|
|
839
|
+
ClusterName?: string;
|
|
840
|
+
ClusterNews?: FarmerClusterNewsDto[];
|
|
841
|
+
NewsCreationTime: string;
|
|
842
|
+
NewsTitle: string;
|
|
843
|
+
NewsIntro: string;
|
|
844
|
+
UserName: string;
|
|
845
|
+
NewsCoverImageId: string;
|
|
846
|
+
NewsContent: string;
|
|
847
|
+
}
|
|
848
|
+
declare const ClusterStoryItem: (props: Props$e) => react.JSX.Element;
|
|
849
|
+
|
|
850
|
+
interface ClusterNewsProps {
|
|
851
|
+
clusterId: string | undefined;
|
|
852
|
+
clusterName: string | null | undefined;
|
|
853
|
+
clusterCountry: string | null | undefined;
|
|
854
|
+
}
|
|
855
|
+
declare const ClusterNews: ({ clusterName, clusterId, clusterCountry, }: ClusterNewsProps) => react__default.JSX.Element | null;
|
|
856
|
+
|
|
857
|
+
declare const SixClusterNews: () => react__default.JSX.Element;
|
|
858
|
+
|
|
859
|
+
interface ClusterProps {
|
|
860
|
+
title: string | null | undefined;
|
|
861
|
+
path: string;
|
|
862
|
+
imageId: string;
|
|
863
|
+
country: string | null | undefined;
|
|
864
|
+
status: string | null | undefined;
|
|
865
|
+
}
|
|
866
|
+
declare const Cluster: ({ title, path, country, status, imageId, }: ClusterProps) => react.JSX.Element;
|
|
867
|
+
|
|
868
|
+
interface Props$d {
|
|
869
|
+
clusters: ClusterProps[];
|
|
870
|
+
}
|
|
871
|
+
declare const ClusterList: ({ clusters }: Props$d) => react.JSX.Element;
|
|
872
|
+
|
|
873
|
+
interface H3ClustersProps {
|
|
874
|
+
clusters: ClusterDto[];
|
|
875
|
+
}
|
|
876
|
+
declare const H3Clusters: ({ clusters }: H3ClustersProps) => react.JSX.Element;
|
|
877
|
+
|
|
878
|
+
interface GalleryItemProps {
|
|
879
|
+
text: string;
|
|
880
|
+
id: string;
|
|
881
|
+
}
|
|
882
|
+
declare const GalleryItem: ({ text, id }: GalleryItemProps) => react.JSX.Element;
|
|
883
|
+
|
|
884
|
+
interface Props$c {
|
|
885
|
+
galleryItems: GalleryItemProps[];
|
|
886
|
+
}
|
|
887
|
+
declare const GalleryItemList: ({ galleryItems }: Props$c) => react.JSX.Element;
|
|
888
|
+
|
|
889
|
+
interface NewsArticleProps {
|
|
890
|
+
title: string;
|
|
891
|
+
description: string;
|
|
892
|
+
username?: string | null | undefined;
|
|
893
|
+
time: string | number | Date;
|
|
894
|
+
language: string;
|
|
895
|
+
path: string | undefined;
|
|
896
|
+
link?: string;
|
|
897
|
+
}
|
|
898
|
+
declare const NewsArticle: (props: NewsArticleProps) => "" | react.JSX.Element | undefined;
|
|
899
|
+
|
|
900
|
+
interface Props$b {
|
|
901
|
+
newsArticles: NewsArticleProps[];
|
|
902
|
+
pageSize: number;
|
|
903
|
+
}
|
|
904
|
+
declare const NewsArticleList: ({ newsArticles }: Props$b) => react.JSX.Element;
|
|
905
|
+
|
|
906
|
+
interface BioBlitzObservationPinProps {
|
|
907
|
+
title: string;
|
|
908
|
+
link: string;
|
|
909
|
+
linkText: string;
|
|
910
|
+
isNewTab: boolean;
|
|
911
|
+
path?: string;
|
|
912
|
+
taxonomicName?: string;
|
|
913
|
+
date?: string;
|
|
914
|
+
}
|
|
915
|
+
interface Props$a {
|
|
916
|
+
bioBlitzObservation: BioBlitzObservationPinProps;
|
|
917
|
+
}
|
|
918
|
+
declare const BioBlitzObservationPin: ({ bioBlitzObservation }: Props$a) => react.JSX.Element;
|
|
919
|
+
|
|
920
|
+
interface DesignFarmerClusterPinProps {
|
|
921
|
+
title: string;
|
|
922
|
+
description: string;
|
|
923
|
+
path: string | undefined;
|
|
924
|
+
viewUrl: string;
|
|
925
|
+
}
|
|
926
|
+
interface Props$9 {
|
|
927
|
+
farmerCluster: DesignFarmerClusterPinProps;
|
|
928
|
+
buttonText?: string;
|
|
929
|
+
}
|
|
930
|
+
declare const DesignFarmerClusterPin: ({ farmerCluster, buttonText, }: Props$9) => react.JSX.Element;
|
|
931
|
+
|
|
932
|
+
interface Props$8 {
|
|
933
|
+
title: string;
|
|
934
|
+
textBody: string;
|
|
935
|
+
button: LinkButtonItem;
|
|
936
|
+
}
|
|
937
|
+
declare const LandingTitleBodyButton: ({ title, textBody, button }: Props$8) => react.JSX.Element;
|
|
938
|
+
|
|
939
|
+
interface H1BodyButtonProps {
|
|
940
|
+
title: string;
|
|
941
|
+
textBody?: string;
|
|
942
|
+
button?: LinkButtonItem;
|
|
943
|
+
}
|
|
944
|
+
declare const H1BodyButton: ({ title, textBody, button, }: H1BodyButtonProps) => react.JSX.Element;
|
|
945
|
+
|
|
946
|
+
interface Props$7 {
|
|
947
|
+
title: string;
|
|
948
|
+
textBody: string;
|
|
949
|
+
tag: string;
|
|
950
|
+
button: LinkButtonItem;
|
|
951
|
+
bottomPadding?: string;
|
|
952
|
+
}
|
|
953
|
+
declare const H2BodyButton: ({ title, textBody, button, tag, bottomPadding, }: Props$7) => react.JSX.Element;
|
|
954
|
+
|
|
955
|
+
interface H1BodyProps {
|
|
956
|
+
title: string;
|
|
957
|
+
textBody: string;
|
|
958
|
+
}
|
|
959
|
+
declare const H1Body: ({ title, textBody }: H1BodyProps) => react.JSX.Element;
|
|
960
|
+
|
|
961
|
+
interface H7BodyProps {
|
|
962
|
+
title: string;
|
|
963
|
+
textBody: string;
|
|
964
|
+
}
|
|
965
|
+
declare const H7Body: ({ title, textBody }: H7BodyProps) => react.JSX.Element;
|
|
966
|
+
|
|
967
|
+
declare const NewsHeading: () => react.JSX.Element;
|
|
968
|
+
|
|
969
|
+
interface Props$6 {
|
|
970
|
+
title: string;
|
|
971
|
+
subtitle: string;
|
|
972
|
+
content: string;
|
|
973
|
+
button: LinkButtonItem;
|
|
974
|
+
backgroundColor?: string;
|
|
975
|
+
imgClass?: string;
|
|
976
|
+
}
|
|
977
|
+
declare const SubtitleH3Body: ({ title, subtitle, content, button, backgroundColor, imgClass, }: Props$6) => react.JSX.Element;
|
|
978
|
+
|
|
979
|
+
interface Props$5 {
|
|
980
|
+
title: string;
|
|
981
|
+
subtitle: string;
|
|
982
|
+
textBody: string | null | undefined;
|
|
983
|
+
links: LinkProps[];
|
|
984
|
+
}
|
|
985
|
+
declare const SubtitleH3BodyInternalLinkList: ({ title, subtitle, textBody, links, }: Props$5) => react.JSX.Element;
|
|
986
|
+
|
|
987
|
+
interface Props$4 {
|
|
988
|
+
title: string;
|
|
989
|
+
subtitle: string;
|
|
990
|
+
description?: string;
|
|
991
|
+
faqs?: FAQProps["faqs"];
|
|
992
|
+
backgroundColor?: string;
|
|
993
|
+
}
|
|
994
|
+
declare const SubtitleH3Faq: ({ title, subtitle, description, faqs, backgroundColor, }: Props$4) => react.JSX.Element;
|
|
995
|
+
|
|
996
|
+
interface Props$3 {
|
|
997
|
+
title: string;
|
|
998
|
+
subtitle: string;
|
|
999
|
+
button: LinkButtonItem;
|
|
1000
|
+
}
|
|
1001
|
+
declare const SubtitleH3Cluster4Column: ({ title, subtitle, button, }: Props$3) => react.JSX.Element;
|
|
1002
|
+
|
|
1003
|
+
interface Props$2 {
|
|
1004
|
+
title: string;
|
|
1005
|
+
subtitle: string;
|
|
1006
|
+
button: LinkButtonItem;
|
|
1007
|
+
}
|
|
1008
|
+
declare const SubtitleH3ClusterNews3Column: ({ title, subtitle, button, }: Props$2) => react.JSX.Element;
|
|
1009
|
+
|
|
1010
|
+
interface Props$1 {
|
|
1011
|
+
title: string;
|
|
1012
|
+
content: string;
|
|
1013
|
+
button: LinkButtonItem;
|
|
1014
|
+
videoLink: string;
|
|
1015
|
+
}
|
|
1016
|
+
declare const SubtitleH2BodyVideo: ({ title, content, button, videoLink, }: Props$1) => react.JSX.Element;
|
|
1017
|
+
|
|
1018
|
+
interface Props {
|
|
1019
|
+
title: string;
|
|
1020
|
+
content: string;
|
|
1021
|
+
button: LinkButtonItem;
|
|
1022
|
+
path: string | undefined;
|
|
1023
|
+
}
|
|
1024
|
+
declare const ImageLeftH3BodyLink: ({ title, content, button, path, }: Props) => react.JSX.Element;
|
|
1025
|
+
|
|
1026
|
+
interface NewsfeedPreviewProps {
|
|
1027
|
+
newsArticleData: NewsArticleProps[];
|
|
1028
|
+
}
|
|
1029
|
+
/**
|
|
1030
|
+
* Renders a preview of news articles in a global newsfeed.
|
|
1031
|
+
*
|
|
1032
|
+
* @param {NewsfeedPreviewProps} newsArticleData - Array of news article data to display in the preview.
|
|
1033
|
+
* @returns {JSX.Element} A component displaying a preview of news articles with a title, a "View all" button, and a list of news articles.
|
|
1034
|
+
*/
|
|
1035
|
+
declare const NewsfeedPreview: ({ newsArticleData }: NewsfeedPreviewProps) => react.JSX.Element;
|
|
1036
|
+
|
|
1037
|
+
interface HeroProps$1 {
|
|
1038
|
+
path: string | undefined;
|
|
1039
|
+
text: string | null | undefined;
|
|
1040
|
+
logoPath?: string;
|
|
1041
|
+
}
|
|
1042
|
+
declare const HeroImageLeft: (props: HeroProps$1) => react.JSX.Element;
|
|
1043
|
+
|
|
1044
|
+
interface HeroProps {
|
|
1045
|
+
path: string | undefined;
|
|
1046
|
+
title: string | null | undefined;
|
|
1047
|
+
description: string | null | undefined;
|
|
1048
|
+
}
|
|
1049
|
+
declare const HeroImageRight: (props: HeroProps) => react.JSX.Element;
|
|
1050
|
+
|
|
1051
|
+
interface ImageLeftH3BodyProps {
|
|
1052
|
+
imagePath: string | undefined;
|
|
1053
|
+
title: string | null | undefined;
|
|
1054
|
+
text: string | null | undefined;
|
|
1055
|
+
button: LinkButtonItem;
|
|
1056
|
+
}
|
|
1057
|
+
declare const ImageLefttH3Body: (props: ImageLeftH3BodyProps) => react.JSX.Element;
|
|
1058
|
+
|
|
1059
|
+
interface KeyValuePairListProps {
|
|
1060
|
+
title?: string;
|
|
1061
|
+
subTitle?: string;
|
|
1062
|
+
keyName: string;
|
|
1063
|
+
valueName: string;
|
|
1064
|
+
showAddAnother?: boolean;
|
|
1065
|
+
addAnnotherText?: string;
|
|
1066
|
+
getValues: any;
|
|
1067
|
+
}
|
|
1068
|
+
declare const KeyValuePairList: (props: KeyValuePairListProps) => react.JSX.Element;
|
|
1069
|
+
|
|
1070
|
+
interface PieChartProps {
|
|
1071
|
+
data: {
|
|
1072
|
+
label: string;
|
|
1073
|
+
value: number | undefined;
|
|
1074
|
+
}[];
|
|
1075
|
+
outerRadius: number;
|
|
1076
|
+
innerRadius: number;
|
|
1077
|
+
}
|
|
1078
|
+
declare const PieChart: ({ data, outerRadius, innerRadius }: PieChartProps) => react.JSX.Element;
|
|
1079
|
+
|
|
1080
|
+
interface RegisterFormProps {
|
|
1081
|
+
onSuccess?: () => void;
|
|
1082
|
+
onError?: (error: string) => void;
|
|
1083
|
+
defaultAppName?: string;
|
|
1084
|
+
className?: string;
|
|
1085
|
+
}
|
|
1086
|
+
declare function RegisterForm({ onSuccess, onError, defaultAppName, className, }: RegisterFormProps): react.JSX.Element;
|
|
1087
|
+
|
|
1088
|
+
export { AccountDetail, AddRole, AddTenant, AddUser, type AddUserProps$1 as AddUserProps, AdminLayout, type AdminLayoutProps, ApiImage, type ApiImageProps, ApplicationView, AuthenticationFailure, BannerFollowLinks, BioBlitzObservationPin, type BioBlitzObservationPinProps, ButtonList, ChangePassword, Cluster, ClusterList, ClusterNews, ClusterNewsItem, type ClusterNewsItemProps, ClusterNewsList, type ClusterNewsProps, type ClusterProps, ClusterStoryItem, CmsImage, ContentCarousel, ContentGrid, CookieConsent, CoverImage, CustomDropDown, CustomFilterSort, CustomLink, DeleteRole, DeleteUser, DesignCustomLink, DesignDashboardPagination, DesignFarmerClusterPin, type DesignFarmerClusterPinProps, DesignFooter, DesignHeader, DesignLink, DesignListLink, DesignPagination, DesignSearchInput, DesignSort, DesignTestimonials, DialogWrapper, EditLinkButton, Emailing, Error, FAQ, type FAQProps, FeatureItemElement, FeatureManagement, Features, FilterDropdown, Footer, GalleryItem, GalleryItemList, type GalleryItemProps, H1Body, H1BodyButton, type H1BodyProps, H2BodyButton, H3Clusters, type H3ClustersProps, H7Body, type H7BodyProps, HeroImageLeft, HeroImageRight, HeroWidgetMobileDevice, HeroWidgetOld, HeroWithCenterText, HeroWithMap, HeroWithMultipleImage, HeroWithThreeImage, HtmlView, type IPanelMainProps, type IVerticalHorizontalProps, ImageLeftH3BodyLink, ImageLefttH3Body, InfoCard, KeyValuePairList, LandingTitleBodyButton, LanguagePopup, type LinkProps, ListTagsGroup, MapLayout, MediaItem, MobileFilterPopup, MobileFilterPopupOpened, MultiSelectFreeText, News, NewsArticle, NewsArticleList, type NewsArticleProps, NewsHeading, NewsItemList, NewsfeedPreview, type NewsfeedPreviewProps, NextImage, PageNotFound, Pagination, PanelMain, PanelVertical, Permissions, PermissionsGrant, PieChart, ProfileSettings, PublicationList, RegisterForm, type RegisterFormProps, RequireFeature, RichTextContent, RoleEdit, RoleList, RolePermission, RoutePagination, SettingsManagement, ShowTagItem, Sidebar, SidebarIcon, type SidebarProps, SignUpBanner, SixClusterNews, SubtitleH2BodyVideo, SubtitleH3Body, SubtitleH3BodyInternalLinkList, SubtitleH3Cluster4Column, SubtitleH3ClusterNews3Column, SubtitleH3Faq, TenantList, TestEmail, type TestEmailProps, type TestimonialProps, TopNav2, TopNav3, TopNav4, TopNavbar, type TopNavbarProps, TopProgress, UiTimer, UpdatePassword, UpdateUserProfile, UserDropDown, UserEdit, UserList, UserMenus, type UserMenusProps, UserPermission, Video, ViewLink, customSelectInputStyles, formatDate, formatTagString, getSelectTheme, isAdmin, parseTitle, tableCustomStyles, tableDesigntyles };
|