comand-component-library 4.1.41 → 4.1.44
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/dist/comand-component-library.js +32285 -25960
 - package/dist/style.css +1 -1
 - package/package.json +1 -1
 - package/src/ComponentLibrary.vue +0 -2
 - package/src/assets/data/cookie-disclaimer.json +0 -6
 - package/src/assets/data/main-navigation.json +8 -3
 - package/src/components/CmdCookieDisclaimer.vue +12 -26
 - package/src/components/CmdMainNavigation.vue +4 -4
 - package/src/mixins/CmdCookieDisclaimer/DefaultMessageProperties.js +6 -1
 
| 
         @@ -48,6 +48,7 @@ 
     | 
|
| 
       48 
48 
     | 
    
         
             
                                    v-if="navigationEntry.type === 'router'"
         
     | 
| 
       49 
49 
     | 
    
         
             
                                    :to="getRoute(navigationEntry)"
         
     | 
| 
       50 
50 
     | 
    
         
             
                                    :title="navigationEntry.tooltip"
         
     | 
| 
      
 51 
     | 
    
         
            +
                                    @click="closeOffcanvasNavigation"
         
     | 
| 
       51 
52 
     | 
    
         
             
                                >
         
     | 
| 
       52 
53 
     | 
    
         
             
                                    <!-- begin CmdIcon -->
         
     | 
| 
       53 
54 
     | 
    
         
             
                                    <CmdIcon v-if="navigationEntry.iconClass" :iconClass="navigationEntry.iconClass" :type="navigationEntry.iconType" />
         
     | 
| 
         @@ -278,11 +279,11 @@ export default { 
     | 
|
| 
       278 
279 
     | 
    
         
             
                        if(navigationEntry?.subentries?.length) {
         
     | 
| 
       279 
280 
     | 
    
         
             
                            event.preventDefault()
         
     | 
| 
       280 
281 
     | 
    
         
             
                            if(!sublevel) {
         
     | 
| 
       281 
     | 
    
         
            -
                                // assign index for first  
     | 
| 
      
 282 
     | 
    
         
            +
                                // assign index for first sublevel (or close if already open)
         
     | 
| 
       282 
283 
     | 
    
         
             
                                this.openEntry = this.openEntry === index ? -1 : index
         
     | 
| 
       283 
284 
     | 
    
         
             
                                this.openSubentry = -1 // close all sub-entries
         
     | 
| 
       284 
285 
     | 
    
         
             
                            } else {
         
     | 
| 
       285 
     | 
    
         
            -
                                // assign index for second  
     | 
| 
      
 286 
     | 
    
         
            +
                                // assign index for second sublevel (or close if already open)
         
     | 
| 
       286 
287 
     | 
    
         
             
                                this.openSubentry = this.openSubentry === index ? -1 : index
         
     | 
| 
       287 
288 
     | 
    
         
             
                            }
         
     | 
| 
       288 
289 
     | 
    
         
             
                            return
         
     | 
| 
         @@ -291,7 +292,7 @@ export default { 
     | 
|
| 
       291 
292 
     | 
    
         
             
                        // emit event to handle navigation from outside
         
     | 
| 
       292 
293 
     | 
    
         
             
                        if (navigationEntry.path === '#' || navigationEntry.path === '') {
         
     | 
| 
       293 
294 
     | 
    
         
             
                            event.preventDefault()
         
     | 
| 
       294 
     | 
    
         
            -
                            this.$emit( 
     | 
| 
      
 295 
     | 
    
         
            +
                            this.$emit("click", navigationEntry.path)
         
     | 
| 
       295 
296 
     | 
    
         
             
                        }
         
     | 
| 
       296 
297 
     | 
    
         | 
| 
       297 
298 
     | 
    
         
             
                        this.showOffcanvas = false
         
     | 
| 
         @@ -494,7 +495,6 @@ export default { 
     | 
|
| 
       494 
495 
     | 
    
         
             
                                        &:hover, &:active, &:focus {
         
     | 
| 
       495 
496 
     | 
    
         
             
                                            > ul {
         
     | 
| 
       496 
497 
     | 
    
         
             
                                                display: block;
         
     | 
| 
       497 
     | 
    
         
            -
                                                border: 1px solid red;
         
     | 
| 
       498 
498 
     | 
    
         
             
                                            }
         
     | 
| 
       499 
499 
     | 
    
         
             
                                        }
         
     | 
| 
       500 
500 
     | 
    
         
             
                                    }
         
     | 
| 
         @@ -2,9 +2,14 @@ export default { 
     | 
|
| 
       2 
2 
     | 
    
         
             
              data() {
         
     | 
| 
       3 
3 
     | 
    
         
             
                return {
         
     | 
| 
       4 
4 
     | 
    
         
             
                  defaultMessageProperties: {
         
     | 
| 
      
 5 
     | 
    
         
            +
                    "cookie_disclaimer.headline.required_cookies": "Required cookies",
         
     | 
| 
      
 6 
     | 
    
         
            +
                    "cookie_disclaimer.headline.optional_cookies": "Optional cookies",
         
     | 
| 
       5 
7 
     | 
    
         
             
                    "cookie_disclaimer.tooltip.cookie_cannot_be_disabled": "This cookie cannot be disabled, because it is required for functionality!",
         
     | 
| 
       6 
8 
     | 
    
         
             
                    "cookie_disclaimer.tooltip.toggle_to_accept_cookie": "Toggle to accept or reject this cookie!",
         
     | 
| 
       7 
     | 
    
         
            -
                    "cookie_disclaimer.tooltip.toggle_box_content": "Toggle description  
     | 
| 
      
 9 
     | 
    
         
            +
                    "cookie_disclaimer.tooltip.toggle_box_content": "Toggle description visibility",
         
     | 
| 
      
 10 
     | 
    
         
            +
                    "cookie_disclaimer.text.data_privacy": "By browsing this website you accept the usage and saving of anonymous data!",
         
     | 
| 
      
 11 
     | 
    
         
            +
                    "cookie_disclaimer.button.accept_current_settings": "Accept current settings",
         
     | 
| 
      
 12 
     | 
    
         
            +
                    "cookie_disclaimer.button.accept_all_cookies": "Accept all cookies"
         
     | 
| 
       8 
13 
     | 
    
         
             
                  }
         
     | 
| 
       9 
14 
     | 
    
         
             
                }
         
     | 
| 
       10 
15 
     | 
    
         
             
              }
         
     |