-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🆕 feat(PopupService): add support for clearing all opended popups (#2098
) * 🆕 feat(PopupService): add support for clearing all opended popups * 📝 docs: add support for adding api meta for non-components * missing files
- Loading branch information
Showing
15 changed files
with
181 additions
and
107 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
12 changes: 12 additions & 0 deletions
12
docs/Masa.Blazor.Docs/wwwroot/data/apis/popup-service/IPopupService-en-US.json
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 @@ | ||
{ | ||
"props": {}, | ||
"events": {}, | ||
"contents": {}, | ||
"methods": { | ||
"openAsync": "Open the specified type of popup component and wait for the result.", | ||
"open": "Open the specified type of popup component.", | ||
"close": "Close the specified type of popup component.", | ||
"clear": "Clear all opened popup components.", | ||
"enqueueSnackbarAsync": "Enqueue a snackbar to show." | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
docs/Masa.Blazor.Docs/wwwroot/data/apis/popup-service/IPopupService-zh-CN.json
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 @@ | ||
{ | ||
"props": {}, | ||
"events": {}, | ||
"contents": {}, | ||
"methods": { | ||
"openAsync": "打开指定类型的弹出组件,可等待结果", | ||
"open": "打开指定类型的弹出组件", | ||
"close": "关闭指定类型的弹出组件", | ||
"clear": "关闭所有弹出组件", | ||
"enqueueSnackbarAsync": "新增消息提示" | ||
} | ||
} |
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,30 @@ | ||
[ | ||
{ | ||
"name": "IPopupService", | ||
"parameters": { | ||
"methods": [ | ||
{ | ||
"name": "OpenAsync", | ||
"type": "(Type componentType, Dictionary<string, object?> parameters) => Task<object?>" | ||
}, | ||
{ | ||
"name": "Open", | ||
"type": "(Type componentType, Dictionary<string, object?> parameters) => void" | ||
}, | ||
{ | ||
"name": "Close", | ||
"type": "(Type componentType) => void" | ||
}, | ||
{ | ||
"name": "Clear", | ||
"type": "() => void", | ||
"releasedOn": "v1.7.0" | ||
}, | ||
{ | ||
"name": "EnqueueSnackbarAsync", | ||
"type": "(SnackbarOptions options) => Task" | ||
} | ||
] | ||
} | ||
} | ||
] |
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 was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.