This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Service } from "@rxdi/core"; | |
import { switchMap } from "rxjs/operators"; | |
import { stat, Stats, readdir } from "fs"; | |
import { resolve } from "path"; | |
import { from } from "rxjs"; | |
@Service() | |
export class FileService { | |
units = ['bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB']; | |
results: string[] = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, html, css, async, property } from '@rxdi/lit-html'; | |
import { BaseComponent } from '../../shared/base.component'; | |
import { RouteParams, Router } from '@rxdi/router'; | |
import { map, catchError, tap } from 'rxjs/operators'; | |
import { projectSharedCss } from '../list/style.css'; | |
import { of } from 'rxjs'; | |
import { IProjectType } from '../../@introspection'; | |
import { isDevelopment } from '../../environment'; | |
@Component({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
html, | |
Component, | |
css, | |
property, | |
query, | |
async, | |
TemplateResult | |
} from '@rxdi/lit-html'; | |
import { Inject } from '@rxdi/core'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { setup } from '@rxdi/core'; | |
import { switchMap } from 'rxjs/operators'; | |
import { combineLatest } from 'rxjs'; | |
setup({ | |
services: [ | |
{ | |
provide: 'gosho', | |
lazy: true, | |
useFactory: async () => 'yey' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { html, Component, LitElement, css, property, async, TemplateResult } from '@rxdi/lit-html'; | |
import { Inject } from '@rxdi/core'; | |
import { map, switchMap } from 'rxjs/operators'; | |
import { combineLatest, of, Observable, isObservable, from } from 'rxjs'; | |
import { ResponsiveService } from '@rxdi/ui-components/services'; | |
/** | |
* @customElement flex-grid | |
*/ | |
@Component({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
Module, | |
CoreModule, | |
Bootstrap, | |
ON_REQUEST_HANDLER, | |
GRAPHQL_PLUGIN_CONFIG, | |
Container | |
} from '@gapi/core'; | |
import { | |
MicroserviceModule, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { html, Component, LitElement, css } from '@rxdi/lit-html'; | |
import RedRock from '@client/assets/images/background/red-rock.png'; | |
import BlueWater from '@client/assets/images/background/blue-water.png'; | |
import Atmosphere from '@client/assets/images/background/plant-with-athmosphear.png'; | |
interface PricingTemplate { | |
title: string; | |
subTitle: string; | |
slogan: string; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://ipfs.io/ipfs/QmfXGKAeDwVZF9THVCKtYRjcNrhBG6iuBStXrNoBRGimFp/index.js"></script> | |
<div id="app"></div> | |
<!-- State management --> | |
<script> | |
const APP_STATE = 'state'; | |
const INITIAL_STATE = { clicked: true }; | |
const getState = () => Container.get(APP_STATE).asObservable() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="./index.ts"></script> | |
<div id="app"></div> | |
<!-- State management --> | |
<script> | |
const APP_STATE = 'state'; | |
const INITIAL_STATE = { clicked: true }; | |
const getState = () => Container.get(APP_STATE).asObservable() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script | |
type="text/javascript" | |
src="https://rawcdn.githack.com/rxdi/graphql-webcomponent/dd8686a81f88ba481d3b4d22d2459bfcbdcff9ed/dist/regular/0.0.15.js" | |
></script> | |
<setup-graphql | |
uri="https://countries.trevorblades.com/" | |
pubsub="wss://pubsub.youvolio.com/subscriptions" | |
></setup-graphql> |
OlderNewer