@oinone/kunlun-vue-widget 6.4.9 → 7.2.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.
Files changed (72) hide show
  1. package/dist/oinone-kunlun-vue-widget.esm.js +1 -16
  2. package/dist/types/index.d.ts +1 -1
  3. package/dist/types/src/basic/AsyncVueWidget.d.ts +7 -7
  4. package/dist/types/src/basic/VueFragment.vue.d.ts +2 -2
  5. package/dist/types/src/basic/VueWidget.d.ts +339 -331
  6. package/dist/types/src/basic/Widget.d.ts +260 -257
  7. package/dist/types/src/basic/index.d.ts +3 -3
  8. package/dist/types/src/data/ActiveRecordsWidget.d.ts +271 -261
  9. package/dist/types/src/data/PathWidget.d.ts +34 -34
  10. package/dist/types/src/data/index.d.ts +2 -2
  11. package/dist/types/src/dsl/DslDefinitionWidget.d.ts +66 -68
  12. package/dist/types/src/dsl/DslNodeWidget.d.ts +42 -42
  13. package/dist/types/src/dsl/DslRenderWidget.d.ts +47 -44
  14. package/dist/types/src/dsl/index.d.ts +3 -3
  15. package/dist/types/src/feature/index.d.ts +1 -1
  16. package/dist/types/src/feature/invisible-supported.d.ts +11 -11
  17. package/dist/types/src/hooks/all-mounted.d.ts +20 -20
  18. package/dist/types/src/hooks/index.d.ts +1 -1
  19. package/dist/types/src/index.d.ts +10 -10
  20. package/dist/types/src/state/context.d.ts +41 -41
  21. package/dist/types/src/state/global.d.ts +3 -4
  22. package/dist/types/src/state/index.d.ts +3 -3
  23. package/dist/types/src/state/method/action.d.ts +18 -18
  24. package/dist/types/src/state/method/field.d.ts +3 -3
  25. package/dist/types/src/state/method/index.d.ts +2 -2
  26. package/dist/types/src/state/typing.d.ts +112 -105
  27. package/dist/types/src/state/use-state.d.ts +15 -16
  28. package/dist/types/src/state/view.d.ts +5 -5
  29. package/dist/types/src/token/index.d.ts +2 -2
  30. package/dist/types/src/typing/WidgetTagContext.d.ts +39 -39
  31. package/dist/types/src/typing/WidgetTagProps.d.ts +23 -23
  32. package/dist/types/src/typing/index.d.ts +3 -3
  33. package/dist/types/src/typing/typing.d.ts +7 -7
  34. package/dist/types/src/util/dsl-render.d.ts +106 -106
  35. package/dist/types/src/util/index.d.ts +4 -4
  36. package/dist/types/src/util/install.d.ts +4 -4
  37. package/dist/types/src/util/render.d.ts +7 -7
  38. package/dist/types/src/util/widget-manager.d.ts +4 -4
  39. package/dist/types/src/view/index.d.ts +161 -161
  40. package/package.json +29 -18
  41. package/src/basic/AsyncVueWidget.ts +2 -2
  42. package/src/basic/VueWidget.ts +67 -31
  43. package/src/basic/Widget.ts +11 -9
  44. package/src/basic/__tests__/Widget.spec.ts +82 -0
  45. package/src/data/ActiveRecordsWidget.ts +51 -21
  46. package/src/data/PathWidget.ts +1 -1
  47. package/src/dsl/DslDefinitionWidget.ts +10 -33
  48. package/src/dsl/DslNodeWidget.ts +3 -3
  49. package/src/dsl/DslRenderWidget.ts +32 -3
  50. package/src/feature/__tests__/invisible-supported.spec.ts +31 -0
  51. package/src/hooks/__tests__/all-mounted.spec.ts +41 -0
  52. package/src/hooks/all-mounted.ts +1 -1
  53. package/src/shim-translate.d.ts +5 -2
  54. package/src/state/__tests__/state.spec.ts +114 -0
  55. package/src/state/context.ts +6 -2
  56. package/src/state/global.ts +16 -5
  57. package/src/state/method/action.ts +7 -2
  58. package/src/state/method/field.ts +1 -1
  59. package/src/state/typing.ts +10 -0
  60. package/src/state/use-state.ts +2 -2
  61. package/src/state/view.ts +3 -3
  62. package/src/token/index.ts +1 -1
  63. package/src/typing/WidgetTagContext.ts +3 -3
  64. package/src/typing/WidgetTagProps.ts +2 -2
  65. package/src/util/__tests__/dsl-render.spec.ts +112 -0
  66. package/src/util/__tests__/render.spec.ts +69 -0
  67. package/src/util/__tests__/widget-manager.spec.ts +27 -0
  68. package/src/util/dsl-render.ts +6 -7
  69. package/src/util/install.ts +1 -1
  70. package/src/util/render.ts +3 -7
  71. package/src/view/index.ts +15 -8
  72. package/rollup.config.js +0 -22
@@ -1,331 +1,339 @@
1
- import { WidgetConstructor, WidgetProps } from '@oinone/kunlun-engine';
2
- import { Component, ComponentOptions, DefineComponent, Ref, Slot, Slots, VNode } from 'vue';
3
- import { Widget } from './Widget';
4
- declare enum BehaviorName {
5
- 'beforeCreated' = "beforeCreated",
6
- 'created' = "created",
7
- 'beforeMount' = "beforeMount",
8
- 'mounted' = "mounted",
9
- 'beforeUpdate' = "beforeUpdate",
10
- 'updated' = "updated",
11
- 'activated' = "activated",
12
- 'deactivated' = "deactivated",
13
- 'beforeUnmount' = "beforeUnmount",
14
- 'unmounted' = "unmounted"
15
- }
16
- export declare type WidgetComponent = string | ComponentOptions | DefineComponent | Component | Record<string, unknown>;
17
- export declare type SetupHook = ((ctx?: void, props?: unknown, result?: unknown) => void) | ((ctx?: void, props?: unknown, result?: unknown) => unknown) | ((ctx?: void, props?: unknown, result?: unknown) => Promise<void>) | ((ctx?: void, props?: unknown, result?: unknown) => Promise<unknown>);
18
- export declare class VueWidget<Props extends WidgetProps = WidgetProps> extends Widget<Props, VNode | VNode[]> {
19
- protected behaviorGroup: {};
20
- private __render__?;
21
- private static beforeHooks;
22
- private static afterHooks;
23
- private static hookHosts;
24
- /**
25
- * 通过该属性可以直接拿到Widget下Component内的属性
26
- * @private
27
- */
28
- private opt?;
29
- /**
30
- * vue实例内属性(props、computed、data)的集合
31
- */
32
- private res?;
33
- revolveNodeCode(): string;
34
- private __scope;
35
- /**
36
- * vue组件setup
37
- * @param setupHook
38
- */
39
- setup(setupHook?: SetupHook): (ctx: void, props?: unknown) => {};
40
- /**
41
- * 标记一个方法为可被钩子注入,注解使用
42
- * @constructor
43
- * @protected
44
- */
45
- protected static HookHost(): <T extends Widget<WidgetProps, unknown>>(target: T, name: string) => void;
46
- /**
47
- * 获得组件中注册的所有钩子
48
- * @param widget
49
- * @private
50
- */
51
- private static getHookHosts;
52
- /**
53
- * 获得指定组件内方法的前/后置钩子
54
- * @param widgetName
55
- * @param hook
56
- * @param beforeOrAfter
57
- * @private
58
- */
59
- private static getHooks;
60
- /**
61
- * 标记一个方法为后置钩子
62
- * @param host
63
- * @constructor
64
- * @protected
65
- */
66
- protected static BeforeHook(host: string): <T extends Widget<WidgetProps, unknown>>(target: T, _name: string, description: TypedPropertyDescriptor<() => boolean> | TypedPropertyDescriptor<() => void>) => void;
67
- /**
68
- * 标记一个方法为前置钩子
69
- * @param host
70
- * @constructor
71
- * @protected
72
- */
73
- protected static AfterHook(host: string): <T extends Widget<WidgetProps, unknown>>(target: T, _name: string, description: TypedPropertyDescriptor<(next: never, ...args: unknown[]) => boolean> | TypedPropertyDescriptor<(next: unknown, ...args: unknown[]) => void>) => void;
74
- private component;
75
- private node_code;
76
- getNodeCode(): string;
77
- getNodeCodeRef(): Ref<number>;
78
- /**
79
- * 获取当前组件的响应式对象
80
- */
81
- getOperator<T extends VueWidget>(): T;
82
- /**
83
- * 在当前组件节点下创建子节点
84
- * @param constructor widget
85
- * @param slotName slotName
86
- * @param initConfig widget中initialize函数接受的参数
87
- * @param specifiedIndex 指定该widget的在父节点中的位置,默认是最后一位
88
- * @param resolveNewCode 是否更新node_code
89
- */
90
- createWidget<T extends Widget>(constructor: WidgetConstructor<T['config'], T>, slotName?: string, initConfig?: T['config'], specifiedIndex?: number, resolveNewCode?: boolean): T;
91
- /**
92
- * 在当前组件节点下删除子节点树
93
- * @param name
94
- */
95
- deleteWidget(name: string): boolean;
96
- /**
97
- * 给指定的下标插入widget
98
- *
99
- * 如果要在最后一位插入,可以用createWidget
100
- *
101
- * @param {Widget} widget
102
- * @param {number} index
103
- */
104
- insertWidget(widget: Widget, index: number): void;
105
- /**
106
- * 移动widget, 将widget从 A 下标移动到 B 下标
107
- *
108
- * @param {number} index1
109
- * @param {number} index2
110
- */
111
- moveChildWidget(index1: number, index2: number): void;
112
- /**
113
- * 根据下标删除对应的child widget, 如果当前 children中有重复的handler,那么会删除匹配的第一个
114
- *
115
- * @param {number} index
116
- * @param {string} handle?
117
- */
118
- deleteWidgetByIndex(index: number, handle?: string): boolean;
119
- /**
120
- * 初始化当前组件
121
- * @param props
122
- */
123
- initialize(props?: Props): VueWidget;
124
- private buildOperator;
125
- /**
126
- * Class Component Vue组件
127
- * @private
128
- */
129
- private widgetComponent;
130
- /**
131
- * 获取Class Component Vue组件
132
- */
133
- getWidgetComponent(isBuild?: boolean): Component | undefined;
134
- /**
135
- * 设置Class Component Vue组件
136
- * @param component Vue组件
137
- */
138
- setWidgetComponent(component: Component | undefined): void;
139
- /**
140
- * 扩展组件
141
- */
142
- renderExpandComponent(): Component | VNode | undefined;
143
- /**
144
- * 混入组件
145
- * @private
146
- */
147
- private mixinComponent;
148
- /**
149
- * 获取混入组件
150
- */
151
- getMixinComponent(): Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | undefined;
152
- /**
153
- * 设置混入组件
154
- * @param component Vue组件
155
- * @protected
156
- */
157
- setMixinComponent(component: Component | undefined): void;
158
- /**
159
- * 渲染当前组件
160
- * @param context 渲染上下文
161
- * @param slots 插槽
162
- */
163
- render(context?: Record<string, unknown>, slots?: Slots): VNode | VNode[];
164
- protected getWidgetComponentName(): string;
165
- /**
166
- * 构造Vue组件
167
- * @protected
168
- */
169
- protected buildWidgetComponent(): Component | undefined;
170
- /**
171
- * 只获取vue 组件需要的props
172
- *
173
- */
174
- protected resolveProps(component: any, props: any): any;
175
- /**
176
- * 渲染混入组件
177
- * @param vNode 当前Vue组件渲染节点
178
- * @param props 当前Vue组件渲染属性
179
- * @protected
180
- */
181
- protected renderMixinComponent(vNode: VNode, props: Record<string, unknown>): VNode | VNode[];
182
- /**
183
- * 渲染当前组件
184
- * @param widgetComponent 当前组件
185
- * @param context 组件上下文
186
- * @param slots 组件插槽
187
- * @protected
188
- */
189
- protected renderWidgetComponent(widgetComponent: Component, context?: Record<string, unknown>, slots?: Slots): VNode;
190
- /**
191
- * 构建当前组件渲染vue组件传递时的props
192
- * @param result
193
- * @protected
194
- */
195
- protected buildProps(result: Record<string, unknown>): Record<string, unknown>;
196
- protected buildPropsStrs(): string[];
197
- /**
198
- * 将当前组件的子组件树解析为Vue Slots树
199
- * @protected
200
- */
201
- protected resolveChildren(): Record<string, Slot>;
202
- /**
203
- * Vue组件setup方法钩子
204
- * @param _ctx
205
- * @param _props
206
- * @param _result
207
- * @protected
208
- */
209
- protected setupHook(_ctx: void, _props: unknown, _result: unknown): unknown;
210
- /**
211
- * 绑定一个标准的Vue组件或者一个html标签用于当前组件的渲染
212
- * @param component
213
- */
214
- setComponent(component: WidgetComponent): void;
215
- /**
216
- * 销毁当前组件
217
- */
218
- dispose(force?: boolean): void;
219
- /**
220
- * 获取当前组件渲染时使用的Vue组件
221
- * @public
222
- */
223
- getComponent(): WidgetComponent;
224
- /**
225
- * 获取当前组件引用的其他Vue组件
226
- * @protected
227
- */
228
- protected getUsingComponents(): Record<string, Component>;
229
- private executeAfterHooks;
230
- private executeBeforeHooks;
231
- /**
232
- * Vue钩子
233
- * @protected
234
- */
235
- protected beforeCreated(): void;
236
- /**
237
- * @internal
238
- */
239
- protected $$beforeCreated(): void;
240
- /**
241
- * Vue钩子
242
- * @protected
243
- */
244
- protected created(): void;
245
- /**
246
- * @internal
247
- */
248
- protected $$created(): void;
249
- /**
250
- * Vue钩子
251
- * @protected
252
- */
253
- protected beforeMount(): void;
254
- /**
255
- * @internal
256
- */
257
- protected $$beforeMount(): void;
258
- /**
259
- * Vue钩子
260
- * @protected
261
- */
262
- protected mounted(): void;
263
- /**
264
- * @internal
265
- */
266
- protected $$mounted(): void;
267
- /**
268
- * Vue钩子
269
- * @protected
270
- */
271
- protected beforeUpdate(): void;
272
- /**
273
- * @internal
274
- */
275
- protected $$beforeUpdate(): void;
276
- /**
277
- * Vue钩子
278
- * @protected
279
- */
280
- protected updated(): void;
281
- /**
282
- * @internal
283
- */
284
- protected $$updated(): void;
285
- /**
286
- * Vue钩子
287
- * @protected
288
- */
289
- protected activated(): void;
290
- /**
291
- * @internal
292
- */
293
- protected $$activated(): void;
294
- /**
295
- * Vue钩子
296
- * @protected
297
- */
298
- protected deactivated(): void;
299
- /**
300
- * @internal
301
- */
302
- protected $$deactivated(): void;
303
- /**
304
- * Vue钩子
305
- * @protected
306
- */
307
- protected beforeUnmount(): void;
308
- /**
309
- * @internal
310
- */
311
- protected $$beforeUnmount(): void;
312
- /**
313
- * Vue钩子
314
- * @protected
315
- */
316
- protected unmounted(): void;
317
- /**
318
- * @internal
319
- */
320
- protected $$unmounted(): void;
321
- protected $$unmountedAfterProperties(): void;
322
- registryBehavior(name: keyof typeof BehaviorName, cb: () => void): void;
323
- protected reset(): void;
324
- protected translate(key: any, values?: {
325
- [key: string]: any;
326
- }): string;
327
- protected translateByI18n(key: string): string;
328
- protected genStaticPath(resourceName: string): string;
329
- forceUpdate(): void;
330
- }
331
- export {};
1
+ import { type WidgetConstructor, type WidgetProps } from '@oinone/kunlun-engine';
2
+ import { type Component, type ComponentOptions, type DefineComponent, type Ref, type Slot, type Slots, type VNode } from 'vue';
3
+ import { Widget } from './Widget';
4
+ declare enum BehaviorName {
5
+ 'beforeCreated' = "beforeCreated",
6
+ 'created' = "created",
7
+ 'beforeMount' = "beforeMount",
8
+ 'mounted' = "mounted",
9
+ 'beforeUpdate' = "beforeUpdate",
10
+ 'updated' = "updated",
11
+ 'activated' = "activated",
12
+ 'deactivated' = "deactivated",
13
+ 'beforeUnmount' = "beforeUnmount",
14
+ 'unmounted' = "unmounted"
15
+ }
16
+ export type WidgetComponent = string | ComponentOptions | DefineComponent | Component | Record<string, unknown>;
17
+ export type SetupHook = ((ctx?: void, props?: unknown, result?: unknown) => void) | ((ctx?: void, props?: unknown, result?: unknown) => unknown) | ((ctx?: void, props?: unknown, result?: unknown) => Promise<void>) | ((ctx?: void, props?: unknown, result?: unknown) => Promise<unknown>);
18
+ export declare class VueWidget<Props extends WidgetProps = WidgetProps> extends Widget<Props, VNode | VNode[]> {
19
+ protected behaviorGroup: {};
20
+ private __render__?;
21
+ private static beforeHooks;
22
+ private static afterHooks;
23
+ private static hookHosts;
24
+ /**
25
+ * 通过该属性可以直接拿到Widget下Component内的属性
26
+ * @private
27
+ */
28
+ private opt?;
29
+ /**
30
+ * vue实例内属性(props、computed、data)的集合
31
+ */
32
+ private res?;
33
+ revolveNodeCode(): string;
34
+ private __scope;
35
+ /**
36
+ * vue组件setup
37
+ * @param setupHook
38
+ */
39
+ setup(setupHook?: SetupHook): (ctx: void, props?: unknown) => {};
40
+ /**
41
+ * 标记一个方法为可被钩子注入,注解使用
42
+ * @constructor
43
+ * @protected
44
+ */
45
+ protected static HookHost(): <T extends Widget>(target: T, name: string) => void;
46
+ /**
47
+ * 获得组件中注册的所有钩子
48
+ * @param widget
49
+ * @private
50
+ */
51
+ private static getHookHosts;
52
+ /**
53
+ * 获得指定组件内方法的前/后置钩子
54
+ * @param widgetName
55
+ * @param hook
56
+ * @param beforeOrAfter
57
+ * @private
58
+ */
59
+ private static getHooks;
60
+ /**
61
+ * 标记一个方法为后置钩子
62
+ * @param host
63
+ * @constructor
64
+ * @protected
65
+ */
66
+ protected static BeforeHook(host: string): <T extends Widget>(target: T, _name: string, description: TypedPropertyDescriptor<() => boolean> | TypedPropertyDescriptor<() => void>) => void;
67
+ /**
68
+ * 标记一个方法为前置钩子
69
+ * @param host
70
+ * @constructor
71
+ * @protected
72
+ */
73
+ protected static AfterHook(host: string): <T extends Widget>(target: T, _name: string, description: TypedPropertyDescriptor<(next: never, ...args: unknown[]) => boolean> | TypedPropertyDescriptor<(next: unknown, ...args: unknown[]) => void>) => void;
74
+ private component;
75
+ private node_code;
76
+ getNodeCode(): string;
77
+ getNodeCodeRef(): Ref<number>;
78
+ /**
79
+ * 获取当前组件的响应式对象
80
+ */
81
+ getOperator<T extends VueWidget>(): T;
82
+ /**
83
+ * 在当前组件节点下创建子节点
84
+ * @param constructor widget
85
+ * @param slotName slotName
86
+ * @param initConfig widget中initialize函数接受的参数
87
+ * @param specifiedIndex 指定该widget的在父节点中的位置,默认是最后一位
88
+ * @param resolveNewCode 是否更新node_code
89
+ */
90
+ createWidget<T extends Widget>(constructor: WidgetConstructor<T['config'], T>, slotName?: string, initConfig?: T['config'], specifiedIndex?: number, resolveNewCode?: boolean): T;
91
+ /**
92
+ * 在当前组件节点下删除子节点树
93
+ * @param name
94
+ */
95
+ deleteWidget(name: string): boolean;
96
+ /**
97
+ * 给指定的下标插入widget
98
+ *
99
+ * 如果要在最后一位插入,可以用createWidget
100
+ *
101
+ * @param {Widget} widget
102
+ * @param {number} index
103
+ */
104
+ insertWidget(widget: Widget, index: number): void;
105
+ /**
106
+ * 移动widget, 将widget从 A 下标移动到 B 下标
107
+ *
108
+ * @param {number} index1
109
+ * @param {number} index2
110
+ */
111
+ moveChildWidget(index1: number, index2: number): void;
112
+ /**
113
+ * 根据下标删除对应的child widget, 如果当前 children中有重复的handler,那么会删除匹配的第一个
114
+ *
115
+ * @param {number} index
116
+ * @param {string} handle?
117
+ */
118
+ deleteWidgetByIndex(index: number, handle?: string): boolean;
119
+ /**
120
+ * 初始化当前组件
121
+ * @param props
122
+ */
123
+ initialize(props?: Props): VueWidget;
124
+ private buildOperator;
125
+ /**
126
+ * Class Component Vue组件
127
+ * @private
128
+ */
129
+ private widgetComponent;
130
+ /**
131
+ * 获取Class Component Vue组件
132
+ */
133
+ getWidgetComponent(isBuild?: boolean): Component | undefined;
134
+ /**
135
+ * 设置Class Component Vue组件
136
+ * @param component Vue组件
137
+ */
138
+ setWidgetComponent(component: Component | undefined): void;
139
+ /**
140
+ * 扩展组件
141
+ */
142
+ renderExpandComponent(): Component | VNode | undefined;
143
+ /**
144
+ * 混入组件
145
+ * @private
146
+ */
147
+ private mixinComponent;
148
+ /**
149
+ * 获取混入组件
150
+ */
151
+ getMixinComponent(): Component | undefined;
152
+ /**
153
+ * 设置混入组件
154
+ * @param component Vue组件
155
+ * @protected
156
+ */
157
+ setMixinComponent(component: Component | undefined): void;
158
+ /**
159
+ * 渲染当前组件
160
+ * @param context 渲染上下文
161
+ * @param slots 插槽
162
+ */
163
+ render(context?: Record<string, unknown>, slots?: Slots): VNode | VNode[];
164
+ protected getWidgetComponentName(): string;
165
+ /**
166
+ * 构造Vue组件
167
+ * @protected
168
+ */
169
+ protected buildWidgetComponent(): Component | undefined;
170
+ /**
171
+ * 只获取vue 组件需要的props
172
+ *
173
+ */
174
+ protected resolveProps(component: any, props: any): any;
175
+ /**
176
+ * 渲染混入组件
177
+ * @param vNode 当前Vue组件渲染节点
178
+ * @param props 当前Vue组件渲染属性
179
+ * @protected
180
+ */
181
+ protected renderMixinComponent(vNode: VNode, props: Record<string, unknown>): VNode | VNode[];
182
+ /**
183
+ * 渲染当前组件
184
+ * @param widgetComponent 当前组件
185
+ * @param context 组件上下文
186
+ * @param slots 组件插槽
187
+ * @protected
188
+ */
189
+ protected renderWidgetComponent(widgetComponent: Component, context?: Record<string, unknown>, slots?: Slots): VNode;
190
+ /**
191
+ * 构建当前组件渲染vue组件传递时的props
192
+ * @param result
193
+ * @protected
194
+ */
195
+ protected buildProps(result: Record<string, unknown>): Record<string, unknown>;
196
+ protected buildPropsStrs(): string[];
197
+ /**
198
+ * 将当前组件的子组件树解析为Vue Slots树
199
+ * @protected
200
+ */
201
+ protected resolveChildren(): Record<string, Slot>;
202
+ /**
203
+ * Vue组件setup方法钩子
204
+ * @param _ctx
205
+ * @param _props
206
+ * @param _result
207
+ * @protected
208
+ */
209
+ protected setupHook(_ctx: void, _props: unknown, _result: unknown): unknown;
210
+ /**
211
+ * 绑定一个标准的Vue组件或者一个html标签用于当前组件的渲染
212
+ * @param component
213
+ */
214
+ setComponent(component: WidgetComponent): void;
215
+ /**
216
+ * 销毁当前组件
217
+ */
218
+ dispose(force?: boolean): void;
219
+ /**
220
+ * 获取当前组件渲染时使用的Vue组件
221
+ * @public
222
+ */
223
+ getComponent(): WidgetComponent;
224
+ /**
225
+ * 获取当前组件引用的其他Vue组件
226
+ * @protected
227
+ */
228
+ protected getUsingComponents(): Record<string, Component>;
229
+ private executeAfterHooks;
230
+ private executeBeforeHooks;
231
+ /**
232
+ * Vue钩子
233
+ * @protected
234
+ */
235
+ protected beforeCreated(): void;
236
+ /**
237
+ * @internal
238
+ */
239
+ protected $$beforeCreated(): void;
240
+ /**
241
+ * Vue钩子
242
+ * @protected
243
+ */
244
+ protected created(): void;
245
+ /**
246
+ * @internal
247
+ */
248
+ protected $$metaContextProvide(): void;
249
+ /**
250
+ * @internal
251
+ */
252
+ protected $$created(): void;
253
+ /**
254
+ * Vue钩子
255
+ * @protected
256
+ */
257
+ protected beforeMount(): void;
258
+ /**
259
+ * @internal
260
+ */
261
+ protected $$beforeMount(): void;
262
+ /**
263
+ * Vue钩子
264
+ * @protected
265
+ */
266
+ protected mounted(): void;
267
+ /**
268
+ * @internal
269
+ */
270
+ protected $$mounted(): void;
271
+ /**
272
+ * @internal
273
+ */
274
+ protected $$mountedAfterProperties(): void;
275
+ /**
276
+ * Vue钩子
277
+ * @protected
278
+ */
279
+ protected beforeUpdate(): void;
280
+ /**
281
+ * @internal
282
+ */
283
+ protected $$beforeUpdate(): void;
284
+ /**
285
+ * Vue钩子
286
+ * @protected
287
+ */
288
+ protected updated(): void;
289
+ /**
290
+ * @internal
291
+ */
292
+ protected $$updated(): void;
293
+ /**
294
+ * Vue钩子
295
+ * @protected
296
+ */
297
+ protected activated(): void;
298
+ /**
299
+ * @internal
300
+ */
301
+ protected $$activated(): void;
302
+ /**
303
+ * Vue钩子
304
+ * @protected
305
+ */
306
+ protected deactivated(): void;
307
+ /**
308
+ * @internal
309
+ */
310
+ protected $$deactivated(): void;
311
+ /**
312
+ * Vue钩子
313
+ * @protected
314
+ */
315
+ protected beforeUnmount(): void;
316
+ /**
317
+ * @internal
318
+ */
319
+ protected $$beforeUnmount(): void;
320
+ /**
321
+ * Vue钩子
322
+ * @protected
323
+ */
324
+ protected unmounted(): void;
325
+ /**
326
+ * @internal
327
+ */
328
+ protected $$unmounted(): void;
329
+ protected $$unmountedAfterProperties(): void;
330
+ registryBehavior(name: keyof typeof BehaviorName, cb: () => void): void;
331
+ protected reset(): void;
332
+ protected translate(key: any, values?: {
333
+ [key: string]: any;
334
+ }): string;
335
+ protected translateByI18n(key: string): string;
336
+ protected genStaticPath(resourceName: string): string;
337
+ forceUpdate(): void;
338
+ }
339
+ export {};