@tarojs/plugin-platform-harmony-ets 4.0.0-beta.57 → 4.0.0-beta.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/device/clipboard.ts +6 -1
- package/dist/apis/ui/interaction/index.ts +1 -11
- package/dist/components-harmony-ets/index.ets +7 -0
- package/dist/components-harmony-ets/listView.ets +26 -0
- package/dist/components-harmony-ets/scrollList.ets +94 -0
- package/dist/components-harmony-ets/scrollView.ets +1 -1
- package/dist/components-harmony-ets/stickySection.ets +42 -0
- package/dist/components-harmony-ets/tag.ts +4 -0
- package/dist/runtime-ets/dom/cssNesting.ts +34 -16
- package/dist/runtime-ets/dom/element/index.ts +1 -0
- package/dist/runtime-ets/dom/stylesheet/covertWeb2Hm.ts +86 -9
- package/dist/runtime-utils.d.ts +1 -1
- package/dist/runtime-utils.js +7 -12
- package/dist/runtime-utils.js.map +1 -1
- package/dist/runtime.js +7 -12
- package/dist/runtime.js.map +1 -1
- package/package.json +9 -9
package/dist/runtime.js
CHANGED
|
@@ -656,7 +656,12 @@ const setClipboardData = function (options) {
|
|
|
656
656
|
callAsyncFail(reject, res, options);
|
|
657
657
|
}
|
|
658
658
|
else {
|
|
659
|
-
promptAction.showToast({
|
|
659
|
+
promptAction.showToast({
|
|
660
|
+
message: '内容已复制',
|
|
661
|
+
duration: 1500,
|
|
662
|
+
bottom: '50%',
|
|
663
|
+
showMode: 1 // 设置弹窗显示模式,显示在应用之上。
|
|
664
|
+
});
|
|
660
665
|
return handle.success({
|
|
661
666
|
data,
|
|
662
667
|
}, { resolve, reject });
|
|
@@ -3645,7 +3650,6 @@ function showToast(options) {
|
|
|
3645
3650
|
message: options.title,
|
|
3646
3651
|
duration: options.duration,
|
|
3647
3652
|
bottom: options.bottom,
|
|
3648
|
-
// @ts-ignore
|
|
3649
3653
|
showMode: 1 // 设置弹窗显示模式,显示在应用之上。
|
|
3650
3654
|
});
|
|
3651
3655
|
callAsyncSuccess(resolve, resCallback('showToast'), options);
|
|
@@ -3735,16 +3739,7 @@ function showActionSheet(options) {
|
|
|
3735
3739
|
});
|
|
3736
3740
|
});
|
|
3737
3741
|
}
|
|
3738
|
-
|
|
3739
|
-
return new Promise(resolve => {
|
|
3740
|
-
promptAction.showToast({
|
|
3741
|
-
message: '关闭中',
|
|
3742
|
-
duration: 10,
|
|
3743
|
-
bottom: '9999px'
|
|
3744
|
-
});
|
|
3745
|
-
callAsyncSuccess(resolve, resCallback('hideToast'), options);
|
|
3746
|
-
});
|
|
3747
|
-
}
|
|
3742
|
+
const hideToast = /* @__PURE__ */ temporarilyNotSupport('hideToast');
|
|
3748
3743
|
const showLoading = temporarilyNotSupport('showLoading');
|
|
3749
3744
|
const hideLoading = temporarilyNotSupport('hideLoading');
|
|
3750
3745
|
const enableAlertBeforeUnload = /* @__PURE__ */ temporarilyNotSupport('enableAlertBeforeUnload');
|