@qld-gov-au/qgds-bootstrap5 1.1.21 → 1.1.23
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/dist/assets/components/bs5/backToTop/backToTop.hbs +14 -0
- package/dist/assets/components/bs5/button/button.hbs +38 -27
- package/dist/assets/components/bs5/directionLinks/directionLinks.hbs +9 -0
- package/dist/assets/components/bs5/head/head.hbs +1 -1
- package/dist/assets/css/qld.bootstrap.css +1 -1
- package/dist/assets/css/qld.bootstrap.css.map +3 -3
- package/dist/assets/js/handlebars.helpers.bundle.js +1 -1
- package/dist/assets/js/handlebars.helpers.bundle.js.map +3 -3
- package/dist/assets/js/handlebars.helpers.js +7 -0
- package/dist/assets/js/handlebars.init.min.js +98 -66
- 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 +2 -2
- package/dist/assets/js/qld.bootstrap.min.js.map +4 -4
- package/dist/assets/node/handlebars.init.min.js +63 -29
- package/dist/assets/node/handlebars.init.min.js.map +3 -3
- package/dist/components/bs5/backToTop/backToTop.hbs +14 -0
- package/dist/components/bs5/button/button.hbs +38 -27
- package/dist/components/bs5/directionLinks/directionLinks.hbs +9 -0
- package/dist/components/bs5/head/head.hbs +1 -1
- package/dist/components/handlebars.helpers.js +7 -0
- package/dist/components/handlebars.partials.js +4 -0
- package/dist/package.json +7 -7
- package/dist/sample-data/backToTop/backToTop.data.json +10 -0
- package/dist/sample-data/directionLinks/directionLinks.data.json +7 -0
- package/package.json +7 -7
- package/src/components/bs5/backToTop/backToTop.data.json +10 -0
- package/src/components/bs5/backToTop/backToTop.functions.js +23 -0
- package/src/components/bs5/backToTop/backToTop.hbs +14 -0
- package/src/components/bs5/backToTop/backToTop.js +10 -0
- package/src/components/bs5/backToTop/backToTop.mdx +15 -0
- package/src/components/bs5/backToTop/backToTop.scss +101 -0
- package/src/components/bs5/backToTop/backToTop.stories.js +37 -0
- package/src/components/bs5/button/button.hbs +38 -27
- package/src/components/bs5/directionLinks/DirectionLinks.mdx +15 -0
- package/src/components/bs5/directionLinks/directionLinks.data.json +7 -0
- package/src/components/bs5/directionLinks/directionLinks.hbs +9 -0
- package/src/components/bs5/directionLinks/directionLinks.js +11 -0
- package/src/components/bs5/directionLinks/directionLinks.scss +116 -0
- package/src/components/bs5/directionLinks/directionLinks.stories.js +157 -0
- package/src/css/main.scss +2 -0
- package/src/css/qld-type.scss +67 -40
- package/src/css/qld-variables.scss +15 -3
- package/src/js/handlebars.helpers.js +7 -0
- package/src/js/handlebars.partials.js +4 -0
- package/src/js/qld.bootstrap.js +2 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(()=>{function
|
|
1
|
+
"use strict";(()=>{function c(f){f.registerHelper("contains",function(r,i,t){return r=f.escapeExpression(r),i=f.escapeExpression(i),i.indexOf(r)>-1?t.fn(this):t.inverse(this)}),f.registerHelper("ifCond",function(r,i,t,e){switch(i){case"==":return r==t?e.fn(this):e.inverse(this);case"===":return r===t?e.fn(this):e.inverse(this);case"!=":return r!=t?e.fn(this):e.inverse(this);case"!==":return r!==t?e.fn(this):e.inverse(this);case"<":return r<t?e.fn(this):e.inverse(this);case"<=":return r<=t?e.fn(this):e.inverse(this);case">":return r>t?e.fn(this):e.inverse(this);case">=":return r>=t?e.fn(this):e.inverse(this);case"&&":return r&&t?e.fn(this):e.inverse(this);case"||":return r||t?e.fn(this):e.inverse(this);case"contains":return typeof r=="string"&&typeof t=="string"?r.toLowerCase().indexOf(t.toLowerCase())>=0?e.fn(this):e.inverse(this):e.inverse(this);default:return e.inverse(this)}}),f.registerHelper("isType",function(r,i,t){return r===i?t.fn(this):t.inverse(this)}),f.registerHelper("ifAny",function(...r){let i=r.pop();return r.some(t=>!!t)?i.fn(this):i.inverse(this)}),f.registerHelper("now",function(){return new Date().toISOString()}),f.registerHelper("formatDate",function(r,i,t){let e;if(r&&(e=new Date(r)),isNaN(e)&&i&&(e=new Date(i)),isNaN(e))return"Invalid Date";var n=["January","February","March","April","May","June","July","August","September","October","November","December"],u=e.getDate(),s=n[e.getMonth()],h=e.getFullYear();switch(t){case"YYYY":return`${h}`;case"MMMM YYYY":return`${s} ${h}`;default:return`${u} ${s} ${h}`}}),f.registerHelper("formatDateOrToday",function(r,i){let t=r||new Date().toISOString();return f.helpers.formatDate(r,t,i)}),f.registerHelper("formatDuration",function(r,i){if(!r)return"";if(typeof r=="string"&&i!=="long")return r;let t="",e=[],n,u,s;if(typeof r=="string"){let h=r.split(":");s=h[0],h.length==2?[u="",s=""]=h:h.length==3&&([n="",u="",s=""]=h)}else[n="",u="",s=""]=r;return i==="long"?(n>0&&e.push(`${n} hour${n>1?"s":""}`),u>0&&e.push(`${u} minute${u>1?"s":""}`),s>0&&e.push(`${s} second${s>1?"s":""}`),t=e.join(" ")):(n>0&&e.push(n.toString().padStart(2,0)),e.push(u.toString().padStart(2,0)),e.push(s.toString().padStart(2,0)),t=e.join(":")),t}),f.registerHelper("isdefined",function(r,i){return r!==void 0?r:i}),f.registerHelper("getClassNames",function(r,i){let t=r.split(",").map(n=>n.trim()),e=[];for(let n=0;n<t.length;n++){let u=t[n];for(let s=0;s<i.length;s++)if(i[s][u]===!0){e.push(u);break}}return e.length>0?e.join(" "):""})}typeof Handlebars!="undefined"&&c(Handlebars);})();
|
|
2
2
|
//# sourceMappingURL=handlebars.helpers.bundle.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/js/handlebars.helpers.js"],
|
|
4
|
-
"sourcesContent": ["/* global Handlebars */\n/**\n * Registers Handlebars Helpers\n * @param {Handlebars} handlebars Templating engine\n * @returns {void} Result of the helper operation\n */\n\nexport default function handlebarsHelpers(handlebars) {\n // contains - if first object is in collection (second object) to return true\n handlebars.registerHelper(\"contains\", function (needle, haystack, options) {\n needle = handlebars.escapeExpression(needle);\n haystack = handlebars.escapeExpression(haystack);\n return haystack.indexOf(needle) > -1\n ? options.fn(this)\n : options.inverse(this);\n });\n // ifCond - checks conditions\n handlebars.registerHelper(\"ifCond\", function (v1, operator, v2, options) {\n switch (operator) {\n case \"==\":\n return v1 == v2 ? options.fn(this) : options.inverse(this);\n case \"===\":\n return v1 === v2 ? options.fn(this) : options.inverse(this);\n case \"!=\":\n return v1 != v2 ? options.fn(this) : options.inverse(this);\n case \"!==\":\n return v1 !== v2 ? options.fn(this) : options.inverse(this);\n case \"<\":\n return v1 < v2 ? options.fn(this) : options.inverse(this);\n case \"<=\":\n return v1 <= v2 ? options.fn(this) : options.inverse(this);\n case \">\":\n return v1 > v2 ? options.fn(this) : options.inverse(this);\n case \">=\":\n return v1 >= v2 ? options.fn(this) : options.inverse(this);\n case \"&&\":\n return v1 && v2 ? options.fn(this) : options.inverse(this);\n case \"||\":\n return v1 || v2 ? options.fn(this) : options.inverse(this);\n case \"contains\":\n if (typeof v1 == \"string\" && typeof v2 == \"string\") {\n return v1.toLowerCase().indexOf(v2.toLowerCase()) >= 0\n ? options.fn(this)\n : options.inverse(this);\n } else return options.inverse(this);\n default:\n return options.inverse(this);\n }\n });\n // isType - Checks is expected type\n handlebars.registerHelper('isType', function (value, expected, options) {\n if (value === expected) {\n return options.fn(this); // Render the block if condition is true\n } else {\n return options.inverse(this); // Render the else block if present\n }\n });\n // ifAny - {{{#ifAny variable1 variable2 variable3 variable4 etc}}, if any set then return true\n handlebars.registerHelper('ifAny', function (...args) {\n const options = args.pop(); // The last argument is the options object\n return args.some(arg => !!arg) ? options.fn(this) : options.inverse(this);\n });\n // now - return current timestamp i.e {{now}}\n handlebars.registerHelper('now', function() {\n return new Date().toISOString();\n });\n // formatDate - Format Date, for footer meta data i.e {{formatDate '2023-06-23'}}\n handlebars.registerHelper('formatDate', function(dateString, defaultDate, format) {\n // Use the dateString if provided, otherwise use the defaultDate, otherwise error\n let date;\n if (dateString) {\n date = new Date(dateString);\n }\n if (isNaN(date) && defaultDate) {\n date = new Date(defaultDate);\n }\n\n // Check if the date is valid\n if (isNaN(date)) {\n return 'Invalid Date';\n }\n\n var monthNames = [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"];\n var day = date.getDate();\n var month = monthNames[date.getMonth()];\n var year = date.getFullYear();\n // Format date based on the format string\n switch (format) {\n case 'YYYY':\n return `${year}`;\n case 'MMMM YYYY':\n return `${month} ${year}`;\n default:\n return `${day} ${month} ${year}`;\n }\n });\n\n // formatDateOrToday - Format Date if passed or today i.e. {{formatDateOrToday '2023-06-23'}} or {{formatDateOrToday}} <!-- This will use the current date -->\n handlebars.registerHelper('formatDateOrToday', function(dateString, format) {\n // Use the current date if dateString is missing or invalid\n const dateToFormat = dateString || new Date().toISOString();\n // Call the formatDate helper with the determined date and format\n return handlebars.helpers.formatDate(dateString, dateToFormat, format);\n });\n\n /**\n * Format time duration into a string.\n *\n * Supports two formats: \"short\" and \"long\".\n * - Short format: Display the duration in simplified format of \"HH:MM:SS\". It is the default format.\n * - Long format: Display the duration in descriptive format of \"X hours Y minutes Z seconds\".\n *\n * @param {Object | String} duration - Duration object with properties: 'hours', 'minutes', and 'seconds'. Duration string: \"HH:MM:SS\".\n * @param {String} format - Option for format type 'short' or 'long'. If none provided, 'short' is the defaut value.\n *\n * @returns {String} Formatted duration\n * Examples:\n * - 03:00:00 - 3 hours\n * - 03:15:00 - 3 hours 15 minutes\n * - 01:30:45 - 1 hour 30 minutes 45 seconds\n * - 02:00:45 - 2 hours 45 seconds\n * - 07:12 - 7 minutes 12 seconds\n * - 00:45 - 45 seconds\n *\n * Usage:\n * {{formatDuration duration}}\n * {{formatDuration duration \"long\"}}\n */\n handlebars.registerHelper('formatDuration', function(duration, format) {\n // Return empty string when there is no duration.\n if (!duration) {\n return \"\";\n }\n\n // Nothing to process here when the duration is already in short format string\n // (to support existing CMS metadata).\n if (typeof(duration) === 'string' && format !== \"long\") {\n return duration;\n }\n\n let durationString = \"\";\n let parts = [];\n let hours, minutes, seconds;\n\n // Support for string type 'duration'.\n if (typeof(duration) === 'string') {\n const durationSplit = duration.split(\":\"); \n seconds = durationSplit[0];\n if (durationSplit.length == 2) {\n [minutes = \"\", seconds = \"\"] = durationSplit;\n } else if (durationSplit.length == 3) {\n [hours = \"\", minutes = \"\", seconds = \"\"] = durationSplit;\n }\n } else {\n // Support for object type 'duration'.\n [hours = \"\", minutes = \"\", seconds = \"\"] = duration;\n }\n\n // Long format: \"X hours Y minutes Z seconds\"\n if (format === \"long\") {\n if (hours > 0) {\n parts.push(`${hours} hour${hours > 1 ? 's' : ''}`);\n }\n if (minutes > 0) {\n parts.push(`${minutes} minute${minutes > 1 ? 's' : ''}`);\n }\n if (seconds > 0) {\n parts.push(`${seconds} second${seconds > 1 ? 's' : ''}`);\n }\n durationString = parts.join(\" \");\n\n // Short format: \"HH:MM:SS\"\n } else {\n // Omitting hours when zero\n if (hours > 0) {\n parts.push(hours.toString().padStart(2, 0));\n }\n parts.push(minutes.toString().padStart(2, 0));\n parts.push(seconds.toString().padStart(2, 0));\n durationString = parts.join(\":\");\n }\n return durationString;\n });\n\n /**\n * Used to get class names added to an element based on their boolean values in an array\n * @param {string} names - Comma-separated list of class names to check for\n * @param {array} array - Array of objects to check for true values\n * @returns {string} - Space-separated list of class names that have true values\n */\n handlebars.registerHelper('getClassNames', function(names, array) {\n // Split the comma-separated string of names into an array\n let nameList = names.split(',').map(name => name.trim());\n\n // Create an array to hold the names that have true values\n let matchedItems = [];\n\n for (let i = 0; i < nameList.length; i++) {\n let name = nameList[i];\n // Check if any item in the array matches the name and is true\n for (let j = 0; j < array.length; j++) {\n if (array[j][name] === true) {\n matchedItems.push(name); // Add to matchedItems if found and true\n break;\n }\n }\n }\n\n // If we found any matched items, return them as a space-separated string\n if (matchedItems.length > 0) {\n return matchedItems.join(' ');\n } else {\n return \"\";\n }\n });\n \n}\n\nif(typeof(Handlebars) !== 'undefined') {\n handlebarsHelpers(Handlebars);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,
|
|
6
|
-
"names": ["handlebarsHelpers", "handlebars", "needle", "haystack", "options", "v1", "operator", "v2", "value", "expected", "args", "arg", "dateString", "defaultDate", "format", "date", "monthNames", "day", "month", "year", "dateToFormat", "duration", "durationString", "parts", "hours", "minutes", "seconds", "durationSplit", "names", "array", "nameList", "name", "matchedItems", "i", "j"]
|
|
4
|
+
"sourcesContent": ["/* global Handlebars */\n/**\n * Registers Handlebars Helpers\n * @param {Handlebars} handlebars Templating engine\n * @returns {void} Result of the helper operation\n */\n\nexport default function handlebarsHelpers(handlebars) {\n // contains - if first object is in collection (second object) to return true\n handlebars.registerHelper(\"contains\", function (needle, haystack, options) {\n needle = handlebars.escapeExpression(needle);\n haystack = handlebars.escapeExpression(haystack);\n return haystack.indexOf(needle) > -1\n ? options.fn(this)\n : options.inverse(this);\n });\n // ifCond - checks conditions\n handlebars.registerHelper(\"ifCond\", function (v1, operator, v2, options) {\n switch (operator) {\n case \"==\":\n return v1 == v2 ? options.fn(this) : options.inverse(this);\n case \"===\":\n return v1 === v2 ? options.fn(this) : options.inverse(this);\n case \"!=\":\n return v1 != v2 ? options.fn(this) : options.inverse(this);\n case \"!==\":\n return v1 !== v2 ? options.fn(this) : options.inverse(this);\n case \"<\":\n return v1 < v2 ? options.fn(this) : options.inverse(this);\n case \"<=\":\n return v1 <= v2 ? options.fn(this) : options.inverse(this);\n case \">\":\n return v1 > v2 ? options.fn(this) : options.inverse(this);\n case \">=\":\n return v1 >= v2 ? options.fn(this) : options.inverse(this);\n case \"&&\":\n return v1 && v2 ? options.fn(this) : options.inverse(this);\n case \"||\":\n return v1 || v2 ? options.fn(this) : options.inverse(this);\n case \"contains\":\n if (typeof v1 == \"string\" && typeof v2 == \"string\") {\n return v1.toLowerCase().indexOf(v2.toLowerCase()) >= 0\n ? options.fn(this)\n : options.inverse(this);\n } else return options.inverse(this);\n default:\n return options.inverse(this);\n }\n });\n // isType - Checks is expected type\n handlebars.registerHelper('isType', function (value, expected, options) {\n if (value === expected) {\n return options.fn(this); // Render the block if condition is true\n } else {\n return options.inverse(this); // Render the else block if present\n }\n });\n // ifAny - {{{#ifAny variable1 variable2 variable3 variable4 etc}}, if any set then return true\n handlebars.registerHelper('ifAny', function (...args) {\n const options = args.pop(); // The last argument is the options object\n return args.some(arg => !!arg) ? options.fn(this) : options.inverse(this);\n });\n // now - return current timestamp i.e {{now}}\n handlebars.registerHelper('now', function() {\n return new Date().toISOString();\n });\n // formatDate - Format Date, for footer meta data i.e {{formatDate '2023-06-23'}}\n handlebars.registerHelper('formatDate', function(dateString, defaultDate, format) {\n // Use the dateString if provided, otherwise use the defaultDate, otherwise error\n let date;\n if (dateString) {\n date = new Date(dateString);\n }\n if (isNaN(date) && defaultDate) {\n date = new Date(defaultDate);\n }\n\n // Check if the date is valid\n if (isNaN(date)) {\n return 'Invalid Date';\n }\n\n var monthNames = [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"];\n var day = date.getDate();\n var month = monthNames[date.getMonth()];\n var year = date.getFullYear();\n // Format date based on the format string\n switch (format) {\n case 'YYYY':\n return `${year}`;\n case 'MMMM YYYY':\n return `${month} ${year}`;\n default:\n return `${day} ${month} ${year}`;\n }\n });\n\n // formatDateOrToday - Format Date if passed or today i.e. {{formatDateOrToday '2023-06-23'}} or {{formatDateOrToday}} <!-- This will use the current date -->\n handlebars.registerHelper('formatDateOrToday', function(dateString, format) {\n // Use the current date if dateString is missing or invalid\n const dateToFormat = dateString || new Date().toISOString();\n // Call the formatDate helper with the determined date and format\n return handlebars.helpers.formatDate(dateString, dateToFormat, format);\n });\n\n /**\n * Format time duration into a string.\n *\n * Supports two formats: \"short\" and \"long\".\n * - Short format: Display the duration in simplified format of \"HH:MM:SS\". It is the default format.\n * - Long format: Display the duration in descriptive format of \"X hours Y minutes Z seconds\".\n *\n * @param {Object | String} duration - Duration object with properties: 'hours', 'minutes', and 'seconds'. Duration string: \"HH:MM:SS\".\n * @param {String} format - Option for format type 'short' or 'long'. If none provided, 'short' is the defaut value.\n *\n * @returns {String} Formatted duration\n * Examples:\n * - 03:00:00 - 3 hours\n * - 03:15:00 - 3 hours 15 minutes\n * - 01:30:45 - 1 hour 30 minutes 45 seconds\n * - 02:00:45 - 2 hours 45 seconds\n * - 07:12 - 7 minutes 12 seconds\n * - 00:45 - 45 seconds\n *\n * Usage:\n * {{formatDuration duration}}\n * {{formatDuration duration \"long\"}}\n */\n handlebars.registerHelper('formatDuration', function(duration, format) {\n // Return empty string when there is no duration.\n if (!duration) {\n return \"\";\n }\n\n // Nothing to process here when the duration is already in short format string\n // (to support existing CMS metadata).\n if (typeof(duration) === 'string' && format !== \"long\") {\n return duration;\n }\n\n let durationString = \"\";\n let parts = [];\n let hours, minutes, seconds;\n\n // Support for string type 'duration'.\n if (typeof(duration) === 'string') {\n const durationSplit = duration.split(\":\"); \n seconds = durationSplit[0];\n if (durationSplit.length == 2) {\n [minutes = \"\", seconds = \"\"] = durationSplit;\n } else if (durationSplit.length == 3) {\n [hours = \"\", minutes = \"\", seconds = \"\"] = durationSplit;\n }\n } else {\n // Support for object type 'duration'.\n [hours = \"\", minutes = \"\", seconds = \"\"] = duration;\n }\n\n // Long format: \"X hours Y minutes Z seconds\"\n if (format === \"long\") {\n if (hours > 0) {\n parts.push(`${hours} hour${hours > 1 ? 's' : ''}`);\n }\n if (minutes > 0) {\n parts.push(`${minutes} minute${minutes > 1 ? 's' : ''}`);\n }\n if (seconds > 0) {\n parts.push(`${seconds} second${seconds > 1 ? 's' : ''}`);\n }\n durationString = parts.join(\" \");\n\n // Short format: \"HH:MM:SS\"\n } else {\n // Omitting hours when zero\n if (hours > 0) {\n parts.push(hours.toString().padStart(2, 0));\n }\n parts.push(minutes.toString().padStart(2, 0));\n parts.push(seconds.toString().padStart(2, 0));\n durationString = parts.join(\":\");\n }\n return durationString;\n });\n\n // helper for extending components to set overridable data values\n // if the value is not set in the component data.json, it will use the hds data value\n handlebars.registerHelper('isdefined', function (value, defaultValue) {\n return value !== undefined ? value : defaultValue;\n });\n\n /**\n * Used to get class names added to an element based on their boolean values in an array\n * @param {string} names - Comma-separated list of class names to check for\n * @param {array} array - Array of objects to check for true values\n * @returns {string} - Space-separated list of class names that have true values\n */\n handlebars.registerHelper('getClassNames', function(names, array) {\n // Split the comma-separated string of names into an array\n let nameList = names.split(',').map(name => name.trim());\n\n // Create an array to hold the names that have true values\n let matchedItems = [];\n\n for (let i = 0; i < nameList.length; i++) {\n let name = nameList[i];\n // Check if any item in the array matches the name and is true\n for (let j = 0; j < array.length; j++) {\n if (array[j][name] === true) {\n matchedItems.push(name); // Add to matchedItems if found and true\n break;\n }\n }\n }\n\n // If we found any matched items, return them as a space-separated string\n if (matchedItems.length > 0) {\n return matchedItems.join(' ');\n } else {\n return \"\";\n }\n });\n \n\n}\n\nif(typeof(Handlebars) !== 'undefined') {\n handlebarsHelpers(Handlebars);\n}\n"],
|
|
5
|
+
"mappings": "mBAOe,SAARA,EAAmCC,EAAY,CAEpDA,EAAW,eAAe,WAAY,SAAUC,EAAQC,EAAUC,EAAS,CACzE,OAAAF,EAASD,EAAW,iBAAiBC,CAAM,EAC3CC,EAAWF,EAAW,iBAAiBE,CAAQ,EACxCA,EAAS,QAAQD,CAAM,EAAI,GAC9BE,EAAQ,GAAG,IAAI,EACfA,EAAQ,QAAQ,IAAI,CAC1B,CAAC,EAEDH,EAAW,eAAe,SAAU,SAAUI,EAAIC,EAAUC,EAAIH,EAAS,CACvE,OAAQE,EAAU,CAClB,IAAK,KACH,OAAOD,GAAME,EAAKH,EAAQ,GAAG,IAAI,EAAIA,EAAQ,QAAQ,IAAI,EAC3D,IAAK,MACH,OAAOC,IAAOE,EAAKH,EAAQ,GAAG,IAAI,EAAIA,EAAQ,QAAQ,IAAI,EAC5D,IAAK,KACH,OAAOC,GAAME,EAAKH,EAAQ,GAAG,IAAI,EAAIA,EAAQ,QAAQ,IAAI,EAC3D,IAAK,MACH,OAAOC,IAAOE,EAAKH,EAAQ,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g", "dateString", "defaultDate", "format", "date", "monthNames", "day", "month", "year", "dateToFormat", "duration", "durationString", "parts", "hours", "minutes", "seconds", "durationSplit", "defaultValue", "names", "array", "nameList", "name", "matchedItems", "i", "j"]
|
|
7
7
|
}
|
|
@@ -182,6 +182,12 @@ export default function handlebarsHelpers(handlebars) {
|
|
|
182
182
|
return durationString;
|
|
183
183
|
});
|
|
184
184
|
|
|
185
|
+
// helper for extending components to set overridable data values
|
|
186
|
+
// if the value is not set in the component data.json, it will use the hds data value
|
|
187
|
+
handlebars.registerHelper('isdefined', function (value, defaultValue) {
|
|
188
|
+
return value !== undefined ? value : defaultValue;
|
|
189
|
+
});
|
|
190
|
+
|
|
185
191
|
/**
|
|
186
192
|
* Used to get class names added to an element based on their boolean values in an array
|
|
187
193
|
* @param {string} names - Comma-separated list of class names to check for
|
|
@@ -214,6 +220,7 @@ export default function handlebarsHelpers(handlebars) {
|
|
|
214
220
|
}
|
|
215
221
|
});
|
|
216
222
|
|
|
223
|
+
|
|
217
224
|
}
|
|
218
225
|
|
|
219
226
|
if(typeof(Handlebars) !== 'undefined') {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(()=>{function n(C){C.registerHelper("contains",function(t,a,i){return t=C.escapeExpression(t),a=C.escapeExpression(a),a.indexOf(t)>-1?i.fn(this):i.inverse(this)}),C.registerHelper("ifCond",function(t,a,i,e){switch(a){case"==":return t==i?e.fn(this):e.inverse(this);case"===":return t===i?e.fn(this):e.inverse(this);case"!=":return t!=i?e.fn(this):e.inverse(this);case"!==":return t!==i?e.fn(this):e.inverse(this);case"<":return t<i?e.fn(this):e.inverse(this);case"<=":return t<=i?e.fn(this):e.inverse(this);case">":return t>i?e.fn(this):e.inverse(this);case">=":return t>=i?e.fn(this):e.inverse(this);case"&&":return t&&i?e.fn(this):e.inverse(this);case"||":return t||i?e.fn(this):e.inverse(this);case"contains":return typeof t=="string"&&typeof i=="string"?t.toLowerCase().indexOf(i.toLowerCase())>=0?e.fn(this):e.inverse(this):e.inverse(this);default:return e.inverse(this)}}),C.registerHelper("isType",function(t,a,i){return t===a?i.fn(this):i.inverse(this)}),C.registerHelper("ifAny",function(...t){let a=t.pop();return t.some(i=>!!i)?a.fn(this):a.inverse(this)}),C.registerHelper("now",function(){return new Date().toISOString()}),C.registerHelper("formatDate",function(t,a,i){let e;if(t&&(e=new Date(t)),isNaN(e)&&a&&(e=new Date(a)),isNaN(e))return"Invalid Date";var l=["January","February","March","April","May","June","July","August","September","October","November","December"],r=e.getDate(),o=l[e.getMonth()],s=e.getFullYear();switch(i){case"YYYY":return`${s}`;case"MMMM YYYY":return`${o} ${s}`;default:return`${r} ${o} ${s}`}}),C.registerHelper("formatDateOrToday",function(t,a){let i=t||new Date().toISOString();return C.helpers.formatDate(t,i,a)}),C.registerHelper("formatDuration",function(t,a){if(!t)return"";if(typeof t=="string"&&a!=="long")return t;let i="",e=[],l,r,o;if(typeof t=="string"){let s=t.split(":");o=s[0],s.length==2?[r="",o=""]=s:s.length==3&&([l="",r="",o=""]=s)}else[l="",r="",o=""]=t;return a==="long"?(l>0&&e.push(`${l} hour${l>1?"s":""}`),r>0&&e.push(`${r} minute${r>1?"s":""}`),o>0&&e.push(`${o} second${o>1?"s":""}`),i=e.join(" ")):(l>0&&e.push(l.toString().padStart(2,0)),e.push(r.toString().padStart(2,0)),e.push(o.toString().padStart(2,0)),i=e.join(":")),i}),C.registerHelper("getClassNames",function(t,a){let i=t.split(",").map(l=>l.trim()),e=[];for(let l=0;l<i.length;l++){let r=i[l];for(let o=0;o<a.length;o++)if(a[o][r]===!0){e.push(r);break}}return e.length>0?e.join(" "):""})}typeof Handlebars!="undefined"&&n(Handlebars);var c=`<!-- QGDS Component: Accordion -->
|
|
1
|
+
"use strict";(()=>{function n(C){C.registerHelper("contains",function(t,a,i){return t=C.escapeExpression(t),a=C.escapeExpression(a),a.indexOf(t)>-1?i.fn(this):i.inverse(this)}),C.registerHelper("ifCond",function(t,a,i,e){switch(a){case"==":return t==i?e.fn(this):e.inverse(this);case"===":return t===i?e.fn(this):e.inverse(this);case"!=":return t!=i?e.fn(this):e.inverse(this);case"!==":return t!==i?e.fn(this):e.inverse(this);case"<":return t<i?e.fn(this):e.inverse(this);case"<=":return t<=i?e.fn(this):e.inverse(this);case">":return t>i?e.fn(this):e.inverse(this);case">=":return t>=i?e.fn(this):e.inverse(this);case"&&":return t&&i?e.fn(this):e.inverse(this);case"||":return t||i?e.fn(this):e.inverse(this);case"contains":return typeof t=="string"&&typeof i=="string"?t.toLowerCase().indexOf(i.toLowerCase())>=0?e.fn(this):e.inverse(this):e.inverse(this);default:return e.inverse(this)}}),C.registerHelper("isType",function(t,a,i){return t===a?i.fn(this):i.inverse(this)}),C.registerHelper("ifAny",function(...t){let a=t.pop();return t.some(i=>!!i)?a.fn(this):a.inverse(this)}),C.registerHelper("now",function(){return new Date().toISOString()}),C.registerHelper("formatDate",function(t,a,i){let e;if(t&&(e=new Date(t)),isNaN(e)&&a&&(e=new Date(a)),isNaN(e))return"Invalid Date";var l=["January","February","March","April","May","June","July","August","September","October","November","December"],r=e.getDate(),o=l[e.getMonth()],s=e.getFullYear();switch(i){case"YYYY":return`${s}`;case"MMMM YYYY":return`${o} ${s}`;default:return`${r} ${o} ${s}`}}),C.registerHelper("formatDateOrToday",function(t,a){let i=t||new Date().toISOString();return C.helpers.formatDate(t,i,a)}),C.registerHelper("formatDuration",function(t,a){if(!t)return"";if(typeof t=="string"&&a!=="long")return t;let i="",e=[],l,r,o;if(typeof t=="string"){let s=t.split(":");o=s[0],s.length==2?[r="",o=""]=s:s.length==3&&([l="",r="",o=""]=s)}else[l="",r="",o=""]=t;return a==="long"?(l>0&&e.push(`${l} hour${l>1?"s":""}`),r>0&&e.push(`${r} minute${r>1?"s":""}`),o>0&&e.push(`${o} second${o>1?"s":""}`),i=e.join(" ")):(l>0&&e.push(l.toString().padStart(2,0)),e.push(r.toString().padStart(2,0)),e.push(o.toString().padStart(2,0)),i=e.join(":")),i}),C.registerHelper("isdefined",function(t,a){return t!==void 0?t:a}),C.registerHelper("getClassNames",function(t,a){let i=t.split(",").map(l=>l.trim()),e=[];for(let l=0;l<i.length;l++){let r=i[l];for(let o=0;o<a.length;o++)if(a[o][r]===!0){e.push(r);break}}return e.length>0?e.join(" "):""})}typeof Handlebars!="undefined"&&n(Handlebars);var c=`<!-- QGDS Component: Accordion -->
|
|
2
2
|
<div class="accordion-group">
|
|
3
3
|
|
|
4
4
|
{{#if toggleAll}}
|
|
@@ -26,7 +26,20 @@
|
|
|
26
26
|
</div>
|
|
27
27
|
|
|
28
28
|
</div>
|
|
29
|
-
`;var f
|
|
29
|
+
`;var f=`{{#unless hide_back_to_top}}
|
|
30
|
+
<div class="qld__widgets" data-min-page-height="{{isdefined min_page_height 0}}">
|
|
31
|
+
{{> button
|
|
32
|
+
variantClass=(isdefined button.variantClass "back-to-top")
|
|
33
|
+
islink=(isdefined button.islink true)
|
|
34
|
+
isdisabled=(isdefined button.isdisabled false)
|
|
35
|
+
iconClass=(isdefined button.iconClass "")
|
|
36
|
+
iconPosition=(isdefined button.iconPosition "trailing")
|
|
37
|
+
label=(isdefined button.label "Back to top")
|
|
38
|
+
href=(isdefined button.href "#")
|
|
39
|
+
target=(isdefined button.target "_self")
|
|
40
|
+
}}
|
|
41
|
+
</div>
|
|
42
|
+
{{/unless}}`;var p=`<!-- QGDS Partial: banner -->
|
|
30
43
|
|
|
31
44
|
<div class="container-fluid qld-banner {{variantClass}}">
|
|
32
45
|
|
|
@@ -54,7 +67,7 @@
|
|
|
54
67
|
|
|
55
68
|
<div class="banner-image {{image.classes}}" style="--banner-background-img:url({{image.url}})"></div>
|
|
56
69
|
|
|
57
|
-
</div>`;var
|
|
70
|
+
</div>`;var u=`<!-- QGDS Component: Blockquote -->
|
|
58
71
|
|
|
59
72
|
<figure class="blockquote {{classes}}">
|
|
60
73
|
|
|
@@ -66,7 +79,7 @@
|
|
|
66
79
|
{{cite-text}}
|
|
67
80
|
</figcaption>
|
|
68
81
|
|
|
69
|
-
</figure>`;var
|
|
82
|
+
</figure>`;var h=`<nav aria-label="breadcrumb">
|
|
70
83
|
<ol class="breadcrumb">
|
|
71
84
|
{{#each breadcrumbs}}
|
|
72
85
|
{{! print all breadcrumbs except the current page as links}}
|
|
@@ -82,7 +95,7 @@
|
|
|
82
95
|
{{/each}}
|
|
83
96
|
</ol>
|
|
84
97
|
</nav>
|
|
85
|
-
`;var
|
|
98
|
+
`;var L=`<!-- breadcrumbs-->
|
|
86
99
|
<div class="container-fluid alt">
|
|
87
100
|
<div class="container">
|
|
88
101
|
<div class="row">
|
|
@@ -92,37 +105,48 @@
|
|
|
92
105
|
</div>
|
|
93
106
|
</div>
|
|
94
107
|
</div>
|
|
95
|
-
</div>`;var
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
108
|
+
</div>`;var v=`{{!-- Button icon partial --}}
|
|
109
|
+
{{#*inline "buttonIcon"~}}
|
|
110
|
+
<span class="btn-icon {{iconClass}} {{iconPosition}}"></span>
|
|
111
|
+
{{~/inline}}
|
|
112
|
+
|
|
113
|
+
{{#unless islink}}
|
|
114
|
+
|
|
115
|
+
<button class="btn {{variantClass}} {{label}}" onclick="{{{onclick}}}" {{#if isdisabled}}disabled{{/if}} {{#if arialabel}}aria-label="{{arialabel}}"{{/if}} {{{dataatts}}}>
|
|
116
|
+
{{#if iconClass~}}
|
|
117
|
+
{{#ifCond iconPosition '==' 'leading'}}
|
|
118
|
+
{{~>buttonIcon~}}
|
|
119
|
+
{{/ifCond}}
|
|
120
|
+
{{/if}}
|
|
121
|
+
|
|
122
|
+
{{~label~}}
|
|
123
|
+
|
|
124
|
+
{{#if iconClass~}}
|
|
125
|
+
{{#ifCond iconPosition '==' 'trailing'}}
|
|
126
|
+
{{>buttonIcon~}}
|
|
127
|
+
{{/ifCond}}
|
|
128
|
+
{{/if}}
|
|
129
|
+
</button>
|
|
109
130
|
|
|
110
131
|
{{else}}
|
|
111
132
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
{{/
|
|
133
|
+
<a class="btn {{variantClass}} {{#if isdisabled}} disabled {{/if}}" {{#if isdisabled}}aria-disabled="true"{{/if}} href="{{href}}" target="{{target}}" {{#if arialabel}}aria-label="{{arialabel}}"{{/if}} {{{dataatts}}}>
|
|
134
|
+
{{#if iconClass~}}
|
|
135
|
+
{{#ifCond iconPosition '==' 'leading'}}
|
|
136
|
+
{{~> buttonIcon~}}
|
|
137
|
+
{{/ifCond}}
|
|
138
|
+
{{/if}}
|
|
139
|
+
|
|
140
|
+
{{~label~}}
|
|
141
|
+
|
|
142
|
+
{{#if iconClass~}}
|
|
143
|
+
{{#ifCond iconPosition '==' 'trailing'}}
|
|
144
|
+
{{~> buttonIcon~}}
|
|
145
|
+
{{/ifCond}}
|
|
146
|
+
{{/if}}
|
|
147
|
+
</a>
|
|
148
|
+
|
|
149
|
+
{{/unless}}`;var g=`<a class="qld-cta-link {{getClassNames "small, view-all" class}}"
|
|
126
150
|
{{#if id}}id="{{id}}"{{/if}}
|
|
127
151
|
href="{{href}}"
|
|
128
152
|
target="{{target}}"
|
|
@@ -138,7 +162,7 @@
|
|
|
138
162
|
{{/if}}
|
|
139
163
|
<div class="callout-text">{{{content}}}</div>
|
|
140
164
|
</div>
|
|
141
|
-
`;var
|
|
165
|
+
`;var V=`<!-- QGDS Partial: card -->
|
|
142
166
|
|
|
143
167
|
<div class="col{{#if feature}}-md-12 col-lg-12{{/if}}">
|
|
144
168
|
|
|
@@ -204,19 +228,19 @@
|
|
|
204
228
|
</div>
|
|
205
229
|
|
|
206
230
|
</div>
|
|
207
|
-
`;var
|
|
231
|
+
`;var H=`<dl class="qld-content-dates">
|
|
208
232
|
<dt>Last updated:</dt>
|
|
209
233
|
<dd>{{formatDateOrToday lastUpdated }}</dd>
|
|
210
|
-
</dl>`;var
|
|
234
|
+
</dl>`;var M=`<div class="container qld-content-footer">
|
|
211
235
|
<div class="row">
|
|
212
236
|
{{> @partial-block }}
|
|
213
237
|
</div>
|
|
214
|
-
</div>`;var
|
|
238
|
+
</div>`;var b=`<!-- Content Wrapper -->
|
|
215
239
|
<div class="col-12 col-lg-8 ps-lg-64 qld-content-body" id="content">
|
|
216
240
|
{{#if title}}<h1>{{title}}</h1>{{/if}}
|
|
217
241
|
{{> @partial-block }}
|
|
218
242
|
</div>
|
|
219
|
-
`;var
|
|
243
|
+
`;var Z="";var _=`<!-- QGDS Component: Date input -->
|
|
220
244
|
|
|
221
245
|
<!-- Label -->
|
|
222
246
|
<label id="dategroup-label"
|
|
@@ -280,7 +304,15 @@
|
|
|
280
304
|
</div>
|
|
281
305
|
</div>
|
|
282
306
|
</div>
|
|
283
|
-
`;var
|
|
307
|
+
`;var w=`{{! valid class values are: up, down, left, right}}
|
|
308
|
+
<a class="qld-dir-link {{class}}"
|
|
309
|
+
{{~#if id}} id="{{id}}" {{/if~}}
|
|
310
|
+
href="{{href}}"
|
|
311
|
+
{{~#if target}} target="{{target}}"{{/if~}}
|
|
312
|
+
{{~#if arialabel}} aria-label="{{arialabel}}" {{/if~}}>
|
|
313
|
+
{{{label}}}
|
|
314
|
+
<span class="icon" aria-hidden="true"></span>
|
|
315
|
+
</a>`;var q=`<footer class="qld-footer {{ variantClass }}" role="contentinfo">
|
|
284
316
|
<!-- Footer content container -->
|
|
285
317
|
<div class="container">
|
|
286
318
|
<div class="row">
|
|
@@ -638,7 +670,7 @@
|
|
|
638
670
|
|
|
639
671
|
</div>
|
|
640
672
|
</div>
|
|
641
|
-
</footer>`;var
|
|
673
|
+
</footer>`;var x=`<footer class="qld-footer {{ variantClass }}" role="contentinfo">
|
|
642
674
|
<!-- Footer content container -->
|
|
643
675
|
<div class="container">
|
|
644
676
|
<div class="row">
|
|
@@ -916,7 +948,7 @@
|
|
|
916
948
|
</div>
|
|
917
949
|
</div>
|
|
918
950
|
</div>
|
|
919
|
-
</footer>`;var
|
|
951
|
+
</footer>`;var y=`
|
|
920
952
|
{{#if questionLabel}}
|
|
921
953
|
<div class="qld-text-input-label {{listClasses}}">
|
|
922
954
|
{{questionLabel}}
|
|
@@ -938,7 +970,7 @@
|
|
|
938
970
|
</label>
|
|
939
971
|
</div>
|
|
940
972
|
{{/each}}
|
|
941
|
-
`;var
|
|
973
|
+
`;var k=`<!DOCTYPE html>
|
|
942
974
|
<html lang="en">
|
|
943
975
|
<head>
|
|
944
976
|
<meta charset="UTF-8">
|
|
@@ -953,7 +985,7 @@
|
|
|
953
985
|
{{> @partial-block }}
|
|
954
986
|
{{/mainContainerWrapper}}
|
|
955
987
|
</body>
|
|
956
|
-
</html>`;var
|
|
988
|
+
</html>`;var T=`<!-- QGDS Component: Global Alert -->
|
|
957
989
|
|
|
958
990
|
<div class="global-alert-include">
|
|
959
991
|
{{#each alertItems}}
|
|
@@ -977,8 +1009,8 @@
|
|
|
977
1009
|
</section>
|
|
978
1010
|
{{/each }}
|
|
979
1011
|
</div>
|
|
980
|
-
`;var
|
|
981
|
-
<!-- VERSION_DETAILS={"project_id":"@qld-gov-au/qgds-bootstrap5","version":"1.1.
|
|
1012
|
+
`;var S=`
|
|
1013
|
+
<!-- VERSION_DETAILS={"project_id":"@qld-gov-au/qgds-bootstrap5","version":"1.1.23","branch":"HEAD","tag":"v1.1.23","commit":"7368a2c584a90cba60069072b6d04939847510fa","majorVersion":"v1"} -->
|
|
982
1014
|
|
|
983
1015
|
{{! Select environment, used verbatium if not using predefind key
|
|
984
1016
|
cdn := PROD|STAGING|BETA|TEST|DEV|???
|
|
@@ -988,7 +1020,7 @@ cdn := PROD|STAGING|BETA|TEST|DEV|???
|
|
|
988
1020
|
|
|
989
1021
|
<script type="text/javascript" async src="{{#if cdn }}{{#ifCond cdn '==' 'PROD'}}https://static.qgov.net.au/qgds-bootstrap5/v1/v1.x.x-latest{{else}}{{#ifCond cdn '==' 'STAGING'}}https://staging-static.qgov.net.au/qgds-bootstrap5/v1/v1.x.x-latest{{else}}{{#ifCond cdn '==' 'BETA'}}https://beta-static.qgov.net.au/qgds-bootstrap5/v1/v1.x.x-latest{{else}}{{#ifCond cdn '==' 'TEST'}}https://test-static.qgov.net.au/qgds-bootstrap5/v1/v1.x.x-latest{{else}}{{#ifCond cdn '==' 'DEV'}}https://dev-static.qgov.net.au/qgds-bootstrap5/v1/v1.x.x-latest{{else}}{{cdn}}{{/ifCond}}{{/ifCond}}{{/ifCond}}{{/ifCond}}{{/ifCond}}{{else}}missing{{/if}}/assets/js/bootstrap.min.js"><\/script>
|
|
990
1022
|
<script type="text/javascript" async src="{{#if cdn }}{{#ifCond cdn '==' 'PROD'}}https://static.qgov.net.au/qgds-bootstrap5/v1/v1.x.x-latest{{else}}{{#ifCond cdn '==' 'STAGING'}}https://staging-static.qgov.net.au/qgds-bootstrap5/v1/v1.x.x-latest{{else}}{{#ifCond cdn '==' 'BETA'}}https://beta-static.qgov.net.au/qgds-bootstrap5/v1/v1.x.x-latest{{else}}{{#ifCond cdn '==' 'TEST'}}https://test-static.qgov.net.au/qgds-bootstrap5/v1/v1.x.x-latest{{else}}{{#ifCond cdn '==' 'DEV'}}https://dev-static.qgov.net.au/qgds-bootstrap5/v1/v1.x.x-latest{{else}}{{cdn}}{{/ifCond}}{{/ifCond}}{{/ifCond}}{{/ifCond}}{{/ifCond}}{{else}}missing{{/if}}/assets/js/qld.bootstrap.min.js"><\/script>
|
|
991
|
-
`;var
|
|
1023
|
+
`;var R=`<header class="qld__header" role="banner">
|
|
992
1024
|
<nav class="qld__header__skip-link" aria-label="skip links" tabindex="-1">
|
|
993
1025
|
<a class="qld__header__skip-link__linkstyle" href="#content">Skip to main content</a>
|
|
994
1026
|
<a class="qld__header__skip-link__linkstyle" href="#main-nav">Skip to main navigation</a>
|
|
@@ -1885,12 +1917,12 @@ cdn := PROD|STAGING|BETA|TEST|DEV|???
|
|
|
1885
1917
|
</div>
|
|
1886
1918
|
</div>
|
|
1887
1919
|
</header>
|
|
1888
|
-
<!-- HEADER END -->`;var
|
|
1920
|
+
<!-- HEADER END -->`;var D=`<div class="alert {{variantClass}} {{customClass}}" role="alert">
|
|
1889
1921
|
{{#if heading}}
|
|
1890
1922
|
<div class="alert-heading" role="heading">{{{ heading }}}</div>
|
|
1891
1923
|
{{/if}}
|
|
1892
1924
|
{{{ content }}}
|
|
1893
|
-
</div>`;var
|
|
1925
|
+
</div>`;var O=`<!-- QGDS Partial: inpage-nav -->
|
|
1894
1926
|
|
|
1895
1927
|
<div class="qld-inpage-nav">
|
|
1896
1928
|
|
|
@@ -1904,7 +1936,7 @@ cdn := PROD|STAGING|BETA|TEST|DEV|???
|
|
|
1904
1936
|
{{/each}}
|
|
1905
1937
|
</ul>
|
|
1906
1938
|
|
|
1907
|
-
</div>`;var
|
|
1939
|
+
</div>`;var P=`{{> header header}}
|
|
1908
1940
|
{{> navbar navbar}}
|
|
1909
1941
|
{{> globalAlert globalAlert}}
|
|
1910
1942
|
<main>
|
|
@@ -1931,7 +1963,7 @@ cdn := PROD|STAGING|BETA|TEST|DEV|???
|
|
|
1931
1963
|
|
|
1932
1964
|
</div>
|
|
1933
1965
|
</main>
|
|
1934
|
-
{{> footer footer}}`;var
|
|
1966
|
+
{{> footer footer}}`;var A=`<!-- DCTERMS https://www.dublincore.org/specifications/dublin-core/dcmi-terms/-->
|
|
1935
1967
|
{{#if dcTerms}}
|
|
1936
1968
|
<link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" />
|
|
1937
1969
|
<link rel="schema.AGLSTERMS" href="https://agls.gov.au/documents/aglsterms/" />
|
|
@@ -1949,7 +1981,7 @@ cdn := PROD|STAGING|BETA|TEST|DEV|???
|
|
|
1949
1981
|
{{#if dcTerms.subject}}<meta name="DCTERMS.subject" content="{{ dcTerms.subject }}" />{{/if}}
|
|
1950
1982
|
{{#if dcTerms.audience}}<meta name="DCTERMS.audience" content="all" scheme="{{ dcTerms.audience }}" />{{/if}}
|
|
1951
1983
|
{{#if dcTerms.licenseUri}}<meta name="DCTERMS.license" scheme="DCTERMS.URI" content="{{ dcTerms.licenseUri }}">{{/if}}
|
|
1952
|
-
{{/if}}`;var
|
|
1984
|
+
{{/if}}`;var E=`
|
|
1953
1985
|
<!-- SEO (required) -->
|
|
1954
1986
|
{{#if description }}<meta name="description" content="{{ description }}" />{{/if}}
|
|
1955
1987
|
{{#if seo.pageSnippet }}<meta name="page.snippet" content="{{ seo.pageSnippet}}" />{{/if}}
|
|
@@ -1966,7 +1998,7 @@ cdn := PROD|STAGING|BETA|TEST|DEV|???
|
|
|
1966
1998
|
{{#if og.image }}<meta property="og:image" content="{{ og.image }}">{{/if}}
|
|
1967
1999
|
{{#ifAny og.twitter_image og.image }}<meta name="twitter:image:src" content="{{#if og.twitter_image }}{{ og.twitter_image }}{{else}}{{ og.image }}{{/if}}" />{{/ifAny}}
|
|
1968
2000
|
{{#if uri }}<meta property="og:url" content="{{ uri }}" />{{/if}}
|
|
1969
|
-
{{#if og.type }}<meta property="og:type" content="{{og.type}}" />{{/if}}`;var
|
|
2001
|
+
{{#if og.type }}<meta property="og:type" content="{{og.type}}" />{{/if}}`;var I=`<!-- Example button to trigger the modal -->
|
|
1970
2002
|
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#{{modalID}}">
|
|
1971
2003
|
{{launchButtonLabel}}
|
|
1972
2004
|
</button>
|
|
@@ -2003,7 +2035,7 @@ cdn := PROD|STAGING|BETA|TEST|DEV|???
|
|
|
2003
2035
|
|
|
2004
2036
|
</div>
|
|
2005
2037
|
</div>
|
|
2006
|
-
</div>`;var
|
|
2038
|
+
</div>`;var F=`<!-- QGDS Partial: Primary navigation -->
|
|
2007
2039
|
|
|
2008
2040
|
<!-- Primary Navigation / Desktop -->
|
|
2009
2041
|
<nav id="main-nav" class="navbar navbar-expand-lg" aria-label="Website navigation" role="navigation">
|
|
@@ -2257,7 +2289,7 @@ cdn := PROD|STAGING|BETA|TEST|DEV|???
|
|
|
2257
2289
|
<div id="overlay" class="navbar__overlay" aria-controls="main-nav"></div>
|
|
2258
2290
|
</div>
|
|
2259
2291
|
</nav>
|
|
2260
|
-
<!-- MAIN NAVIGATION END -->`;var
|
|
2292
|
+
<!-- MAIN NAVIGATION END -->`;var N=`{{!
|
|
2261
2293
|
Component Name: QGDS QOL Pagination
|
|
2262
2294
|
Component Version: 1.0
|
|
2263
2295
|
Framework: Bootstrap 5.3
|
|
@@ -2299,7 +2331,7 @@ Reference: https://getbootstrap.com/docs/5.0/components/pagination/
|
|
|
2299
2331
|
|
|
2300
2332
|
</ul>
|
|
2301
2333
|
|
|
2302
|
-
</nav>`;var
|
|
2334
|
+
</nav>`;var G=`<!-- QGDS Component: Loading Quick exit -->
|
|
2303
2335
|
|
|
2304
2336
|
<div class="qld-quick-exit"><!-- dark -->
|
|
2305
2337
|
<div class="container">
|
|
@@ -2338,7 +2370,7 @@ Reference: https://getbootstrap.com/docs/5.0/components/pagination/
|
|
|
2338
2370
|
</div>
|
|
2339
2371
|
</div>
|
|
2340
2372
|
</div>
|
|
2341
|
-
</div>`;var
|
|
2373
|
+
</div>`;var Q=`<!--
|
|
2342
2374
|
QGDS Component: Search input
|
|
2343
2375
|
-->
|
|
2344
2376
|
<div class="container {{variantClass}}">
|
|
@@ -2384,7 +2416,7 @@ Reference: https://getbootstrap.com/docs/5.0/components/pagination/
|
|
|
2384
2416
|
</button>
|
|
2385
2417
|
</div>
|
|
2386
2418
|
</div>
|
|
2387
|
-
`;var
|
|
2419
|
+
`;var B=`<!-- QGDS Component: Select -->
|
|
2388
2420
|
|
|
2389
2421
|
<!-- Label for the first input field -->
|
|
2390
2422
|
<label class="qld-text-input-label {{#if isRequired}}field-required{{/if}} {{#if isDisabled}}field-disabled{{/if}}" for="example-1">
|
|
@@ -2418,7 +2450,7 @@ Reference: https://getbootstrap.com/docs/5.0/components/pagination/
|
|
|
2418
2450
|
<option value="2">Option 2</option>
|
|
2419
2451
|
<option value="3">Option 3</option>
|
|
2420
2452
|
</select>
|
|
2421
|
-
`;var
|
|
2453
|
+
`;var J=`<div class="qld-side-navigation">
|
|
2422
2454
|
|
|
2423
2455
|
<h2 class="nav-title">
|
|
2424
2456
|
{{#if navtitlelink }}
|
|
@@ -2483,11 +2515,11 @@ Reference: https://getbootstrap.com/docs/5.0/components/pagination/
|
|
|
2483
2515
|
</li>
|
|
2484
2516
|
{{/each}}
|
|
2485
2517
|
</ul>
|
|
2486
|
-
</div>`;var
|
|
2518
|
+
</div>`;var W=`<!-- Side Nav -->
|
|
2487
2519
|
<div class="col-12 col-lg-3 pe-lg-0 order-last order-lg-first mt-5 mt-lg-0">
|
|
2488
2520
|
{{> @partial-block }}
|
|
2489
2521
|
</div>
|
|
2490
|
-
`;var
|
|
2522
|
+
`;var Y=`<!-- QGDS Component: Loading Spinner -->
|
|
2491
2523
|
|
|
2492
2524
|
<div class="qld-spinner {{#if stacked}}align-center{{/if}}" role="status">
|
|
2493
2525
|
<div class="spinner-border"></div>
|
|
@@ -2495,7 +2527,7 @@ Reference: https://getbootstrap.com/docs/5.0/components/pagination/
|
|
|
2495
2527
|
Loading...
|
|
2496
2528
|
</span>
|
|
2497
2529
|
</div>
|
|
2498
|
-
`;var
|
|
2530
|
+
`;var j=`<!-- QGDS Component: Table -->
|
|
2499
2531
|
|
|
2500
2532
|
<div class="table-responsive qld-table {{customClass}}">
|
|
2501
2533
|
|
|
@@ -2543,7 +2575,7 @@ Reference: https://getbootstrap.com/docs/5.0/components/pagination/
|
|
|
2543
2575
|
{{/if}}
|
|
2544
2576
|
|
|
2545
2577
|
</table>
|
|
2546
|
-
</div>`;var
|
|
2578
|
+
</div>`;var $=`<!-- QGDS Component: Tag -->
|
|
2547
2579
|
|
|
2548
2580
|
<ul class="tag-list {{variant}}">
|
|
2549
2581
|
{{#each tagItems}}
|
|
@@ -2553,7 +2585,7 @@ Reference: https://getbootstrap.com/docs/5.0/components/pagination/
|
|
|
2553
2585
|
{{/each }}
|
|
2554
2586
|
</ul>
|
|
2555
2587
|
|
|
2556
|
-
`;var
|
|
2588
|
+
`;var U=`<!-- QGDS Component: Textarea -->
|
|
2557
2589
|
|
|
2558
2590
|
<!-- Label for the first input field -->
|
|
2559
2591
|
<label class="qld-text-input-label {{#if isRequired}}field-required{{/if}} {{#if isDisabled}}field-disabled{{/if}}"
|
|
@@ -2584,7 +2616,7 @@ Reference: https://getbootstrap.com/docs/5.0/components/pagination/
|
|
|
2584
2616
|
<!-- First text input field, described by the hint text above -->
|
|
2585
2617
|
<textarea id="example-1" class="qld-text-input form-control {{customClass}} {{#if isFilled}}form-style-filled{{/if}}"
|
|
2586
2618
|
placeholder="{{placeholder}}" rows="{{rows}}" {{#if isDisabled}}disabled{{/if}} {{#if isRequired}}required
|
|
2587
|
-
aria-required="true" {{/if}}></textarea>`;var
|
|
2619
|
+
aria-required="true" {{/if}}></textarea>`;var z=`<!-- QGDS Component: Textbox -->
|
|
2588
2620
|
|
|
2589
2621
|
<!-- Label for the first input field -->
|
|
2590
2622
|
<label class="qld-text-input-label {{#if isRequired}}field-required{{/if}} {{#if isDisabled}}field-disabled{{/if}}"
|
|
@@ -2615,7 +2647,7 @@ Reference: https://getbootstrap.com/docs/5.0/components/pagination/
|
|
|
2615
2647
|
<!-- First text input field, described by the hint text above -->
|
|
2616
2648
|
<input id="example-1" class="qld-text-input form-control {{customClass}} {{#if isFilled}}form-style-filled{{/if}}"
|
|
2617
2649
|
type="text" placeholder="{{placeholder}}" aria-label="Text input example" {{#if isDisabled}}disabled{{/if}} {{#if
|
|
2618
|
-
isRequired}}required aria-required="true" {{/if}} />`;var
|
|
2650
|
+
isRequired}}required aria-required="true" {{/if}} />`;var X="<!-- QGDS Partial: typography -->";var K=`<!-- QGDS Component: Video -->
|
|
2619
2651
|
|
|
2620
2652
|
{{#if analyticsTrackingCode}}
|
|
2621
2653
|
<script type="text/javascript" defer="defer" src="https://extend.vimeocdn.com/ga/{{analyticsTrackingCode}}.js">
|
|
@@ -2673,5 +2705,5 @@ Reference: https://getbootstrap.com/docs/5.0/components/pagination/
|
|
|
2673
2705
|
{{/if}}
|
|
2674
2706
|
|
|
2675
2707
|
</section>
|
|
2676
|
-
`;function d(C){C.registerPartial("accordion",c),C.registerPartial("
|
|
2708
|
+
`;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",V),C.registerPartial("contentFooter",H),C.registerPartial("contentFooterWrapper",M),C.registerPartial("contentWrapper",b),C.registerPartial("correctincorrect",Z),C.registerPartial("dateinput",_),C.registerPartial("directionLinks",w),C.registerPartial("footer",q),C.registerPartial("footerForgov",x),C.registerPartial("formcheck",y),C.registerPartial("fullPage",k),C.registerPartial("globalAlert",T),C.registerPartial("head",S),C.registerPartial("header",R),C.registerPartial("inpageAlert",D),C.registerPartial("inpagenav",O),C.registerPartial("mainContainerWrapper",P),C.registerPartial("metaDcTerms",A),C.registerPartial("metaOpenGraph",E),C.registerPartial("modal",I),C.registerPartial("navbar",F),C.registerPartial("pagination",N),C.registerPartial("quickexit",G),C.registerPartial("searchInput",Q),C.registerPartial("select",B),C.registerPartial("sidenav",J),C.registerPartial("sidenavWrapper",W),C.registerPartial("spinner",Y),C.registerPartial("table",j),C.registerPartial("tag",$),C.registerPartial("textarea",U),C.registerPartial("textbox",z),C.registerPartial("typography",X),C.registerPartial("video",K)}typeof Handlebars!="undefined"&&d(Handlebars);var C2=!1;function e2(C){typeof C=="undefined"&&console.error("Handlebars.init requires HandleBars"),typeof C!="undefined"?(C2?console.log("HandleBars Helpers And Partials already loaded, loading again"):C2=!0,n(C),d(C)):console.log("Handlebars not found, init failed")}typeof Handlebars!="undefined"&&e2(Handlebars);})();
|
|
2677
2709
|
//# sourceMappingURL=handlebars.init.min.js.map
|