text
stringlengths
2
1.04M
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Tooltip_types_1 = require("./Tooltip.types"); var Styling_1 = require("../../Styling"); exports.getStyles = function (props) { var className = props.className, delay = props.delay, maxWidth = props.maxWidth, theme = props.theme; va...
import assert from 'node:assert' export function test() { assert.equal('test', 'test') }
const Bug = require("../models/Bug") const Comment = require("../models/Comment") const getError = require('../utils/dbErrorHandler') const { commentPopulate } = require("../utils/populateObjects") module.exports = { // @desc Create Comment // @route POST /api/v1/projects/:projectId/bugs/:bugsId/comment...
var validateEmailFormat = function( string ) { // eslint-disable-next-line no-useless-escape var emailExpression = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; return emailExpression.test( string ); } let start = 0; start = process.hrtime(); console.log(validateEmailFormat("name@example.ne...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const fs = require("fs"); const path = require("path"); const _1 = require("."); const results_1 = require("../results"); class FileParserUtils { static getMatches(regexStr, str) { let match; let matches = []; const...
/// <binding BeforeBuild='injector, wiredep:task' AfterBuild='less:development' /> module.exports = function(grunt) { // Project configuration. grunt.initConfig({ pkg : grunt.file.readJSON('package.json'), nodemon : { dev : { script : 'launcher.js' }, options : { ignore : ['node_modules/**', 'Gru...
import React from "react"; import { graphql } from "gatsby"; import Layout from "../components/Layout/index"; import SEO from "../components/seo"; import Post from "../components/Post/index"; class BlogIndex extends React.Component { render() { const { data } = this.props const siteTitle = data.site.siteMeta...
export default { name: 'material-icons-outlined', mediaPlayer: { play: 'o_play_arrow', pause: 'o_pause', volumeOff: 'o_volume_off', volumeDown: 'o_volume_down', volumeUp: 'o_volume_up', settings: 'o_settings', speed: 'o_directions_run', language: 'o_closed_caption', selected: 'o_...
import { Suspense, lazy, useEffect, useState, Fragment } from 'react'; import classNames from 'classnames'; import { TransitionGroup, Transition } from 'react-transition-group'; import DecoderText from 'components/DecoderText'; import { useInterval, usePrevious, useWindowSize } from 'hooks'; import { reflow } from 'uti...
{ _classCallCheck(this, Foo); }
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.lang['ms'] = { "dir": "ltr", "editor": "Rich Text Editor", "common": { "editorHelp": "Press ALT 0 for help", "browseServer": "Browse S...
app.service('authInterceptor',['$q', '$injector', '$state', function($q, $injector, $state) { var service = this; service.responseError = function(response) { if (response.status == 401 && $state.current.name != 'Login'){ var ngDialog = $injector.get("ngDialog"); ngDialog.closeAl...
'use strict'; var request = require('superagent'); module.exports = { name: 'IGfeed', read: function (req, resource, params, config, callback) { var url = 'https://api.instagram.com/v1/tags/ootd/media/recent?client_id=1d988e7b05ec4f608e71b568fb3d46a0'; if (params.page !== undefined){ ...
'use strict'; import React, { Component } from 'react'; import './dropzone.less'; class Dropzone extends Component { constructor(props) { super(props); this.state = { over: false, vaildFiles: [], badFiles: [], }; this.onFilesSelected = this.onFilesSelected.bind(th...
'use strict'; var AWS = require('aws-sdk'); var ecs = new AWS.ECS(); module.exports = { clearEcsCluster: function (event, context, cb) { console.log("Event=", event); console.log("Context=", context); if (event.RequestType === 'Delete') { var tasks = null; var taskDefinitions = null; ...
const app = getApp(); const WXAPI = require('../../wxapi/main'); Page({ data: { orderNoAndProdId: '' }, onLoad(options) { // 生命周期函数--监听页面加载 var orderNoAndProdId = options.orderNoAndProdId; console.log('orderNoAndProdId = ' + orderNoAndProdId); if (orderNoAndProdId) {...
import React, { Component } from 'react'; import RegisterForm from '../components/RegisterForm'; class RegisterScreen extends Component { static navigationOptions = { title: 'Create Account' }; render() { return ( <RegisterForm navigation={this.props.navigation} /> ); } } export default RegisterScreen;
/** * Auto-generated action file for "Microsoft Graph API" API. * * Generated at: 2019-08-07T14:53:12.626Z * Mass generator version: 1.1.0 * * flowground :- Telekom iPaaS / microsoft-graph-api-connector * Copyright © 2019, Deutsche Telekom AG * contact: flowground@telekom.de * * All files of this connector ar...
export { default as Router } from './Router' export { default as Link } from './Link' export { route } from './core'
import DappLib from "@trycrypto/dappstarter-dapplib"; import { unsafeHTML } from "lit-html/directives/unsafe-html"; import { LitElement, html, customElement, property } from "lit-element"; @customElement("page-body") export default class PageBody extends LitElement { @property() category; @property() title; ...
'use strict'; const { joinSignature, splitSignature } = require('@ethersproject/bytes'); const fixSignature = (signature) => joinSignature(splitSignature(signature)); module.exports = fixSignature;
export const MENAGE_CHANNEL_AVAILABILITY = { availableManageButton: "[data-test-id='channels-availiability-manage-button']", channelsAvailabilityForm: "[data-test-id='manage-products-channels-availiability-list']", channelAvailabilityColumn: "[data-test='availability'][data-test-availability='true']",...
// Remove calls to Object.freeze, Object.seal, Object.preventExtensions // ...with the aim of facilitating SROA (primarily), DCE, and inlining. // Currently, these functions also hurt performance, by converting the objects to a slower backing store (in V8), // however in the future this may change (V8 will optimize for...
import React, { Component } from 'react'; import BeautyStars from 'beauty-stars'; export default class App extends Component { state = { value: 3 }; render() { return ( <div className="wrapper"> <h1 style={{ textAlign: "center", color: "#fff" }}>Beauty Stars</h1> <BeautyStars v...
'use strict'; System.register([], function (_export, _context) { "use strict"; var constants; return { setters: [], execute: function () { _export('constants', constants = { eventPrefix: 'e-on-', bindablePrefix: 'e-', attributePrefix: 'ej-', elementPrefix: 'ej-', ...
/*!jQuery nicepie*/ /** * Version: 1.0.0 (2013-06-21) * Requires: jQuery v? * * Copyright (c) 2013 Takis Pournaras * Under MIT license: * http://www.opensource.org/licenses/mit-license.php */ (function($) { $.fn.nicepie = function( options ) { // Default settings var settings = $.extend({ // dimensi...
import React, { forwardRef, useCallback, useEffect, useRef, useState, } from 'react'; import classNames from 'classnames'; import PropTypes from 'prop-types'; import useCollapse from '../../../hooks/useCollapse'; import dataAttributes from '../../../utils/data-attributes'; const AccordionItem = forwardRef((props, ...
'use strict'; var Git = require('nodegit'); var get = require('./get.js'); function getHunks(hunk){ return hunk.lines() .then(function(lines){ return lines.map(function(line, i){ var change = ' '; if (line.newLineno() == -1) change = '-'; else if (line.oldLineno() =...
define(function(require) { 'use strict'; var $ = require('jquery'); var _ = require('underscore'); var DataGridThemeOptionsManager; DataGridThemeOptionsManager = { defaults: { optionPrefix: '', tagName: '', className: '', hide: false, ...
/** * Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community * Edition) available. * Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the MIT License (the "License"); you may not use this file except in compliance wit...
ace.define("ace/snippets/javascript",["require","exports","module"], function(require, exports, module) { "use strict"; exports.snippetText = "# Prototype\n\ snippet proto\n\ ${1:class_name}.prototype.${2:method_name} = function(${3:first_argument}) {\n\ ${4:// body...}\n\ };\n\ # Function\n\ snippet fun\n\ funct...
import React from 'react'; import Board from '@lourenci/react-kanban'; import GlobalMenu from '../../components/GlobalMenu'; const AssignOrder = () => { const board = { columns: [ { id: 1, title: '# Pedidos #', cards: [ { ...
const { existsSync, mkdirSync, readFileSync } = require('fs'); const { dirname, join } = require('path'); function convertToMarkdown(bbcode) { return bbcode.toString() .replace(/\\/g, '\\\\') .replace(/\*/g, '\\*') .replace(/\[(.+?)\]\(/g, '\\[$1\\](') .replace(/~/g, '\\~') ...
describe('EntityManager', function () { beforeEach(module('phpangularModule')); it('persist', inject(function (EntityManager, RepositoryService) { var entity = RepositoryService.createEntity("User"); entity.setMail("testUnitaire"); var $scope = {}; EntityManager.persist(entity); ...
{ // IMPORTANT // // Internet Explorer can't parse dictionaries as: // { // 'foo' : 'bar', // } // // Due to the last ',' after 'bar'. Same for lists // [ // 1, // 2, // //3 // ] // Would produce an error since there is a ',' and then a ']'. // // "weblab.service.fileupload.p...
(function(){var aa=this;function h(a,c){var b=a.split("."),d=aa;b[0]in d||!d.execScript||d.execScript("var "+b[0]);for(var e;b.length&&(e=b.shift());)b.length||void 0===c?d[e]?d=d[e]:d=d[e]={}:d[e]=c}function l(a,c){function b(){}b.prototype=c.prototype;a.M=c.prototype;a.prototype=new b;a.prototype.constructor=a;a.N=fu...
//初始化界面,菜单配置路径是【/frs/yufreejs?js=/yujs/crrs/collection/addSingle.js】 function AfterInit(){ JSPFree.createTabb("d1",["基本信息/icon-ok","高管及重要联系人","重要股东及主要关联企业信息","授信信息","贷款信息","表外业务","担保信息","债券信息","股权信息"],[80,120,170,80,80,80,80,80,80]); JSPFree.createBillCard("d1_1","/biapp-crrs/freexml/crrs/customer/crrs_single_corpor...
module.exports = require('dayjs/plugin/buddhistEra.js');
require.config({ baseUrl: 'js', paths: { codeflask: 'libs/codeflask/codeflask.min', blockly: '../blockly/blockly_compressed', bootstrap: 'libs/bootstrap/bootstrap-3.3.1-dist/dist/js/bootstrap.min', 'bootstrap-table': 'libs/bootstrap/bootstrap-3.3.1-dist/dist/js/bootstrap-table.mi...
let config = { webServerPort: process.env.SNOWBOARD_WEB_API_PORT || 5054, databaseDirectory: process.env.SNOWBOARD_DATABASE_DIR || '/home/kretst/snowboard', webApiUrl: process.env.SNOWBOARD_WEB_API_URL || '"http://localhost:5054/api/"', webServerUrl: process.env.SNOWBOARD_WEB_SERVER_URL || 'http://local...
/** * ============================================ * !!!请不要移动该文件!!! * ============================================ */ const path = require('path') /** * 将所有路径转换为完整的绝对路径 * @example { api: '/app/api' } => { api: 'E://your_project_root_path/app/api' } * @param {Object} target - 要代理的对象 * @param {string} [...
import React, { Component } from 'react'; import {Link} from "react-router-dom"; import { ToastContainer, toast } from 'react-toastify'; import 'react-toastify/dist/ReactToastify.css'; class ContainerFluid extends Component { render() { return ( <div className="container-fluid"> ...
import React, { useContext, useEffect, useState } from 'react'; import RecipeContext from '../../context/RecipeContext'; import { getCategoriesDrinks, initialDrinks, drinksByCategory } from '../../services/apiRequests'; import Header from '../../components/Header'; import FooterMenu from '../../components/footerMe...
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow strict-local */ const Platform = require('Platform'); let TVViewPropTypes = {}; // We need to always include TVView...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See http://js.arcgis.com/3.34/esri/copyright.txt for details. //>>built define("esri/dijit/metadata/types/gemini/base/PortalItemTransformer",["dojo/_base/declare","dojo/_base/lang","dojo/has","../../inspire/base/PortalItemTransformer","...
// Boilerplate const rewire = require("rewire"); const chai = require('chai'); const sinon = require('sinon'); const sinonChai = require("sinon-chai"); const chaiAsPromised = require("chai-as-promised"); chai.use(sinonChai); chai.use(chaiAsPromised); chai.should(); // Module to test const testConnectionString = requir...
import React from 'react'; import { HashLink as Link } from 'react-router-hash-link'; import Gemini from '../../assets/gemini.png'; import "./style.css"; export default function WorkExperience() { return ( <div className="" id='work'> <div className="mx-auto py-12 px-4 max-w-7xl sm:px-6 lg:px-8 lg:py-24 border...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var React = _interopRequireWildcard(r...
const assign = require('core-js-pure/features/object/assign'); const { getNItems, createRenderBody } = require('../../../../common/test-utils/shared'); exports.Base_0Items = { a11yPreviousText: 'Previous page', a11yNextText: 'Next page', a11yCurrentText: 'Results Pagination - Page 2', items: [] }; exp...
/** * swagger-ui - Swagger UI is a dependency-free collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API * @version v2.1.5-M1 * @link http://swagger.io * @license Apache 2.0 */ $(function() { // Helper function for vertically aligning DOM el...
'use strict'; let Enum = require('enum'); let SessionFileStates = new Enum({ ERROR: 'error', OK: 'ok' }); module.exports = SessionFileStates;
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["hotels-list~tourists-list"],{ /***/ "./node_modules/css-loader/index.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./...
window.operateEvents = { 'click .removeFromProduct': function (e, value, row) { var xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { $('#productBacklogTable').bootstrapTable('remov...
/*! * ${copyright} */ // Provides control sap.ui.ux3.Collection. sap.ui.define(['jquery.sap.global', 'sap/ui/core/Element', 'sap/ui/model/SelectionModel', './library'], function(jQuery, Element, SelectionModel, library) { "use strict"; /** * Constructor for a new Collection. * * @param {string} [sId] id ...
const models = require('../model'); const { ERROR } = require('../constant'); class BaseService { constructor() { this.models = models; this.ERROR = ERROR; } } module.exports = BaseService;
import React from 'react'; import styled, { css } from 'styled-components'; import { FaPen } from 'react-icons/fa'; const Button = styled.button` cursor: pointer; background-color: white; font-size: 14px; ${({ theme }) => { return css` color: ${theme.palette['darkgrey']}; `; }} `; function Emp...
import axios from 'axios' import { Message } from 'element-ui' import store from '@/store' import { getToken } from '@/utils/auth' // 创建axios实例 const service = axios.create({ baseURL: process.env.BASE_API, // api的base_url timeout: 5000 // 请求超时时间 }) export default service
import dotenv from 'dotenv'; import 'location-origin'; dotenv.config(); export const ROUTER_BASENAME = process.env.REACT_APP_ROUTER_BASENAME; let a; if(process.env.REACT_APP_API_URL) { a = process.env.REACT_APP_API_URL } else { a = "" } export const API_URL = a
const router = require("express").Router(); const Dogs = require("../modules/dogs-model.js"); router.get('/', (req, res) => { Dogs.find() .then(data => { res.status(200).json(data); }) .catch(err => { console.log(err) res.status(500).json({ message: ` Failed to get Dogs `, error: err...
import { addSuccessHandler } from 'ember-service-worker/service-worker-registration' function hasServiceWorkerUpdate(resolve) { addSuccessHandler(function(reg) { reg.onupdatefound = function() { const { active, installing } = reg; installing.onstatechange = function() { if (active && install...
",s=RegExp("^"+c+c+"*"),u=RegExp(c+c+"*$"),d=function(e,t,n){var i={},c=o((function(){return!!r[e]()||l[e]()!=l})),s=i[e]=c?t(m):r[e];n&&(i[n]=s),a(a.P+a.F*c,"String",i)},m=d.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(s,"")),2&t&&(e=e.replace(u,"")),e};e.exports=d},c5f6:function(e,t,n){"use strict";var ...
module.exports = { root: true, parserOptions: { ecmaVersion: 2017, sourceType: 'module' }, plugins: [ 'ember' ], extends: [ 'eslint:recommended', 'plugin:ember/recommended' ], env: { browser: true }, globals: { Intercom: true }, rules: { }, overrides: [ // nod...
const { BaseAsset } = require("lisk-sdk"); const fetch = require('node-fetch'); const { getAllNFTTokens, setAllNFTTokens, createNFTToken, } = require("../nft"); // extend base asset to implement your custom asset class CreateNFTAsset extends BaseAsset { // define unique asset name and id name = "createNFT"; id ...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { NavLink } from 'react-router-dom'; import { inject } from 'mobx-react'; import { withJob } from 'react-jobs'; import { categories as mainCategories, objectResolver, permalinkResolver } from 'utils/urlResolver'; import Header, { Ite...
app.controller('listCtrl', ['$scope','$http', function($scope, $http){ $http.get("../data/10000_complex.json").success(function(data){ $scope.people = data; }); }]);
/** * The CompareFixedHeaderView view. */ define( [ 'jquery', 'backbone', 'underscore', 'handlebars', 'mps', 'countries/presenters/show/FixedHeaderPresenter', 'text!countries/templates/fixedHeader.handlebars' ], function($, Backbone, _, Handlebars, mps, FixedHeaderPresenter, tpl) { ...
import React from 'react' import { Link } from 'gatsby' import * as styles from './navigation.module.css' const Navigation = () => ( <nav role="navigation" className={styles.container} aria-label="Main"> <Link to="/" className={styles.logoLink}> <img className={styles.logo} src={"https://i.imgur.com/4Iw1b...
/*! * froala_editor v1.2.0 (http://editor.froala.com) * Copyright 2014-2014 Froala */
import React, {Component} from 'react' import {connect} from 'react-redux' import {View, Text, Form, KeyboardAvoidingView} from 'react-native' import {Icon, Button, FormLabel, FormInput, FormValidationMessage} from 'react-native-elements' import {createDeck} from '../actions' import {createUid} from '../utils' import ...
/** * React highchart wrapper * * @version 1.0.0 * @author [Binoy Sinha](https://github.com/binoy-sinha) */ import React from 'react'; import PropTypes from 'prop-types'; import Highcharts from 'highcharts'; import { COLOR_MAP, defaultChartConfig } from './ChartHelper/helper'; import ChartWrapper from './ChartHel...
// ie polyfill import '@babel/polyfill' import Vue from 'vue' import App from './App.vue' import router from './router' import store from './store/' import { VueAxios } from './utils/request' // mock // import './mock' import bootstrap from './core/bootstrap' import './core/use' import './permission' // permission c...
'use strict'; var StripeResource = require('../StripeResource'); /** * CustomerCard is a unique resource in that, upon instantiation, * requires a customerId, and therefore each of its methods only * require the cardId argument. * * This streamlines the API specifically for the case of accessing cards * on a re...
import axios from "axios"; import {queryString} from "../../util"; export default { state: { telegram_chats: [], }, getters: { telegram_chats: (state) => state.telegram_chats, }, mutations: { get_telegram_chats: (state, data) => state.telegram_chats = data, }, ac...
Ext.define('bitfictionMvcTemplate.model.UserInfo', { extend : 'Ext.data.Model', requires:[ 'bitfictionMvcTemplate.model.User', 'bitfictionMvcTemplate.model.BaseEntity', 'bitfictionMvcTemplate.model.OneToOneEntity' ], fields : [{ name : 'userId', mapping: 'user.id', type : 'int' }, ...
export const what = [ { title: "Making Applications 💻" }, { title: "Working Remotely 🌏" }, { title: "Learning React Native 📱" }, { title: "Consultation for Node.js related projects" } ];
const IDENTITY = 'boris@keystone-alpha.com'; const SECRET = 'correctbattery'; describe.only('Can access Admin UI', () => { afterEach(() => { // Cypress claims to clear cookies before each test, but it appears that // the first test in the next describe block will continue to retain // cookies from the `p...
import React from 'react'; import styled from 'styled-components'; import propTypes from 'prop-types'; import CostLabel from 'components/CostLabel'; import { Card, CardInfo, CardLocation, CardTitle } from 'components/Cards/styles'; const SimpleCard = styled(Card)` height: 240px; `; const SimpleCardDate = s...
import * as React from "react"; import * as Scrivito from "scrivito"; class BaseNavChild extends React.Component { constructor(props) { super(props); this.state = { open: false, }; this.closeDropdown = this.closeDropdown.bind(this); this.toggleDropdown = this.toggleDropdown.bind(this); ...
#!/usr/bin/env node /* * Copyright 2017 resin.io * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
// https://d3js.org/d3-array/ v2.0.3 Copyright 2018 Mike Bostock (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (factory((global.d3 = global.d3 || {}))); }(this, (function (export...
/******************************************************* * task service implementation * json representor w/ URL profile (server) * June 2015 * Mike Amundsen (@mamund) * Soundtrack : Complete Collection : B.B. King (2008) *******************************************************/ // json representor // with profil...
import homeTemplate from './home.tpl.html'; /*@ngInject*/ export default function HomeRoutes($stateProvider) { /*$breadcrumbProvider.setOptions({ prefixStateName: 'home', templateUrl: breadcrumbTemplate });*/ $stateProvider .state('home', { url: '/', module...
/* * Copyright (C) 2013 Salzburg Research. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
import { setData } from '@progress/kendo-angular-intl'; setData({ name: "es-CU", likelySubtags: { es: "es-Latn-ES" }, identity: { language: "es", territory: "CU" }, territory: "CU", calendar: { patterns: { d: "d/M/y", D: "EEEE, d 'de' M...
const errors = require('@tryghost/errors'); const sinon = require('sinon'); const Promise = require('bluebird'); const markdownToMobiledoc = require('../../utils/fixtures/data-generator').markdownToMobiledoc; const helpers = require('../../../core/frontend/helpers'); const api = require('../../../core/server/api'); de...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[2],{Outh:function(e,t,a){"use strict";a.r(t);a("IzEo");var i=a("bx4M"),r=(a("Mwp2"),a("VXEj")),l=a("q1tI"),s=a.n(l),n=a("9kvl"),o=a("HeI0"),c=a("UHTa"),m=a.n(c),f=function(e){var t=e.dispatch,a=e.favorites.list,n=e.loading;return Object(l["useEffect"])((functio...
/** * @typedef {{pipe: number}} */ var StepParams; /** * @typedef {{name: string, params: StepParams}} */ var Step; /** * @typedef {{queue: Array<!Step>, current: ?Step, running: boolean}} */ var Scenario; /** * @typedef {{param_count: number, descr_param: string, descr: string }} */ var Command; /** * @ty...
/** * @license Apache-2.0 * * Copyright (c) 2020 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const util_1 = require("../util"); class BaseDao { async GetById(_id) { return this._collection.findById(_id).exec(); } async DeleteById(_id) { let result = await this._collection.deleteOne({ _id: _id }); re...
// Copyright 2017 Paul Brewer - Economic and Financial Technology Consulting LLC <drpaulbrewer@eaftc.com> // License: MIT /* eslint-env node, mocha */ /* eslint no-process-env: "off" */ /* eslint camelcase: "off" */ const assert = require('assert'); require('should'); const {google} = require('googleapis'); const axi...
/*! <<<<<<< HEAD * Font Awesome Free 5.10.2 by @fontawesome - https://fontawesome.com ======= * Font Awesome Free 5.13.1 by @fontawesome - https://fontawesome.com >>>>>>> e01a57a19eccc2ba16c3381797f73f85da737323 * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @emails oncall+javascript_foundation * @format * @flow strict-local */ 'use strict'; const parseOptionsFromUrl = require('.....
/** * EasyUI for jQuery 1.8.8 * * Copyright (c) 2009-2019 www.jeasyui.com. All rights reserved. * * Licensed under the freeware license: http://www.jeasyui.com/license_freeware.php * To use it on other terms please contact us: info@jeasyui.com * */ (function($){ function _1(_2,_3){ var _4=$.data(_2,"form").opt...
/** @flow */ import LinearLayoutVector from 'linear-layout-vector'; import type {Alignment, CellSizeGetter, VisibleCellRange} from '../types'; type CellSizeAndPositionManagerParams = { cellCount: number, cellSizeGetter: CellSizeGetter, estimatedCellSize: number, }; type ConfigureParams = { cellCount: number,...
/** * Copyright 2016 Reza (github.com/rghorbani) * * @flow */ 'use strict'; const _ = require('lodash'); const Colors = require('./Colors'); class ThemeManager { theme = { primaryColor: Colors.blue30, CTA: { textColor: Colors.white, disabledColor: Colors.dark60, backgroundColor: Color...
import React from "react"; import { render } from "react-dom"; import Router from "./components/Router"; import "./css/main.css"; import "./css/tablet.css"; import "./css/desktop.css"; render(<Router />, document.querySelector("#main"));
var module = require('./module'), identifier = require('./identifier'); exports.Result = Result; function Result(config) { this.instantiatedAt = new Date() this.dependencies = this.modules = {}; this.externals = this.normalizeExternals(config.externals); } (function(p) { p.resolved = false; p.main = nul...
/* global element, by */ 'use strict'; var authentication = require('../../authentication/authentication'); var common = require('../../common/common'); var navigation = require('../../common/navigation'); var topologyEditorCommon = require('../../topology/topology_editor_common'); var topologyTemplatesCommon = requir...
const RouteSchema = require('../../index') const yapiParseOptions = require('koa-route-schema-yapi') const yapiSchemaOptions = require('./schemaOptions') const routeschema = new RouteSchema({ ...yapiParseOptions, prefix: 'v1', schemaOptions: yapiSchemaOptions }) module.exports = routeschema
import RegisterDoctor from './RegisterDoctor'; export default RegisterDoctor;