@foundbyte/uni-libs 0.0.3 → 0.0.5
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/es/configs/app/app.hwtest.d.ts +3 -0
- package/es/configs/app/app.hwtest.js +14 -11
- package/es/configs/app/app.prod.d.ts +3 -0
- package/es/configs/app/app.prod.js +14 -11
- package/es/configs/app/app.type.d.ts +10 -15
- package/es/configs/app/index.d.ts +7 -0
- package/es/configs/app/index.js +24 -31
- package/es/configs/index.d.ts +1 -0
- package/es/constants/index.d.ts +1 -0
- package/es/constants/routes/index.d.ts +74 -79
- package/es/constants/routes/index.js +78 -46
- package/es/entry.d.ts +14 -19
- package/es/entry.js +35 -38
- package/es/enums/business-line/index.d.ts +71 -76
- package/es/enums/business-line/index.js +36 -115
- package/es/enums/environment/index.d.ts +5 -10
- package/es/enums/environment/index.js +4 -15
- package/es/enums/index.d.ts +5 -0
- package/es/enums/sdk/index.d.ts +5 -10
- package/es/enums/sdk/index.js +4 -15
- package/es/enums/storage/index.d.ts +2 -7
- package/es/enums/storage/index.js +4 -12
- package/es/enums/sub/enjoy/index.d.ts +14 -19
- package/es/enums/sub/enjoy/index.js +12 -19
- package/es/enums/sub/foods/index.d.ts +3 -8
- package/es/enums/sub/foods/index.js +4 -11
- package/es/enums/sub/hotel/index.d.ts +2 -7
- package/es/enums/sub/hotel/index.js +4 -12
- package/es/enums/sub/index.d.ts +3 -0
- package/es/index.d.ts +5 -16
- package/es/index.js +43 -16
- package/es/libs/webview/uni.webview.1.5.5.js +126 -194
- package/es/services/config/index.d.ts +5 -0
- package/es/services/config/index.js +6 -12
- package/es/services/goods/index.d.ts +2 -0
- package/es/services/goods/type.d.ts +20 -27
- package/es/services/goods/util.d.ts +6 -0
- package/es/services/goods/util.js +74 -122
- package/es/services/index.d.ts +2 -0
- package/es/types/index.d.ts +1 -0
- package/es/types/one-travel-service/index.d.ts +7 -14
- package/es/utils/common/index.d.ts +4 -9
- package/es/utils/common/index.js +25 -42
- package/es/utils/index.d.ts +3 -0
- package/es/utils/pages/activity-calendar/index.d.ts +4 -7
- package/es/utils/pages/activity-calendar/index.js +8 -11
- package/es/utils/pages/food/index.d.ts +2 -7
- package/es/utils/pages/food/index.js +5 -32
- package/es/utils/pages/index.d.ts +3 -0
- package/es/utils/pages/webview/index.d.ts +7 -11
- package/es/utils/pages/webview/index.js +7 -10
- package/es/utils/web-view/index.d.ts +18 -23
- package/es/utils/web-view/index.js +47 -87
- package/package.json +1 -1
- package/es/_virtual/rolldown_runtime.js +0 -27
- package/es/configs/app/app.hwtest.js.map +0 -1
- package/es/configs/app/app.prod.js.map +0 -1
- package/es/configs/app/app.type.d.ts.map +0 -1
- package/es/configs/app/index.js.map +0 -1
- package/es/constants/routes/index.d.ts.map +0 -1
- package/es/constants/routes/index.js.map +0 -1
- package/es/entry.d.ts.map +0 -1
- package/es/entry.js.map +0 -1
- package/es/enums/business-line/index.d.ts.map +0 -1
- package/es/enums/business-line/index.js.map +0 -1
- package/es/enums/environment/index.d.ts.map +0 -1
- package/es/enums/environment/index.js.map +0 -1
- package/es/enums/sdk/index.d.ts.map +0 -1
- package/es/enums/sdk/index.js.map +0 -1
- package/es/enums/storage/index.d.ts.map +0 -1
- package/es/enums/storage/index.js.map +0 -1
- package/es/enums/sub/enjoy/index.d.ts.map +0 -1
- package/es/enums/sub/enjoy/index.js.map +0 -1
- package/es/enums/sub/foods/index.d.ts.map +0 -1
- package/es/enums/sub/foods/index.js.map +0 -1
- package/es/enums/sub/hotel/index.d.ts.map +0 -1
- package/es/enums/sub/hotel/index.js.map +0 -1
- package/es/libs/webview/uni.webview.1.5.5.js.map +0 -1
- package/es/services/config/index.js.map +0 -1
- package/es/services/goods/type.d.ts.map +0 -1
- package/es/services/goods/util.js.map +0 -1
- package/es/types/one-travel-service/index.d.ts.map +0 -1
- package/es/utils/common/index.d.ts.map +0 -1
- package/es/utils/common/index.js.map +0 -1
- package/es/utils/pages/activity-calendar/index.d.ts.map +0 -1
- package/es/utils/pages/activity-calendar/index.js.map +0 -1
- package/es/utils/pages/food/index.d.ts.map +0 -1
- package/es/utils/pages/food/index.js.map +0 -1
- package/es/utils/pages/webview/index.d.ts.map +0 -1
- package/es/utils/pages/webview/index.js.map +0 -1
- package/es/utils/web-view/index.d.ts.map +0 -1
- package/es/utils/web-view/index.js.map +0 -1
|
@@ -1,85 +1,80 @@
|
|
|
1
|
-
//#region src/enums/business-line/index.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* 业务线
|
|
4
3
|
*/
|
|
5
|
-
declare enum EBusinessLine {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
4
|
+
export declare enum EBusinessLine {
|
|
5
|
+
/** 景区/门票 */
|
|
6
|
+
Scenic = 1,
|
|
7
|
+
/** 酒店 */
|
|
8
|
+
Hotel = 2,
|
|
9
|
+
/** 民宿 */
|
|
10
|
+
Homestay = 3,
|
|
11
|
+
/** 酒店/民宿 */
|
|
12
|
+
HotelAndHomestay = "2,3",
|
|
13
|
+
/** 路线/定制 */
|
|
14
|
+
Route = 4,
|
|
15
|
+
/** 出行 */
|
|
16
|
+
Travel = 5,
|
|
17
|
+
/** 美食 */
|
|
18
|
+
Foods = 6,
|
|
19
|
+
/** 购物 */
|
|
20
|
+
Buy = 7,
|
|
21
|
+
/** 文娱 */
|
|
22
|
+
Entertainment = 8,
|
|
23
|
+
/** 攻略 */
|
|
24
|
+
Strategy = 9,
|
|
25
|
+
/** 种草 */
|
|
26
|
+
Recommend = 10,
|
|
27
|
+
/** 活动 */
|
|
28
|
+
Activity = 11,
|
|
29
|
+
/** 声入贵州 */
|
|
30
|
+
SoundGuizhou = 12,
|
|
31
|
+
/** 精彩视频 */
|
|
32
|
+
ExcitingVideo = 13,
|
|
33
|
+
/** 吐槽建议 */
|
|
34
|
+
Spot = 14,
|
|
35
|
+
/** 同城景区 */
|
|
36
|
+
SameCityScenic = 15,
|
|
37
|
+
/** 新闻 */
|
|
38
|
+
News = 16,
|
|
39
|
+
/** 景区目的地 */
|
|
40
|
+
ScenicDestination = 17,
|
|
41
|
+
/** 直播 */
|
|
42
|
+
Live = 18,
|
|
43
|
+
/** 首页跳转活动日历 */
|
|
44
|
+
HomeActivity = 19,
|
|
45
|
+
/** 便民服务 */
|
|
46
|
+
Convenientervice = 20,
|
|
47
|
+
/** 导游服务 */
|
|
48
|
+
TourGuideService = 21,
|
|
49
|
+
/** 智能行程 */
|
|
50
|
+
SmartRoute = 22,
|
|
51
|
+
/** ai助手 */
|
|
52
|
+
AiAssistant = 23,
|
|
53
|
+
/** 一码贵州购物 枚举 */
|
|
54
|
+
Onebuygz = 101,
|
|
55
|
+
/** 消费券,前端定义,后端无定义 */
|
|
56
|
+
ConsumerCoupon = 901,
|
|
57
|
+
/** 直播 前端定义,后端无定义 */
|
|
58
|
+
Living = 907,
|
|
59
|
+
/** 实名认证 前端定义,后端无定义 */
|
|
60
|
+
RealName = 908
|
|
62
61
|
}
|
|
63
62
|
/**
|
|
64
63
|
* 业务线名称映射
|
|
65
64
|
*/
|
|
66
|
-
declare const BusinessLineDict: Record<EBusinessLine, string>;
|
|
65
|
+
export declare const BusinessLineDict: Record<EBusinessLine, string>;
|
|
67
66
|
/** 子业务线 */
|
|
68
|
-
declare enum ESubBizType {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
67
|
+
export declare enum ESubBizType {
|
|
68
|
+
/** 景区预约(免费) */
|
|
69
|
+
ScenicAppoint = 11,
|
|
70
|
+
/** 景区门票(购票) */
|
|
71
|
+
ScenicTicket = 12,
|
|
72
|
+
/** 民宿爆款 */
|
|
73
|
+
HomestayHot = 31,
|
|
74
|
+
/** 民宿酒店 */
|
|
75
|
+
HomestayHotel = 32,
|
|
76
|
+
/** 文娱演出 */
|
|
77
|
+
EntertainmentPerform = 81,
|
|
78
|
+
/** 文娱场馆(预约) */
|
|
79
|
+
EntertainmentVenue = 82
|
|
81
80
|
}
|
|
82
|
-
//# sourceMappingURL=index.d.ts.map
|
|
83
|
-
//#endregion
|
|
84
|
-
export { BusinessLineDict, EBusinessLine, ESubBizType };
|
|
85
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,116 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
EBusinessLine$1[EBusinessLine$1["SameCityScenic"] = 15] = "SameCityScenic";
|
|
38
|
-
/** 新闻 */
|
|
39
|
-
EBusinessLine$1[EBusinessLine$1["News"] = 16] = "News";
|
|
40
|
-
/** 景区目的地 */
|
|
41
|
-
EBusinessLine$1[EBusinessLine$1["ScenicDestination"] = 17] = "ScenicDestination";
|
|
42
|
-
/** 直播 */
|
|
43
|
-
EBusinessLine$1[EBusinessLine$1["Live"] = 18] = "Live";
|
|
44
|
-
/** 首页跳转活动日历 */
|
|
45
|
-
EBusinessLine$1[EBusinessLine$1["HomeActivity"] = 19] = "HomeActivity";
|
|
46
|
-
/** 便民服务 */
|
|
47
|
-
EBusinessLine$1[EBusinessLine$1["Convenientervice"] = 20] = "Convenientervice";
|
|
48
|
-
/** 导游服务 */
|
|
49
|
-
EBusinessLine$1[EBusinessLine$1["TourGuideService"] = 21] = "TourGuideService";
|
|
50
|
-
/** 智能行程 */
|
|
51
|
-
EBusinessLine$1[EBusinessLine$1["SmartRoute"] = 22] = "SmartRoute";
|
|
52
|
-
/** ai助手 */
|
|
53
|
-
EBusinessLine$1[EBusinessLine$1["AiAssistant"] = 23] = "AiAssistant";
|
|
54
|
-
/** 一码贵州购物 枚举 */
|
|
55
|
-
EBusinessLine$1[EBusinessLine$1["Onebuygz"] = 101] = "Onebuygz";
|
|
56
|
-
/** 消费券,前端定义,后端无定义 */
|
|
57
|
-
EBusinessLine$1[EBusinessLine$1["ConsumerCoupon"] = 901] = "ConsumerCoupon";
|
|
58
|
-
/** 直播 前端定义,后端无定义 */
|
|
59
|
-
EBusinessLine$1[EBusinessLine$1["Living"] = 907] = "Living";
|
|
60
|
-
/** 实名认证 前端定义,后端无定义 */
|
|
61
|
-
EBusinessLine$1[EBusinessLine$1["RealName"] = 908] = "RealName";
|
|
62
|
-
return EBusinessLine$1;
|
|
63
|
-
}({});
|
|
64
|
-
/**
|
|
65
|
-
* 业务线名称映射
|
|
66
|
-
*/
|
|
67
|
-
const BusinessLineDict = {
|
|
68
|
-
[EBusinessLine.Scenic]: "景区",
|
|
69
|
-
[EBusinessLine.Hotel]: "酒店",
|
|
70
|
-
[EBusinessLine.Homestay]: "民宿",
|
|
71
|
-
[EBusinessLine.HotelAndHomestay]: "酒店/民宿",
|
|
72
|
-
[EBusinessLine.Route]: "路线",
|
|
73
|
-
[EBusinessLine.Travel]: "出行",
|
|
74
|
-
[EBusinessLine.Foods]: "美食",
|
|
75
|
-
[EBusinessLine.Buy]: "购物",
|
|
76
|
-
[EBusinessLine.Entertainment]: "文娱",
|
|
77
|
-
[EBusinessLine.Strategy]: "攻略",
|
|
78
|
-
[EBusinessLine.Recommend]: "种草",
|
|
79
|
-
[EBusinessLine.Activity]: "活动",
|
|
80
|
-
[EBusinessLine.SoundGuizhou]: "声入贵州",
|
|
81
|
-
[EBusinessLine.ExcitingVideo]: "精彩视频",
|
|
82
|
-
[EBusinessLine.Spot]: "吐槽建议",
|
|
83
|
-
[EBusinessLine.SameCityScenic]: "同城景区",
|
|
84
|
-
[EBusinessLine.News]: "新闻",
|
|
85
|
-
[EBusinessLine.ScenicDestination]: "景区目的地",
|
|
86
|
-
[EBusinessLine.Live]: "直播",
|
|
87
|
-
[EBusinessLine.HomeActivity]: "HomeActivity",
|
|
88
|
-
[EBusinessLine.Convenientervice]: "按钮",
|
|
89
|
-
[EBusinessLine.TourGuideService]: "导游服务",
|
|
90
|
-
[EBusinessLine.SmartRoute]: "智能行程",
|
|
91
|
-
[EBusinessLine.AiAssistant]: "AI旅游小助手",
|
|
92
|
-
[EBusinessLine.Onebuygz]: "购物",
|
|
93
|
-
[EBusinessLine.ConsumerCoupon]: "消费券",
|
|
94
|
-
[EBusinessLine.Living]: "直播",
|
|
95
|
-
[EBusinessLine.RealName]: "实名认证"
|
|
1
|
+
var o = /* @__PURE__ */ ((t) => (t[t.Scenic = 1] = "Scenic", t[t.Hotel = 2] = "Hotel", t[t.Homestay = 3] = "Homestay", t.HotelAndHomestay = "2,3", t[t.Route = 4] = "Route", t[t.Travel = 5] = "Travel", t[t.Foods = 6] = "Foods", t[t.Buy = 7] = "Buy", t[t.Entertainment = 8] = "Entertainment", t[t.Strategy = 9] = "Strategy", t[t.Recommend = 10] = "Recommend", t[t.Activity = 11] = "Activity", t[t.SoundGuizhou = 12] = "SoundGuizhou", t[t.ExcitingVideo = 13] = "ExcitingVideo", t[t.Spot = 14] = "Spot", t[t.SameCityScenic = 15] = "SameCityScenic", t[t.News = 16] = "News", t[t.ScenicDestination = 17] = "ScenicDestination", t[t.Live = 18] = "Live", t[t.HomeActivity = 19] = "HomeActivity", t[t.Convenientervice = 20] = "Convenientervice", t[t.TourGuideService = 21] = "TourGuideService", t[t.SmartRoute = 22] = "SmartRoute", t[t.AiAssistant = 23] = "AiAssistant", t[t.Onebuygz = 101] = "Onebuygz", t[t.ConsumerCoupon = 901] = "ConsumerCoupon", t[t.Living = 907] = "Living", t[t.RealName = 908] = "RealName", t))(o || {});
|
|
2
|
+
const a = {
|
|
3
|
+
1: "景区",
|
|
4
|
+
2: "酒店",
|
|
5
|
+
3: "民宿",
|
|
6
|
+
"2,3": "酒店/民宿",
|
|
7
|
+
4: "路线",
|
|
8
|
+
5: "出行",
|
|
9
|
+
6: "美食",
|
|
10
|
+
7: "购物",
|
|
11
|
+
8: "文娱",
|
|
12
|
+
9: "攻略",
|
|
13
|
+
10: "种草",
|
|
14
|
+
11: "活动",
|
|
15
|
+
12: "声入贵州",
|
|
16
|
+
13: "精彩视频",
|
|
17
|
+
14: "吐槽建议",
|
|
18
|
+
15: "同城景区",
|
|
19
|
+
16: "新闻",
|
|
20
|
+
17: "景区目的地",
|
|
21
|
+
18: "直播",
|
|
22
|
+
19: "HomeActivity",
|
|
23
|
+
20: "按钮",
|
|
24
|
+
21: "导游服务",
|
|
25
|
+
22: "智能行程",
|
|
26
|
+
23: "AI旅游小助手",
|
|
27
|
+
101: "购物",
|
|
28
|
+
901: "消费券",
|
|
29
|
+
907: "直播",
|
|
30
|
+
908: "实名认证"
|
|
31
|
+
};
|
|
32
|
+
var c = /* @__PURE__ */ ((t) => (t[t.ScenicAppoint = 11] = "ScenicAppoint", t[t.ScenicTicket = 12] = "ScenicTicket", t[t.HomestayHot = 31] = "HomestayHot", t[t.HomestayHotel = 32] = "HomestayHotel", t[t.EntertainmentPerform = 81] = "EntertainmentPerform", t[t.EntertainmentVenue = 82] = "EntertainmentVenue", t))(c || {});
|
|
33
|
+
export {
|
|
34
|
+
a as BusinessLineDict,
|
|
35
|
+
o as EBusinessLine,
|
|
36
|
+
c as ESubBizType
|
|
96
37
|
};
|
|
97
|
-
/** 子业务线 */
|
|
98
|
-
let ESubBizType = /* @__PURE__ */ function(ESubBizType$1) {
|
|
99
|
-
/** 景区预约(免费) */
|
|
100
|
-
ESubBizType$1[ESubBizType$1["ScenicAppoint"] = 11] = "ScenicAppoint";
|
|
101
|
-
/** 景区门票(购票) */
|
|
102
|
-
ESubBizType$1[ESubBizType$1["ScenicTicket"] = 12] = "ScenicTicket";
|
|
103
|
-
/** 民宿爆款 */
|
|
104
|
-
ESubBizType$1[ESubBizType$1["HomestayHot"] = 31] = "HomestayHot";
|
|
105
|
-
/** 民宿酒店 */
|
|
106
|
-
ESubBizType$1[ESubBizType$1["HomestayHotel"] = 32] = "HomestayHotel";
|
|
107
|
-
/** 文娱演出 */
|
|
108
|
-
ESubBizType$1[ESubBizType$1["EntertainmentPerform"] = 81] = "EntertainmentPerform";
|
|
109
|
-
/** 文娱场馆(预约) */
|
|
110
|
-
ESubBizType$1[ESubBizType$1["EntertainmentVenue"] = 82] = "EntertainmentVenue";
|
|
111
|
-
return ESubBizType$1;
|
|
112
|
-
}({});
|
|
113
|
-
|
|
114
|
-
//#endregion
|
|
115
|
-
export { BusinessLineDict, EBusinessLine, ESubBizType };
|
|
116
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
//#region src/enums/environment/index.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* 环境变量枚举
|
|
4
3
|
*/
|
|
5
|
-
declare enum EAppEnv {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
export declare enum EAppEnv {
|
|
5
|
+
/** 测试 */
|
|
6
|
+
test = "test",
|
|
7
|
+
/** 生产 */
|
|
8
|
+
prod = "prod"
|
|
10
9
|
}
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
|
12
|
-
//#endregion
|
|
13
|
-
export { EAppEnv };
|
|
14
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
let EAppEnv = /* @__PURE__ */ function(EAppEnv$1) {
|
|
6
|
-
/** 测试 */
|
|
7
|
-
EAppEnv$1["test"] = "test";
|
|
8
|
-
/** 生产 */
|
|
9
|
-
EAppEnv$1["prod"] = "prod";
|
|
10
|
-
return EAppEnv$1;
|
|
11
|
-
}({});
|
|
12
|
-
|
|
13
|
-
//#endregion
|
|
14
|
-
export { EAppEnv };
|
|
15
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
var t = /* @__PURE__ */ ((r) => (r.test = "test", r.prod = "prod", r))(t || {});
|
|
2
|
+
export {
|
|
3
|
+
t as EAppEnv
|
|
4
|
+
};
|
package/es/enums/sdk/index.d.ts
CHANGED
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
//#region src/enums/sdk/index.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* 调用者
|
|
4
3
|
*/
|
|
5
|
-
declare enum ECaller {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
export declare enum ECaller {
|
|
5
|
+
/** 网页(默认) */
|
|
6
|
+
web = "web",
|
|
7
|
+
/** 宿主 */
|
|
8
|
+
host = "host"
|
|
10
9
|
}
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
|
12
|
-
//#endregion
|
|
13
|
-
export { ECaller };
|
|
14
|
-
//# sourceMappingURL=index.d.ts.map
|
package/es/enums/sdk/index.js
CHANGED
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
let ECaller = /* @__PURE__ */ function(ECaller$1) {
|
|
6
|
-
/** 网页(默认) */
|
|
7
|
-
ECaller$1["web"] = "web";
|
|
8
|
-
/** 宿主 */
|
|
9
|
-
ECaller$1["host"] = "host";
|
|
10
|
-
return ECaller$1;
|
|
11
|
-
}({});
|
|
12
|
-
|
|
13
|
-
//#endregion
|
|
14
|
-
export { ECaller };
|
|
15
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
var e = /* @__PURE__ */ ((t) => (t.web = "web", t.host = "host", t))(e || {});
|
|
2
|
+
export {
|
|
3
|
+
e as ECaller
|
|
4
|
+
};
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
//#region src/enums/storage/index.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* 存储key
|
|
4
3
|
*/
|
|
5
|
-
declare enum EStorageKey {
|
|
6
|
-
|
|
4
|
+
export declare enum EStorageKey {
|
|
5
|
+
configOptions = "configOptions"
|
|
7
6
|
}
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
9
|
-
//#endregion
|
|
10
|
-
export { EStorageKey };
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
let EStorageKey = /* @__PURE__ */ function(EStorageKey$1) {
|
|
6
|
-
EStorageKey$1["configOptions"] = "configOptions";
|
|
7
|
-
return EStorageKey$1;
|
|
8
|
-
}({});
|
|
9
|
-
|
|
10
|
-
//#endregion
|
|
11
|
-
export { EStorageKey };
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
var o = /* @__PURE__ */ ((n) => (n.configOptions = "configOptions", n))(o || {});
|
|
2
|
+
export {
|
|
3
|
+
o as EStorageKey
|
|
4
|
+
};
|
|
@@ -1,22 +1,17 @@
|
|
|
1
|
-
//#region src/enums/sub/enjoy/index.d.ts
|
|
2
1
|
/** 场馆类型 */
|
|
3
|
-
declare enum EVenueTypes {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
export declare enum EVenueTypes {
|
|
3
|
+
/** 博物馆 */
|
|
4
|
+
Museums = "01",
|
|
5
|
+
/** 展览馆 */
|
|
6
|
+
Exhibitions = "02",
|
|
7
|
+
/** 演艺活动 */
|
|
8
|
+
Activity = "03"
|
|
10
9
|
}
|
|
11
|
-
declare const EVenueTypesDes: {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
export declare const EVenueTypesDes: {
|
|
11
|
+
/** 博物馆 */
|
|
12
|
+
"01": string;
|
|
13
|
+
/** 展览馆 */
|
|
14
|
+
"02": string;
|
|
15
|
+
/** 演艺活动 */
|
|
16
|
+
"03": string;
|
|
18
17
|
};
|
|
19
|
-
//# sourceMappingURL=index.d.ts.map
|
|
20
|
-
//#endregion
|
|
21
|
-
export { EVenueTypes, EVenueTypesDes };
|
|
22
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,20 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
[EVenueTypes.Museums]: "1",
|
|
14
|
-
[EVenueTypes.Exhibitions]: "2",
|
|
15
|
-
[EVenueTypes.Activity]: "3"
|
|
1
|
+
var i = /* @__PURE__ */ ((t) => (t.Museums = "01", t.Exhibitions = "02", t.Activity = "03", t))(i || {});
|
|
2
|
+
const r = {
|
|
3
|
+
/** 博物馆 */
|
|
4
|
+
"01": "1",
|
|
5
|
+
/** 展览馆 */
|
|
6
|
+
"02": "2",
|
|
7
|
+
/** 演艺活动 */
|
|
8
|
+
"03": "3"
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
i as EVenueTypes,
|
|
12
|
+
r as EVenueTypesDes
|
|
16
13
|
};
|
|
17
|
-
|
|
18
|
-
//#endregion
|
|
19
|
-
export { EVenueTypes, EVenueTypesDes };
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
//#region src/enums/sub/foods/index.d.ts
|
|
2
1
|
/** 美食跳转 */
|
|
3
|
-
declare enum EFoodsModuleType {
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
export declare enum EFoodsModuleType {
|
|
3
|
+
/** 搜藏 */
|
|
4
|
+
store = "store"
|
|
6
5
|
}
|
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
|
8
|
-
//#endregion
|
|
9
|
-
export { EFoodsModuleType };
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
EFoodsModuleType$1["store"] = "store";
|
|
6
|
-
return EFoodsModuleType$1;
|
|
7
|
-
}({});
|
|
8
|
-
|
|
9
|
-
//#endregion
|
|
10
|
-
export { EFoodsModuleType };
|
|
11
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
var e = /* @__PURE__ */ ((r) => (r.store = "store", r))(e || {});
|
|
2
|
+
export {
|
|
3
|
+
e as EFoodsModuleType
|
|
4
|
+
};
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
//#region src/enums/sub/hotel/index.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* 酒店类型
|
|
4
3
|
*/
|
|
5
|
-
declare const enum EHotelType {
|
|
6
|
-
|
|
4
|
+
export declare const enum EHotelType {
|
|
5
|
+
hotel = "hotel"
|
|
7
6
|
}
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
9
|
-
//#endregion
|
|
10
|
-
export { EHotelType };
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
let EHotelType = /* @__PURE__ */ function(EHotelType$1) {
|
|
6
|
-
EHotelType$1["hotel"] = "hotel";
|
|
7
|
-
return EHotelType$1;
|
|
8
|
-
}({});
|
|
9
|
-
|
|
10
|
-
//#endregion
|
|
11
|
-
export { EHotelType };
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
var r = /* @__PURE__ */ ((e) => (e.hotel = "hotel", e))(r || {});
|
|
2
|
+
export {
|
|
3
|
+
r as EHotelType
|
|
4
|
+
};
|
package/es/index.d.ts
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { EVenueTypes, EVenueTypesDes } from "./enums/sub/enjoy/index.js";
|
|
7
|
-
import { EFoodsModuleType } from "./enums/sub/foods/index.js";
|
|
8
|
-
import { EHotelType } from "./enums/sub/hotel/index.js";
|
|
9
|
-
import { IOneTravelSDKOptions } from "./types/one-travel-service/index.js";
|
|
10
|
-
import { getQueryParameters, isEmpty, query2url } from "./utils/common/index.js";
|
|
11
|
-
import { ActivityCalendarDetailPageParams, getActivityCalendarDetailPage } from "./utils/pages/activity-calendar/index.js";
|
|
12
|
-
import { WebviewPageParams, getWebviewPage } from "./utils/pages/webview/index.js";
|
|
13
|
-
import { getFoodPackagePage, getFoodStorePage } from "./utils/pages/food/index.js";
|
|
14
|
-
import { EMessagesType, getWebViewEnv, navigateBack, navigateTo, postMessage, redirectTo } from "./utils/web-view/index.js";
|
|
15
|
-
import { OneTravelSDK } from "./entry.js";
|
|
16
|
-
export { ActivityCalendarDetailPageParams, BusinessLineDict, EAppEnv, EBusinessLine, ECaller, EFoodsModuleType, EHotelType, EMessagesType, EStorageKey, ESubBizType, EVenueTypes, EVenueTypesDes, IOneTravelSDKOptions, OneTravelSDK, WebviewPageParams, getActivityCalendarDetailPage, getFoodPackagePage, getFoodStorePage, getQueryParameters, getWebViewEnv, getWebviewPage, isEmpty, navigateBack, navigateTo, postMessage, query2url, redirectTo, routePrefix, routes };
|
|
1
|
+
export * from './constants';
|
|
2
|
+
export * from './enums';
|
|
3
|
+
export * from './types';
|
|
4
|
+
export * from './utils';
|
|
5
|
+
export * from './entry';
|