biopama_protected_areas-8.x-1.3/biopama_protected_areas.libraries.yml

biopama_protected_areas.libraries.yml
mapbox:
  css:
    theme:
      css/mapbox.css: {}
      https://cdn.jsdelivr.net/npm/mapbox-gl@1/dist/mapbox-gl.css: {type: external, weight:2000}
  header: true
  js:
    https://cdn.jsdelivr.net/npm/mapbox-gl@1/dist/mapbox-gl.min.js: { type: external, minified: true, preprocess: false}
    /biopama-config/map_settings.js: {minified: false, preprocess: false}
    js/map.js: {minified: false, preprocess: false}
  dependencies:
    - core/jquery
    
fontawesome:
  version: VERSION
  css:
    component:
      https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css: {}
      
echarts:
  css:
    theme:
      css/mapbox_chart.css: {}
  js:
    https://cdn.jsdelivr.net/npm/echarts@4/dist/echarts.min.js: { type: external, minified: true, preprocess: false}
    
global-styling:
  js:
    js/global.js: {}
  css:
    component:
      css/style.css: {}
  dependencies:
    - core/drupal
    - core/drupal.ajax
    - core/jquery
    - core/jquery.once
    - core/jquery.ui.effects.core
    - core/jquery.ui.effects.slide
    - core/jquery.ui.accordion
    - core/jquery.ui.tabs
    - core/drupalSettings
    - biopama_protected_areas/mapbox
    - biopama_protected_areas/fontawesome
    - biopama_protected_areas/global-rest
    
biopama-breadcrumbs:
  css:
    theme:
      css/breadcrumbs.css: {}
  js:
    js/breadcrumbs.js: {minified: false, preprocess: false}
  dependencies:
    - core/jquery.ui.effects.highlight
    - core/drupal.dialog.ajax
    - biopama_protected_areas/global-styling
    
node-page:
  css:
    theme:
      css/node/node_map.css: {}
      css/node/style.css: {}
  js:
    js/node/node_map.js: {minified: false, preprocess: false}
    js/node/node.js: {minified: false, preprocess: false}
    js/node/node_map_interaction.js: {minified: false, preprocess: false}
  dependencies:
    - biopama_protected_areas/global-styling
    - biopama_protected_areas/biopama-breadcrumbs
    - biopama_protected_areas/breadcrumb-cards
    - biopama_protected_areas/tooltips

node-country:
  js:
    js/country.js: {}
  css:
    component:
      css/country.css: {}
  dependencies:
    - biopama_protected_areas/node-page
    
node-pa:
  js:
    js/pa.js: {}
  css:
    component:
      css/pa.css: {}
  dependencies:
    - biopama_protected_areas/node-page
    
pa-search:
  js:
    js/search/pa-search.js: {}
    js/search/search_map_interaction.js: {minified: false, preprocess: false}
  css:
    component:
      css/pa-search.css: {}
  dependencies:
    - biopama_protected_areas/mapbox
    - biopama_protected_areas/fontawesome
    - biopama_protected_areas/global-styling
    - core/drupal
    - core/jquery
    - core/jquery.once
    - core/drupal.ajax
    - core/views.ajax
    
breadcrumb-cards:
  css:
    theme:
      css/breadcrumb_cards/breadcrumb_cards.css: {}
  js:
    js/breadcrumb_cards/breadcrumb_cards.js: {minified: false, preprocess: false}
  dependencies:
    - core/jquery
    - biopama_protected_areas/echarts
    - biopama_protected_areas/biopama-tooltips
    
global-rest:
  js:
    js/global_rest.js: {minified: false, preprocess: false}
    
biopama-tooltips:
  css:
    theme:
      css/tooltips.css: {}
  js:
    js/tooltips.js: {minified: false, preprocess: false}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc