text
stringlengths
3.22k
29.5k
/* eslint-disable react/destructuring-assignment */ import React, { PureComponent } from 'react'; import { connect } from 'dva'; import { Input, Icon, Avatar, Radio, Checkbox, message } from 'antd'; import styles from './index.less'; const RadioGroup = Radio.Group; const { TextArea } = Input; @connect(({ loading, auth...
/* global __basedir */ const chalk = require('chalk'); const nunjucks = require('nunjucks'); const fs = require('fs'); const path = require('path'); const prettier = require('prettier'); // Pull in filters const md = require('../../_filters/md'); // Set up the chalk warning and error state // @ts-ignore const warnin...
import React from "react"; class RoseCeremony extends React.Component { constructor(props) { super(props); // How many roses you have to give out this.numRoses = this.props.numRoses; this.activeRats = []; this.backRowRats = []; this.frontRowRats = []; this.state = { selectedRats:...
/** * CONFIGURATION VARIABLES * */ var devUrl = 'localhost:3000'; /** * NPM MODULES * */ var node_path = require('path'); var argv = require('yargs').argv; var del = require('del'); var pngquant = require('imagemin-pngquant'); var buffer = require('vinyl-buffer'); var source = require('vinyl-source-stream'); v...
/* change JS error message to a loading message */ $('#colorPreviewText').html('Loading...'); /* colour picker with gradient preview */ let color1, color2; function updateColors() { color1 = $('#colorSel1').val(); color2 = $('#colorSel2').val(); $('#colorPreviewText').html(color1 + ' → ' + color2)...
import StringPointer from './string-pointer.js'; class Core { constructor(config = {}) { this.stringPointer = new StringPointer(); this.setConfig(config); } static INIT_STATE = '__INIT__'; static START_MATCH_ALL = 'START_MATCH_ALL'; reset(isForce = false) { if (isForce) { ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var component_1 = require("@antv/component"); var global_1 = require("../../base/global"); var base_1 = tslib_1.__importDefault(require("../base")); var layer_1 = tslib_1.__importDefault(require("../../plots/lin...
/** * @file CascaderList component */ import React, {Component} from 'react'; import PropTypes from 'prop-types'; // Components import CascaderListItem from '../_CascaderListItem'; import Tip from '../Tip'; // Statics import Theme from '../Theme'; import SelectMode from '../_statics/SelectMode'; import HorizontalD...
import React, { Component } from 'react'; import { Box, Button, Chart, CheckBox, Clock, Diagram, Distribution, FormField, Grid, Heading, Menu, Meter, Paragraph, RadioButton, RangeInput, RangeSelector, Select, Stack, Text, TextArea, TextInput, WorldMap, ThemeContext, } from 'grommet'; import { Actions, A...
/** * Autor : <NAME> * DevName: AdilsonDev * Company: DevDebian * Date: 28-05-2019 * * Description: Hashtag is a library that help you to interacte with javaScript in easy way * gives you oportunities to emphasize you javaScript in easy way just like jQuery library does * you are able to use hashtag´s function...
var semestre = 1; var mallaCustom var custom_ramos = new Set(); var ramosSemestres; var customRamosProps = {} function start_generator() { // los ramos fuera de malla se cargan primero mallaCustom = "Custom-" + current_malla; if (localStorage[mallaCustom + "_CUSTOM"]) { customRamosProps = JSON.parse...
const gst = require('node-gstreamer-launch/src/index'); const path = require('path'); const get = require('lodash.get'); const set = require('lodash.set'); const querystring = require('querystring'); const convert = require('convert-units'); const TYPES = require('./gstPlugins/streamTypes'); const getAVDecodingElement...
//Desarrollo de las visualizaciones import * as d3 from 'd3'; import { numberWithCommas3 } from '../helpers'; import { getInTooltip, getOutTooltip, positionTooltip } from '../modules/tooltip'; import { setChartHeight } from '../modules/height'; import { setChartCanvas, setChartCanvasImage } from '../modules/canvas-imag...
import React, {useState, useEffect, useContext, useRef} from 'react'; import { Button, StyleSheet, ScrollView, Text, TextInput, View, } from 'react-native'; import {debounce, sortedIndexBy} from 'lodash'; import {useTheme} from '@react-navigation/native'; import {useTranslation} from 'react-i18next'; import...
import Order from '../models/order.model'; import Pilot from '../models/pilot.model'; import orderCtrl from '../controllers/order.controller'; import pilotCtrl from '../controllers/pilot.controller'; import cloudinary from 'cloudinary'; import geolib from 'geolib'; import moment from 'moment'; import { sendNotification...
import React from "react"; import { useState } from "react"; import { useEffect } from "react"; import { Fragment } from "react"; import Divider from "@material-ui/core/Divider"; import { makeStyles } from "@material-ui/core/styles"; import Controls from "./../../controls/Controls"; import Grid from "@material-ui/core/...
const util = require('util'); const Node = require('./node'); // tag::constructor[] /** * Doubly linked list that keeps track of * the last and first element */ class LinkedList { constructor() { this.first = null; // head/root element this.last = null; // last element of the list this.size = 0; // to...
import React, { PureComponent, Fragment } from 'react'; import { connect } from 'dva'; import moment from 'moment'; import { Row, Col, Card, Form, Input, Select, Icon, Button, Dropdown, Menu, InputNumber, DatePicker, Modal, message, Badge, Divider, Cascader } from 'antd'; import Stand...
import fs from "fs"; import child from "child_process"; import simpleGit from "simple-git"; import fetch from "node-fetch"; import tmp from "tmp"; import log from "./logger.js"; const GIT_TIMEOUT = 360000; //6min const SIZE_LIMIT = 100000; //~ 100MB const colormap_file = "./color_lang.json"; export const getRepoData...
import { useEffect, useLayoutEffect, useState } from 'react'; import { useApolloClient, useQuery } from '@apollo/client'; import { useDispatch } from 'react-redux'; import debounce from '@redhat-cloud-services/frontend-components-utilities/debounce'; import { systemsWithRuleObjectsFailed } from 'Utilities/ruleHelpers';...
import React, { Component } from 'react'; import { Modal, View, StyleSheet, Text, Image, TouchableOpacity,TextInput, Alert, TouchableHighlight, KeyboardAvoidingView } from 'react-native'; import {KeyboardAwareScrollView} from 'react-native-keyboard-aware-scroll-view' import db from '../config'; import firebase from...
/* eslint-disable camelcase, handle-callback-err, max-len, no-array-constructor, no-return-assign, no-undef, no-unused-vars, standard/no-callback-literal, */ // TODO: This file was created by bulk-decaffeinate. // Fix any style issues and re-enable lint. /* * decaffeinate suggestions: ...
/* Copyright (c) Business Objects 2006. All rights reserved. */ var L_bobj_crv_MainReport = "Relat\u00F3rio Principal"; // Viewer Toolbar tooltips var L_bobj_crv_FirstPage = "Ir para a Primeira P\u00E1gina"; var L_bobj_crv_PrevPage = "Ir para a P\u00E1gina Anterior"; var L_bobj_crv_NextPage = "Ir para a Pr\u00F3xima P...
'use strict'; Products.possibleProducts =[]; Products.imageAssortment =[]; Products.allotedGuesses = 0; //names only in array for graphs var productNamesArray = []; //votes per picture var imageSelection = []; //how many times picture is shown var imageShown = []; //access the DOM element var pic1Element = document....
#!/usr/bin/env node /* Copyright 2019 Adobe. All rights reserved. This file is licensed to you 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...
const postgres = require('../lib/postgres.js'); const evtnet = require('../lib/evtnet.js'); const Axios = require('axios'); Array.prototype.forEachAsync = async function (fn) { for (let i in this) Number.isInteger(parseInt(i, 10)) && await fn(this[i], i); } Array.prototype.mapAsync = async function (fn) { l...
/*MIT License Copyright (c) 2016-2019 <NAME> 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, modify, merge, publish, dis...
export { default as AcademicCap } from './AcademicCap.js' export { default as Adjustments } from './Adjustments.js' export { default as Annotation } from './Annotation.js' export { default as Archive } from './Archive.js' export { default as ArrowCircleDown } from './ArrowCircleDown.js' export { default as ArrowCircleL...
const {NameModel} = require("./name-model"); const {RandomSelector} = require("./random-selector"); const Mustache = require('mustache'); exports.ServiceProviderNameGenerator = class ServiceProviderNameGenerator { static #expresses = new RandomSelector( ["顺丰{{piece}}", 1], ["申通{{piece}}", 1], ["圆通{{piece}...
/* eslint-env node, es6 */ // @remove-on-eject-begin /** * Portions of this source code file are from create-react-app, used under the * following MIT license: * * Copyright (c) 2013-present, Facebook, Inc. * https://github.com/facebook/create-react-app * * This source code is licensed under the MIT license foun...
YUI.add('inputslider', function(Y) { var InputSlider = Y.namespace('LogiXML.InputSlider'); InputSlider.initialize = function() { //Initialize sliders LogiXML.InputSlider._rdInitInputSliders(); //Wire up for re-int after refreshelement LogiXML.Ajax.AjaxTarget().on('reinitialize', function(e) { LogiXML...
// Phantombuster configuration { "phantombuster command: nodejs" "phantombuster package: 5" "phantombuster dependencies: lib-StoreUtilities.js, lib-Twitter.js" const { URL } = require("url") const Buster = require("phantombuster") const buster = new Buster() const Nick = require("nickjs") const nick = new Nick({ loa...
import card from './Character_Tartaglia_Card.png' import thumb from './Character_Tartaglia_Thumb.png' import c1 from './Constellation_Foul_Legacy_Tide_Withholder.png' import c2 from './Constellation_Foul_Legacy_Understream.png' import c3 from './Constellation_Abyssal_Mayhem_Vortex_of_Turmoil.png' import c4 from './Cons...
const got = require('@/utils/got'); module.exports = async (ctx) => { const baseUrl = "https://coockie.pro/forums/-/index.rss"; const headers = { 'Accept-Encoding': 'gzip, deflate, br', 'Accept-Language': 'zh-CN,zh;q=0.9,en;q=0.8', }; const response = await got({ method: 'get', ...
$BASE_URL = "http://localhost/4spa/" $(document).ready(function () { //ALTERA MODAL $(".modal-wide").on("show.bs.modal", function () { var height = $(window).height() - 200; $(this).find(".modal-body").css("max-height", height); }); //MONTA TABELA ESCOLAS criarTabelaEscola(); ...
/* jshint node: true */ "use strict"; var postcss = require('postcss'); var find = require('array-find'); var referenceableNodes = []; module.exports = postcss.plugin('postcss-reference', function (opts) { opts = opts || { debug: false }; var referenceRules = []; var testRelationExistsIn = function testS...
var wxpay = require('../../utils/pay.js') var app = getApp() // 语言 var util = require('../../utils/util.js') import event from '../../utils/event' Page({ data: { statusType: [], //["全部订单","待付款", "待发货", "待收货", "已完成"], //["待付款", "待发货", "待收货", "待评价", "已完成"], currentType: 0, orderList:[], tabClass: ["",...
'use strict'; var util = require('util'); var EventEmitter = require('events').EventEmitter; var msgpack = require('msgpack-lite'); var net = require('net'); var stream = require('stream'); var crypto = require('crypto'); var FluentLoggerError = require('./logger-error'); var EventTime = require('./event-time').EventTi...
const Discord = require("discord.js"); const { Clans } = require("../../database.js"); const isImageUrl = require("is-image-url"); const { prefix } = require("../../config.json"); const botUtils = require("../../utils.js"); module.exports = { // Execução do comando run: (client, message, args) => { newError = ...
"use strict"; /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *-------------------------------------------------...
/* eslint-disable max-len */ /* ************************************************************************************************ * * * Please read the following tutorial before implementing tasks: ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _isObject2 = _interopRequireDefault(require("lodash/isObject")); var _propTypes = _interopRequireDefault(require("prop-types")); var _react = _interopRequireDefault(require("react")); var _rxjs = require("r...
/** * Pace * * A progress bar for the command-line. * * Example usage: * * var total = 50000, * count = 0, * pace = require('pace')(total); * * while (count++ < total) { * pace.op(); * * // Cause some work to be done. * for (var i = 0; i < 1000000; i++) { * ...
import React from 'react'; import PropTypes from 'prop-types'; import { render, fireEvent } from '../../../../../test/test-utils'; import MoneyField from './money-field'; import MoneyInput from '../../../inputs/money-input'; // This component is used to enable easy testing. // It overwrites the onChange function and p...
const models = require('../models'); const Beer = models.Beer; // create maker page // pass in csrf token const makerPage = (req, res) => { Beer.BeerModel.findByOwner(req.session.account._id, (err, docs) => { if (err) { console.log(err); return res.status(400).json({ error: 'An error occurred.' }); ...
//this script adds the accessability dataframe to the building objects //entrances and restrooms are copied into the accessability object var fs = require('fs'); var json=null; //add the building accessability to the building data in the dataset accessability= { //describes accessability of a place (here excluding ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var React = require("react"); var Button_1 = require("../../Button"); var Label_1 = require("../../Label"); var Icon_1 = require("../../Icon"); var Utilities_1 = require("../../Utilities"); var positioning_1 = r...
const fs = require("fs"); //file system const path = require("path"); //file and directory paths function fnLogError(err) { console.log("\n--------------------", "MyJson", "--------------------"); console.log("> " + (new Date())); console.log(err); console.log("--------------------", "MyJson", "------------------...
/*globals bluetoothle,cordova,cordovaHTTP*/ /* * 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 L...
$(document).ready(function () { get_wizard_types() //$(document).on("click", "#export_button", function () { // $("#export_modal").modal("show") //}) $(document).on("click", "#add_fields_button", add_primer_fields) // load existing terms $.getJSON("/copo/load_metadata_template_terms/", {"...
/**------------------------------------------------------------------------------------------------- * PROGRAM ID : 3dmapstore.js * DESCRIPTION : * AUTHOR : liangjs * DATE : Dec 23, 2016 * VERSION NO : 1.0 * PARAMETERS : * RETURN : * USAGE NOTES : * COMMENT...
var Spinner = require('../widgets/spinner.js'); var Dice = require('../widgets/dice.js'); var Melee = require('../core/melee.js'); var increment = require('../core/increment.js'); var config = require('../config.js'); var _ = require('lodash'); var log = require('../core/log.js'); var odds = Melee.odds[2]; var attack ...
import React from "react"; import Pact from "pact-lang-api"; const Context = React.createContext(); const hosts = ["us1","us2","eu1","eu2","ap1","ap2"] const chainIds = ["0","1",'2',"3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"] const createAPIHost = (network, chainId) => `https://${ne...
// ==UserScript== // @name Xkcd Forums Tables // @version 1.0.1 // @description Adds bbcode tables to the xkcd forums // @author faubiguy // @match http://forums.xkcd.com/* // @match http://fora.xkcd.com/* // @match http://forums2.xkcd.com/* // @match http://echochamber.m...
/** * Copyright 2018 Google LLC * * 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/* The MIT License (MIT) Copyright (c) 2016 - <NAME>, <NAME> 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, modify, merg...
'use strict'; const util = require('./shared_utils'); const parser = require('fast-xml-parser'); const fs = require('fs'); const path = require('path'); const xmlParserOptions = { attributeNamePrefix: "@_", attrNodeName: "attr", //default is 'false' textNodeName: "#text", ignoreAttributes: false, ...
import React, { useCallback, useEffect, useState, useRef, Fragment, } from 'react' import { render } from 'react-dom' import zip from 'jszip' import CommitGrid from '../../shared/components/commit-grid' import InfoDrawer from '../../shared/components/info-drawer' import SettingsDrawer from '../../shared/compo...
import React from 'react' import { Link } from 'gatsby' import { Container, Row, Col } from 'react-bootstrap'; class Navi extends React.Component { state = { header: [ { modalClass: "not-active" }, ], } toggleMenu = () => { if (this.state.header[0].modalClass === "not-active") { ...
var WYSIWYG = { blankPage: 'blank.html', VideoPlay: function ( id, node ) { if ( $( node ).parents( '.novideo' ).length ) { return; } node.innerHTML = '<object type="application/x-shockwave-flash" style="width:425px; height:344px;" data="http://www.youtube.com/v/' + id +...
var gulp = require('gulp'); var browserSync = require('browser-sync'); var handlebars = require('gulp-compile-handlebars'); var fs = require('fs'); var path = require('path'); var del = require('del'); var delayed = require('delayed'); // Gulp plugins var concat = require('gulp-concat'); var gulpif = require('gulp-if'...
import {Logger} from './logger.js'; import {ARENAUtils} from '../utils.js'; // handle actions const ACTIONS = { CREATE: 'create', UPDATE: 'update', }; // path to controler models const handControllerPath = { handLeft: 'store/models/valve_index_left.gltf', handRight: 'store/models/valve_index_right.glt...
var test = require('tape') var Lexer = require('../src/joy/lexer') var digits = '0123456789'.split('') var lower = 'abcdefghijklmnopqrstuvwxyz'.split('') var upper = lower.map(function (c) { return c.toUpperCase() }) function toNumber (input) { if (/^-?0\d+/.test(input)) { return parseInt(input, 8) } else if ...
console.log("schedule") import flatpickr from "flatpickr"; flatpickr("#myTime", { enableTime: true, noCalendar: true, }); //$('[data-day="MONDAY"]').addClass('hoverday'); $( ".days i" ).click(function() { let myDays = $("#myDay").val(); if($(this).hasClass('hoverday')){ $(this).toggleClass('...
import React from "react"; import PropTypes from "prop-types"; import { styled } from "@mui/material/styles"; import Button from "@mui/material/Button"; import ExpandMoreIcon from "@mui/icons-material/ExpandMore"; import { Typography } from "@mui/material"; import Accordion from "@mui/material/Accordion"; import Accord...
// ---------------------------------------------------------------------------- // See LICENSE.md file // ---------------------------------------------------------------------------- 'use strict'; const colors = require('colors/safe'); const fs = require('fs'); const path = require('path'); const isWindows = process....
'use strict'; var path = require('path'); var plist = require('plist'); var es = require('event-stream'); var vfs = require('vinyl-fs'); var File = require('vinyl'); var rename = require('gulp-rename'); var semver = require('semver'); var util = require('./util'); function getOriginalAppName(opts) { return semver.gt...
import _isEqual from "lodash/isEqual"; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super...
import { isRealNode, isSetClassName, checkClassName, searchSubStr, formatTextNode, regExpescape } from './utils' //选中的class name const currentSelectClass = '__better-search-current-select' //标记id let markId = 0 class BetterSearch { constructor(opt) { //搜索区域 this.domContainer = opt.domContainer || ...
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator["throw"]...
const fs = require('fs') const splitByMediaQuery = require('./splitByMediaQuery') const { sha1 } = require('crypto-hash') const handleApply = ({ compiler, options }) => { const { mediaOptions, minify, chunkFileName: chunkFileNamePattern } = options const pluginName = 'media-query-splitting-plugin' compiler.ho...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("va...
import { html, PolymerElement } from "@polymer/polymer/polymer-element.js"; import { dom } from "@polymer/polymer/lib/legacy/polymer.dom.js"; import "@polymer/iron-flex-layout/iron-flex-layout-classes.js"; import "@polymer/iron-icons/iron-icons.js"; import "@polymer/iron-icons/editor-icons.js"; import "@polymer/paper-i...
/* eslint-env mocha */ /* eslint prefer-arrow-callback: "off" */ 'use strict'; const assert = require('bsert'); const {Path, Signer, generateToken, prepareSignMultisig, vendors} = require('../lib/bsigner'); const {wallet, Network, protocol, FullNode} = require('bcoin'); const {NodeClient} = require('bcoin/lib/clien...
/*<![CDATA[*/ $(document).ready(function(){ common.getData("/switch/links","GET").then(function(response) { $("#wait1").css("display", "none"); $('body').css('pointer-events','all'); showflowData(response); }, function(error){ response=[]; $("#wait1").css("display", "none"); $('body')...
var settings = {}; var DEBUG = false; var RELEASE = true; var common = {}; var Icons = getIcons(); common.database = []; common.events = {}; common.settings = {}; common.operations = {}; common.statics = {}; common.instances = []; common.data = []; common.designer = []; common.sizing = {}; $(window).on('resize', resi...
import { preloadImages } from './utils'; import { gsap } from 'gsap'; import "splitting/dist/splitting.css"; import "splitting/dist/splitting-cells.css"; import Splitting from "splitting"; // initialize Splitting on the intro_title elements Splitting(); // center title that is initially visible (the large one) and i...
/** * How Webkit implements WebSocket. * WebSocket.h -https://github.com/WebKit/webkit/blob/5ba65e3c7d14bc3230381f786534e50bb5f3c593/Source/WebCore/Modules/websockets/WebSocket.h * WebSocket.cpp -https://github.com/WebKit/webkit/blob/5ba65e3c7d14bc3230381f786534e50bb5f3c593/Source/WebCore/Modules/websockets/WebSoc...
const express = require('express') const app = express() app.set('view engine', 'ejs') var Fabric_Client = require('fabric-client'); var Fabric_CA_Client = require('fabric-ca-client'); var path = require('path'); var util = require('util'); var os = require('os'); app.get('/', function (req, res) { res.render('ind...
/** * @license * Copyright (c) 2021, Oracle and/or its affiliates. * Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. */ const fetch = require('node-fetch'); const fs = require('fs'); const fsPromises = require('fs/promises'); const path = require('path'); const...
const BigNumber = web3.BigNumber; require('chai') .use(require('chai-bignumber')(BigNumber)) .should(); const encodeCall = require('./helpers/encodeCall'); const assertRevert = require('./helpers/assertRevert'); const eventFired = require('./helpers/eventFired'); const getEvents = require('./helpers/getEvents')...
/** Functions to parse OCR boxes from various formats and render them as SVG. */ import max from 'lodash/max'; const parser = new DOMParser(); /** Parse hOCR attributes from a node's title attribute */ function parseHocrAttribs(titleAttrib) { const vals = titleAttrib.split(';').map((x) => x.trim()); return vals.r...
import { fromJS, List as IList } from 'immutable'; import { SET_ACTIVE_IDENTITY, SET_CLAIMS, SET_CLAIM_CATEGORIES, SET_ATTESTATIONS, SET_ACTIVE_CLAIM_CATEGORY_ID, SET_ATTESTATION_PINNED, SET_ACTIVE_CLAIM, SET_ACTIVE_ATTESTATION_ID, SET_IDENTITIES, ADD_NEW_IDENTITY, DESELECT_ACTIVE_IDENTITY, SET_...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import ClubhouseController from 'clubhouse/controllers/clubhouse-controller'; import {action} from '@ember/object'; import {tracked} from '@glimmer/tracking'; import {validateNumber, validatePresence} from 'ember-changeset-validations/validators'; import currentYear from 'clubhouse/utils/current-year'; import laborDay ...
import * as CryptoJS from "crypto-js"; import * as Location from "expo-location"; import * as Notifications from "expo-notifications"; import * as TaskManager from "expo-task-manager"; import { Block, Button } from "galio-framework"; import React, { Component } from "react"; import { Dimensions, Image, StyleSheet, Text...
import * as Yup from 'yup' import { messages, requiredDate, requiredString } from '~/utils/YupValidations' import { isAfter, isBefore } from 'date-fns' const ikkeOverlappendeVedtak = ['aap', 'dagpenger'] const datoIkkeMellom = (nyDatoFra, gjeldendeDatoFra, gjeldendeDatoTil) => { if (!gjeldendeDatoFra || !gjeldendeDa...
const Bcrypt = require('bcrypt'); const Joi = require('joi'); const Hoek = require('hoek'); const internals = {}; internals.bcryptRounds = 10; internals.data = require('./models'); internals.flashback = function(input) { const output = input.replace(/\$/g, '_'); return output; } internals.flashforward = funct...
import React from 'react' import PropTypes from 'prop-types' import { connect } from 'dva' import { Row, Col, Card ,Tabs } from 'antd' import { Screen } from './components' import styles from './index.less' import { color } from '../../utils' import { PieChart, Pie, Sector, Cell,BarChart, Bar, XAxis, YAxis, CartesianGr...
// | Acorn.js tools |____________________________/ // | // | (C) Mozilla Corp // | licensed under MPL 2.0 http://www.mozilla.org/MPL/ // \____________________________________________/ var acorn = require('acorn') exports.dump = function(o, t, r, iterations){ iterations = iterations || 0; t = t || '' var a = Array....
import fs from 'fs'; import os from 'os'; import path from 'path'; import { EventEmitter } from 'events'; import { reactive } from 'vue'; import electron from 'electron'; import pkg from '../../package.json'; import { usersStorage } from './store/Storage'; import request from './request'; import vkapi from './vkapi'; i...
// JavaScript Document var root = "/"+window.KKATOO_ROOT; //TEMPLATES var TEMPLATE_TEXTSPEACH = '<tr class="content_resume content_resume_text_{id}"><td>{name_field}</td><td class="center"><a href="javascript:;" class="telefono" title="Asignar Contenido" data-content="{id}_text"></a><a href="javascript:;" class="item...
// domarr.js var getIndex = function () { if (this.sDOM && this.sDOM.isDOM) return this.sDOM.indexOf(this); else return -1; } var getParent = function () { if (this.sParent) return this.sParent.index; else if (this.tempParentIndex !== undefined) return this.tempParentIndex; else return -1; } var setParent = funct...
var APIKey = "70eb41e7cb859fabeb6a0e9e73af9f36"; var inputFormEl = document.querySelector("#current-search"); var currentCityEl = document.querySelector("#city"); var recentSearchesEl = document.querySelector("#search-bottom"); var cityIdCounter = 0; var searchArr = []; var getCity = function(city) { // api for cu...
function subtaskHtml() { html = '<div class="subtask">'+ '<input type="checkbox">'+ '<span></span>'+ '<textarea></textarea>'+ '<div class="action">'+ '<button class="btn btn-negative standby edit"><i class="fas fa-pen"></i></button>'+ '<button class="btn b...
const HIRAGANA_CHARCODE_START = 0x3040; const HIRAGANA_CHARCODE_END = 0x309f; const HIRAGANA_CHARCODE_FUNCTIONAL_FOLLOWING = [ 0x3043, 0x3045, 0x3047, 0x3049, 0x3083, 0x3085, 0x3087, 0x308e, 0x3095, 0x3096, 0x309d, 0x309e, ]; const HIRAGANA_CHARCODE_FUNCTIONAL_PRECEDING = [ 0x3063, ]; const KATAKANA_CHARCO...
var TableReport = { init: function () { TableReportMVC.View.initControl(); TableReportMVC.View.bindEvent(); TableReportMVC.View.bindValidate(); TableReportMVC.View.initData(); } }; var TableReportCommon = { baseUrl: EasyReport.ctxPath + '/report' }; var TableReportMVC = { ...
/** * * ProjectUnits * */ import React, { useState } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import * as actions from 'lib/redux/actions/projectUpdate'; import { graphql } from '@apollo/client/react/hoc'; import compose from 'lodash.flowright'; import { Card } from '...
import { keccak256, asciiToHex } from './utils/web3' import { parseEvents, extractEventArgs, hdWallet, ADDRESS_ZERO, createTranch, preSetupPolicy, createEntity, EvmSnapshot, } from './utils' import { events } from '..' import { ROLES, ROLEGROUPS, SETTINGS } from '../utils/constants' import { ensureA...
/** 技术支持 QQ:11062498 2016*/ function removejscssfile(filename, filetype){ //判断文件类型 var targetelement=(filetype=="js")? "script" : (filetype=="css")? "link" : "none"; //判断文件名 var targetattr=(filetype=="js")? "src" : (filetype=="css")? "href" : "none"; var allsuspects=document.getElementsByTagName(targetelemen...