gesso-core 0.5.1 → 0.6.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/CHANGELOG.md +23 -0
- package/dist/{CanvasSurface-Dok8FuyX.js → CanvasSurface-CKvX3pXn.js} +580 -197
- package/dist/CanvasSurface-CKvX3pXn.js.map +1 -0
- package/dist/{index-B3zydgF2.d.ts → index-B9YoiLiW.d.ts} +202 -12
- package/dist/index.d.ts +2 -2
- package/dist/index.js +76 -38
- package/dist/index.js.map +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +2 -1
- package/dist/testing.js.map +1 -1
- package/package.json +1 -1
- package/dist/CanvasSurface-Dok8FuyX.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as pointerDeviceOf, $a as UiKeyboardEvent, $i as boxShadow, $n as
|
|
1
|
+
import { $ as pointerDeviceOf, $a as UiKeyboardEvent, $i as boxShadow, $n as lineIndexAtY, $r as radialGradient, $t as DEFAULT_FONT_SIZE, A as withOverrideSource, Aa as rgb8, Ai as darkTheme, An as linkRunAtPointIn, Ar as UiProperties, At as edgeField, B as FlexDirection, Ba as writeDeclaredProperty, Bi as withThemeExtension, Bn as isReadOnly, Br as validateSubgrid, Bt as fillTextRects, C as SCROLLBAR_LINGER_MS, Ca as UiBasicColors, Ci as insetsEqual, Cn as isNodeTabStop, Cr as findPropertyDefinition, Ct as offsetAtPointIn, D as formatExplanation, Da as colorsEqual, Di as bandOf, Dn as hasTextLinks, Dr as propertyEffects, Dt as wordRangeIn, E as formatConstraints, Ea as colorValuesEqual, Ei as UiContainerSizeSource, En as clearLinkHover, Er as inheritedPropertyNames, Et as selectionRectsIn, F as clampSize, Fa as UiNode, Fi as defineThemeExtension, Fn as caretVisibleAt, Fr as normalizeStates, Ft as EditableLayout, G as CrossAxisAlignment, Ga as visualState, Gi as densityFactors, Gn as videoFrameSize, Gr as parseTransform, Gt as textMeasureRequest, H as placeGridItems, Ha as UiVisualState, Hi as highContrastColors, Hn as syncEditorValue, Hr as paintValuesEqual, Ht as runCanvasStyleInto, I as constraintsEqual, Ia as DirtyNodeSet, Ii as hasThemeExtension, In as editorFor, Ir as statesEqual, It as applyCanvasTextStyle, J as parseCrossAxisAlignment, Ja as UiBeforeInputEvent, Ji as spacingEqual, Jn as spannedRunsFor, Jr as transformsEqual, Jt as bumpFontStack, K as MainAxisAlignment, Ka as visualStatesEqual, Ki as defaultSpacing, Kn as CharacterCountTextMeasurer, Kr as transform, Kt as textRunBackgrounds, L as tightenConstraints, La as clearOverrideProperty, Li as noThemeExtensions, Ln as editorOf, Lr as validateRole, Lt as buildFontString, M as contentOffset, Ma as createEnvironmentKey, Mi as themesEqual, Mn as CARET_BLINK_MS, Mr as UI_SEMANTIC_STATES, Mt as commandForKey, N as LayoutRecord, Na as findEnvironmentKey, Ni as withContrast, Nn as CARET_WIDTH, Nr as isUiRole, Nt as detectEditingPlatform, O as formatNumber, Oa as normalizeColor, Oi as containerBands, On as linkHoverOf, Or as propertyIsInherited, Ot as adjacentField, P as Constraints, Pa as UiEnvironment, Pi as withDensity, Pn as EDITOR_PROP, Pr as isUiSemanticState, Pt as isPrintable, Q as capturePointer, Qa as UiInputEvent, Qi as BOX_SHADOW_BLUR_REACH, Qn as caretRectFor, Qr as linearGradient, Qt as DEFAULT_FONT_FAMILY, R as MAX_MEASURES_PER_CHILD, Ra as overrideSources, Ri as themeExtension, Rn as isEditableNode, Rr as validateStates, Rt as createCanvasTextStyle, S as SCROLLBAR_FADE_MS, Sa as lightColors, Si as UiInsetRegistry, Sn as isNodeSelectable, Sr as closestPropertyName, St as hasDrawnText, T as describeOverrides, Ta as colorToRgba, Ti as observeViewportInsets, Tn as resolveCursor, Tr as inheritedPropertyFlags, Tt as paragraphGeometryFrom, U as sizeGridTracks, Ua as defaultVisualState, Ui as raiseContrast, Un as resolveColorValue, Ur as pathValuesEqual, Ut as runFontString, V as parseFlexDirection, Va as writeOverrideProperty, Vi as contrastRatio, Vn as nextCaretToggle, Vr as inputsEqual, Vt as layoutTextLines, W as AlignContent, Wa as hasVisualState, Wi as relativeLuminance, Wn as isVideoSurface, Wr as UiTransforms, Wt as spanOf, X as CanvasPlatformSurface, Xa as UiFocusEvent, Xi as defaultShadows, Xn as layoutParagraph, Xr as gradientPaint, Xt as fontStackFor, Y as parseMainAxisAlignment, Ya as UiEventType, Yi as spacingSteps, Yn as ELLIPSIS, Yr as MAX_GRADIENT_STOPS, Yt as clearFontStacks, Z as UiPlatformAdapter, Za as UiGestureEvent, Zi as shadowsEqual, Zn as proportionalFontMetrics, Zr as gradientsEqual, Zt as registerFontStack, _ as LABEL_PADDING_X, _a as textContentOf, _i as normalizeBorderRadius, _n as selectionRangeOf, _r as resolveBoolean, _t as scrollRange, a as PaintPictureCache, aa as isShapeName, ai as isMinMaxTrack, an as isPaintVisible, ao as UiWheelDeltaMode, ar as selectionRects, at as UiPinchRecognizer, b as snapScroll, ba as colorsEqualPalette, bi as propertyValuesEqual, bn as isNodeHitTestable, br as resolvePropertyByName, bt as scrollbarZoneAt, c as EMPTY_RECORDING, ca as isTypographyRole, ci as percent, cn as resolvePaintState, co as wheelDeltaYOf, cr as lineEndAt, ct as UiKeyboardController, d as tracePathData, da as editableSpansOf, di as UiBorderRadiuses, dn as matchRangesOf, do as UiBinding, dr as nextWordEnd, dt as UiHitTester, ea as boxShadowArraysEqual, ei as validateGradient, en as DEFAULT_FONT_WEIGHT, eo as UiPasteEvent, er as lineIndexForOffset, et as prepareInputSurface, f as ScaledImageCache, fa as flattenTextSpans, fi as borderRadius, fn as setMatchRanges, fr as previousGraphemeStart, ft as SCROLLBAR_HOVER_ZONE, g as paintsAfterChildren, ga as spannedTextOf, gi as borderRadiusValuesEqual, gn as selectableTextOf, gr as DEFAULT_LINE_HEIGHT_FACTOR, gt as scrollLeaderOf, h as hasDecorationPhase, ha as spanAtOffset, hi as borderRadiusIsZero, hn as selectableTextNodes, hr as UiGraph, ht as SCROLLBAR_THICKNESS, i as traceRoundedRect, ia as defaultShapes, ii as isFrLength, in as createPaintState, io as UiTextChangeEvent, ir as offsetForVerticalMove, it as UiGestureRecognizer, j as accumulatedOffsetTo, ja as rgba, ji as lightTheme, jn as setLinkHover, jr as UI_ROLES, jt as editingGroupOf, k as labelNode, ka as parseColor, ki as unknownContainerSize, kn as linkOf, kr as propertyValuesEqualByName, kt as comparePositions, l as PaintRecorder, la as typographyEqual, li as repeat, ln as TEXT_MATCHES_PROP, lo as UiNodeType, lr as lineStartAt, lt as UiPointerController, m as decorationRect, ma as resolvedSpansOf, mi as borderRadiusEqual, mn as clearSelectionRange, mr as wordRangeAt, mt as SCROLLBAR_MIN_THUMB, n as createCanvasSurface, na as boxShadowReach, ni as fr, nn as colorToCss, no as UiPointerEvent, nr as offsetAtPoint, nt as UiEditingController, o as paintPictures, oa as shapesEqual, oi as isPercentLength, on as normalizeTextAlign, oo as UiWheelEvent, or as EditableTextModel, ot as UiWheelController, p as decorationColor, pa as hiddenRangesOf, pi as borderRadiusCorners, pn as TEXT_SELECTION_PROP, pr as previousWordStart, pt as SCROLLBAR_INSET, q as parseAlignContent, qa as MOUSE_POINTER, qi as scaleSpacing, qn as ParagraphTextMeasurer, qr as transformIsIdentity, qt as textRunDecorations, r as Canvas2DRenderer, ra as boxShadowsEqual, ri as isAutoLength, rn as computeObjectFitRect, ro as UiSelectionChangeEvent, rr as offsetAtX, rt as UiTouchScroller, s as PaintTarget, sa as defaultTypography, si as minmax, sn as normalizeVerticalAlign, so as noKeyModifiers, sr as graphemeBoundaries, st as isScrollContainer, t as CanvasSurface, ta as boxShadowRadius, ti as auto, tn as DEFAULT_TEXT_COLOR, to as UiPinchEvent, tr as lineLimit, tt as touchActionFor, u as replayPaint, ua as defaultTextStyle, ui as resolveLength, un as clearMatchRanges, uo as DirtyFlags, ur as nextGraphemeEnd, ut as UiFocusManager, v as drawOverlayShapes, va as textSpansEqual, vi as uniformBorderRadius, vn as setSelectionRange, vr as resolveNumber, vt as scrollbarThumb, w as describeLength, wa as colorToHex, wi as noInsets, wn as isPressable, wr as getPropertyNames, wt as paragraphGeometry, x as LayoutEngine, xa as darkColors, xi as UiEnvironmentKeys, xn as isNodeInert, xr as resolveString, xt as UiInputDispatcher, y as labelOrigin, ya as textStylesEqual, yi as defineProperty, yn as isNodeFocusable, yr as resolveProperty, yt as scrollbarThumbs, z as isLayoutProtocol, za as resetOverrideWarnings, zi as themeExtensionsEqual, zn as isMultiline, zr as UI_SUBGRID_AXES, zt as drawText } from "./CanvasSurface-CKvX3pXn.js";
|
|
2
2
|
import { BehaviorSubject, EMPTY, Subject, combineLatest, distinctUntilChanged, isObservable as isObservable$1, map, of } from "rxjs";
|
|
3
3
|
//#region src/animation/UiEasing.ts
|
|
4
4
|
/** Progress equals time. What a spinner and a sweep want. */
|
|
@@ -1278,6 +1278,11 @@ function sameStates(a, b) {
|
|
|
1278
1278
|
* element it renders and read the box back — which is how a split pane
|
|
1279
1279
|
* turns a pointer position into a fraction of its own track without
|
|
1280
1280
|
* reaching into the layout engine.
|
|
1281
|
+
*
|
|
1282
|
+
* The box is `layoutBox()`, where the node is drawn, in a pointer's
|
|
1283
|
+
* coordinates: under a zoomed parent it is drawn, and reported, bigger
|
|
1284
|
+
* than it was laid out. For a size to lay something else out by, use
|
|
1285
|
+
* `measureFlow`.
|
|
1281
1286
|
*/
|
|
1282
1287
|
const measure = defineModifier({
|
|
1283
1288
|
name: "measure",
|
|
@@ -1287,6 +1292,31 @@ const measure = defineModifier({
|
|
|
1287
1292
|
host.onLayout((next) => target.next(next));
|
|
1288
1293
|
}
|
|
1289
1294
|
});
|
|
1295
|
+
/**
|
|
1296
|
+
* Reports the node's laid-out box, `flowBox()`, whenever it changes.
|
|
1297
|
+
*
|
|
1298
|
+
* `measure` reports where the node is drawn, which a pan or a zoom
|
|
1299
|
+
* above it moves and scales; this is the size it was given, which they
|
|
1300
|
+
* do not. It is the one to lay out or scroll by: a virtual list that
|
|
1301
|
+
* read its viewport's height from `measure` under a parent zoomed to 2
|
|
1302
|
+
* scrolled a row twice as far as it needed to reveal it. Only a change
|
|
1303
|
+
* is reported, so a pan above the node, which `onLayout` hears, reports
|
|
1304
|
+
* nothing here.
|
|
1305
|
+
*/
|
|
1306
|
+
const measureFlow = defineModifier({
|
|
1307
|
+
name: "measureFlow",
|
|
1308
|
+
attach(host, target) {
|
|
1309
|
+
let last = null;
|
|
1310
|
+
const report = () => {
|
|
1311
|
+
const box = host.flowBox();
|
|
1312
|
+
if (box === null || last !== null && last.x === box.x && last.y === box.y && last.width === box.width && last.height === box.height) return;
|
|
1313
|
+
last = box;
|
|
1314
|
+
target.next(box);
|
|
1315
|
+
};
|
|
1316
|
+
report();
|
|
1317
|
+
host.onLayout(report);
|
|
1318
|
+
}
|
|
1319
|
+
});
|
|
1290
1320
|
//#endregion
|
|
1291
1321
|
//#region src/composition/UiComponents.ts
|
|
1292
1322
|
/**
|
|
@@ -3216,7 +3246,7 @@ const sizeContainer = defineModifier({
|
|
|
3216
3246
|
name: "sizeContainer",
|
|
3217
3247
|
attach(host, args) {
|
|
3218
3248
|
const report = () => {
|
|
3219
|
-
const box = host.
|
|
3249
|
+
const box = host.flowBox();
|
|
3220
3250
|
if (box === null) return;
|
|
3221
3251
|
const inset = (name, axis) => {
|
|
3222
3252
|
const side = host.get(name);
|
|
@@ -3259,7 +3289,7 @@ const breakpoint = defineModifier({
|
|
|
3259
3289
|
const bands = [0, ...args.at];
|
|
3260
3290
|
let current = -1;
|
|
3261
3291
|
const apply = () => {
|
|
3262
|
-
const box = host.
|
|
3292
|
+
const box = host.flowBox();
|
|
3263
3293
|
if (box === null) return;
|
|
3264
3294
|
const band = bandOf(box.width, args.at);
|
|
3265
3295
|
if (band === current) return;
|
|
@@ -6960,9 +6990,9 @@ var MotionController = class {
|
|
|
6960
6990
|
this.layer = new MotionLayer(host);
|
|
6961
6991
|
}
|
|
6962
6992
|
attach() {
|
|
6963
|
-
this.layer.measure(this.host.
|
|
6993
|
+
this.layer.measure(this.host.flowBox());
|
|
6964
6994
|
if (this.args.initial !== void 0) this.layer.snapTo(resolveMotionState(this.args.initial));
|
|
6965
|
-
this.host.onLayout((
|
|
6995
|
+
this.host.onLayout(() => this.layer.measure(this.host.flowBox()));
|
|
6966
6996
|
this.aim();
|
|
6967
6997
|
}
|
|
6968
6998
|
update(args) {
|
|
@@ -7118,7 +7148,7 @@ var SharedElementController = class {
|
|
|
7118
7148
|
const box = this.host.layoutBox();
|
|
7119
7149
|
if (box === null) return;
|
|
7120
7150
|
this.host.shared?.report(this.args.name, this.host.node, box);
|
|
7121
|
-
this.layer.measure(this.host.
|
|
7151
|
+
this.layer.measure(this.host.flowBox());
|
|
7122
7152
|
if (this.geometryTarget !== null) {
|
|
7123
7153
|
this.geometryTarget = null;
|
|
7124
7154
|
this.layer.snapTo(MOTION_REST);
|
|
@@ -7829,7 +7859,7 @@ const publishInset = defineModifier({
|
|
|
7829
7859
|
if (!(source instanceof UiInsetRegistry)) return;
|
|
7830
7860
|
let write = null;
|
|
7831
7861
|
const publish = () => {
|
|
7832
|
-
const box = host.
|
|
7862
|
+
const box = host.flowBox();
|
|
7833
7863
|
if (box === null) return;
|
|
7834
7864
|
const extent = args.extent ?? (args.edge === "top" || args.edge === "bottom" ? box.height : box.width);
|
|
7835
7865
|
const insets = { [args.edge]: extent };
|
|
@@ -7917,8 +7947,9 @@ const insetPadding = defineModifier({
|
|
|
7917
7947
|
* Unlike `host.set`, this reaches a *child*: the cell is an ordinary
|
|
7918
7948
|
* Observable, so a component may bind its label's colour to it as
|
|
7919
7949
|
* easily as its own padding. That matters because most controls are a
|
|
7920
|
-
* box with something inside it, and
|
|
7921
|
-
*
|
|
7950
|
+
* box with something inside it, and a child that sets its own text
|
|
7951
|
+
* style takes that style's colour over the one its parent's `color`
|
|
7952
|
+
* would have given it.
|
|
7922
7953
|
*/
|
|
7923
7954
|
const themeTokensKind = defineModifier({
|
|
7924
7955
|
name: "themeTokens",
|
|
@@ -8159,28 +8190,32 @@ var LayoutInspector = class {
|
|
|
8159
8190
|
lineWidth: 2
|
|
8160
8191
|
});
|
|
8161
8192
|
}
|
|
8162
|
-
const box = this.engine.
|
|
8163
|
-
const
|
|
8164
|
-
|
|
8193
|
+
const box = this.engine.screenBox(node);
|
|
8194
|
+
const width = rec.width;
|
|
8195
|
+
const height = rec.height;
|
|
8196
|
+
const strip = (x, y, w, h, color) => {
|
|
8197
|
+
if (w > 0 && h > 0) out.push({
|
|
8165
8198
|
kind: "fill",
|
|
8166
|
-
|
|
8167
|
-
|
|
8168
|
-
|
|
8169
|
-
|
|
8199
|
+
...this.engine.screenBox(node, {
|
|
8200
|
+
x,
|
|
8201
|
+
y,
|
|
8202
|
+
width: w,
|
|
8203
|
+
height: h
|
|
8204
|
+
}),
|
|
8170
8205
|
color
|
|
8171
8206
|
});
|
|
8172
8207
|
};
|
|
8173
|
-
const marginWidth =
|
|
8174
|
-
strip(
|
|
8175
|
-
strip(
|
|
8176
|
-
strip(
|
|
8177
|
-
strip(
|
|
8178
|
-
const innerHeight =
|
|
8179
|
-
strip(
|
|
8180
|
-
strip(
|
|
8181
|
-
strip(
|
|
8182
|
-
strip(
|
|
8183
|
-
strip(
|
|
8208
|
+
const marginWidth = width + rec.marginLeft + rec.marginRight;
|
|
8209
|
+
strip(-rec.marginLeft, -rec.marginTop, marginWidth, rec.marginTop, MARGIN_FILL);
|
|
8210
|
+
strip(-rec.marginLeft, height, marginWidth, rec.marginBottom, MARGIN_FILL);
|
|
8211
|
+
strip(-rec.marginLeft, 0, rec.marginLeft, height, MARGIN_FILL);
|
|
8212
|
+
strip(width, 0, rec.marginRight, height, MARGIN_FILL);
|
|
8213
|
+
const innerHeight = height - rec.paddingTop - rec.paddingBottom;
|
|
8214
|
+
strip(0, 0, width, rec.paddingTop, PADDING_FILL);
|
|
8215
|
+
strip(0, height - rec.paddingBottom, width, rec.paddingBottom, PADDING_FILL);
|
|
8216
|
+
strip(0, rec.paddingTop, rec.paddingLeft, innerHeight, PADDING_FILL);
|
|
8217
|
+
strip(width - rec.paddingRight, rec.paddingTop, rec.paddingRight, innerHeight, PADDING_FILL);
|
|
8218
|
+
strip(rec.paddingLeft, rec.paddingTop, width - rec.paddingLeft - rec.paddingRight, innerHeight, CONTENT_FILL);
|
|
8184
8219
|
out.push({
|
|
8185
8220
|
kind: "stroke",
|
|
8186
8221
|
...box,
|
|
@@ -8191,10 +8226,12 @@ var LayoutInspector = class {
|
|
|
8191
8226
|
const outset = shape.outset ?? 0;
|
|
8192
8227
|
out.push({
|
|
8193
8228
|
kind: "stroke",
|
|
8194
|
-
|
|
8195
|
-
|
|
8196
|
-
|
|
8197
|
-
|
|
8229
|
+
...this.engine.screenBox(node, {
|
|
8230
|
+
x: (shape.x ?? 0) - outset,
|
|
8231
|
+
y: (shape.y ?? 0) - outset,
|
|
8232
|
+
width: (shape.width ?? width) + outset * 2,
|
|
8233
|
+
height: (shape.height ?? height) + outset * 2
|
|
8234
|
+
}),
|
|
8198
8235
|
color: DECORATION_STROKE,
|
|
8199
8236
|
lineWidth: 1
|
|
8200
8237
|
});
|
|
@@ -8203,7 +8240,7 @@ var LayoutInspector = class {
|
|
|
8203
8240
|
out.push({
|
|
8204
8241
|
kind: "label",
|
|
8205
8242
|
box,
|
|
8206
|
-
text: `${labelNode(node)} ${formatNumber(
|
|
8243
|
+
text: `${labelNode(node)} ${formatNumber(width)}×${formatNumber(height)}${modifiers.length === 0 ? "" : ` · ${modifiers.join(", ")}`}`,
|
|
8207
8244
|
font: LABEL_FONT,
|
|
8208
8245
|
fontSize: LABEL_FONT_SIZE,
|
|
8209
8246
|
fontFamily: LABEL_FONT_FAMILY,
|
|
@@ -8213,11 +8250,12 @@ var LayoutInspector = class {
|
|
|
8213
8250
|
});
|
|
8214
8251
|
}
|
|
8215
8252
|
/**
|
|
8216
|
-
* Where a node is
|
|
8217
|
-
*
|
|
8253
|
+
* Where a node is drawn, intersected with every clipping ancestor's
|
|
8254
|
+
* drawn box; null when nothing of it is visible. Drawn rather than
|
|
8255
|
+
* visible boxes, for the reason `hoveredShapes` gives.
|
|
8218
8256
|
*/
|
|
8219
8257
|
clippedVisibleBox(node) {
|
|
8220
|
-
const box = this.engine.
|
|
8258
|
+
const box = this.engine.screenBox(node);
|
|
8221
8259
|
let x = box.x;
|
|
8222
8260
|
let y = box.y;
|
|
8223
8261
|
let right = box.x + box.width;
|
|
@@ -8226,7 +8264,7 @@ var LayoutInspector = class {
|
|
|
8226
8264
|
for (let current = node.parent; current !== null; current = current.parent) {
|
|
8227
8265
|
const rec = this.engine.recordFor(current);
|
|
8228
8266
|
if (rec === void 0 || !rec.clips) continue;
|
|
8229
|
-
const clip = this.engine.
|
|
8267
|
+
const clip = this.engine.screenBox(current);
|
|
8230
8268
|
x = Math.max(x, clip.x);
|
|
8231
8269
|
y = Math.max(y, clip.y);
|
|
8232
8270
|
right = Math.min(right, clip.x + clip.width);
|
|
@@ -14902,7 +14940,7 @@ var UiSelectionController = class {
|
|
|
14902
14940
|
let bestDistance = Infinity;
|
|
14903
14941
|
for (const node of this.order) {
|
|
14904
14942
|
if (this.host.recordFor(node) === void 0) continue;
|
|
14905
|
-
const box = this.host.visibleBox(node);
|
|
14943
|
+
const box = this.host.screenBox?.(node) ?? this.host.visibleBox(node);
|
|
14906
14944
|
const dx = Math.max(box.x - x, 0, x - (box.x + box.width));
|
|
14907
14945
|
const dy = Math.max(box.y - y, 0, y - (box.y + box.height));
|
|
14908
14946
|
const distance = dy * dy * 4 + dx * dx;
|
|
@@ -15469,6 +15507,6 @@ function recordsEqual(a, b) {
|
|
|
15469
15507
|
return true;
|
|
15470
15508
|
}
|
|
15471
15509
|
//#endregion
|
|
15472
|
-
export { AlignContent, AnimationDriver, BOX_SHADOW_BLUR_REACH, BUTTON_INTERACTION, Box, Button, CARET_BLINK_MS, CARET_WIDTH, CLIP_STRIDE_BYTES, CLIP_STRIDE_FLOATS, Canvas2DRenderer, CanvasPlatformSurface, CanvasSurface, CanvasTextMeasurer, CharacterCountTextMeasurer, Column, CommandKind, Constraints, CrossAxisAlignment, DEFAULT_BLOCK_SIZE, DEFAULT_FONT_FAMILY, DEFAULT_FONT_SIZE, DEFAULT_FONT_WEIGHT, DEFAULT_LINE_HEIGHT_FACTOR, DEFAULT_TEXT_COLOR, DefaultImageResolver, DefaultVideoResolver, DirtyFlags, DirtyNodeSet, EDITOR_PROP, ELLIPSIS, EMPTY_RECORDING, EXTERNAL_FILES, EditableLayout, EditableText, EditableTextModel, EnvironmentNotifier, FlexDirection, FocusNotifier, GLYPH_SUBPIXEL_PHASES, GlyphShaper, Grid, INSPECTOR_HEAT_MS, INSTANCE_STRIDE_BYTES, INSTANCE_STRIDE_FLOATS, IconRasterizer, LABEL_PADDING_X, LayoutEngine, LayoutInspector, LayoutNotifier, LayoutRecord, LazyColumn, LazyGrid, LazyRow, LazySheet, MARK_PREFIX, MAX_GRADIENT_STOPS, MAX_MEASURES_PER_CHILD, MOTION_CHANNELS, MOTION_REST, MOUSE_POINTER, MainAxisAlignment, Mp3Frames, NO_CLIP_INDEX, NodeTransitions, Paint, PaintPictureCache, PaintRecorder, PaintTarget, ParagraphTextMeasurer, PrimitiveKind, Responsive, Row, SCROLLBAR_FADE_MS, SCROLLBAR_HOVER_ZONE, SCROLLBAR_INSET, SCROLLBAR_LINGER_MS, SCROLLBAR_MIN_THUMB, SCROLLBAR_THICKNESS, ScrollView, Stack, TEXTURED_STRIDE_BYTES, TEXTURED_STRIDE_FLOATS, TEXT_MATCHES_PROP, TEXT_RUN_ID_SEPARATOR, TEXT_SELECTION_PROP, Text, UI_ROLES, UI_SEMANTIC_STATES, UI_SUBGRID_AXES, UiAnimation, UiAnimationFrameClock, UiBasicColors, UiBeforeInputEvent, UiBinding, UiBorderRadiuses, UiChildrenBinding, UiContainerSizeSource, UiDragSession, UiEditingController, UiEnvironment, UiEnvironmentKeys, UiEventBinding, UiEventType, UiFindController, UiFocusEvent, UiFocusManager, UiFrame, UiGestureEvent, UiGestureRecognizer, UiGraph, UiGraphBuilder, UiHitTester, UiHostFrameClock, UiInputDispatcher, UiInputEvent, UiInsetRegistry, UiKeyboardController, UiKeyboardEvent, UiManualFrameClock, UiModifierSet, UiNode, UiNodeType, UiPasteEvent, UiPinchEvent, UiPinchRecognizer, UiPlatformAdapter, UiPointerController, UiPointerEvent, UiProperties, UiScheduler, UiSelectionChangeEvent, UiSelectionController, UiSharedElements, UiShortcutRegistry, UiSpring, UiTextChangeEvent, UiTimerFrameClock, UiTouchScroller, UiTransforms, UiTween, UiUnknownModifierPropertyError, UiVirtualSheet, UiVirtualWindow, UiVisualState, UiWheelController, UiWheelDeltaMode, UiWheelEvent, VIRTUAL_INDEX_PROP, VIRTUAL_LEAD_PROP, VIRTUAL_SHEET_PROP, VIRTUAL_WINDOW_PROP, WebGPUError, WebGPUGlyphAtlas, WebGPUGlyphPages, WebGPURenderer, WebGPUSurface, WebGPUTextureCache, accumulatedOffsetTo, adjacentField, animateLayout, applyCanvasTextStyle, assertModifierList, assertTransitionMap, auto, autoFocus, bandOf, borderRadius, borderRadiusCorners, borderRadiusEqual, borderRadiusIsZero, borderRadiusValuesEqual, borderShapes, borders, boxShadow, boxShadowArraysEqual, boxShadowRadius, boxShadowReach, boxShadowsEqual, breakpoint, bufferSource, buildFontString, buildRenderList, buildSemanticsSubtree, buildSemanticsTree, bumpFontStack, bundle, canDecodeVideo, capturePointer, caretRectFor, caretVisibleAt, clampSize, clearFontStacks, clearLinkHover, clearMatchRanges, clearOverrideProperty, clearSelectionRange, clickOutside, closestPropertyName, colorToCss, colorToHex, colorToRgba, colorValuesEqual, colorsEqual, colorsEqualPalette, commandForKey, comparePositions, computeObjectFitRect, constraintsEqual, containerBands, contentOffset, contextMenu, contrastRatio, createCanvasSurface, createCanvasTextStyle, createElement, createEnvironmentKey, createPaintState, createTextCache, createTween, createWebGPUSurface, cubicBezier, cueAt, darkColors, darkTheme, decorated, decorationColor, decorationRect, defaultMotion, defaultShadows, defaultShapes, defaultSpacing, defaultTextStyle, defaultTypography, defaultVisualState, defineModifier, defineProperty, defineThemeExtension, demuxMp4Audio, demuxMp4Video, densityFactors, describeLength, describeOverrides, describeShortcut, detectEditingPlatform, diffSemantics, dragSessionFor, dragSource, draggable, drawOverlayShapes, drawText, dropIndexShifts, dropTarget, easings, edgeField, editableSpansOf, editingGroupOf, editorFor, editorOf, fade, fillTextRects, findEnvironmentKey, findMatchesIn, findPropertyDefinition, flattenTextSpans, focusRing, fontStackFor, formatConstraints, formatExplanation, formatShortcut, fr, getPropertyNames, glyphCount, gradientPaint, gradientsEqual, graphemeBoundaries, hasDecorationPhase, hasDrawnText, hasTextLinks, hasThemeExtension, hasVisualState, hiddenRangesOf, highContrastColors, hoverable, iconKey, iconSource, imageSource, inheritedPropertyFlags, inheritedPropertyNames, initializeWebGPU, inputsEqual, insetPadding, insetsEqual, interactive, interpolateColor, interpolateNumber, interpolateTransform, interpolatorFor, isAutoLength, isComponentLikeElement, isEditableNode, isFrLength, isLayoutProtocol, isMinMaxTrack, isMotionRest, isMultiline, isNodeFocusable, isNodeHitTestable, isNodeInert, isNodeSelectable, isNodeTabStop, isObservable, isPaintVisible, isPercentLength, isPrintable, isReadOnly, isScrollContainer, isShapeName, isTypographyRole, isUiChild, isUiElement, isUiModifier, isUiRole, isUiSemanticState, isVideoSurface, isWebGPUAvailable, labelNode, labelOrigin, layoutParagraph, layoutTextLines, lazySource, lightColors, lightTheme, lineEndAt, lineIndexAtY, lineIndexForOffset, lineLimit, lineStartAt, linear, linearGradient, linkHoverOf, linkOf, linkRunAtPointIn, markInstant, markNow, matchRangesOf, measure, measureSpan, minmax, motion, nextCaretToggle, nextGraphemeEnd, nextWordEnd, noInsets, noKeyModifiers, noModifiers, noThemeExtensions, normalizeBorderRadius, normalizeColor, normalizeStates, normalizeTextAlign, normalizeTransition, normalizeVerticalAlign, observeViewportInsets, offsetAtPoint, offsetAtPointIn, offsetAtX, offsetForVerticalMove, overrideSources, paintPictures, paintValuesEqual, paintsAfterChildren, paragraphGeometry, paragraphGeometryFrom, parseAlignContent, parseColor, parseCrossAxisAlignment, parseFlexDirection, parseMainAxisAlignment, parseShortcut, parseTransform, parseWebVtt, pathValuesEqual, percent, performanceMarksEnabled, pinchable, placeGridItems, pointerDeviceOf, pop, prepareInputSurface, pressable, previousGraphemeStart, previousWordStart, propertyEffects, propertyIsInherited, propertyValuesEqual, propertyValuesEqualByName, proportionalFontMetrics, provideEnvironment, publishInset, radialGradient, raiseContrast, rangeSource, readMp3Header, recordsEqual, registerFontStack, relativeLuminance, reorderable, repeat, replayPaint, resetOverrideWarnings, resetTransitionWarnings, resolveBoolean, resolveCursor, resolveLength, resolveMotionState, resolveNumber, resolvePaintState, resolveProperty, resolvePropertyByName, resolveString, resolvedSpansOf, rewalkSemantics, rgb8, rgba, rotateFrom, runCanvasStyleInto, runFontString, sameArgs, scaleFrom, scaleSpacing, scrollLeaderOf, scrollPosition, scrollRange, scrollbarThumb, scrollbarThumbs, scrollbarZoneAt, selectableTextNodes, selectableTextOf, selectionRangeOf, selectionRects, selectionRectsIn, semanticsInertAbove, semanticsMemory, setLinkHover, setMatchRanges, setPerformanceMarks, setSelectionRange, shadowsEqual, shapesEqual, sharedElement, sheetSource, shortcut, shortcutKeyCaps, shortcuts, sizeContainer, sizeGridTracks, slideDown, slideFrom, slideUp, spacingEqual, spacingSteps, spanAtOffset, spannedRunsFor, spannedTextOf, splitMp3Frames, spring, statesEqual, steps, syncEditorValue, textContentOf, textRunBackgrounds, textRunDecorations, textRunOfRecordId, textRuns, textSpansEqual, textStylesEqual, themeExtension, themeExtensionsEqual, themeTokens, themesEqual, tightenConstraints, touchActionFor, tracePathData, traceRoundedRect, transform, transformIsIdentity, transformsEqual, tween, typographyEqual, uniformBorderRadius, unknownContainerSize, validateGradient, validateRole, validateStates, validateSubgrid, videoFrameSize, videoSource, visualState, visualStatesEqual, wheelDeltaYOf, withContrast, withDensity, withOverrideSource, withThemeExtension, wordRangeAt, wordRangeIn, writeDeclaredProperty, writeOverrideProperty };
|
|
15510
|
+
export { AlignContent, AnimationDriver, BOX_SHADOW_BLUR_REACH, BUTTON_INTERACTION, Box, Button, CARET_BLINK_MS, CARET_WIDTH, CLIP_STRIDE_BYTES, CLIP_STRIDE_FLOATS, Canvas2DRenderer, CanvasPlatformSurface, CanvasSurface, CanvasTextMeasurer, CharacterCountTextMeasurer, Column, CommandKind, Constraints, CrossAxisAlignment, DEFAULT_BLOCK_SIZE, DEFAULT_FONT_FAMILY, DEFAULT_FONT_SIZE, DEFAULT_FONT_WEIGHT, DEFAULT_LINE_HEIGHT_FACTOR, DEFAULT_TEXT_COLOR, DefaultImageResolver, DefaultVideoResolver, DirtyFlags, DirtyNodeSet, EDITOR_PROP, ELLIPSIS, EMPTY_RECORDING, EXTERNAL_FILES, EditableLayout, EditableText, EditableTextModel, EnvironmentNotifier, FlexDirection, FocusNotifier, GLYPH_SUBPIXEL_PHASES, GlyphShaper, Grid, INSPECTOR_HEAT_MS, INSTANCE_STRIDE_BYTES, INSTANCE_STRIDE_FLOATS, IconRasterizer, LABEL_PADDING_X, LayoutEngine, LayoutInspector, LayoutNotifier, LayoutRecord, LazyColumn, LazyGrid, LazyRow, LazySheet, MARK_PREFIX, MAX_GRADIENT_STOPS, MAX_MEASURES_PER_CHILD, MOTION_CHANNELS, MOTION_REST, MOUSE_POINTER, MainAxisAlignment, Mp3Frames, NO_CLIP_INDEX, NodeTransitions, Paint, PaintPictureCache, PaintRecorder, PaintTarget, ParagraphTextMeasurer, PrimitiveKind, Responsive, Row, SCROLLBAR_FADE_MS, SCROLLBAR_HOVER_ZONE, SCROLLBAR_INSET, SCROLLBAR_LINGER_MS, SCROLLBAR_MIN_THUMB, SCROLLBAR_THICKNESS, ScrollView, Stack, TEXTURED_STRIDE_BYTES, TEXTURED_STRIDE_FLOATS, TEXT_MATCHES_PROP, TEXT_RUN_ID_SEPARATOR, TEXT_SELECTION_PROP, Text, UI_ROLES, UI_SEMANTIC_STATES, UI_SUBGRID_AXES, UiAnimation, UiAnimationFrameClock, UiBasicColors, UiBeforeInputEvent, UiBinding, UiBorderRadiuses, UiChildrenBinding, UiContainerSizeSource, UiDragSession, UiEditingController, UiEnvironment, UiEnvironmentKeys, UiEventBinding, UiEventType, UiFindController, UiFocusEvent, UiFocusManager, UiFrame, UiGestureEvent, UiGestureRecognizer, UiGraph, UiGraphBuilder, UiHitTester, UiHostFrameClock, UiInputDispatcher, UiInputEvent, UiInsetRegistry, UiKeyboardController, UiKeyboardEvent, UiManualFrameClock, UiModifierSet, UiNode, UiNodeType, UiPasteEvent, UiPinchEvent, UiPinchRecognizer, UiPlatformAdapter, UiPointerController, UiPointerEvent, UiProperties, UiScheduler, UiSelectionChangeEvent, UiSelectionController, UiSharedElements, UiShortcutRegistry, UiSpring, UiTextChangeEvent, UiTimerFrameClock, UiTouchScroller, UiTransforms, UiTween, UiUnknownModifierPropertyError, UiVirtualSheet, UiVirtualWindow, UiVisualState, UiWheelController, UiWheelDeltaMode, UiWheelEvent, VIRTUAL_INDEX_PROP, VIRTUAL_LEAD_PROP, VIRTUAL_SHEET_PROP, VIRTUAL_WINDOW_PROP, WebGPUError, WebGPUGlyphAtlas, WebGPUGlyphPages, WebGPURenderer, WebGPUSurface, WebGPUTextureCache, accumulatedOffsetTo, adjacentField, animateLayout, applyCanvasTextStyle, assertModifierList, assertTransitionMap, auto, autoFocus, bandOf, borderRadius, borderRadiusCorners, borderRadiusEqual, borderRadiusIsZero, borderRadiusValuesEqual, borderShapes, borders, boxShadow, boxShadowArraysEqual, boxShadowRadius, boxShadowReach, boxShadowsEqual, breakpoint, bufferSource, buildFontString, buildRenderList, buildSemanticsSubtree, buildSemanticsTree, bumpFontStack, bundle, canDecodeVideo, capturePointer, caretRectFor, caretVisibleAt, clampSize, clearFontStacks, clearLinkHover, clearMatchRanges, clearOverrideProperty, clearSelectionRange, clickOutside, closestPropertyName, colorToCss, colorToHex, colorToRgba, colorValuesEqual, colorsEqual, colorsEqualPalette, commandForKey, comparePositions, computeObjectFitRect, constraintsEqual, containerBands, contentOffset, contextMenu, contrastRatio, createCanvasSurface, createCanvasTextStyle, createElement, createEnvironmentKey, createPaintState, createTextCache, createTween, createWebGPUSurface, cubicBezier, cueAt, darkColors, darkTheme, decorated, decorationColor, decorationRect, defaultMotion, defaultShadows, defaultShapes, defaultSpacing, defaultTextStyle, defaultTypography, defaultVisualState, defineModifier, defineProperty, defineThemeExtension, demuxMp4Audio, demuxMp4Video, densityFactors, describeLength, describeOverrides, describeShortcut, detectEditingPlatform, diffSemantics, dragSessionFor, dragSource, draggable, drawOverlayShapes, drawText, dropIndexShifts, dropTarget, easings, edgeField, editableSpansOf, editingGroupOf, editorFor, editorOf, fade, fillTextRects, findEnvironmentKey, findMatchesIn, findPropertyDefinition, flattenTextSpans, focusRing, fontStackFor, formatConstraints, formatExplanation, formatShortcut, fr, getPropertyNames, glyphCount, gradientPaint, gradientsEqual, graphemeBoundaries, hasDecorationPhase, hasDrawnText, hasTextLinks, hasThemeExtension, hasVisualState, hiddenRangesOf, highContrastColors, hoverable, iconKey, iconSource, imageSource, inheritedPropertyFlags, inheritedPropertyNames, initializeWebGPU, inputsEqual, insetPadding, insetsEqual, interactive, interpolateColor, interpolateNumber, interpolateTransform, interpolatorFor, isAutoLength, isComponentLikeElement, isEditableNode, isFrLength, isLayoutProtocol, isMinMaxTrack, isMotionRest, isMultiline, isNodeFocusable, isNodeHitTestable, isNodeInert, isNodeSelectable, isNodeTabStop, isObservable, isPaintVisible, isPercentLength, isPrintable, isReadOnly, isScrollContainer, isShapeName, isTypographyRole, isUiChild, isUiElement, isUiModifier, isUiRole, isUiSemanticState, isVideoSurface, isWebGPUAvailable, labelNode, labelOrigin, layoutParagraph, layoutTextLines, lazySource, lightColors, lightTheme, lineEndAt, lineIndexAtY, lineIndexForOffset, lineLimit, lineStartAt, linear, linearGradient, linkHoverOf, linkOf, linkRunAtPointIn, markInstant, markNow, matchRangesOf, measure, measureFlow, measureSpan, minmax, motion, nextCaretToggle, nextGraphemeEnd, nextWordEnd, noInsets, noKeyModifiers, noModifiers, noThemeExtensions, normalizeBorderRadius, normalizeColor, normalizeStates, normalizeTextAlign, normalizeTransition, normalizeVerticalAlign, observeViewportInsets, offsetAtPoint, offsetAtPointIn, offsetAtX, offsetForVerticalMove, overrideSources, paintPictures, paintValuesEqual, paintsAfterChildren, paragraphGeometry, paragraphGeometryFrom, parseAlignContent, parseColor, parseCrossAxisAlignment, parseFlexDirection, parseMainAxisAlignment, parseShortcut, parseTransform, parseWebVtt, pathValuesEqual, percent, performanceMarksEnabled, pinchable, placeGridItems, pointerDeviceOf, pop, prepareInputSurface, pressable, previousGraphemeStart, previousWordStart, propertyEffects, propertyIsInherited, propertyValuesEqual, propertyValuesEqualByName, proportionalFontMetrics, provideEnvironment, publishInset, radialGradient, raiseContrast, rangeSource, readMp3Header, recordsEqual, registerFontStack, relativeLuminance, reorderable, repeat, replayPaint, resetOverrideWarnings, resetTransitionWarnings, resolveBoolean, resolveCursor, resolveLength, resolveMotionState, resolveNumber, resolvePaintState, resolveProperty, resolvePropertyByName, resolveString, resolvedSpansOf, rewalkSemantics, rgb8, rgba, rotateFrom, runCanvasStyleInto, runFontString, sameArgs, scaleFrom, scaleSpacing, scrollLeaderOf, scrollPosition, scrollRange, scrollbarThumb, scrollbarThumbs, scrollbarZoneAt, selectableTextNodes, selectableTextOf, selectionRangeOf, selectionRects, selectionRectsIn, semanticsInertAbove, semanticsMemory, setLinkHover, setMatchRanges, setPerformanceMarks, setSelectionRange, shadowsEqual, shapesEqual, sharedElement, sheetSource, shortcut, shortcutKeyCaps, shortcuts, sizeContainer, sizeGridTracks, slideDown, slideFrom, slideUp, spacingEqual, spacingSteps, spanAtOffset, spannedRunsFor, spannedTextOf, splitMp3Frames, spring, statesEqual, steps, syncEditorValue, textContentOf, textRunBackgrounds, textRunDecorations, textRunOfRecordId, textRuns, textSpansEqual, textStylesEqual, themeExtension, themeExtensionsEqual, themeTokens, themesEqual, tightenConstraints, touchActionFor, tracePathData, traceRoundedRect, transform, transformIsIdentity, transformsEqual, tween, typographyEqual, uniformBorderRadius, unknownContainerSize, validateGradient, validateRole, validateStates, validateSubgrid, videoFrameSize, videoSource, visualState, visualStatesEqual, wheelDeltaYOf, withContrast, withDensity, withOverrideSource, withThemeExtension, wordRangeAt, wordRangeIn, writeDeclaredProperty, writeOverrideProperty };
|
|
15473
15511
|
|
|
15474
15512
|
//# sourceMappingURL=index.js.map
|