text
stringlengths
3.07k
16k
window.translations_interval = null; window.statuses_list = null; window.translators_list = null; // Get data for dropdown selects var GetListOfData = function(){ $.ajax({ url: '/api/translation/all/selects', method: 'GET', data: {}, type: 'json' }).always(function(data){ ...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); var _createClass2 = _inte...
/** * 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 appl...
// Dependencies var express = require("express"); var bodyParser = require("body-parser"); var logger = require("morgan"); var mongoose = require("mongoose"); var path = require("path"); // Requiring Note and Article models var Note = require("./models/Note.js"); var Article = require("./models/Article.js"); // Scrap...
'use strict'; var util = require('util'), inflections = require('underscore.inflections'), s = require('underscore.string'), _ = require('lodash'), mkdirp = require('mkdirp'), yeoman = require('yeoman-generator'); var ModuleGenerator = yeoman.generators.Base.extend({ init: function() { }, askForName: ...
import { isString, isUndefined, isArray } from './util' import { vnode } from './vnode' function isVnode(vNode) { return vNode instanceof vnode } function sameVnode(vnode1, vnode2) { let id1 = vnode1.attributes ? vnode1.attributes.id : undefined let id2 = vnode2.attributes ? vnode2.attributes.id : undefined ...
import React, { useState, useEffect } from 'react' import styled from 'styled-components' import { COLOR, FONT, RADIUS, MEDIA_QUERY } from '../../constants/style.js' import { ReactComponent as TitleIcon } from '../../icons/trails/trailWeather.svg' import { ReactComponent as TemperatureIcon } from '../../icons/weather/w...
import React from 'react'; import PropTypes from 'prop-types'; import Data from './data.json'; const SearchBox = (props) => ( <div className="main__section main__section_intro main__section_new_screen"> <div style={{margin: 'auto'}} className="container"> <h2 className="search__title"> {Data.title1} <br /...
'use strict'; const semver = require('semver'); const castArray = require('lodash.castarray'); const { Client } = require('tplink-smarthome-api'); const PlugAccessory = require('./plug'); const BulbAccessory = require('./bulb'); const packageConfig = require('../package.json'); const configSetup = function () { co...
import React, {Component} from 'react'; import {Button, Image, Modal, ScrollView, Text, TouchableOpacity, View} from 'react-native'; import {Card} from 'react-native-elements'; import NfcManager, {NdefParser, NfcTech} from 'react-native-nfc-manager'; import NFCService from './NFCService'; import {Root} from 'popup-ui';...
// const JSONDATA = require("data.json"); Vue.use(Vuex); // Vue.use(VueApexCharts); // Vue.component('apexchart', VueApexCharts); Vue.component('connection', Connection); Vue.component('tokens', Tokens); // Vue.component('flat-pickr', VueFlatpickr); // hljs.registerLanguage('solidity', window.hljsDefineSolidity); //...
var Gemini = require('gemini-exchange-coffee-api/lib/gemini'); var util = require('../core/util.js'); var _ = require('lodash'); var moment = require('moment'); var log = require('../core/log'); var Trader = function(config) { _.bindAll(this); if(_.isObject(config)) { this.key = config.key; this.secret = c...
/* eslint-disable no-nested-ternary */ import React, {Component} from 'react'; import {Button} from 'reactstrap'; import PropTypes from 'prop-types'; import {connect} from 'react-redux'; import {withRouter} from 'react-router-dom'; import Constants from '../Constants'; import ModalCommon from './ModalCommon'; import { ...
/* * 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 n...
/* Brickadia Server Wrapper Manages IO with the game server */ const { EventEmitter } = require('events'); const { spawn } = require('child_process'); const readline = require('readline'); const path = require('path'); const stripAnsi = require('strip-ansi'); require('colors'); const verboseLog = (...args) => { ...
import React, { Component } from 'react'; import { connect } from 'react-redux'; import Spinner from './Spinner'; import * as actions from '../actions'; import ShipCard from './ShipCard'; import { Link, withRouter } from 'react-router-dom'; import axios from 'axios'; document.body.classList.remove('has-navbar-fixed-to...
import { map } from 'rxjs/operators/map'; import RxChangeEvent from './../rx-change-event'; import * as util from './../util'; import RxError from '../rx-error'; function ensureSchemaSupportsAttachments(doc) { const schemaJson = doc.collection.schema.jsonID; if (!schemaJson.attachments) { throw R...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.loadTexture = loadTexture; exports.applyTexture = applyTexture; exports.createTexture = createTexture; exports.drawTexture = drawTexture; exports...
var host = getDomain(document.domain); var baseUrl = "http://api."+host+"/"; var grayClass = 'grayBtn'; $(function() { $(".guod_g").bind("click", function (e) { var target = $(e.target); if (target.closest(".wrap_r").length == 0) { $(".footer").removeClass("on") } }); $...
// (c) 2014-2015 <NAME> // // 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 or agreed to in writin...
// Copyright Joyent, Inc. and other Node contributors. // // 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, modi...
import * as CFG from "../../cfg"; import { $, GET, POST, assert, boundingsMatch, addSessionToQuery, getResizeDirection, coordsInMapBoundings, getTilesetTilePositionByIndex } from "../../utils"; import { showAlertModal, closeAlertModal } from "../../screens/index"; import Map from "../map/index"...
import React, { Component } from 'react'; import { Form } from '@ant-design/compatible'; import '@ant-design/compatible/assets/index.css'; import { Modal, Button, message } from 'antd'; import { connect } from 'dva'; import moment from 'moment'; import { editMileStone, mileStoneRelate, saveMileStone } from '@services/p...
'use strict'; const angular = require('angular'); import * as properties from '../../../properties'; export default class updatecustomerprofileComponent { /*@ngInject*/ constructor($http, $scope,Auth) { this.$http = $http; this.isLoggedIn = Auth.isLoggedInSync; this.isAdmin = Auth.isAdminSync; ...
import { CREATE_INNOVATION_BEGIN, CREATE_INNOVATION_SUCCESS, CREATE_INNOVATION_ERROR, GET_INNOVATION_DATA_BEGIN, GET_INNOVATION_DATA_SUCCESS, GET_INNOVATION_DATA_ERROR, GET_INNOVATIONS_LIST_BEGIN, GET_INNOVATIONS_LIST_SUCCESS, GET_INNOVATIONS_LIST_ERROR, EDIT_INNOVATION_BEGIN, EDIT_INNOVATION_SUCC...
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.applyMock = applyMock; exports.outputError = outputError...
/* * From http://djangosnippets.org/snippets/2564/ */ function dismissEditRelatedPopup(win, objId, newRepr) { objId = html_unescape(objId); newRepr = html_unescape(newRepr); newRepr = newRepr.replace(/</g, '&lt;'); newRepr = newRepr.replace(/>/g, '&gt;'); var name = windowname_to_id(win.name).replace(/^edit_/, ...
$(function () { console.log("Hi pal. Hope your day is going nicely. Or night. You've picked a wild adventure trying to set this up.") console.log(` ████ ██ ████ ██ ▒▒▒▒▒▒ ...
import React from "react"; import { Image, SectionList, StyleSheet, View, Text, Dimensions, } from "react-native"; import { ScrollView, RectButton } from "react-native-gesture-handler"; import { find } from "lodash"; import { BoldText, RegularText } from "../components/StyledText"; import LoadingPlaceholder...
import { Session } from 'meteor/session'; import { Template } from 'meteor/templating'; import { BigNumber } from 'meteor/ethereum:web3'; import { web3Obj } from 'meteor/makerotc:dapple'; import Transactions from '/imports/api/transactions'; import Tokens from '/imports/api/tokens'; import { uppercaseFirstLetter, form...
Object.defineProperty(exports, "__esModule", { value: true }); var http_request_common_1 = require("./http-request-common"); var debugger_1 = require("../../debugger/debugger"); var HttpResponseEncoding; (function (HttpResponseEncoding) { HttpResponseEncoding[HttpResponseEncoding["UTF8"] = 0] = "UTF8"; HttpResp...
"use strict"; const EventEmitter = require("node:events"); /** * Filter to be applied to the collector. * @typedef {Function} CollectorFilter * @param {...*} args Any arguments received by the listener * @param {Collection} collection The items collected by this collector * @returns {boolean|Promise<boolean>} *...
import React , {PropTypes} from 'react'; import { connect } from 'react-redux'; import { getById, getAll, Delete, update} from "../actions/userActions"; import {bindActionCreators} from 'redux' import ReactPaginate from 'react-paginate'; import Tabelify from './Tabelify'; import _ from 'lodash'; let dataU = []; // con...
const Promise = require('bluebird'); const { checkTimestamp } = require('agama-wallet-lib/src/time'); const { pubToElectrumScriptHashHex } = require('agama-wallet-lib/src/keys'); const btcnetworks = require('agama-wallet-lib/src/bitcoinjs-networks'); const UTXO_1MONTH_THRESHOLD_SECONDS = 2592000; module.exports = (api...
import { FormModel } from 'enketo-core/src/js/form-model'; import gui from './module/gui'; import controller from './module/controller-webform'; import settings from './module/settings'; import connection from './module/connection'; import { init as initTranslator, t, localize, loadTranslation, } from '...
// JavaScript Document //全局加载事件 $(function () { globalEvent.gridRows(); globalEvent.dateTimePicker(); globalEvent.setWordTips(); globalEvent.simList(); globalEvent.commonTabs(); }); /*===============================================*/ /*加事件*/ var globalEvent = { /*自适应按钮效果*/ btnOver: functio...
'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 ("...
'use strict' const Destructible = require('destructible') const Turnstile = require('turnstile') const { coalesce } = require('extant') const ascension = require('ascension') const Fracture = require('fracture') const Strata = require('../strata') const Magazine = require('magazine') const Player = require('transcrip...
// Componentes Propios import ComponentContainer from "../../shared/components/componentContainer/ComponentContainer"; import EditUserForm from "./components/editUserForm/EditUserForm"; import AssociateRoles from "./components/associateRoles/AssociateRoles"; import AssociateCompanies from "./components/associateCompani...
var requestAnimFrame = (function (w) { return w.requestAnimationFrame || w.webkitRequestAnimationFrame || w.mozRequestAnimationFrame; })(window); var RandomStack = function (length) { this._data = new Array(length); this.length = 0; this.push = function (e) { this._data[this.length++] = e; }; this.po...
/** * Problem: React Native accepts either percentages or * density-independent pixels (DP) for its styles. * Percentages work well on the web, * but they don't support all the style properties in React Native. * Only padding, margin, width, height, minWidth, minHeight, * maxWidth, maxHeight, flexBasis can have p...
/** * @fileOverview Creates the PlanetaryMap Object that contains the OL map and adds * selects and divs to the map for the user to switch the projection, target, lat type, * and lon domain and direction. * * @author <NAME> and <NAME> * * @history * 2019-09-23 <NAME> and <NAME> - Original Version */ createC...
import React from 'react' import Typography from '@material-ui/core/Typography' import Color from 'color' import {match, ObjectComp} from 'utils' const validate_hex_color = (str) => { if ((!str) || str.length !== 7) return false try { return Color(str).hex() } catch (err) { return false ...
/*! * s3cli - request * Copyright(c) 2012-2013 ogom * MIT Licensed */ 'use strict'; var util = require('util'), fs = require('fs'), http = require('http'), https = require('https'), querystring = require('querystring'), mime = require('mime'), xml2js = require('xml2js'), auth = require(...
import React, {useState, useEffect} from 'react'; import { View, Text, SafeAreaView, ScrollView, TouchableWithoutFeedback, TouchableOpacity, Alert, Image, } from 'react-native'; import DateTimePicker from '@react-native-community/datetimepicker'; import auth from '@react-native-firebase/auth'; import f...
"use strict"; /// <reference types="debug" /> // const debug: debug.IDebugger = require('debug')('mcft:svccom:MessageBrokerRpcCaller') var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPrope...
import React, {Component} from "react"; import {Card, CardBody, CardHeader, Col, Collapse, FormGroup, Input, Label, Row} from "reactstrap"; import {connect} from "react-redux"; import {updateQuoteParam} from "../../../../store/actions/policy"; import {policyService} from "../../../../services/policyService"; class Ded...
'use strict'; const fs = require('fs'); const config = require('./config'); const cache = require('./cache'); const download = require('./download'); module.exports = () => new Promise((fulfill, reject) => { download({ remote: config.dataURL, keepCache: true, debug: true, expiration: 1000 * 86400, // C...
import { STATE_LOGIN, STATE_SIGNUP } from 'components/AuthForm'; import GAListener from 'components/GAListener'; import { EmptyLayout, LayoutRoute, MainLayout } from 'components/Layout'; import PageSpinner from 'components/PageSpinner'; import AuthPage from 'pages/AuthPage'; import React from 'react'; import componentQ...
import getPropertyValue from '../getPropertyValue'; import {brokerSafeId} from '../shared'; import {cloneContent, shiftParent} from '../messageHelper'; const kCompleted = Symbol.for('completed'); const kMessageQ = Symbol.for('messageQ'); const kExecuteMessage = Symbol.for('executeMessage'); const kReferenceElement = S...
"use strict"; var __read = (this && this.__read) || function (o, n) { var m = typeof Symbol === "function" && o[Symbol.iterator]; if (!m) return o; var i = m.call(o), r, ar = [], e; try { while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); } catch (error) { e = { ...
$(document).ready(iniciar); var actual; var tabla; function iniciar(){ generar_filtro(); tabla=$("#tb_unidad").DataTable(); $("#btn_registrar").on("click", registrar); $("#btn_editar").on("click", editar); $('#nombre_unidad').keyup(function() {diseño(!error?'':'nombre_unidad');}); $('#edi...
/* * @license * Copyright 2018 Brigham Young University * * 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 * * Unl...
var fs = require('graceful-fs'); var path = require('path'); var Q = require('q'); var tmp = require('tmp'); var mkdirp = require('mkdirp'); var rimraf = require('rimraf'); var readJson = require('../../util/readJson'); var createError = require('../../util/createError'); var removeIgnores = require('../../util/removeI...
// MIT License // Copyright (c) 2020 <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, p...
var debug = require('debug')('gap'); var events = require('events'); var os = require('os'); var util = require('util'); var Hci = require('./hci'); var isLinux = os.platform() === 'linux'; var isIntelEdison = isLinux && os.release().indexOf('edison') !== -1; var isYocto = isLinux && os.release().indexOf('yocto') !=...
import { registerPlugin } from "@finos/perspective-viewer/src/js/utils.js"; import L from "leaflet" import { feature } from "topojson-client" import "./styles.css" function createMapNode(element, div, { zoom }) { const { children } = element /*Create a different ID to avoid errors when we show more than one map o...
/*global $*/ import React from 'react'; import Ionicon from 'react-ionicons'; import Storage from './Storage'; import Dialog, { DialogActions, DialogContent, DialogTitle } from 'material-ui/Dialog'; import Button from 'material-ui/Button'; import TaskEdit from './TaskEdit'; import I18N from './I18N/I18N'; import ...
// Copyright 2019 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 in ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _fs = _interopRequireDefault(require("fs")); var _path = _interopRequireDefault(require("path")); var _url = require("url"); var _util = _interopRequireDefault(require("util")); var _uuid = require("uuid")...
import React, { useState } from "react" import fetch from "isomorphic-unfetch" import Cookies from "js-cookie" import { motion } from "framer-motion" import heroStyles from "./heroStyles.module.css" const Reveal = props => { // handle contact form input & integrate with Hubspot // eslint-disable-next-line no-unuse...
const _ = require('lodash'); const request = require('request'); /** * Runs defined tests, collect statistics * @constuctor * @param {object} options test runner configuration object * @param {string} options.requestId test identifier which will be prepended to logs if present * @param {boolean} options.silentMod...
//alert("helo"); console.log("Hello there!"); let mastermindCode = []; const colorCode = ['white', 'black', 'blue', 'green', 'red', 'yellow']; let indexRow = 1; let correctColor = 0; let correctPlace = 0; let guessCode = [0,0,0,0]; function getRandomColor(){ return Math.floor(Math.random() * 6); } function...
/////////////////////////// //http://stackoverflow.com/questions/3426404/create-a-hexadecimal-colour-based-on-a-string-with-jquery-javascript function padZeroes(number, length) { var str = '' + number; while (str.length < length) {str = '0' + str;} return str; } function hashCode(str) { // java St...
/* * * Receipts * */ import React, { PropTypes } from 'react'; import { connect } from 'react-redux'; import Helmet from 'react-helmet'; import { createStructuredSelector } from 'reselect'; import { StickyContainer } from 'react-sticky'; import _ from 'lodash'; import { getReceipts, getPDF, setSearchOptions...
/** * @Description: 我的收藏页面 * * @author: 喵帕斯 * * @date: 2020/03/06 */ import React, {PureComponent} from 'react'; import {connect} from "dva"; import { message, Modal } from 'antd'; import PageHeaderWrapper from '../../components/PageHeaderWrapper'; import MyCollectionApply from '../../components/myCollection/app...
// Various variables let cardNumber = ["A", 2, 3, 4, 5, 6, 7, 8, 9, 10, "J", "Q", "K"]; let cardSuit = ["♠︎", "♥︎", "♣︎", "♦︎"]; let playerCards = []; let dealerCards = []; let aces = 0; let playerTotal = 0; let dealerTotal = 0; let playerName = ""; let cash = 500; let pot = 0; $("#currentCash").html(cash); // ...
/** * @license Copyright 2017 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 http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or a...
import React, { useEffect, useState, useCallback } from 'react'; import { useSelector } from 'react-redux'; function useCanvasContext() { const [context, setContext] = useState(null); const [canvas, setCanvas] = useState(null); const canvasRef = useCallback(canvasNode => { setCanvas(canvasNode); ...
const markdownIt = require('markdown-it'); const mdatrs = require('markdown-it-attrs'); const lazyImagesPlugin = require('eleventy-plugin-lazyimages'); const syntaxHighlight = require("@11ty/eleventy-plugin-syntaxhighlight"); //const eleventyNavigationPlugin = require("@11ty/eleventy-navigation"); ...
let gulp = require('gulp'); let uglifyES = require('gulp-terser-scoped'); let fs = require('fs'); let rename = require('gulp-rename'); let header = require('gulp-header'); let doc = require('./lib/doc'); let pkg = require('../package.json'); let ts = require('typescript'); let customize = require('./customize'); let pa...
$.getQueryString = function(name) { var search = location.search.substr(1); var reg = new RegExp('(&|^)'+name+'=([^&]*)(&|$)'); var r = search.match(reg); if (r === null) return null; return decodeURI(r[2]); }; window.shop = { config: { API_PREFIX: "http://h6.duchengjiu.top/shop/", PAGESIZE: 10, ...
//startup.js var globalhttpheaders = {}; var appConfig = { appId: "Events", appName: "Events", appVersion: "1.1.1", isturlbase: "https://prodsanity-83.konycloud.com/services", isDebug: true, isMFApp: true, appKey: "<KEY>", appSecret: "825d96a6df1af4fe912c11ed3e13b2ba", serviceUrl: "h...
/** * Function that checks a Prismic data subarray's objects to see if any have key-value pairs that are null. Reason is to avoid Layout Helper component mapping errors because the array of elements had a top-level null value. * * **Use Case -- Filtering out data subobjects from null key-value pairs to make them map...
import { Session } from 'meteor/session'; import { $ } from 'meteor/jquery'; import { BigNumber } from 'meteor/ethereum:web3'; import { Dapple, web3Obj } from 'meteor/makerotc:dapple'; import { Spacebars } from 'meteor/spacebars'; /** * Best case scenario: * - a valid contract address is passed and we have correspo...
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { t...
import fabric from 'fabric'; // import snippet from 'tui-code-snippet'; import { winControls } from '@/timeline/controls'; // const { CustomEvents } = snippet; class SESlipWindow { constructor(track) { this.name = 'SceneEffectSlipWindow'; this.track = track; this._handlers = { mousedown: this._onFa...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import moment from 'moment'; export default class Post extends Component { constructor(props) { super(props); this.state = { isLike: false, likeId: null, post: this.props.post || {} }; this.onLike ...
var ws; function ws_url(path) { var loc = window.location var new_uri; new_uri = "ws://" + loc.host; new_uri += loc.pathname; new_uri += path; return new_uri; } window.onload = function() { if (typeof(WebSocket) !== 'undefined') { this.WebSocket = WebSocket; } else if (typeof...
import { observable, action, asMap } from 'mobx' import Mousetrap from '../Lib/Mousetrap.min.js' import { isNilOrEmpty } from 'ramdasauce' import Keystroke from '../Lib/Keystroke' /** * Handles UI state. */ class UI { /** * Which tab are we on? */ @observable tab = 'timeline' /** * Targets state keys...
'use strict'; import React from 'react'; import { FormattedMessage, } from 'react-intl'; import { Icon, Button, Breadcrumb, } from 'antd'; import InterfaceSceneList from './InterfaceSceneList'; import InterfaceProxyConfig from './InterfaceProxyConfig'; import InterfaceSchema from './InterfaceSchema'; import...
import React, { useContext, useEffect, useState } from 'react' import { IonText, IonContent, IonGrid, IonCol, IonRow, IonIcon, IonInput, IonButton, } from '@ionic/react' import { searchOutline } from 'ionicons/icons' import { useQuery } from '@apollo/client' import Loading from '../../co...
var ROOT_PATH = 'https://cdn.jsdelivr.net/gh/apache/echarts-website@asf-site/examples'; var chartDom = document.getElementById('main'); chartDom.style.height = window.innerHeight - 50 +'px'; var myChart = echarts.init(chartDom); var option; var HEIGHT_RATIO = 0.6; var DIM_CATEGORY_INDEX = 0; var DIM_TIME_ARRIVAL = 1;...
/** * Skills required to understand/buy npcs. */ const NpcLoreSkills = { beast:["animals","naturelore","summoning"], magicbeast:["magicbeasts","naturelore","summoning"], demon:["demonology","bloodlore","summoning","languages"], humanoid:["charms","languages","history"], undead:["necromancy","reanimation"], kel...
'use strict' const sy = require('../system') const ui = require('../ui') const D = require('../d') const navigator = require('./navigator') const path = require('path') const _ = require('underscore'); const ipc = require('electron').ipcRenderer; function scrollTo(element) { if (!element) { return; } element.scro...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _typeof = require("@babel/runtime/helpers/typeof"); Object.defineProperty(exports, "__esModule", { value: true }); exports.stepsProps = exports.stepProps = exports.default = exports.Step = void 0; var _vue = re...
import React, {useState, useEffect, useContext} from 'react'; import {Cart, Bar, TitleBar, Rectangle, TextAddress, AddressUser, TitleCart, ButtonConfirmCart, Subtotal, SubtotalValor, ValorCart, ValorFrete, PayMethod, OptionsPayMethod, CustomRadio, LabelRadio, Container, DadosRestaurante} from './styles'...
"use strict"; var __importStar = (this && this.__importStar) || function (mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; result["default"] = mod; return result; }; var __importDefault = (t...
import { useState, useRef, useEffect } from "react"; import { useParams } from "react-router-dom"; import { useQuery, useMutation } from "@apollo/client"; import { GET_LISTS, GET_TASKS } from "../../graphql/queries"; import { CREATE_TASK, EDIT_TASK } from "../../graphql/mutations"; import { SubmitButton, SecondaryButto...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } ...
window.addEventListener("load", eventWindowLoaded, false); var videoElement; var videoDiv; function eventWindowLoaded() { videoElement = document.createElement("video"); videoDiv = document.createElement('div'); document.body.appendChild(videoDiv); videoDiv.appendChild(videoElement); videoDiv.setAttribute(...
import React, { Component } from 'react' import PropTypes from 'prop-types' const defaultColorsList = ['#f81d22', '#1890ff', '#0b8235', '#e90', '#c41d7f', '#faad14', 'rgba(13, 27, 62, 0.65)'] /* params: 1.title 标题 2.defaultColor 默认颜色 3.callback 回调函数 4.colorsList 初始颜色列表 */ export default class Colo...
/* * Copyright © 2018 <NAME>, Inc. * * 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 or agreed to in writing...
var productData = []; var boxActionData = []; var customerData = []; function orderDelete(boxAction_id) { let answer = confirm("Siparişi Silmek İstediğinizden Emin Misiniz?"); if (answer) { $.ajax({ url: './boxAction-delete?boxAction_id=' + boxAction_id, type: 'DELETE', ...
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ const browserProvidersConf = require('./browser-providers.conf'); const {generateSeed} = require('./tools/jasmine-see...
//门店 z.DC["/common/querymenu"] = { init: function (cb) { cb.onBeforeSelect = function (node) { if (node.children) { art('请选择 子节点'); return false; } } } }; //采购类型 z.DC["dataurl_timtype"] = { data: [ { value: 1, text: "普通采购" }, ...
"use strict"; /** * @packageDocumentation * @module Parts.M5StickC_Yun */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const util_1 = __importDefault(require("....
import Firebase from "firebase/app"; import "firebase/database"; import _ from "lodash"; import { SPECIAL_VALUES } from "./actions"; import { selectors } from "./reducer"; const get_root_ref = () => Firebase.database().ref(); const handlers = {}; function get_uid() { const user = Firebase.auth().currentUser; if...
/** * Checks the `Authorization` header for a JWT and verifies * that it is legitimate and valid before allowing the * request to proceed. */ const errors = require('@feathersjs/errors') const jwt = require('jsonwebtoken') const rp = require('request-promise') module.exports = ({ // These two parameters allow u...
$(function(){ // 注册鼠标右键菜单事件 $("#undo").bind("click", undo); $("#redo").bind("click", redo); $("#reloadPage").bind("click", reloadPage); $("#openInCurrentWindow").bind("click", openInCurrentWindow); $("#openInNewWindow").bind("click", openInNewWindow); $("#splFlow").bind("click", simpleFlow)...