text
stringlengths
2
1.05M
(self.webpackChunk_elegantstack_gatsby_starter_flexiblocks=self.webpackChunk_elegantstack_gatsby_starter_flexiblocks||[]).push([[2839],{5541:function(t,e,n){"use strict";n.d(e,{c:function(){return o}});var o=function(t,e){return void 0===e&&(e="identifier"),null==t?void 0:t.reduce((function(t,n){return t[n[e]]=n,t}),{}...
import React from 'react' import Footer from './footer' import Header from './header' import '../styles/index.scss' import layoutStyles from './layout.module.scss' const Layout = (props) => { return ( <div className={layoutStyles.container}> <div className='layoutStyles.container'> ...
"use plain"; "use strict"; var debug = /(^\??|&)debug(=.*?)?(&|$)/.test( location.search ); console.log( new Date() ); var allModules = {}; var Module = function Module( moduleName, bucket, moduleCode ) { if ( !( this instanceof Module ) ) { throw new TypeError( 'class constructors must be invoked with |...
import * as React from 'react'; import * as PropTypes from 'prop-types'; import classNames from 'classnames'; /* eslint-disable @typescript-eslint/no-explicit-any */ const propTypes = { /** * This is url to load inside iframe */ url: PropTypes.string, height: PropTypes.number, }; const defaultPro...
const protectRoute = (req, res, next) => { if (req.isAuthenticated()) { return next() } req.flash('error', 'Silahkan Login Terlebih Dahulu') res.redirect('/auth') } const redirectRoute = (req, res, next) => { if (!req.isAuthenticated()) { return next() } res.redirect('/produk') } module.exports ...
const path = require('path') const CopyPlugin = require('copy-webpack-plugin'); const HtmlWebpackPlugin =require('html-webpack-plugin') module.exports = { entry: './src/client.js', output: { path: path.resolve(__dirname, 'build'), filename: 'main.js' }, module: { rules: [ { test: /\.(...
const { expect } = require("chai"); const linthtml = require("../../../index"); const none = require('../../../presets').presets.none; function createLinter() { return new linthtml.Linter(linthtml.rules); } describe("attr-name-style", function() { it("Should not report anything for correctly styled attribute name...
const { app, BrowserWindow } = require('electron') const serve = require('electron-serve') let mainWindow const loadURL = serve({ directory: 'build' }) function createWindow () { mainWindow = new BrowserWindow({ height: 600, width: 800 }) loadURL(mainWindow) // mainWindow.webContents.openDevTools...
const fs = require('fs'); const lerDiretorio = function() { fs.readdir(__dirname, function(erro, diretorio) { if (erro) return erro; diretorio.forEach(function(arquivo) { ler(arquivo); }); }); }; const ler = function(arquivo) { const path = './' + arquivo; fs.stat(path, function(erro, stat) ...
/* -------------------------------------------------------------------------- */ /* Import Dependencies */ /* -------------------------------------------------------------------------- */ const { Model, DataTypes } = require('sequelize'); const sequelize = ...
/* xlsx.js (C) 2013-2014 SheetJS -- http://sheetjs.com */ /* uncomment the next line for encoding support */ //importScripts('dist/cpexcel.js'); importScripts('jszip.js'); importScripts('xlsx.js'); postMessage({t:"ready"}); onmessage = function (oEvent) { var v; try { //v = XLSX.read(oEvent.data, {type: 'base6...
export default { "angularVersion": null, "host": 'localhost', "apps": ["az-ci"], "modules": [{ "name": "az-ci", "deps": ["ngAnimate", "ngCookies", "az-ci-config", "ui.router", "angular-data.DSCacheFactory", "duScroll", "ngDropdowns", "ui.bootstrap"], "components": [{ "name": "apiProcessors", ...
const Button = ({ passwordFocus, passwordBlur, togglePassword, visibility, }) => ( <button className="toggle-password__container" onFocus={passwordFocus} onBlur={passwordBlur} onClick={togglePassword} > <span className="password--toggler"> {visibility ? ( <i className="far ...
import mongoose from 'mongoose'; import supertest from 'supertest-as-promised'; import app from '../bootstrap'; require('should'); const request = supertest(app.server()); mongoose.Promise = Promise; global.config = app.config; global.request = request; global.supertest = supertest; global._ = require('underscore')...
// @flow export const CommentType = { COMMIT: 'commits', ISSUES: 'issues', PULL_REQUEST: 'pull', }; export const NotificationSubjectTypes = { COMMIT: 'Commit', ISSUE: 'Issue', PULL_REQUEST: 'PullRequest', }; export const NotificationReasonTypes = { ASSIGN: 'assign', AUTHOR: 'author', COMMENT: 'comm...
'use strict'; const marsGo = require('..'); describe('mars-go', () => { it('needs tests'); });
export { default } from "./NewTaskForm";
import React from 'react'; import { Button, Col, Input, Row } from 'antd'; import ImgUpload from './ImgUpload'; import { useHistory, withRouter } from 'react-router-dom'; import CreateForm from './CreateForm'; import CreateFormItem from './CreateFormItem'; import SelectCategory from './SelectCategory'; import { useSele...
require('../styles.css');
import React, { Component } from 'react'; import { Alert } from 'react-native'; import { connect } from 'react-redux'; import { injectIntl } from 'react-intl'; import Config from 'react-native-config'; import get from 'lodash/get'; //Contstants import AUTH_TYPE from '../../../constants/authType'; // Actions & Service...
import { query, queryAll, update, add, del } from '@/services/psbill'; export default { namespace: 'psbill', state: { data: { code : '00', msg : '操作成功', data : { totalRow : 0, pageNumber : 1, firstPage : true, lastPage : true, totalPage :...
import React from 'react' function trial() { return ( <div> </div> ) } export default trial
export const BEFORE_FETCH = '@@breezy/BEFORE_FETCH' export const SAVE_RESPONSE = '@@breezy/SAVE_RESPONSE' export const HANDLE_GRAFT = '@@breezy/HANDLE_GRAFT' export const CLEAR_FLASH = '@@breezy/CLEAR_FLASH' export const BREEZY_ERROR = '@@breezy/ERROR' export const GRAFTING_ERROR = '@@breezy/GRAFTING_ERROR' export co...
'use strict'; // 文件不存在,分析不了具体做什么 const fs = require('fs'); const path = require('path'); const algoliasearch = require('algoliasearch'); const slugify = require('transliteration').slugify; // 不存在该文件 const key = require('./algolia-key'); const client = algoliasearch('4C63BTGP6S', key); const langs = { 'zh-CN': 'elem...
// @flow import React, { Component } from 'react'; import { withTranslation } from 'react-i18next'; import { Button, Header, Icon } from 'semantic-ui-react'; class PromptActionBroadcast extends Component<Props> { render() { const { disabled, loading, onClick, t, } = this.props; re...
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: MIT-0 const AWS = require('aws-sdk'); const PATH = require('path'); const CRYPTO = require('crypto'); const { States, mxBaseState, ServiceToken, } = require('core-lib'); const BuiltInTypes = require('./builtInTaskTyp...
/** * echarts组件: 类目轴 * * @desc echarts基于Canvas,纯Javascript图表库,提供直观,生动,可交互,可个性化定制的数据统计图表。 * @author Kener (@Kener-林峰, linzhifeng@baidu.com) * */ define(function (require) { var Base = require('./base'); // 图形依赖 var TextShape = require('zrender/shape/Text'); var LineShape = require(...
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { getCaseItems } from '../../actions'; import CaseItem from './item'; class UnboxWaiting extends Component { componentDidMount() { this.props.dispatch(getCaseItems(this.getCase())); } getCase() { return this.props.ca...
import React from 'react'; import { View, Text, Button, Image, StyleSheet } from 'react-native'; import MainButton from '../components/MainButton'; import globalStyle from '../utils/styles'; const GameOver = (props) => { const { rounds, correctNumber, restartGame } = props; return ( <View style={styles.scre...
let _ = require('lodash'); module.exports = { meta: { docs: { description: 'enforce empty lines before import declarations spanned on multiple lines', category: 'Stylistic Issues', recommended: false }, fixable: 'whitespace', schema: [{ type: 'object', additionalProperti...
define("ace/mode/io_highlight_rules", ["require", "exports", "module", "ace/lib/oop", "ace/mode/text_highlight_rules"], function(e, t, n) { "use strict"; var r = e("../lib/oop"), i = e("./text_highlight_rules").TextHighlightRules, s = function() { this.$ru...
import axios from "axios"; import handleResponse from "./handleResponse"; import handleError from "./handleError"; import setConfig from "./setConfig"; /** * intactRequest是只在axios基础上更改了请求配置。 * 而request是基于axios创建的实例,实例只有常见的数据请求方法,没有axios.isCancel/ axios.CancelToken等方法, * 也就是没有**取消请求**和**批量请求**的方法。 * 所以如果需要在实例中调用取消某...
var app = angular.module('hlOrgChart', []);
var pc = require("../.."); pc.compile = require("../../lib/parsers/default/compiler").compile; pc.document = require("./document"); var pixi = require("pixi.js"); pc.document.registerElement("text", require("./components/text")); var tpl = pc.template("<repeat each={{items}} as='item' key='v'><text text='{...
export default class MainVizTDView { constructor(container, model) { this.model = model; this.container = document.getElementById(container); } render() { const renderer = this.model.getRenderer(); this.container.appendChild(renderer.domElement); } }
import Image from "next/image"; import Cover from "pages/projects/rsvp/ccscover.png"; import ResearchPlan from "pages/projects/rsvp/researchplan.png"; import ResMethods from "pages/projects/rsvp/resmethods.png"; import Attendance from "pages/projects/rsvp/attendance.png"; import NeedsStatements from "pages/projects/rsv...
import sinon from 'sinon'; import { expect } from 'chai'; import { UPDATE_DISTROS, fetchDistros, } from '~/actions/api/distros'; import * as fetch from '~/fetch'; describe('actions/api/distros', async () => { const auth = { token: 'token' }; const sandbox = sinon.sandbox.create(); afterEach(() => { san...
function solve() { let button = document.getElementById('send'); let chatInput=document.getElementById('chat_input'); let chatMessages=document.getElementById('chat_messages'); button.addEventListener('click',(e)=>{ let message=document.createElement('div'); message.setAttribute('class','messag...
import Sinon from 'sinon'; import { shallowMount } from '@vue/test-utils' import FileUpload from 'vue-app/src/components/UploadFile' import vue2Dropzone from "vue2-dropzone"; import { bus } from "vue-app/src/event-bus"; describe('UploadFile Test', () => { const wrapper = shallowMount(FileUpload); it('rend...
export default function round(float, decimalPlaces) { if (decimalPlaces === undefined) { throw new Error( 'The second argument is missing. Provide the number of decimal places you want to keep.', ); } if (typeof decimalPlaces !== 'number') { throw new Error( `The second argument must be a ...
define(["./when-54c2dc71","./Check-6c0211bc","./Math-fc8cecf5","./Cartesian2-d1adddcb","./WebGLConstants-76bb35d1","./AttributeCompression-4a67d8a6","./IndexDatatype-53503fee","./createTaskProcessorWorker"],function(a,e,P,L,r,S,_,n){"use strict";var G=32767,W=new L.Cartographic,B=new L.Cartesian3;var z=new L.Rectangle,...
/* http://keith-wood.name/countdown.html * Ukrainian initialisation for the jQuery countdown extension * Written by Goloborodko M misha.gm@gmail.com (2009), corrections by Iгор Kоновал */ (function($) { $.countdown.regional['uk'] = { labels: ['Років', 'Місяців', 'Тижнів', 'Днів', 'Годин', 'Хвилин', 'Секунд'], l...
'use strict' const src = '../../../src' const Test = require('tapes')(require('tape')) const Sinon = require('sinon') const BaseResult = require(`${src}/result/base`) Test('BaseResult', baseResultTest => { let sandbox baseResultTest.beforeEach(t => { sandbox = Sinon.createSandbox() t.end() }) baseRe...
(function( window, undefined ) { kendo.cultures["en-SS"] = { name: "en-SS", numberFormat: { pattern: ["-n"], decimals: 2, ",": ",", ".": ".", groupSize: [3], percent: { pattern: ["-n%","n%"], deci...
/*$(window).resize(function() { var width = $(document).width(); width = width - 290; $('.right_body_content').css('width',width); }); */ //Displays a form within a page $(document).ready(function(){ $("body").append("<div id='popup' class='dialog'></div>"); $("#popup").css("width","400px"); $("#popup").css("h...
/** * Created by schien on 19/11/13. */ define(function (require) { "use strict"; var $ = require('jquery'), _ = require('underscore'), Backbone = require('backbone'), templates = require('js/templates/templates'), MeasurePopOut = require('app/views/detail/MeasurePopOut'), ...
/* LibreTaxi, free and open source ride sharing platform. Copyright (C) 2016-2017 Roman Pushkin This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the ...
const axios = require("axios"); const api = axios.create({ baseURL: "https://brasilapi.com.br/api/cep/", }); const methods = { async getAddress(cep) { try { const response = await api.get(`v2/${cep}`); if (response.status !== 200) { throw new Error({ info: "Ops, A requisição falho...
/** * Copyright 2016 The AMP HTML Authors. 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 require...
angular.module('colorpicker.module', []) .factory('Helper', function () { 'use strict'; return { closestSlider: function (elem) { var matchesSelector = elem.matches || elem.webkitMatchesSelector || elem.mozMatchesSelector || elem.msMatchesSelector; if (matchesSelector.bind(el...
import { render, screen } from '@testing-library/react'; import Dialpad from './'; test('renders component', () => { render(<Dialpad />); expect(screen.getByTestId('dial-pad')).toBeInTheDocument() });
module.exports = require("C:\\Users\\Ykss\\Desktop\\gatsby\\ykss-starter-blog\\src\\utils\\typography")
var searchData= [ ['waitcompletion',['waitCompletion',['../classfabgl_1_1_canvas_a0b366edca7302c95aa628529545453ea.html#a0b366edca7302c95aa628529545453ea',1,'fabgl::Canvas']]], ['waitfor',['waitFor',['../classfabgl_1_1_terminal_a27dbdfaa93b84ae587d92854e536a419.html#a27dbdfaa93b84ae587d92854e536a419',1,'fabgl::Term...
// pages/column-news/column-news.js 'use strict'; const requests = require('../../libs/requests.js'); const btnFuncs = require('../../components/floating-button/page-funcs.js'); const cardFuncs = require('../../components/news-li/page-funcs.js'); Page({ data: { column: '', page: 1, articlesList: [], onGetCo...
!function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.d...
import Phaser from 'phaser'; import CreditsScene from '../scenes/CreditsScene'; import 'jest-expect-subclass'; test('CreditScene should be a subclass of Phaser.Scene', () => { expect(CreditsScene).toBeSubclassOf(Phaser.Scene); });
/*! jQuery UI - v1.13.1 - 2022-04-07 * http://jqueryui.com * Includes: widget.js, position.js, data.js, disable-selection.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/draggable.js, widgets/droppable.js, widgets/resizable.js, widgets/...
//This is the "Offline page" service worker //Add this below content to your HTML page, or add the js file to your page at the very top to register service worker if (navigator.serviceWorker.controller) { console.log('[PWA Builder] active service worker found, no need to register') } else { //Register the ServiceW...
/** * 获取推荐商品信息 * Created by fuhuixiang on 16/5/31. */ 'use strict'; let Mock = require('mockjs'); let Random = Mock.Random; module.exports = (req, res)=> { let gids = req.query.gids; let resArray = {}; let goodArray = []; if (!!gids) { gids = gids.split('_'); gids.forEach((v, index)...
'use strict' const { nop, wrap } = require('./setup') describe('Arguments and result checking', function () { it('should throw if object to be wrapped is not a function', function () { (() => wrap.the('shit')).should.throw(TypeError) }) it('should throw if pre-hook is not a function', function () { (()...
import React from 'react'; import PropTypes from 'prop-types'; import { Helmet } from 'react-helmet'; import { useParams } from 'react-router-dom'; import SiteTitle from '../../components/SiteTitle'; import UsernameForm from '../../components/UsernameForm'; import PullRequests from './components/PullRequests'; import U...
import { mount } from '@vue/test-utils'; import Tab from '@/components/base/Tab.vue'; describe('Tab', () => { it('renders', () => { const wrapper = mount(Tab, { propsData: { }, }); expect(wrapper.element).toMatchSnapshot(); }); });
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { fetchPosts } from '../actions/index'; // necessary when we use a link anchor inside code import { Link } from 'react-router'; class PostsIndex extends Component { // method that is call whenever component is rendered by react ...
const { MessageEmbed } = require('discord.js'); const { embedMessage } = require('../../utils'); module.exports = { name: 'report', aliases: ['r', 'report'], cooldown: 3, usage: 'report [bug or issue]', examples: ["report when I use the mute command it doesn't work"], description: 'Send a report to the dev...
(() => { // resources/js/app.js window.addEventListener("load", function() { let main_navigation = document.querySelector("#mobile-menu"); document.querySelector(".mobile-menu-toggle").addEventListener("click", function(e) { e.preventDefault(); main_navigation.classList.toggle("hidden"); });...
/** * Copyright (c) 2014 Baidu.com, 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 applic...
(function () { var networkContainer = document.getElementById('networkContainer') var contractsVersionContainer = document.getElementById('contractsVersionContainer') var xhr = new XMLHttpRequest() xhr.open('GET', '/api/about') xhr.onload = function () { if (xhr.status === 200) { var response = JSON...
import React from 'react'; import Layout from '../components/layout'; import BannerSection from '../containers/Saas/BannerSection'; import FeatureSection from '../containers/Saas/FeatureSection'; import VisitorSection from '../containers/Saas/VisitorSection'; import ServiceSection from '../containers/Saas/ServiceSectio...
import { createGlobalStyle } from 'styled-components'; export default createGlobalStyle` * { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } *, *::after, *::before{ box-sizing: border-box; } html{ font-size: 62.5%; } body{ f...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = Set; var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _set = require('lodash/set'); var _set2 = _interopRequireDefault(_set); function _interopRequireDefault(obj) { return obj && obj.__...
require('dotenv').config(); module.exports = { development: { client: 'pg', connection: { connectionString: process.env.PG_CONNECTION_STRING, }, }, // staging: { // client: "postgresql", // connection: { // database: "my_db", // user: "username", // password: "passwo...
/* * Copyright 2019 is-land * * 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 w...
// // import childProcess from 'child_process'; // import path from 'path'; // import config from 'config'; // import ncu from 'npm-check-updates'; // import simpleGit from 'simple-git'; // import { Octokit } from '@octokit/core'; // import spawn from 'await-spawn'; // import Constants from './constants' // impor...
import React from "react" import { useStaticQuery, graphql } from "gatsby" import { GatsbyImage } from "gatsby-plugin-image" const Header = ({ siteTitle, isFrontPage }) => { const data = useStaticQuery(graphql` query { bg: file(relativePath: { eq: "headbg.png" }) { childImageSharp { gatsb...
import * as utils from '../src/utils'; import { parse as parseUrl } from '../src/url'; import { config } from '../src/config'; import { registerBidder } from '../src/adapters/bidderFactory'; import { Renderer } from '../src/Renderer'; import { VIDEO, BANNER } from '../src/mediaTypes'; import find from 'core-js/library/...
import { Observable } from "l3p-frontend" import appModel from "siaRoot/appModel" import { toHslaString } from "shared/color" import DEFAULTS from "./point.defaults" import DrawableModel from "../DrawableModel" import imageInterface from "components/image/imageInterface" export default class PointModel extends D...
import React, { Component } from 'react'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import { message } from 'antd'; import './index.scss'; import * as CONSTANTS from '../../data/config/constants'; import * as pageActions from '../../data/red...
// @flow import * as BufferLayout from 'buffer-layout'; /** * Layout for a public key */ export const publicKey = (property: string = 'publicKey'): Object => { return BufferLayout.blob(32, property); }; /** * Layout for a 64bit unsigned value */ export const uint64 = (property: string = 'uint64'): Object => { ...
// Importa os pacotes const Database = require('./db'); const saveOrphanage = require('./saveOrphanage'); Database.then(async db => { // Inserir dados na tabela await saveOrphanage(db, { lat: "-27.222633", lng: "-49.6455874", name: "Orfanato Esperança", about: "Presta assistênci...
(function ($) { // register namespace $.extend(true, window, { "Slick": { "CellRangeSelector": CellRangeSelector } }); function CellRangeSelector(options) { var _grid; var _canvas; var _dragging; var _decorator; var _self = this; var _defaults = { se...
const locations = require("./plz_ort_state_lat_lon_rank.csv"); export default locations;
/*! firebase-admin v10.0.1 */ "use strict"; /*! * @license * Copyright 2017 Google 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....
const money = require('money-math'); const dateFns = require('date-fns'); const calcPrice = (rent, status, update = true) => { let currentPrice = rent.originalPrice; // Calculate Date if (dateFns.differenceInMinutes(new Date(), new Date(rent.rentDate)) >= 1) { let extraSeconds = dateFns.diffe...
var stage = {}; // store ngl stages var pdb_data = {}; // store returned pdb data var reps = {} // store structure components var gpcr_rep = {} // store molecule representations var int_labels = [] var color_schemes = {}; var blue_colors = ['#f0fcfa', '#D3E4EA', '#B6CDDB', '#99B5CC', '#7C9EBD', '#5F86AE', '#426F9F', '#...
/* eslint-disable react/jsx-props-no-spreading */ import React from 'react'; import { shallow } from 'enzyme'; import 'jest-styled-components'; import { PureSubscriptionManagement as SubscriptionManagement } from './SubscriptionManagement'; import { ManageButtonWrapStyled, SubscriptionActionsStyled } from './Subsc...
const COMPANIES = { GET_COMPANIES_SUCCESS: "GET_COMPANIES_SUCCESS", GET_COMPANIES_ERROR: "GET_COMPANIES_ERROR", ADD_COMPANY_SUCCESS: "ADD_COMPANY_SUCCESS", ADD_COMPANY_ERROR: "ADD_COMPANY_ERROR", DELETE_COMPANY_SUCCESS: "DELETE_COMPANY_SUCCESS", DELETE_COMPANY_ERROR: "DELETE_COMPANY_ERROR", EDIT_COMPANY_S...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var React = tslib_1.__importStar(require("react")); var styled_icon_1 = require("@styled-icons/styled-icon"); exports.Buromobelexperte = React.forwardRef(function (props, ref) { var attrs = { "fill":...
exports.createPages = async ({ actions, graphql, reporter }) => { const resultado = await graphql(` query{ allDatoCmsHabitacion { nodes { slug } } } `); //console.log(resultado.data.allDatoCmsHabitacion.nodes); if(resultado.errors){ reporter.panic('No hubo resultados', result...
import request from '@/utils/request' export function queryMenuList(param) { return request({ url: `/auth/menu/list`, method: 'get', params: param }) } export function queryRootMenu() { return request({ url: `/auth/menu/query-root-menu`, method: 'get' }) } export function saveMenu(data) ...
/** * [中等]402. 移掉K位数字 * https://leetcode-cn.com/problems/remove-k-digits/ * * 给定一个以字符串表示的非负整数 num,移除这个数中的 k 位数字,使得剩下的数字最小。 注意: num 的长度小于 10002 且 ≥ k。 num 不会包含任何前导零。 示例 1 : 输入: num = "1432219", k = 3 输出: "1219" 解释: 移除掉三个数字 4, 3, 和 2 形成一个新的最小的数字 1219。 示例 2 : 输入: num = "10200", k = 1 输出: "200" 解释: 移掉首位的 1 剩下的数字为...
/** * Sea.js 2.1.1 | seajs.org/LICENSE.md */(function(e,t){function i(e){return function(t){return Object.prototype.toString.call(t)==="[object "+e+"]"}}function l(){return f++}function m(e){return e.match(p)[0]}function g(e){e=e.replace(d,"/");while(e.match(v))e=e.replace(v,"/");return e}function y(e){var t=e.length...
/** * @license * Copyright 2014 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 requir...
/** * @author Swagatam Mitra */ /*jslint vars: true, plusplus: true, devel: true, nomen: true, indent: 4, maxerr: 50 */ /*global define, document, console, brackets, $, Mustache */ define(function (require, exports, module) { "use strict"; var AppInit = brackets.getModule("utils/AppInit"); ...
/** * @license MIT * @fileOverview Favico animations * @author Miroslav Magda, http://blog.ejci.net * @version 0.3.10 */ !function () { var e = function (e) { "use strict"; function t(e) { if (e.paused || e.ended || g)return !1; try { f.clearRect(0, 0, s,...
// Bento components must import `bento-mustache.js` instead of `mustache` directly. // This is so that the bundler links it to the external `bento-mustache.js` binary. import mustache from '#bento/third_party/mustache/mustache'; export default mustache;
import Mock from 'mockjs' import {menuBottons, menuSource, navMenuList, systemRoutes} from './routesData.js' // const top = [ // { // label: "首页", // path: "/wel/index", // icon: 'el-icon-menu', // meta: { // i18n: 'dashboard', // }, // parentId: 0 // }, // { // label: "...
jQuery.fn.vectorMap('addMap', 'us-dc_lcc_en', { "insets": [{ "width": 1000, "top": 0, "height": 1048.6785719604895, "bbox": [{"y": -4900672.096351757, "x": 1950622.2429646673}, { "y": -4881057.772820286, "x": 1969326.0899354331 }], "left": 0 ...
/* artifact generator: C:\My\wizzi\stfnbssl\wizzi\node_modules\wizzi-js\lib\artifacts\js\module\gen\main.js package: wizzi-js@0.7.7 primary source IttfDocument: C:\My\wizzi\stfnbssl\wizzi\packages\wizzi.plugin.pdf\.wizzi\ittf\root\index.js.ittf utc time: Mon, 15 Mar 2021 12:41:28 GMT */ 'use strict'; v...
import { useState, useEffect } from 'react'; import { useRouter } from 'next/router'; function LanguageSetter(txtBr, txtEn, txtEs) { const router = useRouter(); const { locale } = router; const languages = { pt: txtBr, en: txtEn, es: txtEs, }; const defineLanguage = (location) => languages[loca...
import { mat3, vec3, vec4 } from 'gl-matrix'; import { gltfTextureInfo } from './texture.js'; import { jsToGl, initGlForMembers } from './utils.js'; import { GltfObject } from './gltf_object.js'; class gltfMaterial extends GltfObject { constructor() { super(); this.name = undefined; thi...