platform/packages/ui/src/plugin.ts
Andrey Sobolev 239d4da6ce
TSK-1098: My issues list (#3137)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2023-05-04 19:34:51 +07:00

97 lines
3.0 KiB
TypeScript

//
// Copyright © 2020, 2021 Anticrm Platform Contributors.
// Copyright © 2021 Hardcore Engineering Inc.
//
// 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 type { IntlString, Metadata, Plugin } from '@hcengineering/platform'
import { plugin } from '@hcengineering/platform'
import { AnyComponent } from './types'
/**
* @public
*/
export const uiId = 'ui' as Plugin
export const uis = plugin(uiId, {
string: {
EditBoxPlaceholder: '' as IntlString,
Ok: '' as IntlString,
Cancel: '' as IntlString,
Save: '' as IntlString,
Minutes: '' as IntlString,
Hours: '' as IntlString,
Days: '' as IntlString,
Months: '' as IntlString,
Years: '' as IntlString,
ShowMore: '' as IntlString,
ShowLess: '' as IntlString,
Search: '' as IntlString,
SearchDots: '' as IntlString,
Suggested: '' as IntlString,
TimeTooltip: '' as IntlString,
SelectDate: '' as IntlString,
None: '' as IntlString,
NotSelected: '' as IntlString,
Today: '' as IntlString,
NoDate: '' as IntlString,
StartDate: '' as IntlString,
TargetDate: '' as IntlString,
Overdue: '' as IntlString,
DueDate: '' as IntlString,
AddDueDate: '' as IntlString,
EditDueDate: '' as IntlString,
SaveDueDate: '' as IntlString,
NeedsToBeCompletedByThisDate: '' as IntlString,
English: '' as IntlString,
Russian: '' as IntlString,
MinutesBefore: '' as IntlString,
HoursBefore: '' as IntlString,
DaysBefore: '' as IntlString,
MinutesAfter: '' as IntlString,
HoursAfter: '' as IntlString,
DaysAfter: '' as IntlString,
NoActionsDefined: '' as IntlString,
Incoming: '' as IntlString,
HoursLabel: '' as IntlString,
Back: '' as IntlString,
Next: '' as IntlString,
DropdownDefaultLabel: '' as IntlString,
DD: '' as IntlString,
MM: '' as IntlString,
YYYY: '' as IntlString,
HH: '' as IntlString,
DueDatePopupTitle: '' as IntlString,
DueDatePopupOverdueTitle: '' as IntlString,
DueDatePopupDescription: '' as IntlString,
DueDatePopupOverdueDescription: '' as IntlString,
GettingWorkDone: '' as IntlString,
Smileys: '' as IntlString,
Nature: '' as IntlString,
Symbols: '' as IntlString,
TravelAndPlaces: '' as IntlString,
Food: '' as IntlString,
Objects: '' as IntlString
},
metadata: {
DefaultApplication: '' as Metadata<AnyComponent>,
Routes: '' as Metadata<Map<string, AnyComponent>>,
// Will activate network click button
ShowNetwork: '' as Metadata<(evt: MouseEvent) => void>
}
})
export default uis