@ulb-darmstadt/shacl-form 1.7.0 → 1.7.2
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/dist/form-bootstrap.js +1 -1
- package/dist/form-bootstrap.js.LICENSE.txt +0 -2
- package/dist/form-default.js +1 -1
- package/dist/form-default.js.LICENSE.txt +0 -2
- package/dist/form-material.js +1 -1
- package/dist/form-material.js.LICENSE.txt +0 -2
- package/dist/form.d.ts +3 -3
- package/dist/plugins/file-upload.js +1 -1
- package/dist/plugins/fixed-list.js +1 -1
- package/dist/plugins/leaflet.js +1 -1
- package/dist/plugins/mapbox.js +1 -1
- package/dist/plugins/mapbox.js.LICENSE.txt +9 -0
- package/package.json +19 -19
- package/src/form.ts +6 -2
- package/src/loader.ts +1 -0
|
@@ -15,8 +15,6 @@
|
|
|
15
15
|
|
|
16
16
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
17
17
|
|
|
18
|
-
/*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
19
|
-
|
|
20
18
|
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
21
19
|
|
|
22
20
|
/**
|
package/dist/form.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ShaclNode } from './node';
|
|
2
2
|
import { Config } from './config';
|
|
3
3
|
import { ClassInstanceProvider, Plugin } from './plugin';
|
|
4
|
-
import { Store } from 'n3';
|
|
4
|
+
import { Store, Quad } from 'n3';
|
|
5
5
|
import { Theme } from './theme';
|
|
6
6
|
export declare class ShaclForm extends HTMLElement {
|
|
7
7
|
static get observedAttributes(): string[];
|
|
@@ -13,8 +13,8 @@ export declare class ShaclForm extends HTMLElement {
|
|
|
13
13
|
connectedCallback(): void;
|
|
14
14
|
attributeChangedCallback(): void;
|
|
15
15
|
private initialize;
|
|
16
|
-
serialize(format?: string, graph?: Store<import("@rdfjs/types").Quad,
|
|
17
|
-
toRDF(graph?: Store<import("@rdfjs/types").Quad,
|
|
16
|
+
serialize(format?: string, graph?: Store<import("@rdfjs/types").Quad, Quad, import("@rdfjs/types").Quad, import("@rdfjs/types").Quad>): string;
|
|
17
|
+
toRDF(graph?: Store<import("@rdfjs/types").Quad, Quad, import("@rdfjs/types").Quad, import("@rdfjs/types").Quad>): Store;
|
|
18
18
|
registerPlugin(plugin: Plugin): void;
|
|
19
19
|
setTheme(theme: Theme): void;
|
|
20
20
|
setSharedShapesGraph(graph: Store): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
class e{constructor(e,t){this.predicate=e.predicate,this.datatype=e.datatype,t&&(this.stylesheet=new CSSStyleSheet,this.stylesheet.replaceSync(t))}createViewer(e,t){return e.config.theme.createViewer(e.label,t,e)}}class t extends e{constructor(e,t,i){super(e),this.onChange=t,this.fileType=i}createEditor(e){var t;const i=void 0!==e.minCount&&e.minCount>0,r=e.config.theme.createFileEditor(e.label,null,i,e);return r.addEventListener("change",(e=>{e.stopPropagation(),this.onChange(e)})),this.fileType&&(null===(t=r.querySelector('input[type="file"]'))||void 0===t||t.setAttribute("accept",this.fileType)),r}}export{t as FileUploadPlugin};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
class e{constructor(e,t){this.predicate=e.predicate,this.datatype=e.datatype,t&&(this.stylesheet=new CSSStyleSheet,this.stylesheet.replaceSync(t))}createViewer(e,t){return e.config.theme.createViewer(e.label,t,e)}}class t extends e{constructor(e,t){super(e),this.entries=t}createEditor(e,t){const r=void 0!==e.minCount&&e.minCount>0;return e.config.theme.createListEditor(e.label,t||null,r,this.entries,e)}}export{t as FixedListPlugin};
|