@ulb-darmstadt/shacl-form 1.3.8 → 1.4.1
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/README.md +4 -4
- package/dist/exports.d.ts +1 -0
- package/dist/form-bootstrap.js +1 -1
- package/dist/form-default.js +1 -1
- package/dist/form-material.js +31 -30
- package/dist/form-material.js.LICENSE.txt +6 -6
- package/dist/plugins/leaflet.d.ts +18 -0
- package/dist/plugins/leaflet.js +2 -0
- package/dist/plugins/leaflet.js.LICENSE.txt +4 -0
- package/dist/plugins/map-util.d.ts +5 -0
- package/dist/plugins/mapbox.d.ts +1 -5
- package/dist/plugins/mapbox.js +1 -1
- package/dist/theme.d.ts +2 -0
- package/dist/themes/default.d.ts +1 -0
- package/dist/themes/material.d.ts +1 -0
- package/dist/util.d.ts +1 -1
- package/package.json +12 -6
|
@@ -19,12 +19,6 @@
|
|
|
19
19
|
|
|
20
20
|
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
21
21
|
|
|
22
|
-
/**
|
|
23
|
-
* @license
|
|
24
|
-
* Copyright 2022 Google LLC
|
|
25
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
26
|
-
*/
|
|
27
|
-
|
|
28
22
|
/**
|
|
29
23
|
* @license
|
|
30
24
|
* Copyright 2017 Google LLC
|
|
@@ -85,6 +79,12 @@
|
|
|
85
79
|
* SPDX-License-Identifier: Apache-2.0
|
|
86
80
|
*/
|
|
87
81
|
|
|
82
|
+
/**
|
|
83
|
+
* @license
|
|
84
|
+
* Copyright 2024 Google LLC
|
|
85
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
86
|
+
*/
|
|
87
|
+
|
|
88
88
|
/**
|
|
89
89
|
* A JavaScript implementation of the JSON-LD API.
|
|
90
90
|
*
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as L from 'leaflet';
|
|
2
|
+
import 'leaflet.fullscreen/Control.FullScreen.js';
|
|
3
|
+
import 'leaflet-draw/dist/leaflet.draw.js';
|
|
4
|
+
import { Term } from '@rdfjs/types';
|
|
5
|
+
import { Plugin, PluginOptions } from '../plugin';
|
|
6
|
+
import { Editor } from '../theme';
|
|
7
|
+
import { ShaclPropertyTemplate } from '../property-template';
|
|
8
|
+
import { Geometry } from './map-util';
|
|
9
|
+
export declare class LeafletPlugin extends Plugin {
|
|
10
|
+
map: L.Map | undefined;
|
|
11
|
+
drawLayer: L.FeatureGroup | undefined;
|
|
12
|
+
currentEditor: Editor | undefined;
|
|
13
|
+
constructor(options: PluginOptions);
|
|
14
|
+
initEditMode(form: HTMLElement): HTMLDialogElement;
|
|
15
|
+
createEditor(template: ShaclPropertyTemplate, value?: Term): HTMLElement;
|
|
16
|
+
createViewer(template: ShaclPropertyTemplate, value: Term): HTMLElement;
|
|
17
|
+
drawAndZoomToGeometry(geometry: Geometry | undefined, drawLayer: L.LayerGroup, map: L.Map): void;
|
|
18
|
+
}
|