@lapis-notes/lapis-plugin-contacts 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +661 -0
- package/README.md +125 -2
- package/dist/ContactMarkdownEditor-DoTuV5ka.js +69 -0
- package/dist/apl-B2DGVGxc.js +76 -0
- package/dist/asciiarmor-2LVJmxlE.js +34 -0
- package/dist/asn1-jKiBa2Ya.js +95 -0
- package/dist/asterisk-DS281yxp.js +271 -0
- package/dist/brainfuck-C_p9pTT8.js +34 -0
- package/dist/clike-BMALKCNj.js +620 -0
- package/dist/clojure-CCKyeQKf.js +800 -0
- package/dist/cmake-CuaCgAKt.js +28 -0
- package/dist/cobol-BlTKFDRj.js +72 -0
- package/dist/coffeescript-BVCvwO8I.js +179 -0
- package/dist/commonlisp-D_kxz07b.js +75 -0
- package/dist/crystal-D309uH6_.js +217 -0
- package/dist/css-BkF-NPzE.js +1553 -0
- package/dist/cypher-BMq4Fwjl.js +68 -0
- package/dist/d-BZcgY6La.js +127 -0
- package/dist/diff-Cg9d_RX2.js +18 -0
- package/dist/dist--69zc0xf.js +247 -0
- package/dist/dist-3FBhTVCW.js +260 -0
- package/dist/dist-BIUwdsPJ.js +300 -0
- package/dist/dist-BKba7kvs.js +75 -0
- package/dist/dist-BqWvrEwT.js +98 -0
- package/dist/dist-ByOxufTQ.js +58 -0
- package/dist/dist-CU8VWvs8.js +288 -0
- package/dist/dist-C_EduL9A.js +268 -0
- package/dist/dist-Cqfbp9Nb.js +310 -0
- package/dist/dist-DLu2t1SV.js +611 -0
- package/dist/dist-DPPvU9Yj.js +134 -0
- package/dist/dist-DufK_s_A.js +564 -0
- package/dist/dist-Dug8cDx1.js +93 -0
- package/dist/dist-IBryJBJR.js +137 -0
- package/dist/dist-ciD_jrkE.js +158 -0
- package/dist/dist-v6nTmcwY.js +71 -0
- package/dist/dockerfile-DFX8bq9N.js +194 -0
- package/dist/dtd-CtLokQ-U.js +84 -0
- package/dist/dylan-QYeExnWK.js +234 -0
- package/dist/ebnf-DUPDuY4r.js +78 -0
- package/dist/ecl-CiXN-g_D.js +121 -0
- package/dist/eiffel-yQhjl4T1.js +110 -0
- package/dist/elm-CNT9vbN0.js +108 -0
- package/dist/erlang-CFOYdy9e.js +487 -0
- package/dist/factor-Clf6BoVk.js +65 -0
- package/dist/fcl-CPC2WYrI.js +103 -0
- package/dist/forth-BmxRyE9S.js +60 -0
- package/dist/fortran-9bvPyrOW.js +442 -0
- package/dist/gas-cpmYfFX2.js +183 -0
- package/dist/gherkin-CJuwpceU.js +34 -0
- package/dist/groovy-DZeT_VM-.js +146 -0
- package/dist/haskell-CxiO_7JL.js +375 -0
- package/dist/haxe-70NVW1pR.js +359 -0
- package/dist/http-D9LttvKF.js +44 -0
- package/dist/idl-B6TRFYjl.js +947 -0
- package/dist/index-BGQ4A2O3.js +148265 -0
- package/dist/index.js +16 -0
- package/dist/javascript-DOuB9oqA.js +691 -0
- package/dist/julia-DpvXAuO6.js +241 -0
- package/dist/livescript-CanGTf8u.js +272 -0
- package/dist/lua-DBWH1E3Q.js +217 -0
- package/dist/mathematica-jaRHnSxC.js +35 -0
- package/dist/mbox-BctzC1hL.js +76 -0
- package/dist/mirc-CFBPAOaF.js +72 -0
- package/dist/mllike-BSnXJBGA.js +272 -0
- package/dist/modelica-vUgVs--1.js +93 -0
- package/dist/module-BFIPY8X5.js +2973 -0
- package/dist/mscgen-Cpl0NYLN.js +104 -0
- package/dist/mumps-CQoS1kWX.js +25 -0
- package/dist/native-CDi4YD_s.js +13 -0
- package/dist/nginx-zDPm3Z74.js +89 -0
- package/dist/nsis-DAjtFbMY.js +62 -0
- package/dist/ntriples-CsNjv2QF.js +79 -0
- package/dist/octave-C8PmmSRH.js +143 -0
- package/dist/oz-Ce8aN8oE.js +151 -0
- package/dist/pascal-De0D6mP7.js +77 -0
- package/dist/perl-B4bSCe1C.js +915 -0
- package/dist/pig-D24Z8EXi.js +54 -0
- package/dist/powershell-DkYVfTzP.js +249 -0
- package/dist/properties-Dn9wna3M.js +26 -0
- package/dist/protobuf-BPIjwpzm.js +49 -0
- package/dist/pug-TGXr6c5j.js +248 -0
- package/dist/puppet-nyd4dhjf.js +45 -0
- package/dist/python-BkR3uSy8.js +313 -0
- package/dist/q-DyHZGnqm.js +86 -0
- package/dist/r-LKEuhEGI.js +104 -0
- package/dist/rpm-IznJm2Xc.js +57 -0
- package/dist/ruby-DjGRFiOI.js +228 -0
- package/dist/sas-7E8yHoCW.js +105 -0
- package/dist/scheme-DjibxsNh.js +124 -0
- package/dist/shell-C0C2sNA_.js +182 -0
- package/dist/sieve-Bwz7vjP5.js +72 -0
- package/dist/simple-mode-mNVtnu0l.js +89 -0
- package/dist/smalltalk-Bhddl2pB.js +48 -0
- package/dist/solr-BNlsLglM.js +41 -0
- package/dist/sparql-FarWu_Gb.js +197 -0
- package/dist/spreadsheet-C-cy4P5N.js +49 -0
- package/dist/sql-CfG5lQ3l.js +282 -0
- package/dist/styles.css +1 -0
- package/dist/stylus-CAdqWld3.js +250 -0
- package/dist/swift-DSxqR9R6.js +230 -0
- package/dist/tcl-xfoLljhY.js +81 -0
- package/dist/textile-D1AWE-pc.js +295 -0
- package/dist/tiddlywiki-5wqsXtSk.js +155 -0
- package/dist/tiki-__Kn3CeS.js +181 -0
- package/dist/toml-DWAmxCjl.js +58 -0
- package/dist/troff-D2UO-fKf.js +35 -0
- package/dist/ttcn-Bsa4sfRm.js +123 -0
- package/dist/ttcn-cfg-Bac_acMi.js +88 -0
- package/dist/turtle-xwJUxoPV.js +80 -0
- package/dist/types/contacts/contact-fields.d.ts +28 -0
- package/dist/types/contacts/contact-list-view.d.ts +41 -0
- package/dist/types/contacts/contact-methods.d.ts +38 -0
- package/dist/types/contacts/contact-selection.d.ts +23 -0
- package/dist/types/contacts/markdown-session-types.d.ts +8 -0
- package/dist/types/contacts/model.d.ts +103 -0
- package/dist/types/contacts/person.d.ts +49 -0
- package/dist/types/contacts/validate-frontmatter.d.ts +1 -0
- package/dist/types/lib/contacts-plugin.d.ts +34 -0
- package/dist/types/lib/contacts-settings-definition.d.ts +24 -0
- package/dist/types/lib/contacts-settings.d.ts +48 -0
- package/dist/types/lib/contacts-view.d.ts +22 -0
- package/dist/types/lib/google/conflict-queue.d.ts +35 -0
- package/dist/types/lib/google/google-person.d.ts +54 -0
- package/dist/types/lib/google/google-sync.d.ts +50 -0
- package/dist/types/lib/google/people-client.d.ts +50 -0
- package/dist/types/lib/google/people-import.d.ts +61 -0
- package/dist/types/lib/google/people-push.d.ts +30 -0
- package/dist/types/lib/google/reconcile.d.ts +62 -0
- package/dist/types/lib/google/vault-contact-files.d.ts +8 -0
- package/dist/types/lib/google-conflicts-view.d.ts +15 -0
- package/dist/types/lib/index.d.ts +4 -0
- package/dist/types/lib/vault-contacts.d.ts +64 -0
- package/dist/vb-c2kQGd6-.js +74 -0
- package/dist/vbscript-1f_Dhg5H.js +324 -0
- package/dist/velocity-DJd0pTTC.js +96 -0
- package/dist/verilog-CiS1jyi5.js +262 -0
- package/dist/vhdl-T9HkrbI2.js +106 -0
- package/dist/webidl-CjfDENEo.js +155 -0
- package/dist/xquery-Ct6lEb4B.js +422 -0
- package/dist/yacas-C0absKBh.js +73 -0
- package/dist/z80-Pki2zAjW.js +61 -0
- package/manifest.json +43 -0
- package/package.json +116 -4
- package/schemas/contact.schema.json +619 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
function c(t) {
|
|
2
|
+
return {
|
|
3
|
+
name: "mscgen",
|
|
4
|
+
startState: i,
|
|
5
|
+
copyState: s,
|
|
6
|
+
token: u(t),
|
|
7
|
+
languageData: {
|
|
8
|
+
commentTokens: { line: "#", block: { open: "/*", close: "*/" } }
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
const a = c({
|
|
13
|
+
keywords: ["msc"],
|
|
14
|
+
options: ["hscale", "width", "arcgradient", "wordwraparcs"],
|
|
15
|
+
constants: ["true", "false", "on", "off"],
|
|
16
|
+
attributes: ["label", "idurl", "id", "url", "linecolor", "linecolour", "textcolor", "textcolour", "textbgcolor", "textbgcolour", "arclinecolor", "arclinecolour", "arctextcolor", "arctextcolour", "arctextbgcolor", "arctextbgcolour", "arcskip"],
|
|
17
|
+
brackets: ["\\{", "\\}"],
|
|
18
|
+
// [ and ] are brackets too, but these get handled in with lists
|
|
19
|
+
arcsWords: ["note", "abox", "rbox", "box"],
|
|
20
|
+
arcsOthers: ["\\|\\|\\|", "\\.\\.\\.", "---", "--", "<->", "==", "<<=>>", "<=>", "\\.\\.", "<<>>", "::", "<:>", "->", "=>>", "=>", ">>", ":>", "<-", "<<=", "<=", "<<", "<:", "x-", "-x"],
|
|
21
|
+
singlecomment: ["//", "#"],
|
|
22
|
+
operators: ["="]
|
|
23
|
+
}), l = c({
|
|
24
|
+
keywords: null,
|
|
25
|
+
options: ["hscale", "width", "arcgradient", "wordwraparcs", "wordwrapentities", "watermark"],
|
|
26
|
+
constants: ["true", "false", "on", "off", "auto"],
|
|
27
|
+
attributes: null,
|
|
28
|
+
brackets: ["\\{", "\\}"],
|
|
29
|
+
arcsWords: ["note", "abox", "rbox", "box", "alt", "else", "opt", "break", "par", "seq", "strict", "neg", "critical", "ignore", "consider", "assert", "loop", "ref", "exc"],
|
|
30
|
+
arcsOthers: ["\\|\\|\\|", "\\.\\.\\.", "---", "--", "<->", "==", "<<=>>", "<=>", "\\.\\.", "<<>>", "::", "<:>", "->", "=>>", "=>", ">>", ":>", "<-", "<<=", "<=", "<<", "<:", "x-", "-x"],
|
|
31
|
+
singlecomment: ["//", "#"],
|
|
32
|
+
operators: ["="]
|
|
33
|
+
}), b = c({
|
|
34
|
+
keywords: ["msc", "xu"],
|
|
35
|
+
options: ["hscale", "width", "arcgradient", "wordwraparcs", "wordwrapentities", "watermark"],
|
|
36
|
+
constants: ["true", "false", "on", "off", "auto"],
|
|
37
|
+
attributes: ["label", "idurl", "id", "url", "linecolor", "linecolour", "textcolor", "textcolour", "textbgcolor", "textbgcolour", "arclinecolor", "arclinecolour", "arctextcolor", "arctextcolour", "arctextbgcolor", "arctextbgcolour", "arcskip", "title", "deactivate", "activate", "activation"],
|
|
38
|
+
brackets: ["\\{", "\\}"],
|
|
39
|
+
// [ and ] are brackets too, but these get handled in with lists
|
|
40
|
+
arcsWords: ["note", "abox", "rbox", "box", "alt", "else", "opt", "break", "par", "seq", "strict", "neg", "critical", "ignore", "consider", "assert", "loop", "ref", "exc"],
|
|
41
|
+
arcsOthers: ["\\|\\|\\|", "\\.\\.\\.", "---", "--", "<->", "==", "<<=>>", "<=>", "\\.\\.", "<<>>", "::", "<:>", "->", "=>>", "=>", ">>", ":>", "<-", "<<=", "<=", "<<", "<:", "x-", "-x"],
|
|
42
|
+
singlecomment: ["//", "#"],
|
|
43
|
+
operators: ["="]
|
|
44
|
+
});
|
|
45
|
+
function n(t) {
|
|
46
|
+
return new RegExp("^\\b(" + t.join("|") + ")\\b", "i");
|
|
47
|
+
}
|
|
48
|
+
function o(t) {
|
|
49
|
+
return new RegExp("^(?:" + t.join("|") + ")", "i");
|
|
50
|
+
}
|
|
51
|
+
function i() {
|
|
52
|
+
return {
|
|
53
|
+
inComment: !1,
|
|
54
|
+
inString: !1,
|
|
55
|
+
inAttributeList: !1,
|
|
56
|
+
inScript: !1
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function s(t) {
|
|
60
|
+
return {
|
|
61
|
+
inComment: t.inComment,
|
|
62
|
+
inString: t.inString,
|
|
63
|
+
inAttributeList: t.inAttributeList,
|
|
64
|
+
inScript: t.inScript
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
function u(t) {
|
|
68
|
+
return function(r, e) {
|
|
69
|
+
if (r.match(o(t.brackets), !0, !0))
|
|
70
|
+
return "bracket";
|
|
71
|
+
if (!e.inComment) {
|
|
72
|
+
if (r.match(/\/\*[^\*\/]*/, !0, !0))
|
|
73
|
+
return e.inComment = !0, "comment";
|
|
74
|
+
if (r.match(o(t.singlecomment), !0, !0))
|
|
75
|
+
return r.skipToEnd(), "comment";
|
|
76
|
+
}
|
|
77
|
+
if (e.inComment)
|
|
78
|
+
return r.match(/[^\*\/]*\*\//, !0, !0) ? e.inComment = !1 : r.skipToEnd(), "comment";
|
|
79
|
+
if (!e.inString && r.match(/\"(\\\"|[^\"])*/, !0, !0))
|
|
80
|
+
return e.inString = !0, "string";
|
|
81
|
+
if (e.inString)
|
|
82
|
+
return r.match(/[^\"]*\"/, !0, !0) ? e.inString = !1 : r.skipToEnd(), "string";
|
|
83
|
+
if (t.keywords && r.match(n(t.keywords), !0, !0) || r.match(n(t.options), !0, !0) || r.match(n(t.arcsWords), !0, !0) || r.match(o(t.arcsOthers), !0, !0))
|
|
84
|
+
return "keyword";
|
|
85
|
+
if (t.operators && r.match(o(t.operators), !0, !0))
|
|
86
|
+
return "operator";
|
|
87
|
+
if (t.constants && r.match(o(t.constants), !0, !0))
|
|
88
|
+
return "variable";
|
|
89
|
+
if (!t.inAttributeList && t.attributes && r.match("[", !0, !0))
|
|
90
|
+
return t.inAttributeList = !0, "bracket";
|
|
91
|
+
if (t.inAttributeList) {
|
|
92
|
+
if (t.attributes !== null && r.match(n(t.attributes), !0, !0))
|
|
93
|
+
return "attribute";
|
|
94
|
+
if (r.match("]", !0, !0))
|
|
95
|
+
return t.inAttributeList = !1, "bracket";
|
|
96
|
+
}
|
|
97
|
+
return r.next(), null;
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
export {
|
|
101
|
+
a as mscgen,
|
|
102
|
+
l as msgenny,
|
|
103
|
+
b as xu
|
|
104
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
function o(e) {
|
|
2
|
+
return new RegExp("^((" + e.join(")|(") + "))\\b", "i");
|
|
3
|
+
}
|
|
4
|
+
var i = new RegExp("^[\\+\\-\\*/&#!_?\\\\<>=\\'\\[\\]]"), $ = new RegExp("^(('=)|(<=)|(>=)|('>)|('<)|([[)|(]])|(^$))"), t = new RegExp("^[\\.,:]"), c = new RegExp("[()]"), l = new RegExp("^[%A-Za-z][A-Za-z0-9]*"), a = ["break", "close", "do", "else", "for", "goto", "halt", "hang", "if", "job", "kill", "lock", "merge", "new", "open", "quit", "read", "set", "tcommit", "trollback", "tstart", "use", "view", "write", "xecute", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "q", "r", "s", "tc", "tro", "ts", "u", "v", "w", "x"], d = ["\\$ascii", "\\$char", "\\$data", "\\$ecode", "\\$estack", "\\$etrap", "\\$extract", "\\$find", "\\$fnumber", "\\$get", "\\$horolog", "\\$io", "\\$increment", "\\$job", "\\$justify", "\\$length", "\\$name", "\\$next", "\\$order", "\\$piece", "\\$qlength", "\\$qsubscript", "\\$query", "\\$quit", "\\$random", "\\$reverse", "\\$select", "\\$stack", "\\$test", "\\$text", "\\$translate", "\\$view", "\\$x", "\\$y", "\\$a", "\\$c", "\\$d", "\\$e", "\\$ec", "\\$es", "\\$et", "\\$f", "\\$fn", "\\$g", "\\$h", "\\$i", "\\$j", "\\$l", "\\$n", "\\$na", "\\$o", "\\$p", "\\$q", "\\$ql", "\\$qs", "\\$r", "\\$re", "\\$s", "\\$st", "\\$t", "\\$tr", "\\$v", "\\$z"], u = o(d), f = o(a);
|
|
5
|
+
function m(e, n) {
|
|
6
|
+
e.sol() && (n.label = !0, n.commandMode = 0);
|
|
7
|
+
var r = e.peek();
|
|
8
|
+
return r == " " || r == " " ? (n.label = !1, n.commandMode == 0 ? n.commandMode = 1 : (n.commandMode < 0 || n.commandMode == 2) && (n.commandMode = 0)) : r != "." && n.commandMode > 0 && (r == ":" ? n.commandMode = -1 : n.commandMode = 2), (r === "(" || r === " ") && (n.label = !1), r === ";" ? (e.skipToEnd(), "comment") : e.match(/^[-+]?\d+(\.\d+)?([eE][-+]?\d+)?/) ? "number" : r == '"' ? e.skipTo('"') ? (e.next(), "string") : (e.skipToEnd(), "error") : e.match($) || e.match(i) ? "operator" : e.match(t) ? null : c.test(r) ? (e.next(), "bracket") : n.commandMode > 0 && e.match(f) ? "controlKeyword" : e.match(u) ? "builtin" : e.match(l) ? "variable" : r === "$" || r === "^" ? (e.next(), "builtin") : r === "@" ? (e.next(), "string.special") : /[\w%]/.test(r) ? (e.eatWhile(/[\w%]/), "variable") : (e.next(), "error");
|
|
9
|
+
}
|
|
10
|
+
const s = {
|
|
11
|
+
name: "mumps",
|
|
12
|
+
startState: function() {
|
|
13
|
+
return {
|
|
14
|
+
label: !1,
|
|
15
|
+
commandMode: 0
|
|
16
|
+
};
|
|
17
|
+
},
|
|
18
|
+
token: function(e, n) {
|
|
19
|
+
var r = m(e, n);
|
|
20
|
+
return n.label ? "tag" : r;
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
s as mumps
|
|
25
|
+
};
|