@sync-in/server 1.8.1 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +56 -11
- package/environment/environment.dist.yaml +29 -26
- package/package.json +15 -15
- package/server/app.constants.js +9 -0
- package/server/app.constants.js.map +1 -1
- package/server/app.module.js +4 -0
- package/server/app.module.js.map +1 -1
- package/server/applications/admin/admin.module.js +6 -1
- package/server/applications/admin/admin.module.js.map +1 -1
- package/server/applications/{notifications/interfaces/user-mail-notification.js → admin/interfaces/check-update.interfaces.js} +1 -1
- package/server/applications/admin/interfaces/check-update.interfaces.js.map +1 -0
- package/server/applications/admin/services/admin-scheduler.service.js +53 -0
- package/server/applications/admin/services/admin-scheduler.service.js.map +1 -0
- package/server/applications/admin/services/admin.service.js +102 -0
- package/server/applications/admin/services/admin.service.js.map +1 -0
- package/server/applications/admin/services/admin.service.spec.js +46 -0
- package/server/applications/admin/services/admin.service.spec.js.map +1 -0
- package/server/applications/admin/utils/check-update.js +28 -0
- package/server/applications/admin/utils/check-update.js.map +1 -0
- package/server/applications/comments/services/comments-manager.service.js +1 -1
- package/server/applications/comments/services/comments-manager.service.js.map +1 -1
- package/server/applications/comments/services/comments-manager.service.spec.js +1 -1
- package/server/applications/comments/services/comments-manager.service.spec.js.map +1 -1
- package/server/applications/comments/services/comments-queries.service.js.map +1 -1
- package/server/applications/files/constants/cache.js +10 -1
- package/server/applications/files/constants/cache.js.map +1 -1
- package/server/applications/files/constants/only-office.js +0 -25
- package/server/applications/files/constants/only-office.js.map +1 -1
- package/server/applications/files/constants/operations.js +20 -3
- package/server/applications/files/constants/operations.js.map +1 -1
- package/server/applications/files/dto/file-operations.dto.js +7 -0
- package/server/applications/files/dto/file-operations.dto.js.map +1 -1
- package/server/applications/files/files-only-office.controller.js +3 -2
- package/server/applications/files/files-only-office.controller.js.map +1 -1
- package/server/applications/files/files-only-office.controller.spec.js +6 -5
- package/server/applications/files/files-only-office.controller.spec.js.map +1 -1
- package/server/applications/files/files.controller.js +88 -8
- package/server/applications/files/files.controller.js.map +1 -1
- package/server/applications/files/files.controller.spec.js +11 -4
- package/server/applications/files/files.controller.spec.js.map +1 -1
- package/server/applications/files/guards/files-only-office.guard.js +6 -0
- package/server/applications/files/guards/files-only-office.guard.js.map +1 -1
- package/server/applications/files/interfaces/file-db-props.interface.js.map +1 -1
- package/server/applications/files/interfaces/file-props.interface.js.map +1 -1
- package/server/applications/files/interfaces/only-office-config.interface.js.map +1 -1
- package/server/applications/files/services/files-content-manager.service.js +3 -3
- package/server/applications/files/services/files-content-manager.service.js.map +1 -1
- package/server/applications/files/services/files-lock-manager.service.js +61 -22
- package/server/applications/files/services/files-lock-manager.service.js.map +1 -1
- package/server/applications/files/services/files-manager.service.js +122 -24
- package/server/applications/files/services/files-manager.service.js.map +1 -1
- package/server/applications/files/services/files-manager.service.spec.js +15 -0
- package/server/applications/files/services/files-manager.service.spec.js.map +1 -1
- package/server/applications/files/services/files-methods.service.js +38 -8
- package/server/applications/files/services/files-methods.service.js.map +1 -1
- package/server/applications/files/services/files-only-office-manager.service.js +12 -12
- package/server/applications/files/services/files-only-office-manager.service.js.map +1 -1
- package/server/applications/files/services/files-parser.service.js +1 -1
- package/server/applications/files/services/files-parser.service.js.map +1 -1
- package/server/applications/files/services/files-queries.service.js +10 -0
- package/server/applications/files/services/files-queries.service.js.map +1 -1
- package/server/applications/files/utils/files.js +1 -1
- package/server/applications/files/utils/files.js.map +1 -1
- package/server/applications/files/utils/send-file.js +3 -2
- package/server/applications/files/utils/send-file.js.map +1 -1
- package/server/applications/links/services/links-queries.service.js +1 -1
- package/server/applications/links/services/links-queries.service.js.map +1 -1
- package/server/applications/notifications/constants/notifications.js +5 -1
- package/server/applications/notifications/constants/notifications.js.map +1 -1
- package/server/applications/notifications/i18n/de.js +8 -2
- package/server/applications/notifications/i18n/de.js.map +1 -1
- package/server/applications/notifications/i18n/es.js +8 -2
- package/server/applications/notifications/i18n/es.js.map +1 -1
- package/server/applications/notifications/i18n/fr.js +8 -2
- package/server/applications/notifications/i18n/fr.js.map +1 -1
- package/server/applications/notifications/i18n/hi.js +8 -2
- package/server/applications/notifications/i18n/hi.js.map +1 -1
- package/server/applications/notifications/i18n/it.js +8 -2
- package/server/applications/notifications/i18n/it.js.map +1 -1
- package/server/applications/notifications/i18n/ja.js +8 -2
- package/server/applications/notifications/i18n/ja.js.map +1 -1
- package/server/applications/notifications/i18n/ko.js +8 -2
- package/server/applications/notifications/i18n/ko.js.map +1 -1
- package/server/applications/notifications/i18n/pl.js +8 -2
- package/server/applications/notifications/i18n/pl.js.map +1 -1
- package/server/applications/notifications/i18n/pt.js +8 -2
- package/server/applications/notifications/i18n/pt.js.map +1 -1
- package/server/applications/notifications/i18n/pt_br.js +8 -2
- package/server/applications/notifications/i18n/pt_br.js.map +1 -1
- package/server/applications/notifications/i18n/ru.js +8 -2
- package/server/applications/notifications/i18n/ru.js.map +1 -1
- package/server/applications/notifications/i18n/tr.js +8 -2
- package/server/applications/notifications/i18n/tr.js.map +1 -1
- package/server/applications/notifications/i18n/zh.js +8 -2
- package/server/applications/notifications/i18n/zh.js.map +1 -1
- package/server/applications/notifications/interfaces/notification-properties.interface.js.map +1 -1
- package/server/applications/notifications/interfaces/user-mail-notification.interface.js +10 -0
- package/server/applications/notifications/interfaces/user-mail-notification.interface.js.map +1 -0
- package/server/applications/notifications/mails/models.js +38 -3
- package/server/applications/notifications/mails/models.js.map +1 -1
- package/server/applications/notifications/mails/templates.js +1 -1
- package/server/applications/notifications/mails/templates.js.map +1 -1
- package/server/applications/notifications/services/notifications-manager.service.js +8 -1
- package/server/applications/notifications/services/notifications-manager.service.js.map +1 -1
- package/server/applications/notifications/services/notifications-queries.service.js.map +1 -1
- package/server/applications/shares/services/shares-manager.service.js +17 -10
- package/server/applications/shares/services/shares-manager.service.js.map +1 -1
- package/server/applications/shares/services/shares-manager.service.spec.js +10 -3
- package/server/applications/shares/services/shares-manager.service.spec.js.map +1 -1
- package/server/applications/shares/services/shares-queries.service.js +11 -1
- package/server/applications/shares/services/shares-queries.service.js.map +1 -1
- package/server/applications/spaces/guards/space.guard.spec.js +2 -2
- package/server/applications/spaces/guards/space.guard.spec.js.map +1 -1
- package/server/applications/spaces/services/spaces-browser.service.js +31 -11
- package/server/applications/spaces/services/spaces-browser.service.js.map +1 -1
- package/server/applications/spaces/services/spaces-manager.service.js +2 -2
- package/server/applications/spaces/services/spaces-manager.service.js.map +1 -1
- package/server/applications/spaces/services/spaces-queries.service.js +6 -2
- package/server/applications/spaces/services/spaces-queries.service.js.map +1 -1
- package/server/applications/spaces/utils/permissions.js +2 -2
- package/server/applications/spaces/utils/permissions.js.map +1 -1
- package/server/applications/sync/services/sync-manager.service.js +1 -0
- package/server/applications/sync/services/sync-manager.service.js.map +1 -1
- package/server/applications/sync/services/sync-paths-manager.service.js +1 -1
- package/server/applications/sync/services/sync-paths-manager.service.js.map +1 -1
- package/server/applications/sync/services/sync-paths-manager.service.spec.js +1 -1
- package/server/applications/sync/services/sync-paths-manager.service.spec.js.map +1 -1
- package/server/applications/users/constants/user.js +1 -1
- package/server/applications/users/constants/user.js.map +1 -1
- package/server/applications/users/services/admin-users-queries.service.js +8 -0
- package/server/applications/users/services/admin-users-queries.service.js.map +1 -1
- package/server/applications/users/services/users-queries.service.js +67 -68
- package/server/applications/users/services/users-queries.service.js.map +1 -1
- package/server/applications/users/users.module.js +2 -1
- package/server/applications/users/users.module.js.map +1 -1
- package/server/applications/webdav/guards/webdav-protocol.guard.js +4 -4
- package/server/applications/webdav/guards/webdav-protocol.guard.js.map +1 -1
- package/server/applications/webdav/guards/webdav-protocol.guard.spec.js +6 -6
- package/server/applications/webdav/guards/webdav-protocol.guard.spec.js.map +1 -1
- package/server/applications/webdav/services/webdav-methods.service.js +3 -2
- package/server/applications/webdav/services/webdav-methods.service.js.map +1 -1
- package/server/applications/webdav/services/webdav-methods.service.spec.js +2 -2
- package/server/applications/webdav/services/webdav-methods.service.spec.js.map +1 -1
- package/server/authentication/constants/auth-ldap.js +2 -0
- package/server/authentication/constants/auth-ldap.js.map +1 -1
- package/server/authentication/services/auth-methods/auth-method-ldap.service.js +34 -21
- package/server/authentication/services/auth-methods/auth-method-ldap.service.js.map +1 -1
- package/server/common/functions.js +0 -8
- package/server/common/functions.js.map +1 -1
- package/server/common/image.js +1 -0
- package/server/common/image.js.map +1 -1
- package/server/common/shared.js +18 -1
- package/server/common/shared.js.map +1 -1
- package/server/infrastructure/context/services/context-manager.service.js +3 -0
- package/server/infrastructure/context/services/context-manager.service.js.map +1 -1
- package/server/infrastructure/websocket/adapters/cluster.adapter.js +4 -4
- package/server/infrastructure/websocket/adapters/cluster.adapter.js.map +1 -1
- package/static/3rdpartylicenses.txt +1393 -44
- package/static/assets/favicon.svg +2 -25
- package/static/assets/logo-dark.svg +2 -32
- package/static/assets/logo.svg +2 -32
- package/static/assets/mimes/application-sql.svg +29 -1
- package/static/assets/mimes/application-x-sql.svg +29 -0
- package/static/assets/mimes/image-bmp.svg +12 -0
- package/static/assets/pdfjs/build/pdf.mjs +4869 -4454
- package/static/assets/pdfjs/build/pdf.mjs.map +1 -1
- package/static/assets/pdfjs/build/pdf.sandbox.mjs +3 -3
- package/static/assets/pdfjs/build/pdf.sandbox.mjs.map +1 -1
- package/static/assets/pdfjs/build/pdf.worker.mjs +885 -596
- package/static/assets/pdfjs/build/pdf.worker.mjs.map +1 -1
- package/static/assets/pdfjs/version +1 -1
- package/static/assets/pdfjs/web/locale/be/viewer.ftl +40 -0
- package/static/assets/pdfjs/web/locale/bg/viewer.ftl +2 -0
- package/static/assets/pdfjs/web/locale/cs/viewer.ftl +41 -0
- package/static/assets/pdfjs/web/locale/cy/viewer.ftl +43 -0
- package/static/assets/pdfjs/web/locale/da/viewer.ftl +39 -0
- package/static/assets/pdfjs/web/locale/de/viewer.ftl +41 -0
- package/static/assets/pdfjs/web/locale/dsb/viewer.ftl +43 -0
- package/static/assets/pdfjs/web/locale/el/viewer.ftl +39 -0
- package/static/assets/pdfjs/web/locale/en-CA/viewer.ftl +35 -0
- package/static/assets/pdfjs/web/locale/en-GB/viewer.ftl +41 -0
- package/static/assets/pdfjs/web/locale/en-US/viewer.ftl +2 -2
- package/static/assets/pdfjs/web/locale/eo/viewer.ftl +39 -0
- package/static/assets/pdfjs/web/locale/es-AR/viewer.ftl +41 -0
- package/static/assets/pdfjs/web/locale/es-CL/viewer.ftl +39 -0
- package/static/assets/pdfjs/web/locale/es-ES/viewer.ftl +72 -0
- package/static/assets/pdfjs/web/locale/es-MX/viewer.ftl +120 -0
- package/static/assets/pdfjs/web/locale/eu/viewer.ftl +41 -0
- package/static/assets/pdfjs/web/locale/fi/viewer.ftl +41 -0
- package/static/assets/pdfjs/web/locale/fr/viewer.ftl +41 -0
- package/static/assets/pdfjs/web/locale/fur/viewer.ftl +77 -0
- package/static/assets/pdfjs/web/locale/fy-NL/viewer.ftl +41 -0
- package/static/assets/pdfjs/web/locale/gn/viewer.ftl +39 -0
- package/static/assets/pdfjs/web/locale/he/viewer.ftl +41 -0
- package/static/assets/pdfjs/web/locale/hsb/viewer.ftl +43 -0
- package/static/assets/pdfjs/web/locale/hu/viewer.ftl +41 -0
- package/static/assets/pdfjs/web/locale/hy-AM/viewer.ftl +1 -1
- package/static/assets/pdfjs/web/locale/ia/viewer.ftl +41 -0
- package/static/assets/pdfjs/web/locale/it/viewer.ftl +41 -0
- package/static/assets/pdfjs/web/locale/ja/viewer.ftl +32 -0
- package/static/assets/pdfjs/web/locale/ka/viewer.ftl +41 -0
- package/static/assets/pdfjs/web/locale/kab/viewer.ftl +73 -0
- package/static/assets/pdfjs/web/locale/kk/viewer.ftl +21 -0
- package/static/assets/pdfjs/web/locale/ko/viewer.ftl +38 -1
- package/static/assets/pdfjs/web/locale/nb-NO/viewer.ftl +39 -0
- package/static/assets/pdfjs/web/locale/nl/viewer.ftl +41 -0
- package/static/assets/pdfjs/web/locale/nn-NO/viewer.ftl +37 -0
- package/static/assets/pdfjs/web/locale/pa-IN/viewer.ftl +37 -0
- package/static/assets/pdfjs/web/locale/pl/viewer.ftl +39 -0
- package/static/assets/pdfjs/web/locale/pt-BR/viewer.ftl +39 -0
- package/static/assets/pdfjs/web/locale/rm/viewer.ftl +73 -0
- package/static/assets/pdfjs/web/locale/ro/viewer.ftl +41 -0
- package/static/assets/pdfjs/web/locale/ru/viewer.ftl +42 -0
- package/static/assets/pdfjs/web/locale/sc/viewer.ftl +6 -0
- package/static/assets/pdfjs/web/locale/sk/viewer.ftl +43 -0
- package/static/assets/pdfjs/web/locale/sl/viewer.ftl +42 -1
- package/static/assets/pdfjs/web/locale/sq/viewer.ftl +77 -0
- package/static/assets/pdfjs/web/locale/sv-SE/viewer.ftl +41 -0
- package/static/assets/pdfjs/web/locale/tg/viewer.ftl +39 -0
- package/static/assets/pdfjs/web/locale/th/viewer.ftl +35 -0
- package/static/assets/pdfjs/web/locale/tr/viewer.ftl +39 -0
- package/static/assets/pdfjs/web/locale/vi/viewer.ftl +42 -5
- package/static/assets/pdfjs/web/locale/zh-CN/viewer.ftl +35 -0
- package/static/assets/pdfjs/web/locale/zh-TW/viewer.ftl +37 -0
- package/static/assets/pdfjs/web/viewer.css +141 -110
- package/static/assets/pdfjs/web/viewer.html +7 -7
- package/static/assets/pdfjs/web/viewer.mjs +97 -14
- package/static/assets/pdfjs/web/viewer.mjs.map +1 -1
- package/static/chunk-22DWHRCL.js +1 -0
- package/static/chunk-23UUFZSR.js +1 -0
- package/static/{chunk-MTVSJTIW.js → chunk-24Q7OUU2.js} +1 -1
- package/static/chunk-25QTY2GI.js +1 -0
- package/static/chunk-2E7IJZLL.js +1 -0
- package/static/chunk-2FC5EKS5.js +1 -0
- package/static/chunk-2FOWUJQF.js +1 -0
- package/static/chunk-2XPHUNYN.js +1 -0
- package/static/chunk-32L7RG2G.js +1 -0
- package/static/chunk-3IISSX63.js +1 -0
- package/static/chunk-3OHSTP3R.js +1 -0
- package/static/chunk-42L6C5MT.js +1 -0
- package/static/chunk-4AGQL5GV.js +1 -0
- package/static/chunk-4BPSQMI2.js +1 -0
- package/static/chunk-4FDRWZWT.js +1 -0
- package/static/chunk-4FJUCMEG.js +1 -0
- package/static/chunk-4GCCF6PF.js +1 -0
- package/static/chunk-4ORP3SBY.js +1 -0
- package/static/chunk-4QBOHIC3.js +1 -0
- package/static/chunk-4YT6K5KY.js +1 -0
- package/static/chunk-556I6YIW.js +1 -0
- package/static/chunk-5DPIGJU4.js +1 -0
- package/static/chunk-5HNQLBSW.js +3 -0
- package/static/chunk-5IL7C45D.js +1 -0
- package/static/chunk-5KJXGMKR.js +1 -0
- package/static/chunk-5SPGSHKL.js +1 -0
- package/static/chunk-5WCQBTXW.js +1 -0
- package/static/chunk-5XUIPWOH.js +1 -0
- package/static/chunk-62WT7PI3.js +1 -0
- package/static/chunk-6F6OMQ5H.js +1 -0
- package/static/chunk-6I5BGQHT.js +1 -0
- package/static/chunk-6NOS45DG.js +1 -0
- package/static/chunk-6OKLPRCD.js +1 -0
- package/static/chunk-6VEJCG43.js +1 -0
- package/static/chunk-77SS36Z2.js +1 -0
- package/static/chunk-7AXEPO3G.js +1 -0
- package/static/chunk-7CFSJ4BO.js +1 -0
- package/static/chunk-7CKHC72R.js +1 -0
- package/static/chunk-7DUTYOJG.js +1 -0
- package/static/chunk-7HKFYRPF.js +1 -0
- package/static/chunk-7NZJZATZ.js +1 -0
- package/static/chunk-AADK5D2H.js +1 -0
- package/static/chunk-ACUF7IKP.js +1 -0
- package/static/chunk-AGREZPV4.js +1 -0
- package/static/chunk-ATBJWFA3.js +1 -0
- package/static/chunk-ATXLZN2B.js +1 -0
- package/static/chunk-AZ5TF5Y3.js +1 -0
- package/static/chunk-BBHYIURC.js +1 -0
- package/static/chunk-BHZEPHRI.js +13 -0
- package/static/chunk-BQZWSZNN.js +1 -0
- package/static/chunk-BSB4VROD.js +2 -0
- package/static/chunk-BYWSTP3P.js +1 -0
- package/static/chunk-C3AAEQKW.js +1 -0
- package/static/chunk-CCGGCHGN.js +1 -0
- package/static/chunk-CFTKW432.js +1 -0
- package/static/chunk-CNOVT6KU.js +1 -0
- package/static/chunk-D56H3XE2.js +1 -0
- package/static/chunk-DFOOSIIA.js +1 -0
- package/static/chunk-DHFQIFOF.js +1 -0
- package/static/{chunk-3GMLWAFZ.js → chunk-DIC2MVRI.js} +1 -1
- package/static/chunk-DJDRX53V.js +2 -0
- package/static/chunk-DKGXUMLT.js +1 -0
- package/static/chunk-DRHPEERW.js +2 -0
- package/static/chunk-DWYP6ZGG.js +1 -0
- package/static/chunk-EDJAISWO.js +13 -0
- package/static/chunk-EIYRBM4J.js +1 -0
- package/static/chunk-EKEGRXCV.js +7 -0
- package/static/chunk-EL6QL4TP.js +1 -0
- package/static/chunk-ERDZ7IVF.js +1 -0
- package/static/chunk-EVQKKVUZ.js +1 -0
- package/static/chunk-F2XG7EWI.js +1 -0
- package/static/chunk-F672FY5I.js +1 -0
- package/static/chunk-F6V37MKG.js +1 -0
- package/static/chunk-F7TXTNZC.js +1 -0
- package/static/chunk-FCGTI42I.js +1 -0
- package/static/chunk-FQHOSSCO.js +1 -0
- package/static/chunk-FTSIPHMG.js +1 -0
- package/static/chunk-GAGHHYLF.js +1 -0
- package/static/{chunk-JPT5WEAT.js → chunk-GOJYWL2M.js} +1 -1
- package/static/chunk-H6WOTGQ5.js +1 -0
- package/static/{chunk-CHJ64RJM.js → chunk-H6ZXFINQ.js} +1 -1
- package/static/chunk-HC7F57NA.js +1 -0
- package/static/chunk-HHWXIK2M.js +7 -0
- package/static/chunk-HKRGIRKB.js +3 -0
- package/static/chunk-HNMGPG72.js +1 -0
- package/static/chunk-HS4S6BV3.js +1 -0
- package/static/chunk-IJ7K7ATQ.js +1 -0
- package/static/chunk-IOIBQGHN.js +562 -0
- package/static/chunk-ITVA26X2.js +2 -0
- package/static/chunk-J6YSFHLZ.js +1 -0
- package/static/chunk-JAEJ6IMV.js +1 -0
- package/static/chunk-JB5R6V33.js +1 -0
- package/static/chunk-JF6WIV6M.js +1 -0
- package/static/chunk-JGB4LLUT.js +1 -0
- package/static/chunk-JGXVTKLG.js +1 -0
- package/static/chunk-JMYAD7E2.js +1 -0
- package/static/chunk-JSE63Q5X.js +1 -0
- package/static/chunk-JVV3ZL6L.js +1 -0
- package/static/chunk-JXZCNFW7.js +1 -0
- package/static/chunk-KAVP6UXH.js +1 -0
- package/static/{chunk-3R74L4UU.js → chunk-KDEEERWZ.js} +1 -1
- package/static/chunk-KHRF67SG.js +1 -0
- package/static/chunk-KLOUBIO4.js +1 -0
- package/static/chunk-KMF3ZRAO.js +1 -0
- package/static/chunk-KNZ3AQPR.js +1 -0
- package/static/chunk-KT3TWCST.js +1 -0
- package/static/chunk-L6SYG23T.js +1 -0
- package/static/chunk-LJSVNPPQ.js +1 -0
- package/static/{chunk-LNTUR3GU.js → chunk-LRDKG274.js} +1 -1
- package/static/chunk-LRQSPCYZ.js +1 -0
- package/static/chunk-LUSVISM6.js +1 -0
- package/static/chunk-LXQGVNU2.js +1 -0
- package/static/{chunk-LVSNIS5P.js → chunk-LYZGJZNP.js} +1 -1
- package/static/chunk-LZKI5P5T.js +1 -0
- package/static/chunk-M4XL3JN5.js +6 -0
- package/static/{chunk-UNCPXHHT.js → chunk-MGWG7OD7.js} +1 -1
- package/static/chunk-MKUUWY6Y.js +1 -0
- package/static/{chunk-VJTXJ43D.js → chunk-MNNCSSHN.js} +1 -1
- package/static/chunk-MR3U7TKQ.js +1 -0
- package/static/chunk-MRF3CNLZ.js +1 -0
- package/static/chunk-MRMSMTWD.js +1 -0
- package/static/chunk-MVZJSG5R.js +1 -0
- package/static/chunk-MYM43ENO.js +1 -0
- package/static/chunk-N3P6P6GW.js +7 -0
- package/static/chunk-NAH4V2R6.js +2 -0
- package/static/chunk-NBBDVVUF.js +1 -0
- package/static/chunk-NMF2ZFBE.js +1 -0
- package/static/chunk-NN4ONTOT.js +1 -0
- package/static/chunk-NOPACN4F.js +1 -0
- package/static/chunk-NYJPOP4L.js +1 -0
- package/static/chunk-OJCAIKUK.js +1 -0
- package/static/chunk-OQRWXCLY.js +1 -0
- package/static/chunk-PCFH5HCI.js +2 -0
- package/static/chunk-PG54TWBO.js +4 -0
- package/static/chunk-PJF5XUTO.js +1 -0
- package/static/{chunk-FJE6BOFL.js → chunk-PSUAQBYM.js} +1 -1
- package/static/chunk-PTLYIUFW.js +1 -0
- package/static/chunk-PZGLDZZM.js +1 -0
- package/static/chunk-Q4VNZGFI.js +1 -0
- package/static/chunk-Q556XB3S.js +1 -0
- package/static/{chunk-PB4AIT7O.js → chunk-Q7IXRPOO.js} +1 -1
- package/static/chunk-Q7U2VPIS.js +1 -0
- package/static/chunk-QM6CQMEX.js +1 -0
- package/static/chunk-QMHUIHSR.js +1 -0
- package/static/chunk-QNFNXDSX.js +1 -0
- package/static/chunk-QVFPHTOH.js +1 -0
- package/static/chunk-R4MI25E2.js +1 -0
- package/static/chunk-R7JRAR3P.js +1 -0
- package/static/chunk-R7PNKQU2.js +1 -0
- package/static/chunk-RCAORRB7.js +1 -0
- package/static/chunk-RK7XRDNB.js +1 -0
- package/static/chunk-RO7SAOLK.js +1 -0
- package/static/chunk-RQUUINHV.js +1 -0
- package/static/chunk-RT3K6DZR.js +1 -0
- package/static/chunk-RUN556VW.js +1 -0
- package/static/chunk-RX3YQ67K.js +1 -0
- package/static/chunk-S6EVLDHA.js +5 -0
- package/static/chunk-S7S5M3AZ.js +1 -0
- package/static/chunk-SBLNYV74.js +1 -0
- package/static/chunk-SIZCHHUA.js +1 -0
- package/static/chunk-SRBOO7AO.js +1 -0
- package/static/{chunk-PVDHBQRM.js → chunk-STA7NTYL.js} +1 -1
- package/static/chunk-T3YI3BSS.js +1 -0
- package/static/chunk-T74SMT7I.js +1 -0
- package/static/chunk-TAL3RTTQ.js +1 -0
- package/static/chunk-TJZKTNNS.js +1 -0
- package/static/chunk-UJTFWZEC.js +1 -0
- package/static/chunk-UPGVU5LG.js +1 -0
- package/static/chunk-UQ6O3I6W.js +1 -0
- package/static/{chunk-5NMSIIQB.js → chunk-V43RGNXA.js} +1 -1
- package/static/chunk-VWIRXLNE.js +1 -0
- package/static/chunk-VZMVGIVW.js +1 -0
- package/static/chunk-VZPCXSRG.js +2 -0
- package/static/chunk-WR3MA3L3.js +1 -0
- package/static/chunk-XCLK7NJL.js +1 -0
- package/static/{chunk-DSWEWLXJ.js → chunk-XCPDPB5G.js} +1 -1
- package/static/chunk-XEGHEUP5.js +1 -0
- package/static/chunk-XKEBQNQJ.js +1 -0
- package/static/chunk-XOF4UW3S.js +1 -0
- package/static/chunk-XOTKK2NJ.js +1 -0
- package/static/chunk-XX7JXKA6.js +1 -0
- package/static/chunk-Y2I36A4K.js +1 -0
- package/static/chunk-Y44XDRM5.js +1 -0
- package/static/{chunk-QO6BTONN.js → chunk-Y4MAPE2C.js} +1 -1
- package/static/chunk-Y5RLD72B.js +1 -0
- package/static/{chunk-DPUVSXRB.js → chunk-Y5XTRCFK.js} +1 -1
- package/static/chunk-Y63UUJGJ.js +1 -0
- package/static/chunk-YBNAC7QM.js +1 -0
- package/static/chunk-YCTCESL4.js +1 -0
- package/static/chunk-YMAN4LIU.js +1 -0
- package/static/chunk-YTDE6SXT.js +1 -0
- package/static/chunk-YZPIUJB3.js +1 -0
- package/static/chunk-ZCOWBVOT.js +1 -0
- package/static/chunk-ZHRYYMYE.js +1 -0
- package/static/chunk-ZNXTOQFG.js +1 -0
- package/static/{chunk-URHTCJ7G.js → chunk-ZQLBPLXI.js} +1 -1
- package/static/favicon.ico +0 -0
- package/static/index.html +2 -2
- package/static/main-3PLRDZTO.js +11 -0
- package/static/styles-Q4OZOSSK.css +1 -0
- package/server/applications/notifications/interfaces/user-mail-notification.js.map +0 -1
- package/static/assets/codemirror/mode/apl/apl.js +0 -174
- package/static/assets/codemirror/mode/asciiarmor/asciiarmor.js +0 -74
- package/static/assets/codemirror/mode/asn.1/asn.1.js +0 -204
- package/static/assets/codemirror/mode/asterisk/asterisk.js +0 -220
- package/static/assets/codemirror/mode/brainfuck/brainfuck.js +0 -85
- package/static/assets/codemirror/mode/clike/clike.js +0 -942
- package/static/assets/codemirror/mode/clojure/clojure.js +0 -293
- package/static/assets/codemirror/mode/cmake/cmake.js +0 -97
- package/static/assets/codemirror/mode/cobol/cobol.js +0 -255
- package/static/assets/codemirror/mode/coffeescript/coffeescript.js +0 -359
- package/static/assets/codemirror/mode/commonlisp/commonlisp.js +0 -125
- package/static/assets/codemirror/mode/crystal/crystal.js +0 -433
- package/static/assets/codemirror/mode/css/css.js +0 -862
- package/static/assets/codemirror/mode/cypher/cypher.js +0 -152
- package/static/assets/codemirror/mode/d/d.js +0 -223
- package/static/assets/codemirror/mode/dart/dart.js +0 -168
- package/static/assets/codemirror/mode/diff/diff.js +0 -47
- package/static/assets/codemirror/mode/django/django.js +0 -356
- package/static/assets/codemirror/mode/dockerfile/dockerfile.js +0 -211
- package/static/assets/codemirror/mode/dtd/dtd.js +0 -142
- package/static/assets/codemirror/mode/dylan/dylan.js +0 -352
- package/static/assets/codemirror/mode/ebnf/ebnf.js +0 -195
- package/static/assets/codemirror/mode/ecl/ecl.js +0 -206
- package/static/assets/codemirror/mode/eiffel/eiffel.js +0 -160
- package/static/assets/codemirror/mode/elm/elm.js +0 -245
- package/static/assets/codemirror/mode/erlang/erlang.js +0 -619
- package/static/assets/codemirror/mode/factor/factor.js +0 -85
- package/static/assets/codemirror/mode/fcl/fcl.js +0 -173
- package/static/assets/codemirror/mode/forth/forth.js +0 -180
- package/static/assets/codemirror/mode/fortran/fortran.js +0 -188
- package/static/assets/codemirror/mode/gas/gas.js +0 -355
- package/static/assets/codemirror/mode/gfm/gfm.js +0 -129
- package/static/assets/codemirror/mode/gherkin/gherkin.js +0 -194
- package/static/assets/codemirror/mode/go/go.js +0 -187
- package/static/assets/codemirror/mode/groovy/groovy.js +0 -245
- package/static/assets/codemirror/mode/haml/haml.js +0 -161
- package/static/assets/codemirror/mode/handlebars/handlebars.js +0 -70
- package/static/assets/codemirror/mode/haskell/haskell.js +0 -268
- package/static/assets/codemirror/mode/haskell-literate/haskell-literate.js +0 -43
- package/static/assets/codemirror/mode/haxe/haxe.js +0 -515
- package/static/assets/codemirror/mode/htmlembedded/htmlembedded.js +0 -37
- package/static/assets/codemirror/mode/htmlmixed/htmlmixed.js +0 -153
- package/static/assets/codemirror/mode/http/http.js +0 -113
- package/static/assets/codemirror/mode/idl/idl.js +0 -290
- package/static/assets/codemirror/mode/javascript/javascript.js +0 -960
- package/static/assets/codemirror/mode/jinja2/jinja2.js +0 -193
- package/static/assets/codemirror/mode/jsx/jsx.js +0 -149
- package/static/assets/codemirror/mode/julia/julia.js +0 -390
- package/static/assets/codemirror/mode/livescript/livescript.js +0 -280
- package/static/assets/codemirror/mode/lua/lua.js +0 -160
- package/static/assets/codemirror/mode/markdown/markdown.js +0 -886
- package/static/assets/codemirror/mode/mathematica/mathematica.js +0 -176
- package/static/assets/codemirror/mode/mbox/mbox.js +0 -129
- package/static/assets/codemirror/mode/meta.js +0 -221
- package/static/assets/codemirror/mode/mirc/mirc.js +0 -193
- package/static/assets/codemirror/mode/mllike/mllike.js +0 -359
- package/static/assets/codemirror/mode/modelica/modelica.js +0 -245
- package/static/assets/codemirror/mode/mscgen/mscgen.js +0 -175
- package/static/assets/codemirror/mode/mumps/mumps.js +0 -148
- package/static/assets/codemirror/mode/nginx/nginx.js +0 -178
- package/static/assets/codemirror/mode/nsis/nsis.js +0 -95
- package/static/assets/codemirror/mode/ntriples/ntriples.js +0 -195
- package/static/assets/codemirror/mode/octave/octave.js +0 -139
- package/static/assets/codemirror/mode/oz/oz.js +0 -252
- package/static/assets/codemirror/mode/pascal/pascal.js +0 -136
- package/static/assets/codemirror/mode/pegjs/pegjs.js +0 -111
- package/static/assets/codemirror/mode/perl/perl.js +0 -836
- package/static/assets/codemirror/mode/php/php.js +0 -234
- package/static/assets/codemirror/mode/pig/pig.js +0 -178
- package/static/assets/codemirror/mode/powershell/powershell.js +0 -398
- package/static/assets/codemirror/mode/properties/properties.js +0 -78
- package/static/assets/codemirror/mode/protobuf/protobuf.js +0 -72
- package/static/assets/codemirror/mode/pug/pug.js +0 -591
- package/static/assets/codemirror/mode/puppet/puppet.js +0 -220
- package/static/assets/codemirror/mode/python/python.js +0 -402
- package/static/assets/codemirror/mode/q/q.js +0 -139
- package/static/assets/codemirror/mode/r/r.js +0 -190
- package/static/assets/codemirror/mode/rpm/changes/index.html +0 -66
- package/static/assets/codemirror/mode/rpm/rpm.js +0 -109
- package/static/assets/codemirror/mode/rst/rst.js +0 -557
- package/static/assets/codemirror/mode/ruby/ruby.js +0 -303
- package/static/assets/codemirror/mode/rust/rust.js +0 -72
- package/static/assets/codemirror/mode/sas/sas.js +0 -303
- package/static/assets/codemirror/mode/sass/sass.js +0 -459
- package/static/assets/codemirror/mode/scheme/scheme.js +0 -284
- package/static/assets/codemirror/mode/shell/shell.js +0 -168
- package/static/assets/codemirror/mode/sieve/sieve.js +0 -193
- package/static/assets/codemirror/mode/slim/slim.js +0 -575
- package/static/assets/codemirror/mode/smalltalk/smalltalk.js +0 -168
- package/static/assets/codemirror/mode/smarty/smarty.js +0 -225
- package/static/assets/codemirror/mode/solr/solr.js +0 -104
- package/static/assets/codemirror/mode/soy/soy.js +0 -665
- package/static/assets/codemirror/mode/sparql/sparql.js +0 -184
- package/static/assets/codemirror/mode/spreadsheet/spreadsheet.js +0 -112
- package/static/assets/codemirror/mode/sql/sql.js +0 -529
- package/static/assets/codemirror/mode/stex/stex.js +0 -264
- package/static/assets/codemirror/mode/stylus/stylus.js +0 -775
- package/static/assets/codemirror/mode/swift/swift.js +0 -221
- package/static/assets/codemirror/mode/tcl/tcl.js +0 -140
- package/static/assets/codemirror/mode/textile/textile.js +0 -469
- package/static/assets/codemirror/mode/tiddlywiki/tiddlywiki.css +0 -14
- package/static/assets/codemirror/mode/tiddlywiki/tiddlywiki.js +0 -308
- package/static/assets/codemirror/mode/tiki/tiki.css +0 -26
- package/static/assets/codemirror/mode/tiki/tiki.js +0 -312
- package/static/assets/codemirror/mode/toml/toml.js +0 -88
- package/static/assets/codemirror/mode/tornado/tornado.js +0 -68
- package/static/assets/codemirror/mode/troff/troff.js +0 -84
- package/static/assets/codemirror/mode/ttcn/ttcn.js +0 -283
- package/static/assets/codemirror/mode/ttcn-cfg/ttcn-cfg.js +0 -214
- package/static/assets/codemirror/mode/turtle/turtle.js +0 -162
- package/static/assets/codemirror/mode/twig/twig.js +0 -141
- package/static/assets/codemirror/mode/vb/vb.js +0 -275
- package/static/assets/codemirror/mode/vbscript/vbscript.js +0 -350
- package/static/assets/codemirror/mode/velocity/velocity.js +0 -202
- package/static/assets/codemirror/mode/verilog/verilog.js +0 -781
- package/static/assets/codemirror/mode/vhdl/vhdl.js +0 -189
- package/static/assets/codemirror/mode/vue/vue.js +0 -77
- package/static/assets/codemirror/mode/wast/wast.js +0 -132
- package/static/assets/codemirror/mode/webidl/webidl.js +0 -195
- package/static/assets/codemirror/mode/xml/xml.js +0 -417
- package/static/assets/codemirror/mode/xquery/xquery.js +0 -448
- package/static/assets/codemirror/mode/yacas/yacas.js +0 -204
- package/static/assets/codemirror/mode/yaml/yaml.js +0 -120
- package/static/assets/codemirror/mode/yaml-frontmatter/yaml-frontmatter.js +0 -72
- package/static/assets/codemirror/mode/z80/z80.js +0 -116
- package/static/chunk-2KLC4T2Z.js +0 -1
- package/static/chunk-2VMSXRCB.js +0 -12
- package/static/chunk-3OHSRRKH.js +0 -4
- package/static/chunk-3R4WKOHQ.js +0 -1
- package/static/chunk-3XVM35O2.js +0 -1
- package/static/chunk-3YVRP3VM.js +0 -2
- package/static/chunk-5UKZLU5H.js +0 -1
- package/static/chunk-AF24EYXU.js +0 -1
- package/static/chunk-AKQVEHO6.js +0 -2
- package/static/chunk-BCVX464U.js +0 -2
- package/static/chunk-BQV4FRM6.js +0 -1
- package/static/chunk-CETH7UYS.js +0 -1
- package/static/chunk-DIT6W7VM.js +0 -562
- package/static/chunk-DKSEQTMX.js +0 -1
- package/static/chunk-FZ3JPGYZ.js +0 -1
- package/static/chunk-IQSKQXC3.js +0 -1
- package/static/chunk-ITUFI2BJ.js +0 -1
- package/static/chunk-LCTZJ537.js +0 -1
- package/static/chunk-LK2UCQJ6.js +0 -1
- package/static/chunk-LP5TBXEN.js +0 -7
- package/static/chunk-N3U6637P.js +0 -1
- package/static/chunk-NNV4OXSB.js +0 -1
- package/static/chunk-O6FYXVHI.js +0 -1
- package/static/chunk-OOGP4WSH.js +0 -2
- package/static/chunk-PCWDQPOM.js +0 -2
- package/static/chunk-PNR6M34W.js +0 -1
- package/static/chunk-Q5KM7LTX.js +0 -1
- package/static/chunk-QHC6ZPQ4.js +0 -1
- package/static/chunk-QMRBZHE4.js +0 -1
- package/static/chunk-QSJRY3TF.js +0 -1
- package/static/chunk-QUUIRSYT.js +0 -1
- package/static/chunk-RFH46UW3.js +0 -1
- package/static/chunk-RSXHRKM5.js +0 -1
- package/static/chunk-RV3VZJPZ.js +0 -1
- package/static/chunk-S7HNXVRB.js +0 -1
- package/static/chunk-SBZ572Q4.js +0 -2
- package/static/chunk-SJR5R3Y4.js +0 -1
- package/static/chunk-SLHTEGRU.js +0 -1
- package/static/chunk-SSFF27P2.js +0 -24
- package/static/chunk-V3LHHZYN.js +0 -1
- package/static/chunk-VQQKMY2C.js +0 -1
- package/static/chunk-WSSU2HXE.js +0 -1
- package/static/chunk-XDZGW64M.js +0 -3
- package/static/chunk-XTRDKGKG.js +0 -1
- package/static/chunk-YLWTEC3X.js +0 -1
- package/static/chunk-Z5J5F5SX.js +0 -1
- package/static/main-4H5BJY3J.js +0 -9
- package/static/scripts-WRDOQIU5.js +0 -24
- package/static/styles-2C2UNCNB.css +0 -1
|
@@ -1,293 +0,0 @@
|
|
|
1
|
-
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
2
|
-
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
|
|
3
|
-
|
|
4
|
-
(function(mod) {
|
|
5
|
-
if (typeof exports === "object" && typeof module === "object") // CommonJS
|
|
6
|
-
mod(require("../../lib/codemirror"));
|
|
7
|
-
else if (typeof define === "function" && define.amd) // AMD
|
|
8
|
-
define(["../../lib/codemirror"], mod);
|
|
9
|
-
else // Plain browser env
|
|
10
|
-
mod(CodeMirror);
|
|
11
|
-
})(function(CodeMirror) {
|
|
12
|
-
"use strict";
|
|
13
|
-
|
|
14
|
-
CodeMirror.defineMode("clojure", function (options) {
|
|
15
|
-
var atoms = ["false", "nil", "true"];
|
|
16
|
-
var specialForms = [".", "catch", "def", "do", "if", "monitor-enter",
|
|
17
|
-
"monitor-exit", "new", "quote", "recur", "set!", "throw", "try", "var"];
|
|
18
|
-
var coreSymbols = ["*", "*'", "*1", "*2", "*3", "*agent*",
|
|
19
|
-
"*allow-unresolved-vars*", "*assert*", "*clojure-version*",
|
|
20
|
-
"*command-line-args*", "*compile-files*", "*compile-path*",
|
|
21
|
-
"*compiler-options*", "*data-readers*", "*default-data-reader-fn*", "*e",
|
|
22
|
-
"*err*", "*file*", "*flush-on-newline*", "*fn-loader*", "*in*",
|
|
23
|
-
"*math-context*", "*ns*", "*out*", "*print-dup*", "*print-length*",
|
|
24
|
-
"*print-level*", "*print-meta*", "*print-namespace-maps*",
|
|
25
|
-
"*print-readably*", "*read-eval*", "*reader-resolver*", "*source-path*",
|
|
26
|
-
"*suppress-read*", "*unchecked-math*", "*use-context-classloader*",
|
|
27
|
-
"*verbose-defrecords*", "*warn-on-reflection*", "+", "+'", "-", "-'",
|
|
28
|
-
"->", "->>", "->ArrayChunk", "->Eduction", "->Vec", "->VecNode",
|
|
29
|
-
"->VecSeq", "-cache-protocol-fn", "-reset-methods", "..", "/", "<", "<=",
|
|
30
|
-
"=", "==", ">", ">=", "EMPTY-NODE", "Inst", "StackTraceElement->vec",
|
|
31
|
-
"Throwable->map", "accessor", "aclone", "add-classpath", "add-watch",
|
|
32
|
-
"agent", "agent-error", "agent-errors", "aget", "alength", "alias",
|
|
33
|
-
"all-ns", "alter", "alter-meta!", "alter-var-root", "amap", "ancestors",
|
|
34
|
-
"and", "any?", "apply", "areduce", "array-map", "as->", "aset",
|
|
35
|
-
"aset-boolean", "aset-byte", "aset-char", "aset-double", "aset-float",
|
|
36
|
-
"aset-int", "aset-long", "aset-short", "assert", "assoc", "assoc!",
|
|
37
|
-
"assoc-in", "associative?", "atom", "await", "await-for", "await1",
|
|
38
|
-
"bases", "bean", "bigdec", "bigint", "biginteger", "binding", "bit-and",
|
|
39
|
-
"bit-and-not", "bit-clear", "bit-flip", "bit-not", "bit-or", "bit-set",
|
|
40
|
-
"bit-shift-left", "bit-shift-right", "bit-test", "bit-xor", "boolean",
|
|
41
|
-
"boolean-array", "boolean?", "booleans", "bound-fn", "bound-fn*",
|
|
42
|
-
"bound?", "bounded-count", "butlast", "byte", "byte-array", "bytes",
|
|
43
|
-
"bytes?", "case", "cast", "cat", "char", "char-array",
|
|
44
|
-
"char-escape-string", "char-name-string", "char?", "chars", "chunk",
|
|
45
|
-
"chunk-append", "chunk-buffer", "chunk-cons", "chunk-first", "chunk-next",
|
|
46
|
-
"chunk-rest", "chunked-seq?", "class", "class?", "clear-agent-errors",
|
|
47
|
-
"clojure-version", "coll?", "comment", "commute", "comp", "comparator",
|
|
48
|
-
"compare", "compare-and-set!", "compile", "complement", "completing",
|
|
49
|
-
"concat", "cond", "cond->", "cond->>", "condp", "conj", "conj!", "cons",
|
|
50
|
-
"constantly", "construct-proxy", "contains?", "count", "counted?",
|
|
51
|
-
"create-ns", "create-struct", "cycle", "dec", "dec'", "decimal?",
|
|
52
|
-
"declare", "dedupe", "default-data-readers", "definline", "definterface",
|
|
53
|
-
"defmacro", "defmethod", "defmulti", "defn", "defn-", "defonce",
|
|
54
|
-
"defprotocol", "defrecord", "defstruct", "deftype", "delay", "delay?",
|
|
55
|
-
"deliver", "denominator", "deref", "derive", "descendants", "destructure",
|
|
56
|
-
"disj", "disj!", "dissoc", "dissoc!", "distinct", "distinct?", "doall",
|
|
57
|
-
"dorun", "doseq", "dosync", "dotimes", "doto", "double", "double-array",
|
|
58
|
-
"double?", "doubles", "drop", "drop-last", "drop-while", "eduction",
|
|
59
|
-
"empty", "empty?", "ensure", "ensure-reduced", "enumeration-seq",
|
|
60
|
-
"error-handler", "error-mode", "eval", "even?", "every-pred", "every?",
|
|
61
|
-
"ex-data", "ex-info", "extend", "extend-protocol", "extend-type",
|
|
62
|
-
"extenders", "extends?", "false?", "ffirst", "file-seq", "filter",
|
|
63
|
-
"filterv", "find", "find-keyword", "find-ns", "find-protocol-impl",
|
|
64
|
-
"find-protocol-method", "find-var", "first", "flatten", "float",
|
|
65
|
-
"float-array", "float?", "floats", "flush", "fn", "fn?", "fnext", "fnil",
|
|
66
|
-
"for", "force", "format", "frequencies", "future", "future-call",
|
|
67
|
-
"future-cancel", "future-cancelled?", "future-done?", "future?",
|
|
68
|
-
"gen-class", "gen-interface", "gensym", "get", "get-in", "get-method",
|
|
69
|
-
"get-proxy-class", "get-thread-bindings", "get-validator", "group-by",
|
|
70
|
-
"halt-when", "hash", "hash-combine", "hash-map", "hash-ordered-coll",
|
|
71
|
-
"hash-set", "hash-unordered-coll", "ident?", "identical?", "identity",
|
|
72
|
-
"if-let", "if-not", "if-some", "ifn?", "import", "in-ns", "inc", "inc'",
|
|
73
|
-
"indexed?", "init-proxy", "inst-ms", "inst-ms*", "inst?", "instance?",
|
|
74
|
-
"int", "int-array", "int?", "integer?", "interleave", "intern",
|
|
75
|
-
"interpose", "into", "into-array", "ints", "io!", "isa?", "iterate",
|
|
76
|
-
"iterator-seq", "juxt", "keep", "keep-indexed", "key", "keys", "keyword",
|
|
77
|
-
"keyword?", "last", "lazy-cat", "lazy-seq", "let", "letfn", "line-seq",
|
|
78
|
-
"list", "list*", "list?", "load", "load-file", "load-reader",
|
|
79
|
-
"load-string", "loaded-libs", "locking", "long", "long-array", "longs",
|
|
80
|
-
"loop", "macroexpand", "macroexpand-1", "make-array", "make-hierarchy",
|
|
81
|
-
"map", "map-entry?", "map-indexed", "map?", "mapcat", "mapv", "max",
|
|
82
|
-
"max-key", "memfn", "memoize", "merge", "merge-with", "meta",
|
|
83
|
-
"method-sig", "methods", "min", "min-key", "mix-collection-hash", "mod",
|
|
84
|
-
"munge", "name", "namespace", "namespace-munge", "nat-int?", "neg-int?",
|
|
85
|
-
"neg?", "newline", "next", "nfirst", "nil?", "nnext", "not", "not-any?",
|
|
86
|
-
"not-empty", "not-every?", "not=", "ns", "ns-aliases", "ns-imports",
|
|
87
|
-
"ns-interns", "ns-map", "ns-name", "ns-publics", "ns-refers",
|
|
88
|
-
"ns-resolve", "ns-unalias", "ns-unmap", "nth", "nthnext", "nthrest",
|
|
89
|
-
"num", "number?", "numerator", "object-array", "odd?", "or", "parents",
|
|
90
|
-
"partial", "partition", "partition-all", "partition-by", "pcalls", "peek",
|
|
91
|
-
"persistent!", "pmap", "pop", "pop!", "pop-thread-bindings", "pos-int?",
|
|
92
|
-
"pos?", "pr", "pr-str", "prefer-method", "prefers",
|
|
93
|
-
"primitives-classnames", "print", "print-ctor", "print-dup",
|
|
94
|
-
"print-method", "print-simple", "print-str", "printf", "println",
|
|
95
|
-
"println-str", "prn", "prn-str", "promise", "proxy",
|
|
96
|
-
"proxy-call-with-super", "proxy-mappings", "proxy-name", "proxy-super",
|
|
97
|
-
"push-thread-bindings", "pvalues", "qualified-ident?",
|
|
98
|
-
"qualified-keyword?", "qualified-symbol?", "quot", "rand", "rand-int",
|
|
99
|
-
"rand-nth", "random-sample", "range", "ratio?", "rational?",
|
|
100
|
-
"rationalize", "re-find", "re-groups", "re-matcher", "re-matches",
|
|
101
|
-
"re-pattern", "re-seq", "read", "read-line", "read-string",
|
|
102
|
-
"reader-conditional", "reader-conditional?", "realized?", "record?",
|
|
103
|
-
"reduce", "reduce-kv", "reduced", "reduced?", "reductions", "ref",
|
|
104
|
-
"ref-history-count", "ref-max-history", "ref-min-history", "ref-set",
|
|
105
|
-
"refer", "refer-clojure", "reify", "release-pending-sends", "rem",
|
|
106
|
-
"remove", "remove-all-methods", "remove-method", "remove-ns",
|
|
107
|
-
"remove-watch", "repeat", "repeatedly", "replace", "replicate", "require",
|
|
108
|
-
"reset!", "reset-meta!", "reset-vals!", "resolve", "rest",
|
|
109
|
-
"restart-agent", "resultset-seq", "reverse", "reversible?", "rseq",
|
|
110
|
-
"rsubseq", "run!", "satisfies?", "second", "select-keys", "send",
|
|
111
|
-
"send-off", "send-via", "seq", "seq?", "seqable?", "seque", "sequence",
|
|
112
|
-
"sequential?", "set", "set-agent-send-executor!",
|
|
113
|
-
"set-agent-send-off-executor!", "set-error-handler!", "set-error-mode!",
|
|
114
|
-
"set-validator!", "set?", "short", "short-array", "shorts", "shuffle",
|
|
115
|
-
"shutdown-agents", "simple-ident?", "simple-keyword?", "simple-symbol?",
|
|
116
|
-
"slurp", "some", "some->", "some->>", "some-fn", "some?", "sort",
|
|
117
|
-
"sort-by", "sorted-map", "sorted-map-by", "sorted-set", "sorted-set-by",
|
|
118
|
-
"sorted?", "special-symbol?", "spit", "split-at", "split-with", "str",
|
|
119
|
-
"string?", "struct", "struct-map", "subs", "subseq", "subvec", "supers",
|
|
120
|
-
"swap!", "swap-vals!", "symbol", "symbol?", "sync", "tagged-literal",
|
|
121
|
-
"tagged-literal?", "take", "take-last", "take-nth", "take-while", "test",
|
|
122
|
-
"the-ns", "thread-bound?", "time", "to-array", "to-array-2d",
|
|
123
|
-
"trampoline", "transduce", "transient", "tree-seq", "true?", "type",
|
|
124
|
-
"unchecked-add", "unchecked-add-int", "unchecked-byte", "unchecked-char",
|
|
125
|
-
"unchecked-dec", "unchecked-dec-int", "unchecked-divide-int",
|
|
126
|
-
"unchecked-double", "unchecked-float", "unchecked-inc",
|
|
127
|
-
"unchecked-inc-int", "unchecked-int", "unchecked-long",
|
|
128
|
-
"unchecked-multiply", "unchecked-multiply-int", "unchecked-negate",
|
|
129
|
-
"unchecked-negate-int", "unchecked-remainder-int", "unchecked-short",
|
|
130
|
-
"unchecked-subtract", "unchecked-subtract-int", "underive", "unquote",
|
|
131
|
-
"unquote-splicing", "unreduced", "unsigned-bit-shift-right", "update",
|
|
132
|
-
"update-in", "update-proxy", "uri?", "use", "uuid?", "val", "vals",
|
|
133
|
-
"var-get", "var-set", "var?", "vary-meta", "vec", "vector", "vector-of",
|
|
134
|
-
"vector?", "volatile!", "volatile?", "vreset!", "vswap!", "when",
|
|
135
|
-
"when-first", "when-let", "when-not", "when-some", "while",
|
|
136
|
-
"with-bindings", "with-bindings*", "with-in-str", "with-loading-context",
|
|
137
|
-
"with-local-vars", "with-meta", "with-open", "with-out-str",
|
|
138
|
-
"with-precision", "with-redefs", "with-redefs-fn", "xml-seq", "zero?",
|
|
139
|
-
"zipmap"];
|
|
140
|
-
var haveBodyParameter = [
|
|
141
|
-
"->", "->>", "as->", "binding", "bound-fn", "case", "catch", "comment",
|
|
142
|
-
"cond", "cond->", "cond->>", "condp", "def", "definterface", "defmethod",
|
|
143
|
-
"defn", "defmacro", "defprotocol", "defrecord", "defstruct", "deftype",
|
|
144
|
-
"do", "doseq", "dotimes", "doto", "extend", "extend-protocol",
|
|
145
|
-
"extend-type", "fn", "for", "future", "if", "if-let", "if-not", "if-some",
|
|
146
|
-
"let", "letfn", "locking", "loop", "ns", "proxy", "reify", "struct-map",
|
|
147
|
-
"some->", "some->>", "try", "when", "when-first", "when-let", "when-not",
|
|
148
|
-
"when-some", "while", "with-bindings", "with-bindings*", "with-in-str",
|
|
149
|
-
"with-loading-context", "with-local-vars", "with-meta", "with-open",
|
|
150
|
-
"with-out-str", "with-precision", "with-redefs", "with-redefs-fn"];
|
|
151
|
-
|
|
152
|
-
CodeMirror.registerHelper("hintWords", "clojure",
|
|
153
|
-
[].concat(atoms, specialForms, coreSymbols));
|
|
154
|
-
|
|
155
|
-
var atom = createLookupMap(atoms);
|
|
156
|
-
var specialForm = createLookupMap(specialForms);
|
|
157
|
-
var coreSymbol = createLookupMap(coreSymbols);
|
|
158
|
-
var hasBodyParameter = createLookupMap(haveBodyParameter);
|
|
159
|
-
var delimiter = /^(?:[\\\[\]\s"(),;@^`{}~]|$)/;
|
|
160
|
-
var numberLiteral = /^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/;
|
|
161
|
-
var characterLiteral = /^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/;
|
|
162
|
-
|
|
163
|
-
// simple-namespace := /^[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*/
|
|
164
|
-
// simple-symbol := /^(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)/
|
|
165
|
-
// qualified-symbol := (<simple-namespace>(<.><simple-namespace>)*</>)?<simple-symbol>
|
|
166
|
-
var qualifiedSymbol = /^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/;
|
|
167
|
-
|
|
168
|
-
function base(stream, state) {
|
|
169
|
-
if (stream.eatSpace() || stream.eat(",")) return ["space", null];
|
|
170
|
-
if (stream.match(numberLiteral)) return [null, "number"];
|
|
171
|
-
if (stream.match(characterLiteral)) return [null, "string-2"];
|
|
172
|
-
if (stream.eat(/^"/)) return (state.tokenize = inString)(stream, state);
|
|
173
|
-
if (stream.eat(/^[(\[{]/)) return ["open", "bracket"];
|
|
174
|
-
if (stream.eat(/^[)\]}]/)) return ["close", "bracket"];
|
|
175
|
-
if (stream.eat(/^;/)) {stream.skipToEnd(); return ["space", "comment"];}
|
|
176
|
-
if (stream.eat(/^[#'@^`~]/)) return [null, "meta"];
|
|
177
|
-
|
|
178
|
-
var matches = stream.match(qualifiedSymbol);
|
|
179
|
-
var symbol = matches && matches[0];
|
|
180
|
-
|
|
181
|
-
if (!symbol) {
|
|
182
|
-
// advance stream by at least one character so we don't get stuck.
|
|
183
|
-
stream.next();
|
|
184
|
-
stream.eatWhile(function (c) {return !is(c, delimiter);});
|
|
185
|
-
return [null, "error"];
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
if (symbol === "comment" && state.lastToken === "(")
|
|
189
|
-
return (state.tokenize = inComment)(stream, state);
|
|
190
|
-
if (is(symbol, atom) || symbol.charAt(0) === ":") return ["symbol", "atom"];
|
|
191
|
-
if (is(symbol, specialForm) || is(symbol, coreSymbol)) return ["symbol", "keyword"];
|
|
192
|
-
if (state.lastToken === "(") return ["symbol", "builtin"]; // other operator
|
|
193
|
-
|
|
194
|
-
return ["symbol", "variable"];
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
function inString(stream, state) {
|
|
198
|
-
var escaped = false, next;
|
|
199
|
-
|
|
200
|
-
while (next = stream.next()) {
|
|
201
|
-
if (next === "\"" && !escaped) {state.tokenize = base; break;}
|
|
202
|
-
escaped = !escaped && next === "\\";
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
return [null, "string"];
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
function inComment(stream, state) {
|
|
209
|
-
var parenthesisCount = 1;
|
|
210
|
-
var next;
|
|
211
|
-
|
|
212
|
-
while (next = stream.next()) {
|
|
213
|
-
if (next === ")") parenthesisCount--;
|
|
214
|
-
if (next === "(") parenthesisCount++;
|
|
215
|
-
if (parenthesisCount === 0) {
|
|
216
|
-
stream.backUp(1);
|
|
217
|
-
state.tokenize = base;
|
|
218
|
-
break;
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
return ["space", "comment"];
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
function createLookupMap(words) {
|
|
226
|
-
var obj = {};
|
|
227
|
-
|
|
228
|
-
for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
|
|
229
|
-
|
|
230
|
-
return obj;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
function is(value, test) {
|
|
234
|
-
if (test instanceof RegExp) return test.test(value);
|
|
235
|
-
if (test instanceof Object) return test.propertyIsEnumerable(value);
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
return {
|
|
239
|
-
startState: function () {
|
|
240
|
-
return {
|
|
241
|
-
ctx: {prev: null, start: 0, indentTo: 0},
|
|
242
|
-
lastToken: null,
|
|
243
|
-
tokenize: base
|
|
244
|
-
};
|
|
245
|
-
},
|
|
246
|
-
|
|
247
|
-
token: function (stream, state) {
|
|
248
|
-
if (stream.sol() && (typeof state.ctx.indentTo !== "number"))
|
|
249
|
-
state.ctx.indentTo = state.ctx.start + 1;
|
|
250
|
-
|
|
251
|
-
var typeStylePair = state.tokenize(stream, state);
|
|
252
|
-
var type = typeStylePair[0];
|
|
253
|
-
var style = typeStylePair[1];
|
|
254
|
-
var current = stream.current();
|
|
255
|
-
|
|
256
|
-
if (type !== "space") {
|
|
257
|
-
if (state.lastToken === "(" && state.ctx.indentTo === null) {
|
|
258
|
-
if (type === "symbol" && is(current, hasBodyParameter))
|
|
259
|
-
state.ctx.indentTo = state.ctx.start + options.indentUnit;
|
|
260
|
-
else state.ctx.indentTo = "next";
|
|
261
|
-
} else if (state.ctx.indentTo === "next") {
|
|
262
|
-
state.ctx.indentTo = stream.column();
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
state.lastToken = current;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
if (type === "open")
|
|
269
|
-
state.ctx = {prev: state.ctx, start: stream.column(), indentTo: null};
|
|
270
|
-
else if (type === "close") state.ctx = state.ctx.prev || state.ctx;
|
|
271
|
-
|
|
272
|
-
return style;
|
|
273
|
-
},
|
|
274
|
-
|
|
275
|
-
indent: function (state) {
|
|
276
|
-
var i = state.ctx.indentTo;
|
|
277
|
-
|
|
278
|
-
return (typeof i === "number") ?
|
|
279
|
-
i :
|
|
280
|
-
state.ctx.start + 1;
|
|
281
|
-
},
|
|
282
|
-
|
|
283
|
-
closeBrackets: {pairs: "()[]{}\"\""},
|
|
284
|
-
fold: "brace",
|
|
285
|
-
lineComment: ";;"
|
|
286
|
-
};
|
|
287
|
-
});
|
|
288
|
-
|
|
289
|
-
CodeMirror.defineMIME("text/x-clojure", "clojure");
|
|
290
|
-
CodeMirror.defineMIME("text/x-clojurescript", "clojure");
|
|
291
|
-
CodeMirror.defineMIME("application/edn", "clojure");
|
|
292
|
-
|
|
293
|
-
});
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
2
|
-
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
|
|
3
|
-
|
|
4
|
-
(function(mod) {
|
|
5
|
-
if (typeof exports == "object" && typeof module == "object")
|
|
6
|
-
mod(require("../../lib/codemirror"));
|
|
7
|
-
else if (typeof define == "function" && define.amd)
|
|
8
|
-
define(["../../lib/codemirror"], mod);
|
|
9
|
-
else
|
|
10
|
-
mod(CodeMirror);
|
|
11
|
-
})(function(CodeMirror) {
|
|
12
|
-
"use strict";
|
|
13
|
-
|
|
14
|
-
CodeMirror.defineMode("cmake", function () {
|
|
15
|
-
var variable_regex = /({)?[a-zA-Z0-9_]+(})?/;
|
|
16
|
-
|
|
17
|
-
function tokenString(stream, state) {
|
|
18
|
-
var current, prev, found_var = false;
|
|
19
|
-
while (!stream.eol() && (current = stream.next()) != state.pending) {
|
|
20
|
-
if (current === '$' && prev != '\\' && state.pending == '"') {
|
|
21
|
-
found_var = true;
|
|
22
|
-
break;
|
|
23
|
-
}
|
|
24
|
-
prev = current;
|
|
25
|
-
}
|
|
26
|
-
if (found_var) {
|
|
27
|
-
stream.backUp(1);
|
|
28
|
-
}
|
|
29
|
-
if (current == state.pending) {
|
|
30
|
-
state.continueString = false;
|
|
31
|
-
} else {
|
|
32
|
-
state.continueString = true;
|
|
33
|
-
}
|
|
34
|
-
return "string";
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
function tokenize(stream, state) {
|
|
38
|
-
var ch = stream.next();
|
|
39
|
-
|
|
40
|
-
// Have we found a variable?
|
|
41
|
-
if (ch === '$') {
|
|
42
|
-
if (stream.match(variable_regex)) {
|
|
43
|
-
return 'variable-2';
|
|
44
|
-
}
|
|
45
|
-
return 'variable';
|
|
46
|
-
}
|
|
47
|
-
// Should we still be looking for the end of a string?
|
|
48
|
-
if (state.continueString) {
|
|
49
|
-
// If so, go through the loop again
|
|
50
|
-
stream.backUp(1);
|
|
51
|
-
return tokenString(stream, state);
|
|
52
|
-
}
|
|
53
|
-
// Do we just have a function on our hands?
|
|
54
|
-
// In 'cmake_minimum_required (VERSION 2.8.8)', 'cmake_minimum_required' is matched
|
|
55
|
-
if (stream.match(/(\s+)?\w+\(/) || stream.match(/(\s+)?\w+\ \(/)) {
|
|
56
|
-
stream.backUp(1);
|
|
57
|
-
return 'def';
|
|
58
|
-
}
|
|
59
|
-
if (ch == "#") {
|
|
60
|
-
stream.skipToEnd();
|
|
61
|
-
return "comment";
|
|
62
|
-
}
|
|
63
|
-
// Have we found a string?
|
|
64
|
-
if (ch == "'" || ch == '"') {
|
|
65
|
-
// Store the type (single or double)
|
|
66
|
-
state.pending = ch;
|
|
67
|
-
// Perform the looping function to find the end
|
|
68
|
-
return tokenString(stream, state);
|
|
69
|
-
}
|
|
70
|
-
if (ch == '(' || ch == ')') {
|
|
71
|
-
return 'bracket';
|
|
72
|
-
}
|
|
73
|
-
if (ch.match(/[0-9]/)) {
|
|
74
|
-
return 'number';
|
|
75
|
-
}
|
|
76
|
-
stream.eatWhile(/[\w-]/);
|
|
77
|
-
return null;
|
|
78
|
-
}
|
|
79
|
-
return {
|
|
80
|
-
startState: function () {
|
|
81
|
-
var state = {};
|
|
82
|
-
state.inDefinition = false;
|
|
83
|
-
state.inInclude = false;
|
|
84
|
-
state.continueString = false;
|
|
85
|
-
state.pending = false;
|
|
86
|
-
return state;
|
|
87
|
-
},
|
|
88
|
-
token: function (stream, state) {
|
|
89
|
-
if (stream.eatSpace()) return null;
|
|
90
|
-
return tokenize(stream, state);
|
|
91
|
-
}
|
|
92
|
-
};
|
|
93
|
-
});
|
|
94
|
-
|
|
95
|
-
CodeMirror.defineMIME("text/x-cmake", "cmake");
|
|
96
|
-
|
|
97
|
-
});
|
|
@@ -1,255 +0,0 @@
|
|
|
1
|
-
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
2
|
-
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Author: Gautam Mehta
|
|
6
|
-
* Branched from CodeMirror's Scheme mode
|
|
7
|
-
*/
|
|
8
|
-
(function(mod) {
|
|
9
|
-
if (typeof exports == "object" && typeof module == "object") // CommonJS
|
|
10
|
-
mod(require("../../lib/codemirror"));
|
|
11
|
-
else if (typeof define == "function" && define.amd) // AMD
|
|
12
|
-
define(["../../lib/codemirror"], mod);
|
|
13
|
-
else // Plain browser env
|
|
14
|
-
mod(CodeMirror);
|
|
15
|
-
})(function(CodeMirror) {
|
|
16
|
-
"use strict";
|
|
17
|
-
|
|
18
|
-
CodeMirror.defineMode("cobol", function () {
|
|
19
|
-
var BUILTIN = "builtin", COMMENT = "comment", STRING = "string",
|
|
20
|
-
ATOM = "atom", NUMBER = "number", KEYWORD = "keyword", MODTAG = "header",
|
|
21
|
-
COBOLLINENUM = "def", PERIOD = "link";
|
|
22
|
-
function makeKeywords(str) {
|
|
23
|
-
var obj = {}, words = str.split(" ");
|
|
24
|
-
for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
|
|
25
|
-
return obj;
|
|
26
|
-
}
|
|
27
|
-
var atoms = makeKeywords("TRUE FALSE ZEROES ZEROS ZERO SPACES SPACE LOW-VALUE LOW-VALUES ");
|
|
28
|
-
var keywords = makeKeywords(
|
|
29
|
-
"ACCEPT ACCESS ACQUIRE ADD ADDRESS " +
|
|
30
|
-
"ADVANCING AFTER ALIAS ALL ALPHABET " +
|
|
31
|
-
"ALPHABETIC ALPHABETIC-LOWER ALPHABETIC-UPPER ALPHANUMERIC ALPHANUMERIC-EDITED " +
|
|
32
|
-
"ALSO ALTER ALTERNATE AND ANY " +
|
|
33
|
-
"ARE AREA AREAS ARITHMETIC ASCENDING " +
|
|
34
|
-
"ASSIGN AT ATTRIBUTE AUTHOR AUTO " +
|
|
35
|
-
"AUTO-SKIP AUTOMATIC B-AND B-EXOR B-LESS " +
|
|
36
|
-
"B-NOT B-OR BACKGROUND-COLOR BACKGROUND-COLOUR BEEP " +
|
|
37
|
-
"BEFORE BELL BINARY BIT BITS " +
|
|
38
|
-
"BLANK BLINK BLOCK BOOLEAN BOTTOM " +
|
|
39
|
-
"BY CALL CANCEL CD CF " +
|
|
40
|
-
"CH CHARACTER CHARACTERS CLASS CLOCK-UNITS " +
|
|
41
|
-
"CLOSE COBOL CODE CODE-SET COL " +
|
|
42
|
-
"COLLATING COLUMN COMMA COMMIT COMMITMENT " +
|
|
43
|
-
"COMMON COMMUNICATION COMP COMP-0 COMP-1 " +
|
|
44
|
-
"COMP-2 COMP-3 COMP-4 COMP-5 COMP-6 " +
|
|
45
|
-
"COMP-7 COMP-8 COMP-9 COMPUTATIONAL COMPUTATIONAL-0 " +
|
|
46
|
-
"COMPUTATIONAL-1 COMPUTATIONAL-2 COMPUTATIONAL-3 COMPUTATIONAL-4 COMPUTATIONAL-5 " +
|
|
47
|
-
"COMPUTATIONAL-6 COMPUTATIONAL-7 COMPUTATIONAL-8 COMPUTATIONAL-9 COMPUTE " +
|
|
48
|
-
"CONFIGURATION CONNECT CONSOLE CONTAINED CONTAINS " +
|
|
49
|
-
"CONTENT CONTINUE CONTROL CONTROL-AREA CONTROLS " +
|
|
50
|
-
"CONVERTING COPY CORR CORRESPONDING COUNT " +
|
|
51
|
-
"CRT CRT-UNDER CURRENCY CURRENT CURSOR " +
|
|
52
|
-
"DATA DATE DATE-COMPILED DATE-WRITTEN DAY " +
|
|
53
|
-
"DAY-OF-WEEK DB DB-ACCESS-CONTROL-KEY DB-DATA-NAME DB-EXCEPTION " +
|
|
54
|
-
"DB-FORMAT-NAME DB-RECORD-NAME DB-SET-NAME DB-STATUS DBCS " +
|
|
55
|
-
"DBCS-EDITED DE DEBUG-CONTENTS DEBUG-ITEM DEBUG-LINE " +
|
|
56
|
-
"DEBUG-NAME DEBUG-SUB-1 DEBUG-SUB-2 DEBUG-SUB-3 DEBUGGING " +
|
|
57
|
-
"DECIMAL-POINT DECLARATIVES DEFAULT DELETE DELIMITED " +
|
|
58
|
-
"DELIMITER DEPENDING DESCENDING DESCRIBED DESTINATION " +
|
|
59
|
-
"DETAIL DISABLE DISCONNECT DISPLAY DISPLAY-1 " +
|
|
60
|
-
"DISPLAY-2 DISPLAY-3 DISPLAY-4 DISPLAY-5 DISPLAY-6 " +
|
|
61
|
-
"DISPLAY-7 DISPLAY-8 DISPLAY-9 DIVIDE DIVISION " +
|
|
62
|
-
"DOWN DROP DUPLICATE DUPLICATES DYNAMIC " +
|
|
63
|
-
"EBCDIC EGI EJECT ELSE EMI " +
|
|
64
|
-
"EMPTY EMPTY-CHECK ENABLE END END. END-ACCEPT END-ACCEPT. " +
|
|
65
|
-
"END-ADD END-CALL END-COMPUTE END-DELETE END-DISPLAY " +
|
|
66
|
-
"END-DIVIDE END-EVALUATE END-IF END-INVOKE END-MULTIPLY " +
|
|
67
|
-
"END-OF-PAGE END-PERFORM END-READ END-RECEIVE END-RETURN " +
|
|
68
|
-
"END-REWRITE END-SEARCH END-START END-STRING END-SUBTRACT " +
|
|
69
|
-
"END-UNSTRING END-WRITE END-XML ENTER ENTRY " +
|
|
70
|
-
"ENVIRONMENT EOP EQUAL EQUALS ERASE " +
|
|
71
|
-
"ERROR ESI EVALUATE EVERY EXCEEDS " +
|
|
72
|
-
"EXCEPTION EXCLUSIVE EXIT EXTEND EXTERNAL " +
|
|
73
|
-
"EXTERNALLY-DESCRIBED-KEY FD FETCH FILE FILE-CONTROL " +
|
|
74
|
-
"FILE-STREAM FILES FILLER FINAL FIND " +
|
|
75
|
-
"FINISH FIRST FOOTING FOR FOREGROUND-COLOR " +
|
|
76
|
-
"FOREGROUND-COLOUR FORMAT FREE FROM FULL " +
|
|
77
|
-
"FUNCTION GENERATE GET GIVING GLOBAL " +
|
|
78
|
-
"GO GOBACK GREATER GROUP HEADING " +
|
|
79
|
-
"HIGH-VALUE HIGH-VALUES HIGHLIGHT I-O I-O-CONTROL " +
|
|
80
|
-
"ID IDENTIFICATION IF IN INDEX " +
|
|
81
|
-
"INDEX-1 INDEX-2 INDEX-3 INDEX-4 INDEX-5 " +
|
|
82
|
-
"INDEX-6 INDEX-7 INDEX-8 INDEX-9 INDEXED " +
|
|
83
|
-
"INDIC INDICATE INDICATOR INDICATORS INITIAL " +
|
|
84
|
-
"INITIALIZE INITIATE INPUT INPUT-OUTPUT INSPECT " +
|
|
85
|
-
"INSTALLATION INTO INVALID INVOKE IS " +
|
|
86
|
-
"JUST JUSTIFIED KANJI KEEP KEY " +
|
|
87
|
-
"LABEL LAST LD LEADING LEFT " +
|
|
88
|
-
"LEFT-JUSTIFY LENGTH LENGTH-CHECK LESS LIBRARY " +
|
|
89
|
-
"LIKE LIMIT LIMITS LINAGE LINAGE-COUNTER " +
|
|
90
|
-
"LINE LINE-COUNTER LINES LINKAGE LOCAL-STORAGE " +
|
|
91
|
-
"LOCALE LOCALLY LOCK " +
|
|
92
|
-
"MEMBER MEMORY MERGE MESSAGE METACLASS " +
|
|
93
|
-
"MODE MODIFIED MODIFY MODULES MOVE " +
|
|
94
|
-
"MULTIPLE MULTIPLY NATIONAL NATIVE NEGATIVE " +
|
|
95
|
-
"NEXT NO NO-ECHO NONE NOT " +
|
|
96
|
-
"NULL NULL-KEY-MAP NULL-MAP NULLS NUMBER " +
|
|
97
|
-
"NUMERIC NUMERIC-EDITED OBJECT OBJECT-COMPUTER OCCURS " +
|
|
98
|
-
"OF OFF OMITTED ON ONLY " +
|
|
99
|
-
"OPEN OPTIONAL OR ORDER ORGANIZATION " +
|
|
100
|
-
"OTHER OUTPUT OVERFLOW OWNER PACKED-DECIMAL " +
|
|
101
|
-
"PADDING PAGE PAGE-COUNTER PARSE PERFORM " +
|
|
102
|
-
"PF PH PIC PICTURE PLUS " +
|
|
103
|
-
"POINTER POSITION POSITIVE PREFIX PRESENT " +
|
|
104
|
-
"PRINTING PRIOR PROCEDURE PROCEDURE-POINTER PROCEDURES " +
|
|
105
|
-
"PROCEED PROCESS PROCESSING PROGRAM PROGRAM-ID " +
|
|
106
|
-
"PROMPT PROTECTED PURGE QUEUE QUOTE " +
|
|
107
|
-
"QUOTES RANDOM RD READ READY " +
|
|
108
|
-
"REALM RECEIVE RECONNECT RECORD RECORD-NAME " +
|
|
109
|
-
"RECORDS RECURSIVE REDEFINES REEL REFERENCE " +
|
|
110
|
-
"REFERENCE-MONITOR REFERENCES RELATION RELATIVE RELEASE " +
|
|
111
|
-
"REMAINDER REMOVAL RENAMES REPEATED REPLACE " +
|
|
112
|
-
"REPLACING REPORT REPORTING REPORTS REPOSITORY " +
|
|
113
|
-
"REQUIRED RERUN RESERVE RESET RETAINING " +
|
|
114
|
-
"RETRIEVAL RETURN RETURN-CODE RETURNING REVERSE-VIDEO " +
|
|
115
|
-
"REVERSED REWIND REWRITE RF RH " +
|
|
116
|
-
"RIGHT RIGHT-JUSTIFY ROLLBACK ROLLING ROUNDED " +
|
|
117
|
-
"RUN SAME SCREEN SD SEARCH " +
|
|
118
|
-
"SECTION SECURE SECURITY SEGMENT SEGMENT-LIMIT " +
|
|
119
|
-
"SELECT SEND SENTENCE SEPARATE SEQUENCE " +
|
|
120
|
-
"SEQUENTIAL SET SHARED SIGN SIZE " +
|
|
121
|
-
"SKIP1 SKIP2 SKIP3 SORT SORT-MERGE " +
|
|
122
|
-
"SORT-RETURN SOURCE SOURCE-COMPUTER SPACE-FILL " +
|
|
123
|
-
"SPECIAL-NAMES STANDARD STANDARD-1 STANDARD-2 " +
|
|
124
|
-
"START STARTING STATUS STOP STORE " +
|
|
125
|
-
"STRING SUB-QUEUE-1 SUB-QUEUE-2 SUB-QUEUE-3 SUB-SCHEMA " +
|
|
126
|
-
"SUBFILE SUBSTITUTE SUBTRACT SUM SUPPRESS " +
|
|
127
|
-
"SYMBOLIC SYNC SYNCHRONIZED SYSIN SYSOUT " +
|
|
128
|
-
"TABLE TALLYING TAPE TENANT TERMINAL " +
|
|
129
|
-
"TERMINATE TEST TEXT THAN THEN " +
|
|
130
|
-
"THROUGH THRU TIME TIMES TITLE " +
|
|
131
|
-
"TO TOP TRAILING TRAILING-SIGN TRANSACTION " +
|
|
132
|
-
"TYPE TYPEDEF UNDERLINE UNEQUAL UNIT " +
|
|
133
|
-
"UNSTRING UNTIL UP UPDATE UPON " +
|
|
134
|
-
"USAGE USAGE-MODE USE USING VALID " +
|
|
135
|
-
"VALIDATE VALUE VALUES VARYING VLR " +
|
|
136
|
-
"WAIT WHEN WHEN-COMPILED WITH WITHIN " +
|
|
137
|
-
"WORDS WORKING-STORAGE WRITE XML XML-CODE " +
|
|
138
|
-
"XML-EVENT XML-NTEXT XML-TEXT ZERO ZERO-FILL " );
|
|
139
|
-
|
|
140
|
-
var builtins = makeKeywords("- * ** / + < <= = > >= ");
|
|
141
|
-
var tests = {
|
|
142
|
-
digit: /\d/,
|
|
143
|
-
digit_or_colon: /[\d:]/,
|
|
144
|
-
hex: /[0-9a-f]/i,
|
|
145
|
-
sign: /[+-]/,
|
|
146
|
-
exponent: /e/i,
|
|
147
|
-
keyword_char: /[^\s\(\[\;\)\]]/,
|
|
148
|
-
symbol: /[\w*+\-]/
|
|
149
|
-
};
|
|
150
|
-
function isNumber(ch, stream){
|
|
151
|
-
// hex
|
|
152
|
-
if ( ch === '0' && stream.eat(/x/i) ) {
|
|
153
|
-
stream.eatWhile(tests.hex);
|
|
154
|
-
return true;
|
|
155
|
-
}
|
|
156
|
-
// leading sign
|
|
157
|
-
if ( ( ch == '+' || ch == '-' ) && ( tests.digit.test(stream.peek()) ) ) {
|
|
158
|
-
stream.eat(tests.sign);
|
|
159
|
-
ch = stream.next();
|
|
160
|
-
}
|
|
161
|
-
if ( tests.digit.test(ch) ) {
|
|
162
|
-
stream.eat(ch);
|
|
163
|
-
stream.eatWhile(tests.digit);
|
|
164
|
-
if ( '.' == stream.peek()) {
|
|
165
|
-
stream.eat('.');
|
|
166
|
-
stream.eatWhile(tests.digit);
|
|
167
|
-
}
|
|
168
|
-
if ( stream.eat(tests.exponent) ) {
|
|
169
|
-
stream.eat(tests.sign);
|
|
170
|
-
stream.eatWhile(tests.digit);
|
|
171
|
-
}
|
|
172
|
-
return true;
|
|
173
|
-
}
|
|
174
|
-
return false;
|
|
175
|
-
}
|
|
176
|
-
return {
|
|
177
|
-
startState: function () {
|
|
178
|
-
return {
|
|
179
|
-
indentStack: null,
|
|
180
|
-
indentation: 0,
|
|
181
|
-
mode: false
|
|
182
|
-
};
|
|
183
|
-
},
|
|
184
|
-
token: function (stream, state) {
|
|
185
|
-
if (state.indentStack == null && stream.sol()) {
|
|
186
|
-
// update indentation, but only if indentStack is empty
|
|
187
|
-
state.indentation = 6 ; //stream.indentation();
|
|
188
|
-
}
|
|
189
|
-
// skip spaces
|
|
190
|
-
if (stream.eatSpace()) {
|
|
191
|
-
return null;
|
|
192
|
-
}
|
|
193
|
-
var returnType = null;
|
|
194
|
-
switch(state.mode){
|
|
195
|
-
case "string": // multi-line string parsing mode
|
|
196
|
-
var next = false;
|
|
197
|
-
while ((next = stream.next()) != null) {
|
|
198
|
-
if ((next == "\"" || next == "\'") && !stream.match(/['"]/, false)) {
|
|
199
|
-
state.mode = false;
|
|
200
|
-
break;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
returnType = STRING; // continue on in string mode
|
|
204
|
-
break;
|
|
205
|
-
default: // default parsing mode
|
|
206
|
-
var ch = stream.next();
|
|
207
|
-
var col = stream.column();
|
|
208
|
-
if (col >= 0 && col <= 5) {
|
|
209
|
-
returnType = COBOLLINENUM;
|
|
210
|
-
} else if (col >= 72 && col <= 79) {
|
|
211
|
-
stream.skipToEnd();
|
|
212
|
-
returnType = MODTAG;
|
|
213
|
-
} else if (ch == "*" && col == 6) { // comment
|
|
214
|
-
stream.skipToEnd(); // rest of the line is a comment
|
|
215
|
-
returnType = COMMENT;
|
|
216
|
-
} else if (ch == "\"" || ch == "\'") {
|
|
217
|
-
state.mode = "string";
|
|
218
|
-
returnType = STRING;
|
|
219
|
-
} else if (ch == "'" && !( tests.digit_or_colon.test(stream.peek()) )) {
|
|
220
|
-
returnType = ATOM;
|
|
221
|
-
} else if (ch == ".") {
|
|
222
|
-
returnType = PERIOD;
|
|
223
|
-
} else if (isNumber(ch,stream)){
|
|
224
|
-
returnType = NUMBER;
|
|
225
|
-
} else {
|
|
226
|
-
if (stream.current().match(tests.symbol)) {
|
|
227
|
-
while (col < 71) {
|
|
228
|
-
if (stream.eat(tests.symbol) === undefined) {
|
|
229
|
-
break;
|
|
230
|
-
} else {
|
|
231
|
-
col++;
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
if (keywords && keywords.propertyIsEnumerable(stream.current().toUpperCase())) {
|
|
236
|
-
returnType = KEYWORD;
|
|
237
|
-
} else if (builtins && builtins.propertyIsEnumerable(stream.current().toUpperCase())) {
|
|
238
|
-
returnType = BUILTIN;
|
|
239
|
-
} else if (atoms && atoms.propertyIsEnumerable(stream.current().toUpperCase())) {
|
|
240
|
-
returnType = ATOM;
|
|
241
|
-
} else returnType = null;
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
return returnType;
|
|
245
|
-
},
|
|
246
|
-
indent: function (state) {
|
|
247
|
-
if (state.indentStack == null) return state.indentation;
|
|
248
|
-
return state.indentStack.indent;
|
|
249
|
-
}
|
|
250
|
-
};
|
|
251
|
-
});
|
|
252
|
-
|
|
253
|
-
CodeMirror.defineMIME("text/x-cobol", "cobol");
|
|
254
|
-
|
|
255
|
-
});
|