@extscreen/es-core 2.2.36 → 2.2.40
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/index.js +19 -24
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -571,77 +571,77 @@ var ESNetworkManager$1 = new ESNetworkManager();
|
|
571
571
|
class ESToastModule {
|
572
572
|
|
573
573
|
make() {
|
574
|
-
Vue.Native.callNative('ToastModule',
|
574
|
+
Vue.Native.callNative('ToastModule', 'make');
|
575
575
|
}
|
576
576
|
|
577
577
|
setMode(mode) {
|
578
|
-
Vue.Native.callNative('ToastModule',
|
578
|
+
Vue.Native.callNative('ToastModule', 'setMode', mode);
|
579
579
|
}
|
580
580
|
|
581
581
|
setGravity(gravity, xOffset, yOffset) {
|
582
|
-
Vue.Native.callNative('ToastModule',
|
582
|
+
Vue.Native.callNative('ToastModule', 'setGravity', gravity, xOffset, yOffset);
|
583
583
|
}
|
584
584
|
|
585
585
|
setBackgroundColor(backgroundColor) {
|
586
|
-
Vue.Native.callNative('ToastModule',
|
586
|
+
Vue.Native.callNative('ToastModule', 'setBgColor', backgroundColor);
|
587
587
|
}
|
588
588
|
|
589
589
|
setTextColor(textColor) {
|
590
|
-
Vue.Native.callNative('ToastModule',
|
590
|
+
Vue.Native.callNative('ToastModule', 'setTextColor', textColor);
|
591
591
|
}
|
592
592
|
|
593
593
|
setTextSize(textSize) {
|
594
|
-
Vue.Native.callNative('ToastModule',
|
594
|
+
Vue.Native.callNative('ToastModule', 'setTextSize', textSize);
|
595
595
|
}
|
596
596
|
|
597
597
|
setLongDuration(isLong) {
|
598
|
-
Vue.Native.callNative('ToastModule',
|
598
|
+
Vue.Native.callNative('ToastModule', 'setLongDuration', isLong);
|
599
599
|
}
|
600
600
|
|
601
601
|
setNotUseSystemToast() {
|
602
|
-
Vue.Native.callNative('ToastModule',
|
602
|
+
Vue.Native.callNative('ToastModule', 'setNotUseSystemToast');
|
603
603
|
}
|
604
604
|
|
605
605
|
show(text) {
|
606
|
-
Vue.Native.callNative('ToastModule',
|
606
|
+
Vue.Native.callNative('ToastModule', 'show', text);
|
607
607
|
}
|
608
608
|
|
609
609
|
cancel() {
|
610
|
-
Vue.Native.callNative('ToastModule',
|
610
|
+
Vue.Native.callNative('ToastModule', 'cancel');
|
611
611
|
}
|
612
612
|
|
613
613
|
setBackground(url) {
|
614
|
-
Vue.Native.callNative('ToastModule',
|
614
|
+
Vue.Native.callNative('ToastModule', 'setBackground', { url: url });
|
615
615
|
}
|
616
616
|
|
617
617
|
setLeftIcon(url) {
|
618
|
-
Vue.Native.callNative('ToastModule',
|
618
|
+
Vue.Native.callNative('ToastModule', 'setLeftIcon', { url: url });
|
619
619
|
}
|
620
620
|
|
621
621
|
setTopIcon(url) {
|
622
|
-
Vue.Native.callNative('ToastModule',
|
622
|
+
Vue.Native.callNative('ToastModule', 'setTopIcon', { url: url });
|
623
623
|
}
|
624
624
|
|
625
625
|
setRightIcon(url) {
|
626
|
-
Vue.Native.callNative('ToastModule',
|
626
|
+
Vue.Native.callNative('ToastModule', 'setRightIcon', { url: url });
|
627
627
|
}
|
628
628
|
|
629
629
|
setBottomIcon(url) {
|
630
|
-
Vue.Native.callNative('ToastModule',
|
630
|
+
Vue.Native.callNative('ToastModule', 'setBottomIcon', { url: url });
|
631
631
|
}
|
632
632
|
|
633
633
|
|
634
634
|
//----------------------------------------------------------------------------------
|
635
635
|
showToast(message) {
|
636
|
-
Vue.Native.callNative('ToastModule',
|
636
|
+
Vue.Native.callNative('ToastModule', 'showToast', message);
|
637
637
|
}
|
638
638
|
|
639
639
|
showLongToast(message) {
|
640
|
-
Vue.Native.callNative('ToastModule',
|
640
|
+
Vue.Native.callNative('ToastModule', 'showLongToast', message);
|
641
641
|
}
|
642
642
|
|
643
643
|
showShortToast(message) {
|
644
|
-
Vue.Native.callNative('ToastModule',
|
644
|
+
Vue.Native.callNative('ToastModule', 'showShortToast', message);
|
645
645
|
}
|
646
646
|
}
|
647
647
|
|
@@ -2475,12 +2475,7 @@ class ESLaunchManager {
|
|
2475
2475
|
|
2476
2476
|
launchNativePage(intent) {
|
2477
2477
|
return ESModule$1.launchESPage({
|
2478
|
-
|
2479
|
-
args: intent.args,
|
2480
|
-
flags: intent.flags,
|
2481
|
-
pageTag: intent.pageTag,
|
2482
|
-
pageLimit: intent.pageLimit,
|
2483
|
-
backgroundColor: intent.backgroundColor,
|
2478
|
+
args: intent,
|
2484
2479
|
});
|
2485
2480
|
}
|
2486
2481
|
|