new license file version [CI SKIP]
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import { SvelteComponentTyped } from "svelte";
|
||||
import { type DataHandler } from './core';
|
||||
declare const __propDef: {
|
||||
props: {
|
||||
handler: DataHandler;
|
||||
};
|
||||
events: {
|
||||
[evt: string]: CustomEvent<any>;
|
||||
};
|
||||
slots: {
|
||||
default: {};
|
||||
};
|
||||
};
|
||||
export type DatatableProps = typeof __propDef.props;
|
||||
export type DatatableEvents = typeof __propDef.events;
|
||||
export type DatatableSlots = typeof __propDef.slots;
|
||||
export default class Datatable extends SvelteComponentTyped<DatatableProps, DatatableEvents, DatatableSlots> {
|
||||
}
|
||||
export {};
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"publishLast.js","sources":["../../src/add/operator/publishLast.ts"],"names":[],"mappings":";;AAAA,gDAA8C"}
|
||||
@@ -0,0 +1,19 @@
|
||||
var Scheduler = /*@__PURE__*/ (function () {
|
||||
function Scheduler(SchedulerAction, now) {
|
||||
if (now === void 0) {
|
||||
now = Scheduler.now;
|
||||
}
|
||||
this.SchedulerAction = SchedulerAction;
|
||||
this.now = now;
|
||||
}
|
||||
Scheduler.prototype.schedule = function (work, delay, state) {
|
||||
if (delay === void 0) {
|
||||
delay = 0;
|
||||
}
|
||||
return new this.SchedulerAction(this, work).schedule(state, delay);
|
||||
};
|
||||
Scheduler.now = function () { return Date.now(); };
|
||||
return Scheduler;
|
||||
}());
|
||||
export { Scheduler };
|
||||
//# sourceMappingURL=Scheduler.js.map
|
||||
@@ -0,0 +1,51 @@
|
||||
'use strict';
|
||||
const {PassThrough} = require('stream');
|
||||
|
||||
module.exports = options => {
|
||||
options = Object.assign({}, options);
|
||||
|
||||
const {array} = options;
|
||||
let {encoding} = options;
|
||||
const buffer = encoding === 'buffer';
|
||||
let objectMode = false;
|
||||
|
||||
if (array) {
|
||||
objectMode = !(encoding || buffer);
|
||||
} else {
|
||||
encoding = encoding || 'utf8';
|
||||
}
|
||||
|
||||
if (buffer) {
|
||||
encoding = null;
|
||||
}
|
||||
|
||||
let len = 0;
|
||||
const ret = [];
|
||||
const stream = new PassThrough({objectMode});
|
||||
|
||||
if (encoding) {
|
||||
stream.setEncoding(encoding);
|
||||
}
|
||||
|
||||
stream.on('data', chunk => {
|
||||
ret.push(chunk);
|
||||
|
||||
if (objectMode) {
|
||||
len = ret.length;
|
||||
} else {
|
||||
len += chunk.length;
|
||||
}
|
||||
});
|
||||
|
||||
stream.getBufferedValue = () => {
|
||||
if (array) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
return buffer ? Buffer.concat(ret, len) : ret.join('');
|
||||
};
|
||||
|
||||
stream.getBufferedLength = () => len;
|
||||
|
||||
return stream;
|
||||
};
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"innerSubscribe.js","sources":["../../src/internal/innerSubscribe.ts"],"names":[],"mappings":"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"}
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={C:{"2":0,"3":0,"4":0.0029,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.0029,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.02606,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0.0029,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0.0029,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0.0029,"101":0,"102":0.01158,"103":0,"104":0.0029,"105":0.0029,"106":0.0029,"107":0.00579,"108":0.15349,"109":0.08978,"110":0,"111":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.0029,"39":0,"40":0,"41":0.0029,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.0029,"48":0,"49":0.0029,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.0029,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0.0029,"65":0,"66":0,"67":0,"68":0.00869,"69":0.0029,"70":0,"71":0.0029,"72":0,"73":0,"74":0.00579,"75":0.0029,"76":0,"77":0,"78":0.0029,"79":0.0029,"80":0.00579,"81":0.0029,"83":0.00579,"84":0,"85":0.0029,"86":0.00579,"87":0.00579,"88":0.00869,"89":0.00579,"90":0.00579,"91":0.0029,"92":0.02606,"93":0.0029,"94":0.0029,"95":0.01158,"96":0.0029,"97":0.00869,"98":0.0029,"99":0.0029,"100":0.0029,"101":0.00579,"102":0.00579,"103":0.03765,"104":0.00869,"105":0.02317,"106":0.01738,"107":0.05213,"108":2.58323,"109":2.59192,"110":0.0029,"111":0.0029,"112":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0.00579,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.00579,"47":0,"48":0,"49":0,"50":0,"51":0.00869,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0.01448,"62":0.0029,"63":0.00579,"64":0.00579,"65":0.0029,"66":0.01738,"67":0.00579,"68":0,"69":0,"70":0,"71":0,"72":0.0029,"73":0.01158,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0.17376,"94":0.15928,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.0029},B:{"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0.0029,"79":0,"80":0,"81":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0.0029,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0.0029,"102":0,"103":0,"104":0.0029,"105":0.0029,"106":0.0029,"107":0.04054,"108":0.38806,"109":0.34752},E:{"4":0,"5":0,"6":0,"7":0.03186,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.0029,"14":0.03765,"15":0.01158,_:"0","3.1":0,"3.2":0,"5.1":0.0029,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0.00579,"13.1":0.01738,"14.1":0.12163,"15.1":0.02896,"15.2-15.3":0.01448,"15.4":0.03186,"15.5":0.08688,"15.6":0.25485,"16.0":0.02317,"16.1":0.09846,"16.2":0.15059,"16.3":0.01448},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0,"6.0-6.1":0,"7.0-7.1":0.0117,"8.1-8.4":0.03902,"9.0-9.2":0,"9.3":0.11705,"10.0-10.2":0,"10.3":0.08193,"11.0-11.2":0.0039,"11.3-11.4":0.01561,"12.0-12.1":0.03511,"12.2-12.5":0.77642,"13.0-13.1":0.08584,"13.2":0.03121,"13.3":0.18338,"13.4-13.7":0.2302,"14.0-14.4":1.15098,"14.5-14.8":1.95081,"15.0-15.1":0.60865,"15.2-15.3":0.75301,"15.4":1.06904,"15.5":2.04055,"15.6":4.43224,"16.0":5.42715,"16.1":8.87228,"16.2":8.01002,"16.3":0.88957},P:{"4":0.14438,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.0825,"8.2":0,"9.2":0.01031,"10.1":0.01031,"11.1-11.2":0.04125,"12.0":0.02063,"13.0":0.02063,"14.0":0.07219,"15.0":0.02063,"16.0":0.09282,"17.0":0.12375,"18.0":0.2372,"19.0":3.06292},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00697,"4.2-4.3":0.00697,"4.4":0,"4.4.3-4.4.4":0.05344},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.02027,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},R:{_:"0"},M:{"0":0.09946},Q:{"13.1":0},O:{"0":2.51482},H:{"0":1.1568},L:{"0":44.20523},S:{"2.5":0}};
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"last.js","sources":["../../../src/internal/operators/last.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAkC5C,MAAM,UAAU,IAAI,CAClB,SAAgF,EAChF,YAAgB;IAEhB,MAAM,eAAe,GAAG,SAAS,CAAC,MAAM,IAAI,CAAC,CAAC;IAC9C,OAAO,CAAC,MAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAC3C,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,EAChE,QAAQ,CAAC,CAAC,CAAC,EACX,eAAe,CAAC,CAAC,CAAC,cAAc,CAAQ,YAAY,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,IAAI,UAAU,EAAE,CAAC,CAC7F,CAAC;AACJ,CAAC"}
|
||||
@@ -0,0 +1,7 @@
|
||||
// Bootstrap yargs for browser:
|
||||
import browserPlatformShim from './lib/platform-shims/browser.mjs';
|
||||
import {YargsWithShim} from './build/lib/yargs-factory.js';
|
||||
|
||||
const Yargs = YargsWithShim(browserPlatformShim);
|
||||
|
||||
export default Yargs;
|
||||
@@ -0,0 +1,62 @@
|
||||
// Definitions by: Carlos Ballesteros Velasco <https://github.com/soywiz>
|
||||
// Leon Yu <https://github.com/leonyu>
|
||||
// BendingBender <https://github.com/BendingBender>
|
||||
// Maple Miao <https://github.com/mapleeit>
|
||||
|
||||
/// <reference types="node" />
|
||||
import * as stream from 'stream';
|
||||
import * as http from 'http';
|
||||
|
||||
export = FormData;
|
||||
|
||||
// Extracted because @types/node doesn't export interfaces.
|
||||
interface ReadableOptions {
|
||||
highWaterMark?: number;
|
||||
encoding?: string;
|
||||
objectMode?: boolean;
|
||||
read?(this: stream.Readable, size: number): void;
|
||||
destroy?(this: stream.Readable, error: Error | null, callback: (error: Error | null) => void): void;
|
||||
autoDestroy?: boolean;
|
||||
}
|
||||
|
||||
interface Options extends ReadableOptions {
|
||||
writable?: boolean;
|
||||
readable?: boolean;
|
||||
dataSize?: number;
|
||||
maxDataSize?: number;
|
||||
pauseStreams?: boolean;
|
||||
}
|
||||
|
||||
declare class FormData extends stream.Readable {
|
||||
constructor(options?: Options);
|
||||
append(key: string, value: any, options?: FormData.AppendOptions | string): void;
|
||||
getHeaders(userHeaders?: FormData.Headers): FormData.Headers;
|
||||
submit(
|
||||
params: string | FormData.SubmitOptions,
|
||||
callback?: (error: Error | null, response: http.IncomingMessage) => void
|
||||
): http.ClientRequest;
|
||||
getBuffer(): Buffer;
|
||||
setBoundary(boundary: string): void;
|
||||
getBoundary(): string;
|
||||
getLength(callback: (err: Error | null, length: number) => void): void;
|
||||
getLengthSync(): number;
|
||||
hasKnownLength(): boolean;
|
||||
}
|
||||
|
||||
declare namespace FormData {
|
||||
interface Headers {
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
interface AppendOptions {
|
||||
header?: string | Headers;
|
||||
knownLength?: number;
|
||||
filename?: string;
|
||||
filepath?: string;
|
||||
contentType?: string;
|
||||
}
|
||||
|
||||
interface SubmitOptions extends http.RequestOptions {
|
||||
protocol?: 'https:' | 'http:';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"timestamp.js","sources":["../src/operators/timestamp.ts"],"names":[],"mappings":";;;;;AAAA,qDAAgD"}
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={A:{A:{"2":"J E F G A B BC"},B:{"1":"K L H M N O P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t","2":"C"},C:{"1":"LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB","2":"0 1 2 3 4 5 6 7 8 9 CC tB I u J E F G A B C K L H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB DC EC"},D:{"1":"PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB FC","2":"0 1 2 3 4 5 6 7 8 9 I u J E F G A B C K L H M N O v w x y z AB BB CB DB EB FB GB HB","132":"IB JB KB LB MB NB OB"},E:{"1":"G A B C K L H KC 0B qB rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B NC","2":"I u J E F GC zB HC IC JC"},F:{"1":"CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d","2":"0 1 2 3 4 G B C H M N O v w x y z OC PC QC RC qB 9B SC rB","132":"5 6 7 8 9 AB BB"},G:{"1":"YC ZC aC bC cC dC eC fC gC hC iC jC kC lC mC 2B 3B 4B 5B sB 6B 7B 8B","2":"F zB TC AC UC VC WC XC"},H:{"2":"nC"},I:{"1":"D","2":"tB I oC pC qC rC AC sC tC"},J:{"2":"E A"},K:{"1":"e","2":"A B C qB 9B rB"},L:{"1":"D"},M:{"1":"D"},N:{"2":"A B"},O:{"1":"uC"},P:{"1":"vC wC xC yC zC 0B 0C 1C 2C 3C 4C sB 5C 6C 7C","2":"I"},Q:{"1":"1B"},R:{"1":"8C"},S:{"1":"9C"}},B:6,C:"ES6 classes"};
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"name": "url-join",
|
||||
"version": "4.0.1",
|
||||
"description": "Join urls and normalize as in path.join.",
|
||||
"main": "lib/url-join.js",
|
||||
"scripts": {
|
||||
"test": "mocha --require should"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/jfromaniello/url-join.git"
|
||||
},
|
||||
"keywords": [
|
||||
"url",
|
||||
"join"
|
||||
],
|
||||
"author": "José F. Romaniello <jfromaniello@gmail.com> (http://joseoncode.com)",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"conventional-changelog": "^1.1.10",
|
||||
"mocha": "^3.2.0",
|
||||
"should": "~1.2.1"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
// This implementation only tests support for interactive form validation.
|
||||
// To check validation for a specific type or a specific other constraint,
|
||||
// the test can be combined:
|
||||
// - Modernizr.inputtypes.numer && Modernizr.formvalidation (browser supports rangeOverflow, typeMismatch etc. for type=number)
|
||||
// - Modernizr.input.required && Modernizr.formvalidation (browser supports valueMissing)
|
||||
//
|
||||
(function(document, Modernizr){
|
||||
|
||||
|
||||
Modernizr.formvalidationapi = false;
|
||||
Modernizr.formvalidationmessage = false;
|
||||
|
||||
Modernizr.addTest('formvalidation', function() {
|
||||
var form = document.createElement('form');
|
||||
if ( !('checkValidity' in form) || !('addEventListener' in form) ) {
|
||||
return false;
|
||||
}
|
||||
if ('reportValidity' in form) {
|
||||
return true;
|
||||
}
|
||||
var invalidFired = false;
|
||||
var input;
|
||||
|
||||
Modernizr.formvalidationapi = true;
|
||||
|
||||
// Prevent form from being submitted
|
||||
form.addEventListener('submit', function(e) {
|
||||
//Opera does not validate form, if submit is prevented
|
||||
if ( !window.opera ) {
|
||||
e.preventDefault();
|
||||
}
|
||||
e.stopPropagation();
|
||||
}, false);
|
||||
|
||||
// Calling form.submit() doesn't trigger interactive validation,
|
||||
// use a submit button instead
|
||||
//older opera browsers need a name attribute
|
||||
form.innerHTML = '<input name="modTest" required><button></button>';
|
||||
|
||||
Modernizr.testStyles('#modernizr form{position:absolute;top:-99999em}', function( node ) {
|
||||
node.appendChild(form);
|
||||
|
||||
input = form.getElementsByTagName('input')[0];
|
||||
|
||||
// Record whether "invalid" event is fired
|
||||
input.addEventListener('invalid', function(e) {
|
||||
invalidFired = true;
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
}, false);
|
||||
|
||||
//Opera does not fully support the validationMessage property
|
||||
Modernizr.formvalidationmessage = !!input.validationMessage;
|
||||
|
||||
// Submit form by clicking submit button
|
||||
form.getElementsByTagName('button')[0].click();
|
||||
});
|
||||
|
||||
return invalidFired;
|
||||
});
|
||||
|
||||
})(document, window.Modernizr);
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"distinctUntilKeyChanged.js","sources":["../../src/internal/operators/distinctUntilKeyChanged.ts"],"names":[],"mappings":";;AAAA,+DAA8D;AA8E9D,SAAgB,uBAAuB,CAAuB,GAAM,EAAE,OAAuC;IAC3G,OAAO,2CAAoB,CAAC,UAAC,CAAI,EAAE,CAAI,IAAK,OAAA,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,EAArD,CAAqD,CAAC,CAAC;AACrG,CAAC;AAFD,0DAEC"}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"never.js","sources":["../../../src/internal/observable/never.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAgCpC,MAAM,CAAC,MAAM,KAAK,GAAG,IAAI,UAAU,CAAQ,IAAI,CAAC,CAAC;AAKjD,MAAM,UAAU,KAAK;IACnB,OAAO,KAAK,CAAC;AACf,CAAC"}
|
||||
@@ -0,0 +1,54 @@
|
||||
let list = require('postcss').list
|
||||
|
||||
let flexSpec = require('./flex-spec')
|
||||
let Declaration = require('../declaration')
|
||||
|
||||
class Flex extends Declaration {
|
||||
/**
|
||||
* Change property name for 2009 spec
|
||||
*/
|
||||
prefixed (prop, prefix) {
|
||||
let spec
|
||||
;[spec, prefix] = flexSpec(prefix)
|
||||
if (spec === 2009) {
|
||||
return prefix + 'box-flex'
|
||||
}
|
||||
return super.prefixed(prop, prefix)
|
||||
}
|
||||
|
||||
/**
|
||||
* Return property name by final spec
|
||||
*/
|
||||
normalize () {
|
||||
return 'flex'
|
||||
}
|
||||
|
||||
/**
|
||||
* Spec 2009 supports only first argument
|
||||
* Spec 2012 disallows unitless basis
|
||||
*/
|
||||
set (decl, prefix) {
|
||||
let spec = flexSpec(prefix)[0]
|
||||
if (spec === 2009) {
|
||||
decl.value = list.space(decl.value)[0]
|
||||
decl.value = Flex.oldValues[decl.value] || decl.value
|
||||
return super.set(decl, prefix)
|
||||
}
|
||||
if (spec === 2012) {
|
||||
let components = list.space(decl.value)
|
||||
if (components.length === 3 && components[2] === '0') {
|
||||
decl.value = components.slice(0, 2).concat('0px').join(' ')
|
||||
}
|
||||
}
|
||||
return super.set(decl, prefix)
|
||||
}
|
||||
}
|
||||
|
||||
Flex.names = ['flex', 'box-flex']
|
||||
|
||||
Flex.oldValues = {
|
||||
auto: '1',
|
||||
none: '0'
|
||||
}
|
||||
|
||||
module.exports = Flex
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={A:{A:{"1":"A B","2":"J E F G BC"},B:{"1":"C K L H M N O P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t"},C:{"1":"0 1 2 3 4 5 6 7 8 9 M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB","2":"CC tB DC EC","33":"u J E F G A B C K L H","164":"I"},D:{"1":"2 3 4 5 6 7 8 9 AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB FC","33":"0 1 I u J E F G A B C K L H M N O v w x y z"},E:{"1":"E F G A B C K L H IC JC KC 0B qB rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B NC","33":"J HC","164":"I u GC zB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d rB","2":"G OC PC","33":"C","164":"B QC RC qB 9B SC"},G:{"1":"F WC XC YC ZC aC bC cC dC eC fC gC hC iC jC kC lC mC 2B 3B 4B 5B sB 6B 7B 8B","33":"VC","164":"zB TC AC UC"},H:{"2":"nC"},I:{"1":"D sC tC","33":"tB I oC pC qC rC AC"},J:{"1":"A","33":"E"},K:{"1":"e rB","33":"C","164":"A B qB 9B"},L:{"1":"D"},M:{"1":"D"},N:{"1":"A B"},O:{"1":"uC"},P:{"1":"I vC wC xC yC zC 0B 0C 1C 2C 3C 4C sB 5C 6C 7C"},Q:{"1":"1B"},R:{"1":"8C"},S:{"1":"9C"}},B:5,C:"CSS3 Transitions"};
|
||||
@@ -0,0 +1,5 @@
|
||||
coverage:
|
||||
parsers:
|
||||
javascript:
|
||||
enable_partials: yes
|
||||
comment: false
|
||||
@@ -0,0 +1,26 @@
|
||||
import { scheduleObservable } from './scheduleObservable';
|
||||
import { schedulePromise } from './schedulePromise';
|
||||
import { scheduleArray } from './scheduleArray';
|
||||
import { scheduleIterable } from './scheduleIterable';
|
||||
import { isInteropObservable } from '../util/isInteropObservable';
|
||||
import { isPromise } from '../util/isPromise';
|
||||
import { isArrayLike } from '../util/isArrayLike';
|
||||
import { isIterable } from '../util/isIterable';
|
||||
export function scheduled(input, scheduler) {
|
||||
if (input != null) {
|
||||
if (isInteropObservable(input)) {
|
||||
return scheduleObservable(input, scheduler);
|
||||
}
|
||||
else if (isPromise(input)) {
|
||||
return schedulePromise(input, scheduler);
|
||||
}
|
||||
else if (isArrayLike(input)) {
|
||||
return scheduleArray(input, scheduler);
|
||||
}
|
||||
else if (isIterable(input) || typeof input === 'string') {
|
||||
return scheduleIterable(input, scheduler);
|
||||
}
|
||||
}
|
||||
throw new TypeError((input !== null && typeof input || input) + ' is not observable');
|
||||
}
|
||||
//# sourceMappingURL=scheduled.js.map
|
||||
@@ -0,0 +1,26 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = rng;
|
||||
// Unique ID creation requires a high quality random # generator. In the browser we therefore
|
||||
// require the crypto API and do not support built-in fallback to lower quality random number
|
||||
// generators (like Math.random()).
|
||||
let getRandomValues;
|
||||
const rnds8 = new Uint8Array(16);
|
||||
|
||||
function rng() {
|
||||
// lazy load so that environments that need to polyfill have a chance to do so
|
||||
if (!getRandomValues) {
|
||||
// getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
|
||||
// find the complete implementation of crypto (msCrypto) on IE11.
|
||||
getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);
|
||||
|
||||
if (!getRandomValues) {
|
||||
throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
|
||||
}
|
||||
}
|
||||
|
||||
return getRandomValues(rnds8);
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"distinctUntilChanged.js","sources":["../src/operator/distinctUntilChanged.ts"],"names":[],"mappings":";;;;;AAAA,+DAA0D"}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"onErrorResumeNext.js","sources":["../../src/internal/observable/onErrorResumeNext.ts"],"names":[],"mappings":";;AAAA,4CAA2C;AAE3C,+BAA8B;AAC9B,2CAA0C;AAC1C,iCAAgC;AAwEhC,SAAgB,iBAAiB;IAAO,iBAEqD;SAFrD,UAEqD,EAFrD,qBAEqD,EAFrD,IAEqD;QAFrD,4BAEqD;;IAE3F,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE;QACxB,OAAO,aAAK,CAAC;KACd;IAEO,IAAA,kBAAK,EAAE,4BAAY,CAAa;IAExC,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,iBAAO,CAAC,KAAK,CAAC,EAAE;QAC1C,OAAO,iBAAiB,eAAI,KAAK,EAAE;KACpC;IAED,OAAO,IAAI,uBAAU,CAAC,UAAA,UAAU;QAC9B,IAAM,OAAO,GAAG,cAAM,OAAA,UAAU,CAAC,GAAG,CAClC,iBAAiB,eAAI,SAAS,EAAE,SAAS,CAAC,UAAU,CAAC,CACtD,EAFqB,CAErB,CAAC;QAEF,OAAO,WAAI,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC;YAC3B,IAAI,YAAC,KAAK,IAAI,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YACvC,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,OAAO;SAClB,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC;AAzBD,8CAyBC"}
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00459,"35":0,"36":0,"37":0,"38":0,"39":0.00459,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.00918,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0.00459,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0.00459,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0.00459,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0.00459,"100":0,"101":0,"102":0.01377,"103":0.00459,"104":0.00459,"105":0.00459,"106":0.00459,"107":0.01836,"108":0.50031,"109":0.24327,"110":0.00459,"111":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0.00459,"30":0,"31":0,"32":0,"33":0,"34":0.00918,"35":0,"36":0,"37":0,"38":0.02754,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00459,"48":0,"49":0.01836,"50":0,"51":0,"52":0,"53":0.01836,"54":0,"55":0.01836,"56":0.00459,"57":0,"58":0.00459,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0.00459,"66":0,"67":0.00459,"68":0,"69":0.00459,"70":0.00459,"71":0.00459,"72":0.00459,"73":0.00459,"74":0.00918,"75":0.00918,"76":0.00459,"77":0.00459,"78":0.00459,"79":0.12393,"80":0.00918,"81":0.00918,"83":0.01377,"84":0.01377,"85":0.01377,"86":0.02295,"87":0.03213,"88":0.01377,"89":0.00918,"90":0.00459,"91":0.02295,"92":0.11475,"93":0.00459,"94":0.00918,"95":0.00918,"96":0.01836,"97":0.02754,"98":0.03213,"99":0.01836,"100":0.02295,"101":0.01377,"102":0.02754,"103":0.07344,"104":0.03213,"105":0.03672,"106":0.0459,"107":0.15606,"108":7.49088,"109":6.61419,"110":0.00918,"111":0.00459,"112":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0.01836,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.01836,"37":0.00459,"38":0,"39":0,"40":0.00459,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.02295,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0.00459,"64":0.00459,"65":0,"66":0.00459,"67":0.00459,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0.00918,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0.00459,"93":0.1377,"94":0.16983,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},B:{"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0.00459,"79":0,"80":0,"81":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0,"103":0,"104":0,"105":0.00459,"106":0.00459,"107":0.01377,"108":0.75735,"109":0.6426},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.00918,"14":0.04131,"15":0.01377,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0.00459,"13.1":0.03213,"14.1":0.11016,"15.1":0.02295,"15.2-15.3":0.01836,"15.4":0.05967,"15.5":0.14229,"15.6":0.57834,"16.0":0.05049,"16.1":0.2295,"16.2":0.29376,"16.3":0.01836},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0.00908,"6.0-6.1":0.01135,"7.0-7.1":0.02724,"8.1-8.4":0.03405,"9.0-9.2":0.01589,"9.3":0.20205,"10.0-10.2":0.01816,"10.3":0.50853,"11.0-11.2":0.01135,"11.3-11.4":0.01589,"12.0-12.1":0.0227,"12.2-12.5":0.56982,"13.0-13.1":0.01816,"13.2":0.00908,"13.3":0.03859,"13.4-13.7":0.11805,"14.0-14.4":0.3428,"14.5-14.8":0.59707,"15.0-15.1":0.24745,"15.2-15.3":0.24745,"15.4":0.4881,"15.5":0.74917,"15.6":2.22254,"16.0":3.43484,"16.1":5.48485,"16.2":5.43263,"16.3":0.3201},P:{"4":0.52635,"5.0-5.4":0.02105,"6.2-6.4":0,"7.2-7.4":0.04211,"8.2":0,"9.2":0,"10.1":0,"11.1-11.2":0.03158,"12.0":0.01053,"13.0":0.01053,"14.0":0.02105,"15.0":0.03158,"16.0":0.04211,"17.0":0.04211,"18.0":0.08422,"19.0":1.66326},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.06836},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.05049,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},R:{_:"0"},M:{"0":0.15148},Q:{"13.1":0.00541},O:{"0":0.84937},H:{"0":0.51218},L:{"0":52.80461},S:{"2.5":0}};
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"name": "split-on-first",
|
||||
"version": "1.1.0",
|
||||
"description": "Split a string on the first occurance of a given separator",
|
||||
"license": "MIT",
|
||||
"repository": "sindresorhus/split-on-first",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "sindresorhus.com"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "xo && ava && tsd"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
"index.d.ts"
|
||||
],
|
||||
"keywords": [
|
||||
"split",
|
||||
"string",
|
||||
"first",
|
||||
"occurrence",
|
||||
"separator",
|
||||
"delimiter",
|
||||
"text"
|
||||
],
|
||||
"devDependencies": {
|
||||
"ava": "^1.4.1",
|
||||
"tsd": "^0.7.2",
|
||||
"xo": "^0.24.0"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
function __export(m) {
|
||||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
||||
}
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
__export(require("rxjs-compat/operator/max"));
|
||||
//# sourceMappingURL=max.js.map
|
||||
Reference in New Issue
Block a user