@hr-components-dev/render 1.3.5 → 1.3.6

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": "@hr-components-dev/render",
3
- "version": "1.3.5",
3
+ "version": "1.3.6",
4
4
  "description": "Standalone AmisRenderer component for Vue 3",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs.js",
@@ -27,7 +27,8 @@
27
27
  "access": "public"
28
28
  },
29
29
  "peerDependencies": {
30
- "vue": "^3.5.32"
30
+ "vue": "^3.5.32",
31
+ "@sv-print/hiprint": "^0.3.34"
31
32
  },
32
33
  "devDependencies": {
33
34
  "@types/lodash": "^4.17.24",
@@ -40,7 +41,6 @@
40
41
  },
41
42
  "dependencies": {
42
43
  "@maita/amis-tools": "^0.1.7",
43
- "@sv-print/hiprint": "^0.3.30",
44
44
  "axios": "^1.17.0",
45
45
  "consola": "^3.4.2",
46
46
  "dayjs": "^1.11.21",
@@ -1,59 +0,0 @@
1
- import { IScopedContext, Schema } from 'amis';
2
- import * as vue from 'vue';
3
- type Props = {
4
- /**
5
- * 渲染的 schema
6
- */
7
- schema?: Schema;
8
- /**
9
- * 当前页面的数据data
10
- */
11
- data?: Record<string, any>;
12
- /**
13
- * 全局的 context,可添加数据,函数,通过回调事件调用,用于更新数据
14
- */
15
- context?: Record<string, any>;
16
- /**
17
- * Amis 运行环境
18
- */
19
- env?: {};
20
- /**
21
- * 是否开启 AMIS 调试模式
22
- */
23
- debug: boolean;
24
- };
25
- declare function __VLS_template(): {
26
- attrs: Partial<{}>;
27
- slots: {
28
- default?(_: {}): any;
29
- };
30
- refs: {
31
- containerRef: HTMLDivElement;
32
- };
33
- rootEl: HTMLDivElement;
34
- };
35
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
36
- declare const __VLS_component: vue.DefineComponent<Props, {
37
- refresh: () => Promise<void>;
38
- updateProps: (params?: any) => void;
39
- }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
40
- ready: (scoped: IScopedContext & amis.TypeEmbed) => any;
41
- doRegister: (register: (name: string, hook: (props: amis.AmisComponentPropsType) => React.ComponentType<any>, isFormItem?: boolean) => any) => any;
42
- }, string, vue.PublicProps, Readonly<Props> & Readonly<{
43
- onReady?: ((scoped: IScopedContext & amis.TypeEmbed) => any) | undefined;
44
- onDoRegister?: ((register: (name: string, hook: (props: amis.AmisComponentPropsType) => React.ComponentType<any>, isFormItem?: boolean) => any) => any) | undefined;
45
- }>, {
46
- data: Record<string, any>;
47
- schema: Schema;
48
- context: Record<string, any>;
49
- env: {};
50
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {
51
- containerRef: HTMLDivElement;
52
- }, HTMLDivElement>;
53
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
54
- export default _default;
55
- type __VLS_WithTemplateSlots<T, S> = T & {
56
- new (): {
57
- $slots: S;
58
- };
59
- };