jmapserver-ng-core-types 2.2.3 → 2.2.5

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/index.ts CHANGED
@@ -469,6 +469,7 @@ export interface JMapState {
469
469
  boundaryBox: JBoundaryBox
470
470
  activeBasemapId: string | undefined
471
471
  basemaps: JBasemap[]
472
+ basemapsAreInitialized: boolean
472
473
  selection: JMapSelection
473
474
  jmapLayerIdsSupportedByMaplibre: JId[]
474
475
  scaleControlPosition: JMAP_POSITIONS
@@ -592,7 +593,6 @@ export interface JFormService {
592
593
  // PURE FORM METHODS (not integrated, also used by query service)
593
594
  checkAndCorrectSchemas(schema: JFormSchema, uiSchema: JFormUISchema): void
594
595
  getDefaultValues(formMetaData: JFormMetaData, initialData?: JAttributeValueByName): JAttributeValueByName
595
- getPreparedData(formMetaData: JFormMetaData, data: JAttributeValueByName): JAttributeValueByName
596
596
  validateData(formMetaData: JFormMetaData, data: JAttributeValueByName): JFormErrors
597
597
  }
598
598
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jmapserver-ng-core-types",
3
- "version": "2.2.3",
3
+ "version": "2.2.5",
4
4
  "description": "JMap Server specific version of JMap Server NG Core types and interfaces",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/public/core.d.ts CHANGED
@@ -10621,32 +10621,6 @@ declare namespace JMap {
10621
10621
  */
10622
10622
  function getDefaultValues(formMetaData: JFormMetaData, initialData?: JAttributeValueByName): JAttributeValueByName
10623
10623
 
10624
- /**
10625
- * ***JMap.Form.getPreparedData***
10626
- *
10627
- * This function prepare the data, it returns a copy object containing the values formatted in a way that fit the server needs.
10628
- *
10629
- * It's not mandatory to use this function but it's highly recommended to use it before :
10630
- * - sending them to the server ()
10631
- * - validating them using JMap.Form.getPreparedData (change values to fit the )
10632
- *
10633
- * It returns another object without modifing the passed object.
10634
- *
10635
- * Use to set the correct type (number if a string number is passed), and many other things.
10636
- *
10637
- * @param formMetaData A JMap form's metadata
10638
- * @param data The form data
10639
- * @returns the prepared data
10640
- * @example
10641
- * ```ts
10642
- * const data = ...
10643
- * const form = ...
10644
- * const preparedData = JMap.Form.getPreparedData(form, data)
10645
- * const errors = JMap.Form.validateData(form, preparedData)
10646
- * ```
10647
- */
10648
- function getPreparedData(formMetaData: JFormMetaData, data: JAttributeValueByName): JAttributeValueByName
10649
-
10650
10624
  /**
10651
10625
  * ***JMap.Form.validateData***
10652
10626
  *
@@ -549,7 +549,7 @@ declare interface JCoreMapOptions {
549
549
  zoom?: number
550
550
 
551
551
  /**
552
- * The map will zoom and pan to fit exactly the extent :
552
+ * This option has precedence over ***{@link JCoreMapOptions.bearing}***, ***{@link JCoreMapOptions.zoom}***, and ***{@link JCoreMapOptions.center}*** startup options. The map will zoom and pan to fit exactly the extent:
553
553
  *
554
554
  * ```html
555
555
  * <html>