new license file version [CI SKIP]

This commit is contained in:
2023-03-15 13:43:57 +00:00
parent d8a3063735
commit 00359d25c1
5600 changed files with 523898 additions and 2 deletions

View File

@@ -0,0 +1 @@
{"version":3,"file":"ArgumentOutOfRangeError.js","sources":["../src/util/ArgumentOutOfRangeError.ts"],"names":[],"mappings":";;;;;AAAA,8DAAyD"}

View File

@@ -0,0 +1,3 @@
import { Observable } from '../Observable';
import { SchedulerLike } from '../types';
export declare function fromArray<T>(input: ArrayLike<T>, scheduler?: SchedulerLike): Observable<T>;

View File

@@ -0,0 +1 @@
module.exports={A:{A:{"2":"J E F G A BC","548":"B"},B:{"1":"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","516":"C K L H M N O"},C:{"1":"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 I u J E F G DC EC","676":"0 1 2 3 4 5 6 7 8 9 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 LB MB","1700":"NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB"},D:{"1":"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":"I u J E F G A B C K L","676":"H M N O v","804":"0 1 2 3 4 5 6 7 8 9 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"},E:{"1":"NC","2":"I u GC zB","548":"3B 4B 5B sB 6B 7B 8B","676":"HC","804":"J E F G A B C K L H IC JC KC 0B qB rB 1B LC MC 2B"},F:{"1":"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 B C OC PC QC RC qB 9B SC","804":"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"},G:{"2":"F zB TC AC UC VC WC XC YC ZC aC bC cC dC","2052":"eC fC gC hC iC jC kC lC mC 2B 3B 4B 5B sB 6B 7B 8B"},H:{"2":"nC"},I:{"2":"tB I D oC pC qC rC AC sC tC"},J:{"2":"E","292":"A"},K:{"1":"e","2":"A B C qB 9B rB"},L:{"1":"D"},M:{"1":"D"},N:{"2":"A","548":"B"},O:{"1":"uC"},P:{"1":"0B 0C 1C 2C 3C 4C sB 5C 6C 7C","804":"I vC wC xC yC zC"},Q:{"1":"1B"},R:{"1":"8C"},S:{"1":"9C"}},B:1,C:"Full Screen API"};

View File

@@ -0,0 +1 @@
{"name":"human-signals","version":"1.1.1","files":{"CHANGELOG.md":{"checkedAt":1678887829278,"integrity":"sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==","mode":436,"size":0},"LICENSE":{"checkedAt":1678887830211,"integrity":"sha512-puCCGGRV4Dd+KwMgFo2ce9PHDxYhYsT2PiESnJebu4UY2OmcNm4skzutji6SJG4A2xtNZwt86pX4ESEvQkg61Q==","mode":436,"size":11357},"build/src/core.js":{"checkedAt":1678887830216,"integrity":"sha512-vYyehuku7fMHF/KbOUtdPLt610TD+6o6e9hth833EmwUBe7xkFL57jD4NNYccIMZYb0le7LQ9OrNPOcPoRgwbA==","mode":436,"size":4268},"build/src/main.js":{"checkedAt":1678887830216,"integrity":"sha512-KfSyinvPWXSuKDaF4q3IEc1Uo88khy7tOQ/VkQfciqMumQne2z/1Wol9dNU4GB4YGH8kaNAnFybMAc2Q0uHLmQ==","mode":436,"size":1528},"build/src/realtime.js":{"checkedAt":1678887830216,"integrity":"sha512-fs3NZXWf5LYnTWBpOh7D+3jgUYW43G26Yz2SSjaHhm9vL2l+R4rQVciT9WXJUxO5z72MrE17rnbBuci6dY68Cw==","mode":436,"size":590},"build/src/signals.js":{"checkedAt":1678887830216,"integrity":"sha512-gbmdf0abHCkcWU0RRJb6geLvFmf4GYg+0a5bmVCry7lunFILMe6QtEyRlIFlUkws/++D+Ko+WyxqsvReqvzW9g==","mode":436,"size":778},"package.json":{"checkedAt":1678887830211,"integrity":"sha512-ikIGAp04TdSElsUyVMRLbpU2K7DHTj0owF84ChWR96MjGlG78YDfKxDKIYM0/WPcRzy85qyiix//INI2BuidnQ==","mode":436,"size":1219},"build/src/core.js.map":{"checkedAt":1678887830221,"integrity":"sha512-sJHmaL8mPUsMJJSbn01Q2HUTS/mbShn/jQuxD4Nr5tWxe+U+IXzd7K3A4U+oSs9A/Sx8e2b62PD/X9+laYv1qQ==","mode":436,"size":10551},"build/src/realtime.js.map":{"checkedAt":1678887830221,"integrity":"sha512-iCEBZWTiuwSPReP55s33IzRQXKtViIxd5QWr1ydbT439SXoX/1WAbB2oozBBUw2aqd0TsZ2zDbE1dG/LMLZLhw==","mode":436,"size":1245},"build/src/main.js.map":{"checkedAt":1678887830221,"integrity":"sha512-IAT77GP70QPM5mN+JXDRJnjfk49KApj35qGMVLrgErIQGkTNsJDlc61RW6icgHrVgVOYlYUgEep8mJv1z3l7Kg==","mode":436,"size":4047},"build/src/signals.js.map":{"checkedAt":1678887830221,"integrity":"sha512-sMDu2JgJYksiTRccSEA/LmuTB+/5nM3Uyo0Ekw/qLMYDoLPqkcCI3oOJ+1TI1PQJogcyQmjfbo223+yr6FK7+A==","mode":436,"size":2054},"README.md":{"checkedAt":1678887830221,"integrity":"sha512-VIGdG/VF0tJJQi/IDdacJbKD5aTT2msHKopnT2/A5gK0gQ3klCjp/86IfflpHhQqfa85fcBjJOpxD5hVzpOlmA==","mode":436,"size":4733}}}

View File

@@ -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/observable/fromPromise"));
//# sourceMappingURL=fromPromise.js.map

View File

@@ -0,0 +1,19 @@
/** PURE_IMPORTS_START _util_isScheduler,_fromArray,_scheduled_scheduleArray PURE_IMPORTS_END */
import { isScheduler } from '../util/isScheduler';
import { fromArray } from './fromArray';
import { scheduleArray } from '../scheduled/scheduleArray';
export function of() {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
var scheduler = args[args.length - 1];
if (isScheduler(scheduler)) {
args.pop();
return scheduleArray(args, scheduler);
}
else {
return fromArray(args);
}
}
//# sourceMappingURL=of.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"isDate.js","sources":["../../../src/internal/util/isDate.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,MAAM,CAAC,KAAU;IAC/B,OAAO,KAAK,YAAY,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC;AACjD,CAAC"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"repeatWhen.js","sources":["../../src/add/operator/repeatWhen.ts"],"names":[],"mappings":";;AAAA,+CAA6C"}

View File

@@ -0,0 +1 @@
module.exports={A:{A:{"2":"J E F G A BC","129":"B"},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 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 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"},D:{"1":"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 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"},E:{"1":"E F G A B C K L H JC KC 0B qB rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B NC","2":"I u J GC zB HC IC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C 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 B OC PC 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","2":"zB TC AC UC VC"},H:{"2":"nC"},I:{"1":"D sC tC","2":"tB I oC pC qC rC AC"},J:{"1":"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":"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:6,C:"Strict Transport Security"};

View File

@@ -0,0 +1,129 @@
/** PURE_IMPORTS_START tslib,_Subject,_Subscription,_OuterSubscriber,_util_subscribeToResult PURE_IMPORTS_END */
import * as tslib_1 from "tslib";
import { Subject } from '../Subject';
import { Subscription } from '../Subscription';
import { OuterSubscriber } from '../OuterSubscriber';
import { subscribeToResult } from '../util/subscribeToResult';
export function windowToggle(openings, closingSelector) {
return function (source) { return source.lift(new WindowToggleOperator(openings, closingSelector)); };
}
var WindowToggleOperator = /*@__PURE__*/ (function () {
function WindowToggleOperator(openings, closingSelector) {
this.openings = openings;
this.closingSelector = closingSelector;
}
WindowToggleOperator.prototype.call = function (subscriber, source) {
return source.subscribe(new WindowToggleSubscriber(subscriber, this.openings, this.closingSelector));
};
return WindowToggleOperator;
}());
var WindowToggleSubscriber = /*@__PURE__*/ (function (_super) {
tslib_1.__extends(WindowToggleSubscriber, _super);
function WindowToggleSubscriber(destination, openings, closingSelector) {
var _this = _super.call(this, destination) || this;
_this.openings = openings;
_this.closingSelector = closingSelector;
_this.contexts = [];
_this.add(_this.openSubscription = subscribeToResult(_this, openings, openings));
return _this;
}
WindowToggleSubscriber.prototype._next = function (value) {
var contexts = this.contexts;
if (contexts) {
var len = contexts.length;
for (var i = 0; i < len; i++) {
contexts[i].window.next(value);
}
}
};
WindowToggleSubscriber.prototype._error = function (err) {
var contexts = this.contexts;
this.contexts = null;
if (contexts) {
var len = contexts.length;
var index = -1;
while (++index < len) {
var context_1 = contexts[index];
context_1.window.error(err);
context_1.subscription.unsubscribe();
}
}
_super.prototype._error.call(this, err);
};
WindowToggleSubscriber.prototype._complete = function () {
var contexts = this.contexts;
this.contexts = null;
if (contexts) {
var len = contexts.length;
var index = -1;
while (++index < len) {
var context_2 = contexts[index];
context_2.window.complete();
context_2.subscription.unsubscribe();
}
}
_super.prototype._complete.call(this);
};
WindowToggleSubscriber.prototype._unsubscribe = function () {
var contexts = this.contexts;
this.contexts = null;
if (contexts) {
var len = contexts.length;
var index = -1;
while (++index < len) {
var context_3 = contexts[index];
context_3.window.unsubscribe();
context_3.subscription.unsubscribe();
}
}
};
WindowToggleSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {
if (outerValue === this.openings) {
var closingNotifier = void 0;
try {
var closingSelector = this.closingSelector;
closingNotifier = closingSelector(innerValue);
}
catch (e) {
return this.error(e);
}
var window_1 = new Subject();
var subscription = new Subscription();
var context_4 = { window: window_1, subscription: subscription };
this.contexts.push(context_4);
var innerSubscription = subscribeToResult(this, closingNotifier, context_4);
if (innerSubscription.closed) {
this.closeWindow(this.contexts.length - 1);
}
else {
innerSubscription.context = context_4;
subscription.add(innerSubscription);
}
this.destination.next(window_1);
}
else {
this.closeWindow(this.contexts.indexOf(outerValue));
}
};
WindowToggleSubscriber.prototype.notifyError = function (err) {
this.error(err);
};
WindowToggleSubscriber.prototype.notifyComplete = function (inner) {
if (inner !== this.openSubscription) {
this.closeWindow(this.contexts.indexOf(inner.context));
}
};
WindowToggleSubscriber.prototype.closeWindow = function (index) {
if (index === -1) {
return;
}
var contexts = this.contexts;
var context = contexts[index];
var window = context.window, subscription = context.subscription;
contexts.splice(index, 1);
window.complete();
subscription.unsubscribe();
};
return WindowToggleSubscriber;
}(OuterSubscriber));
//# sourceMappingURL=windowToggle.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"filter.js","sources":["../src/operators/filter.ts"],"names":[],"mappings":";;;;;AAAA,kDAA6C"}

View File

@@ -0,0 +1,64 @@
var bgColors = [
"linear-gradient(to right, #00b09b, #96c93d)",
"linear-gradient(to right, #ff5f6d, #ffc371)",
],
i = 0;
Toastify({
text: "Hi",
duration: 4500,
destination: "https://github.com/apvarun/toastify-js",
newWindow: true,
gravity: "top",
position: 'left',
}).showToast();
setTimeout(function() {
Toastify({
text: "Simple JavaScript Toasts",
gravity: "top",
position: 'center',
backgroundColor: "#0f3443",
}).showToast();
}, 1000);
// Options for the toast
var options = {
text: "Happy toasting!",
duration: 2500,
callback: function() {
console.log("Toast hidden");
Toastify.reposition();
},
close: true,
backgroundColor: "linear-gradient(to right, #00b09b, #96c93d)",
};
// Initializing the toast
var myToast = Toastify(options);
// Toast after delay
setTimeout(function() {
myToast.showToast();
}, 4500);
setTimeout(function() {
Toastify({
text: "Highly customizable",
gravity: "bottom",
position: 'left',
close: true,
backgroundColor: "linear-gradient(to right, #ff5f6d, #ffc371)",
}).showToast();
}, 3000);
// Displaying toast on manual action `Try`
document.getElementById("new-toast").addEventListener("click", function() {
Toastify({
text: "I am a toast",
duration: 3000,
close: i % 3 ? true : false,
backgroundColor: bgColors[i % 2],
}).showToast();
i++;
});

View File

@@ -0,0 +1,2 @@
import { CancelableRequest, BeforeErrorHook } from './types';
export default function createRejection(error: Error, ...beforeErrorGroups: Array<BeforeErrorHook[] | undefined>): CancelableRequest<never>;

View File

@@ -0,0 +1,4 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
require("rxjs-compat/add/operator/sampleTime");
//# sourceMappingURL=sampleTime.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"EmptyError.js","sources":["../../../src/internal/util/EmptyError.ts"],"names":[],"mappings":"AAOA,IAAM,cAAc,GAAG,CAAC;IACtB,SAAS,cAAc;QACrB,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,yBAAyB,CAAC;QACzC,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;QACzB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,cAAc,CAAC,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;IAE1D,OAAO,cAAc,CAAC;AACxB,CAAC,CAAC,EAAE,CAAC;AAYL,MAAM,CAAC,IAAM,UAAU,GAAmB,cAAqB,CAAC"}

View File

@@ -0,0 +1,26 @@
/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */
import * as tslib_1 from "tslib";
import { Subscriber } from '../Subscriber';
export function ignoreElements() {
return function ignoreElementsOperatorFunction(source) {
return source.lift(new IgnoreElementsOperator());
};
}
var IgnoreElementsOperator = /*@__PURE__*/ (function () {
function IgnoreElementsOperator() {
}
IgnoreElementsOperator.prototype.call = function (subscriber, source) {
return source.subscribe(new IgnoreElementsSubscriber(subscriber));
};
return IgnoreElementsOperator;
}());
var IgnoreElementsSubscriber = /*@__PURE__*/ (function (_super) {
tslib_1.__extends(IgnoreElementsSubscriber, _super);
function IgnoreElementsSubscriber() {
return _super !== null && _super.apply(this, arguments) || this;
}
IgnoreElementsSubscriber.prototype._next = function (unused) {
};
return IgnoreElementsSubscriber;
}(Subscriber));
//# sourceMappingURL=ignoreElements.js.map

View File

@@ -0,0 +1,18 @@
let Value = require('../value')
class ImageSet extends Value {
/**
* Use non-standard name for WebKit and Firefox
*/
replace (string, prefix) {
let fixed = super.replace(string, prefix)
if (prefix === '-webkit-') {
fixed = fixed.replace(/("[^"]+"|'[^']+')(\s+\d+\w)/gi, 'url($1)$2')
}
return fixed
}
}
ImageSet.names = ['image-set']
module.exports = ImageSet

View File

@@ -0,0 +1,21 @@
import { cubicOut } from '../easing/index.mjs';
import { is_function } from '../internal/index.mjs';
function flip(node, animation, params = {}) {
const style = getComputedStyle(node);
const transform = style.transform === 'none' ? '' : style.transform;
const scaleX = animation.from.width / node.clientWidth;
const scaleY = animation.from.height / node.clientHeight;
const dx = (animation.from.left - animation.to.left) / scaleX;
const dy = (animation.from.top - animation.to.top) / scaleY;
const d = Math.sqrt(dx * dx + dy * dy);
const { delay = 0, duration = (d) => Math.sqrt(d) * 120, easing = cubicOut } = params;
return {
delay,
duration: is_function(duration) ? duration(d) : duration,
easing,
css: (_t, u) => `transform: ${transform} translate(${u * dx}px, ${u * dy}px);`
};
}
export { flip };