dyo-tools 0.1.0-rc1

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 (78) hide show
  1. package/.c8rc.json +4 -0
  2. package/.eslintignore +2 -0
  3. package/.eslintrc.json +41 -0
  4. package/Makefile +34 -0
  5. package/README.md +0 -0
  6. package/TODO.md +18 -0
  7. package/babel.config.js +1 -0
  8. package/dist/core/DTBunch.d.ts +32 -0
  9. package/dist/core/DTBunch.js +283 -0
  10. package/dist/core/DTBunch.js.map +1 -0
  11. package/dist/core/DTComponent.d.ts +20 -0
  12. package/dist/core/DTComponent.js +41 -0
  13. package/dist/core/DTComponent.js.map +1 -0
  14. package/dist/core/DTComponentWithMeta.d.ts +9 -0
  15. package/dist/core/DTComponentWithMeta.js +32 -0
  16. package/dist/core/DTComponentWithMeta.js.map +1 -0
  17. package/dist/core/DTElement.d.ts +13 -0
  18. package/dist/core/DTElement.js +46 -0
  19. package/dist/core/DTElement.js.map +1 -0
  20. package/dist/core/DTError.d.ts +13 -0
  21. package/dist/core/DTError.js +28 -0
  22. package/dist/core/DTError.js.map +1 -0
  23. package/dist/core/DTPlayer.d.ts +8 -0
  24. package/dist/core/DTPlayer.js +30 -0
  25. package/dist/core/DTPlayer.js.map +1 -0
  26. package/dist/index.d.ts +6 -0
  27. package/dist/index.js +16 -0
  28. package/dist/index.js.map +1 -0
  29. package/dist/tsconfig.tsbuildinfo +1321 -0
  30. package/dist/types/index.d.ts +58 -0
  31. package/dist/types/index.js +15 -0
  32. package/dist/types/index.js.map +1 -0
  33. package/dist/utils/filters.d.ts +6 -0
  34. package/dist/utils/filters.js +39 -0
  35. package/dist/utils/filters.js.map +1 -0
  36. package/docs/.nojekyll +1 -0
  37. package/docs/assets/highlight.css +22 -0
  38. package/docs/assets/icons.css +1043 -0
  39. package/docs/assets/icons.png +0 -0
  40. package/docs/assets/icons@2x.png +0 -0
  41. package/docs/assets/main.js +52 -0
  42. package/docs/assets/search.js +1 -0
  43. package/docs/assets/style.css +1388 -0
  44. package/docs/assets/widgets.png +0 -0
  45. package/docs/assets/widgets@2x.png +0 -0
  46. package/docs/classes/DTBunch.html +265 -0
  47. package/docs/classes/DTComponent.html +49 -0
  48. package/docs/classes/DTComponentWithMeta.html +73 -0
  49. package/docs/classes/DTElement.html +95 -0
  50. package/docs/classes/DTError.html +32 -0
  51. package/docs/classes/DTPlayer.html +86 -0
  52. package/docs/index.html +1 -0
  53. package/docs/modules.html +1 -0
  54. package/jest.config.js +6 -0
  55. package/package.json +41 -0
  56. package/src/core/DTBunch.ts +600 -0
  57. package/src/core/DTComponent.ts +135 -0
  58. package/src/core/DTComponentWithMeta.ts +62 -0
  59. package/src/core/DTElement.ts +96 -0
  60. package/src/core/DTError.ts +78 -0
  61. package/src/core/DTPlayer.ts +57 -0
  62. package/src/index.ts +7 -0
  63. package/src/types/index.ts +76 -0
  64. package/src/utils/filters.ts +64 -0
  65. package/test/core/DTBunch.double.ts +150 -0
  66. package/test/core/DTBunch.spec.ts +1374 -0
  67. package/test/core/DTComponent.double.ts +69 -0
  68. package/test/core/DTComponent.spec.ts +182 -0
  69. package/test/core/DTComponentWithMeta.double.ts +88 -0
  70. package/test/core/DTComponentWithMeta.spec.ts +112 -0
  71. package/test/core/DTElement.double.ts +27 -0
  72. package/test/core/DTElement.spec.ts +181 -0
  73. package/test/core/DTError.double.ts +43 -0
  74. package/test/core/DTError.spec.ts +106 -0
  75. package/test/core/DTPlayer.double.ts +49 -0
  76. package/test/core/DTPlayer.spec.ts +102 -0
  77. package/test/utils/filters.spec.ts +109 -0
  78. package/tsconfig.json +21 -0
@@ -0,0 +1,95 @@
1
+ <!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>DTElement | dyo-tools</title><meta name="description" content="Documentation for dyo-tools"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">dyo-tools</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">dyo-tools</a></li><li><a href="DTElement.html">DTElement</a></li></ul><h1>Class DTElement&lt;IComponentMeta&gt;</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-type-parameters"><h3>Type parameters</h3><ul class="tsd-type-parameters"><li><h4>IComponentMeta<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">DTAcceptedMetaData</span></h4></li></ul></section><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><a href="DTComponentWithMeta.html" class="tsd-signature-type" data-tsd-kind="Class">DTComponentWithMeta</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IComponentMeta</span><span class="tsd-signature-symbol">&gt;</span><ul class="tsd-hierarchy"><li><span class="target">DTElement</span></li></ul></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section tsd-is-inherited"><h3>Constructors</h3><ul class="tsd-index-list"><li class="tsd-kind-constructor tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="DTElement.html#constructor" class="tsd-kind-icon">constructor</a></li></ul></section><section class="tsd-index-section tsd-is-private-protected"><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-protected"><a href="DTElement.html#_componentType" class="tsd-kind-icon">_component<wbr/>Type</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a href="DTElement.html#_context" class="tsd-kind-icon">_context</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a href="DTElement.html#_domain" class="tsd-kind-icon">_domain</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a href="DTElement.html#_id" class="tsd-kind-icon">_id</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a href="DTElement.html#_key" class="tsd-kind-icon">_key</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a href="DTElement.html#_meta" class="tsd-kind-icon">_meta</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="DTElement.html#_owner" class="tsd-kind-icon">_owner</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a href="DTElement.html#_subKind" class="tsd-kind-icon">_sub<wbr/>Kind</a></li></ul></section><section class="tsd-index-section "><h3>Methods</h3><ul class="tsd-index-list"><li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="DTElement.html#copy" class="tsd-kind-icon">copy</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTElement.html#getComponentType" class="tsd-kind-icon">get<wbr/>Component<wbr/>Type</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTElement.html#getContext" class="tsd-kind-icon">get<wbr/>Context</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTElement.html#getDomain" class="tsd-kind-icon">get<wbr/>Domain</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTElement.html#getId" class="tsd-kind-icon">get<wbr/>Id</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTElement.html#getKey" class="tsd-kind-icon">get<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTElement.html#getManyMeta" class="tsd-kind-icon">get<wbr/>Many<wbr/>Meta</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="DTElement.html#getMeta" class="tsd-kind-icon">get<wbr/>Meta</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTElement.html#getOwner" class="tsd-kind-icon">get<wbr/>Owner</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTElement.html#getSubKind" class="tsd-kind-icon">get<wbr/>Sub<wbr/>Kind</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTElement.html#removeContext" class="tsd-kind-icon">remove<wbr/>Context</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTElement.html#removeOwner" class="tsd-kind-icon">remove<wbr/>Owner</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTElement.html#setContext" class="tsd-kind-icon">set<wbr/>Context</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTElement.html#setManyMeta" class="tsd-kind-icon">set<wbr/>Many<wbr/>Meta</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="DTElement.html#setMeta" class="tsd-kind-icon">set<wbr/>Meta</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTElement.html#setOwner" class="tsd-kind-icon">set<wbr/>Owner</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="DTElement.html#toObject" class="tsd-kind-icon">to<wbr/>Object</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="DTElement.html#toString" class="tsd-kind-icon">to<wbr/>String</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group tsd-is-inherited"><h2>Constructors</h2><section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a id="constructor" class="tsd-anchor"></a><h3>constructor</h3><ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">new DTElement<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IComponentMeta</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="DTElement.html" class="tsd-signature-type" data-tsd-kind="Class">DTElement</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IComponentMeta</span><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="DTComponentWithMeta.html">DTComponentWithMeta</a>.<a href="DTComponentWithMeta.html#constructor">constructor</a></p><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTComponent.ts#L48">src/core/DTComponent.ts:48</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
2
+ <p>Set automatic unique _id and _key.</p>
3
+ </div></div><h4 class="tsd-type-parameters-title">Type parameters</h4><ul class="tsd-type-parameters"><li><h4>IComponentMeta<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">DTAcceptedMetaData</span></h4></li></ul><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> key: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
4
+ <p>Optional Key to set. If not provided, set the _key with the _id value.</p>
5
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="DTElement.html" class="tsd-signature-type" data-tsd-kind="Class">DTElement</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IComponentMeta</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group tsd-is-private-protected"><h2>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-protected"><a id="_componentType" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagProtected">Protected</span> _component<wbr/>Type</h3><div class="tsd-signature tsd-kind-icon">_component<wbr/>Type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &#39;element&#39;</span></div><aside class="tsd-sources"><p>Overrides <a href="DTComponentWithMeta.html">DTComponentWithMeta</a>.<a href="DTComponentWithMeta.html#_componentType">_componentType</a></p><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTElement.ts#L11">src/core/DTElement.ts:11</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
6
+ <p>Defining component type to &quot;element&quot;.</p>
7
+ </div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a id="_context" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagProtected">Protected</span> <span class="tsd-flag ts-flagOptional">Optional</span> _context</h3><div class="tsd-signature tsd-kind-icon">_context<span class="tsd-signature-symbol">?:</span> <a href="DTComponent.html" class="tsd-signature-type" data-tsd-kind="Class">DTComponent</a></div><aside class="tsd-sources"><p>Inherited from <a href="DTComponentWithMeta.html">DTComponentWithMeta</a>.<a href="DTComponentWithMeta.html#_context">_context</a></p><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTComponent.ts#L20">src/core/DTComponent.ts:20</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
8
+ <p>Component Parent Context.</p>
9
+ </div><div><p>A component can have only one <em>physical context</em>, and be managed by a parent Component.</p>
10
+ </div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a id="_domain" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagProtected">Protected</span> <span class="tsd-flag ts-flagOptional">Optional</span> _domain</h3><div class="tsd-signature tsd-kind-icon">_domain<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from <a href="DTComponentWithMeta.html">DTComponentWithMeta</a>.<a href="DTComponentWithMeta.html#_domain">_domain</a></p><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTComponent.ts#L34">src/core/DTComponent.ts:34</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
11
+ <p>Second Level Component category.</p>
12
+ </div><div><p>Describing component Domain, like Card, Dice, Token...</p>
13
+ </div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a id="_id" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagProtected">Protected</span> _id</h3><div class="tsd-signature tsd-kind-icon">_id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from <a href="DTComponentWithMeta.html">DTComponentWithMeta</a>.<a href="DTComponentWithMeta.html#_id">_id</a></p><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTComponent.ts#L7">src/core/DTComponent.ts:7</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
14
+ <p>Component unique ID. Use uuid v4 generator.</p>
15
+ </div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a id="_key" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagProtected">Protected</span> _key</h3><div class="tsd-signature tsd-kind-icon">_key<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from <a href="DTComponentWithMeta.html">DTComponentWithMeta</a>.<a href="DTComponentWithMeta.html#_key">_key</a></p><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTComponent.ts#L13">src/core/DTComponent.ts:13</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
16
+ <p>Component specific and accessible label.
17
+ If not provided, the key is set with ID by default.</p>
18
+ </div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a id="_meta" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagProtected">Protected</span> _meta</h3><div class="tsd-signature tsd-kind-icon">_meta<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IComponentMeta</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><p>Inherited from <a href="DTComponentWithMeta.html">DTComponentWithMeta</a>.<a href="DTComponentWithMeta.html#_meta">_meta</a></p><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTComponentWithMeta.ts#L10">src/core/DTComponentWithMeta.ts:10</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
19
+ <p>Component meta data.
20
+ Defined by generic type IComponentMeta.</p>
21
+ </div><dl class="tsd-comment-tags"><dt>default</dt><dd><p>{}</p>
22
+ </dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="_owner" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagPrivate">Private</span> <span class="tsd-flag ts-flagOptional">Optional</span> _owner</h3><div class="tsd-signature tsd-kind-icon">_owner<span class="tsd-signature-symbol">?:</span> <a href="DTPlayer.html" class="tsd-signature-type" data-tsd-kind="Class">DTPlayer</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">DTAcceptedMetaData</span><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTElement.ts#L16">src/core/DTElement.ts:16</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
23
+ <p>DTPlayer instance who owns the current element</p>
24
+ </div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a id="_subKind" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagProtected">Protected</span> <span class="tsd-flag ts-flagOptional">Optional</span> _sub<wbr/>Kind</h3><div class="tsd-signature tsd-kind-icon">_sub<wbr/>Kind<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from <a href="DTComponentWithMeta.html">DTComponentWithMeta</a>.<a href="DTComponentWithMeta.html#_subKind">_subKind</a></p><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTComponent.ts#L41">src/core/DTComponent.ts:41</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
25
+ <p>Third Level Component category.</p>
26
+ </div><div><p>Describing component extra type, like Hand, Deck, Trick...</p>
27
+ </div></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Methods</h2><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a id="copy" class="tsd-anchor"></a><h3>copy</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">copy<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="DTElement.html" class="tsd-signature-type" data-tsd-kind="Class">DTElement</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IComponentMeta</span><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides <a href="DTComponentWithMeta.html">DTComponentWithMeta</a>.<a href="DTComponentWithMeta.html#copy">copy</a></p><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTElement.ts#L46">src/core/DTElement.ts:46</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
28
+ <p>Create and return a new DTElement instance by applying from current instance :</p>
29
+ <ul>
30
+ <li>Copy _key property</li>
31
+ <li>Copy _meta property</li>
32
+ </ul>
33
+ </div></div><h4 class="tsd-returns-title">Returns <a href="DTElement.html" class="tsd-signature-type" data-tsd-kind="Class">DTElement</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IComponentMeta</span><span class="tsd-signature-symbol">&gt;</span></h4><div><p>New DTElement instance copied.</p>
34
+ </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getComponentType" class="tsd-anchor"></a><h3>get<wbr/>Component<wbr/>Type</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Component<wbr/>Type<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="DTComponentWithMeta.html">DTComponentWithMeta</a>.<a href="DTComponentWithMeta.html#getComponentType">getComponentType</a></p><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTComponent.ts#L103">src/core/DTComponent.ts:103</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
35
+ <p>Getter for _componentType property.</p>
36
+ </div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getContext" class="tsd-anchor"></a><h3>get<wbr/>Context</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Context<span class="tsd-signature-symbol">(</span>contextType<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="DTComponent.html" class="tsd-signature-type" data-tsd-kind="Class">DTComponent</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="DTComponentWithMeta.html">DTComponentWithMeta</a>.<a href="DTComponentWithMeta.html#getContext">getContext</a></p><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTComponent.ts#L76">src/core/DTComponent.ts:76</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
37
+ <p>Getter for _context property.</p>
38
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> contextType: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
39
+ <p>If provided, the getter parse all component level hierarchy to find the corresponding component
40
+ with <strong>contextType</strong> as _componentType value, and returns it. Return undefined if not found.</p>
41
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="DTComponent.html" class="tsd-signature-type" data-tsd-kind="Class">DTComponent</a></h4><div><p>Direct parent Component or higher level Component if filtered with <strong>contextType</strong>.
42
+ Returns undefined if context doesn&#39;t exist.</p>
43
+ </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getDomain" class="tsd-anchor"></a><h3>get<wbr/>Domain</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Domain<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="DTComponentWithMeta.html">DTComponentWithMeta</a>.<a href="DTComponentWithMeta.html#getDomain">getDomain</a></p><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTComponent.ts#L110">src/core/DTComponent.ts:110</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
44
+ <p>Getter for _domain property.</p>
45
+ </div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getId" class="tsd-anchor"></a><h3>get<wbr/>Id</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Id<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="DTComponentWithMeta.html">DTComponentWithMeta</a>.<a href="DTComponentWithMeta.html#getId">getId</a></p><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTComponent.ts#L56">src/core/DTComponent.ts:56</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
46
+ <p>Getter for _id property.</p>
47
+ </div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getKey" class="tsd-anchor"></a><h3>get<wbr/>Key</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Key<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="DTComponentWithMeta.html">DTComponentWithMeta</a>.<a href="DTComponentWithMeta.html#getKey">getKey</a></p><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTComponent.ts#L63">src/core/DTComponent.ts:63</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
48
+ <p>Getter for _key property.</p>
49
+ </div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getManyMeta" class="tsd-anchor"></a><h3>get<wbr/>Many<wbr/>Meta</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Many<wbr/>Meta<span class="tsd-signature-symbol">(</span>metaKeys<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IComponentMeta</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IComponentMeta</span><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="DTComponentWithMeta.html">DTComponentWithMeta</a>.<a href="DTComponentWithMeta.html#getManyMeta">getManyMeta</a></p><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTComponentWithMeta.ts#L40">src/core/DTComponentWithMeta.ts:40</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
50
+ <p>Returns multiple defined keys values of meta data.</p>
51
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>metaKeys: <span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IComponentMeta</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
52
+ <p>Array of keys to filter for meta data. If not provided or empty, returns all keys.</p>
53
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IComponentMeta</span><span class="tsd-signature-symbol">&gt;</span></h4><div><p>Meta data object with <strong>metaKeys</strong> provided keys only.</p>
54
+ </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a id="getMeta" class="tsd-anchor"></a><h3>get<wbr/>Meta</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Meta<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span>metaKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IComponentMeta</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span><span class="tsd-signature-symbol">]</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="DTComponentWithMeta.html">DTComponentWithMeta</a>.<a href="DTComponentWithMeta.html#getMeta">getMeta</a></p><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTComponentWithMeta.ts#L19">src/core/DTComponentWithMeta.ts:19</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
55
+ <p>Getter for one meta by key.</p>
56
+ </div></div><h4 class="tsd-type-parameters-title">Type parameters</h4><ul class="tsd-type-parameters"><li><h4>K<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h4></li></ul><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>metaKey: <span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
57
+ <p>Key name of one meta data.</p>
58
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type" data-tsd-kind="Type parameter">IComponentMeta</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span><span class="tsd-signature-symbol">]</span></h4><div><p>Associated meta <strong>metaKey</strong> value or undefined if not found.</p>
59
+ </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getOwner" class="tsd-anchor"></a><h3>get<wbr/>Owner</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Owner<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="DTPlayer.html" class="tsd-signature-type" data-tsd-kind="Class">DTPlayer</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">DTAcceptedMetaData</span><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTElement.ts#L21">src/core/DTElement.ts:21</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
60
+ <p>Getter for _owner property.</p>
61
+ </div></div><h4 class="tsd-returns-title">Returns <a href="DTPlayer.html" class="tsd-signature-type" data-tsd-kind="Class">DTPlayer</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">DTAcceptedMetaData</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getSubKind" class="tsd-anchor"></a><h3>get<wbr/>Sub<wbr/>Kind</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Sub<wbr/>Kind<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="DTComponentWithMeta.html">DTComponentWithMeta</a>.<a href="DTComponentWithMeta.html#getSubKind">getSubKind</a></p><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTComponent.ts#L117">src/core/DTComponent.ts:117</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
62
+ <p>Getter for _subKind property.</p>
63
+ </div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="removeContext" class="tsd-anchor"></a><h3>remove<wbr/>Context</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">remove<wbr/>Context<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="DTComponentWithMeta.html">DTComponentWithMeta</a>.<a href="DTComponentWithMeta.html#removeContext">removeContext</a></p><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTComponent.ts#L96">src/core/DTComponent.ts:96</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
64
+ <p>Remove the current context of component</p>
65
+ </div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="removeOwner" class="tsd-anchor"></a><h3>remove<wbr/>Owner</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">remove<wbr/>Owner<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTElement.ts#L35">src/core/DTElement.ts:35</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
66
+ <p>Remove the current owner of element.</p>
67
+ </div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="setContext" class="tsd-anchor"></a><h3>set<wbr/>Context</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">set<wbr/>Context<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><a href="DTComponent.html" class="tsd-signature-type" data-tsd-kind="Class">DTComponent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="DTComponentWithMeta.html">DTComponentWithMeta</a>.<a href="DTComponentWithMeta.html#setContext">setContext</a></p><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTComponent.ts#L89">src/core/DTComponent.ts:89</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
68
+ <p>Setter for _context property.</p>
69
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <a href="DTComponent.html" class="tsd-signature-type" data-tsd-kind="Class">DTComponent</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="setManyMeta" class="tsd-anchor"></a><h3>set<wbr/>Many<wbr/>Meta</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">set<wbr/>Many<wbr/>Meta<span class="tsd-signature-symbol">(</span>metaValues<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IComponentMeta</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="DTComponentWithMeta.html">DTComponentWithMeta</a>.<a href="DTComponentWithMeta.html#setManyMeta">setManyMeta</a></p><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTComponentWithMeta.ts#L59">src/core/DTComponentWithMeta.ts:59</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
70
+ <p>Set multiple meta data.</p>
71
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>metaValues: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IComponentMeta</span><span class="tsd-signature-symbol">&gt;</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
72
+ <p>Object of meta data to set, according to the meta data property type.</p>
73
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a id="setMeta" class="tsd-anchor"></a><h3>set<wbr/>Meta</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">set<wbr/>Meta<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span>metaKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span>, metaValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IComponentMeta</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="DTComponentWithMeta.html">DTComponentWithMeta</a>.<a href="DTComponentWithMeta.html#setMeta">setMeta</a></p><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTComponentWithMeta.ts#L29">src/core/DTComponentWithMeta.ts:29</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
74
+ <p>Setter for one meta by key.</p>
75
+ </div></div><h4 class="tsd-type-parameters-title">Type parameters</h4><ul class="tsd-type-parameters"><li><h4>K<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h4></li></ul><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>metaKey: <span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
76
+ <p>Key name of the meta data to update.</p>
77
+ </div></div></li><li><h5>metaValue: <span class="tsd-signature-type" data-tsd-kind="Type parameter">IComponentMeta</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span><span class="tsd-signature-symbol">]</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
78
+ <p>New value to set into the meta data.</p>
79
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="setOwner" class="tsd-anchor"></a><h3>set<wbr/>Owner</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">set<wbr/>Owner<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><a href="DTPlayer.html" class="tsd-signature-type" data-tsd-kind="Class">DTPlayer</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">DTAcceptedMetaData</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTElement.ts#L28">src/core/DTElement.ts:28</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
80
+ <p>Setter for _owner property.</p>
81
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <a href="DTPlayer.html" class="tsd-signature-type" data-tsd-kind="Class">DTPlayer</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">DTAcceptedMetaData</span><span class="tsd-signature-symbol">&gt;</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a id="toObject" class="tsd-anchor"></a><h3>to<wbr/>Object</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">to<wbr/>Object<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">DTElementToObject</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IComponentMeta</span><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides <a href="DTComponentWithMeta.html">DTComponentWithMeta</a>.<a href="DTComponentWithMeta.html#toObject">toObject</a></p><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTElement.ts#L65">src/core/DTElement.ts:65</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
82
+ <p>Return JSON Object representation of the Element instance.</p>
83
+ </div><div><p>JSON Object returned has the following structure :</p>
84
+ <ul>
85
+ <li><strong>id</strong> : _id property of the Element.</li>
86
+ <li><strong>key</strong> : _key property of the Element.</li>
87
+ <li><strong>type</strong> : _componentType property of the Element.</li>
88
+ <li><strong>owner</strong> : String representation of the current _owner property of the Element (only if defined).</li>
89
+ <li><strong>meta</strong> : JSON Object of all current metadata in _meta property of the Element (only if not empty).</li>
90
+ </ul>
91
+ </div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">DTElementToObject</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IComponentMeta</span><span class="tsd-signature-symbol">&gt;</span></h4><div><p>JSON Object representation of the Element.</p>
92
+ </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a id="toString" class="tsd-anchor"></a><h3>to<wbr/>String</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">to<wbr/>String<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides <a href="DTComponentWithMeta.html">DTComponentWithMeta</a>.<a href="DTComponentWithMeta.html#toString">toString</a></p><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTElement.ts#L88">src/core/DTElement.ts:88</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
93
+ <p>Return String representation of the Element instance.</p>
94
+ </div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><div><p>String representation of the Element.</p>
95
+ </div></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Exports</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-class tsd-has-type-parameter"><a href="DTElement.html" class="tsd-kind-icon">DTElement</a><ul><li class="tsd-kind-constructor tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="DTElement.html#constructor" class="tsd-kind-icon">constructor</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-protected"><a href="DTElement.html#_componentType" class="tsd-kind-icon">_component<wbr/>Type</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a href="DTElement.html#_context" class="tsd-kind-icon">_context</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a href="DTElement.html#_domain" class="tsd-kind-icon">_domain</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a href="DTElement.html#_id" class="tsd-kind-icon">_id</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a href="DTElement.html#_key" class="tsd-kind-icon">_key</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a href="DTElement.html#_meta" class="tsd-kind-icon">_meta</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="DTElement.html#_owner" class="tsd-kind-icon">_owner</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a href="DTElement.html#_subKind" class="tsd-kind-icon">_sub<wbr/>Kind</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="DTElement.html#copy" class="tsd-kind-icon">copy</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTElement.html#getComponentType" class="tsd-kind-icon">get<wbr/>Component<wbr/>Type</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTElement.html#getContext" class="tsd-kind-icon">get<wbr/>Context</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTElement.html#getDomain" class="tsd-kind-icon">get<wbr/>Domain</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTElement.html#getId" class="tsd-kind-icon">get<wbr/>Id</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTElement.html#getKey" class="tsd-kind-icon">get<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTElement.html#getManyMeta" class="tsd-kind-icon">get<wbr/>Many<wbr/>Meta</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="DTElement.html#getMeta" class="tsd-kind-icon">get<wbr/>Meta</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTElement.html#getOwner" class="tsd-kind-icon">get<wbr/>Owner</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTElement.html#getSubKind" class="tsd-kind-icon">get<wbr/>Sub<wbr/>Kind</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTElement.html#removeContext" class="tsd-kind-icon">remove<wbr/>Context</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTElement.html#removeOwner" class="tsd-kind-icon">remove<wbr/>Owner</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTElement.html#setContext" class="tsd-kind-icon">set<wbr/>Context</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTElement.html#setManyMeta" class="tsd-kind-icon">set<wbr/>Many<wbr/>Meta</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="DTElement.html#setMeta" class="tsd-kind-icon">set<wbr/>Meta</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTElement.html#setOwner" class="tsd-kind-icon">set<wbr/>Owner</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="DTElement.html#toObject" class="tsd-kind-icon">to<wbr/>Object</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="DTElement.html#toString" class="tsd-kind-icon">to<wbr/>String</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>
@@ -0,0 +1,32 @@
1
+ <!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>DTError | dyo-tools</title><meta name="description" content="Documentation for dyo-tools"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">dyo-tools</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">dyo-tools</a></li><li><a href="DTError.html">DTError</a></li></ul><h1>Class DTError</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><span class="tsd-signature-type">Error</span><ul class="tsd-hierarchy"><li><span class="target">DTError</span></li></ul></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Constructors</h3><ul class="tsd-index-list"><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a href="DTError.html#constructor" class="tsd-kind-icon">constructor</a></li></ul></section><section class="tsd-index-section "><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a href="DTError.html#code" class="tsd-kind-icon">code</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a href="DTError.html#convicted" class="tsd-kind-icon">convicted</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a href="DTError.html#initiator" class="tsd-kind-icon">initiator</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="DTError.html#message" class="tsd-kind-icon">message</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="DTError.html#name" class="tsd-kind-icon">name</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="DTError.html#stack" class="tsd-kind-icon">stack</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a href="DTError.html#timestamp" class="tsd-kind-icon">timestamp</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><a href="DTError.html#stackTraceLimit" class="tsd-kind-icon">stack<wbr/>Trace<wbr/>Limit</a></li></ul></section><section class="tsd-index-section "><h3>Methods</h3><ul class="tsd-index-list"><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTError.html#getCode" class="tsd-kind-icon">get<wbr/>Code</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTError.html#getConvicted" class="tsd-kind-icon">get<wbr/>Convicted</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTError.html#getInitiator" class="tsd-kind-icon">get<wbr/>Initiator</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTError.html#getMessage" class="tsd-kind-icon">get<wbr/>Message</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTError.html#getTimestamp" class="tsd-kind-icon">get<wbr/>Timestamp</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><a href="DTError.html#captureStackTrace" class="tsd-kind-icon">capture<wbr/>Stack<wbr/>Trace</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><a href="DTError.html#prepareStackTrace" class="tsd-kind-icon">prepare<wbr/>Stack<wbr/>Trace</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Constructors</h2><section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a id="constructor" class="tsd-anchor"></a><h3>constructor</h3><ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">new DTError<span class="tsd-signature-symbol">(</span>code<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, message<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, initiator<span class="tsd-signature-symbol">?: </span><a href="DTComponent.html" class="tsd-signature-type" data-tsd-kind="Class">DTComponent</a>, convicted<span class="tsd-signature-symbol">?: </span><a href="DTComponent.html" class="tsd-signature-type" data-tsd-kind="Class">DTComponent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="DTError.html" class="tsd-signature-type" data-tsd-kind="Class">DTError</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides Error.constructor</p><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTError.ts#L36">src/core/DTError.ts:36</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
2
+ <p>Set all property for a new DTError.</p>
3
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>code: <span class="tsd-signature-type">string</span></h5></li><li><h5>message: <span class="tsd-signature-type">string</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> initiator: <a href="DTComponent.html" class="tsd-signature-type" data-tsd-kind="Class">DTComponent</a></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> convicted: <a href="DTComponent.html" class="tsd-signature-type" data-tsd-kind="Class">DTComponent</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
4
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="DTError.html" class="tsd-signature-type" data-tsd-kind="Class">DTError</a></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group "><h2>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a id="code" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagProtected">Protected</span> code</h3><div class="tsd-signature tsd-kind-icon">code<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTError.ts#L11">src/core/DTError.ts:11</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
5
+ <p>Error code.</p>
6
+ </div><div><p>Available error codes are :</p>
7
+ <ul>
8
+ <li><strong>id_conflict</strong> : _id property conflict between two DTComponent in the same context.</li>
9
+ <li><strong>key_conflict</strong> : _key property conflict between two DTComponent in the same context.</li>
10
+ </ul>
11
+ </div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a id="convicted" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagProtected">Protected</span> <span class="tsd-flag ts-flagOptional">Optional</span> convicted</h3><div class="tsd-signature tsd-kind-icon">convicted<span class="tsd-signature-symbol">?:</span> <a href="DTComponent.html" class="tsd-signature-type" data-tsd-kind="Class">DTComponent</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTError.ts#L26">src/core/DTError.ts:26</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
12
+ <p>DTComponent which is directly involved in the error trigger.</p>
13
+ </div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a id="initiator" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagProtected">Protected</span> <span class="tsd-flag ts-flagOptional">Optional</span> initiator</h3><div class="tsd-signature tsd-kind-icon">initiator<span class="tsd-signature-symbol">?:</span> <a href="DTComponent.html" class="tsd-signature-type" data-tsd-kind="Class">DTComponent</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTError.ts#L21">src/core/DTError.ts:21</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
14
+ <p>DTComponent which trigger the error during its current execution process.</p>
15
+ </div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="message" class="tsd-anchor"></a><h3>message</h3><div class="tsd-signature tsd-kind-icon">message<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from Error.message</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:974</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="name" class="tsd-anchor"></a><h3>name</h3><div class="tsd-signature tsd-kind-icon">name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from Error.name</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:973</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="stack" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagOptional">Optional</span> stack</h3><div class="tsd-signature tsd-kind-icon">stack<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from Error.stack</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:975</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a id="timestamp" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagProtected">Protected</span> timestamp</h3><div class="tsd-signature tsd-kind-icon">timestamp<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Date</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTError.ts#L16">src/core/DTError.ts:16</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
16
+ <p>Error trigger date.</p>
17
+ </div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><a id="stackTraceLimit" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagStatic">Static</span> stack<wbr/>Trace<wbr/>Limit</h3><div class="tsd-signature tsd-kind-icon">stack<wbr/>Trace<wbr/>Limit<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from Error.stackTraceLimit</p><ul><li>Defined in node_modules/@types/node/globals.d.ts:13</li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group "><h2>Methods</h2><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getCode" class="tsd-anchor"></a><h3>get<wbr/>Code</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Code<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTError.ts#L47">src/core/DTError.ts:47</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
18
+ <p>Getter for code property.</p>
19
+ </div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getConvicted" class="tsd-anchor"></a><h3>get<wbr/>Convicted</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Convicted<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="DTComponent.html" class="tsd-signature-type" data-tsd-kind="Class">DTComponent</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTError.ts#L75">src/core/DTError.ts:75</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
20
+ <p>Getter for convicted property.</p>
21
+ </div></div><h4 class="tsd-returns-title">Returns <a href="DTComponent.html" class="tsd-signature-type" data-tsd-kind="Class">DTComponent</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getInitiator" class="tsd-anchor"></a><h3>get<wbr/>Initiator</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Initiator<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="DTComponent.html" class="tsd-signature-type" data-tsd-kind="Class">DTComponent</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTError.ts#L68">src/core/DTError.ts:68</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
22
+ <p>Getter for initiator property.</p>
23
+ </div></div><h4 class="tsd-returns-title">Returns <a href="DTComponent.html" class="tsd-signature-type" data-tsd-kind="Class">DTComponent</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getMessage" class="tsd-anchor"></a><h3>get<wbr/>Message</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Message<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTError.ts#L54">src/core/DTError.ts:54</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
24
+ <p>Getter for message property (inherited from Error).</p>
25
+ </div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getTimestamp" class="tsd-anchor"></a><h3>get<wbr/>Timestamp</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Timestamp<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Date</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTError.ts#L61">src/core/DTError.ts:61</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
26
+ <p>Getter for timestamp property.</p>
27
+ </div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Date</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><a id="captureStackTrace" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagStatic">Static</span> capture<wbr/>Stack<wbr/>Trace</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><li class="tsd-signature tsd-kind-icon">capture<wbr/>Stack<wbr/>Trace<span class="tsd-signature-symbol">(</span>targetObject<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">object</span>, constructorOpt<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Error.captureStackTrace</p><ul><li>Defined in node_modules/@types/node/globals.d.ts:4</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
28
+ <p>Create .stack property on a target object</p>
29
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>targetObject: <span class="tsd-signature-type">object</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> constructorOpt: <span class="tsd-signature-type">Function</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><a id="prepareStackTrace" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagStatic">Static</span> <span class="tsd-flag ts-flagOptional">Optional</span> prepare<wbr/>Stack<wbr/>Trace</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><li class="tsd-signature tsd-kind-icon">prepare<wbr/>Stack<wbr/>Trace<span class="tsd-signature-symbol">(</span>err<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span>, stackTraces<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CallSite</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Error.prepareStackTrace</p><ul><li>Defined in node_modules/@types/node/globals.d.ts:11</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
30
+ <p>Optional override for formatting stack traces</p>
31
+ </div><dl class="tsd-comment-tags"><dt>see</dt><dd><p><a href="https://v8.dev/docs/stack-trace-api#customizing-stack-traces">https://v8.dev/docs/stack-trace-api#customizing-stack-traces</a></p>
32
+ </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>err: <span class="tsd-signature-type">Error</span></h5></li><li><h5>stackTraces: <span class="tsd-signature-type">CallSite</span><span class="tsd-signature-symbol">[]</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Exports</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-class"><a href="DTError.html" class="tsd-kind-icon">DTError</a><ul><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a href="DTError.html#constructor" class="tsd-kind-icon">constructor</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a href="DTError.html#code" class="tsd-kind-icon">code</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a href="DTError.html#convicted" class="tsd-kind-icon">convicted</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a href="DTError.html#initiator" class="tsd-kind-icon">initiator</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="DTError.html#message" class="tsd-kind-icon">message</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="DTError.html#name" class="tsd-kind-icon">name</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="DTError.html#stack" class="tsd-kind-icon">stack</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a href="DTError.html#timestamp" class="tsd-kind-icon">timestamp</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><a href="DTError.html#stackTraceLimit" class="tsd-kind-icon">stack<wbr/>Trace<wbr/>Limit</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTError.html#getCode" class="tsd-kind-icon">get<wbr/>Code</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTError.html#getConvicted" class="tsd-kind-icon">get<wbr/>Convicted</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTError.html#getInitiator" class="tsd-kind-icon">get<wbr/>Initiator</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTError.html#getMessage" class="tsd-kind-icon">get<wbr/>Message</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTError.html#getTimestamp" class="tsd-kind-icon">get<wbr/>Timestamp</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><a href="DTError.html#captureStackTrace" class="tsd-kind-icon">capture<wbr/>Stack<wbr/>Trace</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><a href="DTError.html#prepareStackTrace" class="tsd-kind-icon">prepare<wbr/>Stack<wbr/>Trace</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>