@dxyl/utils 1.0.0 → 1.1.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/index.es.js +8985 -0
- package/dist/index.umd.js +28 -0
- package/lib/glslang/glslang.d.ts +14 -0
- package/lib/glslang/glslang.js +113 -0
- package/lib/glslang/glslang.wasm +0 -0
- package/lib/twgsl/twgsl.js +53 -0
- package/lib/twgsl/twgsl.wasm +0 -0
- package/package.json +27 -34
- package/readme.md +0 -0
- package/types/Color.d.ts +69 -0
- package/types/Options.d.ts +70 -0
- package/types/antv-util/color/arr2rgb.d.ts +12 -0
- package/types/antv-util/color/gradient.d.ts +6 -0
- package/types/antv-util/color/index.d.ts +4 -0
- package/types/antv-util/color/rgb2arr.d.ts +6 -0
- package/types/antv-util/color/tocssgradient.d.ts +1 -0
- package/types/antv-util/color/torgb.d.ts +6 -0
- package/types/antv-util/helper/index.d.ts +2 -0
- package/types/antv-util/helper/mod.d.ts +1 -0
- package/types/antv-util/helper/to-radian.d.ts +1 -0
- package/types/antv-util/index.d.ts +3 -0
- package/types/antv-util/matrix/index.d.ts +27 -0
- package/types/antv-util/path/convert/path-2-absolute.d.ts +2 -0
- package/types/antv-util/path/convert/path-2-curve.d.ts +2 -0
- package/types/antv-util/path/convert/path-2-string.d.ts +6 -0
- package/types/antv-util/path/index.d.ts +17 -0
- package/types/antv-util/path/parser/finalize-segment.d.ts +5 -0
- package/types/antv-util/path/parser/is-arc-command.d.ts +4 -0
- package/types/antv-util/path/parser/is-digit-start.d.ts +6 -0
- package/types/antv-util/path/parser/is-path-command.d.ts +4 -0
- package/types/antv-util/path/parser/is-space.d.ts +4 -0
- package/types/antv-util/path/parser/params-count.d.ts +13 -0
- package/types/antv-util/path/parser/params-parser.d.ts +10 -0
- package/types/antv-util/path/parser/parse-path-string.d.ts +6 -0
- package/types/antv-util/path/parser/path-parser.d.ts +16 -0
- package/types/antv-util/path/parser/scan-flag.d.ts +6 -0
- package/types/antv-util/path/parser/scan-param.d.ts +6 -0
- package/types/antv-util/path/parser/scan-segment.d.ts +6 -0
- package/types/antv-util/path/parser/skip-spaces.d.ts +7 -0
- package/types/antv-util/path/process/arc-2-cubic.d.ts +7 -0
- package/types/antv-util/path/process/clone-path.d.ts +2 -0
- package/types/antv-util/path/process/fix-arc.d.ts +2 -0
- package/types/antv-util/path/process/line-2-cubic.d.ts +1 -0
- package/types/antv-util/path/process/normalize-path.d.ts +8 -0
- package/types/antv-util/path/process/normalize-segment.d.ts +6 -0
- package/types/antv-util/path/process/quad-2-cubic.d.ts +1 -0
- package/types/antv-util/path/process/reverse-curve.d.ts +2 -0
- package/types/antv-util/path/process/round-path.d.ts +6 -0
- package/types/antv-util/path/process/segment-2-cubic.d.ts +2 -0
- package/types/antv-util/path/types.d.ts +122 -0
- package/types/antv-util/path/util/distance-square-root.d.ts +1 -0
- package/types/antv-util/path/util/equalize-segments.d.ts +2 -0
- package/types/antv-util/path/util/get-draw-direction.d.ts +2 -0
- package/types/antv-util/path/util/get-path-area.d.ts +8 -0
- package/types/antv-util/path/util/get-path-bbox-total-length.d.ts +5 -0
- package/types/antv-util/path/util/get-path-bbox.d.ts +5 -0
- package/types/antv-util/path/util/get-point-at-length.d.ts +5 -0
- package/types/antv-util/path/util/get-properties-at-length.d.ts +6 -0
- package/types/antv-util/path/util/get-properties-at-point.d.ts +7 -0
- package/types/antv-util/path/util/get-rotated-curve.d.ts +2 -0
- package/types/antv-util/path/util/get-total-length.d.ts +8 -0
- package/types/antv-util/path/util/is-absolute-array.d.ts +6 -0
- package/types/antv-util/path/util/is-curve-array.d.ts +9 -0
- package/types/antv-util/path/util/is-normalized-array.d.ts +7 -0
- package/types/antv-util/path/util/is-path-array.d.ts +5 -0
- package/types/antv-util/path/util/is-point-in-stroke.d.ts +5 -0
- package/types/antv-util/path/util/mid-point.d.ts +1 -0
- package/types/antv-util/path/util/path-length-factory.d.ts +7 -0
- package/types/antv-util/path/util/rotate-vector.d.ts +4 -0
- package/types/antv-util/path/util/segment-arc-factory.d.ts +6 -0
- package/types/antv-util/path/util/segment-cubic-factory.d.ts +6 -0
- package/types/antv-util/path/util/segment-line-factory.d.ts +6 -0
- package/types/antv-util/path/util/segment-quad-factory.d.ts +6 -0
- package/types/callbacks.d.ts +30 -0
- package/types/color/colord/src/colorModels/cmyk.d.ts +23 -0
- package/types/color/colord/src/colorModels/cmykString.d.ts +7 -0
- package/types/color/colord/src/colorModels/hex.d.ts +5 -0
- package/types/color/colord/src/colorModels/hsl.d.ts +8 -0
- package/types/color/colord/src/colorModels/hslString.d.ts +7 -0
- package/types/color/colord/src/colorModels/hsv.d.ts +6 -0
- package/types/color/colord/src/colorModels/hwb.d.ts +6 -0
- package/types/color/colord/src/colorModels/hwbString.d.ts +7 -0
- package/types/color/colord/src/colorModels/lab.d.ts +18 -0
- package/types/color/colord/src/colorModels/lch.d.ts +19 -0
- package/types/color/colord/src/colorModels/lchString.d.ts +7 -0
- package/types/color/colord/src/colorModels/rgb.d.ts +13 -0
- package/types/color/colord/src/colorModels/rgbString.d.ts +7 -0
- package/types/color/colord/src/colorModels/xyz.d.ts +30 -0
- package/types/color/colord/src/colord.d.ts +103 -0
- package/types/color/colord/src/constants.d.ts +10 -0
- package/types/color/colord/src/extend.d.ts +4 -0
- package/types/color/colord/src/get/getBrightness.d.ts +7 -0
- package/types/color/colord/src/get/getContrast.d.ts +6 -0
- package/types/color/colord/src/get/getLuminance.d.ts +6 -0
- package/types/color/colord/src/get/getPerceivedDifference.d.ts +24 -0
- package/types/color/colord/src/helpers.d.ts +20 -0
- package/types/color/colord/src/index.d.ts +5 -0
- package/types/color/colord/src/manipulate/changeAlpha.d.ts +2 -0
- package/types/color/colord/src/manipulate/invert.d.ts +2 -0
- package/types/color/colord/src/manipulate/lighten.d.ts +2 -0
- package/types/color/colord/src/manipulate/mix.d.ts +2 -0
- package/types/color/colord/src/manipulate/saturate.d.ts +2 -0
- package/types/color/colord/src/parse.d.ts +8 -0
- package/types/color/colord/src/plugins/a11y.d.ts +38 -0
- package/types/color/colord/src/plugins/cmyk.d.ts +24 -0
- package/types/color/colord/src/plugins/harmonies.d.ts +16 -0
- package/types/color/colord/src/plugins/hwb.d.ts +23 -0
- package/types/color/colord/src/plugins/lab.d.ts +23 -0
- package/types/color/colord/src/plugins/lch.d.ts +24 -0
- package/types/color/colord/src/plugins/minify.d.ts +20 -0
- package/types/color/colord/src/plugins/mix.d.ts +27 -0
- package/types/color/colord/src/plugins/names.d.ts +19 -0
- package/types/color/colord/src/plugins/xyz.d.ts +14 -0
- package/types/color/colord/src/random.d.ts +2 -0
- package/types/color/colord/src/types.d.ts +67 -0
- package/types/data/immer.d.ts +262 -0
- package/types/data/immutable.d.ts +5127 -0
- package/types/data/mobx.d.ts +154 -0
- package/types/data/reactivity.d.ts +755 -0
- package/types/data/signals.d.ts +144 -0
- package/types/deepmerge.d.ts +16 -0
- package/types/events/eventTarget.d.ts +93 -0
- package/types/events/event_emiter.d.ts +43 -0
- package/types/events/eventemitter3.d.ts +135 -0
- package/types/events/mitt.d.ts +21 -0
- package/types/fast-deep-equal.d.ts +1 -0
- package/types/index.d.ts +20 -0
- package/types/ismobilejs.d.ts +46 -0
- package/types/lodash/augment.d.ts +2 -0
- package/types/lodash/cache.d.ts +14 -0
- package/types/lodash/clamp.d.ts +2 -0
- package/types/lodash/clear-animation-frame.d.ts +1 -0
- package/types/lodash/clone.d.ts +2 -0
- package/types/lodash/contains.d.ts +2 -0
- package/types/lodash/debounce.d.ts +2 -0
- package/types/lodash/deep-mix.d.ts +2 -0
- package/types/lodash/difference.d.ts +11 -0
- package/types/lodash/each.d.ts +2 -0
- package/types/lodash/ends-with.d.ts +3 -0
- package/types/lodash/every.d.ts +7 -0
- package/types/lodash/extend.d.ts +2 -0
- package/types/lodash/filter.d.ts +2 -0
- package/types/lodash/find-index.d.ts +2 -0
- package/types/lodash/find.d.ts +3 -0
- package/types/lodash/first-value.d.ts +2 -0
- package/types/lodash/fixed-base.d.ts +2 -0
- package/types/lodash/flatten-deep.d.ts +12 -0
- package/types/lodash/flatten.d.ts +11 -0
- package/types/lodash/for-in.d.ts +2 -0
- package/types/lodash/get-range.d.ts +6 -0
- package/types/lodash/get-type.d.ts +2 -0
- package/types/lodash/get-wrap-behavior.d.ts +9 -0
- package/types/lodash/get.d.ts +8 -0
- package/types/lodash/group-by.d.ts +6 -0
- package/types/lodash/group-to-map.d.ts +8 -0
- package/types/lodash/group.d.ts +2 -0
- package/types/lodash/has-key.d.ts +2 -0
- package/types/lodash/has-value.d.ts +2 -0
- package/types/lodash/has.d.ts +2 -0
- package/types/lodash/head.d.ts +1 -0
- package/types/lodash/identity.d.ts +2 -0
- package/types/lodash/index-of.d.ts +2 -0
- package/types/lodash/index.d.ts +108 -0
- package/types/lodash/is-arguments.d.ts +2 -0
- package/types/lodash/is-array-like.d.ts +2 -0
- package/types/lodash/is-array.d.ts +2 -0
- package/types/lodash/is-boolean.d.ts +2 -0
- package/types/lodash/is-date.d.ts +2 -0
- package/types/lodash/is-decimal.d.ts +2 -0
- package/types/lodash/is-element.d.ts +6 -0
- package/types/lodash/is-empty.d.ts +2 -0
- package/types/lodash/is-equal-with.d.ts +24 -0
- package/types/lodash/is-equal.d.ts +2 -0
- package/types/lodash/is-error.d.ts +2 -0
- package/types/lodash/is-even.d.ts +2 -0
- package/types/lodash/is-finite.d.ts +1 -0
- package/types/lodash/is-function.d.ts +2 -0
- package/types/lodash/is-integer.d.ts +2 -0
- package/types/lodash/is-match.d.ts +2 -0
- package/types/lodash/is-negative.d.ts +2 -0
- package/types/lodash/is-nil.d.ts +2 -0
- package/types/lodash/is-null.d.ts +2 -0
- package/types/lodash/is-number-equal.d.ts +1 -0
- package/types/lodash/is-number.d.ts +2 -0
- package/types/lodash/is-object-like.d.ts +2 -0
- package/types/lodash/is-object.d.ts +2 -0
- package/types/lodash/is-odd.d.ts +2 -0
- package/types/lodash/is-plain-object.d.ts +2 -0
- package/types/lodash/is-positive.d.ts +2 -0
- package/types/lodash/is-prototype.d.ts +2 -0
- package/types/lodash/is-reg-exp.d.ts +2 -0
- package/types/lodash/is-segment-equal.d.ts +2 -0
- package/types/lodash/is-string.d.ts +2 -0
- package/types/lodash/is-type.d.ts +2 -0
- package/types/lodash/is-undefined.d.ts +2 -0
- package/types/lodash/keys.d.ts +2 -0
- package/types/lodash/last.d.ts +1 -0
- package/types/lodash/lower-case.d.ts +2 -0
- package/types/lodash/lower-first.d.ts +2 -0
- package/types/lodash/map-values.d.ts +6 -0
- package/types/lodash/map.d.ts +2 -0
- package/types/lodash/max-by.d.ts +16 -0
- package/types/lodash/max.d.ts +19 -0
- package/types/lodash/memoize.d.ts +11 -0
- package/types/lodash/merge.d.ts +7 -0
- package/types/lodash/min-by.d.ts +16 -0
- package/types/lodash/min.d.ts +19 -0
- package/types/lodash/mix.d.ts +1 -0
- package/types/lodash/mod.d.ts +2 -0
- package/types/lodash/noop.d.ts +2 -0
- package/types/lodash/number2color.d.ts +2 -0
- package/types/lodash/omit.d.ts +3 -0
- package/types/lodash/parse-radius.d.ts +9 -0
- package/types/lodash/pick.d.ts +16 -0
- package/types/lodash/pull-at.d.ts +2 -0
- package/types/lodash/pull.d.ts +2 -0
- package/types/lodash/reduce.d.ts +3 -0
- package/types/lodash/remove.d.ts +2 -0
- package/types/lodash/request-animation-frame.d.ts +1 -0
- package/types/lodash/set.d.ts +8 -0
- package/types/lodash/size.d.ts +1 -0
- package/types/lodash/some.d.ts +7 -0
- package/types/lodash/sort-by.d.ts +7 -0
- package/types/lodash/starts-with.d.ts +3 -0
- package/types/lodash/substitute.d.ts +5 -0
- package/types/lodash/throttle.d.ts +6 -0
- package/types/lodash/to-array.d.ts +2 -0
- package/types/lodash/to-degree.d.ts +2 -0
- package/types/lodash/to-integer.d.ts +1 -0
- package/types/lodash/to-radian.d.ts +2 -0
- package/types/lodash/to-string.d.ts +2 -0
- package/types/lodash/types/index.d.ts +3 -0
- package/types/lodash/union.d.ts +2 -0
- package/types/lodash/uniq.d.ts +1 -0
- package/types/lodash/unique-id.d.ts +2 -0
- package/types/lodash/upper-case.d.ts +2 -0
- package/types/lodash/upper-first.d.ts +2 -0
- package/types/lodash/values-of-key.d.ts +2 -0
- package/types/lodash/values.d.ts +2 -0
- package/types/lodash/wrap-behavior.d.ts +9 -0
- package/types/parse-svg-path.d.ts +19 -0
- package/types/priority_queue.d.ts +41 -0
- package/types/radash/array.d.ts +209 -0
- package/types/radash/async.d.ts +99 -0
- package/types/radash/curry.d.ts +113 -0
- package/types/radash/index.d.ts +10 -0
- package/types/radash/number.d.ts +27 -0
- package/types/radash/object.d.ts +112 -0
- package/types/radash/random.d.ts +11 -0
- package/types/radash/series.d.ts +13 -0
- package/types/radash/string.d.ts +71 -0
- package/types/radash/typed.d.ts +26 -0
- package/types/stats.module.d.ts +3 -0
- package/README.md +0 -1
- package/dist/cjs/index.js +0 -19
- package/dist/umd/index.js +0 -23
- package/esm/extend.js +0 -3
- package/esm/index.js +0 -3
- package/lib/extend.js +0 -6
- package/lib/index.js +0 -6
- package/src/extend.ts +0 -6
- package/src/index.ts +0 -6
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
export var $mobx: symbol;
|
|
2
|
+
export function FlowCancellationError(): void;
|
|
3
|
+
export class FlowCancellationError {
|
|
4
|
+
message: string;
|
|
5
|
+
}
|
|
6
|
+
export var ObservableMap: any;
|
|
7
|
+
export var ObservableSet: any;
|
|
8
|
+
export var Reaction: any;
|
|
9
|
+
declare function allowStateChanges(allowStateChanges: any, func: any): any;
|
|
10
|
+
export function runInAction(fn: any): any;
|
|
11
|
+
declare function allowStateReadsEnd(prev: any): void;
|
|
12
|
+
declare function allowStateReadsStart(allowStateReads: any): any;
|
|
13
|
+
declare function autoAction(arg1: any, arg2: any): any;
|
|
14
|
+
declare namespace autoAction {
|
|
15
|
+
let bound: any;
|
|
16
|
+
}
|
|
17
|
+
export function _endAction(runInfo: any): void;
|
|
18
|
+
declare function getAdministration(thing: any, property: any): any;
|
|
19
|
+
declare function getGlobalState(): any;
|
|
20
|
+
declare function interceptReads(thing: any, propOrHandler: any, handler: any): void | (() => void);
|
|
21
|
+
declare function isComputingDerivation(): boolean;
|
|
22
|
+
/**
|
|
23
|
+
* For testing purposes only; this will break the internal state of existing observables,
|
|
24
|
+
* but can be used to get back at a stable state after throwing errors
|
|
25
|
+
*/
|
|
26
|
+
declare function resetGlobalState(): void;
|
|
27
|
+
export function _startAction(actionName: any, canRunAsDerivation: any, scope: any, args: any): {
|
|
28
|
+
runAsAction_: boolean;
|
|
29
|
+
prevDerivation_: any;
|
|
30
|
+
prevAllowStateChanges_: any;
|
|
31
|
+
prevAllowStateReads_: any;
|
|
32
|
+
notifySpy_: boolean;
|
|
33
|
+
startTime_: number;
|
|
34
|
+
actionId_: number;
|
|
35
|
+
parentActionId_: number;
|
|
36
|
+
};
|
|
37
|
+
export function action(arg1: any, arg2: any): any;
|
|
38
|
+
export namespace action {
|
|
39
|
+
let bound_1: any;
|
|
40
|
+
export { bound_1 as bound };
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Creates a named reactive view and keeps it alive, so that the view is always
|
|
44
|
+
* updated if one of the dependencies changes, even when the view is not further used by something else.
|
|
45
|
+
* @param view The reactive view
|
|
46
|
+
* @returns disposer function, which can be used to stop the view from being updated in the future.
|
|
47
|
+
*/
|
|
48
|
+
export function autorun(view: any, opts: any): any;
|
|
49
|
+
export namespace comparer {
|
|
50
|
+
export { identityComparer as identity };
|
|
51
|
+
export { structuralComparer as structural };
|
|
52
|
+
export { defaultComparer as default };
|
|
53
|
+
export { shallowComparer as shallow };
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Decorator for class properties: @computed get value() { return expr; }.
|
|
57
|
+
* For legacy purposes also invokable as ES5 observable created: `computed(() => expr)`;
|
|
58
|
+
*/
|
|
59
|
+
export function computed(arg1: any, arg2: any): any;
|
|
60
|
+
export namespace computed {
|
|
61
|
+
let struct: any;
|
|
62
|
+
}
|
|
63
|
+
export function configure(options: any): void;
|
|
64
|
+
export function createAtom(name: any, onBecomeObservedHandler: any, onBecomeUnobservedHandler: any): any;
|
|
65
|
+
declare function apiDefineProperty(obj: any, key: any, descriptor: any): any;
|
|
66
|
+
export function entries(obj: any): any;
|
|
67
|
+
export function extendObservable(target: any, properties: any, annotations: any, options: any, ...args: any[]): any;
|
|
68
|
+
export var flow: ((arg1: any, arg2: any, ...args: any[]) => any) & {
|
|
69
|
+
annotationType_: any;
|
|
70
|
+
options_: any;
|
|
71
|
+
make_: typeof make_$2;
|
|
72
|
+
extend_: typeof extend_$2;
|
|
73
|
+
decorate_20223_: typeof decorate_20223_$2;
|
|
74
|
+
};
|
|
75
|
+
export function flowResult(result: any): any;
|
|
76
|
+
export function get(obj: any, key: any): any;
|
|
77
|
+
export function getAtom(thing: any, property: any): any;
|
|
78
|
+
export function getDebugName(thing: any, property: any): any;
|
|
79
|
+
export function getDependencyTree(thing: any, property: any): {
|
|
80
|
+
name: any;
|
|
81
|
+
};
|
|
82
|
+
export function getObserverTree(thing: any, property: any): {
|
|
83
|
+
name: any;
|
|
84
|
+
};
|
|
85
|
+
export function has(obj: any, key: any): any;
|
|
86
|
+
export function intercept(thing: any, propOrHandler: any, handler: any): any;
|
|
87
|
+
export function isAction(thing: any): boolean;
|
|
88
|
+
declare function isObservableValue(x: any): boolean;
|
|
89
|
+
export function isComputed(value: any, ...args: any[]): boolean | void;
|
|
90
|
+
export function isComputedProp(value: any, propName: any): boolean | void;
|
|
91
|
+
export function isFlow(fn: any): boolean;
|
|
92
|
+
export function isFlowCancellationError(error: any): error is FlowCancellationError;
|
|
93
|
+
export function isObservable(value: any, ...args: any[]): any;
|
|
94
|
+
export function isObservableArray(thing: any): boolean;
|
|
95
|
+
export function isObservableMap(x: any): boolean;
|
|
96
|
+
export function isObservableObject(thing: any): boolean;
|
|
97
|
+
export function isObservableProp(value: any, propName: any): any;
|
|
98
|
+
export function isObservableSet(x: any): boolean;
|
|
99
|
+
export function keys(obj: any): any;
|
|
100
|
+
export function makeAutoObservable(target: any, overrides: any, options: any): any;
|
|
101
|
+
export function makeObservable(target: any, annotations: any, options: any): any;
|
|
102
|
+
export var observable: typeof createObservable & {
|
|
103
|
+
box: (value: any, options: any) => any;
|
|
104
|
+
array: (initialValues: any, options: any) => any;
|
|
105
|
+
map: (initialValues: any, options: any) => any;
|
|
106
|
+
set: (initialValues: any, options: any) => any;
|
|
107
|
+
object: (props: any, decorators: any, options: any) => any;
|
|
108
|
+
ref: any;
|
|
109
|
+
shallow: any;
|
|
110
|
+
deep: any;
|
|
111
|
+
struct: any;
|
|
112
|
+
};
|
|
113
|
+
export function observe(thing: any, propOrCb: any, cbOrFire: any, fireImmediately: any): any;
|
|
114
|
+
export function onBecomeObserved(thing: any, arg2: any, arg3: any): () => void;
|
|
115
|
+
export function onBecomeUnobserved(thing: any, arg2: any, arg3: any): () => void;
|
|
116
|
+
export function onReactionError(handler: any): () => void;
|
|
117
|
+
export var override: any;
|
|
118
|
+
declare function apiOwnKeys(obj: any): any;
|
|
119
|
+
export function reaction(expression: any, effect: any, opts: any): any;
|
|
120
|
+
export function remove(obj: any, key: any): void;
|
|
121
|
+
export function set(obj: any, key: any, value: any, ...args: any[]): void;
|
|
122
|
+
export function spy(listener: any): (...args: any[]) => any;
|
|
123
|
+
/**
|
|
124
|
+
* Recursively converts an observable to it's non-observable native counterpart.
|
|
125
|
+
* It does NOT recurse into non-observables, these are left as they are, even if they contain observables.
|
|
126
|
+
* Computed and other non-enumerable properties are completely ignored.
|
|
127
|
+
* Complex scenarios require custom solution, eg implementing `toJSON` or using `serializr` lib.
|
|
128
|
+
*/
|
|
129
|
+
export function toJS(source: any, options: any): any;
|
|
130
|
+
export function trace(...args: any[]): void;
|
|
131
|
+
/**
|
|
132
|
+
* During a transaction no views are updated until the end of the transaction.
|
|
133
|
+
* The transaction will be run synchronously nonetheless.
|
|
134
|
+
*
|
|
135
|
+
* @param action a function that updates some reactive state
|
|
136
|
+
* @returns any value that was returned by the 'action' parameter.
|
|
137
|
+
*/
|
|
138
|
+
export function transaction(action: any, thisArg: any): any;
|
|
139
|
+
export function untracked(action: any): any;
|
|
140
|
+
export function values(obj: any): any;
|
|
141
|
+
export function when(predicate: any, arg1: any, arg2: any, ...args: any[]): any;
|
|
142
|
+
declare function identityComparer(a: any, b: any): boolean;
|
|
143
|
+
declare function structuralComparer(a: any, b: any): boolean;
|
|
144
|
+
declare function defaultComparer(a: any, b: any): boolean;
|
|
145
|
+
declare function shallowComparer(a: any, b: any): boolean;
|
|
146
|
+
declare function make_$2(adm: any, key: any, descriptor: any, source: any): 0 | 1 | 2;
|
|
147
|
+
declare function extend_$2(adm: any, key: any, descriptor: any, proxyTrap: any): any;
|
|
148
|
+
declare function decorate_20223_$2(mthd: any, context: any): any;
|
|
149
|
+
/**
|
|
150
|
+
* Turns an object, array or function into a reactive structure.
|
|
151
|
+
* @param v the value which should become observable.
|
|
152
|
+
*/
|
|
153
|
+
declare function createObservable(v: any, arg2: any, arg3: any): any;
|
|
154
|
+
export { allowStateChanges as _allowStateChanges, runInAction as _allowStateChangesInsideComputed, allowStateReadsEnd as _allowStateReadsEnd, allowStateReadsStart as _allowStateReadsStart, autoAction as _autoAction, getAdministration as _getAdministration, getGlobalState as _getGlobalState, interceptReads as _interceptReads, isComputingDerivation as _isComputingDerivation, resetGlobalState as _resetGlobalState, apiDefineProperty as defineProperty, isObservableValue as isBoxedObservable, apiOwnKeys as ownKeys };
|