2021-12-06 10:07:08 +00:00
|
|
|
//
|
2022-01-14 09:20:31 +00:00
|
|
|
// Copyright © 2020, 2021 Anticrm Platform Contributors.
|
|
|
|
// Copyright © 2021, 2022 Hardcore Engineering Inc.
|
|
|
|
//
|
2021-11-18 12:48:05 +00:00
|
|
|
// Licensed under the Eclipse Public License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License. You may
|
|
|
|
// obtain a copy of the License at https://www.eclipse.org/legal/epl-2.0
|
2022-01-14 09:20:31 +00:00
|
|
|
//
|
2021-11-18 12:48:05 +00:00
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
2022-01-14 09:20:31 +00:00
|
|
|
//
|
2021-11-18 12:48:05 +00:00
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
2021-12-06 10:07:08 +00:00
|
|
|
//
|
2021-11-18 12:48:05 +00:00
|
|
|
|
2021-12-06 10:07:08 +00:00
|
|
|
import attachment, { attachmentId } from '@anticrm/attachment'
|
2022-05-28 07:33:11 +00:00
|
|
|
import type { IntlString } from '@anticrm/platform'
|
|
|
|
import { mergeIds } from '@anticrm/platform'
|
2022-04-25 13:44:43 +00:00
|
|
|
import { ViewAction } from '@anticrm/view'
|
2021-11-18 12:48:05 +00:00
|
|
|
|
2021-12-06 10:07:08 +00:00
|
|
|
export default mergeIds(attachmentId, attachment, {
|
|
|
|
string: {
|
|
|
|
NoAttachments: '' as IntlString,
|
2022-01-12 09:18:50 +00:00
|
|
|
UploadDropFilesHere: '' as IntlString,
|
2022-01-14 09:20:31 +00:00
|
|
|
Attachments: '' as IntlString,
|
2022-04-23 02:40:38 +00:00
|
|
|
Photos: '' as IntlString,
|
|
|
|
FileBrowser: '' as IntlString,
|
|
|
|
FileBrowserFileCounter: '' as IntlString,
|
2022-04-28 06:45:07 +00:00
|
|
|
FileBrowserListView: '' as IntlString,
|
|
|
|
FileBrowserGridView: '' as IntlString,
|
2022-04-23 02:40:38 +00:00
|
|
|
FileBrowserFilterFrom: '' as IntlString,
|
|
|
|
FileBrowserFilterIn: '' as IntlString,
|
|
|
|
FileBrowserFilterDate: '' as IntlString,
|
|
|
|
FileBrowserFilterFileType: '' as IntlString,
|
2022-04-27 08:47:29 +00:00
|
|
|
FileBrowserSort: '' as IntlString,
|
2022-04-23 02:40:38 +00:00
|
|
|
FileBrowserSortNewest: '' as IntlString,
|
|
|
|
FileBrowserSortOldest: '' as IntlString,
|
|
|
|
FileBrowserSortAZ: '' as IntlString,
|
|
|
|
FileBrowserSortZA: '' as IntlString,
|
2022-04-27 08:47:29 +00:00
|
|
|
FileBrowserSortSmallest: '' as IntlString,
|
|
|
|
FileBrowserSortBiggest: '' as IntlString,
|
2022-04-25 13:44:43 +00:00
|
|
|
AddAttachmentToSaved: '' as IntlString,
|
2022-05-28 07:33:11 +00:00
|
|
|
RemoveAttachmentFromSaved: '' as IntlString,
|
|
|
|
Pinned: '' as IntlString
|
2022-04-25 13:44:43 +00:00
|
|
|
},
|
|
|
|
actionImpl: {
|
|
|
|
AddAttachmentToSaved: '' as ViewAction,
|
|
|
|
DeleteAttachmentFromSaved: '' as ViewAction
|
2021-12-06 10:07:08 +00:00
|
|
|
}
|
|
|
|
})
|