Skip to content
Snippets Groups Projects
Commit ffae3931 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

Merge branch 'MONSTER/-/99ca682b-4d4c-46d8-a89c-c353d6ac45b0' into 'master'

Release 1.19.0

See merge request oss/libraries/javascript/monster!26
parents 6487d2d4 a1fa21a4
No related branches found
No related tags found
No related merge requests found
Showing
with 1034 additions and 663 deletions
This diff is collapsed.
@startuml
skinparam monochrome true
skinparam shadowing false
HTMLElement <|-- CustomElement
CustomElement <|-- CustomControl
@enduml
\ No newline at end of file
@startuml
skinparam monochrome true
skinparam shadowing false
HTMLElement <|-- CustomElement
@enduml
\ No newline at end of file
@startuml
skinparam monochrome true
skinparam shadowing false
autonumber
Script -> DOM: element = document.createElement('my-element')
DOM -> CustomElement: constructor()
CustomElement -> CustomElement: [initMethodSymbol]()
CustomElement --> DOM: Element
DOM --> Script : element
Script -> DOM: document.querySelector('body').append(element)
DOM -> CustomElement : connectedCallback()
note right CustomElement: is only called at\nthe first connection
CustomElement -> CustomElement : [assembleMethodSymbol]()
... ...
autonumber
Script -> DOM: document.querySelector('monster-confirm-button').parentNode.removeChild(element)
DOM -> CustomElement: disconnectedCallback()
@enduml
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -8,7 +8,8 @@
"excludePattern": ""
},
"plugins": [
"plugins/markdown"
"plugins/markdown",
"jsdoc-plantuml"
],
"opts": {
"template": "node_modules/clean-jsdoc-theme",
......@@ -77,5 +78,18 @@
"default": {
"outputSourceFiles": false
}
},
"plantuml": {
"puml": {
"create": true,
"destination": "docs/puml"
},
"images": {
"create": true,
"destination": "docs/images",
"defaultFormat": "svg"
}
}
}
This diff is collapsed.
......@@ -22,6 +22,7 @@
"flow-bin": "^0.159.0",
"fs": "^0.0.1-security",
"jsdoc": "^3.6.7",
"jsdoc-plantuml": "^1.0.2",
"jsdom": "^17.0.0",
"jsdom-global": "^3.0.2",
"uglify-js": "^3.14.1",
......
......@@ -2,6 +2,17 @@
All notable changes to this project will be documented in this file.
## [1.19.0] - 2021-10-16
## Added
- [new method hasNode to check if a node is included](https://gitlab.schukai.com/oss/libraries/javascript/monster/-/issues/69)
## Fixed
- [value===NaN is always false](https://gitlab.schukai.com/oss/libraries/javascript/monster/-/issues/68)
## [1.18.0] - 2021-10-11
## Added
......
......@@ -40,7 +40,7 @@ For some functions you need additional [polyfills](#polyfill).
<script type="module">
import {
Monster
} from 'https://unpkg.com/@schukai/monster@1.18.0/dist/modules/monster.js';
} from 'https://unpkg.com/@schukai/monster@1.19.0/dist/modules/monster.js';
let id = document.getElementById('version');
id.innerHTML = Monster.getVersion();
</script>
......@@ -51,8 +51,8 @@ For some functions you need additional [polyfills](#polyfill).
`nomodule` for backwards compatibility
```
<script type="module" src="https://unpkg.com/@schukai/monster@1.18.0/dist/modules/monster.js"></script>
<script nomodule src="https://unpkg.com/@schukai/monster@1.18.0/dist/monster.js"></script>
<script type="module" src="https://unpkg.com/@schukai/monster@1.19.0/dist/modules/monster.js"></script>
<script nomodule src="https://unpkg.com/@schukai/monster@1.19.0/dist/monster.js"></script>
```
### Polyfill
......
/** Monster 1.18.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
/** Monster 1.19.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
"use strict";import{Monster}from"./namespace.js";const PROPERTY_KEY_INTERNALDATA="monsterInternalData";export{Monster,PROPERTY_KEY_INTERNALDATA};
\ No newline at end of file
/** Monster 1.18.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
/** Monster 1.19.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
"use strict";import{assignToNamespace,Monster}from"../namespace.js";import{Base}from"../types/base.js";class AbstractConstraint extends Base{constructor(){super()}isValid(s){return Promise.reject(s)}}assignToNamespace("Monster.Constraints",AbstractConstraint);export{Monster,AbstractConstraint};
\ No newline at end of file
/** Monster 1.18.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
/** Monster 1.19.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
"use strict";import{assignToNamespace,Monster}from"../namespace.js";import{AbstractConstraint}from"./abstract.js";class AbstractOperator extends AbstractConstraint{constructor(t,r){if(super(),!(t instanceof AbstractConstraint&&r instanceof AbstractConstraint))throw new TypeError("parameters must be from type AbstractConstraint");this.operantA=t,this.operantB=r}}assignToNamespace("Monster.Constraints",AbstractOperator);export{Monster,AbstractOperator};
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment