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.
|
|
|
|
//
|
|
|
|
|
2022-09-21 08:08:25 +00:00
|
|
|
import { ObjQueryType } from '@hcengineering/core'
|
|
|
|
import { IntlString, mergeIds, Resource } from '@hcengineering/platform'
|
|
|
|
import type { AnyComponent } from '@hcengineering/ui'
|
|
|
|
import { Filter, ViewAction, viewId } from '@hcengineering/view'
|
|
|
|
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,
|
|
|
|
|
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-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-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-18 05:14:59 +00:00
|
|
|
ListView: '' 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-14 10:54:54 +00:00
|
|
|
MarkdownFormatting: '' as IntlString,
|
|
|
|
List: '' as IntlString
|
2022-06-03 16:12:18 +00:00
|
|
|
},
|
|
|
|
function: {
|
2022-06-21 04:05:09 +00:00
|
|
|
FilterObjectInResult: '' as Resource<(filter: Filter, onUpdate: () => void) => Promise<ObjQueryType<any>>>,
|
|
|
|
FilterObjectNinResult: '' as Resource<(filter: Filter, onUpdate: () => void) => Promise<ObjQueryType<any>>>,
|
|
|
|
FilterValueInResult: '' as Resource<(filter: Filter, onUpdate: () => void) => Promise<ObjQueryType<any>>>,
|
|
|
|
FilterValueNinResult: '' as Resource<(filter: Filter, onUpdate: () => void) => Promise<ObjQueryType<any>>>,
|
|
|
|
FilterBeforeResult: '' as Resource<(filter: Filter, onUpdate: () => void) => Promise<ObjQueryType<any>>>,
|
|
|
|
FilterAfterResult: '' as Resource<(filter: Filter, onUpdate: () => void) => Promise<ObjQueryType<any>>>,
|
|
|
|
FilterNestedMatchResult: '' as Resource<(filter: Filter, onUpdate: () => void) => Promise<ObjQueryType<any>>>,
|
|
|
|
FilterNestedDontMatchResult: '' as Resource<(filter: Filter, onUpdate: () => void) => Promise<ObjQueryType<any>>>
|
2021-08-07 06:17:42 +00:00
|
|
|
}
|
|
|
|
})
|