@solidstarters/solid-core-ui 1.1.70 → 1.1.71
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.tsx +264 -0
- package/dist/components/CustomFooter/FooterForm.tsx +19 -0
- package/dist/components/CustomHeader/CallIcon.tsx +20 -0
- package/dist/components/CustomHeader/CustomDropdown.tsx +175 -0
- package/dist/components/CustomHeader/CustomHeader.tsx +64 -0
- package/dist/components/CustomHeader/EmailIcon.tsx +12 -0
- package/dist/components/CustomHeader/HeaderCart.tsx +15 -0
- package/dist/components/CustomHeader/productNavData.tsx +180 -0
- package/dist/components/FormView/DetailsViews.tsx +46 -0
- package/dist/components/FormView/OrderAddressDetails.tsx +70 -0
- package/dist/components/FormView/OrderPaymentDetails.tsx +18 -0
- package/dist/components/FormView/OrderTableDetails.tsx +36 -0
- package/dist/components/FormView/OrderedProductDetail.tsx +22 -0
- package/dist/components/Svg/ExcelSvg.tsx +15 -0
- package/dist/components/Svg/FileSvg.tsx +19 -0
- package/dist/components/Svg/PDFSvg.tsx +15 -0
- package/dist/components/Svg/RightArrowSvg.d.ts +2 -0
- package/dist/components/Svg/RightArrowSvg.d.ts.map +1 -0
- package/dist/components/Svg/RightArrowSvg.js +5 -0
- package/dist/components/Svg/RightArrowSvg.js.map +1 -0
- package/dist/components/Svg/RightArrowSvg.tsx +9 -0
- package/dist/components/Tag/CustomTag.tsx +50 -0
- package/dist/components/auth/AuthLayout.tsx +140 -0
- package/dist/components/auth/ForgotPasswordThankYou.tsx +48 -0
- package/dist/components/auth/GoogleAuthChecking.tsx +60 -0
- package/dist/components/auth/Login.tsx +155 -0
- package/dist/components/auth/Register.tsx +239 -0
- package/dist/components/auth/SolidChangeForcePassword.tsx +145 -0
- package/dist/components/auth/SolidForgotPassword.tsx +125 -0
- package/dist/components/auth/SolidInitialLoginOtp.tsx +152 -0
- package/dist/components/auth/SolidInitiateRegisterOtp.tsx +141 -0
- package/dist/components/auth/SolidLogin.tsx +275 -0
- package/dist/components/auth/SolidOTPVerify.tsx +132 -0
- package/dist/components/auth/SolidRegister.tsx +348 -0
- package/dist/components/auth/SolidResetPassword.tsx +162 -0
- package/dist/components/common/AuthBanner.tsx +41 -0
- package/dist/components/common/AutoCompleteField.tsx +76 -0
- package/dist/components/common/BackButton.tsx +27 -0
- package/dist/components/common/CancelButton.tsx +48 -0
- package/dist/components/common/CodeEditor.tsx +26 -0
- package/dist/components/common/CreateButton.tsx +17 -0
- package/dist/components/common/DropzonePlaceholder.tsx +31 -0
- package/dist/components/common/DropzoneUpload.tsx +11 -0
- package/dist/components/common/FileReaderExt.tsx +20 -0
- package/dist/components/common/GeneralSettings.tsx +406 -0
- package/dist/components/common/HeaderDynamicTitles.tsx +13 -0
- package/dist/components/common/MarkdownViewer.tsx +16 -0
- package/dist/components/common/MultipleSelectAutoCompleteField.tsx +62 -0
- package/dist/components/common/NotFound.tsx +22 -0
- package/dist/components/common/SingleSelectAutoCompleteField.tsx +67 -0
- package/dist/components/common/SocialMediaLogin.tsx +53 -0
- package/dist/components/common/SolidAdmin.tsx +7 -0
- package/dist/components/common/SolidBreadcrumb.tsx +103 -0
- package/dist/components/common/SolidFormHeader.tsx +22 -0
- package/dist/components/common/SolidFormStepper.tsx +213 -0
- package/dist/components/common/SolidModuleHome.tsx +61 -0
- package/dist/components/common/SolidThemeLink.tsx +5 -0
- package/dist/components/common/SolidThemeProvider.tsx +44 -0
- package/dist/components/common/error.tsx +30 -0
- package/dist/components/core/chatter/SolidChatter.d.ts +7 -0
- package/dist/components/core/chatter/SolidChatter.d.ts.map +1 -0
- package/dist/components/core/chatter/SolidChatter.js +269 -0
- package/dist/components/core/chatter/SolidChatter.js.map +1 -0
- package/dist/components/core/chatter/SolidChatter.tsx +252 -0
- package/dist/components/core/chatter/SolidChatterDateDivider.d.ts +6 -0
- package/dist/components/core/chatter/SolidChatterDateDivider.d.ts.map +1 -0
- package/dist/components/core/chatter/SolidChatterDateDivider.js +7 -0
- package/dist/components/core/chatter/SolidChatterDateDivider.js.map +1 -0
- package/dist/components/core/chatter/SolidChatterDateDivider.tsx +16 -0
- package/dist/components/core/chatter/SolidChatterHeader.d.ts +17 -0
- package/dist/components/core/chatter/SolidChatterHeader.d.ts.map +1 -0
- package/dist/components/core/chatter/SolidChatterHeader.js +67 -0
- package/dist/components/core/chatter/SolidChatterHeader.js.map +1 -0
- package/dist/components/core/chatter/SolidChatterHeader.tsx +178 -0
- package/dist/components/core/chatter/SolidChatterMessageBox.d.ts +19 -0
- package/dist/components/core/chatter/SolidChatterMessageBox.d.ts.map +1 -0
- package/dist/components/core/chatter/SolidChatterMessageBox.js +46 -0
- package/dist/components/core/chatter/SolidChatterMessageBox.js.map +1 -0
- package/dist/components/core/chatter/SolidChatterMessageBox.tsx +165 -0
- package/dist/components/core/chatter/SolidMessageComposer.d.ts +7 -0
- package/dist/components/core/chatter/SolidMessageComposer.d.ts.map +1 -0
- package/dist/components/core/chatter/SolidMessageComposer.js +119 -0
- package/dist/components/core/chatter/SolidMessageComposer.js.map +1 -0
- package/dist/components/core/chatter/SolidMessageComposer.tsx +145 -0
- package/dist/components/core/chatter/chatter.module.css +70 -0
- package/dist/components/core/common/FilterComponent.tsx +434 -0
- package/dist/components/core/common/LoadDynamicJsxComponent.tsx +70 -0
- package/dist/components/core/common/SolidCreateButton.tsx +20 -0
- package/dist/components/core/common/SolidGlobalSearchElement.tsx +843 -0
- package/dist/components/core/common/SolidLayoutViews.tsx +87 -0
- package/dist/components/core/common/SolidListViewOptions.tsx +31 -0
- package/dist/components/core/common/SolidSaveCustomFilterForm.tsx +74 -0
- package/dist/components/core/common/SolidSearchBox.tsx +17 -0
- package/dist/components/core/common/SolidViewLayoutManager.d.ts +1 -1
- package/dist/components/core/common/SolidViewLayoutManager.ts +85 -0
- package/dist/components/core/extension/solid-core/emailTemplate/emailFormTypeChangeHandler.ts +18 -0
- package/dist/components/core/extension/solid-core/emailTemplate/emailFormTypeLoad.ts +18 -0
- package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.tsx +59 -0
- package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.tsx +38 -0
- package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.d.ts +2 -2
- package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.d.ts.map +1 -1
- package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.js.map +1 -1
- package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.tsx +123 -0
- package/dist/components/core/field/FieldListViewData.tsx +312 -0
- package/dist/components/core/filter/SolidFilterFields.tsx +128 -0
- package/dist/components/core/filter/SolidManyToOneFilterElement.tsx +60 -0
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.tsx +50 -0
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.tsx +32 -0
- package/dist/components/core/filter/SolidVarInputsFilterElement.tsx +180 -0
- package/dist/components/core/filter/fields/SolidBigintField.tsx +9 -0
- package/dist/components/core/filter/fields/SolidBooleanField.tsx +50 -0
- package/dist/components/core/filter/fields/SolidComputedField.tsx +23 -0
- package/dist/components/core/filter/fields/SolidDateField.tsx +58 -0
- package/dist/components/core/filter/fields/SolidDatetimeField.tsx +51 -0
- package/dist/components/core/filter/fields/SolidDecimalField.tsx +9 -0
- package/dist/components/core/filter/fields/SolidExternalIdField.tsx +46 -0
- package/dist/components/core/filter/fields/SolidFloatField.tsx +9 -0
- package/dist/components/core/filter/fields/SolidIdField.tsx +46 -0
- package/dist/components/core/filter/fields/SolidIntField.tsx +56 -0
- package/dist/components/core/filter/fields/SolidLongTextField.tsx +9 -0
- package/dist/components/core/filter/fields/SolidMediaMultipleField.tsx +54 -0
- package/dist/components/core/filter/fields/SolidMediaSingleField.tsx +56 -0
- package/dist/components/core/filter/fields/SolidRelationField.tsx +13 -0
- package/dist/components/core/filter/fields/SolidRichTextField.tsx +9 -0
- package/dist/components/core/filter/fields/SolidSelectionDynamicField.tsx +46 -0
- package/dist/components/core/filter/fields/SolidSelectionStaticField.tsx +48 -0
- package/dist/components/core/filter/fields/SolidShortTextField.tsx +54 -0
- package/dist/components/core/filter/fields/SolidTimeField.tsx +45 -0
- package/dist/components/core/filter/fields/SolidUuidField.tsx +45 -0
- package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.tsx +80 -0
- package/dist/components/core/form/SolidFormLayouts.tsx +104 -0
- package/dist/components/core/form/SolidFormUserViewLayout.tsx +85 -0
- package/dist/components/core/form/SolidFormView.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormView.js +53 -46
- package/dist/components/core/form/SolidFormView.js.map +1 -1
- package/dist/components/core/form/SolidFormView.tsx +1352 -0
- package/dist/components/core/form/fields/ISolidField.tsx +69 -0
- package/dist/components/core/form/fields/SolidBooleanField.d.ts +4 -1
- package/dist/components/core/form/fields/SolidBooleanField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidBooleanField.js +80 -29
- package/dist/components/core/form/fields/SolidBooleanField.js.map +1 -1
- package/dist/components/core/form/fields/SolidBooleanField.tsx +269 -0
- package/dist/components/core/form/fields/SolidDateField.d.ts +3 -0
- package/dist/components/core/form/fields/SolidDateField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidDateField.js +45 -25
- package/dist/components/core/form/fields/SolidDateField.js.map +1 -1
- package/dist/components/core/form/fields/SolidDateField.tsx +153 -0
- package/dist/components/core/form/fields/SolidDateTimeField.d.ts +3 -0
- package/dist/components/core/form/fields/SolidDateTimeField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidDateTimeField.js +44 -25
- package/dist/components/core/form/fields/SolidDateTimeField.js.map +1 -1
- package/dist/components/core/form/fields/SolidDateTimeField.tsx +154 -0
- package/dist/components/core/form/fields/SolidDecimalField.d.ts +3 -0
- package/dist/components/core/form/fields/SolidDecimalField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidDecimalField.js +41 -21
- package/dist/components/core/form/fields/SolidDecimalField.js.map +1 -1
- package/dist/components/core/form/fields/SolidDecimalField.tsx +155 -0
- package/dist/components/core/form/fields/SolidEmailField.d.ts +3 -0
- package/dist/components/core/form/fields/SolidEmailField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidEmailField.js +41 -21
- package/dist/components/core/form/fields/SolidEmailField.js.map +1 -1
- package/dist/components/core/form/fields/SolidEmailField.tsx +168 -0
- package/dist/components/core/form/fields/SolidIntegerField.d.ts +3 -0
- package/dist/components/core/form/fields/SolidIntegerField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidIntegerField.js +41 -21
- package/dist/components/core/form/fields/SolidIntegerField.js.map +1 -1
- package/dist/components/core/form/fields/SolidIntegerField.tsx +158 -0
- package/dist/components/core/form/fields/SolidJsonField.d.ts +4 -0
- package/dist/components/core/form/fields/SolidJsonField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidJsonField.js +51 -15
- package/dist/components/core/form/fields/SolidJsonField.js.map +1 -1
- package/dist/components/core/form/fields/SolidJsonField.tsx +173 -0
- package/dist/components/core/form/fields/SolidLongTextField.d.ts +3 -2
- package/dist/components/core/form/fields/SolidLongTextField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidLongTextField.js +33 -52
- package/dist/components/core/form/fields/SolidLongTextField.js.map +1 -1
- package/dist/components/core/form/fields/SolidLongTextField.tsx +161 -0
- package/dist/components/core/form/fields/SolidMediaMultipleField.d.ts +4 -0
- package/dist/components/core/form/fields/SolidMediaMultipleField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidMediaMultipleField.js +262 -153
- package/dist/components/core/form/fields/SolidMediaMultipleField.js.map +1 -1
- package/dist/components/core/form/fields/SolidMediaMultipleField.tsx +639 -0
- package/dist/components/core/form/fields/SolidMediaSingleField.d.ts +4 -0
- package/dist/components/core/form/fields/SolidMediaSingleField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidMediaSingleField.js +243 -149
- package/dist/components/core/form/fields/SolidMediaSingleField.js.map +1 -1
- package/dist/components/core/form/fields/SolidMediaSingleField.tsx +522 -0
- package/dist/components/core/form/fields/SolidPasswordField.d.ts +4 -0
- package/dist/components/core/form/fields/SolidPasswordField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidPasswordField.js +50 -20
- package/dist/components/core/form/fields/SolidPasswordField.js.map +1 -1
- package/dist/components/core/form/fields/SolidPasswordField.tsx +187 -0
- package/dist/components/core/form/fields/SolidRelationField.tsx +54 -0
- package/dist/components/core/form/fields/SolidRichTextField.d.ts +4 -0
- package/dist/components/core/form/fields/SolidRichTextField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidRichTextField.js +49 -20
- package/dist/components/core/form/fields/SolidRichTextField.js.map +1 -1
- package/dist/components/core/form/fields/SolidRichTextField.tsx +177 -0
- package/dist/components/core/form/fields/SolidSelectionDynamicField.d.ts +4 -0
- package/dist/components/core/form/fields/SolidSelectionDynamicField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionDynamicField.js +88 -60
- package/dist/components/core/form/fields/SolidSelectionDynamicField.js.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionDynamicField.tsx +204 -0
- package/dist/components/core/form/fields/SolidSelectionStaticField.d.ts +5 -1
- package/dist/components/core/form/fields/SolidSelectionStaticField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionStaticField.js +88 -27
- package/dist/components/core/form/fields/SolidSelectionStaticField.js.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionStaticField.tsx +272 -0
- package/dist/components/core/form/fields/SolidShortTextField.d.ts +4 -0
- package/dist/components/core/form/fields/SolidShortTextField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidShortTextField.js +57 -26
- package/dist/components/core/form/fields/SolidShortTextField.js.map +1 -1
- package/dist/components/core/form/fields/SolidShortTextField.tsx +208 -0
- package/dist/components/core/form/fields/SolidTimeField.d.ts +3 -0
- package/dist/components/core/form/fields/SolidTimeField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidTimeField.js +44 -22
- package/dist/components/core/form/fields/SolidTimeField.js.map +1 -1
- package/dist/components/core/form/fields/SolidTimeField.tsx +147 -0
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.d.ts +4 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js +77 -19
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +309 -0
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.d.ts +5 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js +136 -107
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.tsx +291 -0
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.d.ts +5 -1
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js +159 -107
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.tsx +311 -0
- package/dist/components/core/form/fields/relations/widgets/SolidRelationManyToManyAutocompleteWidget.d.ts +1 -1
- package/dist/components/core/form/fields/relations/widgets/SolidRelationManyToManyCheckboxWidget.d.ts +1 -1
- package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.tsx +33 -0
- package/dist/components/core/form/fields/relations/widgets/helpers/useRelationEntityHandler.ts +64 -0
- package/dist/components/core/form/fields/widgets/SolidBooleanCheckboxFieldWidget.d.ts +1 -1
- package/dist/components/core/form/fields/widgets/SolidBooleanSelectFieldWidget.d.ts +1 -1
- package/dist/components/core/form/fields/widgets/SolidFormFieldViewMediaMultipleWidget.d.ts +1 -1
- package/dist/components/core/form/fields/widgets/SolidFormFieldViewMediaSingleWidget.d.ts +1 -1
- package/dist/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.d.ts +3 -0
- package/dist/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.d.ts.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.js +29 -0
- package/dist/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.js.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.tsx +46 -0
- package/dist/components/core/form/fields/widgets/SolidSelectionStaticAutocompleteFieldWidget.d.ts +1 -1
- package/dist/components/core/form/fields/widgets/SolidSelectionStaticRadioFieldWidget.d.ts +1 -1
- package/dist/components/core/form/widgets/CustomHtml.d.ts +1 -1
- package/dist/components/core/form/widgets/CustomHtml.tsx +19 -0
- package/dist/components/core/kanban/KanbanBoard.tsx +131 -0
- package/dist/components/core/kanban/KanbanCard.tsx +255 -0
- package/dist/components/core/kanban/KanbanColumn.tsx +139 -0
- package/dist/components/core/kanban/KanbanUserViewLayout.tsx +85 -0
- package/dist/components/core/kanban/SolidKanbanView.tsx +803 -0
- package/dist/components/core/kanban/SolidKanbanViewConfigure.tsx +146 -0
- package/dist/components/core/kanban/SolidKanbanViewFields.tsx +164 -0
- package/dist/components/core/kanban/SolidManyToOneFilterElement.tsx +59 -0
- package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.tsx +50 -0
- package/dist/components/core/kanban/SolidSelectionStaticFilterElement.tsx +32 -0
- package/dist/components/core/kanban/SolidVarInputsFilterElement.tsx +184 -0
- package/dist/components/core/kanban/kanban-fields/SolidBigintKanbanField.tsx +9 -0
- package/dist/components/core/kanban/kanban-fields/SolidBooleanKanbanField.tsx +13 -0
- package/dist/components/core/kanban/kanban-fields/SolidComputedKanbanField.tsx +23 -0
- package/dist/components/core/kanban/kanban-fields/SolidDateKanbanField.tsx +14 -0
- package/dist/components/core/kanban/kanban-fields/SolidDatetimeKanbanField.tsx +13 -0
- package/dist/components/core/kanban/kanban-fields/SolidDecimalKanbanField.tsx +9 -0
- package/dist/components/core/kanban/kanban-fields/SolidExternalIdKanbanField.tsx +12 -0
- package/dist/components/core/kanban/kanban-fields/SolidFloatKanbanField.tsx +9 -0
- package/dist/components/core/kanban/kanban-fields/SolidIdKanbanField.tsx +14 -0
- package/dist/components/core/kanban/kanban-fields/SolidIntKanbanField.tsx +20 -0
- package/dist/components/core/kanban/kanban-fields/SolidLongTextKanbanField.tsx +9 -0
- package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.tsx +136 -0
- package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.tsx +158 -0
- package/dist/components/core/kanban/kanban-fields/SolidRelationKanbanField.tsx +13 -0
- package/dist/components/core/kanban/kanban-fields/SolidRichTextKanbanField.tsx +9 -0
- package/dist/components/core/kanban/kanban-fields/SolidSelectionDynamicKanbanField.tsx +13 -0
- package/dist/components/core/kanban/kanban-fields/SolidSelectionStaticKanbanField.tsx +14 -0
- package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.js +6 -6
- package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.js.map +1 -1
- package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.tsx +121 -0
- package/dist/components/core/kanban/kanban-fields/SolidTimeKanbanField.tsx +12 -0
- package/dist/components/core/kanban/kanban-fields/SolidUuidKanbanField.tsx +13 -0
- package/dist/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.tsx +16 -0
- package/dist/components/core/list/ListViewRowActionPopup.tsx +42 -0
- package/dist/components/core/list/SolidListColumnSelector.tsx +167 -0
- package/dist/components/core/list/SolidListView.js +1 -1
- package/dist/components/core/list/SolidListView.js.map +1 -1
- package/dist/components/core/list/SolidListView.tsx +961 -0
- package/dist/components/core/list/SolidListViewColumn.tsx +162 -0
- package/dist/components/core/list/SolidListViewConfigure.tsx +198 -0
- package/dist/components/core/list/SolidListingHeader.tsx +42 -0
- package/dist/components/core/list/SolidManyToOneFilterElement.tsx +59 -0
- package/dist/components/core/list/SolidSelectionDynamicFilterElement.tsx +50 -0
- package/dist/components/core/list/SolidSelectionStaticFilterElement.tsx +32 -0
- package/dist/components/core/list/SolidTableRowCell.tsx +12 -0
- package/dist/components/core/list/SolidVarInputsFilterElement.tsx +184 -0
- package/dist/components/core/list/columns/SolidBigintColumn.tsx +9 -0
- package/dist/components/core/list/columns/SolidBooleanColumn.d.ts +2 -0
- package/dist/components/core/list/columns/SolidBooleanColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidBooleanColumn.js +33 -2
- package/dist/components/core/list/columns/SolidBooleanColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidBooleanColumn.tsx +89 -0
- package/dist/components/core/list/columns/SolidComputedColumn.tsx +23 -0
- package/dist/components/core/list/columns/SolidDateColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidDateColumn.js +27 -3
- package/dist/components/core/list/columns/SolidDateColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidDateColumn.tsx +90 -0
- package/dist/components/core/list/columns/SolidDatetimeColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidDatetimeColumn.js +27 -3
- package/dist/components/core/list/columns/SolidDatetimeColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidDatetimeColumn.tsx +79 -0
- package/dist/components/core/list/columns/SolidDecimalColumn.tsx +9 -0
- package/dist/components/core/list/columns/SolidExternalIdColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidExternalIdColumn.js +27 -3
- package/dist/components/core/list/columns/SolidExternalIdColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidExternalIdColumn.tsx +80 -0
- package/dist/components/core/list/columns/SolidFloatColumn.tsx +9 -0
- package/dist/components/core/list/columns/SolidIdColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidIdColumn.js +27 -3
- package/dist/components/core/list/columns/SolidIdColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidIdColumn.tsx +79 -0
- package/dist/components/core/list/columns/SolidIntColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidIntColumn.js +27 -3
- package/dist/components/core/list/columns/SolidIntColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidIntColumn.tsx +87 -0
- package/dist/components/core/list/columns/SolidLongTextColumn.tsx +9 -0
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.d.ts +2 -0
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.js +48 -22
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.tsx +100 -0
- package/dist/components/core/list/columns/SolidMediaSingleColumn.d.ts +2 -0
- package/dist/components/core/list/columns/SolidMediaSingleColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidMediaSingleColumn.js +41 -13
- package/dist/components/core/list/columns/SolidMediaSingleColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidMediaSingleColumn.tsx +98 -0
- package/dist/components/core/list/columns/SolidRelationColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidRelationColumn.js +7 -0
- package/dist/components/core/list/columns/SolidRelationColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidRelationColumn.tsx +20 -0
- package/dist/components/core/list/columns/SolidRichTextColumn.tsx +9 -0
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.js +27 -3
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.tsx +80 -0
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.js +27 -3
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.tsx +81 -0
- package/dist/components/core/list/columns/SolidShortTextColumn.d.ts +2 -0
- package/dist/components/core/list/columns/SolidShortTextColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidShortTextColumn.js +16 -37
- package/dist/components/core/list/columns/SolidShortTextColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidShortTextColumn.tsx +103 -0
- package/dist/components/core/list/columns/SolidTimeColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidTimeColumn.js +27 -3
- package/dist/components/core/list/columns/SolidTimeColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidTimeColumn.tsx +78 -0
- package/dist/components/core/list/columns/SolidUuidColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidUuidColumn.js +27 -3
- package/dist/components/core/list/columns/SolidUuidColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidUuidColumn.tsx +79 -0
- package/dist/components/core/list/columns/relations/SolidRelationManyToManyColumn.d.ts +6 -0
- package/dist/components/core/list/columns/relations/SolidRelationManyToManyColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/relations/SolidRelationManyToManyColumn.js +70 -0
- package/dist/components/core/list/columns/relations/SolidRelationManyToManyColumn.js.map +1 -0
- package/dist/components/core/list/columns/relations/SolidRelationManyToManyColumn.tsx +110 -0
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.d.ts +2 -0
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js +42 -17
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js.map +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx +95 -0
- package/dist/components/core/list/columns/relations/SolidRelationOneToManyColumn.d.ts +6 -0
- package/dist/components/core/list/columns/relations/SolidRelationOneToManyColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/relations/SolidRelationOneToManyColumn.js +70 -0
- package/dist/components/core/list/columns/relations/SolidRelationOneToManyColumn.js.map +1 -0
- package/dist/components/core/list/columns/relations/SolidRelationOneToManyColumn.tsx +111 -0
- package/dist/components/core/list/widgets/SolidRelationAvatarWidget.d.ts +4 -0
- package/dist/components/core/list/widgets/SolidRelationAvatarWidget.d.ts.map +1 -0
- package/dist/components/core/list/widgets/SolidRelationAvatarWidget.js +60 -0
- package/dist/components/core/list/widgets/SolidRelationAvatarWidget.js.map +1 -0
- package/dist/components/core/list/widgets/SolidRelationAvatarWidget.tsx +89 -0
- package/dist/components/core/list/widgets/SolidShortTextAvatarWidget.d.ts +3 -0
- package/dist/components/core/list/widgets/SolidShortTextAvatarWidget.d.ts.map +1 -0
- package/dist/components/core/list/widgets/SolidShortTextAvatarWidget.js +42 -0
- package/dist/components/core/list/widgets/SolidShortTextAvatarWidget.js.map +1 -0
- package/{src/components/core/list/widgets/SolidUserNameAvatarWidget.tsx → dist/components/core/list/widgets/SolidShortTextAvatarWidget.tsx} +18 -11
- package/dist/components/core/list/widgets/SolidShortTextFieldImageRenderModeWidget.d.ts +2 -1
- package/dist/components/core/list/widgets/SolidShortTextFieldImageRenderModeWidget.d.ts.map +1 -1
- package/dist/components/core/list/widgets/SolidShortTextFieldImageRenderModeWidget.js +4 -4
- package/dist/components/core/list/widgets/SolidShortTextFieldImageRenderModeWidget.js.map +1 -1
- package/dist/components/core/list/widgets/SolidShortTextFieldImageRenderModeWidget.tsx +21 -0
- package/dist/components/core/model/CreateModel.tsx +476 -0
- package/dist/components/core/model/FieldMetaData.tsx +193 -0
- package/dist/components/core/model/FieldMetaDataForm.js +1 -1
- package/dist/components/core/model/FieldMetaDataForm.js.map +1 -1
- package/dist/components/core/model/FieldMetaDataForm.tsx +3048 -0
- package/dist/components/core/model/FieldSelector.tsx +62 -0
- package/dist/components/core/model/ModelListViewData.tsx +383 -0
- package/dist/components/core/model/ModelMetaData.tsx +840 -0
- package/dist/components/core/module/CreateModule.tsx +620 -0
- package/dist/components/core/module/ModuleListViewData.tsx +429 -0
- package/dist/components/core/users/CreateUser.tsx +434 -0
- package/dist/components/core/users/CreateUserRole.tsx +211 -0
- package/dist/components/core/users/UserListView.tsx +374 -0
- package/dist/components/layout/AdminLayout.tsx +62 -0
- package/dist/components/layout/AdminSidebar.tsx +65 -0
- package/dist/components/layout/AppConfig.d.ts +1 -1
- package/dist/components/layout/AppConfig.tsx +104 -0
- package/dist/components/layout/AppSidebar.tsx +225 -0
- package/dist/components/layout/ButtonLoader.tsx +7 -0
- package/dist/components/layout/CustomPagination.tsx +55 -0
- package/dist/components/layout/DashboardHeader.tsx +89 -0
- package/dist/components/layout/FilterMenu.tsx +122 -0
- package/dist/components/layout/Footer.tsx +13 -0
- package/dist/components/layout/GlobalSearch.tsx +37 -0
- package/dist/components/layout/Header.tsx +8 -0
- package/dist/components/layout/Layout.d.ts +1 -1
- package/dist/components/layout/Layout.tsx +136 -0
- package/dist/components/layout/ListingHeader.tsx +204 -0
- package/dist/components/layout/Loader.tsx +16 -0
- package/dist/components/layout/UserSidebar.tsx +53 -0
- package/dist/components/layout/context/layoutcontext.d.ts +1 -1
- package/dist/components/layout/context/layoutcontext.tsx +52 -0
- package/dist/components/layout/navbar-one.tsx +258 -0
- package/dist/components/layout/navbar-two-menu.tsx +73 -0
- package/dist/components/layout/navbar-two.tsx +37 -0
- package/dist/components/layout/user-profile-menu.tsx +120 -0
- package/dist/components/layout/user-profile.tsx +7 -0
- package/dist/components/modelsComponents/filterIcon.tsx +9 -0
- package/dist/components/tables/DemoData.tsx +318 -0
- package/dist/components/tables/DynamicTable.tsx +56 -0
- package/dist/components/tables/ListViewTable.tsx +156 -0
- package/dist/declarations.d.ts +19 -0
- package/dist/helpers/AppTitle.tsx +12 -0
- package/dist/helpers/ToastContainer.tsx +93 -0
- package/dist/helpers/authHeader.ts +20 -0
- package/dist/helpers/countries.tsx +260 -0
- package/dist/helpers/downloadMediaFile.tsx +19 -0
- package/dist/helpers/getAcceptedFileTypes.tsx +22 -0
- package/dist/helpers/getRandomColors.d.ts +4 -0
- package/dist/helpers/getRandomColors.d.ts.map +1 -0
- package/dist/helpers/getRandomColors.js +63 -0
- package/dist/helpers/getRandomColors.js.map +1 -0
- package/dist/helpers/getRandomColors.tsx +68 -0
- package/dist/helpers/helpers.ts +40 -0
- package/dist/helpers/menu.tsx +670 -0
- package/dist/helpers/permissions.ts +19 -0
- package/dist/helpers/registry.d.ts.map +1 -1
- package/dist/helpers/registry.js +76 -35
- package/dist/helpers/registry.js.map +1 -1
- package/dist/helpers/registry.ts +172 -0
- package/dist/helpers/revalidate.ts +7 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.ts +642 -0
- package/dist/nextAuth/authProviders.tsx +221 -0
- package/dist/nextAuth/refreshAccessToken.tsx +27 -0
- package/dist/redux/api/articleApi.ts +55 -0
- package/dist/redux/api/authApi.ts +131 -0
- package/dist/redux/api/automationApi.ts +55 -0
- package/dist/redux/api/categoryApi.tsx +46 -0
- package/dist/redux/api/cityApi.tsx +56 -0
- package/dist/redux/api/cmsBannerImageApi.tsx +55 -0
- package/dist/redux/api/countryApi.tsx +56 -0
- package/dist/redux/api/fetchBaseQuery.tsx +15 -0
- package/dist/redux/api/fieldApi.ts +78 -0
- package/dist/redux/api/mediaApi.ts +55 -0
- package/dist/redux/api/mediaStorageProviderApi.ts +55 -0
- package/dist/redux/api/menuApi.tsx +55 -0
- package/dist/redux/api/menuItemsApi.tsx +56 -0
- package/dist/redux/api/modelApi.ts +77 -0
- package/dist/redux/api/moduleApi.ts +72 -0
- package/dist/redux/api/orderAttributeApi.tsx +37 -0
- package/dist/redux/api/permissionApi.ts +32 -0
- package/dist/redux/api/pincodeApi.tsx +56 -0
- package/dist/redux/api/productData.tsx +87 -0
- package/dist/redux/api/radixExtraModelAttributeApi.tsx +37 -0
- package/dist/redux/api/radixModelMetadataApi.tsx +62 -0
- package/dist/redux/api/radixModelsApi.tsx +64 -0
- package/dist/redux/api/ratingApi.ts +55 -0
- package/dist/redux/api/reviewApi.ts +55 -0
- package/dist/redux/api/roleApi.ts +58 -0
- package/dist/redux/api/solidActionApi.ts +66 -0
- package/dist/redux/api/solidChatterMessageApi.d.ts +7 -0
- package/dist/redux/api/solidChatterMessageApi.d.ts.map +1 -0
- package/dist/redux/api/solidChatterMessageApi.js +29 -0
- package/dist/redux/api/solidChatterMessageApi.js.map +1 -0
- package/dist/redux/api/solidChatterMessageApi.ts +30 -0
- package/dist/redux/api/solidEntityApi.tsx +110 -0
- package/dist/redux/api/solidMenuApi.ts +71 -0
- package/dist/redux/api/solidSettingsApi.tsx +47 -0
- package/dist/redux/api/solidViewApi.ts +73 -0
- package/dist/redux/api/stateApi.tsx +56 -0
- package/dist/redux/api/tagApi.ts +55 -0
- package/dist/redux/api/tagGroupApi.tsx +55 -0
- package/dist/redux/api/testApi.ts +21 -0
- package/dist/redux/api/userApi.ts +120 -0
- package/dist/redux/features/authSlice.ts +19 -0
- package/dist/redux/features/dataViewSlice.ts +26 -0
- package/dist/redux/features/navbarSlice.ts +21 -0
- package/dist/redux/features/popupSlice.ts +27 -0
- package/dist/redux/features/themeSlice.ts +17 -0
- package/dist/redux/features/userSlice.ts +28 -0
- package/dist/resources/globals.css +59 -0
- package/dist/types/index.d.ts +60 -0
- package/dist/types/layout.d.ts +94 -0
- package/dist/types/next-auth.d.ts +0 -0
- package/dist/types/next.d.ts +46 -0
- package/dist/types/solid-core.d.ts +139 -0
- package/package.json +4 -3
- package/src/components/Svg/RightArrowSvg.tsx +9 -0
- package/src/components/core/chatter/SolidChatter.tsx +252 -0
- package/src/components/core/chatter/SolidChatterDateDivider.tsx +16 -0
- package/src/components/core/chatter/SolidChatterHeader.tsx +178 -0
- package/src/components/core/chatter/SolidChatterMessageBox.tsx +165 -0
- package/src/components/core/chatter/SolidMessageComposer.tsx +145 -0
- package/src/components/core/chatter/chatter.module.css +70 -0
- package/src/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.tsx +2 -2
- package/src/components/core/form/SolidFormView.tsx +166 -136
- package/src/components/core/form/fields/SolidBooleanField.tsx +170 -48
- package/src/components/core/form/fields/SolidDateField.tsx +86 -51
- package/src/components/core/form/fields/SolidDateTimeField.tsx +89 -52
- package/src/components/core/form/fields/SolidDecimalField.tsx +84 -49
- package/src/components/core/form/fields/SolidEmailField.tsx +90 -51
- package/src/components/core/form/fields/SolidIntegerField.tsx +86 -49
- package/src/components/core/form/fields/SolidJsonField.tsx +112 -42
- package/src/components/core/form/fields/SolidLongTextField.tsx +76 -117
- package/src/components/core/form/fields/SolidMediaMultipleField.tsx +474 -258
- package/src/components/core/form/fields/SolidMediaSingleField.tsx +408 -249
- package/src/components/core/form/fields/SolidPasswordField.tsx +112 -55
- package/src/components/core/form/fields/SolidRichTextField.tsx +105 -52
- package/src/components/core/form/fields/SolidSelectionDynamicField.tsx +138 -91
- package/src/components/core/form/fields/SolidSelectionStaticField.tsx +169 -37
- package/src/components/core/form/fields/SolidShortTextField.tsx +131 -74
- package/src/components/core/form/fields/SolidTimeField.tsx +85 -53
- package/src/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +193 -30
- package/src/components/core/form/fields/relations/SolidRelationManyToOneField.tsx +206 -165
- package/src/components/core/form/fields/relations/SolidRelationOneToManyField.tsx +223 -142
- package/src/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.tsx +46 -0
- package/src/components/core/kanban/kanban-fields/SolidShortTextKanbanField.tsx +10 -10
- package/src/components/core/list/SolidListView.tsx +1 -1
- package/src/components/core/list/columns/SolidBooleanColumn.tsx +30 -2
- package/src/components/core/list/columns/SolidDateColumn.tsx +23 -8
- package/src/components/core/list/columns/SolidDatetimeColumn.tsx +24 -8
- package/src/components/core/list/columns/SolidExternalIdColumn.tsx +23 -8
- package/src/components/core/list/columns/SolidIdColumn.tsx +22 -7
- package/src/components/core/list/columns/SolidIntColumn.tsx +22 -7
- package/src/components/core/list/columns/SolidMediaMultipleColumn.tsx +68 -45
- package/src/components/core/list/columns/SolidMediaSingleColumn.tsx +48 -26
- package/src/components/core/list/columns/SolidRelationColumn.tsx +7 -0
- package/src/components/core/list/columns/SolidSelectionDynamicColumn.tsx +22 -7
- package/src/components/core/list/columns/SolidSelectionStaticColumn.tsx +24 -9
- package/src/components/core/list/columns/SolidShortTextColumn.tsx +26 -39
- package/src/components/core/list/columns/SolidTimeColumn.tsx +22 -7
- package/src/components/core/list/columns/SolidUuidColumn.tsx +22 -7
- package/src/components/core/list/columns/relations/SolidRelationManyToManyColumn.tsx +110 -0
- package/src/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx +43 -19
- package/src/components/core/list/columns/relations/SolidRelationOneToManyColumn.tsx +111 -0
- package/src/components/core/list/widgets/SolidRelationAvatarWidget.tsx +89 -0
- package/src/components/core/list/widgets/SolidShortTextAvatarWidget.tsx +59 -0
- package/src/components/core/list/widgets/SolidShortTextFieldImageRenderModeWidget.tsx +5 -3
- package/src/components/core/model/FieldMetaDataForm.tsx +1 -1
- package/src/helpers/getRandomColors.tsx +68 -0
- package/src/helpers/registry.ts +89 -38
- package/src/index.ts +1 -0
- package/src/redux/api/solidChatterMessageApi.ts +30 -0
- package/src/resources/globals.css +59 -0
- package/src/types/solid-core.d.ts +24 -16
- package/src/components/core/form/fields/relations/widgets/SolidRelationManyToManyAutocompleteWidget.tsx +0 -74
- package/src/components/core/form/fields/relations/widgets/SolidRelationManyToManyCheckboxWidget.tsx +0 -103
- package/src/components/core/form/fields/widgets/SolidBooleanCheckboxFieldWidget.tsx +0 -79
- package/src/components/core/form/fields/widgets/SolidBooleanSelectFieldWidget.tsx +0 -68
- package/src/components/core/form/fields/widgets/SolidFormFieldJsonViewModeWidget.tsx +0 -23
- package/src/components/core/form/fields/widgets/SolidFormFieldMediaViewModeWidget.tsx +0 -13
- package/src/components/core/form/fields/widgets/SolidFormFieldPasswordViewModeWidget.tsx +0 -23
- package/src/components/core/form/fields/widgets/SolidFormFieldRelationViewModeWidget.tsx +0 -32
- package/src/components/core/form/fields/widgets/SolidFormFieldRichTextViewModeWidget.tsx +0 -17
- package/src/components/core/form/fields/widgets/SolidFormFieldViewMediaMultipleWidget.tsx +0 -174
- package/src/components/core/form/fields/widgets/SolidFormFieldViewMediaSingleWidget.tsx +0 -115
- package/src/components/core/form/fields/widgets/SolidFormFieldViewModeWidget.tsx +0 -11
- package/src/components/core/form/fields/widgets/SolidSelectionStaticAutocompleteFieldWidget.tsx +0 -72
- package/src/components/core/form/fields/widgets/SolidSelectionStaticRadioFieldWidget.tsx +0 -72
- package/src/components/core/list/widgets/SolidShortTextFieldTextRenderModeWidget.tsx +0 -11
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import Link from 'next/link';
|
|
3
|
+
import { FooterForm } from './FooterForm';
|
|
4
|
+
|
|
5
|
+
export const CustomFooter = () => {
|
|
6
|
+
const footerLinks = [
|
|
7
|
+
{
|
|
8
|
+
title: "Properties Categories",
|
|
9
|
+
links: [
|
|
10
|
+
{
|
|
11
|
+
title: 'Temperature',
|
|
12
|
+
link: "https://uat-fe.radix.logicloop.io/",
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
title: 'Pressure',
|
|
16
|
+
link: "https://uat-fe.radix.logicloop.io/",
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
title: 'Level',
|
|
20
|
+
link: "https://uat-fe.radix.logicloop.io/",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
title: 'Flow',
|
|
24
|
+
link: "https://uat-fe.radix.logicloop.io/",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
title: 'Air Quality',
|
|
28
|
+
link: "https://uat-fe.radix.logicloop.io/",
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
title: 'Humidity & Temperature',
|
|
32
|
+
link: "https://uat-fe.radix.logicloop.io/",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
title: 'BAS & HVAC',
|
|
36
|
+
link: "https://uat-fe.radix.logicloop.io/",
|
|
37
|
+
},
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
title: "Properties Categories",
|
|
42
|
+
links: [
|
|
43
|
+
{
|
|
44
|
+
title: 'PID Temperature ',
|
|
45
|
+
link: "https://uat-fe.radix.logicloop.io/",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
title: 'ControllersRTDsIT ',
|
|
49
|
+
link: "https://uat-fe.radix.logicloop.io/",
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
title: 'ServiceBAS & ',
|
|
53
|
+
link: "https://uat-fe.radix.logicloop.io/",
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
title: 'HVACLevel GaugesIT ',
|
|
57
|
+
link: "https://uat-fe.radix.logicloop.io/",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
title: 'ServiceApplications by ',
|
|
61
|
+
link: "https://uat-fe.radix.logicloop.io/",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
title: 'IndustryFlow ',
|
|
65
|
+
link: "https://uat-fe.radix.logicloop.io/",
|
|
66
|
+
},
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
title: "Automation",
|
|
71
|
+
links: [
|
|
72
|
+
{
|
|
73
|
+
title: 'EMS',
|
|
74
|
+
link: "https://uat-fe.radix.logicloop.io/",
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
title: 'RIOT',
|
|
78
|
+
link: "https://uat-fe.radix.logicloop.io/",
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
title: 'RIOT',
|
|
82
|
+
link: "https://uat-fe.radix.logicloop.io/",
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
title: 'Door Interlock System',
|
|
86
|
+
link: "https://uat-fe.radix.logicloop.io/",
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
title: 'Datalogging System',
|
|
90
|
+
link: "https://uat-fe.radix.logicloop.io/",
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
title: 'Process Automation',
|
|
94
|
+
link: "https://uat-fe.radix.logicloop.io/",
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
title: 'Energy Monitoring',
|
|
98
|
+
link: "https://uat-fe.radix.logicloop.io/",
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
title: 'Control Panels',
|
|
102
|
+
link: "https://uat-fe.radix.logicloop.io/",
|
|
103
|
+
},
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
title: "Company",
|
|
108
|
+
links: [
|
|
109
|
+
{
|
|
110
|
+
title: 'About Us',
|
|
111
|
+
link: "https://uat-fe.radix.logicloop.io/",
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
title: 'Careers',
|
|
115
|
+
link: "https://uat-fe.radix.logicloop.io/",
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
title: 'Downloads',
|
|
119
|
+
link: "https://uat-fe.radix.logicloop.io/",
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
title: 'Blogs',
|
|
123
|
+
link: "https://uat-fe.radix.logicloop.io/",
|
|
124
|
+
},
|
|
125
|
+
]
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
const socialmedia = [
|
|
129
|
+
{
|
|
130
|
+
icon: '/images/fb.svg',
|
|
131
|
+
href: '/',
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
icon: '/images/tw.svg',
|
|
135
|
+
href: '/',
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
icon: '/images/li.svg',
|
|
139
|
+
href: '/',
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
icon: '/images/insta.svg',
|
|
143
|
+
href: '/',
|
|
144
|
+
}
|
|
145
|
+
]
|
|
146
|
+
const subfooter = [
|
|
147
|
+
{
|
|
148
|
+
title: "Disclaimer",
|
|
149
|
+
link: "https://uat-fe.radix.logicloop.io/"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
title: "Privacy",
|
|
153
|
+
link: "https://uat-fe.radix.logicloop.io/"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
title: "Terms",
|
|
157
|
+
link: "https://uat-fe.radix.logicloop.io/"
|
|
158
|
+
},
|
|
159
|
+
]
|
|
160
|
+
return (
|
|
161
|
+
<div className='custom-footer pt-7 overflow-hidden'>
|
|
162
|
+
<div className='mx-auto lg:w-10 md:w-11 sm:w-12'>
|
|
163
|
+
<div className="grid nested-grid">
|
|
164
|
+
<div className="col-3">
|
|
165
|
+
<div>
|
|
166
|
+
<img
|
|
167
|
+
alt='logo'
|
|
168
|
+
src={'/images/radix-logo-white.png'}
|
|
169
|
+
/>
|
|
170
|
+
</div>
|
|
171
|
+
<div className='font-semibold text-xl text-white mt-3'>
|
|
172
|
+
Connect with us
|
|
173
|
+
</div>
|
|
174
|
+
<div className='flex gap-3 mt-2'>
|
|
175
|
+
{socialmedia.map((social, i) => (
|
|
176
|
+
<div key={i} className='border-circle border-white border-1 flex align-items-center justify-content-center' style={{ height: 37, width: 37, padding: 8, }}>
|
|
177
|
+
<img
|
|
178
|
+
src={social.icon}
|
|
179
|
+
alt={'icon' + i}
|
|
180
|
+
/>
|
|
181
|
+
</div>
|
|
182
|
+
))}
|
|
183
|
+
</div>
|
|
184
|
+
<div>
|
|
185
|
+
<div className='mt-4 mt-sm-0 mt-lg-4'>
|
|
186
|
+
<div className='text-white font-semibold text-xl'>Office</div>
|
|
187
|
+
<div className='flex align-items-center gap-3 mt-2'>
|
|
188
|
+
<div className='mb-2'>
|
|
189
|
+
<svg width="16" height="24" viewBox="0 0 16 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
190
|
+
<path d="M13.4375 0C14.0469 0 14.5625 0.234375 15.0312 0.65625C15.4531 1.125 15.6875 1.64062 15.6875 2.25V21.75C15.6875 22.4062 15.4531 22.9219 15.0312 23.3438C14.5625 23.8125 14.0469 24 13.4375 24H2.9375C2.28125 24 1.76562 23.8125 1.34375 23.3438C0.875 22.9219 0.6875 22.4062 0.6875 21.75V2.25C0.6875 1.64062 0.875 1.125 1.34375 0.65625C1.76562 0.234375 2.28125 0 2.9375 0H13.4375ZM8.1875 22.5C8.5625 22.5 8.9375 22.3594 9.21875 22.0781C9.5 21.7969 9.6875 21.4219 9.6875 21C9.6875 20.625 9.5 20.25 9.21875 19.9688C8.9375 19.6875 8.5625 19.5 8.1875 19.5C7.76562 19.5 7.39062 19.6875 7.10938 19.9688C6.82812 20.25 6.6875 20.625 6.6875 21C6.6875 21.4219 6.82812 21.7969 7.10938 22.0781C7.39062 22.3594 7.76562 22.5 8.1875 22.5ZM13.4375 17.4375V2.8125C13.4375 2.67188 13.3438 2.53125 13.25 2.4375C13.1562 2.34375 13.0156 2.25 12.875 2.25H3.5C3.3125 2.25 3.17188 2.34375 3.07812 2.4375C2.98438 2.53125 2.9375 2.67188 2.9375 2.8125V17.4375C2.9375 17.625 2.98438 17.7656 3.07812 17.8594C3.17188 17.9531 3.3125 18 3.5 18H12.875C13.0156 18 13.1562 17.9531 13.25 17.8594C13.3438 17.7656 13.4375 17.625 13.4375 17.4375Z" fill="white" />
|
|
191
|
+
</svg>
|
|
192
|
+
</div>
|
|
193
|
+
<div>
|
|
194
|
+
<p className='text-white text-base font-semibold m-0'>
|
|
195
|
+
+91 22 42537777
|
|
196
|
+
<br />
|
|
197
|
+
+91 22 42537707
|
|
198
|
+
</p>
|
|
199
|
+
</div>
|
|
200
|
+
</div>
|
|
201
|
+
<div className='flex align-items-center gap-3 mt-3'>
|
|
202
|
+
<div className=''>
|
|
203
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
204
|
+
<path d="M4.00781 3H19.9922C20.8516 3.01562 21.5625 3.30859 22.125 3.87891C22.6875 4.44922 22.9766 5.15625 22.9922 6V18C22.9766 18.8438 22.6875 19.5508 22.125 20.1211C21.5625 20.6914 20.8516 20.9844 19.9922 21H4.00781C3.14844 20.9844 2.4375 20.6914 1.875 20.1211C1.3125 19.5508 1.02344 18.8438 1.00781 18V6C1.02344 5.15625 1.3125 4.44922 1.875 3.87891C2.4375 3.30859 3.14844 3.01562 4.00781 3ZM20.8828 5.55469C20.8047 5.38281 20.6875 5.25 20.5312 5.15625C20.375 5.0625 20.1953 5.00781 19.9922 4.99219H4.00781C3.80469 5.00781 3.625 5.0625 3.46875 5.15625C3.3125 5.25 3.19531 5.38281 3.11719 5.55469L12 11.7891L20.8828 5.55469ZM21 7.92188L12.5625 13.8281C12.3906 13.9375 12.2031 13.9922 12 13.9922C11.7969 13.9922 11.6094 13.9375 11.4375 13.8281L3 7.92188V18C3 18.2812 3.09766 18.5156 3.29297 18.7031C3.48828 18.8906 3.72656 18.9922 4.00781 19.0078H19.9922C20.2734 18.9922 20.5117 18.8906 20.707 18.7031C20.9023 18.5156 21 18.2812 21 18V7.92188Z" fill="white" />
|
|
205
|
+
</svg>
|
|
206
|
+
</div>
|
|
207
|
+
<p className='text-white text-base font-semibold m-0'>
|
|
208
|
+
esales@radix.co.in
|
|
209
|
+
</p>
|
|
210
|
+
</div>
|
|
211
|
+
</div>
|
|
212
|
+
</div>
|
|
213
|
+
</div>
|
|
214
|
+
<div className="col-9">
|
|
215
|
+
<div className="grid">
|
|
216
|
+
{footerLinks.map((footer, i) => (
|
|
217
|
+
<div key={i} className='col-3'>
|
|
218
|
+
<div className='flex flex-column mt-4 mt-lg-0'>
|
|
219
|
+
<div className='font-semibold text-nowrap text-xl mb-3' style={{ color: i === 1 ? 'transparent' : '#fff', userSelect: 'none' }}>{footer.title}</div>
|
|
220
|
+
{footer.links.map((links, i) => (
|
|
221
|
+
<Link key={i} href={process.env.BASE_FRONTEND_APPLICATION as string} className='text-white no-underline text-base font-semibold m-0 line-height-4'>
|
|
222
|
+
{links.title}
|
|
223
|
+
</Link>
|
|
224
|
+
))}
|
|
225
|
+
</div>
|
|
226
|
+
</div>
|
|
227
|
+
))}
|
|
228
|
+
</div>
|
|
229
|
+
</div>
|
|
230
|
+
</div>
|
|
231
|
+
<div className='py-3 mt-3' style={{ borderTop: '1px solid #1F6585', borderBottom: '1px solid #1F6585' }}>
|
|
232
|
+
<div className='grid'>
|
|
233
|
+
<div className='lg:col-6 md:col-12'>
|
|
234
|
+
<div className='text-xl font-semibold text-white mb-1'>
|
|
235
|
+
Subscribe to our product mailers
|
|
236
|
+
</div>
|
|
237
|
+
<p className='text-sm text-white mb-0'>
|
|
238
|
+
Get notified about updates and be the first to get early access to new episodes.
|
|
239
|
+
</p>
|
|
240
|
+
</div>
|
|
241
|
+
<div className='lg:col-6 md:col-12'>
|
|
242
|
+
<FooterForm />
|
|
243
|
+
</div>
|
|
244
|
+
</div>
|
|
245
|
+
</div>
|
|
246
|
+
<div className='py-4 flex sm:flex-column md:flex-row align-items-center justify-content-between'>
|
|
247
|
+
<div className='flex align-items-center'>
|
|
248
|
+
{subfooter.map((link, i) => (
|
|
249
|
+
<Link key={i} href={link.link} className='text-white no-underline text-base font-semibold m-0'>
|
|
250
|
+
{link.title}
|
|
251
|
+
{i < subfooter.length - 1 && <span className='mx-3'>|</span>}
|
|
252
|
+
</Link>
|
|
253
|
+
))}
|
|
254
|
+
</div>
|
|
255
|
+
<div>
|
|
256
|
+
<p className='mb-0 mt-2 mt-sm-0 text-base text-white font-semibold'>
|
|
257
|
+
© 2024.All Rights Reserved
|
|
258
|
+
</p>
|
|
259
|
+
</div>
|
|
260
|
+
</div>
|
|
261
|
+
</div>
|
|
262
|
+
</div>
|
|
263
|
+
)
|
|
264
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { Button } from 'primereact/button';
|
|
3
|
+
import { InputText } from 'primereact/inputtext';
|
|
4
|
+
|
|
5
|
+
export const FooterForm = () => {
|
|
6
|
+
return (
|
|
7
|
+
<div className='grid'>
|
|
8
|
+
<div className='lg:col-4 sm:col-12'>
|
|
9
|
+
<InputText placeholder='Your name' className='bg-transparent footer-input-border text-white h-4rem' />
|
|
10
|
+
</div>
|
|
11
|
+
<div className='lg:col-8 sm:col-12'>
|
|
12
|
+
<div className='footer-input-border border-white border-1 relative'>
|
|
13
|
+
<InputText placeholder='Your email address' className='bg-transparent footer-input-border border-none text-white h-4rem w-full' />
|
|
14
|
+
<Button label='Subscribe' rounded className='absolute right-0 top-50 mr-2 bg-white text-color border-none' style={{transform:'translateY(-50%)'}}/>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
)
|
|
19
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
export const CallIcon = () => {
|
|
4
|
+
return (
|
|
5
|
+
<div>
|
|
6
|
+
<svg className='border-1 border-circle border-700 p-1' xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 14 14" fill="none">
|
|
7
|
+
<g clipPath="url(#clip0_1812_6708)">
|
|
8
|
+
<path d="M7.40724 0.777588C7.70563 0.854976 8.00729 0.921705 8.30182 1.01171C9.26127 1.30491 10.1156 1.79052 10.8679 2.45221C11.6673 3.15526 12.2867 3.99231 12.7142 4.96884C12.9373 5.47853 13.0928 6.0088 13.196 6.55493C13.2015 6.584 13.2133 6.61188 13.2222 6.64031V6.71779C13.219 6.7207 13.2142 6.72302 13.2129 6.72661C13.1329 6.94815 13.003 7.05631 12.83 7.04522C12.6195 7.03173 12.4956 6.91115 12.4487 6.65959C12.2761 5.73287 11.9226 4.882 11.3709 4.1174C10.6489 3.11687 9.72315 2.36426 8.57269 1.91106C8.17133 1.75296 7.74447 1.6579 7.32653 1.54406C7.08776 1.47901 6.96367 1.38066 6.94269 1.20251C6.9208 1.01663 7.00482 0.890755 7.22633 0.777588C7.28663 0.777588 7.34693 0.777588 7.40724 0.777588Z" fill="#333333" />
|
|
9
|
+
<path d="M4.12192 6.29327C4.60882 7.42934 6.28597 9.21272 7.70207 9.85915C7.73292 9.81512 7.76692 9.74718 7.81813 9.69668C8.11537 9.40359 8.40547 9.10183 8.71922 8.82723C9.17581 8.42763 9.85948 8.42746 10.2999 8.84714C10.9135 9.43182 11.5126 10.033 12.0944 10.6494C12.5121 11.0919 12.5342 11.7751 12.1379 12.2347C11.7483 12.6866 11.3292 13.1176 10.8882 13.5198C10.4342 13.9339 9.86501 14.0395 9.2613 13.9877C8.14527 13.892 7.15411 13.4398 6.1938 12.9082C5.00589 12.2506 3.94883 11.4201 3.02448 10.4266C1.90128 9.21935 0.972132 7.88379 0.386922 6.32977C0.173929 5.76417 0.017225 5.18489 0.00113977 4.57484C-0.0150624 3.96037 0.139685 3.4071 0.580079 2.95825C0.92972 2.60189 1.26702 2.23025 1.64321 1.90385C2.22448 1.3995 2.8578 1.40375 3.41831 1.92923C4.01135 2.48521 4.58097 3.068 5.13503 3.66306C5.56053 4.12005 5.55362 4.79588 5.13919 5.26466C4.84602 5.59627 4.52244 5.90105 4.21178 6.21716C4.18484 6.24458 4.15299 6.26717 4.12192 6.29327ZM0.750824 4.53274C0.764831 4.68247 0.777002 4.83239 0.793706 4.98182C0.800845 5.04568 0.815837 5.10884 0.829973 5.17171C1.03493 6.08327 1.4154 6.92331 1.90204 7.71404C3.19958 9.82235 4.92869 11.4692 7.16108 12.5669C7.84299 12.9022 8.54703 13.1728 9.31469 13.241C9.79568 13.2838 10.2176 13.1723 10.5605 12.8143C10.8403 12.5221 11.1263 12.2359 11.4089 11.9465C11.445 11.9096 11.4794 11.8709 11.5116 11.8307C11.7108 11.5824 11.7133 11.3321 11.4969 11.0982C11.2632 10.8456 11.0153 10.606 10.7722 10.3622C10.4713 10.0604 10.1721 9.7569 9.86629 9.46014C9.63799 9.2386 9.38136 9.2361 9.1393 9.44124C9.09341 9.48013 9.05096 9.52323 9.00829 9.56575C8.71252 9.86049 8.41894 10.1574 8.12099 10.45C7.90764 10.6594 7.67074 10.6976 7.41251 10.5671C7.2322 10.476 7.05129 10.3847 6.87788 10.2815C6.09873 9.81733 5.42083 9.22971 4.80867 8.56453C4.26778 7.97679 3.77437 7.35513 3.44131 6.62057C3.26533 6.23245 3.30258 6.04229 3.60815 5.74611C3.91715 5.44661 4.22699 5.14742 4.52355 4.83583C4.75865 4.58882 4.75015 4.34865 4.52566 4.0902C4.49746 4.05774 4.46793 4.02632 4.43754 3.99588C3.95095 3.50845 3.46469 3.0207 2.97715 2.53422C2.65933 2.2171 2.38393 2.21752 2.06258 2.5357C1.78422 2.81131 1.5136 3.09495 1.22962 3.36459C0.892699 3.68451 0.7343 4.06971 0.750824 4.53274Z" fill="#333333" />
|
|
10
|
+
<path d="M7.28473 3.17871C7.44788 3.22081 7.68717 3.26227 7.91189 3.34383C9.38909 3.87993 10.3403 4.90517 10.75 6.4254C10.7734 6.51241 10.7904 6.60126 10.8078 6.68977C10.8499 6.90378 10.7331 7.09663 10.5315 7.14856C10.3397 7.19798 10.1419 7.08518 10.0807 6.88066C10.018 6.67108 9.98501 6.45091 9.90615 6.24813C9.41477 4.98456 8.50425 4.20795 7.17326 3.92913C6.92377 3.87687 6.79051 3.68876 6.84231 3.46467C6.88059 3.29909 7.03539 3.17898 7.28473 3.17871Z" fill="#333333" />
|
|
11
|
+
</g>
|
|
12
|
+
<defs>
|
|
13
|
+
<clipPath id="clip0_1812_6708">
|
|
14
|
+
<rect width="13.2222" height="13.2222" fill="white" transform="translate(0 0.777588)" />
|
|
15
|
+
</clipPath>
|
|
16
|
+
</defs>
|
|
17
|
+
</svg>
|
|
18
|
+
</div>
|
|
19
|
+
)
|
|
20
|
+
}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
'use client'
|
|
2
|
+
import Link from 'next/link';
|
|
3
|
+
import { useState } from 'react';
|
|
4
|
+
export interface TertiaryProps {
|
|
5
|
+
id: number,
|
|
6
|
+
title: string,
|
|
7
|
+
slug: string,
|
|
8
|
+
}
|
|
9
|
+
export interface SecondaryProps {
|
|
10
|
+
id: number,
|
|
11
|
+
title: string,
|
|
12
|
+
subProducts: TertiaryProps[]
|
|
13
|
+
}
|
|
14
|
+
export interface PrimaryDataProps {
|
|
15
|
+
id: number,
|
|
16
|
+
title: string,
|
|
17
|
+
icon: string,
|
|
18
|
+
subProducts: SecondaryProps[]
|
|
19
|
+
}
|
|
20
|
+
export interface RootProps {
|
|
21
|
+
data: PrimaryDataProps[],
|
|
22
|
+
}
|
|
23
|
+
export const PrimaryCustomDropdown = (props: RootProps) => {
|
|
24
|
+
const { data } = props;
|
|
25
|
+
const [subMenu, setSubMenu] = useState<SecondaryProps[]>([]);
|
|
26
|
+
const [subSubMenu, setSubSubMenu] = useState<TertiaryProps[]>([]);
|
|
27
|
+
const [openPrimaryId, setOpenPrimaryId] = useState<number | null>(null);
|
|
28
|
+
const [openSecondaryId, setOpenSecondaryId] = useState<number | null>(null);
|
|
29
|
+
const handleSubmenu = (id: number, subProducts: SecondaryProps[]) => {
|
|
30
|
+
setSubMenu(subProducts);
|
|
31
|
+
setSubSubMenu([]);
|
|
32
|
+
setOpenPrimaryId(id);
|
|
33
|
+
setOpenSecondaryId(null);
|
|
34
|
+
}
|
|
35
|
+
const handleSubSubmenu = (id: number, subProducts: TertiaryProps[]) => {
|
|
36
|
+
setSubSubMenu(subProducts);
|
|
37
|
+
setOpenSecondaryId(id);
|
|
38
|
+
}
|
|
39
|
+
return (
|
|
40
|
+
<div className=' w-full flex flex-column p-3' style={{ height: 'calc(100vh - 120px)' }}>
|
|
41
|
+
<p className='text-lg font-bold primary-dark'>
|
|
42
|
+
PRODUCTS
|
|
43
|
+
</p>
|
|
44
|
+
<div className='h-full w-full flex flex-row'>
|
|
45
|
+
{/* Main menu */}
|
|
46
|
+
{data.length > 0 &&
|
|
47
|
+
<div className='primary-custom-megamenu'>
|
|
48
|
+
<div className='px-3 w-full' style={{ direction: 'ltr' }}>
|
|
49
|
+
{data.map((item, i) => {
|
|
50
|
+
const isOpen = openPrimaryId === item.id;
|
|
51
|
+
return (
|
|
52
|
+
<>
|
|
53
|
+
{item.subProducts.length > 0 ?
|
|
54
|
+
<div
|
|
55
|
+
key={item.id}
|
|
56
|
+
className={`btn ${isOpen ? 'open-dropdown-item' : 'active-dropdown-item'}`}
|
|
57
|
+
onClick={() => handleSubmenu(item.id, item.subProducts)}
|
|
58
|
+
>
|
|
59
|
+
<div className='flex align-items-center text-left text-nowrap gap-3'>
|
|
60
|
+
<div>
|
|
61
|
+
<img
|
|
62
|
+
src={item.icon}
|
|
63
|
+
alt={item.title + i}
|
|
64
|
+
/>
|
|
65
|
+
</div>
|
|
66
|
+
{item.title}
|
|
67
|
+
</div>
|
|
68
|
+
<div>
|
|
69
|
+
<svg width="6" height="10" viewBox="0 0 6 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
70
|
+
<path d="M1 1L5 5L1 9" stroke="#333333" stroke-linecap="round" stroke-linejoin="round" />
|
|
71
|
+
</svg>
|
|
72
|
+
</div>
|
|
73
|
+
</div> : <Link
|
|
74
|
+
href={process.env.BASE_FRONTEND_APPLICATION as string}
|
|
75
|
+
key={item.id}
|
|
76
|
+
className={`btn no-underline ${isOpen ? 'open-dropdown-item' : 'active-dropdown-item'}`}
|
|
77
|
+
// onClick={() => handleSubmenu(item.id, item.subProducts)}
|
|
78
|
+
>
|
|
79
|
+
<div className='flex align-items-center text-left text-nowrap gap-3'>
|
|
80
|
+
<div>
|
|
81
|
+
<img
|
|
82
|
+
src={item.icon}
|
|
83
|
+
alt={item.title + i}
|
|
84
|
+
/>
|
|
85
|
+
</div>
|
|
86
|
+
{item.title}
|
|
87
|
+
</div>
|
|
88
|
+
<div>
|
|
89
|
+
<svg width="6" height="10" viewBox="0 0 6 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
90
|
+
<path d="M1 1L5 5L1 9" stroke="#333333" stroke-linecap="round" stroke-linejoin="round" />
|
|
91
|
+
</svg>
|
|
92
|
+
</div>
|
|
93
|
+
</Link>}
|
|
94
|
+
</>
|
|
95
|
+
|
|
96
|
+
)
|
|
97
|
+
})}
|
|
98
|
+
</div>
|
|
99
|
+
</div>
|
|
100
|
+
}
|
|
101
|
+
{subMenu.length > 0 &&
|
|
102
|
+
<div className='primary-custom-megamenu'>
|
|
103
|
+
<div className='px-3 w-full' style={{ direction: 'ltr' }}>
|
|
104
|
+
{subMenu.map((item) => {
|
|
105
|
+
const isOpen = openSecondaryId === item.id;
|
|
106
|
+
return (
|
|
107
|
+
<>
|
|
108
|
+
{item.subProducts.length > 0 ?
|
|
109
|
+
|
|
110
|
+
<div
|
|
111
|
+
key={item.id}
|
|
112
|
+
className={`flex btn gap-3 justify-content-between ${isOpen ? 'open-dropdown-item' : 'active-dropdown-item'}`}
|
|
113
|
+
onClick={() => handleSubSubmenu(item.id, item.subProducts)}
|
|
114
|
+
>
|
|
115
|
+
<div className='flex align-items-center text-left text-nowrap gap-3'>
|
|
116
|
+
{item.title}
|
|
117
|
+
</div>
|
|
118
|
+
<div>
|
|
119
|
+
<svg width="6" height="10" viewBox="0 0 6 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
120
|
+
<path d="M1 1L5 5L1 9" stroke="#333333" stroke-linecap="round" stroke-linejoin="round" />
|
|
121
|
+
</svg>
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
124
|
+
:
|
|
125
|
+
<Link
|
|
126
|
+
href={process.env.BASE_FRONTEND_APPLICATION as string}
|
|
127
|
+
key={item.id}
|
|
128
|
+
className={`flex btn gap-3 justify-content-between ${isOpen ? 'open-dropdown-item' : 'active-dropdown-item'}`}
|
|
129
|
+
// onClick={() => handleSubSubmenu(item.id, item.subProducts)}
|
|
130
|
+
>
|
|
131
|
+
<div className='flex align-items-center text-left text-nowrap gap-3'>
|
|
132
|
+
{item.title}
|
|
133
|
+
</div>
|
|
134
|
+
<div>
|
|
135
|
+
<svg width="6" height="10" viewBox="0 0 6 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
136
|
+
<path d="M1 1L5 5L1 9" stroke="#333333" stroke-linecap="round" stroke-linejoin="round" />
|
|
137
|
+
</svg>
|
|
138
|
+
</div>
|
|
139
|
+
</Link>
|
|
140
|
+
}
|
|
141
|
+
</>
|
|
142
|
+
|
|
143
|
+
)
|
|
144
|
+
})}
|
|
145
|
+
</div>
|
|
146
|
+
</div>
|
|
147
|
+
}
|
|
148
|
+
{subSubMenu.length > 0 &&
|
|
149
|
+
<div className='primary-custom-megamenu'>
|
|
150
|
+
<div className='px-3 w-full' style={{ direction: 'ltr' }}>
|
|
151
|
+
{subSubMenu.map((item) => {
|
|
152
|
+
return (
|
|
153
|
+
<Link
|
|
154
|
+
href={process.env.BASE_FRONTEND_APPLICATION as string}
|
|
155
|
+
key={item.id}
|
|
156
|
+
className='btn active-dropdown-item no-underline flex'
|
|
157
|
+
>
|
|
158
|
+
<div className='flex align-items-center text-left gap-3'>
|
|
159
|
+
{item.title}
|
|
160
|
+
</div>
|
|
161
|
+
<div>
|
|
162
|
+
<svg width="6" height="10" viewBox="0 0 6 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
163
|
+
<path d="M1 1L5 5L1 9" stroke="#333333" stroke-linecap="round" stroke-linejoin="round" />
|
|
164
|
+
</svg>
|
|
165
|
+
</div>
|
|
166
|
+
</Link>
|
|
167
|
+
)
|
|
168
|
+
})}
|
|
169
|
+
</div>
|
|
170
|
+
</div>
|
|
171
|
+
}
|
|
172
|
+
</div>
|
|
173
|
+
</div>
|
|
174
|
+
)
|
|
175
|
+
}
|
|
@@ -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,12 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
export const EmailIcon = () => {
|
|
4
|
+
return (
|
|
5
|
+
<div>
|
|
6
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 28 28" fill="none">
|
|
7
|
+
<rect x="0.68" y="0.68" width="26.64" height="26.64" rx="13.32" stroke="#333333" strokeWidth="1.36" />
|
|
8
|
+
<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" />
|
|
9
|
+
</svg>
|
|
10
|
+
</div>
|
|
11
|
+
)
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { Button } from "primereact/button"
|
|
3
|
+
|
|
4
|
+
export const HeaderCart = () => {
|
|
5
|
+
return (
|
|
6
|
+
<Button text className='flex' link onClick={() => window.open('https://uat-fe.radix.logicloop.io/', '_self')}>
|
|
7
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="25" height="23" viewBox="0 0 25 23" fill="none">
|
|
8
|
+
<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" />
|
|
9
|
+
</svg>
|
|
10
|
+
<div className='border-circle bg-cyan-600 h-1rem w-1rem flex align-items-center justify-content-center'>
|
|
11
|
+
<span className="text-white text-sm">0</span>
|
|
12
|
+
</div>
|
|
13
|
+
</Button>
|
|
14
|
+
)
|
|
15
|
+
}
|