@praxisui/core 1.0.0-beta.62 → 1.0.0-beta.63
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/fesm2022/praxisui-core.mjs +176 -44
- package/fesm2022/praxisui-core.mjs.map +1 -1
- package/index.d.ts +235 -3
- package/package.json +1 -1
|
@@ -9510,6 +9510,57 @@ const EMPLOYEE_ONBOARDING_EDITORIAL_SOLUTION = {
|
|
|
9510
9510
|
problemType: 'employee-onboarding',
|
|
9511
9511
|
title: 'Employee Onboarding',
|
|
9512
9512
|
description: 'Solução editorial para admissão, pré-boarding e coleta inicial de dados de colaboradores com narrativa corporativa.',
|
|
9513
|
+
presentation: {
|
|
9514
|
+
layout: {
|
|
9515
|
+
orientation: 'horizontal',
|
|
9516
|
+
density: 'comfortable',
|
|
9517
|
+
shellVariant: 'corporate-wizard',
|
|
9518
|
+
maxWidth: '980px',
|
|
9519
|
+
responsive: {
|
|
9520
|
+
mobileOrientation: 'vertical',
|
|
9521
|
+
collapseStepperBelow: '768px',
|
|
9522
|
+
},
|
|
9523
|
+
},
|
|
9524
|
+
theme: {
|
|
9525
|
+
color: {
|
|
9526
|
+
pageBackground: '#f7f4ee',
|
|
9527
|
+
surfacePrimary: '#ffffff',
|
|
9528
|
+
surfaceSecondary: '#ffffff',
|
|
9529
|
+
border: '#dde3ef',
|
|
9530
|
+
textPrimary: '#24324a',
|
|
9531
|
+
textSecondary: '#7b8aa0',
|
|
9532
|
+
accent: '#264a8a',
|
|
9533
|
+
accentContrast: '#ffffff',
|
|
9534
|
+
success: '#35b37e',
|
|
9535
|
+
warning: '#d39a1a',
|
|
9536
|
+
danger: '#c84b4b',
|
|
9537
|
+
stepCompleted: '#35b37e',
|
|
9538
|
+
stepActive: '#264a8a',
|
|
9539
|
+
stepPending: '#eef1f7',
|
|
9540
|
+
connector: '#8fd8c0',
|
|
9541
|
+
ctaPrimary: '#264a8a',
|
|
9542
|
+
ctaPrimaryText: '#ffffff',
|
|
9543
|
+
},
|
|
9544
|
+
radius: {
|
|
9545
|
+
shell: '28px',
|
|
9546
|
+
card: '22px',
|
|
9547
|
+
button: '14px',
|
|
9548
|
+
step: '999px',
|
|
9549
|
+
},
|
|
9550
|
+
shadow: {
|
|
9551
|
+
shell: '0 24px 60px rgba(25, 42, 70, 0.10)',
|
|
9552
|
+
card: '0 10px 30px rgba(25, 42, 70, 0.06)',
|
|
9553
|
+
},
|
|
9554
|
+
},
|
|
9555
|
+
stepper: {
|
|
9556
|
+
visible: true,
|
|
9557
|
+
orientation: 'horizontal',
|
|
9558
|
+
variant: 'icon-label',
|
|
9559
|
+
showConnectors: true,
|
|
9560
|
+
connectorStyle: 'solid',
|
|
9561
|
+
allowStepJump: false,
|
|
9562
|
+
},
|
|
9563
|
+
},
|
|
9513
9564
|
contextContract: [
|
|
9514
9565
|
{ key: 'company.name', type: 'string', required: true },
|
|
9515
9566
|
{ key: 'company.hrEmail', type: 'string' },
|
|
@@ -9526,43 +9577,86 @@ const EMPLOYEE_ONBOARDING_EDITORIAL_SOLUTION = {
|
|
|
9526
9577
|
{
|
|
9527
9578
|
stepId: 'welcome',
|
|
9528
9579
|
label: 'Boas-vindas',
|
|
9580
|
+
kind: 'intro',
|
|
9581
|
+
icon: { name: 'auto_awesome' },
|
|
9582
|
+
visual: {
|
|
9583
|
+
variant: 'hero-card',
|
|
9584
|
+
textAlign: 'center',
|
|
9585
|
+
emphasis: 'high',
|
|
9586
|
+
},
|
|
9529
9587
|
blocks: [
|
|
9530
9588
|
{
|
|
9531
|
-
blockId: 'onboarding:
|
|
9532
|
-
kind: '
|
|
9533
|
-
title: '
|
|
9534
|
-
titleAccent: 'onboarding',
|
|
9589
|
+
blockId: 'onboarding:intro',
|
|
9590
|
+
kind: 'introHero',
|
|
9591
|
+
title: 'Bem-vindo à equipe',
|
|
9535
9592
|
subtitle: 'Template corporativo',
|
|
9536
|
-
description: '
|
|
9537
|
-
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
|
|
9544
|
-
|
|
9545
|
-
|
|
9546
|
-
|
|
9547
|
-
|
|
9548
|
-
|
|
9593
|
+
description: 'Estrutura editorial reutilizável para recepção, cadastro inicial, preferências operacionais e confirmação final.',
|
|
9594
|
+
icon: { name: 'sparkles' },
|
|
9595
|
+
align: 'center',
|
|
9596
|
+
primaryAction: {
|
|
9597
|
+
label: 'Iniciar onboarding',
|
|
9598
|
+
actionId: 'next-step',
|
|
9599
|
+
appearance: 'primary',
|
|
9600
|
+
icon: { name: 'arrow_forward' },
|
|
9601
|
+
},
|
|
9602
|
+
highlightItems: [
|
|
9603
|
+
{
|
|
9604
|
+
id: 'setup',
|
|
9605
|
+
title: 'Setup preparado',
|
|
9606
|
+
description: 'Os dados desta jornada alimentam o provisionamento inicial.',
|
|
9607
|
+
icon: { name: 'shield' },
|
|
9608
|
+
},
|
|
9609
|
+
{
|
|
9610
|
+
id: 'team',
|
|
9611
|
+
title: 'Integração guiada',
|
|
9612
|
+
description: 'O fluxo orienta o colaborador até a preparação operacional.',
|
|
9613
|
+
icon: { name: 'group' },
|
|
9614
|
+
},
|
|
9615
|
+
{
|
|
9616
|
+
id: 'start',
|
|
9617
|
+
title: 'Primeiro dia pronto',
|
|
9618
|
+
description: 'As escolhas ficam disponíveis na revisão final.',
|
|
9619
|
+
icon: { name: 'rocket_launch' },
|
|
9620
|
+
},
|
|
9621
|
+
],
|
|
9549
9622
|
},
|
|
9550
9623
|
{
|
|
9551
|
-
blockId: 'onboarding:
|
|
9552
|
-
kind: '
|
|
9553
|
-
title: '
|
|
9554
|
-
|
|
9555
|
-
{
|
|
9556
|
-
|
|
9557
|
-
|
|
9624
|
+
blockId: 'onboarding:highlights',
|
|
9625
|
+
kind: 'infoCards',
|
|
9626
|
+
title: 'O que você resolve aqui',
|
|
9627
|
+
items: [
|
|
9628
|
+
{
|
|
9629
|
+
id: 'identity-highlight',
|
|
9630
|
+
title: 'Identificação',
|
|
9631
|
+
description: 'Cadastro inicial, contatos e dados básicos.',
|
|
9632
|
+
icon: 'badge',
|
|
9633
|
+
},
|
|
9634
|
+
{
|
|
9635
|
+
id: 'operations-highlight',
|
|
9636
|
+
title: 'Operação inicial',
|
|
9637
|
+
description: 'Equipamentos, modelo de trabalho e observações.',
|
|
9638
|
+
icon: 'tune',
|
|
9639
|
+
},
|
|
9640
|
+
{
|
|
9641
|
+
id: 'confirmation-highlight',
|
|
9642
|
+
title: 'Confirmação',
|
|
9643
|
+
description: 'Resumo final antes do encerramento da jornada.',
|
|
9644
|
+
icon: 'task_alt',
|
|
9645
|
+
},
|
|
9558
9646
|
],
|
|
9559
|
-
surface: 'card',
|
|
9560
9647
|
},
|
|
9561
9648
|
],
|
|
9562
9649
|
},
|
|
9563
9650
|
{
|
|
9564
9651
|
stepId: 'identity',
|
|
9565
9652
|
label: 'Identificação',
|
|
9653
|
+
kind: 'form',
|
|
9654
|
+
icon: { name: 'person' },
|
|
9655
|
+
visual: {
|
|
9656
|
+
variant: 'form-card',
|
|
9657
|
+
surface: 'elevated',
|
|
9658
|
+
columns: 2,
|
|
9659
|
+
},
|
|
9566
9660
|
blocks: [
|
|
9567
9661
|
{
|
|
9568
9662
|
blockId: 'identity-form',
|
|
@@ -9576,14 +9670,32 @@ const EMPLOYEE_ONBOARDING_EDITORIAL_SOLUTION = {
|
|
|
9576
9670
|
{
|
|
9577
9671
|
stepId: 'operations',
|
|
9578
9672
|
label: 'Operação inicial',
|
|
9673
|
+
kind: 'mixed',
|
|
9674
|
+
icon: { name: 'tune' },
|
|
9675
|
+
visual: {
|
|
9676
|
+
variant: 'selection-grid',
|
|
9677
|
+
surface: 'elevated',
|
|
9678
|
+
columns: 2,
|
|
9679
|
+
},
|
|
9579
9680
|
blocks: [
|
|
9580
9681
|
{
|
|
9581
|
-
blockId: 'operations:
|
|
9582
|
-
kind: '
|
|
9583
|
-
title: '
|
|
9584
|
-
|
|
9585
|
-
|
|
9586
|
-
|
|
9682
|
+
blockId: 'operations:equipment',
|
|
9683
|
+
kind: 'selectionCards',
|
|
9684
|
+
title: 'Equipamentos iniciais',
|
|
9685
|
+
description: 'Selecione os itens mais relevantes para o setup do colaborador.',
|
|
9686
|
+
field: 'selectedEquipment',
|
|
9687
|
+
selectionMode: 'multiple',
|
|
9688
|
+
columns: 2,
|
|
9689
|
+
style: {
|
|
9690
|
+
iconPosition: 'top',
|
|
9691
|
+
variant: 'accent',
|
|
9692
|
+
},
|
|
9693
|
+
items: [
|
|
9694
|
+
{ id: 'notebook', label: 'Notebook', value: 'NOTEBOOK', icon: { name: 'laptop_mac' } },
|
|
9695
|
+
{ id: 'monitor', label: 'Monitor externo', value: 'MONITOR', icon: { name: 'desktop_windows' } },
|
|
9696
|
+
{ id: 'headset', label: 'Headset', value: 'HEADSET', icon: { name: 'headset_mic' } },
|
|
9697
|
+
{ id: 'badge', label: 'Cracha de acesso', value: 'BADGE', icon: { name: 'badge' } },
|
|
9698
|
+
],
|
|
9587
9699
|
},
|
|
9588
9700
|
{
|
|
9589
9701
|
blockId: 'operations-form',
|
|
@@ -9597,22 +9709,42 @@ const EMPLOYEE_ONBOARDING_EDITORIAL_SOLUTION = {
|
|
|
9597
9709
|
{
|
|
9598
9710
|
stepId: 'confirmation',
|
|
9599
9711
|
label: 'Confirmação',
|
|
9712
|
+
kind: 'review',
|
|
9713
|
+
icon: { name: 'task_alt' },
|
|
9714
|
+
visual: {
|
|
9715
|
+
variant: 'review-sections',
|
|
9716
|
+
surface: 'soft',
|
|
9717
|
+
},
|
|
9600
9718
|
blocks: [
|
|
9601
9719
|
{
|
|
9602
|
-
blockId: 'onboarding:review-
|
|
9603
|
-
kind: '
|
|
9604
|
-
title: '
|
|
9605
|
-
|
|
9606
|
-
|
|
9607
|
-
{
|
|
9608
|
-
|
|
9609
|
-
|
|
9610
|
-
|
|
9611
|
-
|
|
9612
|
-
|
|
9613
|
-
|
|
9720
|
+
blockId: 'onboarding:review-sections',
|
|
9721
|
+
kind: 'reviewSections',
|
|
9722
|
+
title: 'Resumo final do onboarding',
|
|
9723
|
+
description: 'Revise os dados antes de concluir a preparação inicial.',
|
|
9724
|
+
sections: [
|
|
9725
|
+
{
|
|
9726
|
+
id: 'review-identity',
|
|
9727
|
+
title: 'Identificação',
|
|
9728
|
+
icon: { name: 'person' },
|
|
9729
|
+
fields: [
|
|
9730
|
+
{ key: 'fullName', label: 'Nome completo', valuePath: 'formData.fullName' },
|
|
9731
|
+
{ key: 'corporateEmail', label: 'E-mail corporativo', valuePath: 'formData.corporateEmail' },
|
|
9732
|
+
{ key: 'phoneNumber', label: 'Telefone', valuePath: 'formData.phoneNumber', hideWhenEmpty: true },
|
|
9733
|
+
{ key: 'workModel', label: 'Modelo de trabalho', valuePath: 'formData.workModel' },
|
|
9734
|
+
],
|
|
9735
|
+
},
|
|
9736
|
+
{
|
|
9737
|
+
id: 'review-operations',
|
|
9738
|
+
title: 'Operação inicial',
|
|
9739
|
+
icon: { name: 'tune' },
|
|
9740
|
+
fields: [
|
|
9741
|
+
{ key: 'selectedEquipment', label: 'Equipamentos', valuePath: 'formData.selectedEquipment', hideWhenEmpty: true },
|
|
9742
|
+
{ key: 'needsEquipment', label: 'Necessita envio de equipamento', valuePath: 'formData.needsEquipment', hideWhenEmpty: true },
|
|
9743
|
+
{ key: 'shippingAddress', label: 'Endereco para envio', valuePath: 'formData.shippingAddress', hideWhenEmpty: true },
|
|
9744
|
+
{ key: 'accessibilityNotes', label: 'Observacoes adicionais', valuePath: 'formData.accessibilityNotes', hideWhenEmpty: true },
|
|
9745
|
+
],
|
|
9746
|
+
},
|
|
9614
9747
|
],
|
|
9615
|
-
surface: 'card',
|
|
9616
9748
|
},
|
|
9617
9749
|
],
|
|
9618
9750
|
},
|