@flyfish-group/file-viewer3 1.0.26 → 2.0.1
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/README.en.md +3 -388
- package/README.md +3 -364
- package/dist/file-viewer3.css +1 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/package.json +22 -126
- package/dist/components/3MFLoader.js +0 -527
- package/dist/components/AMFLoader.js +0 -188
- package/dist/components/ArchiveViewer.js +0 -526
- package/dist/components/AudioViewer.js +0 -66
- package/dist/components/CadViewer.js +0 -9040
- package/dist/components/CodeViewer.js +0 -151
- package/dist/components/ColladaLoader.js +0 -2282
- package/dist/components/DrawingViewer.js +0 -295
- package/dist/components/EdaViewer.js +0 -630
- package/dist/components/EmailViewer.js +0 -276
- package/dist/components/EpubViewer.js +0 -172
- package/dist/components/FBXLoader.js +0 -1574
- package/dist/components/GLTFLoader.js +0 -1383
- package/dist/components/ImageViewer.js +0 -1519
- package/dist/components/KMZLoader.js +0 -45
- package/dist/components/MarkdownViewer.js +0 -1476
- package/dist/components/ModelViewer.js +0 -797
- package/dist/components/OBJLoader.js +0 -287
- package/dist/components/OfdViewer.js +0 -133
- package/dist/components/PCDLoader.js +0 -141
- package/dist/components/PLYLoader.js +0 -305
- package/dist/components/PdfView.js +0 -27667
- package/dist/components/PptxRender.js +0 -11217
- package/dist/components/STLLoader.js +0 -83
- package/dist/components/TDSLoader.js +0 -228
- package/dist/components/TypstViewer.js +0 -1697
- package/dist/components/USDLoader.js +0 -2526
- package/dist/components/UmdViewer.js +0 -1873
- package/dist/components/VRMLLoader.js +0 -6422
- package/dist/components/VTKLoader.js +0 -337
- package/dist/components/XYZLoader.js +0 -30
- package/dist/components/XlsxTable.js +0 -7879
- package/dist/components/__vite-browser-external.js +0 -7
- package/dist/components/_plugin-vue_export-helper.js +0 -8
- package/dist/components/ar-SA-G6X2FPQ2.js +0 -523
- package/dist/components/arc.js +0 -79
- package/dist/components/architecture-7EHR7CIX.js +0 -3
- package/dist/components/architectureDiagram-3BPJPVTR.js +0 -4096
- package/dist/components/archive.js +0 -24
- package/dist/components/asyncToGenerator.js +0 -29
- package/dist/components/audio.js +0 -19
- package/dist/components/az-AZ-76LH7QW2.js +0 -523
- package/dist/components/bash.js +0 -169
- package/dist/components/bg-BG-XCXSNQG7.js +0 -523
- package/dist/components/blockDiagram-GPEHLZMM.js +0 -3357
- package/dist/components/bn-BD-2XOGV67Q.js +0 -523
- package/dist/components/c4Diagram-AAUBKEIU.js +0 -2957
- package/dist/components/ca-ES-6MX7JW3Y.js +0 -523
- package/dist/components/cad.js +0 -23
- package/dist/components/cfb.js +0 -1174
- package/dist/components/channel.js +0 -5
- package/dist/components/chunk-2J33WTMH.js +0 -26
- package/dist/components/chunk-3OPIFGDE.js +0 -4167
- package/dist/components/chunk-4BX2VUAB.js +0 -19
- package/dist/components/chunk-55IACEB6.js +0 -9
- package/dist/components/chunk-5ZQYHXKU.js +0 -669
- package/dist/components/chunk-6U3AYISY.js +0 -624
- package/dist/components/chunk-727SXJPM.js +0 -3356
- package/dist/components/chunk-AGHRB4JF.js +0 -324
- package/dist/components/chunk-AQP2D5EJ.js +0 -2055
- package/dist/components/chunk-BSJP7CBP.js +0 -83
- package/dist/components/chunk-CSCIHK7Q.js +0 -3500
- package/dist/components/chunk-EIO257PC.js +0 -1836
- package/dist/components/chunk-FMBD7UC4.js +0 -5
- package/dist/components/chunk-K2UTITRG.js +0 -17627
- package/dist/components/chunk-KSCS5N6A.js +0 -572
- package/dist/components/chunk-L5ZTLDWV.js +0 -40
- package/dist/components/chunk-LZXEDZCA.js +0 -60
- package/dist/components/chunk-ND2GUHAM.js +0 -61
- package/dist/components/chunk-NNHCCRGN.js +0 -20425
- package/dist/components/chunk-NZK2D7GU.js +0 -68
- package/dist/components/chunk-O5CBEL6O.js +0 -1894
- package/dist/components/chunk-QZHKN3VN.js +0 -12
- package/dist/components/chunk-SRAX5OIU.js +0 -22
- package/dist/components/chunk-WU5MYG2G.js +0 -14
- package/dist/components/chunk-XPW4576I.js +0 -1146
- package/dist/components/chunk-Z3N5DIM6.js +0 -59
- package/dist/components/chunk-ZUYEQ4TG.js +0 -22
- package/dist/components/chunk.js +0 -23
- package/dist/components/classDiagram-4FO5ZUOK.js +0 -29
- package/dist/components/classDiagram-v2-Q7XG4LA2.js +0 -29
- package/dist/components/compiler.js +0 -2
- package/dist/components/core.js +0 -845
- package/dist/components/cose-bilkent-S5V4N54A.js +0 -2268
- package/dist/components/cpp.js +0 -225
- package/dist/components/cs-CZ-2BRQDIVT.js +0 -523
- package/dist/components/csharp.js +0 -260
- package/dist/components/css.js +0 -140
- package/dist/components/cytoscape.esm.js +0 -18114
- package/dist/components/da-DK-5WZEPLOC.js +0 -523
- package/dist/components/dagre-BM42HDAG.js +0 -325
- package/dist/components/dagre.js +0 -1936
- package/dist/components/de-DE-XR44H4JA.js +0 -523
- package/dist/components/defaultLocale.js +0 -201
- package/dist/components/defineProperty.js +0 -50
- package/dist/components/diagram-2AECGRRQ.js +0 -229
- package/dist/components/diagram-5GNKFQAL.js +0 -108
- package/dist/components/diagram-KO2AKTUF.js +0 -443
- package/dist/components/diagram-LMA3HP47.js +0 -139
- package/dist/components/diagram-OG6HWLK6.js +0 -541
- package/dist/components/diff.js +0 -39
- package/dist/components/directory-open-01563666.js +0 -26
- package/dist/components/directory-open-4ed118d0.js +0 -83
- package/dist/components/dist.js +0 -50
- package/dist/components/dist2.js +0 -3291
- package/dist/components/dist3.js +0 -1593
- package/dist/components/documentSearch.js +0 -378
- package/dist/components/docx-preview.js +0 -3113
- package/dist/components/drawing.js +0 -19
- package/dist/components/ebook.js +0 -16
- package/dist/components/eda.js +0 -20
- package/dist/components/el-GR-BZB4AONW.js +0 -523
- package/dist/components/email.js +0 -21
- package/dist/components/en-B4ZKOASM.js +0 -3
- package/dist/components/erDiagram-TEJ5UH35.js +0 -1719
- package/dist/components/es-ES-U4NZUMDT.js +0 -523
- package/dist/components/eu-ES-A7QVB2H4.js +0 -523
- package/dist/components/eventmodeling-FCH6USID.js +0 -3
- package/dist/components/fa-IR-HGAKTJCU.js +0 -523
- package/dist/components/fflate.module.js +0 -323
- package/dist/components/fi-FI-Z5N7JZ37.js +0 -523
- package/dist/components/file-open-002ab408.js +0 -38
- package/dist/components/file-open-7c801643.js +0 -24
- package/dist/components/file-save-3189631c.js +0 -40
- package/dist/components/file-save-745eba88.js +0 -36
- package/dist/components/flowDiagram-I6XJVG4X.js +0 -4181
- package/dist/components/fr-FR-RHASNOE6.js +0 -523
- package/dist/components/ganttDiagram-6RSMTGT7.js +0 -2182
- package/dist/components/gitGraph-WXDBUCRP.js +0 -3
- package/dist/components/gitGraphDiagram-PVQCEYII.js +0 -788
- package/dist/components/gl-ES-HMX3MZ6V.js +0 -523
- package/dist/components/global-compiler.js +0 -23
- package/dist/components/global-renderer.js +0 -23
- package/dist/components/go.js +0 -140
- package/dist/components/graphlib.js +0 -1267
- package/dist/components/he-IL-6SHJWFNN.js +0 -523
- package/dist/components/hi-IN-IWLTKZ5I.js +0 -523
- package/dist/components/hu-HU-A5ZG7DT2.js +0 -523
- package/dist/components/id-ID-SAP4L64H.js +0 -523
- package/dist/components/image-GAAHSSAO.js +0 -3
- package/dist/components/image-blob-reduce.esm.js +0 -1429
- package/dist/components/image.js +0 -17
- package/dist/components/info-J43DQDTF.js +0 -3
- package/dist/components/infoDiagram-5YYISTIA.js +0 -26
- package/dist/components/ini.js +0 -88
- package/dist/components/init.js +0 -15
- package/dist/components/ishikawaDiagram-YF4QCWOH.js +0 -718
- package/dist/components/it-IT-JPQ66NNP.js +0 -523
- package/dist/components/ja-JP-DBVTYXUO.js +0 -523
- package/dist/components/java.js +0 -169
- package/dist/components/javascript.js +0 -436
- package/dist/components/journeyDiagram-JHISSGLW.js +0 -885
- package/dist/components/json.js +0 -36
- package/dist/components/jszip.min.js +0 -3033
- package/dist/components/kaa-6HZHGXH3.js +0 -523
- package/dist/components/kab-KAB-ZGHBKWFO.js +0 -523
- package/dist/components/kanban-definition-UN3LZRKU.js +0 -986
- package/dist/components/katex.js +0 -21979
- package/dist/components/kk-KZ-P5N5QNE5.js +0 -523
- package/dist/components/km-KH-HSX4SM5Z.js +0 -523
- package/dist/components/ko-KR-MTYHY66A.js +0 -523
- package/dist/components/ku-TR-6OUDTVRD.js +0 -523
- package/dist/components/lib.js +0 -4877
- package/dist/components/libarchive.js +0 -360
- package/dist/components/linear.js +0 -289
- package/dist/components/lt-LT-XHIRWOB4.js +0 -523
- package/dist/components/lv-LV-5QDEKY6T.js +0 -523
- package/dist/components/markdown.js +0 -181
- package/dist/components/md.js +0 -17
- package/dist/components/mermaid-parser.core.js +0 -328
- package/dist/components/mindmap-definition-RKZ34NQL.js +0 -1016
- package/dist/components/model.js +0 -21
- package/dist/components/mp4.js +0 -12
- package/dist/components/mr-IN-CRQNXWMA.js +0 -523
- package/dist/components/my-MM-5M5IBNSE.js +0 -523
- package/dist/components/nb-NO-T6EIAALU.js +0 -523
- package/dist/components/nestedRender.js +0 -158
- package/dist/components/nl-NL-IS3SIHDZ.js +0 -523
- package/dist/components/nn-NO-6E72VCQL.js +0 -523
- package/dist/components/objectSpread2.js +0 -29
- package/dist/components/objectWithoutProperties.js +0 -28
- package/dist/components/oc-FR-POXYY2M6.js +0 -523
- package/dist/components/ofd.js +0 -5261
- package/dist/components/ofd2.js +0 -16
- package/dist/components/ordinal.js +0 -65
- package/dist/components/pa-IN-N4M65BXN.js +0 -523
- package/dist/components/packet-YPE3B663.js +0 -3
- package/dist/components/pdf.js +0 -24
- package/dist/components/percentages-BXMCSKIN.js +0 -3
- package/dist/components/php.js +0 -294
- package/dist/components/pica.js +0 -1009
- package/dist/components/pie-LRSECV5Y.js +0 -3
- package/dist/components/pie.js +0 -47
- package/dist/components/pieDiagram-4H26LBE5.js +0 -130
- package/dist/components/pl-PL-T2D74RX3.js +0 -523
- package/dist/components/postal-mime.js +0 -3146
- package/dist/components/pptx.js +0 -15
- package/dist/components/printLayout.js +0 -42
- package/dist/components/prod.js +0 -21770
- package/dist/components/pt-BR-5N22H2LF.js +0 -523
- package/dist/components/pt-PT-UZXXM6DQ.js +0 -523
- package/dist/components/python.js +0 -238
- package/dist/components/quadrantDiagram-W4KKPZXB.js +0 -1988
- package/dist/components/radar-GUYGQ44K.js +0 -3
- package/dist/components/renderer.js +0 -2
- package/dist/components/requirementDiagram-4Y6WPE33.js +0 -2230
- package/dist/components/ro-RO-JPDTUUEW.js +0 -523
- package/dist/components/rough.esm.js +0 -1355
- package/dist/components/roundRect.js +0 -90
- package/dist/components/ru-RU-B4JR7IUQ.js +0 -523
- package/dist/components/rust.js +0 -169
- package/dist/components/sankeyDiagram-5OEKKPKP.js +0 -972
- package/dist/components/sequenceDiagram-3UESZ5HK.js +0 -4255
- package/dist/components/shared.js +0 -175
- package/dist/components/shared2.js +0 -4
- package/dist/components/si-LK-N5RQ5JYF.js +0 -523
- package/dist/components/sk-SK-C5VTKIMK.js +0 -523
- package/dist/components/sl-SI-NN7IZMDC.js +0 -523
- package/dist/components/sourceLoading.js +0 -134
- package/dist/components/sql.js +0 -118
- package/dist/components/src.js +0 -2664
- package/dist/components/src2.js +0 -10722
- package/dist/components/stateDiagram-AJRCARHV.js +0 -217
- package/dist/components/stateDiagram-v2-BHNVJYJU.js +0 -27
- package/dist/components/subset-shared.chunk.js +0 -3
- package/dist/components/subset-worker.chunk.js +0 -21
- package/dist/components/sv-SE-XGPEYMSR.js +0 -523
- package/dist/components/ta-IN-2NMHFXQM.js +0 -523
- package/dist/components/text.js +0 -20
- package/dist/components/th-TH-HPSO5L25.js +0 -523
- package/dist/components/three.module.js +0 -13134
- package/dist/components/time.js +0 -910
- package/dist/components/timeline-definition-PNZ67QCA.js +0 -1084
- package/dist/components/tr-TR-DEFEU3FU.js +0 -523
- package/dist/components/treeView-BLDUP644.js +0 -3
- package/dist/components/treemap-LRROVOQU.js +0 -3
- package/dist/components/typescript.js +0 -521
- package/dist/components/typst.js +0 -25
- package/dist/components/uk-UA-QMV73CPH.js +0 -523
- package/dist/components/umd.js +0 -16
- package/dist/components/use.js +0 -422
- package/dist/components/util.js +0 -49
- package/dist/components/vennDiagram-CIIHVFJN.js +0 -1880
- package/dist/components/vi-VN-M7AON7JQ.js +0 -523
- package/dist/components/viewerZoom.js +0 -92
- package/dist/components/wardley-L42UT6IY.js +0 -3
- package/dist/components/wardleyDiagram-YWT4CUSO.js +0 -656
- package/dist/components/wasm-pack-shim.js +0 -1711
- package/dist/components/wasm-pack-shim2.js +0 -934
- package/dist/components/wasm.js +0 -97
- package/dist/components/word.js +0 -3055
- package/dist/components/worker-ref.js +0 -16
- package/dist/components/xlsx.js +0 -21
- package/dist/components/xml.js +0 -166
- package/dist/components/xychartDiagram-2RQKCTM6.js +0 -2015
- package/dist/components/yaml.js +0 -144
- package/dist/components/zh-CN-LNUGB5OW.js +0 -523
- package/dist/components/zh-HK-E62DVLB3.js +0 -523
- package/dist/components/zh-TW-RAJ6MFWO.js +0 -523
- package/dist/index.mjs +0 -3293
- package/dist/src/App.vue.d.ts +0 -3
- package/dist/src/compare/CompareApp.vue.d.ts +0 -3
- package/dist/src/compare/main.d.ts +0 -0
- package/dist/src/compare/useSynchronizedScroll.d.ts +0 -7
- package/dist/src/components/HelloWorld.vue.d.ts +0 -3
- package/dist/src/components/utils.d.ts +0 -4
- package/dist/src/main.d.ts +0 -0
- package/dist/src/package/common/printCapability.d.ts +0 -27
- package/dist/src/package/common/printLayout.d.ts +0 -16
- package/dist/src/package/common/sourceLoading.d.ts +0 -10
- package/dist/src/package/common/type.d.ts +0 -544
- package/dist/src/package/common/util.d.ts +0 -5
- package/dist/src/package/common/worker-ref.d.ts +0 -12
- package/dist/src/package/components/FileViewer/FileViewer.vue.d.ts +0 -75
- package/dist/src/package/components/FileViewer/exportDocumentTemplate.d.ts +0 -9
- package/dist/src/package/components/FileViewer/hooks/useViewerDocumentFeatures.d.ts +0 -29
- package/dist/src/package/components/FileViewer/hooks/useViewerExport.d.ts +0 -21
- package/dist/src/package/components/FileViewer/hooks/useViewerWatermark.d.ts +0 -8
- package/dist/src/package/components/FileViewer/hooks/useViewerZoom.d.ts +0 -34
- package/dist/src/package/components/FileViewer/index.d.ts +0 -2
- package/dist/src/package/components/FileViewer/util.d.ts +0 -3
- package/dist/src/package/index.d.ts +0 -22
- package/dist/src/package/use/documentLocation.d.ts +0 -15
- package/dist/src/package/use/documentSearch.d.ts +0 -234
- package/dist/src/package/use/index.d.ts +0 -5
- package/dist/src/package/use/loading.d.ts +0 -33
- package/dist/src/package/use/viewerZoom.d.ts +0 -42
- package/dist/src/package/use/worker.d.ts +0 -24
- package/dist/src/package/vendors/archive/ArchiveViewer.vue.d.ts +0 -9
- package/dist/src/package/vendors/archive/cache.d.ts +0 -10
- package/dist/src/package/vendors/archive/fallback.d.ts +0 -9
- package/dist/src/package/vendors/archive/index.d.ts +0 -3
- package/dist/src/package/vendors/archive/shared.d.ts +0 -24
- package/dist/src/package/vendors/audio/AudioViewer.vue.d.ts +0 -7
- package/dist/src/package/vendors/audio/index.d.ts +0 -7
- package/dist/src/package/vendors/cad/CadViewer.vue.d.ts +0 -9
- package/dist/src/package/vendors/cad/index.d.ts +0 -8
- package/dist/src/package/vendors/drawing/DrawingViewer.vue.d.ts +0 -15
- package/dist/src/package/vendors/drawing/index.d.ts +0 -7
- package/dist/src/package/vendors/ebook/EpubViewer.vue.d.ts +0 -6
- package/dist/src/package/vendors/ebook/index.d.ts +0 -7
- package/dist/src/package/vendors/eda/EdaViewer.vue.d.ts +0 -8
- package/dist/src/package/vendors/eda/index.d.ts +0 -2
- package/dist/src/package/vendors/eda/parser.d.ts +0 -77
- package/dist/src/package/vendors/email/EmailViewer.vue.d.ts +0 -10
- package/dist/src/package/vendors/email/index.d.ts +0 -2
- package/dist/src/package/vendors/image/ImageViewer.vue.d.ts +0 -6
- package/dist/src/package/vendors/image/index.d.ts +0 -4
- package/dist/src/package/vendors/md/MarkdownViewer.vue.d.ts +0 -6
- package/dist/src/package/vendors/md/index.d.ts +0 -4
- package/dist/src/package/vendors/model/ModelViewer.vue.d.ts +0 -8
- package/dist/src/package/vendors/model/index.d.ts +0 -3
- package/dist/src/package/vendors/model/shared.d.ts +0 -1
- package/dist/src/package/vendors/mp4/index.d.ts +0 -4
- package/dist/src/package/vendors/nestedRender.d.ts +0 -10
- package/dist/src/package/vendors/ofd/OfdViewer.vue.d.ts +0 -6
- package/dist/src/package/vendors/ofd/index.d.ts +0 -7
- package/dist/src/package/vendors/pdf/PdfView.vue.d.ts +0 -10
- package/dist/src/package/vendors/pdf/index.d.ts +0 -2
- package/dist/src/package/vendors/pdf/worker/index.d.ts +0 -4
- package/dist/src/package/vendors/pdf/worker/pdf.worker.d.ts +0 -0
- package/dist/src/package/vendors/pptx/PptxRender.vue.d.ts +0 -9
- package/dist/src/package/vendors/pptx/index.d.ts +0 -6
- package/dist/src/package/vendors/pptx/options.d.ts +0 -39
- package/dist/src/package/vendors/pptx/support/chart.d.ts +0 -4
- package/dist/src/package/vendors/pptx/worker/index.d.ts +0 -4
- package/dist/src/package/vendors/renders.d.ts +0 -3
- package/dist/src/package/vendors/text/CodeViewer.vue.d.ts +0 -7
- package/dist/src/package/vendors/text/index.d.ts +0 -10
- package/dist/src/package/vendors/typst/TypstViewer.vue.d.ts +0 -15
- package/dist/src/package/vendors/typst/index.d.ts +0 -8
- package/dist/src/package/vendors/umd/UmdViewer.vue.d.ts +0 -6
- package/dist/src/package/vendors/umd/index.d.ts +0 -7
- package/dist/src/package/vendors/umd/parser.d.ts +0 -30
- package/dist/src/package/vendors/word/doc.d.ts +0 -5
- package/dist/src/package/vendors/word/docx.d.ts +0 -5
- package/dist/src/package/vendors/word/docx.worker.d.ts +0 -1
- package/dist/src/package/vendors/word/index.d.ts +0 -3
- package/dist/src/package/vendors/xlsx/XlsxTable.state.d.ts +0 -80
- package/dist/src/package/vendors/xlsx/XlsxTable.view.d.ts +0 -25
- package/dist/src/package/vendors/xlsx/XlsxTable.vue.d.ts +0 -6
- package/dist/src/package/vendors/xlsx/index.d.ts +0 -6
- package/dist/src/package/vendors/xlsx/util.d.ts +0 -3
- package/dist/src/package/vendors/xlsx/worker/index.d.ts +0 -4
- package/dist/src/package/vendors/xlsx/worker/sheetjs/SheetJsModel.d.ts +0 -73
- package/dist/src/package/vendors/xlsx/worker/sheetjs/color.d.ts +0 -2
- package/dist/src/package/vendors/xlsx/worker/sheetjs/index.d.ts +0 -4
- package/dist/src/package/vendors/xlsx/worker/sheetjs/sheet.worker.d.ts +0 -1
- package/dist/style.css +0 -1
- package/dist/wasm/cad/dwfv-render.wasm +0 -0
- package/dist/wasm/cad/dwg-worker.js +0 -24
- package/dist/wasm/cad/libredwg-web.js +0 -15
- package/dist/wasm/cad/libredwg-web.wasm +0 -0
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
//#region node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/languages/csharp.js
|
|
2
|
-
function e(e) {
|
|
3
|
-
let t = [
|
|
4
|
-
"bool",
|
|
5
|
-
"byte",
|
|
6
|
-
"char",
|
|
7
|
-
"decimal",
|
|
8
|
-
"delegate",
|
|
9
|
-
"double",
|
|
10
|
-
"dynamic",
|
|
11
|
-
"enum",
|
|
12
|
-
"float",
|
|
13
|
-
"int",
|
|
14
|
-
"long",
|
|
15
|
-
"nint",
|
|
16
|
-
"nuint",
|
|
17
|
-
"object",
|
|
18
|
-
"sbyte",
|
|
19
|
-
"short",
|
|
20
|
-
"string",
|
|
21
|
-
"ulong",
|
|
22
|
-
"uint",
|
|
23
|
-
"ushort"
|
|
24
|
-
], n = [
|
|
25
|
-
"public",
|
|
26
|
-
"private",
|
|
27
|
-
"protected",
|
|
28
|
-
"static",
|
|
29
|
-
"internal",
|
|
30
|
-
"protected",
|
|
31
|
-
"abstract",
|
|
32
|
-
"async",
|
|
33
|
-
"extern",
|
|
34
|
-
"override",
|
|
35
|
-
"unsafe",
|
|
36
|
-
"virtual",
|
|
37
|
-
"new",
|
|
38
|
-
"sealed",
|
|
39
|
-
"partial"
|
|
40
|
-
], r = {
|
|
41
|
-
keyword: (/* @__PURE__ */ "abstract.as.base.break.case.catch.class.const.continue.do.else.event.explicit.extern.finally.fixed.for.foreach.goto.if.implicit.in.interface.internal.is.lock.namespace.new.operator.out.override.params.private.protected.public.readonly.record.ref.return.scoped.sealed.sizeof.stackalloc.static.struct.switch.this.throw.try.typeof.unchecked.unsafe.using.virtual.void.volatile.while".split(".")).concat(/* @__PURE__ */ "add.alias.and.ascending.args.async.await.by.descending.dynamic.equals.file.from.get.global.group.init.into.join.let.nameof.not.notnull.on.or.orderby.partial.record.remove.required.scoped.select.set.unmanaged.value|0.var.when.where.with.yield".split(".")),
|
|
42
|
-
built_in: t,
|
|
43
|
-
literal: [
|
|
44
|
-
"default",
|
|
45
|
-
"false",
|
|
46
|
-
"null",
|
|
47
|
-
"true"
|
|
48
|
-
]
|
|
49
|
-
}, i = e.inherit(e.TITLE_MODE, { begin: "[a-zA-Z](\\.?\\w)*" }), a = {
|
|
50
|
-
className: "number",
|
|
51
|
-
variants: [
|
|
52
|
-
{ begin: "\\b(0b[01']+)" },
|
|
53
|
-
{ begin: "(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)" },
|
|
54
|
-
{ begin: "(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)" }
|
|
55
|
-
],
|
|
56
|
-
relevance: 0
|
|
57
|
-
}, o = {
|
|
58
|
-
className: "string",
|
|
59
|
-
begin: /"""("*)(?!")(.|\n)*?"""\1/,
|
|
60
|
-
relevance: 1
|
|
61
|
-
}, s = {
|
|
62
|
-
className: "string",
|
|
63
|
-
begin: "@\"",
|
|
64
|
-
end: "\"",
|
|
65
|
-
contains: [{ begin: "\"\"" }]
|
|
66
|
-
}, c = e.inherit(s, { illegal: /\n/ }), l = {
|
|
67
|
-
className: "subst",
|
|
68
|
-
begin: /\{/,
|
|
69
|
-
end: /\}/,
|
|
70
|
-
keywords: r
|
|
71
|
-
}, u = e.inherit(l, { illegal: /\n/ }), d = {
|
|
72
|
-
className: "string",
|
|
73
|
-
begin: /\$"/,
|
|
74
|
-
end: "\"",
|
|
75
|
-
illegal: /\n/,
|
|
76
|
-
contains: [
|
|
77
|
-
{ begin: /\{\{/ },
|
|
78
|
-
{ begin: /\}\}/ },
|
|
79
|
-
e.BACKSLASH_ESCAPE,
|
|
80
|
-
u
|
|
81
|
-
]
|
|
82
|
-
}, f = {
|
|
83
|
-
className: "string",
|
|
84
|
-
begin: /\$@"/,
|
|
85
|
-
end: "\"",
|
|
86
|
-
contains: [
|
|
87
|
-
{ begin: /\{\{/ },
|
|
88
|
-
{ begin: /\}\}/ },
|
|
89
|
-
{ begin: "\"\"" },
|
|
90
|
-
l
|
|
91
|
-
]
|
|
92
|
-
}, p = e.inherit(f, {
|
|
93
|
-
illegal: /\n/,
|
|
94
|
-
contains: [
|
|
95
|
-
{ begin: /\{\{/ },
|
|
96
|
-
{ begin: /\}\}/ },
|
|
97
|
-
{ begin: "\"\"" },
|
|
98
|
-
u
|
|
99
|
-
]
|
|
100
|
-
});
|
|
101
|
-
l.contains = [
|
|
102
|
-
f,
|
|
103
|
-
d,
|
|
104
|
-
s,
|
|
105
|
-
e.APOS_STRING_MODE,
|
|
106
|
-
e.QUOTE_STRING_MODE,
|
|
107
|
-
a,
|
|
108
|
-
e.C_BLOCK_COMMENT_MODE
|
|
109
|
-
], u.contains = [
|
|
110
|
-
p,
|
|
111
|
-
d,
|
|
112
|
-
c,
|
|
113
|
-
e.APOS_STRING_MODE,
|
|
114
|
-
e.QUOTE_STRING_MODE,
|
|
115
|
-
a,
|
|
116
|
-
e.inherit(e.C_BLOCK_COMMENT_MODE, { illegal: /\n/ })
|
|
117
|
-
];
|
|
118
|
-
let m = { variants: [
|
|
119
|
-
o,
|
|
120
|
-
f,
|
|
121
|
-
d,
|
|
122
|
-
s,
|
|
123
|
-
e.APOS_STRING_MODE,
|
|
124
|
-
e.QUOTE_STRING_MODE
|
|
125
|
-
] }, h = {
|
|
126
|
-
begin: "<",
|
|
127
|
-
end: ">",
|
|
128
|
-
contains: [{ beginKeywords: "in out" }, i]
|
|
129
|
-
}, g = e.IDENT_RE + "(<" + e.IDENT_RE + "(\\s*,\\s*" + e.IDENT_RE + ")*>)?(\\[\\])?", _ = {
|
|
130
|
-
begin: "@" + e.IDENT_RE,
|
|
131
|
-
relevance: 0
|
|
132
|
-
};
|
|
133
|
-
return {
|
|
134
|
-
name: "C#",
|
|
135
|
-
aliases: ["cs", "c#"],
|
|
136
|
-
keywords: r,
|
|
137
|
-
illegal: /::/,
|
|
138
|
-
contains: [
|
|
139
|
-
e.COMMENT("///", "$", {
|
|
140
|
-
returnBegin: !0,
|
|
141
|
-
contains: [{
|
|
142
|
-
className: "doctag",
|
|
143
|
-
variants: [
|
|
144
|
-
{
|
|
145
|
-
begin: "///",
|
|
146
|
-
relevance: 0
|
|
147
|
-
},
|
|
148
|
-
{ begin: "<!--|-->" },
|
|
149
|
-
{
|
|
150
|
-
begin: "</?",
|
|
151
|
-
end: ">"
|
|
152
|
-
}
|
|
153
|
-
]
|
|
154
|
-
}]
|
|
155
|
-
}),
|
|
156
|
-
e.C_LINE_COMMENT_MODE,
|
|
157
|
-
e.C_BLOCK_COMMENT_MODE,
|
|
158
|
-
{
|
|
159
|
-
className: "meta",
|
|
160
|
-
begin: "#",
|
|
161
|
-
end: "$",
|
|
162
|
-
keywords: { keyword: "if else elif endif define undef warning error line region endregion pragma checksum" }
|
|
163
|
-
},
|
|
164
|
-
m,
|
|
165
|
-
a,
|
|
166
|
-
{
|
|
167
|
-
beginKeywords: "class interface",
|
|
168
|
-
relevance: 0,
|
|
169
|
-
end: /[{;=]/,
|
|
170
|
-
illegal: /[^\s:,]/,
|
|
171
|
-
contains: [
|
|
172
|
-
{ beginKeywords: "where class" },
|
|
173
|
-
i,
|
|
174
|
-
h,
|
|
175
|
-
e.C_LINE_COMMENT_MODE,
|
|
176
|
-
e.C_BLOCK_COMMENT_MODE
|
|
177
|
-
]
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
beginKeywords: "namespace",
|
|
181
|
-
relevance: 0,
|
|
182
|
-
end: /[{;=]/,
|
|
183
|
-
illegal: /[^\s:]/,
|
|
184
|
-
contains: [
|
|
185
|
-
i,
|
|
186
|
-
e.C_LINE_COMMENT_MODE,
|
|
187
|
-
e.C_BLOCK_COMMENT_MODE
|
|
188
|
-
]
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
beginKeywords: "record",
|
|
192
|
-
relevance: 0,
|
|
193
|
-
end: /[{;=]/,
|
|
194
|
-
illegal: /[^\s:]/,
|
|
195
|
-
contains: [
|
|
196
|
-
i,
|
|
197
|
-
h,
|
|
198
|
-
e.C_LINE_COMMENT_MODE,
|
|
199
|
-
e.C_BLOCK_COMMENT_MODE
|
|
200
|
-
]
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
className: "meta",
|
|
204
|
-
begin: "^\\s*\\[(?=[\\w])",
|
|
205
|
-
excludeBegin: !0,
|
|
206
|
-
end: "\\]",
|
|
207
|
-
excludeEnd: !0,
|
|
208
|
-
contains: [{
|
|
209
|
-
className: "string",
|
|
210
|
-
begin: /"/,
|
|
211
|
-
end: /"/
|
|
212
|
-
}]
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
beginKeywords: "new return throw await else",
|
|
216
|
-
relevance: 0
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
className: "function",
|
|
220
|
-
begin: "(" + g + "\\s+)+" + e.IDENT_RE + "\\s*(<[^=]+>\\s*)?\\(",
|
|
221
|
-
returnBegin: !0,
|
|
222
|
-
end: /\s*[{;=]/,
|
|
223
|
-
excludeEnd: !0,
|
|
224
|
-
keywords: r,
|
|
225
|
-
contains: [
|
|
226
|
-
{
|
|
227
|
-
beginKeywords: n.join(" "),
|
|
228
|
-
relevance: 0
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
begin: e.IDENT_RE + "\\s*(<[^=]+>\\s*)?\\(",
|
|
232
|
-
returnBegin: !0,
|
|
233
|
-
contains: [e.TITLE_MODE, h],
|
|
234
|
-
relevance: 0
|
|
235
|
-
},
|
|
236
|
-
{ match: /\(\)/ },
|
|
237
|
-
{
|
|
238
|
-
className: "params",
|
|
239
|
-
begin: /\(/,
|
|
240
|
-
end: /\)/,
|
|
241
|
-
excludeBegin: !0,
|
|
242
|
-
excludeEnd: !0,
|
|
243
|
-
keywords: r,
|
|
244
|
-
relevance: 0,
|
|
245
|
-
contains: [
|
|
246
|
-
m,
|
|
247
|
-
a,
|
|
248
|
-
e.C_BLOCK_COMMENT_MODE
|
|
249
|
-
]
|
|
250
|
-
},
|
|
251
|
-
e.C_LINE_COMMENT_MODE,
|
|
252
|
-
e.C_BLOCK_COMMENT_MODE
|
|
253
|
-
]
|
|
254
|
-
},
|
|
255
|
-
_
|
|
256
|
-
]
|
|
257
|
-
};
|
|
258
|
-
}
|
|
259
|
-
//#endregion
|
|
260
|
-
export { e as default };
|
package/dist/components/css.js
DELETED
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
//#region node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/languages/css.js
|
|
2
|
-
var e = (e) => ({
|
|
3
|
-
IMPORTANT: {
|
|
4
|
-
scope: "meta",
|
|
5
|
-
begin: "!important"
|
|
6
|
-
},
|
|
7
|
-
BLOCK_COMMENT: e.C_BLOCK_COMMENT_MODE,
|
|
8
|
-
HEXCOLOR: {
|
|
9
|
-
scope: "number",
|
|
10
|
-
begin: /#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/
|
|
11
|
-
},
|
|
12
|
-
FUNCTION_DISPATCH: {
|
|
13
|
-
className: "built_in",
|
|
14
|
-
begin: /[\w-]+(?=\()/
|
|
15
|
-
},
|
|
16
|
-
ATTRIBUTE_SELECTOR_MODE: {
|
|
17
|
-
scope: "selector-attr",
|
|
18
|
-
begin: /\[/,
|
|
19
|
-
end: /\]/,
|
|
20
|
-
illegal: "$",
|
|
21
|
-
contains: [e.APOS_STRING_MODE, e.QUOTE_STRING_MODE]
|
|
22
|
-
},
|
|
23
|
-
CSS_NUMBER_MODE: {
|
|
24
|
-
scope: "number",
|
|
25
|
-
begin: e.NUMBER_RE + "(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",
|
|
26
|
-
relevance: 0
|
|
27
|
-
},
|
|
28
|
-
CSS_VARIABLE: {
|
|
29
|
-
className: "attr",
|
|
30
|
-
begin: /--[A-Za-z_][A-Za-z0-9_-]*/
|
|
31
|
-
}
|
|
32
|
-
}), t = /* @__PURE__ */ "a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video".split("."), n = /* @__PURE__ */ "defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath".split("."), r = [...t, ...n], i = (/* @__PURE__ */ "any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height".split(".")).sort().reverse(), a = (/* @__PURE__ */ "active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where".split(".")).sort().reverse(), o = [
|
|
33
|
-
"after",
|
|
34
|
-
"backdrop",
|
|
35
|
-
"before",
|
|
36
|
-
"cue",
|
|
37
|
-
"cue-region",
|
|
38
|
-
"first-letter",
|
|
39
|
-
"first-line",
|
|
40
|
-
"grammar-error",
|
|
41
|
-
"marker",
|
|
42
|
-
"part",
|
|
43
|
-
"placeholder",
|
|
44
|
-
"selection",
|
|
45
|
-
"slotted",
|
|
46
|
-
"spelling-error"
|
|
47
|
-
].sort().reverse(), s = (/* @__PURE__ */ "accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom".split(".")).sort().reverse();
|
|
48
|
-
function c(t) {
|
|
49
|
-
let n = t.regex, c = e(t), l = { begin: /-(webkit|moz|ms|o)-(?=[a-z])/ }, u = /@-?\w[\w]*(-\w+)*/, d = [t.APOS_STRING_MODE, t.QUOTE_STRING_MODE];
|
|
50
|
-
return {
|
|
51
|
-
name: "CSS",
|
|
52
|
-
case_insensitive: !0,
|
|
53
|
-
illegal: /[=|'\$]/,
|
|
54
|
-
keywords: { keyframePosition: "from to" },
|
|
55
|
-
classNameAliases: { keyframePosition: "selector-tag" },
|
|
56
|
-
contains: [
|
|
57
|
-
c.BLOCK_COMMENT,
|
|
58
|
-
l,
|
|
59
|
-
c.CSS_NUMBER_MODE,
|
|
60
|
-
{
|
|
61
|
-
className: "selector-id",
|
|
62
|
-
begin: /#[A-Za-z0-9_-]+/,
|
|
63
|
-
relevance: 0
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
className: "selector-class",
|
|
67
|
-
begin: "\\.[a-zA-Z-][a-zA-Z0-9_-]*",
|
|
68
|
-
relevance: 0
|
|
69
|
-
},
|
|
70
|
-
c.ATTRIBUTE_SELECTOR_MODE,
|
|
71
|
-
{
|
|
72
|
-
className: "selector-pseudo",
|
|
73
|
-
variants: [{ begin: ":(" + a.join("|") + ")" }, { begin: ":(:)?(" + o.join("|") + ")" }]
|
|
74
|
-
},
|
|
75
|
-
c.CSS_VARIABLE,
|
|
76
|
-
{
|
|
77
|
-
className: "attribute",
|
|
78
|
-
begin: "\\b(" + s.join("|") + ")\\b"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
begin: /:/,
|
|
82
|
-
end: /[;}{]/,
|
|
83
|
-
contains: [
|
|
84
|
-
c.BLOCK_COMMENT,
|
|
85
|
-
c.HEXCOLOR,
|
|
86
|
-
c.IMPORTANT,
|
|
87
|
-
c.CSS_NUMBER_MODE,
|
|
88
|
-
...d,
|
|
89
|
-
{
|
|
90
|
-
begin: /(url|data-uri)\(/,
|
|
91
|
-
end: /\)/,
|
|
92
|
-
relevance: 0,
|
|
93
|
-
keywords: { built_in: "url data-uri" },
|
|
94
|
-
contains: [...d, {
|
|
95
|
-
className: "string",
|
|
96
|
-
begin: /[^)]/,
|
|
97
|
-
endsWithParent: !0,
|
|
98
|
-
excludeEnd: !0
|
|
99
|
-
}]
|
|
100
|
-
},
|
|
101
|
-
c.FUNCTION_DISPATCH
|
|
102
|
-
]
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
begin: n.lookahead(/@/),
|
|
106
|
-
end: "[{;]",
|
|
107
|
-
relevance: 0,
|
|
108
|
-
illegal: /:/,
|
|
109
|
-
contains: [{
|
|
110
|
-
className: "keyword",
|
|
111
|
-
begin: u
|
|
112
|
-
}, {
|
|
113
|
-
begin: /\s/,
|
|
114
|
-
endsWithParent: !0,
|
|
115
|
-
excludeEnd: !0,
|
|
116
|
-
relevance: 0,
|
|
117
|
-
keywords: {
|
|
118
|
-
$pattern: /[a-z-]+/,
|
|
119
|
-
keyword: "and or not only",
|
|
120
|
-
attribute: i.join(" ")
|
|
121
|
-
},
|
|
122
|
-
contains: [
|
|
123
|
-
{
|
|
124
|
-
begin: /[a-z-]+(?=:)/,
|
|
125
|
-
className: "attribute"
|
|
126
|
-
},
|
|
127
|
-
...d,
|
|
128
|
-
c.CSS_NUMBER_MODE
|
|
129
|
-
]
|
|
130
|
-
}]
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
className: "selector-tag",
|
|
134
|
-
begin: "\\b(" + r.join("|") + ")\\b"
|
|
135
|
-
}
|
|
136
|
-
]
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
//#endregion
|
|
140
|
-
export { c as default };
|