@qld-gov-au/qgds-bootstrap5 1.1.38 → 1.1.39
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/.storybook/preview-head.html +16 -17
- package/.storybook/preview.js +4 -4
- package/dist/assets/components/bs5/globalAlert/globalAlert.hbs +26 -14
- package/dist/assets/components/bs5/head/head.hbs +1 -1
- package/dist/assets/components/bs5/icons/icon.hbs +3 -0
- package/dist/assets/components/bs5/searchInput/searchInput.hbs +1 -1
- package/dist/assets/components/bs5/skiplinks/skipLinks.hbs +5 -0
- package/dist/assets/css/qld.bootstrap.css +1 -1
- package/dist/assets/css/qld.bootstrap.css.map +3 -3
- package/dist/assets/js/handlebars.init.min.js +64 -47
- package/dist/assets/js/handlebars.init.min.js.map +4 -4
- package/dist/assets/js/handlebars.partials.js +4 -0
- package/dist/assets/js/qld.bootstrap.min.js +4 -4
- package/dist/assets/js/qld.bootstrap.min.js.map +4 -4
- package/dist/assets/node/handlebars.init.min.js +58 -3
- package/dist/assets/node/handlebars.init.min.js.map +3 -3
- package/dist/components/bs5/globalAlert/globalAlert.hbs +26 -14
- package/dist/components/bs5/head/head.hbs +1 -1
- package/dist/components/bs5/icons/icon.hbs +3 -0
- package/dist/components/bs5/searchInput/searchInput.hbs +1 -1
- package/dist/components/bs5/skiplinks/skipLinks.hbs +5 -0
- package/dist/components/handlebars.partials.js +4 -0
- package/dist/package.json +1 -1
- package/dist/sample-data/globalAlert/globalAlert.data.json +82 -61
- package/dist/sample-data/skiplinks/skipLinks.data.json +12 -0
- package/package.json +1 -1
- package/src/components/bs5/globalAlert/globalAlert.data.json +82 -61
- package/src/components/bs5/globalAlert/globalAlert.function.js +72 -0
- package/src/components/bs5/globalAlert/globalAlert.hbs +26 -14
- package/src/components/bs5/globalAlert/globalAlert.scss +193 -173
- package/src/components/bs5/globalAlert/globalAlert.test.js +348 -0
- package/src/components/bs5/icons/icon.hbs +3 -0
- package/src/components/bs5/searchInput/__snapshots__/searchInput.test.js.snap +46 -0
- package/src/components/bs5/searchInput/search.functions.js +12 -12
- package/src/components/bs5/searchInput/searchInput.hbs +1 -1
- package/src/components/bs5/searchInput/searchInput.scss +0 -1
- package/src/components/bs5/searchInput/searchInput.test.js +419 -0
- package/src/components/bs5/skiplinks/SkipLinks.js +11 -0
- package/src/components/bs5/skiplinks/SkipLinks.mdx +33 -0
- package/src/components/bs5/skiplinks/__snapshots__/skipLinks.test.js.snap +8 -0
- package/src/components/bs5/skiplinks/skipLinks.data.json +12 -0
- package/src/components/bs5/skiplinks/skipLinks.functions.js +29 -0
- package/src/components/bs5/skiplinks/skipLinks.hbs +5 -0
- package/src/components/bs5/skiplinks/skipLinks.scss +43 -0
- package/src/components/bs5/skiplinks/skipLinks.stories.js +29 -0
- package/src/components/bs5/skiplinks/skipLinks.test.js +80 -0
- package/src/css/main.scss +18 -6
- package/src/css/mixins/focusable.scss +1 -6
- package/src/js/handlebars.partials.js +4 -0
- package/src/js/qld.bootstrap.js +70 -25
- package/src/js/testingutils.js +80 -12
- package/src/js/utils.js +49 -0
- package/src/stories/integration/globalAlert.data.json +3 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(()=>{function n(C){C.registerHelper("contains",function(e,
|
|
1
|
+
"use strict";(()=>{function n(C){C.registerHelper("contains",function(e,t,a){return e=C.escapeExpression(e),t=C.escapeExpression(t),t.indexOf(e)>-1?a.fn(this):a.inverse(this)}),C.registerHelper("ifCond",function(e,t,a,i){switch(t){case"==":return e==a?i.fn(this):i.inverse(this);case"===":return e===a?i.fn(this):i.inverse(this);case"!=":return e!=a?i.fn(this):i.inverse(this);case"!==":return e!==a?i.fn(this):i.inverse(this);case"<":return e<a?i.fn(this):i.inverse(this);case"<=":return e<=a?i.fn(this):i.inverse(this);case">":return e>a?i.fn(this):i.inverse(this);case">=":return e>=a?i.fn(this):i.inverse(this);case"&&":return e&&a?i.fn(this):i.inverse(this);case"||":return e||a?i.fn(this):i.inverse(this);case"contains":return typeof e=="string"&&typeof a=="string"?e.toLowerCase().indexOf(a.toLowerCase())>=0?i.fn(this):i.inverse(this):i.inverse(this);default:return i.inverse(this)}}),C.registerHelper("isType",function(e,t,a){return e===t?a.fn(this):a.inverse(this)}),C.registerHelper("ifAny",function(...e){let t=e.pop();return e.some(a=>!!a)?t.fn(this):t.inverse(this)}),C.registerHelper("now",function(){return new Date().toISOString()}),C.registerHelper("formatDate",function(e,t,a){let i;if(e&&(i=new Date(e)),isNaN(i)&&t&&(i=new Date(t)),isNaN(i))return"Invalid Date";var l=["January","February","March","April","May","June","July","August","September","October","November","December"],r=i.getDate(),o=l[i.getMonth()],s=i.getFullYear();switch(a){case"YYYY":return`${s}`;case"MMMM YYYY":return`${o} ${s}`;default:return`${r} ${o} ${s}`}}),C.registerHelper("formatDateOrToday",function(e,t){let a=e||new Date().toISOString();return C.helpers.formatDate(e,a,t)}),C.registerHelper("formatDuration",function(e,t){if(!e)return"";if(typeof e=="string"&&t!=="long")return e;let a="",i=[],l,r,o;if(typeof e=="string"){let s=e.split(":");o=s[0],s.length==2?[r="",o=""]=s:s.length==3&&([l="",r="",o=""]=s)}else[l="",r="",o=""]=e;return t==="long"?(l>0&&i.push(`${l} hour${l>1?"s":""}`),r>0&&i.push(`${r} minute${r>1?"s":""}`),o>0&&i.push(`${o} second${o>1?"s":""}`),a=i.join(" ")):(l>0&&i.push(l.toString().padStart(2,0)),i.push(r.toString().padStart(2,0)),i.push(o.toString().padStart(2,0)),a=i.join(":")),a}),C.registerHelper("isdefined",function(e,t){return e!==void 0?e:t}),C.registerHelper("isdefined",function(e,t){return e!==void 0&&e!==""?e:t}),C.registerHelper("getClassNames",function(e,t){let a=e.split(",").map(l=>l.trim()),i=[];for(let l=0;l<a.length;l++){let r=a[l];if(t){for(let o=0;o<t.length;o++)if(t[o][r]===!0){i.push(r);break}}}return i.length>0?i.join(" "):""}),C.registerHelper("join",function(e,t){return(!t||typeof t!="string")&&(t=" "),Array.isArray(e)?e.join(t):e}),C.registerHelper("toCamelCase",function(e){return typeof e!="string"?e:e.toLowerCase().replace(/(?:^\w|[A-Z]|\b\w|\s+)/g,(t,a)=>a===0?t.toLowerCase():t.toUpperCase()).replace(/\s+/g,"")})}typeof Handlebars!="undefined"&&n(Handlebars);var c=`<!-- QGDS Component: Accordion -->
|
|
2
2
|
<div class="accordion-group">
|
|
3
3
|
|
|
4
4
|
{{#if toggleAll}}
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
{{/if}}
|
|
185
185
|
</a>
|
|
186
186
|
|
|
187
|
-
{{/unless}}`;var
|
|
187
|
+
{{/unless}}`;var g=`<a class="qld-cta-link {{getClassNames "small, view-all" class}}"
|
|
188
188
|
{{#if id}}id="{{id}}"{{/if}}
|
|
189
189
|
href="{{href}}"
|
|
190
190
|
target="{{target}}"
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
>
|
|
193
193
|
{{label}}
|
|
194
194
|
<span class="icon" aria-hidden="true"></span>
|
|
195
|
-
</a>`;var
|
|
195
|
+
</a>`;var m=`<!-- QGDS Component: Callout -->
|
|
196
196
|
|
|
197
197
|
<div class="callout">
|
|
198
198
|
{{#if title}}
|
|
@@ -359,7 +359,7 @@
|
|
|
359
359
|
{{~#if arialabel}} aria-label="{{arialabel}}" {{/if~}}>
|
|
360
360
|
{{{label}}}
|
|
361
361
|
<span class="icon" aria-hidden="true"></span>
|
|
362
|
-
</a>`;var
|
|
362
|
+
</a>`;var k=`<footer class="qld-footer {{ variantClass }}" role="contentinfo">
|
|
363
363
|
<!-- Footer content container -->
|
|
364
364
|
<div class="container">
|
|
365
365
|
<div class="row">
|
|
@@ -717,7 +717,7 @@
|
|
|
717
717
|
|
|
718
718
|
</div>
|
|
719
719
|
</div>
|
|
720
|
-
</footer>`;var
|
|
720
|
+
</footer>`;var q=`<footer class="qld-footer {{ variantClass }}" role="contentinfo">
|
|
721
721
|
<!-- Footer content container -->
|
|
722
722
|
<div class="container">
|
|
723
723
|
<div class="row">
|
|
@@ -995,7 +995,7 @@
|
|
|
995
995
|
</div>
|
|
996
996
|
</div>
|
|
997
997
|
</div>
|
|
998
|
-
</footer>`;var
|
|
998
|
+
</footer>`;var y=`
|
|
999
999
|
{{#if questionLabel}}
|
|
1000
1000
|
<div class="qld-text-input-label {{listClasses}}">
|
|
1001
1001
|
{{questionLabel}}
|
|
@@ -1036,28 +1036,39 @@
|
|
|
1036
1036
|
|
|
1037
1037
|
<div class="global-alert-include">
|
|
1038
1038
|
{{#each alertItems}}
|
|
1039
|
-
<section class="global-alert {{variant}}"
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1039
|
+
<section role="region" class="global-alert alert container-full d-none {{variant}}" data-variant="{{variant}}"
|
|
1040
|
+
aria-label="{{ariaLabel}}" {{#if id}} data-id="{{id}}" {{/if}}{{#if dismissedExpiryDays}}
|
|
1041
|
+
data-expiry-days="{{dismissedExpiryDays}}" {{/if}}>
|
|
1042
|
+
<div class="qld-global-alert-main">
|
|
1043
|
+
<div class="global-alert-icon">
|
|
1044
|
+
{{#ifCond variant '==' 'global-alert-critical'}}
|
|
1045
|
+
<span class="qld-icon qld-icon-sm qld-icon-alert-danger" aria-hidden="true"></span>
|
|
1046
|
+
{{else ifCond variant '==' 'global-alert-info'}}
|
|
1047
|
+
<span class="qld-icon qld-icon-sm qld-icon-alert-information" aria-hidden="true"></span>
|
|
1048
|
+
{{else ifCond variant '==' 'global-alert-warning'}}
|
|
1049
|
+
<span class="qld-icon qld-icon-sm qld-icon-alert-warning" aria-hidden="true"></span>
|
|
1050
|
+
{{/ifCond}}
|
|
1051
|
+
</div>
|
|
1052
|
+
|
|
1053
|
+
<div class="global-alert-content">
|
|
1054
|
+
<div class="global-alert-message">
|
|
1055
|
+
{{{content}}}
|
|
1050
1056
|
</div>
|
|
1051
|
-
<div class="global-alert-
|
|
1052
|
-
|
|
1057
|
+
<div class="global-alert-action">
|
|
1058
|
+
{{{action}}}
|
|
1059
|
+
<span class="qld-icon qld-icon-sm qld-icon-arrow-right" aria-hidden="true"></span>
|
|
1053
1060
|
</div>
|
|
1054
1061
|
</div>
|
|
1062
|
+
{{#unless preventDismiss}}
|
|
1063
|
+
<div class="global-alert-close">
|
|
1064
|
+
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
1065
|
+
</div>
|
|
1066
|
+
{{/unless}}
|
|
1055
1067
|
</div>
|
|
1056
1068
|
</section>
|
|
1057
1069
|
{{/each }}
|
|
1058
|
-
</div
|
|
1059
|
-
|
|
1060
|
-
<!-- VERSION_DETAILS={"project_id":"@qld-gov-au/qgds-bootstrap5","version":"1.1.38","branch":"HEAD","tag":"v1.1.38","commit":"53a0cabf2e516a0a3b538aaee73fd92256da4876","majorVersion":"v1"} -->
|
|
1070
|
+
</div>`;var S=`
|
|
1071
|
+
<!-- VERSION_DETAILS={"project_id":"@qld-gov-au/qgds-bootstrap5","version":"1.1.39","branch":"HEAD","tag":"v1.1.39","commit":"2c736f6031ec90b38234ebcca5143d85d60c1aa1","majorVersion":"v1"} -->
|
|
1061
1072
|
|
|
1062
1073
|
{{! Select environment, used verbatium if not using predefind key
|
|
1063
1074
|
cdn := PROD|STAGING|BETA|TEST|DEV|???
|
|
@@ -1964,7 +1975,9 @@ cdn := PROD|STAGING|BETA|TEST|DEV|???
|
|
|
1964
1975
|
</div>
|
|
1965
1976
|
</div>
|
|
1966
1977
|
</header>
|
|
1967
|
-
<!-- HEADER END -->`;var D
|
|
1978
|
+
<!-- HEADER END -->`;var D=`<svg class="qld-icon-{{size}}"{{#if ariaLabel}} aria-label="{{ariaLabel}}"{{/if}}{{#if ariaHidden}} aria-hidden="{{ariaHidden}}"{{/if}}>
|
|
1979
|
+
<use href="./assets/img/icons-sprite.svg#qgds-icon-{{iconId}}"></use>
|
|
1980
|
+
</svg>`;var P=`{{! Image template }}
|
|
1968
1981
|
{{#*inline "imageTag"}}
|
|
1969
1982
|
<img class="{{ ratioClass }} {{ otherClass }} {{ positionX }} {{ positionY }}"
|
|
1970
1983
|
src="{{ src }}"
|
|
@@ -1997,7 +2010,7 @@ cdn := PROD|STAGING|BETA|TEST|DEV|???
|
|
|
1997
2010
|
{{/if}}
|
|
1998
2011
|
{{/if}}
|
|
1999
2012
|
{{{ content }}}
|
|
2000
|
-
</div>`;var
|
|
2013
|
+
</div>`;var O=`<!-- QGDS Partial: inpage-nav -->
|
|
2001
2014
|
|
|
2002
2015
|
<div class="qld-inpage-nav">
|
|
2003
2016
|
|
|
@@ -2011,7 +2024,7 @@ cdn := PROD|STAGING|BETA|TEST|DEV|???
|
|
|
2011
2024
|
{{/each}}
|
|
2012
2025
|
</ul>
|
|
2013
2026
|
|
|
2014
|
-
</div>`;var
|
|
2027
|
+
</div>`;var E=`{{#if data}}
|
|
2015
2028
|
<section class="link-column {{theme}}">
|
|
2016
2029
|
<ul class="nav {{#if items_flow_vert}}col-vert-{{columns}}{{else}}col-{{columns}}{{/if}}">
|
|
2017
2030
|
{{#ifCond items_flow '==' 'horizontal'}}
|
|
@@ -2058,7 +2071,7 @@ cdn := PROD|STAGING|BETA|TEST|DEV|???
|
|
|
2058
2071
|
{{~{value}~}}
|
|
2059
2072
|
</a>
|
|
2060
2073
|
</li>
|
|
2061
|
-
{{/inline}}`;var
|
|
2074
|
+
{{/inline}}`;var I=`{{> header header}}
|
|
2062
2075
|
{{> navbar navbar}}
|
|
2063
2076
|
{{> globalAlert globalAlert}}
|
|
2064
2077
|
<main>
|
|
@@ -2085,7 +2098,7 @@ cdn := PROD|STAGING|BETA|TEST|DEV|???
|
|
|
2085
2098
|
|
|
2086
2099
|
</div>
|
|
2087
2100
|
</main>
|
|
2088
|
-
{{> footer footer}}`;var
|
|
2101
|
+
{{> footer footer}}`;var F=`<!-- DCTERMS https://www.dublincore.org/specifications/dublin-core/dcmi-terms/-->
|
|
2089
2102
|
{{#if dcTerms}}
|
|
2090
2103
|
<link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" />
|
|
2091
2104
|
<link rel="schema.AGLSTERMS" href="https://agls.gov.au/documents/aglsterms/" />
|
|
@@ -2103,7 +2116,7 @@ cdn := PROD|STAGING|BETA|TEST|DEV|???
|
|
|
2103
2116
|
{{#if dcTerms.subject}}<meta name="DCTERMS.subject" content="{{ dcTerms.subject }}" />{{/if}}
|
|
2104
2117
|
{{#if dcTerms.audience}}<meta name="DCTERMS.audience" content="all" scheme="{{ dcTerms.audience }}" />{{/if}}
|
|
2105
2118
|
{{#if dcTerms.licenseUri}}<meta name="DCTERMS.license" scheme="DCTERMS.URI" content="{{ dcTerms.licenseUri }}">{{/if}}
|
|
2106
|
-
{{/if}}`;var
|
|
2119
|
+
{{/if}}`;var N=`
|
|
2107
2120
|
<!-- SEO (required) -->
|
|
2108
2121
|
{{#if description }}<meta name="description" content="{{ description }}" />{{/if}}
|
|
2109
2122
|
{{#if seo.pageSnippet }}<meta name="page.snippet" content="{{ seo.pageSnippet}}" />{{/if}}
|
|
@@ -2120,7 +2133,7 @@ cdn := PROD|STAGING|BETA|TEST|DEV|???
|
|
|
2120
2133
|
{{#if og.image }}<meta property="og:image" content="{{ og.image }}">{{/if}}
|
|
2121
2134
|
{{#ifAny og.twitter_image og.image }}<meta name="twitter:image:src" content="{{#if og.twitter_image }}{{ og.twitter_image }}{{else}}{{ og.image }}{{/if}}" />{{/ifAny}}
|
|
2122
2135
|
{{#if uri }}<meta property="og:url" content="{{ uri }}" />{{/if}}
|
|
2123
|
-
{{#if og.type }}<meta property="og:type" content="{{og.type}}" />{{/if}}`;var
|
|
2136
|
+
{{#if og.type }}<meta property="og:type" content="{{og.type}}" />{{/if}}`;var G=`<!-- Example button to trigger the modal -->
|
|
2124
2137
|
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#{{modalID}}">
|
|
2125
2138
|
{{launchButtonLabel}}
|
|
2126
2139
|
</button>
|
|
@@ -2157,7 +2170,7 @@ cdn := PROD|STAGING|BETA|TEST|DEV|???
|
|
|
2157
2170
|
|
|
2158
2171
|
</div>
|
|
2159
2172
|
</div>
|
|
2160
|
-
</div>`;var
|
|
2173
|
+
</div>`;var Q=`<!-- QGDS Partial: Primary navigation -->
|
|
2161
2174
|
|
|
2162
2175
|
<!-- Primary Navigation / Desktop -->
|
|
2163
2176
|
<nav id="main-nav" class="navbar navbar-expand-lg" aria-label="Website navigation" role="navigation">
|
|
@@ -2411,7 +2424,7 @@ cdn := PROD|STAGING|BETA|TEST|DEV|???
|
|
|
2411
2424
|
<div id="overlay" class="navbar__overlay" aria-controls="main-nav"></div>
|
|
2412
2425
|
</div>
|
|
2413
2426
|
</nav>
|
|
2414
|
-
<!-- MAIN NAVIGATION END -->`;var
|
|
2427
|
+
<!-- MAIN NAVIGATION END -->`;var B=`<!DOCTYPE html>
|
|
2415
2428
|
<html lang="en">
|
|
2416
2429
|
<head>
|
|
2417
2430
|
<meta charset="UTF-8">
|
|
@@ -2443,7 +2456,7 @@ cdn := PROD|STAGING|BETA|TEST|DEV|???
|
|
|
2443
2456
|
</main>
|
|
2444
2457
|
{{> footer footer}}
|
|
2445
2458
|
</body>
|
|
2446
|
-
</html>`;var
|
|
2459
|
+
</html>`;var J=`{{!
|
|
2447
2460
|
Component Name: QGDS QOL Pagination
|
|
2448
2461
|
Component Version: 1.0
|
|
2449
2462
|
Framework: Bootstrap 5.3
|
|
@@ -2485,7 +2498,7 @@ Reference: https://getbootstrap.com/docs/5.0/components/pagination/
|
|
|
2485
2498
|
|
|
2486
2499
|
</ul>
|
|
2487
2500
|
|
|
2488
|
-
</nav>`;var
|
|
2501
|
+
</nav>`;var W=`<section class="qld-promo-panel {{#ifCond type '==' 'indent-text'}}indent{{/ifCond}} {{#ifCond type '==' 'indent-img'}}indent{{/ifCond}} {{type}}">
|
|
2489
2502
|
<div class="row {{#ifCond type '==' 'promo'}}bg-img{{else}}{{variantClass}}{{/ifCond}} {{contentAlignment}}"
|
|
2490
2503
|
{{#ifCond type '==' 'promo'}}
|
|
2491
2504
|
style="background-image: url({{promoImage}});"
|
|
@@ -2534,7 +2547,7 @@ Reference: https://getbootstrap.com/docs/5.0/components/pagination/
|
|
|
2534
2547
|
{{/if}}
|
|
2535
2548
|
</div>
|
|
2536
2549
|
</div>
|
|
2537
|
-
</section>`;var
|
|
2550
|
+
</section>`;var Y=`<!-- QGDS Component: Loading Quick exit -->
|
|
2538
2551
|
|
|
2539
2552
|
<div class="qld-quick-exit"><!-- dark -->
|
|
2540
2553
|
<div class="container">
|
|
@@ -2573,7 +2586,7 @@ Reference: https://getbootstrap.com/docs/5.0/components/pagination/
|
|
|
2573
2586
|
</div>
|
|
2574
2587
|
</div>
|
|
2575
2588
|
</div>
|
|
2576
|
-
</div>`;var
|
|
2589
|
+
</div>`;var j=`<!--
|
|
2577
2590
|
QGDS Component: Search input
|
|
2578
2591
|
-->
|
|
2579
2592
|
<div class="container {{variantClass}}">
|
|
@@ -2582,7 +2595,7 @@ Reference: https://getbootstrap.com/docs/5.0/components/pagination/
|
|
|
2582
2595
|
autocomplete="off" aria-label="{{ ariaLabel }}" {{#each tags}} data-{{@key}}="{{this}}" {{/each}} />
|
|
2583
2596
|
|
|
2584
2597
|
{{#if suggestions}}
|
|
2585
|
-
<div class="suggestions suggestions__group">
|
|
2598
|
+
<div class="suggestions suggestions__group d-none">
|
|
2586
2599
|
<div class="default-suggestions">
|
|
2587
2600
|
<div class="suggestions-category mt-2">
|
|
2588
2601
|
<strong class="suggestions-category-label">Popular services</strong>
|
|
@@ -2619,7 +2632,7 @@ Reference: https://getbootstrap.com/docs/5.0/components/pagination/
|
|
|
2619
2632
|
</button>
|
|
2620
2633
|
</div>
|
|
2621
2634
|
</div>
|
|
2622
|
-
`;var
|
|
2635
|
+
`;var U=`<!-- QGDS Component: Select -->
|
|
2623
2636
|
|
|
2624
2637
|
<!-- Label for the first input field -->
|
|
2625
2638
|
<label class="qld-text-input-label {{#if isRequired}}field-required{{/if}} {{#if isDisabled}}field-disabled{{/if}}" for="example-1">
|
|
@@ -2653,7 +2666,7 @@ Reference: https://getbootstrap.com/docs/5.0/components/pagination/
|
|
|
2653
2666
|
<option value="2">Option 2</option>
|
|
2654
2667
|
<option value="3">Option 3</option>
|
|
2655
2668
|
</select>
|
|
2656
|
-
`;var
|
|
2669
|
+
`;var $=`<div class="qld-side-navigation">
|
|
2657
2670
|
|
|
2658
2671
|
<h2 class="nav-title">
|
|
2659
2672
|
{{#if navtitlelink }}
|
|
@@ -2718,11 +2731,15 @@ Reference: https://getbootstrap.com/docs/5.0/components/pagination/
|
|
|
2718
2731
|
</li>
|
|
2719
2732
|
{{/each}}
|
|
2720
2733
|
</ul>
|
|
2721
|
-
</div>`;var
|
|
2734
|
+
</div>`;var z=`<!-- Side Nav -->
|
|
2722
2735
|
<div class="col-12 col-lg-3 pe-lg-0 order-last order-lg-first mt-5 mt-lg-0">
|
|
2723
2736
|
{{> @partial-block }}
|
|
2724
2737
|
</div>
|
|
2725
|
-
`;var
|
|
2738
|
+
`;var X=`<nav class="qld-skip-links" aria-label="skip to content links">
|
|
2739
|
+
{{#each skipLinks}}
|
|
2740
|
+
<a class="qld-skip-links__item" href="#{{targetId}}">{{label}}</a>
|
|
2741
|
+
{{/each}}
|
|
2742
|
+
</nav>`;var K=`<!-- QGDS Component: Loading Spinner -->
|
|
2726
2743
|
|
|
2727
2744
|
<div class="qld-spinner {{#if stacked}}align-center{{/if}}" role="status">
|
|
2728
2745
|
<div class="spinner-border"></div>
|
|
@@ -2730,7 +2747,7 @@ Reference: https://getbootstrap.com/docs/5.0/components/pagination/
|
|
|
2730
2747
|
Loading...
|
|
2731
2748
|
</span>
|
|
2732
2749
|
</div>
|
|
2733
|
-
`;var
|
|
2750
|
+
`;var C2=`<!-- QGDS Component: Table -->
|
|
2734
2751
|
|
|
2735
2752
|
<div class="table-responsive qld-table {{customClass}}">
|
|
2736
2753
|
|
|
@@ -2778,7 +2795,7 @@ Reference: https://getbootstrap.com/docs/5.0/components/pagination/
|
|
|
2778
2795
|
{{/if}}
|
|
2779
2796
|
|
|
2780
2797
|
</table>
|
|
2781
|
-
</div>`;var
|
|
2798
|
+
</div>`;var e2=`
|
|
2782
2799
|
{{#ifCond type_variant '==' 'section-tabs'}}
|
|
2783
2800
|
<section class="container tab-content pb-5 pt-5 mb-0 {{~#if tab_variant}} {{tab_variant}} {{else}} default{{/if~}}">
|
|
2784
2801
|
<div class="row" style="padding-inline: 2.5rem;">
|
|
@@ -2823,7 +2840,7 @@ Reference: https://getbootstrap.com/docs/5.0/components/pagination/
|
|
|
2823
2840
|
</section>
|
|
2824
2841
|
{{/each }}
|
|
2825
2842
|
</div>
|
|
2826
|
-
</section>`;var
|
|
2843
|
+
</section>`;var i2=`<!-- QGDS Component: Tag -->
|
|
2827
2844
|
|
|
2828
2845
|
<ul class="tag-list {{variant}}">
|
|
2829
2846
|
{{#each tagItems}}
|
|
@@ -2835,7 +2852,7 @@ Reference: https://getbootstrap.com/docs/5.0/components/pagination/
|
|
|
2835
2852
|
</li>
|
|
2836
2853
|
{{/each }}
|
|
2837
2854
|
</ul>
|
|
2838
|
-
`;var
|
|
2855
|
+
`;var t2=`<!-- QGDS Component: Textarea -->
|
|
2839
2856
|
|
|
2840
2857
|
<!-- Label for the first input field -->
|
|
2841
2858
|
<label class="qld-text-input-label {{#if isRequired}}field-required{{/if}} {{#if isDisabled}}field-disabled{{/if}}"
|
|
@@ -2866,7 +2883,7 @@ Reference: https://getbootstrap.com/docs/5.0/components/pagination/
|
|
|
2866
2883
|
<!-- First text input field, described by the hint text above -->
|
|
2867
2884
|
<textarea id="example-1" class="qld-text-input form-control {{customClass}} {{#if isFilled}}form-style-filled{{/if}}"
|
|
2868
2885
|
placeholder="{{placeholder}}" rows="{{rows}}" {{#if isDisabled}}disabled{{/if}} {{#if isRequired}}required
|
|
2869
|
-
aria-required="true" {{/if}}></textarea>`;var
|
|
2886
|
+
aria-required="true" {{/if}}></textarea>`;var a2=`<!-- QGDS Component: Textbox -->
|
|
2870
2887
|
|
|
2871
2888
|
<!-- Label for the first input field -->
|
|
2872
2889
|
<label class="qld-text-input-label {{#if isRequired}}field-required{{/if}} {{#if isDisabled}}field-disabled{{/if}}"
|
|
@@ -2897,7 +2914,7 @@ Reference: https://getbootstrap.com/docs/5.0/components/pagination/
|
|
|
2897
2914
|
<!-- First text input field, described by the hint text above -->
|
|
2898
2915
|
<input id="example-1" class="qld-text-input form-control {{customClass}} {{#if isFilled}}form-style-filled{{/if}}"
|
|
2899
2916
|
type="text" placeholder="{{placeholder}}" aria-label="Text input example" {{#if isDisabled}}disabled{{/if}} {{#if
|
|
2900
|
-
isRequired}}required aria-required="true" {{/if}} />`;var
|
|
2917
|
+
isRequired}}required aria-required="true" {{/if}} />`;var l2="<!-- QGDS Partial: typography -->";var o2=`<!-- QGDS Component: Video -->
|
|
2901
2918
|
|
|
2902
2919
|
{{#if analyticsTrackingCode}}
|
|
2903
2920
|
<script type="text/javascript" defer="defer" src="https://extend.vimeocdn.com/ga/{{analyticsTrackingCode}}.js">
|
|
@@ -2943,5 +2960,5 @@ Reference: https://getbootstrap.com/docs/5.0/components/pagination/
|
|
|
2943
2960
|
</div>
|
|
2944
2961
|
{{! Render the transcript content in an accordion template }}
|
|
2945
2962
|
</section>
|
|
2946
|
-
`;function d(C){C.registerPartial("accordion",c),C.registerPartial("backToTop",f),C.registerPartial("banner",p),C.registerPartial("blockquote",u),C.registerPartial("breadcrumbs",h),C.registerPartial("breadcrumbsWrapper",L),C.registerPartial("button",v),C.registerPartial("callToAction",
|
|
2963
|
+
`;function d(C){C.registerPartial("accordion",c),C.registerPartial("backToTop",f),C.registerPartial("banner",p),C.registerPartial("blockquote",u),C.registerPartial("breadcrumbs",h),C.registerPartial("breadcrumbsWrapper",L),C.registerPartial("button",v),C.registerPartial("callToAction",g),C.registerPartial("callout",m),C.registerPartial("card",b),C.registerPartial("contentFooter",V),C.registerPartial("contentFooterWrapper",H),C.registerPartial("contentWrapper",M),C.registerPartial("correctincorrect",Z),C.registerPartial("dateinput",_),C.registerPartial("directionLinks",w),C.registerPartial("footer",k),C.registerPartial("footerForgov",q),C.registerPartial("formcheck",y),C.registerPartial("fullPage",x),C.registerPartial("globalAlert",T),C.registerPartial("head",S),C.registerPartial("header",R),C.registerPartial("icon",D),C.registerPartial("image",P),C.registerPartial("inpageAlert",A),C.registerPartial("inpagenav",O),C.registerPartial("linkColumns",E),C.registerPartial("mainContainerWrapper",I),C.registerPartial("metaDcTerms",F),C.registerPartial("metaOpenGraph",N),C.registerPartial("modal",G),C.registerPartial("navbar",Q),C.registerPartial("pageLayout",B),C.registerPartial("pagination",J),C.registerPartial("promotionalPanel",W),C.registerPartial("quickexit",Y),C.registerPartial("searchInput",j),C.registerPartial("select",U),C.registerPartial("sidenav",$),C.registerPartial("sidenavWrapper",z),C.registerPartial("skipLinks",X),C.registerPartial("spinner",K),C.registerPartial("table",C2),C.registerPartial("tabs",e2),C.registerPartial("tag",i2),C.registerPartial("textarea",t2),C.registerPartial("textbox",a2),C.registerPartial("typography",l2),C.registerPartial("video",o2)}typeof Handlebars!="undefined"&&d(Handlebars);var r2=!1;function s2(C){typeof C=="undefined"&&console.error("Handlebars.init requires HandleBars"),typeof C!="undefined"?(r2?console.log("HandleBars Helpers And Partials already loaded, loading again"):r2=!0,n(C),d(C)):console.log("Handlebars not found, init failed")}typeof Handlebars!="undefined"&&s2(Handlebars);})();
|
|
2947
2964
|
//# sourceMappingURL=handlebars.init.min.js.map
|