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.
Files changed (88) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +10 -11
  3. package/dist/@enums.d.ts +16 -16
  4. package/dist/@types.d.ts +200 -200
  5. package/dist/Geoserver.d.ts +274 -274
  6. package/dist/Geoserver.d.ts.map +1 -1
  7. package/dist/WfsLayer.d.ts +52 -52
  8. package/dist/WfsLayer.d.ts.map +1 -1
  9. package/dist/WmsLayer.d.ts +68 -61
  10. package/dist/WmsLayer.d.ts.map +1 -1
  11. package/dist/css/ol-wfst.bootstrap5.css +227 -38
  12. package/dist/css/ol-wfst.bootstrap5.min.css +1 -1
  13. package/dist/css/ol-wfst.css +24 -39
  14. package/dist/css/ol-wfst.min.css +1 -1
  15. package/dist/defaults.d.ts +3 -3
  16. package/dist/index-umd.d.ts +3 -0
  17. package/dist/index-umd.d.ts.map +1 -0
  18. package/dist/modules/EditControlChanges.d.ts +17 -17
  19. package/dist/modules/EditFieldsModal.d.ts +18 -18
  20. package/dist/modules/EditOverlay.d.ts +7 -7
  21. package/dist/modules/LayersControl.d.ts +37 -33
  22. package/dist/modules/LayersControl.d.ts.map +1 -1
  23. package/dist/modules/Uploads.d.ts +49 -49
  24. package/dist/modules/base/BaseLayer.d.ts +61 -61
  25. package/dist/modules/base/WfsSource.d.ts +48 -47
  26. package/dist/modules/base/WfsSource.d.ts.map +1 -1
  27. package/dist/modules/base/WmsSource.d.ts +46 -46
  28. package/dist/modules/editLayer.d.ts +3 -3
  29. package/dist/modules/errors.d.ts +11 -11
  30. package/dist/modules/helpers.d.ts +6 -6
  31. package/dist/modules/i18n/en.d.ts +2 -2
  32. package/dist/modules/i18n/es.d.ts +2 -2
  33. package/dist/modules/i18n/index.d.ts +14 -14
  34. package/dist/modules/i18n/zh.d.ts +2 -2
  35. package/dist/modules/loading.d.ts +2 -2
  36. package/dist/modules/state.d.ts +21 -21
  37. package/dist/modules/styleFunction.d.ts +12 -12
  38. package/dist/myPragma.d.ts +1 -1
  39. package/dist/ol-wfst.d.ts +334 -336
  40. package/dist/ol-wfst.d.ts.map +1 -1
  41. package/dist/ol-wfst.js +2656 -2599
  42. package/dist/ol-wfst.js.map +1 -1
  43. package/dist/ol-wfst.min.js +3 -3
  44. package/dist/ol-wfst.min.js.map +1 -1
  45. package/lib/@enums.d.ts +16 -16
  46. package/lib/@types.d.ts +200 -200
  47. package/lib/Geoserver.d.ts +274 -274
  48. package/lib/Geoserver.d.ts.map +1 -1
  49. package/lib/WfsLayer.d.ts +52 -52
  50. package/lib/WfsLayer.d.ts.map +1 -1
  51. package/lib/WmsLayer.d.ts +68 -61
  52. package/lib/WmsLayer.d.ts.map +1 -1
  53. package/lib/defaults.d.ts +3 -3
  54. package/lib/index-umd.d.ts +3 -0
  55. package/lib/index-umd.d.ts.map +1 -0
  56. package/lib/modules/EditControlChanges.d.ts +17 -17
  57. package/lib/modules/EditFieldsModal.d.ts +18 -18
  58. package/lib/modules/EditOverlay.d.ts +7 -7
  59. package/lib/modules/LayersControl.d.ts +37 -33
  60. package/lib/modules/LayersControl.d.ts.map +1 -1
  61. package/lib/modules/Uploads.d.ts +49 -49
  62. package/lib/modules/base/BaseLayer.d.ts +61 -61
  63. package/lib/modules/base/WfsSource.d.ts +48 -47
  64. package/lib/modules/base/WfsSource.d.ts.map +1 -1
  65. package/lib/modules/base/WmsSource.d.ts +46 -46
  66. package/lib/modules/editLayer.d.ts +3 -3
  67. package/lib/modules/errors.d.ts +11 -11
  68. package/lib/modules/helpers.d.ts +6 -6
  69. package/lib/modules/i18n/en.d.ts +2 -2
  70. package/lib/modules/i18n/es.d.ts +2 -2
  71. package/lib/modules/i18n/index.d.ts +14 -14
  72. package/lib/modules/i18n/zh.d.ts +2 -2
  73. package/lib/modules/loading.d.ts +2 -2
  74. package/lib/modules/state.d.ts +21 -21
  75. package/lib/modules/styleFunction.d.ts +12 -12
  76. package/lib/myPragma.d.ts +1 -1
  77. package/lib/ol-wfst.d.ts +334 -336
  78. package/lib/ol-wfst.d.ts.map +1 -1
  79. package/lib/ol-wfst.js +2651 -2593
  80. package/lib/ol-wfst.js.map +1 -1
  81. package/lib/style/css/ol-gisify.css +24 -39
  82. package/lib/style/css/ol-wfst.bootstrap5.css +227 -38
  83. package/lib/style/scss/-ol-wfst.bootstrap5.scss +3 -0
  84. package/lib/style/scss/ol-wfst.scss +81 -58
  85. package/package.json +15 -16
  86. package/CHANGELOG.md +0 -123
  87. package/dist/tsconfig.tsbuildinfo +0 -1
  88. 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
@@ -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
@@ -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