1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-23 12:27:48 +00:00

feat: sf metadata display (#6249)

* feat: sf metadata display

* feat: update code

* feat: update code

* feat: lock react version

* feat: bug

* feat: optimize code

* feat: update transalte

* feat: update transalte

* feat: rebase code

* Feat: update code

* Feat: update code

---------

Co-authored-by: 杨国璇 <ygx@192.168.1.5>
Co-authored-by: 杨国璇 <ygx@Hello-word.local>
Co-authored-by: 杨国璇 <ygx@192.168.1.13>
This commit is contained in:
杨国璇
2024-06-29 17:58:27 +08:00
committed by GitHub
parent 4f888be82c
commit 19f15c944f
207 changed files with 18330 additions and 348 deletions

View File

@@ -0,0 +1,114 @@
export {
UserService
} from './services';
export {
CellType,
COLUMNS_ICON_CONFIG,
COLUMNS_ICON_NAME,
COLLABORATOR_COLUMN_TYPES,
DATE_COLUMN_OPTIONS,
NUMERIC_COLUMNS_TYPES,
DEFAULT_DATE_FORMAT,
UTC_FORMAT_DEFAULT,
DATE_UNIT,
DATE_FORMAT_MAP,
DEFAULT_NUMBER_FORMAT,
DATE_DEFAULT_TYPES,
NOT_SUPPORT_EDIT_COLUMN_TYPE,
NOT_SUPPORT_EDIT_COLUMN_TYPE_MAP,
MULTIPLE_CELL_VALUE_COLUMN_TYPE_MAP,
SINGLE_CELL_VALUE_COLUMN_TYPE_MAP,
FILTER_CONJUNCTION_TYPE,
FILTER_ERR_MSG,
FILTER_COLUMN_OPTIONS,
FILTER_TERM_MODIFIER_TYPE,
FILTER_TERM_MODIFIER_SHOW,
FILTER_PREDICATE_TYPE,
FILTER_PREDICATE_SHOW,
filterTermModifierIsWithin,
filterTermModifierNotWithin,
MAX_GROUP_LEVEL,
GROUP_DATE_GRANULARITY,
DISPLAY_GROUP_DATE_GRANULARITY,
GROUP_GEOLOCATION_GRANULARITY,
DISPLAY_GROUP_GEOLOCATION_GRANULARITY,
SUPPORT_GROUP_COLUMN_TYPES,
REG_STRING_NUMBER_PARTS,
REG_NUMBER_DIGIT,
SELECT_OPTION_COLORS,
HIGHLIGHT_COLORS,
SORT_TYPE,
SORT_COLUMN_OPTIONS,
TEXT_SORTER_COLUMN_TYPES,
NUMBER_SORTER_COLUMN_TYPES,
KeyCodes,
Z_INDEX,
GROUPBY_DATE_GRANULARITY_LIST,
HEADER_HEIGHT_TYPE,
} from './constants';
export {
getColumnType,
getColumnsByType,
isDateColumn,
isSupportDateColumnFormat,
getValidFilters,
getValidFiltersWithoutError,
deleteInvalidFilter,
otherDate,
getFormattedFilterOtherDate,
getFormattedFilter,
getFormattedFilters,
creatorFilter,
dateFilter,
textFilter,
filterRow,
filterRows,
deleteInvalidGroupby,
isValidGroupby,
getValidGroupbys,
groupTableRows,
groupViewRows,
isTableRows,
updateTableRowsWithRowsData,
isValidSort,
getValidSorts,
deleteInvalidSort,
getMultipleIndexesOrderbyOptions,
sortDate,
sortText,
sortRowsWithMultiSorts,
sortTableRows,
getTableById,
getTableByName,
getTableByIndex,
getTableColumnByKey,
getTableColumnByName,
getRowById,
getRowsByIds,
isValidEmail,
ValidateFilter,
DATE_MODIFIERS_REQUIRE_TERM,
getViewById,
getViewByName,
isDefaultView,
isFilterView,
isGroupView,
isSortView,
isHiddenColumnsView,
getViewShownColumns,
getGroupByPath,
getType,
isMac,
base64ToFile,
bytesToSize,
getErrorMsg,
DateUtils,
CommonlyUsedHotkey,
LocalStorage,
isFunction,
isEmpty,
isEmptyObject,
debounce,
throttle,
} from './utils';