@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,93 @@
|
|
|
1
|
+
function r(n) {
|
|
2
|
+
for (var e = {}, i = n.split(" "), l = 0; l < i.length; ++l)
|
|
3
|
+
e[i[l]] = !0;
|
|
4
|
+
return e;
|
|
5
|
+
}
|
|
6
|
+
var t = r("algorithm and annotation assert block break class connect connector constant constrainedby der discrete each else elseif elsewhen encapsulated end enumeration equation expandable extends external false final flow for function if import impure in initial inner input loop model not operator or outer output package parameter partial protected public pure record redeclare replaceable return stream then true type when while within"), a = r("abs acos actualStream asin atan atan2 cardinality ceil cos cosh delay div edge exp floor getInstanceName homotopy inStream integer log log10 mod pre reinit rem semiLinear sign sin sinh spatialDistribution sqrt tan tanh"), u = r("Real Boolean Integer String"), f = [].concat(Object.keys(t), Object.keys(a), Object.keys(u)), k = /[;=\(:\),{}.*<>+\-\/^\[\]]/, s = /(:=|<=|>=|==|<>|\.\+|\.\-|\.\*|\.\/|\.\^)/, o = /[0-9]/, c = /[_a-zA-Z]/;
|
|
7
|
+
function p(n, e) {
|
|
8
|
+
return n.skipToEnd(), e.tokenize = null, "comment";
|
|
9
|
+
}
|
|
10
|
+
function d(n, e) {
|
|
11
|
+
for (var i = !1, l; l = n.next(); ) {
|
|
12
|
+
if (i && l == "/") {
|
|
13
|
+
e.tokenize = null;
|
|
14
|
+
break;
|
|
15
|
+
}
|
|
16
|
+
i = l == "*";
|
|
17
|
+
}
|
|
18
|
+
return "comment";
|
|
19
|
+
}
|
|
20
|
+
function h(n, e) {
|
|
21
|
+
for (var i = !1, l; (l = n.next()) != null; ) {
|
|
22
|
+
if (l == '"' && !i) {
|
|
23
|
+
e.tokenize = null, e.sol = !1;
|
|
24
|
+
break;
|
|
25
|
+
}
|
|
26
|
+
i = !i && l == "\\";
|
|
27
|
+
}
|
|
28
|
+
return "string";
|
|
29
|
+
}
|
|
30
|
+
function b(n, e) {
|
|
31
|
+
for (n.eatWhile(o); n.eat(o) || n.eat(c); )
|
|
32
|
+
;
|
|
33
|
+
var i = n.current();
|
|
34
|
+
return e.sol && (i == "package" || i == "model" || i == "when" || i == "connector") ? e.level++ : e.sol && i == "end" && e.level > 0 && e.level--, e.tokenize = null, e.sol = !1, t.propertyIsEnumerable(i) ? "keyword" : a.propertyIsEnumerable(i) ? "builtin" : u.propertyIsEnumerable(i) ? "atom" : "variable";
|
|
35
|
+
}
|
|
36
|
+
function v(n, e) {
|
|
37
|
+
for (; n.eat(/[^']/); )
|
|
38
|
+
;
|
|
39
|
+
return e.tokenize = null, e.sol = !1, n.eat("'") ? "variable" : "error";
|
|
40
|
+
}
|
|
41
|
+
function g(n, e) {
|
|
42
|
+
return n.eatWhile(o), n.eat(".") && n.eatWhile(o), (n.eat("e") || n.eat("E")) && (n.eat("-") || n.eat("+"), n.eatWhile(o)), e.tokenize = null, e.sol = !1, "number";
|
|
43
|
+
}
|
|
44
|
+
const z = {
|
|
45
|
+
name: "modelica",
|
|
46
|
+
startState: function() {
|
|
47
|
+
return {
|
|
48
|
+
tokenize: null,
|
|
49
|
+
level: 0,
|
|
50
|
+
sol: !0
|
|
51
|
+
};
|
|
52
|
+
},
|
|
53
|
+
token: function(n, e) {
|
|
54
|
+
if (e.tokenize != null)
|
|
55
|
+
return e.tokenize(n, e);
|
|
56
|
+
if (n.sol() && (e.sol = !0), n.eatSpace())
|
|
57
|
+
return e.tokenize = null, null;
|
|
58
|
+
var i = n.next();
|
|
59
|
+
if (i == "/" && n.eat("/"))
|
|
60
|
+
e.tokenize = p;
|
|
61
|
+
else if (i == "/" && n.eat("*"))
|
|
62
|
+
e.tokenize = d;
|
|
63
|
+
else {
|
|
64
|
+
if (s.test(i + n.peek()))
|
|
65
|
+
return n.next(), e.tokenize = null, "operator";
|
|
66
|
+
if (k.test(i))
|
|
67
|
+
return e.tokenize = null, "operator";
|
|
68
|
+
if (c.test(i))
|
|
69
|
+
e.tokenize = b;
|
|
70
|
+
else if (i == "'" && n.peek() && n.peek() != "'")
|
|
71
|
+
e.tokenize = v;
|
|
72
|
+
else if (i == '"')
|
|
73
|
+
e.tokenize = h;
|
|
74
|
+
else if (o.test(i))
|
|
75
|
+
e.tokenize = g;
|
|
76
|
+
else
|
|
77
|
+
return e.tokenize = null, "error";
|
|
78
|
+
}
|
|
79
|
+
return e.tokenize(n, e);
|
|
80
|
+
},
|
|
81
|
+
indent: function(n, e, i) {
|
|
82
|
+
if (n.tokenize != null) return null;
|
|
83
|
+
var l = n.level;
|
|
84
|
+
return /(algorithm)/.test(e) && l--, /(equation)/.test(e) && l--, /(initial algorithm)/.test(e) && l--, /(initial equation)/.test(e) && l--, /(end)/.test(e) && l--, l > 0 ? i.unit * l : 0;
|
|
85
|
+
},
|
|
86
|
+
languageData: {
|
|
87
|
+
commentTokens: { line: "//", block: { open: "/*", close: "*/" } },
|
|
88
|
+
autocomplete: f
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
export {
|
|
92
|
+
z as modelica
|
|
93
|
+
};
|