platform/plugins/view-assets/src/index.ts
Danilo Gačević 27454ca707
feat: add shortcut to create todo in documents (#5827)
Signed-off-by: Danilo Gacevic <gacevic.danilo@gmail.com>
2024-06-26 13:19:37 +07:00

60 lines
1.9 KiB
TypeScript

//
// 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.
//
import { loadMetadata } from '@hcengineering/platform'
import view from '@hcengineering/view'
const icons = require('../assets/icons.svg') as string // eslint-disable-line
loadMetadata(view.icon, {
Table: `${icons}#table`,
List: `${icons}#list`,
Card: `${icons}#card`,
Timeline: `${icons}#timeline`,
Delete: `${icons}#delete`,
Move: `${icons}#move`,
MoreH: `${icons}#more-h`,
Archive: `${icons}#archive`,
Statuses: `${icons}#statuses`,
Open: `${icons}#open`,
Edit: `${icons}#edit`,
CopyId: `${icons}#copyId`,
CopyLink: `${icons}#copyLink`,
Setting: `${icons}#setting`,
ArrowRight: `${icons}#arrow-right`,
Views: `${icons}#views`,
Pin: `${icons}#pin`,
Model: `${icons}#model`,
DevModel: `${icons}#devmodel`,
ViewButton: `${icons}#viewButton`,
Filter: `${icons}#filter`,
Configure: `${icons}#configure`,
Database: `${icons}#database`,
Star: `${icons}#star`,
Eye: `${icons}#eye`,
EyeCrossed: `${icons}#eye-crossed`,
Bubble: `${icons}#bubble`,
CheckCircle: `${icons}#check-circle`,
Add: `${icons}#add`,
Image: `${icons}#image`,
Table2: `${icons}#table2`,
CodeBlock: `${icons}#code-block`,
SeparatorLine: `${icons}#separator-line`,
TodoList: `${icons}#todo-list`,
Circle: `${icons}#circle`,
Join: `${icons}#join`,
Leave: `${icons}#leave`,
Copy: `${icons}#copy`
})