mates 0.3.0-beta.4 → 0.3.0-beta.6
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/eleHook.d.ts.map +1 -1
- package/dist/Directives/htmlHook.d.ts.map +1 -1
- package/dist/index.d.ts +192 -55
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +39 -42
- package/dist/index.esm.js.map +1 -1
- package/dist/portals/floating-container.d.ts +129 -0
- package/dist/portals/floating-container.d.ts.map +1 -0
- package/dist/portals/index.d.ts +4 -2
- package/dist/portals/index.d.ts.map +1 -1
- package/dist/portals/popup.d.ts +7 -1
- package/dist/portals/popup.d.ts.map +1 -1
- package/dist/portals/popupPlacement.d.ts +52 -0
- package/dist/portals/popupPlacement.d.ts.map +1 -0
- package/dist/portals/portal.d.ts +40 -16
- package/dist/portals/portal.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/portals/tip.d.ts +0 -38
- package/dist/portals/tip.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eleHook.d.ts","sourceRoot":"","sources":["../../lib/Directives/eleHook.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,eAAe,EAGhB,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EAAK,KAAK,WAAW,EAAE,MAAM,KAAK,CAAC;AAI1C;;;;;;;;GAQG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,GAAG,EAAE,GAAG,EAAE,IAAI;IACnD,8EAA8E;IAC9E,QAAQ,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IAChC,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,GAAG,EAAE,GAAG,EAAE,IAAI,CACjD,CAAC,EAAE,WAAW,EACd,GAAG,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,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"htmlHook.d.ts","sourceRoot":"","sources":["../../lib/Directives/htmlHook.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,OAAO,KAAK,EAEV,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAM/B;;;;;;;;GAQG;AACH,MAAM,MAAM,iBAAiB,CAAC,CAAC,SAAS,GAAG,EAAE,GAAG,EAAE,IAAI;IACpD,8EAA8E;IAC9E,QAAQ,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IAChC,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,QAAQ,EAAE,cAAc,KAAK,IAAI,CAAC;AAElE;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,GAAG,EAAE,GAAG,EAAE,IAAI,CAClD,MAAM,EAAE,gBAAgB,EACxB,GAAG,IAAI,EAAE,CAAC,KACP,iBAAiB,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;AAoBjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AACH,wBAAgB,QAAQ,CAAC,CAAC,SAAS,GAAG,EAAE,GAAG,EAAE,EAC3C,OAAO,EAAE,eAAe,CAAC,CAAC,CAAC,GAC1B,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,eAAe,
|
|
1
|
+
{"version":3,"file":"htmlHook.d.ts","sourceRoot":"","sources":["../../lib/Directives/htmlHook.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,OAAO,KAAK,EAEV,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAM/B;;;;;;;;GAQG;AACH,MAAM,MAAM,iBAAiB,CAAC,CAAC,SAAS,GAAG,EAAE,GAAG,EAAE,IAAI;IACpD,8EAA8E;IAC9E,QAAQ,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IAChC,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,QAAQ,EAAE,cAAc,KAAK,IAAI,CAAC;AAElE;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,GAAG,EAAE,GAAG,EAAE,IAAI,CAClD,MAAM,EAAE,gBAAgB,EACxB,GAAG,IAAI,EAAE,CAAC,KACP,iBAAiB,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;AAoBjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AACH,wBAAgB,QAAQ,CAAC,CAAC,SAAS,GAAG,EAAE,GAAG,EAAE,EAC3C,OAAO,EAAE,eAAe,CAAC,CAAC,CAAC,GAC1B,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,eAAe,CAyGjC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -5222,6 +5222,150 @@ interface DialogOptions {
|
|
|
5222
5222
|
*/
|
|
5223
5223
|
declare function dialog(content: TemplateResult, options?: DialogOptions): DirectiveResult;
|
|
5224
5224
|
|
|
5225
|
+
/**
|
|
5226
|
+
* floating-container.ts
|
|
5227
|
+
*
|
|
5228
|
+
* Shared low-level utility for creating a `position:fixed` container element
|
|
5229
|
+
* that lives on `document.body` (or a custom target).
|
|
5230
|
+
*
|
|
5231
|
+
* All portal-style primitives in this library (`portal`, `popup`,
|
|
5232
|
+
* `cascading-popup-list`, etc.) ultimately need the same three operations:
|
|
5233
|
+
* 1. Create a fixed-position div with a z-index above everything else.
|
|
5234
|
+
* 2. Lazily attach it to the DOM exactly once — only when content needs to
|
|
5235
|
+
* be shown, never eagerly on component mount.
|
|
5236
|
+
* 3. Remove it cleanly when the component unmounts or the panel closes.
|
|
5237
|
+
*
|
|
5238
|
+
* Centralising this here ensures every floating surface shares identical
|
|
5239
|
+
* defaults, avoids the "orphaned div" bug that comes from eagerly calling
|
|
5240
|
+
* `document.body.appendChild` at mount time, and gives one place to tweak
|
|
5241
|
+
* z-index, default styles, or target element logic across the whole library.
|
|
5242
|
+
*
|
|
5243
|
+
* ─── Usage ────────────────────────────────────────────────────────────────────
|
|
5244
|
+
*
|
|
5245
|
+
* ```ts
|
|
5246
|
+
* // Create (not yet in DOM)
|
|
5247
|
+
* const { el, attach, detach, isAttached } = createFloatingContainer();
|
|
5248
|
+
*
|
|
5249
|
+
* // Lazily attach when you actually need to show something
|
|
5250
|
+
* attach();
|
|
5251
|
+
* el.style.top = "100px";
|
|
5252
|
+
* el.style.left = "200px";
|
|
5253
|
+
* litRender(myTemplate, el);
|
|
5254
|
+
*
|
|
5255
|
+
* // Detach when done
|
|
5256
|
+
* detach();
|
|
5257
|
+
* ```
|
|
5258
|
+
*
|
|
5259
|
+
* Apply extra styles at creation time:
|
|
5260
|
+
* ```ts
|
|
5261
|
+
* const { el, attach, detach } = createFloatingContainer({
|
|
5262
|
+
* style: {
|
|
5263
|
+
* minWidth: "10rem",
|
|
5264
|
+
* background: "var(--md-color-surface)",
|
|
5265
|
+
* border: "0.06rem solid var(--md-color-border)",
|
|
5266
|
+
* borderRadius: "var(--md-radius-sm)",
|
|
5267
|
+
* boxShadow: "var(--md-shadow-dropdown)",
|
|
5268
|
+
* overflow: "hidden",
|
|
5269
|
+
* },
|
|
5270
|
+
* });
|
|
5271
|
+
* ```
|
|
5272
|
+
*/
|
|
5273
|
+
interface FloatingContainerOptions {
|
|
5274
|
+
/**
|
|
5275
|
+
* Extra CSS properties merged onto the container element at creation time.
|
|
5276
|
+
* These are applied on top of the mandatory base styles
|
|
5277
|
+
* (`position:fixed`, `z-index`, `display:none`).
|
|
5278
|
+
*/
|
|
5279
|
+
style?: Partial<CSSStyleDeclaration>;
|
|
5280
|
+
/**
|
|
5281
|
+
* Where to mount the container.
|
|
5282
|
+
* Accepts an `Element` directly, a CSS selector string, or omit/`null` to
|
|
5283
|
+
* default to `document.body`.
|
|
5284
|
+
*
|
|
5285
|
+
* @default document.body
|
|
5286
|
+
*/
|
|
5287
|
+
target?: Element | string | null;
|
|
5288
|
+
/**
|
|
5289
|
+
* Override the default `z-index` value.
|
|
5290
|
+
*
|
|
5291
|
+
* @default "9999"
|
|
5292
|
+
*/
|
|
5293
|
+
zIndex?: string | number;
|
|
5294
|
+
}
|
|
5295
|
+
interface FloatingContainer {
|
|
5296
|
+
/**
|
|
5297
|
+
* The raw `<div>` element. You can read/write styles, measure, and render
|
|
5298
|
+
* lit-html templates into this element directly. It is NOT in the DOM until
|
|
5299
|
+
* `attach()` is called.
|
|
5300
|
+
*/
|
|
5301
|
+
readonly el: HTMLDivElement;
|
|
5302
|
+
/**
|
|
5303
|
+
* Append `el` to the target (default: `document.body`) if it is not already
|
|
5304
|
+
* attached. Safe to call multiple times — subsequent calls are no-ops.
|
|
5305
|
+
*/
|
|
5306
|
+
attach(): void;
|
|
5307
|
+
/**
|
|
5308
|
+
* Remove `el` from the DOM. Safe to call when already detached — it is a
|
|
5309
|
+
* no-op in that case. After calling `detach()` you may call `attach()`
|
|
5310
|
+
* again to re-insert the same element.
|
|
5311
|
+
*/
|
|
5312
|
+
detach(): void;
|
|
5313
|
+
/**
|
|
5314
|
+
* Returns `true` when `el` is currently in the DOM (i.e. `attach()` has
|
|
5315
|
+
* been called and `detach()` has not been called since).
|
|
5316
|
+
*/
|
|
5317
|
+
isAttached(): boolean;
|
|
5318
|
+
}
|
|
5319
|
+
/**
|
|
5320
|
+
* Create a reusable floating container element.
|
|
5321
|
+
*
|
|
5322
|
+
* The element is created synchronously but is **not** appended to the DOM.
|
|
5323
|
+
* Call `attach()` exactly when you need to make it visible or measure it.
|
|
5324
|
+
* Call `detach()` (or `el.remove()`) to clean up.
|
|
5325
|
+
*
|
|
5326
|
+
* This function is intentionally pure — it does NOT call `onCleanup()` or
|
|
5327
|
+
* any other framework hook. The caller is responsible for calling `detach()`
|
|
5328
|
+
* at the right time (e.g. inside `onCleanup` / `onCleanup` of an `eleHook`
|
|
5329
|
+
* or `htmlHook` lifecycle).
|
|
5330
|
+
*
|
|
5331
|
+
* @example
|
|
5332
|
+
* // Inside an eleHook mountFn:
|
|
5333
|
+
* const fc = createFloatingContainer({ style: { minWidth: "160px" } });
|
|
5334
|
+
*
|
|
5335
|
+
* const open = () => {
|
|
5336
|
+
* fc.attach();
|
|
5337
|
+
* litRender(content, fc.el);
|
|
5338
|
+
* position(anchor, fc.el);
|
|
5339
|
+
* fc.el.style.display = "block";
|
|
5340
|
+
* };
|
|
5341
|
+
*
|
|
5342
|
+
* const close = () => {
|
|
5343
|
+
* fc.el.style.display = "none";
|
|
5344
|
+
* };
|
|
5345
|
+
*
|
|
5346
|
+
* return {
|
|
5347
|
+
* onCleanup() {
|
|
5348
|
+
* fc.detach();
|
|
5349
|
+
* },
|
|
5350
|
+
* };
|
|
5351
|
+
*/
|
|
5352
|
+
declare function createFloatingContainer(opts?: FloatingContainerOptions): FloatingContainer;
|
|
5353
|
+
|
|
5354
|
+
/**
|
|
5355
|
+
* popupPlacement.ts
|
|
5356
|
+
*
|
|
5357
|
+
* Shared placement types and coordinate utilities used by `popup()` and any
|
|
5358
|
+
* other portal-style floating surface that needs anchor-aware, flip-capable
|
|
5359
|
+
* positioning (e.g. cascading menus, date-pickers, combobox panels).
|
|
5360
|
+
*
|
|
5361
|
+
* Centralising here means every floating surface gets:
|
|
5362
|
+
* • Scroll-parent awareness (room measured against the scrollable ancestor,
|
|
5363
|
+
* not just the viewport).
|
|
5364
|
+
* • Automatic flip when the preferred side has insufficient space.
|
|
5365
|
+
* • Viewport-edge clamping so the panel never overflows by more than 4 px.
|
|
5366
|
+
*/
|
|
5367
|
+
type PopupPlacement = "auto" | "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
|
|
5368
|
+
|
|
5225
5369
|
/**
|
|
5226
5370
|
* A readable boolean atom — any callable that returns a boolean and also
|
|
5227
5371
|
* exposes a `get()` method (compatible with mates `atom(false)`).
|
|
@@ -5231,7 +5375,7 @@ interface PopupOpenAtom {
|
|
|
5231
5375
|
(): boolean;
|
|
5232
5376
|
get(): boolean;
|
|
5233
5377
|
}
|
|
5234
|
-
|
|
5378
|
+
|
|
5235
5379
|
interface PopupOptions {
|
|
5236
5380
|
/** default "bottom-start" */
|
|
5237
5381
|
position?: PopupPlacement;
|
|
@@ -5278,6 +5422,11 @@ interface PopupOptions {
|
|
|
5278
5422
|
* </div>`
|
|
5279
5423
|
*/
|
|
5280
5424
|
open?: PopupOpenAtom;
|
|
5425
|
+
/**
|
|
5426
|
+
* When true, suppresses any CSS animations on the floating panel element.
|
|
5427
|
+
* Useful for tour cards and other cases where you want instant appearance.
|
|
5428
|
+
*/
|
|
5429
|
+
disableAnimation?: boolean;
|
|
5281
5430
|
}
|
|
5282
5431
|
/**
|
|
5283
5432
|
* `popup(content, options?)` — attach an anchored floating panel to any element.
|
|
@@ -5310,14 +5459,21 @@ declare function popup(content: TemplateResult, positionOrOptions?: PopupPlaceme
|
|
|
5310
5459
|
type Placement = "auto" | "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
|
|
5311
5460
|
interface PortalOptions {
|
|
5312
5461
|
/**
|
|
5313
|
-
*
|
|
5314
|
-
*
|
|
5315
|
-
*
|
|
5462
|
+
* Optional inline styles applied to the wrapper `<div>`.
|
|
5463
|
+
*
|
|
5464
|
+
* In most cases you should style your own rendered content rather than the
|
|
5465
|
+
* wrapper — the wrapper is just a lit-html render root with no default
|
|
5466
|
+
* styles. Use this only when you specifically need the wrapper element
|
|
5467
|
+
* itself to carry styles (e.g. a transparent full-screen scrim).
|
|
5316
5468
|
*/
|
|
5317
5469
|
style?: Record<string, string>;
|
|
5318
5470
|
/** Event listeners attached directly to the wrapper div. */
|
|
5319
5471
|
on?: Record<string, EventListener>;
|
|
5320
|
-
/**
|
|
5472
|
+
/**
|
|
5473
|
+
* Where to mount the portal wrapper.
|
|
5474
|
+
* Accepts an `Element` or a CSS selector string.
|
|
5475
|
+
* Default: `document.body`
|
|
5476
|
+
*/
|
|
5321
5477
|
target?: Element | string;
|
|
5322
5478
|
}
|
|
5323
5479
|
/**
|
|
@@ -5339,64 +5495,45 @@ declare function placementTransform(placement: Placement): string;
|
|
|
5339
5495
|
*/
|
|
5340
5496
|
declare function computeAutoPlacement(anchorRect: DOMRect, contentWidth: number, contentHeight: number, gap: number): "top" | "bottom" | "left" | "right";
|
|
5341
5497
|
/**
|
|
5342
|
-
* `portal(content, options?)` — renders a `TemplateResult` into a
|
|
5343
|
-
*
|
|
5344
|
-
*
|
|
5498
|
+
* `portal(content, options?)` — renders a `TemplateResult` into a plain
|
|
5499
|
+
* `<div>` appended to `document.body` (or a custom `target`), outside the
|
|
5500
|
+
* normal component DOM tree.
|
|
5345
5501
|
*
|
|
5346
|
-
*
|
|
5347
|
-
*
|
|
5502
|
+
* The wrapper `<div>` has **no default styles** — your rendered content is
|
|
5503
|
+
* fully responsible for its own positioning, z-index, and sizing. This makes
|
|
5504
|
+
* `portal` work cleanly for every use-case without conflicting defaults.
|
|
5348
5505
|
*
|
|
5349
|
-
*
|
|
5506
|
+
* Nothing renders at the call site. The wrapper is removed automatically when
|
|
5507
|
+
* the directive disconnects (component unmounts or the condition becomes false).
|
|
5350
5508
|
*
|
|
5351
5509
|
* @example
|
|
5352
|
-
* // Toast —
|
|
5353
|
-
* html`${
|
|
5354
|
-
* style:
|
|
5355
|
-
*
|
|
5510
|
+
* // Toast — the toast element itself carries position:fixed
|
|
5511
|
+
* html`${showToast && portal(html`
|
|
5512
|
+
* <div style="position:fixed;bottom:16px;right:16px;z-index:9999;">
|
|
5513
|
+
* Saved ✓
|
|
5514
|
+
* </div>
|
|
5515
|
+
* `)}`
|
|
5356
5516
|
*
|
|
5357
5517
|
* @example
|
|
5358
|
-
* //
|
|
5359
|
-
* html`${
|
|
5360
|
-
* style:
|
|
5361
|
-
*
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
type TipContent = string | TemplateResult;
|
|
5366
|
-
interface TipStyle {
|
|
5367
|
-
/** Extra inline styles applied to the tooltip element for this instance. */
|
|
5368
|
-
style?: Partial<CSSStyleDeclaration>;
|
|
5369
|
-
/** Override max-width (e.g. "400px", "none"). */
|
|
5370
|
-
maxWidth?: string;
|
|
5371
|
-
/** Override padding (e.g. "12px 20px"). */
|
|
5372
|
-
padding?: string;
|
|
5373
|
-
/** Override border-radius. */
|
|
5374
|
-
borderRadius?: string;
|
|
5375
|
-
/** Override font-size. */
|
|
5376
|
-
fontSize?: string;
|
|
5377
|
-
/** Override white-space (e.g. "normal" for wrapping). */
|
|
5378
|
-
whiteSpace?: string;
|
|
5379
|
-
/** Delay in ms before showing. Default 150. */
|
|
5380
|
-
delay?: number;
|
|
5381
|
-
}
|
|
5382
|
-
/**
|
|
5383
|
-
* `tooltip(content, opts?)` — lightweight auto-positioning tooltip directive.
|
|
5384
|
-
*
|
|
5385
|
-
* Appends a singleton `position:fixed` div to `<body>` — escapes any
|
|
5386
|
-
* `overflow:hidden`, `transform`, or stacking context. Automatically places
|
|
5387
|
-
* above or below the trigger based on available viewport space.
|
|
5518
|
+
* // Full-screen modal scrim
|
|
5519
|
+
* html`${isOpen && portal(html`
|
|
5520
|
+
* <div style="position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.5);"
|
|
5521
|
+
* @click=${close}>
|
|
5522
|
+
* <div class="modal" @click=${stopPropagation}>...</div>
|
|
5523
|
+
* </div>
|
|
5524
|
+
* `)}`
|
|
5388
5525
|
*
|
|
5389
|
-
*
|
|
5390
|
-
*
|
|
5526
|
+
* @example
|
|
5527
|
+
* // Mount into a custom target instead of body
|
|
5528
|
+
* html`${portal(html`<span>...</span>`, { target: "#overlay-root" })}`
|
|
5391
5529
|
*
|
|
5392
5530
|
* @example
|
|
5393
|
-
*
|
|
5394
|
-
* html
|
|
5395
|
-
*
|
|
5531
|
+
* // Apply styles to the wrapper itself (rare — prefer styling your content)
|
|
5532
|
+
* html`${portal(html`<ul class="menu">...</ul>`, {
|
|
5533
|
+
* style: { position: "fixed", top: `${y}px`, left: `${x}px` },
|
|
5534
|
+
* })}`
|
|
5396
5535
|
*/
|
|
5397
|
-
declare function
|
|
5398
|
-
/** Alias — kept for backward compatibility. */
|
|
5399
|
-
declare const tip: typeof tooltip;
|
|
5536
|
+
declare function portal(content: TemplateResult, options?: PortalOptions): DirectiveResult;
|
|
5400
5537
|
|
|
5401
5538
|
interface AnimatedRouteConfig {
|
|
5402
5539
|
path: string;
|
|
@@ -6478,5 +6615,5 @@ declare function getMonths(locale?: string): MonthInfo[];
|
|
|
6478
6615
|
*/
|
|
6479
6616
|
declare function getCalendar(year: number, month: number): MatesDate[][];
|
|
6480
6617
|
|
|
6481
|
-
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, changeFlagAtom, chunk, clamp, classes, cleanupScheduler, clearInterceptors, collapseWidthPreset, collectSSRStyles, componentRunningStatus, computeAutoPlacement, configureCSS, countdown, createCacheManager, createManagedTimer, createPollingManager, createReactiveRunner, createTimedAtom, date, debounce, debouncedAtom, deepClone, deepFreeze, delayAtom, deleteAction, deepFreeze as df, dialog, disappear, 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, historyStateAtom, 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, navigationRequestEvent, omit, on, onAllMount, onBlur, onCleanup, onClickAway, onConnect, onCopy, onCut, onDOMReady, onDisconnect, onEleEvent, onError, on$1 as onEvent, onFileDrop, onFocus, onHidden, onIntersect, onInterval, onKeyDown, onKeyUp, onMount, onNavigate, onNavigationRequest, 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, replaceParams, 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, timerTemplate,
|
|
6482
|
-
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, ChangeFlagAtomType, Cl, ClassEntry, ClassesInput, ClosureComponent, Component, ComponentFn, ComponentType, ConnectCallback, Countdown, CountdownState, CssVars, DateInput, DateUnit, DateValues, DevToolsHooks, DialogOptions, DisconnectCallback, DollarChain, EleEventHandler, 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, NavigationRequestDetail, 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,
|
|
6618
|
+
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, changeFlagAtom, chunk, clamp, classes, cleanupScheduler, clearInterceptors, collapseWidthPreset, collectSSRStyles, componentRunningStatus, computeAutoPlacement, configureCSS, countdown, createCacheManager, createFloatingContainer, createManagedTimer, createPollingManager, createReactiveRunner, createTimedAtom, date, debounce, debouncedAtom, deepClone, deepFreeze, delayAtom, deleteAction, deepFreeze as df, dialog, disappear, 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, historyStateAtom, 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, navigationRequestEvent, omit, on, onAllMount, onBlur, onCleanup, onClickAway, onConnect, onCopy, onCut, onDOMReady, onDisconnect, onEleEvent, onError, on$1 as onEvent, onFileDrop, onFocus, onHidden, onIntersect, onInterval, onKeyDown, onKeyUp, onMount, onNavigate, onNavigationRequest, 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, replaceParams, 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, timerTemplate, titleAtom, trackAndSubscribe, uniqBy, unlockNavigation, safeSVG as unsafeSVG, unwrapModule, useContext, useEleEvent, scope as useScope, useState, useStore, uuid, validateAll, validateReactiveFunction, view, virtualList, virtualMasonry, on as watch, withAuth, withBaseUrl, withHost, withLogging, withStaggerPreset, ws, x, xTabEvent };
|
|
6619
|
+
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, ChangeFlagAtomType, Cl, ClassEntry, ClassesInput, ClosureComponent, Component, ComponentFn, ComponentType, ConnectCallback, Countdown, CountdownState, CssVars, DateInput, DateUnit, DateValues, DevToolsHooks, DialogOptions, DisconnectCallback, DollarChain, EleEventHandler, EleHookLifecycle, EleHookMountFn, ElementTarget, ErrorInterceptor, ErrorType, EventType, FetchActionConfig, FetchBody, FetchRequest, FloatingContainer, FloatingContainerOptions, FormAtom, GlobalThemeResult, HostElement, HtmlHookLifecycle, HtmlHookMountFn, HtmlHookRenderFn, IAtomType, InnerFn, IntersectCallback, IntersectOptions, IterateDeeplyCallback, LazyComponent, LazyLoadCallback, LazyLoadOptions, MasonryGridOptions, MasonryItemTemplate, MasonryKeyFn, MatesAnimationClass, MatesCustomEventMap, MatesDate, Measurements, MemoKeys, MemoTemplateFn, MonthInfo, NavigationRequestDetail, 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, TrackingSnapshot, UpdateCallback, ValidateAllResult, ValidatorFn, View, ViewComponent, VirtualListOptions, VirtualMasonryOptions, WheelDirectionEvent, WindowHookEventName, WindowHookHandler, WsConfig, WsConnection, WsStatus, X, XTabEventType };
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":"AAKA,YAAY,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,KAAK,IAAI,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AAGnD,OAAO,gBAAgB,CAAC;AACxB,OAAO,sBAAsB,CAAC;AAE9B,OAAO,+BAA+B,CAAC;AAGvC,OAAO,EACL,KAAK,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