plugin-tls 1.1.0 → 2.0.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 (113) hide show
  1. package/dist/extend/extend.d.ts +2 -2
  2. package/dist/extend/extend.d.ts.map +1 -1
  3. package/dist/extend/mixin.d.ts.map +1 -1
  4. package/dist/index.js +1038 -0
  5. package/dist/index.umd.cjs +1 -0
  6. package/dist/options-manager/ModeOptions.d.ts.map +1 -1
  7. package/dist/options-manager/OptionsManager.d.ts.map +1 -1
  8. package/dist/options-manager/TierOptions.d.ts.map +1 -1
  9. package/dist/options-manager/defaultOptions.d.ts.map +1 -1
  10. package/dist/plugin-host/PluginHost.d.ts +53 -15
  11. package/dist/plugin-host/PluginHost.d.ts.map +1 -1
  12. package/dist/plugin-host/TierModeOptionsPluginHost.d.ts +45 -16
  13. package/dist/plugin-host/TierModeOptionsPluginHost.d.ts.map +1 -1
  14. package/dist/plugin-host/TierOptionsPluginHost.d.ts +43 -9
  15. package/dist/plugin-host/TierOptionsPluginHost.d.ts.map +1 -1
  16. package/doc/api/index.md +23 -3
  17. package/doc/api/plugin-tls.adddefaultoptions.md +49 -4
  18. package/doc/api/plugin-tls.addinstoptions.md +59 -5
  19. package/doc/api/plugin-tls.allfunctionapply.md +59 -5
  20. package/doc/api/plugin-tls.becomepluginhost_extends.md +37 -9
  21. package/doc/api/plugin-tls.becomepluginhost_proxy.md +31 -3
  22. package/doc/api/plugin-tls.classextenderprivatemember.md +64 -4
  23. package/doc/api/plugin-tls.classextenderprivatememberwithinit.md +43 -3
  24. package/doc/api/plugin-tls.classtype._new_.md +31 -3
  25. package/doc/api/plugin-tls.classtype.md +21 -3
  26. package/doc/api/plugin-tls.createcallerofprivatememberofextend.md +31 -3
  27. package/doc/api/plugin-tls.createextendtarget.md +33 -3
  28. package/doc/api/plugin-tls.createextendtargetwithinit.md +35 -5
  29. package/doc/api/plugin-tls.createmixintarget.md +31 -3
  30. package/doc/api/plugin-tls.createpluginhost.md +81 -9
  31. package/doc/api/plugin-tls.createpropertysetter.md +45 -4
  32. package/doc/api/plugin-tls.createtargetextend.md +33 -3
  33. package/doc/api/plugin-tls.createtargetextendwithinit.md +35 -5
  34. package/doc/api/plugin-tls.createtargetmixin.md +33 -3
  35. package/doc/api/plugin-tls.createtiermodeoptionspluginhost.md +81 -11
  36. package/doc/api/plugin-tls.createtieroptionspluginhost.md +78 -9
  37. package/doc/api/plugin-tls.defineextend.md +49 -4
  38. package/doc/api/plugin-tls.defineextendwithinit.md +49 -4
  39. package/doc/api/plugin-tls.definemixin.md +49 -4
  40. package/doc/api/plugin-tls.extendtarget.md +49 -4
  41. package/doc/api/plugin-tls.extendtargetwithinit.md +49 -4
  42. package/doc/api/plugin-tls.getpropertyvalue.md +45 -4
  43. package/doc/api/plugin-tls.getpropertyvaluebypath.md +45 -4
  44. package/doc/api/plugin-tls.gettargetproperties.md +45 -4
  45. package/doc/api/plugin-tls.idefaultoptionshost.md +41 -3
  46. package/doc/api/plugin-tls.iplugin.created.md +49 -4
  47. package/doc/api/plugin-tls.iplugin.destroyed.md +49 -4
  48. package/doc/api/plugin-tls.iplugin.md +45 -5
  49. package/doc/api/plugin-tls.iplugin.used.md +49 -4
  50. package/doc/api/plugin-tls.ipluginhost.md +23 -3
  51. package/doc/api/plugin-tls.ipluginhost.use.md +45 -4
  52. package/doc/api/plugin-tls.ipluginhostconstructor.md +23 -3
  53. package/doc/api/plugin-tls.ipluginhostconstructor.use.md +49 -4
  54. package/doc/api/plugin-tls.ipluginwithinit.inited.md +49 -4
  55. package/doc/api/plugin-tls.ipluginwithinit.md +23 -3
  56. package/doc/api/plugin-tls.itiermodeoptionshost.md +58 -4
  57. package/doc/api/plugin-tls.itieroptionshost.md +41 -3
  58. package/doc/api/plugin-tls.md +960 -92
  59. package/doc/api/plugin-tls.mergeproperties.md +45 -4
  60. package/doc/api/plugin-tls.mixin_4.md +49 -4
  61. package/doc/api/plugin-tls.mixintarget.md +49 -4
  62. package/doc/api/plugin-tls.modeoptions._constructor_.md +31 -3
  63. package/doc/api/plugin-tls.modeoptions._constructor__1.md +47 -4
  64. package/doc/api/plugin-tls.modeoptions.getfullmodeoption.md +31 -3
  65. package/doc/api/plugin-tls.modeoptions.getmodeoption.md +31 -3
  66. package/doc/api/plugin-tls.modeoptions.hasmode.md +31 -3
  67. package/doc/api/plugin-tls.modeoptions.md +347 -23
  68. package/doc/api/plugin-tls.modeoptions.setmodeoption.md +77 -6
  69. package/doc/api/plugin-tls.parsepropertypath.md +31 -3
  70. package/doc/api/{plugin-tls.pluginhost.destroy.md → plugin-tls.pluginhost.destroythis.md} +3 -3
  71. package/doc/api/plugin-tls.pluginhost.md +150 -11
  72. package/doc/api/plugin-tls.pluginhost.use.md +49 -4
  73. package/doc/api/plugin-tls.pluginmanager._constructor_.md +33 -3
  74. package/doc/api/plugin-tls.pluginmanager.created.md +33 -3
  75. package/doc/api/plugin-tls.pluginmanager.destroyed.md +33 -3
  76. package/doc/api/plugin-tls.pluginmanager.instuse.md +61 -5
  77. package/doc/api/plugin-tls.pluginmanager.md +187 -14
  78. package/doc/api/plugin-tls.pluginmanager.use.md +49 -4
  79. package/doc/api/plugin-tls.pluginmanagerwithinit.inited.md +33 -3
  80. package/doc/api/plugin-tls.pluginmanagerwithinit.md +31 -3
  81. package/doc/api/plugin-tls.privatememberofextend._constructor.md +31 -3
  82. package/doc/api/plugin-tls.privatememberofextend.md +34 -4
  83. package/doc/api/plugin-tls.privatememberofextendwithinit._init.md +31 -3
  84. package/doc/api/plugin-tls.privatememberofextendwithinit.md +23 -3
  85. package/doc/api/plugin-tls.setpropertyvalue.md +59 -5
  86. package/doc/api/plugin-tls.setpropertyvaluebypath.md +59 -5
  87. package/doc/api/plugin-tls.targetextend.md +49 -4
  88. package/doc/api/plugin-tls.targetextendwithinit.md +49 -4
  89. package/doc/api/plugin-tls.targetmixin.md +49 -4
  90. package/doc/api/plugin-tls.tiermodeoptions._constructor_.md +31 -3
  91. package/doc/api/plugin-tls.tiermodeoptions._constructor__1.md +63 -5
  92. package/doc/api/plugin-tls.tiermodeoptions.getfullmodeoption.md +31 -3
  93. package/doc/api/plugin-tls.tiermodeoptions.getmember.md +31 -3
  94. package/doc/api/plugin-tls.tiermodeoptions.getmodeoptionmanager.md +31 -3
  95. package/doc/api/plugin-tls.tiermodeoptions.getvalue.md +31 -3
  96. package/doc/api/plugin-tls.tiermodeoptions.hasmodeontier.md +31 -3
  97. package/doc/api/plugin-tls.tiermodeoptions.md +227 -17
  98. package/doc/api/plugin-tls.tiermodeoptionsdecorator.md +45 -4
  99. package/doc/api/plugin-tls.tiermodeoptionspluginhost._constructor_.md +31 -3
  100. package/doc/api/plugin-tls.tiermodeoptionspluginhost.md +152 -10
  101. package/doc/api/plugin-tls.tieroptions._constructor_.md +49 -4
  102. package/doc/api/plugin-tls.tieroptions.getmember.md +31 -3
  103. package/doc/api/plugin-tls.tieroptions.getvalue.md +31 -3
  104. package/doc/api/plugin-tls.tieroptions.md +209 -15
  105. package/doc/api/plugin-tls.tieroptionsdecorator.md +45 -4
  106. package/doc/api/plugin-tls.tieroptionspluginhost._constructor_.md +31 -3
  107. package/doc/api/plugin-tls.tieroptionspluginhost.md +116 -8
  108. package/package.json +29 -19
  109. package/dist/plugin-tls.d.ts +0 -1329
  110. package/dist/plugin-tls.iife.js +0 -1
  111. package/dist/plugin-tls.mjs +0 -1064
  112. package/dist/plugin-tls.umd.js +0 -1
  113. package/dist/tsdoc-metadata.json +0 -11
@@ -14,108 +14,976 @@
14
14
 
15
15
  ## Classes
16
16
 
17
- | Class | Description |
18
- | --- | --- |
19
- | [ModeOptions](./plugin-tls.modeoptions.md) | 模式选项 |
20
- | [PluginHost](./plugin-tls.pluginhost.md) | 插件的宿主 |
21
- | [PluginManager](./plugin-tls.pluginmanager.md) | 插件管理者 |
22
- | [PluginManagerWithInit](./plugin-tls.pluginmanagerwithinit.md) | 插件管理者 |
23
- | [TierModeOptions](./plugin-tls.tiermodeoptions.md) | 层级模式选项 |
24
- | [TierModeOptionsPluginHost](./plugin-tls.tiermodeoptionspluginhost.md) | 层级模式选项插件的宿主 |
25
- | [TierOptions](./plugin-tls.tieroptions.md) | |
26
- | [TierOptionsPluginHost](./plugin-tls.tieroptionspluginhost.md) | 层级选项插件的宿主 |
17
+ <table><thead><tr><th>
18
+
19
+ Class
20
+
21
+
22
+ </th><th>
23
+
24
+ Description
25
+
26
+
27
+ </th></tr></thead>
28
+ <tbody><tr><td>
29
+
30
+ [ModeOptions](./plugin-tls.modeoptions.md)
31
+
32
+
33
+ </td><td>
34
+
35
+ 模式选项
36
+
37
+
38
+ </td></tr>
39
+ <tr><td>
40
+
41
+ [PluginHost](./plugin-tls.pluginhost.md)
42
+
43
+
44
+ </td><td>
45
+
46
+ 插件的宿主
47
+
48
+
49
+ </td></tr>
50
+ <tr><td>
51
+
52
+ [PluginManager](./plugin-tls.pluginmanager.md)
53
+
54
+
55
+ </td><td>
56
+
57
+ 插件管理者
58
+
59
+
60
+ </td></tr>
61
+ <tr><td>
62
+
63
+ [PluginManagerWithInit](./plugin-tls.pluginmanagerwithinit.md)
64
+
65
+
66
+ </td><td>
67
+
68
+ 插件管理者
69
+
70
+
71
+ </td></tr>
72
+ <tr><td>
73
+
74
+ [TierModeOptions](./plugin-tls.tiermodeoptions.md)
75
+
76
+
77
+ </td><td>
78
+
79
+ 层级模式选项
80
+
81
+
82
+ </td></tr>
83
+ <tr><td>
84
+
85
+ [TierModeOptionsPluginHost](./plugin-tls.tiermodeoptionspluginhost.md)
86
+
87
+
88
+ </td><td>
89
+
90
+ 层级模式选项插件的宿主
91
+
92
+
93
+ </td></tr>
94
+ <tr><td>
95
+
96
+ [TierOptions](./plugin-tls.tieroptions.md)
97
+
98
+
99
+ </td><td>
100
+
101
+
102
+ </td></tr>
103
+ <tr><td>
104
+
105
+ [TierOptionsPluginHost](./plugin-tls.tieroptionspluginhost.md)
106
+
107
+
108
+ </td><td>
109
+
110
+ 层级选项插件的宿主
111
+
112
+
113
+ </td></tr>
114
+ </tbody></table>
27
115
 
28
116
  ## Functions
29
117
 
30
- | Function | Description |
31
- | --- | --- |
32
- | [addDefaultOptions(options, name)](./plugin-tls.adddefaultoptions.md) | 创建增加带有选项机制的装饰器 |
33
- | [addInstOptions(target, propertyKey, descriptor)](./plugin-tls.addinstoptions.md) | 创建增加带有选项机制的装饰器 |
34
- | [allFunctionApply(funArr, thisArg, args)](./plugin-tls.allfunctionapply.md) | 对一组函数批量调用 apply |
35
- | [becomePluginHost\_Extends(target)](./plugin-tls.becomepluginhost_extends.md) | 插件缩主类的装饰器(继承版) |
36
- | [becomePluginHost\_Proxy(target)](./plugin-tls.becomepluginhost_proxy.md) | 变成插件宿主 |
37
- | [becomePluginHost(target)](./plugin-tls.becomepluginhost.md) | 变成插件宿主 |
38
- | [becomeTierModeOptionsHost(host, mode, options)](./plugin-tls.becometiermodeoptionshost.md) | 使 host 变成 层级选项的宿主类型 |
39
- | [becomeTierOptionsHost(host, option)](./plugin-tls.becometieroptionshost.md) | 使 host 变成 层级选项的宿主类型 |
40
- | [createCallerOfPrivateMemberOfExtend(cla)](./plugin-tls.createcallerofprivatememberofextend.md) | 创建扩展的私有方法的调用者 |
41
- | [createDefineMixin()](./plugin-tls.createdefinemixin.md) | 创建定义混合的类型便利函数 |
42
- | [createExtendTarget(cla)](./plugin-tls.createextendtarget.md) | 创建用于扩展目标工具函数 |
43
- | [createExtendTargetWithInit(cla)](./plugin-tls.createextendtargetwithinit.md) | 创建用于扩展目标工具函数 |
44
- | [createMixinTarget(target)](./plugin-tls.createmixintarget.md) | 创建用于混合目标工具函数 |
45
- | [createPluginHost()](./plugin-tls.createpluginhost.md) | 创建插件的缩主类 |
46
- | [createPropertySetter(target, props)](./plugin-tls.createpropertysetter.md) | 创建属性设置器 |
47
- | [createTargetExtend(cla)](./plugin-tls.createtargetextend.md) | 创建用于扩展目标的便捷函数 |
48
- | [createTargetExtendWithInit(cla)](./plugin-tls.createtargetextendwithinit.md) | 创建用于扩展目标的便捷函数 |
49
- | [createTargetMixin(target)](./plugin-tls.createtargetmixin.md) | 创建用于混合目标的便捷函数 |
50
- | [createTierModeOptionsPluginHost()](./plugin-tls.createtiermodeoptionspluginhost.md) | 创建带有选项机制的插件宿主类 比 直接使用 ModeOptionsPluginHost 提供了完善的类型推导 |
51
- | [createTierOptionsPluginHost()](./plugin-tls.createtieroptionspluginhost.md) | 创建带有选项机制的插件宿主类 比 直接使用 OptionsPluginHost 提供了完善的类型推导 |
52
- | [defineExtend(cla, ext)](./plugin-tls.defineextend.md) | 定义扩展的类型便利函数 |
53
- | [defineExtendWithInit(cla, ext)](./plugin-tls.defineextendwithinit.md) | 定义扩展的类型便利函数 |
54
- | [defineMixin(target, mixin)](./plugin-tls.definemixin.md) | 定义混合的类型便利函数 |
55
- | [extendTarget(cla, ext)](./plugin-tls.extendtarget.md) | 扩展目标 |
56
- | [extendTargetWithInit(cla, ext)](./plugin-tls.extendtargetwithinit.md) | 扩展目标 |
57
- | [getPropertyValue(obj, props)](./plugin-tls.getpropertyvalue.md) | 通过key列表获取对象中对应属性的值 |
58
- | [getPropertyValueByPath(obj, propPath)](./plugin-tls.getpropertyvaluebypath.md) | 获取对象的属性路径对应的属性值 |
59
- | [getTargetProperties(target, props)](./plugin-tls.gettargetproperties.md) | 按照 props 的结构,获取 target 的 属性对象 - props 中所有 纯对象 都会被作为 props 进行递归地获取 |
60
- | [mergeProperties(target, props)](./plugin-tls.mergeproperties.md) | 合并属性 该方法会将 props 深度合并到 target 中, - 所有 纯对象 的属性值都会被作为 props 进行深度合并 - 对于不是纯对象的属性,会将其视为属性值设置到到目标中对应的属性上 |
61
- | [mixin(target, sources)](./plugin-tls.mixin_4.md) | 混合 |
62
- | [mixinTarget(target, m)](./plugin-tls.mixintarget.md) | 混合目标 |
63
- | [parsePropertyPath(propPath)](./plugin-tls.parsepropertypath.md) | 解析属性路径为属性列表 |
64
- | [setPropertyValue(obj, props, value)](./plugin-tls.setpropertyvalue.md) | 通过属性路径列表设置对象中对应属性的值 |
65
- | [setPropertyValueByPath(obj, propPath, value)](./plugin-tls.setpropertyvaluebypath.md) | 获取对象的属性路径对应的属性值 |
66
- | [targetExtend(cla, ext)](./plugin-tls.targetextend.md) | 扩展目标 |
67
- | [targetExtendWithInit(cla, ext)](./plugin-tls.targetextendwithinit.md) | 扩展目标 |
68
- | [targetMixin(target, m)](./plugin-tls.targetmixin.md) | 混合目标 |
69
- | [tierModeOptionsDecorator(value, context)](./plugin-tls.tiermodeoptionsdecorator.md) | 层级模式选项主机装饰器 |
70
- | [tierOptionsDecorator(value, context)](./plugin-tls.tieroptionsdecorator.md) | 层级选项主机装饰器 |
118
+ <table><thead><tr><th>
119
+
120
+ Function
121
+
122
+
123
+ </th><th>
124
+
125
+ Description
126
+
127
+
128
+ </th></tr></thead>
129
+ <tbody><tr><td>
130
+
131
+ [addDefaultOptions(options, name)](./plugin-tls.adddefaultoptions.md)
132
+
133
+
134
+ </td><td>
135
+
136
+ 创建增加带有选项机制的装饰器
137
+
138
+
139
+ </td></tr>
140
+ <tr><td>
141
+
142
+ [addInstOptions(target, propertyKey, descriptor)](./plugin-tls.addinstoptions.md)
143
+
144
+
145
+ </td><td>
146
+
147
+ 创建增加带有选项机制的装饰器
148
+
149
+
150
+ </td></tr>
151
+ <tr><td>
152
+
153
+ [allFunctionApply(funArr, thisArg, args)](./plugin-tls.allfunctionapply.md)
154
+
155
+
156
+ </td><td>
157
+
158
+ 对一组函数批量调用 apply
159
+
160
+
161
+ </td></tr>
162
+ <tr><td>
163
+
164
+ [becomePluginHost\_Extends(target)](./plugin-tls.becomepluginhost_extends.md)
165
+
166
+
167
+ </td><td>
168
+
169
+ 插件缩主类的装饰器(继承版)
170
+
171
+
172
+ </td></tr>
173
+ <tr><td>
174
+
175
+ [becomePluginHost\_Proxy(target)](./plugin-tls.becomepluginhost_proxy.md)
176
+
177
+
178
+ </td><td>
179
+
180
+ 变成插件宿主
181
+
182
+
183
+ </td></tr>
184
+ <tr><td>
185
+
186
+ [becomePluginHost(target)](./plugin-tls.becomepluginhost.md)
187
+
188
+
189
+ </td><td>
190
+
191
+ 变成插件宿主
192
+
193
+
194
+ </td></tr>
195
+ <tr><td>
196
+
197
+ [becomeTierModeOptionsHost(host, mode, options)](./plugin-tls.becometiermodeoptionshost.md)
198
+
199
+
200
+ </td><td>
201
+
202
+ 使 host 变成 层级选项的宿主类型
203
+
204
+
205
+ </td></tr>
206
+ <tr><td>
207
+
208
+ [becomeTierOptionsHost(host, option)](./plugin-tls.becometieroptionshost.md)
209
+
210
+
211
+ </td><td>
212
+
213
+ 使 host 变成 层级选项的宿主类型
214
+
215
+
216
+ </td></tr>
217
+ <tr><td>
218
+
219
+ [createCallerOfPrivateMemberOfExtend(cla)](./plugin-tls.createcallerofprivatememberofextend.md)
220
+
221
+
222
+ </td><td>
223
+
224
+ 创建扩展的私有方法的调用者
225
+
226
+
227
+ </td></tr>
228
+ <tr><td>
229
+
230
+ [createDefineMixin()](./plugin-tls.createdefinemixin.md)
231
+
232
+
233
+ </td><td>
234
+
235
+ 创建定义混合的类型便利函数
236
+
237
+
238
+ </td></tr>
239
+ <tr><td>
240
+
241
+ [createExtendTarget(cla)](./plugin-tls.createextendtarget.md)
242
+
243
+
244
+ </td><td>
245
+
246
+ 创建用于扩展目标工具函数
247
+
248
+
249
+ </td></tr>
250
+ <tr><td>
251
+
252
+ [createExtendTargetWithInit(cla)](./plugin-tls.createextendtargetwithinit.md)
253
+
254
+
255
+ </td><td>
256
+
257
+ 创建用于扩展目标工具函数
258
+
259
+
260
+ </td></tr>
261
+ <tr><td>
262
+
263
+ [createMixinTarget(target)](./plugin-tls.createmixintarget.md)
264
+
265
+
266
+ </td><td>
267
+
268
+ 创建用于混合目标工具函数
269
+
270
+
271
+ </td></tr>
272
+ <tr><td>
273
+
274
+ [createPluginHost(ParentClass)](./plugin-tls.createpluginhost.md)
275
+
276
+
277
+ </td><td>
278
+
279
+ 创建插件的缩主类
280
+
281
+
282
+ </td></tr>
283
+ <tr><td>
284
+
285
+ [createPropertySetter(target, props)](./plugin-tls.createpropertysetter.md)
286
+
287
+
288
+ </td><td>
289
+
290
+ 创建属性设置器
291
+
292
+
293
+ </td></tr>
294
+ <tr><td>
295
+
296
+ [createTargetExtend(cla)](./plugin-tls.createtargetextend.md)
297
+
298
+
299
+ </td><td>
300
+
301
+ 创建用于扩展目标的便捷函数
302
+
303
+
304
+ </td></tr>
305
+ <tr><td>
306
+
307
+ [createTargetExtendWithInit(cla)](./plugin-tls.createtargetextendwithinit.md)
308
+
309
+
310
+ </td><td>
311
+
312
+ 创建用于扩展目标的便捷函数
313
+
314
+
315
+ </td></tr>
316
+ <tr><td>
317
+
318
+ [createTargetMixin(target)](./plugin-tls.createtargetmixin.md)
319
+
320
+
321
+ </td><td>
322
+
323
+ 创建用于混合目标的便捷函数
324
+
325
+
326
+ </td></tr>
327
+ <tr><td>
328
+
329
+ [createTierModeOptionsPluginHost(ParentClass)](./plugin-tls.createtiermodeoptionspluginhost.md)
330
+
331
+
332
+ </td><td>
333
+
334
+ 创建带有选项机制的插件宿主类 比 直接使用 ModeOptionsPluginHost 提供了完善的类型推导
335
+
336
+
337
+ </td></tr>
338
+ <tr><td>
339
+
340
+ [createTierOptionsPluginHost(ParentClass)](./plugin-tls.createtieroptionspluginhost.md)
341
+
342
+
343
+ </td><td>
344
+
345
+ 创建带有选项机制的插件宿主类 比 直接使用 OptionsPluginHost 提供了完善的类型推导
346
+
347
+
348
+ </td></tr>
349
+ <tr><td>
350
+
351
+ [defineExtend(cla, ext)](./plugin-tls.defineextend.md)
352
+
353
+
354
+ </td><td>
355
+
356
+ 定义扩展的类型便利函数
357
+
358
+
359
+ </td></tr>
360
+ <tr><td>
361
+
362
+ [defineExtendWithInit(cla, ext)](./plugin-tls.defineextendwithinit.md)
363
+
364
+
365
+ </td><td>
366
+
367
+ 定义扩展的类型便利函数
368
+
369
+
370
+ </td></tr>
371
+ <tr><td>
372
+
373
+ [defineMixin(target, mixin)](./plugin-tls.definemixin.md)
374
+
375
+
376
+ </td><td>
377
+
378
+ 定义混合的类型便利函数
379
+
380
+
381
+ </td></tr>
382
+ <tr><td>
383
+
384
+ [extendTarget(cla, ext)](./plugin-tls.extendtarget.md)
385
+
386
+
387
+ </td><td>
388
+
389
+ 扩展目标
390
+
391
+
392
+ </td></tr>
393
+ <tr><td>
394
+
395
+ [extendTargetWithInit(cla, ext)](./plugin-tls.extendtargetwithinit.md)
396
+
397
+
398
+ </td><td>
399
+
400
+ 扩展目标
401
+
402
+
403
+ </td></tr>
404
+ <tr><td>
405
+
406
+ [getPropertyValue(obj, props)](./plugin-tls.getpropertyvalue.md)
407
+
408
+
409
+ </td><td>
410
+
411
+ 通过key列表获取对象中对应属性的值
412
+
413
+
414
+ </td></tr>
415
+ <tr><td>
416
+
417
+ [getPropertyValueByPath(obj, propPath)](./plugin-tls.getpropertyvaluebypath.md)
418
+
419
+
420
+ </td><td>
421
+
422
+ 获取对象的属性路径对应的属性值
423
+
424
+
425
+ </td></tr>
426
+ <tr><td>
427
+
428
+ [getTargetProperties(target, props)](./plugin-tls.gettargetproperties.md)
429
+
430
+
431
+ </td><td>
432
+
433
+ 按照 props 的结构,获取 target 的 属性对象 - props 中所有 纯对象 都会被作为 props 进行递归地获取
434
+
435
+
436
+ </td></tr>
437
+ <tr><td>
438
+
439
+ [mergeProperties(target, props)](./plugin-tls.mergeproperties.md)
440
+
441
+
442
+ </td><td>
443
+
444
+ 合并属性 该方法会将 props 深度合并到 target 中, - 所有 纯对象 的属性值都会被作为 props 进行深度合并 - 对于不是纯对象的属性,会将其视为属性值设置到到目标中对应的属性上
445
+
446
+
447
+ </td></tr>
448
+ <tr><td>
449
+
450
+ [mixin(target, sources)](./plugin-tls.mixin_4.md)
451
+
452
+
453
+ </td><td>
454
+
455
+ 混合
456
+
457
+
458
+ </td></tr>
459
+ <tr><td>
460
+
461
+ [mixinTarget(target, m)](./plugin-tls.mixintarget.md)
462
+
463
+
464
+ </td><td>
465
+
466
+ 混合目标
467
+
468
+
469
+ </td></tr>
470
+ <tr><td>
471
+
472
+ [parsePropertyPath(propPath)](./plugin-tls.parsepropertypath.md)
473
+
474
+
475
+ </td><td>
476
+
477
+ 解析属性路径为属性列表
478
+
479
+
480
+ </td></tr>
481
+ <tr><td>
482
+
483
+ [setPropertyValue(obj, props, value)](./plugin-tls.setpropertyvalue.md)
484
+
485
+
486
+ </td><td>
487
+
488
+ 通过属性路径列表设置对象中对应属性的值
489
+
490
+
491
+ </td></tr>
492
+ <tr><td>
493
+
494
+ [setPropertyValueByPath(obj, propPath, value)](./plugin-tls.setpropertyvaluebypath.md)
495
+
496
+
497
+ </td><td>
498
+
499
+ 获取对象的属性路径对应的属性值
500
+
501
+
502
+ </td></tr>
503
+ <tr><td>
504
+
505
+ [targetExtend(cla, ext)](./plugin-tls.targetextend.md)
506
+
507
+
508
+ </td><td>
509
+
510
+ 扩展目标
511
+
512
+
513
+ </td></tr>
514
+ <tr><td>
515
+
516
+ [targetExtendWithInit(cla, ext)](./plugin-tls.targetextendwithinit.md)
517
+
518
+
519
+ </td><td>
520
+
521
+ 扩展目标
522
+
523
+
524
+ </td></tr>
525
+ <tr><td>
526
+
527
+ [targetMixin(target, m)](./plugin-tls.targetmixin.md)
528
+
529
+
530
+ </td><td>
531
+
532
+ 混合目标
533
+
534
+
535
+ </td></tr>
536
+ <tr><td>
537
+
538
+ [tierModeOptionsDecorator(value, context)](./plugin-tls.tiermodeoptionsdecorator.md)
539
+
540
+
541
+ </td><td>
542
+
543
+ 层级模式选项主机装饰器
544
+
545
+
546
+ </td></tr>
547
+ <tr><td>
548
+
549
+ [tierOptionsDecorator(value, context)](./plugin-tls.tieroptionsdecorator.md)
550
+
551
+
552
+ </td><td>
553
+
554
+ 层级选项主机装饰器
555
+
556
+
557
+ </td></tr>
558
+ </tbody></table>
71
559
 
72
560
  ## Interfaces
73
561
 
74
- | Interface | Description |
75
- | --- | --- |
76
- | [ClassExtenderPrivateMember](./plugin-tls.classextenderprivatemember.md) | 类扩展者的私有方法 |
77
- | [ClassExtenderPrivateMemberWithInit](./plugin-tls.classextenderprivatememberwithinit.md) | 类扩展者的私有方法 |
78
- | [ClassType](./plugin-tls.classtype.md) | 类的类型、构造函数的类型 |
79
- | [IDefaultOptionsHost](./plugin-tls.idefaultoptionshost.md) | 默认选项宿主接口 |
80
- | [IIDefaultOptionsHostConstructor](./plugin-tls.iidefaultoptionshostconstructor.md) | 默认选项宿主的构建函数接口 |
81
- | [IPlugin](./plugin-tls.iplugin.md) | 插件的接口 |
82
- | [IPluginHost](./plugin-tls.ipluginhost.md) | 插件宿主的接口 |
83
- | [IPluginHostConstructor](./plugin-tls.ipluginhostconstructor.md) | 插件宿主构造函数的接口 |
84
- | [IPluginWithInit](./plugin-tls.ipluginwithinit.md) | 插件的接口 |
85
- | [ITierModeOptionsHost](./plugin-tls.itiermodeoptionshost.md) | 选项宿主接口 |
86
- | [ITierModeOptionsHostConstructor](./plugin-tls.itiermodeoptionshostconstructor.md) | 选项宿主的构建函数接口 |
87
- | [ITierOptionsHost](./plugin-tls.itieroptionshost.md) | 选项插件宿主接口 |
88
- | [ITierOptionsHostConstructor](./plugin-tls.itieroptionshostconstructor.md) | 选项插件宿主的构建函数接口 |
89
- | [PrivateMemberOfExtend](./plugin-tls.privatememberofextend.md) | 用于定义扩展选项中的私有成员 |
90
- | [PrivateMemberOfExtendWithInit](./plugin-tls.privatememberofextendwithinit.md) | 用于定义扩展选项中的私有成员 |
562
+ <table><thead><tr><th>
563
+
564
+ Interface
565
+
566
+
567
+ </th><th>
568
+
569
+ Description
570
+
571
+
572
+ </th></tr></thead>
573
+ <tbody><tr><td>
574
+
575
+ [ClassExtenderPrivateMember](./plugin-tls.classextenderprivatemember.md)
576
+
577
+
578
+ </td><td>
579
+
580
+ 类扩展者的私有方法
581
+
582
+
583
+ </td></tr>
584
+ <tr><td>
585
+
586
+ [ClassExtenderPrivateMemberWithInit](./plugin-tls.classextenderprivatememberwithinit.md)
587
+
588
+
589
+ </td><td>
590
+
591
+ 类扩展者的私有方法
592
+
593
+
594
+ </td></tr>
595
+ <tr><td>
596
+
597
+ [ClassType](./plugin-tls.classtype.md)
598
+
599
+
600
+ </td><td>
601
+
602
+ 类的类型、构造函数的类型
603
+
604
+
605
+ </td></tr>
606
+ <tr><td>
607
+
608
+ [IDefaultOptionsHost](./plugin-tls.idefaultoptionshost.md)
609
+
610
+
611
+ </td><td>
612
+
613
+ 默认选项宿主接口
614
+
615
+
616
+ </td></tr>
617
+ <tr><td>
618
+
619
+ [IIDefaultOptionsHostConstructor](./plugin-tls.iidefaultoptionshostconstructor.md)
620
+
621
+
622
+ </td><td>
623
+
624
+ 默认选项宿主的构建函数接口
625
+
626
+
627
+ </td></tr>
628
+ <tr><td>
629
+
630
+ [IPlugin](./plugin-tls.iplugin.md)
631
+
632
+
633
+ </td><td>
634
+
635
+ 插件的接口
636
+
637
+
638
+ </td></tr>
639
+ <tr><td>
640
+
641
+ [IPluginHost](./plugin-tls.ipluginhost.md)
642
+
643
+
644
+ </td><td>
645
+
646
+ 插件宿主的接口
647
+
648
+
649
+ </td></tr>
650
+ <tr><td>
651
+
652
+ [IPluginHostConstructor](./plugin-tls.ipluginhostconstructor.md)
653
+
654
+
655
+ </td><td>
656
+
657
+ 插件宿主构造函数的接口
658
+
659
+
660
+ </td></tr>
661
+ <tr><td>
662
+
663
+ [IPluginWithInit](./plugin-tls.ipluginwithinit.md)
664
+
665
+
666
+ </td><td>
667
+
668
+ 插件的接口
669
+
670
+
671
+ </td></tr>
672
+ <tr><td>
673
+
674
+ [ITierModeOptionsHost](./plugin-tls.itiermodeoptionshost.md)
675
+
676
+
677
+ </td><td>
678
+
679
+ 选项宿主接口
680
+
681
+
682
+ </td></tr>
683
+ <tr><td>
684
+
685
+ [ITierModeOptionsHostConstructor](./plugin-tls.itiermodeoptionshostconstructor.md)
686
+
687
+
688
+ </td><td>
689
+
690
+ 选项宿主的构建函数接口
691
+
692
+
693
+ </td></tr>
694
+ <tr><td>
695
+
696
+ [ITierOptionsHost](./plugin-tls.itieroptionshost.md)
697
+
698
+
699
+ </td><td>
700
+
701
+ 选项插件宿主接口
702
+
703
+
704
+ </td></tr>
705
+ <tr><td>
706
+
707
+ [ITierOptionsHostConstructor](./plugin-tls.itieroptionshostconstructor.md)
708
+
709
+
710
+ </td><td>
711
+
712
+ 选项插件宿主的构建函数接口
713
+
714
+
715
+ </td></tr>
716
+ <tr><td>
717
+
718
+ [PrivateMemberOfExtend](./plugin-tls.privatememberofextend.md)
719
+
720
+
721
+ </td><td>
722
+
723
+ 用于定义扩展选项中的私有成员
724
+
725
+
726
+ </td></tr>
727
+ <tr><td>
728
+
729
+ [PrivateMemberOfExtendWithInit](./plugin-tls.privatememberofextendwithinit.md)
730
+
731
+
732
+ </td><td>
733
+
734
+ 用于定义扩展选项中的私有成员
735
+
736
+
737
+ </td></tr>
738
+ </tbody></table>
91
739
 
92
740
  ## Variables
93
741
 
94
- | Variable | Description |
95
- | --- | --- |
96
- | [commonModeName](./plugin-tls.commonmodename.md) | 一般模式的名字 |
742
+ <table><thead><tr><th>
743
+
744
+ Variable
745
+
746
+
747
+ </th><th>
748
+
749
+ Description
750
+
751
+
752
+ </th></tr></thead>
753
+ <tbody><tr><td>
754
+
755
+ [commonModeName](./plugin-tls.commonmodename.md)
756
+
757
+
758
+ </td><td>
759
+
760
+ 一般模式的名字
761
+
762
+
763
+ </td></tr>
764
+ </tbody></table>
97
765
 
98
766
  ## Type Aliases
99
767
 
100
- | Type Alias | Description |
101
- | --- | --- |
102
- | [BecomePluginHost](./plugin-tls.becomepluginhost.md) | 将 HOST 变成插件宿主类型 |
103
- | [BecomeTierModeOptionsHost](./plugin-tls.becometiermodeoptionshost.md) | 使 HOST 变成 层级选项的宿主类型 |
104
- | [BecomeTierOptionsHost](./plugin-tls.becometieroptionshost.md) | 使 HOST 变成 层级选项的宿主类型 |
105
- | [ClassExtender](./plugin-tls.classextender.md) | 类扩展者 |
106
- | [ClassExtenderWithInit](./plugin-tls.classextenderwithinit.md) | 类扩展者 |
107
- | [FormatUseParameters](./plugin-tls.formatuseparameters.md) | 格式化 use 方法的参数列表 |
108
- | [FormatUsePluginParameters](./plugin-tls.formatusepluginparameters.md) | 格式化 use 方法的参数列表 |
109
- | [GetNormalizePluginOptions](./plugin-tls.getnormalizepluginoptions.md) | 获取规范化的插件选项 |
110
- | [GetPluginOptions](./plugin-tls.getpluginoptions.md) | 获取插件的选项类型 |
111
- | [HostInst](./plugin-tls.hostinst.md) | 插件宿主的实例类型 |
112
- | [ITierModeOptionsPluginHost](./plugin-tls.itiermodeoptionspluginhost.md) | 选项插件宿主接口 |
113
- | [ITierModeOptionsPluginHostConstructor](./plugin-tls.itiermodeoptionspluginhostconstructor.md) | 选项插件宿主的构建函数接口 |
114
- | [ITierOptionsPluginHost](./plugin-tls.itieroptionspluginhost.md) | 选项插件宿主接口 |
115
- | [ITierOptionsPluginHostConstructor](./plugin-tls.itieroptionspluginhostconstructor.md) | 选项插件宿主的构建函数接口 |
116
- | [NormalizePluginOptions](./plugin-tls.normalizepluginoptions.md) | 将选项格式成方法的参数类型 |
117
- | [PluginCreatedReturnType](./plugin-tls.plugincreatedreturntype.md) | 插件的 created 方法的返回值类型 |
118
- | [PluginUseReturnType](./plugin-tls.pluginusereturntype.md) | 插件的 used 方法的返回值类型 |
119
- | [ReplaceConstructorParameters](./plugin-tls.replaceconstructorparameters.md) | 替换构建函数的参数 |
120
- | [ReplaceConstructorReturn](./plugin-tls.replaceconstructorreturn.md) | 替换构造函数的返回类型 |
768
+ <table><thead><tr><th>
769
+
770
+ Type Alias
771
+
772
+
773
+ </th><th>
774
+
775
+ Description
776
+
777
+
778
+ </th></tr></thead>
779
+ <tbody><tr><td>
780
+
781
+ [BecomePluginHost](./plugin-tls.becomepluginhost.md)
782
+
783
+
784
+ </td><td>
785
+
786
+ HOST 变成插件宿主类型
787
+
788
+
789
+ </td></tr>
790
+ <tr><td>
791
+
792
+ [BecomeTierModeOptionsHost](./plugin-tls.becometiermodeoptionshost.md)
793
+
794
+
795
+ </td><td>
796
+
797
+ 使 HOST 变成 层级选项的宿主类型
798
+
799
+
800
+ </td></tr>
801
+ <tr><td>
802
+
803
+ [BecomeTierOptionsHost](./plugin-tls.becometieroptionshost.md)
804
+
805
+
806
+ </td><td>
807
+
808
+ 使 HOST 变成 层级选项的宿主类型
809
+
810
+
811
+ </td></tr>
812
+ <tr><td>
813
+
814
+ [ClassExtender](./plugin-tls.classextender.md)
815
+
816
+
817
+ </td><td>
818
+
819
+ 类扩展者
820
+
821
+
822
+ </td></tr>
823
+ <tr><td>
824
+
825
+ [ClassExtenderWithInit](./plugin-tls.classextenderwithinit.md)
826
+
827
+
828
+ </td><td>
829
+
830
+ 类扩展者
831
+
832
+
833
+ </td></tr>
834
+ <tr><td>
835
+
836
+ [FormatUseParameters](./plugin-tls.formatuseparameters.md)
837
+
838
+
839
+ </td><td>
840
+
841
+ 格式化 use 方法的参数列表
842
+
843
+
844
+ </td></tr>
845
+ <tr><td>
846
+
847
+ [FormatUsePluginParameters](./plugin-tls.formatusepluginparameters.md)
848
+
849
+
850
+ </td><td>
851
+
852
+ 格式化 use 方法的参数列表
853
+
854
+
855
+ </td></tr>
856
+ <tr><td>
857
+
858
+ [GetNormalizePluginOptions](./plugin-tls.getnormalizepluginoptions.md)
859
+
860
+
861
+ </td><td>
862
+
863
+ 获取规范化的插件选项
864
+
865
+
866
+ </td></tr>
867
+ <tr><td>
868
+
869
+ [GetPluginOptions](./plugin-tls.getpluginoptions.md)
870
+
871
+
872
+ </td><td>
873
+
874
+ 获取插件的选项类型
875
+
876
+
877
+ </td></tr>
878
+ <tr><td>
879
+
880
+ [HostInst](./plugin-tls.hostinst.md)
881
+
882
+
883
+ </td><td>
884
+
885
+ 插件宿主的实例类型
886
+
887
+
888
+ </td></tr>
889
+ <tr><td>
890
+
891
+ [ITierModeOptionsPluginHost](./plugin-tls.itiermodeoptionspluginhost.md)
892
+
893
+
894
+ </td><td>
895
+
896
+ 选项插件宿主接口
897
+
898
+
899
+ </td></tr>
900
+ <tr><td>
901
+
902
+ [ITierModeOptionsPluginHostConstructor](./plugin-tls.itiermodeoptionspluginhostconstructor.md)
903
+
904
+
905
+ </td><td>
906
+
907
+ 选项插件宿主的构建函数接口
908
+
909
+
910
+ </td></tr>
911
+ <tr><td>
912
+
913
+ [ITierOptionsPluginHost](./plugin-tls.itieroptionspluginhost.md)
914
+
915
+
916
+ </td><td>
917
+
918
+ 选项插件宿主接口
919
+
920
+
921
+ </td></tr>
922
+ <tr><td>
923
+
924
+ [ITierOptionsPluginHostConstructor](./plugin-tls.itieroptionspluginhostconstructor.md)
925
+
926
+
927
+ </td><td>
928
+
929
+ 选项插件宿主的构建函数接口
930
+
931
+
932
+ </td></tr>
933
+ <tr><td>
934
+
935
+ [NormalizePluginOptions](./plugin-tls.normalizepluginoptions.md)
936
+
937
+
938
+ </td><td>
939
+
940
+ 将选项格式成方法的参数类型
941
+
942
+
943
+ </td></tr>
944
+ <tr><td>
945
+
946
+ [PluginCreatedReturnType](./plugin-tls.plugincreatedreturntype.md)
947
+
948
+
949
+ </td><td>
950
+
951
+ 插件的 created 方法的返回值类型
952
+
953
+
954
+ </td></tr>
955
+ <tr><td>
956
+
957
+ [PluginUseReturnType](./plugin-tls.pluginusereturntype.md)
958
+
959
+
960
+ </td><td>
961
+
962
+ 插件的 used 方法的返回值类型
963
+
964
+
965
+ </td></tr>
966
+ <tr><td>
967
+
968
+ [ReplaceConstructorParameters](./plugin-tls.replaceconstructorparameters.md)
969
+
970
+
971
+ </td><td>
972
+
973
+ 替换构建函数的参数
974
+
975
+
976
+ </td></tr>
977
+ <tr><td>
978
+
979
+ [ReplaceConstructorReturn](./plugin-tls.replaceconstructorreturn.md)
980
+
981
+
982
+ </td><td>
983
+
984
+ 替换构造函数的返回类型
985
+
986
+
987
+ </td></tr>
988
+ </tbody></table>
121
989