@tarojs/plugin-platform-harmony-ets 4.1.4-beta.2 → 4.1.4-beta.20

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 (75) hide show
  1. package/dist/apis/framework/index.d.ts +1 -0
  2. package/dist/apis/index.d.ts +1 -0
  3. package/dist/apis/media/EditorContext.d.ts +16 -0
  4. package/dist/apis/utils/handler.d.ts +1 -0
  5. package/dist/apis/utils/permissions.d.ts +5 -0
  6. package/dist/components/components-harmony-ets/tag.d.ts +53 -0
  7. package/dist/components/components-harmony-ets/utils/DynamicCenter.d.ts +7 -0
  8. package/dist/components/components-harmony-ets/utils/events.d.ts +3 -0
  9. package/dist/components/components-harmony-ets/utils/htmlParser/HarmonyHTMLParser.d.ts +11 -0
  10. package/dist/components/components-harmony-ets/utils/htmlParser/index.d.ts +3 -0
  11. package/dist/components/components-harmony-ets/utils/index.d.ts +11 -0
  12. package/dist/components/components-react.d.ts +7 -0
  13. package/dist/components/components-react.js +2 -41
  14. package/dist/components/components-react.js.map +1 -1
  15. package/dist/index.js.map +1 -1
  16. package/dist/runtime-ets/bom/URL.d.ts +2 -0
  17. package/dist/runtime-ets/bom/document.d.ts +2 -0
  18. package/dist/runtime-ets/bom/getComputedStyle.d.ts +1 -0
  19. package/dist/runtime-ets/bom/history.d.ts +1 -0
  20. package/dist/runtime-ets/bom/location.d.ts +1 -0
  21. package/dist/runtime-ets/bom/navigator.d.ts +1 -0
  22. package/dist/runtime-ets/bom/raf.d.ts +1 -0
  23. package/dist/runtime-ets/bom/window.d.ts +20 -0
  24. package/dist/runtime-ets/constant.d.ts +17 -0
  25. package/dist/runtime-ets/current.d.ts +4 -0
  26. package/dist/runtime-ets/dom/bind.d.ts +4 -0
  27. package/dist/runtime-ets/dom/class-list.d.ts +15 -0
  28. package/dist/runtime-ets/dom/comment.d.ts +5 -0
  29. package/dist/runtime-ets/dom/cssNesting.d.ts +7 -0
  30. package/dist/runtime-ets/dom/cssStyleDeclaration.d.ts +14 -0
  31. package/dist/runtime-ets/dom/document.d.ts +20 -0
  32. package/dist/runtime-ets/dom/element/index.d.ts +14 -0
  33. package/dist/runtime-ets/dom/element/movableArea.d.ts +5 -0
  34. package/dist/runtime-ets/dom/element/progress.d.ts +5 -0
  35. package/dist/runtime-ets/dom/element/text.d.ts +5 -0
  36. package/dist/runtime-ets/dom/element/webView.d.ts +15 -0
  37. package/dist/runtime-ets/dom/event-source.d.ts +1 -0
  38. package/dist/runtime-ets/dom/event.d.ts +24 -0
  39. package/dist/runtime-ets/dom/eventTarget.d.ts +17 -0
  40. package/dist/runtime-ets/dom/node.d.ts +62 -0
  41. package/dist/runtime-ets/dom/stylesheet/covertWeb2Hm.d.ts +3 -0
  42. package/dist/runtime-ets/dom/stylesheet/index.d.ts +83 -0
  43. package/dist/runtime-ets/emitter/emitter.d.ts +1 -0
  44. package/dist/runtime-ets/env.d.ts +1 -0
  45. package/dist/runtime-ets/index.d.ts +22 -0
  46. package/dist/runtime-ets/interface/event.d.ts +9 -0
  47. package/dist/runtime-ets/interface/index.d.ts +6 -0
  48. package/dist/runtime-ets/utils/index.d.ts +26 -0
  49. package/dist/runtime-ets/utils/info.d.ts +11 -0
  50. package/dist/runtime-ets/utils/router.d.ts +1 -0
  51. package/dist/runtime-framework/react/app.d.ts +12 -0
  52. package/dist/runtime-framework/react/connect.d.ts +1 -0
  53. package/dist/runtime-framework/react/constant.d.ts +5 -0
  54. package/dist/runtime-framework/react/hooks.d.ts +30 -0
  55. package/dist/runtime-framework/react/index.d.ts +5 -0
  56. package/dist/runtime-framework/react/native-page.d.ts +8 -0
  57. package/dist/runtime-framework/react/page.d.ts +13 -0
  58. package/dist/runtime-framework/react/utils/index.d.ts +7 -0
  59. package/dist/runtime-framework/react/utils/is.d.ts +10 -0
  60. package/dist/runtime-framework/solid/app.d.ts +10 -0
  61. package/dist/runtime-framework/solid/connect.d.ts +4 -0
  62. package/dist/runtime-framework/solid/constant.d.ts +5 -0
  63. package/dist/runtime-framework/solid/hooks.d.ts +30 -0
  64. package/dist/runtime-framework/solid/index.d.ts +4 -0
  65. package/dist/runtime-framework/solid/page.d.ts +13 -0
  66. package/dist/runtime-framework/solid/reconciler/h.d.ts +8 -0
  67. package/dist/runtime-framework/solid/reconciler/index.d.ts +3 -0
  68. package/dist/runtime-framework/solid/reconciler/props.d.ts +7 -0
  69. package/dist/runtime-framework/solid/reconciler/render.d.ts +16 -0
  70. package/dist/runtime-framework/solid/reconciler/use.d.ts +1 -0
  71. package/dist/runtime-framework/solid/utils/index.d.ts +16 -0
  72. package/dist/runtime-framework/solid/utils/is.d.ts +10 -0
  73. package/dist/runtime-utils.js.map +1 -1
  74. package/dist/runtime.js.map +1 -1
  75. package/package.json +10 -10
@@ -0,0 +1,16 @@
1
+ /// <reference types="types/runtime" />
2
+ import type { TaroNode } from '@tarojs/runtime';
3
+ export declare const render: (code: () => TaroNode, node: TaroNode) => () => void;
4
+ export declare const effect: <T>(fn: (prev?: T | undefined) => T, init?: T | undefined) => void;
5
+ export declare const memo: <T>(fn: () => T, equal: boolean) => () => T;
6
+ export declare const createComponent: (type: any, props?: any) => TaroNode;
7
+ export declare const createElement: (tag: string) => TaroNode;
8
+ export declare const createTextNode: (value: string) => TaroNode;
9
+ export declare const insertNode: (parent: TaroNode, node: TaroNode, anchor?: TaroNode | undefined) => void;
10
+ export declare const insert: <T>(parent: any, accessor: T | (() => T), marker?: any) => TaroNode;
11
+ export declare const spread: <T>(node: any, accessor: T | (() => T), skipChildren?: Boolean | undefined) => void;
12
+ export declare const setProp: <T>(node: TaroNode, name: string, value: T, prev?: T | undefined) => T;
13
+ export declare const mergeProps: (...sources: unknown[]) => unknown;
14
+ declare function Fragment(props: any): any;
15
+ declare function jsx(type: any, props: any): TaroNode;
16
+ export { Fragment, jsx, jsx as jsxDEV, jsx as jsxs };
@@ -0,0 +1 @@
1
+ export declare function use(fn: any, ele: any, accessor: any): void;
@@ -0,0 +1,16 @@
1
+ export * from './is';
2
+ export declare const noop: (..._: unknown[]) => void;
3
+ export declare function capitalize(s: string): string;
4
+ export declare const incrementId: (init?: number) => () => number;
5
+ export declare const EMPTY_OBJ: any;
6
+ export declare const HOOKS_APP_ID = "taro-app";
7
+ export declare function ensureIsArray<T>(item: T | T[]): T[];
8
+ /**
9
+ * set writable, enumerable to true
10
+ */
11
+ export declare function setDefaultDescriptor(obj: Record<string, any>): Record<string, any>;
12
+ /**
13
+ * 设置入口的路由参数
14
+ * @param options 小程序传入的参数
15
+ */
16
+ export declare function setRouterParams(options: any): void;
@@ -0,0 +1,10 @@
1
+ export declare function isClassComponent(R: any, component: any): boolean;
2
+ export declare function isString(o: unknown): o is string;
3
+ export declare function isUndefined(o: unknown): o is undefined;
4
+ export declare function isNull(o: unknown): o is null;
5
+ export declare function isObject<T>(o: unknown): o is T;
6
+ export declare function isBoolean(o: unknown): o is boolean;
7
+ export declare function isFunction(o: unknown): o is (...args: any[]) => any;
8
+ export declare function isNumber(o: unknown): o is number;
9
+ export declare function isBooleanStringLiteral(o: unknown): o is string;
10
+ export declare const isArray: (arg: any) => arg is any[];