@hed-hog/contact 0.0.329 → 0.0.331
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/proposal/proposal.controller.d.ts +2 -2
- package/dist/proposal/proposal.controller.d.ts.map +1 -1
- package/dist/proposal/proposal.controller.js +8 -6
- package/dist/proposal/proposal.controller.js.map +1 -1
- package/dist/proposal/proposal.service.d.ts +8 -2
- package/dist/proposal/proposal.service.d.ts.map +1 -1
- package/dist/proposal/proposal.service.js +595 -162
- package/dist/proposal/proposal.service.js.map +1 -1
- package/hedhog/data/role.yaml +9 -1
- package/hedhog/data/route.yaml +4 -1
- package/hedhog/data/setting_group.yaml +16 -5
- package/hedhog/frontend/app/_components/person-picker.tsx.ejs +71 -16
- package/hedhog/frontend/app/accounts/_components/account-form-sheet.tsx.ejs +7 -2
- package/hedhog/frontend/app/accounts/page.tsx.ejs +1 -1
- package/hedhog/frontend/app/activities/page.tsx.ejs +1 -1
- package/hedhog/frontend/app/follow-ups/page.tsx.ejs +1 -1
- package/hedhog/frontend/app/person/page.tsx.ejs +1 -1
- package/hedhog/frontend/app/pipeline/_components/lead-proposals-tab.tsx.ejs +103 -1302
- package/hedhog/frontend/app/proposals/_components/proposal-form-sheet.tsx.ejs +1306 -0
- package/hedhog/frontend/app/proposals/_components/proposal-types.ts.ejs +172 -0
- package/hedhog/frontend/app/proposals/_components/proposals-management-page.tsx.ejs +316 -113
- package/hedhog/frontend/messages/en.json +21 -2
- package/hedhog/frontend/messages/pt.json +21 -2
- package/package.json +7 -6
- package/src/proposal/proposal.controller.ts +7 -5
- package/src/proposal/proposal.service.ts +662 -192
|
@@ -284,6 +284,7 @@ export function AccountFormSheet({
|
|
|
284
284
|
}: AccountFormSheetProps) {
|
|
285
285
|
const t = useTranslations('contact.AccountsPage');
|
|
286
286
|
const personT = useTranslations('contact.ContactPage');
|
|
287
|
+
const componentT = useTranslations('contact.components');
|
|
287
288
|
const { request, currentLocaleCode, getSettingValue } = useApp();
|
|
288
289
|
|
|
289
290
|
const [contacts, setContacts] = useState<EditableAccountContact[]>([]);
|
|
@@ -2311,8 +2312,12 @@ export function AccountFormSheet({
|
|
|
2311
2312
|
entityLabel="colaborador"
|
|
2312
2313
|
valueType="number"
|
|
2313
2314
|
searchPlaceholder="Digite para buscar pelo nome"
|
|
2314
|
-
emptyStateDescription=
|
|
2315
|
-
|
|
2315
|
+
emptyStateDescription={componentT(
|
|
2316
|
+
'entityPicker.collaborators.empty'
|
|
2317
|
+
)}
|
|
2318
|
+
loadingLabel={componentT(
|
|
2319
|
+
'entityPicker.collaborators.loading'
|
|
2320
|
+
)}
|
|
2316
2321
|
showCreateButton={false}
|
|
2317
2322
|
clearable={false}
|
|
2318
2323
|
disabled={isLoading}
|
|
@@ -801,7 +801,7 @@ export default function AccountsPage() {
|
|
|
801
801
|
<Page>
|
|
802
802
|
<PageHeader
|
|
803
803
|
breadcrumbs={[
|
|
804
|
-
{ label: '
|
|
804
|
+
{ label: crmT('breadcrumbs.home'), href: '/' },
|
|
805
805
|
{ label: crmT('breadcrumbs.crm'), href: '/contact/dashboard' },
|
|
806
806
|
{ label: t('title') },
|
|
807
807
|
]}
|
|
@@ -311,7 +311,7 @@ export default function CrmActivitiesPage() {
|
|
|
311
311
|
<Page>
|
|
312
312
|
<PageHeader
|
|
313
313
|
breadcrumbs={[
|
|
314
|
-
{ label: '
|
|
314
|
+
{ label: crmT('breadcrumbs.home'), href: '/' },
|
|
315
315
|
{ label: crmT('breadcrumbs.crm'), href: '/contact/dashboard' },
|
|
316
316
|
{ label: t('title') },
|
|
317
317
|
]}
|
|
@@ -619,7 +619,7 @@ export default function CrmFollowupsPage() {
|
|
|
619
619
|
<Page>
|
|
620
620
|
<PageHeader
|
|
621
621
|
breadcrumbs={[
|
|
622
|
-
{ label: '
|
|
622
|
+
{ label: crmT('breadcrumbs.home'), href: '/' },
|
|
623
623
|
{ label: crmT('breadcrumbs.crm'), href: '/contact/dashboard' },
|
|
624
624
|
{ label: t('title') },
|
|
625
625
|
]}
|
|
@@ -791,7 +791,7 @@ export default function PeoplePage() {
|
|
|
791
791
|
<Page>
|
|
792
792
|
<PageHeader
|
|
793
793
|
breadcrumbs={[
|
|
794
|
-
{ label: '
|
|
794
|
+
{ label: crmT('breadcrumbs.home'), href: '/' },
|
|
795
795
|
{ label: crmT('breadcrumbs.crm'), href: '/contact/dashboard' },
|
|
796
796
|
{
|
|
797
797
|
label: allowCompanyRegistration
|