-
-
Notifications
You must be signed in to change notification settings - Fork 360
Expand file tree
/
Copy patheeModule.oss.tsx
More file actions
51 lines (46 loc) · 1.83 KB
/
Copy patheeModule.oss.tsx
File metadata and controls
51 lines (46 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import React from 'react';
import type { BillingMenuItemsProps } from './EeModuleType';
const NotIncludedInOss =
(name: string): ((props?: any) => any) =>
// eslint-disable-next-line react/display-name
() => {
return <div>Not included in OSS ({name})</div>;
};
const Empty: (props?: any) => any = () => {
return null;
};
export const TaskReference = NotIncludedInOss('TaskReference');
export const PermissionsAdvancedEe = NotIncludedInOss('PermissionsAdvancedEe');
export const GlobalLimitPopover = Empty;
export const billingMenuItems = [] as React.FC<BillingMenuItemsProps>[];
export const apps = [] as React.FC[];
export const Usage = Empty;
export const AgencyLabel = NotIncludedInOss('AgencyLabel');
export const OrderTranslationsDialog = Empty;
export const TaskItem = Empty;
export const TaskFilterPopover = Empty;
export const TaskAllDonePlaceholder = Empty;
export const routes = {
Root: Empty,
Administration: Empty,
Organization: Empty,
Project: Empty,
};
export const useUserTaskCount = () => 0;
export const TranslationTaskIndicator = NotIncludedInOss(
'TranslationTaskIndicator'
);
export const PrefilterTask = NotIncludedInOss('PrefilterTask');
export const PrefilterTaskShowDoneSwitch = NotIncludedInOss(
'PrefilterTaskShowDoneSwitch'
);
export const TranslationsTaskDetail = Empty;
export const useAddDeveloperViewItems = () => (existingItems) => existingItems;
export const useAddBatchOperations = () => (existingItems) => existingItems;
export const translationPanelAdder = (existingItems) => existingItems;
export const useAddProjectMenuItems = () => (existingItems) => existingItems;
export const useAddUserMenuItems = () => (existingItems) => existingItems;
export const useAddAdministrationMenuItems = () => (existingItems) =>
existingItems;
export const TrialAnnouncement = Empty;
export const TrialChip = Empty;