Add this to you AndroidManifest.xml
in the application
element
<application
...
android:usesCleartextTraffic="true"
...
// import { createFilter } from 'rollup-pluginutils' | |
function assign(target, source) { | |
Object.keys(source).forEach((key) => { | |
target[key] = source[key]; | |
}); | |
return target; | |
} | |
// const DEFAULT_HEADER = 'import React from \'react\';' |
<key>LSSupportsOpeningDocumentsInPlace</key> | |
<true/> | |
<key>UIFileSharingEnabled</key> | |
<true/> |
let moduleExports = (app: Application) => { | |
const authentication = new AuthenticationService(app); | |
// authentication.register('jwt', new JWTStrategy()); | |
// authentication.register('local', new LocalStrategy()); | |
// authentication.register('google', new GoogleStrategy()); | |
authentication.register('microsoft', new MicrosoftStrategy()); // TODO: Let add from the cloud-app? | |
// authentication.register('microsoft', new OidcStrategy()); |
// src/global/app.ts | |
import { setup } from './vendor/shoelace'; | |
export default async function (): Promise<void> { | |
setup(); | |
} |
Add this to you AndroidManifest.xml
in the application
element
<application
...
android:usesCleartextTraffic="true"
...
The 2014-03-03T...
notation is a fancy JavaScript Date Time String Format and expects a time zone. If you don't provide one, it defaults to Z
(UTC).
The 2014-03-03 18:30:00
notation, however, is just a regular string without an interesting name and, if you don't provide a time zone, it assumes local time.
This info was taken from the MDN article about Date.parse()
.
Link: https://stackoverflow.com/questions/22151477/javascript-iso-8601-string-into-date-object
... | |
<key>UIFileSharingEnabled</key> | |
<true/> | |
<key>LSSupportsOpeningDocumentsInPlace</key> | |
<true/> | |
... |
import { OPCUAClient, OPCUAClientOptions } from 'node-opcua'; | |
import { CO_OPCUA_CLIENT_DEFAULTS } from './client-defaults'; | |
import { CoOPCUAClientConfig } from '../config'; | |
let client: OPCUAClient; | |
export const createClient = (options: CoOPCUAClientConfig) => { | |
const optionsCombined: OPCUAClientOptions = { |
import { Chart } from 'chart.js'; | |
@Component({ | |
tag: 'chart-js', | |
styleUrl: 'chart-js.scss' | |
}) | |
export class ChartJs { | |
@Prop() | |
public data: any; | |
@Watch('data') |
/* | |
To setup, place in scripts/st-generate.js and add | |
"st:generate": "node scripts/st-generate.js" | |
To your npm scripts. | |
To generate a component in src/components/ run | |
npm run st:generate component my-component |