This commit is contained in:
kuaifan 2023-02-23 18:05:06 +08:00
parent b83010acdf
commit af2e68a97d
210 changed files with 657 additions and 9200 deletions

View File

@ -47,6 +47,7 @@ services:
- fileview - fileview
- drawio-webapp - drawio-webapp
- drawio-export - drawio-export
- minder
restart: unless-stopped restart: unless-stopped
redis: redis:
@ -147,6 +148,16 @@ services:
- ./docker/drawio/export/fonts:/usr/share/fonts/drawio - ./docker/drawio/export/fonts:/usr/share/fonts/drawio
restart: unless-stopped restart: unless-stopped
minder:
container_name: "dootask-minder-${APP_ID}"
image: "kuaifan/minder:latest"
networks:
extnetwork:
ipv4_address: "${APP_IPPR}.10"
environment:
TZ: "Asia/Shanghai"
restart: unless-stopped
networks: networks:
extnetwork: extnetwork:
name: "dootask-networks-${APP_ID}" name: "dootask-networks-${APP_ID}"

View File

@ -151,6 +151,23 @@ server {
proxy_set_header Connection $connection_upgrade; proxy_set_header Connection $connection_upgrade;
proxy_pass http://drawio-export:8000/; proxy_pass http://drawio-export:8000/;
} }
location /minder/ {
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Real-PORT $remote_port;
proxy_set_header X-Forwarded-Host $the_host;
proxy_set_header X-Forwarded-Proto $the_scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header Scheme $scheme;
proxy_set_header Server-Protocol $server_protocol;
proxy_set_header Server-Name $server_name;
proxy_set_header Server-Addr $server_addr;
proxy_set_header Server-Port $server_port;
proxy_pass http://minder/;
}
} }
include /etc/nginx/conf.d/conf.d/*.conf; include /etc/nginx/conf.d/conf.d/*.conf;

View File

@ -2,10 +2,10 @@
directory=/var/www directory=/var/www
# 生产环境 # 生产环境
command=php bin/laravels start -i #command=php bin/laravels start -i
# 开发环境 # 开发环境
#command=./bin/inotify ./app command=./bin/inotify ./app
numprocs=1 numprocs=1
autostart=true autostart=true

View File

@ -33,7 +33,7 @@
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
document.writeln("<script src=\'./js/app.js?v=" + window.systemInfo.version + "\'><\/script>"); document.writeln("<script type=\"module\" src=\"./js/app.js?v=" + window.systemInfo.version + "\"><\/script>");
</script> </script>
</body> </body>

2
electron/utils.js vendored
View File

@ -1,7 +1,7 @@
const fs = require("fs"); const fs = require("fs");
const {shell, dialog, session} = require("electron"); const {shell, dialog, session} = require("electron");
module.exports = { export default {
/** /**
* 是否数组 * 是否数组
* @param obj * @param obj

View File

@ -18,6 +18,7 @@
}, },
"devDependencies": { "devDependencies": {
"@chenfengyuan/vue-qrcode": "^1.0.2", "@chenfengyuan/vue-qrcode": "^1.0.2",
"@vitejs/plugin-legacy": "^1.8.2",
"axios": "^0.24.0", "axios": "^0.24.0",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"css-loader": "^6.7.2", "css-loader": "^6.7.2",
@ -42,13 +43,17 @@
"quill": "^1.3.7", "quill": "^1.3.7",
"quill-mention-hi": "^3.1.0-1", "quill-mention-hi": "^3.1.0-1",
"resolve-url-loader": "^4.0.0", "resolve-url-loader": "^4.0.0",
"sass": "^1.56.1", "sass": "~1.26.5",
"sass-loader": "^12.6.0", "sass-loader": "^12.6.0",
"stylus": "^0.59.0", "stylus": "^0.59.0",
"stylus-loader": "^7.1.0", "stylus-loader": "^7.1.0",
"tinymce": "^5.10.3", "tinymce": "^5.10.3",
"tui-calendar-hi": "^1.15.1-5", "tui-calendar-hi": "^1.15.1-5",
"view-design-hi": "^4.7.0-36", "view-design-hi": "^4.7.0-36",
"vite": "^2.9.15",
"vite-plugin-vue2": "^2.0.3",
"vite-plugin-file-copy": "^1.0.0",
"vite-plugin-require": "^1.1.10",
"vue": "^2.7.14", "vue": "^2.7.14",
"vue-clipboard2": "^0.3.3", "vue-clipboard2": "^0.3.3",
"vue-kityminder-ggg": "^1.3.10", "vue-kityminder-ggg": "^1.3.10",
@ -59,9 +64,7 @@
"vue-template-compiler": "^2.7.14", "vue-template-compiler": "^2.7.14",
"vue-virtual-scroll-list-hi": "^2.3.4-3", "vue-virtual-scroll-list-hi": "^2.3.4-3",
"vuedraggable": "^2.24.3", "vuedraggable": "^2.24.3",
"vuex": "3.6.2", "vuex": "3.6.2"
"webpack": "^5.75.0",
"webpack-cli": "^5.0.0"
}, },
"app": [ "app": [
{ {

View File

@ -37,6 +37,7 @@
"/docs/assets/prism.css": "/docs/assets/prism.css", "/docs/assets/prism.css": "/docs/assets/prism.css",
"/docs/index.html": "/docs/index.html", "/docs/index.html": "/docs/index.html",
"/favicon.ico": "/favicon.ico", "/favicon.ico": "/favicon.ico",
"/hot": "/hot",
"/images/avatar/default_1.png": "/images/avatar/default_1.png", "/images/avatar/default_1.png": "/images/avatar/default_1.png",
"/images/avatar/default_10.png": "/images/avatar/default_10.png", "/images/avatar/default_10.png": "/images/avatar/default_10.png",
"/images/avatar/default_11.png": "/images/avatar/default_11.png", "/images/avatar/default_11.png": "/images/avatar/default_11.png",
@ -1043,5 +1044,56 @@
"/mix-manifest.json": "/mix-manifest.json", "/mix-manifest.json": "/mix-manifest.json",
"/privacy.html": "/privacy.html", "/privacy.html": "/privacy.html",
"/robots.txt": "/robots.txt", "/robots.txt": "/robots.txt",
"/uploads/chat/202302/21/5b534ea4b47d8e97.png": "/uploads/chat/202302/21/5b534ea4b47d8e97.png",
"/uploads/chat/202302/21/5b534ea4b47d8e97.png_thumb.jpg": "/uploads/chat/202302/21/5b534ea4b47d8e97.png_thumb.jpg",
"/uploads/chat/202302/21/8928e5f80939509e.png": "/uploads/chat/202302/21/8928e5f80939509e.png",
"/uploads/chat/202302/21/8928e5f80939509e.png_thumb.jpg": "/uploads/chat/202302/21/8928e5f80939509e.png_thumb.jpg",
"/uploads/chat/202302/23/7bc8ad2d4a6f564946f970b9b711c295": "/uploads/chat/202302/23/7bc8ad2d4a6f564946f970b9b711c295",
"/uploads/chat/202302/23/7bc8ad2d4a6f564946f970b9b711c295.log": "/uploads/chat/202302/23/7bc8ad2d4a6f564946f970b9b711c295.log",
"/uploads/file/202302/17/7bc8ad2d4a6f564946f970b9b711c295": "/uploads/file/202302/17/7bc8ad2d4a6f564946f970b9b711c295",
"/uploads/file/document/202302/2/a6df806829f1f52bf1f38dec45686321": "/uploads/file/document/202302/2/a6df806829f1f52bf1f38dec45686321",
"/uploads/file/document/202302/3/c4942fb1bb6ccf29f9bcdba1d4492b22": "/uploads/file/document/202302/3/c4942fb1bb6ccf29f9bcdba1d4492b22",
"/uploads/file/document/202302/5/cde8589c6f4798296bf2296864be6071": "/uploads/file/document/202302/5/cde8589c6f4798296bf2296864be6071",
"/uploads/file/document/202302/8/78eda82d6629e53bb82460c51e7fc7fb": "/uploads/file/document/202302/8/78eda82d6629e53bb82460c51e7fc7fb",
"/uploads/file/document/202302/9/a201469e17efce7f268063f6feb205e2": "/uploads/file/document/202302/9/a201469e17efce7f268063f6feb205e2",
"/uploads/file/drawio/202302/12/28e31814da4091d00405c291d25c8d7d": "/uploads/file/drawio/202302/12/28e31814da4091d00405c291d25c8d7d",
"/uploads/file/excel/202302/11/xlsx-11-1676953656": "/uploads/file/excel/202302/11/xlsx-11-1676953656",
"/uploads/file/mind/202302/6/8abe2852fd70d43f1a793404546035c8": "/uploads/file/mind/202302/6/8abe2852fd70d43f1a793404546035c8",
"/uploads/task/content/202302/10/62775702d689fc832783d5f959710de2": "/uploads/task/content/202302/10/62775702d689fc832783d5f959710de2",
"/uploads/task/content/202302/11/a1c2ba35de1a0a85c2f9d0750aacc71e": "/uploads/task/content/202302/11/a1c2ba35de1a0a85c2f9d0750aacc71e",
"/uploads/task/content/202302/12/6f0385941c1b8e59610544f0d440d7e8": "/uploads/task/content/202302/12/6f0385941c1b8e59610544f0d440d7e8",
"/uploads/task/content/202302/13/d37f8c694f06b4820461404b459827eb": "/uploads/task/content/202302/13/d37f8c694f06b4820461404b459827eb",
"/uploads/task/content/202302/14/ce175b25e5af8305e9c5f59cf3e8eecf": "/uploads/task/content/202302/14/ce175b25e5af8305e9c5f59cf3e8eecf",
"/uploads/task/content/202302/15/d78b15b35d3f4f0eb68b73e581dd6f40": "/uploads/task/content/202302/15/d78b15b35d3f4f0eb68b73e581dd6f40",
"/uploads/task/content/202302/16/9019b20884389424cee2c1d0340ca462": "/uploads/task/content/202302/16/9019b20884389424cee2c1d0340ca462",
"/uploads/task/content/202302/17/bb0846c7b69f8b7bbfd18dfdf69ce3ea": "/uploads/task/content/202302/17/bb0846c7b69f8b7bbfd18dfdf69ce3ea",
"/uploads/task/content/202302/18/204c1384d289705f8380bf4a4332680c": "/uploads/task/content/202302/18/204c1384d289705f8380bf4a4332680c",
"/uploads/task/content/202302/19/df25b37a14ed631a0111a647e53fc24e": "/uploads/task/content/202302/19/df25b37a14ed631a0111a647e53fc24e",
"/uploads/task/content/202302/20/14b9e6faed15376ced2bf66eed9a10f2": "/uploads/task/content/202302/20/14b9e6faed15376ced2bf66eed9a10f2",
"/uploads/task/content/202302/21/9f62da40691774f904646e725e071b2c": "/uploads/task/content/202302/21/9f62da40691774f904646e725e071b2c",
"/uploads/task/content/202302/22/699623bdbe259c1e151120475ac5f566": "/uploads/task/content/202302/22/699623bdbe259c1e151120475ac5f566",
"/uploads/task/content/202302/23/e051d279ac266ea542786bfd973b1ed2": "/uploads/task/content/202302/23/e051d279ac266ea542786bfd973b1ed2",
"/uploads/task/content/202302/24/67f079e9b1d7c7edc10af133cd61956f": "/uploads/task/content/202302/24/67f079e9b1d7c7edc10af133cd61956f",
"/uploads/task/content/202302/25/7ea04d3fc054d2ab02645c04e1bbf2af": "/uploads/task/content/202302/25/7ea04d3fc054d2ab02645c04e1bbf2af",
"/uploads/task/content/202302/26/b02ab92959686dcab8d4d97d4d61f583": "/uploads/task/content/202302/26/b02ab92959686dcab8d4d97d4d61f583",
"/uploads/task/content/202302/27/6bf8575f601b6639f97c95bfd544d5bd": "/uploads/task/content/202302/27/6bf8575f601b6639f97c95bfd544d5bd",
"/uploads/task/content/202302/28/14f1663d878dbe7578b7f3c11b05a6c1": "/uploads/task/content/202302/28/14f1663d878dbe7578b7f3c11b05a6c1",
"/uploads/task/content/202302/29/ebb6157be1ffeb115e870b659f6e06c5": "/uploads/task/content/202302/29/ebb6157be1ffeb115e870b659f6e06c5",
"/uploads/task/content/202302/30/dc0fa7df3d07904a09288bd2d2bb5f40": "/uploads/task/content/202302/30/dc0fa7df3d07904a09288bd2d2bb5f40",
"/uploads/task/content/202302/33/0b112960fd82818d1685543c69d91838": "/uploads/task/content/202302/33/0b112960fd82818d1685543c69d91838",
"/uploads/task/content/202302/35/1e6514c7ecf8723d0014f91fe7ca0936": "/uploads/task/content/202302/35/1e6514c7ecf8723d0014f91fe7ca0936",
"/uploads/task/content/202302/36/6714a4737e4f2b9624a800f46285b249": "/uploads/task/content/202302/36/6714a4737e4f2b9624a800f46285b249",
"/uploads/task/content/202302/37/82b62a3e1b9315cf42432b7a7c081939": "/uploads/task/content/202302/37/82b62a3e1b9315cf42432b7a7c081939",
"/uploads/task/content/202302/38/1128c1cff0962868ed63065495297f38": "/uploads/task/content/202302/38/1128c1cff0962868ed63065495297f38",
"/uploads/task/content/202302/40/14b9e6faed15376ced2bf66eed9a10f2": "/uploads/task/content/202302/40/14b9e6faed15376ced2bf66eed9a10f2",
"/uploads/task/content/202302/41/14b9e6faed15376ced2bf66eed9a10f2": "/uploads/task/content/202302/41/14b9e6faed15376ced2bf66eed9a10f2",
"/uploads/task/content/202302/48/d41d8cd98f00b204e9800998ecf8427e": "/uploads/task/content/202302/48/d41d8cd98f00b204e9800998ecf8427e",
"/uploads/task/content/202302/59/d41d8cd98f00b204e9800998ecf8427e": "/uploads/task/content/202302/59/d41d8cd98f00b204e9800998ecf8427e",
"/uploads/task/content/202302/9/2a831d58e91542f8d9416bbb2ea245ab": "/uploads/task/content/202302/9/2a831d58e91542f8d9416bbb2ea245ab",
"/uploads/user/ldap/11.jpeg": "/uploads/user/ldap/11.jpeg",
"/uploads/user/picture/11/202302/c2fda30feeadf29d5c20e9a351175236.png": "/uploads/user/picture/11/202302/c2fda30feeadf29d5c20e9a351175236.png",
"/uploads/user/picture/11/202302/c2fda30feeadf29d5c20e9a351175236.png_thumb.jpg": "/uploads/user/picture/11/202302/c2fda30feeadf29d5c20e9a351175236.png_thumb.jpg",
"/uploads/user/picture/11/202302/e6fa48024b30f028c50b0dc494b9a559.png": "/uploads/user/picture/11/202302/e6fa48024b30f028c50b0dc494b9a559.png",
"/uploads/user/picture/11/202302/e6fa48024b30f028c50b0dc494b9a559.png_thumb.jpg": "/uploads/user/picture/11/202302/e6fa48024b30f028c50b0dc494b9a559.png_thumb.jpg",
"/web.config": "/web.config" "/web.config": "/web.config"
} }

View File

@ -17,6 +17,8 @@ import ViewUI from 'view-design-hi'
import store from './store/index' import store from './store/index'
import mixin from "./store/mixin" import mixin from "./store/mixin"
import "../sass/app.scss";
Vue.use(Vuex); Vue.use(Vuex);
Vue.use(ViewUI, { Vue.use(ViewUI, {
modal: { modal: {
@ -196,12 +198,11 @@ Vue.mixin(mixin)
let app; let app;
store.dispatch("init").then(_ => { store.dispatch("init").then(_ => {
app = new Vue({ app = new Vue({
el: '#app',
router, router,
store, store,
render: h => h(App),
template: '<App/>', template: '<App/>',
components: { App } }).$mount('#app');
});
$A.goForward = app.goForward; $A.goForward = app.goForward;
$A.goBack = app.goBack; $A.goBack = app.goBack;

View File

@ -1,4 +1,4 @@
module.exports = function(hljs){ export default function(hljs){
// общий паттерн для определения идентификаторов // общий паттерн для определения идентификаторов
var UNDERSCORE_IDENT_RE = '[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+'; var UNDERSCORE_IDENT_RE = '[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+';

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var regexes = { var regexes = {
ruleDeclaration: "^[a-zA-Z][a-zA-Z0-9-]*", ruleDeclaration: "^[a-zA-Z][a-zA-Z0-9-]*",
unexpectedChars: "[!@#$^&',?+~`|:]" unexpectedChars: "[!@#$^&',?+~`|:]"

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
return { return {
contains: [ contains: [
// IP // IP

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var IDENT_RE = '[a-zA-Z_$][a-zA-Z0-9_$]*'; var IDENT_RE = '[a-zA-Z_$][a-zA-Z0-9_$]*';
var IDENT_FUNC_RETURN_TYPE_RE = '([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)'; var IDENT_FUNC_RETURN_TYPE_RE = '([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)';

View File

@ -1,4 +1,4 @@
module.exports = // We try to support full Ada2012 export default // We try to support full Ada2012
// //
// We highlight all appearances of types, keywords, literals (string, char, number, bool) // We highlight all appearances of types, keywords, literals (string, char, number, bool)
// and titles (user defined function/procedure/package) // and titles (user defined function/procedure/package)

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var builtInTypeMode = { var builtInTypeMode = {
className: 'built_in', className: 'built_in',
begin: '\\b(void|bool|int|int8|int16|int32|int64|uint|uint8|uint16|uint32|uint64|string|ref|array|double|float|auto|dictionary)' begin: '\\b(void|bool|int|int8|int16|int32|int64|uint|uint8|uint16|uint32|uint64|string|ref|array|double|float|auto|dictionary)'

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var NUMBER = {className: 'number', begin: '[\\$%]\\d+'}; var NUMBER = {className: 'number', begin: '[\\$%]\\d+'};
return { return {
aliases: ['apacheconf'], aliases: ['apacheconf'],

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var STRING = hljs.inherit(hljs.QUOTE_STRING_MODE, {illegal: ''}); var STRING = hljs.inherit(hljs.QUOTE_STRING_MODE, {illegal: ''});
var PARAMS = { var PARAMS = {
className: 'params', className: 'params',

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var IDENT_RE = '[A-Za-z_][0-9A-Za-z_]*'; var IDENT_RE = '[A-Za-z_][0-9A-Za-z_]*';
var KEYWORDS = { var KEYWORDS = {
keyword: keyword:

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var CPP = hljs.getLanguage('cpp').exports; var CPP = hljs.getLanguage('cpp').exports;
return { return {
keywords: { keywords: {

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
//local labels: %?[FB]?[AT]?\d{1,2}\w+ //local labels: %?[FB]?[AT]?\d{1,2}\w+
return { return {
case_insensitive: true, case_insensitive: true,

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
return { return {
aliases: ['adoc'], aliases: ['adoc'],
contains: [ contains: [

View File

@ -1,4 +1,4 @@
module.exports = function (hljs) { export default function (hljs) {
var KEYWORDS = var KEYWORDS =
'false synchronized int abstract float private char boolean static null if const ' + 'false synchronized int abstract float private char boolean static null if const ' +
'for true while long throw strictfp finally protected import native final return void ' + 'for true while long throw strictfp finally protected import native final return void ' +

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var BACKTICK_ESCAPE = { var BACKTICK_ESCAPE = {
begin: '`[\\s\\S]' begin: '`[\\s\\S]'
}; };

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var KEYWORDS = 'ByRef Case Const ContinueCase ContinueLoop ' + var KEYWORDS = 'ByRef Case Const ContinueCase ContinueLoop ' +
'Default Dim Do Else ElseIf EndFunc EndIf EndSelect ' + 'Default Dim Do Else ElseIf EndFunc EndIf EndSelect ' +
'EndSwitch EndWith Enum Exit ExitLoop For Func ' + 'EndSwitch EndWith Enum Exit ExitLoop For Func ' +

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
return { return {
case_insensitive: true, case_insensitive: true,
lexemes: '\\.?' + hljs.IDENT_RE, lexemes: '\\.?' + hljs.IDENT_RE,

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var VARIABLE = { var VARIABLE = {
className: 'variable', className: 'variable',
variants: [ variants: [

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
return { return {
keywords: 'false int abstract private char boolean static null if for true ' + keywords: 'false int abstract private char boolean static null if for true ' +
'while long throw finally protected final return void enum else ' + 'while long throw finally protected final return void enum else ' +

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var VAR = { var VAR = {
className: 'variable', className: 'variable',
variants: [ variants: [

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
return { return {
case_insensitive: true, case_insensitive: true,
illegal: '^\.', illegal: '^\.',

View File

@ -1,4 +1,4 @@
module.exports = function(hljs){ export default function(hljs){
return { return {
contains: [ contains: [
// Attribute // Attribute

View File

@ -1,4 +1,4 @@
module.exports = function(hljs){ export default function(hljs){
var LITERAL = { var LITERAL = {
className: 'literal', className: 'literal',
begin: '[\\+\\-]', begin: '[\\+\\-]',

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var KEYWORDS = var KEYWORDS =
'div mod in and or not xor asserterror begin case do downto else end exit for if of repeat then to ' + 'div mod in and or not xor asserterror begin case do downto else end exit for if of repeat then to ' +
'until while with var'; 'until while with var';

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
return { return {
aliases: ['capnp'], aliases: ['capnp'],
keywords: { keywords: {

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
// 2.3. Identifiers and keywords // 2.3. Identifiers and keywords
var KEYWORDS = var KEYWORDS =
'assembly module package import alias class interface object given value ' + 'assembly module package import alias class interface object given value ' +

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
return { return {
aliases: ['clean','icl','dcl'], aliases: ['clean','icl','dcl'],
keywords: { keywords: {

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
return { return {
contains: [ contains: [
{ {

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var keywords = { var keywords = {
'builtin-name': 'builtin-name':
// Clojure keywords // Clojure keywords

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
return { return {
aliases: ['cmake.in'], aliases: ['cmake.in'],
case_insensitive: true, case_insensitive: true,

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var KEYWORDS = { var KEYWORDS = {
keyword: keyword:
// JS keywords // JS keywords

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
return { return {
keywords: { keywords: {
keyword: keyword:

View File

@ -1,4 +1,4 @@
module.exports = function cos (hljs) { export default function cos (hljs) {
var STRINGS = { var STRINGS = {
className: 'string', className: 'string',

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var CPP_PRIMITIVE_TYPES = { var CPP_PRIMITIVE_TYPES = {
className: 'keyword', className: 'keyword',
begin: '\\b[a-z\\d_]*_t\\b' begin: '\\b[a-z\\d_]*_t\\b'

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var RESOURCES = 'primitive rsc_template'; var RESOURCES = 'primitive rsc_template';
var COMMANDS = 'group clone ms master location colocation order fencing_topology ' + var COMMANDS = 'group clone ms master location colocation order fencing_topology ' +

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var INT_SUFFIX = '(_*[ui](8|16|32|64|128))?'; var INT_SUFFIX = '(_*[ui](8|16|32|64|128))?';
var FLOAT_SUFFIX = '(_*f(32|64))?'; var FLOAT_SUFFIX = '(_*f(32|64))?';
var CRYSTAL_IDENT_RE = '[a-zA-Z_]\\w*[!?=]?'; var CRYSTAL_IDENT_RE = '[a-zA-Z_]\\w*[!?=]?';

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var KEYWORDS = { var KEYWORDS = {
keyword: keyword:
// Normal keywords. // Normal keywords.

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
return { return {
case_insensitive: false, case_insensitive: false,
lexemes: '[a-zA-Z][a-zA-Z0-9_-]*', lexemes: '[a-zA-Z][a-zA-Z0-9_-]*',

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var IDENT_RE = '[a-zA-Z-][a-zA-Z0-9_-]*'; var IDENT_RE = '[a-zA-Z-][a-zA-Z0-9_-]*';
var RULE = { var RULE = {
begin: /(?:[A-Z\_\.\-]+|--[a-zA-Z0-9_-]+)\s*:/, returnBegin: true, end: ';', endsWithParent: true, begin: /(?:[A-Z\_\.\-]+|--[a-zA-Z0-9_-]+)\s*:/, returnBegin: true, end: ';', endsWithParent: true,

View File

@ -1,4 +1,4 @@
module.exports = /** export default /**
* Known issues: * Known issues:
* *
* - invalid hex string literals will be recognized as a double quoted strings * - invalid hex string literals will be recognized as a double quoted strings

View File

@ -1,4 +1,4 @@
module.exports = function (hljs) { export default function (hljs) {
var SUBST = { var SUBST = {
className: 'subst', className: 'subst',
variants: [ variants: [

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var KEYWORDS = var KEYWORDS =
'exports register file shl array record property for mod while set ally label uses raise not ' + 'exports register file shl array record property for mod while set ally label uses raise not ' +
'stored class safecall var interface or private static exit index inherited to else stdcall ' + 'stored class safecall var interface or private static exit index inherited to else stdcall ' +

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
return { return {
aliases: ['patch'], aliases: ['patch'],
contains: [ contains: [

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var FILTER = { var FILTER = {
begin: /\|[A-Za-z]+:?/, begin: /\|[A-Za-z]+:?/,
keywords: { keywords: {

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
return { return {
aliases: ['bind', 'zone'], aliases: ['bind', 'zone'],
keywords: { keywords: {

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
return { return {
aliases: ['docker'], aliases: ['docker'],
case_insensitive: true, case_insensitive: true,

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var COMMENT = hljs.COMMENT( var COMMENT = hljs.COMMENT(
/^\s*@?rem\b/, /$/, /^\s*@?rem\b/, /$/,
{ {

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var QUOTED_PROPERTY = { var QUOTED_PROPERTY = {
className: 'string', className: 'string',
begin: /"/, end: /"/ begin: /"/, end: /"/

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var STRINGS = { var STRINGS = {
className: 'string', className: 'string',
variants: [ variants: [

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var EXPRESSION_KEYWORDS = 'if eq ne lt lte gt gte select default math sep'; var EXPRESSION_KEYWORDS = 'if eq ne lt lte gt gte select default math sep';
return { return {
aliases: ['dst'], aliases: ['dst'],

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var commentMode = hljs.COMMENT(/\(\*/, /\*\)/); var commentMode = hljs.COMMENT(/\(\*/, /\*\)/);
var nonTerminalMode = { var nonTerminalMode = {

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var ELIXIR_IDENT_RE = '[a-zA-Z_][a-zA-Z0-9_.]*(\\!|\\?)?'; var ELIXIR_IDENT_RE = '[a-zA-Z_][a-zA-Z0-9_.]*(\\!|\\?)?';
var ELIXIR_METHOD_RE = '[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?'; var ELIXIR_METHOD_RE = '[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?';
var ELIXIR_KEYWORDS = var ELIXIR_KEYWORDS =

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var COMMENT = { var COMMENT = {
variants: [ variants: [
hljs.COMMENT('--', '$'), hljs.COMMENT('--', '$'),

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
return { return {
subLanguage: 'xml', subLanguage: 'xml',
contains: [ contains: [

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
return { return {
keywords: { keywords: {
built_in: built_in:

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var BASIC_ATOM_RE = '[a-z\'][a-zA-Z0-9_\']*'; var BASIC_ATOM_RE = '[a-z\'][a-zA-Z0-9_\']*';
var FUNCTION_NAME_RE = '(' + BASIC_ATOM_RE + ':' + BASIC_ATOM_RE + '|' + BASIC_ATOM_RE + ')'; var FUNCTION_NAME_RE = '(' + BASIC_ATOM_RE + ':' + BASIC_ATOM_RE + '|' + BASIC_ATOM_RE + ')';
var ERLANG_RESERVED = { var ERLANG_RESERVED = {

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
return { return {
aliases: ['xlsx', 'xls'], aliases: ['xlsx', 'xls'],
case_insensitive: true, case_insensitive: true,

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
return { return {
contains: [ contains: [
{ {

View File

@ -1,4 +1,4 @@
module.exports = function (hljs) { export default function (hljs) {
var CHAR = { var CHAR = {
className: 'string', className: 'string',

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var PARAMS = { var PARAMS = {
className: 'params', className: 'params',
begin: '\\(', end: '\\)' begin: '\\(', end: '\\)'

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var TYPEPARAM = { var TYPEPARAM = {
begin: '<', end: '>', begin: '<', end: '>',
contains: [ contains: [

View File

@ -1,4 +1,4 @@
module.exports = function (hljs) { export default function (hljs) {
var KEYWORDS = { var KEYWORDS = {
'keyword': 'keyword':
'abort acronym acronyms alias all and assign binary card diag display ' + 'abort acronym acronyms alias all and assign binary card diag display ' +

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var KEYWORDS = { var KEYWORDS = {
keyword: 'bool break call callexe checkinterrupt clear clearg closeall cls comlog compile ' + keyword: 'bool break call callexe checkinterrupt clear clearg closeall cls comlog compile ' +
'continue create debug declare delete disable dlibrary dllcall do dos ed edit else ' + 'continue create debug declare delete disable dlibrary dllcall do dos ed edit else ' +

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var GCODE_IDENT_RE = '[A-Z_][A-Z0-9_.]*'; var GCODE_IDENT_RE = '[A-Z_][A-Z0-9_.]*';
var GCODE_CLOSE_RE = '\\%'; var GCODE_CLOSE_RE = '\\%';
var GCODE_KEYWORDS = var GCODE_KEYWORDS =

View File

@ -1,4 +1,4 @@
module.exports = function (hljs) { export default function (hljs) {
return { return {
aliases: ['feature'], aliases: ['feature'],
keywords: 'Feature Background Ability Business\ Need Scenario Scenarios Scenario\ Outline Scenario\ Template Examples Given And Then But When', keywords: 'Feature Background Ability Business\ Need Scenario Scenarios Scenario\ Outline Scenario\ Template Examples Given And Then But When',

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
return { return {
keywords: { keywords: {
keyword: keyword:

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var GML_KEYWORDS = { var GML_KEYWORDS = {
keywords: 'begin end if then else while do for break continue with until ' + keywords: 'begin end if then else while do for break continue with until ' +
'repeat exit and or xor not return mod div switch case default var ' + 'repeat exit and or xor not return mod div switch case default var ' +

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var GO_KEYWORDS = { var GO_KEYWORDS = {
keyword: keyword:
'break default func interface select case map struct chan else goto package switch ' + 'break default func interface select case map struct chan else goto package switch ' +

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
return { return {
keywords: { keywords: {
keyword: keyword:

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
return { return {
case_insensitive: true, case_insensitive: true,
keywords: { keywords: {

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
return { return {
keywords: { keywords: {
literal : 'true false null', literal : 'true false null',

View File

@ -1,4 +1,4 @@
module.exports = // TODO support filter tags like :javascript, support inline HTML export default // TODO support filter tags like :javascript, support inline HTML
function(hljs) { function(hljs) {
return { return {
case_insensitive: true, case_insensitive: true,

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var BUILT_INS = {'builtin-name': 'each in with if else unless bindattr action collection debugger log outlet template unbound view yield'}; var BUILT_INS = {'builtin-name': 'each in with if else unless bindattr action collection debugger log outlet template unbound view yield'};
return { return {
aliases: ['hbs', 'html.hbs', 'html.handlebars'], aliases: ['hbs', 'html.hbs', 'html.handlebars'],

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var COMMENT = { var COMMENT = {
variants: [ variants: [
hljs.COMMENT('--', '$'), hljs.COMMENT('--', '$'),

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var IDENT_RE = '[a-zA-Z_$][a-zA-Z0-9_$]*'; var IDENT_RE = '[a-zA-Z_$][a-zA-Z0-9_$]*';
var IDENT_FUNC_RETURN_TYPE_RE = '([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)'; var IDENT_FUNC_RETURN_TYPE_RE = '([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)';

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
return { return {
case_insensitive: true, case_insensitive: true,
lexemes: /[\w\._]+/, lexemes: /[\w\._]+/,

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var BUILT_INS = 'action collection component concat debugger each each-in else get hash if input link-to loc log mut outlet partial query-params render textarea unbound unless with yield view'; var BUILT_INS = 'action collection component concat debugger each each-in else get hash if input link-to loc log mut outlet partial query-params render textarea unbound unless with yield view';
var ATTR_ASSIGNMENT = { var ATTR_ASSIGNMENT = {

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var VERSION = 'HTTP/[0-9\\.]+'; var VERSION = 'HTTP/[0-9\\.]+';
return { return {
aliases: ['https'], aliases: ['https'],

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var keywords = { var keywords = {
'builtin-name': 'builtin-name':
// keywords // keywords

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var START_BRACKET = '\\['; var START_BRACKET = '\\[';
var END_BRACKET = '\\]'; var END_BRACKET = '\\]';
return { return {

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var STRING = { var STRING = {
className: "string", className: "string",
contains: [hljs.BACKSLASH_ESCAPE], contains: [hljs.BACKSLASH_ESCAPE],

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var PARAMS = { var PARAMS = {
className: 'params', className: 'params',
begin: '\\(', end: '\\)' begin: '\\(', end: '\\)'

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
// Определение идентификаторов // Определение идентификаторов
var UNDERSCORE_IDENT_RE = "[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*"; var UNDERSCORE_IDENT_RE = "[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*";

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var JAVA_IDENT_RE = '[\u00C0-\u02B8a-zA-Z_$][\u00C0-\u02B8a-zA-Z_$0-9]*'; var JAVA_IDENT_RE = '[\u00C0-\u02B8a-zA-Z_$][\u00C0-\u02B8a-zA-Z_$0-9]*';
var GENERIC_IDENT_RE = JAVA_IDENT_RE + '(<' + JAVA_IDENT_RE + '(\\s*,\\s*' + JAVA_IDENT_RE + ')*>)?'; var GENERIC_IDENT_RE = JAVA_IDENT_RE + '(<' + JAVA_IDENT_RE + '(\\s*,\\s*' + JAVA_IDENT_RE + ')*>)?';
var KEYWORDS = var KEYWORDS =

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var IDENT_RE = '[A-Za-z$_][0-9A-Za-z$_]*'; var IDENT_RE = '[A-Za-z$_][0-9A-Za-z$_]*';
var KEYWORDS = { var KEYWORDS = {
keyword: keyword:

View File

@ -1,4 +1,4 @@
module.exports = function (hljs) { export default function (hljs) {
var PARAM = { var PARAM = {
begin: /[\w-]+ *=/, returnBegin: true, begin: /[\w-]+ *=/, returnBegin: true,
relevance: 0, relevance: 0,

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var LITERALS = {literal: 'true false null'}; var LITERALS = {literal: 'true false null'};
var TYPES = [ var TYPES = [
hljs.QUOTE_STRING_MODE, hljs.QUOTE_STRING_MODE,

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
return { return {
contains: [ contains: [
{ {

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
// Since there are numerous special names in Julia, it is too much trouble // Since there are numerous special names in Julia, it is too much trouble
// to maintain them by hand. Hence these names (i.e. keywords, literals and // to maintain them by hand. Hence these names (i.e. keywords, literals and
// built-ins) are automatically generated from Julia v0.6 itself through // built-ins) are automatically generated from Julia v0.6 itself through

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var KEYWORDS = { var KEYWORDS = {
keyword: keyword:
'abstract as val var vararg get set class object open private protected public noinline ' + 'abstract as val var vararg get set class object open private protected public noinline ' +

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
var LASSO_IDENT_RE = '[a-zA-Z_][\\w.]*'; var LASSO_IDENT_RE = '[a-zA-Z_][\\w.]*';
var LASSO_ANGLE_RE = '<\\?(lasso(script)?|=)'; var LASSO_ANGLE_RE = '<\\?(lasso(script)?|=)';
var LASSO_CLOSE_RE = '\\]|\\?>'; var LASSO_CLOSE_RE = '\\]|\\?>';

View File

@ -1,4 +1,4 @@
module.exports = function(hljs) { export default function(hljs) {
return { return {
contains: [ contains: [
{ {

View File

@ -1,4 +1,4 @@
module.exports = function (hljs) { export default function (hljs) {
return { return {
contains: [ contains: [
{ {

Some files were not shown because too many files have changed in this diff Show More