micro-ice-vue3-ts 0.1.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/README.md ADDED
@@ -0,0 +1,24 @@
1
+ # micro-ice-ts
2
+
3
+ ## Project setup
4
+ ```
5
+ yarn install
6
+ ```
7
+
8
+ ### Compiles and hot-reloads for development
9
+ ```
10
+ yarn serve
11
+ ```
12
+
13
+ ### Compiles and minifies for production
14
+ ```
15
+ yarn build
16
+ ```
17
+
18
+ ### Lints and fixes files
19
+ ```
20
+ yarn lint
21
+ ```
22
+
23
+ ### Customize configuration
24
+ See [Configuration Reference](https://cli.vuejs.org/config/).
@@ -0,0 +1,223 @@
1
+ import { bus, preloadApp, destroyApp, setupApp, plugin, loadErrorHandler } from "wujie";
2
+ import { PropType } from "vue";
3
+ declare const MicroIceApp: import("vue").DefineComponent<{
4
+ width: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
8
+ height: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ name: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ loading: {
17
+ type: PropType<HTMLElement>;
18
+ default: undefined;
19
+ };
20
+ url: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
24
+ sync: {
25
+ type: BooleanConstructor;
26
+ default: undefined;
27
+ };
28
+ prefix: {
29
+ type: PropType<{
30
+ [key: string]: string;
31
+ }>;
32
+ default: undefined;
33
+ };
34
+ alive: {
35
+ type: BooleanConstructor;
36
+ default: undefined;
37
+ };
38
+ props: {
39
+ type: PropType<Record<string, unknown>>;
40
+ default: undefined;
41
+ };
42
+ attrs: {
43
+ type: PropType<Record<string, unknown>>;
44
+ default: undefined;
45
+ };
46
+ replace: {
47
+ type: PropType<(content: string) => string>;
48
+ default: undefined;
49
+ };
50
+ fetch: {
51
+ type: PropType<(input: RequestInfo, init?: RequestInit | undefined) => Promise<Response>>;
52
+ default: undefined;
53
+ };
54
+ fiber: {
55
+ type: BooleanConstructor;
56
+ default: undefined;
57
+ };
58
+ degrade: {
59
+ type: BooleanConstructor;
60
+ default: undefined;
61
+ };
62
+ plugins: {
63
+ type: PropType<plugin[]>;
64
+ default: null;
65
+ };
66
+ beforeLoad: {
67
+ type: PropType<() => void>;
68
+ default: null;
69
+ };
70
+ beforeMount: {
71
+ type: PropType<() => void>;
72
+ default: null;
73
+ };
74
+ afterMount: {
75
+ type: PropType<() => void>;
76
+ default: null;
77
+ };
78
+ beforeUnmount: {
79
+ type: PropType<() => void>;
80
+ default: null;
81
+ };
82
+ afterUnmount: {
83
+ type: PropType<() => void>;
84
+ default: null;
85
+ };
86
+ activated: {
87
+ type: PropType<() => void>;
88
+ default: null;
89
+ };
90
+ deactivated: {
91
+ type: PropType<() => void>;
92
+ default: null;
93
+ };
94
+ loadError: {
95
+ type: PropType<loadErrorHandler>;
96
+ default: null;
97
+ };
98
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
99
+ [key: string]: any;
100
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
101
+ width: {
102
+ type: StringConstructor;
103
+ default: string;
104
+ };
105
+ height: {
106
+ type: StringConstructor;
107
+ default: string;
108
+ };
109
+ name: {
110
+ type: StringConstructor;
111
+ default: string;
112
+ };
113
+ loading: {
114
+ type: PropType<HTMLElement>;
115
+ default: undefined;
116
+ };
117
+ url: {
118
+ type: StringConstructor;
119
+ default: string;
120
+ };
121
+ sync: {
122
+ type: BooleanConstructor;
123
+ default: undefined;
124
+ };
125
+ prefix: {
126
+ type: PropType<{
127
+ [key: string]: string;
128
+ }>;
129
+ default: undefined;
130
+ };
131
+ alive: {
132
+ type: BooleanConstructor;
133
+ default: undefined;
134
+ };
135
+ props: {
136
+ type: PropType<Record<string, unknown>>;
137
+ default: undefined;
138
+ };
139
+ attrs: {
140
+ type: PropType<Record<string, unknown>>;
141
+ default: undefined;
142
+ };
143
+ replace: {
144
+ type: PropType<(content: string) => string>;
145
+ default: undefined;
146
+ };
147
+ fetch: {
148
+ type: PropType<(input: RequestInfo, init?: RequestInit | undefined) => Promise<Response>>;
149
+ default: undefined;
150
+ };
151
+ fiber: {
152
+ type: BooleanConstructor;
153
+ default: undefined;
154
+ };
155
+ degrade: {
156
+ type: BooleanConstructor;
157
+ default: undefined;
158
+ };
159
+ plugins: {
160
+ type: PropType<plugin[]>;
161
+ default: null;
162
+ };
163
+ beforeLoad: {
164
+ type: PropType<() => void>;
165
+ default: null;
166
+ };
167
+ beforeMount: {
168
+ type: PropType<() => void>;
169
+ default: null;
170
+ };
171
+ afterMount: {
172
+ type: PropType<() => void>;
173
+ default: null;
174
+ };
175
+ beforeUnmount: {
176
+ type: PropType<() => void>;
177
+ default: null;
178
+ };
179
+ afterUnmount: {
180
+ type: PropType<() => void>;
181
+ default: null;
182
+ };
183
+ activated: {
184
+ type: PropType<() => void>;
185
+ default: null;
186
+ };
187
+ deactivated: {
188
+ type: PropType<() => void>;
189
+ default: null;
190
+ };
191
+ loadError: {
192
+ type: PropType<loadErrorHandler>;
193
+ default: null;
194
+ };
195
+ }>>, {
196
+ props: Record<string, unknown>;
197
+ name: string;
198
+ width: string;
199
+ height: string;
200
+ loading: HTMLElement;
201
+ url: string;
202
+ sync: boolean;
203
+ prefix: {
204
+ [key: string]: string;
205
+ };
206
+ alive: boolean;
207
+ attrs: Record<string, unknown>;
208
+ replace: (content: string) => string;
209
+ fetch: (input: RequestInfo, init?: RequestInit | undefined) => Promise<Response>;
210
+ fiber: boolean;
211
+ degrade: boolean;
212
+ plugins: plugin[];
213
+ beforeLoad: () => void;
214
+ beforeMount: () => void;
215
+ afterMount: () => void;
216
+ beforeUnmount: () => void;
217
+ afterUnmount: () => void;
218
+ activated: () => void;
219
+ deactivated: () => void;
220
+ loadError: loadErrorHandler;
221
+ }, {}>;
222
+ export default MicroIceApp;
223
+ export { setupApp, preloadApp, bus as eventBus, destroyApp };