@suffolklitlab/alkiln 3.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/test_tests.yml +77 -0
- package/CHANGELOG.md +381 -0
- package/README.md +18 -0
- package/action.yml +158 -0
- package/lib/DOM.md.html +63 -0
- package/lib/github_integration/install-branch.js +84 -0
- package/lib/github_integration/puppeteer-utils.js +224 -0
- package/lib/github_integration/setup.js +4 -0
- package/lib/github_integration/takedown.js +4 -0
- package/lib/index.js +2 -0
- package/lib/scope.js +1632 -0
- package/lib/steps.js +878 -0
- package/lib/utils/env_vars.js +173 -0
- package/lib/utils/langs.js +51 -0
- package/lib/world.js +10 -0
- package/package.json +53 -0
- package/tests/features/assembly_line.feature +43 -0
- package/tests/features/establishing_steps.feature +22 -0
- package/tests/features/example_test.feature +11 -0
- package/tests/features/interactive_steps.feature +85 -0
- package/tests/features/observation_steps.feature +97 -0
- package/tests/features/reports.feature +482 -0
- package/tests/features/some_png_1.png +0 -0
- package/tests/features/some_png_2.png +0 -0
- package/tests/features/story_table_formats.feature +77 -0
- package/tests/features/story_tables.feature +88 -0
- package/tests/unit_tests/ensureSpecialRows.test.js +34 -0
- package/tests/unit_tests/env_vars.test.js +53 -0
- package/tests/unit_tests/fields.fixtures.js +904 -0
- package/tests/unit_tests/getAllFields.test.js +142 -0
- package/tests/unit_tests/getMatchingRows.test.js +261 -0
- package/tests/unit_tests/getSafeScenarioBaseFilename.fixtures.js +12 -0
- package/tests/unit_tests/getSafeScenarioBaseFilename.test.js +62 -0
- package/tests/unit_tests/getSafeScenarioFilename.test.js +83 -0
- package/tests/unit_tests/html.fixtures.js +861 -0
- package/tests/unit_tests/matches.fixtures.js +168 -0
- package/tests/unit_tests/names.fixtures.js +35 -0
- package/tests/unit_tests/normalizeTable.test.js +22 -0
- package/tests/unit_tests/special_rows.fixtures.js +101 -0
- package/tests/unit_tests/tables.fixtures.js +428 -0
|
@@ -0,0 +1,861 @@
|
|
|
1
|
+
/* HTML string of pages for testing. They are split into
|
|
2
|
+
* variables to make each field easier to read.
|
|
3
|
+
*
|
|
4
|
+
* #trigger element is added into #daquestion, though it's not at
|
|
5
|
+
* that location on the actual page. Otherwise, we'd have a lot more
|
|
6
|
+
* html in here. In scope.js, it's found just using its id selector.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
let html = {};
|
|
10
|
+
|
|
11
|
+
// ============================
|
|
12
|
+
// Standard fields - no proxies, no showifs.
|
|
13
|
+
// ============================
|
|
14
|
+
// TODO: Add more complex fields. E.g `object_checkboxes` and dropdown with `object`.
|
|
15
|
+
// TODO: Add tests for individual fields.
|
|
16
|
+
// NOTE: `.standard` also tests for old `#sought_variable` element
|
|
17
|
+
html.standard = `
|
|
18
|
+
<div id="daquestion" aria-labelledby="dapagetitle" role="main" class="tab-pane fade show active offset-xl-3 offset-lg-3 col-xl-6 col-lg-6 offset-md-2 col-md-8">
|
|
19
|
+
<div data-variable="ZGlyZWN0X3N0YW5kYXJkX2ZpZWxkcw" id="trigger" aria-hidden="true" style="display: none;"></div>
|
|
20
|
+
<form aria-labelledby="daMainQuestion" action="/interview?i=docassemble.playground12ALTestingTestsNewDOM%3Aall_tests.yml" id="daform" class="form-horizontal" method="POST" novalidate="novalidate">
|
|
21
|
+
<div class="da-page-header">
|
|
22
|
+
<h1 class="h3" id="daMainQuestion">Direct standard fields</h1>
|
|
23
|
+
<div class="daclear"></div>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="da-subquestion">
|
|
26
|
+
<p>Excludes proxy vars (x, i, j, etc.) or choices created with objects.</p>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="da-form-group row dayesnospacing da-field-container da-field-container-datatype-boolean da-field-container-inputtype-yesno da-field-container-emptylabel"><span class="visually-hidden">Check if applicable</span>
|
|
29
|
+
<div class="offset-md-4 col-md-8 dafieldpart">
|
|
30
|
+
<fieldset class="da-field-checkbox">
|
|
31
|
+
<legend class="visually-hidden">Choices:</legend>
|
|
32
|
+
<input aria-label="checkboxes (yesno)" alt="checkboxes (yesno)" class="da-to-labelauty checkbox-icon dauncheckable labelauty da-active-invisible dafullwidth" type="checkbox" value="True" name="Y2hlY2tib3hlc195ZXNubw"
|
|
33
|
+
id="Y2hlY2tib3hlc195ZXNubw" aria-hidden="true" style="display: none;">
|
|
34
|
+
<label class="form-label btn-light" for="Y2hlY2tib3hlc195ZXNubw" tabindex="0" role="checkbox" aria-checked="false" aria-label="checkboxes (yesno)"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-square fa-w-14 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="square" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"></path></svg><!-- <i class="far fa-square fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
35
|
+
<span
|
|
36
|
+
class="labelauty-unchecked">checkboxes (yesno)</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg><!-- <i class="fas fa-check fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
37
|
+
<span
|
|
38
|
+
class="labelauty-checked">checkboxes (yesno)</span>
|
|
39
|
+
</label>
|
|
40
|
+
</fieldset>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
<div class="da-form-group row darequired da-field-container da-field-container-datatype-checkboxes da-field-container-inputtype-checkboxes">
|
|
44
|
+
<label class="col-md-4 col-form-label da-form-label datext-right">checkboxes (other)</label>
|
|
45
|
+
<div class="col-md-8 dafieldpart">
|
|
46
|
+
<fieldset class="da-field-checkboxes" role="group">
|
|
47
|
+
<legend class="visually-hidden">Checkboxes:</legend>
|
|
48
|
+
<input aria-label="checkboxes opt 1" alt="checkboxes opt 1" class="dafield1 danon-nota-checkbox da-to-labelauty checkbox-icon labelauty da-active-invisible dafullwidth" id="Y2hlY2tib3hlc19vdGhlcg_0" name="Y2hlY2tib3hlc19vdGhlcltCJ1kyaGxZMnRpYjNoZmIzUm9aWEpmYjNCMFh6RSdd"
|
|
49
|
+
type="checkbox" value="True" aria-hidden="true" style="display: none;">
|
|
50
|
+
<label class="form-label btn-light" for="Y2hlY2tib3hlc19vdGhlcg_0" tabindex="0" role="checkbox" aria-checked="false" aria-label="checkboxes opt 1"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-square fa-w-14 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="square" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"></path></svg><!-- <i class="far fa-square fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
51
|
+
<span
|
|
52
|
+
class="labelauty-unchecked">checkboxes opt 1</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg><!-- <i class="fas fa-check fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
53
|
+
<span
|
|
54
|
+
class="labelauty-checked">checkboxes opt 1</span>
|
|
55
|
+
</label>
|
|
56
|
+
<input aria-label="checkboxes opt 2" alt="checkboxes opt 2" class="dafield1 danon-nota-checkbox da-to-labelauty checkbox-icon labelauty da-active-invisible dafullwidth" id="Y2hlY2tib3hlc19vdGhlcg_1" name="Y2hlY2tib3hlc19vdGhlcltCJ1kyaGxZMnRpYjNoZmIzUm9aWEpmYjNCMFh6SSdd"
|
|
57
|
+
type="checkbox" value="True" aria-hidden="true" style="display: none;">
|
|
58
|
+
<label class="form-label btn-light" for="Y2hlY2tib3hlc19vdGhlcg_1" tabindex="0" role="checkbox" aria-checked="false" aria-label="checkboxes opt 2"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-square fa-w-14 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="square" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"></path></svg><!-- <i class="far fa-square fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
59
|
+
<span
|
|
60
|
+
class="labelauty-unchecked">checkboxes opt 2</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg><!-- <i class="fas fa-check fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
61
|
+
<span
|
|
62
|
+
class="labelauty-checked">checkboxes opt 2</span>
|
|
63
|
+
</label>
|
|
64
|
+
<input aria-label="checkboxes opt 3" alt="checkboxes opt 3" class="dafield1 danon-nota-checkbox da-to-labelauty checkbox-icon labelauty da-active-invisible dafullwidth" id="Y2hlY2tib3hlc19vdGhlcg_2" name="Y2hlY2tib3hlc19vdGhlcltCJ1kyaGxZMnRpYjNoZmIzUm9aWEpmYjNCMFh6TSdd"
|
|
65
|
+
type="checkbox" value="True" aria-hidden="true" style="display: none;">
|
|
66
|
+
<label class="form-label btn-light" for="Y2hlY2tib3hlc19vdGhlcg_2" tabindex="0" role="checkbox" aria-checked="false" aria-label="checkboxes opt 3"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-square fa-w-14 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="square" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"></path></svg><!-- <i class="far fa-square fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
67
|
+
<span
|
|
68
|
+
class="labelauty-unchecked">checkboxes opt 3</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg><!-- <i class="fas fa-check fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
69
|
+
<span
|
|
70
|
+
class="labelauty-checked">checkboxes opt 3</span>
|
|
71
|
+
</label>
|
|
72
|
+
<input aria-label="None of the above" alt="None of the above" class="dafield1 danota-checkbox da-to-labelauty checkbox-icon labelauty da-active-invisible dafullwidth" type="checkbox" name="_ignore1" aria-hidden="true" id="labelauty-294201"
|
|
73
|
+
style="display: none;">
|
|
74
|
+
<label class="form-label btn-light" for="labelauty-294201" tabindex="0" role="checkbox" aria-checked="false" aria-label="None of the above"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-square fa-w-14 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="square" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"></path></svg><!-- <i class="far fa-square fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
75
|
+
<span
|
|
76
|
+
class="labelauty-unchecked">None of the above</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg><!-- <i class="fas fa-check fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
77
|
+
<span
|
|
78
|
+
class="labelauty-checked">None of the above</span>
|
|
79
|
+
</label>
|
|
80
|
+
</fieldset>
|
|
81
|
+
</div>
|
|
82
|
+
</div>
|
|
83
|
+
<div class="da-form-group row darequired da-field-container da-field-container-datatype-boolean da-field-container-inputtype-yesnoradio">
|
|
84
|
+
<label for="cmFkaW9feWVzbm8" class="col-md-4 col-form-label da-form-label datext-right">radio (yesno)</label>
|
|
85
|
+
<div class="col-md-8 dafieldpart">
|
|
86
|
+
<fieldset class="da-field-radio" role="radiogroup">
|
|
87
|
+
<legend class="visually-hidden">Choices:</legend>
|
|
88
|
+
<input aria-label="Yes" alt="Yes" class="da-to-labelauty labelauty da-active-invisible dafullwidth" id="cmFkaW9feWVzbm8_0" name="cmFkaW9feWVzbm8" type="radio" value="True" aria-hidden="true" style="display: none;">
|
|
89
|
+
<label class="form-label btn-light" for="cmFkaW9feWVzbm8_0" tabindex="0" role="radio" aria-checked="false" aria-label="Yes"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-circle fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"></path></svg><!-- <i class="far fa-circle fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
90
|
+
<span
|
|
91
|
+
class="labelauty-unchecked">Yes</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check-circle fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check-circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"></path></svg><!-- <i class="fas fa-check-circle fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
92
|
+
<span
|
|
93
|
+
class="labelauty-checked">Yes</span>
|
|
94
|
+
</label>
|
|
95
|
+
<input aria-label="No" alt="No" class="da-to-labelauty labelauty da-active-invisible dafullwidth" id="cmFkaW9feWVzbm8_1" name="cmFkaW9feWVzbm8" type="radio" value="False" aria-hidden="true" style="display: none;">
|
|
96
|
+
<label class="form-label btn-light" for="cmFkaW9feWVzbm8_1" tabindex="0" role="radio" aria-checked="false" aria-label="No"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-circle fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"></path></svg><!-- <i class="far fa-circle fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
97
|
+
<span
|
|
98
|
+
class="labelauty-unchecked">No</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check-circle fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check-circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"></path></svg><!-- <i class="fas fa-check-circle fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
99
|
+
<span
|
|
100
|
+
class="labelauty-checked">No</span>
|
|
101
|
+
</label>
|
|
102
|
+
</fieldset>
|
|
103
|
+
</div>
|
|
104
|
+
</div>
|
|
105
|
+
<div class="da-form-group row darequired da-field-container da-field-container-datatype-text da-field-container-inputtype-radio">
|
|
106
|
+
<label for="cmFkaW9fb3RoZXI" class="col-md-4 col-form-label da-form-label datext-right">radio (other)</label>
|
|
107
|
+
<div class="col-md-8 dafieldpart">
|
|
108
|
+
<fieldset class="da-field-radio" role="radiogroup">
|
|
109
|
+
<legend class="visually-hidden">Choices:</legend>
|
|
110
|
+
<input aria-label="radio opt 1" alt="radio opt 1" class="da-to-labelauty labelauty da-active-invisible dafullwidth" id="cmFkaW9fb3RoZXI_0" name="cmFkaW9fb3RoZXI" type="radio" value="radio_other_opt_1" aria-hidden="true"
|
|
111
|
+
style="display: none;">
|
|
112
|
+
<label class="form-label btn-light" for="cmFkaW9fb3RoZXI_0" tabindex="0" role="radio" aria-checked="false" aria-label="radio opt 1"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-circle fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"></path></svg><!-- <i class="far fa-circle fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
113
|
+
<span
|
|
114
|
+
class="labelauty-unchecked">radio opt 1</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check-circle fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check-circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"></path></svg><!-- <i class="fas fa-check-circle fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
115
|
+
<span
|
|
116
|
+
class="labelauty-checked">radio opt 1</span>
|
|
117
|
+
</label>
|
|
118
|
+
<input aria-label="radio opt 2" alt="radio opt 2" class="da-to-labelauty labelauty da-active-invisible dafullwidth" id="cmFkaW9fb3RoZXI_1" name="cmFkaW9fb3RoZXI" type="radio" value="radio_other_opt_2" aria-hidden="true" style="display: none;">
|
|
119
|
+
<label class="form-label btn-light" for="cmFkaW9fb3RoZXI_1" tabindex="0" role="radio" aria-checked="false" aria-label="radio opt 2"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-circle fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"></path></svg><!-- <i class="far fa-circle fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
120
|
+
<span
|
|
121
|
+
class="labelauty-unchecked">radio opt 2</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check-circle fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check-circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"></path></svg><!-- <i class="fas fa-check-circle fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
122
|
+
<span
|
|
123
|
+
class="labelauty-checked">radio opt 2</span>
|
|
124
|
+
</label>
|
|
125
|
+
<input aria-label="radio opt 3" alt="radio opt 3" class="da-to-labelauty labelauty da-active-invisible dafullwidth" id="cmFkaW9fb3RoZXI_2" name="cmFkaW9fb3RoZXI" type="radio" value="radio_other_opt_3" aria-hidden="true" style="display: none;">
|
|
126
|
+
<label class="form-label btn-light" for="cmFkaW9fb3RoZXI_2" tabindex="0" role="radio" aria-checked="false" aria-label="radio opt 3"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-circle fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"></path></svg><!-- <i class="far fa-circle fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
127
|
+
<span
|
|
128
|
+
class="labelauty-unchecked">radio opt 3</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check-circle fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check-circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"></path></svg><!-- <i class="fas fa-check-circle fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
129
|
+
<span
|
|
130
|
+
class="labelauty-checked">radio opt 3</span>
|
|
131
|
+
</label>
|
|
132
|
+
</fieldset>
|
|
133
|
+
</div>
|
|
134
|
+
</div>
|
|
135
|
+
<div class="da-form-group row darequired da-field-container da-field-container-datatype-text">
|
|
136
|
+
<label for="dGV4dF9pbnB1dA" class="col-md-4 col-form-label da-form-label datext-right">text input</label>
|
|
137
|
+
<div class="col-md-8 dafieldpart">
|
|
138
|
+
<input alt="Input box" class="form-control" type="text" name="dGV4dF9pbnB1dA" id="dGV4dF9pbnB1dA">
|
|
139
|
+
</div>
|
|
140
|
+
</div>
|
|
141
|
+
<div class="da-form-group row darequired da-field-container da-field-container-datatype-text da-field-container-inputtype-area">
|
|
142
|
+
<label for="dGV4dGFyZWE" class="col-md-4 col-form-label da-form-label datext-right">textarea</label>
|
|
143
|
+
<div class="col-md-8 dafieldpart">
|
|
144
|
+
<textarea alt="Input box" class="form-control" rows="4" name="dGV4dGFyZWE" id="dGV4dGFyZWE"></textarea>
|
|
145
|
+
</div>
|
|
146
|
+
</div>
|
|
147
|
+
<div class="da-form-group row da-field-container da-field-container-datatype-date">
|
|
148
|
+
<label for="ZGF0ZV9pbnB1dA" class="col-md-4 col-form-label da-form-label datext-right">date field</label>
|
|
149
|
+
<div class="col-md-8 dafieldpart">
|
|
150
|
+
<input alt="Input box" class="form-control" type="date" name="ZGF0ZV9pbnB1dA" id="ZGF0ZV9pbnB1dA">
|
|
151
|
+
</div>
|
|
152
|
+
</div>
|
|
153
|
+
<div class="da-form-group row darequired da-field-container da-field-container-datatype-dropdown da-field-container-inputtype-dropdown">
|
|
154
|
+
<label for="ZHJvcGRvd25fdGVzdA" class="col-md-4 col-form-label da-form-label datext-right">dropdown</label>
|
|
155
|
+
<div class="col-md-8 dafieldpart">
|
|
156
|
+
<p class="visually-hidden">Select box</p>
|
|
157
|
+
<select class="form-select dasingleselect" name="ZHJvcGRvd25fdGVzdA" id="ZHJvcGRvd25fdGVzdA">
|
|
158
|
+
<option value="">Select...</option>
|
|
159
|
+
<option value="dropdown_opt_1">dropdown opt 1</option>
|
|
160
|
+
<option value="dropdown_opt_2">dropdown opt 2</option>
|
|
161
|
+
<option value="dropdown_opt_3">dropdown opt 3</option>
|
|
162
|
+
</select>
|
|
163
|
+
</div>
|
|
164
|
+
</div>
|
|
165
|
+
<input type="hidden" name="_checkboxes" value="eyJZMmhsWTJ0aWIzaGxjMTk1WlhOdWJ3IjogIkZhbHNlIiwgIlkyaGxZMnRpYjNobGMxOXZkR2hsY2x0Q0oxa3lhR3haTW5ScFlqTm9abUl6VW05YVdFcG1Zak5DTUZoNlJTZGQiOiAiRmFsc2UiLCAiWTJobFkydGliM2hsYzE5dmRHaGxjbHRDSjFreWFHeFpNblJwWWpOb1ptSXpVbTlhV0VwbVlqTkNNRmg2U1NkZCI6ICJGYWxzZSIsICJZMmhsWTJ0aWIzaGxjMTl2ZEdobGNsdENKMWt5YUd4Wk1uUnBZak5vWm1JelVtOWFXRXBtWWpOQ01GaDZUU2RkIjogIkZhbHNlIiwgImNtRmthVzlmZVdWemJtOCI6ICJGYWxzZSIsICJaR0YwWlY5cGJuQjFkQSI6ICJOb25lIn0">
|
|
166
|
+
<fieldset class="da-button-set da-field-buttons">
|
|
167
|
+
<legend class="visually-hidden">Press one of the following buttons:</legend>
|
|
168
|
+
<button type="submit" class="btn btn-da btn-primary" name="ZGlyZWN0X3N0YW5kYXJkX2ZpZWxkcw" value="True">Continue</button>
|
|
169
|
+
</fieldset>
|
|
170
|
+
<input type="hidden" name="csrf_token" value="IjdmYTE5MzE3ZjY5OTE0Y2MzMGQwYzVkNjJmZDViZjcyMDM4MDZmMWIi.YZ42Pw.Mt_IdBcCQmIFPn3gi7ZeZLvLLC4">
|
|
171
|
+
<input type="hidden" name="_event" value="WyJkaXJlY3Rfc3RhbmRhcmRfZmllbGRzIl0">
|
|
172
|
+
<input type="hidden" name="_question_name" value="ID direct standard fields">
|
|
173
|
+
<input type="hidden" name="_tracker" value="5">
|
|
174
|
+
<input type="hidden" name="_datatypes" value="eyJaR2x5WldOMFgzTjBZVzVrWVhKa1gyWnBaV3hrY3ciOiAiYm9vbGVhbiIsICJZMmhsWTJ0aWIzaGxjMTk1WlhOdWJ3IjogImJvb2xlYW4iLCAiWTJobFkydGliM2hsYzE5dmRHaGxjZyI6ICJjaGVja2JveGVzIiwgImNtRmthVzlmZVdWemJtOCI6ICJib29sZWFuIiwgImNtRmthVzlmYjNSb1pYSSI6ICJ0ZXh0IiwgImRHVjRkRjlwYm5CMWRBIjogInRleHQiLCAiZEdWNGRHRnlaV0UiOiAidGV4dCIsICJaR0YwWlY5cGJuQjFkQSI6ICJkYXRlIiwgIlpISnZjR1J2ZDI1ZmRHVnpkQSI6ICJkcm9wZG93biJ9">
|
|
175
|
+
<input type="hidden" name="_visible" value="">
|
|
176
|
+
<input type="hidden" name="_varnames" value="eyJYMlpwWld4a1h6QSI6ICJZMmhsWTJ0aWIzaGxjMTk1WlhOdWJ3IiwgIlgyWnBaV3hrWHpFIjogIlkyaGxZMnRpYjNobGMxOXZkR2hsY2ciLCAiWDJacFpXeGtYekkiOiAiY21Ga2FXOWZlV1Z6Ym04IiwgIlgyWnBaV3hrWHpNIjogImNtRmthVzlmYjNSb1pYSSIsICJYMlpwWld4a1h6USI6ICJkR1Y0ZEY5cGJuQjFkQSIsICJYMlpwWld4a1h6VSI6ICJkR1Y0ZEdGeVpXRSIsICJYMlpwWld4a1h6WSI6ICJaR0YwWlY5cGJuQjFkQSIsICJYMlpwWld4a1h6YyI6ICJaSEp2Y0dSdmQyNWZkR1Z6ZEEifQ">
|
|
177
|
+
</form>
|
|
178
|
+
</div>`;
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
// ============================
|
|
182
|
+
// Simple show if fields - no proxies
|
|
183
|
+
// ============================
|
|
184
|
+
// Types of fields that use _field_n
|
|
185
|
+
// At least all simple showif fields
|
|
186
|
+
html.show_if = `
|
|
187
|
+
<div id="daquestion" aria-labelledby="dapagetitle" role="main" class="tab-pane fade show active offset-xl-3 offset-lg-3 col-xl-6 col-lg-6 offset-md-2 col-md-8">
|
|
188
|
+
<div data-variable="ZGlyZWN0X3Nob3dpZnM" id="trigger" aria-hidden="true" style="display: none;"></div>
|
|
189
|
+
<form aria-labelledby="daMainQuestion" action="/interview?i=docassemble.playground12ALTestingTestsNewDOM%3Aall_tests.yml" id="daform" class="form-horizontal" method="POST" novalidate="novalidate">
|
|
190
|
+
<div class="da-page-header">
|
|
191
|
+
<h1 class="h3" id="daMainQuestion">Reveal showifs</h1>
|
|
192
|
+
<div class="daclear"></div>
|
|
193
|
+
</div>
|
|
194
|
+
<div class="da-subquestion">
|
|
195
|
+
<p>We start only seeing layer 1, the first question. All other layers are hidden to test finding various hidden fields in the DOM.</p>
|
|
196
|
+
<p>TODO:</p>
|
|
197
|
+
<ul>
|
|
198
|
+
<li>object</li>
|
|
199
|
+
<li>object_checkbox</li>
|
|
200
|
+
</ul>
|
|
201
|
+
<p>No showifs: yesnomaybe: (buttons), buttons: (other), continue button field:</p>
|
|
202
|
+
</div>
|
|
203
|
+
<div class="da-form-group row dayesnospacing da-field-container da-field-container-datatype-boolean da-field-container-inputtype-yesno da-field-container-emptylabel"><span class="visually-hidden">Check if applicable</span>
|
|
204
|
+
<div class="offset-md-4 col-md-8 dafieldpart">
|
|
205
|
+
<fieldset class="da-field-checkbox">
|
|
206
|
+
<legend class="visually-hidden">Choices:</legend>
|
|
207
|
+
<input aria-label="Show layer 2" alt="Show layer 2" class="da-to-labelauty checkbox-icon dauncheckable labelauty da-active-invisible dafullwidth" type="checkbox" value="True" name="c2hvd18y" id="c2hvd18y" aria-hidden="true"
|
|
208
|
+
style="display: none;">
|
|
209
|
+
<label class="form-label btn-light" for="c2hvd18y" tabindex="0" role="checkbox" aria-checked="false" aria-label="Show layer 2"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-square fa-w-14 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="square" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"></path></svg><!-- <i class="far fa-square fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
210
|
+
<span
|
|
211
|
+
class="labelauty-unchecked">Show layer 2</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg><!-- <i class="fas fa-check fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
212
|
+
<span
|
|
213
|
+
class="labelauty-checked">Show layer 2</span>
|
|
214
|
+
</label>
|
|
215
|
+
</fieldset>
|
|
216
|
+
</div>
|
|
217
|
+
</div>
|
|
218
|
+
<div style="display: none;" class="dashowif" data-saveas="c2hvd18z" data-showif-sign="1" data-showif-mode="0" data-showif-var="c2hvd18y" data-showif-val="True">
|
|
219
|
+
<div class="da-form-group row dayesnospacing da-field-container da-field-container-datatype-boolean da-field-container-inputtype-yesno da-field-container-emptylabel"><span class="visually-hidden">Check if applicable</span>
|
|
220
|
+
<div class="offset-md-4 col-md-8 dafieldpart">
|
|
221
|
+
<fieldset class="da-field-checkbox">
|
|
222
|
+
<legend class="visually-hidden">Choices:</legend>
|
|
223
|
+
<input aria-label="Show layer 3" alt="Show layer 3" class="da-to-labelauty checkbox-icon dauncheckable labelauty da-active-invisible dafullwidth" type="checkbox" value="True" name="X2ZpZWxkXzE" id="X2ZpZWxkXzE"
|
|
224
|
+
aria-hidden="true" disabled="" style="display: none;">
|
|
225
|
+
<label class="form-label btn-light" for="X2ZpZWxkXzE" tabindex="0" role="checkbox" aria-checked="false" aria-label="Show layer 3"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-square fa-w-14 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="square" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"></path></svg><!-- <i class="far fa-square fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
226
|
+
<span
|
|
227
|
+
class="labelauty-unchecked">Show layer 3</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg><!-- <i class="fas fa-check fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
228
|
+
<span
|
|
229
|
+
class="labelauty-checked">Show layer 3</span>
|
|
230
|
+
</label>
|
|
231
|
+
</fieldset>
|
|
232
|
+
</div>
|
|
233
|
+
</div>
|
|
234
|
+
</div>
|
|
235
|
+
<div style="display: none;" class="dashowif" data-saveas="c2hvd2lmX2NoZWNrYm94X3llc25v" data-showif-sign="1" data-showif-mode="0" data-showif-var="c2hvd18z" data-showif-val="True">
|
|
236
|
+
<div class="da-form-group row dayesnospacing da-field-container da-field-container-datatype-boolean da-field-container-inputtype-yesno da-field-container-emptylabel"><span class="visually-hidden">Check if applicable</span>
|
|
237
|
+
<div class="offset-md-4 col-md-8 dafieldpart">
|
|
238
|
+
<fieldset class="da-field-checkbox">
|
|
239
|
+
<legend class="visually-hidden">Choices:</legend>
|
|
240
|
+
<input aria-label="showif checkbox yesno" alt="showif checkbox yesno" class="da-to-labelauty checkbox-icon dauncheckable labelauty da-active-invisible dafullwidth" type="checkbox" value="True" name="X2ZpZWxkXzI"
|
|
241
|
+
id="X2ZpZWxkXzI" aria-hidden="true" disabled="" style="display: none;">
|
|
242
|
+
<label class="form-label btn-light" for="X2ZpZWxkXzI" tabindex="0" role="checkbox" aria-checked="false" aria-label="showif checkbox yesno"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-square fa-w-14 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="square" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"></path></svg><!-- <i class="far fa-square fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
243
|
+
<span
|
|
244
|
+
class="labelauty-unchecked">showif checkbox yesno</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg><!-- <i class="fas fa-check fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
245
|
+
<span
|
|
246
|
+
class="labelauty-checked">showif checkbox yesno</span>
|
|
247
|
+
</label>
|
|
248
|
+
</fieldset>
|
|
249
|
+
</div>
|
|
250
|
+
</div>
|
|
251
|
+
</div>
|
|
252
|
+
<div style="display: none;" class="dashowif" data-saveas="c2hvd2lmX2NoZWNrYm94ZXNfb3RoZXI" data-showif-sign="1" data-showif-mode="0" data-showif-var="c2hvd18z" data-showif-val="True">
|
|
253
|
+
<div class="da-form-group row darequired da-field-container da-field-container-datatype-checkboxes da-field-container-inputtype-checkboxes">
|
|
254
|
+
<label class="col-md-4 col-form-label da-form-label datext-right">showif checkboxes (multiple)</label>
|
|
255
|
+
<div class="col-md-8 dafieldpart">
|
|
256
|
+
<fieldset class="da-field-checkboxes" role="group">
|
|
257
|
+
<legend class="visually-hidden">Checkboxes:</legend>
|
|
258
|
+
<input aria-label="showif checkbox nota 1" alt="showif checkbox nota 1" class="dafield3 danon-nota-checkbox da-to-labelauty checkbox-icon labelauty da-active-invisible dafullwidth" id="X2ZpZWxkXzM_0" name="X2ZpZWxkXzNbQidjMmh2ZDJsbVgyTm9aV05yWW05NFpYTmZibTkwWVY4eCdd"
|
|
259
|
+
type="checkbox" value="True" aria-hidden="true" style="display: none;" disabled="">
|
|
260
|
+
<label class="form-label btn-light" for="X2ZpZWxkXzM_0" tabindex="0" role="checkbox" aria-checked="false" aria-label="showif checkbox nota 1"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-square fa-w-14 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="square" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"></path></svg><!-- <i class="far fa-square fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
261
|
+
<span
|
|
262
|
+
class="labelauty-unchecked">showif checkbox nota 1</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg><!-- <i class="fas fa-check fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
263
|
+
<span
|
|
264
|
+
class="labelauty-checked">showif checkbox nota 1</span>
|
|
265
|
+
</label>
|
|
266
|
+
<input aria-label="showif checkbox nota 2" alt="showif checkbox nota 2" class="dafield3 danon-nota-checkbox da-to-labelauty checkbox-icon labelauty da-active-invisible dafullwidth" id="X2ZpZWxkXzM_1" name="X2ZpZWxkXzNbQidjMmh2ZDJsbVgyTm9aV05yWW05NFpYTmZibTkwWVY4eSdd"
|
|
267
|
+
type="checkbox" value="True" aria-hidden="true" style="display: none;" disabled="">
|
|
268
|
+
<label class="form-label btn-light" for="X2ZpZWxkXzM_1" tabindex="0" role="checkbox" aria-checked="false" aria-label="showif checkbox nota 2"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-square fa-w-14 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="square" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"></path></svg><!-- <i class="far fa-square fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
269
|
+
<span
|
|
270
|
+
class="labelauty-unchecked">showif checkbox nota 2</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg><!-- <i class="fas fa-check fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
271
|
+
<span
|
|
272
|
+
class="labelauty-checked">showif checkbox nota 2</span>
|
|
273
|
+
</label>
|
|
274
|
+
<input aria-label="showif checkbox nota 3" alt="showif checkbox nota 3" class="dafield3 danon-nota-checkbox da-to-labelauty checkbox-icon labelauty da-active-invisible dafullwidth" id="X2ZpZWxkXzM_2" name="X2ZpZWxkXzNbQidjMmh2ZDJsbVgyTm9aV05yWW05NFpYTmZibTkwWVY4eidd"
|
|
275
|
+
type="checkbox" value="True" aria-hidden="true" style="display: none;" disabled="">
|
|
276
|
+
<label class="form-label btn-light" for="X2ZpZWxkXzM_2" tabindex="0" role="checkbox" aria-checked="false" aria-label="showif checkbox nota 3"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-square fa-w-14 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="square" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"></path></svg><!-- <i class="far fa-square fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
277
|
+
<span
|
|
278
|
+
class="labelauty-unchecked">showif checkbox nota 3</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg><!-- <i class="fas fa-check fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
279
|
+
<span
|
|
280
|
+
class="labelauty-checked">showif checkbox nota 3</span>
|
|
281
|
+
</label>
|
|
282
|
+
<input aria-label="None of the above" alt="None of the above" class="dafield3 danota-checkbox da-to-labelauty checkbox-icon labelauty da-active-invisible dafullwidth" type="checkbox" name="_ignore3" aria-hidden="true" id="labelauty-67439"
|
|
283
|
+
disabled="" style="display: none;">
|
|
284
|
+
<label class="form-label btn-light" for="labelauty-67439" tabindex="0" role="checkbox" aria-checked="false" aria-label="None of the above"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-square fa-w-14 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="square" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"></path></svg><!-- <i class="far fa-square fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
285
|
+
<span
|
|
286
|
+
class="labelauty-unchecked">None of the above</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg><!-- <i class="fas fa-check fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
287
|
+
<span
|
|
288
|
+
class="labelauty-checked">None of the above</span>
|
|
289
|
+
</label>
|
|
290
|
+
</fieldset>
|
|
291
|
+
</div>
|
|
292
|
+
</div>
|
|
293
|
+
</div>
|
|
294
|
+
<div style="display: none;" class="dashowif" data-saveas="c2hvd2lmX3llc25vcmFkaW8" data-showif-sign="1" data-showif-mode="0" data-showif-var="c2hvd18z" data-showif-val="True">
|
|
295
|
+
<div class="da-form-group row darequired da-field-container da-field-container-datatype-boolean da-field-container-inputtype-yesnoradio">
|
|
296
|
+
<label for="X2ZpZWxkXzQ" class="col-md-4 col-form-label da-form-label datext-right">showif yesnoradio</label>
|
|
297
|
+
<div class="col-md-8 dafieldpart">
|
|
298
|
+
<fieldset class="da-field-radio" role="radiogroup">
|
|
299
|
+
<legend class="visually-hidden">Choices:</legend>
|
|
300
|
+
<input aria-label="Yes" alt="Yes" class="da-to-labelauty labelauty da-active-invisible dafullwidth" id="X2ZpZWxkXzQ_0" name="X2ZpZWxkXzQ" type="radio" value="True" aria-hidden="true" disabled="" style="display: none;">
|
|
301
|
+
<label class="form-label btn-light" for="X2ZpZWxkXzQ_0" tabindex="0" role="radio" aria-checked="false" aria-label="Yes"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-circle fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"></path></svg><!-- <i class="far fa-circle fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
302
|
+
<span
|
|
303
|
+
class="labelauty-unchecked">Yes</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check-circle fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check-circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"></path></svg><!-- <i class="fas fa-check-circle fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
304
|
+
<span
|
|
305
|
+
class="labelauty-checked">Yes</span>
|
|
306
|
+
</label>
|
|
307
|
+
<input aria-label="No" alt="No" class="da-to-labelauty labelauty da-active-invisible dafullwidth" id="X2ZpZWxkXzQ_1" name="X2ZpZWxkXzQ" type="radio" value="False" aria-hidden="true" disabled="" style="display: none;">
|
|
308
|
+
<label class="form-label btn-light" for="X2ZpZWxkXzQ_1" tabindex="0" role="radio" aria-checked="false" aria-label="No"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-circle fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"></path></svg><!-- <i class="far fa-circle fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
309
|
+
<span
|
|
310
|
+
class="labelauty-unchecked">No</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check-circle fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check-circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"></path></svg><!-- <i class="fas fa-check-circle fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
311
|
+
<span
|
|
312
|
+
class="labelauty-checked">No</span>
|
|
313
|
+
</label>
|
|
314
|
+
</fieldset>
|
|
315
|
+
</div>
|
|
316
|
+
</div>
|
|
317
|
+
</div>
|
|
318
|
+
<div style="display: none;" class="dashowif" data-saveas="c2hvd2lmX3JhZGlvX290aGVy" data-showif-sign="1" data-showif-mode="0" data-showif-var="c2hvd18z" data-showif-val="True">
|
|
319
|
+
<div class="da-form-group row darequired da-field-container da-field-container-datatype-text da-field-container-inputtype-radio">
|
|
320
|
+
<label for="X2ZpZWxkXzU" class="col-md-4 col-form-label da-form-label datext-right">showif radio (multiple)</label>
|
|
321
|
+
<div class="col-md-8 dafieldpart">
|
|
322
|
+
<fieldset class="da-field-radio" role="radiogroup">
|
|
323
|
+
<legend class="visually-hidden">Choices:</legend>
|
|
324
|
+
<input aria-label="showif radio multi 1" alt="showif radio multi 1" class="da-to-labelauty labelauty da-active-invisible dafullwidth" id="X2ZpZWxkXzU_0" name="X2ZpZWxkXzU" type="radio" value="showif_radio_multi_1"
|
|
325
|
+
aria-hidden="true" style="display: none;" disabled="">
|
|
326
|
+
<label class="form-label btn-light" for="X2ZpZWxkXzU_0" tabindex="0" role="radio" aria-checked="false" aria-label="showif radio multi 1"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-circle fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"></path></svg><!-- <i class="far fa-circle fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
327
|
+
<span
|
|
328
|
+
class="labelauty-unchecked">showif radio multi 1</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check-circle fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check-circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"></path></svg><!-- <i class="fas fa-check-circle fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
329
|
+
<span
|
|
330
|
+
class="labelauty-checked">showif radio multi 1</span>
|
|
331
|
+
</label>
|
|
332
|
+
<input aria-label="showif radio multi 2" alt="showif radio multi 2" class="da-to-labelauty labelauty da-active-invisible dafullwidth" id="X2ZpZWxkXzU_1" name="X2ZpZWxkXzU" type="radio" value="showif_radio_multi_2" aria-hidden="true"
|
|
333
|
+
style="display: none;" disabled="">
|
|
334
|
+
<label class="form-label btn-light" for="X2ZpZWxkXzU_1" tabindex="0" role="radio" aria-checked="false" aria-label="showif radio multi 2"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-circle fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"></path></svg><!-- <i class="far fa-circle fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
335
|
+
<span
|
|
336
|
+
class="labelauty-unchecked">showif radio multi 2</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check-circle fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check-circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"></path></svg><!-- <i class="fas fa-check-circle fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
337
|
+
<span
|
|
338
|
+
class="labelauty-checked">showif radio multi 2</span>
|
|
339
|
+
</label>
|
|
340
|
+
<input aria-label="showif radio multi 3" alt="showif radio multi 3" class="da-to-labelauty labelauty da-active-invisible dafullwidth" id="X2ZpZWxkXzU_2" name="X2ZpZWxkXzU" type="radio" value="showif_radio_multi_3" aria-hidden="true"
|
|
341
|
+
disabled="" style="display: none;">
|
|
342
|
+
<label class="form-label btn-light" for="X2ZpZWxkXzU_2" tabindex="0" role="radio" aria-checked="false" aria-label="showif radio multi 3"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-circle fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"></path></svg><!-- <i class="far fa-circle fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
343
|
+
<span
|
|
344
|
+
class="labelauty-unchecked">showif radio multi 3</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check-circle fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check-circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"></path></svg><!-- <i class="fas fa-check-circle fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
345
|
+
<span
|
|
346
|
+
class="labelauty-checked">showif radio multi 3</span>
|
|
347
|
+
</label>
|
|
348
|
+
</fieldset>
|
|
349
|
+
</div>
|
|
350
|
+
</div>
|
|
351
|
+
</div>
|
|
352
|
+
<div style="display: none;" class="dashowif" data-saveas="c2hvd2lmX3RleHRfaW5wdXQ" data-showif-sign="1" data-showif-mode="0" data-showif-var="c2hvd18z" data-showif-val="True">
|
|
353
|
+
<div class="da-form-group row darequired da-field-container da-field-container-datatype-text">
|
|
354
|
+
<label for="X2ZpZWxkXzY" class="col-md-4 col-form-label da-form-label datext-right">showif text input</label>
|
|
355
|
+
<div class="col-md-8 dafieldpart">
|
|
356
|
+
<input alt="Input box" class="form-control" type="text" name="X2ZpZWxkXzY" id="X2ZpZWxkXzY" disabled="">
|
|
357
|
+
</div>
|
|
358
|
+
</div>
|
|
359
|
+
</div>
|
|
360
|
+
<div style="display: none;" class="dashowif" data-saveas="c2hvd2lmX3RleHRhcmVh" data-showif-sign="1" data-showif-mode="0" data-showif-var="c2hvd18z" data-showif-val="True">
|
|
361
|
+
<div class="da-form-group row darequired da-field-container da-field-container-datatype-text da-field-container-inputtype-area">
|
|
362
|
+
<label for="X2ZpZWxkXzc" class="col-md-4 col-form-label da-form-label datext-right">showif text input</label>
|
|
363
|
+
<div class="col-md-8 dafieldpart">
|
|
364
|
+
<textarea alt="Input box" class="form-control" rows="4" name="X2ZpZWxkXzc" id="X2ZpZWxkXzc" disabled=""></textarea>
|
|
365
|
+
</div>
|
|
366
|
+
</div>
|
|
367
|
+
</div>
|
|
368
|
+
<div style="display: none;" class="dashowif" data-saveas="c2hvd2lmX2Ryb3Bkb3du" data-showif-sign="1" data-showif-mode="0" data-showif-var="c2hvd18z" data-showif-val="True">
|
|
369
|
+
<div class="da-form-group row darequired da-field-container da-field-container-datatype-text da-field-container-inputtype-dropdown">
|
|
370
|
+
<label for="X2ZpZWxkXzg" class="col-md-4 col-form-label da-form-label datext-right">showif dropdown</label>
|
|
371
|
+
<div class="col-md-8 dafieldpart">
|
|
372
|
+
<p class="visually-hidden">Select box</p>
|
|
373
|
+
<select class="form-select dasingleselect" name="X2ZpZWxkXzg" id="X2ZpZWxkXzg" disabled="">
|
|
374
|
+
<option value="">Select...</option>
|
|
375
|
+
<option value="showif_dropdown_1">showif dropdown opt 1</option>
|
|
376
|
+
<option value="showif_dropdown_2">showif dropdown opt 2</option>
|
|
377
|
+
<option value="showif_dropdown_3">showif dropdown opt 3</option>
|
|
378
|
+
<option value="showif_dropdown_4">showif dropdown opt 4</option>
|
|
379
|
+
</select>
|
|
380
|
+
</div>
|
|
381
|
+
</div>
|
|
382
|
+
</div>
|
|
383
|
+
<input type="hidden" name="_checkboxes" value="eyJjMmh2ZDE4eSI6ICJGYWxzZSIsICJjMmh2ZDE4eiI6ICJGYWxzZSIsICJjMmh2ZDJsbVgyTm9aV05yWW05NFgzbGxjMjV2IjogIkZhbHNlIiwgImMyaHZkMmxtWDJOb1pXTnJZbTk0WlhOZmIzUm9aWEpiUWlkak1taDJaREpzYlZneVRtOWFWMDV5V1cwNU5GcFlUbVppYlRrd1dWWTRlQ2RkIjogIkZhbHNlIiwgImMyaHZkMmxtWDJOb1pXTnJZbTk0WlhOZmIzUm9aWEpiUWlkak1taDJaREpzYlZneVRtOWFWMDV5V1cwNU5GcFlUbVppYlRrd1dWWTRlU2RkIjogIkZhbHNlIiwgImMyaHZkMmxtWDJOb1pXTnJZbTk0WlhOZmIzUm9aWEpiUWlkak1taDJaREpzYlZneVRtOWFWMDV5V1cwNU5GcFlUbVppYlRrd1dWWTRlaWRkIjogIkZhbHNlIiwgImMyaHZkMmxtWDNsbGMyNXZjbUZrYVc4IjogIkZhbHNlIn0">
|
|
384
|
+
<fieldset class="da-button-set da-field-buttons">
|
|
385
|
+
<legend class="visually-hidden">Press one of the following buttons:</legend>
|
|
386
|
+
<button type="submit" class="btn btn-da btn-primary" name="ZGlyZWN0X3Nob3dpZnM" value="True">Continue</button>
|
|
387
|
+
</fieldset>
|
|
388
|
+
<input type="hidden" name="csrf_token" value="IjdmYTE5MzE3ZjY5OTE0Y2MzMGQwYzVkNjJmZDViZjcyMDM4MDZmMWIi.YZ45kg.7hWBFaZmdlwwBjqLhviS-tyKbS4">
|
|
389
|
+
<input type="hidden" name="_event" value="WyJkaXJlY3Rfc2hvd2lmcyJd">
|
|
390
|
+
<input type="hidden" name="_question_name" value="ID showifs">
|
|
391
|
+
<input type="hidden" name="_tracker" value="6">
|
|
392
|
+
<input type="hidden" name="_datatypes" value="eyJaR2x5WldOMFgzTm9iM2RwWm5NIjogImJvb2xlYW4iLCAiYzJodmQxOHkiOiAiYm9vbGVhbiIsICJjMmh2ZDE4eiI6ICJib29sZWFuIiwgImMyaHZkMmxtWDJOb1pXTnJZbTk0WDNsbGMyNXYiOiAiYm9vbGVhbiIsICJjMmh2ZDJsbVgyTm9aV05yWW05NFpYTmZiM1JvWlhJIjogImNoZWNrYm94ZXMiLCAiYzJodmQybG1YM2xsYzI1dmNtRmthVzgiOiAiYm9vbGVhbiIsICJjMmh2ZDJsbVgzSmhaR2x2WDI5MGFHVnkiOiAidGV4dCIsICJjMmh2ZDJsbVgzUmxlSFJmYVc1d2RYUSI6ICJ0ZXh0IiwgImMyaHZkMmxtWDNSbGVIUmhjbVZoIjogInRleHQiLCAiYzJodmQybG1YMlJ5YjNCa2IzZHUiOiAidGV4dCJ9">
|
|
393
|
+
<input type="hidden" name="_visible" value="">
|
|
394
|
+
<input type="hidden" name="_varnames" value="eyJYMlpwWld4a1h6QSI6ICJjMmh2ZDE4eSIsICJYMlpwWld4a1h6RSI6ICJjMmh2ZDE4eiIsICJYMlpwWld4a1h6SSI6ICJjMmh2ZDJsbVgyTm9aV05yWW05NFgzbGxjMjV2IiwgIlgyWnBaV3hrWHpNIjogImMyaHZkMmxtWDJOb1pXTnJZbTk0WlhOZmIzUm9aWEkiLCAiWDJacFpXeGtYelEiOiAiYzJodmQybG1YM2xsYzI1dmNtRmthVzgiLCAiWDJacFpXeGtYelUiOiAiYzJodmQybG1YM0poWkdsdlgyOTBhR1Z5IiwgIlgyWnBaV3hrWHpZIjogImMyaHZkMmxtWDNSbGVIUmZhVzV3ZFhRIiwgIlgyWnBaV3hrWHpjIjogImMyaHZkMmxtWDNSbGVIUmhjbVZoIiwgIlgyWnBaV3hrWHpnIjogImMyaHZkMmxtWDJSeWIzQmtiM2R1In0">
|
|
395
|
+
</form>
|
|
396
|
+
</div>`;
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
// ============================
|
|
400
|
+
// Buttons
|
|
401
|
+
// ============================
|
|
402
|
+
// `continue button field:`
|
|
403
|
+
html.button_continue = `
|
|
404
|
+
<div id="daquestion" aria-labelledby="dapagetitle" role="main" class="tab-pane fade show active offset-xl-3 offset-lg-3 col-xl-6 col-lg-6 offset-md-2 col-md-8">
|
|
405
|
+
<div data-variable="YnV0dG9uX2NvbnRpbnVl" id="trigger" aria-hidden="true" style="display: none;"></div>
|
|
406
|
+
<form aria-labelledby="daMainQuestion" action="/interview?i=docassemble.playground12ALTestingTestsNewDOM%3Aall_tests.yml" id="daform" method="POST" novalidate="novalidate">
|
|
407
|
+
<div class="da-page-header">
|
|
408
|
+
<h1 class="h3" id="daMainQuestion">Button (continue)</h1>
|
|
409
|
+
<div class="daclear"></div>
|
|
410
|
+
</div>
|
|
411
|
+
<fieldset class="da-button-set da-field-buttons">
|
|
412
|
+
<legend class="visually-hidden">Press one of the following buttons:</legend>
|
|
413
|
+
<button type="submit" class="btn btn-da btn-primary" name="YnV0dG9uX2NvbnRpbnVl" value="True">Continue</button>
|
|
414
|
+
</fieldset>
|
|
415
|
+
<input type="hidden" name="csrf_token" value="IjdmYTE5MzE3ZjY5OTE0Y2MzMGQwYzVkNjJmZDViZjcyMDM4MDZmMWIi.YZ4-uA.hKcFQB0Glf6JDt96_UPDIDAvcjA">
|
|
416
|
+
<input type="hidden" name="_event" value="WyJidXR0b25fY29udGludWUiXQ">
|
|
417
|
+
<input type="hidden" name="_question_name" value="ID button continue">
|
|
418
|
+
<input type="hidden" name="_tracker" value="12">
|
|
419
|
+
<input type="hidden" name="_datatypes" value="eyJZblYwZEc5dVgyTnZiblJwYm5WbCI6ICJib29sZWFuIn0">
|
|
420
|
+
<input type="hidden" name="_visible" value="">
|
|
421
|
+
</form>
|
|
422
|
+
</div>`;
|
|
423
|
+
|
|
424
|
+
// `yesnomaybe:`
|
|
425
|
+
html.buttons_yesnomaybe = `
|
|
426
|
+
<div id="daquestion" aria-labelledby="dapagetitle" role="main" class="tab-pane fade show active offset-xl-3 offset-lg-3 col-xl-6 col-lg-6 offset-md-2 col-md-8">
|
|
427
|
+
<div data-variable="YnV0dG9uc195ZXNub21heWJl" id="trigger" aria-hidden="true" style="display: none;"></div>
|
|
428
|
+
<form aria-labelledby="daMainQuestion" action="/interview?i=docassemble.playground12ALTestingTestsNewDOM%3Aall_tests.yml" id="daform" method="POST" novalidate="novalidate">
|
|
429
|
+
<div class="da-page-header">
|
|
430
|
+
<h1 class="h3" id="daMainQuestion">Button (yes/no/maybe)</h1>
|
|
431
|
+
<div class="daclear"></div>
|
|
432
|
+
</div>
|
|
433
|
+
<fieldset class="da-button-set da-field-yesnomaybe">
|
|
434
|
+
<legend class="visually-hidden">Press one of the following buttons:</legend>
|
|
435
|
+
<button class="btn btn-primary btn-da" name="YnV0dG9uc195ZXNub21heWJl" type="submit" value="True">Yes</button>
|
|
436
|
+
<button class="btn btn-secondary btn-da" name="YnV0dG9uc195ZXNub21heWJl" type="submit" value="False">No</button>
|
|
437
|
+
<button class="btn btn-warning btn-da" name="YnV0dG9uc195ZXNub21heWJl" type="submit" value="None">I don’t know</button>
|
|
438
|
+
</fieldset>
|
|
439
|
+
<input type="hidden" name="csrf_token" value="IjdmYTE5MzE3ZjY5OTE0Y2MzMGQwYzVkNjJmZDViZjcyMDM4MDZmMWIi.YZ48WA.uOXCbXlqc77MpYPJu5hxyq4b5ss">
|
|
440
|
+
<input type="hidden" name="_event" value="WyJidXR0b25zX3llc25vbWF5YmUiXQ">
|
|
441
|
+
<input type="hidden" name="_question_name" value="ID buttons yesnomaybe">
|
|
442
|
+
<input type="hidden" name="_tracker" value="8">
|
|
443
|
+
<input type="hidden" name="_datatypes" value="eyJZblYwZEc5dWMxOTVaWE51YjIxaGVXSmwiOiAidGhyZWVzdGF0ZSJ9">
|
|
444
|
+
<input type="hidden" name="_visible" value="">
|
|
445
|
+
</form>
|
|
446
|
+
</div>`;
|
|
447
|
+
|
|
448
|
+
// Multiple choice 'continue' button fields that are not yesnomaybe
|
|
449
|
+
// `field:` and `buttons:`
|
|
450
|
+
html.buttons_other = `
|
|
451
|
+
<div id="daquestion" aria-labelledby="dapagetitle" role="main" class="tab-pane fade show active offset-xl-3 offset-lg-3 col-xl-6 col-lg-6 offset-md-2 col-md-8">
|
|
452
|
+
<div data-variable="YnV0dG9uc19vdGhlcg" id="trigger" aria-hidden="true" style="display: none;"></div>
|
|
453
|
+
<form aria-labelledby="daMainQuestion" action="/interview?i=docassemble.playground12ALTestingTestsNewDOM%3Aall_tests.yml" id="daform" method="POST" novalidate="novalidate">
|
|
454
|
+
<div class="da-page-header">
|
|
455
|
+
<h1 class="h3" id="daMainQuestion">Button (other)</h1>
|
|
456
|
+
<div class="daclear"></div>
|
|
457
|
+
</div>
|
|
458
|
+
<fieldset class="da-button-set da-field-buttons">
|
|
459
|
+
<legend class="visually-hidden">Press one of the following buttons:</legend>
|
|
460
|
+
<button type="submit" class="btn btn-da btn-primary" name="YnV0dG9uc19vdGhlcg" value="button_1">button 1</button>
|
|
461
|
+
<button type="submit" class="btn btn-da btn-primary" name="YnV0dG9uc19vdGhlcg" value="button_2">button 2</button>
|
|
462
|
+
<button type="submit" class="btn btn-da btn-primary" name="YnV0dG9uc19vdGhlcg" value="button_3">button 3</button>
|
|
463
|
+
</fieldset>
|
|
464
|
+
<input type="hidden" name="csrf_token" value="IjdmYTE5MzE3ZjY5OTE0Y2MzMGQwYzVkNjJmZDViZjcyMDM4MDZmMWIi.YZ4-QQ.l-7025694Jgr31vxB48L1A2SFy0">
|
|
465
|
+
<input type="hidden" name="_event" value="WyJidXR0b25zX290aGVyIl0">
|
|
466
|
+
<input type="hidden" name="_question_name" value="ID buttons other">
|
|
467
|
+
<input type="hidden" name="_tracker" value="11">
|
|
468
|
+
<input type="hidden" name="_visible" value="">
|
|
469
|
+
</form>
|
|
470
|
+
</div>`;
|
|
471
|
+
|
|
472
|
+
// `field:` and `action buttons:`
|
|
473
|
+
// It's not actually a button, it's a link (`<a>`)
|
|
474
|
+
html.buttons_event_action = `
|
|
475
|
+
<div id="daquestion" aria-labelledby="dapagetitle" role="main" class="tab-pane fade show active offset-xl-3 offset-lg-3 col-xl-6 col-lg-6 offset-md-2 col-md-8">
|
|
476
|
+
<div data-variable="YnV0dG9uX2V2ZW50X2FjdGlvbg" id="trigger" aria-hidden="true" style="display: none;"></div>
|
|
477
|
+
<form aria-labelledby="daMainQuestion" action="/interview?i=docassemble.playground12ALTestingTestsNewDOM%3Aall_tests.yml" id="daform" method="POST" novalidate="novalidate">
|
|
478
|
+
<div class="da-page-header">
|
|
479
|
+
<h1 class="h3" id="daMainQuestion">Button (event action)</h1>
|
|
480
|
+
<div class="daclear"></div>
|
|
481
|
+
</div>
|
|
482
|
+
<fieldset class="da-button-set da-field-buttons">
|
|
483
|
+
<legend class="visually-hidden">Press one of the following buttons:</legend>
|
|
484
|
+
<button type="submit" class="btn btn-da btn-primary" name="YnV0dG9uX2V2ZW50X2FjdGlvbg" value="True">Continue</button>
|
|
485
|
+
<a data-linknum="1" href="/interview?action=eyJhY3Rpb24iOiAiZW5kIiwgImFyZ3VtZW50cyI6IHt9fQ&i=docassemble.playground12ALTestingTestsNewDOM%3Aall_tests.yml" class="btn btn-primary btn-da daquestionactionbutton danonsubmit">
|
|
486
|
+
<svg class="svg-inline--fa fa-laugh-wink fa-w-16" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="laugh-wink" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512" data-fa-i2svg="">
|
|
487
|
+
<path fill="currentColor" d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm20.1 198.1c4-25.2 34.2-42.1 59.9-42.1s55.9 16.9 59.9 42.1c1.7 11.1-11.4 18.3-19.8 10.8l-9.5-8.5c-14.8-13.2-46.2-13.2-61 0L288 217c-8.4 7.4-21.6.3-19.9-10.9zM168 160c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm230.9 146C390 377 329.4 432 256 432h-16c-73.4 0-134-55-142.9-126-1.2-9.5 6.3-18 15.9-18h270c9.6 0 17.1 8.4 15.9 18z"></path>
|
|
488
|
+
</svg>
|
|
489
|
+
<!-- <i class="fas fa-laugh-wink"></i> Font Awesome fontawesome.com -->Do not pass go</a>
|
|
490
|
+
</fieldset>
|
|
491
|
+
<input type="hidden" name="csrf_token" value="IjdmYTE5MzE3ZjY5OTE0Y2MzMGQwYzVkNjJmZDViZjcyMDM4MDZmMWIi.YZ5ADA.Fl6yjmlTVe5CEwvE98xIQ8o7_SM">
|
|
492
|
+
<input type="hidden" name="_event" value="WyJidXR0b25fZXZlbnRfYWN0aW9uIl0">
|
|
493
|
+
<input type="hidden" name="_question_name" value="ID button event action">
|
|
494
|
+
<input type="hidden" name="_tracker" value="24">
|
|
495
|
+
<input type="hidden" name="_datatypes" value="eyJZblYwZEc5dVgyVjJaVzUwWDJGamRHbHZiZyI6ICJib29sZWFuIn0">
|
|
496
|
+
<input type="hidden" name="_visible" value="">
|
|
497
|
+
</form>
|
|
498
|
+
</div>`;
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
// ============================
|
|
502
|
+
// Proxy vars (x, i, j, ...)
|
|
503
|
+
// ============================
|
|
504
|
+
// These tests are useful so we make sure we're handling iteration with
|
|
505
|
+
// proxies correctly, but we don't need to worry about guessing the proxy
|
|
506
|
+
// name. See https://github.com/plocket/docassemble-cucumber/pull/221
|
|
507
|
+
|
|
508
|
+
// x[i].name.first
|
|
509
|
+
html.proxies_xi = `
|
|
510
|
+
<div id="daquestion" aria-labelledby="dapagetitle" role="main" class="tab-pane fade show active offset-xl-3 offset-lg-3 col-xl-6 col-lg-6 offset-md-2 col-md-8">
|
|
511
|
+
<div data-variable="cHJveHlfbGlzdFswXS5uYW1lLmZpcnN0" id="trigger" aria-hidden="true" style="display: none;"></div>
|
|
512
|
+
<form aria-labelledby="daMainQuestion" action="/interview?i=docassemble.playground12ALTestingTestsNewDOM%3Aall_tests.yml" id="daform" class="form-horizontal" method="POST" novalidate="novalidate">
|
|
513
|
+
<div class="da-page-header">
|
|
514
|
+
<h1 class="h3" id="daMainQuestion">Proxy var 1</h1>
|
|
515
|
+
<div class="daclear"></div>
|
|
516
|
+
</div>
|
|
517
|
+
<div class="da-form-group row darequired da-field-container da-field-container-datatype-text">
|
|
518
|
+
<label for="eFtpXS5uYW1lLmZpcnN0" class="col-md-4 col-form-label da-form-label datext-right">first proxy name</label>
|
|
519
|
+
<div class="col-md-8 dafieldpart">
|
|
520
|
+
<input alt="Input box" class="form-control" type="text" name="eFtpXS5uYW1lLmZpcnN0" id="eFtpXS5uYW1lLmZpcnN0">
|
|
521
|
+
</div>
|
|
522
|
+
</div>
|
|
523
|
+
<fieldset class="da-button-set da-field-buttons">
|
|
524
|
+
<legend class="visually-hidden">Press one of the following buttons:</legend>
|
|
525
|
+
<button class="btn btn-da btn-primary" type="submit">Continue</button>
|
|
526
|
+
</fieldset>
|
|
527
|
+
<input type="hidden" name="csrf_token" value="IjdmYTE5MzE3ZjY5OTE0Y2MzMGQwYzVkNjJmZDViZjcyMDM4MDZmMWIi.YZ5H8A.Tjer87_fAJ3oFK_LPAL6dO1hM0c">
|
|
528
|
+
<input type="hidden" name="_event" value="WyJwcm94eV9saXN0WzBdLm5hbWUuZmlyc3QiXQ">
|
|
529
|
+
<input type="hidden" name="_question_name" value="ID proxy vars">
|
|
530
|
+
<input type="hidden" name="_tracker" value="16">
|
|
531
|
+
<input type="hidden" name="_datatypes" value="eyJlRnRwWFM1dVlXMWxMbVpwY25OMCI6ICJ0ZXh0In0">
|
|
532
|
+
<input type="hidden" name="_visible" value="">
|
|
533
|
+
<input type="hidden" name="_varnames" value="eyJYMlpwWld4a1h6QSI6ICJlRnRwWFM1dVlXMWxMbVpwY25OMCJ9">
|
|
534
|
+
</form>
|
|
535
|
+
</div>`;
|
|
536
|
+
|
|
537
|
+
// Second page of above
|
|
538
|
+
// Multiple proxies by the same name are on the list (because of a loop)
|
|
539
|
+
// x[i].name.first
|
|
540
|
+
html.proxies_multi = `
|
|
541
|
+
<div id="daquestion" aria-labelledby="dapagetitle" role="main" class="tab-pane fade show active offset-xl-3 offset-lg-3 col-xl-6 col-lg-6 offset-md-2 col-md-8">
|
|
542
|
+
<div data-variable="cHJveHlfbGlzdFsxXS5uYW1lLmZpcnN0" id="trigger" aria-hidden="true" style="display: none;"></div>
|
|
543
|
+
<form aria-labelledby="daMainQuestion" action="/interview?i=docassemble.playground12ALTestingTestsNewDOM%3Aall_tests.yml" id="daform" class="form-horizontal" method="POST" novalidate="novalidate">
|
|
544
|
+
<div class="da-page-header">
|
|
545
|
+
<h1 class="h3" id="daMainQuestion">Proxy var 2</h1>
|
|
546
|
+
<div class="daclear"></div>
|
|
547
|
+
</div>
|
|
548
|
+
<div class="da-form-group row darequired da-field-container da-field-container-datatype-text">
|
|
549
|
+
<label for="eFtpXS5uYW1lLmZpcnN0" class="col-md-4 col-form-label da-form-label datext-right">second proxy name</label>
|
|
550
|
+
<div class="col-md-8 dafieldpart">
|
|
551
|
+
<input alt="Input box" class="form-control" type="text" name="eFtpXS5uYW1lLmZpcnN0" id="eFtpXS5uYW1lLmZpcnN0">
|
|
552
|
+
</div>
|
|
553
|
+
</div>
|
|
554
|
+
<fieldset class="da-button-set da-field-buttons">
|
|
555
|
+
<legend class="visually-hidden">Press one of the following buttons:</legend>
|
|
556
|
+
<button class="btn btn-da btn-primary" type="submit">Continue</button>
|
|
557
|
+
</fieldset>
|
|
558
|
+
<input type="hidden" name="csrf_token" value="IjdmYTE5MzE3ZjY5OTE0Y2MzMGQwYzVkNjJmZDViZjcyMDM4MDZmMWIi.YZ5IgA.E1YcjbUeiPEheD7U_6uixUMTz1M">
|
|
559
|
+
<input type="hidden" name="_event" value="WyJwcm94eV9saXN0WzFdLm5hbWUuZmlyc3QiXQ">
|
|
560
|
+
<input type="hidden" name="_question_name" value="ID proxy vars">
|
|
561
|
+
<input type="hidden" name="_tracker" value="20">
|
|
562
|
+
<input type="hidden" name="_datatypes" value="eyJlRnRwWFM1dVlXMWxMbVpwY25OMCI6ICJ0ZXh0In0">
|
|
563
|
+
<input type="hidden" name="_visible" value="">
|
|
564
|
+
<input type="hidden" name="_varnames" value="eyJYMlpwWld4a1h6QSI6ICJlRnRwWFM1dVlXMWxMbVpwY25OMCJ9">
|
|
565
|
+
</form>
|
|
566
|
+
</div>`;
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
// ============================
|
|
570
|
+
// Signature
|
|
571
|
+
// ============================
|
|
572
|
+
// Signature pages need the sought var node in a particular `default screen parts`
|
|
573
|
+
// section or they will be missing on mobile devices/emulators
|
|
574
|
+
// It's complicated. This explains it a bit, but not enough:
|
|
575
|
+
// https://github.com/plocket/docassemble-ALAutomatedTestingTests/issues/119
|
|
576
|
+
html.signature = `
|
|
577
|
+
<div id="daquestion" aria-labelledby="dapagetitle" role="main" class="tab-pane fade show active offset-xl-3 offset-lg-3 col-xl-6 col-lg-6 offset-md-2 col-md-8">
|
|
578
|
+
<div data-variable="c2lnbmF0dXJlXzE" id="trigger" aria-hidden="true" style="display: none;"></div>
|
|
579
|
+
<div class="dasigpage" id="dasigpage">
|
|
580
|
+
<div class="dasigshowsmallblock dasigheader d-block d-sm-none" id="dasigheader" style="">
|
|
581
|
+
<div class="dasiginnerheader">
|
|
582
|
+
<a href="#" role="button" class="btn btn-sm btn-warning dasignav-left dasignavbutton dasigclear">Clear</a>
|
|
583
|
+
<a href="#" role="button" class="btn btn-sm btn-primary dasignav-right dasignavbutton dasigsave">Continue</a>
|
|
584
|
+
<div id="dasigtitle" class="dasigtitle">Signature 1</div>
|
|
585
|
+
</div>
|
|
586
|
+
</div>
|
|
587
|
+
<div class="dasigtoppart" id="dasigtoppart">
|
|
588
|
+
<div id="daerrormess" class="dasigerrormessage dasignotshowing">You must sign your name to continue.</div>
|
|
589
|
+
<div class="da-page-header d-none d-sm-block">
|
|
590
|
+
<h1 class="h3">Signature 1</h1>
|
|
591
|
+
<div class="daclear"></div>
|
|
592
|
+
</div>
|
|
593
|
+
</div>
|
|
594
|
+
<div id="dasigmidpart" class="dasigmidpart"></div>
|
|
595
|
+
<div id="dasigcontent" style="height: 218.4px;">
|
|
596
|
+
<canvas id="dasigcanvas" width="546px" height="218.4px"></canvas>
|
|
597
|
+
</div>
|
|
598
|
+
<div class="dasigbottompart" id="dasigbottompart">
|
|
599
|
+
|
|
600
|
+
</div>
|
|
601
|
+
<fieldset class="da-button-set d-none d-sm-block da-signature">
|
|
602
|
+
<legend class="visually-hidden">Press one of the following buttons:</legend>
|
|
603
|
+
<div class="dasigbuttons mt-3">
|
|
604
|
+
<a href="#" role="button" class="btn btn-primary btn-da dasigsave">Continue</a>
|
|
605
|
+
<a href="#" role="button" class="btn btn-warning btn-da dasigclear">Clear</a>
|
|
606
|
+
</div>
|
|
607
|
+
</fieldset>
|
|
608
|
+
</div>
|
|
609
|
+
<form aria-labelledby="dasigtitle" action="/interview?i=docassemble.playground12ALTestingTestsNewDOM%3Aall_tests.yml" id="dasigform" method="POST">
|
|
610
|
+
<input type="hidden" name="_save_as" value="c2lnbmF0dXJlXzE">
|
|
611
|
+
<input type="hidden" id="da_sig_required" value="1">
|
|
612
|
+
<input type="hidden" id="da_ajax" name="ajax" value="0">
|
|
613
|
+
<input type="hidden" id="da_the_image" name="_the_image" value="">
|
|
614
|
+
<input type="hidden" id="da_success" name="_success" value="0">
|
|
615
|
+
<input type="hidden" name="csrf_token" value="IjdmYTE5MzE3ZjY5OTE0Y2MzMGQwYzVkNjJmZDViZjcyMDM4MDZmMWIi.YZ5JYw.TjKi2VrM8zgaiChOLEfFcVXH_7c">
|
|
616
|
+
<input type="hidden" name="_event" value="WyJzaWduYXR1cmVfMSJd">
|
|
617
|
+
<input type="hidden" name="_question_name" value="ID first signature">
|
|
618
|
+
<input type="hidden" name="_tracker" value="24">
|
|
619
|
+
</form>
|
|
620
|
+
<div class="d-block d-md-none">
|
|
621
|
+
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
|
|
622
|
+
</div>
|
|
623
|
+
<div class="dasigpost">
|
|
624
|
+
<div data-variable="c2lnbmF0dXJlXzE" id="trigger" aria-hidden="true" style="display: none;"></div>
|
|
625
|
+
</div>
|
|
626
|
+
</div>`;
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
// ============================
|
|
630
|
+
// `choices:`
|
|
631
|
+
// ============================
|
|
632
|
+
// `field:` and `choices:`
|
|
633
|
+
// ```
|
|
634
|
+
// field: favorite_fruit
|
|
635
|
+
// choices:
|
|
636
|
+
// - Apple
|
|
637
|
+
// - Orange
|
|
638
|
+
// ```
|
|
639
|
+
html.choices = `
|
|
640
|
+
<div id="daquestion" aria-labelledby="dapagetitle" role="main" class="tab-pane fade show active offset-xl-3 offset-lg-3 col-xl-6 col-lg-6 offset-md-2 col-md-8">
|
|
641
|
+
<div data-variable="ZmllbGRfYW5kX2Nob2ljZXM" id="trigger" aria-hidden="true" style="display: none;"></div>
|
|
642
|
+
<form aria-labelledby="daMainQuestion" action="/interview?i=docassemble.playground12ALTestingTestsNewDOM%3Aall_tests.yml" id="daform" method="POST" novalidate="novalidate">
|
|
643
|
+
<div class="da-page-header">
|
|
644
|
+
<h1 class="h3" id="daMainQuestion"><code>field:</code> and <code>choices</code></h1>
|
|
645
|
+
<div class="daclear"></div>
|
|
646
|
+
</div>
|
|
647
|
+
<fieldset class="da-field-radio">
|
|
648
|
+
<legend class="visually-hidden">Choices:</legend>
|
|
649
|
+
<div class="row">
|
|
650
|
+
<div class="col-md-12">
|
|
651
|
+
<input aria-label="Choice 1" alt="Choice 1" class="da-to-labelauty labelauty da-active-invisible dafullwidth" id="ZmllbGRfYW5kX2Nob2ljZXM_0" name="ZmllbGRfYW5kX2Nob2ljZXM" type="radio" value="Choice 1" aria-hidden="true" style="display: none;">
|
|
652
|
+
<label class="form-label btn-light" for="ZmllbGRfYW5kX2Nob2ljZXM_0" tabindex="0" role="radio" aria-checked="false" aria-label="Choice 1"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-circle fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"></path></svg><!-- <i class="far fa-circle fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
653
|
+
<span
|
|
654
|
+
class="labelauty-unchecked">Choice 1</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check-circle fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check-circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"></path></svg><!-- <i class="fas fa-check-circle fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
655
|
+
<span
|
|
656
|
+
class="labelauty-checked">Choice 1</span>
|
|
657
|
+
</label>
|
|
658
|
+
</div>
|
|
659
|
+
</div>
|
|
660
|
+
<div class="row">
|
|
661
|
+
<div class="col-md-12">
|
|
662
|
+
<input aria-label="Choice 2" alt="Choice 2" class="da-to-labelauty labelauty da-active-invisible dafullwidth" id="ZmllbGRfYW5kX2Nob2ljZXM_1" name="ZmllbGRfYW5kX2Nob2ljZXM" type="radio" value="Choice 2" aria-hidden="true" style="display: none;">
|
|
663
|
+
<label class="form-label btn-light" for="ZmllbGRfYW5kX2Nob2ljZXM_1" tabindex="0" role="radio" aria-checked="false" aria-label="Choice 2"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-circle fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"></path></svg><!-- <i class="far fa-circle fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
664
|
+
<span
|
|
665
|
+
class="labelauty-unchecked">Choice 2</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check-circle fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check-circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"></path></svg><!-- <i class="fas fa-check-circle fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
666
|
+
<span
|
|
667
|
+
class="labelauty-checked">Choice 2</span>
|
|
668
|
+
</label>
|
|
669
|
+
</div>
|
|
670
|
+
</div>
|
|
671
|
+
<div id="daerrorcontainer" style="display:none"></div>
|
|
672
|
+
</fieldset>
|
|
673
|
+
<fieldset class="da-button-set da-field-buttons">
|
|
674
|
+
<legend class="visually-hidden">Press one of the following buttons:</legend>
|
|
675
|
+
<button class="btn btn-da btn-primary" type="submit">Continue</button>
|
|
676
|
+
</fieldset>
|
|
677
|
+
<input type="hidden" name="csrf_token" value="IjdmYTE5MzE3ZjY5OTE0Y2MzMGQwYzVkNjJmZDViZjcyMDM4MDZmMWIi.YZ5QAg.SCJdmS-cpk2MUs3c-25uFHInpHM">
|
|
678
|
+
<input type="hidden" name="_event" value="WyJmaWVsZF9hbmRfY2hvaWNlcyJd">
|
|
679
|
+
<input type="hidden" name="_question_name" value="ID field and choices">
|
|
680
|
+
<input type="hidden" name="_tracker" value="1">
|
|
681
|
+
<input type="hidden" name="_visible" value="">
|
|
682
|
+
</form>
|
|
683
|
+
</div>`;
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
// ============================
|
|
687
|
+
// dropdowns created with objects
|
|
688
|
+
// ============================
|
|
689
|
+
// ```
|
|
690
|
+
// - Something: some_var
|
|
691
|
+
// datatype: object
|
|
692
|
+
// choices:
|
|
693
|
+
// - obj1
|
|
694
|
+
// - obj2
|
|
695
|
+
// ```
|
|
696
|
+
html.object_dropdown = `
|
|
697
|
+
<div id="daquestion" aria-labelledby="dapagetitle" role="main" class="tab-pane fade show active offset-xl-3 offset-lg-3 col-xl-6 col-lg-6 offset-md-2 col-md-8">
|
|
698
|
+
<div data-variable="b2JqZWN0X2Ryb3Bkb3du" id="trigger" aria-hidden="true" style="display: none;"></div>
|
|
699
|
+
<form aria-labelledby="daMainQuestion" action="/interview?i=docassemble.playground12ALTestingTestsNewDOM%3Aall_tests.yml" id="daform" class="form-horizontal" method="POST" novalidate="novalidate">
|
|
700
|
+
<div class="da-page-header">
|
|
701
|
+
<h1 class="h3" id="daMainQuestion">Object dropdown</h1>
|
|
702
|
+
<div class="daclear"></div>
|
|
703
|
+
</div>
|
|
704
|
+
<div class="da-form-group row darequired da-field-container da-field-container-datatype-object da-field-container-inputtype-dropdown">
|
|
705
|
+
<label for="b2JqZWN0X2Ryb3Bkb3du" class="col-md-4 col-form-label da-form-label datext-right">Object dropdown</label>
|
|
706
|
+
<div class="col-md-8 dafieldpart">
|
|
707
|
+
<p class="visually-hidden">Select box</p>
|
|
708
|
+
<select class="form-select dasingleselect daobject" name="b2JqZWN0X2Ryb3Bkb3du" id="b2JqZWN0X2Ryb3Bkb3du">
|
|
709
|
+
<option value="">Select...</option>
|
|
710
|
+
<option value="b2JqX29wdF8x">obj opt 1</option>
|
|
711
|
+
<option value="b2JqX29wdF8y">obj opt 2</option>
|
|
712
|
+
<option value="b2JqX29wdF8z">obj opt 3</option>
|
|
713
|
+
</select>
|
|
714
|
+
</div>
|
|
715
|
+
</div>
|
|
716
|
+
<fieldset class="da-button-set da-field-buttons">
|
|
717
|
+
<legend class="visually-hidden">Press one of the following buttons:</legend>
|
|
718
|
+
<button class="btn btn-da btn-primary" type="submit">Continue</button>
|
|
719
|
+
</fieldset>
|
|
720
|
+
<input type="hidden" name="csrf_token" value="IjdmYTE5MzE3ZjY5OTE0Y2MzMGQwYzVkNjJmZDViZjcyMDM4MDZmMWIi.YZ5MdQ.qmGUG_q-cJeO-zySkNUJgaQIquQ">
|
|
721
|
+
<input type="hidden" name="_event" value="WyJvYmplY3RfZHJvcGRvd24iXQ">
|
|
722
|
+
<input type="hidden" name="_question_name" value="ID object dropdown">
|
|
723
|
+
<input type="hidden" name="_tracker" value="2">
|
|
724
|
+
<input type="hidden" name="_datatypes" value="eyJiMkpxWldOMFgyUnliM0JrYjNkdSI6ICJvYmplY3QifQ">
|
|
725
|
+
<input type="hidden" name="_visible" value="">
|
|
726
|
+
<input type="hidden" name="_varnames" value="eyJYMlpwWld4a1h6QSI6ICJiMkpxWldOMFgyUnliM0JrYjNkdSJ9">
|
|
727
|
+
</form>
|
|
728
|
+
</div>`;
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
html.mixed_quotes = `
|
|
732
|
+
<div id="daquestion" aria-labelledby="dapagetitle" role="main" class="tab-pane fade show active offset-xl-3 offset-lg-3 col-xl-6 col-lg-6 offset-md-2 col-md-8">
|
|
733
|
+
<div data-variable="ZG91YmxlX3F1b3RlX2RpY3RbJ2RvdWJsZV9xdW90ZV9rZXknXQ" id="trigger" aria-hidden="true" style="display: none;"></div>
|
|
734
|
+
<form aria-labelledby="daMainQuestion" action="/interview?i=docassemble.playground12ALTestingTestsNewDOM%3Aall_tests.yml" id="daform" class="form-horizontal" method="POST" novalidate="novalidate">
|
|
735
|
+
<div class="da-page-header">
|
|
736
|
+
<h1 class="h3" id="daMainQuestion">Some complex fields</h1>
|
|
737
|
+
<div class="daclear"></div>
|
|
738
|
+
</div>
|
|
739
|
+
<div class="da-form-group row da-field-container da-field-container-datatype-checkboxes da-field-container-inputtype-checkboxes">
|
|
740
|
+
<label class="col-md-4 col-form-label da-form-label datext-right">Singly quoted key</label>
|
|
741
|
+
<div class="col-md-8 dafieldpart">
|
|
742
|
+
<fieldset class="da-field-checkboxes" role="group">
|
|
743
|
+
<legend class="visually-hidden">Checkboxes:</legend>
|
|
744
|
+
<input aria-label="1" alt="1" class="dafield0 danon-nota-checkbox da-to-labelauty checkbox-icon labelauty da-active-invisible dafullwidth" id="c2luZ2xlX3F1b3RlX2RpY3RbJ3NpbmdsZV9xdW90ZV9rZXknXQ_0" name="c2luZ2xlX3F1b3RlX2RpY3RbJ3NpbmdsZV9xdW90ZV9rZXknXVtCJ2MzRmZiMjVsJ10"
|
|
745
|
+
type="checkbox" value="True" aria-hidden="true" style="display: none;">
|
|
746
|
+
<label class="form-label btn-light" for="c2luZ2xlX3F1b3RlX2RpY3RbJ3NpbmdsZV9xdW90ZV9rZXknXQ_0" tabindex="0" role="checkbox" aria-checked="false" aria-label="1"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-square fa-w-14 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="square" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"></path></svg><!-- <i class="far fa-square fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
747
|
+
<span
|
|
748
|
+
class="labelauty-unchecked">1</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg><!-- <i class="fas fa-check fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
749
|
+
<span
|
|
750
|
+
class="labelauty-checked">1</span>
|
|
751
|
+
</label>
|
|
752
|
+
<input aria-label="2" alt="2" class="dafield0 danon-nota-checkbox da-to-labelauty checkbox-icon labelauty da-active-invisible dafullwidth" id="c2luZ2xlX3F1b3RlX2RpY3RbJ3NpbmdsZV9xdW90ZV9rZXknXQ_1" name="c2luZ2xlX3F1b3RlX2RpY3RbJ3NpbmdsZV9xdW90ZV9rZXknXVtCJ2MzRmZkSGR2J10"
|
|
753
|
+
type="checkbox" value="True" aria-hidden="true" style="display: none;">
|
|
754
|
+
<label class="form-label btn-light" for="c2luZ2xlX3F1b3RlX2RpY3RbJ3NpbmdsZV9xdW90ZV9rZXknXQ_1" tabindex="0" role="checkbox" aria-checked="false" aria-label="2"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-square fa-w-14 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="square" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"></path></svg><!-- <i class="far fa-square fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
755
|
+
<span
|
|
756
|
+
class="labelauty-unchecked">2</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg><!-- <i class="fas fa-check fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
757
|
+
<span
|
|
758
|
+
class="labelauty-checked">2</span>
|
|
759
|
+
</label>
|
|
760
|
+
<input aria-label="3" alt="3" class="dafield0 danon-nota-checkbox da-to-labelauty checkbox-icon labelauty da-active-invisible dafullwidth" id="c2luZ2xlX3F1b3RlX2RpY3RbJ3NpbmdsZV9xdW90ZV9rZXknXQ_2" name="c2luZ2xlX3F1b3RlX2RpY3RbJ3NpbmdsZV9xdW90ZV9rZXknXVtCJ2MzRmZkR2h5WldVJ10"
|
|
761
|
+
type="checkbox" value="True" aria-hidden="true" style="display: none;">
|
|
762
|
+
<label class="form-label btn-light" for="c2luZ2xlX3F1b3RlX2RpY3RbJ3NpbmdsZV9xdW90ZV9rZXknXQ_2" tabindex="0" role="checkbox" aria-checked="false" aria-label="3"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-square fa-w-14 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="square" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"></path></svg><!-- <i class="far fa-square fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
763
|
+
<span
|
|
764
|
+
class="labelauty-unchecked">3</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg><!-- <i class="fas fa-check fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
765
|
+
<span
|
|
766
|
+
class="labelauty-checked">3</span>
|
|
767
|
+
</label>
|
|
768
|
+
<input aria-label="None of the above" alt="None of the above" class="dafield0 danota-checkbox da-to-labelauty checkbox-icon labelauty da-active-invisible dafullwidth" type="checkbox" name="_ignore0" aria-hidden="true" id="labelauty-647679"
|
|
769
|
+
style="display: none;">
|
|
770
|
+
<label class="form-label btn-light" for="labelauty-647679" tabindex="0" role="checkbox" aria-checked="false" aria-label="None of the above"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-square fa-w-14 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="square" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"></path></svg><!-- <i class="far fa-square fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
771
|
+
<span
|
|
772
|
+
class="labelauty-unchecked">None of the above</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg><!-- <i class="fas fa-check fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
773
|
+
<span
|
|
774
|
+
class="labelauty-checked">None of the above</span>
|
|
775
|
+
</label>
|
|
776
|
+
</fieldset>
|
|
777
|
+
</div>
|
|
778
|
+
</div>
|
|
779
|
+
<div class="da-form-group row da-field-container da-field-container-datatype-checkboxes da-field-container-inputtype-checkboxes">
|
|
780
|
+
<label class="col-md-4 col-form-label da-form-label datext-right">Doubly quoted key</label>
|
|
781
|
+
<div class="col-md-8 dafieldpart">
|
|
782
|
+
<fieldset class="da-field-checkboxes" role="group">
|
|
783
|
+
<legend class="visually-hidden">Checkboxes:</legend>
|
|
784
|
+
<input aria-label="1" alt="1" class="dafield1 danon-nota-checkbox da-to-labelauty checkbox-icon labelauty da-active-invisible dafullwidth" id="ZG91YmxlX3F1b3RlX2RpY3RbImRvdWJsZV9xdW90ZV9rZXkiXQ_0" name="ZG91YmxlX3F1b3RlX2RpY3RbImRvdWJsZV9xdW90ZV9rZXkiXVtCJ1pIRmZiMjVsJ10"
|
|
785
|
+
type="checkbox" value="True" aria-hidden="true" style="display: none;">
|
|
786
|
+
<label class="form-label btn-light" for="ZG91YmxlX3F1b3RlX2RpY3RbImRvdWJsZV9xdW90ZV9rZXkiXQ_0" tabindex="0" role="checkbox" aria-checked="false" aria-label="1"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-square fa-w-14 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="square" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"></path></svg><!-- <i class="far fa-square fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
787
|
+
<span
|
|
788
|
+
class="labelauty-unchecked">1</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg><!-- <i class="fas fa-check fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
789
|
+
<span
|
|
790
|
+
class="labelauty-checked">1</span>
|
|
791
|
+
</label>
|
|
792
|
+
<input aria-label="2" alt="2" class="dafield1 danon-nota-checkbox da-to-labelauty checkbox-icon labelauty da-active-invisible dafullwidth" id="ZG91YmxlX3F1b3RlX2RpY3RbImRvdWJsZV9xdW90ZV9rZXkiXQ_1" name="ZG91YmxlX3F1b3RlX2RpY3RbImRvdWJsZV9xdW90ZV9rZXkiXVtCJ1pIRmZkSGR2J10"
|
|
793
|
+
type="checkbox" value="True" aria-hidden="true" style="display: none;">
|
|
794
|
+
<label class="form-label btn-light" for="ZG91YmxlX3F1b3RlX2RpY3RbImRvdWJsZV9xdW90ZV9rZXkiXQ_1" tabindex="0" role="checkbox" aria-checked="false" aria-label="2"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-square fa-w-14 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="square" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"></path></svg><!-- <i class="far fa-square fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
795
|
+
<span
|
|
796
|
+
class="labelauty-unchecked">2</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg><!-- <i class="fas fa-check fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
797
|
+
<span
|
|
798
|
+
class="labelauty-checked">2</span>
|
|
799
|
+
</label>
|
|
800
|
+
<input aria-label="3" alt="3" class="dafield1 danon-nota-checkbox da-to-labelauty checkbox-icon labelauty da-active-invisible dafullwidth" id="ZG91YmxlX3F1b3RlX2RpY3RbImRvdWJsZV9xdW90ZV9rZXkiXQ_2" name="ZG91YmxlX3F1b3RlX2RpY3RbImRvdWJsZV9xdW90ZV9rZXkiXVtCJ1pIRmZkR2h5WldVJ10"
|
|
801
|
+
type="checkbox" value="True" aria-hidden="true" style="display: none;">
|
|
802
|
+
<label class="form-label btn-light" for="ZG91YmxlX3F1b3RlX2RpY3RbImRvdWJsZV9xdW90ZV9rZXkiXQ_2" tabindex="0" role="checkbox" aria-checked="false" aria-label="3"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-square fa-w-14 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="square" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"></path></svg><!-- <i class="far fa-square fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
803
|
+
<span
|
|
804
|
+
class="labelauty-unchecked">3</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg><!-- <i class="fas fa-check fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
805
|
+
<span
|
|
806
|
+
class="labelauty-checked">3</span>
|
|
807
|
+
</label>
|
|
808
|
+
<input aria-label="None of the above" alt="None of the above" class="dafield1 danota-checkbox da-to-labelauty checkbox-icon labelauty da-active-invisible dafullwidth" type="checkbox" name="_ignore1" aria-hidden="true" id="labelauty-382460"
|
|
809
|
+
style="display: none;">
|
|
810
|
+
<label class="form-label btn-light" for="labelauty-382460" tabindex="0" role="checkbox" aria-checked="false" aria-label="None of the above"><span class="labelauty-unchecked-image text-muted"><svg class="svg-inline--fa fa-square fa-w-14 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="square" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"></path></svg><!-- <i class="far fa-square fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
811
|
+
<span
|
|
812
|
+
class="labelauty-unchecked">None of the above</span><span class="labelauty-checked-image"><svg class="svg-inline--fa fa-check fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg><!-- <i class="fas fa-check fa-fw"></i> Font Awesome fontawesome.com --></span>
|
|
813
|
+
<span
|
|
814
|
+
class="labelauty-checked">None of the above</span>
|
|
815
|
+
</label>
|
|
816
|
+
</fieldset>
|
|
817
|
+
</div>
|
|
818
|
+
</div>
|
|
819
|
+
<input type="hidden" name="_checkboxes" value="eyJjMmx1WjJ4bFgzRjFiM1JsWDJScFkzUmJKM05wYm1kc1pWOXhkVzkwWlY5clpYa25YVnRDSjJNelJtWmlNalZzSjEwIjogIkZhbHNlIiwgImMybHVaMnhsWDNGMWIzUmxYMlJwWTNSYkozTnBibWRzWlY5eGRXOTBaVjlyWlhrblhWdENKMk16Um1aa1NHUjJKMTAiOiAiRmFsc2UiLCAiYzJsdVoyeGxYM0YxYjNSbFgyUnBZM1JiSjNOcGJtZHNaVjl4ZFc5MFpWOXJaWGtuWFZ0Q0oyTXpSbVprUjJoNVdsZFZKMTAiOiAiRmFsc2UiLCAiWkc5MVlteGxYM0YxYjNSbFgyUnBZM1JiSW1SdmRXSnNaVjl4ZFc5MFpWOXJaWGtpWFZ0Q0oxcElSbVppTWpWc0oxMCI6ICJGYWxzZSIsICJaRzkxWW14bFgzRjFiM1JsWDJScFkzUmJJbVJ2ZFdKc1pWOXhkVzkwWlY5clpYa2lYVnRDSjFwSVJtWmtTR1IySjEwIjogIkZhbHNlIiwgIlpHOTFZbXhsWDNGMWIzUmxYMlJwWTNSYkltUnZkV0pzWlY5eGRXOTBaVjlyWlhraVhWdENKMXBJUm1aa1IyaDVXbGRWSjEwIjogIkZhbHNlIn0">
|
|
820
|
+
<fieldset class="da-button-set da-field-buttons">
|
|
821
|
+
<legend class="visually-hidden">Press one of the following buttons:</legend>
|
|
822
|
+
<button class="btn btn-da btn-primary" type="submit">Continue</button>
|
|
823
|
+
</fieldset>
|
|
824
|
+
<input type="hidden" name="csrf_token" value="IjdmYTE5MzE3ZjY5OTE0Y2MzMGQwYzVkNjJmZDViZjcyMDM4MDZmMWIi.YaI9GQ.FV-3E3wNClsNK6F_lvJlxdVDxXY">
|
|
825
|
+
<input type="hidden" name="_event" value="WyJkb3VibGVfcXVvdGVfZGljdFsnZG91YmxlX3F1b3RlX2tleSddIl0">
|
|
826
|
+
<input type="hidden" name="_question_name" value="ID group of complex fields">
|
|
827
|
+
<input type="hidden" name="_tracker" value="3">
|
|
828
|
+
<input type="hidden" name="_datatypes" value="eyJjMmx1WjJ4bFgzRjFiM1JsWDJScFkzUmJKM05wYm1kc1pWOXhkVzkwWlY5clpYa25YUSI6ICJjaGVja2JveGVzIiwgIlpHOTFZbXhsWDNGMWIzUmxYMlJwWTNSYkltUnZkV0pzWlY5eGRXOTBaVjlyWlhraVhRIjogImNoZWNrYm94ZXMifQ">
|
|
829
|
+
<input type="hidden" name="_visible" value="">
|
|
830
|
+
<input type="hidden" name="_varnames" value="eyJYMlpwWld4a1h6QSI6ICJjMmx1WjJ4bFgzRjFiM1JsWDJScFkzUmJKM05wYm1kc1pWOXhkVzkwWlY5clpYa25YUSIsICJYMlpwWld4a1h6RSI6ICJaRzkxWW14bFgzRjFiM1JsWDJScFkzUmJJbVJ2ZFdKc1pWOXhkVzkwWlY5clpYa2lYUSJ9">
|
|
831
|
+
</form>
|
|
832
|
+
</div>`;
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
// // ============================
|
|
836
|
+
// // `.there_is_another`
|
|
837
|
+
// // ============================
|
|
838
|
+
// html.there_is_another = `
|
|
839
|
+
// <div id="daquestion" aria-labelledby="dapagetitle" role="main" class="tab-pane fade show active offset-xl-3 offset-lg-3 col-xl-6 col-lg-6 offset-md-2 col-md-8">
|
|
840
|
+
// <div data-variable="cHJveHlfbGlzdC50aGVyZV9pc19hbm90aGVy" id="trigger" aria-hidden="true" style="display: none;"></div>
|
|
841
|
+
// <form aria-labelledby="daMainQuestion" action="/interview?i=docassemble.playground12ALTestingTestsNewDOM%3Aall_tests.yml" id="daform" method="POST" novalidate="novalidate">
|
|
842
|
+
// <div class="da-page-header">
|
|
843
|
+
// <h1 class="h3" id="daMainQuestion">Is there another proxy var?</h1>
|
|
844
|
+
// <div class="daclear"></div>
|
|
845
|
+
// </div>
|
|
846
|
+
// <fieldset class="da-button-set da-field-yesno">
|
|
847
|
+
// <legend class="visually-hidden">Press one of the following buttons:</legend>
|
|
848
|
+
// <button class="btn btn-primary btn-da" name="eC50aGVyZV9pc19hbm90aGVy" type="submit" value="True">Yes</button>
|
|
849
|
+
// <button class="btn btn-secondary btn-da" name="eC50aGVyZV9pc19hbm90aGVy" type="submit" value="False">No</button>
|
|
850
|
+
// </fieldset>
|
|
851
|
+
// <input type="hidden" name="csrf_token" value="IjdmYTE5MzE3ZjY5OTE0Y2MzMGQwYzVkNjJmZDViZjcyMDM4MDZmMWIi.YZ5KUQ.2ObHJubASqN4YqSlhzwDhdZxaoQ">
|
|
852
|
+
// <input type="hidden" name="_event" value="WyJwcm94eV9saXN0LnRoZXJlX2lzX2Fub3RoZXIiXQ">
|
|
853
|
+
// <input type="hidden" name="_question_name" value="ID is there another generic">
|
|
854
|
+
// <input type="hidden" name="_tracker" value="19">
|
|
855
|
+
// <input type="hidden" name="_datatypes" value="eyJlQzUwYUdWeVpWOXBjMTloYm05MGFHVnkiOiAiYm9vbGVhbiJ9">
|
|
856
|
+
// <input type="hidden" name="_visible" value="">
|
|
857
|
+
// </form>
|
|
858
|
+
// </div>`;
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
module.exports = html;
|