2021-12-07 09:05:52 +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 lead, { leadId } from '@hcengineering/lead'
|
2023-11-20 10:01:43 +00:00
|
|
|
import { type IntlString, mergeIds, type Resource } from '@hcengineering/platform'
|
|
|
|
import { type Client, type Doc, type Ref } from '@hcengineering/core'
|
|
|
|
import { type AnyComponent } from '@hcengineering/ui'
|
2021-12-07 09:05:52 +00:00
|
|
|
|
|
|
|
export default mergeIds(leadId, lead, {
|
|
|
|
string: {
|
|
|
|
FunnelName: '' as IntlString,
|
|
|
|
CreateFunnel: '' as IntlString,
|
|
|
|
LeadName: '' as IntlString,
|
|
|
|
More: '' as IntlString,
|
|
|
|
SelectFunnel: '' as IntlString,
|
|
|
|
CreateLead: '' as IntlString,
|
2022-03-14 09:04:41 +00:00
|
|
|
LeadCreateLabel: '' as IntlString,
|
2021-12-07 09:05:52 +00:00
|
|
|
Customer: '' as IntlString,
|
2021-12-30 09:04:32 +00:00
|
|
|
SelectCustomer: '' as IntlString,
|
|
|
|
Customers: '' as IntlString,
|
|
|
|
Leads: '' as IntlString,
|
2023-05-26 03:07:38 +00:00
|
|
|
MyLeads: '' as IntlString,
|
2022-02-23 16:10:11 +00:00
|
|
|
NoLeadsForDocument: '' as IntlString,
|
2022-05-06 18:07:43 +00:00
|
|
|
LeadPlaceholder: '' as IntlString,
|
|
|
|
CreateCustomer: '' as IntlString,
|
|
|
|
IssueDescriptionPlaceholder: '' as IntlString,
|
2022-06-28 06:50:39 +00:00
|
|
|
CreateCustomerLabel: '' as IntlString,
|
|
|
|
Description: '' as IntlString,
|
|
|
|
FullDescription: '' as IntlString,
|
|
|
|
FunnelPlaceholder: '' as IntlString,
|
2023-01-14 10:54:54 +00:00
|
|
|
Members: '' as IntlString,
|
|
|
|
Assignee: '' as IntlString,
|
2024-03-27 08:49:36 +00:00
|
|
|
UnAssign: '' as IntlString,
|
|
|
|
FunnelMembers: '' as IntlString,
|
2024-05-08 09:41:44 +00:00
|
|
|
RoleLabel: '' as IntlString,
|
|
|
|
EditFunnel: '' as IntlString
|
2021-12-30 09:04:32 +00:00
|
|
|
},
|
|
|
|
component: {
|
|
|
|
CreateCustomer: '' as AnyComponent,
|
2022-06-16 14:30:26 +00:00
|
|
|
LeadsPresenter: '' as AnyComponent,
|
2022-06-28 06:50:39 +00:00
|
|
|
CreateFunnel: '' as AnyComponent,
|
2023-05-26 03:07:38 +00:00
|
|
|
EditFunnel: '' as AnyComponent,
|
2023-05-28 06:33:42 +00:00
|
|
|
MyLeads: '' as AnyComponent,
|
|
|
|
TitlePresenter: '' as AnyComponent
|
2022-06-25 17:32:31 +00:00
|
|
|
},
|
|
|
|
function: {
|
2024-02-21 04:52:19 +00:00
|
|
|
LeadTitleProvider: '' as Resource<(client: Client, ref: Ref<Doc>, doc?: Doc) => Promise<string>>,
|
|
|
|
LeadIdProvider: '' as Resource<(client: Client, ref: Ref<Doc>, doc?: Doc) => Promise<string>>
|
2021-12-07 09:05:52 +00:00
|
|
|
}
|
|
|
|
})
|