@windward/core 0.5.2 → 0.7.0

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 (53) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/components/Content/Blocks/Accordion.vue +28 -0
  3. package/components/Content/Blocks/ClickableIcons.vue +31 -21
  4. package/components/Content/Blocks/Email.vue +11 -2
  5. package/components/Content/Blocks/FileDownload.vue +6 -8
  6. package/components/Content/Blocks/GenerateAIQuestionButton.vue +14 -6
  7. package/components/Content/Blocks/HorizontalRule.vue +1 -4
  8. package/components/Content/Blocks/ScenarioChoice.vue +58 -33
  9. package/components/Content/Blocks/Tab.vue +5 -0
  10. package/components/Content/Blocks/UserUpload.vue +1 -8
  11. package/components/Content/Blocks/Video.vue +96 -8
  12. package/components/Settings/AccordionSettings.vue +176 -136
  13. package/components/Settings/BlockQuoteSettings.vue +41 -2
  14. package/components/Settings/ClickableIconsSettings.vue +66 -10
  15. package/components/Settings/EmailSettings.vue +39 -4
  16. package/components/Settings/FileDownloadSettings.vue +38 -7
  17. package/components/Settings/HorizontalRuleSettings.vue +0 -3
  18. package/components/Settings/ScenarioChoiceSettings.vue +47 -9
  19. package/components/Settings/TabSettings.vue +124 -71
  20. package/components/Settings/TextEditorSettings.vue +14 -2
  21. package/components/Settings/UserUploadSettings.vue +42 -23
  22. package/components/Settings/VideoSettings/SourcePicker.vue +222 -0
  23. package/components/Settings/VideoSettings.vue +151 -165
  24. package/components/utils/TinyMCEWrapper.vue +25 -3
  25. package/components/utils/assets/tinymce/content/global.scss +14 -0
  26. package/components/utils/glossary/CourseGlossary.vue +52 -27
  27. package/helpers/tinymce/WindwardPlugins.ts +59 -10
  28. package/i18n/en-US/components/content/blocks/generate_questions.ts +2 -1
  29. package/i18n/en-US/components/content/blocks/video.ts +2 -51
  30. package/i18n/en-US/components/settings/accordion.ts +1 -0
  31. package/i18n/en-US/components/settings/tab.ts +1 -0
  32. package/i18n/en-US/components/settings/user_upload.ts +1 -0
  33. package/i18n/en-US/components/settings/video.ts +51 -0
  34. package/i18n/en-US/components/utils/tiny_mce_wrapper.ts +9 -1
  35. package/i18n/en-US/shared/settings.ts +3 -0
  36. package/i18n/es-ES/components/content/blocks/generate_questions.ts +2 -1
  37. package/i18n/es-ES/components/content/blocks/video.ts +3 -53
  38. package/i18n/es-ES/components/settings/accordion.ts +1 -0
  39. package/i18n/es-ES/components/settings/tab.ts +2 -0
  40. package/i18n/es-ES/components/settings/user_upload.ts +1 -0
  41. package/i18n/es-ES/components/settings/video.ts +53 -0
  42. package/i18n/es-ES/components/utils/tiny_mce_wrapper.ts +9 -0
  43. package/i18n/es-ES/shared/settings.ts +3 -0
  44. package/i18n/sv-SE/components/content/blocks/generate_questions.ts +2 -1
  45. package/i18n/sv-SE/components/content/blocks/video.ts +2 -51
  46. package/i18n/sv-SE/components/settings/accordion.ts +2 -0
  47. package/i18n/sv-SE/components/settings/tab.ts +1 -0
  48. package/i18n/sv-SE/components/settings/user_upload.ts +1 -0
  49. package/i18n/sv-SE/components/settings/video.ts +51 -0
  50. package/i18n/sv-SE/components/utils/tiny_mce_wrapper.ts +8 -0
  51. package/i18n/sv-SE/shared/settings.ts +3 -0
  52. package/package.json +2 -1
  53. package/plugin.js +1 -1
@@ -1,150 +1,157 @@
1
1
  <template>
2
2
  <div>
3
- <v-form ref="form" v-model="valid" v-if="!loading">
4
- <v-container class="pa-0">
5
- <v-divider class="my-4 primary"></v-divider>
6
- <p>
7
- {{
8
- $t('windward.core.components.settings.accordion.items')
9
- }}
10
- </p>
11
- <SortableExpansionPanel
12
- v-model="block.metadata.config.items"
3
+ <v-container class="pa-0">
4
+ <v-row class="pl-3 pr-3">
5
+ <v-text-field
6
+ v-model="block.metadata.config.title"
7
+ :autofocus="true"
8
+ :rules="validation.shortInputRules"
9
+ :counter="50"
10
+ outlined
11
+ id="title"
12
+ :label="
13
+ $t(
14
+ 'windward.core.components.settings.clickable_icon.title'
15
+ )
16
+ "
13
17
  :disabled="render"
14
- @click:close="onRemoveElement($event)"
15
- @change="onDragged"
16
- @update:currentPanel="onUpdatePanel"
17
- >
18
- <template #header="{ item }">{{
19
- item.header
20
- ? item.header
21
- : $t('components.content.settings.base.placeholder')
22
- }}</template>
23
- <template #body="{ index }">
24
- <v-container :key="expansionPanelKey">
18
+ ></v-text-field>
19
+ <v-textarea
20
+ v-model="block.metadata.config.instructions"
21
+ :rules="validation.instructionRule"
22
+ :counter="255"
23
+ outlined
24
+ :label="$t('components.content.settings.base.instructions')"
25
+ :disabled="render"
26
+ ></v-textarea>
27
+ </v-row>
28
+ <v-divider class="my-4 primary"></v-divider>
29
+ <p>
30
+ {{ $t('windward.core.components.settings.accordion.items') }}
31
+ </p>
32
+ <SortableExpansionPanel
33
+ v-model="block.metadata.config.items"
34
+ :disabled="render"
35
+ @click:close="onRemoveElement($event)"
36
+ @change="onDragged"
37
+ @update:currentPanel="onUpdatePanel"
38
+ >
39
+ <template #header="{ item }">{{
40
+ item.header
41
+ ? item.header
42
+ : $t('components.content.settings.base.placeholder')
43
+ }}</template>
44
+ <template #body="{ index }">
45
+ <v-container :key="expansionPanelKey">
46
+ <v-text-field
47
+ v-model="block.metadata.config.items[index].header"
48
+ :autofocus="true"
49
+ :counter="50"
50
+ :rules="validation.shortInputRules"
51
+ outlined
52
+ :label="
53
+ $t('components.content.settings.base.title')
54
+ "
55
+ :disabled="render"
56
+ ></v-text-field>
57
+ <v-btn
58
+ text
59
+ elevation="0"
60
+ class="mb-3"
61
+ :disabled="render"
62
+ @click="
63
+ onToggleExpand(
64
+ block.metadata.config.items[index]
65
+ )
66
+ "
67
+ >
68
+ <v-icon
69
+ v-if="
70
+ !block.metadata.config.items[index].expand
71
+ "
72
+ color="primary"
73
+ >mdi-arrow-expand-all</v-icon
74
+ >
75
+ <v-icon
76
+ v-if="block.metadata.config.items[index].expand"
77
+ color="primary"
78
+ >
79
+ mdi-arrow-collapse-all
80
+ </v-icon>
81
+ </v-btn>
82
+ <TextEditor
83
+ v-show="!block.metadata.config.items[index].expand"
84
+ v-model="block.metadata.config.items[index].content"
85
+ :label="
86
+ $t(
87
+ 'windward.core.components.settings.accordion.label'
88
+ )
89
+ "
90
+ :disabled="render"
91
+ ></TextEditor>
92
+ <v-container class="pa-0 pt-3">
93
+ <h4>
94
+ {{
95
+ $t(
96
+ 'windward.core.shared.settings.upload_file'
97
+ )
98
+ }}
99
+ </h4>
25
100
  <v-text-field
26
101
  v-model="
27
- block.metadata.config.items[index].header
102
+ block.metadata.config.items[index].altText
28
103
  "
29
- :autofocus="true"
104
+ class="pt-3 pb-3"
105
+ :hide-details="true"
106
+ dense
30
107
  outlined
31
108
  :label="
32
- $t('components.content.settings.base.title')
33
- "
34
- :disabled="render"
35
- @focus="onTextAreaFocus"
36
- ></v-text-field>
37
- <v-btn
38
- text
39
- elevation="0"
40
- class="mb-3"
41
- :disabled="render"
42
- @click="
43
- onToggleExpand(
44
- block.metadata.config.items[index]
109
+ $t(
110
+ 'windward.core.shared.settings.alt_image'
45
111
  )
46
112
  "
47
- >
48
- <v-icon
49
- v-if="
50
- !block.metadata.config.items[index]
51
- .expand
52
- "
53
- color="primary"
54
- >mdi-arrow-expand-all</v-icon
55
- >
56
- <v-icon
57
- v-if="
58
- block.metadata.config.items[index]
59
- .expand
60
- "
61
- color="primary"
62
- >
63
- mdi-arrow-collapse-all
64
- </v-icon>
65
- </v-btn>
66
- <TextEditor
67
- v-show="
68
- !block.metadata.config.items[index].expand
69
- "
113
+ ></v-text-field>
114
+ <v-text-field
70
115
  v-model="
71
- block.metadata.config.items[index].content
116
+ block.metadata.config.items[index]
117
+ .ariaDescribedBy
72
118
  "
119
+ class="pt-3 pb-3"
120
+ :hide-details="true"
121
+ dense
122
+ outlined
73
123
  :label="
74
124
  $t(
75
- 'windward.core.components.settings.accordion.label'
125
+ 'windward.core.shared.settings.aria_described'
76
126
  )
77
127
  "
78
- :disabled="render"
79
- ></TextEditor>
80
- <v-container class="pa-0 pt-3">
81
- <h4>
82
- {{
83
- $t(
84
- 'windward.core.shared.settings.upload_file'
85
- )
86
- }}
87
- </h4>
88
- <v-text-field
89
- v-model="
90
- block.metadata.config.items[index]
91
- .altText
92
- "
93
- class="pt-3 pb-3"
94
- :hide-details="true"
95
- dense
96
- outlined
97
- :autofocus="true"
98
- :label="
99
- $t(
100
- 'windward.core.shared.settings.alt_image'
101
- )
102
- "
103
- ></v-text-field>
104
- <v-text-field
105
- v-model="
106
- block.metadata.config.items[index]
107
- .ariaDescribedBy
108
- "
109
- class="pt-3 pb-3"
110
- :hide-details="true"
111
- dense
112
- outlined
113
- :label="
114
- $t(
115
- 'windward.core.shared.settings.aria_described'
116
- )
117
- "
118
- ></v-text-field>
119
- <ContentBlockAsset
120
- v-model="
121
- block.metadata.config.items[index].file
122
- "
123
- mimes="image/png,image/jpeg"
124
- :assets.sync="block.assets"
125
- ></ContentBlockAsset>
126
- </v-container>
128
+ ></v-text-field>
129
+ <ContentBlockAsset
130
+ v-model="
131
+ block.metadata.config.items[index].file
132
+ "
133
+ mimes="image/png,image/jpeg"
134
+ :assets.sync="block.assets"
135
+ ></ContentBlockAsset>
127
136
  </v-container>
128
- </template>
129
- </SortableExpansionPanel>
130
- </v-container>
131
- <v-container class="pa-0">
132
- <v-row justify="center" class="my-4">
133
- <v-btn
134
- color="primary"
135
- elevation="0"
136
- :disabled="render"
137
- @click="onAddElement"
138
- ><v-icon>mdi-plus</v-icon
139
- >{{
140
- $t(
141
- 'windward.core.components.settings.accordion.add'
142
- )
143
- }}</v-btn
144
- >
145
- </v-row>
146
- </v-container>
147
- </v-form>
137
+ </v-container>
138
+ </template>
139
+ </SortableExpansionPanel>
140
+ </v-container>
141
+ <v-container class="pa-0">
142
+ <v-row justify="center" class="my-4">
143
+ <v-btn
144
+ color="primary"
145
+ elevation="0"
146
+ :disabled="render"
147
+ @click="onAddElement"
148
+ ><v-icon>mdi-plus</v-icon
149
+ >{{
150
+ $t('windward.core.components.settings.accordion.add')
151
+ }}</v-btn
152
+ >
153
+ </v-row>
154
+ </v-container>
148
155
  <div v-if="loading" class="text-center">
149
156
  <v-progress-circular
150
157
  :size="70"
@@ -161,6 +168,7 @@ import Crypto from '~/helpers/Crypto'
161
168
  import BaseContentSettings from '~/components/Content/Settings/BaseContentSettings.js'
162
169
  import TextEditor from '~/components/Text/TextEditor'
163
170
  import SortableExpansionPanel from '~/components/Core/SortableExpansionPanel.vue'
171
+ import Uuid from '~/helpers/Uuid'
164
172
 
165
173
  export default {
166
174
  name: 'AccordionSettings',
@@ -179,6 +187,18 @@ export default {
179
187
  if (_.isEmpty(this.block.metadata.config)) {
180
188
  this.block.metadata.config = {}
181
189
  }
190
+ if (_.isEmpty(this.block.metadata.config.title)) {
191
+ this.block.metadata.config.title = ''
192
+ }
193
+ if (
194
+ _.isEmpty(this.block.metadata.config.instructions) &&
195
+ this.block.id &&
196
+ !Uuid.test(this.block.id)
197
+ ) {
198
+ this.block.metadata.config.instructions = this.$t(
199
+ 'windward.core.components.settings.accordion.instructions'
200
+ )
201
+ }
182
202
  if (_.isEmpty(this.block.metadata.config.editOnContentItem)) {
183
203
  this.block.metadata.config.editOnContentItem = false
184
204
  }
@@ -201,8 +221,33 @@ export default {
201
221
  data() {
202
222
  return {
203
223
  expansionPanelKey: '0',
204
- valid: true,
205
224
  loading: false,
225
+ validation: {
226
+ shortInputRules: [
227
+ (v) => {
228
+ if (v && v.length >= 50) {
229
+ return this.$t(
230
+ 'windward.core.shared.settings.errors.input_limitations',
231
+ [50]
232
+ )
233
+ } else {
234
+ return true
235
+ }
236
+ },
237
+ ],
238
+ instructionRule: [
239
+ (v) => {
240
+ if (v && v.length >= 255) {
241
+ return this.$t(
242
+ 'windward.core.shared.settings.errors.input_limitations',
243
+ [255]
244
+ )
245
+ } else {
246
+ return true
247
+ }
248
+ },
249
+ ],
250
+ },
206
251
  }
207
252
  },
208
253
  beforeDestroy() {
@@ -251,11 +296,6 @@ export default {
251
296
  //close all panels on drag, leaving them open confuses the tracking as indexes changes around
252
297
  this.block.metadata.config.selectedPanels = null
253
298
  },
254
- onTextAreaFocus($event) {
255
- // prevent focus error that is happening on text field because of last pass
256
- $event.preventDefault()
257
- $event.stopPropagation()
258
- },
259
299
  },
260
300
  }
261
301
  </script>
@@ -1,12 +1,12 @@
1
1
  <template>
2
2
  <div>
3
- <v-form ref="form" v-model="valid" v-if="!loading"> </v-form>
4
3
  <v-container class="pa-0">
5
4
  <v-text-field
6
5
  v-model="block.metadata.config.title"
6
+ :autofocus="true"
7
7
  outlined
8
8
  :counter="50"
9
- :autofocus="true"
9
+ :rules="validation.shortInputRules"
10
10
  :label="$t('components.content.settings.base.title')"
11
11
  ref="title"
12
12
  :disabled="render"
@@ -15,6 +15,7 @@
15
15
  v-model="block.metadata.config.instructions"
16
16
  outlined
17
17
  auto-grow
18
+ :rules="validation.longInputRules"
18
19
  :counter="255"
19
20
  :label="$t('components.content.settings.base.instructions')"
20
21
  :disabled="render"
@@ -24,6 +25,10 @@
24
25
  <v-container class="pa-0">
25
26
  <TextEditor
26
27
  v-model="block.metadata.config.block_quote.quote"
28
+ :rules="validation.longInputRules"
29
+ outlined
30
+ auto-grow
31
+ :counter="255"
27
32
  :height="200"
28
33
  :label="
29
34
  $t('windward.core.components.settings.block_quote.body')
@@ -35,6 +40,8 @@
35
40
  <v-container class="pa-0">
36
41
  <v-text-field
37
42
  v-model="block.metadata.config.block_quote.author"
43
+ :rules="validation.shortInputRules"
44
+ :counter="50"
38
45
  outlined
39
46
  auto-grow
40
47
  :label="
@@ -45,6 +52,8 @@
45
52
  <v-text-field
46
53
  v-model="block.metadata.config.block_quote.author_title"
47
54
  outlined
55
+ :rules="validation.shortInputRules"
56
+ :counter="50"
48
57
  auto-grow
49
58
  :label="
50
59
  $t('windward.core.components.settings.block_quote.title')
@@ -53,6 +62,8 @@
53
62
  ></v-text-field>
54
63
  <v-text-field
55
64
  v-model="block.metadata.config.block_quote.organization"
65
+ :rules="validation.shortInputRules"
66
+ :counter="50"
56
67
  outlined
57
68
  auto-grow
58
69
  :label="$t('windward.core.components.settings.block_quote.org')"
@@ -61,6 +72,8 @@
61
72
  <v-text-field
62
73
  v-model="block.metadata.config.block_quote.source_title"
63
74
  outlined
75
+ :rules="validation.shortInputRules"
76
+ :counter="50"
64
77
  auto-grow
65
78
  :label="
66
79
  $t(
@@ -169,6 +182,32 @@ export default {
169
182
  value: 'online_journal',
170
183
  },
171
184
  ],
185
+ validation: {
186
+ shortInputRules: [
187
+ (v) => {
188
+ if (v && v.length >= 50) {
189
+ return this.$t(
190
+ 'windward.core.shared.settings.errors.input_limitations',
191
+ [50]
192
+ )
193
+ } else {
194
+ return true
195
+ }
196
+ },
197
+ ],
198
+ longInputRules: [
199
+ (v) => {
200
+ if (v && v.length >= 255) {
201
+ return this.$t(
202
+ 'windward.core.shared.settings.errors.input_limitations',
203
+ [255]
204
+ )
205
+ } else {
206
+ return true
207
+ }
208
+ },
209
+ ],
210
+ },
172
211
  }
173
212
  },
174
213
  methods: {},
@@ -4,6 +4,9 @@
4
4
  <v-col class="pa-0">
5
5
  <v-text-field
6
6
  v-model="block.metadata.config.title"
7
+ :autofocus="true"
8
+ :rules="validation.shortInputRules"
9
+ :counter="50"
7
10
  outlined
8
11
  id="title"
9
12
  :label="
@@ -13,17 +16,14 @@
13
16
  "
14
17
  :disabled="render"
15
18
  ></v-text-field>
16
- <v-text-field
19
+ <v-textarea
17
20
  v-model="block.metadata.config.description"
21
+ :rules="validation.instructionRule"
22
+ :counter="255"
18
23
  outlined
19
- id="description"
20
- :label="
21
- $t(
22
- 'windward.core.components.settings.clickable_icon.description'
23
- )
24
- "
24
+ :label="$t('components.content.settings.base.instructions')"
25
25
  :disabled="render"
26
- ></v-text-field>
26
+ ></v-textarea>
27
27
  <v-switch
28
28
  v-model="block.metadata.config.display.show_title"
29
29
  :label="
@@ -142,6 +142,7 @@
142
142
  [index + 1]
143
143
  )
144
144
  "
145
+ :rules="validation.iconRules"
145
146
  :disabled="render"
146
147
  ></TextIconPicker>
147
148
 
@@ -164,6 +165,8 @@
164
165
  "
165
166
  :id="'item-' + index + '-title'"
166
167
  outlined
168
+ :counter="50"
169
+ :rules="validation.shortInputRules"
167
170
  :label="
168
171
  $t(
169
172
  'windward.core.components.settings.clickable_icon.item_title'
@@ -232,9 +235,62 @@ export default {
232
235
  ContentBlockAsset,
233
236
  },
234
237
  extends: BaseContentSettings,
235
-
236
238
  data() {
237
- return {}
239
+ return {
240
+ validation: {
241
+ shortInputRules: [
242
+ (v) => {
243
+ if (v) {
244
+ if (v.length <= 50) {
245
+ return true
246
+ } else {
247
+ return this.$t(
248
+ 'windward.core.shared.settings.errors.input_limitations',
249
+ [50]
250
+ )
251
+ }
252
+ } else {
253
+ return true
254
+ }
255
+ },
256
+ ],
257
+ instructionRule: [
258
+ (v) => {
259
+ if (v) {
260
+ if (v.length <= 255) {
261
+ return true
262
+ } else {
263
+ return this.$t(
264
+ 'windward.core.shared.settings.errors.input_limitations',
265
+ [255]
266
+ )
267
+ }
268
+ } else {
269
+ return true
270
+ }
271
+ },
272
+ ],
273
+ iconRules: [
274
+ (v) => {
275
+ if (v) {
276
+ const isMDI = v.startsWith('mdi')
277
+ if (isMDI) {
278
+ return true
279
+ } else if (v.length >= 5) {
280
+ return this.$t(
281
+ 'shared.forms.errors.number_lt',
282
+ [4]
283
+ )
284
+ } else {
285
+ return true
286
+ }
287
+ } else {
288
+ return true
289
+ }
290
+ },
291
+ ],
292
+ },
293
+ }
238
294
  },
239
295
  beforeMount() {
240
296
  if (_.isEmpty(this.block)) {
@@ -1,19 +1,20 @@
1
1
  <template>
2
2
  <div>
3
- <v-form ref="form" v-model="valid" v-if="!loading"> </v-form>
4
3
  <v-container class="pa-0">
5
4
  <v-text-field
6
- ref="title"
7
5
  v-model="block.metadata.config.title"
6
+ :autofocus="true"
7
+ ref="title"
8
8
  outlined
9
9
  :counter="50"
10
- :autofocus="true"
10
+ :rules="validation.shortInputRules"
11
11
  :label="$t('components.content.settings.base.title')"
12
12
  :disabled="render"
13
13
  ></v-text-field>
14
14
  <v-textarea
15
15
  v-model="block.metadata.config.instructions"
16
16
  outlined
17
+ :rules="validation.instructionRule"
17
18
  auto-grow
18
19
  :counter="255"
19
20
  :label="$t('components.content.settings.base.instructions')"
@@ -41,7 +42,8 @@
41
42
  <v-container :key="expansionPanelKey">
42
43
  <v-text-field
43
44
  v-model="block.metadata.config.emails[index].from"
44
- :autofocus="true"
45
+ :rules="validation.shortInputRules"
46
+ :counter="50"
45
47
  outlined
46
48
  :label="
47
49
  $t(
@@ -52,6 +54,8 @@
52
54
  ></v-text-field>
53
55
  <v-text-field
54
56
  v-model="block.metadata.config.emails[index].to"
57
+ :rules="validation.shortInputRules"
58
+ :counter="50"
55
59
  outlined
56
60
  :label="
57
61
  $t('windward.core.components.settings.email.to')
@@ -60,6 +64,8 @@
60
64
  ></v-text-field>
61
65
  <v-text-field
62
66
  v-model="block.metadata.config.emails[index].cc"
67
+ :rules="validation.shortInputRules"
68
+ :counter="50"
63
69
  outlined
64
70
  :label="
65
71
  $t('windward.core.components.settings.email.cc')
@@ -70,6 +76,8 @@
70
76
  v-model="
71
77
  block.metadata.config.emails[index].subject
72
78
  "
79
+ :rules="validation.shortInputRules"
80
+ :counter="50"
73
81
  outlined
74
82
  :label="
75
83
  $t(
@@ -79,6 +87,7 @@
79
87
  :disabled="render"
80
88
  ></v-text-field>
81
89
  <v-btn
90
+ class="mb-4"
82
91
  @click="
83
92
  onToggleExpand(
84
93
  block.metadata.config.emails[index],
@@ -204,6 +213,32 @@ export default {
204
213
  loading: false,
205
214
  expansionPanelKey: 0,
206
215
  editingPanel: 0,
216
+ validation: {
217
+ shortInputRules: [
218
+ (v) => {
219
+ if (v && v.length >= 50) {
220
+ return this.$t(
221
+ 'windward.core.shared.settings.errors.input_limitations',
222
+ [50]
223
+ )
224
+ } else {
225
+ return true
226
+ }
227
+ },
228
+ ],
229
+ instructionRule: [
230
+ (v) => {
231
+ if (v && v.length >= 255) {
232
+ return this.$t(
233
+ 'windward.core.shared.settings.errors.input_limitations',
234
+ [255]
235
+ )
236
+ } else {
237
+ return true
238
+ }
239
+ },
240
+ ],
241
+ },
207
242
  }
208
243
  },
209
244
  beforeDestroy() {