@windward/core 0.5.0 → 0.5.1
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/components/Content/Blocks/BlockQuote.vue +81 -98
- package/components/Content/Blocks/Video.vue +5 -0
- package/components/Settings/BlockQuoteSettings.vue +42 -12
- package/components/Settings/VideoSettings.vue +15 -2
- package/components/utils/TinyMCEWrapper.vue +0 -1
- package/i18n/en-US/components/settings/block_quote.ts +6 -0
- package/i18n/es-ES/components/settings/block_quote.ts +7 -1
- package/i18n/sv-SE/components/settings/block_quote.ts +7 -1
- package/package.json +1 -1
- package/.idea/codeStyles/Project.xml +0 -58
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/inspectionProfiles/Project_Default.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/php-docker-settings.xml +0 -24
- package/.idea/php.xml +0 -19
- package/.idea/vcs.xml +0 -6
- package/.idea/watcherTasks.xml +0 -4
- package/.idea/windward-ui-plugin-core.iml +0 -8
- package/config/menu.config.json +0 -475
- package/coverage/clover.xml +0 -223
- package/coverage/coverage-final.json +0 -16
- package/coverage/lcov-report/base.css +0 -224
- package/coverage/lcov-report/block-navigation.js +0 -87
- package/coverage/lcov-report/components/Content/Blocks/Accordion.vue.html +0 -430
- package/coverage/lcov-report/components/Content/Blocks/Image.vue.html +0 -394
- package/coverage/lcov-report/components/Content/Blocks/Math.vue.html +0 -262
- package/coverage/lcov-report/components/Content/Blocks/RichText.vue.html +0 -295
- package/coverage/lcov-report/components/Content/Blocks/Tab.vue.html +0 -415
- package/coverage/lcov-report/components/Content/Blocks/Table.vue.html +0 -667
- package/coverage/lcov-report/components/Content/Blocks/Video.vue.html +0 -2275
- package/coverage/lcov-report/components/Content/Blocks/index.html +0 -206
- package/coverage/lcov-report/components/utils/ContentViewer.vue.html +0 -199
- package/coverage/lcov-report/components/utils/MathExpressionEditor.vue.html +0 -919
- package/coverage/lcov-report/components/utils/MathLiveWrapper.vue.html +0 -343
- package/coverage/lcov-report/components/utils/TinyMCEWrapper.vue.html +0 -271
- package/coverage/lcov-report/components/utils/index.html +0 -161
- package/coverage/lcov-report/config/index.html +0 -116
- package/coverage/lcov-report/config/tinymce.config.js.html +0 -493
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/helpers/MathHelper.ts.html +0 -793
- package/coverage/lcov-report/helpers/index.html +0 -116
- package/coverage/lcov-report/helpers/tinymce/index.html +0 -116
- package/coverage/lcov-report/helpers/tinymce/plugin.ts.html +0 -334
- package/coverage/lcov-report/index.html +0 -191
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -2
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -196
- package/coverage/lcov-report/test/index.html +0 -116
- package/coverage/lcov-report/test/mocks.js.html +0 -457
- package/coverage/lcov.info +0 -403
- package/lib/helpers/GlossaryHelper.d.ts +0 -9
- package/lib/helpers/GlossaryHelper.js +0 -118
- package/lib/helpers/GlossaryTerm.d.ts +0 -10
- package/lib/helpers/GlossaryTerm.js +0 -22
- package/lib/helpers/MathHelper.d.ts +0 -99
- package/lib/helpers/MathHelper.js +0 -194
- package/lib/helpers/tinymce/plugin.d.ts +0 -2
- package/lib/helpers/tinymce/plugin.js +0 -86
- package/lib/i18n/en-US/components/content/blocks/image.d.ts +0 -6
- package/lib/i18n/en-US/components/content/blocks/image.js +0 -7
- package/lib/i18n/en-US/components/content/blocks/index.d.ts +0 -75
- package/lib/i18n/en-US/components/content/blocks/index.js +0 -14
- package/lib/i18n/en-US/components/content/blocks/tab.d.ts +0 -5
- package/lib/i18n/en-US/components/content/blocks/tab.js +0 -6
- package/lib/i18n/en-US/components/content/blocks/table.d.ts +0 -5
- package/lib/i18n/en-US/components/content/blocks/table.js +0 -6
- package/lib/i18n/en-US/components/content/blocks/user_upload.d.ts +0 -13
- package/lib/i18n/en-US/components/content/blocks/user_upload.js +0 -14
- package/lib/i18n/en-US/components/content/blocks/video.d.ts +0 -48
- package/lib/i18n/en-US/components/content/blocks/video.js +0 -49
- package/lib/i18n/en-US/components/content/index.d.ts +0 -77
- package/lib/i18n/en-US/components/content/index.js +0 -6
- package/lib/i18n/en-US/components/index.d.ts +0 -140
- package/lib/i18n/en-US/components/index.js +0 -12
- package/lib/i18n/en-US/components/navigation/image.d.ts +0 -5
- package/lib/i18n/en-US/components/navigation/image.js +0 -6
- package/lib/i18n/en-US/components/navigation/index.d.ts +0 -10
- package/lib/i18n/en-US/components/navigation/index.js +0 -8
- package/lib/i18n/en-US/components/navigation/user_upload.d.ts +0 -4
- package/lib/i18n/en-US/components/navigation/user_upload.js +0 -5
- package/lib/i18n/en-US/components/settings/clickable_icon.d.ts +0 -6
- package/lib/i18n/en-US/components/settings/clickable_icon.js +0 -7
- package/lib/i18n/en-US/components/settings/image.d.ts +0 -2
- package/lib/i18n/en-US/components/settings/image.js +0 -3
- package/lib/i18n/en-US/components/settings/index.d.ts +0 -39
- package/lib/i18n/en-US/components/settings/index.js +0 -14
- package/lib/i18n/en-US/components/settings/text_editor.d.ts +0 -8
- package/lib/i18n/en-US/components/settings/text_editor.js +0 -9
- package/lib/i18n/en-US/components/settings/user_upload.d.ts +0 -12
- package/lib/i18n/en-US/components/settings/user_upload.js +0 -13
- package/lib/i18n/en-US/components/settings/video.d.ts +0 -13
- package/lib/i18n/en-US/components/settings/video.js +0 -14
- package/lib/i18n/en-US/components/utils/index.d.ts +0 -15
- package/lib/i18n/en-US/components/utils/index.js +0 -6
- package/lib/i18n/en-US/components/utils/tiny_mce_wrapper.d.ts +0 -13
- package/lib/i18n/en-US/components/utils/tiny_mce_wrapper.js +0 -14
- package/lib/i18n/en-US/index.d.ts +0 -197
- package/lib/i18n/en-US/index.js +0 -16
- package/lib/i18n/en-US/modules/index.d.ts +0 -2
- package/lib/i18n/en-US/modules/index.js +0 -6
- package/lib/i18n/en-US/pages/glossary.d.ts +0 -8
- package/lib/i18n/en-US/pages/glossary.js +0 -9
- package/lib/i18n/en-US/pages/index.d.ts +0 -13
- package/lib/i18n/en-US/pages/index.js +0 -8
- package/lib/i18n/en-US/pages/user_upload.d.ts +0 -4
- package/lib/i18n/en-US/pages/user_upload.js +0 -5
- package/lib/i18n/en-US/shared/content_blocks.d.ts +0 -20
- package/lib/i18n/en-US/shared/content_blocks.js +0 -21
- package/lib/i18n/en-US/shared/index.d.ts +0 -39
- package/lib/i18n/en-US/shared/index.js +0 -10
- package/lib/i18n/en-US/shared/menu.d.ts +0 -4
- package/lib/i18n/en-US/shared/menu.js +0 -5
- package/lib/i18n/en-US/shared/settings.d.ts +0 -15
- package/lib/i18n/en-US/shared/settings.js +0 -16
- package/lib/i18n/en-US.d.ts +0 -197
- package/lib/i18n/en-US.js +0 -15
- package/lib/models/UserFileAsset.d.ts +0 -5
- package/lib/models/UserFileAsset.js +0 -37
|
@@ -21,17 +21,18 @@
|
|
|
21
21
|
</v-col>
|
|
22
22
|
<v-col cols="11" class="pl-0">
|
|
23
23
|
<p class="pt-2">
|
|
24
|
-
|
|
24
|
+
<TextViewer
|
|
25
|
+
v-model="block.metadata.config.block_quote.quote"
|
|
26
|
+
></TextViewer>
|
|
25
27
|
</p>
|
|
26
28
|
</v-col>
|
|
27
29
|
</v-row>
|
|
28
30
|
<v-row>
|
|
29
31
|
<v-col cols="12">
|
|
30
|
-
<p
|
|
31
|
-
{{
|
|
32
|
-
|
|
32
|
+
<p>
|
|
33
|
+
{{ citation }}
|
|
34
|
+
<span :class="sourceClass">{{ source }}</span>
|
|
33
35
|
</p>
|
|
34
|
-
<p v-if="!render">Citation Here</p>
|
|
35
36
|
</v-col>
|
|
36
37
|
</v-row>
|
|
37
38
|
</v-container>
|
|
@@ -39,6 +40,9 @@
|
|
|
39
40
|
|
|
40
41
|
<script>
|
|
41
42
|
import _ from 'lodash'
|
|
43
|
+
import he from 'he'
|
|
44
|
+
|
|
45
|
+
import TextViewer from '~/components/Text/TextViewer.vue'
|
|
42
46
|
import BaseContentBlock from '~/components/Content/Blocks/BaseContentBlock'
|
|
43
47
|
|
|
44
48
|
export default {
|
|
@@ -68,6 +72,7 @@ export default {
|
|
|
68
72
|
organization: '',
|
|
69
73
|
source_title: '',
|
|
70
74
|
source_type: '',
|
|
75
|
+
source_url: '',
|
|
71
76
|
}
|
|
72
77
|
}
|
|
73
78
|
this.block.body = this.$t(
|
|
@@ -75,108 +80,86 @@ export default {
|
|
|
75
80
|
)
|
|
76
81
|
},
|
|
77
82
|
data() {
|
|
78
|
-
return {
|
|
79
|
-
finalcitation: '',
|
|
80
|
-
finalsource: '',
|
|
81
|
-
classCitation: '',
|
|
82
|
-
}
|
|
83
|
+
return {}
|
|
83
84
|
},
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
computed: {
|
|
86
|
+
citation() {
|
|
87
|
+
const parts = []
|
|
88
|
+
|
|
89
|
+
// List of all keys in `block.metadata.config.block_quote.x` to include in the citation
|
|
90
|
+
const keys = ['author', 'author_title', 'organization']
|
|
91
|
+
|
|
92
|
+
// Go over all citation keys to compile
|
|
93
|
+
for (const key of keys) {
|
|
94
|
+
const value = this.block.metadata.config.block_quote[key] || ''
|
|
95
|
+
|
|
96
|
+
if (value) {
|
|
97
|
+
parts.push(value)
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
// If there were parts to return then prepend with a mdash
|
|
102
|
+
if (parts.length > 0) {
|
|
103
|
+
return he.decode('—') + parts.join(', ')
|
|
104
|
+
} else {
|
|
105
|
+
return ''
|
|
88
106
|
}
|
|
89
107
|
},
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
//not first hit so a comma is needed before key
|
|
110
|
-
counter = counter + 1
|
|
111
|
-
this.finalcitation =
|
|
112
|
-
this.finalcitation +
|
|
113
|
-
', ' +
|
|
114
|
-
this.block.metadata.config.block_quote[property]
|
|
115
|
-
} else {
|
|
116
|
-
//first hit, no comma needed
|
|
117
|
-
counter = counter + 1
|
|
118
|
-
this.finalcitation =
|
|
119
|
-
'—' +
|
|
120
|
-
this.finalcitation +
|
|
121
|
-
this.block.metadata.config.block_quote[property]
|
|
122
|
-
}
|
|
123
|
-
// checks that source_type isn't none and there is a source title
|
|
124
|
-
} else if (
|
|
125
|
-
property === 'source_title' &&
|
|
126
|
-
this.block.metadata.config.block_quote['source_type'] !==
|
|
127
|
-
'None' &&
|
|
128
|
-
this.block.metadata.config.block_quote[property] !== null &&
|
|
129
|
-
this.block.metadata.config.block_quote[property] !== ''
|
|
130
|
-
) {
|
|
131
|
-
// filters out source types book. Adds class to italicize books
|
|
132
|
-
if (
|
|
133
|
-
this.block.metadata.config.block_quote[
|
|
134
|
-
'source_type'
|
|
135
|
-
] === 'Book'
|
|
136
|
-
) {
|
|
137
|
-
// checks if comma needed or not
|
|
138
|
-
if (counter > 0) {
|
|
139
|
-
this.finalsource =
|
|
140
|
-
', ' +
|
|
141
|
-
this.block.metadata.config.block_quote[property]
|
|
142
|
-
this.classCitation = 'span-title'
|
|
143
|
-
} else {
|
|
144
|
-
this.finalsource =
|
|
145
|
-
'—' +
|
|
146
|
-
this.block.metadata.config.block_quote[property]
|
|
147
|
-
this.classCitation = 'span-title'
|
|
148
|
-
}
|
|
149
|
-
//checks if online journal
|
|
150
|
-
} else if (
|
|
151
|
-
this.block.metadata.config.block_quote[
|
|
152
|
-
'source_type'
|
|
153
|
-
] === 'Online Journal'
|
|
154
|
-
) {
|
|
155
|
-
// checks if comma needed or not. Not Italicized
|
|
156
|
-
if (counter > 0) {
|
|
157
|
-
this.finalsource =
|
|
158
|
-
', ' +
|
|
159
|
-
'"' +
|
|
160
|
-
this.block.metadata.config.block_quote[
|
|
161
|
-
property
|
|
162
|
-
] +
|
|
163
|
-
'"'
|
|
164
|
-
this.classCitation = ''
|
|
165
|
-
} else {
|
|
166
|
-
this.finalsource =
|
|
167
|
-
'—' +
|
|
168
|
-
'"' +
|
|
108
|
+
source() {
|
|
109
|
+
const parts = []
|
|
110
|
+
|
|
111
|
+
const sourceTitle =
|
|
112
|
+
this.block.metadata.config.block_quote['source_title'] || ''
|
|
113
|
+
const sourceType =
|
|
114
|
+
this.block.metadata.config.block_quote['source_type'] || ''
|
|
115
|
+
|
|
116
|
+
if (sourceTitle && sourceType) {
|
|
117
|
+
switch (sourceType) {
|
|
118
|
+
case 'online_journal':
|
|
119
|
+
// Wrap the sourceTitle for online journals in quotes
|
|
120
|
+
parts.push('"' + sourceTitle + '"')
|
|
121
|
+
|
|
122
|
+
// For online journals also add the url if it exists
|
|
123
|
+
if (
|
|
124
|
+
this.block.metadata.config.block_quote['source_url']
|
|
125
|
+
) {
|
|
126
|
+
parts.push(
|
|
169
127
|
this.block.metadata.config.block_quote[
|
|
170
|
-
|
|
171
|
-
]
|
|
172
|
-
|
|
173
|
-
this.classCitation = ''
|
|
128
|
+
'source_url'
|
|
129
|
+
]
|
|
130
|
+
)
|
|
174
131
|
}
|
|
175
|
-
|
|
132
|
+
break
|
|
133
|
+
default:
|
|
134
|
+
// Book sources are not wrapped
|
|
135
|
+
parts.push(sourceTitle)
|
|
136
|
+
break
|
|
176
137
|
}
|
|
177
138
|
}
|
|
139
|
+
|
|
140
|
+
// If the citation is empty (aka we only have sources)
|
|
141
|
+
// and there's sources then prepend with a mdash
|
|
142
|
+
if (parts.length > 0 && this.citation === '') {
|
|
143
|
+
return he.decode('—') + parts.join(', ')
|
|
144
|
+
} else if (parts.length > 0) {
|
|
145
|
+
// Otherwise there's a citation / no sources. Don't prepend with mdash
|
|
146
|
+
return parts.join(', ')
|
|
147
|
+
} else {
|
|
148
|
+
return ''
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
sourceClass() {
|
|
152
|
+
if (
|
|
153
|
+
this.block.metadata.config.block_quote['source_title'] &&
|
|
154
|
+
this.block.metadata.config.block_quote['source_type'] &&
|
|
155
|
+
this.block.metadata.config.block_quote['source_type'] === 'book'
|
|
156
|
+
) {
|
|
157
|
+
return 'span-title'
|
|
158
|
+
}
|
|
178
159
|
},
|
|
179
160
|
},
|
|
161
|
+
mounted() {},
|
|
162
|
+
methods: {},
|
|
180
163
|
}
|
|
181
164
|
</script>
|
|
182
165
|
|
|
@@ -24,6 +24,9 @@
|
|
|
24
24
|
<h2 v-if="block.metadata.config.title">
|
|
25
25
|
{{ block.metadata.config.title }}
|
|
26
26
|
</h2>
|
|
27
|
+
<p v-if="block.metadata.config.description" class="pb-0 mb-0">
|
|
28
|
+
{{ block.metadata.config.description }}
|
|
29
|
+
</p>
|
|
27
30
|
<VuetifyPlayer
|
|
28
31
|
v-if="hasSource"
|
|
29
32
|
:language="$i18n && $i18n.locale ? $i18n.locale : 'en-US'"
|
|
@@ -161,6 +164,8 @@ export default {
|
|
|
161
164
|
fileTab: null,
|
|
162
165
|
// Default config settings
|
|
163
166
|
defaultConfig: {
|
|
167
|
+
title: '',
|
|
168
|
+
description: '',
|
|
164
169
|
// Default settings for new blocks
|
|
165
170
|
// This will be overridden in beforeMount()
|
|
166
171
|
type: 'video', // Allowed video|audio. In audio mode the player has a max-height of 40px
|
|
@@ -22,16 +22,14 @@
|
|
|
22
22
|
</v-container>
|
|
23
23
|
<v-divider class="my-4 primary"></v-divider>
|
|
24
24
|
<v-container class="pa-0">
|
|
25
|
-
<
|
|
25
|
+
<TextEditor
|
|
26
26
|
v-model="block.metadata.config.block_quote.quote"
|
|
27
|
-
|
|
28
|
-
auto-grow
|
|
29
|
-
:counter="255"
|
|
27
|
+
:height="200"
|
|
30
28
|
:label="
|
|
31
29
|
$t('windward.core.components.settings.block_quote.body')
|
|
32
30
|
"
|
|
33
31
|
:disabled="render"
|
|
34
|
-
></
|
|
32
|
+
></TextEditor>
|
|
35
33
|
</v-container>
|
|
36
34
|
<v-divider class="my-4 primary"></v-divider>
|
|
37
35
|
<v-container class="pa-0">
|
|
@@ -80,6 +78,21 @@
|
|
|
80
78
|
"
|
|
81
79
|
:disabled="render"
|
|
82
80
|
></v-select>
|
|
81
|
+
<v-text-field
|
|
82
|
+
v-if="
|
|
83
|
+
block.metadata.config.block_quote.source_type ===
|
|
84
|
+
'online_journal'
|
|
85
|
+
"
|
|
86
|
+
v-model="block.metadata.config.block_quote.source_url"
|
|
87
|
+
outlined
|
|
88
|
+
auto-grow
|
|
89
|
+
:label="
|
|
90
|
+
$t(
|
|
91
|
+
'windward.core.components.settings.block_quote.source_url'
|
|
92
|
+
)
|
|
93
|
+
"
|
|
94
|
+
:disabled="render"
|
|
95
|
+
></v-text-field>
|
|
83
96
|
</v-container>
|
|
84
97
|
<div v-if="loading" class="text-center">
|
|
85
98
|
<v-progress-circular
|
|
@@ -93,11 +106,13 @@
|
|
|
93
106
|
</template>
|
|
94
107
|
<script>
|
|
95
108
|
import _ from 'lodash'
|
|
109
|
+
import TextEditor from '~/components/Text/TextEditor.vue'
|
|
96
110
|
import BaseContentSettings from '~/components/Content/Settings/BaseContentSettings.js'
|
|
97
111
|
|
|
98
112
|
export default {
|
|
99
113
|
name: 'BlockQuoteSettings',
|
|
100
114
|
extends: BaseContentSettings,
|
|
115
|
+
components: { TextEditor },
|
|
101
116
|
beforeMount() {
|
|
102
117
|
if (_.isEmpty(this.block)) {
|
|
103
118
|
this.block = {}
|
|
@@ -122,6 +137,7 @@ export default {
|
|
|
122
137
|
organization: '',
|
|
123
138
|
source_title: '',
|
|
124
139
|
source_type: '',
|
|
140
|
+
source_url: '',
|
|
125
141
|
}
|
|
126
142
|
}
|
|
127
143
|
this.block.body = this.$t(
|
|
@@ -132,15 +148,29 @@ export default {
|
|
|
132
148
|
return {
|
|
133
149
|
valid: true,
|
|
134
150
|
loading: false,
|
|
135
|
-
sourceTypes: [
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
151
|
+
sourceTypes: [
|
|
152
|
+
{
|
|
153
|
+
text: this.$t(
|
|
154
|
+
'windward.core.components.settings.block_quote.source_types.none'
|
|
155
|
+
),
|
|
156
|
+
value: '',
|
|
157
|
+
},
|
|
158
|
+
|
|
159
|
+
{
|
|
160
|
+
text: this.$t(
|
|
161
|
+
'windward.core.components.settings.block_quote.source_types.book'
|
|
162
|
+
),
|
|
163
|
+
value: 'book',
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
text: this.$t(
|
|
167
|
+
'windward.core.components.settings.block_quote.source_types.online_journal'
|
|
168
|
+
),
|
|
169
|
+
value: 'online_journal',
|
|
170
|
+
},
|
|
171
|
+
],
|
|
141
172
|
}
|
|
142
173
|
},
|
|
143
|
-
|
|
144
174
|
methods: {},
|
|
145
175
|
}
|
|
146
176
|
</script>
|
|
@@ -7,6 +7,19 @@
|
|
|
7
7
|
:label="$t('windward.core.components.settings.video.title')"
|
|
8
8
|
:disabled="render"
|
|
9
9
|
></v-text-field>
|
|
10
|
+
<v-textarea
|
|
11
|
+
v-model="block.metadata.config.description"
|
|
12
|
+
outlined
|
|
13
|
+
auto-grow
|
|
14
|
+
:counter="255"
|
|
15
|
+
:label="
|
|
16
|
+
$t(
|
|
17
|
+
'components.content.settings.base.description_optional'
|
|
18
|
+
)
|
|
19
|
+
"
|
|
20
|
+
:disabled="render"
|
|
21
|
+
></v-textarea>
|
|
22
|
+
|
|
10
23
|
<h4 class="mb-3">
|
|
11
24
|
{{ $t('windward.core.components.settings.video.sources') }}
|
|
12
25
|
</h4>
|
|
@@ -464,8 +477,8 @@
|
|
|
464
477
|
</template>
|
|
465
478
|
<script>
|
|
466
479
|
import _ from 'lodash'
|
|
467
|
-
import BaseContentSettings from '~/components/Content/Settings/BaseContentSettings.js'
|
|
468
|
-
|
|
480
|
+
import BaseContentSettings from '~/components/Content/Settings/BaseContentSettings.js''
|
|
481
|
+
|
|
469
482
|
export default {
|
|
470
483
|
name: 'VideoSettings',
|
|
471
484
|
extends: BaseContentSettings,
|
|
@@ -4,6 +4,12 @@ export default {
|
|
|
4
4
|
name: 'Nombre',
|
|
5
5
|
title: 'Título',
|
|
6
6
|
org: 'Organización',
|
|
7
|
-
source_title: 'Título de la fuente'
|
|
7
|
+
source_title: 'Título de la fuente',
|
|
8
8
|
type: 'Tipo de fuente',
|
|
9
|
+
source_url: 'URL de origen',
|
|
10
|
+
source_types: {
|
|
11
|
+
none: 'Ninguno',
|
|
12
|
+
book: 'Libro',
|
|
13
|
+
online_journal: 'Diario en línea',
|
|
14
|
+
},
|
|
9
15
|
}
|
|
@@ -4,6 +4,12 @@ export default {
|
|
|
4
4
|
name: 'Namn',
|
|
5
5
|
title: 'Titel',
|
|
6
6
|
org: 'Organisation',
|
|
7
|
-
source_title: 'Källtitel'
|
|
7
|
+
source_title: 'Källtitel',
|
|
8
8
|
type: 'Källtyp',
|
|
9
|
+
source_url: 'Källa URL',
|
|
10
|
+
source_types: {
|
|
11
|
+
none: 'Ingen',
|
|
12
|
+
book: 'Bok',
|
|
13
|
+
online_journal: 'Online Journal',
|
|
14
|
+
},
|
|
9
15
|
}
|
package/package.json
CHANGED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
<component name="ProjectCodeStyleConfiguration">
|
|
2
|
-
<code_scheme name="Project" version="173">
|
|
3
|
-
<HTMLCodeStyleSettings>
|
|
4
|
-
<option name="HTML_SPACE_INSIDE_EMPTY_TAG" value="true" />
|
|
5
|
-
<option name="HTML_ENFORCE_QUOTES" value="true" />
|
|
6
|
-
</HTMLCodeStyleSettings>
|
|
7
|
-
<JSCodeStyleSettings version="0">
|
|
8
|
-
<option name="FORCE_SEMICOLON_STYLE" value="true" />
|
|
9
|
-
<option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
|
|
10
|
-
<option name="FORCE_QUOTE_STYlE" value="true" />
|
|
11
|
-
<option name="ENFORCE_TRAILING_COMMA" value="Remove" />
|
|
12
|
-
<option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
|
|
13
|
-
<option name="SPACES_WITHIN_IMPORTS" value="true" />
|
|
14
|
-
</JSCodeStyleSettings>
|
|
15
|
-
<TypeScriptCodeStyleSettings version="0">
|
|
16
|
-
<option name="FORCE_SEMICOLON_STYLE" value="true" />
|
|
17
|
-
<option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
|
|
18
|
-
<option name="FORCE_QUOTE_STYlE" value="true" />
|
|
19
|
-
<option name="ENFORCE_TRAILING_COMMA" value="Remove" />
|
|
20
|
-
<option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
|
|
21
|
-
<option name="SPACES_WITHIN_IMPORTS" value="true" />
|
|
22
|
-
</TypeScriptCodeStyleSettings>
|
|
23
|
-
<VueCodeStyleSettings>
|
|
24
|
-
<option name="INTERPOLATION_NEW_LINE_AFTER_START_DELIMITER" value="false" />
|
|
25
|
-
<option name="INTERPOLATION_NEW_LINE_BEFORE_END_DELIMITER" value="false" />
|
|
26
|
-
</VueCodeStyleSettings>
|
|
27
|
-
<codeStyleSettings language="HTML">
|
|
28
|
-
<option name="SOFT_MARGINS" value="80" />
|
|
29
|
-
<indentOptions>
|
|
30
|
-
<option name="INDENT_SIZE" value="2" />
|
|
31
|
-
<option name="CONTINUATION_INDENT_SIZE" value="2" />
|
|
32
|
-
<option name="TAB_SIZE" value="2" />
|
|
33
|
-
</indentOptions>
|
|
34
|
-
</codeStyleSettings>
|
|
35
|
-
<codeStyleSettings language="JavaScript">
|
|
36
|
-
<option name="SOFT_MARGINS" value="80" />
|
|
37
|
-
<indentOptions>
|
|
38
|
-
<option name="INDENT_SIZE" value="2" />
|
|
39
|
-
<option name="CONTINUATION_INDENT_SIZE" value="2" />
|
|
40
|
-
<option name="TAB_SIZE" value="2" />
|
|
41
|
-
</indentOptions>
|
|
42
|
-
</codeStyleSettings>
|
|
43
|
-
<codeStyleSettings language="TypeScript">
|
|
44
|
-
<option name="SOFT_MARGINS" value="80" />
|
|
45
|
-
<indentOptions>
|
|
46
|
-
<option name="INDENT_SIZE" value="2" />
|
|
47
|
-
<option name="CONTINUATION_INDENT_SIZE" value="2" />
|
|
48
|
-
<option name="TAB_SIZE" value="2" />
|
|
49
|
-
</indentOptions>
|
|
50
|
-
</codeStyleSettings>
|
|
51
|
-
<codeStyleSettings language="Vue">
|
|
52
|
-
<option name="SOFT_MARGINS" value="80" />
|
|
53
|
-
<indentOptions>
|
|
54
|
-
<option name="CONTINUATION_INDENT_SIZE" value="2" />
|
|
55
|
-
</indentOptions>
|
|
56
|
-
</codeStyleSettings>
|
|
57
|
-
</code_scheme>
|
|
58
|
-
</component>
|
package/.idea/modules.xml
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="ProjectModuleManager">
|
|
4
|
-
<modules>
|
|
5
|
-
<module fileurl="file://$PROJECT_DIR$/.idea/windward-ui-plugin-core.iml" filepath="$PROJECT_DIR$/.idea/windward-ui-plugin-core.iml" />
|
|
6
|
-
</modules>
|
|
7
|
-
</component>
|
|
8
|
-
</project>
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="PhpDockerContainerSettings">
|
|
4
|
-
<list>
|
|
5
|
-
<map>
|
|
6
|
-
<entry key="79d59a8f-c56c-4789-b96c-e55a326ab125">
|
|
7
|
-
<value>
|
|
8
|
-
<DockerContainerSettings>
|
|
9
|
-
<option name="version" value="1" />
|
|
10
|
-
<option name="volumeBindings">
|
|
11
|
-
<list>
|
|
12
|
-
<DockerVolumeBindingImpl>
|
|
13
|
-
<option name="containerPath" value="/opt/project" />
|
|
14
|
-
<option name="hostPath" value="$PROJECT_DIR$" />
|
|
15
|
-
</DockerVolumeBindingImpl>
|
|
16
|
-
</list>
|
|
17
|
-
</option>
|
|
18
|
-
</DockerContainerSettings>
|
|
19
|
-
</value>
|
|
20
|
-
</entry>
|
|
21
|
-
</map>
|
|
22
|
-
</list>
|
|
23
|
-
</component>
|
|
24
|
-
</project>
|
package/.idea/php.xml
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="MessDetectorOptionsConfiguration">
|
|
4
|
-
<option name="transferred" value="true" />
|
|
5
|
-
</component>
|
|
6
|
-
<component name="PHPCSFixerOptionsConfiguration">
|
|
7
|
-
<option name="transferred" value="true" />
|
|
8
|
-
</component>
|
|
9
|
-
<component name="PHPCodeSnifferOptionsConfiguration">
|
|
10
|
-
<option name="highlightLevel" value="WARNING" />
|
|
11
|
-
<option name="transferred" value="true" />
|
|
12
|
-
</component>
|
|
13
|
-
<component name="PhpStanOptionsConfiguration">
|
|
14
|
-
<option name="transferred" value="true" />
|
|
15
|
-
</component>
|
|
16
|
-
<component name="PsalmOptionsConfiguration">
|
|
17
|
-
<option name="transferred" value="true" />
|
|
18
|
-
</component>
|
|
19
|
-
</project>
|
package/.idea/vcs.xml
DELETED
package/.idea/watcherTasks.xml
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<module type="WEB_MODULE" version="4">
|
|
3
|
-
<component name="NewModuleRootManager">
|
|
4
|
-
<content url="file://$MODULE_DIR$" />
|
|
5
|
-
<orderEntry type="inheritedJdk" />
|
|
6
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
|
7
|
-
</component>
|
|
8
|
-
</module>
|