diff --git a/uni_modules/uni-prompt/changelog.md b/uni_modules/uni-prompt/changelog.md
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/uni_modules/uni-prompt/package.json b/uni_modules/uni-prompt/package.json
new file mode 100644
index 0000000000000000000000000000000000000000..15dae6d655d11f595123c6bd5522c694273ef96f
--- /dev/null
+++ b/uni_modules/uni-prompt/package.json
@@ -0,0 +1,134 @@
+{
+ "id": "uni-prompt",
+ "displayName": "uni-prompt",
+ "version": "1.0.0",
+ "description": "uni-prompt",
+ "keywords": [
+ "uni-prompt"
+ ],
+ "repository": "",
+ "engines": {
+ "HBuilderX": "^3.6.8"
+ },
+ "dcloudext": {
+ "type": "uts",
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "",
+ "data": "",
+ "permissions": ""
+ },
+ "npmurl": ""
+ },
+ "uni_modules": {
+ "uni-ext-api": {
+ "uni": {
+ "showToast": {
+ "name": "showToast",
+ "app": {
+ "js": false,
+ "kotlin": true,
+ "swift": true
+ }
+ },
+ "hideToast": {
+ "name": "hideToast",
+ "app": {
+ "js": false,
+ "kotlin": true,
+ "swift": true
+ }
+ },
+ "showLoading": {
+ "name": "showLoading",
+ "app": {
+ "js": false,
+ "kotlin": true,
+ "swift": true
+ }
+ },
+ "hideLoading": {
+ "name": "hideLoading",
+ "app": {
+ "js": false,
+ "kotlin": true,
+ "swift": true
+ }
+ },
+ "showModal": {
+ "name": "showModal",
+ "app": {
+ "js": false,
+ "kotlin": true,
+ "swift": true
+ }
+ },
+ "showActionSheet": {
+ "name": "showActionSheet",
+ "app": {
+ "js": false,
+ "kotlin": true,
+ "swift": true
+ }
+ }
+ }
+ },
+ "dependencies": [],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "u",
+ "aliyun": "u"
+ },
+ "client": {
+ "Vue": {
+ "vue2": "u",
+ "vue3": "u"
+ },
+ "App": {
+ "app-android": "u",
+ "app-ios": "u"
+ },
+ "H5-mobile": {
+ "Safari": "u",
+ "Android Browser": "u",
+ "微信浏览器(Android)": "u",
+ "QQ浏览器(Android)": "u"
+ },
+ "H5-pc": {
+ "Chrome": "u",
+ "IE": "u",
+ "Edge": "u",
+ "Firefox": "u",
+ "Safari": "u"
+ },
+ "小程序": {
+ "微信": "u",
+ "阿里": "u",
+ "百度": "u",
+ "字节跳动": "u",
+ "QQ": "u",
+ "钉钉": "u",
+ "快手": "u",
+ "飞书": "u",
+ "京东": "u"
+ },
+ "快应用": {
+ "华为": "u",
+ "联盟": "u"
+ }
+ }
+ }
+ }
+}
+
diff --git a/uni_modules/uni-prompt/readme.md b/uni_modules/uni-prompt/readme.md
new file mode 100644
index 0000000000000000000000000000000000000000..d080f9fd411f7f27962f068c1ccade4a75d24b9c
--- /dev/null
+++ b/uni_modules/uni-prompt/readme.md
@@ -0,0 +1,6 @@
+# uni-prompt
+### 开发文档
+[UTS 语法](https://uniapp.dcloud.net.cn/tutorial/syntax-uts.html)
+[UTS API插件](https://uniapp.dcloud.net.cn/plugin/uts-plugin.html)
+[UTS 组件插件](https://uniapp.dcloud.net.cn/plugin/uts-component.html)
+[Hello UTS](https://gitcode.net/dcloud/hello-uts)
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/AndroidManifest.xml b/uni_modules/uni-prompt/utssdk/app-android/AndroidManifest.xml
new file mode 100644
index 0000000000000000000000000000000000000000..c55e98b98a9eb44532c232ba4db558dd77f12e64
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/AndroidManifest.xml
@@ -0,0 +1,4 @@
+
+
+
diff --git a/uni_modules/uni-prompt/utssdk/app-android/WaitingView.uts b/uni_modules/uni-prompt/utssdk/app-android/WaitingView.uts
new file mode 100644
index 0000000000000000000000000000000000000000..2378944ab7ace4d26632e0e2af286f8fb3b9c776
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/WaitingView.uts
@@ -0,0 +1,313 @@
+// import Context from 'android.content.Context';
+import LayoutInflater from 'android.view.LayoutInflater';
+import R from 'io.dcloud.uts.prompt.R';
+import ViewGroup from 'android.view.ViewGroup';
+import LinearLayout from 'android.widget.LinearLayout';
+import Activity from 'android.app.Activity';
+import TextView from 'android.widget.TextView';
+import PopupWindow from 'android.widget.PopupWindow';
+import Build from 'android.os.Build';
+import Gravity from 'android.view.Gravity';
+import Color from 'android.graphics.Color';
+import Handler from 'android.os.Handler';
+import Looper from 'android.os.Looper';
+import string from 'android.R.string';
+import View from 'android.view.View';
+import MotionEvent from 'android.view.MotionEvent';
+import JSONObject from 'com.alibaba.fastjson.JSONObject';
+import ProgressBar from 'android.widget.ProgressBar';
+import BitmapFactory from 'android.graphics.BitmapFactory';
+import bool from 'android.R.bool';
+import Bitmap from 'android.graphics.Bitmap';
+import ImageView from 'android.widget.ImageView';
+import { UTSAndroid } from "io.dcloud.uts";
+import FileInputStream from 'java.io.FileInputStream';
+import File from 'java.io.File';
+import ByteArrayOutputStream from 'java.io.ByteArrayOutputStream';
+import InputStream from 'java.io.InputStream';
+import array from 'android.R.array';
+import Dialog from 'android.app.Dialog';
+
+export class WaitingView extends Dialog{
+
+ private context?: Activity
+ private style: JSONObject
+
+ private waitingView: ViewGroup
+ private waitingRootView: LinearLayout
+ private textView: TextView
+ private mProgressBar: ProgressBar
+ private seaparatorView: View
+ private mImageView: ImageView
+
+ private height: Int = -2
+ private width: Int = -2
+ private mask: boolean = false
+ private title: string = ""
+
+ screenWidth: Int
+ ScreenHeight: Int
+ density: number = 0
+
+ // json数据
+ private padding: Int = 0
+ private textSize: Int = 0
+
+
+ private loadingdDisplay = ""
+ private loadingHeight = 0
+ private LoadingIcon: string = ""
+ private mBitmap: Bitmap | null = null;
+
+
+ constructor(context?: Activity, style: UTSJSONObject) {
+
+ super(context!,R.style.loadingDialog);
+
+ this.context = context;
+ this.style = style.toJSONObject() as JSONObject
+ this.screenWidth = context?.getResources()?.getDisplayMetrics()!.widthPixels
+ this.ScreenHeight = context?.getResources()?.getDisplayMetrics()!.heightPixels
+ this.density = context?.getResources()?.getDisplayMetrics()!.density
+ this.waitingView = LayoutInflater.from(context).inflate(R.layout.dcloud_loadingview, null, false) as ViewGroup
+ this.waitingRootView = this.waitingView.findViewById(R.id.dcloud_pd_root)
+ this.mProgressBar = this.waitingView.findViewById(R.id.dcloud_pb_loading)
+ this.textView = this.waitingView.findViewById(R.id.dcloud_tv_loading)
+ this.seaparatorView = this.waitingView.findViewById(R.id.dcloud_view_seaparator)
+ this.mImageView = this.waitingView.findViewById(R.id.dcloud_iv_loading)
+
+ this.textView.setMaxLines(2)
+
+ this.handlerArguments()
+
+ let llp = (this.waitingRootView).getLayoutParams() as LinearLayout.LayoutParams
+ llp.width = this.width > 0 ? (this.width * this.density).toInt() : this.width
+ llp.height = -2
+ this.waitingRootView.setLayoutParams(llp)
+
+ this.initView()
+ this.makeBitmap()
+
+ setContentView(waitingView)
+ }
+
+ handlerArguments() {
+ if (this.style["height"] != null) {
+ this.height = parseInt(this.style["height"] as string).toInt()
+ }
+ if (this.style["width"] != null) {
+ this.width = parseInt(this.style["width"] as string).toInt()
+ }
+ if (this.style["modal"] != null) {
+ this.mask = this.style["modal"] as boolean
+ }
+ this.title = this.style.get("name") as string
+ if (this.style["loading"] != null) {
+ let loading = this.style["loading"] as JSONObject
+ this.loadingdDisplay = loading["display"] as string
+ if (loading["icon"] != null) {
+ this.LoadingIcon = loading["icon"] as string
+ }
+ if (loading["height"] != null) {
+ this.loadingHeight = parseInt(loading["height"] as string).toInt()
+ }
+ }
+ if ("block" == this.loadingdDisplay) {
+ this.waitingRootView.setOrientation(LinearLayout.VERTICAL)
+ } else if ("inline" == this.loadingdDisplay) {
+ this.waitingRootView.setOrientation(LinearLayout.HORIZONTAL)
+ } else if ("none" == this.loadingdDisplay) {
+ this.seaparatorView.setVisibility(View.GONE)
+ this.mProgressBar.setVisibility(View.GONE)
+ }
+ }
+
+ initView() {
+ // 初始化默认参数
+ // this.textView.setTextColor(0xffffffff)
+ this.textView.setTextColor(Color.WHITE)
+ this.textView.setGravity(Gravity.CENTER)
+ this.textView.setText(this.title)
+ this.textView.setTextSize(0, (16 * this.density).toFloat())
+
+ if(this.title.length < 1){
+ // 没有文本需要展示
+ this.textView.setVisibility(View.GONE)
+ this.waitingRootView.setPadding((10 * this.density).toInt(), (40 * this.density).toInt(), (10 * this.density).toInt(), (30 * this.density).toInt())
+ }else{
+ // 既有loading,也有文本
+ this.waitingRootView.setPadding((10 * this.density).toInt(), (20 * this.density).toInt(), (10 * this.density).toInt(), (20 * this.density).toInt())
+ }
+
+ let drawable = this.context?.getResources()!!.getDrawable(R.drawable.uts_dcloud_circle_white_progress)
+ if (this.loadingHeight > 0) {
+ this.mProgressBar.setLayoutParams(new LinearLayout.LayoutParams((this.loadingHeight * this.density).toInt(), (this.loadingHeight * this.density).toInt()))
+ } else {
+ let height = (drawable.getIntrinsicHeight() * 0.3).toInt()
+ this.mProgressBar.setLayoutParams(new LinearLayout.LayoutParams(height, height))
+ }
+
+ this.mProgressBar.setIndeterminateDrawable(drawable)
+ this.waitingRootView.setFocusable(true)
+ this.waitingRootView.setAlpha(0.9.toFloat())
+ }
+
+
+ override onTouchEvent(ev: MotionEvent): Boolean{
+ if(this.mask){
+ /**
+ * 明确说明了要遮罩 拦截
+ */
+ return super.onTouchEvent(ev)
+ }
+
+ let event=MotionEvent.obtain(ev.downTime, ev.eventTime, ev.action,
+ ev.rawX, ev.rawY,
+ ev.pressure, ev.size, ev.metaState, ev.xPrecision, ev.yPrecision, ev.deviceId, ev.edgeFlags)
+
+ return passThrough(event)
+ }
+ /**
+ * 决定是否要透传点击事件
+ */
+ passThrough(ev: MotionEvent): Boolean{
+ if(this.context == null){
+ return false
+ }
+ return this.context!.dispatchTouchEvent(ev)
+ }
+
+
+ showWaiting() {
+ this.setCanceledOnTouchOutside(false)
+ this.show()
+ }
+
+ close() {
+ this.dismiss()
+ if (this.mBitmap != null) {
+ this.mBitmap = null;
+ }
+ }
+
+ makeBitmap() {
+ if (this.LoadingIcon != null) {
+ // let mBitmap: Bitmap | null = null;
+ let imageBytes: ByteArray | null = null
+ if (this.LoadingIcon == "successIcon") {
+ imageBytes = this.inputStreamToArray(this.context?.getResources()!!.getAssets().open("uniappsuccess_icon.png"))
+ } else if (this.LoadingIcon == "errorIcon") {
+ imageBytes = this.inputStreamToArray(this.context?.getResources()!!.getAssets().open("uniapperror_icon.png"))
+ } else if (this.LoadingIcon.length > 0) {
+ let path: string = ""
+ if (this.LoadingIcon.startsWith("file://")) {
+ path = this.LoadingIcon.replace("file://", "")
+ } else {
+ path = UTSAndroid.getResourcePath(this.LoadingIcon)
+ }
+ if (path != null && path.length > 0) {
+ try {
+ let fis: FileInputStream = new FileInputStream(new File(path));
+ imageBytes = this.inputStreamToArray(fis);
+ fis.close()
+ } catch (e: Throwable) {
+ }
+ }
+ } else {
+ return
+ }
+ if (imageBytes == null || imageBytes.size == 0) {
+ return
+ }
+ let option = new BitmapFactory.Options()
+ option.inJustDecodeBounds = true
+ BitmapFactory.decodeByteArray(imageBytes, 0, imageBytes.size, option)
+ let width = option.outWidth
+ let height = option.outHeight
+
+ option.inSampleSize = this.getBestScale(height)
+ option.inJustDecodeBounds = false;
+ this.mBitmap = BitmapFactory.decodeByteArray(imageBytes, 0, imageBytes.size, option)
+
+ this.mProgressBar.setVisibility(View.GONE)
+ this.mImageView.setVisibility(View.VISIBLE)
+ this.mImageView.setImageBitmap(this.mBitmap)
+
+ if (width % height != 0) {
+ return
+ }
+
+ var lp: ViewGroup.LayoutParams = this.mImageView.getLayoutParams()
+ if (lp != null) {
+ if (this.loadingHeight > 0) {
+ lp.height = (this.loadingHeight * this.density).toInt()
+ lp.width = (this.loadingHeight * this.density).toInt()
+ } else {
+ lp.width = this.mBitmap!!.getHeight()
+ lp.height = this.mBitmap!!.getHeight()
+ }
+ this.mImageView.setLayoutParams(lp)
+ }
+ }
+ }
+
+ getBestScale(height: Int): Int {
+ let sampleSize: Int = 1;
+ let maxEdge = Math.min(this.screenWidth, this.ScreenHeight) - 10 * 2 * this.density
+ if (maxEdge > 0 && height > maxEdge) {
+ sampleSize = (height / maxEdge).toInt()
+ }
+ return sampleSize
+ }
+
+ inputStreamToArray(inputStream: InputStream): ByteArray | null {
+ try {
+ let bos: ByteArrayOutputStream = new ByteArrayOutputStream()
+ let bytes: ByteArray = new ByteArray(1024)
+
+ do {
+ let length = inputStream.read(bytes)
+ if (length != -1) {
+ bos.write(bytes, 0, length)
+ } else {
+ break
+ }
+ } while (true)
+ bos.close()
+ return bos.toByteArray()
+ } catch (e: Throwable) {
+ return null;
+ }
+ }
+}
+
+class MainThreadRunnable implements Runnable {
+
+ pop: PopupWindow
+
+ constructor(pop: PopupWindow) {
+ this.pop = pop
+ }
+
+ override run() {
+ this.pop.dismiss()
+ }
+}
+
+class WaitingDismissListener implements PopupWindow.OnDismissListener {
+ override onDismiss() {
+ }
+}
+
+class TouchInterceptorListener implements View.OnTouchListener {
+
+ interceptor: boolean
+
+ constructor(interceptor: boolean) {
+ this.interceptor = interceptor
+ }
+
+ override onTouch(v: View, event: MotionEvent): boolean {
+ return this.interceptor
+ }
+}
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/assets/uniapperror_icon.png b/uni_modules/uni-prompt/utssdk/app-android/assets/uniapperror_icon.png
new file mode 100644
index 0000000000000000000000000000000000000000..4743b25e1284270fee6ba8fefdb5265f6c451a93
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-android/assets/uniapperror_icon.png differ
diff --git a/uni_modules/uni-prompt/utssdk/app-android/assets/uniappsuccess_icon.png b/uni_modules/uni-prompt/utssdk/app-android/assets/uniappsuccess_icon.png
new file mode 100644
index 0000000000000000000000000000000000000000..c1f5bd7c5293dcc37284f30b215ff2a3779c316f
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-android/assets/uniappsuccess_icon.png differ
diff --git a/uni_modules/uni-prompt/utssdk/app-android/config.json b/uni_modules/uni-prompt/utssdk/app-android/config.json
new file mode 100644
index 0000000000000000000000000000000000000000..79042414cf5dc44a269529c97f1667bc88b10274
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/config.json
@@ -0,0 +1,7 @@
+{
+ "dependencies": [
+ "androidx.recyclerview:recyclerview:1.0.0",
+ "androidx.appcompat:appcompat:1.0.0"
+ ]
+}
+
diff --git a/uni_modules/uni-prompt/utssdk/app-android/index.uts b/uni_modules/uni-prompt/utssdk/app-android/index.uts
new file mode 100644
index 0000000000000000000000000000000000000000..819c790b20041c8b1d071ccd9dff296ca1481058
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/index.uts
@@ -0,0 +1,52 @@
+import { ShowLoadingOptions,ShowLoading,HideLoading} from "../interface.uts"
+import { ShowToastOptions,ShowToast,HideToast} from "../interface.uts"
+import { ShowActionSheetOptions,ShowActionSheet} from "../interface.uts"
+import { ShowModalOptions,ShowModal} from "../interface.uts"
+
+import * as ToastModule from "./showToast.uts"
+import * as ModalModule from "./showModal.uts"
+import * as ActionSheetModule from "./showActionSheet.uts"
+
+import UTSAndroid from 'io.dcloud.uts.UTSAndroid';
+
+export const showToast : ShowToast = function (options : ShowToastOptions) {
+
+ // 指定在ui线程执行
+ UTSAndroid.dispatchAsync('main',function(res){
+ ToastModule.showToastImpl(options)
+ },null)
+
+}
+
+export const hideToast : HideToast = function () {
+ UTSAndroid.dispatchAsync('main',function(res){
+ ToastModule.hideToastImpl()
+ },null)
+
+}
+
+export const showLoading : ShowLoading = function (options : ShowLoadingOptions) {
+ UTSAndroid.dispatchAsync('main',function(res){
+ ToastModule.showLoadingImpl(options)
+ },null)
+}
+
+export const hideLoading : HideLoading = function () {
+ UTSAndroid.dispatchAsync('main',function(res){
+ ToastModule.hideLoadingImpl()
+ },null)
+}
+
+export const showModal : ShowModal = function (options : ShowModalOptions) {
+ UTSAndroid.dispatchAsync('main',function(res){
+ ModalModule.showModalImpl(options)
+ },null)
+}
+
+export const showActionSheet : ShowActionSheet = function (options : ShowActionSheetOptions) {
+ UTSAndroid.dispatchAsync('main',function(res){
+ ActionSheetModule.actionSheetImpl(options)
+ },null)
+}
+
+
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/anim/uts_as_slide_in_bottom.xml b/uni_modules/uni-prompt/utssdk/app-android/res/anim/uts_as_slide_in_bottom.xml
new file mode 100644
index 0000000000000000000000000000000000000000..60d98e1994c248fbc3a79a5fee7248a18575eb17
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/anim/uts_as_slide_in_bottom.xml
@@ -0,0 +1,4 @@
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/anim/uts_as_slide_out_top.xml b/uni_modules/uni-prompt/utssdk/app-android/res/anim/uts_as_slide_out_top.xml
new file mode 100644
index 0000000000000000000000000000000000000000..d359072a26b37fe0f0aef0ededc6f3e1fbd1380e
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/anim/uts_as_slide_out_top.xml
@@ -0,0 +1,4 @@
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/actionsheet_bg_rounded.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/actionsheet_bg_rounded.xml
new file mode 100644
index 0000000000000000000000000000000000000000..461906f7ecb36acd8fac0ba03001a6ac5fb47977
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/actionsheet_bg_rounded.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/actionsheet_bg_rounded_night.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/actionsheet_bg_rounded_night.xml
new file mode 100644
index 0000000000000000000000000000000000000000..59485433ee69390d3ca07f7b23277e7914040236
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/actionsheet_bg_rounded_night.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/actionsheet_button_select_total.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/actionsheet_button_select_total.xml
new file mode 100644
index 0000000000000000000000000000000000000000..82291bd858cb02da96b555967bd4cdbae89fdb82
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/actionsheet_button_select_total.xml
@@ -0,0 +1,24 @@
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/actionsheet_button_select_total_night.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/actionsheet_button_select_total_night.xml
new file mode 100644
index 0000000000000000000000000000000000000000..fa18118efc6724183b8a7a08922e1b10aca45219
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/actionsheet_button_select_total_night.xml
@@ -0,0 +1,27 @@
+
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/actionsheet_button_select_total_night_top.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/actionsheet_button_select_total_night_top.xml
new file mode 100644
index 0000000000000000000000000000000000000000..802fb1fd153089c8024eccc608da51d2ab9a1b7d
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/actionsheet_button_select_total_night_top.xml
@@ -0,0 +1,32 @@
+
+
+
+ -
+
+
+
+
+
+
+ -
+
+
+
+
+
+
+ -
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/actionsheet_button_select_total_top.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/actionsheet_button_select_total_top.xml
new file mode 100644
index 0000000000000000000000000000000000000000..cff323ad0aa518c410681c25f61911d562187481
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/actionsheet_button_select_total_top.xml
@@ -0,0 +1,32 @@
+
+
+
+ -
+
+
+
+
+
+
+ -
+
+
+
+
+
+
+ -
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dcloud_loading_bg.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dcloud_loading_bg.xml
new file mode 100644
index 0000000000000000000000000000000000000000..801ee7343a61d20dc917dd2335b1330689235e39
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dcloud_loading_bg.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dialog_bg_rounded.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dialog_bg_rounded.xml
new file mode 100644
index 0000000000000000000000000000000000000000..f1a8adebf727be43dd6848f06836232bc1c6ab13
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dialog_bg_rounded.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dialog_bg_rounded_night.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dialog_bg_rounded_night.xml
new file mode 100644
index 0000000000000000000000000000000000000000..8d4859e865f4f33c273fa75b3b8c2bae31e0f02f
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dialog_bg_rounded_night.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dialog_button_select_left.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dialog_button_select_left.xml
new file mode 100644
index 0000000000000000000000000000000000000000..b9c13c9a7e47cfcd44a39903e33612d26d772582
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dialog_button_select_left.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dialog_button_select_left_night.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dialog_button_select_left_night.xml
new file mode 100644
index 0000000000000000000000000000000000000000..8fec64c5946fad8a562a103cfc32407da9ec36ad
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dialog_button_select_left_night.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dialog_button_select_right.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dialog_button_select_right.xml
new file mode 100644
index 0000000000000000000000000000000000000000..7a06814e78e5ba43b9622805933fdfee27324c33
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dialog_button_select_right.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dialog_button_select_right_night.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dialog_button_select_right_night.xml
new file mode 100644
index 0000000000000000000000000000000000000000..fdea82037dce20627a44ce5c0f8c13d6e5dd359b
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dialog_button_select_right_night.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dialog_button_select_total.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dialog_button_select_total.xml
new file mode 100644
index 0000000000000000000000000000000000000000..b3130c6fe04347756a576aa2672ddb6660ac4699
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dialog_button_select_total.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dialog_button_select_total_night.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dialog_button_select_total_night.xml
new file mode 100644
index 0000000000000000000000000000000000000000..5aee277a142635ec402568d5ae972609cf53b630
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/dialog_button_select_total_night.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_normal_left.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_normal_left.xml
new file mode 100644
index 0000000000000000000000000000000000000000..14d38d58ef22f9d155eee44a1484c8acd8b28a6c
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_normal_left.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_normal_left_night.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_normal_left_night.xml
new file mode 100644
index 0000000000000000000000000000000000000000..d137151633f26d8b82f47ad56e77254119f1e3c4
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_normal_left_night.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_normal_right.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_normal_right.xml
new file mode 100644
index 0000000000000000000000000000000000000000..4f5dcdbadaca498d650a12cec1b383c0a74148ae
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_normal_right.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_normal_right_night.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_normal_right_night.xml
new file mode 100644
index 0000000000000000000000000000000000000000..27732e65fd35039870406476361d73af0db9ffea
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_normal_right_night.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_normal_total.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_normal_total.xml
new file mode 100644
index 0000000000000000000000000000000000000000..482fa450003935ee6fe5fd74ce8cd85081007dd7
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_normal_total.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_normal_total_night.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_normal_total_night.xml
new file mode 100644
index 0000000000000000000000000000000000000000..9a2458c0825fe66f27e0e4a018fb367358a4e561
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_normal_total_night.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_select_left.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_select_left.xml
new file mode 100644
index 0000000000000000000000000000000000000000..185ca283709dc560ab702a82ea29fa5c874e722b
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_select_left.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_select_left_night.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_select_left_night.xml
new file mode 100644
index 0000000000000000000000000000000000000000..143afb82e44aad4357e8c7e0c90d0666c1f29fb6
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_select_left_night.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_select_right.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_select_right.xml
new file mode 100644
index 0000000000000000000000000000000000000000..b40e15b921a500b2ad3ebb01f02bf989459a66f5
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_select_right.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_select_right_night.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_select_right_night.xml
new file mode 100644
index 0000000000000000000000000000000000000000..7745310246a52706b406af93ef21323515e57314
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_select_right_night.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_select_total.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_select_total.xml
new file mode 100644
index 0000000000000000000000000000000000000000..af7406f1a6a75221fe46659c164c904f0b68dafc
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_select_total.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_select_total_night.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_select_total_night.xml
new file mode 100644
index 0000000000000000000000000000000000000000..6107a4a7f97f4db09cac0741e1c809be9784ae41
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/shape_btn_bg_select_total_night.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/drawable/uts_dcloud_circle_white_progress.xml b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/uts_dcloud_circle_white_progress.xml
new file mode 100644
index 0000000000000000000000000000000000000000..7deadb84192f4700fd332524d2447f3031e580a4
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/drawable/uts_dcloud_circle_white_progress.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/layout/ac_recyclerview_layout.xml b/uni_modules/uni-prompt/utssdk/app-android/res/layout/ac_recyclerview_layout.xml
new file mode 100644
index 0000000000000000000000000000000000000000..edd670a89286e3fe554c9bbdb5566298547f5b51
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/layout/ac_recyclerview_layout.xml
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/layout/ac_recyclerview_layout_night.xml b/uni_modules/uni-prompt/utssdk/app-android/res/layout/ac_recyclerview_layout_night.xml
new file mode 100644
index 0000000000000000000000000000000000000000..fe192318ba2df67f369ccca87fe63f0aac5b7d0b
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/layout/ac_recyclerview_layout_night.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/layout/ac_recyclerview_layout_top.xml b/uni_modules/uni-prompt/utssdk/app-android/res/layout/ac_recyclerview_layout_top.xml
new file mode 100644
index 0000000000000000000000000000000000000000..dd275f61de0ac01130af5b262806cd797f9323b3
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/layout/ac_recyclerview_layout_top.xml
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/layout/ac_recyclerview_layout_top_night.xml b/uni_modules/uni-prompt/utssdk/app-android/res/layout/ac_recyclerview_layout_top_night.xml
new file mode 100644
index 0000000000000000000000000000000000000000..dd9d78da101fc8fff8e57e2e043ae6f9514f2320
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/layout/ac_recyclerview_layout_top_night.xml
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/layout/dcloud_loadingview.xml b/uni_modules/uni-prompt/utssdk/app-android/res/layout/dcloud_loadingview.xml
new file mode 100644
index 0000000000000000000000000000000000000000..e54f6e5960831f4e04ca75d91b43535cf6dee908
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/layout/dcloud_loadingview.xml
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/layout/modal_dialog.xml b/uni_modules/uni-prompt/utssdk/app-android/res/layout/modal_dialog.xml
new file mode 100644
index 0000000000000000000000000000000000000000..57ad33d537e7dcc846c80dc99560bdbc137da6bb
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/layout/modal_dialog.xml
@@ -0,0 +1,112 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/layout/modal_dialog_night.xml b/uni_modules/uni-prompt/utssdk/app-android/res/layout/modal_dialog_night.xml
new file mode 100644
index 0000000000000000000000000000000000000000..5505c45fbe2b06ec8b1f0ca22f968e88e2012727
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/layout/modal_dialog_night.xml
@@ -0,0 +1,112 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/layout/uts_action_sheet.xml b/uni_modules/uni-prompt/utssdk/app-android/res/layout/uts_action_sheet.xml
new file mode 100644
index 0000000000000000000000000000000000000000..4f3e1fef307aa38499f0a7c2fc87264a0fa842aa
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/layout/uts_action_sheet.xml
@@ -0,0 +1,63 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/layout/uts_action_sheet_night.xml b/uni_modules/uni-prompt/utssdk/app-android/res/layout/uts_action_sheet_night.xml
new file mode 100644
index 0000000000000000000000000000000000000000..e3545f9be96b4b250362adfdf4c5ab9c0d8efb7a
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/layout/uts_action_sheet_night.xml
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/values-zh/strings.xml b/uni_modules/uni-prompt/utssdk/app-android/res/values-zh/strings.xml
new file mode 100644
index 0000000000000000000000000000000000000000..33774bb3d8ea1c8ff98bb30e5f7384410727b714
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/values-zh/strings.xml
@@ -0,0 +1,6 @@
+
+ Configuration
+ 取消
+ 确定
+ 取消
+
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/values/colors.xml b/uni_modules/uni-prompt/utssdk/app-android/res/values/colors.xml
new file mode 100644
index 0000000000000000000000000000000000000000..cc485743802f56356e941b313c420b6ba744050b
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/values/colors.xml
@@ -0,0 +1,46 @@
+
+
+
+ #FFFFFF
+ #efefef
+
+ #DEDEDE
+ #FFFFFF
+
+ #1C1C1C
+ #272727
+
+
+
+ #000000
+ #CFCFCF
+
+
+ #747474
+ #909090
+
+
+ #F6F6F6
+ #3d3d3d
+
+
+ #000000
+ #CFCFCF
+
+ #808080
+ #CFCFCF
+
+ #E0E0E0
+ #303030
+
+ #E3E3E3
+ #303030
+
+ #4A5E86
+ #7388a2
+
+ #000000
+ #a5a5a5
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/values/strings.xml b/uni_modules/uni-prompt/utssdk/app-android/res/values/strings.xml
new file mode 100644
index 0000000000000000000000000000000000000000..8ab0ce6cddc5e9e0ced7ffcd520ea94f11648dec
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/values/strings.xml
@@ -0,0 +1,7 @@
+
+
+ Configuration
+ Cancel
+ Sure
+ Cancel
+
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/res/values/styles.xml b/uni_modules/uni-prompt/utssdk/app-android/res/values/styles.xml
new file mode 100644
index 0000000000000000000000000000000000000000..3ef3d9d3475345e81bd960eb65f880439bf9de6a
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/res/values/styles.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-prompt/utssdk/app-android/showActionSheet.uts b/uni_modules/uni-prompt/utssdk/app-android/showActionSheet.uts
new file mode 100644
index 0000000000000000000000000000000000000000..bc3a7161be0991ca07ca925bb9edbc2b03c10a02
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/showActionSheet.uts
@@ -0,0 +1,323 @@
+import AlertDialog from 'android.app.AlertDialog';
+import Dialog from 'android.app.Dialog';
+import Activity from 'android.app.Activity';
+import Gravity from 'android.view.Gravity';
+import { UTSAndroid } from "io.dcloud.uts";
+
+import ViewGroup from 'android.view.ViewGroup';
+import View from 'android.view.View';
+import Color from 'android.graphics.Color';
+import ColorDrawable from 'android.graphics.drawable.ColorDrawable';
+
+import R from 'io.dcloud.uts.prompt.R';
+import TextView from 'android.widget.TextView';
+import LayoutInflater from 'android.view.LayoutInflater';
+
+import AppCompatTextView from 'androidx.appcompat.widget.AppCompatTextView';
+import LinearLayoutCompat from 'androidx.appcompat.widget.LinearLayoutCompat';
+
+import LinearLayoutManager from 'androidx.recyclerview.widget.LinearLayoutManager';
+import RecyclerView from 'androidx.recyclerview.widget.RecyclerView';
+
+
+
+import { ShowActionSheetOptions, ShowActionSheetSuccess,ShowActionSheetFail} from '../interface.uts'
+import string from 'android.R.string';
+import WindowManager from 'android.view.WindowManager';
+
+let uniActionSheet:UniActionSheet|null = null
+
+/**
+ * 弹出功能入口
+ */
+export function actionSheetImpl(style: ShowActionSheetOptions) {
+
+ /**
+ * 参数校验,itemList 不能为空
+ */
+ if(style.itemList == null || style.itemList.length < 1){
+
+ let res = new UniError("uni-prompt",-1,"showActionSheet:fail parameter error: parameter.itemList should have at least 1 item");
+
+ style.fail?.(res)
+ style.complete?.(res)
+ return ;
+ }
+
+
+ /**
+ * 元素个数不能超过6个
+ */
+ if(style.itemList.size > 6){
+ let res = new UniError("uni-prompt",-2,"showActionSheet:fail parameter error: itemList should not be large than 6");
+
+ style.fail?.(res)
+ style.complete?.(res)
+ return ;
+ }
+
+
+ if(uniActionSheet != null){
+ uniActionSheet?.dismiss()
+ }
+ uniActionSheet = new UniActionSheet(UTSAndroid.getUniActivity()!, style)
+ uniActionSheet?.show()
+
+ UTSAndroid.onAppActivityDestroy(function(){
+ uniActionSheet?.dismiss()
+ uniActionSheet = null
+ })
+
+}
+
+
+/**
+ * UniActionSheet
+ * 功能实现
+ */
+export class UniActionSheet extends Dialog{
+
+ /**
+ * 宿主activity
+ */
+ hostActivity: Activity
+ /**
+ * 宿主样式
+ */
+ hostStyle:ShowActionSheetOptions
+ /**
+ * 标题组件
+ */
+ title: AppCompatTextView
+ /**
+ * 取消按钮
+ */
+ cancel: AppCompatTextView
+ /**
+ * 列表 recycler
+ */
+ myRecyclerView: RecyclerView
+
+ /**
+ * title 组件
+ */
+ lineTitle: LinearLayoutCompat
+ /**
+ * 内容组件
+ */
+ lineContent: LinearLayoutCompat
+ /**
+ * 取消组件
+ */
+ lineCancel: LinearLayoutCompat
+
+
+ constructor(activity: Activity, style: ShowActionSheetOptions) {
+
+ super(activity,R.style.actionsheetDialog);
+
+ this.hostActivity = activity
+ this.hostStyle = style
+
+ /**
+ * 适配暗黑模式,配置不同的布局文件
+ */
+ if(UTSAndroid.getAppDarkMode()){
+ setContentView(R.layout.uts_action_sheet_night)
+ }else{
+ setContentView(R.layout.uts_action_sheet)
+ }
+
+
+ this.title = findViewById(R.id.tvTitle)
+ this.cancel = findViewById(R.id.tvCancelAction)
+ this.lineTitle = findViewById(R.id.line_title)
+ this.lineContent = findViewById(R.id.line_content)
+ this.lineCancel = findViewById(R.id.line_cancel)
+ this.myRecyclerView = findViewById(R.id.myRecyclerview)
+ this.myRecyclerView.layoutManager = LinearLayoutManager(this.hostActivity)
+
+
+ this.cancel.setOnClickListener(new CancelClickListener(this,this.hostStyle));
+ let recyclerviewAdapter = new ItemAdapter(this,this.hostStyle)
+ this.myRecyclerView.adapter = recyclerviewAdapter
+
+ if(!style.title.isNullOrBlank()){
+ this.lineTitle.setVisibility(View.VISIBLE)
+ this.title.setText(style.title)
+ }
+
+ if(this.window != null){
+ this.window!.setLayout(WindowManager.LayoutParams.MATCH_PARENT, WindowManager.LayoutParams.WRAP_CONTENT)
+ this.window!.setGravity(Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM);
+ if(this.window!.attributes != null){
+ this.window!.attributes!.windowAnimations = R.style.DialogAnimations_utsSmileWindow;
+ }
+ }
+
+ }
+
+
+}
+
+/**
+ * 列表选项点击事件监听
+ */
+class ItemClickListener extends View.OnClickListener{
+
+ host:Dialog
+ hostStyle:ShowActionSheetOptions
+ hostIndex:number
+
+ constructor(dialog:Dialog,style: ShowActionSheetOptions,index:number){
+ super()
+ this.host = dialog
+ this.hostStyle = style
+ this.hostIndex = index
+ }
+
+ override onClick(v?: View):void{
+
+ const res : ShowActionSheetSuccess = {
+ tapIndex: this.hostIndex
+ }
+
+ this.hostStyle.success?.(res)
+ this.hostStyle.complete?.(res)
+
+ this.host.dismiss()
+
+ }
+}
+
+/**
+ * 取消按钮点击事件
+ */
+class CancelClickListener extends View.OnClickListener{
+
+ host:Dialog
+ hostStyle:ShowActionSheetOptions
+
+ constructor(dialog:Dialog,style: ShowActionSheetOptions){
+ super()
+ this.host = dialog
+ this.hostStyle = style
+ }
+
+ override onClick(v?: View):void{
+
+ let res = new UniError("uni-prompt",1002,"showActionSheet:fail cancel");
+
+ this.hostStyle.fail?.(res)
+ this.hostStyle.complete?.(res)
+
+ this.host.dismiss()
+
+ }
+}
+
+
+/**
+ * 列表数据适配器
+ */
+class ItemAdapter extends RecyclerView.Adapter{
+
+
+ mItemList: Array
+ hostStyle:ShowActionSheetOptions
+ hostDialog:Dialog
+
+ constructor(dialog:Dialog ,style: ShowActionSheetOptions){
+ super()
+ this.hostDialog = dialog
+ this.mItemList = style.itemList
+ this.hostStyle = style
+ }
+
+ /**
+ * view 持有容器
+ */
+ ViewHolder = class extends RecyclerView.ViewHolder {
+
+ itemName:TextView;
+ constructor(view:View) {
+ super(view);
+ itemName = view.findViewById(R.id.tvName) as TextView;
+ }
+ }
+
+
+ override getItemViewType(position: Int): Int {
+ if(hostStyle.title.isNullOrBlank()){
+ // 无标题状态
+ if(position == 0){
+ return 1001
+ }
+ return 1002
+ }else{
+ // 有标题状态
+ return 1002
+ }
+ }
+
+
+ override onCreateViewHolder(
+ parent: ViewGroup,
+ viewType: Int
+ ): ViewHolder {
+
+ let view: View
+ if(viewType == 1002){
+ if(UTSAndroid.getAppDarkMode()){
+ view =
+ LayoutInflater.from(parent.context).inflate(R.layout.ac_recyclerview_layout_night, parent, false)
+ }else{
+ view =
+ LayoutInflater.from(parent.context).inflate(R.layout.ac_recyclerview_layout, parent, false)
+ }
+ }else{
+ if(UTSAndroid.getAppDarkMode()){
+ view =
+ LayoutInflater.from(parent.context).inflate(R.layout.ac_recyclerview_layout_top_night, parent, false)
+ }else{
+ view =
+ LayoutInflater.from(parent.context).inflate(R.layout.ac_recyclerview_layout_top, parent, false)
+ }
+ }
+
+
+ return ViewHolder(view)
+ }
+
+ override onBindViewHolder(holder: ViewHolder, position: Int) {
+ let perContent: String = mItemList[position]
+ holder.itemName.setText(perContent)
+ if(this.hostStyle.itemColor != null && isValidColor(this.hostStyle.itemColor)){
+ holder.itemName.setTextColor(Color.parseColor(this.hostStyle.itemColor))
+ }
+ holder.itemName.setOnClickListener(new ItemClickListener(this.hostDialog,this.hostStyle,position));
+ }
+
+ override getItemCount(): Int {
+ return mItemList.size
+ }
+
+}
+/**
+ * 工具方法,判断一个color 字符串是否合法
+ */
+function isValidColor(colorStr?:string):boolean{
+ if(colorStr == null){
+ return false
+ }
+ if(colorStr.length != 7){
+ return false
+ }
+ if(!colorStr.startsWith("#")){
+ return false
+ }
+ return true
+}
+
+
+
diff --git a/uni_modules/uni-prompt/utssdk/app-android/showModal.uts b/uni_modules/uni-prompt/utssdk/app-android/showModal.uts
new file mode 100644
index 0000000000000000000000000000000000000000..53510829b53487cf95e316b74d2564ae1cd1d963
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/showModal.uts
@@ -0,0 +1,215 @@
+import Dialog from 'android.app.Dialog';
+import Context from 'android.content.Context';
+import R from 'io.dcloud.uts.prompt.R';
+import TextView from 'android.widget.TextView';
+import EditText from 'android.widget.EditText';
+import View from 'android.view.View';
+import Color from 'android.graphics.Color';
+import UTSAndroid from 'io.dcloud.uts.UTSAndroid';
+import Typeface from 'android.graphics.Typeface';
+
+
+import { ShowModalOptions,ShowModalSuccess,ShowModalFail} from '../interface.uts'
+import TextUtils from 'android.text.TextUtils';
+
+
+class UTSDialog extends Dialog implements View.OnClickListener {
+
+ tv_title:TextView
+ tv_content:TextView
+ et_content:EditText
+ tvCancelAction:TextView
+ tvSureAction:TextView
+ view_split_line_v:View
+
+ constructor(context:Context){
+ super(context);
+
+ if(UTSAndroid.getAppDarkMode()){
+ this.setContentView(R.layout.modal_dialog_night);
+ }else{
+ this.setContentView(R.layout.modal_dialog);
+ }
+
+ this.getWindow()?.setBackgroundDrawableResource(android.R.color.transparent);
+
+ this.tv_title = this.findViewById(R.id.tv_title)
+ this.tv_content = this.findViewById(R.id.tv_content)
+ this.et_content = this.findViewById(R.id.et_content)
+ this.tvCancelAction= this.findViewById(R.id.tvCancelAction)
+ this.tvSureAction= this.findViewById(R.id.tvSureAction)
+ this.view_split_line_v = findViewById(R.id.view_split_line_v)
+
+ }
+
+ hostStyle:ShowModalOptions|null = null
+
+ initStyle(style:ShowModalOptions){
+ this.hostStyle = style
+ this.setCanceledOnTouchOutside(false)
+
+ if(style.showCancel != null && style.showCancel == true){
+ this.tvCancelAction.setVisibility(View.VISIBLE)
+ this.view_split_line_v.setVisibility(View.VISIBLE)
+ this.tvSureAction.setVisibility(View.VISIBLE)
+
+ if(UTSAndroid.getAppDarkMode()){
+ this.tvSureAction.setBackgroundResource(R.drawable.dialog_button_select_right_night)
+ }else{
+ this.tvSureAction.setBackgroundResource(R.drawable.dialog_button_select_right)
+ }
+ }else{
+ this.tvCancelAction.setVisibility(View.GONE)
+ this.view_split_line_v.setVisibility(View.GONE)
+ this.tvSureAction.setVisibility(View.VISIBLE)
+
+ if(UTSAndroid.getAppDarkMode()){
+ this.tvSureAction.setBackgroundResource(R.drawable.dialog_button_select_total_night)
+ }else{
+ this.tvSureAction.setBackgroundResource(R.drawable.dialog_button_select_total)
+ }
+
+ }
+
+ if(style.editable != null && style.editable == true){
+ // 编辑模式
+ this.et_content.setVisibility(View.VISIBLE)
+ this.tv_content.setVisibility(View.GONE)
+
+ if(!TextUtils.isEmpty(style.content)){
+
+ this.et_content.setFocusable(true);
+ this.et_content.setFocusableInTouchMode(true);
+ this.et_content.requestFocus();
+ this.et_content.setText(style.content)
+ this.et_content.setSelection(this.et_content.getText().length);
+ }
+
+ if(style.placeholderText != null){
+ this.et_content.setHint(style.placeholderText)
+ }
+
+ if(!TextUtils.isEmpty(style.title)){
+ this.tv_title.setVisibility(View.VISIBLE)
+ this.tv_title.setText(style.title)
+ }else{
+ this.tv_title.setVisibility(View.GONE)
+ }
+
+ }else{
+ // 非编辑模式
+ this.et_content.setVisibility(View.GONE)
+
+
+ if(!TextUtils.isEmpty(style.title)){
+ // title 不为空
+ this.tv_title.setVisibility(View.VISIBLE)
+ this.tv_title.setText(style.title)
+ }else{
+ this.tv_title.setVisibility(View.GONE)
+ }
+
+ if(!TextUtils.isEmpty(style.content)){
+ // content 不为空
+ this.tv_content.setVisibility(View.VISIBLE)
+ this.tv_content.setText(style.content)
+ if(TextUtils.isEmpty(style.title)){
+ // 如果此时title 为空,需要修改文本颜色
+ if(UTSAndroid.getAppDarkMode()){
+ this.tv_content.setTextColor(UTSAndroid.getAppContext()!.getResources().getColor(R.color.dialog_title_text_night))
+ }else{
+ this.tv_content.setTextColor(UTSAndroid.getAppContext()!.getResources().getColor(R.color.dialog_title_text))
+ }
+ }
+ }else{
+ // 判断title 是否为空,如果不为空,则将title填充到content,并且修改文本颜色
+ if(!TextUtils.isEmpty(style.title)){
+ this.tv_title.setVisibility(View.GONE)
+ this.tv_content.setVisibility(View.VISIBLE)
+ this.tv_content.setText(style.title)
+ if(UTSAndroid.getAppDarkMode()){
+ this.tv_content.setTextColor(UTSAndroid.getAppContext()!.getResources().getColor(R.color.dialog_title_text_night))
+ }else{
+ this.tv_content.setTextColor(UTSAndroid.getAppContext()!.getResources().getColor(R.color.dialog_title_text))
+ }
+ }else{
+ this.tv_content.setVisibility(View.GONE)
+ }
+ }
+
+
+ }
+
+ if(style.cancelText != null){
+ this.tvCancelAction.setText(style.cancelText)
+ }
+ if(style.cancelColor != null){
+ try{
+ this.tvCancelAction.setTextColor(Color.parseColor(style.cancelColor))
+ }catch(e){
+ // 传入的格式异常,捕获
+ }
+
+ }
+
+ if(style.confirmText != null){
+ this.tvSureAction.setText(style.confirmText)
+ }
+ if(style.confirmColor != null){
+ try{
+ this.tvSureAction.setTextColor(Color.parseColor(style.confirmColor))
+ }catch(e){
+ // 传入的格式异常,捕获
+ }
+ }
+
+ this.tvCancelAction.setOnClickListener(this)
+ this.tvSureAction.setOnClickListener(this)
+
+ }
+
+ override onClick(view: View) {
+
+ const res: ShowModalSuccess = {
+ confirm: true,
+ cancel: false,
+ }
+
+ if(view.getId() == R.id.tvCancelAction){
+ // 取消
+ res.confirm = false
+ res.cancel = true
+ }else if(view.getId() == R.id.tvSureAction){
+ // 确定
+ let inputContent = this.et_content.getEditableText().toString()
+ if(TextUtils.isEmpty(inputContent)){
+ res.content = null
+ }
+ res.content = inputContent
+ }
+
+ this.hostStyle?.success?.(res)
+ this.hostStyle?.complete?.(res)
+
+ this.dismiss()
+ }
+}
+
+let utsDialog:UTSDialog|null = null
+/**
+ * 弹出对话框的功能入口
+ */
+export function showModalImpl(style:ShowModalOptions){
+ if(utsDialog != null){
+ utsDialog?.dismiss()
+ }
+ utsDialog = new UTSDialog(UTSAndroid.getUniActivity()!);
+ utsDialog?.initStyle(style)
+ utsDialog?.show();
+
+ UTSAndroid.onAppActivityDestroy(function(){
+ utsDialog?.dismiss()
+ utsDialog = null
+ })
+
+}
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/app-android/showToast.uts b/uni_modules/uni-prompt/utssdk/app-android/showToast.uts
new file mode 100644
index 0000000000000000000000000000000000000000..bdbbfc8da6de400a22b6241084fe64ec4504fcd5
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-android/showToast.uts
@@ -0,0 +1,197 @@
+import { getUniActivity } from "io.dcloud.uts.android";
+import Gravity from 'android.view.Gravity';
+import Toast from "android.widget.Toast";
+import { WaitingView } from "./WaitingView.uts"
+import { ShowToastOptions, ShowLoadingOptions, ShowToastFail,ShowToastSuccess, ShowLoadingFail,ShowLoadingSuccess } from '../interface.uts'
+
+
+type ToastStyle = {
+ title : string,
+ icon ?: string,
+ image ?: string,
+ mask ?: boolean,
+ duration ?: number,
+ position ?: string,
+ style ?: string,
+ success ?: (res : UTSJSONObject) => void,
+ fail ?: (res : UTSJSONObject) => void,
+ complete ?: (res : UTSJSONObject) => void
+}
+
+let timeout : number | null = null
+let toast : WaitingView | null = null
+let toastType : string | null = null
+
+export function showToastImpl(style : ShowToastOptions) {
+ makeToast(style, 'toast', 'showToast')
+
+}
+
+export function hideToastImpl() {
+ closeToast("toast")
+}
+
+export function showLoadingImpl(option : ShowLoadingOptions) {
+ makeLoading(option, 'loading', 'showLoading')
+}
+
+export function hideLoadingImpl() {
+ closeToast("loading")
+}
+
+function closeToast(type : string | null) {
+ if (type != null && type !== toastType) {
+ return
+ }
+ if (timeout != null && (timeout as number) > 0) {
+ clearTimeout(timeout as number)
+ timeout = null
+ }
+ if (toast != null) {
+ (toast as WaitingView).close()
+ toast = null
+ }
+ if (toast != null) {
+ (toast as WaitingView).close()
+ toast = null
+ }
+ if (androidToast != null) {
+ androidToast!.cancel()
+ androidToast = null
+ }
+ toastType = null
+}
+
+function makeLoading(style : ShowLoadingOptions, type : string, errMsg : string) {
+ // 关闭之前的展示框
+ closeToast(null)
+ if (style.title == null) {
+ // 没有title 打回报错信息即可
+ let res = new UniError("uni-prompt",1001,"showLoading:title is null");
+ style.fail?.(res)
+ style.complete?.(res)
+
+ } else {
+ toastType = type
+
+ let options = {};
+ let icon = "success"
+
+ options = {
+ name: style.title,
+ modal: style.mask,
+ back: 'transmit',
+ padding: '10',
+ size: '16' // 固定字体大小
+ }
+
+ options["width"] = "140"
+ options["height"] = "112"
+
+ const alert = new WaitingView(getUniActivity(), options)
+ toast = alert
+ alert.showWaiting()
+
+ const res : ShowLoadingSuccess = {
+ }
+ style.success?.(res)
+ style.complete?.(res)
+ }
+}
+
+let androidToast:Toast| null = null
+
+
+function makeToast(style : ShowToastOptions, type : string, errMsg : string) {
+ closeToast(null)
+ if (style.title == null || style.title.length == 0) {
+
+ let res = new UniError("uni-prompt",1001,"showLoading:title is null");
+ style.fail?.(res)
+ style.complete?.(res)
+
+ } else {
+
+ toastType = type
+ if (["top", "center", "bottom"].indexOf(style.position) >= 0) {
+ androidToast = Toast.makeText(getUniActivity(), style.title, Toast.LENGTH_SHORT);
+ switch (style.position) {
+ case "top": {
+ // 修复bottom/top 与 前端api位置不一致的问题
+ androidToast!.setGravity(Gravity.TOP, androidToast!.getXOffset(), androidToast!.getYOffset())
+ break
+ }
+ case "center": {
+ androidToast!.setGravity(Gravity.CENTER, 0, 0)
+ break
+ }
+ case "bottom": {
+ androidToast!.setGravity(Gravity.BOTTOM, androidToast!.getXOffset(), androidToast!.getYOffset())
+ break
+ }
+ }
+ androidToast!.show()
+ const res : ShowToastSuccess = {
+ }
+
+ style.success?.(res)
+ style.complete?.(res)
+ } else {
+ let options = {};
+ let icon = style.icon
+ if (icon == null || ["success", "loading", "error", "none"].indexOf(icon) < 0) {
+ icon = "success"
+ }
+ options = {
+ name: style.title,
+ modal: style.mask,
+ back: 'transmit',
+ padding: '10',
+ size: '16' // 固定字体大小
+ }
+ if ((style.image == null || style.image == '') && icon == "none") {
+ options["loading"] = {
+ display: "none"
+ }
+ } else {
+ options["width"] = "140"
+ options["height"] = "112"
+ }
+ if (style.image != null && style.image != '') {
+ options["loading"] = {
+ display: "block",
+ height: "55",
+ icon: style.image
+ }
+ } else {
+ if (['success', 'error'].indexOf(icon) >= 0) {
+ options["loading"] = {
+ display: 'block',
+ height: '36',
+ icon: icon == "success" ? "successIcon" : "errorIcon"
+ }
+ }
+ }
+
+ const alert = new WaitingView(getUniActivity(), options)
+ toast = alert
+ alert.showWaiting()
+ let duration : number | null = style.duration
+ if (duration == null || duration <= 0) {
+ duration = 1500
+ }
+ if (type !== "loading") {
+ timeout = setTimeout(() => {
+ alert.close()
+ }, duration)
+ }
+
+ const res : ShowToastSuccess = {
+ }
+
+ style.success?.(res)
+ style.complete?.(res)
+ }
+ }
+}
+
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/DCUniToast b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/DCUniToast
new file mode 100644
index 0000000000000000000000000000000000000000..2e6a70f7fbbb6f5ea745bd28e6add99c01c6e4a4
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/DCUniToast differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Headers/DCUniToast-Swift.h b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Headers/DCUniToast-Swift.h
new file mode 100644
index 0000000000000000000000000000000000000000..7d3ed6969be0b40be4a931e1ef06a33217b2225b
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Headers/DCUniToast-Swift.h
@@ -0,0 +1,506 @@
+#if 0
+#elif defined(__arm64__) && __arm64__
+// Generated by Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
+#ifndef DCUNITOAST_SWIFT_H
+#define DCUNITOAST_SWIFT_H
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wgcc-compat"
+
+#if !defined(__has_include)
+# define __has_include(x) 0
+#endif
+#if !defined(__has_attribute)
+# define __has_attribute(x) 0
+#endif
+#if !defined(__has_feature)
+# define __has_feature(x) 0
+#endif
+#if !defined(__has_warning)
+# define __has_warning(x) 0
+#endif
+
+#if __has_include()
+# include
+#endif
+
+#pragma clang diagnostic ignored "-Wauto-import"
+#include
+#include
+#include
+#include
+
+#if !defined(SWIFT_TYPEDEFS)
+# define SWIFT_TYPEDEFS 1
+# if __has_include()
+# include
+# elif !defined(__cplusplus)
+typedef uint_least16_t char16_t;
+typedef uint_least32_t char32_t;
+# endif
+typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
+typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
+typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
+typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
+typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
+typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
+typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
+typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
+typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
+typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
+typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
+typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
+#endif
+
+#if !defined(SWIFT_PASTE)
+# define SWIFT_PASTE_HELPER(x, y) x##y
+# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
+#endif
+#if !defined(SWIFT_METATYPE)
+# define SWIFT_METATYPE(X) Class
+#endif
+#if !defined(SWIFT_CLASS_PROPERTY)
+# if __has_feature(objc_class_property)
+# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
+# else
+# define SWIFT_CLASS_PROPERTY(...)
+# endif
+#endif
+
+#if __has_attribute(objc_runtime_name)
+# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
+#else
+# define SWIFT_RUNTIME_NAME(X)
+#endif
+#if __has_attribute(swift_name)
+# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
+#else
+# define SWIFT_COMPILE_NAME(X)
+#endif
+#if __has_attribute(objc_method_family)
+# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
+#else
+# define SWIFT_METHOD_FAMILY(X)
+#endif
+#if __has_attribute(noescape)
+# define SWIFT_NOESCAPE __attribute__((noescape))
+#else
+# define SWIFT_NOESCAPE
+#endif
+#if __has_attribute(ns_consumed)
+# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
+#else
+# define SWIFT_RELEASES_ARGUMENT
+#endif
+#if __has_attribute(warn_unused_result)
+# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
+#else
+# define SWIFT_WARN_UNUSED_RESULT
+#endif
+#if __has_attribute(noreturn)
+# define SWIFT_NORETURN __attribute__((noreturn))
+#else
+# define SWIFT_NORETURN
+#endif
+#if !defined(SWIFT_CLASS_EXTRA)
+# define SWIFT_CLASS_EXTRA
+#endif
+#if !defined(SWIFT_PROTOCOL_EXTRA)
+# define SWIFT_PROTOCOL_EXTRA
+#endif
+#if !defined(SWIFT_ENUM_EXTRA)
+# define SWIFT_ENUM_EXTRA
+#endif
+#if !defined(SWIFT_CLASS)
+# if __has_attribute(objc_subclassing_restricted)
+# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
+# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
+# else
+# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
+# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
+# endif
+#endif
+#if !defined(SWIFT_RESILIENT_CLASS)
+# if __has_attribute(objc_class_stub)
+# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
+# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
+# else
+# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
+# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
+# endif
+#endif
+
+#if !defined(SWIFT_PROTOCOL)
+# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
+# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
+#endif
+
+#if !defined(SWIFT_EXTENSION)
+# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
+#endif
+
+#if !defined(OBJC_DESIGNATED_INITIALIZER)
+# if __has_attribute(objc_designated_initializer)
+# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
+# else
+# define OBJC_DESIGNATED_INITIALIZER
+# endif
+#endif
+#if !defined(SWIFT_ENUM_ATTR)
+# if defined(__has_attribute) && __has_attribute(enum_extensibility)
+# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
+# else
+# define SWIFT_ENUM_ATTR(_extensibility)
+# endif
+#endif
+#if !defined(SWIFT_ENUM)
+# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
+# if __has_feature(generalized_swift_name)
+# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
+# else
+# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
+# endif
+#endif
+#if !defined(SWIFT_UNAVAILABLE)
+# define SWIFT_UNAVAILABLE __attribute__((unavailable))
+#endif
+#if !defined(SWIFT_UNAVAILABLE_MSG)
+# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
+#endif
+#if !defined(SWIFT_AVAILABILITY)
+# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
+#endif
+#if !defined(SWIFT_WEAK_IMPORT)
+# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
+#endif
+#if !defined(SWIFT_DEPRECATED)
+# define SWIFT_DEPRECATED __attribute__((deprecated))
+#endif
+#if !defined(SWIFT_DEPRECATED_MSG)
+# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
+#endif
+#if __has_feature(attribute_diagnose_if_objc)
+# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
+#else
+# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
+#endif
+#if !defined(IBSegueAction)
+# define IBSegueAction
+#endif
+#if __has_feature(modules)
+#if __has_warning("-Watimport-in-framework-header")
+#pragma clang diagnostic ignored "-Watimport-in-framework-header"
+#endif
+@import ObjectiveC;
+#endif
+
+#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
+#pragma clang diagnostic ignored "-Wduplicate-method-arg"
+#if __has_warning("-Wpragma-clang-attribute")
+# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
+#endif
+#pragma clang diagnostic ignored "-Wunknown-pragmas"
+#pragma clang diagnostic ignored "-Wnullability"
+
+#if __has_attribute(external_source_symbol)
+# pragma push_macro("any")
+# undef any
+# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="DCUniToast",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
+# pragma pop_macro("any")
+#endif
+
+
+
+SWIFT_CLASS("_TtC10DCUniToast7MCToast")
+@interface MCToast : NSObject
+- (nonnull instancetype)init SWIFT_UNAVAILABLE;
++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
+@end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+SWIFT_CLASS("_TtC10DCUniToast13MCToastConfig")
+@interface MCToastConfig : NSObject
+- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
+@end
+
+
+
+
+
+
+
+
+#if __has_attribute(external_source_symbol)
+# pragma clang attribute pop
+#endif
+#pragma clang diagnostic pop
+#endif
+
+#elif defined(__ARM_ARCH_7A__) && __ARM_ARCH_7A__
+// Generated by Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
+#ifndef DCUNITOAST_SWIFT_H
+#define DCUNITOAST_SWIFT_H
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wgcc-compat"
+
+#if !defined(__has_include)
+# define __has_include(x) 0
+#endif
+#if !defined(__has_attribute)
+# define __has_attribute(x) 0
+#endif
+#if !defined(__has_feature)
+# define __has_feature(x) 0
+#endif
+#if !defined(__has_warning)
+# define __has_warning(x) 0
+#endif
+
+#if __has_include()
+# include
+#endif
+
+#pragma clang diagnostic ignored "-Wauto-import"
+#include
+#include
+#include
+#include
+
+#if !defined(SWIFT_TYPEDEFS)
+# define SWIFT_TYPEDEFS 1
+# if __has_include()
+# include
+# elif !defined(__cplusplus)
+typedef uint_least16_t char16_t;
+typedef uint_least32_t char32_t;
+# endif
+typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
+typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
+typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
+typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
+typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
+typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
+typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
+typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
+typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
+typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
+typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
+typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
+#endif
+
+#if !defined(SWIFT_PASTE)
+# define SWIFT_PASTE_HELPER(x, y) x##y
+# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
+#endif
+#if !defined(SWIFT_METATYPE)
+# define SWIFT_METATYPE(X) Class
+#endif
+#if !defined(SWIFT_CLASS_PROPERTY)
+# if __has_feature(objc_class_property)
+# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
+# else
+# define SWIFT_CLASS_PROPERTY(...)
+# endif
+#endif
+
+#if __has_attribute(objc_runtime_name)
+# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
+#else
+# define SWIFT_RUNTIME_NAME(X)
+#endif
+#if __has_attribute(swift_name)
+# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
+#else
+# define SWIFT_COMPILE_NAME(X)
+#endif
+#if __has_attribute(objc_method_family)
+# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
+#else
+# define SWIFT_METHOD_FAMILY(X)
+#endif
+#if __has_attribute(noescape)
+# define SWIFT_NOESCAPE __attribute__((noescape))
+#else
+# define SWIFT_NOESCAPE
+#endif
+#if __has_attribute(ns_consumed)
+# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
+#else
+# define SWIFT_RELEASES_ARGUMENT
+#endif
+#if __has_attribute(warn_unused_result)
+# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
+#else
+# define SWIFT_WARN_UNUSED_RESULT
+#endif
+#if __has_attribute(noreturn)
+# define SWIFT_NORETURN __attribute__((noreturn))
+#else
+# define SWIFT_NORETURN
+#endif
+#if !defined(SWIFT_CLASS_EXTRA)
+# define SWIFT_CLASS_EXTRA
+#endif
+#if !defined(SWIFT_PROTOCOL_EXTRA)
+# define SWIFT_PROTOCOL_EXTRA
+#endif
+#if !defined(SWIFT_ENUM_EXTRA)
+# define SWIFT_ENUM_EXTRA
+#endif
+#if !defined(SWIFT_CLASS)
+# if __has_attribute(objc_subclassing_restricted)
+# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
+# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
+# else
+# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
+# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
+# endif
+#endif
+#if !defined(SWIFT_RESILIENT_CLASS)
+# if __has_attribute(objc_class_stub)
+# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
+# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
+# else
+# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
+# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
+# endif
+#endif
+
+#if !defined(SWIFT_PROTOCOL)
+# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
+# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
+#endif
+
+#if !defined(SWIFT_EXTENSION)
+# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
+#endif
+
+#if !defined(OBJC_DESIGNATED_INITIALIZER)
+# if __has_attribute(objc_designated_initializer)
+# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
+# else
+# define OBJC_DESIGNATED_INITIALIZER
+# endif
+#endif
+#if !defined(SWIFT_ENUM_ATTR)
+# if defined(__has_attribute) && __has_attribute(enum_extensibility)
+# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
+# else
+# define SWIFT_ENUM_ATTR(_extensibility)
+# endif
+#endif
+#if !defined(SWIFT_ENUM)
+# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
+# if __has_feature(generalized_swift_name)
+# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
+# else
+# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
+# endif
+#endif
+#if !defined(SWIFT_UNAVAILABLE)
+# define SWIFT_UNAVAILABLE __attribute__((unavailable))
+#endif
+#if !defined(SWIFT_UNAVAILABLE_MSG)
+# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
+#endif
+#if !defined(SWIFT_AVAILABILITY)
+# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
+#endif
+#if !defined(SWIFT_WEAK_IMPORT)
+# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
+#endif
+#if !defined(SWIFT_DEPRECATED)
+# define SWIFT_DEPRECATED __attribute__((deprecated))
+#endif
+#if !defined(SWIFT_DEPRECATED_MSG)
+# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
+#endif
+#if __has_feature(attribute_diagnose_if_objc)
+# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
+#else
+# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
+#endif
+#if !defined(IBSegueAction)
+# define IBSegueAction
+#endif
+#if __has_feature(modules)
+#if __has_warning("-Watimport-in-framework-header")
+#pragma clang diagnostic ignored "-Watimport-in-framework-header"
+#endif
+@import ObjectiveC;
+#endif
+
+#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
+#pragma clang diagnostic ignored "-Wduplicate-method-arg"
+#if __has_warning("-Wpragma-clang-attribute")
+# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
+#endif
+#pragma clang diagnostic ignored "-Wunknown-pragmas"
+#pragma clang diagnostic ignored "-Wnullability"
+
+#if __has_attribute(external_source_symbol)
+# pragma push_macro("any")
+# undef any
+# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="DCUniToast",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
+# pragma pop_macro("any")
+#endif
+
+
+
+SWIFT_CLASS("_TtC10DCUniToast7MCToast")
+@interface MCToast : NSObject
+- (nonnull instancetype)init SWIFT_UNAVAILABLE;
++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
+@end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+SWIFT_CLASS("_TtC10DCUniToast13MCToastConfig")
+@interface MCToastConfig : NSObject
+- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
+@end
+
+
+
+
+
+
+
+
+#if __has_attribute(external_source_symbol)
+# pragma clang attribute pop
+#endif
+#pragma clang diagnostic pop
+#endif
+
+#endif
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Headers/DCUniToast.h b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Headers/DCUniToast.h
new file mode 100644
index 0000000000000000000000000000000000000000..88276ac65ce7b531db6ade3c4efdb60c7ea8f485
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Headers/DCUniToast.h
@@ -0,0 +1,18 @@
+//
+// DCUniToast.h
+// DCUniToast
+//
+// Created by DCloud on 2023/2/23.
+//
+
+#import
+
+//! Project version number for DCUniToast.
+FOUNDATION_EXPORT double DCUniToastVersionNumber;
+
+//! Project version string for DCUniToast.
+FOUNDATION_EXPORT const unsigned char DCUniToastVersionString[];
+
+// In this header, you should import all the public headers of your framework using statements like #import
+
+
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Info.plist b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Info.plist
new file mode 100644
index 0000000000000000000000000000000000000000..9712052df391242671b05170b8e890a61f75f128
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Info.plist differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/arm.swiftsourceinfo b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/arm.swiftsourceinfo
new file mode 100644
index 0000000000000000000000000000000000000000..32b79de36bc0b26bf4402fdfcb0a26653d225d3b
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/arm.swiftsourceinfo differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo
new file mode 100644
index 0000000000000000000000000000000000000000..8fe0fa7c4ae1ef75d28bad43b6f015f4e2000332
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/arm64.swiftsourceinfo b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/arm64.swiftsourceinfo
new file mode 100644
index 0000000000000000000000000000000000000000..8fe0fa7c4ae1ef75d28bad43b6f015f4e2000332
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/arm64.swiftsourceinfo differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/armv7-apple-ios.swiftsourceinfo b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/armv7-apple-ios.swiftsourceinfo
new file mode 100644
index 0000000000000000000000000000000000000000..32b79de36bc0b26bf4402fdfcb0a26653d225d3b
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/armv7-apple-ios.swiftsourceinfo differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/armv7.swiftsourceinfo b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/armv7.swiftsourceinfo
new file mode 100644
index 0000000000000000000000000000000000000000..32b79de36bc0b26bf4402fdfcb0a26653d225d3b
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/armv7.swiftsourceinfo differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/i386-apple-ios-simulator.swiftsourceinfo b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/i386-apple-ios-simulator.swiftsourceinfo
new file mode 100644
index 0000000000000000000000000000000000000000..28969618799a41ce48f3192fe18e2d52f9d3b39c
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/i386-apple-ios-simulator.swiftsourceinfo differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/i386.swiftsourceinfo b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/i386.swiftsourceinfo
new file mode 100644
index 0000000000000000000000000000000000000000..28969618799a41ce48f3192fe18e2d52f9d3b39c
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/i386.swiftsourceinfo differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo
new file mode 100644
index 0000000000000000000000000000000000000000..42f3058e48452b6a2d4aa373dfece946e2501921
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/x86_64.swiftsourceinfo b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/x86_64.swiftsourceinfo
new file mode 100644
index 0000000000000000000000000000000000000000..42f3058e48452b6a2d4aa373dfece946e2501921
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/Project/x86_64.swiftsourceinfo differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm.swiftdoc b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm.swiftdoc
new file mode 100644
index 0000000000000000000000000000000000000000..0d07be0079df2ef04468fe1340df7b409396ac95
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm.swiftdoc differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm.swiftinterface b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm.swiftinterface
new file mode 100644
index 0000000000000000000000000000000000000000..bff0c4bb9e66f10bc382492a46e69ccefe1dda57
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm.swiftinterface
@@ -0,0 +1,116 @@
+// swift-interface-format-version: 1.0
+// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
+// swift-module-flags: -target armv7-apple-ios9.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name DCUniToast
+@_exported import DCUniToast
+import Foundation
+import Swift
+import UIKit
+import _Concurrency
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_text(_ text: Swift.String, offset: CoreGraphics.CGFloat? = nil, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_text(_ text: Swift.String, offset: CoreGraphics.CGFloat? = nil, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_remove(callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_remove(callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MCToast : ObjectiveC.NSObject {
+ @objc deinit
+}
+extension DCUniToast.MCToast {
+ public typealias MCToastCallback = () -> Swift.Void
+ public enum MCToastRespond {
+ case `default`
+ case noRespond
+ case respond
+ case navBarRespond
+ public static func == (a: DCUniToast.MCToast.MCToastRespond, b: DCUniToast.MCToast.MCToastRespond) -> Swift.Bool
+ public func hash(into hasher: inout Swift.Hasher)
+ public var hashValue: Swift.Int {
+ get
+ }
+ }
+}
+extension DCUniToast.MCToast {
+ public static func colorWithSystemStyle(_ darkColor: UIKit.UIColor, _ defaultColor: UIKit.UIColor) -> UIKit.UIColor
+}
+extension DCUniToast.MCToast {
+ public enum MCToastType {
+ case success
+ case failure
+ case warning
+ public static func == (a: DCUniToast.MCToast.MCToastType, b: DCUniToast.MCToast.MCToastType) -> Swift.Bool
+ public func hash(into hasher: inout Swift.Hasher)
+ public var hashValue: Swift.Int {
+ get
+ }
+ }
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_success(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_failure(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_warning(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_success(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_failure(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_warning(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ @discardableResult
+ public static func showStatus(_ type: DCUniToast.MCToast.MCToastType?, text: Swift.String, iconImage: UIKit.UIImage?, duration: CoreGraphics.CGFloat, respond: DCUniToast.MCToast.MCToastRespond, callback: DCUniToast.MCToast.MCToastCallback? = nil) -> (imageView: UIKit.UIImageView, label: UIKit.UILabel)
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_statusBar(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, font: UIKit.UIFont = MCToastConfig.shared.text.font, backgroundColor: UIKit.UIColor? = nil, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_statusBar(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, font: UIKit.UIFont = MCToastConfig.shared.text.font, backgroundColor: UIKit.UIColor? = nil, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+@objc @_inheritsConvenienceInitializers public class MCToastConfig : ObjectiveC.NSObject {
+ public static let shared: DCUniToast.MCToastConfig
+ public var respond: DCUniToast.MCToast.MCToastRespond
+ public var background: DCUniToast.MCToastConfig.Background
+ public var icon: DCUniToast.MCToastConfig.Icon
+ public var text: DCUniToast.MCToastConfig.Text
+ public var spacing: DCUniToast.MCToastConfig.MainAreaSpacing
+ public var duration: CoreGraphics.CGFloat
+ @objc override dynamic public init()
+ @objc deinit
+}
+extension DCUniToast.MCToastConfig {
+ public struct Background {
+ public var color: UIKit.UIColor
+ public var size: CoreGraphics.CGSize
+ }
+ public struct Icon {
+ public var size: CoreGraphics.CGSize
+ public var successImage: UIKit.UIImage?
+ public var failureImage: UIKit.UIImage?
+ public var warningImage: UIKit.UIImage?
+ }
+ public struct Text {
+ public var textColor: UIKit.UIColor?
+ public var font: UIKit.UIFont
+ public var offset: (CoreGraphics.CGFloat)
+ }
+ public struct MainAreaSpacing {
+ public var margin: CoreGraphics.CGFloat
+ public var padding: CoreGraphics.CGFloat
+ }
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_loading(text: Swift.String = "正在加载中", duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_loading(imageNames: [UIKit.UIImage?], animationSpeed: CoreGraphics.CGFloat = 0.1, duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_loading(text: Swift.String = "正在加载中", duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_loading(imageNames: [UIKit.UIImage?], animationSpeed: CoreGraphics.CGFloat = 0.1, duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast.MCToastRespond : Swift.Equatable {}
+extension DCUniToast.MCToast.MCToastRespond : Swift.Hashable {}
+extension DCUniToast.MCToast.MCToastType : Swift.Equatable {}
+extension DCUniToast.MCToast.MCToastType : Swift.Hashable {}
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm.swiftmodule b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm.swiftmodule
new file mode 100644
index 0000000000000000000000000000000000000000..e638821ba89eda4be54861a61390a1ff627ea2dc
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm.swiftmodule differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm64-apple-ios.swiftdoc b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm64-apple-ios.swiftdoc
new file mode 100644
index 0000000000000000000000000000000000000000..1816fbce7a2872a488e166b183b7ecbed4024552
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm64-apple-ios.swiftdoc differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm64-apple-ios.swiftinterface b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm64-apple-ios.swiftinterface
new file mode 100644
index 0000000000000000000000000000000000000000..edcea5985c8565b18b4e6befb4fb53405f8f7595
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm64-apple-ios.swiftinterface
@@ -0,0 +1,116 @@
+// swift-interface-format-version: 1.0
+// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
+// swift-module-flags: -target arm64-apple-ios9.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name DCUniToast
+@_exported import DCUniToast
+import Foundation
+import Swift
+import UIKit
+import _Concurrency
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_text(_ text: Swift.String, offset: CoreGraphics.CGFloat? = nil, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_text(_ text: Swift.String, offset: CoreGraphics.CGFloat? = nil, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_remove(callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_remove(callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MCToast : ObjectiveC.NSObject {
+ @objc deinit
+}
+extension DCUniToast.MCToast {
+ public typealias MCToastCallback = () -> Swift.Void
+ public enum MCToastRespond {
+ case `default`
+ case noRespond
+ case respond
+ case navBarRespond
+ public static func == (a: DCUniToast.MCToast.MCToastRespond, b: DCUniToast.MCToast.MCToastRespond) -> Swift.Bool
+ public func hash(into hasher: inout Swift.Hasher)
+ public var hashValue: Swift.Int {
+ get
+ }
+ }
+}
+extension DCUniToast.MCToast {
+ public static func colorWithSystemStyle(_ darkColor: UIKit.UIColor, _ defaultColor: UIKit.UIColor) -> UIKit.UIColor
+}
+extension DCUniToast.MCToast {
+ public enum MCToastType {
+ case success
+ case failure
+ case warning
+ public static func == (a: DCUniToast.MCToast.MCToastType, b: DCUniToast.MCToast.MCToastType) -> Swift.Bool
+ public func hash(into hasher: inout Swift.Hasher)
+ public var hashValue: Swift.Int {
+ get
+ }
+ }
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_success(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_failure(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_warning(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_success(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_failure(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_warning(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ @discardableResult
+ public static func showStatus(_ type: DCUniToast.MCToast.MCToastType?, text: Swift.String, iconImage: UIKit.UIImage?, duration: CoreGraphics.CGFloat, respond: DCUniToast.MCToast.MCToastRespond, callback: DCUniToast.MCToast.MCToastCallback? = nil) -> (imageView: UIKit.UIImageView, label: UIKit.UILabel)
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_statusBar(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, font: UIKit.UIFont = MCToastConfig.shared.text.font, backgroundColor: UIKit.UIColor? = nil, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_statusBar(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, font: UIKit.UIFont = MCToastConfig.shared.text.font, backgroundColor: UIKit.UIColor? = nil, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+@objc @_inheritsConvenienceInitializers public class MCToastConfig : ObjectiveC.NSObject {
+ public static let shared: DCUniToast.MCToastConfig
+ public var respond: DCUniToast.MCToast.MCToastRespond
+ public var background: DCUniToast.MCToastConfig.Background
+ public var icon: DCUniToast.MCToastConfig.Icon
+ public var text: DCUniToast.MCToastConfig.Text
+ public var spacing: DCUniToast.MCToastConfig.MainAreaSpacing
+ public var duration: CoreGraphics.CGFloat
+ @objc override dynamic public init()
+ @objc deinit
+}
+extension DCUniToast.MCToastConfig {
+ public struct Background {
+ public var color: UIKit.UIColor
+ public var size: CoreGraphics.CGSize
+ }
+ public struct Icon {
+ public var size: CoreGraphics.CGSize
+ public var successImage: UIKit.UIImage?
+ public var failureImage: UIKit.UIImage?
+ public var warningImage: UIKit.UIImage?
+ }
+ public struct Text {
+ public var textColor: UIKit.UIColor?
+ public var font: UIKit.UIFont
+ public var offset: (CoreGraphics.CGFloat)
+ }
+ public struct MainAreaSpacing {
+ public var margin: CoreGraphics.CGFloat
+ public var padding: CoreGraphics.CGFloat
+ }
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_loading(text: Swift.String = "正在加载中", duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_loading(imageNames: [UIKit.UIImage?], animationSpeed: CoreGraphics.CGFloat = 0.1, duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_loading(text: Swift.String = "正在加载中", duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_loading(imageNames: [UIKit.UIImage?], animationSpeed: CoreGraphics.CGFloat = 0.1, duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast.MCToastRespond : Swift.Equatable {}
+extension DCUniToast.MCToast.MCToastRespond : Swift.Hashable {}
+extension DCUniToast.MCToast.MCToastType : Swift.Equatable {}
+extension DCUniToast.MCToast.MCToastType : Swift.Hashable {}
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm64-apple-ios.swiftmodule b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm64-apple-ios.swiftmodule
new file mode 100644
index 0000000000000000000000000000000000000000..d5c77836065b88a4ef205d297545a235df916cb6
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm64-apple-ios.swiftmodule differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm64.swiftdoc b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm64.swiftdoc
new file mode 100644
index 0000000000000000000000000000000000000000..1816fbce7a2872a488e166b183b7ecbed4024552
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm64.swiftdoc differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm64.swiftinterface b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm64.swiftinterface
new file mode 100644
index 0000000000000000000000000000000000000000..edcea5985c8565b18b4e6befb4fb53405f8f7595
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm64.swiftinterface
@@ -0,0 +1,116 @@
+// swift-interface-format-version: 1.0
+// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
+// swift-module-flags: -target arm64-apple-ios9.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name DCUniToast
+@_exported import DCUniToast
+import Foundation
+import Swift
+import UIKit
+import _Concurrency
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_text(_ text: Swift.String, offset: CoreGraphics.CGFloat? = nil, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_text(_ text: Swift.String, offset: CoreGraphics.CGFloat? = nil, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_remove(callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_remove(callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MCToast : ObjectiveC.NSObject {
+ @objc deinit
+}
+extension DCUniToast.MCToast {
+ public typealias MCToastCallback = () -> Swift.Void
+ public enum MCToastRespond {
+ case `default`
+ case noRespond
+ case respond
+ case navBarRespond
+ public static func == (a: DCUniToast.MCToast.MCToastRespond, b: DCUniToast.MCToast.MCToastRespond) -> Swift.Bool
+ public func hash(into hasher: inout Swift.Hasher)
+ public var hashValue: Swift.Int {
+ get
+ }
+ }
+}
+extension DCUniToast.MCToast {
+ public static func colorWithSystemStyle(_ darkColor: UIKit.UIColor, _ defaultColor: UIKit.UIColor) -> UIKit.UIColor
+}
+extension DCUniToast.MCToast {
+ public enum MCToastType {
+ case success
+ case failure
+ case warning
+ public static func == (a: DCUniToast.MCToast.MCToastType, b: DCUniToast.MCToast.MCToastType) -> Swift.Bool
+ public func hash(into hasher: inout Swift.Hasher)
+ public var hashValue: Swift.Int {
+ get
+ }
+ }
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_success(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_failure(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_warning(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_success(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_failure(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_warning(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ @discardableResult
+ public static func showStatus(_ type: DCUniToast.MCToast.MCToastType?, text: Swift.String, iconImage: UIKit.UIImage?, duration: CoreGraphics.CGFloat, respond: DCUniToast.MCToast.MCToastRespond, callback: DCUniToast.MCToast.MCToastCallback? = nil) -> (imageView: UIKit.UIImageView, label: UIKit.UILabel)
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_statusBar(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, font: UIKit.UIFont = MCToastConfig.shared.text.font, backgroundColor: UIKit.UIColor? = nil, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_statusBar(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, font: UIKit.UIFont = MCToastConfig.shared.text.font, backgroundColor: UIKit.UIColor? = nil, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+@objc @_inheritsConvenienceInitializers public class MCToastConfig : ObjectiveC.NSObject {
+ public static let shared: DCUniToast.MCToastConfig
+ public var respond: DCUniToast.MCToast.MCToastRespond
+ public var background: DCUniToast.MCToastConfig.Background
+ public var icon: DCUniToast.MCToastConfig.Icon
+ public var text: DCUniToast.MCToastConfig.Text
+ public var spacing: DCUniToast.MCToastConfig.MainAreaSpacing
+ public var duration: CoreGraphics.CGFloat
+ @objc override dynamic public init()
+ @objc deinit
+}
+extension DCUniToast.MCToastConfig {
+ public struct Background {
+ public var color: UIKit.UIColor
+ public var size: CoreGraphics.CGSize
+ }
+ public struct Icon {
+ public var size: CoreGraphics.CGSize
+ public var successImage: UIKit.UIImage?
+ public var failureImage: UIKit.UIImage?
+ public var warningImage: UIKit.UIImage?
+ }
+ public struct Text {
+ public var textColor: UIKit.UIColor?
+ public var font: UIKit.UIFont
+ public var offset: (CoreGraphics.CGFloat)
+ }
+ public struct MainAreaSpacing {
+ public var margin: CoreGraphics.CGFloat
+ public var padding: CoreGraphics.CGFloat
+ }
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_loading(text: Swift.String = "正在加载中", duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_loading(imageNames: [UIKit.UIImage?], animationSpeed: CoreGraphics.CGFloat = 0.1, duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_loading(text: Swift.String = "正在加载中", duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_loading(imageNames: [UIKit.UIImage?], animationSpeed: CoreGraphics.CGFloat = 0.1, duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast.MCToastRespond : Swift.Equatable {}
+extension DCUniToast.MCToast.MCToastRespond : Swift.Hashable {}
+extension DCUniToast.MCToast.MCToastType : Swift.Equatable {}
+extension DCUniToast.MCToast.MCToastType : Swift.Hashable {}
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm64.swiftmodule b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm64.swiftmodule
new file mode 100644
index 0000000000000000000000000000000000000000..d5c77836065b88a4ef205d297545a235df916cb6
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/arm64.swiftmodule differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/armv7-apple-ios.swiftdoc b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/armv7-apple-ios.swiftdoc
new file mode 100644
index 0000000000000000000000000000000000000000..0d07be0079df2ef04468fe1340df7b409396ac95
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/armv7-apple-ios.swiftdoc differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/armv7-apple-ios.swiftinterface b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/armv7-apple-ios.swiftinterface
new file mode 100644
index 0000000000000000000000000000000000000000..bff0c4bb9e66f10bc382492a46e69ccefe1dda57
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/armv7-apple-ios.swiftinterface
@@ -0,0 +1,116 @@
+// swift-interface-format-version: 1.0
+// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
+// swift-module-flags: -target armv7-apple-ios9.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name DCUniToast
+@_exported import DCUniToast
+import Foundation
+import Swift
+import UIKit
+import _Concurrency
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_text(_ text: Swift.String, offset: CoreGraphics.CGFloat? = nil, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_text(_ text: Swift.String, offset: CoreGraphics.CGFloat? = nil, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_remove(callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_remove(callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MCToast : ObjectiveC.NSObject {
+ @objc deinit
+}
+extension DCUniToast.MCToast {
+ public typealias MCToastCallback = () -> Swift.Void
+ public enum MCToastRespond {
+ case `default`
+ case noRespond
+ case respond
+ case navBarRespond
+ public static func == (a: DCUniToast.MCToast.MCToastRespond, b: DCUniToast.MCToast.MCToastRespond) -> Swift.Bool
+ public func hash(into hasher: inout Swift.Hasher)
+ public var hashValue: Swift.Int {
+ get
+ }
+ }
+}
+extension DCUniToast.MCToast {
+ public static func colorWithSystemStyle(_ darkColor: UIKit.UIColor, _ defaultColor: UIKit.UIColor) -> UIKit.UIColor
+}
+extension DCUniToast.MCToast {
+ public enum MCToastType {
+ case success
+ case failure
+ case warning
+ public static func == (a: DCUniToast.MCToast.MCToastType, b: DCUniToast.MCToast.MCToastType) -> Swift.Bool
+ public func hash(into hasher: inout Swift.Hasher)
+ public var hashValue: Swift.Int {
+ get
+ }
+ }
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_success(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_failure(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_warning(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_success(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_failure(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_warning(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ @discardableResult
+ public static func showStatus(_ type: DCUniToast.MCToast.MCToastType?, text: Swift.String, iconImage: UIKit.UIImage?, duration: CoreGraphics.CGFloat, respond: DCUniToast.MCToast.MCToastRespond, callback: DCUniToast.MCToast.MCToastCallback? = nil) -> (imageView: UIKit.UIImageView, label: UIKit.UILabel)
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_statusBar(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, font: UIKit.UIFont = MCToastConfig.shared.text.font, backgroundColor: UIKit.UIColor? = nil, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_statusBar(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, font: UIKit.UIFont = MCToastConfig.shared.text.font, backgroundColor: UIKit.UIColor? = nil, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+@objc @_inheritsConvenienceInitializers public class MCToastConfig : ObjectiveC.NSObject {
+ public static let shared: DCUniToast.MCToastConfig
+ public var respond: DCUniToast.MCToast.MCToastRespond
+ public var background: DCUniToast.MCToastConfig.Background
+ public var icon: DCUniToast.MCToastConfig.Icon
+ public var text: DCUniToast.MCToastConfig.Text
+ public var spacing: DCUniToast.MCToastConfig.MainAreaSpacing
+ public var duration: CoreGraphics.CGFloat
+ @objc override dynamic public init()
+ @objc deinit
+}
+extension DCUniToast.MCToastConfig {
+ public struct Background {
+ public var color: UIKit.UIColor
+ public var size: CoreGraphics.CGSize
+ }
+ public struct Icon {
+ public var size: CoreGraphics.CGSize
+ public var successImage: UIKit.UIImage?
+ public var failureImage: UIKit.UIImage?
+ public var warningImage: UIKit.UIImage?
+ }
+ public struct Text {
+ public var textColor: UIKit.UIColor?
+ public var font: UIKit.UIFont
+ public var offset: (CoreGraphics.CGFloat)
+ }
+ public struct MainAreaSpacing {
+ public var margin: CoreGraphics.CGFloat
+ public var padding: CoreGraphics.CGFloat
+ }
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_loading(text: Swift.String = "正在加载中", duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_loading(imageNames: [UIKit.UIImage?], animationSpeed: CoreGraphics.CGFloat = 0.1, duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_loading(text: Swift.String = "正在加载中", duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_loading(imageNames: [UIKit.UIImage?], animationSpeed: CoreGraphics.CGFloat = 0.1, duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast.MCToastRespond : Swift.Equatable {}
+extension DCUniToast.MCToast.MCToastRespond : Swift.Hashable {}
+extension DCUniToast.MCToast.MCToastType : Swift.Equatable {}
+extension DCUniToast.MCToast.MCToastType : Swift.Hashable {}
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/armv7-apple-ios.swiftmodule b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/armv7-apple-ios.swiftmodule
new file mode 100644
index 0000000000000000000000000000000000000000..e638821ba89eda4be54861a61390a1ff627ea2dc
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/armv7-apple-ios.swiftmodule differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/armv7.swiftdoc b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/armv7.swiftdoc
new file mode 100644
index 0000000000000000000000000000000000000000..0d07be0079df2ef04468fe1340df7b409396ac95
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/armv7.swiftdoc differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/armv7.swiftinterface b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/armv7.swiftinterface
new file mode 100644
index 0000000000000000000000000000000000000000..bff0c4bb9e66f10bc382492a46e69ccefe1dda57
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/armv7.swiftinterface
@@ -0,0 +1,116 @@
+// swift-interface-format-version: 1.0
+// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
+// swift-module-flags: -target armv7-apple-ios9.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name DCUniToast
+@_exported import DCUniToast
+import Foundation
+import Swift
+import UIKit
+import _Concurrency
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_text(_ text: Swift.String, offset: CoreGraphics.CGFloat? = nil, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_text(_ text: Swift.String, offset: CoreGraphics.CGFloat? = nil, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_remove(callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_remove(callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MCToast : ObjectiveC.NSObject {
+ @objc deinit
+}
+extension DCUniToast.MCToast {
+ public typealias MCToastCallback = () -> Swift.Void
+ public enum MCToastRespond {
+ case `default`
+ case noRespond
+ case respond
+ case navBarRespond
+ public static func == (a: DCUniToast.MCToast.MCToastRespond, b: DCUniToast.MCToast.MCToastRespond) -> Swift.Bool
+ public func hash(into hasher: inout Swift.Hasher)
+ public var hashValue: Swift.Int {
+ get
+ }
+ }
+}
+extension DCUniToast.MCToast {
+ public static func colorWithSystemStyle(_ darkColor: UIKit.UIColor, _ defaultColor: UIKit.UIColor) -> UIKit.UIColor
+}
+extension DCUniToast.MCToast {
+ public enum MCToastType {
+ case success
+ case failure
+ case warning
+ public static func == (a: DCUniToast.MCToast.MCToastType, b: DCUniToast.MCToast.MCToastType) -> Swift.Bool
+ public func hash(into hasher: inout Swift.Hasher)
+ public var hashValue: Swift.Int {
+ get
+ }
+ }
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_success(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_failure(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_warning(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_success(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_failure(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_warning(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ @discardableResult
+ public static func showStatus(_ type: DCUniToast.MCToast.MCToastType?, text: Swift.String, iconImage: UIKit.UIImage?, duration: CoreGraphics.CGFloat, respond: DCUniToast.MCToast.MCToastRespond, callback: DCUniToast.MCToast.MCToastCallback? = nil) -> (imageView: UIKit.UIImageView, label: UIKit.UILabel)
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_statusBar(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, font: UIKit.UIFont = MCToastConfig.shared.text.font, backgroundColor: UIKit.UIColor? = nil, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_statusBar(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, font: UIKit.UIFont = MCToastConfig.shared.text.font, backgroundColor: UIKit.UIColor? = nil, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+@objc @_inheritsConvenienceInitializers public class MCToastConfig : ObjectiveC.NSObject {
+ public static let shared: DCUniToast.MCToastConfig
+ public var respond: DCUniToast.MCToast.MCToastRespond
+ public var background: DCUniToast.MCToastConfig.Background
+ public var icon: DCUniToast.MCToastConfig.Icon
+ public var text: DCUniToast.MCToastConfig.Text
+ public var spacing: DCUniToast.MCToastConfig.MainAreaSpacing
+ public var duration: CoreGraphics.CGFloat
+ @objc override dynamic public init()
+ @objc deinit
+}
+extension DCUniToast.MCToastConfig {
+ public struct Background {
+ public var color: UIKit.UIColor
+ public var size: CoreGraphics.CGSize
+ }
+ public struct Icon {
+ public var size: CoreGraphics.CGSize
+ public var successImage: UIKit.UIImage?
+ public var failureImage: UIKit.UIImage?
+ public var warningImage: UIKit.UIImage?
+ }
+ public struct Text {
+ public var textColor: UIKit.UIColor?
+ public var font: UIKit.UIFont
+ public var offset: (CoreGraphics.CGFloat)
+ }
+ public struct MainAreaSpacing {
+ public var margin: CoreGraphics.CGFloat
+ public var padding: CoreGraphics.CGFloat
+ }
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_loading(text: Swift.String = "正在加载中", duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_loading(imageNames: [UIKit.UIImage?], animationSpeed: CoreGraphics.CGFloat = 0.1, duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_loading(text: Swift.String = "正在加载中", duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_loading(imageNames: [UIKit.UIImage?], animationSpeed: CoreGraphics.CGFloat = 0.1, duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast.MCToastRespond : Swift.Equatable {}
+extension DCUniToast.MCToast.MCToastRespond : Swift.Hashable {}
+extension DCUniToast.MCToast.MCToastType : Swift.Equatable {}
+extension DCUniToast.MCToast.MCToastType : Swift.Hashable {}
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/armv7.swiftmodule b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/armv7.swiftmodule
new file mode 100644
index 0000000000000000000000000000000000000000..e638821ba89eda4be54861a61390a1ff627ea2dc
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/armv7.swiftmodule differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/i386-apple-ios-simulator.swiftdoc b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/i386-apple-ios-simulator.swiftdoc
new file mode 100644
index 0000000000000000000000000000000000000000..e138c1b8d25f1170286446bec64b6c91614d743c
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/i386-apple-ios-simulator.swiftdoc differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/i386-apple-ios-simulator.swiftinterface b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/i386-apple-ios-simulator.swiftinterface
new file mode 100644
index 0000000000000000000000000000000000000000..8d93113eec2cf9d14f361707f71a0a7e755b906b
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/i386-apple-ios-simulator.swiftinterface
@@ -0,0 +1,116 @@
+// swift-interface-format-version: 1.0
+// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
+// swift-module-flags: -target i386-apple-ios9.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name DCUniToast
+@_exported import DCUniToast
+import Foundation
+import Swift
+import UIKit
+import _Concurrency
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_text(_ text: Swift.String, offset: CoreGraphics.CGFloat? = nil, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_text(_ text: Swift.String, offset: CoreGraphics.CGFloat? = nil, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_remove(callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_remove(callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MCToast : ObjectiveC.NSObject {
+ @objc deinit
+}
+extension DCUniToast.MCToast {
+ public typealias MCToastCallback = () -> Swift.Void
+ public enum MCToastRespond {
+ case `default`
+ case noRespond
+ case respond
+ case navBarRespond
+ public static func == (a: DCUniToast.MCToast.MCToastRespond, b: DCUniToast.MCToast.MCToastRespond) -> Swift.Bool
+ public func hash(into hasher: inout Swift.Hasher)
+ public var hashValue: Swift.Int {
+ get
+ }
+ }
+}
+extension DCUniToast.MCToast {
+ public static func colorWithSystemStyle(_ darkColor: UIKit.UIColor, _ defaultColor: UIKit.UIColor) -> UIKit.UIColor
+}
+extension DCUniToast.MCToast {
+ public enum MCToastType {
+ case success
+ case failure
+ case warning
+ public static func == (a: DCUniToast.MCToast.MCToastType, b: DCUniToast.MCToast.MCToastType) -> Swift.Bool
+ public func hash(into hasher: inout Swift.Hasher)
+ public var hashValue: Swift.Int {
+ get
+ }
+ }
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_success(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_failure(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_warning(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_success(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_failure(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_warning(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ @discardableResult
+ public static func showStatus(_ type: DCUniToast.MCToast.MCToastType?, text: Swift.String, iconImage: UIKit.UIImage?, duration: CoreGraphics.CGFloat, respond: DCUniToast.MCToast.MCToastRespond, callback: DCUniToast.MCToast.MCToastCallback? = nil) -> (imageView: UIKit.UIImageView, label: UIKit.UILabel)
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_statusBar(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, font: UIKit.UIFont = MCToastConfig.shared.text.font, backgroundColor: UIKit.UIColor? = nil, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_statusBar(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, font: UIKit.UIFont = MCToastConfig.shared.text.font, backgroundColor: UIKit.UIColor? = nil, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+@objc @_inheritsConvenienceInitializers public class MCToastConfig : ObjectiveC.NSObject {
+ public static let shared: DCUniToast.MCToastConfig
+ public var respond: DCUniToast.MCToast.MCToastRespond
+ public var background: DCUniToast.MCToastConfig.Background
+ public var icon: DCUniToast.MCToastConfig.Icon
+ public var text: DCUniToast.MCToastConfig.Text
+ public var spacing: DCUniToast.MCToastConfig.MainAreaSpacing
+ public var duration: CoreGraphics.CGFloat
+ @objc override dynamic public init()
+ @objc deinit
+}
+extension DCUniToast.MCToastConfig {
+ public struct Background {
+ public var color: UIKit.UIColor
+ public var size: CoreGraphics.CGSize
+ }
+ public struct Icon {
+ public var size: CoreGraphics.CGSize
+ public var successImage: UIKit.UIImage?
+ public var failureImage: UIKit.UIImage?
+ public var warningImage: UIKit.UIImage?
+ }
+ public struct Text {
+ public var textColor: UIKit.UIColor?
+ public var font: UIKit.UIFont
+ public var offset: (CoreGraphics.CGFloat)
+ }
+ public struct MainAreaSpacing {
+ public var margin: CoreGraphics.CGFloat
+ public var padding: CoreGraphics.CGFloat
+ }
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_loading(text: Swift.String = "正在加载中", duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_loading(imageNames: [UIKit.UIImage?], animationSpeed: CoreGraphics.CGFloat = 0.1, duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_loading(text: Swift.String = "正在加载中", duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_loading(imageNames: [UIKit.UIImage?], animationSpeed: CoreGraphics.CGFloat = 0.1, duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast.MCToastRespond : Swift.Equatable {}
+extension DCUniToast.MCToast.MCToastRespond : Swift.Hashable {}
+extension DCUniToast.MCToast.MCToastType : Swift.Equatable {}
+extension DCUniToast.MCToast.MCToastType : Swift.Hashable {}
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/i386-apple-ios-simulator.swiftmodule b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/i386-apple-ios-simulator.swiftmodule
new file mode 100644
index 0000000000000000000000000000000000000000..e39d0c8d9971cb9a6015726337e88495fcf66f9a
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/i386-apple-ios-simulator.swiftmodule differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/i386.swiftdoc b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/i386.swiftdoc
new file mode 100644
index 0000000000000000000000000000000000000000..e138c1b8d25f1170286446bec64b6c91614d743c
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/i386.swiftdoc differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/i386.swiftinterface b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/i386.swiftinterface
new file mode 100644
index 0000000000000000000000000000000000000000..8d93113eec2cf9d14f361707f71a0a7e755b906b
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/i386.swiftinterface
@@ -0,0 +1,116 @@
+// swift-interface-format-version: 1.0
+// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
+// swift-module-flags: -target i386-apple-ios9.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name DCUniToast
+@_exported import DCUniToast
+import Foundation
+import Swift
+import UIKit
+import _Concurrency
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_text(_ text: Swift.String, offset: CoreGraphics.CGFloat? = nil, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_text(_ text: Swift.String, offset: CoreGraphics.CGFloat? = nil, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_remove(callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_remove(callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MCToast : ObjectiveC.NSObject {
+ @objc deinit
+}
+extension DCUniToast.MCToast {
+ public typealias MCToastCallback = () -> Swift.Void
+ public enum MCToastRespond {
+ case `default`
+ case noRespond
+ case respond
+ case navBarRespond
+ public static func == (a: DCUniToast.MCToast.MCToastRespond, b: DCUniToast.MCToast.MCToastRespond) -> Swift.Bool
+ public func hash(into hasher: inout Swift.Hasher)
+ public var hashValue: Swift.Int {
+ get
+ }
+ }
+}
+extension DCUniToast.MCToast {
+ public static func colorWithSystemStyle(_ darkColor: UIKit.UIColor, _ defaultColor: UIKit.UIColor) -> UIKit.UIColor
+}
+extension DCUniToast.MCToast {
+ public enum MCToastType {
+ case success
+ case failure
+ case warning
+ public static func == (a: DCUniToast.MCToast.MCToastType, b: DCUniToast.MCToast.MCToastType) -> Swift.Bool
+ public func hash(into hasher: inout Swift.Hasher)
+ public var hashValue: Swift.Int {
+ get
+ }
+ }
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_success(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_failure(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_warning(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_success(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_failure(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_warning(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ @discardableResult
+ public static func showStatus(_ type: DCUniToast.MCToast.MCToastType?, text: Swift.String, iconImage: UIKit.UIImage?, duration: CoreGraphics.CGFloat, respond: DCUniToast.MCToast.MCToastRespond, callback: DCUniToast.MCToast.MCToastCallback? = nil) -> (imageView: UIKit.UIImageView, label: UIKit.UILabel)
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_statusBar(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, font: UIKit.UIFont = MCToastConfig.shared.text.font, backgroundColor: UIKit.UIColor? = nil, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_statusBar(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, font: UIKit.UIFont = MCToastConfig.shared.text.font, backgroundColor: UIKit.UIColor? = nil, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+@objc @_inheritsConvenienceInitializers public class MCToastConfig : ObjectiveC.NSObject {
+ public static let shared: DCUniToast.MCToastConfig
+ public var respond: DCUniToast.MCToast.MCToastRespond
+ public var background: DCUniToast.MCToastConfig.Background
+ public var icon: DCUniToast.MCToastConfig.Icon
+ public var text: DCUniToast.MCToastConfig.Text
+ public var spacing: DCUniToast.MCToastConfig.MainAreaSpacing
+ public var duration: CoreGraphics.CGFloat
+ @objc override dynamic public init()
+ @objc deinit
+}
+extension DCUniToast.MCToastConfig {
+ public struct Background {
+ public var color: UIKit.UIColor
+ public var size: CoreGraphics.CGSize
+ }
+ public struct Icon {
+ public var size: CoreGraphics.CGSize
+ public var successImage: UIKit.UIImage?
+ public var failureImage: UIKit.UIImage?
+ public var warningImage: UIKit.UIImage?
+ }
+ public struct Text {
+ public var textColor: UIKit.UIColor?
+ public var font: UIKit.UIFont
+ public var offset: (CoreGraphics.CGFloat)
+ }
+ public struct MainAreaSpacing {
+ public var margin: CoreGraphics.CGFloat
+ public var padding: CoreGraphics.CGFloat
+ }
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_loading(text: Swift.String = "正在加载中", duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_loading(imageNames: [UIKit.UIImage?], animationSpeed: CoreGraphics.CGFloat = 0.1, duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_loading(text: Swift.String = "正在加载中", duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_loading(imageNames: [UIKit.UIImage?], animationSpeed: CoreGraphics.CGFloat = 0.1, duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast.MCToastRespond : Swift.Equatable {}
+extension DCUniToast.MCToast.MCToastRespond : Swift.Hashable {}
+extension DCUniToast.MCToast.MCToastType : Swift.Equatable {}
+extension DCUniToast.MCToast.MCToastType : Swift.Hashable {}
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/i386.swiftmodule b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/i386.swiftmodule
new file mode 100644
index 0000000000000000000000000000000000000000..e39d0c8d9971cb9a6015726337e88495fcf66f9a
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/i386.swiftmodule differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/x86_64-apple-ios-simulator.swiftdoc
new file mode 100644
index 0000000000000000000000000000000000000000..61cbae316f698adc3b70da072d26a8fe68edf2e7
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/x86_64-apple-ios-simulator.swiftinterface
new file mode 100644
index 0000000000000000000000000000000000000000..536fd1dcf533bc7ca95ed70f859a6f1b0b6bf778
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/x86_64-apple-ios-simulator.swiftinterface
@@ -0,0 +1,116 @@
+// swift-interface-format-version: 1.0
+// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
+// swift-module-flags: -target x86_64-apple-ios9.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name DCUniToast
+@_exported import DCUniToast
+import Foundation
+import Swift
+import UIKit
+import _Concurrency
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_text(_ text: Swift.String, offset: CoreGraphics.CGFloat? = nil, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_text(_ text: Swift.String, offset: CoreGraphics.CGFloat? = nil, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_remove(callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_remove(callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MCToast : ObjectiveC.NSObject {
+ @objc deinit
+}
+extension DCUniToast.MCToast {
+ public typealias MCToastCallback = () -> Swift.Void
+ public enum MCToastRespond {
+ case `default`
+ case noRespond
+ case respond
+ case navBarRespond
+ public static func == (a: DCUniToast.MCToast.MCToastRespond, b: DCUniToast.MCToast.MCToastRespond) -> Swift.Bool
+ public func hash(into hasher: inout Swift.Hasher)
+ public var hashValue: Swift.Int {
+ get
+ }
+ }
+}
+extension DCUniToast.MCToast {
+ public static func colorWithSystemStyle(_ darkColor: UIKit.UIColor, _ defaultColor: UIKit.UIColor) -> UIKit.UIColor
+}
+extension DCUniToast.MCToast {
+ public enum MCToastType {
+ case success
+ case failure
+ case warning
+ public static func == (a: DCUniToast.MCToast.MCToastType, b: DCUniToast.MCToast.MCToastType) -> Swift.Bool
+ public func hash(into hasher: inout Swift.Hasher)
+ public var hashValue: Swift.Int {
+ get
+ }
+ }
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_success(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_failure(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_warning(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_success(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_failure(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_warning(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ @discardableResult
+ public static func showStatus(_ type: DCUniToast.MCToast.MCToastType?, text: Swift.String, iconImage: UIKit.UIImage?, duration: CoreGraphics.CGFloat, respond: DCUniToast.MCToast.MCToastRespond, callback: DCUniToast.MCToast.MCToastCallback? = nil) -> (imageView: UIKit.UIImageView, label: UIKit.UILabel)
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_statusBar(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, font: UIKit.UIFont = MCToastConfig.shared.text.font, backgroundColor: UIKit.UIColor? = nil, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_statusBar(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, font: UIKit.UIFont = MCToastConfig.shared.text.font, backgroundColor: UIKit.UIColor? = nil, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+@objc @_inheritsConvenienceInitializers public class MCToastConfig : ObjectiveC.NSObject {
+ public static let shared: DCUniToast.MCToastConfig
+ public var respond: DCUniToast.MCToast.MCToastRespond
+ public var background: DCUniToast.MCToastConfig.Background
+ public var icon: DCUniToast.MCToastConfig.Icon
+ public var text: DCUniToast.MCToastConfig.Text
+ public var spacing: DCUniToast.MCToastConfig.MainAreaSpacing
+ public var duration: CoreGraphics.CGFloat
+ @objc override dynamic public init()
+ @objc deinit
+}
+extension DCUniToast.MCToastConfig {
+ public struct Background {
+ public var color: UIKit.UIColor
+ public var size: CoreGraphics.CGSize
+ }
+ public struct Icon {
+ public var size: CoreGraphics.CGSize
+ public var successImage: UIKit.UIImage?
+ public var failureImage: UIKit.UIImage?
+ public var warningImage: UIKit.UIImage?
+ }
+ public struct Text {
+ public var textColor: UIKit.UIColor?
+ public var font: UIKit.UIFont
+ public var offset: (CoreGraphics.CGFloat)
+ }
+ public struct MainAreaSpacing {
+ public var margin: CoreGraphics.CGFloat
+ public var padding: CoreGraphics.CGFloat
+ }
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_loading(text: Swift.String = "正在加载中", duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_loading(imageNames: [UIKit.UIImage?], animationSpeed: CoreGraphics.CGFloat = 0.1, duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_loading(text: Swift.String = "正在加载中", duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_loading(imageNames: [UIKit.UIImage?], animationSpeed: CoreGraphics.CGFloat = 0.1, duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast.MCToastRespond : Swift.Equatable {}
+extension DCUniToast.MCToast.MCToastRespond : Swift.Hashable {}
+extension DCUniToast.MCToast.MCToastType : Swift.Equatable {}
+extension DCUniToast.MCToast.MCToastType : Swift.Hashable {}
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/x86_64-apple-ios-simulator.swiftmodule b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
new file mode 100644
index 0000000000000000000000000000000000000000..fe0f33e19c5982b292e2ceb04595b47adb0f0787
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/x86_64-apple-ios-simulator.swiftmodule differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/x86_64.swiftdoc b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/x86_64.swiftdoc
new file mode 100644
index 0000000000000000000000000000000000000000..61cbae316f698adc3b70da072d26a8fe68edf2e7
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/x86_64.swiftdoc differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/x86_64.swiftinterface b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/x86_64.swiftinterface
new file mode 100644
index 0000000000000000000000000000000000000000..536fd1dcf533bc7ca95ed70f859a6f1b0b6bf778
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/x86_64.swiftinterface
@@ -0,0 +1,116 @@
+// swift-interface-format-version: 1.0
+// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
+// swift-module-flags: -target x86_64-apple-ios9.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name DCUniToast
+@_exported import DCUniToast
+import Foundation
+import Swift
+import UIKit
+import _Concurrency
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_text(_ text: Swift.String, offset: CoreGraphics.CGFloat? = nil, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_text(_ text: Swift.String, offset: CoreGraphics.CGFloat? = nil, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_remove(callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_remove(callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MCToast : ObjectiveC.NSObject {
+ @objc deinit
+}
+extension DCUniToast.MCToast {
+ public typealias MCToastCallback = () -> Swift.Void
+ public enum MCToastRespond {
+ case `default`
+ case noRespond
+ case respond
+ case navBarRespond
+ public static func == (a: DCUniToast.MCToast.MCToastRespond, b: DCUniToast.MCToast.MCToastRespond) -> Swift.Bool
+ public func hash(into hasher: inout Swift.Hasher)
+ public var hashValue: Swift.Int {
+ get
+ }
+ }
+}
+extension DCUniToast.MCToast {
+ public static func colorWithSystemStyle(_ darkColor: UIKit.UIColor, _ defaultColor: UIKit.UIColor) -> UIKit.UIColor
+}
+extension DCUniToast.MCToast {
+ public enum MCToastType {
+ case success
+ case failure
+ case warning
+ public static func == (a: DCUniToast.MCToast.MCToastType, b: DCUniToast.MCToast.MCToastType) -> Swift.Bool
+ public func hash(into hasher: inout Swift.Hasher)
+ public var hashValue: Swift.Int {
+ get
+ }
+ }
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_success(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_failure(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_warning(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_success(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_failure(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_warning(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ @discardableResult
+ public static func showStatus(_ type: DCUniToast.MCToast.MCToastType?, text: Swift.String, iconImage: UIKit.UIImage?, duration: CoreGraphics.CGFloat, respond: DCUniToast.MCToast.MCToastRespond, callback: DCUniToast.MCToast.MCToastCallback? = nil) -> (imageView: UIKit.UIImageView, label: UIKit.UILabel)
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_statusBar(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, font: UIKit.UIFont = MCToastConfig.shared.text.font, backgroundColor: UIKit.UIColor? = nil, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_statusBar(_ text: Swift.String, duration: CoreGraphics.CGFloat = MCToastConfig.shared.duration, font: UIKit.UIFont = MCToastConfig.shared.text.font, backgroundColor: UIKit.UIColor? = nil, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+@objc @_inheritsConvenienceInitializers public class MCToastConfig : ObjectiveC.NSObject {
+ public static let shared: DCUniToast.MCToastConfig
+ public var respond: DCUniToast.MCToast.MCToastRespond
+ public var background: DCUniToast.MCToastConfig.Background
+ public var icon: DCUniToast.MCToastConfig.Icon
+ public var text: DCUniToast.MCToastConfig.Text
+ public var spacing: DCUniToast.MCToastConfig.MainAreaSpacing
+ public var duration: CoreGraphics.CGFloat
+ @objc override dynamic public init()
+ @objc deinit
+}
+extension DCUniToast.MCToastConfig {
+ public struct Background {
+ public var color: UIKit.UIColor
+ public var size: CoreGraphics.CGSize
+ }
+ public struct Icon {
+ public var size: CoreGraphics.CGSize
+ public var successImage: UIKit.UIImage?
+ public var failureImage: UIKit.UIImage?
+ public var warningImage: UIKit.UIImage?
+ }
+ public struct Text {
+ public var textColor: UIKit.UIColor?
+ public var font: UIKit.UIFont
+ public var offset: (CoreGraphics.CGFloat)
+ }
+ public struct MainAreaSpacing {
+ public var margin: CoreGraphics.CGFloat
+ public var padding: CoreGraphics.CGFloat
+ }
+}
+extension UIKit.UIResponder {
+ @_Concurrency.MainActor(unsafe) public func mc_loading(text: Swift.String = "正在加载中", duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ @_Concurrency.MainActor(unsafe) public func mc_loading(imageNames: [UIKit.UIImage?], animationSpeed: CoreGraphics.CGFloat = 0.1, duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast {
+ public static func mc_loading(text: Swift.String = "正在加载中", duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+ public static func mc_loading(imageNames: [UIKit.UIImage?], animationSpeed: CoreGraphics.CGFloat = 0.1, duration: CoreGraphics.CGFloat = 0, respond: DCUniToast.MCToast.MCToastRespond = MCToastConfig.shared.respond, callback: DCUniToast.MCToast.MCToastCallback? = nil)
+}
+extension DCUniToast.MCToast.MCToastRespond : Swift.Equatable {}
+extension DCUniToast.MCToast.MCToastRespond : Swift.Hashable {}
+extension DCUniToast.MCToast.MCToastType : Swift.Equatable {}
+extension DCUniToast.MCToast.MCToastType : Swift.Hashable {}
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/x86_64.swiftmodule b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/x86_64.swiftmodule
new file mode 100644
index 0000000000000000000000000000000000000000..fe0f33e19c5982b292e2ceb04595b47adb0f0787
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/DCUniToast.swiftmodule/x86_64.swiftmodule differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/module.modulemap b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/module.modulemap
new file mode 100644
index 0000000000000000000000000000000000000000..bd4b59cc0a58aee5e467f614383fe5af12291634
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCUniToast.framework/Modules/module.modulemap
@@ -0,0 +1,11 @@
+framework module DCUniToast {
+ umbrella header "DCUniToast.h"
+
+ export *
+ module * { export * }
+}
+
+module DCUniToast.Swift {
+ header "DCUniToast-Swift.h"
+ requires objc
+}
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/DCloudAlertController b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/DCloudAlertController
new file mode 100644
index 0000000000000000000000000000000000000000..f13219f1ff833a71ff7fd80d5d1bdb83b3ad9e50
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/DCloudAlertController differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Headers/DCloudAlertController-Swift.h b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Headers/DCloudAlertController-Swift.h
new file mode 100644
index 0000000000000000000000000000000000000000..d687cd54bdc01a58e1adc6cc4ae1ec74c8c5bd14
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Headers/DCloudAlertController-Swift.h
@@ -0,0 +1,580 @@
+#if 0
+#elif defined(__arm64__) && __arm64__
+// Generated by Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
+#ifndef DCLOUDALERTCONTROLLER_SWIFT_H
+#define DCLOUDALERTCONTROLLER_SWIFT_H
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wgcc-compat"
+
+#if !defined(__has_include)
+# define __has_include(x) 0
+#endif
+#if !defined(__has_attribute)
+# define __has_attribute(x) 0
+#endif
+#if !defined(__has_feature)
+# define __has_feature(x) 0
+#endif
+#if !defined(__has_warning)
+# define __has_warning(x) 0
+#endif
+
+#if __has_include()
+# include
+#endif
+
+#pragma clang diagnostic ignored "-Wauto-import"
+#include
+#include
+#include
+#include
+
+#if !defined(SWIFT_TYPEDEFS)
+# define SWIFT_TYPEDEFS 1
+# if __has_include()
+# include
+# elif !defined(__cplusplus)
+typedef uint_least16_t char16_t;
+typedef uint_least32_t char32_t;
+# endif
+typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
+typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
+typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
+typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
+typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
+typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
+typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
+typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
+typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
+typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
+typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
+typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
+#endif
+
+#if !defined(SWIFT_PASTE)
+# define SWIFT_PASTE_HELPER(x, y) x##y
+# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
+#endif
+#if !defined(SWIFT_METATYPE)
+# define SWIFT_METATYPE(X) Class
+#endif
+#if !defined(SWIFT_CLASS_PROPERTY)
+# if __has_feature(objc_class_property)
+# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
+# else
+# define SWIFT_CLASS_PROPERTY(...)
+# endif
+#endif
+
+#if __has_attribute(objc_runtime_name)
+# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
+#else
+# define SWIFT_RUNTIME_NAME(X)
+#endif
+#if __has_attribute(swift_name)
+# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
+#else
+# define SWIFT_COMPILE_NAME(X)
+#endif
+#if __has_attribute(objc_method_family)
+# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
+#else
+# define SWIFT_METHOD_FAMILY(X)
+#endif
+#if __has_attribute(noescape)
+# define SWIFT_NOESCAPE __attribute__((noescape))
+#else
+# define SWIFT_NOESCAPE
+#endif
+#if __has_attribute(ns_consumed)
+# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
+#else
+# define SWIFT_RELEASES_ARGUMENT
+#endif
+#if __has_attribute(warn_unused_result)
+# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
+#else
+# define SWIFT_WARN_UNUSED_RESULT
+#endif
+#if __has_attribute(noreturn)
+# define SWIFT_NORETURN __attribute__((noreturn))
+#else
+# define SWIFT_NORETURN
+#endif
+#if !defined(SWIFT_CLASS_EXTRA)
+# define SWIFT_CLASS_EXTRA
+#endif
+#if !defined(SWIFT_PROTOCOL_EXTRA)
+# define SWIFT_PROTOCOL_EXTRA
+#endif
+#if !defined(SWIFT_ENUM_EXTRA)
+# define SWIFT_ENUM_EXTRA
+#endif
+#if !defined(SWIFT_CLASS)
+# if __has_attribute(objc_subclassing_restricted)
+# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
+# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
+# else
+# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
+# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
+# endif
+#endif
+#if !defined(SWIFT_RESILIENT_CLASS)
+# if __has_attribute(objc_class_stub)
+# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
+# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
+# else
+# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
+# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
+# endif
+#endif
+
+#if !defined(SWIFT_PROTOCOL)
+# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
+# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
+#endif
+
+#if !defined(SWIFT_EXTENSION)
+# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
+#endif
+
+#if !defined(OBJC_DESIGNATED_INITIALIZER)
+# if __has_attribute(objc_designated_initializer)
+# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
+# else
+# define OBJC_DESIGNATED_INITIALIZER
+# endif
+#endif
+#if !defined(SWIFT_ENUM_ATTR)
+# if defined(__has_attribute) && __has_attribute(enum_extensibility)
+# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
+# else
+# define SWIFT_ENUM_ATTR(_extensibility)
+# endif
+#endif
+#if !defined(SWIFT_ENUM)
+# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
+# if __has_feature(generalized_swift_name)
+# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
+# else
+# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
+# endif
+#endif
+#if !defined(SWIFT_UNAVAILABLE)
+# define SWIFT_UNAVAILABLE __attribute__((unavailable))
+#endif
+#if !defined(SWIFT_UNAVAILABLE_MSG)
+# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
+#endif
+#if !defined(SWIFT_AVAILABILITY)
+# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
+#endif
+#if !defined(SWIFT_WEAK_IMPORT)
+# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
+#endif
+#if !defined(SWIFT_DEPRECATED)
+# define SWIFT_DEPRECATED __attribute__((deprecated))
+#endif
+#if !defined(SWIFT_DEPRECATED_MSG)
+# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
+#endif
+#if __has_feature(attribute_diagnose_if_objc)
+# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
+#else
+# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
+#endif
+#if !defined(IBSegueAction)
+# define IBSegueAction
+#endif
+#if __has_feature(modules)
+#if __has_warning("-Watimport-in-framework-header")
+#pragma clang diagnostic ignored "-Watimport-in-framework-header"
+#endif
+@import CoreGraphics;
+@import ObjectiveC;
+@import UIKit;
+#endif
+
+#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
+#pragma clang diagnostic ignored "-Wduplicate-method-arg"
+#if __has_warning("-Wpragma-clang-attribute")
+# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
+#endif
+#pragma clang diagnostic ignored "-Wunknown-pragmas"
+#pragma clang diagnostic ignored "-Wnullability"
+
+#if __has_attribute(external_source_symbol)
+# pragma push_macro("any")
+# undef any
+# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="DCloudAlertController",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
+# pragma pop_macro("any")
+#endif
+
+@class NSCoder;
+@class NSString;
+@class NSBundle;
+
+SWIFT_CLASS("_TtC21DCloudAlertController23DCActionSheetController")
+@interface DCActionSheetController : UIViewController
+- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
+- (void)loadView;
+- (void)viewDidLoad;
+- (void)viewDidLayoutSubviews;
+- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE;
+@end
+
+
+@class UITableView;
+@class NSNumber;
+@class NSIndexPath;
+@class UITableViewCell;
+@class UIView;
+
+@interface DCActionSheetController (SWIFT_EXTENSION(DCloudAlertController))
+- (NSInteger)numberOfSectionsInTableView:(UITableView * _Nonnull)tableView SWIFT_WARN_UNUSED_RESULT;
+- (NSInteger)tableView:(UITableView * _Nonnull)tableView numberOfRowsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT;
+- (UITableViewCell * _Nonnull)tableView:(UITableView * _Nonnull)tableView cellForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT;
+- (void)tableView:(UITableView * _Nonnull)tableView didSelectRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath;
+- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT;
+- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT;
+- (UIView * _Nullable)tableView:(UITableView * _Nonnull)tableView viewForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT;
+@end
+
+
+SWIFT_CLASS("_TtC21DCloudAlertController13DCAlertAction")
+@interface DCAlertAction : NSObject
+- (nonnull instancetype)init SWIFT_UNAVAILABLE;
++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
+@end
+
+
+SWIFT_CLASS("_TtC21DCloudAlertController19DCAlertActionButton")
+@interface DCAlertActionButton : UIButton
+- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
+- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
+@end
+
+
+/// /////////////////////////// DCAlertViewController /////////////////////
+SWIFT_CLASS("_TtC21DCloudAlertController21DCAlertViewController")
+@interface DCAlertViewController : UIViewController
+- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
+- (void)loadView;
+- (void)viewWillLayoutSubviews;
+- (void)viewDidLoad;
+- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE;
+@end
+
+@protocol UIViewControllerAnimatedTransitioning;
+
+@interface DCAlertViewController (SWIFT_EXTENSION(DCloudAlertController))
+- (id _Nullable)animationControllerForPresentedController:(UIViewController * _Nonnull)presented presentingController:(UIViewController * _Nonnull)presenting sourceController:(UIViewController * _Nonnull)source SWIFT_WARN_UNUSED_RESULT;
+- (id _Nullable)animationControllerForDismissedController:(UIViewController * _Nonnull)dismissed SWIFT_WARN_UNUSED_RESULT;
+@end
+
+
+
+SWIFT_CLASS("_TtC21DCloudAlertController14DCRIButtonItem")
+@interface DCRIButtonItem : NSObject
+- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
+@end
+
+
+
+
+#if __has_attribute(external_source_symbol)
+# pragma clang attribute pop
+#endif
+#pragma clang diagnostic pop
+#endif
+
+#elif defined(__ARM_ARCH_7A__) && __ARM_ARCH_7A__
+// Generated by Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
+#ifndef DCLOUDALERTCONTROLLER_SWIFT_H
+#define DCLOUDALERTCONTROLLER_SWIFT_H
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wgcc-compat"
+
+#if !defined(__has_include)
+# define __has_include(x) 0
+#endif
+#if !defined(__has_attribute)
+# define __has_attribute(x) 0
+#endif
+#if !defined(__has_feature)
+# define __has_feature(x) 0
+#endif
+#if !defined(__has_warning)
+# define __has_warning(x) 0
+#endif
+
+#if __has_include()
+# include
+#endif
+
+#pragma clang diagnostic ignored "-Wauto-import"
+#include
+#include
+#include
+#include
+
+#if !defined(SWIFT_TYPEDEFS)
+# define SWIFT_TYPEDEFS 1
+# if __has_include()
+# include
+# elif !defined(__cplusplus)
+typedef uint_least16_t char16_t;
+typedef uint_least32_t char32_t;
+# endif
+typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
+typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
+typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
+typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
+typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
+typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
+typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
+typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
+typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
+typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
+typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
+typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
+#endif
+
+#if !defined(SWIFT_PASTE)
+# define SWIFT_PASTE_HELPER(x, y) x##y
+# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
+#endif
+#if !defined(SWIFT_METATYPE)
+# define SWIFT_METATYPE(X) Class
+#endif
+#if !defined(SWIFT_CLASS_PROPERTY)
+# if __has_feature(objc_class_property)
+# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
+# else
+# define SWIFT_CLASS_PROPERTY(...)
+# endif
+#endif
+
+#if __has_attribute(objc_runtime_name)
+# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
+#else
+# define SWIFT_RUNTIME_NAME(X)
+#endif
+#if __has_attribute(swift_name)
+# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
+#else
+# define SWIFT_COMPILE_NAME(X)
+#endif
+#if __has_attribute(objc_method_family)
+# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
+#else
+# define SWIFT_METHOD_FAMILY(X)
+#endif
+#if __has_attribute(noescape)
+# define SWIFT_NOESCAPE __attribute__((noescape))
+#else
+# define SWIFT_NOESCAPE
+#endif
+#if __has_attribute(ns_consumed)
+# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
+#else
+# define SWIFT_RELEASES_ARGUMENT
+#endif
+#if __has_attribute(warn_unused_result)
+# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
+#else
+# define SWIFT_WARN_UNUSED_RESULT
+#endif
+#if __has_attribute(noreturn)
+# define SWIFT_NORETURN __attribute__((noreturn))
+#else
+# define SWIFT_NORETURN
+#endif
+#if !defined(SWIFT_CLASS_EXTRA)
+# define SWIFT_CLASS_EXTRA
+#endif
+#if !defined(SWIFT_PROTOCOL_EXTRA)
+# define SWIFT_PROTOCOL_EXTRA
+#endif
+#if !defined(SWIFT_ENUM_EXTRA)
+# define SWIFT_ENUM_EXTRA
+#endif
+#if !defined(SWIFT_CLASS)
+# if __has_attribute(objc_subclassing_restricted)
+# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
+# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
+# else
+# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
+# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
+# endif
+#endif
+#if !defined(SWIFT_RESILIENT_CLASS)
+# if __has_attribute(objc_class_stub)
+# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
+# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
+# else
+# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
+# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
+# endif
+#endif
+
+#if !defined(SWIFT_PROTOCOL)
+# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
+# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
+#endif
+
+#if !defined(SWIFT_EXTENSION)
+# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
+#endif
+
+#if !defined(OBJC_DESIGNATED_INITIALIZER)
+# if __has_attribute(objc_designated_initializer)
+# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
+# else
+# define OBJC_DESIGNATED_INITIALIZER
+# endif
+#endif
+#if !defined(SWIFT_ENUM_ATTR)
+# if defined(__has_attribute) && __has_attribute(enum_extensibility)
+# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
+# else
+# define SWIFT_ENUM_ATTR(_extensibility)
+# endif
+#endif
+#if !defined(SWIFT_ENUM)
+# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
+# if __has_feature(generalized_swift_name)
+# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
+# else
+# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
+# endif
+#endif
+#if !defined(SWIFT_UNAVAILABLE)
+# define SWIFT_UNAVAILABLE __attribute__((unavailable))
+#endif
+#if !defined(SWIFT_UNAVAILABLE_MSG)
+# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
+#endif
+#if !defined(SWIFT_AVAILABILITY)
+# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
+#endif
+#if !defined(SWIFT_WEAK_IMPORT)
+# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
+#endif
+#if !defined(SWIFT_DEPRECATED)
+# define SWIFT_DEPRECATED __attribute__((deprecated))
+#endif
+#if !defined(SWIFT_DEPRECATED_MSG)
+# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
+#endif
+#if __has_feature(attribute_diagnose_if_objc)
+# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
+#else
+# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
+#endif
+#if !defined(IBSegueAction)
+# define IBSegueAction
+#endif
+#if __has_feature(modules)
+#if __has_warning("-Watimport-in-framework-header")
+#pragma clang diagnostic ignored "-Watimport-in-framework-header"
+#endif
+@import CoreGraphics;
+@import ObjectiveC;
+@import UIKit;
+#endif
+
+#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
+#pragma clang diagnostic ignored "-Wduplicate-method-arg"
+#if __has_warning("-Wpragma-clang-attribute")
+# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
+#endif
+#pragma clang diagnostic ignored "-Wunknown-pragmas"
+#pragma clang diagnostic ignored "-Wnullability"
+
+#if __has_attribute(external_source_symbol)
+# pragma push_macro("any")
+# undef any
+# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="DCloudAlertController",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
+# pragma pop_macro("any")
+#endif
+
+@class NSCoder;
+@class NSString;
+@class NSBundle;
+
+SWIFT_CLASS("_TtC21DCloudAlertController23DCActionSheetController")
+@interface DCActionSheetController : UIViewController
+- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
+- (void)loadView;
+- (void)viewDidLoad;
+- (void)viewDidLayoutSubviews;
+- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE;
+@end
+
+
+@class UITableView;
+@class NSNumber;
+@class NSIndexPath;
+@class UITableViewCell;
+@class UIView;
+
+@interface DCActionSheetController (SWIFT_EXTENSION(DCloudAlertController))
+- (NSInteger)numberOfSectionsInTableView:(UITableView * _Nonnull)tableView SWIFT_WARN_UNUSED_RESULT;
+- (NSInteger)tableView:(UITableView * _Nonnull)tableView numberOfRowsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT;
+- (UITableViewCell * _Nonnull)tableView:(UITableView * _Nonnull)tableView cellForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT;
+- (void)tableView:(UITableView * _Nonnull)tableView didSelectRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath;
+- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT;
+- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT;
+- (UIView * _Nullable)tableView:(UITableView * _Nonnull)tableView viewForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT;
+@end
+
+
+SWIFT_CLASS("_TtC21DCloudAlertController13DCAlertAction")
+@interface DCAlertAction : NSObject
+- (nonnull instancetype)init SWIFT_UNAVAILABLE;
++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
+@end
+
+
+SWIFT_CLASS("_TtC21DCloudAlertController19DCAlertActionButton")
+@interface DCAlertActionButton : UIButton
+- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
+- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
+@end
+
+
+/// /////////////////////////// DCAlertViewController /////////////////////
+SWIFT_CLASS("_TtC21DCloudAlertController21DCAlertViewController")
+@interface DCAlertViewController : UIViewController
+- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
+- (void)loadView;
+- (void)viewWillLayoutSubviews;
+- (void)viewDidLoad;
+- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE;
+@end
+
+@protocol UIViewControllerAnimatedTransitioning;
+
+@interface DCAlertViewController (SWIFT_EXTENSION(DCloudAlertController))
+- (id _Nullable)animationControllerForPresentedController:(UIViewController * _Nonnull)presented presentingController:(UIViewController * _Nonnull)presenting sourceController:(UIViewController * _Nonnull)source SWIFT_WARN_UNUSED_RESULT;
+- (id _Nullable)animationControllerForDismissedController:(UIViewController * _Nonnull)dismissed SWIFT_WARN_UNUSED_RESULT;
+@end
+
+
+
+SWIFT_CLASS("_TtC21DCloudAlertController14DCRIButtonItem")
+@interface DCRIButtonItem : NSObject
+- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
+@end
+
+
+
+
+#if __has_attribute(external_source_symbol)
+# pragma clang attribute pop
+#endif
+#pragma clang diagnostic pop
+#endif
+
+#endif
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Headers/DCloudAlertController.h b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Headers/DCloudAlertController.h
new file mode 100644
index 0000000000000000000000000000000000000000..69c751f199e2cef08beb26455abbe209b77d3159
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Headers/DCloudAlertController.h
@@ -0,0 +1,17 @@
+//
+// DCloudAlertController.h
+// DCloudAlertController
+//
+// Created by lizhongyi on 2023/3/7.
+//
+
+#import
+
+//! Project version number for DCloudAlertController.
+FOUNDATION_EXPORT double DCloudAlertControllerVersionNumber;
+
+//! Project version string for DCloudAlertController.
+FOUNDATION_EXPORT const unsigned char DCloudAlertControllerVersionString[];
+
+// In this header, you should import all the public headers of your framework using statements like #import
+
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Info.plist b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Info.plist
new file mode 100644
index 0000000000000000000000000000000000000000..b245ccf0d727e4a94a37ac0915c2a74e226ef0ef
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Info.plist differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/Project/arm.swiftsourceinfo b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/Project/arm.swiftsourceinfo
new file mode 100644
index 0000000000000000000000000000000000000000..96dd48baa17085ef944588600dfcfcba89f72e1f
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/Project/arm.swiftsourceinfo differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo
new file mode 100644
index 0000000000000000000000000000000000000000..b4e159bfc54cdbc1ab9cc6a666331b3e0fc03cb3
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/Project/arm64.swiftsourceinfo b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/Project/arm64.swiftsourceinfo
new file mode 100644
index 0000000000000000000000000000000000000000..b4e159bfc54cdbc1ab9cc6a666331b3e0fc03cb3
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/Project/arm64.swiftsourceinfo differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/Project/armv7-apple-ios.swiftsourceinfo b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/Project/armv7-apple-ios.swiftsourceinfo
new file mode 100644
index 0000000000000000000000000000000000000000..96dd48baa17085ef944588600dfcfcba89f72e1f
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/Project/armv7-apple-ios.swiftsourceinfo differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/Project/armv7.swiftsourceinfo b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/Project/armv7.swiftsourceinfo
new file mode 100644
index 0000000000000000000000000000000000000000..96dd48baa17085ef944588600dfcfcba89f72e1f
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/Project/armv7.swiftsourceinfo differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm.swiftdoc b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm.swiftdoc
new file mode 100644
index 0000000000000000000000000000000000000000..4fcdf0f81a4f3cd1c3ea559962f7773266b7ac6f
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm.swiftdoc differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm.swiftinterface b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm.swiftinterface
new file mode 100644
index 0000000000000000000000000000000000000000..011b08a57972f7044b26426ccc604c57178ccc54
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm.swiftinterface
@@ -0,0 +1,167 @@
+// swift-interface-format-version: 1.0
+// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
+// swift-module-flags: -target armv7-apple-ios9.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name DCloudAlertController
+@_exported import DCloudAlertController
+import Foundation
+import Swift
+import UIKit
+import _Concurrency
+public enum DCAlertActionStyle : Swift.Int {
+ case defaultStyle
+ case cancelStyle
+ case destructiveStyle
+ case preferredStyle
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+public enum DCAlertImagePosition : Swift.Int {
+ case null
+ case topCenter
+ case leftTopCenter
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+@objc public class DCAlertAction : ObjectiveC.NSObject {
+ public var title: Swift.String?
+ public var titleColor: UIKit.UIColor? {
+ get
+ set
+ }
+ public var style: DCloudAlertController.DCAlertActionStyle
+ weak public var button: UIKit.UIButton?
+ public var handler: (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void
+ public var enabled: Swift.Bool {
+ get
+ set
+ }
+ public init(title: Swift.String, style: DCloudAlertController.DCAlertActionStyle, handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void)
+ @objc deinit
+}
+@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor(unsafe) public class DCAlertActionButton : UIKit.UIButton {
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect)
+ @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder)
+ @objc deinit
+}
+public protocol DCAlertControllerContentViewProtocol : ObjectiveC.NSObject {
+ var titleLabel: UIKit.UILabel { get set }
+ var messageLabel: UIKit.UITextView { get set }
+ var title: Swift.String? { get set }
+ var message: Swift.String? { get set }
+ var image: UIKit.UIImage? { get set }
+ var customView: UIKit.UIView? { get set }
+ var imagePositon: DCloudAlertController.DCAlertImagePosition? { get set }
+ var buttons: [DCloudAlertController.DCAlertActionButton] { get }
+ var actionClickedHandler: ((_ action: DCloudAlertController.DCAlertAction) -> Swift.Void)? { get set }
+ func addAction(_ action: DCloudAlertController.DCAlertAction)
+ func setHairLineColor(_ hairLineColor: UIKit.UIColor?)
+}
+@objc @_inheritsConvenienceInitializers public class DCRIButtonItem : ObjectiveC.NSObject {
+ public static func item() -> DCloudAlertController.DCRIButtonItem
+ public static func itemWithLabel(_ inLabel: Swift.String) -> DCloudAlertController.DCRIButtonItem
+ public static func itemWithLabel(_ inLabel: Swift.String, _ labelColor: UIKit.UIColor? = nil, inAction action: @escaping (() -> Swift.Void)) -> DCloudAlertController.DCRIButtonItem
+ @objc override dynamic public init()
+ @objc deinit
+}
+@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class DCActionSheetController : UIKit.UIViewController {
+ @_Concurrency.MainActor(unsafe) public init(noticeTitle: Swift.String)
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func loadView()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLayoutSubviews()
+ @_Concurrency.MainActor(unsafe) public func addAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func addAction(_ title: Swift.String, _ style: DCloudAlertController.DCAlertActionStyle, _ handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void) -> DCloudAlertController.DCAlertAction
+ @_Concurrency.MainActor(unsafe) public func show()
+ @objc deinit
+}
+extension DCloudAlertController.DCActionSheetController : UIKit.UITableViewDelegate, UIKit.UITableViewDataSource {
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, didSelectRowAt indexPath: Foundation.IndexPath)
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForRowAt indexPath: Foundation.IndexPath) -> CoreGraphics.CGFloat
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView?
+}
+public enum DCAlertViewControllerStyle : Swift.Int {
+ case alert
+ case textViewAlert
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+public protocol DCAlertViewControllerDismissDelegate : UIKit.UITextViewDelegate {
+ func canDismissWithAction(_ action: DCloudAlertController.DCAlertAction?, _ param: Any?) -> Swift.Bool
+}
+@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class DCAlertViewController : UIKit.UIViewController {
+ @_Concurrency.MainActor(unsafe) public var canOpenDarkMode: Swift.Bool
+ @_Concurrency.MainActor(unsafe) public var contentViewVisible: Swift.Bool {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var mesageTitle: Swift.String? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var message: Swift.String? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var textViewText: Swift.String? {
+ get
+ }
+ @_Concurrency.MainActor(unsafe) public var textView: UIKit.UITextView? {
+ get
+ }
+ @_Concurrency.MainActor(unsafe) weak public var dismissDelegate: DCloudAlertController.DCAlertViewControllerDismissDelegate? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var preferredStyle: DCloudAlertController.DCAlertViewControllerStyle
+ @_Concurrency.MainActor(unsafe) public var tapGesture: UIKit.UITapGestureRecognizer?
+ @_Concurrency.MainActor(unsafe) public var contentView: (UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol)?
+ @objc deinit
+ @_Concurrency.MainActor(unsafe) public init(_ title: Swift.String?, _ message: Swift.String?, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String?)
+ @_Concurrency.MainActor(unsafe) public init(_ customView: UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle)
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func loadView()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewWillLayoutSubviews()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
+ @_Concurrency.MainActor(unsafe) public func alertControllerWithTitle(_ title: Swift.String?, _ message: Swift.String?, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String?) -> DCloudAlertController.DCAlertViewController
+ @_Concurrency.MainActor(unsafe) public func alertControllerWithCustomView(_ view: UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle) -> DCloudAlertController.DCAlertViewController
+ @_Concurrency.MainActor(unsafe) public func addActionWithTitle(_ title: Foundation.NSString, _ style: DCloudAlertController.DCAlertActionStyle, _ handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void) -> DCloudAlertController.DCAlertAction
+ @_Concurrency.MainActor(unsafe) public func addImage(_ image: UIKit.UIImage, _ position: DCloudAlertController.DCAlertImagePosition)
+ @_Concurrency.MainActor(unsafe) public func addCustomView(_ customView: UIKit.UIView)
+ @_Concurrency.MainActor(unsafe) public func addAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func addTapGesture()
+ @_Concurrency.MainActor(unsafe) public func onTapAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func resetDoneBtnTitleColor(_ color: UIKit.UIColor)
+}
+extension DCloudAlertController.DCAlertViewController : UIKit.UIViewControllerTransitioningDelegate {
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func animationController(forPresented presented: UIKit.UIViewController, presenting: UIKit.UIViewController, source: UIKit.UIViewController) -> UIKit.UIViewControllerAnimatedTransitioning?
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func animationController(forDismissed dismissed: UIKit.UIViewController) -> UIKit.UIViewControllerAnimatedTransitioning?
+}
+public typealias DCAlertView = DCloudAlertController.DCAlertViewController
+extension DCloudAlertController.DCAlertViewController {
+ @_Concurrency.MainActor(unsafe) public func show()
+ @_Concurrency.MainActor(unsafe) public func dismiss()
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ cancelActionStyle: DCloudAlertController.DCAlertActionStyle, _ doneItem: DCloudAlertController.DCRIButtonItem, _ doneActionStyle: DCloudAlertController.DCAlertActionStyle, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+}
+extension DCloudAlertController.DCAlertActionStyle : Swift.Equatable {}
+extension DCloudAlertController.DCAlertActionStyle : Swift.Hashable {}
+extension DCloudAlertController.DCAlertActionStyle : Swift.RawRepresentable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.Equatable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.Hashable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.RawRepresentable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.Equatable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.Hashable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.RawRepresentable {}
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm.swiftmodule b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm.swiftmodule
new file mode 100644
index 0000000000000000000000000000000000000000..d76b82309f5ad5a128ec5264d0aa21a08b330a03
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm.swiftmodule differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm64-apple-ios.swiftdoc b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm64-apple-ios.swiftdoc
new file mode 100644
index 0000000000000000000000000000000000000000..828dbe3eafb17531ef766c8f734f84073f007c71
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm64-apple-ios.swiftdoc differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm64-apple-ios.swiftinterface b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm64-apple-ios.swiftinterface
new file mode 100644
index 0000000000000000000000000000000000000000..906fb90f0c42e9294673a5c9a7faabf0eb98f9b7
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm64-apple-ios.swiftinterface
@@ -0,0 +1,167 @@
+// swift-interface-format-version: 1.0
+// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
+// swift-module-flags: -target arm64-apple-ios9.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name DCloudAlertController
+@_exported import DCloudAlertController
+import Foundation
+import Swift
+import UIKit
+import _Concurrency
+public enum DCAlertActionStyle : Swift.Int {
+ case defaultStyle
+ case cancelStyle
+ case destructiveStyle
+ case preferredStyle
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+public enum DCAlertImagePosition : Swift.Int {
+ case null
+ case topCenter
+ case leftTopCenter
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+@objc public class DCAlertAction : ObjectiveC.NSObject {
+ public var title: Swift.String?
+ public var titleColor: UIKit.UIColor? {
+ get
+ set
+ }
+ public var style: DCloudAlertController.DCAlertActionStyle
+ weak public var button: UIKit.UIButton?
+ public var handler: (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void
+ public var enabled: Swift.Bool {
+ get
+ set
+ }
+ public init(title: Swift.String, style: DCloudAlertController.DCAlertActionStyle, handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void)
+ @objc deinit
+}
+@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor(unsafe) public class DCAlertActionButton : UIKit.UIButton {
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect)
+ @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder)
+ @objc deinit
+}
+public protocol DCAlertControllerContentViewProtocol : ObjectiveC.NSObject {
+ var titleLabel: UIKit.UILabel { get set }
+ var messageLabel: UIKit.UITextView { get set }
+ var title: Swift.String? { get set }
+ var message: Swift.String? { get set }
+ var image: UIKit.UIImage? { get set }
+ var customView: UIKit.UIView? { get set }
+ var imagePositon: DCloudAlertController.DCAlertImagePosition? { get set }
+ var buttons: [DCloudAlertController.DCAlertActionButton] { get }
+ var actionClickedHandler: ((_ action: DCloudAlertController.DCAlertAction) -> Swift.Void)? { get set }
+ func addAction(_ action: DCloudAlertController.DCAlertAction)
+ func setHairLineColor(_ hairLineColor: UIKit.UIColor?)
+}
+@objc @_inheritsConvenienceInitializers public class DCRIButtonItem : ObjectiveC.NSObject {
+ public static func item() -> DCloudAlertController.DCRIButtonItem
+ public static func itemWithLabel(_ inLabel: Swift.String) -> DCloudAlertController.DCRIButtonItem
+ public static func itemWithLabel(_ inLabel: Swift.String, _ labelColor: UIKit.UIColor? = nil, inAction action: @escaping (() -> Swift.Void)) -> DCloudAlertController.DCRIButtonItem
+ @objc override dynamic public init()
+ @objc deinit
+}
+@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class DCActionSheetController : UIKit.UIViewController {
+ @_Concurrency.MainActor(unsafe) public init(noticeTitle: Swift.String)
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func loadView()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLayoutSubviews()
+ @_Concurrency.MainActor(unsafe) public func addAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func addAction(_ title: Swift.String, _ style: DCloudAlertController.DCAlertActionStyle, _ handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void) -> DCloudAlertController.DCAlertAction
+ @_Concurrency.MainActor(unsafe) public func show()
+ @objc deinit
+}
+extension DCloudAlertController.DCActionSheetController : UIKit.UITableViewDelegate, UIKit.UITableViewDataSource {
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, didSelectRowAt indexPath: Foundation.IndexPath)
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForRowAt indexPath: Foundation.IndexPath) -> CoreGraphics.CGFloat
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView?
+}
+public enum DCAlertViewControllerStyle : Swift.Int {
+ case alert
+ case textViewAlert
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+public protocol DCAlertViewControllerDismissDelegate : UIKit.UITextViewDelegate {
+ func canDismissWithAction(_ action: DCloudAlertController.DCAlertAction?, _ param: Any?) -> Swift.Bool
+}
+@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class DCAlertViewController : UIKit.UIViewController {
+ @_Concurrency.MainActor(unsafe) public var canOpenDarkMode: Swift.Bool
+ @_Concurrency.MainActor(unsafe) public var contentViewVisible: Swift.Bool {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var mesageTitle: Swift.String? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var message: Swift.String? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var textViewText: Swift.String? {
+ get
+ }
+ @_Concurrency.MainActor(unsafe) public var textView: UIKit.UITextView? {
+ get
+ }
+ @_Concurrency.MainActor(unsafe) weak public var dismissDelegate: DCloudAlertController.DCAlertViewControllerDismissDelegate? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var preferredStyle: DCloudAlertController.DCAlertViewControllerStyle
+ @_Concurrency.MainActor(unsafe) public var tapGesture: UIKit.UITapGestureRecognizer?
+ @_Concurrency.MainActor(unsafe) public var contentView: (UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol)?
+ @objc deinit
+ @_Concurrency.MainActor(unsafe) public init(_ title: Swift.String?, _ message: Swift.String?, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String?)
+ @_Concurrency.MainActor(unsafe) public init(_ customView: UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle)
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func loadView()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewWillLayoutSubviews()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
+ @_Concurrency.MainActor(unsafe) public func alertControllerWithTitle(_ title: Swift.String?, _ message: Swift.String?, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String?) -> DCloudAlertController.DCAlertViewController
+ @_Concurrency.MainActor(unsafe) public func alertControllerWithCustomView(_ view: UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle) -> DCloudAlertController.DCAlertViewController
+ @_Concurrency.MainActor(unsafe) public func addActionWithTitle(_ title: Foundation.NSString, _ style: DCloudAlertController.DCAlertActionStyle, _ handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void) -> DCloudAlertController.DCAlertAction
+ @_Concurrency.MainActor(unsafe) public func addImage(_ image: UIKit.UIImage, _ position: DCloudAlertController.DCAlertImagePosition)
+ @_Concurrency.MainActor(unsafe) public func addCustomView(_ customView: UIKit.UIView)
+ @_Concurrency.MainActor(unsafe) public func addAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func addTapGesture()
+ @_Concurrency.MainActor(unsafe) public func onTapAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func resetDoneBtnTitleColor(_ color: UIKit.UIColor)
+}
+extension DCloudAlertController.DCAlertViewController : UIKit.UIViewControllerTransitioningDelegate {
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func animationController(forPresented presented: UIKit.UIViewController, presenting: UIKit.UIViewController, source: UIKit.UIViewController) -> UIKit.UIViewControllerAnimatedTransitioning?
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func animationController(forDismissed dismissed: UIKit.UIViewController) -> UIKit.UIViewControllerAnimatedTransitioning?
+}
+public typealias DCAlertView = DCloudAlertController.DCAlertViewController
+extension DCloudAlertController.DCAlertViewController {
+ @_Concurrency.MainActor(unsafe) public func show()
+ @_Concurrency.MainActor(unsafe) public func dismiss()
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ cancelActionStyle: DCloudAlertController.DCAlertActionStyle, _ doneItem: DCloudAlertController.DCRIButtonItem, _ doneActionStyle: DCloudAlertController.DCAlertActionStyle, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+}
+extension DCloudAlertController.DCAlertActionStyle : Swift.Equatable {}
+extension DCloudAlertController.DCAlertActionStyle : Swift.Hashable {}
+extension DCloudAlertController.DCAlertActionStyle : Swift.RawRepresentable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.Equatable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.Hashable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.RawRepresentable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.Equatable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.Hashable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.RawRepresentable {}
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm64-apple-ios.swiftmodule b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm64-apple-ios.swiftmodule
new file mode 100644
index 0000000000000000000000000000000000000000..053644813bf31e10c1525e4855e29c81628dcdf2
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm64-apple-ios.swiftmodule differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm64.swiftdoc b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm64.swiftdoc
new file mode 100644
index 0000000000000000000000000000000000000000..828dbe3eafb17531ef766c8f734f84073f007c71
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm64.swiftdoc differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm64.swiftinterface b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm64.swiftinterface
new file mode 100644
index 0000000000000000000000000000000000000000..906fb90f0c42e9294673a5c9a7faabf0eb98f9b7
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm64.swiftinterface
@@ -0,0 +1,167 @@
+// swift-interface-format-version: 1.0
+// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
+// swift-module-flags: -target arm64-apple-ios9.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name DCloudAlertController
+@_exported import DCloudAlertController
+import Foundation
+import Swift
+import UIKit
+import _Concurrency
+public enum DCAlertActionStyle : Swift.Int {
+ case defaultStyle
+ case cancelStyle
+ case destructiveStyle
+ case preferredStyle
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+public enum DCAlertImagePosition : Swift.Int {
+ case null
+ case topCenter
+ case leftTopCenter
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+@objc public class DCAlertAction : ObjectiveC.NSObject {
+ public var title: Swift.String?
+ public var titleColor: UIKit.UIColor? {
+ get
+ set
+ }
+ public var style: DCloudAlertController.DCAlertActionStyle
+ weak public var button: UIKit.UIButton?
+ public var handler: (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void
+ public var enabled: Swift.Bool {
+ get
+ set
+ }
+ public init(title: Swift.String, style: DCloudAlertController.DCAlertActionStyle, handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void)
+ @objc deinit
+}
+@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor(unsafe) public class DCAlertActionButton : UIKit.UIButton {
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect)
+ @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder)
+ @objc deinit
+}
+public protocol DCAlertControllerContentViewProtocol : ObjectiveC.NSObject {
+ var titleLabel: UIKit.UILabel { get set }
+ var messageLabel: UIKit.UITextView { get set }
+ var title: Swift.String? { get set }
+ var message: Swift.String? { get set }
+ var image: UIKit.UIImage? { get set }
+ var customView: UIKit.UIView? { get set }
+ var imagePositon: DCloudAlertController.DCAlertImagePosition? { get set }
+ var buttons: [DCloudAlertController.DCAlertActionButton] { get }
+ var actionClickedHandler: ((_ action: DCloudAlertController.DCAlertAction) -> Swift.Void)? { get set }
+ func addAction(_ action: DCloudAlertController.DCAlertAction)
+ func setHairLineColor(_ hairLineColor: UIKit.UIColor?)
+}
+@objc @_inheritsConvenienceInitializers public class DCRIButtonItem : ObjectiveC.NSObject {
+ public static func item() -> DCloudAlertController.DCRIButtonItem
+ public static func itemWithLabel(_ inLabel: Swift.String) -> DCloudAlertController.DCRIButtonItem
+ public static func itemWithLabel(_ inLabel: Swift.String, _ labelColor: UIKit.UIColor? = nil, inAction action: @escaping (() -> Swift.Void)) -> DCloudAlertController.DCRIButtonItem
+ @objc override dynamic public init()
+ @objc deinit
+}
+@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class DCActionSheetController : UIKit.UIViewController {
+ @_Concurrency.MainActor(unsafe) public init(noticeTitle: Swift.String)
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func loadView()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLayoutSubviews()
+ @_Concurrency.MainActor(unsafe) public func addAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func addAction(_ title: Swift.String, _ style: DCloudAlertController.DCAlertActionStyle, _ handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void) -> DCloudAlertController.DCAlertAction
+ @_Concurrency.MainActor(unsafe) public func show()
+ @objc deinit
+}
+extension DCloudAlertController.DCActionSheetController : UIKit.UITableViewDelegate, UIKit.UITableViewDataSource {
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, didSelectRowAt indexPath: Foundation.IndexPath)
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForRowAt indexPath: Foundation.IndexPath) -> CoreGraphics.CGFloat
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView?
+}
+public enum DCAlertViewControllerStyle : Swift.Int {
+ case alert
+ case textViewAlert
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+public protocol DCAlertViewControllerDismissDelegate : UIKit.UITextViewDelegate {
+ func canDismissWithAction(_ action: DCloudAlertController.DCAlertAction?, _ param: Any?) -> Swift.Bool
+}
+@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class DCAlertViewController : UIKit.UIViewController {
+ @_Concurrency.MainActor(unsafe) public var canOpenDarkMode: Swift.Bool
+ @_Concurrency.MainActor(unsafe) public var contentViewVisible: Swift.Bool {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var mesageTitle: Swift.String? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var message: Swift.String? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var textViewText: Swift.String? {
+ get
+ }
+ @_Concurrency.MainActor(unsafe) public var textView: UIKit.UITextView? {
+ get
+ }
+ @_Concurrency.MainActor(unsafe) weak public var dismissDelegate: DCloudAlertController.DCAlertViewControllerDismissDelegate? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var preferredStyle: DCloudAlertController.DCAlertViewControllerStyle
+ @_Concurrency.MainActor(unsafe) public var tapGesture: UIKit.UITapGestureRecognizer?
+ @_Concurrency.MainActor(unsafe) public var contentView: (UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol)?
+ @objc deinit
+ @_Concurrency.MainActor(unsafe) public init(_ title: Swift.String?, _ message: Swift.String?, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String?)
+ @_Concurrency.MainActor(unsafe) public init(_ customView: UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle)
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func loadView()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewWillLayoutSubviews()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
+ @_Concurrency.MainActor(unsafe) public func alertControllerWithTitle(_ title: Swift.String?, _ message: Swift.String?, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String?) -> DCloudAlertController.DCAlertViewController
+ @_Concurrency.MainActor(unsafe) public func alertControllerWithCustomView(_ view: UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle) -> DCloudAlertController.DCAlertViewController
+ @_Concurrency.MainActor(unsafe) public func addActionWithTitle(_ title: Foundation.NSString, _ style: DCloudAlertController.DCAlertActionStyle, _ handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void) -> DCloudAlertController.DCAlertAction
+ @_Concurrency.MainActor(unsafe) public func addImage(_ image: UIKit.UIImage, _ position: DCloudAlertController.DCAlertImagePosition)
+ @_Concurrency.MainActor(unsafe) public func addCustomView(_ customView: UIKit.UIView)
+ @_Concurrency.MainActor(unsafe) public func addAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func addTapGesture()
+ @_Concurrency.MainActor(unsafe) public func onTapAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func resetDoneBtnTitleColor(_ color: UIKit.UIColor)
+}
+extension DCloudAlertController.DCAlertViewController : UIKit.UIViewControllerTransitioningDelegate {
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func animationController(forPresented presented: UIKit.UIViewController, presenting: UIKit.UIViewController, source: UIKit.UIViewController) -> UIKit.UIViewControllerAnimatedTransitioning?
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func animationController(forDismissed dismissed: UIKit.UIViewController) -> UIKit.UIViewControllerAnimatedTransitioning?
+}
+public typealias DCAlertView = DCloudAlertController.DCAlertViewController
+extension DCloudAlertController.DCAlertViewController {
+ @_Concurrency.MainActor(unsafe) public func show()
+ @_Concurrency.MainActor(unsafe) public func dismiss()
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ cancelActionStyle: DCloudAlertController.DCAlertActionStyle, _ doneItem: DCloudAlertController.DCRIButtonItem, _ doneActionStyle: DCloudAlertController.DCAlertActionStyle, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+}
+extension DCloudAlertController.DCAlertActionStyle : Swift.Equatable {}
+extension DCloudAlertController.DCAlertActionStyle : Swift.Hashable {}
+extension DCloudAlertController.DCAlertActionStyle : Swift.RawRepresentable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.Equatable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.Hashable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.RawRepresentable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.Equatable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.Hashable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.RawRepresentable {}
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm64.swiftmodule b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm64.swiftmodule
new file mode 100644
index 0000000000000000000000000000000000000000..053644813bf31e10c1525e4855e29c81628dcdf2
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/arm64.swiftmodule differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/armv7-apple-ios.swiftdoc b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/armv7-apple-ios.swiftdoc
new file mode 100644
index 0000000000000000000000000000000000000000..4fcdf0f81a4f3cd1c3ea559962f7773266b7ac6f
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/armv7-apple-ios.swiftdoc differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/armv7-apple-ios.swiftinterface b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/armv7-apple-ios.swiftinterface
new file mode 100644
index 0000000000000000000000000000000000000000..011b08a57972f7044b26426ccc604c57178ccc54
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/armv7-apple-ios.swiftinterface
@@ -0,0 +1,167 @@
+// swift-interface-format-version: 1.0
+// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
+// swift-module-flags: -target armv7-apple-ios9.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name DCloudAlertController
+@_exported import DCloudAlertController
+import Foundation
+import Swift
+import UIKit
+import _Concurrency
+public enum DCAlertActionStyle : Swift.Int {
+ case defaultStyle
+ case cancelStyle
+ case destructiveStyle
+ case preferredStyle
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+public enum DCAlertImagePosition : Swift.Int {
+ case null
+ case topCenter
+ case leftTopCenter
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+@objc public class DCAlertAction : ObjectiveC.NSObject {
+ public var title: Swift.String?
+ public var titleColor: UIKit.UIColor? {
+ get
+ set
+ }
+ public var style: DCloudAlertController.DCAlertActionStyle
+ weak public var button: UIKit.UIButton?
+ public var handler: (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void
+ public var enabled: Swift.Bool {
+ get
+ set
+ }
+ public init(title: Swift.String, style: DCloudAlertController.DCAlertActionStyle, handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void)
+ @objc deinit
+}
+@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor(unsafe) public class DCAlertActionButton : UIKit.UIButton {
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect)
+ @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder)
+ @objc deinit
+}
+public protocol DCAlertControllerContentViewProtocol : ObjectiveC.NSObject {
+ var titleLabel: UIKit.UILabel { get set }
+ var messageLabel: UIKit.UITextView { get set }
+ var title: Swift.String? { get set }
+ var message: Swift.String? { get set }
+ var image: UIKit.UIImage? { get set }
+ var customView: UIKit.UIView? { get set }
+ var imagePositon: DCloudAlertController.DCAlertImagePosition? { get set }
+ var buttons: [DCloudAlertController.DCAlertActionButton] { get }
+ var actionClickedHandler: ((_ action: DCloudAlertController.DCAlertAction) -> Swift.Void)? { get set }
+ func addAction(_ action: DCloudAlertController.DCAlertAction)
+ func setHairLineColor(_ hairLineColor: UIKit.UIColor?)
+}
+@objc @_inheritsConvenienceInitializers public class DCRIButtonItem : ObjectiveC.NSObject {
+ public static func item() -> DCloudAlertController.DCRIButtonItem
+ public static func itemWithLabel(_ inLabel: Swift.String) -> DCloudAlertController.DCRIButtonItem
+ public static func itemWithLabel(_ inLabel: Swift.String, _ labelColor: UIKit.UIColor? = nil, inAction action: @escaping (() -> Swift.Void)) -> DCloudAlertController.DCRIButtonItem
+ @objc override dynamic public init()
+ @objc deinit
+}
+@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class DCActionSheetController : UIKit.UIViewController {
+ @_Concurrency.MainActor(unsafe) public init(noticeTitle: Swift.String)
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func loadView()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLayoutSubviews()
+ @_Concurrency.MainActor(unsafe) public func addAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func addAction(_ title: Swift.String, _ style: DCloudAlertController.DCAlertActionStyle, _ handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void) -> DCloudAlertController.DCAlertAction
+ @_Concurrency.MainActor(unsafe) public func show()
+ @objc deinit
+}
+extension DCloudAlertController.DCActionSheetController : UIKit.UITableViewDelegate, UIKit.UITableViewDataSource {
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, didSelectRowAt indexPath: Foundation.IndexPath)
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForRowAt indexPath: Foundation.IndexPath) -> CoreGraphics.CGFloat
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView?
+}
+public enum DCAlertViewControllerStyle : Swift.Int {
+ case alert
+ case textViewAlert
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+public protocol DCAlertViewControllerDismissDelegate : UIKit.UITextViewDelegate {
+ func canDismissWithAction(_ action: DCloudAlertController.DCAlertAction?, _ param: Any?) -> Swift.Bool
+}
+@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class DCAlertViewController : UIKit.UIViewController {
+ @_Concurrency.MainActor(unsafe) public var canOpenDarkMode: Swift.Bool
+ @_Concurrency.MainActor(unsafe) public var contentViewVisible: Swift.Bool {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var mesageTitle: Swift.String? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var message: Swift.String? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var textViewText: Swift.String? {
+ get
+ }
+ @_Concurrency.MainActor(unsafe) public var textView: UIKit.UITextView? {
+ get
+ }
+ @_Concurrency.MainActor(unsafe) weak public var dismissDelegate: DCloudAlertController.DCAlertViewControllerDismissDelegate? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var preferredStyle: DCloudAlertController.DCAlertViewControllerStyle
+ @_Concurrency.MainActor(unsafe) public var tapGesture: UIKit.UITapGestureRecognizer?
+ @_Concurrency.MainActor(unsafe) public var contentView: (UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol)?
+ @objc deinit
+ @_Concurrency.MainActor(unsafe) public init(_ title: Swift.String?, _ message: Swift.String?, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String?)
+ @_Concurrency.MainActor(unsafe) public init(_ customView: UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle)
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func loadView()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewWillLayoutSubviews()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
+ @_Concurrency.MainActor(unsafe) public func alertControllerWithTitle(_ title: Swift.String?, _ message: Swift.String?, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String?) -> DCloudAlertController.DCAlertViewController
+ @_Concurrency.MainActor(unsafe) public func alertControllerWithCustomView(_ view: UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle) -> DCloudAlertController.DCAlertViewController
+ @_Concurrency.MainActor(unsafe) public func addActionWithTitle(_ title: Foundation.NSString, _ style: DCloudAlertController.DCAlertActionStyle, _ handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void) -> DCloudAlertController.DCAlertAction
+ @_Concurrency.MainActor(unsafe) public func addImage(_ image: UIKit.UIImage, _ position: DCloudAlertController.DCAlertImagePosition)
+ @_Concurrency.MainActor(unsafe) public func addCustomView(_ customView: UIKit.UIView)
+ @_Concurrency.MainActor(unsafe) public func addAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func addTapGesture()
+ @_Concurrency.MainActor(unsafe) public func onTapAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func resetDoneBtnTitleColor(_ color: UIKit.UIColor)
+}
+extension DCloudAlertController.DCAlertViewController : UIKit.UIViewControllerTransitioningDelegate {
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func animationController(forPresented presented: UIKit.UIViewController, presenting: UIKit.UIViewController, source: UIKit.UIViewController) -> UIKit.UIViewControllerAnimatedTransitioning?
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func animationController(forDismissed dismissed: UIKit.UIViewController) -> UIKit.UIViewControllerAnimatedTransitioning?
+}
+public typealias DCAlertView = DCloudAlertController.DCAlertViewController
+extension DCloudAlertController.DCAlertViewController {
+ @_Concurrency.MainActor(unsafe) public func show()
+ @_Concurrency.MainActor(unsafe) public func dismiss()
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ cancelActionStyle: DCloudAlertController.DCAlertActionStyle, _ doneItem: DCloudAlertController.DCRIButtonItem, _ doneActionStyle: DCloudAlertController.DCAlertActionStyle, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+}
+extension DCloudAlertController.DCAlertActionStyle : Swift.Equatable {}
+extension DCloudAlertController.DCAlertActionStyle : Swift.Hashable {}
+extension DCloudAlertController.DCAlertActionStyle : Swift.RawRepresentable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.Equatable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.Hashable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.RawRepresentable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.Equatable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.Hashable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.RawRepresentable {}
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/armv7-apple-ios.swiftmodule b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/armv7-apple-ios.swiftmodule
new file mode 100644
index 0000000000000000000000000000000000000000..d76b82309f5ad5a128ec5264d0aa21a08b330a03
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/armv7-apple-ios.swiftmodule differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/armv7.swiftdoc b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/armv7.swiftdoc
new file mode 100644
index 0000000000000000000000000000000000000000..4fcdf0f81a4f3cd1c3ea559962f7773266b7ac6f
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/armv7.swiftdoc differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/armv7.swiftinterface b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/armv7.swiftinterface
new file mode 100644
index 0000000000000000000000000000000000000000..011b08a57972f7044b26426ccc604c57178ccc54
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/armv7.swiftinterface
@@ -0,0 +1,167 @@
+// swift-interface-format-version: 1.0
+// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
+// swift-module-flags: -target armv7-apple-ios9.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name DCloudAlertController
+@_exported import DCloudAlertController
+import Foundation
+import Swift
+import UIKit
+import _Concurrency
+public enum DCAlertActionStyle : Swift.Int {
+ case defaultStyle
+ case cancelStyle
+ case destructiveStyle
+ case preferredStyle
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+public enum DCAlertImagePosition : Swift.Int {
+ case null
+ case topCenter
+ case leftTopCenter
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+@objc public class DCAlertAction : ObjectiveC.NSObject {
+ public var title: Swift.String?
+ public var titleColor: UIKit.UIColor? {
+ get
+ set
+ }
+ public var style: DCloudAlertController.DCAlertActionStyle
+ weak public var button: UIKit.UIButton?
+ public var handler: (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void
+ public var enabled: Swift.Bool {
+ get
+ set
+ }
+ public init(title: Swift.String, style: DCloudAlertController.DCAlertActionStyle, handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void)
+ @objc deinit
+}
+@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor(unsafe) public class DCAlertActionButton : UIKit.UIButton {
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect)
+ @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder)
+ @objc deinit
+}
+public protocol DCAlertControllerContentViewProtocol : ObjectiveC.NSObject {
+ var titleLabel: UIKit.UILabel { get set }
+ var messageLabel: UIKit.UITextView { get set }
+ var title: Swift.String? { get set }
+ var message: Swift.String? { get set }
+ var image: UIKit.UIImage? { get set }
+ var customView: UIKit.UIView? { get set }
+ var imagePositon: DCloudAlertController.DCAlertImagePosition? { get set }
+ var buttons: [DCloudAlertController.DCAlertActionButton] { get }
+ var actionClickedHandler: ((_ action: DCloudAlertController.DCAlertAction) -> Swift.Void)? { get set }
+ func addAction(_ action: DCloudAlertController.DCAlertAction)
+ func setHairLineColor(_ hairLineColor: UIKit.UIColor?)
+}
+@objc @_inheritsConvenienceInitializers public class DCRIButtonItem : ObjectiveC.NSObject {
+ public static func item() -> DCloudAlertController.DCRIButtonItem
+ public static func itemWithLabel(_ inLabel: Swift.String) -> DCloudAlertController.DCRIButtonItem
+ public static func itemWithLabel(_ inLabel: Swift.String, _ labelColor: UIKit.UIColor? = nil, inAction action: @escaping (() -> Swift.Void)) -> DCloudAlertController.DCRIButtonItem
+ @objc override dynamic public init()
+ @objc deinit
+}
+@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class DCActionSheetController : UIKit.UIViewController {
+ @_Concurrency.MainActor(unsafe) public init(noticeTitle: Swift.String)
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func loadView()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLayoutSubviews()
+ @_Concurrency.MainActor(unsafe) public func addAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func addAction(_ title: Swift.String, _ style: DCloudAlertController.DCAlertActionStyle, _ handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void) -> DCloudAlertController.DCAlertAction
+ @_Concurrency.MainActor(unsafe) public func show()
+ @objc deinit
+}
+extension DCloudAlertController.DCActionSheetController : UIKit.UITableViewDelegate, UIKit.UITableViewDataSource {
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, didSelectRowAt indexPath: Foundation.IndexPath)
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForRowAt indexPath: Foundation.IndexPath) -> CoreGraphics.CGFloat
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView?
+}
+public enum DCAlertViewControllerStyle : Swift.Int {
+ case alert
+ case textViewAlert
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+public protocol DCAlertViewControllerDismissDelegate : UIKit.UITextViewDelegate {
+ func canDismissWithAction(_ action: DCloudAlertController.DCAlertAction?, _ param: Any?) -> Swift.Bool
+}
+@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class DCAlertViewController : UIKit.UIViewController {
+ @_Concurrency.MainActor(unsafe) public var canOpenDarkMode: Swift.Bool
+ @_Concurrency.MainActor(unsafe) public var contentViewVisible: Swift.Bool {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var mesageTitle: Swift.String? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var message: Swift.String? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var textViewText: Swift.String? {
+ get
+ }
+ @_Concurrency.MainActor(unsafe) public var textView: UIKit.UITextView? {
+ get
+ }
+ @_Concurrency.MainActor(unsafe) weak public var dismissDelegate: DCloudAlertController.DCAlertViewControllerDismissDelegate? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var preferredStyle: DCloudAlertController.DCAlertViewControllerStyle
+ @_Concurrency.MainActor(unsafe) public var tapGesture: UIKit.UITapGestureRecognizer?
+ @_Concurrency.MainActor(unsafe) public var contentView: (UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol)?
+ @objc deinit
+ @_Concurrency.MainActor(unsafe) public init(_ title: Swift.String?, _ message: Swift.String?, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String?)
+ @_Concurrency.MainActor(unsafe) public init(_ customView: UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle)
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func loadView()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewWillLayoutSubviews()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
+ @_Concurrency.MainActor(unsafe) public func alertControllerWithTitle(_ title: Swift.String?, _ message: Swift.String?, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String?) -> DCloudAlertController.DCAlertViewController
+ @_Concurrency.MainActor(unsafe) public func alertControllerWithCustomView(_ view: UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle) -> DCloudAlertController.DCAlertViewController
+ @_Concurrency.MainActor(unsafe) public func addActionWithTitle(_ title: Foundation.NSString, _ style: DCloudAlertController.DCAlertActionStyle, _ handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void) -> DCloudAlertController.DCAlertAction
+ @_Concurrency.MainActor(unsafe) public func addImage(_ image: UIKit.UIImage, _ position: DCloudAlertController.DCAlertImagePosition)
+ @_Concurrency.MainActor(unsafe) public func addCustomView(_ customView: UIKit.UIView)
+ @_Concurrency.MainActor(unsafe) public func addAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func addTapGesture()
+ @_Concurrency.MainActor(unsafe) public func onTapAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func resetDoneBtnTitleColor(_ color: UIKit.UIColor)
+}
+extension DCloudAlertController.DCAlertViewController : UIKit.UIViewControllerTransitioningDelegate {
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func animationController(forPresented presented: UIKit.UIViewController, presenting: UIKit.UIViewController, source: UIKit.UIViewController) -> UIKit.UIViewControllerAnimatedTransitioning?
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func animationController(forDismissed dismissed: UIKit.UIViewController) -> UIKit.UIViewControllerAnimatedTransitioning?
+}
+public typealias DCAlertView = DCloudAlertController.DCAlertViewController
+extension DCloudAlertController.DCAlertViewController {
+ @_Concurrency.MainActor(unsafe) public func show()
+ @_Concurrency.MainActor(unsafe) public func dismiss()
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ cancelActionStyle: DCloudAlertController.DCAlertActionStyle, _ doneItem: DCloudAlertController.DCRIButtonItem, _ doneActionStyle: DCloudAlertController.DCAlertActionStyle, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+}
+extension DCloudAlertController.DCAlertActionStyle : Swift.Equatable {}
+extension DCloudAlertController.DCAlertActionStyle : Swift.Hashable {}
+extension DCloudAlertController.DCAlertActionStyle : Swift.RawRepresentable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.Equatable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.Hashable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.RawRepresentable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.Equatable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.Hashable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.RawRepresentable {}
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/armv7.swiftmodule b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/armv7.swiftmodule
new file mode 100644
index 0000000000000000000000000000000000000000..d76b82309f5ad5a128ec5264d0aa21a08b330a03
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/armv7.swiftmodule differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/i386-apple-ios-simulator.swiftdoc b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/i386-apple-ios-simulator.swiftdoc
new file mode 100644
index 0000000000000000000000000000000000000000..12ee779a3bb37522508df6d29c27e966fae0703a
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/i386-apple-ios-simulator.swiftdoc differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/i386-apple-ios-simulator.swiftinterface b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/i386-apple-ios-simulator.swiftinterface
new file mode 100644
index 0000000000000000000000000000000000000000..05592a796a200afbe765e57e27c5cbed4463c151
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/i386-apple-ios-simulator.swiftinterface
@@ -0,0 +1,167 @@
+// swift-interface-format-version: 1.0
+// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
+// swift-module-flags: -target i386-apple-ios9.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name DCloudAlertController
+@_exported import DCloudAlertController
+import Foundation
+import Swift
+import UIKit
+import _Concurrency
+public enum DCAlertActionStyle : Swift.Int {
+ case defaultStyle
+ case cancelStyle
+ case destructiveStyle
+ case preferredStyle
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+public enum DCAlertImagePosition : Swift.Int {
+ case null
+ case topCenter
+ case leftTopCenter
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+@objc public class DCAlertAction : ObjectiveC.NSObject {
+ public var title: Swift.String?
+ public var titleColor: UIKit.UIColor? {
+ get
+ set
+ }
+ public var style: DCloudAlertController.DCAlertActionStyle
+ weak public var button: UIKit.UIButton?
+ public var handler: (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void
+ public var enabled: Swift.Bool {
+ get
+ set
+ }
+ public init(title: Swift.String, style: DCloudAlertController.DCAlertActionStyle, handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void)
+ @objc deinit
+}
+@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor(unsafe) public class DCAlertActionButton : UIKit.UIButton {
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect)
+ @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder)
+ @objc deinit
+}
+public protocol DCAlertControllerContentViewProtocol : ObjectiveC.NSObject {
+ var titleLabel: UIKit.UILabel { get set }
+ var messageLabel: UIKit.UITextView { get set }
+ var title: Swift.String? { get set }
+ var message: Swift.String? { get set }
+ var image: UIKit.UIImage? { get set }
+ var customView: UIKit.UIView? { get set }
+ var imagePositon: DCloudAlertController.DCAlertImagePosition? { get set }
+ var buttons: [DCloudAlertController.DCAlertActionButton] { get }
+ var actionClickedHandler: ((_ action: DCloudAlertController.DCAlertAction) -> Swift.Void)? { get set }
+ func addAction(_ action: DCloudAlertController.DCAlertAction)
+ func setHairLineColor(_ hairLineColor: UIKit.UIColor?)
+}
+@objc @_inheritsConvenienceInitializers public class DCRIButtonItem : ObjectiveC.NSObject {
+ public static func item() -> DCloudAlertController.DCRIButtonItem
+ public static func itemWithLabel(_ inLabel: Swift.String) -> DCloudAlertController.DCRIButtonItem
+ public static func itemWithLabel(_ inLabel: Swift.String, _ labelColor: UIKit.UIColor? = nil, inAction action: @escaping (() -> Swift.Void)) -> DCloudAlertController.DCRIButtonItem
+ @objc override dynamic public init()
+ @objc deinit
+}
+@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class DCActionSheetController : UIKit.UIViewController {
+ @_Concurrency.MainActor(unsafe) public init(noticeTitle: Swift.String)
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func loadView()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLayoutSubviews()
+ @_Concurrency.MainActor(unsafe) public func addAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func addAction(_ title: Swift.String, _ style: DCloudAlertController.DCAlertActionStyle, _ handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void) -> DCloudAlertController.DCAlertAction
+ @_Concurrency.MainActor(unsafe) public func show()
+ @objc deinit
+}
+extension DCloudAlertController.DCActionSheetController : UIKit.UITableViewDelegate, UIKit.UITableViewDataSource {
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, didSelectRowAt indexPath: Foundation.IndexPath)
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForRowAt indexPath: Foundation.IndexPath) -> CoreGraphics.CGFloat
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView?
+}
+public enum DCAlertViewControllerStyle : Swift.Int {
+ case alert
+ case textViewAlert
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+public protocol DCAlertViewControllerDismissDelegate : UIKit.UITextViewDelegate {
+ func canDismissWithAction(_ action: DCloudAlertController.DCAlertAction?, _ param: Any?) -> Swift.Bool
+}
+@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class DCAlertViewController : UIKit.UIViewController {
+ @_Concurrency.MainActor(unsafe) public var canOpenDarkMode: Swift.Bool
+ @_Concurrency.MainActor(unsafe) public var contentViewVisible: Swift.Bool {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var mesageTitle: Swift.String? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var message: Swift.String? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var textViewText: Swift.String? {
+ get
+ }
+ @_Concurrency.MainActor(unsafe) public var textView: UIKit.UITextView? {
+ get
+ }
+ @_Concurrency.MainActor(unsafe) weak public var dismissDelegate: DCloudAlertController.DCAlertViewControllerDismissDelegate? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var preferredStyle: DCloudAlertController.DCAlertViewControllerStyle
+ @_Concurrency.MainActor(unsafe) public var tapGesture: UIKit.UITapGestureRecognizer?
+ @_Concurrency.MainActor(unsafe) public var contentView: (UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol)?
+ @objc deinit
+ @_Concurrency.MainActor(unsafe) public init(_ title: Swift.String?, _ message: Swift.String?, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String?)
+ @_Concurrency.MainActor(unsafe) public init(_ customView: UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle)
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func loadView()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewWillLayoutSubviews()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
+ @_Concurrency.MainActor(unsafe) public func alertControllerWithTitle(_ title: Swift.String?, _ message: Swift.String?, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String?) -> DCloudAlertController.DCAlertViewController
+ @_Concurrency.MainActor(unsafe) public func alertControllerWithCustomView(_ view: UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle) -> DCloudAlertController.DCAlertViewController
+ @_Concurrency.MainActor(unsafe) public func addActionWithTitle(_ title: Foundation.NSString, _ style: DCloudAlertController.DCAlertActionStyle, _ handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void) -> DCloudAlertController.DCAlertAction
+ @_Concurrency.MainActor(unsafe) public func addImage(_ image: UIKit.UIImage, _ position: DCloudAlertController.DCAlertImagePosition)
+ @_Concurrency.MainActor(unsafe) public func addCustomView(_ customView: UIKit.UIView)
+ @_Concurrency.MainActor(unsafe) public func addAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func addTapGesture()
+ @_Concurrency.MainActor(unsafe) public func onTapAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func resetDoneBtnTitleColor(_ color: UIKit.UIColor)
+}
+extension DCloudAlertController.DCAlertViewController : UIKit.UIViewControllerTransitioningDelegate {
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func animationController(forPresented presented: UIKit.UIViewController, presenting: UIKit.UIViewController, source: UIKit.UIViewController) -> UIKit.UIViewControllerAnimatedTransitioning?
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func animationController(forDismissed dismissed: UIKit.UIViewController) -> UIKit.UIViewControllerAnimatedTransitioning?
+}
+public typealias DCAlertView = DCloudAlertController.DCAlertViewController
+extension DCloudAlertController.DCAlertViewController {
+ @_Concurrency.MainActor(unsafe) public func show()
+ @_Concurrency.MainActor(unsafe) public func dismiss()
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ cancelActionStyle: DCloudAlertController.DCAlertActionStyle, _ doneItem: DCloudAlertController.DCRIButtonItem, _ doneActionStyle: DCloudAlertController.DCAlertActionStyle, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+}
+extension DCloudAlertController.DCAlertActionStyle : Swift.Equatable {}
+extension DCloudAlertController.DCAlertActionStyle : Swift.Hashable {}
+extension DCloudAlertController.DCAlertActionStyle : Swift.RawRepresentable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.Equatable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.Hashable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.RawRepresentable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.Equatable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.Hashable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.RawRepresentable {}
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/i386-apple-ios-simulator.swiftmodule b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/i386-apple-ios-simulator.swiftmodule
new file mode 100644
index 0000000000000000000000000000000000000000..a78bc9e7f0a4bb5749bea14a43cde79fc236d72b
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/i386-apple-ios-simulator.swiftmodule differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/i386.swiftdoc b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/i386.swiftdoc
new file mode 100644
index 0000000000000000000000000000000000000000..12ee779a3bb37522508df6d29c27e966fae0703a
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/i386.swiftdoc differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/i386.swiftinterface b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/i386.swiftinterface
new file mode 100644
index 0000000000000000000000000000000000000000..05592a796a200afbe765e57e27c5cbed4463c151
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/i386.swiftinterface
@@ -0,0 +1,167 @@
+// swift-interface-format-version: 1.0
+// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
+// swift-module-flags: -target i386-apple-ios9.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name DCloudAlertController
+@_exported import DCloudAlertController
+import Foundation
+import Swift
+import UIKit
+import _Concurrency
+public enum DCAlertActionStyle : Swift.Int {
+ case defaultStyle
+ case cancelStyle
+ case destructiveStyle
+ case preferredStyle
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+public enum DCAlertImagePosition : Swift.Int {
+ case null
+ case topCenter
+ case leftTopCenter
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+@objc public class DCAlertAction : ObjectiveC.NSObject {
+ public var title: Swift.String?
+ public var titleColor: UIKit.UIColor? {
+ get
+ set
+ }
+ public var style: DCloudAlertController.DCAlertActionStyle
+ weak public var button: UIKit.UIButton?
+ public var handler: (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void
+ public var enabled: Swift.Bool {
+ get
+ set
+ }
+ public init(title: Swift.String, style: DCloudAlertController.DCAlertActionStyle, handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void)
+ @objc deinit
+}
+@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor(unsafe) public class DCAlertActionButton : UIKit.UIButton {
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect)
+ @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder)
+ @objc deinit
+}
+public protocol DCAlertControllerContentViewProtocol : ObjectiveC.NSObject {
+ var titleLabel: UIKit.UILabel { get set }
+ var messageLabel: UIKit.UITextView { get set }
+ var title: Swift.String? { get set }
+ var message: Swift.String? { get set }
+ var image: UIKit.UIImage? { get set }
+ var customView: UIKit.UIView? { get set }
+ var imagePositon: DCloudAlertController.DCAlertImagePosition? { get set }
+ var buttons: [DCloudAlertController.DCAlertActionButton] { get }
+ var actionClickedHandler: ((_ action: DCloudAlertController.DCAlertAction) -> Swift.Void)? { get set }
+ func addAction(_ action: DCloudAlertController.DCAlertAction)
+ func setHairLineColor(_ hairLineColor: UIKit.UIColor?)
+}
+@objc @_inheritsConvenienceInitializers public class DCRIButtonItem : ObjectiveC.NSObject {
+ public static func item() -> DCloudAlertController.DCRIButtonItem
+ public static func itemWithLabel(_ inLabel: Swift.String) -> DCloudAlertController.DCRIButtonItem
+ public static func itemWithLabel(_ inLabel: Swift.String, _ labelColor: UIKit.UIColor? = nil, inAction action: @escaping (() -> Swift.Void)) -> DCloudAlertController.DCRIButtonItem
+ @objc override dynamic public init()
+ @objc deinit
+}
+@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class DCActionSheetController : UIKit.UIViewController {
+ @_Concurrency.MainActor(unsafe) public init(noticeTitle: Swift.String)
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func loadView()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLayoutSubviews()
+ @_Concurrency.MainActor(unsafe) public func addAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func addAction(_ title: Swift.String, _ style: DCloudAlertController.DCAlertActionStyle, _ handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void) -> DCloudAlertController.DCAlertAction
+ @_Concurrency.MainActor(unsafe) public func show()
+ @objc deinit
+}
+extension DCloudAlertController.DCActionSheetController : UIKit.UITableViewDelegate, UIKit.UITableViewDataSource {
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, didSelectRowAt indexPath: Foundation.IndexPath)
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForRowAt indexPath: Foundation.IndexPath) -> CoreGraphics.CGFloat
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView?
+}
+public enum DCAlertViewControllerStyle : Swift.Int {
+ case alert
+ case textViewAlert
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+public protocol DCAlertViewControllerDismissDelegate : UIKit.UITextViewDelegate {
+ func canDismissWithAction(_ action: DCloudAlertController.DCAlertAction?, _ param: Any?) -> Swift.Bool
+}
+@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class DCAlertViewController : UIKit.UIViewController {
+ @_Concurrency.MainActor(unsafe) public var canOpenDarkMode: Swift.Bool
+ @_Concurrency.MainActor(unsafe) public var contentViewVisible: Swift.Bool {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var mesageTitle: Swift.String? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var message: Swift.String? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var textViewText: Swift.String? {
+ get
+ }
+ @_Concurrency.MainActor(unsafe) public var textView: UIKit.UITextView? {
+ get
+ }
+ @_Concurrency.MainActor(unsafe) weak public var dismissDelegate: DCloudAlertController.DCAlertViewControllerDismissDelegate? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var preferredStyle: DCloudAlertController.DCAlertViewControllerStyle
+ @_Concurrency.MainActor(unsafe) public var tapGesture: UIKit.UITapGestureRecognizer?
+ @_Concurrency.MainActor(unsafe) public var contentView: (UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol)?
+ @objc deinit
+ @_Concurrency.MainActor(unsafe) public init(_ title: Swift.String?, _ message: Swift.String?, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String?)
+ @_Concurrency.MainActor(unsafe) public init(_ customView: UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle)
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func loadView()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewWillLayoutSubviews()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
+ @_Concurrency.MainActor(unsafe) public func alertControllerWithTitle(_ title: Swift.String?, _ message: Swift.String?, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String?) -> DCloudAlertController.DCAlertViewController
+ @_Concurrency.MainActor(unsafe) public func alertControllerWithCustomView(_ view: UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle) -> DCloudAlertController.DCAlertViewController
+ @_Concurrency.MainActor(unsafe) public func addActionWithTitle(_ title: Foundation.NSString, _ style: DCloudAlertController.DCAlertActionStyle, _ handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void) -> DCloudAlertController.DCAlertAction
+ @_Concurrency.MainActor(unsafe) public func addImage(_ image: UIKit.UIImage, _ position: DCloudAlertController.DCAlertImagePosition)
+ @_Concurrency.MainActor(unsafe) public func addCustomView(_ customView: UIKit.UIView)
+ @_Concurrency.MainActor(unsafe) public func addAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func addTapGesture()
+ @_Concurrency.MainActor(unsafe) public func onTapAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func resetDoneBtnTitleColor(_ color: UIKit.UIColor)
+}
+extension DCloudAlertController.DCAlertViewController : UIKit.UIViewControllerTransitioningDelegate {
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func animationController(forPresented presented: UIKit.UIViewController, presenting: UIKit.UIViewController, source: UIKit.UIViewController) -> UIKit.UIViewControllerAnimatedTransitioning?
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func animationController(forDismissed dismissed: UIKit.UIViewController) -> UIKit.UIViewControllerAnimatedTransitioning?
+}
+public typealias DCAlertView = DCloudAlertController.DCAlertViewController
+extension DCloudAlertController.DCAlertViewController {
+ @_Concurrency.MainActor(unsafe) public func show()
+ @_Concurrency.MainActor(unsafe) public func dismiss()
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ cancelActionStyle: DCloudAlertController.DCAlertActionStyle, _ doneItem: DCloudAlertController.DCRIButtonItem, _ doneActionStyle: DCloudAlertController.DCAlertActionStyle, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+}
+extension DCloudAlertController.DCAlertActionStyle : Swift.Equatable {}
+extension DCloudAlertController.DCAlertActionStyle : Swift.Hashable {}
+extension DCloudAlertController.DCAlertActionStyle : Swift.RawRepresentable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.Equatable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.Hashable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.RawRepresentable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.Equatable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.Hashable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.RawRepresentable {}
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/i386.swiftmodule b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/i386.swiftmodule
new file mode 100644
index 0000000000000000000000000000000000000000..a78bc9e7f0a4bb5749bea14a43cde79fc236d72b
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/i386.swiftmodule differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/x86_64-apple-ios-simulator.swiftdoc
new file mode 100644
index 0000000000000000000000000000000000000000..3826e93bbe7e8280b39a265f0538510b1c8014a4
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/x86_64-apple-ios-simulator.swiftinterface
new file mode 100644
index 0000000000000000000000000000000000000000..3061d2187e3a0c3601ddfe189d32f1c032e0ab7d
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/x86_64-apple-ios-simulator.swiftinterface
@@ -0,0 +1,167 @@
+// swift-interface-format-version: 1.0
+// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
+// swift-module-flags: -target x86_64-apple-ios9.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name DCloudAlertController
+@_exported import DCloudAlertController
+import Foundation
+import Swift
+import UIKit
+import _Concurrency
+public enum DCAlertActionStyle : Swift.Int {
+ case defaultStyle
+ case cancelStyle
+ case destructiveStyle
+ case preferredStyle
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+public enum DCAlertImagePosition : Swift.Int {
+ case null
+ case topCenter
+ case leftTopCenter
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+@objc public class DCAlertAction : ObjectiveC.NSObject {
+ public var title: Swift.String?
+ public var titleColor: UIKit.UIColor? {
+ get
+ set
+ }
+ public var style: DCloudAlertController.DCAlertActionStyle
+ weak public var button: UIKit.UIButton?
+ public var handler: (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void
+ public var enabled: Swift.Bool {
+ get
+ set
+ }
+ public init(title: Swift.String, style: DCloudAlertController.DCAlertActionStyle, handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void)
+ @objc deinit
+}
+@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor(unsafe) public class DCAlertActionButton : UIKit.UIButton {
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect)
+ @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder)
+ @objc deinit
+}
+public protocol DCAlertControllerContentViewProtocol : ObjectiveC.NSObject {
+ var titleLabel: UIKit.UILabel { get set }
+ var messageLabel: UIKit.UITextView { get set }
+ var title: Swift.String? { get set }
+ var message: Swift.String? { get set }
+ var image: UIKit.UIImage? { get set }
+ var customView: UIKit.UIView? { get set }
+ var imagePositon: DCloudAlertController.DCAlertImagePosition? { get set }
+ var buttons: [DCloudAlertController.DCAlertActionButton] { get }
+ var actionClickedHandler: ((_ action: DCloudAlertController.DCAlertAction) -> Swift.Void)? { get set }
+ func addAction(_ action: DCloudAlertController.DCAlertAction)
+ func setHairLineColor(_ hairLineColor: UIKit.UIColor?)
+}
+@objc @_inheritsConvenienceInitializers public class DCRIButtonItem : ObjectiveC.NSObject {
+ public static func item() -> DCloudAlertController.DCRIButtonItem
+ public static func itemWithLabel(_ inLabel: Swift.String) -> DCloudAlertController.DCRIButtonItem
+ public static func itemWithLabel(_ inLabel: Swift.String, _ labelColor: UIKit.UIColor? = nil, inAction action: @escaping (() -> Swift.Void)) -> DCloudAlertController.DCRIButtonItem
+ @objc override dynamic public init()
+ @objc deinit
+}
+@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class DCActionSheetController : UIKit.UIViewController {
+ @_Concurrency.MainActor(unsafe) public init(noticeTitle: Swift.String)
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func loadView()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLayoutSubviews()
+ @_Concurrency.MainActor(unsafe) public func addAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func addAction(_ title: Swift.String, _ style: DCloudAlertController.DCAlertActionStyle, _ handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void) -> DCloudAlertController.DCAlertAction
+ @_Concurrency.MainActor(unsafe) public func show()
+ @objc deinit
+}
+extension DCloudAlertController.DCActionSheetController : UIKit.UITableViewDelegate, UIKit.UITableViewDataSource {
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, didSelectRowAt indexPath: Foundation.IndexPath)
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForRowAt indexPath: Foundation.IndexPath) -> CoreGraphics.CGFloat
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView?
+}
+public enum DCAlertViewControllerStyle : Swift.Int {
+ case alert
+ case textViewAlert
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+public protocol DCAlertViewControllerDismissDelegate : UIKit.UITextViewDelegate {
+ func canDismissWithAction(_ action: DCloudAlertController.DCAlertAction?, _ param: Any?) -> Swift.Bool
+}
+@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class DCAlertViewController : UIKit.UIViewController {
+ @_Concurrency.MainActor(unsafe) public var canOpenDarkMode: Swift.Bool
+ @_Concurrency.MainActor(unsafe) public var contentViewVisible: Swift.Bool {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var mesageTitle: Swift.String? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var message: Swift.String? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var textViewText: Swift.String? {
+ get
+ }
+ @_Concurrency.MainActor(unsafe) public var textView: UIKit.UITextView? {
+ get
+ }
+ @_Concurrency.MainActor(unsafe) weak public var dismissDelegate: DCloudAlertController.DCAlertViewControllerDismissDelegate? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var preferredStyle: DCloudAlertController.DCAlertViewControllerStyle
+ @_Concurrency.MainActor(unsafe) public var tapGesture: UIKit.UITapGestureRecognizer?
+ @_Concurrency.MainActor(unsafe) public var contentView: (UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol)?
+ @objc deinit
+ @_Concurrency.MainActor(unsafe) public init(_ title: Swift.String?, _ message: Swift.String?, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String?)
+ @_Concurrency.MainActor(unsafe) public init(_ customView: UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle)
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func loadView()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewWillLayoutSubviews()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
+ @_Concurrency.MainActor(unsafe) public func alertControllerWithTitle(_ title: Swift.String?, _ message: Swift.String?, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String?) -> DCloudAlertController.DCAlertViewController
+ @_Concurrency.MainActor(unsafe) public func alertControllerWithCustomView(_ view: UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle) -> DCloudAlertController.DCAlertViewController
+ @_Concurrency.MainActor(unsafe) public func addActionWithTitle(_ title: Foundation.NSString, _ style: DCloudAlertController.DCAlertActionStyle, _ handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void) -> DCloudAlertController.DCAlertAction
+ @_Concurrency.MainActor(unsafe) public func addImage(_ image: UIKit.UIImage, _ position: DCloudAlertController.DCAlertImagePosition)
+ @_Concurrency.MainActor(unsafe) public func addCustomView(_ customView: UIKit.UIView)
+ @_Concurrency.MainActor(unsafe) public func addAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func addTapGesture()
+ @_Concurrency.MainActor(unsafe) public func onTapAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func resetDoneBtnTitleColor(_ color: UIKit.UIColor)
+}
+extension DCloudAlertController.DCAlertViewController : UIKit.UIViewControllerTransitioningDelegate {
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func animationController(forPresented presented: UIKit.UIViewController, presenting: UIKit.UIViewController, source: UIKit.UIViewController) -> UIKit.UIViewControllerAnimatedTransitioning?
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func animationController(forDismissed dismissed: UIKit.UIViewController) -> UIKit.UIViewControllerAnimatedTransitioning?
+}
+public typealias DCAlertView = DCloudAlertController.DCAlertViewController
+extension DCloudAlertController.DCAlertViewController {
+ @_Concurrency.MainActor(unsafe) public func show()
+ @_Concurrency.MainActor(unsafe) public func dismiss()
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ cancelActionStyle: DCloudAlertController.DCAlertActionStyle, _ doneItem: DCloudAlertController.DCRIButtonItem, _ doneActionStyle: DCloudAlertController.DCAlertActionStyle, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+}
+extension DCloudAlertController.DCAlertActionStyle : Swift.Equatable {}
+extension DCloudAlertController.DCAlertActionStyle : Swift.Hashable {}
+extension DCloudAlertController.DCAlertActionStyle : Swift.RawRepresentable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.Equatable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.Hashable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.RawRepresentable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.Equatable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.Hashable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.RawRepresentable {}
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/x86_64-apple-ios-simulator.swiftmodule b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
new file mode 100644
index 0000000000000000000000000000000000000000..93fef5176a633f41277d73843f52ec632dbd9e14
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/x86_64-apple-ios-simulator.swiftmodule differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/x86_64.swiftdoc b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/x86_64.swiftdoc
new file mode 100644
index 0000000000000000000000000000000000000000..3826e93bbe7e8280b39a265f0538510b1c8014a4
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/x86_64.swiftdoc differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/x86_64.swiftinterface b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/x86_64.swiftinterface
new file mode 100644
index 0000000000000000000000000000000000000000..3061d2187e3a0c3601ddfe189d32f1c032e0ab7d
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/x86_64.swiftinterface
@@ -0,0 +1,167 @@
+// swift-interface-format-version: 1.0
+// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
+// swift-module-flags: -target x86_64-apple-ios9.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name DCloudAlertController
+@_exported import DCloudAlertController
+import Foundation
+import Swift
+import UIKit
+import _Concurrency
+public enum DCAlertActionStyle : Swift.Int {
+ case defaultStyle
+ case cancelStyle
+ case destructiveStyle
+ case preferredStyle
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+public enum DCAlertImagePosition : Swift.Int {
+ case null
+ case topCenter
+ case leftTopCenter
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+@objc public class DCAlertAction : ObjectiveC.NSObject {
+ public var title: Swift.String?
+ public var titleColor: UIKit.UIColor? {
+ get
+ set
+ }
+ public var style: DCloudAlertController.DCAlertActionStyle
+ weak public var button: UIKit.UIButton?
+ public var handler: (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void
+ public var enabled: Swift.Bool {
+ get
+ set
+ }
+ public init(title: Swift.String, style: DCloudAlertController.DCAlertActionStyle, handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void)
+ @objc deinit
+}
+@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor(unsafe) public class DCAlertActionButton : UIKit.UIButton {
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect)
+ @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder)
+ @objc deinit
+}
+public protocol DCAlertControllerContentViewProtocol : ObjectiveC.NSObject {
+ var titleLabel: UIKit.UILabel { get set }
+ var messageLabel: UIKit.UITextView { get set }
+ var title: Swift.String? { get set }
+ var message: Swift.String? { get set }
+ var image: UIKit.UIImage? { get set }
+ var customView: UIKit.UIView? { get set }
+ var imagePositon: DCloudAlertController.DCAlertImagePosition? { get set }
+ var buttons: [DCloudAlertController.DCAlertActionButton] { get }
+ var actionClickedHandler: ((_ action: DCloudAlertController.DCAlertAction) -> Swift.Void)? { get set }
+ func addAction(_ action: DCloudAlertController.DCAlertAction)
+ func setHairLineColor(_ hairLineColor: UIKit.UIColor?)
+}
+@objc @_inheritsConvenienceInitializers public class DCRIButtonItem : ObjectiveC.NSObject {
+ public static func item() -> DCloudAlertController.DCRIButtonItem
+ public static func itemWithLabel(_ inLabel: Swift.String) -> DCloudAlertController.DCRIButtonItem
+ public static func itemWithLabel(_ inLabel: Swift.String, _ labelColor: UIKit.UIColor? = nil, inAction action: @escaping (() -> Swift.Void)) -> DCloudAlertController.DCRIButtonItem
+ @objc override dynamic public init()
+ @objc deinit
+}
+@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class DCActionSheetController : UIKit.UIViewController {
+ @_Concurrency.MainActor(unsafe) public init(noticeTitle: Swift.String)
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func loadView()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLayoutSubviews()
+ @_Concurrency.MainActor(unsafe) public func addAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func addAction(_ title: Swift.String, _ style: DCloudAlertController.DCAlertActionStyle, _ handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void) -> DCloudAlertController.DCAlertAction
+ @_Concurrency.MainActor(unsafe) public func show()
+ @objc deinit
+}
+extension DCloudAlertController.DCActionSheetController : UIKit.UITableViewDelegate, UIKit.UITableViewDataSource {
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, didSelectRowAt indexPath: Foundation.IndexPath)
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForRowAt indexPath: Foundation.IndexPath) -> CoreGraphics.CGFloat
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView?
+}
+public enum DCAlertViewControllerStyle : Swift.Int {
+ case alert
+ case textViewAlert
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
+}
+public protocol DCAlertViewControllerDismissDelegate : UIKit.UITextViewDelegate {
+ func canDismissWithAction(_ action: DCloudAlertController.DCAlertAction?, _ param: Any?) -> Swift.Bool
+}
+@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class DCAlertViewController : UIKit.UIViewController {
+ @_Concurrency.MainActor(unsafe) public var canOpenDarkMode: Swift.Bool
+ @_Concurrency.MainActor(unsafe) public var contentViewVisible: Swift.Bool {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var mesageTitle: Swift.String? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var message: Swift.String? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var textViewText: Swift.String? {
+ get
+ }
+ @_Concurrency.MainActor(unsafe) public var textView: UIKit.UITextView? {
+ get
+ }
+ @_Concurrency.MainActor(unsafe) weak public var dismissDelegate: DCloudAlertController.DCAlertViewControllerDismissDelegate? {
+ get
+ set
+ }
+ @_Concurrency.MainActor(unsafe) public var preferredStyle: DCloudAlertController.DCAlertViewControllerStyle
+ @_Concurrency.MainActor(unsafe) public var tapGesture: UIKit.UITapGestureRecognizer?
+ @_Concurrency.MainActor(unsafe) public var contentView: (UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol)?
+ @objc deinit
+ @_Concurrency.MainActor(unsafe) public init(_ title: Swift.String?, _ message: Swift.String?, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String?)
+ @_Concurrency.MainActor(unsafe) public init(_ customView: UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle)
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func loadView()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewWillLayoutSubviews()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
+ @_Concurrency.MainActor(unsafe) public func alertControllerWithTitle(_ title: Swift.String?, _ message: Swift.String?, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String?) -> DCloudAlertController.DCAlertViewController
+ @_Concurrency.MainActor(unsafe) public func alertControllerWithCustomView(_ view: UIKit.UIView & DCloudAlertController.DCAlertControllerContentViewProtocol, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle) -> DCloudAlertController.DCAlertViewController
+ @_Concurrency.MainActor(unsafe) public func addActionWithTitle(_ title: Foundation.NSString, _ style: DCloudAlertController.DCAlertActionStyle, _ handler: @escaping (_ action: DCloudAlertController.DCAlertAction) -> Swift.Void) -> DCloudAlertController.DCAlertAction
+ @_Concurrency.MainActor(unsafe) public func addImage(_ image: UIKit.UIImage, _ position: DCloudAlertController.DCAlertImagePosition)
+ @_Concurrency.MainActor(unsafe) public func addCustomView(_ customView: UIKit.UIView)
+ @_Concurrency.MainActor(unsafe) public func addAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func addTapGesture()
+ @_Concurrency.MainActor(unsafe) public func onTapAction(_ action: DCloudAlertController.DCAlertAction)
+ @_Concurrency.MainActor(unsafe) public func resetDoneBtnTitleColor(_ color: UIKit.UIColor)
+}
+extension DCloudAlertController.DCAlertViewController : UIKit.UIViewControllerTransitioningDelegate {
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func animationController(forPresented presented: UIKit.UIViewController, presenting: UIKit.UIViewController, source: UIKit.UIViewController) -> UIKit.UIViewControllerAnimatedTransitioning?
+ @_Concurrency.MainActor(unsafe) @objc dynamic public func animationController(forDismissed dismissed: UIKit.UIViewController) -> UIKit.UIViewControllerAnimatedTransitioning?
+}
+public typealias DCAlertView = DCloudAlertController.DCAlertViewController
+extension DCloudAlertController.DCAlertViewController {
+ @_Concurrency.MainActor(unsafe) public func show()
+ @_Concurrency.MainActor(unsafe) public func dismiss()
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ doneItem: DCloudAlertController.DCRIButtonItem, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle = .alert, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+ @_Concurrency.MainActor(unsafe) public static func alertView(_ title: Swift.String?, _ subTitle: Swift.String?, _ cancelItem: DCloudAlertController.DCRIButtonItem, _ cancelActionStyle: DCloudAlertController.DCAlertActionStyle, _ doneItem: DCloudAlertController.DCRIButtonItem, _ doneActionStyle: DCloudAlertController.DCAlertActionStyle, _ preferredStyle: DCloudAlertController.DCAlertViewControllerStyle, _ placeholder: Swift.String = "") -> DCloudAlertController.DCAlertView
+}
+extension DCloudAlertController.DCAlertActionStyle : Swift.Equatable {}
+extension DCloudAlertController.DCAlertActionStyle : Swift.Hashable {}
+extension DCloudAlertController.DCAlertActionStyle : Swift.RawRepresentable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.Equatable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.Hashable {}
+extension DCloudAlertController.DCAlertImagePosition : Swift.RawRepresentable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.Equatable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.Hashable {}
+extension DCloudAlertController.DCAlertViewControllerStyle : Swift.RawRepresentable {}
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/x86_64.swiftmodule b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/x86_64.swiftmodule
new file mode 100644
index 0000000000000000000000000000000000000000..93fef5176a633f41277d73843f52ec632dbd9e14
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/DCloudAlertController.swiftmodule/x86_64.swiftmodule differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/module.modulemap b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/module.modulemap
new file mode 100644
index 0000000000000000000000000000000000000000..1411e16467da11aeee8f47811b5b1f12f9bc1198
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/Frameworks/DCloudAlertController.framework/Modules/module.modulemap
@@ -0,0 +1,11 @@
+framework module DCloudAlertController {
+ umbrella header "DCloudAlertController.h"
+
+ export *
+ module * { export * }
+}
+
+module DCloudAlertController.Swift {
+ header "DCloudAlertController-Swift.h"
+ requires objc
+}
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Resources/uni_uts_toast_error.png b/uni_modules/uni-prompt/utssdk/app-ios/Resources/uni_uts_toast_error.png
new file mode 100644
index 0000000000000000000000000000000000000000..4743b25e1284270fee6ba8fefdb5265f6c451a93
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Resources/uni_uts_toast_error.png differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/Resources/uni_uts_toast_success.png b/uni_modules/uni-prompt/utssdk/app-ios/Resources/uni_uts_toast_success.png
new file mode 100644
index 0000000000000000000000000000000000000000..c1f5bd7c5293dcc37284f30b215ff2a3779c316f
Binary files /dev/null and b/uni_modules/uni-prompt/utssdk/app-ios/Resources/uni_uts_toast_success.png differ
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/index.uts b/uni_modules/uni-prompt/utssdk/app-ios/index.uts
new file mode 100644
index 0000000000000000000000000000000000000000..d1468692a849b2245092e95c679fd7f5a259c7f6
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/index.uts
@@ -0,0 +1,30 @@
+import { ShowActionSheetOptions, ShowModalOptions, ShowToastOptions, ShowLoadingOptions, ShowToast, HideToast, ShowLoading, HideLoading, ShowModal, ShowActionSheet } from "../interface.uts"
+import * as ToastModule from "./showToast.uts"
+import * as ModalModule from "./showModal.uts"
+import * as ActionSheetModule from "./showActionSheet.uts"
+
+
+export const showToast : ShowToast = function (options : ShowToastOptions) {
+ ToastModule.toShowToast(options)
+}
+
+export const hideToast : HideToast = function () {
+ ToastModule.toHideToast()
+}
+
+export const showLoading : ShowLoading = function (options : ShowLoadingOptions) {
+ ToastModule.toShowLoading(options)
+}
+
+export const hideLoading : HideLoading = function () {
+ ToastModule.toHideLoading()
+}
+
+export const showModal : ShowModal = function (options : ShowModalOptions) {
+ ModalModule.toShowModal(options)
+}
+
+export const showActionSheet : ShowActionSheet = function (options : ShowActionSheetOptions) {
+ ActionSheetModule.actionSheet(options)
+}
+
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/showActionSheet.uts b/uni_modules/uni-prompt/utssdk/app-ios/showActionSheet.uts
new file mode 100644
index 0000000000000000000000000000000000000000..dfbf4354e99a49a6832d391f83e74a642f16406a
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/showActionSheet.uts
@@ -0,0 +1,72 @@
+import { UIPopoverArrowDirection , UIDevice , UIUserInterfaceIdiom, CGRect } from "UIKit"
+import { UTSiOS } from "DCloudUTSFoundation"
+import { DispatchQueue } from 'Dispatch';
+import { DCActionSheetController, DCAlertAction, DCAlertActionStyle } from "DCloudAlertController" assert { type: "implementationOnly" };
+import { ShowActionSheetOptions, ShowActionSheetSuccess, ShowActionSheetFail } from '../interface.uts'
+
+
+export function actionSheet(options : ShowActionSheetOptions) {
+ const itemList = options.itemList!
+ if (itemList.length < 1) {
+ let res = new UniError("uni-prompt",-3,"showActionSheet:fail cancel");
+ options.fail?.(res)
+ options.complete?.(res)
+ return
+ }
+
+ // uts方法默认会在子线程中执行,涉及 UI 操作必须在主线程中运行,通过 DispatchQueue.main.async 方法可将代码在主线程中运行
+ DispatchQueue.main.async(execute = () : void => {
+ // 初始化actionSheet的实例
+ let actionSheet = DCActionSheetController.init(noticeTitle = options.title ?? "")
+
+ // 创建普通按钮
+ itemList.forEach((item : string, index : number) => {
+
+ let action = DCAlertAction.init(title = item, style = DCAlertActionStyle.defaultStyle, handler = (action: DCAlertAction): void => {
+ // 点击按钮的回调方法
+ const res: ShowActionSheetSuccess = {
+ tapIndex: index + 1,
+ }
+ options.success?.(res)
+ options.complete?.(res)
+ })
+
+ if (options.itemColor != null) {
+ const color = UTSiOS.colorWithString(options.itemColor!)
+ action.titleColor = color
+ }
+ actionSheet.addAction(action)
+ })
+ let cancelAction = DCAlertAction.init(title = "取消", style = DCAlertActionStyle.cancelStyle, handler = (action: DCAlertAction): void => {
+ // 点击按钮的回调方法
+ let res = new UniError("uni-prompt",1002,"showActionSheet:fail cancel");
+ options.fail?.(res)
+ options.complete?.(res)
+ })
+ if (options.itemColor != null) {
+ const color = UTSiOS.colorWithString(options.itemColor!)
+ cancelAction.titleColor = color
+ }
+ actionSheet.addAction(cancelAction)
+
+ // 判断是否设置popover
+ const isPad = UIDevice.current.userInterfaceIdiom == UIUserInterfaceIdiom.pad
+ if (options.popover != null && isPad == true) {
+ let popoverController = actionSheet.popoverPresentationController
+ if (popoverController != null) {
+ let sourceView = UTSiOS.getCurrentViewController().view
+ if (sourceView != null) {
+ let sourceRect = CGRect(x = options.popover!.left.toDouble(), y = options.popover!.top.toDouble(), width = options.popover!.width.toDouble(), height = options.popover!.height.toDouble())
+ if (options.popover!.height == -1) {
+ sourceRect = CGRect(x = sourceView!.bounds.midX, y = sourceView!.bounds.maxY, width = 1.0, height = 1.0)
+ }
+ popoverController!.sourceView = sourceView
+ popoverController!.sourceRect = sourceRect
+ popoverController!.permittedArrowDirections = UIPopoverArrowDirection.any
+ }
+ }
+ }
+ actionSheet.show()
+ })
+}
+
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/showModal.uts b/uni_modules/uni-prompt/utssdk/app-ios/showModal.uts
new file mode 100644
index 0000000000000000000000000000000000000000..184b42bb08c50269f523243c085aac672a6c1116
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/showModal.uts
@@ -0,0 +1,78 @@
+import { UTSiOS } from "DCloudUTSFoundation"
+import { DispatchQueue } from 'Dispatch';
+import { DCAlertAction, DCAlertActionStyle, DCAlertView, DCAlertViewControllerStyle } from "DCloudAlertController" assert { type: "implementationOnly" };
+import { ShowModalOptions, ShowModalSuccess, ShowModalFail } from '../interface.uts'
+
+export function toShowModal(options: ShowModalOptions) {
+ // 参数解析
+ const title = options.title == null ? "" : options.title!
+ const message = options.content == null ? "" : options.content!
+ const showCancel = options.showCancel == null ? true : (options.showCancel != false)
+ const cancelText = options.cancelText == null ? "取消" : options.cancelText!
+ const confirmText = options.confirmText == null ? "确定" : options.confirmText!
+ const canEidt = options.editable == null ? false : (options.editable != false)
+ const placeholderText = options.placeholderText == null ? "" : options.placeholderText!
+
+ // uts方法默认会在子线程中执行,涉及 UI 操作必须在主线程中运行,通过 DispatchQueue.main.async 方法可将代码在主线程中运行
+ DispatchQueue.main.async(execute = (): void => {
+
+ // 初始化 DCAlertView 实例对象 alert
+ const style: DCAlertViewControllerStyle = canEidt ? DCAlertViewControllerStyle.textViewAlert : DCAlertViewControllerStyle.alert
+ const alert = DCAlertView.init(title, message, style, placeholderText)
+
+ // 取消按钮及其回调
+ if (showCancel) {
+ const cancelAction = DCAlertAction.init(title = cancelText, style = DCAlertActionStyle.cancelStyle, handler = (action: DCAlertAction): void => {
+ // 获取输入框中的内容
+ let inputText = ""
+ if (canEidt == true) {
+ inputText = alert.textView?.text ?? ""
+ }
+ // 点击按钮的回调方法
+ const res: ShowModalSuccess = {
+ confirm: true,
+ cancel: false,
+ content: inputText
+ }
+ options.success?.(res)
+ options.complete?.(res)
+ })
+ // 自定义取消按钮颜色
+ if (options.cancelColor != null) {
+ const color = UTSiOS.colorWithString(options.cancelColor!)
+ cancelAction.titleColor = color
+ }
+ // 添加action
+ alert.addAction(cancelAction)
+ }
+
+ // 确定按钮及其回调
+ const okAction = DCAlertAction.init(title = confirmText, style = DCAlertActionStyle.preferredStyle, handler = (action: DCAlertAction): void => {
+ // 获取输入框中的内容
+ let inputText = ""
+ if (canEidt == true) {
+ inputText = alert.textView?.text ?? ""
+ }
+
+ // 点击按钮的回调方法
+ const res: ShowModalSuccess = {
+ confirm: true,
+ cancel: false,
+ content: inputText
+ }
+ options.success?.(res)
+ options.complete?.(res)
+ })
+ // 自定义确定按钮颜色
+ if (options.confirmColor != null) {
+ const color = UTSiOS.colorWithString(options.confirmColor!)
+ okAction.titleColor = color
+ }
+ // 添加action
+ alert.addAction(okAction)
+
+ // 弹出alert
+ alert.show()
+ })
+}
+
diff --git a/uni_modules/uni-prompt/utssdk/app-ios/showToast.uts b/uni_modules/uni-prompt/utssdk/app-ios/showToast.uts
new file mode 100644
index 0000000000000000000000000000000000000000..5689bc199081ede2a4c7163d481b08171dbb6aa5
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/app-ios/showToast.uts
@@ -0,0 +1,99 @@
+import { UTSiOS } from "DCloudUTSFoundation"
+import { MCToast, MCToastConfig } from "DCUniToast" assert { type: "implementationOnly" };
+import { UIScreen, UIImage } from 'UIKit'
+import { ShowToastOptions, ShowLoadingOptions, ShowToastSuccess, ShowToastFail, ShowLoadingSuccess, ShowLoadingFail } from '../interface.uts'
+
+/* 显示toast */
+export function toShowToast(options: ShowToastOptions) {
+ if (options.title == null || options.title.length == 0) {
+ let res = new UniError("uni-prompt",1001,"showLoading:title is null");
+ options.fail?.(res)
+ options.complete?.(res)
+ } else {
+ //duration
+ let duration = 2.5
+ if (options.duration != null) {
+ duration = options.duration! / 1000
+ }
+ //mask
+ let mask = MCToast.MCToastRespond.default
+ if (options.mask == true) {
+ mask = MCToast.MCToastRespond.noRespond
+ }
+ MCToastConfig.shared.background.size = CGSize.init(width = 135, height = 120);
+ //position
+ if (options.position != null) {
+ const interval = Float(UIScreen.main.bounds.height * 0.25)
+ let centerPoint = 0.0 //正下 负上
+ if (options.position == "top") {
+ centerPoint = 0 - interval
+ } else if (options.position == "center") {
+ centerPoint = 0.0
+ } else {
+ centerPoint = Number(interval)
+ }
+ MCToast.mc_text(options.title, offset = CGFloat(centerPoint.toFloat()), duration = CGFloat(duration.toFloat()), respond = mask)
+ } else {
+ MCToastConfig.shared.icon.successImage = new UIImage(named = "uni_uts_toast_success.png")
+ MCToastConfig.shared.icon.failureImage = new UIImage(named = "uni_uts_toast_error.png")
+ if (options.image != null) {
+ const imagePath = UTSiOS.getResourcePath(options.image!)
+ const image = new UIImage(contentsOfFile = imagePath)
+ MCToast.showStatus(MCToast.MCToastType.success, text = options.title, iconImage = image, duration = CGFloat(duration.toFloat()), respond = mask)
+
+ } else if (options.icon != null) {
+ if (options.icon == "success") {
+ MCToast.mc_success(options.title, duration = CGFloat(duration.toFloat()), respond = mask)
+ } else if (options.icon == "error") {
+ MCToast.mc_failure(options.title, duration = CGFloat(duration.toFloat()), respond = mask)
+ } else if (options.icon == "loading") {
+ MCToast.mc_loading(text = options.title, duration = CGFloat(duration.toFloat()), respond = mask)
+ } else {
+ MCToast.mc_text(options.title, offset = 0, duration = CGFloat(duration.toFloat()), respond = mask)
+ }
+ } else {
+ MCToast.mc_success(options.title, duration = CGFloat(duration.toFloat()), respond = mask)
+ }
+ }
+ const res: ShowToastSuccess = {
+ }
+ options.success?.(res)
+ options.complete?.(res)
+ }
+
+}
+
+/* 隐藏toast */
+export function toHideToast() {
+ MCToast.mc_remove()
+}
+
+/* 显示loading + text */
+export function toShowLoading(options: ShowLoadingOptions) {
+ if (options.title == null || options.title.length == 0) {
+ let res = new UniError("uni-prompt",1001,"showLoading:title is null");
+ options.fail?.(res)
+ options.complete?.(res)
+ } else {
+ // mask
+ let mask = MCToast.MCToastRespond.default
+ if (options.mask == true) {
+ mask = MCToast.MCToastRespond.noRespond
+ }
+ // config
+ MCToastConfig.shared.background.size = CGSize.init(width = 135, height = 120);
+ // show loading
+ MCToast.mc_loading(text = options.title, respond = mask)
+ // callback
+ const res: ShowLoadingSuccess = {
+ }
+ options.success?.(res)
+ options.complete?.(res)
+ }
+
+}
+
+/* 隐藏loading */
+export function toHideLoading() {
+ MCToast.mc_remove()
+}
\ No newline at end of file
diff --git a/uni_modules/uni-prompt/utssdk/interface.uts b/uni_modules/uni-prompt/utssdk/interface.uts
new file mode 100644
index 0000000000000000000000000000000000000000..f5e91ab0e8163ad8393424866bfca2c26ef6a18f
--- /dev/null
+++ b/uni_modules/uni-prompt/utssdk/interface.uts
@@ -0,0 +1,597 @@
+/**
+ * uni.showToast成功回调参数
+ */
+export type ShowToastSuccess = {
+}
+
+/**
+ * uni.showToast成功回调函数定义
+ */
+export type ShowToastSuccessCallback = (res: ShowToastSuccess) => void
+/**
+ * uni.showToast失败回调函数定义
+ */
+export type ShowToastFailCallback = (res: UniError) => void
+/**
+ * uni.showToast完成回调函数定义
+ */
+export type ShowToastCompleteCallback = (res: any) => void
+
+/**
+ * uni.showToast参数定义
+ */
+export type ShowToastOptions = {
+ /**
+ * 提示的内容,长度与 icon 取值有关。
+ */
+ title: string,
+ /**
+ * 图标,有效值详见下方说明,默认:success。
+ * @description icon值说明 success: 显示成功图标,error: 显示错误图标; fail: 显示错误图标,此时title文本无长度显示; exception: 显示异常图标,此时title文本无长度显示; loading: 显示加载图标;none: 不显示图标。
+ */
+ icon?: string | null,
+ /**
+ * 自定义图标的本地路径(app端暂不支持gif)
+ */
+ image?: string | null,
+ /**
+ * 是否显示透明蒙层,防止触摸穿透,默认:false
+ */
+ mask?: boolean | null,
+ /**
+ * 提示的延迟时间,单位毫秒,默认:1500
+ */
+ duration?: number | null,
+ /**
+ * 纯文本轻提示显示位置,填写有效值后只有 title 属性生效,且不支持通过 uni.hideToast 隐藏。
+ * @description position值说明(仅App生效) top: 居上显示; center: 居中显示;bottom: 居底显示
+ */
+ position?: string | null,
+ /**
+ * 接口调用成功的回调函数
+ */
+ success?: ShowToastSuccessCallback | null,
+ /**
+ * 接口调用失败的回调函数
+ */
+ fail?: ShowToastFailCallback | null,
+ /**
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
+ */
+ complete?: ShowToastCompleteCallback | null
+}
+
+/**
+ * uni.showToast函数定义
+ * 弹出toast
+ *
+ * @param {ShowToastOptions} options
+ * @tutorial https://uniapp.dcloud.net.cn/api/ui/prompt.html#showtoast
+ * @uniPlatform {
+ * "app": {
+ * "android": {
+ * "osVer": "4.4.4",
+ * "uniVer": "√",
+ * "unixVer": "3.9.0"
+ * },
+ * "ios": {
+ * "osVer": "9.0",
+ * "uniVer": "√",
+ * "unixVer": "3.9.0"
+ * }
+ * }
+ * }
+ */
+export type ShowToast = (options: ShowToastOptions) => void
+
+/**
+ * uni.hideToast函数定义
+ * 隐藏toast
+ *
+ * @tutorial https://uniapp.dcloud.net.cn/api/ui/prompt.html#hidetoast
+ * @uniPlatform {
+ * "app": {
+ * "android": {
+ * "osVer": "4.4.4",
+ * "uniVer": "√",
+ * "unixVer": "3.9.0"
+ * },
+ * "ios": {
+ * "osVer": "9.0",
+ * "uniVer": "√",
+ * "unixVer": "3.9.0"
+ * }
+ * }
+ * }
+ */
+export type HideToast = () => void
+
+
+/**
+ * uni.showLoading成功回调参数
+ */
+export type ShowLoadingSuccess = {
+}
+
+/**
+ * uni.showLoading成功回调函数定义
+ */
+export type ShowLoadingSuccessCallback = (res: ShowLoadingSuccess) => void
+/**
+ * uni.showLoading失败回调函数定义
+ */
+export type ShowLoadingFailCallback = (res: UniError) => void
+/**
+ * uni.showLoading完成回调函数定义
+ */
+export type ShowLoadingCompleteCallback = (res: any) => void
+
+/**
+ * uni.showLoading参数定义
+ */
+export type ShowLoadingOptions = {
+ /**
+ * 提示的内容,长度与 icon 取值有关。
+ */
+ title: string,
+ /**
+ * 是否显示透明蒙层,防止触摸穿透,默认:false
+ */
+ mask?: boolean | null,
+ /**
+ * 接口调用成功的回调函数
+ */
+ success?: ShowLoadingSuccessCallback | null,
+ /**
+ * 接口调用失败的回调函数
+ */
+ fail?: ShowLoadingFailCallback | null,
+ /**
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
+ */
+ complete?: ShowLoadingCompleteCallback | null
+}
+
+/**
+ * uni.showLoading函数定义
+ * 弹出loading
+ *
+ * @param {ShowLoadingOptions} options
+ * @tutorial https://uniapp.dcloud.net.cn/api/ui/prompt.html#showloading
+ * @uniPlatform {
+ * "app": {
+ * "android": {
+ * "osVer": "4.4.4",
+ * "uniVer": "√",
+ * "unixVer": "3.9.0"
+ * },
+ * "ios": {
+ * "osVer": "9.0",
+ * "uniVer": "√",
+ * "unixVer": "3.9.0"
+ * }
+ * }
+ * }
+ */
+export type ShowLoading = (options: ShowLoadingOptions) => void
+
+/**
+ * uni.hideLoading函数定义
+ * 隐藏loading
+ *
+ * @tutorial https://uniapp.dcloud.net.cn/api/ui/prompt.html#hideloading
+ * @uniPlatform {
+ * "app": {
+ * "android": {
+ * "osVer": "4.4.4",
+ * "uniVer": "√",
+ * "unixVer": "3.9.0"
+ * },
+ * "ios": {
+ * "osVer": "9.0",
+ * "uniVer": "√",
+ * "unixVer": "3.9.0"
+ * }
+ * }
+ * }
+ *
+ */
+export type HideLoading = () => void
+
+/**
+ * uni.showModal 成功回调参数
+ */
+export type ShowModalSuccess = {
+ /**
+ * 为 true 时,表示用户点击了确定按钮
+ */
+ confirm: boolean,
+ /**
+ * 为 true 时,表示用户点击了取消(用于 Android 系统区分点击蒙层关闭还是点击取消按钮关闭)
+ */
+ cancel: boolean,
+ /**
+ * editable 为 true 时,用户输入的文本
+ */
+ content: string | null
+}
+
+/**
+ * uni.showModal成功回调函数定义
+ */
+export type ShowModalSuccessCallback = (res: ShowModalSuccess) => void
+/**
+ * uni.showModal失败回调函数定义
+ */
+export type ShowModalFailCallback = (res: UniError) => void
+/**
+ * uni.showModal完成回调函数定义
+ */
+export type ShowModalCompleteCallback = (res: any) => void
+/**
+ * uni.showModal 参数定义
+ */
+export type ShowModalOptions = {
+ /**
+ * 提示的标题
+ */
+ title?: string | null,
+ /**
+ * 提示的内容
+ */
+ content?: string | null,
+ /**
+ * @default true
+ * 是否显示取消按钮,默认为 true
+ */
+ showCancel?: boolean | null,
+ /**
+ * 取消按钮的文字,默认为"取消"
+ */
+ cancelText?: string | null,
+ /**
+ * 取消按钮的文字颜色,默认为"#000000"
+ */
+ cancelColor?: string | null,
+ /**
+ * 确定按钮的文字,默认为"确定"
+ */
+ confirmText?: string | null,
+ /**
+ * 确定按钮的文字颜色
+ */
+ confirmColor?: string | null,
+ /**
+ * @default false
+ * 是否显示输入框
+ */
+ editable?: boolean | null,
+ /**
+ * 显示输入框时的提示文本
+ */
+ placeholderText?: string | null,
+ /**
+ * 接口调用成功的回调函数
+ */
+ success?: ShowModalSuccessCallback | null,
+ /**
+ * 接口调用失败的回调函数
+ */
+ fail?: ShowModalFailCallback | null,
+ /**
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
+ */
+ complete?: ShowModalCompleteCallback | null
+}
+
+/**
+ * uni.showModal 函数定义
+ *
+ * 弹出modal
+ *
+ * @param {ShowModalOptions} options
+ * @tutorial https://uniapp.dcloud.net.cn/api/ui/prompt.html#showmodal
+ * @uniPlatform {
+ * "app": {
+ * "android": {
+ * "osVer": "4.4.4",
+ * "uniVer": "√",
+ * "unixVer": "3.9.0"
+ * },
+ * "ios": {
+ * "osVer": "9.0",
+ * "uniVer": "√",
+ * "unixVer": "3.9.0"
+ * }
+ * }
+ * }
+ */
+export type ShowModal = (options: ShowModalOptions) => void
+
+/**
+ * uni.ShowActionSheet成功回调参数
+ */
+export type ShowActionSheetSuccess = {
+ /**
+ * 用户点击的按钮,从上到下的顺序,从0开始
+ */
+ tapIndex: number | null,
+}
+
+export type Popover = {
+ /**
+ * 指示区域坐标,使用原生 navigationBar 时一般需要加上 navigationBar 的高度
+ */
+ top: number,
+ /**
+ * 指示区域坐标
+ */
+ left: number,
+ /**
+ * 指示区域宽度
+ */
+ width: number,
+ /**
+ * 指示区域高度
+ */
+ height: number
+}
+
+/**
+ * uni.showActionSheet成功回调函数定义
+ */
+export type ShowActionSheetSuccessCallback = (res: ShowActionSheetSuccess) => void
+/**
+ * uni.showActionSheet成功回调函数定义
+ */
+export type ShowActionSheetFailCallback = (res: UniError) => void
+/**
+ * uni.showActionSheet成功回调函数定义
+ */
+export type ShowActionSheetCompleteCallback = (res: any) => void
+
+/**
+ * uni.showActionSheet函数参数定义
+ */
+export type ShowActionSheetOptions = {
+ /**
+ * 菜单标题
+ */
+ title?: string | null,
+ /**
+ * 警示文案(同菜单标题, app无效)
+ */
+ alertText?: string | null,
+ /**
+ * 按钮的文字数组
+ */
+ itemList: string[],
+ /**
+ * 按钮的文字颜色,字符串格式(iOS默认为系统控件颜色)
+ */
+ itemColor?: string | null,
+ /**
+ * 大屏设备弹出原生选择按钮框的指示区域,默认居中显示
+ */
+ popover?: Popover | null,
+ /**
+ * 接口调用成功的回调函数
+ */
+ success?: ShowActionSheetSuccessCallback | null,
+ /**
+ * 接口调用失败的回调函数
+ */
+ fail?: ShowActionSheetFailCallback | null,
+ /**
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
+ */
+ complete?: ShowActionSheetCompleteCallback | null
+}
+
+/**
+ * uni.showActionSheet函数定义
+ *
+ * 弹出actionSheet
+ *
+ * @param {ShowActionSheetOptions} options
+ * @tutorial https://uniapp.dcloud.net.cn/api/ui/prompt.html#showactionsheet
+ * @uniPlatform {
+ * "app": {
+ * "android": {
+ * "osVer": "4.4.4",
+ * "uniVer": "√",
+ * "unixVer": "3.9.0"
+ * },
+ * "ios": {
+ * "osVer": "9.0",
+ * "uniVer": "√",
+ * "unixVer": "3.9.0"
+ * }
+ * }
+ * }
+ */
+export type ShowActionSheet = (options: ShowActionSheetOptions) => void
+
+
+export interface Uni {
+ /**
+ * @description 显示消息提示框
+ * @param {ShowToastOptions} option
+ * @example
+ * ```typescript
+ * uni.showToast({
+ * title: '标题',
+ * duration: 2000
+ * });
+ * ```
+ * @remark
+ * - showLoading 和 showToast 同时只能显示一个
+ * - showToast 应与 hideToast 配对使用
+ * @tutorial [](https://uniapp.dcloud.net.cn/api/ui/prompt.html#showtoast)
+ * @uniPlatform {
+ * "app": {
+ * "android": {
+ * "osVer": "4.4.4",
+ * "uniVer": "√",
+ * "unixVer": "3.9.0"
+ * },
+ * "ios": {
+ * "osVer": "9.0",
+ * "uniVer": "√",
+ * "unixVer": "3.9.0"
+ * }
+ * }
+ * }
+ */
+ showToast(options: ShowToastOptions): void,
+ /**
+ * @description 隐藏消息提示框。
+ * @example
+ * ```typescript
+ * uni.hideToast();
+ * ```
+ * @tutorial [](https://uniapp.dcloud.net.cn/api/ui/prompt.html#hidetoast)
+ * @uniPlatform {
+ * "app": {
+ * "android": {
+ * "osVer": "4.4.4",
+ * "uniVer": "√",
+ * "unixVer": "3.9.0"
+ * },
+ * "ios": {
+ * "osVer": "9.0",
+ * "uniVer": "√",
+ * "unixVer": "3.9.0"
+ * }
+ * }
+ * }
+ */
+ hideToast(): void,
+ /**
+ * @description 显示 loading 提示框, 需主动调用 uni.hideLoading 才能关闭提示框。
+ * @param {ShowLoadingOptions} option
+ * @example
+ * ```typescript
+ * uni.showLoading({
+ * title: '加载中'
+ * });
+ * ```
+ * @remark
+ * - showLoading 和 showToast 同时只能显示一个
+ * - showToast 应与 hideToast 配对使用
+ * @tutorial [](https://uniapp.dcloud.net.cn/api/ui/prompt.html#showloading)
+ * @uniPlatform {
+ * "app": {
+ * "android": {
+ * "osVer": "4.4.4",
+ * "uniVer": "√",
+ * "unixVer": "3.9.0"
+ * },
+ * "ios": {
+ * "osVer": "9.0",
+ * "uniVer": "√",
+ * "unixVer": "3.9.0"
+ * }
+ * }
+ * }
+ */
+ showLoading(options: ShowLoadingOptions): void,
+ /**
+ * @description 隐藏 loading 提示框。
+ * @example
+ * ```typescript
+ * uni.showLoading({
+ * title: '加载中'
+ * });
+ *
+ * setTimeout(function () {
+ * uni.hideLoading();
+ * }, 2000);
+ *
+ * ```
+ * @tutorial [](https://uniapp.dcloud.net.cn/api/ui/prompt.html#hideloading)
+ * @uniPlatform {
+ * "app": {
+ * "android": {
+ * "osVer": "4.4.4",
+ * "uniVer": "√",
+ * "unixVer": "3.9.0"
+ * },
+ * "ios": {
+ * "osVer": "9.0",
+ * "uniVer": "√",
+ * "unixVer": "3.9.0"
+ * }
+ * }
+ * }
+ */
+ hideLoading():void,
+ /**
+ * @description 显示模态弹窗,可以只有一个确定按钮,也可以同时有确定和取消按钮。类似于一个API整合了 html 中:alert、confirm。
+ * @param {ShowModalOptions} option
+ * @example
+ * ```typescript
+ * uni.showModal({
+ * title: '提示',
+ * content: '这是一个模态弹窗',
+ * success: function (res) {
+ * if (res.confirm) {
+ * console.log('用户点击确定');
+ * } else if (res.cancel) {
+ * console.log('用户点击取消');
+ * }
+ * }
+ * });
+ *
+ *
+ * ```
+ * @tutorial [](https://uniapp.dcloud.net.cn/api/ui/prompt.html#showmodal)
+ * @uniPlatform {
+ * "app": {
+ * "android": {
+ * "osVer": "4.4.4",
+ * "uniVer": "√",
+ * "unixVer": "3.9.0"
+ * },
+ * "ios": {
+ * "osVer": "9.0",
+ * "uniVer": "√",
+ * "unixVer": "3.9.0"
+ * }
+ * }
+ * }
+ */
+ showModal(options: ShowModalOptions) : void,
+ /**
+ * @description 从底部向上弹出操作菜单
+ * @param {ShowActionSheetOptions} option
+ * @example
+ * ```typescript
+ * uni.showActionSheet({
+ * itemList: ['A', 'B', 'C'],
+ * success: function (res) {
+ * console.log('选中了第' + (res.tapIndex + 1) + '个按钮');
+ * },
+ * fail: function (res) {
+ * console.log(res.errMsg);
+ * }
+ * });
+ * ```
+ * @tutorial [](https://uniapp.dcloud.net.cn/api/ui/prompt.html#showactionsheet)
+ * @uniPlatform {
+ * "app": {
+ * "android": {
+ * "osVer": "4.4.4",
+ * "uniVer": "√",
+ * "unixVer": "3.9.0"
+ * },
+ * "ios": {
+ * "osVer": "9.0",
+ * "uniVer": "√",
+ * "unixVer": "3.9.0"
+ * }
+ * }
+ * }
+ */
+ showActionSheet(options: ShowActionSheetOptions) : void
+}