@solidstarters/solid-core-ui 1.1.74 → 1.1.75
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/common/FileReaderExt.js +1 -0
- package/dist/components/common/FileReaderExt.js.map +1 -1
- package/dist/components/common/GeneralSettings.js +1 -1
- package/dist/components/common/SolidAdmin.d.ts.map +1 -1
- package/dist/components/common/SolidAdmin.js +1 -0
- package/dist/components/common/SolidAdmin.js.map +1 -1
- package/dist/components/common/SolidThemeLink.d.ts.map +1 -1
- package/dist/components/common/SolidThemeLink.js +1 -0
- package/dist/components/common/SolidThemeLink.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterDateDivider.js +1 -0
- package/dist/components/core/chatter/SolidChatterDateDivider.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterHeader.d.ts.map +1 -1
- package/dist/components/core/chatter/SolidChatterHeader.js +4 -3
- package/dist/components/core/chatter/SolidChatterHeader.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterMessageBox.d.ts.map +1 -1
- package/dist/components/core/chatter/SolidChatterMessageBox.js +7 -6
- package/dist/components/core/chatter/SolidChatterMessageBox.js.map +1 -1
- package/dist/components/core/common/SolidSaveCustomFilterForm.d.ts.map +1 -1
- package/dist/components/core/common/SolidSaveCustomFilterForm.js +1 -0
- package/dist/components/core/common/SolidSaveCustomFilterForm.js.map +1 -1
- package/dist/components/core/form/SolidFormActionHeader.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormActionHeader.js +1 -0
- package/dist/components/core/form/SolidFormActionHeader.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js +1 -1
- package/dist/components/core/list/columns/SolidDateColumn.js +1 -1
- package/dist/components/core/list/columns/SolidDateColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidDatetimeColumn.js +1 -1
- package/dist/components/core/list/columns/SolidDatetimeColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidExternalIdColumn.js +1 -1
- package/dist/components/core/list/columns/SolidExternalIdColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidIdColumn.js +1 -1
- package/dist/components/core/list/columns/SolidIdColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidIntColumn.js +1 -1
- package/dist/components/core/list/columns/SolidIntColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidRelationColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidRelationColumn.js +2 -1
- package/dist/components/core/list/columns/SolidRelationColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.js +1 -1
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.js +1 -1
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidTimeColumn.js +1 -1
- package/dist/components/core/list/columns/SolidTimeColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidUuidColumn.js +1 -1
- package/dist/components/core/list/columns/SolidUuidColumn.js.map +1 -1
- package/dist/components/core/list/widgets/SolidRelationAvatarWidget.d.ts.map +1 -1
- package/dist/components/core/list/widgets/SolidRelationAvatarWidget.js +14 -13
- package/dist/components/core/list/widgets/SolidRelationAvatarWidget.js.map +1 -1
- package/dist/components/core/list/widgets/SolidShortTextAvatarWidget.d.ts.map +1 -1
- package/dist/components/core/list/widgets/SolidShortTextAvatarWidget.js +13 -12
- package/dist/components/core/list/widgets/SolidShortTextAvatarWidget.js.map +1 -1
- package/dist/components/core/module/CreateModule.d.ts.map +1 -1
- package/dist/components/core/module/CreateModule.js +0 -2
- package/dist/components/core/module/CreateModule.js.map +1 -1
- package/dist/declarations.d.ts +4 -1
- package/dist/helpers/registry.js +2 -1
- package/dist/helpers/registry.js.map +1 -1
- package/dist/types/solid-core.d.ts +1 -0
- package/package.json +1 -1
- package/src/declarations.d.ts +4 -1
- package/src/types/solid-core.d.ts +1 -0
- package/tsconfig.json +2 -1
- package/dist/components/CustomFooter/CustomFooter.tsx +0 -264
- package/dist/components/CustomFooter/FooterForm.tsx +0 -19
- package/dist/components/CustomHeader/CallIcon.tsx +0 -20
- package/dist/components/CustomHeader/CustomDropdown.tsx +0 -175
- package/dist/components/CustomHeader/CustomHeader.tsx +0 -64
- package/dist/components/CustomHeader/EmailIcon.tsx +0 -12
- package/dist/components/CustomHeader/HeaderCart.tsx +0 -15
- package/dist/components/CustomHeader/productNavData.tsx +0 -180
- package/dist/components/FormView/DetailsViews.tsx +0 -46
- package/dist/components/FormView/OrderAddressDetails.tsx +0 -70
- package/dist/components/FormView/OrderPaymentDetails.tsx +0 -18
- package/dist/components/FormView/OrderTableDetails.tsx +0 -36
- package/dist/components/FormView/OrderedProductDetail.tsx +0 -22
- package/dist/components/Svg/ExcelSvg.tsx +0 -15
- package/dist/components/Svg/FileSvg.tsx +0 -19
- package/dist/components/Svg/PDFSvg.tsx +0 -15
- package/dist/components/Svg/RightArrowSvg.tsx +0 -9
- package/dist/components/Tag/CustomTag.tsx +0 -50
- package/dist/components/auth/AuthLayout.tsx +0 -140
- package/dist/components/auth/ForgotPasswordThankYou.tsx +0 -48
- package/dist/components/auth/GoogleAuthChecking.tsx +0 -60
- package/dist/components/auth/Login.tsx +0 -155
- package/dist/components/auth/Register.tsx +0 -239
- package/dist/components/auth/SolidChangeForcePassword.tsx +0 -145
- package/dist/components/auth/SolidForgotPassword.tsx +0 -125
- package/dist/components/auth/SolidInitialLoginOtp.tsx +0 -152
- package/dist/components/auth/SolidInitiateRegisterOtp.tsx +0 -141
- package/dist/components/auth/SolidLogin.tsx +0 -275
- package/dist/components/auth/SolidOTPVerify.tsx +0 -132
- package/dist/components/auth/SolidRegister.tsx +0 -348
- package/dist/components/auth/SolidResetPassword.tsx +0 -162
- package/dist/components/common/AuthBanner.tsx +0 -41
- package/dist/components/common/AutoCompleteField.tsx +0 -76
- package/dist/components/common/BackButton.tsx +0 -27
- package/dist/components/common/CancelButton.tsx +0 -48
- package/dist/components/common/CodeEditor.tsx +0 -26
- package/dist/components/common/CreateButton.tsx +0 -17
- package/dist/components/common/DropzonePlaceholder.tsx +0 -31
- package/dist/components/common/DropzoneUpload.tsx +0 -11
- package/dist/components/common/FileReaderExt.tsx +0 -20
- package/dist/components/common/GeneralSettings.tsx +0 -414
- package/dist/components/common/HeaderDynamicTitles.tsx +0 -13
- package/dist/components/common/MarkdownViewer.tsx +0 -16
- package/dist/components/common/MultipleSelectAutoCompleteField.tsx +0 -62
- package/dist/components/common/NotFound.tsx +0 -22
- package/dist/components/common/SingleSelectAutoCompleteField.tsx +0 -67
- package/dist/components/common/SocialMediaLogin.tsx +0 -53
- package/dist/components/common/SolidAdmin.tsx +0 -7
- package/dist/components/common/SolidBreadcrumb.tsx +0 -105
- package/dist/components/common/SolidFormHeader.tsx +0 -22
- package/dist/components/common/SolidFormStepper.tsx +0 -213
- package/dist/components/common/SolidModuleHome.tsx +0 -61
- package/dist/components/common/SolidThemeLink.tsx +0 -5
- package/dist/components/common/SolidThemeProvider.tsx +0 -44
- package/dist/components/common/error.tsx +0 -30
- package/dist/components/core/chatter/SolidChatter.tsx +0 -252
- package/dist/components/core/chatter/SolidChatterDateDivider.tsx +0 -16
- package/dist/components/core/chatter/SolidChatterHeader.tsx +0 -178
- package/dist/components/core/chatter/SolidChatterMessageBox.tsx +0 -165
- package/dist/components/core/chatter/SolidMessageComposer.tsx +0 -145
- package/dist/components/core/common/FilterComponent.tsx +0 -434
- package/dist/components/core/common/LoadDynamicJsxComponent.tsx +0 -70
- package/dist/components/core/common/SolidCreateButton.tsx +0 -17
- package/dist/components/core/common/SolidGlobalSearchElement.tsx +0 -843
- package/dist/components/core/common/SolidLayoutViews.tsx +0 -87
- package/dist/components/core/common/SolidListViewOptions.tsx +0 -31
- package/dist/components/core/common/SolidSaveCustomFilterForm.tsx +0 -74
- package/dist/components/core/common/SolidSearchBox.tsx +0 -17
- package/dist/components/core/common/SolidViewLayoutManager.ts +0 -85
- package/dist/components/core/extension/solid-core/emailTemplate/emailFormTypeChangeHandler.ts +0 -18
- package/dist/components/core/extension/solid-core/emailTemplate/emailFormTypeLoad.ts +0 -18
- package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.tsx +0 -59
- package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.tsx +0 -38
- package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.tsx +0 -123
- package/dist/components/core/field/FieldListViewData.tsx +0 -312
- package/dist/components/core/filter/SolidFilterFields.tsx +0 -128
- package/dist/components/core/filter/SolidManyToOneFilterElement.tsx +0 -60
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.tsx +0 -50
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.tsx +0 -32
- package/dist/components/core/filter/SolidVarInputsFilterElement.tsx +0 -180
- package/dist/components/core/filter/fields/SolidBigintField.tsx +0 -9
- package/dist/components/core/filter/fields/SolidBooleanField.tsx +0 -50
- package/dist/components/core/filter/fields/SolidComputedField.tsx +0 -23
- package/dist/components/core/filter/fields/SolidDateField.tsx +0 -58
- package/dist/components/core/filter/fields/SolidDatetimeField.tsx +0 -51
- package/dist/components/core/filter/fields/SolidDecimalField.tsx +0 -9
- package/dist/components/core/filter/fields/SolidExternalIdField.tsx +0 -46
- package/dist/components/core/filter/fields/SolidFloatField.tsx +0 -9
- package/dist/components/core/filter/fields/SolidIdField.tsx +0 -46
- package/dist/components/core/filter/fields/SolidIntField.tsx +0 -56
- package/dist/components/core/filter/fields/SolidLongTextField.tsx +0 -9
- package/dist/components/core/filter/fields/SolidMediaMultipleField.tsx +0 -54
- package/dist/components/core/filter/fields/SolidMediaSingleField.tsx +0 -56
- package/dist/components/core/filter/fields/SolidRelationField.tsx +0 -13
- package/dist/components/core/filter/fields/SolidRichTextField.tsx +0 -9
- package/dist/components/core/filter/fields/SolidSelectionDynamicField.tsx +0 -46
- package/dist/components/core/filter/fields/SolidSelectionStaticField.tsx +0 -48
- package/dist/components/core/filter/fields/SolidShortTextField.tsx +0 -54
- package/dist/components/core/filter/fields/SolidTimeField.tsx +0 -45
- package/dist/components/core/filter/fields/SolidUuidField.tsx +0 -45
- package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.tsx +0 -80
- package/dist/components/core/form/SolidFormActionHeader.tsx +0 -216
- package/dist/components/core/form/SolidFormLayouts.tsx +0 -104
- package/dist/components/core/form/SolidFormUserViewLayout.tsx +0 -85
- package/dist/components/core/form/SolidFormView.tsx +0 -1129
- package/dist/components/core/form/fields/ISolidField.tsx +0 -69
- package/dist/components/core/form/fields/SolidBooleanField.tsx +0 -269
- package/dist/components/core/form/fields/SolidDateField.tsx +0 -153
- package/dist/components/core/form/fields/SolidDateTimeField.tsx +0 -154
- package/dist/components/core/form/fields/SolidDecimalField.tsx +0 -155
- package/dist/components/core/form/fields/SolidEmailField.tsx +0 -168
- package/dist/components/core/form/fields/SolidIntegerField.tsx +0 -158
- package/dist/components/core/form/fields/SolidJsonField.tsx +0 -173
- package/dist/components/core/form/fields/SolidLongTextField.tsx +0 -161
- package/dist/components/core/form/fields/SolidMediaMultipleField.tsx +0 -639
- package/dist/components/core/form/fields/SolidMediaSingleField.tsx +0 -522
- package/dist/components/core/form/fields/SolidPasswordField.tsx +0 -187
- package/dist/components/core/form/fields/SolidRelationField.tsx +0 -54
- package/dist/components/core/form/fields/SolidRichTextField.tsx +0 -177
- package/dist/components/core/form/fields/SolidSelectionDynamicField.tsx +0 -204
- package/dist/components/core/form/fields/SolidSelectionStaticField.tsx +0 -272
- package/dist/components/core/form/fields/SolidShortTextField.tsx +0 -208
- package/dist/components/core/form/fields/SolidTimeField.tsx +0 -147
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +0 -309
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.tsx +0 -291
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.tsx +0 -311
- package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.tsx +0 -33
- package/dist/components/core/form/fields/relations/widgets/helpers/useRelationEntityHandler.ts +0 -64
- package/dist/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.tsx +0 -46
- package/dist/components/core/form/widgets/CustomHtml.tsx +0 -19
- package/dist/components/core/kanban/KanbanBoard.tsx +0 -131
- package/dist/components/core/kanban/KanbanCard.tsx +0 -255
- package/dist/components/core/kanban/KanbanColumn.tsx +0 -139
- package/dist/components/core/kanban/KanbanUserViewLayout.tsx +0 -85
- package/dist/components/core/kanban/SolidKanbanView.tsx +0 -803
- package/dist/components/core/kanban/SolidKanbanViewConfigure.tsx +0 -146
- package/dist/components/core/kanban/SolidKanbanViewFields.tsx +0 -164
- package/dist/components/core/kanban/SolidManyToOneFilterElement.tsx +0 -59
- package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.tsx +0 -50
- package/dist/components/core/kanban/SolidSelectionStaticFilterElement.tsx +0 -32
- package/dist/components/core/kanban/SolidVarInputsFilterElement.tsx +0 -184
- package/dist/components/core/kanban/kanban-fields/SolidBigintKanbanField.tsx +0 -9
- package/dist/components/core/kanban/kanban-fields/SolidBooleanKanbanField.tsx +0 -13
- package/dist/components/core/kanban/kanban-fields/SolidComputedKanbanField.tsx +0 -23
- package/dist/components/core/kanban/kanban-fields/SolidDateKanbanField.tsx +0 -14
- package/dist/components/core/kanban/kanban-fields/SolidDatetimeKanbanField.tsx +0 -13
- package/dist/components/core/kanban/kanban-fields/SolidDecimalKanbanField.tsx +0 -9
- package/dist/components/core/kanban/kanban-fields/SolidExternalIdKanbanField.tsx +0 -12
- package/dist/components/core/kanban/kanban-fields/SolidFloatKanbanField.tsx +0 -9
- package/dist/components/core/kanban/kanban-fields/SolidIdKanbanField.tsx +0 -14
- package/dist/components/core/kanban/kanban-fields/SolidIntKanbanField.tsx +0 -20
- package/dist/components/core/kanban/kanban-fields/SolidLongTextKanbanField.tsx +0 -9
- package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.tsx +0 -136
- package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.tsx +0 -158
- package/dist/components/core/kanban/kanban-fields/SolidRelationKanbanField.tsx +0 -13
- package/dist/components/core/kanban/kanban-fields/SolidRichTextKanbanField.tsx +0 -9
- package/dist/components/core/kanban/kanban-fields/SolidSelectionDynamicKanbanField.tsx +0 -13
- package/dist/components/core/kanban/kanban-fields/SolidSelectionStaticKanbanField.tsx +0 -14
- package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.tsx +0 -121
- package/dist/components/core/kanban/kanban-fields/SolidTimeKanbanField.tsx +0 -12
- package/dist/components/core/kanban/kanban-fields/SolidUuidKanbanField.tsx +0 -13
- package/dist/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.tsx +0 -16
- package/dist/components/core/list/ListViewRowActionPopup.tsx +0 -42
- package/dist/components/core/list/SolidEmptyListViewPlaceholder.tsx +0 -41
- package/dist/components/core/list/SolidListColumnSelector.tsx +0 -167
- package/dist/components/core/list/SolidListView.tsx +0 -981
- package/dist/components/core/list/SolidListViewColumn.tsx +0 -165
- package/dist/components/core/list/SolidListViewConfigure.tsx +0 -198
- package/dist/components/core/list/SolidListViewShimmerLoading.tsx +0 -77
- package/dist/components/core/list/SolidListingHeader.tsx +0 -42
- package/dist/components/core/list/SolidManyToOneFilterElement.tsx +0 -59
- package/dist/components/core/list/SolidSelectionDynamicFilterElement.tsx +0 -50
- package/dist/components/core/list/SolidSelectionStaticFilterElement.tsx +0 -32
- package/dist/components/core/list/SolidTableRowCell.tsx +0 -12
- package/dist/components/core/list/SolidVarInputsFilterElement.tsx +0 -184
- package/dist/components/core/list/columns/SolidBigintColumn.tsx +0 -9
- package/dist/components/core/list/columns/SolidBooleanColumn.tsx +0 -89
- package/dist/components/core/list/columns/SolidComputedColumn.tsx +0 -23
- package/dist/components/core/list/columns/SolidDateColumn.tsx +0 -90
- package/dist/components/core/list/columns/SolidDatetimeColumn.tsx +0 -79
- package/dist/components/core/list/columns/SolidDecimalColumn.tsx +0 -9
- package/dist/components/core/list/columns/SolidExternalIdColumn.tsx +0 -80
- package/dist/components/core/list/columns/SolidFloatColumn.tsx +0 -9
- package/dist/components/core/list/columns/SolidIdColumn.tsx +0 -79
- package/dist/components/core/list/columns/SolidIntColumn.tsx +0 -87
- package/dist/components/core/list/columns/SolidLongTextColumn.tsx +0 -9
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.tsx +0 -100
- package/dist/components/core/list/columns/SolidMediaSingleColumn.tsx +0 -98
- package/dist/components/core/list/columns/SolidRelationColumn.tsx +0 -20
- package/dist/components/core/list/columns/SolidRichTextColumn.tsx +0 -9
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.tsx +0 -80
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.tsx +0 -81
- package/dist/components/core/list/columns/SolidShortTextColumn.tsx +0 -103
- package/dist/components/core/list/columns/SolidTimeColumn.tsx +0 -78
- package/dist/components/core/list/columns/SolidUuidColumn.tsx +0 -79
- package/dist/components/core/list/columns/relations/SolidRelationManyToManyColumn.tsx +0 -110
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx +0 -95
- package/dist/components/core/list/columns/relations/SolidRelationOneToManyColumn.tsx +0 -111
- package/dist/components/core/list/widgets/SolidRelationAvatarWidget.tsx +0 -89
- package/dist/components/core/list/widgets/SolidShortTextAvatarWidget.tsx +0 -58
- package/dist/components/core/list/widgets/SolidShortTextFieldImageRenderModeWidget.tsx +0 -21
- package/dist/components/core/model/CreateModel.tsx +0 -476
- package/dist/components/core/model/FieldMetaData.tsx +0 -193
- package/dist/components/core/model/FieldMetaDataForm.tsx +0 -3048
- package/dist/components/core/model/FieldSelector.tsx +0 -62
- package/dist/components/core/model/ModelListViewData.tsx +0 -383
- package/dist/components/core/model/ModelMetaData.tsx +0 -840
- package/dist/components/core/module/CreateModule.tsx +0 -620
- package/dist/components/core/module/ModuleListViewData.tsx +0 -429
- package/dist/components/core/users/CreateUser.tsx +0 -436
- package/dist/components/core/users/CreateUserRole.tsx +0 -211
- package/dist/components/core/users/UserListView.tsx +0 -374
- package/dist/components/layout/AdminLayout.tsx +0 -62
- package/dist/components/layout/AdminSidebar.tsx +0 -65
- package/dist/components/layout/AppConfig.tsx +0 -104
- package/dist/components/layout/AppSidebar.tsx +0 -225
- package/dist/components/layout/ButtonLoader.tsx +0 -7
- package/dist/components/layout/CustomPagination.tsx +0 -55
- package/dist/components/layout/DashboardHeader.tsx +0 -89
- package/dist/components/layout/FilterMenu.tsx +0 -122
- package/dist/components/layout/Footer.tsx +0 -13
- package/dist/components/layout/GlobalSearch.tsx +0 -37
- package/dist/components/layout/Header.tsx +0 -8
- package/dist/components/layout/Layout.tsx +0 -136
- package/dist/components/layout/ListingHeader.tsx +0 -204
- package/dist/components/layout/Loader.tsx +0 -16
- package/dist/components/layout/UserSidebar.tsx +0 -53
- package/dist/components/layout/context/layoutcontext.tsx +0 -52
- package/dist/components/layout/navbar-one.tsx +0 -258
- package/dist/components/layout/navbar-two-menu.tsx +0 -73
- package/dist/components/layout/navbar-two.tsx +0 -37
- package/dist/components/layout/user-profile-menu.tsx +0 -120
- package/dist/components/layout/user-profile.tsx +0 -7
- package/dist/components/modelsComponents/filterIcon.tsx +0 -9
- package/dist/components/tables/DemoData.tsx +0 -318
- package/dist/components/tables/DynamicTable.tsx +0 -56
- package/dist/components/tables/ListViewTable.tsx +0 -156
- package/dist/helpers/AppTitle.tsx +0 -12
- package/dist/helpers/ToastContainer.tsx +0 -93
- package/dist/helpers/authHeader.ts +0 -20
- package/dist/helpers/countries.tsx +0 -260
- package/dist/helpers/downloadMediaFile.tsx +0 -19
- package/dist/helpers/getAcceptedFileTypes.tsx +0 -22
- package/dist/helpers/getRandomColors.tsx +0 -68
- package/dist/helpers/helpers.ts +0 -40
- package/dist/helpers/menu.tsx +0 -670
- package/dist/helpers/permissions.ts +0 -19
- package/dist/helpers/registry.ts +0 -173
- package/dist/helpers/revalidate.ts +0 -7
- package/dist/index.ts +0 -642
- package/dist/nextAuth/authProviders.tsx +0 -221
- package/dist/nextAuth/refreshAccessToken.tsx +0 -27
- package/dist/redux/api/articleApi.ts +0 -55
- package/dist/redux/api/authApi.ts +0 -131
- package/dist/redux/api/automationApi.ts +0 -55
- package/dist/redux/api/categoryApi.tsx +0 -46
- package/dist/redux/api/cityApi.tsx +0 -56
- package/dist/redux/api/cmsBannerImageApi.tsx +0 -55
- package/dist/redux/api/countryApi.tsx +0 -56
- package/dist/redux/api/fetchBaseQuery.tsx +0 -15
- package/dist/redux/api/fieldApi.ts +0 -78
- package/dist/redux/api/mediaApi.ts +0 -55
- package/dist/redux/api/mediaStorageProviderApi.ts +0 -55
- package/dist/redux/api/menuApi.tsx +0 -55
- package/dist/redux/api/menuItemsApi.tsx +0 -56
- package/dist/redux/api/modelApi.ts +0 -77
- package/dist/redux/api/moduleApi.ts +0 -72
- package/dist/redux/api/orderAttributeApi.tsx +0 -37
- package/dist/redux/api/permissionApi.ts +0 -32
- package/dist/redux/api/pincodeApi.tsx +0 -56
- package/dist/redux/api/productData.tsx +0 -87
- package/dist/redux/api/radixExtraModelAttributeApi.tsx +0 -37
- package/dist/redux/api/radixModelMetadataApi.tsx +0 -62
- package/dist/redux/api/radixModelsApi.tsx +0 -64
- package/dist/redux/api/ratingApi.ts +0 -55
- package/dist/redux/api/reviewApi.ts +0 -55
- package/dist/redux/api/roleApi.ts +0 -58
- package/dist/redux/api/solidActionApi.ts +0 -66
- package/dist/redux/api/solidChatterMessageApi.ts +0 -30
- package/dist/redux/api/solidEntityApi.tsx +0 -110
- package/dist/redux/api/solidMenuApi.ts +0 -71
- package/dist/redux/api/solidSettingsApi.tsx +0 -55
- package/dist/redux/api/solidViewApi.ts +0 -73
- package/dist/redux/api/stateApi.tsx +0 -56
- package/dist/redux/api/tagApi.ts +0 -55
- package/dist/redux/api/tagGroupApi.tsx +0 -55
- package/dist/redux/api/testApi.ts +0 -21
- package/dist/redux/api/userApi.ts +0 -120
- package/dist/redux/features/authSlice.ts +0 -19
- package/dist/redux/features/dataViewSlice.ts +0 -26
- package/dist/redux/features/navbarSlice.ts +0 -21
- package/dist/redux/features/popupSlice.ts +0 -27
- package/dist/redux/features/themeSlice.ts +0 -17
- package/dist/redux/features/userSlice.ts +0 -28
- package/src/components/CustomFooter/CustomFooter.tsx +0 -264
- package/src/components/CustomFooter/FooterForm.tsx +0 -19
- package/src/components/CustomHeader/CallIcon.tsx +0 -20
- package/src/components/CustomHeader/CustomDropdown.tsx +0 -175
- package/src/components/CustomHeader/CustomHeader.tsx +0 -64
- package/src/components/CustomHeader/EmailIcon.tsx +0 -12
- package/src/components/CustomHeader/HeaderCart.tsx +0 -15
- package/src/components/CustomHeader/productNavData.tsx +0 -180
- package/src/components/FormView/DetailsViews.tsx +0 -46
- package/src/components/FormView/OrderAddressDetails.tsx +0 -70
- package/src/components/FormView/OrderPaymentDetails.tsx +0 -18
- package/src/components/FormView/OrderTableDetails.tsx +0 -36
- package/src/components/FormView/OrderedProductDetail.tsx +0 -22
- package/src/components/Svg/ExcelSvg.tsx +0 -15
- package/src/components/Svg/FileSvg.tsx +0 -19
- package/src/components/Svg/PDFSvg.tsx +0 -15
- package/src/components/Svg/RightArrowSvg.tsx +0 -9
- package/src/components/Tag/CustomTag.tsx +0 -50
- package/src/components/auth/AuthLayout.tsx +0 -140
- package/src/components/auth/ForgotPasswordThankYou.tsx +0 -48
- package/src/components/auth/GoogleAuthChecking.tsx +0 -60
- package/src/components/auth/Login.tsx +0 -155
- package/src/components/auth/Register.tsx +0 -239
- package/src/components/auth/SolidChangeForcePassword.tsx +0 -145
- package/src/components/auth/SolidForgotPassword.tsx +0 -125
- package/src/components/auth/SolidInitialLoginOtp.tsx +0 -152
- package/src/components/auth/SolidInitiateRegisterOtp.tsx +0 -141
- package/src/components/auth/SolidLogin.tsx +0 -275
- package/src/components/auth/SolidOTPVerify.tsx +0 -132
- package/src/components/auth/SolidRegister.tsx +0 -348
- package/src/components/auth/SolidResetPassword.tsx +0 -162
- package/src/components/common/AuthBanner.tsx +0 -41
- package/src/components/common/AutoCompleteField.tsx +0 -76
- package/src/components/common/BackButton.tsx +0 -27
- package/src/components/common/CancelButton.tsx +0 -48
- package/src/components/common/CodeEditor.tsx +0 -26
- package/src/components/common/CreateButton.tsx +0 -17
- package/src/components/common/DropzonePlaceholder.tsx +0 -31
- package/src/components/common/DropzoneUpload.tsx +0 -11
- package/src/components/common/FileReaderExt.tsx +0 -20
- package/src/components/common/GeneralSettings.tsx +0 -414
- package/src/components/common/HeaderDynamicTitles.tsx +0 -13
- package/src/components/common/MarkdownViewer.tsx +0 -16
- package/src/components/common/MultipleSelectAutoCompleteField.tsx +0 -62
- package/src/components/common/NotFound.tsx +0 -22
- package/src/components/common/SingleSelectAutoCompleteField.tsx +0 -67
- package/src/components/common/SocialMediaLogin.tsx +0 -53
- package/src/components/common/SolidAdmin.tsx +0 -7
- package/src/components/common/SolidBreadcrumb.tsx +0 -105
- package/src/components/common/SolidFormHeader.tsx +0 -22
- package/src/components/common/SolidFormStepper.tsx +0 -213
- package/src/components/common/SolidModuleHome.tsx +0 -61
- package/src/components/common/SolidThemeLink.tsx +0 -5
- package/src/components/common/SolidThemeProvider.tsx +0 -44
- package/src/components/common/error.tsx +0 -30
- package/src/components/core/chatter/SolidChatter.tsx +0 -252
- package/src/components/core/chatter/SolidChatterDateDivider.tsx +0 -16
- package/src/components/core/chatter/SolidChatterHeader.tsx +0 -178
- package/src/components/core/chatter/SolidChatterMessageBox.tsx +0 -165
- package/src/components/core/chatter/SolidMessageComposer.tsx +0 -145
- package/src/components/core/common/FilterComponent.tsx +0 -434
- package/src/components/core/common/LoadDynamicJsxComponent.tsx +0 -70
- package/src/components/core/common/SolidCreateButton.tsx +0 -17
- package/src/components/core/common/SolidGlobalSearchElement.tsx +0 -843
- package/src/components/core/common/SolidLayoutViews.tsx +0 -87
- package/src/components/core/common/SolidListViewOptions.tsx +0 -31
- package/src/components/core/common/SolidSaveCustomFilterForm.tsx +0 -74
- package/src/components/core/common/SolidSearchBox.tsx +0 -17
- package/src/components/core/common/SolidViewLayoutManager.ts +0 -85
- package/src/components/core/extension/solid-core/emailTemplate/emailFormTypeChangeHandler.ts +0 -18
- package/src/components/core/extension/solid-core/emailTemplate/emailFormTypeLoad.ts +0 -18
- package/src/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.tsx +0 -59
- package/src/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.tsx +0 -38
- package/src/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.tsx +0 -123
- package/src/components/core/field/FieldListViewData.tsx +0 -312
- package/src/components/core/filter/SolidFilterFields.tsx +0 -128
- package/src/components/core/filter/SolidManyToOneFilterElement.tsx +0 -60
- package/src/components/core/filter/SolidSelectionDynamicFilterElement.tsx +0 -50
- package/src/components/core/filter/SolidSelectionStaticFilterElement.tsx +0 -32
- package/src/components/core/filter/SolidVarInputsFilterElement.tsx +0 -180
- package/src/components/core/filter/fields/SolidBigintField.tsx +0 -9
- package/src/components/core/filter/fields/SolidBooleanField.tsx +0 -50
- package/src/components/core/filter/fields/SolidComputedField.tsx +0 -23
- package/src/components/core/filter/fields/SolidDateField.tsx +0 -58
- package/src/components/core/filter/fields/SolidDatetimeField.tsx +0 -51
- package/src/components/core/filter/fields/SolidDecimalField.tsx +0 -9
- package/src/components/core/filter/fields/SolidExternalIdField.tsx +0 -46
- package/src/components/core/filter/fields/SolidFloatField.tsx +0 -9
- package/src/components/core/filter/fields/SolidIdField.tsx +0 -46
- package/src/components/core/filter/fields/SolidIntField.tsx +0 -56
- package/src/components/core/filter/fields/SolidLongTextField.tsx +0 -9
- package/src/components/core/filter/fields/SolidMediaMultipleField.tsx +0 -54
- package/src/components/core/filter/fields/SolidMediaSingleField.tsx +0 -56
- package/src/components/core/filter/fields/SolidRelationField.tsx +0 -13
- package/src/components/core/filter/fields/SolidRichTextField.tsx +0 -9
- package/src/components/core/filter/fields/SolidSelectionDynamicField.tsx +0 -46
- package/src/components/core/filter/fields/SolidSelectionStaticField.tsx +0 -48
- package/src/components/core/filter/fields/SolidShortTextField.tsx +0 -54
- package/src/components/core/filter/fields/SolidTimeField.tsx +0 -45
- package/src/components/core/filter/fields/SolidUuidField.tsx +0 -45
- package/src/components/core/filter/fields/relations/SolidRelationManyToOneField.tsx +0 -80
- package/src/components/core/form/SolidFormActionHeader.tsx +0 -216
- package/src/components/core/form/SolidFormLayouts.tsx +0 -104
- package/src/components/core/form/SolidFormUserViewLayout.tsx +0 -85
- package/src/components/core/form/SolidFormView.tsx +0 -1129
- package/src/components/core/form/fields/ISolidField.tsx +0 -69
- package/src/components/core/form/fields/SolidBooleanField.tsx +0 -269
- package/src/components/core/form/fields/SolidDateField.tsx +0 -153
- package/src/components/core/form/fields/SolidDateTimeField.tsx +0 -154
- package/src/components/core/form/fields/SolidDecimalField.tsx +0 -155
- package/src/components/core/form/fields/SolidEmailField.tsx +0 -168
- package/src/components/core/form/fields/SolidIntegerField.tsx +0 -158
- package/src/components/core/form/fields/SolidJsonField.tsx +0 -173
- package/src/components/core/form/fields/SolidLongTextField.tsx +0 -161
- package/src/components/core/form/fields/SolidMediaMultipleField.tsx +0 -639
- package/src/components/core/form/fields/SolidMediaSingleField.tsx +0 -522
- package/src/components/core/form/fields/SolidPasswordField.tsx +0 -187
- package/src/components/core/form/fields/SolidRelationField.tsx +0 -54
- package/src/components/core/form/fields/SolidRichTextField.tsx +0 -177
- package/src/components/core/form/fields/SolidSelectionDynamicField.tsx +0 -204
- package/src/components/core/form/fields/SolidSelectionStaticField.tsx +0 -272
- package/src/components/core/form/fields/SolidShortTextField.tsx +0 -208
- package/src/components/core/form/fields/SolidTimeField.tsx +0 -147
- package/src/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +0 -309
- package/src/components/core/form/fields/relations/SolidRelationManyToOneField.tsx +0 -291
- package/src/components/core/form/fields/relations/SolidRelationOneToManyField.tsx +0 -311
- package/src/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.tsx +0 -33
- package/src/components/core/form/fields/relations/widgets/helpers/useRelationEntityHandler.ts +0 -64
- package/src/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.tsx +0 -46
- package/src/components/core/form/widgets/CustomHtml.tsx +0 -19
- package/src/components/core/kanban/KanbanBoard.tsx +0 -131
- package/src/components/core/kanban/KanbanCard.tsx +0 -255
- package/src/components/core/kanban/KanbanColumn.tsx +0 -139
- package/src/components/core/kanban/KanbanUserViewLayout.tsx +0 -85
- package/src/components/core/kanban/SolidKanbanView.tsx +0 -803
- package/src/components/core/kanban/SolidKanbanViewConfigure.tsx +0 -146
- package/src/components/core/kanban/SolidKanbanViewFields.tsx +0 -164
- package/src/components/core/kanban/SolidManyToOneFilterElement.tsx +0 -59
- package/src/components/core/kanban/SolidSelectionDynamicFilterElement.tsx +0 -50
- package/src/components/core/kanban/SolidSelectionStaticFilterElement.tsx +0 -32
- package/src/components/core/kanban/SolidVarInputsFilterElement.tsx +0 -184
- package/src/components/core/kanban/kanban-fields/SolidBigintKanbanField.tsx +0 -9
- package/src/components/core/kanban/kanban-fields/SolidBooleanKanbanField.tsx +0 -13
- package/src/components/core/kanban/kanban-fields/SolidComputedKanbanField.tsx +0 -23
- package/src/components/core/kanban/kanban-fields/SolidDateKanbanField.tsx +0 -14
- package/src/components/core/kanban/kanban-fields/SolidDatetimeKanbanField.tsx +0 -13
- package/src/components/core/kanban/kanban-fields/SolidDecimalKanbanField.tsx +0 -9
- package/src/components/core/kanban/kanban-fields/SolidExternalIdKanbanField.tsx +0 -12
- package/src/components/core/kanban/kanban-fields/SolidFloatKanbanField.tsx +0 -9
- package/src/components/core/kanban/kanban-fields/SolidIdKanbanField.tsx +0 -14
- package/src/components/core/kanban/kanban-fields/SolidIntKanbanField.tsx +0 -20
- package/src/components/core/kanban/kanban-fields/SolidLongTextKanbanField.tsx +0 -9
- package/src/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.tsx +0 -136
- package/src/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.tsx +0 -158
- package/src/components/core/kanban/kanban-fields/SolidRelationKanbanField.tsx +0 -13
- package/src/components/core/kanban/kanban-fields/SolidRichTextKanbanField.tsx +0 -9
- package/src/components/core/kanban/kanban-fields/SolidSelectionDynamicKanbanField.tsx +0 -13
- package/src/components/core/kanban/kanban-fields/SolidSelectionStaticKanbanField.tsx +0 -14
- package/src/components/core/kanban/kanban-fields/SolidShortTextKanbanField.tsx +0 -121
- package/src/components/core/kanban/kanban-fields/SolidTimeKanbanField.tsx +0 -12
- package/src/components/core/kanban/kanban-fields/SolidUuidKanbanField.tsx +0 -13
- package/src/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.tsx +0 -16
- package/src/components/core/list/ListViewRowActionPopup.tsx +0 -42
- package/src/components/core/list/SolidEmptyListViewPlaceholder.tsx +0 -41
- package/src/components/core/list/SolidListColumnSelector.tsx +0 -167
- package/src/components/core/list/SolidListView.tsx +0 -981
- package/src/components/core/list/SolidListViewColumn.tsx +0 -165
- package/src/components/core/list/SolidListViewConfigure.tsx +0 -198
- package/src/components/core/list/SolidListViewShimmerLoading.tsx +0 -77
- package/src/components/core/list/SolidListingHeader.tsx +0 -42
- package/src/components/core/list/SolidManyToOneFilterElement.tsx +0 -59
- package/src/components/core/list/SolidSelectionDynamicFilterElement.tsx +0 -50
- package/src/components/core/list/SolidSelectionStaticFilterElement.tsx +0 -32
- package/src/components/core/list/SolidTableRowCell.tsx +0 -12
- package/src/components/core/list/SolidVarInputsFilterElement.tsx +0 -184
- package/src/components/core/list/columns/SolidBigintColumn.tsx +0 -9
- package/src/components/core/list/columns/SolidBooleanColumn.tsx +0 -89
- package/src/components/core/list/columns/SolidComputedColumn.tsx +0 -23
- package/src/components/core/list/columns/SolidDateColumn.tsx +0 -90
- package/src/components/core/list/columns/SolidDatetimeColumn.tsx +0 -79
- package/src/components/core/list/columns/SolidDecimalColumn.tsx +0 -9
- package/src/components/core/list/columns/SolidExternalIdColumn.tsx +0 -80
- package/src/components/core/list/columns/SolidFloatColumn.tsx +0 -9
- package/src/components/core/list/columns/SolidIdColumn.tsx +0 -79
- package/src/components/core/list/columns/SolidIntColumn.tsx +0 -87
- package/src/components/core/list/columns/SolidLongTextColumn.tsx +0 -9
- package/src/components/core/list/columns/SolidMediaMultipleColumn.tsx +0 -100
- package/src/components/core/list/columns/SolidMediaSingleColumn.tsx +0 -98
- package/src/components/core/list/columns/SolidRelationColumn.tsx +0 -20
- package/src/components/core/list/columns/SolidRichTextColumn.tsx +0 -9
- package/src/components/core/list/columns/SolidSelectionDynamicColumn.tsx +0 -80
- package/src/components/core/list/columns/SolidSelectionStaticColumn.tsx +0 -81
- package/src/components/core/list/columns/SolidShortTextColumn.tsx +0 -103
- package/src/components/core/list/columns/SolidTimeColumn.tsx +0 -78
- package/src/components/core/list/columns/SolidUuidColumn.tsx +0 -79
- package/src/components/core/list/columns/relations/SolidRelationManyToManyColumn.tsx +0 -110
- package/src/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx +0 -95
- package/src/components/core/list/columns/relations/SolidRelationOneToManyColumn.tsx +0 -111
- package/src/components/core/list/widgets/SolidRelationAvatarWidget.tsx +0 -89
- package/src/components/core/list/widgets/SolidShortTextAvatarWidget.tsx +0 -58
- package/src/components/core/list/widgets/SolidShortTextFieldImageRenderModeWidget.tsx +0 -21
- package/src/components/core/model/CreateModel.tsx +0 -476
- package/src/components/core/model/FieldMetaData.tsx +0 -193
- package/src/components/core/model/FieldMetaDataForm.tsx +0 -3048
- package/src/components/core/model/FieldSelector.tsx +0 -62
- package/src/components/core/model/ModelListViewData.tsx +0 -383
- package/src/components/core/model/ModelMetaData.tsx +0 -840
- package/src/components/core/module/CreateModule.tsx +0 -620
- package/src/components/core/module/ModuleListViewData.tsx +0 -429
- package/src/components/core/users/CreateUser.tsx +0 -436
- package/src/components/core/users/CreateUserRole.tsx +0 -211
- package/src/components/core/users/UserListView.tsx +0 -374
- package/src/components/layout/AdminLayout.tsx +0 -62
- package/src/components/layout/AdminSidebar.tsx +0 -65
- package/src/components/layout/AppConfig.tsx +0 -104
- package/src/components/layout/AppSidebar.tsx +0 -225
- package/src/components/layout/ButtonLoader.tsx +0 -7
- package/src/components/layout/CustomPagination.tsx +0 -55
- package/src/components/layout/DashboardHeader.tsx +0 -89
- package/src/components/layout/FilterMenu.tsx +0 -122
- package/src/components/layout/Footer.tsx +0 -13
- package/src/components/layout/GlobalSearch.tsx +0 -37
- package/src/components/layout/Header.tsx +0 -8
- package/src/components/layout/Layout.tsx +0 -136
- package/src/components/layout/ListingHeader.tsx +0 -204
- package/src/components/layout/Loader.tsx +0 -16
- package/src/components/layout/UserSidebar.tsx +0 -53
- package/src/components/layout/context/layoutcontext.tsx +0 -52
- package/src/components/layout/navbar-one.tsx +0 -258
- package/src/components/layout/navbar-two-menu.tsx +0 -73
- package/src/components/layout/navbar-two.tsx +0 -37
- package/src/components/layout/user-profile-menu.tsx +0 -120
- package/src/components/layout/user-profile.tsx +0 -7
- package/src/components/modelsComponents/filterIcon.tsx +0 -9
- package/src/components/tables/DemoData.tsx +0 -318
- package/src/components/tables/DynamicTable.tsx +0 -56
- package/src/components/tables/ListViewTable.tsx +0 -156
- package/src/helpers/AppTitle.tsx +0 -12
- package/src/helpers/ToastContainer.tsx +0 -93
- package/src/helpers/authHeader.ts +0 -20
- package/src/helpers/countries.tsx +0 -260
- package/src/helpers/downloadMediaFile.tsx +0 -19
- package/src/helpers/getAcceptedFileTypes.tsx +0 -22
- package/src/helpers/getRandomColors.tsx +0 -68
- package/src/helpers/helpers.ts +0 -40
- package/src/helpers/menu.tsx +0 -670
- package/src/helpers/permissions.ts +0 -19
- package/src/helpers/registry.ts +0 -173
- package/src/helpers/revalidate.ts +0 -7
- package/src/index.ts +0 -642
- package/src/nextAuth/authProviders.tsx +0 -221
- package/src/nextAuth/refreshAccessToken.tsx +0 -27
- package/src/redux/api/articleApi.ts +0 -55
- package/src/redux/api/authApi.ts +0 -131
- package/src/redux/api/automationApi.ts +0 -55
- package/src/redux/api/categoryApi.tsx +0 -46
- package/src/redux/api/cityApi.tsx +0 -56
- package/src/redux/api/cmsBannerImageApi.tsx +0 -55
- package/src/redux/api/countryApi.tsx +0 -56
- package/src/redux/api/fetchBaseQuery.tsx +0 -15
- package/src/redux/api/fieldApi.ts +0 -78
- package/src/redux/api/mediaApi.ts +0 -55
- package/src/redux/api/mediaStorageProviderApi.ts +0 -55
- package/src/redux/api/menuApi.tsx +0 -55
- package/src/redux/api/menuItemsApi.tsx +0 -56
- package/src/redux/api/modelApi.ts +0 -77
- package/src/redux/api/moduleApi.ts +0 -72
- package/src/redux/api/orderAttributeApi.tsx +0 -37
- package/src/redux/api/permissionApi.ts +0 -32
- package/src/redux/api/pincodeApi.tsx +0 -56
- package/src/redux/api/productData.tsx +0 -87
- package/src/redux/api/radixExtraModelAttributeApi.tsx +0 -37
- package/src/redux/api/radixModelMetadataApi.tsx +0 -62
- package/src/redux/api/radixModelsApi.tsx +0 -64
- package/src/redux/api/ratingApi.ts +0 -55
- package/src/redux/api/reviewApi.ts +0 -55
- package/src/redux/api/roleApi.ts +0 -58
- package/src/redux/api/solidActionApi.ts +0 -66
- package/src/redux/api/solidChatterMessageApi.ts +0 -30
- package/src/redux/api/solidEntityApi.tsx +0 -110
- package/src/redux/api/solidMenuApi.ts +0 -71
- package/src/redux/api/solidSettingsApi.tsx +0 -55
- package/src/redux/api/solidViewApi.ts +0 -73
- package/src/redux/api/stateApi.tsx +0 -56
- package/src/redux/api/tagApi.ts +0 -55
- package/src/redux/api/tagGroupApi.tsx +0 -55
- package/src/redux/api/testApi.ts +0 -21
- package/src/redux/api/userApi.ts +0 -120
- package/src/redux/features/authSlice.ts +0 -19
- package/src/redux/features/dataViewSlice.ts +0 -26
- package/src/redux/features/navbarSlice.ts +0 -21
- package/src/redux/features/popupSlice.ts +0 -27
- package/src/redux/features/themeSlice.ts +0 -17
- package/src/redux/features/userSlice.ts +0 -28
|
@@ -1,175 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { PrimaryDataProps } from "./CustomDropdown";
|
|
3
|
-
|
|
4
|
-
export const ProductNavData: PrimaryDataProps[] = [
|
|
5
|
-
{
|
|
6
|
-
id: 1,
|
|
7
|
-
title: "Temperature",
|
|
8
|
-
icon: '/images/Navigation/Temperature.svg',
|
|
9
|
-
subProducts: [
|
|
10
|
-
{
|
|
11
|
-
id: 1,
|
|
12
|
-
title: "Level 11 PID Temperature Controllers",
|
|
13
|
-
subProducts: [
|
|
14
|
-
{
|
|
15
|
-
id: 1,
|
|
16
|
-
title: "Level 112 PID Temperature Controllers - Mid Range",
|
|
17
|
-
slug: 'PID Temperature Controllers - Mid Range'
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
id: 2,
|
|
21
|
-
title: "Level 113 PID Temperature Controllers - Value Range",
|
|
22
|
-
slug: 'PID Temperature Controllers - Value Range'
|
|
23
|
-
},
|
|
24
|
-
],
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
id: 2,
|
|
28
|
-
title: "Level 22 Temperature Transmitters",
|
|
29
|
-
subProducts: [
|
|
30
|
-
{
|
|
31
|
-
id: 1,
|
|
32
|
-
title: "Level 212 PID Temperature Controllers - Mid Range",
|
|
33
|
-
slug: 'PID Temperature Controllers - Mid Range'
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
id: 2,
|
|
37
|
-
title: "Level 213 PID Temperature Controllers - Value Range",
|
|
38
|
-
slug: 'PID Temperature Controllers - Value Range'
|
|
39
|
-
},
|
|
40
|
-
],
|
|
41
|
-
},
|
|
42
|
-
],
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
id: 2,
|
|
46
|
-
title: "Level",
|
|
47
|
-
icon: '/images/Navigation/Level.svg',
|
|
48
|
-
subProducts: [
|
|
49
|
-
{
|
|
50
|
-
id: 1,
|
|
51
|
-
title: "Level 33 PID Temperature Controllers",
|
|
52
|
-
subProducts: [
|
|
53
|
-
{
|
|
54
|
-
id: 1,
|
|
55
|
-
title: "Level 312 PID Temperature Controllers - Mid Range",
|
|
56
|
-
slug: 'PID Temperature Controllers - Mid Range'
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
id: 2,
|
|
60
|
-
title: "Level 313 PID Temperature Controllers - Value Range",
|
|
61
|
-
slug: 'PID Temperature Controllers - Value Range'
|
|
62
|
-
},
|
|
63
|
-
],
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
id: 2,
|
|
67
|
-
title: "Level 44 Temperature Transmitters",
|
|
68
|
-
subProducts: [
|
|
69
|
-
{
|
|
70
|
-
id: 1,
|
|
71
|
-
title: "Level 412 PID Temperature Controllers - Mid Range",
|
|
72
|
-
slug: 'PID Temperature Controllers - Mid Range'
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
id: 2,
|
|
76
|
-
title: "Level 413 PID Temperature Controllers - Value Range",
|
|
77
|
-
slug: 'PID Temperature Controllers - Value Range'
|
|
78
|
-
},
|
|
79
|
-
],
|
|
80
|
-
},
|
|
81
|
-
],
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
id: 3,
|
|
85
|
-
title: "Pressure",
|
|
86
|
-
icon: '/images/Navigation/Presure.svg',
|
|
87
|
-
subProducts: [],
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
id: 4,
|
|
91
|
-
title: "Flow",
|
|
92
|
-
icon: '/images/Navigation/Temperature.svg',
|
|
93
|
-
subProducts: [],
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
id: 5,
|
|
97
|
-
title: "BAS & HVAC",
|
|
98
|
-
icon: '/images/Navigation/Level.svg',
|
|
99
|
-
subProducts: [],
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
id: 6,
|
|
103
|
-
title: "RTDs",
|
|
104
|
-
icon: '/images/Navigation/Presure.svg',
|
|
105
|
-
subProducts: [],
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
id: 7,
|
|
109
|
-
title: "Thermocouples",
|
|
110
|
-
icon: '/images/Navigation/Temperature.svg',
|
|
111
|
-
subProducts: [],
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
id: 8,
|
|
115
|
-
title: "PID Controllers",
|
|
116
|
-
icon: '/images/Navigation/Level.svg',
|
|
117
|
-
subProducts: [],
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
id: 9,
|
|
121
|
-
title: "Pressure & Temperature Gauges",
|
|
122
|
-
icon: '/images/Navigation/Presure.svg',
|
|
123
|
-
subProducts: [],
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
id: 10,
|
|
127
|
-
title: "Digital Panel Meters",
|
|
128
|
-
icon: '/images/Navigation/Temperature.svg',
|
|
129
|
-
subProducts: [],
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
id: 11,
|
|
133
|
-
title: "Temperature Transmitters",
|
|
134
|
-
icon: '/images/Navigation/Level.svg',
|
|
135
|
-
subProducts: [],
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
id: 12,
|
|
139
|
-
title: "Signal Isolators ",
|
|
140
|
-
icon: '/images/Navigation/Presure.svg',
|
|
141
|
-
subProducts: [],
|
|
142
|
-
},
|
|
143
|
-
|
|
144
|
-
{
|
|
145
|
-
id: 13,
|
|
146
|
-
title: "GPS Clocks",
|
|
147
|
-
icon: '/images/Navigation/Temperature.svg',
|
|
148
|
-
subProducts: [],
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
id: 14,
|
|
152
|
-
title: "SCR Power Regulators",
|
|
153
|
-
icon: '/images/Navigation/Level.svg',
|
|
154
|
-
subProducts: [],
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
id: 15,
|
|
158
|
-
title: "Data Logging Products",
|
|
159
|
-
icon: '/images/Navigation/Presure.svg',
|
|
160
|
-
subProducts: [],
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
id: 16,
|
|
164
|
-
title: "Humidity & Temperature",
|
|
165
|
-
icon: '/images/Navigation/Temperature.svg',
|
|
166
|
-
subProducts: [],
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
id: 17,
|
|
170
|
-
title: "Flow Meters",
|
|
171
|
-
icon: '/images/Navigation/Level.svg',
|
|
172
|
-
subProducts: [],
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
id: 18,
|
|
176
|
-
title: "Pressure",
|
|
177
|
-
icon: '/images/Navigation/Presure.svg',
|
|
178
|
-
subProducts: [],
|
|
179
|
-
},
|
|
180
|
-
]
|
|
@@ -1,46 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
export const OrderAddressDetails = () => {
|
|
4
|
-
const AddressCard = () => {
|
|
5
|
-
return (
|
|
6
|
-
<div>
|
|
7
|
-
<p className='text-sm font-semibold'>
|
|
8
|
-
Rohit
|
|
9
|
-
</p>
|
|
10
|
-
<div className='text-sm font-semibold'>
|
|
11
|
-
Address:
|
|
12
|
-
</div>
|
|
13
|
-
<div className="text-sm max-w-15rem">
|
|
14
|
-
Flat No. 202, Rose Apartments,
|
|
15
|
-
Sector 12, Kandivali (East), Mumbai,
|
|
16
|
-
Maharashtra - 400001, India
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
)
|
|
20
|
-
}
|
|
21
|
-
const orderData = [
|
|
22
|
-
{
|
|
23
|
-
key: 'Order Date',
|
|
24
|
-
value: 'Fri, 3 July 2024'
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
key: 'Order ID',
|
|
28
|
-
value: 'IN2024/14'
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
key: 'Expected Delivery',
|
|
32
|
-
value: 'Fri, 23 Aug 2024'
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
key: 'Tracking id',
|
|
36
|
-
value: 'F25656151651'
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
key: 'Total Amount',
|
|
40
|
-
value: '₹ 1199.00'
|
|
41
|
-
},
|
|
42
|
-
]
|
|
43
|
-
return (
|
|
44
|
-
<div className="grid">
|
|
45
|
-
<div className="col-6">
|
|
46
|
-
<div className="text-sm text-color-secondary">Customer</div>
|
|
47
|
-
<AddressCard />
|
|
48
|
-
<p className="text-sm text-color-secondary">Delivery Address</p>
|
|
49
|
-
<AddressCard />
|
|
50
|
-
<p className='text-sm mb-0'>
|
|
51
|
-
<span className='font-semibold'>Mobile number: </span>+91 95635 02322
|
|
52
|
-
</p>
|
|
53
|
-
</div>
|
|
54
|
-
<div className="col-6">
|
|
55
|
-
<div className='w-5'>
|
|
56
|
-
{orderData.map((order, index) => (
|
|
57
|
-
<div className="grid">
|
|
58
|
-
<div className='col-6 text-sm text-color-secondary'>
|
|
59
|
-
{order.key}:
|
|
60
|
-
</div>
|
|
61
|
-
<div className='col-6 text-sm'>
|
|
62
|
-
{order.value}
|
|
63
|
-
</div>
|
|
64
|
-
</div>
|
|
65
|
-
))}
|
|
66
|
-
</div>
|
|
67
|
-
</div>
|
|
68
|
-
</div>
|
|
69
|
-
)
|
|
70
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
export const OrderPaymentDetails = () => {
|
|
4
|
-
return (
|
|
5
|
-
<div className='p-3 border-round-lg bg-cyan-50'>
|
|
6
|
-
<div className='grid'>
|
|
7
|
-
<div className='md:col-6 sm:col-12'>
|
|
8
|
-
<div className='text-sm text-500 md:w-6 w-full'>Payment Date : <span className='text-color'> Fri, 23 Aug 2024</span></div>
|
|
9
|
-
<div className='text-sm text-500 md:w-6 w-full mt-2'>Transaction ID : <span className='text-color'> IN2024/14</span></div>
|
|
10
|
-
</div>
|
|
11
|
-
<div className='md:col-6 sm:col-12'>
|
|
12
|
-
<div className='text-sm text-500 md:w-6 w-full'>Payment Mode : <span className='text-color'> Fri, 23 Aug 2024</span></div>
|
|
13
|
-
<div className='text-sm text-500 md:w-6 w-full mt-2'>Amount : <span className='text-color'>₹ 1199.00</span></div>
|
|
14
|
-
</div>
|
|
15
|
-
</div>
|
|
16
|
-
</div>
|
|
17
|
-
)
|
|
18
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { Column } from 'primereact/column'
|
|
3
|
-
import { DataTable } from 'primereact/datatable'
|
|
4
|
-
|
|
5
|
-
export const OrderTableDetails = () => {
|
|
6
|
-
const orderedProduct = [{
|
|
7
|
-
id: '1000',
|
|
8
|
-
name: 'EMS for RH, T and DP in Clean Room Area',
|
|
9
|
-
image: 'bamboo-watch.jpg',
|
|
10
|
-
price: 15000,
|
|
11
|
-
taxes: 18,
|
|
12
|
-
quantity: 24,
|
|
13
|
-
discountAmount: 200,
|
|
14
|
-
totalAmount: 17500
|
|
15
|
-
}]
|
|
16
|
-
const productBodyTemplate = (product: any) => {
|
|
17
|
-
return (
|
|
18
|
-
<div className='flex gap-3'>
|
|
19
|
-
<img src={`https://primefaces.org/cdn/primereact/images/product/${product.image}`} alt={product.image} className="w-3rem shadow-2 border-round" />
|
|
20
|
-
<div className='text-sm font-bold'>{product.name}</div>
|
|
21
|
-
</div>
|
|
22
|
-
)
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
const headerClass = "font-normal";
|
|
26
|
-
return (
|
|
27
|
-
<DataTable value={orderedProduct} tableStyle={{ minWidth: '60rem' }}>
|
|
28
|
-
<Column field='products' header="Products" body={productBodyTemplate} headerClassName={headerClass} className='max-w-14rem'></Column>
|
|
29
|
-
<Column field='quantity' header="Quantity" headerClassName={headerClass} className='font-semibold'></Column>
|
|
30
|
-
<Column field='price' header="Price" headerClassName={headerClass} className='font-semibold'></Column>
|
|
31
|
-
<Column field='taxes' header="Taxes(%)" headerClassName={headerClass} className='font-semibold'></Column>
|
|
32
|
-
<Column field='discountAmount' header="Discount Amount" headerClassName={headerClass} className='font-semibold'></Column>
|
|
33
|
-
<Column field='totalAmount' header="Total Amount" headerClassName={headerClass} className='font-semibold'></Column>
|
|
34
|
-
</DataTable>
|
|
35
|
-
)
|
|
36
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
export const OrderedProductDetail = () => {
|
|
4
|
-
return (
|
|
5
|
-
<div className="flex flex-row gap-3">
|
|
6
|
-
<img className="w-8rem shadow-2 border-round" src={`https://primefaces.org/cdn/primereact/images/product/bamboo-watch.jpg`} alt='order' />
|
|
7
|
-
<div className='flex flex-column justify-content-between'>
|
|
8
|
-
<div>
|
|
9
|
-
<div className='text-xl font-semibold'>
|
|
10
|
-
EMS for RH, T and DP in Clean Room Area
|
|
11
|
-
</div>
|
|
12
|
-
<div className='text-xs max-w-25rem text-color-secondary'>
|
|
13
|
-
Lorem ipsum dolor sit amet consectetur. Aliquam et et nibh aliquam hendrerit. Diam amet etiam in consequat amet vitae.
|
|
14
|
-
</div>
|
|
15
|
-
</div>
|
|
16
|
-
<div className='text-sm font-semibold'>
|
|
17
|
-
Price: ₹ 17,500 <span className='font-normal text-xs text-color-secondary'>(incl. of all taxes)</span>
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
20
|
-
</div>
|
|
21
|
-
)
|
|
22
|
-
}
|