issue-pane 2.5.1-0a3334bb → 2.5.1-8285b6a5
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 +3 -1
- package/dev/context.js +1 -0
- package/dist/state.n3 +11 -8
- package/package.json +1 -1
- package/test/big-tracker.ttl +1 -0
package/csvButton.js
CHANGED
|
@@ -7,6 +7,8 @@
|
|
|
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
|
+
|
|
10
12
|
export function quoteString(value) {
|
|
11
13
|
// https://www.rfc-editor.org/rfc/rfc4180
|
|
12
14
|
const stripped = value.replaceAll('\n', ' ')
|
|
@@ -115,7 +117,7 @@ export function csvButton (dom, tracker) {
|
|
|
115
117
|
const wrapper = dom.createElement('div')
|
|
116
118
|
// Add a button
|
|
117
119
|
const button = widgets.button(dom, icons.iconBase + 'noun_Document_998605.svg',
|
|
118
|
-
'Copy as CSV', async
|
|
120
|
+
'Copy as CSV', async event => {
|
|
119
121
|
|
|
120
122
|
const div = button.parentNode.parentNode
|
|
121
123
|
console.log('button gparent div', div)
|
package/dev/context.js
CHANGED
package/dist/state.n3
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
1
3
|
@prefix dc: <http://purl.org/dc/terms/> .
|
|
2
4
|
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
|
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/> .
|
|
5
|
+
@prefix con: <http://www.w3.org/2000/10/swap/pim/contact#> .
|
|
6
|
+
@prefix dc: <http://purl.org/dc/elements/1.1/>.
|
|
7
|
+
@prefix doap: <http://usefulinc.com/ns/doap#> .
|
|
8
|
+
@prefix wf: <http://www.w3.org/2005/01/wf/flow#> .
|
|
9
|
+
@prefix ical: <http://www.w3.org/2002/12/cal/ical#> .
|
|
10
|
+
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
|
11
|
+
@prefix ui: <http://www.w3.org/ns/ui#> .
|
|
12
|
+
@prefix dct: <http://purl.org/dc/terms/> .
|
|
13
|
+
|
|
11
14
|
@prefix : <big-tracker.ttl#> . # the config file
|
|
12
15
|
|
|
13
16
|
<#Task1> wf:tracker :this ;
|
package/package.json
CHANGED
package/test/big-tracker.ttl
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
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#> .
|
|
4
5
|
@prefix con: <http://www.w3.org/2000/10/swap/pim/contact#> .
|
|
5
6
|
@prefix doap: <http://usefulinc.com/ns/doap#> .
|
|
6
7
|
@prefix flow: <http://www.w3.org/2005/01/wf/flow#> .
|