@salesforcedevs/dx-components 0.75.0 → 0.76.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforcedevs/dx-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.76.0",
|
|
4
4
|
"description": "DX Lightning web components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"@types/lodash.kebabcase": "^4.1.7",
|
|
29
29
|
"@types/vimeo__player": "^2.16.2"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "a2035a05750651e4268f79952ae1fcd834827204"
|
|
32
32
|
}
|
|
@@ -45,7 +45,11 @@ export default class CodeBlock extends LightningElement {
|
|
|
45
45
|
{ label: "PHP", id: "php" },
|
|
46
46
|
{ label: "JSON", id: "json" },
|
|
47
47
|
{ label: "Swift", id: "swift" },
|
|
48
|
-
{ label: "Kotlin", id: "kotlin" }
|
|
48
|
+
{ label: "Kotlin", id: "kotlin" },
|
|
49
|
+
{ label: "Python", id: "python" },
|
|
50
|
+
{ label: "Bash", id: "bash" },
|
|
51
|
+
{ label: "SQL", id: "sql" },
|
|
52
|
+
{ label: "YAML", id: "yaml" }
|
|
49
53
|
];
|
|
50
54
|
|
|
51
55
|
connectedCallback() {
|
|
@@ -35,8 +35,8 @@ function commonjsRequire() {
|
|
|
35
35
|
/* eslint-disable */
|
|
36
36
|
//Start autogenerated code
|
|
37
37
|
var prism = createCommonjsModule(function (module) {
|
|
38
|
-
/* PrismJS 1.
|
|
39
|
-
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+apex+aspnet+basic+c+csharp+cpp+css-extras+java+javadoc+javadoclike+jsdoc+js-extras+json+json5+jsonp+jsstacktrace+kotlin+markdown+markup-templating+php+phpdoc+php-extras+plsql+regex+sql+swift+typescript+typoscript+uri+vbnet&plugins=line-numbers+unescaped-markup+match-braces */
|
|
38
|
+
/* PrismJS 1.28.0
|
|
39
|
+
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+apex+aspnet+bash+basic+c+csharp+cpp+css-extras+java+javadoc+javadoclike+jsdoc+js-extras+json+json5+jsonp+jsstacktrace+kotlin+markdown+markup-templating+php+phpdoc+php-extras+plsql+python+regex+sql+swift+typescript+typoscript+uri+vbnet+yaml&plugins=line-numbers+unescaped-markup+match-braces */
|
|
40
40
|
var _self =
|
|
41
41
|
"undefined" != typeof window
|
|
42
42
|
? window
|
|
@@ -566,7 +566,7 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
566
566
|
inside: {
|
|
567
567
|
punctuation: [
|
|
568
568
|
{ pattern: /^=/, alias: "attr-equals" },
|
|
569
|
-
|
|
569
|
+
{ pattern: /^(\s*)["']|["']$/, lookbehind: !0 }
|
|
570
570
|
]
|
|
571
571
|
}
|
|
572
572
|
},
|
|
@@ -672,7 +672,11 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
672
672
|
(s.languages.css = {
|
|
673
673
|
comment: /\/\*[\s\S]*?\*\//,
|
|
674
674
|
atrule: {
|
|
675
|
-
pattern:
|
|
675
|
+
pattern: RegExp(
|
|
676
|
+
"@[\\w-](?:[^;{\\s\"']|\\s+(?!\\s)|" +
|
|
677
|
+
e.source +
|
|
678
|
+
")*?(?:;|(?=\\s*\\{))"
|
|
679
|
+
),
|
|
676
680
|
inside: {
|
|
677
681
|
rule: /^@[\w-]+/,
|
|
678
682
|
"selector-function-argument": {
|
|
@@ -1325,6 +1329,182 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1325
1329
|
}
|
|
1326
1330
|
}
|
|
1327
1331
|
);
|
|
1332
|
+
!(function (e) {
|
|
1333
|
+
var t =
|
|
1334
|
+
"\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",
|
|
1335
|
+
n = {
|
|
1336
|
+
pattern: /(^(["']?)\w+\2)[ \t]+\S.*/,
|
|
1337
|
+
lookbehind: !0,
|
|
1338
|
+
alias: "punctuation",
|
|
1339
|
+
inside: null
|
|
1340
|
+
},
|
|
1341
|
+
a = {
|
|
1342
|
+
bash: n,
|
|
1343
|
+
environment: { pattern: RegExp("\\$" + t), alias: "constant" },
|
|
1344
|
+
variable: [
|
|
1345
|
+
{
|
|
1346
|
+
pattern: /\$?\(\([\s\S]+?\)\)/,
|
|
1347
|
+
greedy: !0,
|
|
1348
|
+
inside: {
|
|
1349
|
+
variable: [
|
|
1350
|
+
{
|
|
1351
|
+
pattern: /(^\$\(\([\s\S]+)\)\)/,
|
|
1352
|
+
lookbehind: !0
|
|
1353
|
+
},
|
|
1354
|
+
/^\$\(\(/
|
|
1355
|
+
],
|
|
1356
|
+
number: /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,
|
|
1357
|
+
operator:
|
|
1358
|
+
/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,
|
|
1359
|
+
punctuation: /\(\(?|\)\)?|,|;/
|
|
1360
|
+
}
|
|
1361
|
+
},
|
|
1362
|
+
{
|
|
1363
|
+
pattern: /\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,
|
|
1364
|
+
greedy: !0,
|
|
1365
|
+
inside: { variable: /^\$\(|^`|\)$|`$/ }
|
|
1366
|
+
},
|
|
1367
|
+
{
|
|
1368
|
+
pattern: /\$\{[^}]+\}/,
|
|
1369
|
+
greedy: !0,
|
|
1370
|
+
inside: {
|
|
1371
|
+
operator: /:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,
|
|
1372
|
+
punctuation: /[\[\]]/,
|
|
1373
|
+
environment: {
|
|
1374
|
+
pattern: RegExp("(\\{)" + t),
|
|
1375
|
+
lookbehind: !0,
|
|
1376
|
+
alias: "constant"
|
|
1377
|
+
}
|
|
1378
|
+
}
|
|
1379
|
+
},
|
|
1380
|
+
/\$(?:\w+|[#?*!@$])/
|
|
1381
|
+
],
|
|
1382
|
+
entity: /\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/
|
|
1383
|
+
};
|
|
1384
|
+
(e.languages.bash = {
|
|
1385
|
+
shebang: { pattern: /^#!\s*\/.*/, alias: "important" },
|
|
1386
|
+
comment: { pattern: /(^|[^"{\\$])#.*/, lookbehind: !0 },
|
|
1387
|
+
"function-name": [
|
|
1388
|
+
{
|
|
1389
|
+
pattern: /(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,
|
|
1390
|
+
lookbehind: !0,
|
|
1391
|
+
alias: "function"
|
|
1392
|
+
},
|
|
1393
|
+
{ pattern: /\b[\w-]+(?=\s*\(\s*\)\s*\{)/, alias: "function" }
|
|
1394
|
+
],
|
|
1395
|
+
"for-or-select": {
|
|
1396
|
+
pattern: /(\b(?:for|select)\s+)\w+(?=\s+in\s)/,
|
|
1397
|
+
alias: "variable",
|
|
1398
|
+
lookbehind: !0
|
|
1399
|
+
},
|
|
1400
|
+
"assign-left": {
|
|
1401
|
+
pattern: /(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,
|
|
1402
|
+
inside: {
|
|
1403
|
+
environment: {
|
|
1404
|
+
pattern: RegExp("(^|[\\s;|&]|[<>]\\()" + t),
|
|
1405
|
+
lookbehind: !0,
|
|
1406
|
+
alias: "constant"
|
|
1407
|
+
}
|
|
1408
|
+
},
|
|
1409
|
+
alias: "variable",
|
|
1410
|
+
lookbehind: !0
|
|
1411
|
+
},
|
|
1412
|
+
parameter: {
|
|
1413
|
+
pattern: /(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,
|
|
1414
|
+
alias: "variable",
|
|
1415
|
+
lookbehind: !0
|
|
1416
|
+
},
|
|
1417
|
+
string: [
|
|
1418
|
+
{
|
|
1419
|
+
pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,
|
|
1420
|
+
lookbehind: !0,
|
|
1421
|
+
greedy: !0,
|
|
1422
|
+
inside: a
|
|
1423
|
+
},
|
|
1424
|
+
{
|
|
1425
|
+
pattern:
|
|
1426
|
+
/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,
|
|
1427
|
+
lookbehind: !0,
|
|
1428
|
+
greedy: !0,
|
|
1429
|
+
inside: { bash: n }
|
|
1430
|
+
},
|
|
1431
|
+
{
|
|
1432
|
+
pattern:
|
|
1433
|
+
/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,
|
|
1434
|
+
lookbehind: !0,
|
|
1435
|
+
greedy: !0,
|
|
1436
|
+
inside: a
|
|
1437
|
+
},
|
|
1438
|
+
{ pattern: /(^|[^$\\])'[^']*'/, lookbehind: !0, greedy: !0 },
|
|
1439
|
+
{
|
|
1440
|
+
pattern: /\$'(?:[^'\\]|\\[\s\S])*'/,
|
|
1441
|
+
greedy: !0,
|
|
1442
|
+
inside: { entity: a.entity }
|
|
1443
|
+
}
|
|
1444
|
+
],
|
|
1445
|
+
environment: { pattern: RegExp("\\$?" + t), alias: "constant" },
|
|
1446
|
+
variable: a.variable,
|
|
1447
|
+
function: {
|
|
1448
|
+
pattern:
|
|
1449
|
+
/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,
|
|
1450
|
+
lookbehind: !0
|
|
1451
|
+
},
|
|
1452
|
+
keyword: {
|
|
1453
|
+
pattern:
|
|
1454
|
+
/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,
|
|
1455
|
+
lookbehind: !0
|
|
1456
|
+
},
|
|
1457
|
+
builtin: {
|
|
1458
|
+
pattern:
|
|
1459
|
+
/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,
|
|
1460
|
+
lookbehind: !0,
|
|
1461
|
+
alias: "class-name"
|
|
1462
|
+
},
|
|
1463
|
+
boolean: {
|
|
1464
|
+
pattern: /(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,
|
|
1465
|
+
lookbehind: !0
|
|
1466
|
+
},
|
|
1467
|
+
"file-descriptor": { pattern: /\B&\d\b/, alias: "important" },
|
|
1468
|
+
operator: {
|
|
1469
|
+
pattern:
|
|
1470
|
+
/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,
|
|
1471
|
+
inside: {
|
|
1472
|
+
"file-descriptor": { pattern: /^\d/, alias: "important" }
|
|
1473
|
+
}
|
|
1474
|
+
},
|
|
1475
|
+
punctuation: /\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,
|
|
1476
|
+
number: {
|
|
1477
|
+
pattern: /(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,
|
|
1478
|
+
lookbehind: !0
|
|
1479
|
+
}
|
|
1480
|
+
}),
|
|
1481
|
+
(n.inside = e.languages.bash);
|
|
1482
|
+
for (
|
|
1483
|
+
var s = [
|
|
1484
|
+
"comment",
|
|
1485
|
+
"function-name",
|
|
1486
|
+
"for-or-select",
|
|
1487
|
+
"assign-left",
|
|
1488
|
+
"parameter",
|
|
1489
|
+
"string",
|
|
1490
|
+
"environment",
|
|
1491
|
+
"function",
|
|
1492
|
+
"keyword",
|
|
1493
|
+
"builtin",
|
|
1494
|
+
"boolean",
|
|
1495
|
+
"file-descriptor",
|
|
1496
|
+
"operator",
|
|
1497
|
+
"punctuation",
|
|
1498
|
+
"number"
|
|
1499
|
+
],
|
|
1500
|
+
o = a.variable[1].inside,
|
|
1501
|
+
i = 0;
|
|
1502
|
+
i < s.length;
|
|
1503
|
+
i++
|
|
1504
|
+
)
|
|
1505
|
+
o[s[i]] = e.languages.bash[s[i]];
|
|
1506
|
+
e.languages.shell = e.languages.bash;
|
|
1507
|
+
})(Prism);
|
|
1328
1508
|
Prism.languages.basic = {
|
|
1329
1509
|
comment: { pattern: /(?:!|REM\b).+/i, inside: { keyword: /^REM/i } },
|
|
1330
1510
|
string: {
|
|
@@ -1579,7 +1759,7 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1579
1759
|
color: [
|
|
1580
1760
|
{
|
|
1581
1761
|
pattern:
|
|
1582
|
-
/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,
|
|
1762
|
+
/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,
|
|
1583
1763
|
lookbehind: !0
|
|
1584
1764
|
},
|
|
1585
1765
|
{
|
|
@@ -1652,7 +1832,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1652
1832
|
pattern:
|
|
1653
1833
|
/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,
|
|
1654
1834
|
lookbehind: !0
|
|
1655
|
-
}
|
|
1835
|
+
},
|
|
1836
|
+
constant: /\b[A-Z][A-Z_\d]+\b/
|
|
1656
1837
|
})),
|
|
1657
1838
|
e.languages.insertBefore("java", "string", {
|
|
1658
1839
|
"triple-quoted-string": {
|
|
@@ -1863,7 +2044,7 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1863
2044
|
},
|
|
1864
2045
|
{
|
|
1865
2046
|
pattern:
|
|
1866
|
-
/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,
|
|
2047
|
+
/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,
|
|
1867
2048
|
alias: "return-type",
|
|
1868
2049
|
greedy: !0,
|
|
1869
2050
|
lookbehind: !0
|
|
@@ -1890,12 +2071,12 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1890
2071
|
/\bclass\b/i,
|
|
1891
2072
|
{
|
|
1892
2073
|
pattern:
|
|
1893
|
-
/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,
|
|
2074
|
+
/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,
|
|
1894
2075
|
lookbehind: !0
|
|
1895
2076
|
}
|
|
1896
2077
|
],
|
|
1897
2078
|
"argument-name": {
|
|
1898
|
-
pattern: /([(,]\s
|
|
2079
|
+
pattern: /([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,
|
|
1899
2080
|
lookbehind: !0
|
|
1900
2081
|
},
|
|
1901
2082
|
"class-name": [
|
|
@@ -2965,6 +3146,65 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2965
3146
|
Prism.languages.insertBefore("plsql", "operator", {
|
|
2966
3147
|
label: { pattern: /<<\s*\w+\s*>>/, alias: "symbol" }
|
|
2967
3148
|
});
|
|
3149
|
+
(Prism.languages.python = {
|
|
3150
|
+
comment: { pattern: /(^|[^\\])#.*/, lookbehind: !0, greedy: !0 },
|
|
3151
|
+
"string-interpolation": {
|
|
3152
|
+
pattern:
|
|
3153
|
+
/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,
|
|
3154
|
+
greedy: !0,
|
|
3155
|
+
inside: {
|
|
3156
|
+
interpolation: {
|
|
3157
|
+
pattern:
|
|
3158
|
+
/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,
|
|
3159
|
+
lookbehind: !0,
|
|
3160
|
+
inside: {
|
|
3161
|
+
"format-spec": {
|
|
3162
|
+
pattern: /(:)[^:(){}]+(?=\}$)/,
|
|
3163
|
+
lookbehind: !0
|
|
3164
|
+
},
|
|
3165
|
+
"conversion-option": {
|
|
3166
|
+
pattern: //,
|
|
3167
|
+
alias: "punctuation"
|
|
3168
|
+
},
|
|
3169
|
+
rest: null
|
|
3170
|
+
}
|
|
3171
|
+
},
|
|
3172
|
+
string: /[\s\S]+/
|
|
3173
|
+
}
|
|
3174
|
+
},
|
|
3175
|
+
"triple-quoted-string": {
|
|
3176
|
+
pattern: /(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,
|
|
3177
|
+
greedy: !0,
|
|
3178
|
+
alias: "string"
|
|
3179
|
+
},
|
|
3180
|
+
string: {
|
|
3181
|
+
pattern: /(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,
|
|
3182
|
+
greedy: !0
|
|
3183
|
+
},
|
|
3184
|
+
function: {
|
|
3185
|
+
pattern: /((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,
|
|
3186
|
+
lookbehind: !0
|
|
3187
|
+
},
|
|
3188
|
+
"class-name": { pattern: /(\bclass\s+)\w+/i, lookbehind: !0 },
|
|
3189
|
+
decorator: {
|
|
3190
|
+
pattern: /(^[\t ]*)@\w+(?:\.\w+)*/m,
|
|
3191
|
+
lookbehind: !0,
|
|
3192
|
+
alias: ["annotation", "punctuation"],
|
|
3193
|
+
inside: { punctuation: /\./ }
|
|
3194
|
+
},
|
|
3195
|
+
keyword:
|
|
3196
|
+
/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,
|
|
3197
|
+
builtin:
|
|
3198
|
+
/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,
|
|
3199
|
+
boolean: /\b(?:False|None|True)\b/,
|
|
3200
|
+
number: /\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,
|
|
3201
|
+
operator: /[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,
|
|
3202
|
+
punctuation: /[{}[\];(),.:]/
|
|
3203
|
+
}),
|
|
3204
|
+
(Prism.languages.python[
|
|
3205
|
+
"string-interpolation"
|
|
3206
|
+
].inside.interpolation.inside.rest = Prism.languages.python),
|
|
3207
|
+
(Prism.languages.py = Prism.languages.python);
|
|
2968
3208
|
!(function (a) {
|
|
2969
3209
|
var e = { pattern: /\\[\\(){}[\]^$+*?|.]/, alias: "escape" },
|
|
2970
3210
|
n =
|
|
@@ -3261,6 +3501,104 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
3261
3501
|
/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,
|
|
3262
3502
|
punctuation: /[,;:(){}]/
|
|
3263
3503
|
});
|
|
3504
|
+
!(function (e) {
|
|
3505
|
+
var n = /[*&][^\s[\]{},]+/,
|
|
3506
|
+
r =
|
|
3507
|
+
/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,
|
|
3508
|
+
t =
|
|
3509
|
+
"(?:" +
|
|
3510
|
+
r.source +
|
|
3511
|
+
"(?:[ \t]+" +
|
|
3512
|
+
n.source +
|
|
3513
|
+
")?|" +
|
|
3514
|
+
n.source +
|
|
3515
|
+
"(?:[ \t]+" +
|
|
3516
|
+
r.source +
|
|
3517
|
+
")?)",
|
|
3518
|
+
a =
|
|
3519
|
+
"(?:[^\\s\\x00-\\x08\\x0e-\\x1f!\"#%&'*,\\-:>?@[\\]`{|}\\x7f-\\x84\\x86-\\x9f\\ud800-\\udfff\\ufffe\\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*".replace(
|
|
3520
|
+
/<PLAIN>/g,
|
|
3521
|
+
function () {
|
|
3522
|
+
return "[^\\s\\x00-\\x08\\x0e-\\x1f,[\\]{}\\x7f-\\x84\\x86-\\x9f\\ud800-\\udfff\\ufffe\\uffff]";
|
|
3523
|
+
}
|
|
3524
|
+
),
|
|
3525
|
+
d = "\"(?:[^\"\\\\\r\n]|\\\\.)*\"|'(?:[^'\\\\\r\n]|\\\\.)*'";
|
|
3526
|
+
function o(e, n) {
|
|
3527
|
+
n = (n || "").replace(/m/g, "") + "m";
|
|
3528
|
+
var r =
|
|
3529
|
+
"([:\\-,[{]\\s*(?:\\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\\]|\\}|(?:[\r\n]\\s*)?#))"
|
|
3530
|
+
.replace(/<<prop>>/g, function () {
|
|
3531
|
+
return t;
|
|
3532
|
+
})
|
|
3533
|
+
.replace(/<<value>>/g, function () {
|
|
3534
|
+
return e;
|
|
3535
|
+
});
|
|
3536
|
+
return RegExp(r, n);
|
|
3537
|
+
}
|
|
3538
|
+
(e.languages.yaml = {
|
|
3539
|
+
scalar: {
|
|
3540
|
+
pattern: RegExp(
|
|
3541
|
+
"([\\-:]\\s*(?:\\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\\S[^\r\n]*(?:\\2[^\r\n]+)*)".replace(
|
|
3542
|
+
/<<prop>>/g,
|
|
3543
|
+
function () {
|
|
3544
|
+
return t;
|
|
3545
|
+
}
|
|
3546
|
+
)
|
|
3547
|
+
),
|
|
3548
|
+
lookbehind: !0,
|
|
3549
|
+
alias: "string"
|
|
3550
|
+
},
|
|
3551
|
+
comment: /#.*/,
|
|
3552
|
+
key: {
|
|
3553
|
+
pattern: RegExp(
|
|
3554
|
+
"((?:^|[:\\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\\s*:\\s)"
|
|
3555
|
+
.replace(/<<prop>>/g, function () {
|
|
3556
|
+
return t;
|
|
3557
|
+
})
|
|
3558
|
+
.replace(/<<key>>/g, function () {
|
|
3559
|
+
return "(?:" + a + "|" + d + ")";
|
|
3560
|
+
})
|
|
3561
|
+
),
|
|
3562
|
+
lookbehind: !0,
|
|
3563
|
+
greedy: !0,
|
|
3564
|
+
alias: "atrule"
|
|
3565
|
+
},
|
|
3566
|
+
directive: {
|
|
3567
|
+
pattern: /(^[ \t]*)%.+/m,
|
|
3568
|
+
lookbehind: !0,
|
|
3569
|
+
alias: "important"
|
|
3570
|
+
},
|
|
3571
|
+
datetime: {
|
|
3572
|
+
pattern: o(
|
|
3573
|
+
"\\d{4}-\\d\\d?-\\d\\d?(?:[tT]|[ \t]+)\\d\\d?:\\d{2}:\\d{2}(?:\\.\\d*)?(?:[ \t]*(?:Z|[-+]\\d\\d?(?::\\d{2})?))?|\\d{4}-\\d{2}-\\d{2}|\\d\\d?:\\d{2}(?::\\d{2}(?:\\.\\d*)?)?"
|
|
3574
|
+
),
|
|
3575
|
+
lookbehind: !0,
|
|
3576
|
+
alias: "number"
|
|
3577
|
+
},
|
|
3578
|
+
boolean: {
|
|
3579
|
+
pattern: o("false|true", "i"),
|
|
3580
|
+
lookbehind: !0,
|
|
3581
|
+
alias: "important"
|
|
3582
|
+
},
|
|
3583
|
+
null: {
|
|
3584
|
+
pattern: o("null|~", "i"),
|
|
3585
|
+
lookbehind: !0,
|
|
3586
|
+
alias: "important"
|
|
3587
|
+
},
|
|
3588
|
+
string: { pattern: o(d), lookbehind: !0, greedy: !0 },
|
|
3589
|
+
number: {
|
|
3590
|
+
pattern: o(
|
|
3591
|
+
"[+-]?(?:0x[\\da-f]+|0o[0-7]+|(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:e[+-]?\\d+)?|\\.inf|\\.nan)",
|
|
3592
|
+
"i"
|
|
3593
|
+
),
|
|
3594
|
+
lookbehind: !0
|
|
3595
|
+
},
|
|
3596
|
+
tag: r,
|
|
3597
|
+
important: n,
|
|
3598
|
+
punctuation: /---|[:[\]{}\-,|>?]|\.\.\./
|
|
3599
|
+
}),
|
|
3600
|
+
(e.languages.yml = e.languages.yaml);
|
|
3601
|
+
})(Prism);
|
|
3264
3602
|
!(function () {
|
|
3265
3603
|
if ("undefined" != typeof Prism && "undefined" != typeof document) {
|
|
3266
3604
|
var e = "line-numbers",
|