2021-08-07 06:17:42 +00:00
|
|
|
//
|
|
|
|
// Copyright © 2020 Anticrm Platform Contributors.
|
|
|
|
//
|
|
|
|
// 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
|
|
|
|
//
|
|
|
|
// 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.
|
|
|
|
//
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
//
|
|
|
|
|
2023-02-08 06:42:26 +00:00
|
|
|
import { IntlString, mergeIds } from '@hcengineering/platform'
|
2022-09-21 08:08:25 +00:00
|
|
|
import type { AnyComponent } from '@hcengineering/ui'
|
2023-02-08 06:42:26 +00:00
|
|
|
import { FilterFunction, ViewAction, ViewCategoryAction, viewId } from '@hcengineering/view'
|
2022-09-21 08:08:25 +00:00
|
|
|
import view from '@hcengineering/view-resources/src/plugin'
|
2021-08-07 06:17:42 +00:00
|
|
|
|
|
|
|
export default mergeIds(viewId, view, {
|
2021-09-25 16:48:22 +00:00
|
|
|
actionImpl: {
|
2022-04-19 09:38:31 +00:00
|
|
|
Delete: '' as ViewAction,
|
|
|
|
Move: '' as ViewAction,
|
|
|
|
MoveLeft: '' as ViewAction,
|
|
|
|
MoveRight: '' as ViewAction,
|
|
|
|
MoveUp: '' as ViewAction,
|
|
|
|
MoveDown: '' as ViewAction,
|
|
|
|
|
|
|
|
SelectItem: '' as ViewAction,
|
|
|
|
SelectItemAll: '' as ViewAction,
|
|
|
|
SelectItemNone: '' as ViewAction,
|
|
|
|
SelectUp: '' as ViewAction,
|
|
|
|
SelectDown: '' as ViewAction,
|
|
|
|
|
|
|
|
ShowPreview: '' as ViewAction,
|
2022-04-22 06:30:34 +00:00
|
|
|
ShowActions: '' as ViewAction,
|
2023-03-29 04:25:26 +00:00
|
|
|
Preview: '' as ViewAction,
|
2022-04-22 06:30:34 +00:00
|
|
|
|
2022-04-24 05:18:03 +00:00
|
|
|
Open: '' as ViewAction
|
2021-09-25 16:48:22 +00:00
|
|
|
},
|
2021-08-07 06:17:42 +00:00
|
|
|
component: {
|
|
|
|
StringEditor: '' as AnyComponent,
|
2022-05-28 07:33:11 +00:00
|
|
|
StringEditorPopup: '' as AnyComponent,
|
2021-08-07 06:17:42 +00:00
|
|
|
StringPresenter: '' as AnyComponent,
|
2022-11-04 06:07:27 +00:00
|
|
|
HyperlinkPresenter: '' as AnyComponent,
|
2022-03-18 06:37:49 +00:00
|
|
|
IntlStringPresenter: '' as AnyComponent,
|
2022-02-16 09:02:31 +00:00
|
|
|
NumberEditor: '' as AnyComponent,
|
|
|
|
NumberPresenter: '' as AnyComponent,
|
2023-04-27 10:09:46 +00:00
|
|
|
MarkupDiffPresenter: '' as AnyComponent,
|
2023-01-12 19:56:35 +00:00
|
|
|
MarkupPresenter: '' as AnyComponent,
|
2021-11-22 10:55:52 +00:00
|
|
|
BooleanPresenter: '' as AnyComponent,
|
2021-10-04 19:18:23 +00:00
|
|
|
BooleanEditor: '' as AnyComponent,
|
2021-10-05 14:34:52 +00:00
|
|
|
TimestampPresenter: '' as AnyComponent,
|
2021-12-02 09:09:37 +00:00
|
|
|
DateEditor: '' as AnyComponent,
|
|
|
|
DatePresenter: '' as AnyComponent,
|
2022-05-13 06:38:54 +00:00
|
|
|
TableBrowser: '' as AnyComponent,
|
2022-04-28 10:05:28 +00:00
|
|
|
RolePresenter: '' as AnyComponent,
|
|
|
|
YoutubePresenter: '' as AnyComponent,
|
2022-05-05 14:50:28 +00:00
|
|
|
GithubPresenter: '' as AnyComponent,
|
2022-05-29 04:56:06 +00:00
|
|
|
ClassPresenter: '' as AnyComponent,
|
2023-01-14 10:54:54 +00:00
|
|
|
ClassRefPresenter: '' as AnyComponent,
|
2022-08-30 05:54:03 +00:00
|
|
|
EnumEditor: '' as AnyComponent,
|
2023-02-01 11:24:21 +00:00
|
|
|
EnumArrayEditor: '' as AnyComponent,
|
2023-01-12 19:56:35 +00:00
|
|
|
HTMLEditor: '' as AnyComponent,
|
|
|
|
MarkupEditor: '' as AnyComponent,
|
2023-01-14 10:54:54 +00:00
|
|
|
MarkupEditorPopup: '' as AnyComponent,
|
2023-01-24 13:42:47 +00:00
|
|
|
ListView: '' as AnyComponent,
|
2023-01-31 17:18:07 +00:00
|
|
|
IndexedDocumentPreview: '' as AnyComponent,
|
2023-02-07 04:52:34 +00:00
|
|
|
SpaceRefPresenter: '' as AnyComponent,
|
2023-04-04 06:11:49 +00:00
|
|
|
EnumPresenter: '' as AnyComponent,
|
|
|
|
StatusPresenter: '' as AnyComponent,
|
|
|
|
StatusRefPresenter: '' as AnyComponent
|
2022-02-23 16:10:11 +00:00
|
|
|
},
|
|
|
|
string: {
|
|
|
|
Table: '' as IntlString,
|
|
|
|
Delete: '' as IntlString,
|
2022-04-19 09:38:31 +00:00
|
|
|
Role: '' as IntlString,
|
|
|
|
// Keybaord actions
|
|
|
|
MoveUp: '' as IntlString,
|
|
|
|
MoveDown: '' as IntlString,
|
|
|
|
MoveLeft: '' as IntlString,
|
|
|
|
MoveRight: '' as IntlString,
|
|
|
|
SelectItem: '' as IntlString,
|
|
|
|
SelectItemAll: '' as IntlString,
|
|
|
|
SelectItemNone: '' as IntlString,
|
|
|
|
SelectUp: '' as IntlString,
|
|
|
|
SelectDown: '' as IntlString,
|
|
|
|
ShowPreview: '' as IntlString,
|
2022-04-22 06:30:34 +00:00
|
|
|
ShowActions: '' as IntlString,
|
2022-05-04 08:08:12 +00:00
|
|
|
Open: '' as IntlString,
|
|
|
|
// Action categories
|
|
|
|
General: '' as IntlString,
|
|
|
|
Navigation: '' as IntlString,
|
|
|
|
Editor: '' as IntlString,
|
2023-01-24 13:43:06 +00:00
|
|
|
MarkdownFormatting: '' as IntlString
|
2022-06-03 16:12:18 +00:00
|
|
|
},
|
|
|
|
function: {
|
2023-02-08 06:42:26 +00:00
|
|
|
FilterObjectInResult: '' as FilterFunction,
|
|
|
|
FilterObjectNinResult: '' as FilterFunction,
|
|
|
|
FilterValueInResult: '' as FilterFunction,
|
|
|
|
FilterValueNinResult: '' as FilterFunction,
|
|
|
|
FilterBeforeResult: '' as FilterFunction,
|
|
|
|
FilterAfterResult: '' as FilterFunction,
|
|
|
|
FilterNestedMatchResult: '' as FilterFunction,
|
|
|
|
FilterNestedDontMatchResult: '' as FilterFunction,
|
|
|
|
ShowEmptyGroups: '' as ViewCategoryAction
|
2021-08-07 06:17:42 +00:00
|
|
|
}
|
|
|
|
})
|