-
-
Notifications
You must be signed in to change notification settings - Fork 484
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #292 from erupts/develop
1.12.18
- Loading branch information
Showing
578 changed files
with
16,659 additions
and
470,333 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
erupt-annotation/src/main/java/xyz/erupt/annotation/constant/PageEmbedType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package xyz.erupt.annotation.constant; | ||
|
||
public enum PageEmbedType { | ||
IFRAME, | ||
MICRO_FRONTEND | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
erupt-annotation/src/main/java/xyz/erupt/annotation/fun/RowChoiceFetchHandler.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package xyz.erupt.annotation.fun; | ||
|
||
import xyz.erupt.annotation.config.Comment; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* @author YuePeng | ||
* date 2019-07-25. | ||
*/ | ||
public interface RowChoiceFetchHandler<T> { | ||
|
||
@Comment("根据行数据获取下拉列表") | ||
List<VLModel> fetch(T t, String[] params); | ||
|
||
} |
31 changes: 31 additions & 0 deletions
31
erupt-annotation/src/main/java/xyz/erupt/annotation/model/Alert.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package xyz.erupt.annotation.model; | ||
|
||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
|
||
/** | ||
* @author YuePeng | ||
* date 2025/1/1 21:04 | ||
*/ | ||
@Getter | ||
@Setter | ||
@NoArgsConstructor | ||
public class Alert { | ||
|
||
private String message; | ||
|
||
private boolean closeable = false; | ||
|
||
private UiType uiType = UiType.info; | ||
|
||
public static Alert info(String message) { | ||
return new Alert(message, false, UiType.info); | ||
} | ||
|
||
public Alert(String message, boolean closeable, UiType uiType) { | ||
this.message = message; | ||
this.closeable = closeable; | ||
this.uiType = uiType; | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
erupt-annotation/src/main/java/xyz/erupt/annotation/model/UiType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package xyz.erupt.annotation.model; | ||
|
||
/** | ||
* @author YuePeng | ||
* date 2025/1/1 21:06 | ||
*/ | ||
public enum UiType { | ||
success, | ||
info, | ||
warning, | ||
error | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
erupt-annotation/src/main/java/xyz/erupt/annotation/sub_field/sub_edit/MultiChoiceType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package xyz.erupt.annotation.sub_field.sub_edit; | ||
|
||
import xyz.erupt.annotation.config.Comment; | ||
import xyz.erupt.annotation.fun.ChoiceFetchHandler; | ||
|
||
import java.beans.Transient; | ||
|
||
/** | ||
* @author YuePeng | ||
* date 2025-01-19. | ||
*/ | ||
public @interface MultiChoiceType { | ||
|
||
Type type() default Type.CHECKBOX; | ||
|
||
@Transient | ||
@Comment("手动配置选择项") | ||
VL[] vl() default {}; | ||
|
||
@Transient | ||
@Comment("可被fetchHandler接口获取到") | ||
String[] fetchHandlerParams() default {}; | ||
|
||
@Transient | ||
@Comment("动态获取选择项") | ||
Class<? extends ChoiceFetchHandler>[] fetchHandler() default {}; | ||
|
||
enum Type { | ||
@Comment("下拉多选") | ||
SELECT, | ||
@Comment("多选框") | ||
CHECKBOX, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.