mates 0.2.3 → 0.3.0-beta.1
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/Directives/index.d.ts +1 -1
- package/dist/Directives/index.d.ts.map +1 -1
- package/dist/Directives/virtualHelpers.d.ts +8 -6
- package/dist/Directives/virtualHelpers.d.ts.map +1 -1
- package/dist/Fetch/Fetch.d.ts +48 -2
- package/dist/Fetch/Fetch.d.ts.map +1 -1
- package/dist/Mutables/atom/atom.d.ts.map +1 -1
- package/dist/Mutables/useStore/hostContext.d.ts.map +1 -1
- package/dist/TrackState/componentStatus.d.ts +0 -5
- package/dist/TrackState/componentStatus.d.ts.map +1 -1
- package/dist/TrackState/readTracking.d.ts.map +1 -1
- package/dist/css-in-js/index.d.ts +1 -1
- package/dist/css-in-js/index.d.ts.map +1 -1
- package/dist/css-in-js/stylesheet.d.ts +15 -0
- package/dist/css-in-js/stylesheet.d.ts.map +1 -1
- package/dist/index.d.ts +141 -105
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +39 -66
- package/dist/index.esm.js.map +1 -1
- package/dist/portals/index.d.ts +1 -1
- package/dist/portals/index.d.ts.map +1 -1
- package/dist/portals/popup.d.ts +47 -8
- package/dist/portals/popup.d.ts.map +1 -1
- package/dist/virtualizer/Virtualizer.d.ts +3 -2
- package/dist/virtualizer/Virtualizer.d.ts.map +1 -1
- package/dist/virtualizer/index.d.ts +1 -1
- package/dist/virtualizer/index.d.ts.map +1 -1
- package/dist/virtualizer/layouts/shared/BaseLayout.d.ts +8 -0
- package/dist/virtualizer/layouts/shared/BaseLayout.d.ts.map +1 -1
- package/dist/virtualizer/mates-adapter.d.ts +36 -88
- package/dist/virtualizer/mates-adapter.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/virtualizer/LitVirtualizer.d.ts +0 -62
- package/dist/virtualizer/LitVirtualizer.d.ts.map +0 -1
- package/dist/virtualizer/layouts/flexWrap.d.ts +0 -65
- package/dist/virtualizer/layouts/flexWrap.d.ts.map +0 -1
- package/dist/virtualizer/layouts/grid.d.ts +0 -25
- package/dist/virtualizer/layouts/grid.d.ts.map +0 -1
- package/dist/virtualizer/lit-virtualizer.d.ts +0 -23
- package/dist/virtualizer/lit-virtualizer.d.ts.map +0 -1
|
@@ -14,5 +14,5 @@ export { type OnParentMap, onParent } from "./onParentDirective";
|
|
|
14
14
|
export { renderSwitch, type SwitchCase, type SwitchEntry, } from "./renderSwitch";
|
|
15
15
|
export { removeStyle, type StyleMap, type StyleValue, style, } from "./styleDirective";
|
|
16
16
|
export { type TimerContent, timer } from "./timerDirective";
|
|
17
|
-
export { type
|
|
17
|
+
export { type VirtualListOptions, type VirtualMasonryOptions, virtualList, virtualMasonry, } from "./virtualHelpers";
|
|
18
18
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/Directives/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,KAAK,WAAW,EAAE,MAAM,KAAK,CAAC;AAC1C,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,UAAU,EACV,SAAS,GACV,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,SAAS,EACd,IAAI,EACJ,UAAU,GACX,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,KAAK,UAAU,EACf,KAAK,YAAY,EACjB,OAAO,EACP,aAAa,GACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAChF,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,QAAQ,GACT,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,QAAQ,E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AgB,CAAC;AACxB,OAAO,EACL,WAAW,EACX,KAAK,QAAQ,EACb,KAAK,UAAU,EACf,KAAK,GACN,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,WAAW,EACX,cAAc,GACf,MAAM,kBAAkB,CAAC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Virtual scrolling helpers
|
|
3
|
-
* engine (see lib/virtualizer).
|
|
2
|
+
* Virtual scrolling helpers backed by the virtualizer engine.
|
|
4
3
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* - `virtualList` — virtualised vertical (or horizontal) list.
|
|
5
|
+
* No itemHeight required — heights are measured via
|
|
6
|
+
* ResizeObserver. Responds to dynamic item counts and
|
|
7
|
+
* container size changes automatically.
|
|
8
|
+
*
|
|
9
|
+
* - `virtualMasonry` — virtualised masonry grid with variable item heights.
|
|
8
10
|
*/
|
|
9
|
-
export { type
|
|
11
|
+
export { type VirtualItemTemplate, type VirtualKeyFn, type VirtualListOptions, type VirtualMasonryOptions, virtualList, virtualMasonry, } from "../virtualizer/mates-adapter.js";
|
|
10
12
|
//# sourceMappingURL=virtualHelpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"virtualHelpers.d.ts","sourceRoot":"","sources":["../../lib/Directives/virtualHelpers.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"virtualHelpers.d.ts","sourceRoot":"","sources":["../../lib/Directives/virtualHelpers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,WAAW,EACX,cAAc,GACf,MAAM,iCAAiC,CAAC"}
|
package/dist/Fetch/Fetch.d.ts
CHANGED
|
@@ -46,8 +46,11 @@ export type FetchInput = string | FetchRequest;
|
|
|
46
46
|
export type BeforeInterceptor = (url: string, options: RequestInit) => {
|
|
47
47
|
url: string;
|
|
48
48
|
options: RequestInit;
|
|
49
|
-
}
|
|
50
|
-
|
|
49
|
+
} | Promise<{
|
|
50
|
+
url: string;
|
|
51
|
+
options: RequestInit;
|
|
52
|
+
}>;
|
|
53
|
+
export type AfterInterceptor = (response: Response) => Response | Promise<Response>;
|
|
51
54
|
export type ErrorInterceptor = (error: Error) => void;
|
|
52
55
|
/** Build the final URL from a FetchRequest. */
|
|
53
56
|
export declare function buildRequestUrl(request: FetchRequest): string;
|
|
@@ -153,6 +156,49 @@ export declare class FetchClient {
|
|
|
153
156
|
deleteAction<T = unknown>(config?: FetchActionConfig): AsyncActionReturnType<(params?: Record<string, any>) => Promise<T>>;
|
|
154
157
|
}
|
|
155
158
|
export declare const fetchClient: FetchClient;
|
|
159
|
+
/**
|
|
160
|
+
* Run a raw fetch through the global interceptor chain.
|
|
161
|
+
*
|
|
162
|
+
* Used by `__callServerFn` in mates-ssr so that server function calls
|
|
163
|
+
* respect the same `interceptBefore` / `interceptAfter` / `interceptError`
|
|
164
|
+
* hooks as regular FetchClient calls.
|
|
165
|
+
*
|
|
166
|
+
* @internal — also useful for advanced custom fetch wrappers.
|
|
167
|
+
*/
|
|
168
|
+
export declare function runWithGlobalInterceptors(url: string, options: RequestInit): Promise<Response>;
|
|
169
|
+
/**
|
|
170
|
+
* Create a before-interceptor that adds an `Authorization` header.
|
|
171
|
+
* The token can be a static string or an async function that returns one —
|
|
172
|
+
* useful for reading from storage or refreshing an OAuth token on-the-fly.
|
|
173
|
+
*
|
|
174
|
+
* @example
|
|
175
|
+
* // Static token
|
|
176
|
+
* interceptBefore(withAuth("Bearer my-static-token"));
|
|
177
|
+
*
|
|
178
|
+
* @example
|
|
179
|
+
* // Dynamic token from async storage
|
|
180
|
+
* interceptBefore(withAuth(async () => `Bearer ${await getToken()}`));
|
|
181
|
+
*/
|
|
182
|
+
export declare function withAuth(getToken: string | (() => string | Promise<string>)): BeforeInterceptor;
|
|
183
|
+
/**
|
|
184
|
+
* Create a before-interceptor that prepends a base URL to relative paths.
|
|
185
|
+
* Absolute URLs (starting with `http`) are passed through unchanged.
|
|
186
|
+
*
|
|
187
|
+
* @example
|
|
188
|
+
* interceptBefore(withBaseUrl("https://api.example.com"));
|
|
189
|
+
*/
|
|
190
|
+
export declare function withBaseUrl(baseUrl: string): BeforeInterceptor;
|
|
191
|
+
/**
|
|
192
|
+
* Create an after-interceptor that logs every response.
|
|
193
|
+
* Pass a custom logging function or leave it as `console.log`.
|
|
194
|
+
*
|
|
195
|
+
* @example
|
|
196
|
+
* interceptAfter(withLogging());
|
|
197
|
+
*
|
|
198
|
+
* @example
|
|
199
|
+
* interceptAfter(withLogging((msg) => myLogger.info(msg)));
|
|
200
|
+
*/
|
|
201
|
+
export declare function withLogging(log?: (msg: string) => void): AfterInterceptor;
|
|
156
202
|
export declare const Fetch: <T = any>(request: FetchInput) => ZeroPromise<T>;
|
|
157
203
|
export declare const Get: <T = any>(request: FetchInput) => ZeroPromise<T>;
|
|
158
204
|
export declare const Post: <T = any>(request: FetchInput) => ZeroPromise<T>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Fetch.d.ts","sourceRoot":"","sources":["../../lib/Fetch/Fetch.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,qBAAqB,EACrB,iBAAiB,EAClB,MAAM,6BAA6B,CAAC;AAIrC,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAKlD,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAInE,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,GAAG;IACrD;;;;;;;;;;;;;OAaG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;I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G;IAC3C,IAAI,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,KAAK,IAAI,IAAI,CAAC;IACd,MAAM,IAAI,IAAI,CAAC;IACf,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,SAAS,CAAC,CAAC,EACzB,OAAO,EAAE,CAAC,EACV,OAAO,GAAE,gBAAqB,GAC7B,aAAa,CAAC,CAAC,CAAC,CAwFlB;AA4BD,OAAO,EAAE,UAAU,IAAI,EAAE,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hostContext.d.ts","sourceRoot":"","sources":["../../../lib/Mutables/useStore/hostContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"hostContext.d.ts","sourceRoot":"","sources":["../../../lib/Mutables/useStore/hostContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAM5D,wBAAgB,QAAQ,CAAC,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,OAS5E;AAED;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,UAAU,CAAC,EAAE,OAAO,GAAG,WAAW,GAAG,IAAI,CASvE"}
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Global component running status tracker.
|
|
3
|
-
* Used to enforce safety checks and prevent certain operations during specific
|
|
4
|
-
* execution contexts.
|
|
5
|
-
*/
|
|
6
1
|
export declare const componentRunningStatus: {
|
|
7
2
|
/**
|
|
8
3
|
* Set to true while a scope's setup() method is running.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"componentStatus.d.ts","sourceRoot":"","sources":["../../lib/TrackState/componentStatus.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"componentStatus.d.ts","sourceRoot":"","sources":["../../lib/TrackState/componentStatus.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,sBAAsB,EAAgC;IACjE;;;;;;;;;;;OAWG;IACH,eAAe,EAAE,OAAO,CAAC;IAEzB;;;;;;;OAOG;IACH,kBAAkB,EAAE,OAAO,CAAC;IAE5B;;;;OAIG;IACH,mBAAmB,EAAE,OAAO,CAAC;IAE7B;;;;OAIG;IACH,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,qBAAqB,IAAI,OAAO,CAG/C;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,4BAA4B,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAiBxE;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,2BAA2B,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAsBvE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readTracking.d.ts","sourceRoot":"","sources":["../../lib/TrackState/readTracking.ts"],"names":[],"mappings":"AAAA;;;;GAIG;
|
|
1
|
+
{"version":3,"file":"readTracking.d.ts","sourceRoot":"","sources":["../../lib/TrackState/readTracking.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAkBH,wBAAgB,qBAAqB,IAAI,OAAO,CAE/C;AAED,wBAAgB,kBAAkB,IAAI,GAAG,CAAC,GAAG,CAAC,CAE7C;AAED,wBAAgB,eAAe,IAAI,OAAO,CAEzC;AAID,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,GAAG,QAE3C;AAED,wBAAgB,UAAU,SAEzB;AAED,wBAAgB,SAAS,SAExB;AAID,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC;CACtB;AAED,wBAAgB,qBAAqB,IAAI,gBAAgB,CAQxD;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,gBAAgB,GAAG,GAAG,CAAC,GAAG,CAAC,CAKhE;AAID,eAAO,MAAM,aAAa,8BAAwB,CAAC;AACnD,eAAO,MAAM,YAAY,wBAAkB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type { Cl } from "./cl";
|
|
2
2
|
export type { CSSBlock, CSSNestedBlock, CSSRulesInput, SerializeOptions, } from "./serialize";
|
|
3
3
|
export type { CSSKeyframeStops } from "./stylesheet";
|
|
4
|
-
export { configureCSS, globalCSS, keyframes, stylesheet } from "./stylesheet";
|
|
4
|
+
export { collectSSRStyles, configureCSS, globalCSS, keyframes, stylesheet, } from "./stylesheet";
|
|
5
5
|
export type { CssVars, GlobalThemeResult, ThemeMode, ThemesInput, ThemeTokenMap, } from "./theme";
|
|
6
6
|
export { globalTheme, rootCSS } from "./theme";
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/css-in-js/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC/B,YAAY,EACV,QAAQ,EACR,cAAc,EACd,aAAa,EACb,gBAAgB,GACjB,MAAM,aAAa,CAAC;AACrB,YAAY,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/css-in-js/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC/B,YAAY,EACV,QAAQ,EACR,cAAc,EACd,aAAa,EACb,gBAAgB,GACjB,MAAM,aAAa,CAAC;AACrB,YAAY,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EACL,gBAAgB,EAChB,YAAY,EACZ,SAAS,EACT,SAAS,EACT,UAAU,GACX,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,OAAO,EACP,iBAAiB,EACjB,SAAS,EACT,WAAW,EACX,aAAa,GACd,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -8,6 +8,14 @@ import type { Cl, CSSRulesInput } from "./cl";
|
|
|
8
8
|
* Keys are `"from"`, `"to"`, or percentage strings like `"0%"`, `"50%"`.
|
|
9
9
|
*/
|
|
10
10
|
export type CSSKeyframeStops = Record<string, CSS.Properties>;
|
|
11
|
+
/**
|
|
12
|
+
* Collect all CSS text from every registered stylesheet instance.
|
|
13
|
+
* Call this after rendering a page on the server to get the full CSS string
|
|
14
|
+
* to inline into the HTML <head> as `<style id="mates-ssr-styles">`.
|
|
15
|
+
*
|
|
16
|
+
* @returns A single CSS string (all instances joined with newlines), or "" if none.
|
|
17
|
+
*/
|
|
18
|
+
export declare function collectSSRStyles(): string;
|
|
11
19
|
/**
|
|
12
20
|
* A ref-counted, lazily-mounted CSS stylesheet.
|
|
13
21
|
*
|
|
@@ -20,6 +28,7 @@ export type CSSKeyframeStops = Record<string, CSS.Properties>;
|
|
|
20
28
|
*/
|
|
21
29
|
declare class StylesheetInstance {
|
|
22
30
|
#private;
|
|
31
|
+
constructor();
|
|
23
32
|
/**
|
|
24
33
|
* Register a `@keyframes` animation into this sheet.
|
|
25
34
|
*
|
|
@@ -64,6 +73,12 @@ declare class StylesheetInstance {
|
|
|
64
73
|
get cssText(): string;
|
|
65
74
|
get isMounted(): boolean;
|
|
66
75
|
get sheet(): CSSStyleSheet | null;
|
|
76
|
+
/**
|
|
77
|
+
* Returns all CSS text owned by this instance — both the already-flushed
|
|
78
|
+
* `#cssText` and any still-pending rules that haven't been committed to the
|
|
79
|
+
* CSSStyleSheet yet. Used by `collectSSRStyles()` during server-side rendering.
|
|
80
|
+
*/
|
|
81
|
+
getAllCSS(): string;
|
|
67
82
|
}
|
|
68
83
|
/**
|
|
69
84
|
* Create a per-component stylesheet.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stylesheet.d.ts","sourceRoot":"","sources":["../../lib/css-in-js/stylesheet.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,gBAAgB,EAAkB,MAAM,aAAa,CAAC;AAEpE,YAAY,EAAE,QAAQ,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,OAAO,KAAK,KAAK,GAAG,MAAM,SAAS,CAAC;AAIpC,OAAO,KAAK,EAAE,EAAE,EAAE,aAAa,EAAE,MAAM,MAAM,CAAC;AA8C9C;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"stylesheet.d.ts","sourceRoot":"","sources":["../../lib/css-in-js/stylesheet.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,gBAAgB,EAAkB,MAAM,aAAa,CAAC;AAEpE,YAAY,EAAE,QAAQ,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,OAAO,KAAK,KAAK,GAAG,MAAM,SAAS,CAAC;AAIpC,OAAO,KAAK,EAAE,EAAE,EAAE,aAAa,EAAE,MAAM,MAAM,CAAC;AA8C9C;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC;AA0C9D;;;;;;GAMG;AACH,wBAAgB,gBAAgB,IAAI,MAAM,CAOzC;AAID;;;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AE,CAAC,CAAC,CAAC,CAWP;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAI9C;AAID;;;;;;GAMG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAGvC;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,IAAI,IAAI,CAE3C"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1022,8 +1022,11 @@ type FetchInput = string | FetchRequest;
|
|
|
1022
1022
|
type BeforeInterceptor = (url: string, options: RequestInit) => {
|
|
1023
1023
|
url: string;
|
|
1024
1024
|
options: RequestInit;
|
|
1025
|
-
}
|
|
1026
|
-
|
|
1025
|
+
} | Promise<{
|
|
1026
|
+
url: string;
|
|
1027
|
+
options: RequestInit;
|
|
1028
|
+
}>;
|
|
1029
|
+
type AfterInterceptor = (response: Response) => Response | Promise<Response>;
|
|
1027
1030
|
type ErrorInterceptor = (error: Error) => void;
|
|
1028
1031
|
/** Build the final URL from a FetchRequest. */
|
|
1029
1032
|
declare function buildRequestUrl(request: FetchRequest): string;
|
|
@@ -1129,6 +1132,49 @@ declare class FetchClient {
|
|
|
1129
1132
|
deleteAction<T = unknown>(config?: FetchActionConfig): AsyncActionReturnType<(params?: Record<string, any>) => Promise<T>>;
|
|
1130
1133
|
}
|
|
1131
1134
|
declare const fetchClient: FetchClient;
|
|
1135
|
+
/**
|
|
1136
|
+
* Run a raw fetch through the global interceptor chain.
|
|
1137
|
+
*
|
|
1138
|
+
* Used by `__callServerFn` in mates-ssr so that server function calls
|
|
1139
|
+
* respect the same `interceptBefore` / `interceptAfter` / `interceptError`
|
|
1140
|
+
* hooks as regular FetchClient calls.
|
|
1141
|
+
*
|
|
1142
|
+
* @internal — also useful for advanced custom fetch wrappers.
|
|
1143
|
+
*/
|
|
1144
|
+
declare function runWithGlobalInterceptors(url: string, options: RequestInit): Promise<Response>;
|
|
1145
|
+
/**
|
|
1146
|
+
* Create a before-interceptor that adds an `Authorization` header.
|
|
1147
|
+
* The token can be a static string or an async function that returns one —
|
|
1148
|
+
* useful for reading from storage or refreshing an OAuth token on-the-fly.
|
|
1149
|
+
*
|
|
1150
|
+
* @example
|
|
1151
|
+
* // Static token
|
|
1152
|
+
* interceptBefore(withAuth("Bearer my-static-token"));
|
|
1153
|
+
*
|
|
1154
|
+
* @example
|
|
1155
|
+
* // Dynamic token from async storage
|
|
1156
|
+
* interceptBefore(withAuth(async () => `Bearer ${await getToken()}`));
|
|
1157
|
+
*/
|
|
1158
|
+
declare function withAuth(getToken: string | (() => string | Promise<string>)): BeforeInterceptor;
|
|
1159
|
+
/**
|
|
1160
|
+
* Create a before-interceptor that prepends a base URL to relative paths.
|
|
1161
|
+
* Absolute URLs (starting with `http`) are passed through unchanged.
|
|
1162
|
+
*
|
|
1163
|
+
* @example
|
|
1164
|
+
* interceptBefore(withBaseUrl("https://api.example.com"));
|
|
1165
|
+
*/
|
|
1166
|
+
declare function withBaseUrl(baseUrl: string): BeforeInterceptor;
|
|
1167
|
+
/**
|
|
1168
|
+
* Create an after-interceptor that logs every response.
|
|
1169
|
+
* Pass a custom logging function or leave it as `console.log`.
|
|
1170
|
+
*
|
|
1171
|
+
* @example
|
|
1172
|
+
* interceptAfter(withLogging());
|
|
1173
|
+
*
|
|
1174
|
+
* @example
|
|
1175
|
+
* interceptAfter(withLogging((msg) => myLogger.info(msg)));
|
|
1176
|
+
*/
|
|
1177
|
+
declare function withLogging(log?: (msg: string) => void): AfterInterceptor;
|
|
1132
1178
|
declare const Fetch: <T = any>(request: FetchInput) => ZeroPromise<T>;
|
|
1133
1179
|
declare const Get: <T = any>(request: FetchInput) => ZeroPromise<T>;
|
|
1134
1180
|
declare const Post: <T = any>(request: FetchInput) => ZeroPromise<T>;
|
|
@@ -1248,6 +1294,14 @@ type Cl<R extends CSSRulesInput> = {
|
|
|
1248
1294
|
* Keys are `"from"`, `"to"`, or percentage strings like `"0%"`, `"50%"`.
|
|
1249
1295
|
*/
|
|
1250
1296
|
type CSSKeyframeStops = Record<string, CSS.Properties>;
|
|
1297
|
+
/**
|
|
1298
|
+
* Collect all CSS text from every registered stylesheet instance.
|
|
1299
|
+
* Call this after rendering a page on the server to get the full CSS string
|
|
1300
|
+
* to inline into the HTML <head> as `<style id="mates-ssr-styles">`.
|
|
1301
|
+
*
|
|
1302
|
+
* @returns A single CSS string (all instances joined with newlines), or "" if none.
|
|
1303
|
+
*/
|
|
1304
|
+
declare function collectSSRStyles(): string;
|
|
1251
1305
|
/**
|
|
1252
1306
|
* Create a per-component stylesheet.
|
|
1253
1307
|
*
|
|
@@ -3063,23 +3117,19 @@ type TimerContent = () => unknown;
|
|
|
3063
3117
|
declare function timer(callback: TimerContent, ms: number): lit_html_directive.DirectiveResult<lit_html_directive.DirectiveClass>;
|
|
3064
3118
|
|
|
3065
3119
|
/**
|
|
3066
|
-
*
|
|
3067
|
-
* Copyright 2021 Google LLC
|
|
3068
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3120
|
+
* Mates adapter for the virtualizer engine.
|
|
3069
3121
|
*
|
|
3070
|
-
*
|
|
3122
|
+
* Exposes two helpers:
|
|
3123
|
+
* - `virtualList` — virtualised vertical list, drop-in for `repeat`.
|
|
3124
|
+
* Supports dynamic item heights, dynamic container sizes,
|
|
3125
|
+
* and dynamic item counts via ResizeObserver measurement.
|
|
3126
|
+
* - `virtualMasonry` — virtualised masonry grid with variable item heights.
|
|
3071
3127
|
*
|
|
3072
|
-
*
|
|
3073
|
-
* friendly API that mates users already know — but now backed by the
|
|
3074
|
-
* battle-tested lit virtualizer engine.
|
|
3128
|
+
* Both are used directly in lit-html templates:
|
|
3075
3129
|
*
|
|
3076
|
-
*
|
|
3077
|
-
*
|
|
3078
|
-
*
|
|
3079
|
-
* like the browser's native flow layout. Items can be any height and
|
|
3080
|
-
* can change height dynamically.
|
|
3081
|
-
* - `virtualGrid` and `virtualMasonry` still accept explicit sizes since
|
|
3082
|
-
* the grid/masonry layouts need them for position pre-computation.
|
|
3130
|
+
* html`<div style="height:600px;overflow:auto">
|
|
3131
|
+
* ${virtualList(items, (item) => html`<div>${item.name}</div>`)}
|
|
3132
|
+
* </div>`
|
|
3083
3133
|
*/
|
|
3084
3134
|
|
|
3085
3135
|
type VirtualItemTemplate<T> = (item: T, index: number) => TemplateResult;
|
|
@@ -3091,7 +3141,7 @@ interface VirtualListOptions {
|
|
|
3091
3141
|
direction?: "vertical" | "horizontal";
|
|
3092
3142
|
/**
|
|
3093
3143
|
* If true the virtualizer element itself becomes the scroller.
|
|
3094
|
-
*
|
|
3144
|
+
* Give it an explicit height/width via CSS when using this.
|
|
3095
3145
|
*/
|
|
3096
3146
|
scroller?: boolean;
|
|
3097
3147
|
/**
|
|
@@ -3104,16 +3154,15 @@ interface VirtualListOptions {
|
|
|
3104
3154
|
};
|
|
3105
3155
|
}
|
|
3106
3156
|
/**
|
|
3107
|
-
* `virtualList` — virtualised
|
|
3108
|
-
* FlowLayout.
|
|
3157
|
+
* `virtualList` — virtualised list backed by the FlowLayout engine.
|
|
3109
3158
|
*
|
|
3110
|
-
*
|
|
3111
|
-
*
|
|
3112
|
-
*
|
|
3113
|
-
*
|
|
3159
|
+
* **No `itemHeight` required.** Each item is measured by a ResizeObserver
|
|
3160
|
+
* after it renders, so items can have any height — fixed, dynamic, or
|
|
3161
|
+
* content-driven — and the virtualizer adapts automatically. Also responds
|
|
3162
|
+
* to container size changes and item count changes in real time.
|
|
3114
3163
|
*
|
|
3115
|
-
* The parent element of the expression becomes the scroll container.
|
|
3116
|
-
* a fixed height via CSS or inline style.
|
|
3164
|
+
* The parent element of the expression becomes the scroll container.
|
|
3165
|
+
* Give it a fixed height via CSS or inline style.
|
|
3117
3166
|
*
|
|
3118
3167
|
* @example
|
|
3119
3168
|
* ```ts
|
|
@@ -3140,76 +3189,30 @@ interface VirtualListOptions {
|
|
|
3140
3189
|
* { direction: 'horizontal' },
|
|
3141
3190
|
* )}
|
|
3142
3191
|
* </div>`
|
|
3143
|
-
* ```
|
|
3144
|
-
*/
|
|
3145
|
-
declare function virtualList<T>(items: readonly T[], template: VirtualItemTemplate<T>, options?: VirtualListOptions): unknown;
|
|
3146
|
-
declare function virtualList<T>(items: readonly T[], keyFn: VirtualKeyFn<T>, template: VirtualItemTemplate<T>, options?: VirtualListOptions): unknown;
|
|
3147
|
-
interface VirtualGridOptions {
|
|
3148
|
-
/**
|
|
3149
|
-
* Item width in CSS pixel string, e.g. `'200px'`. Required.
|
|
3150
|
-
*/
|
|
3151
|
-
itemWidth: `${number}px`;
|
|
3152
|
-
/**
|
|
3153
|
-
* Item height in CSS pixel string, e.g. `'200px'`. Required.
|
|
3154
|
-
*/
|
|
3155
|
-
itemHeight: `${number}px`;
|
|
3156
|
-
/**
|
|
3157
|
-
* Gap between cells. Accepts any value supported by the grid layout,
|
|
3158
|
-
* e.g. `'12px'`, `'12px 8px'`. Defaults to `'8px'`.
|
|
3159
|
-
*/
|
|
3160
|
-
gap?: `${number}px` | `${number}px ${number}px`;
|
|
3161
|
-
/**
|
|
3162
|
-
* Scrolling direction. Defaults to `'vertical'`.
|
|
3163
|
-
*/
|
|
3164
|
-
direction?: "vertical" | "horizontal";
|
|
3165
|
-
/**
|
|
3166
|
-
* If true the virtualizer element itself becomes the scroller.
|
|
3167
|
-
*/
|
|
3168
|
-
scroller?: boolean;
|
|
3169
|
-
/**
|
|
3170
|
-
* Whether to flex items to fill available space. Defaults to `false`.
|
|
3171
|
-
* Set to `true` to let the grid decide how many columns fit.
|
|
3172
|
-
*/
|
|
3173
|
-
flex?: boolean;
|
|
3174
|
-
/**
|
|
3175
|
-
* Pin a specific item into view on first render.
|
|
3176
|
-
*/
|
|
3177
|
-
pin?: {
|
|
3178
|
-
index: number;
|
|
3179
|
-
block?: ScrollLogicalPosition;
|
|
3180
|
-
};
|
|
3181
|
-
}
|
|
3182
|
-
/**
|
|
3183
|
-
* `virtualGrid` — virtualised uniform multi-column grid.
|
|
3184
3192
|
*
|
|
3185
|
-
*
|
|
3186
|
-
*
|
|
3187
|
-
*
|
|
3188
|
-
*
|
|
3189
|
-
*
|
|
3190
|
-
*
|
|
3191
|
-
* ${virtualGrid(
|
|
3192
|
-
* photos,
|
|
3193
|
-
* (p) => p.id,
|
|
3194
|
-
* (p) => html`<img src=${p.url} style="width:100%;height:100%;object-fit:cover" />`,
|
|
3195
|
-
* { itemWidth: '220px', itemHeight: '220px', gap: '12px' },
|
|
3193
|
+
* // Self-scrolling container (virtualizer is its own scroller)
|
|
3194
|
+
* html`<div>
|
|
3195
|
+
* ${virtualList(
|
|
3196
|
+
* items,
|
|
3197
|
+
* (item) => html`<div>${item.name}</div>`,
|
|
3198
|
+
* { scroller: true },
|
|
3196
3199
|
* )}
|
|
3197
3200
|
* </div>`
|
|
3198
3201
|
* ```
|
|
3199
3202
|
*/
|
|
3200
|
-
declare function
|
|
3201
|
-
declare function
|
|
3203
|
+
declare function virtualList<T>(items: readonly T[], template: VirtualItemTemplate<T>, options?: VirtualListOptions): unknown;
|
|
3204
|
+
declare function virtualList<T>(items: readonly T[], keyFn: VirtualKeyFn<T>, template: VirtualItemTemplate<T>, options?: VirtualListOptions): unknown;
|
|
3202
3205
|
interface VirtualMasonryOptions {
|
|
3203
3206
|
/**
|
|
3204
3207
|
* A function that returns the aspect ratio (width / height) of each item.
|
|
3205
|
-
*
|
|
3206
|
-
*
|
|
3208
|
+
* Used by the masonry layout to compute item heights from the column width.
|
|
3209
|
+
* Required.
|
|
3207
3210
|
*/
|
|
3208
3211
|
getAspectRatio: (item: unknown) => number;
|
|
3209
3212
|
/**
|
|
3210
|
-
*
|
|
3211
|
-
*
|
|
3212
|
-
*
|
|
3213
|
+
* Column width as a CSS pixel string, e.g. `'300px'`.
|
|
3214
|
+
* Height is derived from the aspect ratio.
|
|
3215
|
+
* Defaults to `'300px'`.
|
|
3213
3216
|
*/
|
|
3214
3217
|
itemSize?: `${number}px` | "0";
|
|
3215
3218
|
/**
|
|
@@ -3235,10 +3238,9 @@ interface VirtualMasonryOptions {
|
|
|
3235
3238
|
/**
|
|
3236
3239
|
* `virtualMasonry` — virtualised masonry grid with variable item heights.
|
|
3237
3240
|
*
|
|
3238
|
-
*
|
|
3239
|
-
*
|
|
3240
|
-
*
|
|
3241
|
-
* column width.
|
|
3241
|
+
* Items are placed into the shortest column (greedy algorithm). Provide
|
|
3242
|
+
* `getAspectRatio` so the layout can derive each item's height from its
|
|
3243
|
+
* column width without measuring.
|
|
3242
3244
|
*
|
|
3243
3245
|
* @example
|
|
3244
3246
|
* ```ts
|
|
@@ -3251,8 +3253,8 @@ interface VirtualMasonryOptions {
|
|
|
3251
3253
|
* style="width:100%;height:100%;object-fit:cover;border-radius:8px" />
|
|
3252
3254
|
* `,
|
|
3253
3255
|
* {
|
|
3254
|
-
* getAspectRatio: (p) => p.width / p.height,
|
|
3255
|
-
*
|
|
3256
|
+
* getAspectRatio: (p) => (p as Photo).width / (p as Photo).height,
|
|
3257
|
+
* itemSize: '220px',
|
|
3256
3258
|
* gap: '12px',
|
|
3257
3259
|
* },
|
|
3258
3260
|
* )}
|
|
@@ -5030,6 +5032,15 @@ interface DialogOptions {
|
|
|
5030
5032
|
*/
|
|
5031
5033
|
declare function dialog(content: TemplateResult, options?: DialogOptions): DirectiveResult;
|
|
5032
5034
|
|
|
5035
|
+
/**
|
|
5036
|
+
* A readable boolean atom — any callable that returns a boolean and also
|
|
5037
|
+
* exposes a `get()` method (compatible with mates `atom(false)`).
|
|
5038
|
+
* Used by the `open` option of `popup()` to drive controlled mode.
|
|
5039
|
+
*/
|
|
5040
|
+
interface PopupOpenAtom {
|
|
5041
|
+
(): boolean;
|
|
5042
|
+
get(): boolean;
|
|
5043
|
+
}
|
|
5033
5044
|
type PopupPlacement = "auto" | "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
|
|
5034
5045
|
interface PopupOptions {
|
|
5035
5046
|
/** default "bottom-start" */
|
|
@@ -5049,19 +5060,49 @@ interface PopupOptions {
|
|
|
5049
5060
|
* Receives the anchor element — typical use is `anchor.focus()`.
|
|
5050
5061
|
*/
|
|
5051
5062
|
onClose?: (anchor: HTMLElement) => void;
|
|
5063
|
+
/**
|
|
5064
|
+
* **Controlled mode** — pass a boolean atom to take full control of
|
|
5065
|
+
* open/close state. When provided:
|
|
5066
|
+
* - No `click` listener is attached to the anchor element.
|
|
5067
|
+
* - The panel opens when `open()` becomes `true` and closes when it
|
|
5068
|
+
* becomes `false` (evaluated on every render update).
|
|
5069
|
+
* - Outside-click and Escape are **not** wired automatically; the caller
|
|
5070
|
+
* is responsible for setting the atom to `false` when appropriate.
|
|
5071
|
+
*
|
|
5072
|
+
* @example
|
|
5073
|
+
* const isOpen = atom(false);
|
|
5074
|
+
* html`<div ${popup(listEl, { open: isOpen, position: "bottom-start" })}>
|
|
5075
|
+
* <input @focusin=${() => isOpen.set(true)}
|
|
5076
|
+
* @focusout=${() => isOpen.set(false)} />
|
|
5077
|
+
* </div>`
|
|
5078
|
+
*/
|
|
5079
|
+
open?: PopupOpenAtom;
|
|
5052
5080
|
}
|
|
5053
5081
|
/**
|
|
5054
|
-
* `popup(content,
|
|
5055
|
-
* floating panel to any element.
|
|
5082
|
+
* `popup(content, options?)` — attach an anchored floating panel to any element.
|
|
5056
5083
|
*
|
|
5057
|
-
*
|
|
5058
|
-
*
|
|
5059
|
-
* outside or pressing Escape closes it. Repositions on scroll and resize.
|
|
5060
|
-
* Optional `onOpen` / `onClose` run when the panel opens or closes (e.g. focus management).
|
|
5084
|
+
* **Toggle mode** (default) — clicking the anchor opens/closes the panel.
|
|
5085
|
+
* Outside-click and Escape close it automatically.
|
|
5061
5086
|
*
|
|
5062
|
-
*
|
|
5087
|
+
* **Controlled mode** — pass `options.open` with a boolean atom to take full
|
|
5088
|
+
* control. No click listener is attached; the panel opens/closes whenever
|
|
5089
|
+
* the atom value changes. Outside-click and Escape are NOT wired automatically —
|
|
5090
|
+
* the caller is responsible for setting the atom to `false`.
|
|
5091
|
+
*
|
|
5092
|
+
* Pure `position:fixed` — no Popover API, no portal wrapper needed.
|
|
5093
|
+
* Repositions on scroll and resize.
|
|
5094
|
+
*
|
|
5095
|
+
* @example — toggle (default)
|
|
5063
5096
|
* html`<button ${popup(html`<ul>...</ul>`, "bottom-start")}>Menu ▾</button>`
|
|
5064
|
-
*
|
|
5097
|
+
*
|
|
5098
|
+
* @example — controlled (combo-box / autocomplete)
|
|
5099
|
+
* const isOpen = atom(false);
|
|
5100
|
+
* html`
|
|
5101
|
+
* <div ${popup(listEl, { open: isOpen, position: "bottom-start", matchAnchorWidth: true })}>
|
|
5102
|
+
* <input @focusin=${() => isOpen.set(true)}
|
|
5103
|
+
* @focusout=${() => isOpen.set(false)} />
|
|
5104
|
+
* </div>
|
|
5105
|
+
* `
|
|
5065
5106
|
*/
|
|
5066
5107
|
declare function popup(content: TemplateResult, positionOrOptions?: PopupPlacement | PopupOptions): DirectiveResult;
|
|
5067
5108
|
|
|
@@ -5633,11 +5674,6 @@ type TimerId = ReturnType<typeof setTimeout> | ReturnType<typeof setInterval>;
|
|
|
5633
5674
|
*/
|
|
5634
5675
|
declare const createManagedTimer: (fn: () => void, delay: number, type: TimerType) => TimerId;
|
|
5635
5676
|
|
|
5636
|
-
/**
|
|
5637
|
-
* Global component running status tracker.
|
|
5638
|
-
* Used to enforce safety checks and prevent certain operations during specific
|
|
5639
|
-
* execution contexts.
|
|
5640
|
-
*/
|
|
5641
5677
|
declare const componentRunningStatus: {
|
|
5642
5678
|
/**
|
|
5643
5679
|
* Set to true while a scope's setup() method is running.
|
|
@@ -6053,5 +6089,5 @@ declare function getMonths(locale?: string): MonthInfo[];
|
|
|
6053
6089
|
*/
|
|
6054
6090
|
declare function getCalendar(year: number, month: number): MatesDate[][];
|
|
6055
6091
|
|
|
6056
|
-
export { $, Component$1 as ComponentElement, Context, Delete, ErrorTypes, Fetch, FetchClient, Get, MA, NotificationManager, Patch, Post, Put, Router, SyncNotificationManager, ZeroPromise, _, _subToView, action, addStoreBeingRead, animatedIf, animatedRouter, animatedX, range as arrayRange, assertComponentOuterContext, assertNotInRestrictedContext, asyncAction, atom, attr, blurInPreset, blurOutPreset, bouncePreset, buildPath, buildRequestUrl, cacheAtom, createCacheManager as cacheFn, chunk, clamp, classes, cleanupScheduler, clearInterceptors, collapseWidthPreset, componentRunningStatus, computeAutoPlacement, configureCSS, createCacheManager, createManagedTimer, createPollingManager, createReactiveRunner, createTimedAtom, date, debounce, debouncedAtom, deepClone, deepFreeze, deleteAction, deepFreeze as df, dialog, effect, effectScheduler, eleHook, event, expandWidthPreset, fadeInPreset, fadeOutPreset, fetchAction, fetchClient, flipInPreset, flipOutPreset, formAtom, get, getAction, getAllProps, getAllTimezones, getCalendar, getCoords, getCurrentHost, getLocale, getMonths, getParentScope, getParentScope as getScope, getStoresBeingRead, getTimezoneOffset, globalCSS, globalScheduler, globalTheme, groupBy, hashAtom, htmlHook, iAtom, injectMatesAnimations, installDevToolsHooks, interceptAfter, interceptBefore, interceptError, isAction, isApiResponseSuccess, isAsyncAction, isAsyncFunction, isAsyncValue, isAtom, isChannel, isConfirmationEvent, isDefinedAsGetter, isDevToolsInstalled, isEffectRunning, isEmail, isEmpty, isEvent, isFunction, isGetter, isInRestrictedContext, isMax, isMin, isPathMatching, isPattern, isReadTrackingEnabled, isRequired, isSSR, isSetter, isUnit, iterateDeeply, keyframes, lazyLoad, location, lockNavigation, logError, lsAtom, mapAtom, masonryGrid, maxLength, memo, memoTemplate, merge, minLength, navigateTo, navigationLocked, omit, on, onAllMount, onBlur, onCleanup, onClickAway, onConnect, onCopy, onCut, onDOMReady, onDisconnect, onError, on$1 as onEvent, onFileDrop, onFocus, onHidden, onIntersect, onInterval, onKeyDown, onKeyUp, onMount, onNavigate, onOffline, onOnline, onPaint, onParent, onPaste, onReferenceChange, onResize, onScroll, onScrolledIntoView, onSelectionChange, onSocket, onStorageChange, onTimeout, onUpdate, onVisibilityChange, onVisible, onWindow, onWindowCapture, onWindowResize, onWindowScroll, paginatedAsyncAction, paginationAtom, patchAction, pathAtom, pick, placementTransform, popEffect, popup, portal, postAction, pulsePreset, pushEffect, putAction, qsAtom, uuid as randomId, ref, registerCleanup, removeAttr, removeClasses, removeOn, removeStyle, renderSwitch, renderTemplate, renderX, resetComponentState, resolveAsyncValue, restoreTracking, rootCSS, route, safeSVG, safetyCheck, saveAndEnableTracking, scaleInPreset, scaleOutPreset, scope, setAtom, setLocale, setRef, setSSRApiLookup, setSSRMode, setSSRRequest, setTimezone, setTimezoneOffset, setter, shakePreset, iAtom as signal, slideInPreset, slideOutPreset, spinPreset, springInPreset, ssAtom, startTracking, stopTracking, store, style, stylesheet, superAtom, taskAction, template, themeAtom, throttle, throttledAtom, timer, tip, titleAtom, tooltip, trackAndSubscribe, uniqBy, unlockNavigation, safeSVG as unsafeSVG, unwrapModule, useContext, scope as useScope, useState, useStore, uuid, validateAll, validateReactiveFunction, view,
|
|
6057
|
-
export type { ActionAfterInterceptor, ActionBeforeInterceptor, ActionFn, ActionReturnType, ActionSubscriber, AfterInterceptor, AnimateDirectiveConfig, AnimateKeyframes, AnimateOptions, AnimatedIfConfig, AnimatedRouteConfig, AnimatedRouterOptions, AnimatedXConfig, AnimationHandle, AnimationPreset, AsyncActionAfterInterceptor, AsyncActionBeforeInterceptor, AsyncActionOptions, AsyncActionReturnType, AsyncActionStatus, AtomConfig, AtomType, AttrMap, AttrValue, BeforeInterceptor, C, CSSBlock, CSSKeyframeStops, CSSNestedBlock, CSSRulesInput, CacheAtomType, CacheManager, Cl, ClassEntry, ClassesInput, ClosureComponent, Component, ComponentFn, ComponentType, ConnectCallback, CssVars, DateInput, DateUnit, DateValues, DevToolsHooks, DialogOptions, DisconnectCallback, DollarChain, EleHookLifecycle, EleHookMountFn, ElementTarget, ErrorInterceptor, ErrorType, EventType, FetchActionConfig, FetchBody, FetchRequest, FormAtom, GlobalThemeResult, HostElement, HtmlHookLifecycle, HtmlHookMountFn, HtmlHookRenderFn, IAtomType, InnerFn, IntersectCallback, IntersectOptions, IterateDeeplyCallback, LazyComponent, LazyLoadCallback, LazyLoadOptions, MasonryGridOptions, MasonryItemTemplate, MasonryKeyFn, MatesAnimationClass, MatesCustomEventMap, MatesDate, Measurements, MemoKeys, MemoTemplateFn, MonthInfo, OnEventMap, OnParentMap, OuterFn, PaginatedAsyncActionReturnType, PaginationAtomType, Placement, PollingManager, PopupOptions, PopupPlacement, PortalOptions, Props, PropsType, MatesRef as Ref, RenderFn, ScrolledIntoViewCallback, ScrolledIntoViewOptions, SerializeOptions, Setter, SetterReturnType, SlideDirection, StorageAtomType, StorageValue, StyleMap, StyleValue, Subscribable, SuperAtomOptions, SuperAtomType, SvgConfig, SwitchCase, SwitchEntry, Task, TaskActionType, TaskStatus, TemplateComponent, TemplateFn, ThemeAtomType, ThemeMode, ThemeTokenMap, ThemeValue, ThemesInput, TimerContent, TimezoneEntry, TipContent, TipStyle, TrackingSnapshot, UpdateCallback, ValidateAllResult, ValidatorFn, View, ViewComponent,
|
|
6092
|
+
export { $, Component$1 as ComponentElement, Context, Delete, ErrorTypes, Fetch, FetchClient, Get, MA, NotificationManager, Patch, Post, Put, Router, SyncNotificationManager, ZeroPromise, _, _subToView, action, addStoreBeingRead, animatedIf, animatedRouter, animatedX, range as arrayRange, assertComponentOuterContext, assertNotInRestrictedContext, asyncAction, atom, attr, blurInPreset, blurOutPreset, bouncePreset, buildPath, buildRequestUrl, cacheAtom, createCacheManager as cacheFn, chunk, clamp, classes, cleanupScheduler, clearInterceptors, collapseWidthPreset, collectSSRStyles, componentRunningStatus, computeAutoPlacement, configureCSS, createCacheManager, createManagedTimer, createPollingManager, createReactiveRunner, createTimedAtom, date, debounce, debouncedAtom, deepClone, deepFreeze, deleteAction, deepFreeze as df, dialog, effect, effectScheduler, eleHook, event, expandWidthPreset, fadeInPreset, fadeOutPreset, fetchAction, fetchClient, flipInPreset, flipOutPreset, formAtom, get, getAction, getAllProps, getAllTimezones, getCalendar, getCoords, getCurrentHost, getLocale, getMonths, getParentScope, getParentScope as getScope, getStoresBeingRead, getTimezoneOffset, globalCSS, globalScheduler, globalTheme, groupBy, hashAtom, htmlHook, iAtom, injectMatesAnimations, installDevToolsHooks, interceptAfter, interceptBefore, interceptError, isAction, isApiResponseSuccess, isAsyncAction, isAsyncFunction, isAsyncValue, isAtom, isChannel, isConfirmationEvent, isDefinedAsGetter, isDevToolsInstalled, isEffectRunning, isEmail, isEmpty, isEvent, isFunction, isGetter, isInRestrictedContext, isMax, isMin, isPathMatching, isPattern, isReadTrackingEnabled, isRequired, isSSR, isSetter, isUnit, iterateDeeply, keyframes, lazyLoad, location, lockNavigation, logError, lsAtom, mapAtom, masonryGrid, maxLength, memo, memoTemplate, merge, minLength, navigateTo, navigationLocked, omit, on, onAllMount, onBlur, onCleanup, onClickAway, onConnect, onCopy, onCut, onDOMReady, onDisconnect, onError, on$1 as onEvent, onFileDrop, onFocus, onHidden, onIntersect, onInterval, onKeyDown, onKeyUp, onMount, onNavigate, onOffline, onOnline, onPaint, onParent, onPaste, onReferenceChange, onResize, onScroll, onScrolledIntoView, onSelectionChange, onSocket, onStorageChange, onTimeout, onUpdate, onVisibilityChange, onVisible, onWindow, onWindowCapture, onWindowResize, onWindowScroll, paginatedAsyncAction, paginationAtom, patchAction, pathAtom, pick, placementTransform, popEffect, popup, portal, postAction, pulsePreset, pushEffect, putAction, qsAtom, uuid as randomId, ref, registerCleanup, removeAttr, removeClasses, removeOn, removeStyle, renderSwitch, renderTemplate, renderX, resetComponentState, resolveAsyncValue, restoreTracking, rootCSS, route, runWithGlobalInterceptors, safeSVG, safetyCheck, saveAndEnableTracking, scaleInPreset, scaleOutPreset, scope, setAtom, setLocale, setRef, setSSRApiLookup, setSSRMode, setSSRRequest, setTimezone, setTimezoneOffset, setter, shakePreset, iAtom as signal, slideInPreset, slideOutPreset, spinPreset, springInPreset, ssAtom, startTracking, stopTracking, store, style, stylesheet, superAtom, taskAction, template, themeAtom, throttle, throttledAtom, timer, tip, titleAtom, tooltip, trackAndSubscribe, uniqBy, unlockNavigation, safeSVG as unsafeSVG, unwrapModule, useContext, scope as useScope, useState, useStore, uuid, validateAll, validateReactiveFunction, view, virtualList, virtualMasonry, on as watch, withAuth, withBaseUrl, withHost, withLogging, withStaggerPreset, ws, x, xTabEvent };
|
|
6093
|
+
export type { ActionAfterInterceptor, ActionBeforeInterceptor, ActionFn, ActionReturnType, ActionSubscriber, AfterInterceptor, AnimateDirectiveConfig, AnimateKeyframes, AnimateOptions, AnimatedIfConfig, AnimatedRouteConfig, AnimatedRouterOptions, AnimatedXConfig, AnimationHandle, AnimationPreset, AsyncActionAfterInterceptor, AsyncActionBeforeInterceptor, AsyncActionOptions, AsyncActionReturnType, AsyncActionStatus, AtomConfig, AtomType, AttrMap, AttrValue, BeforeInterceptor, C, CSSBlock, CSSKeyframeStops, CSSNestedBlock, CSSRulesInput, CacheAtomType, CacheManager, Cl, ClassEntry, ClassesInput, ClosureComponent, Component, ComponentFn, ComponentType, ConnectCallback, CssVars, DateInput, DateUnit, DateValues, DevToolsHooks, DialogOptions, DisconnectCallback, DollarChain, EleHookLifecycle, EleHookMountFn, ElementTarget, ErrorInterceptor, ErrorType, EventType, FetchActionConfig, FetchBody, FetchRequest, FormAtom, GlobalThemeResult, HostElement, HtmlHookLifecycle, HtmlHookMountFn, HtmlHookRenderFn, IAtomType, InnerFn, IntersectCallback, IntersectOptions, IterateDeeplyCallback, LazyComponent, LazyLoadCallback, LazyLoadOptions, MasonryGridOptions, MasonryItemTemplate, MasonryKeyFn, MatesAnimationClass, MatesCustomEventMap, MatesDate, Measurements, MemoKeys, MemoTemplateFn, MonthInfo, OnEventMap, OnParentMap, OuterFn, PaginatedAsyncActionReturnType, PaginationAtomType, Placement, PollingManager, PopupOpenAtom, PopupOptions, PopupPlacement, PortalOptions, Props, PropsType, MatesRef as Ref, RenderFn, ScrolledIntoViewCallback, ScrolledIntoViewOptions, SerializeOptions, Setter, SetterReturnType, SlideDirection, StorageAtomType, StorageValue, StyleMap, StyleValue, Subscribable, SuperAtomOptions, SuperAtomType, SvgConfig, SwitchCase, SwitchEntry, Task, TaskActionType, TaskStatus, TemplateComponent, TemplateFn, ThemeAtomType, ThemeMode, ThemeTokenMap, ThemeValue, ThemesInput, TimerContent, TimezoneEntry, TipContent, TipStyle, TrackingSnapshot, UpdateCallback, ValidateAllResult, ValidatorFn, View, ViewComponent, VirtualListOptions, VirtualMasonryOptions, WheelDirectionEvent, WindowHookEventName, WindowHookHandler, WsConfig, WsConnection, WsStatus, X, XTabEventType };
|