Skip to content
Merged

Dev #405

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Samples-Typescript/Parameters/parameters.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import {
DataType,
Parameter,
ParameterChangedEvent,
ParameterDomainRestriction
} from '@tableau/extensions-api-types';

import { DataType } from '@tableau/extensions-api-types/ExternalContract/Namespaces/Tableau';

// Wrap everything in an anonymous function to avoid polluting the global namespace
(async () => {

Expand Down
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ github: [metadata]
kramdown:
toc_levels: 1..3

gems: [jekyll-mermaid]
plugins: [jekyll-mermaid]
mermaid: https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js

# Exclude
Expand Down
6 changes: 6 additions & 0 deletions _includes/docs_menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
<li>
<a href="{{ site.baseurl }}/docs/trex_configure.html">Add a Configuration Popup Dialog</a>
</li>
<li>
<a href="{{ site.baseurl }}/docs/trex_tableau_viz.html">Add a Tableau Viz to an Extension</a>
</li>
<li>
<a href="{{ site.baseurl }}/docs/trex_show_hide.html">Show and Hide Objects in the Dashboard</a>
</li>
Expand Down Expand Up @@ -86,6 +89,9 @@
<li class="nav-header">Reference</li>
<li>
<a href="{{ site.baseurl }}/docs/index.html" target="_blank">API Reference</a>
</li>
<li>
<a href="{{ site.baseurl }}/docs/trex_tableau_viz_ref.html" target="_blank">Tableau Viz Reference</a>
</li>
<li>
<a href="{{ site.baseurl }}/docs/trex_release-notes.html">Release Notes</a>
Expand Down
Binary file added assets/continuous_palette.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/discrete_palette.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2,783 changes: 2,783 additions & 0 deletions assets/vizapi_demo3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/assets/js/search.js

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions docs/enums/tableau.analyticsobjecttype.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ <h3>Cluster</h3>
<div class="tsd-signature tsd-kind-icon">Cluster<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;cluster&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:26</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:7</li>
</ul>
</aside>
</section>
Expand All @@ -100,7 +100,7 @@ <h3>Forecast</h3>
<div class="tsd-signature tsd-kind-icon">Forecast<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;forecast&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:27</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:8</li>
</ul>
</aside>
</section>
Expand All @@ -110,7 +110,7 @@ <h3>Trend<wbr>Line</h3>
<div class="tsd-signature tsd-kind-icon">Trend<wbr>Line<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;trend-line&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:28</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:9</li>
</ul>
</aside>
</section>
Expand Down Expand Up @@ -219,6 +219,9 @@ <h3>Trend<wbr>Line</h3>
<li class=" tsd-kind-enum tsd-parent-kind-module">
<a href="tableau.trendlinemodeltype.html" class="tsd-kind-icon">Trend<wbr>Line<wbr>Model<wbr>Type</a>
</li>
<li class=" tsd-kind-enum tsd-parent-kind-module">
<a href="tableau.vizimageencodingtype.html" class="tsd-kind-icon">Viz<wbr>Image<wbr>Encoding<wbr>Type</a>
</li>
<li class=" tsd-kind-enum tsd-parent-kind-module">
<a href="tableau.zonevisibilitytype.html" class="tsd-kind-icon">Zone<wbr>Visibility<wbr>Type</a>
</li>
Expand Down
7 changes: 5 additions & 2 deletions docs/enums/tableau.columntype.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ <h3>Continuous</h3>
<div class="tsd-signature tsd-kind-icon">Continuous<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;continuous&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:33</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:14</li>
</ul>
</aside>
</section>
Expand All @@ -99,7 +99,7 @@ <h3>Discrete</h3>
<div class="tsd-signature tsd-kind-icon">Discrete<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;discrete&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:32</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:13</li>
</ul>
</aside>
</section>
Expand Down Expand Up @@ -205,6 +205,9 @@ <h3>Discrete</h3>
<li class=" tsd-kind-enum tsd-parent-kind-module">
<a href="tableau.trendlinemodeltype.html" class="tsd-kind-icon">Trend<wbr>Line<wbr>Model<wbr>Type</a>
</li>
<li class=" tsd-kind-enum tsd-parent-kind-module">
<a href="tableau.vizimageencodingtype.html" class="tsd-kind-icon">Viz<wbr>Image<wbr>Encoding<wbr>Type</a>
</li>
<li class=" tsd-kind-enum tsd-parent-kind-module">
<a href="tableau.zonevisibilitytype.html" class="tsd-kind-icon">Zone<wbr>Visibility<wbr>Type</a>
</li>
Expand Down
25 changes: 14 additions & 11 deletions docs/enums/tableau.dashboardobjecttype.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ <h3>Blank</h3>
<div class="tsd-signature tsd-kind-icon">Blank<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;blank&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:40</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:21</li>
</ul>
</aside>
</section>
Expand All @@ -115,7 +115,7 @@ <h3>Extension</h3>
<div class="tsd-signature tsd-kind-icon">Extension<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;extension&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:50</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:31</li>
</ul>
</aside>
</section>
Expand All @@ -125,7 +125,7 @@ <h3>Image</h3>
<div class="tsd-signature tsd-kind-icon">Image<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;image&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:48</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:29</li>
</ul>
</aside>
</section>
Expand All @@ -135,7 +135,7 @@ <h3>Legend</h3>
<div class="tsd-signature tsd-kind-icon">Legend<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;legend&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:45</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:26</li>
</ul>
</aside>
</section>
Expand All @@ -145,7 +145,7 @@ <h3>Page<wbr>Filter</h3>
<div class="tsd-signature tsd-kind-icon">Page<wbr>Filter<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;page-filter&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:44</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:25</li>
</ul>
</aside>
</section>
Expand All @@ -155,7 +155,7 @@ <h3>Parameter<wbr>Control</h3>
<div class="tsd-signature tsd-kind-icon">Parameter<wbr>Control<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;parameter-control&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:43</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:24</li>
</ul>
</aside>
</section>
Expand All @@ -165,7 +165,7 @@ <h3>Quick<wbr>Filter</h3>
<div class="tsd-signature tsd-kind-icon">Quick<wbr>Filter<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;quick-filter&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:42</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:23</li>
</ul>
</aside>
</section>
Expand All @@ -175,7 +175,7 @@ <h3>Text</h3>
<div class="tsd-signature tsd-kind-icon">Text<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;text&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:47</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:28</li>
</ul>
</aside>
</section>
Expand All @@ -185,7 +185,7 @@ <h3>Title</h3>
<div class="tsd-signature tsd-kind-icon">Title<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;title&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:46</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:27</li>
</ul>
</aside>
</section>
Expand All @@ -195,7 +195,7 @@ <h3>Web<wbr>Page</h3>
<div class="tsd-signature tsd-kind-icon">Web<wbr>Page<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;web-page&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:49</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:30</li>
</ul>
</aside>
</section>
Expand All @@ -205,7 +205,7 @@ <h3>Worksheet</h3>
<div class="tsd-signature tsd-kind-icon">Worksheet<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;worksheet&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:41</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:22</li>
</ul>
</aside>
</section>
Expand Down Expand Up @@ -338,6 +338,9 @@ <h3>Worksheet</h3>
<li class=" tsd-kind-enum tsd-parent-kind-module">
<a href="tableau.trendlinemodeltype.html" class="tsd-kind-icon">Trend<wbr>Line<wbr>Model<wbr>Type</a>
</li>
<li class=" tsd-kind-enum tsd-parent-kind-module">
<a href="tableau.vizimageencodingtype.html" class="tsd-kind-icon">Viz<wbr>Image<wbr>Encoding<wbr>Type</a>
</li>
<li class=" tsd-kind-enum tsd-parent-kind-module">
<a href="tableau.zonevisibilitytype.html" class="tsd-kind-icon">Zone<wbr>Visibility<wbr>Type</a>
</li>
Expand Down
17 changes: 10 additions & 7 deletions docs/enums/tableau.datatype.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h3>Bool</h3>
<div class="tsd-signature tsd-kind-icon">Bool<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;bool&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:60</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:41</li>
</ul>
</aside>
</section>
Expand All @@ -111,7 +111,7 @@ <h3>Date</h3>
<div class="tsd-signature tsd-kind-icon">Date<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;date&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:61</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:42</li>
</ul>
</aside>
</section>
Expand All @@ -121,7 +121,7 @@ <h3>Date<wbr>Time</h3>
<div class="tsd-signature tsd-kind-icon">Date<wbr>Time<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;date-time&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:62</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:43</li>
</ul>
</aside>
</section>
Expand All @@ -131,7 +131,7 @@ <h3>Float</h3>
<div class="tsd-signature tsd-kind-icon">Float<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;float&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:59</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:40</li>
</ul>
</aside>
</section>
Expand All @@ -141,7 +141,7 @@ <h3>Int</h3>
<div class="tsd-signature tsd-kind-icon">Int<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;int&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:58</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:39</li>
</ul>
</aside>
</section>
Expand All @@ -151,7 +151,7 @@ <h3>Spatial</h3>
<div class="tsd-signature tsd-kind-icon">Spatial<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;spatial&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:63</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:44</li>
</ul>
</aside>
</section>
Expand All @@ -161,7 +161,7 @@ <h3>String</h3>
<div class="tsd-signature tsd-kind-icon">String<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;string&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:57</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:38</li>
</ul>
</aside>
</section>
Expand Down Expand Up @@ -282,6 +282,9 @@ <h3>String</h3>
<li class=" tsd-kind-enum tsd-parent-kind-module">
<a href="tableau.trendlinemodeltype.html" class="tsd-kind-icon">Trend<wbr>Line<wbr>Model<wbr>Type</a>
</li>
<li class=" tsd-kind-enum tsd-parent-kind-module">
<a href="tableau.vizimageencodingtype.html" class="tsd-kind-icon">Viz<wbr>Image<wbr>Encoding<wbr>Type</a>
</li>
<li class=" tsd-kind-enum tsd-parent-kind-module">
<a href="tableau.zonevisibilitytype.html" class="tsd-kind-icon">Zone<wbr>Visibility<wbr>Type</a>
</li>
Expand Down
15 changes: 9 additions & 6 deletions docs/enums/tableau.daterangetype.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ <h3>Current</h3>
<div class="tsd-signature tsd-kind-icon">Current<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;current&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:74</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:55</li>
</ul>
</aside>
</section>
Expand All @@ -110,7 +110,7 @@ <h3>Last</h3>
<div class="tsd-signature tsd-kind-icon">Last<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;last&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:70</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:51</li>
</ul>
</aside>
</section>
Expand All @@ -120,7 +120,7 @@ <h3>LastN</h3>
<div class="tsd-signature tsd-kind-icon">LastN<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;last-n&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:71</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:52</li>
</ul>
</aside>
</section>
Expand All @@ -130,7 +130,7 @@ <h3>Next</h3>
<div class="tsd-signature tsd-kind-icon">Next<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;next&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:72</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:53</li>
</ul>
</aside>
</section>
Expand All @@ -140,7 +140,7 @@ <h3>NextN</h3>
<div class="tsd-signature tsd-kind-icon">NextN<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;next-n&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:73</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:54</li>
</ul>
</aside>
</section>
Expand All @@ -150,7 +150,7 @@ <h3>To<wbr>Date</h3>
<div class="tsd-signature tsd-kind-icon">To<wbr>Date<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;to-date&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Namespaces/Tableau.ts:75</li>
<li>Defined in packages/api-external-contract-js/src/ExternalContract/Shared/Namespaces/Tableau.ts:56</li>
</ul>
</aside>
</section>
Expand Down Expand Up @@ -268,6 +268,9 @@ <h3>To<wbr>Date</h3>
<li class=" tsd-kind-enum tsd-parent-kind-module">
<a href="tableau.trendlinemodeltype.html" class="tsd-kind-icon">Trend<wbr>Line<wbr>Model<wbr>Type</a>
</li>
<li class=" tsd-kind-enum tsd-parent-kind-module">
<a href="tableau.vizimageencodingtype.html" class="tsd-kind-icon">Viz<wbr>Image<wbr>Encoding<wbr>Type</a>
</li>
<li class=" tsd-kind-enum tsd-parent-kind-module">
<a href="tableau.zonevisibilitytype.html" class="tsd-kind-icon">Zone<wbr>Visibility<wbr>Type</a>
</li>
Expand Down
Loading