issue-pane 2.5.0-ec3ff92a → 2.5.1-0a3334bb
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/csvButton.js +1 -3
- package/dev/context.js +0 -1
- package/dist/state.n3 +8 -11
- package/package.json +1 -1
- package/test/big-tracker.ttl +0 -1
package/csvButton.js
CHANGED
|
@@ -7,8 +7,6 @@
|
|
|
7
7
|
import { icons, ns, utils, widgets } from 'solid-ui'
|
|
8
8
|
import { store } from 'solid-logic'
|
|
9
9
|
|
|
10
|
-
const TestCSVstring = 'A,B,C\n1,2,3\n4,5,6\nfoo,bar,baz\n'
|
|
11
|
-
|
|
12
10
|
export function quoteString(value) {
|
|
13
11
|
// https://www.rfc-editor.org/rfc/rfc4180
|
|
14
12
|
const stripped = value.replaceAll('\n', ' ')
|
|
@@ -117,7 +115,7 @@ export function csvButton (dom, tracker) {
|
|
|
117
115
|
const wrapper = dom.createElement('div')
|
|
118
116
|
// Add a button
|
|
119
117
|
const button = widgets.button(dom, icons.iconBase + 'noun_Document_998605.svg',
|
|
120
|
-
'Copy as CSV', async
|
|
118
|
+
'Copy as CSV', async _event => {
|
|
121
119
|
|
|
122
120
|
const div = button.parentNode.parentNode
|
|
123
121
|
console.log('button gparent div', div)
|
package/dev/context.js
CHANGED
package/dist/state.n3
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
1
|
@prefix dc: <http://purl.org/dc/terms/> .
|
|
4
2
|
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
@prefix con: <http://www.w3.org/2000/10/swap/pim/contact#> .
|
|
4
|
+
@prefix dc: <http://purl.org/dc/elements/1.1/>.
|
|
5
|
+
@prefix doap: <http://usefulinc.com/ns/doap#> .
|
|
6
|
+
@prefix wf: <http://www.w3.org/2005/01/wf/flow#> .
|
|
7
|
+
@prefix ical: <http://www.w3.org/2002/12/cal/ical#> .
|
|
8
|
+
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
|
9
|
+
@prefix ui: <http://www.w3.org/ns/ui#> .
|
|
10
|
+
@prefix dct: <http://purl.org/dc/terms/> .
|
|
14
11
|
@prefix : <big-tracker.ttl#> . # the config file
|
|
15
12
|
|
|
16
13
|
<#Task1> wf:tracker :this ;
|
package/package.json
CHANGED
package/test/big-tracker.ttl
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
#Processed by Id
|
|
2
2
|
# using base file:///Users/timbl_1/src/github.com/solidos/solidos/workspaces/issue-pane/test/big-tracker-config.ttl
|
|
3
3
|
@prefix : <tracker.n3#> .
|
|
4
|
-
@prefix ca: <https://olarkin.inrupt.net/profile/card#> .
|
|
5
4
|
@prefix con: <http://www.w3.org/2000/10/swap/pim/contact#> .
|
|
6
5
|
@prefix doap: <http://usefulinc.com/ns/doap#> .
|
|
7
6
|
@prefix flow: <http://www.w3.org/2005/01/wf/flow#> .
|