@solidstarters/solid-core-ui 0.1.26 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/CustomFooter/CustomFooter.d.ts.map +1 -1
- package/dist/components/CustomFooter/CustomFooter.js +162 -0
- package/dist/components/CustomFooter/CustomFooter.js.map +1 -0
- package/dist/components/CustomFooter/FooterForm.d.ts.map +1 -1
- package/dist/components/CustomFooter/FooterForm.js +8 -0
- package/dist/components/CustomFooter/FooterForm.js.map +1 -0
- package/dist/components/CustomHeader/CallIcon.d.ts.map +1 -1
- package/dist/components/CustomHeader/CallIcon.js +6 -0
- package/dist/components/CustomHeader/CallIcon.js.map +1 -0
- package/dist/components/CustomHeader/CustomDropdown.js +38 -0
- package/dist/components/CustomHeader/CustomDropdown.js.map +1 -0
- package/dist/components/CustomHeader/CustomHeader.js +18 -0
- package/dist/components/CustomHeader/CustomHeader.js.map +1 -0
- package/dist/components/CustomHeader/EmailIcon.d.ts.map +1 -1
- package/dist/components/CustomHeader/EmailIcon.js +6 -0
- package/dist/components/CustomHeader/EmailIcon.js.map +1 -0
- package/dist/components/CustomHeader/HeaderCart.d.ts.map +1 -1
- package/dist/components/CustomHeader/HeaderCart.js +7 -0
- package/dist/components/CustomHeader/HeaderCart.js.map +1 -0
- package/dist/components/CustomHeader/productNavData.d.ts.map +1 -1
- package/dist/components/CustomHeader/productNavData.js +178 -0
- package/dist/components/CustomHeader/productNavData.js.map +1 -0
- package/dist/components/FormView/DetailsViews.js +23 -0
- package/dist/components/FormView/DetailsViews.js.map +1 -0
- package/dist/components/FormView/OrderAddressDetails.d.ts.map +1 -1
- package/dist/components/FormView/OrderAddressDetails.js +31 -0
- package/dist/components/FormView/OrderAddressDetails.js.map +1 -0
- package/dist/components/FormView/OrderPaymentDetails.d.ts.map +1 -1
- package/dist/components/FormView/OrderPaymentDetails.js +6 -0
- package/dist/components/FormView/OrderPaymentDetails.js.map +1 -0
- package/dist/components/FormView/OrderTableDetails.d.ts.map +1 -1
- package/dist/components/FormView/OrderTableDetails.js +22 -0
- package/dist/components/FormView/OrderTableDetails.js.map +1 -0
- package/dist/components/FormView/OrderedProductDetail.d.ts.map +1 -1
- package/dist/components/FormView/OrderedProductDetail.js +6 -0
- package/dist/components/FormView/OrderedProductDetail.js.map +1 -0
- package/dist/components/Tag/CustomTag.d.ts.map +1 -1
- package/dist/components/Tag/CustomTag.js +34 -0
- package/dist/components/Tag/CustomTag.js.map +1 -0
- package/dist/components/auth/Login.js +117 -0
- package/dist/components/auth/Login.js.map +1 -0
- package/dist/components/auth/Register.js +173 -0
- package/dist/components/auth/Register.js.map +1 -0
- package/dist/components/common/AuthBanner.d.ts.map +1 -1
- package/dist/components/common/AuthBanner.js +15 -0
- package/dist/components/common/AuthBanner.js.map +1 -0
- package/dist/components/common/AutoCompleteField.d.ts.map +1 -1
- package/dist/components/common/AutoCompleteField.js +96 -0
- package/dist/components/common/AutoCompleteField.js.map +1 -0
- package/dist/components/common/CancelButton.js +30 -0
- package/dist/components/common/CancelButton.js.map +1 -0
- package/dist/components/common/CodeEditor.d.ts.map +1 -1
- package/dist/components/common/CodeEditor.js +13 -0
- package/dist/components/common/CodeEditor.js.map +1 -0
- package/dist/components/common/CreateButton.d.ts.map +1 -1
- package/dist/components/common/CreateButton.js +12 -0
- package/dist/components/common/CreateButton.js.map +1 -0
- package/dist/components/common/DropzonePlaceholder.d.ts.map +1 -1
- package/dist/components/common/DropzonePlaceholder.js +6 -0
- package/dist/components/common/DropzonePlaceholder.js.map +1 -0
- package/dist/components/common/DropzoneUpload.d.ts.map +1 -1
- package/dist/components/common/DropzoneUpload.js +7 -0
- package/dist/components/common/DropzoneUpload.js.map +1 -0
- package/dist/components/common/FilterComponent.d.ts.map +1 -1
- package/dist/components/common/FilterComponent.js +214 -0
- package/dist/components/common/FilterComponent.js.map +1 -0
- package/dist/components/common/HeaderDynamicTitles.d.ts.map +1 -1
- package/dist/components/common/HeaderDynamicTitles.js +9 -0
- package/dist/components/common/HeaderDynamicTitles.js.map +1 -0
- package/dist/components/common/MarkdownViewer.d.ts.map +1 -1
- package/dist/components/common/MarkdownViewer.js +11 -0
- package/dist/components/common/MarkdownViewer.js.map +1 -0
- package/dist/components/common/MultipleSelectAutoCompleteField.d.ts.map +1 -1
- package/dist/components/common/MultipleSelectAutoCompleteField.js +86 -0
- package/dist/components/common/MultipleSelectAutoCompleteField.js.map +1 -0
- package/dist/components/common/SingleSelectAutoCompleteField.d.ts.map +1 -1
- package/dist/components/common/SingleSelectAutoCompleteField.js +86 -0
- package/dist/components/common/SingleSelectAutoCompleteField.js.map +1 -0
- package/dist/components/common/SocialMediaLogin.d.ts.map +1 -1
- package/dist/components/common/SocialMediaLogin.js +7 -0
- package/dist/components/common/SocialMediaLogin.js.map +1 -0
- package/dist/components/core/common/FilterComponent.d.ts +6 -0
- package/dist/components/core/common/FilterComponent.d.ts.map +1 -0
- package/dist/components/core/common/FilterComponent.js +214 -0
- package/dist/components/core/common/FilterComponent.js.map +1 -0
- package/dist/components/core/common/LoadDynamicJsxComponent.d.ts +2 -0
- package/dist/components/core/common/LoadDynamicJsxComponent.d.ts.map +1 -0
- package/dist/components/core/common/LoadDynamicJsxComponent.js +73 -0
- package/dist/components/core/common/LoadDynamicJsxComponent.js.map +1 -0
- package/dist/components/core/common/SolidConfigureLayoutElement.d.ts.map +1 -1
- package/dist/components/core/common/SolidConfigureLayoutElement.js +11 -0
- package/dist/components/core/common/SolidConfigureLayoutElement.js.map +1 -0
- package/dist/components/core/common/SolidCreateButton.d.ts.map +1 -1
- package/dist/components/core/common/SolidCreateButton.js +13 -0
- package/dist/components/core/common/SolidCreateButton.js.map +1 -0
- package/dist/components/core/common/SolidGlobalSearchElement.d.ts +1 -1
- package/dist/components/core/common/SolidGlobalSearchElement.d.ts.map +1 -1
- package/dist/components/core/common/SolidGlobalSearchElement.js +32 -0
- package/dist/components/core/common/SolidGlobalSearchElement.js.map +1 -0
- package/dist/components/core/common/SolidSearchBox.d.ts +1 -1
- package/dist/components/core/common/SolidSearchBox.d.ts.map +1 -1
- package/dist/components/core/common/SolidSearchBox.js +16 -0
- package/dist/components/core/common/SolidSearchBox.js.map +1 -0
- package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.d.ts +2 -0
- package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.js +59 -0
- package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.js.map +1 -0
- package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.d.ts +2 -0
- package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.js +58 -0
- package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.js.map +1 -0
- package/dist/components/core/field/FieldListViewData.js +192 -0
- package/dist/components/core/field/FieldListViewData.js.map +1 -0
- package/dist/components/core/filter/SolidFilterFields.d.ts +10 -0
- package/dist/components/core/filter/SolidFilterFields.d.ts.map +1 -0
- package/dist/components/core/filter/SolidFilterFields.js +112 -0
- package/dist/components/core/filter/SolidFilterFields.js.map +1 -0
- package/dist/components/core/filter/SolidManyToOneFilterElement.d.ts +2 -0
- package/dist/components/core/filter/SolidManyToOneFilterElement.d.ts.map +1 -0
- package/dist/components/core/filter/SolidManyToOneFilterElement.js +86 -0
- package/dist/components/core/filter/SolidManyToOneFilterElement.js.map +1 -0
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.d.ts +2 -0
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.d.ts.map +1 -0
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.js +74 -0
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.js.map +1 -0
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.d.ts +2 -0
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.d.ts.map +1 -0
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.js +21 -0
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.js.map +1 -0
- package/dist/components/core/filter/SolidVarInputsFilterElement.d.ts +12 -0
- package/dist/components/core/filter/SolidVarInputsFilterElement.d.ts.map +1 -0
- package/dist/components/core/filter/SolidVarInputsFilterElement.js +81 -0
- package/dist/components/core/filter/SolidVarInputsFilterElement.js.map +1 -0
- package/dist/components/core/filter/columns/SolidBigintField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidBigintField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidBigintField.js +8 -0
- package/dist/components/core/filter/columns/SolidBigintField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidBooleanField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidBooleanField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidBooleanField.js +27 -0
- package/dist/components/core/filter/columns/SolidBooleanField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidComputedField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidComputedField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidComputedField.js +22 -0
- package/dist/components/core/filter/columns/SolidComputedField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidDateField.d.ts +9 -0
- package/dist/components/core/filter/columns/SolidDateField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidDateField.js +35 -0
- package/dist/components/core/filter/columns/SolidDateField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidDatetimeField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidDatetimeField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidDatetimeField.js +24 -0
- package/dist/components/core/filter/columns/SolidDatetimeField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidDecimalField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidDecimalField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidDecimalField.js +8 -0
- package/dist/components/core/filter/columns/SolidDecimalField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidExternalIdField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidExternalIdField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidExternalIdField.js +25 -0
- package/dist/components/core/filter/columns/SolidExternalIdField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidFloatField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidFloatField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidFloatField.js +8 -0
- package/dist/components/core/filter/columns/SolidFloatField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidIdField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidIdField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidIdField.js +25 -0
- package/dist/components/core/filter/columns/SolidIdField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidIntField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidIntField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidIntField.js +34 -0
- package/dist/components/core/filter/columns/SolidIntField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidLongTextField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidLongTextField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidLongTextField.js +8 -0
- package/dist/components/core/filter/columns/SolidLongTextField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidMediaMultipleField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidMediaMultipleField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidMediaMultipleField.js +35 -0
- package/dist/components/core/filter/columns/SolidMediaMultipleField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidMediaSingleField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidMediaSingleField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidMediaSingleField.js +35 -0
- package/dist/components/core/filter/columns/SolidMediaSingleField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidRelationField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidRelationField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidRelationField.js +12 -0
- package/dist/components/core/filter/columns/SolidRelationField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidRichTextField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidRichTextField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidRichTextField.js +8 -0
- package/dist/components/core/filter/columns/SolidRichTextField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidSelectionDynamicField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidSelectionDynamicField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidSelectionDynamicField.js +25 -0
- package/dist/components/core/filter/columns/SolidSelectionDynamicField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidSelectionStaticField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidSelectionStaticField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidSelectionStaticField.js +26 -0
- package/dist/components/core/filter/columns/SolidSelectionStaticField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidShortTextField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidShortTextField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidShortTextField.js +33 -0
- package/dist/components/core/filter/columns/SolidShortTextField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidTimeField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidTimeField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidTimeField.js +24 -0
- package/dist/components/core/filter/columns/SolidTimeField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidUuidField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidUuidField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidUuidField.js +25 -0
- package/dist/components/core/filter/columns/SolidUuidField.js.map +1 -0
- package/dist/components/core/filter/columns/relations/SolidRelationManyToOneField.d.ts +4 -0
- package/dist/components/core/filter/columns/relations/SolidRelationManyToOneField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/relations/SolidRelationManyToOneField.js +54 -0
- package/dist/components/core/filter/columns/relations/SolidRelationManyToOneField.js.map +1 -0
- package/dist/components/core/form/SolidFormView.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormView.js +602 -0
- package/dist/components/core/form/SolidFormView.js.map +1 -0
- package/dist/components/core/form/fields/ISolidField.d.ts.map +1 -1
- package/dist/components/core/form/fields/ISolidField.js +3 -0
- package/dist/components/core/form/fields/ISolidField.js.map +1 -0
- package/dist/components/core/form/fields/SolidBooleanField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidBooleanField.js +70 -0
- package/dist/components/core/form/fields/SolidBooleanField.js.map +1 -0
- package/dist/components/core/form/fields/SolidDateField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidDateField.js +56 -0
- package/dist/components/core/form/fields/SolidDateField.js.map +1 -0
- package/dist/components/core/form/fields/SolidDateTimeField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidDateTimeField.js +54 -0
- package/dist/components/core/form/fields/SolidDateTimeField.js.map +1 -0
- package/dist/components/core/form/fields/SolidDecimalField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidDecimalField.js +54 -0
- package/dist/components/core/form/fields/SolidDecimalField.js.map +1 -0
- package/dist/components/core/form/fields/SolidIntegerField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidIntegerField.js +54 -0
- package/dist/components/core/form/fields/SolidIntegerField.js.map +1 -0
- package/dist/components/core/form/fields/SolidJsonField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidJsonField.js +51 -0
- package/dist/components/core/form/fields/SolidJsonField.js.map +1 -0
- package/dist/components/core/form/fields/SolidLongTextField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidLongTextField.js +64 -0
- package/dist/components/core/form/fields/SolidLongTextField.js.map +1 -0
- package/dist/components/core/form/fields/SolidMediaMultipleField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidMediaMultipleField.js +163 -0
- package/dist/components/core/form/fields/SolidMediaMultipleField.js.map +1 -0
- package/dist/components/core/form/fields/SolidMediaSingleField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidMediaSingleField.js +151 -0
- package/dist/components/core/form/fields/SolidMediaSingleField.js.map +1 -0
- package/dist/components/core/form/fields/SolidRelationField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidRelationField.js +42 -0
- package/dist/components/core/form/fields/SolidRelationField.js.map +1 -0
- package/dist/components/core/form/fields/SolidRichTextField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidRichTextField.js +66 -0
- package/dist/components/core/form/fields/SolidRichTextField.js.map +1 -0
- package/dist/components/core/form/fields/SolidSelectionDynamicField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionDynamicField.js +133 -0
- package/dist/components/core/form/fields/SolidSelectionDynamicField.js.map +1 -0
- package/dist/components/core/form/fields/SolidSelectionStaticField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionStaticField.js +91 -0
- package/dist/components/core/form/fields/SolidSelectionStaticField.js.map +1 -0
- package/dist/components/core/form/fields/SolidShortTextField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidShortTextField.js +65 -0
- package/dist/components/core/form/fields/SolidShortTextField.js.map +1 -0
- package/dist/components/core/form/fields/SolidTimeField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidTimeField.js +54 -0
- package/dist/components/core/form/fields/SolidTimeField.js.map +1 -0
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js +341 -0
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js.map +1 -0
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js +147 -0
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js.map +1 -0
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js +143 -0
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js.map +1 -0
- package/dist/components/core/kanban/KanbanBoard.d.ts.map +1 -1
- package/dist/components/core/kanban/KanbanBoard.js +67 -0
- package/dist/components/core/kanban/KanbanBoard.js.map +1 -0
- package/dist/components/core/kanban/KanbanCard.d.ts.map +1 -1
- package/dist/components/core/kanban/KanbanCard.js +92 -0
- package/dist/components/core/kanban/KanbanCard.js.map +1 -0
- package/dist/components/core/kanban/KanbanColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/KanbanColumn.js +28 -0
- package/dist/components/core/kanban/KanbanColumn.js.map +1 -0
- package/dist/components/core/kanban/SolidKanbanFilter.d.ts.map +1 -1
- package/dist/components/core/kanban/SolidKanbanView.d.ts.map +1 -1
- package/dist/components/core/kanban/SolidKanbanView.js +519 -0
- package/dist/components/core/kanban/SolidKanbanView.js.map +1 -0
- package/dist/components/core/kanban/SolidManyToOneFilterElement.d.ts.map +1 -1
- package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.d.ts.map +1 -1
- package/dist/components/core/kanban/SolidSelectionStaticFilterElement.d.ts.map +1 -1
- package/dist/components/core/kanban/SolidVarInputsFilterElement.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidBigintColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidBooleanColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidComputedColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidDateColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidDatetimeColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidDecimalColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidExternalIdColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidFloatColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidIdColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidIntColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidLongTextColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidMediaMultipleColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidMediaSingleColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidRelationColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidRichTextColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidSelectionDynamicColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidSelectionStaticColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidShortTextColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidTimeColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidUuidColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/relations/SolidRelationManyToOneColumn.d.ts.map +1 -1
- package/dist/components/core/list/ListViewRowActionPopup.d.ts +2 -0
- package/dist/components/core/list/ListViewRowActionPopup.d.ts.map +1 -0
- package/dist/components/core/list/ListViewRowActionPopup.js +19 -0
- package/dist/components/core/list/ListViewRowActionPopup.js.map +1 -0
- package/dist/components/core/list/SolidListView.d.ts.map +1 -1
- package/dist/components/core/list/SolidListView.js +450 -0
- package/dist/components/core/list/SolidListView.js.map +1 -0
- package/dist/components/core/list/SolidListViewColumn.d.ts.map +1 -1
- package/dist/components/core/list/SolidListViewColumn.js +145 -0
- package/dist/components/core/list/SolidListViewColumn.js.map +1 -0
- package/dist/components/core/list/SolidListingHeader.d.ts.map +1 -1
- package/dist/components/core/list/SolidListingHeader.js +13 -0
- package/dist/components/core/list/SolidListingHeader.js.map +1 -0
- package/dist/components/core/list/SolidManyToOneFilterElement.d.ts.map +1 -1
- package/dist/components/core/list/SolidManyToOneFilterElement.js +86 -0
- package/dist/components/core/list/SolidManyToOneFilterElement.js.map +1 -0
- package/dist/components/core/list/SolidSelectionDynamicFilterElement.d.ts.map +1 -1
- package/dist/components/core/list/SolidSelectionDynamicFilterElement.js +74 -0
- package/dist/components/core/list/SolidSelectionDynamicFilterElement.js.map +1 -0
- package/dist/components/core/list/SolidSelectionStaticFilterElement.d.ts.map +1 -1
- package/dist/components/core/list/SolidSelectionStaticFilterElement.js +21 -0
- package/dist/components/core/list/SolidSelectionStaticFilterElement.js.map +1 -0
- package/dist/components/core/list/SolidVarInputsFilterElement.d.ts.map +1 -1
- package/dist/components/core/list/SolidVarInputsFilterElement.js +82 -0
- package/dist/components/core/list/SolidVarInputsFilterElement.js.map +1 -0
- package/dist/components/core/list/columns/SolidBigintColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidBigintColumn.js +8 -0
- package/dist/components/core/list/columns/SolidBigintColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidBooleanColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidBooleanColumn.js +30 -0
- package/dist/components/core/list/columns/SolidBooleanColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidComputedColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidComputedColumn.js +22 -0
- package/dist/components/core/list/columns/SolidComputedColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidDateColumn.d.ts +1 -1
- package/dist/components/core/list/columns/SolidDateColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidDateColumn.js +33 -0
- package/dist/components/core/list/columns/SolidDateColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidDatetimeColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidDatetimeColumn.js +22 -0
- package/dist/components/core/list/columns/SolidDatetimeColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidDecimalColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidDecimalColumn.js +8 -0
- package/dist/components/core/list/columns/SolidDecimalColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidExternalIdColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidExternalIdColumn.js +23 -0
- package/dist/components/core/list/columns/SolidExternalIdColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidFloatColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidFloatColumn.js +8 -0
- package/dist/components/core/list/columns/SolidFloatColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidIdColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidIdColumn.js +23 -0
- package/dist/components/core/list/columns/SolidIdColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidIntColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidIntColumn.js +32 -0
- package/dist/components/core/list/columns/SolidIntColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidLongTextColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidLongTextColumn.js +8 -0
- package/dist/components/core/list/columns/SolidLongTextColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.js +15 -0
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidMediaSingleColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidMediaSingleColumn.js +15 -0
- package/dist/components/core/list/columns/SolidMediaSingleColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidRelationColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidRelationColumn.js +12 -0
- package/dist/components/core/list/columns/SolidRelationColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidRichTextColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidRichTextColumn.js +8 -0
- package/dist/components/core/list/columns/SolidRichTextColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.js +23 -0
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.js +23 -0
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidShortTextColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidShortTextColumn.js +31 -0
- package/dist/components/core/list/columns/SolidShortTextColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidTimeColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidTimeColumn.js +22 -0
- package/dist/components/core/list/columns/SolidTimeColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidUuidColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidUuidColumn.js +23 -0
- package/dist/components/core/list/columns/SolidUuidColumn.js.map +1 -0
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js +37 -0
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js.map +1 -0
- package/dist/components/core/model/CreateModel.js +290 -0
- package/dist/components/core/model/CreateModel.js.map +1 -0
- package/dist/components/core/model/FieldMetaData.d.ts.map +1 -1
- package/dist/components/core/model/FieldMetaData.js +81 -0
- package/dist/components/core/model/FieldMetaData.js.map +1 -0
- package/dist/components/core/model/FieldMetaDataForm.d.ts.map +1 -1
- package/dist/components/core/model/FieldMetaDataForm.js +1024 -0
- package/dist/components/core/model/FieldMetaDataForm.js.map +1 -0
- package/dist/components/core/model/FieldSelector.d.ts.map +1 -1
- package/dist/components/core/model/FieldSelector.js +38 -0
- package/dist/components/core/model/FieldSelector.js.map +1 -0
- package/dist/components/core/model/ModelListViewData.d.ts.map +1 -1
- package/dist/components/core/model/ModelListViewData.js +211 -0
- package/dist/components/core/model/ModelListViewData.js.map +1 -0
- package/dist/components/core/model/ModelMetaData.d.ts.map +1 -1
- package/dist/components/core/model/ModelMetaData.js +338 -0
- package/dist/components/core/model/ModelMetaData.js.map +1 -0
- package/dist/components/core/module/CreateModule.d.ts.map +1 -1
- package/dist/components/core/module/CreateModule.js +319 -0
- package/dist/components/core/module/CreateModule.js.map +1 -0
- package/dist/components/core/module/ModuleListViewData.d.ts.map +1 -1
- package/dist/components/core/module/ModuleListViewData.js +263 -0
- package/dist/components/core/module/ModuleListViewData.js.map +1 -0
- package/dist/components/core/users/CreateUser.d.ts.map +1 -1
- package/dist/components/core/users/CreateUser.js +231 -0
- package/dist/components/core/users/CreateUser.js.map +1 -0
- package/dist/components/core/users/CreateUserRole.d.ts.map +1 -1
- package/dist/components/core/users/CreateUserRole.js +168 -0
- package/dist/components/core/users/CreateUserRole.js.map +1 -0
- package/dist/components/core/users/UserListView.d.ts.map +1 -1
- package/dist/components/core/users/UserListView.js +223 -0
- package/dist/components/core/users/UserListView.js.map +1 -0
- package/dist/components/layout/AdminSidebar.js +42 -0
- package/dist/components/layout/AdminSidebar.js.map +1 -0
- package/dist/components/layout/ButtonLoader.d.ts.map +1 -1
- package/dist/components/layout/ButtonLoader.js +7 -0
- package/dist/components/layout/ButtonLoader.js.map +1 -0
- package/dist/components/layout/CustomPagination.js +28 -0
- package/dist/components/layout/CustomPagination.js.map +1 -0
- package/dist/components/layout/DashboardHeader.d.ts.map +1 -1
- package/dist/components/layout/DashboardHeader.js +27 -0
- package/dist/components/layout/DashboardHeader.js.map +1 -0
- package/dist/components/layout/FilterMenu.d.ts.map +1 -1
- package/dist/components/layout/FilterMenu.js +50 -0
- package/dist/components/layout/FilterMenu.js.map +1 -0
- package/dist/components/layout/Footer.d.ts.map +1 -1
- package/dist/components/layout/Footer.js +7 -0
- package/dist/components/layout/Footer.js.map +1 -0
- package/dist/components/layout/GlobalSearch.d.ts.map +1 -1
- package/dist/components/layout/GlobalSearch.js +26 -0
- package/dist/components/layout/GlobalSearch.js.map +1 -0
- package/dist/components/layout/Header.js +8 -0
- package/dist/components/layout/Header.js.map +1 -0
- package/dist/components/layout/ListingHeader.d.ts.map +1 -1
- package/dist/components/layout/ListingHeader.js +90 -0
- package/dist/components/layout/ListingHeader.js.map +1 -0
- package/dist/components/layout/Loader.d.ts.map +1 -1
- package/dist/components/layout/Loader.js +7 -0
- package/dist/components/layout/Loader.js.map +1 -0
- package/dist/components/layout/UserSidebar.js +32 -0
- package/dist/components/layout/UserSidebar.js.map +1 -0
- package/dist/components/layout/navbar-one.d.ts.map +1 -1
- package/dist/components/layout/navbar-one.js +87 -0
- package/dist/components/layout/navbar-one.js.map +1 -0
- package/dist/components/layout/navbar-two-menu.d.ts.map +1 -1
- package/dist/components/layout/navbar-two-menu.js +41 -0
- package/dist/components/layout/navbar-two-menu.js.map +1 -0
- package/dist/components/layout/navbar-two.d.ts.map +1 -1
- package/dist/components/layout/navbar-two.js +35 -0
- package/dist/components/layout/navbar-two.js.map +1 -0
- package/dist/components/layout/user-profile-menu.d.ts.map +1 -1
- package/dist/components/layout/user-profile-menu.js +21 -0
- package/dist/components/layout/user-profile-menu.js.map +1 -0
- package/dist/components/layout/user-profile.d.ts.map +1 -1
- package/dist/components/layout/user-profile.js +8 -0
- package/dist/components/layout/user-profile.js.map +1 -0
- package/dist/components/modelsComponents/filterIcon.d.ts.map +1 -1
- package/dist/components/modelsComponents/filterIcon.js +6 -0
- package/dist/components/modelsComponents/filterIcon.js.map +1 -0
- package/dist/components/tables/DemoData.d.ts.map +1 -1
- package/dist/components/tables/DemoData.js +317 -0
- package/dist/components/tables/DemoData.js.map +1 -0
- package/dist/components/tables/DynamicTable.js +24 -0
- package/dist/components/tables/DynamicTable.js.map +1 -0
- package/dist/components/tables/ListViewTable.js +119 -0
- package/dist/components/tables/ListViewTable.js.map +1 -0
- package/dist/helpers/ToastContainer.d.ts.map +1 -1
- package/dist/helpers/ToastContainer.js +49 -0
- package/dist/helpers/ToastContainer.js.map +1 -0
- package/dist/helpers/authHeader.d.ts.map +1 -1
- package/dist/helpers/authHeader.js +18 -0
- package/dist/helpers/authHeader.js.map +1 -0
- package/dist/helpers/countries.d.ts.map +1 -1
- package/dist/helpers/countries.js +262 -0
- package/dist/helpers/countries.js.map +1 -0
- package/dist/helpers/helpers.d.ts.map +1 -1
- package/dist/helpers/helpers.js +26 -0
- package/dist/helpers/helpers.js.map +1 -0
- package/dist/helpers/menu.js +668 -0
- package/dist/helpers/menu.js.map +1 -0
- package/dist/helpers/permissions.d.ts.map +1 -1
- package/dist/helpers/permissions.js +12 -0
- package/dist/helpers/permissions.js.map +1 -0
- package/dist/helpers/revalidate.d.ts.map +1 -1
- package/dist/helpers/revalidate.js +48 -0
- package/dist/helpers/revalidate.js.map +1 -0
- package/dist/index.d.ts +152 -181
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +539 -45552
- package/dist/index.js.map +1 -1
- package/dist/redux/api/articleApi.js +57 -0
- package/dist/redux/api/articleApi.js.map +1 -0
- package/dist/redux/api/authApi.js +57 -0
- package/dist/redux/api/authApi.js.map +1 -0
- package/dist/redux/api/automationApi.js +57 -0
- package/dist/redux/api/automationApi.js.map +1 -0
- package/dist/redux/api/categoryApi.js +48 -0
- package/dist/redux/api/categoryApi.js.map +1 -0
- package/dist/redux/api/cityApi.js +54 -0
- package/dist/redux/api/cityApi.js.map +1 -0
- package/dist/redux/api/cmsBannerImageApi.js +57 -0
- package/dist/redux/api/cmsBannerImageApi.js.map +1 -0
- package/dist/redux/api/countryApi.js +57 -0
- package/dist/redux/api/countryApi.js.map +1 -0
- package/dist/redux/api/fetchBaseQuery.js +59 -0
- package/dist/redux/api/fetchBaseQuery.js.map +1 -0
- package/dist/redux/api/fieldApi.js +63 -0
- package/dist/redux/api/fieldApi.js.map +1 -0
- package/dist/redux/api/mediaApi.js +57 -0
- package/dist/redux/api/mediaApi.js.map +1 -0
- package/dist/redux/api/mediaStorageProviderApi.js +57 -0
- package/dist/redux/api/mediaStorageProviderApi.js.map +1 -0
- package/dist/redux/api/menuApi.js +57 -0
- package/dist/redux/api/menuApi.js.map +1 -0
- package/dist/redux/api/menuItemsApi.js +58 -0
- package/dist/redux/api/menuItemsApi.js.map +1 -0
- package/dist/redux/api/modelApi.js +71 -0
- package/dist/redux/api/modelApi.js.map +1 -0
- package/dist/redux/api/moduleApi.js +74 -0
- package/dist/redux/api/moduleApi.js.map +1 -0
- package/dist/redux/api/orderAttributeApi.js +39 -0
- package/dist/redux/api/orderAttributeApi.js.map +1 -0
- package/dist/redux/api/permissionApi.js +27 -0
- package/dist/redux/api/permissionApi.js.map +1 -0
- package/dist/redux/api/pincodeApi.js +54 -0
- package/dist/redux/api/pincodeApi.js.map +1 -0
- package/dist/redux/api/productData.js +78 -0
- package/dist/redux/api/productData.js.map +1 -0
- package/dist/redux/api/radixExtraModelAttributeApi.js +39 -0
- package/dist/redux/api/radixExtraModelAttributeApi.js.map +1 -0
- package/dist/redux/api/radixModelMetadataApi.js +64 -0
- package/dist/redux/api/radixModelMetadataApi.js.map +1 -0
- package/dist/redux/api/radixModelsApi.js +67 -0
- package/dist/redux/api/radixModelsApi.js.map +1 -0
- package/dist/redux/api/ratingApi.js +57 -0
- package/dist/redux/api/ratingApi.js.map +1 -0
- package/dist/redux/api/reviewApi.js +57 -0
- package/dist/redux/api/reviewApi.js.map +1 -0
- package/dist/redux/api/roleApi.js +49 -0
- package/dist/redux/api/roleApi.js.map +1 -0
- package/dist/redux/api/solidActionApi.js +58 -0
- package/dist/redux/api/solidActionApi.js.map +1 -0
- package/dist/redux/api/solidEntityApi.js +91 -0
- package/dist/redux/api/solidEntityApi.js.map +1 -0
- package/dist/redux/api/solidMenuApi.js +61 -0
- package/dist/redux/api/solidMenuApi.js.map +1 -0
- package/dist/redux/api/solidViewApi.js +63 -0
- package/dist/redux/api/solidViewApi.js.map +1 -0
- package/dist/redux/api/stateApi.js +54 -0
- package/dist/redux/api/stateApi.js.map +1 -0
- package/dist/redux/api/tagApi.js +57 -0
- package/dist/redux/api/tagApi.js.map +1 -0
- package/dist/redux/api/tagGroupApi.js +57 -0
- package/dist/redux/api/tagGroupApi.js.map +1 -0
- package/dist/redux/api/userApi.js +103 -0
- package/dist/redux/api/userApi.js.map +1 -0
- package/dist/redux/features/authSlice.js +19 -0
- package/dist/redux/features/authSlice.js.map +1 -0
- package/dist/redux/features/dataViewSlice.js +21 -0
- package/dist/redux/features/dataViewSlice.js.map +1 -0
- package/dist/redux/features/navbarSlice.js +22 -0
- package/dist/redux/features/navbarSlice.js.map +1 -0
- package/dist/redux/features/popupSlice.js +27 -0
- package/dist/redux/features/popupSlice.js.map +1 -0
- package/dist/redux/features/themeSlice.js +16 -0
- package/dist/redux/features/themeSlice.js.map +1 -0
- package/dist/redux/features/userSlice.js +21 -0
- package/dist/redux/features/userSlice.js.map +1 -0
- package/package.json +2 -8
- package/solidstarters-solid-core-ui-1.0.0.tgz +0 -0
- package/src/components/CustomFooter/CustomFooter.tsx +1 -0
- package/src/components/CustomFooter/FooterForm.tsx +1 -0
- package/src/components/CustomHeader/CallIcon.tsx +1 -0
- package/src/components/CustomHeader/EmailIcon.tsx +1 -0
- package/src/components/CustomHeader/HeaderCart.tsx +1 -0
- package/src/components/CustomHeader/productNavData.tsx +1 -0
- package/src/components/FormView/OrderAddressDetails.tsx +1 -0
- package/src/components/FormView/OrderPaymentDetails.tsx +1 -0
- package/src/components/FormView/OrderTableDetails.tsx +1 -0
- package/src/components/FormView/OrderedProductDetail.tsx +1 -0
- package/src/components/Tag/CustomTag.tsx +1 -0
- package/src/components/common/AuthBanner.tsx +1 -0
- package/src/components/common/AutoCompleteField.tsx +2 -0
- package/src/components/common/CodeEditor.tsx +2 -0
- package/src/components/common/CreateButton.tsx +2 -0
- package/src/components/common/DropzonePlaceholder.tsx +1 -0
- package/src/components/common/DropzoneUpload.tsx +2 -0
- package/src/components/common/FilterComponent.tsx +1 -0
- package/src/components/common/HeaderDynamicTitles.tsx +2 -0
- package/src/components/common/MarkdownViewer.tsx +2 -0
- package/src/components/common/MultipleSelectAutoCompleteField.tsx +1 -0
- package/src/components/common/SingleSelectAutoCompleteField.tsx +1 -0
- package/src/components/common/SocialMediaLogin.tsx +1 -0
- package/src/components/core/common/FilterComponent.tsx +431 -0
- package/src/components/core/common/LoadDynamicJsxComponent.tsx +45 -0
- package/src/components/core/common/SolidConfigureLayoutElement.tsx +14 -6
- package/src/components/core/common/SolidCreateButton.tsx +1 -0
- package/src/components/core/common/SolidGlobalSearchElement.tsx +33 -8
- package/src/components/core/common/SolidSearchBox.tsx +3 -2
- package/src/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.tsx +38 -0
- package/src/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.tsx +28 -0
- package/src/components/core/field/FieldListViewData.tsx +10 -10
- package/src/components/core/filter/SolidFilterFields.tsx +131 -0
- package/src/components/core/{kanban → filter}/SolidManyToOneFilterElement.tsx +2 -1
- package/src/components/core/{kanban → filter}/SolidSelectionDynamicFilterElement.tsx +2 -1
- package/src/components/core/{kanban → filter}/SolidSelectionStaticFilterElement.tsx +2 -1
- package/src/components/core/{kanban → filter}/SolidVarInputsFilterElement.tsx +51 -25
- package/src/components/core/filter/columns/SolidBigintField.tsx +9 -0
- package/src/components/core/{kanban/columns/SolidBooleanColumn.tsx → filter/columns/SolidBooleanField.tsx} +9 -9
- package/src/components/core/filter/columns/SolidComputedField.tsx +23 -0
- package/src/components/core/{kanban/columns/SolidDateColumn.tsx → filter/columns/SolidDateField.tsx} +15 -16
- package/src/components/core/filter/columns/SolidDatetimeField.tsx +45 -0
- package/src/components/core/filter/columns/SolidDecimalField.tsx +10 -0
- package/src/components/core/{kanban/columns/SolidExternalIdColumn.tsx → filter/columns/SolidExternalIdField.tsx} +14 -13
- package/src/components/core/filter/columns/SolidFloatField.tsx +9 -0
- package/src/components/core/{kanban/columns/SolidIdColumn.tsx → filter/columns/SolidIdField.tsx} +14 -14
- package/src/components/core/filter/columns/SolidIntField.tsx +56 -0
- package/src/components/core/filter/columns/SolidLongTextField.tsx +9 -0
- package/src/components/core/{kanban/columns/SolidMediaMultipleColumn.tsx → filter/columns/SolidMediaMultipleField.tsx} +15 -13
- package/src/components/core/{kanban/columns/SolidMediaSingleColumn.tsx → filter/columns/SolidMediaSingleField.tsx} +15 -14
- package/src/components/core/filter/columns/SolidRelationField.tsx +13 -0
- package/src/components/core/filter/columns/SolidRichTextField.tsx +9 -0
- package/src/components/core/{kanban/columns/SolidSelectionDynamicColumn.tsx → filter/columns/SolidSelectionDynamicField.tsx} +14 -13
- package/src/components/core/{kanban/columns/SolidSelectionStaticColumn.tsx → filter/columns/SolidSelectionStaticField.tsx} +14 -13
- package/src/components/core/{kanban/columns/SolidShortTextColumn.tsx → filter/columns/SolidShortTextField.tsx} +14 -13
- package/src/components/core/filter/columns/SolidTimeField.tsx +43 -0
- package/src/components/core/{kanban/columns/SolidUuidColumn.tsx → filter/columns/SolidUuidField.tsx} +14 -13
- package/src/components/core/{kanban/columns/relations/SolidRelationManyToOneColumn.tsx → filter/columns/relations/SolidRelationManyToOneField.tsx} +13 -13
- package/src/components/core/form/SolidFormView.tsx +23 -23
- package/src/components/core/form/fields/ISolidField.tsx +1 -0
- package/src/components/core/form/fields/SolidBooleanField.tsx +6 -3
- package/src/components/core/form/fields/SolidDateField.tsx +6 -4
- package/src/components/core/form/fields/SolidDateTimeField.tsx +6 -4
- package/src/components/core/form/fields/SolidDecimalField.tsx +6 -3
- package/src/components/core/form/fields/SolidIntegerField.tsx +6 -3
- package/src/components/core/form/fields/SolidJsonField.tsx +10 -3
- package/src/components/core/form/fields/SolidLongTextField.tsx +5 -3
- package/src/components/core/form/fields/SolidMediaMultipleField.tsx +9 -7
- package/src/components/core/form/fields/SolidMediaSingleField.tsx +9 -7
- package/src/components/core/form/fields/SolidRelationField.tsx +1 -0
- package/src/components/core/form/fields/SolidRichTextField.tsx +7 -4
- package/src/components/core/form/fields/SolidSelectionDynamicField.tsx +7 -5
- package/src/components/core/form/fields/SolidSelectionStaticField.tsx +7 -4
- package/src/components/core/form/fields/SolidShortTextField.tsx +5 -3
- package/src/components/core/form/fields/SolidTimeField.tsx +6 -4
- package/src/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +13 -9
- package/src/components/core/form/fields/relations/SolidRelationManyToOneField.tsx +7 -5
- package/src/components/core/form/fields/relations/SolidRelationOneToManyField.tsx +11 -4
- package/src/components/core/kanban/KanbanBoard.tsx +1 -0
- package/src/components/core/kanban/KanbanCard.tsx +1 -0
- package/src/components/core/kanban/KanbanColumn.tsx +1 -0
- package/src/components/core/kanban/SolidKanbanView.tsx +28 -23
- package/src/components/core/list/ListViewRowActionPopup.tsx +36 -0
- package/src/components/core/list/SolidListView.tsx +65 -12
- package/src/components/core/list/SolidListViewColumn.tsx +13 -12
- package/src/components/core/list/SolidListingHeader.tsx +3 -1
- package/src/components/core/list/SolidManyToOneFilterElement.tsx +3 -1
- package/src/components/core/list/SolidSelectionDynamicFilterElement.tsx +1 -0
- package/src/components/core/list/SolidSelectionStaticFilterElement.tsx +3 -0
- package/src/components/core/list/SolidVarInputsFilterElement.tsx +1 -0
- package/src/components/core/list/columns/SolidBigintColumn.tsx +1 -0
- package/src/components/core/list/columns/SolidBooleanColumn.tsx +7 -1
- package/src/components/core/list/columns/SolidComputedColumn.tsx +1 -0
- package/src/components/core/list/columns/SolidDateColumn.tsx +5 -3
- package/src/components/core/list/columns/SolidDatetimeColumn.tsx +4 -2
- package/src/components/core/list/columns/SolidDecimalColumn.tsx +1 -0
- package/src/components/core/list/columns/SolidExternalIdColumn.tsx +5 -3
- package/src/components/core/list/columns/SolidFloatColumn.tsx +1 -0
- package/src/components/core/list/columns/SolidIdColumn.tsx +5 -3
- package/src/components/core/list/columns/SolidIntColumn.tsx +5 -3
- package/src/components/core/list/columns/SolidLongTextColumn.tsx +1 -0
- package/src/components/core/list/columns/SolidMediaMultipleColumn.tsx +2 -0
- package/src/components/core/list/columns/SolidMediaSingleColumn.tsx +6 -1
- package/src/components/core/list/columns/SolidRelationColumn.tsx +1 -0
- package/src/components/core/list/columns/SolidRichTextColumn.tsx +1 -0
- package/src/components/core/list/columns/SolidSelectionDynamicColumn.tsx +5 -3
- package/src/components/core/list/columns/SolidSelectionStaticColumn.tsx +5 -3
- package/src/components/core/list/columns/SolidShortTextColumn.tsx +5 -3
- package/src/components/core/list/columns/SolidTimeColumn.tsx +5 -2
- package/src/components/core/list/columns/SolidUuidColumn.tsx +5 -3
- package/src/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx +5 -3
- package/src/components/core/model/CreateModel.tsx +9 -9
- package/src/components/core/model/FieldMetaData.tsx +10 -7
- package/src/components/core/model/FieldMetaDataForm.tsx +1 -0
- package/src/components/core/model/FieldSelector.tsx +4 -1
- package/src/components/core/model/ModelListViewData.tsx +16 -11
- package/src/components/core/model/ModelMetaData.tsx +14 -9
- package/src/components/core/module/CreateModule.tsx +20 -19
- package/src/components/core/module/ModuleListViewData.tsx +19 -10
- package/src/components/core/users/CreateUser.tsx +1 -0
- package/src/components/core/users/CreateUserRole.tsx +15 -9
- package/src/components/core/users/UserListView.tsx +10 -9
- package/src/components/layout/ButtonLoader.tsx +1 -0
- package/src/components/layout/DashboardHeader.tsx +1 -0
- package/src/components/layout/FilterMenu.tsx +1 -0
- package/src/components/layout/Footer.tsx +1 -0
- package/src/components/layout/GlobalSearch.tsx +1 -0
- package/src/components/layout/ListingHeader.tsx +1 -0
- package/src/components/layout/Loader.tsx +1 -0
- package/src/components/layout/navbar-one.tsx +1 -0
- package/src/components/layout/navbar-two-menu.tsx +1 -0
- package/src/components/layout/navbar-two.tsx +1 -0
- package/src/components/layout/user-profile-menu.tsx +1 -0
- package/src/components/layout/user-profile.tsx +1 -0
- package/src/components/modelsComponents/filterIcon.tsx +1 -0
- package/src/components/tables/DemoData.tsx +1 -0
- package/src/helpers/ToastContainer.tsx +1 -0
- package/src/helpers/authHeader.ts +1 -0
- package/src/helpers/countries.tsx +1 -0
- package/src/helpers/helpers.ts +1 -0
- package/src/helpers/permissions.ts +1 -0
- package/src/helpers/revalidate.ts +1 -0
- package/src/index.ts +0 -50
- package/rollup.config.mjs +0 -45
- package/solidstarters-solid-core-ui-0.1.24.tgz +0 -0
- package/src/components/core/kanban/SolidKanbanFilter.tsx +0 -104
- package/src/components/core/kanban/SolidKanbanViewSearchColumn.tsx +0 -131
- package/src/components/core/kanban/columns/SolidBigintColumn.tsx +0 -8
- package/src/components/core/kanban/columns/SolidComputedColumn.tsx +0 -22
- package/src/components/core/kanban/columns/SolidDatetimeColumn.tsx +0 -45
- package/src/components/core/kanban/columns/SolidDecimalColumn.tsx +0 -8
- package/src/components/core/kanban/columns/SolidFloatColumn.tsx +0 -8
- package/src/components/core/kanban/columns/SolidIntColumn.tsx +0 -56
- package/src/components/core/kanban/columns/SolidLongTextColumn.tsx +0 -8
- package/src/components/core/kanban/columns/SolidRelationColumn.tsx +0 -12
- package/src/components/core/kanban/columns/SolidRichTextColumn.tsx +0 -8
- package/src/components/core/kanban/columns/SolidTimeColumn.tsx +0 -42
|
@@ -0,0 +1,431 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
'use client';
|
|
3
|
+
import { Calendar } from 'primereact/calendar';
|
|
4
|
+
import { Dropdown } from 'primereact/dropdown';
|
|
5
|
+
import { InputNumber } from 'primereact/inputnumber';
|
|
6
|
+
import { InputText } from 'primereact/inputtext';
|
|
7
|
+
import { Tooltip } from 'primereact/tooltip';
|
|
8
|
+
import React, { useEffect, useState } from 'react';
|
|
9
|
+
import { SolidFilterFields } from '../filter/SolidFilterFields';
|
|
10
|
+
import { Button } from 'primereact/button';
|
|
11
|
+
|
|
12
|
+
enum FilterRuleType {
|
|
13
|
+
RULE = 'rule',
|
|
14
|
+
RULE_GROUP = 'rule_group'
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
enum FilterOperator {
|
|
18
|
+
AND = 'and',
|
|
19
|
+
OR = 'or'
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
enum FilterMatchMode {
|
|
23
|
+
STARTS_WITH = 'startsWith',
|
|
24
|
+
CONTAINS = 'contains',
|
|
25
|
+
EQUALS = 'equals',
|
|
26
|
+
GREATER_THAN = 'gt',
|
|
27
|
+
LESS_THAN = 'lt',
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
interface FilterRule {
|
|
31
|
+
id: number;
|
|
32
|
+
type: FilterRuleType;
|
|
33
|
+
matchOperator?: FilterOperator;
|
|
34
|
+
fieldName?: string;
|
|
35
|
+
matchMode?: FilterMatchMode;
|
|
36
|
+
value?: any;
|
|
37
|
+
parentRule: number | null;
|
|
38
|
+
children?: FilterRule[];
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
interface Field {
|
|
42
|
+
name: string;
|
|
43
|
+
type: 'string' | 'number' | 'date';
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// const fields: Field[] = [
|
|
47
|
+
// { name: 'name', type: 'string' },
|
|
48
|
+
// { name: 'dob', type: 'date' },
|
|
49
|
+
// { name: 'lastName', type: 'string' },
|
|
50
|
+
// { name: 'amount', type: 'number' }
|
|
51
|
+
// ];
|
|
52
|
+
|
|
53
|
+
const operatorOptions = {
|
|
54
|
+
// string: [FilterMatchMode.CONTAINS, FilterMatchMode.EQUALS],
|
|
55
|
+
// date: [FilterMatchMode.EQUALS, FilterMatchMode.GREATER_THAN, FilterMatchMode.LESS_THAN],
|
|
56
|
+
// number: [FilterMatchMode.GREATER_THAN, FilterMatchMode.LESS_THAN],
|
|
57
|
+
id: [FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS, FilterMatchMode.LESS_THAN, FilterMatchMode.LESS_THAN_OR_EQUAL_TO, FilterMatchMode.GREATER_THAN, FilterMatchMode.GREATER_THAN_OR_EQUAL_TO, FilterMatchMode.IN, FilterMatchMode.NOT_IN, FilterMatchMode.BETWEEN],
|
|
58
|
+
int: [FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS, FilterMatchMode.LESS_THAN, FilterMatchMode.LESS_THAN_OR_EQUAL_TO, FilterMatchMode.GREATER_THAN, FilterMatchMode.GREATER_THAN_OR_EQUAL_TO, FilterMatchMode.IN, FilterMatchMode.NOT_IN, FilterMatchMode.BETWEEN],
|
|
59
|
+
bigint: [FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS, FilterMatchMode.LESS_THAN, FilterMatchMode.LESS_THAN_OR_EQUAL_TO, FilterMatchMode.GREATER_THAN, FilterMatchMode.GREATER_THAN_OR_EQUAL_TO, FilterMatchMode.IN, FilterMatchMode.NOT_IN, FilterMatchMode.BETWEEN],
|
|
60
|
+
float: [FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS, FilterMatchMode.LESS_THAN, FilterMatchMode.LESS_THAN_OR_EQUAL_TO, FilterMatchMode.GREATER_THAN, FilterMatchMode.GREATER_THAN_OR_EQUAL_TO, FilterMatchMode.IN, FilterMatchMode.NOT_IN, FilterMatchMode.BETWEEN],
|
|
61
|
+
decimal: [FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS, FilterMatchMode.LESS_THAN, FilterMatchMode.LESS_THAN_OR_EQUAL_TO, FilterMatchMode.GREATER_THAN, FilterMatchMode.GREATER_THAN_OR_EQUAL_TO, FilterMatchMode.IN, FilterMatchMode.NOT_IN, FilterMatchMode.BETWEEN],
|
|
62
|
+
shortText: [FilterMatchMode.STARTS_WITH, FilterMatchMode.CONTAINS, FilterMatchMode.NOT_CONTAINS, FilterMatchMode.ENDS_WITH, FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS, FilterMatchMode.IN, FilterMatchMode.NOT_IN],
|
|
63
|
+
longText: [FilterMatchMode.STARTS_WITH, FilterMatchMode.CONTAINS, FilterMatchMode.NOT_CONTAINS, FilterMatchMode.ENDS_WITH, FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS, FilterMatchMode.IN, FilterMatchMode.NOT_IN],
|
|
64
|
+
richText: [FilterMatchMode.STARTS_WITH, FilterMatchMode.CONTAINS, FilterMatchMode.NOT_CONTAINS, FilterMatchMode.ENDS_WITH, FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS, FilterMatchMode.IN, FilterMatchMode.NOT_IN],
|
|
65
|
+
boolean: [FilterMatchMode.EQUALS],
|
|
66
|
+
date: [FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS, FilterMatchMode.LESS_THAN, FilterMatchMode.LESS_THAN_OR_EQUAL_TO, FilterMatchMode.GREATER_THAN, FilterMatchMode.GREATER_THAN_OR_EQUAL_TO, FilterMatchMode.IN, FilterMatchMode.NOT_IN, FilterMatchMode.BETWEEN,],
|
|
67
|
+
datetime: [FilterMatchMode.EQUALS],
|
|
68
|
+
time: [FilterMatchMode.EQUALS],
|
|
69
|
+
relation: [FilterMatchMode.IN, FilterMatchMode.NOT_IN],
|
|
70
|
+
mediaSingle: [],
|
|
71
|
+
mediaMultiple: [],
|
|
72
|
+
selectionStatic: [FilterMatchMode.IN, FilterMatchMode.NOT_IN],
|
|
73
|
+
selectionDynamic: [FilterMatchMode.IN, FilterMatchMode.NOT_IN],
|
|
74
|
+
computed: [],
|
|
75
|
+
externalId: [FilterMatchMode.IN, FilterMatchMode.NOT_IN],
|
|
76
|
+
uuid: [FilterMatchMode.IN, FilterMatchMode.NOT_IN],
|
|
77
|
+
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
const getRandomInt = (min, max) => {
|
|
81
|
+
return Math.floor(Math.random() * (max - min + 1)) + min;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// Component to render a single filter rule
|
|
85
|
+
const FilterRuleComponent = ({ viewData, fields, rule, onChange, onAddRule, onAddGroup, onDelete, level }) => {
|
|
86
|
+
// const applicableOperators = rule.fieldName ? operatorOptions[fields.find(f => f.name === rule.fieldName)?.value.type].map(e => { return { name: e } }) : [];
|
|
87
|
+
// const applicableInputField = rule.fieldName ? fields.find(f => f.name === rule.fieldName)?.type : "";
|
|
88
|
+
const [fieldName, setFieldName] = useState({ name: rule.fieldName });
|
|
89
|
+
const [matchMode, setMatchMode] = useState({ name: rule.matchMode });
|
|
90
|
+
console.log("fields", fields);
|
|
91
|
+
|
|
92
|
+
return (
|
|
93
|
+
// <div style={{ marginLeft: (level - 1) * 10 + 'px' }} className="filter-rule">
|
|
94
|
+
<div style={{ marginLeft: 5 + 'px' }} className="filter-rule">
|
|
95
|
+
<div className="filter-individual-rule">
|
|
96
|
+
<div className='filter-individual-rule-form'>
|
|
97
|
+
<div className="grid align-items-center">
|
|
98
|
+
<div className="col-10 p-0">
|
|
99
|
+
<div className="filter-component-fields">
|
|
100
|
+
<Dropdown
|
|
101
|
+
key={rule.id}
|
|
102
|
+
value={fieldName.name}
|
|
103
|
+
onChange={e => {
|
|
104
|
+
setFieldName({ name: e.value, value: e.value })
|
|
105
|
+
onChange(rule.id, 'fieldName', e.value)
|
|
106
|
+
}}
|
|
107
|
+
options={fields}
|
|
108
|
+
optionLabel='name'
|
|
109
|
+
optionValue='name'
|
|
110
|
+
placeholder="Select Field" className="w-full md:w-14rem" />
|
|
111
|
+
|
|
112
|
+
{/* <Dropdown
|
|
113
|
+
value={matchMode}
|
|
114
|
+
onChange={e => {
|
|
115
|
+
setMatchMode({ name: e.value.name })
|
|
116
|
+
onChange(rule.id, 'matchMode', e.value.name)
|
|
117
|
+
}}
|
|
118
|
+
disabled={!rule.fieldName}
|
|
119
|
+
options={applicableOperators}
|
|
120
|
+
optionLabel='name'
|
|
121
|
+
placeholder="Select Field" className="w-full filter-small-input md:w-14rem" /> */}
|
|
122
|
+
{rule.fieldName &&
|
|
123
|
+
<SolidFilterFields viewData={viewData} fieldMetadata={viewData.data.solidFieldsMetadata[rule.fieldName]} onChange={onChange} index={rule.id} rule={rule}></SolidFilterFields>
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
{/* <div className="col-4">
|
|
128
|
+
{applicableInputField === 'number' && (
|
|
129
|
+
<InputNumber
|
|
130
|
+
value={rule.value || ''}
|
|
131
|
+
placeholder="Value"
|
|
132
|
+
className='filter-small-input'
|
|
133
|
+
onChange={(e) => onChange(rule.id, 'value', e.value)}
|
|
134
|
+
/>
|
|
135
|
+
)
|
|
136
|
+
}
|
|
137
|
+
{applicableInputField === 'string' && (
|
|
138
|
+
<InputText
|
|
139
|
+
value={rule.value || ''}
|
|
140
|
+
placeholder="Value"
|
|
141
|
+
className='filter-small-input'
|
|
142
|
+
onChange={(e) => onChange(rule.id, 'value', e.target.value)}
|
|
143
|
+
/>
|
|
144
|
+
)
|
|
145
|
+
}
|
|
146
|
+
{applicableInputField === 'date' && (
|
|
147
|
+
<Calendar value={rule.value || ''} onChange={(e) => onChange(rule.id, 'value', new Date(e.value))} dateFormat="dd/mm/yy" showIcon />
|
|
148
|
+
)
|
|
149
|
+
}
|
|
150
|
+
</div> */}
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
</div>
|
|
154
|
+
</div>
|
|
155
|
+
<div className="col-2 flex justify-content-end">
|
|
156
|
+
<button onClick={() => onAddRule(rule.parentRule)}>
|
|
157
|
+
<div className="card flex justify-content-center">
|
|
158
|
+
{/* <Tooltip target=".custom-target-icon" /> */}
|
|
159
|
+
|
|
160
|
+
<i className="custom-target-icon pi pi-plus-circle p-text-secondary p-overlay-badge"
|
|
161
|
+
data-pr-tooltip="Add Rule"
|
|
162
|
+
data-pr-position="right"
|
|
163
|
+
data-pr-at="right+5 top"
|
|
164
|
+
data-pr-my="left center-2"
|
|
165
|
+
style={{ fontSize: '1.2rem', cursor: 'pointer' }}>
|
|
166
|
+
</i>
|
|
167
|
+
</div>
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
</button>
|
|
171
|
+
|
|
172
|
+
{/* < Button
|
|
173
|
+
icon="pi pi-plus"
|
|
174
|
+
onClick={() => onAddGroup(rule.id)}
|
|
175
|
+
size="small"
|
|
176
|
+
className="small-button"
|
|
177
|
+
type="button"
|
|
178
|
+
/>
|
|
179
|
+
<Button
|
|
180
|
+
icon="pi pi-trash"
|
|
181
|
+
onClick={() => onDelete(rule.id)}
|
|
182
|
+
size="small"
|
|
183
|
+
className="small-button"
|
|
184
|
+
severity="danger"
|
|
185
|
+
type="button"
|
|
186
|
+
/> */}
|
|
187
|
+
<button onClick={() => onAddGroup(rule.id)}>
|
|
188
|
+
<div className="card flex justify-content-center">
|
|
189
|
+
|
|
190
|
+
<i className="custom-target-icon pi pi-sitemap p-text-secondary p-overlay-badge"
|
|
191
|
+
data-pr-tooltip="Add Group"
|
|
192
|
+
data-pr-position="right"
|
|
193
|
+
data-pr-at="right+5 top"
|
|
194
|
+
data-pr-my="left center-2"
|
|
195
|
+
style={{ fontSize: '1.2rem', cursor: 'pointer' }}>
|
|
196
|
+
</i>
|
|
197
|
+
</div>
|
|
198
|
+
|
|
199
|
+
</button>
|
|
200
|
+
|
|
201
|
+
<button onClick={() => onDelete(rule.id)}>
|
|
202
|
+
<div className="card flex justify-content-center">
|
|
203
|
+
|
|
204
|
+
<i className="custom-target-icon pi pi-trash p-text-secondary p-overlay-badge"
|
|
205
|
+
data-pr-tooltip="Delete Rule"
|
|
206
|
+
data-pr-position="right"
|
|
207
|
+
data-pr-at="right+5 top"
|
|
208
|
+
data-pr-my="left center-2"
|
|
209
|
+
style={{ fontSize: '1.2rem', cursor: 'pointer' }}>
|
|
210
|
+
</i>
|
|
211
|
+
</div>
|
|
212
|
+
</button>
|
|
213
|
+
|
|
214
|
+
</div>
|
|
215
|
+
|
|
216
|
+
</div>
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
</div>
|
|
223
|
+
|
|
224
|
+
</div>
|
|
225
|
+
|
|
226
|
+
<div className="nested-rules">
|
|
227
|
+
{rule.children && rule.children.map(nestedRule => (
|
|
228
|
+
nestedRule.type === FilterRuleType.RULE
|
|
229
|
+
? <FilterRuleComponent key={nestedRule.id} viewData={viewData} fields={fields} rule={nestedRule} onChange={onChange} onAddRule={onAddRule} onAddGroup={onAddGroup} onDelete={onDelete} level={level + 1} />
|
|
230
|
+
: <FilterGroupComponent key={nestedRule.id} viewData={viewData} fields={fields} group={nestedRule} onChange={onChange} onAddRule={onAddRule} onAddGroup={onAddGroup} onDelete={onDelete} level={level + 1} />
|
|
231
|
+
))}
|
|
232
|
+
</div>
|
|
233
|
+
</div>
|
|
234
|
+
);
|
|
235
|
+
};
|
|
236
|
+
|
|
237
|
+
// Component to render a group of filter rules
|
|
238
|
+
const FilterGroupComponent = ({ viewData, fields, group, onChange, onAddRule, onAddGroup, onDelete, level }) => {
|
|
239
|
+
return (
|
|
240
|
+
<div style={{ marginLeft: 5 + 'px' }} className="filter-group">
|
|
241
|
+
{/* <div style={{ marginLeft: (level - 1) * 10 + 'px' }} className="filter-group"> */}
|
|
242
|
+
|
|
243
|
+
<div className='flex justify-content-between align-items-center'>
|
|
244
|
+
<p className='m-0 mb-2 filter-text'> Match
|
|
245
|
+
<select className='filter-select'
|
|
246
|
+
value={group.matchOperator}
|
|
247
|
+
onChange={e => onChange(group.id, 'matchOperator', e.target.value)}
|
|
248
|
+
>
|
|
249
|
+
<option value={FilterOperator.AND}>AND</option>
|
|
250
|
+
<option value={FilterOperator.OR}>OR</option>
|
|
251
|
+
</select>
|
|
252
|
+
of the following rules:</p>
|
|
253
|
+
|
|
254
|
+
{/* <button onClick={() => onAddRule(group.id)}>Add Rule to Group</button> */}
|
|
255
|
+
{/* <button onClick={() => onAddGroup(group.id)}>Add Group to Group</button> */}
|
|
256
|
+
|
|
257
|
+
{/* Add Delete Button for non-root groups */}
|
|
258
|
+
{level > 0 && <button onClick={() => onDelete(group.id)}>
|
|
259
|
+
<div className="card flex justify-content-center">
|
|
260
|
+
<Tooltip target=".custom-target-icon" />
|
|
261
|
+
|
|
262
|
+
<i className="custom-target-icon pi pi-trash p-text-secondary p-overlay-badge"
|
|
263
|
+
data-pr-tooltip="Delete Group"
|
|
264
|
+
data-pr-position="right"
|
|
265
|
+
data-pr-at="right+5 top"
|
|
266
|
+
data-pr-my="left center-2"
|
|
267
|
+
style={{ fontSize: '1.2rem', cursor: 'pointer' }}>
|
|
268
|
+
</i>
|
|
269
|
+
</div></button>}
|
|
270
|
+
</div>
|
|
271
|
+
{group.children && group.children.map(rule => (
|
|
272
|
+
rule.type === FilterRuleType.RULE
|
|
273
|
+
? <FilterRuleComponent key={rule.id} viewData={viewData} fields={fields} rule={rule} onChange={onChange} onAddRule={onAddRule} onAddGroup={onAddGroup} onDelete={onDelete} level={level + 1} />
|
|
274
|
+
: <FilterGroupComponent key={rule.id} viewData={viewData} fields={fields} group={rule} onChange={onChange} onAddRule={onAddRule} onAddGroup={onAddGroup} onDelete={onDelete} level={level + 1} />
|
|
275
|
+
))}
|
|
276
|
+
</div>
|
|
277
|
+
);
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
// Main Filter component
|
|
281
|
+
const FilterComponent = ({ viewData, fields }) => {
|
|
282
|
+
const initialState: FilterRule[] = [
|
|
283
|
+
{
|
|
284
|
+
id: 1,
|
|
285
|
+
type: FilterRuleType.RULE_GROUP,
|
|
286
|
+
matchOperator: FilterOperator.OR,
|
|
287
|
+
parentRule: null,
|
|
288
|
+
children: [
|
|
289
|
+
{
|
|
290
|
+
id: Date.now() + getRandomInt(1, 500),
|
|
291
|
+
type: FilterRuleType.RULE,
|
|
292
|
+
fieldName: null,
|
|
293
|
+
matchMode: null,
|
|
294
|
+
value: null,
|
|
295
|
+
parentRule: 1,
|
|
296
|
+
children: []
|
|
297
|
+
}
|
|
298
|
+
]
|
|
299
|
+
}
|
|
300
|
+
];
|
|
301
|
+
|
|
302
|
+
const [filterRules, setFilterRules] = useState<FilterRule[]>(initialState);
|
|
303
|
+
const [printedState, setPrintedState] = useState<string>('');
|
|
304
|
+
|
|
305
|
+
const addChild = (rules, parentId, newChild) => {
|
|
306
|
+
return rules.map(rule => {
|
|
307
|
+
if (rule.id === parentId) {
|
|
308
|
+
return {
|
|
309
|
+
...rule,
|
|
310
|
+
children: [...(rule.children || []), newChild]
|
|
311
|
+
};
|
|
312
|
+
} else if (rule.children) {
|
|
313
|
+
return {
|
|
314
|
+
...rule,
|
|
315
|
+
children: addChild(rule.children, parentId, newChild)
|
|
316
|
+
};
|
|
317
|
+
}
|
|
318
|
+
return rule;
|
|
319
|
+
});
|
|
320
|
+
};
|
|
321
|
+
|
|
322
|
+
const handleChange = (id, key, value) => {
|
|
323
|
+
const updateRuleRecursively = (rules) => {
|
|
324
|
+
return rules.map(rule => {
|
|
325
|
+
if (rule.id === id) {
|
|
326
|
+
return { ...rule, [key]: value };
|
|
327
|
+
} else if (rule.children) {
|
|
328
|
+
return {
|
|
329
|
+
...rule,
|
|
330
|
+
children: updateRuleRecursively(rule.children)
|
|
331
|
+
};
|
|
332
|
+
}
|
|
333
|
+
return rule;
|
|
334
|
+
});
|
|
335
|
+
};
|
|
336
|
+
setFilterRules(prev => updateRuleRecursively(prev));
|
|
337
|
+
};
|
|
338
|
+
|
|
339
|
+
const handleAddRule = (parentGroupId) => {
|
|
340
|
+
const newRule: FilterRule = {
|
|
341
|
+
id: Date.now(),
|
|
342
|
+
type: FilterRuleType.RULE,
|
|
343
|
+
fieldName: null,
|
|
344
|
+
matchMode: null,
|
|
345
|
+
value: null,
|
|
346
|
+
parentRule: parentGroupId,
|
|
347
|
+
children: []
|
|
348
|
+
};
|
|
349
|
+
setFilterRules(prev => addChild(prev, parentGroupId, newRule));
|
|
350
|
+
};
|
|
351
|
+
|
|
352
|
+
const handleAddGroup = (parentRuleId) => {
|
|
353
|
+
const newGroupId = Date.now();
|
|
354
|
+
const newGroup: FilterRule = {
|
|
355
|
+
id: newGroupId,
|
|
356
|
+
type: FilterRuleType.RULE_GROUP,
|
|
357
|
+
matchOperator: FilterOperator.AND,
|
|
358
|
+
parentRule: parentRuleId,
|
|
359
|
+
children: [
|
|
360
|
+
{
|
|
361
|
+
id: Date.now() + getRandomInt(1, 500),
|
|
362
|
+
type: FilterRuleType.RULE,
|
|
363
|
+
fieldName: null,
|
|
364
|
+
matchMode: null,
|
|
365
|
+
value: null,
|
|
366
|
+
parentRule: newGroupId,
|
|
367
|
+
children: []
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
id: Date.now() + getRandomInt(1, 500),
|
|
371
|
+
type: FilterRuleType.RULE,
|
|
372
|
+
fieldName: null,
|
|
373
|
+
matchMode: null,
|
|
374
|
+
value: null,
|
|
375
|
+
parentRule: newGroupId,
|
|
376
|
+
children: []
|
|
377
|
+
}
|
|
378
|
+
]
|
|
379
|
+
};
|
|
380
|
+
setFilterRules(prev => addChild(prev, parentRuleId, newGroup));
|
|
381
|
+
};
|
|
382
|
+
|
|
383
|
+
const handleDeleteRule = (id) => {
|
|
384
|
+
const deleteRecursively = (rules, id) => {
|
|
385
|
+
return rules.filter(rule => rule.id !== id).map(rule => {
|
|
386
|
+
if (rule.children) {
|
|
387
|
+
return {
|
|
388
|
+
...rule,
|
|
389
|
+
children: deleteRecursively(rule.children, id)
|
|
390
|
+
};
|
|
391
|
+
}
|
|
392
|
+
return rule;
|
|
393
|
+
});
|
|
394
|
+
};
|
|
395
|
+
setFilterRules(prev => deleteRecursively(prev, id));
|
|
396
|
+
};
|
|
397
|
+
|
|
398
|
+
const handlePrintState = () => {
|
|
399
|
+
setPrintedState(JSON.stringify(filterRules, null, 2)); // Pretty format the state
|
|
400
|
+
};
|
|
401
|
+
|
|
402
|
+
return (
|
|
403
|
+
<div className=''>
|
|
404
|
+
<div className="filter-builder">
|
|
405
|
+
|
|
406
|
+
{filterRules.map(rule => (
|
|
407
|
+
<FilterGroupComponent
|
|
408
|
+
key={rule.id}
|
|
409
|
+
viewData={viewData}
|
|
410
|
+
fields={fields}
|
|
411
|
+
group={rule}
|
|
412
|
+
onChange={handleChange}
|
|
413
|
+
onAddRule={handleAddRule}
|
|
414
|
+
onAddGroup={handleAddGroup}
|
|
415
|
+
onDelete={handleDeleteRule}
|
|
416
|
+
level={0} // Top-level group
|
|
417
|
+
/>
|
|
418
|
+
))}
|
|
419
|
+
|
|
420
|
+
</div>
|
|
421
|
+
|
|
422
|
+
<div>
|
|
423
|
+
<button onClick={handlePrintState}>Print State</button>
|
|
424
|
+
<br></br>
|
|
425
|
+
<textarea value={printedState} readOnly rows={20} cols={80} style={{ marginTop: '20px' }} />
|
|
426
|
+
</div>
|
|
427
|
+
</div>
|
|
428
|
+
);
|
|
429
|
+
};
|
|
430
|
+
|
|
431
|
+
export default FilterComponent;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import dynamic from "next/dynamic";
|
|
3
|
+
import path from "path";
|
|
4
|
+
|
|
5
|
+
// Fallback component for missing components
|
|
6
|
+
const FallbackComponent = ({ componentName }: any) => (
|
|
7
|
+
<div style={{ color: "red" }}>
|
|
8
|
+
Could not load <strong>{componentName}</strong>
|
|
9
|
+
</div>
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
type Props = {
|
|
13
|
+
context: any;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export const LoadDynamicJsxComponent = ({ context }: any) => {
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
const Component = dynamic<Props>(
|
|
22
|
+
async () => {
|
|
23
|
+
try {
|
|
24
|
+
|
|
25
|
+
const componentName = context?.rowAction?.action?.customComponent.split('/').pop();
|
|
26
|
+
const mod = await import(
|
|
27
|
+
path.resolve(__dirname, 'src/components', context?.rowAction?.action?.customComponent)
|
|
28
|
+
);
|
|
29
|
+
// Return the default export or a named export matching the componentName
|
|
30
|
+
return mod.default || mod[componentName];
|
|
31
|
+
} catch (error) {
|
|
32
|
+
console.error(`Failed to load component "${context?.rowAction?.action?.customComponent}":`, error);
|
|
33
|
+
// Return a fallback component if the import fails
|
|
34
|
+
return () => <FallbackComponent componentName={context?.rowAction?.action?.customComponent} />;
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{ ssr: false } // Disable server-side rendering
|
|
38
|
+
);
|
|
39
|
+
return (
|
|
40
|
+
|
|
41
|
+
<Component context={context} />
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
|
|
@@ -1,22 +1,30 @@
|
|
|
1
|
-
|
|
1
|
+
'use client';
|
|
2
2
|
import { useState } from "react";
|
|
3
|
+
import { Dialog } from "primereact/dialog";
|
|
4
|
+
import dynamic from "next/dynamic";
|
|
3
5
|
|
|
4
6
|
|
|
5
|
-
export const SolidConfigureLayoutElement = ({}: any) => {
|
|
7
|
+
export const SolidConfigureLayoutElement = ({ }: any) => {
|
|
6
8
|
|
|
7
9
|
const [visible, setVisible] = useState<boolean>(false);
|
|
8
10
|
|
|
11
|
+
const [componentsToRender, setComponentsToRender] = useState(["Header", "NonExistentComponent"]);
|
|
12
|
+
|
|
9
13
|
return (
|
|
10
14
|
<div className="card flex justify-content-center">
|
|
11
|
-
|
|
15
|
+
<i className="pi pi-cog" onClick={() => setVisible(true)}></i>
|
|
12
16
|
|
|
13
|
-
<Dialog header="Header" visible={visible} style={{ width: '50vw' }} onHide={() => {if (!visible) return; setVisible(false); }}>
|
|
17
|
+
<Dialog header="Header" visible={visible} style={{ width: '50vw' }} onHide={() => { if (!visible) return; setVisible(false); }}>
|
|
14
18
|
<p className="m-0">
|
|
15
|
-
|
|
19
|
+
ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
|
16
20
|
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
|
|
17
|
-
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
|
|
21
|
+
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
|
|
18
22
|
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
19
23
|
</p>
|
|
24
|
+
<div>
|
|
25
|
+
|
|
26
|
+
</div>
|
|
27
|
+
|
|
20
28
|
</Dialog>
|
|
21
29
|
</div>
|
|
22
30
|
)
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
'use client';
|
|
2
|
+
import { useEffect, useState } from "react";
|
|
2
3
|
import { Dialog } from "primereact/dialog";
|
|
3
4
|
import { TabPanel, TabView } from "primereact/tabview";
|
|
4
|
-
import { SolidKanbanFilter } from "../kanban/SolidKanbanFilter";
|
|
5
5
|
import { SolidSearchBox } from "./SolidSearchBox";
|
|
6
|
+
import FilterComponent from "@/components/core/common/FilterComponent";
|
|
7
|
+
import { Button } from "primereact/button";
|
|
6
8
|
|
|
7
9
|
|
|
8
|
-
export const SolidGlobalSearchElement = ({
|
|
10
|
+
export const SolidGlobalSearchElement = ({ viewData, applyFilter, filterValues, setFilterValues }: any) => {
|
|
9
11
|
|
|
10
12
|
const [visible, setVisible] = useState<boolean>(false);
|
|
11
13
|
const handleApplyFilter = (filters: any) => {
|
|
@@ -13,20 +15,43 @@ export const SolidGlobalSearchElement = ({ solidKanbanViewMetaData, applyFilter,
|
|
|
13
15
|
applyFilter(filters)
|
|
14
16
|
}
|
|
15
17
|
|
|
18
|
+
const [fields, setFields] = useState<any[]>([]);
|
|
19
|
+
|
|
20
|
+
useEffect(() => {
|
|
21
|
+
if (viewData?.data?.solidFieldsMetadata) {
|
|
22
|
+
const fieldsData = viewData?.data?.solidFieldsMetadata
|
|
23
|
+
const fieldsList = Object.entries(fieldsData).map(([key, value]: any) => ({ name: key, value: key }));
|
|
24
|
+
|
|
25
|
+
setFields(fieldsList)
|
|
26
|
+
}
|
|
27
|
+
}, [])
|
|
28
|
+
|
|
29
|
+
|
|
16
30
|
return (
|
|
17
31
|
|
|
18
32
|
|
|
19
33
|
<div className="card flex justify-content-center">
|
|
20
34
|
<i className="pi pi-search" onClick={() => setVisible(true)}></i>
|
|
21
|
-
|
|
22
|
-
|
|
35
|
+
<Dialog header={false} className="search-filter-popup" showHeader={false} visible={visible} style={{ width: '50vw' }} onHide={() => { if (!visible) return; setVisible(false); }}>
|
|
36
|
+
<div className="flex field-popup-navigation gap-3 justify-content-between ">
|
|
37
|
+
<div className="flex text-2xl font-bold align-items-center ml-4" style={{ color: '#000' }}>
|
|
38
|
+
<i className="pi pi-search" style={{ marginRight: '5px',color:"#06b6d4" }}></i>
|
|
39
|
+
<p className="popup-heading m-0">Search and Filter</p>
|
|
40
|
+
</div>
|
|
41
|
+
<div className="flex align-items-center gap-3 close-popup">
|
|
42
|
+
<Button icon="pi pi-times" rounded text aria-label="Cancel" type="reset" size="small" onClick={() => setVisible(false)} />
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
23
45
|
<div className="card relative">
|
|
24
|
-
<TabView>
|
|
46
|
+
<TabView >
|
|
25
47
|
<TabPanel header="Search">
|
|
26
|
-
<SolidSearchBox
|
|
48
|
+
<SolidSearchBox viewData={viewData}></SolidSearchBox>
|
|
27
49
|
</TabPanel>
|
|
28
50
|
<TabPanel header="Filter" >
|
|
29
|
-
|
|
51
|
+
{fields.length > 0 &&
|
|
52
|
+
<FilterComponent viewData={viewData} fields={fields}></FilterComponent>
|
|
53
|
+
}
|
|
54
|
+
{/* <SolidKanbanFilter solidKanbanViewMetaData={solidKanbanViewMetaData} handleApplyFilter={handleApplyFilter} filterValues={filterValues} setFilterValues={setFilterValues}></SolidKanbanFilter> */}
|
|
30
55
|
</TabPanel>
|
|
31
56
|
</TabView>
|
|
32
57
|
</div >
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { AutoComplete, AutoCompleteCompleteEvent } from "primereact/autocomplete";
|
|
2
3
|
import { useState } from "react";
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
export const SolidSearchBox = ({
|
|
6
|
+
export const SolidSearchBox = ({ viewData }: any) => {
|
|
6
7
|
const [value, setValue] = useState<string>('');
|
|
7
8
|
const [items, setItems] = useState<string[]>([]);
|
|
8
9
|
const search = (event: any) => {
|
|
9
10
|
// setItems([...Array(10).keys()].map(item => event.query + '-' + item));
|
|
10
11
|
}
|
|
11
|
-
console.log("
|
|
12
|
+
console.log("viewData",viewData?.data?.solidView?.model?.userKeyField);
|
|
12
13
|
return (
|
|
13
14
|
<div className="card flex justify-content-center">
|
|
14
15
|
<AutoComplete value={value} suggestions={items} completeMethod={search} onChange={(e) => setValue(e.value)} />
|
package/src/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.tsx
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { useGenerateCodeForModelMutation } from "@/redux/api/modelApi";
|
|
3
|
+
import { Button } from "primereact/button";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export const GenerateModelCodeRowAction = ({ context }: any) => {
|
|
7
|
+
|
|
8
|
+
const [
|
|
9
|
+
generateCode,
|
|
10
|
+
{ isLoading: isGenerateCodeUpdating, isSuccess: isGenerateCodeSuceess, isError: isGenerateCodeError, error: generateCodeError, data: generateCodeData },
|
|
11
|
+
] = useGenerateCodeForModelMutation();
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
const generateCodeHandler = async () => {
|
|
15
|
+
const response = await generateCode({ id: context.rowData.id })
|
|
16
|
+
context.closeCustomRowActionPopup();
|
|
17
|
+
console.log("response", response);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
return (
|
|
21
|
+
<div>
|
|
22
|
+
<p className="">Click Ok to proceed with model code generation, please note that if the file already exists and <br></br>you have made custom changes to this file we will create a .bkp file as a backup of the existing file.</p>
|
|
23
|
+
<p>Below is the list of files that will be created </p>
|
|
24
|
+
<ul>
|
|
25
|
+
<li>Model Entity File</li>
|
|
26
|
+
<li>Model Controller File</li>
|
|
27
|
+
<li>Model Service File</li>
|
|
28
|
+
<li>Model Create and Update Dto files</li>
|
|
29
|
+
</ul>
|
|
30
|
+
<div className="flex gap-5 justify-content-center">
|
|
31
|
+
<Button label="Ok" icon="pi pi-check" className='small-button' severity="danger" autoFocus onClick={generateCodeHandler} />
|
|
32
|
+
<Button label="Cancel" icon="pi pi-times" className='small-button' onClick={() => context.closeCustomRowActionPopup()} />
|
|
33
|
+
</div>
|
|
34
|
+
</div >
|
|
35
|
+
)
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
|
package/src/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.tsx
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { useGenerateCodeFormoduleMutation } from "@/redux/api/moduleApi";
|
|
3
|
+
import { Button } from "primereact/button";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export const GenerateModuleCodeRowAction = ({ context, closeCustomRowActionPopup }: any) => {
|
|
7
|
+
const [
|
|
8
|
+
generateCode,
|
|
9
|
+
{ isLoading: isGenerateCodeUpdating, isSuccess: isGenerateCodeSuceess, isError: isGenerateCodeError, error: generateCodeError, data: generateCodeData },
|
|
10
|
+
] = useGenerateCodeFormoduleMutation();
|
|
11
|
+
|
|
12
|
+
const generateCodeHandler = async () => {
|
|
13
|
+
const response = await generateCode({ id: context.rowData.id })
|
|
14
|
+
closeCustomRowActionPopup()
|
|
15
|
+
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
return (
|
|
19
|
+
<div>
|
|
20
|
+
<p className="text-center">Click Ok to proceed with module code generation, please note that if the file already exists and <br></br>you have made custom changes to this file we will create a .bkp file as a backup of the existing file.</p>
|
|
21
|
+
<div className="flex gap-5 justify-content-center">
|
|
22
|
+
<Button label="Ok" icon="pi pi-check" className='small-button' severity="danger" autoFocus onClick={generateCodeHandler} />
|
|
23
|
+
<Button label="Cancel" icon="pi pi-times" className='small-button' onClick={closeCustomRowActionPopup} />
|
|
24
|
+
</div>
|
|
25
|
+
</div >
|
|
26
|
+
)
|
|
27
|
+
}
|
|
28
|
+
|