work_time-1.0.x-dev/work_time.libraries.yml

work_time.libraries.yml
# Custom module library for general purposes.
work_time:
  js:
    js/work-time.js: { attributes: { type: module } }
  css:
    component:
      css/work-time.css: { }
  dependencies:
    - core/drupalSettings
    - work_time/vuejs
    - work_time/axios

work-time-block:
  js:
    js/work-time-block.js: { attributes: { type: module } }
  css:
    component:
      css/work-time.css: { }
  dependencies:
    - core/drupal
    - core/once
    - work_time/vuejs
    - work_time/axios

work-time-area:
  js:
    js/work-time-area.js: { }
  dependencies:
    - core/drupal
    - core/jquery
    - core/once

work-time-sheet:
  js:
    js/work-time-sheet.js: { }
  css:
    component:
      css/work-time.css: { }
  dependencies:
    - core/drupalSettings
    - core/jquery
    - core/once

work-time-keeper:
  js:
    js/work-time-keeper.js: { }
  css:
    component:
      css/work-time.css: { }
  dependencies:
    - core/drupalSettings
    - core/jquery
    - core/once

work-time-line:
  js:
    js/work-time-line.js: { }
  css:
    component:
      css/work-time.css: { }
  dependencies:
    - core/drupalSettings
    - core/jquery
    - core/once
    - work_time/visjs

# Third-party library (CDN).
vuejs:
  remote: https://vuejs.org
  version: 3.2.47
  license:
    name: MIT
    url: https://github.com/vuejs/vue/blob/dev/LICENSE
    gpl-compatible: true
  js:
    //unpkg.com/vue@3/dist/vue.global.prod.js: {type: external, minified: true}

axios:
  remote: https://github.com/axios/axios
  version: 1.2.3
  license:
    name: MIT
    url: https://github.com/axios/axios/blob/v1.x/LICENSE
    gpl-compatible: true
  js:
    //cdnjs.cloudflare.com/ajax/libs/axios/1.2.3/axios.min.js: {type: external, minified: true}

bootstrap_table:
  js:
    js/bootstrap-table.js: {}
  dependencies:
    - core/drupalSettings
    - work_time/bootstrapTable

bootstrapTable:
  version: 1.21.3
  js:
    //unpkg.com/bootstrap-table@1.21.3/dist/bootstrap-table.min.js: {type: external, minified: true }
    //cdn.jsdelivr.net/npm/tableexport.jquery.plugin@1.10.21/tableExport.min.js: {type: external, minified: true }
    //unpkg.com/bootstrap-table@1.21.3/dist/extensions/mobile/bootstrap-table-mobile.min.js: {type: external, minified: true }
    //unpkg.com/bootstrap-table@1.21.3/dist/extensions/export/bootstrap-table-export.min.js: {type: external, minified: true }
  css:
    component:
      //unpkg.com/bootstrap-table@1.21.3/dist/bootstrap-table.min.css: { type: external, minified: true }

visjs:
  remote: https://visjs.org
  version: 7.7.2
  license:
    name: MIT
    url: https://github.com/almende/vis/blob/master/LICENSE-MIT
    gpl-compatible: true
  js:
    //unpkg.com/vis-timeline@latest/standalone/umd/vis-timeline-graph2d.min.js: {type: external, minified: true}
  css:
    component:
      //unpkg.com/vis-timeline@latest/styles/vis-timeline-graph2d.min.css: { type: external, minified: true }

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

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