2020-08-14 19:14:42 +00:00
|
|
|
export const LANGUAGE = "language";
|
|
|
|
export const ARTICLE_PINNED_KEY = "asc_article_pinned_key";
|
2019-11-12 11:55:22 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for employee activation status.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const EmployeeActivationStatus = Object.freeze({
|
|
|
|
NotActivated: 0,
|
|
|
|
Activated: 1,
|
|
|
|
Pending: 2,
|
2020-10-16 12:38:04 +00:00
|
|
|
AutoGenerated: 4,
|
2019-11-12 11:55:22 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for employee status.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const EmployeeStatus = Object.freeze({
|
|
|
|
Active: 1,
|
2020-10-16 12:38:04 +00:00
|
|
|
Disabled: 2,
|
2019-11-12 11:55:22 +00:00
|
|
|
});
|
2019-11-19 11:10:56 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for employee type.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const EmployeeType = Object.freeze({
|
|
|
|
User: 1,
|
2020-10-16 12:38:04 +00:00
|
|
|
Guest: 2,
|
2020-03-03 06:30:27 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for filter type.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const FilterType = Object.freeze({
|
|
|
|
None: 0,
|
|
|
|
FilesOnly: 1,
|
|
|
|
FoldersOnly: 2,
|
|
|
|
DocumentsOnly: 3,
|
|
|
|
PresentationsOnly: 4,
|
|
|
|
SpreadsheetsOnly: 5,
|
|
|
|
ImagesOnly: 7,
|
|
|
|
ByUser: 8,
|
|
|
|
ByDepartment: 9,
|
|
|
|
ArchiveOnly: 10,
|
|
|
|
ByExtension: 11,
|
2020-10-16 12:38:04 +00:00
|
|
|
MediaOnly: 12,
|
2020-03-03 06:30:27 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for file type.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const FileType = Object.freeze({
|
|
|
|
Unknown: 0,
|
|
|
|
Archive: 1,
|
|
|
|
Video: 2,
|
|
|
|
Audio: 3,
|
|
|
|
Image: 4,
|
|
|
|
Spreadsheet: 5,
|
|
|
|
Presentation: 6,
|
2020-10-16 12:38:04 +00:00
|
|
|
Document: 7,
|
2020-03-18 08:39:43 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for file action.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const FileAction = Object.freeze({
|
|
|
|
Create: 0,
|
2020-10-16 12:38:04 +00:00
|
|
|
Rename: 1,
|
2020-03-23 10:47:28 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for root folders type.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const FolderType = Object.freeze({
|
|
|
|
DEFAULT: 0,
|
2020-06-05 12:08:32 +00:00
|
|
|
COMMON: 1,
|
2020-03-23 10:47:28 +00:00
|
|
|
BUNCH: 2,
|
2020-06-05 12:08:32 +00:00
|
|
|
TRASH: 3,
|
|
|
|
USER: 5,
|
|
|
|
SHARE: 6,
|
2020-10-16 12:38:04 +00:00
|
|
|
Projects: 8,
|
2020-10-22 15:51:31 +00:00
|
|
|
Favorites: 10,
|
|
|
|
Recent: 11,
|
|
|
|
Templates: 12,
|
|
|
|
Privacy: 13,
|
2020-04-07 08:10:32 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
export const ShareAccessRights = Object.freeze({
|
2020-12-14 12:06:24 +00:00
|
|
|
None: 0,
|
2020-04-07 08:10:32 +00:00
|
|
|
FullAccess: 1,
|
|
|
|
ReadOnly: 2,
|
|
|
|
DenyAccess: 3,
|
2020-12-14 12:06:24 +00:00
|
|
|
Varies: 4,
|
2020-04-07 08:10:32 +00:00
|
|
|
Review: 5,
|
|
|
|
Comment: 6,
|
2020-10-16 12:38:04 +00:00
|
|
|
FormFilling: 7,
|
2020-12-08 15:25:17 +00:00
|
|
|
CustomFilter: 8,
|
2020-08-14 19:14:42 +00:00
|
|
|
});
|
|
|
|
|
2021-04-16 13:04:50 +00:00
|
|
|
export const ConflictResolveType = Object.freeze({
|
|
|
|
Skip: 0,
|
|
|
|
Overwrite: 1,
|
|
|
|
Duplicate: 2,
|
|
|
|
});
|
2021-04-12 07:57:21 +00:00
|
|
|
export const providersData = Object.freeze({
|
|
|
|
Google: {
|
2021-05-21 12:00:30 +00:00
|
|
|
label: "Google",
|
2021-04-12 07:57:21 +00:00
|
|
|
icon: "/static/images/share.google.react.svg",
|
|
|
|
},
|
|
|
|
Facebook: {
|
2021-05-21 12:00:30 +00:00
|
|
|
label: "Facebook",
|
2021-04-12 07:57:21 +00:00
|
|
|
icon: "/static/images/share.facebook.react.svg",
|
|
|
|
},
|
|
|
|
Twitter: {
|
2021-05-21 12:00:30 +00:00
|
|
|
label: "Twitter",
|
2021-04-12 07:57:21 +00:00
|
|
|
icon: "/static/images/share.twitter.react.svg",
|
|
|
|
iconOptions: { color: "#2AA3EF" },
|
|
|
|
},
|
|
|
|
LinkedIn: {
|
2021-05-21 12:00:30 +00:00
|
|
|
label: "LinkedIn",
|
2021-04-12 07:57:21 +00:00
|
|
|
icon: "/static/images/share.linkedin.react.svg",
|
|
|
|
},
|
2021-04-22 13:13:02 +00:00
|
|
|
});
|
2020-11-03 12:54:21 +00:00
|
|
|
|
|
|
|
export const LoaderStyle = {
|
2020-11-09 13:02:08 +00:00
|
|
|
title: "",
|
2020-11-06 12:21:01 +00:00
|
|
|
width: "100%",
|
|
|
|
height: "32",
|
|
|
|
backgroundColor: "#000000",
|
|
|
|
foregroundColor: "#000000",
|
2020-11-10 07:41:21 +00:00
|
|
|
backgroundOpacity: 0.1,
|
2020-11-09 09:35:06 +00:00
|
|
|
foregroundOpacity: 0.15,
|
|
|
|
borderRadius: "3",
|
|
|
|
radius: "3",
|
2020-11-05 09:23:50 +00:00
|
|
|
speed: 2,
|
2020-11-06 12:21:01 +00:00
|
|
|
animate: true,
|
2020-11-03 12:54:21 +00:00
|
|
|
};
|
2021-03-21 21:34:21 +00:00
|
|
|
|
2021-03-22 14:35:33 +00:00
|
|
|
import config from "./AppServerConfig";
|
|
|
|
|
|
|
|
export const AppServerConfig = config;
|
2021-05-04 12:35:09 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for Tenant trusted domains on registration.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const TenantTrustedDomainsType = Object.freeze({
|
|
|
|
None: 0,
|
|
|
|
Custom: 1,
|
|
|
|
All: 2,
|
|
|
|
});
|
2021-05-04 14:42:06 +00:00
|
|
|
|
|
|
|
export const FilesFormats = Object.freeze({
|
|
|
|
OriginalFormat: 0,
|
|
|
|
TxtFormat: 1,
|
|
|
|
DocxFormat: 2,
|
|
|
|
OdtFormat: 3,
|
|
|
|
OdsFormat: 4,
|
|
|
|
OdpFormat: 5,
|
|
|
|
PdfFormat: 6,
|
|
|
|
RtfFormat: 7,
|
|
|
|
XlsxFormat: 8,
|
|
|
|
PptxFormat: 9,
|
|
|
|
CustomFormat: 10,
|
|
|
|
});
|
2021-05-24 16:05:29 +00:00
|
|
|
|
|
|
|
export const PasswordLimitSpecialCharacters = "!@#$%^&*";
|