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
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import styles from './Table.module.css';
|
|
4
|
+
import { Edit, Trash2 } from 'lucide-react';
|
|
5
|
+
import InfoTooltip from '@/features/feedback/components/Tooltips/InfoTooltip';
|
|
6
|
+
import SearchEmptyState from '@/features/feedback/components/EmptyStates/SearchEmptyState/SearchEmptyState';
|
|
7
|
+
function getByPath(obj, path) {
|
|
8
|
+
if (!obj || !path)
|
|
9
|
+
return undefined;
|
|
10
|
+
return path.split('.').reduce((acc, key) => {
|
|
11
|
+
if (!acc || typeof acc !== 'object')
|
|
12
|
+
return undefined;
|
|
13
|
+
return acc[key];
|
|
14
|
+
}, obj);
|
|
15
|
+
}
|
|
16
|
+
function resolveAccessor(item, accessor, fallback) {
|
|
17
|
+
if (typeof accessor === 'function') {
|
|
18
|
+
return accessor(item);
|
|
19
|
+
}
|
|
20
|
+
const target = accessor !== null && accessor !== void 0 ? accessor : fallback;
|
|
21
|
+
if (!target) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (typeof target === 'function') {
|
|
25
|
+
return target(item);
|
|
26
|
+
}
|
|
27
|
+
if (typeof target === 'string' && target.includes('${')) {
|
|
28
|
+
return target.replace(/\$\{([^}]+)\}/g, (_match, expr) => {
|
|
29
|
+
const value = getByPath(item, expr.trim());
|
|
30
|
+
return String(value !== null && value !== void 0 ? value : '');
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
return typeof target === 'string' ? getByPath(item, target) : undefined;
|
|
34
|
+
}
|
|
35
|
+
function getCellClassName(base, cellClassName, item, column, index) {
|
|
36
|
+
const custom = typeof cellClassName === 'function' ? cellClassName(item, column, index) : cellClassName;
|
|
37
|
+
return [base, custom].filter(Boolean).join(' ');
|
|
38
|
+
}
|
|
39
|
+
function getRowClassName(base, rowClassName, item, index) {
|
|
40
|
+
const custom = typeof rowClassName === 'function' ? rowClassName(item, index) : rowClassName;
|
|
41
|
+
return [base, custom].filter(Boolean).join(' ');
|
|
42
|
+
}
|
|
43
|
+
function renderBadge(column, rawValue, item) {
|
|
44
|
+
const value = String(rawValue !== null && rawValue !== void 0 ? rawValue : '').trim();
|
|
45
|
+
const style = typeof column.badgeStyle === 'function' ? column.badgeStyle(value, item) : column.badgeStyle;
|
|
46
|
+
const kindClass = column.badgeKind === 'mode' ? styles.badgeMode : styles.badgeStatus;
|
|
47
|
+
return (_jsx("div", { className: styles.colBadge, children: _jsx("span", { className: `${styles.badge} ${kindClass}`, style: style, children: value }) }));
|
|
48
|
+
}
|
|
49
|
+
function renderProfile(item, column) {
|
|
50
|
+
const primary = resolveAccessor(item, column.primaryKey, column.valueKey || column.key);
|
|
51
|
+
const secondary = resolveAccessor(item, column.secondaryKey);
|
|
52
|
+
const imageSrc = getByPath(item, column.imageKey || '') ||
|
|
53
|
+
column.imageFallback ||
|
|
54
|
+
'/images/placeholder.jpg';
|
|
55
|
+
return (_jsxs("div", { className: styles.colProfile, children: [_jsx("img", { src: imageSrc, alt: String(primary !== null && primary !== void 0 ? primary : ''), width: 40, height: 40, className: styles.profileAvatar }), _jsxs("div", { className: styles.profileTexts, children: [_jsx("div", { className: styles.profilePrimary, style: { fontWeight: column.primaryBold ? 600 : 500 }, children: String(primary !== null && primary !== void 0 ? primary : '') }), secondary !== undefined && secondary !== null && (_jsx("div", { className: styles.profileSecondary, children: String(secondary) }))] })] }));
|
|
56
|
+
}
|
|
57
|
+
function renderDualText(item, column) {
|
|
58
|
+
const primary = resolveAccessor(item, column.primaryKey, column.valueKey || column.key);
|
|
59
|
+
const secondary = resolveAccessor(item, column.secondaryKey);
|
|
60
|
+
return (_jsxs("div", { className: styles.colDual, children: [_jsx("div", { className: styles.dualPrimary, style: { fontWeight: column.primaryBold ? 600 : 500 }, children: String(primary !== null && primary !== void 0 ? primary : '') }), secondary !== undefined && secondary !== null && (_jsx("div", { className: styles.dualSecondary, children: String(secondary) }))] }));
|
|
61
|
+
}
|
|
62
|
+
function renderNumber(rawValue, column) {
|
|
63
|
+
const value = rawValue !== null && rawValue !== void 0 ? rawValue : 0;
|
|
64
|
+
const weight = column.numberBold ? 600 : 500;
|
|
65
|
+
return _jsx("div", { className: styles.colNumber, style: { fontWeight: weight }, children: String(value) });
|
|
66
|
+
}
|
|
67
|
+
function renderText(rawValue, column) {
|
|
68
|
+
const value = rawValue !== null && rawValue !== void 0 ? rawValue : '';
|
|
69
|
+
const weight = column.textBold ? 600 : 500;
|
|
70
|
+
return _jsx("div", { className: styles.colText, style: { fontWeight: weight }, children: String(value) });
|
|
71
|
+
}
|
|
72
|
+
const resolveMaybeValue = (value, item) => {
|
|
73
|
+
if (typeof value === 'function') {
|
|
74
|
+
return value(item);
|
|
75
|
+
}
|
|
76
|
+
return value;
|
|
77
|
+
};
|
|
78
|
+
function renderActions(item, column, onEdit, onDelete, isEditDisabled, isDeleteDisabled, editTooltip, deleteTooltip) {
|
|
79
|
+
const fallbackActions = column.actions && column.actions.length
|
|
80
|
+
? column.actions
|
|
81
|
+
: [
|
|
82
|
+
...(onEdit
|
|
83
|
+
? [{
|
|
84
|
+
id: 'edit',
|
|
85
|
+
icon: _jsx(Edit, { size: 16 }),
|
|
86
|
+
label: 'Editar',
|
|
87
|
+
onClick: onEdit,
|
|
88
|
+
disabled: isEditDisabled,
|
|
89
|
+
tooltip: editTooltip,
|
|
90
|
+
}]
|
|
91
|
+
: []),
|
|
92
|
+
...(onDelete
|
|
93
|
+
? [{
|
|
94
|
+
id: 'delete',
|
|
95
|
+
icon: _jsx(Trash2, { size: 16 }),
|
|
96
|
+
label: 'Apagar',
|
|
97
|
+
onClick: onDelete,
|
|
98
|
+
disabled: isDeleteDisabled,
|
|
99
|
+
tooltip: deleteTooltip,
|
|
100
|
+
}]
|
|
101
|
+
: []),
|
|
102
|
+
];
|
|
103
|
+
return (_jsx("div", { className: styles.colActions, children: fallbackActions.map((action) => {
|
|
104
|
+
var _a;
|
|
105
|
+
const disabled = Boolean(resolveMaybeValue(action.disabled, item));
|
|
106
|
+
const tooltip = resolveMaybeValue(action.tooltip, item);
|
|
107
|
+
const label = (_a = action.label) !== null && _a !== void 0 ? _a : '';
|
|
108
|
+
const button = (_jsx("button", { className: `${styles.actionButton} ${disabled ? styles.actionButtonDisabled : ''}`.trim(), onClick: (e) => {
|
|
109
|
+
var _a;
|
|
110
|
+
e.stopPropagation();
|
|
111
|
+
if (disabled)
|
|
112
|
+
return;
|
|
113
|
+
(_a = action.onClick) === null || _a === void 0 ? void 0 : _a.call(action, item);
|
|
114
|
+
}, disabled: disabled, title: !tooltip ? label : undefined, children: action.icon || label }, action.id));
|
|
115
|
+
if (tooltip) {
|
|
116
|
+
return (_jsx(InfoTooltip, { message: tooltip, children: button }, action.id));
|
|
117
|
+
}
|
|
118
|
+
return button;
|
|
119
|
+
}) }));
|
|
120
|
+
}
|
|
121
|
+
export default function Table({ data, columns, loading = false, skeletonRowCount = 6, empty, hasBaseData = false, searchEmptyProps, className = '', rowClassName = '', onRowClick, keyExtractor = (_item, index) => `${index}`, showHeader = true, headerClassName = '', bodyClassName = '', cellClassName = '', onEdit, onDelete, isEditDisabled, isDeleteDisabled, editTooltip, deleteTooltip, }) {
|
|
122
|
+
const hasData = Boolean(data === null || data === void 0 ? void 0 : data.length);
|
|
123
|
+
const showSearchEmpty = !loading && !hasData && hasBaseData;
|
|
124
|
+
const showEmptyState = !loading && !hasData && !hasBaseData;
|
|
125
|
+
const tableMinWidth = columns.reduce((sum, col) => {
|
|
126
|
+
const min = typeof col.minWidth === 'number' ? col.minWidth : 0;
|
|
127
|
+
return sum + min;
|
|
128
|
+
}, 0);
|
|
129
|
+
const renderEmptyContent = () => {
|
|
130
|
+
if (loading)
|
|
131
|
+
return null;
|
|
132
|
+
if (showSearchEmpty) {
|
|
133
|
+
return (_jsx("div", { className: styles.emptyWrapper, children: _jsx(SearchEmptyState, { title: searchEmptyProps === null || searchEmptyProps === void 0 ? void 0 : searchEmptyProps.title, description: searchEmptyProps === null || searchEmptyProps === void 0 ? void 0 : searchEmptyProps.description, actionLabel: searchEmptyProps === null || searchEmptyProps === void 0 ? void 0 : searchEmptyProps.actionLabel, onAction: searchEmptyProps === null || searchEmptyProps === void 0 ? void 0 : searchEmptyProps.onAction }) }));
|
|
134
|
+
}
|
|
135
|
+
if (showEmptyState) {
|
|
136
|
+
return _jsx("div", { className: styles.emptyWrapper, children: empty || 'Sem dados' });
|
|
137
|
+
}
|
|
138
|
+
return null;
|
|
139
|
+
};
|
|
140
|
+
const renderSkeletonCell = (col) => {
|
|
141
|
+
if (col.type === 'actions') {
|
|
142
|
+
return (_jsxs("div", { className: styles.skeletonActions, children: [_jsx("span", { className: styles.skeletonActionBtn }), _jsx("span", { className: styles.skeletonActionBtn })] }));
|
|
143
|
+
}
|
|
144
|
+
if (col.type === 'profile') {
|
|
145
|
+
return (_jsxs("div", { className: styles.skeletonProfile, children: [_jsx("span", { className: styles.skeletonAvatar }), _jsxs("div", { className: styles.skeletonTextStack, children: [_jsx("span", { className: `${styles.skeletonCell} ${styles.skeletonLineMedium}` }), _jsx("span", { className: `${styles.skeletonCell} ${styles.skeletonLineShort}` })] })] }));
|
|
146
|
+
}
|
|
147
|
+
if (col.type === 'dualText') {
|
|
148
|
+
return (_jsxs("div", { className: styles.skeletonTextStack, children: [_jsx("span", { className: `${styles.skeletonCell} ${styles.skeletonLineMedium}` }), _jsx("span", { className: `${styles.skeletonCell} ${styles.skeletonLineShort}` })] }));
|
|
149
|
+
}
|
|
150
|
+
return _jsx("span", { className: `${styles.skeletonCell} ${styles.skeletonLineMedium}` });
|
|
151
|
+
};
|
|
152
|
+
return (_jsx("div", { className: `${styles.tableContainer} ${className}`, children: _jsxs("div", { className: styles.tableContent, children: [_jsxs("table", { className: styles.table, style: tableMinWidth > 0 ? { minWidth: tableMinWidth } : undefined, children: [_jsx("colgroup", { children: columns.map((col) => {
|
|
153
|
+
var _a, _b;
|
|
154
|
+
return (_jsx("col", { style: {
|
|
155
|
+
width: (_b = (_a = col.width) !== null && _a !== void 0 ? _a : col.maxWidth) !== null && _b !== void 0 ? _b : 'auto',
|
|
156
|
+
} }, col.key));
|
|
157
|
+
}) }), showHeader && (_jsx("thead", { className: headerClassName, children: _jsx("tr", { className: styles.tableHeader, children: columns.map((col) => (_jsx("th", { className: styles.tableHeaderCell, style: Object.assign({}, (col.align ? { textAlign: col.align } : {})), children: _jsxs("span", { className: styles.headerContent, style: col.align ? { justifyContent: col.align === 'right' ? 'flex-end' : col.align === 'center' ? 'center' : 'flex-start' } : {}, children: [col.icon && _jsx("span", { className: styles.headerIcon, children: col.icon }), _jsx("span", { children: col.title })] }) }, col.key))) }) })), _jsx("tbody", { className: `${styles.tableBody} ${bodyClassName}`, children: loading ? (Array.from({ length: Math.max(1, skeletonRowCount) }).map((_, rowIndex) => (_jsx("tr", { className: styles.tableRow, children: columns.map((col) => (_jsx("td", { className: styles.tableCell, children: renderSkeletonCell(col) }, `${col.key}-s-${rowIndex}`))) }, `skeleton-${rowIndex}`)))) : hasData ? (data.map((item, rowIndex) => (_jsx("tr", { className: getRowClassName(styles.tableRow, rowClassName, item, rowIndex), onClick: () => onRowClick === null || onRowClick === void 0 ? void 0 : onRowClick(item, rowIndex), children: columns.map((col) => {
|
|
158
|
+
const rawValue = resolveAccessor(item, col.valueKey, col.key);
|
|
159
|
+
const isOverflowVisible = col.overflowVisible || col.type === 'actions' || col.key === 'acoes';
|
|
160
|
+
const baseClass = isOverflowVisible
|
|
161
|
+
? `${styles.tableCell} ${styles.tableCellOverflowVisible}`
|
|
162
|
+
: styles.tableCell;
|
|
163
|
+
const content = col.render
|
|
164
|
+
? col.render(rawValue, item, rowIndex)
|
|
165
|
+
: col.type === 'profile'
|
|
166
|
+
? renderProfile(item, col)
|
|
167
|
+
: col.type === 'dualText'
|
|
168
|
+
? renderDualText(item, col)
|
|
169
|
+
: col.type === 'badge'
|
|
170
|
+
? renderBadge(col, rawValue, item)
|
|
171
|
+
: col.type === 'number'
|
|
172
|
+
? renderNumber(rawValue, col)
|
|
173
|
+
: col.type === 'text'
|
|
174
|
+
? renderText(rawValue, col)
|
|
175
|
+
: col.type === 'actions'
|
|
176
|
+
? renderActions(item, col, onEdit, onDelete, isEditDisabled, isDeleteDisabled, editTooltip, deleteTooltip)
|
|
177
|
+
: String(rawValue !== null && rawValue !== void 0 ? rawValue : '');
|
|
178
|
+
return (_jsx("td", { className: getCellClassName(baseClass, cellClassName, item, col, rowIndex), style: Object.assign({}, (col.align ? { textAlign: col.align } : {})), children: content }, `${col.key}-${rowIndex}`));
|
|
179
|
+
}) }, keyExtractor(item, rowIndex))))) : null })] }), renderEmptyContent()] }) }));
|
|
180
|
+
}
|
|
181
|
+
//# sourceMappingURL=Table.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Table.js","sourceRoot":"","sources":["../../../../../src/features/data-display/components/Table/Table.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,WAAW,MAAM,qDAAqD,CAAC;AAE9E,OAAO,gBAAgB,MAAM,8EAA8E,CAAC;AAO5G,SAAS,SAAS,CAAC,GAAY,EAAE,IAAoB;IACnD,IAAI,CAAC,GAAG,IAAI,CAAC,IAAI;QAAE,OAAO,SAAS,CAAC;IACpC,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAU,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE;QAClD,IAAI,CAAC,GAAG,IAAI,OAAO,GAAG,KAAK,QAAQ;YAAE,OAAO,SAAS,CAAC;QACtD,OAAQ,GAA+B,CAAC,GAAG,CAAC,CAAC;IAC/C,CAAC,EAAE,GAAG,CAAC,CAAC;AACV,CAAC;AAED,SAAS,eAAe,CAAI,IAAO,EAAE,QAA0B,EAAE,QAA0B;IACzF,IAAI,OAAO,QAAQ,KAAK,UAAU,EAAE,CAAC;QACnC,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC;IACxB,CAAC;IAED,MAAM,MAAM,GAAG,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,QAAQ,CAAC;IACpC,IAA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IACjB,GACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
.tableContainer {
|
|
2
|
+
background-color: var(--bg-primary);
|
|
3
|
+
overflow: hidden;
|
|
4
|
+
box-shadow: var(--shadow-sm);
|
|
5
|
+
border-top: 1px solid var(--border-divider);
|
|
6
|
+
height: 100%;
|
|
7
|
+
width: 100%;
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
.tableContent {
|
|
14
|
+
flex: 1;
|
|
15
|
+
overflow: auto;
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.table {
|
|
21
|
+
width: 100%;
|
|
22
|
+
border-collapse: collapse;
|
|
23
|
+
table-layout: auto;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.tableHeader {
|
|
27
|
+
background-color: #f8fafc;
|
|
28
|
+
border-bottom: 1px solid #e5e7eb;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.tableHeaderCell {
|
|
32
|
+
padding: var(--spacing-md);
|
|
33
|
+
text-align: left;
|
|
34
|
+
font-weight: 600;
|
|
35
|
+
font-size: 0.875rem;
|
|
36
|
+
color: var(--text-primary);
|
|
37
|
+
white-space: nowrap;
|
|
38
|
+
border-right: 1px solid rgba(255, 255, 255, 0.2);
|
|
39
|
+
vertical-align: middle;
|
|
40
|
+
align-items: center;
|
|
41
|
+
overflow: hidden;
|
|
42
|
+
text-overflow: ellipsis;
|
|
43
|
+
max-width: 0;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.tableHeaderCell:last-child {
|
|
47
|
+
border-right: none;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.tableHeaderCell:last-child .headerContent {
|
|
51
|
+
justify-content: flex-end;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* Conteúdo interno do header para alinhar ícone + texto */
|
|
55
|
+
.headerContent {
|
|
56
|
+
display: flex;
|
|
57
|
+
align-items: center;
|
|
58
|
+
gap: 8px;
|
|
59
|
+
width: 100%;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.headerIcon {
|
|
63
|
+
display: inline-flex;
|
|
64
|
+
align-items: center;
|
|
65
|
+
justify-content: center;
|
|
66
|
+
line-height: 0;
|
|
67
|
+
min-width: 16px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.tableRow {
|
|
71
|
+
border-bottom: 1px solid #e5e7eb;
|
|
72
|
+
transition: var(--transition-fast);
|
|
73
|
+
cursor: pointer;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.tableRow:hover {
|
|
77
|
+
background-color: var(--bg-hover-normal);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.tableCell {
|
|
81
|
+
padding: var(--spacing-sm-md) var(--spacing-md);
|
|
82
|
+
vertical-align: middle;
|
|
83
|
+
white-space: nowrap;
|
|
84
|
+
overflow: hidden;
|
|
85
|
+
text-overflow: ellipsis;
|
|
86
|
+
max-width: 0;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.tableCellOverflowVisible {
|
|
90
|
+
overflow: visible !important;
|
|
91
|
+
max-width: none !important;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.tableBody {
|
|
95
|
+
background-color: var(--bg-primary);
|
|
96
|
+
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.emptyWrapper {
|
|
100
|
+
flex: 1;
|
|
101
|
+
display: flex;
|
|
102
|
+
align-items: center;
|
|
103
|
+
justify-content: center;
|
|
104
|
+
padding: var(--spacing-xl) var(--spacing-lg);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* === Tipos de colunas genéricos === */
|
|
108
|
+
|
|
109
|
+
/* Profile: avatar + dois textos */
|
|
110
|
+
.colProfile {
|
|
111
|
+
display: flex;
|
|
112
|
+
align-items: center;
|
|
113
|
+
gap: var(--spacing-sm);
|
|
114
|
+
}
|
|
115
|
+
.profileAvatar {
|
|
116
|
+
width: 40px;
|
|
117
|
+
height: 40px;
|
|
118
|
+
border-radius: var(--radius-full);
|
|
119
|
+
object-fit: cover;
|
|
120
|
+
background-color: var(--bg-surface-secondary);
|
|
121
|
+
flex-shrink: 0;
|
|
122
|
+
overflow: hidden;
|
|
123
|
+
}
|
|
124
|
+
.profileTexts {
|
|
125
|
+
display: flex;
|
|
126
|
+
flex-direction: column;
|
|
127
|
+
gap: var(--spacing-xs);
|
|
128
|
+
min-width: 0;
|
|
129
|
+
width: 100%;
|
|
130
|
+
}
|
|
131
|
+
.profilePrimary {
|
|
132
|
+
font-weight: 600;
|
|
133
|
+
font-size: 0.92rem;
|
|
134
|
+
color: var(--text-primary);
|
|
135
|
+
text-align: left;
|
|
136
|
+
white-space: nowrap;
|
|
137
|
+
overflow: hidden;
|
|
138
|
+
text-overflow: ellipsis;
|
|
139
|
+
}
|
|
140
|
+
.profileSecondary {
|
|
141
|
+
font-size: 0.79rem;
|
|
142
|
+
color: var(--text-secondary);
|
|
143
|
+
text-align: left;
|
|
144
|
+
white-space: nowrap;
|
|
145
|
+
overflow: hidden;
|
|
146
|
+
text-overflow: ellipsis;
|
|
147
|
+
margin-top: -5px;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/* Dual text: dois textos empilhados */
|
|
151
|
+
.colDual {
|
|
152
|
+
display: flex;
|
|
153
|
+
flex-direction: column;
|
|
154
|
+
gap: var(--spacing-xs);
|
|
155
|
+
min-width: 0;
|
|
156
|
+
}
|
|
157
|
+
.dualPrimary {
|
|
158
|
+
font-size: 0.92rem;
|
|
159
|
+
font-weight: 500;
|
|
160
|
+
color: var(--text-primary);
|
|
161
|
+
text-align: left;
|
|
162
|
+
white-space: nowrap;
|
|
163
|
+
overflow: hidden;
|
|
164
|
+
text-overflow: ellipsis;
|
|
165
|
+
}
|
|
166
|
+
.dualSecondary {
|
|
167
|
+
font-size: 0.79rem;
|
|
168
|
+
color: var(--text-secondary);
|
|
169
|
+
text-align: left;
|
|
170
|
+
white-space: nowrap;
|
|
171
|
+
overflow: hidden;
|
|
172
|
+
text-overflow: ellipsis;
|
|
173
|
+
margin-top: -5px;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/* Text simples */
|
|
177
|
+
.colText {
|
|
178
|
+
font-size: 0.92rem;
|
|
179
|
+
color: var(--text-primary);
|
|
180
|
+
text-align: inherit;
|
|
181
|
+
white-space: nowrap;
|
|
182
|
+
overflow: hidden;
|
|
183
|
+
text-overflow: ellipsis;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/* Número */
|
|
187
|
+
.colNumber {
|
|
188
|
+
font-size: 0.92rem;
|
|
189
|
+
color: var(--text-primary);
|
|
190
|
+
text-align: left;
|
|
191
|
+
font-variant-numeric: tabular-nums;
|
|
192
|
+
line-height: 1.25; /* mesmo feeling do body */
|
|
193
|
+
/* sem display:flex aqui */
|
|
194
|
+
min-width: 0;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/* Badge */
|
|
198
|
+
.colBadge { text-align: inherit; }
|
|
199
|
+
.badge {
|
|
200
|
+
padding: 0.25rem 0.75rem;
|
|
201
|
+
border-radius: 9999px;
|
|
202
|
+
font-size: 0.75rem;
|
|
203
|
+
font-weight: 600;
|
|
204
|
+
text-transform: uppercase;
|
|
205
|
+
letter-spacing: 0.025em;
|
|
206
|
+
}
|
|
207
|
+
.badgeStatus {
|
|
208
|
+
background-color: #d1fae5;
|
|
209
|
+
color: #059669;
|
|
210
|
+
}
|
|
211
|
+
.badgeMode {
|
|
212
|
+
background-color: #dbeafe;
|
|
213
|
+
color: #1d4ed8;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/* Ações */
|
|
217
|
+
.colActions {
|
|
218
|
+
display: flex;
|
|
219
|
+
align-items: center;
|
|
220
|
+
justify-content: flex-end;
|
|
221
|
+
gap: 0.5rem;
|
|
222
|
+
text-align: right;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.actionButton {
|
|
226
|
+
display: flex;
|
|
227
|
+
align-items: center;
|
|
228
|
+
justify-content: center;
|
|
229
|
+
width: 32px;
|
|
230
|
+
height: 32px;
|
|
231
|
+
border: 1px solid var(--border-divider);
|
|
232
|
+
border-radius: var(--radius-sm);
|
|
233
|
+
background-color: var(--bg-primary);
|
|
234
|
+
color: var(--text-secondary);
|
|
235
|
+
cursor: pointer;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.actionButtonDisabled {
|
|
239
|
+
opacity: 0.45;
|
|
240
|
+
cursor: default;
|
|
241
|
+
border-color: var(--border-divider-strong, #cbd5f5);
|
|
242
|
+
color: var(--text-tertiary);
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.skeletonCell {
|
|
246
|
+
display: block;
|
|
247
|
+
width: 100%;
|
|
248
|
+
height: 12px;
|
|
249
|
+
border-radius: 6px;
|
|
250
|
+
background: linear-gradient(90deg, rgba(0,0,0,0.05) 25%, rgba(0,0,0,0.09) 37%, rgba(0,0,0,0.05) 63%);
|
|
251
|
+
background-size: 400% 100%;
|
|
252
|
+
animation: table-shimmer 1.2s ease-in-out infinite;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.skeletonAvatar {
|
|
256
|
+
width: 40px;
|
|
257
|
+
height: 40px;
|
|
258
|
+
border-radius: var(--radius-full);
|
|
259
|
+
background: linear-gradient(90deg, rgba(0,0,0,0.05) 25%, rgba(0,0,0,0.09) 37%, rgba(0,0,0,0.05) 63%);
|
|
260
|
+
background-size: 400% 100%;
|
|
261
|
+
animation: table-shimmer 1.2s ease-in-out infinite;
|
|
262
|
+
flex-shrink: 0;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.skeletonProfile {
|
|
266
|
+
display: flex;
|
|
267
|
+
align-items: center;
|
|
268
|
+
gap: var(--spacing-sm);
|
|
269
|
+
min-width: 200px;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.skeletonTextStack {
|
|
273
|
+
display: flex;
|
|
274
|
+
flex-direction: column;
|
|
275
|
+
gap: 6px;
|
|
276
|
+
width: 100%;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.skeletonLineShort {
|
|
280
|
+
width: 40%;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.skeletonLineMedium {
|
|
284
|
+
width: 65%;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.skeletonActions {
|
|
288
|
+
display: flex;
|
|
289
|
+
justify-content: flex-end;
|
|
290
|
+
gap: 8px;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.skeletonActionBtn {
|
|
294
|
+
width: 32px;
|
|
295
|
+
height: 32px;
|
|
296
|
+
border-radius: var(--radius-sm);
|
|
297
|
+
background: linear-gradient(90deg, rgba(0,0,0,0.05) 25%, rgba(0,0,0,0.09) 37%, rgba(0,0,0,0.05) 63%);
|
|
298
|
+
background-size: 400% 100%;
|
|
299
|
+
animation: table-shimmer 1.2s ease-in-out infinite;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
@keyframes table-shimmer {
|
|
303
|
+
0% { background-position: 100% 0; }
|
|
304
|
+
100% { background-position: 0 0; }
|
|
305
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { Option } from '@/features/selects/components/Selects/CustomSelect';
|
|
3
|
+
export type LineItemsColumnType = 'text' | 'description' | 'number' | 'percent' | 'select' | 'stepper' | 'computed' | 'actions';
|
|
4
|
+
export type LineItemsPercentMode = 'percent' | 'value';
|
|
5
|
+
export interface LineItemsPercentToggle<T> {
|
|
6
|
+
percentField: keyof T & string;
|
|
7
|
+
valueField: keyof T & string;
|
|
8
|
+
defaultMode?: LineItemsPercentMode;
|
|
9
|
+
percentLabel?: string;
|
|
10
|
+
valueLabel?: string;
|
|
11
|
+
clearOtherFieldOnModeChange?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface LineItemsSummaryItem<T> {
|
|
14
|
+
id: string;
|
|
15
|
+
label: string;
|
|
16
|
+
getValue: (rows: T[]) => number;
|
|
17
|
+
bold?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface LineItemsSummaryConfig<T> {
|
|
20
|
+
items: Array<LineItemsSummaryItem<T>>;
|
|
21
|
+
formatValue?: (value: number, item: LineItemsSummaryItem<T>) => ReactNode;
|
|
22
|
+
}
|
|
23
|
+
export interface LineItemsCalculations<T> {
|
|
24
|
+
getLineSubtotal: (row: T, index: number) => number;
|
|
25
|
+
getLineTotal: (row: T, index: number) => number;
|
|
26
|
+
}
|
|
27
|
+
export interface LineItemsAction<T> {
|
|
28
|
+
id: string;
|
|
29
|
+
label?: string;
|
|
30
|
+
icon?: ReactNode;
|
|
31
|
+
onClick: (row: T, index: number) => void;
|
|
32
|
+
disabled?: (row: T, index: number) => boolean;
|
|
33
|
+
}
|
|
34
|
+
export type LineItemsValueKey<T> = string | ((row: T) => any);
|
|
35
|
+
export interface LineItemsColumn<T = any> {
|
|
36
|
+
/** Identificador único da coluna (não precisa existir no row quando a coluna for computed) */
|
|
37
|
+
key: string;
|
|
38
|
+
/** Campo do row que será atualizado quando a célula for editável */
|
|
39
|
+
field?: keyof T & string;
|
|
40
|
+
title: ReactNode;
|
|
41
|
+
icon?: ReactNode;
|
|
42
|
+
type: LineItemsColumnType;
|
|
43
|
+
width?: string | number;
|
|
44
|
+
minWidth?: string | number;
|
|
45
|
+
align?: 'left' | 'center' | 'right';
|
|
46
|
+
headerAlign?: 'left' | 'center' | 'right';
|
|
47
|
+
/** Leitura de valores (aceita template string como no Table) */
|
|
48
|
+
valueKey?: LineItemsValueKey<T>;
|
|
49
|
+
/** Para colunas computed */
|
|
50
|
+
computeValue?: (row: T, index: number) => any;
|
|
51
|
+
/** Formatação opcional */
|
|
52
|
+
formatValue?: (value: any, row: T, index: number) => ReactNode;
|
|
53
|
+
/** Estilo de valor */
|
|
54
|
+
valueBold?: boolean;
|
|
55
|
+
/** Config de input */
|
|
56
|
+
placeholder?: string;
|
|
57
|
+
readOnly?: boolean;
|
|
58
|
+
/** select */
|
|
59
|
+
options?: Option[] | ((row: T, index: number) => Option[]);
|
|
60
|
+
/** number/percent/stepper */
|
|
61
|
+
min?: number;
|
|
62
|
+
max?: number | ((row: T) => number | undefined);
|
|
63
|
+
step?: number;
|
|
64
|
+
/** percent */
|
|
65
|
+
percentToggle?: LineItemsPercentToggle<T>;
|
|
66
|
+
/** actions */
|
|
67
|
+
actions?: Array<LineItemsAction<T>>;
|
|
68
|
+
/** escape hatch */
|
|
69
|
+
render?: (row: T, index: number) => ReactNode;
|
|
70
|
+
}
|
|
71
|
+
export interface LineItemsTableProps<T> {
|
|
72
|
+
rows: T[];
|
|
73
|
+
columns: Array<LineItemsColumn<T>>;
|
|
74
|
+
onAddRow?: () => void;
|
|
75
|
+
onUpdateRow: (index: number, patch: Partial<T>) => void;
|
|
76
|
+
onRemoveRow?: (index: number) => void;
|
|
77
|
+
className?: string;
|
|
78
|
+
emptyText?: string;
|
|
79
|
+
addLabel?: string;
|
|
80
|
+
calculations?: LineItemsCalculations<T>;
|
|
81
|
+
summaryConfig?: LineItemsSummaryConfig<T>;
|
|
82
|
+
}
|
|
83
|
+
//# sourceMappingURL=LineItemsTable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LineItemsTable.d.ts","sourceRoot":"","sources":["../../../../../../src/features/data-display/components/Table/types/LineItemsTable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,MAAM,mBAAmB,GAC3B,MAAM,GACN,aAAa,GACb,QAAQ,GACR,SAAS,GACT,QAAQ,GACR,SAAS,GACT,UAAU,GACV,SAAS,CAAC;AAEd,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAAG,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AC7B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,KAAK,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,cAAc;IACd,aAAa,CAAC,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAC;IAE1C,cAAc;IACd,OAAO,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;IAEpC,mBAAmB;IACnB,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;CAC/C;AAED,MAAM,WAAW,mBAAmB,CAAC,CAAC;IACpC,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,OAAO,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;IACnC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IACxD,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,qBAAqB,CAAC,CAAC,CAAC,CAAC;IACxC,aAAa,CAAC,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAC;CAC3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LineItemsTable.js","sourceRoot":"","sources":["../../../../../../src/features/data-display/components/Table/types/LineItemsTable.ts"],"names":[],"mappings":""}
|