This file contains hidden or 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 resolve from 'rollup-plugin-node-resolve'; | |
| import replace from 'rollup-plugin-replace'; | |
| import commonjs from 'rollup-plugin-commonjs'; | |
| import svelte from 'rollup-plugin-svelte'; | |
| import { terser } from 'rollup-plugin-terser'; | |
| import config from 'sapper/config/rollup.js'; | |
| import pkg from './package.json'; | |
| import alias from '@rollup/plugin-alias'; | |
| const path = require('path'); |
This file contains hidden or 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
| const presets = [ | |
| [ | |
| '@babel/preset-env', | |
| { | |
| targets: ['last 2 versions', 'ie >= 11'], | |
| } | |
| ] | |
| ]; | |
| const plugins = [ |
This file contains hidden or 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 express from 'express'; | |
| import passport from 'passport'; | |
| import {Strategy} from 'passport-github'; | |
| import compression from 'compression'; | |
| import sapper from 'sapper'; | |
| import serve from 'serve-static'; | |
| import {routes} from './manifest/server.js'; | |
| import App from './App.html'; | |
| import _ from '../SECRETS'; |
This file contains hidden or 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 { Directive, ElementRef, Output, EventEmitter, HostListener } from '@angular/core'; | |
| @Directive({ | |
| selector: '[appClickOutside]' | |
| }) | |
| export class ClickOutsideDirective { | |
| @Output() appClickOutside: EventEmitter<any> = new EventEmitter(); | |
| constructor(private _elementRef: ElementRef) { | |
| } |
This file contains hidden or 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, ViewChild, AfterViewInit, Input, Output, EventEmitter, forwardRef } from '@angular/core'; | |
| import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; | |
| import * as Flatpickr from 'flatpickr'; | |
| @Component({ | |
| selector: 'app-date-time-picker', | |
| templateUrl: './date-time-picker.component.html', | |
| styleUrls: ['./date-time-picker.component.scss'], | |
| providers: [ |