Prevent previous name fetch on pid = 0 (#6770)
[openemr.git] / config / config.yaml
blobbe25617a307d1e05c3bcae22ebd177fd4c9985fc
1 ---
2 # Use %KEY-NAME% in this file and it will be replaced with the value of
3 # $GLOBALS['KEY-NAME'] if it exists. If the key name does not exist, this script
4 # won't work (Need to build in proper error handling @TODO RD 2017-05-16
6 # Example usage:
7 # assets: Top-level key name (Required)
8 #     asset-short-name: Short name
9 #         basePath: %assets_static_relative%/full/path/to/deepest/common/file
10 #         script: null filename or null
11 #         link: jquery-ui.min.css filename or null
12 #         autoload: true (defaults to false)
13 #         loadInFile: relative path to file, load always in specific file (defaults to false) for custom assets.
14 assets:
15     jquery:
16         basePath: '%assets_static_relative%/jquery/dist/'
17         script: jquery.min.js
18         autoload: true
19         allowNoLoad: true
20     bootstrap:
21         basePath: '%assets_static_relative%/bootstrap/dist/'
22         script: js/bootstrap.bundle.min.js
23         # Bootstrap is included in main themes via SASS
24         #  So will only use below css link if no_main-theme token is provided.
25         #  TODO - incorporate this mechanism for rtl when rtl bootrap SASS mechanism is up and running
26         link: css/bootstrap.min.css
27         autoload: true
28         allowNoLoad: true
29         # RTL only for no_main-theme which is rare
30         rtl:
31             basePath: '%assets_static_relative%/bootstrap-rtl/dist/'
32             link: css/bootstrap-rtl.min.css
33     # keep utility and javaScript translations near top of load order.
34     i18next:
35         basePath: '%assets_static_relative%/i18next/dist/umd/'
36         script: i18next.min.js
37     i18next-xhr-backend:
38         basePath: '%assets_static_relative%/i18next-xhr-backend/dist/umd/'
39         script: i18nextXHRBackend.min.js
40     i18next-browser-languagedetector:
41         basePath: '%assets_static_relative%/i18next-browser-languagedetector/dist/umd/'
42         script: i18nextBrowserLanguageDetector.min.js
43     utility:
44         basePath: '%webroot%/library/js/'
45         script: utility.js
46         autoload: true
47         allowNoLoad: true
48     main-theme:
49         alreadyBuilt: true
50         link: '%css_header%'
51         autoload: true
52         allowNoLoad: true
53     # The compact theme asset follows the allowNoLoad setting of the main-theme asset
54     # ie. no-main-theme token will also skip the compact-theme
55     compact-theme:
56         alreadyBuilt: true
57         link: '%compact_header%'
58         autoload: true
59         allowNoLoad: true
60     tabs-theme:
61         basePath: '%webroot%/public/themes/'
62         link: '%theme_tabs_layout%'
63         rtl:
64             basePath: '%webroot%/public/themes/'
65             link: rtl_%theme_tabs_layout%
66     pdf-style:
67         basePath: '%webroot%/public/themes/'
68         link: style_pdf.css
69     portal-theme:
70       alreadyBuilt: true
71       link: '%portal_css_header%'
72     knockout:
73         basePath: '%assets_static_relative%/knockout/build/output/'
74         script: knockout-latest.js
75     jquery-ui:
76         basePath: '%assets_static_relative%/jquery-ui/'
77         script: jquery-ui.min.js
78     jquery-ui-theme:
79         basePath: '%assets_static_relative%/jquery-ui/'
80         link: jquery-ui.theme.css
81     jquery-ui-base:
82         basePath: '%assets_static_relative%/jquery-ui-themes/themes/base/'
83         link: jquery-ui.min.css
84     jquery-ui-darkness:
85         basePath: '%assets_static_relative%/jquery-ui-themes/themes/ui-darkness/'
86         link: jquery-ui.min.css
87     jquery-ui-sunny:
88         basePath: '%assets_static_relative%/jquery-ui-themes/themes/sunny/'
89         link: jquery-ui.min.css
90     jquery-ui-redmond:
91         basePath: '%assets_static_relative%/jquery-ui-themes/themes/redmond/'
92         link: jquery-ui.min.css
93     jquery-ui-cupertino:
94         basePath: '%assets_static_relative%/jquery-ui-themes/themes/cupertino/'
95         link: jquery-ui.min.css
96     jquery-ui-lightness:
97         basePath: '%assets_static_relative%/jquery-ui-themes/themes/ui-lightness/'
98         link: jquery-ui.min.css
99     jquery-ui-excite-bike:
100         basePath: '%assets_static_relative%/jquery-ui-themes/themes/excite-bike/'
101         link: jquery-ui.min.css
102     datatables:
103         basePath: '%assets_static_relative%/datatables.net/js/'
104         script: jquery.dataTables.min.js
105     datatables-colreorder:
106         basePath: '%assets_static_relative%'
107         link: /datatables.net-colreorder-dt/css/colReorder.dataTables.min.css
108         script: /datatables.net-colreorder/js/dataTables.colReorder.min.js
109     datatables-dt:
110         basePath: '%assets_static_relative%/datatables.net-dt/css/'
111         link: jquery.dataTables.min.css
112     datatables-bs:
113         basePath: '%assets_static_relative%/datatables.net-bs4/'
114         script: js/dataTables.bootstrap4.min.js
115         link: css/dataTables.bootstrap4.min.css
116     datatables-jqui:
117         basePath: '%assets_static_relative%/datatables.net-jqui/js/'
118         script: dataTables.jqueryui.min.js
119     datatables-jqui-theme:
120         basePath: '%assets_static_relative%/datatables.net-jqui/css/'
121         link: dataTables.jqueryui.min.css
122     datatables-scroller:
123         basePath: '%assets_static_relative%/datatables.net-scroller/js/'
124         script: dataTables.scroller.min.js
125     datatables-scroller-jqui-theme:
126         basePath: '%assets_static_relative%/datatables.net-scroller-jqui/css/'
127         link: scroller.jqueryui.min.css
128     fontawesome:
129         basePath: '%assets_static_relative%/@fortawesome/fontawesome-free/css/'
130         link: all.min.css
131     datetime-picker:
132         basePath: '%assets_static_relative%/jquery-datetimepicker/build/'
133         script: jquery.datetimepicker.full.min.js
134         link: jquery.datetimepicker.min.css
135     report-helper:
136         basePath: '%webroot%/library/js/'
137         script: report_helper.js
138     opener:
139         basePath: '%webroot%/interface/main/tabs/js/'
140         script: include_opener.js
141     topdialog:
142         basePath: '%webroot%/library/'
143         script: topdialog.js
144     common:
145         basePath: '%webroot%/library/js/'
146         script: common.js
147     textformat:
148         basePath: '%webroot%/library/'
149         script: textformat.js
150         autoload: true
151         allowNoLoad: true
152     dialog:
153         basePath: '%webroot%/library/'
154         script: dialog.js
155         autoload: true
156         allowNoLoad: true
157     select2:
158         basePath: '%assets_static_relative%/select2/dist/'
159         script: js/select2.full.min.js
160         link:
161             - css/select2.min.css
162             # BS4 theme moved to main theme assets to allow fluidity
163     jscolor:
164         basePath: '%assets_static_relative%/@eastdesire/jscolor/'
165         script: jscolor.min.js
166     esign:
167         basePath: '%webroot%/library/ESign/'
168         script: js/jquery.esign.js
169         link: css/esign.css
170     esign-theme-only:
171         basePath: '%webroot%/library/ESign/'
172         link: css/esign.css
173     dygraphs:
174         basePath: '%assets_static_relative%/modified/dygraphs-2-0-0/'
175         script: dygraph.js
176         link: dygraph.css
177     moment:
178         basePath: '%assets_static_relative%/moment/min/'
179         script: moment.min.js
180     purecss:
181         basePath: '%assets_static_relative%/purecss/build/'
182         link: pure-min.css
183     angular:
184         basePath: '%assets_static_relative%/angular/'
185         script: angular.min.js
186     angular-sanitize:
187         basePath: '%assets_static_relative%/angular-sanitize/'
188         script: angular-sanitize.min.js
189     backbone:
190         basePath: '%assets_static_relative%/backbone/'
191         script: backbone-min.js
192     checklist-model:
193         basePath: '%assets_static_relative%/checklist-model/'
194         script: checklist-model.js
195     underscore:
196         basePath: '%assets_static_relative%/underscore/'
197         script: underscore-min.js
198     ckeditor:
199         basePath: '%assets_static_relative%/ckeditor4/'
200         script: ckeditor.js
201     search-highlight:
202         basePath: '%webroot%/library/js/'
203         script: SearchHighlight.js
204     track-anything:
205         basePath: '%webroot%/interface/forms/track_anything/'
206         link: style.css
207     konva:
208         basePath: '%assets_static_relative%/konva/'
209         script: konva.min.js
210     magic-wand:
211         basePath: '%assets_static_relative%/magic-wand-js/js/'
212         script: magic-wand-min.js
213     jszip:
214         basePath: '%assets_static_relative%/jszip/dist/'
215         script: jszip.min.js
216     jspdf:
217         basePath: '%assets_static_relative%/jspdf/dist/'
218         script: jspdf.umd.min.js
219     dwv:
220         basePath: '%assets_static_relative%/dwv/'
221         script:
222             - decoders/pdfjs/jpx.js
223             - decoders/pdfjs/util.js
224             - decoders/pdfjs/arithmetic_decoder.js
225             - decoders/pdfjs/jpg.js
226             - decoders/rii-mango/lossless-min.js
227             - dist/dwv.min.js
228     sortablejs:
229       basePath: '%assets_static_relative%/sortablejs/'
230       script: Sortable.min.js
231     hotkeys:
232         basePath: '%assets_static_relative%/hotkeys-js/'
233         script:
234             - dist/hotkeys.min.js
235     reason-code-widget:
236         basePath: '%webroot%/library/js/'
237         script: reasonCodeWidget.js
238     erx:
239         basePath: '%webroot%/library/js/'
240         script: erx_javascript.js
241     checkpwd_validation:
242         basePath: '%webroot%/interface/usergroup/'
243         script: checkpwd_validation.js