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.
- 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 -19
- 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
|
@@ -15,7 +15,27 @@ export interface IPluginWithInit<HOST, Options = void> extends IPlugin<HOST, Opt
|
|
|
15
15
|
|
|
16
16
|
## Methods
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
<table><thead><tr><th>
|
|
19
|
+
|
|
20
|
+
Method
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
</th><th>
|
|
24
|
+
|
|
25
|
+
Description
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
</th></tr></thead>
|
|
29
|
+
<tbody><tr><td>
|
|
30
|
+
|
|
31
|
+
[inited(host, options)?](./plugin-tls.ipluginwithinit.inited.md)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
</td><td>
|
|
35
|
+
|
|
36
|
+
_(Optional)_ 当宿主实例被初始化时调用
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
</td></tr>
|
|
40
|
+
</tbody></table>
|
|
21
41
|
|
|
@@ -14,8 +14,62 @@ export interface ITierModeOptionsHost<Options extends {} = any, Mode extends str
|
|
|
14
14
|
|
|
15
15
|
## Properties
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
<table><thead><tr><th>
|
|
18
|
+
|
|
19
|
+
Property
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
</th><th>
|
|
23
|
+
|
|
24
|
+
Modifiers
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
</th><th>
|
|
28
|
+
|
|
29
|
+
Type
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
</th><th>
|
|
33
|
+
|
|
34
|
+
Description
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
</th></tr></thead>
|
|
38
|
+
<tbody><tr><td>
|
|
39
|
+
|
|
40
|
+
[mode](./plugin-tls.itiermodeoptionshost.mode.md)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
</td><td>
|
|
47
|
+
|
|
48
|
+
Mode
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
</td><td>
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
</td></tr>
|
|
55
|
+
<tr><td>
|
|
56
|
+
|
|
57
|
+
[modeOptions](./plugin-tls.itiermodeoptionshost.modeoptions.md)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
</td><td>
|
|
61
|
+
|
|
62
|
+
`readonly`
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
</td><td>
|
|
66
|
+
|
|
67
|
+
[TierModeOptions](./plugin-tls.tiermodeoptions.md)<!-- --><Mode, Options>
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
</td><td>
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
</td></tr>
|
|
74
|
+
</tbody></table>
|
|
21
75
|
|
|
@@ -14,7 +14,45 @@ export interface ITierOptionsHost<Options extends {} = any>
|
|
|
14
14
|
|
|
15
15
|
## Properties
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
<table><thead><tr><th>
|
|
18
|
+
|
|
19
|
+
Property
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
</th><th>
|
|
23
|
+
|
|
24
|
+
Modifiers
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
</th><th>
|
|
28
|
+
|
|
29
|
+
Type
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
</th><th>
|
|
33
|
+
|
|
34
|
+
Description
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
</th></tr></thead>
|
|
38
|
+
<tbody><tr><td>
|
|
39
|
+
|
|
40
|
+
[defaultOptions](./plugin-tls.itieroptionshost.defaultoptions.md)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
`readonly`
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
</td><td>
|
|
49
|
+
|
|
50
|
+
[TierOptions](./plugin-tls.tieroptions.md)<!-- --><Options>
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
</td><td>
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
</td></tr>
|
|
57
|
+
</tbody></table>
|
|
20
58
|
|