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
Binary file
Binary file
@@ -0,0 +1,265 @@
1
+ <!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>DTBunch | 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="DTBunch.html">DTBunch</a></li></ul><h1>Class DTBunch&lt;IBunchItem, 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>IBunchItem<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">DTAcceptedMetaData</span><span class="tsd-signature-symbol">&gt;</span></h4></li><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">DTBunch</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-has-type-parameter tsd-is-overwrite"><a href="DTBunch.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="DTBunch.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="DTBunch.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="DTBunch.html#_domain" class="tsd-kind-icon">_domain</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a href="DTBunch.html#_errors" class="tsd-kind-icon">_errors</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a href="DTBunch.html#_globalOptions" class="tsd-kind-icon">_global<wbr/>Options</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a href="DTBunch.html#_id" class="tsd-kind-icon">_id</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a href="DTBunch.html#_items" class="tsd-kind-icon">_items</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a href="DTBunch.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="DTBunch.html#_meta" class="tsd-kind-icon">_meta</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a href="DTBunch.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="DTBunch.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"><a href="DTBunch.html#add" class="tsd-kind-icon">add</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.html#addAtIndex" class="tsd-kind-icon">add<wbr/>At<wbr/>Index</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.html#addMany" class="tsd-kind-icon">add<wbr/>Many</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.html#addManyAtIndex" class="tsd-kind-icon">add<wbr/>Many<wbr/>At<wbr/>Index</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="DTBunch.html#copy" class="tsd-kind-icon">copy</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.html#find" class="tsd-kind-icon">find</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.html#get" class="tsd-kind-icon">get</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.html#getAll" class="tsd-kind-icon">get<wbr/>All</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTBunch.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="DTBunch.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="DTBunch.html#getDomain" class="tsd-kind-icon">get<wbr/>Domain</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.html#getErrors" class="tsd-kind-icon">get<wbr/>Errors</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTBunch.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="DTBunch.html#getKey" class="tsd-kind-icon">get<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.html#getLastError" class="tsd-kind-icon">get<wbr/>Last<wbr/>Error</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTBunch.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="DTBunch.html#getMeta" class="tsd-kind-icon">get<wbr/>Meta</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.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="DTBunch.html#getSubKind" class="tsd-kind-icon">get<wbr/>Sub<wbr/>Kind</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.html#indexOf" class="tsd-kind-icon">index<wbr/>Of</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.html#remove" class="tsd-kind-icon">remove</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.html#removeAll" class="tsd-kind-icon">remove<wbr/>All</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTBunch.html#removeContext" class="tsd-kind-icon">remove<wbr/>Context</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.html#removeMany" class="tsd-kind-icon">remove<wbr/>Many</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.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="DTBunch.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="DTBunch.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="DTBunch.html#setMeta" class="tsd-kind-icon">set<wbr/>Meta</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.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="DTBunch.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="DTBunch.html#toString" class="tsd-kind-icon">to<wbr/>String</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-has-type-parameter 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-has-type-parameter tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">new DTBunch<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IBunchItem</span><span class="tsd-signature-symbol">, </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>, items<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IBunchItem</span><span class="tsd-signature-symbol">[]</span>, options<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">DTBunchOptionsConstructor</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="DTBunch.html" class="tsd-signature-type" data-tsd-kind="Class">DTBunch</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IBunchItem</span><span class="tsd-signature-symbol">, </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#constructor">constructor</a></p><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTBunch.ts#L70">src/core/DTBunch.ts:70</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
2
+ <p>Applying the parent constructor, and execute following process steps :</p>
3
+ <ul>
4
+ <li>Add <strong>items</strong> to the bunch instance (using adding specifications).</li>
5
+ <li>Merge specific <strong>options</strong> configuration with default in _globalOptions.</li>
6
+ </ul>
7
+ </div><dl class="tsd-comment-tags"><dt>see</dt><dd><p><a href="#addAtIndex">addAtIndex</a> method for adding specifications.</p>
8
+ </dd></dl></div><h4 class="tsd-type-parameters-title">Type parameters</h4><ul class="tsd-type-parameters"><li><h4>IBunchItem<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">DTAcceptedMetaData</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IBunchItem</span><span class="tsd-signature-symbol">&gt;</span></h4></li><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></li><li><h5>items: <span class="tsd-signature-type" data-tsd-kind="Type parameter">IBunchItem</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
9
+ <p>Array of DTElement instance to add. Default empty array.</p>
10
+ </div></div></li><li><h5>options: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">DTBunchOptionsConstructor</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = {}</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
11
+ <p>Specific options configuration for the instance. Default empty object.</p>
12
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="DTBunch.html" class="tsd-signature-type" data-tsd-kind="Class">DTBunch</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IBunchItem</span><span class="tsd-signature-symbol">, </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;bunch&#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/DTBunch.ts#L22">src/core/DTBunch.ts:22</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
13
+ <p>Defining component type to &quot;bunch&quot;.</p>
14
+ </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">
15
+ <p>Component Parent Context.</p>
16
+ </div><div><p>A component can have only one <em>physical context</em>, and be managed by a parent Component.</p>
17
+ </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">
18
+ <p>Second Level Component category.</p>
19
+ </div><div><p>Describing component Domain, like Card, Dice, Token...</p>
20
+ </div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a id="_errors" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagProtected">Protected</span> _errors</h3><div class="tsd-signature tsd-kind-icon">_errors<span class="tsd-signature-symbol">:</span> <a href="DTError.html" class="tsd-signature-type" data-tsd-kind="Class">DTError</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTBunch.ts#L58">src/core/DTBunch.ts:58</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
21
+ <p>Array of DTError occurred during bunch instance execution, ordered by time.
22
+ Only set if <strong>errors</strong> option is true.</p>
23
+ </div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a id="_globalOptions" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagProtected">Protected</span> _global<wbr/>Options</h3><div class="tsd-signature tsd-kind-icon">_global<wbr/>Options<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">DTBunchOptionsConstructor</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTBunch.ts#L52">src/core/DTBunch.ts:52</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
24
+ <p>All global option configuration for the current bunch.</p>
25
+ </div><div><p>Options can be :</p>
26
+ <ul>
27
+ <li><strong>errors</strong> : Default <em>false</em>. If <em>true</em>, no exception is thrown when an error occurred, a new DTError instance is
28
+ added to the _errors property array instead. If <em>false</em>, throw the exception with a DTError instance.</li>
29
+ <li><strong>uniqueKey</strong> : Default <em>false</em>. If <em>true</em>, an error occurred when adding a new DTElement with the same key of an
30
+ existing element into the bunch.</li>
31
+ <li><strong>inheritOwner</strong> : Default <em>false</em>. If <em>true</em>, when a new DTElement is added, the owner of this element becomes
32
+ automatically the current bunch owner.</li>
33
+ <li><strong>virtualContext</strong> : Default <em>false</em>. If <em>true</em>, the context is not changed when a new DTElement is added.
34
+ If <em>false</em>, when a new DTElement is added, the context of this element becomes automatically the current bunch instance
35
+ and the element is removed from the old context Component (if defined).</li>
36
+ <li><strong>replaceIndex</strong> : Default <em>false</em>. If <em>true</em>, when a new DTElement is added at existing index (using <strong>addAtIndex</strong>
37
+ or <strong>addManyAtIndex</strong> method), this component replaces the old one. If <em>false</em>, this component is added at the specified
38
+ index and other existing component are reindexed with the following index.</li>
39
+ </ul>
40
+ </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">
41
+ <p>Component unique ID. Use uuid v4 generator.</p>
42
+ </div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a id="_items" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagProtected">Protected</span> _items</h3><div class="tsd-signature tsd-kind-icon">_items<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type" data-tsd-kind="Type parameter">IBunchItem</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTBunch.ts#L32">src/core/DTBunch.ts:32</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
43
+ <p>Ordered Array of DTElement instance managed by the bunch.</p>
44
+ </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">
45
+ <p>Component specific and accessible label.
46
+ If not provided, the key is set with ID by default.</p>
47
+ </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">
48
+ <p>Component meta data.
49
+ Defined by generic type IComponentMeta.</p>
50
+ </div><dl class="tsd-comment-tags"><dt>default</dt><dd><p>{}</p>
51
+ </dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a id="_owner" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagProtected">Protected</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/DTBunch.ts#L27">src/core/DTBunch.ts:27</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
52
+ <p>DTPlayer instance who owns the current bunch.</p>
53
+ </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">
54
+ <p>Third Level Component category.</p>
55
+ </div><div><p>Describing component extra type, like Hand, Deck, Trick...</p>
56
+ </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"><a id="add" class="tsd-anchor"></a><h3>add</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">add<span class="tsd-signature-symbol">(</span>item<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IBunchItem</span>, options<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">DTBunchOptionsEditable</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/DTBunch.ts#L145">src/core/DTBunch.ts:145</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
57
+ <p>Add an element <strong>item</strong> as the last element into _items property array.</p>
58
+ </div><dl class="tsd-comment-tags"><dt>see</dt><dd><p><a href="#addAtIndex">addAtIndex</a> method for adding specifications.</p>
59
+ </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>item: <span class="tsd-signature-type" data-tsd-kind="Type parameter">IBunchItem</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
60
+ <p>A DTElement instance to add into the bunch.</p>
61
+ </div></div></li><li><h5>options: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">DTBunchOptionsEditable</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = {}</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
62
+ <p>Optional Bunch option configuration object to apply only for this method execution. Options are not
63
+ saved in current _globalOptions property. Available Options are : <strong>uniqueKey</strong>, <strong>inheritOwner</strong>, <strong>replaceIndex</strong>
64
+ and <strong>errors</strong>.</p>
65
+ </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="addAtIndex" class="tsd-anchor"></a><h3>add<wbr/>At<wbr/>Index</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">add<wbr/>At<wbr/>Index<span class="tsd-signature-symbol">(</span>item<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IBunchItem</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, options<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">DTBunchOptionsEditable</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/DTBunch.ts#L170">src/core/DTBunch.ts:170</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
66
+ <p>Add an element <strong>item</strong> at specified <strong>index</strong> into _items property array.</p>
67
+ </div><div><p>The adding process has following specifications :</p>
68
+ <ul>
69
+ <li>If the added item has the same _id than existing item, an error occurred (depending on <strong>errors</strong> option).</li>
70
+ <li>Option <strong>uniqueKey</strong> = <em>true</em>. If the added item has the same _key than existing item,
71
+ an error occurred (depending on <strong>errors</strong> option).</li>
72
+ <li>Option <strong>inheritOwner</strong> = <em>true</em>. When the new item is added, its owner is replaced by the current bunch owner.</li>
73
+ <li>Option <strong>virtualContext</strong> = <em>false</em>. When the new item is added, its context is replaced by the current bunch
74
+ instance. The item is removed from the old context.</li>
75
+ <li>If an item already exists at the specified index, the new item is added at the index, and following items are
76
+ automatically affected at next indexes. If <strong>replaceIndex</strong> option is <em>true</em>, the new item replaces the former one
77
+ at the index instead.</li>
78
+ </ul>
79
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>item: <span class="tsd-signature-type" data-tsd-kind="Type parameter">IBunchItem</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
80
+ <p>A DTElement instance to add into the bunch.</p>
81
+ </div></div></li><li><h5>index: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
82
+ <p>Index value where the item might be added. Must be a number between 0 and the current _items length.
83
+ If not, the provided argument is automatically changed to 0 or current _items length.</p>
84
+ </div></div></li><li><h5>options: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">DTBunchOptionsEditable</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = {}</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
85
+ <p>Optional Bunch option configuration object to apply only for this method execution. Options are not
86
+ saved in current _globalOptions property. Available Options are : <strong>uniqueKey</strong>, <strong>inheritOwner</strong>, <strong>replaceIndex</strong>
87
+ and <strong>errors</strong>.</p>
88
+ </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="addMany" class="tsd-anchor"></a><h3>add<wbr/>Many</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">add<wbr/>Many<span class="tsd-signature-symbol">(</span>items<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IBunchItem</span><span class="tsd-signature-symbol">[]</span>, options<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">DTBunchOptionsEditable</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/DTBunch.ts#L265">src/core/DTBunch.ts:265</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
89
+ <p>Add each element of an array <strong>items</strong> at the end of the _items property array.</p>
90
+ </div><dl class="tsd-comment-tags"><dt>see</dt><dd><p><a href="#addAtIndex">addAtIndex</a> method for adding specifications.</p>
91
+ </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>items: <span class="tsd-signature-type" data-tsd-kind="Type parameter">IBunchItem</span><span class="tsd-signature-symbol">[]</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
92
+ <p>An array of DTElement instances to add into the bunch.</p>
93
+ </div></div></li><li><h5>options: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">DTBunchOptionsEditable</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = {}</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
94
+ <p>Optional Bunch option configuration object to apply only for this method execution. Options are not
95
+ saved in current _globalOptions property. Available Options are : <strong>uniqueKey</strong>, <strong>inheritOwner</strong>, <strong>replaceIndex</strong>
96
+ and <strong>errors</strong>.</p>
97
+ </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="addManyAtIndex" class="tsd-anchor"></a><h3>add<wbr/>Many<wbr/>At<wbr/>Index</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">add<wbr/>Many<wbr/>At<wbr/>Index<span class="tsd-signature-symbol">(</span>items<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IBunchItem</span><span class="tsd-signature-symbol">[]</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, options<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">DTBunchOptionsEditable</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/DTBunch.ts#L282">src/core/DTBunch.ts:282</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
98
+ <p>Add each element of an array <strong>items</strong> at specified <strong>index</strong> into _items property array.
99
+ The first element is added at provided <strong>index</strong> argument, and each next element at next indexes, following adding
100
+ specifications.</p>
101
+ </div><dl class="tsd-comment-tags"><dt>see</dt><dd><p><a href="#addAtIndex">addAtIndex</a> method for adding specifications.</p>
102
+ </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>items: <span class="tsd-signature-type" data-tsd-kind="Type parameter">IBunchItem</span><span class="tsd-signature-symbol">[]</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
103
+ <p>An array of DTElement instances to add into the bunch.</p>
104
+ </div></div></li><li><h5>index: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
105
+ <p>Index value where the item might be added. Must be a number between 0 and the current _items length.
106
+ If not, the provided argument is automatically changed to 0 or current _items length.</p>
107
+ </div></div></li><li><h5>options: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">DTBunchOptionsEditable</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = {}</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
108
+ <p>Optional Bunch option configuration object to apply only for this method execution. Options are not
109
+ saved in current _globalOptions property. Available Options are : <strong>uniqueKey</strong>, <strong>inheritOwner</strong>, <strong>replaceIndex</strong>
110
+ and <strong>errors</strong>.</p>
111
+ </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-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="DTBunch.html" class="tsd-signature-type" data-tsd-kind="Class">DTBunch</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IBunchItem</span><span class="tsd-signature-symbol">, </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/DTBunch.ts#L537">src/core/DTBunch.ts:537</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
112
+ <p>Create and return a new DTBunch instance by applying from current instance :</p>
113
+ <ul>
114
+ <li>Copy _key property</li>
115
+ <li>Copy _meta property</li>
116
+ <li>Copy _globalOptions property</li>
117
+ <li>Make a copy of each element in _items, and add it into _items of the copied Bunch.</li>
118
+ </ul>
119
+ </div></div><h4 class="tsd-returns-title">Returns <a href="DTBunch.html" class="tsd-signature-type" data-tsd-kind="Class">DTBunch</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IBunchItem</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IComponentMeta</span><span class="tsd-signature-symbol">&gt;</span></h4><div><p>New DTBunch instance copied.</p>
120
+ </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="find" class="tsd-anchor"></a><h3>find</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">find<span class="tsd-signature-symbol">(</span>filters<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">DTBunchFilters</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" data-tsd-kind="Type parameter">IBunchItem</span><span class="tsd-signature-symbol">[]</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/DTBunch.ts#L446">src/core/DTBunch.ts:446</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
121
+ <p>Return an array of DTElement from _items property filtered with a <strong>filters</strong> argument.</p>
122
+ </div><div><p>Search filters can be apply on following DTElement properties :</p>
123
+ <ul>
124
+ <li><strong>id</strong> : property _id. Basic operators only.</li>
125
+ <li><strong>key</strong> : property _key. Basic operators only.</li>
126
+ <li><strong>context</strong> : property _id of current _context instance. Basic operators only.</li>
127
+ <li><strong>owner</strong> : property _id of current _owner instance. Basic operators only.</li>
128
+ <li><strong>meta</strong> : each meta Key of _meta property. Extended operators can be used.</li>
129
+ </ul>
130
+ <p>For each search filter provided, an object of specific operators is applied :</p>
131
+ <ul>
132
+ <li><strong>BASIC OPERATORS</strong></li>
133
+ <li><strong>$eq</strong> : The property must be strict equal to the filter value.</li>
134
+ <li><strong>$in</strong> : The property must be included into the filter array.</li>
135
+ <li><strong>$nin</strong> : The property must not be included into the filter array.</li>
136
+ <li><strong>$ne</strong> : The property must be different to the filter value.</li>
137
+ <li><strong>EXTENDED OPERATORS</strong> (meta only)</li>
138
+ <li><strong>$lte</strong> : Number property only. The property must be lower or equal than the filter value.</li>
139
+ <li><strong>$gte</strong> : Number property only. The property must be higher or equal than the filter array.</li>
140
+ <li><strong>$contains</strong> : Array property only. The property must contain the filter value.</li>
141
+ <li><strong>$ncontains</strong> : Array property only. The property must not contain the filter value.</li>
142
+ </ul>
143
+ <p>If many operators and / or many properties are passed into the <strong>filters</strong> argument, the logic operator applied is
144
+ <strong>AND</strong>. For <strong>owner</strong> and <strong>context</strong> properties, you can pass <em>null</em> to filter elements with no owner or context
145
+ defined.</p>
146
+ <p>Examples of <strong>filters</strong> argument :</p>
147
+ <ul>
148
+ <li>{ key: { $eq: &quot;key_1&quot; } } : Return all DTElement instance into _items with <em>key_1</em> as _key property.</li>
149
+ <li>{ context: { $in: [null, &quot;bunch_1&quot;] } } : Return all DTElement instance into _items having no context or a
150
+ bunch context with <em>bunch_1</em> as _id property.</li>
151
+ <li>{ key: { $ne: &quot;key_1&quot; }, meta: { score: { $gte: 50, $lte: 50 } } } : Return all DTElement instance into _items
152
+ with _key property different than <em>key_1</em>, and meta key <em>score</em> value from _meta property between 50 and 100.</li>
153
+ </ul>
154
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>filters: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">DTBunchFilters</span><span class="tsd-signature-symbol">&gt;</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
155
+ <p>Filters Object. The format is :
156
+ { [property_1] : { [operator_1] : filter_value, [operator_2] : filter_value_2, ... }, [property_2] : { ... }, ... }</p>
157
+ <p>For <strong>meta</strong>, you have to pass the meta key before the operator :
158
+ { meta: { [meta_key1] : { [operator_1] : filter_value_1, ... }, [meta_key2] : { ... }, ... }, ... }</p>
159
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type" data-tsd-kind="Type parameter">IBunchItem</span><span class="tsd-signature-symbol">[]</span></h4><div><p>Array of DTElement instance corresponding to the filters. Empty if no filter or invalid ones are passed.</p>
160
+ </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="get" class="tsd-anchor"></a><h3>get</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<span class="tsd-signature-symbol">(</span>index<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-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IBunchItem</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/DTBunch.ts#L313">src/core/DTBunch.ts:313</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
161
+ <p>Return one DTElement instance included in the _items property by index or id.</p>
162
+ </div><div><ul>
163
+ <li>If a Number is provided, return the DTElement instance at the corresponding index into _items.</li>
164
+ <li>If a String is provided, return the DTElement instance with the corresponding _id property into _items.</li>
165
+ </ul>
166
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>index: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
167
+ <p>Number index value or String _id value.</p>
168
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type" data-tsd-kind="Type parameter">IBunchItem</span></h4><div><p>DTElement instance that corresponds to index or id provided, or undefined if not found.</p>
169
+ </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getAll" class="tsd-anchor"></a><h3>get<wbr/>All</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>All<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">IBunchItem</span><span class="tsd-signature-symbol">[]</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/DTBunch.ts#L326">src/core/DTBunch.ts:326</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
170
+ <p>Return all DTElement instance managed by the Bunch.</p>
171
+ </div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type" data-tsd-kind="Type parameter">IBunchItem</span><span class="tsd-signature-symbol">[]</span></h4><div><p>DTElement array corresponding to current _items property.</p>
172
+ </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">
173
+ <p>Getter for _componentType property.</p>
174
+ </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">
175
+ <p>Getter for _context property.</p>
176
+ </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">
177
+ <p>If provided, the getter parse all component level hierarchy to find the corresponding component
178
+ with <strong>contextType</strong> as _componentType value, and returns it. Return undefined if not found.</p>
179
+ </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>.
180
+ Returns undefined if context doesn&#39;t exist.</p>
181
+ </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">
182
+ <p>Getter for _domain property.</p>
183
+ </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="getErrors" class="tsd-anchor"></a><h3>get<wbr/>Errors</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Errors<span class="tsd-signature-symbol">(</span><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><span class="tsd-signature-symbol">[]</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/DTBunch.ts#L125">src/core/DTBunch.ts:125</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
184
+ <p>Getter for _errors property.</p>
185
+ </div></div><h4 class="tsd-returns-title">Returns <a href="DTError.html" class="tsd-signature-type" data-tsd-kind="Class">DTError</a><span class="tsd-signature-symbol">[]</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">
186
+ <p>Getter for _id property.</p>
187
+ </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">
188
+ <p>Getter for _key property.</p>
189
+ </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="getLastError" class="tsd-anchor"></a><h3>get<wbr/>Last<wbr/>Error</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Last<wbr/>Error<span class="tsd-signature-symbol">(</span><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"><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTBunch.ts#L132">src/core/DTBunch.ts:132</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
190
+ <p>Return the last error (most recent) of the current bunch. Undefined if _errors is empty.</p>
191
+ </div></div><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 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">
192
+ <p>Returns multiple defined keys values of meta data.</p>
193
+ </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">
194
+ <p>Array of keys to filter for meta data. If not provided or empty, returns all keys.</p>
195
+ </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>
196
+ </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">
197
+ <p>Getter for one meta by key.</p>
198
+ </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">
199
+ <p>Key name of one meta data.</p>
200
+ </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>
201
+ </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/DTBunch.ts#L92">src/core/DTBunch.ts:92</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
202
+ <p>Getter for _owner property.</p>
203
+ </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">
204
+ <p>Getter for _subKind property.</p>
205
+ </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="indexOf" class="tsd-anchor"></a><h3>index<wbr/>Of</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">index<wbr/>Of<span class="tsd-signature-symbol">(</span>id<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><span class="tsd-signature-type">number</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/DTBunch.ts#L336">src/core/DTBunch.ts:336</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
206
+ <p>Return current index of a DTElement instance into _items property by _id.</p>
207
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>id: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
208
+ <p>String _id value of the DTElement instance.</p>
209
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p>Current index number into _items, or -1 if not found.</p>
210
+ </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="remove" class="tsd-anchor"></a><h3>remove</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">remove<span class="tsd-signature-symbol">(</span>index<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-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/DTBunch.ts#L357">src/core/DTBunch.ts:357</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
211
+ <p>Remove a DTElement instance into the _items property by index or id.</p>
212
+ </div><div><ul>
213
+ <li>If a Number is provided, remove the DTElement instance at the corresponding index into _items.</li>
214
+ <li>If a String is provided, remove the DTElement instance with the corresponding _id property into _items.</li>
215
+ </ul>
216
+ <p>Note : Remove also the current context of the removed item (only if Option <strong>virtualContext</strong> is <em>false</em>).</p>
217
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>index: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
218
+ <p>Number index value or String _id value.</p>
219
+ </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="removeAll" class="tsd-anchor"></a><h3>remove<wbr/>All</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">remove<wbr/>All<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/DTBunch.ts#L401">src/core/DTBunch.ts:401</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
220
+ <p>Remove all DTElement instances into the _items property.</p>
221
+ </div><div><p>Note : Remove also the current context of removed items (only if Option <strong>virtualContext</strong> is <em>false</em>).</p>
222
+ </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="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">
223
+ <p>Remove the current context of component</p>
224
+ </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="removeMany" class="tsd-anchor"></a><h3>remove<wbr/>Many</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">remove<wbr/>Many<span class="tsd-signature-symbol">(</span>indexes<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><span class="tsd-signature-type">number</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"><ul><li>Defined in <a href="https://gitlab.com/flaya-dyo/dyo-tools/core/-/blob/9b29d44/src/core/DTBunch.ts#L376">src/core/DTBunch.ts:376</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
225
+ <p>Remove multiple DTElement instances into the _items property by index or id. An array of indexes or ids to remove
226
+ must be provided.</p>
227
+ </div><div><ul>
228
+ <li>If a Number Array is provided, remove DTElement instances at corresponding indexes into _items.</li>
229
+ <li>If a String Array is provided, remove DTElement instances with corresponding _id properties into _items.</li>
230
+ </ul>
231
+ <p>Note : Remove also the current context of removed items (only if Option <strong>virtualContext</strong> is <em>false</em>).</p>
232
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>indexes: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
233
+ <p>Number Array index values or String Array _id values.</p>
234
+ </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="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/DTBunch.ts#L112">src/core/DTBunch.ts:112</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
235
+ <p>Remove the current owner of bunch.</p>
236
+ </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">
237
+ <p>Setter for _context property.</p>
238
+ </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">
239
+ <p>Set multiple meta data.</p>
240
+ </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">
241
+ <p>Object of meta data to set, according to the meta data property type.</p>
242
+ </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">
243
+ <p>Setter for one meta by key.</p>
244
+ </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">
245
+ <p>Key name of the meta data to update.</p>
246
+ </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">
247
+ <p>New value to set into the meta data.</p>
248
+ </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/DTBunch.ts#L99">src/core/DTBunch.ts:99</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
249
+ <p>Setter for _owner property.</p>
250
+ </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">DTBunchToObject</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/DTBunch.ts#L564">src/core/DTBunch.ts:564</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
251
+ <p>Return JSON Object representation of the Bunch instance.</p>
252
+ </div><div><p>JSON Object returned has the following structure :</p>
253
+ <ul>
254
+ <li><strong>id</strong> : _id property of the Bunch.</li>
255
+ <li><strong>key</strong> : _key property of the Bunch.</li>
256
+ <li><strong>type</strong> : _componentType property of the Bunch.</li>
257
+ <li><strong>items</strong> : Array of JSON Object representation for each DTElement instance in _items property of the Bunch.</li>
258
+ <li><strong>owner</strong> : String representation of the current _owner property of the Bunch (only if defined).</li>
259
+ <li><strong>meta</strong> : JSON Object of all current metadata in _meta property of the Bunch (only if not empty).</li>
260
+ </ul>
261
+ </div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">DTBunchToObject</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 Bunch.</p>
262
+ </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/DTBunch.ts#L592">src/core/DTBunch.ts:592</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
263
+ <p>Return String representation of the Bunch instance.</p>
264
+ </div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><div><p>String representation of the Bunch.</p>
265
+ </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="DTBunch.html" class="tsd-kind-icon">DTBunch</a><ul><li class="tsd-kind-constructor tsd-parent-kind-class tsd-has-type-parameter tsd-is-overwrite"><a href="DTBunch.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="DTBunch.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="DTBunch.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="DTBunch.html#_domain" class="tsd-kind-icon">_domain</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a href="DTBunch.html#_errors" class="tsd-kind-icon">_errors</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a href="DTBunch.html#_globalOptions" class="tsd-kind-icon">_global<wbr/>Options</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a href="DTBunch.html#_id" class="tsd-kind-icon">_id</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a href="DTBunch.html#_items" class="tsd-kind-icon">_items</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a href="DTBunch.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="DTBunch.html#_meta" class="tsd-kind-icon">_meta</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a href="DTBunch.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="DTBunch.html#_subKind" class="tsd-kind-icon">_sub<wbr/>Kind</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.html#add" class="tsd-kind-icon">add</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.html#addAtIndex" class="tsd-kind-icon">add<wbr/>At<wbr/>Index</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.html#addMany" class="tsd-kind-icon">add<wbr/>Many</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.html#addManyAtIndex" class="tsd-kind-icon">add<wbr/>Many<wbr/>At<wbr/>Index</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="DTBunch.html#copy" class="tsd-kind-icon">copy</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.html#find" class="tsd-kind-icon">find</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.html#get" class="tsd-kind-icon">get</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.html#getAll" class="tsd-kind-icon">get<wbr/>All</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTBunch.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="DTBunch.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="DTBunch.html#getDomain" class="tsd-kind-icon">get<wbr/>Domain</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.html#getErrors" class="tsd-kind-icon">get<wbr/>Errors</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTBunch.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="DTBunch.html#getKey" class="tsd-kind-icon">get<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.html#getLastError" class="tsd-kind-icon">get<wbr/>Last<wbr/>Error</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTBunch.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="DTBunch.html#getMeta" class="tsd-kind-icon">get<wbr/>Meta</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.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="DTBunch.html#getSubKind" class="tsd-kind-icon">get<wbr/>Sub<wbr/>Kind</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.html#indexOf" class="tsd-kind-icon">index<wbr/>Of</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.html#remove" class="tsd-kind-icon">remove</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.html#removeAll" class="tsd-kind-icon">remove<wbr/>All</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="DTBunch.html#removeContext" class="tsd-kind-icon">remove<wbr/>Context</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.html#removeMany" class="tsd-kind-icon">remove<wbr/>Many</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.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="DTBunch.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="DTBunch.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="DTBunch.html#setMeta" class="tsd-kind-icon">set<wbr/>Meta</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="DTBunch.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="DTBunch.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="DTBunch.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>