text stringlengths 2 1.05M |
|---|
/**
* Configures a Keystone app in encapsulated mode, but does not start it.
*
* Connects to the database and runs updates and then calls back.
*
* This is the code-path to use if you'd like to mount the keystone app as a sub-app in another express application.
*
* var app = express();
*
* //...do your nor... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.intersect_ = exports.memoize = void 0;
/**
* @since 2.2.0
*/
function memoize(f) {
var cache = new Map();
return function (a) {
if (!cache.has(a)) {
var b = f(a);
cache.set(a, b);
r... |
const db = require("../config/mySQL");
const bcrypt = require("bcrypt");
const jwt = require("jsonwebtoken");
const otp = require("otp-generator");
const nodemailer = require("nodemailer");
module.exports = {
postNewUser: (body) => {
return new Promise((resolve, reject) => {
const email = body.email;
... |
import { Chip } from '@material-ui/core';
import Table from '@material-ui/core/Table';
import TableBody from '@material-ui/core/TableBody';
import TableCell from '@material-ui/core/TableCell';
import TableContainer from '@material-ui/core/TableContainer';
import TableHead from '@material-ui/core/TableHead';
import Tabl... |
mycallback( {"CONTRIBUTOR OCCUPATION": "Diagnostic Radiologist", "CONTRIBUTION AMOUNT (F3L Bundled)": "250.00", "ELECTION CODE": "", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "X-Ray Physicians of Shelbyville", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "X-Ray Physicians of Shelbyville", "CONTRIBUTOR MIDDLE NAM... |
// Contains sample contact data
// Profile images
import ImgBatman from './batman.jpg';
import ImgMickeyMouse from './mickey-mouse.png';
import ImgProfile from './profile.png';
import ImgSimpsonBart from './simpson-bart.png';
import ImgSimpsonHomer from './simpson-homer.jpg';
import ImgSpiderman from './spiderman.jpg'... |
import Component from '@ember/component';
import { computed } from '@ember/object';
import layout from '../../templates/components/github-card/stars';
export default Component.extend({
layout,
tagName: '',
stars: 0,
formattedStars: computed('stars', function() {
const stars = this.stars;
if (stars ... |
// @link https://schemas.tmz.com/json-schema/tmz/iam/node/twitter-app/1-0-0.json#
import Fb from '@gdbots/pbj/FieldBuilder';
import GdbotsIamTwitterAppV1Mixin from '@gdbots/schemas/gdbots/iam/mixin/twitter-app/TwitterAppV1Mixin';
import GdbotsNcrNodeV1Mixin from '@gdbots/schemas/gdbots/ncr/mixin/node/NodeV1Mixin';
impo... |
"use strict"
/**
* Poll Editor
*/
const { View } = require("@kisbox/browser")
const { LiveArray } = require("@kisbox/model")
const { remove } = require("@cosmic-plus/helpers")
const chevronRightSvg = require("feather-icons/dist/icons/chevron-right.svg")
const chevronDownSvg = require("feather-icons/dist/icons/chevr... |
const DiscordReconciliation = require('../../discordReconciliation')
module.exports = async (client, oldPresence) => {
try {
client.logs.discord.info(`Discord event: guildMemberUpdate - ${oldPresence.user.id}`)
if (client.config.discord.admins.includes(oldPresence.user.id)) return
if (oldPresence.user.bot) ret... |
/*
* MIT License
*
* Copyright (c) 2017 Barracks Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, mo... |
module.exports = {
preset: '../../../../jest.preset.js',
coverageDirectory: '../../../../coverage/libs/geoservices/core/ngx',
snapshotSerializers: [
'jest-preset-angular/build/AngularNoNgAttributesSnapshotSerializer.js',
'jest-preset-angular/build/AngularSnapshotSerializer.js',
'jest-preset-angular/bu... |
const express = require('express');
const app = express();
app.use(express.static('./public/przykladStatyczne/'));
app.get('/manual/route', (req, res) => {
res.send('To jest odpowiedź zwrócona nie z pliku, a z manualnie ustalonej ścieżki.');
});
app.listen(3000, () => {
console.log('Serwer uruchomiony na por... |
import React from 'react';
import PropTypes from 'prop-types';
import { withStyles } from 'material-ui/styles';
import ExpansionPanel, {
ExpansionPanelSummary,
ExpansionPanelDetails,
} from 'material-ui/ExpansionPanel';
import H3 from '../H3/index';
import P from '../P/index';
import ExpandIcon from './ExpandIcon';... |
// $(function(){
$(function() {
var testing;
if ( typeof WebSocket === "undefined") {
$("#grid").html('The application requires Web Sockets and HTML5 support. Please update your Browser. /></a>');
return;
}
/* Setup the websocket connection, need to decided weather to use secure or standard socket */
var loc... |
import { Meteor } from 'meteor/meteor'
import { withTracker } from 'meteor/react-meteor-data'
import { ReactiveVar } from 'meteor/reactive-var'
import Eventlogs from '/imports/api/eventlogs'
import Assessments from '/imports/api/assessments/schema'
import Jobs from '/imports/api/jobs/schema'
import Members from '/impor... |
// @ts-check
/** @type {import("webpack").RuleSetRule[]} */
const mainRules = [
{
// We're specifying native_modules in the test because the asset relocator loader generates a
// "fake" .node file which is really a cjs file.
test: /native_modules\/.+\.node$/,
use: 'node-load... |
// NOTE: Once the next KaTeX release is out, we'll include this as an npm module
// However, we need this for features that are not yet available.
import Katex from './katex.min.js'
import State from './RenderingState'
import classStateMapping from './classStateMapping'
import styleStateMapping from './styleStateMappi... |
import { Spinner, SpinnerSize } from '@fluentui/react';
import PropTypes from 'prop-types';
import React from 'react';
import styled from 'styled-components';
const StyledOverlay = styled.div`
background-color: rgba(0, 0, 0, 0.1);
display: flex;
align-items: center;
justify-content: center;
color: white;
m... |
/*
* @license
* Your First PWA Codelab (https://g.co/codelabs/pwa)
* Copyright 2019 Google Inc. All rights reserved.
*
* 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
*
* https://w... |
module.exports = function (api) {
process.env.NODE_ENV === "development" ? api.cache(false) : api.cache(true);
const presets = [
[
"@babel/preset-env",
{
targets: {
node: "current",
},
},
],
"@babel/preset-typescript",
];
const plugins = [];
return {
... |
// Export Constants
export const TOGGLE_ADD_POST = "TOGGLE_ADD_POST";
export const TOGGLE_EDIT_POST = "TOGGLE_EDIT_POST";
// Export Actions
export function toggleAddPost() {
return {
type: TOGGLE_ADD_POST
};
}
export function toggleEditPost() {
return {
type: TOGGLE_EDIT_POST
};
} |
var presencia = (function (window, undefined) {
var workers = {};
var eventos = function() {
$('#checador').submit(function(e){
e.preventDefault();
});
$('#serial').on('keyup', function(e) {
if(e.which === 13) {
e.preventDefault();
... |
import getBase64 from '../getBase64'
describe('#getBase64', () => {
it('should get a value from base64 string', () => {
expect(getBase64('Zm9v')).toBe('foo')
});
})
|
function area(largura, altura) {
const area = largura * altura;
if (area > 20) {
console.log(`O valor acima do permitido: ${area}m2.`);
} else {
return area;
}
}
let resultado = area(5, 5);
if (resultado != undefined) console.log(resultado);
console.log(area(5, 5) + 1);
resultado = area... |
var searchData=
[
['scan_5factive_5fdwell_5ftime_5fper_5fchannel_5fms',['scan_active_dwell_time_per_channel_ms',['../structwhd__scan__extended__params__t.html#addbd186dd08b75e5de298a3d8dbb76a1',1,'whd_scan_extended_params_t']]],
['scan_5fhome_5fchannel_5fdwell_5ftime_5fbetween_5fchannels_5fms',['scan_home_channel_d... |
import React, {useEffect, useState} from 'react'
import styled from 'styled-components'
import {useMutation, useApolloClient,gql} from '@apollo/client'
import UserForm from '../components/UserForm'
const SIGNUP_USER = gql`
mutation signUp($email: String!, $username: String!, $password: String!){
signUp(email: ... |
import { PostHogFeatureFlags } from '../posthog-featureflags'
describe('featureflags', () => {
given('properties', () => ({ $override_feature_flags: false, $active_feature_flags: ['beta-feature'] }))
given('instance', () => ({
get_property: (key) => given.properties[key],
capture: () => {},
... |
/**
* Created by liulin on 2017/1/7.
*/
ES.MapView.MapLive = L.MapLib.MapMaster.MapOpr.extend({
/*
为构造函数
@oParent 为父级页面对象
@oOption 为参数,设置当前的参数
*/
initialize: function (oParent, oOption,oMap) {
L.MapLib.MapMaster.MapOpr.prototype.initialize.call(this, oParent, oOption, oMap);
... |
module.exports={A:{A:{"1":"A B","2":"I F E D hB"},B:{"1":"C O U P H J K VB JB N IB"},C:{"1":"0 1 2 3 4 5 6 7 8 9 H J K W X Y Z a b c d e f g h i j k l m n o p q r s t u v w Q y z UB BB FB DB CB AB T x R M KB LB MB NB OB PB QB RB SB TB","2":"rB GB oB","33":"G V I F E D A B C O U P gB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 d e f ... |
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnPrope... |
"use strict";
//# sourceMappingURL=App.vue.js.map
|
function HandleMngr(url, auth, auth_cb) {
this.url = url;
var _url = url;
var deprecationWarningSent = false;
function deprecationWarning() {
if (!deprecationWarningSent) {
deprecationWarningSent = true;
if (!window.console) return;
console.log... |
const path = require('path')
module.exports = (env) => {
const plugins = [];
if (env === 'report') {
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
plugins.push(new BundleAnalyzerPlugin())
}
return {
entry: {
test: './src/index.js'
},
mode: 'prod... |
/* eslint react/require-default-props: 0 */
/* eslint arrow-body-style: 0 */
import cs from 'classnames';
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import pageResolver from './page-resolver';
import SizePerPageDropDown from './size-per-page-dropdown';
import PaginationList from './pa... |
'use strict';
var {Let, assocIn, dissoc, get, identity,
matchKeys, pick, pluck, uniq, updateIn} = require('../underscore_ext');
var {make, mount, compose} = require('./utils');
var {cohortSummary, datasetMetadata, datasetSamplesExamples, datasetFieldN,
datasetFieldExamples, fieldCodes, datasetField, datasetFetch, dat... |
import connect from 'STORE/connect'
import PageParam from './PageParam'
export default connect(
state => ({
}),
{},
PageParam
) |
// <Create a chat client>
import { ChatClient, ChatThreadClient } from '@azure/communication-chat';
import { AzureCommunicationTokenCredential } from '@azure/communication-common';
let endpointUrl = 'https://<RESOURCE_NAME>.communication.azure.com';
let userAccessToken = '<USER_ACCESS_TOKEN>';
let chatClient = new Ch... |
export const INITIAL = {
searchData: '',
selected: [],
dataset: [
{ id: 1, primary: 'Vanilla', accent: 'MobX' },
{ id: 2, primary: 'Angular', accent: 'NGXS' },
{ id: 3, primary: 'React', accent: 'Redux' },
{ id: 4, primary: 'Vue', accent: 'Vuex' },
],
addData: {},
editData: {},
viewData:... |
/**
* VexFlow - Music Key Management Tests
* Copyright Mohit Muthanna 2010 <mohit@muthanna.com>
*/
const KeyManagerTests = (function () {
var KeyManager = {
Start: function () {
QUnit.module('KeyManager');
test('Valid Notes', VF.Test.KeyManager.works);
test('Select Notes', VF.Test.KeyManager.... |
import Component from '@ember/component';
import { inject } from '@ember/service';
export default Component.extend({
upload: inject('upload'),
classNames: ['file-upload-image-selector'],
input: null,
inputContainer: null,
didInsertElement() {
this._super(...arguments);
const element = this.get('e... |
const tape = require('tape');
const {
getOptions,
buildFetchCb,
} = require('../helper.js');
const _ = require('../tools.js');
const Vue = require('vue');
// require('jsdom-global')();
// const { JSDOM } = require('jsdom');
const createApp = Vue.createApp;
const SelecticFile = require('../../dist/selectic.com... |
function main() {
let v2 = "__lookupSetter__";
function v3(v4,v5,v6,v7) {
function v8(v9,v10,v11,v12,v13) {
'use strict'
function v14(v15,v16,v17,v18) {
let v21 = 0;
let v22 = v16;
}
}
const v24 = [13.37,13.37,13.37,v8,13.37];
const v26 = parseInt(v24);
}
... |
let alumnos = [
{
id: 1,
nombre: "Miguel",
cal: 10
},
{
id: 2,
nombre: "Juan",
cal: 5
},
{
id: 3,
nombre: "Antonio",
cal: 3
}
];
let getCalificacion = (id, callback) =>{
let calificacion = alumnos.find((calificaciones)... |
"use strict";
import Reflux from "reflux";
const Cart = {
AddToCart: Reflux.createAction("AddToCart"),
RemoveFromCart: Reflux.createAction("RemoveFromCart"),
ClearCart: Reflux.createAction("ClearCart")
};
module.exports = Cart; |
var pathlib = require('path')
liedbase.controller('BijbelController', function ($sce, $scope, $http, log, dbFactory) {
var verseText;
var bibleBaseDir = './app/assets/bible/';
var readBibleBook = function(path) {
}
$scope.grab = function () {
require('node-dir').files(bibleBaseD... |
/*\
title: $:/plugins/<%- github %>/<%- plugin %>/startup/<%- startupModule.name %>.js
type: application/javascript
module-type: startup
This is an startup module. Please put here a comment about what it does and why.
For more info just visit: http://tiddlywiki.com/dev/#StartupMechanism
@preserve
\*/
/*jslint nod... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class NgerCompilerWeappStyle {
async run(config) {
}
}
exports.NgerCompilerWeappStyle = NgerCompilerWeappStyle;
|
var submitEl = document.querySelector("#submit");
var nameInput = document.querySelector("#name");
var emailInput = document.querySelector("#email");
var submissionResponseEl = document.querySelector("#response");
// Action to be performed on click store in named function
function showResponse(event) {
// Prevent de... |
'use strict';
require('../../style/index.css');
require('./index.css');
require('../../checkbox/style/css');
require('../../pagination/style/css'); |
/*
YUI 3.17.0 (build ce55cc9)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('handlebars-compiler', function (Y, NAME) {
/*!
Handlebars.js - Copyright (C) 2011 Yehuda Katz
https://raw.github.com/wycats/handlebars.js/master/LICENSE
*/
// This f... |
import React from 'react'
import PropTypes from 'prop-types'
// Components
import { Link, graphql } from 'gatsby'
import Layout from '../components/Layout'
const Tags = ({ pageContext, data }) => {
const { tag } = pageContext
const { edges, totalCount } = data.allMarkdownRemark
const { title } = data.site.siteM... |
import Directory from '@ascend-media/package-directory/browser';
import Inquiry from '@parameter1/base-cms-marko-web-inquiry/browser';
const PaginationPageNumberInput = () => import(/* webpackChunkName: "minexpo-pagination-page-number-input" */ './pagination-page-number-input.vue');
export default (Browser) => {
Di... |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("primereact/utils"),r=require("primereact/csstransition");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=n(e);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t)... |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var prefix = 'fab';
var iconName = 'discord';
var width = 640;
var height = 512;
var aliases = [];
var unicode = 'f392';
var svgPathData = 'M524.5 69.84a1.5 1.5 0 0 0 -.764-.7A485.1 485.1 0 0 0 404.1 32.03a1.816 1.816 0 0 0 -1.923 .91 337.5 33... |
//// [objectLiteralReferencingInternalProperties.ts]
var a = { b: 10, c: b }; // Should give error for attempting to reference b.
//// [objectLiteralReferencingInternalProperties.js]
var a = { b: 10, c: b }; // Should give error for attempting to reference b.
|
// DO NOT EDIT! This test has been generated by /offscreen-canvas/tools/gentest.py.
// OffscreenCanvas test in a worker:2d.text.align.invalid
// Description:
// Note:
importScripts("/resources/testharness.js");
importScripts("/2dcontext/resources/canvas-tests.js");
var t = async_test("");
var t_pass = t.done.bind(t);... |
'use strict';
app.controller('statisticaBoundController', ['$scope', '$http', '$state','$location','$filter','$stateParams','infoService','formatDate','arrDate',
function($scope, $http, $state,$location,$filter,$stateParams,infoService,formatDate,arrDate) {
$("#dtBox").DateTimePicker({
language:'zh-CN',... |
(function($) {
$.ManifestListItem = function(options) {
jQuery.extend(true, this, {
element: null,
appendTo: null,
manifest: null,
loadStatus: null,
thumbHeight: 80,
urlHeight: ... |
import {AiFillGithub} from 'react-icons/ai'
import {Badge} from 'react-bootstrap'
import React from 'react'
function ProjectList({ProjectListVal}) {
return (
<div>
{ProjectListVal &&
ProjectListVal.sort((a, b) => {
if (a.title > b.title) return 1
if (a.title < b.title) return -1
return 0
}... |
var app = angular.module('siswa', ['ui.bootstrap','blockUI'], function($interpolateProvider) {
$interpolateProvider.startSymbol('<%');
$interpolateProvider.endSymbol('%>');
});
app.factory('myHttpInterceptor', function($q, $window, blockUI) {
return function(promise) {
return promise.then(function(r... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{324:function(t,e,n){},353:function(t,e,n){"use strict";var i=n(324);n.n(i).a},363:function(t,e,n){"use strict";n.r(e);var i={functional:!0,props:{type:{type:String,default:"tip"},text:String,vertical:{type:String,default:"top"}},render:function(t,e){var n=e.props... |
//? include("../Utils/$jsilcore.InitResizableArray.js");
//? include("../Utils/JSIL.$WrapIComparer.js");
$jsilcore.$ListExternals = function ($, T, type) {
var mscorlib = JSIL.GetCorlib();
if (typeof (T) === "undefined")
JSIL.RuntimeError("Invalid use of $ListExternals");
var getT;
switch (type) {
c... |
import Ext_Base from '../../Ext/Base.js';
export default class Ext_route_Router extends Ext_Base {
static PROPERTIES() { return [
'hashBang',
'multipleToken',
'queueRoutes',
]};
static EVENTS() { return [
{name:'ready', parameters:'cmd,cmdAll'}
]};
static getProperties(properties) {
prope... |
// vue.config.js
module.exports = {
lintOnSave: true,
pwa: {
workboxOptions: {
importScripts: ['sw-push-notifications.js']
}
},
pluginOptions: {
quasar: {
treeShake: true
}
},
devServer: {
host: '127.0.0.1'
},
transpileDependencies: [
/[\\\/]node_modules[\\\/]quas... |
const yaml = require('js-yaml')
, fs = require('fs')
, { promisify } = require('util')
, readAsync = promisify(fs.readFile)
, existsAsync = promisify(fs.exists)
, writeAsync = promisify(fs.writeFile)
async function pm2yaml(dat) {
const info = dat.info
delete info._postman_id
delete info.schema
const s... |
module.exports = {
token: 'NjkzNTM5NjQ0Mzk0MTc2NTQz.Xn_6jA.I6_VD2fPrNwII5n_fuYvD-Thr_w',
clockchannel: '693533177414811730',
timezone: 'Asia/Kolkata',
format: 'HH:mm (z)',
updateinterval: 60000,
}
|
<!-- Web script -->
$(document).ready(function(){
// Add smooth scrolling to all links in navbar + footer link
$(".navbar a, footer a[href='#myPage']").on('click', function(event) {
// Make sure this.hash has a value before overriding default behavior
if (this.hash !== "") {
// Pr... |
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this f... |
module.exports = function ( grunt ) {
/**
* Load required Grunt tasks. These are installed based on the versions listed
* in `package.json` when you do `npm install` in this directory.
*/
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt... |
const mix = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel appli... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.NullLanguageService = undefined;
var _rxjs = require('rxjs');
// An implementation of LanguageService which always returns no results.
// Useful for implementing aggregate language services.
/**
* Copyright (c) 2017-present, Face... |
'use strict';
module.exports = forEach;
function forEach(fn, indexes, store) {
var rawIndexes = [];
for (var i = 0; i < indexes.length; i++) {
rawIndexes[indexes[i]] = i;
}
_forEach(fn, store, rawIndexes, [], 0);
}
function _forEach(fn, store, indexes, values, i) {
if (i >= indexes.length) {
values[... |
let handler = async (m, { conn, command, text }) => {
conn.reply(m.chat, `
*Pertanyaan:* ${command} ${text}
*Jawaban:* ${pickRandom(['Ya','Mungkin iya','Mungkin','Mungkin tidak','Tidak','Tidak mungkin'])}
`.trim(), m, m.mentionedJid ? {
contextInfo: {
mentionedJid: m.mentionedJid
}
} : {})
}
handler.h... |
import React from 'react';
import { Link } from 'react-router-dom';
export default function Button(props) {
const { text, link, className } = props;
return (
<Link to={link}><button className={className}>{text}</button></Link>
)
}
|
const { site } = require("./config");
const https = require("https");
const crypto = require("crypto");
const moment = require("moment");
const { toTitleCase } = require("../../lib/stringUtil");
module.exports = async function GetAvailableAppointments() {
console.log(`${site.name} starting.`);
const webData = ... |
module.exports = function (request) {
return require('../data/job-details/job-details' + request.params.id + '.json');
};
|
require("dotenv").config();
module.exports = {
siteMetadata: {
title: '424',
},
plugins: [
'gatsby-plugin-react-helmet',
`gatsby-plugin-styled-components`,
{
resolve: `gatsby-source-contentful`,
options: {
spaceId: process.env.SPACE_ID,
accessToken: process.env.ACCESS_T... |
import { Link } from "gatsby"
import PropTypes from "prop-types"
import React from "react"
import netlifyIdentity from "netlify-identity-widget"
import gatsbyLogo from "../images/gatsby-icon.png"
const isActive = ({ isCurrent }) => {
return { className: isCurrent ? "active" : "navlink" }
}
const NavLink = props =>... |
const { execSync } = require('child_process')
const fs = require('fs')
const path = require('path')
const LRU = require('lru-cache')
const semver = require('semver')
let _hasYarn
const _yarnProjects = new LRU({
max: 10,
maxAge: 1000
})
let _hasGit
const _gitProjects = new LRU({
max: 10,
maxAge: 1000
})... |
import requestEdit from './requestEdit.js'
import requestParseErrors from './requestParseErrors.js'
export default function getPaginationRequestAction(target) {
switch (target) {
case 'parseErrors':
return requestParseErrors()
default:
return requestEdit(target)
}
}
|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ic_voicemail = void 0;
var ic_voicemail = {
"viewBox": "0 0 24 24",
"children": [{
"name": "path",
"attribs": {
"d": "M0 0h24v24H0z",
"fill": "none"
},
"children": []
}, {
"name": "path",
"a... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _isFunction2 = require('lodash/isFunction');
var _isFunction3 = _interopRequireDefault(_isFunction2);
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (va... |
var options = {
manager: require("../../../src/managers/garment-purchasing/purchase-order-external-manager"),
model: require("dl-models").garmentPurchasing.GarmentPurchaseOrderExternal,
util: require("../../data-util/garment-purchasing/purchase-order-external-data-util"),
validator: require("dl-models")... |
import { Link, navigate } from "gatsby"
import PropTypes from "prop-types"
import React, { useContext } from "react"
import { FirebaseContext } from './Firebase';
import styled from 'styled-components';
const LogoutLink = styled.span`
color: white;
cursor:pointer;
&:hover{
text-decoration: underline;
}
`
... |
function showNome(){
document.getElementById('divNOME').style.display = 'inline-table';
document.getElementById('divRG').style.display = 'none';
document.getElementById('rgPaciente').value = '';
}
function showRG(){
document.getElementById('divNOME').style.display ='none';
document.getElementById('divRG').st... |
import { Observable } from '../../Observable';
import { sequenceEqual } from '../../operator/sequenceEqual';
Observable.prototype.sequenceEqual = sequenceEqual;
|
const React = require('react');
class Footer extends React.Component {
render() {
const currentYear = new Date().getFullYear();
return (
<footer className="nav-footer" id="footer">
<section className="sitemap">
<a href={this.props.config.baseUrl} className="nav-home">
<img... |
/**
* 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.
*
* @format
* @flow strict-local
*/
'use strict';
import type {Node} from 'React';
import {ActivityIndicator, StyleSheet, View} fr... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _react = _interopRequireDefault(require("react"));
var _propTypes = _interopRequireDefault(require("prop-types"));
var _Collapse = _interopRequireDefault(require("react-bootstrap/lib/Collapse"));
var _in... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@styled-icons/boxicons-regular/DockBottom"), exports);
|
import styled from 'react-emotion';
export { Button, Title, Container, ButtonGroup, Description } from '../Styles';
export const Warning = styled.span `
flex: 1 1 100%;
font-size: 12px;
`
|
// Heavily inspirated by easymidi
// Anyhow, I want to have direct access to the stream
// which is not offered for so far by easymidi.
const midi = require('midi')
const EventEmitter = require('events').EventEmitter
const swap = (obj) =>
Object.entries(obj).reduce((acc, [key, value]) => {
acc[value] = key
r... |
import '../../../stylus/components/_date-picker-table.styl'
// Directives
import Touch from '../../../directives/touch'
// Utils
import isDateAllowed from '.././util/isDateAllowed'
export default {
directives: { Touch },
data () {
return {
defaultColor: 'accent',
isReversing: false
}
},
... |
import { getProperty, map, range } from 'moltres'
import {
setupTestAdminContext,
setupTestServiceAccountContext,
tearDownTestAdminContext,
tearDownTestServiceAccountContext
} from '../../../test'
import { User, createUser, deleteUser } from '../../user'
import deleteEntityStats from './deleteEntityStats'
imp... |
import React from "react"
import { Link, graphql, useStaticQuery } from "gatsby"
import headerStyle from "./header.module.scss"
const Header = () => {
const data = useStaticQuery(graphql`
query {
site {
siteMetadata {
title
}
}
}
`)
return (
<header className={he... |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var ALIGN_CONST = require('../../display/align/const');
var Axes = require('./lib/geometry/Axes');
var Bodies = require('./lib/factory/Bodies');... |
/* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2010, Ajax.org B.V.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of sou... |
/**
* Created by zhongfan on 2017/11/1.
*/
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import ReactDOM from 'react-dom';
import Icon from 'react-weui/build/packages';
import classNames from 'classnames';
import deprecationWarning from 'react-weui/build/packages';
/**
* weui style u... |
// 页面初始化
$(function(){
//var DOCU_content_store;
init();
getDeclareCode();
set_cqp_info();
query_cqp_record_url();
});
//保存或修改报关单
function add_declare(){
/*changeStatusToSure($("#dec-ctn-content"));
changeStatusToSure($("#doc-content"));*/
var options = {
url : '/declare/addDeclareMain.action',
type : ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.