@tko/observable 4.0.0-beta1.3 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Subscription.js +4 -5
- package/dist/Subscription.js.map +2 -2
- package/dist/defer.js +2 -1
- package/dist/defer.js.map +2 -2
- package/dist/dependencyDetection.js +11 -3
- package/dist/dependencyDetection.js.map +2 -2
- package/dist/extenders.js +12 -23
- package/dist/extenders.js.map +3 -3
- package/dist/index.cjs +346 -276
- package/dist/index.cjs.map +4 -4
- package/dist/index.js +3 -9
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +3 -9
- package/dist/index.mjs.map +2 -2
- package/dist/mappingHelpers.js +14 -11
- package/dist/mappingHelpers.js.map +2 -2
- package/dist/observable.js +39 -13
- package/dist/observable.js.map +3 -3
- package/dist/observableArray.changeTracking.js +20 -21
- package/dist/observableArray.changeTracking.js.map +2 -2
- package/dist/observableArray.js +25 -27
- package/dist/observableArray.js.map +2 -2
- package/dist/subscribable.js +12 -17
- package/dist/subscribable.js.map +2 -2
- package/dist/subscribableSymbol.js +3 -2
- package/dist/subscribableSymbol.js.map +2 -2
- package/package.json +3 -4
- package/LICENSE +0 -22
package/dist/subscribable.js
CHANGED
|
@@ -1,24 +1,21 @@
|
|
|
1
|
-
// @tko/observable 🥊 4.0.0
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
objectForEach,
|
|
5
|
-
options
|
|
6
|
-
} from "@tko/utils";
|
|
1
|
+
// @tko/observable 🥊 4.0.0 ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
import { arrayRemoveItem, objectForEach, options } from "@tko/utils";
|
|
7
4
|
import Subscription from "./Subscription";
|
|
8
5
|
import { SUBSCRIBABLE_SYM } from "./subscribableSymbol";
|
|
9
6
|
import { applyExtenders } from "./extenders";
|
|
10
7
|
import * as dependencyDetection from "./dependencyDetection";
|
|
11
8
|
export { isSubscribable } from "./subscribableSymbol";
|
|
12
|
-
export const LATEST_VALUE = Symbol("Knockout latest value");
|
|
9
|
+
export const LATEST_VALUE = /* @__PURE__ */ Symbol("Knockout latest value");
|
|
13
10
|
if (!Symbol.observable) {
|
|
14
|
-
Symbol.observable = Symbol.for("@tko/Symbol.observable");
|
|
11
|
+
Symbol.observable = /* @__PURE__ */ Symbol.for("@tko/Symbol.observable");
|
|
15
12
|
}
|
|
16
|
-
export function
|
|
13
|
+
export const subscribable = function subscribableFactory() {
|
|
17
14
|
Object.setPrototypeOf(this, ko_subscribable_fn);
|
|
18
15
|
ko_subscribable_fn.init(this);
|
|
19
|
-
}
|
|
20
|
-
export
|
|
21
|
-
|
|
16
|
+
};
|
|
17
|
+
export const defaultEvent = "change";
|
|
18
|
+
const ko_subscribable_fn = {
|
|
22
19
|
[SUBSCRIBABLE_SYM]: true,
|
|
23
20
|
[Symbol.observable]() {
|
|
24
21
|
return this;
|
|
@@ -30,9 +27,7 @@ var ko_subscribable_fn = {
|
|
|
30
27
|
subscribe(callback, callbackTarget, event) {
|
|
31
28
|
const isTC39Callback = typeof callback === "object" && callback.next;
|
|
32
29
|
event = event || defaultEvent;
|
|
33
|
-
const observer = isTC39Callback ? callback : {
|
|
34
|
-
next: callbackTarget ? callback.bind(callbackTarget) : callback
|
|
35
|
-
};
|
|
30
|
+
const observer = isTC39Callback ? callback : { next: callbackTarget ? callback.bind(callbackTarget) : callback };
|
|
36
31
|
const subscriptionInstance = new Subscription(this, observer, () => {
|
|
37
32
|
arrayRemoveItem(this._subscriptions[event], subscriptionInstance);
|
|
38
33
|
if (this.afterSubscriptionRemove) {
|
|
@@ -43,7 +38,7 @@ var ko_subscribable_fn = {
|
|
|
43
38
|
this.beforeSubscriptionAdd(event);
|
|
44
39
|
}
|
|
45
40
|
if (!this._subscriptions[event]) {
|
|
46
|
-
this._subscriptions[event] =
|
|
41
|
+
this._subscriptions[event] = new Array();
|
|
47
42
|
}
|
|
48
43
|
this._subscriptions[event].push(subscriptionInstance);
|
|
49
44
|
if (isTC39Callback && LATEST_VALUE in this) {
|
|
@@ -86,7 +81,7 @@ var ko_subscribable_fn = {
|
|
|
86
81
|
if (event) {
|
|
87
82
|
return this._subscriptions[event] && this._subscriptions[event].length || 0;
|
|
88
83
|
} else {
|
|
89
|
-
|
|
84
|
+
let total = 0;
|
|
90
85
|
objectForEach(this._subscriptions, function(eventName, subscriptions) {
|
|
91
86
|
if (eventName !== "dirty") {
|
|
92
87
|
total += subscriptions.length;
|
package/dist/subscribable.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/subscribable.ts"],
|
|
4
|
-
"sourcesContent": ["/* eslint no-cond-assign: 0 */\nimport {
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["/* eslint no-cond-assign: 0 */\nimport { arrayRemoveItem, objectForEach, options } from '@tko/utils'\n\nimport Subscription from './Subscription'\nimport { SUBSCRIBABLE_SYM } from './subscribableSymbol'\nimport { applyExtenders } from './extenders'\nimport * as dependencyDetection from './dependencyDetection'\nexport { isSubscribable } from './subscribableSymbol'\n\n// Descendants may have a LATEST_VALUE, which if present\n// causes TC39 subscriptions to emit the latest value when\n// subscribed.\nexport const LATEST_VALUE = Symbol('Knockout latest value')\n\nif (!Symbol.observable) {\n Symbol.observable = Symbol.for('@tko/Symbol.observable')\n}\n\nexport type SubscriptionCallback<T = any, TTarget = void> = (this: TTarget, val: T) => void\nexport type MaybeSubscribable<T = any> = T | Subscribable<T>\n\n// Some types remain here because refactoring leads to invasive changes.\n// Change prototype-chains of the TKO base classes to js/ts classes can be later steps.\nexport interface SubscribableFunctions<T = any> {\n [symbol: symbol]: boolean\n init(instance: any): void\n\n notifySubscribers(valueToWrite?: T, event?: string): void\n\n subscribe<TTarget = void>(\n callback: SubscriptionCallback<T, TTarget> | any,\n callbackTarget?: TTarget,\n event?: string\n ): Subscription\n extend(requestedExtenders: any): this\n extend<S extends Subscribable<T>>(requestedExtenders: any): S\n\n getSubscriptionsCount(event?: string): number\n getVersion(): number\n hasChanged(versionToCheck: number): boolean\n updateVersion(): void\n hasSubscriptionsForEvent(event: string): boolean\n isDifferent<T>(oldValue?: T, newValue?: T): boolean\n once(cb: Function): void\n when(test, returnValue?)\n yet(test: Function | any, args: any[]): void\n next(): Promise<unknown>\n toString(): string\n\n // From pureComputedOverrides in computed.ts\n beforeSubscriptionAdd?: (event: string) => void\n afterSubscriptionRemove?: (event: string) => void\n}\n\nexport interface Subscribable<T = any> extends SubscribableFunctions<T> {\n _subscriptions: any\n _versionNumber: number\n _id: number\n}\n\n// This interface is for the JS-Factory-Method 'subscribable' to returns a typed Subscribable\nexport interface subscribable {\n new <T = any>(): Subscribable<T>\n fn: SubscribableFunctions\n}\n\n// https://stackoverflow.com/questions/75658736/is-there-any-way-to-create-object-using-function-in-typescript-like-javascript\n// TODO need help for refactoring to typescript-class without breaking the api\nexport const subscribable = function subscribableFactory() {\n Object.setPrototypeOf(this, ko_subscribable_fn)\n ko_subscribable_fn.init(this)\n} as unknown as subscribable\n\nexport const defaultEvent = 'change'\n\nconst ko_subscribable_fn: SubscribableFunctions = {\n [SUBSCRIBABLE_SYM]: true,\n [Symbol.observable as any]() {\n return this\n },\n\n init(instance) {\n instance._subscriptions = { change: [] }\n instance._versionNumber = 1\n },\n\n subscribe(callback, callbackTarget, event): Subscription {\n // TC39 proposed standard Observable { next: () => ... }\n const isTC39Callback = typeof callback === 'object' && (callback as any).next\n\n event = event || defaultEvent\n const observer = isTC39Callback ? callback : { next: callbackTarget ? callback.bind(callbackTarget) : callback }\n\n const subscriptionInstance = new Subscription(this, observer, () => {\n arrayRemoveItem(this._subscriptions[event], subscriptionInstance)\n if (this.afterSubscriptionRemove) {\n this.afterSubscriptionRemove(event)\n }\n })\n\n if (this.beforeSubscriptionAdd) {\n this.beforeSubscriptionAdd(event)\n }\n\n if (!this._subscriptions[event]) {\n this._subscriptions[event] = new Array()\n }\n this._subscriptions[event].push(subscriptionInstance)\n\n // Have TC39 `subscribe` immediately emit.\n // https://github.com/tc39/proposal-observable/issues/190\n\n if (isTC39Callback && LATEST_VALUE in this) {\n observer.next(this[LATEST_VALUE])\n }\n\n return subscriptionInstance\n },\n\n notifySubscribers(valueToNotify, event) {\n event = event || defaultEvent\n if (event === defaultEvent) {\n this.updateVersion()\n }\n if (this.hasSubscriptionsForEvent(event)) {\n const subs = (event === defaultEvent && this._changeSubscriptions) || [...this._subscriptions[event]]\n\n try {\n dependencyDetection.begin() // Begin suppressing dependency detection (by setting the top frame to undefined)\n for (let i = 0, subscriptionInstance; (subscriptionInstance = subs[i]); ++i) {\n // In case a subscription was disposed during the arrayForEach cycle, check\n // for isDisposed on each subscription before invoking its callback\n if (!subscriptionInstance._isDisposed) {\n subscriptionInstance._callback(valueToNotify)\n }\n }\n } finally {\n dependencyDetection.end() // End suppressing dependency detection\n }\n }\n },\n\n getVersion(): number {\n return this._versionNumber\n },\n\n hasChanged(versionToCheck): boolean {\n return this.getVersion() !== versionToCheck\n },\n\n updateVersion() {\n ++this._versionNumber\n },\n\n hasSubscriptionsForEvent(event): boolean {\n return this._subscriptions[event] && this._subscriptions[event].length\n },\n\n getSubscriptionsCount(event?: string): number {\n if (event) {\n return (this._subscriptions[event] && this._subscriptions[event].length) || 0\n } else {\n let total = 0\n objectForEach(this._subscriptions, function (eventName, subscriptions) {\n if (eventName !== 'dirty') {\n total += subscriptions.length\n }\n })\n return total\n }\n },\n\n isDifferent(oldValue, newValue): boolean {\n return !this.equalityComparer || !this.equalityComparer(oldValue, newValue)\n },\n\n once(cb) {\n const subs = this.subscribe(nv => {\n subs.dispose()\n cb(nv)\n })\n },\n\n when(test: any, returnValue: unknown) {\n const current = this.peek()\n const givenRv = arguments.length > 1\n const testFn = typeof test === 'function' ? test : v => v === test\n if (testFn(current)) {\n return options.Promise.resolve(givenRv ? returnValue : current)\n }\n return new options.Promise((resolve, reject) => {\n const subs = this.subscribe(newValue => {\n if (testFn(newValue)) {\n subs.dispose()\n resolve(givenRv ? returnValue : newValue)\n }\n })\n })\n },\n\n yet(test, ...args) {\n const testFn = typeof test === 'function' ? test : v => v === test\n const negated = v => !testFn(v)\n return this.when(negated, ...args)\n },\n\n next() {\n return new Promise(resolve => this.once(resolve))\n },\n\n toString(): string {\n return '[object Object]'\n },\n\n extend: applyExtenders\n}\n\n// For browsers that support proto assignment, we overwrite the prototype of each\n// observable instance. Since observables are functions, we need Function.prototype\n// to still be in the prototype chain.\nObject.setPrototypeOf(ko_subscribable_fn, Function.prototype)\n\nsubscribable.fn = ko_subscribable_fn\n"],
|
|
5
|
+
"mappings": ";;AACA,SAAS,iBAAiB,eAAe,eAAe;AAExD,OAAO,kBAAkB;AACzB,SAAS,wBAAwB;AACjC,SAAS,sBAAsB;AAC/B,YAAY,yBAAyB;AACrC,SAAS,sBAAsB;AAKxB,aAAM,eAAe,uBAAO,uBAAuB;AAE1D,IAAI,CAAC,OAAO,YAAY;AACtB,SAAO,aAAa,uBAAO,IAAI,wBAAwB;AACzD;AAoDO,aAAM,eAAe,SAAS,sBAAsB;AACzD,SAAO,eAAe,MAAM,kBAAkB;AAC9C,qBAAmB,KAAK,IAAI;AAC9B;AAEO,aAAM,eAAe;AAE5B,MAAM,qBAA4C;AAAA,EAChD,CAAC,gBAAgB,GAAG;AAAA,EACpB,CAAC,OAAO,UAAiB,IAAI;AAC3B,WAAO;AAAA,EACT;AAAA,EAEA,KAAK,UAAU;AACb,aAAS,iBAAiB,EAAE,QAAQ,CAAC,EAAE;AACvC,aAAS,iBAAiB;AAAA,EAC5B;AAAA,EAEA,UAAU,UAAU,gBAAgB,OAAqB;AAEvD,UAAM,iBAAiB,OAAO,aAAa,YAAa,SAAiB;AAEzE,YAAQ,SAAS;AACjB,UAAM,WAAW,iBAAiB,WAAW,EAAE,MAAM,iBAAiB,SAAS,KAAK,cAAc,IAAI,SAAS;AAE/G,UAAM,uBAAuB,IAAI,aAAa,MAAM,UAAU,MAAM;AAClE,sBAAgB,KAAK,eAAe,KAAK,GA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;AAAA,EACT;AAAA,EAEA,QAAQ;AACV;AAKA,OAAO,eAAe,oBAAoB,SAAS,SAAS;AAE5D,aAAa,KAAK;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
// @tko/observable 🥊 4.0.0
|
|
2
|
-
|
|
1
|
+
// @tko/observable 🥊 4.0.0 ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
export const SUBSCRIBABLE_SYM = /* @__PURE__ */ Symbol("Knockout Subscribable");
|
|
3
4
|
export function isSubscribable(instance) {
|
|
4
5
|
return instance && instance[SUBSCRIBABLE_SYM] || false;
|
|
5
6
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/subscribableSymbol.ts"],
|
|
4
|
-
"sourcesContent": ["/**\n * Create a subscribable symbol that's used to identify subscribables.\n */\nexport const SUBSCRIBABLE_SYM = Symbol('Knockout Subscribable')\n\nexport function isSubscribable (instance) {\n return (instance && instance[SUBSCRIBABLE_SYM]) || false\n}\n"],
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import type { Subscribable } from './subscribable'\n\n/**\n * Create a subscribable symbol that's used to identify subscribables.\n */\nexport const SUBSCRIBABLE_SYM = Symbol('Knockout Subscribable')\n\nexport function isSubscribable<T = any>(instance: any): instance is Subscribable<T> {\n return (instance && instance[SUBSCRIBABLE_SYM]) || false\n}\n"],
|
|
5
|
+
"mappings": ";;AAKO,aAAM,mBAAmB,uBAAO,uBAAuB;AAEvD,gBAAS,eAAwB,UAA4C;AAClF,SAAQ,YAAY,SAAS,gBAAgB,KAAM;AACrD;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "4.0.0
|
|
2
|
+
"version": "4.0.0",
|
|
3
3
|
"name": "@tko/observable",
|
|
4
4
|
"description": "TKO subscribables and observables",
|
|
5
5
|
"repository": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"homepage": "https://tko.io",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@tko/utils": "^4.0.0
|
|
34
|
+
"@tko/utils": "^4.0.0",
|
|
35
35
|
"tslib": "^2.2.0"
|
|
36
36
|
},
|
|
37
37
|
"karma": {
|
|
@@ -44,6 +44,5 @@
|
|
|
44
44
|
"type": "MIT",
|
|
45
45
|
"url": "https://opensource.org/licenses/MIT"
|
|
46
46
|
}
|
|
47
|
-
]
|
|
48
|
-
"gitHead": "a8843acb8ae085915115e53a4e057b30731c635e"
|
|
47
|
+
]
|
|
49
48
|
}
|
package/LICENSE
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT) - http://www.opensource.org/licenses/mit-license.php
|
|
2
|
-
|
|
3
|
-
Copyright (c) Steven Sanderson, the Knockout.js team, and other contributors
|
|
4
|
-
http://knockoutjs.com/
|
|
5
|
-
|
|
6
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
-
in the Software without restriction, including without limitation the rights
|
|
9
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
-
furnished to do so, subject to the following conditions:
|
|
12
|
-
|
|
13
|
-
The above copyright notice and this permission notice shall be included in
|
|
14
|
-
all copies or substantial portions of the Software.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
22
|
-
THE SOFTWARE.
|