@worksafevictoria/wcl7.5 1.1.0-beta.103 → 1.1.0-beta.105

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.
@@ -0,0 +1,34 @@
1
+ import prsRecord from './index.vue'
2
+
3
+ const cpData = {
4
+ id: '1',
5
+ title: 'Australian Nurses and Midwifery Federation - Victorian Branch',
6
+ meta: {
7
+ court: ['Federal Court of Australia'],
8
+ legislation: ['Work Health and Safety Act 2011'],
9
+ section: '21(1); 21(2)(a) & 5A(1)',
10
+ dateOutcome: '2023-09-15',
11
+ fine: '$10,000',
12
+ costs: '$2,000',
13
+ restitution: '$5,000',
14
+ datePublished: '2023-09-20',
15
+ appeal: 'None',
16
+ category: ['Workplace Safety']
17
+ },
18
+ field_prs_sentence: 'Company fined for OH&S breach.',
19
+ outcome: '<div><p><strong>Background</strong></p><p>Company found guilty of OH&S breach and fined.</p></div>',
20
+ attachment: 'case_details.pdf',
21
+ attachment_src: 'https://www.example.com/case_details.pdf'
22
+ };
23
+
24
+ export default {
25
+ title: 'Paragraphs/Directory/PRS',
26
+ component: prsRecord,
27
+ tags: ['autodocs']
28
+ };
29
+
30
+ export const CourseProvider = {};
31
+
32
+ CourseProvider.args = {
33
+ item: cpData,
34
+ };
@@ -21,8 +21,12 @@
21
21
  <script>
22
22
  import RecordDetails from './recordDetails.vue'
23
23
  import RecordContent from './recordContent.vue'
24
+ import { BButton, BCollapse } from 'bootstrap-vue-next'
25
+
24
26
  export default {
25
27
  components: {
28
+ BButton,
29
+ BCollapse,
26
30
  RecordDetails,
27
31
  RecordContent
28
32
  },