diff --git a/uni_modules/uni-showToast/changelog.md b/uni_modules/uni-showToast/changelog.md new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/uni_modules/uni-showToast/package.json b/uni_modules/uni-showToast/package.json new file mode 100644 index 0000000000000000000000000000000000000000..ff4f7b9129ad47b0741469c5d98621e8a60ad89f --- /dev/null +++ b/uni_modules/uni-showToast/package.json @@ -0,0 +1,81 @@ +{ + "id": "uni-showToast", + "displayName": "uni-showToast", + "version": "1.0.0", + "description": "uni-showToast", + "keywords": [ + "uni-showToast" +], + "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": { + "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" + } + } + } + } +} \ No newline at end of file diff --git a/uni_modules/uni-showToast/readme.md b/uni_modules/uni-showToast/readme.md new file mode 100644 index 0000000000000000000000000000000000000000..5d42c217fea133566bd78dcecf740b8d874ffb3f --- /dev/null +++ b/uni_modules/uni-showToast/readme.md @@ -0,0 +1,5 @@ +# uni-showToast +### 开发文档 +[UTS 语法](https://uniapp.dcloud.net.cn/tutorial/syntax-uts.html) +[UTS 原生插件](https://uniapp.dcloud.net.cn/plugin/uts-plugin.html) +[Hello UTS](https://gitcode.net/dcloud/hello-uts/-/tree/dev) \ No newline at end of file diff --git a/uni_modules/uni-showToast/utssdk/app-android/AndroidManifest.xml b/uni_modules/uni-showToast/utssdk/app-android/AndroidManifest.xml new file mode 100644 index 0000000000000000000000000000000000000000..5e3e3dd9624f5415d5370a7d45fffdc564248a59 --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-android/AndroidManifest.xml @@ -0,0 +1,4 @@ + + + diff --git a/uni_modules/uni-showToast/utssdk/app-android/WaitingView.uts b/uni_modules/uni-showToast/utssdk/app-android/WaitingView.uts new file mode 100644 index 0000000000000000000000000000000000000000..eb8826fbf51a96c0ee78fa0f0a0bca711ac8e003 --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-android/WaitingView.uts @@ -0,0 +1,293 @@ +import Context from 'android.content.Context'; +import LayoutInflater from 'android.view.LayoutInflater'; +import R from 'io.dcloud.zl.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'; + +export class WaitingView { + + 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; + + private mpopWindow?: PopupWindow = null + + private currentHandler: Handler + + //{"back":"transmit","height":"112px","loading":{"display":"block","height":"55px","icon":"__uniapperror.png","jSONArray":false},"padding":"10px","size":"16px","width":"140px"} + + constructor(context?: Activity, style: UTSJSONObject) { + 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.handlerArguments() + + let llp = (this.waitingRootView).getLayoutParams() as LinearLayout.LayoutParams + llp.width = this.width > 0 ? (this.width * this.density).toInt() : this.width + llp.height = this.height > 0 ? (this.height * this.density).toInt() : this.height + this.waitingRootView.setLayoutParams(llp) + + this.currentHandler = new Handler(Looper.myLooper()!!) + this.initView() + this.makeBitmap() + } + + handlerArguments() { + if (this.style["height"] != null) { + this.height = io.dcloud.uts.parseInt(this.style["height"] as string) as Int + } + if (this.style["width"] != null) { + this.width = io.dcloud.uts.parseInt(this.style["width"] as string) as Int + } + 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 = io.dcloud.uts.parseInt(loading["height"] as string) as Int + } + } + 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()) + + // 设置textsize + this.waitingRootView.setPadding((10 * this.density).toInt(), (10 * this.density).toInt(), (10 * this.density).toInt(), (10 * this.density).toInt()) + + let drawable = this.context?.getResources()!!.getDrawable(R.drawable.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) + } + + showWaiting() { + let width = -2; + let height = -2 + if (Build.VERSION.SDK_INT >= 23 && this.mask) { + this.mask = false + width = -1 + height = -1 + } + let mpop = new PopupWindow(this.waitingView, width, height, this.mask) + this.mpopWindow = mpop + mpop.showAtLocation((this.context?.findViewById(android.R.id.content))?.getChildAt(0), Gravity.CENTER, 0, 0) + mpop.setOutsideTouchable(true) + mpop.setOnDismissListener(new WaitingDismissListener()) + mpop.setTouchInterceptor(new TouchInterceptorListener(this.mask)) + + } + + close() { + if (this.mpopWindow != null && (this.mpopWindow as PopupWindow).isShowing()) { + this.currentHandler.post(new MainThreadRunnable((this.mpopWindow as PopupWindow))) + } + 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.png")) + } else if (this.LoadingIcon == "errorIcon") { + imageBytes = this.inputStreamToArray(this.context?.getResources()!!.getAssets().open("uniapperror.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() { + // console.log("打印日志,关闭") + } +} + +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-showToast/utssdk/app-android/assets/uniapperror.png b/uni_modules/uni-showToast/utssdk/app-android/assets/uniapperror.png new file mode 100644 index 0000000000000000000000000000000000000000..4743b25e1284270fee6ba8fefdb5265f6c451a93 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-android/assets/uniapperror.png differ diff --git a/uni_modules/uni-showToast/utssdk/app-android/assets/uniappsuccess.png b/uni_modules/uni-showToast/utssdk/app-android/assets/uniappsuccess.png new file mode 100644 index 0000000000000000000000000000000000000000..c1f5bd7c5293dcc37284f30b215ff2a3779c316f Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-android/assets/uniappsuccess.png differ diff --git a/uni_modules/uni-showToast/utssdk/app-android/index.uts b/uni_modules/uni-showToast/utssdk/app-android/index.uts new file mode 100644 index 0000000000000000000000000000000000000000..9eb4920ede0d66ce0a6c6c86fa3c0f908656adec --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-android/index.uts @@ -0,0 +1,134 @@ +import { getUniActivity } from "io.dcloud.uts.android"; +import Gravity from 'android.view.Gravity'; +import Toast from "android.widget.Toast"; +import { WaitingView } from "./WaitingView.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 showToast(style: ToastStyle) { + makeToast(style, 'toast', 'showToast') +} + +export function hideToast() { + closeToast("toast") +} + +export function showLoading(loadingStyle: ToastStyle) { + loadingStyle.icon = "loading" + loadingStyle.image = null + loadingStyle.position = "" + makeToast(loadingStyle, 'loading', 'showLoading') +} + +export function hideLoading() { + 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 + } + toastType = null +} + +function makeToast(style: ToastStyle, type: string, errMsg: string) { + closeToast(null) + if (style.title == null || style.title.length == 0) { + style.fail?.({ errMsg: (errMsg + ':title is null') }) + style.complete?.({ errMsg: (errMsg + ':title is null') }) + } else { + toastType = type + if (["top", "center", "bottom"].indexOf(style.position) >= 0) { + let toast = Toast.makeText(getUniActivity(), style.title, Toast.LENGTH_SHORT); + switch (style.position) { + case "top": { + toast.setGravity(Gravity.TOP, 0, 0) + break + } + case "center": { + toast.setGravity(Gravity.CENTER, 0, 0) + break + } + case "bottom": { + toast.setGravity(Gravity.BOTTOM, 0, 0) + break + } + } + toast.show() + } 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 && icon == "none") { + options["loading"] = { + display: "none" + } + } else { + options["width"] = "140" + options["height"] = "112" + } + if (style.image != null) { + options["loading"] = { + display: "block", + height: "55", + icon: style.image + } + } else { + if (['success', 'error'].indexOf(icon) >= 0) { + options["loading"] = { + display: 'block', + height: '55', + icon: icon === "success" ? "successIcon" : "errorIcon" + } + } + } + console.log(JSON.stringify(options)) + 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) + } + style.success?.({ errMsg: (errMsg + ':ok') }) + style.complete?.({ errMsg: (errMsg + ':ok') }) + } + } +} \ No newline at end of file diff --git a/uni_modules/uni-showToast/utssdk/app-android/res/drawable/dcloud_circle_white_progress.xml b/uni_modules/uni-showToast/utssdk/app-android/res/drawable/dcloud_circle_white_progress.xml new file mode 100644 index 0000000000000000000000000000000000000000..b74e989851f2332df925f14d2ac59b94a09984df --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-android/res/drawable/dcloud_circle_white_progress.xml @@ -0,0 +1,22 @@ + + + + + + + \ No newline at end of file diff --git a/uni_modules/uni-showToast/utssdk/app-android/res/drawable/dcloud_longding_bg.xml b/uni_modules/uni-showToast/utssdk/app-android/res/drawable/dcloud_longding_bg.xml new file mode 100644 index 0000000000000000000000000000000000000000..025271223c38992266ab8b6472e7d4e023da7501 --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-android/res/drawable/dcloud_longding_bg.xml @@ -0,0 +1,10 @@ + + + + + + + + + \ No newline at end of file diff --git a/uni_modules/uni-showToast/utssdk/app-android/res/layout/dcloud_loadingview.xml b/uni_modules/uni-showToast/utssdk/app-android/res/layout/dcloud_loadingview.xml new file mode 100644 index 0000000000000000000000000000000000000000..0c990f7aa831964337a4aaa465dcdf154758c4a8 --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-android/res/layout/dcloud_loadingview.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/uni_modules/uni-showToast/utssdk/app-android/res/values/strings.xml b/uni_modules/uni-showToast/utssdk/app-android/res/values/strings.xml new file mode 100644 index 0000000000000000000000000000000000000000..3c35249ef6fcfb8f19bf1b4bffc8f865f81bb970 --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-android/res/values/strings.xml @@ -0,0 +1,4 @@ + + + Configuration + \ No newline at end of file diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Headers/Lottie-Swift.h b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Headers/Lottie-Swift.h new file mode 100644 index 0000000000000000000000000000000000000000..94855bb30014e2aa83c4b236fa849d7617300e0a --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Headers/Lottie-Swift.h @@ -0,0 +1,415 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) +#ifndef LOTTIE_SWIFT_H +#define LOTTIE_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 "-Wduplicate-method-match" +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#else +#include +#include +#include +#endif + +#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(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if defined(__cplusplus) +#if !defined(SWIFT_NOEXCEPT) +# define SWIFT_NOEXCEPT noexcept +#endif +#else +#if !defined(SWIFT_NOEXCEPT) +# define SWIFT_NOEXCEPT +#endif +#endif +#if defined(__cplusplus) +#if !defined(SWIFT_CXX_INT_DEFINED) +#define SWIFT_CXX_INT_DEFINED +namespace swift { +using Int = ptrdiff_t; +using UInt = size_t; +} +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreFoundation; +@import Foundation; +@import ObjectiveC; +@import UIKit; +#endif + +#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" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="Lottie",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) +@class NSCoder; +@class UITouch; +@class UIEvent; + +/// Lottie comes prepacked with a two Animated Controls, AnimatedSwitch and +/// AnimatedButton. Both of these controls are built on top of AnimatedControl +/// AnimatedControl is a subclass of UIControl that provides an interactive +/// mechanism for controlling the visual state of an animation in response to +/// user actions. +/// The AnimatedControl will show and hide layers depending on the current +/// UIControl.State of the control. +/// Users of AnimationControl can set a Layer Name for each UIControl.State. +/// When the state is change the AnimationControl will change the visibility +/// of its layers. +/// NOTE: Do not initialize directly. This is intended to be subclassed. +SWIFT_CLASS("_TtC6Lottie15AnimatedControl") +@interface AnimatedControl : UIControl +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; +@property (nonatomic, getter=isEnabled) BOOL enabled; +@property (nonatomic, getter=isSelected) BOOL selected; +@property (nonatomic, getter=isHighlighted) BOOL highlighted; +- (BOOL)beginTrackingWithTouch:(UITouch * _Nonnull)touch withEvent:(UIEvent * _Nullable)event SWIFT_WARN_UNUSED_RESULT; +- (BOOL)continueTrackingWithTouch:(UITouch * _Nonnull)touch withEvent:(UIEvent * _Nullable)event SWIFT_WARN_UNUSED_RESULT; +- (void)endTrackingWithTouch:(UITouch * _Nullable)touch withEvent:(UIEvent * _Nullable)event; +- (void)cancelTrackingWithEvent:(UIEvent * _Nullable)event; +@property (nonatomic, readonly) CGSize intrinsicContentSize; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + +/// An interactive button that plays an animation when pressed. +SWIFT_CLASS("_TtC6Lottie14AnimatedButton") +@interface AnimatedButton : AnimatedControl +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; +- (BOOL)beginTrackingWithTouch:(UITouch * _Nonnull)touch withEvent:(UIEvent * _Nullable)event SWIFT_WARN_UNUSED_RESULT; +- (void)endTrackingWithTouch:(UITouch * _Nullable)touch withEvent:(UIEvent * _Nullable)event; +@end + + + +/// An interactive switch with an ‘On’ and ‘Off’ state. When the user taps on the +/// switch the state is toggled and the appropriate animation is played. +/// Both the ‘On’ and ‘Off’ have an animation play range associated with their state. +SWIFT_CLASS("_TtC6Lottie14AnimatedSwitch") +@interface AnimatedSwitch : AnimatedControl +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; +- (void)endTrackingWithTouch:(UITouch * _Nullable)touch withEvent:(UIEvent * _Nullable)event; +@end + + +/// A view that can be added to a keypath of an AnimationView +SWIFT_CLASS("_TtC6Lottie16AnimationSubview") +@interface AnimationSubview : UIView +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +@end + + +SWIFT_CLASS("_TtC6Lottie10LottieView") +@interface LottieView : UIView +- (void)didMoveToWindow; +@property (nonatomic) UIViewContentMode contentMode; +- (void)layoutSubviews; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +@end + + +IB_DESIGNABLE +SWIFT_CLASS("_TtC6Lottie13AnimationView") +@interface AnimationView : LottieView +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; +@property (nonatomic, readonly) CGSize intrinsicContentSize; +@end + + + + +@class NSString; +@class NSBundle; + +/// An Objective-C compatible wrapper around Lottie’s Animation class. +/// Use in tandem with CompatibleAnimationView when using Lottie in Objective-C +SWIFT_CLASS("_TtC6Lottie19CompatibleAnimation") +@interface CompatibleAnimation : NSObject +- (nonnull instancetype)initWithName:(NSString * _Nonnull)name bundle:(NSBundle * _Nonnull)bundle OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An Objective-C compatible wrapper around Lottie’s AnimationKeypath +SWIFT_CLASS("_TtC6Lottie26CompatibleAnimationKeypath") +@interface CompatibleAnimationKeypath : NSObject +/// Creates a keypath from a dot separated string. The string is separated by “.” +- (nonnull instancetype)initWithKeypath:(NSString * _Nonnull)keypath OBJC_DESIGNATED_INITIALIZER; +/// Creates a keypath from a list of strings. +- (nonnull instancetype)initWithKeys:(NSArray * _Nonnull)keys OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class UIColor; + +/// An Objective-C compatible wrapper around Lottie’s AnimationView. +SWIFT_CLASS("_TtC6Lottie23CompatibleAnimationView") +@interface CompatibleAnimationView : UIView +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; +@property (nonatomic, strong) CompatibleAnimation * _Nullable compatibleAnimation; +@property (nonatomic) CGFloat loopAnimationCount; +@property (nonatomic) UIViewContentMode contentMode; +@property (nonatomic) BOOL shouldRasterizeWhenIdle; +@property (nonatomic) CGFloat currentProgress; +@property (nonatomic) NSTimeInterval currentTime; +@property (nonatomic) CGFloat currentFrame; +@property (nonatomic, readonly) CGFloat realtimeAnimationFrame; +@property (nonatomic, readonly) CGFloat realtimeAnimationProgress; +@property (nonatomic) CGFloat animationSpeed; +@property (nonatomic) BOOL respectAnimationFrameRate; +- (void)play; +- (void)playWithCompletion:(void (^ _Nullable)(BOOL))completion; +- (void)playFromProgress:(CGFloat)fromProgress toProgress:(CGFloat)toProgress completion:(void (^ _Nullable)(BOOL))completion; +- (void)playFromFrame:(CGFloat)fromFrame toFrame:(CGFloat)toFrame completion:(void (^ _Nullable)(BOOL))completion; +- (void)playFromMarker:(NSString * _Nonnull)fromMarker toMarker:(NSString * _Nonnull)toMarker completion:(void (^ _Nullable)(BOOL))completion; +- (void)stop; +- (void)pause; +- (void)reloadImages; +- (void)forceDisplayUpdate; +- (id _Nullable)getValueFor:(CompatibleAnimationKeypath * _Nonnull)keypath atFrame:(CGFloat)atFrame SWIFT_WARN_UNUSED_RESULT; +- (void)logHierarchyKeypaths; +- (void)setColorValue:(UIColor * _Nonnull)color forKeypath:(CompatibleAnimationKeypath * _Nonnull)keypath; +- (UIColor * _Nullable)getColorValueFor:(CompatibleAnimationKeypath * _Nonnull)keypath atFrame:(CGFloat)atFrame SWIFT_WARN_UNUSED_RESULT; +- (void)addSubview:(AnimationSubview * _Nonnull)subview forLayerAt:(CompatibleAnimationKeypath * _Nonnull)keypath; +- (CGRect)convertWithRect:(CGRect)rect toLayerAt:(CompatibleAnimationKeypath * _Nullable)keypath SWIFT_WARN_UNUSED_RESULT; +- (CGPoint)convertWithPoint:(CGPoint)point toLayerAt:(CompatibleAnimationKeypath * _Nullable)keypath SWIFT_WARN_UNUSED_RESULT; +- (CGFloat)progressTimeForMarker:(NSString * _Nonnull)named SWIFT_WARN_UNUSED_RESULT; +- (CGFloat)frameTimeForMarker:(NSString * _Nonnull)named SWIFT_WARN_UNUSED_RESULT; +@end + + + +#endif +#if defined(__cplusplus) +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Headers/lottie-ios-umbrella.h b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Headers/lottie-ios-umbrella.h new file mode 100644 index 0000000000000000000000000000000000000000..287f9db5be6898e841f87de959c2234b3e399652 --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Headers/lottie-ios-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double LottieVersionNumber; +FOUNDATION_EXPORT const unsigned char LottieVersionString[]; + diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Info.plist b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Info.plist new file mode 100644 index 0000000000000000000000000000000000000000..cc1b9053caaccd39804a88cbd4882d1e5e6f81d2 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Info.plist differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Lottie b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Lottie new file mode 100755 index 0000000000000000000000000000000000000000..d931b896759a032d50972d3665926e9bbc067923 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Lottie differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Modules/Lottie.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Modules/Lottie.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo new file mode 100644 index 0000000000000000000000000000000000000000..6622e73c7fdcb00bb6f6fa5fdc559ad21a674314 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Modules/Lottie.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Modules/Lottie.swiftmodule/arm64-apple-ios.abi.json b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Modules/Lottie.swiftmodule/arm64-apple-ios.abi.json new file mode 100644 index 0000000000000000000000000000000000000000..dc109fc0918f13091160f9493ddd85773aef9143 --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Modules/Lottie.swiftmodule/arm64-apple-ios.abi.json @@ -0,0 +1,9 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "json_format_version": 8 + }, + "ConstValues": [] +} \ No newline at end of file diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Modules/Lottie.swiftmodule/arm64-apple-ios.swiftdoc b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Modules/Lottie.swiftmodule/arm64-apple-ios.swiftdoc new file mode 100644 index 0000000000000000000000000000000000000000..2eaa5aa060895d6dad3420abfcd3bbae47dadb98 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Modules/Lottie.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Modules/Lottie.swiftmodule/arm64-apple-ios.swiftmodule b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Modules/Lottie.swiftmodule/arm64-apple-ios.swiftmodule new file mode 100644 index 0000000000000000000000000000000000000000..5fdc5c2e06336bc1ab472b7c6dd6498fd8911e5d Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Modules/Lottie.swiftmodule/arm64-apple-ios.swiftmodule differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Modules/module.modulemap b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Modules/module.modulemap new file mode 100644 index 0000000000000000000000000000000000000000..87f66c8f6f3c59fc1d3abb1397c3ccdfa36b81e3 --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/Lottie.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module Lottie { + umbrella header "lottie-ios-umbrella.h" + + export * + module * { export * } +} + +module Lottie.Swift { + header "Lottie-Swift.h" + requires objc +} diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Headers/MCToast-Swift.h b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Headers/MCToast-Swift.h new file mode 100644 index 0000000000000000000000000000000000000000..45ec705331f0f1ccdfc09659456a0d082e26daa9 --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Headers/MCToast-Swift.h @@ -0,0 +1,301 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) +#ifndef MCTOAST_SWIFT_H +#define MCTOAST_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 "-Wduplicate-method-match" +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#else +#include +#include +#include +#endif + +#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(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if defined(__cplusplus) +#if !defined(SWIFT_NOEXCEPT) +# define SWIFT_NOEXCEPT noexcept +#endif +#else +#if !defined(SWIFT_NOEXCEPT) +# define SWIFT_NOEXCEPT +#endif +#endif +#if defined(__cplusplus) +#if !defined(SWIFT_CXX_INT_DEFINED) +#define SWIFT_CXX_INT_DEFINED +namespace swift { +using Int = ptrdiff_t; +using UInt = size_t; +} +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#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" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="MCToast",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + + +SWIFT_CLASS("_TtC7MCToast7MCToast") +@interface MCToast : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + + + + + + + + + + + + + + + +SWIFT_CLASS("_TtC7MCToast13MCToastConfig") +@interface MCToastConfig : NSObject +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + + + + + + +#endif +#if defined(__cplusplus) +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Headers/MCToast-umbrella.h b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Headers/MCToast-umbrella.h new file mode 100644 index 0000000000000000000000000000000000000000..68c82697ea299184fbb04f79558b6972109ab50f --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Headers/MCToast-umbrella.h @@ -0,0 +1,17 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "MCToast.h" + +FOUNDATION_EXPORT double MCToastVersionNumber; +FOUNDATION_EXPORT const unsigned char MCToastVersionString[]; + diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Headers/MCToast.h b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Headers/MCToast.h new file mode 100644 index 0000000000000000000000000000000000000000..7b37d191fca55861a1fd03efab888818b7d58b99 --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Headers/MCToast.h @@ -0,0 +1,13 @@ +// +// MCToast.h +// Pods +// +// Created by Mccc on 2020/6/28. +// + + +#import + + +FOUNDATION_EXPORT double MCToastVersionNumber; +FOUNDATION_EXPORT const unsigned char MCToastVersionString[]; diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Info.plist b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Info.plist new file mode 100644 index 0000000000000000000000000000000000000000..4d806dbf5379178e8a033964feb8d6a11bb47fd7 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Info.plist differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/MCToast b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/MCToast new file mode 100755 index 0000000000000000000000000000000000000000..7617ad481e2a8c2f1ea06f183b14d1fb15868725 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/MCToast differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Modules/MCToast.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Modules/MCToast.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo new file mode 100644 index 0000000000000000000000000000000000000000..aee6da7cad4cc5648c78e3a437a39b2b70f73484 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Modules/MCToast.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Modules/MCToast.swiftmodule/arm64-apple-ios.abi.json b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Modules/MCToast.swiftmodule/arm64-apple-ios.abi.json new file mode 100644 index 0000000000000000000000000000000000000000..dc109fc0918f13091160f9493ddd85773aef9143 --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Modules/MCToast.swiftmodule/arm64-apple-ios.abi.json @@ -0,0 +1,9 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "json_format_version": 8 + }, + "ConstValues": [] +} \ No newline at end of file diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Modules/MCToast.swiftmodule/arm64-apple-ios.swiftdoc b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Modules/MCToast.swiftmodule/arm64-apple-ios.swiftdoc new file mode 100644 index 0000000000000000000000000000000000000000..6789127b06bd2d657a524da24b1fd817ee4153f4 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Modules/MCToast.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Modules/MCToast.swiftmodule/arm64-apple-ios.swiftmodule b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Modules/MCToast.swiftmodule/arm64-apple-ios.swiftmodule new file mode 100644 index 0000000000000000000000000000000000000000..7b6c80a8356bdca7d7d32ed587d0bc12333ac303 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Modules/MCToast.swiftmodule/arm64-apple-ios.swiftmodule differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Modules/module.modulemap b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Modules/module.modulemap new file mode 100644 index 0000000000000000000000000000000000000000..1dff41cf711eb221d6c0d35bfb67ab522cc554d3 --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module MCToast { + umbrella header "MCToast-umbrella.h" + + export * + module * { export * } +} + +module MCToast.Swift { + header "MCToast-Swift.h" + requires objc +} diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/Info.plist b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/Info.plist new file mode 100644 index 0000000000000000000000000000000000000000..d12b9a15ca2b5930d99a79afd6ddd7dbffd77d99 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/Info.plist differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/_CodeSignature/CodeDirectory b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/_CodeSignature/CodeDirectory new file mode 100644 index 0000000000000000000000000000000000000000..ab4e40faeb4f4cfd8a678b21a77e80a2327e4dc2 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/_CodeSignature/CodeDirectory differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/_CodeSignature/CodeRequirements b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/_CodeSignature/CodeRequirements new file mode 100644 index 0000000000000000000000000000000000000000..981fb2b896ecb92b88b24bd737917f581624c046 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/_CodeSignature/CodeRequirements differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/_CodeSignature/CodeRequirements-1 b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/_CodeSignature/CodeRequirements-1 new file mode 100644 index 0000000000000000000000000000000000000000..2388586bd34b3c436c734ae6240c91f7c6cb7faf Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/_CodeSignature/CodeRequirements-1 differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/_CodeSignature/CodeResources b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/_CodeSignature/CodeResources new file mode 100644 index 0000000000000000000000000000000000000000..c7d7732bb779e1391064dd67a8878fdf3841160e --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/_CodeSignature/CodeResources @@ -0,0 +1,203 @@ + + + + + files + + toast_failure@2x.png + + zndZZC9W9O69AmMNwx9Q9eG1hJs= + + toast_failure@3x.png + + 5DtvCJw4rLFQyiSoGQMMgJ0H3cE= + + toast_success@2x.png + + u+9fn1/2JVdiJ/Oat+vbpH4mEAs= + + toast_success@3x.png + + ZeAmuGcivaQV+x81ySQ68ED4yxc= + + toast_warning@2x.png + + JTEw3xFTwaeYgO3M555D+/OGcfY= + + toast_warning@3x.png + + r3oaIVUa2LRhIfNYOn2OIP2yEGg= + + waiting.json + + Gs0A/3ZZvFQNjrS+mhBOmKrWv70= + + + files2 + + toast_failure@2x.png + + hash + + zndZZC9W9O69AmMNwx9Q9eG1hJs= + + hash2 + + 6EHttOYyqfRfr1lzolG/opuZsRmdofh62gemg1RuBpE= + + + toast_failure@3x.png + + hash + + 5DtvCJw4rLFQyiSoGQMMgJ0H3cE= + + hash2 + + 1WCBDT2uUjgyMFe+nxzc4aihzUlCo5zPordLZihlUUo= + + + toast_success@2x.png + + hash + + u+9fn1/2JVdiJ/Oat+vbpH4mEAs= + + hash2 + + AndMsiK4u4gNU+Sljhr9ujrl/Q7lSNFIVnYT+B3Bruk= + + + toast_success@3x.png + + hash + + ZeAmuGcivaQV+x81ySQ68ED4yxc= + + hash2 + + B86XEh+FsH1i6LWPjTI5g3iUpPke5qG6I75Sq1w1ETw= + + + toast_warning@2x.png + + hash + + JTEw3xFTwaeYgO3M555D+/OGcfY= + + hash2 + + oCbXvGKBYoCMrtm9skxDtBYRzl3SSj0YT96SBUPWvwo= + + + toast_warning@3x.png + + hash + + r3oaIVUa2LRhIfNYOn2OIP2yEGg= + + hash2 + + I1AjnY8FRqs7HIYfd1DKn93bcWDplI608DuS99fn5F8= + + + waiting.json + + hash + + Gs0A/3ZZvFQNjrS+mhBOmKrWv70= + + hash2 + + fmxSIBDNWRC9s3ttjiDK2PIih1UCp5GR5jhWs7bhfdo= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/_CodeSignature/CodeSignature b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/_CodeSignature/CodeSignature new file mode 100644 index 0000000000000000000000000000000000000000..29a4a04999f626cb71b983f5069ec311678047a7 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/_CodeSignature/CodeSignature differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/toast_failure@2x.png b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/toast_failure@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..87383f7fd53e005ae66c756c3b66d2de584e0dbd Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/toast_failure@2x.png differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/toast_failure@3x.png b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/toast_failure@3x.png new file mode 100644 index 0000000000000000000000000000000000000000..b436a99ee35799f10f667efccad933387d8b9c28 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/toast_failure@3x.png differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/toast_success@2x.png b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/toast_success@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..01ba9490793f6ceb1b17a93782cf9f4043893748 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/toast_success@2x.png differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/toast_success@3x.png b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/toast_success@3x.png new file mode 100644 index 0000000000000000000000000000000000000000..d2dd8e91e1c9ba54b4fbae1a4f2b5f6915693a05 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/toast_success@3x.png differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/toast_warning@2x.png b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/toast_warning@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..afedb74518903689b065800cbedde7261f5630b6 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/toast_warning@2x.png differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/toast_warning@3x.png b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/toast_warning@3x.png new file mode 100644 index 0000000000000000000000000000000000000000..a5777b63a4743101a53fabfd76684cccdc8fdd38 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/toast_warning@3x.png differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/waiting.json b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/waiting.json new file mode 100644 index 0000000000000000000000000000000000000000..e7512a0970649c13bdb707c0ef87a46909205e15 --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/MCToast.framework/ToastBundle.bundle/waiting.json @@ -0,0 +1 @@ +{"v":"5.6.1","fr":30,"ip":0,"op":163,"w":300,"h":300,"nm":"combo","ddd":0,"assets":[{"id":"comp_0","layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Shape Layer 1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[150,179.75,0],"ix":2},"a":{"a":0,"k":[0,4.75,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ef":[{"ty":5,"nm":"湍流置换","np":16,"mn":"ADBE Turbulent Displace","ix":1,"en":1,"ef":[{"ty":7,"nm":"置换","mn":"ADBE Turbulent Displace-0001","ix":1,"v":{"a":0,"k":3,"ix":1}},{"ty":0,"nm":"数量","mn":"ADBE Turbulent Displace-0002","ix":2,"v":{"a":0,"k":0,"ix":2}},{"ty":0,"nm":"大小","mn":"ADBE Turbulent Displace-0003","ix":3,"v":{"a":0,"k":100,"ix":3}},{"ty":3,"nm":"偏移(湍流)","mn":"ADBE Turbulent Displace-0004","ix":4,"v":{"a":0,"k":[150,175],"ix":4}},{"ty":0,"nm":"复杂度","mn":"ADBE Turbulent Displace-0005","ix":5,"v":{"a":0,"k":1,"ix":5}},{"ty":0,"nm":"演化","mn":"ADBE Turbulent Displace-0006","ix":6,"v":{"a":0,"k":0,"ix":6}},{"ty":6,"nm":"演化选项","mn":"ADBE Turbulent Displace-0007","ix":7,"v":0},{"ty":7,"nm":"循环演化","mn":"ADBE Turbulent Displace-0008","ix":8,"v":{"a":0,"k":0,"ix":8}},{"ty":0,"nm":"循环(旋转次数)","mn":"ADBE Turbulent Displace-0009","ix":9,"v":{"a":0,"k":1,"ix":9}},{"ty":0,"nm":"随机植入","mn":"ADBE Turbulent Displace-0010","ix":10,"v":{"a":0,"k":0,"ix":10}},{"ty":6,"nm":"随机植入","mn":"ADBE Turbulent Displace-0011","ix":11,"v":0},{"ty":7,"nm":"固定","mn":"ADBE Turbulent Displace-0012","ix":12,"v":{"a":0,"k":3,"ix":12}},{"ty":7,"nm":"调整图层大小","mn":"ADBE Turbulent Displace-0013","ix":13,"v":{"a":0,"k":0,"ix":13}},{"ty":7,"nm":"消除锯齿(最佳品质)","mn":"ADBE Turbulent Displace-0014","ix":14,"v":{"a":0,"k":1,"ix":14}}]}],"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[0,-38],[0,67]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":10,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Shape 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[1],"y":[1]},"o":{"x":[0.737],"y":[0]},"t":15,"s":[0]},{"t":36,"s":[100]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[1],"y":[1]},"o":{"x":[0.765],"y":[0]},"t":15,"s":[5]},{"t":28,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":300,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"big 4","parent":6,"td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":180,"ix":10},"p":{"a":0,"k":[400,313.938,0],"ix":2},"a":{"a":0,"k":[400,314.5,0],"ix":1},"s":{"a":0,"k":[100,-100,100],"ix":6}},"ao":0,"ef":[{"ty":5,"nm":"湍流置换","np":16,"mn":"ADBE Turbulent Displace","ix":1,"en":1,"ef":[{"ty":7,"nm":"置换","mn":"ADBE Turbulent Displace-0001","ix":1,"v":{"a":0,"k":3,"ix":1}},{"ty":0,"nm":"数量","mn":"ADBE Turbulent Displace-0002","ix":2,"v":{"a":0,"k":0,"ix":2}},{"ty":0,"nm":"大小","mn":"ADBE Turbulent Displace-0003","ix":3,"v":{"a":0,"k":21,"ix":3}},{"ty":3,"nm":"偏移(湍流)","mn":"ADBE Turbulent Displace-0004","ix":4,"v":{"a":0,"k":[150,175],"ix":4}},{"ty":0,"nm":"复杂度","mn":"ADBE Turbulent Displace-0005","ix":5,"v":{"a":0,"k":1.26,"ix":5}},{"ty":0,"nm":"演化","mn":"ADBE Turbulent Displace-0006","ix":6,"v":{"a":0,"k":49,"ix":6}},{"ty":6,"nm":"演化选项","mn":"ADBE Turbulent Displace-0007","ix":7,"v":0},{"ty":7,"nm":"循环演化","mn":"ADBE Turbulent Displace-0008","ix":8,"v":{"a":0,"k":0,"ix":8}},{"ty":0,"nm":"循环(旋转次数)","mn":"ADBE Turbulent Displace-0009","ix":9,"v":{"a":0,"k":1,"ix":9}},{"ty":0,"nm":"随机植入","mn":"ADBE Turbulent Displace-0010","ix":10,"v":{"a":0,"k":0,"ix":10}},{"ty":6,"nm":"随机植入","mn":"ADBE Turbulent Displace-0011","ix":11,"v":0},{"ty":7,"nm":"固定","mn":"ADBE Turbulent Displace-0012","ix":12,"v":{"a":0,"k":3,"ix":12}},{"ty":7,"nm":"调整图层大小","mn":"ADBE Turbulent Displace-0013","ix":13,"v":{"a":0,"k":0,"ix":13}},{"ty":7,"nm":"消除锯齿(最佳品质)","mn":"ADBE Turbulent Displace-0014","ix":14,"v":{"a":0,"k":1,"ix":14}}]}],"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.24,3.218],[0,0],[1.931,-2.773],[0,0],[-3.921,0],[0,0]],"o":[[0,0],[-1.931,-2.773],[0,0],[-2.241,3.218],[0,0],[3.921,0]],"v":[[50.04,30.639],[3.983,-35.494],[-3.983,-35.494],[-50.04,30.639],[-46.057,38.267],[46.057,38.267]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.2,0,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[400,353.045],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":300,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"big 3","parent":6,"tt":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[400,387.139,0],"ix":2},"a":{"a":0,"k":[400,387.389,0],"ix":1},"s":{"a":1,"k":[{"t":23,"s":[0,0,100],"h":1},{"t":29,"s":[100,100,100],"h":1}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":28,"s":[{"i":[[4.179,0.09],[0,0],[2.572,-0.035],[0,0],[-3.921,0],[0,0]],"o":[[0,0],[-3.441,0.043],[0,0],[-4.022,0.266],[0,0],[4.568,-0.242]],"v":[[3.79,30.661],[3.754,31.068],[-4.212,31.068],[-4.415,30.683],[-4.807,38.255],[3.245,38.212]],"c":true}]},{"t":50,"s":[{"i":[[2.24,3.218],[0,0],[1.931,-2.773],[0,0],[-3.921,0],[0,0]],"o":[[0,0],[-1.931,-2.773],[0,0],[-2.241,3.218],[0,0],[3.921,0]],"v":[[50.04,30.639],[3.983,-35.494],[-3.983,-35.494],[-50.04,30.639],[-46.057,38.267],[46.057,38.267]],"c":true}]}],"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[400,353.045],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":300,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"big 2","parent":6,"td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":180,"ix":10},"p":{"a":0,"k":[400,286.125,0],"ix":2},"a":{"a":0,"k":[400,314.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.24,3.218],[0,0],[1.931,-2.773],[0,0],[-3.921,0],[0,0]],"o":[[0,0],[-1.931,-2.773],[0,0],[-2.241,3.218],[0,0],[3.921,0]],"v":[[50.04,30.639],[3.983,-35.494],[-3.983,-35.494],[-50.04,30.639],[-46.057,38.267],[46.057,38.267]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.2,0,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[400,353.045],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":300,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"big","parent":6,"tt":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":180,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.631,"y":0},"t":15,"s":[400,286.125,0],"to":[0,23.854,0],"ti":[0,-23.854,0]},{"t":38,"s":[400,429.25,0]}],"ix":2},"a":{"a":0,"k":[400,314.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ef":[{"ty":5,"nm":"湍流置换","np":16,"mn":"ADBE Turbulent Displace","ix":1,"en":1,"ef":[{"ty":7,"nm":"置换","mn":"ADBE Turbulent Displace-0001","ix":1,"v":{"a":0,"k":3,"ix":1}},{"ty":0,"nm":"数量","mn":"ADBE Turbulent Displace-0002","ix":2,"v":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.739],"y":[0]},"t":15,"s":[0]},{"t":26,"s":[-111]}],"ix":2}},{"ty":0,"nm":"大小","mn":"ADBE Turbulent Displace-0003","ix":3,"v":{"a":0,"k":21,"ix":3}},{"ty":3,"nm":"偏移(湍流)","mn":"ADBE Turbulent Displace-0004","ix":4,"v":{"a":0,"k":[150,175],"ix":4}},{"ty":0,"nm":"复杂度","mn":"ADBE Turbulent Displace-0005","ix":5,"v":{"a":0,"k":1.26,"ix":5}},{"ty":0,"nm":"演化","mn":"ADBE Turbulent Displace-0006","ix":6,"v":{"a":0,"k":49,"ix":6}},{"ty":6,"nm":"演化选项","mn":"ADBE Turbulent Displace-0007","ix":7,"v":0},{"ty":7,"nm":"循环演化","mn":"ADBE Turbulent Displace-0008","ix":8,"v":{"a":0,"k":0,"ix":8}},{"ty":0,"nm":"循环(旋转次数)","mn":"ADBE Turbulent Displace-0009","ix":9,"v":{"a":0,"k":1,"ix":9}},{"ty":0,"nm":"随机植入","mn":"ADBE Turbulent Displace-0010","ix":10,"v":{"a":0,"k":0,"ix":10}},{"ty":6,"nm":"随机植入","mn":"ADBE Turbulent Displace-0011","ix":11,"v":0},{"ty":7,"nm":"固定","mn":"ADBE Turbulent Displace-0012","ix":12,"v":{"a":0,"k":3,"ix":12}},{"ty":7,"nm":"调整图层大小","mn":"ADBE Turbulent Displace-0013","ix":13,"v":{"a":0,"k":0,"ix":13}},{"ty":7,"nm":"消除锯齿(最佳品质)","mn":"ADBE Turbulent Displace-0014","ix":14,"v":{"a":0,"k":1,"ix":14}}]}],"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.24,3.218],[0,0],[1.931,-2.773],[0,0],[-3.921,0],[0,0]],"o":[[0,0],[-1.931,-2.773],[0,0],[-2.241,3.218],[0,0],[3.921,0]],"v":[[50.04,30.639],[3.983,-35.494],[-3.983,-35.494],[-50.04,30.639],[-46.057,38.267],[46.057,38.267]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[400,353.045],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":300,"st":0,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"body","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.242],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":62.343,"s":[0]},{"t":73,"s":[180]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.315,"y":1},"o":{"x":0.278,"y":0},"t":23,"s":[149.2,261.2,0],"to":[0.017,0,0],"ti":[0,14.867,0]},{"i":{"x":0.236,"y":1},"o":{"x":0.387,"y":0},"t":50,"s":[149.3,261.2,0],"to":[0,-14.867,0],"ti":[0,0,0]},{"i":{"x":1,"y":1},"o":{"x":1,"y":0},"t":68,"s":[149.2,172,0],"to":[0,0,0],"ti":[0,-0.544,0]},{"t":85,"s":[150.8,93.2,0]}],"ix":2},"a":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":58,"s":[399,407.75,0],"to":[0,-18.125,0],"ti":[0,1.042,0]},{"i":{"x":0.419,"y":0.351},"o":{"x":0.437,"y":0},"t":68,"s":[399,299,0],"to":[0,-0.868,0],"ti":[0,-29.876,0]},{"i":{"x":0.589,"y":0.593},"o":{"x":0.263,"y":0.179},"t":78,"s":[399,341.901,0],"to":[0,4.731,0],"ti":[0,-14.877,0]},{"i":{"x":0.679,"y":0},"o":{"x":0.323,"y":0.431},"t":83,"s":[399,377.319,0],"to":[0,2.066,0],"ti":[0,-5.724,0]},{"i":{"x":0.657,"y":1},"o":{"x":0.323,"y":0.279},"t":84,"s":[399,382.568,0],"to":[0,5.119,0],"ti":[0,-0.28,0]},{"t":85,"s":[399,401.5,0]}],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.02,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":23,"s":[80,80,100]},{"i":{"x":[0.1,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":40,"s":[80,60,100]},{"i":{"x":[0.079,0.079,0.667],"y":[1,1,1]},"o":{"x":[0.43,0.375,0.333],"y":[0,0,0]},"t":50,"s":[70,80,100]},{"t":85,"s":[80,80,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[7.191,0],[0,0],[-3.877,-6.058],[0,0],[1.914,-2.992],[0,0],[-7.192,0],[0,0],[3.877,6.058],[0,0],[-1.914,2.99],[0,0]],"o":[[0,0],[-7.192,0],[0,0],[1.914,2.99],[0,0],[-3.877,6.058],[0,0],[7.191,0],[0,0],[-1.914,-2.992],[0,0],[3.877,-6.058]],"v":[[65.885,-106.176],[-65.884,-106.176],[-73.55,-92.169],[-17.701,-4.905],[-17.701,4.907],[-73.55,92.169],[-65.884,106.176],[65.885,106.176],[73.55,92.169],[17.701,4.907],[17.701,-4.905],[73.55,-92.169]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":15,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[400,300],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":300,"st":0,"bm":0}]}],"layers":[{"ddd":0,"ind":1,"ty":0,"nm":"Hourglass_icon","refId":"comp_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[150,150,0],"ix":2},"a":{"a":0,"k":[150,175,0],"ix":1},"s":{"a":0,"k":[54.593,54.593,100],"ix":6}},"ao":0,"w":300,"h":350,"ip":0,"op":88,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":0,"nm":"Hourglass_icon","refId":"comp_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[150,150,0],"ix":2},"a":{"a":0,"k":[150,175,0],"ix":1},"s":{"a":0,"k":[54.593,54.593,100],"ix":6}},"ao":0,"w":300,"h":350,"ip":88,"op":180,"st":73,"bm":0}],"markers":[]} \ No newline at end of file diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Headers/ToastSwiftFramework-Swift.h b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Headers/ToastSwiftFramework-Swift.h new file mode 100644 index 0000000000000000000000000000000000000000..811caf27e598810eab971b230caa7acbaaa51723 --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Headers/ToastSwiftFramework-Swift.h @@ -0,0 +1,434 @@ +#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 TOASTSWIFTFRAMEWORK_SWIFT_H +#define TOASTSWIFTFRAMEWORK_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 +#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="ToastSwiftFramework",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + +#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 TOASTSWIFTFRAMEWORK_SWIFT_H +#define TOASTSWIFTFRAMEWORK_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 +#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="ToastSwiftFramework",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Headers/ToastSwiftFramework.h b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Headers/ToastSwiftFramework.h new file mode 100644 index 0000000000000000000000000000000000000000..12e6376702237d75dedad8a1d47001d9ee5b3fa8 --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Headers/ToastSwiftFramework.h @@ -0,0 +1,18 @@ +// +// ToastSwiftFramework.h +// ToastSwiftFramework +// +// Created by DCloud on 2022/11/25. +// + +#import + +//! Project version number for ToastSwiftFramework. +FOUNDATION_EXPORT double ToastSwiftFrameworkVersionNumber; + +//! Project version string for ToastSwiftFramework. +FOUNDATION_EXPORT const unsigned char ToastSwiftFrameworkVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Info.plist b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Info.plist new file mode 100644 index 0000000000000000000000000000000000000000..22c4cd868edf755a932a2f13940bd35bfc748b5e Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Info.plist differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/arm.swiftsourceinfo b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/arm.swiftsourceinfo new file mode 100644 index 0000000000000000000000000000000000000000..0b9b0e3b264bdb6c8ef1e3c659cb6e081c7c7cb2 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/arm.swiftsourceinfo differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo new file mode 100644 index 0000000000000000000000000000000000000000..98542e32c1dc889d3cf3694edbde95089e095522 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo new file mode 100644 index 0000000000000000000000000000000000000000..b936e71c4bead509f6f535aef6b06ef67f803987 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/arm64.swiftsourceinfo b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/arm64.swiftsourceinfo new file mode 100644 index 0000000000000000000000000000000000000000..98542e32c1dc889d3cf3694edbde95089e095522 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/arm64.swiftsourceinfo differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/armv7-apple-ios.swiftsourceinfo b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/armv7-apple-ios.swiftsourceinfo new file mode 100644 index 0000000000000000000000000000000000000000..0b9b0e3b264bdb6c8ef1e3c659cb6e081c7c7cb2 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/armv7-apple-ios.swiftsourceinfo differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/armv7.swiftsourceinfo b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/armv7.swiftsourceinfo new file mode 100644 index 0000000000000000000000000000000000000000..0b9b0e3b264bdb6c8ef1e3c659cb6e081c7c7cb2 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/armv7.swiftsourceinfo differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/i386-apple-ios-simulator.swiftsourceinfo b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/i386-apple-ios-simulator.swiftsourceinfo new file mode 100644 index 0000000000000000000000000000000000000000..0209ea83d389efc241f4b57861ef0372daa633fb Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/i386-apple-ios-simulator.swiftsourceinfo differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/i386.swiftsourceinfo b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/i386.swiftsourceinfo new file mode 100644 index 0000000000000000000000000000000000000000..0209ea83d389efc241f4b57861ef0372daa633fb Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/i386.swiftsourceinfo differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo new file mode 100644 index 0000000000000000000000000000000000000000..e8808652ddf3bbcfcaffd6b1ca9091f012976b8d Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/x86_64.swiftsourceinfo b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/x86_64.swiftsourceinfo new file mode 100644 index 0000000000000000000000000000000000000000..e8808652ddf3bbcfcaffd6b1ca9091f012976b8d Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/x86_64.swiftsourceinfo differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm.swiftdoc b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm.swiftdoc new file mode 100644 index 0000000000000000000000000000000000000000..35c2c9e9bdbec11d9858003dd51517ff58fd03b3 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm.swiftdoc differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm.swiftinterface b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm.swiftinterface new file mode 100644 index 0000000000000000000000000000000000000000..bd8c84330794163373ffa6726948696f022e60b8 --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm.swiftinterface @@ -0,0 +1,79 @@ +// 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 ToastSwiftFramework +import ObjectiveC +import Swift +@_exported import ToastSwiftFramework +import UIKit +import _Concurrency +extension UIKit.UIView { + @_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, title: Swift.String? = nil, image: UIKit.UIImage? = nil, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreGraphics.CGPoint, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)?) + @_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreGraphics.CGPoint, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func hideToast() + @_Concurrency.MainActor(unsafe) public func hideToast(_ toast: UIKit.UIView) + @_Concurrency.MainActor(unsafe) public func hideAllToasts(includeActivity: Swift.Bool = false, clearQueue: Swift.Bool = true) + @_Concurrency.MainActor(unsafe) public func clearToastQueue() + @_Concurrency.MainActor(unsafe) public func makeToastActivity(_ position: ToastSwiftFramework.ToastPosition) + @_Concurrency.MainActor(unsafe) public func makeToastActivity(_ point: CoreGraphics.CGPoint) + @_Concurrency.MainActor(unsafe) public func hideToastActivity() + @_Concurrency.MainActor(unsafe) public func toastViewForMessage(_ message: Swift.String?, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle) throws -> UIKit.UIView +} +public struct ToastStyle { + public init() + public var backgroundColor: UIKit.UIColor + public var titleColor: UIKit.UIColor + public var messageColor: UIKit.UIColor + public var maxWidthPercentage: CoreGraphics.CGFloat { + get + set + } + public var maxHeightPercentage: CoreGraphics.CGFloat { + get + set + } + public var horizontalPadding: CoreGraphics.CGFloat + public var verticalPadding: CoreGraphics.CGFloat + public var cornerRadius: CoreGraphics.CGFloat + public var titleFont: UIKit.UIFont + public var messageFont: UIKit.UIFont + public var titleAlignment: UIKit.NSTextAlignment + public var messageAlignment: UIKit.NSTextAlignment + public var titleNumberOfLines: Swift.Int + public var messageNumberOfLines: Swift.Int + public var displayShadow: Swift.Bool + public var shadowColor: UIKit.UIColor + public var shadowOpacity: Swift.Float { + get + set + } + public var shadowRadius: CoreGraphics.CGFloat + public var shadowOffset: CoreGraphics.CGSize + public var imageSize: CoreGraphics.CGSize + public var activitySize: CoreGraphics.CGSize + public var fadeDuration: Swift.Double + public var activityIndicatorColor: UIKit.UIColor + public var activityBackgroundColor: UIKit.UIColor +} +@_hasMissingDesignatedInitializers public class ToastManager { + public static let shared: ToastSwiftFramework.ToastManager + public var style: ToastSwiftFramework.ToastStyle + public var isTapToDismissEnabled: Swift.Bool + public var isQueueEnabled: Swift.Bool + public var duration: Swift.Double + public var position: ToastSwiftFramework.ToastPosition + @objc deinit +} +public enum ToastPosition { + case top + case center + case bottom + public static func == (a: ToastSwiftFramework.ToastPosition, b: ToastSwiftFramework.ToastPosition) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +extension ToastSwiftFramework.ToastPosition : Swift.Equatable {} +extension ToastSwiftFramework.ToastPosition : Swift.Hashable {} diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm.swiftmodule b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm.swiftmodule new file mode 100644 index 0000000000000000000000000000000000000000..933d54fafcd50b6355b207f29e41b8cc23db1054 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm.swiftmodule differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000000000000000000000000000000000000..e59afa7ca987659ee7d99b0dace1f5bec2079673 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000000000000000000000000000000000000..5d11d3e150df74d892dc81781d63487ded30f830 --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,79 @@ +// 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-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name ToastSwiftFramework +import ObjectiveC +import Swift +@_exported import ToastSwiftFramework +import UIKit +import _Concurrency +extension UIKit.UIView { + @_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, title: Swift.String? = nil, image: UIKit.UIImage? = nil, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreGraphics.CGPoint, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)?) + @_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreGraphics.CGPoint, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func hideToast() + @_Concurrency.MainActor(unsafe) public func hideToast(_ toast: UIKit.UIView) + @_Concurrency.MainActor(unsafe) public func hideAllToasts(includeActivity: Swift.Bool = false, clearQueue: Swift.Bool = true) + @_Concurrency.MainActor(unsafe) public func clearToastQueue() + @_Concurrency.MainActor(unsafe) public func makeToastActivity(_ position: ToastSwiftFramework.ToastPosition) + @_Concurrency.MainActor(unsafe) public func makeToastActivity(_ point: CoreGraphics.CGPoint) + @_Concurrency.MainActor(unsafe) public func hideToastActivity() + @_Concurrency.MainActor(unsafe) public func toastViewForMessage(_ message: Swift.String?, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle) throws -> UIKit.UIView +} +public struct ToastStyle { + public init() + public var backgroundColor: UIKit.UIColor + public var titleColor: UIKit.UIColor + public var messageColor: UIKit.UIColor + public var maxWidthPercentage: CoreGraphics.CGFloat { + get + set + } + public var maxHeightPercentage: CoreGraphics.CGFloat { + get + set + } + public var horizontalPadding: CoreGraphics.CGFloat + public var verticalPadding: CoreGraphics.CGFloat + public var cornerRadius: CoreGraphics.CGFloat + public var titleFont: UIKit.UIFont + public var messageFont: UIKit.UIFont + public var titleAlignment: UIKit.NSTextAlignment + public var messageAlignment: UIKit.NSTextAlignment + public var titleNumberOfLines: Swift.Int + public var messageNumberOfLines: Swift.Int + public var displayShadow: Swift.Bool + public var shadowColor: UIKit.UIColor + public var shadowOpacity: Swift.Float { + get + set + } + public var shadowRadius: CoreGraphics.CGFloat + public var shadowOffset: CoreGraphics.CGSize + public var imageSize: CoreGraphics.CGSize + public var activitySize: CoreGraphics.CGSize + public var fadeDuration: Swift.Double + public var activityIndicatorColor: UIKit.UIColor + public var activityBackgroundColor: UIKit.UIColor +} +@_hasMissingDesignatedInitializers public class ToastManager { + public static let shared: ToastSwiftFramework.ToastManager + public var style: ToastSwiftFramework.ToastStyle + public var isTapToDismissEnabled: Swift.Bool + public var isQueueEnabled: Swift.Bool + public var duration: Swift.Double + public var position: ToastSwiftFramework.ToastPosition + @objc deinit +} +public enum ToastPosition { + case top + case center + case bottom + public static func == (a: ToastSwiftFramework.ToastPosition, b: ToastSwiftFramework.ToastPosition) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +extension ToastSwiftFramework.ToastPosition : Swift.Equatable {} +extension ToastSwiftFramework.ToastPosition : Swift.Hashable {} diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios-simulator.swiftmodule b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios-simulator.swiftmodule new file mode 100644 index 0000000000000000000000000000000000000000..e05f8d204bcbe0e92103ddcfd9cd1e8a5360b0c9 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios-simulator.swiftmodule differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios.swiftdoc b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios.swiftdoc new file mode 100644 index 0000000000000000000000000000000000000000..8e8b3c069e69eead98a6dbdc12f08363c68d5061 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios.swiftinterface b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios.swiftinterface new file mode 100644 index 0000000000000000000000000000000000000000..97c3b0e02379d0613f6106781ed88334f2822317 --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios.swiftinterface @@ -0,0 +1,79 @@ +// 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 ToastSwiftFramework +import ObjectiveC +import Swift +@_exported import ToastSwiftFramework +import UIKit +import _Concurrency +extension UIKit.UIView { + @_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, title: Swift.String? = nil, image: UIKit.UIImage? = nil, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreGraphics.CGPoint, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)?) + @_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreGraphics.CGPoint, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func hideToast() + @_Concurrency.MainActor(unsafe) public func hideToast(_ toast: UIKit.UIView) + @_Concurrency.MainActor(unsafe) public func hideAllToasts(includeActivity: Swift.Bool = false, clearQueue: Swift.Bool = true) + @_Concurrency.MainActor(unsafe) public func clearToastQueue() + @_Concurrency.MainActor(unsafe) public func makeToastActivity(_ position: ToastSwiftFramework.ToastPosition) + @_Concurrency.MainActor(unsafe) public func makeToastActivity(_ point: CoreGraphics.CGPoint) + @_Concurrency.MainActor(unsafe) public func hideToastActivity() + @_Concurrency.MainActor(unsafe) public func toastViewForMessage(_ message: Swift.String?, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle) throws -> UIKit.UIView +} +public struct ToastStyle { + public init() + public var backgroundColor: UIKit.UIColor + public var titleColor: UIKit.UIColor + public var messageColor: UIKit.UIColor + public var maxWidthPercentage: CoreGraphics.CGFloat { + get + set + } + public var maxHeightPercentage: CoreGraphics.CGFloat { + get + set + } + public var horizontalPadding: CoreGraphics.CGFloat + public var verticalPadding: CoreGraphics.CGFloat + public var cornerRadius: CoreGraphics.CGFloat + public var titleFont: UIKit.UIFont + public var messageFont: UIKit.UIFont + public var titleAlignment: UIKit.NSTextAlignment + public var messageAlignment: UIKit.NSTextAlignment + public var titleNumberOfLines: Swift.Int + public var messageNumberOfLines: Swift.Int + public var displayShadow: Swift.Bool + public var shadowColor: UIKit.UIColor + public var shadowOpacity: Swift.Float { + get + set + } + public var shadowRadius: CoreGraphics.CGFloat + public var shadowOffset: CoreGraphics.CGSize + public var imageSize: CoreGraphics.CGSize + public var activitySize: CoreGraphics.CGSize + public var fadeDuration: Swift.Double + public var activityIndicatorColor: UIKit.UIColor + public var activityBackgroundColor: UIKit.UIColor +} +@_hasMissingDesignatedInitializers public class ToastManager { + public static let shared: ToastSwiftFramework.ToastManager + public var style: ToastSwiftFramework.ToastStyle + public var isTapToDismissEnabled: Swift.Bool + public var isQueueEnabled: Swift.Bool + public var duration: Swift.Double + public var position: ToastSwiftFramework.ToastPosition + @objc deinit +} +public enum ToastPosition { + case top + case center + case bottom + public static func == (a: ToastSwiftFramework.ToastPosition, b: ToastSwiftFramework.ToastPosition) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +extension ToastSwiftFramework.ToastPosition : Swift.Equatable {} +extension ToastSwiftFramework.ToastPosition : Swift.Hashable {} diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios.swiftmodule b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios.swiftmodule new file mode 100644 index 0000000000000000000000000000000000000000..8ba533b8ef0b31e6e0506dd9750ba2ebe530517d Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios.swiftmodule differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64.swiftdoc b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000000000000000000000000000000000000..e59afa7ca987659ee7d99b0dace1f5bec2079673 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64.swiftdoc differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64.swiftinterface b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000000000000000000000000000000000000..5d11d3e150df74d892dc81781d63487ded30f830 --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64.swiftinterface @@ -0,0 +1,79 @@ +// 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-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name ToastSwiftFramework +import ObjectiveC +import Swift +@_exported import ToastSwiftFramework +import UIKit +import _Concurrency +extension UIKit.UIView { + @_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, title: Swift.String? = nil, image: UIKit.UIImage? = nil, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreGraphics.CGPoint, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)?) + @_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreGraphics.CGPoint, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func hideToast() + @_Concurrency.MainActor(unsafe) public func hideToast(_ toast: UIKit.UIView) + @_Concurrency.MainActor(unsafe) public func hideAllToasts(includeActivity: Swift.Bool = false, clearQueue: Swift.Bool = true) + @_Concurrency.MainActor(unsafe) public func clearToastQueue() + @_Concurrency.MainActor(unsafe) public func makeToastActivity(_ position: ToastSwiftFramework.ToastPosition) + @_Concurrency.MainActor(unsafe) public func makeToastActivity(_ point: CoreGraphics.CGPoint) + @_Concurrency.MainActor(unsafe) public func hideToastActivity() + @_Concurrency.MainActor(unsafe) public func toastViewForMessage(_ message: Swift.String?, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle) throws -> UIKit.UIView +} +public struct ToastStyle { + public init() + public var backgroundColor: UIKit.UIColor + public var titleColor: UIKit.UIColor + public var messageColor: UIKit.UIColor + public var maxWidthPercentage: CoreGraphics.CGFloat { + get + set + } + public var maxHeightPercentage: CoreGraphics.CGFloat { + get + set + } + public var horizontalPadding: CoreGraphics.CGFloat + public var verticalPadding: CoreGraphics.CGFloat + public var cornerRadius: CoreGraphics.CGFloat + public var titleFont: UIKit.UIFont + public var messageFont: UIKit.UIFont + public var titleAlignment: UIKit.NSTextAlignment + public var messageAlignment: UIKit.NSTextAlignment + public var titleNumberOfLines: Swift.Int + public var messageNumberOfLines: Swift.Int + public var displayShadow: Swift.Bool + public var shadowColor: UIKit.UIColor + public var shadowOpacity: Swift.Float { + get + set + } + public var shadowRadius: CoreGraphics.CGFloat + public var shadowOffset: CoreGraphics.CGSize + public var imageSize: CoreGraphics.CGSize + public var activitySize: CoreGraphics.CGSize + public var fadeDuration: Swift.Double + public var activityIndicatorColor: UIKit.UIColor + public var activityBackgroundColor: UIKit.UIColor +} +@_hasMissingDesignatedInitializers public class ToastManager { + public static let shared: ToastSwiftFramework.ToastManager + public var style: ToastSwiftFramework.ToastStyle + public var isTapToDismissEnabled: Swift.Bool + public var isQueueEnabled: Swift.Bool + public var duration: Swift.Double + public var position: ToastSwiftFramework.ToastPosition + @objc deinit +} +public enum ToastPosition { + case top + case center + case bottom + public static func == (a: ToastSwiftFramework.ToastPosition, b: ToastSwiftFramework.ToastPosition) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +extension ToastSwiftFramework.ToastPosition : Swift.Equatable {} +extension ToastSwiftFramework.ToastPosition : Swift.Hashable {} diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64.swiftmodule b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64.swiftmodule new file mode 100644 index 0000000000000000000000000000000000000000..e05f8d204bcbe0e92103ddcfd9cd1e8a5360b0c9 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64.swiftmodule differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/armv7-apple-ios.swiftdoc b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/armv7-apple-ios.swiftdoc new file mode 100644 index 0000000000000000000000000000000000000000..35c2c9e9bdbec11d9858003dd51517ff58fd03b3 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/armv7-apple-ios.swiftdoc differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/armv7-apple-ios.swiftinterface b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/armv7-apple-ios.swiftinterface new file mode 100644 index 0000000000000000000000000000000000000000..bd8c84330794163373ffa6726948696f022e60b8 --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/armv7-apple-ios.swiftinterface @@ -0,0 +1,79 @@ +// 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 ToastSwiftFramework +import ObjectiveC +import Swift +@_exported import ToastSwiftFramework +import UIKit +import _Concurrency +extension UIKit.UIView { + @_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, title: Swift.String? = nil, image: UIKit.UIImage? = nil, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreGraphics.CGPoint, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)?) + @_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreGraphics.CGPoint, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func hideToast() + @_Concurrency.MainActor(unsafe) public func hideToast(_ toast: UIKit.UIView) + @_Concurrency.MainActor(unsafe) public func hideAllToasts(includeActivity: Swift.Bool = false, clearQueue: Swift.Bool = true) + @_Concurrency.MainActor(unsafe) public func clearToastQueue() + @_Concurrency.MainActor(unsafe) public func makeToastActivity(_ position: ToastSwiftFramework.ToastPosition) + @_Concurrency.MainActor(unsafe) public func makeToastActivity(_ point: CoreGraphics.CGPoint) + @_Concurrency.MainActor(unsafe) public func hideToastActivity() + @_Concurrency.MainActor(unsafe) public func toastViewForMessage(_ message: Swift.String?, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle) throws -> UIKit.UIView +} +public struct ToastStyle { + public init() + public var backgroundColor: UIKit.UIColor + public var titleColor: UIKit.UIColor + public var messageColor: UIKit.UIColor + public var maxWidthPercentage: CoreGraphics.CGFloat { + get + set + } + public var maxHeightPercentage: CoreGraphics.CGFloat { + get + set + } + public var horizontalPadding: CoreGraphics.CGFloat + public var verticalPadding: CoreGraphics.CGFloat + public var cornerRadius: CoreGraphics.CGFloat + public var titleFont: UIKit.UIFont + public var messageFont: UIKit.UIFont + public var titleAlignment: UIKit.NSTextAlignment + public var messageAlignment: UIKit.NSTextAlignment + public var titleNumberOfLines: Swift.Int + public var messageNumberOfLines: Swift.Int + public var displayShadow: Swift.Bool + public var shadowColor: UIKit.UIColor + public var shadowOpacity: Swift.Float { + get + set + } + public var shadowRadius: CoreGraphics.CGFloat + public var shadowOffset: CoreGraphics.CGSize + public var imageSize: CoreGraphics.CGSize + public var activitySize: CoreGraphics.CGSize + public var fadeDuration: Swift.Double + public var activityIndicatorColor: UIKit.UIColor + public var activityBackgroundColor: UIKit.UIColor +} +@_hasMissingDesignatedInitializers public class ToastManager { + public static let shared: ToastSwiftFramework.ToastManager + public var style: ToastSwiftFramework.ToastStyle + public var isTapToDismissEnabled: Swift.Bool + public var isQueueEnabled: Swift.Bool + public var duration: Swift.Double + public var position: ToastSwiftFramework.ToastPosition + @objc deinit +} +public enum ToastPosition { + case top + case center + case bottom + public static func == (a: ToastSwiftFramework.ToastPosition, b: ToastSwiftFramework.ToastPosition) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +extension ToastSwiftFramework.ToastPosition : Swift.Equatable {} +extension ToastSwiftFramework.ToastPosition : Swift.Hashable {} diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/armv7-apple-ios.swiftmodule b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/armv7-apple-ios.swiftmodule new file mode 100644 index 0000000000000000000000000000000000000000..933d54fafcd50b6355b207f29e41b8cc23db1054 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/armv7-apple-ios.swiftmodule differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/armv7.swiftdoc b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/armv7.swiftdoc new file mode 100644 index 0000000000000000000000000000000000000000..35c2c9e9bdbec11d9858003dd51517ff58fd03b3 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/armv7.swiftdoc differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/armv7.swiftinterface b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/armv7.swiftinterface new file mode 100644 index 0000000000000000000000000000000000000000..bd8c84330794163373ffa6726948696f022e60b8 --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/armv7.swiftinterface @@ -0,0 +1,79 @@ +// 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 ToastSwiftFramework +import ObjectiveC +import Swift +@_exported import ToastSwiftFramework +import UIKit +import _Concurrency +extension UIKit.UIView { + @_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, title: Swift.String? = nil, image: UIKit.UIImage? = nil, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreGraphics.CGPoint, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)?) + @_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreGraphics.CGPoint, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func hideToast() + @_Concurrency.MainActor(unsafe) public func hideToast(_ toast: UIKit.UIView) + @_Concurrency.MainActor(unsafe) public func hideAllToasts(includeActivity: Swift.Bool = false, clearQueue: Swift.Bool = true) + @_Concurrency.MainActor(unsafe) public func clearToastQueue() + @_Concurrency.MainActor(unsafe) public func makeToastActivity(_ position: ToastSwiftFramework.ToastPosition) + @_Concurrency.MainActor(unsafe) public func makeToastActivity(_ point: CoreGraphics.CGPoint) + @_Concurrency.MainActor(unsafe) public func hideToastActivity() + @_Concurrency.MainActor(unsafe) public func toastViewForMessage(_ message: Swift.String?, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle) throws -> UIKit.UIView +} +public struct ToastStyle { + public init() + public var backgroundColor: UIKit.UIColor + public var titleColor: UIKit.UIColor + public var messageColor: UIKit.UIColor + public var maxWidthPercentage: CoreGraphics.CGFloat { + get + set + } + public var maxHeightPercentage: CoreGraphics.CGFloat { + get + set + } + public var horizontalPadding: CoreGraphics.CGFloat + public var verticalPadding: CoreGraphics.CGFloat + public var cornerRadius: CoreGraphics.CGFloat + public var titleFont: UIKit.UIFont + public var messageFont: UIKit.UIFont + public var titleAlignment: UIKit.NSTextAlignment + public var messageAlignment: UIKit.NSTextAlignment + public var titleNumberOfLines: Swift.Int + public var messageNumberOfLines: Swift.Int + public var displayShadow: Swift.Bool + public var shadowColor: UIKit.UIColor + public var shadowOpacity: Swift.Float { + get + set + } + public var shadowRadius: CoreGraphics.CGFloat + public var shadowOffset: CoreGraphics.CGSize + public var imageSize: CoreGraphics.CGSize + public var activitySize: CoreGraphics.CGSize + public var fadeDuration: Swift.Double + public var activityIndicatorColor: UIKit.UIColor + public var activityBackgroundColor: UIKit.UIColor +} +@_hasMissingDesignatedInitializers public class ToastManager { + public static let shared: ToastSwiftFramework.ToastManager + public var style: ToastSwiftFramework.ToastStyle + public var isTapToDismissEnabled: Swift.Bool + public var isQueueEnabled: Swift.Bool + public var duration: Swift.Double + public var position: ToastSwiftFramework.ToastPosition + @objc deinit +} +public enum ToastPosition { + case top + case center + case bottom + public static func == (a: ToastSwiftFramework.ToastPosition, b: ToastSwiftFramework.ToastPosition) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +extension ToastSwiftFramework.ToastPosition : Swift.Equatable {} +extension ToastSwiftFramework.ToastPosition : Swift.Hashable {} diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/armv7.swiftmodule b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/armv7.swiftmodule new file mode 100644 index 0000000000000000000000000000000000000000..933d54fafcd50b6355b207f29e41b8cc23db1054 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/armv7.swiftmodule differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/i386-apple-ios-simulator.swiftdoc b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/i386-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000000000000000000000000000000000000..b618dd341ee4104ed0e170f7708d5dcc4673c754 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/i386-apple-ios-simulator.swiftdoc differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/i386-apple-ios-simulator.swiftinterface b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/i386-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000000000000000000000000000000000000..ae43e7e52b98bc139c513bc735426278a6daf589 --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/i386-apple-ios-simulator.swiftinterface @@ -0,0 +1,79 @@ +// 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 ToastSwiftFramework +import ObjectiveC +import Swift +@_exported import ToastSwiftFramework +import UIKit +import _Concurrency +extension UIKit.UIView { + @_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, title: Swift.String? = nil, image: UIKit.UIImage? = nil, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreGraphics.CGPoint, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)?) + @_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreGraphics.CGPoint, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func hideToast() + @_Concurrency.MainActor(unsafe) public func hideToast(_ toast: UIKit.UIView) + @_Concurrency.MainActor(unsafe) public func hideAllToasts(includeActivity: Swift.Bool = false, clearQueue: Swift.Bool = true) + @_Concurrency.MainActor(unsafe) public func clearToastQueue() + @_Concurrency.MainActor(unsafe) public func makeToastActivity(_ position: ToastSwiftFramework.ToastPosition) + @_Concurrency.MainActor(unsafe) public func makeToastActivity(_ point: CoreGraphics.CGPoint) + @_Concurrency.MainActor(unsafe) public func hideToastActivity() + @_Concurrency.MainActor(unsafe) public func toastViewForMessage(_ message: Swift.String?, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle) throws -> UIKit.UIView +} +public struct ToastStyle { + public init() + public var backgroundColor: UIKit.UIColor + public var titleColor: UIKit.UIColor + public var messageColor: UIKit.UIColor + public var maxWidthPercentage: CoreGraphics.CGFloat { + get + set + } + public var maxHeightPercentage: CoreGraphics.CGFloat { + get + set + } + public var horizontalPadding: CoreGraphics.CGFloat + public var verticalPadding: CoreGraphics.CGFloat + public var cornerRadius: CoreGraphics.CGFloat + public var titleFont: UIKit.UIFont + public var messageFont: UIKit.UIFont + public var titleAlignment: UIKit.NSTextAlignment + public var messageAlignment: UIKit.NSTextAlignment + public var titleNumberOfLines: Swift.Int + public var messageNumberOfLines: Swift.Int + public var displayShadow: Swift.Bool + public var shadowColor: UIKit.UIColor + public var shadowOpacity: Swift.Float { + get + set + } + public var shadowRadius: CoreGraphics.CGFloat + public var shadowOffset: CoreGraphics.CGSize + public var imageSize: CoreGraphics.CGSize + public var activitySize: CoreGraphics.CGSize + public var fadeDuration: Swift.Double + public var activityIndicatorColor: UIKit.UIColor + public var activityBackgroundColor: UIKit.UIColor +} +@_hasMissingDesignatedInitializers public class ToastManager { + public static let shared: ToastSwiftFramework.ToastManager + public var style: ToastSwiftFramework.ToastStyle + public var isTapToDismissEnabled: Swift.Bool + public var isQueueEnabled: Swift.Bool + public var duration: Swift.Double + public var position: ToastSwiftFramework.ToastPosition + @objc deinit +} +public enum ToastPosition { + case top + case center + case bottom + public static func == (a: ToastSwiftFramework.ToastPosition, b: ToastSwiftFramework.ToastPosition) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +extension ToastSwiftFramework.ToastPosition : Swift.Equatable {} +extension ToastSwiftFramework.ToastPosition : Swift.Hashable {} diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/i386-apple-ios-simulator.swiftmodule b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/i386-apple-ios-simulator.swiftmodule new file mode 100644 index 0000000000000000000000000000000000000000..64873915c4fdab13b7dd574d7d65d53026c184f7 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/i386-apple-ios-simulator.swiftmodule differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/i386.swiftdoc b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/i386.swiftdoc new file mode 100644 index 0000000000000000000000000000000000000000..b618dd341ee4104ed0e170f7708d5dcc4673c754 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/i386.swiftdoc differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/i386.swiftinterface b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/i386.swiftinterface new file mode 100644 index 0000000000000000000000000000000000000000..ae43e7e52b98bc139c513bc735426278a6daf589 --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/i386.swiftinterface @@ -0,0 +1,79 @@ +// 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 ToastSwiftFramework +import ObjectiveC +import Swift +@_exported import ToastSwiftFramework +import UIKit +import _Concurrency +extension UIKit.UIView { + @_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, title: Swift.String? = nil, image: UIKit.UIImage? = nil, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreGraphics.CGPoint, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)?) + @_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreGraphics.CGPoint, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func hideToast() + @_Concurrency.MainActor(unsafe) public func hideToast(_ toast: UIKit.UIView) + @_Concurrency.MainActor(unsafe) public func hideAllToasts(includeActivity: Swift.Bool = false, clearQueue: Swift.Bool = true) + @_Concurrency.MainActor(unsafe) public func clearToastQueue() + @_Concurrency.MainActor(unsafe) public func makeToastActivity(_ position: ToastSwiftFramework.ToastPosition) + @_Concurrency.MainActor(unsafe) public func makeToastActivity(_ point: CoreGraphics.CGPoint) + @_Concurrency.MainActor(unsafe) public func hideToastActivity() + @_Concurrency.MainActor(unsafe) public func toastViewForMessage(_ message: Swift.String?, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle) throws -> UIKit.UIView +} +public struct ToastStyle { + public init() + public var backgroundColor: UIKit.UIColor + public var titleColor: UIKit.UIColor + public var messageColor: UIKit.UIColor + public var maxWidthPercentage: CoreGraphics.CGFloat { + get + set + } + public var maxHeightPercentage: CoreGraphics.CGFloat { + get + set + } + public var horizontalPadding: CoreGraphics.CGFloat + public var verticalPadding: CoreGraphics.CGFloat + public var cornerRadius: CoreGraphics.CGFloat + public var titleFont: UIKit.UIFont + public var messageFont: UIKit.UIFont + public var titleAlignment: UIKit.NSTextAlignment + public var messageAlignment: UIKit.NSTextAlignment + public var titleNumberOfLines: Swift.Int + public var messageNumberOfLines: Swift.Int + public var displayShadow: Swift.Bool + public var shadowColor: UIKit.UIColor + public var shadowOpacity: Swift.Float { + get + set + } + public var shadowRadius: CoreGraphics.CGFloat + public var shadowOffset: CoreGraphics.CGSize + public var imageSize: CoreGraphics.CGSize + public var activitySize: CoreGraphics.CGSize + public var fadeDuration: Swift.Double + public var activityIndicatorColor: UIKit.UIColor + public var activityBackgroundColor: UIKit.UIColor +} +@_hasMissingDesignatedInitializers public class ToastManager { + public static let shared: ToastSwiftFramework.ToastManager + public var style: ToastSwiftFramework.ToastStyle + public var isTapToDismissEnabled: Swift.Bool + public var isQueueEnabled: Swift.Bool + public var duration: Swift.Double + public var position: ToastSwiftFramework.ToastPosition + @objc deinit +} +public enum ToastPosition { + case top + case center + case bottom + public static func == (a: ToastSwiftFramework.ToastPosition, b: ToastSwiftFramework.ToastPosition) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +extension ToastSwiftFramework.ToastPosition : Swift.Equatable {} +extension ToastSwiftFramework.ToastPosition : Swift.Hashable {} diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/i386.swiftmodule b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/i386.swiftmodule new file mode 100644 index 0000000000000000000000000000000000000000..64873915c4fdab13b7dd574d7d65d53026c184f7 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/i386.swiftmodule differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000000000000000000000000000000000000..4c4cd82ec705cb5f73fe7e9162c9414bba8623d8 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000000000000000000000000000000000000..e71a9f8d6219eba82037b3e5de79a360cdf096bb --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,79 @@ +// 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 ToastSwiftFramework +import ObjectiveC +import Swift +@_exported import ToastSwiftFramework +import UIKit +import _Concurrency +extension UIKit.UIView { + @_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, title: Swift.String? = nil, image: UIKit.UIImage? = nil, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreGraphics.CGPoint, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)?) + @_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreGraphics.CGPoint, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func hideToast() + @_Concurrency.MainActor(unsafe) public func hideToast(_ toast: UIKit.UIView) + @_Concurrency.MainActor(unsafe) public func hideAllToasts(includeActivity: Swift.Bool = false, clearQueue: Swift.Bool = true) + @_Concurrency.MainActor(unsafe) public func clearToastQueue() + @_Concurrency.MainActor(unsafe) public func makeToastActivity(_ position: ToastSwiftFramework.ToastPosition) + @_Concurrency.MainActor(unsafe) public func makeToastActivity(_ point: CoreGraphics.CGPoint) + @_Concurrency.MainActor(unsafe) public func hideToastActivity() + @_Concurrency.MainActor(unsafe) public func toastViewForMessage(_ message: Swift.String?, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle) throws -> UIKit.UIView +} +public struct ToastStyle { + public init() + public var backgroundColor: UIKit.UIColor + public var titleColor: UIKit.UIColor + public var messageColor: UIKit.UIColor + public var maxWidthPercentage: CoreGraphics.CGFloat { + get + set + } + public var maxHeightPercentage: CoreGraphics.CGFloat { + get + set + } + public var horizontalPadding: CoreGraphics.CGFloat + public var verticalPadding: CoreGraphics.CGFloat + public var cornerRadius: CoreGraphics.CGFloat + public var titleFont: UIKit.UIFont + public var messageFont: UIKit.UIFont + public var titleAlignment: UIKit.NSTextAlignment + public var messageAlignment: UIKit.NSTextAlignment + public var titleNumberOfLines: Swift.Int + public var messageNumberOfLines: Swift.Int + public var displayShadow: Swift.Bool + public var shadowColor: UIKit.UIColor + public var shadowOpacity: Swift.Float { + get + set + } + public var shadowRadius: CoreGraphics.CGFloat + public var shadowOffset: CoreGraphics.CGSize + public var imageSize: CoreGraphics.CGSize + public var activitySize: CoreGraphics.CGSize + public var fadeDuration: Swift.Double + public var activityIndicatorColor: UIKit.UIColor + public var activityBackgroundColor: UIKit.UIColor +} +@_hasMissingDesignatedInitializers public class ToastManager { + public static let shared: ToastSwiftFramework.ToastManager + public var style: ToastSwiftFramework.ToastStyle + public var isTapToDismissEnabled: Swift.Bool + public var isQueueEnabled: Swift.Bool + public var duration: Swift.Double + public var position: ToastSwiftFramework.ToastPosition + @objc deinit +} +public enum ToastPosition { + case top + case center + case bottom + public static func == (a: ToastSwiftFramework.ToastPosition, b: ToastSwiftFramework.ToastPosition) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +extension ToastSwiftFramework.ToastPosition : Swift.Equatable {} +extension ToastSwiftFramework.ToastPosition : Swift.Hashable {} diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64-apple-ios-simulator.swiftmodule b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64-apple-ios-simulator.swiftmodule new file mode 100644 index 0000000000000000000000000000000000000000..6b3a8b1a48cb981ee0df19b4086ed7b53a64d171 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64-apple-ios-simulator.swiftmodule differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64.swiftdoc b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000000000000000000000000000000000000..4c4cd82ec705cb5f73fe7e9162c9414bba8623d8 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64.swiftdoc differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64.swiftinterface b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000000000000000000000000000000000000..e71a9f8d6219eba82037b3e5de79a360cdf096bb --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,79 @@ +// 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 ToastSwiftFramework +import ObjectiveC +import Swift +@_exported import ToastSwiftFramework +import UIKit +import _Concurrency +extension UIKit.UIView { + @_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, title: Swift.String? = nil, image: UIKit.UIImage? = nil, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreGraphics.CGPoint, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)?) + @_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreGraphics.CGPoint, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil) + @_Concurrency.MainActor(unsafe) public func hideToast() + @_Concurrency.MainActor(unsafe) public func hideToast(_ toast: UIKit.UIView) + @_Concurrency.MainActor(unsafe) public func hideAllToasts(includeActivity: Swift.Bool = false, clearQueue: Swift.Bool = true) + @_Concurrency.MainActor(unsafe) public func clearToastQueue() + @_Concurrency.MainActor(unsafe) public func makeToastActivity(_ position: ToastSwiftFramework.ToastPosition) + @_Concurrency.MainActor(unsafe) public func makeToastActivity(_ point: CoreGraphics.CGPoint) + @_Concurrency.MainActor(unsafe) public func hideToastActivity() + @_Concurrency.MainActor(unsafe) public func toastViewForMessage(_ message: Swift.String?, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle) throws -> UIKit.UIView +} +public struct ToastStyle { + public init() + public var backgroundColor: UIKit.UIColor + public var titleColor: UIKit.UIColor + public var messageColor: UIKit.UIColor + public var maxWidthPercentage: CoreGraphics.CGFloat { + get + set + } + public var maxHeightPercentage: CoreGraphics.CGFloat { + get + set + } + public var horizontalPadding: CoreGraphics.CGFloat + public var verticalPadding: CoreGraphics.CGFloat + public var cornerRadius: CoreGraphics.CGFloat + public var titleFont: UIKit.UIFont + public var messageFont: UIKit.UIFont + public var titleAlignment: UIKit.NSTextAlignment + public var messageAlignment: UIKit.NSTextAlignment + public var titleNumberOfLines: Swift.Int + public var messageNumberOfLines: Swift.Int + public var displayShadow: Swift.Bool + public var shadowColor: UIKit.UIColor + public var shadowOpacity: Swift.Float { + get + set + } + public var shadowRadius: CoreGraphics.CGFloat + public var shadowOffset: CoreGraphics.CGSize + public var imageSize: CoreGraphics.CGSize + public var activitySize: CoreGraphics.CGSize + public var fadeDuration: Swift.Double + public var activityIndicatorColor: UIKit.UIColor + public var activityBackgroundColor: UIKit.UIColor +} +@_hasMissingDesignatedInitializers public class ToastManager { + public static let shared: ToastSwiftFramework.ToastManager + public var style: ToastSwiftFramework.ToastStyle + public var isTapToDismissEnabled: Swift.Bool + public var isQueueEnabled: Swift.Bool + public var duration: Swift.Double + public var position: ToastSwiftFramework.ToastPosition + @objc deinit +} +public enum ToastPosition { + case top + case center + case bottom + public static func == (a: ToastSwiftFramework.ToastPosition, b: ToastSwiftFramework.ToastPosition) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +extension ToastSwiftFramework.ToastPosition : Swift.Equatable {} +extension ToastSwiftFramework.ToastPosition : Swift.Hashable {} diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64.swiftmodule b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64.swiftmodule new file mode 100644 index 0000000000000000000000000000000000000000..6b3a8b1a48cb981ee0df19b4086ed7b53a64d171 Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64.swiftmodule differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/module.modulemap b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/module.modulemap new file mode 100644 index 0000000000000000000000000000000000000000..2fa54b4cd03cb0c328b15ef1bb274c8082d16361 --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module ToastSwiftFramework { + umbrella header "ToastSwiftFramework.h" + + export * + module * { export * } +} + +module ToastSwiftFramework.Swift { + header "ToastSwiftFramework-Swift.h" + requires objc +} diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/ToastSwiftFramework b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/ToastSwiftFramework new file mode 100644 index 0000000000000000000000000000000000000000..2133b045b7da1ea9fe3a19ac59934064998d46af Binary files /dev/null and b/uni_modules/uni-showToast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/ToastSwiftFramework differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Resources/uni_uts_toast_error.png b/uni_modules/uni-showToast/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-showToast/utssdk/app-ios/Resources/uni_uts_toast_error.png differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/Resources/uni_uts_toast_success.png b/uni_modules/uni-showToast/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-showToast/utssdk/app-ios/Resources/uni_uts_toast_success.png differ diff --git a/uni_modules/uni-showToast/utssdk/app-ios/config.json b/uni_modules/uni-showToast/utssdk/app-ios/config.json new file mode 100644 index 0000000000000000000000000000000000000000..dd8425868067e32c1329a0a974e7a83d59719f23 --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-ios/config.json @@ -0,0 +1,5 @@ +{ + "validArchitectures": [ + "arm64" + ] +} diff --git a/uni_modules/uni-showToast/utssdk/app-ios/index.uts b/uni_modules/uni-showToast/utssdk/app-ios/index.uts new file mode 100644 index 0000000000000000000000000000000000000000..5b9a636c7cf7548843ad7191264461bdb64a1199 --- /dev/null +++ b/uni_modules/uni-showToast/utssdk/app-ios/index.uts @@ -0,0 +1,76 @@ +import { UTSiOS } from "DCloudUTSFoundation" +import { MCToast, MCToastConfig } from "MCToast" +import { UIScreen, UIImage } from 'UIKit' + +type ToastResultObject = { + errMsg: string, +} + +type ToastOptions = { + title: string, + icon?: string, + image?: string, + mask?: boolean, + duration?: number, //毫秒 + position?: string, + success?: (res: ToastResultObject) => void, + fail?: (res: ToastResultObject) => void, + complete?: (res: ToastResultObject) => void +} + +export default function showToast(options: ToastOptions) { + if (options.title == null || options.title.length == 0) { + options.fail?.({ errMsg: 'showToast:title is null' }) + options.complete?.({ errMsg: 'showToast:title is null' }) + } else { + //duration + let duration = 3.0 + if (options.duration != null) { + duration = Double(options.duration! / 1000) + } + + //mask + let mask = MCToast.MCToastRespond.default + if (options.mask == true) { + mask = MCToast.MCToastRespond.noRespond + } + + //position + if (options.position != null) { + const interval = 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 = interval + } + MCToast.mc_text(options.title, offset = centerPoint, duration = duration, 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 = duration, respond = mask) + + } else if (options.icon != null) { + if (options.icon == "success") { + MCToast.mc_success(options.title, duration = duration, respond = mask) + } else if (options.icon == "error") { + MCToast.mc_failure(options.title, duration = duration, respond = mask) + } else if (options.icon == "loading") { + MCToast.mc_loading(text = options.title, duration = duration, respond = mask) + } else { + MCToast.mc_text(options.title, offset = 0, duration = duration, respond = mask) + } + } else { + MCToast.mc_text(options.title, offset = 0, duration = duration, respond = mask) + } + } + options.success?.({ errMsg: 'showToast::ok' }) + options.complete?.({ errMsg: 'showToast::ok' }) + } + +}