@solidstarters/solid-core-ui 0.1.26
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/components/CustomFooter/CustomFooter.d.ts +2 -0
- package/dist/components/CustomFooter/CustomFooter.d.ts.map +1 -0
- package/dist/components/CustomFooter/FooterForm.d.ts +2 -0
- package/dist/components/CustomFooter/FooterForm.d.ts.map +1 -0
- package/dist/components/CustomHeader/CallIcon.d.ts +2 -0
- package/dist/components/CustomHeader/CallIcon.d.ts.map +1 -0
- package/dist/components/CustomHeader/CustomDropdown.d.ts +21 -0
- package/dist/components/CustomHeader/CustomDropdown.d.ts.map +1 -0
- package/dist/components/CustomHeader/CustomHeader.d.ts +2 -0
- package/dist/components/CustomHeader/CustomHeader.d.ts.map +1 -0
- package/dist/components/CustomHeader/EmailIcon.d.ts +2 -0
- package/dist/components/CustomHeader/EmailIcon.d.ts.map +1 -0
- package/dist/components/CustomHeader/HeaderCart.d.ts +2 -0
- package/dist/components/CustomHeader/HeaderCart.d.ts.map +1 -0
- package/dist/components/CustomHeader/productNavData.d.ts +3 -0
- package/dist/components/CustomHeader/productNavData.d.ts.map +1 -0
- package/dist/components/FormView/DetailsViews.d.ts +2 -0
- package/dist/components/FormView/DetailsViews.d.ts.map +1 -0
- package/dist/components/FormView/OrderAddressDetails.d.ts +2 -0
- package/dist/components/FormView/OrderAddressDetails.d.ts.map +1 -0
- package/dist/components/FormView/OrderPaymentDetails.d.ts +2 -0
- package/dist/components/FormView/OrderPaymentDetails.d.ts.map +1 -0
- package/dist/components/FormView/OrderTableDetails.d.ts +2 -0
- package/dist/components/FormView/OrderTableDetails.d.ts.map +1 -0
- package/dist/components/FormView/OrderedProductDetail.d.ts +2 -0
- package/dist/components/FormView/OrderedProductDetail.d.ts.map +1 -0
- package/dist/components/Tag/CustomTag.d.ts +8 -0
- package/dist/components/Tag/CustomTag.d.ts.map +1 -0
- package/dist/components/auth/Login.d.ts +3 -0
- package/dist/components/auth/Login.d.ts.map +1 -0
- package/dist/components/auth/Register.d.ts +3 -0
- package/dist/components/auth/Register.d.ts.map +1 -0
- package/dist/components/common/AuthBanner.d.ts +3 -0
- package/dist/components/common/AuthBanner.d.ts.map +1 -0
- package/dist/components/common/AutoCompleteField.d.ts +2 -0
- package/dist/components/common/AutoCompleteField.d.ts.map +1 -0
- package/dist/components/common/CancelButton.d.ts +3 -0
- package/dist/components/common/CancelButton.d.ts.map +1 -0
- package/dist/components/common/CodeEditor.d.ts +3 -0
- package/dist/components/common/CodeEditor.d.ts.map +1 -0
- package/dist/components/common/CreateButton.d.ts +2 -0
- package/dist/components/common/CreateButton.d.ts.map +1 -0
- package/dist/components/common/DropzonePlaceholder.d.ts +2 -0
- package/dist/components/common/DropzonePlaceholder.d.ts.map +1 -0
- package/dist/components/common/DropzoneUpload.d.ts +2 -0
- package/dist/components/common/DropzoneUpload.d.ts.map +1 -0
- package/dist/components/common/FilterComponent.d.ts +3 -0
- package/dist/components/common/FilterComponent.d.ts.map +1 -0
- package/dist/components/common/HeaderDynamicTitles.d.ts +2 -0
- package/dist/components/common/HeaderDynamicTitles.d.ts.map +1 -0
- package/dist/components/common/MarkdownViewer.d.ts +3 -0
- package/dist/components/common/MarkdownViewer.d.ts.map +1 -0
- package/dist/components/common/MultipleSelectAutoCompleteField.d.ts +2 -0
- package/dist/components/common/MultipleSelectAutoCompleteField.d.ts.map +1 -0
- package/dist/components/common/SingleSelectAutoCompleteField.d.ts +2 -0
- package/dist/components/common/SingleSelectAutoCompleteField.d.ts.map +1 -0
- package/dist/components/common/SocialMediaLogin.d.ts +2 -0
- package/dist/components/common/SocialMediaLogin.d.ts.map +1 -0
- package/dist/components/core/common/SolidConfigureLayoutElement.d.ts +2 -0
- package/dist/components/core/common/SolidConfigureLayoutElement.d.ts.map +1 -0
- package/dist/components/core/common/SolidCreateButton.d.ts +2 -0
- package/dist/components/core/common/SolidCreateButton.d.ts.map +1 -0
- package/dist/components/core/common/SolidGlobalSearchElement.d.ts +2 -0
- package/dist/components/core/common/SolidGlobalSearchElement.d.ts.map +1 -0
- package/dist/components/core/common/SolidSearchBox.d.ts +2 -0
- package/dist/components/core/common/SolidSearchBox.d.ts.map +1 -0
- package/dist/components/core/field/FieldListViewData.d.ts +7 -0
- package/dist/components/core/field/FieldListViewData.d.ts.map +1 -0
- package/dist/components/core/form/SolidFormView.d.ts +14 -0
- package/dist/components/core/form/SolidFormView.d.ts.map +1 -0
- package/dist/components/core/form/fields/ISolidField.d.ts +63 -0
- package/dist/components/core/form/fields/ISolidField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidBooleanField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidBooleanField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidDateField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidDateField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidDateTimeField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidDateTimeField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidDecimalField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidDecimalField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidIntegerField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidIntegerField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidJsonField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidJsonField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidLongTextField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidLongTextField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidMediaMultipleField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidMediaMultipleField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidMediaSingleField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidMediaSingleField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidRelationField.d.ts +13 -0
- package/dist/components/core/form/fields/SolidRelationField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidRichTextField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidRichTextField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidSelectionDynamicField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidSelectionDynamicField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidSelectionStaticField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidSelectionStaticField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidShortTextField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidShortTextField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidTimeField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidTimeField.d.ts.map +1 -0
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.d.ts +14 -0
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.d.ts.map +1 -0
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.d.ts +11 -0
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.d.ts.map +1 -0
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.d.ts +12 -0
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.d.ts.map +1 -0
- package/dist/components/core/kanban/KanbanBoard.d.ts +3 -0
- package/dist/components/core/kanban/KanbanBoard.d.ts.map +1 -0
- package/dist/components/core/kanban/KanbanCard.d.ts +14 -0
- package/dist/components/core/kanban/KanbanCard.d.ts.map +1 -0
- package/dist/components/core/kanban/KanbanColumn.d.ts +20 -0
- package/dist/components/core/kanban/KanbanColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/SolidKanbanFilter.d.ts +2 -0
- package/dist/components/core/kanban/SolidKanbanFilter.d.ts.map +1 -0
- package/dist/components/core/kanban/SolidKanbanView.d.ts +8 -0
- package/dist/components/core/kanban/SolidKanbanView.d.ts.map +1 -0
- package/dist/components/core/kanban/SolidKanbanViewSearchColumn.d.ts +10 -0
- package/dist/components/core/kanban/SolidKanbanViewSearchColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/SolidManyToOneFilterElement.d.ts +2 -0
- package/dist/components/core/kanban/SolidManyToOneFilterElement.d.ts.map +1 -0
- package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.d.ts +2 -0
- package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.d.ts.map +1 -0
- package/dist/components/core/kanban/SolidSelectionStaticFilterElement.d.ts +2 -0
- package/dist/components/core/kanban/SolidSelectionStaticFilterElement.d.ts.map +1 -0
- package/dist/components/core/kanban/SolidVarInputsFilterElement.d.ts +12 -0
- package/dist/components/core/kanban/SolidVarInputsFilterElement.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidBigintColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidBigintColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidBooleanColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidBooleanColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidComputedColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidComputedColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidDateColumn.d.ts +9 -0
- package/dist/components/core/kanban/columns/SolidDateColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidDatetimeColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidDatetimeColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidDecimalColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidDecimalColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidExternalIdColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidExternalIdColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidFloatColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidFloatColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidIdColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidIdColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidIntColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidIntColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidLongTextColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidLongTextColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidMediaMultipleColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidMediaMultipleColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidMediaSingleColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidMediaSingleColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidRelationColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidRelationColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidRichTextColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidRichTextColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidSelectionDynamicColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidSelectionDynamicColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidSelectionStaticColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidSelectionStaticColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidShortTextColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidShortTextColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidTimeColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidTimeColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidUuidColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidUuidColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/relations/SolidRelationManyToOneColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/relations/SolidRelationManyToOneColumn.d.ts.map +1 -0
- package/dist/components/core/list/SolidListView.d.ts +12 -0
- package/dist/components/core/list/SolidListView.d.ts.map +1 -0
- package/dist/components/core/list/SolidListViewColumn.d.ts +8 -0
- package/dist/components/core/list/SolidListViewColumn.d.ts.map +1 -0
- package/dist/components/core/list/SolidListingHeader.d.ts +3 -0
- package/dist/components/core/list/SolidListingHeader.d.ts.map +1 -0
- package/dist/components/core/list/SolidManyToOneFilterElement.d.ts +2 -0
- package/dist/components/core/list/SolidManyToOneFilterElement.d.ts.map +1 -0
- package/dist/components/core/list/SolidSelectionDynamicFilterElement.d.ts +2 -0
- package/dist/components/core/list/SolidSelectionDynamicFilterElement.d.ts.map +1 -0
- package/dist/components/core/list/SolidSelectionStaticFilterElement.d.ts +2 -0
- package/dist/components/core/list/SolidSelectionStaticFilterElement.d.ts.map +1 -0
- package/dist/components/core/list/SolidVarInputsFilterElement.d.ts +12 -0
- package/dist/components/core/list/SolidVarInputsFilterElement.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidBigintColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidBigintColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidBooleanColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidBooleanColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidComputedColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidComputedColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidDateColumn.d.ts +9 -0
- package/dist/components/core/list/columns/SolidDateColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidDatetimeColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidDatetimeColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidDecimalColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidDecimalColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidExternalIdColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidExternalIdColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidFloatColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidFloatColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidIdColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidIdColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidIntColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidIntColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidLongTextColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidLongTextColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidMediaSingleColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidMediaSingleColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidRelationColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidRelationColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidRichTextColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidRichTextColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidShortTextColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidShortTextColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidTimeColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidTimeColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidUuidColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidUuidColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.d.ts +4 -0
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.d.ts.map +1 -0
- package/dist/components/core/model/CreateModel.d.ts +3 -0
- package/dist/components/core/model/CreateModel.d.ts.map +1 -0
- package/dist/components/core/model/FieldMetaData.d.ts +3 -0
- package/dist/components/core/model/FieldMetaData.d.ts.map +1 -0
- package/dist/components/core/model/FieldMetaDataForm.d.ts +3 -0
- package/dist/components/core/model/FieldMetaDataForm.d.ts.map +1 -0
- package/dist/components/core/model/FieldSelector.d.ts +3 -0
- package/dist/components/core/model/FieldSelector.d.ts.map +1 -0
- package/dist/components/core/model/ModelListViewData.d.ts +8 -0
- package/dist/components/core/model/ModelListViewData.d.ts.map +1 -0
- package/dist/components/core/model/ModelMetaData.d.ts +4 -0
- package/dist/components/core/model/ModelMetaData.d.ts.map +1 -0
- package/dist/components/core/module/CreateModule.d.ts +3 -0
- package/dist/components/core/module/CreateModule.d.ts.map +1 -0
- package/dist/components/core/module/ModuleListViewData.d.ts +7 -0
- package/dist/components/core/module/ModuleListViewData.d.ts.map +1 -0
- package/dist/components/core/users/CreateUser.d.ts +3 -0
- package/dist/components/core/users/CreateUser.d.ts.map +1 -0
- package/dist/components/core/users/CreateUserRole.d.ts +3 -0
- package/dist/components/core/users/CreateUserRole.d.ts.map +1 -0
- package/dist/components/core/users/UserListView.d.ts +2 -0
- package/dist/components/core/users/UserListView.d.ts.map +1 -0
- package/dist/components/layout/AdminSidebar.d.ts +3 -0
- package/dist/components/layout/AdminSidebar.d.ts.map +1 -0
- package/dist/components/layout/ButtonLoader.d.ts +3 -0
- package/dist/components/layout/ButtonLoader.d.ts.map +1 -0
- package/dist/components/layout/CustomPagination.d.ts +7 -0
- package/dist/components/layout/CustomPagination.d.ts.map +1 -0
- package/dist/components/layout/DashboardHeader.d.ts +3 -0
- package/dist/components/layout/DashboardHeader.d.ts.map +1 -0
- package/dist/components/layout/FilterMenu.d.ts +3 -0
- package/dist/components/layout/FilterMenu.d.ts.map +1 -0
- package/dist/components/layout/Footer.d.ts +3 -0
- package/dist/components/layout/Footer.d.ts.map +1 -0
- package/dist/components/layout/GlobalSearch.d.ts +2 -0
- package/dist/components/layout/GlobalSearch.d.ts.map +1 -0
- package/dist/components/layout/Header.d.ts +3 -0
- package/dist/components/layout/Header.d.ts.map +1 -0
- package/dist/components/layout/ListingHeader.d.ts +3 -0
- package/dist/components/layout/ListingHeader.d.ts.map +1 -0
- package/dist/components/layout/Loader.d.ts +3 -0
- package/dist/components/layout/Loader.d.ts.map +1 -0
- package/dist/components/layout/UserSidebar.d.ts +3 -0
- package/dist/components/layout/UserSidebar.d.ts.map +1 -0
- package/dist/components/layout/navbar-one.d.ts +3 -0
- package/dist/components/layout/navbar-one.d.ts.map +1 -0
- package/dist/components/layout/navbar-two-menu.d.ts +3 -0
- package/dist/components/layout/navbar-two-menu.d.ts.map +1 -0
- package/dist/components/layout/navbar-two.d.ts +3 -0
- package/dist/components/layout/navbar-two.d.ts.map +1 -0
- package/dist/components/layout/user-profile-menu.d.ts +3 -0
- package/dist/components/layout/user-profile-menu.d.ts.map +1 -0
- package/dist/components/layout/user-profile.d.ts +3 -0
- package/dist/components/layout/user-profile.d.ts.map +1 -0
- package/dist/components/modelsComponents/filterIcon.d.ts +2 -0
- package/dist/components/modelsComponents/filterIcon.d.ts.map +1 -0
- package/dist/components/tables/DemoData.d.ts +23 -0
- package/dist/components/tables/DemoData.d.ts.map +1 -0
- package/dist/components/tables/DynamicTable.d.ts +6 -0
- package/dist/components/tables/DynamicTable.d.ts.map +1 -0
- package/dist/components/tables/ListViewTable.d.ts +12 -0
- package/dist/components/tables/ListViewTable.d.ts.map +1 -0
- package/dist/helpers/ToastContainer.d.ts +4 -0
- package/dist/helpers/ToastContainer.d.ts.map +1 -0
- package/dist/helpers/authHeader.d.ts +7 -0
- package/dist/helpers/authHeader.d.ts.map +1 -0
- package/dist/helpers/countries.d.ts +6 -0
- package/dist/helpers/countries.d.ts.map +1 -0
- package/dist/helpers/helpers.d.ts +10 -0
- package/dist/helpers/helpers.d.ts.map +1 -0
- package/dist/helpers/menu.d.ts +35 -0
- package/dist/helpers/menu.d.ts.map +1 -0
- package/dist/helpers/permissions.d.ts +4 -0
- package/dist/helpers/permissions.d.ts.map +1 -0
- package/dist/helpers/revalidate.d.ts +2 -0
- package/dist/helpers/revalidate.d.ts.map +1 -0
- package/dist/index.d.ts +182 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +45552 -0
- package/dist/index.js.map +1 -0
- package/dist/redux/api/articleApi.d.ts +19 -0
- package/dist/redux/api/articleApi.d.ts.map +1 -0
- package/dist/redux/api/authApi.d.ts +9 -0
- package/dist/redux/api/authApi.d.ts.map +1 -0
- package/dist/redux/api/automationApi.d.ts +19 -0
- package/dist/redux/api/automationApi.d.ts.map +1 -0
- package/dist/redux/api/categoryApi.d.ts +10 -0
- package/dist/redux/api/categoryApi.d.ts.map +1 -0
- package/dist/redux/api/cityApi.d.ts +36 -0
- package/dist/redux/api/cityApi.d.ts.map +1 -0
- package/dist/redux/api/cmsBannerImageApi.d.ts +19 -0
- package/dist/redux/api/cmsBannerImageApi.d.ts.map +1 -0
- package/dist/redux/api/countryApi.d.ts +39 -0
- package/dist/redux/api/countryApi.d.ts.map +1 -0
- package/dist/redux/api/fetchBaseQuery.d.ts +2 -0
- package/dist/redux/api/fetchBaseQuery.d.ts.map +1 -0
- package/dist/redux/api/fieldApi.d.ts +20 -0
- package/dist/redux/api/fieldApi.d.ts.map +1 -0
- package/dist/redux/api/mediaApi.d.ts +19 -0
- package/dist/redux/api/mediaApi.d.ts.map +1 -0
- package/dist/redux/api/mediaStorageProviderApi.d.ts +19 -0
- package/dist/redux/api/mediaStorageProviderApi.d.ts.map +1 -0
- package/dist/redux/api/menuApi.d.ts +19 -0
- package/dist/redux/api/menuApi.d.ts.map +1 -0
- package/dist/redux/api/menuItemsApi.d.ts +19 -0
- package/dist/redux/api/menuItemsApi.d.ts.map +1 -0
- package/dist/redux/api/modelApi.d.ts +20 -0
- package/dist/redux/api/modelApi.d.ts.map +1 -0
- package/dist/redux/api/moduleApi.d.ts +22 -0
- package/dist/redux/api/moduleApi.d.ts.map +1 -0
- package/dist/redux/api/orderAttributeApi.d.ts +8 -0
- package/dist/redux/api/orderAttributeApi.d.ts.map +1 -0
- package/dist/redux/api/permissionApi.d.ts +15 -0
- package/dist/redux/api/permissionApi.d.ts.map +1 -0
- package/dist/redux/api/pincodeApi.d.ts +36 -0
- package/dist/redux/api/pincodeApi.d.ts.map +1 -0
- package/dist/redux/api/productData.d.ts +51 -0
- package/dist/redux/api/productData.d.ts.map +1 -0
- package/dist/redux/api/radixExtraModelAttributeApi.d.ts +8 -0
- package/dist/redux/api/radixExtraModelAttributeApi.d.ts.map +1 -0
- package/dist/redux/api/radixModelMetadataApi.d.ts +20 -0
- package/dist/redux/api/radixModelMetadataApi.d.ts.map +1 -0
- package/dist/redux/api/radixModelsApi.d.ts +13 -0
- package/dist/redux/api/radixModelsApi.d.ts.map +1 -0
- package/dist/redux/api/ratingApi.d.ts +19 -0
- package/dist/redux/api/ratingApi.d.ts.map +1 -0
- package/dist/redux/api/reviewApi.d.ts +19 -0
- package/dist/redux/api/reviewApi.d.ts.map +1 -0
- package/dist/redux/api/roleApi.d.ts +10 -0
- package/dist/redux/api/roleApi.d.ts.map +1 -0
- package/dist/redux/api/solidActionApi.d.ts +19 -0
- package/dist/redux/api/solidActionApi.d.ts.map +1 -0
- package/dist/redux/api/solidEntityApi.d.ts +18 -0
- package/dist/redux/api/solidEntityApi.d.ts.map +1 -0
- package/dist/redux/api/solidMenuApi.d.ts +20 -0
- package/dist/redux/api/solidMenuApi.d.ts.map +1 -0
- package/dist/redux/api/solidViewApi.d.ts +20 -0
- package/dist/redux/api/solidViewApi.d.ts.map +1 -0
- package/dist/redux/api/stateApi.d.ts +36 -0
- package/dist/redux/api/stateApi.d.ts.map +1 -0
- package/dist/redux/api/tagApi.d.ts +19 -0
- package/dist/redux/api/tagApi.d.ts.map +1 -0
- package/dist/redux/api/tagGroupApi.d.ts +19 -0
- package/dist/redux/api/tagGroupApi.d.ts.map +1 -0
- package/dist/redux/api/userApi.d.ts +17 -0
- package/dist/redux/api/userApi.d.ts.map +1 -0
- package/dist/redux/features/authSlice.d.ts +6 -0
- package/dist/redux/features/authSlice.d.ts.map +1 -0
- package/dist/redux/features/dataViewSlice.d.ts +7 -0
- package/dist/redux/features/dataViewSlice.d.ts.map +1 -0
- package/dist/redux/features/navbarSlice.d.ts +6 -0
- package/dist/redux/features/navbarSlice.d.ts.map +1 -0
- package/dist/redux/features/popupSlice.d.ts +7 -0
- package/dist/redux/features/popupSlice.d.ts.map +1 -0
- package/dist/redux/features/themeSlice.d.ts +6 -0
- package/dist/redux/features/themeSlice.d.ts.map +1 -0
- package/dist/redux/features/userSlice.d.ts +13 -0
- package/dist/redux/features/userSlice.d.ts.map +1 -0
- package/dist/redux/hooks.d.ts +2 -0
- package/dist/redux/hooks.d.ts.map +1 -0
- package/dist/redux/store.d.ts +375 -0
- package/dist/redux/store.d.ts.map +1 -0
- package/package.json +114 -0
- package/rollup.config.mjs +45 -0
- package/solidstarters-solid-core-ui-0.1.24.tgz +0 -0
- package/src/components/CustomFooter/CustomFooter.tsx +263 -0
- package/src/components/CustomFooter/FooterForm.tsx +18 -0
- package/src/components/CustomHeader/CallIcon.tsx +19 -0
- package/src/components/CustomHeader/CustomDropdown.tsx +175 -0
- package/src/components/CustomHeader/CustomHeader.tsx +64 -0
- package/src/components/CustomHeader/EmailIcon.tsx +11 -0
- package/src/components/CustomHeader/HeaderCart.tsx +14 -0
- package/src/components/CustomHeader/productNavData.tsx +179 -0
- package/src/components/FormView/DetailsViews.tsx +46 -0
- package/src/components/FormView/OrderAddressDetails.tsx +69 -0
- package/src/components/FormView/OrderPaymentDetails.tsx +17 -0
- package/src/components/FormView/OrderTableDetails.tsx +35 -0
- package/src/components/FormView/OrderedProductDetail.tsx +21 -0
- package/src/components/Tag/CustomTag.tsx +49 -0
- package/src/components/auth/Login.tsx +155 -0
- package/src/components/auth/Register.tsx +239 -0
- package/src/components/common/AuthBanner.tsx +40 -0
- package/src/components/common/AutoCompleteField.tsx +74 -0
- package/src/components/common/CancelButton.tsx +42 -0
- package/src/components/common/CodeEditor.tsx +24 -0
- package/src/components/common/CreateButton.tsx +16 -0
- package/src/components/common/DropzonePlaceholder.tsx +9 -0
- package/src/components/common/DropzoneUpload.tsx +9 -0
- package/src/components/common/FilterComponent.tsx +427 -0
- package/src/components/common/HeaderDynamicTitles.tsx +11 -0
- package/src/components/common/MarkdownViewer.tsx +14 -0
- package/src/components/common/MultipleSelectAutoCompleteField.tsx +61 -0
- package/src/components/common/SingleSelectAutoCompleteField.tsx +64 -0
- package/src/components/common/SocialMediaLogin.tsx +44 -0
- package/src/components/core/common/SolidConfigureLayoutElement.tsx +24 -0
- package/src/components/core/common/SolidCreateButton.tsx +19 -0
- package/src/components/core/common/SolidGlobalSearchElement.tsx +37 -0
- package/src/components/core/common/SolidSearchBox.tsx +17 -0
- package/src/components/core/field/FieldListViewData.tsx +312 -0
- package/src/components/core/form/SolidFormView.tsx +821 -0
- package/src/components/core/form/fields/ISolidField.tsx +64 -0
- package/src/components/core/form/fields/SolidBooleanField.tsx +112 -0
- package/src/components/core/form/fields/SolidDateField.tsx +89 -0
- package/src/components/core/form/fields/SolidDateTimeField.tsx +87 -0
- package/src/components/core/form/fields/SolidDecimalField.tsx +85 -0
- package/src/components/core/form/fields/SolidIntegerField.tsx +85 -0
- package/src/components/core/form/fields/SolidJsonField.tsx +79 -0
- package/src/components/core/form/fields/SolidLongTextField.tsx +99 -0
- package/src/components/core/form/fields/SolidMediaMultipleField.tsx +246 -0
- package/src/components/core/form/fields/SolidMediaSingleField.tsx +227 -0
- package/src/components/core/form/fields/SolidRelationField.tsx +53 -0
- package/src/components/core/form/fields/SolidRichTextField.tsx +97 -0
- package/src/components/core/form/fields/SolidSelectionDynamicField.tsx +122 -0
- package/src/components/core/form/fields/SolidSelectionStaticField.tsx +117 -0
- package/src/components/core/form/fields/SolidShortTextField.tsx +99 -0
- package/src/components/core/form/fields/SolidTimeField.tsx +87 -0
- package/src/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +435 -0
- package/src/components/core/form/fields/relations/SolidRelationManyToOneField.tsx +137 -0
- package/src/components/core/form/fields/relations/SolidRelationOneToManyField.tsx +184 -0
- package/src/components/core/kanban/KanbanBoard.tsx +116 -0
- package/src/components/core/kanban/KanbanCard.tsx +159 -0
- package/src/components/core/kanban/KanbanColumn.tsx +124 -0
- package/src/components/core/kanban/SolidKanbanFilter.tsx +104 -0
- package/src/components/core/kanban/SolidKanbanView.tsx +660 -0
- package/src/components/core/kanban/SolidKanbanViewSearchColumn.tsx +131 -0
- package/src/components/core/kanban/SolidManyToOneFilterElement.tsx +56 -0
- package/src/components/core/kanban/SolidSelectionDynamicFilterElement.tsx +49 -0
- package/src/components/core/kanban/SolidSelectionStaticFilterElement.tsx +31 -0
- package/src/components/core/kanban/SolidVarInputsFilterElement.tsx +183 -0
- package/src/components/core/kanban/columns/SolidBigintColumn.tsx +8 -0
- package/src/components/core/kanban/columns/SolidBooleanColumn.tsx +49 -0
- package/src/components/core/kanban/columns/SolidComputedColumn.tsx +22 -0
- package/src/components/core/kanban/columns/SolidDateColumn.tsx +58 -0
- package/src/components/core/kanban/columns/SolidDatetimeColumn.tsx +45 -0
- package/src/components/core/kanban/columns/SolidDecimalColumn.tsx +8 -0
- package/src/components/core/kanban/columns/SolidExternalIdColumn.tsx +46 -0
- package/src/components/core/kanban/columns/SolidFloatColumn.tsx +8 -0
- package/src/components/core/kanban/columns/SolidIdColumn.tsx +46 -0
- package/src/components/core/kanban/columns/SolidIntColumn.tsx +56 -0
- package/src/components/core/kanban/columns/SolidLongTextColumn.tsx +8 -0
- package/src/components/core/kanban/columns/SolidMediaMultipleColumn.tsx +54 -0
- package/src/components/core/kanban/columns/SolidMediaSingleColumn.tsx +56 -0
- package/src/components/core/kanban/columns/SolidRelationColumn.tsx +12 -0
- package/src/components/core/kanban/columns/SolidRichTextColumn.tsx +8 -0
- package/src/components/core/kanban/columns/SolidSelectionDynamicColumn.tsx +46 -0
- package/src/components/core/kanban/columns/SolidSelectionStaticColumn.tsx +47 -0
- package/src/components/core/kanban/columns/SolidShortTextColumn.tsx +53 -0
- package/src/components/core/kanban/columns/SolidTimeColumn.tsx +42 -0
- package/src/components/core/kanban/columns/SolidUuidColumn.tsx +44 -0
- package/src/components/core/kanban/columns/relations/SolidRelationManyToOneColumn.tsx +79 -0
- package/src/components/core/list/SolidListView.tsx +569 -0
- package/src/components/core/list/SolidListViewColumn.tsx +161 -0
- package/src/components/core/list/SolidListingHeader.tsx +41 -0
- package/src/components/core/list/SolidManyToOneFilterElement.tsx +56 -0
- package/src/components/core/list/SolidSelectionDynamicFilterElement.tsx +49 -0
- package/src/components/core/list/SolidSelectionStaticFilterElement.tsx +31 -0
- package/src/components/core/list/SolidVarInputsFilterElement.tsx +183 -0
- package/src/components/core/list/columns/SolidBigintColumn.tsx +8 -0
- package/src/components/core/list/columns/SolidBooleanColumn.tsx +60 -0
- package/src/components/core/list/columns/SolidComputedColumn.tsx +22 -0
- package/src/components/core/list/columns/SolidDateColumn.tsx +63 -0
- package/src/components/core/list/columns/SolidDatetimeColumn.tsx +51 -0
- package/src/components/core/list/columns/SolidDecimalColumn.tsx +8 -0
- package/src/components/core/list/columns/SolidExternalIdColumn.tsx +51 -0
- package/src/components/core/list/columns/SolidFloatColumn.tsx +8 -0
- package/src/components/core/list/columns/SolidIdColumn.tsx +52 -0
- package/src/components/core/list/columns/SolidIntColumn.tsx +60 -0
- package/src/components/core/list/columns/SolidLongTextColumn.tsx +8 -0
- package/src/components/core/list/columns/SolidMediaMultipleColumn.tsx +29 -0
- package/src/components/core/list/columns/SolidMediaSingleColumn.tsx +29 -0
- package/src/components/core/list/columns/SolidRelationColumn.tsx +12 -0
- package/src/components/core/list/columns/SolidRichTextColumn.tsx +8 -0
- package/src/components/core/list/columns/SolidSelectionDynamicColumn.tsx +52 -0
- package/src/components/core/list/columns/SolidSelectionStaticColumn.tsx +53 -0
- package/src/components/core/list/columns/SolidShortTextColumn.tsx +60 -0
- package/src/components/core/list/columns/SolidTimeColumn.tsx +51 -0
- package/src/components/core/list/columns/SolidUuidColumn.tsx +51 -0
- package/src/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx +70 -0
- package/src/components/core/model/CreateModel.tsx +340 -0
- package/src/components/core/model/FieldMetaData.tsx +148 -0
- package/src/components/core/model/FieldMetaDataForm.tsx +2877 -0
- package/src/components/core/model/FieldSelector.tsx +67 -0
- package/src/components/core/model/ModelListViewData.tsx +383 -0
- package/src/components/core/model/ModelMetaData.tsx +777 -0
- package/src/components/core/module/CreateModule.tsx +577 -0
- package/src/components/core/module/ModuleListViewData.tsx +429 -0
- package/src/components/core/users/CreateUser.tsx +415 -0
- package/src/components/core/users/CreateUserRole.tsx +209 -0
- package/src/components/core/users/UserListView.tsx +374 -0
- package/src/components/layout/AdminSidebar.tsx +65 -0
- package/src/components/layout/ButtonLoader.tsx +7 -0
- package/src/components/layout/CustomPagination.tsx +55 -0
- package/src/components/layout/DashboardHeader.tsx +88 -0
- package/src/components/layout/FilterMenu.tsx +122 -0
- package/src/components/layout/Footer.tsx +12 -0
- package/src/components/layout/GlobalSearch.tsx +36 -0
- package/src/components/layout/Header.tsx +8 -0
- package/src/components/layout/ListingHeader.tsx +203 -0
- package/src/components/layout/Loader.tsx +15 -0
- package/src/components/layout/UserSidebar.tsx +53 -0
- package/src/components/layout/navbar-one.tsx +258 -0
- package/src/components/layout/navbar-two-menu.tsx +64 -0
- package/src/components/layout/navbar-two.tsx +36 -0
- package/src/components/layout/user-profile-menu.tsx +214 -0
- package/src/components/layout/user-profile.tsx +6 -0
- package/src/components/modelsComponents/filterIcon.tsx +9 -0
- package/src/components/tables/DemoData.tsx +317 -0
- package/src/components/tables/DynamicTable.tsx +56 -0
- package/src/components/tables/ListViewTable.tsx +155 -0
- package/src/helpers/ToastContainer.tsx +92 -0
- package/src/helpers/authHeader.ts +19 -0
- package/src/helpers/countries.tsx +259 -0
- package/src/helpers/helpers.ts +39 -0
- package/src/helpers/menu.tsx +670 -0
- package/src/helpers/permissions.ts +15 -0
- package/src/helpers/revalidate.ts +6 -0
- package/src/index.ts +630 -0
- package/src/redux/api/articleApi.ts +55 -0
- package/src/redux/api/authApi.ts +60 -0
- package/src/redux/api/automationApi.ts +55 -0
- package/src/redux/api/categoryApi.tsx +46 -0
- package/src/redux/api/cityApi.tsx +56 -0
- package/src/redux/api/cmsBannerImageApi.tsx +55 -0
- package/src/redux/api/countryApi.tsx +56 -0
- package/src/redux/api/fetchBaseQuery.tsx +15 -0
- package/src/redux/api/fieldApi.ts +78 -0
- package/src/redux/api/mediaApi.ts +55 -0
- package/src/redux/api/mediaStorageProviderApi.ts +55 -0
- package/src/redux/api/menuApi.tsx +55 -0
- package/src/redux/api/menuItemsApi.tsx +56 -0
- package/src/redux/api/modelApi.ts +70 -0
- package/src/redux/api/moduleApi.ts +72 -0
- package/src/redux/api/orderAttributeApi.tsx +37 -0
- package/src/redux/api/permissionApi.ts +32 -0
- package/src/redux/api/pincodeApi.tsx +56 -0
- package/src/redux/api/productData.tsx +87 -0
- package/src/redux/api/radixExtraModelAttributeApi.tsx +37 -0
- package/src/redux/api/radixModelMetadataApi.tsx +62 -0
- package/src/redux/api/radixModelsApi.tsx +64 -0
- package/src/redux/api/ratingApi.ts +55 -0
- package/src/redux/api/reviewApi.ts +55 -0
- package/src/redux/api/roleApi.ts +58 -0
- package/src/redux/api/solidActionApi.ts +66 -0
- package/src/redux/api/solidEntityApi.tsx +86 -0
- package/src/redux/api/solidMenuApi.ts +71 -0
- package/src/redux/api/solidViewApi.ts +72 -0
- package/src/redux/api/stateApi.tsx +56 -0
- package/src/redux/api/tagApi.ts +55 -0
- package/src/redux/api/tagGroupApi.tsx +55 -0
- package/src/redux/api/userApi.ts +120 -0
- package/src/redux/features/authSlice.ts +19 -0
- package/src/redux/features/dataViewSlice.ts +26 -0
- package/src/redux/features/navbarSlice.ts +21 -0
- package/src/redux/features/popupSlice.ts +27 -0
- package/src/redux/features/themeSlice.ts +17 -0
- package/src/redux/features/userSlice.ts +28 -0
- package/src/types/index.d.ts +7 -0
- package/src/types/next.d.ts +46 -0
- package/tsconfig.json +37 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import Link from 'next/link'
|
|
3
|
+
import { useRouter } from 'next/navigation'
|
|
4
|
+
import { Button } from 'primereact/button'
|
|
5
|
+
import { useState } from 'react'
|
|
6
|
+
import { CallIcon } from './CallIcon'
|
|
7
|
+
import { PrimaryCustomDropdown } from './CustomDropdown'
|
|
8
|
+
import { EmailIcon } from './EmailIcon'
|
|
9
|
+
import { HeaderCart } from './HeaderCart'
|
|
10
|
+
import { ProductNavData } from './productNavData'
|
|
11
|
+
export const CustomHeader = () => {
|
|
12
|
+
const [dropdownVisible, setDropdownVisible] = useState(false);
|
|
13
|
+
const toggleDropdown = () => setDropdownVisible(!dropdownVisible);
|
|
14
|
+
const router = useRouter();
|
|
15
|
+
return (
|
|
16
|
+
<div className='px-6 flex align-items-center fixed w-full z-5 bg-white custom-header' style={{ height: 70 }}>
|
|
17
|
+
<div className='flex align-items-center px-2'>
|
|
18
|
+
<Link className="custom-header-logo" href={process.env.BASE_FRONTEND_APPLICATION as string}>
|
|
19
|
+
<img
|
|
20
|
+
alt='logo'
|
|
21
|
+
src={'/images/radix-logo.png'}
|
|
22
|
+
className='relative'
|
|
23
|
+
/>
|
|
24
|
+
</Link>
|
|
25
|
+
<ul className='flex align-items-center header-ul'>
|
|
26
|
+
<li className={`header-li-btn ${dropdownVisible ? 'active-nav-item' : 'deactive-nav-item'}`} onClick={toggleDropdown}>
|
|
27
|
+
<Button plain label="PRODUCTS" className='text-sm text-900' text iconPos='right' icon="pi pi-angle-down" />
|
|
28
|
+
</li>
|
|
29
|
+
<li className='header-li-btn'>
|
|
30
|
+
<Button label="AUTOMATION" className='text-sm text-900' text iconPos='right' icon="pi pi-angle-down" link onClick={() => window.open(process.env.BASE_FRONTEND_APPLICATION, '_self')}/>
|
|
31
|
+
</li>
|
|
32
|
+
<li className='header-li-btn'>
|
|
33
|
+
<Button link label="COMPANY" className='text-sm text-900' text onClick={() => window.open(process.env.BASE_FRONTEND_APPLICATION, '_self')} />
|
|
34
|
+
</li>
|
|
35
|
+
<li className='header-li-px'>
|
|
36
|
+
<Button label="SEARCH" className='h-3rem text-sm text-900 border-200 border-3 w-20rem text-left flex-1' severity="secondary" text rounded iconPos='right' icon="pi pi-search" />
|
|
37
|
+
</li>
|
|
38
|
+
<li className='header-li-px header-li-btn'>
|
|
39
|
+
<Button link label="LOGIN" className='text-sm text-900' text onClick={() => window.open(process.env.BASE_FRONTEND_APPLICATION, '_self')}/>
|
|
40
|
+
</li>
|
|
41
|
+
<li>
|
|
42
|
+
<HeaderCart />
|
|
43
|
+
</li>
|
|
44
|
+
<li className='header-li-px'>
|
|
45
|
+
<Button label="+91 22 42537777" className='h-3rem text-sm text-900 border-200 border-3 py-0 pl-2 gap-2' severity="secondary" text rounded icon={<CallIcon />} link onClick={() => window.open(process.env.BASE_FRONTEND_APPLICATION, '_self')}/>
|
|
46
|
+
</li>
|
|
47
|
+
<li className='header-li-px'>
|
|
48
|
+
<Button label="esales@radix.co.in" className='h-3rem text-sm text-900 border-200 border-3 py-0 pl-2 gap-2' severity="secondary" text rounded icon={<EmailIcon />} link onClick={() => window.open(process.env.BASE_FRONTEND_APPLICATION, '_self')}/>
|
|
49
|
+
</li>
|
|
50
|
+
</ul>
|
|
51
|
+
</div>
|
|
52
|
+
{dropdownVisible && (
|
|
53
|
+
<div
|
|
54
|
+
className='custom-dropdown absolute left-0 bg-white main-megamenu-animation main-megamenu-slide-down-in'
|
|
55
|
+
// ref={dropdownRef}
|
|
56
|
+
// onMouseLeave={hideDropdown}
|
|
57
|
+
>
|
|
58
|
+
<PrimaryCustomDropdown data={ProductNavData} />
|
|
59
|
+
{/* Dropdown content goes here */}
|
|
60
|
+
</div>
|
|
61
|
+
)}
|
|
62
|
+
</div>
|
|
63
|
+
)
|
|
64
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
|
|
2
|
+
export const EmailIcon = () => {
|
|
3
|
+
return (
|
|
4
|
+
<div>
|
|
5
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 28 28" fill="none">
|
|
6
|
+
<rect x="0.68" y="0.68" width="26.64" height="26.64" rx="13.32" stroke="#333333" strokeWidth="1.36" />
|
|
7
|
+
<path d="M9.57856 9.00008H17.9893C18.4415 9.0083 18.8156 9.16246 19.1116 9.46255C19.4076 9.76264 19.5597 10.1347 19.5679 10.5786V16.8929C19.5597 17.3368 19.4076 17.7089 19.1116 18.009C18.8156 18.3091 18.4415 18.4632 17.9893 18.4714H9.57856C9.12637 18.4632 8.75228 18.3091 8.4563 18.009C8.16032 17.7089 8.00822 17.3368 8 16.8929V10.5786C8.00822 10.1347 8.16032 9.76264 8.4563 9.46255C8.75228 9.16246 9.12637 9.0083 9.57856 9.00008ZM18.458 10.3443C18.4168 10.2539 18.3552 10.184 18.273 10.1347C18.1907 10.0853 18.0962 10.0566 17.9893 10.0483H9.57856C9.47168 10.0566 9.37713 10.0853 9.29491 10.1347C9.2127 10.184 9.15103 10.2539 9.10992 10.3443L13.7839 13.6248L18.458 10.3443ZM18.5196 11.5899L14.0799 14.6977C13.9895 14.7552 13.8908 14.784 13.7839 14.784C13.6771 14.784 13.5784 14.7552 13.488 14.6977L9.04826 11.5899V16.8929C9.04826 17.0409 9.09965 17.1642 9.20242 17.2629C9.30519 17.3615 9.43057 17.415 9.57856 17.4232H17.9893C18.1373 17.415 18.2627 17.3615 18.3655 17.2629C18.4682 17.1642 18.5196 17.0409 18.5196 16.8929V11.5899Z" fill="#333333" />
|
|
8
|
+
</svg>
|
|
9
|
+
</div>
|
|
10
|
+
)
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Button } from "primereact/button"
|
|
2
|
+
|
|
3
|
+
export const HeaderCart = () => {
|
|
4
|
+
return (
|
|
5
|
+
<Button text className='flex' link onClick={() => window.open('https://uat-fe.radix.logicloop.io/', '_self')}>
|
|
6
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="25" height="23" viewBox="0 0 25 23" fill="none">
|
|
7
|
+
<path d="M22.9206 13.5215C22.8049 14.0905 22.4721 14.375 21.9222 14.375H9.20299L9.46345 15.8125H21.1408C21.4592 15.8125 21.7196 15.9473 21.9222 16.2168C22.1248 16.4863 22.1971 16.7858 22.1393 17.1152L21.8788 18.2383C22.8049 18.6875 23.2679 19.4362 23.2679 20.4844C23.2679 21.1732 23.0219 21.7572 22.53 22.2363C22.0669 22.7454 21.5026 23 20.837 23C20.1713 23 19.5925 22.7454 19.1005 22.2363C18.6375 21.7572 18.406 21.1732 18.406 20.4844C18.406 19.7656 18.652 19.1667 19.1439 18.6875H10.0278C10.5198 19.1667 10.7658 19.7656 10.7658 20.4844C10.7658 21.1732 10.5198 21.7572 10.0278 22.2363C9.56474 22.7454 9.0004 23 8.33478 23C7.66916 23 7.09035 22.7454 6.59837 22.2363C6.13532 21.7572 5.9038 21.1732 5.9038 20.4844C5.9038 19.526 6.30897 18.7923 7.11929 18.2832L4.08057 2.875H1.04185C0.752445 2.875 0.506454 2.77018 0.303872 2.56055C0.101291 2.35091 0 2.09635 0 1.79688V1.07812C0 0.778646 0.101291 0.524089 0.303872 0.314453C0.506454 0.104818 0.752445 0 1.04185 0H5.51311C5.74463 0 5.94721 0.0898438 6.12085 0.269531C6.32344 0.419271 6.45367 0.613932 6.51155 0.853516L6.90224 2.875H23.9625C24.3098 2.875 24.5847 3.00977 24.7873 3.2793C24.9899 3.54883 25.0478 3.84831 24.9609 4.17773L22.9206 13.5215Z" fill="#12415D" />
|
|
8
|
+
</svg>
|
|
9
|
+
<div className='border-circle bg-cyan-600 h-1rem w-1rem flex align-items-center justify-content-center'>
|
|
10
|
+
<span className="text-white text-sm">0</span>
|
|
11
|
+
</div>
|
|
12
|
+
</Button>
|
|
13
|
+
)
|
|
14
|
+
}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import { PrimaryDataProps } from "./CustomDropdown";
|
|
2
|
+
|
|
3
|
+
export const ProductNavData: PrimaryDataProps[] = [
|
|
4
|
+
{
|
|
5
|
+
id: 1,
|
|
6
|
+
title: "Temperature",
|
|
7
|
+
icon: '/images/Navigation/Temperature.svg',
|
|
8
|
+
subProducts: [
|
|
9
|
+
{
|
|
10
|
+
id: 1,
|
|
11
|
+
title: "Level 11 PID Temperature Controllers",
|
|
12
|
+
subProducts: [
|
|
13
|
+
{
|
|
14
|
+
id: 1,
|
|
15
|
+
title: "Level 112 PID Temperature Controllers - Mid Range",
|
|
16
|
+
slug: 'PID Temperature Controllers - Mid Range'
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
id: 2,
|
|
20
|
+
title: "Level 113 PID Temperature Controllers - Value Range",
|
|
21
|
+
slug: 'PID Temperature Controllers - Value Range'
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
id: 2,
|
|
27
|
+
title: "Level 22 Temperature Transmitters",
|
|
28
|
+
subProducts: [
|
|
29
|
+
{
|
|
30
|
+
id: 1,
|
|
31
|
+
title: "Level 212 PID Temperature Controllers - Mid Range",
|
|
32
|
+
slug: 'PID Temperature Controllers - Mid Range'
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
id: 2,
|
|
36
|
+
title: "Level 213 PID Temperature Controllers - Value Range",
|
|
37
|
+
slug: 'PID Temperature Controllers - Value Range'
|
|
38
|
+
},
|
|
39
|
+
],
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
id: 2,
|
|
45
|
+
title: "Level",
|
|
46
|
+
icon: '/images/Navigation/Level.svg',
|
|
47
|
+
subProducts: [
|
|
48
|
+
{
|
|
49
|
+
id: 1,
|
|
50
|
+
title: "Level 33 PID Temperature Controllers",
|
|
51
|
+
subProducts: [
|
|
52
|
+
{
|
|
53
|
+
id: 1,
|
|
54
|
+
title: "Level 312 PID Temperature Controllers - Mid Range",
|
|
55
|
+
slug: 'PID Temperature Controllers - Mid Range'
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
id: 2,
|
|
59
|
+
title: "Level 313 PID Temperature Controllers - Value Range",
|
|
60
|
+
slug: 'PID Temperature Controllers - Value Range'
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
id: 2,
|
|
66
|
+
title: "Level 44 Temperature Transmitters",
|
|
67
|
+
subProducts: [
|
|
68
|
+
{
|
|
69
|
+
id: 1,
|
|
70
|
+
title: "Level 412 PID Temperature Controllers - Mid Range",
|
|
71
|
+
slug: 'PID Temperature Controllers - Mid Range'
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
id: 2,
|
|
75
|
+
title: "Level 413 PID Temperature Controllers - Value Range",
|
|
76
|
+
slug: 'PID Temperature Controllers - Value Range'
|
|
77
|
+
},
|
|
78
|
+
],
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
id: 3,
|
|
84
|
+
title: "Pressure",
|
|
85
|
+
icon: '/images/Navigation/Presure.svg',
|
|
86
|
+
subProducts: [],
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
id: 4,
|
|
90
|
+
title: "Flow",
|
|
91
|
+
icon: '/images/Navigation/Temperature.svg',
|
|
92
|
+
subProducts: [],
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
id: 5,
|
|
96
|
+
title: "BAS & HVAC",
|
|
97
|
+
icon: '/images/Navigation/Level.svg',
|
|
98
|
+
subProducts: [],
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
id: 6,
|
|
102
|
+
title: "RTDs",
|
|
103
|
+
icon: '/images/Navigation/Presure.svg',
|
|
104
|
+
subProducts: [],
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
id: 7,
|
|
108
|
+
title: "Thermocouples",
|
|
109
|
+
icon: '/images/Navigation/Temperature.svg',
|
|
110
|
+
subProducts: [],
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
id: 8,
|
|
114
|
+
title: "PID Controllers",
|
|
115
|
+
icon: '/images/Navigation/Level.svg',
|
|
116
|
+
subProducts: [],
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
id: 9,
|
|
120
|
+
title: "Pressure & Temperature Gauges",
|
|
121
|
+
icon: '/images/Navigation/Presure.svg',
|
|
122
|
+
subProducts: [],
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
id: 10,
|
|
126
|
+
title: "Digital Panel Meters",
|
|
127
|
+
icon: '/images/Navigation/Temperature.svg',
|
|
128
|
+
subProducts: [],
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
id: 11,
|
|
132
|
+
title: "Temperature Transmitters",
|
|
133
|
+
icon: '/images/Navigation/Level.svg',
|
|
134
|
+
subProducts: [],
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
id: 12,
|
|
138
|
+
title: "Signal Isolators ",
|
|
139
|
+
icon: '/images/Navigation/Presure.svg',
|
|
140
|
+
subProducts: [],
|
|
141
|
+
},
|
|
142
|
+
|
|
143
|
+
{
|
|
144
|
+
id: 13,
|
|
145
|
+
title: "GPS Clocks",
|
|
146
|
+
icon: '/images/Navigation/Temperature.svg',
|
|
147
|
+
subProducts: [],
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
id: 14,
|
|
151
|
+
title: "SCR Power Regulators",
|
|
152
|
+
icon: '/images/Navigation/Level.svg',
|
|
153
|
+
subProducts: [],
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
id: 15,
|
|
157
|
+
title: "Data Logging Products",
|
|
158
|
+
icon: '/images/Navigation/Presure.svg',
|
|
159
|
+
subProducts: [],
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
id: 16,
|
|
163
|
+
title: "Humidity & Temperature",
|
|
164
|
+
icon: '/images/Navigation/Temperature.svg',
|
|
165
|
+
subProducts: [],
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
id: 17,
|
|
169
|
+
title: "Flow Meters",
|
|
170
|
+
icon: '/images/Navigation/Level.svg',
|
|
171
|
+
subProducts: [],
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
id: 18,
|
|
175
|
+
title: "Pressure",
|
|
176
|
+
icon: '/images/Navigation/Presure.svg',
|
|
177
|
+
subProducts: [],
|
|
178
|
+
},
|
|
179
|
+
]
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import { Button } from 'primereact/button';
|
|
3
|
+
import { useState } from 'react';
|
|
4
|
+
import { OrderPaymentDetails } from './OrderPaymentDetails';
|
|
5
|
+
import { OrderTableDetails } from './OrderTableDetails';
|
|
6
|
+
|
|
7
|
+
export const DetailsViews = () => {
|
|
8
|
+
const [details, setDetails] = useState("Product Details");
|
|
9
|
+
const detailsData = [
|
|
10
|
+
{
|
|
11
|
+
title: 'Product Details',
|
|
12
|
+
component: <OrderTableDetails />
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
title: 'Payment Details',
|
|
16
|
+
component: <OrderPaymentDetails />
|
|
17
|
+
},
|
|
18
|
+
]
|
|
19
|
+
return (
|
|
20
|
+
<div className="">
|
|
21
|
+
<div className='flex gap-3'>
|
|
22
|
+
{detailsData.map((detail, i) => {
|
|
23
|
+
return (
|
|
24
|
+
<Button
|
|
25
|
+
key={i}
|
|
26
|
+
label={detail.title}
|
|
27
|
+
text={detail.title !== details ? true : false}
|
|
28
|
+
onClick={() => setDetails(detail.title)}
|
|
29
|
+
className={`outline-none ${details === detail.title ? 'surface-200 border-200 text-color outline-none' : 'text-color font-normal'}`}
|
|
30
|
+
size="small"
|
|
31
|
+
/>
|
|
32
|
+
)
|
|
33
|
+
})}
|
|
34
|
+
</div>
|
|
35
|
+
<div className='mt-3'>
|
|
36
|
+
{detailsData.map((detail, i) => (
|
|
37
|
+
details === detail.title && (
|
|
38
|
+
<div key={i}>
|
|
39
|
+
{detail.component}
|
|
40
|
+
</div>
|
|
41
|
+
)
|
|
42
|
+
))}
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
)
|
|
46
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
|
|
2
|
+
export const OrderAddressDetails = () => {
|
|
3
|
+
const AddressCard = () => {
|
|
4
|
+
return (
|
|
5
|
+
<div>
|
|
6
|
+
<p className='text-sm font-semibold'>
|
|
7
|
+
Rohit
|
|
8
|
+
</p>
|
|
9
|
+
<div className='text-sm font-semibold'>
|
|
10
|
+
Address:
|
|
11
|
+
</div>
|
|
12
|
+
<div className="text-sm max-w-15rem">
|
|
13
|
+
Flat No. 202, Rose Apartments,
|
|
14
|
+
Sector 12, Kandivali (East), Mumbai,
|
|
15
|
+
Maharashtra - 400001, India
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
)
|
|
19
|
+
}
|
|
20
|
+
const orderData = [
|
|
21
|
+
{
|
|
22
|
+
key: 'Order Date',
|
|
23
|
+
value: 'Fri, 3 July 2024'
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
key: 'Order ID',
|
|
27
|
+
value: 'IN2024/14'
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
key: 'Expected Delivery',
|
|
31
|
+
value: 'Fri, 23 Aug 2024'
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
key: 'Tracking id',
|
|
35
|
+
value: 'F25656151651'
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
key: 'Total Amount',
|
|
39
|
+
value: '₹ 1199.00'
|
|
40
|
+
},
|
|
41
|
+
]
|
|
42
|
+
return (
|
|
43
|
+
<div className="grid">
|
|
44
|
+
<div className="col-6">
|
|
45
|
+
<div className="text-sm text-color-secondary">Customer</div>
|
|
46
|
+
<AddressCard />
|
|
47
|
+
<p className="text-sm text-color-secondary">Delivery Address</p>
|
|
48
|
+
<AddressCard />
|
|
49
|
+
<p className='text-sm mb-0'>
|
|
50
|
+
<span className='font-semibold'>Mobile number: </span>+91 95635 02322
|
|
51
|
+
</p>
|
|
52
|
+
</div>
|
|
53
|
+
<div className="col-6">
|
|
54
|
+
<div className='w-5'>
|
|
55
|
+
{orderData.map((order, index) => (
|
|
56
|
+
<div className="grid">
|
|
57
|
+
<div className='col-6 text-sm text-color-secondary'>
|
|
58
|
+
{order.key}:
|
|
59
|
+
</div>
|
|
60
|
+
<div className='col-6 text-sm'>
|
|
61
|
+
{order.value}
|
|
62
|
+
</div>
|
|
63
|
+
</div>
|
|
64
|
+
))}
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
)
|
|
69
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
export const OrderPaymentDetails = () => {
|
|
3
|
+
return (
|
|
4
|
+
<div className='p-3 border-round-lg bg-cyan-50'>
|
|
5
|
+
<div className='grid'>
|
|
6
|
+
<div className='md:col-6 sm:col-12'>
|
|
7
|
+
<div className='text-sm text-500 md:w-6 w-full'>Payment Date : <span className='text-color'> Fri, 23 Aug 2024</span></div>
|
|
8
|
+
<div className='text-sm text-500 md:w-6 w-full mt-2'>Transaction ID : <span className='text-color'> IN2024/14</span></div>
|
|
9
|
+
</div>
|
|
10
|
+
<div className='md:col-6 sm:col-12'>
|
|
11
|
+
<div className='text-sm text-500 md:w-6 w-full'>Payment Mode : <span className='text-color'> Fri, 23 Aug 2024</span></div>
|
|
12
|
+
<div className='text-sm text-500 md:w-6 w-full mt-2'>Amount : <span className='text-color'>₹ 1199.00</span></div>
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
)
|
|
17
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Column } from 'primereact/column'
|
|
2
|
+
import { DataTable } from 'primereact/datatable'
|
|
3
|
+
|
|
4
|
+
export const OrderTableDetails = () => {
|
|
5
|
+
const orderedProduct = [{
|
|
6
|
+
id: '1000',
|
|
7
|
+
name: 'EMS for RH, T and DP in Clean Room Area',
|
|
8
|
+
image: 'bamboo-watch.jpg',
|
|
9
|
+
price: 15000,
|
|
10
|
+
taxes: 18,
|
|
11
|
+
quantity: 24,
|
|
12
|
+
discountAmount: 200,
|
|
13
|
+
totalAmount: 17500
|
|
14
|
+
}]
|
|
15
|
+
const productBodyTemplate = (product: any) => {
|
|
16
|
+
return (
|
|
17
|
+
<div className='flex gap-3'>
|
|
18
|
+
<img src={`https://primefaces.org/cdn/primereact/images/product/${product.image}`} alt={product.image} className="w-3rem shadow-2 border-round" />
|
|
19
|
+
<div className='text-sm font-bold'>{product.name}</div>
|
|
20
|
+
</div>
|
|
21
|
+
)
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
const headerClass = "font-normal";
|
|
25
|
+
return (
|
|
26
|
+
<DataTable value={orderedProduct} tableStyle={{ minWidth: '60rem' }}>
|
|
27
|
+
<Column field='products' header="Products" body={productBodyTemplate} headerClassName={headerClass} className='max-w-14rem'></Column>
|
|
28
|
+
<Column field='quantity' header="Quantity" headerClassName={headerClass} className='font-semibold'></Column>
|
|
29
|
+
<Column field='price' header="Price" headerClassName={headerClass} className='font-semibold'></Column>
|
|
30
|
+
<Column field='taxes' header="Taxes(%)" headerClassName={headerClass} className='font-semibold'></Column>
|
|
31
|
+
<Column field='discountAmount' header="Discount Amount" headerClassName={headerClass} className='font-semibold'></Column>
|
|
32
|
+
<Column field='totalAmount' header="Total Amount" headerClassName={headerClass} className='font-semibold'></Column>
|
|
33
|
+
</DataTable>
|
|
34
|
+
)
|
|
35
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
|
|
2
|
+
export const OrderedProductDetail = () => {
|
|
3
|
+
return (
|
|
4
|
+
<div className="flex flex-row gap-3">
|
|
5
|
+
<img className="w-8rem shadow-2 border-round" src={`https://primefaces.org/cdn/primereact/images/product/bamboo-watch.jpg`} alt='order' />
|
|
6
|
+
<div className='flex flex-column justify-content-between'>
|
|
7
|
+
<div>
|
|
8
|
+
<div className='text-xl font-semibold'>
|
|
9
|
+
EMS for RH, T and DP in Clean Room Area
|
|
10
|
+
</div>
|
|
11
|
+
<div className='text-xs max-w-25rem text-color-secondary'>
|
|
12
|
+
Lorem ipsum dolor sit amet consectetur. Aliquam et et nibh aliquam hendrerit. Diam amet etiam in consequat amet vitae.
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
<div className='text-sm font-semibold'>
|
|
16
|
+
Price: ₹ 17,500 <span className='font-normal text-xs text-color-secondary'>(incl. of all taxes)</span>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
)
|
|
21
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
className?: string,
|
|
3
|
+
value: string,
|
|
4
|
+
severity: string,
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
const getSeverityColor = (severity: string): { textColor: string; backgroundColor: string } => {
|
|
8
|
+
let textColor;
|
|
9
|
+
let backgroundColor;
|
|
10
|
+
|
|
11
|
+
switch (severity) {
|
|
12
|
+
case 'Delivered':
|
|
13
|
+
textColor = '#148C00';
|
|
14
|
+
backgroundColor = '#E8FFEA';
|
|
15
|
+
break;
|
|
16
|
+
case 'Returned':
|
|
17
|
+
textColor = '#D89100';
|
|
18
|
+
backgroundColor = '#FFF7E5';
|
|
19
|
+
break;
|
|
20
|
+
case 'Cancelled':
|
|
21
|
+
textColor = '#B50000';
|
|
22
|
+
backgroundColor = '#FFEAEA';
|
|
23
|
+
break;
|
|
24
|
+
case 'On The Way':
|
|
25
|
+
textColor = '#12415D';
|
|
26
|
+
backgroundColor = '#E3F5FF';
|
|
27
|
+
break;
|
|
28
|
+
default:
|
|
29
|
+
textColor = '#808080';
|
|
30
|
+
backgroundColor = '#FFF7E5';
|
|
31
|
+
}
|
|
32
|
+
return { textColor, backgroundColor };
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export const CustomTag = (props: Props) => {
|
|
36
|
+
const { className, value, severity } = props;
|
|
37
|
+
const severityColor = getSeverityColor(severity);
|
|
38
|
+
|
|
39
|
+
return (
|
|
40
|
+
<div className='flex'>
|
|
41
|
+
<div
|
|
42
|
+
className={`border-round text-xs font-semibold ${className}`}
|
|
43
|
+
style={{ backgroundColor: severityColor.backgroundColor, color: severityColor.textColor, padding: '0.5rem 0.75rem' }}
|
|
44
|
+
>
|
|
45
|
+
{value}
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
)
|
|
49
|
+
}
|