@solidstarters/solid-core-ui 1.0.1 → 1.1.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.js.map +1 -1
- package/dist/components/CustomFooter/FooterForm.js.map +1 -1
- package/dist/components/auth/SolidForgotPassword.d.ts +3 -0
- package/dist/components/auth/SolidForgotPassword.d.ts.map +1 -0
- package/dist/components/auth/SolidForgotPassword.js +108 -0
- package/dist/components/auth/SolidForgotPassword.js.map +1 -0
- package/dist/components/auth/SolidLogin.d.ts +3 -0
- package/dist/components/auth/SolidLogin.d.ts.map +1 -0
- package/dist/components/auth/SolidLogin.js +115 -0
- package/dist/components/auth/SolidLogin.js.map +1 -0
- package/dist/components/auth/SolidOTPVerify.d.ts +3 -0
- package/dist/components/auth/SolidOTPVerify.d.ts.map +1 -0
- package/dist/components/auth/SolidOTPVerify.js +108 -0
- package/dist/components/auth/SolidOTPVerify.js.map +1 -0
- package/dist/components/auth/SolidRegister.d.ts +3 -0
- package/dist/components/auth/SolidRegister.d.ts.map +1 -0
- package/dist/components/auth/SolidRegister.js +166 -0
- package/dist/components/auth/SolidRegister.js.map +1 -0
- package/dist/components/auth/SolidResetPassword.d.ts +3 -0
- package/dist/components/auth/SolidResetPassword.d.ts.map +1 -0
- package/dist/components/auth/SolidResetPassword.js +119 -0
- package/dist/components/auth/SolidResetPassword.js.map +1 -0
- package/dist/components/core/common/FilterComponent.d.ts +33 -1
- package/dist/components/core/common/FilterComponent.d.ts.map +1 -1
- package/dist/components/core/common/FilterComponent.js +39 -35
- package/dist/components/core/common/FilterComponent.js.map +1 -1
- package/dist/components/core/common/SolidConfigureLayoutElement.js +4 -4
- package/dist/components/core/common/SolidConfigureLayoutElement.js.map +1 -1
- package/dist/components/core/common/SolidCreateButton.js +1 -1
- package/dist/components/core/common/SolidCreateButton.js.map +1 -1
- 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 +14 -9
- package/dist/components/core/common/SolidGlobalSearchElement.js.map +1 -1
- package/dist/components/core/common/SolidLayoutViews.d.ts +19 -0
- package/dist/components/core/common/SolidLayoutViews.d.ts.map +1 -0
- package/dist/components/core/common/SolidLayoutViews.js +14 -0
- package/dist/components/core/common/SolidLayoutViews.js.map +1 -0
- package/dist/components/core/common/SolidListViewOptions.d.ts +2 -0
- package/dist/components/core/common/SolidListViewOptions.d.ts.map +1 -0
- package/dist/components/core/common/SolidListViewOptions.js +11 -0
- package/dist/components/core/common/SolidListViewOptions.js.map +1 -0
- package/dist/components/core/common/SolidSearchBox.js.map +1 -1
- package/dist/components/core/field/FieldListViewData.js +7 -7
- package/dist/components/core/field/FieldListViewData.js.map +1 -1
- package/dist/components/core/filter/SolidFilterFields.d.ts.map +1 -1
- package/dist/components/core/filter/SolidFilterFields.js +32 -35
- package/dist/components/core/filter/SolidFilterFields.js.map +1 -1
- package/dist/components/core/filter/SolidManyToOneFilterElement.js +2 -2
- package/dist/components/core/filter/SolidManyToOneFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.d.ts.map +1 -1
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.js +0 -1
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.d.ts.map +1 -1
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.js +0 -1
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidVarInputsFilterElement.d.ts.map +1 -1
- package/dist/components/core/filter/SolidVarInputsFilterElement.js +1 -2
- package/dist/components/core/filter/SolidVarInputsFilterElement.js.map +1 -1
- package/dist/components/core/filter/fields/SolidBigintField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidBigintField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidBigintField.js +8 -0
- package/dist/components/core/filter/fields/SolidBigintField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidBooleanField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidBooleanField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidBooleanField.js +26 -0
- package/dist/components/core/filter/fields/SolidBooleanField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidComputedField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidComputedField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidComputedField.js +22 -0
- package/dist/components/core/filter/fields/SolidComputedField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidDateField.d.ts +8 -0
- package/dist/components/core/filter/fields/SolidDateField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidDateField.js +34 -0
- package/dist/components/core/filter/fields/SolidDateField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidDatetimeField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidDatetimeField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidDatetimeField.js +29 -0
- package/dist/components/core/filter/fields/SolidDatetimeField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidDecimalField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidDecimalField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidDecimalField.js +8 -0
- package/dist/components/core/filter/fields/SolidDecimalField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidExternalIdField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidExternalIdField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidExternalIdField.js +24 -0
- package/dist/components/core/filter/fields/SolidExternalIdField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidFloatField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidFloatField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidFloatField.js +8 -0
- package/dist/components/core/filter/fields/SolidFloatField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidIdField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidIdField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidIdField.js +24 -0
- package/dist/components/core/filter/fields/SolidIdField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidIntField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidIntField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidIntField.js +33 -0
- package/dist/components/core/filter/fields/SolidIntField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidLongTextField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidLongTextField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidLongTextField.js +8 -0
- package/dist/components/core/filter/fields/SolidLongTextField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidMediaMultipleField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidMediaMultipleField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidMediaMultipleField.js +34 -0
- package/dist/components/core/filter/fields/SolidMediaMultipleField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidMediaSingleField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidMediaSingleField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidMediaSingleField.js +34 -0
- package/dist/components/core/filter/fields/SolidMediaSingleField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidRelationField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidRelationField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidRelationField.js +12 -0
- package/dist/components/core/filter/fields/SolidRelationField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidRichTextField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidRichTextField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidRichTextField.js +8 -0
- package/dist/components/core/filter/fields/SolidRichTextField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidSelectionDynamicField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidSelectionDynamicField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidSelectionDynamicField.js +23 -0
- package/dist/components/core/filter/fields/SolidSelectionDynamicField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidSelectionStaticField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidSelectionStaticField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidSelectionStaticField.js +25 -0
- package/dist/components/core/filter/fields/SolidSelectionStaticField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidShortTextField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidShortTextField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidShortTextField.js +32 -0
- package/dist/components/core/filter/fields/SolidShortTextField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidTimeField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidTimeField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidTimeField.js +24 -0
- package/dist/components/core/filter/fields/SolidTimeField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidUuidField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidUuidField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidUuidField.js +24 -0
- package/dist/components/core/filter/fields/SolidUuidField.js.map +1 -0
- package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.d.ts +4 -0
- package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.js +53 -0
- package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.js.map +1 -0
- package/dist/components/core/form/SolidFormView.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormView.js +23 -23
- package/dist/components/core/form/SolidFormView.js.map +1 -1
- package/dist/components/core/form/fields/ISolidField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidBooleanField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidBooleanField.js +1 -1
- package/dist/components/core/form/fields/SolidBooleanField.js.map +1 -1
- package/dist/components/core/form/fields/SolidDateField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidDateField.js +2 -2
- package/dist/components/core/form/fields/SolidDateField.js.map +1 -1
- package/dist/components/core/form/fields/SolidDateTimeField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidDateTimeField.js +2 -2
- package/dist/components/core/form/fields/SolidDateTimeField.js.map +1 -1
- package/dist/components/core/form/fields/SolidDecimalField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidDecimalField.js +2 -2
- package/dist/components/core/form/fields/SolidDecimalField.js.map +1 -1
- package/dist/components/core/form/fields/SolidIntegerField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidIntegerField.js +2 -2
- package/dist/components/core/form/fields/SolidIntegerField.js.map +1 -1
- package/dist/components/core/form/fields/SolidJsonField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidJsonField.js +2 -2
- package/dist/components/core/form/fields/SolidJsonField.js.map +1 -1
- package/dist/components/core/form/fields/SolidLongTextField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidLongTextField.js +2 -2
- package/dist/components/core/form/fields/SolidLongTextField.js.map +1 -1
- package/dist/components/core/form/fields/SolidMediaMultipleField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidMediaMultipleField.js +5 -5
- package/dist/components/core/form/fields/SolidMediaMultipleField.js.map +1 -1
- package/dist/components/core/form/fields/SolidMediaSingleField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidMediaSingleField.js +5 -5
- package/dist/components/core/form/fields/SolidMediaSingleField.js.map +1 -1
- package/dist/components/core/form/fields/SolidRelationField.js +1 -1
- package/dist/components/core/form/fields/SolidRelationField.js.map +1 -1
- package/dist/components/core/form/fields/SolidRichTextField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidRichTextField.js +2 -2
- package/dist/components/core/form/fields/SolidRichTextField.js.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionDynamicField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionDynamicField.js +3 -3
- package/dist/components/core/form/fields/SolidSelectionDynamicField.js.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionStaticField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionStaticField.js +2 -2
- package/dist/components/core/form/fields/SolidSelectionStaticField.js.map +1 -1
- package/dist/components/core/form/fields/SolidShortTextField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidShortTextField.js +1 -1
- package/dist/components/core/form/fields/SolidShortTextField.js.map +1 -1
- package/dist/components/core/form/fields/SolidTimeField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidTimeField.js +2 -2
- package/dist/components/core/form/fields/SolidTimeField.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js +7 -7
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js +3 -3
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js +2 -2
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js.map +1 -1
- package/dist/components/core/kanban/KanbanBoard.d.ts +1 -1
- package/dist/components/core/kanban/KanbanBoard.d.ts.map +1 -1
- package/dist/components/core/kanban/KanbanBoard.js +10 -10
- package/dist/components/core/kanban/KanbanBoard.js.map +1 -1
- package/dist/components/core/kanban/KanbanCard.d.ts.map +1 -1
- package/dist/components/core/kanban/KanbanCard.js.map +1 -1
- package/dist/components/core/kanban/KanbanColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/KanbanColumn.js +2 -2
- package/dist/components/core/kanban/KanbanColumn.js.map +1 -1
- package/dist/components/core/kanban/SolidKanbanView.d.ts.map +1 -1
- package/dist/components/core/kanban/SolidKanbanView.js +121 -210
- package/dist/components/core/kanban/SolidKanbanView.js.map +1 -1
- package/dist/components/core/list/SolidListView.d.ts.map +1 -1
- package/dist/components/core/list/SolidListView.js +302 -53
- package/dist/components/core/list/SolidListView.js.map +1 -1
- package/dist/components/core/list/SolidListViewColumn.d.ts.map +1 -1
- package/dist/components/core/list/SolidListViewColumn.js +12 -12
- package/dist/components/core/list/SolidListViewColumn.js.map +1 -1
- package/dist/components/core/list/SolidListingHeader.d.ts.map +1 -1
- package/dist/components/core/list/SolidListingHeader.js.map +1 -1
- package/dist/components/core/list/SolidManyToOneFilterElement.d.ts.map +1 -1
- package/dist/components/core/list/SolidManyToOneFilterElement.js +1 -2
- package/dist/components/core/list/SolidManyToOneFilterElement.js.map +1 -1
- package/dist/components/core/list/SolidSelectionDynamicFilterElement.js +2 -2
- package/dist/components/core/list/SolidSelectionDynamicFilterElement.js.map +1 -1
- package/dist/components/core/list/SolidSelectionStaticFilterElement.d.ts.map +1 -1
- package/dist/components/core/list/SolidSelectionStaticFilterElement.js.map +1 -1
- package/dist/components/core/list/SolidVarInputsFilterElement.js +1 -1
- package/dist/components/core/list/SolidVarInputsFilterElement.js.map +1 -1
- package/dist/components/core/list/columns/SolidBooleanColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidBooleanColumn.js +3 -1
- package/dist/components/core/list/columns/SolidBooleanColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidComputedColumn.js +2 -2
- package/dist/components/core/list/columns/SolidComputedColumn.js.map +1 -1
- 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 +2 -2
- package/dist/components/core/list/columns/SolidDateColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidDatetimeColumn.d.ts.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/SolidIdColumn.d.ts.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.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidIntColumn.js +2 -2
- package/dist/components/core/list/columns/SolidIntColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.d.ts.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.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.js +4 -2
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidShortTextColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidShortTextColumn.js +7 -3
- package/dist/components/core/list/columns/SolidShortTextColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidTimeColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidTimeColumn.js +4 -2
- package/dist/components/core/list/columns/SolidTimeColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidUuidColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidUuidColumn.js +4 -2
- package/dist/components/core/list/columns/SolidUuidColumn.js.map +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js.map +1 -1
- package/dist/components/core/model/CreateModel.js +8 -8
- package/dist/components/core/model/CreateModel.js.map +1 -1
- package/dist/components/core/model/FieldMetaData.d.ts.map +1 -1
- package/dist/components/core/model/FieldMetaData.js +6 -6
- package/dist/components/core/model/FieldMetaData.js.map +1 -1
- package/dist/components/core/model/FieldMetaDataForm.js +23 -23
- package/dist/components/core/model/FieldMetaDataForm.js.map +1 -1
- package/dist/components/core/model/FieldSelector.d.ts.map +1 -1
- package/dist/components/core/model/FieldSelector.js.map +1 -1
- package/dist/components/core/model/ModelListViewData.d.ts.map +1 -1
- package/dist/components/core/model/ModelListViewData.js +7 -7
- package/dist/components/core/model/ModelListViewData.js.map +1 -1
- package/dist/components/core/model/ModelMetaData.d.ts.map +1 -1
- package/dist/components/core/model/ModelMetaData.js +9 -9
- package/dist/components/core/model/ModelMetaData.js.map +1 -1
- package/dist/components/core/module/CreateModule.d.ts.map +1 -1
- package/dist/components/core/module/CreateModule.js +18 -18
- package/dist/components/core/module/CreateModule.js.map +1 -1
- package/dist/components/core/module/ModuleListViewData.d.ts.map +1 -1
- package/dist/components/core/module/ModuleListViewData.js +8 -8
- package/dist/components/core/module/ModuleListViewData.js.map +1 -1
- package/dist/components/core/users/CreateUser.js +11 -11
- package/dist/components/core/users/CreateUser.js.map +1 -1
- package/dist/components/core/users/CreateUserRole.d.ts.map +1 -1
- package/dist/components/core/users/CreateUserRole.js +9 -9
- package/dist/components/core/users/CreateUserRole.js.map +1 -1
- package/dist/components/core/users/UserListView.d.ts.map +1 -1
- package/dist/components/core/users/UserListView.js +7 -7
- package/dist/components/core/users/UserListView.js.map +1 -1
- package/dist/components/layout/AdminSidebar.js.map +1 -1
- package/dist/components/layout/AppConfig.d.ts +4 -0
- package/dist/components/layout/AppConfig.d.ts.map +1 -0
- package/dist/components/layout/AppConfig.js +57 -0
- package/dist/components/layout/AppConfig.js.map +1 -0
- package/dist/components/layout/AppSidebar.d.ts +3 -0
- package/dist/components/layout/AppSidebar.d.ts.map +1 -0
- package/dist/components/layout/AppSidebar.js +75 -0
- package/dist/components/layout/AppSidebar.js.map +1 -0
- package/dist/components/layout/ButtonLoader.d.ts.map +1 -1
- package/dist/components/layout/ButtonLoader.js.map +1 -1
- package/dist/components/layout/CustomPagination.d.ts +0 -6
- package/dist/components/layout/CustomPagination.d.ts.map +1 -1
- package/dist/components/layout/CustomPagination.js +48 -27
- package/dist/components/layout/CustomPagination.js.map +1 -1
- package/dist/components/layout/FilterMenu.d.ts.map +1 -1
- package/dist/components/layout/FilterMenu.js +1 -2
- package/dist/components/layout/FilterMenu.js.map +1 -1
- package/dist/components/layout/GlobalSearch.js.map +1 -1
- package/dist/components/layout/ListingHeader.js +2 -2
- package/dist/components/layout/ListingHeader.js.map +1 -1
- package/dist/components/layout/context/layoutcontext.d.ts +5 -0
- package/dist/components/layout/context/layoutcontext.d.ts.map +1 -0
- package/dist/components/layout/context/layoutcontext.js +56 -0
- package/dist/components/layout/context/layoutcontext.js.map +1 -0
- package/dist/components/layout/navbar-one.d.ts.map +1 -1
- package/dist/components/layout/navbar-one.js +13 -11
- package/dist/components/layout/navbar-one.js.map +1 -1
- package/dist/components/layout/navbar-two-menu.d.ts.map +1 -1
- package/dist/components/layout/navbar-two-menu.js +7 -7
- package/dist/components/layout/navbar-two-menu.js.map +1 -1
- package/dist/components/layout/navbar-two.js +1 -1
- package/dist/components/layout/navbar-two.js.map +1 -1
- package/dist/components/layout/user-profile-menu.d.ts.map +1 -1
- package/dist/components/layout/user-profile-menu.js +38 -6
- package/dist/components/layout/user-profile-menu.js.map +1 -1
- package/dist/components/modelsComponents/filterIcon.d.ts.map +1 -1
- package/dist/components/modelsComponents/filterIcon.js.map +1 -1
- package/dist/components/tables/ListViewTable.d.ts.map +1 -1
- package/dist/components/tables/ListViewTable.js +8 -7
- package/dist/components/tables/ListViewTable.js.map +1 -1
- package/dist/helpers/helpers.d.ts +1 -1
- package/dist/helpers/helpers.d.ts.map +1 -1
- package/dist/index.d.ts +19 -14
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +43 -35
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
- package/src/components/CustomFooter/CustomFooter.tsx +2 -2
- package/src/components/CustomFooter/FooterForm.tsx +2 -2
- package/src/components/auth/SolidForgotPassword.tsx +124 -0
- package/src/components/auth/SolidLogin.tsx +156 -0
- package/src/components/auth/SolidOTPVerify.tsx +127 -0
- package/src/components/auth/SolidRegister.tsx +221 -0
- package/src/components/auth/SolidResetPassword.tsx +160 -0
- package/src/components/core/common/FilterComponent.tsx +87 -57
- package/src/components/core/common/SolidConfigureLayoutElement.tsx +12 -12
- package/src/components/core/common/SolidCreateButton.tsx +1 -1
- package/src/components/core/common/SolidGlobalSearchElement.tsx +33 -13
- package/src/components/core/common/SolidLayoutViews.tsx +87 -0
- package/src/components/core/common/SolidListViewOptions.tsx +31 -0
- package/src/components/core/common/SolidSearchBox.tsx +1 -1
- package/src/components/core/field/FieldListViewData.tsx +10 -10
- package/src/components/core/filter/SolidFilterFields.tsx +32 -35
- package/src/components/core/filter/SolidManyToOneFilterElement.tsx +2 -2
- package/src/components/core/filter/SolidSelectionDynamicFilterElement.tsx +0 -1
- package/src/components/core/filter/SolidSelectionStaticFilterElement.tsx +0 -1
- package/src/components/core/filter/SolidVarInputsFilterElement.tsx +2 -4
- package/src/components/core/filter/{columns → fields}/SolidBigintField.tsx +1 -1
- package/src/components/core/filter/{columns → fields}/SolidBooleanField.tsx +6 -7
- package/src/components/core/filter/{columns → fields}/SolidComputedField.tsx +4 -4
- package/src/components/core/filter/{columns → fields}/SolidDateField.tsx +12 -13
- package/src/components/core/filter/{columns → fields}/SolidDatetimeField.tsx +10 -7
- package/src/components/core/filter/{columns → fields}/SolidDecimalField.tsx +1 -2
- package/src/components/core/filter/{columns → fields}/SolidExternalIdField.tsx +6 -9
- package/src/components/core/filter/{columns → fields}/SolidFloatField.tsx +1 -1
- package/src/components/core/filter/{columns → fields}/SolidIdField.tsx +8 -10
- package/src/components/core/filter/{columns → fields}/SolidIntField.tsx +12 -14
- package/src/components/core/filter/{columns → fields}/SolidLongTextField.tsx +1 -1
- package/src/components/core/filter/{columns → fields}/SolidMediaMultipleField.tsx +12 -15
- package/src/components/core/filter/{columns → fields}/SolidMediaSingleField.tsx +12 -14
- package/src/components/core/filter/{columns → fields}/SolidRelationField.tsx +1 -1
- package/src/components/core/filter/{columns → fields}/SolidRichTextField.tsx +1 -1
- package/src/components/core/filter/{columns → fields}/SolidSelectionDynamicField.tsx +6 -9
- package/src/components/core/filter/{columns → fields}/SolidSelectionStaticField.tsx +7 -9
- package/src/components/core/filter/{columns → fields}/SolidShortTextField.tsx +12 -14
- package/src/components/core/filter/{columns → fields}/SolidTimeField.tsx +5 -6
- package/src/components/core/filter/{columns → fields}/SolidUuidField.tsx +6 -8
- package/src/components/core/filter/{columns → fields}/relations/SolidRelationManyToOneField.tsx +6 -7
- package/src/components/core/form/SolidFormView.tsx +27 -26
- package/src/components/core/form/fields/ISolidField.tsx +1 -1
- package/src/components/core/form/fields/SolidBooleanField.tsx +3 -5
- package/src/components/core/form/fields/SolidDateField.tsx +4 -5
- package/src/components/core/form/fields/SolidDateTimeField.tsx +4 -5
- package/src/components/core/form/fields/SolidDecimalField.tsx +3 -5
- package/src/components/core/form/fields/SolidIntegerField.tsx +3 -5
- package/src/components/core/form/fields/SolidJsonField.tsx +3 -9
- package/src/components/core/form/fields/SolidLongTextField.tsx +3 -4
- package/src/components/core/form/fields/SolidMediaMultipleField.tsx +7 -8
- package/src/components/core/form/fields/SolidMediaSingleField.tsx +7 -8
- package/src/components/core/form/fields/SolidRelationField.tsx +1 -1
- package/src/components/core/form/fields/SolidRichTextField.tsx +4 -6
- package/src/components/core/form/fields/SolidSelectionDynamicField.tsx +5 -6
- package/src/components/core/form/fields/SolidSelectionStaticField.tsx +4 -6
- package/src/components/core/form/fields/SolidShortTextField.tsx +3 -4
- package/src/components/core/form/fields/SolidTimeField.tsx +4 -5
- package/src/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +9 -12
- package/src/components/core/form/fields/relations/SolidRelationManyToOneField.tsx +5 -6
- package/src/components/core/form/fields/relations/SolidRelationOneToManyField.tsx +4 -10
- package/src/components/core/kanban/KanbanBoard.tsx +4 -2
- package/src/components/core/kanban/KanbanCard.tsx +1 -1
- package/src/components/core/kanban/KanbanColumn.tsx +2 -3
- package/src/components/core/kanban/SolidKanbanView.tsx +121 -262
- package/src/components/core/list/SolidListView.tsx +408 -86
- package/src/components/core/list/SolidListViewColumn.tsx +12 -13
- package/src/components/core/list/SolidListingHeader.tsx +1 -2
- package/src/components/core/list/SolidManyToOneFilterElement.tsx +1 -2
- package/src/components/core/list/SolidSelectionDynamicFilterElement.tsx +2 -2
- package/src/components/core/list/SolidSelectionStaticFilterElement.tsx +0 -2
- package/src/components/core/list/SolidVarInputsFilterElement.tsx +3 -3
- package/src/components/core/list/columns/SolidBooleanColumn.tsx +2 -7
- package/src/components/core/list/columns/SolidComputedColumn.tsx +2 -2
- package/src/components/core/list/columns/SolidDateColumn.tsx +3 -4
- package/src/components/core/list/columns/SolidDatetimeColumn.tsx +2 -3
- package/src/components/core/list/columns/SolidIdColumn.tsx +3 -4
- package/src/components/core/list/columns/SolidIntColumn.tsx +3 -4
- package/src/components/core/list/columns/SolidSelectionDynamicColumn.tsx +3 -4
- package/src/components/core/list/columns/SolidSelectionStaticColumn.tsx +4 -5
- package/src/components/core/list/columns/SolidShortTextColumn.tsx +11 -7
- package/src/components/core/list/columns/SolidTimeColumn.tsx +3 -5
- package/src/components/core/list/columns/SolidUuidColumn.tsx +4 -5
- package/src/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx +3 -4
- package/src/components/core/model/CreateModel.tsx +9 -9
- package/src/components/core/model/FieldMetaData.tsx +7 -9
- package/src/components/core/model/FieldMetaDataForm.tsx +23 -23
- package/src/components/core/model/FieldSelector.tsx +1 -3
- package/src/components/core/model/ModelListViewData.tsx +11 -16
- package/src/components/core/model/ModelMetaData.tsx +9 -13
- package/src/components/core/module/CreateModule.tsx +18 -20
- package/src/components/core/module/ModuleListViewData.tsx +10 -19
- package/src/components/core/users/CreateUser.tsx +12 -12
- package/src/components/core/users/CreateUserRole.tsx +9 -14
- package/src/components/core/users/UserListView.tsx +9 -10
- package/src/components/layout/AdminSidebar.tsx +1 -1
- package/src/components/layout/AppConfig.tsx +103 -0
- package/src/components/layout/AppSidebar.tsx +170 -0
- package/src/components/layout/ButtonLoader.tsx +0 -1
- package/src/components/layout/CustomPagination.tsx +55 -55
- package/src/components/layout/FilterMenu.tsx +1 -2
- package/src/components/layout/GlobalSearch.tsx +4 -4
- package/src/components/layout/ListingHeader.tsx +2 -2
- package/src/components/layout/context/layoutcontext.tsx +52 -0
- package/src/components/layout/navbar-one.tsx +8 -9
- package/src/components/layout/navbar-two-menu.tsx +14 -11
- package/src/components/layout/navbar-two.tsx +1 -1
- package/src/components/layout/user-profile-menu.tsx +74 -189
- package/src/components/modelsComponents/filterIcon.tsx +0 -1
- package/src/components/tables/ListViewTable.tsx +10 -9
- package/src/index.ts +157 -144
- package/src/types/index.d.ts +26 -0
- package/src/types/layout.d.ts +94 -0
- package/src/types/next-auth.d.ts +0 -0
- package/dist/components/core/kanban/SolidKanbanFilter.d.ts +0 -2
- package/dist/components/core/kanban/SolidKanbanFilter.d.ts.map +0 -1
- package/dist/components/core/kanban/SolidKanbanViewSearchColumn.d.ts +0 -10
- package/dist/components/core/kanban/SolidKanbanViewSearchColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/SolidManyToOneFilterElement.d.ts +0 -2
- package/dist/components/core/kanban/SolidManyToOneFilterElement.d.ts.map +0 -1
- package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.d.ts +0 -2
- package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.d.ts.map +0 -1
- package/dist/components/core/kanban/SolidSelectionStaticFilterElement.d.ts +0 -2
- package/dist/components/core/kanban/SolidSelectionStaticFilterElement.d.ts.map +0 -1
- package/dist/components/core/kanban/SolidVarInputsFilterElement.d.ts +0 -12
- package/dist/components/core/kanban/SolidVarInputsFilterElement.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidBigintColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidBigintColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidBooleanColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidBooleanColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidComputedColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidComputedColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidDateColumn.d.ts +0 -9
- package/dist/components/core/kanban/columns/SolidDateColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidDatetimeColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidDatetimeColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidDecimalColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidDecimalColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidExternalIdColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidExternalIdColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidFloatColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidFloatColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidIdColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidIdColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidIntColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidIntColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidLongTextColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidLongTextColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidMediaMultipleColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidMediaMultipleColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidMediaSingleColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidMediaSingleColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidRelationColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidRelationColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidRichTextColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidRichTextColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidSelectionDynamicColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidSelectionDynamicColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidSelectionStaticColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidSelectionStaticColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidShortTextColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidShortTextColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidTimeColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidTimeColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidUuidColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidUuidColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/relations/SolidRelationManyToOneColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/relations/SolidRelationManyToOneColumn.d.ts.map +0 -1
- package/dist/redux/hooks.d.ts +0 -2
- package/dist/redux/hooks.d.ts.map +0 -1
- package/dist/redux/store.d.ts +0 -375
- package/dist/redux/store.d.ts.map +0 -1
- package/solidstarters-solid-core-ui-1.0.0.tgz +0 -0
- package/solidstarters-solid-core-ui-1.0.1.tgz +0 -0
- package/src/components/common/FilterComponent.tsx +0 -428
|
@@ -1,28 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { FilterMatchMode } from 'primereact/api';
|
|
4
|
-
import { getNumberOfInputs, SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
1
|
+
"use client";
|
|
5
2
|
import { Dropdown } from 'primereact/dropdown';
|
|
3
|
+
import { getNumberOfInputs, SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
6
4
|
import { InputTypes, SolidVarInputsFilterElement } from '../SolidVarInputsFilterElement';
|
|
7
5
|
|
|
8
6
|
const SolidIntField = ({ fieldMetadata, onChange, index, rule }: SolidFilterFieldsParams) => {
|
|
9
7
|
// const filterable = column.attrs.filterable;
|
|
10
8
|
const filterMatchModeOptions = [
|
|
11
|
-
{ label: 'Equals', value:
|
|
12
|
-
{ label: 'Not Equals', value:
|
|
13
|
-
{ label: 'Less Than', value:
|
|
14
|
-
{ label: 'Less Than Or Equal', value:
|
|
15
|
-
{ label: 'Greater Than', value:
|
|
16
|
-
{ label: 'Greater Than Or Equal', value:
|
|
17
|
-
{ label: 'In', value:
|
|
18
|
-
{ label: 'Not In', value:
|
|
19
|
-
{ label: 'Between', value:
|
|
9
|
+
{ label: 'Equals', value: "$eqi" },
|
|
10
|
+
{ label: 'Not Equals', value: "$nei" },
|
|
11
|
+
{ label: 'Less Than', value: "$lt" },
|
|
12
|
+
{ label: 'Less Than Or Equal', value: "$lte" },
|
|
13
|
+
{ label: 'Greater Than', value: "$gt" },
|
|
14
|
+
{ label: 'Greater Than Or Equal', value: "$gte" },
|
|
15
|
+
{ label: 'In', value: "$in" },
|
|
16
|
+
{ label: 'Not In', value: "$notIn" },
|
|
17
|
+
{ label: 'Between', value: "$between" }
|
|
20
18
|
];
|
|
21
19
|
|
|
22
20
|
|
|
23
21
|
|
|
24
22
|
// const header = column.attrs.label ?? fieldMetadata.displayName;
|
|
25
|
-
const numberOfInputs = getNumberOfInputs(
|
|
23
|
+
const numberOfInputs = getNumberOfInputs(rule.matchMode);
|
|
26
24
|
|
|
27
25
|
return (
|
|
28
26
|
<>
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { Column } from "primereact/column";
|
|
4
|
-
import { getNumberOfInputs, SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
5
|
-
import { FilterMatchMode } from 'primereact/api';
|
|
1
|
+
"use client";
|
|
6
2
|
import { Dropdown } from 'primereact/dropdown';
|
|
3
|
+
import { getNumberOfInputs, SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
7
4
|
import { InputTypes, SolidVarInputsFilterElement } from '../SolidVarInputsFilterElement';
|
|
8
5
|
|
|
9
6
|
const SolidMediaMultipleField = ({ fieldMetadata, onChange, index, rule }: SolidFilterFieldsParams) => {
|
|
@@ -14,21 +11,21 @@ const SolidMediaMultipleField = ({ fieldMetadata, onChange, index, rule }: Solid
|
|
|
14
11
|
// const header = column.attrs.label ?? fieldMetadata.displayName;
|
|
15
12
|
const columnDataType = 'text';
|
|
16
13
|
const filterMatchModeOptions = [
|
|
17
|
-
{ label: 'Starts With', value:
|
|
18
|
-
{ label: 'Contains', value:
|
|
19
|
-
{ label: 'Not Contains', value:
|
|
20
|
-
{ label: 'Ends With', value:
|
|
21
|
-
{ label: 'Equals', value:
|
|
22
|
-
{ label: 'Not Equals', value:
|
|
23
|
-
{ label: 'In', value:
|
|
24
|
-
{ label: 'Not In', value:
|
|
14
|
+
{ label: 'Starts With', value: "$startsWithi" },
|
|
15
|
+
{ label: 'Contains', value: "$containsi" },
|
|
16
|
+
{ label: 'Not Contains', value: "$notContains" },
|
|
17
|
+
{ label: 'Ends With', value: "$endsWith" },
|
|
18
|
+
{ label: 'Equals', value: "$eqi" },
|
|
19
|
+
{ label: 'Not Equals', value: "$nei" },
|
|
20
|
+
{ label: 'In', value: "$in" },
|
|
21
|
+
{ label: 'Not In', value: "$notIn" }
|
|
25
22
|
];
|
|
26
|
-
const numberOfInputs = getNumberOfInputs(
|
|
23
|
+
const numberOfInputs = getNumberOfInputs(rule.matchMode);
|
|
27
24
|
return (
|
|
28
25
|
<>
|
|
29
26
|
|
|
30
27
|
<Dropdown
|
|
31
|
-
value={rule.
|
|
28
|
+
value={rule.matchMode}
|
|
32
29
|
onChange={(e: any) => {
|
|
33
30
|
console.log("e", e);
|
|
34
31
|
onChange(rule.id, 'matchMode', e.value)
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { getNumberOfInputs, SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
1
|
+
"use client";
|
|
4
2
|
import { Dropdown } from 'primereact/dropdown';
|
|
5
|
-
import {
|
|
3
|
+
import { getNumberOfInputs, SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
6
4
|
import { InputTypes, SolidVarInputsFilterElement } from '../SolidVarInputsFilterElement';
|
|
7
5
|
|
|
8
6
|
const SolidMediaSingleField = ({ fieldMetadata, onChange, index, rule }: SolidFilterFieldsParams) => {
|
|
@@ -12,16 +10,16 @@ const SolidMediaSingleField = ({ fieldMetadata, onChange, index, rule }: SolidFi
|
|
|
12
10
|
// const columnDataType = undefined;
|
|
13
11
|
const columnDataType = 'text';
|
|
14
12
|
const filterMatchModeOptions = [
|
|
15
|
-
{ label: 'Starts With', value:
|
|
16
|
-
{ label: 'Contains', value:
|
|
17
|
-
{ label: 'Not Contains', value:
|
|
18
|
-
{ label: 'Ends With', value:
|
|
19
|
-
{ label: 'Equals', value:
|
|
20
|
-
{ label: 'Not Equals', value:
|
|
21
|
-
{ label: 'In', value:
|
|
22
|
-
{ label: 'Not In', value:
|
|
13
|
+
{ label: 'Starts With', value: "$startsWithi" },
|
|
14
|
+
{ label: 'Contains', value: "$containsi" },
|
|
15
|
+
{ label: 'Not Contains', value: "$notContains" },
|
|
16
|
+
{ label: 'Ends With', value: "$endsWith" },
|
|
17
|
+
{ label: 'Equals', value: "$eqi" },
|
|
18
|
+
{ label: 'Not Equals', value: "$nei" },
|
|
19
|
+
{ label: 'In', value: "$in" },
|
|
20
|
+
{ label: 'Not In', value: "$notIn" }
|
|
23
21
|
];
|
|
24
|
-
const numberOfInputs = getNumberOfInputs(
|
|
22
|
+
const numberOfInputs = getNumberOfInputs(rule.matchMode);
|
|
25
23
|
|
|
26
24
|
// const header = column.attrs.label ?? fieldMetadata.displayName;
|
|
27
25
|
|
|
@@ -29,7 +27,7 @@ const SolidMediaSingleField = ({ fieldMetadata, onChange, index, rule }: SolidFi
|
|
|
29
27
|
<>
|
|
30
28
|
|
|
31
29
|
<Dropdown
|
|
32
|
-
value={rule.
|
|
30
|
+
value={rule.matchMode}
|
|
33
31
|
onChange={(e: any) => {
|
|
34
32
|
console.log("e", e);
|
|
35
33
|
onChange(rule.id, 'matchMode', e.value)
|
|
@@ -1,25 +1,22 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { FilterMatchMode } from 'primereact/api';
|
|
4
|
-
import { getNumberOfInputs, SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
5
1
|
import { Dropdown } from 'primereact/dropdown';
|
|
2
|
+
import { getNumberOfInputs, SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
6
3
|
import { InputTypes, SolidVarInputsFilterElement } from '../SolidVarInputsFilterElement';
|
|
7
4
|
|
|
8
5
|
const SolidSelectionDynamicField = ({ fieldMetadata, onChange, index, rule }: SolidFilterFieldsParams) => {
|
|
9
6
|
const showFilterOperator = false;
|
|
10
7
|
const columnDataType = fieldMetadata.selectionValueType === 'int' ? 'numeric' : 'text';
|
|
11
8
|
const filterMatchModeOptions = [
|
|
12
|
-
{ label: 'In', value:
|
|
13
|
-
{ label: 'Not In', value:
|
|
9
|
+
{ label: 'In', value: "$in" },
|
|
10
|
+
{ label: 'Not In', value: "$notIn" },
|
|
14
11
|
];
|
|
15
|
-
const numberOfInputs = getNumberOfInputs(
|
|
12
|
+
const numberOfInputs = getNumberOfInputs(rule.matchMode);
|
|
16
13
|
|
|
17
14
|
|
|
18
15
|
|
|
19
16
|
return (
|
|
20
17
|
<>
|
|
21
18
|
<Dropdown
|
|
22
|
-
value={rule.
|
|
19
|
+
value={rule.matchMode}
|
|
23
20
|
onChange={(e: any) => {
|
|
24
21
|
console.log("e", e);
|
|
25
22
|
onChange(rule.id, 'matchMode', e.value)
|
|
@@ -32,7 +29,7 @@ const SolidSelectionDynamicField = ({ fieldMetadata, onChange, index, rule }: So
|
|
|
32
29
|
values={rule.value}
|
|
33
30
|
onChange={(e: any) => {
|
|
34
31
|
console.log("e", e);
|
|
35
|
-
onChange(rule.id, 'value', e)
|
|
32
|
+
onChange(rule.id, 'value', e.map((i: any) => i.value))
|
|
36
33
|
}}
|
|
37
34
|
numberOfInputs={numberOfInputs}
|
|
38
35
|
inputType={InputTypes.SelectionDynamic}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { FilterMatchMode } from 'primereact/api';
|
|
4
|
-
import { getNumberOfInputs, SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
1
|
+
"use client";
|
|
5
2
|
import { Dropdown } from 'primereact/dropdown';
|
|
3
|
+
import { getNumberOfInputs, SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
6
4
|
import { InputTypes, SolidVarInputsFilterElement } from '../SolidVarInputsFilterElement';
|
|
7
5
|
|
|
8
6
|
|
|
@@ -12,16 +10,16 @@ const SolidSelectionStaticField = ({ fieldMetadata, onChange, index, rule }: Sol
|
|
|
12
10
|
const showFilterOperator = false;
|
|
13
11
|
const columnDataType = fieldMetadata.selectionValueType === 'int' ? 'numeric' : 'text';
|
|
14
12
|
const filterMatchModeOptions = [
|
|
15
|
-
{ label: 'In', value:
|
|
16
|
-
{ label: 'Not In', value:
|
|
13
|
+
{ label: 'In', value: "$in" },
|
|
14
|
+
{ label: 'Not In', value: "$notIn" },
|
|
17
15
|
];
|
|
18
16
|
|
|
19
|
-
const numberOfInputs = getNumberOfInputs(
|
|
17
|
+
const numberOfInputs = getNumberOfInputs(rule.matchMode);
|
|
20
18
|
|
|
21
19
|
return (
|
|
22
20
|
<>
|
|
23
21
|
<Dropdown
|
|
24
|
-
value={rule.
|
|
22
|
+
value={rule.matchMode}
|
|
25
23
|
onChange={(e: any) => {
|
|
26
24
|
console.log("e", e);
|
|
27
25
|
onChange(rule.id, 'matchMode', e.value)
|
|
@@ -34,7 +32,7 @@ const SolidSelectionStaticField = ({ fieldMetadata, onChange, index, rule }: Sol
|
|
|
34
32
|
values={rule.value}
|
|
35
33
|
onChange={(e: any) => {
|
|
36
34
|
console.log("e", e);
|
|
37
|
-
onChange(rule.id, 'value', e)
|
|
35
|
+
onChange(rule.id, 'value', e.value)
|
|
38
36
|
}}
|
|
39
37
|
numberOfInputs={numberOfInputs}
|
|
40
38
|
inputType={InputTypes.SelectionStatic}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { FilterMatchMode } from 'primereact/api';
|
|
4
|
-
import { getNumberOfInputs, SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
1
|
+
"use client";
|
|
5
2
|
import { Dropdown } from 'primereact/dropdown';
|
|
3
|
+
import { getNumberOfInputs, SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
6
4
|
import { InputTypes, SolidVarInputsFilterElement } from '../SolidVarInputsFilterElement';
|
|
7
5
|
|
|
8
6
|
const SolidShortTextField = ({ fieldMetadata, onChange, index, rule }: SolidFilterFieldsParams) => {
|
|
@@ -10,23 +8,23 @@ const SolidShortTextField = ({ fieldMetadata, onChange, index, rule }: SolidFilt
|
|
|
10
8
|
const showFilterOperator = false;
|
|
11
9
|
const columnDataType = 'text';
|
|
12
10
|
const filterMatchModeOptions = [
|
|
13
|
-
{ label: 'Starts With', value:
|
|
14
|
-
{ label: 'Contains', value:
|
|
15
|
-
{ label: 'Not Contains', value:
|
|
16
|
-
{ label: 'Ends With', value:
|
|
17
|
-
{ label: 'Equals', value:
|
|
18
|
-
{ label: 'Not Equals', value:
|
|
19
|
-
{ label: 'In', value:
|
|
20
|
-
{ label: 'Not In', value:
|
|
11
|
+
{ label: 'Starts With', value: "$startsWithi" },
|
|
12
|
+
{ label: 'Contains', value: "$containsi" },
|
|
13
|
+
{ label: 'Not Contains', value: "$notContains" },
|
|
14
|
+
{ label: 'Ends With', value: "$endsWith" },
|
|
15
|
+
{ label: 'Equals', value: "$eqi" },
|
|
16
|
+
{ label: 'Not Equals', value: "$nei" },
|
|
17
|
+
{ label: 'In', value: "$in" },
|
|
18
|
+
{ label: 'Not In', value: "$notIn" }
|
|
21
19
|
];
|
|
22
20
|
|
|
23
21
|
// const header = column.attrs.label ?? fieldMetadata.displayName;
|
|
24
|
-
const numberOfInputs = getNumberOfInputs(
|
|
22
|
+
const numberOfInputs = getNumberOfInputs(rule.matchMode);
|
|
25
23
|
|
|
26
24
|
return (
|
|
27
25
|
<>
|
|
28
26
|
<Dropdown
|
|
29
|
-
value={rule.
|
|
27
|
+
value={rule.matchMode}
|
|
30
28
|
onChange={(e: any) => {
|
|
31
29
|
console.log("e", e);
|
|
32
30
|
onChange(rule.id, 'matchMode', e.value)
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { dateFilterMatchModeOptions } from './SolidDateField';
|
|
1
|
+
"use client";
|
|
4
2
|
import { Dropdown } from 'primereact/dropdown';
|
|
5
|
-
import { InputTypes, SolidVarInputsFilterElement } from '../SolidVarInputsFilterElement';
|
|
6
3
|
import { getNumberOfInputs, SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
4
|
+
import { InputTypes, SolidVarInputsFilterElement } from '../SolidVarInputsFilterElement';
|
|
5
|
+
import { dateFilterMatchModeOptions } from './SolidDateField';
|
|
7
6
|
|
|
8
7
|
const SolidTimeField = ({ fieldMetadata, onChange, index, rule }: SolidFilterFieldsParams) => {
|
|
9
8
|
// const filterable = column.attrs.filterable;
|
|
@@ -12,11 +11,11 @@ const SolidTimeField = ({ fieldMetadata, onChange, index, rule }: SolidFilterFie
|
|
|
12
11
|
|
|
13
12
|
// TODO: the body template to be controlled based on the format that one is expecting the date to be displayed in.
|
|
14
13
|
// const header = column.attrs.label ?? fieldMetadata.displayName;
|
|
15
|
-
const numberOfInputs = getNumberOfInputs(
|
|
14
|
+
const numberOfInputs = getNumberOfInputs(rule.matchMode);
|
|
16
15
|
return (
|
|
17
16
|
<>
|
|
18
17
|
<Dropdown
|
|
19
|
-
value={rule.
|
|
18
|
+
value={rule.matchMode}
|
|
20
19
|
onChange={(e: any) => {
|
|
21
20
|
console.log("e", e);
|
|
22
21
|
onChange(rule.id, 'matchMode', e.value)
|
|
@@ -1,23 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { FilterMatchMode } from 'primereact/api';
|
|
4
|
-
import { getNumberOfInputs, SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
1
|
+
"use client";
|
|
5
2
|
import { Dropdown } from 'primereact/dropdown';
|
|
3
|
+
import { getNumberOfInputs, SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
6
4
|
import { InputTypes, SolidVarInputsFilterElement } from '../SolidVarInputsFilterElement';
|
|
7
5
|
|
|
8
6
|
const SolidUuidField = ({ fieldMetadata, onChange, index, rule }: SolidFilterFieldsParams) => {
|
|
9
7
|
const showFilterOperator = false;
|
|
10
8
|
const columnDataType = 'text';
|
|
11
9
|
const filterMatchModeOptions = [
|
|
12
|
-
{ label: 'In', value:
|
|
13
|
-
{ label: 'Not In', value:
|
|
10
|
+
{ label: 'In', value: "$in" },
|
|
11
|
+
{ label: 'Not In', value: "$notIn" },
|
|
14
12
|
];
|
|
15
|
-
const numberOfInputs = getNumberOfInputs(
|
|
13
|
+
const numberOfInputs = getNumberOfInputs(rule.matchMode);
|
|
16
14
|
|
|
17
15
|
return (
|
|
18
16
|
<>
|
|
19
17
|
<Dropdown
|
|
20
|
-
value={rule.
|
|
18
|
+
value={rule.matchMode}
|
|
21
19
|
onChange={(e: any) => {
|
|
22
20
|
console.log("e", e);
|
|
23
21
|
onChange(rule.id, 'matchMode', e.value)
|
package/src/components/core/filter/{columns → fields}/relations/SolidRelationManyToOneField.tsx
RENAMED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
"use client";
|
|
2
2
|
import { InputTypes, SolidVarInputsFilterElement } from '@/components/core/filter/SolidVarInputsFilterElement';
|
|
3
|
-
import { FilterMatchMode } from 'primereact/api';
|
|
4
3
|
import { Dropdown } from 'primereact/dropdown';
|
|
5
4
|
import { getNumberOfInputs, SolidFilterFieldsParams } from '../../SolidFilterFields';
|
|
6
5
|
|
|
@@ -8,11 +7,11 @@ const SolidRelationManyToOneField = ({ fieldMetadata, onChange, index, rule }: S
|
|
|
8
7
|
// const filterable = column.attrs.filterable;
|
|
9
8
|
const showFilterOperator = false;
|
|
10
9
|
const filterMatchModeOptions = [
|
|
11
|
-
{ label: 'In', value:
|
|
12
|
-
{ label: 'Not In', value:
|
|
10
|
+
{ label: 'In', value: "$in" },
|
|
11
|
+
{ label: 'Not In', value: "$notIn" },
|
|
13
12
|
];
|
|
14
13
|
const columnDataType = undefined;
|
|
15
|
-
const numberOfInputs = getNumberOfInputs(
|
|
14
|
+
const numberOfInputs = getNumberOfInputs(rule.matchMode);
|
|
16
15
|
|
|
17
16
|
// const filterTemplate = (options: ColumnFilterElementTemplateOptions) => {
|
|
18
17
|
|
|
@@ -51,10 +50,10 @@ const SolidRelationManyToOneField = ({ fieldMetadata, onChange, index, rule }: S
|
|
|
51
50
|
return (
|
|
52
51
|
<>
|
|
53
52
|
<Dropdown
|
|
54
|
-
value={rule.
|
|
53
|
+
value={rule.matchMode}
|
|
55
54
|
onChange={(e: any) => {
|
|
56
55
|
console.log("e", e);
|
|
57
|
-
onChange(
|
|
56
|
+
onChange(rule.id, 'matchMode', e.value)
|
|
58
57
|
}}
|
|
59
58
|
options={filterMatchModeOptions}
|
|
60
59
|
optionLabel='label'
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import "primeflex/primeflex.css";
|
|
3
|
+
import { SolidCancelButton } from "@/components/common/CancelButton";
|
|
4
|
+
import { createPermission, deletePermission, updatePermission } from "@/helpers/permissions";
|
|
5
|
+
import { createSolidEntityApi } from "@/redux/api/solidEntityApi";
|
|
7
6
|
import { useGetSolidViewLayoutQuery } from "@/redux/api/solidViewApi";
|
|
8
|
-
import
|
|
7
|
+
import { useLazyCheckIfPermissionExistsQuery } from "@/redux/api/userApi";
|
|
8
|
+
import { FetchBaseQueryError } from "@reduxjs/toolkit/dist/query";
|
|
9
9
|
import { useFormik } from "formik";
|
|
10
|
-
import { Button } from "primereact/button";
|
|
11
|
-
import { SolidShortTextField } from "./fields/SolidShortTextField";
|
|
12
|
-
import { FormikObject, ISolidField, SolidFieldProps } from "./fields/ISolidField";
|
|
13
|
-
import { SolidSelectionStaticField } from "./fields/SolidSelectionStaticField";
|
|
14
|
-
import { SolidSelectionDynamicField } from "./fields/SolidSelectionDynamicField";
|
|
15
|
-
import { createSolidEntityApi } from "@/redux/api/solidEntityApi";
|
|
16
|
-
import { SolidRelationField } from "./fields/SolidRelationField";
|
|
17
|
-
import { SolidMediaSingleField } from "./fields/SolidMediaSingleField";
|
|
18
|
-
import { SolidMediaMultipleField } from "./fields/SolidMediaMultipleField";
|
|
19
10
|
import { usePathname, useRouter } from "next/navigation";
|
|
20
|
-
import
|
|
11
|
+
import "primeflex/primeflex.css";
|
|
12
|
+
import { Button } from "primereact/button";
|
|
21
13
|
import { Dialog } from "primereact/dialog";
|
|
22
|
-
import {
|
|
23
|
-
import { SolidDateTimeField } from "./fields/SolidDateTimeField";
|
|
24
|
-
import { SolidJsonField } from "./fields/SolidJsonField";
|
|
25
|
-
import { FetchBaseQueryError } from "@reduxjs/toolkit/dist/query";
|
|
14
|
+
import { TabPanel, TabView } from "primereact/tabview";
|
|
26
15
|
import { Toast } from "primereact/toast";
|
|
16
|
+
import qs from "qs";
|
|
17
|
+
import { useEffect, useRef, useState } from "react";
|
|
18
|
+
import * as Yup from "yup";
|
|
19
|
+
import { FormikObject, ISolidField, SolidFieldProps } from "./fields/ISolidField";
|
|
20
|
+
import { SolidBooleanField } from "./fields/SolidBooleanField";
|
|
21
|
+
import { SolidDateField } from "./fields/SolidDateField";
|
|
22
|
+
import { SolidDateTimeField } from "./fields/SolidDateTimeField";
|
|
27
23
|
import { SolidDecimalField } from "./fields/SolidDecimalField";
|
|
24
|
+
import { SolidIntegerField } from "./fields/SolidIntegerField";
|
|
25
|
+
import { SolidJsonField } from "./fields/SolidJsonField";
|
|
28
26
|
import { SolidLongTextField } from "./fields/SolidLongTextField";
|
|
29
|
-
import {
|
|
27
|
+
import { SolidMediaMultipleField } from "./fields/SolidMediaMultipleField";
|
|
28
|
+
import { SolidMediaSingleField } from "./fields/SolidMediaSingleField";
|
|
29
|
+
import { SolidRelationField } from "./fields/SolidRelationField";
|
|
30
30
|
import { SolidRichTextField } from "./fields/SolidRichTextField";
|
|
31
|
-
import {
|
|
31
|
+
import { SolidSelectionDynamicField } from "./fields/SolidSelectionDynamicField";
|
|
32
|
+
import { SolidSelectionStaticField } from "./fields/SolidSelectionStaticField";
|
|
33
|
+
import { SolidShortTextField } from "./fields/SolidShortTextField";
|
|
32
34
|
import { SolidTimeField } from "./fields/SolidTimeField";
|
|
33
|
-
import { useLazyCheckIfPermissionExistsQuery } from "@/redux/api/userApi";
|
|
34
|
-
import { createPermission, deletePermission, updatePermission } from "@/helpers/permissions";
|
|
35
35
|
|
|
36
36
|
export type SolidFormViewProps = {
|
|
37
37
|
moduleName: string;
|
|
@@ -500,16 +500,17 @@ const SolidFormView = (params: SolidFormViewProps) => {
|
|
|
500
500
|
const {
|
|
501
501
|
data: solidFormViewData,
|
|
502
502
|
isLoading: solidFormViewDataIsLoading,
|
|
503
|
-
} = useGetSolidEntityByIdQuery({ id: params.id, qs: formViewDataQs },
|
|
503
|
+
} = useGetSolidEntityByIdQuery({ id: params.id, qs: formViewDataQs },
|
|
504
|
+
{ skip: !solidFormViewMetaData || params.id === 'new', refetchOnMountOrArgChange: true, });
|
|
504
505
|
useEffect(() => {
|
|
505
506
|
if (solidFormViewData) {
|
|
506
507
|
console.log(`DATA: `, solidFormViewData);
|
|
507
508
|
setInitialEntityData(solidFormViewData.data);
|
|
508
509
|
}
|
|
509
|
-
}, [solidFormViewData]);
|
|
510
|
+
}, [solidFormViewData, params]);
|
|
510
511
|
|
|
511
512
|
let formik: FormikObject;
|
|
512
|
-
|
|
513
|
+
|
|
513
514
|
if (solidFormViewMetaDataIsLoading || solidFormViewDataIsLoading || !formViewLayout) {
|
|
514
515
|
formik = useFormik({
|
|
515
516
|
initialValues: {},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { FieldConfig, FieldHelperProps, FieldInputProps, FieldMetaProps,
|
|
2
|
+
import { FieldConfig, FieldHelperProps, FieldInputProps, FieldMetaProps, FormikErrors, FormikState, FormikTouched, FormikValues } from "formik";
|
|
3
3
|
import { Schema } from "yup";
|
|
4
4
|
|
|
5
5
|
export type SolidFieldProps = {
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { Schema } from "yup";
|
|
3
|
-
import { FormikObject, ISolidField, SolidFieldProps } from "./ISolidField";
|
|
4
|
-
import * as Yup from 'yup';
|
|
5
|
-
import { Tooltip } from "primereact/tooltip";
|
|
6
|
-
import { InputText } from "primereact/inputtext";
|
|
7
2
|
import { Message } from "primereact/message";
|
|
8
3
|
import { SelectButton } from "primereact/selectbutton";
|
|
9
4
|
import { classNames } from "primereact/utils";
|
|
10
5
|
import { useEffect } from "react";
|
|
6
|
+
import * as Yup from 'yup';
|
|
7
|
+
import { Schema } from "yup";
|
|
8
|
+
import { FormikObject, ISolidField, SolidFieldProps } from "./ISolidField";
|
|
11
9
|
|
|
12
10
|
export class SolidBooleanField implements ISolidField {
|
|
13
11
|
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { Schema } from "yup";
|
|
3
|
-
import { FormikObject, ISolidField, SolidFieldProps } from "./ISolidField";
|
|
4
|
-
import * as Yup from 'yup';
|
|
5
|
-
import { Tooltip } from "primereact/tooltip";
|
|
6
|
-
import { Message } from "primereact/message";
|
|
7
2
|
import { Calendar } from "primereact/calendar";
|
|
3
|
+
import { Message } from "primereact/message";
|
|
8
4
|
import { useRef } from "react";
|
|
5
|
+
import * as Yup from 'yup';
|
|
6
|
+
import { Schema } from "yup";
|
|
7
|
+
import { FormikObject, ISolidField, SolidFieldProps } from "./ISolidField";
|
|
9
8
|
|
|
10
9
|
export class SolidDateField implements ISolidField {
|
|
11
10
|
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { Schema } from "yup";
|
|
3
|
-
import { FormikObject, ISolidField, SolidFieldProps } from "./ISolidField";
|
|
4
|
-
import * as Yup from 'yup';
|
|
5
|
-
import { Tooltip } from "primereact/tooltip";
|
|
6
|
-
import { Message } from "primereact/message";
|
|
7
2
|
import { Calendar } from "primereact/calendar";
|
|
3
|
+
import { Message } from "primereact/message";
|
|
8
4
|
import { useRef } from "react";
|
|
5
|
+
import * as Yup from 'yup';
|
|
6
|
+
import { Schema } from "yup";
|
|
7
|
+
import { FormikObject, ISolidField, SolidFieldProps } from "./ISolidField";
|
|
9
8
|
|
|
10
9
|
export class SolidDateTimeField implements ISolidField {
|
|
11
10
|
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
|
+
import { InputNumber } from "primereact/inputnumber";
|
|
3
|
+
import { Message } from "primereact/message";
|
|
4
|
+
import * as Yup from 'yup';
|
|
2
5
|
import { Schema } from "yup";
|
|
3
6
|
import { FormikObject, ISolidField, SolidFieldProps } from "./ISolidField";
|
|
4
|
-
import * as Yup from 'yup';
|
|
5
|
-
import { Tooltip } from "primereact/tooltip";
|
|
6
|
-
import { InputText } from "primereact/inputtext";
|
|
7
|
-
import { Message } from "primereact/message";
|
|
8
|
-
import { InputNumber } from "primereact/inputnumber";
|
|
9
7
|
|
|
10
8
|
export class SolidDecimalField implements ISolidField {
|
|
11
9
|
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
|
+
import { InputNumber } from "primereact/inputnumber";
|
|
3
|
+
import { Message } from "primereact/message";
|
|
4
|
+
import * as Yup from 'yup';
|
|
2
5
|
import { Schema } from "yup";
|
|
3
6
|
import { FormikObject, ISolidField, SolidFieldProps } from "./ISolidField";
|
|
4
|
-
import * as Yup from 'yup';
|
|
5
|
-
import { Tooltip } from "primereact/tooltip";
|
|
6
|
-
import { InputText } from "primereact/inputtext";
|
|
7
|
-
import { Message } from "primereact/message";
|
|
8
|
-
import { InputNumber } from "primereact/inputnumber";
|
|
9
7
|
|
|
10
8
|
export class SolidIntegerField implements ISolidField {
|
|
11
9
|
|
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
|
+
import CodeEditor from "@/components/common/CodeEditor";
|
|
3
|
+
import { Message } from "primereact/message";
|
|
4
|
+
import * as Yup from 'yup';
|
|
2
5
|
import { Schema } from "yup";
|
|
3
6
|
import { FormikObject, ISolidField, SolidFieldProps } from "./ISolidField";
|
|
4
|
-
import * as Yup from 'yup';
|
|
5
|
-
import { Tooltip } from "primereact/tooltip";
|
|
6
|
-
import { InputText } from "primereact/inputtext";
|
|
7
|
-
import { Message } from "primereact/message";
|
|
8
|
-
import { InputNumber } from "primereact/inputnumber";
|
|
9
|
-
import { Calendar } from "primereact/calendar";
|
|
10
|
-
import ReactCodeMirror, { oneDark } from "@uiw/react-codemirror";
|
|
11
|
-
import { javascript } from "@codemirror/lang-javascript";
|
|
12
|
-
import CodeEditor from "@/components/common/CodeEditor";
|
|
13
7
|
|
|
14
8
|
export class SolidJsonField implements ISolidField {
|
|
15
9
|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
|
+
import { InputTextarea } from "primereact/inputtextarea";
|
|
3
|
+
import { Message } from "primereact/message";
|
|
4
|
+
import * as Yup from 'yup';
|
|
2
5
|
import { Schema } from "yup";
|
|
3
6
|
import { FormikObject, ISolidField, SolidFieldProps } from "./ISolidField";
|
|
4
|
-
import * as Yup from 'yup';
|
|
5
|
-
import { Tooltip } from "primereact/tooltip";
|
|
6
|
-
import { Message } from "primereact/message";
|
|
7
|
-
import { InputTextarea } from "primereact/inputtextarea";
|
|
8
7
|
|
|
9
8
|
export class SolidLongTextField implements ISolidField {
|
|
10
9
|
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { Schema } from "yup";
|
|
3
|
-
import { FormikObject, ISolidField, SolidFieldProps } from "./ISolidField";
|
|
4
|
-
import * as Yup from 'yup';
|
|
5
|
-
import { Tooltip } from "primereact/tooltip";
|
|
6
|
-
import { Message } from "primereact/message";
|
|
7
2
|
import { DropzonePlaceholder } from "@/components/common/DropzonePlaceholder";
|
|
8
3
|
import { DropzoneUpload } from "@/components/common/DropzoneUpload";
|
|
9
|
-
import { Button } from "primereact/button";
|
|
10
|
-
import { useDropzone } from "react-dropzone";
|
|
11
|
-
import { useEffect, useState } from "react";
|
|
12
4
|
import { useDeleteMediaMutation } from "@/redux/api/mediaApi";
|
|
5
|
+
import { Button } from "primereact/button";
|
|
13
6
|
import { Dialog } from "primereact/dialog";
|
|
7
|
+
import { Message } from "primereact/message";
|
|
8
|
+
import { useEffect, useState } from "react";
|
|
9
|
+
import { useDropzone } from "react-dropzone";
|
|
10
|
+
import * as Yup from 'yup';
|
|
11
|
+
import { Schema } from "yup";
|
|
12
|
+
import { FormikObject, ISolidField, SolidFieldProps } from "./ISolidField";
|
|
14
13
|
|
|
15
14
|
export class SolidMediaMultipleField implements ISolidField {
|
|
16
15
|
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { Schema } from "yup";
|
|
3
|
-
import { FormikObject, ISolidField, SolidFieldProps } from "./ISolidField";
|
|
4
|
-
import * as Yup from 'yup';
|
|
5
|
-
import { Tooltip } from "primereact/tooltip";
|
|
6
|
-
import { Message } from "primereact/message";
|
|
7
2
|
import { DropzonePlaceholder } from "@/components/common/DropzonePlaceholder";
|
|
8
3
|
import { DropzoneUpload } from "@/components/common/DropzoneUpload";
|
|
9
|
-
import { Button } from "primereact/button";
|
|
10
|
-
import { useDropzone } from "react-dropzone";
|
|
11
|
-
import { useEffect, useState } from "react";
|
|
12
4
|
import { useDeleteMediaMutation } from "@/redux/api/mediaApi";
|
|
5
|
+
import { Button } from "primereact/button";
|
|
13
6
|
import { Dialog } from "primereact/dialog";
|
|
7
|
+
import { Message } from "primereact/message";
|
|
8
|
+
import { useEffect, useState } from "react";
|
|
9
|
+
import { useDropzone } from "react-dropzone";
|
|
10
|
+
import * as Yup from 'yup';
|
|
11
|
+
import { Schema } from "yup";
|
|
12
|
+
import { FormikObject, ISolidField, SolidFieldProps } from "./ISolidField";
|
|
14
13
|
|
|
15
14
|
export class SolidMediaSingleField implements ISolidField {
|
|
16
15
|
|