plugin-tls 1.1.1 → 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.
- package/dist/extend/extend.d.ts +2 -2
- package/dist/extend/extend.d.ts.map +1 -1
- package/dist/extend/mixin.d.ts.map +1 -1
- package/dist/index.js +1038 -0
- package/dist/index.umd.cjs +1 -0
- package/dist/options-manager/ModeOptions.d.ts.map +1 -1
- package/dist/options-manager/OptionsManager.d.ts.map +1 -1
- package/dist/options-manager/TierOptions.d.ts.map +1 -1
- package/dist/options-manager/defaultOptions.d.ts.map +1 -1
- package/dist/plugin-host/PluginHost.d.ts +53 -15
- package/dist/plugin-host/PluginHost.d.ts.map +1 -1
- package/dist/plugin-host/TierModeOptionsPluginHost.d.ts +45 -16
- package/dist/plugin-host/TierModeOptionsPluginHost.d.ts.map +1 -1
- package/dist/plugin-host/TierOptionsPluginHost.d.ts +43 -9
- package/dist/plugin-host/TierOptionsPluginHost.d.ts.map +1 -1
- package/doc/api/index.md +23 -3
- package/doc/api/plugin-tls.adddefaultoptions.md +49 -4
- package/doc/api/plugin-tls.addinstoptions.md +59 -5
- package/doc/api/plugin-tls.allfunctionapply.md +59 -5
- package/doc/api/plugin-tls.becomepluginhost_extends.md +37 -9
- package/doc/api/plugin-tls.becomepluginhost_proxy.md +31 -3
- package/doc/api/plugin-tls.classextenderprivatemember.md +64 -4
- package/doc/api/plugin-tls.classextenderprivatememberwithinit.md +43 -3
- package/doc/api/plugin-tls.classtype._new_.md +31 -3
- package/doc/api/plugin-tls.classtype.md +21 -3
- package/doc/api/plugin-tls.createcallerofprivatememberofextend.md +31 -3
- package/doc/api/plugin-tls.createextendtarget.md +33 -3
- package/doc/api/plugin-tls.createextendtargetwithinit.md +35 -5
- package/doc/api/plugin-tls.createmixintarget.md +31 -3
- package/doc/api/plugin-tls.createpluginhost.md +81 -9
- package/doc/api/plugin-tls.createpropertysetter.md +45 -4
- package/doc/api/plugin-tls.createtargetextend.md +33 -3
- package/doc/api/plugin-tls.createtargetextendwithinit.md +35 -5
- package/doc/api/plugin-tls.createtargetmixin.md +33 -3
- package/doc/api/plugin-tls.createtiermodeoptionspluginhost.md +81 -11
- package/doc/api/plugin-tls.createtieroptionspluginhost.md +78 -9
- package/doc/api/plugin-tls.defineextend.md +49 -4
- package/doc/api/plugin-tls.defineextendwithinit.md +49 -4
- package/doc/api/plugin-tls.definemixin.md +49 -4
- package/doc/api/plugin-tls.extendtarget.md +49 -4
- package/doc/api/plugin-tls.extendtargetwithinit.md +49 -4
- package/doc/api/plugin-tls.getpropertyvalue.md +45 -4
- package/doc/api/plugin-tls.getpropertyvaluebypath.md +45 -4
- package/doc/api/plugin-tls.gettargetproperties.md +45 -4
- package/doc/api/plugin-tls.idefaultoptionshost.md +41 -3
- package/doc/api/plugin-tls.iplugin.created.md +49 -4
- package/doc/api/plugin-tls.iplugin.destroyed.md +49 -4
- package/doc/api/plugin-tls.iplugin.md +45 -5
- package/doc/api/plugin-tls.iplugin.used.md +49 -4
- package/doc/api/plugin-tls.ipluginhost.md +23 -3
- package/doc/api/plugin-tls.ipluginhost.use.md +45 -4
- package/doc/api/plugin-tls.ipluginhostconstructor.md +23 -3
- package/doc/api/plugin-tls.ipluginhostconstructor.use.md +49 -4
- package/doc/api/plugin-tls.ipluginwithinit.inited.md +49 -4
- package/doc/api/plugin-tls.ipluginwithinit.md +23 -3
- package/doc/api/plugin-tls.itiermodeoptionshost.md +58 -4
- package/doc/api/plugin-tls.itieroptionshost.md +41 -3
- package/doc/api/plugin-tls.md +960 -92
- package/doc/api/plugin-tls.mergeproperties.md +45 -4
- package/doc/api/plugin-tls.mixin_4.md +49 -4
- package/doc/api/plugin-tls.mixintarget.md +49 -4
- package/doc/api/plugin-tls.modeoptions._constructor_.md +31 -3
- package/doc/api/plugin-tls.modeoptions._constructor__1.md +47 -4
- package/doc/api/plugin-tls.modeoptions.getfullmodeoption.md +31 -3
- package/doc/api/plugin-tls.modeoptions.getmodeoption.md +31 -3
- package/doc/api/plugin-tls.modeoptions.hasmode.md +31 -3
- package/doc/api/plugin-tls.modeoptions.md +347 -23
- package/doc/api/plugin-tls.modeoptions.setmodeoption.md +77 -6
- package/doc/api/plugin-tls.parsepropertypath.md +31 -3
- package/doc/api/{plugin-tls.pluginhost.destroy.md → plugin-tls.pluginhost.destroythis.md} +3 -3
- package/doc/api/plugin-tls.pluginhost.md +150 -11
- package/doc/api/plugin-tls.pluginhost.use.md +49 -4
- package/doc/api/plugin-tls.pluginmanager._constructor_.md +33 -3
- package/doc/api/plugin-tls.pluginmanager.created.md +33 -3
- package/doc/api/plugin-tls.pluginmanager.destroyed.md +33 -3
- package/doc/api/plugin-tls.pluginmanager.instuse.md +61 -5
- package/doc/api/plugin-tls.pluginmanager.md +187 -14
- package/doc/api/plugin-tls.pluginmanager.use.md +49 -4
- package/doc/api/plugin-tls.pluginmanagerwithinit.inited.md +33 -3
- package/doc/api/plugin-tls.pluginmanagerwithinit.md +31 -3
- package/doc/api/plugin-tls.privatememberofextend._constructor.md +31 -3
- package/doc/api/plugin-tls.privatememberofextend.md +34 -4
- package/doc/api/plugin-tls.privatememberofextendwithinit._init.md +31 -3
- package/doc/api/plugin-tls.privatememberofextendwithinit.md +23 -3
- package/doc/api/plugin-tls.setpropertyvalue.md +59 -5
- package/doc/api/plugin-tls.setpropertyvaluebypath.md +59 -5
- package/doc/api/plugin-tls.targetextend.md +49 -4
- package/doc/api/plugin-tls.targetextendwithinit.md +49 -4
- package/doc/api/plugin-tls.targetmixin.md +49 -4
- package/doc/api/plugin-tls.tiermodeoptions._constructor_.md +31 -3
- package/doc/api/plugin-tls.tiermodeoptions._constructor__1.md +63 -5
- package/doc/api/plugin-tls.tiermodeoptions.getfullmodeoption.md +31 -3
- package/doc/api/plugin-tls.tiermodeoptions.getmember.md +31 -3
- package/doc/api/plugin-tls.tiermodeoptions.getmodeoptionmanager.md +31 -3
- package/doc/api/plugin-tls.tiermodeoptions.getvalue.md +31 -3
- package/doc/api/plugin-tls.tiermodeoptions.hasmodeontier.md +31 -3
- package/doc/api/plugin-tls.tiermodeoptions.md +227 -17
- package/doc/api/plugin-tls.tiermodeoptionsdecorator.md +45 -4
- package/doc/api/plugin-tls.tiermodeoptionspluginhost._constructor_.md +31 -3
- package/doc/api/plugin-tls.tiermodeoptionspluginhost.md +152 -10
- package/doc/api/plugin-tls.tieroptions._constructor_.md +49 -4
- package/doc/api/plugin-tls.tieroptions.getmember.md +31 -3
- package/doc/api/plugin-tls.tieroptions.getvalue.md +31 -3
- package/doc/api/plugin-tls.tieroptions.md +209 -15
- package/doc/api/plugin-tls.tieroptionsdecorator.md +45 -4
- package/doc/api/plugin-tls.tieroptionspluginhost._constructor_.md +31 -3
- package/doc/api/plugin-tls.tieroptionspluginhost.md +116 -8
- package/package.json +29 -20
- package/dist/plugin-tls.d.ts +0 -1329
- package/dist/plugin-tls.iife.js +0 -1
- package/dist/plugin-tls.mjs +0 -1064
- package/dist/plugin-tls.umd.js +0 -1
- package/dist/tsdoc-metadata.json +0 -11
|
@@ -25,33 +25,357 @@ export declare class ModeOptions<Mode extends string | number = string, Option e
|
|
|
25
25
|
|
|
26
26
|
## Constructors
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
<table><thead><tr><th>
|
|
29
|
+
|
|
30
|
+
Constructor
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
</th><th>
|
|
34
|
+
|
|
35
|
+
Modifiers
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
</th><th>
|
|
39
|
+
|
|
40
|
+
Description
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</th></tr></thead>
|
|
44
|
+
<tbody><tr><td>
|
|
45
|
+
|
|
46
|
+
[(constructor)(mode)](./plugin-tls.modeoptions._constructor_.md)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
</td><td>
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
</td><td>
|
|
53
|
+
|
|
54
|
+
Constructs a new instance of the `ModeOptions` class
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
</td></tr>
|
|
58
|
+
<tr><td>
|
|
59
|
+
|
|
60
|
+
[(constructor)(mode, options)](./plugin-tls.modeoptions._constructor__1.md)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
</td><td>
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
</td><td>
|
|
67
|
+
|
|
68
|
+
Constructs a new instance of the `ModeOptions` class
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
</td></tr>
|
|
72
|
+
</tbody></table>
|
|
32
73
|
|
|
33
74
|
## Properties
|
|
34
75
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
76
|
+
<table><thead><tr><th>
|
|
77
|
+
|
|
78
|
+
Property
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
</th><th>
|
|
82
|
+
|
|
83
|
+
Modifiers
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
</th><th>
|
|
87
|
+
|
|
88
|
+
Type
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
</th><th>
|
|
92
|
+
|
|
93
|
+
Description
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
</th></tr></thead>
|
|
97
|
+
<tbody><tr><td>
|
|
98
|
+
|
|
99
|
+
[\_mode?](./plugin-tls.modeoptions._mode.md)
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
</td><td>
|
|
103
|
+
|
|
104
|
+
`protected`
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
</td><td>
|
|
108
|
+
|
|
109
|
+
Mode
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
</td><td>
|
|
113
|
+
|
|
114
|
+
_(Optional)_
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
</td></tr>
|
|
118
|
+
<tr><td>
|
|
119
|
+
|
|
120
|
+
[\_modeNames](./plugin-tls.modeoptions._modenames.md)
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
</td><td>
|
|
124
|
+
|
|
125
|
+
`protected`
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
</td><td>
|
|
129
|
+
|
|
130
|
+
Mode\[\] \| null
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
</td><td>
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
</td></tr>
|
|
137
|
+
<tr><td>
|
|
138
|
+
|
|
139
|
+
[\_plainFullOption](./plugin-tls.modeoptions._plainfulloption.md)
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
</td><td>
|
|
143
|
+
|
|
144
|
+
`protected`
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
</td><td>
|
|
148
|
+
|
|
149
|
+
Option \| null
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
</td><td>
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
</td></tr>
|
|
156
|
+
<tr><td>
|
|
157
|
+
|
|
158
|
+
[mode](./plugin-tls.modeoptions.mode.md)
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
</td><td>
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
</td><td>
|
|
165
|
+
|
|
166
|
+
Mode
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
</td><td>
|
|
170
|
+
|
|
171
|
+
当前模式
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
</td></tr>
|
|
175
|
+
<tr><td>
|
|
176
|
+
|
|
177
|
+
[modeNames](./plugin-tls.modeoptions.modenames.md)
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
</td><td>
|
|
181
|
+
|
|
182
|
+
`readonly`
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
</td><td>
|
|
186
|
+
|
|
187
|
+
Mode\[\]
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
</td><td>
|
|
191
|
+
|
|
192
|
+
所有的模式名字
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
</td></tr>
|
|
196
|
+
<tr><td>
|
|
197
|
+
|
|
198
|
+
[modes](./plugin-tls.modeoptions.modes.md)
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
</td><td>
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
</td><td>
|
|
205
|
+
|
|
206
|
+
Record<Mode, [TierOptions](./plugin-tls.tieroptions.md)<!-- --><Option>>
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
</td><td>
|
|
210
|
+
|
|
211
|
+
模式的配置
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
</td></tr>
|
|
215
|
+
<tr><td>
|
|
216
|
+
|
|
217
|
+
[option](./plugin-tls.modeoptions.option.md)
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
</td><td>
|
|
221
|
+
|
|
222
|
+
`readonly`
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
</td><td>
|
|
226
|
+
|
|
227
|
+
Option
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
</td><td>
|
|
231
|
+
|
|
232
|
+
当前模式对应的选项
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
</td></tr>
|
|
236
|
+
<tr><td>
|
|
237
|
+
|
|
238
|
+
[optionManager](./plugin-tls.modeoptions.optionmanager.md)
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
</td><td>
|
|
242
|
+
|
|
243
|
+
`readonly`
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
</td><td>
|
|
247
|
+
|
|
248
|
+
[TierOptions](./plugin-tls.tieroptions.md)<!-- --><Option>
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
</td><td>
|
|
252
|
+
|
|
253
|
+
当前模式的选项
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
</td></tr>
|
|
257
|
+
<tr><td>
|
|
258
|
+
|
|
259
|
+
[plainFullOption](./plugin-tls.modeoptions.plainfulloption.md)
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
</td><td>
|
|
263
|
+
|
|
264
|
+
`readonly`
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
</td><td>
|
|
268
|
+
|
|
269
|
+
Option
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
</td><td>
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
</td></tr>
|
|
276
|
+
</tbody></table>
|
|
46
277
|
|
|
47
278
|
## Methods
|
|
48
279
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
280
|
+
<table><thead><tr><th>
|
|
281
|
+
|
|
282
|
+
Method
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
</th><th>
|
|
286
|
+
|
|
287
|
+
Modifiers
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
</th><th>
|
|
291
|
+
|
|
292
|
+
Description
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
</th></tr></thead>
|
|
296
|
+
<tbody><tr><td>
|
|
297
|
+
|
|
298
|
+
[getFullModeOption(mode)](./plugin-tls.modeoptions.getfullmodeoption.md)
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
</td><td>
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
</td><td>
|
|
305
|
+
|
|
306
|
+
返回已合并继承选项的完整选项
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
</td></tr>
|
|
310
|
+
<tr><td>
|
|
311
|
+
|
|
312
|
+
[getModeNames()](./plugin-tls.modeoptions.getmodenames.md)
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
</td><td>
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
</td><td>
|
|
319
|
+
|
|
320
|
+
获取所有的模式名字
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
</td></tr>
|
|
324
|
+
<tr><td>
|
|
325
|
+
|
|
326
|
+
[getModeOption(mode)](./plugin-tls.modeoptions.getmodeoption.md)
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
</td><td>
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
</td><td>
|
|
333
|
+
|
|
334
|
+
返回已合并继承选项的选项
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
</td></tr>
|
|
338
|
+
<tr><td>
|
|
339
|
+
|
|
340
|
+
[hasMode(mode)](./plugin-tls.modeoptions.hasmode.md)
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
</td><td>
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
</td><td>
|
|
347
|
+
|
|
348
|
+
判断是否有某个模式
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
</td></tr>
|
|
352
|
+
<tr><td>
|
|
353
|
+
|
|
354
|
+
[setModeOption(mode, option, deep, extend)](./plugin-tls.modeoptions.setmodeoption.md)
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
</td><td>
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
</td><td>
|
|
361
|
+
|
|
362
|
+
给模式设置选项
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
</td></tr>
|
|
366
|
+
<tr><td>
|
|
367
|
+
|
|
368
|
+
[updateFullOption()](./plugin-tls.modeoptions.updatefulloption.md)
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
</td><td>
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
</td><td>
|
|
375
|
+
|
|
376
|
+
更新
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
</td></tr>
|
|
380
|
+
</tbody></table>
|
|
57
381
|
|
|
@@ -14,12 +14,83 @@ setModeOption(mode: Mode, option: Option, deep?: boolean, extend?: Mode): Record
|
|
|
14
14
|
|
|
15
15
|
## Parameters
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
<table><thead><tr><th>
|
|
18
|
+
|
|
19
|
+
Parameter
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
</th><th>
|
|
23
|
+
|
|
24
|
+
Type
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
</th><th>
|
|
28
|
+
|
|
29
|
+
Description
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
</th></tr></thead>
|
|
33
|
+
<tbody><tr><td>
|
|
34
|
+
|
|
35
|
+
mode
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
</td><td>
|
|
39
|
+
|
|
40
|
+
Mode
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
</td></tr>
|
|
47
|
+
<tr><td>
|
|
48
|
+
|
|
49
|
+
option
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
</td><td>
|
|
53
|
+
|
|
54
|
+
Option
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
</td><td>
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
</td></tr>
|
|
61
|
+
<tr><td>
|
|
62
|
+
|
|
63
|
+
deep
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
</td><td>
|
|
67
|
+
|
|
68
|
+
boolean
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
</td><td>
|
|
72
|
+
|
|
73
|
+
_(Optional)_ 是否要进行深度合并
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
</td></tr>
|
|
77
|
+
<tr><td>
|
|
78
|
+
|
|
79
|
+
extend
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
</td><td>
|
|
83
|
+
|
|
84
|
+
Mode
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
</td><td>
|
|
88
|
+
|
|
89
|
+
_(Optional)_ 继承哪个模式
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
</td></tr>
|
|
93
|
+
</tbody></table>
|
|
23
94
|
|
|
24
95
|
**Returns:**
|
|
25
96
|
|
|
@@ -14,9 +14,37 @@ export declare function parsePropertyPath(propPath: string): string[];
|
|
|
14
14
|
|
|
15
15
|
## Parameters
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
<table><thead><tr><th>
|
|
18
|
+
|
|
19
|
+
Parameter
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
</th><th>
|
|
23
|
+
|
|
24
|
+
Type
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
</th><th>
|
|
28
|
+
|
|
29
|
+
Description
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
</th></tr></thead>
|
|
33
|
+
<tbody><tr><td>
|
|
34
|
+
|
|
35
|
+
propPath
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
</td><td>
|
|
39
|
+
|
|
40
|
+
string
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
</td></tr>
|
|
47
|
+
</tbody></table>
|
|
20
48
|
|
|
21
49
|
**Returns:**
|
|
22
50
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
2
|
|
|
3
|
-
[Home](./index.md) > [plugin-tls](./plugin-tls.md) > [PluginHost](./plugin-tls.pluginhost.md) > [
|
|
3
|
+
[Home](./index.md) > [plugin-tls](./plugin-tls.md) > [PluginHost](./plugin-tls.pluginhost.md) > [destroyThis](./plugin-tls.pluginhost.destroythis.md)
|
|
4
4
|
|
|
5
|
-
## PluginHost.
|
|
5
|
+
## PluginHost.destroyThis() method
|
|
6
6
|
|
|
7
7
|
销毁实例
|
|
8
8
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
|
|
12
|
+
destroyThis(): void;
|
|
13
13
|
```
|
|
14
14
|
**Returns:**
|
|
15
15
|
|
|
@@ -9,8 +9,9 @@
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
export declare class PluginHost<Plugin extends IPlugin<typeof PluginHost, any> = IPlugin<typeof PluginHost, any>>
|
|
12
|
+
export declare class PluginHost<Plugin extends IPlugin<typeof PluginHost, any> = IPlugin<typeof PluginHost, any>> extends WebDestroyable
|
|
13
13
|
```
|
|
14
|
+
**Extends:** WebDestroyable
|
|
14
15
|
|
|
15
16
|
## Remarks
|
|
16
17
|
|
|
@@ -22,17 +23,155 @@ export declare class PluginHost<Plugin extends IPlugin<typeof PluginHost, any> =
|
|
|
22
23
|
|
|
23
24
|
## Properties
|
|
24
25
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
<table><thead><tr><th>
|
|
27
|
+
|
|
28
|
+
Property
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
</th><th>
|
|
32
|
+
|
|
33
|
+
Modifiers
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
</th><th>
|
|
37
|
+
|
|
38
|
+
Type
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
</th><th>
|
|
42
|
+
|
|
43
|
+
Description
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
</th></tr></thead>
|
|
47
|
+
<tbody><tr><td>
|
|
48
|
+
|
|
49
|
+
[\_pluginManager](./plugin-tls.pluginhost._pluginmanager.md)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
</td><td>
|
|
53
|
+
|
|
54
|
+
`protected`
|
|
55
|
+
|
|
56
|
+
`static`
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
</td><td>
|
|
60
|
+
|
|
61
|
+
[PluginManager](./plugin-tls.pluginmanager.md)<!-- --><any>
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
</td><td>
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
</td></tr>
|
|
68
|
+
<tr><td>
|
|
69
|
+
|
|
70
|
+
[pluginManager](./plugin-tls.pluginhost.pluginmanager.md)
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
</td><td>
|
|
74
|
+
|
|
75
|
+
`readonly`
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
</td><td>
|
|
79
|
+
|
|
80
|
+
[PluginManager](./plugin-tls.pluginmanager.md)<!-- --><any, [IPlugin](./plugin-tls.iplugin.md)<!-- --><any, any>>
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
</td><td>
|
|
84
|
+
|
|
85
|
+
插件管理器
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
</td></tr>
|
|
89
|
+
<tr><td>
|
|
90
|
+
|
|
91
|
+
[pluginManager](./plugin-tls.pluginhost.pluginmanager.md)
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
</td><td>
|
|
95
|
+
|
|
96
|
+
`static`
|
|
97
|
+
|
|
98
|
+
`readonly`
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
</td><td>
|
|
102
|
+
|
|
103
|
+
[PluginManager](./plugin-tls.pluginmanager.md)<!-- --><any, [IPlugin](./plugin-tls.iplugin.md)<!-- --><any, any>>
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
</td><td>
|
|
107
|
+
|
|
108
|
+
插件管理器
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
</td></tr>
|
|
112
|
+
</tbody></table>
|
|
30
113
|
|
|
31
114
|
## Methods
|
|
32
115
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
116
|
+
<table><thead><tr><th>
|
|
117
|
+
|
|
118
|
+
Method
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
</th><th>
|
|
122
|
+
|
|
123
|
+
Modifiers
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
</th><th>
|
|
127
|
+
|
|
128
|
+
Description
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
</th></tr></thead>
|
|
132
|
+
<tbody><tr><td>
|
|
133
|
+
|
|
134
|
+
[destroyThis()](./plugin-tls.pluginhost.destroythis.md)
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
</td><td>
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
</td><td>
|
|
141
|
+
|
|
142
|
+
销毁实例
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
</td></tr>
|
|
146
|
+
<tr><td>
|
|
147
|
+
|
|
148
|
+
[use(plugin, options)](./plugin-tls.pluginhost.use.md)
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
</td><td>
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
</td><td>
|
|
155
|
+
|
|
156
|
+
实例的注册插件的方法
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
</td></tr>
|
|
160
|
+
<tr><td>
|
|
161
|
+
|
|
162
|
+
[use(plugin, options)](./plugin-tls.pluginhost.use.md)
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
</td><td>
|
|
166
|
+
|
|
167
|
+
`static`
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
</td><td>
|
|
171
|
+
|
|
172
|
+
使用插件、注册插件
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
</td></tr>
|
|
176
|
+
</tbody></table>
|
|
38
177
|
|