framadate-responsive/documentation/miscellaneous/variables.html
2020-02-19 17:12:54 +01:00

2663 lines
100 KiB
HTML

<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>framadate-funky-frontend documentation</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css">
</head>
<body>
<div class="navbar navbar-default navbar-fixed-top visible-xs">
<a href="../" class="navbar-brand">framadate-funky-frontend documentation</a>
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
</div>
<div class="xs-menu menu" id="mobile-menu">
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
</div>
<div class="container-fluid main">
<div class="row main">
<div class="hidden-xs menu">
<compodoc-menu mode="normal"></compodoc-menu>
</div>
<!-- START CONTENT -->
<div class="content miscellaneous-variables">
<div class="content-data">
<ol class="breadcrumb">
<li>Miscellaneous</li>
<li>Variables</li>
</ol>
<section>
<h3 id="index">Index</h3>
<table class="table table-sm table-bordered index-table">
<tbody>
<tr>
<td class="col-md-4">
<ul class="index-list">
<li>
<a href="#apiVersion" title="src/environments/environment.ts"><b>apiVersion</b>&nbsp;&nbsp;&nbsp;(src/.../environment.ts)</a>
</li>
<li>
<a href="#baseConfigValues" title="src/app/config/PollConfig.ts"><b>baseConfigValues</b>&nbsp;&nbsp;&nbsp;(src/.../PollConfig.ts)</a>
</li>
<li>
<a href="#baseURL" title="src/environments/environment.ts"><b>baseURL</b>&nbsp;&nbsp;&nbsp;(src/.../environment.ts)</a>
</li>
<li>
<a href="#baseURLDemo" title="src/environments/environment.ts"><b>baseURLDemo</b>&nbsp;&nbsp;&nbsp;(src/.../environment.ts)</a>
</li>
<li>
<a href="#baseURLProd" title="src/environments/environment.ts"><b>baseURLProd</b>&nbsp;&nbsp;&nbsp;(src/.../environment.ts)</a>
</li>
<li>
<a href="#basicSlicesOfDay" title="src/app/config/defaultConfigs.ts"><b>basicSlicesOfDay</b>&nbsp;&nbsp;&nbsp;(src/.../defaultConfigs.ts)</a>
</li>
<li>
<a href="#ButtonWithLinkToAnotherStory" title="src/stories/1-Button.stories.ts"><b>ButtonWithLinkToAnotherStory</b>&nbsp;&nbsp;&nbsp;(src/.../1-Button.stories.ts)</a>
</li>
<li>
<a href="#context" title="src/test.ts"><b>context</b>&nbsp;&nbsp;&nbsp;(src/.../test.ts)</a>
</li>
<li>
<a href="#currentDay" title="src/app/config/defaultConfigs.ts"><b>currentDay</b>&nbsp;&nbsp;&nbsp;(src/.../defaultConfigs.ts)</a>
</li>
<li>
<a href="#currentMonth" title="src/app/config/defaultConfigs.ts"><b>currentMonth</b>&nbsp;&nbsp;&nbsp;(src/.../defaultConfigs.ts)</a>
</li>
<li>
<a href="#currentYear" title="src/app/config/defaultConfigs.ts"><b>currentYear</b>&nbsp;&nbsp;&nbsp;(src/.../defaultConfigs.ts)</a>
</li>
<li>
<a href="#DATE_VALUE_ACCESSOR" title="src/app/custom-lib/date-value-accessor/date-value-accessor.ts"><b>DATE_VALUE_ACCESSOR</b>&nbsp;&nbsp;&nbsp;(src/.../date-value-accessor.ts)</a>
</li>
<li>
<a href="#defaultAnswers" title="src/app/config/defaultConfigs.ts"><b>defaultAnswers</b>&nbsp;&nbsp;&nbsp;(src/.../defaultConfigs.ts)</a>
</li>
<li>
<a href="#defaultDates" title="src/app/config/defaultConfigs.ts"><b>defaultDates</b>&nbsp;&nbsp;&nbsp;(src/.../defaultConfigs.ts)</a>
</li>
<li>
<a href="#defaultTimeOfDay" title="src/app/config/defaultConfigs.ts"><b>defaultTimeOfDay</b>&nbsp;&nbsp;&nbsp;(src/.../defaultConfigs.ts)</a>
</li>
<li>
<a href="#Emoji" title="src/stories/1-Button.stories.ts"><b>Emoji</b>&nbsp;&nbsp;&nbsp;(src/.../1-Button.stories.ts)</a>
</li>
<li>
<a href="#environment" title="src/environments/environment.prod.ts"><b>environment</b>&nbsp;&nbsp;&nbsp;(src/.../environment.prod.ts)</a>
</li>
<li>
<a href="#environment" title="src/environments/environment.ts"><b>environment</b>&nbsp;&nbsp;&nbsp;(src/.../environment.ts)</a>
</li>
<li>
<a href="#graphOptions" title="src/app/config/graph-canevas-options.ts"><b>graphOptions</b>&nbsp;&nbsp;&nbsp;(src/.../graph-canevas-options.ts)</a>
</li>
<li>
<a href="#mockChoice" title="src/app/config/mocks/choice.ts"><b>mockChoice</b>&nbsp;&nbsp;&nbsp;(src/.../choice.ts)</a>
</li>
<li>
<a href="#mockComments" title="src/app/config/mocks/mock-comments.ts"><b>mockComments</b>&nbsp;&nbsp;&nbsp;(src/.../mock-comments.ts)</a>
</li>
<li>
<a href="#mockGraphConfig" title="src/app/config/mocks/mock-graph.ts"><b>mockGraphConfig</b>&nbsp;&nbsp;&nbsp;(src/.../mock-graph.ts)</a>
</li>
<li>
<a href="#mockMyPolls" title="src/app/config/mocks/mockmypolls.ts"><b>mockMyPolls</b>&nbsp;&nbsp;&nbsp;(src/.../mockmypolls.ts)</a>
</li>
<li>
<a href="#mockPoll3" title="src/app/config/mocks/mock-poll3.ts"><b>mockPoll3</b>&nbsp;&nbsp;&nbsp;(src/.../mock-poll3.ts)</a>
</li>
<li>
<a href="#mockSuccessVote" title="src/app/config/mocks/mock-success-vote.ts"><b>mockSuccessVote</b>&nbsp;&nbsp;&nbsp;(src/.../mock-success-vote.ts)</a>
</li>
<li>
<a href="#otherDefaultDates" title="src/app/config/defaultConfigs.ts"><b>otherDefaultDates</b>&nbsp;&nbsp;&nbsp;(src/.../defaultConfigs.ts)</a>
</li>
<li>
<a href="#otherSlicesOfDay" title="src/app/config/defaultConfigs.ts"><b>otherSlicesOfDay</b>&nbsp;&nbsp;&nbsp;(src/.../defaultConfigs.ts)</a>
</li>
<li>
<a href="#otherTimeOfDay" title="src/app/config/defaultConfigs.ts"><b>otherTimeOfDay</b>&nbsp;&nbsp;&nbsp;(src/.../defaultConfigs.ts)</a>
</li>
<li>
<a href="#require" title="src/test.ts"><b>require</b>&nbsp;&nbsp;&nbsp;(src/.../test.ts)</a>
</li>
<li>
<a href="#Routes" title="src/app/config/Routes.ts"><b>Routes</b>&nbsp;&nbsp;&nbsp;(src/.../Routes.ts)</a>
</li>
<li>
<a href="#testOnDemo" title="src/environments/environment.ts"><b>testOnDemo</b>&nbsp;&nbsp;&nbsp;(src/.../environment.ts)</a>
</li>
<li>
<a href="#Text" title="src/stories/1-Button.stories.ts"><b>Text</b>&nbsp;&nbsp;&nbsp;(src/.../1-Button.stories.ts)</a>
</li>
<li>
<a href="#ToStorybook" title="src/stories/0-Welcome.stories.ts"><b>ToStorybook</b>&nbsp;&nbsp;&nbsp;(src/.../0-Welcome.stories.ts)</a>
</li>
<li>
<a href="#WithSomeEmojiAndAction" title="src/stories/1-Button.stories.ts"><b>WithSomeEmojiAndAction</b>&nbsp;&nbsp;&nbsp;(src/.../1-Button.stories.ts)</a>
</li>
</ul>
</td>
</tr>
</tbody>
</table>
</section>
<h3>src/environments/environment.ts</h3>
<section>
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="apiVersion"></a>
<span class="name">
<b>
apiVersion</b>
<a href="#apiVersion"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>1</code>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="baseURL"></a>
<span class="name">
<b>
baseURL</b>
<a href="#baseURL"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>&quot;http://localhost:8000/&quot;</code>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="baseURLDemo"></a>
<span class="name">
<b>
baseURLDemo</b>
<a href="#baseURLDemo"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>&quot;https://framadate-api.cipherbliss.com/&quot;</code>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="baseURLProd"></a>
<span class="name">
<b>
baseURLProd</b>
<a href="#baseURLProd"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>&quot;https://framadate.org/&quot;</code>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="environment"></a>
<span class="name">
<b>
environment</b>
<a href="#environment"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank" >object</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>{
production: false,
baseHref: baseURL,
baseApiHref: baseURL + &quot;api/v&quot; + apiVersion
}</code>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="testOnDemo"></a>
<span class="name">
<b>
testOnDemo</b>
<a href="#testOnDemo"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>0</code>
</td>
</tr>
</tbody>
</table>
</section>
<h3>src/app/config/PollConfig.ts</h3>
<section>
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="baseConfigValues"></a>
<span class="name">
<b>
baseConfigValues</b>
<a href="#baseConfigValues"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank" >object</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>{
pollType: &quot;classic&quot;,
title: &quot;&quot;,
description: &quot;&quot;,
myName: &quot;&quot;,
myEmail: &quot;&quot;,
}</code>
</td>
</tr>
</tbody>
</table>
</section>
<h3>src/app/config/defaultConfigs.ts</h3>
<section>
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="basicSlicesOfDay"></a>
<span class="name">
<b>
basicSlicesOfDay</b>
<a href="#basicSlicesOfDay"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="../interfaces/TimeSlices.html" target="_self" >TimeSlices[]</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>[
{literal: &#x27;matin&#x27;},
{literal: &#x27;midi&#x27;},
{literal: &#x27;soir&#x27;}
]</code>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="currentDay"></a>
<span class="name">
<b>
currentDay</b>
<a href="#currentDay"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>new Date().getDate()</code>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="currentMonth"></a>
<span class="name">
<b>
currentMonth</b>
<a href="#currentMonth"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>new Date().getMonth()</code>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="currentYear"></a>
<span class="name">
<b>
currentYear</b>
<a href="#currentYear"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>new Date().getFullYear()</code>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="defaultAnswers"></a>
<span class="name">
<b>
defaultAnswers</b>
<a href="#defaultAnswers"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="../interfaces/PollAnswer.html" target="_self" >PollAnswer[]</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>[{
id: 0,
text: &#x27;réponse de démo 1&#x27;,
file: &#x27;&#x27;,
url: &#x27;https://mastodon.cipherbliss.com/system/media_attachments/files/001/439/118/original/6fcf149bd902841b.png?1579471574&#x27;,
literal: &#x60;${currentYear}-${currentMonth}-${currentDay}&#x60;,
date_object: new Date(),
timeList: otherSlicesOfDay
},
{
id: 1,
text: &#x27;réponse 2&#x27;,
file: &#x27;&#x27;,
url: &#x27;https://mastodon.cipherbliss.com/system/media_attachments/files/001/439/118/original/6fcf149bd902841b.png?1579471574&#x27;,
literal: &#x60;${currentYear}-${currentMonth}-${currentDay + 1}&#x60;,
date_object: new Date(),
timeList: basicSlicesOfDay
},
{
id: 2,
text: &#x27;la réponse D&#x27;,
file: &#x27;&#x27;,
url: &#x27;https://mastodon.cipherbliss.com/system/media_attachments/files/001/439/118/original/6fcf149bd902841b.png?1579471574&#x27;,
literal: &#x60;${currentYear}-${currentMonth}-${currentDay + 2}&#x60;,
date_object: new Date(),
timeList: otherSlicesOfDay
}]</code>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="defaultDates"></a>
<span class="name">
<b>
defaultDates</b>
<a href="#defaultDates"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="../interfaces/DateChoice.html" target="_self" >DateChoice[]</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>[
{
literal: &#x60;${currentYear}-${currentMonth}-${currentDay}&#x60;,
date_object: new Date(),
timeList: defaultTimeOfDay
},
{
literal: &#x60;${currentYear}-${currentMonth}-${currentDay + 1}&#x60;,
date_object: new Date(),
timeList: defaultTimeOfDay
},
{
literal: &#x60;${currentYear}-${currentMonth}-${currentDay + 2}&#x60;,
date_object: new Date(),
timeList: defaultTimeOfDay
}
]</code>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="defaultTimeOfDay"></a>
<span class="name">
<b>
defaultTimeOfDay</b>
<a href="#defaultTimeOfDay"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="../interfaces/TimeSlices.html" target="_self" >TimeSlices[]</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>(() &#x3D;&gt; {
return [...basicSlicesOfDay]
})()</code>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="otherDefaultDates"></a>
<span class="name">
<b>
otherDefaultDates</b>
<a href="#otherDefaultDates"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="../interfaces/DateChoice.html" target="_self" >DateChoice[]</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>[
{
literal: &#x60;${currentYear}-${currentMonth}-${currentDay}&#x60;,
date_object: new Date(),
timeList: otherTimeOfDay
},
{
literal: &#x60;${currentYear}-${currentMonth}-${currentDay + 1}&#x60;,
date_object: new Date(currentYear, currentMonth, currentDay + 1),
timeList: defaultTimeOfDay
},
{
literal: &#x60;${currentYear}-${currentMonth}-${currentDay + 2}&#x60;,
date_object: new Date(),
timeList: otherTimeOfDay
}
]</code>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="otherSlicesOfDay"></a>
<span class="name">
<b>
otherSlicesOfDay</b>
<a href="#otherSlicesOfDay"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="../interfaces/TimeSlices.html" target="_self" >TimeSlices[]</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>[
{literal: &#x27;aux aurores&#x27;},
{literal: &#x27;au petit dej&#x27;},
{literal: &#x27;au deuxième petit dej des hobbits&#x27;}
]</code>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="otherTimeOfDay"></a>
<span class="name">
<b>
otherTimeOfDay</b>
<a href="#otherTimeOfDay"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="../interfaces/TimeSlices.html" target="_self" >TimeSlices[]</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>(() &#x3D;&gt; {
return [...otherSlicesOfDay]
})()</code>
</td>
</tr>
</tbody>
</table>
</section>
<h3>src/stories/1-Button.stories.ts</h3>
<section>
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="ButtonWithLinkToAnotherStory"></a>
<span class="name">
<b>
ButtonWithLinkToAnotherStory</b>
<a href="#ButtonWithLinkToAnotherStory"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>() &#x3D;&gt; ({
component: Button,
props: {
text: &#x27;Go to Welcome Story&#x27;,
onClick: linkTo(&#x27;Welcome&#x27;),
},
})</code>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="Emoji"></a>
<span class="name">
<b>
Emoji</b>
<a href="#Emoji"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>() &#x3D;&gt; ({
component: Button,
props: {
text: &#x27;😀 😎 👍 💯&#x27;,
},
})</code>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="Text"></a>
<span class="name">
<b>
Text</b>
<a href="#Text"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>() &#x3D;&gt; ({
component: Button,
props: {
text: &#x27;Hello Button&#x27;,
},
})</code>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="WithSomeEmojiAndAction"></a>
<span class="name">
<b>
WithSomeEmojiAndAction</b>
<a href="#WithSomeEmojiAndAction"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>() &#x3D;&gt; ({
component: Button,
props: {
text: &#x27;😀 😎 👍 💯&#x27;,
onClick: action(&#x27;This was clicked OMG&#x27;),
},
})</code>
</td>
</tr>
</tbody>
</table>
</section>
<h3>src/test.ts</h3>
<section>
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="context"></a>
<span class="name">
<b>
context</b>
<a href="#context"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>require.context(&#x27;./&#x27;, true, /\.spec\.ts$/)</code>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="require"></a>
<span class="name">
<b>
require</b>
<a href="#require"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
</td>
</tr>
</tbody>
</table>
</section>
<h3>src/app/custom-lib/date-value-accessor/date-value-accessor.ts</h3>
<section>
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="DATE_VALUE_ACCESSOR"></a>
<span class="name">
<b>
DATE_VALUE_ACCESSOR</b>
<a href="#DATE_VALUE_ACCESSOR"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>{
provide: NG_VALUE_ACCESSOR,
useExisting: forwardRef(() &#x3D;&gt; DateValueAccessor),
multi: true
}</code>
</td>
</tr>
</tbody>
</table>
</section>
<h3>src/environments/environment.prod.ts</h3>
<section>
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="environment"></a>
<span class="name">
<b>
environment</b>
<a href="#environment"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank" >object</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>{
production: true,
baseHref: &quot;https://framadate-api.cipherbliss.com/&quot;,
baseApiHref: &#x27;https://framadate-api.cipherbliss.com/api/v1&#x27;
}</code>
</td>
</tr>
</tbody>
</table>
</section>
<h3>src/app/config/graph-canevas-options.ts</h3>
<section>
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="graphOptions"></a>
<span class="name">
<b>
graphOptions</b>
<a href="#graphOptions"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank" >object</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>{
legend: {display: false},
scales: {
xAxes: [
{
gridLines: {drawBorder: false, display: false},
display: false,
stacked: true,
ticks: {
beginAtZero: true,
maxRotation: 0,
minRotation: 0
}
}
],
yAxes: [
{
gridLines: {drawBorder: true, display: false},
display: true,
stacked: true
}
]
}
}</code>
</td>
</tr>
</tbody>
</table>
</section>
<h3>src/app/config/mocks/choice.ts</h3>
<section>
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="mockChoice"></a>
<span class="name">
<b>
mockChoice</b>
<a href="#mockChoice"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank" >object</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>{
&quot;id&quot;: 11,
&quot;date&quot;: {
&quot;date&quot;: &quot;2020-01-30 12:25:13.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;text&quot;: &quot;Les mondes engloutis&quot;,
&quot;url&quot;: null,
&quot;answer&quot;: null,
}</code>
</td>
</tr>
</tbody>
</table>
</section>
<h3>src/app/config/mocks/mock-comments.ts</h3>
<section>
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="mockComments"></a>
<span class="name">
<b>
mockComments</b>
<a href="#mockComments"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code>[]</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>[
{
pseudo: &quot;Bulbizarre&quot;,
&quot;date&quot;: {
&quot;date&quot;: &quot;2020-01-22 16:00:22.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Paris&quot;
},
text: &quot;Pokem ipsum dolor sit amet Electric Cottonee Scratch Leech Life Ice Berry Ducklett. Leaf Green Durant Zoroark\n&quot; +
&quot; Skitty Rock Luxio Surskit. Glacier Badge&quot;,
},
{
pseudo: &quot;Marylin&quot;,
&quot;date&quot;: {
&quot;date&quot;: &quot;2020-01-22 16:00:22.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Paris&quot;
},
text: &quot;j&#x27;ai vu de la lumière o_o&quot;,
},
]</code>
</td>
</tr>
</tbody>
</table>
</section>
<h3>src/app/config/mocks/mock-graph.ts</h3>
<section>
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="mockGraphConfig"></a>
<span class="name">
<b>
mockGraphConfig</b>
<a href="#mockGraphConfig"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank" >object</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>{
step: 0,
stepMax: 3,
pollType: &quot;special dates&quot;,
title: &quot;&quot;,
description: &quot;&quot;,
myName: &quot;&quot;,
visibility: &quot;link_only&quot;,
// date specific poll
allowSeveralHours: &quot;true&quot;,
dateLgfgfgfgist: [&quot;jeudi&quot;, &quot;vendredi&quot;, &quot;samedi&quot;], // sets of days as strings
timeList: [&quot;08:00&quot;, &quot;08:30&quot;, &quot;09:00&quot;], // ranges of time expressed as strings
answers: [
{
id: 0,
text: &quot;no&quot;
},
{
id: 1,
text: &quot;yes&quot;
},
{
id: 2,
text: &quot;maybe&quot;
},
{
id: 3,
text: &quot;maybe&quot;
},
{
id: 4,
text: &quot;maybe&quot;
},
{
id: 5,
text: &quot;maybe&quot;
},
{
id: 6,
text: &quot;maybe&quot;
},
{
id: 7,
text: &quot;maybe&quot;
},
{
id: 8,
text: &quot;maybe&quot;
}
]
}</code>
</td>
</tr>
</tbody>
</table>
</section>
<h3>src/app/config/mocks/mockmypolls.ts</h3>
<section>
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="mockMyPolls"></a>
<span class="name">
<b>
mockMyPolls</b>
<a href="#mockMyPolls"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code>[]</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>[{
&quot;id&quot;: 1000001,
&quot;title&quot;: &quot;blehehehe heh hehhe e test1&quot;,
&quot;customUrl&quot;: null,
&quot;description&quot;: &quot;maaaaaaaaaaah&quot;,
&quot;creationDate&quot;: {&quot;date&quot;: &quot;2020-01-20 14:21:16.270157&quot;, &quot;timezone_type&quot;: 3, &quot;timezone&quot;: &quot;Europe/Paris&quot;},
&quot;expiracyDate&quot;: {&quot;date&quot;: &quot;2020-01-20 14:21:16.270178&quot;, &quot;timezone_type&quot;: 3, &quot;timezone&quot;: &quot;Europe/Paris&quot;},
&quot;owner&quot;: null,
&quot;kind&quot;: &quot;text&quot;,
&quot;allowedAnswers&quot;: [&quot;yes&quot;],
&quot;modificationPolicy&quot;: &quot;nobody&quot;,
&quot;mailOnComment&quot;: null,
&quot;mailOnVote&quot;: null,
&quot;hideResults&quot;: null,
&quot;showResultEvenIfPasswords&quot;: null,
&quot;votes&quot;: {},
&quot;stacksOfVotes&quot;: {},
&quot;choices&quot;: {},
&quot;comments&quot;: {},
&quot;defaultExpiracyDaysFromNow&quot;: 60
}, {
&quot;id&quot;: 1000002,
&quot;title&quot;: &quot;bleh z zr erth tuyjikioy yylil test2&quot;,
&quot;customUrl&quot;: null,
&quot;description&quot;: &quot;maaaaaaaaaaah 2&quot;,
&quot;creationDate&quot;: {&quot;date&quot;: &quot;2020-01-20 14:21:16.270157&quot;, &quot;timezone_type&quot;: 3, &quot;timezone&quot;: &quot;Europe/Paris&quot;},
&quot;expiracyDate&quot;: {&quot;date&quot;: &quot;2020-01-20 14:21:16.270178&quot;, &quot;timezone_type&quot;: 3, &quot;timezone&quot;: &quot;Europe/Paris&quot;},
&quot;owner&quot;: null,
&quot;kind&quot;: &quot;text&quot;,
&quot;allowedAnswers&quot;: [&quot;yes&quot;],
&quot;modificationPolicy&quot;: &quot;nobody&quot;,
&quot;mailOnComment&quot;: null,
&quot;mailOnVote&quot;: null,
&quot;hideResults&quot;: null,
&quot;showResultEvenIfPasswords&quot;: null,
&quot;votes&quot;: {},
&quot;stacksOfVotes&quot;: {},
&quot;choices&quot;: {},
&quot;comments&quot;: {},
&quot;defaultExpiracyDaysFromNow&quot;: 60
}]</code>
</td>
</tr>
</tbody>
</table>
</section>
<h3>src/app/config/mocks/mock-poll3.ts</h3>
<section>
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="mockPoll3"></a>
<span class="name">
<b>
mockPoll3</b>
<a href="#mockPoll3"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank" >object</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>{
&quot;message&quot;: &quot;your poll config&quot;,
&quot;poll&quot;: {
&quot;id&quot;: 4,
&quot;title&quot;: &quot;dessin animé préféré&quot;,
&quot;customUrl&quot;: null,
&quot;description&quot;: &quot;choisissez votre animé préféré&quot;,
&quot;creationDate&quot;: {
&quot;date&quot;: &quot;2020-01-30 12:25:13.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;expiracyDate&quot;: {
&quot;date&quot;: &quot;2020-01-30 12:25:13.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;owner&quot;: {
&quot;__initializer__&quot;: null,
&quot;__cloner__&quot;: null,
&quot;__isInitialized__&quot;: true,
&quot;pseudo&quot;: &quot;tk_TEST&quot;,
&quot;email&quot;: &quot;tktest@tktest.com&quot;
},
&quot;kind&quot;: &quot;text&quot;,
&quot;allowedAnswers&quot;: [
// &quot;yes&quot;, &quot;maybe&quot;, &quot;no&quot;
&quot;yes&quot;,
],
&quot;modificationPolicy&quot;: &quot;everybody&quot;,
&quot;mailOnComment&quot;: null,
&quot;mailOnVote&quot;: null,
&quot;hideResults&quot;: null,
&quot;showResultEvenIfPasswords&quot;: null,
&quot;votes&quot;: {},
&quot;stacksOfVotes&quot;: {},
&quot;choices&quot;: {},
&quot;choices_count&quot;: {
&quot;counts&quot;: {
&quot;10&quot;: {
&quot;choice_id&quot;: 10,
&quot;choice_text&quot;: &quot;Les mystérieuses cités d&#x27;or&quot;,
&quot;id&quot;: 4,
&quot;score&quot;: 2.5,
&quot;yes&quot;: {
&quot;count&quot;: 2,
&quot;people&quot;: [
&quot;voting_people_TEST&quot;,
&quot;voting_people_TEST&quot;
]
},
&quot;maybe&quot;: {
&quot;count&quot;: 1,
&quot;people&quot;: [
&quot;Nikolas Edison&quot;
]
},
&quot;no&quot;: {
&quot;count&quot;: 1,
&quot;people&quot;: [
&quot;voting_people_TEST&quot;
]
}
},
&quot;9&quot;: {
&quot;choice_id&quot;: 9,
&quot;choice_text&quot;: &quot;Boumbo petite automobile&quot;,
&quot;id&quot;: 5,
&quot;score&quot;: 2.5,
&quot;yes&quot;: {
&quot;count&quot;: 2,
&quot;people&quot;: [
&quot;voting_people_TEST&quot;,
&quot;Billie Jean&quot;
]
},
&quot;maybe&quot;: {
&quot;count&quot;: 1,
&quot;people&quot;: [
&quot;voting_people_TEST&quot;
]
},
&quot;no&quot;: {
&quot;count&quot;: 0,
&quot;people&quot;: []
}
},
&quot;12&quot;: {
&quot;choice_id&quot;: 12,
&quot;choice_text&quot;: &quot;Foot 2 rue&quot;,
&quot;id&quot;: 14,
&quot;score&quot;: 0.5,
&quot;yes&quot;: {
&quot;count&quot;: 0,
&quot;people&quot;: []
},
&quot;maybe&quot;: {
&quot;count&quot;: 1,
&quot;people&quot;: [
&quot;Nikolas Edison&quot;
]
},
&quot;no&quot;: {
&quot;count&quot;: 0,
&quot;people&quot;: []
}
},
&quot;11&quot;: {
&quot;choice_id&quot;: 11,
&quot;choice_text&quot;: &quot;Les mondes engloutis&quot;,
&quot;id&quot;: 15,
&quot;score&quot;: 1.5,
&quot;yes&quot;: {
&quot;count&quot;: 1,
&quot;people&quot;: [
&quot;Billie Jean&quot;
]
},
&quot;maybe&quot;: {
&quot;count&quot;: 1,
&quot;people&quot;: [
&quot;Wulfila&quot;
]
},
&quot;no&quot;: {
&quot;count&quot;: 0,
&quot;people&quot;: []
}
},
&quot;13&quot;: {
&quot;choice_id&quot;: 13,
&quot;choice_text&quot;: &quot;Le chat, la vache, et l&#x27;océan&quot;,
&quot;id&quot;: 16,
&quot;score&quot;: 1,
&quot;yes&quot;: {
&quot;count&quot;: 1,
&quot;people&quot;: [
&quot;Wulfila&quot;
]
},
&quot;maybe&quot;: {
&quot;count&quot;: 0,
&quot;people&quot;: []
},
&quot;no&quot;: {
&quot;count&quot;: 0,
&quot;people&quot;: []
}
}
},
&quot;maxScore&quot;: 2.5
},
&quot;comments&quot;: {},
&quot;defaultExpiracyDaysFromNow&quot;: 60
},
&quot;stacks_count&quot;: 5,
&quot;stacks&quot;: [
{
&quot;id&quot;: 3,
&quot;pseudo&quot;: &quot;voting_people_TEST&quot;,
&quot;creation_date&quot;: {
&quot;date&quot;: &quot;2020-01-30 12:25:13.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;votes&quot;: {
&quot;8&quot;: {
&quot;choice_id&quot;: 8
},
&quot;9&quot;: {
&quot;id&quot;: 3,
&quot;vote_id&quot;: 5,
&quot;value&quot;: &quot;maybe&quot;,
&quot;choice_id&quot;: 9,
&quot;text&quot;: &quot;Boumbo petite automobile&quot;
},
&quot;10&quot;: {
&quot;id&quot;: 3,
&quot;vote_id&quot;: 4,
&quot;value&quot;: &quot;yes&quot;,
&quot;choice_id&quot;: 10,
&quot;text&quot;: &quot;Les mystérieuses cités d&#x27;or&quot;
},
&quot;11&quot;: {
&quot;choice_id&quot;: 11
},
&quot;12&quot;: {
&quot;choice_id&quot;: 12
},
&quot;13&quot;: {
&quot;choice_id&quot;: 13
},
&quot;14&quot;: {
&quot;choice_id&quot;: 14
}
}
},
{
&quot;id&quot;: 4,
&quot;pseudo&quot;: &quot;voting_people_TEST&quot;,
&quot;creation_date&quot;: {
&quot;date&quot;: &quot;2020-01-30 12:25:13.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;votes&quot;: {
&quot;8&quot;: {
&quot;choice_id&quot;: 8
},
&quot;9&quot;: {
&quot;id&quot;: 4,
&quot;vote_id&quot;: 6,
&quot;value&quot;: &quot;yes&quot;,
&quot;choice_id&quot;: 9,
&quot;text&quot;: &quot;Boumbo petite automobile&quot;
},
&quot;10&quot;: {
&quot;id&quot;: 4,
&quot;vote_id&quot;: 8,
&quot;value&quot;: &quot;no&quot;,
&quot;choice_id&quot;: 10,
&quot;text&quot;: &quot;Les mystérieuses cités d&#x27;or&quot;
},
&quot;11&quot;: {
&quot;choice_id&quot;: 11
},
&quot;12&quot;: {
&quot;choice_id&quot;: 12
},
&quot;13&quot;: {
&quot;choice_id&quot;: 13
},
&quot;14&quot;: {
&quot;choice_id&quot;: 14
}
}
},
{
&quot;id&quot;: 7,
&quot;pseudo&quot;: &quot;Nikolas Edison&quot;,
&quot;creation_date&quot;: {
&quot;date&quot;: &quot;2020-01-30 12:25:13.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;votes&quot;: {
&quot;8&quot;: {
&quot;choice_id&quot;: 8
},
&quot;9&quot;: {
&quot;choice_id&quot;: 9
},
&quot;10&quot;: {
&quot;id&quot;: 7,
&quot;vote_id&quot;: 13,
&quot;value&quot;: &quot;maybe&quot;,
&quot;choice_id&quot;: 10,
&quot;text&quot;: &quot;Les mystérieuses cités d&#x27;or&quot;
},
&quot;11&quot;: {
&quot;choice_id&quot;: 11
},
&quot;12&quot;: {
&quot;id&quot;: 7,
&quot;vote_id&quot;: 14,
&quot;value&quot;: &quot;maybe&quot;,
&quot;choice_id&quot;: 12,
&quot;text&quot;: &quot;Foot 2 rue&quot;
},
&quot;13&quot;: {
&quot;choice_id&quot;: 13
},
&quot;14&quot;: {
&quot;choice_id&quot;: 14
}
}
},
{
&quot;id&quot;: 8,
&quot;pseudo&quot;: &quot;Wulfila&quot;,
&quot;creation_date&quot;: {
&quot;date&quot;: &quot;2020-01-30 12:25:13.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;votes&quot;: {
&quot;8&quot;: {
&quot;choice_id&quot;: 8
},
&quot;9&quot;: {
&quot;choice_id&quot;: 9
},
&quot;10&quot;: {
&quot;choice_id&quot;: 10
},
&quot;11&quot;: {
&quot;id&quot;: 8,
&quot;vote_id&quot;: 15,
&quot;value&quot;: &quot;maybe&quot;,
&quot;choice_id&quot;: 11,
&quot;text&quot;: &quot;Les mondes engloutis&quot;
},
&quot;12&quot;: {
&quot;choice_id&quot;: 12
},
&quot;13&quot;: {
&quot;id&quot;: 8,
&quot;vote_id&quot;: 16,
&quot;value&quot;: &quot;yes&quot;,
&quot;choice_id&quot;: 13,
&quot;text&quot;: &quot;Le chat, la vache, et l&#x27;océan&quot;
},
&quot;14&quot;: {
&quot;choice_id&quot;: 14
}
}
},
{
&quot;id&quot;: 9,
&quot;pseudo&quot;: &quot;Billie Jean&quot;,
&quot;creation_date&quot;: {
&quot;date&quot;: &quot;2020-01-30 12:25:13.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;votes&quot;: {
&quot;8&quot;: {
&quot;choice_id&quot;: 8
},
&quot;9&quot;: {
&quot;id&quot;: 9,
&quot;vote_id&quot;: 17,
&quot;value&quot;: &quot;yes&quot;,
&quot;choice_id&quot;: 9,
&quot;text&quot;: &quot;Boumbo petite automobile&quot;
},
&quot;10&quot;: {
&quot;choice_id&quot;: 10
},
&quot;11&quot;: {
&quot;id&quot;: 9,
&quot;vote_id&quot;: 18,
&quot;value&quot;: &quot;yes&quot;,
&quot;choice_id&quot;: 11,
&quot;text&quot;: &quot;Les mondes engloutis&quot;
},
&quot;12&quot;: {
&quot;choice_id&quot;: 12
},
&quot;13&quot;: {
&quot;choice_id&quot;: 13
},
&quot;14&quot;: {
&quot;choice_id&quot;: 14
}
}
}
],
&quot;choices_count&quot;: {
&quot;counts&quot;: {
&quot;10&quot;: {
&quot;choice_id&quot;: 10,
&quot;choice_text&quot;: &quot;Les mystérieuses cités d&#x27;or&quot;,
&quot;id&quot;: 4,
&quot;score&quot;: 2.5,
&quot;yes&quot;: {
&quot;count&quot;: 2,
&quot;people&quot;: [
&quot;voting_people_TEST&quot;,
&quot;voting_people_TEST&quot;
]
},
&quot;maybe&quot;: {
&quot;count&quot;: 1,
&quot;people&quot;: [
&quot;Nikolas Edison&quot;
]
},
&quot;no&quot;: {
&quot;count&quot;: 1,
&quot;people&quot;: [
&quot;voting_people_TEST&quot;
]
}
},
&quot;9&quot;: {
&quot;choice_id&quot;: 9,
&quot;choice_text&quot;: &quot;Boumbo petite automobile&quot;,
&quot;id&quot;: 5,
&quot;score&quot;: 2.5,
&quot;yes&quot;: {
&quot;count&quot;: 2,
&quot;people&quot;: [
&quot;voting_people_TEST&quot;,
&quot;Billie Jean&quot;
]
},
&quot;maybe&quot;: {
&quot;count&quot;: 1,
&quot;people&quot;: [
&quot;voting_people_TEST&quot;
]
},
&quot;no&quot;: {
&quot;count&quot;: 0,
&quot;people&quot;: []
}
},
&quot;12&quot;: {
&quot;choice_id&quot;: 12,
&quot;choice_text&quot;: &quot;Foot 2 rue&quot;,
&quot;id&quot;: 14,
&quot;score&quot;: 0.5,
&quot;yes&quot;: {
&quot;count&quot;: 0,
&quot;people&quot;: []
},
&quot;maybe&quot;: {
&quot;count&quot;: 1,
&quot;people&quot;: [
&quot;Nikolas Edison&quot;
]
},
&quot;no&quot;: {
&quot;count&quot;: 0,
&quot;people&quot;: []
}
},
&quot;11&quot;: {
&quot;choice_id&quot;: 11,
&quot;choice_text&quot;: &quot;Les mondes engloutis&quot;,
&quot;id&quot;: 15,
&quot;score&quot;: 1.5,
&quot;yes&quot;: {
&quot;count&quot;: 1,
&quot;people&quot;: [
&quot;Billie Jean&quot;
]
},
&quot;maybe&quot;: {
&quot;count&quot;: 1,
&quot;people&quot;: [
&quot;Wulfila&quot;
]
},
&quot;no&quot;: {
&quot;count&quot;: 0,
&quot;people&quot;: []
}
},
&quot;13&quot;: {
&quot;choice_id&quot;: 13,
&quot;choice_text&quot;: &quot;Le chat, la vache, et l&#x27;océan&quot;,
&quot;id&quot;: 16,
&quot;score&quot;: 1,
&quot;yes&quot;: {
&quot;count&quot;: 1,
&quot;people&quot;: [
&quot;Wulfila&quot;
]
},
&quot;maybe&quot;: {
&quot;count&quot;: 0,
&quot;people&quot;: []
},
&quot;no&quot;: {
&quot;count&quot;: 0,
&quot;people&quot;: []
}
}
},
&quot;maxScore&quot;: 2.5
},
&quot;choices&quot;: [
{
&quot;id&quot;: 8,
&quot;date&quot;: {
&quot;date&quot;: &quot;2020-01-30 12:25:13.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;text&quot;: &quot;Vic le viking&quot;,
&quot;url&quot;: null
},
{
&quot;id&quot;: 9,
&quot;date&quot;: {
&quot;date&quot;: &quot;2020-01-30 12:25:13.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;text&quot;: &quot;Boumbo petite automobile&quot;,
&quot;url&quot;: null
},
{
&quot;id&quot;: 10,
&quot;date&quot;: {
&quot;date&quot;: &quot;2020-01-30 12:25:13.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;text&quot;: &quot;Les mystérieuses cités d&#x27;or&quot;,
&quot;url&quot;: null
},
{
&quot;id&quot;: 11,
&quot;date&quot;: {
&quot;date&quot;: &quot;2020-01-30 12:25:13.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;text&quot;: &quot;Les mondes engloutis&quot;,
&quot;url&quot;: null
},
{
&quot;id&quot;: 12,
&quot;date&quot;: {
&quot;date&quot;: &quot;2020-01-30 12:25:13.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;text&quot;: &quot;Foot 2 rue&quot;,
&quot;url&quot;: null
},
{
&quot;id&quot;: 13,
&quot;date&quot;: {
&quot;date&quot;: &quot;2020-01-30 12:25:13.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;text&quot;: &quot;Le chat, la vache, et l&#x27;océan&quot;,
&quot;url&quot;: null
},
{
&quot;id&quot;: 14,
&quot;date&quot;: {
&quot;date&quot;: &quot;2020-01-30 12:25:13.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;text&quot;: &quot;Digimon&quot;,
&quot;url&quot;: null
}
],
&quot;comments&quot;: [
{
&quot;id&quot;: 3,
&quot;text&quot;: &quot;allez boumbo!&quot;,
&quot;pseudo&quot;: &quot;tk_TEST_commentateur&quot;,
&quot;date&quot;: {
&quot;date&quot;: &quot;2020-01-30 12:25:13.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
}
},
{
&quot;id&quot;: 4,
&quot;text&quot;: &quot;je suis pour la team rocket de digimon&quot;,
&quot;pseudo&quot;: &quot;tk_TEST&quot;,
&quot;date&quot;: {
&quot;date&quot;: &quot;2020-01-30 12:25:13.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
}
}
],
&quot;comments_count&quot;: 2
}</code>
</td>
</tr>
</tbody>
</table>
</section>
<h3>src/app/config/mocks/mock-success-vote.ts</h3>
<section>
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="mockSuccessVote"></a>
<span class="name">
<b>
mockSuccessVote</b>
<a href="#mockSuccessVote"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank" >object</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>{
&quot;message&quot;: &quot;you created a vote stack from an existing owner : tktest@tktest.com&quot;,
&quot;poll&quot;: {
&quot;id&quot;: 4,
&quot;title&quot;: &quot;dessin animé préféré&quot;,
&quot;customUrl&quot;: null,
&quot;description&quot;: &quot;choisissez votre animé préféré&quot;,
&quot;creationDate&quot;: {
&quot;date&quot;: &quot;2020-02-04 12:35:37.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;expiracyDate&quot;: {
&quot;date&quot;: &quot;2020-02-04 12:35:37.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;owner&quot;: {
&quot;__initializer__&quot;: null,
&quot;__cloner__&quot;: null,
&quot;__isInitialized__&quot;: true,
&quot;pseudo&quot;: &quot;tk_TEST&quot;,
&quot;email&quot;: &quot;tktest@tktest.com&quot;
},
&quot;kind&quot;: &quot;text&quot;,
&quot;allowedAnswers&quot;: [
&quot;yes&quot;
],
&quot;modificationPolicy&quot;: &quot;everybody&quot;,
&quot;mailOnComment&quot;: null,
&quot;mailOnVote&quot;: null,
&quot;hideResults&quot;: null,
&quot;showResultEvenIfPasswords&quot;: null,
&quot;votes&quot;: {},
&quot;stacksOfVotes&quot;: {},
&quot;choices&quot;: {},
&quot;comments&quot;: {},
&quot;defaultExpiracyDaysFromNow&quot;: 60
},
&quot;vote_stack&quot;: {
&quot;id&quot;: 10,
&quot;modifier_token&quot;: &quot;V46C6b58c456B39kTI19KSfp1y8Zz7Wyg500xMdjNB823st221Gb509VX1AOsnhV93fhol1f8P30OblKFoI76u54T94rH92x5c95TdW1W2eH0hb55q8&quot;,
&quot;pseudo&quot;: &quot;tk_TEST&quot;,
&quot;creation_date&quot;: {
&quot;date&quot;: &quot;2020-02-04 12:36:07.530846&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;votes&quot;: {
&quot;8&quot;: {
&quot;id&quot;: 22,
&quot;value&quot;: &quot;yes&quot;,
&quot;choice_id&quot;: 8,
&quot;text&quot;: &quot;Vic le viking&quot;,
&quot;stack_id&quot;: 10
},
&quot;9&quot;: {
&quot;choice_id&quot;: 9
},
&quot;10&quot;: {
&quot;choice_id&quot;: 10
},
&quot;11&quot;: {
&quot;choice_id&quot;: 11
},
&quot;12&quot;: {
&quot;choice_id&quot;: 12
},
&quot;13&quot;: {
&quot;choice_id&quot;: 13
},
&quot;14&quot;: {
&quot;choice_id&quot;: 14
},
&quot;5&quot;: {
&quot;id&quot;: 19,
&quot;value&quot;: &quot;yes&quot;,
&quot;choice_id&quot;: 5,
&quot;text&quot;: &quot;2020-02-04 12:35:37&quot;,
&quot;stack_id&quot;: 10
},
&quot;6&quot;: {
&quot;id&quot;: 20,
&quot;value&quot;: &quot;yes&quot;,
&quot;choice_id&quot;: 6,
&quot;text&quot;: &quot;2020-02-04 12:35:37&quot;,
&quot;stack_id&quot;: 10
},
&quot;7&quot;: {
&quot;id&quot;: 21,
&quot;value&quot;: &quot;yes&quot;,
&quot;choice_id&quot;: 7,
&quot;text&quot;: &quot;2020-02-04 12:35:37&quot;,
&quot;stack_id&quot;: 10
}
}
},
&quot;stacks&quot;: [
{
&quot;id&quot;: 3,
&quot;modifier_token&quot;: &quot;5e39570956e5d&quot;,
&quot;pseudo&quot;: &quot;voting_people_TEST&quot;,
&quot;creation_date&quot;: {
&quot;date&quot;: &quot;2020-02-04 12:35:37.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;votes&quot;: {
&quot;8&quot;: {
&quot;choice_id&quot;: 8
},
&quot;9&quot;: {
&quot;id&quot;: 5,
&quot;value&quot;: &quot;maybe&quot;,
&quot;choice_id&quot;: 9,
&quot;text&quot;: &quot;Boumbo petite automobile&quot;,
&quot;stack_id&quot;: 3
},
&quot;10&quot;: {
&quot;id&quot;: 4,
&quot;value&quot;: &quot;yes&quot;,
&quot;choice_id&quot;: 10,
&quot;text&quot;: &quot;Les mystérieuses cités d&#x27;or&quot;,
&quot;stack_id&quot;: 3
},
&quot;11&quot;: {
&quot;choice_id&quot;: 11
},
&quot;12&quot;: {
&quot;choice_id&quot;: 12
},
&quot;13&quot;: {
&quot;choice_id&quot;: 13
},
&quot;14&quot;: {
&quot;choice_id&quot;: 14
}
}
},
{
&quot;id&quot;: 4,
&quot;modifier_token&quot;: &quot;5e39570956e5d&quot;,
&quot;pseudo&quot;: &quot;voting_people_TEST&quot;,
&quot;creation_date&quot;: {
&quot;date&quot;: &quot;2020-02-04 12:35:37.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;votes&quot;: {
&quot;8&quot;: {
&quot;choice_id&quot;: 8
},
&quot;9&quot;: {
&quot;id&quot;: 6,
&quot;value&quot;: &quot;yes&quot;,
&quot;choice_id&quot;: 9,
&quot;text&quot;: &quot;Boumbo petite automobile&quot;,
&quot;stack_id&quot;: 4
},
&quot;10&quot;: {
&quot;id&quot;: 8,
&quot;value&quot;: &quot;no&quot;,
&quot;choice_id&quot;: 10,
&quot;text&quot;: &quot;Les mystérieuses cités d&#x27;or&quot;,
&quot;stack_id&quot;: 4
},
&quot;11&quot;: {
&quot;choice_id&quot;: 11
},
&quot;12&quot;: {
&quot;choice_id&quot;: 12
},
&quot;13&quot;: {
&quot;choice_id&quot;: 13
},
&quot;14&quot;: {
&quot;choice_id&quot;: 14
}
}
},
{
&quot;id&quot;: 7,
&quot;modifier_token&quot;: &quot;5e3957095ca23&quot;,
&quot;pseudo&quot;: &quot;Nikolas Edison&quot;,
&quot;creation_date&quot;: {
&quot;date&quot;: &quot;2020-02-04 12:35:37.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;votes&quot;: {
&quot;8&quot;: {
&quot;choice_id&quot;: 8
},
&quot;9&quot;: {
&quot;choice_id&quot;: 9
},
&quot;10&quot;: {
&quot;id&quot;: 13,
&quot;value&quot;: &quot;maybe&quot;,
&quot;choice_id&quot;: 10,
&quot;text&quot;: &quot;Les mystérieuses cités d&#x27;or&quot;,
&quot;stack_id&quot;: 7
},
&quot;11&quot;: {
&quot;choice_id&quot;: 11
},
&quot;12&quot;: {
&quot;id&quot;: 14,
&quot;value&quot;: &quot;maybe&quot;,
&quot;choice_id&quot;: 12,
&quot;text&quot;: &quot;Foot 2 rue&quot;,
&quot;stack_id&quot;: 7
},
&quot;13&quot;: {
&quot;choice_id&quot;: 13
},
&quot;14&quot;: {
&quot;choice_id&quot;: 14
}
}
},
{
&quot;id&quot;: 8,
&quot;modifier_token&quot;: &quot;5e3957095ca2d&quot;,
&quot;pseudo&quot;: &quot;Wulfila&quot;,
&quot;creation_date&quot;: {
&quot;date&quot;: &quot;2020-02-04 12:35:37.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;votes&quot;: {
&quot;8&quot;: {
&quot;choice_id&quot;: 8
},
&quot;9&quot;: {
&quot;choice_id&quot;: 9
},
&quot;10&quot;: {
&quot;choice_id&quot;: 10
},
&quot;11&quot;: {
&quot;id&quot;: 15,
&quot;value&quot;: &quot;maybe&quot;,
&quot;choice_id&quot;: 11,
&quot;text&quot;: &quot;Les mondes engloutis&quot;,
&quot;stack_id&quot;: 8
},
&quot;12&quot;: {
&quot;choice_id&quot;: 12
},
&quot;13&quot;: {
&quot;id&quot;: 16,
&quot;value&quot;: &quot;yes&quot;,
&quot;choice_id&quot;: 13,
&quot;text&quot;: &quot;Le chat, la vache, et l&#x27;océan&quot;,
&quot;stack_id&quot;: 8
},
&quot;14&quot;: {
&quot;choice_id&quot;: 14
}
}
},
{
&quot;id&quot;: 9,
&quot;modifier_token&quot;: &quot;5e3957095ca34&quot;,
&quot;pseudo&quot;: &quot;Billie Jean&quot;,
&quot;creation_date&quot;: {
&quot;date&quot;: &quot;2020-02-04 12:35:37.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;votes&quot;: {
&quot;8&quot;: {
&quot;choice_id&quot;: 8
},
&quot;9&quot;: {
&quot;id&quot;: 17,
&quot;value&quot;: &quot;yes&quot;,
&quot;choice_id&quot;: 9,
&quot;text&quot;: &quot;Boumbo petite automobile&quot;,
&quot;stack_id&quot;: 9
},
&quot;10&quot;: {
&quot;choice_id&quot;: 10
},
&quot;11&quot;: {
&quot;id&quot;: 18,
&quot;value&quot;: &quot;yes&quot;,
&quot;choice_id&quot;: 11,
&quot;text&quot;: &quot;Les mondes engloutis&quot;,
&quot;stack_id&quot;: 9
},
&quot;12&quot;: {
&quot;choice_id&quot;: 12
},
&quot;13&quot;: {
&quot;choice_id&quot;: 13
},
&quot;14&quot;: {
&quot;choice_id&quot;: 14
}
}
},
{
&quot;id&quot;: 10,
&quot;modifier_token&quot;: &quot;V46C6b58c456B39kTI19KSfp1y8Zz7Wyg500xMdjNB823st221Gb509VX1AOsnhV93fhol1f8P30OblKFoI76u54T94rH92x5c95TdW1W2eH0hb55q8&quot;,
&quot;pseudo&quot;: &quot;tk_TEST&quot;,
&quot;creation_date&quot;: {
&quot;date&quot;: &quot;2020-02-04 12:36:07.530846&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;votes&quot;: {
&quot;8&quot;: {
&quot;id&quot;: 22,
&quot;value&quot;: &quot;yes&quot;,
&quot;choice_id&quot;: 8,
&quot;text&quot;: &quot;Vic le viking&quot;,
&quot;stack_id&quot;: 10
},
&quot;9&quot;: {
&quot;choice_id&quot;: 9
},
&quot;10&quot;: {
&quot;choice_id&quot;: 10
},
&quot;11&quot;: {
&quot;choice_id&quot;: 11
},
&quot;12&quot;: {
&quot;choice_id&quot;: 12
},
&quot;13&quot;: {
&quot;choice_id&quot;: 13
},
&quot;14&quot;: {
&quot;choice_id&quot;: 14
},
&quot;5&quot;: {
&quot;id&quot;: 19,
&quot;value&quot;: &quot;yes&quot;,
&quot;choice_id&quot;: 5,
&quot;text&quot;: &quot;2020-02-04 12:35:37&quot;,
&quot;stack_id&quot;: 10
},
&quot;6&quot;: {
&quot;id&quot;: 20,
&quot;value&quot;: &quot;yes&quot;,
&quot;choice_id&quot;: 6,
&quot;text&quot;: &quot;2020-02-04 12:35:37&quot;,
&quot;stack_id&quot;: 10
},
&quot;7&quot;: {
&quot;id&quot;: 21,
&quot;value&quot;: &quot;yes&quot;,
&quot;choice_id&quot;: 7,
&quot;text&quot;: &quot;2020-02-04 12:35:37&quot;,
&quot;stack_id&quot;: 10
}
}
}
],
&quot;comments&quot;: [
{
&quot;id&quot;: 3,
&quot;text&quot;: &quot;allez boumbo!&quot;,
&quot;pseudo&quot;: &quot;tk_TEST_commentateur&quot;,
&quot;date&quot;: {
&quot;date&quot;: &quot;2020-02-04 12:35:37.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
}
},
{
&quot;id&quot;: 4,
&quot;text&quot;: &quot;je suis pour la team rocket de digimon&quot;,
&quot;pseudo&quot;: &quot;tk_TEST&quot;,
&quot;date&quot;: {
&quot;date&quot;: &quot;2020-02-04 12:35:37.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
}
}
],
&quot;choices&quot;: [
{
&quot;id&quot;: 8,
&quot;date&quot;: {
&quot;date&quot;: &quot;2020-02-04 12:35:37.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;text&quot;: &quot;Vic le viking&quot;,
&quot;url&quot;: null
},
{
&quot;id&quot;: 9,
&quot;date&quot;: {
&quot;date&quot;: &quot;2020-02-04 12:35:37.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;text&quot;: &quot;Boumbo petite automobile&quot;,
&quot;url&quot;: null
},
{
&quot;id&quot;: 10,
&quot;date&quot;: {
&quot;date&quot;: &quot;2020-02-04 12:35:37.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;text&quot;: &quot;Les mystérieuses cités d&#x27;or&quot;,
&quot;url&quot;: null
},
{
&quot;id&quot;: 11,
&quot;date&quot;: {
&quot;date&quot;: &quot;2020-02-04 12:35:37.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;text&quot;: &quot;Les mondes engloutis&quot;,
&quot;url&quot;: null
},
{
&quot;id&quot;: 12,
&quot;date&quot;: {
&quot;date&quot;: &quot;2020-02-04 12:35:37.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;text&quot;: &quot;Foot 2 rue&quot;,
&quot;url&quot;: null
},
{
&quot;id&quot;: 13,
&quot;date&quot;: {
&quot;date&quot;: &quot;2020-02-04 12:35:37.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;text&quot;: &quot;Le chat, la vache, et l&#x27;océan&quot;,
&quot;url&quot;: null
},
{
&quot;id&quot;: 14,
&quot;date&quot;: {
&quot;date&quot;: &quot;2020-02-04 12:35:37.000000&quot;,
&quot;timezone_type&quot;: 3,
&quot;timezone&quot;: &quot;Europe/Berlin&quot;
},
&quot;text&quot;: &quot;Digimon&quot;,
&quot;url&quot;: null
}
],
&quot;choices_count&quot;: {
&quot;counts&quot;: {
&quot;10&quot;: {
&quot;choice_id&quot;: 10,
&quot;choice_text&quot;: &quot;Les mystérieuses cités d&#x27;or&quot;,
&quot;id&quot;: 4,
&quot;score&quot;: 2.5,
&quot;yes&quot;: {
&quot;count&quot;: 2,
&quot;people&quot;: [
&quot;voting_people_TEST&quot;,
&quot;voting_people_TEST&quot;
]
},
&quot;maybe&quot;: {
&quot;count&quot;: 1,
&quot;people&quot;: [
&quot;Nikolas Edison&quot;
]
},
&quot;no&quot;: {
&quot;count&quot;: 1,
&quot;people&quot;: [
&quot;voting_people_TEST&quot;
]
}
},
&quot;9&quot;: {
&quot;choice_id&quot;: 9,
&quot;choice_text&quot;: &quot;Boumbo petite automobile&quot;,
&quot;id&quot;: 5,
&quot;score&quot;: 2.5,
&quot;yes&quot;: {
&quot;count&quot;: 2,
&quot;people&quot;: [
&quot;voting_people_TEST&quot;,
&quot;Billie Jean&quot;
]
},
&quot;maybe&quot;: {
&quot;count&quot;: 1,
&quot;people&quot;: [
&quot;voting_people_TEST&quot;
]
},
&quot;no&quot;: {
&quot;count&quot;: 0,
&quot;people&quot;: []
}
},
&quot;12&quot;: {
&quot;choice_id&quot;: 12,
&quot;choice_text&quot;: &quot;Foot 2 rue&quot;,
&quot;id&quot;: 14,
&quot;score&quot;: 0.5,
&quot;yes&quot;: {
&quot;count&quot;: 0,
&quot;people&quot;: []
},
&quot;maybe&quot;: {
&quot;count&quot;: 1,
&quot;people&quot;: [
&quot;Nikolas Edison&quot;
]
},
&quot;no&quot;: {
&quot;count&quot;: 0,
&quot;people&quot;: []
}
},
&quot;11&quot;: {
&quot;choice_id&quot;: 11,
&quot;choice_text&quot;: &quot;Les mondes engloutis&quot;,
&quot;id&quot;: 15,
&quot;score&quot;: 1.5,
&quot;yes&quot;: {
&quot;count&quot;: 1,
&quot;people&quot;: [
&quot;Billie Jean&quot;
]
},
&quot;maybe&quot;: {
&quot;count&quot;: 1,
&quot;people&quot;: [
&quot;Wulfila&quot;
]
},
&quot;no&quot;: {
&quot;count&quot;: 0,
&quot;people&quot;: []
}
},
&quot;13&quot;: {
&quot;choice_id&quot;: 13,
&quot;choice_text&quot;: &quot;Le chat, la vache, et l&#x27;océan&quot;,
&quot;id&quot;: 16,
&quot;score&quot;: 1,
&quot;yes&quot;: {
&quot;count&quot;: 1,
&quot;people&quot;: [
&quot;Wulfila&quot;
]
},
&quot;maybe&quot;: {
&quot;count&quot;: 0,
&quot;people&quot;: []
},
&quot;no&quot;: {
&quot;count&quot;: 0,
&quot;people&quot;: []
}
},
&quot;5&quot;: {
&quot;choice_id&quot;: 5,
&quot;choice_text&quot;: &quot;2020-02-04 12:35:37&quot;,
&quot;id&quot;: 19,
&quot;score&quot;: 1,
&quot;yes&quot;: {
&quot;count&quot;: 1,
&quot;people&quot;: [
&quot;tk_TEST&quot;
]
},
&quot;maybe&quot;: {
&quot;count&quot;: 0,
&quot;people&quot;: []
},
&quot;no&quot;: {
&quot;count&quot;: 0,
&quot;people&quot;: []
}
},
&quot;6&quot;: {
&quot;choice_id&quot;: 6,
&quot;choice_text&quot;: &quot;2020-02-04 12:35:37&quot;,
&quot;id&quot;: 20,
&quot;score&quot;: 1,
&quot;yes&quot;: {
&quot;count&quot;: 1,
&quot;people&quot;: [
&quot;tk_TEST&quot;
]
},
&quot;maybe&quot;: {
&quot;count&quot;: 0,
&quot;people&quot;: []
},
&quot;no&quot;: {
&quot;count&quot;: 0,
&quot;people&quot;: []
}
},
&quot;7&quot;: {
&quot;choice_id&quot;: 7,
&quot;choice_text&quot;: &quot;2020-02-04 12:35:37&quot;,
&quot;id&quot;: 21,
&quot;score&quot;: 1,
&quot;yes&quot;: {
&quot;count&quot;: 1,
&quot;people&quot;: [
&quot;tk_TEST&quot;
]
},
&quot;maybe&quot;: {
&quot;count&quot;: 0,
&quot;people&quot;: []
},
&quot;no&quot;: {
&quot;count&quot;: 0,
&quot;people&quot;: []
}
},
&quot;8&quot;: {
&quot;choice_id&quot;: 8,
&quot;choice_text&quot;: &quot;Vic le viking&quot;,
&quot;id&quot;: 22,
&quot;score&quot;: 1,
&quot;yes&quot;: {
&quot;count&quot;: 1,
&quot;people&quot;: [
&quot;tk_TEST&quot;
]
},
&quot;maybe&quot;: {
&quot;count&quot;: 0,
&quot;people&quot;: []
},
&quot;no&quot;: {
&quot;count&quot;: 0,
&quot;people&quot;: []
}
}
},
&quot;maxScore&quot;: 2.5
},
&quot;vote_count&quot;: 6,
&quot;owner&quot;: {
&quot;__initializer__&quot;: null,
&quot;__cloner__&quot;: null,
&quot;__isInitialized__&quot;: true,
&quot;pseudo&quot;: &quot;tk_TEST&quot;,
&quot;email&quot;: &quot;tktest@tktest.com&quot;
},
&quot;owner_modifier_token&quot;: &quot;V46C6b58c456B39kTI19KSfp1y8Zz7Wyg500xMdjNB823st221Gb509VX1AOsnhV93fhol1f8P30OblKFoI76u54T94rH92x5c95TdW1W2eH0hb55q8&quot;,
&quot;admin_key&quot;: &quot;9uE27daM8dG1P9z74B89z299W0JF0ne15eER37g2v3d86mk123318v516UUbey4z3C87Wbo65V3c7cHsBTELvhl8b82d61WBMR2U66USNc7idS8810f&quot;,
&quot;json_you_sent&quot;: {
&quot;pseudo&quot;: &quot;mon pseudo&quot;,
&quot;email&quot;: &quot;tktest@tktest.com&quot;,
&quot;votes&quot;: [
{
&quot;choice_id&quot;: 5,
&quot;value&quot;: &quot;yes&quot;
},
{
&quot;choice_id&quot;: 6,
&quot;value&quot;: &quot;yes&quot;
},
{
&quot;choice_id&quot;: 7,
&quot;value&quot;: &quot;yes&quot;
},
{
&quot;choice_id&quot;: 8,
&quot;value&quot;: &quot;yes&quot;
}
]
}
}</code>
</td>
</tr>
</tbody>
</table>
</section>
<h3>src/app/config/Routes.ts</h3>
<section>
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="Routes"></a>
<span class="name">
<b>
Routes</b>
<a href="#Routes"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code>[]</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>[
{path: &#x27;&#x27;, redirectTo: &#x27;step/creation&#x27;, pathMatch: &#x27;full&#x27;},
{path: &#x27;home&#x27;, component: HomeComponent},
{path: &#x27;base&#x27;, component: BaseComponent},
{path: &#x27;step/base&#x27;, component: BaseComponent},
{path: &#x27;step/creation&#x27;, component: CreateOrRetrieveComponent},
{path: &#x27;step/date&#x27;, component: DatesComponent},
{path: &#x27;step/kind&#x27;, component: KindComponent},
{path: &#x27;step/answers&#x27;, component: AnswersComponent},
{path: &#x27;step/admin&#x27;, component: AdminComponent},
{path: &#x27;step/pictures&#x27;, component: PicturesComponent},
{path: &#x27;step/visibility&#x27;, component: VisibilityComponent},
{path: &#x27;step/resume&#x27;, component: ResumeComponent},
{path: &#x27;step/end&#x27;, component: EndConfirmationComponent},
{path: &#x27;graphic/:poll&#x27;, component: PollGraphicComponent},
{path: &#x27;vote/poll/id/:poll&#x27;, component: PollDisplayComponent},
{path: &#x27;vote/poll/slug/:pollSlug&#x27;, component: PollDisplayComponent},
{path: &#x27;votingchoice&#x27;, component: VotingChoiceComponent},
{path: &#x27;voting&#x27;, component: VotingComponent},
{path: &#x27;step/password&#x27;, component: PasswordComponent},
{path: &#x27;**&#x27;, redirectTo: &#x27;/home&#x27;, pathMatch: &#x27;full&#x27;},
]</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description"><p>each step in the form is a component</p>
</div>
</td>
</tr>
</tbody>
</table>
</section>
<h3>src/stories/0-Welcome.stories.ts</h3>
<section>
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="ToStorybook"></a>
<span class="name">
<b>
ToStorybook</b>
<a href="#ToStorybook"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>() &#x3D;&gt; ({
component: Welcome,
props: {},
})</code>
</td>
</tr>
</tbody>
</table>
</section>
</div><div class="search-results">
<div class="has-results">
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1>
<ul class="search-results-list"></ul>
</div>
<div class="no-results">
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
</div>
</div>
</div>
<!-- END CONTENT -->
</div>
</div>
<script>
var COMPODOC_CURRENT_PAGE_DEPTH = 1;
var COMPODOC_CURRENT_PAGE_CONTEXT = 'miscellaneous-variables';
var COMPODOC_CURRENT_PAGE_URL = 'variables.html';
</script>
<script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script>
<script src="../js/menu-wc.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script>
<script src="../js/libs/es6-shim.min.js"></script>
<script src="../js/libs/EventDispatcher.js"></script>
<script src="../js/libs/promise.min.js"></script>
<script src="../js/libs/zepto.min.js"></script>
<script src="../js/compodoc.js"></script>
<script src="../js/tabs.js"></script>
<script src="../js/menu.js"></script>
<script src="../js/libs/clipboard.min.js"></script>
<script src="../js/libs/prism.js"></script>
<script src="../js/sourceCode.js"></script>
<script src="../js/search/search.js"></script>
<script src="../js/search/lunr.min.js"></script>
<script src="../js/search/search-lunr.js"></script>
<script src="../js/search/search_index.js"></script>
<script src="../js/lazy-load-graphs.js"></script>
</body>
</html>