wevu 1.0.1 → 1.0.3

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/compiler.cjs CHANGED
@@ -1,17 +1 @@
1
-
2
- //#region src/compiler/index.ts
3
- const WE_VU_PAGE_HOOK_TO_FEATURE = {
4
- onPageScroll: "enableOnPageScroll",
5
- onPullDownRefresh: "enableOnPullDownRefresh",
6
- onReachBottom: "enableOnReachBottom",
7
- onRouteDone: "enableOnRouteDone",
8
- onTabItemTap: "enableOnTabItemTap",
9
- onResize: "enableOnResize",
10
- onShareAppMessage: "enableOnShareAppMessage",
11
- onShareTimeline: "enableOnShareTimeline",
12
- onAddToFavorites: "enableOnAddToFavorites",
13
- onSaveExitState: "enableOnSaveExitState"
14
- };
15
-
16
- //#endregion
17
- exports.WE_VU_PAGE_HOOK_TO_FEATURE = WE_VU_PAGE_HOOK_TO_FEATURE;
1
+ const e={onPageScroll:`enableOnPageScroll`,onPullDownRefresh:`enableOnPullDownRefresh`,onReachBottom:`enableOnReachBottom`,onRouteDone:`enableOnRouteDone`,onTabItemTap:`enableOnTabItemTap`,onResize:`enableOnResize`,onShareAppMessage:`enableOnShareAppMessage`,onShareTimeline:`enableOnShareTimeline`,onAddToFavorites:`enableOnAddToFavorites`,onSaveExitState:`enableOnSaveExitState`},t=`wevu`,n={createApp:`createApp`,createWevuComponent:`createWevuComponent`,createWevuScopedSlotComponent:`createWevuScopedSlotComponent`,defineComponent:`defineComponent`,setWevuDefaults:`setWevuDefaults`};exports.WE_VU_MODULE_ID=`wevu`,exports.WE_VU_PAGE_HOOK_TO_FEATURE=e,exports.WE_VU_RUNTIME_APIS=n;
@@ -13,5 +13,14 @@ declare const WE_VU_PAGE_HOOK_TO_FEATURE: {
13
13
  };
14
14
  type WevuPageHookName = keyof typeof WE_VU_PAGE_HOOK_TO_FEATURE;
15
15
  type WevuPageFeatureFlag = (typeof WE_VU_PAGE_HOOK_TO_FEATURE)[WevuPageHookName];
16
+ declare const WE_VU_MODULE_ID: "wevu";
17
+ declare const WE_VU_RUNTIME_APIS: {
18
+ readonly createApp: "createApp";
19
+ readonly createWevuComponent: "createWevuComponent";
20
+ readonly createWevuScopedSlotComponent: "createWevuScopedSlotComponent";
21
+ readonly defineComponent: "defineComponent";
22
+ readonly setWevuDefaults: "setWevuDefaults";
23
+ };
24
+ type WevuRuntimeApiName = (typeof WE_VU_RUNTIME_APIS)[keyof typeof WE_VU_RUNTIME_APIS];
16
25
  //#endregion
17
- export { WE_VU_PAGE_HOOK_TO_FEATURE, WevuPageFeatureFlag, WevuPageHookName };
26
+ export { WE_VU_MODULE_ID, WE_VU_PAGE_HOOK_TO_FEATURE, WE_VU_RUNTIME_APIS, WevuPageFeatureFlag, WevuPageHookName, WevuRuntimeApiName };
@@ -13,5 +13,14 @@ declare const WE_VU_PAGE_HOOK_TO_FEATURE: {
13
13
  };
14
14
  type WevuPageHookName = keyof typeof WE_VU_PAGE_HOOK_TO_FEATURE;
15
15
  type WevuPageFeatureFlag = (typeof WE_VU_PAGE_HOOK_TO_FEATURE)[WevuPageHookName];
16
+ declare const WE_VU_MODULE_ID: "wevu";
17
+ declare const WE_VU_RUNTIME_APIS: {
18
+ readonly createApp: "createApp";
19
+ readonly createWevuComponent: "createWevuComponent";
20
+ readonly createWevuScopedSlotComponent: "createWevuScopedSlotComponent";
21
+ readonly defineComponent: "defineComponent";
22
+ readonly setWevuDefaults: "setWevuDefaults";
23
+ };
24
+ type WevuRuntimeApiName = (typeof WE_VU_RUNTIME_APIS)[keyof typeof WE_VU_RUNTIME_APIS];
16
25
  //#endregion
17
- export { WE_VU_PAGE_HOOK_TO_FEATURE, WevuPageFeatureFlag, WevuPageHookName };
26
+ export { WE_VU_MODULE_ID, WE_VU_PAGE_HOOK_TO_FEATURE, WE_VU_RUNTIME_APIS, WevuPageFeatureFlag, WevuPageHookName, WevuRuntimeApiName };
package/dist/compiler.mjs CHANGED
@@ -1,16 +1 @@
1
- //#region src/compiler/index.ts
2
- const WE_VU_PAGE_HOOK_TO_FEATURE = {
3
- onPageScroll: "enableOnPageScroll",
4
- onPullDownRefresh: "enableOnPullDownRefresh",
5
- onReachBottom: "enableOnReachBottom",
6
- onRouteDone: "enableOnRouteDone",
7
- onTabItemTap: "enableOnTabItemTap",
8
- onResize: "enableOnResize",
9
- onShareAppMessage: "enableOnShareAppMessage",
10
- onShareTimeline: "enableOnShareTimeline",
11
- onAddToFavorites: "enableOnAddToFavorites",
12
- onSaveExitState: "enableOnSaveExitState"
13
- };
14
-
15
- //#endregion
16
- export { WE_VU_PAGE_HOOK_TO_FEATURE };
1
+ const e={onPageScroll:`enableOnPageScroll`,onPullDownRefresh:`enableOnPullDownRefresh`,onReachBottom:`enableOnReachBottom`,onRouteDone:`enableOnRouteDone`,onTabItemTap:`enableOnTabItemTap`,onResize:`enableOnResize`,onShareAppMessage:`enableOnShareAppMessage`,onShareTimeline:`enableOnShareTimeline`,onAddToFavorites:`enableOnAddToFavorites`,onSaveExitState:`enableOnSaveExitState`},t=`wevu`,n={createApp:`createApp`,createWevuComponent:`createWevuComponent`,createWevuScopedSlotComponent:`createWevuScopedSlotComponent`,defineComponent:`defineComponent`,setWevuDefaults:`setWevuDefaults`};export{t as WE_VU_MODULE_ID,e as WE_VU_PAGE_HOOK_TO_FEATURE,n as WE_VU_RUNTIME_APIS};