@worksafevictoria/wcl7.5 1.1.0-beta.7 → 1.1.0-beta.70

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.
Files changed (311) hide show
  1. package/.env +1 -3
  2. package/.storybook/preview.js +2 -2
  3. package/README.md +4 -4
  4. package/ci/build/build_validation.yml +2 -2
  5. package/ci/release/beta.yml +4 -3
  6. package/ci/release/master.yml +4 -3
  7. package/jest.config.js +10 -8
  8. package/lib/utility.js +1 -1
  9. package/package.json +13 -12
  10. package/src/assets/icons/AppFooter/x-ws-footer.svg +10 -0
  11. package/src/assets/icons/AppFooter/x-ww-footer.svg +28 -0
  12. package/src/assets/icons/SocialShare/x-icon-white.svg +28 -0
  13. package/src/assets/icons/WSV-reversed.svg +20 -0
  14. package/src/assets/icons/contrast.svg +4 -0
  15. package/src/assets/icons/lang.svg +13 -0
  16. package/src/assets/icons/login.svg +4 -0
  17. package/src/components/Common/CardGrid/cardgrid.stories.js +4 -57
  18. package/src/components/Common/CardGrid/index.vue +23 -3
  19. package/src/components/Common/CardGridItem/card-grid-item-icon.vue +1 -1
  20. package/src/components/Common/CardGridItem/index.vue +21 -5
  21. package/src/components/Containers/Carousel/index.stories.js +30 -0
  22. package/src/components/Containers/Carousel/index.vue +165 -0
  23. package/src/components/Containers/HomepageHeader/index.vue +26 -12
  24. package/src/components/Containers/HomepageHeaderNew/index.stories.js +75 -0
  25. package/src/components/Containers/HomepageHeaderNew/index.vue +198 -0
  26. package/src/components/Containers/SectionGroup/index.vue +4 -4
  27. package/src/components/Containers/Subheader/index.vue +25 -19
  28. package/src/components/Global/AlertStrip/index.stories.js +1 -0
  29. package/src/components/Global/AppFooter/FooterSocialShare/index.vue +1 -1
  30. package/src/components/Global/AppFooter/index.stories.js +1 -0
  31. package/src/components/Global/AppFooter/index.vue +30 -28
  32. package/src/components/Global/AppHeader/index.vue +49 -52
  33. package/src/components/Global/AppHeaderNew/ModalSearch/index.vue +71 -0
  34. package/src/components/Global/AppHeaderNew/ModalSearch/styles.scss +43 -0
  35. package/src/components/Global/AppHeaderNew/includes.scss +71 -0
  36. package/src/components/Global/AppHeaderNew/index.stories.js +74 -0
  37. package/src/components/Global/AppHeaderNew/index.vue +1176 -0
  38. package/src/components/Global/AppHeaderNew/mobile.scss +269 -0
  39. package/src/components/Global/AppHeaderNew/styles.scss +647 -0
  40. package/src/components/Global/ContrastMode/index.stories.js +1 -0
  41. package/src/components/Global/ContrastMode/index.vue +1 -1
  42. package/src/components/Global/Cookies/index.vue +141 -141
  43. package/src/components/Global/DirectoryFilters/SingleTaxonomy/index.vue +2 -1
  44. package/src/components/Global/GlobalNotice/index.stories.js +7 -1
  45. package/src/components/Global/GlobalNotice/index.vue +23 -2
  46. package/src/components/Global/HeroHeader/index.stories.js +3 -4
  47. package/src/components/Global/HeroHeader/index.vue +28 -29
  48. package/src/components/Global/ProgressBar/index.stories.js +6 -16
  49. package/src/components/Global/SocialShare/index.vue +3 -2
  50. package/src/components/Global/Strip/index.stories.js +1 -17
  51. package/src/components/Global/Strip/index.vue +8 -4
  52. package/src/components/Paragraphs/Accordion/AccordionItem/index.vue +21 -17
  53. package/src/components/Paragraphs/Accordion/index.stories.js +1 -0
  54. package/src/components/Paragraphs/Breakout/index.stories.js +1 -0
  55. package/src/components/Paragraphs/BrowseContent/index.stories.js +1 -0
  56. package/src/components/Paragraphs/BrowseContent/index.vue +42 -31
  57. package/src/components/Paragraphs/Calculator/Constants.js +2 -2
  58. package/src/components/Paragraphs/Calculator/index.stories.js +1 -0
  59. package/src/components/Paragraphs/Directory/Records/CJ/index.vue +3 -3
  60. package/src/components/Paragraphs/Directory/Records/ISP/index.vue +5 -5
  61. package/src/components/Paragraphs/Directory/Records/PRS/index.vue +2 -2
  62. package/src/components/Paragraphs/Directory/Records/PRS/recordContent.vue +3 -3
  63. package/src/components/Paragraphs/Directory/Records/PRS/recordDetails.vue +3 -3
  64. package/src/components/Paragraphs/Directory/Records/index.vue +3 -3
  65. package/src/components/Paragraphs/Directory/index.vue +42 -31
  66. package/src/components/Paragraphs/ListGroup/Link/list-link.stories.js +35 -39
  67. package/src/components/Paragraphs/ListGroup/index.vue +55 -46
  68. package/src/components/Paragraphs/ListGroup/list-group.stories.js +35 -31
  69. package/src/components/Paragraphs/ListGroup/navigation-card.stories.js +34 -30
  70. package/src/components/Paragraphs/MarketingBanner/index.stories.js +4 -18
  71. package/src/components/Paragraphs/ProofPoints/index.stories.js +19 -20
  72. package/src/components/Paragraphs/RelatedInformation/index.stories.js +11 -21
  73. package/src/components/Paragraphs/RelatedInformation/index.vue +12 -6
  74. package/src/components/Paragraphs/RelatedInformation/styles.scss +1 -3
  75. package/src/components/Paragraphs/RichText/index.stories.js +2 -1
  76. package/src/components/Paragraphs/ScrollSpy/index.stories.js +20 -26
  77. package/src/components/Paragraphs/ScrollSpy/index.vue +27 -12
  78. package/src/components/Paragraphs/SelectableCards/Control/index.stories.js +1 -0
  79. package/src/components/Paragraphs/SelectableCards/index.vue +15 -12
  80. package/src/components/Paragraphs/Statistics/index.stories.js +1 -0
  81. package/src/components/Paragraphs/Statistics/index.vue +1 -0
  82. package/src/components/Paragraphs/TabbedCards/index.stories.js +8 -27
  83. package/src/components/Paragraphs/TabbedCards/index.vue +58 -92
  84. package/src/components/Paragraphs/Tabs/index.stories.js +1 -0
  85. package/src/components/Paragraphs/TabulatedData/index.stories.js +6 -5
  86. package/src/components/Paragraphs/TabulatedData/index.vue +63 -35
  87. package/src/components/Paragraphs/TaskFinder/index.stories.js +9 -32
  88. package/src/components/Paragraphs/TaskFinder/index.vue +3 -3
  89. package/src/components/Paragraphs/TaskFinder/pdf/index.vue +1 -1
  90. package/src/components/Paragraphs/TaskFinder/task-finder-column.vue +1 -1
  91. package/src/components/Paragraphs/TextMedia/index.stories.js +1 -0
  92. package/src/components/Paragraphs/TextMedia/index.vue +5 -1
  93. package/src/components/Paragraphs/VideoGrid/index.stories.js +1 -0
  94. package/src/components/Paragraphs/VideoPlayer/index.stories.js +1 -13
  95. package/src/components/Paragraphs/Webform/index.stories.js +94 -57
  96. package/src/components/Paragraphs/Webform/index.vue +11 -8
  97. package/src/components/SubComponents/Breadcrumb/index.stories.js +3 -11
  98. package/src/components/SubComponents/CardGroup/index.stories.js +1 -30
  99. package/src/components/SubComponents/CardGroup/index.vue +33 -27
  100. package/src/components/SubComponents/CtaButton/index.stories.js +1 -24
  101. package/src/components/SubComponents/CtaButton/index.vue +27 -25
  102. package/src/components/SubComponents/FormAddressPostcode/index.stories.js +3 -28
  103. package/src/components/SubComponents/FormInstance/components/alert/index.vue +129 -0
  104. package/src/components/SubComponents/FormInstance/components/custom/base-formio.js +77 -0
  105. package/src/components/SubComponents/FormInstance/components/custom/code-formio.js +35 -0
  106. package/src/components/SubComponents/FormInstance/components/custom/custom-formio-registry.js +30 -0
  107. package/src/components/SubComponents/FormInstance/components/custom/range-formio.js +121 -0
  108. package/src/components/SubComponents/FormInstance/components/custom/rating-formio.js +121 -0
  109. package/src/components/SubComponents/FormInstance/components/custom/scale-formio.js +99 -0
  110. package/src/components/SubComponents/FormInstance/components/custom/tableselect-formio.js +200 -0
  111. package/src/components/SubComponents/FormInstance/components/handler/index.vue +208 -0
  112. package/src/components/SubComponents/FormInstance/components/renderer/index.vue +282 -0
  113. package/src/components/SubComponents/FormInstance/index.test.js +65 -0
  114. package/src/components/SubComponents/FormInstance/index.vue +55 -6
  115. package/src/components/SubComponents/FormInstance/models/base-form-element.js +338 -0
  116. package/src/components/SubComponents/FormInstance/models/form-callback-queue.js +45 -0
  117. package/src/components/SubComponents/FormInstance/models/form-utils.js +50 -0
  118. package/src/components/SubComponents/FormInstance/models/overrides/address.js +141 -0
  119. package/src/components/SubComponents/FormInstance/models/overrides/autocomplete.js +41 -0
  120. package/src/components/SubComponents/FormInstance/models/overrides/checkbox.js +14 -0
  121. package/src/components/SubComponents/FormInstance/models/overrides/checkboxes.js +49 -0
  122. package/src/components/SubComponents/FormInstance/models/overrides/code.js +27 -0
  123. package/src/components/SubComponents/FormInstance/models/overrides/composite.js +57 -0
  124. package/src/components/SubComponents/FormInstance/models/overrides/container.js +65 -0
  125. package/src/components/SubComponents/FormInstance/models/overrides/currency.js +17 -0
  126. package/src/components/SubComponents/FormInstance/models/overrides/customcomposite.js +41 -0
  127. package/src/components/SubComponents/FormInstance/models/overrides/date.js +126 -0
  128. package/src/components/SubComponents/FormInstance/models/overrides/datelist.js +73 -0
  129. package/src/components/SubComponents/FormInstance/models/overrides/detail.js +38 -0
  130. package/src/components/SubComponents/FormInstance/models/overrides/email-confirm.js +12 -0
  131. package/src/components/SubComponents/FormInstance/models/overrides/email.js +7 -0
  132. package/src/components/SubComponents/FormInstance/models/overrides/file.js +56 -0
  133. package/src/components/SubComponents/FormInstance/models/overrides/flexbox.js +33 -0
  134. package/src/components/SubComponents/FormInstance/models/overrides/hidden.js +24 -0
  135. package/src/components/SubComponents/FormInstance/models/overrides/likert.js +40 -0
  136. package/src/components/SubComponents/FormInstance/models/overrides/markup.js +47 -0
  137. package/src/components/SubComponents/FormInstance/models/overrides/message.js +53 -0
  138. package/src/components/SubComponents/FormInstance/models/overrides/moretext.js +64 -0
  139. package/src/components/SubComponents/FormInstance/models/overrides/multiple.js +51 -0
  140. package/src/components/SubComponents/FormInstance/models/overrides/number.js +22 -0
  141. package/src/components/SubComponents/FormInstance/models/overrides/options-other.js +34 -0
  142. package/src/components/SubComponents/FormInstance/models/overrides/page.js +7 -0
  143. package/src/components/SubComponents/FormInstance/models/overrides/phonenumber.js +13 -0
  144. package/src/components/SubComponents/FormInstance/models/overrides/radio.js +31 -0
  145. package/src/components/SubComponents/FormInstance/models/overrides/range.js +19 -0
  146. package/src/components/SubComponents/FormInstance/models/overrides/rating.js +47 -0
  147. package/src/components/SubComponents/FormInstance/models/overrides/scale.js +33 -0
  148. package/src/components/SubComponents/FormInstance/models/overrides/section.js +39 -0
  149. package/src/components/SubComponents/FormInstance/models/overrides/select.js +28 -0
  150. package/src/components/SubComponents/FormInstance/models/overrides/signature.js +7 -0
  151. package/src/components/SubComponents/FormInstance/models/overrides/submit.js +23 -0
  152. package/src/components/SubComponents/FormInstance/models/overrides/table.js +48 -0
  153. package/src/components/SubComponents/FormInstance/models/overrides/tablerow.js +20 -0
  154. package/src/components/SubComponents/FormInstance/models/overrides/tableselect.js +66 -0
  155. package/src/components/SubComponents/FormInstance/models/overrides/testing.js +47 -0
  156. package/src/components/SubComponents/FormInstance/models/overrides/text.js +7 -0
  157. package/src/components/SubComponents/FormInstance/models/overrides/textarea.js +26 -0
  158. package/src/components/SubComponents/FormInstance/models/overrides/textformat.js +13 -0
  159. package/src/components/SubComponents/FormInstance/models/overrides/time.js +13 -0
  160. package/src/components/SubComponents/FormInstance/models/overrides/twig.js +118 -0
  161. package/src/components/SubComponents/FormInstance/models/overrides/unknown.js +24 -0
  162. package/src/components/SubComponents/FormInstance/models/overrides/url.js +13 -0
  163. package/src/components/SubComponents/FormInstance/services/convert-form-element.js +49 -0
  164. package/src/components/SubComponents/FormInstance/services/form-api.js +47 -0
  165. package/src/components/SubComponents/FormInstance/services/form-render-parser.js +156 -0
  166. package/src/components/SubComponents/FormInstance/services/form-submit-parser.js +61 -0
  167. package/src/components/SubComponents/FormInstance/services/logic-linker.js +73 -0
  168. package/src/components/SubComponents/FormInstance/services/logic-parser.js +173 -0
  169. package/src/components/SubComponents/FormInstance/services/registry-factory.js +284 -0
  170. package/src/components/SubComponents/FormInstance/stories/Documentation.mdx +234 -0
  171. package/src/components/SubComponents/FormInstance/stories/advanced.stories.js +109 -0
  172. package/src/components/SubComponents/FormInstance/stories/basic.stories.js +73 -0
  173. package/src/components/SubComponents/FormInstance/stories/build.stories.js +27 -0
  174. package/src/components/SubComponents/FormInstance/stories/composite.stories.js +90 -0
  175. package/src/components/SubComponents/FormInstance/stories/condition.stories.js +83 -0
  176. package/src/components/SubComponents/FormInstance/stories/custom.stories.js +69 -0
  177. package/src/components/SubComponents/FormInstance/stories/date.stories.js +76 -0
  178. package/src/components/SubComponents/FormInstance/stories/fileupload.stories.js +57 -0
  179. package/src/components/SubComponents/FormInstance/stories/form-alert.stories.js +93 -0
  180. package/src/components/SubComponents/FormInstance/stories/index.stories.js +63 -0
  181. package/src/components/SubComponents/FormInstance/stories/layout.stories.js +85 -0
  182. package/src/components/SubComponents/FormInstance/stories/markup.stories.js +91 -0
  183. package/src/components/SubComponents/FormInstance/stories/mocks/address.json +298 -0
  184. package/src/components/SubComponents/FormInstance/stories/mocks/advancedhtml.json +23 -0
  185. package/src/components/SubComponents/FormInstance/stories/mocks/autocomplete.json +34 -0
  186. package/src/components/SubComponents/FormInstance/stories/mocks/basichtml.json +15 -0
  187. package/src/components/SubComponents/FormInstance/stories/mocks/checkboxes.json +102 -0
  188. package/src/components/SubComponents/FormInstance/stories/mocks/checkboxesother.json +197 -0
  189. package/src/components/SubComponents/FormInstance/stories/mocks/container.json +134 -0
  190. package/src/components/SubComponents/FormInstance/stories/mocks/customcomposite.json +469 -0
  191. package/src/components/SubComponents/FormInstance/stories/mocks/date.json +19 -0
  192. package/src/components/SubComponents/FormInstance/stories/mocks/datelist.json +752 -0
  193. package/src/components/SubComponents/FormInstance/stories/mocks/datetime.json +89 -0
  194. package/src/components/SubComponents/FormInstance/stories/mocks/details.json +63 -0
  195. package/src/components/SubComponents/FormInstance/stories/mocks/email.json +18 -0
  196. package/src/components/SubComponents/FormInstance/stories/mocks/emailconfirm.json +110 -0
  197. package/src/components/SubComponents/FormInstance/stories/mocks/fieldset.json +62 -0
  198. package/src/components/SubComponents/FormInstance/stories/mocks/fileupload.json +25 -0
  199. package/src/components/SubComponents/FormInstance/stories/mocks/flexbox.json +58 -0
  200. package/src/components/SubComponents/FormInstance/stories/mocks/hidden.json +35 -0
  201. package/src/components/SubComponents/FormInstance/stories/mocks/horizontalrule.json +14 -0
  202. package/src/components/SubComponents/FormInstance/stories/mocks/jahd.json +1359 -0
  203. package/src/components/SubComponents/FormInstance/stories/mocks/label.json +14 -0
  204. package/src/components/SubComponents/FormInstance/stories/mocks/likert.json +375 -0
  205. package/src/components/SubComponents/FormInstance/stories/mocks/message.json +86 -0
  206. package/src/components/SubComponents/FormInstance/stories/mocks/more.json +19 -0
  207. package/src/components/SubComponents/FormInstance/stories/mocks/multiple.json +142 -0
  208. package/src/components/SubComponents/FormInstance/stories/mocks/number.json +35 -0
  209. package/src/components/SubComponents/FormInstance/stories/mocks/quad.json +249 -0
  210. package/src/components/SubComponents/FormInstance/stories/mocks/radios.json +70 -0
  211. package/src/components/SubComponents/FormInstance/stories/mocks/radiosother.json +176 -0
  212. package/src/components/SubComponents/FormInstance/stories/mocks/range.json +58 -0
  213. package/src/components/SubComponents/FormInstance/stories/mocks/rating.json +42 -0
  214. package/src/components/SubComponents/FormInstance/stories/mocks/rule-disabled-value.json +66 -0
  215. package/src/components/SubComponents/FormInstance/stories/mocks/rule-enabled-value.json +43 -0
  216. package/src/components/SubComponents/FormInstance/stories/mocks/rule-hidden-value.json +68 -0
  217. package/src/components/SubComponents/FormInstance/stories/mocks/rule-required-value.json +69 -0
  218. package/src/components/SubComponents/FormInstance/stories/mocks/rule-visible-value.json +157 -0
  219. package/src/components/SubComponents/FormInstance/stories/mocks/sameas.json +66 -0
  220. package/src/components/SubComponents/FormInstance/stories/mocks/scale.json +200 -0
  221. package/src/components/SubComponents/FormInstance/stories/mocks/section.json +63 -0
  222. package/src/components/SubComponents/FormInstance/stories/mocks/select.json +41 -0
  223. package/src/components/SubComponents/FormInstance/stories/mocks/selectother.json +115 -0
  224. package/src/components/SubComponents/FormInstance/stories/mocks/signature.json +25 -0
  225. package/src/components/SubComponents/FormInstance/stories/mocks/styles.json +81 -0
  226. package/src/components/SubComponents/FormInstance/stories/mocks/table-select.json +472 -0
  227. package/src/components/SubComponents/FormInstance/stories/mocks/table.json +154 -0
  228. package/src/components/SubComponents/FormInstance/stories/mocks/telephone.json +18 -0
  229. package/src/components/SubComponents/FormInstance/stories/mocks/textarea.json +22 -0
  230. package/src/components/SubComponents/FormInstance/stories/mocks/textfield.json +66 -0
  231. package/src/components/SubComponents/FormInstance/stories/mocks/time.json +20 -0
  232. package/src/components/SubComponents/FormInstance/stories/mocks/token.json +260 -0
  233. package/src/components/SubComponents/FormInstance/stories/mocks/twig.json +154 -0
  234. package/src/components/SubComponents/FormInstance/stories/mocks/url.json +18 -0
  235. package/src/components/SubComponents/FormInstance/stories/mocks/value.json +17 -0
  236. package/src/components/SubComponents/FormInstance/stories/mocks/wizard.json +353 -0
  237. package/src/components/SubComponents/FormInstance/stories/options.stories.js +98 -0
  238. package/src/components/SubComponents/FormInstance/stories/style.stories.js +55 -0
  239. package/src/components/SubComponents/FormInstance/stories/wizard.stories.js +55 -0
  240. package/src/components/SubComponents/FormInstance/style.scss +185 -0
  241. package/src/components/SubComponents/FormInstance/tests/address.test.js +255 -0
  242. package/src/components/SubComponents/FormInstance/tests/advancedhtml.test.js +31 -0
  243. package/src/components/SubComponents/FormInstance/tests/autocomplete.test.js +38 -0
  244. package/src/components/SubComponents/FormInstance/tests/basichtml.test.js +31 -0
  245. package/src/components/SubComponents/FormInstance/tests/checkbox.test.js +29 -0
  246. package/src/components/SubComponents/FormInstance/tests/checkboxes.test.js +44 -0
  247. package/src/components/SubComponents/FormInstance/tests/checkboxesother.test.js +91 -0
  248. package/src/components/SubComponents/FormInstance/tests/container.test.js +66 -0
  249. package/src/components/SubComponents/FormInstance/tests/customcomposite.test.js +86 -0
  250. package/src/components/SubComponents/FormInstance/tests/date.test.js +63 -0
  251. package/src/components/SubComponents/FormInstance/tests/datelist.test.js +136 -0
  252. package/src/components/SubComponents/FormInstance/tests/datetime.test.js +54 -0
  253. package/src/components/SubComponents/FormInstance/tests/details.test.js +58 -0
  254. package/src/components/SubComponents/FormInstance/tests/email.test.js +28 -0
  255. package/src/components/SubComponents/FormInstance/tests/emailconfirm.test.js +79 -0
  256. package/src/components/SubComponents/FormInstance/tests/fieldset.test.js +63 -0
  257. package/src/components/SubComponents/FormInstance/tests/flexbox.test.js +71 -0
  258. package/src/components/SubComponents/FormInstance/tests/form-test-utils.js +120 -0
  259. package/src/components/SubComponents/FormInstance/tests/form.test.js +26 -0
  260. package/src/components/SubComponents/FormInstance/tests/hidden.test.js +52 -0
  261. package/src/components/SubComponents/FormInstance/tests/horizontalrule.test.js +31 -0
  262. package/src/components/SubComponents/FormInstance/tests/label.test.js +31 -0
  263. package/src/components/SubComponents/FormInstance/tests/likert.test.js +38 -0
  264. package/src/components/SubComponents/FormInstance/tests/message.test.js +89 -0
  265. package/src/components/SubComponents/FormInstance/tests/more.test.js +32 -0
  266. package/src/components/SubComponents/FormInstance/tests/multiple.test.js +71 -0
  267. package/src/components/SubComponents/FormInstance/tests/number.test.js +51 -0
  268. package/src/components/SubComponents/FormInstance/tests/radios.test.js +34 -0
  269. package/src/components/SubComponents/FormInstance/tests/radiosother.test.js +79 -0
  270. package/src/components/SubComponents/FormInstance/tests/range.test.js +32 -0
  271. package/src/components/SubComponents/FormInstance/tests/rating.test.js +38 -0
  272. package/src/components/SubComponents/FormInstance/tests/rule-disabled.test.js +128 -0
  273. package/src/components/SubComponents/FormInstance/tests/rule-enabled-value.test.js +78 -0
  274. package/src/components/SubComponents/FormInstance/tests/rule-hidden.test.js +131 -0
  275. package/src/components/SubComponents/FormInstance/tests/rule-required-value.test.js +144 -0
  276. package/src/components/SubComponents/FormInstance/tests/rule-visible.test.js +619 -0
  277. package/src/components/SubComponents/FormInstance/tests/sameas.test.js +94 -0
  278. package/src/components/SubComponents/FormInstance/tests/scale.test.js +43 -0
  279. package/src/components/SubComponents/FormInstance/tests/section.test.js +63 -0
  280. package/src/components/SubComponents/FormInstance/tests/select.test.js +45 -0
  281. package/src/components/SubComponents/FormInstance/tests/selectother.test.js +82 -0
  282. package/src/components/SubComponents/FormInstance/tests/signature.test.js +32 -0
  283. package/src/components/SubComponents/FormInstance/tests/styles.test.js +73 -0
  284. package/src/components/SubComponents/FormInstance/tests/table-select.test.js +93 -0
  285. package/src/components/SubComponents/FormInstance/tests/table.test.js +97 -0
  286. package/src/components/SubComponents/FormInstance/tests/telephone.test.js +29 -0
  287. package/src/components/SubComponents/FormInstance/tests/textarea.test.js +29 -0
  288. package/src/components/SubComponents/FormInstance/tests/textfield.test.js +48 -0
  289. package/src/components/SubComponents/FormInstance/tests/time.test.js +29 -0
  290. package/src/components/SubComponents/FormInstance/tests/token.test.js +33 -0
  291. package/src/components/SubComponents/FormInstance/tests/twig.test.js +74 -0
  292. package/src/components/SubComponents/FormInstance/tests/url.test.js +45 -0
  293. package/src/components/SubComponents/FormInstance/tests/value.test.js +31 -0
  294. package/src/components/SubComponents/FormInstance/tests/wizard.test.js +145 -0
  295. package/src/components/SubComponents/Icon/index.stories.js +1 -6
  296. package/src/components/SubComponents/MediaPlayer/index.stories.js +1 -6
  297. package/src/components/SubComponents/Pagination/index.stories.js +3 -8
  298. package/src/components/SubComponents/ResourceGroup/List/index.stories.js +3 -2
  299. package/src/components/SubComponents/ResourceGroup/index.vue +206 -173
  300. package/src/components/SubComponents/Search/index.vue +4 -4
  301. package/src/components/SubComponents/SingleImage/index.stories.js +2 -16
  302. package/src/components/SubComponents/VideoThumbnail/index.stories.js +1 -0
  303. package/src/components/SubComponents/VideoThumbnail/index.vue +4 -7
  304. package/src/includes/scss/mixins/src/grid.scss +4 -2
  305. package/src/includes/scss/mixins/src/units.scss +25 -4
  306. package/src/main.js +2 -10
  307. package/src/mock/app-header-new.js +715 -0
  308. package/src/mock/carousel-items.js +57 -0
  309. package/src/mock/jest.fileMock.js +1 -0
  310. package/vite.config.js +28 -15
  311. package/src/components/SubComponents/FormInstance/index.stories.js +0 -8
@@ -0,0 +1,715 @@
1
+ const appHeaderData = [
2
+ {
3
+ title: 'I want to',
4
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/contact-worksafe',
5
+ relative: '/contact-worksafe',
6
+ below: [
7
+ {
8
+ title: 'Contact WorkSafe',
9
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/contact-worksafe',
10
+ relative: '/contact-worksafe'
11
+ },
12
+ {
13
+ title: 'Report an incident',
14
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/report-incident',
15
+ relative: '/report-incident'
16
+ },
17
+ {
18
+ title: 'Notify or register high risk work',
19
+ absolute:
20
+ 'https://content-v2.api.worksafe.vic.gov.au/notify-or-register-high-risk-work',
21
+ relative: '/notify-or-register-high-risk-work',
22
+ below: [
23
+ {
24
+ title: 'Asbestos removal',
25
+ absolute:
26
+ 'https://content-v2.api.worksafe.vic.gov.au/asbestos-removal-notification',
27
+ relative: '/asbestos-removal-notification'
28
+ },
29
+ {
30
+ title: 'Construction excavation',
31
+ absolute:
32
+ 'https://content-v2.api.worksafe.vic.gov.au/construction-excavation-notification',
33
+ relative: '/construction-excavation-notification'
34
+ },
35
+ {
36
+ title: 'Dangerous goods storage and handling',
37
+ absolute:
38
+ 'https://content-v2.api.worksafe.vic.gov.au/dangerous-goods-storage-and-handling-notification',
39
+ relative: '/dangerous-goods-storage-and-handling-notification'
40
+ },
41
+ {
42
+ title: 'Fireworks discharge',
43
+ absolute:
44
+ 'https://content-v2.api.worksafe.vic.gov.au/fireworks-discharge-notification',
45
+ relative: '/fireworks-discharge-notification'
46
+ },
47
+ {
48
+ title: 'Hazardous substance health surveillance',
49
+ absolute:
50
+ 'https://content-v2.api.worksafe.vic.gov.au/hazardous-substance-health-surveillance-report',
51
+ relative: '/hazardous-substance-health-surveillance-report'
52
+ },
53
+ {
54
+ title: 'Lead-risk work',
55
+ absolute:
56
+ 'https://content-v2.api.worksafe.vic.gov.au/are-you-performing-lead-risk-work',
57
+ relative: '/are-you-performing-lead-risk-work'
58
+ },
59
+ {
60
+ title: 'Major hazard facility',
61
+ absolute:
62
+ 'https://content-v2.api.worksafe.vic.gov.au/major-hazard-facility-notification-registration-and-licence',
63
+ relative:
64
+ '/major-hazard-facility-notification-registration-and-licence'
65
+ },
66
+ {
67
+ title: 'Plant and equipment design',
68
+ absolute:
69
+ 'https://content-v2.api.worksafe.vic.gov.au/plant-and-equipment-design-registration-or-alteration',
70
+ relative: '/plant-and-equipment-design-registration-or-alteration'
71
+ }
72
+ ]
73
+ },
74
+ {
75
+ title: 'Make a complaint',
76
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/make-complaint',
77
+ relative: '/make-complaint'
78
+ },
79
+ {
80
+ title: 'Apply for a licence',
81
+ absolute:
82
+ 'https://content-v2.api.worksafe.vic.gov.au/apply-for-licence',
83
+ relative: '/apply-for-licence',
84
+ below: [
85
+ {
86
+ title: 'Asbestos removal',
87
+ absolute:
88
+ 'https://content-v2.api.worksafe.vic.gov.au/asbestos-removal-licences',
89
+ relative: '/asbestos-removal-licences'
90
+ },
91
+ {
92
+ title: 'Construction induction (white card)',
93
+ absolute:
94
+ 'https://content-v2.api.worksafe.vic.gov.au/construction-induction-training-white-card',
95
+ relative: '/construction-induction-training-white-card'
96
+ },
97
+ {
98
+ title: 'Dangerous goods',
99
+ absolute:
100
+ 'https://content-v2.api.worksafe.vic.gov.au/dangerous-goods-licences',
101
+ relative: '/dangerous-goods-licences'
102
+ },
103
+ {
104
+ title: 'Engineered stone',
105
+ absolute:
106
+ 'https://content-v2.api.worksafe.vic.gov.au/engineered-stone-licence',
107
+ relative: '/engineered-stone-licence'
108
+ },
109
+ {
110
+ title: 'Explosives',
111
+ absolute:
112
+ 'https://content-v2.api.worksafe.vic.gov.au/explosives-licences',
113
+ relative: '/explosives-licences'
114
+ },
115
+ {
116
+ title: 'High consequence dangerous goods',
117
+ absolute:
118
+ 'https://content-v2.api.worksafe.vic.gov.au/high-consequence-dangerous-goods-licences',
119
+ relative: '/high-consequence-dangerous-goods-licences'
120
+ },
121
+ {
122
+ title: 'High risk work',
123
+ absolute:
124
+ 'https://content-v2.api.worksafe.vic.gov.au/high-risk-work-licence',
125
+ relative: '/high-risk-work-licence'
126
+ },
127
+ {
128
+ title: 'Scheduled carcinogen',
129
+ absolute:
130
+ 'https://content-v2.api.worksafe.vic.gov.au/scheduled-carcinogen-licence',
131
+ relative: '/scheduled-carcinogen-licence'
132
+ }
133
+ ]
134
+ },
135
+ {
136
+ title: 'Pay or renew your insurance',
137
+ absolute:
138
+ 'https://content-v2.api.worksafe.vic.gov.au/pay-or-renew-your-workcover-insurance-premium',
139
+ relative: '/pay-or-renew-your-workcover-insurance-premium'
140
+ },
141
+ {
142
+ title: 'Languages',
143
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/languages',
144
+ relative: '/languages',
145
+ below: [
146
+ {
147
+ title: 'Arabic',
148
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/arabic',
149
+ relative: '/arabic'
150
+ },
151
+ {
152
+ title: 'Bislama',
153
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/bislama',
154
+ relative: '/bislama'
155
+ },
156
+ {
157
+ title: 'Burmese',
158
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/burmese',
159
+ relative: '/burmese'
160
+ },
161
+ {
162
+ title: 'Chinese (simplifed)',
163
+ absolute:
164
+ 'https://content-v2.api.worksafe.vic.gov.au/chinese-simplified',
165
+ relative: '/chinese-simplified'
166
+ },
167
+ {
168
+ title: 'Chinese (traditional)',
169
+ absolute:
170
+ 'https://content-v2.api.worksafe.vic.gov.au/chinese-traditional',
171
+ relative: '/chinese-traditional'
172
+ },
173
+ {
174
+ title: 'Dari',
175
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/dari',
176
+ relative: '/dari'
177
+ },
178
+ {
179
+ title: 'Dinka',
180
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/dinka',
181
+ relative: '/dinka'
182
+ },
183
+ {
184
+ title: 'Fijian',
185
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/fijian',
186
+ relative: '/fijian'
187
+ },
188
+ {
189
+ title: 'Greek',
190
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/greek',
191
+ relative: '/greek'
192
+ },
193
+ {
194
+ title: 'Hindi',
195
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/hindi',
196
+ relative: '/hindi'
197
+ },
198
+ {
199
+ title: 'Indonesian',
200
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/indonesian',
201
+ relative: '/indonesian'
202
+ },
203
+ {
204
+ title: 'Italian',
205
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/italian',
206
+ relative: '/italian'
207
+ },
208
+ {
209
+ title: 'Khmer',
210
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/khmer',
211
+ relative: '/khmer'
212
+ },
213
+ {
214
+ title: 'Korean',
215
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/korean',
216
+ relative: '/korean'
217
+ },
218
+ {
219
+ title: 'Malay',
220
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/malay',
221
+ relative: '/malay'
222
+ },
223
+ {
224
+ title: 'Nepali',
225
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/nepali',
226
+ relative: '/nepali'
227
+ },
228
+ {
229
+ title: 'Punjabi',
230
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/punjabi',
231
+ relative: '/punjabi'
232
+ },
233
+ {
234
+ title: 'Samoan',
235
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/samoan',
236
+ relative: '/samoan'
237
+ },
238
+ {
239
+ title: 'Sinhalese',
240
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/sinhalese',
241
+ relative: '/sinhalese'
242
+ },
243
+ {
244
+ title: 'Spanish',
245
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/spanish',
246
+ relative: '/spanish'
247
+ },
248
+ {
249
+ title: 'Tagalog',
250
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/tagalog',
251
+ relative: '/tagalog'
252
+ },
253
+ {
254
+ title: 'Tamil',
255
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/tamil',
256
+ relative: '/tamil'
257
+ },
258
+ {
259
+ title: 'Thai',
260
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/thai',
261
+ relative: '/thai'
262
+ },
263
+ {
264
+ title: 'Tongan',
265
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/tongan',
266
+ relative: '/tongan'
267
+ },
268
+ {
269
+ title: 'Turkish',
270
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/turkish',
271
+ relative: '/turkish'
272
+ },
273
+ {
274
+ title: 'Urdu',
275
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/urdu',
276
+ relative: '/urdu'
277
+ },
278
+ {
279
+ title: 'Vietnamese',
280
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/vietnamese',
281
+ relative: '/vietnamese'
282
+ }
283
+ ]
284
+ }
285
+ ]
286
+ },
287
+ {
288
+ title: 'Safety and wellbeing',
289
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/safety-and-wellbeing',
290
+ relative: '/safety-and-wellbeing',
291
+ below: [
292
+ {
293
+ title: 'Mental health',
294
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/mental-health',
295
+ relative: '/mental-health',
296
+ below: [
297
+ {
298
+ title: 'Bullying',
299
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/bullying',
300
+ relative: '/bullying'
301
+ },
302
+ {
303
+ title: 'Fatigue',
304
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/fatigue',
305
+ relative: '/fatigue'
306
+ },
307
+ {
308
+ title: 'Gendered violence',
309
+ absolute:
310
+ 'https://content-v2.api.worksafe.vic.gov.au/gendered-violence',
311
+ relative: '/gendered-violence'
312
+ },
313
+ {
314
+ title: 'Stress',
315
+ absolute:
316
+ 'https://content-v2.api.worksafe.vic.gov.au/work-related-stress',
317
+ relative: '/work-related-stress'
318
+ },
319
+ {
320
+ title: 'Work-related violence',
321
+ absolute:
322
+ 'https://content-v2.api.worksafe.vic.gov.au/work-related-violence',
323
+ relative: '/work-related-violence'
324
+ },
325
+ {
326
+ title: 'WorkWell program',
327
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/workwell',
328
+ relative: '/workwell'
329
+ }
330
+ ]
331
+ },
332
+ {
333
+ title: 'Your industry',
334
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/industries',
335
+ relative: '/industries',
336
+ below: [
337
+ {
338
+ title: 'Aged care',
339
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/aged-care',
340
+ relative: '/aged-care'
341
+ },
342
+ {
343
+ title: 'Agriculture',
344
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/agriculture',
345
+ relative: '/agriculture'
346
+ },
347
+ {
348
+ title: 'Arts and creative',
349
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/arts',
350
+ relative: '/arts'
351
+ },
352
+ {
353
+ title: 'Automotive',
354
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/automotive',
355
+ relative: '/automotive'
356
+ },
357
+ {
358
+ title: 'Cleaning',
359
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/cleaning',
360
+ relative: '/cleaning'
361
+ },
362
+ {
363
+ title: 'Construction',
364
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/construction',
365
+ relative: '/construction'
366
+ },
367
+ {
368
+ title: 'Education',
369
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/education',
370
+ relative: '/education'
371
+ },
372
+ {
373
+ title: 'Healthcare services',
374
+ absolute:
375
+ 'https://content-v2.api.worksafe.vic.gov.au/healthcare-services',
376
+ relative: '/healthcare-services'
377
+ },
378
+ {
379
+ title: 'Hospitality ',
380
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/hospitality',
381
+ relative: '/hospitality'
382
+ },
383
+ {
384
+ title: 'Labour hire',
385
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/labour-hire',
386
+ relative: '/labour-hire'
387
+ },
388
+ {
389
+ title: 'Major events and amusement rides',
390
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/major-events',
391
+ relative: '/major-events'
392
+ },
393
+ {
394
+ title: 'Major hazard facilities',
395
+ absolute:
396
+ 'https://content-v2.api.worksafe.vic.gov.au/major-hazard-facilities',
397
+ relative: '/major-hazard-facilities'
398
+ },
399
+ {
400
+ title: 'Manufacturing',
401
+ absolute:
402
+ 'https://content-v2.api.worksafe.vic.gov.au/manufacturing',
403
+ relative: '/manufacturing'
404
+ },
405
+ {
406
+ title: 'Mining and quarries',
407
+ absolute:
408
+ 'https://content-v2.api.worksafe.vic.gov.au/mining-and-quarries',
409
+ relative: '/mining-and-quarries'
410
+ },
411
+ {
412
+ title: 'Public administration',
413
+ absolute:
414
+ 'https://content-v2.api.worksafe.vic.gov.au/public-administration-and-safety',
415
+ relative: '/public-administration-and-safety'
416
+ },
417
+ {
418
+ title: 'Retail',
419
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/retail',
420
+ relative: '/retail'
421
+ },
422
+ {
423
+ title: 'Sex work',
424
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/sex-work',
425
+ relative: '/sex-work'
426
+ },
427
+ {
428
+ title: 'Sports and recreation',
429
+ absolute:
430
+ 'https://content-v2.api.worksafe.vic.gov.au/sports-and-recreation',
431
+ relative: '/sports-and-recreation'
432
+ },
433
+ {
434
+ title: 'Transport and logistics',
435
+ absolute:
436
+ 'https://content-v2.api.worksafe.vic.gov.au/transport-logistics-and-warehousing',
437
+ relative: '/transport-logistics-and-warehousing'
438
+ },
439
+ {
440
+ title: 'Waste and recycling',
441
+ absolute:
442
+ 'https://content-v2.api.worksafe.vic.gov.au/waste-and-recycling',
443
+ relative: '/waste-and-recycling'
444
+ }
445
+ ]
446
+ },
447
+ {
448
+ title: 'Hazards and solutions',
449
+ absolute:
450
+ 'https://content-v2.api.worksafe.vic.gov.au/hazards-and-solutions',
451
+ relative: '/hazards-and-solutions',
452
+ below: [
453
+ {
454
+ title: 'Alcohol and drugs',
455
+ absolute:
456
+ 'https://content-v2.api.worksafe.vic.gov.au/alcohol-and-drugs',
457
+ relative: '/alcohol-and-drugs'
458
+ },
459
+ {
460
+ title: 'Asbestos',
461
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/asbestos',
462
+ relative: '/asbestos'
463
+ },
464
+ {
465
+ title: 'Bushfires',
466
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/bushfires',
467
+ relative: '/bushfires'
468
+ },
469
+ {
470
+ title: 'Confined spaces',
471
+ absolute:
472
+ 'https://content-v2.api.worksafe.vic.gov.au/confined-spaces',
473
+ relative: '/confined-spaces'
474
+ },
475
+ {
476
+ title: 'Coronavirus (COVID-19)',
477
+ absolute:
478
+ 'https://content-v2.api.worksafe.vic.gov.au/coronavirus-covid-19',
479
+ relative: '/coronavirus-covid-19'
480
+ },
481
+ {
482
+ title: 'Crystalline silica',
483
+ absolute:
484
+ 'https://content-v2.api.worksafe.vic.gov.au/crystalline-silica',
485
+ relative: '/crystalline-silica'
486
+ },
487
+ {
488
+ title: 'Dangerous goods',
489
+ absolute:
490
+ 'https://content-v2.api.worksafe.vic.gov.au/dangerous-goods',
491
+ relative: '/dangerous-goods'
492
+ },
493
+ {
494
+ title: 'Driving',
495
+ absolute:
496
+ 'https://content-v2.api.worksafe.vic.gov.au/work-related-driving',
497
+ relative: '/work-related-driving'
498
+ },
499
+ {
500
+ title: 'Explosives',
501
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/explosives',
502
+ relative: '/explosives'
503
+ },
504
+ {
505
+ title: 'Fall prevention',
506
+ absolute:
507
+ 'https://content-v2.api.worksafe.vic.gov.au/fall-prevention',
508
+ relative: '/fall-prevention'
509
+ },
510
+ {
511
+ title: 'Handling and transporting cash',
512
+ absolute:
513
+ 'https://content-v2.api.worksafe.vic.gov.au/handling-and-transporting-cash',
514
+ relative: '/handling-and-transporting-cash'
515
+ },
516
+ {
517
+ title: 'Hazardous manual handling',
518
+ absolute:
519
+ 'https://content-v2.api.worksafe.vic.gov.au/hazardous-manual-handling',
520
+ relative: '/hazardous-manual-handling'
521
+ },
522
+ {
523
+ title: 'Hazardous substances',
524
+ absolute:
525
+ 'https://content-v2.api.worksafe.vic.gov.au/hazardous-substances',
526
+ relative: '/hazardous-substances'
527
+ },
528
+ {
529
+ title: 'Office work',
530
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/office',
531
+ relative: '/office'
532
+ },
533
+ {
534
+ title: 'Plant, machinery and equipment',
535
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/plant',
536
+ relative: '/plant'
537
+ },
538
+ {
539
+ title: 'Safe design',
540
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/safe-design',
541
+ relative: '/safe-design'
542
+ },
543
+ {
544
+ title: 'Slips, trips and falls',
545
+ absolute:
546
+ 'https://content-v2.api.worksafe.vic.gov.au/slips-trips-and-falls',
547
+ relative: '/slips-trips-and-falls'
548
+ },
549
+ {
550
+ title: 'Sun protection',
551
+ absolute:
552
+ 'https://content-v2.api.worksafe.vic.gov.au/sun-protection',
553
+ relative: '/sun-protection'
554
+ },
555
+ {
556
+ title: 'Working alone',
557
+ absolute:
558
+ 'https://content-v2.api.worksafe.vic.gov.au/working-alone',
559
+ relative: '/working-alone'
560
+ }
561
+ ]
562
+ },
563
+ {
564
+ title: 'Safety communication',
565
+ absolute:
566
+ 'https://content-v2.api.worksafe.vic.gov.au/safety-communication',
567
+ relative: '/safety-communication',
568
+ below: [
569
+ {
570
+ title: 'Communicating across languages',
571
+ absolute:
572
+ 'https://content-v2.api.worksafe.vic.gov.au/communicating-across-languages',
573
+ relative: '/communicating-across-languages'
574
+ },
575
+ {
576
+ title: 'Consultation',
577
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/consultation',
578
+ relative: '/consultation'
579
+ },
580
+ {
581
+ title: 'OHS Essentials program',
582
+ absolute:
583
+ 'https://content-v2.api.worksafe.vic.gov.au/ohs-essentials-program',
584
+ relative: '/ohs-essentials-program'
585
+ },
586
+ {
587
+ title: 'Posters for your workplace',
588
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/posters',
589
+ relative: '/posters'
590
+ },
591
+ {
592
+ title: 'Small business',
593
+ absolute:
594
+ 'https://content-v2.api.worksafe.vic.gov.au/small-business',
595
+ relative: '/small-business'
596
+ },
597
+ {
598
+ title: 'Workplace inspections',
599
+ absolute:
600
+ 'https://content-v2.api.worksafe.vic.gov.au/workplace-inspections',
601
+ relative: '/workplace-inspections'
602
+ },
603
+ {
604
+ title: 'Young workers',
605
+ absolute:
606
+ 'https://content-v2.api.worksafe.vic.gov.au/young-workers',
607
+ relative: '/young-workers'
608
+ }
609
+ ]
610
+ },
611
+ {
612
+ title: 'Health and safety representatives',
613
+ absolute:
614
+ 'https://content-v2.api.worksafe.vic.gov.au/health-and-safety-representatives',
615
+ relative: '/health-and-safety-representatives'
616
+ },
617
+ {
618
+ title: 'Responsibilities and duties',
619
+ absolute:
620
+ 'https://content-v2.api.worksafe.vic.gov.au/ohs-responsibilities-and-duties',
621
+ relative: '/ohs-responsibilities-and-duties'
622
+ },
623
+ {
624
+ title: 'Laws and regulations',
625
+ absolute:
626
+ 'https://content-v2.api.worksafe.vic.gov.au/laws-and-regulations',
627
+ relative: '/laws-and-regulations'
628
+ }
629
+ ]
630
+ },
631
+ {
632
+ title: 'Licences',
633
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/licences',
634
+ relative: '/licences'
635
+ },
636
+ {
637
+ title: 'Insurance',
638
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/insurance',
639
+ relative: '/insurance',
640
+ below: [
641
+ {
642
+ title: 'WorkCover insurance',
643
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/insurance',
644
+ relative: '/insurance'
645
+ },
646
+ {
647
+ title: 'Self-insurance',
648
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/self-insurance',
649
+ relative: '/self-insurance'
650
+ }
651
+ ]
652
+ },
653
+ {
654
+ title: 'Claims and recovery',
655
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/claims',
656
+ relative: '/claims',
657
+ below: [
658
+ {
659
+ title: 'Claims after an injury',
660
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/claims',
661
+ relative: '/claims'
662
+ },
663
+ {
664
+ title: 'Return to work',
665
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/return-to-work',
666
+ relative: '/return-to-work'
667
+ },
668
+ {
669
+ title: 'Information for providers',
670
+ absolute:
671
+ 'https://content-v2.api.worksafe.vic.gov.au/provider-information',
672
+ relative: '/provider-information'
673
+ }
674
+ ]
675
+ },
676
+ {
677
+ title: 'Extra Link One',
678
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/licences',
679
+ relative: '/licences'
680
+ },
681
+ {
682
+ title: 'Extra Link Two',
683
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/licences',
684
+ relative: '/licences',
685
+ below: [
686
+ {
687
+ title: 'Contact WorkSafe',
688
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/contact-worksafe',
689
+ relative: '/contact-worksafe'
690
+ },
691
+ {
692
+ title: 'Report an incident',
693
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/report-incident',
694
+ relative: '/report-incident'
695
+ }
696
+ ]
697
+ },
698
+ {
699
+ title: 'Extra Link Three',
700
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/licences',
701
+ relative: '/licences'
702
+ },
703
+ {
704
+ title: 'External Link',
705
+ absolute: 'http://google.com',
706
+ relative: ''
707
+ },
708
+ {
709
+ title: 'Extra Link Five',
710
+ absolute: 'https://content-v2.api.worksafe.vic.gov.au/licences',
711
+ relative: '/licences'
712
+ },
713
+ ]
714
+
715
+ export { appHeaderData }