@kg-ui/kg-ui-plus 0.0.0 → 0.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.
Files changed (156) hide show
  1. package/README.md +2 -38
  2. package/package.json +1 -2
  3. package/dist/es/KgCopilot/CopiContent/AnswerHead.vue.mjs +0 -16
  4. package/dist/es/KgCopilot/CopiContent/AnswerHead.vue2.mjs +0 -4
  5. package/dist/es/KgCopilot/CopiContent/UserHead.vue.mjs +0 -26
  6. package/dist/es/KgCopilot/CopiContent/UserHead.vue2.mjs +0 -4
  7. package/dist/es/KgCopilot/CopiFooter/components/NewTheme.vue.mjs +0 -7
  8. package/dist/es/KgCopilot/CopiFooter/components/NewTheme.vue2.mjs +0 -49
  9. package/dist/es/KgCopilot/CopiFooter/components/NewTheme.vue3.mjs +0 -4
  10. package/dist/es/KgCopilot/CopiFooter/components/SearchInput/SelectPlugin.vue.mjs +0 -7
  11. package/dist/es/KgCopilot/CopiFooter/components/SearchInput/SelectPlugin.vue2.mjs +0 -94
  12. package/dist/es/KgCopilot/CopiFooter/components/SearchInput/SelectPlugin.vue3.mjs +0 -4
  13. package/dist/es/KgCopilot/CopiFooter/components/SearchInput/SpeechControl.vue.mjs +0 -7
  14. package/dist/es/KgCopilot/CopiFooter/components/SearchInput/SpeechControl.vue2.mjs +0 -33
  15. package/dist/es/KgCopilot/CopiFooter/components/SearchInput/SpeechControl.vue3.mjs +0 -4
  16. package/dist/es/KgCopilot/CopiFooter/components/SearchInput/Upload.vue.mjs +0 -7
  17. package/dist/es/KgCopilot/CopiFooter/components/SearchInput/Upload.vue2.mjs +0 -140
  18. package/dist/es/KgCopilot/CopiFooter/components/SearchInput/Upload.vue3.mjs +0 -4
  19. package/dist/es/KgCopilot/CopiFooter/components/SearchInput/index.vue.mjs +0 -7
  20. package/dist/es/KgCopilot/CopiFooter/components/SearchInput/index.vue2.mjs +0 -131
  21. package/dist/es/KgCopilot/CopiFooter/components/SearchInput/index.vue3.mjs +0 -4
  22. package/dist/es/KgCopilot/CopiFooter/index.vue.mjs +0 -7
  23. package/dist/es/KgCopilot/CopiFooter/index.vue2.mjs +0 -21
  24. package/dist/es/KgCopilot/CopiFooter/index.vue3.mjs +0 -4
  25. package/dist/es/KgCopilot/dialogue.vue.mjs +0 -7
  26. package/dist/es/KgCopilot/dialogue.vue2.mjs +0 -131
  27. package/dist/es/KgCopilot/dialogue.vue3.mjs +0 -4
  28. package/dist/es/KgCopilot/index.vue.mjs +0 -7
  29. package/dist/es/KgCopilot/index.vue2.mjs +0 -49
  30. package/dist/es/KgCopilot/index.vue3.mjs +0 -4
  31. package/dist/es/KgCopilot/mdInCode.mjs +0 -56
  32. package/dist/es/KgCopilot/readMd.vue.mjs +0 -7
  33. package/dist/es/KgCopilot/readMd.vue2.mjs +0 -87
  34. package/dist/es/KgCopilot/readMd.vue3.mjs +0 -4
  35. package/dist/es/ReIcon/index.mjs +0 -11
  36. package/dist/es/ReIcon/src/iconfont.mjs +0 -46
  37. package/dist/es/ReIcon/src/iconifyIconOffline.mjs +0 -30
  38. package/dist/es/ReIcon/src/iconifyIconOnline.mjs +0 -29
  39. package/dist/es/_virtual/___vite-browser-external.mjs +0 -6
  40. package/dist/es/_virtual/__vite-browser-external.mjs +0 -4
  41. package/dist/es/_virtual/_commonjsHelpers.mjs +0 -34
  42. package/dist/es/_virtual/_plugin-vue_export-helper.mjs +0 -10
  43. package/dist/es/_virtual/index.mjs +0 -13
  44. package/dist/es/api/project.mjs +0 -51
  45. package/dist/es/directives/heighlight/index.mjs +0 -69
  46. package/dist/es/directives/index.mjs +0 -4
  47. package/dist/es/home/LFilter/FilterArea.vue.mjs +0 -7
  48. package/dist/es/home/LFilter/FilterArea.vue2.mjs +0 -507
  49. package/dist/es/home/LFilter/FilterArea.vue3.mjs +0 -4
  50. package/dist/es/home/LFilter/FilterHead.vue.mjs +0 -129
  51. package/dist/es/home/LFilter/FilterHead.vue2.mjs +0 -4
  52. package/dist/es/home/LFilter/FilterItem.vue.mjs +0 -7
  53. package/dist/es/home/LFilter/FilterItem.vue2.mjs +0 -114
  54. package/dist/es/home/LFilter/FilterItem.vue3.mjs +0 -4
  55. package/dist/es/home/LFilter/FilterItemIcon.vue.mjs +0 -7
  56. package/dist/es/home/LFilter/FilterItemIcon.vue2.mjs +0 -171
  57. package/dist/es/home/LFilter/FilterItemIcon.vue3.mjs +0 -4
  58. package/dist/es/home/LFilter/index.vue.mjs +0 -17
  59. package/dist/es/home/LFilter/index.vue2.mjs +0 -4
  60. package/dist/es/home/LProject/index.vue.mjs +0 -7
  61. package/dist/es/home/LProject/index.vue2.mjs +0 -70
  62. package/dist/es/home/LProject/index.vue3.mjs +0 -4
  63. package/dist/es/home/index.vue.mjs +0 -7
  64. package/dist/es/home/index.vue2.mjs +0 -80
  65. package/dist/es/home/index.vue3.mjs +0 -4
  66. package/dist/es/index.mjs +0 -36
  67. package/dist/es/node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/check.mjs +0 -8
  68. package/dist/es/node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/circle-plus.mjs +0 -8
  69. package/dist/es/node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/close.mjs +0 -8
  70. package/dist/es/node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/microphone.mjs +0 -8
  71. package/dist/es/node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/paperclip.mjs +0 -8
  72. package/dist/es/node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/promotion.mjs +0 -8
  73. package/dist/es/node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/upload.mjs +0 -8
  74. package/dist/es/node_modules/.pnpm/@iconify-icons_ph@1.2.5/node_modules/@iconify-icons/ph/copy-simple.mjs +0 -8
  75. package/dist/es/node_modules/.pnpm/@iconify-icons_ph@1.2.5/node_modules/@iconify-icons/ph/speaker-high-light.mjs +0 -8
  76. package/dist/es/node_modules/.pnpm/@iconify-icons_ph@1.2.5/node_modules/@iconify-icons/ph/thumbs-down-thin.mjs +0 -8
  77. package/dist/es/node_modules/.pnpm/@iconify-icons_ph@1.2.5/node_modules/@iconify-icons/ph/thumbs-up-thin.mjs +0 -8
  78. package/dist/es/node_modules/.pnpm/@iconify-icons_ph@1.2.5/node_modules/@iconify-icons/ph/warning-bold.mjs +0 -8
  79. package/dist/es/node_modules/.pnpm/@iconify-icons_ri@1.2.3/node_modules/@iconify-icons/ri/add-line.mjs +0 -8
  80. package/dist/es/node_modules/.pnpm/@iconify-icons_ri@1.2.3/node_modules/@iconify-icons/ri/arrow-down-s-line.mjs +0 -8
  81. package/dist/es/node_modules/.pnpm/@iconify-icons_ri@1.2.3/node_modules/@iconify-icons/ri/arrow-up-s-line.mjs +0 -8
  82. package/dist/es/node_modules/.pnpm/@iconify-icons_ri@1.2.3/node_modules/@iconify-icons/ri/check-fill.mjs +0 -8
  83. package/dist/es/node_modules/.pnpm/@iconify-icons_ri@1.2.3/node_modules/@iconify-icons/ri/download-line.mjs +0 -8
  84. package/dist/es/node_modules/.pnpm/@iconify-icons_ri@1.2.3/node_modules/@iconify-icons/ri/more-2-fill.mjs +0 -8
  85. package/dist/es/node_modules/.pnpm/@iconify_vue@4.0.0_vue@3.2.45/node_modules/@iconify/vue/dist/iconify.mjs +0 -1702
  86. package/dist/es/node_modules/.pnpm/@iconify_vue@4.0.0_vue@3.2.45/node_modules/@iconify/vue/dist/offline.mjs +0 -436
  87. package/dist/es/node_modules/.pnpm/@pureadmin_utils@1.8.5_vue@3.2.45/node_modules/@pureadmin/utils/dist/index.mjs +0 -70
  88. package/dist/es/node_modules/.pnpm/call-bind@1.0.7/node_modules/call-bind/callBound.mjs +0 -16
  89. package/dist/es/node_modules/.pnpm/call-bind@1.0.7/node_modules/call-bind/index.mjs +0 -36
  90. package/dist/es/node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.mjs +0 -48
  91. package/dist/es/node_modules/.pnpm/dompurify@3.0.10/node_modules/dompurify/dist/purify.es.mjs +0 -949
  92. package/dist/es/node_modules/.pnpm/es-define-property@1.0.0/node_modules/es-define-property/index.mjs +0 -22
  93. package/dist/es/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.mjs +0 -4
  94. package/dist/es/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.mjs +0 -4
  95. package/dist/es/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.mjs +0 -4
  96. package/dist/es/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.mjs +0 -4
  97. package/dist/es/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.mjs +0 -4
  98. package/dist/es/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.mjs +0 -4
  99. package/dist/es/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.mjs +0 -4
  100. package/dist/es/node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.mjs +0 -72
  101. package/dist/es/node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.mjs +0 -6
  102. package/dist/es/node_modules/.pnpm/get-intrinsic@1.2.4/node_modules/get-intrinsic/index.mjs +0 -320
  103. package/dist/es/node_modules/.pnpm/gopd@1.0.1/node_modules/gopd/index.mjs +0 -14
  104. package/dist/es/node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.mjs +0 -19
  105. package/dist/es/node_modules/.pnpm/has-proto@1.0.3/node_modules/has-proto/index.mjs +0 -11
  106. package/dist/es/node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/index.mjs +0 -21
  107. package/dist/es/node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/shams.mjs +0 -48
  108. package/dist/es/node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.mjs +0 -8
  109. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/core.mjs +0 -5
  110. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/apache.mjs +0 -91
  111. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/bash.mjs +0 -377
  112. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/basic.mjs +0 -221
  113. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/c.mjs +0 -280
  114. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/css.mjs +0 -732
  115. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/dart.mjs +0 -247
  116. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/django.mjs +0 -47
  117. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/dns.mjs +0 -71
  118. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/dos.mjs +0 -160
  119. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/dust.mjs +0 -38
  120. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/erlang.mjs +0 -176
  121. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/go.mjs +0 -135
  122. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/http.mjs +0 -89
  123. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/java.mjs +0 -254
  124. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/javascript.mjs +0 -698
  125. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/json.mjs +0 -40
  126. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/markdown.mjs +0 -227
  127. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/nginx.mjs +0 -144
  128. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/php.mjs +0 -589
  129. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/python.mjs +0 -414
  130. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/ruby.mjs +0 -414
  131. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/stylus.mjs +0 -766
  132. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/swift.mjs +0 -832
  133. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/typescript.mjs +0 -788
  134. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/xml.mjs +0 -227
  135. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/lib/core.mjs +0 -1580
  136. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/styles/paraiso-light.css.mjs +0 -4
  137. package/dist/es/node_modules/.pnpm/marked@12.0.1/node_modules/marked/lib/marked.esm.mjs +0 -2045
  138. package/dist/es/node_modules/.pnpm/object-inspect@1.13.1/node_modules/object-inspect/index.mjs +0 -514
  139. package/dist/es/node_modules/.pnpm/pinyin-match@1.2.4/node_modules/pinyin-match/es/main.mjs +0 -124
  140. package/dist/es/node_modules/.pnpm/qs@6.11.0/node_modules/qs/lib/formats.mjs +0 -22
  141. package/dist/es/node_modules/.pnpm/qs@6.11.0/node_modules/qs/lib/index.mjs +0 -14
  142. package/dist/es/node_modules/.pnpm/qs@6.11.0/node_modules/qs/lib/parse.mjs +0 -199
  143. package/dist/es/node_modules/.pnpm/qs@6.11.0/node_modules/qs/lib/stringify.mjs +0 -262
  144. package/dist/es/node_modules/.pnpm/qs@6.11.0/node_modules/qs/lib/utils.mjs +0 -196
  145. package/dist/es/node_modules/.pnpm/set-function-length@1.2.2/node_modules/set-function-length/index.mjs +0 -54
  146. package/dist/es/node_modules/.pnpm/side-channel@1.0.6/node_modules/side-channel/index.mjs +0 -115
  147. package/dist/es/store/index.mjs +0 -8
  148. package/dist/es/store/modules/copilot.mjs +0 -108
  149. package/dist/es/store/modules/filters.mjs +0 -346
  150. package/dist/es/store/modules/types.mjs +0 -19
  151. package/dist/es/style/index.scss.mjs +0 -4
  152. package/dist/es/style/tailwind.css.mjs +0 -4
  153. package/dist/es/style.css +0 -1
  154. package/dist/es/utils/home.mjs +0 -129
  155. package/dist/es/utils/http/index.mjs +0 -90
  156. package/dist/es/utils/message.mjs +0 -42
@@ -1,247 +0,0 @@
1
- function dart(hljs) {
2
- const SUBST = {
3
- className: "subst",
4
- variants: [{ begin: "\\$[A-Za-z0-9_]+" }]
5
- };
6
- const BRACED_SUBST = {
7
- className: "subst",
8
- variants: [
9
- {
10
- begin: /\$\{/,
11
- end: /\}/
12
- }
13
- ],
14
- keywords: "true false null this is new super"
15
- };
16
- const STRING = {
17
- className: "string",
18
- variants: [
19
- {
20
- begin: "r'''",
21
- end: "'''"
22
- },
23
- {
24
- begin: 'r"""',
25
- end: '"""'
26
- },
27
- {
28
- begin: "r'",
29
- end: "'",
30
- illegal: "\\n"
31
- },
32
- {
33
- begin: 'r"',
34
- end: '"',
35
- illegal: "\\n"
36
- },
37
- {
38
- begin: "'''",
39
- end: "'''",
40
- contains: [
41
- hljs.BACKSLASH_ESCAPE,
42
- SUBST,
43
- BRACED_SUBST
44
- ]
45
- },
46
- {
47
- begin: '"""',
48
- end: '"""',
49
- contains: [
50
- hljs.BACKSLASH_ESCAPE,
51
- SUBST,
52
- BRACED_SUBST
53
- ]
54
- },
55
- {
56
- begin: "'",
57
- end: "'",
58
- illegal: "\\n",
59
- contains: [
60
- hljs.BACKSLASH_ESCAPE,
61
- SUBST,
62
- BRACED_SUBST
63
- ]
64
- },
65
- {
66
- begin: '"',
67
- end: '"',
68
- illegal: "\\n",
69
- contains: [
70
- hljs.BACKSLASH_ESCAPE,
71
- SUBST,
72
- BRACED_SUBST
73
- ]
74
- }
75
- ]
76
- };
77
- BRACED_SUBST.contains = [
78
- hljs.C_NUMBER_MODE,
79
- STRING
80
- ];
81
- const BUILT_IN_TYPES = [
82
- // dart:core
83
- "Comparable",
84
- "DateTime",
85
- "Duration",
86
- "Function",
87
- "Iterable",
88
- "Iterator",
89
- "List",
90
- "Map",
91
- "Match",
92
- "Object",
93
- "Pattern",
94
- "RegExp",
95
- "Set",
96
- "Stopwatch",
97
- "String",
98
- "StringBuffer",
99
- "StringSink",
100
- "Symbol",
101
- "Type",
102
- "Uri",
103
- "bool",
104
- "double",
105
- "int",
106
- "num",
107
- // dart:html
108
- "Element",
109
- "ElementList"
110
- ];
111
- const NULLABLE_BUILT_IN_TYPES = BUILT_IN_TYPES.map((e) => `${e}?`);
112
- const BASIC_KEYWORDS = [
113
- "abstract",
114
- "as",
115
- "assert",
116
- "async",
117
- "await",
118
- "base",
119
- "break",
120
- "case",
121
- "catch",
122
- "class",
123
- "const",
124
- "continue",
125
- "covariant",
126
- "default",
127
- "deferred",
128
- "do",
129
- "dynamic",
130
- "else",
131
- "enum",
132
- "export",
133
- "extends",
134
- "extension",
135
- "external",
136
- "factory",
137
- "false",
138
- "final",
139
- "finally",
140
- "for",
141
- "Function",
142
- "get",
143
- "hide",
144
- "if",
145
- "implements",
146
- "import",
147
- "in",
148
- "interface",
149
- "is",
150
- "late",
151
- "library",
152
- "mixin",
153
- "new",
154
- "null",
155
- "on",
156
- "operator",
157
- "part",
158
- "required",
159
- "rethrow",
160
- "return",
161
- "sealed",
162
- "set",
163
- "show",
164
- "static",
165
- "super",
166
- "switch",
167
- "sync",
168
- "this",
169
- "throw",
170
- "true",
171
- "try",
172
- "typedef",
173
- "var",
174
- "void",
175
- "when",
176
- "while",
177
- "with",
178
- "yield"
179
- ];
180
- const KEYWORDS = {
181
- keyword: BASIC_KEYWORDS,
182
- built_in: BUILT_IN_TYPES.concat(NULLABLE_BUILT_IN_TYPES).concat([
183
- // dart:core
184
- "Never",
185
- "Null",
186
- "dynamic",
187
- "print",
188
- // dart:html
189
- "document",
190
- "querySelector",
191
- "querySelectorAll",
192
- "window"
193
- ]),
194
- $pattern: /[A-Za-z][A-Za-z0-9_]*\??/
195
- };
196
- return {
197
- name: "Dart",
198
- keywords: KEYWORDS,
199
- contains: [
200
- STRING,
201
- hljs.COMMENT(
202
- /\/\*\*(?!\/)/,
203
- /\*\//,
204
- {
205
- subLanguage: "markdown",
206
- relevance: 0
207
- }
208
- ),
209
- hljs.COMMENT(
210
- /\/{3,} ?/,
211
- /$/,
212
- { contains: [
213
- {
214
- subLanguage: "markdown",
215
- begin: ".",
216
- end: "$",
217
- relevance: 0
218
- }
219
- ] }
220
- ),
221
- hljs.C_LINE_COMMENT_MODE,
222
- hljs.C_BLOCK_COMMENT_MODE,
223
- {
224
- className: "class",
225
- beginKeywords: "class interface",
226
- end: /\{/,
227
- excludeEnd: true,
228
- contains: [
229
- { beginKeywords: "extends implements" },
230
- hljs.UNDERSCORE_TITLE_MODE
231
- ]
232
- },
233
- hljs.C_NUMBER_MODE,
234
- {
235
- className: "meta",
236
- begin: "@[A-Za-z]+"
237
- },
238
- {
239
- begin: "=>"
240
- // No markup, just a relevance booster
241
- }
242
- ]
243
- };
244
- }
245
- export {
246
- dart as default
247
- };
@@ -1,47 +0,0 @@
1
- function django(hljs) {
2
- const FILTER = {
3
- begin: /\|[A-Za-z]+:?/,
4
- keywords: { name: "truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone" },
5
- contains: [
6
- hljs.QUOTE_STRING_MODE,
7
- hljs.APOS_STRING_MODE
8
- ]
9
- };
10
- return {
11
- name: "Django",
12
- aliases: ["jinja"],
13
- case_insensitive: true,
14
- subLanguage: "xml",
15
- contains: [
16
- hljs.COMMENT(/\{%\s*comment\s*%\}/, /\{%\s*endcomment\s*%\}/),
17
- hljs.COMMENT(/\{#/, /#\}/),
18
- {
19
- className: "template-tag",
20
- begin: /\{%/,
21
- end: /%\}/,
22
- contains: [
23
- {
24
- className: "name",
25
- begin: /\w+/,
26
- keywords: { name: "comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim" },
27
- starts: {
28
- endsWithParent: true,
29
- keywords: "in by as",
30
- contains: [FILTER],
31
- relevance: 0
32
- }
33
- }
34
- ]
35
- },
36
- {
37
- className: "template-variable",
38
- begin: /\{\{/,
39
- end: /\}\}/,
40
- contains: [FILTER]
41
- }
42
- ]
43
- };
44
- }
45
- export {
46
- django as default
47
- };
@@ -1,71 +0,0 @@
1
- function dns(hljs) {
2
- const KEYWORDS = [
3
- "IN",
4
- "A",
5
- "AAAA",
6
- "AFSDB",
7
- "APL",
8
- "CAA",
9
- "CDNSKEY",
10
- "CDS",
11
- "CERT",
12
- "CNAME",
13
- "DHCID",
14
- "DLV",
15
- "DNAME",
16
- "DNSKEY",
17
- "DS",
18
- "HIP",
19
- "IPSECKEY",
20
- "KEY",
21
- "KX",
22
- "LOC",
23
- "MX",
24
- "NAPTR",
25
- "NS",
26
- "NSEC",
27
- "NSEC3",
28
- "NSEC3PARAM",
29
- "PTR",
30
- "RRSIG",
31
- "RP",
32
- "SIG",
33
- "SOA",
34
- "SRV",
35
- "SSHFP",
36
- "TA",
37
- "TKEY",
38
- "TLSA",
39
- "TSIG",
40
- "TXT"
41
- ];
42
- return {
43
- name: "DNS Zone",
44
- aliases: [
45
- "bind",
46
- "zone"
47
- ],
48
- keywords: KEYWORDS,
49
- contains: [
50
- hljs.COMMENT(";", "$", { relevance: 0 }),
51
- {
52
- className: "meta",
53
- begin: /^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/
54
- },
55
- // IPv6
56
- {
57
- className: "number",
58
- begin: "((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"
59
- },
60
- // IPv4
61
- {
62
- className: "number",
63
- begin: "((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"
64
- },
65
- hljs.inherit(hljs.NUMBER_MODE, { begin: /\b\d+[dhwm]?/ })
66
- ]
67
- };
68
- }
69
- export {
70
- dns as default
71
- };
@@ -1,160 +0,0 @@
1
- function dos(hljs) {
2
- const COMMENT = hljs.COMMENT(
3
- /^\s*@?rem\b/,
4
- /$/,
5
- { relevance: 10 }
6
- );
7
- const LABEL = {
8
- className: "symbol",
9
- begin: "^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)",
10
- relevance: 0
11
- };
12
- const KEYWORDS = [
13
- "if",
14
- "else",
15
- "goto",
16
- "for",
17
- "in",
18
- "do",
19
- "call",
20
- "exit",
21
- "not",
22
- "exist",
23
- "errorlevel",
24
- "defined",
25
- "equ",
26
- "neq",
27
- "lss",
28
- "leq",
29
- "gtr",
30
- "geq"
31
- ];
32
- const BUILT_INS = [
33
- "prn",
34
- "nul",
35
- "lpt3",
36
- "lpt2",
37
- "lpt1",
38
- "con",
39
- "com4",
40
- "com3",
41
- "com2",
42
- "com1",
43
- "aux",
44
- "shift",
45
- "cd",
46
- "dir",
47
- "echo",
48
- "setlocal",
49
- "endlocal",
50
- "set",
51
- "pause",
52
- "copy",
53
- "append",
54
- "assoc",
55
- "at",
56
- "attrib",
57
- "break",
58
- "cacls",
59
- "cd",
60
- "chcp",
61
- "chdir",
62
- "chkdsk",
63
- "chkntfs",
64
- "cls",
65
- "cmd",
66
- "color",
67
- "comp",
68
- "compact",
69
- "convert",
70
- "date",
71
- "dir",
72
- "diskcomp",
73
- "diskcopy",
74
- "doskey",
75
- "erase",
76
- "fs",
77
- "find",
78
- "findstr",
79
- "format",
80
- "ftype",
81
- "graftabl",
82
- "help",
83
- "keyb",
84
- "label",
85
- "md",
86
- "mkdir",
87
- "mode",
88
- "more",
89
- "move",
90
- "path",
91
- "pause",
92
- "print",
93
- "popd",
94
- "pushd",
95
- "promt",
96
- "rd",
97
- "recover",
98
- "rem",
99
- "rename",
100
- "replace",
101
- "restore",
102
- "rmdir",
103
- "shift",
104
- "sort",
105
- "start",
106
- "subst",
107
- "time",
108
- "title",
109
- "tree",
110
- "type",
111
- "ver",
112
- "verify",
113
- "vol",
114
- // winutils
115
- "ping",
116
- "net",
117
- "ipconfig",
118
- "taskkill",
119
- "xcopy",
120
- "ren",
121
- "del"
122
- ];
123
- return {
124
- name: "Batch file (DOS)",
125
- aliases: [
126
- "bat",
127
- "cmd"
128
- ],
129
- case_insensitive: true,
130
- illegal: /\/\*/,
131
- keywords: {
132
- keyword: KEYWORDS,
133
- built_in: BUILT_INS
134
- },
135
- contains: [
136
- {
137
- className: "variable",
138
- begin: /%%[^ ]|%[^ ]+?%|![^ ]+?!/
139
- },
140
- {
141
- className: "function",
142
- begin: LABEL.begin,
143
- end: "goto:eof",
144
- contains: [
145
- hljs.inherit(hljs.TITLE_MODE, { begin: "([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*" }),
146
- COMMENT
147
- ]
148
- },
149
- {
150
- className: "number",
151
- begin: "\\b\\d+",
152
- relevance: 0
153
- },
154
- COMMENT
155
- ]
156
- };
157
- }
158
- export {
159
- dos as default
160
- };
@@ -1,38 +0,0 @@
1
- function dust(hljs) {
2
- const EXPRESSION_KEYWORDS = "if eq ne lt lte gt gte select default math sep";
3
- return {
4
- name: "Dust",
5
- aliases: ["dst"],
6
- case_insensitive: true,
7
- subLanguage: "xml",
8
- contains: [
9
- {
10
- className: "template-tag",
11
- begin: /\{[#\/]/,
12
- end: /\}/,
13
- illegal: /;/,
14
- contains: [
15
- {
16
- className: "name",
17
- begin: /[a-zA-Z\.-]+/,
18
- starts: {
19
- endsWithParent: true,
20
- relevance: 0,
21
- contains: [hljs.QUOTE_STRING_MODE]
22
- }
23
- }
24
- ]
25
- },
26
- {
27
- className: "template-variable",
28
- begin: /\{/,
29
- end: /\}/,
30
- illegal: /;/,
31
- keywords: EXPRESSION_KEYWORDS
32
- }
33
- ]
34
- };
35
- }
36
- export {
37
- dust as default
38
- };