- use latest prettier 3.0 with eslint-plugin-prettier: 5.0.0-alpha.2
All checks were successful
CI Pipeline / japa-tests (push) Successful in 46s
All checks were successful
CI Pipeline / japa-tests (push) Successful in 46s
- npm normal updates - add all xslt and style asstes in extra folder public/assets2 - linting corrections - delete local .env.test from git tracking: git rm --cached .env.test - add .env.test into .gitignore file - add edit functionality for editing by submitter - npm updates -added xslt3 packeage for builfing sef files - added Language.ts class vor language table - added version to datasetxml2oai-pmh.xslt
This commit is contained in:
parent
f403c3109f
commit
4714dfdd94
70 changed files with 22920 additions and 17407 deletions
|
@ -5,7 +5,7 @@ import type { Map } from 'leaflet/src/map/index';
|
|||
export abstract class Control<T> extends EventEmitter<T> {
|
||||
// @section
|
||||
// @aka Control options
|
||||
options = {
|
||||
public options = {
|
||||
position: 'topright',
|
||||
};
|
||||
protected _map;
|
||||
|
@ -20,19 +20,19 @@ export abstract class Control<T> extends EventEmitter<T> {
|
|||
// // util.setOptions(this, defaults);
|
||||
// }
|
||||
|
||||
getPosition() {
|
||||
public getPosition() {
|
||||
return this.options.position;
|
||||
}
|
||||
|
||||
getContainer() {
|
||||
public getContainer() {
|
||||
return this._container;
|
||||
}
|
||||
|
||||
abstract onRemove(map): void;
|
||||
public abstract onRemove(map): void;
|
||||
|
||||
abstract onAdd(map: any): HTMLElement;
|
||||
public abstract onAdd(map: any): HTMLElement;
|
||||
|
||||
addTo(map: Map): Control<T> {
|
||||
public addTo(map: Map): Control<T> {
|
||||
this._map = map;
|
||||
|
||||
let container = (this._container = this.onAdd(map));
|
||||
|
@ -51,9 +51,9 @@ export abstract class Control<T> extends EventEmitter<T> {
|
|||
return this;
|
||||
}
|
||||
|
||||
removeFrom(map) {
|
||||
let pos = this.getPosition(),
|
||||
corner = map._controlCorners[pos];
|
||||
public removeFrom(map) {
|
||||
let pos = this.getPosition();
|
||||
let corner = map._controlCorners[pos];
|
||||
|
||||
corner.removeChild(this._container);
|
||||
this._map = null;
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue