@worksafevictoria/wcl7.5 1.1.0-beta.87 → 1.1.0-beta.89
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
|
@@ -252,13 +252,10 @@ export default {
|
|
|
252
252
|
return this.item === null
|
|
253
253
|
},
|
|
254
254
|
showCookie() {
|
|
255
|
-
//
|
|
256
|
-
return
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
? false
|
|
260
|
-
: true
|
|
261
|
-
},
|
|
255
|
+
// Default to false, but set to true when SHOW_COOKIE is explicitly "true"
|
|
256
|
+
return this.$config?.public?.showCookie === "true" || process.env.SHOW_COOKIE === "true";
|
|
257
|
+
}
|
|
258
|
+
|
|
262
259
|
},
|
|
263
260
|
mounted() {
|
|
264
261
|
// detect screen size to display smaller content
|
package/src/index.js
CHANGED
|
@@ -25,7 +25,7 @@ import RichText from './components/Paragraphs/RichText/index.vue'
|
|
|
25
25
|
import TextMedia from './components/Paragraphs/TextMedia/index.vue'
|
|
26
26
|
import Accordion from './components/Paragraphs/Accordion/index.vue'
|
|
27
27
|
import TabbedCards from './components/Paragraphs/TabbedCards/index.vue'
|
|
28
|
-
import BrowseContent from './components/Paragraphs/BrowseContent/index.vue'
|
|
28
|
+
// import BrowseContent from './components/Paragraphs/BrowseContent/index.vue'
|
|
29
29
|
import TaskFinder from './components/Paragraphs/TaskFinder/index.vue'
|
|
30
30
|
import ListGroup from './components/Paragraphs/ListGroup/index.vue'
|
|
31
31
|
import ScrollSpy from './components/Paragraphs/ScrollSpy/index.vue'
|
|
@@ -80,7 +80,7 @@ export {
|
|
|
80
80
|
BackToTop,
|
|
81
81
|
GlobalNotice,
|
|
82
82
|
ContrastMode,
|
|
83
|
-
CarouselComponent
|
|
83
|
+
CarouselComponent,
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
// Export Paragraphs
|
|
@@ -89,7 +89,7 @@ export {
|
|
|
89
89
|
TextMedia,
|
|
90
90
|
Accordion,
|
|
91
91
|
TabbedCards,
|
|
92
|
-
BrowseContent,
|
|
92
|
+
// BrowseContent, moved to FE
|
|
93
93
|
ListGroup,
|
|
94
94
|
ScrollSpy,
|
|
95
95
|
Directory,
|
|
@@ -102,7 +102,7 @@ export {
|
|
|
102
102
|
MarketingBanner,
|
|
103
103
|
RelatedInformation,
|
|
104
104
|
Calculator,
|
|
105
|
-
Chart
|
|
105
|
+
Chart,
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
// Export Sub Components
|
|
@@ -116,5 +116,15 @@ export {
|
|
|
116
116
|
Breadcrumb,
|
|
117
117
|
Search,
|
|
118
118
|
VideoThumbnail,
|
|
119
|
-
ResourceGroup
|
|
119
|
+
ResourceGroup,
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// Export for BrowseContent
|
|
123
|
+
import DirectoryFilters from './components/Global/DirectoryFilters/index.vue'
|
|
124
|
+
import Switcher from './components/Paragraphs/BrowseContent/switcher.vue'
|
|
125
|
+
|
|
126
|
+
export {
|
|
127
|
+
// CardGroup, already imported
|
|
128
|
+
DirectoryFilters,
|
|
129
|
+
Switcher,
|
|
120
130
|
}
|