ol-wfst 4.1.1 → 4.3.0
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/LICENSE.md +1 -1
- package/README.md +10 -11
- package/dist/@enums.d.ts +16 -16
- package/dist/@types.d.ts +200 -200
- package/dist/Geoserver.d.ts +274 -274
- package/dist/Geoserver.d.ts.map +1 -1
- package/dist/WfsLayer.d.ts +52 -52
- package/dist/WfsLayer.d.ts.map +1 -1
- package/dist/WmsLayer.d.ts +68 -61
- package/dist/WmsLayer.d.ts.map +1 -1
- package/dist/css/ol-wfst.bootstrap5.css +227 -38
- package/dist/css/ol-wfst.bootstrap5.min.css +1 -1
- package/dist/css/ol-wfst.css +24 -39
- package/dist/css/ol-wfst.min.css +1 -1
- package/dist/defaults.d.ts +3 -3
- package/dist/index-umd.d.ts +3 -0
- package/dist/index-umd.d.ts.map +1 -0
- package/dist/modules/EditControlChanges.d.ts +17 -17
- package/dist/modules/EditFieldsModal.d.ts +18 -18
- package/dist/modules/EditOverlay.d.ts +7 -7
- package/dist/modules/LayersControl.d.ts +37 -33
- package/dist/modules/LayersControl.d.ts.map +1 -1
- package/dist/modules/Uploads.d.ts +49 -49
- package/dist/modules/base/BaseLayer.d.ts +61 -61
- package/dist/modules/base/WfsSource.d.ts +48 -47
- package/dist/modules/base/WfsSource.d.ts.map +1 -1
- package/dist/modules/base/WmsSource.d.ts +46 -46
- package/dist/modules/editLayer.d.ts +3 -3
- package/dist/modules/errors.d.ts +11 -11
- package/dist/modules/helpers.d.ts +6 -6
- package/dist/modules/i18n/en.d.ts +2 -2
- package/dist/modules/i18n/es.d.ts +2 -2
- package/dist/modules/i18n/index.d.ts +14 -14
- package/dist/modules/i18n/zh.d.ts +2 -2
- package/dist/modules/loading.d.ts +2 -2
- package/dist/modules/state.d.ts +21 -21
- package/dist/modules/styleFunction.d.ts +12 -12
- package/dist/myPragma.d.ts +1 -1
- package/dist/ol-wfst.d.ts +334 -336
- package/dist/ol-wfst.d.ts.map +1 -1
- package/dist/ol-wfst.js +2656 -2599
- package/dist/ol-wfst.js.map +1 -1
- package/dist/ol-wfst.min.js +3 -3
- package/dist/ol-wfst.min.js.map +1 -1
- package/lib/@enums.d.ts +16 -16
- package/lib/@types.d.ts +200 -200
- package/lib/Geoserver.d.ts +274 -274
- package/lib/Geoserver.d.ts.map +1 -1
- package/lib/WfsLayer.d.ts +52 -52
- package/lib/WfsLayer.d.ts.map +1 -1
- package/lib/WmsLayer.d.ts +68 -61
- package/lib/WmsLayer.d.ts.map +1 -1
- package/lib/defaults.d.ts +3 -3
- package/lib/index-umd.d.ts +3 -0
- package/lib/index-umd.d.ts.map +1 -0
- package/lib/modules/EditControlChanges.d.ts +17 -17
- package/lib/modules/EditFieldsModal.d.ts +18 -18
- package/lib/modules/EditOverlay.d.ts +7 -7
- package/lib/modules/LayersControl.d.ts +37 -33
- package/lib/modules/LayersControl.d.ts.map +1 -1
- package/lib/modules/Uploads.d.ts +49 -49
- package/lib/modules/base/BaseLayer.d.ts +61 -61
- package/lib/modules/base/WfsSource.d.ts +48 -47
- package/lib/modules/base/WfsSource.d.ts.map +1 -1
- package/lib/modules/base/WmsSource.d.ts +46 -46
- package/lib/modules/editLayer.d.ts +3 -3
- package/lib/modules/errors.d.ts +11 -11
- package/lib/modules/helpers.d.ts +6 -6
- package/lib/modules/i18n/en.d.ts +2 -2
- package/lib/modules/i18n/es.d.ts +2 -2
- package/lib/modules/i18n/index.d.ts +14 -14
- package/lib/modules/i18n/zh.d.ts +2 -2
- package/lib/modules/loading.d.ts +2 -2
- package/lib/modules/state.d.ts +21 -21
- package/lib/modules/styleFunction.d.ts +12 -12
- package/lib/myPragma.d.ts +1 -1
- package/lib/ol-wfst.d.ts +334 -336
- package/lib/ol-wfst.d.ts.map +1 -1
- package/lib/ol-wfst.js +2651 -2593
- package/lib/ol-wfst.js.map +1 -1
- package/lib/style/css/ol-gisify.css +24 -39
- package/lib/style/css/ol-wfst.bootstrap5.css +227 -38
- package/lib/style/scss/-ol-wfst.bootstrap5.scss +3 -0
- package/lib/style/scss/ol-wfst.scss +81 -58
- package/package.json +15 -16
- package/CHANGELOG.md +0 -123
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/lib/tsconfig.tsbuildinfo +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { I18n } from '../../ol-wfst';
|
|
2
|
-
export declare const en: I18n;
|
|
1
|
+
import { I18n } from '../../ol-wfst';
|
|
2
|
+
export declare const en: I18n;
|
|
3
3
|
//# sourceMappingURL=en.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { I18n } from '../../ol-wfst';
|
|
2
|
-
export declare const es: I18n;
|
|
1
|
+
import { I18n } from '../../ol-wfst';
|
|
2
|
+
export declare const es: I18n;
|
|
3
3
|
//# sourceMappingURL=es.d.ts.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { I18n } from '../../@types';
|
|
2
|
-
export * from './es';
|
|
3
|
-
export * from './en';
|
|
4
|
-
export * from './zh';
|
|
5
|
-
export declare let I18N: I18n;
|
|
6
|
-
export declare const setLang: (lang?: string, customI18n?: I18n) => void;
|
|
7
|
-
/**
|
|
8
|
-
* /**
|
|
9
|
-
* For translations thas has a variable "{}"" to be replaced inside
|
|
10
|
-
* @param string
|
|
11
|
-
* @param args
|
|
12
|
-
* @returns
|
|
13
|
-
*/
|
|
14
|
-
export declare const I18N_: (string: string, ...args: any) => string;
|
|
1
|
+
import { I18n } from '../../@types';
|
|
2
|
+
export * from './es';
|
|
3
|
+
export * from './en';
|
|
4
|
+
export * from './zh';
|
|
5
|
+
export declare let I18N: I18n;
|
|
6
|
+
export declare const setLang: (lang?: string, customI18n?: I18n) => void;
|
|
7
|
+
/**
|
|
8
|
+
* /**
|
|
9
|
+
* For translations thas has a variable "{}"" to be replaced inside
|
|
10
|
+
* @param string
|
|
11
|
+
* @param args
|
|
12
|
+
* @returns
|
|
13
|
+
*/
|
|
14
|
+
export declare const I18N_: (string: string, ...args: any) => string;
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { I18n } from '../../ol-wfst';
|
|
2
|
-
export declare const zh: I18n;
|
|
1
|
+
import { I18n } from '../../ol-wfst';
|
|
2
|
+
export declare const zh: I18n;
|
|
3
3
|
//# sourceMappingURL=zh.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const initLoading: () => HTMLDivElement;
|
|
2
|
-
export declare const showLoading: (bool?: boolean) => void;
|
|
1
|
+
export declare const initLoading: () => HTMLDivElement;
|
|
2
|
+
export declare const showLoading: (bool?: boolean) => void;
|
|
3
3
|
//# sourceMappingURL=loading.d.ts.map
|
package/dist/modules/state.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import Map from 'ol/Map.js';
|
|
2
|
-
import { FeatureLike } from 'ol/Feature.js';
|
|
3
|
-
import WfsLayer from '../WfsLayer';
|
|
4
|
-
import WmsLayer from '../WmsLayer';
|
|
5
|
-
import { IWfstLayersList } from '../@types';
|
|
6
|
-
export declare enum Modes {
|
|
7
|
-
Edit = "EDIT",
|
|
8
|
-
Draw = "DRAW"
|
|
9
|
-
}
|
|
10
|
-
export declare function activateMode(m?: Modes): void;
|
|
11
|
-
export declare function getMode(): any;
|
|
12
|
-
export declare function setMap(m: Map): void;
|
|
13
|
-
export declare function getMap(): Map;
|
|
14
|
-
export declare function setActiveLayerToInsertEls(layer: WmsLayer | WfsLayer): void;
|
|
15
|
-
export declare function getActiveLayerToInsertEls(): WmsLayer | WfsLayer;
|
|
16
|
-
export declare function setMapLayers(data: any): void;
|
|
17
|
-
export declare function getStoredMapLayers(): IWfstLayersList;
|
|
18
|
-
export declare function getStoredLayer(layerName: string): WfsLayer | WmsLayer;
|
|
19
|
-
export declare function addFeatureToEditedList(feature: FeatureLike): void;
|
|
20
|
-
export declare function removeFeatureFromEditList(feature: FeatureLike): void;
|
|
21
|
-
export declare function isFeatureEdited(feature: FeatureLike): boolean;
|
|
1
|
+
import Map from 'ol/Map.js';
|
|
2
|
+
import { FeatureLike } from 'ol/Feature.js';
|
|
3
|
+
import WfsLayer from '../WfsLayer';
|
|
4
|
+
import WmsLayer from '../WmsLayer';
|
|
5
|
+
import { IWfstLayersList } from '../@types';
|
|
6
|
+
export declare enum Modes {
|
|
7
|
+
Edit = "EDIT",
|
|
8
|
+
Draw = "DRAW"
|
|
9
|
+
}
|
|
10
|
+
export declare function activateMode(m?: Modes): void;
|
|
11
|
+
export declare function getMode(): any;
|
|
12
|
+
export declare function setMap(m: Map): void;
|
|
13
|
+
export declare function getMap(): Map;
|
|
14
|
+
export declare function setActiveLayerToInsertEls(layer: WmsLayer | WfsLayer): void;
|
|
15
|
+
export declare function getActiveLayerToInsertEls(): WmsLayer | WfsLayer;
|
|
16
|
+
export declare function setMapLayers(data: any): void;
|
|
17
|
+
export declare function getStoredMapLayers(): IWfstLayersList;
|
|
18
|
+
export declare function getStoredLayer(layerName: string): WfsLayer | WmsLayer;
|
|
19
|
+
export declare function addFeatureToEditedList(feature: FeatureLike): void;
|
|
20
|
+
export declare function removeFeatureFromEditList(feature: FeatureLike): void;
|
|
21
|
+
export declare function isFeatureEdited(feature: FeatureLike): boolean;
|
|
22
22
|
//# sourceMappingURL=state.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Geometry } from 'ol/geom.js';
|
|
2
|
-
import { Style } from 'ol/style.js';
|
|
3
|
-
import Feature from 'ol/Feature.js';
|
|
4
|
-
/**
|
|
5
|
-
* Master style that handles two modes on the Edit Layer:
|
|
6
|
-
* - one is the basic, showing only the vertices
|
|
7
|
-
* - and the other when modify is active, showing bigger vertices
|
|
8
|
-
*
|
|
9
|
-
* @param feature
|
|
10
|
-
* @private
|
|
11
|
-
*/
|
|
12
|
-
export default function styleFunction(feature: Feature<Geometry>): Array<Style>;
|
|
1
|
+
import { Geometry } from 'ol/geom.js';
|
|
2
|
+
import { Style } from 'ol/style.js';
|
|
3
|
+
import Feature from 'ol/Feature.js';
|
|
4
|
+
/**
|
|
5
|
+
* Master style that handles two modes on the Edit Layer:
|
|
6
|
+
* - one is the basic, showing only the vertices
|
|
7
|
+
* - and the other when modify is active, showing bigger vertices
|
|
8
|
+
*
|
|
9
|
+
* @param feature
|
|
10
|
+
* @private
|
|
11
|
+
*/
|
|
12
|
+
export default function styleFunction(feature: Feature<Geometry>): Array<Style>;
|
|
13
13
|
//# sourceMappingURL=styleFunction.d.ts.map
|
package/dist/myPragma.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export default function createElement(tagName: any, attrs?: {}, ...children: any[]): any;
|
|
1
|
+
export default function createElement(tagName: any, attrs?: {}, ...children: any[]): any;
|
|
2
2
|
//# sourceMappingURL=myPragma.d.ts.map
|