Skip to content

Commit

Permalink
Fix npm install issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
haringsrob committed May 10, 2022
1 parent d6a9289 commit 2d45abd
Show file tree
Hide file tree
Showing 13 changed files with 16,512 additions and 13,338 deletions.
1 change: 0 additions & 1 deletion frontend/js/components/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
hasBlockActive,
savedBlocks,
editorNames,
reorderBlocks,
moveBlock
}">
<div class="editor">
Expand Down
2 changes: 1 addition & 1 deletion frontend/js/components/Fieldset.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<h3 v-if="activeToggle" @click="onClickVisibility" role="button" :aria-expanded="visible ? 'true' : 'false'" >{{ title}} <span v-svg symbol="dropdown_module"></span></h3>
<h3 v-else>{{ title }}</h3>
</header>
<header v-else="" class="fieldset__header" :class="activeClasses">
<header v-else class="fieldset__header" :class="activeClasses">
<slot name="header"></slot>
</header>

Expand Down
2 changes: 1 addition & 1 deletion frontend/js/components/buckets/BucketItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<div v-if="restricted" slot="dropdown__content" class="item__dropdown__content">
<a17-radiogroup name="bucketsSelection" radioClass="bucket" :radios="dropDownBuckets" :initialValue="selectedBuckets()[0]" @change="updateBucket"/>
</div>
<div v-else="" slot="dropdown__content" class="item__dropdown__content">
<div v-else slot="dropdown__content" class="item__dropdown__content">
<a17-checkboxgroup name="bucketsSelection" :options="dropDownBuckets" :selected="selectedBuckets()" @change="updateBucket"/>
</div>
</a17-dropdown>
Expand Down
2 changes: 1 addition & 1 deletion frontend/js/components/buckets/BucketSourceItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<span v-svg symbol="add"></span></a17-button>
<a17-button v-else-if="singleBucket" icon="add" :disabled="true"><span v-svg symbol="add"></span></a17-button>

<template v-else="" v-for="(b, index) in buckets">
<template v-else v-for="(b, index) in buckets">
<a17-button :key="b.id" v-if="!inBucketById(b.id) && restrictedBySource(b.id)" class="bucket__action" :icon="'bucket--'+(index+1)" @click="addToBucket(b.id)">{{ index + 1 }}</a17-button>
<a17-button :key="b.id" v-else-if="restrictedBySource(b.id)" class="bucket__action selected" :icon="'bucket--'+(index+1)" :disabled="true">{{ index + 1 }}</a17-button>
</template>
Expand Down
Empty file.
2 changes: 1 addition & 1 deletion frontend/js/components/dashboard/activityFeed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<a17-activity-row :row="row" :index="index" :columns="columns" :key="row.id"></a17-activity-row>
</template>
</table>
<template v-else="">
<template v-else>
<div class="activityFeed__empty">
<h4>{{ emptyMessage }}</h4>
</div>
Expand Down
2 changes: 1 addition & 1 deletion frontend/js/components/editor/EditorIframe.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import { mapGetters } from 'vuex'
export default {
name: 'A17editoriframe',
name: 'A17editorIframe',
props: {
block: {
type: Object,
Expand Down
2 changes: 1 addition & 1 deletion frontend/js/components/editor/EditorPreview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
import debounce from 'lodash/debounce'
export default {
name: 'A17editorpreview',
name: 'A17editorPreview',
props: {
bgColor: {
type: String,
Expand Down
6 changes: 3 additions & 3 deletions frontend/js/components/editor/EditorSidebar.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="editorSidebar">
<template v-show="hasBlockActive">
<div v-show="hasBlockActive">
<a17-blocks-list :editor-name="editorName" v-slot="{ allSavedBlocks }">
<div class="editorSidebar__edit-list">
<a17-blockeditor-model
Expand Down Expand Up @@ -30,7 +30,7 @@
</a17-blockeditor-model>
</div>
</a17-blocks-list>
</template>
</div>

<template v-if="!hasBlockActive">
<div class="editorSidebar__list">
Expand All @@ -54,7 +54,7 @@
import A17BlockEditorModel from '@/components/blocks/BlockEditorModel'
export default {
name: 'A17editorsidebar',
name: 'A17editorSidebar',
props: {
hasBlockActive: {
type: Boolean,
Expand Down
20 changes: 11 additions & 9 deletions frontend/js/components/editor/EditorSidebarBlockList.vue
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
<template>
<div class="editorSidebar__listItems">
<!-- eslint-disable vue/no-mutating-props -->
<draggable class="editorSidebar__blocks"
:class="editorSidebarClasses"
v-model="blocks"
:options="{
:class="editorSidebarClasses"
v-model="blocks"
:options="{
group: {
name: 'editorBlocks',
pull: 'clone',
put: false
},
handle: '.editorSidebar__button'
}">
<!--eslint-enable-->
<div
class="editorSidebar__button"
:data-title="block.title"
:data-icon="block.icon"
:data-component="block.component"
v-for="block in blocks"
:key="block.component"
class="editorSidebar__button"
:data-title="block.title"
:data-icon="block.icon"
:data-component="block.component"
v-for="block in blocks"
:key="block.component"
>
<span v-svg :symbol="iconSymbol(block.icon)"></span>
<span class="editorSidebar__buttonLabel">{{ block.title }}</span>
Expand Down
2 changes: 1 addition & 1 deletion frontend/js/components/modals/ModalValidationButtons.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<a17-button type="submit" name="create-another" v-on:click.native="$event.currentTarget.focus()" v-if="!isDisabled" variant="aslink-grey"><span>{{ $trans('modal.create.create-another', 'Create and add another') }}</span></a17-button>
</template>
<a17-button type="submit" name="update" v-else-if="mode === 'update'" variant="validate" :disabled="isDisabled">{{ $trans('modal.update.button', 'Update') }}</a17-button>
<a17-button type="submit" name="done" v-else="" variant="validate" :disabled="isDisabled">{{ $trans('modal.done.button', 'Done') }}</a17-button>
<a17-button type="submit" name="done" v-else variant="validate" :disabled="isDisabled">{{ $trans('modal.done.button', 'Done') }}</a17-button>
</a17-inputframe>
<label v-if="activePublishState" :for="publishedName" class="switcher__button" :class="switcherClasses">
<span v-if="isChecked" class="switcher__label">{{ textEnabled }}</span>
Expand Down
Loading

0 comments on commit 2d45abd

Please sign in to comment.