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