@asd20/ui 3.2.826 → 3.2.828
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
|
@@ -2,39 +2,35 @@
|
|
|
2
2
|
<div class="asd20-district-home-template">
|
|
3
3
|
<!-- Skip Nav -->
|
|
4
4
|
<div>
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
<!-- Skip Nav -->
|
|
6
|
+
<asd20-skip-to />
|
|
7
|
+
|
|
8
|
+
<!-- Site Navigation -->
|
|
9
|
+
<asd20-site-navigation
|
|
10
|
+
:navigation="navigation"
|
|
11
|
+
:action-items="actionItems"
|
|
12
|
+
@update:menuOpen="$emit('update:menuOpen', $event)"
|
|
13
|
+
:menu-open="menuOpen"
|
|
14
|
+
@update:searchOpen="$emit('update:searchOpen', $event)"
|
|
15
|
+
:search-open="searchOpen"
|
|
16
|
+
:organization="organization"
|
|
17
|
+
:organization-options="organizationOptions"
|
|
18
|
+
>
|
|
19
|
+
</asd20-site-navigation>
|
|
20
|
+
|
|
21
|
+
<!-- Banner Notifications -->
|
|
22
|
+
<client-only>
|
|
23
|
+
<asd20-notification-group
|
|
24
|
+
:notifications="activeNotificationsByType.banner"
|
|
25
|
+
group-type="banner"
|
|
26
|
+
@dismiss="$emit('dismiss-notification', $event)"
|
|
27
|
+
@toggle-all="$emit('toggle-all')"
|
|
28
|
+
></asd20-notification-group>
|
|
7
29
|
</client-only>
|
|
8
|
-
<div v-else>
|
|
9
|
-
<!-- Skip Nav -->
|
|
10
|
-
<asd20-skip-to />
|
|
11
|
-
|
|
12
|
-
<!-- Site Navigation -->
|
|
13
|
-
<asd20-site-navigation
|
|
14
|
-
:navigation="navigation"
|
|
15
|
-
:action-items="actionItems"
|
|
16
|
-
@update:menuOpen="$emit('update:menuOpen', $event)"
|
|
17
|
-
:menu-open="menuOpen"
|
|
18
|
-
@update:searchOpen="$emit('update:searchOpen', $event)"
|
|
19
|
-
:search-open="searchOpen"
|
|
20
|
-
:organization="organization"
|
|
21
|
-
:organization-options="organizationOptions"
|
|
22
|
-
>
|
|
23
|
-
</asd20-site-navigation>
|
|
24
|
-
|
|
25
|
-
<!-- Banner Notifications -->
|
|
26
|
-
<client-only>
|
|
27
|
-
<asd20-notification-group
|
|
28
|
-
:notifications="activeNotificationsByType.banner"
|
|
29
|
-
group-type="banner"
|
|
30
|
-
@dismiss="$emit('dismiss-notification', $event)"
|
|
31
|
-
@toggle-all="$emit('toggle-all')"
|
|
32
|
-
></asd20-notification-group>
|
|
33
|
-
</client-only>
|
|
34
30
|
|
|
35
|
-
|
|
31
|
+
<!-- Page Header -->
|
|
36
32
|
|
|
37
|
-
|
|
33
|
+
<!-- <asd20-choice-header
|
|
38
34
|
id="page-header"
|
|
39
35
|
v-if="pageHeaderContent"
|
|
40
36
|
v-bind="pageHeaderContent"
|
|
@@ -64,66 +60,66 @@
|
|
|
64
60
|
</template>
|
|
65
61
|
</asd20-choice-header> -->
|
|
66
62
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
<asd20-notification-group
|
|
90
|
-
:notifications="activeNotificationsByType.status"
|
|
91
|
-
group-type="status"
|
|
92
|
-
@dismiss="$emit('dismiss-notification', $event)"
|
|
93
|
-
@toggle-all="$emit('toggle-all')"
|
|
94
|
-
/>
|
|
95
|
-
</a>
|
|
96
|
-
</client-only>
|
|
97
|
-
|
|
98
|
-
<client-only>
|
|
99
|
-
<Asd20LanguageTranslation
|
|
100
|
-
:class="
|
|
101
|
-
activeNotificationsByType.status.length > 0
|
|
102
|
-
? ''
|
|
103
|
-
: 'translation-button-adjust'
|
|
104
|
-
"
|
|
105
|
-
v-if="languageCode"
|
|
106
|
-
reversed
|
|
107
|
-
:languageCode="languageCode"
|
|
108
|
-
v-on="$listeners"
|
|
109
|
-
/>
|
|
110
|
-
</client-only>
|
|
111
|
-
|
|
112
|
-
<client-only>
|
|
63
|
+
<!-- Headers -->
|
|
64
|
+
<section class="logo-header">
|
|
65
|
+
<client-only>
|
|
66
|
+
<asd20-organization-picker
|
|
67
|
+
:organization-options="organizationOptions"
|
|
68
|
+
:organization="organization"
|
|
69
|
+
></asd20-organization-picker>
|
|
70
|
+
</client-only>
|
|
71
|
+
<slot name="top" />
|
|
72
|
+
<template>
|
|
73
|
+
<div
|
|
74
|
+
:class="
|
|
75
|
+
activeNotificationsByType.floating.length > 0
|
|
76
|
+
? 'double-notification-wrapper'
|
|
77
|
+
: 'notification-wrapper'
|
|
78
|
+
"
|
|
79
|
+
>
|
|
80
|
+
<client-only>
|
|
81
|
+
<a
|
|
82
|
+
class="weather-link"
|
|
83
|
+
href="https://www.asd20.org/alerts-and-communication/weather-related-communication/"
|
|
84
|
+
>
|
|
113
85
|
<asd20-notification-group
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
:total-dismissed-notifications="totalDismissedNotifications"
|
|
117
|
-
group-type="floating"
|
|
86
|
+
:notifications="activeNotificationsByType.status"
|
|
87
|
+
group-type="status"
|
|
118
88
|
@dismiss="$emit('dismiss-notification', $event)"
|
|
119
89
|
@toggle-all="$emit('toggle-all')"
|
|
120
|
-
|
|
121
|
-
</
|
|
122
|
-
</
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
90
|
+
/>
|
|
91
|
+
</a>
|
|
92
|
+
</client-only>
|
|
93
|
+
|
|
94
|
+
<client-only>
|
|
95
|
+
<Asd20LanguageTranslation
|
|
96
|
+
:class="
|
|
97
|
+
activeNotificationsByType.status.length > 0
|
|
98
|
+
? ''
|
|
99
|
+
: 'translation-button-adjust'
|
|
100
|
+
"
|
|
101
|
+
v-if="languageCode"
|
|
102
|
+
reversed
|
|
103
|
+
:languageCode="languageCode"
|
|
104
|
+
v-on="$listeners"
|
|
105
|
+
/>
|
|
106
|
+
</client-only>
|
|
107
|
+
|
|
108
|
+
<client-only>
|
|
109
|
+
<asd20-notification-group
|
|
110
|
+
class="asd20-notification-group--floating"
|
|
111
|
+
:notifications="activeNotificationsByType.floating"
|
|
112
|
+
:total-dismissed-notifications="totalDismissedNotifications"
|
|
113
|
+
group-type="floating"
|
|
114
|
+
@dismiss="$emit('dismiss-notification', $event)"
|
|
115
|
+
@toggle-all="$emit('toggle-all')"
|
|
116
|
+
></asd20-notification-group>
|
|
117
|
+
</client-only>
|
|
118
|
+
</div>
|
|
119
|
+
</template>
|
|
120
|
+
</section>
|
|
121
|
+
|
|
122
|
+
<!-- <asd20-primary-header
|
|
127
123
|
id="page-header"
|
|
128
124
|
heading="Apply for School Choice"
|
|
129
125
|
lead="We are now accepting applications for students living in, and out of, our district for the 2022-23 school year."
|
|
@@ -140,7 +136,7 @@
|
|
|
140
136
|
>
|
|
141
137
|
</asd20-primary-header> -->
|
|
142
138
|
|
|
143
|
-
|
|
139
|
+
<!-- <asd20-secondary-header
|
|
144
140
|
heading="Register for Kindergarten"
|
|
145
141
|
lead="Early Kindergarten registration is now open."
|
|
146
142
|
:call-to-action="{
|
|
@@ -149,7 +145,7 @@
|
|
|
149
145
|
}"
|
|
150
146
|
></asd20-secondary-header> -->
|
|
151
147
|
|
|
152
|
-
|
|
148
|
+
<!-- <asd20-tertiary-header
|
|
153
149
|
heading="Attend our Job Fair"
|
|
154
150
|
lead="We're hiring and hope you can attend our Job Fair on March 5, 2022, from 9 a.m. – 3 p.m."
|
|
155
151
|
:call-to-action="{
|
|
@@ -158,17 +154,11 @@
|
|
|
158
154
|
label: 'Register for our Job Fair',
|
|
159
155
|
}"
|
|
160
156
|
></asd20-tertiary-header> -->
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
<asd20-tertiary-header
|
|
167
|
-
v-if="messages.length > 2"
|
|
168
|
-
:messages="messages"
|
|
169
|
-
/>
|
|
170
|
-
|
|
171
|
-
<!-- <asd20-return-to-school-header
|
|
157
|
+
<asd20-primary-header v-if="messages.length > 0" :messages="messages" />
|
|
158
|
+
<asd20-secondary-header v-if="messages.length > 1" :messages="messages" />
|
|
159
|
+
<asd20-tertiary-header v-if="messages.length > 2" :messages="messages" />
|
|
160
|
+
|
|
161
|
+
<!-- <asd20-return-to-school-header
|
|
172
162
|
id="page-header"
|
|
173
163
|
v-if="pageHeaderContent"
|
|
174
164
|
v-bind="pageHeaderContent"
|
|
@@ -198,7 +188,7 @@
|
|
|
198
188
|
</template>
|
|
199
189
|
</asd20-return-to-school-header> -->
|
|
200
190
|
|
|
201
|
-
|
|
191
|
+
<!-- <asd20-page-content
|
|
202
192
|
:primary-messages="primaryMessages"
|
|
203
193
|
:secondary-messages="secondaryMessages"
|
|
204
194
|
>
|
|
@@ -210,37 +200,36 @@
|
|
|
210
200
|
/>
|
|
211
201
|
</asd20-page-content> -->
|
|
212
202
|
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
203
|
+
<asd20-feeds-section
|
|
204
|
+
:announcements="announcements"
|
|
205
|
+
:announcements-feed-props="announcementsFeedProps"
|
|
206
|
+
@announcements-in-view="$emit('announcements-in-view')"
|
|
207
|
+
:stories="stories"
|
|
208
|
+
:stories-feed-props="storiesFeedProps"
|
|
209
|
+
@stories-in-view="$emit('stories-in-view')"
|
|
210
|
+
:events="events"
|
|
211
|
+
:events-feed-props="eventsFeedProps"
|
|
212
|
+
@events-in-view="$emit('events-in-view')"
|
|
213
|
+
></asd20-feeds-section>
|
|
214
|
+
|
|
215
|
+
<!-- <asd20-factoids-section
|
|
226
216
|
v-if="factoids && factoids.length > 0"
|
|
227
217
|
:factoids="factoids"
|
|
228
218
|
/> -->
|
|
229
219
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
</div>
|
|
220
|
+
<!-- Quick Links -->
|
|
221
|
+
<asd20-quicklinks-menu :quickLinks="quickLinks">
|
|
222
|
+
<slot name="quicklinks-menu" />
|
|
223
|
+
</asd20-quicklinks-menu>
|
|
224
|
+
|
|
225
|
+
<!-- Footer -->
|
|
226
|
+
<asd20-page-footer
|
|
227
|
+
:organization="organization"
|
|
228
|
+
:socialLinks="socialLinks"
|
|
229
|
+
:disclosureLinks="disclosureLinks"
|
|
230
|
+
>
|
|
231
|
+
<slot name="page-footer" />
|
|
232
|
+
</asd20-page-footer>
|
|
244
233
|
</div>
|
|
245
234
|
</div>
|
|
246
235
|
</template>
|
|
@@ -254,7 +243,7 @@ import scrollTrack from '../../../directives/scroll-track'
|
|
|
254
243
|
|
|
255
244
|
// Components
|
|
256
245
|
import Asd20SkipTo from '../../../components/atoms/Asd20SkipTo'
|
|
257
|
-
import Asd20Skeleton from '../../../components/atoms/Asd20Skeleton'
|
|
246
|
+
// import Asd20Skeleton from '../../../components/atoms/Asd20Skeleton'
|
|
258
247
|
// import Asd20ReturnToSchoolHeader from '../../../components/organisms/Asd20ReturnToSchoolHeader'
|
|
259
248
|
// import Asd20ChoiceHeader from '../../../components/organisms/Asd20ChoiceHeader'
|
|
260
249
|
import Asd20PageFooter from '../../../components/organisms/Asd20PageFooter'
|
|
@@ -271,17 +260,17 @@ import Asd20PrimaryHeader from '../../../components/organisms/Asd20PrimaryHeader
|
|
|
271
260
|
import Asd20SecondaryHeader from '../../../components/organisms/Asd20SecondaryHeader'
|
|
272
261
|
import Asd20TertiaryHeader from '../../../components/organisms/Asd20TertiaryHeader'
|
|
273
262
|
import Asd20LanguageTranslation from '../../molecules/Asd20LanguageTranslation'
|
|
274
|
-
import globalPropMixinFactory from '../../../mixins/globalPropMixinFactory.js'
|
|
263
|
+
// import globalPropMixinFactory from '../../../mixins/globalPropMixinFactory.js'
|
|
275
264
|
|
|
276
265
|
export default {
|
|
277
266
|
name: 'Asd20DistrictHomeTemplate',
|
|
278
267
|
|
|
279
268
|
mixins: [
|
|
280
269
|
pageTemplateMixin,
|
|
281
|
-
globalPropMixinFactory('isAuthenticated', {
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
}),
|
|
270
|
+
// globalPropMixinFactory('isAuthenticated', {
|
|
271
|
+
// type: Boolean,
|
|
272
|
+
// default: true,
|
|
273
|
+
// }),
|
|
285
274
|
],
|
|
286
275
|
|
|
287
276
|
directives: { scrollTrack },
|
|
@@ -294,7 +283,7 @@ export default {
|
|
|
294
283
|
|
|
295
284
|
components: {
|
|
296
285
|
Asd20SkipTo,
|
|
297
|
-
Asd20Skeleton,
|
|
286
|
+
// Asd20Skeleton,
|
|
298
287
|
// Asd20ReturnToSchoolHeader,
|
|
299
288
|
// Asd20ChoiceHeader,
|
|
300
289
|
// Asd20PageContent,
|