---
# Use %KEY-NAME% in this file and it will be replaced with the value of
# $GLOBALS['KEY-NAME'] if it exists. If the key name does not exist, this script
# won't work (Need to build in proper error handling @TODO RD 2017-05-16
#
# Example usage:
# assets: Top-level key name (Required)
#     asset-short-name: Short name
#         basePath: %assets_static_relative%/full/path/to/deepest/common/file
#         script: null filename or null
#         link: jquery-ui.min.css filename or null
#         autoload: true (defaults to false)
#         loadInFile: relative path to file, load always in specific file (defaults to false) for custom assets.
assets:
    jquery:
        basePath: '%assets_static_relative%/jquery/dist/'
        script: jquery.min.js
        autoload: true
        allowNoLoad: true
    bootstrap:
        basePath: '%assets_static_relative%/bootstrap/dist/'
        script: js/bootstrap.min.js
        link: css/bootstrap.min.css
        autoload: true
        allowNoLoad: true # could also just edit Header.php to remove this check (unnecessary?)
        rtl:
            basePath: '%assets_static_relative%/bootstrap-rtl/dist/'
            link: css/bootstrap-rtl.css
    bootstrap-sidebar:
        basePath: '%assets_static_relative%/bootstrap-sidebar/dist/'
        script: js/sidebar.js
        link: css/sidebar.css
    main-theme:
        alreadyBuilt: true
        link: '%css_header%'
        autoload: true
        allowNoLoad: true
    tabs-theme:
        basePath: '%webroot%/public/themes/'
        link: '%theme_tabs_layout%'
        rtl:
            basePath: '%webroot%/public/themes/'
            link: rtl_%theme_tabs_layout%
    knockout:
        basePath: '%assets_static_relative%/knockout/build/output/'
        script: knockout-latest.js
    jquery-ui:
        basePath: '%assets_static_relative%/jquery-ui/'
        script: jquery-ui.min.js
    jquery-ui-theme:
        basePath: '%assets_static_relative%/jquery-ui/'
        link: jquery-ui.theme.css
    jquery-ui-base:
        basePath: '%assets_static_relative%/jquery-ui-themes/themes/base/'
        link: jquery-ui.min.css
    jquery-ui-darkness:
        basePath: '%assets_static_relative%/jquery-ui-themes/themes/ui-darkness/'
        link: jquery-ui.min.css
    jquery-ui-sunny:
        basePath: '%assets_static_relative%/jquery-ui-themes/themes/sunny/'
        link: jquery-ui.min.css
    jquery-ui-redmond:
        basePath: '%assets_static_relative%/jquery-ui-themes/themes/redmond/'
        link: jquery-ui.min.css
    jquery-ui-cupertino:
        basePath: '%assets_static_relative%/jquery-ui-themes/themes/cupertino/'
        link: jquery-ui.min.css
    jquery-ui-lightness:
        basePath: '%assets_static_relative%/jquery-ui-themes/themes/ui-lightness/'
        link: jquery-ui.min.css
    jquery-ui-excite-bike:
        basePath: '%assets_static_relative%/jquery-ui-themes/themes/excite-bike/'
        link: jquery-ui.min.css
    datatables:
        basePath: '%assets_static_relative%/datatables.net/js/'
        script: jquery.dataTables.js
    datatables-jqui:
        basePath: '%assets_static_relative%/datatables.net-jqui/js/'
        script: dataTables.jqueryui.js
    datatables-jqui-theme:
        basePath: '%assets_static_relative%/datatables.net-jqui/css/'
        link: dataTables.jqueryui.css
    datatables-scroller:
        basePath: '%assets_static_relative%/datatables.net-scroller/js/'
        script: dataTables.scroller.js
    datatables-scroller-jqui-theme:
        basePath: '%assets_static_relative%/datatables.net-scroller-jqui/css/'
        link: scroller.jqueryui.css
    fontawesome:
        basePath: '%assets_static_relative%/font-awesome/css/'
        link: font-awesome.min.css
        autoload: true
        allowNoLoad: true
    datetime-picker:
        basePath: '%assets_static_relative%/jquery-datetimepicker/build/'
        script: jquery.datetimepicker.full.min.js
        link: jquery.datetimepicker.min.css
    report-helper:
        basePath: '%webroot%/library/js/'
        script: report_helper.js
    opener:
        basePath: '%webroot%/interface/main/tabs/js/'
        script: include_opener.js
    topdialog:
        basePath: '%webroot%/library/'
        script: topdialog.js
    common:
        basePath: '%webroot%/library/js/'
        script: common.js
    textformat:
        basePath: '%webroot%/library/'
        script: textformat.js
        autoload: true
        allowNoLoad: true
    dialog:
        basePath: '%webroot%/library/'
        script: dialog.js
        autoload: true
        allowNoLoad: true
    select2:
        basePath: '%assets_static_relative%/'
        script: select2/dist/js/select2.full.js # should this be the minified file?
        link:
            - select2/dist/css/select2.css # should this be the minified file?
            - select2-bootstrap-theme/dist/select2-bootstrap.css # should this be the minified file?
    jscolor:
        basePath: '%assets_static_relative%/jscolor/'
        script: jscolor.js
    emodal:
        basePath: '%assets_static_relative%/emodal/dist/'
        script: eModal.min.js
    esign:
        basePath: '%webroot%/library/ESign/'
        script: js/jquery.esign.js
        link: css/esign.css
    dygraphs:
        basePath: '%assets_static_relative%/modified/dygraphs-2-0-0/'
        script: dygraph.js
        link: dygraph.css
    moment:
        basePath: '%assets_static_relative%/moment/'
        script: moment.js # should this be the minified file?
    pure:
        basePath: '%assets_static_relative%/pure/0.5.0/'
        link: pure-min.css
    angular:
        basePath: '%assets_static_relative%/angular/'
        script: angular.min.js
    angular-sanitize:
        basePath: '%assets_static_relative%/angular-sanitize/'
        script: angular-sanitize.min.js
    angular-summernote:
        basePath: '%assets_static_relative%/angular-summernote/dist/'
        script: angular-summernote.js # should this be the minified file?
    backbone:
        basePath: '%assets_static_relative%/backbone/'
        script: backbone-min.js
    checklist-model:
        basePath: '%assets_static_relative%/checklist-model/'
        script: checklist-model.js
    summernote:
        basePath: '%assets_static_relative%/summernote/dist/'
        script: summernote.js
        link: summernote.css
    shortcut:
        basePath: '%assets_static_relative%/manual-added-package/shortcut.js-2-01-B/'
        script: shortcut.js
    underscore:
        basePath: '%assets_static_relative%/underscore'
        script: underscore-min.js
    userdebug:
        basePath: '%webroot%/library/js/'
        script: userDebug.js
        autoload: true
        allowNoLoad: true
    i18next:
        basePath: '%assets_static_relative%/i18next/dist/umd/'
        script: i18next.min.js
    utility:
        basePath: '%webroot%/library/js/'
        script: utility.js
        autoload: true
        allowNoLoad: true
