[mod] css
This commit is contained in:
parent
4bfb36e4e0
commit
13871be80b
7 changed files with 43 additions and 29 deletions
35
package-lock.json
generated
35
package-lock.json
generated
|
|
@ -16,6 +16,7 @@
|
||||||
"@codemirror/search": "^6.5.11",
|
"@codemirror/search": "^6.5.11",
|
||||||
"@codemirror/theme-one-dark": "^6.1.3",
|
"@codemirror/theme-one-dark": "^6.1.3",
|
||||||
"@codemirror/view": "^6.38.6",
|
"@codemirror/view": "^6.38.6",
|
||||||
|
"@quietui/quiet-browser": "^1.6.1",
|
||||||
"@replit/codemirror-minimap": "^0.5.2",
|
"@replit/codemirror-minimap": "^0.5.2",
|
||||||
"@zenfs/core": "^2.4.2",
|
"@zenfs/core": "^2.4.2",
|
||||||
"@zenfs/dom": "^1.2.5",
|
"@zenfs/dom": "^1.2.5",
|
||||||
|
|
@ -696,6 +697,16 @@
|
||||||
"integrity": "sha512-0FCeqG6WvK4/Cc06F/xXMd/pv4FeisI0c1tUpBbfhA2n9Y8eZEv4Karjbmf2ZqQCPUWMrGp8A571tCjizxoTiQ==",
|
"integrity": "sha512-0FCeqG6WvK4/Cc06F/xXMd/pv4FeisI0c1tUpBbfhA2n9Y8eZEv4Karjbmf2ZqQCPUWMrGp8A571tCjizxoTiQ==",
|
||||||
"license": "Apache-2.0"
|
"license": "Apache-2.0"
|
||||||
},
|
},
|
||||||
|
"node_modules/@quietui/quiet-browser": {
|
||||||
|
"version": "1.6.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@quietui/quiet-browser/-/quiet-browser-1.6.1.tgz",
|
||||||
|
"integrity": "sha512-t398SI83bVmIuM6rQZTfQkMop8lMGdPmcSPhd6AUg2tpBVorQXUNTTQnFotevAHKU5kXch9amTKNnW44GBcUaw==",
|
||||||
|
"license": "MIT",
|
||||||
|
"funding": {
|
||||||
|
"type": "individual",
|
||||||
|
"url": "https://github.com/sponsors/quietui"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@replit/codemirror-minimap": {
|
"node_modules/@replit/codemirror-minimap": {
|
||||||
"version": "0.5.2",
|
"version": "0.5.2",
|
||||||
"resolved": "https://registry.npmjs.org/@replit/codemirror-minimap/-/codemirror-minimap-0.5.2.tgz",
|
"resolved": "https://registry.npmjs.org/@replit/codemirror-minimap/-/codemirror-minimap-0.5.2.tgz",
|
||||||
|
|
@ -1104,9 +1115,9 @@
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/@types/node": {
|
"node_modules/@types/node": {
|
||||||
"version": "24.9.1",
|
"version": "24.9.2",
|
||||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.9.1.tgz",
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.9.2.tgz",
|
||||||
"integrity": "sha512-QoiaXANRkSXK6p0Duvt56W208du4P9Uye9hWLWgGMDTEoKPhuenzNcC4vGUmrNkiOKTlIrBoyNQYNpSwfEZXSg==",
|
"integrity": "sha512-uWN8YqxXxqFMX2RqGOrumsKeti4LlmIMIyV0lgut4jx7KQBcBiW6vkDtIBvHnHIquwNfJhk8v2OtmO8zXWHfPA==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"undici-types": "~7.16.0"
|
"undici-types": "~7.16.0"
|
||||||
|
|
@ -1549,9 +1560,9 @@
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/kerium": {
|
"node_modules/kerium": {
|
||||||
"version": "1.3.7",
|
"version": "1.3.8",
|
||||||
"resolved": "https://registry.npmjs.org/kerium/-/kerium-1.3.7.tgz",
|
"resolved": "https://registry.npmjs.org/kerium/-/kerium-1.3.8.tgz",
|
||||||
"integrity": "sha512-3pFGohBrDeGkxBvRJ1FKrkN6HpiLAvHRZ4rk5zZUExzslgDZm/iijDRKXTHHJpyHQaBlOFxVnpqYp76u5qmQSg==",
|
"integrity": "sha512-tOtOOsTZ85Wt4h8TwV4ItgTi6paj2U1buOC/v9Rdon0ndtqASm5fn/rBRfEsif1czW4+u73T7XPbQAIBUF4tzg==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"utilium": "^2.0.0"
|
"utilium": "^2.0.0"
|
||||||
|
|
@ -1622,9 +1633,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/memium": {
|
"node_modules/memium": {
|
||||||
"version": "0.3.10",
|
"version": "0.3.11",
|
||||||
"resolved": "https://registry.npmjs.org/memium/-/memium-0.3.10.tgz",
|
"resolved": "https://registry.npmjs.org/memium/-/memium-0.3.11.tgz",
|
||||||
"integrity": "sha512-7LdicWe1tGBLrstNXdcH1Wh2iiAC4u8eU/iGuBvoVAkG20qU2d8bQk3/y40FIrM6mk5N+hpiqFI7PmOlR1hNOg==",
|
"integrity": "sha512-CwmIpLVSG7UToDj2sYAZFDkpco30OPsXpaCnt+7Z7JQaulCjH5UvwJIctTIHmgQdFqk8pliBsPLnH5OZcDLZyQ==",
|
||||||
"license": "LGPL-3.0-or-later",
|
"license": "LGPL-3.0-or-later",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"kerium": "^1.3.2",
|
"kerium": "^1.3.2",
|
||||||
|
|
@ -2047,9 +2058,9 @@
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/utilium": {
|
"node_modules/utilium": {
|
||||||
"version": "2.5.7",
|
"version": "2.5.8",
|
||||||
"resolved": "https://registry.npmjs.org/utilium/-/utilium-2.5.7.tgz",
|
"resolved": "https://registry.npmjs.org/utilium/-/utilium-2.5.8.tgz",
|
||||||
"integrity": "sha512-8F/HW+6g4v6k3yYR1bhSG+OVnoxjbuZeelLa4IyyNdwFaqGj8HpxKdOQf07xmB2jWIuUs1sq2wXcsqiERRWvEA==",
|
"integrity": "sha512-RNXAYoYH7hefayCW/2LU3SYCwDGQlDc8f4gPCRbMO6dJsYGGlzAhyHqYQGp73ox41JtPKjdqzddAbDhWQ9MrXQ==",
|
||||||
"license": "LGPL-3.0-or-later",
|
"license": "LGPL-3.0-or-later",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"eventemitter3": "^5.0.1"
|
"eventemitter3": "^5.0.1"
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@
|
||||||
"@codemirror/search": "^6.5.11",
|
"@codemirror/search": "^6.5.11",
|
||||||
"@codemirror/theme-one-dark": "^6.1.3",
|
"@codemirror/theme-one-dark": "^6.1.3",
|
||||||
"@codemirror/view": "^6.38.6",
|
"@codemirror/view": "^6.38.6",
|
||||||
|
"@quietui/quiet-browser": "^1.6.1",
|
||||||
"@replit/codemirror-minimap": "^0.5.2",
|
"@replit/codemirror-minimap": "^0.5.2",
|
||||||
"@zenfs/core": "^2.4.2",
|
"@zenfs/core": "^2.4.2",
|
||||||
"@zenfs/dom": "^1.2.5",
|
"@zenfs/dom": "^1.2.5",
|
||||||
|
|
|
||||||
10
test/ast.xq
10
test/ast.xq
|
|
@ -3,18 +3,18 @@ import module namespace ast="lsp/ast" at "../webapp/lsp/ast/ast.xqm";
|
||||||
(: declare variable $file:="sample.docs/pdfbox.xqm"; :)
|
(: declare variable $file:="sample.docs/pdfbox.xqm"; :)
|
||||||
declare variable $file:="sample.docs/simple.xq";
|
declare variable $file:="sample.docs/simple.xq";
|
||||||
|
|
||||||
declare variable $A:=doc("sample.docs/parse-pdfbox.xml");
|
declare variable $A:="sample.docs/pdfbox.xqm";
|
||||||
|
|
||||||
|
|
||||||
unparsed-text($file)
|
unparsed-text($A)
|
||||||
|
|
||||||
=>ast:build()
|
=>ast:build({"flatten":true(),"position":true()})
|
||||||
|
|
||||||
update{
|
(: update{
|
||||||
for $e in descendant-or-self::element()
|
for $e in descendant-or-self::element()
|
||||||
let $len:=string-length($e)
|
let $len:=string-length($e)
|
||||||
let $before:=$e/preceding-sibling::node()/string-length()=>sum()
|
let $before:=$e/preceding-sibling::node()/string-length()=>sum()
|
||||||
return (insert node attribute len { $len } into $e,
|
return (insert node attribute len { $len } into $e,
|
||||||
insert node attribute before { $before } into $e
|
insert node attribute before { $before } into $e
|
||||||
)
|
)
|
||||||
}
|
} :)
|
||||||
|
|
|
||||||
|
|
@ -4,3 +4,4 @@ declare variable $parse:=doc($src)/*;
|
||||||
|
|
||||||
|
|
||||||
syms:list($parse,string($parse ))
|
syms:list($parse,string($parse ))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
color-scheme: light dark;
|
color-scheme: light dark;
|
||||||
--quiet-primary-seed: #e98d61;
|
--quiet-primary-seed: #e98d61;
|
||||||
--quiet-content-spacing: 0.75rem;
|
--quiet-content-spacing: 0.75rem;
|
||||||
|
--quiet-form-control-height-md:0.9rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
|
|
|
||||||
|
|
@ -33,17 +33,17 @@
|
||||||
<quiet-icon slot="checked" name="network" family="outline"></quiet-icon>
|
<quiet-icon slot="checked" name="network" family="outline"></quiet-icon>
|
||||||
</quiet-toggle-icon>
|
</quiet-toggle-icon>
|
||||||
|
|
||||||
<quiet-toolbar label="Links">
|
|
||||||
<quiet-button href="#" variant="primary" aria-current="page" size="sm">
|
<quiet-button href="#" variant="primary" aria-current="page" size="sm">
|
||||||
Editor
|
Editor
|
||||||
</quiet-button>
|
</quiet-button>
|
||||||
<quiet-button href="/app/home" target="lsp" rel="noreferrer noopener" size="sm">
|
<a href="/app/home" target="lsp" rel="noreferrer noopener">
|
||||||
LSP Manager <quiet-icon name="external-link"></quiet-icon>
|
LSP Manager <quiet-icon name="external-link"></quiet-icon>
|
||||||
</quiet-button>
|
</a>
|
||||||
<quiet-button href="/dba/logs" target="dba" rel="noreferrer noopener" size="sm">
|
<a href="/dba/logs" target="dba" rel="noreferrer noopener" size="sm">
|
||||||
Dba <quiet-icon name="external-link"></quiet-icon>
|
Dba <quiet-icon name="external-link"></quiet-icon>
|
||||||
</quiet-button>
|
</a>
|
||||||
</quiet-toolbar>
|
|
||||||
<quiet-select id="load" style="width:20em;">
|
<quiet-select id="load" style="width:20em;">
|
||||||
<option selected value="">load..</option>
|
<option selected value="">load..</option>
|
||||||
<optgroup label="XQuery3">
|
<optgroup label="XQuery3">
|
||||||
|
|
|
||||||
|
|
@ -183,7 +183,7 @@ class PanelComponent extends HTMLElement {
|
||||||
style.textContent = `
|
style.textContent = `
|
||||||
@import url("../codicon@0.0.40/codicon.css");
|
@import url("../codicon@0.0.40/codicon.css");
|
||||||
ul { list-style-type: none; padding:0;margin:0;
|
ul { list-style-type: none; padding:0;margin:0;
|
||||||
background-color: #f8f9fa;font-size: 80%;}
|
background-color: #e3e4e4ff;font-size: 80%;}
|
||||||
li { padding: 0 0 0 2px; border-bottom: 1px solid #ccc; cursor: pointer; width:100%; }
|
li { padding: 0 0 0 2px; border-bottom: 1px solid #ccc; cursor: pointer; width:100%; }
|
||||||
li:not(.selected) :hover { background-color: #ccc; }
|
li:not(.selected) :hover { background-color: #ccc; }
|
||||||
.selected { background-color: #0d6efd;color: #ffff;}
|
.selected { background-color: #0d6efd;color: #ffff;}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue