@afeefa/vue-app 0.0.98 → 0.0.100
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.
| @@ -1 +1 @@ | |
| 1 | 
            -
            0.0. | 
| 1 | 
            +
            0.0.100
         | 
    
        package/package.json
    CHANGED
    
    
| @@ -32,24 +32,6 @@ | |
| 32 32 | 
             
                      <v-icon>{{ strikeIcon }}</v-icon>
         | 
| 33 33 | 
             
                    </v-btn>
         | 
| 34 34 |  | 
| 35 | 
            -
                    <v-btn
         | 
| 36 | 
            -
                      small
         | 
| 37 | 
            -
                      :class="['menu-button', {'is-active': editorFocus && editor.isActive('heading', {level: 1})}]"
         | 
| 38 | 
            -
                      title="überschrift 1"
         | 
| 39 | 
            -
                      @click="editor.chain().focus().toggleHeading({level: 1}).run()"
         | 
| 40 | 
            -
                    >
         | 
| 41 | 
            -
                      <v-icon>{{ h1Icon }}</v-icon>
         | 
| 42 | 
            -
                    </v-btn>
         | 
| 43 | 
            -
             | 
| 44 | 
            -
                    <v-btn
         | 
| 45 | 
            -
                      small
         | 
| 46 | 
            -
                      :class="['menu-button', {'is-active': editorFocus && editor.isActive('heading', {level: 2})}]"
         | 
| 47 | 
            -
                      title="pberschrift 2"
         | 
| 48 | 
            -
                      @click="editor.chain().focus().toggleHeading({level: 2}).run()"
         | 
| 49 | 
            -
                    >
         | 
| 50 | 
            -
                      <v-icon>{{ h2Icon }}</v-icon>
         | 
| 51 | 
            -
                    </v-btn>
         | 
| 52 | 
            -
             | 
| 53 35 | 
             
                    <v-btn
         | 
| 54 36 | 
             
                      small
         | 
| 55 37 | 
             
                      :class="['menu-button', {'is-active': editorFocus && editor.isActive('bulletList')}]"
         | 
| @@ -80,10 +62,10 @@ | |
| 80 62 | 
             
                    <v-btn
         | 
| 81 63 | 
             
                      small
         | 
| 82 64 | 
             
                      class="menu-button"
         | 
| 83 | 
            -
                      :class="{ 'is-active': editorFocus && editor.isActive('highlight', { color: '# | 
| 84 | 
            -
                      title=" | 
| 85 | 
            -
                      color=" | 
| 86 | 
            -
                      @click="editor.chain().focus().toggleHighlight({ color: '# | 
| 65 | 
            +
                      :class="{ 'is-active': editorFocus && editor.isActive('highlight', { color: '#00FF00' })}"
         | 
| 66 | 
            +
                      title="grün"
         | 
| 67 | 
            +
                      color="green--text"
         | 
| 68 | 
            +
                      @click="editor.chain().focus().toggleHighlight({ color: '#00FF00' }).run()"
         | 
| 87 69 | 
             
                    >
         | 
| 88 70 | 
             
                      <v-icon>$paletteIcon</v-icon>
         | 
| 89 71 | 
             
                    </v-btn>
         | 
| @@ -99,6 +81,17 @@ | |
| 99 81 | 
             
                      <v-icon>$paletteIcon</v-icon>
         | 
| 100 82 | 
             
                    </v-btn>
         | 
| 101 83 |  | 
| 84 | 
            +
                    <v-btn
         | 
| 85 | 
            +
                      small
         | 
| 86 | 
            +
                      class="menu-button"
         | 
| 87 | 
            +
                      :class="{ 'is-active': editorFocus && editor.isActive('highlight', { color: '#FFFF00' })}"
         | 
| 88 | 
            +
                      title="gelb"
         | 
| 89 | 
            +
                      color="yellow--text"
         | 
| 90 | 
            +
                      @click="editor.chain().focus().toggleHighlight({ color: '#FFFF00' }).run()"
         | 
| 91 | 
            +
                    >
         | 
| 92 | 
            +
                      <v-icon>$paletteIcon</v-icon>
         | 
| 93 | 
            +
                    </v-btn>
         | 
| 94 | 
            +
             | 
| 102 95 | 
             
                    <v-btn
         | 
| 103 96 | 
             
                      small
         | 
| 104 97 | 
             
                      class="menu-button undo-button"
         | 
| @@ -44,13 +44,25 @@ export default class ListFilterSelect extends Mixins(ListFilterMixin) { | |
| 44 44 | 
             
              createOptions () {
         | 
| 45 45 | 
             
                const options = []
         | 
| 46 46 |  | 
| 47 | 
            -
                if (this. | 
| 47 | 
            +
                if (this.filter.allIsOption) {
         | 
| 48 | 
            +
                  options.push({
         | 
| 49 | 
            +
                    itemTitle: 'Alle',
         | 
| 50 | 
            +
                    itemValue: 'all'
         | 
| 51 | 
            +
                  })
         | 
| 52 | 
            +
                } else if (this.showNullOption) {
         | 
| 48 53 | 
             
                  options.push({
         | 
| 49 54 | 
             
                    itemTitle: 'Alle',
         | 
| 50 55 | 
             
                    itemValue: null
         | 
| 51 56 | 
             
                  })
         | 
| 52 57 | 
             
                }
         | 
| 53 58 |  | 
| 59 | 
            +
                if (this.filter.noneIsOption) {
         | 
| 60 | 
            +
                  options.push({
         | 
| 61 | 
            +
                    itemTitle: 'Keine',
         | 
| 62 | 
            +
                    itemValue: 'none'
         | 
| 63 | 
            +
                  })
         | 
| 64 | 
            +
                }
         | 
| 65 | 
            +
             | 
| 54 66 | 
             
                return options
         | 
| 55 67 | 
             
              }
         | 
| 56 68 |  |