12 Commits

Author SHA1 Message Date
53e3ba4672 1.0.67 2022-03-24 16:07:15 +01:00
609e176aab fix(core): update 2022-03-24 16:07:15 +01:00
617a3f307c 1.0.66 2021-09-27 14:53:41 +02:00
a577418132 fix(core): update 2021-09-27 14:53:41 +02:00
c969da7362 1.0.65 2021-09-27 13:11:35 +02:00
fd6427da1e fix(core): update 2021-09-27 13:11:34 +02:00
ad178bfec3 1.0.64 2021-09-27 02:49:49 +02:00
22db7a50de fix(core): update 2021-09-27 02:49:49 +02:00
f010f1e32b 1.0.63 2021-09-27 02:40:49 +02:00
1e24a6a671 fix(core): update 2021-09-27 02:40:49 +02:00
69583a90ad 1.0.62 2021-09-27 00:49:30 +02:00
efb2e53e0c fix(core): update 2021-09-27 00:49:30 +02:00
12 changed files with 8431 additions and 17240 deletions

View File

@ -5,7 +5,7 @@
"githost": "gitlab.com",
"gitscope": "uptimelink/private",
"gitrepo": "catalog",
"shortDescription": "a catalog with webcomponents for uptimelink dashboard",
"description": "a catalog with webcomponents for uptimelink dashboard",
"npmPackagename": "@uptimelink_private/catalog",
"license": "UNLICENSED",
"projectDomain": "uptime.link"
@ -13,6 +13,7 @@
},
"npmci": {
"npmGlobalTools": [],
"npmAccessLevel": "private"
"npmAccessLevel": "private",
"npmRegistryUrl": "verdaccio.lossless.one"
}
}

25407
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,33 +1,32 @@
{
"name": "@uptimelink_private/catalog",
"version": "1.0.61",
"version": "1.0.67",
"private": false,
"description": "a catalog with webcomponents for uptimelink dashboard",
"main": "dist_ts_web/index.js",
"typings": "dist_ts_web/index.d.ts",
"type": "module",
"scripts": {
"test": "npm run build",
"build": "tsbuild element && tsbundle element --production",
"build": "tsbuild element --allowimplicitany --skiplibcheck && tsbundle element --production",
"watch": "tswatch element"
},
"author": "Lossless GmbH",
"license": "UNLICENSED",
"dependencies": {
"@designestate/dees-domtools": "^1.0.95",
"@designestate/dees-element": "^1.0.25",
"@designestate/dees-wcctools": "^1.0.57",
"@gitzone/tsrun": "^1.2.17",
"@designestate/dees-domtools": "^2.0.1",
"@designestate/dees-element": "^2.0.4",
"@designestate/dees-wcctools": "^1.0.70",
"@gitzone/tsrun": "^1.2.31",
"@losslessone_private/loint-pubapi": "^1.0.10",
"@uptimelink/interfaces": "^1.0.10",
"typescript": "^4.4.3"
"typescript": "^4.6.2"
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.27",
"@gitzone/tsbundle": "^1.0.87",
"@gitzone/tswatch": "^1.0.56",
"@pushrocks/projectinfo": "^4.0.5",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.17.0"
"@gitzone/tsbuild": "^2.1.60",
"@gitzone/tsbundle": "^1.0.101",
"@gitzone/tswatch": "^1.0.73",
"@pushrocks/projectinfo": "^4.0.5"
},
"files": [
"ts/**/*",

View File

@ -1,7 +1,7 @@
export * from './upl-statuspage-assetsselector';
export * from './upl-statuspage-footer';
export * from './upl-statuspage-header';
export * from './upl-statuspage-incidents';
export * from './upl-statuspage-statusbar';
export * from './upl-statuspage-statusdetails';
export * from './upl-statuspage-statusmonth';
export * from './upl-statuspage-assetsselector.js';
export * from './upl-statuspage-footer.js';
export * from './upl-statuspage-header.js';
export * from './upl-statuspage-incidents.js';
export * from './upl-statuspage-statusbar.js';
export * from './upl-statuspage-statusdetails.js';
export * from './upl-statuspage-statusmonth.js';

View File

@ -7,7 +7,7 @@ import {
} from '@designestate/dees-element';
import * as domtools from '@designestate/dees-domtools';
import './internal/uplinternal-miniheading';
import './internal/uplinternal-miniheading.js';
declare global {
interface HTMLElementTagNameMap {

View File

@ -1,5 +1,13 @@
import * as plugins from '../plugins';
import { DeesElement, property, html, customElement, TemplateResult, css, cssManager } from '@designestate/dees-element';
import * as plugins from '../plugins.js';
import {
DeesElement,
property,
html,
customElement,
TemplateResult,
css,
cssManager,
} from '@designestate/dees-element';
declare global {
interface HTMLElementTagNameMap {
@ -10,27 +18,24 @@ declare global {
@customElement('upl-statuspage-incidents')
export class UplStatuspageIncidents extends DeesElement {
// STATIC
public static demo = () => html`
<upl-statuspage-incidents></upl-statuspage-incidents>
`;
public static demo = () => html` <upl-statuspage-incidents></upl-statuspage-incidents> `;
// INSTANCE
@property({
type: Array
type: Array,
})
public currentIncidences: plugins.uplInterfaces.data.IIncident[] = [];
@property({
type: Array
type: Array,
})
public pastIncidences: plugins.uplInterfaces.data.IIncident[] = [];
@property({
type: Boolean
type: Boolean,
})
public whitelabel = false;
constructor() {
super();
}
@ -55,41 +60,31 @@ export class UplStatuspageIncidents extends DeesElement {
padding: 10px;
margin-bottom: 15px;
border-radius: 3px;
}
`
]
`,
];
public render(): TemplateResult {
return html`
<style></style>
<div class="mainbox">
<uplinternal-miniheading>
Current Incidents
</uplinternal-miniheading>
<div class="noIncidentBox">
No incidents ongoing.
</div>
<uplinternal-miniheading>
Past Incidents
</uplinternal-miniheading>
<div class="noIncidentBox">
No past incidents in the last 90 days.
</div>
<uplinternal-miniheading> Current Incidents </uplinternal-miniheading>
${this.currentIncidences.length
? html``
: html` <div class="noIncidentBox">No incidents ongoing.</div> `}
<uplinternal-miniheading> Past Incidents </uplinternal-miniheading>
${this.pastIncidences.length
? html``
: html` <div class="noIncidentBox">No past incidents in the last 90 days.</div> `}
</div>
`;
}
public dispatchReportNewIncident() {
this.dispatchEvent(new CustomEvent('reportNewIncident', {
}))
this.dispatchEvent(new CustomEvent('reportNewIncident', {}));
}
public dispatchStatusSubscribe() {
this.dispatchEvent(new CustomEvent('statusSubscribe', {
}))
this.dispatchEvent(new CustomEvent('statusSubscribe', {}));
}
}

View File

@ -1,4 +1,4 @@
import * as plugins from '../plugins';
import * as plugins from '../plugins.js';
import {
DeesElement,
property,
@ -9,7 +9,7 @@ import {
cssManager,
} from '@designestate/dees-element';
import './internal/uplinternal-miniheading';
import './internal/uplinternal-miniheading.js';
declare global {
interface HTMLElementTagNameMap {

View File

@ -9,7 +9,7 @@ import {
} from '@designestate/dees-element';
import * as domtools from '@designestate/dees-domtools';
import './internal/uplinternal-miniheading';
import './internal/uplinternal-miniheading.js';
declare global {
interface HTMLElementTagNameMap {

View File

@ -1 +1 @@
export * from './elements/index';
export * from './elements/index.js';

View File

@ -1,16 +0,0 @@
{
"compilerOptions": {
"target": "es2017",
"module": "es2015",
"moduleResolution": "node",
"lib": ["es2017", "dom"],
"declaration": true,
"inlineSources": true,
"inlineSourceMap": true,
"noUnusedLocals": true,
"noFallthroughCasesInSwitch": true,
"outDir": "dist/",
"skipLibCheck": true,
"experimentalDecorators": true
}
}

8
tsconfig.json Normal file
View File

@ -0,0 +1,8 @@
{
"compilerOptions": {
"experimentalDecorators": true,
"target": "ES2022",
"module": "ES2022",
"moduleResolution": "nodenext"
}
}

View File

@ -1,17 +0,0 @@
{
"extends": ["tslint:latest", "tslint-config-prettier"],
"rules": {
"semicolon": [true, "always"],
"no-console": false,
"ordered-imports": false,
"object-literal-sort-keys": false,
"member-ordering": {
"options":{
"order": [
"static-method"
]
}
}
},
"defaultSeverity": "warning"
}