@tarojs/runtime 3.3.14 → 3.5.0-canary.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/runtime",
3
- "version": "3.3.14",
3
+ "version": "3.5.0-canary.0",
4
4
  "description": "taro runtime for mini apps.",
5
5
  "main": "dist/runtime.esm.js",
6
6
  "module": "dist/runtime.esm.js",
@@ -24,13 +24,13 @@
24
24
  "access": "public"
25
25
  },
26
26
  "dependencies": {
27
- "@tarojs/shared": "3.3.14",
27
+ "@tarojs/shared": "3.5.0-canary.0",
28
28
  "inversify": "5.1.1",
29
29
  "lodash-es": "4.17.15",
30
30
  "reflect-metadata": "^0.1.13"
31
31
  },
32
32
  "devDependencies": {
33
- "@tarojs/taro": "3.3.14"
33
+ "@tarojs/taro": "3.5.0-canary.0"
34
34
  },
35
- "gitHead": "ffd2b33c2a760094372a9ec69735ab9c4d1877e5"
35
+ "gitHead": "a0222bc41bc05b0e34413d6db3de963d777a5015"
36
36
  }
@@ -1,17 +0,0 @@
1
- import type { Func } from '../interface';
2
- export declare const useDidShow: (fn: Func) => void;
3
- export declare const useDidHide: (fn: Func) => void;
4
- export declare const usePullDownRefresh: (fn: Func) => void;
5
- export declare const useReachBottom: (fn: Func) => void;
6
- export declare const usePageScroll: (fn: Func) => void;
7
- export declare const useResize: (fn: Func) => void;
8
- export declare const useShareAppMessage: (fn: Func) => void;
9
- export declare const useTabItemTap: (fn: Func) => void;
10
- export declare const useTitleClick: (fn: Func) => void;
11
- export declare const useOptionMenuClick: (fn: Func) => void;
12
- export declare const usePullIntercept: (fn: Func) => void;
13
- export declare const useShareTimeline: (fn: Func) => void;
14
- export declare const useAddToFavorites: (fn: Func) => void;
15
- export declare const useReady: (fn: Func) => void;
16
- export declare const useRouter: (dynamic?: boolean) => import("../current").Router | null;
17
- export declare const useScope: () => undefined;
@@ -1,28 +0,0 @@
1
- import type * as React from 'react';
2
- import { eventHandler } from '../dom/event';
3
- import type { AppConfig } from '@tarojs/taro';
4
- import type { AppInstance, ReactPageComponent, PageProps } from './instance';
5
- export declare let R: typeof React;
6
- export declare let PageContext: React.Context<string>;
7
- export declare function connectReactPage(R: typeof React, id: string): (component: ReactPageComponent) => React.ComponentClass<PageProps>;
8
- export declare function createReactApp(App: React.ComponentClass, react: typeof React, reactdom: any, config: AppConfig): AppInstance;
9
- export declare function createNativeComponentConfig(Component: any, react: typeof React, reactdom: any, componentConfig: any): {
10
- properties: {
11
- props: {
12
- type: null;
13
- value: null;
14
- observer(_newVal: any, oldVal: any): void;
15
- };
16
- };
17
- created(): void;
18
- attached(): void;
19
- ready(): void;
20
- detached(): void;
21
- pageLifetimes: {
22
- show(): void;
23
- hide(): void;
24
- };
25
- methods: {
26
- eh: typeof eventHandler;
27
- };
28
- };
package/dist/dsl/vue.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import type VueCtor from 'vue';
2
- import type { ComponentOptions, VueConstructor } from 'vue';
3
- import type { AppConfig } from '@tarojs/taro';
4
- import type { AppInstance } from './instance';
5
- export declare type V = typeof VueCtor;
6
- export declare function connectVuePage(Vue: VueConstructor, id: string): (component: ComponentOptions<VueCtor>) => ComponentOptions<VueCtor, import("vue/types/options").DefaultData<VueCtor>, import("vue/types/options").DefaultMethods<VueCtor>, import("vue/types/options").DefaultComputed, import("vue/types/options").PropsDefinition<import("vue/types/options").DefaultProps>, import("vue/types/options").DefaultProps>;
7
- export declare function createVueApp(App: ComponentOptions<VueCtor>, vue: V, config: AppConfig): AppInstance;
@@ -1,5 +0,0 @@
1
- import type { App, h as createElement } from '@vue/runtime-core';
2
- import type { TaroElement } from '../dom/element';
3
- import type { AppConfig as Config } from '@tarojs/taro';
4
- import type { AppInstance } from './instance';
5
- export declare function createVue3App(app: App<TaroElement>, h: typeof createElement, config: Config): AppInstance;