@dbp-toolkit/check-in-place-select
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -1,4 +0,4 @@ | ||
import { d as defineCustomElement, C as CheckInPlaceSelect } from './shared/check-in-place-select.610f8ff2.es.js'; | ||
import { d as defineCustomElement, C as CheckInPlaceSelect } from './shared/check-in-place-select.16fef2f9.es.js'; | ||
defineCustomElement('dbp-check-in-place-select', CheckInPlaceSelect); | ||
//# sourceMappingURL=dbp-check-in-place-select.js.map |
{ | ||
"name": "@dbp-toolkit/check-in-place-select", | ||
"homepage": "https://gitlab.tugraz.at/dbp/web-components/toolkit/-/tree/master/packages/check-in-place-select", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"main": "src/index.js", | ||
@@ -17,12 +17,12 @@ "license": "LGPL-2.1-or-later", | ||
"devDependencies": { | ||
"@rollup/plugin-commonjs": "^16.0.0", | ||
"@rollup/plugin-commonjs": "^17.0.0", | ||
"@rollup/plugin-json": "^4.1.0", | ||
"@rollup/plugin-node-resolve": "^10.0.0", | ||
"@rollup/plugin-node-resolve": "^11.0.0", | ||
"@rollup/plugin-replace": "^2.3.3", | ||
"@rollup/plugin-url": "^5.0.1", | ||
"@rollup/plugin-url": "^6.0.0", | ||
"chai": "^4.2.0", | ||
"eslint": "^7.3.1", | ||
"eslint-plugin-jsdoc": "^30.6.4", | ||
"eslint-plugin-jsdoc": "^31.0.0", | ||
"i18next-scanner": "^3.0.0", | ||
"karma": "^5.1.0", | ||
"karma": "^6.0.0", | ||
"karma-chrome-launcher": "^3.0.0", | ||
@@ -62,3 +62,3 @@ "karma-firefox-launcher": "^2.1.0", | ||
}, | ||
"gitHead": "91f47e1c02f864028f9537c84781106645cee797" | ||
"gitHead": "fefb27aee7da353d170fc789d7779cfb5ac6b9c7" | ||
} |
@@ -5,3 +5,3 @@ import {findObjectInApiResults} from './utils.js'; | ||
import JSONLD from '@dbp-toolkit/common/jsonld'; | ||
import {css, html, LitElement} from 'lit-element'; | ||
import {css, html} from 'lit-element'; | ||
import {ScopedElementsMixin} from '@open-wc/scoped-elements'; | ||
@@ -14,2 +14,3 @@ import {i18n} from './i18n.js'; | ||
import * as errorUtils from "@dbp-toolkit/common/error"; | ||
import {AdapterLitElement} from "@dbp-toolkit/provider/src/adapter-lit-element"; | ||
@@ -24,3 +25,3 @@ | ||
export class CheckInPlaceSelect extends ScopedElementsMixin(LitElement) { | ||
export class CheckInPlaceSelect extends ScopedElementsMixin(AdapterLitElement) { | ||
@@ -30,3 +31,3 @@ constructor() { | ||
this.lang = 'de'; | ||
this.entryPointUrl = commonUtils.getAPiUrl(); | ||
this.entryPointUrl = ''; | ||
this.jsonld = null; | ||
@@ -63,3 +64,3 @@ this.$select = null; | ||
static get properties() { | ||
return { | ||
return this.getProperties({ | ||
lang: { type: String }, | ||
@@ -73,3 +74,3 @@ active: { type: Boolean, attribute: false }, | ||
showCapacity: { type: Boolean, attribute: 'show-capacity' }, | ||
}; | ||
}); | ||
} | ||
@@ -76,0 +77,0 @@ |
@@ -7,2 +7,3 @@ import {i18n} from './i18n.js'; | ||
import * as commonUtils from '@dbp-toolkit/common/utils'; | ||
import * as tugUtils from '@dbp-toolkit/common/tug-utils'; | ||
import * as commonStyles from '@dbp-toolkit/common/styles'; | ||
@@ -75,3 +76,3 @@ | ||
<div class="control"> | ||
<dbp-check-in-place-select lang="${this.lang}" entry-point-url="${commonUtils.getAPiUrl()}"></dbp-check-in-place-select> | ||
<dbp-check-in-place-select lang="${this.lang}" entry-point-url="${tugUtils.getAPiUrl()}"></dbp-check-in-place-select> | ||
</div> | ||
@@ -82,3 +83,3 @@ </div> | ||
<div class="control"> | ||
<dbp-check-in-place-select lang="${this.lang}" entry-point-url="${commonUtils.getAPiUrl()}" show-reload-button reload-button-title="Click me"></dbp-check-in-place-select> | ||
<dbp-check-in-place-select lang="${this.lang}" entry-point-url="${tugUtils.getAPiUrl()}" show-reload-button reload-button-title="Click me"></dbp-check-in-place-select> | ||
</div> | ||
@@ -85,0 +86,0 @@ </div> |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2998662
23349