kitunga-web 0.1.78
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/features/buttons/components/Btns/Button.d.ts +32 -0
- package/dist/features/buttons/components/Btns/Button.d.ts.map +1 -0
- package/dist/features/buttons/components/Btns/Button.js +50 -0
- package/dist/features/buttons/components/Btns/Button.js.map +1 -0
- package/dist/features/buttons/components/Btns/Button.module.css +205 -0
- package/dist/features/data-display/components/Cards/ChartCard.d.ts +9 -0
- package/dist/features/data-display/components/Cards/ChartCard.d.ts.map +1 -0
- package/dist/features/data-display/components/Cards/ChartCard.js +7 -0
- package/dist/features/data-display/components/Cards/ChartCard.js.map +1 -0
- package/dist/features/data-display/components/Cards/ChartCard.module.css +27 -0
- package/dist/features/data-display/components/Cards/MetricCard.d.ts +11 -0
- package/dist/features/data-display/components/Cards/MetricCard.d.ts.map +1 -0
- package/dist/features/data-display/components/Cards/MetricCard.js +10 -0
- package/dist/features/data-display/components/Cards/MetricCard.js.map +1 -0
- package/dist/features/data-display/components/Cards/MetricCard.module.css +86 -0
- package/dist/features/data-display/components/Cards/StatCard.d.ts +15 -0
- package/dist/features/data-display/components/Cards/StatCard.d.ts.map +1 -0
- package/dist/features/data-display/components/Cards/StatCard.js +23 -0
- package/dist/features/data-display/components/Cards/StatCard.js.map +1 -0
- package/dist/features/data-display/components/Cards/StatCard.module.css +98 -0
- package/dist/features/data-display/components/Table/LineItemsTable.d.ts +4 -0
- package/dist/features/data-display/components/Table/LineItemsTable.d.ts.map +1 -0
- package/dist/features/data-display/components/Table/LineItemsTable.js +216 -0
- package/dist/features/data-display/components/Table/LineItemsTable.js.map +1 -0
- package/dist/features/data-display/components/Table/LineItemsTable.module.css +223 -0
- package/dist/features/data-display/components/Table/Table.d.ts +4 -0
- package/dist/features/data-display/components/Table/Table.d.ts.map +1 -0
- package/dist/features/data-display/components/Table/Table.js +181 -0
- package/dist/features/data-display/components/Table/Table.js.map +1 -0
- package/dist/features/data-display/components/Table/Table.module.css +305 -0
- package/dist/features/data-display/components/Table/types/LineItemsTable.d.ts +83 -0
- package/dist/features/data-display/components/Table/types/LineItemsTable.d.ts.map +1 -0
- package/dist/features/data-display/components/Table/types/LineItemsTable.js +2 -0
- package/dist/features/data-display/components/Table/types/LineItemsTable.js.map +1 -0
- package/dist/features/data-display/components/Table/types/Table.d.ts +78 -0
- package/dist/features/data-display/components/Table/types/Table.d.ts.map +1 -0
- package/dist/features/data-display/components/Table/types/Table.js +2 -0
- package/dist/features/data-display/components/Table/types/Table.js.map +1 -0
- package/dist/features/data-display/components/Tabs/PillTabs/PillTabs.d.ts +12 -0
- package/dist/features/data-display/components/Tabs/PillTabs/PillTabs.d.ts.map +1 -0
- package/dist/features/data-display/components/Tabs/PillTabs/PillTabs.js +7 -0
- package/dist/features/data-display/components/Tabs/PillTabs/PillTabs.js.map +1 -0
- package/dist/features/data-display/components/Tabs/PillTabs/PillTabs.module.css +36 -0
- package/dist/features/feedback/components/ChangedDataSummary/ChangedDataSummary.d.ts +18 -0
- package/dist/features/feedback/components/ChangedDataSummary/ChangedDataSummary.d.ts.map +1 -0
- package/dist/features/feedback/components/ChangedDataSummary/ChangedDataSummary.js +52 -0
- package/dist/features/feedback/components/ChangedDataSummary/ChangedDataSummary.js.map +1 -0
- package/dist/features/feedback/components/ChangedDataSummary/ChangedDataSummary.module.css +90 -0
- package/dist/features/feedback/components/ChangedDataSummary/getFormDataChanges.d.ts +21 -0
- package/dist/features/feedback/components/ChangedDataSummary/getFormDataChanges.d.ts.map +1 -0
- package/dist/features/feedback/components/ChangedDataSummary/getFormDataChanges.js +37 -0
- package/dist/features/feedback/components/ChangedDataSummary/getFormDataChanges.js.map +1 -0
- package/dist/features/feedback/components/CreatedDataSummary/CreatedDataSummary.d.ts +15 -0
- package/dist/features/feedback/components/CreatedDataSummary/CreatedDataSummary.d.ts.map +1 -0
- package/dist/features/feedback/components/CreatedDataSummary/CreatedDataSummary.js +56 -0
- package/dist/features/feedback/components/CreatedDataSummary/CreatedDataSummary.js.map +1 -0
- package/dist/features/feedback/components/CreatedDataSummary/CreatedDataSummary.module.css +90 -0
- package/dist/features/feedback/components/EmptyStates/SearchEmptyState/SearchEmptyState.d.ts +9 -0
- package/dist/features/feedback/components/EmptyStates/SearchEmptyState/SearchEmptyState.d.ts.map +1 -0
- package/dist/features/feedback/components/EmptyStates/SearchEmptyState/SearchEmptyState.js +9 -0
- package/dist/features/feedback/components/EmptyStates/SearchEmptyState/SearchEmptyState.js.map +1 -0
- package/dist/features/feedback/components/EmptyStates/SearchEmptyState/SearchEmptyState.module.css +36 -0
- package/dist/features/feedback/components/FlowNotice/FlowNotice.d.ts +8 -0
- package/dist/features/feedback/components/FlowNotice/FlowNotice.d.ts.map +1 -0
- package/dist/features/feedback/components/FlowNotice/FlowNotice.js +52 -0
- package/dist/features/feedback/components/FlowNotice/FlowNotice.js.map +1 -0
- package/dist/features/feedback/components/FlowNotice/FlowNotice.module.css +122 -0
- package/dist/features/feedback/components/Loading/AppLoading.d.ts +14 -0
- package/dist/features/feedback/components/Loading/AppLoading.d.ts.map +1 -0
- package/dist/features/feedback/components/Loading/AppLoading.js +17 -0
- package/dist/features/feedback/components/Loading/AppLoading.js.map +1 -0
- package/dist/features/feedback/components/Loading/AppLoading.module.css +95 -0
- package/dist/features/feedback/components/SuccesModal/ModalSuccess.d.ts +24 -0
- package/dist/features/feedback/components/SuccesModal/ModalSuccess.d.ts.map +1 -0
- package/dist/features/feedback/components/SuccesModal/ModalSuccess.js +11 -0
- package/dist/features/feedback/components/SuccesModal/ModalSuccess.js.map +1 -0
- package/dist/features/feedback/components/SuccesModal/ModalSuccess.module.css +141 -0
- package/dist/features/feedback/components/Tooltips/InfoTooltip.d.ts +10 -0
- package/dist/features/feedback/components/Tooltips/InfoTooltip.d.ts.map +1 -0
- package/dist/features/feedback/components/Tooltips/InfoTooltip.js +48 -0
- package/dist/features/feedback/components/Tooltips/InfoTooltip.js.map +1 -0
- package/dist/features/feedback/components/Tooltips/InfoTooltip.module.css +123 -0
- package/dist/features/feedback/components/Tooltips/InfoTooltipContent.d.ts +11 -0
- package/dist/features/feedback/components/Tooltips/InfoTooltipContent.d.ts.map +1 -0
- package/dist/features/feedback/components/Tooltips/InfoTooltipContent.js +8 -0
- package/dist/features/feedback/components/Tooltips/InfoTooltipContent.js.map +1 -0
- package/dist/features/feedback/components/Tooltips/InfoTooltipContent.module.css +58 -0
- package/dist/features/feedback/components/Tooltips/ProgressChecklistTooltip.d.ts +27 -0
- package/dist/features/feedback/components/Tooltips/ProgressChecklistTooltip.d.ts.map +1 -0
- package/dist/features/feedback/components/Tooltips/ProgressChecklistTooltip.js +56 -0
- package/dist/features/feedback/components/Tooltips/ProgressChecklistTooltip.js.map +1 -0
- package/dist/features/feedback/components/Tooltips/ProgressChecklistTooltip.module.css +200 -0
- package/dist/features/inputs/components/DatePicker/DatePicker.d.ts +13 -0
- package/dist/features/inputs/components/DatePicker/DatePicker.d.ts.map +1 -0
- package/dist/features/inputs/components/DatePicker/DatePicker.js +97 -0
- package/dist/features/inputs/components/DatePicker/DatePicker.js.map +1 -0
- package/dist/features/inputs/components/DatePicker/DatePicker.module.css +186 -0
- package/dist/features/inputs/components/Inputs/DateInput.d.ts +27 -0
- package/dist/features/inputs/components/Inputs/DateInput.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/DateInput.js +236 -0
- package/dist/features/inputs/components/Inputs/DateInput.js.map +1 -0
- package/dist/features/inputs/components/Inputs/DateInput.module.css +301 -0
- package/dist/features/inputs/components/Inputs/DateRangeInput.d.ts +24 -0
- package/dist/features/inputs/components/Inputs/DateRangeInput.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/DateRangeInput.js +10 -0
- package/dist/features/inputs/components/Inputs/DateRangeInput.js.map +1 -0
- package/dist/features/inputs/components/Inputs/DateRangeInput.module.css +24 -0
- package/dist/features/inputs/components/Inputs/NumberInput.d.ts +21 -0
- package/dist/features/inputs/components/Inputs/NumberInput.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/NumberInput.js +82 -0
- package/dist/features/inputs/components/Inputs/NumberInput.js.map +1 -0
- package/dist/features/inputs/components/Inputs/NumberInput.module.css +148 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/PhoneInput.d.ts +9 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/PhoneInput.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/PhoneInput.js +187 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/PhoneInput.js.map +1 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/PhoneInput.module.css +259 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/ao.d.ts +3 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/ao.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/ao.js +20 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/ao.js.map +1 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/br.d.ts +3 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/br.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/br.js +9 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/br.js.map +1 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/index.d.ts +5 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/index.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/index.js +48 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/index.js.map +1 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/pt.d.ts +3 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/pt.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/pt.js +9 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/pt.js.map +1 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/us.d.ts +3 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/us.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/us.js +17 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/us.js.map +1 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/types/phone.types.d.ts +10 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/types/phone.types.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/types/phone.types.js +2 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/types/phone.types.js.map +1 -0
- package/dist/features/inputs/components/Inputs/SearchInput.d.ts +13 -0
- package/dist/features/inputs/components/Inputs/SearchInput.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/SearchInput.js +12 -0
- package/dist/features/inputs/components/Inputs/SearchInput.js.map +1 -0
- package/dist/features/inputs/components/Inputs/SearchInput.module.css +107 -0
- package/dist/features/inputs/components/Inputs/StepperInput.d.ts +14 -0
- package/dist/features/inputs/components/Inputs/StepperInput.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/StepperInput.js +44 -0
- package/dist/features/inputs/components/Inputs/StepperInput.js.map +1 -0
- package/dist/features/inputs/components/Inputs/StepperInput.module.css +96 -0
- package/dist/features/inputs/components/Inputs/TaxIdInput/TaxIdInput.d.ts +15 -0
- package/dist/features/inputs/components/Inputs/TaxIdInput/TaxIdInput.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/TaxIdInput/TaxIdInput.js +102 -0
- package/dist/features/inputs/components/Inputs/TaxIdInput/TaxIdInput.js.map +1 -0
- package/dist/features/inputs/components/Inputs/TaxIdInput/TaxIdInput.module.css +259 -0
- package/dist/features/inputs/components/Inputs/TaxIdInput/index.d.ts +5 -0
- package/dist/features/inputs/components/Inputs/TaxIdInput/index.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/TaxIdInput/index.js +3 -0
- package/dist/features/inputs/components/Inputs/TaxIdInput/index.js.map +1 -0
- package/dist/features/inputs/components/Inputs/TextInput.d.ts +4 -0
- package/dist/features/inputs/components/Inputs/TextInput.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/TextInput.js +61 -0
- package/dist/features/inputs/components/Inputs/TextInput.js.map +1 -0
- package/dist/features/inputs/components/Inputs/TextInput.module.css +174 -0
- package/dist/features/inputs/components/Inputs/TextareaInput.d.ts +4 -0
- package/dist/features/inputs/components/Inputs/TextareaInput.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/TextareaInput.js +45 -0
- package/dist/features/inputs/components/Inputs/TextareaInput.js.map +1 -0
- package/dist/features/inputs/components/Inputs/TextareaInput.module.css +144 -0
- package/dist/features/inputs/components/Inputs/types/input.types.d.ts +28 -0
- package/dist/features/inputs/components/Inputs/types/input.types.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/types/input.types.js +2 -0
- package/dist/features/inputs/components/Inputs/types/input.types.js.map +1 -0
- package/dist/features/navigation/components/Menu/SharedMenuItem.d.ts +25 -0
- package/dist/features/navigation/components/Menu/SharedMenuItem.d.ts.map +1 -0
- package/dist/features/navigation/components/Menu/SharedMenuItem.js +40 -0
- package/dist/features/navigation/components/Menu/SharedMenuItem.js.map +1 -0
- package/dist/features/navigation/components/Menu/SharedMenuItem.module.css +219 -0
- package/dist/features/navigation/components/PageFooter/PageFooter.d.ts +13 -0
- package/dist/features/navigation/components/PageFooter/PageFooter.d.ts.map +1 -0
- package/dist/features/navigation/components/PageFooter/PageFooter.js +52 -0
- package/dist/features/navigation/components/PageFooter/PageFooter.js.map +1 -0
- package/dist/features/navigation/components/PageFooter/PageFooter.module.css +24 -0
- package/dist/features/navigation/components/PageHeader/PageHeader.d.ts +14 -0
- package/dist/features/navigation/components/PageHeader/PageHeader.d.ts.map +1 -0
- package/dist/features/navigation/components/PageHeader/PageHeader.js +22 -0
- package/dist/features/navigation/components/PageHeader/PageHeader.js.map +1 -0
- package/dist/features/navigation/components/PageHeader/PageHeader.module.css +41 -0
- package/dist/features/navigation/components/Sidebar/Sidebar.d.ts +24 -0
- package/dist/features/navigation/components/Sidebar/Sidebar.d.ts.map +1 -0
- package/dist/features/navigation/components/Sidebar/Sidebar.js +131 -0
- package/dist/features/navigation/components/Sidebar/Sidebar.js.map +1 -0
- package/dist/features/navigation/components/Sidebar/Sidebar.module.css +139 -0
- package/dist/features/overlays/components/DeleteModal/ComprehensiveDeleteModal.d.ts +66 -0
- package/dist/features/overlays/components/DeleteModal/ComprehensiveDeleteModal.d.ts.map +1 -0
- package/dist/features/overlays/components/DeleteModal/ComprehensiveDeleteModal.js +89 -0
- package/dist/features/overlays/components/DeleteModal/ComprehensiveDeleteModal.js.map +1 -0
- package/dist/features/overlays/components/DeleteModal/ComprehensiveDeleteModal.module.css +269 -0
- package/dist/features/overlays/components/Popup/Popup.d.ts +8 -0
- package/dist/features/overlays/components/Popup/Popup.d.ts.map +1 -0
- package/dist/features/overlays/components/Popup/Popup.js +23 -0
- package/dist/features/overlays/components/Popup/Popup.js.map +1 -0
- package/dist/features/overlays/components/Popup/Popup.module.css +64 -0
- package/dist/features/overlays/components/Popup/index.d.ts +3 -0
- package/dist/features/overlays/components/Popup/index.d.ts.map +1 -0
- package/dist/features/overlays/components/Popup/index.js +2 -0
- package/dist/features/overlays/components/Popup/index.js.map +1 -0
- package/dist/features/overlays/components/PrerequisiteGuardModal/PrerequisiteGuardModal.d.ts +36 -0
- package/dist/features/overlays/components/PrerequisiteGuardModal/PrerequisiteGuardModal.d.ts.map +1 -0
- package/dist/features/overlays/components/PrerequisiteGuardModal/PrerequisiteGuardModal.js +38 -0
- package/dist/features/overlays/components/PrerequisiteGuardModal/PrerequisiteGuardModal.js.map +1 -0
- package/dist/features/overlays/components/PrerequisiteGuardModal/PrerequisiteGuardModal.module.css +339 -0
- package/dist/features/overlays/components/dropdowns/DropdownMenu.d.ts +18 -0
- package/dist/features/overlays/components/dropdowns/DropdownMenu.d.ts.map +1 -0
- package/dist/features/overlays/components/dropdowns/DropdownMenu.js +34 -0
- package/dist/features/overlays/components/dropdowns/DropdownMenu.js.map +1 -0
- package/dist/features/overlays/components/dropdowns/DropdownMenu.module.css +23 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/FormActions.d.ts +36 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/FormActions.d.ts.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/FormActions.js +19 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/FormActions.js.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/FormActions.module.css +88 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/GenericStepRenderer.d.ts +14 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/GenericStepRenderer.d.ts.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/GenericStepRenderer.js +119 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/GenericStepRenderer.js.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/GenericStepRenderer.module.css +76 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepForm.d.ts +3 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepForm.d.ts.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepForm.js +486 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepForm.js.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepForm.module.css +55 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepHeader.d.ts +16 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepHeader.d.ts.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepHeader.js +8 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepHeader.js.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepHeader.module.css +77 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/StepIndicator.d.ts +10 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/StepIndicator.d.ts.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/StepIndicator.js +9 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/StepIndicator.js.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/StepIndicator.module.css +86 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/StepsContainer.d.ts +13 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/StepsContainer.d.ts.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/StepsContainer.js +9 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/StepsContainer.js.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/StepsContainer.module.css +8 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/SuccessScreen.d.ts +20 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/SuccessScreen.d.ts.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/SuccessScreen.js +7 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/SuccessScreen.js.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/SuccessScreen.module.css +13 -0
- package/dist/features/patterns/components/Form/MultiStepForm/types/types.d.ts +216 -0
- package/dist/features/patterns/components/Form/MultiStepForm/types/types.d.ts.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/types/types.js +2 -0
- package/dist/features/patterns/components/Form/MultiStepForm/types/types.js.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/utils/constants.d.ts +6 -0
- package/dist/features/patterns/components/Form/MultiStepForm/utils/constants.d.ts.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/utils/constants.js +22 -0
- package/dist/features/patterns/components/Form/MultiStepForm/utils/constants.js.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/utils/utils.d.ts +10 -0
- package/dist/features/patterns/components/Form/MultiStepForm/utils/utils.d.ts.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/utils/utils.js +31 -0
- package/dist/features/patterns/components/Form/MultiStepForm/utils/utils.js.map +1 -0
- package/dist/features/patterns/components/Form/VerificationCodeStep/VerificationCodeStep.d.ts +19 -0
- package/dist/features/patterns/components/Form/VerificationCodeStep/VerificationCodeStep.d.ts.map +1 -0
- package/dist/features/patterns/components/Form/VerificationCodeStep/VerificationCodeStep.js +104 -0
- package/dist/features/patterns/components/Form/VerificationCodeStep/VerificationCodeStep.js.map +1 -0
- package/dist/features/patterns/components/Form/VerificationCodeStep/VerificationCodeStep.module.css +55 -0
- package/dist/features/selects/components/Selects/CustomSelect.d.ts +27 -0
- package/dist/features/selects/components/Selects/CustomSelect.d.ts.map +1 -0
- package/dist/features/selects/components/Selects/CustomSelect.js +53 -0
- package/dist/features/selects/components/Selects/CustomSelect.js.map +1 -0
- package/dist/features/selects/components/Selects/CustomSelect.module.css +307 -0
- package/dist/features/uploads/components/ImageUpload/ImageUpload.d.ts +12 -0
- package/dist/features/uploads/components/ImageUpload/ImageUpload.d.ts.map +1 -0
- package/dist/features/uploads/components/ImageUpload/ImageUpload.js +178 -0
- package/dist/features/uploads/components/ImageUpload/ImageUpload.js.map +1 -0
- package/dist/features/uploads/components/ImageUpload/ImageUpload.module.css +254 -0
- package/dist/features/uploads/components/VideoUpload/VideoUpload.d.ts +12 -0
- package/dist/features/uploads/components/VideoUpload/VideoUpload.d.ts.map +1 -0
- package/dist/features/uploads/components/VideoUpload/VideoUpload.js +183 -0
- package/dist/features/uploads/components/VideoUpload/VideoUpload.js.map +1 -0
- package/dist/features/uploads/components/VideoUpload/VideoUpload.module.css +277 -0
- package/dist/features/uploads/components/VideoUpload/index.d.ts +2 -0
- package/dist/features/uploads/components/VideoUpload/index.d.ts.map +1 -0
- package/dist/features/uploads/components/VideoUpload/index.js +2 -0
- package/dist/features/uploads/components/VideoUpload/index.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -0
- package/dist/shared/styles/globals.css +80 -0
- package/dist/shared/styles/tokens.css +138 -0
- package/dist/shared/utils/devDelay.d.ts +8 -0
- package/dist/shared/utils/devDelay.d.ts.map +1 -0
- package/dist/shared/utils/devDelay.js +11 -0
- package/dist/shared/utils/devDelay.js.map +1 -0
- package/dist/shared/utils/files.d.ts +9 -0
- package/dist/shared/utils/files.d.ts.map +1 -0
- package/dist/shared/utils/files.js +26 -0
- package/dist/shared/utils/files.js.map +1 -0
- package/dist/shared/utils/formatCurrency.d.ts +24 -0
- package/dist/shared/utils/formatCurrency.d.ts.map +1 -0
- package/dist/shared/utils/formatCurrency.js +96 -0
- package/dist/shared/utils/formatCurrency.js.map +1 -0
- package/dist/shared/utils/location/countries/ao.d.ts +3 -0
- package/dist/shared/utils/location/countries/ao.d.ts.map +1 -0
- package/dist/shared/utils/location/countries/ao.js +52 -0
- package/dist/shared/utils/location/countries/ao.js.map +1 -0
- package/dist/shared/utils/location/countries/ao.json +254 -0
- package/dist/shared/utils/location/countries/ao.official-2026.json +254 -0
- package/dist/shared/utils/location/countries/br.d.ts +3 -0
- package/dist/shared/utils/location/countries/br.d.ts.map +1 -0
- package/dist/shared/utils/location/countries/br.js +33 -0
- package/dist/shared/utils/location/countries/br.js.map +1 -0
- package/dist/shared/utils/location/countries/mz.d.ts +3 -0
- package/dist/shared/utils/location/countries/mz.d.ts.map +1 -0
- package/dist/shared/utils/location/countries/mz.js +17 -0
- package/dist/shared/utils/location/countries/mz.js.map +1 -0
- package/dist/shared/utils/location/countries/ng.d.ts +3 -0
- package/dist/shared/utils/location/countries/ng.d.ts.map +1 -0
- package/dist/shared/utils/location/countries/ng.js +43 -0
- package/dist/shared/utils/location/countries/ng.js.map +1 -0
- package/dist/shared/utils/location/countries/pt.d.ts +3 -0
- package/dist/shared/utils/location/countries/pt.d.ts.map +1 -0
- package/dist/shared/utils/location/countries/pt.js +26 -0
- package/dist/shared/utils/location/countries/pt.js.map +1 -0
- package/dist/shared/utils/location/countries/us.d.ts +3 -0
- package/dist/shared/utils/location/countries/us.d.ts.map +1 -0
- package/dist/shared/utils/location/countries/us.js +57 -0
- package/dist/shared/utils/location/countries/us.js.map +1 -0
- package/dist/shared/utils/location/countries/za.d.ts +3 -0
- package/dist/shared/utils/location/countries/za.d.ts.map +1 -0
- package/dist/shared/utils/location/countries/za.js +15 -0
- package/dist/shared/utils/location/countries/za.js.map +1 -0
- package/dist/shared/utils/location/index.d.ts +14 -0
- package/dist/shared/utils/location/index.d.ts.map +1 -0
- package/dist/shared/utils/location/index.js +131 -0
- package/dist/shared/utils/location/index.js.map +1 -0
- package/dist/shared/utils/location/types.d.ts +24 -0
- package/dist/shared/utils/location/types.d.ts.map +1 -0
- package/dist/shared/utils/location/types.js +2 -0
- package/dist/shared/utils/location/types.js.map +1 -0
- package/dist/shared/utils/logger.d.ts +43 -0
- package/dist/shared/utils/logger.d.ts.map +1 -0
- package/dist/shared/utils/logger.js +139 -0
- package/dist/shared/utils/logger.js.map +1 -0
- package/dist/shared/utils/maskedDecimal.d.ts +8 -0
- package/dist/shared/utils/maskedDecimal.d.ts.map +1 -0
- package/dist/shared/utils/maskedDecimal.js +42 -0
- package/dist/shared/utils/maskedDecimal.js.map +1 -0
- package/dist/shared/utils/slug.d.ts +12 -0
- package/dist/shared/utils/slug.d.ts.map +1 -0
- package/dist/shared/utils/slug.js +31 -0
- package/dist/shared/utils/slug.js.map +1 -0
- package/dist/shared/utils/tax-id/countries/ao.d.ts +11 -0
- package/dist/shared/utils/tax-id/countries/ao.d.ts.map +1 -0
- package/dist/shared/utils/tax-id/countries/ao.js +115 -0
- package/dist/shared/utils/tax-id/countries/ao.js.map +1 -0
- package/dist/shared/utils/tax-id/countries/br.d.ts +3 -0
- package/dist/shared/utils/tax-id/countries/br.d.ts.map +1 -0
- package/dist/shared/utils/tax-id/countries/br.js +24 -0
- package/dist/shared/utils/tax-id/countries/br.js.map +1 -0
- package/dist/shared/utils/tax-id/countries/index.d.ts +8 -0
- package/dist/shared/utils/tax-id/countries/index.d.ts.map +1 -0
- package/dist/shared/utils/tax-id/countries/index.js +12 -0
- package/dist/shared/utils/tax-id/countries/index.js.map +1 -0
- package/dist/shared/utils/tax-id/countries/pt.d.ts +3 -0
- package/dist/shared/utils/tax-id/countries/pt.d.ts.map +1 -0
- package/dist/shared/utils/tax-id/countries/pt.js +24 -0
- package/dist/shared/utils/tax-id/countries/pt.js.map +1 -0
- package/dist/shared/utils/tax-id/countries/us.d.ts +3 -0
- package/dist/shared/utils/tax-id/countries/us.d.ts.map +1 -0
- package/dist/shared/utils/tax-id/countries/us.js +24 -0
- package/dist/shared/utils/tax-id/countries/us.js.map +1 -0
- package/dist/shared/utils/tax-id/index.d.ts +14 -0
- package/dist/shared/utils/tax-id/index.d.ts.map +1 -0
- package/dist/shared/utils/tax-id/index.js +140 -0
- package/dist/shared/utils/tax-id/index.js.map +1 -0
- package/dist/shared/utils/tax-id/types.d.ts +21 -0
- package/dist/shared/utils/tax-id/types.d.ts.map +1 -0
- package/dist/shared/utils/tax-id/types.js +2 -0
- package/dist/shared/utils/tax-id/types.js.map +1 -0
- package/dist/styles.d.ts +2 -0
- package/dist/styles.d.ts.map +1 -0
- package/dist/styles.js +2 -0
- package/dist/styles.js.map +1 -0
- package/dist/tokens.d.ts +2 -0
- package/dist/tokens.d.ts.map +1 -0
- package/dist/tokens.js +2 -0
- package/dist/tokens.js.map +1 -0
- package/dist/ui.d.ts +67 -0
- package/dist/ui.d.ts.map +1 -0
- package/dist/ui.js +39 -0
- package/dist/ui.js.map +1 -0
- package/dist/utils.d.ts +7 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +4 -0
- package/dist/utils.js.map +1 -0
- package/package.json +80 -0
package/dist/features/overlays/components/PrerequisiteGuardModal/PrerequisiteGuardModal.module.css
ADDED
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
.modal {
|
|
2
|
+
background-color: white;
|
|
3
|
+
border-radius: var(--radius-sm);
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
width: 450px;
|
|
6
|
+
height: 600px;
|
|
7
|
+
max-height: 600px;
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.header {
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: flex-end;
|
|
16
|
+
padding: var(--spacing-sm) var(--spacing-sm) 0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.iconContainer {
|
|
20
|
+
width: 70px;
|
|
21
|
+
height: 70px;
|
|
22
|
+
border-radius: 999px;
|
|
23
|
+
display: inline-flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
justify-content: center;
|
|
26
|
+
flex-shrink: 0;
|
|
27
|
+
background: rgba(245, 158, 11, 0.2);
|
|
28
|
+
color: #b45309;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.eyebrow {
|
|
32
|
+
color: var(--text-secondary);
|
|
33
|
+
font-size: 0.72rem;
|
|
34
|
+
font-weight: 700;
|
|
35
|
+
text-transform: uppercase;
|
|
36
|
+
letter-spacing: 0.06em;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.title {
|
|
40
|
+
margin: 0;
|
|
41
|
+
font-size: 1.2rem;
|
|
42
|
+
font-weight: 700;
|
|
43
|
+
color: var(--text-primary);
|
|
44
|
+
line-height: 1.2;
|
|
45
|
+
text-align: center;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.closeButton {
|
|
49
|
+
display: inline-flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
justify-content: center;
|
|
52
|
+
width: 32px;
|
|
53
|
+
height: 32px;
|
|
54
|
+
border: none;
|
|
55
|
+
border-radius: var(--radius-sm);
|
|
56
|
+
background: transparent;
|
|
57
|
+
color: var(--text-secondary);
|
|
58
|
+
cursor: pointer;
|
|
59
|
+
transition: var(--transition-fast);
|
|
60
|
+
flex-shrink: 0;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.closeButton:hover {
|
|
64
|
+
background: var(--bg-hover-normal);
|
|
65
|
+
color: var(--text-primary);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.content {
|
|
69
|
+
padding: 0 var(--spacing-md) var(--spacing-sm);
|
|
70
|
+
overflow-y: auto;
|
|
71
|
+
flex: 1;
|
|
72
|
+
display: flex;
|
|
73
|
+
flex-direction: column;
|
|
74
|
+
gap: 8px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.heroSection {
|
|
78
|
+
display: flex;
|
|
79
|
+
flex-direction: column;
|
|
80
|
+
align-items: center;
|
|
81
|
+
justify-content: center;
|
|
82
|
+
gap: 8px;
|
|
83
|
+
margin-bottom: 12px;
|
|
84
|
+
padding: var(--spacing-xs) var(--spacing-sm) 0;
|
|
85
|
+
text-align: center;
|
|
86
|
+
width: 100%;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.heroText {
|
|
90
|
+
display: flex;
|
|
91
|
+
flex-direction: column;
|
|
92
|
+
align-items: center;
|
|
93
|
+
gap: 6px;
|
|
94
|
+
width: 100%;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.description {
|
|
98
|
+
color: var(--text-secondary);
|
|
99
|
+
font-size: 0.85rem;
|
|
100
|
+
line-height: 1.5;
|
|
101
|
+
text-align: left;
|
|
102
|
+
width: 100%;
|
|
103
|
+
padding: 0;
|
|
104
|
+
margin: 0;
|
|
105
|
+
box-sizing: border-box;
|
|
106
|
+
align-self: flex-start;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.descriptionWrapper {
|
|
110
|
+
display: flex;
|
|
111
|
+
flex-direction: column;
|
|
112
|
+
align-items: flex-start;
|
|
113
|
+
width: 100%;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.requirementsSection {
|
|
117
|
+
display: flex;
|
|
118
|
+
flex-direction: column;
|
|
119
|
+
gap: var(--spacing-sm);
|
|
120
|
+
width: 100%;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.requirementsHeader {
|
|
124
|
+
display: flex;
|
|
125
|
+
flex-direction: column;
|
|
126
|
+
align-items: flex-start;
|
|
127
|
+
gap: 6px;
|
|
128
|
+
padding: 0;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.requirementsTitle {
|
|
132
|
+
margin: 0;
|
|
133
|
+
color: var(--text-primary);
|
|
134
|
+
font-size: 0.95rem;
|
|
135
|
+
font-weight: 700;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.requirementsDescription {
|
|
139
|
+
color: var(--text-secondary);
|
|
140
|
+
font-size: 0.85rem;
|
|
141
|
+
line-height: 1.5;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.requirementsList {
|
|
145
|
+
display: flex;
|
|
146
|
+
flex-direction: column;
|
|
147
|
+
gap: var(--spacing-sm);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.requirementItem {
|
|
151
|
+
display: flex;
|
|
152
|
+
flex-direction: column;
|
|
153
|
+
gap: var(--spacing-sm);
|
|
154
|
+
padding: var(--spacing-sm);
|
|
155
|
+
border-radius: var(--radius-sm);
|
|
156
|
+
border: 1px solid var(--border-divider);
|
|
157
|
+
background: var(--bg-primary);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.requirementMain {
|
|
161
|
+
display: flex;
|
|
162
|
+
align-items: flex-start;
|
|
163
|
+
gap: var(--spacing-sm);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.requirementIcon {
|
|
167
|
+
width: 28px;
|
|
168
|
+
height: 28px;
|
|
169
|
+
border-radius: 999px;
|
|
170
|
+
display: inline-flex;
|
|
171
|
+
align-items: center;
|
|
172
|
+
justify-content: center;
|
|
173
|
+
flex-shrink: 0;
|
|
174
|
+
background: rgba(245, 158, 11, 0.14);
|
|
175
|
+
color: #b45309;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.iconInfo {
|
|
179
|
+
background: rgba(59, 130, 246, 0.14);
|
|
180
|
+
color: #1d4ed8;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.iconWarning {
|
|
184
|
+
background: rgba(245, 158, 11, 0.14);
|
|
185
|
+
color: #b45309;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.iconDanger {
|
|
189
|
+
background: rgba(239, 68, 68, 0.14);
|
|
190
|
+
color: #b91c1c;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.iconNeutral {
|
|
194
|
+
background: rgba(148, 163, 184, 0.12);
|
|
195
|
+
color: #64748b;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.requirementText {
|
|
199
|
+
min-width: 0;
|
|
200
|
+
flex: 1;
|
|
201
|
+
display: flex;
|
|
202
|
+
flex-direction: column;
|
|
203
|
+
gap: 4px;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.requirementTopRow {
|
|
207
|
+
display: flex;
|
|
208
|
+
align-items: flex-start;
|
|
209
|
+
justify-content: space-between;
|
|
210
|
+
gap: var(--spacing-sm);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.requirementTitle {
|
|
214
|
+
color: var(--text-primary);
|
|
215
|
+
font-size: 0.9rem;
|
|
216
|
+
font-weight: 600;
|
|
217
|
+
line-height: 1.4;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.requirementTitleOptional {
|
|
221
|
+
color: #475569;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.requirementItemDescription {
|
|
225
|
+
margin: 0;
|
|
226
|
+
color: var(--text-secondary);
|
|
227
|
+
font-size: 0.78rem;
|
|
228
|
+
line-height: 1.5;
|
|
229
|
+
text-align: left;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.requirementItemDescriptionOptional {
|
|
233
|
+
color: #64748b;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.statusBadge {
|
|
237
|
+
display: inline-flex;
|
|
238
|
+
align-items: center;
|
|
239
|
+
padding: 2px 8px;
|
|
240
|
+
border-radius: 999px;
|
|
241
|
+
font-size: 0.72rem;
|
|
242
|
+
font-weight: 700;
|
|
243
|
+
border: 1px solid transparent;
|
|
244
|
+
white-space: nowrap;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.badgeInfo {
|
|
248
|
+
background: rgba(59, 130, 246, 0.12);
|
|
249
|
+
color: #1d4ed8;
|
|
250
|
+
border-color: rgba(59, 130, 246, 0.4);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.badgeWarning {
|
|
254
|
+
background: rgba(251, 191, 36, 0.18);
|
|
255
|
+
color: #b45309;
|
|
256
|
+
border-color: rgba(251, 191, 36, 0.4);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.badgeDanger {
|
|
260
|
+
background: rgba(239, 68, 68, 0.12);
|
|
261
|
+
color: #b91c1c;
|
|
262
|
+
border-color: rgba(239, 68, 68, 0.4);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.badgeNeutral {
|
|
266
|
+
background: rgba(148, 163, 184, 0.12);
|
|
267
|
+
color: #64748b;
|
|
268
|
+
border-color: rgba(148, 163, 184, 0.32);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.requirementItemOptional {
|
|
272
|
+
background: #f8fafc;
|
|
273
|
+
border-color: #e2e8f0;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.actionButton {
|
|
277
|
+
align-self: stretch;
|
|
278
|
+
display: inline-flex;
|
|
279
|
+
align-items: center;
|
|
280
|
+
justify-content: center;
|
|
281
|
+
gap: var(--spacing-xs);
|
|
282
|
+
padding: var(--spacing-xs) var(--spacing-sm);
|
|
283
|
+
border-radius: var(--radius-xs);
|
|
284
|
+
border: none;
|
|
285
|
+
cursor: pointer;
|
|
286
|
+
font-size: 0.75rem;
|
|
287
|
+
font-weight: 600;
|
|
288
|
+
background: linear-gradient(135deg, #3b82f6, #1d4ed8);
|
|
289
|
+
color: #fff;
|
|
290
|
+
transition: var(--transition-fast);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.actionButton:hover {
|
|
294
|
+
background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.footer {
|
|
298
|
+
display: flex;
|
|
299
|
+
justify-content: stretch;
|
|
300
|
+
gap: var(--spacing-sm);
|
|
301
|
+
padding: var(--spacing-md);
|
|
302
|
+
border-top: 1px solid var(--border-divider);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.footer button {
|
|
306
|
+
flex: 1;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
@media (max-width: 640px) {
|
|
310
|
+
.modal {
|
|
311
|
+
width: min(100vw - (var(--spacing-lg) * 2), 420px);
|
|
312
|
+
min-height: auto;
|
|
313
|
+
max-height: calc(100dvh - (var(--spacing-lg) * 2));
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.header,
|
|
317
|
+
.content,
|
|
318
|
+
.footer {
|
|
319
|
+
padding: var(--spacing-sm);
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.footer {
|
|
323
|
+
flex-direction: column-reverse;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.footer button {
|
|
327
|
+
width: 100%;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.requirementTopRow {
|
|
331
|
+
flex-direction: column;
|
|
332
|
+
align-items: flex-start;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.actionButton {
|
|
336
|
+
align-self: stretch;
|
|
337
|
+
justify-content: center;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface DropdownMenuItem {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
icon?: React.ReactNode;
|
|
5
|
+
description?: string;
|
|
6
|
+
suffix?: string;
|
|
7
|
+
destructive?: boolean;
|
|
8
|
+
active?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface DropdownMenuProps {
|
|
11
|
+
isOpen: boolean;
|
|
12
|
+
onClose: () => void;
|
|
13
|
+
triggerRef?: React.RefObject<HTMLElement | null>;
|
|
14
|
+
items: DropdownMenuItem[];
|
|
15
|
+
onSelect?: (itemId: string) => void;
|
|
16
|
+
}
|
|
17
|
+
export default function DropdownMenu({ isOpen, onClose, triggerRef, items, onSelect, }: DropdownMenuProps): import("react/jsx-runtime").JSX.Element | null;
|
|
18
|
+
//# sourceMappingURL=DropdownMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../../../src/features/overlays/components/dropdowns/DropdownMenu.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IACjD,KAAK,EAAE,gBAAgB,EAAE,CAAC;IAC1B,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC;AAED,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,MAAM,EACN,OAAO,EACP,UAAU,EACV,KAAK,EACL,QAAQ,GACT,EAAE,iBAAiB,kDAgDnB"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { useEffect, useRef } from 'react';
|
|
4
|
+
import styles from './DropdownMenu.module.css';
|
|
5
|
+
import SharedMenuItem from '@/features/navigation/components/Menu/SharedMenuItem';
|
|
6
|
+
export default function DropdownMenu({ isOpen, onClose, triggerRef, items, onSelect, }) {
|
|
7
|
+
const dropdownRef = useRef(null);
|
|
8
|
+
useEffect(() => {
|
|
9
|
+
if (!isOpen)
|
|
10
|
+
return;
|
|
11
|
+
const handleClick = (event) => {
|
|
12
|
+
var _a, _b;
|
|
13
|
+
const target = event.target;
|
|
14
|
+
if ((_a = dropdownRef.current) === null || _a === void 0 ? void 0 : _a.contains(target)) {
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
if ((_b = triggerRef === null || triggerRef === void 0 ? void 0 : triggerRef.current) === null || _b === void 0 ? void 0 : _b.contains(target)) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
onClose();
|
|
21
|
+
};
|
|
22
|
+
document.addEventListener('mousedown', handleClick);
|
|
23
|
+
return () => document.removeEventListener('mousedown', handleClick);
|
|
24
|
+
}, [isOpen, onClose, triggerRef]);
|
|
25
|
+
if (!isOpen) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
const handleItemClick = (itemId) => {
|
|
29
|
+
onSelect === null || onSelect === void 0 ? void 0 : onSelect(itemId);
|
|
30
|
+
onClose();
|
|
31
|
+
};
|
|
32
|
+
return (_jsx("div", { className: styles.dropdown, ref: dropdownRef, children: _jsx("ul", { className: styles.menuList, children: items.map((item) => (_jsx(SharedMenuItem, { label: item.label, leftIcon: item.icon, description: item.description, suffix: item.suffix, active: item.active, destructive: item.destructive, onClick: () => handleItemClick(item.id) }, item.id))) }) }));
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=DropdownMenu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DropdownMenu.js","sourceRoot":"","sources":["../../../../../src/features/overlays/components/dropdowns/DropdownMenu.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,MAAM,MAAM,2BAA2B,CAAC;AAC/C,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAoBlF,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,MAAM,EACN,OAAO,EACP,UAAU,EACV,KAAK,EACL,QAAQ,GACU;IAClB,MAAM,WAAW,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IAEjD,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,CAAC,MAAM;YAAE,OAAO;QAEpB,MAAM,WAAW,GAAG,CAAC,KAAiB,EAAE,EAAE;;YACxC,MAAM,MAAM,GAAG,KAAK,CAAC,MAAc,CAAC;YACpC,IAAI,MAAA,WAAW,CAAC,OAAO,0CAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;gBAC1C,OAAO;YACT,CAAC;YACD,IAAI,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,0CAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;gBAC1C,OAAO;YACT,CAAC;YACD,OAAO,EAAE,CAAC;QACZ,CAAC,CAAC;QAEF,QAAQ,CAAC,gBAAgB,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;QACpD,OAAO,GAAG,EAAE,CAAC,QAAQ,CAAC,mBAAmB,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;IACtE,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC;IAElC,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,eAAe,GAAG,CAAC,MAAc,EAAE,EAAE;QACzC,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAG,MAAM,CAAC,CAAC;QACnB,OAAO,EAAE,CAAC;IACZ,CAAC,CAAC;IAEF,OAAO,CACL,cAAK,SAAS,EAAE,MAAM,CAAC,QAAQ,EAAE,GAAG,EAAE,WAAW,YAC/C,aAAI,SAAS,EAAE,MAAM,CAAC,QAAQ,YAC3B,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACnB,KAAC,cAAc,IAEb,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,QAAQ,EAAE,IAAI,CAAC,IAAI,EACnB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,OAAO,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC,IAPlC,IAAI,CAAC,EAAE,CAQZ,CACH,CAAC,GACC,GACD,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.dropdown {
|
|
2
|
+
position: absolute;
|
|
3
|
+
width: 220px;
|
|
4
|
+
background-color: var(--bg-primary);
|
|
5
|
+
border: 1px solid var(--border-divider);
|
|
6
|
+
border-radius: var(--radius-sm);
|
|
7
|
+
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
8
|
+
z-index: 1500;
|
|
9
|
+
top: calc(100% + var(--spacing-sm));
|
|
10
|
+
right: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
.menuList {
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
margin: 0;
|
|
19
|
+
padding: 0;
|
|
20
|
+
list-style: none;
|
|
21
|
+
gap: 6px;
|
|
22
|
+
padding: var(--spacing-md);
|
|
23
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
interface FormActionsProps {
|
|
3
|
+
isFirstStep: boolean;
|
|
4
|
+
isCurrentStepValid: boolean;
|
|
5
|
+
isLoading?: boolean;
|
|
6
|
+
requirementsListLength: number;
|
|
7
|
+
disableTooltip: boolean;
|
|
8
|
+
onCancel: () => void;
|
|
9
|
+
onPrev: () => void;
|
|
10
|
+
onHoverRequirements: (visible: boolean) => void;
|
|
11
|
+
renderRequirementsTooltip: () => React.ReactNode;
|
|
12
|
+
requirementsTooltipVisible: boolean;
|
|
13
|
+
primaryLabel: ReactNode;
|
|
14
|
+
primaryLeftIcon?: ReactNode;
|
|
15
|
+
primaryRightIcon?: ReactNode;
|
|
16
|
+
primaryDisabled: boolean;
|
|
17
|
+
primaryLoading: boolean;
|
|
18
|
+
primaryType?: "button" | "submit";
|
|
19
|
+
onPrimaryClick?: () => void;
|
|
20
|
+
cancelLabel?: ReactNode;
|
|
21
|
+
cancelLeftIcon?: ReactNode;
|
|
22
|
+
cancelRightIcon?: ReactNode;
|
|
23
|
+
previousLabel?: ReactNode;
|
|
24
|
+
previousLeftIcon?: ReactNode;
|
|
25
|
+
previousRightIcon?: ReactNode;
|
|
26
|
+
showCancelButton?: boolean;
|
|
27
|
+
showInfoTooltip?: boolean;
|
|
28
|
+
infoTooltipMessage?: React.ReactNode;
|
|
29
|
+
infoTooltipClassName?: string;
|
|
30
|
+
disableBackButton?: boolean;
|
|
31
|
+
buttonSize?: "md" | "lg";
|
|
32
|
+
fullWidthButtons?: boolean;
|
|
33
|
+
}
|
|
34
|
+
export declare function FormActions({ isFirstStep, isCurrentStepValid, isLoading, requirementsListLength, disableTooltip, onCancel, onPrev, onHoverRequirements, renderRequirementsTooltip, requirementsTooltipVisible, primaryLabel, primaryLeftIcon, primaryRightIcon, primaryDisabled, primaryLoading, primaryType, onPrimaryClick, cancelLabel, cancelLeftIcon, cancelRightIcon, previousLabel, previousLeftIcon, previousRightIcon, showCancelButton, showInfoTooltip, infoTooltipMessage, infoTooltipClassName, disableBackButton, buttonSize, fullWidthButtons, }: FormActionsProps): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
export {};
|
|
36
|
+
//# sourceMappingURL=FormActions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormActions.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/patterns/components/Form/MultiStepForm/components/FormActions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMlC,UAAU,gBAAgB;IACxB,WAAW,EAAE,OAAO,CAAC;IACrB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,cAAc,EAAE,OAAO,CAAC;IACxB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,mBAAmB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAChD,yBAAyB,EAAE,MAAM,KAAK,CAAC,SAAS,CAAC;IACjD,0BAA0B,EAAE,OAAO,CAAC;IACpC,YAAY,EAAE,SAAS,CAAC;IACxB,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B,eAAe,EAAE,OAAO,CAAC;IACzB,cAAc,EAAE,OAAO,CAAC;IACxB,WAAW,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAClC,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B,iBAAiB,CAAC,EAAE,SAAS,CAAC;IAC9B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACrC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,wBAAgB,WAAW,CAAC,EAC1B,WAAW,EACX,kBAAkB,EAClB,SAAS,EACT,sBAAsB,EACtB,cAAc,EACd,QAAQ,EACR,MAAM,EACN,mBAAmB,EACnB,yBAAyB,EACzB,0BAA0B,EAC1B,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,cAAc,EACd,WAAsB,EACtB,cAAc,EACd,WAAwB,EACxB,cAAc,EACd,eAAe,EACf,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,gBAAuB,EACvB,eAAe,EACf,kBAAkB,EAClB,oBAAoB,EACpB,iBAAyB,EACzB,UAAiB,EACjB,gBAAwB,GACzB,EAAE,gBAAgB,2CAoGlB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import Button from '@/features/buttons/components/Btns/Button';
|
|
3
|
+
import InfoTooltip from '@/features/feedback/components/Tooltips/InfoTooltip';
|
|
4
|
+
import styles from "./FormActions.module.css";
|
|
5
|
+
export function FormActions({ isFirstStep, isCurrentStepValid, isLoading, requirementsListLength, disableTooltip, onCancel, onPrev, onHoverRequirements, renderRequirementsTooltip, requirementsTooltipVisible, primaryLabel, primaryLeftIcon, primaryRightIcon, primaryDisabled, primaryLoading, primaryType = "button", onPrimaryClick, cancelLabel = "Cancelar", cancelLeftIcon, cancelRightIcon, previousLabel, previousLeftIcon, previousRightIcon, showCancelButton = true, showInfoTooltip, infoTooltipMessage, infoTooltipClassName, disableBackButton = false, buttonSize = "md", fullWidthButtons = false, }) {
|
|
6
|
+
const requirementsTooltip = renderRequirementsTooltip();
|
|
7
|
+
const submitWrapperClassName = [
|
|
8
|
+
styles.submitWrapper,
|
|
9
|
+
fullWidthButtons ? styles.submitWrapperFullWidth : "",
|
|
10
|
+
]
|
|
11
|
+
.filter(Boolean)
|
|
12
|
+
.join(" ");
|
|
13
|
+
return (_jsxs("div", { className: `${styles.formActions} ${fullWidthButtons ? styles.fullWidthActions : ""}`, children: [showCancelButton && (_jsx(Button, { type: "button", variant: "secondary", size: buttonSize, onClick: onCancel, disabled: isLoading, text: cancelLabel, leftIcon: cancelLeftIcon, rightIcon: cancelRightIcon })), _jsxs("div", { className: styles.navigationButtons, children: [!isFirstStep && (_jsx("div", { className: styles.secondaryAction, children: _jsx(Button, { type: "button", variant: "secondary", size: buttonSize, onClick: onPrev, disabled: isLoading || disableBackButton, className: fullWidthButtons ? styles.fullWidthButton : "", text: previousLabel !== null && previousLabel !== void 0 ? previousLabel : "Anterior", leftIcon: previousLeftIcon, rightIcon: previousRightIcon }) })), _jsx("div", { className: `${styles.primaryAction} ${!isCurrentStepValid && !isLoading && requirementsListLength > 0 ? styles.hasRequirements : ""}`, onMouseEnter: () => {
|
|
14
|
+
if (!disableTooltip && !isCurrentStepValid && !isLoading && requirementsListLength > 0) {
|
|
15
|
+
onHoverRequirements(true);
|
|
16
|
+
}
|
|
17
|
+
}, onMouseLeave: () => onHoverRequirements(false), children: _jsxs("div", { className: submitWrapperClassName, children: [showInfoTooltip ? (_jsx(InfoTooltip, { className: infoTooltipClassName, message: infoTooltipMessage !== null && infoTooltipMessage !== void 0 ? infoTooltipMessage : "Modifique algum campo para poder salvar", children: _jsx(Button, { type: primaryType, variant: "primary", size: buttonSize, disabled: primaryDisabled, loading: primaryLoading, onClick: primaryType === "button" ? onPrimaryClick : undefined, className: fullWidthButtons ? styles.fullWidthButton : "", text: primaryLabel, leftIcon: primaryLeftIcon, rightIcon: primaryRightIcon }) })) : (_jsx(Button, { type: primaryType, variant: "primary", size: buttonSize, disabled: primaryDisabled, loading: primaryLoading, onClick: primaryType === "button" ? onPrimaryClick : undefined, className: fullWidthButtons ? styles.fullWidthButton : "", text: primaryLabel, leftIcon: primaryLeftIcon, rightIcon: primaryRightIcon })), !disableTooltip && requirementsTooltip && (_jsx("div", { className: `${styles.dependenciesTooltip} ${requirementsTooltipVisible ? styles.dependenciesTooltipVisible : ""}`.trim(), children: requirementsTooltip }))] }) })] })] }));
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=FormActions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormActions.js","sourceRoot":"","sources":["../../../../../../../src/features/patterns/components/Form/MultiStepForm/components/FormActions.tsx"],"names":[],"mappings":"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"}
|
package/dist/features/patterns/components/Form/MultiStepForm/components/FormActions.module.css
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
.formActions {
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: space-between;
|
|
4
|
+
align-items: center;
|
|
5
|
+
padding: var(--spacing-md);
|
|
6
|
+
border-top: 1px solid var(--border-divider);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.fullWidthActions {
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
gap: var(--spacing-sm);
|
|
12
|
+
align-items: stretch;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.fullWidthActions .navigationButtons {
|
|
16
|
+
width: 100%;
|
|
17
|
+
margin-left: 0;
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: space-between;
|
|
20
|
+
gap: var(--spacing-md);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.fullWidthActions .primaryAction,
|
|
24
|
+
.fullWidthActions .secondaryAction {
|
|
25
|
+
width: 100%;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.fullWidthActions .primaryAction button,
|
|
29
|
+
.fullWidthActions .secondaryAction button {
|
|
30
|
+
width: 100%;
|
|
31
|
+
min-width: 100%;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.fullWidthButton {
|
|
35
|
+
width: 100%;
|
|
36
|
+
justify-content: center;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.navigationButtons {
|
|
40
|
+
display: flex;
|
|
41
|
+
gap: var(--spacing-md);
|
|
42
|
+
align-items: center;
|
|
43
|
+
margin-left: auto;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.secondaryAction {
|
|
47
|
+
position: relative;
|
|
48
|
+
display: flex;
|
|
49
|
+
flex-direction: column;
|
|
50
|
+
align-items: flex-start;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.primaryAction {
|
|
54
|
+
position: relative;
|
|
55
|
+
display: flex;
|
|
56
|
+
flex-direction: column;
|
|
57
|
+
align-items: flex-end;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.submitWrapper {
|
|
61
|
+
position: relative;
|
|
62
|
+
display: inline-flex;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.submitWrapperFullWidth {
|
|
66
|
+
width: 100%;
|
|
67
|
+
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.dependenciesTooltip {
|
|
71
|
+
position: relative;
|
|
72
|
+
pointer-events: none;
|
|
73
|
+
margin-top: -6px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.dependenciesTooltipVisible {
|
|
77
|
+
pointer-events: auto;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.infoTooltipWrapper {
|
|
81
|
+
display: inline-flex;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.saveBlockedTooltip {
|
|
85
|
+
min-width: 200px;
|
|
86
|
+
padding: var(--spacing-md);
|
|
87
|
+
white-space: normal;
|
|
88
|
+
}
|
package/dist/features/patterns/components/Form/MultiStepForm/components/GenericStepRenderer.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
import type { FieldDefinition, ValidationErrors } from "../types/types";
|
|
3
|
+
interface GenericStepRendererProps<TValues extends Record<string, any>> {
|
|
4
|
+
formData: TValues;
|
|
5
|
+
errors: ValidationErrors;
|
|
6
|
+
mode: "create" | "edit";
|
|
7
|
+
fields: FieldDefinition[];
|
|
8
|
+
onFieldChange: (field: string, value: any) => void;
|
|
9
|
+
userCountryCode?: string;
|
|
10
|
+
optionalLabel?: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare function GenericStepRenderer<TValues extends Record<string, any>>({ formData, errors, mode, fields, onFieldChange, userCountryCode, optionalLabel, }: GenericStepRendererProps<TValues>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=GenericStepRenderer.d.ts.map
|
package/dist/features/patterns/components/Form/MultiStepForm/components/GenericStepRenderer.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GenericStepRenderer.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/patterns/components/Form/MultiStepForm/components/GenericStepRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAqB,MAAM,OAAO,CAAC;AAYrD,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAExE,UAAU,wBAAwB,CAAC,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IACpE,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,gBAAgB,CAAC;IACzB,IAAI,EAAE,QAAQ,GAAG,MAAM,CAAC;IACxB,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IACnD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,SAAS,CAAC;CAC3B;AASD,wBAAgB,mBAAmB,CAAC,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,EACvE,QAAQ,EACR,MAAM,EACN,IAAI,EACJ,MAAM,EACN,aAAa,EACb,eAAe,EACf,aAA4B,GAC7B,EAAE,wBAAwB,CAAC,OAAO,CAAC,2CAyOnC"}
|