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

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worksafevictoria/wcl7.5",
3
- "version": "1.1.0-beta.103",
3
+ "version": "1.1.0-beta.104",
4
4
  "main": "src/index.js",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -163,6 +163,7 @@ export default {
163
163
  background-position: 96% 12px;
164
164
  margin-bottom: 16px;
165
165
  transition: none;
166
+ background-image: url('./../../../assets/icons/search.svg')
166
167
  }
167
168
  &__filterButton {
168
169
  display: inline-block;
@@ -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
  },