diff --git a/tools/ui/node_modules/bits-ui/dist/bits/popover/popover.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/popover/popover.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..f7454fb0618ed0f98fce46628ab48ac0e3ae6b1b --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/popover/popover.svelte.d.ts @@ -0,0 +1,148 @@ +import { type ReadableBoxedValues, type WritableBoxedValues, DOMContext } from "svelte-toolbelt"; +import type { BitsFocusEvent, BitsKeyboardEvent, BitsMouseEvent, BitsPointerEvent, OnChangeFn, RefAttachment, WithRefOpts } from "../../internal/types.js"; +import type { Measurable } from "../../internal/floating-svelte/types.js"; +import { PresenceManager } from "../../internal/presence-manager.svelte.js"; +interface PopoverRootStateOpts extends WritableBoxedValues<{ + open: boolean; +}>, ReadableBoxedValues<{ + onOpenChangeComplete: OnChangeFn; +}> { +} +export declare class PopoverRootState { + #private; + static create(opts: PopoverRootStateOpts): PopoverRootState; + readonly opts: PopoverRootStateOpts; + contentNode: HTMLElement | null; + contentPresence: PresenceManager; + triggerNode: HTMLElement | null; + overlayNode: HTMLElement | null; + overlayPresence: PresenceManager; + openedViaHover: boolean; + hasInteractedWithContent: boolean; + hoverCooldown: boolean; + closeDelay: number; + constructor(opts: PopoverRootStateOpts); + setDomContext(ctx: DOMContext): void; + toggleOpen(): void; + handleClose(): void; + handleHoverOpen(): void; + handleHoverClose(): void; + handleDelayedHoverClose(): void; + cancelDelayedClose(): void; + markInteraction(): void; +} +interface PopoverTriggerStateOpts extends WithRefOpts, ReadableBoxedValues<{ + disabled: boolean; + openOnHover: boolean; + openDelay: number; + closeDelay: number; +}> { +} +export declare class PopoverTriggerState { + #private; + static create(opts: PopoverTriggerStateOpts): PopoverTriggerState; + readonly opts: PopoverTriggerStateOpts; + readonly root: PopoverRootState; + readonly attachment: RefAttachment; + readonly domContext: DOMContext; + constructor(opts: PopoverTriggerStateOpts, root: PopoverRootState); + onpointerenter(e: BitsPointerEvent): void; + onpointerleave(e: BitsPointerEvent): void; + onclick(e: BitsMouseEvent): void; + onkeydown(e: BitsKeyboardEvent): void; + readonly props: { + readonly id: string; + readonly "aria-haspopup": "dialog"; + readonly "aria-expanded": "true" | "false"; + readonly "data-state": "open" | "closed"; + readonly "aria-controls": string | undefined; + readonly disabled: boolean; + readonly onkeydown: (e: BitsKeyboardEvent) => void; + readonly onclick: (e: BitsMouseEvent) => void; + readonly onpointerenter: (e: BitsPointerEvent) => void; + readonly onpointerleave: (e: BitsPointerEvent) => void; + }; +} +interface PopoverContentStateOpts extends WithRefOpts, ReadableBoxedValues<{ + onInteractOutside: (e: PointerEvent) => void; + onEscapeKeydown: (e: KeyboardEvent) => void; + customAnchor: string | HTMLElement | null | Measurable; +}> { +} +export declare class PopoverContentState { + static create(opts: PopoverContentStateOpts): PopoverContentState; + readonly opts: PopoverContentStateOpts; + readonly root: PopoverRootState; + readonly attachment: RefAttachment; + constructor(opts: PopoverContentStateOpts, root: PopoverRootState); + onpointerdown(_: BitsPointerEvent): void; + onfocusin(e: BitsFocusEvent): void; + onpointerenter(e: BitsPointerEvent): void; + onpointerleave(e: BitsPointerEvent): void; + onInteractOutside: (e: PointerEvent) => void; + onEscapeKeydown: (e: KeyboardEvent) => void; + get shouldRender(): boolean; + get shouldTrapFocus(): boolean; + readonly snippetProps: { + open: boolean; + }; + readonly props: { + readonly style: { + readonly pointerEvents: "auto"; + readonly contain: "layout style"; + }; + readonly onpointerdown: (_: BitsPointerEvent) => void; + readonly onfocusin: (e: BitsFocusEvent) => void; + readonly onpointerenter: (e: BitsPointerEvent) => void; + readonly onpointerleave: (e: BitsPointerEvent) => void; + readonly "data-starting-style"?: ""; + readonly "data-ending-style"?: ""; + readonly id: string; + readonly tabindex: -1; + readonly "data-state": "open" | "closed"; + }; + readonly popperProps: { + onInteractOutside: (e: PointerEvent) => void; + onEscapeKeydown: (e: KeyboardEvent) => void; + }; +} +interface PopoverCloseStateOpts extends WithRefOpts { +} +export declare class PopoverCloseState { + static create(opts: PopoverCloseStateOpts): PopoverCloseState; + readonly opts: PopoverCloseStateOpts; + readonly root: PopoverRootState; + readonly attachment: RefAttachment; + constructor(opts: PopoverCloseStateOpts, root: PopoverRootState); + onclick(_: BitsPointerEvent): void; + onkeydown(e: BitsKeyboardEvent): void; + readonly props: { + readonly id: string; + readonly onclick: (_: BitsPointerEvent) => void; + readonly onkeydown: (e: BitsKeyboardEvent) => void; + readonly type: "button"; + }; +} +interface PopoverOverlayStateOpts extends WithRefOpts { +} +export declare class PopoverOverlayState { + static create(opts: PopoverOverlayStateOpts): PopoverOverlayState; + readonly opts: PopoverOverlayStateOpts; + readonly root: PopoverRootState; + readonly attachment: RefAttachment; + constructor(opts: PopoverOverlayStateOpts, root: PopoverRootState); + get shouldRender(): boolean; + readonly snippetProps: { + open: boolean; + }; + readonly props: { + readonly "data-starting-style"?: ""; + readonly "data-ending-style"?: ""; + readonly id: string; + readonly style: { + readonly pointerEvents: "auto"; + }; + readonly "data-state": "open" | "closed"; + }; +} +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/popover/popover.svelte.js b/tools/ui/node_modules/bits-ui/dist/bits/popover/popover.svelte.js new file mode 100644 index 0000000000000000000000000000000000000000..e9f1ad496e1beb3ed513814ae5c7d8b9debcef91 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/popover/popover.svelte.js @@ -0,0 +1,404 @@ +import { attachRef, boxWith, DOMContext, } from "svelte-toolbelt"; +import { Context, watch } from "runed"; +import { kbd } from "../../internal/kbd.js"; +import { createBitsAttrs, boolToStr, getDataOpenClosed, getDataTransitionAttrs, } from "../../internal/attrs.js"; +import { isElement, isTouch } from "../../internal/is.js"; +import { PresenceManager } from "../../internal/presence-manager.svelte.js"; +import { SafePolygon } from "../../internal/safe-polygon.svelte.js"; +import { isTabbable } from "tabbable"; +const popoverAttrs = createBitsAttrs({ + component: "popover", + parts: ["root", "trigger", "content", "close", "overlay"], +}); +const PopoverRootContext = new Context("Popover.Root"); +export class PopoverRootState { + static create(opts) { + return PopoverRootContext.set(new PopoverRootState(opts)); + } + opts; + contentNode = $state(null); + contentPresence; + triggerNode = $state(null); + overlayNode = $state(null); + overlayPresence; + // hover tracking state + openedViaHover = $state(false); + hasInteractedWithContent = $state(false); + hoverCooldown = $state(false); + closeDelay = $state(0); + #closeTimeout = null; + #domContext = null; + constructor(opts) { + this.opts = opts; + this.contentPresence = new PresenceManager({ + ref: boxWith(() => this.contentNode), + open: this.opts.open, + onComplete: () => { + this.opts.onOpenChangeComplete.current(this.opts.open.current); + }, + }); + this.overlayPresence = new PresenceManager({ + ref: boxWith(() => this.overlayNode), + open: this.opts.open, + }); + watch(() => this.opts.open.current, (isOpen) => { + if (!isOpen) { + this.openedViaHover = false; + this.hasInteractedWithContent = false; + this.#clearCloseTimeout(); + } + }); + } + setDomContext(ctx) { + this.#domContext = ctx; + } + #clearCloseTimeout() { + if (this.#closeTimeout !== null && this.#domContext) { + this.#domContext.clearTimeout(this.#closeTimeout); + this.#closeTimeout = null; + } + } + toggleOpen() { + this.#clearCloseTimeout(); + this.opts.open.current = !this.opts.open.current; + } + handleClose() { + this.#clearCloseTimeout(); + if (!this.opts.open.current) + return; + this.opts.open.current = false; + } + handleHoverOpen() { + this.#clearCloseTimeout(); + if (this.opts.open.current) + return; + this.openedViaHover = true; + this.opts.open.current = true; + } + handleHoverClose() { + if (!this.opts.open.current) + return; + // only close if opened via hover and user hasn't interacted with content + if (this.openedViaHover && !this.hasInteractedWithContent) { + this.opts.open.current = false; + } + } + handleDelayedHoverClose() { + if (!this.opts.open.current) + return; + if (!this.openedViaHover || this.hasInteractedWithContent) + return; + this.#clearCloseTimeout(); + if (this.closeDelay <= 0) { + this.opts.open.current = false; + } + else if (this.#domContext) { + this.#closeTimeout = this.#domContext.setTimeout(() => { + if (this.openedViaHover && !this.hasInteractedWithContent) { + this.opts.open.current = false; + } + this.#closeTimeout = null; + }, this.closeDelay); + } + } + cancelDelayedClose() { + this.#clearCloseTimeout(); + } + markInteraction() { + this.hasInteractedWithContent = true; + this.#clearCloseTimeout(); + } +} +export class PopoverTriggerState { + static create(opts) { + return new PopoverTriggerState(opts, PopoverRootContext.get()); + } + opts; + root; + attachment; + domContext; + #openTimeout = null; + #closeTimeout = null; + #isHovering = $state(false); + constructor(opts, root) { + this.opts = opts; + this.root = root; + this.attachment = attachRef(this.opts.ref, (v) => (this.root.triggerNode = v)); + this.domContext = new DOMContext(opts.ref); + this.root.setDomContext(this.domContext); + this.onclick = this.onclick.bind(this); + this.onkeydown = this.onkeydown.bind(this); + this.onpointerenter = this.onpointerenter.bind(this); + this.onpointerleave = this.onpointerleave.bind(this); + watch(() => this.opts.closeDelay.current, (delay) => { + this.root.closeDelay = delay; + }); + } + #clearOpenTimeout() { + if (this.#openTimeout !== null) { + this.domContext.clearTimeout(this.#openTimeout); + this.#openTimeout = null; + } + } + #clearCloseTimeout() { + if (this.#closeTimeout !== null) { + this.domContext.clearTimeout(this.#closeTimeout); + this.#closeTimeout = null; + } + } + #clearAllTimeouts() { + this.#clearOpenTimeout(); + this.#clearCloseTimeout(); + } + onpointerenter(e) { + if (this.opts.disabled.current) + return; + if (!this.opts.openOnHover.current) + return; + if (isTouch(e)) + return; + this.#isHovering = true; + this.#clearCloseTimeout(); + this.root.cancelDelayedClose(); + if (this.root.opts.open.current || this.root.hoverCooldown) + return; + const delay = this.opts.openDelay.current; + if (delay <= 0) { + this.root.handleHoverOpen(); + } + else { + this.#openTimeout = this.domContext.setTimeout(() => { + this.root.handleHoverOpen(); + this.#openTimeout = null; + }, delay); + } + } + onpointerleave(e) { + if (this.opts.disabled.current) + return; + if (!this.opts.openOnHover.current) + return; + if (isTouch(e)) + return; + this.#isHovering = false; + this.#clearOpenTimeout(); + this.root.hoverCooldown = false; + // let GraceArea handle the close - it will call handleHoverClose via onPointerExit + // we just need to stop any pending open timer + } + onclick(e) { + if (this.opts.disabled.current) + return; + if (e.button !== 0) + return; + this.#clearAllTimeouts(); + // if clicked while hovering and popover is open, convert to click-based open + if (this.#isHovering && this.root.opts.open.current && this.root.openedViaHover) { + this.root.openedViaHover = false; + this.root.hasInteractedWithContent = true; + return; + } + // if closing while hovering with openOnHover enabled, set cooldown to prevent + // immediate re-open via hover + if (this.#isHovering && this.opts.openOnHover.current && this.root.opts.open.current) { + this.root.hoverCooldown = true; + } + // if clicking to open while in cooldown, reset cooldown (explicit open) + if (this.root.hoverCooldown && !this.root.opts.open.current) { + this.root.hoverCooldown = false; + } + this.root.toggleOpen(); + } + onkeydown(e) { + if (this.opts.disabled.current) + return; + if (!(e.key === kbd.ENTER || e.key === kbd.SPACE)) + return; + e.preventDefault(); + this.#clearAllTimeouts(); + this.root.toggleOpen(); + } + #getAriaControls() { + if (this.root.opts.open.current && this.root.contentNode?.id) { + return this.root.contentNode?.id; + } + } + props = $derived.by(() => ({ + id: this.opts.id.current, + "aria-haspopup": "dialog", + "aria-expanded": boolToStr(this.root.opts.open.current), + "data-state": getDataOpenClosed(this.root.opts.open.current), + "aria-controls": this.#getAriaControls(), + [popoverAttrs.trigger]: "", + disabled: this.opts.disabled.current, + // + onkeydown: this.onkeydown, + onclick: this.onclick, + onpointerenter: this.onpointerenter, + onpointerleave: this.onpointerleave, + ...this.attachment, + })); +} +export class PopoverContentState { + static create(opts) { + return new PopoverContentState(opts, PopoverRootContext.get()); + } + opts; + root; + attachment; + constructor(opts, root) { + this.opts = opts; + this.root = root; + this.attachment = attachRef(this.opts.ref, (v) => (this.root.contentNode = v)); + this.onpointerdown = this.onpointerdown.bind(this); + this.onfocusin = this.onfocusin.bind(this); + this.onpointerenter = this.onpointerenter.bind(this); + this.onpointerleave = this.onpointerleave.bind(this); + new SafePolygon({ + triggerNode: () => this.root.triggerNode, + contentNode: () => this.root.contentNode, + enabled: () => this.root.opts.open.current && + this.root.openedViaHover && + !this.root.hasInteractedWithContent, + onPointerExit: () => { + this.root.handleDelayedHoverClose(); + }, + }); + } + onpointerdown(_) { + this.root.markInteraction(); + } + onfocusin(e) { + const target = e.target; + if (isElement(target) && isTabbable(target)) { + this.root.markInteraction(); + } + } + onpointerenter(e) { + if (isTouch(e)) + return; + this.root.cancelDelayedClose(); + } + onpointerleave(e) { + if (isTouch(e)) + return; + // handled by grace area + } + onInteractOutside = (e) => { + this.opts.onInteractOutside.current(e); + if (e.defaultPrevented) + return; + if (!isElement(e.target)) + return; + const closestTrigger = e.target.closest(popoverAttrs.selector("trigger")); + if (closestTrigger && closestTrigger === this.root.triggerNode) + return; + if (this.opts.customAnchor.current) { + if (isElement(this.opts.customAnchor.current)) { + if (this.opts.customAnchor.current.contains(e.target)) + return; + } + else if (typeof this.opts.customAnchor.current === "string") { + const el = document.querySelector(this.opts.customAnchor.current); + if (el && el.contains(e.target)) + return; + } + } + this.root.handleClose(); + }; + onEscapeKeydown = (e) => { + this.opts.onEscapeKeydown.current(e); + if (e.defaultPrevented) + return; + this.root.handleClose(); + }; + get shouldRender() { + return this.root.contentPresence.shouldRender; + } + get shouldTrapFocus() { + if (this.root.openedViaHover && !this.root.hasInteractedWithContent) + return false; + return true; + } + snippetProps = $derived.by(() => ({ open: this.root.opts.open.current })); + props = $derived.by(() => ({ + id: this.opts.id.current, + tabindex: -1, + "data-state": getDataOpenClosed(this.root.opts.open.current), + ...getDataTransitionAttrs(this.root.contentPresence.transitionStatus), + [popoverAttrs.content]: "", + style: { + pointerEvents: "auto", + // CSS containment isolates style/layout/paint calculations from the rest of the page + contain: "layout style", + }, + onpointerdown: this.onpointerdown, + onfocusin: this.onfocusin, + onpointerenter: this.onpointerenter, + onpointerleave: this.onpointerleave, + ...this.attachment, + })); + popperProps = { + onInteractOutside: this.onInteractOutside, + onEscapeKeydown: this.onEscapeKeydown, + }; +} +export class PopoverCloseState { + static create(opts) { + return new PopoverCloseState(opts, PopoverRootContext.get()); + } + opts; + root; + attachment; + constructor(opts, root) { + this.opts = opts; + this.root = root; + this.attachment = attachRef(this.opts.ref); + this.onclick = this.onclick.bind(this); + this.onkeydown = this.onkeydown.bind(this); + } + onclick(_) { + this.root.handleClose(); + } + onkeydown(e) { + if (!(e.key === kbd.ENTER || e.key === kbd.SPACE)) + return; + e.preventDefault(); + this.root.handleClose(); + } + props = $derived.by(() => ({ + id: this.opts.id.current, + onclick: this.onclick, + onkeydown: this.onkeydown, + type: "button", + [popoverAttrs.close]: "", + ...this.attachment, + })); +} +export class PopoverOverlayState { + static create(opts) { + return new PopoverOverlayState(opts, PopoverRootContext.get()); + } + opts; + root; + attachment; + constructor(opts, root) { + this.opts = opts; + this.root = root; + this.attachment = attachRef(this.opts.ref, (v) => (this.root.overlayNode = v)); + } + get shouldRender() { + return this.root.overlayPresence.shouldRender; + } + snippetProps = $derived.by(() => ({ open: this.root.opts.open.current })); + props = $derived.by(() => ({ + id: this.opts.id.current, + [popoverAttrs.overlay]: "", + style: { + pointerEvents: "auto", + }, + "data-state": getDataOpenClosed(this.root.opts.open.current), + ...getDataTransitionAttrs(this.root.overlayPresence.transitionStatus), + ...this.attachment, + })); +} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/popover/types.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/popover/types.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..66bd3eb84a7f4c00967eb4ececd96f73acd7cf69 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/popover/types.d.ts @@ -0,0 +1,57 @@ +import type { ArrowProps, ArrowPropsWithoutHTML } from "../utilities/arrow/types.js"; +import type { PopperLayerProps, PopperLayerStaticProps } from "../utilities/popper-layer/types.js"; +import type { OnChangeFn, WithChild, WithChildNoChildrenSnippetProps, WithChildren, Without } from "../../internal/types.js"; +import type { BitsPrimitiveButtonAttributes, BitsPrimitiveDivAttributes } from "../../shared/attributes.js"; +import type { FloatingContentSnippetProps, StaticContentSnippetProps } from "../../shared/types.js"; +import type { PortalProps } from "../../types.js"; +import type { PresenceLayerProps } from "../utilities/presence-layer/types.js"; +export type PopoverRootPropsWithoutHTML = WithChildren<{ + /** + * The open state of the popover. + */ + open?: boolean; + /** + * A callback that is called when the popover's open state changes. + */ + onOpenChange?: OnChangeFn; + /** + * A callback that is called when the popover's open state changes and the animation is complete. + */ + onOpenChangeComplete?: OnChangeFn; +}>; +export type PopoverRootProps = PopoverRootPropsWithoutHTML; +export type PopoverContentPropsWithoutHTML = WithChildNoChildrenSnippetProps, FloatingContentSnippetProps>; +export type PopoverContentProps = PopoverContentPropsWithoutHTML & Without; +export type PopoverContentStaticPropsWithoutHTML = WithChildNoChildrenSnippetProps, StaticContentSnippetProps>; +export type PopoverContentStaticProps = PopoverContentStaticPropsWithoutHTML & Without; +export type PopoverTriggerPropsWithoutHTML = WithChild<{ + /** + * Whether the popover should open when the trigger is hovered. + * @default false + */ + openOnHover?: boolean; + /** + * How long to wait before opening the popover on hover (ms). + * Only applies when `openOnHover` is `true`. + * @default 700 + */ + openDelay?: number; + /** + * How long to wait before closing the popover after hover ends (ms). + * Only applies when `openOnHover` is `true`. + * @default 300 + */ + closeDelay?: number; +}>; +export type PopoverTriggerProps = PopoverTriggerPropsWithoutHTML & Without; +export type PopoverClosePropsWithoutHTML = WithChild; +export type PopoverCloseProps = PopoverClosePropsWithoutHTML & Without; +export type PopoverArrowPropsWithoutHTML = ArrowPropsWithoutHTML; +export type PopoverArrowProps = ArrowProps; +export type PopoverPortalPropsWithoutHTML = PortalProps; +export type PopoverPortalProps = PortalProps; +export type PopoverOverlaySnippetProps = { + open: boolean; +}; +export type PopoverOverlayPropsWithoutHTML = WithChild; +export type PopoverOverlayProps = PopoverOverlayPropsWithoutHTML & Without; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/popover/types.js b/tools/ui/node_modules/bits-ui/dist/bits/popover/types.js new file mode 100644 index 0000000000000000000000000000000000000000..cb0ff5c3b541f646105198ee23ac0fc3d805023e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/popover/types.js @@ -0,0 +1 @@ +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/progress/components/progress.svelte b/tools/ui/node_modules/bits-ui/dist/bits/progress/components/progress.svelte new file mode 100644 index 0000000000000000000000000000000000000000..c4fa2cc2e1d9cb99aaf4bfd651e236c041fa2e03 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/progress/components/progress.svelte @@ -0,0 +1,40 @@ + + +{#if child} + {@render child({ props: mergedProps })} +{:else} +
+ {@render children?.()} +
+{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/progress/components/progress.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/progress/components/progress.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d003478b8970c519569d680f644468052f2342e5 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/progress/components/progress.svelte.d.ts @@ -0,0 +1,4 @@ +import type { ProgressRootProps } from "../types.js"; +declare const Progress: import("svelte").Component; +type Progress = ReturnType; +export default Progress; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/progress/exports.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/progress/exports.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..17c3ed81218b0bd35e07490576314d94f01276bb --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/progress/exports.d.ts @@ -0,0 +1,2 @@ +export { default as Root } from "./components/progress.svelte"; +export type { ProgressRootProps as RootProps } from "./types.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/progress/exports.js b/tools/ui/node_modules/bits-ui/dist/bits/progress/exports.js new file mode 100644 index 0000000000000000000000000000000000000000..7dd2f001bf4921295f443933bba3c62f8b914c90 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/progress/exports.js @@ -0,0 +1 @@ +export { default as Root } from "./components/progress.svelte"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/progress/index.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/progress/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..451a9f5ad34ecca352a0615b751f0a0129931993 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/progress/index.d.ts @@ -0,0 +1 @@ +export * as Progress from "./exports.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/progress/index.js b/tools/ui/node_modules/bits-ui/dist/bits/progress/index.js new file mode 100644 index 0000000000000000000000000000000000000000..451a9f5ad34ecca352a0615b751f0a0129931993 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/progress/index.js @@ -0,0 +1 @@ +export * as Progress from "./exports.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/progress/progress.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/progress/progress.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0c4a864d071148b16998d74d78b4e1b43cd6694d --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/progress/progress.svelte.d.ts @@ -0,0 +1,27 @@ +import { type ReadableBoxedValues } from "svelte-toolbelt"; +import type { RefAttachment, WithRefOpts } from "../../internal/types.js"; +interface ProgressRootStateOpts extends WithRefOpts, ReadableBoxedValues<{ + value: number | null; + max: number; + min: number; +}> { +} +export declare class ProgressRootState { + static create(opts: ProgressRootStateOpts): ProgressRootState; + readonly opts: ProgressRootStateOpts; + readonly attachment: RefAttachment; + constructor(opts: ProgressRootStateOpts); + readonly props: { + readonly role: "progressbar"; + readonly value: number | null; + readonly "aria-valuemin": number; + readonly "aria-valuemax": number; + readonly "aria-valuenow": number | undefined; + readonly "data-value": number | undefined; + readonly "data-state": "indeterminate" | "loading" | "loaded"; + readonly "data-max": number; + readonly "data-min": number; + readonly "data-indeterminate": "" | undefined; + }; +} +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/progress/progress.svelte.js b/tools/ui/node_modules/bits-ui/dist/bits/progress/progress.svelte.js new file mode 100644 index 0000000000000000000000000000000000000000..f9bc4c959561a807663111dbe52e2bec2fb888ac --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/progress/progress.svelte.js @@ -0,0 +1,36 @@ +import { attachRef } from "svelte-toolbelt"; +import { createBitsAttrs } from "../../internal/attrs.js"; +const progressAttrs = createBitsAttrs({ + component: "progress", + parts: ["root"], +}); +export class ProgressRootState { + static create(opts) { + return new ProgressRootState(opts); + } + opts; + attachment; + constructor(opts) { + this.opts = opts; + this.attachment = attachRef(this.opts.ref); + } + props = $derived.by(() => ({ + role: "progressbar", + value: this.opts.value.current, + "aria-valuemin": this.opts.min.current, + "aria-valuemax": this.opts.max.current, + "aria-valuenow": this.opts.value.current === null ? undefined : this.opts.value.current, + "data-value": this.opts.value.current === null ? undefined : this.opts.value.current, + "data-state": getProgressDataState(this.opts.value.current, this.opts.max.current), + "data-max": this.opts.max.current, + "data-min": this.opts.min.current, + "data-indeterminate": this.opts.value.current === null ? "" : undefined, + [progressAttrs.root]: "", + ...this.attachment, + })); +} +function getProgressDataState(value, max) { + if (value === null) + return "indeterminate"; + return value === max ? "loaded" : "loading"; +} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/progress/types.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/progress/types.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..44126c5a228ee76058f9f9607ff338e4e3ec5ff3 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/progress/types.d.ts @@ -0,0 +1,24 @@ +import type { WithChild, Without } from "../../internal/types.js"; +import type { BitsPrimitiveDivAttributes } from "../../shared/attributes.js"; +export type ProgressRootPropsWithoutHTML = WithChild<{ + /** + * The current value of the progress bar. + * If `null`, the progress bar will be in an indeterminate state. + * + * @default 0 + */ + value?: number | null; + /** + * The maximum value of the progress bar. + * + * @default 100 + */ + max?: number; + /** + * The minimum value of the progress bar. + * + * @default 0 + */ + min?: number; +}>; +export type ProgressRootProps = ProgressRootPropsWithoutHTML & Without; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/progress/types.js b/tools/ui/node_modules/bits-ui/dist/bits/progress/types.js new file mode 100644 index 0000000000000000000000000000000000000000..cb0ff5c3b541f646105198ee23ac0fc3d805023e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/progress/types.js @@ -0,0 +1 @@ +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/radio-group/components/radio-group-input.svelte b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/components/radio-group-input.svelte new file mode 100644 index 0000000000000000000000000000000000000000..35da88fcc2c825e2935b549fba6805daf97a2ace --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/components/radio-group-input.svelte @@ -0,0 +1,10 @@ + + +{#if inputState.shouldRender} + +{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/radio-group/components/radio-group-input.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/components/radio-group-input.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..4c013f39a27f0b4b694cdd1bba6a67373b63a25e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/components/radio-group-input.svelte.d.ts @@ -0,0 +1,18 @@ +interface $$__sveltets_2_IsomorphicComponent = any, Events extends Record = any, Slots extends Record = any, Exports = {}, Bindings = string> { + new (options: import('svelte').ComponentConstructorOptions): import('svelte').SvelteComponent & { + $$bindings?: Bindings; + } & Exports; + (internal: unknown, props: { + $$events?: Events; + $$slots?: Slots; + }): Exports & { + $set?: any; + $on?: any; + }; + z_$$bindings?: Bindings; +} +declare const RadioGroupInput: $$__sveltets_2_IsomorphicComponent, { + [evt: string]: CustomEvent; +}, {}, {}, string>; +type RadioGroupInput = InstanceType; +export default RadioGroupInput; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/radio-group/components/radio-group-item.svelte b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/components/radio-group-item.svelte new file mode 100644 index 0000000000000000000000000000000000000000..200652b5e3a9eaab6fb151e25a8074f44b723a5f --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/components/radio-group-item.svelte @@ -0,0 +1,38 @@ + + +{#if child} + {@render child({ props: mergedProps, ...itemState.snippetProps })} +{:else} + +{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/radio-group/components/radio-group-item.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/components/radio-group-item.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..1cc6eefde9ad6e901f653c2f79772d0b8f82820e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/components/radio-group-item.svelte.d.ts @@ -0,0 +1,4 @@ +import type { RadioGroupItemProps } from "../types.js"; +declare const RadioGroupItem: import("svelte").Component; +type RadioGroupItem = ReturnType; +export default RadioGroupItem; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/radio-group/components/radio-group.svelte b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/components/radio-group.svelte new file mode 100644 index 0000000000000000000000000000000000000000..3788c115aebc7935407cad69913a452b8f7016a8 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/components/radio-group.svelte @@ -0,0 +1,60 @@ + + +{#if child} + {@render child({ props: mergedProps })} +{:else} +
+ {@render children?.()} +
+{/if} + + diff --git a/tools/ui/node_modules/bits-ui/dist/bits/radio-group/components/radio-group.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/components/radio-group.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..5a457a4416eeedbbf5bc6787d8ec927c875ddff2 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/components/radio-group.svelte.d.ts @@ -0,0 +1,4 @@ +import type { RadioGroupRootProps } from "../types.js"; +declare const RadioGroup: import("svelte").Component; +type RadioGroup = ReturnType; +export default RadioGroup; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/radio-group/exports.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/exports.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..77b197a4c59cba2f14fa7c9c532d25d7a9583525 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/exports.d.ts @@ -0,0 +1,3 @@ +export { default as Root } from "./components/radio-group.svelte"; +export { default as Item } from "./components/radio-group-item.svelte"; +export type { RadioGroupRootProps as RootProps, RadioGroupItemProps as ItemProps, } from "./types.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/radio-group/exports.js b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/exports.js new file mode 100644 index 0000000000000000000000000000000000000000..045ca1d78e497206cd6fbd2ef87809e1ef5a6551 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/exports.js @@ -0,0 +1,2 @@ +export { default as Root } from "./components/radio-group.svelte"; +export { default as Item } from "./components/radio-group-item.svelte"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/radio-group/index.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..16ab88fa5b05bc2051faf7471afe4f9885eb6ff5 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/index.d.ts @@ -0,0 +1 @@ +export * as RadioGroup from "./exports.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/radio-group/index.js b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/index.js new file mode 100644 index 0000000000000000000000000000000000000000..16ab88fa5b05bc2051faf7471afe4f9885eb6ff5 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/index.js @@ -0,0 +1 @@ +export * as RadioGroup from "./exports.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/radio-group/radio-group.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/radio-group.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..5514105a36b679c9ef22f067462ee99381dbdf3c --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/radio-group.svelte.d.ts @@ -0,0 +1,86 @@ +import { type ReadableBoxedValues, type WritableBoxedValues } from "svelte-toolbelt"; +import type { BitsFocusEvent, BitsKeyboardEvent, BitsMouseEvent, RefAttachment, WithRefOpts } from "../../internal/types.js"; +import type { Orientation } from "../../shared/index.js"; +import { RovingFocusGroup } from "../../internal/roving-focus-group.js"; +interface RadioGroupRootStateOpts extends WithRefOpts, ReadableBoxedValues<{ + disabled: boolean; + required: boolean; + loop: boolean; + orientation: Orientation; + name: string | undefined; + readonly: boolean; +}>, WritableBoxedValues<{ + value: string; +}> { +} +export declare class RadioGroupRootState { + static create(opts: RadioGroupRootStateOpts): RadioGroupRootState; + readonly opts: RadioGroupRootStateOpts; + readonly hasValue: boolean; + readonly rovingFocusGroup: RovingFocusGroup; + readonly attachment: RefAttachment; + constructor(opts: RadioGroupRootStateOpts); + isChecked(value: string): boolean; + setValue(value: string): void; + readonly props: { + readonly id: string; + readonly role: "radiogroup"; + readonly "aria-required": "true" | "false"; + readonly "aria-disabled": "true" | "false"; + readonly "aria-readonly": "true" | undefined; + readonly "data-disabled": "" | undefined; + readonly "data-readonly": "" | undefined; + readonly "data-orientation": Orientation; + }; +} +interface RadioGroupItemStateOpts extends WithRefOpts, ReadableBoxedValues<{ + disabled: boolean; + value: string; +}> { +} +export declare class RadioGroupItemState { + #private; + static create(opts: RadioGroupItemStateOpts): RadioGroupItemState; + readonly opts: RadioGroupItemStateOpts; + readonly root: RadioGroupRootState; + readonly attachment: RefAttachment; + readonly checked: boolean; + constructor(opts: RadioGroupItemStateOpts, root: RadioGroupRootState); + onclick(_: BitsMouseEvent): void; + onfocus(_: BitsFocusEvent): void; + onkeydown(e: BitsKeyboardEvent): void; + readonly snippetProps: { + checked: boolean; + }; + readonly props: { + readonly id: string; + readonly disabled: true | undefined; + readonly "data-value": string; + readonly "data-orientation": Orientation; + readonly "data-disabled": "" | undefined; + readonly "data-readonly": "" | undefined; + readonly "data-state": "checked" | "unchecked"; + readonly "aria-checked": "true" | "false" | "mixed"; + readonly type: "button"; + readonly role: "radio"; + readonly tabindex: number; + readonly onkeydown: (e: BitsKeyboardEvent) => void; + readonly onfocus: (_: BitsFocusEvent) => void; + readonly onclick: (_: BitsMouseEvent) => void; + }; +} +export declare class RadioGroupInputState { + static create(): RadioGroupInputState; + readonly root: RadioGroupRootState; + readonly shouldRender: boolean; + constructor(root: RadioGroupRootState); + onfocus(_: BitsFocusEvent): void; + readonly props: { + readonly name: string | undefined; + readonly value: string; + readonly required: boolean; + readonly disabled: boolean; + readonly onfocus: (_: BitsFocusEvent) => void; + }; +} +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/radio-group/radio-group.svelte.js b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/radio-group.svelte.js new file mode 100644 index 0000000000000000000000000000000000000000..b4c55f7b470fcbd81a68ae302d292218532250fb --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/radio-group.svelte.js @@ -0,0 +1,147 @@ +import { attachRef } from "svelte-toolbelt"; +import { Context, watch } from "runed"; +import { createBitsAttrs, getAriaChecked, boolToEmptyStrOrUndef, boolToStr, } from "../../internal/attrs.js"; +import { kbd } from "../../internal/kbd.js"; +import { RovingFocusGroup } from "../../internal/roving-focus-group.js"; +const radioGroupAttrs = createBitsAttrs({ + component: "radio-group", + parts: ["root", "item"], +}); +const RadioGroupRootContext = new Context("RadioGroup.Root"); +export class RadioGroupRootState { + static create(opts) { + return RadioGroupRootContext.set(new RadioGroupRootState(opts)); + } + opts; + hasValue = $derived.by(() => this.opts.value.current !== ""); + rovingFocusGroup; + attachment; + constructor(opts) { + this.opts = opts; + this.attachment = attachRef(this.opts.ref); + this.rovingFocusGroup = new RovingFocusGroup({ + rootNode: this.opts.ref, + candidateAttr: radioGroupAttrs.item, + loop: this.opts.loop, + orientation: this.opts.orientation, + }); + } + isChecked(value) { + return this.opts.value.current === value; + } + setValue(value) { + this.opts.value.current = value; + } + props = $derived.by(() => ({ + id: this.opts.id.current, + role: "radiogroup", + "aria-required": boolToStr(this.opts.required.current), + "aria-disabled": boolToStr(this.opts.disabled.current), + "aria-readonly": this.opts.readonly.current ? "true" : undefined, + "data-disabled": boolToEmptyStrOrUndef(this.opts.disabled.current), + "data-readonly": boolToEmptyStrOrUndef(this.opts.readonly.current), + "data-orientation": this.opts.orientation.current, + [radioGroupAttrs.root]: "", + ...this.attachment, + })); +} +export class RadioGroupItemState { + static create(opts) { + return new RadioGroupItemState(opts, RadioGroupRootContext.get()); + } + opts; + root; + attachment; + checked = $derived.by(() => this.root.opts.value.current === this.opts.value.current); + #isDisabled = $derived.by(() => this.opts.disabled.current || this.root.opts.disabled.current); + #isReadonly = $derived.by(() => this.root.opts.readonly.current); + #isChecked = $derived.by(() => this.root.isChecked(this.opts.value.current)); + #tabIndex = $state(-1); + constructor(opts, root) { + this.opts = opts; + this.root = root; + this.attachment = attachRef(this.opts.ref); + if (this.opts.value.current === this.root.opts.value.current) { + this.root.rovingFocusGroup.setCurrentTabStopId(this.opts.id.current); + this.#tabIndex = 0; + } + else if (!this.root.opts.value.current) { + this.#tabIndex = 0; + } + $effect(() => { + this.#tabIndex = this.root.rovingFocusGroup.getTabIndex(this.opts.ref.current); + }); + watch([() => this.opts.value.current, () => this.root.opts.value.current], () => { + if (this.opts.value.current === this.root.opts.value.current) { + this.root.rovingFocusGroup.setCurrentTabStopId(this.opts.id.current); + this.#tabIndex = 0; + } + }); + this.onclick = this.onclick.bind(this); + this.onkeydown = this.onkeydown.bind(this); + this.onfocus = this.onfocus.bind(this); + } + onclick(_) { + if (this.opts.disabled.current || this.#isReadonly) + return; + this.root.setValue(this.opts.value.current); + } + onfocus(_) { + if (!this.root.hasValue || this.#isReadonly) + return; + this.root.setValue(this.opts.value.current); + } + onkeydown(e) { + if (this.#isDisabled) + return; + if (e.key === kbd.SPACE) { + e.preventDefault(); + if (!this.#isReadonly) { + this.root.setValue(this.opts.value.current); + } + return; + } + this.root.rovingFocusGroup.handleKeydown(this.opts.ref.current, e, true); + } + snippetProps = $derived.by(() => ({ checked: this.#isChecked })); + props = $derived.by(() => ({ + id: this.opts.id.current, + disabled: this.#isDisabled ? true : undefined, + "data-value": this.opts.value.current, + "data-orientation": this.root.opts.orientation.current, + "data-disabled": boolToEmptyStrOrUndef(this.#isDisabled), + "data-readonly": boolToEmptyStrOrUndef(this.#isReadonly), + "data-state": this.#isChecked ? "checked" : "unchecked", + "aria-checked": getAriaChecked(this.#isChecked, false), + [radioGroupAttrs.item]: "", + type: "button", + role: "radio", + tabindex: this.#tabIndex, + // + onkeydown: this.onkeydown, + onfocus: this.onfocus, + onclick: this.onclick, + ...this.attachment, + })); +} +export class RadioGroupInputState { + static create() { + return new RadioGroupInputState(RadioGroupRootContext.get()); + } + root; + shouldRender = $derived.by(() => this.root.opts.name.current !== undefined); + constructor(root) { + this.root = root; + this.onfocus = this.onfocus.bind(this); + } + onfocus(_) { + this.root.rovingFocusGroup.focusCurrentTabStop(); + } + props = $derived.by(() => ({ + name: this.root.opts.name.current, + value: this.root.opts.value.current, + required: this.root.opts.required.current, + disabled: this.root.opts.disabled.current, + onfocus: this.onfocus, + })); +} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/radio-group/types.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/types.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..5bc9f209b7f116babeee4166bf9d563914910dcf --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/types.d.ts @@ -0,0 +1,73 @@ +import type { OnChangeFn, WithChild, Without } from "../../internal/types.js"; +import type { Orientation } from "../../index.js"; +import type { BitsPrimitiveButtonAttributes, BitsPrimitiveDivAttributes } from "../../shared/attributes.js"; +export type RadioGroupRootPropsWithoutHTML = WithChild<{ + /** + * The orientation of the radio group. Used to determine + * how keyboard navigation should work. + * + * @default "vertical" + */ + orientation?: Orientation; + /** + * Whether to loop around the radio items when navigating + * with the keyboard. + * + * @default true + */ + loop?: boolean; + /** + * The value of the selected radio item. + * + * @default "" + */ + value?: string; + /** + * The callback to call when the selected radio item changes. + */ + onValueChange?: OnChangeFn; + /** + * The name to apply to the radio group's input element for + * form submission. If not provided, a hidden input will not + * be rendered and the radio group will not be part of a form. + * + * @default undefined + */ + name?: string; + /** + * Whether the radio group is disabled. + * + * @default false + */ + disabled?: boolean; + /** + * Whether the radio group is required for form submission. + * If `true`, ensure you provide a `name` prop so the hidden + * input is rendered. + */ + required?: boolean; + /** + * Whether the radio group is readonly. When readonly, users can + * focus and navigate through items but cannot change the value. + * + * @default false + */ + readonly?: boolean; +}>; +export type RadioGroupRootProps = RadioGroupRootPropsWithoutHTML & Without; +export type RadioGroupItemSnippetProps = { + checked: boolean; +}; +export type RadioGroupItemPropsWithoutHTML = WithChild<{ + /** + * The value of the radio item. + */ + value: string; + /** + * Whether the radio item is disabled. + * + * @default false + */ + disabled?: boolean | null | undefined; +}, RadioGroupItemSnippetProps>; +export type RadioGroupItemProps = RadioGroupItemPropsWithoutHTML & Without; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/radio-group/types.js b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/types.js new file mode 100644 index 0000000000000000000000000000000000000000..cb0ff5c3b541f646105198ee23ac0fc3d805023e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/radio-group/types.js @@ -0,0 +1 @@ +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/components/range-calendar-cell.svelte b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/components/range-calendar-cell.svelte new file mode 100644 index 0000000000000000000000000000000000000000..9c8d0754581100799cdda950ea46aa131ee57abc --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/components/range-calendar-cell.svelte @@ -0,0 +1,38 @@ + + +{#if child} + {@render child({ props: mergedProps, ...cellState.snippetProps })} +{:else} + + {@render children?.(cellState.snippetProps)} + +{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/components/range-calendar-cell.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/components/range-calendar-cell.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..e7716176b7b2414bc8ea598b052a2a4bc1925fac --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/components/range-calendar-cell.svelte.d.ts @@ -0,0 +1,4 @@ +import type { RangeCalendarCellProps } from "../types.js"; +declare const RangeCalendarCell: import("svelte").Component; +type RangeCalendarCell = ReturnType; +export default RangeCalendarCell; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/components/range-calendar-day.svelte b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/components/range-calendar-day.svelte new file mode 100644 index 0000000000000000000000000000000000000000..49148868914a9c83586fc2e86994ec4685866fec --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/components/range-calendar-day.svelte @@ -0,0 +1,38 @@ + + +{#if child} + {@render child({ props: mergedProps, ...dayState.snippetProps })} +{:else} +
+ {#if children} + {@render children?.(dayState.snippetProps)} + {:else} + {dayState.cell.opts.date.current.day} + {/if} +
+{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/components/range-calendar-day.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/components/range-calendar-day.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..843c1e4edf2c0c58b2d0e5ee9cb6dd3219a81550 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/components/range-calendar-day.svelte.d.ts @@ -0,0 +1,4 @@ +import type { RangeCalendarDayProps } from "../types.js"; +declare const RangeCalendarDay: import("svelte").Component; +type RangeCalendarDay = ReturnType; +export default RangeCalendarDay; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/components/range-calendar.svelte b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/components/range-calendar.svelte new file mode 100644 index 0000000000000000000000000000000000000000..9c577f2649b797d2db4c1cbafacbb6f71d4b6246 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/components/range-calendar.svelte @@ -0,0 +1,153 @@ + + +{#if child} + {@render child({ props: mergedProps, ...rootState.snippetProps })} +{:else} +
+ {@render children?.(rootState.snippetProps)} +
+{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/components/range-calendar.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/components/range-calendar.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..94737215971067eb5316ee66f2bd2e0c0a93fddf --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/components/range-calendar.svelte.d.ts @@ -0,0 +1,4 @@ +import type { RangeCalendarRootProps } from "../types.js"; +declare const RangeCalendar: import("svelte").Component; +type RangeCalendar = ReturnType; +export default RangeCalendar; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/exports.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/exports.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..8adda5204108b4c66d680af727321a68b06c4268 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/exports.d.ts @@ -0,0 +1,15 @@ +export { default as Root } from "./components/range-calendar.svelte"; +export { default as Day } from "./components/range-calendar-day.svelte"; +export { default as Cell } from "./components/range-calendar-cell.svelte"; +export { default as Grid } from "../calendar/components/calendar-grid.svelte"; +export { default as GridBody } from "../calendar/components/calendar-grid-body.svelte"; +export { default as GridHead } from "../calendar/components/calendar-grid-head.svelte"; +export { default as HeadCell } from "../calendar/components/calendar-head-cell.svelte"; +export { default as GridRow } from "../calendar/components/calendar-grid-row.svelte"; +export { default as Header } from "../calendar/components/calendar-header.svelte"; +export { default as Heading } from "../calendar/components/calendar-heading.svelte"; +export { default as NextButton } from "../calendar/components/calendar-next-button.svelte"; +export { default as PrevButton } from "../calendar/components/calendar-prev-button.svelte"; +export { default as MonthSelect } from "../calendar/components/calendar-month-select.svelte"; +export { default as YearSelect } from "../calendar/components/calendar-year-select.svelte"; +export type { RangeCalendarRootProps as RootProps, RangeCalendarPrevButtonProps as PrevButtonProps, RangeCalendarNextButtonProps as NextButtonProps, RangeCalendarHeadingProps as HeadingProps, RangeCalendarHeaderProps as HeaderProps, RangeCalendarGridProps as GridProps, RangeCalendarGridHeadProps as GridHeadProps, RangeCalendarHeadCellProps as HeadCellProps, RangeCalendarGridBodyProps as GridBodyProps, RangeCalendarCellProps as CellProps, RangeCalendarGridRowProps as GridRowProps, RangeCalendarDayProps as DayProps, RangeCalendarMonthSelectProps as MonthSelectProps, RangeCalendarYearSelectProps as YearSelectProps, } from "./types.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/exports.js b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/exports.js new file mode 100644 index 0000000000000000000000000000000000000000..4e617069e5a63e12da69f310cda77131be44d9b0 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/exports.js @@ -0,0 +1,14 @@ +export { default as Root } from "./components/range-calendar.svelte"; +export { default as Day } from "./components/range-calendar-day.svelte"; +export { default as Cell } from "./components/range-calendar-cell.svelte"; +export { default as Grid } from "../calendar/components/calendar-grid.svelte"; +export { default as GridBody } from "../calendar/components/calendar-grid-body.svelte"; +export { default as GridHead } from "../calendar/components/calendar-grid-head.svelte"; +export { default as HeadCell } from "../calendar/components/calendar-head-cell.svelte"; +export { default as GridRow } from "../calendar/components/calendar-grid-row.svelte"; +export { default as Header } from "../calendar/components/calendar-header.svelte"; +export { default as Heading } from "../calendar/components/calendar-heading.svelte"; +export { default as NextButton } from "../calendar/components/calendar-next-button.svelte"; +export { default as PrevButton } from "../calendar/components/calendar-prev-button.svelte"; +export { default as MonthSelect } from "../calendar/components/calendar-month-select.svelte"; +export { default as YearSelect } from "../calendar/components/calendar-year-select.svelte"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/index.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..f51c143036219c372a4f340dd412671df4e96ac3 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/index.d.ts @@ -0,0 +1 @@ +export * as RangeCalendar from "./exports.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/index.js b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/index.js new file mode 100644 index 0000000000000000000000000000000000000000..f51c143036219c372a4f340dd412671df4e96ac3 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/index.js @@ -0,0 +1 @@ +export * as RangeCalendar from "./exports.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/range-calendar.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/range-calendar.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..1d8da7e93566321680608db6242750179f386d02 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/range-calendar.svelte.d.ts @@ -0,0 +1,232 @@ +import { type DateValue } from "@internationalized/date"; +import { DOMContext, type ReadableBoxedValues, type WritableBoxedValues } from "svelte-toolbelt"; +import type { DateRange, Month } from "../../shared/index.js"; +import type { BitsFocusEvent, BitsKeyboardEvent, BitsMouseEvent, RefAttachment, WithRefOpts } from "../../internal/types.js"; +import { type Announcer } from "../../internal/date-time/announcer.js"; +import { type Formatter } from "../../internal/date-time/formatter.js"; +import { calendarAttrs } from "../../internal/date-time/calendar-helpers.svelte.js"; +import type { WeekStartsOn } from "../../shared/date/types.js"; +interface RangeCalendarRootStateOpts extends WithRefOpts, WritableBoxedValues<{ + value: DateRange; + placeholder: DateValue; + startValue: DateValue | undefined; + endValue: DateValue | undefined; +}>, ReadableBoxedValues<{ + preventDeselect: boolean; + minValue: DateValue | undefined; + maxValue: DateValue | undefined; + disabled: boolean; + pagedNavigation: boolean; + weekStartsOn: WeekStartsOn | undefined; + weekdayFormat: Intl.DateTimeFormatOptions["weekday"]; + isDateDisabled: (date: DateValue) => boolean; + isDateUnavailable: (date: DateValue) => boolean; + fixedWeeks: boolean; + numberOfMonths: number; + locale: string; + calendarLabel: string; + readonly: boolean; + disableDaysOutsideMonth: boolean; + excludeDisabled: boolean; + minDays: number | undefined; + maxDays: number | undefined; + /** + * This is strictly used by the `DateRangePicker` component to close the popover when a date range + * is selected. It is not intended to be used by the user. + */ + onRangeSelect?: () => void; + monthFormat: Intl.DateTimeFormatOptions["month"] | ((month: number) => string); + yearFormat: Intl.DateTimeFormatOptions["year"] | ((year: number) => string); +}> { + defaultPlaceholder: DateValue; +} +export declare class RangeCalendarRootState { + #private; + static create(opts: RangeCalendarRootStateOpts): RangeCalendarRootState | import("../calendar/calendar.svelte.js").CalendarRootState; + readonly opts: RangeCalendarRootStateOpts; + readonly attachment: RefAttachment; + readonly visibleMonths: DateValue[]; + months: Month[]; + announcer: Announcer; + formatter: Formatter; + accessibleHeadingId: string; + focusedValue: DateValue | undefined; + lastPressedDateValue: DateValue | undefined; + domContext: DOMContext; + /** + * This derived state holds an array of localized day names for the current + * locale and calendar view. It dynamically syncs with the 'weekStartsOn' option, + * updating its content when the option changes. Using this state to render the + * calendar's days of the week is strongly recommended, as it guarantees that + * the days are correctly formatted for the current locale and calendar view. + */ + readonly weekdays: string[]; + readonly isStartInvalid: boolean; + readonly isEndInvalid: boolean; + readonly isInvalid: boolean; + readonly isNextButtonDisabled: boolean; + readonly isPrevButtonDisabled: boolean; + readonly headingValue: string; + readonly fullCalendarLabel: string; + readonly highlightedRange: { + start: DateValue; + end: DateValue; + } | null; + readonly initialPlaceholderYear: number; + readonly defaultYears: number[]; + constructor(opts: RangeCalendarRootStateOpts); + setMonths: (months: Month[]) => void; + isOutsideVisibleMonths(date: DateValue): boolean; + isDateDisabled(date: DateValue): boolean; + isDateUnavailable(date: DateValue): boolean; + isSelectionStart(date: DateValue): boolean; + isSelectionEnd(date: DateValue): boolean; + isSelected(date: DateValue): boolean; + shiftFocus(node: HTMLElement, add: number): void; + handleCellClick(e: Event, date: DateValue): void; + onkeydown(event: BitsKeyboardEvent): void; + /** + * Navigates to the next page of the calendar. + */ + nextPage(): void; + /** + * Navigates to the previous page of the calendar. + */ + prevPage(): void; + nextYear(): void; + prevYear(): void; + setYear(year: number): void; + setMonth(month: number): void; + getBitsAttr: (typeof calendarAttrs)["getAttr"]; + readonly snippetProps: { + months: Month[]; + weekdays: string[]; + }; + readonly props: { + readonly onkeydown: (event: BitsKeyboardEvent) => void; + readonly id: string; + readonly role: "application"; + readonly "aria-label": string; + readonly "data-invalid": "" | undefined; + readonly "data-disabled": "" | undefined; + readonly "data-readonly": "" | undefined; + }; +} +interface RangeCalendarCellStateOpts extends WithRefOpts, ReadableBoxedValues<{ + date: DateValue; + month: DateValue; +}> { +} +export declare class RangeCalendarCellState { + static create(opts: RangeCalendarCellStateOpts): RangeCalendarCellState; + readonly opts: RangeCalendarCellStateOpts; + readonly root: RangeCalendarRootState; + readonly attachment: RefAttachment; + readonly cellDate: Date; + readonly isOutsideMonth: boolean; + readonly isDisabled: boolean; + readonly isUnavailable: boolean; + readonly isDateToday: boolean; + readonly isOutsideVisibleMonths: boolean; + readonly isFocusedDate: boolean; + readonly isSelectedDate: boolean; + readonly isSelectionStart: boolean; + readonly isRangeStart: boolean; + readonly isRangeEnd: boolean; + readonly isRangeMiddle: boolean; + readonly isSelectionMiddle: boolean; + readonly isSelectionEnd: boolean; + readonly isHighlighted: boolean; + readonly labelText: string; + constructor(opts: RangeCalendarCellStateOpts, root: RangeCalendarRootState); + readonly snippetProps: { + disabled: boolean; + unavailable: boolean; + selected: boolean; + }; + readonly ariaDisabled: boolean; + readonly sharedDataAttrs: { + readonly "data-unavailable": "" | undefined; + readonly "data-today": "" | undefined; + readonly "data-outside-month": "" | undefined; + readonly "data-outside-visible-months": "" | undefined; + readonly "data-focused": "" | undefined; + readonly "data-selection-start": "" | undefined; + readonly "data-selection-end": "" | undefined; + readonly "data-range-start": "" | undefined; + readonly "data-range-end": "" | undefined; + readonly "data-range-middle": "" | undefined; + readonly "data-highlighted": "" | undefined; + readonly "data-selected": "" | undefined; + readonly "data-value": string; + readonly "data-type": string; + readonly "data-disabled": "" | undefined; + }; + readonly props: { + readonly "data-unavailable": "" | undefined; + readonly "data-today": "" | undefined; + readonly "data-outside-month": "" | undefined; + readonly "data-outside-visible-months": "" | undefined; + readonly "data-focused": "" | undefined; + readonly "data-selection-start": "" | undefined; + readonly "data-selection-end": "" | undefined; + readonly "data-range-start": "" | undefined; + readonly "data-range-end": "" | undefined; + readonly "data-range-middle": "" | undefined; + readonly "data-highlighted": "" | undefined; + readonly "data-selected": "" | undefined; + readonly "data-value": string; + readonly "data-type": string; + readonly "data-disabled": "" | undefined; + readonly id: string; + readonly role: "gridcell"; + readonly "aria-selected": "true" | "false"; + readonly "aria-disabled": "true" | "false"; + }; +} +interface RangeCalendarDayStateOpts extends WithRefOpts { +} +export declare class RangeCalendarDayState { + #private; + static create(opts: RangeCalendarDayStateOpts): RangeCalendarDayState; + readonly opts: RangeCalendarDayStateOpts; + readonly cell: RangeCalendarCellState; + readonly attachment: RefAttachment; + constructor(opts: RangeCalendarDayStateOpts, cell: RangeCalendarCellState); + onclick(e: BitsMouseEvent): void; + onmouseenter(_: BitsMouseEvent): void; + onfocusin(_: BitsFocusEvent): void; + readonly snippetProps: { + disabled: boolean; + unavailable: boolean; + selected: boolean; + day: string; + }; + readonly props: { + readonly tabindex: 0 | -1 | undefined; + readonly "data-bits-day": ""; + readonly onclick: (e: BitsMouseEvent) => void; + readonly onmouseenter: (_: BitsMouseEvent) => void; + readonly onfocusin: (_: BitsFocusEvent) => void; + readonly "data-unavailable": "" | undefined; + readonly "data-today": "" | undefined; + readonly "data-outside-month": "" | undefined; + readonly "data-outside-visible-months": "" | undefined; + readonly "data-focused": "" | undefined; + readonly "data-selection-start": "" | undefined; + readonly "data-selection-end": "" | undefined; + readonly "data-range-start": "" | undefined; + readonly "data-range-end": "" | undefined; + readonly "data-range-middle": "" | undefined; + readonly "data-highlighted": "" | undefined; + readonly "data-selected": "" | undefined; + readonly "data-value": string; + readonly "data-type": string; + readonly "data-disabled": "" | undefined; + readonly id: string; + readonly role: "button"; + readonly "aria-label": string; + readonly "aria-disabled": "true" | "false"; + }; +} +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/range-calendar.svelte.js b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/range-calendar.svelte.js new file mode 100644 index 0000000000000000000000000000000000000000..6a3c166a028b9ff8298bef770ff7ac43295be957 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/range-calendar.svelte.js @@ -0,0 +1,672 @@ +import { getLocalTimeZone, isSameDay, isSameMonth, isToday, } from "@internationalized/date"; +import { attachRef, DOMContext, } from "svelte-toolbelt"; +import { Context, watch } from "runed"; +import { CalendarRootContext } from "../calendar/calendar.svelte.js"; +import { useId } from "../../internal/use-id.js"; +import { boolToStr, boolToEmptyStrOrUndef } from "../../internal/attrs.js"; +import { getAnnouncer } from "../../internal/date-time/announcer.js"; +import { createFormatter } from "../../internal/date-time/formatter.js"; +import { calendarAttrs, createMonths, getCalendarElementProps, getCalendarHeadingValue, getDefaultYears, getIsNextButtonDisabled, getIsPrevButtonDisabled, getWeekdays, handleCalendarKeydown, handleCalendarNextPage, handleCalendarPrevPage, shiftCalendarFocus, useEnsureNonDisabledPlaceholder, useMonthViewOptionsSync, useMonthViewPlaceholderSync, } from "../../internal/date-time/calendar-helpers.svelte.js"; +import { areAllDaysBetweenValid, getDateValueType, isAfter, isBefore, isBetweenInclusive, toDate, } from "../../internal/date-time/utils.js"; +import { onMount, untrack } from "svelte"; +const RangeCalendarCellContext = new Context("RangeCalendar.Cell"); +export class RangeCalendarRootState { + static create(opts) { + return CalendarRootContext.set(new RangeCalendarRootState(opts)); + } + opts; + attachment; + visibleMonths = $derived.by(() => this.months.map((month) => month.value)); + months = $state([]); + announcer; + formatter; + accessibleHeadingId = useId(); + focusedValue = $state(undefined); + lastPressedDateValue = undefined; + domContext; + /** + * This derived state holds an array of localized day names for the current + * locale and calendar view. It dynamically syncs with the 'weekStartsOn' option, + * updating its content when the option changes. Using this state to render the + * calendar's days of the week is strongly recommended, as it guarantees that + * the days are correctly formatted for the current locale and calendar view. + */ + weekdays = $derived.by(() => { + return getWeekdays({ + months: this.months, + formatter: this.formatter, + weekdayFormat: this.opts.weekdayFormat.current, + }); + }); + isStartInvalid = $derived.by(() => { + if (!this.opts.startValue.current) + return false; + return (this.isDateUnavailable(this.opts.startValue.current) || + this.isDateDisabled(this.opts.startValue.current)); + }); + isEndInvalid = $derived.by(() => { + if (!this.opts.endValue.current) + return false; + return (this.isDateUnavailable(this.opts.endValue.current) || + this.isDateDisabled(this.opts.endValue.current)); + }); + isInvalid = $derived.by(() => { + if (this.isStartInvalid || this.isEndInvalid) + return true; + if (this.opts.endValue.current && + this.opts.startValue.current && + isBefore(this.opts.endValue.current, this.opts.startValue.current)) + return true; + return false; + }); + isNextButtonDisabled = $derived.by(() => { + return getIsNextButtonDisabled({ + maxValue: this.opts.maxValue.current, + months: this.months, + disabled: this.opts.disabled.current, + }); + }); + isPrevButtonDisabled = $derived.by(() => { + return getIsPrevButtonDisabled({ + minValue: this.opts.minValue.current, + months: this.months, + disabled: this.opts.disabled.current, + }); + }); + headingValue = $derived.by(() => { + this.opts.monthFormat.current; + this.opts.yearFormat.current; + return getCalendarHeadingValue({ + months: this.months, + formatter: this.formatter, + locale: this.opts.locale.current, + }); + }); + fullCalendarLabel = $derived.by(() => `${this.opts.calendarLabel.current} ${this.headingValue}`); + highlightedRange = $derived.by(() => { + if (this.opts.startValue.current && this.opts.endValue.current) + return null; + if (!this.opts.startValue.current || !this.focusedValue) + return null; + const isStartBeforeFocused = isBefore(this.opts.startValue.current, this.focusedValue); + const start = isStartBeforeFocused ? this.opts.startValue.current : this.focusedValue; + const end = isStartBeforeFocused ? this.focusedValue : this.opts.startValue.current; + const range = { start, end }; + if (isSameDay(start.add({ days: 1 }), end) || isSameDay(start, end)) { + return range; + } + const isValid = areAllDaysBetweenValid(start, end, this.isDateUnavailable, this.isDateDisabled); + if (isValid) + return range; + return null; + }); + initialPlaceholderYear = $derived.by(() => untrack(() => this.opts.placeholder.current.year)); + defaultYears = $derived.by(() => { + return getDefaultYears({ + minValue: this.opts.minValue.current, + maxValue: this.opts.maxValue.current, + placeholderYear: this.initialPlaceholderYear, + }); + }); + constructor(opts) { + this.opts = opts; + this.attachment = attachRef(opts.ref); + this.domContext = new DOMContext(opts.ref); + this.announcer = getAnnouncer(null); + this.formatter = createFormatter({ + initialLocale: this.opts.locale.current, + monthFormat: this.opts.monthFormat, + yearFormat: this.opts.yearFormat, + }); + this.months = createMonths({ + dateObj: this.opts.placeholder.current, + weekStartsOn: this.opts.weekStartsOn.current, + locale: this.opts.locale.current, + fixedWeeks: this.opts.fixedWeeks.current, + numberOfMonths: this.opts.numberOfMonths.current, + }); + $effect.pre(() => { + if (this.formatter.getLocale() === this.opts.locale.current) + return; + this.formatter.setLocale(this.opts.locale.current); + }); + onMount(() => { + this.announcer = getAnnouncer(this.domContext.getDocument()); + }); + /** + * Updates the displayed months based on changes in the placeholder values, + * which determines the month to show in the calendar. + */ + useMonthViewPlaceholderSync({ + placeholder: this.opts.placeholder, + getVisibleMonths: () => this.visibleMonths, + weekStartsOn: this.opts.weekStartsOn, + locale: this.opts.locale, + fixedWeeks: this.opts.fixedWeeks, + numberOfMonths: this.opts.numberOfMonths, + setMonths: this.setMonths, + }); + /** + * Updates the displayed months based on changes in the options values, + * which determines the month to show in the calendar. + */ + useMonthViewOptionsSync({ + fixedWeeks: this.opts.fixedWeeks, + locale: this.opts.locale, + numberOfMonths: this.opts.numberOfMonths, + placeholder: this.opts.placeholder, + setMonths: this.setMonths, + weekStartsOn: this.opts.weekStartsOn, + }); + /** + * Update the accessible heading's text content when the `fullCalendarLabel` + * changes. + */ + $effect(() => { + const node = this.domContext.getElementById(this.accessibleHeadingId); + if (!node) + return; + node.textContent = this.fullCalendarLabel; + }); + /** + * Synchronize the start and end values with the `value` in case + * it is updated externally. + */ + watch(() => this.opts.value.current, (value) => { + if (value.start && value.end) { + this.opts.startValue.current = value.start; + this.opts.endValue.current = value.end; + } + else if (value.start) { + this.opts.startValue.current = value.start; + this.opts.endValue.current = undefined; + } + else if (value.start === undefined && value.end === undefined) { + this.opts.startValue.current = undefined; + this.opts.endValue.current = undefined; + } + }); + /** + * Synchronize the placeholder value with the current start value + */ + watch(() => this.opts.value.current, (value) => { + const startValue = value.start; + if (startValue && this.opts.placeholder.current !== startValue) { + this.opts.placeholder.current = startValue; + } + }); + /** + * Check for disabled dates in the selected range when excludeDisabled is enabled + */ + watch([ + () => this.opts.startValue.current, + () => this.opts.endValue.current, + () => this.opts.excludeDisabled.current, + ], ([startValue, endValue, excludeDisabled]) => { + if (!excludeDisabled || !startValue || !endValue) + return; + if (this.#hasDisabledDatesInRange(startValue, endValue)) { + this.#setStartValue(undefined); + this.#setEndValue(undefined); + this.#announceEmpty(); + } + }); + watch([() => this.opts.startValue.current, () => this.opts.endValue.current], ([startValue, endValue]) => { + if (this.opts.value.current && + this.opts.value.current.start === startValue && + this.opts.value.current.end === endValue) { + return; + } + if (startValue && endValue) { + this.#updateValue((prev) => { + if (prev.start === startValue && prev.end === endValue) { + return prev; + } + if (isBefore(endValue, startValue)) { + const start = startValue; + const end = endValue; + this.#setStartValue(end); + this.#setEndValue(start); + if (!this.#isRangeValid(endValue, startValue)) { + this.#setStartValue(startValue); + this.#setEndValue(undefined); + return { start: startValue, end: undefined }; + } + return { start: endValue, end: startValue }; + } + else { + if (!this.#isRangeValid(startValue, endValue)) { + this.#setStartValue(endValue); + this.#setEndValue(undefined); + return { start: endValue, end: undefined }; + } + return { + start: startValue, + end: endValue, + }; + } + }); + } + else if (this.opts.value.current && + this.opts.value.current.start && + this.opts.value.current.end) { + this.opts.value.current.start = undefined; + this.opts.value.current.end = undefined; + } + }); + this.shiftFocus = this.shiftFocus.bind(this); + this.handleCellClick = this.handleCellClick.bind(this); + this.onkeydown = this.onkeydown.bind(this); + this.nextPage = this.nextPage.bind(this); + this.prevPage = this.prevPage.bind(this); + this.nextYear = this.nextYear.bind(this); + this.prevYear = this.prevYear.bind(this); + this.setYear = this.setYear.bind(this); + this.setMonth = this.setMonth.bind(this); + this.isDateDisabled = this.isDateDisabled.bind(this); + this.isDateUnavailable = this.isDateUnavailable.bind(this); + this.isOutsideVisibleMonths = this.isOutsideVisibleMonths.bind(this); + this.isSelected = this.isSelected.bind(this); + useEnsureNonDisabledPlaceholder({ + placeholder: opts.placeholder, + defaultPlaceholder: opts.defaultPlaceholder, + isDateDisabled: opts.isDateDisabled, + maxValue: opts.maxValue, + minValue: opts.minValue, + ref: opts.ref, + }); + } + #updateValue(cb) { + const value = this.opts.value.current; + const newValue = cb(value); + this.opts.value.current = newValue; + if (newValue.start && newValue.end) { + this.opts.onRangeSelect?.current?.(); + } + } + #setStartValue(value) { + this.opts.startValue.current = value; + // update the main value prop immediately for external consumers + this.#updateValue((prev) => ({ + ...prev, + start: value, + })); + } + #setEndValue(value) { + this.opts.endValue.current = value; + // update the main value prop immediately for external consumers + this.#updateValue((prev) => ({ + ...prev, + end: value, + })); + } + setMonths = (months) => { + this.months = months; + }; + isOutsideVisibleMonths(date) { + return !this.visibleMonths.some((month) => isSameMonth(date, month)); + } + isDateDisabled(date) { + if (this.opts.isDateDisabled.current(date) || this.opts.disabled.current) + return true; + const minValue = this.opts.minValue.current; + const maxValue = this.opts.maxValue.current; + if (minValue && isBefore(date, minValue)) + return true; + if (maxValue && isAfter(date, maxValue)) + return true; + return false; + } + isDateUnavailable(date) { + if (this.opts.isDateUnavailable.current(date)) + return true; + return false; + } + isSelectionStart(date) { + if (!this.opts.startValue.current) + return false; + return isSameDay(date, this.opts.startValue.current); + } + isSelectionEnd(date) { + if (!this.opts.endValue.current) + return false; + return isSameDay(date, this.opts.endValue.current); + } + isSelected(date) { + if (this.opts.startValue.current && isSameDay(this.opts.startValue.current, date)) + return true; + if (this.opts.endValue.current && isSameDay(this.opts.endValue.current, date)) + return true; + if (this.opts.startValue.current && this.opts.endValue.current) { + return isBetweenInclusive(date, this.opts.startValue.current, this.opts.endValue.current); + } + return false; + } + #isRangeValid(start, end) { + // ensure we always use the correct order for calculation + const orderedStart = isBefore(end, start) ? end : start; + const orderedEnd = isBefore(end, start) ? start : end; + const startDate = orderedStart.toDate(getLocalTimeZone()); + const endDate = orderedEnd.toDate(getLocalTimeZone()); + const timeDifference = endDate.getTime() - startDate.getTime(); + const daysDifference = Math.floor(timeDifference / (1000 * 60 * 60 * 24)); + const daysInRange = daysDifference + 1; // +1 to include both start and end days + if (this.opts.minDays.current && daysInRange < this.opts.minDays.current) + return false; + if (this.opts.maxDays.current && daysInRange > this.opts.maxDays.current) + return false; + // check for disabled dates in range if excludeDisabled is enabled + if (this.opts.excludeDisabled.current && + this.#hasDisabledDatesInRange(orderedStart, orderedEnd)) { + return false; + } + return true; + } + shiftFocus(node, add) { + return shiftCalendarFocus({ + node, + add, + placeholder: this.opts.placeholder, + calendarNode: this.opts.ref.current, + isPrevButtonDisabled: this.isPrevButtonDisabled, + isNextButtonDisabled: this.isNextButtonDisabled, + months: this.months, + numberOfMonths: this.opts.numberOfMonths.current, + }); + } + #announceEmpty() { + this.announcer.announce("Selected date is now empty.", "polite"); + } + #announceSelectedDate(date) { + this.announcer.announce(`Selected Date: ${this.formatter.selectedDate(date, false)}`, "polite"); + } + #announceSelectedRange(start, end) { + this.announcer.announce(`Selected Dates: ${this.formatter.selectedDate(start, false)} to ${this.formatter.selectedDate(end, false)}`, "polite"); + } + handleCellClick(e, date) { + if (this.isDateDisabled(date) || this.isDateUnavailable(date)) + return; + const prevLastPressedDate = this.lastPressedDateValue; + this.lastPressedDateValue = date; + if (this.opts.startValue.current && this.highlightedRange === null) { + if (isSameDay(this.opts.startValue.current, date) && + !this.opts.preventDeselect.current && + !this.opts.endValue.current) { + this.#setStartValue(undefined); + this.opts.placeholder.current = date; + this.#announceEmpty(); + return; + } + else if (!this.opts.endValue.current) { + e.preventDefault(); + if (prevLastPressedDate && isSameDay(prevLastPressedDate, date)) { + this.#setStartValue(date); + this.#announceSelectedDate(date); + } + } + } + if (this.opts.startValue.current && + this.opts.endValue.current && + isSameDay(this.opts.endValue.current, date) && + !this.opts.preventDeselect.current) { + this.#setStartValue(undefined); + this.#setEndValue(undefined); + this.opts.placeholder.current = date; + this.#announceEmpty(); + return; + } + if (!this.opts.startValue.current) { + this.#announceSelectedDate(date); + this.#setStartValue(date); + } + else if (!this.opts.endValue.current) { + // determine the start and end dates for validation + const startDate = this.opts.startValue.current; + const endDate = date; + const orderedStart = isBefore(endDate, startDate) ? endDate : startDate; + const orderedEnd = isBefore(endDate, startDate) ? startDate : endDate; + // check if the range violates constraints + if (!this.#isRangeValid(orderedStart, orderedEnd)) { + // reset to just the clicked date + this.#setStartValue(date); + this.#setEndValue(undefined); + this.#announceSelectedDate(date); + } + else { + // ensure start and end are properly ordered + if (isBefore(endDate, startDate)) { + // backward selection - reorder the values + this.#setStartValue(endDate); + this.#setEndValue(startDate); + this.#announceSelectedRange(endDate, startDate); + } + else { + // forward selection - keep original order + this.#setEndValue(date); + this.#announceSelectedRange(this.opts.startValue.current, date); + } + } + } + else if (this.opts.endValue.current && this.opts.startValue.current) { + this.#setEndValue(undefined); + this.#announceSelectedDate(date); + this.#setStartValue(date); + } + } + onkeydown(event) { + return handleCalendarKeydown({ + event, + handleCellClick: this.handleCellClick, + placeholderValue: this.opts.placeholder.current, + shiftFocus: this.shiftFocus, + }); + } + /** + * Navigates to the next page of the calendar. + */ + nextPage() { + handleCalendarNextPage({ + fixedWeeks: this.opts.fixedWeeks.current, + locale: this.opts.locale.current, + numberOfMonths: this.opts.numberOfMonths.current, + pagedNavigation: this.opts.pagedNavigation.current, + setMonths: this.setMonths, + setPlaceholder: (date) => (this.opts.placeholder.current = date), + weekStartsOn: this.opts.weekStartsOn.current, + months: this.months, + }); + } + /** + * Navigates to the previous page of the calendar. + */ + prevPage() { + handleCalendarPrevPage({ + fixedWeeks: this.opts.fixedWeeks.current, + locale: this.opts.locale.current, + numberOfMonths: this.opts.numberOfMonths.current, + pagedNavigation: this.opts.pagedNavigation.current, + setMonths: this.setMonths, + setPlaceholder: (date) => (this.opts.placeholder.current = date), + weekStartsOn: this.opts.weekStartsOn.current, + months: this.months, + }); + } + nextYear() { + this.opts.placeholder.current = this.opts.placeholder.current.add({ years: 1 }); + } + prevYear() { + this.opts.placeholder.current = this.opts.placeholder.current.subtract({ years: 1 }); + } + setYear(year) { + this.opts.placeholder.current = this.opts.placeholder.current.set({ year }); + } + setMonth(month) { + this.opts.placeholder.current = this.opts.placeholder.current.set({ month }); + } + getBitsAttr = (part) => { + return calendarAttrs.getAttr(part, "range-calendar"); + }; + snippetProps = $derived.by(() => ({ + months: this.months, + weekdays: this.weekdays, + })); + props = $derived.by(() => ({ + ...getCalendarElementProps({ + fullCalendarLabel: this.fullCalendarLabel, + id: this.opts.id.current, + isInvalid: this.isInvalid, + disabled: this.opts.disabled.current, + readonly: this.opts.readonly.current, + }), + [this.getBitsAttr("root")]: "", + // + onkeydown: this.onkeydown, + ...this.attachment, + })); + #hasDisabledDatesInRange(start, end) { + for (let date = start; isBefore(date, end) || isSameDay(date, end); date = date.add({ days: 1 })) { + if (this.isDateDisabled(date)) + return true; + } + return false; + } +} +export class RangeCalendarCellState { + static create(opts) { + return RangeCalendarCellContext.set(new RangeCalendarCellState(opts, CalendarRootContext.get())); + } + opts; + root; + attachment; + cellDate = $derived.by(() => toDate(this.opts.date.current)); + isOutsideMonth = $derived.by(() => !isSameMonth(this.opts.date.current, this.opts.month.current)); + isDisabled = $derived.by(() => this.root.isDateDisabled(this.opts.date.current) || + (this.isOutsideMonth && this.root.opts.disableDaysOutsideMonth.current)); + isUnavailable = $derived.by(() => this.root.opts.isDateUnavailable.current(this.opts.date.current)); + isDateToday = $derived.by(() => isToday(this.opts.date.current, getLocalTimeZone())); + isOutsideVisibleMonths = $derived.by(() => this.root.isOutsideVisibleMonths(this.opts.date.current)); + isFocusedDate = $derived.by(() => isSameDay(this.opts.date.current, this.root.opts.placeholder.current)); + isSelectedDate = $derived.by(() => this.root.isSelected(this.opts.date.current)); + isSelectionStart = $derived.by(() => this.root.isSelectionStart(this.opts.date.current)); + isRangeStart = $derived.by(() => this.root.isSelectionStart(this.opts.date.current)); + isRangeEnd = $derived.by(() => { + if (!this.root.opts.endValue.current) + return this.root.isSelectionStart(this.opts.date.current); + return this.root.isSelectionEnd(this.opts.date.current); + }); + isRangeMiddle = $derived.by(() => this.isSelectionMiddle); + isSelectionMiddle = $derived.by(() => { + return this.isSelectedDate && !this.isSelectionStart && !this.isSelectionEnd; + }); + isSelectionEnd = $derived.by(() => this.root.isSelectionEnd(this.opts.date.current)); + isHighlighted = $derived.by(() => this.root.highlightedRange + ? isBetweenInclusive(this.opts.date.current, this.root.highlightedRange.start, this.root.highlightedRange.end) + : false); + labelText = $derived.by(() => this.root.formatter.custom(this.cellDate, { + weekday: "long", + month: "long", + day: "numeric", + year: "numeric", + })); + constructor(opts, root) { + this.opts = opts; + this.root = root; + this.attachment = attachRef(opts.ref); + } + snippetProps = $derived.by(() => ({ + disabled: this.isDisabled, + unavailable: this.isUnavailable, + selected: this.isSelectedDate, + })); + ariaDisabled = $derived.by(() => { + return (this.isDisabled || + (this.isOutsideMonth && this.root.opts.disableDaysOutsideMonth.current) || + this.isUnavailable); + }); + sharedDataAttrs = $derived.by(() => ({ + "data-unavailable": boolToEmptyStrOrUndef(this.isUnavailable), + "data-today": this.isDateToday ? "" : undefined, + "data-outside-month": this.isOutsideMonth ? "" : undefined, + "data-outside-visible-months": this.isOutsideVisibleMonths ? "" : undefined, + "data-focused": this.isFocusedDate ? "" : undefined, + "data-selection-start": this.isSelectionStart ? "" : undefined, + "data-selection-end": this.isSelectionEnd ? "" : undefined, + "data-range-start": this.isRangeStart ? "" : undefined, + "data-range-end": this.isRangeEnd ? "" : undefined, + "data-range-middle": this.isRangeMiddle ? "" : undefined, + "data-highlighted": this.isHighlighted ? "" : undefined, + "data-selected": boolToEmptyStrOrUndef(this.isSelectedDate), + "data-value": this.opts.date.current.toString(), + "data-type": getDateValueType(this.opts.date.current), + "data-disabled": boolToEmptyStrOrUndef(this.isDisabled || + (this.isOutsideMonth && this.root.opts.disableDaysOutsideMonth.current)), + })); + props = $derived.by(() => ({ + id: this.opts.id.current, + role: "gridcell", + "aria-selected": boolToStr(this.isSelectedDate), + "aria-disabled": boolToStr(this.ariaDisabled), + ...this.sharedDataAttrs, + [this.root.getBitsAttr("cell")]: "", + ...this.attachment, + })); +} +export class RangeCalendarDayState { + static create(opts) { + return new RangeCalendarDayState(opts, RangeCalendarCellContext.get()); + } + opts; + cell; + attachment; + constructor(opts, cell) { + this.opts = opts; + this.cell = cell; + this.attachment = attachRef(opts.ref); + this.onclick = this.onclick.bind(this); + this.onmouseenter = this.onmouseenter.bind(this); + this.onfocusin = this.onfocusin.bind(this); + } + #tabindex = $derived.by(() => (this.cell.isOutsideMonth && this.cell.root.opts.disableDaysOutsideMonth.current) || + this.cell.isDisabled + ? undefined + : this.cell.isFocusedDate + ? 0 + : -1); + onclick(e) { + if (this.cell.isDisabled) + return; + this.cell.root.handleCellClick(e, this.cell.opts.date.current); + } + onmouseenter(_) { + if (this.cell.isDisabled) + return; + this.cell.root.focusedValue = this.cell.opts.date.current; + } + onfocusin(_) { + if (this.cell.isDisabled) + return; + this.cell.root.focusedValue = this.cell.opts.date.current; + } + snippetProps = $derived.by(() => ({ + disabled: this.cell.isDisabled, + unavailable: this.cell.isUnavailable, + selected: this.cell.isSelectedDate, + day: `${this.cell.opts.date.current.day}`, + })); + props = $derived.by(() => ({ + id: this.opts.id.current, + role: "button", + "aria-label": this.cell.labelText, + "aria-disabled": boolToStr(this.cell.ariaDisabled), + ...this.cell.sharedDataAttrs, + tabindex: this.#tabindex, + [this.cell.root.getBitsAttr("day")]: "", + // Shared logic for range calendar and calendar + "data-bits-day": "", + // + onclick: this.onclick, + onmouseenter: this.onmouseenter, + onfocusin: this.onfocusin, + ...this.attachment, + })); +} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/types.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/types.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..21aa3a6f6b7fe75d973b859bb935a7af8bdbb470 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/types.d.ts @@ -0,0 +1,212 @@ +import type { DateValue } from "@internationalized/date"; +import type { OnChangeFn, WithChild, Without } from "../../internal/types.js"; +import type { DateMatcher, DateRange, Month } from "../../shared/index.js"; +import type { BitsPrimitiveDivAttributes } from "../../shared/attributes.js"; +export type RangeCalendarRootSnippetProps = { + months: Month[]; + weekdays: string[]; +}; +export type RangeCalendarRootPropsWithoutHTML = WithChild<{ + /** + * The value of the selected date range. + * @bindable + */ + value?: DateRange; + /** + * A callback function called when the value changes. + */ + onValueChange?: OnChangeFn; + /** + * The placeholder date, used to control the view of the + * calendar when no value is present. + * + * @default the current date + */ + placeholder?: DateValue; + /** + * A callback function called when the placeholder value + * changes. + */ + onPlaceholderChange?: OnChangeFn; + /** + * The minimum number of days that can be selected in a range. + * + * @default undefined + */ + minDays?: number; + /** + * The maximum number of days that can be selected in a range. + * + * @default undefined + */ + maxDays?: number; + /** + * Whether or not users can deselect a date once selected + * without selecting another date. + * + * @default false + */ + preventDeselect?: boolean; + /** + * The minimum date that can be selected in the calendar. + */ + minValue?: DateValue; + /** + * The maximum date that can be selected in the calendar. + */ + maxValue?: DateValue; + /** + * Whether or not the calendar is disabled. + * + * @default false + */ + disabled?: boolean; + /** + * Applicable only when `numberOfMonths` is greater than 1. + * + * Controls whether to use paged navigation for the next and previous buttons in the + * date picker. With paged navigation set to `true`, clicking the next/prev buttons + * changes all months in view. When set to `false`, it shifts the view by a single month. + * + * For example, with `pagedNavigation` set to `true` and 2 months displayed (January and + * February), clicking the next button changes the view to March and April. If `pagedNavigation` + * is `false`, the view shifts to February and March. + * + * @default false + */ + pagedNavigation?: boolean; + /** + * The day of the week to start the calendar on, which must + * be a number between 0 and 6, where 0 is Sunday and 6 is + * Saturday. + * + * @default 0 (Sunday) + */ + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6; + /** + * How the string representation of the weekdays provided via the `weekdays` state store + * should be formatted. + * + * ```md + * - "long": "Sunday", "Monday", "Tuesday", etc. + * - "short": "Sun", "Mon", "Tue", etc. + * - "narrow": "S", "M", "T", etc. + *``` + * + * @default "narrow" + * + * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#weekday + */ + weekdayFormat?: Intl.DateTimeFormatOptions["weekday"]; + /** + * A function that receives a date and returns `true` or `false` to indicate whether + * the date is disabled. + * + * @remarks + * Disabled dates cannot be focused or selected. Additionally, they are tagged + * with a data attribute to enable custom styling. + * + * `[data-disabled]` - applied to disabled dates + * + */ + isDateDisabled?: DateMatcher; + /** + * Dates matching the provided matchers are marked as "unavailable." Unlike disabled dates, + * users can still focus and select unavailable dates. However, selecting an unavailable date + * renders the date picker as invalid. + * + * For example, in a calendar for booking appointments, you might mark already booked dates as + * unavailable. These dates could become available again before the appointment date, allowing + * users to select them to learn more about the appointment. + * + * `[data-unavailable]` - applied to unavailable dates + * + */ + isDateUnavailable?: DateMatcher; + /** + * Display 6 weeks per month, regardless the month's number of weeks. + * This is useful for displaying a consistent calendar, where the size + * of the calendar doesn't change month to month. + * + * To display 6 weeks per month, you will need to render out the previous + * and next month's dates in the calendar as well. + * + * @default false + */ + fixedWeeks?: boolean; + /** + * Determines the number of months to display on the calendar simultaneously. + * For navigation between months, refer to the `pagedNavigation` prop. + * + * @default 1 + */ + numberOfMonths?: number; + /** + * This label is exclusively used for accessibility, remaining hidden from the page. + * It's read by screen readers when the calendar is opened. The current month and year + * are automatically appended to the label, so you only need to provide the base label. + * + * For instance: + * - 'Date of birth' will be read as 'Date of birth, January 2021' if the current month is January 2021. + * - 'Appointment date' will be read as 'Appointment date, January 2021' if the current month is January 2021. + * - 'Booking date' will be read as 'Booking date, January 2021' if the current month is January 2021. + */ + calendarLabel?: string; + /** + * The default locale setting. + * + * @default 'en' + */ + locale?: string; + /** + * Whether the calendar is readonly. When true, the user will be able + * to focus and navigate the calendar, but will not be able to select + * dates. @see disabled for a similar prop that prevents focusing + * and selecting dates. + * + * @default false + */ + readonly?: boolean; + /** + * Whether to disable the selection of days outside the current month. By default, + * days outside the current month are rendered to fill the calendar grid, but they + * are not selectable. Setting this prop to `true` will disable this behavior. + * + * @default false + */ + disableDaysOutsideMonth?: boolean; + /** + * Whether to automatically reset the range if any date within the selected range + * becomes disabled. When true, the entire range will be cleared if a disabled + * date is found between the start and end dates. + * + * @default false + */ + excludeDisabled?: boolean; + /** + * A callback function called when the start value changes. This doesn't necessarily mean + * the `value` has updated and should be used to apply cosmetic changes to the calendar when + * only part of the value is changed/completed. + */ + onStartValueChange?: OnChangeFn; + /** + * A callback function called when the end value changes. This doesn't necessarily mean + * the `value` has updated and should be used to apply cosmetic changes to the calendar when + * only part of the value is changed/completed. + */ + onEndValueChange?: OnChangeFn; + /** + * The format of the month names in the calendar. + * + * @default "long" + */ + monthFormat?: Intl.DateTimeFormatOptions["month"] | ((month: number) => string); + /** + * The format of the year names in the calendar. + * + * @default "numeric" + */ + yearFormat?: Intl.DateTimeFormatOptions["year"] | ((year: number) => string); +}, RangeCalendarRootSnippetProps>; +export type RangeCalendarRootProps = RangeCalendarRootPropsWithoutHTML & Without; +export type { CalendarPrevButtonProps as RangeCalendarPrevButtonProps, CalendarPrevButtonPropsWithoutHTML as RangeCalendarPrevButtonPropsWithoutHTML, CalendarNextButtonProps as RangeCalendarNextButtonProps, CalendarNextButtonPropsWithoutHTML as RangeCalendarNextButtonPropsWithoutHTML, CalendarHeadingProps as RangeCalendarHeadingProps, CalendarHeadingPropsWithoutHTML as RangeCalendarHeadingPropsWithoutHTML, CalendarGridProps as RangeCalendarGridProps, CalendarGridPropsWithoutHTML as RangeCalendarGridPropsWithoutHTML, CalendarCellProps as RangeCalendarCellProps, CalendarCellPropsWithoutHTML as RangeCalendarCellPropsWithoutHTML, CalendarDayProps as RangeCalendarDayProps, CalendarDayPropsWithoutHTML as RangeCalendarDayPropsWithoutHTML, CalendarGridBodyProps as RangeCalendarGridBodyProps, CalendarGridBodyPropsWithoutHTML as RangeCalendarGridBodyPropsWithoutHTML, CalendarGridHeadProps as RangeCalendarGridHeadProps, CalendarGridHeadPropsWithoutHTML as RangeCalendarGridHeadPropsWithoutHTML, CalendarGridRowProps as RangeCalendarGridRowProps, CalendarGridRowPropsWithoutHTML as RangeCalendarGridRowPropsWithoutHTML, CalendarHeadCellProps as RangeCalendarHeadCellProps, CalendarHeadCellPropsWithoutHTML as RangeCalendarHeadCellPropsWithoutHTML, CalendarHeaderProps as RangeCalendarHeaderProps, CalendarHeaderPropsWithoutHTML as RangeCalendarHeaderPropsWithoutHTML, CalendarMonthSelectProps as RangeCalendarMonthSelectProps, CalendarMonthSelectPropsWithoutHTML as RangeCalendarMonthSelectPropsWithoutHTML, CalendarYearSelectProps as RangeCalendarYearSelectProps, CalendarYearSelectPropsWithoutHTML as RangeCalendarYearSelectPropsWithoutHTML, } from "../calendar/types.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/types.js b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/types.js new file mode 100644 index 0000000000000000000000000000000000000000..cb0ff5c3b541f646105198ee23ac0fc3d805023e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/range-calendar/types.js @@ -0,0 +1 @@ +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/rating-group/components/rating-group-input.svelte b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/components/rating-group-input.svelte new file mode 100644 index 0000000000000000000000000000000000000000..ae4d7ea057c6e26b9ea0a958b35616dc5d2dac19 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/components/rating-group-input.svelte @@ -0,0 +1,10 @@ + + +{#if inputState.shouldRender} + +{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/rating-group/components/rating-group-input.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/components/rating-group-input.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..9010670fd6fced6f82ae6460fe23fe270e953a37 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/components/rating-group-input.svelte.d.ts @@ -0,0 +1,18 @@ +interface $$__sveltets_2_IsomorphicComponent = any, Events extends Record = any, Slots extends Record = any, Exports = {}, Bindings = string> { + new (options: import('svelte').ComponentConstructorOptions): import('svelte').SvelteComponent & { + $$bindings?: Bindings; + } & Exports; + (internal: unknown, props: { + $$events?: Events; + $$slots?: Slots; + }): Exports & { + $set?: any; + $on?: any; + }; + z_$$bindings?: Bindings; +} +declare const RatingGroupInput: $$__sveltets_2_IsomorphicComponent, { + [evt: string]: CustomEvent; +}, {}, {}, string>; +type RatingGroupInput = InstanceType; +export default RatingGroupInput; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/rating-group/components/rating-group-item.svelte b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/components/rating-group-item.svelte new file mode 100644 index 0000000000000000000000000000000000000000..b6b8ac29d0d929e00520480c6ba2082ac12b72de --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/components/rating-group-item.svelte @@ -0,0 +1,38 @@ + + +{#if child} + {@render child({ props: mergedProps, ...itemState.snippetProps })} +{:else} +
+ {@render children?.(itemState.snippetProps)} +
+{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/rating-group/components/rating-group-item.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/components/rating-group-item.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..ae4117dac758749302aff6a3a6e8a9f5f6345134 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/components/rating-group-item.svelte.d.ts @@ -0,0 +1,4 @@ +import type { RatingGroupItemProps } from "../types.js"; +declare const RatingGroupItem: import("svelte").Component; +type RatingGroupItem = ReturnType; +export default RatingGroupItem; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/rating-group/components/rating-group.svelte b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/components/rating-group.svelte new file mode 100644 index 0000000000000000000000000000000000000000..22c56fd1cda54de55e2323c1aca13de22c5081b2 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/components/rating-group.svelte @@ -0,0 +1,80 @@ + + +{#if child} + {@render child({ props: mergedProps, ...rootState.snippetProps })} +{:else} +
+ {@render children?.(rootState.snippetProps)} +
+{/if} + + diff --git a/tools/ui/node_modules/bits-ui/dist/bits/rating-group/components/rating-group.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/components/rating-group.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6a59cc807f90ffee7dec086eaa05e4fdcf8d3e4e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/components/rating-group.svelte.d.ts @@ -0,0 +1,4 @@ +import type { RatingGroupRootProps } from "../types.js"; +declare const RatingGroup: import("svelte").Component; +type RatingGroup = ReturnType; +export default RatingGroup; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/rating-group/exports.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/exports.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6b7fa4c46895c77c114a42dbe3a5909266e6093d --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/exports.d.ts @@ -0,0 +1,3 @@ +export { default as Root } from "./components/rating-group.svelte"; +export { default as Item } from "./components/rating-group-item.svelte"; +export type { RatingGroupRootProps as RootProps, RatingGroupItemProps as ItemProps, } from "./types.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/rating-group/exports.js b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/exports.js new file mode 100644 index 0000000000000000000000000000000000000000..961255428f85e9228e9497e05eb5a3d24ec481e7 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/exports.js @@ -0,0 +1,2 @@ +export { default as Root } from "./components/rating-group.svelte"; +export { default as Item } from "./components/rating-group-item.svelte"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/rating-group/index.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..2dd5ba4ea52a1976e5a5f2a2321bc5413eb072c2 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/index.d.ts @@ -0,0 +1 @@ +export * as RatingGroup from "./exports.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/rating-group/index.js b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/index.js new file mode 100644 index 0000000000000000000000000000000000000000..2dd5ba4ea52a1976e5a5f2a2321bc5413eb072c2 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/index.js @@ -0,0 +1 @@ +export * as RatingGroup from "./exports.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/rating-group/rating-group.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/rating-group.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..a8c4181c9a275eac9ceefe9cbe809e79e1eb14f5 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/rating-group.svelte.d.ts @@ -0,0 +1,115 @@ +import { DOMContext, type ReadableBoxedValues, type WritableBoxedValues } from "svelte-toolbelt"; +import type { BitsKeyboardEvent, BitsMouseEvent, BitsPointerEvent, RefAttachment, WithRefOpts } from "../../internal/types.js"; +import type { RatingGroupAriaValuetext, RatingGroupItemState as RatingGroupItemStateType } from "./types.js"; +import type { Orientation } from "../../shared/index.js"; +interface RatingGroupRootStateOpts extends WithRefOpts, ReadableBoxedValues<{ + disabled: boolean; + required: boolean; + orientation: Orientation; + name: string | undefined; + min: number; + max: number; + allowHalf: boolean; + readonly: boolean; + hoverPreview: boolean; + ariaValuetext: NonNullable; +}>, WritableBoxedValues<{ + value: number; +}> { +} +export declare class RatingGroupRootState { + #private; + static create(opts: RatingGroupRootStateOpts): RatingGroupRootState; + readonly opts: RatingGroupRootStateOpts; + readonly attachment: RefAttachment; + domContext: DOMContext; + readonly hasValue: boolean; + readonly valueToUse: number; + readonly isRTL: boolean; + readonly ariaValuetext: string; + readonly items: { + index: number; + state: RatingGroupItemStateType; + }[]; + constructor(opts: RatingGroupRootStateOpts); + isActive(itemIndex: number): boolean; + isPartial(itemIndex: number): boolean; + setHoverValue(value: number | null): void; + setValue(value: number): void; + calculateRatingFromPointer(itemIndex: number, event: { + clientX: number; + clientY: number; + currentTarget: HTMLElement; + }): number; + onpointerleave(): void; + readonly handlers: Record void>; + onkeydown(e: BitsKeyboardEvent): void; + readonly snippetProps: { + items: { + index: number; + state: RatingGroupItemStateType; + }[]; + value: number; + max: number; + }; + readonly props: { + readonly id: string; + readonly role: "slider"; + readonly "aria-valuenow": number; + readonly "aria-valuemin": number; + readonly "aria-valuemax": number; + readonly "aria-valuetext": string; + readonly "aria-orientation": Orientation; + readonly "aria-required": "true" | "false"; + readonly "aria-disabled": "true" | undefined; + readonly "aria-label": "Rating"; + readonly "data-disabled": "" | undefined; + readonly "data-readonly": "" | undefined; + readonly "data-orientation": Orientation; + readonly tabindex: 0 | -1; + readonly onkeydown: (e: BitsKeyboardEvent) => void; + readonly onpointerleave: () => void; + }; +} +interface RatingGroupItemStateOpts extends WithRefOpts, ReadableBoxedValues<{ + disabled: boolean; + index: number; +}> { +} +export declare class RatingGroupItemState { + #private; + static create(opts: RatingGroupItemStateOpts): RatingGroupItemState; + readonly opts: RatingGroupItemStateOpts; + readonly root: RatingGroupRootState; + readonly attachment: RefAttachment; + constructor(opts: RatingGroupItemStateOpts, root: RatingGroupRootState); + onclick(e: BitsMouseEvent): void; + onpointermove(e: BitsPointerEvent): void; + readonly snippetProps: { + readonly state: RatingGroupItemStateType; + }; + readonly props: { + readonly id: string; + readonly role: "presentation"; + readonly "data-value": number; + readonly "data-orientation": Orientation; + readonly "data-disabled": "" | undefined; + readonly "data-readonly": "" | undefined; + readonly "data-state": RatingGroupItemStateType; + readonly onclick: (e: BitsMouseEvent) => void; + readonly onpointermove: (e: BitsPointerEvent) => void; + }; +} +export declare class RatingGroupHiddenInputState { + static create(): RatingGroupHiddenInputState; + readonly root: RatingGroupRootState; + readonly shouldRender: boolean; + readonly props: { + readonly name: string | undefined; + readonly value: number; + readonly required: boolean; + readonly disabled: boolean; + }; + constructor(root: RatingGroupRootState); +} +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/rating-group/rating-group.svelte.js b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/rating-group.svelte.js new file mode 100644 index 0000000000000000000000000000000000000000..c36dda7b4d3510d9e8d40b05017b2c14d94f638c --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/rating-group.svelte.js @@ -0,0 +1,320 @@ +import { attachRef, DOMContext, } from "svelte-toolbelt"; +import { Context } from "runed"; +import { createBitsAttrs, boolToStr, boolToEmptyStrOrUndef } from "../../internal/attrs.js"; +import { kbd } from "../../internal/kbd.js"; +const ratingGroupAttrs = createBitsAttrs({ + component: "rating-group", + parts: ["root", "item"], +}); +const RatingGroupRootContext = new Context("RatingGroup.Root"); +export class RatingGroupRootState { + static create(opts) { + return RatingGroupRootContext.set(new RatingGroupRootState(opts)); + } + opts; + attachment; + #hoverValue = $state(null); + #keySequence = $state(""); + #keySequenceTimeout = null; + domContext; + hasValue = $derived.by(() => this.opts.value.current > 0); + valueToUse = $derived.by(() => this.#hoverValue ?? this.opts.value.current); + isRTL = $derived.by(() => { + const element = this.opts.ref.current; + if (!element) + return false; + const style = getComputedStyle(element); + return style.direction === "rtl"; + }); + ariaValuetext = $derived.by(() => { + return typeof this.opts.ariaValuetext.current === "function" + ? this.opts.ariaValuetext.current(this.opts.value.current, this.opts.max.current) + : this.opts.ariaValuetext.current; + }); + items = $derived.by(() => { + const value = this.valueToUse; + return Array.from({ length: this.opts.max.current }, (_, i) => { + const itemValue = i + 1; + const halfValue = itemValue - 0.5; + const state = value >= itemValue + ? "active" + : this.opts.allowHalf.current && value >= halfValue + ? "partial" + : "inactive"; + return { index: i, state }; + }); + }); + constructor(opts) { + this.opts = opts; + this.attachment = attachRef(opts.ref); + this.onkeydown = this.onkeydown.bind(this); + this.onpointerleave = this.onpointerleave.bind(this); + this.domContext = new DOMContext(this.opts.ref); + } + isActive(itemIndex) { + return this.valueToUse >= itemIndex + 1; + } + isPartial(itemIndex) { + if (!this.opts.allowHalf.current) + return false; + const itemValue = itemIndex + 1; + return this.valueToUse >= itemValue - 0.5 && this.valueToUse < itemValue; + } + setHoverValue(value) { + if (this.opts.readonly.current || + this.opts.disabled.current || + !this.opts.hoverPreview.current) + return; + this.#hoverValue = + value === null + ? null + : Math.max(this.opts.min.current, Math.min(this.opts.max.current, value)); + } + setValue(value) { + if (this.opts.readonly.current || this.opts.disabled.current) + return; + this.opts.value.current = Math.max(this.opts.min.current, Math.min(this.opts.max.current, value)); + } + calculateRatingFromPointer(itemIndex, event) { + const ratingValue = itemIndex + 1; + if (!this.opts.allowHalf.current) + return ratingValue; + const rect = event.currentTarget.getBoundingClientRect(); + const style = getComputedStyle(event.currentTarget); + const isHorizontal = this.opts.orientation.current === "horizontal"; + const position = isHorizontal + ? (event.clientX - rect.left) / rect.width + : (event.clientY - rect.top) / rect.height; + const normalizedPosition = style.direction === "rtl" ? 1 - position : position; + return normalizedPosition < 0.5 ? ratingValue - 0.5 : ratingValue; + } + onpointerleave() { + this.setHoverValue(null); + } + handlers = { + [kbd.ARROW_UP]: () => { + this.setHoverValue(null); + this.#adjustValue(this.opts.allowHalf.current ? 0.5 : 1); + }, + [kbd.ARROW_RIGHT]: () => { + this.setHoverValue(null); + const increment = this.opts.allowHalf.current ? 0.5 : 1; + // in RTL mode, right arrow should decrement + this.#adjustValue(this.isRTL ? -increment : increment); + }, + [kbd.ARROW_DOWN]: () => { + this.setHoverValue(null); + this.#adjustValue(this.opts.allowHalf.current ? -0.5 : -1); + }, + [kbd.ARROW_LEFT]: () => { + this.setHoverValue(null); + const increment = this.opts.allowHalf.current ? 0.5 : 1; + // in RTL mode, left arrow should increment + this.#adjustValue(this.isRTL ? increment : -increment); + }, + [kbd.HOME]: () => { + this.setHoverValue(null); + this.setValue(this.opts.min.current); + }, + [kbd.END]: () => { + this.setHoverValue(null); + this.setValue(this.opts.max.current); + }, + [kbd.PAGE_UP]: () => { + this.setHoverValue(null); + this.#adjustValue(1); + }, + [kbd.PAGE_DOWN]: () => { + this.setHoverValue(null); + this.#adjustValue(-1); + }, + }; + onkeydown(e) { + if (this.opts.disabled.current || this.opts.readonly.current) + return; + if (this.handlers[e.key]) { + e.preventDefault(); + this.#clearKeySequence(); + this.handlers[e.key]?.(); + return; + } + if (this.opts.allowHalf.current && this.#handleDecimalInput(e)) + return; + // handle direct number input + const num = parseInt(e.key || ""); + if (!isNaN(num) && e.key) { + e.preventDefault(); + if (num >= this.opts.min.current && num <= this.opts.max.current) { + this.setValue(num); + if (this.opts.allowHalf.current) { + this.#startDecimalListening(num); + } + } + return; + } + this.#clearKeySequence(); + } + #adjustValue(delta) { + this.setValue(this.opts.value.current + delta); + } + #handleDecimalInput(e) { + if (!e.key) + return false; + if (e.key === ".") { + e.preventDefault(); + this.#keySequence += e.key; + return true; + } + if (e.key === "5" && this.#keySequence.match(/^\d+\.$/)) { + e.preventDefault(); + this.#keySequence += e.key; + const match = this.#keySequence.match(/^(\d+)\.5$/); + if (match?.[1]) { + const value = parseFloat(this.#keySequence); + if (value >= this.opts.min.current && value <= this.opts.max.current) { + this.setValue(value); + this.#clearKeySequence(); + } + } + return true; + } + return false; + } + #startDecimalListening(baseValue) { + this.#keySequence = baseValue.toString(); + if (this.#keySequenceTimeout) { + this.domContext.clearTimeout(this.#keySequenceTimeout); + } + this.#keySequenceTimeout = this.domContext.setTimeout(() => this.#clearKeySequence(), 1000); + } + #clearKeySequence() { + this.#keySequence = ""; + if (this.#keySequenceTimeout) { + this.domContext.clearTimeout(this.#keySequenceTimeout); + this.#keySequenceTimeout = null; + } + } + snippetProps = $derived.by(() => ({ + items: this.items, + value: this.opts.value.current, + max: this.opts.max.current, + })); + props = $derived.by(() => { + return { + id: this.opts.id.current, + role: "slider", + "aria-valuenow": this.opts.value.current, + "aria-valuemin": this.opts.min.current, + "aria-valuemax": this.opts.max.current, + "aria-valuetext": this.ariaValuetext, + "aria-orientation": this.opts.orientation.current, + "aria-required": boolToStr(this.opts.required.current), + "aria-disabled": this.opts.disabled.current ? "true" : undefined, + "aria-label": "Rating", + "data-disabled": boolToEmptyStrOrUndef(this.opts.disabled.current), + "data-readonly": this.opts.readonly.current ? "" : undefined, + "data-orientation": this.opts.orientation.current, + tabindex: this.opts.disabled.current ? -1 : 0, + [ratingGroupAttrs.root]: "", + onkeydown: this.onkeydown, + onpointerleave: this.onpointerleave, + ...this.attachment, + }; + }); +} +export class RatingGroupItemState { + static create(opts) { + return new RatingGroupItemState(opts, RatingGroupRootContext.get()); + } + opts; + root; + attachment; + #isDisabled = $derived.by(() => this.opts.disabled.current || this.root.opts.disabled.current); + #isActive = $derived.by(() => this.root.isActive(this.opts.index.current)); + #isPartial = $derived.by(() => this.root.isPartial(this.opts.index.current)); + #state = $derived.by(() => { + if (this.#isActive) + return "active"; + if (this.#isPartial) + return "partial"; + return "inactive"; + }); + constructor(opts, root) { + this.opts = opts; + this.root = root; + this.attachment = attachRef(opts.ref); + this.onclick = this.onclick.bind(this); + this.onpointermove = this.onpointermove.bind(this); + } + onclick(e) { + if (this.#isDisabled || this.root.opts.readonly.current) + return; + // handle clearing when clicking on first item (index 0) that's already + // active and min is 0 + if (this.opts.index.current === 0 && + this.root.opts.min.current === 0 && + this.root.opts.value.current > 0) { + const newValue = this.root.calculateRatingFromPointer(this.opts.index.current, e); + const currentValue = this.root.opts.value.current; + // only clear if the calculated rating exactly matches current value + if (newValue === currentValue) { + this.root.setValue(0); + if (this.root.opts.ref.current) { + this.root.opts.ref.current.focus(); + } + return; + } + } + const newValue = this.root.calculateRatingFromPointer(this.opts.index.current, e); + this.root.setValue(newValue); + if (this.root.opts.ref.current) { + this.root.opts.ref.current.focus(); + } + } + onpointermove(e) { + if (this.#isDisabled || + this.root.opts.readonly.current || + !this.root.opts.hoverPreview.current) + return; + // skip hover preview for touch devices + if (e.pointerType === "touch") + return; + const hoverValue = this.root.calculateRatingFromPointer(this.opts.index.current, e); + this.root.setHoverValue(hoverValue); + } + snippetProps = $derived.by(() => { + return { + state: this.#state, + }; + }); + props = $derived.by(() => ({ + id: this.opts.id.current, + role: "presentation", + "data-value": this.opts.index.current + 1, + "data-orientation": this.root.opts.orientation.current, + "data-disabled": boolToEmptyStrOrUndef(this.#isDisabled), + "data-readonly": this.root.opts.readonly.current ? "" : undefined, + "data-state": this.#state, + [ratingGroupAttrs.item]: "", + // + onclick: this.onclick, + onpointermove: this.onpointermove, + ...this.attachment, + })); +} +export class RatingGroupHiddenInputState { + static create() { + return new RatingGroupHiddenInputState(RatingGroupRootContext.get()); + } + root; + shouldRender = $derived.by(() => this.root.opts.name.current !== undefined); + props = $derived.by(() => ({ + name: this.root.opts.name.current, + value: this.root.opts.value.current, + required: this.root.opts.required.current, + disabled: this.root.opts.disabled.current, + })); + constructor(root) { + this.root = root; + } +} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/rating-group/types.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/types.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b2e9b262f0b9b78aacf2cf86c1674b8fcca62f62 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/types.d.ts @@ -0,0 +1,111 @@ +import type { OnChangeFn, WithChild, Without } from "../../internal/types.js"; +import type { Orientation } from "../../index.js"; +import type { BitsPrimitiveDivAttributes } from "../../shared/attributes.js"; +export type RatingGroupItemState = "active" | "partial" | "inactive"; +export type RatingGroupItemData = { + index: number; + state: RatingGroupItemState; +}; +export type RatingGroupRootSnippetProps = { + items: RatingGroupItemData[]; + value: number; + max: number; +}; +export type RatingGroupAriaValuetext = BitsPrimitiveDivAttributes["aria-valuetext"] | ((value: number, max: number) => string); +export type RatingGroupRootPropsWithoutHTML = WithChild<{ + /** + * The orientation of the rating group. Used to determine + * how keyboard interactions work. + * + * @default "horizontal" + */ + orientation?: Orientation; + /** + * The current rating value. + * + * @default 0 + */ + value?: number; + /** + * The callback to call when the rating value changes. + */ + onValueChange?: OnChangeFn; + /** + * The name to apply to the rating group's input element for + * form submission. If not provided, a hidden input will not + * be rendered and the rating group will not be part of a form. + * + * @default undefined + */ + name?: string; + /** + * Whether the rating group is disabled. + * + * @default false + */ + disabled?: boolean; + /** + * Whether the rating group is required for form submission. + * If `true`, ensure you provide a `name` prop so the hidden + * input is rendered. + * + * @default false + */ + required?: boolean; + /** + * The minimum rating value. + * + * @default 0 + */ + min?: number; + /** + * The maximum rating value (number of items). + * + * @default 5 + */ + max?: number; + /** + * Whether to allow half-star ratings. + * + * @default false + */ + allowHalf?: boolean; + /** + * Whether the rating group is readonly. + * + * @default false + */ + readonly?: boolean; + /** + * Whether to show a preview when hovering over rating items. + * Touch events are ignored to prevent accidental previews. + * + * @default true + */ + hoverPreview?: boolean; + /** + * An extended `aria-valuetext` property to use for the rating group. + * Can either be a string, or a function that receives the current value + * and max value and returns a string. + * + * @default ((value: number, max: number) => `${value} out of ${max}`) + */ + "aria-valuetext"?: RatingGroupAriaValuetext; +}, RatingGroupRootSnippetProps>; +export type RatingGroupRootProps = RatingGroupRootPropsWithoutHTML & Without; +export type RatingGroupItemSnippetProps = { + state: RatingGroupItemState; +}; +export type RatingGroupItemPropsWithoutHTML = WithChild<{ + /** + * The index of the rating item (0-based index). + */ + index: number; + /** + * Whether the rating item is disabled. + * + * @default false + */ + disabled?: boolean | null | undefined; +}, RatingGroupItemSnippetProps>; +export type RatingGroupItemProps = RatingGroupItemPropsWithoutHTML & Without; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/rating-group/types.js b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/types.js new file mode 100644 index 0000000000000000000000000000000000000000..cb0ff5c3b541f646105198ee23ac0fc3d805023e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/rating-group/types.js @@ -0,0 +1 @@ +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-corner-impl.svelte b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-corner-impl.svelte new file mode 100644 index 0000000000000000000000000000000000000000..7bec72e13def2e774d32f4b2741b8e6d56c59a14 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-corner-impl.svelte @@ -0,0 +1,33 @@ + + +{#if child} + {@render child({ props: mergedProps })} +{:else} +
+ {@render children?.()} +
+{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-corner-impl.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-corner-impl.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..5faa0818348c7bf05f47b90891ce3f0c4bf81991 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-corner-impl.svelte.d.ts @@ -0,0 +1,7 @@ +import type { ScrollAreaCornerProps } from "../types.js"; +type $$ComponentProps = Omit & { + id: string; +}; +declare const ScrollAreaCornerImpl: import("svelte").Component<$$ComponentProps, {}, "ref">; +type ScrollAreaCornerImpl = ReturnType; +export default ScrollAreaCornerImpl; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-corner.svelte b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-corner.svelte new file mode 100644 index 0000000000000000000000000000000000000000..1420d68c522cf058c9105c84f72d173f8d9a753a --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-corner.svelte @@ -0,0 +1,27 @@ + + +{#if hasCorner} + +{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-corner.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-corner.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..36defd06ae912d41a76c4309f618dc2826b10fe0 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-corner.svelte.d.ts @@ -0,0 +1,4 @@ +import type { ScrollAreaCornerProps } from "../types.js"; +declare const ScrollAreaCorner: import("svelte").Component; +type ScrollAreaCorner = ReturnType; +export default ScrollAreaCorner; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-auto.svelte b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-auto.svelte new file mode 100644 index 0000000000000000000000000000000000000000..8d37532be3f1dcd09a3a1daf582b94400608bcea --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-auto.svelte @@ -0,0 +1,21 @@ + + + + {#snippet presence()} + + {/snippet} + diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-auto.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-auto.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b39cce6705d94a72a78d18f40cdffd13ebcda637 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-auto.svelte.d.ts @@ -0,0 +1,4 @@ +import type { _ScrollbarStubProps } from "../types.js"; +declare const ScrollAreaScrollbarAuto: import("svelte").Component<_ScrollbarStubProps, {}, "">; +type ScrollAreaScrollbarAuto = ReturnType; +export default ScrollAreaScrollbarAuto; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-hover.svelte b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-hover.svelte new file mode 100644 index 0000000000000000000000000000000000000000..af92617aab8034defdf94cb202b9e59a3f8ae22e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-hover.svelte @@ -0,0 +1,30 @@ + + + + {#snippet presence()} + + {/snippet} + diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-hover.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-hover.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..1af0e2635853548f458dbd7c7861d43c56453496 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-hover.svelte.d.ts @@ -0,0 +1,4 @@ +import type { _ScrollbarStubProps } from "../types.js"; +declare const ScrollAreaScrollbarHover: import("svelte").Component<_ScrollbarStubProps, {}, "">; +type ScrollAreaScrollbarHover = ReturnType; +export default ScrollAreaScrollbarHover; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-scroll.svelte b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-scroll.svelte new file mode 100644 index 0000000000000000000000000000000000000000..ad1578794bc0c16d729ba71a4f3eab6c2f131a2b --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-scroll.svelte @@ -0,0 +1,23 @@ + + + + {#snippet presence()} + + {/snippet} + diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-scroll.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-scroll.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..3ce6506b92a414237e610e74146e41e98ff421d2 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-scroll.svelte.d.ts @@ -0,0 +1,4 @@ +import type { _ScrollbarStubProps } from "../types.js"; +declare const ScrollAreaScrollbarScroll: import("svelte").Component<_ScrollbarStubProps, {}, "">; +type ScrollAreaScrollbarScroll = ReturnType; +export default ScrollAreaScrollbarScroll; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-shared.svelte b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-shared.svelte new file mode 100644 index 0000000000000000000000000000000000000000..7032347de8c17d04be6df7d91b9bb1b3f500894e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-shared.svelte @@ -0,0 +1,19 @@ + + +{#if child} + {@render child({ props: mergedProps })} +{:else} +
+ {@render children?.()} +
+{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-shared.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-shared.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..2b5d043307718078e59bdccc623ecf1ae4f19974 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-shared.svelte.d.ts @@ -0,0 +1,4 @@ +import type { _ScrollbarStubProps } from "../types.js"; +declare const ScrollAreaScrollbarShared: import("svelte").Component<_ScrollbarStubProps, {}, "">; +type ScrollAreaScrollbarShared = ReturnType; +export default ScrollAreaScrollbarShared; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-visible.svelte b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-visible.svelte new file mode 100644 index 0000000000000000000000000000000000000000..8b45772522a13d3feb8185e6b314705e1c369dfe --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-visible.svelte @@ -0,0 +1,16 @@ + + +{#if scrollbarVisibleState.scrollbar.opts.orientation.current === "horizontal"} + +{:else} + +{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-visible.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-visible.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b61553bcc3f596eecce1e57a9b665d971a35ea87 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-visible.svelte.d.ts @@ -0,0 +1,4 @@ +import type { _ScrollbarStubProps } from "../types.js"; +declare const ScrollAreaScrollbarVisible: import("svelte").Component, {}, "">; +type ScrollAreaScrollbarVisible = ReturnType; +export default ScrollAreaScrollbarVisible; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-x.svelte b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-x.svelte new file mode 100644 index 0000000000000000000000000000000000000000..f8f18b8faacb4173bf8832b8b59e68487eaab047 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-x.svelte @@ -0,0 +1,19 @@ + + + diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-x.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-x.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d367c95854f343f5a22ff8567b5fd8f8851f60eb --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-x.svelte.d.ts @@ -0,0 +1,4 @@ +import type { _ScrollbarStubProps } from "../types.js"; +declare const ScrollAreaScrollbarX: import("svelte").Component<_ScrollbarStubProps, {}, "">; +type ScrollAreaScrollbarX = ReturnType; +export default ScrollAreaScrollbarX; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-y.svelte b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-y.svelte new file mode 100644 index 0000000000000000000000000000000000000000..953f520c9c59d4cf58c2ccb2b695f1bbc10cb4e7 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-y.svelte @@ -0,0 +1,20 @@ + + + diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-y.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-y.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..aed4e478678c815be95a7ca2679a90bccbcca004 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar-y.svelte.d.ts @@ -0,0 +1,4 @@ +import type { _ScrollbarStubProps } from "../types.js"; +declare const ScrollAreaScrollbarY: import("svelte").Component<_ScrollbarStubProps, {}, "">; +type ScrollAreaScrollbarY = ReturnType; +export default ScrollAreaScrollbarY; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar.svelte b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar.svelte new file mode 100644 index 0000000000000000000000000000000000000000..0bf05b83021881482cd73e709f8235201af9d233 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar.svelte @@ -0,0 +1,40 @@ + + +{#if type === "hover"} + +{:else if type === "scroll"} + +{:else if type === "auto"} + +{:else if type === "always"} + +{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..12fd1bc9355be7351a9338f60a55e04246595a34 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-scrollbar.svelte.d.ts @@ -0,0 +1,4 @@ +import type { ScrollAreaScrollbarProps } from "../types.js"; +declare const ScrollAreaScrollbar: import("svelte").Component; +type ScrollAreaScrollbar = ReturnType; +export default ScrollAreaScrollbar; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-thumb-impl.svelte b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-thumb-impl.svelte new file mode 100644 index 0000000000000000000000000000000000000000..801046008c27e3e272115931da75b8688df42916 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-thumb-impl.svelte @@ -0,0 +1,45 @@ + + +{#if child} + {@render child({ props: mergedProps })} +{:else} +
+ {@render children?.()} +
+{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-thumb-impl.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-thumb-impl.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..48ada66c143eaa4b1a677ab6d68bef7c54e9d16f --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-thumb-impl.svelte.d.ts @@ -0,0 +1,8 @@ +import type { ScrollAreaThumbProps } from "../types.js"; +type $$ComponentProps = Omit & { + id: string; + present: boolean; +}; +declare const ScrollAreaThumbImpl: import("svelte").Component<$$ComponentProps, {}, "ref">; +type ScrollAreaThumbImpl = ReturnType; +export default ScrollAreaThumbImpl; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-thumb.svelte b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-thumb.svelte new file mode 100644 index 0000000000000000000000000000000000000000..7a79a2ec80ac2ebe6859f8eccf97b5f8bb8fa1ac --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-thumb.svelte @@ -0,0 +1,24 @@ + + + + {#snippet presence({ present })} + + {/snippet} + diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-thumb.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-thumb.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..46ee8cd687c7a6bc7e052959d0ef0145d0299798 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-thumb.svelte.d.ts @@ -0,0 +1,4 @@ +import type { ScrollAreaThumbProps } from "../types.js"; +declare const ScrollAreaThumb: import("svelte").Component; +type ScrollAreaThumb = ReturnType; +export default ScrollAreaThumb; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-viewport.svelte b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-viewport.svelte new file mode 100644 index 0000000000000000000000000000000000000000..6669c9a10bbae6cded63926eadc0f45f993d2211 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-viewport.svelte @@ -0,0 +1,53 @@ + + +
+
+ {@render children?.()} +
+
+ + diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-viewport.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-viewport.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..9b0ae7655dc0483dad1ca5a0e4eecea1bafb297a --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area-viewport.svelte.d.ts @@ -0,0 +1,4 @@ +import type { ScrollAreaViewportProps } from "../types.js"; +declare const ScrollAreaViewport: import("svelte").Component; +type ScrollAreaViewport = ReturnType; +export default ScrollAreaViewport; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area.svelte b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area.svelte new file mode 100644 index 0000000000000000000000000000000000000000..b7c7b92dec48faee9dd8fc8745de22eff4f2d459 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area.svelte @@ -0,0 +1,40 @@ + + +{#if child} + {@render child({ props: mergedProps })} +{:else} +
+ {@render children?.()} +
+{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..8c936d2253158aa9f1883b5a224c704af9de94e8 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/components/scroll-area.svelte.d.ts @@ -0,0 +1,4 @@ +import type { ScrollAreaRootProps } from "../types.js"; +declare const ScrollArea: import("svelte").Component; +type ScrollArea = ReturnType; +export default ScrollArea; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/exports.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/exports.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..94cc327d9156447156b0ce6ba3dc9e2f112e24b1 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/exports.d.ts @@ -0,0 +1,6 @@ +export { default as Root } from "./components/scroll-area.svelte"; +export { default as Viewport } from "./components/scroll-area-viewport.svelte"; +export { default as Scrollbar } from "./components/scroll-area-scrollbar.svelte"; +export { default as Thumb } from "./components/scroll-area-thumb.svelte"; +export { default as Corner } from "./components/scroll-area-corner.svelte"; +export type { ScrollAreaRootProps as RootProps, ScrollAreaViewportProps as ViewportProps, ScrollAreaScrollbarProps as ScrollbarProps, ScrollAreaThumbProps as ThumbProps, ScrollAreaCornerProps as CornerProps, } from "./types.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/exports.js b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/exports.js new file mode 100644 index 0000000000000000000000000000000000000000..5ef346fc32a6aa8e950d09492600757cbfb8cbc3 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/exports.js @@ -0,0 +1,5 @@ +export { default as Root } from "./components/scroll-area.svelte"; +export { default as Viewport } from "./components/scroll-area-viewport.svelte"; +export { default as Scrollbar } from "./components/scroll-area-scrollbar.svelte"; +export { default as Thumb } from "./components/scroll-area-thumb.svelte"; +export { default as Corner } from "./components/scroll-area-corner.svelte"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/index.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..a5b6d6d8e46df99df73e46e0f700d8f7dbdd9358 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/index.d.ts @@ -0,0 +1 @@ +export * as ScrollArea from "./exports.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/index.js b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/index.js new file mode 100644 index 0000000000000000000000000000000000000000..a5b6d6d8e46df99df73e46e0f700d8f7dbdd9358 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/index.js @@ -0,0 +1 @@ +export * as ScrollArea from "./exports.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/scroll-area.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/scroll-area.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..21127bdc8c5de4f56a51d7370166ad7387ce3c9a --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/scroll-area.svelte.d.ts @@ -0,0 +1,340 @@ +/** + * This logic is adapted from Radix UI ScrollArea component. + * https://github.com/radix-ui/primitives/blob/main/packages/react/scroll-area/src/ScrollArea.tsx + * Credit to Jenna Smith (@jjenzz) for the original implementation. + * Incredible thought must have went into solving all the intricacies of this component. + */ +import { Context } from "runed"; +import { DOMContext, type ReadableBoxedValues } from "svelte-toolbelt"; +import type { ScrollAreaType } from "./types.js"; +import type { BitsPointerEvent, RefAttachment, WithRefOpts } from "../../internal/types.js"; +import { type Direction, type Orientation } from "../../shared/index.js"; +import { StateMachine } from "../../internal/state-machine.js"; +export declare const ScrollAreaRootContext: Context; +export declare const ScrollAreaScrollbarContext: Context; +export declare const ScrollAreaScrollbarVisibleContext: Context; +export declare const ScrollAreaScrollbarAxisContext: Context; +export declare const ScrollAreaScrollbarSharedContext: Context; +interface Sizes { + content: number; + viewport: number; + scrollbar: { + size: number; + paddingStart: number; + paddingEnd: number; + }; +} +interface ScrollAreaRootStateOpts extends WithRefOpts, ReadableBoxedValues<{ + dir: Direction; + type: ScrollAreaType; + scrollHideDelay: number; +}> { +} +export declare class ScrollAreaRootState { + static create(opts: ScrollAreaRootStateOpts): ScrollAreaRootState; + readonly opts: ScrollAreaRootStateOpts; + readonly attachment: RefAttachment; + scrollAreaNode: HTMLElement | null; + viewportNode: HTMLElement | null; + contentNode: HTMLElement | null; + scrollbarXNode: HTMLElement | null; + scrollbarYNode: HTMLElement | null; + cornerWidth: number; + cornerHeight: number; + scrollbarXEnabled: boolean; + scrollbarYEnabled: boolean; + domContext: DOMContext; + constructor(opts: ScrollAreaRootStateOpts); + readonly props: { + readonly id: string; + readonly dir: Direction; + readonly style: { + readonly position: "relative"; + readonly "--bits-scroll-area-corner-height": `${number}px`; + readonly "--bits-scroll-area-corner-width": `${number}px`; + }; + }; +} +interface ScrollAreaViewportStateOpts extends WithRefOpts { +} +export declare class ScrollAreaViewportState { + #private; + static create(opts: ScrollAreaViewportStateOpts): ScrollAreaViewportState; + readonly opts: ScrollAreaViewportStateOpts; + readonly root: ScrollAreaRootState; + readonly attachment: RefAttachment; + readonly contentAttachment: RefAttachment; + constructor(opts: ScrollAreaViewportStateOpts, root: ScrollAreaRootState); + readonly props: { + readonly id: string; + readonly style: { + readonly overflowX: "scroll" | "hidden"; + readonly overflowY: "scroll" | "hidden"; + }; + }; + readonly contentProps: { + readonly id: string; + readonly "data-scroll-area-content": ""; + /** + * When horizontal scrollbar is visible: this element should be at least + * as wide as its children for size calculations to work correctly. + * + * When horizontal scrollbar is NOT visible: this element's width should + * be constrained by the parent container to enable `text-overflow: ellipsis` + */ + readonly style: { + readonly minWidth: "fit-content" | undefined; + }; + }; +} +interface ScrollAreaScrollbarStateOpts extends WithRefOpts, ReadableBoxedValues<{ + orientation: Orientation; +}> { +} +export declare class ScrollAreaScrollbarState { + static create(opts: ScrollAreaScrollbarStateOpts): ScrollAreaScrollbarState; + readonly opts: ScrollAreaScrollbarStateOpts; + readonly root: ScrollAreaRootState; + readonly isHorizontal: boolean; + hasThumb: boolean; + constructor(opts: ScrollAreaScrollbarStateOpts, root: ScrollAreaRootState); +} +export declare class ScrollAreaScrollbarHoverState { + static create(): ScrollAreaScrollbarHoverState; + readonly scrollbar: ScrollAreaScrollbarState; + root: ScrollAreaRootState; + isVisible: boolean; + constructor(scrollbar: ScrollAreaScrollbarState); + readonly props: { + readonly "data-state": "hidden" | "visible"; + }; +} +export declare class ScrollAreaScrollbarScrollState { + static create(): ScrollAreaScrollbarScrollState; + readonly scrollbar: ScrollAreaScrollbarState; + readonly root: ScrollAreaRootState; + readonly machine: StateMachine<{ + hidden: { + SCROLL: "scrolling"; + }; + scrolling: { + SCROLL_END: "idle"; + POINTER_ENTER: "interacting"; + }; + interacting: { + SCROLL: "interacting"; + POINTER_LEAVE: "idle"; + }; + idle: { + HIDE: "hidden"; + SCROLL: "scrolling"; + POINTER_ENTER: "interacting"; + }; + }>; + readonly isHidden: boolean; + constructor(scrollbar: ScrollAreaScrollbarState); + onpointerenter(_: BitsPointerEvent): void; + onpointerleave(_: BitsPointerEvent): void; + readonly props: { + readonly "data-state": "hidden" | "visible"; + readonly onpointerenter: (_: BitsPointerEvent) => void; + readonly onpointerleave: (_: BitsPointerEvent) => void; + }; +} +export declare class ScrollAreaScrollbarAutoState { + static create(): ScrollAreaScrollbarAutoState; + readonly scrollbar: ScrollAreaScrollbarState; + readonly root: ScrollAreaRootState; + isVisible: boolean; + constructor(scrollbar: ScrollAreaScrollbarState); + readonly props: { + readonly "data-state": "hidden" | "visible"; + }; +} +export declare class ScrollAreaScrollbarVisibleState { + static create(): ScrollAreaScrollbarVisibleState; + readonly scrollbar: ScrollAreaScrollbarState; + readonly root: ScrollAreaRootState; + thumbNode: HTMLElement | null; + pointerOffset: number; + sizes: Sizes; + readonly thumbRatio: number; + readonly hasThumb: boolean; + prevTransformStyle: string; + constructor(scrollbar: ScrollAreaScrollbarState); + setSizes(sizes: Sizes): void; + getScrollPosition(pointerPos: number, dir?: Direction): number; + onThumbPointerUp(): void; + onThumbPointerDown(pointerPos: number): void; + xOnThumbPositionChange(): void; + xOnWheelScroll(scrollPos: number): void; + xOnDragScroll(pointerPos: number): void; + yOnThumbPositionChange(): void; + yOnWheelScroll(scrollPos: number): void; + yOnDragScroll(pointerPos: number): void; +} +interface ScrollbarAxisStateOpts extends ReadableBoxedValues<{ + mounted: boolean; +}> { +} +interface ScrollbarAxisState { + onThumbPointerDown: (pointerPos: { + x: number; + y: number; + }) => void; + onDragScroll: (pointerPos: { + x: number; + y: number; + }) => void; + onWheelScroll: (e: WheelEvent, maxScrollPos: number) => void; + onResize: () => void; + onThumbPositionChange: () => void; + onThumbPointerUp: () => void; + props: { + id: string; + "data-orientation": "horizontal" | "vertical"; + style: Record; + }; +} +export declare class ScrollAreaScrollbarXState implements ScrollbarAxisState { + static create(opts: ScrollbarAxisStateOpts): ScrollbarAxis; + readonly opts: ScrollbarAxisStateOpts; + readonly scrollbarVis: ScrollAreaScrollbarVisibleState; + readonly root: ScrollAreaRootState; + readonly scrollbar: ScrollAreaScrollbarState; + readonly attachment: RefAttachment; + computedStyle: CSSStyleDeclaration | undefined; + constructor(opts: ScrollbarAxisStateOpts, scrollbarVis: ScrollAreaScrollbarVisibleState); + onThumbPointerDown: (pointerPos: { + x: number; + y: number; + }) => void; + onDragScroll: (pointerPos: { + x: number; + y: number; + }) => void; + onThumbPointerUp: () => void; + onThumbPositionChange: () => void; + onWheelScroll: (e: WheelEvent, maxScrollPos: number) => void; + onResize: () => void; + readonly thumbSize: number; + readonly props: { + readonly id: string; + readonly "data-orientation": "horizontal"; + readonly style: { + readonly bottom: 0; + readonly left: 0 | "var(--bits-scroll-area-corner-width)"; + readonly right: 0 | "var(--bits-scroll-area-corner-width)"; + readonly "--bits-scroll-area-thumb-width": `${number}px`; + }; + }; +} +export declare class ScrollAreaScrollbarYState implements ScrollbarAxisState { + static create(opts: ScrollbarAxisStateOpts): ScrollbarAxis; + readonly opts: ScrollbarAxisStateOpts; + readonly scrollbarVis: ScrollAreaScrollbarVisibleState; + readonly root: ScrollAreaRootState; + readonly scrollbar: ScrollAreaScrollbarState; + readonly attachment: RefAttachment; + computedStyle: CSSStyleDeclaration | undefined; + constructor(opts: ScrollbarAxisStateOpts, scrollbarVis: ScrollAreaScrollbarVisibleState); + onThumbPointerDown(pointerPos: { + x: number; + y: number; + }): void; + onDragScroll(pointerPos: { + x: number; + y: number; + }): void; + onThumbPointerUp(): void; + onThumbPositionChange(): void; + onWheelScroll(e: WheelEvent, maxScrollPos: number): void; + onResize(): void; + readonly thumbSize: number; + readonly props: { + readonly id: string; + readonly "data-orientation": "vertical"; + readonly style: { + readonly top: 0; + readonly right: 0 | undefined; + readonly left: 0 | undefined; + readonly bottom: "var(--bits-scroll-area-corner-height)"; + readonly "--bits-scroll-area-thumb-height": `${number}px`; + }; + }; +} +type ScrollbarAxis = ScrollAreaScrollbarXState | ScrollAreaScrollbarYState; +export declare class ScrollAreaScrollbarSharedState { + #private; + static create(): ScrollAreaScrollbarSharedState; + readonly scrollbarState: ScrollbarAxis; + readonly root: ScrollAreaRootState; + readonly scrollbarVis: ScrollAreaScrollbarVisibleState; + readonly scrollbar: ScrollAreaScrollbarState; + rect: DOMRect | null; + prevWebkitUserSelect: string; + handleResize: () => void; + handleThumbPositionChange: () => void; + handleWheelScroll: (e: WheelEvent, maxScrollPos: number) => void; + handleThumbPointerDown: (pointerPos: { + x: number; + y: number; + }) => void; + handleThumbPointerUp: () => void; + readonly maxScrollPos: number; + constructor(scrollbarState: ScrollbarAxis); + handleDragScroll(e: PointerEvent): void; + onpointerdown(e: BitsPointerEvent): void; + onpointermove(e: BitsPointerEvent): void; + onpointerup(e: BitsPointerEvent): void; + onlostpointercapture(_: BitsPointerEvent): void; + readonly props: never; +} +interface ScrollAreaThumbImplStateOpts extends WithRefOpts, ReadableBoxedValues<{ + mounted: boolean; +}> { +} +export declare class ScrollAreaThumbImplState { + #private; + static create(opts: ScrollAreaThumbImplStateOpts): ScrollAreaThumbImplState; + readonly opts: ScrollAreaThumbImplStateOpts; + readonly scrollbarState: ScrollAreaScrollbarSharedState; + readonly attachment: RefAttachment; + constructor(opts: ScrollAreaThumbImplStateOpts, scrollbarState: ScrollAreaScrollbarSharedState); + onpointerdowncapture(e: BitsPointerEvent): void; + onpointerup(_: BitsPointerEvent): void; + readonly props: { + readonly id: string; + readonly "data-state": "hidden" | "visible"; + readonly style: { + readonly width: "var(--bits-scroll-area-thumb-width)"; + readonly height: "var(--bits-scroll-area-thumb-height)"; + readonly transform: string; + }; + readonly onpointerdowncapture: (e: BitsPointerEvent) => void; + readonly onpointerup: (_: BitsPointerEvent) => void; + }; +} +interface ScrollAreaCornerImplStateOpts extends WithRefOpts { +} +export declare class ScrollAreaCornerImplState { + #private; + static create(opts: ScrollAreaCornerImplStateOpts): ScrollAreaCornerImplState; + readonly opts: ScrollAreaCornerImplStateOpts; + readonly root: ScrollAreaRootState; + readonly attachment: RefAttachment; + readonly hasSize: boolean; + constructor(opts: ScrollAreaCornerImplStateOpts, root: ScrollAreaRootState); + readonly props: { + id: string; + style: { + width: number; + height: number; + position: string; + right: number | undefined; + left: number | undefined; + bottom: number; + }; + }; +} +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/scroll-area.svelte.js b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/scroll-area.svelte.js new file mode 100644 index 0000000000000000000000000000000000000000..b1f93505e7a6d4fc9f984d2ba4d6698fe8de315b --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/scroll-area.svelte.js @@ -0,0 +1,797 @@ +/** + * This logic is adapted from Radix UI ScrollArea component. + * https://github.com/radix-ui/primitives/blob/main/packages/react/scroll-area/src/ScrollArea.tsx + * Credit to Jenna Smith (@jjenzz) for the original implementation. + * Incredible thought must have went into solving all the intricacies of this component. + */ +import { Context, useDebounce, watch } from "runed"; +import { untrack } from "svelte"; +import { simpleBox, executeCallbacks, attachRef, DOMContext, getWindow, } from "svelte-toolbelt"; +import { mergeProps, useId } from "../../shared/index.js"; +import { clamp } from "../../internal/clamp.js"; +import { on } from "svelte/events"; +import { createBitsAttrs } from "../../internal/attrs.js"; +import { StateMachine } from "../../internal/state-machine.js"; +import { SvelteResizeObserver } from "../../internal/svelte-resize-observer.svelte.js"; +const scrollAreaAttrs = createBitsAttrs({ + component: "scroll-area", + parts: ["root", "viewport", "corner", "thumb", "scrollbar"], +}); +export const ScrollAreaRootContext = new Context("ScrollArea.Root"); +export const ScrollAreaScrollbarContext = new Context("ScrollArea.Scrollbar"); +export const ScrollAreaScrollbarVisibleContext = new Context("ScrollArea.ScrollbarVisible"); +export const ScrollAreaScrollbarAxisContext = new Context("ScrollArea.ScrollbarAxis"); +export const ScrollAreaScrollbarSharedContext = new Context("ScrollArea.ScrollbarShared"); +export class ScrollAreaRootState { + static create(opts) { + return ScrollAreaRootContext.set(new ScrollAreaRootState(opts)); + } + opts; + attachment; + scrollAreaNode = $state(null); + viewportNode = $state(null); + contentNode = $state(null); + scrollbarXNode = $state(null); + scrollbarYNode = $state(null); + cornerWidth = $state(0); + cornerHeight = $state(0); + scrollbarXEnabled = $state(false); + scrollbarYEnabled = $state(false); + domContext; + constructor(opts) { + this.opts = opts; + this.attachment = attachRef(opts.ref, (v) => (this.scrollAreaNode = v)); + this.domContext = new DOMContext(opts.ref); + } + props = $derived.by(() => ({ + id: this.opts.id.current, + dir: this.opts.dir.current, + style: { + position: "relative", + "--bits-scroll-area-corner-height": `${this.cornerHeight}px`, + "--bits-scroll-area-corner-width": `${this.cornerWidth}px`, + }, + [scrollAreaAttrs.root]: "", + ...this.attachment, + })); +} +export class ScrollAreaViewportState { + static create(opts) { + return new ScrollAreaViewportState(opts, ScrollAreaRootContext.get()); + } + opts; + root; + attachment; + #contentId = simpleBox(useId()); + #contentRef = simpleBox(null); + contentAttachment = attachRef(this.#contentRef, (v) => (this.root.contentNode = v)); + constructor(opts, root) { + this.opts = opts; + this.root = root; + this.attachment = attachRef(opts.ref, (v) => (this.root.viewportNode = v)); + } + props = $derived.by(() => ({ + id: this.opts.id.current, + style: { + overflowX: this.root.scrollbarXEnabled ? "scroll" : "hidden", + overflowY: this.root.scrollbarYEnabled ? "scroll" : "hidden", + }, + [scrollAreaAttrs.viewport]: "", + ...this.attachment, + })); + contentProps = $derived.by(() => ({ + id: this.#contentId.current, + "data-scroll-area-content": "", + /** + * When horizontal scrollbar is visible: this element should be at least + * as wide as its children for size calculations to work correctly. + * + * When horizontal scrollbar is NOT visible: this element's width should + * be constrained by the parent container to enable `text-overflow: ellipsis` + */ + style: { minWidth: this.root.scrollbarXEnabled ? "fit-content" : undefined }, + ...this.contentAttachment, + })); +} +export class ScrollAreaScrollbarState { + static create(opts) { + return ScrollAreaScrollbarContext.set(new ScrollAreaScrollbarState(opts, ScrollAreaRootContext.get())); + } + opts; + root; + isHorizontal = $derived.by(() => this.opts.orientation.current === "horizontal"); + hasThumb = $state(false); + constructor(opts, root) { + this.opts = opts; + this.root = root; + watch(() => this.isHorizontal, (isHorizontal) => { + if (isHorizontal) { + this.root.scrollbarXEnabled = true; + return () => { + this.root.scrollbarXEnabled = false; + }; + } + else { + this.root.scrollbarYEnabled = true; + return () => { + this.root.scrollbarYEnabled = false; + }; + } + }); + } +} +export class ScrollAreaScrollbarHoverState { + static create() { + return new ScrollAreaScrollbarHoverState(ScrollAreaScrollbarContext.get()); + } + scrollbar; + root; + isVisible = $state(false); + constructor(scrollbar) { + this.scrollbar = scrollbar; + this.root = scrollbar.root; + $effect(() => { + const scrollAreaNode = this.root.scrollAreaNode; + const hideDelay = this.root.opts.scrollHideDelay.current; + let hideTimer = 0; + if (!scrollAreaNode) + return; + const handlePointerEnter = () => { + this.root.domContext.clearTimeout(hideTimer); + untrack(() => (this.isVisible = true)); + }; + const handlePointerLeave = () => { + if (hideTimer) + this.root.domContext.clearTimeout(hideTimer); + hideTimer = this.root.domContext.setTimeout(() => { + untrack(() => { + this.scrollbar.hasThumb = false; + this.isVisible = false; + }); + }, hideDelay); + }; + const unsubListeners = executeCallbacks(on(scrollAreaNode, "pointerenter", handlePointerEnter), on(scrollAreaNode, "pointerleave", handlePointerLeave)); + return () => { + this.root.domContext.getWindow().clearTimeout(hideTimer); + unsubListeners(); + }; + }); + } + props = $derived.by(() => ({ + "data-state": this.isVisible ? "visible" : "hidden", + })); +} +export class ScrollAreaScrollbarScrollState { + static create() { + return new ScrollAreaScrollbarScrollState(ScrollAreaScrollbarContext.get()); + } + scrollbar; + root; + machine = new StateMachine("hidden", { + hidden: { + SCROLL: "scrolling", + }, + scrolling: { + SCROLL_END: "idle", + POINTER_ENTER: "interacting", + }, + interacting: { + SCROLL: "interacting", + POINTER_LEAVE: "idle", + }, + idle: { + HIDE: "hidden", + SCROLL: "scrolling", + POINTER_ENTER: "interacting", + }, + }); + isHidden = $derived.by(() => this.machine.state.current === "hidden"); + constructor(scrollbar) { + this.scrollbar = scrollbar; + this.root = scrollbar.root; + const debounceScrollend = useDebounce(() => this.machine.dispatch("SCROLL_END"), 100); + $effect(() => { + const _state = this.machine.state.current; + const scrollHideDelay = this.root.opts.scrollHideDelay.current; + if (_state === "idle") { + const hideTimer = this.root.domContext.setTimeout(() => this.machine.dispatch("HIDE"), scrollHideDelay); + return () => this.root.domContext.clearTimeout(hideTimer); + } + }); + $effect(() => { + const viewportNode = this.root.viewportNode; + if (!viewportNode) + return; + const scrollDirection = this.scrollbar.isHorizontal ? "scrollLeft" : "scrollTop"; + let prevScrollPos = viewportNode[scrollDirection]; + const handleScroll = () => { + const scrollPos = viewportNode[scrollDirection]; + const hasScrollInDirectionChanged = prevScrollPos !== scrollPos; + if (hasScrollInDirectionChanged) { + this.machine.dispatch("SCROLL"); + debounceScrollend(); + } + prevScrollPos = scrollPos; + }; + const unsubListener = on(viewportNode, "scroll", handleScroll); + return unsubListener; + }); + this.onpointerenter = this.onpointerenter.bind(this); + this.onpointerleave = this.onpointerleave.bind(this); + } + onpointerenter(_) { + this.machine.dispatch("POINTER_ENTER"); + } + onpointerleave(_) { + this.machine.dispatch("POINTER_LEAVE"); + } + props = $derived.by(() => ({ + "data-state": this.machine.state.current === "hidden" ? "hidden" : "visible", + onpointerenter: this.onpointerenter, + onpointerleave: this.onpointerleave, + })); +} +export class ScrollAreaScrollbarAutoState { + static create() { + return new ScrollAreaScrollbarAutoState(ScrollAreaScrollbarContext.get()); + } + scrollbar; + root; + isVisible = $state(false); + constructor(scrollbar) { + this.scrollbar = scrollbar; + this.root = scrollbar.root; + const handleResize = useDebounce(() => { + const viewportNode = this.root.viewportNode; + if (!viewportNode) + return; + const isOverflowX = viewportNode.offsetWidth < viewportNode.scrollWidth; + const isOverflowY = viewportNode.offsetHeight < viewportNode.scrollHeight; + this.isVisible = this.scrollbar.isHorizontal ? isOverflowX : isOverflowY; + }, 10); + new SvelteResizeObserver(() => this.root.viewportNode, handleResize); + new SvelteResizeObserver(() => this.root.contentNode, handleResize); + } + props = $derived.by(() => ({ + "data-state": this.isVisible ? "visible" : "hidden", + })); +} +export class ScrollAreaScrollbarVisibleState { + static create() { + return ScrollAreaScrollbarVisibleContext.set(new ScrollAreaScrollbarVisibleState(ScrollAreaScrollbarContext.get())); + } + scrollbar; + root; + thumbNode = $state(null); + pointerOffset = $state(0); + sizes = $state.raw({ + content: 0, + viewport: 0, + scrollbar: { size: 0, paddingStart: 0, paddingEnd: 0 }, + }); + thumbRatio = $derived.by(() => getThumbRatio(this.sizes.viewport, this.sizes.content)); + hasThumb = $derived.by(() => Boolean(this.thumbRatio > 0 && this.thumbRatio < 1)); + // this needs to be a $state to properly restore the transform style when the scrollbar + // goes from a hidden to visible state, otherwise it will start at the beginning of the + // scrollbar and flicker to the correct position after + prevTransformStyle = $state(""); + constructor(scrollbar) { + this.scrollbar = scrollbar; + this.root = scrollbar.root; + $effect(() => { + this.scrollbar.hasThumb = this.hasThumb; + }); + $effect(() => { + if (!this.scrollbar.hasThumb && this.thumbNode) { + this.prevTransformStyle = this.thumbNode.style.transform; + } + }); + } + setSizes(sizes) { + this.sizes = sizes; + } + getScrollPosition(pointerPos, dir) { + return getScrollPositionFromPointer({ + pointerPos, + pointerOffset: this.pointerOffset, + sizes: this.sizes, + dir, + }); + } + onThumbPointerUp() { + this.pointerOffset = 0; + } + onThumbPointerDown(pointerPos) { + this.pointerOffset = pointerPos; + } + xOnThumbPositionChange() { + if (!(this.root.viewportNode && this.thumbNode)) + return; + const scrollPos = this.root.viewportNode.scrollLeft; + const offset = getThumbOffsetFromScroll({ + scrollPos, + sizes: this.sizes, + dir: this.root.opts.dir.current, + }); + const transformStyle = `translate3d(${offset}px, 0, 0)`; + this.thumbNode.style.transform = transformStyle; + this.prevTransformStyle = transformStyle; + } + xOnWheelScroll(scrollPos) { + if (!this.root.viewportNode) + return; + this.root.viewportNode.scrollLeft = scrollPos; + } + xOnDragScroll(pointerPos) { + if (!this.root.viewportNode) + return; + this.root.viewportNode.scrollLeft = this.getScrollPosition(pointerPos, this.root.opts.dir.current); + } + yOnThumbPositionChange() { + if (!(this.root.viewportNode && this.thumbNode)) + return; + const scrollPos = this.root.viewportNode.scrollTop; + const offset = getThumbOffsetFromScroll({ scrollPos, sizes: this.sizes }); + const transformStyle = `translate3d(0, ${offset}px, 0)`; + this.thumbNode.style.transform = transformStyle; + this.prevTransformStyle = transformStyle; + } + yOnWheelScroll(scrollPos) { + if (!this.root.viewportNode) + return; + this.root.viewportNode.scrollTop = scrollPos; + } + yOnDragScroll(pointerPos) { + if (!this.root.viewportNode) + return; + this.root.viewportNode.scrollTop = this.getScrollPosition(pointerPos, this.root.opts.dir.current); + } +} +export class ScrollAreaScrollbarXState { + static create(opts) { + return ScrollAreaScrollbarAxisContext.set(new ScrollAreaScrollbarXState(opts, ScrollAreaScrollbarVisibleContext.get())); + } + opts; + scrollbarVis; + root; + scrollbar; + attachment; + computedStyle = $state(); + constructor(opts, scrollbarVis) { + this.opts = opts; + this.scrollbarVis = scrollbarVis; + this.root = scrollbarVis.root; + this.scrollbar = scrollbarVis.scrollbar; + this.attachment = attachRef(this.scrollbar.opts.ref, (v) => (this.root.scrollbarXNode = v)); + $effect(() => { + if (!this.scrollbar.opts.ref.current) + return; + if (this.opts.mounted.current) { + this.computedStyle = getComputedStyle(this.scrollbar.opts.ref.current); + } + }); + $effect(() => { + // Ensure when a user scrolls down and then the scrollbar is hidden + // that when it shows again it will be positioned correctly. + this.onResize(); + }); + } + onThumbPointerDown = (pointerPos) => { + this.scrollbarVis.onThumbPointerDown(pointerPos.x); + }; + onDragScroll = (pointerPos) => { + this.scrollbarVis.xOnDragScroll(pointerPos.x); + }; + onThumbPointerUp = () => { + this.scrollbarVis.onThumbPointerUp(); + }; + onThumbPositionChange = () => { + this.scrollbarVis.xOnThumbPositionChange(); + }; + onWheelScroll = (e, maxScrollPos) => { + if (!this.root.viewportNode) + return; + const scrollPos = this.root.viewportNode.scrollLeft + e.deltaX; + this.scrollbarVis.xOnWheelScroll(scrollPos); + // prevent window scroll when wheeling scrollbar + if (isScrollingWithinScrollbarBounds(scrollPos, maxScrollPos)) { + e.preventDefault(); + } + }; + onResize = () => { + if (!(this.scrollbar.opts.ref.current && this.root.viewportNode && this.computedStyle)) + return; + this.scrollbarVis.setSizes({ + content: this.root.viewportNode.scrollWidth, + viewport: this.root.viewportNode.offsetWidth, + scrollbar: { + size: this.scrollbar.opts.ref.current.clientWidth, + paddingStart: toInt(this.computedStyle.paddingLeft), + paddingEnd: toInt(this.computedStyle.paddingRight), + }, + }); + }; + thumbSize = $derived.by(() => { + return getThumbSize(this.scrollbarVis.sizes); + }); + props = $derived.by(() => ({ + id: this.scrollbar.opts.id.current, + "data-orientation": "horizontal", + style: { + bottom: 0, + left: this.root.opts.dir.current === "rtl" + ? "var(--bits-scroll-area-corner-width)" + : 0, + right: this.root.opts.dir.current === "ltr" + ? "var(--bits-scroll-area-corner-width)" + : 0, + "--bits-scroll-area-thumb-width": `${this.thumbSize}px`, + }, + ...this.attachment, + })); +} +export class ScrollAreaScrollbarYState { + static create(opts) { + return ScrollAreaScrollbarAxisContext.set(new ScrollAreaScrollbarYState(opts, ScrollAreaScrollbarVisibleContext.get())); + } + opts; + scrollbarVis; + root; + scrollbar; + attachment; + computedStyle = $state(); + constructor(opts, scrollbarVis) { + this.opts = opts; + this.scrollbarVis = scrollbarVis; + this.root = scrollbarVis.root; + this.scrollbar = scrollbarVis.scrollbar; + this.attachment = attachRef(this.scrollbar.opts.ref, (v) => (this.root.scrollbarYNode = v)); + $effect(() => { + if (!this.scrollbar.opts.ref.current) + return; + if (this.opts.mounted.current) { + this.computedStyle = getComputedStyle(this.scrollbar.opts.ref.current); + } + }); + $effect(() => { + // Ensure when a user scrolls down and then the scrollbar is hidden + // that when it shows again it will be positioned correctly. + this.onResize(); + }); + this.onThumbPointerDown = this.onThumbPointerDown.bind(this); + this.onDragScroll = this.onDragScroll.bind(this); + this.onThumbPointerUp = this.onThumbPointerUp.bind(this); + this.onThumbPositionChange = this.onThumbPositionChange.bind(this); + this.onWheelScroll = this.onWheelScroll.bind(this); + this.onResize = this.onResize.bind(this); + } + onThumbPointerDown(pointerPos) { + this.scrollbarVis.onThumbPointerDown(pointerPos.y); + } + onDragScroll(pointerPos) { + this.scrollbarVis.yOnDragScroll(pointerPos.y); + } + onThumbPointerUp() { + this.scrollbarVis.onThumbPointerUp(); + } + onThumbPositionChange() { + this.scrollbarVis.yOnThumbPositionChange(); + } + onWheelScroll(e, maxScrollPos) { + if (!this.root.viewportNode) + return; + const scrollPos = this.root.viewportNode.scrollTop + e.deltaY; + this.scrollbarVis.yOnWheelScroll(scrollPos); + // prevent window scroll when wheeling scrollbar + if (isScrollingWithinScrollbarBounds(scrollPos, maxScrollPos)) { + e.preventDefault(); + } + } + onResize() { + if (!(this.scrollbar.opts.ref.current && this.root.viewportNode && this.computedStyle)) + return; + this.scrollbarVis.setSizes({ + content: this.root.viewportNode.scrollHeight, + viewport: this.root.viewportNode.offsetHeight, + scrollbar: { + size: this.scrollbar.opts.ref.current.clientHeight, + paddingStart: toInt(this.computedStyle.paddingTop), + paddingEnd: toInt(this.computedStyle.paddingBottom), + }, + }); + } + thumbSize = $derived.by(() => { + return getThumbSize(this.scrollbarVis.sizes); + }); + props = $derived.by(() => ({ + id: this.scrollbar.opts.id.current, + "data-orientation": "vertical", + style: { + top: 0, + right: this.root.opts.dir.current === "ltr" ? 0 : undefined, + left: this.root.opts.dir.current === "rtl" ? 0 : undefined, + bottom: "var(--bits-scroll-area-corner-height)", + "--bits-scroll-area-thumb-height": `${this.thumbSize}px`, + }, + ...this.attachment, + })); +} +export class ScrollAreaScrollbarSharedState { + static create() { + return ScrollAreaScrollbarSharedContext.set(new ScrollAreaScrollbarSharedState(ScrollAreaScrollbarAxisContext.get())); + } + scrollbarState; + root; + scrollbarVis; + scrollbar; + rect = $state.raw(null); + prevWebkitUserSelect = $state(""); + handleResize; + handleThumbPositionChange; + handleWheelScroll; + handleThumbPointerDown; + handleThumbPointerUp; + maxScrollPos = $derived.by(() => this.scrollbarVis.sizes.content - this.scrollbarVis.sizes.viewport); + constructor(scrollbarState) { + this.scrollbarState = scrollbarState; + this.root = scrollbarState.root; + this.scrollbarVis = scrollbarState.scrollbarVis; + this.scrollbar = scrollbarState.scrollbarVis.scrollbar; + this.handleResize = useDebounce(() => this.scrollbarState.onResize(), 10); + this.handleThumbPositionChange = this.scrollbarState.onThumbPositionChange; + this.handleWheelScroll = this.scrollbarState.onWheelScroll; + this.handleThumbPointerDown = this.scrollbarState.onThumbPointerDown; + this.handleThumbPointerUp = this.scrollbarState.onThumbPointerUp; + $effect(() => { + const maxScrollPos = this.maxScrollPos; + const scrollbarNode = this.scrollbar.opts.ref.current; + // we want to react to the viewport node changing so we leave this here + this.root.viewportNode; + const handleWheel = (e) => { + const node = e.target; + const isScrollbarWheel = scrollbarNode?.contains(node); + if (isScrollbarWheel) + this.handleWheelScroll(e, maxScrollPos); + }; + const unsubListener = on(this.root.domContext.getDocument(), "wheel", handleWheel, { + passive: false, + }); + return unsubListener; + }); + $effect.pre(() => { + // react to changes to this: + this.scrollbarVis.sizes; + untrack(() => this.handleThumbPositionChange()); + }); + // $effect.pre(() => { + // this.handleThumbPositionChange(); + // }); + new SvelteResizeObserver(() => this.scrollbar.opts.ref.current, this.handleResize); + new SvelteResizeObserver(() => this.root.contentNode, this.handleResize); + this.onpointerdown = this.onpointerdown.bind(this); + this.onpointermove = this.onpointermove.bind(this); + this.onpointerup = this.onpointerup.bind(this); + this.onlostpointercapture = this.onlostpointercapture.bind(this); + } + handleDragScroll(e) { + if (!this.rect) + return; + const x = e.clientX - this.rect.left; + const y = e.clientY - this.rect.top; + this.scrollbarState.onDragScroll({ x, y }); + } + #cleanupPointerState() { + if (this.rect === null) + return; + this.root.domContext.getDocument().body.style.webkitUserSelect = this.prevWebkitUserSelect; + if (this.root.viewportNode) + this.root.viewportNode.style.scrollBehavior = ""; + this.rect = null; + } + onpointerdown(e) { + if (e.button !== 0) + return; + const target = e.target; + target.setPointerCapture(e.pointerId); + this.rect = this.scrollbar.opts.ref.current?.getBoundingClientRect() ?? null; + // pointer capture doesn't prevent text selection in Safari + // so we remove text selection manually when scrolling + this.prevWebkitUserSelect = this.root.domContext.getDocument().body.style.webkitUserSelect; + this.root.domContext.getDocument().body.style.webkitUserSelect = "none"; + if (this.root.viewportNode) + this.root.viewportNode.style.scrollBehavior = "auto"; + this.handleDragScroll(e); + } + onpointermove(e) { + this.handleDragScroll(e); + } + onpointerup(e) { + const target = e.target; + if (target.hasPointerCapture(e.pointerId)) { + target.releasePointerCapture(e.pointerId); + } + this.#cleanupPointerState(); + } + onlostpointercapture(_) { + this.#cleanupPointerState(); + } + props = $derived.by(() => mergeProps({ + ...this.scrollbarState.props, + style: { + position: "absolute", + ...this.scrollbarState.props.style, + }, + [scrollAreaAttrs.scrollbar]: "", + onpointerdown: this.onpointerdown, + onpointermove: this.onpointermove, + onpointerup: this.onpointerup, + onlostpointercapture: this.onlostpointercapture, + })); +} +export class ScrollAreaThumbImplState { + static create(opts) { + return new ScrollAreaThumbImplState(opts, ScrollAreaScrollbarSharedContext.get()); + } + opts; + scrollbarState; + attachment; + #root; + #removeUnlinkedScrollListener = $state(); + #debounceScrollEnd = useDebounce(() => { + if (this.#removeUnlinkedScrollListener) { + this.#removeUnlinkedScrollListener(); + this.#removeUnlinkedScrollListener = undefined; + } + }, 100); + constructor(opts, scrollbarState) { + this.opts = opts; + this.scrollbarState = scrollbarState; + this.#root = scrollbarState.root; + this.attachment = attachRef(this.opts.ref, (v) => (this.scrollbarState.scrollbarVis.thumbNode = v)); + $effect(() => { + const viewportNode = this.#root.viewportNode; + if (!viewportNode) + return; + const handleScroll = () => { + this.#debounceScrollEnd(); + if (!this.#removeUnlinkedScrollListener) { + const listener = addUnlinkedScrollListener(viewportNode, this.scrollbarState.handleThumbPositionChange); + this.#removeUnlinkedScrollListener = listener; + this.scrollbarState.handleThumbPositionChange(); + } + }; + untrack(() => this.scrollbarState.handleThumbPositionChange()); + const unsubListener = on(viewportNode, "scroll", handleScroll); + return unsubListener; + }); + this.onpointerdowncapture = this.onpointerdowncapture.bind(this); + this.onpointerup = this.onpointerup.bind(this); + } + onpointerdowncapture(e) { + const thumb = e.target; + if (!thumb) + return; + const thumbRect = thumb.getBoundingClientRect(); + const x = e.clientX - thumbRect.left; + const y = e.clientY - thumbRect.top; + this.scrollbarState.handleThumbPointerDown({ x, y }); + } + onpointerup(_) { + this.scrollbarState.handleThumbPointerUp(); + } + props = $derived.by(() => ({ + id: this.opts.id.current, + "data-state": this.scrollbarState.scrollbarVis.hasThumb ? "visible" : "hidden", + style: { + width: "var(--bits-scroll-area-thumb-width)", + height: "var(--bits-scroll-area-thumb-height)", + transform: this.scrollbarState.scrollbarVis.prevTransformStyle, + }, + onpointerdowncapture: this.onpointerdowncapture, + onpointerup: this.onpointerup, + [scrollAreaAttrs.thumb]: "", + ...this.attachment, + })); +} +export class ScrollAreaCornerImplState { + static create(opts) { + return new ScrollAreaCornerImplState(opts, ScrollAreaRootContext.get()); + } + opts; + root; + attachment; + #width = $state(0); + #height = $state(0); + hasSize = $derived(Boolean(this.#width && this.#height)); + constructor(opts, root) { + this.opts = opts; + this.root = root; + this.attachment = attachRef(this.opts.ref); + new SvelteResizeObserver(() => this.root.scrollbarXNode, () => { + const height = this.root.scrollbarXNode?.offsetHeight || 0; + this.root.cornerHeight = height; + this.#height = height; + }); + new SvelteResizeObserver(() => this.root.scrollbarYNode, () => { + const width = this.root.scrollbarYNode?.offsetWidth || 0; + this.root.cornerWidth = width; + this.#width = width; + }); + } + props = $derived.by(() => ({ + id: this.opts.id.current, + style: { + width: this.#width, + height: this.#height, + position: "absolute", + right: this.root.opts.dir.current === "ltr" ? 0 : undefined, + left: this.root.opts.dir.current === "rtl" ? 0 : undefined, + bottom: 0, + }, + [scrollAreaAttrs.corner]: "", + ...this.attachment, + })); +} +function toInt(value) { + return value ? Number.parseInt(value, 10) : 0; +} +function getThumbRatio(viewportSize, contentSize) { + const ratio = viewportSize / contentSize; + return Number.isNaN(ratio) ? 0 : ratio; +} +function getThumbSize(sizes) { + const ratio = getThumbRatio(sizes.viewport, sizes.content); + const scrollbarPadding = sizes.scrollbar.paddingStart + sizes.scrollbar.paddingEnd; + const thumbSize = (sizes.scrollbar.size - scrollbarPadding) * ratio; + return Math.max(thumbSize, 18); +} +function getScrollPositionFromPointer({ pointerPos, pointerOffset, sizes, dir = "ltr", }) { + const thumbSizePx = getThumbSize(sizes); + const thumbCenter = thumbSizePx / 2; + const offset = pointerOffset || thumbCenter; + const thumbOffsetFromEnd = thumbSizePx - offset; + const minPointerPos = sizes.scrollbar.paddingStart + offset; + const maxPointerPos = sizes.scrollbar.size - sizes.scrollbar.paddingEnd - thumbOffsetFromEnd; + const maxScrollPos = sizes.content - sizes.viewport; + const scrollRange = dir === "ltr" ? [0, maxScrollPos] : [maxScrollPos * -1, 0]; + const interpolate = linearScale([minPointerPos, maxPointerPos], scrollRange); + return interpolate(pointerPos); +} +function getThumbOffsetFromScroll({ scrollPos, sizes, dir = "ltr", }) { + const thumbSizePx = getThumbSize(sizes); + const scrollbarPadding = sizes.scrollbar.paddingStart + sizes.scrollbar.paddingEnd; + const scrollbar = sizes.scrollbar.size - scrollbarPadding; + const maxScrollPos = sizes.content - sizes.viewport; + const maxThumbPos = scrollbar - thumbSizePx; + const scrollClampRange = dir === "ltr" ? [0, maxScrollPos] : [maxScrollPos * -1, 0]; + const scrollWithoutMomentum = clamp(scrollPos, scrollClampRange[0], scrollClampRange[1]); + const interpolate = linearScale([0, maxScrollPos], [0, maxThumbPos]); + return interpolate(scrollWithoutMomentum); +} +// https://github.com/tmcw-up-for-adoption/simple-linear-scale/blob/master/index.js +function linearScale(input, output) { + return (value) => { + if (input[0] === input[1] || output[0] === output[1]) + return output[0]; + const ratio = (output[1] - output[0]) / (input[1] - input[0]); + return output[0] + ratio * (value - input[0]); + }; +} +function isScrollingWithinScrollbarBounds(scrollPos, maxScrollPos) { + return scrollPos > 0 && scrollPos < maxScrollPos; +} +function addUnlinkedScrollListener(node, handler) { + let prevPosition = { left: node.scrollLeft, top: node.scrollTop }; + let rAF = 0; + const win = getWindow(node); + (function loop() { + const position = { left: node.scrollLeft, top: node.scrollTop }; + const isHorizontalScroll = prevPosition.left !== position.left; + const isVerticalScroll = prevPosition.top !== position.top; + if (isHorizontalScroll || isVerticalScroll) + handler(); + prevPosition = position; + rAF = win.requestAnimationFrame(loop); + })(); + return () => win.cancelAnimationFrame(rAF); +} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/types.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/types.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..ad6b859e8340fe53cd9545032b2a555601a7a198 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/types.d.ts @@ -0,0 +1,47 @@ +import type { BitsPrimitiveDivAttributes } from "../../shared/attributes.js"; +import type { Direction, Orientation, WithChild, Without } from "../../shared/index.js"; +export type ScrollAreaType = "hover" | "scroll" | "auto" | "always"; +export type ScrollAreaRootPropsWithoutHTML = WithChild<{ + /** + * The type of scroll area to render. + * + * @defaultValue "hover" + */ + type?: ScrollAreaType; + /** + * The reading direction of the application. + */ + dir?: Direction; + /** + * The amount of time in milliseconds to delay before hiding the scrollbars + * after leaving the scroll area or stopping scrolling. + * + * @defaultValue 600 + */ + scrollHideDelay?: number; +}>; +export type ScrollAreaRootProps = ScrollAreaRootPropsWithoutHTML & Without; +export type ScrollAreaViewportPropsWithoutHTML = Omit; +export type ScrollAreaViewportProps = ScrollAreaViewportPropsWithoutHTML & Without; +export type ScrollAreaScrollbarPropsWithoutHTML = WithChild<{ + orientation: Orientation; + /** + * Whether to forcefully mount the component. Useful when working with + * external animation/transition libraries. + */ + forceMount?: boolean; +}>; +export type ScrollAreaScrollbarProps = ScrollAreaScrollbarPropsWithoutHTML & Without; +export type ScrollAreaThumbPropsWithoutHTML = WithChild<{ + /** + * Whether to forcefully mount the component. Useful when working with + * external animation/transition libraries. + */ + forceMount?: boolean; +}>; +export type ScrollAreaThumbProps = ScrollAreaThumbPropsWithoutHTML & Without; +export type ScrollAreaCornerPropsWithoutHTML = WithChild; +export type ScrollAreaCornerProps = ScrollAreaCornerPropsWithoutHTML & Without; +export type _ScrollbarStubProps = Omit & { + id: string; +}; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/types.js b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/types.js new file mode 100644 index 0000000000000000000000000000000000000000..cb0ff5c3b541f646105198ee23ac0fc3d805023e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/scroll-area/types.js @@ -0,0 +1 @@ +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-content-static.svelte b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-content-static.svelte new file mode 100644 index 0000000000000000000000000000000000000000..c9948b9bddb814faed46c9f81c0ec4c967513f0a --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-content-static.svelte @@ -0,0 +1,84 @@ + + +{#if forceMount} + + {#snippet popper({ props })} + {@const finalProps = mergeProps(props, { style: contentState.props.style }, { style })} + {#if child} + {@render child({ props: finalProps, ...contentState.snippetProps })} + {:else} +
+ {@render children?.()} +
+ {/if} + {/snippet} +
+{:else if !forceMount} + + {#snippet popper({ props })} + {@const finalProps = mergeProps(props, { style: contentState.props.style }, { style })} + {#if child} + {@render child({ props: finalProps, ...contentState.snippetProps })} + {:else} +
+ {@render children?.()} +
+ {/if} + {/snippet} +
+{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-content-static.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-content-static.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..167b5f535b78f77fd5c808dee8da11640e317cf2 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-content-static.svelte.d.ts @@ -0,0 +1,4 @@ +import type { SelectContentStaticProps } from "../types.js"; +declare const SelectContentStatic: import("svelte").Component; +type SelectContentStatic = ReturnType; +export default SelectContentStatic; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-content.svelte b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-content.svelte new file mode 100644 index 0000000000000000000000000000000000000000..5b05ef9274ebabbb929b52cd67e179035db7a98f --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-content.svelte @@ -0,0 +1,89 @@ + + +{#if forceMount} + + {#snippet popper({ props, wrapperProps })} + {@const finalProps = mergeProps(props, { style: contentState.props.style }, { style })} + {#if child} + {@render child({ props: finalProps, wrapperProps, ...contentState.snippetProps })} + {:else} +
+
+ {@render children?.()} +
+
+ {/if} + {/snippet} +
+{:else if !forceMount} + + {#snippet popper({ props, wrapperProps })} + {@const finalProps = mergeProps(props, { style: contentState.props.style }, { style })} + {#if child} + {@render child({ props: finalProps, wrapperProps, ...contentState.snippetProps })} + {:else} +
+
+ {@render children?.()} +
+
+ {/if} + {/snippet} +
+{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-content.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-content.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0bb553230fb15149145feffcd2716b0f30c2344a --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-content.svelte.d.ts @@ -0,0 +1,4 @@ +import type { SelectContentProps } from "../types.js"; +declare const SelectContent: import("svelte").Component; +type SelectContent = ReturnType; +export default SelectContent; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-group-heading.svelte b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-group-heading.svelte new file mode 100644 index 0000000000000000000000000000000000000000..8366e992767b11da60eb0d00ef3e325b4b21b534 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-group-heading.svelte @@ -0,0 +1,33 @@ + + +{#if child} + {@render child({ props: mergedProps })} +{:else} +
+ {@render children?.()} +
+{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-group-heading.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-group-heading.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..c0a4900948042cd2185c51db2c59781de00741bc --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-group-heading.svelte.d.ts @@ -0,0 +1,4 @@ +import type { SelectGroupHeadingProps } from "../types.js"; +declare const SelectGroupHeading: import("svelte").Component; +type SelectGroupHeading = ReturnType; +export default SelectGroupHeading; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-group.svelte b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-group.svelte new file mode 100644 index 0000000000000000000000000000000000000000..aa62b5a529f2b43e30286f99e47dd00918959a62 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-group.svelte @@ -0,0 +1,34 @@ + + +{#if child} + {@render child({ props: mergedProps })} +{:else} +
+ {@render children?.()} +
+{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-group.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-group.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..33c9f45566ac1c344b0d5b61f333159ac5e19f28 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-group.svelte.d.ts @@ -0,0 +1,4 @@ +import type { SelectGroupProps } from "../types.js"; +declare const SelectGroup: import("svelte").Component; +type SelectGroup = ReturnType; +export default SelectGroup; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-hidden-input.svelte b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-hidden-input.svelte new file mode 100644 index 0000000000000000000000000000000000000000..624d6328b3c987f19c12147b330c730132dc6983 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-hidden-input.svelte @@ -0,0 +1,19 @@ + + +{#if hiddenInputState.shouldRender} + +{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-hidden-input.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-hidden-input.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..569b648dd218d1489981bba309f1e10a09987d64 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-hidden-input.svelte.d.ts @@ -0,0 +1,7 @@ +import type { HTMLInputAttributes } from "svelte/elements"; +type $$ComponentProps = { + value?: string; +} & Omit; +declare const SelectHiddenInput: import("svelte").Component<$$ComponentProps, {}, "value">; +type SelectHiddenInput = ReturnType; +export default SelectHiddenInput; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-item.svelte b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-item.svelte new file mode 100644 index 0000000000000000000000000000000000000000..0425ed076c4b177c823b1d1badd01ac468d0ca4d --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-item.svelte @@ -0,0 +1,48 @@ + + +{#if child} + {@render child({ props: mergedProps, ...itemState.snippetProps })} +{:else} +
+ {@render children?.(itemState.snippetProps)} +
+{/if} + + diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-item.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-item.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..e031674b56d4bea0a5c73e4a736a8cbeaa1e8257 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-item.svelte.d.ts @@ -0,0 +1,4 @@ +import type { SelectItemProps } from "../types.js"; +declare const SelectItem: import("svelte").Component; +type SelectItem = ReturnType; +export default SelectItem; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-scroll-down-button.svelte b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-scroll-down-button.svelte new file mode 100644 index 0000000000000000000000000000000000000000..0c6869f531a52440525173619536364df4c181d6 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-scroll-down-button.svelte @@ -0,0 +1,40 @@ + + +{#if scrollButtonState.canScrollDown} + + {#if child} + {@render child({ props: restProps })} + {:else} +
+ {@render children?.()} +
+ {/if} +{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-scroll-down-button.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-scroll-down-button.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..ee1309d33767703eae73260db56c0771e9c3a41c --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-scroll-down-button.svelte.d.ts @@ -0,0 +1,4 @@ +import type { SelectScrollDownButtonProps } from "../types.js"; +declare const SelectScrollDownButton: import("svelte").Component; +type SelectScrollDownButton = ReturnType; +export default SelectScrollDownButton; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-scroll-up-button.svelte b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-scroll-up-button.svelte new file mode 100644 index 0000000000000000000000000000000000000000..c9b04e4d42b3ed9e7eeee4ec9e78987df4f74755 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-scroll-up-button.svelte @@ -0,0 +1,40 @@ + + +{#if scrollButtonState.canScrollUp} + + {#if child} + {@render child({ props: restProps })} + {:else} +
+ {@render children?.()} +
+ {/if} +{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-scroll-up-button.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-scroll-up-button.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d3169e0c75218a924b98de37ef077f77b4a8b627 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-scroll-up-button.svelte.d.ts @@ -0,0 +1,4 @@ +import type { SelectScrollUpButtonProps } from "../types.js"; +declare const SelectScrollUpButton: import("svelte").Component; +type SelectScrollUpButton = ReturnType; +export default SelectScrollUpButton; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-trigger.svelte b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-trigger.svelte new file mode 100644 index 0000000000000000000000000000000000000000..25c24945a981991d827b83ded0807e85b05d1c71 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-trigger.svelte @@ -0,0 +1,38 @@ + + + + {#if child} + {@render child({ props: mergedProps })} + {:else} + + {/if} + diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-trigger.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-trigger.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..08b21387632880ed51017b618b09c899289a8082 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-trigger.svelte.d.ts @@ -0,0 +1,4 @@ +import type { SelectTriggerProps } from "../types.js"; +declare const SelectTrigger: import("svelte").Component; +type SelectTrigger = ReturnType; +export default SelectTrigger; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-value.svelte b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-value.svelte new file mode 100644 index 0000000000000000000000000000000000000000..02c0ed3cbd1976334f4b15b49815dcc2459457ba --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-value.svelte @@ -0,0 +1,48 @@ + + +{#if child} + {@render child({ props: mergedProps, ...valueState.snippetProps })} +{:else} + + {#if children} + {@render children?.(valueState.snippetProps)} + {:else if valueState.snippetProps.selection.type === "single"} + {valueState.snippetProps.selection.selected?.label ?? placeholder} + {:else if valueState.snippetProps.selection.type === "multiple" && valueState.snippetProps.selection.selected} + {valueState.snippetProps.selection.selected.length > 0 + ? valueState.snippetProps.selection.selected + .map((selected) => selected.label) + .join(", ") + : placeholder} + {:else} + {placeholder} + {/if} + +{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-value.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-value.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..3b55a16053e384776072d4ee808a3f298ee81315 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-value.svelte.d.ts @@ -0,0 +1,4 @@ +import type { SelectValueProps } from "../types.js"; +declare const SelectValue: import("svelte").Component; +type SelectValue = ReturnType; +export default SelectValue; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-viewport.svelte b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-viewport.svelte new file mode 100644 index 0000000000000000000000000000000000000000..cf273e7d304d1dc3c166e7293c438bc7226f8781 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-viewport.svelte @@ -0,0 +1,56 @@ + + +{#if child} + {@render child({ props: mergedProps })} +{:else} +
+ {@render children?.()} +
+{/if} + + diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-viewport.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-viewport.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..a6d39ac3a7c1a8f2408a1b38c0166eb23c594801 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select-viewport.svelte.d.ts @@ -0,0 +1,4 @@ +import type { SelectViewportProps } from "../types.js"; +declare const SelectViewport: import("svelte").Component; +type SelectViewport = ReturnType; +export default SelectViewport; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/components/select.svelte b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select.svelte new file mode 100644 index 0000000000000000000000000000000000000000..e95dcf1ac12ecb2796a06cca94bf50ce660fb2d0 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select.svelte @@ -0,0 +1,92 @@ + + + + {@render children?.()} + + +{#if Array.isArray(rootState.opts.value.current)} + {#if rootState.opts.value.current.length === 0} + + {:else} + {#each rootState.opts.value.current as item (item)} + + {/each} + {/if} +{:else} + +{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/components/select.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..ded3b911742600c6418b682a70232ec639c534ec --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/components/select.svelte.d.ts @@ -0,0 +1,3 @@ +declare const Select: import("svelte").Component; +type Select = ReturnType; +export default Select; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/exports.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/select/exports.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6f57cfe3fda0386caa0c9d44eaa37c24bf503570 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/exports.d.ts @@ -0,0 +1,13 @@ +export { default as Root } from "./components/select.svelte"; +export { default as Value } from "./components/select-value.svelte"; +export { default as Content } from "./components/select-content.svelte"; +export { default as ContentStatic } from "./components/select-content-static.svelte"; +export { default as Item } from "./components/select-item.svelte"; +export { default as Group } from "./components/select-group.svelte"; +export { default as GroupHeading } from "./components/select-group-heading.svelte"; +export { default as Trigger } from "./components/select-trigger.svelte"; +export { default as Portal } from "../utilities/portal/portal.svelte"; +export { default as Viewport } from "./components/select-viewport.svelte"; +export { default as ScrollUpButton } from "./components/select-scroll-up-button.svelte"; +export { default as ScrollDownButton } from "./components/select-scroll-down-button.svelte"; +export type { SelectRootProps as RootProps, SelectValueProps as ValueProps, SelectContentProps as ContentProps, SelectContentStaticProps as ContentStaticProps, SelectItemProps as ItemProps, SelectGroupProps as GroupProps, SelectGroupHeadingProps as GroupHeadingProps, SelectTriggerProps as TriggerProps, SelectViewportProps as ViewportProps, SelectScrollUpButtonProps as ScrollUpButtonProps, SelectScrollDownButtonProps as ScrollDownButtonProps, SelectPortalProps as PortalProps, } from "./types.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/exports.js b/tools/ui/node_modules/bits-ui/dist/bits/select/exports.js new file mode 100644 index 0000000000000000000000000000000000000000..15a9cab2cf04f5eba12f800875f9f05d8600f59b --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/exports.js @@ -0,0 +1,12 @@ +export { default as Root } from "./components/select.svelte"; +export { default as Value } from "./components/select-value.svelte"; +export { default as Content } from "./components/select-content.svelte"; +export { default as ContentStatic } from "./components/select-content-static.svelte"; +export { default as Item } from "./components/select-item.svelte"; +export { default as Group } from "./components/select-group.svelte"; +export { default as GroupHeading } from "./components/select-group-heading.svelte"; +export { default as Trigger } from "./components/select-trigger.svelte"; +export { default as Portal } from "../utilities/portal/portal.svelte"; +export { default as Viewport } from "./components/select-viewport.svelte"; +export { default as ScrollUpButton } from "./components/select-scroll-up-button.svelte"; +export { default as ScrollDownButton } from "./components/select-scroll-down-button.svelte"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/index.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/select/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..f72551f1099a388f6cc4f80bb9249d4aad25f110 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/index.d.ts @@ -0,0 +1 @@ +export * as Select from "./exports.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/index.js b/tools/ui/node_modules/bits-ui/dist/bits/select/index.js new file mode 100644 index 0000000000000000000000000000000000000000..f72551f1099a388f6cc4f80bb9249d4aad25f110 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/index.js @@ -0,0 +1 @@ +export * as Select from "./exports.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/select.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/select/select.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..3b5d32477c98f5a46370bcfe71f86ee1b7f8d7b8 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/select.svelte.d.ts @@ -0,0 +1,456 @@ +import { Previous } from "runed"; +import { DOMContext, type ReadableBoxedValues, type WritableBoxedValues, type Box } from "svelte-toolbelt"; +import type { BitsEvent, BitsFocusEvent, BitsKeyboardEvent, BitsMouseEvent, BitsPointerEvent, OnChangeFn, WithRefOpts, RefAttachment } from "../../internal/types.js"; +import { PresenceManager } from "../../internal/presence-manager.svelte.js"; +import type { SelectValueSnippetProps } from "./types.js"; +export declare const INTERACTION_KEYS: string[]; +export declare const FIRST_KEYS: string[]; +export declare const LAST_KEYS: string[]; +export declare const FIRST_LAST_KEYS: string[]; +export declare const SELECTION_KEYS: string[]; +export declare const CONTENT_MARGIN = 10; +declare const selectAttrs: import("../../internal/attrs.js").CreateBitsAttrsReturn; +interface SelectBaseRootStateOpts extends ReadableBoxedValues<{ + disabled: boolean; + required: boolean; + name: string; + loop: boolean; + scrollAlignment: "nearest" | "center"; + items: { + value: string; + label: string; + disabled?: boolean; + }[]; + allowDeselect: boolean; + onOpenChangeComplete: OnChangeFn; +}>, WritableBoxedValues<{ + open: boolean; + inputValue: string; +}> { + isCombobox: boolean; +} +declare abstract class SelectBaseRootState { + readonly opts: SelectBaseRootStateOpts; + touchedInput: boolean; + inputNode: HTMLElement | null; + contentNode: HTMLElement | null; + contentPresence: PresenceManager; + viewportNode: HTMLElement | null; + triggerNode: HTMLElement | null; + valueNode: HTMLElement | null; + valueId: string; + highlightedNode: HTMLElement | null; + readonly highlightedValue: string | null; + readonly highlightedId: string | undefined; + readonly highlightedLabel: string | null; + contentIsPositioned: boolean; + isUsingKeyboard: boolean; + isCombobox: boolean; + domContext: DOMContext; + constructor(opts: SelectBaseRootStateOpts); + setHighlightedNode(node: HTMLElement | null, initial?: boolean): void; + scrollHighlightedNodeIntoView(node: HTMLElement): void; + getCandidateNodes(): HTMLElement[]; + setHighlightedToFirstCandidate(initial?: boolean): void; + getNodeByValue(value: string): HTMLElement | null; + /** + * Resolves the display label for a value: `items` entry when present, otherwise the + * mounted item's `data-label` or its text content. + */ + getLabelForValue(value: string): string; + setOpen(open: boolean): void; + toggleOpen(): void; + handleOpen(): void; + handleClose(): void; + toggleMenu(): void; + getBitsAttr: typeof selectAttrs.getAttr; +} +interface SelectSingleRootStateOpts extends SelectBaseRootStateOpts, WritableBoxedValues<{ + value: string; +}> { +} +export declare class SelectSingleRootState extends SelectBaseRootState { + readonly opts: SelectSingleRootStateOpts; + readonly isMulti: false; + readonly hasValue: boolean; + readonly currentLabel: string; + readonly candidateLabels: string[]; + readonly dataTypeaheadEnabled: boolean; + constructor(opts: SelectSingleRootStateOpts); + includesItem(itemValue: string): boolean; + toggleItem(itemValue: string, itemLabel?: string): void; + setInitialHighlightedNode(): void; +} +interface SelectMultipleRootStateOpts extends SelectBaseRootStateOpts, WritableBoxedValues<{ + value: string[]; +}> { +} +declare class SelectMultipleRootState extends SelectBaseRootState { + readonly opts: SelectMultipleRootStateOpts; + readonly isMulti: true; + readonly hasValue: boolean; + constructor(opts: SelectMultipleRootStateOpts); + includesItem(itemValue: string): boolean; + toggleItem(itemValue: string, itemLabel?: string): void; + setInitialHighlightedNode(): void; +} +interface SelectRootStateOpts extends ReadableBoxedValues<{ + disabled: boolean; + required: boolean; + loop: boolean; + scrollAlignment: "nearest" | "center"; + name: string; + items: { + value: string; + label: string; + disabled?: boolean; + }[]; + allowDeselect: boolean; + onOpenChangeComplete: OnChangeFn; +}>, WritableBoxedValues<{ + open: boolean; + inputValue: string; +}> { + isCombobox: boolean; + type: "single" | "multiple"; + value: Box | Box; +} +export declare class SelectRootState { + static create(props: SelectRootStateOpts): SelectRoot; +} +type SelectRoot = SelectSingleRootState | SelectMultipleRootState; +type SelectValueStateProps = WithRefOpts>; +export declare class SelectValueState { + static create(opts: SelectValueStateProps): SelectValueState; + readonly root: SelectRoot; + readonly opts: SelectValueStateProps; + readonly attachment: RefAttachment; + constructor(opts: SelectValueStateProps, root: SelectRoot); + setValue(value: string | string[]): void; + readonly snippetProps: SelectValueSnippetProps; + readonly props: { + id: string; + "data-placeholder": string | undefined; + "data-select-value": string; + }; +} +interface SelectInputStateOpts extends WithRefOpts, ReadableBoxedValues<{ + clearOnDeselect: boolean; +}> { +} +export declare class SelectInputState { + static create(opts: SelectInputStateOpts): SelectInputState; + readonly opts: SelectInputStateOpts; + readonly root: SelectRoot; + readonly attachment: RefAttachment; + constructor(opts: SelectInputStateOpts, root: SelectRoot); + onkeydown(e: BitsKeyboardEvent): void; + oninput(e: BitsEvent): void; + readonly props: { + readonly id: string; + readonly role: "combobox"; + readonly disabled: true | undefined; + readonly "aria-activedescendant": string | undefined; + readonly "aria-autocomplete": "list"; + readonly "aria-expanded": "true" | "false"; + readonly "data-state": "open" | "closed"; + readonly "data-disabled": "" | undefined; + readonly onkeydown: (e: BitsKeyboardEvent) => void; + readonly oninput: (e: BitsEvent) => void; + }; +} +interface SelectComboTriggerStateOpts extends WithRefOpts { +} +export declare class SelectComboTriggerState { + static create(opts: SelectComboTriggerStateOpts): SelectComboTriggerState; + readonly opts: SelectComboTriggerStateOpts; + readonly root: SelectBaseRootState; + readonly attachment: RefAttachment; + constructor(opts: SelectComboTriggerStateOpts, root: SelectBaseRootState); + onkeydown(e: BitsKeyboardEvent): void; + /** + * `pointerdown` fires before the `focus` event, so we can prevent the default + * behavior of focusing the button and keep focus on the input. + */ + onpointerdown(e: BitsPointerEvent): void; + readonly props: { + readonly id: string; + readonly disabled: true | undefined; + readonly "aria-haspopup": "listbox"; + readonly "data-state": "open" | "closed"; + readonly "data-disabled": "" | undefined; + readonly onpointerdown: (e: BitsPointerEvent) => void; + readonly onkeydown: (e: BitsKeyboardEvent) => void; + }; +} +interface SelectTriggerStateOpts extends WithRefOpts { +} +export declare class SelectTriggerState { + #private; + static create(opts: SelectTriggerStateOpts): SelectTriggerState; + readonly opts: SelectTriggerStateOpts; + readonly root: SelectRoot; + readonly attachment: RefAttachment; + constructor(opts: SelectTriggerStateOpts, root: SelectRoot); + onkeydown(e: BitsKeyboardEvent): void; + onclick(e: BitsMouseEvent): void; + onpointerdown(e: BitsPointerEvent): void; + onpointerup(e: BitsPointerEvent): void; + readonly props: { + readonly id: string; + readonly disabled: true | undefined; + readonly "aria-haspopup": "listbox"; + readonly "aria-expanded": "true" | "false"; + readonly "aria-activedescendant": string | undefined; + readonly "data-state": "open" | "closed"; + readonly "data-disabled": "" | undefined; + readonly "data-placeholder": "" | undefined; + readonly onpointerdown: (e: BitsPointerEvent) => void; + readonly onkeydown: (e: BitsKeyboardEvent) => void; + readonly onclick: (e: BitsMouseEvent) => void; + readonly onpointerup: (e: BitsPointerEvent) => void; + }; +} +interface SelectContentStateOpts extends WithRefOpts, ReadableBoxedValues<{ + onInteractOutside: (e: PointerEvent) => void; + onEscapeKeydown: (e: KeyboardEvent) => void; +}> { +} +export declare class SelectContentState { + #private; + static create(opts: SelectContentStateOpts): SelectContentState; + readonly opts: SelectContentStateOpts; + readonly root: SelectRoot; + readonly attachment: RefAttachment; + isPositioned: boolean; + domContext: DOMContext; + constructor(opts: SelectContentStateOpts, root: SelectRoot); + onpointermove(_: BitsPointerEvent): void; + onInteractOutside: (e: PointerEvent) => void; + onEscapeKeydown: (e: KeyboardEvent) => void; + onOpenAutoFocus: (e: Event) => void; + onCloseAutoFocus: (e: Event) => void; + get shouldRender(): boolean; + readonly snippetProps: { + open: boolean; + }; + readonly props: { + readonly style: { + readonly display: "flex"; + readonly flexDirection: "column"; + readonly outline: "none"; + readonly boxSizing: "border-box"; + readonly pointerEvents: "auto"; + }; + readonly onpointermove: (_: BitsPointerEvent) => void; + readonly "data-starting-style"?: ""; + readonly "data-ending-style"?: ""; + readonly id: string; + readonly role: "listbox"; + readonly "aria-multiselectable": "true" | undefined; + readonly "data-state": "open" | "closed"; + }; + readonly popperProps: { + onInteractOutside: (e: PointerEvent) => void; + onEscapeKeydown: (e: KeyboardEvent) => void; + onOpenAutoFocus: (e: Event) => void; + onCloseAutoFocus: (e: Event) => void; + trapFocus: boolean; + loop: boolean; + onPlaced: () => void; + }; +} +interface SelectItemStateOpts extends WithRefOpts, ReadableBoxedValues<{ + value: string; + disabled: boolean; + label: string; + onHighlight: () => void; + onUnhighlight: () => void; +}> { +} +export declare class SelectItemState { + static create(opts: SelectItemStateOpts): SelectItemState; + readonly opts: SelectItemStateOpts; + readonly root: SelectRoot; + readonly attachment: RefAttachment; + readonly isSelected: boolean; + readonly isHighlighted: boolean; + readonly prevHighlighted: Previous; + mounted: boolean; + constructor(opts: SelectItemStateOpts, root: SelectRoot); + handleSelect(): void; + snippetProps: { + selected: boolean; + highlighted: boolean; + }; + onpointerdown(e: BitsPointerEvent): void; + /** + * Using `pointerup` instead of `click` allows power users to pointerdown + * the trigger, then release pointerup on an item to select it vs having to do + * multiple clicks. + */ + onpointerup(e: BitsPointerEvent): void; + onpointermove(e: BitsPointerEvent): void; + readonly props: { + readonly id: string; + readonly role: "option"; + readonly "aria-selected": "true" | undefined; + readonly "data-value": string; + readonly "data-disabled": "" | undefined; + readonly "data-highlighted": "" | undefined; + readonly "data-selected": "" | undefined; + readonly "data-label": string; + readonly onpointermove: (e: BitsPointerEvent) => void; + readonly onpointerdown: (e: BitsPointerEvent) => void; + readonly onpointerup: (e: BitsPointerEvent) => void; + }; +} +interface SelectGroupStateOpts extends WithRefOpts { +} +export declare class SelectGroupState { + static create(opts: SelectGroupStateOpts): SelectGroupState; + readonly opts: SelectGroupStateOpts; + readonly root: SelectBaseRootState; + labelNode: HTMLElement | null; + readonly attachment: RefAttachment; + constructor(opts: SelectGroupStateOpts, root: SelectBaseRootState); + readonly props: { + readonly id: string; + readonly role: "group"; + readonly "aria-labelledby": string | undefined; + }; +} +interface SelectGroupHeadingStateOpts extends WithRefOpts { +} +export declare class SelectGroupHeadingState { + static create(opts: SelectGroupHeadingStateOpts): SelectGroupHeadingState; + readonly opts: SelectGroupHeadingStateOpts; + readonly group: SelectGroupState; + readonly attachment: RefAttachment; + constructor(opts: SelectGroupHeadingStateOpts, group: SelectGroupState); + readonly props: { + readonly id: string; + }; +} +interface SelectHiddenInputStateOpts extends ReadableBoxedValues<{ + value: string | undefined; +}> { +} +export declare class SelectHiddenInputState { + static create(opts: SelectHiddenInputStateOpts): SelectHiddenInputState; + readonly opts: SelectHiddenInputStateOpts; + readonly root: SelectBaseRootState; + readonly shouldRender: boolean; + constructor(opts: SelectHiddenInputStateOpts, root: SelectBaseRootState); + onfocus(e: BitsFocusEvent): void; + readonly props: { + readonly disabled: true | undefined; + readonly required: true | undefined; + readonly name: string; + readonly value: string | undefined; + readonly onfocus: (e: BitsFocusEvent) => void; + }; +} +interface SelectViewportStateOpts extends WithRefOpts { +} +export declare class SelectViewportState { + static create(opts: SelectViewportStateOpts): SelectViewportState; + readonly opts: SelectViewportStateOpts; + readonly content: SelectContentState; + readonly root: SelectBaseRootState; + readonly attachment: RefAttachment; + prevScrollTop: number; + constructor(opts: SelectViewportStateOpts, content: SelectContentState); + readonly props: { + readonly id: string; + readonly role: "presentation"; + readonly style: { + readonly position: "relative"; + readonly flex: 1; + readonly overflow: "auto"; + }; + }; +} +interface SelectScrollButtonImplStateOpts extends WithRefOpts, ReadableBoxedValues<{ + delay: (tick: number) => number; +}> { +} +export declare class SelectScrollButtonImplState { + readonly opts: SelectScrollButtonImplStateOpts; + readonly content: SelectContentState; + readonly root: SelectBaseRootState; + readonly attachment: RefAttachment; + autoScrollTimer: number | null; + userScrollTimer: number; + isUserScrolling: boolean; + onAutoScroll: () => void; + mounted: boolean; + constructor(opts: SelectScrollButtonImplStateOpts, content: SelectContentState); + handleUserScroll(): void; + clearAutoScrollInterval(): void; + onpointerdown(_: BitsPointerEvent): void; + onpointermove(e: BitsPointerEvent): void; + onpointerleave(_: BitsPointerEvent): void; + readonly props: { + readonly id: string; + readonly "aria-hidden": "true" | undefined; + readonly style: { + readonly flexShrink: 0; + }; + readonly onpointerdown: (_: BitsPointerEvent) => void; + readonly onpointermove: (e: BitsPointerEvent) => void; + readonly onpointerleave: (_: BitsPointerEvent) => void; + }; +} +export declare class SelectScrollDownButtonState { + static create(opts: SelectScrollButtonImplStateOpts): SelectScrollDownButtonState; + readonly scrollButtonState: SelectScrollButtonImplState; + readonly content: SelectContentState; + readonly root: SelectBaseRootState; + canScrollDown: boolean; + scrollIntoViewTimer: ReturnType | null; + constructor(scrollButtonState: SelectScrollButtonImplState); + /** + * @param manual - if true, it means the function was invoked manually outside of an event + * listener, so we don't call `handleUserScroll` to prevent the auto scroll from kicking in. + */ + handleScroll: (manual?: boolean) => void; + handleAutoScroll: () => void; + readonly props: { + readonly id: string; + readonly "aria-hidden": "true" | undefined; + readonly style: { + readonly flexShrink: 0; + }; + readonly onpointerdown: (_: BitsPointerEvent) => void; + readonly onpointermove: (e: BitsPointerEvent) => void; + readonly onpointerleave: (_: BitsPointerEvent) => void; + }; +} +export declare class SelectScrollUpButtonState { + static create(opts: SelectScrollButtonImplStateOpts): SelectScrollUpButtonState; + readonly scrollButtonState: SelectScrollButtonImplState; + readonly content: SelectContentState; + readonly root: SelectBaseRootState; + canScrollUp: boolean; + constructor(scrollButtonState: SelectScrollButtonImplState); + /** + * @param manual - if true, it means the function was invoked manually outside of an event + * listener, so we don't call `handleUserScroll` to prevent the auto scroll from kicking in. + */ + handleScroll: (manual?: boolean) => void; + handleAutoScroll: () => void; + readonly props: { + readonly id: string; + readonly "aria-hidden": "true" | undefined; + readonly style: { + readonly flexShrink: 0; + }; + readonly onpointerdown: (_: BitsPointerEvent) => void; + readonly onpointermove: (e: BitsPointerEvent) => void; + readonly onpointerleave: (_: BitsPointerEvent) => void; + }; +} +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/select.svelte.js b/tools/ui/node_modules/bits-ui/dist/bits/select/select.svelte.js new file mode 100644 index 0000000000000000000000000000000000000000..f596dea132d169f327c4860044b701ffb9d5f06d --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/select.svelte.js @@ -0,0 +1,1298 @@ +import { Context, Previous, watch } from "runed"; +import { afterSleep, afterTick, onDestroyEffect, attachRef, DOMContext, boxWith, } from "svelte-toolbelt"; +import { on } from "svelte/events"; +import { backward, forward, next, prev } from "../../internal/arrays.js"; +import { boolToStr, boolToStrTrueOrUndef, boolToEmptyStrOrUndef, getDataOpenClosed, boolToTrueOrUndef, getDataTransitionAttrs, } from "../../internal/attrs.js"; +import { kbd } from "../../internal/kbd.js"; +import { noop } from "../../internal/noop.js"; +import { isIOS } from "../../internal/is.js"; +import { createBitsAttrs } from "../../internal/attrs.js"; +import { getFloatingContentCSSVars } from "../../internal/floating-svelte/floating-utils.svelte.js"; +import { DataTypeahead } from "../../internal/data-typeahead.svelte.js"; +import { DOMTypeahead } from "../../internal/dom-typeahead.svelte.js"; +import { PresenceManager } from "../../internal/presence-manager.svelte.js"; +import { DEV } from "esm-env"; +// prettier-ignore +export const INTERACTION_KEYS = [kbd.ARROW_LEFT, kbd.ESCAPE, kbd.ARROW_RIGHT, kbd.SHIFT, kbd.CAPS_LOCK, kbd.CONTROL, kbd.ALT, kbd.META, kbd.ENTER, kbd.F1, kbd.F2, kbd.F3, kbd.F4, kbd.F5, kbd.F6, kbd.F7, kbd.F8, kbd.F9, kbd.F10, kbd.F11, kbd.F12]; +export const FIRST_KEYS = [kbd.ARROW_DOWN, kbd.PAGE_UP, kbd.HOME]; +export const LAST_KEYS = [kbd.ARROW_UP, kbd.PAGE_DOWN, kbd.END]; +export const FIRST_LAST_KEYS = [...FIRST_KEYS, ...LAST_KEYS]; +export const SELECTION_KEYS = [kbd.ENTER, kbd.SPACE]; +export const CONTENT_MARGIN = 10; +const selectAttrs = createBitsAttrs({ + component: "select", + parts: [ + "trigger", + "content", + "item", + "viewport", + "scroll-up-button", + "scroll-down-button", + "group", + "group-label", + "separator", + "arrow", + "input", + "content-wrapper", + "item-text", + "value", + ], +}); +const SelectRootContext = new Context("Select.Root | Combobox.Root"); +const SelectGroupContext = new Context("Select.Group | Combobox.Group"); +const SelectContentContext = new Context("Select.Content | Combobox.Content"); +class SelectBaseRootState { + opts; + touchedInput = $state(false); + inputNode = $state(null); + contentNode = $state(null); + contentPresence; + viewportNode = $state(null); + triggerNode = $state(null); + valueNode = $state(null); + valueId = $state(""); + highlightedNode = $state(null); + highlightedValue = $derived.by(() => { + if (!this.highlightedNode) + return null; + return this.highlightedNode.getAttribute("data-value"); + }); + highlightedId = $derived.by(() => { + if (!this.highlightedNode) + return undefined; + return this.highlightedNode.id; + }); + highlightedLabel = $derived.by(() => { + if (!this.highlightedNode) + return null; + return this.highlightedNode.getAttribute("data-label"); + }); + contentIsPositioned = $state(false); + isUsingKeyboard = false; + isCombobox = false; + domContext = new DOMContext(() => null); + constructor(opts) { + this.opts = opts; + this.isCombobox = opts.isCombobox; + this.contentPresence = new PresenceManager({ + ref: boxWith(() => this.contentNode), + open: this.opts.open, + onComplete: () => { + this.opts.onOpenChangeComplete.current(this.opts.open.current); + }, + }); + $effect.pre(() => { + if (!this.opts.open.current) { + this.setHighlightedNode(null); + } + }); + } + setHighlightedNode(node, initial = false) { + this.highlightedNode = node; + if (node && (this.isUsingKeyboard || initial)) { + this.scrollHighlightedNodeIntoView(node); + } + } + scrollHighlightedNodeIntoView(node) { + if (!this.viewportNode || !this.contentIsPositioned) + return; + node.scrollIntoView({ block: this.opts.scrollAlignment.current }); + } + getCandidateNodes() { + const node = this.contentNode; + if (!node) + return []; + return Array.from(node.querySelectorAll(`[${this.getBitsAttr("item")}]:not([data-disabled])`)); + } + setHighlightedToFirstCandidate(initial = false) { + this.setHighlightedNode(null); + let nodes = this.getCandidateNodes(); + if (!nodes.length) + return; + // don't consider nodes that aren't visible within the viewport + if (this.viewportNode) { + const viewportRect = this.viewportNode.getBoundingClientRect(); + nodes = nodes.filter((node) => { + if (!this.viewportNode) + return false; + const nodeRect = node.getBoundingClientRect(); + const isNodeFullyVisible = nodeRect.right <= viewportRect.right && + nodeRect.left >= viewportRect.left && + nodeRect.bottom <= viewportRect.bottom && + nodeRect.top >= viewportRect.top; + return isNodeFullyVisible; + }); + } + this.setHighlightedNode(nodes[0], initial); + } + getNodeByValue(value) { + const candidateNodes = this.getCandidateNodes(); + return candidateNodes.find((node) => node.dataset.value === value) ?? null; + } + /** + * Resolves the display label for a value: `items` entry when present, otherwise the + * mounted item's `data-label` or its text content. + */ + getLabelForValue(value) { + if (value === "") + return ""; + const fromItems = this.opts.items.current.find((item) => item.value === value)?.label; + if (fromItems !== undefined) + return fromItems; + const node = this.getNodeByValue(value); + if (node) { + const dataLabel = node.getAttribute("data-label"); + if (dataLabel !== null && dataLabel !== "") + return dataLabel; + return node.textContent?.trim() ?? value; + } + return value; + } + setOpen(open) { + this.opts.open.current = open; + } + toggleOpen() { + this.opts.open.current = !this.opts.open.current; + } + handleOpen() { + this.setOpen(true); + } + handleClose() { + this.setHighlightedNode(null); + this.setOpen(false); + } + toggleMenu() { + this.toggleOpen(); + } + getBitsAttr = (part) => { + return selectAttrs.getAttr(part, this.isCombobox ? "combobox" : undefined); + }; +} +export class SelectSingleRootState extends SelectBaseRootState { + opts; + isMulti = false; + hasValue = $derived.by(() => this.opts.value.current !== ""); + currentLabel = $derived.by(() => { + if (!this.opts.items.current.length) + return ""; + return (this.opts.items.current.find((item) => item.value === this.opts.value.current)?.label ?? + ""); + }); + candidateLabels = $derived.by(() => { + if (!this.opts.items.current.length) + return []; + const filteredItems = this.opts.items.current.filter((item) => !item.disabled); + return filteredItems.map((item) => item.label); + }); + dataTypeaheadEnabled = $derived.by(() => { + if (this.isMulti) + return false; + if (this.opts.items.current.length === 0) + return false; + return true; + }); + constructor(opts) { + super(opts); + this.opts = opts; + $effect(() => { + if (!this.opts.open.current && this.highlightedNode) { + this.setHighlightedNode(null); + } + }); + watch(() => this.opts.open.current, () => { + if (!this.opts.open.current) + return; + this.setInitialHighlightedNode(); + }); + } + includesItem(itemValue) { + return this.opts.value.current === itemValue; + } + toggleItem(itemValue, itemLabel = itemValue) { + const newValue = this.includesItem(itemValue) ? "" : itemValue; + this.opts.value.current = newValue; + if (newValue !== "") { + this.opts.inputValue.current = itemLabel; + } + } + setInitialHighlightedNode() { + afterTick(() => { + if (this.highlightedNode && + this.domContext.getDocument().contains(this.highlightedNode)) + return; + if (this.opts.value.current !== "") { + const node = this.getNodeByValue(this.opts.value.current); + if (node) { + this.setHighlightedNode(node, true); + return; + } + } + // if no value is set, we want to highlight the first item + this.setHighlightedToFirstCandidate(true); + }); + } +} +class SelectMultipleRootState extends SelectBaseRootState { + opts; + isMulti = true; + hasValue = $derived.by(() => this.opts.value.current.length > 0); + constructor(opts) { + super(opts); + this.opts = opts; + $effect(() => { + if (!this.opts.open.current && this.highlightedNode) { + this.setHighlightedNode(null); + } + }); + watch(() => this.opts.open.current, () => { + if (!this.opts.open.current) + return; + this.setInitialHighlightedNode(); + }); + } + includesItem(itemValue) { + return this.opts.value.current.includes(itemValue); + } + toggleItem(itemValue, itemLabel = itemValue) { + if (this.includesItem(itemValue)) { + this.opts.value.current = this.opts.value.current.filter((v) => v !== itemValue); + } + else { + this.opts.value.current = [...this.opts.value.current, itemValue]; + } + this.opts.inputValue.current = itemLabel; + } + setInitialHighlightedNode() { + afterTick(() => { + if (!this.domContext) + return; + if (this.highlightedNode && + this.domContext.getDocument().contains(this.highlightedNode)) + return; + if (this.opts.value.current.length && this.opts.value.current[0] !== "") { + const node = this.getNodeByValue(this.opts.value.current[0]); + if (node) { + this.setHighlightedNode(node, true); + return; + } + } + // if no value is set, we want to highlight the first item + this.setHighlightedToFirstCandidate(true); + }); + } +} +export class SelectRootState { + static create(props) { + const { type, ...rest } = props; + const rootState = type === "single" + ? new SelectSingleRootState(rest) + : new SelectMultipleRootState(rest); + return SelectRootContext.set(rootState); + } +} +export class SelectValueState { + static create(opts) { + return new SelectValueState(opts, SelectRootContext.get()); + } + root; + opts; + attachment; + constructor(opts, root) { + this.root = root; + this.opts = opts; + this.attachment = attachRef(opts.ref, (v) => (this.root.valueNode = v)); + this.setValue = this.setValue.bind(this); + } + setValue(value) { + if (this.root.isMulti && !Array.isArray(value)) { + if (DEV) + throw new Error(`Expected an array of strings passed to \`setValue\` got ${typeof value}.`); + return; + } + if (!this.root.isMulti && typeof value !== "string") { + if (DEV) + throw new Error(`Expected a string passed to \`setValue\` got ${typeof value}.`); + return; + } + this.root.opts.value.current = value; + } + // this way consumers get type narrowing for the value on `type` + snippetProps = $derived.by(() => { + if (this.root.isMulti) { + return { + selection: { + type: "multiple", + selected: this.root.opts.value.current.length > 0 + ? this.root.opts.value.current.map((value) => ({ + value, + label: this.root.getLabelForValue(value), + })) + : [], + setValue: this.setValue, + }, + placeholder: this.opts.placeholder.current ?? null, + disabled: this.root.opts.disabled.current, + }; + } + const value = this.root.opts.value.current; + return { + selection: { + type: "single", + selected: value !== "" + ? { value, label: value === "" ? "" : this.root.getLabelForValue(value) } + : undefined, + setValue: this.setValue, + }, + placeholder: this.opts.placeholder.current ?? null, + disabled: this.root.opts.disabled.current, + }; + }); + props = $derived.by(() => ({ + id: this.opts.id.current, + "data-placeholder": this.root.hasValue ? undefined : "", + "data-select-value": "", + ...this.attachment, + })); +} +export class SelectInputState { + static create(opts) { + return new SelectInputState(opts, SelectRootContext.get()); + } + opts; + root; + attachment; + constructor(opts, root) { + this.opts = opts; + this.root = root; + this.attachment = attachRef(opts.ref, (v) => (this.root.inputNode = v)); + this.root.domContext = new DOMContext(opts.ref); + this.onkeydown = this.onkeydown.bind(this); + this.oninput = this.oninput.bind(this); + watch([() => this.root.opts.value.current, () => this.opts.clearOnDeselect.current], ([value, clearOnDeselect], [prevValue]) => { + if (!clearOnDeselect) + return; + if (Array.isArray(value) && Array.isArray(prevValue)) { + if (value.length === 0 && prevValue.length !== 0) { + this.root.opts.inputValue.current = ""; + } + } + else if (value === "" && prevValue !== "") { + this.root.opts.inputValue.current = ""; + } + }); + } + onkeydown(e) { + this.root.isUsingKeyboard = true; + if (e.key === kbd.ESCAPE) + return; + // prevent arrow up/down from moving the position of the cursor in the input + if (e.key === kbd.ARROW_UP || e.key === kbd.ARROW_DOWN) + e.preventDefault(); + if (!this.root.opts.open.current) { + if (INTERACTION_KEYS.includes(e.key)) + return; + if (e.key === kbd.TAB) + return; + if (e.key === kbd.BACKSPACE && this.root.opts.inputValue.current === "") + return; + this.root.handleOpen(); + // we need to wait for a tick after the menu opens to ensure the highlighted nodes are + // set correctly. + if (this.root.hasValue) + return; + const candidateNodes = this.root.getCandidateNodes(); + if (!candidateNodes.length) + return; + if (e.key === kbd.ARROW_DOWN) { + const firstCandidate = candidateNodes[0]; + this.root.setHighlightedNode(firstCandidate); + } + else if (e.key === kbd.ARROW_UP) { + const lastCandidate = candidateNodes[candidateNodes.length - 1]; + this.root.setHighlightedNode(lastCandidate); + } + return; + } + if (e.key === kbd.TAB) { + this.root.handleClose(); + return; + } + if (e.key === kbd.ENTER && !e.isComposing) { + e.preventDefault(); + const isCurrentSelectedValue = this.root.highlightedValue === this.root.opts.value.current; + if (!this.root.opts.allowDeselect.current && + isCurrentSelectedValue && + !this.root.isMulti) { + this.root.handleClose(); + return; + } + if (this.root.highlightedValue && + this.root.highlightedNode && + this.root.highlightedNode.isConnected) { + this.root.toggleItem(this.root.highlightedValue, this.root.highlightedLabel ?? undefined); + } + if (!this.root.isMulti && !isCurrentSelectedValue) { + this.root.handleClose(); + } + } + if (e.key === kbd.ARROW_UP && e.altKey) { + this.root.handleClose(); + } + if (FIRST_LAST_KEYS.includes(e.key)) { + e.preventDefault(); + const candidateNodes = this.root.getCandidateNodes(); + const currHighlightedNode = this.root.highlightedNode; + const currIndex = currHighlightedNode + ? candidateNodes.indexOf(currHighlightedNode) + : -1; + const loop = this.root.opts.loop.current; + let nextItem; + if (e.key === kbd.ARROW_DOWN) { + nextItem = next(candidateNodes, currIndex, loop); + } + else if (e.key === kbd.ARROW_UP) { + nextItem = prev(candidateNodes, currIndex, loop); + } + else if (e.key === kbd.PAGE_DOWN) { + nextItem = forward(candidateNodes, currIndex, 10, loop); + } + else if (e.key === kbd.PAGE_UP) { + nextItem = backward(candidateNodes, currIndex, 10, loop); + } + else if (e.key === kbd.HOME) { + nextItem = candidateNodes[0]; + } + else if (e.key === kbd.END) { + nextItem = candidateNodes[candidateNodes.length - 1]; + } + if (!nextItem) + return; + this.root.setHighlightedNode(nextItem); + return; + } + if (INTERACTION_KEYS.includes(e.key)) + return; + if (!this.root.highlightedNode) { + this.root.setHighlightedToFirstCandidate(); + } + } + oninput(e) { + this.root.opts.inputValue.current = e.currentTarget.value; + this.root.setHighlightedToFirstCandidate(); + } + props = $derived.by(() => ({ + id: this.opts.id.current, + role: "combobox", + disabled: this.root.opts.disabled.current ? true : undefined, + "aria-activedescendant": this.root.highlightedId, + "aria-autocomplete": "list", + "aria-expanded": boolToStr(this.root.opts.open.current), + "data-state": getDataOpenClosed(this.root.opts.open.current), + "data-disabled": boolToEmptyStrOrUndef(this.root.opts.disabled.current), + onkeydown: this.onkeydown, + oninput: this.oninput, + [this.root.getBitsAttr("input")]: "", + ...this.attachment, + })); +} +export class SelectComboTriggerState { + static create(opts) { + return new SelectComboTriggerState(opts, SelectRootContext.get()); + } + opts; + root; + attachment; + constructor(opts, root) { + this.opts = opts; + this.root = root; + this.attachment = attachRef(opts.ref); + this.onkeydown = this.onkeydown.bind(this); + this.onpointerdown = this.onpointerdown.bind(this); + } + onkeydown(e) { + if (!this.root.domContext) + return; + if (e.key === kbd.ENTER || e.key === kbd.SPACE) { + e.preventDefault(); + if (this.root.domContext.getActiveElement() !== this.root.inputNode) { + this.root.inputNode?.focus(); + } + this.root.toggleMenu(); + } + } + /** + * `pointerdown` fires before the `focus` event, so we can prevent the default + * behavior of focusing the button and keep focus on the input. + */ + onpointerdown(e) { + if (this.root.opts.disabled.current || !this.root.domContext) + return; + e.preventDefault(); + if (this.root.domContext.getActiveElement() !== this.root.inputNode) { + this.root.inputNode?.focus(); + } + this.root.toggleMenu(); + } + props = $derived.by(() => ({ + id: this.opts.id.current, + disabled: this.root.opts.disabled.current ? true : undefined, + "aria-haspopup": "listbox", + "data-state": getDataOpenClosed(this.root.opts.open.current), + "data-disabled": boolToEmptyStrOrUndef(this.root.opts.disabled.current), + [this.root.getBitsAttr("trigger")]: "", + onpointerdown: this.onpointerdown, + onkeydown: this.onkeydown, + ...this.attachment, + })); +} +export class SelectTriggerState { + static create(opts) { + return new SelectTriggerState(opts, SelectRootContext.get()); + } + opts; + root; + attachment; + #domTypeahead; + #dataTypeahead; + constructor(opts, root) { + this.opts = opts; + this.root = root; + this.attachment = attachRef(opts.ref, (v) => (this.root.triggerNode = v)); + this.root.domContext = new DOMContext(opts.ref); + this.#domTypeahead = new DOMTypeahead({ + getCurrentItem: () => this.root.highlightedNode, + onMatch: (node) => { + this.root.setHighlightedNode(node); + }, + getActiveElement: () => this.root.domContext.getActiveElement(), + getWindow: () => this.root.domContext.getWindow(), + }); + this.#dataTypeahead = new DataTypeahead({ + getCurrentItem: () => { + if (this.root.isMulti) + return ""; + return this.root.currentLabel; + }, + onMatch: (label) => { + if (this.root.isMulti) + return; + if (!this.root.opts.items.current) + return; + const matchedItem = this.root.opts.items.current.find((item) => item.label === label); + if (!matchedItem) + return; + this.root.opts.value.current = matchedItem.value; + }, + enabled: () => !this.root.isMulti && this.root.dataTypeaheadEnabled, + candidateValues: () => (this.root.isMulti ? [] : this.root.candidateLabels), + getWindow: () => this.root.domContext.getWindow(), + }); + this.onkeydown = this.onkeydown.bind(this); + this.onpointerdown = this.onpointerdown.bind(this); + this.onpointerup = this.onpointerup.bind(this); + this.onclick = this.onclick.bind(this); + } + #handleOpen() { + this.root.opts.open.current = true; + this.#dataTypeahead.resetTypeahead(); + this.#domTypeahead.resetTypeahead(); + } + #handlePointerOpen(_) { + this.#handleOpen(); + } + /** + * Logic used to handle keyboard selection/deselection. + * + * If it returns true, it means the item was selected and whatever is calling + * this function should return early + * + */ + #handleKeyboardSelection() { + const isCurrentSelectedValue = this.root.highlightedValue === this.root.opts.value.current; + if (!this.root.opts.allowDeselect.current && isCurrentSelectedValue && !this.root.isMulti) { + this.root.handleClose(); + return true; + } + // "" is a valid value for a select item so we need to check for that + if (this.root.highlightedValue !== null) { + this.root.toggleItem(this.root.highlightedValue, this.root.highlightedLabel ?? undefined); + } + if (!this.root.isMulti && !isCurrentSelectedValue) { + this.root.handleClose(); + return true; + } + return false; + } + onkeydown(e) { + this.root.isUsingKeyboard = true; + if (e.key === kbd.ARROW_UP || e.key === kbd.ARROW_DOWN) + e.preventDefault(); + if (!this.root.opts.open.current) { + if (e.key === kbd.ENTER || + e.key === kbd.SPACE || + e.key === kbd.ARROW_DOWN || + e.key === kbd.ARROW_UP) { + e.preventDefault(); + this.root.handleOpen(); + } + else if (!this.root.isMulti && this.root.dataTypeaheadEnabled) { + this.#dataTypeahead.handleTypeaheadSearch(e.key); + return; + } + // we need to wait for a tick after the menu opens to ensure + // the highlighted nodes are set correctly + if (this.root.hasValue) + return; + const candidateNodes = this.root.getCandidateNodes(); + if (!candidateNodes.length) + return; + if (e.key === kbd.ARROW_DOWN) { + const firstCandidate = candidateNodes[0]; + this.root.setHighlightedNode(firstCandidate); + } + else if (e.key === kbd.ARROW_UP) { + const lastCandidate = candidateNodes[candidateNodes.length - 1]; + this.root.setHighlightedNode(lastCandidate); + } + return; + } + if (e.key === kbd.TAB) { + this.root.handleClose(); + return; + } + if ((e.key === kbd.ENTER || + // if we're currently "typing ahead", we don't want to select the item + // just yet as the item the user is trying to get to may have a space in it, + // so we defer handling the close for this case until further down + (e.key === kbd.SPACE && this.#domTypeahead.search === "")) && + !e.isComposing) { + e.preventDefault(); + const shouldReturn = this.#handleKeyboardSelection(); + if (shouldReturn) + return; + } + if (e.key === kbd.ARROW_UP && e.altKey) { + this.root.handleClose(); + } + if (FIRST_LAST_KEYS.includes(e.key)) { + e.preventDefault(); + const candidateNodes = this.root.getCandidateNodes(); + const currHighlightedNode = this.root.highlightedNode; + const currIndex = currHighlightedNode + ? candidateNodes.indexOf(currHighlightedNode) + : -1; + const loop = this.root.opts.loop.current; + let nextItem; + if (e.key === kbd.ARROW_DOWN) { + nextItem = next(candidateNodes, currIndex, loop); + } + else if (e.key === kbd.ARROW_UP) { + nextItem = prev(candidateNodes, currIndex, loop); + } + else if (e.key === kbd.PAGE_DOWN) { + nextItem = forward(candidateNodes, currIndex, 10, loop); + } + else if (e.key === kbd.PAGE_UP) { + nextItem = backward(candidateNodes, currIndex, 10, loop); + } + else if (e.key === kbd.HOME) { + nextItem = candidateNodes[0]; + } + else if (e.key === kbd.END) { + nextItem = candidateNodes[candidateNodes.length - 1]; + } + if (!nextItem) + return; + this.root.setHighlightedNode(nextItem); + return; + } + const isModifierKey = e.ctrlKey || e.altKey || e.metaKey; + const isCharacterKey = e.key.length === 1; + const isSpaceKey = e.key === kbd.SPACE; + const candidateNodes = this.root.getCandidateNodes(); + if (e.key === kbd.TAB) + return; + if (!isModifierKey && (isCharacterKey || isSpaceKey)) { + const matchedNode = this.#domTypeahead.handleTypeaheadSearch(e.key, candidateNodes); + if (!matchedNode && isSpaceKey) { + e.preventDefault(); + this.#handleKeyboardSelection(); + } + return; + } + if (!this.root.highlightedNode) { + this.root.setHighlightedToFirstCandidate(); + } + } + onclick(e) { + // While browsers generally have no issue focusing the trigger when clicking + // on a label, Safari seems to struggle with the fact that there's no `onClick`. + // We force `focus` in this case. Note: this doesn't create any other side-effect + // because we are preventing default in `onpointerdown` so effectively + // this only runs for a label 'click' + const currTarget = e.currentTarget; + currTarget.focus(); + } + onpointerdown(e) { + if (this.root.opts.disabled.current) + return; + // prevent opening on touch down which can be triggered when scrolling on touch devices + if (e.pointerType === "touch") + return e.preventDefault(); + // prevent implicit pointer capture + const target = e.target; + if (target?.hasPointerCapture(e.pointerId)) { + target?.releasePointerCapture(e.pointerId); + } + // only call the handle if it's a left click, since pointerdown is triggered + // by right clicks as well, but not when ctrl is pressed + if (e.button === 0 && e.ctrlKey === false) { + if (this.root.opts.open.current === false) { + this.#handlePointerOpen(e); + } + else { + this.root.handleClose(); + } + } + } + onpointerup(e) { + if (this.root.opts.disabled.current) + return; + e.preventDefault(); + if (e.pointerType === "touch") { + if (this.root.opts.open.current === false) { + this.#handlePointerOpen(e); + } + else { + this.root.handleClose(); + } + } + } + props = $derived.by(() => ({ + id: this.opts.id.current, + disabled: this.root.opts.disabled.current ? true : undefined, + "aria-haspopup": "listbox", + "aria-expanded": boolToStr(this.root.opts.open.current), + "aria-activedescendant": this.root.highlightedId, + "data-state": getDataOpenClosed(this.root.opts.open.current), + "data-disabled": boolToEmptyStrOrUndef(this.root.opts.disabled.current), + "data-placeholder": this.root.hasValue ? undefined : "", + [this.root.getBitsAttr("trigger")]: "", + onpointerdown: this.onpointerdown, + onkeydown: this.onkeydown, + onclick: this.onclick, + onpointerup: this.onpointerup, + ...this.attachment, + })); +} +export class SelectContentState { + static create(opts) { + return SelectContentContext.set(new SelectContentState(opts, SelectRootContext.get())); + } + opts; + root; + attachment; + isPositioned = $state(false); + domContext; + constructor(opts, root) { + this.opts = opts; + this.root = root; + this.attachment = attachRef(opts.ref, (v) => (this.root.contentNode = v)); + this.domContext = new DOMContext(this.opts.ref); + if (this.root.domContext === null) { + this.root.domContext = this.domContext; + } + onDestroyEffect(() => { + this.root.contentNode = null; + this.root.contentIsPositioned = false; + this.isPositioned = false; + }); + watch(() => this.root.opts.open.current, () => { + if (this.root.opts.open.current) + return; + this.root.contentIsPositioned = false; + this.isPositioned = false; + }); + watch([() => this.isPositioned, () => this.root.highlightedNode], () => { + if (!this.isPositioned || !this.root.highlightedNode) + return; + this.root.scrollHighlightedNodeIntoView(this.root.highlightedNode); + }); + this.onpointermove = this.onpointermove.bind(this); + } + onpointermove(_) { + this.root.isUsingKeyboard = false; + } + #styles = $derived.by(() => { + return getFloatingContentCSSVars(this.root.isCombobox ? "combobox" : "select"); + }); + onInteractOutside = (e) => { + if (e.target === this.root.triggerNode || e.target === this.root.inputNode) { + e.preventDefault(); + return; + } + this.opts.onInteractOutside.current(e); + if (e.defaultPrevented) + return; + this.root.handleClose(); + }; + onEscapeKeydown = (e) => { + this.opts.onEscapeKeydown.current(e); + if (e.defaultPrevented) + return; + this.root.handleClose(); + }; + onOpenAutoFocus = (e) => { + e.preventDefault(); + }; + onCloseAutoFocus = (e) => { + e.preventDefault(); + }; + get shouldRender() { + return this.root.contentPresence.shouldRender; + } + snippetProps = $derived.by(() => ({ open: this.root.opts.open.current })); + props = $derived.by(() => ({ + id: this.opts.id.current, + role: "listbox", + "aria-multiselectable": this.root.isMulti ? "true" : undefined, + "data-state": getDataOpenClosed(this.root.opts.open.current), + ...getDataTransitionAttrs(this.root.contentPresence.transitionStatus), + [this.root.getBitsAttr("content")]: "", + style: { + display: "flex", + flexDirection: "column", + outline: "none", + boxSizing: "border-box", + pointerEvents: "auto", + ...this.#styles, + }, + onpointermove: this.onpointermove, + ...this.attachment, + })); + popperProps = { + onInteractOutside: this.onInteractOutside, + onEscapeKeydown: this.onEscapeKeydown, + onOpenAutoFocus: this.onOpenAutoFocus, + onCloseAutoFocus: this.onCloseAutoFocus, + trapFocus: false, + loop: false, + onPlaced: () => { + // onPlaced is also called when the menu is closed, so we need to check if the menu + // is actually open to avoid setting positioning to true when the menu is closed + if (this.root.opts.open.current) { + this.root.contentIsPositioned = true; + this.isPositioned = true; + } + }, + }; +} +export class SelectItemState { + static create(opts) { + return new SelectItemState(opts, SelectRootContext.get()); + } + opts; + root; + attachment; + isSelected = $derived.by(() => this.root.includesItem(this.opts.value.current)); + isHighlighted = $derived.by(() => this.root.highlightedValue === this.opts.value.current); + prevHighlighted = new Previous(() => this.isHighlighted); + mounted = $state(false); + constructor(opts, root) { + this.opts = opts; + this.root = root; + this.attachment = attachRef(opts.ref); + watch([() => this.isHighlighted, () => this.prevHighlighted.current], () => { + if (this.isHighlighted) { + this.opts.onHighlight.current(); + } + else if (this.prevHighlighted.current) { + this.opts.onUnhighlight.current(); + } + }); + watch(() => this.mounted, () => { + if (!this.mounted) + return; + this.root.setInitialHighlightedNode(); + }); + this.onpointerdown = this.onpointerdown.bind(this); + this.onpointerup = this.onpointerup.bind(this); + this.onpointermove = this.onpointermove.bind(this); + } + handleSelect() { + if (this.opts.disabled.current) + return; + const isCurrentSelectedValue = this.opts.value.current === this.root.opts.value.current; + // if allowDeselect is false and the item is already selected and we're not in a + // multi select, do nothing and close the menu + if (!this.root.opts.allowDeselect.current && isCurrentSelectedValue && !this.root.isMulti) { + this.root.handleClose(); + return; + } + // otherwise, toggle the item and if we're not in a multi select, close the menu + this.root.toggleItem(this.opts.value.current, this.opts.label.current); + if (!this.root.isMulti && !isCurrentSelectedValue) { + this.root.handleClose(); + } + } + snippetProps = $derived.by(() => ({ + selected: this.isSelected, + highlighted: this.isHighlighted, + })); + onpointerdown(e) { + // prevent focus from leaving the input/select trigger + e.preventDefault(); + } + /** + * Using `pointerup` instead of `click` allows power users to pointerdown + * the trigger, then release pointerup on an item to select it vs having to do + * multiple clicks. + */ + onpointerup(e) { + if (e.defaultPrevented || !this.opts.ref.current) + return; + /** + * For one reason or another, when it's a touch pointer and _not_ on IOS, + * we need to listen for the immediate click event to handle the selection, + * otherwise a click event will fire on the element _behind_ the item. + */ + if (e.pointerType === "touch" && !isIOS) { + on(this.opts.ref.current, "click", () => { + this.handleSelect(); + // set highlighted node since we don't do it on `pointermove` events + // for touch devices + this.root.setHighlightedNode(this.opts.ref.current); + }, { once: true }); + return; + } + e.preventDefault(); + this.handleSelect(); + if (e.pointerType === "touch") { + // set highlighted node since we don't do it on `pointermove` events + // for touch devices + this.root.setHighlightedNode(this.opts.ref.current); + } + } + onpointermove(e) { + /** + * We don't want to highlight items on touch devices when scrolling, + * as this is confusing behavior, so we return here and instead handle + * the highlighting on the `pointerup` (or following `click`) event for + * touch devices only. + */ + if (e.pointerType === "touch") + return; + if (this.root.highlightedNode !== this.opts.ref.current) { + this.root.setHighlightedNode(this.opts.ref.current); + } + } + props = $derived.by(() => ({ + id: this.opts.id.current, + role: "option", + "aria-selected": this.root.includesItem(this.opts.value.current) + ? "true" + : undefined, + "data-value": this.opts.value.current, + "data-disabled": boolToEmptyStrOrUndef(this.opts.disabled.current), + "data-highlighted": this.root.highlightedValue === this.opts.value.current && + !this.opts.disabled.current + ? "" + : undefined, + "data-selected": this.root.includesItem(this.opts.value.current) ? "" : undefined, + "data-label": this.opts.label.current, + [this.root.getBitsAttr("item")]: "", + onpointermove: this.onpointermove, + onpointerdown: this.onpointerdown, + onpointerup: this.onpointerup, + ...this.attachment, + })); +} +export class SelectGroupState { + static create(opts) { + return SelectGroupContext.set(new SelectGroupState(opts, SelectRootContext.get())); + } + opts; + root; + labelNode = $state(null); + attachment; + constructor(opts, root) { + this.opts = opts; + this.root = root; + this.attachment = attachRef(opts.ref); + } + props = $derived.by(() => ({ + id: this.opts.id.current, + role: "group", + [this.root.getBitsAttr("group")]: "", + "aria-labelledby": this.labelNode?.id ?? undefined, + ...this.attachment, + })); +} +export class SelectGroupHeadingState { + static create(opts) { + return new SelectGroupHeadingState(opts, SelectGroupContext.get()); + } + opts; + group; + attachment; + constructor(opts, group) { + this.opts = opts; + this.group = group; + this.attachment = attachRef(opts.ref, (v) => (this.group.labelNode = v)); + } + props = $derived.by(() => ({ + id: this.opts.id.current, + [this.group.root.getBitsAttr("group-label")]: "", + ...this.attachment, + })); +} +export class SelectHiddenInputState { + static create(opts) { + return new SelectHiddenInputState(opts, SelectRootContext.get()); + } + opts; + root; + shouldRender = $derived.by(() => this.root.opts.name.current !== ""); + constructor(opts, root) { + this.opts = opts; + this.root = root; + this.onfocus = this.onfocus.bind(this); + } + onfocus(e) { + e.preventDefault(); + if (!this.root.isCombobox) { + this.root.triggerNode?.focus(); + } + else { + this.root.inputNode?.focus(); + } + } + props = $derived.by(() => ({ + disabled: boolToTrueOrUndef(this.root.opts.disabled.current), + required: boolToTrueOrUndef(this.root.opts.required.current), + name: this.root.opts.name.current, + value: this.opts.value.current, + onfocus: this.onfocus, + })); +} +export class SelectViewportState { + static create(opts) { + return new SelectViewportState(opts, SelectContentContext.get()); + } + opts; + content; + root; + attachment; + prevScrollTop = $state(0); + constructor(opts, content) { + this.opts = opts; + this.content = content; + this.root = content.root; + this.attachment = attachRef(opts.ref, (v) => { + this.root.viewportNode = v; + }); + } + props = $derived.by(() => ({ + id: this.opts.id.current, + role: "presentation", + [this.root.getBitsAttr("viewport")]: "", + style: { + // we use position: 'relative' here on the `viewport` so that when we call + // `selectedItem.offsetTop` in calculations, the offset is relative to the viewport + // (independent of the scrollUpButton). + position: "relative", + flex: 1, + overflow: "auto", + }, + ...this.attachment, + })); +} +export class SelectScrollButtonImplState { + opts; + content; + root; + attachment; + autoScrollTimer = null; + userScrollTimer = -1; + isUserScrolling = false; + onAutoScroll = noop; + mounted = $state(false); + constructor(opts, content) { + this.opts = opts; + this.content = content; + this.root = content.root; + this.attachment = attachRef(opts.ref); + watch([() => this.mounted], () => { + if (!this.mounted) { + this.isUserScrolling = false; + return; + } + if (this.isUserScrolling) + return; + }); + $effect(() => { + if (this.mounted) + return; + this.clearAutoScrollInterval(); + }); + this.onpointerdown = this.onpointerdown.bind(this); + this.onpointermove = this.onpointermove.bind(this); + this.onpointerleave = this.onpointerleave.bind(this); + } + handleUserScroll() { + this.content.domContext.clearTimeout(this.userScrollTimer); + this.isUserScrolling = true; + this.userScrollTimer = this.content.domContext.setTimeout(() => { + this.isUserScrolling = false; + }, 200); + } + clearAutoScrollInterval() { + if (this.autoScrollTimer === null) + return; + this.content.domContext.clearTimeout(this.autoScrollTimer); + this.autoScrollTimer = null; + } + onpointerdown(_) { + if (this.autoScrollTimer !== null) + return; + const autoScroll = (tick) => { + this.onAutoScroll(); + this.autoScrollTimer = this.content.domContext.setTimeout(() => autoScroll(tick + 1), this.opts.delay.current(tick)); + }; + this.autoScrollTimer = this.content.domContext.setTimeout(() => autoScroll(1), this.opts.delay.current(0)); + } + onpointermove(e) { + this.onpointerdown(e); + } + onpointerleave(_) { + this.clearAutoScrollInterval(); + } + props = $derived.by(() => ({ + id: this.opts.id.current, + "aria-hidden": boolToStrTrueOrUndef(true), + style: { + flexShrink: 0, + }, + onpointerdown: this.onpointerdown, + onpointermove: this.onpointermove, + onpointerleave: this.onpointerleave, + ...this.attachment, + })); +} +export class SelectScrollDownButtonState { + static create(opts) { + return new SelectScrollDownButtonState(new SelectScrollButtonImplState(opts, SelectContentContext.get())); + } + scrollButtonState; + content; + root; + canScrollDown = $state(false); + scrollIntoViewTimer = null; + constructor(scrollButtonState) { + this.scrollButtonState = scrollButtonState; + this.content = scrollButtonState.content; + this.root = scrollButtonState.root; + this.scrollButtonState.onAutoScroll = this.handleAutoScroll; + watch([() => this.root.viewportNode, () => this.content.isPositioned], () => { + if (!this.root.viewportNode || !this.content.isPositioned) + return; + this.handleScroll(true); + return on(this.root.viewportNode, "scroll", () => this.handleScroll()); + }); + /** + * If the input value changes, this means that the filtered items may have changed, + * so we need to re-evaluate the scroll-ability of the list. + */ + watch([ + () => this.root.opts.inputValue.current, + () => this.root.viewportNode, + () => this.content.isPositioned, + ], () => { + if (!this.root.viewportNode || !this.content.isPositioned) + return; + this.handleScroll(true); + }); + watch(() => this.scrollButtonState.mounted, () => { + if (!this.scrollButtonState.mounted) + return; + if (this.scrollIntoViewTimer) { + clearTimeout(this.scrollIntoViewTimer); + } + this.scrollIntoViewTimer = afterSleep(5, () => { + const activeItem = this.root.highlightedNode; + if (!activeItem) + return; + this.root.scrollHighlightedNodeIntoView(activeItem); + }); + }); + } + /** + * @param manual - if true, it means the function was invoked manually outside of an event + * listener, so we don't call `handleUserScroll` to prevent the auto scroll from kicking in. + */ + handleScroll = (manual = false) => { + if (!manual) { + this.scrollButtonState.handleUserScroll(); + } + if (!this.root.viewportNode) + return; + const maxScroll = this.root.viewportNode.scrollHeight - this.root.viewportNode.clientHeight; + const paddingTop = Number.parseInt(getComputedStyle(this.root.viewportNode).paddingTop, 10); + this.canScrollDown = Math.ceil(this.root.viewportNode.scrollTop) < maxScroll - paddingTop; + }; + handleAutoScroll = () => { + const viewport = this.root.viewportNode; + const selectedItem = this.root.highlightedNode; + if (!viewport || !selectedItem) + return; + viewport.scrollTop = viewport.scrollTop + selectedItem.offsetHeight; + }; + props = $derived.by(() => ({ + ...this.scrollButtonState.props, + [this.root.getBitsAttr("scroll-down-button")]: "", + })); +} +export class SelectScrollUpButtonState { + static create(opts) { + return new SelectScrollUpButtonState(new SelectScrollButtonImplState(opts, SelectContentContext.get())); + } + scrollButtonState; + content; + root; + canScrollUp = $state(false); + constructor(scrollButtonState) { + this.scrollButtonState = scrollButtonState; + this.content = scrollButtonState.content; + this.root = scrollButtonState.root; + this.scrollButtonState.onAutoScroll = this.handleAutoScroll; + watch([() => this.root.viewportNode, () => this.content.isPositioned], () => { + if (!this.root.viewportNode || !this.content.isPositioned) + return; + this.handleScroll(true); + return on(this.root.viewportNode, "scroll", () => this.handleScroll()); + }); + } + /** + * @param manual - if true, it means the function was invoked manually outside of an event + * listener, so we don't call `handleUserScroll` to prevent the auto scroll from kicking in. + */ + handleScroll = (manual = false) => { + if (!manual) { + this.scrollButtonState.handleUserScroll(); + } + if (!this.root.viewportNode) + return; + const paddingTop = Number.parseInt(getComputedStyle(this.root.viewportNode).paddingTop, 10); + this.canScrollUp = this.root.viewportNode.scrollTop - paddingTop > 0.1; + }; + handleAutoScroll = () => { + if (!this.root.viewportNode || !this.root.highlightedNode) + return; + this.root.viewportNode.scrollTop = + this.root.viewportNode.scrollTop - this.root.highlightedNode.offsetHeight; + }; + props = $derived.by(() => ({ + ...this.scrollButtonState.props, + [this.root.getBitsAttr("scroll-up-button")]: "", + })); +} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/select/types.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/select/types.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..288766c4737c84ad1182bbca426ec518b4a7b94e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/select/types.d.ts @@ -0,0 +1,222 @@ +import type { Expand } from "svelte-toolbelt"; +import type { PortalProps } from "../utilities/portal/types.js"; +import type { PopperLayerProps, PopperLayerStaticProps } from "../utilities/popper-layer/types.js"; +import type { ArrowProps, ArrowPropsWithoutHTML } from "../utilities/arrow/types.js"; +import type { BitsPrimitiveButtonAttributes, BitsPrimitiveDivAttributes, BitsPrimitiveSpanAttributes } from "../../shared/attributes.js"; +import type { OnChangeFn, WithChild, WithChildNoChildrenSnippetProps, WithChildren, Without } from "../../internal/types.js"; +import type { FloatingContentSnippetProps, StaticContentSnippetProps } from "../../shared/types.js"; +import type { HTMLInputAttributes } from "svelte/elements"; +export type SelectBaseRootPropsWithoutHTML = WithChildren<{ + /** + * Whether the combobox is disabled. + * + * @defaultValue `false` + */ + disabled?: boolean; + /** + * Whether the combobox is required (for form submission). + * + * @defaultValue `false` + */ + required?: boolean; + /** + * The name to apply to the hidden input element for form submission. + * If not provided, a hidden input will not be rendered and the combobox will not be part of a form. + */ + name?: string; + /** + * Whether the combobox popover is open. + * + * @defaultValue `false` + * @bindable + */ + open?: boolean; + /** + * A callback function called when the open state changes. + */ + onOpenChange?: OnChangeFn; + /** + * A callback function called when the open state changes and the animation is complete. + */ + onOpenChangeComplete?: OnChangeFn; + /** + * Whether or not the combobox menu should loop through the items when navigating with the keyboard. + * + * @defaultValue `false` + */ + loop?: boolean; + /** + * How to scroll the combobox items into view when navigating with the keyboard. + * + * @defaultValue `"nearest"` + */ + scrollAlignment?: "nearest" | "center"; + /** + * Optionally provide an array of `value` and `label` pairs that will be used to match + * and trigger selection when the trigger is focused and a key is pressed while the content + * is closed. It's also used to handle form autofill. + * + * By providing this value, you enable selecting a value when the trigger is focused and a key + * is pressed without the content being open, similar to how a native ` +{:else} + +{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/hidden-input.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/hidden-input.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..136c0067d76411385d77e6166203f33a6b794940 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/hidden-input.svelte.d.ts @@ -0,0 +1,4 @@ +import type { HTMLInputAttributes } from "svelte/elements"; +declare const HiddenInput: import("svelte").Component; +type HiddenInput = ReturnType; +export default HiddenInput; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/index.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..78c5e597293f0c22f3d92452bc9630d3dd5a8ad7 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/index.d.ts @@ -0,0 +1 @@ +export { default as Mounted } from "./mounted.svelte"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/index.js b/tools/ui/node_modules/bits-ui/dist/bits/utilities/index.js new file mode 100644 index 0000000000000000000000000000000000000000..78c5e597293f0c22f3d92452bc9630d3dd5a8ad7 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/index.js @@ -0,0 +1 @@ +export { default as Mounted } from "./mounted.svelte"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/is-using-keyboard/is-using-keyboard.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/is-using-keyboard/is-using-keyboard.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..dc47ad2a219d761714ca7884ed5dab3da0f554a9 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/is-using-keyboard/is-using-keyboard.svelte.d.ts @@ -0,0 +1,13 @@ +import { type AnyFn } from "svelte-toolbelt"; +/** + * Detects whether the user is currently using the keyboard + * or not by listening to keyboard and pointer events. Uses shared global + * state to avoid listener duplication. + */ +export declare class IsUsingKeyboard { + static _refs: number; + static _cleanup?: AnyFn; + constructor(); + get current(): boolean; + set current(value: boolean); +} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/is-using-keyboard/is-using-keyboard.svelte.js b/tools/ui/node_modules/bits-ui/dist/bits/utilities/is-using-keyboard/is-using-keyboard.svelte.js new file mode 100644 index 0000000000000000000000000000000000000000..86940ca54fac0389e879c28bf97cbb121443e144 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/is-using-keyboard/is-using-keyboard.svelte.js @@ -0,0 +1,51 @@ +import { executeCallbacks } from "svelte-toolbelt"; +import { on } from "svelte/events"; +// Using global state to avoid multiple listeners. +let isUsingKeyboard = $state(false); +/** + * Detects whether the user is currently using the keyboard + * or not by listening to keyboard and pointer events. Uses shared global + * state to avoid listener duplication. + */ +export class IsUsingKeyboard { + static _refs = 0; // Reference counting to avoid multiple listeners. + static _cleanup; + constructor() { + $effect(() => { + if (IsUsingKeyboard._refs === 0) { + IsUsingKeyboard._cleanup = $effect.root(() => { + const callbacksToDispose = []; + const handlePointer = (_) => { + isUsingKeyboard = false; + }; + const handleKeydown = (_) => { + isUsingKeyboard = true; + }; + callbacksToDispose.push(on(document, "pointerdown", handlePointer, { + capture: true, + }), on(document, "pointermove", handlePointer, { + capture: true, + }), on(document, "keydown", handleKeydown, { + capture: true, + })); + // Don't forget to spread and call twice. + return executeCallbacks(...callbacksToDispose); + }); + } + IsUsingKeyboard._refs++; + return () => { + IsUsingKeyboard._refs--; + if (IsUsingKeyboard._refs === 0) { + isUsingKeyboard = false; + IsUsingKeyboard._cleanup?.(); + } + }; + }); + } + get current() { + return isUsingKeyboard; + } + set current(value) { + isUsingKeyboard = value; + } +} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/mounted.svelte b/tools/ui/node_modules/bits-ui/dist/bits/utilities/mounted.svelte new file mode 100644 index 0000000000000000000000000000000000000000..f6f5639a2b4fd5bf89365652063cf0ac2ee2364e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/mounted.svelte @@ -0,0 +1,18 @@ + diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/mounted.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/mounted.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..9829c0414506804fa43292069dcac7538d2f3804 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/mounted.svelte.d.ts @@ -0,0 +1,7 @@ +type $$ComponentProps = { + mounted?: boolean; + onMountedChange?: (mounted: boolean) => void; +}; +declare const Mounted: import("svelte").Component<$$ComponentProps, {}, "mounted">; +type Mounted = ReturnType; +export default Mounted; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/index.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..74ff5271852fd89a1e9a46d8c1a8d63ec8637697 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/index.d.ts @@ -0,0 +1,2 @@ +export { default as PopperLayer } from "./popper-layer.svelte"; +export type { PopperLayerProps } from "./types.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/index.js b/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/index.js new file mode 100644 index 0000000000000000000000000000000000000000..2fe5e41b55f5048e815f7a42abc2332e852aea35 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/index.js @@ -0,0 +1 @@ +export { default as PopperLayer } from "./popper-layer.svelte"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-content.svelte b/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-content.svelte new file mode 100644 index 0000000000000000000000000000000000000000..e54c886458615f87012133eb0b2dcabc1662d217 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-content.svelte @@ -0,0 +1,18 @@ + + +{#if isStatic} + +{:else} + +{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-content.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-content.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..c739f9b25724e40843a2bc06d7cb43df90c62d59 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-content.svelte.d.ts @@ -0,0 +1,7 @@ +import type { FloatingLayerContentImplProps } from "../floating-layer/types.js"; +type $$ComponentProps = FloatingLayerContentImplProps & { + isStatic: boolean; +}; +declare const PopperContent: import("svelte").Component<$$ComponentProps, {}, "">; +type PopperContent = ReturnType; +export default PopperContent; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer-force-mount.svelte b/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer-force-mount.svelte new file mode 100644 index 0000000000000000000000000000000000000000..e0ec6cc67613c20233fe8f9b494832daa0956d29 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer-force-mount.svelte @@ -0,0 +1,85 @@ + + + diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer-force-mount.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer-force-mount.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..df041326c7e5023fcbca17003a546cd4c8fcb8f6 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer-force-mount.svelte.d.ts @@ -0,0 +1,7 @@ +import type { PopperLayerImplProps } from "./types.js"; +type $$ComponentProps = Omit & { + enabled: boolean; +}; +declare const PopperLayerForceMount: import("svelte").Component<$$ComponentProps, {}, "">; +type PopperLayerForceMount = ReturnType; +export default PopperLayerForceMount; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer-inner.svelte b/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer-inner.svelte new file mode 100644 index 0000000000000000000000000000000000000000..994848562fb44c3be1fc915c3df0bbaf3f5467b2 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer-inner.svelte @@ -0,0 +1,139 @@ + + + + {#snippet content({ props: floatingProps, wrapperProps })} + {#if restProps.forceMount && enabled} + + {:else if !restProps.forceMount} + + {/if} + + {#snippet focusScope({ props: focusScopeProps })} + + + {#snippet children({ props: dismissibleProps })} + + {@render popper?.({ + props: mergeProps( + restProps, + floatingProps, + dismissibleProps, + focusScopeProps, + { + style: { + pointerEvents: contentPointerEvents, + }, + } + ), + wrapperProps, + })} + + {/snippet} + + + {/snippet} + + {/snippet} + diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer-inner.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer-inner.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..2243f49c2eb04fd4a665cde124ee9f0a5a886963 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer-inner.svelte.d.ts @@ -0,0 +1,8 @@ +import type { PopperLayerImplProps } from "./types.js"; +type $$ComponentProps = Omit & { + enabled: boolean; + contentPointerEvents?: "auto" | "none"; +}; +declare const PopperLayerInner: import("svelte").Component<$$ComponentProps, {}, "">; +type PopperLayerInner = ReturnType; +export default PopperLayerInner; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer.svelte b/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer.svelte new file mode 100644 index 0000000000000000000000000000000000000000..bef101b00f83988a7ac54fe5a3f4f4d20908f923 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer.svelte @@ -0,0 +1,88 @@ + + +{#if shouldRender} + +{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..2ca75343ed969321dbbb08aca7c8b9f16b2e676c --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer.svelte.d.ts @@ -0,0 +1,4 @@ +import type { PopperLayerImplProps } from "./types.js"; +declare const PopperLayer: import("svelte").Component; +type PopperLayer = ReturnType; +export default PopperLayer; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/types.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/types.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d0797c4b7147b522873352b68d394b6bc18bfe80 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/types.d.ts @@ -0,0 +1,43 @@ +import type { Snippet } from "svelte"; +import type { EscapeLayerImplProps, EscapeLayerProps } from "../escape-layer/types.js"; +import type { DismissibleLayerImplProps, DismissibleLayerProps } from "../dismissible-layer/types.js"; +import type { FloatingLayerContentImplProps, FloatingLayerContentProps } from "../floating-layer/types.js"; +import type { TextSelectionLayerImplProps, TextSelectionLayerProps } from "../text-selection-layer/types.js"; +import type { PresenceLayerImplProps, PresenceLayerProps } from "../presence-layer/types.js"; +import type { FocusScopeImplProps, FocusScopeProps } from "../focus-scope/types.js"; +import type { ScrollLockProps } from "../scroll-lock/index.js"; +import type { Direction } from "../../../shared/index.js"; +export type PopperLayerProps = EscapeLayerProps & Omit & FloatingLayerContentProps & PresenceLayerProps & TextSelectionLayerProps & FocusScopeProps & Omit; +export type PopperLayerStaticProps = EscapeLayerProps & Omit & PresenceLayerProps & TextSelectionLayerProps & FocusScopeProps & Omit & { + content?: Snippet<[{ + props: Record; + }]>; + dir?: Direction; +}; +export type PopperLayerImplProps = Omit & TextSelectionLayerImplProps & FocusScopeImplProps & { + popper: Snippet<[ + { + props: Record; + wrapperProps: Record; + } + ]>; + isStatic?: boolean; + /** + * Tooltips are special in that they are commonly composed + * with other floating components, where the same trigger is + * used for both the tooltip and the popover. + * + * For situations like this, we need to use a different context + * symbol so that conflicts don't occur. + */ + tooltip?: boolean; + /** + * Whether the popper layer should be rendered. + */ + shouldRender: boolean; + /** + * Override for the content's pointer-events style. + * @default "auto" + */ + contentPointerEvents?: "auto" | "none"; +}, "enabled">; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/types.js b/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/types.js new file mode 100644 index 0000000000000000000000000000000000000000..cb0ff5c3b541f646105198ee23ac0fc3d805023e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/popper-layer/types.js @@ -0,0 +1 @@ +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/portal/index.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/portal/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..4a9e888216bc223b17c6bba220c47923dd245f06 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/portal/index.d.ts @@ -0,0 +1,2 @@ +export { default as Portal } from "./portal.svelte"; +export type { PortalProps } from "./types.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/portal/index.js b/tools/ui/node_modules/bits-ui/dist/bits/utilities/portal/index.js new file mode 100644 index 0000000000000000000000000000000000000000..d96788cfd976ab578f52c49ea84bdd2930570b1b --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/portal/index.js @@ -0,0 +1 @@ +export { default as Portal } from "./portal.svelte"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/portal/portal-consumer.svelte b/tools/ui/node_modules/bits-ui/dist/bits/utilities/portal/portal-consumer.svelte new file mode 100644 index 0000000000000000000000000000000000000000..da153b75ea42e291eda6a69bb4799ec5985fcd2a --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/portal/portal-consumer.svelte @@ -0,0 +1,9 @@ + + +{#key children} + {@render children?.()} +{/key} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/portal/portal-consumer.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/portal/portal-consumer.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..1b4ef178c026cf051bbab538d576f4ebcad708d5 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/portal/portal-consumer.svelte.d.ts @@ -0,0 +1,7 @@ +import type { Snippet } from "svelte"; +type $$ComponentProps = { + children?: Snippet; +}; +declare const PortalConsumer: import("svelte").Component<$$ComponentProps, {}, "">; +type PortalConsumer = ReturnType; +export default PortalConsumer; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/portal/portal.svelte b/tools/ui/node_modules/bits-ui/dist/bits/utilities/portal/portal.svelte new file mode 100644 index 0000000000000000000000000000000000000000..f8135ab7160f2a2baa476d27a7eff75e0843300a --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/portal/portal.svelte @@ -0,0 +1,70 @@ + + +{#if disabled} + {@render children?.()} +{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/portal/portal.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/portal/portal.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..f92f47e1172f6e25be8439ade78c79e8da6678b9 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/portal/portal.svelte.d.ts @@ -0,0 +1,4 @@ +import type { PortalProps } from "./types.js"; +declare const Portal: import("svelte").Component; +type Portal = ReturnType; +export default Portal; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/portal/types.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/portal/types.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d37e996e091689f539661a8650f6aa76428da8fa --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/portal/types.d.ts @@ -0,0 +1,20 @@ +import type { Snippet } from "svelte"; +export type PortalTarget = Element | string; +export type PortalProps = { + /** + * Where to portal the content to. + * + * @default document.body + */ + to?: PortalTarget; + /** + * Disable portalling and render the component inline + * + * @defaultValue false + */ + disabled?: boolean; + /** + * The children content to render within the portal. + */ + children?: Snippet; +}; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/portal/types.js b/tools/ui/node_modules/bits-ui/dist/bits/utilities/portal/types.js new file mode 100644 index 0000000000000000000000000000000000000000..cb0ff5c3b541f646105198ee23ac0fc3d805023e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/portal/types.js @@ -0,0 +1 @@ +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/presence-layer/index.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/presence-layer/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..544c317b2c4ac0d4f4107622d91e777be9602ead --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/presence-layer/index.d.ts @@ -0,0 +1,2 @@ +export { default as PresenceLayer } from "./presence-layer.svelte"; +export type { PresenceLayerProps } from "./types.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/presence-layer/index.js b/tools/ui/node_modules/bits-ui/dist/bits/utilities/presence-layer/index.js new file mode 100644 index 0000000000000000000000000000000000000000..459819de00937d91670baec39e4634f02ca20ee0 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/presence-layer/index.js @@ -0,0 +1 @@ +export { default as PresenceLayer } from "./presence-layer.svelte"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/presence-layer/presence-layer.svelte b/tools/ui/node_modules/bits-ui/dist/bits/utilities/presence-layer/presence-layer.svelte new file mode 100644 index 0000000000000000000000000000000000000000..8a7bb7d16c844251c7d74aacd91af7f5bc42800e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/presence-layer/presence-layer.svelte @@ -0,0 +1,19 @@ + + +{#if forceMount || open || presenceState.isPresent} + {@render presence?.({ + present: presenceState.isPresent, + transitionStatus: presenceState.transitionStatus, + })} +{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/presence-layer/presence-layer.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/presence-layer/presence-layer.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..4d8bb8e610e24cda384829ae70b57fa9f10d61d5 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/presence-layer/presence-layer.svelte.d.ts @@ -0,0 +1,4 @@ +import type { PresenceLayerImplProps } from "./types.js"; +declare const PresenceLayer: import("svelte").Component; +type PresenceLayer = ReturnType; +export default PresenceLayer; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/presence-layer/presence.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/presence-layer/presence.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..fe834d67fb243010858c59905145471f7b5c1044 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/presence-layer/presence.svelte.d.ts @@ -0,0 +1,15 @@ +import { type ReadableBox, type ReadableBoxedValues } from "svelte-toolbelt"; +import type { TransitionState } from "../../../internal/attrs.js"; +export interface PresenceOptions extends ReadableBoxedValues<{ + open: boolean; + ref: HTMLElement | null; +}> { +} +export declare class Presence { + #private; + readonly opts: PresenceOptions; + present: ReadableBox; + constructor(opts: PresenceOptions); + isPresent: boolean; + get transitionStatus(): TransitionState; +} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/presence-layer/presence.svelte.js b/tools/ui/node_modules/bits-ui/dist/bits/utilities/presence-layer/presence.svelte.js new file mode 100644 index 0000000000000000000000000000000000000000..3385ce11c3e78fb5d70c77aab18b3b886718660d --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/presence-layer/presence.svelte.js @@ -0,0 +1,61 @@ +import { onDestroyEffect } from "svelte-toolbelt"; +import { watch } from "runed"; +import { AnimationsComplete } from "../../../internal/animations-complete.js"; +export class Presence { + opts; + present; + #afterAnimations; + #isPresent = $state(false); + #hasMounted = false; + #transitionStatus = $state(undefined); + #transitionFrame = null; + constructor(opts) { + this.opts = opts; + this.present = this.opts.open; + this.#isPresent = opts.open.current; + this.#afterAnimations = new AnimationsComplete({ + ref: this.opts.ref, + afterTick: this.opts.open, + }); + onDestroyEffect(() => this.#clearTransitionFrame()); + watch(() => this.present.current, (isOpen) => { + if (!this.#hasMounted) { + this.#hasMounted = true; + return; + } + this.#clearTransitionFrame(); + if (isOpen) { + this.#isPresent = true; + } + this.#transitionStatus = isOpen ? "starting" : "ending"; + if (isOpen) { + this.#transitionFrame = window.requestAnimationFrame(() => { + this.#transitionFrame = null; + if (this.present.current) { + this.#transitionStatus = undefined; + } + }); + } + this.#afterAnimations.run(() => { + if (isOpen !== this.present.current) + return; + if (!isOpen) { + this.#isPresent = false; + } + this.#transitionStatus = undefined; + }); + }); + } + isPresent = $derived.by(() => { + return this.#isPresent; + }); + get transitionStatus() { + return this.#transitionStatus; + } + #clearTransitionFrame() { + if (this.#transitionFrame === null) + return; + window.cancelAnimationFrame(this.#transitionFrame); + this.#transitionFrame = null; + } +} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/presence-layer/types.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/presence-layer/types.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6914b27761c232799b9b640bef49194c55072607 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/presence-layer/types.d.ts @@ -0,0 +1,22 @@ +import type { Snippet } from "svelte"; +import type { ReadableBox } from "svelte-toolbelt"; +import type { TransitionState } from "../../../internal/attrs.js"; +export type PresenceLayerProps = { + /** + * Whether to force mount the component. + */ + forceMount?: boolean; +}; +export type PresenceLayerImplProps = PresenceLayerProps & { + /** + * The open state of the component. + */ + open: boolean; + presence?: Snippet<[ + { + present: boolean; + transitionStatus: TransitionState; + } + ]>; + ref: ReadableBox; +}; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/presence-layer/types.js b/tools/ui/node_modules/bits-ui/dist/bits/utilities/presence-layer/types.js new file mode 100644 index 0000000000000000000000000000000000000000..cb0ff5c3b541f646105198ee23ac0fc3d805023e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/presence-layer/types.js @@ -0,0 +1 @@ +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/scroll-lock/index.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/scroll-lock/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..90d53766d217898ea1eb2a71dec2a1e402f19bfc --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/scroll-lock/index.d.ts @@ -0,0 +1,18 @@ +export type ScrollLockProps = { + /** + * Whether to prevent body scrolling when the content is open. + * + * @default true + */ + preventScroll?: boolean; + /** + * The delay in milliseconds before the scrollbar is restored after closing the + * dialog. This is only applicable when using the `child` snippet for custom + * transitions and `preventScroll` is `true`. You should set this to a value + * greater than the transition duration to prevent content from shifting during + * the transition. + * + * @default null + */ + restoreScrollDelay?: number | null; +}; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/scroll-lock/index.js b/tools/ui/node_modules/bits-ui/dist/bits/utilities/scroll-lock/index.js new file mode 100644 index 0000000000000000000000000000000000000000..cb0ff5c3b541f646105198ee23ac0fc3d805023e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/scroll-lock/index.js @@ -0,0 +1 @@ +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/scroll-lock/scroll-lock.svelte b/tools/ui/node_modules/bits-ui/dist/bits/utilities/scroll-lock/scroll-lock.svelte new file mode 100644 index 0000000000000000000000000000000000000000..4d0e13847a7a9ff34692fc782e4773765e00de96 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/scroll-lock/scroll-lock.svelte @@ -0,0 +1,10 @@ + diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/scroll-lock/scroll-lock.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/scroll-lock/scroll-lock.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..f447dd664050a54e1035d14da4d912d527c663e7 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/scroll-lock/scroll-lock.svelte.d.ts @@ -0,0 +1,4 @@ +import type { ScrollLockProps } from "./index.js"; +declare const ScrollLock: import("svelte").Component; +type ScrollLock = ReturnType; +export default ScrollLock; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/index.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..52ae23efa9f642db7a48d68553e67cbed109549a --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/index.d.ts @@ -0,0 +1,2 @@ +export { default as TextSelectionLayer } from "./text-selection-layer.svelte"; +export type { TextSelectionLayerProps } from "./types.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/index.js b/tools/ui/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/index.js new file mode 100644 index 0000000000000000000000000000000000000000..9c676f849a39134373d56bdfca60e443681fd93b --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/index.js @@ -0,0 +1 @@ +export { default as TextSelectionLayer } from "./text-selection-layer.svelte"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/text-selection-layer.svelte b/tools/ui/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/text-selection-layer.svelte new file mode 100644 index 0000000000000000000000000000000000000000..3b6544d9f01ea64b14e1c7a49ad9ef8019080225 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/text-selection-layer.svelte @@ -0,0 +1,26 @@ + + +{@render children?.()} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/text-selection-layer.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/text-selection-layer.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..78a69dc06d388158502f94ff8a8247b7a448a774 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/text-selection-layer.svelte.d.ts @@ -0,0 +1,4 @@ +import type { TextSelectionLayerImplProps } from "./types.js"; +declare const TextSelectionLayer: import("svelte").Component; +type TextSelectionLayer = ReturnType; +export default TextSelectionLayer; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/types.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/types.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..4e76fe3a8b71a4d0a65b8647befe28adf2b04174 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/types.d.ts @@ -0,0 +1,33 @@ +import type { Snippet } from "svelte"; +import type { ReadableBox } from "svelte-toolbelt"; +export type PointerHandler = (e: PointerEvent) => void; +export type TextSelectionLayerProps = { + /** + * Passing `true` will prevent the overflow of text selection + * outside the element, provided the element is the top layer. + * @defaultValue `true` + */ + preventOverflowTextSelection?: boolean; +}; +export type TextSelectionLayerImplProps = { + /** + * Whether the layer is enabled. Currently, we determine this with the + * `presence` returned from the `presence` layer. + */ + enabled: boolean; + /** + * DOM ID of the node. + */ + id: string; + children?: Snippet; + /** + * Callback fired when pointerdown event triggers. Call `preventDefault()` + * to disable the prevention of text-selection overflow. + */ + onPointerDown?: PointerHandler; + /** + * Callback fired when pointerup event triggers. + */ + onPointerUp?: PointerHandler; + ref: ReadableBox; +} & TextSelectionLayerProps; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/types.js b/tools/ui/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/types.js new file mode 100644 index 0000000000000000000000000000000000000000..cb0ff5c3b541f646105198ee23ac0fc3d805023e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/types.js @@ -0,0 +1 @@ +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/use-text-selection-layer.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/use-text-selection-layer.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..86d7f9dac5e0f5af390bcbc7db0c60ea2e11d55f --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/use-text-selection-layer.svelte.d.ts @@ -0,0 +1,14 @@ +import { DOMContext, type ReadableBoxedValues } from "svelte-toolbelt"; +import type { TextSelectionLayerImplProps } from "./types.js"; +interface TextSelectionLayerStateOpts extends ReadableBoxedValues> & { + ref: HTMLElement | null; +}> { +} +export declare class TextSelectionLayerState { + #private; + static create(opts: TextSelectionLayerStateOpts): TextSelectionLayerState; + readonly opts: TextSelectionLayerStateOpts; + readonly domContext: DOMContext; + constructor(opts: TextSelectionLayerStateOpts); +} +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/use-text-selection-layer.svelte.js b/tools/ui/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/use-text-selection-layer.svelte.js new file mode 100644 index 0000000000000000000000000000000000000000..98b620edd4d39c8b7203741ec963cabc65b4bf2e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/use-text-selection-layer.svelte.js @@ -0,0 +1,94 @@ +import { DOMContext, composeHandlers, contains, executeCallbacks, } from "svelte-toolbelt"; +import { watch } from "runed"; +import { on } from "svelte/events"; +import { noop } from "../../../internal/noop.js"; +import { isHTMLElement } from "../../../internal/is.js"; +const noopPointer = () => { }; +globalThis.bitsTextSelectionLayers ??= new Map(); +export class TextSelectionLayerState { + static create(opts) { + return new TextSelectionLayerState(opts); + } + opts; + domContext; + #unsubSelectionLock = noop; + #enabledSnapshot = false; + #onPointerDownSnapshot = noopPointer; + #onPointerUpSnapshot = noopPointer; + constructor(opts) { + this.opts = opts; + this.domContext = new DOMContext(opts.ref); + let unsubEvents = noop; + watch(() => [ + this.opts.enabled.current, + this.opts.onPointerDown.current, + this.opts.onPointerUp.current, + ], ([enabled, onPointerDown, onPointerUp]) => { + this.#enabledSnapshot = enabled; + this.#onPointerDownSnapshot = onPointerDown; + this.#onPointerUpSnapshot = onPointerUp; + if (enabled) { + globalThis.bitsTextSelectionLayers.set(this, this.opts.enabled); + unsubEvents(); + unsubEvents = this.#addEventListeners(); + } + return () => { + this.#enabledSnapshot = false; + unsubEvents(); + this.#resetSelectionLock(); + globalThis.bitsTextSelectionLayers.delete(this); + }; + }); + } + #addEventListeners() { + return executeCallbacks(on(this.domContext.getDocument(), "pointerdown", this.#pointerdown), on(this.domContext.getDocument(), "pointerup", composeHandlers(this.#resetSelectionLock, this.#pointerupUserHandler))); + } + #pointerupUserHandler = (e) => { + this.#onPointerUpSnapshot(e); + }; + #pointerdown = (e) => { + const node = this.opts.ref.current; + const target = e.target; + if (!isHTMLElement(node) || !isHTMLElement(target) || !this.#enabledSnapshot) + return; + /** + * We only lock user-selection overflow if layer is the top most layer and + * pointerdown occurred inside the node. You are still allowed to select text + * outside the node provided pointerdown occurs outside the node. + */ + if (!isHighestLayer(this) || !contains(node, target)) + return; + this.#onPointerDownSnapshot(e); + if (e.defaultPrevented) + return; + this.#unsubSelectionLock = preventTextSelectionOverflow(node, this.domContext.getDocument().body); + }; + #resetSelectionLock = () => { + this.#unsubSelectionLock(); + this.#unsubSelectionLock = noop; + }; +} +const getUserSelect = (node) => node.style.userSelect || node.style.webkitUserSelect; +function preventTextSelectionOverflow(node, body) { + const originalBodyUserSelect = getUserSelect(body); + const originalNodeUserSelect = getUserSelect(node); + setUserSelect(body, "none"); + setUserSelect(node, "text"); + return () => { + setUserSelect(body, originalBodyUserSelect); + setUserSelect(node, originalNodeUserSelect); + }; +} +function setUserSelect(node, value) { + node.style.userSelect = value; + node.style.webkitUserSelect = value; +} +function isHighestLayer(instance) { + const layersArr = [...globalThis.bitsTextSelectionLayers]; + if (!layersArr.length) + return false; + const highestLayer = layersArr.at(-1); + if (!highestLayer) + return false; + return highestLayer[0] === instance; +} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/visually-hidden/index.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/visually-hidden/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..50b838701b465665c9c299015f744c10d0a410b3 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/visually-hidden/index.d.ts @@ -0,0 +1,2 @@ +export { default as VisuallyHidden } from "./visually-hidden.svelte"; +export type * from "./types.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/visually-hidden/index.js b/tools/ui/node_modules/bits-ui/dist/bits/utilities/visually-hidden/index.js new file mode 100644 index 0000000000000000000000000000000000000000..f286f8e4a1bd13b89486e55d48a8dc9a9c6f8e5b --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/visually-hidden/index.js @@ -0,0 +1 @@ +export { default as VisuallyHidden } from "./visually-hidden.svelte"; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/visually-hidden/types.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/visually-hidden/types.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..056f5a922c5b4e156b0908932a2a44eb2909441e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/visually-hidden/types.d.ts @@ -0,0 +1,3 @@ +import type { WithChild } from "../../../internal/types.js"; +import type { BitsPrimitiveSpanAttributes } from "../../../shared/attributes.js"; +export type VisuallyHiddenProps = WithChild; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/visually-hidden/types.js b/tools/ui/node_modules/bits-ui/dist/bits/utilities/visually-hidden/types.js new file mode 100644 index 0000000000000000000000000000000000000000..cb0ff5c3b541f646105198ee23ac0fc3d805023e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/visually-hidden/types.js @@ -0,0 +1 @@ +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/visually-hidden/visually-hidden.svelte b/tools/ui/node_modules/bits-ui/dist/bits/utilities/visually-hidden/visually-hidden.svelte new file mode 100644 index 0000000000000000000000000000000000000000..773e2338f1a7fdc091100738148fdd903d2d302f --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/visually-hidden/visually-hidden.svelte @@ -0,0 +1,31 @@ + + +{#if child} + {@render child({ props: mergedProps })} +{:else} + + {@render children?.()} + +{/if} diff --git a/tools/ui/node_modules/bits-ui/dist/bits/utilities/visually-hidden/visually-hidden.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/bits/utilities/visually-hidden/visually-hidden.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0fe68d41dc8c8d2275dd93f9421916085c76f33b --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/bits/utilities/visually-hidden/visually-hidden.svelte.d.ts @@ -0,0 +1,4 @@ +import type { VisuallyHiddenProps } from "./types.js"; +declare const VisuallyHidden: import("svelte").Component; +type VisuallyHidden = ReturnType; +export default VisuallyHidden; diff --git a/tools/ui/node_modules/bits-ui/dist/index.d.ts b/tools/ui/node_modules/bits-ui/dist/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b9b5679b70be24ea7aa31543e2239ee99479a787 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/index.d.ts @@ -0,0 +1,4 @@ +export { Accordion, AlertDialog, AspectRatio, Avatar, BitsConfig, Button, Calendar, Checkbox, Collapsible, Combobox, Command, ContextMenu, DateField, DatePicker, DateRangeField, DateRangePicker, Dialog, DropdownMenu, Label, LinkPreview, Menubar, Meter, NavigationMenu, Pagination, PinInput, Popover, Progress, RadioGroup, RangeCalendar, RatingGroup, ScrollArea, Select, Separator, Slider, Switch, Tabs, TimeField, TimeRangeField, Toggle, ToggleGroup, Toolbar, Tooltip, Portal, IsUsingKeyboard, computeCommandScore, getBitsConfig, } from "./bits/index.js"; +export * from "./shared/index.js"; +export type * from "./shared/index.js"; +export * from "./types.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/index.js b/tools/ui/node_modules/bits-ui/dist/index.js new file mode 100644 index 0000000000000000000000000000000000000000..39b9f8dd5532df7c5d3962c6ae481f853354e19a --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/index.js @@ -0,0 +1,3 @@ +export { Accordion, AlertDialog, AspectRatio, Avatar, BitsConfig, Button, Calendar, Checkbox, Collapsible, Combobox, Command, ContextMenu, DateField, DatePicker, DateRangeField, DateRangePicker, Dialog, DropdownMenu, Label, LinkPreview, Menubar, Meter, NavigationMenu, Pagination, PinInput, Popover, Progress, RadioGroup, RangeCalendar, RatingGroup, ScrollArea, Select, Separator, Slider, Switch, Tabs, TimeField, TimeRangeField, Toggle, ToggleGroup, Toolbar, Tooltip, Portal, IsUsingKeyboard, computeCommandScore, getBitsConfig, } from "./bits/index.js"; +export * from "./shared/index.js"; +export * from "./types.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/animations-complete.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/animations-complete.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..ded3d98f4b3f7db0aecd5d82571864fde452af16 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/animations-complete.d.ts @@ -0,0 +1,12 @@ +import { type ReadableBoxedValues } from "svelte-toolbelt"; +interface AnimationsCompleteOpts extends ReadableBoxedValues<{ + ref: HTMLElement | null; + afterTick: boolean; +}> { +} +export declare class AnimationsComplete { + #private; + constructor(opts: AnimationsCompleteOpts); + run(fn: () => void | Promise): void; +} +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/animations-complete.js b/tools/ui/node_modules/bits-ui/dist/internal/animations-complete.js new file mode 100644 index 0000000000000000000000000000000000000000..15adb3359fd075b24bcca025e7c6afb14a4bcf40 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/animations-complete.js @@ -0,0 +1,102 @@ +import { afterTick, onDestroyEffect } from "svelte-toolbelt"; +export class AnimationsComplete { + #opts; + #currentFrame = null; + #observer = null; + #runId = 0; + constructor(opts) { + this.#opts = opts; + onDestroyEffect(() => this.#cleanup()); + } + #cleanup() { + if (this.#currentFrame !== null) { + window.cancelAnimationFrame(this.#currentFrame); + this.#currentFrame = null; + } + this.#observer?.disconnect(); + this.#observer = null; + this.#runId++; + } + run(fn) { + this.#cleanup(); + const node = this.#opts.ref.current; + if (!node) + return; + if (typeof node.getAnimations !== "function") { + this.#executeCallback(fn); + return; + } + const runId = this.#runId; + const executeIfCurrent = () => { + if (runId !== this.#runId) + return; + this.#executeCallback(fn); + }; + const waitForAnimations = () => { + if (runId !== this.#runId) + return; + const animations = node.getAnimations(); + if (animations.length === 0) { + executeIfCurrent(); + return; + } + Promise.all(animations.map((animation) => animation.finished)) + .then(() => { + executeIfCurrent(); + }) + .catch(() => { + if (runId !== this.#runId) + return; + const currentAnimations = node.getAnimations(); + const hasRunningAnimations = currentAnimations.some((animation) => animation.pending || animation.playState !== "finished"); + if (hasRunningAnimations) { + waitForAnimations(); + return; + } + executeIfCurrent(); + }); + }; + const requestWaitForAnimations = () => { + this.#currentFrame = window.requestAnimationFrame(() => { + this.#currentFrame = null; + waitForAnimations(); + }); + }; + if (!this.#opts.afterTick.current) { + requestWaitForAnimations(); + return; + } + this.#currentFrame = window.requestAnimationFrame(() => { + this.#currentFrame = null; + const startingStyleAttr = "data-starting-style"; + if (!node.hasAttribute(startingStyleAttr)) { + requestWaitForAnimations(); + return; + } + this.#observer = new MutationObserver(() => { + if (runId !== this.#runId) + return; + if (node.hasAttribute(startingStyleAttr)) + return; + this.#observer?.disconnect(); + this.#observer = null; + requestWaitForAnimations(); + }); + this.#observer.observe(node, { + attributes: true, + attributeFilter: [startingStyleAttr], + }); + }); + } + #executeCallback(fn) { + const execute = () => { + fn(); + }; + if (this.#opts.afterTick) { + afterTick(execute); + } + else { + execute(); + } + } +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/arrays.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/arrays.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b1b1a2137df6c018d3e24be654e5798e0fb7226b --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/arrays.d.ts @@ -0,0 +1,95 @@ +/** + * Checks if two arrays are equal by comparing their values. + */ +export declare function arraysAreEqual>(arr1: T, arr2: T): boolean; +/** + * Splits an array into chunks of a given size. + * @param arr The array to split. + * @param size The size of each chunk. + * @returns An array of arrays, where each sub-array has `size` elements from the original array. + * @example ```ts + * const arr = [1, 2, 3, 4, 5, 6, 7, 8]; + * const chunks = chunk(arr, 3); + * // chunks = [[1, 2, 3], [4, 5, 6], [7, 8]] + * ``` + */ +export declare function chunk(arr: T[], size: number): T[][]; +/** + * Checks if the given index is valid for the given array. + * + * @param index - The index to check + * @param arr - The array to check + */ +export declare function isValidIndex(index: number, arr: unknown[]): boolean; +/** + * Returns the array element after the given index, or undefined for out-of-bounds or empty arrays. + * @param array the array. + * @param index the index of the current element. + * @param loop loop to the beginning of the array if the next index is out of bounds? + */ +/** + * Returns the array element after the given index, or undefined for out-of-bounds or empty arrays. + * For single-element arrays, returns the element if the index is 0. + * @param array the array. + * @param index the index of the current element. + * @param loop loop to the beginning of the array if the next index is out of bounds? + */ +export declare function next(array: T[], index: number, loop?: boolean): T | undefined; +/** + * Returns the array element prior to the given index, or undefined for out-of-bounds or empty arrays. + * For single-element arrays, returns the element if the index is 0. + * @param array the array. + * @param index the index of the current element. + * @param loop loop to the end of the array if the previous index is out of bounds? + */ +export declare function prev(array: T[], index: number, loop?: boolean): T | undefined; +/** + * Returns the element some number after the given index. If the target index is out of bounds: + * - If looping is disabled, the first or last element will be returned. + * - If looping is enabled, it will wrap around the array. + * Returns undefined for empty arrays or out-of-bounds initial indices. + * @param array the array. + * @param index the index of the current element. + * @param increment the number of elements to move forward (can be negative). + * @param loop loop around the array if the target index is out of bounds? + */ +export declare function forward(array: T[], index: number, increment: number, loop?: boolean): T | undefined; +/** + * Returns the element some number before the given index. If the target index is out of bounds: + * - If looping is disabled, the first or last element will be returned. + * - If looping is enabled, it will wrap around the array. + * Returns undefined for empty arrays or out-of-bounds initial indices. + * @param array the array. + * @param index the index of the current element. + * @param decrement the number of elements to move backward (can be negative). + * @param loop loop around the array if the target index is out of bounds? + */ +export declare function backward(array: T[], index: number, decrement: number, loop?: boolean): T | undefined; +/** + * Finds the next matching item from a list of values based on a search string. + * + * This function handles several special cases in typeahead behavior: + * + * 1. Space handling: When a search string ends with a space, it handles it specially: + * - If there's only one match for the text before the space, it ignores the space + * - If there are multiple matches and the current match already starts with the search prefix + * followed by a space, it keeps the current match (doesn't change selection on space) + * - Only after typing characters beyond the space will it move to a more specific match + * + * 2. Repeated character handling: If a search consists of repeated characters (e.g., "aaa"), + * it treats it as a single character for matching purposes + * + * 3. Cycling behavior: The function wraps around the values array starting from the current match + * to find the next appropriate match, creating a cycling selection behavior + * + * @param values - Array of string values to search through (e.g., the text content of menu items) + * @param search - The current search string typed by the user + * @param currentMatch - The currently selected/matched item, if any + * @returns The next matching value that should be selected, or undefined if no match is found + */ +export declare function getNextMatch(values: string[], search: string, currentMatch?: string): string | undefined; +/** + * Wraps an array around itself at a given start index + * Example: `wrapArray(['a', 'b', 'c', 'd'], 2) === ['c', 'd', 'a', 'b']` + */ +export declare function wrapArray(array: T[], startIndex: number): T[]; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/arrays.js b/tools/ui/node_modules/bits-ui/dist/internal/arrays.js new file mode 100644 index 0000000000000000000000000000000000000000..8c16f8a9d3add2a74bab542bc0375022a4086cac --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/arrays.js @@ -0,0 +1,234 @@ +/** + * Checks if two arrays are equal by comparing their values. + */ +export function arraysAreEqual(arr1, arr2) { + if (arr1.length !== arr2.length) + return false; + return arr1.every((value, index) => isEqual(value, arr2[index])); +} +/** + * A utility function that compares two values for equality. + */ +function isEqual(a, b) { + if (Number.isNaN(a) && Number.isNaN(b)) + return true; + if (Array.isArray(a) && Array.isArray(b)) + return arraysAreEqual(a, b); + if (typeof a === "object" && typeof b === "object") + return isDeepEqual(a, b); + return Object.is(a, b); +} +/** + * A utility function that compares two values for deep equality. + */ +function isDeepEqual(a, b) { + if (typeof a !== "object" || typeof b !== "object" || a === null || b === null) + return false; + const aKeys = Object.keys(a); + const bKeys = Object.keys(b); + if (aKeys.length !== bKeys.length) + return false; + for (const key of aKeys) { + if (!bKeys.includes(key)) + return false; + if (!isEqual(a[key], b[key])) { + return false; + } + } + return true; +} +/** + * Splits an array into chunks of a given size. + * @param arr The array to split. + * @param size The size of each chunk. + * @returns An array of arrays, where each sub-array has `size` elements from the original array. + * @example ```ts + * const arr = [1, 2, 3, 4, 5, 6, 7, 8]; + * const chunks = chunk(arr, 3); + * // chunks = [[1, 2, 3], [4, 5, 6], [7, 8]] + * ``` + */ +export function chunk(arr, size) { + if (size <= 0) + return []; + const result = []; + for (let i = 0; i < arr.length; i += size) { + result.push(arr.slice(i, i + size)); + } + return result; +} +/** + * Checks if the given index is valid for the given array. + * + * @param index - The index to check + * @param arr - The array to check + */ +export function isValidIndex(index, arr) { + return index >= 0 && index < arr.length; +} +/** + * Returns the array element after the given index, or undefined for out-of-bounds or empty arrays. + * @param array the array. + * @param index the index of the current element. + * @param loop loop to the beginning of the array if the next index is out of bounds? + */ +/** + * Returns the array element after the given index, or undefined for out-of-bounds or empty arrays. + * For single-element arrays, returns the element if the index is 0. + * @param array the array. + * @param index the index of the current element. + * @param loop loop to the beginning of the array if the next index is out of bounds? + */ +export function next(array, index, loop = true) { + if (array.length === 0 || index < 0 || index >= array.length) + return; + if (array.length === 1 && index === 0) + return array[0]; + if (index === array.length - 1) + return loop ? array[0] : undefined; + return array[index + 1]; +} +/** + * Returns the array element prior to the given index, or undefined for out-of-bounds or empty arrays. + * For single-element arrays, returns the element if the index is 0. + * @param array the array. + * @param index the index of the current element. + * @param loop loop to the end of the array if the previous index is out of bounds? + */ +export function prev(array, index, loop = true) { + if (array.length === 0 || index < 0 || index >= array.length) + return; + if (array.length === 1 && index === 0) + return array[0]; + if (index === 0) + return loop ? array[array.length - 1] : undefined; + return array[index - 1]; +} +/** + * Returns the element some number after the given index. If the target index is out of bounds: + * - If looping is disabled, the first or last element will be returned. + * - If looping is enabled, it will wrap around the array. + * Returns undefined for empty arrays or out-of-bounds initial indices. + * @param array the array. + * @param index the index of the current element. + * @param increment the number of elements to move forward (can be negative). + * @param loop loop around the array if the target index is out of bounds? + */ +export function forward(array, index, increment, loop = true) { + if (array.length === 0 || index < 0 || index >= array.length) + return; + let targetIndex = index + increment; + if (loop) { + // Ensure positive modulus + targetIndex = ((targetIndex % array.length) + array.length) % array.length; + } + else { + // Clamp to array bounds when not looping + targetIndex = Math.max(0, Math.min(targetIndex, array.length - 1)); + } + return array[targetIndex]; +} +/** + * Returns the element some number before the given index. If the target index is out of bounds: + * - If looping is disabled, the first or last element will be returned. + * - If looping is enabled, it will wrap around the array. + * Returns undefined for empty arrays or out-of-bounds initial indices. + * @param array the array. + * @param index the index of the current element. + * @param decrement the number of elements to move backward (can be negative). + * @param loop loop around the array if the target index is out of bounds? + */ +export function backward(array, index, decrement, loop = true) { + if (array.length === 0 || index < 0 || index >= array.length) + return; + let targetIndex = index - decrement; + if (loop) { + // Ensure positive modulus + targetIndex = ((targetIndex % array.length) + array.length) % array.length; + } + else { + // Clamp to array bounds when not looping + targetIndex = Math.max(0, Math.min(targetIndex, array.length - 1)); + } + return array[targetIndex]; +} +/** + * Finds the next matching item from a list of values based on a search string. + * + * This function handles several special cases in typeahead behavior: + * + * 1. Space handling: When a search string ends with a space, it handles it specially: + * - If there's only one match for the text before the space, it ignores the space + * - If there are multiple matches and the current match already starts with the search prefix + * followed by a space, it keeps the current match (doesn't change selection on space) + * - Only after typing characters beyond the space will it move to a more specific match + * + * 2. Repeated character handling: If a search consists of repeated characters (e.g., "aaa"), + * it treats it as a single character for matching purposes + * + * 3. Cycling behavior: The function wraps around the values array starting from the current match + * to find the next appropriate match, creating a cycling selection behavior + * + * @param values - Array of string values to search through (e.g., the text content of menu items) + * @param search - The current search string typed by the user + * @param currentMatch - The currently selected/matched item, if any + * @returns The next matching value that should be selected, or undefined if no match is found + */ +export function getNextMatch(values, search, currentMatch) { + const lowerSearch = search.toLowerCase(); + if (lowerSearch.endsWith(" ")) { + const searchWithoutSpace = lowerSearch.slice(0, -1); + const matchesWithoutSpace = values.filter((value) => value.toLowerCase().startsWith(searchWithoutSpace)); + /** + * If there's only one match for the prefix without space, we don't + * watch to match with space. + */ + if (matchesWithoutSpace.length <= 1) { + return getNextMatch(values, searchWithoutSpace, currentMatch); + } + const currentMatchLowercase = currentMatch?.toLowerCase(); + /** + * If the current match already starts with the search prefix and has a space afterward, + * and the user has only typed up to that space, keep the current match until they + * disambiguate. + */ + if (currentMatchLowercase && + currentMatchLowercase.startsWith(searchWithoutSpace) && + currentMatchLowercase.charAt(searchWithoutSpace.length) === " " && + search.trim() === searchWithoutSpace) { + return currentMatch; + } + /** + * With multiple matches, find items that match the full search string with space + */ + const spacedMatches = values.filter((value) => value.toLowerCase().startsWith(lowerSearch)); + /** + * If we found matches with the space, use the first one that's not the current match + */ + if (spacedMatches.length > 0) { + const currentMatchIndex = currentMatch ? values.indexOf(currentMatch) : -1; + let wrappedMatches = wrapArray(spacedMatches, Math.max(currentMatchIndex, 0)); + // return the first match that is not the current one. + const nextMatch = wrappedMatches.find((match) => match !== currentMatch); + // fallback to current if no other is found. + return nextMatch || currentMatch; + } + } + const isRepeated = search.length > 1 && Array.from(search).every((char) => char === search[0]); + const normalizedSearch = isRepeated ? search[0] : search; + const normalizedLowerSearch = normalizedSearch.toLowerCase(); + const currentMatchIndex = currentMatch ? values.indexOf(currentMatch) : -1; + let wrappedValues = wrapArray(values, Math.max(currentMatchIndex, 0)); + const excludeCurrentMatch = normalizedSearch.length === 1; + if (excludeCurrentMatch) + wrappedValues = wrappedValues.filter((v) => v !== currentMatch); + const nextMatch = wrappedValues.find((value) => value?.toLowerCase().startsWith(normalizedLowerSearch)); + return nextMatch !== currentMatch ? nextMatch : undefined; +} +/** + * Wraps an array around itself at a given start index + * Example: `wrapArray(['a', 'b', 'c', 'd'], 2) === ['c', 'd', 'a', 'b']` + */ +export function wrapArray(array, startIndex) { + return array.map((_, index) => array[(startIndex + index) % array.length]); +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/attrs.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/attrs.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b7ebf11d0317fbf2fbcdbfe7ab137a93bc800fb3 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/attrs.d.ts @@ -0,0 +1,33 @@ +export declare function boolToStr(condition: boolean): "true" | "false"; +export declare function boolToStrTrueOrUndef(condition: boolean): "true" | undefined; +export declare function boolToEmptyStrOrUndef(condition: boolean): "" | undefined; +export declare function boolToTrueOrUndef(condition: boolean): true | undefined; +export declare function getDataOpenClosed(condition: boolean): "open" | "closed"; +export declare function getDataChecked(condition: boolean): "checked" | "unchecked"; +export type TransitionState = "starting" | "ending" | "idle" | undefined; +export declare function getDataTransitionAttrs(state: TransitionState): { + "data-starting-style"?: ""; + "data-ending-style"?: ""; +}; +export declare function getAriaChecked(checked: boolean, indeterminate: boolean): "true" | "false" | "mixed"; +export type BitsAttrsConfig = { + component: string; + parts: T; + getVariant?: () => string | null; +}; +export type CreateBitsAttrsReturn = { + [K in T[number]]: string; +} & { + selector: (part: T[number]) => string; + getAttr: (part: T[number], variant?: string) => string; +}; +export declare class BitsAttrs { + #private; + attrs: Record; + constructor(config: BitsAttrsConfig); + getAttr(part: T[number], variantOverride?: string): string; + selector(part: T[number], variantOverride?: string): string; +} +export declare function createBitsAttrs(config: Omit, "parts"> & { + parts: T; +}): CreateBitsAttrsReturn; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/attrs.js b/tools/ui/node_modules/bits-ui/dist/internal/attrs.js new file mode 100644 index 0000000000000000000000000000000000000000..917a404c8f9e27019a4ad4e6a91007d0bb549f92 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/attrs.js @@ -0,0 +1,58 @@ +export function boolToStr(condition) { + return condition ? "true" : "false"; +} +export function boolToStrTrueOrUndef(condition) { + return condition ? "true" : undefined; +} +export function boolToEmptyStrOrUndef(condition) { + return condition ? "" : undefined; +} +export function boolToTrueOrUndef(condition) { + return condition ? true : undefined; +} +export function getDataOpenClosed(condition) { + return condition ? "open" : "closed"; +} +export function getDataChecked(condition) { + return condition ? "checked" : "unchecked"; +} +export function getDataTransitionAttrs(state) { + if (state === "starting") + return { "data-starting-style": "" }; + if (state === "ending") + return { "data-ending-style": "" }; + return {}; +} +export function getAriaChecked(checked, indeterminate) { + if (indeterminate) + return "mixed"; + return checked ? "true" : "false"; +} +export class BitsAttrs { + #variant; + #prefix; + attrs; + constructor(config) { + this.#variant = config.getVariant ? config.getVariant() : null; + this.#prefix = this.#variant ? `data-${this.#variant}-` : `data-${config.component}-`; + this.getAttr = this.getAttr.bind(this); + this.selector = this.selector.bind(this); + this.attrs = Object.fromEntries(config.parts.map((part) => [part, this.getAttr(part)])); + } + getAttr(part, variantOverride) { + if (variantOverride) + return `data-${variantOverride}-${part}`; + return `${this.#prefix}${part}`; + } + selector(part, variantOverride) { + return `[${this.getAttr(part, variantOverride)}]`; + } +} +export function createBitsAttrs(config) { + const bitsAttrs = new BitsAttrs(config); + return { + ...bitsAttrs.attrs, + selector: bitsAttrs.selector, + getAttr: bitsAttrs.getAttr, + }; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/body-scroll-lock.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/body-scroll-lock.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..5731c9257627a12c984b209b6d687917b879f237 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/body-scroll-lock.svelte.d.ts @@ -0,0 +1,10 @@ +import { type Getter, type ReadableBox } from "svelte-toolbelt"; +export interface ScrollBodyOption { + padding?: boolean | number; + margin?: boolean | number; +} +export declare class BodyScrollLock { + #private; + readonly locked: ReadableBox | undefined; + constructor(initialState?: boolean | undefined, restoreScrollDelay?: Getter); +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/body-scroll-lock.svelte.js b/tools/ui/node_modules/bits-ui/dist/internal/body-scroll-lock.svelte.js new file mode 100644 index 0000000000000000000000000000000000000000..04833253a9e04813a458a8e1a7c12b720dd4a15b --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/body-scroll-lock.svelte.js @@ -0,0 +1,196 @@ +import { SvelteMap } from "svelte/reactivity"; +import { afterTick, boxWith, onDestroyEffect, } from "svelte-toolbelt"; +import { isIOS } from "./is.js"; +import { useId } from "./use-id.js"; +import { watch } from "runed"; +import { SharedState } from "./shared-state.svelte.js"; +import { BROWSER } from "esm-env"; +import { on } from "svelte/events"; +/** A map of lock ids to their `locked` state. */ +const lockMap = new SvelteMap(); +let initialBodyStyle = $state(null); +let stopTouchMoveListener = null; +let cleanupTimeoutId = null; +let isInCleanupTransition = false; +const anyLocked = boxWith(() => { + for (const value of lockMap.values()) { + if (value) + return true; + } + return false; +}); +/** + * We track the time we scheduled the cleanup to prevent race conditions + * when multiple locks are created/destroyed in the same tick, ensuring + * only the last one to schedule the cleanup will run. + * + * reference: https://github.com/huntabyte/bits-ui/issues/1639 + */ +let cleanupScheduledAt = null; +const bodyLockStackCount = new SharedState(() => { + function resetBodyStyle() { + if (!BROWSER) + return; + document.body.setAttribute("style", initialBodyStyle ?? ""); + document.body.style.removeProperty("--scrollbar-width"); + isIOS && stopTouchMoveListener?.(); + // reset initialBodyStyle so next locker captures the correct styles + initialBodyStyle = null; + } + function cancelPendingCleanup() { + if (cleanupTimeoutId === null) + return; + window.clearTimeout(cleanupTimeoutId); + cleanupTimeoutId = null; + } + function scheduleCleanupIfNoNewLocks(delay, callback) { + cancelPendingCleanup(); + isInCleanupTransition = true; + cleanupScheduledAt = Date.now(); + const currentCleanupId = cleanupScheduledAt; + /** + * We schedule the cleanup to run after a delay to allow new locks to register + * that might have been added in the same tick as the current cleanup. + * + * If a new lock is added in the same tick, the cleanup will be cancelled and + * a new cleanup will be scheduled. + * + * This is to prevent the cleanup from running too early and resetting the body + * style before the new lock has had a chance to apply its styles. + */ + const cleanupFn = () => { + cleanupTimeoutId = null; + // check if this cleanup is still valid (no newer cleanups scheduled) + if (cleanupScheduledAt !== currentCleanupId) + return; + // ensure no new locks were added during the delay + if (!isAnyLocked(lockMap)) { + isInCleanupTransition = false; + callback(); + } + else { + isInCleanupTransition = false; + } + }; + const actualDelay = delay === null ? 24 : delay; + cleanupTimeoutId = window.setTimeout(cleanupFn, actualDelay); + } + function ensureInitialStyleCaptured() { + // only capture initial style once, when no locks exist and no cleanup is in progress + if (initialBodyStyle === null && lockMap.size === 0 && !isInCleanupTransition) { + initialBodyStyle = document.body.getAttribute("style"); + } + } + watch(() => anyLocked.current, () => { + if (!anyLocked.current) + return; + // ensure we've captured the initial style before applying any lock styles + ensureInitialStyleCaptured(); + // if we're applying lock styles, we're no longer in a cleanup transition + isInCleanupTransition = false; + const htmlStyle = getComputedStyle(document.documentElement); + const bodyStyle = getComputedStyle(document.body); + // check if scrollbar-gutter: stable is already handling scrollbar space + const hasStableGutter = htmlStyle.scrollbarGutter?.includes("stable") || + bodyStyle.scrollbarGutter?.includes("stable"); + // TODO: account for RTL direction, etc. + const verticalScrollbarWidth = window.innerWidth - document.documentElement.clientWidth; + const paddingRight = Number.parseInt(bodyStyle.paddingRight ?? "0", 10); + const config = { + padding: paddingRight + verticalScrollbarWidth, + margin: Number.parseInt(bodyStyle.marginRight ?? "0", 10), + }; + // only add padding compensation if stable gutter isn't handling it + if (verticalScrollbarWidth > 0 && !hasStableGutter) { + document.body.style.paddingRight = `${config.padding}px`; + document.body.style.marginRight = `${config.margin}px`; + document.body.style.setProperty("--scrollbar-width", `${verticalScrollbarWidth}px`); + } + document.body.style.overflow = "hidden"; + if (isIOS) { + // IOS devices are special and require a touchmove listener to prevent scrolling + stopTouchMoveListener = on(document, "touchmove", (e) => { + if (e.target !== document.documentElement) + return; + if (e.touches.length > 1) + return; + e.preventDefault(); + }, { passive: false }); + } + /** + * We ensure pointer-events: none is applied _after_ DOM updates, so that any focus/ + * interaction changes from opening overlays/menus complete _before_ we block pointer + * events. + * + * this avoids race conditions where pointer-events could be set too early and break + * focus/interaction. + */ + afterTick(() => { + document.body.style.pointerEvents = "none"; + document.body.style.overflow = "hidden"; + }); + }); + onDestroyEffect(() => { + return () => { + stopTouchMoveListener?.(); + }; + }); + return { + get lockMap() { + return lockMap; + }, + resetBodyStyle, + scheduleCleanupIfNoNewLocks, + cancelPendingCleanup, + ensureInitialStyleCaptured, + }; +}); +export class BodyScrollLock { + #id = useId(); + #initialState; + #restoreScrollDelay = () => null; + #countState; + locked; + constructor(initialState, restoreScrollDelay = () => null) { + this.#initialState = initialState; + this.#restoreScrollDelay = restoreScrollDelay; + this.#countState = bodyLockStackCount.get(); + if (!this.#countState) + return; + /** + * Since a new lock is being created, we cancel any pending cleanup to + * prevent the cleanup from running too early and resetting the body style + * before the new lock has had a chance to apply its styles. + * + * reference: https://github.com/huntabyte/bits-ui/issues/1639 + */ + this.#countState.cancelPendingCleanup(); + // capture initial style before this lock is registered + this.#countState.ensureInitialStyleCaptured(); + this.#countState.lockMap.set(this.#id, this.#initialState ?? false); + this.locked = boxWith(() => this.#countState.lockMap.get(this.#id) ?? false, (v) => this.#countState.lockMap.set(this.#id, v)); + onDestroyEffect(() => { + this.#countState.lockMap.delete(this.#id); + // if not the last lock, we don't need to do anything + if (isAnyLocked(this.#countState.lockMap)) + return; + const restoreScrollDelay = this.#restoreScrollDelay(); + /** + * We schedule the cleanup to run after a delay to handle same-tick + * destroy/create scenarios. + * + * reference: https://github.com/huntabyte/bits-ui/issues/1639 + */ + this.#countState.scheduleCleanupIfNoNewLocks(restoreScrollDelay, () => { + this.#countState.resetBodyStyle(); + }); + }); + } +} +function isAnyLocked(map) { + for (const [_, value] of map) { + if (value) + return true; + } + return false; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/box-auto-reset.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/box-auto-reset.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..f8283a19f8367e7e7c771ea9ca6c3d80182fe143 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/box-auto-reset.svelte.d.ts @@ -0,0 +1,14 @@ +import { type WritableBox } from "svelte-toolbelt"; +type BoxAutoResetOptions = { + afterMs?: number; + onChange?: (value: T) => void; + getWindow: () => Window & typeof globalThis; +}; +/** + * Creates a box which will be reset to the default value after some time. + * + * @param defaultValue The value which will be set. + * @param afterMs A zero-or-greater delay in milliseconds. + */ +export declare function boxAutoReset(defaultValue: T, options: BoxAutoResetOptions): WritableBox; +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/box-auto-reset.svelte.js b/tools/ui/node_modules/bits-ui/dist/internal/box-auto-reset.svelte.js new file mode 100644 index 0000000000000000000000000000000000000000..8dbbd6c568cddae125404258de3624665076eb40 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/box-auto-reset.svelte.js @@ -0,0 +1,36 @@ +import { boxWith } from "svelte-toolbelt"; +import { noop } from "./noop.js"; +const defaultOptions = { + afterMs: 10000, + onChange: noop, +}; +/** + * Creates a box which will be reset to the default value after some time. + * + * @param defaultValue The value which will be set. + * @param afterMs A zero-or-greater delay in milliseconds. + */ +export function boxAutoReset(defaultValue, options) { + const { afterMs, onChange, getWindow } = { ...defaultOptions, ...options }; + let timeout = null; + let value = $state(defaultValue); + function resetAfter() { + return getWindow().setTimeout(() => { + value = defaultValue; + onChange?.(defaultValue); + }, afterMs); + } + $effect(() => { + return () => { + if (timeout) + getWindow().clearTimeout(timeout); + }; + }); + return boxWith(() => value, (v) => { + value = v; + onChange?.(v); + if (timeout) + getWindow().clearTimeout(timeout); + timeout = resetAfter(); + }); +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/clamp.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/clamp.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..851585a906ec38f4122e6da4aa282e2adeffc82b --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/clamp.d.ts @@ -0,0 +1,4 @@ +/** + * Clamps a number between a minimum and maximum value. + */ +export declare function clamp(n: number, min: number, max: number): number; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/clamp.js b/tools/ui/node_modules/bits-ui/dist/internal/clamp.js new file mode 100644 index 0000000000000000000000000000000000000000..df0eeda36762c8f6124f4e8c28ccc79bd9c57918 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/clamp.js @@ -0,0 +1,6 @@ +/** + * Clamps a number between a minimum and maximum value. + */ +export function clamp(n, min, max) { + return Math.min(max, Math.max(min, n)); +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/create-id.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/create-id.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6cf1c40cb2c65079eae666074cc8fe900c93a65c --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/create-id.d.ts @@ -0,0 +1,8 @@ +/** + * Creates a unique ID for a given uid and optional prefix. + * + * @param uid - the uid generated by $props.id() + * @param prefix - optional prefix to use for the id (defaults to "bits") + */ +export declare function createId(uid: string): string; +export declare function createId(prefix: string, uid: string): string; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/create-id.js b/tools/ui/node_modules/bits-ui/dist/internal/create-id.js new file mode 100644 index 0000000000000000000000000000000000000000..633430b0197a8dfc29110f368a462c99fef4ffc1 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/create-id.js @@ -0,0 +1,5 @@ +export function createId(prefixOrUid, uid) { + if (uid === undefined) + return `bits-${prefixOrUid}`; + return `bits-${prefixOrUid}-${uid}`; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/css-escape.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/css-escape.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..1336abcc82e16e5f13e0b4d57e3c962d7d58df93 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/css-escape.d.ts @@ -0,0 +1,7 @@ +/** + * https://github.com/mathiasbynens/CSS.escape + * + * @param value - The value to escape for use as a CSS identifier + * @returns The escaped CSS identifier string + */ +export declare function cssEscape(value: string): string; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/css-escape.js b/tools/ui/node_modules/bits-ui/dist/internal/css-escape.js new file mode 100644 index 0000000000000000000000000000000000000000..1b4644bb05d1cca57adc85cdfde827c8cf09d77c --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/css-escape.js @@ -0,0 +1,59 @@ +/** + * https://github.com/mathiasbynens/CSS.escape + * + * @param value - The value to escape for use as a CSS identifier + * @returns The escaped CSS identifier string + */ +export function cssEscape(value) { + if (typeof CSS !== "undefined" && typeof CSS.escape === "function") { + return CSS.escape(value); + } + const length = value.length; + let index = -1; + let codeUnit; + let result = ""; + const firstCodeUnit = value.charCodeAt(0); + // If the character is the first character and is a `-` (U+002D), and + // there is no second character, escape it + if (length === 1 && firstCodeUnit === 0x002d) + return "\\" + value; + while (++index < length) { + codeUnit = value.charCodeAt(index); + // If the character is NULL (U+0000), then the REPLACEMENT CHARACTER (U+FFFD) + if (codeUnit === 0x0000) { + result += "\uFFFD"; + continue; + } + if ( + // If the character is in the range [\1-\1F] (U+0001 to U+001F) or is U+007F + (codeUnit >= 0x0001 && codeUnit <= 0x001f) || + codeUnit === 0x007f || + // If the character is the first character and is in the range [0-9] (U+0030 to U+0039) + (index === 0 && codeUnit >= 0x0030 && codeUnit <= 0x0039) || + // If the character is the second character and is in the range [0-9] (U+0030 to U+0039) + // and the first character is a `-` (U+002D) + (index === 1 && codeUnit >= 0x0030 && codeUnit <= 0x0039 && firstCodeUnit === 0x002d)) { + // https://drafts.csswg.org/cssom/#escape-a-character-as-code-point + result += "\\" + codeUnit.toString(16) + " "; + continue; + } + // If the character is not handled by one of the above rules and is + // greater than or equal to U+0080, is `-` (U+002D) or `_` (U+005F), or + // is in one of the ranges [0-9] (U+0030 to U+0039), [A-Z] (U+0041 to U+005A), + // or [a-z] (U+0061 to U+007A) + if (codeUnit >= 0x0080 || + codeUnit === 0x002d || + codeUnit === 0x005f || + (codeUnit >= 0x0030 && codeUnit <= 0x0039) || + (codeUnit >= 0x0041 && codeUnit <= 0x005a) || + (codeUnit >= 0x0061 && codeUnit <= 0x007a)) { + // Use the character itself + result += value.charAt(index); + continue; + } + // Otherwise, escape the character + // https://drafts.csswg.org/cssom/#escape-a-character + result += "\\" + value.charAt(index); + } + return result; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/data-typeahead.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/data-typeahead.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..e8340c015b2dad861d5236cbd1aa1f5e46f621f0 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/data-typeahead.svelte.d.ts @@ -0,0 +1,15 @@ +import type { Getter } from "svelte-toolbelt"; +interface DataTypeaheadOpts { + onMatch: (value: string) => void; + getCurrentItem: () => string; + candidateValues: Getter; + enabled: Getter; + getWindow: () => Window & typeof globalThis; +} +export declare class DataTypeahead { + #private; + constructor(opts: DataTypeaheadOpts); + handleTypeaheadSearch(key: string): string | undefined; + resetTypeahead(): void; +} +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/data-typeahead.svelte.js b/tools/ui/node_modules/bits-ui/dist/internal/data-typeahead.svelte.js new file mode 100644 index 0000000000000000000000000000000000000000..f6bf3a78460ea4cd358c338ae207c8ee47bed1b4 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/data-typeahead.svelte.js @@ -0,0 +1,33 @@ +import { getNextMatch } from "./arrays.js"; +import { boxAutoReset } from "./box-auto-reset.svelte.js"; +export class DataTypeahead { + #opts; + #candidateValues = $derived.by(() => this.#opts.candidateValues()); + #search; + constructor(opts) { + this.#opts = opts; + this.#search = boxAutoReset("", { + afterMs: 1000, + getWindow: this.#opts.getWindow, + }); + this.handleTypeaheadSearch = this.handleTypeaheadSearch.bind(this); + this.resetTypeahead = this.resetTypeahead.bind(this); + } + handleTypeaheadSearch(key) { + if (!this.#opts.enabled() || !this.#candidateValues.length) + return; + this.#search.current = this.#search.current + key; + const currentItem = this.#opts.getCurrentItem(); + const currentMatch = this.#candidateValues.find((item) => item === currentItem) ?? ""; + const values = this.#candidateValues.map((item) => item ?? ""); + const nextMatch = getNextMatch(values, this.#search.current, currentMatch); + const newItem = this.#candidateValues.find((item) => item === nextMatch); + if (newItem) { + this.#opts.onMatch(newItem); + } + return newItem; + } + resetTypeahead() { + this.#search.current = ""; + } +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/date-time/announcer.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/date-time/announcer.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..062dbede088ed43d2aac3abf4fb97f7cee743125 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/date-time/announcer.d.ts @@ -0,0 +1,7 @@ +export type Announcer = ReturnType; +/** + * Creates an announcer object that can be used to make `aria-live` announcements to screen readers. + */ +export declare function getAnnouncer(doc: Document | null): { + announce: (value: string | null | number, kind?: "assertive" | "polite", timeout?: number) => NodeJS.Timeout | undefined; +}; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/date-time/announcer.js b/tools/ui/node_modules/bits-ui/dist/internal/date-time/announcer.js new file mode 100644 index 0000000000000000000000000000000000000000..1ff65ba986dddfd767919a5ea3b3f7a58f321d57 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/date-time/announcer.js @@ -0,0 +1,82 @@ +import { srOnlyStylesString } from "svelte-toolbelt"; +import { isBrowser, isHTMLElement } from "../is.js"; +/** + * Creates or gets an announcer element which is used to announce messages to screen readers. + * Within the date components, we use this to announce when the values of the individual segments + * change, as without it we get inconsistent behavior across screen readers. + */ +function initAnnouncer(doc) { + if (!isBrowser || !doc) + return null; + let el = doc.querySelector("[data-bits-announcer]"); + /** + * Creates a log element for assertive or polite announcements. + */ + const createLog = (kind) => { + const log = doc.createElement("div"); + log.role = "log"; + log.ariaLive = kind; + log.setAttribute("aria-relevant", "additions"); + return log; + }; + if (!isHTMLElement(el)) { + const div = doc.createElement("div"); + div.style.cssText = srOnlyStylesString; + div.setAttribute("data-bits-announcer", ""); + div.appendChild(createLog("assertive")); + div.appendChild(createLog("polite")); + el = div; + doc.body.insertBefore(el, doc.body.firstChild); + } + /** + * Retrieves the log element for assertive or polite announcements. + */ + const getLog = (kind) => { + if (!isHTMLElement(el)) + return null; + const log = el.querySelector(`[aria-live="${kind}"]`); + if (!isHTMLElement(log)) + return null; + return log; + }; + return { + getLog, + }; +} +/** + * Creates an announcer object that can be used to make `aria-live` announcements to screen readers. + */ +export function getAnnouncer(doc) { + const announcer = initAnnouncer(doc); + /** + * Announces a message to screen readers using the specified kind of announcement. + */ + function announce(value, kind = "assertive", timeout = 7500) { + if (!announcer || !isBrowser || !doc) + return; + const log = announcer.getLog(kind); + const content = doc.createElement("div"); + if (typeof value === "number") { + value = value.toString(); + } + else if (value === null) { + value = "Empty"; + } + else { + value = value.trim(); + } + content.innerText = value; + if (kind === "assertive") { + log?.replaceChildren(content); + } + else { + log?.appendChild(content); + } + return setTimeout(() => { + content.remove(); + }, timeout); + } + return { + announce, + }; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/date-time/calendar-helpers.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/date-time/calendar-helpers.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..1c0a71a9795b2787b8454c66681cf1e61346c7a5 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/date-time/calendar-helpers.svelte.d.ts @@ -0,0 +1,208 @@ +import { type DateValue } from "@internationalized/date"; +import { type ReadableBox, type WritableBox } from "svelte-toolbelt"; +import type { Formatter } from "./formatter.js"; +import type { DateMatcher, Month } from "../../shared/index.js"; +/** + * Checks if a given node is a calendar cell element. + * + * @param node - The node to check. + */ +export declare function isCalendarDayNode(node: unknown): node is HTMLElement; +/** + * Retrieves an array of date values representing the days between + * the provided start and end dates. + */ +export declare function getDaysBetween(start: DateValue, end: DateValue): DateValue[]; +export type CreateMonthProps = { + /** + * The date object representing the month's date (usually the first day of the month). + */ + dateObj: DateValue; + /** + * The day of the week to start the calendar on (0 for Sunday, 1 for Monday, etc.). + */ + weekStartsOn: number | undefined; + /** + * Whether to always render 6 weeks in the calendar, even if the month doesn't + * span 6 weeks. + */ + fixedWeeks: boolean; + /** + * The locale to use when creating the calendar month. + */ + locale: string; +}; +type SetMonthProps = CreateMonthProps & { + numberOfMonths: number | undefined; + currentMonths?: Month[]; +}; +export declare function createMonths(props: SetMonthProps): Month[]; +export declare function getSelectableCells(calendarNode: HTMLElement | null): HTMLElement[]; +/** + * A helper function to extract the date from the `data-value` + * attribute of a date cell and set it as the placeholder value. + * + * Shared between the calendar and range calendar builders. + * + * @param node - The node to extract the date from. + * @param placeholder - The placeholder value store which will be set to the extracted date. + */ +export declare function setPlaceholderToNodeValue(node: HTMLElement, placeholder: WritableBox): void; +type ShiftCalendarFocusProps = { + /** + * The day node with current focus. + */ + node: HTMLElement; + /** + * The number of days to shift the focus by. + */ + add: number; + /** + * The `placeholder` value box + */ + placeholder: WritableBox; + /** + * The calendar node. + */ + calendarNode: HTMLElement | null; + /** + * Whether the previous button is disabled. + */ + isPrevButtonDisabled: boolean; + /** + * Whether the next button is disabled. + */ + isNextButtonDisabled: boolean; + /** + * The months array of the calendar. + */ + months: Month[]; + /** + * The number of months being displayed in the calendar. + */ + numberOfMonths: number; +}; +/** + * Shared logic for shifting focus between cells in the + * calendar and range calendar. + */ +export declare function shiftCalendarFocus({ node, add, placeholder, calendarNode, isPrevButtonDisabled, isNextButtonDisabled, months, numberOfMonths, }: ShiftCalendarFocusProps): void; +type HandleCalendarKeydownProps = { + event: KeyboardEvent; + handleCellClick: (event: Event, date: DateValue) => void; + shiftFocus: (node: HTMLElement, add: number) => void; + placeholderValue: DateValue; +}; +/** + * Shared keyboard event handler for the calendar and range calendar. + */ +export declare function handleCalendarKeydown({ event, handleCellClick, shiftFocus, placeholderValue, }: HandleCalendarKeydownProps): void; +type HandleCalendarPageProps = { + months: Month[]; + setMonths: (months: Month[]) => void; + numberOfMonths: number; + pagedNavigation: boolean; + weekStartsOn: number | undefined; + locale: string; + fixedWeeks: boolean; + setPlaceholder: (date: DateValue) => void; +}; +export declare function handleCalendarNextPage({ months, setMonths, numberOfMonths, pagedNavigation, weekStartsOn, locale, fixedWeeks, setPlaceholder, }: HandleCalendarPageProps): void; +export declare function handleCalendarPrevPage({ months, setMonths, numberOfMonths, pagedNavigation, weekStartsOn, locale, fixedWeeks, setPlaceholder, }: HandleCalendarPageProps): void; +type GetWeekdaysProps = { + months: Month[]; + weekdayFormat: Intl.DateTimeFormatOptions["weekday"]; + formatter: Formatter; +}; +export declare function getWeekdays({ months, formatter, weekdayFormat }: GetWeekdaysProps): string[]; +type UseMonthViewSyncProps = { + weekStartsOn: ReadableBox; + locale: ReadableBox; + fixedWeeks: ReadableBox; + numberOfMonths: ReadableBox; + placeholder: WritableBox; + setMonths: (months: Month[]) => void; +}; +/** + * Updates the displayed months based on changes in the options values, + * which determines the month to show in the calendar. + */ +export declare function useMonthViewOptionsSync(props: UseMonthViewSyncProps): void; +type CreateAccessibleHeadingProps = { + calendarNode: HTMLElement; + label: string; + accessibleHeadingId: string; +}; +/** + * Creates an accessible heading element for the calendar. + * Returns a function that removes the heading element. + */ +export declare function createAccessibleHeading({ calendarNode, label, accessibleHeadingId, }: CreateAccessibleHeadingProps): () => void; +type UseMonthViewPlaceholderSyncProps = { + placeholder: WritableBox; + getVisibleMonths: () => DateValue[]; + weekStartsOn: ReadableBox; + locale: ReadableBox; + fixedWeeks: ReadableBox; + numberOfMonths: ReadableBox; + setMonths: (months: Month[]) => void; +}; +export declare function useMonthViewPlaceholderSync({ placeholder, getVisibleMonths, weekStartsOn, locale, fixedWeeks, numberOfMonths, setMonths, }: UseMonthViewPlaceholderSyncProps): void; +type GetIsNextButtonDisabledProps = { + maxValue: DateValue | undefined; + months: Month[]; + disabled: boolean; +}; +export declare function getIsNextButtonDisabled({ maxValue, months, disabled, }: GetIsNextButtonDisabledProps): boolean; +type GetIsPrevButtonDisabledProps = { + minValue: DateValue | undefined; + months: Month[]; + disabled: boolean; +}; +export declare function getIsPrevButtonDisabled({ minValue, months, disabled, }: GetIsPrevButtonDisabledProps): boolean; +type GetCalendarHeadingValueProps = { + months: Month[]; + formatter: Formatter; + locale: string; +}; +export declare function getCalendarHeadingValue({ months, locale, formatter, }: GetCalendarHeadingValueProps): string; +type GetCalendarElementProps = { + fullCalendarLabel: string; + id: string; + isInvalid: boolean; + disabled: boolean; + readonly: boolean; +}; +export declare function getCalendarElementProps({ fullCalendarLabel, id, isInvalid, disabled, readonly, }: GetCalendarElementProps): { + readonly id: string; + readonly role: "application"; + readonly "aria-label": string; + readonly "data-invalid": "" | undefined; + readonly "data-disabled": "" | undefined; + readonly "data-readonly": "" | undefined; +}; +export type CalendarParts = "root" | "grid" | "cell" | "next-button" | "prev-button" | "day" | "grid-body" | "grid-head" | "grid-row" | "head-cell" | "header" | "heading" | "month-select" | "year-select"; +export declare function pickerOpenFocus(e: Event): void; +export declare function getFirstNonDisabledDateInView(calendarRef: HTMLElement): DateValue | undefined; +/** + * Ensures the placeholder is not set to a disabled date, + * which would prevent the user from entering the Calendar + * via the keyboard. + */ +export declare function useEnsureNonDisabledPlaceholder({ ref, placeholder, defaultPlaceholder, minValue, maxValue, isDateDisabled, }: { + ref: WritableBox; + placeholder: WritableBox; + isDateDisabled: ReadableBox; + minValue: ReadableBox; + maxValue: ReadableBox; + defaultPlaceholder: DateValue; +}): void; +export declare function getDateWithPreviousTime(date: DateValue | undefined, prev: DateValue | undefined): DateValue | undefined; +export declare const calendarAttrs: import("../attrs.js").CreateBitsAttrsReturn; +type GetDefaultYearsProps = { + placeholderYear: number; + minValue: DateValue | undefined; + maxValue: DateValue | undefined; +}; +export declare function getDefaultYears(opts: GetDefaultYearsProps): number[]; +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/date-time/calendar-helpers.svelte.js b/tools/ui/node_modules/bits-ui/dist/internal/date-time/calendar-helpers.svelte.js new file mode 100644 index 0000000000000000000000000000000000000000..eacc1ffac778a119e136390a901f3d96f2b82d16 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/date-time/calendar-helpers.svelte.js @@ -0,0 +1,567 @@ +import { endOfMonth, isSameDay, isSameMonth, startOfMonth, } from "@internationalized/date"; +import { afterTick, getDocument, styleToString, } from "svelte-toolbelt"; +import { untrack } from "svelte"; +import { getDaysInMonth, getLastFirstDayOfWeek, getNextLastDayOfWeek, hasTime, isAfter, isBefore, parseAnyDateValue, parseStringToDateValue, toDate, } from "./utils.js"; +import { createBitsAttrs, boolToEmptyStrOrUndef } from "../attrs.js"; +import { chunk, isValidIndex } from "../arrays.js"; +import { isBrowser, isHTMLElement } from "../is.js"; +import { kbd } from "../kbd.js"; +import { watch } from "runed"; +/** + * Checks if a given node is a calendar cell element. + * + * @param node - The node to check. + */ +export function isCalendarDayNode(node) { + if (!isHTMLElement(node)) + return false; + if (!node.hasAttribute("data-bits-day")) + return false; + return true; +} +/** + * Retrieves an array of date values representing the days between + * the provided start and end dates. + */ +export function getDaysBetween(start, end) { + const days = []; + let dCurrent = start.add({ days: 1 }); + const dEnd = end; + while (dCurrent.compare(dEnd) < 0) { + days.push(dCurrent); + dCurrent = dCurrent.add({ days: 1 }); + } + return days; +} +/** + * Creates a calendar month object. + * + * @remarks + * Given a date, this function returns an object containing + * the necessary values to render a calendar month, including + * the month's date (the first day of that month), which can be + * used to render the name of the month, an array of all dates + * in that month, and an array of weeks. Each week is an array + * of dates, useful for rendering an accessible calendar grid + * using a loop and table elements. + * + */ +function createMonth(props) { + const { dateObj, weekStartsOn, fixedWeeks, locale } = props; + const daysInMonth = getDaysInMonth(dateObj); + const datesArray = Array.from({ length: daysInMonth }, (_, i) => dateObj.set({ day: i + 1 })); + const firstDayOfMonth = startOfMonth(dateObj); + const lastDayOfMonth = endOfMonth(dateObj); + const lastSunday = weekStartsOn !== undefined + ? getLastFirstDayOfWeek(firstDayOfMonth, weekStartsOn, "en-US") + : getLastFirstDayOfWeek(firstDayOfMonth, 0, locale); + const nextSaturday = weekStartsOn !== undefined + ? getNextLastDayOfWeek(lastDayOfMonth, weekStartsOn, "en-US") + : getNextLastDayOfWeek(lastDayOfMonth, 0, locale); + const lastMonthDays = getDaysBetween(lastSunday.subtract({ days: 1 }), firstDayOfMonth); + const nextMonthDays = getDaysBetween(lastDayOfMonth, nextSaturday.add({ days: 1 })); + const totalDays = lastMonthDays.length + datesArray.length + nextMonthDays.length; + if (fixedWeeks && totalDays < 42) { + const extraDays = 42 - totalDays; + let startFrom = nextMonthDays[nextMonthDays.length - 1]; + if (!startFrom) { + startFrom = dateObj.add({ months: 1 }).set({ day: 1 }); + } + let length = extraDays; + if (nextMonthDays.length === 0) { + length = extraDays - 1; + nextMonthDays.push(startFrom); + } + const extraDaysArray = Array.from({ length }, (_, i) => { + const incr = i + 1; + return startFrom.add({ days: incr }); + }); + nextMonthDays.push(...extraDaysArray); + } + const allDays = lastMonthDays.concat(datesArray, nextMonthDays); + const weeks = chunk(allDays, 7); + return { + value: dateObj, + dates: allDays, + weeks, + }; +} +export function createMonths(props) { + const { numberOfMonths, dateObj, ...monthProps } = props; + const months = []; + if (!numberOfMonths || numberOfMonths === 1) { + months.push(createMonth({ + ...monthProps, + dateObj, + })); + return months; + } + months.push(createMonth({ + ...monthProps, + dateObj, + })); + // Create all the months, starting with the current month + for (let i = 1; i < numberOfMonths; i++) { + const nextMonth = dateObj.add({ months: i }); + months.push(createMonth({ + ...monthProps, + dateObj: nextMonth, + })); + } + return months; +} +export function getSelectableCells(calendarNode) { + if (!calendarNode) + return []; + const selectableSelector = `[data-bits-day]:not([data-disabled]):not([data-outside-visible-months])`; + return Array.from(calendarNode.querySelectorAll(selectableSelector)).filter((el) => isHTMLElement(el)); +} +/** + * A helper function to extract the date from the `data-value` + * attribute of a date cell and set it as the placeholder value. + * + * Shared between the calendar and range calendar builders. + * + * @param node - The node to extract the date from. + * @param placeholder - The placeholder value store which will be set to the extracted date. + */ +export function setPlaceholderToNodeValue(node, placeholder) { + const cellValue = node.getAttribute("data-value"); + if (!cellValue) + return; + placeholder.current = parseStringToDateValue(cellValue, placeholder.current); +} +/** + * Shared logic for shifting focus between cells in the + * calendar and range calendar. + */ +export function shiftCalendarFocus({ node, add, placeholder, calendarNode, isPrevButtonDisabled, isNextButtonDisabled, months, numberOfMonths, }) { + const candidateCells = getSelectableCells(calendarNode); + if (!candidateCells.length) + return; + const index = candidateCells.indexOf(node); + const nextIndex = index + add; + /** + * If the next cell is within the bounds of the displayed cells, + * easy day, we just focus it. + */ + if (isValidIndex(nextIndex, candidateCells)) { + const nextCell = candidateCells[nextIndex]; + setPlaceholderToNodeValue(nextCell, placeholder); + return nextCell.focus(); + } + /** + * When the next cell falls outside the displayed cells range, + * we update the focus to the previous or next month based on the + * direction, and then focus on the relevant cell. + */ + if (nextIndex < 0) { + /** + * To handle negative indices, we rewind by one month, + * retrieve candidate cells for that month, and shift focus + * by the difference between the nextIndex starting from the end + * of the array. + */ + // shift the calendar back a month unless prev month is disabled + if (isPrevButtonDisabled) + return; + const firstMonth = months[0]?.value; + if (!firstMonth) + return; + placeholder.current = firstMonth.subtract({ months: numberOfMonths }); + // Without a tick here, it seems to be too quick for the DOM to update + afterTick(() => { + const newCandidateCells = getSelectableCells(calendarNode); + if (!newCandidateCells.length) + return; + /** + * Starting at the end of the array, shift focus by the diff + * between the nextIndex and the length of the array, since the + * nextIndex is negative. + */ + const newIndex = newCandidateCells.length - Math.abs(nextIndex); + if (isValidIndex(newIndex, newCandidateCells)) { + const newCell = newCandidateCells[newIndex]; + setPlaceholderToNodeValue(newCell, placeholder); + return newCell.focus(); + } + }); + } + if (nextIndex >= candidateCells.length) { + /** + * Since we're in the positive index range, we need to go forward + * a month, refetch the candidate cells within that month, and then + * starting at the beginning of the array, shift focus by the nextIndex + * amount. + */ + // shift the calendar forward a month unless next month is disabled + if (isNextButtonDisabled) + return; + const firstMonth = months[0]?.value; + if (!firstMonth) + return; + placeholder.current = firstMonth.add({ months: numberOfMonths }); + afterTick(() => { + const newCandidateCells = getSelectableCells(calendarNode); + if (!newCandidateCells.length) + return; + /** + * We need to determine how far into the next month we need to go + * to get the next index. So if we only went over the previous month + * by one, we need to go into the next month by 1 to get the right index. + */ + const newIndex = nextIndex - candidateCells.length; + if (isValidIndex(newIndex, newCandidateCells)) { + const nextCell = newCandidateCells[newIndex]; + return nextCell.focus(); + } + }); + } +} +const ARROW_KEYS = [kbd.ARROW_DOWN, kbd.ARROW_UP, kbd.ARROW_LEFT, kbd.ARROW_RIGHT]; +const SELECT_KEYS = [kbd.ENTER, kbd.SPACE]; +/** + * Shared keyboard event handler for the calendar and range calendar. + */ +export function handleCalendarKeydown({ event, handleCellClick, shiftFocus, placeholderValue, }) { + const currentCell = event.target; + if (!isCalendarDayNode(currentCell)) + return; + // oxlint-disable-next-line no-explicit-any + if (!ARROW_KEYS.includes(event.key) && !SELECT_KEYS.includes(event.key)) + return; + event.preventDefault(); + const kbdFocusMap = { + [kbd.ARROW_DOWN]: 7, + [kbd.ARROW_UP]: -7, + [kbd.ARROW_LEFT]: -1, + [kbd.ARROW_RIGHT]: 1, + }; + // oxlint-disable-next-line no-explicit-any + if (ARROW_KEYS.includes(event.key)) { + const add = kbdFocusMap[event.key]; + if (add !== undefined) { + shiftFocus(currentCell, add); + } + } + if (SELECT_KEYS.includes(event.key)) { + const cellValue = currentCell.getAttribute("data-value"); + if (!cellValue) + return; + handleCellClick(event, parseStringToDateValue(cellValue, placeholderValue)); + } +} +export function handleCalendarNextPage({ months, setMonths, numberOfMonths, pagedNavigation, weekStartsOn, locale, fixedWeeks, setPlaceholder, }) { + const firstMonth = months[0]?.value; + if (!firstMonth) + return; + if (pagedNavigation) { + setPlaceholder(firstMonth.add({ months: numberOfMonths })); + } + else { + // Calculate the target date first, then update both months and placeholder + // to ensure they're synchronized and prevent useMonthViewPlaceholderSync from + // double-triggering + const targetDate = firstMonth.add({ months: 1 }); + const newMonths = createMonths({ + dateObj: targetDate, + weekStartsOn, + locale, + fixedWeeks, + numberOfMonths, + }); + setPlaceholder(targetDate); + setMonths(newMonths); + } +} +export function handleCalendarPrevPage({ months, setMonths, numberOfMonths, pagedNavigation, weekStartsOn, locale, fixedWeeks, setPlaceholder, }) { + const firstMonth = months[0]?.value; + if (!firstMonth) + return; + if (pagedNavigation) { + setPlaceholder(firstMonth.subtract({ months: numberOfMonths })); + } + else { + // Calculate the target date first, then update both months and placeholder + // to ensure they're synchronized and prevent useMonthViewPlaceholderSync from + // double-triggering + const targetDate = firstMonth.subtract({ months: 1 }); + const newMonths = createMonths({ + dateObj: targetDate, + weekStartsOn, + locale, + fixedWeeks, + numberOfMonths, + }); + setPlaceholder(targetDate); + setMonths(newMonths); + } +} +export function getWeekdays({ months, formatter, weekdayFormat }) { + if (!months.length) + return []; + const firstMonth = months[0]; + const firstWeek = firstMonth.weeks[0]; + if (!firstWeek) + return []; + return firstWeek.map((date) => formatter.dayOfWeek(toDate(date), weekdayFormat)); +} +/** + * Updates the displayed months based on changes in the options values, + * which determines the month to show in the calendar. + */ +export function useMonthViewOptionsSync(props) { + $effect(() => { + const weekStartsOn = props.weekStartsOn.current; + const locale = props.locale.current; + const fixedWeeks = props.fixedWeeks.current; + const numberOfMonths = props.numberOfMonths.current; + untrack(() => { + const placeholder = props.placeholder.current; + if (!placeholder) + return; + const defaultMonthProps = { + weekStartsOn, + locale, + fixedWeeks, + numberOfMonths, + }; + props.setMonths(createMonths({ ...defaultMonthProps, dateObj: placeholder })); + }); + }); +} +/** + * Creates an accessible heading element for the calendar. + * Returns a function that removes the heading element. + */ +export function createAccessibleHeading({ calendarNode, label, accessibleHeadingId, }) { + const doc = getDocument(calendarNode); + const div = doc.createElement("div"); + div.style.cssText = styleToString({ + border: "0px", + clip: "rect(0px, 0px, 0px, 0px)", + clipPath: "inset(50%)", + height: "1px", + margin: "-1px", + overflow: "hidden", + padding: "0px", + position: "absolute", + whiteSpace: "nowrap", + width: "1px", + }); + const h2 = doc.createElement("div"); + h2.textContent = label; + h2.id = accessibleHeadingId; + h2.role = "heading"; + h2.ariaLevel = "2"; + calendarNode.insertBefore(div, calendarNode.firstChild); + div.appendChild(h2); + return () => { + const h2 = doc.getElementById(accessibleHeadingId); + if (!h2) + return; + div.parentElement?.removeChild(div); + h2.remove(); + }; +} +export function useMonthViewPlaceholderSync({ placeholder, getVisibleMonths, weekStartsOn, locale, fixedWeeks, numberOfMonths, setMonths, }) { + $effect(() => { + placeholder.current; + untrack(() => { + /** + * If the placeholder's month is already in this visible months, + * we don't need to do anything. + */ + if (getVisibleMonths().some((month) => isSameMonth(month, placeholder.current))) { + return; + } + const defaultMonthProps = { + weekStartsOn: weekStartsOn.current, + locale: locale.current, + fixedWeeks: fixedWeeks.current, + numberOfMonths: numberOfMonths.current, + }; + setMonths(createMonths({ ...defaultMonthProps, dateObj: placeholder.current })); + }); + }); +} +export function getIsNextButtonDisabled({ maxValue, months, disabled, }) { + if (!maxValue || !months.length) + return false; + if (disabled) + return true; + const lastMonthInView = months[months.length - 1]?.value; + if (!lastMonthInView) + return false; + const firstMonthOfNextPage = lastMonthInView + .add({ + months: 1, + }) + .set({ day: 1 }); + return isAfter(firstMonthOfNextPage, maxValue); +} +export function getIsPrevButtonDisabled({ minValue, months, disabled, }) { + if (!minValue || !months.length) + return false; + if (disabled) + return true; + const firstMonthInView = months[0]?.value; + if (!firstMonthInView) + return false; + const lastMonthOfPrevPage = firstMonthInView + .subtract({ + months: 1, + }) + .set({ day: 35 }); + return isBefore(lastMonthOfPrevPage, minValue); +} +export function getCalendarHeadingValue({ months, locale, formatter, }) { + if (!months.length) + return ""; + if (locale !== formatter.getLocale()) { + formatter.setLocale(locale); + } + if (months.length === 1) { + const month = toDate(months[0].value); + return `${formatter.fullMonthAndYear(month)}`; + } + const startMonth = toDate(months[0].value); + const endMonth = toDate(months[months.length - 1].value); + const startMonthName = formatter.fullMonth(startMonth); + const endMonthName = formatter.fullMonth(endMonth); + const startMonthYear = formatter.fullYear(startMonth); + const endMonthYear = formatter.fullYear(endMonth); + const content = startMonthYear === endMonthYear + ? `${startMonthName} - ${endMonthName} ${endMonthYear}` + : `${startMonthName} ${startMonthYear} - ${endMonthName} ${endMonthYear}`; + return content; +} +export function getCalendarElementProps({ fullCalendarLabel, id, isInvalid, disabled, readonly, }) { + return { + id, + role: "application", + "aria-label": fullCalendarLabel, + "data-invalid": boolToEmptyStrOrUndef(isInvalid), + "data-disabled": boolToEmptyStrOrUndef(disabled), + "data-readonly": boolToEmptyStrOrUndef(readonly), + }; +} +export function pickerOpenFocus(e) { + const doc = getDocument(e.target); + const nodeToFocus = doc.querySelector("[data-bits-day][data-focused]"); + if (nodeToFocus) { + e.preventDefault(); + nodeToFocus?.focus(); + } +} +export function getFirstNonDisabledDateInView(calendarRef) { + if (!isBrowser) + return; + const daysInView = Array.from(calendarRef.querySelectorAll("[data-bits-day]:not([aria-disabled=true])")); + if (daysInView.length === 0) + return; + const element = daysInView[0]; + const value = element?.getAttribute("data-value"); + const type = element?.getAttribute("data-type"); + if (!value || !type) + return; + return parseAnyDateValue(value, type); +} +/** + * Ensures the placeholder is not set to a disabled date, + * which would prevent the user from entering the Calendar + * via the keyboard. + */ +export function useEnsureNonDisabledPlaceholder({ ref, placeholder, defaultPlaceholder, minValue, maxValue, isDateDisabled, }) { + function isDisabled(date) { + if (isDateDisabled.current(date)) + return true; + if (minValue.current && isBefore(date, minValue.current)) + return true; + if (maxValue.current && isBefore(maxValue.current, date)) + return true; + return false; + } + watch(() => ref.current, () => { + if (!ref.current) + return; + /** + * If the placeholder is still the default placeholder and it's a disabled date, find + * the first available date in the calendar view and set it as the placeholder. + * + * This prevents the placeholder from being a disabled date and no date being tabbable + * preventing the user from entering the Calendar. If all dates in the view are + * disabled, currently that is considered an error on the developer's part and should + * be handled by them. + * + * Perhaps in the future we can introduce a dev-only log message to prevent this from + * being a silent error. + */ + if (placeholder.current && + isSameDay(placeholder.current, defaultPlaceholder) && + isDisabled(defaultPlaceholder)) { + placeholder.current = + getFirstNonDisabledDateInView(ref.current) ?? defaultPlaceholder; + } + }); +} +export function getDateWithPreviousTime(date, prev) { + if (!date || !prev) + return date; + if (hasTime(date) && hasTime(prev)) { + return date.set({ + hour: prev.hour, + minute: prev.minute, + millisecond: prev.millisecond, + second: prev.second, + }); + } + return date; +} +export const calendarAttrs = createBitsAttrs({ + component: "calendar", + parts: [ + "root", + "grid", + "cell", + "next-button", + "prev-button", + "day", + "grid-body", + "grid-head", + "grid-row", + "head-cell", + "header", + "heading", + "month-select", + "year-select", + ], +}); +export function getDefaultYears(opts) { + const currentYear = new Date().getFullYear(); + const latestYear = Math.max(opts.placeholderYear, currentYear); + // use minValue/maxValue as boundaries if provided, otherwise calculate default range + let minYear; + let maxYear; + if (opts.minValue) { + minYear = opts.minValue.year; + } + else { + // (111 years: latestYear - 100 to latestYear + 10) + const initialMinYear = latestYear - 100; + minYear = + opts.placeholderYear < initialMinYear ? opts.placeholderYear - 10 : initialMinYear; + } + if (opts.maxValue) { + maxYear = opts.maxValue.year; + } + else { + maxYear = latestYear + 10; + } + // ensure we have at least one year and minYear <= maxYear + if (minYear > maxYear) { + minYear = maxYear; + } + const totalYears = maxYear - minYear + 1; + return Array.from({ length: totalYears }, (_, i) => minYear + i); +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/helpers.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/helpers.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..9277b291bfbc620f5a156d9c249156c6e1239ad7 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/helpers.d.ts @@ -0,0 +1,86 @@ +import type { DateValue } from "@internationalized/date"; +import type { Formatter } from "../formatter.js"; +import type { DateAndTimeSegmentObj, DateSegmentPart, EditableSegmentPart, SegmentContentObj, SegmentPart, SegmentStateMap, SegmentValueObj } from "./types.js"; +import type { Granularity, HourCycle } from "../../../shared/date/types.js"; +export declare function initializeSegmentValues(granularity: Granularity): SegmentValueObj; +type SharedContentProps = { + granularity: Granularity; + dateRef: DateValue; + formatter: Formatter; + hideTimeZone: boolean; + hourCycle: HourCycle | undefined; +}; +type CreateContentObjProps = SharedContentProps & { + segmentValues: SegmentValueObj; + locale: string; +}; +type CreateContentProps = CreateContentObjProps; +export declare function createContent(props: CreateContentProps): { + obj: SegmentContentObj; + arr: { + part: SegmentPart; + value: string; + }[]; +}; +export declare function initSegmentStates(): SegmentStateMap; +export declare function initSegmentIds(): any; +export declare function isDateSegmentPart(part: unknown): part is DateSegmentPart; +export declare function isSegmentPart(part: string): part is EditableSegmentPart; +export declare function isAnySegmentPart(part: unknown): part is SegmentPart; +type GetValueFromSegments = { + segmentObj: SegmentValueObj; + fieldNode: HTMLElement | null; + dateRef: DateValue; +}; +export declare function getValueFromSegments(props: GetValueFromSegments): DateValue; +/** + * Check if all the segments being used have been filled. + * We use this to determine when we should set the value + * store of the date field(s). + * + * @param segmentValues - The current `SegmentValueObj` + * @param fieldNode - The id of the date field + */ +export declare function areAllSegmentsFilled(segmentValues: SegmentValueObj, fieldNode: HTMLElement | null): boolean; +/** + * Determines if the provided object is a valid `DateAndTimeSegmentObj` + * by checking if it has the correct keys and values for each key. + */ +export declare function isDateAndTimeSegmentObj(obj: unknown): obj is DateAndTimeSegmentObj; +/** + * Infer the granularity to use based on the + * value and granularity props. + */ +export declare function inferGranularity(value: DateValue, granularity: Granularity | undefined): Granularity; +export declare function isAcceptableSegmentKey(key: string): boolean; +/** + * Determines if the element with the provided id is the first focusable + * segment in the date field with the provided fieldId. + * + * @param id - The id of the element to check if it's the first segment + * @param fieldNode - The id of the date field associated with the segment + */ +export declare function isFirstSegment(id: string, fieldNode: HTMLElement | null): boolean; +type SetDescriptionProps = { + id: string; + formatter: Formatter; + value: DateValue; + doc: Document; +}; +/** + * Creates or updates a description element for a date field + * which enables screen readers to read the date field's value. + * + * This element is hidden from view, and is portalled to the body + * so it can be associated via `aria-describedby` and read by + * screen readers as the user interacts with the date field. + */ +export declare function setDescription(props: SetDescriptionProps): void; +/** + * Removes the description element for the date field with + * the provided ID. This function should be called when the + * date field is unmounted. + */ +export declare function removeDescriptionElement(id: string, doc: Document): void; +export declare function getDefaultHourCycle(locale: string): 12 | 24; +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/helpers.js b/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/helpers.js new file mode 100644 index 0000000000000000000000000000000000000000..bb2f0616fd8bf03358a1dd2f7196dd2945e57537 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/helpers.js @@ -0,0 +1,387 @@ +import { styleToString } from "svelte-toolbelt"; +import { getPlaceholder } from "../placeholders.js"; +import { hasTime, isZonedDateTime } from "../utils.js"; +import { ALL_SEGMENT_PARTS, DATE_SEGMENT_PARTS, EDITABLE_SEGMENT_PARTS, EDITABLE_TIME_SEGMENT_PARTS, } from "./parts.js"; +import { getSegments } from "./segments.js"; +import { isBrowser, isNull, isNumberString } from "../../is.js"; +import { useId } from "../../use-id.js"; +import { kbd } from "../../kbd.js"; +export function initializeSegmentValues(granularity) { + const calendarDateTimeGranularities = ["hour", "minute", "second"]; + const initialParts = EDITABLE_SEGMENT_PARTS.map((part) => { + if (part === "dayPeriod") { + return [part, "AM"]; + } + return [part, null]; + }).filter(([key]) => { + if (key === "literal" || key === null) + return false; + if (granularity === "day") { + return !calendarDateTimeGranularities.includes(key); + } + else { + return true; + } + }); + return Object.fromEntries(initialParts); +} +function createContentObj(props) { + const { segmentValues, formatter, locale, dateRef } = props; + const content = Object.keys(segmentValues).reduce((obj, part) => { + if (!isSegmentPart(part)) + return obj; + if ("hour" in segmentValues && part === "dayPeriod") { + const value = segmentValues[part]; + if (!isNull(value)) { + obj[part] = value; + } + else { + obj[part] = getPlaceholder(part, "AM", locale); + } + } + else { + obj[part] = getPartContent(part); + } + return obj; + }, {}); + function getPartContent(part) { + if ("hour" in segmentValues) { + const value = segmentValues[part]; + const leadingZero = typeof value === "string" && value?.startsWith("0"); + const intValue = value !== null ? Number.parseInt(value) : null; + if (value === "0" && part !== "year") { + return "0"; + } + else if (!isNull(value) && !isNull(intValue)) { + const formatted = formatter.part(dateRef.set({ [part]: value }), part, { + hourCycle: props.hourCycle === 24 ? "h23" : undefined, + }); + /** + * If we're operating in a 12 hour clock and the part is an hour, we handle + * the conversion to 12 hour format with 2 digit hours and leading zeros here. + */ + const is12HourMode = props.hourCycle === 12 || + (props.hourCycle === undefined && getDefaultHourCycle(locale) === 12); + if (part === "hour" && is12HourMode) { + /** + * If the value is over 12, we convert to 12 hour format and add leading + * zeroes if the value is less than 10. + */ + if (intValue > 12) { + const hour = intValue - 12; + if (hour === 0) { + return "12"; + } + else if (hour < 10) { + return `0${hour}`; + } + else { + return `${hour}`; + } + } + /** + * If the value is 0, we convert to 12, since 0 is not a valid 12 hour time. + */ + if (intValue === 0) { + return "12"; + } + /** + * If the value is less than 10, we add a leading zero to the value. + */ + if (intValue < 10) { + return `0${intValue}`; + } + /** + * Otherwise, we don't need to do anything to the value. + */ + return `${intValue}`; + } + if (part === "year") { + return `${value}`; + } + if (leadingZero && formatted.length === 1) { + return `0${formatted}`; + } + return formatted; + } + else { + return getPlaceholder(part, "", locale); + } + } + else { + if (isDateSegmentPart(part)) { + const value = segmentValues[part]; + const leadingZero = typeof value === "string" && value?.startsWith("0"); + if (value === "0") { + return "0"; + } + else if (!isNull(value)) { + const formatted = formatter.part(dateRef.set({ [part]: value }), part); + if (part === "year") { + return `${value}`; + } + if (leadingZero && formatted.length === 1) { + return `0${formatted}`; + } + return formatted; + } + else { + return getPlaceholder(part, "", locale); + } + } + return ""; + } + } + return content; +} +function createContentArr(props) { + const { granularity, dateRef, formatter, contentObj, hideTimeZone, hourCycle } = props; + const parts = formatter.toParts(dateRef, getOptsByGranularity(granularity, hourCycle)); + const segmentContentArr = parts + .map((part) => { + const defaultParts = ["literal", "dayPeriod", "timeZoneName", null]; + if (defaultParts.includes(part.type) || !isSegmentPart(part.type)) { + return { + part: part.type, + value: part.value, + }; + } + return { + part: part.type, + value: contentObj[part.type], + }; + }) + .filter((segment) => { + if (isNull(segment.part) || isNull(segment.value)) + return false; + if (segment.part === "timeZoneName" && (!isZonedDateTime(dateRef) || hideTimeZone)) { + return false; + } + return true; + }); + return segmentContentArr; +} +export function createContent(props) { + const contentObj = createContentObj(props); + const contentArr = createContentArr({ + contentObj, + ...props, + }); + return { + obj: contentObj, + arr: contentArr, + }; +} +function getOptsByGranularity(granularity, hourCycle) { + const opts = { + year: "numeric", + month: "2-digit", + day: "2-digit", + hour: "2-digit", + minute: "2-digit", + second: "2-digit", + timeZoneName: "short", + hourCycle: hourCycle === 24 ? "h23" : undefined, + hour12: hourCycle === 24 ? false : undefined, + }; + if (granularity === "day") { + delete opts.second; + delete opts.hour; + delete opts.minute; + delete opts.timeZoneName; + } + if (granularity === "hour") { + delete opts.minute; + } + if (granularity === "minute") { + delete opts.second; + } + return opts; +} +export function initSegmentStates() { + return EDITABLE_SEGMENT_PARTS.reduce((acc, key) => { + acc[key] = { + lastKeyZero: false, + hasLeftFocus: true, + updating: null, + }; + return acc; + }, {}); +} +export function initSegmentIds() { + return Object.fromEntries(ALL_SEGMENT_PARTS.map((part) => { + return [part, useId()]; + }).filter(([key]) => key !== "literal")); +} +export function isDateSegmentPart(part) { + return DATE_SEGMENT_PARTS.includes(part); +} +export function isSegmentPart(part) { + return EDITABLE_SEGMENT_PARTS.includes(part); +} +export function isAnySegmentPart(part) { + return ALL_SEGMENT_PARTS.includes(part); +} +/** + * Get the segments being used/ are rendered in the DOM. + * We're using this to determine when to set the value of + * the date picker, which is when all the segments have + * been filled. + */ +function getUsedSegments(fieldNode) { + if (!isBrowser || !fieldNode) + return []; + const usedSegments = getSegments(fieldNode) + .map((el) => el.dataset.segment) + .filter((part) => { + return EDITABLE_SEGMENT_PARTS.includes(part); + }); + return usedSegments; +} +export function getValueFromSegments(props) { + const { segmentObj, fieldNode, dateRef } = props; + const usedSegments = getUsedSegments(fieldNode); + let date = dateRef; + for (const part of usedSegments) { + if ("hour" in segmentObj) { + const value = segmentObj[part]; + if (isNull(value)) + continue; + date = date.set({ [part]: segmentObj[part] }); + } + else if (isDateSegmentPart(part)) { + const value = segmentObj[part]; + if (isNull(value)) + continue; + date = date.set({ [part]: segmentObj[part] }); + } + } + return date; +} +/** + * Check if all the segments being used have been filled. + * We use this to determine when we should set the value + * store of the date field(s). + * + * @param segmentValues - The current `SegmentValueObj` + * @param fieldNode - The id of the date field + */ +export function areAllSegmentsFilled(segmentValues, fieldNode) { + const usedSegments = getUsedSegments(fieldNode); + for (const part of usedSegments) { + if ("hour" in segmentValues) { + if (segmentValues[part] === null) { + return false; + } + } + else if (isDateSegmentPart(part)) { + if (segmentValues[part] === null) { + return false; + } + } + } + return true; +} +/** + * Determines if the provided object is a valid `DateAndTimeSegmentObj` + * by checking if it has the correct keys and values for each key. + */ +export function isDateAndTimeSegmentObj(obj) { + if (typeof obj !== "object" || obj === null) { + return false; + } + return Object.entries(obj).every(([key, value]) => { + const validKey = EDITABLE_TIME_SEGMENT_PARTS.includes(key) || + DATE_SEGMENT_PARTS.includes(key); + const validValue = key === "dayPeriod" + ? value === "AM" || value === "PM" || value === null + : typeof value === "string" || typeof value === "number" || value === null; + return validKey && validValue; + }); +} +/** + * Infer the granularity to use based on the + * value and granularity props. + */ +export function inferGranularity(value, granularity) { + if (granularity) + return granularity; + if (hasTime(value)) + return "minute"; + return "day"; +} +export function isAcceptableSegmentKey(key) { + const acceptableSegmentKeys = [ + kbd.ENTER, + kbd.ARROW_UP, + kbd.ARROW_DOWN, + kbd.ARROW_LEFT, + kbd.ARROW_RIGHT, + kbd.BACKSPACE, + kbd.SPACE, + ]; + if (acceptableSegmentKeys.includes(key)) + return true; + if (isNumberString(key)) + return true; + return false; +} +/** + * Determines if the element with the provided id is the first focusable + * segment in the date field with the provided fieldId. + * + * @param id - The id of the element to check if it's the first segment + * @param fieldNode - The id of the date field associated with the segment + */ +export function isFirstSegment(id, fieldNode) { + if (!isBrowser) + return false; + const segments = getSegments(fieldNode); + return segments.length ? segments[0].id === id : false; +} +/** + * Creates or updates a description element for a date field + * which enables screen readers to read the date field's value. + * + * This element is hidden from view, and is portalled to the body + * so it can be associated via `aria-describedby` and read by + * screen readers as the user interacts with the date field. + */ +export function setDescription(props) { + const { id, formatter, value, doc } = props; + if (!isBrowser) + return; + const valueString = formatter.selectedDate(value); + const el = doc.getElementById(id); + if (!el) { + const div = doc.createElement("div"); + div.style.cssText = styleToString({ + display: "none", + }); + div.id = id; + div.innerText = `Selected Date: ${valueString}`; + doc.body.appendChild(div); + } + else { + el.innerText = `Selected Date: ${valueString}`; + } +} +/** + * Removes the description element for the date field with + * the provided ID. This function should be called when the + * date field is unmounted. + */ +export function removeDescriptionElement(id, doc) { + if (!isBrowser) + return; + const el = doc.getElementById(id); + if (!el) + return; + doc.body.removeChild(el); +} +export function getDefaultHourCycle(locale) { + const formatter = new Intl.DateTimeFormat(locale, { hour: "numeric" }); + const parts = formatter.formatToParts(new Date("2023-01-01T13:00:00")); + const hourPart = parts.find((part) => part.type === "hour"); + return hourPart?.value === "1" ? 12 : 24; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/parts.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/parts.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..79fa92defe02c4fa5ba7fba521a6461b2d8dae74 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/parts.d.ts @@ -0,0 +1,8 @@ +export declare const DATE_SEGMENT_PARTS: readonly ["day", "month", "year"]; +export declare const EDITABLE_TIME_SEGMENT_PARTS: readonly ["hour", "minute", "second", "dayPeriod"]; +export declare const NON_EDITABLE_SEGMENT_PARTS: readonly ["literal", "timeZoneName"]; +export declare const EDITABLE_SEGMENT_PARTS: readonly ["day", "month", "year", "hour", "minute", "second", "dayPeriod"]; +export declare const ALL_SEGMENT_PARTS: readonly ["day", "month", "year", "hour", "minute", "second", "dayPeriod", "literal", "timeZoneName"]; +export declare const ALL_TIME_SEGMENT_PARTS: readonly ["hour", "minute", "second", "dayPeriod", "literal", "timeZoneName"]; +export declare const ALL_EXCEPT_LITERAL_PARTS: ("day" | "month" | "year" | "hour" | "minute" | "second" | "dayPeriod" | "timeZoneName")[]; +export declare const ALL_TIME_EXCEPT_LITERAL_PARTS: ("hour" | "minute" | "second" | "dayPeriod" | "timeZoneName")[]; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/parts.js b/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/parts.js new file mode 100644 index 0000000000000000000000000000000000000000..2ea5238b2baf95fed6714a2cac84da46cbc33b3a --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/parts.js @@ -0,0 +1,17 @@ +export const DATE_SEGMENT_PARTS = ["day", "month", "year"]; +export const EDITABLE_TIME_SEGMENT_PARTS = ["hour", "minute", "second", "dayPeriod"]; +export const NON_EDITABLE_SEGMENT_PARTS = ["literal", "timeZoneName"]; +export const EDITABLE_SEGMENT_PARTS = [ + ...DATE_SEGMENT_PARTS, + ...EDITABLE_TIME_SEGMENT_PARTS, +]; +export const ALL_SEGMENT_PARTS = [ + ...EDITABLE_SEGMENT_PARTS, + ...NON_EDITABLE_SEGMENT_PARTS, +]; +export const ALL_TIME_SEGMENT_PARTS = [ + ...EDITABLE_TIME_SEGMENT_PARTS, + ...NON_EDITABLE_SEGMENT_PARTS, +]; +export const ALL_EXCEPT_LITERAL_PARTS = ALL_SEGMENT_PARTS.filter((part) => part !== "literal"); +export const ALL_TIME_EXCEPT_LITERAL_PARTS = ALL_TIME_SEGMENT_PARTS.filter((part) => part !== "literal"); diff --git a/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/segments.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/segments.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..7f1aaeac2be0f3145092441d329e145e3728304e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/segments.d.ts @@ -0,0 +1,60 @@ +/** + * Handles segment navigation based on the provided keyboard event and field ID. + * + * @param e - The keyboard event + * @param fieldNode - The ID of the field we're navigating within + */ +export declare function handleSegmentNavigation(e: KeyboardEvent, fieldNode: HTMLElement | null): void; +export declare function handleTimeSegmentNavigation(e: KeyboardEvent, fieldNode: HTMLElement | null): void; +/** + * Retrieves the next segment in the list of segments relative to the provided node. + * + * @param node - The node we're starting from + * @param segments - The list of candidate segments to navigate through + */ +export declare function getNextSegment(node: HTMLElement, segments: HTMLElement[]): HTMLElement | null | undefined; +/** + * Retrieves the previous segment in the list of segments relative to the provided node. + * + * @param node - The node we're starting from + * @param segments - The list of candidate segments to navigate through + */ +export declare function getPrevSegment(node: HTMLElement, segments: HTMLElement[]): HTMLElement | null | undefined; +/** + * Retrieves an object containing the next and previous segments relative to the current node. + * + * @param startingNode - The node we're starting from + * @param fieldNode - The ID of the field we're navigating within + */ +export declare function getPrevNextSegments(startingNode: HTMLElement, fieldNode: HTMLElement | null): { + next: HTMLElement | null | undefined; + prev: HTMLElement | null | undefined; +}; +export declare function getPrevNextTimeSegments(startingNode: HTMLElement, fieldNode: HTMLElement | null): { + next: HTMLElement | null | undefined; + prev: HTMLElement | null | undefined; +}; +/** + * Shifts the focus to the next segment in the list of segments + * within the field identified by the provided ID. + */ +export declare function moveToNextSegment(e: KeyboardEvent, fieldNode: HTMLElement | null): void; +export declare function moveToNextTimeSegment(e: KeyboardEvent, fieldNode: HTMLElement | null): void; +export declare function moveToPrevTimeSegment(e: KeyboardEvent, fieldNode: HTMLElement | null): void; +/** + * Shifts the focus to the previous segment in the list of segments + * within the field identified by the provided ID. If this is the first + * segment, focus will not be shifted. + */ +export declare function moveToPrevSegment(e: KeyboardEvent, fieldNode: HTMLElement | null): void; +export declare function isSegmentNavigationKey(key: string): boolean; +/** + * Retrieves all the interactive segments within the field identified by the provided ID. + */ +export declare function getSegments(fieldNode: HTMLElement | null): HTMLElement[]; +export declare function getTimeSegments(fieldNode: HTMLElement | null): HTMLElement[]; +export declare function getFirstTimeSegment(fieldNode: HTMLElement | null): HTMLElement | undefined; +/** + * Get the first interactive segment within the field identified by the provided ID. + */ +export declare function getFirstSegment(fieldNode: HTMLElement | null): HTMLElement | undefined; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/segments.js b/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/segments.js new file mode 100644 index 0000000000000000000000000000000000000000..8b2b3203ce1d1ce8a8987d8ae0e20d7f4a5b82bb --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/segments.js @@ -0,0 +1,193 @@ +import { isAnySegmentPart } from "./helpers.js"; +import { isHTMLElement } from "../../is.js"; +import { kbd } from "../../kbd.js"; +/** + * Handles segment navigation based on the provided keyboard event and field ID. + * + * @param e - The keyboard event + * @param fieldNode - The ID of the field we're navigating within + */ +export function handleSegmentNavigation(e, fieldNode) { + const currentTarget = e.currentTarget; + if (!isHTMLElement(currentTarget)) + return; + const { prev, next } = getPrevNextSegments(currentTarget, fieldNode); + if (e.key === kbd.ARROW_LEFT) { + if (!prev) + return; + prev.focus(); + } + else if (e.key === kbd.ARROW_RIGHT) { + if (!next) + return; + next.focus(); + } +} +export function handleTimeSegmentNavigation(e, fieldNode) { + const currentTarget = e.currentTarget; + if (!isHTMLElement(currentTarget)) + return; + const { prev, next } = getPrevNextTimeSegments(currentTarget, fieldNode); + if (e.key === kbd.ARROW_LEFT) { + if (!prev) + return; + prev.focus(); + } + else if (e.key === kbd.ARROW_RIGHT) { + if (!next) + return; + next.focus(); + } +} +/** + * Retrieves the next segment in the list of segments relative to the provided node. + * + * @param node - The node we're starting from + * @param segments - The list of candidate segments to navigate through + */ +export function getNextSegment(node, segments) { + const index = segments.indexOf(node); + if (index === segments.length - 1 || index === -1) + return null; + const nextIndex = index + 1; + const nextSegment = segments[nextIndex]; + return nextSegment; +} +/** + * Retrieves the previous segment in the list of segments relative to the provided node. + * + * @param node - The node we're starting from + * @param segments - The list of candidate segments to navigate through + */ +export function getPrevSegment(node, segments) { + const index = segments.indexOf(node); + if (index === 0 || index === -1) + return null; + const prevIndex = index - 1; + const prevSegment = segments[prevIndex]; + return prevSegment; +} +/** + * Retrieves an object containing the next and previous segments relative to the current node. + * + * @param startingNode - The node we're starting from + * @param fieldNode - The ID of the field we're navigating within + */ +export function getPrevNextSegments(startingNode, fieldNode) { + const segments = getSegments(fieldNode); + if (!segments.length) { + return { + next: null, + prev: null, + }; + } + return { + next: getNextSegment(startingNode, segments), + prev: getPrevSegment(startingNode, segments), + }; +} +export function getPrevNextTimeSegments(startingNode, fieldNode) { + const segments = getTimeSegments(fieldNode); + if (!segments.length) { + return { + next: null, + prev: null, + }; + } + return { + next: getNextSegment(startingNode, segments), + prev: getPrevSegment(startingNode, segments), + }; +} +/** + * Shifts the focus to the next segment in the list of segments + * within the field identified by the provided ID. + */ +export function moveToNextSegment(e, fieldNode) { + const node = e.currentTarget; + if (!isHTMLElement(node)) + return; + const { next } = getPrevNextSegments(node, fieldNode); + if (!next) + return; + next.focus(); +} +export function moveToNextTimeSegment(e, fieldNode) { + const node = e.currentTarget; + if (!isHTMLElement(node)) + return; + const { next } = getPrevNextTimeSegments(node, fieldNode); + if (!next) + return; + next.focus(); +} +export function moveToPrevTimeSegment(e, fieldNode) { + const node = e.currentTarget; + if (!isHTMLElement(node)) + return; + const { prev } = getPrevNextTimeSegments(node, fieldNode); + if (!prev) + return; + prev.focus(); +} +/** + * Shifts the focus to the previous segment in the list of segments + * within the field identified by the provided ID. If this is the first + * segment, focus will not be shifted. + */ +export function moveToPrevSegment(e, fieldNode) { + const node = e.currentTarget; + if (!isHTMLElement(node)) + return; + const { prev } = getPrevNextSegments(node, fieldNode); + if (!prev) + return; + prev.focus(); +} +export function isSegmentNavigationKey(key) { + if (key === kbd.ARROW_RIGHT || key === kbd.ARROW_LEFT) + return true; + return false; +} +/** + * Retrieves all the interactive segments within the field identified by the provided ID. + */ +export function getSegments(fieldNode) { + if (!fieldNode) + return []; + const segments = Array.from(fieldNode.querySelectorAll("[data-segment]")).filter((el) => { + if (!isHTMLElement(el)) + return false; + const segment = el.dataset.segment; + if (segment === "trigger") + return true; + if (!isAnySegmentPart(segment) || segment === "literal") + return false; + return true; + }); + return segments; +} +export function getTimeSegments(fieldNode) { + if (!fieldNode) + return []; + const segments = Array.from(fieldNode.querySelectorAll("[data-segment]")).filter((el) => { + if (!isHTMLElement(el)) + return false; + const segment = el.dataset.segment; + if (segment === "trigger") + return true; + if (segment === "literal") + return false; + return true; + }); + return segments; +} +export function getFirstTimeSegment(fieldNode) { + return getTimeSegments(fieldNode)[0]; +} +/** + * Get the first interactive segment within the field identified by the provided ID. + */ +export function getFirstSegment(fieldNode) { + return getSegments(fieldNode)[0]; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/time-helpers.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/time-helpers.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0d722ea51286cb1c58beebcd326d403093724fb6 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/time-helpers.d.ts @@ -0,0 +1,83 @@ +import type { EditableTimeSegmentPart, HourCycle, TimeGranularity, TimeSegmentContentObj, TimeSegmentStateMap, TimeSegmentValueObj, TimeValue } from "../../../shared/date/types.js"; +import { CalendarDateTime, Time, ZonedDateTime } from "@internationalized/date"; +import type { TimeFormatter } from "../formatter.js"; +import type { TimeSegmentPart } from "./types.js"; +export declare function initializeSegmentValues(): TimeSegmentValueObj; +type SharedTimeContentProps = { + granularity: TimeGranularity; + timeRef: TimeValue; + formatter: TimeFormatter; + hideTimeZone: boolean; + hourCycle: HourCycle | undefined; +}; +type CreateTimeContentObjProps = SharedTimeContentProps & { + segmentValues: TimeSegmentValueObj; + locale: string; +}; +type CreateTimeContentProps = CreateTimeContentObjProps; +export declare function createTimeContent(props: CreateTimeContentProps): { + obj: TimeSegmentContentObj; + arr: { + part: TimeSegmentPart; + value: string; + }[]; +}; +export declare function initTimeSegmentStates(): TimeSegmentStateMap; +export declare function initTimeSegmentIds(): any; +export declare function isEditableTimeSegmentPart(part: unknown): part is EditableTimeSegmentPart; +export declare function isAnyTimeSegmentPart(part: unknown): part is TimeSegmentPart; +type GetTimeValueFromSegments = { + segmentObj: TimeSegmentValueObj; + fieldNode: HTMLElement | null; + timeRef: T; +}; +export declare function getTimeValueFromSegments(props: GetTimeValueFromSegments): T; +/** + * Check if all the segments being used have been filled. + * We use this to determine when we should set the value + * store of the date field(s). + * + * @param segmentValues - The current `SegmentValueObj` + * @param fieldNode - The id of the date field + */ +export declare function areAllTimeSegmentsFilled(segmentValues: TimeSegmentValueObj, fieldNode: HTMLElement | null): boolean; +/** + * Infer the granularity to use based on the + * value and granularity props. + */ +export declare function inferTimeGranularity(granularity: TimeGranularity | undefined): TimeGranularity; +/** + * Determines if the element with the provided id is the first focusable + * segment in the date field with the provided fieldId. + * + * @param id - The id of the element to check if it's the first segment + * @param fieldNode - The id of the date field associated with the segment + */ +export declare function isFirstTimeSegment(id: string, fieldNode: HTMLElement | null): boolean; +type SetTimeDescriptionProps = { + id: string; + formatter: TimeFormatter; + value: TimeValue; + doc: Document; +}; +/** + * Creates or updates a description element for a date field + * which enables screen readers to read the date field's value. + * + * This element is hidden from view, and is portalled to the body + * so it can be associated via `aria-describedby` and read by + * screen readers as the user interacts with the date field. + */ +export declare function setTimeDescription(props: SetTimeDescriptionProps): void; +/** + * Removes the description element for the date field with + * the provided ID. This function should be called when the + * date field is unmounted. + */ +export declare function removeTimeDescriptionElement(id: string, doc: Document): void; +export declare function convertTimeValueToDateValue(time: TimeValue): CalendarDateTime | ZonedDateTime; +export declare function convertTimeValueToTime(time: TimeValue): Time; +export declare function isTimeBefore(timeToCompare: Time, referenceTime: Time): boolean; +export declare function isTimeAfter(timeToCompare: Time, referenceTime: Time): boolean; +export declare function getISOTimeValue(time: TimeValue): string; +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/time-helpers.js b/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/time-helpers.js new file mode 100644 index 0000000000000000000000000000000000000000..9b43627f6dd4b2eeaabf0e5e63c8a2995917403a --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/time-helpers.js @@ -0,0 +1,301 @@ +import { isBrowser, isNull } from "../../is.js"; +import { CalendarDateTime, Time, ZonedDateTime } from "@internationalized/date"; +import { ALL_TIME_SEGMENT_PARTS, EDITABLE_TIME_SEGMENT_PARTS } from "./parts.js"; +import { getTimeSegments } from "./segments.js"; +import { styleToString } from "svelte-toolbelt"; +import { useId } from "../../use-id.js"; +import { getPlaceholder } from "../placeholders.js"; +import { isZonedDateTime } from "../utils.js"; +import { getDefaultHourCycle } from "./helpers.js"; +export function initializeSegmentValues() { + const initialParts = EDITABLE_TIME_SEGMENT_PARTS.map((part) => { + if (part === "dayPeriod") { + return [part, "AM"]; + } + return [part, null]; + }).filter(([key]) => { + if (key === "literal" || key === null) + return false; + return true; + }); + return Object.fromEntries(initialParts); +} +function createTimeContentObj(props) { + const { segmentValues, formatter, locale, timeRef } = props; + const content = Object.keys(segmentValues).reduce((obj, part) => { + if (!isEditableTimeSegmentPart(part)) + return obj; + if (part === "dayPeriod") { + const value = segmentValues[part]; + if (!isNull(value)) { + obj[part] = value; + } + else { + obj[part] = getPlaceholder(part, "AM", locale); + } + } + else { + obj[part] = getPartContent(part); + } + return obj; + }, {}); + function getPartContent(part) { + const value = segmentValues[part]; + const leadingZero = typeof value === "string" && value?.startsWith("0"); + const intValue = value !== null ? Number.parseInt(value) : null; + if (!isNull(value) && !isNull(intValue)) { + const formatted = formatter.part(timeRef.set({ [part]: value }), part, { + hourCycle: props.hourCycle === 24 ? "h23" : undefined, + }); + /** + * If we're operating in a 12 hour clock and the part is an hour, we handle + * the conversion to 12 hour format with 2 digit hours and leading zeros here. + */ + const is12HourMode = props.hourCycle === 12 || + (props.hourCycle === undefined && getDefaultHourCycle(locale) === 12); + if (part === "hour" && is12HourMode) { + /** + * If the value is over 12, we convert to 12 hour format and add leading + * zeroes if the value is less than 10. + */ + if (intValue > 12) { + const hour = intValue - 12; + if (hour === 0) { + return "12"; + } + else if (hour < 10) { + return `0${hour}`; + } + else { + return `${hour}`; + } + } + /** + * If the value is 0, we convert to 12, since 0 is not a valid 12 hour time. + */ + if (intValue === 0) { + return "12"; + } + /** + * If the value is less than 10, we add a leading zero to the value. + */ + if (intValue < 10) { + return `0${intValue}`; + } + /** + * Otherwise, we don't need to do anything to the value. + */ + return `${intValue}`; + } + if (leadingZero && formatted.length === 1) { + return `0${formatted}`; + } + return formatted; + } + else { + return getPlaceholder(part, "", locale); + } + } + return content; +} +function createTimeContentArr(props) { + const { granularity, timeRef, formatter, contentObj, hideTimeZone, hourCycle } = props; + const parts = formatter.toParts(timeRef, getOptsByGranularity(granularity, hourCycle)); + const timeSegmentContentArr = parts + .map((part) => { + const defaultParts = ["literal", "timeZoneName", null]; + if (defaultParts.includes(part.type) || !isEditableTimeSegmentPart(part.type)) { + return { + part: part.type, + value: part.value, + }; + } + return { + part: part.type, + value: contentObj[part.type], + }; + }) + .filter((segment) => { + if (isNull(segment.part) || isNull(segment.value)) + return false; + if (segment.part === "timeZoneName" && (!isZonedDateTime(timeRef) || hideTimeZone)) { + return false; + } + return true; + }); + return timeSegmentContentArr; +} +export function createTimeContent(props) { + const contentObj = createTimeContentObj(props); + const contentArr = createTimeContentArr({ + contentObj, + ...props, + }); + return { + obj: contentObj, + arr: contentArr, + }; +} +function getOptsByGranularity(granularity, hourCycle) { + const opts = { + hour: "2-digit", + minute: "2-digit", + second: "2-digit", + timeZoneName: "short", + hourCycle: hourCycle === 24 ? "h23" : undefined, + hour12: hourCycle === 24 ? false : undefined, + }; + if (granularity === "hour") { + delete opts.minute; + delete opts.second; + } + if (granularity === "minute") { + delete opts.second; + } + return opts; +} +export function initTimeSegmentStates() { + return EDITABLE_TIME_SEGMENT_PARTS.reduce((acc, key) => { + acc[key] = { + lastKeyZero: false, + hasLeftFocus: true, + updating: null, + }; + return acc; + }, {}); +} +export function initTimeSegmentIds() { + return Object.fromEntries(ALL_TIME_SEGMENT_PARTS.map((part) => { + return [part, useId()]; + }).filter(([key]) => key !== "literal")); +} +export function isEditableTimeSegmentPart(part) { + return EDITABLE_TIME_SEGMENT_PARTS.includes(part); +} +export function isAnyTimeSegmentPart(part) { + return ALL_TIME_SEGMENT_PARTS.includes(part); +} +/** + * Get the segments being used/ are rendered in the DOM. + * We're using this to determine when to set the value of + * the date picker, which is when all the segments have + * been filled. + */ +function getUsedTimeSegments(fieldNode) { + if (!isBrowser || !fieldNode) + return []; + const usedSegments = getTimeSegments(fieldNode) + .map((el) => el.dataset.segment) + .filter((part) => { + return EDITABLE_TIME_SEGMENT_PARTS.includes(part); + }); + return usedSegments; +} +export function getTimeValueFromSegments(props) { + const usedSegments = getUsedTimeSegments(props.fieldNode); + for (const part of usedSegments) { + const value = props.segmentObj[part]; + if (isNull(value)) + continue; + // @ts-expect-error shhh + props.timeRef = props.timeRef.set({ [part]: props.segmentObj[part] }); + } + return props.timeRef; +} +/** + * Check if all the segments being used have been filled. + * We use this to determine when we should set the value + * store of the date field(s). + * + * @param segmentValues - The current `SegmentValueObj` + * @param fieldNode - The id of the date field + */ +export function areAllTimeSegmentsFilled(segmentValues, fieldNode) { + const usedSegments = getUsedTimeSegments(fieldNode); + for (const part of usedSegments) { + if (segmentValues[part] === null) + return false; + } + return true; +} +/** + * Infer the granularity to use based on the + * value and granularity props. + */ +export function inferTimeGranularity(granularity) { + if (granularity) + return granularity; + return "minute"; +} +/** + * Determines if the element with the provided id is the first focusable + * segment in the date field with the provided fieldId. + * + * @param id - The id of the element to check if it's the first segment + * @param fieldNode - The id of the date field associated with the segment + */ +export function isFirstTimeSegment(id, fieldNode) { + if (!isBrowser) + return false; + const segments = getTimeSegments(fieldNode); + return segments.length ? segments[0].id === id : false; +} +/** + * Creates or updates a description element for a date field + * which enables screen readers to read the date field's value. + * + * This element is hidden from view, and is portalled to the body + * so it can be associated via `aria-describedby` and read by + * screen readers as the user interacts with the date field. + */ +export function setTimeDescription(props) { + if (!isBrowser) + return; + const valueString = props.formatter.selectedTime(props.value); + const el = props.doc.getElementById(props.id); + if (!el) { + const div = props.doc.createElement("div"); + div.style.cssText = styleToString({ + display: "none", + }); + div.id = props.id; + div.innerText = `Selected Time: ${valueString}`; + props.doc.body.appendChild(div); + } + else { + el.innerText = `Selected Time: ${valueString}`; + } +} +/** + * Removes the description element for the date field with + * the provided ID. This function should be called when the + * date field is unmounted. + */ +export function removeTimeDescriptionElement(id, doc) { + if (!isBrowser) + return; + const el = doc.getElementById(id); + if (!el) + return; + doc.body.removeChild(el); +} +export function convertTimeValueToDateValue(time) { + if (time instanceof Time) { + return new CalendarDateTime(2020, 1, 1, time.hour, time.minute, time.second, time.millisecond); + } + return time; +} +export function convertTimeValueToTime(time) { + if (time instanceof Time) + return time; + return new Time(time.hour, time.minute, time.second, time.millisecond); +} +export function isTimeBefore(timeToCompare, referenceTime) { + return timeToCompare.compare(referenceTime) < 0; +} +export function isTimeAfter(timeToCompare, referenceTime) { + return timeToCompare.compare(referenceTime) > 0; +} +export function getISOTimeValue(time) { + return convertTimeValueToTime(time).toString(); +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/types.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/types.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..49150cef2e060b75f2355239f22eed1a7f862d32 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/types.d.ts @@ -0,0 +1,25 @@ +import type { DATE_SEGMENT_PARTS, EDITABLE_SEGMENT_PARTS, NON_EDITABLE_SEGMENT_PARTS, EDITABLE_TIME_SEGMENT_PARTS } from "./parts.js"; +export type DateSegmentPart = (typeof DATE_SEGMENT_PARTS)[number]; +export type TimeSegmentPart = (typeof EDITABLE_TIME_SEGMENT_PARTS)[number]; +export type EditableSegmentPart = (typeof EDITABLE_SEGMENT_PARTS)[number]; +export type NonEditableSegmentPart = (typeof NON_EDITABLE_SEGMENT_PARTS)[number]; +export type SegmentPart = EditableSegmentPart | NonEditableSegmentPart; +export type AnyExceptLiteral = Exclude; +export type DayPeriod = "AM" | "PM" | null; +export type DateSegmentObj = { + [K in DateSegmentPart]: string | null; +}; +export type TimeSegmentObj = { + [K in TimeSegmentPart]: K extends "dayPeriod" ? DayPeriod : string | null; +}; +export type DateAndTimeSegmentObj = DateSegmentObj & TimeSegmentObj; +export type SegmentValueObj = DateSegmentObj | DateAndTimeSegmentObj; +export type SegmentContentObj = Record; +export type SegmentState = { + lastKeyZero: boolean; + hasLeftFocus: boolean; + updating: string | null; +}; +export type SegmentStateMap = { + [K in EditableSegmentPart]: SegmentState; +}; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/types.js b/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/types.js new file mode 100644 index 0000000000000000000000000000000000000000..cb0ff5c3b541f646105198ee23ac0fc3d805023e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/date-time/field/types.js @@ -0,0 +1 @@ +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/date-time/formatter.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/date-time/formatter.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0457e844a8d6afc6a2572b66c8b8059c3bfd0e81 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/date-time/formatter.d.ts @@ -0,0 +1,41 @@ +import { type DateValue } from "@internationalized/date"; +import type { HourCycle, TimeValue } from "../../shared/date/types.js"; +import type { ReadableBox } from "svelte-toolbelt"; +export type Formatter = ReturnType; +export type TimeFormatter = ReturnType; +type CreateFormatterOptions = { + initialLocale: string; + monthFormat: ReadableBox string)>; + yearFormat: ReadableBox string)>; +}; +/** + * Creates a wrapper around the `DateFormatter`, which is + * an improved version of the {@link Intl.DateTimeFormat} API, + * that is used internally by the various date builders to + * easily format dates in a consistent way. + * + * @see [DateFormatter](https://react-spectrum.adobe.com/internationalized/date/DateFormatter.html) + */ +export declare function createFormatter(opts: CreateFormatterOptions): { + setLocale: (newLocale: string) => void; + getLocale: () => string; + fullMonth: (date: Date) => string; + fullYear: (date: Date) => string; + fullMonthAndYear: (date: Date) => string; + toParts: (date: DateValue, options?: Intl.DateTimeFormatOptions) => Intl.DateTimeFormatPart[]; + custom: (date: Date, options: Intl.DateTimeFormatOptions) => string; + part: (dateObj: DateValue, type: Intl.DateTimeFormatPartTypes, options?: Intl.DateTimeFormatOptions) => string; + dayPeriod: (date: Date, hourCycle?: HourCycle | undefined) => "AM" | "PM"; + selectedDate: (date: DateValue, includeTime?: boolean) => string; + dayOfWeek: (date: Date, length?: Intl.DateTimeFormatOptions["weekday"]) => string; +}; +export declare function createTimeFormatter(initialLocale: string): { + setLocale: (newLocale: string) => void; + getLocale: () => string; + toParts: (timeValue: TimeValue, options?: Intl.DateTimeFormatOptions) => Intl.DateTimeFormatPart[]; + custom: (date: Date, options: Intl.DateTimeFormatOptions) => string; + part: (dateObj: TimeValue, type: Intl.DateTimeFormatPartTypes, options?: Intl.DateTimeFormatOptions) => string; + dayPeriod: (date: Date, hourCycle?: HourCycle | undefined) => "AM" | "PM"; + selectedTime: (date: TimeValue) => string; +}; +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/date-time/formatter.js b/tools/ui/node_modules/bits-ui/dist/internal/date-time/formatter.js new file mode 100644 index 0000000000000000000000000000000000000000..9b695ef15c3db328c6ee9df0a9cb91dcd53c6a2e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/date-time/formatter.js @@ -0,0 +1,166 @@ +import { DateFormatter } from "@internationalized/date"; +import { hasTime, isZonedDateTime, toDate } from "./utils.js"; +import { convertTimeValueToDateValue } from "./field/time-helpers.js"; +const defaultPartOptions = { + year: "numeric", + month: "numeric", + day: "numeric", + hour: "numeric", + minute: "numeric", + second: "numeric", +}; +/** + * Creates a wrapper around the `DateFormatter`, which is + * an improved version of the {@link Intl.DateTimeFormat} API, + * that is used internally by the various date builders to + * easily format dates in a consistent way. + * + * @see [DateFormatter](https://react-spectrum.adobe.com/internationalized/date/DateFormatter.html) + */ +export function createFormatter(opts) { + let locale = opts.initialLocale; + function setLocale(newLocale) { + locale = newLocale; + } + function getLocale() { + return locale; + } + function custom(date, options) { + return new DateFormatter(locale, options).format(date); + } + function selectedDate(date, includeTime = true) { + if (hasTime(date) && includeTime) { + return custom(toDate(date), { + dateStyle: "long", + timeStyle: "long", + }); + } + else { + return custom(toDate(date), { + dateStyle: "long", + }); + } + } + function fullMonthAndYear(date) { + if (typeof opts.monthFormat.current !== "function" && + typeof opts.yearFormat.current !== "function") { + return new DateFormatter(locale, { + month: opts.monthFormat.current, + year: opts.yearFormat.current, + }).format(date); + } + const formattedMonth = typeof opts.monthFormat.current === "function" + ? opts.monthFormat.current(date.getMonth() + 1) + : new DateFormatter(locale, { month: opts.monthFormat.current }).format(date); + const formattedYear = typeof opts.yearFormat.current === "function" + ? opts.yearFormat.current(date.getFullYear()) + : new DateFormatter(locale, { year: opts.yearFormat.current }).format(date); + return `${formattedMonth} ${formattedYear}`; + } + function fullMonth(date) { + return new DateFormatter(locale, { month: "long" }).format(date); + } + function fullYear(date) { + return new DateFormatter(locale, { year: "numeric" }).format(date); + } + function toParts(date, options) { + if (isZonedDateTime(date)) { + return new DateFormatter(locale, { + ...options, + timeZone: date.timeZone, + }).formatToParts(toDate(date)); + } + else { + return new DateFormatter(locale, options).formatToParts(toDate(date)); + } + } + function dayOfWeek(date, length = "narrow") { + return new DateFormatter(locale, { weekday: length }).format(date); + } + function dayPeriod(date, hourCycle = undefined) { + const parts = new DateFormatter(locale, { + hour: "numeric", + minute: "numeric", + hourCycle: hourCycle === 24 ? "h23" : undefined, + }).formatToParts(date); + const value = parts.find((p) => p.type === "dayPeriod")?.value; + if (value === "PM") { + return "PM"; + } + return "AM"; + } + function part(dateObj, type, options = {}) { + const opts = { ...defaultPartOptions, ...options }; + const parts = toParts(dateObj, opts); + const part = parts.find((p) => p.type === type); + return part ? part.value : ""; + } + return { + setLocale, + getLocale, + fullMonth, + fullYear, + fullMonthAndYear, + toParts, + custom, + part, + dayPeriod, + selectedDate, + dayOfWeek, + }; +} +export function createTimeFormatter(initialLocale) { + let locale = initialLocale; + function setLocale(newLocale) { + locale = newLocale; + } + function getLocale() { + return locale; + } + function custom(date, options) { + return new DateFormatter(locale, options).format(date); + } + function selectedTime(date) { + return custom(toDate(convertTimeValueToDateValue(date)), { + timeStyle: "long", + }); + } + function toParts(timeValue, options) { + const dateValue = convertTimeValueToDateValue(timeValue); + if (isZonedDateTime(dateValue)) { + return new DateFormatter(locale, { + ...options, + timeZone: dateValue.timeZone, + }).formatToParts(toDate(dateValue)); + } + else { + return new DateFormatter(locale, options).formatToParts(toDate(dateValue)); + } + } + function dayPeriod(date, hourCycle = undefined) { + const parts = new DateFormatter(locale, { + hour: "numeric", + minute: "numeric", + hourCycle: hourCycle === 24 ? "h23" : undefined, + }).formatToParts(date); + const value = parts.find((p) => p.type === "dayPeriod")?.value; + if (value === "PM") + return "PM"; + return "AM"; + } + function part(dateObj, type, options = {}) { + const opts = { ...defaultPartOptions, ...options }; + const parts = toParts(dateObj, opts); + const part = parts.find((p) => p.type === type); + return part ? part.value : ""; + } + return { + setLocale, + getLocale, + toParts, + custom, + part, + dayPeriod, + selectedTime, + }; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/date-time/placeholders.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/date-time/placeholders.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d623ead5b12cce9b22a6f902b9e63d7ce4d482ee --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/date-time/placeholders.d.ts @@ -0,0 +1,8 @@ +declare const supportedLocales: readonly ["ach", "af", "am", "an", "ar", "ast", "az", "be", "bg", "bn", "br", "bs", "ca", "cak", "ckb", "cs", "cy", "da", "de", "dsb", "el", "en", "eo", "es", "et", "eu", "fa", "ff", "fi", "fr", "fy", "ga", "gd", "gl", "he", "hr", "hsb", "hu", "ia", "id", "it", "ja", "ka", "kk", "kn", "ko", "lb", "lo", "lt", "lv", "meh", "ml", "ms", "nl", "nn", "no", "oc", "pl", "pt", "rm", "ro", "ru", "sc", "scn", "sk", "sl", "sr", "sv", "szl", "tg", "th", "tr", "uk", "zh-CN", "zh-TW"]; +declare const placeholderFields: readonly ["year", "month", "day"]; +type SupportedLocale = (typeof supportedLocales)[number]; +type PlaceholderField = (typeof placeholderFields)[number]; +export type PlaceholderMap = Record>; +type Field = "era" | "year" | "month" | "day" | "hour" | "minute" | "second" | "dayPeriod"; +export declare function getPlaceholder(field: Field, value: string, locale: SupportedLocale | (string & {})): string; +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/date-time/placeholders.js b/tools/ui/node_modules/bits-ui/dist/internal/date-time/placeholders.js new file mode 100644 index 0000000000000000000000000000000000000000..1f714c122101af6ae17b43abd0a3269e989c34e6 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/date-time/placeholders.js @@ -0,0 +1,129 @@ +// prettier-ignore +const supportedLocales = [ + 'ach', 'af', 'am', 'an', 'ar', 'ast', 'az', 'be', 'bg', 'bn', 'br', 'bs', + 'ca', 'cak', 'ckb', 'cs', 'cy', 'da', 'de', 'dsb', 'el', 'en', 'eo', 'es', + 'et', 'eu', 'fa', 'ff', 'fi', 'fr', 'fy', 'ga', 'gd', 'gl', 'he', 'hr', + 'hsb', 'hu', 'ia', 'id', 'it', 'ja', 'ka', 'kk', 'kn', 'ko', 'lb', 'lo', + 'lt', 'lv', 'meh', 'ml', 'ms', 'nl', 'nn', 'no', 'oc', 'pl', 'pt', 'rm', + 'ro', 'ru', 'sc', 'scn', 'sk', 'sl', 'sr', 'sv', 'szl', 'tg', 'th', 'tr', + 'uk', 'zh-CN', 'zh-TW', +]; +const placeholderFields = ["year", "month", "day"]; +const placeholders = { + ach: { year: "mwaka", month: "dwe", day: "nino" }, + af: { year: "jjjj", month: "mm", day: "dd" }, + am: { year: "ዓዓዓዓ", month: "ሚሜ", day: "ቀቀ" }, + an: { year: "aaaa", month: "mm", day: "dd" }, + ar: { year: "سنة", month: "شهر", day: "يوم" }, + ast: { year: "aaaa", month: "mm", day: "dd" }, + az: { year: "iiii", month: "aa", day: "gg" }, + be: { year: "гггг", month: "мм", day: "дд" }, + bg: { year: "гггг", month: "мм", day: "дд" }, + bn: { year: "yyyy", month: "মিমি", day: "dd" }, + br: { year: "bbbb", month: "mm", day: "dd" }, + bs: { year: "gggg", month: "mm", day: "dd" }, + ca: { year: "aaaa", month: "mm", day: "dd" }, + cak: { year: "jjjj", month: "ii", day: "q'q'" }, + ckb: { year: "ساڵ", month: "مانگ", day: "ڕۆژ" }, + cs: { year: "rrrr", month: "mm", day: "dd" }, + cy: { year: "bbbb", month: "mm", day: "dd" }, + da: { year: "åååå", month: "mm", day: "dd" }, + de: { year: "jjjj", month: "mm", day: "tt" }, + dsb: { year: "llll", month: "mm", day: "źź" }, + el: { year: "εεεε", month: "μμ", day: "ηη" }, + en: { year: "yyyy", month: "mm", day: "dd" }, + eo: { year: "jjjj", month: "mm", day: "tt" }, + es: { year: "aaaa", month: "mm", day: "dd" }, + et: { year: "aaaa", month: "kk", day: "pp" }, + eu: { year: "uuuu", month: "hh", day: "ee" }, + fa: { year: "سال", month: "ماه", day: "روز" }, + ff: { year: "hhhh", month: "ll", day: "ññ" }, + fi: { year: "vvvv", month: "kk", day: "pp" }, + fr: { year: "aaaa", month: "mm", day: "jj" }, + fy: { year: "jjjj", month: "mm", day: "dd" }, + ga: { year: "bbbb", month: "mm", day: "ll" }, + gd: { year: "bbbb", month: "mm", day: "ll" }, + gl: { year: "aaaa", month: "mm", day: "dd" }, + he: { year: "שנה", month: "חודש", day: "יום" }, + hr: { year: "gggg", month: "mm", day: "dd" }, + hsb: { year: "llll", month: "mm", day: "dd" }, + hu: { year: "éééé", month: "hh", day: "nn" }, + ia: { year: "aaaa", month: "mm", day: "dd" }, + id: { year: "tttt", month: "bb", day: "hh" }, + it: { year: "aaaa", month: "mm", day: "gg" }, + ja: { year: " 年 ", month: "月", day: "日" }, + ka: { year: "წწწწ", month: "თთ", day: "რრ" }, + kk: { year: "жжжж", month: "аа", day: "кк" }, + kn: { year: "ವವವವ", month: "ಮಿಮೀ", day: "ದಿದಿ" }, + ko: { year: "연도", month: "월", day: "일" }, + lb: { year: "jjjj", month: "mm", day: "dd" }, + lo: { year: "ປປປປ", month: "ດດ", day: "ວວ" }, + lt: { year: "mmmm", month: "mm", day: "dd" }, + lv: { year: "gggg", month: "mm", day: "dd" }, + meh: { year: "aaaa", month: "mm", day: "dd" }, + ml: { year: "വർഷം", month: "മാസം", day: "തീയതി" }, + ms: { year: "tttt", month: "mm", day: "hh" }, + nl: { year: "jjjj", month: "mm", day: "dd" }, + nn: { year: "åååå", month: "mm", day: "dd" }, + no: { year: "åååå", month: "mm", day: "dd" }, + oc: { year: "aaaa", month: "mm", day: "jj" }, + pl: { year: "rrrr", month: "mm", day: "dd" }, + pt: { year: "aaaa", month: "mm", day: "dd" }, + rm: { year: "oooo", month: "mm", day: "dd" }, + ro: { year: "aaaa", month: "ll", day: "zz" }, + ru: { year: "гггг", month: "мм", day: "дд" }, + sc: { year: "aaaa", month: "mm", day: "dd" }, + scn: { year: "aaaa", month: "mm", day: "jj" }, + sk: { year: "rrrr", month: "mm", day: "dd" }, + sl: { year: "llll", month: "mm", day: "dd" }, + sr: { year: "гггг", month: "мм", day: "дд" }, + sv: { year: "åååå", month: "mm", day: "dd" }, + szl: { year: "rrrr", month: "mm", day: "dd" }, + tg: { year: "сссс", month: "мм", day: "рр" }, + th: { year: "ปปปป", month: "ดด", day: "วว" }, + tr: { year: "yyyy", month: "aa", day: "gg" }, + uk: { year: "рррр", month: "мм", day: "дд" }, + "zh-CN": { year: "年", month: "月", day: "日" }, + "zh-TW": { year: "年", month: "月", day: "日" }, +}; +function getPlaceholderObj(locale) { + if (!isSupportedLocale(locale)) { + const localeLanguage = getLocaleLanguage(locale); + if (!isSupportedLocale(localeLanguage)) { + return placeholders.en; + } + else { + return placeholders[localeLanguage]; + } + } + else { + return placeholders[locale]; + } +} +export function getPlaceholder(field, value, locale) { + if (isPlaceholderField(field)) + return getPlaceholderObj(locale)[field]; + if (isDefaultField(field)) + return value; + if (isTimeField(field)) + return "––"; + return ""; +} +function isSupportedLocale(locale) { + return supportedLocales.includes(locale); +} +function isPlaceholderField(field) { + return placeholderFields.includes(field); +} +function isTimeField(field) { + return field === "hour" || field === "minute" || field === "second"; +} +function isDefaultField(field) { + return field === "era" || field === "dayPeriod"; +} +function getLocaleLanguage(locale) { + if (Intl.Locale) { + return new Intl.Locale(locale).language; + } + return locale.split("-")[0]; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/date-time/utils.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/date-time/utils.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..a85403093b0746f46a092418d844398842c2920e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/date-time/utils.d.ts @@ -0,0 +1,76 @@ +import { CalendarDateTime, type DateValue, ZonedDateTime } from "@internationalized/date"; +import type { DateMatcher, Granularity, TimeGranularity, TimeValue } from "../../shared/date/types.js"; +type GetDefaultDateProps = { + defaultValue?: DateValue | DateValue[] | undefined; + minValue?: DateValue; + maxValue?: DateValue; + granularity?: Granularity; +}; +type GetDefaultTimeProps = { + defaultValue?: TimeValue | undefined; + granularity?: TimeGranularity; +}; +/** + * A helper function used throughout the various date builders + * to generate a default `DateValue` using the `defaultValue`, + * `defaultPlaceholder`, `minValue`, `maxValue`, and `granularity` props. + * + * It's important to match the `DateValue` type being used + * elsewhere in the builder, so they behave according to the + * behavior the user expects based on the props they've provided. + * + */ +export declare function getDefaultDate(opts: GetDefaultDateProps): DateValue; +export declare function getDefaultTime(opts: GetDefaultTimeProps): TimeValue; +/** + * Given a date string and a reference `DateValue` object, parse the + * string to the same type as the reference object. + * + * Useful for parsing strings from data attributes, which are always + * strings, to the same type being used by the date component. + */ +export declare function parseStringToDateValue(dateStr: string, referenceVal: DateValue): DateValue; +/** + * Given a `DateValue` object, convert it to a native `Date` object. + * If a timezone is provided, the date will be converted to that timezone. + * If no timezone is provided, the date will be converted to the local timezone. + */ +export declare function toDate(dateValue: DateValue, tz?: string): Date; +export declare function getDateValueType(date: DateValue): string; +export declare function parseAnyDateValue(value: string, type: string): DateValue; +export declare function isZonedDateTime(dateValue: DateValue | TimeValue): dateValue is ZonedDateTime; +export declare function hasTime(dateValue: DateValue): dateValue is CalendarDateTime | ZonedDateTime; +/** + * Given a date, return the number of days in the month. + */ +export declare function getDaysInMonth(date: Date | DateValue): number; +/** + * Determine if a date is before the reference date. + * @param dateToCompare - is this date before the `referenceDate` + * @param referenceDate - is the `dateToCompare` before this date + * + * @see {@link isBeforeOrSame} for inclusive + */ +export declare function isBefore(dateToCompare: DateValue, referenceDate: DateValue): boolean; +/** + * Determine if a date is after the reference date. + * @param dateToCompare - is this date after the `referenceDate` + * @param referenceDate - is the `dateToCompare` after this date + * + * @see {@link isAfterOrSame} for inclusive + */ +export declare function isAfter(dateToCompare: DateValue, referenceDate: DateValue): boolean; +/** + * Determine if a date is inclusively between a start and end reference date. + * + * @param date - is this date inclusively between the `start` and `end` dates + * @param start - the start reference date to make the comparison against + * @param end - the end reference date to make the comparison against + * + * @see {@link isBetween} for non-inclusive + */ +export declare function isBetweenInclusive(date: DateValue, start: DateValue, end: DateValue): boolean; +export declare function getLastFirstDayOfWeek(date: T, firstDayOfWeek: number, locale: string): T; +export declare function getNextLastDayOfWeek(date: T, firstDayOfWeek: number, locale: string): T; +export declare function areAllDaysBetweenValid(start: DateValue, end: DateValue, isUnavailable: DateMatcher | undefined, isDisabled: DateMatcher | undefined): boolean; +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/date-time/utils.js b/tools/ui/node_modules/bits-ui/dist/internal/date-time/utils.js new file mode 100644 index 0000000000000000000000000000000000000000..232691f1bb7fca2fa60322109543fc2764fe89f6 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/date-time/utils.js @@ -0,0 +1,232 @@ +import { CalendarDate, CalendarDateTime, Time, ZonedDateTime, getDayOfWeek, getLocalTimeZone, parseDate, parseDateTime, parseZonedDateTime, toCalendar, } from "@internationalized/date"; +const defaultDateDefaults = { + defaultValue: undefined, + granularity: "day", +}; +const defaultTimeDefaults = { + defaultValue: undefined, + granularity: "minute", +}; +/** + * A helper function used throughout the various date builders + * to generate a default `DateValue` using the `defaultValue`, + * `defaultPlaceholder`, `minValue`, `maxValue`, and `granularity` props. + * + * It's important to match the `DateValue` type being used + * elsewhere in the builder, so they behave according to the + * behavior the user expects based on the props they've provided. + * + */ +export function getDefaultDate(opts) { + const withDefaults = { ...defaultDateDefaults, ...opts }; + const { defaultValue, granularity, minValue, maxValue } = withDefaults; + if (Array.isArray(defaultValue) && defaultValue.length) { + return defaultValue[defaultValue.length - 1]; + } + if (defaultValue && !Array.isArray(defaultValue)) { + return defaultValue; + } + else { + let date = new Date(); + if (minValue && date < minValue.toDate(getLocalTimeZone())) { + date = minValue.toDate(getLocalTimeZone()); + } + else if (maxValue && date > maxValue.toDate(getLocalTimeZone())) { + date = maxValue.toDate(getLocalTimeZone()); + } + const year = date.getFullYear(); + const month = date.getMonth() + 1; + const day = date.getDate(); + const calendarDateTimeGranularities = ["hour", "minute", "second"]; + if (calendarDateTimeGranularities.includes(granularity ?? "day")) { + return new CalendarDateTime(year, month, day, 0, 0, 0); + } + return new CalendarDate(year, month, day); + } +} +export function getDefaultTime(opts) { + const withDefaults = { ...defaultTimeDefaults, ...opts }; + const { defaultValue } = withDefaults; + if (defaultValue) { + return defaultValue; + } + else { + return new Time(0, 0, 0); + } +} +/** + * Given a date string and a reference `DateValue` object, parse the + * string to the same type as the reference object. + * + * Useful for parsing strings from data attributes, which are always + * strings, to the same type being used by the date component. + */ +export function parseStringToDateValue(dateStr, referenceVal) { + let dateValue; + if (referenceVal instanceof ZonedDateTime) { + dateValue = parseZonedDateTime(dateStr); + } + else if (referenceVal instanceof CalendarDateTime) { + dateValue = parseDateTime(dateStr); + } + else { + dateValue = parseDate(dateStr); + } + // ensure the parsed date is in the same calendar as the reference date set by the user. + return dateValue.calendar !== referenceVal.calendar + ? toCalendar(dateValue, referenceVal.calendar) + : dateValue; +} +/** + * Given a `DateValue` object, convert it to a native `Date` object. + * If a timezone is provided, the date will be converted to that timezone. + * If no timezone is provided, the date will be converted to the local timezone. + */ +export function toDate(dateValue, tz = getLocalTimeZone()) { + if (dateValue instanceof ZonedDateTime) { + return dateValue.toDate(); + } + else { + return dateValue.toDate(tz); + } +} +export function getDateValueType(date) { + if (date instanceof CalendarDate) + return "date"; + if (date instanceof CalendarDateTime) + return "datetime"; + if (date instanceof ZonedDateTime) + return "zoneddatetime"; + throw new Error("Unknown date type"); +} +export function parseAnyDateValue(value, type) { + switch (type) { + case "date": + return parseDate(value); + case "datetime": + return parseDateTime(value); + case "zoneddatetime": + return parseZonedDateTime(value); + default: + throw new Error(`Unknown date type: ${type}`); + } +} +function isCalendarDateTime(dateValue) { + return dateValue instanceof CalendarDateTime; +} +export function isZonedDateTime(dateValue) { + return dateValue instanceof ZonedDateTime; +} +export function hasTime(dateValue) { + return isCalendarDateTime(dateValue) || isZonedDateTime(dateValue); +} +/** + * Given a date, return the number of days in the month. + */ +export function getDaysInMonth(date) { + if (date instanceof Date) { + const year = date.getFullYear(); + const month = date.getMonth() + 1; + /** + * By using zero as the day, we get the + * last day of the previous month, which + * is the month we originally passed in. + */ + return new Date(year, month, 0).getDate(); + } + else { + return date.set({ day: 100 }).day; + } +} +/** + * Determine if a date is before the reference date. + * @param dateToCompare - is this date before the `referenceDate` + * @param referenceDate - is the `dateToCompare` before this date + * + * @see {@link isBeforeOrSame} for inclusive + */ +export function isBefore(dateToCompare, referenceDate) { + return dateToCompare.compare(referenceDate) < 0; +} +/** + * Determine if a date is after the reference date. + * @param dateToCompare - is this date after the `referenceDate` + * @param referenceDate - is the `dateToCompare` after this date + * + * @see {@link isAfterOrSame} for inclusive + */ +export function isAfter(dateToCompare, referenceDate) { + return dateToCompare.compare(referenceDate) > 0; +} +/** + * Determine if a date is before or the same as the reference date. + * + * @param dateToCompare - the date to compare + * @param referenceDate - the reference date to make the comparison against + * + * @see {@link isBefore} for non-inclusive + */ +function isBeforeOrSame(dateToCompare, referenceDate) { + return dateToCompare.compare(referenceDate) <= 0; +} +/** + * Determine if a date is after or the same as the reference date. + * + * @param dateToCompare - is this date after or the same as the `referenceDate` + * @param referenceDate - is the `dateToCompare` after or the same as this date + * + * @see {@link isAfter} for non-inclusive + */ +function isAfterOrSame(dateToCompare, referenceDate) { + return dateToCompare.compare(referenceDate) >= 0; +} +/** + * Determine if a date is inclusively between a start and end reference date. + * + * @param date - is this date inclusively between the `start` and `end` dates + * @param start - the start reference date to make the comparison against + * @param end - the end reference date to make the comparison against + * + * @see {@link isBetween} for non-inclusive + */ +export function isBetweenInclusive(date, start, end) { + return isAfterOrSame(date, start) && isBeforeOrSame(date, end); +} +export function getLastFirstDayOfWeek(date, firstDayOfWeek, locale) { + const day = getDayOfWeek(date, locale); + if (firstDayOfWeek > day) { + return date.subtract({ days: day + 7 - firstDayOfWeek }); + } + if (firstDayOfWeek === day) { + return date; + } + return date.subtract({ days: day - firstDayOfWeek }); +} +export function getNextLastDayOfWeek(date, firstDayOfWeek, locale) { + const day = getDayOfWeek(date, locale); + const lastDayOfWeek = firstDayOfWeek === 0 ? 6 : firstDayOfWeek - 1; + if (day === lastDayOfWeek) { + return date; + } + if (day > lastDayOfWeek) { + return date.add({ days: 7 - day + lastDayOfWeek }); + } + return date.add({ days: lastDayOfWeek - day }); +} +export function areAllDaysBetweenValid(start, end, isUnavailable, isDisabled) { + if (isUnavailable === undefined && isDisabled === undefined) { + return true; + } + let dCurrent = start.add({ days: 1 }); + if (isDisabled?.(dCurrent) || isUnavailable?.(dCurrent)) { + return false; + } + const dEnd = end; + while (dCurrent.compare(dEnd) < 0) { + dCurrent = dCurrent.add({ days: 1 }); + if (isDisabled?.(dCurrent) || isUnavailable?.(dCurrent)) { + return false; + } + } + return true; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/debounce.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/debounce.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..91933270b99efe9cf83e76d724825917a1773afb --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/debounce.d.ts @@ -0,0 +1,4 @@ +export declare function debounce any>(fn: T, wait?: number): { + (...args: Parameters): void; + destroy(): void; +}; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/debounce.js b/tools/ui/node_modules/bits-ui/dist/internal/debounce.js new file mode 100644 index 0000000000000000000000000000000000000000..8dc609dace48902879b3d3e936430bedb48a6ae0 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/debounce.js @@ -0,0 +1,19 @@ +// oxlint-disable-next-line no-explicit-any +export function debounce(fn, wait = 500) { + let timeout = null; + const debounced = (...args) => { + if (timeout !== null) { + clearTimeout(timeout); + } + timeout = setTimeout(() => { + fn(...args); + }, wait); + }; + debounced.destroy = () => { + if (timeout !== null) { + clearTimeout(timeout); + timeout = null; + } + }; + return debounced; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/dom-typeahead.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/dom-typeahead.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..60d2f246f3a34179f0f7e8230c3360b6884a7276 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/dom-typeahead.svelte.d.ts @@ -0,0 +1,14 @@ +type DOMTypeaheadOptions = { + onMatch?: (item: HTMLElement) => void; + getCurrentItem?: () => HTMLElement | null; + getActiveElement: () => HTMLElement | null; + getWindow: () => Window & typeof globalThis; +}; +export declare class DOMTypeahead { + #private; + constructor(opts: DOMTypeaheadOptions); + handleTypeaheadSearch(key: string, candidates: HTMLElement[]): HTMLElement | undefined; + resetTypeahead(): void; + get search(): string; +} +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/dom-typeahead.svelte.js b/tools/ui/node_modules/bits-ui/dist/internal/dom-typeahead.svelte.js new file mode 100644 index 0000000000000000000000000000000000000000..935e1b9f571feeb5b23aee4e36217567e135a99e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/dom-typeahead.svelte.js @@ -0,0 +1,44 @@ +import { getNextMatch } from "./arrays.js"; +import { boxAutoReset } from "./box-auto-reset.svelte.js"; +export class DOMTypeahead { + #opts; + #search; + #onMatch = $derived.by(() => { + if (this.#opts.onMatch) + return this.#opts.onMatch; + return (node) => node.focus(); + }); + #getCurrentItem = $derived.by(() => { + if (this.#opts.getCurrentItem) + return this.#opts.getCurrentItem; + return this.#opts.getActiveElement; + }); + constructor(opts) { + this.#opts = opts; + this.#search = boxAutoReset("", { + afterMs: 1000, + getWindow: opts.getWindow, + }); + this.handleTypeaheadSearch = this.handleTypeaheadSearch.bind(this); + this.resetTypeahead = this.resetTypeahead.bind(this); + } + handleTypeaheadSearch(key, candidates) { + if (!candidates.length) + return; + this.#search.current = this.#search.current + key; + const currentItem = this.#getCurrentItem(); + const currentMatch = candidates.find((item) => item === currentItem)?.textContent?.trim() ?? ""; + const values = candidates.map((item) => item.textContent?.trim() ?? ""); + const nextMatch = getNextMatch(values, this.#search.current, currentMatch); + const newItem = candidates.find((item) => item.textContent?.trim() === nextMatch); + if (newItem) + this.#onMatch(newItem); + return newItem; + } + resetTypeahead() { + this.#search.current = ""; + } + get search() { + return this.#search.current; + } +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/dom.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/dom.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..040184c13b856f306c628f7319ebc002b725ecdb --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/dom.d.ts @@ -0,0 +1,7 @@ +export declare function getFirstNonCommentChild(element: HTMLElement | null): ChildNode | null; +/** + * Determines if the click event truly occurred outside the content node. + * This was added to handle password managers and other elements that may be injected + * into the DOM but visually appear inside the content. + */ +export declare function isClickTrulyOutside(event: PointerEvent, contentNode: HTMLElement): boolean; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/dom.js b/tools/ui/node_modules/bits-ui/dist/internal/dom.js new file mode 100644 index 0000000000000000000000000000000000000000..51918a8c5581c9b6d2e0e5377c15dba2632abce7 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/dom.js @@ -0,0 +1,20 @@ +export function getFirstNonCommentChild(element) { + if (!element) + return null; + for (const child of element.childNodes) { + if (child.nodeType !== Node.COMMENT_NODE) { + return child; + } + } + return null; +} +/** + * Determines if the click event truly occurred outside the content node. + * This was added to handle password managers and other elements that may be injected + * into the DOM but visually appear inside the content. + */ +export function isClickTrulyOutside(event, contentNode) { + const { clientX, clientY } = event; + const rect = contentNode.getBoundingClientRect(); + return (clientX < rect.left || clientX > rect.right || clientY < rect.top || clientY > rect.bottom); +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/elements.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/elements.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..61065c040d7929fd83154c09667a68b467cbc391 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/elements.d.ts @@ -0,0 +1,2 @@ +export declare function isOrContainsTarget(node: HTMLElement, target: Element): boolean; +export declare function getOwnerDocument(el: Element | null | undefined): Document; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/elements.js b/tools/ui/node_modules/bits-ui/dist/internal/elements.js new file mode 100644 index 0000000000000000000000000000000000000000..bf3f5ec89c0a5ee2d59ab13cc6aeca10d3472491 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/elements.js @@ -0,0 +1,6 @@ +export function isOrContainsTarget(node, target) { + return node === target || node.contains(target); +} +export function getOwnerDocument(el) { + return el?.ownerDocument ?? document; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/events.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/events.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0f18031948e83d089acf1b08deb497d34414fa06 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/events.d.ts @@ -0,0 +1,15 @@ +export type EventCallback = (event: E) => void; +/** + * Creates a typed event dispatcher and listener pair for custom events + * @template T - The type of data that will be passed in the event detail + * @param eventName - The name of the custom event + * @param options - CustomEvent options (bubbles, cancelable, etc.) + */ +export declare class CustomEventDispatcher { + readonly eventName: string; + readonly options: Omit, "detail">; + constructor(eventName: string, options?: Omit, "detail">); + createEvent(detail?: T): CustomEvent; + dispatch(element: EventTarget, detail?: T): CustomEvent; + listen(element: EventTarget, callback: (event: CustomEvent) => void, options?: AddEventListenerOptions): () => void; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/events.js b/tools/ui/node_modules/bits-ui/dist/internal/events.js new file mode 100644 index 0000000000000000000000000000000000000000..32156663025755bfa55c8874bd81da47aae03c5f --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/events.js @@ -0,0 +1,32 @@ +import { on } from "svelte/events"; +/** + * Creates a typed event dispatcher and listener pair for custom events + * @template T - The type of data that will be passed in the event detail + * @param eventName - The name of the custom event + * @param options - CustomEvent options (bubbles, cancelable, etc.) + */ +export class CustomEventDispatcher { + eventName; + options; + constructor(eventName, options = { bubbles: true, cancelable: true }) { + this.eventName = eventName; + this.options = options; + } + createEvent(detail) { + return new CustomEvent(this.eventName, { + ...this.options, + detail, + }); + } + dispatch(element, detail) { + const event = this.createEvent(detail); + element.dispatchEvent(event); + return event; + } + listen(element, callback, options) { + const handler = (event) => { + callback(event); + }; + return on(element, this.eventName, handler, options); + } +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/floating-svelte/floating-utils.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/floating-svelte/floating-utils.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..4e225f012ef28fa864b1d4ea804c07d7e6202488 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/floating-svelte/floating-utils.svelte.d.ts @@ -0,0 +1,7 @@ +import type { MaybeGetter } from "svelte-toolbelt"; +export declare function get(valueOrGetValue: MaybeGetter): T; +export declare function getDPR(element: Element): number; +export declare function roundByDPR(element: Element, value: number): number; +export declare function getFloatingContentCSSVars(name: string): { + [x: string]: string; +}; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/floating-svelte/floating-utils.svelte.js b/tools/ui/node_modules/bits-ui/dist/internal/floating-svelte/floating-utils.svelte.js new file mode 100644 index 0000000000000000000000000000000000000000..fc0194775a34d7cf1ea73730872acc622a024bae --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/floating-svelte/floating-utils.svelte.js @@ -0,0 +1,24 @@ +export function get(valueOrGetValue) { + return typeof valueOrGetValue === "function" + ? valueOrGetValue() + : valueOrGetValue; +} +export function getDPR(element) { + if (typeof window === "undefined") + return 1; + const win = element.ownerDocument.defaultView || window; + return win.devicePixelRatio || 1; +} +export function roundByDPR(element, value) { + const dpr = getDPR(element); + return Math.round(value * dpr) / dpr; +} +export function getFloatingContentCSSVars(name) { + return { + [`--bits-${name}-content-transform-origin`]: `var(--bits-floating-transform-origin)`, + [`--bits-${name}-content-available-width`]: `var(--bits-floating-available-width)`, + [`--bits-${name}-content-available-height`]: `var(--bits-floating-available-height)`, + [`--bits-${name}-anchor-width`]: `var(--bits-floating-anchor-width)`, + [`--bits-${name}-anchor-height`]: `var(--bits-floating-anchor-height)`, + }; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/floating-svelte/types.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/floating-svelte/types.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..9a0fd4e4bece0cc4bea4f755b9d9a91a1b17a2ad --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/floating-svelte/types.d.ts @@ -0,0 +1,97 @@ +import type { FloatingElement, Middleware, MiddlewareData, Placement, ReferenceElement, Strategy } from "@floating-ui/dom"; +import type { ReadableBox, WritableBox } from "svelte-toolbelt"; +type ValueOrGetValue = T | (() => T); +export type Measurable = { + getBoundingClientRect: () => DOMRect; +}; +export type UseFloatingOptions = { + /** + * Represents the open/close state of the floating element. + * @default true + */ + open?: ValueOrGetValue; + /** + * Where to place the floating element relative to its reference element. + * @default 'bottom' + */ + placement?: ValueOrGetValue; + /** + * The type of CSS position property to use. + * @default 'absolute' + */ + strategy?: ValueOrGetValue; + /** + * These are plain objects that modify the positioning coordinates in some fashion, + * or provide useful data for the consumer to use. + * @default undefined + */ + middleware?: ValueOrGetValue; + /** + * Whether to use `transform` instead of `top` and `left` styles to + * position the floating element (`floatingStyles`). + * @default true + */ + transform?: ValueOrGetValue; + /** + * Reference / Anchor element to position the floating element relative to + */ + reference: ReadableBox; + /** + * Callback to handle mounting/unmounting of the elements. + * @default undefined + */ + whileElementsMounted?: (reference: ReferenceElement, floating: FloatingElement, update: () => void) => () => void; + /** + * The offset from the reference element along the side axis. + * Used to detect bad coordinates during transitions. + * @default undefined + */ + sideOffset?: ValueOrGetValue; + /** + * The offset from the reference element along the alignment axis. + * Used to detect bad coordinates during transitions. + * @default undefined + */ + alignOffset?: ValueOrGetValue; +}; +export type UseFloatingReturn = { + /** + * The reference element to position the floating element relative to. + */ + reference: ReadableBox; + /** + * The floating element to position. + */ + floating: WritableBox; + /** + * The stateful placement, which can be different from the initial `placement` passed as options. + */ + placement: Readonly; + /** + * The type of CSS position property to use. + */ + strategy: Readonly; + /** + * Additional data from middleware. + */ + middlewareData: Readonly; + /** + * The boolean that let you know if the floating element has been positioned. + */ + isPositioned: Readonly; + /** + * CSS styles to apply to the floating element to position it. + */ + floatingStyles: Readonly<{ + position: Strategy; + top: string; + left: string; + transform?: string; + willChange?: string; + }>; + /** + * The function to update floating position manually. + */ + update: () => void; +}; +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/floating-svelte/types.js b/tools/ui/node_modules/bits-ui/dist/internal/floating-svelte/types.js new file mode 100644 index 0000000000000000000000000000000000000000..cb0ff5c3b541f646105198ee23ac0fc3d805023e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/floating-svelte/types.js @@ -0,0 +1 @@ +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/floating-svelte/use-floating.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/floating-svelte/use-floating.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..4396c02025a4d949400190ddc40c7a1938d0cee3 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/floating-svelte/use-floating.svelte.d.ts @@ -0,0 +1,2 @@ +import type { UseFloatingOptions, UseFloatingReturn } from "./types.js"; +export declare function useFloating(options: UseFloatingOptions): UseFloatingReturn; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/floating-svelte/use-floating.svelte.js b/tools/ui/node_modules/bits-ui/dist/internal/floating-svelte/use-floating.svelte.js new file mode 100644 index 0000000000000000000000000000000000000000..560b5fef89c84afed0062e1b84e517795d06f93e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/floating-svelte/use-floating.svelte.js @@ -0,0 +1,192 @@ +import { computePosition } from "@floating-ui/dom"; +import { simpleBox } from "svelte-toolbelt"; +import { get, getDPR, roundByDPR } from "./floating-utils.svelte.js"; +export function useFloating(options) { + /** Options */ + const whileElementsMountedOption = options.whileElementsMounted; + const openOption = $derived(get(options.open) ?? true); + const middlewareOption = $derived(get(options.middleware)); + const transformOption = $derived(get(options.transform) ?? true); + const placementOption = $derived(get(options.placement) ?? "bottom"); + const strategyOption = $derived(get(options.strategy) ?? "absolute"); + const sideOffsetOption = $derived(get(options.sideOffset) ?? 0); + const alignOffsetOption = $derived(get(options.alignOffset) ?? 0); + const reference = options.reference; + /** State */ + let x = $state(0); + let y = $state(0); + const floating = simpleBox(null); + // svelte-ignore state_referenced_locally + let strategy = $state(strategyOption); + // svelte-ignore state_referenced_locally + let placement = $state(placementOption); + let middlewareData = $state({}); + let isPositioned = $state(false); + let hasWhileMountedPosition = false; + let updateRequestId = 0; + const floatingStyles = $derived.by(() => { + // preserve last known position when floating ref is null (during transitions) + const xVal = floating.current ? roundByDPR(floating.current, x) : x; + const yVal = floating.current ? roundByDPR(floating.current, y) : y; + if (transformOption) { + return { + position: strategy, + left: "0", + top: "0", + transform: `translate(${xVal}px, ${yVal}px)`, + ...(floating.current && + getDPR(floating.current) >= 1.5 && { + willChange: "transform", + }), + }; + } + return { + position: strategy, + left: `${xVal}px`, + top: `${yVal}px`, + }; + }); + /** Effects */ + let whileElementsMountedCleanup; + function update() { + if (reference.current === null || floating.current === null) + return; + const referenceNode = reference.current; + const floatingNode = floating.current; + const requestId = ++updateRequestId; + computePosition(referenceNode, floatingNode, { + middleware: middlewareOption, + placement: placementOption, + strategy: strategyOption, + }).then((position) => { + // ignore stale async resolutions when newer updates were requested. + if (requestId !== updateRequestId) + return; + // ignore stale resolutions after ref replacement. + if (reference.current !== referenceNode || floating.current !== floatingNode) + return; + const referenceHidden = isReferenceHidden(referenceNode); + if (referenceHidden) { + // keep last good coordinates when the anchor disappears to avoid + // a transient jump to viewport origin before close propagates. + middlewareData = { + ...middlewareData, + hide: { + // oxlint-disable-next-line no-explicit-any + ...middlewareData.hide, + referenceHidden: true, + }, + }; + return; + } + // ignore bad coordinates that cause jumping during close transitions + if (!openOption && x !== 0 && y !== 0) { + // if we had a good position and now getting coordinates near + // the expected offset bounds during close, ignore it + const maxExpectedOffset = Math.max(Math.abs(sideOffsetOption), Math.abs(alignOffsetOption), 15); + if (position.x <= maxExpectedOffset && position.y <= maxExpectedOffset) + return; + } + x = position.x; + y = position.y; + strategy = position.strategy; + placement = position.placement; + middlewareData = position.middlewareData; + isPositioned = true; + }); + } + function cleanup() { + if (typeof whileElementsMountedCleanup === "function") { + whileElementsMountedCleanup(); + whileElementsMountedCleanup = undefined; + } + updateRequestId++; + } + function attach() { + cleanup(); + if (whileElementsMountedOption === undefined) { + update(); + return; + } + if (!openOption) + return; + if (reference.current === null || floating.current === null) + return; + whileElementsMountedCleanup = whileElementsMountedOption(reference.current, floating.current, update); + } + function reset() { + if (!openOption && floating.current === null) { + isPositioned = false; + } + } + function trackWhileMountedDeps() { + return [ + middlewareOption, + placementOption, + strategyOption, + sideOffsetOption, + alignOffsetOption, + openOption, + ]; + } + $effect(() => { + if (whileElementsMountedOption !== undefined) + return; + if (!openOption) + return; + update(); + }); + $effect(attach); + $effect(() => { + if (whileElementsMountedOption === undefined) + return; + trackWhileMountedDeps(); + if (!openOption) { + hasWhileMountedPosition = false; + return; + } + if (!isPositioned) { + hasWhileMountedPosition = false; + return; + } + // skip the first post-position run, since autoUpdate already computed it + if (!hasWhileMountedPosition) { + hasWhileMountedPosition = true; + return; + } + update(); + }); + $effect(reset); + $effect(() => cleanup); + return { + floating, + reference, + get strategy() { + return strategy; + }, + get placement() { + return placement; + }, + get middlewareData() { + return middlewareData; + }, + get isPositioned() { + return isPositioned; + }, + get floatingStyles() { + return floatingStyles; + }, + get update() { + return update; + }, + }; +} +function isReferenceHidden(node) { + if (!(node instanceof Element)) + return false; + if (!node.isConnected) + return true; + if (node instanceof HTMLElement && node.hidden) + return true; + return node.getClientRects().length === 0; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/focus.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/focus.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d8a4c3512a56718f3b4ab30d841d6f1cff5b78b5 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/focus.d.ts @@ -0,0 +1,46 @@ +export type FocusableTarget = HTMLElement | { + focus: () => void; +}; +/** + * Handles `initialFocus` prop behavior for the + * Calendar & RangeCalendar components. + */ +export declare function handleCalendarInitialFocus(calendar: HTMLElement): void; +/** + * A utility function that focuses an element without scrolling. + */ +export declare function focusWithoutScroll(element: HTMLElement): void; +/** + * A utility function that focuses an element. + */ +export declare function focus(element?: FocusableTarget | null, { select }?: { + select?: boolean | undefined; +}): void; +/** + * Attempts to focus the first element in a list of candidates. + * Stops when focus is successful. + */ +export declare function focusFirst(candidates: HTMLElement[], { select }: { + select?: boolean | undefined; +} | undefined, getActiveElement: () => HTMLElement | null): true | undefined; +/** + * Returns the first visible element in a list. + * NOTE: Only checks visibility up to the `container`. + */ +export declare function findVisible(elements: HTMLElement[], container: HTMLElement): HTMLElement | undefined; +/** + * Returns a list of potential tabbable candidates. + * + * NOTE: This is only a close approximation. For example it doesn't take into account cases like when + * elements are not visible. This cannot be worked out easily by just reading a property, but rather + * necessitate runtime knowledge (computed styles, etc). We deal with these cases separately. + * + * See: https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker + * Credit: https://github.com/discord/focus-layers/blob/master/src/util/wrapFocus.tsx#L1 + */ +export declare function getTabbableCandidates(container: HTMLElement): HTMLElement[]; +/** + * A utility function that returns the first and last elements within a container that are + * visible and focusable. + */ +export declare function getTabbableEdges(container: HTMLElement): readonly [HTMLElement | undefined, HTMLElement | undefined]; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/focus.js b/tools/ui/node_modules/bits-ui/dist/internal/focus.js new file mode 100644 index 0000000000000000000000000000000000000000..be0227c44c2b4ce1992013e35c48d7d393735ace --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/focus.js @@ -0,0 +1,113 @@ +import { getDocument, getWindow } from "svelte-toolbelt"; +import { isBrowser, isElementHidden, isSelectableInput } from "./is.js"; +/** + * Handles `initialFocus` prop behavior for the + * Calendar & RangeCalendar components. + */ +export function handleCalendarInitialFocus(calendar) { + if (!isBrowser) + return; + const selectedDay = calendar.querySelector("[data-selected]"); + if (selectedDay) + return focusWithoutScroll(selectedDay); + const today = calendar.querySelector("[data-today]"); + if (today) + return focusWithoutScroll(today); + const firstDay = calendar.querySelector("[data-calendar-date]"); + if (firstDay) + return focusWithoutScroll(firstDay); +} +/** + * A utility function that focuses an element without scrolling. + */ +export function focusWithoutScroll(element) { + const doc = getDocument(element); + const win = getWindow(element); + const scrollPosition = { + x: win.pageXOffset || doc.documentElement.scrollLeft, + y: win.pageYOffset || doc.documentElement.scrollTop, + }; + element.focus(); + win.scrollTo(scrollPosition.x, scrollPosition.y); +} +/** + * A utility function that focuses an element. + */ +export function focus(element, { select = false } = {}) { + if (!element || !element.focus) + return; + const doc = getDocument(element); + if (doc.activeElement === element) + return; + const previouslyFocusedElement = doc.activeElement; + // prevent scroll on focus + element.focus({ preventScroll: true }); + // only elect if its not the same element, it supports selection, and we need to select it + if (element !== previouslyFocusedElement && isSelectableInput(element) && select) { + element.select(); + } +} +/** + * Attempts to focus the first element in a list of candidates. + * Stops when focus is successful. + */ +export function focusFirst(candidates, { select = false } = {}, getActiveElement) { + const previouslyFocusedElement = getActiveElement(); + for (const candidate of candidates) { + focus(candidate, { select }); + if (getActiveElement() !== previouslyFocusedElement) + return true; + } +} +/** + * Returns the first visible element in a list. + * NOTE: Only checks visibility up to the `container`. + */ +export function findVisible(elements, container) { + for (const element of elements) { + // we stop checking if it's hidden at the `container` level (excluding) + if (!isElementHidden(element, container)) + return element; + } +} +/** + * Returns a list of potential tabbable candidates. + * + * NOTE: This is only a close approximation. For example it doesn't take into account cases like when + * elements are not visible. This cannot be worked out easily by just reading a property, but rather + * necessitate runtime knowledge (computed styles, etc). We deal with these cases separately. + * + * See: https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker + * Credit: https://github.com/discord/focus-layers/blob/master/src/util/wrapFocus.tsx#L1 + */ +export function getTabbableCandidates(container) { + const nodes = []; + const doc = getDocument(container); + const walker = doc.createTreeWalker(container, NodeFilter.SHOW_ELEMENT, { + // oxlint-disable-next-line no-explicit-any + acceptNode: (node) => { + const isHiddenInput = node.tagName === "INPUT" && node.type === "hidden"; + if (node.disabled || node.hidden || isHiddenInput) + return NodeFilter.FILTER_SKIP; + // `.tabIndex` is not the same as the `tabindex` attribute. It works on the + // runtime's understanding of tabbability, so this automatically accounts + // for any kind of element that could be tabbed to. + return node.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP; + }, + }); + while (walker.nextNode()) + nodes.push(walker.currentNode); + // we do not take into account the order of nodes with positive `tabIndex` as it + // hinders accessibility to have tab order different from visual order. + return nodes; +} +/** + * A utility function that returns the first and last elements within a container that are + * visible and focusable. + */ +export function getTabbableEdges(container) { + const candidates = getTabbableCandidates(container); + const first = findVisible(candidates, container); + const last = findVisible(candidates.reverse(), container); + return [first, last]; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/get-directional-keys.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/get-directional-keys.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..26d52bbed229099206a57c9c015d2ebb458891eb --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/get-directional-keys.d.ts @@ -0,0 +1,21 @@ +import type { Direction, Orientation } from "../shared/index.js"; +export declare const FIRST_KEYS: string[]; +export declare const LAST_KEYS: string[]; +export declare const FIRST_LAST_KEYS: string[]; +export declare const SELECTION_KEYS: string[]; +/** + * A utility function that returns the next key based on the direction and orientation. + */ +export declare function getNextKey(dir?: Direction, orientation?: Orientation): string; +/** + * A utility function that returns the previous key based on the direction and orientation. + */ +export declare function getPrevKey(dir?: Direction, orientation?: Orientation): string; +/** + * A utility function that returns the next and previous keys based on the direction + * and orientation. + */ +export declare function getDirectionalKeys(dir?: Direction, orientation?: Orientation): { + nextKey: string; + prevKey: string; +}; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/get-directional-keys.js b/tools/ui/node_modules/bits-ui/dist/internal/get-directional-keys.js new file mode 100644 index 0000000000000000000000000000000000000000..4aeb62ccf00a465d809ed4bbb0b398824ab517a0 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/get-directional-keys.js @@ -0,0 +1,37 @@ +import { kbd } from "./kbd.js"; +export const FIRST_KEYS = [kbd.ARROW_DOWN, kbd.PAGE_UP, kbd.HOME]; +export const LAST_KEYS = [kbd.ARROW_UP, kbd.PAGE_DOWN, kbd.END]; +export const FIRST_LAST_KEYS = [...FIRST_KEYS, ...LAST_KEYS]; +export const SELECTION_KEYS = [kbd.SPACE, kbd.ENTER]; +/** + * A utility function that returns the next key based on the direction and orientation. + */ +export function getNextKey(dir = "ltr", orientation = "horizontal") { + return { + horizontal: dir === "rtl" ? kbd.ARROW_LEFT : kbd.ARROW_RIGHT, + vertical: kbd.ARROW_DOWN, + }[orientation]; +} +/** + * A utility function that returns the previous key based on the direction and orientation. + */ +export function getPrevKey(dir = "ltr", orientation = "horizontal") { + return { + horizontal: dir === "rtl" ? kbd.ARROW_RIGHT : kbd.ARROW_LEFT, + vertical: kbd.ARROW_UP, + }[orientation]; +} +/** + * A utility function that returns the next and previous keys based on the direction + * and orientation. + */ +export function getDirectionalKeys(dir = "ltr", orientation = "horizontal") { + if (!["ltr", "rtl"].includes(dir)) + dir = "ltr"; + if (!["horizontal", "vertical"].includes(orientation)) + orientation = "horizontal"; + return { + nextKey: getNextKey(dir, orientation), + prevKey: getPrevKey(dir, orientation), + }; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/grace-area.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/grace-area.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6f3f9382c277ac9b678416e88c1160dd277ecc24 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/grace-area.svelte.d.ts @@ -0,0 +1,14 @@ +import { type Getter } from "svelte-toolbelt"; +interface GraceAreaOptions { + enabled: Getter; + triggerNode: Getter; + contentNode: Getter; + onPointerExit: () => void; + setIsPointerInTransit?: (value: boolean) => void; + transitTimeout?: number; +} +export declare class GraceArea { + #private; + constructor(opts: GraceAreaOptions); +} +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/grace-area.svelte.js b/tools/ui/node_modules/bits-ui/dist/internal/grace-area.svelte.js new file mode 100644 index 0000000000000000000000000000000000000000..07524f2197cdec2907174c97044160f024dd4394 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/grace-area.svelte.js @@ -0,0 +1,208 @@ +import { executeCallbacks, getDocument, getWindow, } from "svelte-toolbelt"; +import { on } from "svelte/events"; +import { watch } from "runed"; +import { boxAutoReset } from "./box-auto-reset.svelte.js"; +import { isElement, isHTMLElement } from "./is.js"; +export class GraceArea { + #opts; + #enabled; + #isPointerInTransit; + #pointerGraceArea = $state(null); + constructor(opts) { + this.#opts = opts; + this.#enabled = $derived(this.#opts.enabled()); + this.#isPointerInTransit = boxAutoReset(false, { + afterMs: opts.transitTimeout ?? 300, + onChange: (value) => { + if (!this.#enabled) + return; + this.#opts.setIsPointerInTransit?.(value); + }, + getWindow: () => getWindow(this.#opts.triggerNode()), + }); + watch([opts.triggerNode, opts.contentNode, opts.enabled], ([triggerNode, contentNode, enabled]) => { + if (!triggerNode || !contentNode || !enabled) + return; + const handleTriggerLeave = (e) => { + this.#createGraceArea(e, contentNode); + }; + const handleContentLeave = (e) => { + this.#createGraceArea(e, triggerNode); + }; + return executeCallbacks(on(triggerNode, "pointerleave", handleTriggerLeave), on(contentNode, "pointerleave", handleContentLeave)); + }); + watch(() => this.#pointerGraceArea, () => { + const handleTrackPointerGrace = (e) => { + if (!this.#pointerGraceArea) + return; + const target = e.target; + if (!isElement(target)) + return; + const pointerPosition = { x: e.clientX, y: e.clientY }; + const hasEnteredTarget = opts.triggerNode()?.contains(target) || + opts.contentNode()?.contains(target); + const isPointerOutsideGraceArea = !isPointInPolygon(pointerPosition, this.#pointerGraceArea); + if (hasEnteredTarget) { + this.#removeGraceArea(); + } + else if (isPointerOutsideGraceArea) { + this.#removeGraceArea(); + opts.onPointerExit(); + } + }; + const doc = getDocument(opts.triggerNode() ?? opts.contentNode()); + if (!doc) + return; + return on(doc, "pointermove", handleTrackPointerGrace); + }); + } + #removeGraceArea() { + this.#pointerGraceArea = null; + this.#isPointerInTransit.current = false; + } + #createGraceArea(e, hoverTarget) { + const currentTarget = e.currentTarget; + if (!isHTMLElement(currentTarget)) + return; + const exitPoint = { x: e.clientX, y: e.clientY }; + const exitSide = getExitSideFromRect(exitPoint, currentTarget.getBoundingClientRect()); + const paddedExitPoints = getPaddedExitPoints(exitPoint, exitSide); + const hoverTargetPoints = getPointsFromRect(hoverTarget.getBoundingClientRect()); + const graceArea = getHull([...paddedExitPoints, ...hoverTargetPoints]); + this.#pointerGraceArea = graceArea; + this.#isPointerInTransit.current = true; + } +} +function getExitSideFromRect(point, rect) { + const top = Math.abs(rect.top - point.y); + const bottom = Math.abs(rect.bottom - point.y); + const right = Math.abs(rect.right - point.x); + const left = Math.abs(rect.left - point.x); + switch (Math.min(top, bottom, right, left)) { + case left: + return "left"; + case right: + return "right"; + case top: + return "top"; + case bottom: + return "bottom"; + default: + throw new Error("unreachable"); + } +} +function getPaddedExitPoints(exitPoint, exitSide, padding = 5) { + // we extend the tip of the exit point to make it easier to navigate without + // a minor jitter triggering a pointer exit + const tipPadding = padding * 1.5; + switch (exitSide) { + case "top": + return [ + { x: exitPoint.x - padding, y: exitPoint.y + padding }, + { x: exitPoint.x, y: exitPoint.y - tipPadding }, + { x: exitPoint.x + padding, y: exitPoint.y + padding }, + ]; + case "bottom": + return [ + { x: exitPoint.x - padding, y: exitPoint.y - padding }, + { x: exitPoint.x, y: exitPoint.y + tipPadding }, + { x: exitPoint.x + padding, y: exitPoint.y - padding }, + ]; + case "left": + return [ + { x: exitPoint.x + padding, y: exitPoint.y - padding }, + { x: exitPoint.x - tipPadding, y: exitPoint.y }, + { x: exitPoint.x + padding, y: exitPoint.y + padding }, + ]; + case "right": + return [ + { x: exitPoint.x - padding, y: exitPoint.y - padding }, + { x: exitPoint.x + tipPadding, y: exitPoint.y }, + { x: exitPoint.x - padding, y: exitPoint.y + padding }, + ]; + } +} +function getPointsFromRect(rect) { + const { top, right, bottom, left } = rect; + return [ + { x: left, y: top }, + { x: right, y: top }, + { x: right, y: bottom }, + { x: left, y: bottom }, + ]; +} +// Determine if a point is inside of a polygon. +// Based on https://github.com/substack/point-in-polygon +function isPointInPolygon(point, polygon) { + const { x, y } = point; + let inside = false; + for (let i = 0, j = polygon.length - 1; i < polygon.length; j = i++) { + const xi = polygon[i].x; + const yi = polygon[i].y; + const xj = polygon[j].x; + const yj = polygon[j].y; + // prettier-ignore + const intersect = ((yi > y) !== (yj > y)) && (x < (xj - xi) * (y - yi) / (yj - yi) + xi); + if (intersect) + inside = !inside; + } + return inside; +} +// Returns a new array of points representing the convex hull of the given set of points. +// https://www.nayuki.io/page/convex-hull-algorithm +function getHull(points) { + const newPoints = points.slice(); + newPoints.sort((a, b) => { + if (a.x < b.x) + return -1; + else if (a.x > b.x) + return +1; + else if (a.y < b.y) + return -1; + else if (a.y > b.y) + return +1; + else + return 0; + }); + return getHullPresorted(newPoints); +} +// Returns the convex hull, assuming that each points[i] <= points[i + 1]. Runs in O(n) time. +function getHullPresorted(points) { + if (points.length <= 1) + return points.slice(); + const upperHull = []; + for (let i = 0; i < points.length; i++) { + const p = points[i]; + while (upperHull.length >= 2) { + const q = upperHull[upperHull.length - 1]; + const r = upperHull[upperHull.length - 2]; + if ((q.x - r.x) * (p.y - r.y) >= (q.y - r.y) * (p.x - r.x)) + upperHull.pop(); + else + break; + } + upperHull.push(p); + } + upperHull.pop(); + const lowerHull = []; + for (let i = points.length - 1; i >= 0; i--) { + const p = points[i]; + while (lowerHull.length >= 2) { + const q = lowerHull[lowerHull.length - 1]; + const r = lowerHull[lowerHull.length - 2]; + if ((q.x - r.x) * (p.y - r.y) >= (q.y - r.y) * (p.x - r.x)) + lowerHull.pop(); + else + break; + } + lowerHull.push(p); + } + lowerHull.pop(); + if (upperHull.length === 1 && + lowerHull.length === 1 && + upperHull[0].x === lowerHull[0].x && + upperHull[0].y === lowerHull[0].y) + return upperHull; + else + return upperHull.concat(lowerHull); +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/is.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/is.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..c9db1d5549f12ef468090f69061c7c34d0aafcca --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/is.d.ts @@ -0,0 +1,25 @@ +import type { FocusableTarget } from "./focus.js"; +export declare const isBrowser: boolean; +export declare const isIOS: boolean | ""; +export declare function isFunction(value: unknown): value is (...args: unknown[]) => unknown; +export declare function isHTMLElement(element: unknown): element is HTMLElement; +export declare function isElement(element: unknown): element is Element; +export declare function isElementOrSVGElement(element: unknown): element is Element | SVGElement; +export declare function isNumberString(value: string): boolean; +export declare function isNull(value: unknown): value is null; +export declare function isTouch(e: PointerEvent): boolean; +export declare function isFocusVisible(element: Element): boolean; +export declare function isNotNull(value: T | null): value is T; +/** + * Determines if the provided object is a valid `HTMLInputElement` with + * a `select` method available. + */ +export declare function isSelectableInput(element: unknown): element is FocusableTarget & { + select: () => void; +}; +/** + * Given a node, determine if it is hidden by walking up the + * DOM tree until we hit the `stopAt` node (exclusive), if provided) + * otherwise we stop at the document root. + */ +export declare function isElementHidden(node: HTMLElement, stopAt?: HTMLElement): boolean; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/is.js b/tools/ui/node_modules/bits-ui/dist/internal/is.js new file mode 100644 index 0000000000000000000000000000000000000000..19d8f516ceafe0f117f45f3149bb15f5a3794fde --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/is.js @@ -0,0 +1,62 @@ +export const isBrowser = typeof document !== "undefined"; +export const isIOS = getIsIOS(); +function getIsIOS() { + return (isBrowser && + window?.navigator?.userAgent && + (/iP(ad|hone|od)/.test(window.navigator.userAgent) || + // The new iPad Pro Gen3 does not identify itself as iPad, but as Macintosh. + (window?.navigator?.maxTouchPoints > 2 && + /iPad|Macintosh/.test(window?.navigator.userAgent)))); +} +export function isFunction(value) { + return typeof value === "function"; +} +export function isHTMLElement(element) { + return element instanceof HTMLElement; +} +export function isElement(element) { + return element instanceof Element; +} +export function isElementOrSVGElement(element) { + return element instanceof Element || element instanceof SVGElement; +} +export function isNumberString(value) { + return !Number.isNaN(Number(value)) && !Number.isNaN(Number.parseFloat(value)); +} +export function isNull(value) { + return value === null; +} +export function isTouch(e) { + return e.pointerType === "touch"; +} +export function isFocusVisible(element) { + return element.matches(":focus-visible"); +} +export function isNotNull(value) { + return value !== null; +} +/** + * Determines if the provided object is a valid `HTMLInputElement` with + * a `select` method available. + */ +export function isSelectableInput(element) { + return element instanceof HTMLInputElement && "select" in element; +} +/** + * Given a node, determine if it is hidden by walking up the + * DOM tree until we hit the `stopAt` node (exclusive), if provided) + * otherwise we stop at the document root. + */ +export function isElementHidden(node, stopAt) { + if (getComputedStyle(node).visibility === "hidden") + return true; + while (node) { + // we stop at `upTo` (excluding it) + if (stopAt !== undefined && node === stopAt) + return false; + if (getComputedStyle(node).display === "none") + return true; + node = node.parentElement; + } + return false; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/kbd-constants.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/kbd-constants.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..3595d519db8a147e5f191af18cf026ba9da00751 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/kbd-constants.d.ts @@ -0,0 +1,42 @@ +export declare const ALT = "Alt"; +export declare const ARROW_DOWN = "ArrowDown"; +export declare const ARROW_LEFT = "ArrowLeft"; +export declare const ARROW_RIGHT = "ArrowRight"; +export declare const ARROW_UP = "ArrowUp"; +export declare const BACKSPACE = "Backspace"; +export declare const CAPS_LOCK = "CapsLock"; +export declare const CONTROL = "Control"; +export declare const DELETE = "Delete"; +export declare const END = "End"; +export declare const ENTER = "Enter"; +export declare const ESCAPE = "Escape"; +export declare const F1 = "F1"; +export declare const F10 = "F10"; +export declare const F11 = "F11"; +export declare const F12 = "F12"; +export declare const F2 = "F2"; +export declare const F3 = "F3"; +export declare const F4 = "F4"; +export declare const F5 = "F5"; +export declare const F6 = "F6"; +export declare const F7 = "F7"; +export declare const F8 = "F8"; +export declare const F9 = "F9"; +export declare const HOME = "Home"; +export declare const META = "Meta"; +export declare const PAGE_DOWN = "PageDown"; +export declare const PAGE_UP = "PageUp"; +export declare const SHIFT = "Shift"; +export declare const SPACE = " "; +export declare const TAB = "Tab"; +export declare const CTRL = "Control"; +export declare const ASTERISK = "*"; +export declare const a = "a"; +export declare const P = "P"; +export declare const A = "A"; +export declare const p = "p"; +export declare const n = "n"; +export declare const j = "j"; +export declare const k = "k"; +export declare const h = "h"; +export declare const l = "l"; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/kbd-constants.js b/tools/ui/node_modules/bits-ui/dist/internal/kbd-constants.js new file mode 100644 index 0000000000000000000000000000000000000000..bf2d829f6e70986ee371fe220d85776eb586a2f9 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/kbd-constants.js @@ -0,0 +1,42 @@ +export const ALT = "Alt"; +export const ARROW_DOWN = "ArrowDown"; +export const ARROW_LEFT = "ArrowLeft"; +export const ARROW_RIGHT = "ArrowRight"; +export const ARROW_UP = "ArrowUp"; +export const BACKSPACE = "Backspace"; +export const CAPS_LOCK = "CapsLock"; +export const CONTROL = "Control"; +export const DELETE = "Delete"; +export const END = "End"; +export const ENTER = "Enter"; +export const ESCAPE = "Escape"; +export const F1 = "F1"; +export const F10 = "F10"; +export const F11 = "F11"; +export const F12 = "F12"; +export const F2 = "F2"; +export const F3 = "F3"; +export const F4 = "F4"; +export const F5 = "F5"; +export const F6 = "F6"; +export const F7 = "F7"; +export const F8 = "F8"; +export const F9 = "F9"; +export const HOME = "Home"; +export const META = "Meta"; +export const PAGE_DOWN = "PageDown"; +export const PAGE_UP = "PageUp"; +export const SHIFT = "Shift"; +export const SPACE = " "; +export const TAB = "Tab"; +export const CTRL = "Control"; +export const ASTERISK = "*"; +export const a = "a"; +export const P = "P"; +export const A = "A"; +export const p = "p"; +export const n = "n"; +export const j = "j"; +export const k = "k"; +export const h = "h"; +export const l = "l"; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/kbd.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/kbd.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..234e29b348c286f6ff75a652dc1e21470f617be1 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/kbd.d.ts @@ -0,0 +1 @@ +export * as kbd from "./kbd-constants.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/kbd.js b/tools/ui/node_modules/bits-ui/dist/internal/kbd.js new file mode 100644 index 0000000000000000000000000000000000000000..234e29b348c286f6ff75a652dc1e21470f617be1 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/kbd.js @@ -0,0 +1 @@ +export * as kbd from "./kbd-constants.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/locale.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/locale.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..73d625cd3c75f5a2f3a63c11669f049686d99d9f --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/locale.d.ts @@ -0,0 +1,6 @@ +import type { Direction } from "../shared/index.js"; +/** + * Detects the text direction in the element. + * @returns {Direction} The text direction ('ltr' for left-to-right or 'rtl' for right-to-left). + */ +export declare function getElemDirection(elem: HTMLElement): Direction; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/locale.js b/tools/ui/node_modules/bits-ui/dist/internal/locale.js new file mode 100644 index 0000000000000000000000000000000000000000..1f1f9bc4c6ff55a0b4491197bd130453aa5f2b5a --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/locale.js @@ -0,0 +1,9 @@ +/** + * Detects the text direction in the element. + * @returns {Direction} The text direction ('ltr' for left-to-right or 'rtl' for right-to-left). + */ +export function getElemDirection(elem) { + const style = window.getComputedStyle(elem); + const direction = style.getPropertyValue("direction"); + return direction; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/math.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/math.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d3fbad0a06c01d58efcb67e7f5564f3e6d5617c3 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/math.d.ts @@ -0,0 +1 @@ +export declare function linearScale(domain: [number, number], range: [number, number], clamp?: boolean): (x: number) => number; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/math.js b/tools/ui/node_modules/bits-ui/dist/internal/math.js new file mode 100644 index 0000000000000000000000000000000000000000..bb224d73b8666bd1e8a642e50a4e4731d6727518 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/math.js @@ -0,0 +1,15 @@ +export function linearScale(domain, range, clamp = true) { + const [d0, d1] = domain; + const [r0, r1] = range; + const slope = (r1 - r0) / (d1 - d0); + return (x) => { + const result = r0 + slope * (x - d0); + if (!clamp) + return result; + if (result > Math.max(r0, r1)) + return Math.max(r0, r1); + if (result < Math.min(r0, r1)) + return Math.min(r0, r1); + return result; + }; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/noop.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/noop.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..a748ca2338b85b2341d3634843796394084c0ec6 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/noop.d.ts @@ -0,0 +1,4 @@ +/** + * A no operation function (does nothing) + */ +export declare function noop(): void; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/noop.js b/tools/ui/node_modules/bits-ui/dist/internal/noop.js new file mode 100644 index 0000000000000000000000000000000000000000..25475718c58a5e3b36e1907f79bd39d2dc66d579 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/noop.js @@ -0,0 +1,4 @@ +/** + * A no operation function (does nothing) + */ +export function noop() { } diff --git a/tools/ui/node_modules/bits-ui/dist/internal/presence-manager.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/presence-manager.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..3888be7254aca396351608e07671f086f4a508f4 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/presence-manager.svelte.d.ts @@ -0,0 +1,17 @@ +import { type ReadableBoxedValues } from "svelte-toolbelt"; +import type { TransitionState } from "./attrs.js"; +interface PresenceManagerOpts extends ReadableBoxedValues<{ + open: boolean; + ref: HTMLElement | null; +}> { + onComplete?: () => void; + enabled?: boolean; + shouldSkipExitAnimation?: () => boolean; +} +export declare class PresenceManager { + #private; + constructor(opts: PresenceManagerOpts); + get shouldRender(): boolean; + get transitionStatus(): TransitionState; +} +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/presence-manager.svelte.js b/tools/ui/node_modules/bits-ui/dist/internal/presence-manager.svelte.js new file mode 100644 index 0000000000000000000000000000000000000000..1e7dd9c7a5cf1896eef933b64a77dd6d502bad8b --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/presence-manager.svelte.js @@ -0,0 +1,75 @@ +import { watch } from "runed"; +import { onDestroyEffect } from "svelte-toolbelt"; +import { AnimationsComplete } from "./animations-complete.js"; +export class PresenceManager { + #opts; + #enabled; + #afterAnimations; + #shouldRender = $state(false); + #transitionStatus = $state(undefined); + #hasMounted = false; + #transitionFrame = null; + constructor(opts) { + this.#opts = opts; + this.#shouldRender = opts.open.current; + this.#enabled = opts.enabled ?? true; + this.#afterAnimations = new AnimationsComplete({ + ref: this.#opts.ref, + afterTick: this.#opts.open, + }); + onDestroyEffect(() => this.#clearTransitionFrame()); + watch(() => this.#opts.open.current, (isOpen) => { + if (!this.#hasMounted) { + this.#hasMounted = true; + return; + } + this.#clearTransitionFrame(); + if (!isOpen && this.#opts.shouldSkipExitAnimation?.()) { + this.#shouldRender = false; + this.#transitionStatus = undefined; + this.#opts.onComplete?.(); + return; + } + if (isOpen) + this.#shouldRender = true; + this.#transitionStatus = isOpen ? "starting" : "ending"; + if (isOpen) { + this.#transitionFrame = window.requestAnimationFrame(() => { + this.#transitionFrame = null; + if (this.#opts.open.current) { + this.#transitionStatus = undefined; + } + }); + } + if (!this.#enabled) { + if (!isOpen) { + this.#shouldRender = false; + } + this.#transitionStatus = undefined; + this.#opts.onComplete?.(); + return; + } + this.#afterAnimations.run(() => { + if (isOpen === this.#opts.open.current) { + if (!this.#opts.open.current) { + this.#shouldRender = false; + } + this.#transitionStatus = undefined; + this.#opts.onComplete?.(); + } + }); + }); + } + get shouldRender() { + return this.#shouldRender; + } + get transitionStatus() { + return this.#transitionStatus; + } + #clearTransitionFrame() { + if (this.#transitionFrame === null) + return; + window.cancelAnimationFrame(this.#transitionFrame); + this.#transitionFrame = null; + } +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/roving-focus-group.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/roving-focus-group.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..a698a6c9bb075cb8d18067cfac95aa5bb9959ae7 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/roving-focus-group.d.ts @@ -0,0 +1,44 @@ +import { type Box, type ReadableBox } from "svelte-toolbelt"; +import type { Orientation } from "../shared/index.js"; +type RovingFocusGroupOptions = ({ + /** + * The selector used to find the focusable candidates. + */ + candidateAttr: string; + candidateSelector?: undefined; +} | { + /** + * Custom candidate selector + */ + candidateSelector: string; + candidateAttr?: undefined; +}) & { + /** + * The id of the root node + */ + rootNode: Box; + /** + * Whether to loop through the candidates when reaching the end. + */ + loop: ReadableBox; + /** + * The orientation of the roving focus group. Used + * to determine how keyboard navigation should work. + */ + orientation: ReadableBox; + /** + * A callback function called when a candidate is focused. + */ + onCandidateFocus?: (node: HTMLElement) => void; +}; +export declare class RovingFocusGroup { + #private; + constructor(opts: RovingFocusGroupOptions); + getCandidateNodes(): HTMLElement[]; + focusFirstCandidate(): void; + handleKeydown(node: HTMLElement | null | undefined, e: KeyboardEvent, both?: boolean): HTMLElement | undefined; + getTabIndex(node: HTMLElement | null | undefined): 0 | -1; + setCurrentTabStopId(id: string): void; + focusCurrentTabStop(): void; +} +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/roving-focus-group.js b/tools/ui/node_modules/bits-ui/dist/internal/roving-focus-group.js new file mode 100644 index 0000000000000000000000000000000000000000..fe33b5014067eb37294acd12395f126f981b01fd --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/roving-focus-group.js @@ -0,0 +1,97 @@ +import { box } from "svelte-toolbelt"; +import { getElemDirection } from "./locale.js"; +import { getDirectionalKeys } from "./get-directional-keys.js"; +import { kbd } from "./kbd.js"; +import { BROWSER } from "esm-env"; +import { isHTMLElement } from "./is.js"; +export class RovingFocusGroup { + #opts; + #currentTabStopId = box(null); + constructor(opts) { + this.#opts = opts; + } + getCandidateNodes() { + if (!BROWSER || !this.#opts.rootNode.current) + return []; + if (this.#opts.candidateSelector) { + const candidates = Array.from(this.#opts.rootNode.current.querySelectorAll(this.#opts.candidateSelector)); + return candidates; + } + else if (this.#opts.candidateAttr) { + const candidates = Array.from(this.#opts.rootNode.current.querySelectorAll(`[${this.#opts.candidateAttr}]:not([data-disabled])`)); + return candidates; + } + return []; + } + focusFirstCandidate() { + const items = this.getCandidateNodes(); + if (!items.length) + return; + items[0]?.focus(); + } + handleKeydown(node, e, both = false) { + const rootNode = this.#opts.rootNode.current; + if (!rootNode || !node) + return; + const items = this.getCandidateNodes(); + if (!items.length) + return; + const currentIndex = items.indexOf(node); + const dir = getElemDirection(rootNode); + const { nextKey, prevKey } = getDirectionalKeys(dir, this.#opts.orientation.current); + const loop = this.#opts.loop.current; + const keyToIndex = { + [nextKey]: currentIndex + 1, + [prevKey]: currentIndex - 1, + [kbd.HOME]: 0, + [kbd.END]: items.length - 1, + }; + if (both) { + const altNextKey = nextKey === kbd.ARROW_DOWN ? kbd.ARROW_RIGHT : kbd.ARROW_DOWN; + const altPrevKey = prevKey === kbd.ARROW_UP ? kbd.ARROW_LEFT : kbd.ARROW_UP; + keyToIndex[altNextKey] = currentIndex + 1; + keyToIndex[altPrevKey] = currentIndex - 1; + } + let itemIndex = keyToIndex[e.key]; + if (itemIndex === undefined) + return; + e.preventDefault(); + if (itemIndex < 0 && loop) { + itemIndex = items.length - 1; + } + else if (itemIndex === items.length && loop) { + itemIndex = 0; + } + const itemToFocus = items[itemIndex]; + if (!itemToFocus) + return; + itemToFocus.focus(); + this.#currentTabStopId.current = itemToFocus.id; + this.#opts.onCandidateFocus?.(itemToFocus); + return itemToFocus; + } + getTabIndex(node) { + const items = this.getCandidateNodes(); + const anyActive = this.#currentTabStopId.current !== null; + if (node && !anyActive && items[0] === node) { + this.#currentTabStopId.current = node.id; + return 0; + } + else if (node?.id === this.#currentTabStopId.current) { + return 0; + } + return -1; + } + setCurrentTabStopId(id) { + this.#currentTabStopId.current = id; + } + focusCurrentTabStop() { + const currentTabStopId = this.#currentTabStopId.current; + if (!currentTabStopId) + return; + const currentTabStop = this.#opts.rootNode.current?.querySelector(`#${currentTabStopId}`); + if (!currentTabStop || !isHTMLElement(currentTabStop)) + return; + currentTabStop.focus(); + } +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/safe-polygon.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/safe-polygon.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..91d052cd9ed22902c22328b978ee8b3019219793 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/safe-polygon.svelte.d.ts @@ -0,0 +1,19 @@ +import { type Getter } from "svelte-toolbelt"; +export interface SafePolygonOptions { + enabled: Getter; + triggerNode: Getter; + contentNode: Getter; + onPointerExit: () => void; + buffer?: number; + transitIntentTimeout?: number; + /** nodes that should not trigger a close when they become the relatedTarget on trigger leave (e.g. sibling triggers in singleton mode) */ + ignoredTargets?: Getter; +} +/** + * Creates a safe polygon area that allows users to move their cursor between + * the trigger and floating content without closing it. + */ +export declare class SafePolygon { + #private; + constructor(opts: SafePolygonOptions); +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/safe-polygon.svelte.js b/tools/ui/node_modules/bits-ui/dist/internal/safe-polygon.svelte.js new file mode 100644 index 0000000000000000000000000000000000000000..d118474d936b8fd271235a4758c17aa914c358b3 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/safe-polygon.svelte.js @@ -0,0 +1,315 @@ +import { getDocument } from "svelte-toolbelt"; +import { on } from "svelte/events"; +import { watch } from "runed"; +import { isElement } from "./is.js"; +function isPointInPolygon(point, polygon) { + const [x, y] = point; + let isInside = false; + const length = polygon.length; + for (let i = 0, j = length - 1; i < length; j = i++) { + const [xi, yi] = polygon[i] ?? [0, 0]; + const [xj, yj] = polygon[j] ?? [0, 0]; + const intersect = yi >= y !== yj >= y && x <= ((xj - xi) * (y - yi)) / (yj - yi) + xi; + if (intersect) { + isInside = !isInside; + } + } + return isInside; +} +function isInsideRect(point, rect) { + return (point[0] >= rect.left && + point[0] <= rect.right && + point[1] >= rect.top && + point[1] <= rect.bottom); +} +function getSide(triggerRect, contentRect) { + // determine which side the content is on relative to trigger + const triggerCenterX = triggerRect.left + triggerRect.width / 2; + const triggerCenterY = triggerRect.top + triggerRect.height / 2; + const contentCenterX = contentRect.left + contentRect.width / 2; + const contentCenterY = contentRect.top + contentRect.height / 2; + const deltaX = contentCenterX - triggerCenterX; + const deltaY = contentCenterY - triggerCenterY; + if (Math.abs(deltaX) > Math.abs(deltaY)) { + return deltaX > 0 ? "right" : "left"; + } + return deltaY > 0 ? "bottom" : "top"; +} +/** + * Creates a safe polygon area that allows users to move their cursor between + * the trigger and floating content without closing it. + */ +export class SafePolygon { + #opts; + #buffer; + #transitIntentTimeout; + // tracks the cursor position when leaving trigger or content + #exitPoint = null; + // tracks what we're moving toward: "content" when leaving trigger, "trigger" when leaving content + #exitTarget = null; + #transitTargets = []; + #trackedTriggerNode = null; + #leaveFallbackRafId = null; + #transitIntentTimeoutId = null; + #cancelLeaveFallback() { + if (this.#leaveFallbackRafId !== null) { + cancelAnimationFrame(this.#leaveFallbackRafId); + this.#leaveFallbackRafId = null; + } + } + #scheduleLeaveFallback() { + this.#cancelLeaveFallback(); + this.#leaveFallbackRafId = requestAnimationFrame(() => { + this.#leaveFallbackRafId = null; + if (!this.#exitPoint || !this.#exitTarget) + return; + this.#clearTracking(); + this.#opts.onPointerExit(); + }); + } + #cancelTransitIntentTimeout() { + if (this.#transitIntentTimeoutId !== null) { + clearTimeout(this.#transitIntentTimeoutId); + this.#transitIntentTimeoutId = null; + } + } + #scheduleTransitIntentTimeout() { + if (this.#transitIntentTimeout === null) + return; + this.#cancelTransitIntentTimeout(); + this.#transitIntentTimeoutId = window.setTimeout(() => { + this.#transitIntentTimeoutId = null; + if (!this.#exitPoint || !this.#exitTarget) + return; + this.#clearTracking(); + this.#opts.onPointerExit(); + }, this.#transitIntentTimeout); + } + constructor(opts) { + this.#opts = opts; + this.#buffer = opts.buffer ?? 1; + const transitIntentTimeout = opts.transitIntentTimeout; + this.#transitIntentTimeout = + typeof transitIntentTimeout === "number" && transitIntentTimeout > 0 + ? transitIntentTimeout + : null; + watch([opts.triggerNode, opts.contentNode, opts.enabled], ([triggerNode, contentNode, enabled]) => { + if (!triggerNode || !contentNode || !enabled) { + this.#trackedTriggerNode = null; + this.#clearTracking(); + return; + } + if (this.#trackedTriggerNode && this.#trackedTriggerNode !== triggerNode) { + this.#clearTracking(); + } + this.#trackedTriggerNode = triggerNode; + const doc = getDocument(triggerNode); + const handlePointerMove = (e) => { + this.#onPointerMove([e.clientX, e.clientY], triggerNode, contentNode); + }; + const handleTriggerLeave = (e) => { + // when leaving trigger toward content, record exit point + const target = e.relatedTarget; + // if going directly to content, no need for polygon tracking + if (isElement(target) && contentNode.contains(target)) { + return; + } + // if moving to an ignored target (e.g. a sibling trigger), don't close — + // the sibling's enter handler will take over + const ignoredTargets = this.#opts.ignoredTargets?.() ?? []; + if (isElement(target) && + ignoredTargets.some((n) => n === target || n.contains(target))) { + return; + } + this.#transitTargets = + isElement(target) && ignoredTargets.length > 0 + ? ignoredTargets.filter((n) => target.contains(n)) + : []; + // for unrelated elements, defer close decisions to pointer geometry checks. + // this allows the cursor to pass through intermediate elements on the way + // to content without immediately closing. + this.#exitPoint = [e.clientX, e.clientY]; + this.#exitTarget = "content"; + this.#scheduleLeaveFallback(); + }; + const handleTriggerEnter = () => { + // reached trigger, clear tracking + this.#clearTracking(); + }; + const handleContentEnter = () => { + // reached content, clear tracking + this.#clearTracking(); + }; + const handleContentLeave = (e) => { + // when leaving content, check if going directly back to trigger + const target = e.relatedTarget; + if (isElement(target) && triggerNode.contains(target)) { + // going directly to trigger, no polygon tracking needed + return; + } + // set up polygon tracking toward trigger — pointermove decides whether to close + this.#exitPoint = [e.clientX, e.clientY]; + this.#exitTarget = "trigger"; + this.#scheduleLeaveFallback(); + }; + return [ + on(doc, "pointermove", handlePointerMove), + on(triggerNode, "pointerleave", handleTriggerLeave), + on(triggerNode, "pointerenter", handleTriggerEnter), + on(contentNode, "pointerenter", handleContentEnter), + on(contentNode, "pointerleave", handleContentLeave), + ].reduce((acc, cleanup) => () => { + acc(); + cleanup(); + }, () => { }); + }); + } + #onPointerMove(clientPoint, triggerNode, contentNode) { + // if no exit point recorded, nothing to check + if (!this.#exitPoint || !this.#exitTarget) + return; + this.#cancelLeaveFallback(); + this.#scheduleTransitIntentTimeout(); + const triggerRect = triggerNode.getBoundingClientRect(); + const contentRect = contentNode.getBoundingClientRect(); + // check if pointer reached the target + if (this.#exitTarget === "content" && isInsideRect(clientPoint, contentRect)) { + this.#clearTracking(); + return; + } + if (this.#exitTarget === "trigger" && isInsideRect(clientPoint, triggerRect)) { + this.#clearTracking(); + return; + } + if (this.#exitTarget === "content" && this.#transitTargets.length > 0) { + for (const transitTarget of this.#transitTargets) { + const transitRect = transitTarget.getBoundingClientRect(); + if (isInsideRect(clientPoint, transitRect)) + return; + const transitSide = getSide(triggerRect, transitRect); + const transitCorridor = this.#getCorridorPolygon(triggerRect, transitRect, transitSide); + if (transitCorridor && isPointInPolygon(clientPoint, transitCorridor)) + return; + } + } + // check if pointer is in the rectangular corridor between trigger and content + const side = getSide(triggerRect, contentRect); + const corridorPoly = this.#getCorridorPolygon(triggerRect, contentRect, side); + if (corridorPoly && isPointInPolygon(clientPoint, corridorPoly)) { + return; + } + // check if pointer is within the safe polygon from exit point to target + const targetRect = this.#exitTarget === "content" ? contentRect : triggerRect; + const safePoly = this.#getSafePolygon(this.#exitPoint, targetRect, side, this.#exitTarget); + if (isPointInPolygon(clientPoint, safePoly)) { + return; + } + // pointer is outside all safe zones - close + this.#clearTracking(); + this.#opts.onPointerExit(); + } + #clearTracking() { + this.#exitPoint = null; + this.#exitTarget = null; + this.#transitTargets = []; + this.#cancelLeaveFallback(); + this.#cancelTransitIntentTimeout(); + } + /** + * Creates a rectangular corridor between trigger and content + * This prevents closing when cursor is in the gap between them + */ + #getCorridorPolygon(triggerRect, contentRect, side) { + const buffer = this.#buffer; + switch (side) { + case "top": + return [ + [Math.min(triggerRect.left, contentRect.left) - buffer, triggerRect.top], + [Math.min(triggerRect.left, contentRect.left) - buffer, contentRect.bottom], + [Math.max(triggerRect.right, contentRect.right) + buffer, contentRect.bottom], + [Math.max(triggerRect.right, contentRect.right) + buffer, triggerRect.top], + ]; + case "bottom": + return [ + [Math.min(triggerRect.left, contentRect.left) - buffer, triggerRect.bottom], + [Math.min(triggerRect.left, contentRect.left) - buffer, contentRect.top], + [Math.max(triggerRect.right, contentRect.right) + buffer, contentRect.top], + [Math.max(triggerRect.right, contentRect.right) + buffer, triggerRect.bottom], + ]; + case "left": + return [ + [triggerRect.left, Math.min(triggerRect.top, contentRect.top) - buffer], + [contentRect.right, Math.min(triggerRect.top, contentRect.top) - buffer], + [contentRect.right, Math.max(triggerRect.bottom, contentRect.bottom) + buffer], + [triggerRect.left, Math.max(triggerRect.bottom, contentRect.bottom) + buffer], + ]; + case "right": + return [ + [triggerRect.right, Math.min(triggerRect.top, contentRect.top) - buffer], + [contentRect.left, Math.min(triggerRect.top, contentRect.top) - buffer], + [contentRect.left, Math.max(triggerRect.bottom, contentRect.bottom) + buffer], + [triggerRect.right, Math.max(triggerRect.bottom, contentRect.bottom) + buffer], + ]; + } + } + /** + * Creates a triangular/trapezoidal safe zone from the exit point to the target + */ + #getSafePolygon(exitPoint, targetRect, side, exitTarget) { + const buffer = this.#buffer * 4; + const [x, y] = exitPoint; + // when going back to trigger, we need to flip the side + const effectiveSide = exitTarget === "trigger" ? this.#flipSide(side) : side; + // create polygon points from cursor to target edges + switch (effectiveSide) { + case "top": + return [ + [x - buffer, y + buffer], + [x + buffer, y + buffer], + [targetRect.right + buffer, targetRect.bottom], + [targetRect.right + buffer, targetRect.top], + [targetRect.left - buffer, targetRect.top], + [targetRect.left - buffer, targetRect.bottom], + ]; + case "bottom": + return [ + [x - buffer, y - buffer], + [x + buffer, y - buffer], + [targetRect.right + buffer, targetRect.top], + [targetRect.right + buffer, targetRect.bottom], + [targetRect.left - buffer, targetRect.bottom], + [targetRect.left - buffer, targetRect.top], + ]; + case "left": + return [ + [x + buffer, y - buffer], + [x + buffer, y + buffer], + [targetRect.right, targetRect.bottom + buffer], + [targetRect.left, targetRect.bottom + buffer], + [targetRect.left, targetRect.top - buffer], + [targetRect.right, targetRect.top - buffer], + ]; + case "right": + return [ + [x - buffer, y - buffer], + [x - buffer, y + buffer], + [targetRect.left, targetRect.bottom + buffer], + [targetRect.right, targetRect.bottom + buffer], + [targetRect.right, targetRect.top - buffer], + [targetRect.left, targetRect.top - buffer], + ]; + } + } + #flipSide(side) { + switch (side) { + case "top": + return "bottom"; + case "bottom": + return "top"; + case "left": + return "right"; + case "right": + return "left"; + } + } +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/shared-state.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/shared-state.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..a99454a9ff9583486f4d63ddb390c5a5bc59233b --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/shared-state.svelte.d.ts @@ -0,0 +1,6 @@ +import type { AnyFn } from "./types.js"; +export declare class SharedState { + #private; + constructor(factory: T); + get(...args: Parameters): ReturnType; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/shared-state.svelte.js b/tools/ui/node_modules/bits-ui/dist/internal/shared-state.svelte.js new file mode 100644 index 0000000000000000000000000000000000000000..c6ea48c37d005f439110e8f033d667b93bf70cbb --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/shared-state.svelte.js @@ -0,0 +1,31 @@ +export class SharedState { + #factory; + #subscribers = 0; + #state = $state(); + #scope; + constructor(factory) { + this.#factory = factory; + } + #dispose() { + this.#subscribers -= 1; + if (this.#scope && this.#subscribers <= 0) { + this.#scope(); + this.#state = undefined; + this.#scope = undefined; + } + } + get(...args) { + this.#subscribers += 1; + if (this.#state === undefined) { + this.#scope = $effect.root(() => { + this.#state = this.#factory(...args); + }); + } + $effect(() => { + return () => { + this.#dispose(); + }; + }); + return this.#state; + } +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/should-enable-focus-trap.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/should-enable-focus-trap.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..9539407e4e45446d40f69d898f7a4a0f5adf8e1e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/should-enable-focus-trap.d.ts @@ -0,0 +1,4 @@ +export declare function shouldEnableFocusTrap({ forceMount, open, }: { + forceMount: boolean; + open: boolean; +}): boolean; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/should-enable-focus-trap.js b/tools/ui/node_modules/bits-ui/dist/internal/should-enable-focus-trap.js new file mode 100644 index 0000000000000000000000000000000000000000..b8a293da795b137bf3e6bf9d01389301ab89bb5b --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/should-enable-focus-trap.js @@ -0,0 +1,5 @@ +export function shouldEnableFocusTrap({ forceMount, open, }) { + if (forceMount) + return open; + return open; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/state-machine.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/state-machine.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..031e8e8ff8744104961f6122ec739a2012344229 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/state-machine.d.ts @@ -0,0 +1,16 @@ +import { type WritableBox } from "svelte-toolbelt"; +interface Machine { + [k: string]: { + [k: string]: S; + }; +} +type MachineState = keyof T; +type MachineEvent = keyof UnionToIntersection; +type UnionToIntersection = (T extends any ? (x: T) => any : never) extends (x: infer R) => any ? R : never; +export declare class StateMachine { + #private; + readonly state: WritableBox>; + constructor(initialState: MachineState, machine: M & Machine>); + dispatch(event: MachineEvent): void; +} +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/state-machine.js b/tools/ui/node_modules/bits-ui/dist/internal/state-machine.js new file mode 100644 index 0000000000000000000000000000000000000000..7e952a5161b82a3f99aeee5d064109b916e1e5ea --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/state-machine.js @@ -0,0 +1,18 @@ +import { simpleBox } from "svelte-toolbelt"; +export class StateMachine { + state; + #machine; + constructor(initialState, machine) { + this.state = simpleBox(initialState); + this.#machine = machine; + this.dispatch = this.dispatch.bind(this); + } + #reducer(event) { + // @ts-expect-error state.current is keyof M + const nextState = this.#machine[this.state.current][event]; + return nextState ?? this.state.current; + } + dispatch(event) { + this.state.current = this.#reducer(event); + } +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/svelte-resize-observer.svelte.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/svelte-resize-observer.svelte.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..bfe5acdc0dc4cad371b9b0588a25a091cf2fcc9f --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/svelte-resize-observer.svelte.d.ts @@ -0,0 +1,6 @@ +import type { Getter } from "svelte-toolbelt"; +export declare class SvelteResizeObserver { + #private; + constructor(node: Getter, onResize: () => void); + handler(): (() => void) | undefined; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/svelte-resize-observer.svelte.js b/tools/ui/node_modules/bits-ui/dist/internal/svelte-resize-observer.svelte.js new file mode 100644 index 0000000000000000000000000000000000000000..84adb38fe0505f300eda8234fae91a04cacfd998 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/svelte-resize-observer.svelte.js @@ -0,0 +1,25 @@ +export class SvelteResizeObserver { + #node; + #onResize; + constructor(node, onResize) { + this.#node = node; + this.#onResize = onResize; + this.handler = this.handler.bind(this); + $effect(this.handler); + } + handler() { + let rAF = 0; + const _node = this.#node(); + if (!_node) + return; + const resizeObserver = new ResizeObserver(() => { + cancelAnimationFrame(rAF); + rAF = window.requestAnimationFrame(this.#onResize); + }); + resizeObserver.observe(_node); + return () => { + window.cancelAnimationFrame(rAF); + resizeObserver.unobserve(_node); + }; + } +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/tabbable.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/tabbable.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..c5f43435c49482ca98ef97b0e67b8d98f450a852 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/tabbable.d.ts @@ -0,0 +1,7 @@ +/** + * Gets all tabbable elements in the body and finds the next/previous tabbable element + * from the `currentNode` based on the `direction` provided. + * @param currentNode - the node we want to get the next/previous tabbable from + */ +export declare function getTabbableFrom(currentNode: HTMLElement, direction: "next" | "prev"): import("tabbable").FocusableElement | undefined; +export declare function getTabbableFromFocusable(currentNode: HTMLElement, direction: "next" | "prev"): import("tabbable").FocusableElement; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/tabbable.js b/tools/ui/node_modules/bits-ui/dist/internal/tabbable.js new file mode 100644 index 0000000000000000000000000000000000000000..5427a01463a9dd684fb554e7a48c3dac3aab1559 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/tabbable.js @@ -0,0 +1,51 @@ +import { focusable, isFocusable, isTabbable, tabbable } from "tabbable"; +import { getDocument } from "svelte-toolbelt"; +function getTabbableOptions() { + return { + getShadowRoot: true, + displayCheck: + // JSDOM does not support the `tabbable` library. To solve this we can + // check if `ResizeObserver` is a real function (not polyfilled), which + // determines if the current environment is JSDOM-like. + typeof ResizeObserver === "function" && + ResizeObserver.toString().includes("[native code]") + ? "full" + : "none", + }; +} +/** + * Gets all tabbable elements in the body and finds the next/previous tabbable element + * from the `currentNode` based on the `direction` provided. + * @param currentNode - the node we want to get the next/previous tabbable from + */ +export function getTabbableFrom(currentNode, direction) { + if (!isTabbable(currentNode, getTabbableOptions())) { + return getTabbableFromFocusable(currentNode, direction); + } + const doc = getDocument(currentNode); + const allTabbable = tabbable(doc.body, getTabbableOptions()); + if (direction === "prev") + allTabbable.reverse(); + const activeIndex = allTabbable.indexOf(currentNode); + if (activeIndex === -1) + return doc.body; + const nextTabbableElements = allTabbable.slice(activeIndex + 1); + return nextTabbableElements[0]; +} +export function getTabbableFromFocusable(currentNode, direction) { + const doc = getDocument(currentNode); + if (!isFocusable(currentNode, getTabbableOptions())) + return doc.body; + // find all focusable nodes, since some elements may be focusable but not tabbable + // such as context menu triggers + const allFocusable = focusable(doc.body, getTabbableOptions()); + // find index of current node among focusable siblings + if (direction === "prev") + allFocusable.reverse(); + const activeIndex = allFocusable.indexOf(currentNode); + if (activeIndex === -1) + return doc.body; + const nextFocusableElements = allFocusable.slice(activeIndex + 1); + // find the next focusable node that is also tabbable + return nextFocusableElements.find((node) => isTabbable(node, getTabbableOptions())) ?? doc.body; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/timeout-fn.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/timeout-fn.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..c596551642b80810c8404ce12c34e9da49a6efb8 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/timeout-fn.d.ts @@ -0,0 +1,7 @@ +import type { AnyFn } from "./types.js"; +export declare class TimeoutFn { + #private; + constructor(cb: T, interval: number); + stop(): void; + start(...args: Parameters | []): void; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/timeout-fn.js b/tools/ui/node_modules/bits-ui/dist/internal/timeout-fn.js new file mode 100644 index 0000000000000000000000000000000000000000..31af796580bdbc2a04ada35c6a673c290a8c1a01 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/timeout-fn.js @@ -0,0 +1,29 @@ +import { onDestroyEffect } from "svelte-toolbelt"; +export class TimeoutFn { + #interval; + #cb; + #timer = null; + constructor(cb, interval) { + this.#cb = cb; + this.#interval = interval; + this.stop = this.stop.bind(this); + this.start = this.start.bind(this); + onDestroyEffect(this.stop); + } + #clear() { + if (this.#timer !== null) { + window.clearTimeout(this.#timer); + this.#timer = null; + } + } + stop() { + this.#clear(); + } + start(...args) { + this.#clear(); + this.#timer = window.setTimeout(() => { + this.#timer = null; + this.#cb(...args); + }, this.#interval); + } +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/types.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/types.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d1abf3cfe144275b417959cd4c98c2fa425f1d2f --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/types.d.ts @@ -0,0 +1,94 @@ +import type { Snippet } from "svelte"; +import type { attachRef, Box, ReadableBoxedValues, WritableBoxedValues } from "svelte-toolbelt"; +import type { StyleProperties } from "../shared/index.js"; +export type OnChangeFn = (value: T) => void; +export type ElementRef = Box; +export type WithChild< +/** + * The props that the component accepts. + */ +Props extends Record = {}, +/** + * The props that are passed to the `child` and `children` snippets. The `ElementProps` are + * merged with these props for the `child` snippet. + */ +SnippetProps extends Record = { + _default: never; +}, +/** + * The underlying DOM element being rendered. You can bind to this prop to + * programmatically interact with the element. + */ +Ref = HTMLElement> = Omit & { + child?: SnippetProps extends { + _default: never; + } ? Snippet<[{ + props: Record; + }]> : Snippet<[SnippetProps & { + props: Record; + }]>; + children?: SnippetProps extends { + _default: never; + } ? Snippet : Snippet<[SnippetProps]>; + style?: StyleProperties | string | null | undefined; + ref?: Ref | null | undefined; +}; +export type WithChildNoChildrenSnippetProps< +/** + * The props that the component accepts. + */ +Props extends Record = {}, +/** + * The props that are passed to the `child` and `children` snippets. The `ElementProps` are + * merged with these props for the `child` snippet. + */ +SnippetProps extends Record = { + _default: never; +}, +/** + * The underlying DOM element being rendered. You can bind to this prop to + * programmatically interact with the element. + */ +Ref = HTMLElement> = Omit & { + child?: SnippetProps extends { + _default: never; + } ? Snippet<[{ + props: Record; + }]> : Snippet<[SnippetProps & { + props: Record; + }]>; + children?: Snippet; + style?: StyleProperties | string | null | undefined; + ref?: Ref | null | undefined; +}; +export type WithChildren = Props & { + children?: Snippet | undefined; +}; +/** + * Constructs a new type by omitting properties from type + * 'T' that exist in type 'U'. + * + * @template T - The base object type from which properties will be omitted. + * @template U - The object type whose properties will be omitted from 'T'. + * @example + * type Result = Without<{ a: number; b: string; }, { b: string; }>; + * // Result type will be { a: number; } + */ +export type Without = Omit; +export type Arrayable = T[] | T; +export type Fn = () => void; +export type AnyFn = (...args: any[]) => any; +export type WithRefOpts = T & ReadableBoxedValues<{ + id: string; +}> & WritableBoxedValues<{ + ref: HTMLElement | null; +}>; +export type BitsEvent = T & { + currentTarget: U; +}; +export type BitsPointerEvent = BitsEvent; +export type BitsKeyboardEvent = BitsEvent; +export type BitsMouseEvent = BitsEvent; +export type BitsFocusEvent = BitsEvent; +export type BitsInputEvent = BitsEvent; +export type RefAttachment = ReturnType>; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/types.js b/tools/ui/node_modules/bits-ui/dist/internal/types.js new file mode 100644 index 0000000000000000000000000000000000000000..cb0ff5c3b541f646105198ee23ac0fc3d805023e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/types.js @@ -0,0 +1 @@ +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/use-arrow-navigation.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/use-arrow-navigation.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..1c64d1ad436736f17736e9b124576226b76352fd --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/use-arrow-navigation.d.ts @@ -0,0 +1,62 @@ +import type { Direction } from "../shared/index.js"; +type ArrowKeyOptions = "horizontal" | "vertical" | "both"; +interface ArrowNavigationOptions { + /** + * The arrow key options to allow navigation + * + * @defaultValue "both" + */ + arrowKeyOptions?: ArrowKeyOptions; + /** + * The selector to find the collection items in the parent element. + */ + candidateSelector: string; + /** + * The parent element where contains all the collection items, this will collect every item to be used when nav + * It will be ignored if attributeName is provided + * + * @defaultValue [] + */ + itemsArray?: HTMLElement[]; + /** + * Allow loop navigation. If false, it will stop at the first and last element + * + * @defaultValue true + */ + loop?: boolean; + /** + * The orientation of the collection + * + * @defaultValue "ltr" + */ + dir?: Direction; + /** + * Prevent the scroll when navigating. This happens when the direction of the + * key matches the scroll direction of any ancestor scrollable elements. + * + * @defaultValue true + */ + preventScroll?: boolean; + /** + * By default all currentElement would trigger navigation. If `true`, currentElement nodeName in the ignore list will return null + * + * @defaultValue false + */ + enableIgnoredElement?: boolean; + /** + * Focus the element after navigation + * + * @defaultValue false + */ + focus?: boolean; +} +/** + * + * @param e Keyboard event + * @param currentElement Event initiator element or any element that wants to handle the navigation + * @param parentElement Parent element where contains all the collection items, this will collect every item to be used when nav + * @param options further options + * @returns the navigated html element or null if none + */ +export declare function useArrowNavigation(e: KeyboardEvent, currentElement: HTMLElement, parentElement: HTMLElement | undefined, options: ArrowNavigationOptions): HTMLElement | null; +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/use-arrow-navigation.js b/tools/ui/node_modules/bits-ui/dist/internal/use-arrow-navigation.js new file mode 100644 index 0000000000000000000000000000000000000000..4cf58ea0fb98a63f306b7ee07e9b2ddea10e3bd1 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/use-arrow-navigation.js @@ -0,0 +1,76 @@ +const ignoredElement = ["INPUT", "TEXTAREA"]; +/** + * + * @param e Keyboard event + * @param currentElement Event initiator element or any element that wants to handle the navigation + * @param parentElement Parent element where contains all the collection items, this will collect every item to be used when nav + * @param options further options + * @returns the navigated html element or null if none + */ +export function useArrowNavigation(e, currentElement, parentElement, options) { + if (!currentElement || + (options.enableIgnoredElement && ignoredElement.includes(currentElement.nodeName))) { + return null; + } + const { arrowKeyOptions = "both", candidateSelector: attributeName, itemsArray = [], loop = true, dir = "ltr", preventScroll = true, focus = false, } = options; + const [right, left, up, down, home, end] = [ + e.key === "ArrowRight", + e.key === "ArrowLeft", + e.key === "ArrowUp", + e.key === "ArrowDown", + e.key === "Home", + e.key === "End", + ]; + const goingVertical = up || down; + const goingHorizontal = right || left; + if (!home && + !end && + ((!goingVertical && !goingHorizontal) || + (arrowKeyOptions === "vertical" && goingHorizontal) || + (arrowKeyOptions === "horizontal" && goingVertical))) + return null; + const allCollectionItems = parentElement + ? Array.from(parentElement.querySelectorAll(attributeName)) + : itemsArray; + if (!allCollectionItems.length) + return null; + if (preventScroll) + e.preventDefault(); + let item = null; + if (goingHorizontal || goingVertical) { + const goForward = goingVertical ? down : dir === "ltr" ? right : left; + item = findNextFocusableElement(allCollectionItems, currentElement, { + goForward, + loop, + }); + } + else if (home) { + item = allCollectionItems.at(0) || null; + } + else if (end) { + item = allCollectionItems.at(-1) || null; + } + if (focus) + item?.focus(); + return item; +} +/** + * Recursive function to find the next focusable element to avoid disabled elements + */ +function findNextFocusableElement(elements, currentElement, { goForward, loop }, iterations = elements.length) { + if (--iterations === 0) + return null; + const index = elements.indexOf(currentElement); + const newIndex = goForward ? index + 1 : index - 1; + if (!loop && (newIndex < 0 || newIndex >= elements.length)) + return null; + const adjustedNewIndex = (newIndex + elements.length) % elements.length; + const candidate = elements[adjustedNewIndex]; + if (!candidate) + return null; + const isDisabled = candidate.hasAttribute("disabled") && candidate.getAttribute("disabled") !== "false"; + if (isDisabled) { + return findNextFocusableElement(elements, candidate, { goForward, loop }, iterations); + } + return candidate; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/use-id.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/use-id.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..f8d042f62072f3b81c2dadab9e4616deb5d05a05 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/use-id.d.ts @@ -0,0 +1,4 @@ +/** + * Generates a unique ID based on a global counter. + */ +export declare function useId(prefix?: string): string; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/use-id.js b/tools/ui/node_modules/bits-ui/dist/internal/use-id.js new file mode 100644 index 0000000000000000000000000000000000000000..d27486a4b4ada089ee71298b0a3a7b1f0f2cb91b --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/use-id.js @@ -0,0 +1,8 @@ +globalThis.bitsIdCounter ??= { current: 0 }; +/** + * Generates a unique ID based on a global counter. + */ +export function useId(prefix = "bits") { + globalThis.bitsIdCounter.current++; + return `${prefix}-${globalThis.bitsIdCounter.current}`; +} diff --git a/tools/ui/node_modules/bits-ui/dist/internal/warn.d.ts b/tools/ui/node_modules/bits-ui/dist/internal/warn.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..54b1051513288991934c940c81d4229a9c58c5de --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/warn.d.ts @@ -0,0 +1 @@ +export declare function warn(...messages: string[]): void; diff --git a/tools/ui/node_modules/bits-ui/dist/internal/warn.js b/tools/ui/node_modules/bits-ui/dist/internal/warn.js new file mode 100644 index 0000000000000000000000000000000000000000..af50869fddf7b645f453ebe88b0e983c80854712 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/internal/warn.js @@ -0,0 +1,15 @@ +import { DEV } from "esm-env"; +let set; +if (DEV) { + set = new Set(); +} +export function warn(...messages) { + if (!DEV) + return; + const msg = messages.join(" "); + if (set.has(msg)) + return; + set.add(msg); + // oxlint-disable-next-line no-console + console.warn(`[Bits UI]: ${msg}`); +} diff --git a/tools/ui/node_modules/bits-ui/dist/shared/attributes.d.ts b/tools/ui/node_modules/bits-ui/dist/shared/attributes.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..34c9f2ad90a52ef153ee52aabd3453db2f22fca7 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/shared/attributes.d.ts @@ -0,0 +1,40 @@ +import type { HTMLAnchorAttributes, HTMLAttributes, HTMLButtonAttributes, HTMLImgAttributes, HTMLInputAttributes, HTMLLabelAttributes, HTMLLiAttributes, HTMLSelectAttributes, HTMLTableAttributes, HTMLTdAttributes, HTMLThAttributes, SVGAttributes } from "svelte/elements"; +export type BitsDivAttributes = HTMLAttributes; +export type BitsSpanAttributes = HTMLAttributes; +export type BitsHeadingAttributes = HTMLAttributes; +export type BitsUListAttributes = HTMLAttributes; +export type BitsElementAttributes = HTMLAttributes; +export type BitsTableSectionAttributes = HTMLAttributes; +export type BitsTableRowAttributes = HTMLAttributes; +export type BitsSVGElementAttributes = SVGAttributes; +export type BitsSelectAttributes = HTMLSelectAttributes; +/** + * We override the `id` prop type to not allow it to be `null`. We rely on the + * `id` heavily in the internals of Bits UI for node references. We also override + * children to allow for custom children snippet props. We extend `style` to allow + * for either a `StyleProperties` object or a string of CSS properties. + */ +type BitsPrimitive = Omit & { + id?: string; +}; +export type BitsPrimitiveButtonAttributes = BitsPrimitive; +export type BitsPrimitiveDivAttributes = BitsPrimitive; +export type BitsPrimitiveInputAttributes = BitsPrimitive; +export type BitsPrimitiveSpanAttributes = BitsPrimitive; +export type BitsPrimitiveImgAttributes = BitsPrimitive; +export type BitsPrimitiveHeadingAttributes = BitsPrimitive; +export type BitsPrimitiveLabelAttributes = BitsPrimitive; +export type BitsPrimitiveSVGAttributes = BitsPrimitive; +export type BitsPrimitiveAnchorAttributes = BitsPrimitive; +export type BitsPrimitiveLiAttributes = BitsPrimitive; +export type BitsPrimitiveElementAttributes = BitsPrimitive; +export type BitsPrimitiveUListAttributes = BitsPrimitive; +export type BitsPrimitiveTdAttributes = BitsPrimitive; +export type BitsPrimitiveThAttributes = BitsPrimitive; +export type BitsPrimitiveTableAttributes = BitsPrimitive; +export type BitsPrimitiveTbodyAttributes = BitsPrimitive; +export type BitsPrimitiveTrAttributes = BitsPrimitive; +export type BitsPrimitiveTheadAttributes = BitsPrimitive; +export type BitsPrimitiveHeaderAttributes = BitsPrimitive; +export type BitsPrimitiveSelectAttributes = BitsPrimitive; +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/shared/attributes.js b/tools/ui/node_modules/bits-ui/dist/shared/attributes.js new file mode 100644 index 0000000000000000000000000000000000000000..cb0ff5c3b541f646105198ee23ac0fc3d805023e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/shared/attributes.js @@ -0,0 +1 @@ +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/shared/css.d.ts b/tools/ui/node_modules/bits-ui/dist/shared/css.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..07f03393a9deac167abca9c425488ecf579a94cb --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/shared/css.d.ts @@ -0,0 +1,9 @@ +import type * as CSS from "csstype"; + +declare module "csstype" { + interface Properties { + // Allow any CSS Custom Properties + // oxlint-disable-next-line no-explicit-any + [index: `--${string}`]: any; + } +} diff --git a/tools/ui/node_modules/bits-ui/dist/shared/date/types.d.ts b/tools/ui/node_modules/bits-ui/dist/shared/date/types.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..2f6a150c816fcc6dd2a22d6b6d61173c6437c884 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/shared/date/types.d.ts @@ -0,0 +1,100 @@ +import type { CalendarDateTime, DateValue, Time, ZonedDateTime } from "@internationalized/date"; +import type { DATE_SEGMENT_PARTS, EDITABLE_SEGMENT_PARTS, NON_EDITABLE_SEGMENT_PARTS, EDITABLE_TIME_SEGMENT_PARTS } from "../../internal/date-time/field/parts.js"; +export type Granularity = "day" | "hour" | "minute" | "second"; +export type TimeGranularity = "hour" | "minute" | "second"; +export type HourCycle = 12 | 24; +export type WeekStartsOn = 0 | 1 | 2 | 3 | 4 | 5 | 6; +export type DateMatcher = (date: DateValue) => boolean; +export type TimeValue = Time | CalendarDateTime | ZonedDateTime; +export type TimeValidator = (time: T) => string[] | string | void; +/** + * A function that returns a string or array of strings as validation errors if the date is + * invalid, or nothing if the date is valid + */ +export type DateValidator = (date: DateValue) => string[] | string | void; +/** + * A function that returns a string or array of strings as validation errors if the date range + * is invalid, or nothing if the date range is valid + */ +export type DateRangeValidator = (range: { + start: DateValue; + end: DateValue; +}) => string[] | string | void; +export type TimeRangeValidator = (range: { + start: T; + end: T; +}) => string[] | string | void; +/** + * A callback fired when the date field's value is invalid. Use this to display an error + * message to the user. + */ +export type DateOnInvalid = (reason: "min" | "max" | "custom", msg?: string | string[]) => void; +/** + * A callback fired when the time field's value is invalid. Use this to display an error + * message to the user. + */ +export type TimeOnInvalid = (reason: "min" | "max" | "custom", msg?: string | string[]) => void; +export type DateRange = { + start: DateValue | undefined; + end: DateValue | undefined; +}; +export type TimeRange = { + start: T | undefined; + end: T | undefined; +}; +export type Month = { + /** + * A `DateValue` used to represent the month. Since days + * from the previous and next months may be included in the + * calendar grid, we need a source of truth for the value + * the grid is representing. + */ + value: DateValue; + /** + * An array of arrays representing the weeks in the calendar. + * Each sub-array represents a week, and contains the dates for each + * day in that week. This structure is useful for rendering the calendar + * grid using a table, where each row represents a week and each cell + * represents a day. + */ + weeks: T[][]; + /** + * An array of all the dates in the current month, including dates from + * the previous and next months that are used to fill out the calendar grid. + * This array is useful for rendering the calendar grid in a customizable way, + * as it provides all the dates that should be displayed in the grid in a flat + * array. + */ + dates: T[]; +}; +export type DateSegmentPart = (typeof DATE_SEGMENT_PARTS)[number]; +export type EditableTimeSegmentPart = (typeof EDITABLE_TIME_SEGMENT_PARTS)[number]; +export type EditableSegmentPart = (typeof EDITABLE_SEGMENT_PARTS)[number]; +export type NonEditableSegmentPart = (typeof NON_EDITABLE_SEGMENT_PARTS)[number]; +export type SegmentPart = EditableSegmentPart | NonEditableSegmentPart; +export type TimeSegmentPart = EditableTimeSegmentPart | "literal" | "timeZoneName"; +export type AnyTimeExceptLiteral = Exclude; +export type AnyExceptLiteral = Exclude; +export type DayPeriod = "AM" | "PM" | null; +export type DateSegmentObj = { + [K in DateSegmentPart]: string | null; +}; +export type TimeSegmentObj = { + [K in EditableTimeSegmentPart]: K extends "dayPeriod" ? DayPeriod : string | null; +}; +export type DateAndTimeSegmentObj = DateSegmentObj & TimeSegmentObj; +export type SegmentValueObj = DateSegmentObj | DateAndTimeSegmentObj; +export type SegmentContentObj = Record; +export type TimeSegmentValueObj = TimeSegmentObj; +export type TimeSegmentContentObj = Record; +export type SegmentState = { + lastKeyZero: boolean; + hasLeftFocus: boolean; + updating: string | null; +}; +export type SegmentStateMap = { + [K in EditableSegmentPart]: SegmentState; +}; +export type TimeSegmentStateMap = { + [K in EditableTimeSegmentPart]: SegmentState; +}; diff --git a/tools/ui/node_modules/bits-ui/dist/shared/date/types.js b/tools/ui/node_modules/bits-ui/dist/shared/date/types.js new file mode 100644 index 0000000000000000000000000000000000000000..cb0ff5c3b541f646105198ee23ac0fc3d805023e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/shared/date/types.js @@ -0,0 +1 @@ +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/shared/index.d.ts b/tools/ui/node_modules/bits-ui/dist/shared/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..f876a6fc5db7c17b4d58155c88b663854dd2a084 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/shared/index.d.ts @@ -0,0 +1,38 @@ +import type * as CSS from "csstype"; +export { REGEXP_ONLY_DIGITS, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS_AND_CHARS, } from "../bits/pin-input/pin-input.svelte.js"; +export type Selected = { + value: Value; + label?: string; +}; +export type SegmentPart = "month" | "day" | "year" | "hour" | "minute" | "second" | "dayPeriod" | "timeZoneName" | "literal"; +export type FocusTarget = string | HTMLElement | SVGElement | null; +export type FocusProp = FocusTarget | ((defaultEl?: HTMLElement | null) => FocusTarget); +export type StyleProperties = CSS.Properties & { + [str: `--${string}`]: any; +}; +export type Orientation = "horizontal" | "vertical"; +export type Direction = "ltr" | "rtl"; +/** + * Controls positioning of the slider thumb. + * + * - `exact`: The thumb is centered exactly at the value of the slider. + * - `contain`: The thumb is centered exactly at the value of the slider, but will be contained within the slider track at the ends. + */ +export type SliderThumbPositioning = "exact" | "contain"; +export type WithoutChildrenOrChild = WithoutChildren>; +export type WithoutChildren = T extends { + children?: any; +} ? Omit : T; +export type WithoutChild = T extends { + child?: any; +} ? Omit : T; +export type WithElementRef = T & { + ref?: U | null; +}; +export type { EditableSegmentPart, EditableTimeSegmentPart } from "./date/types.js"; +export type { Month, DateMatcher, DateOnInvalid, DateRangeValidator, DateValidator, DateRange, TimeValue, TimeSegmentPart, TimeRange, TimeValidator, TimeRangeValidator, TimeOnInvalid, } from "./date/types.js"; +export type { WithChild, Without, WithChildren } from "../internal/types.js"; +export { mergeProps } from "svelte-toolbelt"; +export { useId } from "../internal/use-id.js"; +export * from "./attributes.js"; +export * from "./types.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/shared/index.js b/tools/ui/node_modules/bits-ui/dist/shared/index.js new file mode 100644 index 0000000000000000000000000000000000000000..a6ebfeadaf52a6d515564e3d0f4939a5e5c3698f --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/shared/index.js @@ -0,0 +1,5 @@ +export { REGEXP_ONLY_DIGITS, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS_AND_CHARS, } from "../bits/pin-input/pin-input.svelte.js"; +export { mergeProps } from "svelte-toolbelt"; +export { useId } from "../internal/use-id.js"; +export * from "./attributes.js"; +export * from "./types.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/shared/types.d.ts b/tools/ui/node_modules/bits-ui/dist/shared/types.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..ecf7cd9f5cd555d3b421d7bd6e05c47a192efdff --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/shared/types.d.ts @@ -0,0 +1,13 @@ +export type FloatingContentSnippetProps = { + /** + * Whether the content is open or closed. Used alongside the `forceMount` prop to + * conditionally render the content using Svelte transitions. + */ + open: boolean; + /** + * Attributes to spread onto a wrapper element around the content. + * Do not style the wrapper element, its styles are computed by Floating UI. + */ + wrapperProps: Record; +}; +export type StaticContentSnippetProps = Omit; diff --git a/tools/ui/node_modules/bits-ui/dist/shared/types.js b/tools/ui/node_modules/bits-ui/dist/shared/types.js new file mode 100644 index 0000000000000000000000000000000000000000..cb0ff5c3b541f646105198ee23ac0fc3d805023e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/shared/types.js @@ -0,0 +1 @@ +export {}; diff --git a/tools/ui/node_modules/bits-ui/dist/types.d.ts b/tools/ui/node_modules/bits-ui/dist/types.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..8d5bba62a2d270f77ed76f279cb11b99320091ce --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/types.d.ts @@ -0,0 +1,44 @@ +export type * from "./bits/accordion/types.js"; +export type * from "./bits/alert-dialog/types.js"; +export type * from "./bits/aspect-ratio/types.js"; +export type * from "./bits/avatar/types.js"; +export type * from "./bits/button/types.js"; +export type * from "./bits/calendar/types.js"; +export type * from "./bits/checkbox/types.js"; +export type * from "./bits/collapsible/types.js"; +export type * from "./bits/combobox/types.js"; +export type * from "./bits/command/types.js"; +export type * from "./bits/context-menu/types.js"; +export type * from "./bits/date-field/types.js"; +export type * from "./bits/date-picker/types.js"; +export type * from "./bits/date-range-field/types.js"; +export type * from "./bits/date-range-picker/types.js"; +export type * from "./bits/dialog/types.js"; +export type * from "./bits/dropdown-menu/types.js"; +export type * from "./bits/label/types.js"; +export type * from "./bits/link-preview/types.js"; +export type * from "./bits/select/types.js"; +export type * from "./bits/menubar/types.js"; +export type * from "./bits/meter/types.js"; +export type * from "./bits/navigation-menu/types.js"; +export type * from "./bits/pagination/types.js"; +export type * from "./bits/pin-input/types.js"; +export type * from "./bits/popover/types.js"; +export type * from "./bits/progress/types.js"; +export type * from "./bits/radio-group/types.js"; +export type * from "./bits/range-calendar/types.js"; +export type * from "./bits/rating-group/types.js"; +export type * from "./bits/scroll-area/types.js"; +export type * from "./bits/select/types.js"; +export type * from "./bits/separator/types.js"; +export type * from "./bits/slider/types.js"; +export type * from "./bits/switch/types.js"; +export type * from "./bits/tabs/types.js"; +export type * from "./bits/time-field/types.js"; +export type * from "./bits/time-range-field/types.js"; +export type * from "./bits/toggle/types.js"; +export type * from "./bits/toggle-group/types.js"; +export type * from "./bits/toolbar/types.js"; +export type * from "./bits/tooltip/types.js"; +export type * from "./bits/utilities/config/types.js"; +export type { PortalProps } from "./bits/utilities/portal/types.js"; diff --git a/tools/ui/node_modules/bits-ui/dist/types.js b/tools/ui/node_modules/bits-ui/dist/types.js new file mode 100644 index 0000000000000000000000000000000000000000..cb0ff5c3b541f646105198ee23ac0fc3d805023e --- /dev/null +++ b/tools/ui/node_modules/bits-ui/dist/types.js @@ -0,0 +1 @@ +export {}; diff --git a/tools/ui/node_modules/bits-ui/package.json b/tools/ui/node_modules/bits-ui/package.json new file mode 100644 index 0000000000000000000000000000000000000000..2544d2704ad20df9f11b74c290b33a4dac19d936 --- /dev/null +++ b/tools/ui/node_modules/bits-ui/package.json @@ -0,0 +1,65 @@ +{ + "name": "bits-ui", + "version": "2.18.1", + "license": "MIT", + "repository": "github:huntabyte/bits-ui", + "funding": "https://github.com/sponsors/huntabyte", + "author": "Hunter Johnston ", + "description": "The headless components for Svelte.", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "svelte": "./dist/index.js", + "default": "./dist/index.js" + } + }, + "files": [ + "dist", + "!dist/**/*.test.*", + "!dist/**/*.spec.*" + ], + "devDependencies": { + "@internationalized/date": "^3.8.2", + "@sveltejs/kit": "2.49.5", + "@sveltejs/package": "2.5.0", + "@sveltejs/vite-plugin-svelte": "^6.2.0", + "@types/node": "^20.19.16", + "@types/resize-observer-browser": "^0.1.11", + "csstype": "^3.1.3", + "jsdom": "^24.1.3", + "publint": "^0.2.12", + "svelte": "5.46.4", + "svelte-check": "^4.3.1", + "typescript": "^5.9.2", + "vite": "^7.1.5", + "vitest": "^3.2.4" + }, + "svelte": "./dist/index.js", + "types": "./dist/index.d.ts", + "type": "module", + "dependencies": { + "@floating-ui/core": "^1.7.1", + "@floating-ui/dom": "^1.7.1", + "esm-env": "^1.1.2", + "runed": "^0.35.1", + "svelte-toolbelt": "^0.10.6", + "tabbable": "^6.2.0" + }, + "peerDependencies": { + "@internationalized/date": "^3.8.1", + "svelte": "^5.33.0" + }, + "engines": { + "node": ">=20" + }, + "sideEffects": false, + "scripts": { + "build": "pnpm package", + "dev": "pnpm watch", + "dev:svelte": "vite dev", + "package": "svelte-kit sync && svelte-package && publint", + "check": "svelte-check --tsconfig ./tsconfig.json", + "test": "vitest", + "watch": "svelte-package --watch" + } +} \ No newline at end of file diff --git a/tools/ui/node_modules/body-parser/LICENSE b/tools/ui/node_modules/body-parser/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..386b7b6946e47bc46f8138791049b4e6a7cef889 --- /dev/null +++ b/tools/ui/node_modules/body-parser/LICENSE @@ -0,0 +1,23 @@ +(The MIT License) + +Copyright (c) 2014 Jonathan Ong +Copyright (c) 2014-2015 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/tools/ui/node_modules/body-parser/README.md b/tools/ui/node_modules/body-parser/README.md new file mode 100644 index 0000000000000000000000000000000000000000..335743d2a10053bc24e98dcd6512d80dc14c3186 --- /dev/null +++ b/tools/ui/node_modules/body-parser/README.md @@ -0,0 +1,509 @@ +# body-parser + +[![NPM Version][npm-version-image]][npm-url] +[![NPM Downloads][npm-downloads-image]][npm-url] +[![Build Status][ci-image]][ci-url] +[![Test Coverage][coveralls-image]][coveralls-url] +[![OpenSSF Scorecard Badge][ossf-scorecard-badge]][ossf-scorecard-visualizer] + +Node.js body parsing middleware. + +Parse incoming request bodies in a middleware before your handlers, available +under the `req.body` property. + +**Note** As `req.body`'s shape is based on user-controlled input, all +properties and values in this object are untrusted and should be validated +before trusting. For example, `req.body.foo.toString()` may fail in multiple +ways, for example the `foo` property may not be there or may not be a string, +and `toString` may not be a function and instead a string or other user input. + +[Learn about the anatomy of an HTTP transaction in Node.js](https://nodejs.org/en/learn/http/anatomy-of-an-http-transaction). + +_This does not handle multipart bodies_, due to their complex and typically +large nature. For multipart bodies, you may be interested in the following +modules: + + * [busboy](https://www.npmjs.com/package/busboy#readme) and + [connect-busboy](https://www.npmjs.com/package/connect-busboy#readme) + * [multiparty](https://www.npmjs.com/package/multiparty#readme) and + [connect-multiparty](https://www.npmjs.com/package/connect-multiparty#readme) + * [formidable](https://www.npmjs.com/package/formidable#readme) + * [multer](https://www.npmjs.com/package/multer#readme) + +This module provides the following parsers: + + * [JSON body parser](#bodyparserjsonoptions) + * [Raw body parser](#bodyparserrawoptions) + * [Text body parser](#bodyparsertextoptions) + * [URL-encoded form body parser](#bodyparserurlencodedoptions) + +Other body parsers you might be interested in: + +- [body](https://www.npmjs.com/package/body#readme) +- [co-body](https://www.npmjs.com/package/co-body#readme) + +## Installation + +```sh +$ npm install body-parser +``` + +## API + +```js +// Import all parsers +const bodyParser = require('body-parser') + +// Or import individual parsers directly +const json = require('body-parser/json') +const urlencoded = require('body-parser/urlencoded') +const raw = require('body-parser/raw') +const text = require('body-parser/text') +``` + +The `bodyParser` object exposes various factories to create middlewares. All +middlewares will populate the `req.body` property with the parsed body when +the `Content-Type` request header matches the `type` option. + +The various errors returned by this module are described in the +[errors section](#errors). + +### bodyParser.json([options]) + +Returns middleware that only parses `json` and only looks at requests where +the `Content-Type` header matches the `type` option. This parser accepts any +Unicode encoding of the body and supports automatic inflation of `gzip`, +`br` (brotli) and `deflate` encodings. + +A new `body` object containing the parsed data is populated on the `request` +object after the middleware (i.e. `req.body`). + +#### Options + +The `json` function takes an optional `options` object that may contain any of +the following keys: + +##### defaultCharset + +Specify the default character set for the json content if the charset is not +specified in the `Content-Type` header of the request. Defaults to `utf-8`. + +##### inflate + +When set to `true`, then deflated (compressed) bodies will be inflated; when +`false`, deflated bodies are rejected. Defaults to `true`. + +##### limit + +Controls the maximum request body size. If this is a number, then the value +specifies the number of bytes; if it is a string, the value is passed to the +[bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults +to `'100kb'`. + +> It’s recommended not to configure a very high limit and to use the default value whenever possible. Allowing larger payloads increases memory usage because of the resources required for decoding and transformations, and it can also lead to longer response times as more data is processed. By ‘very high’, we mean values above the default, for example payloads of 5 MB or more can already start to introduce these risks. With the default limits, these issues do not occur. + +##### reviver + +The `reviver` option is passed directly to `JSON.parse` as the second +argument. You can find more information on this argument +[in the MDN documentation about JSON.parse](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse#the_reviver_parameter). + +##### strict + +When set to `true`, will only accept arrays and objects; when `false` will +accept anything `JSON.parse` accepts. Defaults to `true`. + +##### type + +The `type` option is used to determine what media type the middleware will +parse. This option can be a string, array of strings, or a function. If not a +function, `type` option is passed directly to the +[type-is](https://www.npmjs.com/package/type-is#readme) library and this can +be an extension name (like `json`), a mime type (like `application/json`), or +a mime type with a wildcard (like `*/*` or `*/json`). If a function, the `type` +option is called as `fn(req)` and the request is parsed if it returns a truthy +value. Defaults to `application/json`. + +##### verify + +The `verify` option, if supplied, is called as `verify(req, res, buf, encoding)`, +where `buf` is a `Buffer` of the raw request body and `encoding` is the +encoding of the request. The parsing can be aborted by throwing an error. + +### bodyParser.raw([options]) + +Returns middleware that parses all bodies as a `Buffer` and only looks at +requests where the `Content-Type` header matches the `type` option. This +parser supports automatic inflation of `gzip`, `br` (brotli) and `deflate` +encodings. + +A new `body` object containing the parsed data is populated on the `request` +object after the middleware (i.e. `req.body`). This will be a `Buffer` object +of the body. + +#### Options + +The `raw` function takes an optional `options` object that may contain any of +the following keys: + +##### inflate + +When set to `true`, then deflated (compressed) bodies will be inflated; when +`false`, deflated bodies are rejected. Defaults to `true`. + +##### limit + +Controls the maximum request body size. If this is a number, then the value +specifies the number of bytes; if it is a string, the value is passed to the +[bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults +to `'100kb'`. + +> It’s recommended not to configure a very high limit and to use the default value whenever possible. Allowing larger payloads increases memory usage because of the resources required for decoding and transformations, and it can also lead to longer response times as more data is processed. By ‘very high’, we mean values above the default, for example payloads of 5 MB or more can already start to introduce these risks. With the default limits, these issues do not occur. + +##### type + +The `type` option is used to determine what media type the middleware will +parse. This option can be a string, array of strings, or a function. +If not a function, `type` option is passed directly to the +[type-is](https://www.npmjs.com/package/type-is#readme) library and this +can be an extension name (like `bin`), a mime type (like +`application/octet-stream`), or a mime type with a wildcard (like `*/*` or +`application/*`). If a function, the `type` option is called as `fn(req)` +and the request is parsed if it returns a truthy value. Defaults to +`application/octet-stream`. + +##### verify + +The `verify` option, if supplied, is called as `verify(req, res, buf, encoding)`, +where `buf` is a `Buffer` of the raw request body and `encoding` is the +encoding of the request. The parsing can be aborted by throwing an error. + +### bodyParser.text([options]) + +Returns middleware that parses all bodies as a string and only looks at +requests where the `Content-Type` header matches the `type` option. This +parser supports automatic inflation of `gzip`, `br` (brotli) and `deflate` +encodings. + +A new `body` string containing the parsed data is populated on the `request` +object after the middleware (i.e. `req.body`). This will be a string of the +body. + +#### Options + +The `text` function takes an optional `options` object that may contain any of +the following keys: + +##### defaultCharset + +Specify the default character set for the text content if the charset is not +specified in the `Content-Type` header of the request. Defaults to `utf-8`. + +##### inflate + +When set to `true`, then deflated (compressed) bodies will be inflated; when +`false`, deflated bodies are rejected. Defaults to `true`. + +##### limit + +Controls the maximum request body size. If this is a number, then the value +specifies the number of bytes; if it is a string, the value is passed to the +[bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults +to `'100kb'`. + +> It’s recommended not to configure a very high limit and to use the default value whenever possible. Allowing larger payloads increases memory usage because of the resources required for decoding and transformations, and it can also lead to longer response times as more data is processed. By ‘very high’, we mean values above the default, for example payloads of 5 MB or more can already start to introduce these risks. With the default limits, these issues do not occur. + +##### type + +The `type` option is used to determine what media type the middleware will +parse. This option can be a string, array of strings, or a function. If not +a function, `type` option is passed directly to the +[type-is](https://www.npmjs.com/package/type-is#readme) library and this can +be an extension name (like `txt`), a mime type (like `text/plain`), or a mime +type with a wildcard (like `*/*` or `text/*`). If a function, the `type` +option is called as `fn(req)` and the request is parsed if it returns a +truthy value. Defaults to `text/plain`. + +##### verify + +The `verify` option, if supplied, is called as `verify(req, res, buf, encoding)`, +where `buf` is a `Buffer` of the raw request body and `encoding` is the +encoding of the request. The parsing can be aborted by throwing an error. + +### bodyParser.urlencoded([options]) + +Returns middleware that only parses `urlencoded` bodies and only looks at +requests where the `Content-Type` header matches the `type` option. This +parser accepts only UTF-8 and ISO-8859-1 encodings of the body and supports +automatic inflation of `gzip`, `br` (brotli) and `deflate` encodings. + +A new `body` object containing the parsed data is populated on the `request` +object after the middleware (i.e. `req.body`). This object will contain +key-value pairs, where the value can be a string or array (when `extended` is +`false`), or any type (when `extended` is `true`). + +#### Options + +The `urlencoded` function takes an optional `options` object that may contain +any of the following keys: + +##### extended + +The "extended" syntax allows for rich objects and arrays to be encoded into the +URL-encoded format, allowing for a JSON-like experience with URL-encoded. For +more information, please [see the qs +library](https://www.npmjs.com/package/qs#readme). + +Defaults to `false`. + +##### inflate + +When set to `true`, then deflated (compressed) bodies will be inflated; when +`false`, deflated bodies are rejected. Defaults to `true`. + +##### limit + +Controls the maximum request body size. If this is a number, then the value +specifies the number of bytes; if it is a string, the value is passed to the +[bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults +to `'100kb'`. + +> It’s recommended not to configure a very high limit and to use the default value whenever possible. Allowing larger payloads increases memory usage because of the resources required for decoding and transformations, and it can also lead to longer response times as more data is processed. By ‘very high’, we mean values above the default, for example payloads of 5 MB or more can already start to introduce these risks. With the default limits, these issues do not occur. + +##### parameterLimit + +The `parameterLimit` option controls the maximum number of parameters that +are allowed in the URL-encoded data. If a request contains more parameters +than this value, a 413 will be returned to the client. Defaults to `1000`. + +##### type + +The `type` option is used to determine what media type the middleware will +parse. This option can be a string, array of strings, or a function. If not +a function, `type` option is passed directly to the +[type-is](https://www.npmjs.com/package/type-is#readme) library and this can +be an extension name (like `urlencoded`), a mime type (like +`application/x-www-form-urlencoded`), or a mime type with a wildcard (like +`*/x-www-form-urlencoded`). If a function, the `type` option is called as +`fn(req)` and the request is parsed if it returns a truthy value. Defaults +to `application/x-www-form-urlencoded`. + +##### verify + +The `verify` option, if supplied, is called as `verify(req, res, buf, encoding)`, +where `buf` is a `Buffer` of the raw request body and `encoding` is the +encoding of the request. The parsing can be aborted by throwing an error. + +##### defaultCharset + +The default charset to parse as, if not specified in content-type. Must be +either `utf-8` or `iso-8859-1`. Defaults to `utf-8`. + +##### charsetSentinel + +Whether to let the value of the `utf8` parameter take precedence as the charset +selector. It requires the form to contain a parameter named `utf8` with a value +of `✓`. Defaults to `false`. + +##### interpretNumericEntities + +Whether to decode numeric entities such as `☺` when parsing an iso-8859-1 +form. Defaults to `false`. + + +##### depth + +The `depth` option is used to configure the maximum depth of the `qs` library when `extended` is `true`. This allows you to limit the amount of keys that are parsed and can be useful to prevent certain types of abuse. Defaults to `32`. It is recommended to keep this value as low as possible. + +## Errors + +The middlewares provided by this module create errors using the +[`http-errors` module](https://www.npmjs.com/package/http-errors). The errors +will typically have a `status`/`statusCode` property that contains the suggested +HTTP response code, an `expose` property to determine if the `message` property +should be displayed to the client, a `type` property to determine the type of +error without matching against the `message`, and a `body` property containing +the read body, if available. + +The following are the common errors created, though any error can come through +for various reasons. + +### content encoding unsupported + +This error will occur when the request had a `Content-Encoding` header that +contained an encoding but the "inflation" option was set to `false`. The +`status` property is set to `415`, the `type` property is set to +`'encoding.unsupported'`, and the `charset` property will be set to the +encoding that is unsupported. + +### entity parse failed + +This error will occur when the request contained an entity that could not be +parsed by the middleware. The `status` property is set to `400`, the `type` +property is set to `'entity.parse.failed'`, and the `body` property is set to +the entity value that failed parsing. + +### entity verify failed + +This error will occur when the request contained an entity that could not be +failed verification by the defined `verify` option. The `status` property is +set to `403`, the `type` property is set to `'entity.verify.failed'`, and the +`body` property is set to the entity value that failed verification. + +### request aborted + +This error will occur when the request is aborted by the client before reading +the body has finished. The `received` property will be set to the number of +bytes received before the request was aborted and the `expected` property is +set to the number of expected bytes. The `status` property is set to `400` +and `type` property is set to `'request.aborted'`. + +### request entity too large + +This error will occur when the request body's size is larger than the "limit" +option. The `limit` property will be set to the byte limit and the `length` +property will be set to the request body's length. The `status` property is +set to `413` and the `type` property is set to `'entity.too.large'`. + +### request size did not match content length + +This error will occur when the request's length did not match the length from +the `Content-Length` header. This typically occurs when the request is malformed, +typically when the `Content-Length` header was calculated based on characters +instead of bytes. The `status` property is set to `400` and the `type` property +is set to `'request.size.invalid'`. + +### stream encoding should not be set + +This error will occur when something called the `req.setEncoding` method prior +to this middleware. This module operates directly on bytes only and you cannot +call `req.setEncoding` when using this module. The `status` property is set to +`500` and the `type` property is set to `'stream.encoding.set'`. + +### stream is not readable + +This error will occur when the request is no longer readable when this middleware +attempts to read it. This typically means something other than a middleware from +this module read the request body already and the middleware was also configured to +read the same request. The `status` property is set to `500` and the `type` +property is set to `'stream.not.readable'`. + +### too many parameters + +This error will occur when the content of the request exceeds the configured +`parameterLimit` for the `urlencoded` parser. The `status` property is set to +`413` and the `type` property is set to `'parameters.too.many'`. + +### unsupported charset "BOGUS" + +This error will occur when the request had a charset parameter in the +`Content-Type` header, but the `iconv-lite` module does not support it OR the +parser does not support it. The charset is contained in the message as well +as in the `charset` property. The `status` property is set to `415`, the +`type` property is set to `'charset.unsupported'`, and the `charset` property +is set to the charset that is unsupported. + +### unsupported content encoding "bogus" + +This error will occur when the request had a `Content-Encoding` header that +contained an unsupported encoding. The encoding is contained in the message +as well as in the `encoding` property. The `status` property is set to `415`, +the `type` property is set to `'encoding.unsupported'`, and the `encoding` +property is set to the encoding that is unsupported. + +### The input exceeded the depth + +This error occurs when using `bodyParser.urlencoded` with the `extended` property set to `true` and the input exceeds the configured `depth` option. The `status` property is set to `400`. It is recommended to review the `depth` option and evaluate if it requires a higher value. When the `depth` option is set to `32` (default value), the error will not be thrown. + +## Examples + +### Express/Connect top-level generic + +This example demonstrates adding a generic JSON and URL-encoded parser as a +top-level middleware, which will parse the bodies of all incoming requests. +This is the simplest setup. + +```js +const express = require('express') +const bodyParser = require('body-parser') + +const app = express() + +// parse application/x-www-form-urlencoded +app.use(bodyParser.urlencoded()) + +// parse application/json +app.use(bodyParser.json()) + +app.use(function (req, res) { + res.setHeader('Content-Type', 'text/plain') + res.write('you posted:\n') + res.end(String(JSON.stringify(req.body, null, 2))) +}) +``` + +### Express route-specific + +This example demonstrates adding body parsers specifically to the routes that +need them. In general, this is the most recommended way to use body-parser with +Express. + +```js +const express = require('express') +const bodyParser = require('body-parser') + +const app = express() + +// create application/json parser +const jsonParser = bodyParser.json() + +// create application/x-www-form-urlencoded parser +const urlencodedParser = bodyParser.urlencoded() + +// POST /login gets urlencoded bodies +app.post('/login', urlencodedParser, function (req, res) { + if (!req.body || !req.body.username) res.sendStatus(400) + res.send('welcome, ' + req.body.username) +}) + +// POST /api/users gets JSON bodies +app.post('/api/users', jsonParser, function (req, res) { + if (!req.body) res.sendStatus(400) + // create user in req.body +}) +``` + +### Change accepted type for parsers + +All the parsers accept a `type` option which allows you to change the +`Content-Type` that the middleware will parse. + +```js +const express = require('express') +const bodyParser = require('body-parser') + +const app = express() + +// parse various different custom JSON types as JSON +app.use(bodyParser.json({ type: 'application/*+json' })) + +// parse some custom thing into a Buffer +app.use(bodyParser.raw({ type: 'application/vnd.custom-type' })) + +// parse an HTML body into a string +app.use(bodyParser.text({ type: 'text/html' })) +``` + +## License + +[MIT](LICENSE) + +[ci-image]: https://img.shields.io/github/actions/workflow/status/expressjs/body-parser/ci.yml?branch=master&label=ci +[ci-url]: https://github.com/expressjs/body-parser/actions/workflows/ci.yml +[coveralls-image]: https://img.shields.io/coverallsCoverage/github/expressjs/body-parser?branch=master +[coveralls-url]: https://coveralls.io/r/expressjs/body-parser?branch=master +[npm-downloads-image]: https://img.shields.io/npm/dm/body-parser +[npm-url]: https://npmjs.com/package/body-parser +[npm-version-image]: https://img.shields.io/npm/v/body-parser +[ossf-scorecard-badge]: https://api.scorecard.dev/projects/github.com/expressjs/body-parser/badge +[ossf-scorecard-visualizer]: https://ossf.github.io/scorecard-visualizer/#/projects/github.com/expressjs/body-parser diff --git a/tools/ui/node_modules/body-parser/index.js b/tools/ui/node_modules/body-parser/index.js new file mode 100644 index 0000000000000000000000000000000000000000..c0526e16bde72beed6810e2d195826a6359dafa7 --- /dev/null +++ b/tools/ui/node_modules/body-parser/index.js @@ -0,0 +1,55 @@ +/*! + * body-parser + * Copyright(c) 2014-2015 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * @typedef {Object} Parsers + * @property {Function} json JSON parser + * @property {Function} raw Raw parser + * @property {Function} text Text parser + * @property {Function} urlencoded URL-encoded parser + */ + +/** + * Module exports. + * @type {Function & Parsers} + */ +exports = module.exports = bodyParser + +/** + * JSON parser. + * @public + */ +exports.json = require('./lib/types/json') + +/** + * Raw parser. + * @public + */ +exports.raw = require('./lib/types/raw') + +/** + * Text parser. + * @public + */ +exports.text = require('./lib/types/text') + +/** + * URL-encoded parser. + * @public + */ +exports.urlencoded = require('./lib/types/urlencoded') + +/** + * Create a middleware to parse json and urlencoded bodies. + * + * @deprecated + * @public + */ +function bodyParser () { + throw new Error('The bodyParser() generic has been split into individual middleware to use instead.') +} diff --git a/tools/ui/node_modules/body-parser/lib/read.js b/tools/ui/node_modules/body-parser/lib/read.js new file mode 100644 index 0000000000000000000000000000000000000000..bf1a1df420ed3d072cad6002ae235e64e8d26281 --- /dev/null +++ b/tools/ui/node_modules/body-parser/lib/read.js @@ -0,0 +1,247 @@ +/*! + * body-parser + * Copyright(c) 2014-2015 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module dependencies. + * @private + */ + +const createError = require('http-errors') +const getBody = require('raw-body') +const iconv = require('iconv-lite') +const onFinished = require('on-finished') +const zlib = require('node:zlib') +const hasBody = require('type-is').hasBody +const { getCharset } = require('./utils') + +/** + * Module exports. + */ + +module.exports = read + +/** + * Read a request into a buffer and parse. + * + * @param {Object} req + * @param {Object} res + * @param {Function} next + * @param {Function} parse + * @param {Function} debug + * @param {Object} options + * @private + */ +function read (req, res, next, parse, debug, options) { + if (onFinished.isFinished(req)) { + debug('body already parsed') + next() + return + } + + if (!('body' in req)) { + req.body = undefined + } + + // skip requests without bodies + if (!hasBody(req)) { + debug('skip empty body') + next() + return + } + + debug('content-type %j', req.headers['content-type']) + + // determine if request should be parsed + if (!options.shouldParse(req)) { + debug('skip parsing') + next() + return + } + + let encoding = null + if (options?.skipCharset !== true) { + encoding = getCharset(req) || options.defaultCharset + + // validate charset + if (!!options?.isValidCharset && !options.isValidCharset(encoding)) { + debug('invalid charset') + next(createError(415, 'unsupported charset "' + encoding.toUpperCase() + '"', { + charset: encoding, + type: 'charset.unsupported' + })) + return + } + } + + let length + const opts = options + let stream + + // read options + const verify = opts.verify + + try { + // get the content stream + stream = contentstream(req, debug, opts.inflate) + length = stream.length + stream.length = undefined + } catch (err) { + return next(err) + } + + // set raw-body options + opts.length = length + opts.encoding = verify + ? null + : encoding + + // assert charset is supported + if (opts.encoding === null && encoding !== null && !iconv.encodingExists(encoding)) { + return next(createError(415, 'unsupported charset "' + encoding.toUpperCase() + '"', { + charset: encoding.toLowerCase(), + type: 'charset.unsupported' + })) + } + + // read body + debug('read body') + getBody(stream, opts, function (error, body) { + if (error) { + let _error + + if (error.type === 'encoding.unsupported') { + // echo back charset + _error = createError(415, 'unsupported charset "' + encoding.toUpperCase() + '"', { + charset: encoding.toLowerCase(), + type: 'charset.unsupported' + }) + } else { + // set status code on error + _error = createError(400, error) + } + + // unpipe from stream and destroy + if (stream !== req) { + req.unpipe() + stream.destroy() + } + + // read off entire request + dump(req, function onfinished () { + next(createError(400, _error)) + }) + return + } + + // verify + if (verify) { + try { + debug('verify body') + verify(req, res, body, encoding) + } catch (err) { + next(createError(403, err, { + body: body, + type: err.type || 'entity.verify.failed' + })) + return + } + } + + // parse + let str = body + try { + debug('parse body') + str = typeof body !== 'string' && encoding !== null + ? iconv.decode(body, encoding) + : body + req.body = parse(str, encoding) + } catch (err) { + next(createError(400, err, { + body: str, + type: err.type || 'entity.parse.failed' + })) + return + } + + next() + }) +} + +/** + * Get the content stream of the request. + * + * @param {Object} req + * @param {Function} debug + * @param {boolean} inflate + * @returns {Object} + * @private + */ +function contentstream (req, debug, inflate) { + const encoding = (req.headers['content-encoding'] || 'identity').toLowerCase() + const length = req.headers['content-length'] + + debug('content-encoding "%s"', encoding) + + if (inflate === false && encoding !== 'identity') { + throw createError(415, 'content encoding unsupported', { + encoding: encoding, + type: 'encoding.unsupported' + }) + } + + if (encoding === 'identity') { + req.length = length + return req + } + + const stream = createDecompressionStream(encoding, debug) + req.pipe(stream) + return stream +} + +/** + * Create a decompression stream for the given encoding. + * @param {string} encoding + * @param {Function} debug + * @returns {Object} + * @private + */ +function createDecompressionStream (encoding, debug) { + switch (encoding) { + case 'deflate': + debug('inflate body') + return zlib.createInflate() + case 'gzip': + debug('gunzip body') + return zlib.createGunzip() + case 'br': + debug('brotli decompress body') + return zlib.createBrotliDecompress() + default: + throw createError(415, 'unsupported content encoding "' + encoding + '"', { + encoding: encoding, + type: 'encoding.unsupported' + }) + } +} + +/** + * Dump the contents of a request. + * + * @param {Object} req + * @param {Function} callback + * @private + */ +function dump (req, callback) { + if (onFinished.isFinished(req)) { + callback(null) + } else { + onFinished(req, callback) + req.resume() + } +} diff --git a/tools/ui/node_modules/body-parser/lib/types/json.js b/tools/ui/node_modules/body-parser/lib/types/json.js new file mode 100644 index 0000000000000000000000000000000000000000..14ca3e49b8ee04a9f1603eaa110388a93435b165 --- /dev/null +++ b/tools/ui/node_modules/body-parser/lib/types/json.js @@ -0,0 +1,186 @@ +/*! + * body-parser + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2014-2015 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module dependencies. + * @private + */ + +const debug = require('debug')('body-parser:json') +const read = require('../read') +const { normalizeOptions } = require('../utils') + +/** + * Module exports. + */ + +module.exports = json + +/** + * RegExp to match the first non-space in a string. + * + * Allowed whitespace is defined in RFC 7159: + * + * ws = *( + * %x20 / ; Space + * %x09 / ; Horizontal tab + * %x0A / ; Line feed or New line + * %x0D ) ; Carriage return + */ +const FIRST_CHAR_REGEXP = /^[\x20\x09\x0a\x0d]*([^\x20\x09\x0a\x0d])/ // eslint-disable-line no-control-regex + +const JSON_SYNTAX_CHAR = '#' +const JSON_SYNTAX_REGEXP = /#+/g + +/** + * Create a middleware to parse JSON bodies. + * + * @param {Object} [options] + * @returns {Function} + * @public + */ +function json (options) { + const normalizedOptions = normalizeOptions(options, 'application/json') + + const parse = createJsonParser(options) + + const readOptions = { + ...normalizedOptions, + // assert charset per RFC 7159 sec 8.1 + isValidCharset: (charset) => charset.slice(0, 4) === 'utf-' + } + + return function jsonParser (req, res, next) { + read(req, res, next, parse, debug, readOptions) + } +} + +/** + * Create a JSON parse function + * + * @param {object} [options] + * @return {function} + * @private + */ +function createJsonParser (options) { + const reviver = options?.reviver + const strict = options?.strict !== false + + if (strict) { + return function parse (body) { + if (body.length === 0) { + // special-case empty json body, as it's a common client-side mistake + // TODO: maybe make this configurable or part of "strict" option + return {} + } + + const first = firstchar(body) + if (first !== '{' && first !== '[') { + debug('strict violation') + throw createStrictSyntaxError(body, first) + } + + try { + debug('parse json') + return JSON.parse(body, reviver) + } catch (e) { + throw normalizeJsonSyntaxError(e, { + message: e.message, + stack: e.stack + }) + } + } + } + + return function parse (body) { + if (body.length === 0) { + // special-case empty json body, as it's a common client-side mistake + // TODO: maybe make this configurable or part of "strict" option + return {} + } + + try { + debug('parse json') + return JSON.parse(body, reviver) + } catch (e) { + throw normalizeJsonSyntaxError(e, { + message: e.message, + stack: e.stack + }) + } + } +} + +/** + * Create strict violation syntax error matching native error. + * + * @param {string} str + * @param {string} char + * @returns {Error} + * @private + */ +function createStrictSyntaxError (str, char) { + const index = str.indexOf(char) + let partial = '' + + if (index !== -1) { + partial = str.substring(0, index) + JSON_SYNTAX_CHAR.repeat(str.length - index) + } + + try { + JSON.parse(partial); /* istanbul ignore next */ throw new SyntaxError('strict violation') + } catch (e) { + return normalizeJsonSyntaxError(e, { + message: e.message.replace(JSON_SYNTAX_REGEXP, function (placeholder) { + return str.substring(index, index + placeholder.length) + }), + stack: e.stack + }) + } +} + +/** + * Get the first non-whitespace character in a string. + * + * @param {string} str + * @returns {string|undefined} + * @private + */ +function firstchar (str) { + const match = FIRST_CHAR_REGEXP.exec(str) + + return match + ? match[1] + : undefined +} + +/** + * Normalize a SyntaxError for JSON.parse. + * + * @param {SyntaxError} error + * @param {Object} obj + * @returns {SyntaxError} + * @private + */ +function normalizeJsonSyntaxError (error, obj) { + const keys = Object.getOwnPropertyNames(error) + + for (let i = 0; i < keys.length; i++) { + const key = keys[i] + if (key !== 'stack' && key !== 'message') { + delete error[key] + } + } + + // replace stack before message for Node.js 0.10 and below + error.stack = obj.stack.replace(error.message, obj.message) + error.message = obj.message + + return error +} diff --git a/tools/ui/node_modules/body-parser/lib/types/raw.js b/tools/ui/node_modules/body-parser/lib/types/raw.js new file mode 100644 index 0000000000000000000000000000000000000000..c84083b0e01e2068a88b5498917436d9c8632296 --- /dev/null +++ b/tools/ui/node_modules/body-parser/lib/types/raw.js @@ -0,0 +1,42 @@ +/*! + * body-parser + * Copyright(c) 2014-2015 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module dependencies. + */ + +const debug = require('debug')('body-parser:raw') +const read = require('../read') +const { normalizeOptions, passthrough } = require('../utils') + +/** + * Module exports. + */ + +module.exports = raw + +/** + * Create a middleware to parse raw bodies. + * + * @param {Object} [options] + * @returns {Function} + * @public + */ +function raw (options) { + const normalizedOptions = normalizeOptions(options, 'application/octet-stream') + + const readOptions = { + ...normalizedOptions, + // Skip charset validation and parse the body as is + skipCharset: true + } + + return function rawParser (req, res, next) { + read(req, res, next, passthrough, debug, readOptions) + } +} diff --git a/tools/ui/node_modules/body-parser/lib/types/text.js b/tools/ui/node_modules/body-parser/lib/types/text.js new file mode 100644 index 0000000000000000000000000000000000000000..893c80127c007813bb91c1b4dc20b3065f3d168b --- /dev/null +++ b/tools/ui/node_modules/body-parser/lib/types/text.js @@ -0,0 +1,36 @@ +/*! + * body-parser + * Copyright(c) 2014-2015 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module dependencies. + */ + +const debug = require('debug')('body-parser:text') +const read = require('../read') +const { normalizeOptions, passthrough } = require('../utils') + +/** + * Module exports. + */ + +module.exports = text + +/** + * Create a middleware to parse text bodies. + * + * @param {Object} [options] + * @returns {Function} + * @public + */ +function text (options) { + const normalizedOptions = normalizeOptions(options, 'text/plain') + + return function textParser (req, res, next) { + read(req, res, next, passthrough, debug, normalizedOptions) + } +} diff --git a/tools/ui/node_modules/body-parser/lib/types/urlencoded.js b/tools/ui/node_modules/body-parser/lib/types/urlencoded.js new file mode 100644 index 0000000000000000000000000000000000000000..1db964cba7371faf0e467733cb39c9792bb00938 --- /dev/null +++ b/tools/ui/node_modules/body-parser/lib/types/urlencoded.js @@ -0,0 +1,138 @@ +/*! + * body-parser + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2014-2015 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module dependencies. + * @private + */ + +const createError = require('http-errors') +const debug = require('debug')('body-parser:urlencoded') +const read = require('../read') +const qs = require('qs') +const { normalizeOptions } = require('../utils') + +/** + * Module exports. + */ + +module.exports = urlencoded + +/** + * Create a middleware to parse urlencoded bodies. + * + * @param {Object} [options] + * @returns {Function} + * @public + */ +function urlencoded (options) { + const normalizedOptions = normalizeOptions(options, 'application/x-www-form-urlencoded') + + if (normalizedOptions.defaultCharset !== 'utf-8' && normalizedOptions.defaultCharset !== 'iso-8859-1') { + throw new TypeError('option defaultCharset must be either utf-8 or iso-8859-1') + } + + // create the appropriate query parser + const parse = createQueryParser(options) + + const readOptions = { + ...normalizedOptions, + // assert charset + isValidCharset: (charset) => charset === 'utf-8' || charset === 'iso-8859-1' + } + + return function urlencodedParser (req, res, next) { + read(req, res, next, parse, debug, readOptions) + } +} + +/** + * Get the extended query parser. + * + * @param {Object} options + * @returns {Function} + * @private + */ +function createQueryParser (options) { + const extended = Boolean(options?.extended) + let parameterLimit = options?.parameterLimit !== undefined + ? options?.parameterLimit + : 1000 + const charsetSentinel = options?.charsetSentinel + const interpretNumericEntities = options?.interpretNumericEntities + const depth = extended ? (options?.depth !== undefined ? options?.depth : 32) : 0 + + if (isNaN(parameterLimit) || parameterLimit < 1) { + throw new TypeError('option parameterLimit must be a positive number') + } + + if (isNaN(depth) || depth < 0) { + throw new TypeError('option depth must be a zero or a positive number') + } + + if (isFinite(parameterLimit)) { + parameterLimit = parameterLimit | 0 + } + + return function parse (body, encoding) { + if (!body.length) return {} + + const paramCount = parameterCount(body, parameterLimit) + + if (paramCount === undefined) { + debug('too many parameters') + throw createError(413, 'too many parameters', { + type: 'parameters.too.many' + }) + } + + const arrayLimit = extended ? Math.max(100, paramCount) : paramCount + + debug('parse ' + (extended ? 'extended ' : '') + 'urlencoding') + try { + return qs.parse(body, { + allowPrototypes: true, + arrayLimit: arrayLimit, + depth: depth, + charsetSentinel: charsetSentinel, + interpretNumericEntities: interpretNumericEntities, + charset: encoding, + parameterLimit: parameterLimit, + strictDepth: true + }) + } catch (err) { + if (err instanceof RangeError) { + throw createError(400, 'The input exceeded the depth', { + type: 'querystring.parse.rangeError' + }) + } else { + throw err + } + } + } +} + +/** + * Count the number of parameters, stopping once limit reached + * + * @param {string} body + * @param {number} limit + * @returns {number|undefined} Returns undefined if limit exceeded + * @private + */ +function parameterCount (body, limit) { + let count = 0 + let index = -1 + do { + count++ + if (count > limit) return undefined // Early exit if limit exceeded + index = body.indexOf('&', index + 1) + } while (index !== -1) + return count +} diff --git a/tools/ui/node_modules/body-parser/lib/utils.js b/tools/ui/node_modules/body-parser/lib/utils.js new file mode 100644 index 0000000000000000000000000000000000000000..7a0dda43c36d9998b2bd6c13cbeecf67af9e1e3e --- /dev/null +++ b/tools/ui/node_modules/body-parser/lib/utils.js @@ -0,0 +1,100 @@ +'use strict' + +/** + * Module dependencies. + */ + +const bytes = require('bytes') +const contentType = require('content-type') +const typeis = require('type-is') + +/** + * Module exports. + */ +module.exports = { + getCharset, + normalizeOptions, + passthrough +} + +/** + * Get the charset of a request. + * + * @param {Object} req + * @returns {string | undefined} + * @private + */ +function getCharset (req) { + const header = req.headers['content-type'] + if (!header) return undefined + return contentType.parse(header).parameters.charset?.toLowerCase() +} + +/** + * Get the simple type checker. + * + * @param {string | string[]} type + * @returns {Function} + * @private + */ +function typeChecker (type) { + return function checkType (req) { + return Boolean(typeis(req, type)) + } +} + +/** + * Normalizes the common options for all parsers. + * + * @param {Object} options options to normalize + * @param {string | string[] | Function} defaultType default content type(s) or a function to determine it + * @returns {Object} + * @private + */ +function normalizeOptions (options, defaultType) { + if (!defaultType) { + // Parsers must define a default content type + throw new TypeError('defaultType must be provided') + } + + const inflate = options?.inflate !== false + const limit = typeof options?.limit === 'undefined' || options?.limit === null + ? 102400 // 100kb default + : bytes.parse(options.limit) + const type = options?.type || defaultType + const verify = options?.verify || false + const defaultCharset = options?.defaultCharset || 'utf-8' + + if (limit === null) { + throw new TypeError(`option limit "${String(options.limit)}" is invalid`) + } + + if (verify !== false && typeof verify !== 'function') { + throw new TypeError('option verify must be function') + } + + // create the appropriate type checking function + const shouldParse = typeof type !== 'function' + ? typeChecker(type) + : type + + return { + inflate, + limit, + verify, + defaultCharset, + shouldParse + } +} + +/** + * Passthrough function that returns input unchanged. + * Used by parsers that don't need to transform the data. + * + * @param {*} value + * @returns {*} + * @private + */ +function passthrough (value) { + return value +} diff --git a/tools/ui/node_modules/body-parser/node_modules/content-type/LICENSE b/tools/ui/node_modules/body-parser/node_modules/content-type/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..34b1a2de37216b60b749c23b6f894e51d701ecf0 --- /dev/null +++ b/tools/ui/node_modules/body-parser/node_modules/content-type/LICENSE @@ -0,0 +1,22 @@ +(The MIT License) + +Copyright (c) 2015 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/tools/ui/node_modules/body-parser/node_modules/content-type/README.md b/tools/ui/node_modules/body-parser/node_modules/content-type/README.md new file mode 100644 index 0000000000000000000000000000000000000000..7f6847d54901b26a15beec1c5c075cab1e0ddd2b --- /dev/null +++ b/tools/ui/node_modules/body-parser/node_modules/content-type/README.md @@ -0,0 +1,69 @@ +# content-type + +[![NPM version][npm-image]][npm-url] +[![NPM downloads][downloads-image]][downloads-url] +[![Build status][build-image]][build-url] +[![Build coverage][coverage-image]][coverage-url] +[![License][license-image]][license-url] + +Create and parse HTTP `Content-Type` header. + +## Installation + +```sh +npm install content-type +``` + +## API + +```js +const contentType = require("content-type"); +``` + +### contentType.parse(string, options?) + +```js +const obj = contentType.parse("image/svg+xml; charset=utf-8"); +``` + +Parse a `Content-Type` header. This will return an object with the following properties (examples are shown for the string `'image/svg+xml; charset=utf-8'`): + +- `type`: The media type. Example: `'image/svg+xml'`. +- `parameters`: An object of the parameters in the media type (parameter name is always lower case). Example: `{charset: 'utf-8'}`. + +The parser is lenient and does not error. You should validate `type` and `parameters` before trusting them. + +#### Options + +- `parameters` (default: `true`): Set to `false` to skip parameters. + +### contentType.format(obj) + +```js +const str = contentType.format({ + type: "image/svg+xml", + parameters: { charset: "utf-8" }, +}); +``` + +Format an object into a `Content-Type` header. This will return a string of the content type for the given object with the following properties (examples are shown that produce the string `'image/svg+xml; charset=utf-8'`): + +- `type`: The media type. Example: `'image/svg+xml'`. +- `parameters`: An optional object of the parameters in the media type. Example: `{charset: 'utf-8'}`. + +Throws a `TypeError` if the object contains an invalid type or parameter names. + +## License + +[MIT](LICENSE) + +[npm-image]: https://img.shields.io/npm/v/content-type +[npm-url]: https://npmjs.org/package/content-type +[downloads-image]: https://img.shields.io/npm/dm/content-type +[downloads-url]: https://npmjs.org/package/content-type +[build-image]: https://img.shields.io/github/actions/workflow/status/jshttp/content-type/ci.yml?branch=master +[build-url]: https://github.com/jshttp/content-type/actions/workflows/ci.yml?query=branch%3Amaster +[coverage-image]: https://img.shields.io/codecov/c/gh/jshttp/content-type +[coverage-url]: https://codecov.io/gh/jshttp/content-type +[license-image]: http://img.shields.io/npm/l/content-type.svg?style=flat +[license-url]: LICENSE diff --git a/tools/ui/node_modules/body-parser/node_modules/content-type/dist/index.d.ts b/tools/ui/node_modules/body-parser/node_modules/content-type/dist/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..7e7289826ff456e1b3bedee2cdad38122e898194 --- /dev/null +++ b/tools/ui/node_modules/body-parser/node_modules/content-type/dist/index.d.ts @@ -0,0 +1,26 @@ +/*! + * content-type + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */ +/** + * The content type object contains a type string and optional parameters. + */ +export interface ContentType { + type: string; + parameters: Record; +} +/** + * Format an object into a `Content-Type` header. + */ +export declare function format(obj: Partial): string; +/** + * Options for parsing a `Content-Type` header. + */ +export interface ParseOptions { + parameters?: boolean; +} +/** + * Parse a `Content-Type` header. + */ +export declare function parse(header: string, options?: ParseOptions): ContentType; diff --git a/tools/ui/node_modules/body-parser/node_modules/content-type/dist/index.js b/tools/ui/node_modules/body-parser/node_modules/content-type/dist/index.js new file mode 100644 index 0000000000000000000000000000000000000000..4026f973dafb1cbfde16dfe0ee72c48492fb299c --- /dev/null +++ b/tools/ui/node_modules/body-parser/node_modules/content-type/dist/index.js @@ -0,0 +1,170 @@ +"use strict"; +/*! + * content-type + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */ +Object.defineProperty(exports, "__esModule", { value: true }); +exports.format = format; +exports.parse = parse; +const TEXT_REGEXP = /^[\u0009\u0020-\u007e\u0080-\u00ff]*$/; +const TOKEN_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/; +/** + * RegExp to match chars that must be quoted-pair in RFC 9110 sec 5.6.4 + */ +const QUOTE_REGEXP = /[\\"]/g; +/** + * RegExp to match type in RFC 9110 sec 8.3.1 + * + * media-type = type "/" subtype + * type = token + * subtype = token + */ +const TYPE_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/; +/** + * Null object perf optimization. Faster than `Object.create(null)` and `{ __proto__: null }`. + */ +const NullObject = /* @__PURE__ */ (() => { + const C = function () { }; + C.prototype = Object.create(null); + return C; +})(); +/** + * Format an object into a `Content-Type` header. + */ +function format(obj) { + const { type, parameters } = obj; + if (!type || !TYPE_REGEXP.test(type)) { + throw new TypeError(`Invalid type: ${type}`); + } + let result = type; + if (parameters) { + for (const param of Object.keys(parameters)) { + if (!TOKEN_REGEXP.test(param)) { + throw new TypeError(`Invalid parameter name: ${param}`); + } + result += `; ${param}=${qstring(parameters[param])}`; + } + } + return result; +} +/** + * Parse a `Content-Type` header. + */ +function parse(header, options) { + const len = header.length; + let index = skipOWS(header, 0, len); + const valueStart = index; + index = skipValue(header, index, len); + const valueEnd = trailingOWS(header, valueStart, index); + const type = header.slice(valueStart, valueEnd).toLowerCase(); + const parameters = options?.parameters === false + ? new NullObject() + : parseParameters(header, index, len); + return { type, parameters }; +} +const SP = 32; // " " +const HTAB = 9; // "\t" +const SEMI = 59; // ";" +const EQ = 61; // "=" +const DQUOTE = 34; // '"' +const BSLASH = 92; // "\\" +/** + * Parses the parameters of a `Content-Type` header starting at the given index. + */ +function parseParameters(header, index, len) { + const parameters = new NullObject(); + parameter: while (index < len) { + index = skipOWS(header, index + 1 /* Skip over ; */, len); + const keyStart = index; + while (index < len) { + const code = header.charCodeAt(index); + if (code === SEMI) + continue parameter; + if (code === EQ) { + const keyEnd = trailingOWS(header, keyStart, index); + const key = header.slice(keyStart, keyEnd).toLowerCase(); + index = skipOWS(header, index + 1, len); + if (index < len && header.charCodeAt(index) === DQUOTE) { + index++; + let value = ""; + while (index < len) { + const code = header.charCodeAt(index++); + if (code === DQUOTE) { + index = skipValue(header, index, len); + if (parameters[key] === undefined) + parameters[key] = value; + break; + } + if (code === BSLASH && index < len) { + value += header[index++]; + continue; + } + value += String.fromCharCode(code); + } + continue parameter; + } + const valueStart = index; + index = skipValue(header, index, len); + if (parameters[key] === undefined) { + const valueEnd = trailingOWS(header, valueStart, index); + parameters[key] = header.slice(valueStart, valueEnd); + } + continue parameter; + } + index++; + } + } + return parameters; +} +/** + * Skip over characters until a semicolon. + */ +function skipValue(str, index, len) { + while (index < len) { + const char = str.charCodeAt(index); + if (char === SEMI) + break; + index++; + } + return index; +} +/** + * Skip optional whitespace (OWS) in an HTTP header value. + * + * OWS is defined in RFC 9110 sec 5.6.3 as SP (" ") or HTAB ("\t"). + */ +function skipOWS(header, index, len) { + while (index < len) { + const char = header.charCodeAt(index); + if (char !== SP && char !== HTAB) + break; + index++; + } + return index; +} +/** + * Trim optional whitespace (OWS) from the end of a substring. + * + * OWS is defined in RFC 9110 sec 5.6.3 as SP (" ") or HTAB ("\t"). + */ +function trailingOWS(header, start, end) { + while (end > start) { + const char = header.charCodeAt(end - 1); + if (char !== SP && char !== HTAB) + break; + end--; + } + return end; +} +/** + * Serialize a parameter value. + */ +function qstring(str) { + if (TOKEN_REGEXP.test(str)) + return str; + if (TEXT_REGEXP.test(str)) + return `"${str.replace(QUOTE_REGEXP, "\\$&")}"`; + throw new TypeError(`Invalid parameter value: ${str}`); +} +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/tools/ui/node_modules/body-parser/node_modules/content-type/dist/index.js.map b/tools/ui/node_modules/body-parser/node_modules/content-type/dist/index.js.map new file mode 100644 index 0000000000000000000000000000000000000000..db5da25d1a2a305facb5efdc7ff9b9ef6681c8e2 --- /dev/null +++ b/tools/ui/node_modules/body-parser/node_modules/content-type/dist/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;AAwCH,wBAoBC;AAYD,sBAcC;AApFD,MAAM,WAAW,GAAG,uCAAuC,CAAC;AAC5D,MAAM,YAAY,GAAG,+BAA+B,CAAC;AAErD;;GAEG;AACH,MAAM,YAAY,GAAG,QAAQ,CAAC;AAE9B;;;;;;GAMG;AACH,MAAM,WAAW,GACf,4DAA4D,CAAC;AAE/D;;GAEG;AACH,MAAM,UAAU,GAAG,eAAe,CAAC,CAAC,GAAG,EAAE;IACvC,MAAM,CAAC,GAAG,cAAa,CAAC,CAAC;IACzB,CAAC,CAAC,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAClC,OAAO,CAAC,CAAC;AACX,CAAC,CAAC,EAAgC,CAAC;AAUnC;;GAEG;AACH,SAAgB,MAAM,CAAC,GAAyB;IAC9C,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,GAAG,CAAC;IAEjC,IAAI,CAAC,IAAI,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;QACrC,MAAM,IAAI,SAAS,CAAC,iBAAiB,IAAI,EAAE,CAAC,CAAC;IAC/C,CAAC;IAED,IAAI,MAAM,GAAG,IAAI,CAAC;IAElB,IAAI,UAAU,EAAE,CAAC;QACf,KAAK,MAAM,KAAK,IAAI,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAC5C,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC9B,MAAM,IAAI,SAAS,CAAC,2BAA2B,KAAK,EAAE,CAAC,CAAC;YAC1D,CAAC;YAED,MAAM,IAAI,KAAK,KAAK,IAAI,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;QACvD,CAAC;IACH,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AASD;;GAEG;AACH,SAAgB,KAAK,CAAC,MAAc,EAAE,OAAsB;IAC1D,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC;IAC1B,IAAI,KAAK,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,GAAG,CAAC,CAAC;IAEpC,MAAM,UAAU,GAAG,KAAK,CAAC;IACzB,KAAK,GAAG,SAAS,CAAC,MAAM,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC;IACtC,MAAM,QAAQ,GAAG,WAAW,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,CAAC,CAAC;IACxD,MAAM,IAAI,GAAG,MAAM,CAAC,KAAK,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,WAAW,EAAE,CAAC;IAC9D,MAAM,UAAU,GACd,OAAO,EAAE,UAAU,KAAK,KAAK;QAC3B,CAAC,CAAC,IAAI,UAAU,EAAE;QAClB,CAAC,CAAC,eAAe,CAAC,MAAM,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC;IAE1C,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;AAC9B,CAAC;AAED,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,MAAM;AACrB,MAAM,IAAI,GAAG,CAAC,CAAC,CAAC,OAAO;AACvB,MAAM,IAAI,GAAG,EAAE,CAAC,CAAC,MAAM;AACvB,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,MAAM;AACrB,MAAM,MAAM,GAAG,EAAE,CAAC,CAAC,MAAM;AACzB,MAAM,MAAM,GAAG,EAAE,CAAC,CAAC,OAAO;AAE1B;;GAEG;AACH,SAAS,eAAe,CACtB,MAAc,EACd,KAAa,EACb,GAAW;IAEX,MAAM,UAAU,GAA2B,IAAI,UAAU,EAAE,CAAC;IAE5D,SAAS,EAAE,OAAO,KAAK,GAAG,GAAG,EAAE,CAAC;QAC9B,KAAK,GAAG,OAAO,CAAC,MAAM,EAAE,KAAK,GAAG,CAAC,CAAC,iBAAiB,EAAE,GAAG,CAAC,CAAC;QAE1D,MAAM,QAAQ,GAAG,KAAK,CAAC;QAEvB,OAAO,KAAK,GAAG,GAAG,EAAE,CAAC;YACnB,MAAM,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;YACtC,IAAI,IAAI,KAAK,IAAI;gBAAE,SAAS,SAAS,CAAC;YAEtC,IAAI,IAAI,KAAK,EAAE,EAAE,CAAC;gBAChB,MAAM,MAAM,GAAG,WAAW,CAAC,MAAM,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;gBACpD,MAAM,GAAG,GAAG,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,WAAW,EAAE,CAAC;gBAEzD,KAAK,GAAG,OAAO,CAAC,MAAM,EAAE,KAAK,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC;gBAExC,IAAI,KAAK,GAAG,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK,MAAM,EAAE,CAAC;oBACvD,KAAK,EAAE,CAAC;oBAER,IAAI,KAAK,GAAG,EAAE,CAAC;oBACf,OAAO,KAAK,GAAG,GAAG,EAAE,CAAC;wBACnB,MAAM,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,CAAC,CAAC;wBACxC,IAAI,IAAI,KAAK,MAAM,EAAE,CAAC;4BACpB,KAAK,GAAG,SAAS,CAAC,MAAM,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC;4BACtC,IAAI,UAAU,CAAC,GAAG,CAAC,KAAK,SAAS;gCAAE,UAAU,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;4BAC3D,MAAM;wBACR,CAAC;wBAED,IAAI,IAAI,KAAK,MAAM,IAAI,KAAK,GAAG,GAAG,EAAE,CAAC;4BACnC,KAAK,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC;4BACzB,SAAS;wBACX,CAAC;wBAED,KAAK,IAAI,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;oBACrC,CAAC;oBAED,SAAS,SAAS,CAAC;gBACrB,CAAC;gBAED,MAAM,UAAU,GAAG,KAAK,CAAC;gBACzB,KAAK,GAAG,SAAS,CAAC,MAAM,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC;gBAEtC,IAAI,UAAU,CAAC,GAAG,CAAC,KAAK,SAAS,EAAE,CAAC;oBAClC,MAAM,QAAQ,GAAG,WAAW,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,CAAC,CAAC;oBACxD,UAAU,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;gBACvD,CAAC;gBAED,SAAS,SAAS,CAAC;YACrB,CAAC;YAED,KAAK,EAAE,CAAC;QACV,CAAC;IACH,CAAC;IAED,OAAO,UAAU,CAAC;AACpB,CAAC;AAED;;GAEG;AACH,SAAS,SAAS,CAAC,GAAW,EAAE,KAAa,EAAE,GAAW;IACxD,OAAO,KAAK,GAAG,GAAG,EAAE,CAAC;QACnB,MAAM,IAAI,GAAG,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QACnC,IAAI,IAAI,KAAK,IAAI;YAAE,MAAM;QACzB,KAAK,EAAE,CAAC;IACV,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;GAIG;AACH,SAAS,OAAO,CAAC,MAAc,EAAE,KAAa,EAAE,GAAW;IACzD,OAAO,KAAK,GAAG,GAAG,EAAE,CAAC;QACnB,MAAM,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QACtC,IAAI,IAAI,KAAK,EAAE,IAAI,IAAI,KAAK,IAAI;YAAE,MAAM;QACxC,KAAK,EAAE,CAAC;IACV,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;GAIG;AACH,SAAS,WAAW,CAAC,MAAc,EAAE,KAAa,EAAE,GAAW;IAC7D,OAAO,GAAG,GAAG,KAAK,EAAE,CAAC;QACnB,MAAM,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC;QACxC,IAAI,IAAI,KAAK,EAAE,IAAI,IAAI,KAAK,IAAI;YAAE,MAAM;QACxC,GAAG,EAAE,CAAC;IACR,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC;AAED;;GAEG;AACH,SAAS,OAAO,CAAC,GAAW;IAC1B,IAAI,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC;QAAE,OAAO,GAAG,CAAC;IACvC,IAAI,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC;QAAE,OAAO,IAAI,GAAG,CAAC,OAAO,CAAC,YAAY,EAAE,MAAM,CAAC,GAAG,CAAC;IAE3E,MAAM,IAAI,SAAS,CAAC,4BAA4B,GAAG,EAAE,CAAC,CAAC;AACzD,CAAC","sourcesContent":["/*!\n * content-type\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\nconst TEXT_REGEXP = /^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]*$/;\nconst TOKEN_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;\n\n/**\n * RegExp to match chars that must be quoted-pair in RFC 9110 sec 5.6.4\n */\nconst QUOTE_REGEXP = /[\\\\\"]/g;\n\n/**\n * RegExp to match type in RFC 9110 sec 8.3.1\n *\n * media-type = type \"/\" subtype\n * type = token\n * subtype = token\n */\nconst TYPE_REGEXP =\n /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;\n\n/**\n * Null object perf optimization. Faster than `Object.create(null)` and `{ __proto__: null }`.\n */\nconst NullObject = /* @__PURE__ */ (() => {\n const C = function () {};\n C.prototype = Object.create(null);\n return C;\n})() as unknown as { new (): any };\n\n/**\n * The content type object contains a type string and optional parameters.\n */\nexport interface ContentType {\n type: string;\n parameters: Record;\n}\n\n/**\n * Format an object into a `Content-Type` header.\n */\nexport function format(obj: Partial): string {\n const { type, parameters } = obj;\n\n if (!type || !TYPE_REGEXP.test(type)) {\n throw new TypeError(`Invalid type: ${type}`);\n }\n\n let result = type;\n\n if (parameters) {\n for (const param of Object.keys(parameters)) {\n if (!TOKEN_REGEXP.test(param)) {\n throw new TypeError(`Invalid parameter name: ${param}`);\n }\n\n result += `; ${param}=${qstring(parameters[param])}`;\n }\n }\n\n return result;\n}\n\n/**\n * Options for parsing a `Content-Type` header.\n */\nexport interface ParseOptions {\n parameters?: boolean;\n}\n\n/**\n * Parse a `Content-Type` header.\n */\nexport function parse(header: string, options?: ParseOptions): ContentType {\n const len = header.length;\n let index = skipOWS(header, 0, len);\n\n const valueStart = index;\n index = skipValue(header, index, len);\n const valueEnd = trailingOWS(header, valueStart, index);\n const type = header.slice(valueStart, valueEnd).toLowerCase();\n const parameters =\n options?.parameters === false\n ? new NullObject()\n : parseParameters(header, index, len);\n\n return { type, parameters };\n}\n\nconst SP = 32; // \" \"\nconst HTAB = 9; // \"\\t\"\nconst SEMI = 59; // \";\"\nconst EQ = 61; // \"=\"\nconst DQUOTE = 34; // '\"'\nconst BSLASH = 92; // \"\\\\\"\n\n/**\n * Parses the parameters of a `Content-Type` header starting at the given index.\n */\nfunction parseParameters(\n header: string,\n index: number,\n len: number,\n): Record {\n const parameters: Record = new NullObject();\n\n parameter: while (index < len) {\n index = skipOWS(header, index + 1 /* Skip over ; */, len);\n\n const keyStart = index;\n\n while (index < len) {\n const code = header.charCodeAt(index);\n if (code === SEMI) continue parameter;\n\n if (code === EQ) {\n const keyEnd = trailingOWS(header, keyStart, index);\n const key = header.slice(keyStart, keyEnd).toLowerCase();\n\n index = skipOWS(header, index + 1, len);\n\n if (index < len && header.charCodeAt(index) === DQUOTE) {\n index++;\n\n let value = \"\";\n while (index < len) {\n const code = header.charCodeAt(index++);\n if (code === DQUOTE) {\n index = skipValue(header, index, len);\n if (parameters[key] === undefined) parameters[key] = value;\n break;\n }\n\n if (code === BSLASH && index < len) {\n value += header[index++];\n continue;\n }\n\n value += String.fromCharCode(code);\n }\n\n continue parameter;\n }\n\n const valueStart = index;\n index = skipValue(header, index, len);\n\n if (parameters[key] === undefined) {\n const valueEnd = trailingOWS(header, valueStart, index);\n parameters[key] = header.slice(valueStart, valueEnd);\n }\n\n continue parameter;\n }\n\n index++;\n }\n }\n\n return parameters;\n}\n\n/**\n * Skip over characters until a semicolon.\n */\nfunction skipValue(str: string, index: number, len: number): number {\n while (index < len) {\n const char = str.charCodeAt(index);\n if (char === SEMI) break;\n index++;\n }\n return index;\n}\n\n/**\n * Skip optional whitespace (OWS) in an HTTP header value.\n *\n * OWS is defined in RFC 9110 sec 5.6.3 as SP (\" \") or HTAB (\"\\t\").\n */\nfunction skipOWS(header: string, index: number, len: number): number {\n while (index < len) {\n const char = header.charCodeAt(index);\n if (char !== SP && char !== HTAB) break;\n index++;\n }\n return index;\n}\n\n/**\n * Trim optional whitespace (OWS) from the end of a substring.\n *\n * OWS is defined in RFC 9110 sec 5.6.3 as SP (\" \") or HTAB (\"\\t\").\n */\nfunction trailingOWS(header: string, start: number, end: number): number {\n while (end > start) {\n const char = header.charCodeAt(end - 1);\n if (char !== SP && char !== HTAB) break;\n end--;\n }\n return end;\n}\n\n/**\n * Serialize a parameter value.\n */\nfunction qstring(str: string): string {\n if (TOKEN_REGEXP.test(str)) return str;\n if (TEXT_REGEXP.test(str)) return `\"${str.replace(QUOTE_REGEXP, \"\\\\$&\")}\"`;\n\n throw new TypeError(`Invalid parameter value: ${str}`);\n}\n"]} \ No newline at end of file diff --git a/tools/ui/node_modules/body-parser/node_modules/content-type/package.json b/tools/ui/node_modules/body-parser/node_modules/content-type/package.json new file mode 100644 index 0000000000000000000000000000000000000000..482cbc80aba81d30557427cd85ac005e3f8217c9 --- /dev/null +++ b/tools/ui/node_modules/body-parser/node_modules/content-type/package.json @@ -0,0 +1,52 @@ +{ + "name": "content-type", + "version": "2.0.0", + "description": "Create and parse HTTP Content-Type header", + "keywords": [ + "content-type", + "http", + "req", + "res", + "rfc7231", + "rfc9110" + ], + "repository": "jshttp/content-type", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + }, + "license": "MIT", + "author": "Douglas Christopher Wilson ", + "type": "commonjs", + "exports": "./dist/index.js", + "main": "./dist/index.js", + "typings": "./dist/index.d.ts", + "files": [ + "dist/" + ], + "scripts": { + "bench": "vitest bench", + "build": "ts-scripts build", + "format": "ts-scripts format", + "prepare": "ts-scripts install && npm run build", + "specs": "ts-scripts specs", + "test": "ts-scripts test" + }, + "devDependencies": { + "@borderless/ts-scripts": "^0.15.0", + "@vitest/coverage-v8": "^3.0.5", + "typescript": "^5.7.3", + "vitest": "^3.2.4" + }, + "engines": { + "node": ">=18" + }, + "ts-scripts": { + "dist": [ + "dist" + ], + "project": [ + "tsconfig.build.json" + ] + } +} diff --git a/tools/ui/node_modules/body-parser/package.json b/tools/ui/node_modules/body-parser/package.json new file mode 100644 index 0000000000000000000000000000000000000000..842cfbdbde4cb5afd7c89c760141d35e1e58f4d2 --- /dev/null +++ b/tools/ui/node_modules/body-parser/package.json @@ -0,0 +1,65 @@ +{ + "name": "body-parser", + "description": "Node.js body parsing middleware", + "version": "2.3.0", + "contributors": [ + "Douglas Christopher Wilson ", + "Jonathan Ong (http://jongleberry.com)" + ], + "license": "MIT", + "repository": "expressjs/body-parser", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + }, + "type": "commonjs", + "exports": { + ".": "./index.js", + "./package.json": "./package.json", + "./json": "./lib/types/json.js", + "./raw": "./lib/types/raw.js", + "./text": "./lib/types/text.js", + "./urlencoded": "./lib/types/urlencoded.js", + "./lib/*": "./lib/*.js", + "./lib/*.js": "./lib/*.js", + "./lib/types/*": "./lib/types/*.js", + "./lib/types/*.js": "./lib/types/*.js" + }, + "dependencies": { + "bytes": "^3.1.2", + "content-type": "^2.0.0", + "debug": "^4.4.3", + "http-errors": "^2.0.1", + "iconv-lite": "^0.7.2", + "on-finished": "^2.4.1", + "qs": "^6.15.2", + "raw-body": "^3.0.2", + "type-is": "^2.1.0" + }, + "devDependencies": { + "eslint": "^8.57.1", + "eslint-config-standard": "^14.1.1", + "eslint-plugin-import": "^2.32.0", + "eslint-plugin-markdown": "^3.0.1", + "eslint-plugin-node": "^11.1.0", + "eslint-plugin-promise": "^6.6.0", + "eslint-plugin-standard": "^4.1.0", + "mocha": "^11.7.6", + "nyc": "^17.1.0", + "supertest": "^7.2.2" + }, + "files": [ + "lib/", + "LICENSE", + "index.js" + ], + "engines": { + "node": ">=18" + }, + "scripts": { + "lint": "eslint .", + "test": "mocha --reporter spec --check-leaks test/", + "test-ci": "nyc --reporter=lcovonly --reporter=text npm test", + "test-cov": "nyc --reporter=html --reporter=text npm test" + } +} diff --git a/tools/ui/node_modules/brace-expansion/LICENSE b/tools/ui/node_modules/brace-expansion/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..de3226673c3874b1c6506db022393c753495655c --- /dev/null +++ b/tools/ui/node_modules/brace-expansion/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2013 Julian Gruber + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/tools/ui/node_modules/brace-expansion/README.md b/tools/ui/node_modules/brace-expansion/README.md new file mode 100644 index 0000000000000000000000000000000000000000..aeea256173bdf7893b4e98a1363f16f9199f3318 --- /dev/null +++ b/tools/ui/node_modules/brace-expansion/README.md @@ -0,0 +1,151 @@ +# brace-expansion + +[Brace expansion](https://www.gnu.org/software/bash/manual/html_node/Brace-Expansion.html), +as known from sh/bash, in JavaScript. + +[![build status](https://secure.travis-ci.org/juliangruber/brace-expansion.svg)](http://travis-ci.org/juliangruber/brace-expansion) +[![downloads](https://img.shields.io/npm/dm/brace-expansion.svg)](https://www.npmjs.org/package/brace-expansion) +[![Greenkeeper badge](https://badges.greenkeeper.io/juliangruber/brace-expansion.svg)](https://greenkeeper.io/) + +[![testling badge](https://ci.testling.com/juliangruber/brace-expansion.png)](https://ci.testling.com/juliangruber/brace-expansion) + +## Example + +```js +var expand = require('brace-expansion'); + +expand('file-{a,b,c}.jpg') +// => ['file-a.jpg', 'file-b.jpg', 'file-c.jpg'] + +expand('-v{,,}') +// => ['-v', '-v', '-v'] + +expand('file{0..2}.jpg') +// => ['file0.jpg', 'file1.jpg', 'file2.jpg'] + +expand('file-{a..c}.jpg') +// => ['file-a.jpg', 'file-b.jpg', 'file-c.jpg'] + +expand('file{2..0}.jpg') +// => ['file2.jpg', 'file1.jpg', 'file0.jpg'] + +expand('file{0..4..2}.jpg') +// => ['file0.jpg', 'file2.jpg', 'file4.jpg'] + +expand('file-{a..e..2}.jpg') +// => ['file-a.jpg', 'file-c.jpg', 'file-e.jpg'] + +expand('file{00..10..5}.jpg') +// => ['file00.jpg', 'file05.jpg', 'file10.jpg'] + +expand('{{A..C},{a..c}}') +// => ['A', 'B', 'C', 'a', 'b', 'c'] + +expand('ppp{,config,oe{,conf}}') +// => ['ppp', 'pppconfig', 'pppoe', 'pppoeconf'] +``` + +## API + +```js +var expand = require('brace-expansion'); +``` + +### var expanded = expand(str, [options]) + +Return an array of all possible and valid expansions of `str`. If none are +found, `[str]` is returned. + +The `options` object can provide a `max` value to cap the number +of expansions allowed. This is limited to `100_000` by default, +to prevent DoS attacks. + +```js +const expansions = expand('{1..100}'.repeat(5), { + max: 100, +}) +// expansions.length will be 100, not 100^5 +``` + +The `options` object can also provide a `maxLength` value to cap the +total number of characters across all expansions. This is limited to +`4_000_000` by default, to prevent memory exhaustion from inputs whose +result count stays under `max` while each result grows very long. + +```js +const expansions = expand('{a,b}'.repeat(1500), { + maxLength: 10_000, +}) +``` + +Valid expansions are: + +```js +/^(.*,)+(.+)?$/ +// {a,b,...} +``` + +A comma separated list of options, like `{a,b}` or `{a,{b,c}}` or `{,a,}`. + +```js +/^-?\d+\.\.-?\d+(\.\.-?\d+)?$/ +// {x..y[..incr]} +``` + +A numeric sequence from `x` to `y` inclusive, with optional increment. +If `x` or `y` start with a leading `0`, all the numbers will be padded +to have equal length. Negative numbers and backwards iteration work too. + +```js +/^-?\d+\.\.-?\d+(\.\.-?\d+)?$/ +// {x..y[..incr]} +``` + +An alphabetic sequence from `x` to `y` inclusive, with optional increment. +`x` and `y` must be exactly one character, and if given, `incr` must be a +number. + +For compatibility reasons, the string `${` is not eligible for brace expansion. + +## Installation + +With [npm](https://npmjs.org) do: + +```bash +npm install brace-expansion +``` + +## Contributors + +- [Julian Gruber](https://github.com/juliangruber) +- [Isaac Z. Schlueter](https://github.com/isaacs) + +## Sponsors + +This module is proudly supported by my [Sponsors](https://github.com/juliangruber/sponsors)! + +Do you want to support modules like this to improve their quality, stability and weigh in on new features? Then please consider donating to my [Patreon](https://www.patreon.com/juliangruber). Not sure how much of my modules you're using? Try [feross/thanks](https://github.com/feross/thanks)! + +## License + +(MIT) + +Copyright (c) 2013 Julian Gruber <julian@juliangruber.com> + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/tools/ui/node_modules/brace-expansion/index.js b/tools/ui/node_modules/brace-expansion/index.js new file mode 100644 index 0000000000000000000000000000000000000000..0b707aa348b02ca3374e1e50f66e07ebcd910568 --- /dev/null +++ b/tools/ui/node_modules/brace-expansion/index.js @@ -0,0 +1,382 @@ +var concatMap = require('concat-map'); +var balanced = require('balanced-match'); + +module.exports = expandTop; + +var escSlash = '\0SLASH'+Math.random()+'\0'; +var escOpen = '\0OPEN'+Math.random()+'\0'; +var escClose = '\0CLOSE'+Math.random()+'\0'; +var escComma = '\0COMMA'+Math.random()+'\0'; +var escPeriod = '\0PERIOD'+Math.random()+'\0'; + +var EXPANSION_MAX = 100000 + +// `EXPANSION_MAX` caps the *number* of expansions, but not their length. An +// input like `'{a,b}'.repeat(1500)` stays under that count - its output is +// truncated to 100k results - while making every result ~1500 characters +// long. The result set, and the intermediate arrays built while combining +// brace sets, then grow large enough to exhaust memory and crash the process +// (CVE-2026-14257). `EXPANSION_MAX_LENGTH` bounds the total number of +// characters the accumulator may hold at any point, so memory stays flat no +// matter how many brace groups are chained. The limit sits well above any +// realistic expansion (100k results hitting `EXPANSION_MAX` measure ~1M +// characters) so legitimate input is unaffected. +var EXPANSION_MAX_LENGTH = 4000000 + +function numeric(str) { + return parseInt(str, 10) == str + ? parseInt(str, 10) + : str.charCodeAt(0); +} + +function escapeBraces(str) { + return str.split('\\\\').join(escSlash) + .split('\\{').join(escOpen) + .split('\\}').join(escClose) + .split('\\,').join(escComma) + .split('\\.').join(escPeriod); +} + +function unescapeBraces(str) { + return str.split(escSlash).join('\\') + .split(escOpen).join('{') + .split(escClose).join('}') + .split(escComma).join(',') + .split(escPeriod).join('.'); +} + + +// Basically just str.split(","), but handling cases +// where we have nested braced sections, which should be +// treated as individual members, like {a,{b,c},d} +function parseCommaParts(str) { + if (!str) + return ['']; + + var parts = []; + var m = balanced('{', '}', str); + + if (!m) + return str.split(','); + + var pre = m.pre; + var body = m.body; + var post = m.post; + var p = pre.split(','); + + p[p.length-1] += '{' + body + '}'; + var postParts = parseCommaParts(post); + if (post.length) { + p[p.length-1] += postParts.shift(); + p.push.apply(p, postParts); + } + + parts.push.apply(parts, p); + + return parts; +} + +function expandTop(str, options) { + if (!str) + return []; + + options = options || {}; + var max = options.max == null ? EXPANSION_MAX : options.max; + var maxLength = options.maxLength == null ? EXPANSION_MAX_LENGTH : options.maxLength; + + // I don't know why Bash 4.3 does this, but it does. + // Anything starting with {} will have the first two bytes preserved + // but *only* at the top level, so {},a}b will not expand to anything, + // but a{},b}c will be expanded to [a}c,abc]. + // One could argue that this is a bug in Bash, but since the goal of + // this module is to match Bash's rules, we escape a leading {} + if (str.substr(0, 2) === '{}') { + str = '\\{\\}' + str.substr(2); + } + + return expand(escapeBraces(str), max, maxLength, true).map(unescapeBraces); +} + +function identity(e) { + return e; +} + +function embrace(str) { + return '{' + str + '}'; +} +function isPadded(el) { + return /^-?0\d/.test(el); +} + +function lte(i, y) { + return i <= y; +} +function gte(i, y) { + return i >= y; +} + +// Build `{ acc[a] + pre + values[v] }` for every combination, capping the +// number of results at `max` and the total number of characters at `maxLength`. +// This is the one place output grows, so bounding it here keeps the single +// accumulator - and therefore memory - flat regardless of how many brace groups +// are combined (CVE-2026-14257). +// +// `base[a]` is the length of the part of `acc[a]` that predates the current +// empty-drop baseline (see `expand`). The matching baselines for the results +// are appended to `outBase`, which the caller carries forward alongside them. +function combine( + acc, + base, + pre, + values, + max, + maxLength, + dropEmpties, + outBase +) { + var out = [] + var length = 0 + for (var a = 0; a < acc.length; a++) { + for (var v = 0; v < values.length; v++) { + if (out.length >= max) return out + var expansion = acc[a] + pre + values[v] + // Bash drops empty results at the top level. Skip them before they count + // against `max`, so `max` bounds the number of *kept* results. "Empty" + // means "adds nothing past the baseline", not "empty overall". + if (dropEmpties && expansion.length === base[a]) continue + if (length + expansion.length > maxLength) return out + out.push(expansion) + outBase.push(base[a]) + length += expansion.length + } + } + return out +} + +// The expansion values of a single numeric (`1..5`) or alphabetic (`a..e..2`) +// sequence body. +function expandSequence( + body, + isAlphaSequence, + max, + maxLength +) { + var n = body.split(/\.\./) + var N = [] + // A sequence body always splits into two or three parts, but the compiler + // can't know that. + /* c8 ignore start */ + if (n[0] === undefined || n[1] === undefined) { + return N + } + /* c8 ignore stop */ + var x = numeric(n[0]) + var y = numeric(n[1]) + var width = Math.max(n[0].length, n[1].length) + var incr = + n.length === 3 && n[2] !== undefined ? + Math.max(Math.abs(numeric(n[2])), 1) + : 1 + var test = lte + var reverse = y < x + if (reverse) { + incr *= -1 + test = gte + } + var pad = n.some(isPadded) + + var length = 0 + for (var i = x; test(i, y) && N.length < max; i += incr) { + var c + if (isAlphaSequence) { + c = String.fromCharCode(i) + if (c === '\\') { + c = '' + } + } else { + c = String(i) + if (pad) { + var need = width - c.length + if (need > 0) { + var z = new Array(need + 1).join('0') + if (i < 0) { + c = '-' + z + c.slice(1) + } else { + c = z + c + } + } + } + } + if (length + c.length > maxLength) break + N.push(c) + length += c.length + } + return N +} + +function expand( + str, + max, + maxLength, + isTop +) { + // Consume the string's top-level brace groups left to right, threading a + // running set of combined prefixes (`acc`). Expanding the tail iteratively - + // rather than recursing on `m.post` once per group - keeps the native stack + // depth constant, so deeply chained input (`'{a,b}'.repeat(3000)`) can no + // longer overflow the stack, and leaves a single accumulator whose size + // `maxLength` bounds directly (CVE-2026-14257). + var acc = [''] + + // Bash drops empty results, but only when the *first* group of the run is a + // comma set - a sequence like `{a..\}` may legitimately yield ''. The drop + // is on the final strings, so it is applied to whichever `combine` produces + // them (the one with no brace set left in the tail). + // + // The old implementation recursed on `m.post`, so the drop tested only the + // expansion of the current call's substring. The `{a},b}` rewrite below turns + // `isTop` back on part-way through a string, starting a fresh such run, so + // the drop must ignore whatever `acc` already holds from earlier groups. + // `accBase[a]` records how much of `acc[a]` predates the current run; + // `combine` treats an expansion as empty when it adds nothing past that. + var accBase = [0] + var dropEmpties = false + var firstGroup = true + var nextBase + + for (;;) { + var m = balanced('{', '}', str); + + // No brace set left: the rest of the string is literal. + if (!m) { + return combine(acc, accBase, str, [''], max, maxLength, dropEmpties, []) + } + + // no need to expand pre, since it is guaranteed to be free of brace-sets + var pre = m.pre; + + // For compatibility reasons, `${` is not eligible for brace expansion, and + // on the 1.x line it suppresses expansion of the rest of the string too: + // the whole remainder is literal. The 2.x and 5.x lines instead keep + // expanding the tail, which is what bash does, but changing that here would + // be a breaking change for 1.x consumers. Routed through `combine` so the + // result is still bounded by `max` and `maxLength`. + if (/\$$/.test(pre)) { + return combine(acc, accBase, str, [''], max, maxLength, dropEmpties, []) + } + + var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body); + var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body); + var isSequence = isNumericSequence || isAlphaSequence; + var isOptions = m.body.indexOf(',') >= 0; + if (!isSequence && !isOptions) { + // {a},b} + if (m.post.match(/,(?!,).*\}/)) { + str = m.pre + '{' + m.body + escClose + m.post; + // The rewritten string is expanded as if it were a fresh top-level one, + // so start a new empty-drop run: anchor the baseline at what `acc` + // holds now, and let the next expanding group decide whether to drop. + isTop = true + firstGroup = true + dropEmpties = false + accBase = [] + for (var b = 0; b < acc.length; b++) { + accBase.push(acc[b].length) + } + continue + } + // Nothing here expands, so the whole remaining string is literal. + return combine( + acc, + accBase, + pre + '{' + m.body + '}' + m.post, + [''], + max, + maxLength, + dropEmpties, + [] + ) + } + + if (firstGroup) { + dropEmpties = isTop && !isSequence + firstGroup = false + } + + var values; + if (isSequence) { + values = expandSequence(m.body, isAlphaSequence, max, maxLength); + } else { + var n = parseCommaParts(m.body); + if (n.length === 1 && n[0] !== undefined) { + // x{{a,b}}y ==> x{a}y x{b}y + n = expand(n[0], max, maxLength, false).map(embrace); + //XXX is this necessary? Can't seem to hit it in tests. + /* c8 ignore start */ + if (n.length === 1) { + nextBase = [] + acc = combine( + acc, + accBase, + pre + n[0], + [''], + max, + maxLength, + dropEmpties && !m.post.length, + nextBase + ) + accBase = nextBase + if (!m.post.length) break + str = m.post + continue + } + /* c8 ignore stop */ + } + + // Values that `combine` is going to drop as empty produce no result, so + // they must not count against `max` - otherwise `{a,,b}` with `max: 2` + // would stop at `['a', '']` and yield one result instead of two. Skipping + // them outright keeps `values` bounded while leaving `max` a bound on + // *kept* results. A value is dropped when it adds nothing past the + // baseline, which is what `combine` tests. + var dropsEmpties = dropEmpties && !m.post.length && !pre + for (var d = 0; dropsEmpties && d < acc.length; d++) { + if (acc[d].length !== accBase[d]) { + dropsEmpties = false + } + } + + values = [] + var valuesLength = 0 + outer: for (var j = 0; j < n.length; j++) { + var expanded = expand(n[j], max, maxLength, false) + for (var k = 0; k < expanded.length; k++) { + var v = expanded[k] + if (dropsEmpties && !v) continue + if (values.length >= max || valuesLength + v.length > maxLength) { + break outer + } + values.push(v) + valuesLength += v.length + } + } + } + + nextBase = [] + acc = combine( + acc, + accBase, + pre, + values, + max, + maxLength, + dropEmpties && !m.post.length, + nextBase + ) + accBase = nextBase + if (!m.post.length) break + str = m.post + } + + return acc +} diff --git a/tools/ui/node_modules/brace-expansion/package.json b/tools/ui/node_modules/brace-expansion/package.json new file mode 100644 index 0000000000000000000000000000000000000000..95d403979e5e0f26d745071674166e9d7d8f9970 --- /dev/null +++ b/tools/ui/node_modules/brace-expansion/package.json @@ -0,0 +1,50 @@ +{ + "name": "brace-expansion", + "description": "Brace expansion as known from sh/bash", + "version": "1.1.18", + "repository": { + "type": "git", + "url": "git://github.com/juliangruber/brace-expansion.git" + }, + "homepage": "https://github.com/juliangruber/brace-expansion", + "main": "index.js", + "scripts": { + "test": "tape test/*.js", + "gentest": "bash test/generate.sh", + "bench": "matcha test/perf/bench.js" + }, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + }, + "devDependencies": { + "matcha": "^0.7.0", + "tape": "^4.6.0" + }, + "keywords": [], + "author": { + "name": "Julian Gruber", + "email": "mail@juliangruber.com", + "url": "http://juliangruber.com" + }, + "license": "MIT", + "testling": { + "files": "test/*.js", + "browsers": [ + "ie/8..latest", + "firefox/20..latest", + "firefox/nightly", + "chrome/25..latest", + "chrome/canary", + "opera/12..latest", + "opera/next", + "safari/5.1..latest", + "ipad/6.0..latest", + "iphone/6.0..latest", + "android-browser/4.2..latest" + ] + }, + "publishConfig": { + "tag": "1.x" + } +} diff --git a/tools/ui/node_modules/browserslist/LICENSE b/tools/ui/node_modules/browserslist/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..042c18918ef034391a2bab8661a59714b2a00446 --- /dev/null +++ b/tools/ui/node_modules/browserslist/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright 2014 Andrey Sitnik and other contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/tools/ui/node_modules/browserslist/README.md b/tools/ui/node_modules/browserslist/README.md new file mode 100644 index 0000000000000000000000000000000000000000..603164b6b534dc7f83f25e9bac58fd541d2fc81e --- /dev/null +++ b/tools/ui/node_modules/browserslist/README.md @@ -0,0 +1,64 @@ +# Browserslist + +Browserslist logo by Anton Popov + +The config to share target browsers and Node.js versions between different +front-end tools. It is used in: + +- [Autoprefixer] +- [Babel] +- [postcss-preset-env] +- [eslint-plugin-compat] +- [stylelint-no-unsupported-browser-features] +- [postcss-normalize] +- [obsolete-webpack-plugin] + +All tools will find target browsers automatically, +when you add the following to `package.json`: + +```json + "browserslist": [ + "defaults and fully supports es6-module", + "maintained node versions" + ] +``` + +Or in `.browserslistrc` config: + +```yaml +# Browsers that we support + +defaults and fully supports es6-module +maintained node versions +``` + +Developers set their version lists using queries like `last 2 versions` +to be free from updating versions manually. +Browserslist will use [`caniuse-lite`] with [Can I Use] data for this queries. + +You can check how config works at our playground: [`browsersl.ist`](https://browsersl.ist/) + + + browsersl.ist website + + +
+
+
+ Sponsored by Evil Martians  Supported by Cube +
+ +[stylelint-no-unsupported-browser-features]: https://github.com/ismay/stylelint-no-unsupported-browser-features +[obsolete-webpack-plugin]: https://github.com/ElemeFE/obsolete-webpack-plugin +[eslint-plugin-compat]: https://github.com/amilajack/eslint-plugin-compat +[postcss-preset-env]: https://github.com/csstools/postcss-plugins/tree/main/plugin-packs/postcss-preset-env +[postcss-normalize]: https://github.com/csstools/postcss-normalize +[`browsersl.ist`]: https://browsersl.ist/ +[`caniuse-lite`]: https://github.com/ben-eb/caniuse-lite +[Autoprefixer]: https://github.com/postcss/autoprefixer +[Can I Use]: https://caniuse.com/ +[Babel]: https://github.com/babel/babel/tree/master/packages/babel-preset-env + +## Docs +Read full docs **[here](https://github.com/browserslist/browserslist#readme)**. diff --git a/tools/ui/node_modules/browserslist/browser.js b/tools/ui/node_modules/browserslist/browser.js new file mode 100644 index 0000000000000000000000000000000000000000..1a681fd3e2c2961af31e1e778b18723a0e119035 --- /dev/null +++ b/tools/ui/node_modules/browserslist/browser.js @@ -0,0 +1,54 @@ +var BrowserslistError = require('./error') + +function noop() {} + +module.exports = { + loadQueries: function loadQueries() { + throw new BrowserslistError( + 'Sharable configs are not supported in client-side build of Browserslist' + ) + }, + + getStat: function getStat(opts) { + return opts.stats + }, + + loadConfig: function loadConfig(opts) { + if (opts.config) { + throw new BrowserslistError( + 'Browserslist config are not supported in client-side build' + ) + } + }, + + loadCountry: function loadCountry() { + throw new BrowserslistError( + 'Country statistics are not supported ' + + 'in client-side build of Browserslist' + ) + }, + + loadFeature: function loadFeature() { + throw new BrowserslistError( + 'Supports queries are not available in client-side build of Browserslist' + ) + }, + + currentNode: function currentNode(resolve, context) { + return resolve(['maintained node versions'], context)[0] + }, + + parseConfig: noop, + + readConfig: noop, + + findConfig: noop, + + findConfigFile: noop, + + clearCaches: noop, + + oldDataWarning: noop, + + env: {} +} diff --git a/tools/ui/node_modules/browserslist/cli.js b/tools/ui/node_modules/browserslist/cli.js new file mode 100644 index 0000000000000000000000000000000000000000..78c08d743a8e478c346029e241b1f795b646fbd2 --- /dev/null +++ b/tools/ui/node_modules/browserslist/cli.js @@ -0,0 +1,156 @@ +#!/usr/bin/env node + +var fs = require('fs') +var updateDb = require('update-browserslist-db') + +var browserslist = require('./') +var pkg = require('./package.json') + +var args = process.argv.slice(2) + +var USAGE = + 'Usage:\n' + + ' npx browserslist\n' + + ' npx browserslist "QUERIES"\n' + + ' npx browserslist --json "QUERIES"\n' + + ' npx browserslist --config="path/to/browserlist/file"\n' + + ' npx browserslist --coverage "QUERIES"\n' + + ' npx browserslist --coverage=US "QUERIES"\n' + + ' npx browserslist --coverage=US,RU,global "QUERIES"\n' + + ' npx browserslist --env="environment name defined in config"\n' + + ' npx browserslist --stats="path/to/browserlist/stats/file"\n' + + ' npx browserslist --mobile-to-desktop\n' + + ' npx browserslist --ignore-unknown-versions\n' + +function isArg(arg) { + return args.some(function (str) { + return str === arg || str.indexOf(arg + '=') === 0 + }) +} + +function error(msg) { + process.stderr.write('browserslist: ' + msg + '\n') + process.exit(1) +} + +if (isArg('--help') || isArg('-h')) { + process.stdout.write(pkg.description + '.\n\n' + USAGE + '\n') +} else if (isArg('--version') || isArg('-v')) { + process.stdout.write('browserslist ' + pkg.version + '\n') +} else if (isArg('--update-db')) { + /* c8 ignore next 8 */ + process.stdout.write( + 'The --update-db command is deprecated.\n' + + 'Please use npx update-browserslist-db@latest instead.\n' + ) + process.stdout.write('Browserslist DB update will still be made.\n') + updateDb(function (str) { + process.stdout.write(str) + }) +} else { + var mode = 'browsers' + var opts = {} + var queries + var areas + + for (var i = 0; i < args.length; i++) { + if (args[i][0] !== '-') { + queries = args[i].replace(/^["']|["']$/g, '') + continue + } + + var arg = args[i].split('=') + var name = arg[0] + var value = arg[1] + + if (value) value = value.replace(/^["']|["']$/g, '') + + if (name === '--config' || name === '-b') { + opts.config = value + } else if (name === '--env' || name === '-e') { + opts.env = value + } else if (name === '--stats' || name === '-s') { + opts.stats = value + } else if (name === '--coverage' || name === '-c') { + if (mode !== 'json') mode = 'coverage' + if (value) { + areas = value.split(',') + } else { + areas = ['global'] + } + } else if (name === '--json') { + mode = 'json' + } else if (name === '--mobile-to-desktop') { + /* c8 ignore next */ + opts.mobileToDesktop = true + } else if (name === '--ignore-unknown-versions') { + /* c8 ignore next */ + opts.ignoreUnknownVersions = true + } else { + error('Unknown arguments ' + args[i] + '.\n\n' + USAGE) + } + } + + var browsers + try { + browsers = browserslist(queries, opts) + } catch (e) { + if (e.name === 'BrowserslistError') { + error(e.message) + } /* c8 ignore start */ else { + throw e + } /* c8 ignore end */ + } + + var coverage + if (mode === 'browsers') { + browsers.forEach(function (browser) { + process.stdout.write(browser + '\n') + }) + } else if (areas) { + coverage = areas.map(function (area) { + var stats + if (area !== 'global') { + stats = area + } else if (opts.stats) { + stats = JSON.parse(fs.readFileSync(opts.stats)) + } + var result = browserslist.coverage(browsers, stats) + var round = Math.round(result * 100) / 100.0 + + return [area, round] + }) + + if (mode === 'coverage') { + var prefix = 'These browsers account for ' + process.stdout.write(prefix) + coverage.forEach(function (data, index) { + var area = data[0] + var round = data[1] + var end = 'globally' + if (area && area !== 'global') { + end = 'in the ' + area.toUpperCase() + } else if (opts.stats) { + end = 'in custom statistics' + } + + if (index !== 0) { + process.stdout.write(prefix.replace(/./g, ' ')) + } + + process.stdout.write(round + '% of all users ' + end + '\n') + }) + } + } + + if (mode === 'json') { + var data = { browsers: browsers } + if (coverage) { + data.coverage = coverage.reduce(function (object, j) { + object[j[0]] = j[1] + return object + }, {}) + } + process.stdout.write(JSON.stringify(data, null, ' ') + '\n') + } +} diff --git a/tools/ui/node_modules/browserslist/error.d.ts b/tools/ui/node_modules/browserslist/error.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..12ff92133a997520119a8473ff3a69d7b413d6bd --- /dev/null +++ b/tools/ui/node_modules/browserslist/error.d.ts @@ -0,0 +1,7 @@ +declare class BrowserslistError extends Error { + constructor(message: any) + name: 'BrowserslistError' + browserslist: true +} + +export = BrowserslistError diff --git a/tools/ui/node_modules/browserslist/error.js b/tools/ui/node_modules/browserslist/error.js new file mode 100644 index 0000000000000000000000000000000000000000..6e5da7a823f4af93000b3a6798de0c31cec26340 --- /dev/null +++ b/tools/ui/node_modules/browserslist/error.js @@ -0,0 +1,12 @@ +function BrowserslistError(message) { + this.name = 'BrowserslistError' + this.message = message + this.browserslist = true + if (Error.captureStackTrace) { + Error.captureStackTrace(this, BrowserslistError) + } +} + +BrowserslistError.prototype = Error.prototype + +module.exports = BrowserslistError diff --git a/tools/ui/node_modules/browserslist/index.d.ts b/tools/ui/node_modules/browserslist/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..a08176cc1ab9dfcac2e6ce65146ef051ace07140 --- /dev/null +++ b/tools/ui/node_modules/browserslist/index.d.ts @@ -0,0 +1,224 @@ +/** + * Return array of browsers by selection queries. + * + * ```js + * browserslist('IE >= 10, IE 8') //=> ['ie 11', 'ie 10', 'ie 8'] + * ``` + * + * @param queries Browser queries. + * @param opts Options. + * @returns Array with browser names in Can I Use. + */ +declare function browserslist( + queries?: string | readonly string[] | null, + opts?: browserslist.Options +): string[] + +declare namespace browserslist { + interface Query { + compose: 'or' | 'and' + type: string + query: string + not?: true + } + + interface Options { + /** + * Path to processed file. It will be used to find config files. + */ + path?: string | false + /** + * Processing environment. It will be used to take right queries + * from config file. + */ + env?: string + /** + * Custom browser usage statistics for "> 1% in my stats" query. + */ + stats?: Stats | string + /** + * Path to config file with queries. + */ + config?: string + /** + * Do not throw on unknown version in direct query. + */ + ignoreUnknownVersions?: boolean + /** + * Throw an error if env is not found. + */ + throwOnMissing?: boolean + /** + * Disable security checks for extend query. + */ + dangerousExtend?: boolean + /** + * Alias mobile browsers to the desktop version when Can I Use + * doesn’t have data about the specified version. + */ + mobileToDesktop?: boolean + } + + type Config = { + defaults: string[] + [section: string]: string[] | undefined + } + + interface Stats { + [browser: string]: { + [version: string]: number + } + } + + /** + * Browser names aliases. + */ + let aliases: { + [alias: string]: string | undefined + } + + /** + * Aliases to work with joined versions like `ios_saf 7.0-7.1`. + */ + let versionAliases: { + [browser: string]: + | { + [version: string]: string | undefined + } + | undefined + } + + /** + * Can I Use only provides a few versions for some browsers (e.g. `and_chr`). + * + * Fallback to a similar browser for unknown versions. + */ + let desktopNames: { + [browser: string]: string | undefined + } + + let data: { + [browser: string]: + | { + name: string + versions: string[] + released: string[] + releaseDate: { + [version: string]: number | undefined | null + } + } + | undefined + } + + let nodeVersions: string[] + + interface Usage { + [version: string]: number + } + + let usage: { + global?: Usage + custom?: Usage | null + [country: string]: Usage | undefined | null + } + + let cache: { + [feature: string]: { + [name: string]: { + [version: string]: string + } + } + } + + /** + * Default browsers query + */ + let defaults: readonly string[] + + /** + * Which statistics should be used. Country code or custom statistics. + * Pass `"my stats"` to load statistics from `Browserslist` files. + */ + type StatsOptions = string | 'my stats' | Stats | { dataByBrowser: Stats } + + /** + * Return browsers market coverage. + * + * ```js + * browserslist.coverage(browserslist('> 1% in US'), 'US') //=> 83.1 + * ``` + * + * @param browsers Browsers names in Can I Use. + * @param stats Which statistics should be used. + * @returns Total market coverage for all selected browsers. + */ + function coverage(browsers: readonly string[], stats?: StatsOptions): number + + /** + * Get queries AST to analyze the config content. + * + * @param queries Browser queries. + * @param opts Options. + * @returns An array of the data of each query in the config. + */ + function parse( + queries?: string | readonly string[] | null, + opts?: browserslist.Options + ): Query[] + + /** + * Return queries for specific file inside the project. + * + * ```js + * browserslist.loadConfig({ + * file: process.cwd() + * }) ?? browserslist.defaults + * ``` + */ + function loadConfig(options: LoadConfigOptions): string[] | undefined + + function clearCaches(): void + + function parseConfig(string: string): Config + + function readConfig(file: string): Config + + function findConfig(...pathSegments: string[]): Config | undefined + + function findConfigFile(...pathSegments: string[]): string | undefined + + interface LoadConfigOptions { + /** + * Path to config file + * */ + config?: string + + /** + * Path to file inside the project to find Browserslist config + * in closest folder + */ + path?: string + + /** + * Environment to choose part of config. + */ + env?: string + } +} + +declare global { + namespace NodeJS { + interface ProcessEnv { + BROWSERSLIST?: string + BROWSERSLIST_CONFIG?: string + BROWSERSLIST_DANGEROUS_EXTEND?: string + BROWSERSLIST_DISABLE_CACHE?: string + BROWSERSLIST_ENV?: string + BROWSERSLIST_IGNORE_OLD_DATA?: string + BROWSERSLIST_STATS?: string + BROWSERSLIST_ROOT_PATH?: string + } + } +} + +export = browserslist diff --git a/tools/ui/node_modules/browserslist/index.js b/tools/ui/node_modules/browserslist/index.js new file mode 100644 index 0000000000000000000000000000000000000000..8b52d93fb3282fdef7e9c13022c20b5a0a976d27 --- /dev/null +++ b/tools/ui/node_modules/browserslist/index.js @@ -0,0 +1,1339 @@ +var bbm = require('baseline-browser-mapping') +var jsReleases = require('node-releases/data/processed/envs.json') +var agents = require('caniuse-lite/dist/unpacker/agents').agents +var e2c = require('electron-to-chromium/versions') +var jsEOL = require('node-releases/data/release-schedule/release-schedule.json') +var path = require('path') + +var BrowserslistError = require('./error') +var env = require('./node') +var parseWithoutCache = require('./parse') // Will load browser.js in webpack + +var YEAR = 365.259641 * 24 * 60 * 60 * 1000 +var ANDROID_EVERGREEN_FIRST = '37' +var OP_MOB_BLINK_FIRST = 14 +var FIREFOX_ESR_VERSION = '140' + +// Helpers + +function isVersionsMatch(versionA, versionB) { + return (versionA + '.').indexOf(versionB + '.') === 0 +} + +function isEolReleased(name) { + var version = name.slice(1) + return browserslist.nodeVersions.some(function (i) { + return isVersionsMatch(i, version) + }) +} + +function normalize(versions) { + return versions.filter(function (version) { + return typeof version === 'string' + }) +} + +function normalizeElectron(version) { + var versionToUse = version + if (version.split('.').length === 3) { + versionToUse = version.split('.').slice(0, -1).join('.') + } + return versionToUse +} + +function nameMapper(name) { + return function mapName(version) { + return name + ' ' + version + } +} + +function getMajor(version) { + return parseInt(version.split('.')[0]) +} + +function getMajorVersions(released, number) { + if (released.length === 0) return [] + var majorVersions = uniq(released.map(getMajor)) + var minimum = majorVersions[majorVersions.length - number] + if (!minimum) { + return released + } + var selected = [] + for (var i = released.length - 1; i >= 0; i--) { + if (minimum > getMajor(released[i])) break + selected.unshift(released[i]) + } + return selected +} + +function uniq(array) { + var filtered = [] + for (var i = 0; i < array.length; i++) { + if (filtered.indexOf(array[i]) === -1) filtered.push(array[i]) + } + return filtered +} + +function fillUsage(result, name, data) { + for (var i in data) { + result[name + ' ' + i] = data[i] + } +} + +function generateFilter(sign, version) { + version = parseFloat(version) + if (sign === '>') { + return function (v) { + return parseLatestFloat(v) > version + } + } else if (sign === '>=') { + return function (v) { + return parseLatestFloat(v) >= version + } + } else if (sign === '<') { + return function (v) { + return parseFloat(v) < version + } + } else { + return function (v) { + return parseFloat(v) <= version + } + } + + function parseLatestFloat(v) { + return parseFloat(v.split('-')[1] || v) + } +} + +function generateSemverFilter(sign, version) { + version = version.split('.').map(parseSimpleInt) + version[1] = version[1] || 0 + version[2] = version[2] || 0 + if (sign === '>') { + return function (v) { + v = v.split('.').map(parseSimpleInt) + return compareSemver(v, version) > 0 + } + } else if (sign === '>=') { + return function (v) { + v = v.split('.').map(parseSimpleInt) + return compareSemver(v, version) >= 0 + } + } else if (sign === '<') { + return function (v) { + v = v.split('.').map(parseSimpleInt) + return compareSemver(version, v) > 0 + } + } else { + return function (v) { + v = v.split('.').map(parseSimpleInt) + return compareSemver(version, v) >= 0 + } + } +} + +function parseSimpleInt(x) { + return parseInt(x) +} + +function compare(a, b) { + if (a < b) return -1 + if (a > b) return +1 + return 0 +} + +function compareSemver(a, b) { + return ( + compare(parseInt(a[0]), parseInt(b[0])) || + compare(parseInt(a[1] || '0'), parseInt(b[1] || '0')) || + compare(parseInt(a[2] || '0'), parseInt(b[2] || '0')) + ) +} + +// this follows the npm-like semver behavior +function semverFilterLoose(operator, range) { + range = range.split('.').map(parseSimpleInt) + if (typeof range[1] === 'undefined') { + range[1] = 'x' + } + // ignore any patch version because we only return minor versions + // range[2] = 'x' + switch (operator) { + case '<=': + return function (version) { + version = version.split('.').map(parseSimpleInt) + return compareSemverLoose(version, range) <= 0 + } + case '>=': + default: + return function (version) { + version = version.split('.').map(parseSimpleInt) + return compareSemverLoose(version, range) >= 0 + } + } +} + +// this follows the npm-like semver behavior +function compareSemverLoose(version, range) { + if (version[0] !== range[0]) { + return version[0] < range[0] ? -1 : +1 + } + if (range[1] === 'x') { + return 0 + } + if (version[1] !== range[1]) { + return version[1] < range[1] ? -1 : +1 + } + return 0 +} + +function resolveVersion(data, version) { + if (data.versions.indexOf(version) !== -1) { + return version + } else if (browserslist.versionAliases[data.name][version]) { + return browserslist.versionAliases[data.name][version] + } else { + return false + } +} + +function normalizeVersion(data, version) { + var resolved = resolveVersion(data, version) + if (resolved) { + return resolved + } else if (data.versions.length === 1) { + return data.versions[0] + } else { + return false + } +} + +function filterByYear(since, context) { + since = since / 1000 + return Object.keys(agents).reduce(function (selected, name) { + var data = byName(name, context) + if (!data) return selected + var versions = Object.keys(data.releaseDate).filter(function (v) { + var date = data.releaseDate[v] + return date !== null && date >= since + }) + return selected.concat(versions.map(nameMapper(data.name))) + }, []) +} + +function cloneData(data) { + return { + name: data.name, + versions: data.versions, + released: data.released, + releaseDate: data.releaseDate + } +} + +function byName(name, context) { + name = name.toLowerCase() + name = browserslist.aliases[name] || name + if (context.mobileToDesktop && browserslist.desktopNames[name]) { + var desktop = browserslist.data[browserslist.desktopNames[name]] + if (name === 'android') { + return normalizeAndroidData(cloneData(browserslist.data[name]), desktop) + } else { + var cloned = cloneData(desktop) + cloned.name = name + return cloned + } + } + return browserslist.data[name] +} + +function normalizeAndroidVersions(androidVersions, chromeVersions) { + var iFirstEvergreen = chromeVersions.indexOf(ANDROID_EVERGREEN_FIRST) + return androidVersions + .filter(function (version) { + return /^(?:[2-4]\.|[34]$)/.test(version) + }) + .concat(chromeVersions.slice(iFirstEvergreen)) +} + +var DANGEROUS_KEYS = ['__proto__', 'constructor', 'prototype'] + +function copyObject(obj) { + var copy = {} + for (var key in obj) { + if (DANGEROUS_KEYS.indexOf(key) === -1) { + copy[key] = obj[key] + } + } + return copy +} + +function normalizeAndroidData(android, chrome) { + android.released = normalizeAndroidVersions(android.released, chrome.released) + android.versions = normalizeAndroidVersions(android.versions, chrome.versions) + android.releaseDate = copyObject(android.releaseDate) + android.released.forEach(function (v) { + if (android.releaseDate[v] === undefined) { + android.releaseDate[v] = chrome.releaseDate[v] + } + }) + return android +} + +function checkName(name, context) { + var data = byName(name, context) + if (!data) throw new BrowserslistError('Unknown browser ' + name) + return data +} + +function unknownQuery(query) { + return new BrowserslistError( + 'Unknown browser query `' + + query + + '`. ' + + 'Maybe you are using old Browserslist or made typo in query.' + ) +} + +// Adjusts last X versions queries for some mobile browsers, +// where caniuse data jumps from a legacy version to the latest +function filterJumps(list, name, nVersions, context) { + var jump = 1 + switch (name) { + case 'android': + if (context.mobileToDesktop) return list + var released = browserslist.data.chrome.released + jump = released.length - released.indexOf(ANDROID_EVERGREEN_FIRST) + break + case 'op_mob': + var latest = browserslist.data.op_mob.released.slice(-1)[0] + jump = getMajor(latest) - OP_MOB_BLINK_FIRST + 1 + break + default: + return list + } + if (nVersions <= jump) { + return list.slice(-1) + } + return list.slice(jump - 1 - nVersions) +} + +function isSupported(flags, withPartial) { + return ( + typeof flags === 'string' && + (flags.indexOf('y') >= 0 || (withPartial && flags.indexOf('a') >= 0)) + ) +} + +function resolve(queries, context) { + return parseQueries(queries).reduce(function (result, node, index) { + if (node.not && index === 0) { + throw new BrowserslistError( + 'Write any browsers query (for instance, `defaults`) ' + + 'before `' + + node.query + + '`' + ) + } + var type = QUERIES[node.type] + var array = type.select.call(browserslist, context, node).map(function (j) { + var parts = j.split(' ') + if (parts[1] === '0') { + return parts[0] + ' ' + byName(parts[0], context).versions[0] + } else { + return j + } + }) + + if (node.compose === 'and') { + if (node.not) { + return result.filter(function (j) { + return array.indexOf(j) === -1 + }) + } else { + return result.filter(function (j) { + return array.indexOf(j) !== -1 + }) + } + } else { + if (node.not) { + var filter = {} + array.forEach(function (j) { + filter[j] = true + }) + return result.filter(function (j) { + return !filter[j] + }) + } + return result.concat(array) + } + }, []) +} + +function prepareOpts(opts) { + if (typeof opts === 'undefined') opts = {} + + if (typeof opts.path === 'undefined') { + opts.path = path.resolve ? path.resolve('.') : '.' + } + + return opts +} + +function prepareQueries(queries, opts) { + if (typeof queries === 'undefined' || queries === null) { + var config = browserslist.loadConfig(opts) + if (config) { + queries = config + } else { + queries = browserslist.defaults + } + } + + return queries +} + +function checkQueries(queries) { + if (!(typeof queries === 'string' || Array.isArray(queries))) { + throw new BrowserslistError( + 'Browser queries must be an array or string. Got ' + typeof queries + '.' + ) + } +} + +var cache = {} +var parseCache = {} + +function browserslist(queries, opts) { + opts = prepareOpts(opts) + queries = prepareQueries(queries, opts) + checkQueries(queries) + + var needsPath = parseQueries(queries).some(function (node) { + return QUERIES[node.type].needsPath + }) + var context = { + ignoreUnknownVersions: opts.ignoreUnknownVersions, + dangerousExtend: opts.dangerousExtend, + throwOnMissing: opts.throwOnMissing, + mobileToDesktop: opts.mobileToDesktop, + env: opts.env + } + // Removing to avoid using context.path without marking query as needsPath + if (needsPath) { + context.path = opts.path + } + + env.oldDataWarning(browserslist.data) + var stats = env.getStat(opts, browserslist.data) + if (stats) { + context.customUsage = {} + for (var browser in stats) { + fillUsage(context.customUsage, browser, stats[browser]) + } + } + + var cacheKey = JSON.stringify([queries, context]) + if (cache[cacheKey]) return cache[cacheKey] + + var result = uniq(resolve(queries, context)).sort(function (name1, name2) { + name1 = name1.split(' ') + name2 = name2.split(' ') + if (name1[0] === name2[0]) { + // assumptions on caniuse data + // 1) version ranges never overlaps + // 2) if version is not a range, it never contains `-` + var version1 = name1[1].split('-')[0] + var version2 = name2[1].split('-')[0] + return compareSemver(version2.split('.'), version1.split('.')) + } else { + return compare(name1[0], name2[0]) + } + }) + if (!env.env.BROWSERSLIST_DISABLE_CACHE) { + cache[cacheKey] = result + } + return result +} + +function parseQueries(queries) { + var cacheKey = JSON.stringify(queries) + if (cacheKey in parseCache) return parseCache[cacheKey] + var result = parseWithoutCache(QUERIES, queries) + if (!env.env.BROWSERSLIST_DISABLE_CACHE) { + parseCache[cacheKey] = result + } + return result +} + +function loadCustomUsage(context, config) { + var stats = env.loadStat(context, config, browserslist.data) + if (stats) { + context.customUsage = {} + for (var browser in stats) { + fillUsage(context.customUsage, browser, stats[browser]) + } + } + if (!context.customUsage) { + throw new BrowserslistError('Custom usage statistics was not provided') + } + return context.customUsage +} + +browserslist.parse = function (queries, opts) { + opts = prepareOpts(opts) + queries = prepareQueries(queries, opts) + checkQueries(queries) + return parseQueries(queries) +} + +// Will be filled by Can I Use data below +browserslist.cache = {} +browserslist.data = {} +browserslist.usage = { + global: {}, + custom: null +} + +// Default browsers query +browserslist.defaults = ['> 0.5%', 'last 2 versions', 'Firefox ESR', 'not dead'] + +// Browser names aliases +browserslist.aliases = { + fx: 'firefox', + ff: 'firefox', + ios: 'ios_saf', + explorer: 'ie', + blackberry: 'bb', + explorermobile: 'ie_mob', + operamini: 'op_mini', + operamobile: 'op_mob', + chromeandroid: 'and_chr', + firefoxandroid: 'and_ff', + ucandroid: 'and_uc', + qqandroid: 'and_qq' +} + +// Can I Use only provides a few versions for some browsers (e.g. and_chr). +// Fallback to a similar browser for unknown versions +// Note op_mob is not included as its chromium versions are not in sync with Opera desktop +browserslist.desktopNames = { + and_chr: 'chrome', + and_ff: 'firefox', + ie_mob: 'ie', + android: 'chrome' // has extra processing logic +} + +// Aliases to work with joined versions like `ios_saf 7.0-7.1` +browserslist.versionAliases = {} + +browserslist.clearCaches = env.clearCaches +browserslist.parseConfig = env.parseConfig +browserslist.readConfig = env.readConfig +browserslist.findConfigFile = env.findConfigFile +browserslist.findConfig = env.findConfig +browserslist.loadConfig = env.loadConfig + +browserslist.coverage = function (browsers, stats) { + var data + if (typeof stats === 'undefined') { + data = browserslist.usage.global + } else if (stats === 'my stats') { + var opts = {} + opts.path = path.resolve ? path.resolve('.') : '.' + var customStats = env.getStat(opts) + if (!customStats) { + throw new BrowserslistError('Custom usage statistics was not provided') + } + data = {} + for (var browser in customStats) { + fillUsage(data, browser, customStats[browser]) + } + } else if (typeof stats === 'string') { + if (stats.length > 2) { + stats = stats.toLowerCase() + } else { + stats = stats.toUpperCase() + } + env.loadCountry(browserslist.usage, stats, browserslist.data) + data = browserslist.usage[stats] + } else { + if ('dataByBrowser' in stats) { + stats = stats.dataByBrowser + } + data = {} + for (var name in stats) { + for (var version in stats[name]) { + data[name + ' ' + version] = stats[name][version] + } + } + } + + return browsers.reduce(function (all, i) { + var usage = data[i] + if (usage === undefined) { + usage = data[i.replace(/ \S+$/, ' 0')] + } + return all + (usage || 0) + }, 0) +} + +function nodeQuery(context, node) { + var matched = browserslist.nodeVersions.filter(function (i) { + return isVersionsMatch(i, node.version) + }) + if (matched.length === 0) { + if (context.ignoreUnknownVersions) { + return [] + } else { + throw new BrowserslistError( + 'Unknown version ' + node.version + ' of Node.js' + ) + } + } + return ['node ' + matched[matched.length - 1]] +} + +function sinceQuery(context, node) { + var year = parseInt(node.year) + var month = parseInt(node.month || '01') - 1 + var day = parseInt(node.day || '01') + return filterByYear(Date.UTC(year, month, day, 0, 0, 0), context) +} + +function bbmTransform(bbmVersions) { + var browsers = { + chrome: 'chrome', + chrome_android: 'and_chr', + edge: 'edge', + firefox: 'firefox', + firefox_android: 'and_ff', + safari: 'safari', + safari_ios: 'ios_saf', + webview_android: 'android', + samsunginternet_android: 'samsung', + opera_android: 'op_mob', + opera: 'opera', + qq_android: 'and_qq', + uc_android: 'and_uc', + kai_os: 'kaios' + } + + return bbmVersions + .filter(function (version) { + return Object.keys(browsers).indexOf(version.browser) !== -1 + }) + .map(function (version) { + return browsers[version.browser] + ' >= ' + version.version + }) +} + +function coverQuery(context, node) { + var coverage = parseFloat(node.coverage) + var usage = browserslist.usage.global + if (node.place) { + if (node.place.match(/^my\s+stats$/i)) { + if (!context.customUsage) { + throw new BrowserslistError('Custom usage statistics was not provided') + } + usage = context.customUsage + } else { + var place + if (node.place.length === 2) { + place = node.place.toUpperCase() + } else { + place = node.place.toLowerCase() + } + env.loadCountry(browserslist.usage, place, browserslist.data) + usage = browserslist.usage[place] + } + } else if (node.config) { + usage = loadCustomUsage(context, node.config) + } + var versions = Object.keys(usage).sort(function (a, b) { + return usage[b] - usage[a] + }) + var covered = 0 + var result = [] + var version + for (var i = 0; i < versions.length; i++) { + version = versions[i] + if (usage[version] === 0) break + covered += usage[version] + result.push(version) + if (covered >= coverage) break + } + return result +} + +var QUERIES = { + last_major_versions: { + matches: ['versions'], + regexp: /^last\s+(\d+)\s+major\s+versions?$/i, + select: function (context, node) { + return Object.keys(agents).reduce(function (selected, name) { + var data = byName(name, context) + if (!data) return selected + var list = getMajorVersions(data.released, node.versions) + list = list.map(nameMapper(data.name)) + list = filterJumps(list, data.name, node.versions, context) + return selected.concat(list) + }, []) + } + }, + last_versions: { + matches: ['versions'], + regexp: /^last\s+(\d+)\s+versions?$/i, + select: function (context, node) { + return Object.keys(agents).reduce(function (selected, name) { + var data = byName(name, context) + if (!data) return selected + var list = data.released.slice(-node.versions) + list = list.map(nameMapper(data.name)) + list = filterJumps(list, data.name, node.versions, context) + return selected.concat(list) + }, []) + } + }, + last_electron_major_versions: { + matches: ['versions'], + regexp: /^last\s+(\d+)\s+electron\s+major\s+versions?$/i, + select: function (context, node) { + var validVersions = getMajorVersions(Object.keys(e2c), node.versions) + return validVersions.map(function (i) { + return 'chrome ' + e2c[i] + }) + } + }, + last_node_major_versions: { + matches: ['versions'], + regexp: /^last\s+(\d+)\s+node\s+major\s+versions?$/i, + select: function (context, node) { + return getMajorVersions(browserslist.nodeVersions, node.versions).map( + function (version) { + return 'node ' + version + } + ) + } + }, + last_browser_major_versions: { + matches: ['versions', 'browser'], + regexp: /^last\s+(\d+)\s+(\w+)\s+major\s+versions?$/i, + select: function (context, node) { + var data = checkName(node.browser, context) + var validVersions = getMajorVersions(data.released, node.versions) + var list = validVersions.map(nameMapper(data.name)) + list = filterJumps(list, data.name, node.versions, context) + return list + } + }, + last_electron_versions: { + matches: ['versions'], + regexp: /^last\s+(\d+)\s+electron\s+versions?$/i, + select: function (context, node) { + return Object.keys(e2c) + .slice(-node.versions) + .map(function (i) { + return 'chrome ' + e2c[i] + }) + } + }, + last_node_versions: { + matches: ['versions'], + regexp: /^last\s+(\d+)\s+node\s+versions?$/i, + select: function (context, node) { + return browserslist.nodeVersions + .slice(-node.versions) + .map(function (version) { + return 'node ' + version + }) + } + }, + last_browser_versions: { + matches: ['versions', 'browser'], + regexp: /^last\s+(\d+)\s+(\w+)\s+versions?$/i, + select: function (context, node) { + var data = checkName(node.browser, context) + var list = data.released.slice(-node.versions).map(nameMapper(data.name)) + list = filterJumps(list, data.name, node.versions, context) + return list + } + }, + unreleased_versions: { + matches: [], + regexp: /^unreleased\s+versions$/i, + select: function (context) { + return Object.keys(agents).reduce(function (selected, name) { + var data = byName(name, context) + if (!data) return selected + var list = data.versions.filter(function (v) { + return data.released.indexOf(v) === -1 + }) + list = list.map(nameMapper(data.name)) + return selected.concat(list) + }, []) + } + }, + unreleased_electron_versions: { + matches: [], + regexp: /^unreleased\s+electron\s+versions?$/i, + select: function () { + return [] + } + }, + unreleased_browser_versions: { + matches: ['browser'], + regexp: /^unreleased\s+(\w+)\s+versions?$/i, + select: function (context, node) { + var data = checkName(node.browser, context) + return data.versions + .filter(function (v) { + return data.released.indexOf(v) === -1 + }) + .map(nameMapper(data.name)) + } + }, + last_years: { + matches: ['years'], + regexp: /^last\s+((\d+\.)?\d+)\s+years?$/i, + select: function (context, node) { + return filterByYear(Date.now() - YEAR * node.years, context) + } + }, + since_y: { + matches: ['year'], + regexp: /^since (\d+)$/i, + select: sinceQuery + }, + since_y_m: { + matches: ['year', 'month'], + regexp: /^since (\d+)-(\d+)$/i, + select: sinceQuery + }, + since_y_m_d: { + matches: ['year', 'month', 'day'], + regexp: /^since (\d+)-(\d+)-(\d+)$/i, + select: sinceQuery + }, + baseline: { + matches: ['year', 'availability', 'date', 'downstream', 'kaios'], + // Matches: + // baseline 2024 + // baseline newly available + // baseline widely available + // baseline widely available on 2024-06-01 + // ...with downstream + // ...including kaios + regexp: + /^baseline\s+(?:(\d+)|(newly|widely)\s+available(?:\s+on\s+(\d{4}-\d{2}-\d{2}))?)?(\s+with\s+downstream)?(\s+including\s+kaios)?$/i, + select: function (context, node) { + var baselineVersions + var includeDownstream = !!node.downstream + var includeKaiOS = !!node.kaios + if (node.availability === 'newly' && node.date) { + throw new BrowserslistError( + 'Using newly available with a date is not supported, please use "widely available on YYYY-MM-DD" and add 30 months to the date you specified.' + ) + } + if (node.year) { + baselineVersions = bbm.getCompatibleVersions({ + targetYear: node.year, + includeDownstreamBrowsers: includeDownstream, + includeKaiOS: includeKaiOS, + suppressWarnings: true + }) + } else if (node.date) { + baselineVersions = bbm.getCompatibleVersions({ + widelyAvailableOnDate: node.date, + includeDownstreamBrowsers: includeDownstream, + includeKaiOS: includeKaiOS, + suppressWarnings: true + }) + } else if (node.availability === 'newly') { + var future30months = new Date().setMonth(new Date().getMonth() + 30) + baselineVersions = bbm.getCompatibleVersions({ + widelyAvailableOnDate: future30months, + includeDownstreamBrowsers: includeDownstream, + includeKaiOS: includeKaiOS, + suppressWarnings: true + }) + } else { + baselineVersions = bbm.getCompatibleVersions({ + includeDownstreamBrowsers: includeDownstream, + includeKaiOS: includeKaiOS, + suppressWarnings: true + }) + } + return resolve(bbmTransform(baselineVersions), context) + } + }, + popularity: { + matches: ['sign', 'popularity'], + regexp: /^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%$/, + select: function (context, node) { + var popularity = parseFloat(node.popularity) + var usage = browserslist.usage.global + return Object.keys(usage).reduce(function (result, version) { + if (node.sign === '>') { + if (usage[version] > popularity) { + result.push(version) + } + } else if (node.sign === '<') { + if (usage[version] < popularity) { + result.push(version) + } + } else if (node.sign === '<=') { + if (usage[version] <= popularity) { + result.push(version) + } + } else if (usage[version] >= popularity) { + result.push(version) + } + return result + }, []) + } + }, + popularity_in_my_stats: { + matches: ['sign', 'popularity'], + regexp: /^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+my\s+stats$/, + select: function (context, node) { + var popularity = parseFloat(node.popularity) + if (!context.customUsage) { + throw new BrowserslistError('Custom usage statistics was not provided') + } + var usage = context.customUsage + return Object.keys(usage).reduce(function (result, version) { + var percentage = usage[version] + if (percentage == null) { + return result + } + + if (node.sign === '>') { + if (percentage > popularity) { + result.push(version) + } + } else if (node.sign === '<') { + if (percentage < popularity) { + result.push(version) + } + } else if (node.sign === '<=') { + if (percentage <= popularity) { + result.push(version) + } + } else if (percentage >= popularity) { + result.push(version) + } + return result + }, []) + } + }, + popularity_in_config_stats: { + matches: ['sign', 'popularity', 'config'], + regexp: /^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/, + select: function (context, node) { + var popularity = parseFloat(node.popularity) + var usage = loadCustomUsage(context, node.config) + return Object.keys(usage).reduce(function (result, version) { + var percentage = usage[version] + if (percentage == null) { + return result + } + + if (node.sign === '>') { + if (percentage > popularity) { + result.push(version) + } + } else if (node.sign === '<') { + if (percentage < popularity) { + result.push(version) + } + } else if (node.sign === '<=') { + if (percentage <= popularity) { + result.push(version) + } + } else if (percentage >= popularity) { + result.push(version) + } + return result + }, []) + } + }, + popularity_in_place: { + matches: ['sign', 'popularity', 'place'], + regexp: /^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+((alt-)?\w\w)$/, + select: function (context, node) { + var popularity = parseFloat(node.popularity) + var place = node.place + if (place.length === 2) { + place = place.toUpperCase() + } else { + place = place.toLowerCase() + } + env.loadCountry(browserslist.usage, place, browserslist.data) + var usage = browserslist.usage[place] + return Object.keys(usage).reduce(function (result, version) { + var percentage = usage[version] + if (percentage == null) { + return result + } + + if (node.sign === '>') { + if (percentage > popularity) { + result.push(version) + } + } else if (node.sign === '<') { + if (percentage < popularity) { + result.push(version) + } + } else if (node.sign === '<=') { + if (percentage <= popularity) { + result.push(version) + } + } else if (percentage >= popularity) { + result.push(version) + } + return result + }, []) + } + }, + cover: { + matches: ['coverage'], + regexp: /^cover\s+(\d+|\d+\.\d+|\.\d+)%$/i, + select: coverQuery + }, + cover_in: { + matches: ['coverage', 'place'], + regexp: /^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(my\s+stats|(alt-)?\w\w)$/i, + select: coverQuery + }, + cover_config: { + matches: ['coverage', 'config'], + regexp: /^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/i, + select: coverQuery + }, + supports: { + matches: ['supportType', 'feature'], + regexp: /^(?:(fully|partially)\s+)?supports\s+([\w-]+)$/, + select: function (context, node) { + env.loadFeature(browserslist.cache, node.feature) + var withPartial = node.supportType !== 'fully' + var features = browserslist.cache[node.feature] + var result = [] + for (var name in features) { + var data = byName(name, context) + // Only check desktop when latest released mobile has support + var iMax = data.released.length - 1 + while (iMax >= 0) { + if (data.released[iMax] in features[name]) break + iMax-- + } + var checkDesktop = + context.mobileToDesktop && + name in browserslist.desktopNames && + isSupported(features[name][data.released[iMax]], withPartial) + data.versions.forEach(function (version) { + var flags = features[name][version] + if (flags === undefined && checkDesktop) { + flags = features[browserslist.desktopNames[name]][version] + } + if (isSupported(flags, withPartial)) { + result.push(name + ' ' + version) + } + }) + } + return result + } + }, + electron_range: { + matches: ['from', 'to'], + regexp: /^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i, + select: function (context, node) { + var fromToUse = normalizeElectron(node.from) + var toToUse = normalizeElectron(node.to) + var from = parseFloat(node.from) + var to = parseFloat(node.to) + if (!e2c[fromToUse]) { + throw new BrowserslistError('Unknown version ' + from + ' of electron') + } + if (!e2c[toToUse]) { + throw new BrowserslistError('Unknown version ' + to + ' of electron') + } + return Object.keys(e2c) + .filter(function (i) { + var parsed = parseFloat(i) + return parsed >= from && parsed <= to + }) + .map(function (i) { + return 'chrome ' + e2c[i] + }) + } + }, + node_range: { + matches: ['from', 'to'], + regexp: /^node\s+([\d.]+)\s*-\s*([\d.]+)$/i, + select: function (context, node) { + return browserslist.nodeVersions + .filter(semverFilterLoose('>=', node.from)) + .filter(semverFilterLoose('<=', node.to)) + .map(function (v) { + return 'node ' + v + }) + } + }, + browser_range: { + matches: ['browser', 'from', 'to'], + regexp: /^(\w+)\s+([\d.]+)\s*-\s*([\d.]+)$/i, + select: function (context, node) { + var data = checkName(node.browser, context) + var from = parseFloat(normalizeVersion(data, node.from) || node.from) + var to = parseFloat(normalizeVersion(data, node.to) || node.to) + function filter(v) { + var parsed = parseFloat(v) + return parsed >= from && parsed <= to + } + return data.released.filter(filter).map(nameMapper(data.name)) + } + }, + electron_ray: { + matches: ['sign', 'version'], + regexp: /^electron\s*(>=?|<=?)\s*([\d.]+)$/i, + select: function (context, node) { + var versionToUse = normalizeElectron(node.version) + return Object.keys(e2c) + .filter(generateFilter(node.sign, versionToUse)) + .map(function (i) { + return 'chrome ' + e2c[i] + }) + } + }, + node_ray: { + matches: ['sign', 'version'], + regexp: /^node\s*(>=?|<=?)\s*([\d.]+)$/i, + select: function (context, node) { + return browserslist.nodeVersions + .filter(generateSemverFilter(node.sign, node.version)) + .map(function (v) { + return 'node ' + v + }) + } + }, + browser_ray: { + matches: ['browser', 'sign', 'version'], + regexp: /^(\w+)\s*(>=?|<=?)\s*([\d.]+|esr)$/i, + select: function (context, node) { + var version = node.version + var data = checkName(node.browser, context) + var alias = browserslist.versionAliases[data.name][version.toLowerCase()] + if (alias) version = alias + if (!/[\d.]+/.test(version)) { + throw new BrowserslistError( + 'Unknown version ' + version + ' of ' + node.browser + ) + } + return data.released + .filter(generateFilter(node.sign, version)) + .map(function (v) { + return data.name + ' ' + v + }) + } + }, + firefox_esr: { + matches: [], + regexp: /^(firefox|ff|fx)\s+esr$/i, + select: function () { + return ['firefox ' + FIREFOX_ESR_VERSION] + } + }, + opera_mini_all: { + matches: [], + regexp: /(operamini|op_mini)\s+all/i, + select: function () { + return ['op_mini all'] + } + }, + electron_version: { + matches: ['version'], + regexp: /^electron\s+([\d.]+)$/i, + select: function (context, node) { + var versionToUse = normalizeElectron(node.version) + var chrome = e2c[versionToUse] + if (!chrome) { + throw new BrowserslistError( + 'Unknown version ' + node.version + ' of electron' + ) + } + return ['chrome ' + chrome] + } + }, + node_major_version: { + matches: ['version'], + regexp: /^node\s+(\d+)$/i, + select: nodeQuery + }, + node_minor_version: { + matches: ['version'], + regexp: /^node\s+(\d+\.\d+)$/i, + select: nodeQuery + }, + node_patch_version: { + matches: ['version'], + regexp: /^node\s+(\d+\.\d+\.\d+)$/i, + select: nodeQuery + }, + current_node: { + matches: [], + regexp: /^current\s+node$/i, + select: function (context) { + return [env.currentNode(resolve, context)] + } + }, + maintained_node: { + matches: [], + regexp: /^maintained\s+node\s+versions$/i, + select: function (context) { + var now = Date.now() + var queries = Object.keys(jsEOL) + .filter(function (key) { + return ( + now < Date.parse(jsEOL[key].end) && + now > Date.parse(jsEOL[key].start) && + isEolReleased(key) + ) + }) + .map(function (key) { + return 'node ' + key.slice(1) + }) + return resolve(queries, context) + } + }, + phantomjs_1_9: { + matches: [], + regexp: /^phantomjs\s+1.9$/i, + select: function () { + return ['safari 5'] + } + }, + phantomjs_2_1: { + matches: [], + regexp: /^phantomjs\s+2.1$/i, + select: function () { + return ['safari 6'] + } + }, + browser_version: { + matches: ['browser', 'version'], + regexp: /^(\w+)\s+(tp|[\d.]+)$/i, + select: function (context, node) { + var version = node.version + if (/^tp$/i.test(version)) version = 'TP' + var data = checkName(node.browser, context) + var alias = normalizeVersion(data, version) + if (alias) { + version = alias + } else { + if (version.indexOf('.') === -1) { + alias = version + '.0' + } else { + alias = version.replace(/\.0$/, '') + } + alias = normalizeVersion(data, alias) + if (alias) { + version = alias + } else if (context.ignoreUnknownVersions) { + return [] + } else { + throw new BrowserslistError( + 'Unknown version ' + version + ' of ' + node.browser + ) + } + } + return [data.name + ' ' + version] + } + }, + browserslist_config: { + matches: [], + regexp: /^browserslist config$/i, + needsPath: true, + select: function (context) { + return browserslist(undefined, context) + } + }, + extends: { + matches: ['config'], + regexp: /^extends (.+)$/i, + needsPath: true, + select: function (context, node) { + return resolve(env.loadQueries(context, node.config), context) + } + }, + defaults: { + matches: [], + regexp: /^defaults$/i, + select: function (context) { + return resolve(browserslist.defaults, context) + } + }, + dead: { + matches: [], + regexp: /^dead$/i, + select: function (context) { + var dead = [ + 'Baidu >= 0', + 'ie <= 11', + 'ie_mob <= 11', + 'bb <= 10', + 'op_mob <= 12.1', + 'samsung 4' + ] + return resolve(dead, context) + } + }, + unknown: { + matches: [], + regexp: /^(\w+)$/i, + select: function (context, node) { + if (byName(node.query, context)) { + throw new BrowserslistError( + 'Specify versions in Browserslist query for browser ' + node.query + ) + } else { + throw unknownQuery(node.query) + } + } + } +} + +// Get and convert Can I Use data + +;(function () { + for (var name in agents) { + var browser = agents[name] + browserslist.data[name] = { + name: name, + versions: normalize(agents[name].versions), + released: normalize(agents[name].versions.slice(0, -3)), + releaseDate: agents[name].release_date + } + fillUsage(browserslist.usage.global, name, browser.usage_global) + + browserslist.versionAliases[name] = {} + for (var i = 0; i < browser.versions.length; i++) { + var full = browser.versions[i] + if (!full) continue + + if (full.indexOf('-') !== -1) { + var interval = full.split('-') + for (var j = 0; j < interval.length; j++) { + browserslist.versionAliases[name][interval[j]] = full + } + } + } + } + + browserslist.nodeVersions = jsReleases.map(function (release) { + return release.version + }) +})() + +browserslist.versionAliases.firefox.esr = FIREFOX_ESR_VERSION + +module.exports = browserslist diff --git a/tools/ui/node_modules/browserslist/node.js b/tools/ui/node_modules/browserslist/node.js new file mode 100644 index 0000000000000000000000000000000000000000..ffa977daeb9f557876227993d77c76e46720dbd4 --- /dev/null +++ b/tools/ui/node_modules/browserslist/node.js @@ -0,0 +1,502 @@ +var feature = require('caniuse-lite/dist/unpacker/feature').default +var region = require('caniuse-lite/dist/unpacker/region').default +var fs = require('fs') +var path = require('path') + +var BrowserslistError = require('./error') + +var IS_SECTION = /^\s*\[(.+)]\s*$/ +var CONFIG_PATTERN = /^browserslist-config-/ +var SCOPED_CONFIG__PATTERN = /@[^/]+(?:\/[^/]+)?\/browserslist-config(?:-|$|\/)/ +var FORMAT = + 'Browserslist config should be a string or an array ' + + 'of strings with browser queries' +var PATHTYPE_UNKNOWN = 'unknown' +var PATHTYPE_DIR = 'directory' +var PATHTYPE_FILE = 'file' + +var dataTimeChecked = false +var statCache = {} +var configPathCache = {} +var parseConfigCache = {} + +function checkExtend(name) { + var use = ' Use `dangerousExtend` option to disable.' + if (!CONFIG_PATTERN.test(name) && !SCOPED_CONFIG__PATTERN.test(name)) { + throw new BrowserslistError( + 'Browserslist config needs `browserslist-config-` prefix. ' + use + ) + } + if (name.replace(/^@[^/]+\//, '').indexOf('.') !== -1) { + throw new BrowserslistError( + '`.` not allowed in Browserslist config name. ' + use + ) + } + if (name.indexOf('node_modules') !== -1) { + throw new BrowserslistError( + '`node_modules` not allowed in Browserslist config.' + use + ) + } +} + +function getPathType(filepath) { + var stats + try { + stats = fs.existsSync(filepath) && fs.statSync(filepath) + } catch (err) { + /* c8 ignore start */ + if ( + err.code !== 'ENOENT' && + err.code !== 'EACCES' && + err.code !== 'ERR_ACCESS_DENIED' + ) { + throw err + } + /* c8 ignore end */ + } + + if (stats && stats.isDirectory()) return PATHTYPE_DIR + if (stats && stats.isFile()) return PATHTYPE_FILE + + return PATHTYPE_UNKNOWN +} + +function isFile(file) { + return getPathType(file) === PATHTYPE_FILE +} + +function isDirectory(dir) { + return getPathType(dir) === PATHTYPE_DIR +} + +function eachParent(file, callback, cache) { + var loc = path.resolve(file) + var pathsForCacheResult = [] + var result + do { + if (!pathInRoot(loc)) { + break + } + if (cache && loc in cache) { + result = cache[loc] + break + } + pathsForCacheResult.push(loc) + + if (!isDirectory(loc)) { + continue + } + + var locResult = callback(loc) + if (typeof locResult !== 'undefined') { + result = locResult + break + } + } while (loc !== (loc = path.dirname(loc))) + + if (cache && !process.env.BROWSERSLIST_DISABLE_CACHE) { + pathsForCacheResult.forEach(function (cachePath) { + cache[cachePath] = result + }) + } + return result +} + +function pathInRoot(p) { + if (!process.env.BROWSERSLIST_ROOT_PATH) return true + var rootPath = path.resolve(process.env.BROWSERSLIST_ROOT_PATH) + if (path.relative(rootPath, p).substring(0, 2) === '..') { + return false + } + return true +} + +function check(section) { + if (Array.isArray(section)) { + for (var i = 0; i < section.length; i++) { + if (typeof section[i] !== 'string') { + throw new BrowserslistError(FORMAT) + } + } + } else if (typeof section !== 'string') { + throw new BrowserslistError(FORMAT) + } +} + +function pickEnv(config, opts) { + if (typeof config !== 'object') return config + + var name + if (typeof opts.env === 'string') { + name = opts.env + } else if (process.env.BROWSERSLIST_ENV) { + name = process.env.BROWSERSLIST_ENV + } else if (process.env.NODE_ENV) { + name = process.env.NODE_ENV + } else { + name = 'production' + } + + if (opts.throwOnMissing) { + if (name && name !== 'defaults' && !config[name]) { + throw new BrowserslistError( + 'Missing config for Browserslist environment `' + name + '`' + ) + } + } + + return config[name] || config.defaults +} + +function parsePackage(file) { + var text = fs + .readFileSync(file) + .toString() + .replace(/^\uFEFF/m, '') + var list + if (text.indexOf('"browserslist"') >= 0) { + list = JSON.parse(text).browserslist + } else if (text.indexOf('"browserlist"') >= 0) { + var config = JSON.parse(text) + if (config.browserlist && !config.browserslist) { + throw new BrowserslistError( + '`browserlist` key instead of `browserslist` in ' + file + ) + } + } + if (Array.isArray(list) || typeof list === 'string') { + list = { defaults: list } + } + for (var i in list) { + check(list[i]) + } + + return list +} + +function parsePackageOrReadConfig(file) { + if (file in parseConfigCache) { + return parseConfigCache[file] + } + + var isPackage = path.basename(file) === 'package.json' + var result = isPackage ? parsePackage(file) : module.exports.readConfig(file) + + if (!process.env.BROWSERSLIST_DISABLE_CACHE) { + parseConfigCache[file] = result + } + return result +} + +function latestReleaseTime(agents) { + var latest = 0 + for (var name in agents) { + var dates = agents[name].releaseDate || {} + for (var key in dates) { + if (latest < dates[key]) { + latest = dates[key] + } + } + } + return latest * 1000 +} + +function getMonthsPassed(date) { + var now = new Date() + var past = new Date(date) + + var years = now.getFullYear() - past.getFullYear() + var months = now.getMonth() - past.getMonth() + + return years * 12 + months +} + +function normalizeStats(data, stats) { + if (!data) { + data = {} + } + if (stats && 'dataByBrowser' in stats) { + stats = stats.dataByBrowser + } + + if (typeof stats !== 'object') return undefined + + var normalized = {} + for (var i in stats) { + var versions = Object.keys(stats[i]) + if (versions.length === 1 && data[i] && data[i].versions.length === 1) { + var normal = data[i].versions[0] + normalized[i] = {} + normalized[i][normal] = stats[i][versions[0]] + } else { + normalized[i] = stats[i] + } + } + + return normalized +} + +function normalizeUsageData(usageData, data) { + for (var browser in usageData) { + var browserUsage = usageData[browser] + // https://github.com/browserslist/browserslist/issues/431#issuecomment-565230615 + // caniuse-db returns { 0: "percentage" } for `and_*` regional stats + if ('0' in browserUsage) { + var versions = data[browser].versions + browserUsage[versions[versions.length - 1]] = browserUsage[0] + delete browserUsage[0] + } + } +} + +module.exports = { + loadQueries: function loadQueries(ctx, name) { + if (!ctx.dangerousExtend && !process.env.BROWSERSLIST_DANGEROUS_EXTEND) { + checkExtend(name) + } + var queries = require(require.resolve(name, { paths: ['.', ctx.path] })) + if (typeof queries === 'object' && queries !== null && queries.__esModule) { + queries = queries.default + } + if (queries) { + if (Array.isArray(queries)) { + return queries + } else if (typeof queries === 'object') { + if (!queries.defaults) queries.defaults = [] + return pickEnv(queries, ctx, name) + } + } + throw new BrowserslistError( + '`' + + name + + '` config exports not an array of queries' + + ' or an object of envs' + ) + }, + + loadStat: function loadStat(ctx, name, data) { + if (!ctx.dangerousExtend && !process.env.BROWSERSLIST_DANGEROUS_EXTEND) { + checkExtend(name) + } + var stats = require( + // Use forward slashes for module paths, also on Windows. + require.resolve(path.posix.join(name, 'browserslist-stats.json'), { + paths: ['.'] + }) + ) + return normalizeStats(data, stats) + }, + + getStat: function getStat(opts, data) { + var stats + if (opts.stats) { + stats = opts.stats + } else if (process.env.BROWSERSLIST_STATS) { + stats = process.env.BROWSERSLIST_STATS + } else if (opts.path && path.resolve && fs.existsSync) { + stats = eachParent( + opts.path, + function (dir) { + var file = path.join(dir, 'browserslist-stats.json') + return isFile(file) ? file : undefined + }, + statCache + ) + } + if (typeof stats === 'string') { + try { + stats = JSON.parse(fs.readFileSync(stats)) + } catch (e) { + throw new BrowserslistError("Can't read " + stats) + } + } + return normalizeStats(data, stats) + }, + + loadConfig: function loadConfig(opts) { + if (process.env.BROWSERSLIST) { + return process.env.BROWSERSLIST + } else if (opts.config || process.env.BROWSERSLIST_CONFIG) { + var file = opts.config || process.env.BROWSERSLIST_CONFIG + return pickEnv(parsePackageOrReadConfig(file), opts) + } else if (opts.path) { + return pickEnv(module.exports.findConfig(opts.path), opts) + } else { + return undefined + } + }, + + loadCountry: function loadCountry(usage, country, data) { + var code = country.replace(/[^\w-]/g, '') + if (!usage[code]) { + var compressed + try { + compressed = require('caniuse-lite/data/regions/' + code + '.js') + } catch (e) { + throw new BrowserslistError('Unknown region name `' + code + '`.') + } + var usageData = region(compressed) + normalizeUsageData(usageData, data) + usage[country] = {} + for (var i in usageData) { + for (var j in usageData[i]) { + usage[country][i + ' ' + j] = usageData[i][j] + } + } + } + }, + + loadFeature: function loadFeature(features, name) { + name = name.replace(/[^\w-]/g, '') + if (features[name]) return + var compressed + try { + compressed = require('caniuse-lite/data/features/' + name + '.js') + } catch (e) { + throw new BrowserslistError('Unknown feature name `' + name + '`.') + } + var stats = feature(compressed).stats + features[name] = {} + for (var i in stats) { + features[name][i] = {} + for (var j in stats[i]) { + features[name][i][j] = stats[i][j] + } + } + }, + + parseConfig: function parseConfig(string) { + var result = { defaults: [] } + var sections = ['defaults'] + + string + .toString() + .replace(/#[^\n]*/g, '') + .split(/\n|,/) + .map(function (line) { + return line.trim() + }) + .filter(function (line) { + return line !== '' + }) + .forEach(function (line) { + if (IS_SECTION.test(line)) { + sections = line.match(IS_SECTION)[1].trim().split(' ') + sections.forEach(function (section) { + if (result[section]) { + throw new BrowserslistError( + 'Duplicate section ' + section + ' in Browserslist config' + ) + } + result[section] = [] + }) + } else { + sections.forEach(function (section) { + result[section].push(line) + }) + } + }) + + return result + }, + + readConfig: function readConfig(file) { + if (!isFile(file)) { + throw new BrowserslistError("Can't read " + file + ' config') + } + + return module.exports.parseConfig(fs.readFileSync(file)) + }, + + findConfigFile: function findConfigFile(from) { + return eachParent( + from, + function (dir) { + var config = path.join(dir, 'browserslist') + var pkg = path.join(dir, 'package.json') + var rc = path.join(dir, '.browserslistrc') + + var pkgBrowserslist + if (isFile(pkg)) { + try { + pkgBrowserslist = parsePackage(pkg) + } catch (e) { + if (e.name === 'BrowserslistError') throw e + console.warn( + '[Browserslist] Could not parse ' + pkg + '. Ignoring it.' + ) + } + } + + if (isFile(config) && pkgBrowserslist) { + throw new BrowserslistError( + dir + ' contains both browserslist and package.json with browsers' + ) + } else if (isFile(rc) && pkgBrowserslist) { + throw new BrowserslistError( + dir + + ' contains both .browserslistrc and package.json with browsers' + ) + } else if (isFile(config) && isFile(rc)) { + throw new BrowserslistError( + dir + ' contains both .browserslistrc and browserslist' + ) + } else if (isFile(config)) { + return config + } else if (isFile(rc)) { + return rc + } else if (pkgBrowserslist) { + return pkg + } + }, + configPathCache + ) + }, + + findConfig: function findConfig(from) { + var configFile = this.findConfigFile(from) + + return configFile ? parsePackageOrReadConfig(configFile) : undefined + }, + + clearCaches: function clearCaches() { + dataTimeChecked = false + statCache = {} + configPathCache = {} + parseConfigCache = {} + + this.cache = {} + }, + + oldDataWarning: function oldDataWarning(agentsObj) { + if (dataTimeChecked) return + dataTimeChecked = true + if (process.env.BROWSERSLIST_IGNORE_OLD_DATA) return + + var latest = latestReleaseTime(agentsObj) + var monthsPassed = getMonthsPassed(latest) + + if (latest !== 0 && monthsPassed >= 6) { + if (process.env.BROWSERSLIST_TRACE_WARNING) { + console.info('Last browser release in DB: ' + String(new Date(latest))) + console.trace() + } + + var months = monthsPassed + ' ' + (monthsPassed > 1 ? 'months' : 'month') + console.warn( + 'Browserslist: browsers data (caniuse-lite) is ' + + months + + ' old. Please run:\n' + + ' npx update-browserslist-db@latest\n' + + ' Why you should do it regularly: ' + + 'https://github.com/browserslist/update-db#readme' + ) + } + }, + + currentNode: function currentNode() { + return 'node ' + process.versions.node + }, + + env: process.env +} diff --git a/tools/ui/node_modules/browserslist/package.json b/tools/ui/node_modules/browserslist/package.json new file mode 100644 index 0000000000000000000000000000000000000000..db5a9487b89e9526fae9d89ebc4a1a7a0ae379cf --- /dev/null +++ b/tools/ui/node_modules/browserslist/package.json @@ -0,0 +1,45 @@ +{ + "name": "browserslist", + "version": "4.28.2", + "description": "Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset", + "keywords": [ + "browsers", + "caniuse", + "target" + ], + "license": "MIT", + "author": "Andrey Sitnik ", + "repository": "browserslist/browserslist", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "bin": { + "browserslist": "cli.js" + }, + "browser": { + "./node.js": "./browser.js", + "path": false + }, + "types": "./index.d.ts", + "dependencies": { + "baseline-browser-mapping": "^2.10.12", + "caniuse-lite": "^1.0.30001782", + "electron-to-chromium": "^1.5.328", + "node-releases": "^2.0.36", + "update-browserslist-db": "^1.2.3" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } +} diff --git a/tools/ui/node_modules/browserslist/parse.js b/tools/ui/node_modules/browserslist/parse.js new file mode 100644 index 0000000000000000000000000000000000000000..c9d8f45b418b3776aa460b79c61d68192cf1bfb5 --- /dev/null +++ b/tools/ui/node_modules/browserslist/parse.js @@ -0,0 +1,78 @@ +var AND_REGEXP = /^\s+and\s+(.*)/i +var OR_REGEXP = /^(?:,\s*|\s+or\s+)(.*)/i + +function flatten(array) { + if (!Array.isArray(array)) return [array] + return array.reduce(function (a, b) { + return a.concat(flatten(b)) + }, []) +} + +function find(string, predicate) { + for (var max = string.length, n = 1; n <= max; n++) { + var parsed = string.substr(-n, n) + if (predicate(parsed, n, max)) { + return string.slice(0, -n) + } + } + return '' +} + +function matchQuery(all, query) { + var node = { query: query } + if (query.indexOf('not ') === 0) { + node.not = true + query = query.slice(4) + } + + for (var name in all) { + var type = all[name] + var match = query.match(type.regexp) + if (match) { + node.type = name + for (var i = 0; i < type.matches.length; i++) { + node[type.matches[i]] = match[i + 1] + } + return node + } + } + + node.type = 'unknown' + return node +} + +function matchBlock(all, string, qs) { + var node + return find(string, function (parsed, n, max) { + if (AND_REGEXP.test(parsed)) { + node = matchQuery(all, parsed.match(AND_REGEXP)[1]) + node.compose = 'and' + qs.unshift(node) + return true + } else if (OR_REGEXP.test(parsed)) { + node = matchQuery(all, parsed.match(OR_REGEXP)[1]) + node.compose = 'or' + qs.unshift(node) + return true + } else if (n === max) { + node = matchQuery(all, parsed.trim()) + node.compose = 'or' + qs.unshift(node) + return true + } + return false + }) +} + +module.exports = function parse(all, queries) { + if (!Array.isArray(queries)) queries = [queries] + return flatten( + queries.map(function (block) { + var qs = [] + do { + block = matchBlock(all, block, qs) + } while (block) + return qs + }) + ) +} diff --git a/tools/ui/node_modules/buffer-from/LICENSE b/tools/ui/node_modules/buffer-from/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..e4bf1d69b1bb0df5acf1278e583264acdc1eefc5 --- /dev/null +++ b/tools/ui/node_modules/buffer-from/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2016, 2018 Linus Unnebäck + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/tools/ui/node_modules/buffer-from/index.js b/tools/ui/node_modules/buffer-from/index.js new file mode 100644 index 0000000000000000000000000000000000000000..e1a58b5e8a06fd24ce5321aa6b08255dc9d0716d --- /dev/null +++ b/tools/ui/node_modules/buffer-from/index.js @@ -0,0 +1,72 @@ +/* eslint-disable node/no-deprecated-api */ + +var toString = Object.prototype.toString + +var isModern = ( + typeof Buffer !== 'undefined' && + typeof Buffer.alloc === 'function' && + typeof Buffer.allocUnsafe === 'function' && + typeof Buffer.from === 'function' +) + +function isArrayBuffer (input) { + return toString.call(input).slice(8, -1) === 'ArrayBuffer' +} + +function fromArrayBuffer (obj, byteOffset, length) { + byteOffset >>>= 0 + + var maxLength = obj.byteLength - byteOffset + + if (maxLength < 0) { + throw new RangeError("'offset' is out of bounds") + } + + if (length === undefined) { + length = maxLength + } else { + length >>>= 0 + + if (length > maxLength) { + throw new RangeError("'length' is out of bounds") + } + } + + return isModern + ? Buffer.from(obj.slice(byteOffset, byteOffset + length)) + : new Buffer(new Uint8Array(obj.slice(byteOffset, byteOffset + length))) +} + +function fromString (string, encoding) { + if (typeof encoding !== 'string' || encoding === '') { + encoding = 'utf8' + } + + if (!Buffer.isEncoding(encoding)) { + throw new TypeError('"encoding" must be a valid string encoding') + } + + return isModern + ? Buffer.from(string, encoding) + : new Buffer(string, encoding) +} + +function bufferFrom (value, encodingOrOffset, length) { + if (typeof value === 'number') { + throw new TypeError('"value" argument must not be a number') + } + + if (isArrayBuffer(value)) { + return fromArrayBuffer(value, encodingOrOffset, length) + } + + if (typeof value === 'string') { + return fromString(value, encodingOrOffset) + } + + return isModern + ? Buffer.from(value) + : new Buffer(value) +} + +module.exports = bufferFrom diff --git a/tools/ui/node_modules/buffer-from/package.json b/tools/ui/node_modules/buffer-from/package.json new file mode 100644 index 0000000000000000000000000000000000000000..6ac5327bf8621ef03a3df8039518a98ba3d1648a --- /dev/null +++ b/tools/ui/node_modules/buffer-from/package.json @@ -0,0 +1,19 @@ +{ + "name": "buffer-from", + "version": "1.1.2", + "license": "MIT", + "repository": "LinusU/buffer-from", + "files": [ + "index.js" + ], + "scripts": { + "test": "standard && node test" + }, + "devDependencies": { + "standard": "^12.0.1" + }, + "keywords": [ + "buffer", + "buffer from" + ] +} diff --git a/tools/ui/node_modules/buffer-from/readme.md b/tools/ui/node_modules/buffer-from/readme.md new file mode 100644 index 0000000000000000000000000000000000000000..9880a558a7c91fefb0e6908318fbd991b6b93dcf --- /dev/null +++ b/tools/ui/node_modules/buffer-from/readme.md @@ -0,0 +1,69 @@ +# Buffer From + +A [ponyfill](https://ponyfill.com) for `Buffer.from`, uses native implementation if available. + +## Installation + +```sh +npm install --save buffer-from +``` + +## Usage + +```js +const bufferFrom = require('buffer-from') + +console.log(bufferFrom([1, 2, 3, 4])) +//=> + +const arr = new Uint8Array([1, 2, 3, 4]) +console.log(bufferFrom(arr.buffer, 1, 2)) +//=> + +console.log(bufferFrom('test', 'utf8')) +//=> + +const buf = bufferFrom('test') +console.log(bufferFrom(buf)) +//=> +``` + +## API + +### bufferFrom(array) + +- `array` <Array> + +Allocates a new `Buffer` using an `array` of octets. + +### bufferFrom(arrayBuffer[, byteOffset[, length]]) + +- `arrayBuffer` <ArrayBuffer> The `.buffer` property of a TypedArray or ArrayBuffer +- `byteOffset` <Integer> Where to start copying from `arrayBuffer`. **Default:** `0` +- `length` <Integer> How many bytes to copy from `arrayBuffer`. **Default:** `arrayBuffer.length - byteOffset` + +When passed a reference to the `.buffer` property of a TypedArray instance, the +newly created `Buffer` will share the same allocated memory as the TypedArray. + +The optional `byteOffset` and `length` arguments specify a memory range within +the `arrayBuffer` that will be shared by the `Buffer`. + +### bufferFrom(buffer) + +- `buffer` <Buffer> An existing `Buffer` to copy data from + +Copies the passed `buffer` data onto a new `Buffer` instance. + +### bufferFrom(string[, encoding]) + +- `string` <String> A string to encode. +- `encoding` <String> The encoding of `string`. **Default:** `'utf8'` + +Creates a new `Buffer` containing the given JavaScript string `string`. If +provided, the `encoding` parameter identifies the character encoding of +`string`. + +## See also + +- [buffer-alloc](https://github.com/LinusU/buffer-alloc) A ponyfill for `Buffer.alloc` +- [buffer-alloc-unsafe](https://github.com/LinusU/buffer-alloc-unsafe) A ponyfill for `Buffer.allocUnsafe` diff --git a/tools/ui/node_modules/bundle-name/index.js b/tools/ui/node_modules/bundle-name/index.js new file mode 100644 index 0000000000000000000000000000000000000000..994815e6270ae23165b52cf0b7285bb7bc8089ed --- /dev/null +++ b/tools/ui/node_modules/bundle-name/index.js @@ -0,0 +1,5 @@ +import {runAppleScript} from 'run-applescript'; + +export default async function bundleName(bundleId) { + return runAppleScript(`tell application "Finder" to set app_path to application file id "${bundleId}" as string\ntell application "System Events" to get value of property list item "CFBundleName" of property list file (app_path & ":Contents:Info.plist")`); +} diff --git a/tools/ui/node_modules/bundle-name/license b/tools/ui/node_modules/bundle-name/license new file mode 100644 index 0000000000000000000000000000000000000000..fa7ceba3eb4a9657a9db7f3ffca4e4e97a9019de --- /dev/null +++ b/tools/ui/node_modules/bundle-name/license @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) Sindre Sorhus (https://sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/tools/ui/node_modules/bundle-name/package.json b/tools/ui/node_modules/bundle-name/package.json new file mode 100644 index 0000000000000000000000000000000000000000..aeb5752ef87f743344e5e460b44e16e653743b83 --- /dev/null +++ b/tools/ui/node_modules/bundle-name/package.json @@ -0,0 +1,45 @@ +{ + "name": "bundle-name", + "version": "4.1.0", + "description": "Get bundle name from a bundle identifier (macOS): `com.apple.Safari` → `Safari`", + "license": "MIT", + "repository": "sindresorhus/bundle-name", + "funding": "https://github.com/sponsors/sindresorhus", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "https://sindresorhus.com" + }, + "type": "module", + "exports": "./index.js", + "sideEffects": false, + "engines": { + "node": ">=18" + }, + "scripts": { + "test": "xo && ava" + }, + "files": [ + "index.js" + ], + "keywords": [ + "macos", + "plist", + "applescript", + "bundle", + "bundleid", + "bundlename", + "id", + "identifier", + "CFBundleName", + "CFBundleIdentifier", + "uti" + ], + "dependencies": { + "run-applescript": "^7.0.0" + }, + "devDependencies": { + "ava": "^6.0.1", + "xo": "^0.56.0" + } +} diff --git a/tools/ui/node_modules/bundle-name/readme.md b/tools/ui/node_modules/bundle-name/readme.md new file mode 100644 index 0000000000000000000000000000000000000000..349ea9d853a7ba1a956602a1100bfc5d545c448a --- /dev/null +++ b/tools/ui/node_modules/bundle-name/readme.md @@ -0,0 +1,23 @@ +# bundle-name + +> Get [bundle name](https://developer.apple.com/library/Mac/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/plist/info/CFBundleName) from a [bundle identifier](https://developer.apple.com/library/Mac/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/plist/info/CFBundleIdentifier) (macOS): `com.apple.Safari` → `Safari` + +## Install + +```sh +npm install bundle-name +``` + +## Usage + +```js +import bundleName from 'bundle-name'; + +console.log(await bundleName('com.apple.Safari')); +//=> 'Safari' +``` + +## Related + +- [bundle-name-cli](https://github.com/sindresorhus/bundle-name-cli) - CLI for this module +- [bundle-id](https://github.com/sindresorhus/bundle-id) - Get bundle identifier from a bundle name diff --git a/tools/ui/node_modules/bytes/History.md b/tools/ui/node_modules/bytes/History.md new file mode 100644 index 0000000000000000000000000000000000000000..d60ce0e6df2efd3f83c08b098d1b7b683b96ec84 --- /dev/null +++ b/tools/ui/node_modules/bytes/History.md @@ -0,0 +1,97 @@ +3.1.2 / 2022-01-27 +================== + + * Fix return value for un-parsable strings + +3.1.1 / 2021-11-15 +================== + + * Fix "thousandsSeparator" incorrecting formatting fractional part + +3.1.0 / 2019-01-22 +================== + + * Add petabyte (`pb`) support + +3.0.0 / 2017-08-31 +================== + + * Change "kB" to "KB" in format output + * Remove support for Node.js 0.6 + * Remove support for ComponentJS + +2.5.0 / 2017-03-24 +================== + + * Add option "unit" + +2.4.0 / 2016-06-01 +================== + + * Add option "unitSeparator" + +2.3.0 / 2016-02-15 +================== + + * Drop partial bytes on all parsed units + * Fix non-finite numbers to `.format` to return `null` + * Fix parsing byte string that looks like hex + * perf: hoist regular expressions + +2.2.0 / 2015-11-13 +================== + + * add option "decimalPlaces" + * add option "fixedDecimals" + +2.1.0 / 2015-05-21 +================== + + * add `.format` export + * add `.parse` export + +2.0.2 / 2015-05-20 +================== + + * remove map recreation + * remove unnecessary object construction + +2.0.1 / 2015-05-07 +================== + + * fix browserify require + * remove node.extend dependency + +2.0.0 / 2015-04-12 +================== + + * add option "case" + * add option "thousandsSeparator" + * return "null" on invalid parse input + * support proper round-trip: bytes(bytes(num)) === num + * units no longer case sensitive when parsing + +1.0.0 / 2014-05-05 +================== + + * add negative support. fixes #6 + +0.3.0 / 2014-03-19 +================== + + * added terabyte support + +0.2.1 / 2013-04-01 +================== + + * add .component + +0.2.0 / 2012-10-28 +================== + + * bytes(200).should.eql('200b') + +0.1.0 / 2012-07-04 +================== + + * add bytes to string conversion [yields] diff --git a/tools/ui/node_modules/bytes/LICENSE b/tools/ui/node_modules/bytes/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..63e95a96338a608c218a7ef5805629878aaa951f --- /dev/null +++ b/tools/ui/node_modules/bytes/LICENSE @@ -0,0 +1,23 @@ +(The MIT License) + +Copyright (c) 2012-2014 TJ Holowaychuk +Copyright (c) 2015 Jed Watson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/tools/ui/node_modules/bytes/Readme.md b/tools/ui/node_modules/bytes/Readme.md new file mode 100644 index 0000000000000000000000000000000000000000..5790e23e328e045e66ec6f0b98526157b6c2abcf --- /dev/null +++ b/tools/ui/node_modules/bytes/Readme.md @@ -0,0 +1,152 @@ +# Bytes utility + +[![NPM Version][npm-image]][npm-url] +[![NPM Downloads][downloads-image]][downloads-url] +[![Build Status][ci-image]][ci-url] +[![Test Coverage][coveralls-image]][coveralls-url] + +Utility to parse a string bytes (ex: `1TB`) to bytes (`1099511627776`) and vice-versa. + +## Installation + +This is a [Node.js](https://nodejs.org/en/) module available through the +[npm registry](https://www.npmjs.com/). Installation is done using the +[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally): + +```bash +$ npm install bytes +``` + +## Usage + +```js +var bytes = require('bytes'); +``` + +#### bytes(number|string value, [options]): number|string|null + +Default export function. Delegates to either `bytes.format` or `bytes.parse` based on the type of `value`. + +**Arguments** + +| Name | Type | Description | +|---------|----------|--------------------| +| value | `number`|`string` | Number value to format or string value to parse | +| options | `Object` | Conversion options for `format` | + +**Returns** + +| Name | Type | Description | +|---------|------------------|-------------------------------------------------| +| results | `string`|`number`|`null` | Return null upon error. Numeric value in bytes, or string value otherwise. | + +**Example** + +```js +bytes(1024); +// output: '1KB' + +bytes('1KB'); +// output: 1024 +``` + +#### bytes.format(number value, [options]): string|null + +Format the given value in bytes into a string. If the value is negative, it is kept as such. If it is a float, it is + rounded. + +**Arguments** + +| Name | Type | Description | +|---------|----------|--------------------| +| value | `number` | Value in bytes | +| options | `Object` | Conversion options | + +**Options** + +| Property | Type | Description | +|-------------------|--------|-----------------------------------------------------------------------------------------| +| decimalPlaces | `number`|`null` | Maximum number of decimal places to include in output. Default value to `2`. | +| fixedDecimals | `boolean`|`null` | Whether to always display the maximum number of decimal places. Default value to `false` | +| thousandsSeparator | `string`|`null` | Example of values: `' '`, `','` and `'.'`... Default value to `''`. | +| unit | `string`|`null` | The unit in which the result will be returned (B/KB/MB/GB/TB). Default value to `''` (which means auto detect). | +| unitSeparator | `string`|`null` | Separator to use between number and unit. Default value to `''`. | + +**Returns** + +| Name | Type | Description | +|---------|------------------|-------------------------------------------------| +| results | `string`|`null` | Return null upon error. String value otherwise. | + +**Example** + +```js +bytes.format(1024); +// output: '1KB' + +bytes.format(1000); +// output: '1000B' + +bytes.format(1000, {thousandsSeparator: ' '}); +// output: '1 000B' + +bytes.format(1024 * 1.7, {decimalPlaces: 0}); +// output: '2KB' + +bytes.format(1024, {unitSeparator: ' '}); +// output: '1 KB' +``` + +#### bytes.parse(string|number value): number|null + +Parse the string value into an integer in bytes. If no unit is given, or `value` +is a number, it is assumed the value is in bytes. + +Supported units and abbreviations are as follows and are case-insensitive: + + * `b` for bytes + * `kb` for kilobytes + * `mb` for megabytes + * `gb` for gigabytes + * `tb` for terabytes + * `pb` for petabytes + +The units are in powers of two, not ten. This means 1kb = 1024b according to this parser. + +**Arguments** + +| Name | Type | Description | +|---------------|--------|--------------------| +| value | `string`|`number` | String to parse, or number in bytes. | + +**Returns** + +| Name | Type | Description | +|---------|-------------|-------------------------| +| results | `number`|`null` | Return null upon error. Value in bytes otherwise. | + +**Example** + +```js +bytes.parse('1KB'); +// output: 1024 + +bytes.parse('1024'); +// output: 1024 + +bytes.parse(1024); +// output: 1024 +``` + +## License + +[MIT](LICENSE) + +[ci-image]: https://badgen.net/github/checks/visionmedia/bytes.js/master?label=ci +[ci-url]: https://github.com/visionmedia/bytes.js/actions?query=workflow%3Aci +[coveralls-image]: https://badgen.net/coveralls/c/github/visionmedia/bytes.js/master +[coveralls-url]: https://coveralls.io/r/visionmedia/bytes.js?branch=master +[downloads-image]: https://badgen.net/npm/dm/bytes +[downloads-url]: https://npmjs.org/package/bytes +[npm-image]: https://badgen.net/npm/v/bytes +[npm-url]: https://npmjs.org/package/bytes diff --git a/tools/ui/node_modules/bytes/index.js b/tools/ui/node_modules/bytes/index.js new file mode 100644 index 0000000000000000000000000000000000000000..6f2d0f89e1258564bad95175159e1d8a6abd9ddf --- /dev/null +++ b/tools/ui/node_modules/bytes/index.js @@ -0,0 +1,170 @@ +/*! + * bytes + * Copyright(c) 2012-2014 TJ Holowaychuk + * Copyright(c) 2015 Jed Watson + * MIT Licensed + */ + +'use strict'; + +/** + * Module exports. + * @public + */ + +module.exports = bytes; +module.exports.format = format; +module.exports.parse = parse; + +/** + * Module variables. + * @private + */ + +var formatThousandsRegExp = /\B(?=(\d{3})+(?!\d))/g; + +var formatDecimalsRegExp = /(?:\.0*|(\.[^0]+)0+)$/; + +var map = { + b: 1, + kb: 1 << 10, + mb: 1 << 20, + gb: 1 << 30, + tb: Math.pow(1024, 4), + pb: Math.pow(1024, 5), +}; + +var parseRegExp = /^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i; + +/** + * Convert the given value in bytes into a string or parse to string to an integer in bytes. + * + * @param {string|number} value + * @param {{ + * case: [string], + * decimalPlaces: [number] + * fixedDecimals: [boolean] + * thousandsSeparator: [string] + * unitSeparator: [string] + * }} [options] bytes options. + * + * @returns {string|number|null} + */ + +function bytes(value, options) { + if (typeof value === 'string') { + return parse(value); + } + + if (typeof value === 'number') { + return format(value, options); + } + + return null; +} + +/** + * Format the given value in bytes into a string. + * + * If the value is negative, it is kept as such. If it is a float, + * it is rounded. + * + * @param {number} value + * @param {object} [options] + * @param {number} [options.decimalPlaces=2] + * @param {number} [options.fixedDecimals=false] + * @param {string} [options.thousandsSeparator=] + * @param {string} [options.unit=] + * @param {string} [options.unitSeparator=] + * + * @returns {string|null} + * @public + */ + +function format(value, options) { + if (!Number.isFinite(value)) { + return null; + } + + var mag = Math.abs(value); + var thousandsSeparator = (options && options.thousandsSeparator) || ''; + var unitSeparator = (options && options.unitSeparator) || ''; + var decimalPlaces = (options && options.decimalPlaces !== undefined) ? options.decimalPlaces : 2; + var fixedDecimals = Boolean(options && options.fixedDecimals); + var unit = (options && options.unit) || ''; + + if (!unit || !map[unit.toLowerCase()]) { + if (mag >= map.pb) { + unit = 'PB'; + } else if (mag >= map.tb) { + unit = 'TB'; + } else if (mag >= map.gb) { + unit = 'GB'; + } else if (mag >= map.mb) { + unit = 'MB'; + } else if (mag >= map.kb) { + unit = 'KB'; + } else { + unit = 'B'; + } + } + + var val = value / map[unit.toLowerCase()]; + var str = val.toFixed(decimalPlaces); + + if (!fixedDecimals) { + str = str.replace(formatDecimalsRegExp, '$1'); + } + + if (thousandsSeparator) { + str = str.split('.').map(function (s, i) { + return i === 0 + ? s.replace(formatThousandsRegExp, thousandsSeparator) + : s + }).join('.'); + } + + return str + unitSeparator + unit; +} + +/** + * Parse the string value into an integer in bytes. + * + * If no unit is given, it is assumed the value is in bytes. + * + * @param {number|string} val + * + * @returns {number|null} + * @public + */ + +function parse(val) { + if (typeof val === 'number' && !isNaN(val)) { + return val; + } + + if (typeof val !== 'string') { + return null; + } + + // Test if the string passed is valid + var results = parseRegExp.exec(val); + var floatValue; + var unit = 'b'; + + if (!results) { + // Nothing could be extracted from the given string + floatValue = parseInt(val, 10); + unit = 'b' + } else { + // Retrieve the value and the unit + floatValue = parseFloat(results[1]); + unit = results[4].toLowerCase(); + } + + if (isNaN(floatValue)) { + return null; + } + + return Math.floor(map[unit] * floatValue); +} diff --git a/tools/ui/node_modules/bytes/package.json b/tools/ui/node_modules/bytes/package.json new file mode 100644 index 0000000000000000000000000000000000000000..f2b6a8b0e3c9020746409617bcd562c9368be451 --- /dev/null +++ b/tools/ui/node_modules/bytes/package.json @@ -0,0 +1,42 @@ +{ + "name": "bytes", + "description": "Utility to parse a string bytes to bytes and vice-versa", + "version": "3.1.2", + "author": "TJ Holowaychuk (http://tjholowaychuk.com)", + "contributors": [ + "Jed Watson ", + "Théo FIDRY " + ], + "license": "MIT", + "keywords": [ + "byte", + "bytes", + "utility", + "parse", + "parser", + "convert", + "converter" + ], + "repository": "visionmedia/bytes.js", + "devDependencies": { + "eslint": "7.32.0", + "eslint-plugin-markdown": "2.2.1", + "mocha": "9.2.0", + "nyc": "15.1.0" + }, + "files": [ + "History.md", + "LICENSE", + "Readme.md", + "index.js" + ], + "engines": { + "node": ">= 0.8" + }, + "scripts": { + "lint": "eslint .", + "test": "mocha --check-leaks --reporter spec", + "test-ci": "nyc --reporter=lcov --reporter=text npm test", + "test-cov": "nyc --reporter=html --reporter=text npm test" + } +} diff --git a/tools/ui/node_modules/cac/LICENSE b/tools/ui/node_modules/cac/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..0fa9bb51149d336039c8c335c05f3ab4b1aa2609 --- /dev/null +++ b/tools/ui/node_modules/cac/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) EGOIST <0x142857@gmail.com> (https://github.com/egoist) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/tools/ui/node_modules/cac/README.md b/tools/ui/node_modules/cac/README.md new file mode 100644 index 0000000000000000000000000000000000000000..3fd3d16614daca9068be7ab84c7a81d345425db4 --- /dev/null +++ b/tools/ui/node_modules/cac/README.md @@ -0,0 +1,536 @@ +2017-07-26 9 27 05 + +[![NPM version](https://img.shields.io/npm/v/cac.svg?style=flat)](https://npmjs.com/package/cac) [![NPM downloads](https://img.shields.io/npm/dm/cac.svg?style=flat)](https://npmjs.com/package/cac) [![CircleCI](https://circleci.com/gh/cacjs/cac/tree/master.svg?style=shield)](https://circleci.com/gh/cacjs/cac/tree/master) [![Codecov](https://badgen.net/codecov/c/github/cacjs/cac/master)](https://codecov.io/gh/cacjs/cac) [![donate](https://img.shields.io/badge/$-donate-ff69b4.svg?maxAge=2592000&style=flat)](https://github.com/egoist/donate) [![chat](https://img.shields.io/badge/chat-on%20discord-7289DA.svg?style=flat)](https://chat.egoist.moe) [![install size](https://badgen.net/packagephobia/install/cac)](https://packagephobia.now.sh/result?p=cac) + +## Introduction + +**C**ommand **A**nd **C**onquer is a JavaScript library for building CLI apps. + +## Features + +- **Super light-weight**: No dependency, just a single file. +- **Easy to learn**. There're only 4 APIs you need to learn for building simple CLIs: `cli.option` `cli.version` `cli.help` `cli.parse`. +- **Yet so powerful**. Enable features like default command, git-like subcommands, validation for required arguments and options, variadic arguments, dot-nested options, automated help message generation and so on. +- **Developer friendly**. Written in TypeScript. + +## Table of Contents + + + +- [Install](#install) +- [Usage](#usage) + - [Simple Parsing](#simple-parsing) + - [Display Help Message and Version](#display-help-message-and-version) + - [Command-specific Options](#command-specific-options) + - [Dash in option names](#dash-in-option-names) + - [Brackets](#brackets) + - [Negated Options](#negated-options) + - [Variadic Arguments](#variadic-arguments) + - [Dot-nested Options](#dot-nested-options) + - [Default Command](#default-command) + - [Supply an array as option value](#supply-an-array-as-option-value) + - [Error Handling](#error-handling) + - [With TypeScript](#with-typescript) + - [With Deno](#with-deno) +- [Projects Using CAC](#projects-using-cac) +- [References](#references) + - [CLI Instance](#cli-instance) + - [cac(name?)](#cacname) + - [cli.command(name, description, config?)](#clicommandname-description-config) + - [cli.option(name, description, config?)](#clioptionname-description-config) + - [cli.parse(argv?)](#cliparseargv) + - [cli.version(version, customFlags?)](#cliversionversion-customflags) + - [cli.help(callback?)](#clihelpcallback) + - [cli.outputHelp()](#clioutputhelp) + - [cli.usage(text)](#cliusagetext) + - [Command Instance](#command-instance) + - [command.option()](#commandoption) + - [command.action(callback)](#commandactioncallback) + - [command.alias(name)](#commandaliasname) + - [command.allowUnknownOptions()](#commandallowunknownoptions) + - [command.example(example)](#commandexampleexample) + - [command.usage(text)](#commandusagetext) + - [Events](#events) +- [FAQ](#faq) + - [How is the name written and pronounced?](#how-is-the-name-written-and-pronounced) + - [Why not use Commander.js?](#why-not-use-commanderjs) +- [Project Stats](#project-stats) +- [Contributing](#contributing) +- [Author](#author) + + + +## Install + +```bash +yarn add cac +``` + +## Usage + +### Simple Parsing + +Use CAC as simple argument parser: + +```js +// examples/basic-usage.js +const cli = require('cac')() + +cli.option('--type ', 'Choose a project type', { + default: 'node', +}) + +const parsed = cli.parse() + +console.log(JSON.stringify(parsed, null, 2)) +``` + +2018-11-26 12 28 03 + +### Display Help Message and Version + +```js +// examples/help.js +const cli = require('cac')() + +cli.option('--type [type]', 'Choose a project type', { + default: 'node', +}) +cli.option('--name ', 'Provide your name') + +cli.command('lint [...files]', 'Lint files').action((files, options) => { + console.log(files, options) +}) + +// Display help message when `-h` or `--help` appears +cli.help() +// Display version number when `-v` or `--version` appears +// It's also used in help message +cli.version('0.0.0') + +cli.parse() +``` + +2018-11-25 8 21 14 + +### Command-specific Options + +You can attach options to a command. + +```js +const cli = require('cac')() + +cli + .command('rm ', 'Remove a dir') + .option('-r, --recursive', 'Remove recursively') + .action((dir, options) => { + console.log('remove ' + dir + (options.recursive ? ' recursively' : '')) + }) + +cli.help() + +cli.parse() +``` + +A command's options are validated when the command is used. Any unknown options will be reported as an error. However, if an action-based command does not define an action, then the options are not validated. If you really want to use unknown options, use [`command.allowUnknownOptions`](#commandallowunknownoptions). + +command options + +### Dash in option names + +Options in kebab-case should be referenced in camelCase in your code: + +```js +cli + .command('dev', 'Start dev server') + .option('--clear-screen', 'Clear screen') + .action((options) => { + console.log(options.clearScreen) + }) +``` + +In fact `--clear-screen` and `--clearScreen` are both mapped to `options.clearScreen`. + +### Brackets + +When using brackets in command name, angled brackets indicate required command arguments, while square bracket indicate optional arguments. + +When using brackets in option name, angled brackets indicate that a string / number value is required, while square bracket indicate that the value can also be `true`. + +```js +const cli = require('cac')() + +cli + .command('deploy ', 'Deploy a folder to AWS') + .option('--scale [level]', 'Scaling level') + .action((folder, options) => { + // ... + }) + +cli + .command('build [project]', 'Build a project') + .option('--out ', 'Output directory') + .action((folder, options) => { + // ... + }) + +cli.parse() +``` + +### Negated Options + +To allow an option whose value is `false`, you need to manually specify a negated option: + +```js +cli + .command('build [project]', 'Build a project') + .option('--no-config', 'Disable config file') + .option('--config ', 'Use a custom config file') +``` + +This will let CAC set the default value of `config` to true, and you can use `--no-config` flag to set it to `false`. + +### Variadic Arguments + +The last argument of a command can be variadic, and only the last argument. To make an argument variadic you have to add `...` to the start of argument name, just like the rest operator in JavaScript. Here is an example: + +```js +const cli = require('cac')() + +cli + .command('build [...otherFiles]', 'Build your app') + .option('--foo', 'Foo option') + .action((entry, otherFiles, options) => { + console.log(entry) + console.log(otherFiles) + console.log(options) + }) + +cli.help() + +cli.parse() +``` + +2018-11-25 8 25 30 + +### Dot-nested Options + +Dot-nested options will be merged into a single option. + +```js +const cli = require('cac')() + +cli + .command('build', 'desc') + .option('--env ', 'Set envs') + .example('--env.API_SECRET xxx') + .action((options) => { + console.log(options) + }) + +cli.help() + +cli.parse() +``` + +2018-11-25 9 37 53 + +### Default Command + +Register a command that will be used when no other command is matched. + +```js +const cli = require('cac')() + +cli + // Simply omit the command name, just brackets + .command('[...files]', 'Build files') + .option('--minimize', 'Minimize output') + .action((files, options) => { + console.log(files) + console.log(options.minimize) + }) + +cli.parse() +``` + +### Supply an array as option value + +```bash +node cli.js --include project-a +# The parsed options will be: +# { include: 'project-a' } + +node cli.js --include project-a --include project-b +# The parsed options will be: +# { include: ['project-a', 'project-b'] } +``` + +### Error Handling + +To handle command errors globally: + +```js +try { + // Parse CLI args without running the command + cli.parse(process.argv, { run: false }) + // Run the command yourself + // You only need `await` when your command action returns a Promise + await cli.runMatchedCommand() +} catch (error) { + // Handle error here.. + // e.g. + // console.error(error.stack) + // process.exit(1) +} +``` + +### With TypeScript + +First you need `@types/node` to be installed as a dev dependency in your project: + +```bash +yarn add @types/node --dev +``` + +Then everything just works out of the box: + +```js +const { cac } = require('cac') +// OR ES modules +import { cac } from 'cac' +``` + +### With Deno + +```ts +import { cac } from 'https://unpkg.com/cac/mod.ts' + +const cli = cac('my-program') +``` + +## Projects Using CAC + +Projects that use **CAC**: + +- [VuePress](https://github.com/vuejs/vuepress): :memo: Minimalistic Vue-powered static site generator. +- [SAO](https://github.com/egoist/sao): ⚔️ Futuristic scaffolding tool. +- [DocPad](https://github.com/docpad/docpad): 🏹 Powerful Static Site Generator. +- [Poi](https://github.com/egoist/poi): ⚡️ Delightful web development. +- [bili](https://github.com/egoist/bili): 🥂 Schweizer Armeemesser for bundling JavaScript libraries. +- [Lad](https://github.com/ladjs/lad): 👦 Lad scaffolds a Koa webapp and API framework for Node.js. +- [Lass](https://github.com/lassjs/lass): 💁🏻 Scaffold a modern package boilerplate for Node.js. +- [Foy](https://github.com/zaaack/foy): 🏗 A lightweight and modern task runner and build tool for general purpose. +- [Vuese](https://github.com/vuese/vuese): 🤗 One-stop solution for vue component documentation. +- [NUT](https://github.com/nut-project/nut): 🌰 A framework born for microfrontends +- Feel free to add yours here... + +## References + +**💁 Check out [the generated docs](https://cac-api-doc.egoist.sh/classes/_cac_.cac.html) from source code if you want a more in-depth API references.** + +Below is a brief overview. + +### CLI Instance + +CLI instance is created by invoking the `cac` function: + +```js +const cac = require('cac') +const cli = cac() +``` + +#### cac(name?) + +Create a CLI instance, optionally specify the program name which will be used to display in help and version message. When not set we use the basename of `argv[1]`. + +#### cli.command(name, description, config?) + +- Type: `(name: string, description: string) => Command` + +Create a command instance. + +The option also accepts a third argument `config` for additional command config: + +- `config.allowUnknownOptions`: `boolean` Allow unknown options in this command. +- `config.ignoreOptionDefaultValue`: `boolean` Don't use the options's default value in parsed options, only display them in help message. + +#### cli.option(name, description, config?) + +- Type: `(name: string, description: string, config?: OptionConfig) => CLI` + +Add a global option. + +The option also accepts a third argument `config` for additional option config: + +- `config.default`: Default value for the option. +- `config.type`: `any[]` When set to `[]`, the option value returns an array type. You can also use a conversion function such as `[String]`, which will invoke the option value with `String`. + +#### cli.parse(argv?) + +- Type: `(argv = process.argv) => ParsedArgv` + +```ts +interface ParsedArgv { + args: string[] + options: { + [k: string]: any + } +} +``` + +When this method is called, `cli.rawArgs` `cli.args` `cli.options` `cli.matchedCommand` will also be available. + +#### cli.version(version, customFlags?) + +- Type: `(version: string, customFlags = '-v, --version') => CLI` + +Output version number when `-v, --version` flag appears. + +#### cli.help(callback?) + +- Type: `(callback?: HelpCallback) => CLI` + +Output help message when `-h, --help` flag appears. + +Optional `callback` allows post-processing of help text before it is displayed: + +```ts +type HelpCallback = (sections: HelpSection[]) => void + +interface HelpSection { + title?: string + body: string +} +``` + +#### cli.outputHelp() + +- Type: `() => CLI` + +Output help message. + +#### cli.usage(text) + +- Type: `(text: string) => CLI` + +Add a global usage text. This is not used by sub-commands. + +### Command Instance + +Command instance is created by invoking the `cli.command` method: + +```js +const command = cli.command('build [...files]', 'Build given files') +``` + +#### command.option() + +Basically the same as `cli.option` but this adds the option to specific command. + +#### command.action(callback) + +- Type: `(callback: ActionCallback) => Command` + +Use a callback function as the command action when the command matches user inputs. + +```ts +type ActionCallback = ( + // Parsed CLI args + // The last arg will be an array if it's a variadic argument + ...args: string | string[] | number | number[] + // Parsed CLI options + options: Options +) => any + +interface Options { + [k: string]: any +} +``` + +#### command.alias(name) + +- Type: `(name: string) => Command` + +Add an alias name to this command, the `name` here can't contain brackets. + +#### command.allowUnknownOptions() + +- Type: `() => Command` + +Allow unknown options in this command, by default CAC will log an error when unknown options are used. + +#### command.example(example) + +- Type: `(example: CommandExample) => Command` + +Add an example which will be displayed at the end of help message. + +```ts +type CommandExample = ((name: string) => string) | string +``` + +#### command.usage(text) + +- Type: `(text: string) => Command` + +Add a usage text for this command. + +### Events + +Listen to commands: + +```js +// Listen to the `foo` command +cli.on('command:foo', () => { + // Do something +}) + +// Listen to the default command +cli.on('command:!', () => { + // Do something +}) + +// Listen to unknown commands +cli.on('command:*', () => { + console.error('Invalid command: %s', cli.args.join(' ')) + process.exit(1) +}) +``` + +## FAQ + +### How is the name written and pronounced? + +CAC, or cac, pronounced `C-A-C`. + +This project is dedicated to our lovely C.C. sama. Maybe CAC stands for C&C as well :P + + + +### Why not use Commander.js? + +CAC is very similar to Commander.js, while the latter does not support dot nested options, i.e. something like `--env.API_SECRET foo`. Besides, you can't use unknown options in Commander.js either. + +_And maybe more..._ + +Basically I made CAC to fulfill my own needs for building CLI apps like [Poi](https://poi.js.org), [SAO](https://sao.vercel.app) and all my CLI apps. It's small, simple but powerful :P + +## Project Stats + +![Alt](https://repobeats.axiom.co/api/embed/58caf6203631bcdb9bbe22f0728a0af1683dc0bb.svg 'Repobeats analytics image') + +## Contributing + +1. Fork it! +2. Create your feature branch: `git checkout -b my-new-feature` +3. Commit your changes: `git commit -am 'Add some feature'` +4. Push to the branch: `git push origin my-new-feature` +5. Submit a pull request :D + +## Author + +**CAC** © [EGOIST](https://github.com/egoist), Released under the [MIT](./LICENSE) License.
+Authored and maintained by egoist with help from contributors ([list](https://github.com/cacjs/cac/contributors)). + +> [Website](https://egoist.sh) · GitHub [@egoist](https://github.com/egoist) · Twitter [@\_egoistlily](https://twitter.com/_egoistlily) diff --git a/tools/ui/node_modules/cac/deno/CAC.ts b/tools/ui/node_modules/cac/deno/CAC.ts new file mode 100644 index 0000000000000000000000000000000000000000..0ced3b1f69b8c7422b6b1acb4eff1144a9e68a42 --- /dev/null +++ b/tools/ui/node_modules/cac/deno/CAC.ts @@ -0,0 +1,331 @@ +import { EventEmitter } from "https://deno.land/std@0.114.0/node/events.ts"; +import mri from "https://cdn.skypack.dev/mri"; +import Command, { GlobalCommand, CommandConfig, HelpCallback, CommandExample } from "./Command.ts"; +import { OptionConfig } from "./Option.ts"; +import { getMriOptions, setDotProp, setByType, getFileName, camelcaseOptionName } from "./utils.ts"; +import { processArgs } from "./deno.ts"; +interface ParsedArgv { + args: ReadonlyArray; + options: { + [k: string]: any; + }; +} + +class CAC extends EventEmitter { + /** The program name to display in help and version message */ + name: string; + commands: Command[]; + globalCommand: GlobalCommand; + matchedCommand?: Command; + matchedCommandName?: string; + /** + * Raw CLI arguments + */ + + rawArgs: string[]; + /** + * Parsed CLI arguments + */ + + args: ParsedArgv['args']; + /** + * Parsed CLI options, camelCased + */ + + options: ParsedArgv['options']; + showHelpOnExit?: boolean; + showVersionOnExit?: boolean; + /** + * @param name The program name to display in help and version message + */ + + constructor(name = '') { + super(); + this.name = name; + this.commands = []; + this.rawArgs = []; + this.args = []; + this.options = {}; + this.globalCommand = new GlobalCommand(this); + this.globalCommand.usage(' [options]'); + } + /** + * Add a global usage text. + * + * This is not used by sub-commands. + */ + + + usage(text: string) { + this.globalCommand.usage(text); + return this; + } + /** + * Add a sub-command + */ + + + command(rawName: string, description?: string, config?: CommandConfig) { + const command = new Command(rawName, description || '', config, this); + command.globalCommand = this.globalCommand; + this.commands.push(command); + return command; + } + /** + * Add a global CLI option. + * + * Which is also applied to sub-commands. + */ + + + option(rawName: string, description: string, config?: OptionConfig) { + this.globalCommand.option(rawName, description, config); + return this; + } + /** + * Show help message when `-h, --help` flags appear. + * + */ + + + help(callback?: HelpCallback) { + this.globalCommand.option('-h, --help', 'Display this message'); + this.globalCommand.helpCallback = callback; + this.showHelpOnExit = true; + return this; + } + /** + * Show version number when `-v, --version` flags appear. + * + */ + + + version(version: string, customFlags = '-v, --version') { + this.globalCommand.version(version, customFlags); + this.showVersionOnExit = true; + return this; + } + /** + * Add a global example. + * + * This example added here will not be used by sub-commands. + */ + + + example(example: CommandExample) { + this.globalCommand.example(example); + return this; + } + /** + * Output the corresponding help message + * When a sub-command is matched, output the help message for the command + * Otherwise output the global one. + * + */ + + + outputHelp() { + if (this.matchedCommand) { + this.matchedCommand.outputHelp(); + } else { + this.globalCommand.outputHelp(); + } + } + /** + * Output the version number. + * + */ + + + outputVersion() { + this.globalCommand.outputVersion(); + } + + private setParsedInfo({ + args, + options + }: ParsedArgv, matchedCommand?: Command, matchedCommandName?: string) { + this.args = args; + this.options = options; + + if (matchedCommand) { + this.matchedCommand = matchedCommand; + } + + if (matchedCommandName) { + this.matchedCommandName = matchedCommandName; + } + + return this; + } + + unsetMatchedCommand() { + this.matchedCommand = undefined; + this.matchedCommandName = undefined; + } + /** + * Parse argv + */ + + + parse(argv = processArgs, { + /** Whether to run the action for matched command */ + run = true + } = {}): ParsedArgv { + this.rawArgs = argv; + + if (!this.name) { + this.name = argv[1] ? getFileName(argv[1]) : 'cli'; + } + + let shouldParse = true; // Search sub-commands + + for (const command of this.commands) { + const parsed = this.mri(argv.slice(2), command); + const commandName = parsed.args[0]; + + if (command.isMatched(commandName)) { + shouldParse = false; + const parsedInfo = { ...parsed, + args: parsed.args.slice(1) + }; + this.setParsedInfo(parsedInfo, command, commandName); + this.emit(`command:${commandName}`, command); + } + } + + if (shouldParse) { + // Search the default command + for (const command of this.commands) { + if (command.name === '') { + shouldParse = false; + const parsed = this.mri(argv.slice(2), command); + this.setParsedInfo(parsed, command); + this.emit(`command:!`, command); + } + } + } + + if (shouldParse) { + const parsed = this.mri(argv.slice(2)); + this.setParsedInfo(parsed); + } + + if (this.options.help && this.showHelpOnExit) { + this.outputHelp(); + run = false; + this.unsetMatchedCommand(); + } + + if (this.options.version && this.showVersionOnExit && this.matchedCommandName == null) { + this.outputVersion(); + run = false; + this.unsetMatchedCommand(); + } + + const parsedArgv = { + args: this.args, + options: this.options + }; + + if (run) { + this.runMatchedCommand(); + } + + if (!this.matchedCommand && this.args[0]) { + this.emit('command:*'); + } + + return parsedArgv; + } + + private mri(argv: string[], + /** Matched command */ + command?: Command): ParsedArgv { + // All added options + const cliOptions = [...this.globalCommand.options, ...(command ? command.options : [])]; + const mriOptions = getMriOptions(cliOptions); // Extract everything after `--` since mri doesn't support it + + let argsAfterDoubleDashes: string[] = []; + const doubleDashesIndex = argv.indexOf('--'); + + if (doubleDashesIndex > -1) { + argsAfterDoubleDashes = argv.slice(doubleDashesIndex + 1); + argv = argv.slice(0, doubleDashesIndex); + } + + let parsed = mri(argv, mriOptions); + parsed = Object.keys(parsed).reduce((res, name) => { + return { ...res, + [camelcaseOptionName(name)]: parsed[name] + }; + }, { + _: [] + }); + const args = parsed._; + const options: { + [k: string]: any; + } = { + '--': argsAfterDoubleDashes + }; // Set option default value + + const ignoreDefault = command && command.config.ignoreOptionDefaultValue ? command.config.ignoreOptionDefaultValue : this.globalCommand.config.ignoreOptionDefaultValue; + let transforms = Object.create(null); + + for (const cliOption of cliOptions) { + if (!ignoreDefault && cliOption.config.default !== undefined) { + for (const name of cliOption.names) { + options[name] = cliOption.config.default; + } + } // If options type is defined + + + if (Array.isArray(cliOption.config.type)) { + if (transforms[cliOption.name] === undefined) { + transforms[cliOption.name] = Object.create(null); + transforms[cliOption.name]['shouldTransform'] = true; + transforms[cliOption.name]['transformFunction'] = cliOption.config.type[0]; + } + } + } // Set option values (support dot-nested property name) + + + for (const key of Object.keys(parsed)) { + if (key !== '_') { + const keys = key.split('.'); + setDotProp(options, keys, parsed[key]); + setByType(options, transforms); + } + } + + return { + args, + options + }; + } + + runMatchedCommand() { + const { + args, + options, + matchedCommand: command + } = this; + if (!command || !command.commandAction) return; + command.checkUnknownOptions(); + command.checkOptionValue(); + command.checkRequiredArgs(); + const actionArgs: any[] = []; + command.args.forEach((arg, index) => { + if (arg.variadic) { + actionArgs.push(args.slice(index)); + } else { + actionArgs.push(args[index]); + } + }); + actionArgs.push(options); + return command.commandAction.apply(this, actionArgs); + } + +} + +export default CAC; \ No newline at end of file diff --git a/tools/ui/node_modules/cac/deno/Command.ts b/tools/ui/node_modules/cac/deno/Command.ts new file mode 100644 index 0000000000000000000000000000000000000000..3fd04a058a5d7ef12c941f86dcf087bf8ffc14dc --- /dev/null +++ b/tools/ui/node_modules/cac/deno/Command.ts @@ -0,0 +1,269 @@ +import CAC from "./CAC.ts"; +import Option, { OptionConfig } from "./Option.ts"; +import { removeBrackets, findAllBrackets, findLongest, padRight, CACError } from "./utils.ts"; +import { platformInfo } from "./deno.ts"; +interface CommandArg { + required: boolean; + value: string; + variadic: boolean; +} +interface HelpSection { + title?: string; + body: string; +} +interface CommandConfig { + allowUnknownOptions?: boolean; + ignoreOptionDefaultValue?: boolean; +} +type HelpCallback = (sections: HelpSection[]) => void | HelpSection[]; +type CommandExample = ((bin: string) => string) | string; + +class Command { + options: Option[]; + aliasNames: string[]; + /* Parsed command name */ + + name: string; + args: CommandArg[]; + commandAction?: (...args: any[]) => any; + usageText?: string; + versionNumber?: string; + examples: CommandExample[]; + helpCallback?: HelpCallback; + globalCommand?: GlobalCommand; + + constructor(public rawName: string, public description: string, public config: CommandConfig = {}, public cli: CAC) { + this.options = []; + this.aliasNames = []; + this.name = removeBrackets(rawName); + this.args = findAllBrackets(rawName); + this.examples = []; + } + + usage(text: string) { + this.usageText = text; + return this; + } + + allowUnknownOptions() { + this.config.allowUnknownOptions = true; + return this; + } + + ignoreOptionDefaultValue() { + this.config.ignoreOptionDefaultValue = true; + return this; + } + + version(version: string, customFlags = '-v, --version') { + this.versionNumber = version; + this.option(customFlags, 'Display version number'); + return this; + } + + example(example: CommandExample) { + this.examples.push(example); + return this; + } + /** + * Add a option for this command + * @param rawName Raw option name(s) + * @param description Option description + * @param config Option config + */ + + + option(rawName: string, description: string, config?: OptionConfig) { + const option = new Option(rawName, description, config); + this.options.push(option); + return this; + } + + alias(name: string) { + this.aliasNames.push(name); + return this; + } + + action(callback: (...args: any[]) => any) { + this.commandAction = callback; + return this; + } + /** + * Check if a command name is matched by this command + * @param name Command name + */ + + + isMatched(name: string) { + return this.name === name || this.aliasNames.includes(name); + } + + get isDefaultCommand() { + return this.name === '' || this.aliasNames.includes('!'); + } + + get isGlobalCommand(): boolean { + return this instanceof GlobalCommand; + } + /** + * Check if an option is registered in this command + * @param name Option name + */ + + + hasOption(name: string) { + name = name.split('.')[0]; + return this.options.find(option => { + return option.names.includes(name); + }); + } + + outputHelp() { + const { + name, + commands + } = this.cli; + const { + versionNumber, + options: globalOptions, + helpCallback + } = this.cli.globalCommand; + let sections: HelpSection[] = [{ + body: `${name}${versionNumber ? `/${versionNumber}` : ''}` + }]; + sections.push({ + title: 'Usage', + body: ` $ ${name} ${this.usageText || this.rawName}` + }); + const showCommands = (this.isGlobalCommand || this.isDefaultCommand) && commands.length > 0; + + if (showCommands) { + const longestCommandName = findLongest(commands.map(command => command.rawName)); + sections.push({ + title: 'Commands', + body: commands.map(command => { + return ` ${padRight(command.rawName, longestCommandName.length)} ${command.description}`; + }).join('\n') + }); + sections.push({ + title: `For more info, run any command with the \`--help\` flag`, + body: commands.map(command => ` $ ${name}${command.name === '' ? '' : ` ${command.name}`} --help`).join('\n') + }); + } + + let options = this.isGlobalCommand ? globalOptions : [...this.options, ...(globalOptions || [])]; + + if (!this.isGlobalCommand && !this.isDefaultCommand) { + options = options.filter(option => option.name !== 'version'); + } + + if (options.length > 0) { + const longestOptionName = findLongest(options.map(option => option.rawName)); + sections.push({ + title: 'Options', + body: options.map(option => { + return ` ${padRight(option.rawName, longestOptionName.length)} ${option.description} ${option.config.default === undefined ? '' : `(default: ${option.config.default})`}`; + }).join('\n') + }); + } + + if (this.examples.length > 0) { + sections.push({ + title: 'Examples', + body: this.examples.map(example => { + if (typeof example === 'function') { + return example(name); + } + + return example; + }).join('\n') + }); + } + + if (helpCallback) { + sections = helpCallback(sections) || sections; + } + + console.log(sections.map(section => { + return section.title ? `${section.title}:\n${section.body}` : section.body; + }).join('\n\n')); + } + + outputVersion() { + const { + name + } = this.cli; + const { + versionNumber + } = this.cli.globalCommand; + + if (versionNumber) { + console.log(`${name}/${versionNumber} ${platformInfo}`); + } + } + + checkRequiredArgs() { + const minimalArgsCount = this.args.filter(arg => arg.required).length; + + if (this.cli.args.length < minimalArgsCount) { + throw new CACError(`missing required args for command \`${this.rawName}\``); + } + } + /** + * Check if the parsed options contain any unknown options + * + * Exit and output error when true + */ + + + checkUnknownOptions() { + const { + options, + globalCommand + } = this.cli; + + if (!this.config.allowUnknownOptions) { + for (const name of Object.keys(options)) { + if (name !== '--' && !this.hasOption(name) && !globalCommand.hasOption(name)) { + throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``); + } + } + } + } + /** + * Check if the required string-type options exist + */ + + + checkOptionValue() { + const { + options: parsedOptions, + globalCommand + } = this.cli; + const options = [...globalCommand.options, ...this.options]; + + for (const option of options) { + const value = parsedOptions[option.name.split('.')[0]]; // Check required option value + + if (option.required) { + const hasNegated = options.some(o => o.negated && o.names.includes(option.name)); + + if (value === true || value === false && !hasNegated) { + throw new CACError(`option \`${option.rawName}\` value is missing`); + } + } + } + } + +} + +class GlobalCommand extends Command { + constructor(cli: CAC) { + super('@@global@@', '', {}, cli); + } + +} + +export type { HelpCallback, CommandExample, CommandConfig }; +export { GlobalCommand }; +export default Command; \ No newline at end of file diff --git a/tools/ui/node_modules/cac/deno/Option.ts b/tools/ui/node_modules/cac/deno/Option.ts new file mode 100644 index 0000000000000000000000000000000000000000..ee7ed2d834dca8a57144d57d10e0ddd1920cc26d --- /dev/null +++ b/tools/ui/node_modules/cac/deno/Option.ts @@ -0,0 +1,52 @@ +import { removeBrackets, camelcaseOptionName } from "./utils.ts"; +interface OptionConfig { + default?: any; + type?: any[]; +} +export default class Option { + /** Option name */ + name: string; + /** Option name and aliases */ + + names: string[]; + isBoolean?: boolean; // `required` will be a boolean for options with brackets + + required?: boolean; + config: OptionConfig; + negated: boolean; + + constructor(public rawName: string, public description: string, config?: OptionConfig) { + this.config = Object.assign({}, config); // You may use cli.option('--env.* [value]', 'desc') to denote a dot-nested option + + rawName = rawName.replace(/\.\*/g, ''); + this.negated = false; + this.names = removeBrackets(rawName).split(',').map((v: string) => { + let name = v.trim().replace(/^-{1,2}/, ''); + + if (name.startsWith('no-')) { + this.negated = true; + name = name.replace(/^no-/, ''); + } + + return camelcaseOptionName(name); + }).sort((a, b) => a.length > b.length ? 1 : -1); // Sort names + // Use the longest name (last one) as actual option name + + this.name = this.names[this.names.length - 1]; + + if (this.negated && this.config.default == null) { + this.config.default = true; + } + + if (rawName.includes('<')) { + this.required = true; + } else if (rawName.includes('[')) { + this.required = false; + } else { + // No arg needed, it's boolean flag + this.isBoolean = true; + } + } + +} +export type { OptionConfig }; \ No newline at end of file diff --git a/tools/ui/node_modules/cac/deno/deno.ts b/tools/ui/node_modules/cac/deno/deno.ts new file mode 100644 index 0000000000000000000000000000000000000000..2f8e7d9b9af5472fa009cf0482fe49bde83b13fb --- /dev/null +++ b/tools/ui/node_modules/cac/deno/deno.ts @@ -0,0 +1,4 @@ +// Ignore the TypeScript errors +// Since this file will only be used in Deno runtime +export const processArgs = ['deno', 'cli'].concat(Deno.args); +export const platformInfo = `${Deno.build.os}-${Deno.build.arch} deno-${Deno.version.deno}`; \ No newline at end of file diff --git a/tools/ui/node_modules/cac/deno/index.ts b/tools/ui/node_modules/cac/deno/index.ts new file mode 100644 index 0000000000000000000000000000000000000000..55aa29b7db3ed129aca119177bbe3d520d2eabb4 --- /dev/null +++ b/tools/ui/node_modules/cac/deno/index.ts @@ -0,0 +1,10 @@ +import CAC from "./CAC.ts"; +import Command from "./Command.ts"; +/** + * @param name The program name to display in help and version message + */ + +const cac = (name = '') => new CAC(name); + +export default cac; +export { cac, CAC, Command }; \ No newline at end of file diff --git a/tools/ui/node_modules/cac/deno/utils.ts b/tools/ui/node_modules/cac/deno/utils.ts new file mode 100644 index 0000000000000000000000000000000000000000..d75847b5aa677dc173692596629932bd7fc3aad4 --- /dev/null +++ b/tools/ui/node_modules/cac/deno/utils.ts @@ -0,0 +1,145 @@ +import Option from "./Option.ts"; +export const removeBrackets = (v: string) => v.replace(/[<[].+/, '').trim(); +export const findAllBrackets = (v: string) => { + const ANGLED_BRACKET_RE_GLOBAL = /<([^>]+)>/g; + const SQUARE_BRACKET_RE_GLOBAL = /\[([^\]]+)\]/g; + const res = []; + + const parse = (match: string[]) => { + let variadic = false; + let value = match[1]; + + if (value.startsWith('...')) { + value = value.slice(3); + variadic = true; + } + + return { + required: match[0].startsWith('<'), + value, + variadic + }; + }; + + let angledMatch; + + while (angledMatch = ANGLED_BRACKET_RE_GLOBAL.exec(v)) { + res.push(parse(angledMatch)); + } + + let squareMatch; + + while (squareMatch = SQUARE_BRACKET_RE_GLOBAL.exec(v)) { + res.push(parse(squareMatch)); + } + + return res; +}; +interface MriOptions { + alias: { + [k: string]: string[]; + }; + boolean: string[]; +} +export const getMriOptions = (options: Option[]) => { + const result: MriOptions = { + alias: {}, + boolean: [] + }; + + for (const [index, option] of options.entries()) { + // We do not set default values in mri options + // Since its type (typeof) will be used to cast parsed arguments. + // Which mean `--foo foo` will be parsed as `{foo: true}` if we have `{default:{foo: true}}` + // Set alias + if (option.names.length > 1) { + result.alias[option.names[0]] = option.names.slice(1); + } // Set boolean + + + if (option.isBoolean) { + if (option.negated) { + // For negated option + // We only set it to `boolean` type when there's no string-type option with the same name + const hasStringTypeOption = options.some((o, i) => { + return i !== index && o.names.some(name => option.names.includes(name)) && typeof o.required === 'boolean'; + }); + + if (!hasStringTypeOption) { + result.boolean.push(option.names[0]); + } + } else { + result.boolean.push(option.names[0]); + } + } + } + + return result; +}; +export const findLongest = (arr: string[]) => { + return arr.sort((a, b) => { + return a.length > b.length ? -1 : 1; + })[0]; +}; +export const padRight = (str: string, length: number) => { + return str.length >= length ? str : `${str}${' '.repeat(length - str.length)}`; +}; +export const camelcase = (input: string) => { + return input.replace(/([a-z])-([a-z])/g, (_, p1, p2) => { + return p1 + p2.toUpperCase(); + }); +}; +export const setDotProp = (obj: { + [k: string]: any; +}, keys: string[], val: any) => { + let i = 0; + let length = keys.length; + let t = obj; + let x; + + for (; i < length; ++i) { + x = t[keys[i]]; + t = t[keys[i]] = i === length - 1 ? val : x != null ? x : !!~keys[i + 1].indexOf('.') || !(+keys[i + 1] > -1) ? {} : []; + } +}; +export const setByType = (obj: { + [k: string]: any; +}, transforms: { + [k: string]: any; +}) => { + for (const key of Object.keys(transforms)) { + const transform = transforms[key]; + + if (transform.shouldTransform) { + obj[key] = Array.prototype.concat.call([], obj[key]); + + if (typeof transform.transformFunction === 'function') { + obj[key] = obj[key].map(transform.transformFunction); + } + } + } +}; +export const getFileName = (input: string) => { + const m = /([^\\\/]+)$/.exec(input); + return m ? m[1] : ''; +}; +export const camelcaseOptionName = (name: string) => { + // Camelcase the option name + // Don't camelcase anything after the dot `.` + return name.split('.').map((v, i) => { + return i === 0 ? camelcase(v) : v; + }).join('.'); +}; +export class CACError extends Error { + constructor(message: string) { + super(message); + this.name = this.constructor.name; + + if (typeof Error.captureStackTrace === 'function') { + Error.captureStackTrace(this, this.constructor); + } else { + this.stack = new Error(message).stack; + } + } + +} \ No newline at end of file diff --git a/tools/ui/node_modules/cac/dist/index.d.ts b/tools/ui/node_modules/cac/dist/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..84dcb6642e6633419d94a81f5764f90d10273cfc --- /dev/null +++ b/tools/ui/node_modules/cac/dist/index.d.ts @@ -0,0 +1,191 @@ +import { EventEmitter } from 'events'; + +interface OptionConfig { + default?: any; + type?: any[]; +} +declare class Option { + rawName: string; + description: string; + /** Option name */ + name: string; + /** Option name and aliases */ + names: string[]; + isBoolean?: boolean; + required?: boolean; + config: OptionConfig; + negated: boolean; + constructor(rawName: string, description: string, config?: OptionConfig); +} + +interface CommandArg { + required: boolean; + value: string; + variadic: boolean; +} +interface HelpSection { + title?: string; + body: string; +} +interface CommandConfig { + allowUnknownOptions?: boolean; + ignoreOptionDefaultValue?: boolean; +} +declare type HelpCallback = (sections: HelpSection[]) => void | HelpSection[]; +declare type CommandExample = ((bin: string) => string) | string; +declare class Command { + rawName: string; + description: string; + config: CommandConfig; + cli: CAC; + options: Option[]; + aliasNames: string[]; + name: string; + args: CommandArg[]; + commandAction?: (...args: any[]) => any; + usageText?: string; + versionNumber?: string; + examples: CommandExample[]; + helpCallback?: HelpCallback; + globalCommand?: GlobalCommand; + constructor(rawName: string, description: string, config: CommandConfig, cli: CAC); + usage(text: string): this; + allowUnknownOptions(): this; + ignoreOptionDefaultValue(): this; + version(version: string, customFlags?: string): this; + example(example: CommandExample): this; + /** + * Add a option for this command + * @param rawName Raw option name(s) + * @param description Option description + * @param config Option config + */ + option(rawName: string, description: string, config?: OptionConfig): this; + alias(name: string): this; + action(callback: (...args: any[]) => any): this; + /** + * Check if a command name is matched by this command + * @param name Command name + */ + isMatched(name: string): boolean; + get isDefaultCommand(): boolean; + get isGlobalCommand(): boolean; + /** + * Check if an option is registered in this command + * @param name Option name + */ + hasOption(name: string): Option | undefined; + outputHelp(): void; + outputVersion(): void; + checkRequiredArgs(): void; + /** + * Check if the parsed options contain any unknown options + * + * Exit and output error when true + */ + checkUnknownOptions(): void; + /** + * Check if the required string-type options exist + */ + checkOptionValue(): void; +} +declare class GlobalCommand extends Command { + constructor(cli: CAC); +} + +interface ParsedArgv { + args: ReadonlyArray; + options: { + [k: string]: any; + }; +} +declare class CAC extends EventEmitter { + /** The program name to display in help and version message */ + name: string; + commands: Command[]; + globalCommand: GlobalCommand; + matchedCommand?: Command; + matchedCommandName?: string; + /** + * Raw CLI arguments + */ + rawArgs: string[]; + /** + * Parsed CLI arguments + */ + args: ParsedArgv['args']; + /** + * Parsed CLI options, camelCased + */ + options: ParsedArgv['options']; + showHelpOnExit?: boolean; + showVersionOnExit?: boolean; + /** + * @param name The program name to display in help and version message + */ + constructor(name?: string); + /** + * Add a global usage text. + * + * This is not used by sub-commands. + */ + usage(text: string): this; + /** + * Add a sub-command + */ + command(rawName: string, description?: string, config?: CommandConfig): Command; + /** + * Add a global CLI option. + * + * Which is also applied to sub-commands. + */ + option(rawName: string, description: string, config?: OptionConfig): this; + /** + * Show help message when `-h, --help` flags appear. + * + */ + help(callback?: HelpCallback): this; + /** + * Show version number when `-v, --version` flags appear. + * + */ + version(version: string, customFlags?: string): this; + /** + * Add a global example. + * + * This example added here will not be used by sub-commands. + */ + example(example: CommandExample): this; + /** + * Output the corresponding help message + * When a sub-command is matched, output the help message for the command + * Otherwise output the global one. + * + */ + outputHelp(): void; + /** + * Output the version number. + * + */ + outputVersion(): void; + private setParsedInfo; + unsetMatchedCommand(): void; + /** + * Parse argv + */ + parse(argv?: string[], { + /** Whether to run the action for matched command */ + run, }?: { + run?: boolean | undefined; + }): ParsedArgv; + private mri; + runMatchedCommand(): any; +} + +/** + * @param name The program name to display in help and version message + */ +declare const cac: (name?: string) => CAC; + +export default cac; +export { CAC, Command, cac }; diff --git a/tools/ui/node_modules/cac/dist/index.js b/tools/ui/node_modules/cac/dist/index.js new file mode 100644 index 0000000000000000000000000000000000000000..8582dbf62dcc4152a4a07a581c1cf19e4e7a4777 --- /dev/null +++ b/tools/ui/node_modules/cac/dist/index.js @@ -0,0 +1,623 @@ +'use strict'; + +Object.defineProperty(exports, '__esModule', { value: true }); + +var events = require('events'); + +function toArr(any) { + return any == null ? [] : Array.isArray(any) ? any : [any]; +} + +function toVal(out, key, val, opts) { + var x, old=out[key], nxt=( + !!~opts.string.indexOf(key) ? (val == null || val === true ? '' : String(val)) + : typeof val === 'boolean' ? val + : !!~opts.boolean.indexOf(key) ? (val === 'false' ? false : val === 'true' || (out._.push((x = +val,x * 0 === 0) ? x : val),!!val)) + : (x = +val,x * 0 === 0) ? x : val + ); + out[key] = old == null ? nxt : (Array.isArray(old) ? old.concat(nxt) : [old, nxt]); +} + +function mri2 (args, opts) { + args = args || []; + opts = opts || {}; + + var k, arr, arg, name, val, out={ _:[] }; + var i=0, j=0, idx=0, len=args.length; + + const alibi = opts.alias !== void 0; + const strict = opts.unknown !== void 0; + const defaults = opts.default !== void 0; + + opts.alias = opts.alias || {}; + opts.string = toArr(opts.string); + opts.boolean = toArr(opts.boolean); + + if (alibi) { + for (k in opts.alias) { + arr = opts.alias[k] = toArr(opts.alias[k]); + for (i=0; i < arr.length; i++) { + (opts.alias[arr[i]] = arr.concat(k)).splice(i, 1); + } + } + } + + for (i=opts.boolean.length; i-- > 0;) { + arr = opts.alias[opts.boolean[i]] || []; + for (j=arr.length; j-- > 0;) opts.boolean.push(arr[j]); + } + + for (i=opts.string.length; i-- > 0;) { + arr = opts.alias[opts.string[i]] || []; + for (j=arr.length; j-- > 0;) opts.string.push(arr[j]); + } + + if (defaults) { + for (k in opts.default) { + name = typeof opts.default[k]; + arr = opts.alias[k] = opts.alias[k] || []; + if (opts[name] !== void 0) { + opts[name].push(k); + for (i=0; i < arr.length; i++) { + opts[name].push(arr[i]); + } + } + } + } + + const keys = strict ? Object.keys(opts.alias) : []; + + for (i=0; i < len; i++) { + arg = args[i]; + + if (arg === '--') { + out._ = out._.concat(args.slice(++i)); + break; + } + + for (j=0; j < arg.length; j++) { + if (arg.charCodeAt(j) !== 45) break; // "-" + } + + if (j === 0) { + out._.push(arg); + } else if (arg.substring(j, j + 3) === 'no-') { + name = arg.substring(j + 3); + if (strict && !~keys.indexOf(name)) { + return opts.unknown(arg); + } + out[name] = false; + } else { + for (idx=j+1; idx < arg.length; idx++) { + if (arg.charCodeAt(idx) === 61) break; // "=" + } + + name = arg.substring(j, idx); + val = arg.substring(++idx) || (i+1 === len || (''+args[i+1]).charCodeAt(0) === 45 || args[++i]); + arr = (j === 2 ? [name] : name); + + for (idx=0; idx < arr.length; idx++) { + name = arr[idx]; + if (strict && !~keys.indexOf(name)) return opts.unknown('-'.repeat(j) + name); + toVal(out, name, (idx + 1 < arr.length) || val, opts); + } + } + } + + if (defaults) { + for (k in opts.default) { + if (out[k] === void 0) { + out[k] = opts.default[k]; + } + } + } + + if (alibi) { + for (k in out) { + arr = opts.alias[k] || []; + while (arr.length > 0) { + out[arr.shift()] = out[k]; + } + } + } + + return out; +} + +const removeBrackets = (v) => v.replace(/[<[].+/, "").trim(); +const findAllBrackets = (v) => { + const ANGLED_BRACKET_RE_GLOBAL = /<([^>]+)>/g; + const SQUARE_BRACKET_RE_GLOBAL = /\[([^\]]+)\]/g; + const res = []; + const parse = (match) => { + let variadic = false; + let value = match[1]; + if (value.startsWith("...")) { + value = value.slice(3); + variadic = true; + } + return { + required: match[0].startsWith("<"), + value, + variadic + }; + }; + let angledMatch; + while (angledMatch = ANGLED_BRACKET_RE_GLOBAL.exec(v)) { + res.push(parse(angledMatch)); + } + let squareMatch; + while (squareMatch = SQUARE_BRACKET_RE_GLOBAL.exec(v)) { + res.push(parse(squareMatch)); + } + return res; +}; +const getMriOptions = (options) => { + const result = {alias: {}, boolean: []}; + for (const [index, option] of options.entries()) { + if (option.names.length > 1) { + result.alias[option.names[0]] = option.names.slice(1); + } + if (option.isBoolean) { + if (option.negated) { + const hasStringTypeOption = options.some((o, i) => { + return i !== index && o.names.some((name) => option.names.includes(name)) && typeof o.required === "boolean"; + }); + if (!hasStringTypeOption) { + result.boolean.push(option.names[0]); + } + } else { + result.boolean.push(option.names[0]); + } + } + } + return result; +}; +const findLongest = (arr) => { + return arr.sort((a, b) => { + return a.length > b.length ? -1 : 1; + })[0]; +}; +const padRight = (str, length) => { + return str.length >= length ? str : `${str}${" ".repeat(length - str.length)}`; +}; +const camelcase = (input) => { + return input.replace(/([a-z])-([a-z])/g, (_, p1, p2) => { + return p1 + p2.toUpperCase(); + }); +}; +const setDotProp = (obj, keys, val) => { + let i = 0; + let length = keys.length; + let t = obj; + let x; + for (; i < length; ++i) { + x = t[keys[i]]; + t = t[keys[i]] = i === length - 1 ? val : x != null ? x : !!~keys[i + 1].indexOf(".") || !(+keys[i + 1] > -1) ? {} : []; + } +}; +const setByType = (obj, transforms) => { + for (const key of Object.keys(transforms)) { + const transform = transforms[key]; + if (transform.shouldTransform) { + obj[key] = Array.prototype.concat.call([], obj[key]); + if (typeof transform.transformFunction === "function") { + obj[key] = obj[key].map(transform.transformFunction); + } + } + } +}; +const getFileName = (input) => { + const m = /([^\\\/]+)$/.exec(input); + return m ? m[1] : ""; +}; +const camelcaseOptionName = (name) => { + return name.split(".").map((v, i) => { + return i === 0 ? camelcase(v) : v; + }).join("."); +}; +class CACError extends Error { + constructor(message) { + super(message); + this.name = this.constructor.name; + if (typeof Error.captureStackTrace === "function") { + Error.captureStackTrace(this, this.constructor); + } else { + this.stack = new Error(message).stack; + } + } +} + +class Option { + constructor(rawName, description, config) { + this.rawName = rawName; + this.description = description; + this.config = Object.assign({}, config); + rawName = rawName.replace(/\.\*/g, ""); + this.negated = false; + this.names = removeBrackets(rawName).split(",").map((v) => { + let name = v.trim().replace(/^-{1,2}/, ""); + if (name.startsWith("no-")) { + this.negated = true; + name = name.replace(/^no-/, ""); + } + return camelcaseOptionName(name); + }).sort((a, b) => a.length > b.length ? 1 : -1); + this.name = this.names[this.names.length - 1]; + if (this.negated && this.config.default == null) { + this.config.default = true; + } + if (rawName.includes("<")) { + this.required = true; + } else if (rawName.includes("[")) { + this.required = false; + } else { + this.isBoolean = true; + } + } +} + +const processArgs = process.argv; +const platformInfo = `${process.platform}-${process.arch} node-${process.version}`; + +class Command { + constructor(rawName, description, config = {}, cli) { + this.rawName = rawName; + this.description = description; + this.config = config; + this.cli = cli; + this.options = []; + this.aliasNames = []; + this.name = removeBrackets(rawName); + this.args = findAllBrackets(rawName); + this.examples = []; + } + usage(text) { + this.usageText = text; + return this; + } + allowUnknownOptions() { + this.config.allowUnknownOptions = true; + return this; + } + ignoreOptionDefaultValue() { + this.config.ignoreOptionDefaultValue = true; + return this; + } + version(version, customFlags = "-v, --version") { + this.versionNumber = version; + this.option(customFlags, "Display version number"); + return this; + } + example(example) { + this.examples.push(example); + return this; + } + option(rawName, description, config) { + const option = new Option(rawName, description, config); + this.options.push(option); + return this; + } + alias(name) { + this.aliasNames.push(name); + return this; + } + action(callback) { + this.commandAction = callback; + return this; + } + isMatched(name) { + return this.name === name || this.aliasNames.includes(name); + } + get isDefaultCommand() { + return this.name === "" || this.aliasNames.includes("!"); + } + get isGlobalCommand() { + return this instanceof GlobalCommand; + } + hasOption(name) { + name = name.split(".")[0]; + return this.options.find((option) => { + return option.names.includes(name); + }); + } + outputHelp() { + const {name, commands} = this.cli; + const { + versionNumber, + options: globalOptions, + helpCallback + } = this.cli.globalCommand; + let sections = [ + { + body: `${name}${versionNumber ? `/${versionNumber}` : ""}` + } + ]; + sections.push({ + title: "Usage", + body: ` $ ${name} ${this.usageText || this.rawName}` + }); + const showCommands = (this.isGlobalCommand || this.isDefaultCommand) && commands.length > 0; + if (showCommands) { + const longestCommandName = findLongest(commands.map((command) => command.rawName)); + sections.push({ + title: "Commands", + body: commands.map((command) => { + return ` ${padRight(command.rawName, longestCommandName.length)} ${command.description}`; + }).join("\n") + }); + sections.push({ + title: `For more info, run any command with the \`--help\` flag`, + body: commands.map((command) => ` $ ${name}${command.name === "" ? "" : ` ${command.name}`} --help`).join("\n") + }); + } + let options = this.isGlobalCommand ? globalOptions : [...this.options, ...globalOptions || []]; + if (!this.isGlobalCommand && !this.isDefaultCommand) { + options = options.filter((option) => option.name !== "version"); + } + if (options.length > 0) { + const longestOptionName = findLongest(options.map((option) => option.rawName)); + sections.push({ + title: "Options", + body: options.map((option) => { + return ` ${padRight(option.rawName, longestOptionName.length)} ${option.description} ${option.config.default === void 0 ? "" : `(default: ${option.config.default})`}`; + }).join("\n") + }); + } + if (this.examples.length > 0) { + sections.push({ + title: "Examples", + body: this.examples.map((example) => { + if (typeof example === "function") { + return example(name); + } + return example; + }).join("\n") + }); + } + if (helpCallback) { + sections = helpCallback(sections) || sections; + } + console.log(sections.map((section) => { + return section.title ? `${section.title}: +${section.body}` : section.body; + }).join("\n\n")); + } + outputVersion() { + const {name} = this.cli; + const {versionNumber} = this.cli.globalCommand; + if (versionNumber) { + console.log(`${name}/${versionNumber} ${platformInfo}`); + } + } + checkRequiredArgs() { + const minimalArgsCount = this.args.filter((arg) => arg.required).length; + if (this.cli.args.length < minimalArgsCount) { + throw new CACError(`missing required args for command \`${this.rawName}\``); + } + } + checkUnknownOptions() { + const {options, globalCommand} = this.cli; + if (!this.config.allowUnknownOptions) { + for (const name of Object.keys(options)) { + if (name !== "--" && !this.hasOption(name) && !globalCommand.hasOption(name)) { + throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``); + } + } + } + } + checkOptionValue() { + const {options: parsedOptions, globalCommand} = this.cli; + const options = [...globalCommand.options, ...this.options]; + for (const option of options) { + const value = parsedOptions[option.name.split(".")[0]]; + if (option.required) { + const hasNegated = options.some((o) => o.negated && o.names.includes(option.name)); + if (value === true || value === false && !hasNegated) { + throw new CACError(`option \`${option.rawName}\` value is missing`); + } + } + } + } +} +class GlobalCommand extends Command { + constructor(cli) { + super("@@global@@", "", {}, cli); + } +} + +var __assign = Object.assign; +class CAC extends events.EventEmitter { + constructor(name = "") { + super(); + this.name = name; + this.commands = []; + this.rawArgs = []; + this.args = []; + this.options = {}; + this.globalCommand = new GlobalCommand(this); + this.globalCommand.usage(" [options]"); + } + usage(text) { + this.globalCommand.usage(text); + return this; + } + command(rawName, description, config) { + const command = new Command(rawName, description || "", config, this); + command.globalCommand = this.globalCommand; + this.commands.push(command); + return command; + } + option(rawName, description, config) { + this.globalCommand.option(rawName, description, config); + return this; + } + help(callback) { + this.globalCommand.option("-h, --help", "Display this message"); + this.globalCommand.helpCallback = callback; + this.showHelpOnExit = true; + return this; + } + version(version, customFlags = "-v, --version") { + this.globalCommand.version(version, customFlags); + this.showVersionOnExit = true; + return this; + } + example(example) { + this.globalCommand.example(example); + return this; + } + outputHelp() { + if (this.matchedCommand) { + this.matchedCommand.outputHelp(); + } else { + this.globalCommand.outputHelp(); + } + } + outputVersion() { + this.globalCommand.outputVersion(); + } + setParsedInfo({args, options}, matchedCommand, matchedCommandName) { + this.args = args; + this.options = options; + if (matchedCommand) { + this.matchedCommand = matchedCommand; + } + if (matchedCommandName) { + this.matchedCommandName = matchedCommandName; + } + return this; + } + unsetMatchedCommand() { + this.matchedCommand = void 0; + this.matchedCommandName = void 0; + } + parse(argv = processArgs, { + run = true + } = {}) { + this.rawArgs = argv; + if (!this.name) { + this.name = argv[1] ? getFileName(argv[1]) : "cli"; + } + let shouldParse = true; + for (const command of this.commands) { + const parsed = this.mri(argv.slice(2), command); + const commandName = parsed.args[0]; + if (command.isMatched(commandName)) { + shouldParse = false; + const parsedInfo = __assign(__assign({}, parsed), { + args: parsed.args.slice(1) + }); + this.setParsedInfo(parsedInfo, command, commandName); + this.emit(`command:${commandName}`, command); + } + } + if (shouldParse) { + for (const command of this.commands) { + if (command.name === "") { + shouldParse = false; + const parsed = this.mri(argv.slice(2), command); + this.setParsedInfo(parsed, command); + this.emit(`command:!`, command); + } + } + } + if (shouldParse) { + const parsed = this.mri(argv.slice(2)); + this.setParsedInfo(parsed); + } + if (this.options.help && this.showHelpOnExit) { + this.outputHelp(); + run = false; + this.unsetMatchedCommand(); + } + if (this.options.version && this.showVersionOnExit && this.matchedCommandName == null) { + this.outputVersion(); + run = false; + this.unsetMatchedCommand(); + } + const parsedArgv = {args: this.args, options: this.options}; + if (run) { + this.runMatchedCommand(); + } + if (!this.matchedCommand && this.args[0]) { + this.emit("command:*"); + } + return parsedArgv; + } + mri(argv, command) { + const cliOptions = [ + ...this.globalCommand.options, + ...command ? command.options : [] + ]; + const mriOptions = getMriOptions(cliOptions); + let argsAfterDoubleDashes = []; + const doubleDashesIndex = argv.indexOf("--"); + if (doubleDashesIndex > -1) { + argsAfterDoubleDashes = argv.slice(doubleDashesIndex + 1); + argv = argv.slice(0, doubleDashesIndex); + } + let parsed = mri2(argv, mriOptions); + parsed = Object.keys(parsed).reduce((res, name) => { + return __assign(__assign({}, res), { + [camelcaseOptionName(name)]: parsed[name] + }); + }, {_: []}); + const args = parsed._; + const options = { + "--": argsAfterDoubleDashes + }; + const ignoreDefault = command && command.config.ignoreOptionDefaultValue ? command.config.ignoreOptionDefaultValue : this.globalCommand.config.ignoreOptionDefaultValue; + let transforms = Object.create(null); + for (const cliOption of cliOptions) { + if (!ignoreDefault && cliOption.config.default !== void 0) { + for (const name of cliOption.names) { + options[name] = cliOption.config.default; + } + } + if (Array.isArray(cliOption.config.type)) { + if (transforms[cliOption.name] === void 0) { + transforms[cliOption.name] = Object.create(null); + transforms[cliOption.name]["shouldTransform"] = true; + transforms[cliOption.name]["transformFunction"] = cliOption.config.type[0]; + } + } + } + for (const key of Object.keys(parsed)) { + if (key !== "_") { + const keys = key.split("."); + setDotProp(options, keys, parsed[key]); + setByType(options, transforms); + } + } + return { + args, + options + }; + } + runMatchedCommand() { + const {args, options, matchedCommand: command} = this; + if (!command || !command.commandAction) + return; + command.checkUnknownOptions(); + command.checkOptionValue(); + command.checkRequiredArgs(); + const actionArgs = []; + command.args.forEach((arg, index) => { + if (arg.variadic) { + actionArgs.push(args.slice(index)); + } else { + actionArgs.push(args[index]); + } + }); + actionArgs.push(options); + return command.commandAction.apply(this, actionArgs); + } +} + +const cac = (name = "") => new CAC(name); + +exports.CAC = CAC; +exports.Command = Command; +exports.cac = cac; +exports.default = cac; diff --git a/tools/ui/node_modules/cac/dist/index.mjs b/tools/ui/node_modules/cac/dist/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..7c1c4440c6ed22a3829f828364b06669c56b31c9 --- /dev/null +++ b/tools/ui/node_modules/cac/dist/index.mjs @@ -0,0 +1,617 @@ +import { EventEmitter } from 'events'; + +function toArr(any) { + return any == null ? [] : Array.isArray(any) ? any : [any]; +} + +function toVal(out, key, val, opts) { + var x, old=out[key], nxt=( + !!~opts.string.indexOf(key) ? (val == null || val === true ? '' : String(val)) + : typeof val === 'boolean' ? val + : !!~opts.boolean.indexOf(key) ? (val === 'false' ? false : val === 'true' || (out._.push((x = +val,x * 0 === 0) ? x : val),!!val)) + : (x = +val,x * 0 === 0) ? x : val + ); + out[key] = old == null ? nxt : (Array.isArray(old) ? old.concat(nxt) : [old, nxt]); +} + +function mri2 (args, opts) { + args = args || []; + opts = opts || {}; + + var k, arr, arg, name, val, out={ _:[] }; + var i=0, j=0, idx=0, len=args.length; + + const alibi = opts.alias !== void 0; + const strict = opts.unknown !== void 0; + const defaults = opts.default !== void 0; + + opts.alias = opts.alias || {}; + opts.string = toArr(opts.string); + opts.boolean = toArr(opts.boolean); + + if (alibi) { + for (k in opts.alias) { + arr = opts.alias[k] = toArr(opts.alias[k]); + for (i=0; i < arr.length; i++) { + (opts.alias[arr[i]] = arr.concat(k)).splice(i, 1); + } + } + } + + for (i=opts.boolean.length; i-- > 0;) { + arr = opts.alias[opts.boolean[i]] || []; + for (j=arr.length; j-- > 0;) opts.boolean.push(arr[j]); + } + + for (i=opts.string.length; i-- > 0;) { + arr = opts.alias[opts.string[i]] || []; + for (j=arr.length; j-- > 0;) opts.string.push(arr[j]); + } + + if (defaults) { + for (k in opts.default) { + name = typeof opts.default[k]; + arr = opts.alias[k] = opts.alias[k] || []; + if (opts[name] !== void 0) { + opts[name].push(k); + for (i=0; i < arr.length; i++) { + opts[name].push(arr[i]); + } + } + } + } + + const keys = strict ? Object.keys(opts.alias) : []; + + for (i=0; i < len; i++) { + arg = args[i]; + + if (arg === '--') { + out._ = out._.concat(args.slice(++i)); + break; + } + + for (j=0; j < arg.length; j++) { + if (arg.charCodeAt(j) !== 45) break; // "-" + } + + if (j === 0) { + out._.push(arg); + } else if (arg.substring(j, j + 3) === 'no-') { + name = arg.substring(j + 3); + if (strict && !~keys.indexOf(name)) { + return opts.unknown(arg); + } + out[name] = false; + } else { + for (idx=j+1; idx < arg.length; idx++) { + if (arg.charCodeAt(idx) === 61) break; // "=" + } + + name = arg.substring(j, idx); + val = arg.substring(++idx) || (i+1 === len || (''+args[i+1]).charCodeAt(0) === 45 || args[++i]); + arr = (j === 2 ? [name] : name); + + for (idx=0; idx < arr.length; idx++) { + name = arr[idx]; + if (strict && !~keys.indexOf(name)) return opts.unknown('-'.repeat(j) + name); + toVal(out, name, (idx + 1 < arr.length) || val, opts); + } + } + } + + if (defaults) { + for (k in opts.default) { + if (out[k] === void 0) { + out[k] = opts.default[k]; + } + } + } + + if (alibi) { + for (k in out) { + arr = opts.alias[k] || []; + while (arr.length > 0) { + out[arr.shift()] = out[k]; + } + } + } + + return out; +} + +const removeBrackets = (v) => v.replace(/[<[].+/, "").trim(); +const findAllBrackets = (v) => { + const ANGLED_BRACKET_RE_GLOBAL = /<([^>]+)>/g; + const SQUARE_BRACKET_RE_GLOBAL = /\[([^\]]+)\]/g; + const res = []; + const parse = (match) => { + let variadic = false; + let value = match[1]; + if (value.startsWith("...")) { + value = value.slice(3); + variadic = true; + } + return { + required: match[0].startsWith("<"), + value, + variadic + }; + }; + let angledMatch; + while (angledMatch = ANGLED_BRACKET_RE_GLOBAL.exec(v)) { + res.push(parse(angledMatch)); + } + let squareMatch; + while (squareMatch = SQUARE_BRACKET_RE_GLOBAL.exec(v)) { + res.push(parse(squareMatch)); + } + return res; +}; +const getMriOptions = (options) => { + const result = {alias: {}, boolean: []}; + for (const [index, option] of options.entries()) { + if (option.names.length > 1) { + result.alias[option.names[0]] = option.names.slice(1); + } + if (option.isBoolean) { + if (option.negated) { + const hasStringTypeOption = options.some((o, i) => { + return i !== index && o.names.some((name) => option.names.includes(name)) && typeof o.required === "boolean"; + }); + if (!hasStringTypeOption) { + result.boolean.push(option.names[0]); + } + } else { + result.boolean.push(option.names[0]); + } + } + } + return result; +}; +const findLongest = (arr) => { + return arr.sort((a, b) => { + return a.length > b.length ? -1 : 1; + })[0]; +}; +const padRight = (str, length) => { + return str.length >= length ? str : `${str}${" ".repeat(length - str.length)}`; +}; +const camelcase = (input) => { + return input.replace(/([a-z])-([a-z])/g, (_, p1, p2) => { + return p1 + p2.toUpperCase(); + }); +}; +const setDotProp = (obj, keys, val) => { + let i = 0; + let length = keys.length; + let t = obj; + let x; + for (; i < length; ++i) { + x = t[keys[i]]; + t = t[keys[i]] = i === length - 1 ? val : x != null ? x : !!~keys[i + 1].indexOf(".") || !(+keys[i + 1] > -1) ? {} : []; + } +}; +const setByType = (obj, transforms) => { + for (const key of Object.keys(transforms)) { + const transform = transforms[key]; + if (transform.shouldTransform) { + obj[key] = Array.prototype.concat.call([], obj[key]); + if (typeof transform.transformFunction === "function") { + obj[key] = obj[key].map(transform.transformFunction); + } + } + } +}; +const getFileName = (input) => { + const m = /([^\\\/]+)$/.exec(input); + return m ? m[1] : ""; +}; +const camelcaseOptionName = (name) => { + return name.split(".").map((v, i) => { + return i === 0 ? camelcase(v) : v; + }).join("."); +}; +class CACError extends Error { + constructor(message) { + super(message); + this.name = this.constructor.name; + if (typeof Error.captureStackTrace === "function") { + Error.captureStackTrace(this, this.constructor); + } else { + this.stack = new Error(message).stack; + } + } +} + +class Option { + constructor(rawName, description, config) { + this.rawName = rawName; + this.description = description; + this.config = Object.assign({}, config); + rawName = rawName.replace(/\.\*/g, ""); + this.negated = false; + this.names = removeBrackets(rawName).split(",").map((v) => { + let name = v.trim().replace(/^-{1,2}/, ""); + if (name.startsWith("no-")) { + this.negated = true; + name = name.replace(/^no-/, ""); + } + return camelcaseOptionName(name); + }).sort((a, b) => a.length > b.length ? 1 : -1); + this.name = this.names[this.names.length - 1]; + if (this.negated && this.config.default == null) { + this.config.default = true; + } + if (rawName.includes("<")) { + this.required = true; + } else if (rawName.includes("[")) { + this.required = false; + } else { + this.isBoolean = true; + } + } +} + +const processArgs = process.argv; +const platformInfo = `${process.platform}-${process.arch} node-${process.version}`; + +class Command { + constructor(rawName, description, config = {}, cli) { + this.rawName = rawName; + this.description = description; + this.config = config; + this.cli = cli; + this.options = []; + this.aliasNames = []; + this.name = removeBrackets(rawName); + this.args = findAllBrackets(rawName); + this.examples = []; + } + usage(text) { + this.usageText = text; + return this; + } + allowUnknownOptions() { + this.config.allowUnknownOptions = true; + return this; + } + ignoreOptionDefaultValue() { + this.config.ignoreOptionDefaultValue = true; + return this; + } + version(version, customFlags = "-v, --version") { + this.versionNumber = version; + this.option(customFlags, "Display version number"); + return this; + } + example(example) { + this.examples.push(example); + return this; + } + option(rawName, description, config) { + const option = new Option(rawName, description, config); + this.options.push(option); + return this; + } + alias(name) { + this.aliasNames.push(name); + return this; + } + action(callback) { + this.commandAction = callback; + return this; + } + isMatched(name) { + return this.name === name || this.aliasNames.includes(name); + } + get isDefaultCommand() { + return this.name === "" || this.aliasNames.includes("!"); + } + get isGlobalCommand() { + return this instanceof GlobalCommand; + } + hasOption(name) { + name = name.split(".")[0]; + return this.options.find((option) => { + return option.names.includes(name); + }); + } + outputHelp() { + const {name, commands} = this.cli; + const { + versionNumber, + options: globalOptions, + helpCallback + } = this.cli.globalCommand; + let sections = [ + { + body: `${name}${versionNumber ? `/${versionNumber}` : ""}` + } + ]; + sections.push({ + title: "Usage", + body: ` $ ${name} ${this.usageText || this.rawName}` + }); + const showCommands = (this.isGlobalCommand || this.isDefaultCommand) && commands.length > 0; + if (showCommands) { + const longestCommandName = findLongest(commands.map((command) => command.rawName)); + sections.push({ + title: "Commands", + body: commands.map((command) => { + return ` ${padRight(command.rawName, longestCommandName.length)} ${command.description}`; + }).join("\n") + }); + sections.push({ + title: `For more info, run any command with the \`--help\` flag`, + body: commands.map((command) => ` $ ${name}${command.name === "" ? "" : ` ${command.name}`} --help`).join("\n") + }); + } + let options = this.isGlobalCommand ? globalOptions : [...this.options, ...globalOptions || []]; + if (!this.isGlobalCommand && !this.isDefaultCommand) { + options = options.filter((option) => option.name !== "version"); + } + if (options.length > 0) { + const longestOptionName = findLongest(options.map((option) => option.rawName)); + sections.push({ + title: "Options", + body: options.map((option) => { + return ` ${padRight(option.rawName, longestOptionName.length)} ${option.description} ${option.config.default === void 0 ? "" : `(default: ${option.config.default})`}`; + }).join("\n") + }); + } + if (this.examples.length > 0) { + sections.push({ + title: "Examples", + body: this.examples.map((example) => { + if (typeof example === "function") { + return example(name); + } + return example; + }).join("\n") + }); + } + if (helpCallback) { + sections = helpCallback(sections) || sections; + } + console.log(sections.map((section) => { + return section.title ? `${section.title}: +${section.body}` : section.body; + }).join("\n\n")); + } + outputVersion() { + const {name} = this.cli; + const {versionNumber} = this.cli.globalCommand; + if (versionNumber) { + console.log(`${name}/${versionNumber} ${platformInfo}`); + } + } + checkRequiredArgs() { + const minimalArgsCount = this.args.filter((arg) => arg.required).length; + if (this.cli.args.length < minimalArgsCount) { + throw new CACError(`missing required args for command \`${this.rawName}\``); + } + } + checkUnknownOptions() { + const {options, globalCommand} = this.cli; + if (!this.config.allowUnknownOptions) { + for (const name of Object.keys(options)) { + if (name !== "--" && !this.hasOption(name) && !globalCommand.hasOption(name)) { + throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``); + } + } + } + } + checkOptionValue() { + const {options: parsedOptions, globalCommand} = this.cli; + const options = [...globalCommand.options, ...this.options]; + for (const option of options) { + const value = parsedOptions[option.name.split(".")[0]]; + if (option.required) { + const hasNegated = options.some((o) => o.negated && o.names.includes(option.name)); + if (value === true || value === false && !hasNegated) { + throw new CACError(`option \`${option.rawName}\` value is missing`); + } + } + } + } +} +class GlobalCommand extends Command { + constructor(cli) { + super("@@global@@", "", {}, cli); + } +} + +var __assign = Object.assign; +class CAC extends EventEmitter { + constructor(name = "") { + super(); + this.name = name; + this.commands = []; + this.rawArgs = []; + this.args = []; + this.options = {}; + this.globalCommand = new GlobalCommand(this); + this.globalCommand.usage(" [options]"); + } + usage(text) { + this.globalCommand.usage(text); + return this; + } + command(rawName, description, config) { + const command = new Command(rawName, description || "", config, this); + command.globalCommand = this.globalCommand; + this.commands.push(command); + return command; + } + option(rawName, description, config) { + this.globalCommand.option(rawName, description, config); + return this; + } + help(callback) { + this.globalCommand.option("-h, --help", "Display this message"); + this.globalCommand.helpCallback = callback; + this.showHelpOnExit = true; + return this; + } + version(version, customFlags = "-v, --version") { + this.globalCommand.version(version, customFlags); + this.showVersionOnExit = true; + return this; + } + example(example) { + this.globalCommand.example(example); + return this; + } + outputHelp() { + if (this.matchedCommand) { + this.matchedCommand.outputHelp(); + } else { + this.globalCommand.outputHelp(); + } + } + outputVersion() { + this.globalCommand.outputVersion(); + } + setParsedInfo({args, options}, matchedCommand, matchedCommandName) { + this.args = args; + this.options = options; + if (matchedCommand) { + this.matchedCommand = matchedCommand; + } + if (matchedCommandName) { + this.matchedCommandName = matchedCommandName; + } + return this; + } + unsetMatchedCommand() { + this.matchedCommand = void 0; + this.matchedCommandName = void 0; + } + parse(argv = processArgs, { + run = true + } = {}) { + this.rawArgs = argv; + if (!this.name) { + this.name = argv[1] ? getFileName(argv[1]) : "cli"; + } + let shouldParse = true; + for (const command of this.commands) { + const parsed = this.mri(argv.slice(2), command); + const commandName = parsed.args[0]; + if (command.isMatched(commandName)) { + shouldParse = false; + const parsedInfo = __assign(__assign({}, parsed), { + args: parsed.args.slice(1) + }); + this.setParsedInfo(parsedInfo, command, commandName); + this.emit(`command:${commandName}`, command); + } + } + if (shouldParse) { + for (const command of this.commands) { + if (command.name === "") { + shouldParse = false; + const parsed = this.mri(argv.slice(2), command); + this.setParsedInfo(parsed, command); + this.emit(`command:!`, command); + } + } + } + if (shouldParse) { + const parsed = this.mri(argv.slice(2)); + this.setParsedInfo(parsed); + } + if (this.options.help && this.showHelpOnExit) { + this.outputHelp(); + run = false; + this.unsetMatchedCommand(); + } + if (this.options.version && this.showVersionOnExit && this.matchedCommandName == null) { + this.outputVersion(); + run = false; + this.unsetMatchedCommand(); + } + const parsedArgv = {args: this.args, options: this.options}; + if (run) { + this.runMatchedCommand(); + } + if (!this.matchedCommand && this.args[0]) { + this.emit("command:*"); + } + return parsedArgv; + } + mri(argv, command) { + const cliOptions = [ + ...this.globalCommand.options, + ...command ? command.options : [] + ]; + const mriOptions = getMriOptions(cliOptions); + let argsAfterDoubleDashes = []; + const doubleDashesIndex = argv.indexOf("--"); + if (doubleDashesIndex > -1) { + argsAfterDoubleDashes = argv.slice(doubleDashesIndex + 1); + argv = argv.slice(0, doubleDashesIndex); + } + let parsed = mri2(argv, mriOptions); + parsed = Object.keys(parsed).reduce((res, name) => { + return __assign(__assign({}, res), { + [camelcaseOptionName(name)]: parsed[name] + }); + }, {_: []}); + const args = parsed._; + const options = { + "--": argsAfterDoubleDashes + }; + const ignoreDefault = command && command.config.ignoreOptionDefaultValue ? command.config.ignoreOptionDefaultValue : this.globalCommand.config.ignoreOptionDefaultValue; + let transforms = Object.create(null); + for (const cliOption of cliOptions) { + if (!ignoreDefault && cliOption.config.default !== void 0) { + for (const name of cliOption.names) { + options[name] = cliOption.config.default; + } + } + if (Array.isArray(cliOption.config.type)) { + if (transforms[cliOption.name] === void 0) { + transforms[cliOption.name] = Object.create(null); + transforms[cliOption.name]["shouldTransform"] = true; + transforms[cliOption.name]["transformFunction"] = cliOption.config.type[0]; + } + } + } + for (const key of Object.keys(parsed)) { + if (key !== "_") { + const keys = key.split("."); + setDotProp(options, keys, parsed[key]); + setByType(options, transforms); + } + } + return { + args, + options + }; + } + runMatchedCommand() { + const {args, options, matchedCommand: command} = this; + if (!command || !command.commandAction) + return; + command.checkUnknownOptions(); + command.checkOptionValue(); + command.checkRequiredArgs(); + const actionArgs = []; + command.args.forEach((arg, index) => { + if (arg.variadic) { + actionArgs.push(args.slice(index)); + } else { + actionArgs.push(args[index]); + } + }); + actionArgs.push(options); + return command.commandAction.apply(this, actionArgs); + } +} + +const cac = (name = "") => new CAC(name); + +export default cac; +export { CAC, Command, cac }; diff --git a/tools/ui/node_modules/cac/index-compat.js b/tools/ui/node_modules/cac/index-compat.js new file mode 100644 index 0000000000000000000000000000000000000000..6b8a78d3a5764e06c4082842ce0aa65f5b290d1d --- /dev/null +++ b/tools/ui/node_modules/cac/index-compat.js @@ -0,0 +1,11 @@ +const { cac, CAC, Command } = require('./dist/index') + +// For backwards compatibility +module.exports = cac + +Object.assign(module.exports, { + default: cac, + cac, + CAC, + Command, +}) diff --git a/tools/ui/node_modules/cac/mod.js b/tools/ui/node_modules/cac/mod.js new file mode 100644 index 0000000000000000000000000000000000000000..9d0e8943d5a3ec8d475469be5718e7567703ffff --- /dev/null +++ b/tools/ui/node_modules/cac/mod.js @@ -0,0 +1,2 @@ +// Deno users should use mod.ts instead +export * from './deno/index.ts' \ No newline at end of file diff --git a/tools/ui/node_modules/cac/mod.ts b/tools/ui/node_modules/cac/mod.ts new file mode 100644 index 0000000000000000000000000000000000000000..8fac7d9f0539fa8fa85be89f4f673834bb0a38af --- /dev/null +++ b/tools/ui/node_modules/cac/mod.ts @@ -0,0 +1,2 @@ +// For Deno +export * from './deno/index.ts' diff --git a/tools/ui/node_modules/cac/package.json b/tools/ui/node_modules/cac/package.json new file mode 100644 index 0000000000000000000000000000000000000000..2306bf35bbe5d451bf03d48ad77af475a5d9f747 --- /dev/null +++ b/tools/ui/node_modules/cac/package.json @@ -0,0 +1,104 @@ +{ + "name": "cac", + "version": "6.7.14", + "description": "Simple yet powerful framework for building command-line apps.", + "repository": { + "url": "egoist/cac", + "type": "git" + }, + "main": "index-compat.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "require": "./index-compat.js" + }, + "./package.json": "./package.json", + "./*": "./*" + }, + "files": [ + "dist", + "!**/__test__/**", + "/mod.js", + "/mod.ts", + "/deno", + "/index-compat.js" + ], + "scripts": { + "test": "jest", + "test:cov": "jest --coverage", + "build:deno": "node -r sucrase/register scripts/build-deno.ts", + "build:node": "rollup -c", + "build": "yarn build:deno && yarn build:node", + "toc": "markdown-toc -i README.md", + "prepublishOnly": "npm run build && cp mod.js mod.mjs", + "docs:api": "typedoc --out api-doc --readme none --exclude \"**/__test__/**\" --theme minimal" + }, + "author": "egoist <0x142857@gmail.com>", + "license": "MIT", + "devDependencies": { + "@babel/core": "^7.12.10", + "@babel/plugin-syntax-typescript": "^7.12.1", + "@rollup/plugin-commonjs": "^17.0.0", + "@rollup/plugin-node-resolve": "^11.0.0", + "@types/fs-extra": "^9.0.5", + "@types/jest": "^26.0.19", + "@types/mri": "^1.1.0", + "cz-conventional-changelog": "^2.1.0", + "esbuild": "^0.8.21", + "eslint-config-rem": "^3.0.0", + "execa": "^5.0.0", + "fs-extra": "^9.0.1", + "globby": "^11.0.1", + "husky": "^1.2.0", + "jest": "^24.9.0", + "lint-staged": "^8.1.0", + "markdown-toc": "^1.2.0", + "mri": "^1.1.6", + "prettier": "^2.2.1", + "rollup": "^2.34.2", + "rollup-plugin-dts": "^2.0.1", + "rollup-plugin-esbuild": "^2.6.1", + "semantic-release": "^17.3.0", + "sucrase": "^3.16.0", + "ts-jest": "^26.4.4", + "ts-node": "^9.1.1", + "typedoc": "^0.19.2", + "typescript": "^4.1.2" + }, + "engines": { + "node": ">=8" + }, + "release": { + "branch": "master" + }, + "config": { + "commitizen": { + "path": "./node_modules/cz-conventional-changelog" + } + }, + "lint-staged": { + "linters": { + "*.{js,json,ts}": [ + "prettier --write", + "git add" + ], + "*.md": [ + "markdown-toc -i", + "prettier --write", + "git add" + ] + }, + "ignore": [ + "dist/**", + "mod.js" + ] + }, + "husky": { + "hooks": { + "pre-commit": "npm t && lint-staged" + } + } +} diff --git a/tools/ui/node_modules/call-bind-apply-helpers/.eslintrc b/tools/ui/node_modules/call-bind-apply-helpers/.eslintrc new file mode 100644 index 0000000000000000000000000000000000000000..201e859be230a5390ae41935c6f8d5f2ab1dbb5f --- /dev/null +++ b/tools/ui/node_modules/call-bind-apply-helpers/.eslintrc @@ -0,0 +1,17 @@ +{ + "root": true, + + "extends": "@ljharb", + + "rules": { + "func-name-matching": 0, + "id-length": 0, + "new-cap": [2, { + "capIsNewExceptions": [ + "GetIntrinsic", + ], + }], + "no-extra-parens": 0, + "no-magic-numbers": 0, + }, +} diff --git a/tools/ui/node_modules/call-bind-apply-helpers/.github/FUNDING.yml b/tools/ui/node_modules/call-bind-apply-helpers/.github/FUNDING.yml new file mode 100644 index 0000000000000000000000000000000000000000..0011e9d65fcaefeaccd7c79a0357e8f2214695ed --- /dev/null +++ b/tools/ui/node_modules/call-bind-apply-helpers/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: [ljharb] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: npm/call-bind-apply-helpers +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/tools/ui/node_modules/call-bind-apply-helpers/.nycrc b/tools/ui/node_modules/call-bind-apply-helpers/.nycrc new file mode 100644 index 0000000000000000000000000000000000000000..bdd626ce91477abbdd489b79988baebadbd3c897 --- /dev/null +++ b/tools/ui/node_modules/call-bind-apply-helpers/.nycrc @@ -0,0 +1,9 @@ +{ + "all": true, + "check-coverage": false, + "reporter": ["text-summary", "text", "html", "json"], + "exclude": [ + "coverage", + "test" + ] +} diff --git a/tools/ui/node_modules/call-bind-apply-helpers/CHANGELOG.md b/tools/ui/node_modules/call-bind-apply-helpers/CHANGELOG.md new file mode 100644 index 0000000000000000000000000000000000000000..24849428bae69540a59077dd4d6b3d15ab7b097b --- /dev/null +++ b/tools/ui/node_modules/call-bind-apply-helpers/CHANGELOG.md @@ -0,0 +1,30 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.0.2](https://github.com/ljharb/call-bind-apply-helpers/compare/v1.0.1...v1.0.2) - 2025-02-12 + +### Commits + +- [types] improve inferred types [`e6f9586`](https://github.com/ljharb/call-bind-apply-helpers/commit/e6f95860a3c72879cb861a858cdfb8138fbedec1) +- [Dev Deps] update `@arethetypeswrong/cli`, `@ljharb/tsconfig`, `@types/tape`, `es-value-fixtures`, `for-each`, `has-strict-mode`, `object-inspect` [`e43d540`](https://github.com/ljharb/call-bind-apply-helpers/commit/e43d5409f97543bfbb11f345d47d8ce4e066d8c1) + +## [v1.0.1](https://github.com/ljharb/call-bind-apply-helpers/compare/v1.0.0...v1.0.1) - 2024-12-08 + +### Commits + +- [types] `reflectApply`: fix types [`4efc396`](https://github.com/ljharb/call-bind-apply-helpers/commit/4efc3965351a4f02cc55e836fa391d3d11ef2ef8) +- [Fix] `reflectApply`: oops, Reflect is not a function [`83cc739`](https://github.com/ljharb/call-bind-apply-helpers/commit/83cc7395de6b79b7730bdf092f1436f0b1263c75) +- [Dev Deps] update `@arethetypeswrong/cli` [`80bd5d3`](https://github.com/ljharb/call-bind-apply-helpers/commit/80bd5d3ae58b4f6b6995ce439dd5a1bcb178a940) + +## v1.0.0 - 2024-12-05 + +### Commits + +- Initial implementation, tests, readme [`7879629`](https://github.com/ljharb/call-bind-apply-helpers/commit/78796290f9b7430c9934d6f33d94ae9bc89fce04) +- Initial commit [`3f1dc16`](https://github.com/ljharb/call-bind-apply-helpers/commit/3f1dc164afc43285631b114a5f9dd9137b2b952f) +- npm init [`081df04`](https://github.com/ljharb/call-bind-apply-helpers/commit/081df048c312fcee400922026f6e97281200a603) +- Only apps should have lockfiles [`5b9ca0f`](https://github.com/ljharb/call-bind-apply-helpers/commit/5b9ca0fe8101ebfaf309c549caac4e0a017ed930) diff --git a/tools/ui/node_modules/call-bind-apply-helpers/LICENSE b/tools/ui/node_modules/call-bind-apply-helpers/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..f82f38963b0d282b529f64def2bcd40be3a9a947 --- /dev/null +++ b/tools/ui/node_modules/call-bind-apply-helpers/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/tools/ui/node_modules/call-bind-apply-helpers/README.md b/tools/ui/node_modules/call-bind-apply-helpers/README.md new file mode 100644 index 0000000000000000000000000000000000000000..8fc0dae1b3f6b0a22322a21b40b0f51665eadfb0 --- /dev/null +++ b/tools/ui/node_modules/call-bind-apply-helpers/README.md @@ -0,0 +1,62 @@ +# call-bind-apply-helpers [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![dependency status][deps-svg]][deps-url] +[![dev dependency status][dev-deps-svg]][dev-deps-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +Helper functions around Function call/apply/bind, for use in `call-bind`. + +The only packages that should likely ever use this package directly are `call-bind` and `get-intrinsic`. +Please use `call-bind` unless you have a very good reason not to. + +## Getting started + +```sh +npm install --save call-bind-apply-helpers +``` + +## Usage/Examples + +```js +const assert = require('assert'); +const callBindBasic = require('call-bind-apply-helpers'); + +function f(a, b) { + assert.equal(this, 1); + assert.equal(a, 2); + assert.equal(b, 3); + assert.equal(arguments.length, 2); +} + +const fBound = callBindBasic([f, 1]); + +delete Function.prototype.call; +delete Function.prototype.bind; + +fBound(2, 3); +``` + +## Tests + +Clone the repo, `npm install`, and run `npm test` + +[package-url]: https://npmjs.org/package/call-bind-apply-helpers +[npm-version-svg]: https://versionbadg.es/ljharb/call-bind-apply-helpers.svg +[deps-svg]: https://david-dm.org/ljharb/call-bind-apply-helpers.svg +[deps-url]: https://david-dm.org/ljharb/call-bind-apply-helpers +[dev-deps-svg]: https://david-dm.org/ljharb/call-bind-apply-helpers/dev-status.svg +[dev-deps-url]: https://david-dm.org/ljharb/call-bind-apply-helpers#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/call-bind-apply-helpers.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/call-bind-apply-helpers.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/call-bind-apply-helpers.svg +[downloads-url]: https://npm-stat.com/charts.html?package=call-bind-apply-helpers +[codecov-image]: https://codecov.io/gh/ljharb/call-bind-apply-helpers/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/ljharb/call-bind-apply-helpers/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/call-bind-apply-helpers +[actions-url]: https://github.com/ljharb/call-bind-apply-helpers/actions diff --git a/tools/ui/node_modules/call-bind-apply-helpers/actualApply.d.ts b/tools/ui/node_modules/call-bind-apply-helpers/actualApply.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b87286a21e3eda5e94932818c21e2bd20b30e905 --- /dev/null +++ b/tools/ui/node_modules/call-bind-apply-helpers/actualApply.d.ts @@ -0,0 +1 @@ +export = Reflect.apply; \ No newline at end of file diff --git a/tools/ui/node_modules/call-bind-apply-helpers/actualApply.js b/tools/ui/node_modules/call-bind-apply-helpers/actualApply.js new file mode 100644 index 0000000000000000000000000000000000000000..ffa51355dc7e5d3eb24f602f85f6ae57d087d310 --- /dev/null +++ b/tools/ui/node_modules/call-bind-apply-helpers/actualApply.js @@ -0,0 +1,10 @@ +'use strict'; + +var bind = require('function-bind'); + +var $apply = require('./functionApply'); +var $call = require('./functionCall'); +var $reflectApply = require('./reflectApply'); + +/** @type {import('./actualApply')} */ +module.exports = $reflectApply || bind.call($call, $apply); diff --git a/tools/ui/node_modules/call-bind-apply-helpers/applyBind.d.ts b/tools/ui/node_modules/call-bind-apply-helpers/applyBind.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d176c1ab30e5193071f5f6a6b6e8aaa4402476c6 --- /dev/null +++ b/tools/ui/node_modules/call-bind-apply-helpers/applyBind.d.ts @@ -0,0 +1,19 @@ +import actualApply from './actualApply'; + +type TupleSplitHead = T['length'] extends N + ? T + : T extends [...infer R, any] + ? TupleSplitHead + : never + +type TupleSplitTail = O['length'] extends N + ? T + : T extends [infer F, ...infer R] + ? TupleSplitTail<[...R], N, [...O, F]> + : never + +type TupleSplit = [TupleSplitHead, TupleSplitTail] + +declare function applyBind(...args: TupleSplit, 2>[1]): ReturnType; + +export = applyBind; \ No newline at end of file diff --git a/tools/ui/node_modules/call-bind-apply-helpers/applyBind.js b/tools/ui/node_modules/call-bind-apply-helpers/applyBind.js new file mode 100644 index 0000000000000000000000000000000000000000..d2b7723147450c8094f98d20d88a5170a4173bbb --- /dev/null +++ b/tools/ui/node_modules/call-bind-apply-helpers/applyBind.js @@ -0,0 +1,10 @@ +'use strict'; + +var bind = require('function-bind'); +var $apply = require('./functionApply'); +var actualApply = require('./actualApply'); + +/** @type {import('./applyBind')} */ +module.exports = function applyBind() { + return actualApply(bind, $apply, arguments); +}; diff --git a/tools/ui/node_modules/call-bind-apply-helpers/functionApply.d.ts b/tools/ui/node_modules/call-bind-apply-helpers/functionApply.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..1f6e11b3d0e95337b67b81b962b4c6abe69ed7ae --- /dev/null +++ b/tools/ui/node_modules/call-bind-apply-helpers/functionApply.d.ts @@ -0,0 +1 @@ +export = Function.prototype.apply; \ No newline at end of file diff --git a/tools/ui/node_modules/call-bind-apply-helpers/functionApply.js b/tools/ui/node_modules/call-bind-apply-helpers/functionApply.js new file mode 100644 index 0000000000000000000000000000000000000000..c71df9c2bcf07ca4340530058d0662661f29ec95 --- /dev/null +++ b/tools/ui/node_modules/call-bind-apply-helpers/functionApply.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./functionApply')} */ +module.exports = Function.prototype.apply; diff --git a/tools/ui/node_modules/call-bind-apply-helpers/functionCall.d.ts b/tools/ui/node_modules/call-bind-apply-helpers/functionCall.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..15e93df350fb6b8552c6ba89289966a8b998064e --- /dev/null +++ b/tools/ui/node_modules/call-bind-apply-helpers/functionCall.d.ts @@ -0,0 +1 @@ +export = Function.prototype.call; \ No newline at end of file diff --git a/tools/ui/node_modules/call-bind-apply-helpers/functionCall.js b/tools/ui/node_modules/call-bind-apply-helpers/functionCall.js new file mode 100644 index 0000000000000000000000000000000000000000..7a8d8735752ef518698f1fe62b4edd16725898a8 --- /dev/null +++ b/tools/ui/node_modules/call-bind-apply-helpers/functionCall.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./functionCall')} */ +module.exports = Function.prototype.call; diff --git a/tools/ui/node_modules/call-bind-apply-helpers/index.d.ts b/tools/ui/node_modules/call-bind-apply-helpers/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..541516bd0f23194a87482e272f48439100b70c73 --- /dev/null +++ b/tools/ui/node_modules/call-bind-apply-helpers/index.d.ts @@ -0,0 +1,64 @@ +type RemoveFromTuple< + Tuple extends readonly unknown[], + RemoveCount extends number, + Index extends 1[] = [] +> = Index["length"] extends RemoveCount + ? Tuple + : Tuple extends [infer First, ...infer Rest] + ? RemoveFromTuple + : Tuple; + +type ConcatTuples< + Prefix extends readonly unknown[], + Suffix extends readonly unknown[] +> = [...Prefix, ...Suffix]; + +type ExtractFunctionParams = T extends (this: infer TThis, ...args: infer P extends readonly unknown[]) => infer R + ? { thisArg: TThis; params: P; returnType: R } + : never; + +type BindFunction< + T extends (this: any, ...args: any[]) => any, + TThis, + TBoundArgs extends readonly unknown[], + ReceiverBound extends boolean +> = ExtractFunctionParams extends { + thisArg: infer OrigThis; + params: infer P extends readonly unknown[]; + returnType: infer R; +} + ? ReceiverBound extends true + ? (...args: RemoveFromTuple>) => R extends [OrigThis, ...infer Rest] + ? [TThis, ...Rest] // Replace `this` with `thisArg` + : R + : >>( + thisArg: U, + ...args: RemainingArgs + ) => R extends [OrigThis, ...infer Rest] + ? [U, ...ConcatTuples] // Preserve bound args in return type + : R + : never; + +declare function callBind< + const T extends (this: any, ...args: any[]) => any, + Extracted extends ExtractFunctionParams, + const TBoundArgs extends Partial & readonly unknown[], + const TThis extends Extracted["thisArg"] +>( + args: [fn: T, thisArg: TThis, ...boundArgs: TBoundArgs] +): BindFunction; + +declare function callBind< + const T extends (this: any, ...args: any[]) => any, + Extracted extends ExtractFunctionParams, + const TBoundArgs extends Partial & readonly unknown[] +>( + args: [fn: T, ...boundArgs: TBoundArgs] +): BindFunction; + +declare function callBind( + args: [fn: Exclude, ...rest: TArgs] +): never; + +// export as namespace callBind; +export = callBind; diff --git a/tools/ui/node_modules/call-bind-apply-helpers/index.js b/tools/ui/node_modules/call-bind-apply-helpers/index.js new file mode 100644 index 0000000000000000000000000000000000000000..2f6dab4c10431239352ab4626e326bf4e97cad5c --- /dev/null +++ b/tools/ui/node_modules/call-bind-apply-helpers/index.js @@ -0,0 +1,15 @@ +'use strict'; + +var bind = require('function-bind'); +var $TypeError = require('es-errors/type'); + +var $call = require('./functionCall'); +var $actualApply = require('./actualApply'); + +/** @type {(args: [Function, thisArg?: unknown, ...args: unknown[]]) => Function} TODO FIXME, find a way to use import('.') */ +module.exports = function callBindBasic(args) { + if (args.length < 1 || typeof args[0] !== 'function') { + throw new $TypeError('a function is required'); + } + return $actualApply(bind, $call, args); +}; diff --git a/tools/ui/node_modules/call-bind-apply-helpers/package.json b/tools/ui/node_modules/call-bind-apply-helpers/package.json new file mode 100644 index 0000000000000000000000000000000000000000..923b8be2f14c65e78fd75a4fd34aba94fb733274 --- /dev/null +++ b/tools/ui/node_modules/call-bind-apply-helpers/package.json @@ -0,0 +1,85 @@ +{ + "name": "call-bind-apply-helpers", + "version": "1.0.2", + "description": "Helper functions around Function call/apply/bind, for use in `call-bind`", + "main": "index.js", + "exports": { + ".": "./index.js", + "./actualApply": "./actualApply.js", + "./applyBind": "./applyBind.js", + "./functionApply": "./functionApply.js", + "./functionCall": "./functionCall.js", + "./reflectApply": "./reflectApply.js", + "./package.json": "./package.json" + }, + "scripts": { + "prepack": "npmignore --auto --commentLines=auto", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepublishOnly": "safe-publish-latest", + "prelint": "evalmd README.md", + "lint": "eslint --ext=.js,.mjs .", + "postlint": "tsc -p . && attw -P", + "pretest": "npm run lint", + "tests-only": "nyc tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "npx npm@'>=10.2' audit --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/call-bind-apply-helpers.git" + }, + "author": "Jordan Harband ", + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/call-bind-apply-helpers/issues" + }, + "homepage": "https://github.com/ljharb/call-bind-apply-helpers#readme", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "devDependencies": { + "@arethetypeswrong/cli": "^0.17.3", + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.2.3", + "@types/for-each": "^0.3.3", + "@types/function-bind": "^1.1.10", + "@types/object-inspect": "^1.13.0", + "@types/tape": "^5.8.1", + "auto-changelog": "^2.5.0", + "encoding": "^0.1.13", + "es-value-fixtures": "^1.7.1", + "eslint": "=8.8.0", + "evalmd": "^0.0.19", + "for-each": "^0.3.5", + "has-strict-mode": "^1.1.0", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "object-inspect": "^1.13.4", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "testling": { + "files": "test/index.js" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "engines": { + "node": ">= 0.4" + } +} diff --git a/tools/ui/node_modules/call-bind-apply-helpers/reflectApply.d.ts b/tools/ui/node_modules/call-bind-apply-helpers/reflectApply.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6b2ae764c54541ae224d93bb49e8f176260601b6 --- /dev/null +++ b/tools/ui/node_modules/call-bind-apply-helpers/reflectApply.d.ts @@ -0,0 +1,3 @@ +declare const reflectApply: false | typeof Reflect.apply; + +export = reflectApply; diff --git a/tools/ui/node_modules/call-bind-apply-helpers/reflectApply.js b/tools/ui/node_modules/call-bind-apply-helpers/reflectApply.js new file mode 100644 index 0000000000000000000000000000000000000000..3d03caa695a5dd65a5aebbd2819621e757bda420 --- /dev/null +++ b/tools/ui/node_modules/call-bind-apply-helpers/reflectApply.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./reflectApply')} */ +module.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply; diff --git a/tools/ui/node_modules/call-bind-apply-helpers/test/index.js b/tools/ui/node_modules/call-bind-apply-helpers/test/index.js new file mode 100644 index 0000000000000000000000000000000000000000..1cdc89ed4925c800751b44108a2e78305224d07c --- /dev/null +++ b/tools/ui/node_modules/call-bind-apply-helpers/test/index.js @@ -0,0 +1,63 @@ +'use strict'; + +var callBind = require('../'); +var hasStrictMode = require('has-strict-mode')(); +var forEach = require('for-each'); +var inspect = require('object-inspect'); +var v = require('es-value-fixtures'); + +var test = require('tape'); + +test('callBindBasic', function (t) { + forEach(v.nonFunctions, function (nonFunction) { + t['throws']( + // @ts-expect-error + function () { callBind([nonFunction]); }, + TypeError, + inspect(nonFunction) + ' is not a function' + ); + }); + + var sentinel = { sentinel: true }; + /** @type {(this: T, a: A, b: B) => [T | undefined, A, B]} */ + var func = function (a, b) { + // eslint-disable-next-line no-invalid-this + return [!hasStrictMode && this === global ? undefined : this, a, b]; + }; + t.equal(func.length, 2, 'original function length is 2'); + + /** type {(thisArg: unknown, a: number, b: number) => [unknown, number, number]} */ + var bound = callBind([func]); + /** type {((a: number, b: number) => [typeof sentinel, typeof a, typeof b])} */ + var boundR = callBind([func, sentinel]); + /** type {((b: number) => [typeof sentinel, number, typeof b])} */ + var boundArg = callBind([func, sentinel, /** @type {const} */ (1)]); + + // @ts-expect-error + t.deepEqual(bound(), [undefined, undefined, undefined], 'bound func with no args'); + + // @ts-expect-error + t.deepEqual(func(), [undefined, undefined, undefined], 'unbound func with too few args'); + // @ts-expect-error + t.deepEqual(bound(1, 2), [hasStrictMode ? 1 : Object(1), 2, undefined], 'bound func too few args'); + // @ts-expect-error + t.deepEqual(boundR(), [sentinel, undefined, undefined], 'bound func with receiver, with too few args'); + // @ts-expect-error + t.deepEqual(boundArg(), [sentinel, 1, undefined], 'bound func with receiver and arg, with too few args'); + + t.deepEqual(func(1, 2), [undefined, 1, 2], 'unbound func with right args'); + t.deepEqual(bound(1, 2, 3), [hasStrictMode ? 1 : Object(1), 2, 3], 'bound func with right args'); + t.deepEqual(boundR(1, 2), [sentinel, 1, 2], 'bound func with receiver, with right args'); + t.deepEqual(boundArg(2), [sentinel, 1, 2], 'bound func with receiver and arg, with right arg'); + + // @ts-expect-error + t.deepEqual(func(1, 2, 3), [undefined, 1, 2], 'unbound func with too many args'); + // @ts-expect-error + t.deepEqual(bound(1, 2, 3, 4), [hasStrictMode ? 1 : Object(1), 2, 3], 'bound func with too many args'); + // @ts-expect-error + t.deepEqual(boundR(1, 2, 3), [sentinel, 1, 2], 'bound func with receiver, with too many args'); + // @ts-expect-error + t.deepEqual(boundArg(2, 3), [sentinel, 1, 2], 'bound func with receiver and arg, with too many args'); + + t.end(); +}); diff --git a/tools/ui/node_modules/call-bind-apply-helpers/tsconfig.json b/tools/ui/node_modules/call-bind-apply-helpers/tsconfig.json new file mode 100644 index 0000000000000000000000000000000000000000..aef9993084c3643257b6d6aea21f76017caf92a7 --- /dev/null +++ b/tools/ui/node_modules/call-bind-apply-helpers/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "@ljharb/tsconfig", + "compilerOptions": { + "target": "es2021", + }, + "exclude": [ + "coverage", + ], +} \ No newline at end of file diff --git a/tools/ui/node_modules/call-bind/.eslintignore b/tools/ui/node_modules/call-bind/.eslintignore new file mode 100644 index 0000000000000000000000000000000000000000..404abb22121cdcbb710c56f4ba2684789cb2868c --- /dev/null +++ b/tools/ui/node_modules/call-bind/.eslintignore @@ -0,0 +1 @@ +coverage/ diff --git a/tools/ui/node_modules/call-bind/.eslintrc b/tools/ui/node_modules/call-bind/.eslintrc new file mode 100644 index 0000000000000000000000000000000000000000..dfa9a6cdcf03e3f611cb91a59c68327d040a5d58 --- /dev/null +++ b/tools/ui/node_modules/call-bind/.eslintrc @@ -0,0 +1,16 @@ +{ + "root": true, + + "extends": "@ljharb", + + "rules": { + "func-name-matching": 0, + "id-length": 0, + "new-cap": [2, { + "capIsNewExceptions": [ + "GetIntrinsic", + ], + }], + "no-magic-numbers": 0, + }, +} diff --git a/tools/ui/node_modules/call-bind/.github/FUNDING.yml b/tools/ui/node_modules/call-bind/.github/FUNDING.yml new file mode 100644 index 0000000000000000000000000000000000000000..c70c2ecdb216df098ffbaba7773e6d8cf52e9bf3 --- /dev/null +++ b/tools/ui/node_modules/call-bind/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: [ljharb] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: npm/call-bind +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/tools/ui/node_modules/call-bind/.nycrc b/tools/ui/node_modules/call-bind/.nycrc new file mode 100644 index 0000000000000000000000000000000000000000..bdd626ce91477abbdd489b79988baebadbd3c897 --- /dev/null +++ b/tools/ui/node_modules/call-bind/.nycrc @@ -0,0 +1,9 @@ +{ + "all": true, + "check-coverage": false, + "reporter": ["text-summary", "text", "html", "json"], + "exclude": [ + "coverage", + "test" + ] +} diff --git a/tools/ui/node_modules/call-bind/CHANGELOG.md b/tools/ui/node_modules/call-bind/CHANGELOG.md new file mode 100644 index 0000000000000000000000000000000000000000..4eeae09ec590e2c22059b2af9a680fd2cf3c27b4 --- /dev/null +++ b/tools/ui/node_modules/call-bind/CHANGELOG.md @@ -0,0 +1,115 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.0.9](https://github.com/ljharb/call-bind/compare/v1.0.8...v1.0.9) - 2026-04-09 + +### Commits + +- [Fix] correct `.length` computation when partial args exceed function arity [`95c406d`](https://github.com/ljharb/call-bind/commit/95c406dff9e763ff840585dc6c375b0129adb248) +- [Dev Deps] update `@ljharb/eslint-config`, `es-value-fixtures`, `eslint`, `for-each`, `has-strict-mode`, `npmignore`, `object-inspect` [`06a4e21`](https://github.com/ljharb/call-bind/commit/06a4e2107ebe5411c781c8a4aab7ef34f83bc8f5) +- [Deps] update `call-bind-apply-helpers`, `es-define-property`, `get-intrinsic` [`3fea81e`](https://github.com/ljharb/call-bind/commit/3fea81e9a57a2a4bc283c20883ae72fb310a3e0e) +- [readme] replace runkit CI badge with shields.io check-runs badge [`23437d4`](https://github.com/ljharb/call-bind/commit/23437d42c9ca880feba441a23a141313d558fc30) + +## [v1.0.8](https://github.com/ljharb/call-bind/compare/v1.0.7...v1.0.8) - 2024-12-05 + +### Commits + +- [Refactor] extract out some helpers and avoid get-intrinsic usage [`407fd5e`](https://github.com/ljharb/call-bind/commit/407fd5eec34ec58394522a6ce3badfa4788fd5ae) +- [Refactor] replace code with extracted `call-bind-apply-helpers` [`81018fb`](https://github.com/ljharb/call-bind/commit/81018fb78902ff5acbc6c09300780e97f0db6a34) +- [Tests] use `set-function-length/env` [`0fc311d`](https://github.com/ljharb/call-bind/commit/0fc311de0e115cfa6b02969b23a42ad45aadf224) +- [actions] split out node 10-20, and 20+ [`77a0cad`](https://github.com/ljharb/call-bind/commit/77a0cad75f83f5b8050dc13baef4fa2cff537fa3) +- [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `es-value-fixtures`, `gopd`, `object-inspect`, `tape` [`a145d10`](https://github.com/ljharb/call-bind/commit/a145d10fe847f350e11094f8541848b028ee8c91) +- [Tests] replace `aud` with `npm audit` [`30ca3dd`](https://github.com/ljharb/call-bind/commit/30ca3dd7234648eb029947477d06b17879e10727) +- [Deps] update `set-function-length` [`57c79a3`](https://github.com/ljharb/call-bind/commit/57c79a3666022ea797cc2a4a3b43fe089bc97d1b) +- [Dev Deps] add missing peer dep [`601cfa5`](https://github.com/ljharb/call-bind/commit/601cfa5540066b6206039ceb9496cecbd134ff7b) + +## [v1.0.7](https://github.com/ljharb/call-bind/compare/v1.0.6...v1.0.7) - 2024-02-12 + +### Commits + +- [Refactor] use `es-define-property` [`09b76a0`](https://github.com/ljharb/call-bind/commit/09b76a01634440461d44a80c9924ec4b500f3b03) +- [Deps] update `get-intrinsic`, `set-function-length` [`ad5136d`](https://github.com/ljharb/call-bind/commit/ad5136ddda2a45c590959829ad3dce0c9f4e3590) + +## [v1.0.6](https://github.com/ljharb/call-bind/compare/v1.0.5...v1.0.6) - 2024-02-05 + +### Commits + +- [Dev Deps] update `aud`, `npmignore`, `tape` [`d564d5c`](https://github.com/ljharb/call-bind/commit/d564d5ce3e06a19df4d499c77f8d1a9da44e77aa) +- [Deps] update `get-intrinsic`, `set-function-length` [`cfc2bdc`](https://github.com/ljharb/call-bind/commit/cfc2bdca7b633df0e0e689e6b637f668f1c6792e) +- [Refactor] use `es-errors`, so things that only need those do not need `get-intrinsic` [`64cd289`](https://github.com/ljharb/call-bind/commit/64cd289ae5862c250a4ca80aa8d461047c166af5) +- [meta] add missing `engines.node` [`32a4038`](https://github.com/ljharb/call-bind/commit/32a4038857b62179f7f9b7b3df2c5260036be582) + +## [v1.0.5](https://github.com/ljharb/call-bind/compare/v1.0.4...v1.0.5) - 2023-10-19 + +### Commits + +- [Fix] throw an error on non-functions as early as possible [`f262408`](https://github.com/ljharb/call-bind/commit/f262408f822c840fbc268080f3ad7c429611066d) +- [Deps] update `set-function-length` [`3fff271`](https://github.com/ljharb/call-bind/commit/3fff27145a1e3a76a5b74f1d7c3c43d0fa3b9871) + +## [v1.0.4](https://github.com/ljharb/call-bind/compare/v1.0.3...v1.0.4) - 2023-10-19 + +## [v1.0.3](https://github.com/ljharb/call-bind/compare/v1.0.2...v1.0.3) - 2023-10-19 + +### Commits + +- [actions] reuse common workflows [`a994df6`](https://github.com/ljharb/call-bind/commit/a994df69f401f4bf735a4ccd77029b85d1549453) +- [meta] use `npmignore` to autogenerate an npmignore file [`eef3ef2`](https://github.com/ljharb/call-bind/commit/eef3ef21e1f002790837fedb8af2679c761fbdf5) +- [readme] flesh out content [`1845ccf`](https://github.com/ljharb/call-bind/commit/1845ccfd9976a607884cfc7157c93192cc16cf22) +- [actions] use `node/install` instead of `node/run`; use `codecov` action [`5b47d53`](https://github.com/ljharb/call-bind/commit/5b47d53d2fd74af5ea0a44f1d51e503cd42f7a90) +- [Refactor] use `set-function-length` [`a0e165c`](https://github.com/ljharb/call-bind/commit/a0e165c5dc61db781cbc919b586b1c2b8da0b150) +- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`9c50103`](https://github.com/ljharb/call-bind/commit/9c50103f44137279a817317cf6cc421a658f85b4) +- [meta] simplify "exports" [`019c6d0`](https://github.com/ljharb/call-bind/commit/019c6d06b0e1246ceed8e579f57e44441cbbf6d9) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `safe-publish-latest`, `tape` [`23bd718`](https://github.com/ljharb/call-bind/commit/23bd718a288d3b03042062b4ef5153b3cea83f11) +- [actions] update codecov uploader [`62552d7`](https://github.com/ljharb/call-bind/commit/62552d79cc79e05825e99aaba134ae5b37f33da5) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`ec81665`](https://github.com/ljharb/call-bind/commit/ec81665b300f87eabff597afdc8b8092adfa7afd) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `tape` [`35d67fc`](https://github.com/ljharb/call-bind/commit/35d67fcea883e686650f736f61da5ddca2592de8) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`0266d8d`](https://github.com/ljharb/call-bind/commit/0266d8d2a45086a922db366d0c2932fa463662ff) +- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`43a5b28`](https://github.com/ljharb/call-bind/commit/43a5b28a444e710e1bbf92adb8afb5cf7523a223) +- [Deps] update `define-data-property`, `function-bind`, `get-intrinsic` [`780eb36`](https://github.com/ljharb/call-bind/commit/780eb36552514f8cc99c70821ce698697c2726a5) +- [Dev Deps] update `aud`, `tape` [`90d50ad`](https://github.com/ljharb/call-bind/commit/90d50ad03b061e0268b3380b0065fcaec183dc05) +- [meta] use `prepublishOnly` script for npm 7+ [`44c5433`](https://github.com/ljharb/call-bind/commit/44c5433b7980e02b4870007046407cf6fc543329) +- [Deps] update `get-intrinsic` [`86bfbfc`](https://github.com/ljharb/call-bind/commit/86bfbfcf34afdc6eabc93ce3d408548d0e27d958) +- [Deps] update `get-intrinsic` [`5c53354`](https://github.com/ljharb/call-bind/commit/5c5335489be0294c18cd7a8bb6e08226ee019ff5) +- [actions] update checkout action [`4c393a8`](https://github.com/ljharb/call-bind/commit/4c393a8173b3c8e5b30d5b3297b3b94d48bf87f3) +- [Deps] update `get-intrinsic` [`4e70bde`](https://github.com/ljharb/call-bind/commit/4e70bdec0626acb11616d66250fc14565e716e91) +- [Deps] update `get-intrinsic` [`55ae803`](https://github.com/ljharb/call-bind/commit/55ae803a920bd93c369cd798c20de31f91e9fc60) + +## [v1.0.2](https://github.com/ljharb/call-bind/compare/v1.0.1...v1.0.2) - 2021-01-11 + +### Commits + +- [Fix] properly include the receiver in the bound length [`dbae7bc`](https://github.com/ljharb/call-bind/commit/dbae7bc676c079a0d33c0a43e9ef92cb7b01345d) + +## [v1.0.1](https://github.com/ljharb/call-bind/compare/v1.0.0...v1.0.1) - 2021-01-08 + +### Commits + +- [Tests] migrate tests to Github Actions [`b6db284`](https://github.com/ljharb/call-bind/commit/b6db284c36f8ccd195b88a6764fe84b7223a0da1) +- [meta] do not publish github action workflow files [`ec7fe46`](https://github.com/ljharb/call-bind/commit/ec7fe46e60cfa4764ee943d2755f5e5a366e578e) +- [Fix] preserve original function’s length when possible [`adbceaa`](https://github.com/ljharb/call-bind/commit/adbceaa3cac4b41ea78bb19d7ccdbaaf7e0bdadb) +- [Tests] gather coverage data on every job [`d69e23c`](https://github.com/ljharb/call-bind/commit/d69e23cc65f101ba1d4c19bb07fa8eb0ec624be8) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`2fd3586`](https://github.com/ljharb/call-bind/commit/2fd3586c5d47b335364c14293114c6b625ae1f71) +- [Deps] update `get-intrinsic` [`f23e931`](https://github.com/ljharb/call-bind/commit/f23e9318cc271c2add8bb38cfded85ee7baf8eee) +- [Deps] update `get-intrinsic` [`72d9f44`](https://github.com/ljharb/call-bind/commit/72d9f44e184465ba8dd3fb48260bbcff234985f2) +- [meta] fix FUNDING.yml [`e723573`](https://github.com/ljharb/call-bind/commit/e723573438c5a68dcec31fb5d96ea6b7e4a93be8) +- [eslint] ignore coverage output [`15e76d2`](https://github.com/ljharb/call-bind/commit/15e76d28a5f43e504696401e5b31ebb78ee1b532) +- [meta] add Automatic Rebase and Require Allow Edits workflows [`8fa4dab`](https://github.com/ljharb/call-bind/commit/8fa4dabb23ba3dd7bb92c9571c1241c08b56e4b6) + +## v1.0.0 - 2020-10-30 + +### Commits + +- Initial commit [`306cf98`](https://github.com/ljharb/call-bind/commit/306cf98c7ec9e7ef66b653ec152277ac1381eb50) +- Tests [`e10d0bb`](https://github.com/ljharb/call-bind/commit/e10d0bbdadc7a10ecedc9a1c035112d3e368b8df) +- Implementation [`43852ed`](https://github.com/ljharb/call-bind/commit/43852eda0f187327b7fad2423ca972149a52bd65) +- npm init [`408f860`](https://github.com/ljharb/call-bind/commit/408f860b773a2f610805fd3613d0d71bac1b6249) +- [meta] add Automatic Rebase and Require Allow Edits workflows [`fb349b2`](https://github.com/ljharb/call-bind/commit/fb349b2e48defbec8b5ec8a8395cc8f69f220b13) +- [meta] add `auto-changelog` [`c4001fc`](https://github.com/ljharb/call-bind/commit/c4001fc43031799ef908211c98d3b0fb2b60fde4) +- [meta] add "funding"; create `FUNDING.yml` [`d4d6d29`](https://github.com/ljharb/call-bind/commit/d4d6d2974a14bc2e98830468eda7fe6d6a776717) +- [Tests] add `npm run lint` [`dedfb98`](https://github.com/ljharb/call-bind/commit/dedfb98bd0ecefb08ddb9a94061bd10cde4332af) +- Only apps should have lockfiles [`54ac776`](https://github.com/ljharb/call-bind/commit/54ac77653db45a7361dc153d2f478e743f110650) +- [meta] add `safe-publish-latest` [`9ea8e43`](https://github.com/ljharb/call-bind/commit/9ea8e435b950ce9b705559cd651039f9bf40140f) diff --git a/tools/ui/node_modules/call-bind/LICENSE b/tools/ui/node_modules/call-bind/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..48f05d01d0acae75acada5bd42a3442d0699d067 --- /dev/null +++ b/tools/ui/node_modules/call-bind/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/tools/ui/node_modules/call-bind/README.md b/tools/ui/node_modules/call-bind/README.md new file mode 100644 index 0000000000000000000000000000000000000000..2d04aef611179de65e3c191c8a242286c339cea6 --- /dev/null +++ b/tools/ui/node_modules/call-bind/README.md @@ -0,0 +1,64 @@ +# call-bind [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![dependency status][deps-svg]][deps-url] +[![dev dependency status][dev-deps-svg]][dev-deps-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +Robustly `.call.bind()` a function. + +## Getting started + +```sh +npm install --save call-bind +``` + +## Usage/Examples + +```js +const assert = require('assert'); +const callBind = require('call-bind'); +const callBound = require('call-bind/callBound'); + +function f(a, b) { + assert.equal(this, 1); + assert.equal(a, 2); + assert.equal(b, 3); + assert.equal(arguments.length, 2); +} + +const fBound = callBind(f); + +const slice = callBound('Array.prototype.slice'); + +delete Function.prototype.call; +delete Function.prototype.bind; + +fBound(1, 2, 3); + +assert.deepEqual(slice([1, 2, 3, 4], 1, -1), [2, 3]); +``` + +## Tests + +Clone the repo, `npm install`, and run `npm test` + +[package-url]: https://npmjs.org/package/call-bind +[npm-version-svg]: https://versionbadg.es/ljharb/call-bind.svg +[deps-svg]: https://david-dm.org/ljharb/call-bind.svg +[deps-url]: https://david-dm.org/ljharb/call-bind +[dev-deps-svg]: https://david-dm.org/ljharb/call-bind/dev-status.svg +[dev-deps-url]: https://david-dm.org/ljharb/call-bind#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/call-bind.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/call-bind.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/call-bind.svg +[downloads-url]: https://npm-stat.com/charts.html?package=call-bind +[codecov-image]: https://codecov.io/gh/ljharb/call-bind/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/ljharb/call-bind/ +[actions-image]: https://img.shields.io/github/check-runs/ljharb/call-bind/main +[actions-url]: https://github.com/ljharb/call-bind/actions diff --git a/tools/ui/node_modules/call-bind/callBound.js b/tools/ui/node_modules/call-bind/callBound.js new file mode 100644 index 0000000000000000000000000000000000000000..8374adfd0549fef7cc678ab66089596afb7f8172 --- /dev/null +++ b/tools/ui/node_modules/call-bind/callBound.js @@ -0,0 +1,15 @@ +'use strict'; + +var GetIntrinsic = require('get-intrinsic'); + +var callBind = require('./'); + +var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf')); + +module.exports = function callBoundIntrinsic(name, allowMissing) { + var intrinsic = GetIntrinsic(name, !!allowMissing); + if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) { + return callBind(intrinsic); + } + return intrinsic; +}; diff --git a/tools/ui/node_modules/call-bind/index.js b/tools/ui/node_modules/call-bind/index.js new file mode 100644 index 0000000000000000000000000000000000000000..c111fc0154d429df3d6ce4d623f6b2b0abd8cbba --- /dev/null +++ b/tools/ui/node_modules/call-bind/index.js @@ -0,0 +1,24 @@ +'use strict'; + +var setFunctionLength = require('set-function-length'); + +var $defineProperty = require('es-define-property'); + +var callBindBasic = require('call-bind-apply-helpers'); +var applyBind = require('call-bind-apply-helpers/applyBind'); + +module.exports = function callBind(originalFunction) { + var func = callBindBasic(arguments); + var adjustedLength = 1 + originalFunction.length - (arguments.length - 1); + return setFunctionLength( + func, + adjustedLength > 0 ? adjustedLength : 0, + true + ); +}; + +if ($defineProperty) { + $defineProperty(module.exports, 'apply', { value: applyBind }); +} else { + module.exports.apply = applyBind; +} diff --git a/tools/ui/node_modules/call-bind/package.json b/tools/ui/node_modules/call-bind/package.json new file mode 100644 index 0000000000000000000000000000000000000000..85f9d8e51655a28fcfbb487e8b1cf80ee20e5bf4 --- /dev/null +++ b/tools/ui/node_modules/call-bind/package.json @@ -0,0 +1,93 @@ +{ + "name": "call-bind", + "version": "1.0.9", + "description": "Robustly `.call.bind()` a function", + "main": "index.js", + "exports": { + ".": "./index.js", + "./callBound": "./callBound.js", + "./package.json": "./package.json" + }, + "scripts": { + "prepack": "npmignore --auto --commentLines=auto", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepublishOnly": "safe-publish-latest", + "lint": "eslint --ext=.js,.mjs .", + "postlint": "evalmd README.md", + "pretest": "npm run lint", + "tests-only": "nyc tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "npx npm@'>=10.2' audit --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/call-bind.git" + }, + "keywords": [ + "javascript", + "ecmascript", + "es", + "js", + "callbind", + "callbound", + "call", + "bind", + "bound", + "call-bind", + "call-bound", + "function", + "es-abstract" + ], + "author": "Jordan Harband ", + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/call-bind/issues" + }, + "homepage": "https://github.com/ljharb/call-bind#readme", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "get-intrinsic": "^1.3.0", + "set-function-length": "^1.2.2" + }, + "devDependencies": { + "@ljharb/eslint-config": "^22.2.2", + "auto-changelog": "^2.5.0", + "encoding": "^0.1.13", + "es-value-fixtures": "^1.7.1", + "eslint": "^8.57.1", + "evalmd": "^0.0.19", + "for-each": "^0.3.5", + "has-strict-mode": "^1.1.0", + "in-publish": "^2.0.1", + "npmignore": "^0.3.5", + "nyc": "^10.3.2", + "object-inspect": "^1.13.4", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0" + }, + "testling": { + "files": "test/index.js" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "engines": { + "node": ">= 0.4" + } +} diff --git a/tools/ui/node_modules/call-bind/test/callBound.js b/tools/ui/node_modules/call-bind/test/callBound.js new file mode 100644 index 0000000000000000000000000000000000000000..c32319d70d3e3f75b6c9b046666af68ed52e8ce6 --- /dev/null +++ b/tools/ui/node_modules/call-bind/test/callBound.js @@ -0,0 +1,54 @@ +'use strict'; + +var test = require('tape'); + +var callBound = require('../callBound'); + +test('callBound', function (t) { + // static primitive + t.equal(callBound('Array.length'), Array.length, 'Array.length yields itself'); + t.equal(callBound('%Array.length%'), Array.length, '%Array.length% yields itself'); + + // static non-function object + t.equal(callBound('Array.prototype'), Array.prototype, 'Array.prototype yields itself'); + t.equal(callBound('%Array.prototype%'), Array.prototype, '%Array.prototype% yields itself'); + t.equal(callBound('Array.constructor'), Array.constructor, 'Array.constructor yields itself'); + t.equal(callBound('%Array.constructor%'), Array.constructor, '%Array.constructor% yields itself'); + + // static function + t.equal(callBound('Date.parse'), Date.parse, 'Date.parse yields itself'); + t.equal(callBound('%Date.parse%'), Date.parse, '%Date.parse% yields itself'); + + // prototype primitive + t.equal(callBound('Error.prototype.message'), Error.prototype.message, 'Error.prototype.message yields itself'); + t.equal(callBound('%Error.prototype.message%'), Error.prototype.message, '%Error.prototype.message% yields itself'); + + // prototype function + t.notEqual(callBound('Object.prototype.toString'), Object.prototype.toString, 'Object.prototype.toString does not yield itself'); + t.notEqual(callBound('%Object.prototype.toString%'), Object.prototype.toString, '%Object.prototype.toString% does not yield itself'); + t.equal(callBound('Object.prototype.toString')(true), Object.prototype.toString.call(true), 'call-bound Object.prototype.toString calls into the original'); + t.equal(callBound('%Object.prototype.toString%')(true), Object.prototype.toString.call(true), 'call-bound %Object.prototype.toString% calls into the original'); + + t['throws']( + function () { callBound('does not exist'); }, + SyntaxError, + 'nonexistent intrinsic throws' + ); + t['throws']( + function () { callBound('does not exist', true); }, + SyntaxError, + 'allowMissing arg still throws for unknown intrinsic' + ); + + t.test('real but absent intrinsic', { skip: typeof WeakRef !== 'undefined' }, function (st) { + st['throws']( + function () { callBound('WeakRef'); }, + TypeError, + 'real but absent intrinsic throws' + ); + st.equal(callBound('WeakRef', true), undefined, 'allowMissing arg avoids exception'); + st.end(); + }); + + t.end(); +}); diff --git a/tools/ui/node_modules/call-bind/test/index.js b/tools/ui/node_modules/call-bind/test/index.js new file mode 100644 index 0000000000000000000000000000000000000000..8e817439ca77a8ac6ebd0b9bbcac6f8a8a5f18b2 --- /dev/null +++ b/tools/ui/node_modules/call-bind/test/index.js @@ -0,0 +1,82 @@ +'use strict'; + +var callBind = require('../'); +var hasStrictMode = require('has-strict-mode')(); +var forEach = require('for-each'); +var inspect = require('object-inspect'); +var v = require('es-value-fixtures'); + +var test = require('tape'); + +/* + * older engines have length nonconfigurable + * in io.js v3, it is configurable except on bound functions, hence the .bind() + */ +var boundFnsHaveConfigurableLengths = require('set-function-length/env').boundFnsHaveConfigurableLengths; + +test('callBind', function (t) { + forEach(v.nonFunctions, function (nonFunction) { + t['throws']( + function () { callBind(nonFunction); }, + TypeError, + inspect(nonFunction) + ' is not a function' + ); + }); + + var sentinel = { sentinel: true }; + var func = function (a, b) { + return [!hasStrictMode && this === global ? undefined : this, a, b]; + }; + t.equal(func.length, 2, 'original function length is 2'); + t.deepEqual(func(), [undefined, undefined, undefined], 'unbound func with too few args'); + t.deepEqual(func(1, 2), [undefined, 1, 2], 'unbound func with right args'); + t.deepEqual(func(1, 2, 3), [undefined, 1, 2], 'unbound func with too many args'); + + var bound = callBind(func); + t.equal(bound.length, func.length + 1, 'function length is preserved', { skip: !boundFnsHaveConfigurableLengths }); + t.deepEqual(bound(), [undefined, undefined, undefined], 'bound func with too few args'); + t.deepEqual(bound(1, 2), [hasStrictMode ? 1 : Object(1), 2, undefined], 'bound func with right args'); + t.deepEqual(bound(1, 2, 3), [hasStrictMode ? 1 : Object(1), 2, 3], 'bound func with too many args'); + + var boundR = callBind(func, sentinel); + t.equal(boundR.length, func.length, 'function length is preserved', { skip: !boundFnsHaveConfigurableLengths }); + t.deepEqual(boundR(), [sentinel, undefined, undefined], 'bound func with receiver, with too few args'); + t.deepEqual(boundR(1, 2), [sentinel, 1, 2], 'bound func with receiver, with right args'); + t.deepEqual(boundR(1, 2, 3), [sentinel, 1, 2], 'bound func with receiver, with too many args'); + + var zeroLen = function () { + return [!hasStrictMode && this === global ? undefined : this]; + }; + t.equal(zeroLen.length, 0, 'zero-length function has length 0'); + + var boundZero = callBind(zeroLen, sentinel); + t.equal(boundZero.length, 0, 'zero-length function with receiver has length 0', { skip: !boundFnsHaveConfigurableLengths }); + t.deepEqual(boundZero(), [sentinel], 'zero-length bound func with receiver works'); + + var boundArg = callBind(func, sentinel, 1); + t.equal(boundArg.length, func.length - 1, 'function length is preserved', { skip: !boundFnsHaveConfigurableLengths }); + t.deepEqual(boundArg(), [sentinel, 1, undefined], 'bound func with receiver and arg, with too few args'); + t.deepEqual(boundArg(2), [sentinel, 1, 2], 'bound func with receiver and arg, with right arg'); + t.deepEqual(boundArg(2, 3), [sentinel, 1, 2], 'bound func with receiver and arg, with too many args'); + + t.test('callBind.apply', function (st) { + var aBound = callBind.apply(func); + st.deepEqual(aBound(sentinel), [sentinel, undefined, undefined], 'apply-bound func with no args'); + st.deepEqual(aBound(sentinel, [1], 4), [sentinel, 1, undefined], 'apply-bound func with too few args'); + st.deepEqual(aBound(sentinel, [1, 2], 4), [sentinel, 1, 2], 'apply-bound func with right args'); + + var aBoundArg = callBind.apply(func); + st.deepEqual(aBoundArg(sentinel, [1, 2, 3], 4), [sentinel, 1, 2], 'apply-bound func with too many args'); + st.deepEqual(aBoundArg(sentinel, [1, 2], 4), [sentinel, 1, 2], 'apply-bound func with right args'); + st.deepEqual(aBoundArg(sentinel, [1], 4), [sentinel, 1, undefined], 'apply-bound func with too few args'); + + var aBoundR = callBind.apply(func, sentinel); + st.deepEqual(aBoundR([1, 2, 3], 4), [sentinel, 1, 2], 'apply-bound func with receiver and too many args'); + st.deepEqual(aBoundR([1, 2], 4), [sentinel, 1, 2], 'apply-bound func with receiver and right args'); + st.deepEqual(aBoundR([1], 4), [sentinel, 1, undefined], 'apply-bound func with receiver and too few args'); + + st.end(); + }); + + t.end(); +}); diff --git a/tools/ui/node_modules/call-bound/.eslintrc b/tools/ui/node_modules/call-bound/.eslintrc new file mode 100644 index 0000000000000000000000000000000000000000..2612ed8fefad45d3a68ae842a28e0353ebcb5cf1 --- /dev/null +++ b/tools/ui/node_modules/call-bound/.eslintrc @@ -0,0 +1,13 @@ +{ + "root": true, + + "extends": "@ljharb", + + "rules": { + "new-cap": [2, { + "capIsNewExceptions": [ + "GetIntrinsic", + ], + }], + }, +} diff --git a/tools/ui/node_modules/call-bound/.github/FUNDING.yml b/tools/ui/node_modules/call-bound/.github/FUNDING.yml new file mode 100644 index 0000000000000000000000000000000000000000..2a2a13571375d28b56577ad1f91bddabde753f33 --- /dev/null +++ b/tools/ui/node_modules/call-bound/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: [ljharb] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: npm/call-bound +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/tools/ui/node_modules/call-bound/.nycrc b/tools/ui/node_modules/call-bound/.nycrc new file mode 100644 index 0000000000000000000000000000000000000000..bdd626ce91477abbdd489b79988baebadbd3c897 --- /dev/null +++ b/tools/ui/node_modules/call-bound/.nycrc @@ -0,0 +1,9 @@ +{ + "all": true, + "check-coverage": false, + "reporter": ["text-summary", "text", "html", "json"], + "exclude": [ + "coverage", + "test" + ] +} diff --git a/tools/ui/node_modules/call-bound/CHANGELOG.md b/tools/ui/node_modules/call-bound/CHANGELOG.md new file mode 100644 index 0000000000000000000000000000000000000000..8bde4e9a56313204c5cc43fceb634a5d0c69d6ca --- /dev/null +++ b/tools/ui/node_modules/call-bound/CHANGELOG.md @@ -0,0 +1,42 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.0.4](https://github.com/ljharb/call-bound/compare/v1.0.3...v1.0.4) - 2025-03-03 + +### Commits + +- [types] improve types [`e648922`](https://github.com/ljharb/call-bound/commit/e6489222a9e54f350fbf952ceabe51fd8b6027ff) +- [Dev Deps] update `@arethetypeswrong/cli`, `@ljharb/tsconfig`, `@types/tape`, `es-value-fixtures`, `for-each`, `has-strict-mode`, `object-inspect` [`a42a5eb`](https://github.com/ljharb/call-bound/commit/a42a5ebe6c1b54fcdc7997c7dc64fdca9e936719) +- [Deps] update `call-bind-apply-helpers`, `get-intrinsic` [`f529eac`](https://github.com/ljharb/call-bound/commit/f529eac132404c17156bbc23ab2297a25d0f20b8) + +## [v1.0.3](https://github.com/ljharb/call-bound/compare/v1.0.2...v1.0.3) - 2024-12-15 + +### Commits + +- [Refactor] use `call-bind-apply-helpers` instead of `call-bind` [`5e0b134`](https://github.com/ljharb/call-bound/commit/5e0b13496df14fb7d05dae9412f088da8d3f75be) +- [Deps] update `get-intrinsic` [`41fc967`](https://github.com/ljharb/call-bound/commit/41fc96732a22c7b7e8f381f93ccc54bb6293be2e) +- [readme] fix example [`79a0137`](https://github.com/ljharb/call-bound/commit/79a0137723f7c6d09c9c05452bbf8d5efb5d6e49) +- [meta] add `sideEffects` flag [`08b07be`](https://github.com/ljharb/call-bound/commit/08b07be7f1c03f67dc6f3cdaf0906259771859f7) + +## [v1.0.2](https://github.com/ljharb/call-bound/compare/v1.0.1...v1.0.2) - 2024-12-10 + +### Commits + +- [Dev Deps] update `@arethetypeswrong/cli`, `@ljharb/tsconfig`, `gopd` [`e6a5ffe`](https://github.com/ljharb/call-bound/commit/e6a5ffe849368fe4f74dfd6cdeca1b9baa39e8d5) +- [Deps] update `call-bind`, `get-intrinsic` [`2aeb5b5`](https://github.com/ljharb/call-bound/commit/2aeb5b521dc2b2683d1345c753ea1161de2d1c14) +- [types] improve return type [`1a0c9fe`](https://github.com/ljharb/call-bound/commit/1a0c9fe3114471e7ca1f57d104e2efe713bb4871) + +## v1.0.1 - 2024-12-05 + +### Commits + +- Initial implementation, tests, readme, types [`6d94121`](https://github.com/ljharb/call-bound/commit/6d94121a9243602e506334069f7a03189fe3363d) +- Initial commit [`0eae867`](https://github.com/ljharb/call-bound/commit/0eae867334ea025c33e6e91cdecfc9df96680cf9) +- npm init [`71b2479`](https://github.com/ljharb/call-bound/commit/71b2479c6723e0b7d91a6b663613067e98b7b275) +- Only apps should have lockfiles [`c3754a9`](https://github.com/ljharb/call-bound/commit/c3754a949b7f9132b47e2d18c1729889736741eb) +- [actions] skip `npm ls` in node < 10 [`74275a5`](https://github.com/ljharb/call-bound/commit/74275a5186b8caf6309b6b97472bdcb0df4683a8) +- [Dev Deps] add missing peer dep [`1354de8`](https://github.com/ljharb/call-bound/commit/1354de8679413e4ae9c523d85f76fa7a5e032d97) diff --git a/tools/ui/node_modules/call-bound/LICENSE b/tools/ui/node_modules/call-bound/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..f82f38963b0d282b529f64def2bcd40be3a9a947 --- /dev/null +++ b/tools/ui/node_modules/call-bound/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/tools/ui/node_modules/call-bound/README.md b/tools/ui/node_modules/call-bound/README.md new file mode 100644 index 0000000000000000000000000000000000000000..a44e43e56e07b9dce55d14eba09dcbbaf2024303 --- /dev/null +++ b/tools/ui/node_modules/call-bound/README.md @@ -0,0 +1,53 @@ +# call-bound [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![dependency status][deps-svg]][deps-url] +[![dev dependency status][dev-deps-svg]][dev-deps-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +Robust call-bound JavaScript intrinsics, using `call-bind` and `get-intrinsic`. + +## Getting started + +```sh +npm install --save call-bound +``` + +## Usage/Examples + +```js +const assert = require('assert'); +const callBound = require('call-bound'); + +const slice = callBound('Array.prototype.slice'); + +delete Function.prototype.call; +delete Function.prototype.bind; +delete Array.prototype.slice; + +assert.deepEqual(slice([1, 2, 3, 4], 1, -1), [2, 3]); +``` + +## Tests + +Clone the repo, `npm install`, and run `npm test` + +[package-url]: https://npmjs.org/package/call-bound +[npm-version-svg]: https://versionbadg.es/ljharb/call-bound.svg +[deps-svg]: https://david-dm.org/ljharb/call-bound.svg +[deps-url]: https://david-dm.org/ljharb/call-bound +[dev-deps-svg]: https://david-dm.org/ljharb/call-bound/dev-status.svg +[dev-deps-url]: https://david-dm.org/ljharb/call-bound#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/call-bound.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/call-bound.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/call-bound.svg +[downloads-url]: https://npm-stat.com/charts.html?package=call-bound +[codecov-image]: https://codecov.io/gh/ljharb/call-bound/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/ljharb/call-bound/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/call-bound +[actions-url]: https://github.com/ljharb/call-bound/actions diff --git a/tools/ui/node_modules/call-bound/index.d.ts b/tools/ui/node_modules/call-bound/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..5562f00ed88c9b9c1ba622ef9c06a95b34d972c1 --- /dev/null +++ b/tools/ui/node_modules/call-bound/index.d.ts @@ -0,0 +1,94 @@ +type Intrinsic = typeof globalThis; + +type IntrinsicName = keyof Intrinsic | `%${keyof Intrinsic}%`; + +type IntrinsicPath = IntrinsicName | `${StripPercents}.${string}` | `%${StripPercents}.${string}%`; + +type AllowMissing = boolean; + +type StripPercents = T extends `%${infer U}%` ? U : T; + +type BindMethodPrecise = + F extends (this: infer This, ...args: infer Args) => infer R + ? (obj: This, ...args: Args) => R + : F extends { + (this: infer This1, ...args: infer Args1): infer R1; + (this: infer This2, ...args: infer Args2): infer R2 + } + ? { + (obj: This1, ...args: Args1): R1; + (obj: This2, ...args: Args2): R2 + } + : never + +// Extract method type from a prototype +type GetPrototypeMethod = + (typeof globalThis)[T] extends { prototype: any } + ? M extends keyof (typeof globalThis)[T]['prototype'] + ? (typeof globalThis)[T]['prototype'][M] + : never + : never + +// Get static property/method +type GetStaticMember = + P extends keyof (typeof globalThis)[T] ? (typeof globalThis)[T][P] : never + +// Type that maps string path to actual bound function or value with better precision +type BoundIntrinsic = + S extends `${infer Obj}.prototype.${infer Method}` + ? Obj extends keyof typeof globalThis + ? BindMethodPrecise> + : unknown + : S extends `${infer Obj}.${infer Prop}` + ? Obj extends keyof typeof globalThis + ? GetStaticMember + : unknown + : unknown + +declare function arraySlice(array: readonly T[], start?: number, end?: number): T[]; +declare function arraySlice(array: ArrayLike, start?: number, end?: number): T[]; +declare function arraySlice(array: IArguments, start?: number, end?: number): T[]; + +// Special cases for methods that need explicit typing +interface SpecialCases { + '%Object.prototype.isPrototypeOf%': (thisArg: {}, obj: unknown) => boolean; + '%String.prototype.replace%': { + (str: string, searchValue: string | RegExp, replaceValue: string): string; + (str: string, searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string + }; + '%Object.prototype.toString%': (obj: {}) => string; + '%Object.prototype.hasOwnProperty%': (obj: {}, v: PropertyKey) => boolean; + '%Array.prototype.slice%': typeof arraySlice; + '%Array.prototype.map%': (array: readonly T[], callbackfn: (value: T, index: number, array: readonly T[]) => U, thisArg?: any) => U[]; + '%Array.prototype.filter%': (array: readonly T[], predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any) => T[]; + '%Array.prototype.indexOf%': (array: readonly T[], searchElement: T, fromIndex?: number) => number; + '%Function.prototype.apply%': (fn: (...args: A) => R, thisArg: any, args: A) => R; + '%Function.prototype.call%': (fn: (...args: A) => R, thisArg: any, ...args: A) => R; + '%Function.prototype.bind%': (fn: (...args: A) => R, thisArg: any, ...args: A) => (...remainingArgs: A) => R; + '%Promise.prototype.then%': { + (promise: Promise, onfulfilled: (value: T) => R | PromiseLike): Promise; + (promise: Promise, onfulfilled: ((value: T) => R | PromiseLike) | undefined | null, onrejected: (reason: any) => R | PromiseLike): Promise; + }; + '%RegExp.prototype.test%': (regexp: RegExp, str: string) => boolean; + '%RegExp.prototype.exec%': (regexp: RegExp, str: string) => RegExpExecArray | null; + '%Error.prototype.toString%': (error: Error) => string; + '%TypeError.prototype.toString%': (error: TypeError) => string; + '%String.prototype.split%': ( + obj: unknown, + splitter: string | RegExp | { + [Symbol.split](string: string, limit?: number): string[]; + }, + limit?: number | undefined + ) => string[]; +} + +/** + * Returns a bound function for a prototype method, or a value for a static property. + * + * @param name - The name of the intrinsic (e.g. 'Array.prototype.slice') + * @param {AllowMissing} [allowMissing] - Whether to allow missing intrinsics (default: false) + */ +declare function callBound, S extends IntrinsicPath>(name: K, allowMissing?: AllowMissing): SpecialCases[`%${StripPercents}%`]; +declare function callBound, S extends IntrinsicPath>(name: S, allowMissing?: AllowMissing): BoundIntrinsic; + +export = callBound; diff --git a/tools/ui/node_modules/call-bound/index.js b/tools/ui/node_modules/call-bound/index.js new file mode 100644 index 0000000000000000000000000000000000000000..e9ade749d90b7eb0eebdb0626c0f22355c833389 --- /dev/null +++ b/tools/ui/node_modules/call-bound/index.js @@ -0,0 +1,19 @@ +'use strict'; + +var GetIntrinsic = require('get-intrinsic'); + +var callBindBasic = require('call-bind-apply-helpers'); + +/** @type {(thisArg: string, searchString: string, position?: number) => number} */ +var $indexOf = callBindBasic([GetIntrinsic('%String.prototype.indexOf%')]); + +/** @type {import('.')} */ +module.exports = function callBoundIntrinsic(name, allowMissing) { + /* eslint no-extra-parens: 0 */ + + var intrinsic = /** @type {(this: unknown, ...args: unknown[]) => unknown} */ (GetIntrinsic(name, !!allowMissing)); + if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) { + return callBindBasic(/** @type {const} */ ([intrinsic])); + } + return intrinsic; +}; diff --git a/tools/ui/node_modules/call-bound/package.json b/tools/ui/node_modules/call-bound/package.json new file mode 100644 index 0000000000000000000000000000000000000000..d542db430ed3b58551bbfa688d47c591e9150cb7 --- /dev/null +++ b/tools/ui/node_modules/call-bound/package.json @@ -0,0 +1,99 @@ +{ + "name": "call-bound", + "version": "1.0.4", + "description": "Robust call-bound JavaScript intrinsics, using `call-bind` and `get-intrinsic`.", + "main": "index.js", + "exports": { + ".": "./index.js", + "./package.json": "./package.json" + }, + "sideEffects": false, + "scripts": { + "prepack": "npmignore --auto --commentLines=auto", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepublishOnly": "safe-publish-latest", + "prelint": "evalmd README.md", + "lint": "eslint --ext=.js,.mjs .", + "postlint": "tsc -p . && attw -P", + "pretest": "npm run lint", + "tests-only": "nyc tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "npx npm@'>=10.2' audit --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/call-bound.git" + }, + "keywords": [ + "javascript", + "ecmascript", + "es", + "js", + "callbind", + "callbound", + "call", + "bind", + "bound", + "call-bind", + "call-bound", + "function", + "es-abstract" + ], + "author": "Jordan Harband ", + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/call-bound/issues" + }, + "homepage": "https://github.com/ljharb/call-bound#readme", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "get-intrinsic": "^1.3.0" + }, + "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.3.0", + "@types/call-bind": "^1.0.5", + "@types/get-intrinsic": "^1.2.3", + "@types/tape": "^5.8.1", + "auto-changelog": "^2.5.0", + "encoding": "^0.1.13", + "es-value-fixtures": "^1.7.1", + "eslint": "=8.8.0", + "evalmd": "^0.0.19", + "for-each": "^0.3.5", + "gopd": "^1.2.0", + "has-strict-mode": "^1.1.0", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "object-inspect": "^1.13.4", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "testling": { + "files": "test/index.js" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "engines": { + "node": ">= 0.4" + } +} diff --git a/tools/ui/node_modules/call-bound/test/index.js b/tools/ui/node_modules/call-bound/test/index.js new file mode 100644 index 0000000000000000000000000000000000000000..a2fc9f0f2286539446cb61339c6c8d837275b1c2 --- /dev/null +++ b/tools/ui/node_modules/call-bound/test/index.js @@ -0,0 +1,61 @@ +'use strict'; + +var test = require('tape'); + +var callBound = require('../'); + +/** @template {true} T @template U @typedef {T extends U ? T : never} AssertType */ + +test('callBound', function (t) { + // static primitive + t.equal(callBound('Array.length'), Array.length, 'Array.length yields itself'); + t.equal(callBound('%Array.length%'), Array.length, '%Array.length% yields itself'); + + // static non-function object + t.equal(callBound('Array.prototype'), Array.prototype, 'Array.prototype yields itself'); + t.equal(callBound('%Array.prototype%'), Array.prototype, '%Array.prototype% yields itself'); + t.equal(callBound('Array.constructor'), Array.constructor, 'Array.constructor yields itself'); + t.equal(callBound('%Array.constructor%'), Array.constructor, '%Array.constructor% yields itself'); + + // static function + t.equal(callBound('Date.parse'), Date.parse, 'Date.parse yields itself'); + t.equal(callBound('%Date.parse%'), Date.parse, '%Date.parse% yields itself'); + + // prototype primitive + t.equal(callBound('Error.prototype.message'), Error.prototype.message, 'Error.prototype.message yields itself'); + t.equal(callBound('%Error.prototype.message%'), Error.prototype.message, '%Error.prototype.message% yields itself'); + + var x = callBound('Object.prototype.toString'); + var y = callBound('%Object.prototype.toString%'); + + // prototype function + t.notEqual(x, Object.prototype.toString, 'Object.prototype.toString does not yield itself'); + t.notEqual(y, Object.prototype.toString, '%Object.prototype.toString% does not yield itself'); + t.equal(x(true), Object.prototype.toString.call(true), 'call-bound Object.prototype.toString calls into the original'); + t.equal(y(true), Object.prototype.toString.call(true), 'call-bound %Object.prototype.toString% calls into the original'); + + t['throws']( + // @ts-expect-error + function () { callBound('does not exist'); }, + SyntaxError, + 'nonexistent intrinsic throws' + ); + t['throws']( + // @ts-expect-error + function () { callBound('does not exist', true); }, + SyntaxError, + 'allowMissing arg still throws for unknown intrinsic' + ); + + t.test('real but absent intrinsic', { skip: typeof WeakRef !== 'undefined' }, function (st) { + st['throws']( + function () { callBound('WeakRef'); }, + TypeError, + 'real but absent intrinsic throws' + ); + st.equal(callBound('WeakRef', true), undefined, 'allowMissing arg avoids exception'); + st.end(); + }); + + t.end(); +}); diff --git a/tools/ui/node_modules/call-bound/tsconfig.json b/tools/ui/node_modules/call-bound/tsconfig.json new file mode 100644 index 0000000000000000000000000000000000000000..8976d98b8e07a7672dabcca3d68e6852d8462d5e --- /dev/null +++ b/tools/ui/node_modules/call-bound/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "@ljharb/tsconfig", + "compilerOptions": { + "target": "ESNext", + "lib": ["es2024"], + }, + "exclude": [ + "coverage", + ], +} diff --git a/tools/ui/node_modules/callsites/index.d.ts b/tools/ui/node_modules/callsites/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..61f597cf5beeb066b6ee4d084f9097223e417460 --- /dev/null +++ b/tools/ui/node_modules/callsites/index.d.ts @@ -0,0 +1,96 @@ +declare namespace callsites { + interface CallSite { + /** + Returns the value of `this`. + */ + getThis(): unknown | undefined; + + /** + Returns the type of `this` as a string. This is the name of the function stored in the constructor field of `this`, if available, otherwise the object's `[[Class]]` internal property. + */ + getTypeName(): string | null; + + /** + Returns the current function. + */ + getFunction(): Function | undefined; + + /** + Returns the name of the current function, typically its `name` property. If a name property is not available an attempt will be made to try to infer a name from the function's context. + */ + getFunctionName(): string | null; + + /** + Returns the name of the property of `this` or one of its prototypes that holds the current function. + */ + getMethodName(): string | undefined; + + /** + Returns the name of the script if this function was defined in a script. + */ + getFileName(): string | null; + + /** + Returns the current line number if this function was defined in a script. + */ + getLineNumber(): number | null; + + /** + Returns the current column number if this function was defined in a script. + */ + getColumnNumber(): number | null; + + /** + Returns a string representing the location where `eval` was called if this function was created using a call to `eval`. + */ + getEvalOrigin(): string | undefined; + + /** + Returns `true` if this is a top-level invocation, that is, if it's a global object. + */ + isToplevel(): boolean; + + /** + Returns `true` if this call takes place in code defined by a call to `eval`. + */ + isEval(): boolean; + + /** + Returns `true` if this call is in native V8 code. + */ + isNative(): boolean; + + /** + Returns `true` if this is a constructor call. + */ + isConstructor(): boolean; + } +} + +declare const callsites: { + /** + Get callsites from the V8 stack trace API. + + @returns An array of `CallSite` objects. + + @example + ``` + import callsites = require('callsites'); + + function unicorn() { + console.log(callsites()[0].getFileName()); + //=> '/Users/sindresorhus/dev/callsites/test.js' + } + + unicorn(); + ``` + */ + (): callsites.CallSite[]; + + // TODO: Remove this for the next major release, refactor the whole definition to: + // declare function callsites(): callsites.CallSite[]; + // export = callsites; + default: typeof callsites; +}; + +export = callsites; diff --git a/tools/ui/node_modules/callsites/index.js b/tools/ui/node_modules/callsites/index.js new file mode 100644 index 0000000000000000000000000000000000000000..486c2410479cde342624eceaa1e0b1deca9317eb --- /dev/null +++ b/tools/ui/node_modules/callsites/index.js @@ -0,0 +1,13 @@ +'use strict'; + +const callsites = () => { + const _prepareStackTrace = Error.prepareStackTrace; + Error.prepareStackTrace = (_, stack) => stack; + const stack = new Error().stack.slice(1); + Error.prepareStackTrace = _prepareStackTrace; + return stack; +}; + +module.exports = callsites; +// TODO: Remove this for the next major release +module.exports.default = callsites; diff --git a/tools/ui/node_modules/callsites/license b/tools/ui/node_modules/callsites/license new file mode 100644 index 0000000000000000000000000000000000000000..e7af2f77107d73046421ef56c4684cbfdd3c1e89 --- /dev/null +++ b/tools/ui/node_modules/callsites/license @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/tools/ui/node_modules/callsites/package.json b/tools/ui/node_modules/callsites/package.json new file mode 100644 index 0000000000000000000000000000000000000000..93463c34b25dab3a11fcb6522825789395fb624c --- /dev/null +++ b/tools/ui/node_modules/callsites/package.json @@ -0,0 +1,39 @@ +{ + "name": "callsites", + "version": "3.1.0", + "description": "Get callsites from the V8 stack trace API", + "license": "MIT", + "repository": "sindresorhus/callsites", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "engines": { + "node": ">=6" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "keywords": [ + "stacktrace", + "v8", + "callsite", + "callsites", + "stack", + "trace", + "function", + "file", + "line", + "debug" + ], + "devDependencies": { + "ava": "^1.4.1", + "tsd": "^0.7.2", + "xo": "^0.24.0" + } +} diff --git a/tools/ui/node_modules/callsites/readme.md b/tools/ui/node_modules/callsites/readme.md new file mode 100644 index 0000000000000000000000000000000000000000..fc846138f4a80d237fbe14a49bd7beef6510a711 --- /dev/null +++ b/tools/ui/node_modules/callsites/readme.md @@ -0,0 +1,48 @@ +# callsites [![Build Status](https://travis-ci.org/sindresorhus/callsites.svg?branch=master)](https://travis-ci.org/sindresorhus/callsites) + +> Get callsites from the [V8 stack trace API](https://v8.dev/docs/stack-trace-api) + + +## Install + +``` +$ npm install callsites +``` + + +## Usage + +```js +const callsites = require('callsites'); + +function unicorn() { + console.log(callsites()[0].getFileName()); + //=> '/Users/sindresorhus/dev/callsites/test.js' +} + +unicorn(); +``` + + +## API + +Returns an array of callsite objects with the following methods: + +- `getThis`: returns the value of `this`. +- `getTypeName`: returns the type of `this` as a string. This is the name of the function stored in the constructor field of `this`, if available, otherwise the object's `[[Class]]` internal property. +- `getFunction`: returns the current function. +- `getFunctionName`: returns the name of the current function, typically its `name` property. If a name property is not available an attempt will be made to try to infer a name from the function's context. +- `getMethodName`: returns the name of the property of `this` or one of its prototypes that holds the current function. +- `getFileName`: if this function was defined in a script returns the name of the script. +- `getLineNumber`: if this function was defined in a script returns the current line number. +- `getColumnNumber`: if this function was defined in a script returns the current column number +- `getEvalOrigin`: if this function was created using a call to `eval` returns a string representing the location where `eval` was called. +- `isToplevel`: is this a top-level invocation, that is, is this the global object? +- `isEval`: does this call take place in code defined by a call to `eval`? +- `isNative`: is this call in native V8 code? +- `isConstructor`: is this a constructor call? + + +## License + +MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/tools/ui/node_modules/caniuse-lite/LICENSE b/tools/ui/node_modules/caniuse-lite/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..06c608dcf4552094bc86dc48aaa90addb2886049 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/LICENSE @@ -0,0 +1,395 @@ +Attribution 4.0 International + +======================================================================= + +Creative Commons Corporation ("Creative Commons") is not a law firm and +does not provide legal services or legal advice. Distribution of +Creative Commons public licenses does not create a lawyer-client or +other relationship. Creative Commons makes its licenses and related +information available on an "as-is" basis. Creative Commons gives no +warranties regarding its licenses, any material licensed under their +terms and conditions, or any related information. Creative Commons +disclaims all liability for damages resulting from their use to the +fullest extent possible. + +Using Creative Commons Public Licenses + +Creative Commons public licenses provide a standard set of terms and +conditions that creators and other rights holders may use to share +original works of authorship and other material subject to copyright +and certain other rights specified in the public license below. The +following considerations are for informational purposes only, are not +exhaustive, and do not form part of our licenses. + + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More_considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees + +======================================================================= + +Creative Commons Attribution 4.0 International Public License + +By exercising the Licensed Rights (defined below), You accept and agree +to be bound by the terms and conditions of this Creative Commons +Attribution 4.0 International Public License ("Public License"). To the +extent this Public License may be interpreted as a contract, You are +granted the Licensed Rights in consideration of Your acceptance of +these terms and conditions, and the Licensor grants You such rights in +consideration of benefits the Licensor receives from making the +Licensed Material available under these terms and conditions. + + +Section 1 -- Definitions. + + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + + c. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + + d. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + + e. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + + f. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + + g. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + + h. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + + i. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + + j. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + + k. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + + +Section 2 -- Scope. + + a. License grant. + + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + + a. reproduce and Share the Licensed Material, in whole or + in part; and + + b. produce, reproduce, and Share Adapted Material. + + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + + 3. Term. The term of this Public License is specified in Section + 6(a). + + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + + 5. Downstream recipients. + + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + + b. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + + b. Other rights. + + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + + 2. Patent and trademark rights are not licensed under this + Public License. + + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + + +Section 3 -- License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the +following conditions. + + a. Attribution. + + 1. If You Share the Licensed Material (including in modified + form), You must: + + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of + warranties; + + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + + 4. If You Share Adapted Material You produce, the Adapter's + License You apply must not prevent recipients of the Adapted + Material from complying with this Public License. + + +Section 4 -- Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that +apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material; and + + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. + +For the avoidance of doubt, this Section 4 supplements and does not +replace Your obligations under this Public License where the Licensed +Rights include other Copyright and Similar Rights. + + +Section 5 -- Disclaimer of Warranties and Limitation of Liability. + + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + + +Section 6 -- Term and Termination. + + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + + 2. upon express reinstatement by the Licensor. + + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + + +Section 7 -- Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + + +Section 8 -- Interpretation. + + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. + + +======================================================================= + +Creative Commons is not a party to its public +licenses. Notwithstanding, Creative Commons may elect to apply one of +its public licenses to material it publishes and in those instances +will be considered the “Licensor.” The text of the Creative Commons +public licenses is dedicated to the public domain under the CC0 Public +Domain Dedication. Except for the limited purpose of indicating that +material is shared under a Creative Commons public license or as +otherwise permitted by the Creative Commons policies published at +creativecommons.org/policies, Creative Commons does not authorize the +use of the trademark "Creative Commons" or any other trademark or logo +of Creative Commons without its prior written consent including, +without limitation, in connection with any unauthorized modifications +to any of its public licenses or any other arrangements, +understandings, or agreements concerning use of licensed material. For +the avoidance of doubt, this paragraph does not form part of the +public licenses. + +Creative Commons may be contacted at creativecommons.org. diff --git a/tools/ui/node_modules/caniuse-lite/README.md b/tools/ui/node_modules/caniuse-lite/README.md new file mode 100644 index 0000000000000000000000000000000000000000..f2c67bc49c21c31524feea64bc1fe97150e648bc --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/README.md @@ -0,0 +1,6 @@ +# caniuse-lite + +A smaller version of caniuse-db, with only the essentials! + +## Docs +Read full docs **[here](https://github.com/browserslist/caniuse-lite#readme)**. diff --git a/tools/ui/node_modules/caniuse-lite/data/agents.js b/tools/ui/node_modules/caniuse-lite/data/agents.js new file mode 100644 index 0000000000000000000000000000000000000000..7b281453b978c64e264ec2ead06874cfd12b53ab --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/agents.js @@ -0,0 +1 @@ +module.exports={A:{A:{K:0,D:0,E:0,F:0.13686,A:0,B:0.13686,"6C":0},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","6C","K","D","E","F","A","B","","",""],E:"IE",F:{"6C":962323200,K:998870400,D:1161129600,E:1237420800,F:1300060800,A:1346716800,B:1381968000}},B:{A:{"0":0,"1":0,"2":0,"3":0.013686,"4":0,"5":0.004562,"6":0,"7":0,"8":0,"9":0.004562,C:0,L:0,M:0,G:0,N:0,O:0,P:0,Q:0,H:0,R:0,S:0,T:0,U:0,V:0,W:0,X:0,Y:0,Z:0,a:0,b:0.009124,c:0,d:0,e:0,f:0,g:0,h:0,i:0,j:0,k:0,l:0,m:0,n:0,o:0,p:0,q:0,r:0,s:0.036496,t:0,u:0,v:0,w:0,x:0.004562,y:0,z:0,AB:0.004562,MB:0,NB:0,OB:0,BB:0.013686,PB:0.004562,QB:0.009124,RB:0.009124,SB:0.009124,TB:0.009124,UB:0.009124,VB:0.018248,WB:0.009124,XB:0.018248,YB:0.013686,ZB:0.018248,aB:0.04562,bB:0.04562,cB:0.104926,dB:2.31293,eB:2.47717,I:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","L","M","G","N","O","P","Q","H","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","MB","NB","OB","BB","PB","QB","RB","SB","TB","UB","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","I","","",""],E:"Edge",F:{"0":1694649600,"1":1697155200,"2":1698969600,"3":1701993600,"4":1706227200,"5":1708732800,"6":1711152000,"7":1713398400,"8":1715990400,"9":1718841600,C:1438128000,L:1447286400,M:1470096000,G:1491868800,N:1508198400,O:1525046400,P:1542067200,Q:1579046400,H:1581033600,R:1586736000,S:1590019200,T:1594857600,U:1598486400,V:1602201600,W:1605830400,X:1611360000,Y:1614816000,Z:1618358400,a:1622073600,b:1626912000,c:1630627200,d:1632441600,e:1634774400,f:1637539200,g:1641427200,h:1643932800,i:1646265600,j:1649635200,k:1651190400,l:1653955200,m:1655942400,n:1659657600,o:1661990400,p:1664755200,q:1666915200,r:1670198400,s:1673481600,t:1675900800,u:1678665600,v:1680825600,w:1683158400,x:1685664000,y:1689897600,z:1692576000,AB:1721865600,MB:1724371200,NB:1726704000,OB:1729123200,BB:1731542400,PB:1737417600,QB:1740614400,RB:1741219200,SB:1743984000,TB:1746316800,UB:1748476800,VB:1750896000,WB:1754611200,XB:1756944000,YB:1759363200,ZB:1761868800,aB:1764806400,bB:1768780800,cB:1770854400,dB:1773446400,eB:1775692800,I:1778112000},D:{C:"ms",L:"ms",M:"ms",G:"ms",N:"ms",O:"ms",P:"ms"}},C:{A:{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"7C":0,ZC:0,J:0,fB:0,K:0,D:0,E:0,F:0,A:0,B:0.04562,C:0,L:0,M:0,G:0,N:0,O:0,P:0,gB:0,CB:0,DB:0,EB:0,FB:0,GB:0,HB:0,IB:0,JB:0,KB:0,LB:0,hB:0,iB:0,jB:0,kB:0,lB:0,mB:0,nB:0,oB:0,pB:0,qB:0,rB:0,sB:0,tB:0,uB:0,vB:0,wB:0,xB:0,yB:0,zB:0,"0B":0,"1B":0,"2B":0,"3B":0.009124,"4B":0,"5B":0,"6B":0,"7B":0,"8B":0,"9B":0,aC:0,AC:0,bC:0,BC:0,CC:0,DC:0,EC:0,FC:0,GC:0,HC:0,IC:0,JC:0,KC:0,LC:0,MC:0,NC:0,OC:0,PC:0,QC:0,RC:0.004562,Q:0,H:0,R:0,cC:0,S:0,T:0,U:0,V:0,W:0,X:0,Y:0,Z:0,a:0,b:0,c:0,d:0,e:0,f:0,g:0,h:0,i:0,j:0,k:0,l:0,m:0,n:0,o:0,p:0,q:0,r:0,s:0,t:0,u:0,v:0,w:0,x:0,y:0.132298,z:0,AB:0,MB:0.004562,NB:0,OB:0,BB:0,PB:0,QB:0,RB:0,SB:0.004562,TB:0.009124,UB:0,VB:0,WB:0,XB:0.09124,YB:0,ZB:0.004562,aB:0.004562,bB:0,cB:0.004562,dB:0.009124,eB:0.027372,I:0.063868,dC:1.08576,SC:0.328464,eC:0,"8C":0,"9C":0,AD:0,BD:0},B:"moz",C:["7C","ZC","AD","BD","J","fB","K","D","E","F","A","B","C","L","M","G","N","O","P","gB","CB","DB","EB","FB","GB","HB","IB","JB","KB","LB","hB","iB","jB","kB","lB","mB","nB","oB","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","1B","2B","3B","4B","5B","6B","7B","8B","9B","aC","AC","bC","BC","CC","DC","EC","FC","GC","HC","IC","JC","KC","LC","MC","NC","OC","PC","QC","RC","Q","H","R","cC","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","MB","NB","OB","BB","PB","QB","RB","SB","TB","UB","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","I","dC","SC","eC","8C","9C"],E:"Firefox",F:{"0":1693267200,"1":1695686400,"2":1698105600,"3":1700524800,"4":1702944000,"5":1705968000,"6":1708387200,"7":1710806400,"8":1713225600,"9":1715644800,"7C":1161648000,ZC:1213660800,AD:1246320000,BD:1264032000,J:1300752000,fB:1308614400,K:1313452800,D:1317081600,E:1317081600,F:1320710400,A:1324339200,B:1327968000,C:1331596800,L:1335225600,M:1338854400,G:1342483200,N:1346112000,O:1349740800,P:1353628800,gB:1357603200,CB:1361232000,DB:1364860800,EB:1368489600,FB:1372118400,GB:1375747200,HB:1379376000,IB:1386633600,JB:1391472000,KB:1395100800,LB:1398729600,hB:1402358400,iB:1405987200,jB:1409616000,kB:1413244800,lB:1417392000,mB:1421107200,nB:1424736000,oB:1428278400,pB:1431475200,qB:1435881600,rB:1439251200,sB:1442880000,tB:1446508800,uB:1450137600,vB:1453852800,wB:1457395200,xB:1461628800,yB:1465257600,zB:1470096000,"0B":1474329600,"1B":1479168000,"2B":1485216000,"3B":1488844800,"4B":1492560000,"5B":1497312000,"6B":1502150400,"7B":1506556800,"8B":1510617600,"9B":1516665600,aC:1520985600,AC:1525824000,bC:1529971200,BC:1536105600,CC:1540252800,DC:1544486400,EC:1548720000,FC:1552953600,GC:1558396800,HC:1562630400,IC:1567468800,JC:1571788800,KC:1575331200,LC:1578355200,MC:1581379200,NC:1583798400,OC:1586304000,PC:1588636800,QC:1591056000,RC:1593475200,Q:1595894400,H:1598313600,R:1600732800,cC:1603152000,S:1605571200,T:1607990400,U:1611619200,V:1614038400,W:1616457600,X:1618790400,Y:1622505600,Z:1626134400,a:1628553600,b:1630972800,c:1633392000,d:1635811200,e:1638835200,f:1641859200,g:1644364800,h:1646697600,i:1649116800,j:1651536000,k:1653955200,l:1656374400,m:1658793600,n:1661212800,o:1663632000,p:1666051200,q:1668470400,r:1670889600,s:1673913600,t:1676332800,u:1678752000,v:1681171200,w:1683590400,x:1686009600,y:1688428800,z:1690848000,AB:1718064000,MB:1720483200,NB:1722902400,OB:1725321600,BB:1727740800,PB:1730160000,QB:1732579200,RB:1736208000,SB:1738627200,TB:1741046400,UB:1743465600,VB:1745884800,WB:1748304000,XB:1750723200,YB:1753142400,ZB:1755561600,aB:1757980800,bB:1760400000,cB:1762819200,dB:1765238400,eB:1768262400,I:1771891200,dC:1774310400,SC:1776729600,eC:null,"8C":null,"9C":null}},D:{A:{"0":0.168794,"1":0.013686,"2":0.02281,"3":0.209852,"4":0.018248,"5":0.04562,"6":0.018248,"7":0.173356,"8":0.100364,"9":0.041058,J:0,fB:0,K:0,D:0,E:0,F:0,A:0,B:0,C:0,L:0,M:0,G:0,N:0,O:0,P:0,gB:0,CB:0,DB:0,EB:0,FB:0,GB:0,HB:0,IB:0,JB:0,KB:0,LB:0,hB:0,iB:0,jB:0,kB:0,lB:0,mB:0,nB:0,oB:0,pB:0,qB:0.02281,rB:0.02281,sB:0.027372,tB:0.02281,uB:0.027372,vB:0.02281,wB:0.027372,xB:0.02281,yB:0.027372,zB:0.031934,"0B":0.031934,"1B":0.027372,"2B":0.027372,"3B":0.027372,"4B":0.027372,"5B":0.027372,"6B":0.027372,"7B":0.027372,"8B":0.027372,"9B":0.027372,aC:0.027372,AC:0.027372,bC:0,BC:0,CC:0,DC:0,EC:0,FC:0,GC:0,HC:0,IC:0.004562,JC:0.004562,KC:0,LC:0,MC:0,NC:0,OC:0,PC:0,QC:0,RC:0,Q:0.009124,H:0,R:0,S:0,T:0,U:0,V:0.004562,W:0.009124,X:0,Y:0,Z:0,a:0.009124,b:0,c:0.009124,d:0,e:0,f:0,g:0.009124,h:0.004562,i:0,j:0,k:0.009124,l:0,m:0.223538,n:0.173356,o:0.173356,p:0.173356,q:0.173356,r:0.177918,s:0.711672,t:0.173356,u:0.20529,v:1.14962,w:0.009124,x:0.02281,y:0.013686,z:0.383208,AB:0.018248,MB:0.054744,NB:0.013686,OB:0.059306,BB:0.38777,PB:0.050182,QB:0.374084,RB:0.050182,SB:0.050182,TB:0.063868,UB:0.04562,VB:0.196166,WB:0.177918,XB:0.09124,YB:0.072992,ZB:0.77554,aB:0.145984,bB:0.396894,cB:0.939772,dB:7.11216,eB:8.54919,I:0.02281,dC:0.004562,SC:0,eC:0},B:"webkit",C:["","","","","","","","J","fB","K","D","E","F","A","B","C","L","M","G","N","O","P","gB","CB","DB","EB","FB","GB","HB","IB","JB","KB","LB","hB","iB","jB","kB","lB","mB","nB","oB","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","1B","2B","3B","4B","5B","6B","7B","8B","9B","aC","AC","bC","BC","CC","DC","EC","FC","GC","HC","IC","JC","KC","LC","MC","NC","OC","PC","QC","RC","Q","H","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","MB","NB","OB","BB","PB","QB","RB","SB","TB","UB","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","I","dC","SC","eC"],E:"Chrome",F:{"0":1694476800,"1":1696896000,"2":1698710400,"3":1701993600,"4":1705968000,"5":1708387200,"6":1710806400,"7":1713225600,"8":1715644800,"9":1718064000,J:1264377600,fB:1274745600,K:1283385600,D:1287619200,E:1291248000,F:1296777600,A:1299542400,B:1303862400,C:1307404800,L:1312243200,M:1316131200,G:1316131200,N:1319500800,O:1323734400,P:1328659200,gB:1332892800,CB:1337040000,DB:1340668800,EB:1343692800,FB:1348531200,GB:1352246400,HB:1357862400,IB:1361404800,JB:1364428800,KB:1369094400,LB:1374105600,hB:1376956800,iB:1384214400,jB:1389657600,kB:1392940800,lB:1397001600,mB:1400544000,nB:1405468800,oB:1409011200,pB:1412640000,qB:1416268800,rB:1421798400,sB:1425513600,tB:1429401600,uB:1432080000,vB:1437523200,wB:1441152000,xB:1444780800,yB:1449014400,zB:1453248000,"0B":1456963200,"1B":1460592000,"2B":1464134400,"3B":1469059200,"4B":1472601600,"5B":1476230400,"6B":1480550400,"7B":1485302400,"8B":1489017600,"9B":1492560000,aC:1496707200,AC:1500940800,bC:1504569600,BC:1508198400,CC:1512518400,DC:1516752000,EC:1520294400,FC:1523923200,GC:1527552000,HC:1532390400,IC:1536019200,JC:1539648000,KC:1543968000,LC:1548720000,MC:1552348800,NC:1555977600,OC:1559606400,PC:1564444800,QC:1568073600,RC:1571702400,Q:1575936000,H:1580860800,R:1586304000,S:1589846400,T:1594684800,U:1598313600,V:1601942400,W:1605571200,X:1611014400,Y:1614556800,Z:1618272000,a:1621987200,b:1626739200,c:1630368000,d:1632268800,e:1634601600,f:1637020800,g:1641340800,h:1643673600,i:1646092800,j:1648512000,k:1650931200,l:1653350400,m:1655769600,n:1659398400,o:1661817600,p:1664236800,q:1666656000,r:1669680000,s:1673308800,t:1675728000,u:1678147200,v:1680566400,w:1682985600,x:1685404800,y:1689724800,z:1692057600,AB:1721174400,MB:1724112000,NB:1726531200,OB:1728950400,BB:1731369600,PB:1736812800,QB:1738627200,RB:1741046400,SB:1743465600,TB:1745884800,UB:1748304000,VB:1750723200,WB:1754352000,XB:1756771200,YB:1759190400,ZB:1761609600,aB:1764633600,bB:1768262400,cB:1770681600,dB:1773100800,eB:1775520000,I:1777939200,dC:null,SC:null,eC:null}},E:{A:{J:0,fB:0,K:0,D:0,E:0,F:0,A:0,B:0,C:0,L:0,M:0.009124,G:0,CD:0,fC:0,DD:0,ED:0,FD:0,GD:0,gC:0,TC:0,UC:0,HD:0.018248,ID:0.018248,JD:0,hC:0,iC:0.004562,VC:0.004562,KD:0.082116,WC:0.004562,jC:0.009124,kC:0.004562,lC:0.013686,mC:0.009124,nC:0.009124,LD:0.127736,XC:0.004562,oC:0.100364,pC:0.009124,qC:0.013686,rC:0.02281,sC:0.036496,MD:0.141422,YC:0.009124,tC:0.018248,uC:0.009124,vC:0.036496,wC:0.018248,xC:0.392332,yC:0.02281,zC:0.031934,"0C":0.164232,"1C":1.05838,"2C":0.31934,"3C":0.009124,ND:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","CD","fC","J","fB","DD","K","ED","D","FD","E","F","GD","A","gC","B","TC","C","UC","L","HD","M","ID","G","JD","hC","iC","VC","KD","WC","jC","kC","lC","mC","nC","LD","XC","oC","pC","qC","rC","sC","MD","YC","tC","uC","vC","wC","xC","yC","zC","0C","1C","2C","3C","ND",""],E:"Safari",F:{CD:1205798400,fC:1226534400,J:1244419200,fB:1275868800,DD:1311120000,K:1343174400,ED:1382400000,D:1382400000,FD:1410998400,E:1413417600,F:1443657600,GD:1458518400,A:1474329600,gC:1490572800,B:1505779200,TC:1522281600,C:1537142400,UC:1553472000,L:1568851200,HD:1585008000,M:1600214400,ID:1619395200,G:1632096000,JD:1635292800,hC:1639353600,iC:1647216000,VC:1652745600,KD:1658275200,WC:1662940800,jC:1666569600,kC:1670889600,lC:1674432000,mC:1679875200,nC:1684368000,LD:1690156800,XC:1695686400,oC:1698192000,pC:1702252800,qC:1705881600,rC:1709596800,sC:1715558400,MD:1722211200,YC:1726444800,tC:1730073600,uC:1733875200,vC:1737936000,wC:1743379200,xC:1747008000,yC:1757894400,zC:1762128000,"0C":1762041600,"1C":1770854400,"2C":1774310400,"3C":null,ND:null}},F:{A:{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,F:0,B:0,C:0,G:0,N:0,O:0,P:0,gB:0,CB:0,DB:0,EB:0,FB:0,GB:0,HB:0,IB:0,JB:0,KB:0,LB:0,hB:0,iB:0,jB:0,kB:0,lB:0,mB:0,nB:0,oB:0,pB:0,qB:0,rB:0,sB:0,tB:0,uB:0,vB:0,wB:0,xB:0,yB:0,zB:0,"0B":0,"1B":0,"2B":0,"3B":0,"4B":0,"5B":0,"6B":0,"7B":0,"8B":0,"9B":0,AC:0,BC:0,CC:0,DC:0,EC:0,FC:0,GC:0,HC:0,IC:0,JC:0,KC:0,LC:0,MC:0,NC:0,OC:0,PC:0,QC:0,RC:0,Q:0,H:0,R:0,cC:0,S:0,T:0,U:0,V:0,W:0,X:0,Y:0,Z:0,a:0,b:0,c:0,d:0,e:0.027372,f:0.04562,g:0.06843,h:0,i:0,j:0,k:0,l:0,m:0,n:0,o:0,p:0,q:0,r:0,s:0,t:0,u:0,v:0,w:0,x:0,y:0,z:0,AB:0.009124,BB:0,OD:0,PD:0,QD:0,RD:0,TC:0,"4C":0,SD:0,UC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","F","OD","PD","QD","RD","B","TC","4C","SD","C","UC","G","N","O","P","gB","CB","DB","EB","FB","GB","HB","IB","JB","KB","LB","hB","iB","jB","kB","lB","mB","nB","oB","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","1B","2B","3B","4B","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","GC","HC","IC","JC","KC","LC","MC","NC","OC","PC","QC","RC","Q","H","R","cC","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","","",""],E:"Opera",F:{"0":1739404800,"1":1744675200,"2":1747094400,"3":1751414400,"4":1756339200,"5":1757548800,"6":1761609600,"7":1762992000,"8":1764806400,"9":1769990400,F:1150761600,OD:1223424000,PD:1251763200,QD:1267488000,RD:1277942400,B:1292457600,TC:1302566400,"4C":1309219200,SD:1323129600,C:1323129600,UC:1352073600,G:1372723200,N:1377561600,O:1381104000,P:1386288000,gB:1390867200,CB:1393891200,DB:1399334400,EB:1401753600,FB:1405987200,GB:1409616000,HB:1413331200,IB:1417132800,JB:1422316800,KB:1425945600,LB:1430179200,hB:1433808000,iB:1438646400,jB:1442448000,kB:1445904000,lB:1449100800,mB:1454371200,nB:1457308800,oB:1462320000,pB:1465344000,qB:1470096000,rB:1474329600,sB:1477267200,tB:1481587200,uB:1486425600,vB:1490054400,wB:1494374400,xB:1498003200,yB:1502236800,zB:1506470400,"0B":1510099200,"1B":1515024000,"2B":1517961600,"3B":1521676800,"4B":1525910400,"5B":1530144000,"6B":1534982400,"7B":1537833600,"8B":1543363200,"9B":1548201600,AC:1554768000,BC:1561593600,CC:1566259200,DC:1570406400,EC:1573689600,FC:1578441600,GC:1583971200,HC:1587513600,IC:1592956800,JC:1595894400,KC:1600128000,LC:1603238400,MC:1613520000,NC:1612224000,OC:1616544000,PC:1619568000,QC:1623715200,RC:1627948800,Q:1631577600,H:1633392000,R:1635984000,cC:1638403200,S:1642550400,T:1644969600,U:1647993600,V:1650412800,W:1652745600,X:1654646400,Y:1657152000,Z:1660780800,a:1663113600,b:1668816000,c:1668643200,d:1671062400,e:1675209600,f:1677024000,g:1679529600,h:1681948800,i:1684195200,j:1687219200,k:1690329600,l:1692748800,m:1696204800,n:1699920000,o:1699920000,p:1702944000,q:1707264000,r:1710115200,s:1711497600,t:1716336000,u:1719273600,v:1721088000,w:1724284800,x:1727222400,y:1732665600,z:1736294400,AB:1772064000,BB:1776124800},D:{F:"o",B:"o",C:"o",OD:"o",PD:"o",QD:"o",RD:"o",TC:"o","4C":"o",SD:"o",UC:"o"}},G:{A:{E:0,fC:0,TD:0,"5C":0.00141362,UD:0,VD:0,WD:0.00282724,XD:0,YD:0,ZD:0,aD:0,bD:0.00565448,cD:0.267174,dD:0.00424086,eD:0,fD:0.0523039,gD:0,hD:0.0141362,iD:0.00141362,jD:0.00424086,kD:0.0127226,lD:0.0141362,mD:0.0155498,hC:0.00989534,iC:0.0127226,VC:0.0155498,nD:0.253038,WC:0.0240315,jC:0.0452358,kC:0.0254452,lC:0.0466495,mC:0.00989534,nC:0.0183771,oD:0.34351,XC:0.0141362,oC:0.0240315,pC:0.0197907,qC:0.029686,rC:0.0494767,sC:0.0918853,pD:0.233247,YC:0.0494767,tC:0.100367,uC:0.0537176,vC:0.162566,wC:0.0763355,xC:2.66043,yC:0.168221,zC:0.223352,"0C":1.01498,"1C":6.2482,"2C":1.63414,"3C":0.0664401},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","fC","TD","5C","UD","VD","WD","E","XD","YD","ZD","aD","bD","cD","dD","eD","fD","gD","hD","iD","jD","kD","lD","mD","hC","iC","VC","nD","WC","jC","kC","lC","mC","nC","oD","XC","oC","pC","qC","rC","sC","pD","YC","tC","uC","vC","wC","xC","yC","zC","0C","1C","2C","3C","",""],E:"Safari on iOS",F:{fC:1270252800,TD:1283904000,"5C":1299628800,UD:1331078400,VD:1359331200,WD:1394409600,E:1410912000,XD:1413763200,YD:1442361600,ZD:1458518400,aD:1473724800,bD:1490572800,cD:1505779200,dD:1522281600,eD:1537142400,fD:1553472000,gD:1568851200,hD:1572220800,iD:1580169600,jD:1585008000,kD:1600214400,lD:1619395200,mD:1632096000,hC:1639353600,iC:1647216000,VC:1652659200,nD:1658275200,WC:1662940800,jC:1666569600,kC:1670889600,lC:1674432000,mC:1679875200,nC:1684368000,oD:1690156800,XC:1694995200,oC:1698192000,pC:1702252800,qC:1705881600,rC:1709596800,sC:1715558400,pD:1722211200,YC:1726444800,tC:1730073600,uC:1733875200,vC:1737936000,wC:1743379200,xC:1747008000,yC:1757894400,zC:1762128000,"0C":1765497600,"1C":1770854400,"2C":1774310400,"3C":null}},H:{A:{qD:0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","qD","","",""],E:"Opera Mini",F:{qD:1426464000}},I:{A:{ZC:0,J:0,I:0.244445,rD:0,sD:0,tD:0,uD:0,"5C":0,vD:0,wD:0.000146799},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","rD","sD","tD","ZC","J","uD","5C","vD","wD","I","","",""],E:"Android Browser",F:{rD:1256515200,sD:1274313600,tD:1291593600,ZC:1298332800,J:1318896000,uD:1341792000,"5C":1374624000,vD:1386547200,wD:1401667200,I:1777939200}},J:{A:{D:0,A:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","A","","",""],E:"Blackberry Browser",F:{D:1325376000,A:1359504000}},K:{A:{A:0,B:0,C:0,H:0.864483,TC:0,"4C":0,UC:0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","TC","4C","C","UC","H","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752000,TC:1314835200,"4C":1318291200,C:1330300800,UC:1349740800,H:1709769600},D:{H:"webkit"}},L:{A:{I:43.3393},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","I","","",""],E:"Chrome for Android",F:{I:1777939200}},M:{A:{SC:0.347968},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","SC","","",""],E:"Firefox for Android",F:{SC:1776729600}},N:{A:{A:0,B:0},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456000}},O:{A:{VC:0.630692},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","VC","","",""],E:"UC Browser for Android",F:{VC:1710115200},D:{VC:"webkit"}},P:{A:{J:0,CB:0,DB:0,EB:0,FB:0,GB:0.00808358,HB:0.00808358,IB:0.0242507,JB:0.0242507,KB:0.0565851,LB:1.40654,xD:0,yD:0,zD:0,"0D":0,"1D":0,gC:0,"2D":0,"3D":0,"4D":0,"5D":0,"6D":0,WC:0,XC:0,YC:0,"7D":0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","J","xD","yD","zD","0D","1D","gC","2D","3D","4D","5D","6D","WC","XC","YC","7D","CB","DB","EB","FB","GB","HB","IB","JB","KB","LB","","",""],E:"Samsung Internet",F:{J:1461024000,xD:1481846400,yD:1509408000,zD:1528329600,"0D":1546128000,"1D":1554163200,gC:1567900800,"2D":1582588800,"3D":1593475200,"4D":1605657600,"5D":1618531200,"6D":1629072000,WC:1640736000,XC:1651708800,YC:1659657600,"7D":1667260800,CB:1677369600,DB:1684454400,EB:1689292800,FB:1697587200,GB:1711497600,HB:1715126400,IB:1717718400,JB:1725667200,KB:1746057600,LB:1761264000}},Q:{A:{"8D":0.10874},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","8D","","",""],E:"QQ Browser",F:{"8D":1710288000}},R:{A:{"9D":0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","9D","","",""],E:"Baidu Browser",F:{"9D":1710201600}},S:{A:{AE:0.005437,BE:0},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","AE","BE","","",""],E:"KaiOS Browser",F:{AE:1527811200,BE:1631664000}}}; diff --git a/tools/ui/node_modules/caniuse-lite/data/browserVersions.js b/tools/ui/node_modules/caniuse-lite/data/browserVersions.js new file mode 100644 index 0000000000000000000000000000000000000000..c5df752884fe72963d03145061cf30e3f11f8ba7 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/browserVersions.js @@ -0,0 +1 @@ +module.exports={"0":"117","1":"118","2":"119","3":"120","4":"121","5":"122","6":"123","7":"124","8":"125","9":"126",A:"10",B:"11",C:"12",D:"7",E:"8",F:"9",G:"15",H:"80",I:"148",J:"4",K:"6",L:"13",M:"14",N:"16",O:"17",P:"18",Q:"79",R:"81",S:"83",T:"84",U:"85",V:"86",W:"87",X:"88",Y:"89",Z:"90",a:"91",b:"92",c:"93",d:"94",e:"95",f:"96",g:"97",h:"98",i:"99",j:"100",k:"101",l:"102",m:"103",n:"104",o:"105",p:"106",q:"107",r:"108",s:"109",t:"110",u:"111",v:"112",w:"113",x:"114",y:"115",z:"116",AB:"127",BB:"131",CB:"20",DB:"21",EB:"22",FB:"23",GB:"24",HB:"25",IB:"26",JB:"27",KB:"28",LB:"29",MB:"128",NB:"129",OB:"130",PB:"132",QB:"133",RB:"134",SB:"135",TB:"136",UB:"137",VB:"138",WB:"139",XB:"140",YB:"141",ZB:"142",aB:"143",bB:"144",cB:"145",dB:"146",eB:"147",fB:"5",gB:"19",hB:"30",iB:"31",jB:"32",kB:"33",lB:"34",mB:"35",nB:"36",oB:"37",pB:"38",qB:"39",rB:"40",sB:"41",tB:"42",uB:"43",vB:"44",wB:"45",xB:"46",yB:"47",zB:"48","0B":"49","1B":"50","2B":"51","3B":"52","4B":"53","5B":"54","6B":"55","7B":"56","8B":"57","9B":"58",AC:"60",BC:"62",CC:"63",DC:"64",EC:"65",FC:"66",GC:"67",HC:"68",IC:"69",JC:"70",KC:"71",LC:"72",MC:"73",NC:"74",OC:"75",PC:"76",QC:"77",RC:"78",SC:"150",TC:"11.1",UC:"12.1",VC:"15.5",WC:"16.0",XC:"17.0",YC:"18.0",ZC:"3",aC:"59",bC:"61",cC:"82",dC:"149",eC:"151",fC:"3.2",gC:"10.1",hC:"15.2-15.3",iC:"15.4",jC:"16.1",kC:"16.2",lC:"16.3",mC:"16.4",nC:"16.5",oC:"17.1",pC:"17.2",qC:"17.3",rC:"17.4",sC:"17.5",tC:"18.1",uC:"18.2",vC:"18.3",wC:"18.4",xC:"18.5-18.7",yC:"26.0",zC:"26.1","0C":"26.2","1C":"26.3","2C":"26.4","3C":"26.5","4C":"11.5","5C":"4.2-4.3","6C":"5.5","7C":"2","8C":"152","9C":"153",AD:"3.5",BD:"3.6",CD:"3.1",DD:"5.1",ED:"6.1",FD:"7.1",GD:"9.1",HD:"13.1",ID:"14.1",JD:"15.1",KD:"15.6",LD:"16.6",MD:"17.6",ND:"TP",OD:"9.5-9.6",PD:"10.0-10.1",QD:"10.5",RD:"10.6",SD:"11.6",TD:"4.0-4.1",UD:"5.0-5.1",VD:"6.0-6.1",WD:"7.0-7.1",XD:"8.1-8.4",YD:"9.0-9.2",ZD:"9.3",aD:"10.0-10.2",bD:"10.3",cD:"11.0-11.2",dD:"11.3-11.4",eD:"12.0-12.1",fD:"12.2-12.5",gD:"13.0-13.1",hD:"13.2",iD:"13.3",jD:"13.4-13.7",kD:"14.0-14.4",lD:"14.5-14.8",mD:"15.0-15.1",nD:"15.6-15.8",oD:"16.6-16.7",pD:"17.6-17.7",qD:"all",rD:"2.1",sD:"2.2",tD:"2.3",uD:"4.1",vD:"4.4",wD:"4.4.3-4.4.4",xD:"5.0-5.4",yD:"6.2-6.4",zD:"7.2-7.4","0D":"8.2","1D":"9.2","2D":"11.1-11.2","3D":"12.0","4D":"13.0","5D":"14.0","6D":"15.0","7D":"19.0","8D":"14.9","9D":"13.52",AE:"2.5",BE:"3.0-3.1"}; diff --git a/tools/ui/node_modules/caniuse-lite/data/browsers.js b/tools/ui/node_modules/caniuse-lite/data/browsers.js new file mode 100644 index 0000000000000000000000000000000000000000..04fbb50f7fe992b33ff8cb5e472356d0085387fd --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/browsers.js @@ -0,0 +1 @@ +module.exports={A:"ie",B:"edge",C:"firefox",D:"chrome",E:"safari",F:"opera",G:"ios_saf",H:"op_mini",I:"android",J:"bb",K:"op_mob",L:"and_chr",M:"and_ff",N:"ie_mob",O:"and_uc",P:"samsung",Q:"and_qq",R:"baidu",S:"kaios"}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/aac.js b/tools/ui/node_modules/caniuse-lite/data/features/aac.js new file mode 100644 index 0000000000000000000000000000000000000000..cc1f65d0e07d6c3da93105e544af1913afa1198e --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/aac.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB AD BD","132":"0 1 2 3 4 5 6 7 8 9 EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F","16":"A B"},E:{"1":"J fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC"},G:{"1":"E TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC"},H:{"2":"qD"},I:{"1":"ZC J I uD 5C vD wD","2":"rD sD tD"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"132":"SC"},N:{"1":"A","2":"B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"132":"AE BE"}},B:6,C:"AAC audio file format",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/abortcontroller.js b/tools/ui/node_modules/caniuse-lite/data/features/abortcontroller.js new file mode 100644 index 0000000000000000000000000000000000000000..46fc2aa0d45582bfd9defc8135c50ede274f7824 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/abortcontroller.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G"},C:{"1":"0 1 2 3 4 5 6 7 8 9 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC"},E:{"1":"L M G UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B CD fC DD ED FD GD gC","130":"C TC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B OD PD QD RD TC 4C SD UC"},G:{"1":"dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD zD 0D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:1,C:"AbortController & AbortSignal",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/ac3-ec3.js b/tools/ui/node_modules/caniuse-lite/data/features/ac3-ec3.js new file mode 100644 index 0000000000000000000000000000000000000000..57d3b22750ddb6ce4453eac3a0d1100e6e6add91 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/ac3-ec3.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"C L M G N O P","2":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD","132":"YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D","132":"A"},K:{"2":"A B C H TC 4C","132":"UC"},L:{"2":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:6,C:"AC-3 (Dolby Digital) and EC-3 (Dolby Digital Plus) codecs",D:false}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/accelerometer.js b/tools/ui/node_modules/caniuse-lite/data/features/accelerometer.js new file mode 100644 index 0000000000000000000000000000000000000000..53c0a3660d5fe4df7b74d4492d23127461a0b573 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/accelerometer.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B","194":"9B aC AC bC BC CC DC EC FC"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:4,C:"Accelerometer",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/addeventlistener.js b/tools/ui/node_modules/caniuse-lite/data/features/addeventlistener.js new file mode 100644 index 0000000000000000000000000000000000000000..b490c41a1c1c6f6c4a461fb06725eec81bd4e857 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/addeventlistener.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","130":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","257":"7C ZC J fB K AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"1":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"EventTarget.addEventListener()",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/alternate-stylesheet.js b/tools/ui/node_modules/caniuse-lite/data/features/alternate-stylesheet.js new file mode 100644 index 0000000000000000000000000000000000000000..48673816633da972fa35dc4d05189b7a391ad3f5 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/alternate-stylesheet.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E F A B","2":"K D 6C"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"F B C OD PD QD RD TC 4C SD UC","16":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"16":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"16":"D A"},K:{"2":"H","16":"A B C TC 4C UC"},L:{"16":"I"},M:{"16":"SC"},N:{"16":"A B"},O:{"16":"VC"},P:{"16":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"16":"9D"},S:{"1":"AE BE"}},B:1,C:"Alternate stylesheet",D:false}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/ambient-light.js b/tools/ui/node_modules/caniuse-lite/data/features/ambient-light.js new file mode 100644 index 0000000000000000000000000000000000000000..859caaa4fed7440a9edda68b084e208dc750e527 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/ambient-light.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"C L","132":"M G N O P","322":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB AD BD","132":"EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC","194":"0 1 2 3 4 5 6 7 8 9 AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B","322":"0 1 2 3 4 5 6 7 8 9 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC OD PD QD RD TC 4C SD UC","322":"0 1 2 3 4 5 6 7 8 9 MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"322":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"132":"AE BE"}},B:4,C:"Ambient Light Sensor",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/apng.js b/tools/ui/node_modules/caniuse-lite/data/features/apng.js new file mode 100644 index 0000000000000000000000000000000000000000..1fda7e6cef1b5f50c77269a24211ab306d3a6f52 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/apng.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD","2":"7C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B"},E:{"1":"E F A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D CD fC DD ED FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC","2":"F G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB"},G:{"1":"E XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD VD WD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"Animated PNG (APNG)",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/array-find-index.js b/tools/ui/node_modules/caniuse-lite/data/features/array-find-index.js new file mode 100644 index 0000000000000000000000000000000000000000..ad23d7808e8c091864ae0224789ee40c942e7e5c --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/array-find-index.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB"},E:{"1":"E F A B C L M G FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D CD fC DD ED"},F:{"1":"0 1 2 3 4 5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB OD PD QD RD TC 4C SD UC"},G:{"1":"E XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD VD WD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D","16":"A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:6,C:"Array.prototype.findIndex",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/array-find.js b/tools/ui/node_modules/caniuse-lite/data/features/array-find.js new file mode 100644 index 0000000000000000000000000000000000000000..6231d0201eccd76aead0780925754c29d94c4fd6 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/array-find.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","16":"C L M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB"},E:{"1":"E F A B C L M G FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D CD fC DD ED"},F:{"1":"0 1 2 3 4 5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB OD PD QD RD TC 4C SD UC"},G:{"1":"E XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD VD WD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D","16":"A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:6,C:"Array.prototype.find",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/array-flat.js b/tools/ui/node_modules/caniuse-lite/data/features/array-flat.js new file mode 100644 index 0000000000000000000000000000000000000000..c2b2c5fb4d8bb54280397bddf82694526d56af38 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/array-flat.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC"},E:{"1":"C L M G UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B CD fC DD ED FD GD gC TC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B OD PD QD RD TC 4C SD UC"},G:{"1":"eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD zD 0D 1D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:6,C:"flat & flatMap array methods",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/array-includes.js b/tools/ui/node_modules/caniuse-lite/data/features/array-includes.js new file mode 100644 index 0000000000000000000000000000000000000000..d0cfb2dcd4aa633489597fa35e9d5b36a0990afc --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/array-includes.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB"},E:{"1":"F A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E CD fC DD ED FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB OD PD QD RD TC 4C SD UC"},G:{"1":"YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:6,C:"Array.prototype.includes",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/arrow-functions.js b/tools/ui/node_modules/caniuse-lite/data/features/arrow-functions.js new file mode 100644 index 0000000000000000000000000000000000000000..c8bf3bfe318570b06253c14a93f4ed946609dafd --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/arrow-functions.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB"},E:{"1":"A B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F CD fC DD ED FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB OD PD QD RD TC 4C SD UC"},G:{"1":"aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:6,C:"Arrow functions",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/asmjs.js b/tools/ui/node_modules/caniuse-lite/data/features/asmjs.js new file mode 100644 index 0000000000000000000000000000000000000000..bc912b7ea1de74d26555bce497f4318db7ffc917 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/asmjs.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"L M G N O P","132":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","322":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB AD BD"},D:{"2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB","132":"0 1 2 3 4 5 6 7 8 9 KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"F B C OD PD QD RD TC 4C SD UC","132":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J rD sD tD uD 5C vD wD","132":"I"},J:{"2":"D A"},K:{"2":"A B C TC 4C UC","132":"H"},L:{"132":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"132":"VC"},P:{"2":"J","132":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"132":"8D"},R:{"132":"9D"},S:{"1":"AE BE"}},B:6,C:"asm.js",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/async-clipboard.js b/tools/ui/node_modules/caniuse-lite/data/features/async-clipboard.js new file mode 100644 index 0000000000000000000000000000000000000000..268ca555668377b9a3500b33bd2e6a86d8ce1e13 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/async-clipboard.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC AD BD","132":"0 1 2 3 4 5 6 7 CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},D:{"1":"0 1 2 3 4 5 6 7 8 9 FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC"},E:{"1":"M G HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L CD fC DD ED FD GD gC TC UC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B OD PD QD RD TC 4C SD UC"},G:{"1":"kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD"},H:{"2":"qD"},I:{"2":"ZC J rD sD tD uD 5C vD wD","260":"I"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"HB IB JB KB LB","2":"J xD yD zD 0D","260":"CB DB EB FB GB 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"2":"AE","132":"BE"}},B:5,C:"Asynchronous Clipboard API",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/async-functions.js b/tools/ui/node_modules/caniuse-lite/data/features/async-functions.js new file mode 100644 index 0000000000000000000000000000000000000000..abd5ccb8b6c66f5d434091140477a41e267a21c5 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/async-functions.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L","194":"M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B"},E:{"1":"B C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A CD fC DD ED FD GD","258":"gC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB OD PD QD RD TC 4C SD UC"},G:{"1":"cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD","258":"bD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:6,C:"Async functions",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/atob-btoa.js b/tools/ui/node_modules/caniuse-lite/data/features/atob-btoa.js new file mode 100644 index 0000000000000000000000000000000000000000..563187a61236d99d38658b918319c30ac09e1782 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/atob-btoa.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB RD TC 4C SD UC","2":"F OD PD","16":"QD"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"1":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"B C H TC 4C UC","16":"A"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"Base64 encoding and decoding",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/audio-api.js b/tools/ui/node_modules/caniuse-lite/data/features/audio-api.js new file mode 100644 index 0000000000000000000000000000000000000000..5eb420bce6ba10dd8d9763f88a32bd54f0c3359b --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/audio-api.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L","33":"M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB"},E:{"1":"G ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB CD fC DD","33":"K D E F A B C L M ED FD GD gC TC UC HD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC","33":"G N O P gB CB DB"},G:{"1":"lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD","33":"E VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"Web Audio API",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/audio.js b/tools/ui/node_modules/caniuse-lite/data/features/audio.js new file mode 100644 index 0000000000000000000000000000000000000000..0b8f2e5f42143650b705a422d5ae107419cdc8f8 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/audio.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC","132":"J fB K D E F A B C L M G N O P gB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB QD RD TC 4C SD UC","2":"F","4":"OD PD"},G:{"260":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"ZC J I tD uD 5C vD wD","2":"rD sD"},J:{"1":"D A"},K:{"1":"B C H TC 4C UC","2":"A"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"Audio element",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/audiotracks.js b/tools/ui/node_modules/caniuse-lite/data/features/audiotracks.js new file mode 100644 index 0000000000000000000000000000000000000000..444f83b3b250f9166bdad686f8af6e55a2eebe79 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/audiotracks.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F 6C"},B:{"1":"C L M G N O P","322":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB AD BD","194":"0 1 2 3 4 5 6 7 8 9 kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB","322":"0 1 2 3 4 5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K CD fC DD"},F:{"2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB OD PD QD RD TC 4C SD UC","322":"0 1 2 3 4 5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"1":"E WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD VD"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C TC 4C UC","322":"H"},L:{"322":"I"},M:{"2":"SC"},N:{"1":"A B"},O:{"322":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"322":"8D"},R:{"322":"9D"},S:{"194":"AE BE"}},B:1,C:"Audio Tracks",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/autofocus.js b/tools/ui/node_modules/caniuse-lite/data/features/autofocus.js new file mode 100644 index 0000000000000000000000000000000000000000..718547dd29e0f7f4aefdd1bd8ae7742ae3cb0861 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/autofocus.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J"},E:{"1":"fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC","2":"F"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"ZC J I uD 5C vD wD","2":"rD sD tD"},J:{"1":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:1,C:"Autofocus attribute",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/auxclick.js b/tools/ui/node_modules/caniuse-lite/data/features/auxclick.js new file mode 100644 index 0000000000000000000000000000000000000000..9197e35adb3dedcbf80e6da5f838011b64c2f3fa --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/auxclick.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B AD BD","129":"0 1 2 3 4 5 6 7 8 9 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B"},E:{"1":"uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB OD PD QD RD TC 4C SD UC"},G:{"1":"uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:5,C:"Auxclick",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/av1.js b/tools/ui/node_modules/caniuse-lite/data/features/av1.js new file mode 100644 index 0000000000000000000000000000000000000000..9d59d531d429581f1f37c7de4c0f79c46ff47fd2 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/av1.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"4 5 6 7 8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"0 1 2 3 C L M G N O z","194":"P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y"},C:{"1":"0 1 2 3 4 5 6 7 8 9 GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B AD BD","66":"6B 7B 8B 9B aC AC bC BC CC DC","260":"EC","516":"FC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC","66":"GC HC IC"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD","1028":"XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD","1028":"XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD zD 0D 1D gC 2D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:6,C:"AV1 video format",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/avif.js b/tools/ui/node_modules/caniuse-lite/data/features/avif.js new file mode 100644 index 0000000000000000000000000000000000000000..5a7a7c7e73cc9b0d2a868357797ecee9a6b8d14b --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/avif.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"4 5 6 7 8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"1 2 3 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w","4162":"0 x y z"},C:{"1":"0 1 2 3 4 5 6 7 8 9 w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC AD BD","194":"QC RC Q H R cC S T U V W X Y Z a b","257":"c d e f g h i j k l m n o p q r s t","2049":"u v"},D:{"1":"0 1 2 3 4 5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T"},E:{"1":"mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC","1796":"jC kC lC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC OD PD QD RD TC 4C SD UC"},G:{"1":"mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD","1281":"WC jC kC lC"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 5D 6D WC XC YC 7D","2":"J xD yD zD 0D 1D gC 2D 3D 4D"},Q:{"2":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:6,C:"AVIF image format",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/background-attachment.js b/tools/ui/node_modules/caniuse-lite/data/features/background-attachment.js new file mode 100644 index 0000000000000000000000000000000000000000..d3e73943eaba03cb5af4b50275425701efce0b33 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/background-attachment.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","132":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","132":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"fB K D E F A B C DD ED FD GD gC TC UC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","132":"J L CD fC HD","2050":"M G ID JD hC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB QD RD TC 4C SD UC","132":"F OD PD"},G:{"2":"fC TD 5C","4100":"iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","4868":"E UD VD WD XD YD ZD aD bD cD dD eD fD","6148":"gD hD iD jD kD lD mD hC"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD vD wD","132":"uD 5C"},J:{"260":"D A"},K:{"1":"B C H TC 4C UC","132":"A"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"2":"J","1028":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"CSS background-attachment",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/background-clip-text.js b/tools/ui/node_modules/caniuse-lite/data/features/background-clip-text.js new file mode 100644 index 0000000000000000000000000000000000000000..09adeae885ec82b3d755308b9a676cf222d423f2 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/background-clip-text.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"G N O P","33":"C L M","129":"3 4 5 6 7 8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","161":"0 1 2 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},C:{"1":"0 1 2 3 4 5 6 7 8 9 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB AD BD"},D:{"129":"3 4 5 6 7 8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","161":"0 1 2 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},E:{"2":"CD","129":"VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","388":"fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC","420":"J fC"},F:{"2":"F B C OD PD QD RD TC 4C SD UC","129":"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x y z AB BB","161":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o"},G:{"129":"VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","388":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC"},H:{"2":"qD"},I:{"16":"ZC rD sD tD","129":"I","161":"J uD 5C vD wD"},J:{"161":"D A"},K:{"16":"A B C TC 4C UC","129":"H"},L:{"129":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"161":"VC"},P:{"1":"HB IB JB KB LB","161":"J CB DB EB FB GB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"161":"8D"},R:{"161":"9D"},S:{"1":"AE BE"}},B:7,C:"Background-clip: text",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/background-img-opts.js b/tools/ui/node_modules/caniuse-lite/data/features/background-img-opts.js new file mode 100644 index 0000000000000000000000000000000000000000..add646ad6c9ef5c6ef67f2fa50bd6c9ff1dd27be --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/background-img-opts.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD","36":"BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","516":"J fB K D E F A B C L M"},E:{"1":"D E F A B C L M G FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","772":"J fB K CD fC DD ED"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB QD RD TC 4C SD UC","2":"F OD","36":"PD"},G:{"1":"E WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","4":"fC TD 5C VD","516":"UD"},H:{"132":"qD"},I:{"1":"I vD wD","36":"rD","516":"ZC J uD 5C","548":"sD tD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"CSS3 Background-image options",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/background-position-x-y.js b/tools/ui/node_modules/caniuse-lite/data/features/background-position-x-y.js new file mode 100644 index 0000000000000000000000000000000000000000..be932457c36e144ca5a64c81fee5d14a52066825 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/background-position-x-y.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:7,C:"background-position-x & background-position-y",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/background-repeat-round-space.js b/tools/ui/node_modules/caniuse-lite/data/features/background-repeat-round-space.js new file mode 100644 index 0000000000000000000000000000000000000000..a7409ad998e598cce460cae9505aa4ee5939e7b6 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/background-repeat-round-space.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E 6C","132":"F"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB"},E:{"1":"D E F A B C L M G FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K CD fC DD ED"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB QD RD TC 4C SD UC","2":"F G N O P OD PD"},G:{"1":"E WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD VD"},H:{"1":"qD"},I:{"1":"I vD wD","2":"ZC J rD sD tD uD 5C"},J:{"1":"A","2":"D"},K:{"1":"B C H TC 4C UC","2":"A"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:4,C:"CSS background-repeat round and space",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/background-sync.js b/tools/ui/node_modules/caniuse-lite/data/features/background-sync.js new file mode 100644 index 0000000000000000000000000000000000000000..0919a49e26d2fbbf53e6bad531976599372d3df6 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/background-sync.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC AD BD","16":"eC 8C 9C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:7,C:"Background Sync API",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/battery-status.js b/tools/ui/node_modules/caniuse-lite/data/features/battery-status.js new file mode 100644 index 0000000000000000000000000000000000000000..9a40dc858376be4afb7211853b5c2f50af6e97bd --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/battery-status.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"uB vB wB xB yB zB 0B 1B 2B","2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD","132":"N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB","164":"A B C L M G"},D:{"1":"0 1 2 3 4 5 6 7 8 9 pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB","66":"oB"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE","2":"BE"}},B:4,C:"Battery Status API",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/beacon.js b/tools/ui/node_modules/caniuse-lite/data/features/beacon.js new file mode 100644 index 0000000000000000000000000000000000000000..9bbc5b40a44d42acef5a35a9a905625c455301b5 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/beacon.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB"},E:{"1":"C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B CD fC DD ED FD GD gC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB OD PD QD RD TC 4C SD UC"},G:{"1":"dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"Beacon API",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/beforeafterprint.js b/tools/ui/node_modules/caniuse-lite/data/features/beforeafterprint.js new file mode 100644 index 0000000000000000000000000000000000000000..728d4d4cd070f9b05b5433ff3ae1cf918abede17 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/beforeafterprint.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"K D E F A B","16":"6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC"},E:{"1":"L M G HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C CD fC DD ED FD GD gC TC UC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B OD PD QD RD TC 4C SD UC"},G:{"1":"gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"16":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"16":"A B"},O:{"1":"VC"},P:{"2":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","16":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"Printing Events",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/bigint.js b/tools/ui/node_modules/caniuse-lite/data/features/bigint.js new file mode 100644 index 0000000000000000000000000000000000000000..3e21574512eb00ea2d1ddfaeacb31cd8da786dd5 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/bigint.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC AD BD","194":"EC FC GC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC"},E:{"1":"M G ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L CD fC DD ED FD GD gC TC UC HD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B OD PD QD RD TC 4C SD UC"},G:{"1":"kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD zD 0D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:6,C:"BigInt",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/blobbuilder.js b/tools/ui/node_modules/caniuse-lite/data/features/blobbuilder.js new file mode 100644 index 0000000000000000000000000000000000000000..3844bc3a4cabb91434d33663985376396842f7f2 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/blobbuilder.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB AD BD","36":"K D E F A B C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D","36":"E F A B C L M G N O P gB"},E:{"1":"K D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB CD fC DD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB UC","2":"F B C OD PD QD RD TC 4C SD"},G:{"1":"E VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD"},H:{"2":"qD"},I:{"1":"I","2":"rD sD tD","36":"ZC J uD 5C vD wD"},J:{"1":"A","2":"D"},K:{"1":"H UC","2":"A B C TC 4C"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:"Blob constructing",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/bloburls.js b/tools/ui/node_modules/caniuse-lite/data/features/bloburls.js new file mode 100644 index 0000000000000000000000000000000000000000..a68cb3ffc8428b993c386d014677c764fe3fc300 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/bloburls.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F 6C","129":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","129":"C L M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D","33":"E F A B C L M G N O P gB CB DB EB"},E:{"1":"D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB CD fC DD","33":"K"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC"},G:{"1":"E WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD","33":"VD"},H:{"2":"qD"},I:{"1":"I vD wD","2":"ZC rD sD tD","33":"J uD 5C"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"B","2":"A"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:"Blob URLs",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/border-image.js b/tools/ui/node_modules/caniuse-lite/data/features/border-image.js new file mode 100644 index 0000000000000000000000000000000000000000..d3e827929171d0432f2e4f3731a5469f114432a0 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/border-image.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"K D E F A 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","129":"C L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC","260":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B","804":"J fB K D E F A B C L M AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","260":"2B 3B 4B 5B 6B","388":"hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B","1412":"G N O P gB CB DB EB FB GB HB IB JB KB LB","1956":"J fB K D E F A B C L M"},E:{"1":"iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","129":"A B C L M G GD gC TC UC HD ID JD hC","1412":"K D E F ED FD","1956":"J fB CD fC DD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F OD PD","260":"pB qB rB sB tB","388":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB","1796":"QD RD","1828":"B C TC 4C SD UC"},G:{"1":"iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","129":"ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC","1412":"E VD WD XD YD","1956":"fC TD 5C UD"},H:{"1828":"qD"},I:{"1":"I","388":"vD wD","1956":"ZC J rD sD tD uD 5C"},J:{"1412":"A","1924":"D"},K:{"1":"H","2":"A","1828":"B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"B","2":"A"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","260":"xD yD","388":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","260":"AE"}},B:4,C:"CSS3 Border images",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/border-radius.js b/tools/ui/node_modules/caniuse-lite/data/features/border-radius.js new file mode 100644 index 0000000000000000000000000000000000000000..2fd10eeaee109ef8ef6b08a2932965cb2e53a245 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/border-radius.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","257":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B","289":"ZC AD BD","292":"7C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","33":"J"},E:{"1":"fB D E F A B C L M G FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","33":"J CD fC","129":"K DD ED"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB QD RD TC 4C SD UC","2":"F OD PD"},G:{"1":"E TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","33":"fC"},H:{"2":"qD"},I:{"1":"ZC J I sD tD uD 5C vD wD","33":"rD"},J:{"1":"D A"},K:{"1":"B C H TC 4C UC","2":"A"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","257":"AE"}},B:4,C:"CSS3 Border-radius (rounded corners)",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/broadcastchannel.js b/tools/ui/node_modules/caniuse-lite/data/features/broadcastchannel.js new file mode 100644 index 0000000000000000000000000000000000000000..2356e85f0c95ace6079055cd792bc922eb03f35e --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/broadcastchannel.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B"},E:{"1":"iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB OD PD QD RD TC 4C SD UC"},G:{"1":"iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"BroadcastChannel",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/brotli.js b/tools/ui/node_modules/caniuse-lite/data/features/brotli.js new file mode 100644 index 0000000000000000000000000000000000000000..8688a6be032e5dc577352b6711593b087ac99d7d --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/brotli.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB","194":"0B","257":"1B"},E:{"1":"L M G HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A CD fC DD ED FD GD gC","513":"B C TC UC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB OD PD QD RD TC 4C SD UC","194":"nB oB"},G:{"1":"cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:6,C:"Brotli Accept-Encoding/Content-Encoding",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/calc.js b/tools/ui/node_modules/caniuse-lite/data/features/calc.js new file mode 100644 index 0000000000000000000000000000000000000000..2f2d54c9ff584c4b5ace26cf9d0d0bdc5e449ffc --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/calc.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E 6C","260":"F","516":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD","33":"J fB K D E F A B C L M G"},D:{"1":"0 1 2 3 4 5 6 7 8 9 IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P","33":"gB CB DB EB FB GB HB"},E:{"1":"D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB CD fC DD","33":"K"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC"},G:{"1":"E WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD","33":"VD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C","132":"vD wD"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"calc() as CSS unit value",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/canvas-blending.js b/tools/ui/node_modules/caniuse-lite/data/features/canvas-blending.js new file mode 100644 index 0000000000000000000000000000000000000000..c560c60246590beefae00ec465522e262199f55e --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/canvas-blending.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB"},E:{"1":"D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K CD fC DD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N OD PD QD RD TC 4C SD UC"},G:{"1":"E WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD VD"},H:{"2":"qD"},I:{"1":"I vD wD","2":"ZC J rD sD tD uD 5C"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"Canvas blend modes",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/canvas-text.js b/tools/ui/node_modules/caniuse-lite/data/features/canvas-text.js new file mode 100644 index 0000000000000000000000000000000000000000..4ff1342774ce700752f459b825c3f0129693415b --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/canvas-text.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"6C","8":"K D E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD","8":"7C ZC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","8":"CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB QD RD TC 4C SD UC","8":"F OD PD"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"B C H TC 4C UC","8":"A"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"Text API for Canvas",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/canvas.js b/tools/ui/node_modules/caniuse-lite/data/features/canvas.js new file mode 100644 index 0000000000000000000000000000000000000000..e0b4dd21de95a4f07450ae5b35b8be1fef26ef69 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/canvas.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"6C","8":"K D E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C BD","132":"7C ZC AD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","132":"CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"260":"qD"},I:{"1":"ZC J I uD 5C vD wD","132":"rD sD tD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"Canvas (basic support)",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/ch-unit.js b/tools/ui/node_modules/caniuse-lite/data/features/ch-unit.js new file mode 100644 index 0000000000000000000000000000000000000000..67008a60c2fcb05a6eaf8b923eed5f8c74e6a3bd --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/ch-unit.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E 6C","132":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB"},E:{"1":"D E F A B C L M G FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K CD fC DD ED"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC"},G:{"1":"E WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD VD"},H:{"2":"qD"},I:{"1":"I vD wD","2":"ZC J rD sD tD uD 5C"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"ch (character) unit",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/chacha20-poly1305.js b/tools/ui/node_modules/caniuse-lite/data/features/chacha20-poly1305.js new file mode 100644 index 0000000000000000000000000000000000000000..8648609f6f4524105937ff1229066321c716c17f --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/chacha20-poly1305.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB","129":"kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB"},E:{"1":"C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B CD fC DD ED FD GD gC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB OD PD QD RD TC 4C SD UC"},G:{"1":"cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD","16":"wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:6,C:"ChaCha20-Poly1305 cipher suites for TLS",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/channel-messaging.js b/tools/ui/node_modules/caniuse-lite/data/features/channel-messaging.js new file mode 100644 index 0000000000000000000000000000000000000000..54faae70cf86feddfd44564e55d1d137068c93a1 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/channel-messaging.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB AD BD","194":"IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB RD TC 4C SD UC","2":"F OD PD","16":"QD"},G:{"1":"E UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C"},H:{"2":"qD"},I:{"1":"I vD wD","2":"ZC J rD sD tD uD 5C"},J:{"1":"D A"},K:{"1":"B C H TC 4C UC","2":"A"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"Channel messaging",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/childnode-remove.js b/tools/ui/node_modules/caniuse-lite/data/features/childnode-remove.js new file mode 100644 index 0000000000000000000000000000000000000000..6ebc0f7c6c62ff12048d88cbc1b6773c4ddb704e --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/childnode-remove.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","16":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB"},E:{"1":"D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB CD fC DD","16":"K"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC"},G:{"1":"E WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD VD"},H:{"2":"qD"},I:{"1":"I vD wD","2":"ZC J rD sD tD uD 5C"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"ChildNode.remove()",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/classlist.js b/tools/ui/node_modules/caniuse-lite/data/features/classlist.js new file mode 100644 index 0000000000000000000000000000000000000000..4dbdbae1397f74c8557d493b91ed4fbddf417972 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/classlist.js @@ -0,0 +1 @@ +module.exports={A:{A:{"8":"K D E F 6C","1924":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","8":"7C ZC AD","516":"GB HB","772":"J fB K D E F A B C L M G N O P gB CB DB EB FB BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","8":"J fB K D","516":"GB HB IB JB","772":"FB","900":"E F A B C L M G N O P gB CB DB EB"},E:{"1":"D E F A B C L M G FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","8":"J fB CD fC","900":"K DD ED"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","8":"F B OD PD QD RD TC","900":"C 4C SD UC"},G:{"1":"E WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","8":"fC TD 5C","900":"UD VD"},H:{"900":"qD"},I:{"1":"I vD wD","8":"rD sD tD","900":"ZC J uD 5C"},J:{"1":"A","900":"D"},K:{"1":"H","8":"A B","900":"C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"900":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"classList (DOMTokenList)",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js b/tools/ui/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js new file mode 100644 index 0000000000000000000000000000000000000000..c414a356397344bb9249ed30cd4ad8f8e92bba0c --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:6,C:"Client Hints: DPR, Width, Viewport-Width",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/clipboard.js b/tools/ui/node_modules/caniuse-lite/data/features/clipboard.js new file mode 100644 index 0000000000000000000000000000000000000000..2e769f7f03731198ac6dae7089989112d827ce0e --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/clipboard.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2436":"K D E F A B 6C"},B:{"260":"O P","2436":"C L M G N","8196":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB AD BD","772":"EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB","4100":"0 1 2 3 4 5 6 7 8 9 sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"2":"J fB K D E F A B C","2564":"L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB","8196":"0 1 2 3 4 5 6 7 8 9 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","10244":"uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B"},E:{"1":"C L M G UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","16":"CD fC","2308":"A B gC TC","2820":"J fB K D E F DD ED FD GD"},F:{"2":"F B OD PD QD RD TC 4C SD","16":"C","516":"UC","2564":"G N O P gB CB DB EB FB GB HB IB JB KB LB","8196":"0 1 2 3 4 5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","10244":"hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB"},G:{"1":"eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C","2820":"E UD VD WD XD YD ZD aD bD cD dD"},H:{"2":"qD"},I:{"2":"ZC J rD sD tD uD 5C","260":"I","2308":"vD wD"},J:{"2":"D","2308":"A"},K:{"2":"A B C TC 4C","16":"UC","8196":"H"},L:{"8196":"I"},M:{"1028":"SC"},N:{"2":"A B"},O:{"8196":"VC"},P:{"2052":"xD yD","2308":"J","8196":"CB DB EB FB GB HB IB JB KB LB zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"8196":"8D"},R:{"8196":"9D"},S:{"4100":"AE BE"}},B:5,C:"Synchronous Clipboard API",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/colr-v1.js b/tools/ui/node_modules/caniuse-lite/data/features/colr-v1.js new file mode 100644 index 0000000000000000000000000000000000000000..96f5a89a460c25b2fda6f7dff82e9c040e86ea51 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/colr-v1.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g"},C:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g AD BD","258":"h i j k l m n","578":"o p"},D:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y","194":"Z a b c d e f g"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"16":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"16":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB YC 7D","2":"J xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:6,C:"COLR/CPAL(v1) Font Formats",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/colr.js b/tools/ui/node_modules/caniuse-lite/data/features/colr.js new file mode 100644 index 0000000000000000000000000000000000000000..8b5dc9d36529ee06051fd61d6d2b12f1eaa8e4c2 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/colr.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E 6C","257":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","513":"Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s"},C:{"1":"0 1 2 3 4 5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC","513":"KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s"},E:{"1":"M G ID JD hC iC VC KD WC jC kC lC mC nC LD pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A CD fC DD ED FD GD gC","129":"B C L TC UC HD","1026":"XC oC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B OD PD QD RD TC 4C SD UC","513":"9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e"},G:{"1":"cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD","1026":"XC oC"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"16":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"16":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD zD 0D 1D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:6,C:"COLR/CPAL(v0) Font Formats",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/comparedocumentposition.js b/tools/ui/node_modules/caniuse-lite/data/features/comparedocumentposition.js new file mode 100644 index 0000000000000000000000000000000000000000..48d6f6a42f42e7234389ee2aed547cdfa07c1694 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/comparedocumentposition.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","16":"7C ZC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","16":"J fB K D E F A B C L M","132":"G N O P gB CB DB EB FB GB HB IB JB KB LB"},E:{"1":"A B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","16":"J fB K CD fC","132":"D E F ED FD GD","260":"DD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB SD UC","16":"F B OD PD QD RD TC 4C","132":"G N"},G:{"1":"aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC","132":"E TD 5C UD VD WD XD YD ZD"},H:{"1":"qD"},I:{"1":"I vD wD","16":"rD sD","132":"ZC J tD uD 5C"},J:{"132":"D A"},K:{"1":"C H UC","16":"A B TC 4C"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"Node.compareDocumentPosition()",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/console-basic.js b/tools/ui/node_modules/caniuse-lite/data/features/console-basic.js new file mode 100644 index 0000000000000000000000000000000000000000..5ab9a98d679aa560860eb86d2704368861c4f893 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/console-basic.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D 6C","132":"E F"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB TC 4C SD UC","2":"F OD PD QD RD"},G:{"1":"fC TD 5C UD","513":"E VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"4097":"qD"},I:{"1025":"ZC J I rD sD tD uD 5C vD wD"},J:{"258":"D A"},K:{"2":"A","258":"B C TC 4C UC","1025":"H"},L:{"1025":"I"},M:{"2049":"SC"},N:{"258":"A B"},O:{"258":"VC"},P:{"1025":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1025":"9D"},S:{"1":"AE BE"}},B:1,C:"Basic console logging functions",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/console-time.js b/tools/ui/node_modules/caniuse-lite/data/features/console-time.js new file mode 100644 index 0000000000000000000000000000000000000000..100f13270ddd322c9a989214d702bea603b10b26 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/console-time.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"K D E F A 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB TC 4C SD UC","2":"F OD PD QD RD","16":"B"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"1":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"H","16":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"B","2":"A"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"console.time and console.timeEnd",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/const.js b/tools/ui/node_modules/caniuse-lite/data/features/const.js new file mode 100644 index 0000000000000000000000000000000000000000..231342b353852937fa4bd251bb3d955f51be293d --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/const.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A 6C","2052":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","132":"7C ZC J fB K D E F A B C AD BD","260":"L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","260":"J fB K D E F A B C L M G N O P gB CB","772":"DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB","1028":"sB tB uB vB wB xB yB zB"},E:{"1":"B C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","260":"J fB A CD fC gC","772":"K D E F DD ED FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F OD","132":"B PD QD RD TC 4C","644":"C SD UC","772":"G N O P gB CB DB EB FB GB HB IB JB","1028":"KB LB hB iB jB kB lB mB"},G:{"1":"cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","260":"fC TD 5C aD bD","772":"E UD VD WD XD YD ZD"},H:{"644":"qD"},I:{"1":"I","16":"rD sD","260":"tD","772":"ZC J uD 5C vD wD"},J:{"772":"D A"},K:{"1":"H","132":"A B TC 4C","644":"C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"B","2":"A"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","1028":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:6,C:"const",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/constraint-validation.js b/tools/ui/node_modules/caniuse-lite/data/features/constraint-validation.js new file mode 100644 index 0000000000000000000000000000000000000000..e6893baf5075c4efa10a1fd5f64f6ea5efc77c10 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/constraint-validation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F 6C","900":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","388":"M G N","900":"C L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD","260":"0B 1B","388":"LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB","900":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","16":"J fB K D E F A B C L M","388":"HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB","900":"G N O P gB CB DB EB FB GB"},E:{"1":"A B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","16":"J fB CD fC","388":"E F FD GD","900":"K D DD ED"},F:{"1":"0 1 2 3 4 5 6 7 8 9 JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","16":"F B OD PD QD RD TC 4C","388":"G N O P gB CB DB EB FB GB HB IB","900":"C SD UC"},G:{"1":"aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC TD 5C","388":"E WD XD YD ZD","900":"UD VD"},H:{"2":"qD"},I:{"1":"I","16":"ZC rD sD tD","388":"vD wD","900":"J uD 5C"},J:{"16":"D","388":"A"},K:{"1":"H","16":"A B TC 4C","900":"C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"900":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","388":"AE"}},B:1,C:"Constraint Validation API",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/contenteditable.js b/tools/ui/node_modules/caniuse-lite/data/features/contenteditable.js new file mode 100644 index 0000000000000000000000000000000000000000..51d326bd9fc15617b36b3d458a2bc8b7cdd71f21 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/contenteditable.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD","2":"7C","4":"ZC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"1":"E UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C"},H:{"2":"qD"},I:{"1":"ZC J I uD 5C vD wD","2":"rD sD tD"},J:{"1":"D A"},K:{"1":"H UC","2":"A B C TC 4C"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"contenteditable attribute (basic support)",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js b/tools/ui/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js new file mode 100644 index 0000000000000000000000000000000000000000..d878bded275742c37f7a2672aa61c6550c19f6b7 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F 6C","132":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD","129":"J fB K D E F A B C L M G N O P gB CB DB EB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L","257":"M G N O P gB CB DB EB FB GB"},E:{"1":"D E F A B C L M G FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB CD fC","257":"K ED","260":"DD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC"},G:{"1":"E WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C","257":"VD","260":"UD"},H:{"2":"qD"},I:{"1":"I vD wD","2":"ZC J rD sD tD uD 5C"},J:{"2":"D","257":"A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"132":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"Content Security Policy 1.0",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js b/tools/ui/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js new file mode 100644 index 0000000000000000000000000000000000000000..0ebd4f446682302398878d4957425103165156d9 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M","4100":"G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB AD BD","132":"iB jB kB lB","260":"mB","516":"nB oB pB qB rB sB tB uB vB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB","1028":"nB oB pB","2052":"qB"},E:{"1":"A B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F CD fC DD ED FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB OD PD QD RD TC 4C SD UC","1028":"FB GB HB","2052":"IB"},G:{"1":"aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"Content Security Policy Level 2",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/cookie-store-api.js b/tools/ui/node_modules/caniuse-lite/data/features/cookie-store-api.js new file mode 100644 index 0000000000000000000000000000000000000000..1e354e01a779b5bd80849689c5e97b97197bebb1 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/cookie-store-api.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P","194":"Q H R S T U V"},C:{"1":"XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB AD BD","322":"PB QB RB SB TB UB VB WB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC","194":"DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V"},E:{"1":"wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B OD PD QD RD TC 4C SD UC","194":"2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC"},G:{"1":"wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 5D 6D WC XC YC 7D","2":"J xD yD zD 0D 1D gC 2D 3D 4D"},Q:{"2":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:7,C:"Cookie Store API",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/cors.js b/tools/ui/node_modules/caniuse-lite/data/features/cors.js new file mode 100644 index 0000000000000000000000000000000000000000..6b690743c662ef42a7000c2a01d4aa2a311a66c0 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/cors.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"K D 6C","132":"A","260":"E F"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD","2":"7C ZC","1025":"bC BC CC DC EC FC GC HC IC JC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","132":"J fB K D E F A B C"},E:{"2":"CD fC","513":"K D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","644":"J fB DD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB UC","2":"F B OD PD QD RD TC 4C SD"},G:{"513":"E VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","644":"fC TD 5C UD"},H:{"2":"qD"},I:{"1":"I vD wD","132":"ZC J rD sD tD uD 5C"},J:{"1":"A","132":"D"},K:{"1":"C H UC","2":"A B TC 4C"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"B","132":"A"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"Cross-Origin Resource Sharing",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/createimagebitmap.js b/tools/ui/node_modules/caniuse-lite/data/features/createimagebitmap.js new file mode 100644 index 0000000000000000000000000000000000000000..961f85e60571aec96db34f4cd2ea3a35133f0ff4 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/createimagebitmap.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB AD BD","1028":"c d e f g","3076":"tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b","8193":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B","132":"1B 2B","260":"3B 4B","516":"5B 6B 7B 8B 9B"},E:{"1":"XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M CD fC DD ED FD GD gC TC UC HD ID","4100":"G JD hC iC VC KD WC jC kC lC mC nC LD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB OD PD QD RD TC 4C SD UC","132":"oB pB","260":"qB rB","516":"sB tB uB vB wB"},G:{"1":"XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD","4100":"mD hC iC VC nD WC jC kC lC mC nC oD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"8193":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","16":"J xD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"3076":"AE BE"}},B:1,C:"createImageBitmap",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/credential-management.js b/tools/ui/node_modules/caniuse-lite/data/features/credential-management.js new file mode 100644 index 0000000000000000000000000000000000000000..051be1be53217075ba494a641d1ae4faa00d5c18 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/credential-management.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB","66":"zB 0B 1B","129":"2B 3B 4B 5B 6B 7B"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB OD PD QD RD TC 4C SD UC"},G:{"1":"kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:5,C:"Credential Management API",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/cross-document-view-transitions.js b/tools/ui/node_modules/caniuse-lite/data/features/cross-document-view-transitions.js new file mode 100644 index 0000000000000000000000000000000000000000..458a178dc4a5c76ec5c05de4d2187279573472ed --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/cross-document-view-transitions.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"0 1 2 3 4 5 6 7 8 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB AD BD","194":"aB","260":"bB cB dB eB I dC SC eC 8C 9C"},D:{"1":"9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"0 1 2 3 4 5 6 7 8 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},E:{"1":"uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u OD PD QD RD TC 4C SD UC"},G:{"1":"uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"260":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:5,C:"View Transitions (cross-document)",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/cryptography.js b/tools/ui/node_modules/caniuse-lite/data/features/cryptography.js new file mode 100644 index 0000000000000000000000000000000000000000..a136777aecb39c2c352b3813218214a30781eea6 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/cryptography.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"6C","8":"K D E F A","164":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","513":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","8":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB AD BD","66":"jB kB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","8":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB"},E:{"1":"B C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","8":"J fB K D CD fC DD ED","289":"E F A FD GD gC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","8":"F B C G N O P gB CB DB EB FB OD PD QD RD TC 4C SD UC"},G:{"1":"cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","8":"fC TD 5C UD VD WD","289":"E XD YD ZD aD bD"},H:{"2":"qD"},I:{"1":"I","8":"ZC J rD sD tD uD 5C vD wD"},J:{"8":"D A"},K:{"1":"H","8":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"8":"A","164":"B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"Web Cryptography",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-all.js b/tools/ui/node_modules/caniuse-lite/data/features/css-all.js new file mode 100644 index 0000000000000000000000000000000000000000..2f98f1dbae7aa9b9f819c6b6ea06ef19c701d6f7 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-all.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB"},E:{"1":"A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F CD fC DD ED FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB OD PD QD RD TC 4C SD UC"},G:{"1":"ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD"},H:{"2":"qD"},I:{"1":"I wD","2":"ZC J rD sD tD uD 5C vD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"CSS all property",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-anchor-positioning.js b/tools/ui/node_modules/caniuse-lite/data/features/css-anchor-positioning.js new file mode 100644 index 0000000000000000000000000000000000000000..cfea41837067244d18f7e5981f88938cc6156edf --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-anchor-positioning.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","194":"0 1 2 3 4 5 6 7"},C:{"1":"eB I dC SC eC 8C 9C","2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB AD BD","322":"cB dB"},D:{"1":"8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","194":"0 1 2 3 4 5 6 7"},E:{"1":"yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l OD PD QD RD TC 4C SD UC","194":"m n o p q r s t"},G:{"1":"yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"1":"JB KB LB","2":"J CB DB EB FB GB HB IB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:5,C:"CSS Anchor Positioning",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-animation.js b/tools/ui/node_modules/caniuse-lite/data/features/css-animation.js new file mode 100644 index 0000000000000000000000000000000000000000..e6186456a59d835e40fddda8248692aeb5e48720 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-animation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J AD BD","33":"fB K D E F A B C L M G"},D:{"1":"0 1 2 3 4 5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","33":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB"},E:{"1":"F A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"CD fC","33":"K D E DD ED FD","292":"J fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB UC","2":"F B OD PD QD RD TC 4C SD","33":"C G N O P gB CB DB EB FB GB HB IB JB KB LB"},G:{"1":"YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","33":"E VD WD XD","164":"fC TD 5C UD"},H:{"2":"qD"},I:{"1":"I","33":"J uD 5C vD wD","164":"ZC rD sD tD"},J:{"33":"D A"},K:{"1":"H UC","2":"A B C TC 4C"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:"CSS Animation",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-any-link.js b/tools/ui/node_modules/caniuse-lite/data/features/css-any-link.js new file mode 100644 index 0000000000000000000000000000000000000000..7f1de8ebc627c068c905df741c7df4d9516d776c --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-any-link.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","16":"7C","33":"ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","16":"J fB K D E F A B C L M","33":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC"},E:{"1":"F A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","16":"J fB K CD fC DD","33":"D E ED FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC","33":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B"},G:{"1":"YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC TD 5C UD","33":"E VD WD XD"},H:{"2":"qD"},I:{"1":"I","16":"ZC J rD sD tD uD 5C","33":"vD wD"},J:{"16":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","16":"J","33":"xD yD zD 0D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","33":"AE"}},B:5,C:"CSS :any-link selector",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-appearance.js b/tools/ui/node_modules/caniuse-lite/data/features/css-appearance.js new file mode 100644 index 0000000000000000000000000000000000000000..39d8b787d438ecb470a97c0febe59e48c7e18c5a --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-appearance.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","33":"S","164":"Q H R","388":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","164":"mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q","676":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","33":"S","164":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R"},E:{"1":"iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","164":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC","33":"JC KC LC","164":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC"},G:{"1":"iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","164":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC"},H:{"2":"qD"},I:{"1":"I","164":"ZC J rD sD tD uD 5C vD wD"},J:{"164":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A","388":"B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 5D 6D WC XC YC 7D","164":"J xD yD zD 0D 1D gC 2D 3D 4D"},Q:{"164":"8D"},R:{"1":"9D"},S:{"1":"BE","164":"AE"}},B:5,C:"CSS Appearance",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-at-counter-style.js b/tools/ui/node_modules/caniuse-lite/data/features/css-at-counter-style.js new file mode 100644 index 0000000000000000000000000000000000000000..76b6bd48c27fcfae9c5d7219437438b558338040 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-at-counter-style.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"C L M G N O P Q H R S T U V W X Y Z","132":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB AD BD","132":"0 1 2 3 4 5 6 7 8 9 kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z","132":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD","4":"XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC OD PD QD RD TC 4C SD UC","132":"0 1 2 3 4 5 6 7 8 9 QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD","4":"XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J rD sD tD uD 5C vD wD","132":"I"},J:{"2":"D A"},K:{"2":"A B C TC 4C UC","132":"H"},L:{"132":"I"},M:{"132":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"2":"J xD yD zD 0D 1D gC 2D 3D 4D 5D 6D","132":"CB DB EB FB GB HB IB JB KB LB WC XC YC 7D"},Q:{"2":"8D"},R:{"132":"9D"},S:{"132":"AE BE"}},B:4,C:"CSS Counter Styles",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-autofill.js b/tools/ui/node_modules/caniuse-lite/data/features/css-autofill.js new file mode 100644 index 0000000000000000000000000000000000000000..951cca8693271fda5f449eff0d930f353eaf307a --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-autofill.js @@ -0,0 +1 @@ +module.exports={A:{D:{"1":"0 1 2 3 4 5 6 7 8 9 t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","33":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s"},L:{"1":"I"},B:{"1":"0 1 2 3 4 5 6 7 8 9 t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P","33":"Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},M:{"2":"SC"},A:{"2":"K D E F A B 6C"},F:{"1":"0 1 2 3 4 5 6 7 8 9 f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC","33":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e"},K:{"1":"H","2":"A B C TC 4C UC"},E:{"1":"G JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"ND","33":"J fB K D E F A B C L M CD fC DD ED FD GD gC TC UC HD ID"},G:{"1":"mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","33":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD"},P:{"1":"DB EB FB GB HB IB JB KB LB","33":"J CB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},I:{"1":"I","2":"ZC J rD sD tD uD 5C","33":"vD wD"}},B:6,C:":autofill CSS pseudo-class",D:undefined}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-backdrop-filter.js b/tools/ui/node_modules/caniuse-lite/data/features/css-backdrop-filter.js new file mode 100644 index 0000000000000000000000000000000000000000..fd1b0ef49d8544924d0d378295c9ad7cc23725df --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-backdrop-filter.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N","257":"O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC AD BD","578":"JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l"},D:{"1":"0 1 2 3 4 5 6 7 8 9 PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB","194":"yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC"},E:{"1":"YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E CD fC DD ED FD","33":"F A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB OD PD QD RD TC 4C SD UC","194":"lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC"},G:{"1":"YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD","33":"YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 3D 4D 5D 6D WC XC YC 7D","2":"J","194":"xD yD zD 0D 1D gC 2D"},Q:{"2":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:7,C:"CSS Backdrop Filter",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-background-offsets.js b/tools/ui/node_modules/caniuse-lite/data/features/css-background-offsets.js new file mode 100644 index 0000000000000000000000000000000000000000..a4b4b542e0d5dc7acbbc5e9166c661b50ae58e82 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-background-offsets.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB"},E:{"1":"D E F A B C L M G FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K CD fC DD ED"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB QD RD TC 4C SD UC","2":"F OD PD"},G:{"1":"E WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD VD"},H:{"1":"qD"},I:{"1":"I vD wD","2":"ZC J rD sD tD uD 5C"},J:{"1":"A","2":"D"},K:{"1":"B C H TC 4C UC","2":"A"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"CSS background-position edge offsets",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js b/tools/ui/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js new file mode 100644 index 0000000000000000000000000000000000000000..4a1feec6b8cbb17c0c81794b88cc912208e7ae96 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 mB nB oB pB qB rB sB tB uB vB wB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB","260":"xB"},E:{"1":"B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D CD fC DD ED","132":"E F A FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 EB FB GB HB IB JB KB LB hB iB jB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB OD PD QD RD TC 4C SD UC","260":"kB"},G:{"1":"bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD VD WD","132":"E XD YD ZD aD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"CSS background-blend-mode",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js b/tools/ui/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js new file mode 100644 index 0000000000000000000000000000000000000000..e34296fac916e5dbc41528c504568f74969c6d43 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P","164":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB"},C:{"1":"0 1 2 3 4 5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB AD BD"},D:{"1":"OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB","164":"0 1 2 3 4 5 6 7 8 9 EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB"},E:{"2":"J fB K CD fC DD","164":"D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 z AB BB","2":"F OD PD QD RD","129":"B C TC 4C SD UC","164":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y"},G:{"2":"fC TD 5C UD VD","164":"E WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"132":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C","164":"vD wD"},J:{"2":"D","164":"A"},K:{"2":"A","129":"B C TC 4C UC","164":"H"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"164":"VC"},P:{"164":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"164":"8D"},R:{"164":"9D"},S:{"1":"AE BE"}},B:4,C:"CSS box-decoration-break",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-boxshadow.js b/tools/ui/node_modules/caniuse-lite/data/features/css-boxshadow.js new file mode 100644 index 0000000000000000000000000000000000000000..89ca6af3381cacb16adff2039c4aabc4937af6da --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-boxshadow.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC","33":"AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","33":"J fB K D E F"},E:{"1":"K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","33":"fB","164":"J CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB QD RD TC 4C SD UC","2":"F OD PD"},G:{"1":"E UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","33":"TD 5C","164":"fC"},H:{"2":"qD"},I:{"1":"J I uD 5C vD wD","164":"ZC rD sD tD"},J:{"1":"A","33":"D"},K:{"1":"B C H TC 4C UC","2":"A"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"CSS3 Box-shadow",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-canvas.js b/tools/ui/node_modules/caniuse-lite/data/features/css-canvas.js new file mode 100644 index 0000000000000000000000000000000000000000..98e8f1dad48613df8ef5051092eba62b76a6f4f7 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-canvas.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"0 1 2 3 4 5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","33":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB"},E:{"2":"CD fC","33":"J fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC","33":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB"},G:{"33":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"I","33":"ZC J rD sD tD uD 5C vD wD"},J:{"33":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"2":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","33":"J"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:7,C:"CSS Canvas Drawings",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-caret-color.js b/tools/ui/node_modules/caniuse-lite/data/features/css-caret-color.js new file mode 100644 index 0000000000000000000000000000000000000000..f327426f1322336cb5740317f2262dc6939eb691 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-caret-color.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B"},E:{"1":"C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B CD fC DD ED FD GD gC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB OD PD QD RD TC 4C SD UC"},G:{"1":"dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:2,C:"CSS caret-color",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-cascade-layers.js b/tools/ui/node_modules/caniuse-lite/data/features/css-cascade-layers.js new file mode 100644 index 0000000000000000000000000000000000000000..a71ddab3154b51af6e7a00bff149f3033805a226 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-cascade-layers.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e","322":"f g h"},C:{"1":"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c AD BD","194":"d e f"},D:{"1":"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e","322":"f g h"},E:{"1":"iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U OD PD QD RD TC 4C SD UC"},G:{"1":"iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB YC 7D","2":"J xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:4,C:"CSS Cascade Layers",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-cascade-scope.js b/tools/ui/node_modules/caniuse-lite/data/features/css-cascade-scope.js new file mode 100644 index 0000000000000000000000000000000000000000..7678599b5b9fb2920f83013ffb6ff49adfa16c01 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-cascade-scope.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"1 2 3 4 5 6 7 8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m","194":"0 n o p q r s t u v w x y z"},C:{"1":"dB eB I dC SC eC 8C 9C","2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB AD BD"},D:{"1":"1 2 3 4 5 6 7 8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m","194":"0 n o p q r s t u v w x y z"},E:{"1":"rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y OD PD QD RD TC 4C SD UC","194":"Z a b c d e f g h i j k l m n o"},G:{"1":"rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"1":"HB IB JB KB LB","2":"J CB DB EB FB GB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:5,C:"Scoped Styles: the @scope rule",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-case-insensitive.js b/tools/ui/node_modules/caniuse-lite/data/features/css-case-insensitive.js new file mode 100644 index 0000000000000000000000000000000000000000..1e43caeda56dda4b0528c122e9d24b8ccb535a6f --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-case-insensitive.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB"},E:{"1":"F A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E CD fC DD ED FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB OD PD QD RD TC 4C SD UC"},G:{"1":"YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:"Case-insensitive CSS attribute selectors",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-clip-path.js b/tools/ui/node_modules/caniuse-lite/data/features/css-clip-path.js new file mode 100644 index 0000000000000000000000000000000000000000..44466b40efafe4ced956559e587777d9a336d68f --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-clip-path.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"C L M G N O","260":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","3138":"P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC","132":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB AD BD","644":"yB zB 0B 1B 2B 3B 4B"},D:{"2":"J fB K D E F A B C L M G N O P gB CB DB EB FB","260":"0 1 2 3 4 5 6 7 8 9 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","292":"GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B"},E:{"2":"J fB K CD fC DD ED","260":"M G HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","292":"D E F A B C L FD GD gC TC UC"},F:{"2":"F B C OD PD QD RD TC 4C SD UC","260":"0 1 2 3 4 5 6 7 8 9 tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","292":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB"},G:{"2":"fC TD 5C UD VD","260":"gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","292":"E WD XD YD ZD aD bD cD dD eD fD"},H:{"2":"qD"},I:{"2":"ZC J rD sD tD uD 5C","260":"I","292":"vD wD"},J:{"2":"D A"},K:{"2":"A B C TC 4C UC","260":"H"},L:{"260":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"260":"VC"},P:{"260":"CB DB EB FB GB HB IB JB KB LB yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","292":"J xD"},Q:{"260":"8D"},R:{"260":"9D"},S:{"1":"BE","644":"AE"}},B:4,C:"CSS clip-path property (for HTML)",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-color-adjust.js b/tools/ui/node_modules/caniuse-lite/data/features/css-color-adjust.js new file mode 100644 index 0000000000000000000000000000000000000000..7fe6702bee800d0f777760537e77d3c22e578fa4 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-color-adjust.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"C L M G N O P","33":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB AD BD"},D:{"16":"J fB K D E F A B C L M G N O P","33":"0 1 2 3 4 5 6 7 8 9 gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB CD fC DD","33":"K D E F A B C L M G ED FD GD gC TC UC HD ID JD hC"},F:{"2":"F B C OD PD QD RD TC 4C SD UC","33":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"1":"iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC"},H:{"2":"qD"},I:{"16":"ZC J rD sD tD uD 5C vD wD","33":"I"},J:{"16":"D A"},K:{"2":"A B C TC 4C UC","33":"H"},L:{"16":"I"},M:{"1":"SC"},N:{"16":"A B"},O:{"16":"VC"},P:{"16":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"33":"8D"},R:{"16":"9D"},S:{"1":"AE BE"}},B:4,C:"CSS print-color-adjust",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-color-function.js b/tools/ui/node_modules/caniuse-lite/data/features/css-color-function.js new file mode 100644 index 0000000000000000000000000000000000000000..eaceacd0807ea2330e3e66541c54ea19078bd1b5 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-color-function.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q","322":"r s t"},C:{"1":"0 1 2 3 4 5 6 7 8 9 w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AD BD","578":"u v"},D:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q","322":"r s t"},E:{"1":"G JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A CD fC DD ED FD GD","132":"B C L M gC TC UC HD ID"},F:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d OD PD QD RD TC 4C SD UC","322":"e f g"},G:{"1":"mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD","132":"bD cD dD eD fD gD hD iD jD kD lD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"1":"EB FB GB HB IB JB KB LB","2":"J CB DB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:4,C:"CSS color() function",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-conic-gradients.js b/tools/ui/node_modules/caniuse-lite/data/features/css-conic-gradients.js new file mode 100644 index 0000000000000000000000000000000000000000..0852a630596ae0c4380d5b4b48567af848458dda --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-conic-gradients.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC AD BD","578":"OC PC QC RC Q H R cC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B","257":"IC JC","450":"aC AC bC BC CC DC EC FC GC HC"},E:{"1":"L M G UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C CD fC DD ED FD GD gC TC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB OD PD QD RD TC 4C SD UC","257":"7B 8B","450":"xB yB zB 0B 1B 2B 3B 4B 5B 6B"},G:{"1":"fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD zD 0D 1D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:5,C:"CSS Conical Gradients",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-container-queries-style.js b/tools/ui/node_modules/caniuse-lite/data/features/css-container-queries-style.js new file mode 100644 index 0000000000000000000000000000000000000000..29c791c387a794a08c5cb57b79eee00d861dae70 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-container-queries-style.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p","194":"q r s t","260":"0 1 2 3 4 5 6 7 8 9 u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p","194":"q r s t","260":"0 1 2 3 4 5 6 7 8 9 u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD","260":"tC uC vC wC xC yC zC 0C 1C 2C 3C ND","772":"YC"},F:{"2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b OD PD QD RD TC 4C SD UC","194":"c d e f g","260":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x y z AB BB"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD","260":"tC uC vC wC xC yC zC 0C 1C 2C 3C","772":"YC"},H:{"2":"qD"},I:{"2":"ZC J rD sD tD uD 5C vD wD","260":"I"},J:{"2":"D A"},K:{"2":"A B C TC 4C UC","260":"H"},L:{"260":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","260":"EB FB GB HB IB JB KB LB"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:5,C:"CSS Container Style Queries",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-container-queries.js b/tools/ui/node_modules/caniuse-lite/data/features/css-container-queries.js new file mode 100644 index 0000000000000000000000000000000000000000..13560966164cb7721d3225bc469f02af2c3b4140 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-container-queries.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n","516":"o"},C:{"1":"0 1 2 3 4 5 6 7 8 9 t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a","194":"c d e f g h i j k l m n","450":"b","516":"o"},E:{"1":"WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC OD PD QD RD TC 4C SD UC","194":"Q H R cC S T U V W X Y Z","516":"a b c"},G:{"1":"WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB","2":"J xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:5,C:"CSS Container Queries (Size)",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-container-query-units.js b/tools/ui/node_modules/caniuse-lite/data/features/css-container-query-units.js new file mode 100644 index 0000000000000000000000000000000000000000..5d25ebd16da1263f2fbfc3e77f369074a17a943b --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-container-query-units.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n"},C:{"1":"0 1 2 3 4 5 6 7 8 9 t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b","194":"k l m n","450":"c d e f g h i j"},E:{"1":"WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC OD PD QD RD TC 4C SD UC","194":"Q H R cC S T U V W X Y Z"},G:{"1":"WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB","2":"J xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:5,C:"CSS Container Query Units",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-containment.js b/tools/ui/node_modules/caniuse-lite/data/features/css-containment.js new file mode 100644 index 0000000000000000000000000000000000000000..db98727c90956a5b4882c7be64430a6dee3dc911 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-containment.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB AD BD","194":"sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B","66":"2B"},E:{"1":"iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB OD PD QD RD TC 4C SD UC","66":"pB qB"},G:{"1":"iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","194":"AE"}},B:2,C:"CSS Containment",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-content-visibility.js b/tools/ui/node_modules/caniuse-lite/data/features/css-content-visibility.js new file mode 100644 index 0000000000000000000000000000000000000000..8472fe724fb0b43f5f9993dee18855a91cc6fc86 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-content-visibility.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P Q H R S T"},C:{"1":"8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r AD BD","194":"0 1 2 3 4 5 6 7 s t u v w x y z"},D:{"1":"0 1 2 3 4 5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T"},E:{"1":"YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC OD PD QD RD TC 4C SD UC"},G:{"1":"YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 5D 6D WC XC YC 7D","2":"J xD yD zD 0D 1D gC 2D 3D 4D"},Q:{"2":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:5,C:"CSS content-visibility",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-counters.js b/tools/ui/node_modules/caniuse-lite/data/features/css-counters.js new file mode 100644 index 0000000000000000000000000000000000000000..5836f05ff9d75cf4d6a82357775a841403057392 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-counters.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E F A B","2":"K D 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"1":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"CSS Counters",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-crisp-edges.js b/tools/ui/node_modules/caniuse-lite/data/features/css-crisp-edges.js new file mode 100644 index 0000000000000000000000000000000000000000..3c34aa7af61a7db730dbdabdc5d42ff49325ca3d --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-crisp-edges.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K 6C","2340":"D E F A B"},B:{"2":"C L M G N O P","1025":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD","513":"EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b","545":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC BD"},D:{"2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB","1025":"0 1 2 3 4 5 6 7 8 9 sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"A B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB CD fC DD","164":"K","4644":"D E F ED FD GD"},F:{"2":"F B G N O P gB CB DB EB FB GB HB IB JB OD PD QD RD TC 4C","545":"C SD UC","1025":"0 1 2 3 4 5 6 7 8 9 KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"1":"aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C","4260":"UD VD","4644":"E WD XD YD ZD"},H:{"2":"qD"},I:{"2":"ZC J rD sD tD uD 5C vD wD","1025":"I"},J:{"2":"D","4260":"A"},K:{"2":"A B TC 4C","545":"C UC","1025":"H"},L:{"1025":"I"},M:{"1":"SC"},N:{"2340":"A B"},O:{"1025":"VC"},P:{"1025":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1025":"8D"},R:{"1025":"9D"},S:{"1":"BE","4097":"AE"}},B:4,C:"Crisp edges/pixelated images",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-cross-fade.js b/tools/ui/node_modules/caniuse-lite/data/features/css-cross-fade.js new file mode 100644 index 0000000000000000000000000000000000000000..f4071051d16ff4b0885e135104c8f4b48664b5b8 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-cross-fade.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"C L M G N O P","33":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"J fB K D E F A B C L M G N","33":"0 1 2 3 4 5 6 7 8 9 O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"A B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB CD fC","33":"K D E F DD ED FD GD"},F:{"2":"F B C OD PD QD RD TC 4C SD UC","33":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"1":"aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C","33":"E UD VD WD XD YD ZD"},H:{"2":"qD"},I:{"2":"ZC J rD sD tD uD 5C","33":"I vD wD"},J:{"2":"D A"},K:{"2":"A B C TC 4C UC","33":"H"},L:{"33":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"33":"VC"},P:{"33":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"33":"8D"},R:{"33":"9D"},S:{"2":"AE BE"}},B:4,C:"CSS Cross-Fade Function",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-default-pseudo.js b/tools/ui/node_modules/caniuse-lite/data/features/css-default-pseudo.js new file mode 100644 index 0000000000000000000000000000000000000000..773b08f874382e344bb0a01705ace45b478258df --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-default-pseudo.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","16":"7C ZC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","16":"J fB K D E F A B C L M","132":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B"},E:{"1":"B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","16":"J fB CD fC","132":"K D E F A DD ED FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","16":"F B OD PD QD RD TC 4C","132":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB","260":"C SD UC"},G:{"1":"bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC TD 5C UD VD","132":"E WD XD YD ZD aD"},H:{"260":"qD"},I:{"1":"I","16":"ZC rD sD tD","132":"J uD 5C vD wD"},J:{"16":"D","132":"A"},K:{"1":"H","16":"A B C TC 4C","260":"UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","132":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:":default CSS pseudo-class",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js b/tools/ui/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js new file mode 100644 index 0000000000000000000000000000000000000000..251577a03aba8f99041c882bf7b30ef6f2ac8e96 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","16":"Q"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"B","2":"J fB K D E F A C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"2":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:7,C:"Explicit descendant combinator >>",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-deviceadaptation.js b/tools/ui/node_modules/caniuse-lite/data/features/css-deviceadaptation.js new file mode 100644 index 0000000000000000000000000000000000000000..62fba34ae928a9bc4b5416ef3a59955471d5d42b --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-deviceadaptation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F 6C","164":"A B"},B:{"66":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","164":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB","66":"0 1 2 3 4 5 6 7 8 9 LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB OD PD QD RD TC 4C SD UC","66":"0 1 2 3 4 5 6 7 8 9 rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"292":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A H","292":"B C TC 4C UC"},L:{"2":"I"},M:{"2":"SC"},N:{"164":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"66":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:5,C:"CSS Device Adaptation",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-dir-pseudo.js b/tools/ui/node_modules/caniuse-lite/data/features/css-dir-pseudo.js new file mode 100644 index 0000000000000000000000000000000000000000..0f38d2344fe906de3945c77951cc6f2e8370501b --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-dir-pseudo.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"3 4 5 6 7 8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n","194":"0 1 2 o p q r s t u v w x y z"},C:{"1":"0 1 2 3 4 5 6 7 8 9 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N AD BD","33":"O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB"},D:{"1":"3 4 5 6 7 8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z","194":"0 1 2 a b c d e f g h i j k l m n o p q r s t u v w x y z"},E:{"1":"mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z OD PD QD RD TC 4C SD UC","194":"a b c d e f g h i j k l m n o"},G:{"1":"mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"1":"HB IB JB KB LB","2":"J CB DB EB FB GB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"1":"BE","33":"AE"}},B:5,C:":dir() CSS pseudo-class",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-display-contents.js b/tools/ui/node_modules/caniuse-lite/data/features/css-display-contents.js new file mode 100644 index 0000000000000000000000000000000000000000..787f039230ff68ccee363186e775a485977f7810 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-display-contents.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"C L M G N O P","132":"Q H R S T U V W X","260":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB AD BD","132":"oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC","260":"0 1 2 3 4 5 6 7 8 9 BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B","132":"EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X","194":"9B aC AC bC BC CC DC","260":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"J fB K D E F A B CD fC DD ED FD GD gC","132":"C L M G TC UC HD ID JD hC iC VC KD","260":"XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","772":"WC jC kC lC mC nC LD"},F:{"2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B OD PD QD RD TC 4C SD UC","132":"3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC","260":"0 1 2 3 4 5 6 7 8 9 PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"1":"XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD","132":"dD eD fD gD hD iD","260":"jD kD lD mD hC iC VC nD","516":"jC kC lC mC nC oD","772":"WC"},H:{"2":"qD"},I:{"2":"ZC J rD sD tD uD 5C vD wD","260":"I"},J:{"2":"D A"},K:{"2":"A B C TC 4C UC","260":"H"},L:{"260":"I"},M:{"260":"SC"},N:{"2":"A B"},O:{"132":"VC"},P:{"2":"J xD yD zD 0D","132":"1D gC 2D 3D 4D 5D","260":"CB DB EB FB GB HB IB JB KB LB 6D WC XC YC 7D"},Q:{"132":"8D"},R:{"260":"9D"},S:{"132":"AE","260":"BE"}},B:4,C:"CSS display: contents",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-element-function.js b/tools/ui/node_modules/caniuse-lite/data/features/css-element-function.js new file mode 100644 index 0000000000000000000000000000000000000000..1e8376cacaac5163e8156eb794f30c65407d22c0 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-element-function.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"33":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","164":"7C ZC AD BD"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"2":"I"},M:{"33":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"33":"AE BE"}},B:5,C:"CSS element() function",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-env-function.js b/tools/ui/node_modules/caniuse-lite/data/features/css-env-function.js new file mode 100644 index 0000000000000000000000000000000000000000..0fb068bfb31d2aeb7b483f731e5dc6ee8c186f13 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-env-function.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC"},E:{"1":"C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A CD fC DD ED FD GD gC","132":"B"},F:{"1":"0 1 2 3 4 5 6 7 8 9 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B OD PD QD RD TC 4C SD UC"},G:{"1":"dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD","132":"cD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD zD 0D 1D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:7,C:"CSS Environment Variables env()",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-exclusions.js b/tools/ui/node_modules/caniuse-lite/data/features/css-exclusions.js new file mode 100644 index 0000000000000000000000000000000000000000..6eb5ab61b7bd5d59065ce5385660fe035d8fc5c6 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-exclusions.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F 6C","33":"A B"},B:{"2":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","33":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"2":"I"},M:{"2":"SC"},N:{"33":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:5,C:"CSS Exclusions Level 1",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-featurequeries.js b/tools/ui/node_modules/caniuse-lite/data/features/css-featurequeries.js new file mode 100644 index 0000000000000000000000000000000000000000..476dd5cce79cf745bc72120e1bf76eddcd38cec8 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-featurequeries.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB"},E:{"1":"F A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E CD fC DD ED FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB UC","2":"F B C OD PD QD RD TC 4C SD"},G:{"1":"YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD"},H:{"1":"qD"},I:{"1":"I vD wD","2":"ZC J rD sD tD uD 5C"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"CSS Feature Queries",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-file-selector-button.js b/tools/ui/node_modules/caniuse-lite/data/features/css-file-selector-button.js new file mode 100644 index 0000000000000000000000000000000000000000..87cc3d9b5d5495556e669e59e021ad432137d4a9 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-file-selector-button.js @@ -0,0 +1 @@ +module.exports={A:{D:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","33":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X"},L:{"1":"I"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","33":"C L M G N O P Q H R S T U V W X"},C:{"1":"0 1 2 3 4 5 6 7 8 9 cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R AD BD"},M:{"1":"SC"},A:{"2":"K D E F 6C","33":"A B"},F:{"1":"0 1 2 3 4 5 6 7 8 9 OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC","33":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC"},K:{"1":"H","2":"A B C TC 4C UC"},E:{"1":"G ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"ND","33":"J fB K D E F A B C L M CD fC DD ED FD GD gC TC UC HD"},G:{"1":"lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","33":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 6D WC XC YC 7D","33":"J xD yD zD 0D 1D gC 2D 3D 4D 5D"},I:{"1":"I","2":"ZC J rD sD tD uD 5C","33":"vD wD"}},B:6,C:"::file-selector-button CSS pseudo-element",D:undefined}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-filter-function.js b/tools/ui/node_modules/caniuse-lite/data/features/css-filter-function.js new file mode 100644 index 0000000000000000000000000000000000000000..e044cf22764bf0bc69f570431b1c09ee05b931ed --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-filter-function.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E CD fC DD ED FD","33":"F"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"1":"aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD","33":"YD ZD"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"2":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:5,C:"CSS filter() function",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-filters.js b/tools/ui/node_modules/caniuse-lite/data/features/css-filters.js new file mode 100644 index 0000000000000000000000000000000000000000..ec204b2babc83fd4d8d6bbe4d6244eef7fe022cc --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-filters.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","1028":"L M G N O P","1346":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD","196":"lB","516":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O","33":"P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B"},E:{"1":"A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB CD fC DD","33":"K D E F ED FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC","33":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB"},G:{"1":"ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD","33":"E VD WD XD YD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C","33":"vD wD"},J:{"2":"D","33":"A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","33":"J xD yD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:"CSS Filter Effects",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-first-letter.js b/tools/ui/node_modules/caniuse-lite/data/features/css-first-letter.js new file mode 100644 index 0000000000000000000000000000000000000000..2ee450c3ee34a83354033f24cef57876cc073d55 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-first-letter.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","16":"6C","516":"E","1540":"K D"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD","132":"ZC","260":"7C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","16":"fB K D E","132":"J"},E:{"1":"K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","16":"fB CD","132":"J fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB SD UC","16":"F OD","260":"B PD QD RD TC 4C"},G:{"1":"E UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC TD 5C"},H:{"1":"qD"},I:{"1":"ZC J I uD 5C vD wD","16":"rD sD","132":"tD"},J:{"1":"D A"},K:{"1":"C H UC","260":"A B TC 4C"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"::first-letter CSS pseudo-element selector",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-first-line.js b/tools/ui/node_modules/caniuse-lite/data/features/css-first-line.js new file mode 100644 index 0000000000000000000000000000000000000000..9c40cecd2ef82011ef2142098b9231b40d49a006 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-first-line.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","132":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"1":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"CSS first-line pseudo-element",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-fixed.js b/tools/ui/node_modules/caniuse-lite/data/features/css-fixed.js new file mode 100644 index 0000000000000000000000000000000000000000..b58acd4688d31bb2115fc93409d3a999d9f62808 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-fixed.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"D E F A B","2":"6C","8":"K"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","1025":"GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"1":"E XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C","132":"UD VD WD"},H:{"2":"qD"},I:{"1":"ZC I vD wD","260":"rD sD tD","513":"J uD 5C"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"CSS position:fixed",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-focus-visible.js b/tools/ui/node_modules/caniuse-lite/data/features/css-focus-visible.js new file mode 100644 index 0000000000000000000000000000000000000000..ee2aec153a8a7063b8df3d40971c5c72e290c124 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-focus-visible.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P","328":"Q H R S T U"},C:{"1":"0 1 2 3 4 5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD","161":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T"},D:{"1":"0 1 2 3 4 5 6 7 8 9 V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC","328":"GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U"},E:{"1":"iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M CD fC DD ED FD GD gC TC UC HD ID","578":"G JD hC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC OD PD QD RD TC 4C SD UC","328":"FC GC HC IC JC KC"},G:{"1":"iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD","578":"mD hC"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 5D 6D WC XC YC 7D","2":"J xD yD zD 0D 1D gC 2D 3D 4D"},Q:{"2":"8D"},R:{"1":"9D"},S:{"161":"AE BE"}},B:5,C:":focus-visible CSS pseudo-class",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-focus-within.js b/tools/ui/node_modules/caniuse-lite/data/features/css-focus-within.js new file mode 100644 index 0000000000000000000000000000000000000000..b086178072c9be55c63bb38b852b52fb92b85d87 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-focus-within.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B","194":"aC"},E:{"1":"B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A CD fC DD ED FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB OD PD QD RD TC 4C SD UC","194":"xB"},G:{"1":"bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD zD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:7,C:":focus-within CSS pseudo-class",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-font-palette.js b/tools/ui/node_modules/caniuse-lite/data/features/css-font-palette.js new file mode 100644 index 0000000000000000000000000000000000000000..8a91bc2a1c0be22e06b9c12cedd7ccd36a38ffcb --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-font-palette.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n"},C:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j"},E:{"1":"iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V OD PD QD RD TC 4C SD UC"},G:{"1":"iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 7D","2":"J xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:5,C:"CSS font-palette",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js b/tools/ui/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js new file mode 100644 index 0000000000000000000000000000000000000000..1584b6567350fa485ba42d1bbae49a4c2c701db3 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB AD BD","194":"xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B"},D:{"1":"0 1 2 3 4 5 6 7 8 9 AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB","66":"0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC"},E:{"1":"C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B CD fC DD ED FD GD gC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB OD PD QD RD TC 4C SD UC","66":"nB oB pB qB rB sB tB uB vB wB xB"},G:{"1":"dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J","66":"xD yD zD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","194":"AE"}},B:5,C:"CSS font-display",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-font-stretch.js b/tools/ui/node_modules/caniuse-lite/data/features/css-font-stretch.js new file mode 100644 index 0000000000000000000000000000000000000000..9cdad9e1660acfcd7a1e11c743961de0c34b2b96 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-font-stretch.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB"},E:{"1":"B C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A CD fC DD ED FD GD gC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB OD PD QD RD TC 4C SD UC"},G:{"1":"bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:"CSS font-stretch",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-gencontent.js b/tools/ui/node_modules/caniuse-lite/data/features/css-gencontent.js new file mode 100644 index 0000000000000000000000000000000000000000..b7f57193c84f35a1f0466569fbd8df82cc103c12 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-gencontent.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D 6C","132":"E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"1":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"CSS Generated content for pseudo-elements",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-gradients.js b/tools/ui/node_modules/caniuse-lite/data/features/css-gradients.js new file mode 100644 index 0000000000000000000000000000000000000000..4b5ecbe6f25384d169a8bbf97b06484f2c7fdb0f --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-gradients.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD","260":"N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB","292":"J fB K D E F A B C L M G BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","33":"A B C L M G N O P gB CB DB EB FB GB HB","548":"J fB K D E F"},E:{"1":"iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"CD fC","260":"D E F A B C L M G ED FD GD gC TC UC HD ID JD hC","292":"K DD","804":"J fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB UC","2":"F B OD PD QD RD","33":"C SD","164":"TC 4C"},G:{"1":"iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","260":"E WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC","292":"UD VD","804":"fC TD 5C"},H:{"2":"qD"},I:{"1":"I vD wD","33":"J uD 5C","548":"ZC rD sD tD"},J:{"1":"A","548":"D"},K:{"1":"H UC","2":"A B","33":"C","164":"TC 4C"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"CSS Gradients",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-grid-animation.js b/tools/ui/node_modules/caniuse-lite/data/features/css-grid-animation.js new file mode 100644 index 0000000000000000000000000000000000000000..1dd7b935b472c92609cdea3bb31739274b70ac4c --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-grid-animation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p"},C:{"1":"0 1 2 3 4 5 6 7 8 9 FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p"},E:{"1":"WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b OD PD QD RD TC 4C SD UC"},G:{"1":"WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"1":"DB EB FB GB HB IB JB KB LB","2":"J CB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"1":"BE","2":"AE"}},B:4,C:"CSS Grid animation",D:false}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-grid-lanes.js b/tools/ui/node_modules/caniuse-lite/data/features/css-grid-lanes.js new file mode 100644 index 0000000000000000000000000000000000000000..dd57d21409dd4eeb38adb58e65cfab3b6cd3b121 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-grid-lanes.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB","200":"XB YB ZB aB bB cB dB eB I"},C:{"2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC AD BD","200":"0 1 2 3 4 5 6 7 8 9 QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB","200":"XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC","200":"mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C"},F:{"2":"0 1 2 3 4 5 6 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC","200":"7"},G:{"1":"2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC","200":"mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"200":"I"},M:{"200":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:5,C:"CSS Grid Lanes",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-grid.js b/tools/ui/node_modules/caniuse-lite/data/features/css-grid.js new file mode 100644 index 0000000000000000000000000000000000000000..49b0d000d741b1ed894148fe149d248808a8dfae --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-grid.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E 6C","8":"F","292":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","292":"C L M G"},C:{"1":"0 1 2 3 4 5 6 7 8 9 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P AD BD","8":"gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB","584":"rB sB tB uB vB wB xB yB zB 0B 1B 2B","1025":"3B 4B"},D:{"1":"0 1 2 3 4 5 6 7 8 9 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB","8":"HB IB JB KB","200":"LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B","1025":"8B"},E:{"1":"B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB CD fC DD","8":"K D E F A ED FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB OD PD QD RD TC 4C SD UC","200":"KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB"},G:{"1":"bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD","8":"E VD WD XD YD ZD aD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD","8":"5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"292":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"xD","8":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"CSS Grid Layout (level 1)",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js b/tools/ui/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js new file mode 100644 index 0000000000000000000000000000000000000000..5de543166d94316b9fe565b8c4faaa83a003ae19 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"J fB K D E F CD fC DD ED FD GD","132":"A B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD","132":"aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"2":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:4,C:"CSS hanging-punctuation",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-has.js b/tools/ui/node_modules/caniuse-lite/data/features/css-has.js new file mode 100644 index 0000000000000000000000000000000000000000..1058da6ee8f839f59f520b6ea3fca01b14bdb28e --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-has.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n"},C:{"1":"4 5 6 7 8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l AD BD","322":"0 1 2 3 m n o p q r s t u v w x y z"},D:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j","194":"k l m n"},E:{"1":"iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z OD PD QD RD TC 4C SD UC"},G:{"1":"iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB","2":"J xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:5,C:":has() CSS relational pseudo-class",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-hyphens.js b/tools/ui/node_modules/caniuse-lite/data/features/css-hyphens.js new file mode 100644 index 0000000000000000000000000000000000000000..30c062eba26b3897a7320ffa1c2c8c95aa0be10a --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-hyphens.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F 6C","33":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","33":"C L M G N O P","132":"Q H R S T U V W","260":"X Y Z a b c d e f g h i j k l m n"},C:{"1":"0 1 2 3 4 5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB AD BD","33":"K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B","132":"6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W"},E:{"1":"XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB CD fC","33":"K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB OD PD QD RD TC 4C SD UC","132":"tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z"},G:{"1":"XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD","33":"E 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J","132":"xD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"CSS Hyphenation",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-if.js b/tools/ui/node_modules/caniuse-lite/data/features/css-if.js new file mode 100644 index 0000000000000000000000000000000000000000..da296eb02f85c66053074bb48b74654052044539 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-if.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"UB VB WB XB YB ZB aB bB cB dB eB I","2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"4 5 6 7 8 9 AB BB","2":"0 1 2 3 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"1":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:5,C:"CSS if() function",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-image-orientation.js b/tools/ui/node_modules/caniuse-lite/data/features/css-image-orientation.js new file mode 100644 index 0000000000000000000000000000000000000000..e345c103a1dcd56cfe7243c3ae79dba1d20ec6a0 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-image-orientation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P Q H","257":"R S T U V W X"},C:{"1":"0 1 2 3 4 5 6 7 8 9 IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H","257":"R S T U V W X"},E:{"1":"M G HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L CD fC DD ED FD GD gC TC UC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC OD PD QD RD TC 4C SD UC","257":"HC IC JC KC LC MC NC OC PC"},G:{"1":"jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","132":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 6D WC XC YC 7D","2":"J xD yD zD 0D 1D gC 2D 3D","257":"4D 5D"},Q:{"2":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"CSS3 image-orientation",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-image-set.js b/tools/ui/node_modules/caniuse-lite/data/features/css-image-set.js new file mode 100644 index 0000000000000000000000000000000000000000..29a70f356c10c94d15e8f996c850bcb9196be195 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-image-set.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P","164":"Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v","2049":"w"},C:{"1":"0 1 2 3 4 5 6 7 8 9 w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U AD BD","66":"V W","2305":"Y Z a b c d e f g h i j k l m n o p q r s t u v","2820":"X"},D:{"1":"0 1 2 3 4 5 6 7 8 9 x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB","164":"DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v","2049":"w"},E:{"1":"XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB CD fC DD","132":"A B C L gC TC UC HD","164":"K D E F ED FD GD","1540":"M G ID JD hC iC VC KD WC jC kC lC mC nC LD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC","164":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h","2049":"i"},G:{"1":"XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD","132":"aD bD cD dD eD fD gD hD iD jD","164":"E VD WD XD YD ZD","1540":"kD lD mD hC iC VC nD WC jC kC lC mC nC oD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C","164":"vD wD"},J:{"2":"D","164":"A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"164":"VC"},P:{"1":"FB GB HB IB JB KB LB","164":"J CB DB EB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"164":"8D"},R:{"164":"9D"},S:{"2":"AE BE"}},B:5,C:"CSS image-set",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-in-out-of-range.js b/tools/ui/node_modules/caniuse-lite/data/features/css-in-out-of-range.js new file mode 100644 index 0000000000000000000000000000000000000000..6e83841d3ddf25f93f783e6e620be5845f8ec08d --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-in-out-of-range.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C","260":"L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB AD BD","516":"LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B"},D:{"1":"0 1 2 3 4 5 6 7 8 9 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J","16":"fB K D E F A B C L M","260":"3B","772":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B"},E:{"1":"B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J CD fC","16":"fB","772":"K D E F A DD ED FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","16":"F OD","260":"B C qB PD QD RD TC 4C SD UC","772":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB"},G:{"1":"bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C","772":"E UD VD WD XD YD ZD aD"},H:{"132":"qD"},I:{"1":"I","2":"ZC rD sD tD","260":"J uD 5C vD wD"},J:{"2":"D","260":"A"},K:{"1":"H","260":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","260":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","516":"AE"}},B:5,C:":in-range and :out-of-range CSS pseudo-classes",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js b/tools/ui/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js new file mode 100644 index 0000000000000000000000000000000000000000..7cd28adc7cba020616606f7a794bb84c6b41f8ee --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E 6C","132":"A B","388":"F"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","132":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","16":"7C ZC AD BD","132":"K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B","388":"J fB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","16":"J fB K D E F A B C L M","132":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB"},E:{"1":"B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","16":"J fB K CD fC","132":"D E F A ED FD GD","388":"DD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","16":"F B OD PD QD RD TC 4C","132":"G N O P gB CB DB EB FB GB HB","516":"C SD UC"},G:{"1":"bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC TD 5C UD VD","132":"E WD XD YD ZD aD"},H:{"516":"qD"},I:{"1":"I","16":"ZC rD sD tD wD","132":"vD","388":"J uD 5C"},J:{"16":"D","132":"A"},K:{"1":"H","16":"A B C TC 4C","516":"UC"},L:{"1":"I"},M:{"1":"SC"},N:{"132":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","132":"AE"}},B:5,C:":indeterminate CSS pseudo-class",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-initial-letter.js b/tools/ui/node_modules/caniuse-lite/data/features/css-initial-letter.js new file mode 100644 index 0000000000000000000000000000000000000000..df65845f87d5f685efcffe2e3daa11ceaa4b6ea0 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-initial-letter.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s","260":"0 1 2 3 4 5 6 7 8 9 t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s","260":"0 1 2 3 4 5 6 7 8 9 t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"J fB K D E CD fC DD ED FD","260":"F","292":"wC xC yC zC 0C 1C 2C 3C ND","420":"A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC"},F:{"2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g OD PD QD RD TC 4C SD UC","260":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x y z AB BB"},G:{"2":"E fC TD 5C UD VD WD XD","292":"wC xC yC zC 0C 1C 2C 3C","420":"YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC"},H:{"2":"qD"},I:{"2":"ZC J rD sD tD uD 5C vD wD","260":"I"},J:{"2":"D A"},K:{"2":"A B C TC 4C UC","260":"H"},L:{"260":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","260":"DB EB FB GB HB IB JB KB LB"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:5,C:"CSS Initial Letter",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-initial-value.js b/tools/ui/node_modules/caniuse-lite/data/features/css-initial-value.js new file mode 100644 index 0000000000000000000000000000000000000000..4ad644efb80bc6fbfd4da202ec56a4348eeca3ca --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-initial-value.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","33":"J fB K D E F A B C L M G N O P AD BD","164":"7C ZC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","16":"CD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC"},G:{"1":"E TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC"},H:{"2":"qD"},I:{"1":"ZC J I tD uD 5C vD wD","16":"rD sD"},J:{"1":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"CSS initial value",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-lch-lab.js b/tools/ui/node_modules/caniuse-lite/data/features/css-lch-lab.js new file mode 100644 index 0000000000000000000000000000000000000000..659ee1c2f3931dfd9a64484709a5966bf1d71e6b --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-lch-lab.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s","322":"t"},C:{"1":"0 1 2 3 4 5 6 7 8 9 w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t AD BD","194":"u v"},D:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s","322":"t"},E:{"1":"G JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M CD fC DD ED FD GD gC TC UC HD ID"},F:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g OD PD QD RD TC 4C SD UC"},G:{"1":"mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"1":"EB FB GB HB IB JB KB LB","2":"J CB DB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:4,C:"LCH and Lab color values",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-letter-spacing.js b/tools/ui/node_modules/caniuse-lite/data/features/css-letter-spacing.js new file mode 100644 index 0000000000000000000000000000000000000000..c917f5cdb2585ceb24157d177ed99a5a54c65913 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-letter-spacing.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","16":"6C","132":"K D E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","132":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB"},E:{"1":"D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","16":"CD","132":"J fB K fC DD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","16":"F OD","132":"B C G N PD QD RD TC 4C SD UC"},G:{"1":"E TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC"},H:{"2":"qD"},I:{"1":"I vD wD","16":"rD sD","132":"ZC J tD uD 5C"},J:{"132":"D A"},K:{"1":"H","132":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"letter-spacing CSS property",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-line-clamp.js b/tools/ui/node_modules/caniuse-lite/data/features/css-line-clamp.js new file mode 100644 index 0000000000000000000000000000000000000000..a6cc63e84355f18de1d6d1aa103a32fc2d6c7493 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-line-clamp.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"C L M G N","33":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","129":"O P"},C:{"2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC AD BD","33":"0 1 2 3 4 5 6 7 8 9 HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"16":"J fB K D E F A B C L","33":"0 1 2 3 4 5 6 7 8 9 M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"J CD fC","33":"fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"F B C OD PD QD RD TC 4C SD UC","33":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"2":"fC TD 5C","33":"E UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"16":"rD sD","33":"ZC J I tD uD 5C vD wD"},J:{"33":"D A"},K:{"2":"A B C TC 4C UC","33":"H"},L:{"33":"I"},M:{"33":"SC"},N:{"2":"A B"},O:{"33":"VC"},P:{"33":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"33":"8D"},R:{"33":"9D"},S:{"2":"AE","33":"BE"}},B:5,C:"CSS line-clamp",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-logical-props.js b/tools/ui/node_modules/caniuse-lite/data/features/css-logical-props.js new file mode 100644 index 0000000000000000000000000000000000000000..4309d0a3d985c9387669594414e148f527a4b938 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-logical-props.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P","1028":"W X","1540":"Q H R S T U V"},C:{"1":"0 1 2 3 4 5 6 7 8 9 FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C","164":"ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB AD BD","1540":"sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","292":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC","1028":"W X","1540":"IC JC KC LC MC NC OC PC QC RC Q H R S T U V"},E:{"1":"G JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","292":"J fB K D E F A B C CD fC DD ED FD GD gC TC","1540":"L M UC HD","3076":"ID"},F:{"1":"0 1 2 3 4 5 6 7 8 9 PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC","292":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B","1028":"NC OC","1540":"7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC"},G:{"1":"mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","292":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD","1540":"fD gD hD iD jD kD","3076":"lD"},H:{"2":"qD"},I:{"1":"I","292":"ZC J rD sD tD uD 5C vD wD"},J:{"292":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 6D WC XC YC 7D","292":"J xD yD zD 0D 1D","1540":"gC 2D 3D 4D 5D"},Q:{"1540":"8D"},R:{"1":"9D"},S:{"1":"BE","1540":"AE"}},B:5,C:"CSS Logical Properties",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-marker-pseudo.js b/tools/ui/node_modules/caniuse-lite/data/features/css-marker-pseudo.js new file mode 100644 index 0000000000000000000000000000000000000000..be417aa516ee718448eab333e5495ddacbfcadda --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-marker-pseudo.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P Q H R S T U"},C:{"1":"0 1 2 3 4 5 6 7 8 9 HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U"},E:{"2":"J fB K D E F A B CD fC DD ED FD GD gC","132":"C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD","132":"dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 5D 6D WC XC YC 7D","2":"J xD yD zD 0D 1D gC 2D 3D 4D"},Q:{"2":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:5,C:"CSS ::marker pseudo-element",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-masks.js b/tools/ui/node_modules/caniuse-lite/data/features/css-masks.js new file mode 100644 index 0000000000000000000000000000000000000000..f501ce1177692cdeca976b0cfb842a8efa32abb2 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-masks.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"3 4 5 6 7 8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N","164":"0 1 2 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","3138":"O","12292":"P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC","260":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B AD BD"},D:{"1":"3 4 5 6 7 8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","164":"0 1 2 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},E:{"1":"iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"CD fC","164":"J fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC","164":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o"},G:{"1":"iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","164":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC"},H:{"2":"qD"},I:{"1":"I","164":"vD wD","676":"ZC J rD sD tD uD 5C"},J:{"164":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"164":"VC"},P:{"1":"HB IB JB KB LB","164":"J CB DB EB FB GB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"164":"8D"},R:{"164":"9D"},S:{"1":"BE","260":"AE"}},B:4,C:"CSS Masks",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-matches-pseudo.js b/tools/ui/node_modules/caniuse-lite/data/features/css-matches-pseudo.js new file mode 100644 index 0000000000000000000000000000000000000000..1f08b4ad503d329d46f90e0392ddaa948588ad2a --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-matches-pseudo.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P","1220":"Q H R S T U V W"},C:{"1":"0 1 2 3 4 5 6 7 8 9 RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD","548":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","16":"J fB K D E F A B C L M","164":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC","196":"EC FC GC","1220":"HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W"},E:{"1":"M G ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J CD fC","16":"fB","164":"K D E DD ED FD","260":"F A B C L GD gC TC UC HD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC","164":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B","196":"3B 4B 5B","1220":"6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC"},G:{"1":"kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC TD 5C UD VD","164":"E WD XD","260":"YD ZD aD bD cD dD eD fD gD hD iD jD"},H:{"2":"qD"},I:{"1":"I","16":"ZC rD sD tD","164":"J uD 5C vD wD"},J:{"16":"D","164":"A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 6D WC XC YC 7D","164":"J xD yD zD 0D 1D gC 2D 3D 4D 5D"},Q:{"1220":"8D"},R:{"1":"9D"},S:{"1":"BE","548":"AE"}},B:5,C:":is() CSS pseudo-class",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-math-functions.js b/tools/ui/node_modules/caniuse-lite/data/features/css-math-functions.js new file mode 100644 index 0000000000000000000000000000000000000000..eab2b36a85c9991c2377a94ba744bf52503bee48 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-math-functions.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC"},E:{"1":"M G HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B CD fC DD ED FD GD gC","132":"C L TC UC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC OD PD QD RD TC 4C SD UC"},G:{"1":"jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD","132":"dD eD fD gD hD iD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD zD 0D 1D gC 2D"},Q:{"2":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:5,C:"CSS math functions min(), max() and clamp()",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-media-interaction.js b/tools/ui/node_modules/caniuse-lite/data/features/css-media-interaction.js new file mode 100644 index 0000000000000000000000000000000000000000..425b9312d993d3eadd4c1b6a297f0a0dc56ead57 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-media-interaction.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB"},E:{"1":"F A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E CD fC DD ED FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB OD PD QD RD TC 4C SD UC"},G:{"1":"YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:4,C:"Media Queries: interaction media features",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-media-range-syntax.js b/tools/ui/node_modules/caniuse-lite/data/features/css-media-range-syntax.js new file mode 100644 index 0000000000000000000000000000000000000000..a77a3160b2b5aba226275b0ba8c393d411136d2c --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-media-range-syntax.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m"},C:{"1":"0 1 2 3 4 5 6 7 8 9 CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m"},E:{"1":"mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z OD PD QD RD TC 4C SD UC"},G:{"1":"mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB","2":"J xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"1":"BE","2":"AE"}},B:4,C:"Media Queries: Range Syntax",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-media-resolution.js b/tools/ui/node_modules/caniuse-lite/data/features/css-media-resolution.js new file mode 100644 index 0000000000000000000000000000000000000000..5d9ef8d02623783f3717e1ee414d7d206be2c6ed --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-media-resolution.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E 6C","132":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","1028":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC","260":"J fB K D E F A B C L M G AD BD","1028":"N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","548":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB","1028":"LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC"},E:{"1":"WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"CD fC","548":"J fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB UC","2":"F","548":"B C OD PD QD RD TC 4C SD","1028":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B"},G:{"1":"WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC","548":"E TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD"},H:{"132":"qD"},I:{"1":"I","16":"rD sD","548":"ZC J tD uD 5C","1028":"vD wD"},J:{"548":"D A"},K:{"1":"H UC","548":"A B C TC 4C"},L:{"1":"I"},M:{"1":"SC"},N:{"132":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB gC 2D 3D 4D 5D 6D WC XC YC 7D","1028":"J xD yD zD 0D 1D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"Media Queries: resolution feature",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-media-scripting.js b/tools/ui/node_modules/caniuse-lite/data/features/css-media-scripting.js new file mode 100644 index 0000000000000000000000000000000000000000..bfb4bdb0ebc12e2e1c7df8104ef4f0239b30649c --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-media-scripting.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"2":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:5,C:"Media Queries: scripting media feature",D:false}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-mediaqueries.js b/tools/ui/node_modules/caniuse-lite/data/features/css-mediaqueries.js new file mode 100644 index 0000000000000000000000000000000000000000..8a824c1565fa427ee8666bd2ae797b71d659b185 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-mediaqueries.js @@ -0,0 +1 @@ +module.exports={A:{A:{"8":"K D E 6C","129":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD","2":"7C ZC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","129":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB"},E:{"1":"D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","129":"J fB K DD","388":"CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC","2":"F"},G:{"1":"E WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","129":"fC TD 5C UD VD"},H:{"1":"qD"},I:{"1":"I vD wD","129":"ZC J rD sD tD uD 5C"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"129":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"CSS3 Media Queries",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-mixblendmode.js b/tools/ui/node_modules/caniuse-lite/data/features/css-mixblendmode.js new file mode 100644 index 0000000000000000000000000000000000000000..b35975c0f2f112770d5978bddf1fa1b7cad18dae --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-mixblendmode.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB","194":"LB hB iB jB kB lB mB nB oB pB qB rB"},E:{"2":"J fB K D CD fC DD ED","260":"E F A B C L M G FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB OD PD QD RD TC 4C SD UC"},G:{"2":"fC TD 5C UD VD WD","260":"E XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"Blending of HTML/SVG elements",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-module-scripts.js b/tools/ui/node_modules/caniuse-lite/data/features/css-module-scripts.js new file mode 100644 index 0000000000000000000000000000000000000000..2b0958fee981e645d0dd6570f521ab9159dae063 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-module-scripts.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"6 7 8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P Q H R S T U V W X Y Z a b","132":"0 1 2 3 4 5 c d e f g h i j k l m n o p q r s t u v w x y z"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"6 7 8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b","132":"0 1 2 3 4 5 c d e f g h i j k l m n o p q r s t u v w x y z"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"16":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"194":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:1,C:"CSS Module Scripts",D:false}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-motion-paths.js b/tools/ui/node_modules/caniuse-lite/data/features/css-motion-paths.js new file mode 100644 index 0000000000000000000000000000000000000000..ca9b2cf0830a026a1c97a53c6a8379293dba9cda --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-motion-paths.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB","194":"uB vB wB"},E:{"1":"WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB OD PD QD RD TC 4C SD UC","194":"hB iB jB"},G:{"1":"WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:5,C:"CSS Motion Path",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-namespaces.js b/tools/ui/node_modules/caniuse-lite/data/features/css-namespaces.js new file mode 100644 index 0000000000000000000000000000000000000000..a20f4e58ef0a1e1cb1b5a3ffb347986214baae03 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-namespaces.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","16":"CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"1":"E 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC TD"},H:{"1":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"CSS namespaces",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-nesting.js b/tools/ui/node_modules/caniuse-lite/data/features/css-nesting.js new file mode 100644 index 0000000000000000000000000000000000000000..6f95627d4a7774a14c233d38b34f6c407c9c5a7c --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-nesting.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"3 4 5 6 7 8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r","194":"s t u","516":"0 1 2 v w x y z"},C:{"1":"0 1 2 3 4 5 6 7 8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AD BD","322":"y z"},D:{"1":"3 4 5 6 7 8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r","194":"s t u","516":"0 1 2 v w x y z"},E:{"1":"pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC","516":"nC LD XC oC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d OD PD QD RD TC 4C SD UC","194":"e f g","516":"h i j k l m n o"},G:{"1":"pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC","516":"nC oD XC oC"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"1":"HB IB JB KB LB","2":"J CB DB EB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","516":"FB GB"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:5,C:"CSS Nesting",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-not-sel-list.js b/tools/ui/node_modules/caniuse-lite/data/features/css-not-sel-list.js new file mode 100644 index 0000000000000000000000000000000000000000..fab5554a44273b806d987cbc4989c28b14706620 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-not-sel-list.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P H R S T U V W","16":"Q"},C:{"1":"0 1 2 3 4 5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W"},E:{"1":"F A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E CD fC DD ED FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OD PD QD RD TC 4C SD UC"},G:{"1":"YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 6D WC XC YC 7D","2":"J xD yD zD 0D 1D gC 2D 3D 4D 5D"},Q:{"2":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:5,C:"selector list argument of :not()",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-nth-child-of.js b/tools/ui/node_modules/caniuse-lite/data/features/css-nth-child-of.js new file mode 100644 index 0000000000000000000000000000000000000000..944a6b69e98033c544e6263376d8c23c8c29e77e --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-nth-child-of.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},C:{"1":"0 1 2 3 4 5 6 7 8 9 w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},E:{"1":"F A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E CD fC DD ED FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g OD PD QD RD TC 4C SD UC"},G:{"1":"YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"1":"EB FB GB HB IB JB KB LB","2":"J CB DB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:5,C:"selector list argument of :nth-child and :nth-last-child CSS pseudo-classes",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-opacity.js b/tools/ui/node_modules/caniuse-lite/data/features/css-opacity.js new file mode 100644 index 0000000000000000000000000000000000000000..3f13b032c5e62fae8c3b228c28996b25d433fcea --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-opacity.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","4":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"1":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"CSS3 Opacity",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-optional-pseudo.js b/tools/ui/node_modules/caniuse-lite/data/features/css-optional-pseudo.js new file mode 100644 index 0000000000000000000000000000000000000000..ac1f692e8a556590f173fb6712d11014da04ad3a --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-optional-pseudo.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","16":"J fB K D E F A B C L M"},E:{"1":"fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","16":"F OD","132":"B C PD QD RD TC 4C SD UC"},G:{"1":"E UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C"},H:{"132":"qD"},I:{"1":"ZC J I tD uD 5C vD wD","16":"rD sD"},J:{"1":"D A"},K:{"1":"H","132":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:":optional CSS pseudo-class",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-overflow-anchor.js b/tools/ui/node_modules/caniuse-lite/data/features/css-overflow-anchor.js new file mode 100644 index 0000000000000000000000000000000000000000..012ec11339164478a4680a912e4ab993b13f7bc8 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-overflow-anchor.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B"},E:{"1":"ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},F:{"1":"0 1 2 3 4 5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:5,C:"CSS overflow-anchor (Scroll Anchoring)",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-overflow-overlay.js b/tools/ui/node_modules/caniuse-lite/data/features/css-overflow-overlay.js new file mode 100644 index 0000000000000000000000000000000000000000..f9c0450bf8f7b943a36ea1573da208b2a95ec2c5 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-overflow-overlay.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w","2":"C L M G N O P","130":"0 1 2 3 4 5 6 7 8 9 x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w","16":"J fB K D E F A B C L M","130":"0 1 2 3 4 5 6 7 8 9 x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B DD ED FD GD gC TC","16":"CD fC","130":"C L M G UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i","2":"F B C OD PD QD RD TC 4C SD UC","130":"0 1 2 3 4 5 6 7 8 9 j k l m n o p q r s t u v w x y z AB BB"},G:{"1":"E TD 5C UD VD WD XD YD ZD aD bD cD dD","16":"fC","130":"eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"ZC J rD sD tD uD 5C vD wD","130":"I"},J:{"16":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"130":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:7,C:"CSS overflow: overlay",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-overflow.js b/tools/ui/node_modules/caniuse-lite/data/features/css-overflow.js new file mode 100644 index 0000000000000000000000000000000000000000..a1cc254d95c39a19f656c7ac7e7d39d693f3a38e --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-overflow.js @@ -0,0 +1 @@ +module.exports={A:{A:{"388":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","260":"Q H R S T U V W X Y","388":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","260":"bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H","388":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","260":"HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y","388":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC"},E:{"1":"WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","260":"M G HD ID JD hC iC VC KD","388":"J fB K D E F A B C L CD fC DD ED FD GD gC TC UC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","260":"6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC","388":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B OD PD QD RD TC 4C SD UC"},G:{"1":"WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","260":"jD kD lD mD hC iC VC nD","388":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD"},H:{"388":"qD"},I:{"1":"I","388":"ZC J rD sD tD uD 5C vD wD"},J:{"388":"D A"},K:{"1":"H","388":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"388":"A B"},O:{"388":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 6D WC XC YC 7D","388":"J xD yD zD 0D 1D gC 2D 3D 4D 5D"},Q:{"388":"8D"},R:{"1":"9D"},S:{"1":"BE","388":"AE"}},B:5,C:"CSS overflow property",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js b/tools/ui/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js new file mode 100644 index 0000000000000000000000000000000000000000..1e13de8263b93dc53b787c3fafd7bebbddb54c85 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F 6C","132":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","132":"C L M G N O","516":"P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC","260":"CC DC"},E:{"1":"WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M CD fC DD ED FD GD gC TC UC HD","1090":"G ID JD hC iC VC KD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B OD PD QD RD TC 4C SD UC","260":"1B 2B"},G:{"1":"WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD","1090":"lD mD hC iC VC nD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"132":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD zD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:5,C:"CSS overscroll-behavior",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-page-break.js b/tools/ui/node_modules/caniuse-lite/data/features/css-page-break.js new file mode 100644 index 0000000000000000000000000000000000000000..75f7f163139fd7c3d77227046583e03b36f4c11f --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-page-break.js @@ -0,0 +1 @@ +module.exports={A:{A:{"388":"A B","900":"K D E F 6C"},B:{"388":"C L M G N O P","641":"0 1 2 3 4 5 6 7 8 9 r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","900":"Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q"},C:{"772":"0 1 2 3 4 5 6 7 8 9 EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","900":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC AD BD"},D:{"641":"0 1 2 3 4 5 6 7 8 9 r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","900":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q"},E:{"772":"A","900":"J fB K D E F B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"16":"F OD","129":"B C PD QD RD TC 4C SD UC","641":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x y z AB BB","900":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c"},G:{"900":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"129":"qD"},I:{"641":"I","900":"ZC J rD sD tD uD 5C vD wD"},J:{"900":"D A"},K:{"129":"A B C TC 4C UC","641":"H"},L:{"900":"I"},M:{"772":"SC"},N:{"388":"A B"},O:{"900":"VC"},P:{"641":"DB EB FB GB HB IB JB KB LB","900":"J CB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"900":"8D"},R:{"900":"9D"},S:{"772":"BE","900":"AE"}},B:2,C:"CSS page-break properties",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-paged-media.js b/tools/ui/node_modules/caniuse-lite/data/features/css-paged-media.js new file mode 100644 index 0000000000000000000000000000000000000000..5521fb546bd73a9459a717926df7d45334c3eb8d --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-paged-media.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D 6C","132":"E F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","132":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P AD BD","132":"gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","16":"J fB K D E F A B C L M"},E:{"1":"uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","132":"F B C OD PD QD RD TC 4C SD UC"},G:{"1":"uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC"},H:{"16":"qD"},I:{"16":"ZC J I rD sD tD uD 5C vD wD"},J:{"16":"D A"},K:{"1":"H","16":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"258":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"132":"AE BE"}},B:5,C:"CSS Paged Media (@page)",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-paint-api.js b/tools/ui/node_modules/caniuse-lite/data/features/css-paint-api.js new file mode 100644 index 0000000000000000000000000000000000000000..673e6badb1ab63444e5b898e45e69b4eec3dd256 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-paint-api.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC"},E:{"2":"J fB K D E F A B C CD fC DD ED FD GD gC TC","194":"L M G UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD zD 0D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:4,C:"CSS Painting API",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-placeholder-shown.js b/tools/ui/node_modules/caniuse-lite/data/features/css-placeholder-shown.js new file mode 100644 index 0000000000000000000000000000000000000000..252d8ed028fcfca6d19a8b59704add3389cac7e6 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-placeholder-shown.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F 6C","292":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD","164":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B"},D:{"1":"0 1 2 3 4 5 6 7 8 9 yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB"},E:{"1":"F A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E CD fC DD ED FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB OD PD QD RD TC 4C SD UC"},G:{"1":"YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","164":"AE"}},B:5,C:":placeholder-shown CSS pseudo-class",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-placeholder.js b/tools/ui/node_modules/caniuse-lite/data/features/css-placeholder.js new file mode 100644 index 0000000000000000000000000000000000000000..2e1f840262cacd1d8413dbfcb6d418df3205ff9f --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-placeholder.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","36":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","33":"gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B","130":"7C ZC J fB K D E F A B C L M G N O P AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","36":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B"},E:{"1":"B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J CD fC","36":"fB K D E F A DD ED FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC","36":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB"},G:{"1":"bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD","36":"E 5C UD VD WD XD YD ZD aD"},H:{"2":"qD"},I:{"1":"I","36":"ZC J rD sD tD uD 5C vD wD"},J:{"36":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"36":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","36":"J xD yD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","33":"AE"}},B:5,C:"::placeholder CSS pseudo-element",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-print-color-adjust.js b/tools/ui/node_modules/caniuse-lite/data/features/css-print-color-adjust.js new file mode 100644 index 0000000000000000000000000000000000000000..294187a9b4098f64c6a3f96b408b17cd1a6d337b --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-print-color-adjust.js @@ -0,0 +1 @@ +module.exports={A:{D:{"1":"TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N","33":"0 1 2 3 4 5 6 7 8 9 O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB"},L:{"1":"I"},B:{"1":"TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P","33":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB"},C:{"1":"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB AD BD","33":"zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f"},M:{"1":"SC"},A:{"2":"K D E F A B 6C"},F:{"1":"4 5 6 7 8 9 AB BB","2":"F B C OD PD QD RD TC 4C SD UC","33":"0 1 2 3 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},K:{"2":"A B C TC 4C UC","33":"H"},E:{"1":"iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"J fB CD fC DD ND","33":"K D E F A B C L M G ED FD GD gC TC UC HD ID JD hC"},G:{"1":"iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD","33":"E VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC"},P:{"1":"LB","33":"J CB DB EB FB GB HB IB JB KB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},I:{"1":"I","2":"ZC J rD sD tD uD 5C","33":"vD wD"}},B:6,C:"print-color-adjust property",D:undefined}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-read-only-write.js b/tools/ui/node_modules/caniuse-lite/data/features/css-read-only-write.js new file mode 100644 index 0000000000000000000000000000000000000000..880438bd72a5e650affadc7b8cf10c08a398b709 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-read-only-write.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","16":"7C","33":"ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","16":"J fB K D E F A B C L M","132":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB"},E:{"1":"F A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","16":"CD fC","132":"J fB K D E DD ED FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","16":"F B OD PD QD RD TC","132":"C G N O P gB CB DB EB 4C SD UC"},G:{"1":"YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC TD","132":"E 5C UD VD WD XD"},H:{"2":"qD"},I:{"1":"I","16":"rD sD","132":"ZC J tD uD 5C vD wD"},J:{"1":"A","132":"D"},K:{"1":"H","2":"A B TC","132":"C 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","33":"AE"}},B:1,C:"CSS :read-only and :read-write selectors",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-rebeccapurple.js b/tools/ui/node_modules/caniuse-lite/data/features/css-rebeccapurple.js new file mode 100644 index 0000000000000000000000000000000000000000..f03a8a49def6fe8056057501974966e8b3da3dea --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-rebeccapurple.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A 6C","132":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB"},E:{"1":"D E F A B C L M G FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K CD fC DD","16":"ED"},F:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB OD PD QD RD TC 4C SD UC"},G:{"1":"E XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD VD WD"},H:{"2":"qD"},I:{"1":"I vD wD","2":"ZC J rD sD tD uD 5C"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"Rebeccapurple color",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-reflections.js b/tools/ui/node_modules/caniuse-lite/data/features/css-reflections.js new file mode 100644 index 0000000000000000000000000000000000000000..24be2548e48e7b96e4db333d7ca8c32e25c6b3a1 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-reflections.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"C L M G N O P","33":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"33":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"CD fC","33":"J fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"F B C OD PD QD RD TC 4C SD UC","33":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"33":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"33":"ZC J I rD sD tD uD 5C vD wD"},J:{"33":"D A"},K:{"2":"A B C TC 4C UC","33":"H"},L:{"33":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"33":"VC"},P:{"33":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"33":"8D"},R:{"33":"9D"},S:{"2":"AE BE"}},B:7,C:"CSS Reflections",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-regions.js b/tools/ui/node_modules/caniuse-lite/data/features/css-regions.js new file mode 100644 index 0000000000000000000000000000000000000000..fd56177e33dad043ad97a1978363b724eff4f717 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-regions.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F 6C","420":"A B"},B:{"2":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","420":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","36":"G N O P","66":"gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB"},E:{"2":"J fB K C L M G CD fC DD TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","33":"D E F A B ED FD GD gC"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"2":"fC TD 5C UD VD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","33":"E WD XD YD ZD aD bD cD"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"2":"I"},M:{"2":"SC"},N:{"420":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:5,C:"CSS Regions",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-relative-colors.js b/tools/ui/node_modules/caniuse-lite/data/features/css-relative-colors.js new file mode 100644 index 0000000000000000000000000000000000000000..2819b009d848dead8776408b496686c0cfec36ce --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-relative-colors.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","194":"1","260":"2 3 4 5 6 7 8 9 AB MB NB OB"},C:{"1":"QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB AD BD","260":"MB NB OB BB PB"},D:{"1":"BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"0 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","194":"1","260":"2 3 4 5 6 7 8 9 AB MB NB OB"},E:{"1":"YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC","260":"mC nC LD XC oC pC qC rC sC MD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m OD PD QD RD TC 4C SD UC","194":"n o","260":"p q r s t u v w x y z"},G:{"1":"YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC","260":"mC nC oD XC oC pC qC rC sC pD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C TC 4C UC","260":"H"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","260":"HB IB JB KB LB"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:5,C:"CSS Relative color syntax",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-repeating-gradients.js b/tools/ui/node_modules/caniuse-lite/data/features/css-repeating-gradients.js new file mode 100644 index 0000000000000000000000000000000000000000..dc2e69e06b01bf36d92979ef51d1cd6eda60f251 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-repeating-gradients.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD","33":"J fB K D E F A B C L M G BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F","33":"A B C L M G N O P gB CB DB EB FB GB HB"},E:{"1":"D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB CD fC","33":"K DD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB UC","2":"F B OD PD QD RD","33":"C SD","36":"TC 4C"},G:{"1":"E WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C","33":"UD VD"},H:{"2":"qD"},I:{"1":"I vD wD","2":"ZC rD sD tD","33":"J uD 5C"},J:{"1":"A","2":"D"},K:{"1":"H UC","2":"A B","33":"C","36":"TC 4C"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"CSS Repeating Gradients",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-resize.js b/tools/ui/node_modules/caniuse-lite/data/features/css-resize.js new file mode 100644 index 0000000000000000000000000000000000000000..86264e5eb4ceb90fb09f2ebbb1d292eeb8d85ee5 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-resize.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD","33":"J"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD","132":"UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:2,C:"CSS resize property",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-revert-value.js b/tools/ui/node_modules/caniuse-lite/data/features/css-revert-value.js new file mode 100644 index 0000000000000000000000000000000000000000..f469e29e8f582b811277ae18624685dca6a25ad9 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-revert-value.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P Q H R S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S"},E:{"1":"A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F CD fC DD ED FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC OD PD QD RD TC 4C SD UC"},G:{"1":"ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 5D 6D WC XC YC 7D","2":"J xD yD zD 0D 1D gC 2D 3D 4D"},Q:{"2":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:4,C:"CSS revert value",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-rrggbbaa.js b/tools/ui/node_modules/caniuse-lite/data/features/css-rrggbbaa.js new file mode 100644 index 0000000000000000000000000000000000000000..d3c3ece911e5f958eb33f1c0051bac0c793a77f6 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-rrggbbaa.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B","194":"3B 4B 5B 6B 7B 8B 9B aC AC bC"},E:{"1":"A B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F CD fC DD ED FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB OD PD QD RD TC 4C SD UC","194":"qB rB sB tB uB vB wB xB yB zB 0B 1B 2B"},G:{"1":"aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J","194":"xD yD zD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:4,C:"#rrggbbaa hex color notation",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-scroll-behavior.js b/tools/ui/node_modules/caniuse-lite/data/features/css-scroll-behavior.js new file mode 100644 index 0000000000000000000000000000000000000000..2e64e5b3dad433f7634868c3ed7b7885dbe0c382 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-scroll-behavior.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"C L M G N O P","129":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB AD BD"},D:{"2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB","129":"0 1 2 3 4 5 6 7 8 9 bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","450":"sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC"},E:{"1":"iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L CD fC DD ED FD GD gC TC UC HD","578":"M G ID JD hC"},F:{"2":"F B C G N O P gB CB DB EB FB GB HB IB JB OD PD QD RD TC 4C SD UC","129":"0 1 2 3 4 5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","450":"KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB"},G:{"1":"iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD","578":"lD mD hC"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"129":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD zD"},Q:{"129":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:5,C:"CSS Scroll-behavior",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-scrollbar.js b/tools/ui/node_modules/caniuse-lite/data/features/css-scrollbar.js new file mode 100644 index 0000000000000000000000000000000000000000..8c6b780b99ada65b9137e8a46e7150481ca200d8 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-scrollbar.js @@ -0,0 +1 @@ +module.exports={A:{A:{"132":"K D E F A B 6C"},B:{"1":"4 5 6 7 8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P","292":"0 1 2 3 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},C:{"1":"0 1 2 3 4 5 6 7 8 9 DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC AD BD","3138":"CC"},D:{"1":"4 5 6 7 8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","292":"0 1 2 3 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},E:{"1":"0C 1C 2C 3C ND","16":"J fB CD fC","292":"K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC","292":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p"},G:{"1":"0C 1C 2C 3C","2":"kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC","16":"fC TD 5C UD VD","292":"WD","804":"E XD YD ZD aD bD cD dD eD fD gD hD iD jD"},H:{"2":"qD"},I:{"16":"rD sD","292":"ZC J I tD uD 5C vD wD"},J:{"292":"D A"},K:{"2":"A B C TC 4C UC","292":"H"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"292":"VC"},P:{"1":"HB IB JB KB LB","292":"J CB DB EB FB GB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"292":"8D"},R:{"292":"9D"},S:{"2":"AE BE"}},B:4,C:"CSS scrollbar styling",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-sel2.js b/tools/ui/node_modules/caniuse-lite/data/features/css-sel2.js new file mode 100644 index 0000000000000000000000000000000000000000..354c8fd436db5355f301fbae0d32d4406d785c6c --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-sel2.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"D E F A B","2":"6C","8":"K"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"1":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"CSS 2.1 selectors",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-sel3.js b/tools/ui/node_modules/caniuse-lite/data/features/css-sel3.js new file mode 100644 index 0000000000000000000000000000000000000000..f86045de47e2c68cb71b9530817d24e6bf0de66a --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-sel3.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"6C","8":"K","132":"D E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD","2":"7C ZC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"CD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC","2":"F"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"1":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"CSS3 selectors",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-selection.js b/tools/ui/node_modules/caniuse-lite/data/features/css-selection.js new file mode 100644 index 0000000000000000000000000000000000000000..70c3e8eee4e6e6f780be0c71b204c8fc1a4f6782 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-selection.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","33":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC","2":"F"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I vD wD","2":"ZC J rD sD tD uD 5C"},J:{"1":"A","2":"D"},K:{"1":"C H 4C UC","16":"A B TC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","33":"AE"}},B:5,C:"::selection CSS pseudo-element",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-shapes.js b/tools/ui/node_modules/caniuse-lite/data/features/css-shapes.js new file mode 100644 index 0000000000000000000000000000000000000000..f50274a27fa7760a3bc160a3e1cf41959d40ed3c --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-shapes.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B AD BD","322":"2B 3B 4B 5B 6B 7B 8B 9B aC AC bC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB","194":"lB mB nB"},E:{"1":"B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D CD fC DD ED","33":"E F A FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB OD PD QD RD TC 4C SD UC"},G:{"1":"bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD VD WD","33":"E XD YD ZD aD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:4,C:"CSS Shapes Level 1",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-snappoints.js b/tools/ui/node_modules/caniuse-lite/data/features/css-snappoints.js new file mode 100644 index 0000000000000000000000000000000000000000..863743f52ea72c2b8f246d1a0271afc839946365 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-snappoints.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F 6C","6308":"A","6436":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","6436":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB AD BD","2052":"qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC","8258":"FC GC HC"},E:{"1":"B C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E CD fC DD ED FD","3108":"F A GD gC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B OD PD QD RD TC 4C SD UC","8258":"5B 6B 7B 8B 9B AC BC CC"},G:{"1":"cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD","3108":"YD ZD aD bD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD zD 0D 1D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2052":"AE"}},B:4,C:"CSS Scroll Snap",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-sticky.js b/tools/ui/node_modules/caniuse-lite/data/features/css-sticky.js new file mode 100644 index 0000000000000000000000000000000000000000..23b3b7873ea9d2f6eb6be460d00d92b1a496fee2 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-sticky.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G","1028":"Q H R S T U V W X Y Z","4100":"N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB AD BD","194":"IB JB KB LB hB iB","516":"jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B"},D:{"1":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B","322":"FB GB HB IB JB KB LB hB iB jB kB lB mB nB 3B 4B 5B 6B","1028":"7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z"},E:{"1":"L M G HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K CD fC DD","33":"E F A B C FD GD gC TC UC","2084":"D ED"},F:{"1":"0 1 2 3 4 5 6 7 8 9 RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB OD PD QD RD TC 4C SD UC","322":"qB rB sB","1028":"tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC"},G:{"1":"gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD","33":"E XD YD ZD aD bD cD dD eD fD","2084":"VD WD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD"},Q:{"1028":"8D"},R:{"1":"9D"},S:{"1":"BE","516":"AE"}},B:5,C:"CSS position:sticky",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-subgrid.js b/tools/ui/node_modules/caniuse-lite/data/features/css-subgrid.js new file mode 100644 index 0000000000000000000000000000000000000000..dec0775160f5f04f9189f06afc91a0071c396867 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-subgrid.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w","194":"x y z"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w","194":"x y z"},E:{"1":"WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i OD PD QD RD TC 4C SD UC","194":"j k l"},G:{"1":"WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"1":"GB HB IB JB KB LB","2":"J CB DB EB FB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"1":"BE","2":"AE"}},B:4,C:"CSS Subgrid",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-supports-api.js b/tools/ui/node_modules/caniuse-lite/data/features/css-supports-api.js new file mode 100644 index 0000000000000000000000000000000000000000..1fa040f870f29ee8755311a7c171b413fb4a9d98 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-supports-api.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","260":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB AD BD","66":"CB DB","260":"EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B"},D:{"1":"0 1 2 3 4 5 6 7 8 9 bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB","260":"KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC"},E:{"1":"F A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E CD fC DD ED FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD","132":"UC"},G:{"1":"YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD"},H:{"132":"qD"},I:{"1":"I vD wD","2":"ZC J rD sD tD uD 5C"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C","132":"UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"CSS.supports() API",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-table.js b/tools/ui/node_modules/caniuse-lite/data/features/css-table.js new file mode 100644 index 0000000000000000000000000000000000000000..3b6a1ccc6088fc2821100a87f6e59507d14a19cd --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-table.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E F A B","2":"K D 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD","132":"7C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"1":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"CSS Table display",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-text-align-last.js b/tools/ui/node_modules/caniuse-lite/data/features/css-text-align-last.js new file mode 100644 index 0000000000000000000000000000000000000000..f357ae8b888d13d44477a2f7ef5a867527754a6a --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-text-align-last.js @@ -0,0 +1 @@ +module.exports={A:{A:{"132":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","4":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B AD BD","33":"C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB","322":"mB nB oB pB qB rB sB tB uB vB wB xB"},E:{"1":"WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB OD PD QD RD TC 4C SD UC","578":"EB FB GB HB IB JB KB LB hB iB jB kB"},G:{"1":"WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"132":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","33":"AE"}},B:4,C:"CSS3 text-align-last",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-text-box-trim.js b/tools/ui/node_modules/caniuse-lite/data/features/css-text-box-trim.js new file mode 100644 index 0000000000000000000000000000000000000000..83bfc3c49ce4b7d7af9b6440af6bfaf337104e6b --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-text-box-trim.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB","322":"MB NB OB BB"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB","322":"MB NB OB BB PB"},E:{"1":"uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC","194":"mC nC LD XC oC pC qC rC sC MD YC tC"},F:{"1":"8 9 AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z OD PD QD RD TC 4C SD UC","322":"0 1 2 3 4 5 6 7"},G:{"1":"uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC","194":"mC nC oD XC oC pC qC rC sC pD YC tC"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"1":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:5,C:"CSS Text Box",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-text-indent.js b/tools/ui/node_modules/caniuse-lite/data/features/css-text-indent.js new file mode 100644 index 0000000000000000000000000000000000000000..109d32d0f0b835371bdbc6eb906128c9feb21add --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-text-indent.js @@ -0,0 +1 @@ +module.exports={A:{A:{"132":"K D E F A B 6C"},B:{"1":"dB eB I","132":"C L M G N O P","388":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB"},C:{"1":"4 5 6 7 8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","132":"0 1 2 3 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AD BD"},D:{"1":"dB eB I dC SC eC","132":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB","388":"0 1 2 3 4 5 6 7 8 9 pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB"},E:{"1":"WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","132":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD"},F:{"132":"F B C G N O P gB CB DB EB FB GB OD PD QD RD TC 4C SD UC","388":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"1":"WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","132":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD"},H:{"132":"qD"},I:{"1":"I","132":"ZC J rD sD tD uD 5C vD wD"},J:{"132":"D A"},K:{"132":"A B C TC 4C UC","388":"H"},L:{"1":"I"},M:{"1":"SC"},N:{"132":"A B"},O:{"388":"VC"},P:{"132":"J","388":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"388":"8D"},R:{"388":"9D"},S:{"132":"AE BE"}},B:4,C:"CSS text-indent",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-text-justify.js b/tools/ui/node_modules/caniuse-lite/data/features/css-text-justify.js new file mode 100644 index 0000000000000000000000000000000000000000..22d4531c9c59d288fc5b4c5c817fea5674f71b1a --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-text-justify.js @@ -0,0 +1 @@ +module.exports={A:{A:{"16":"K D 6C","132":"E F A B"},B:{"1":"cB dB eB I","132":"C L M G N O P","322":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB"},C:{"2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B AD BD","1025":"0 1 2 3 4 5 6 7 8 9 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","1602":"5B"},D:{"1":"cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB","322":"0 1 2 3 4 5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB OD PD QD RD TC 4C SD UC","322":"0 1 2 3 4 5 6 7 8 9 hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C TC 4C UC","322":"H"},L:{"1":"I"},M:{"1025":"SC"},N:{"132":"A B"},O:{"322":"VC"},P:{"2":"J","322":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"322":"8D"},R:{"322":"9D"},S:{"2":"AE","1025":"BE"}},B:4,C:"CSS text-justify",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-text-orientation.js b/tools/ui/node_modules/caniuse-lite/data/features/css-text-orientation.js new file mode 100644 index 0000000000000000000000000000000000000000..8b6b821a6eb816f54db9a8e6a1c9bd8920fe2fd5 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-text-orientation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB AD BD","194":"pB qB rB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB"},E:{"1":"M G ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F CD fC DD ED FD GD","16":"A","33":"B C L gC TC UC HD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB OD PD QD RD TC 4C SD UC"},G:{"1":"aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"CSS text-orientation",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-text-spacing.js b/tools/ui/node_modules/caniuse-lite/data/features/css-text-spacing.js new file mode 100644 index 0000000000000000000000000000000000000000..55e8c9d5dd31be33fd167357a43530987eef84d2 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-text-spacing.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D 6C","161":"E F A B"},B:{"2":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","161":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"2":"I"},M:{"2":"SC"},N:{"16":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:5,C:"CSS Text 4 text-spacing",D:false}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js b/tools/ui/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js new file mode 100644 index 0000000000000000000000000000000000000000..47c05577b2ad984918e3f1ad63262bbff95dc957 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w","132":"0 1 2 3 4 5 6 7 8 9 x y z AB MB NB"},C:{"1":"4 5 6 7 8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"0 1 2 3 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AD BD"},D:{"1":"OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w","132":"0 1 2 3 4 5 6 7 8 9 x y z AB MB NB"},E:{"1":"sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h OD PD QD RD TC 4C SD UC","132":"i j k l m n o p q r s t u v w x y"},G:{"1":"sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C TC 4C UC","132":"H"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","132":"FB GB HB IB JB KB LB"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:5,C:"CSS text-wrap: balance",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-textshadow.js b/tools/ui/node_modules/caniuse-lite/data/features/css-textshadow.js new file mode 100644 index 0000000000000000000000000000000000000000..d660808929b850a3fd98be277665feb1f3be17f8 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-textshadow.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F 6C","129":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","129":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD","2":"7C ZC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","260":"CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC","2":"F"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"4":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"A","4":"D"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"129":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"CSS3 Text-shadow",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-touch-action.js b/tools/ui/node_modules/caniuse-lite/data/features/css-touch-action.js new file mode 100644 index 0000000000000000000000000000000000000000..6a2f5178c42d9b106afd756fb55562e1ca24564e --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-touch-action.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"K D E F 6C","289":"A"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB AD BD","194":"LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B","1025":"3B 4B 5B 6B 7B"},D:{"1":"0 1 2 3 4 5 6 7 8 9 nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB"},E:{"2050":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB OD PD QD RD TC 4C SD UC"},G:{"1":"gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD","516":"ZD aD bD cD dD eD fD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"B","289":"A"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","194":"AE"}},B:2,C:"CSS touch-action property",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-transitions.js b/tools/ui/node_modules/caniuse-lite/data/features/css-transitions.js new file mode 100644 index 0000000000000000000000000000000000000000..5836b9f5b7c83198268d8ee51d7b68d31386329f --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-transitions.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD","33":"fB K D E F A B C L M G","164":"J"},D:{"1":"0 1 2 3 4 5 6 7 8 9 IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","33":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB"},E:{"1":"D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","33":"K DD","164":"J fB CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB UC","2":"F OD PD","33":"C","164":"B QD RD TC 4C SD"},G:{"1":"E WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","33":"VD","164":"fC TD 5C UD"},H:{"2":"qD"},I:{"1":"I vD wD","33":"ZC J rD sD tD uD 5C"},J:{"1":"A","33":"D"},K:{"1":"H UC","33":"C","164":"A B TC 4C"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:"CSS3 Transitions",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-unicode-bidi.js b/tools/ui/node_modules/caniuse-lite/data/features/css-unicode-bidi.js new file mode 100644 index 0000000000000000000000000000000000000000..9088b4a06ee8d0c535e6d83113d3c994b91bc5ec --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-unicode-bidi.js @@ -0,0 +1 @@ +module.exports={A:{A:{"132":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","132":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","33":"O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B","132":"7C ZC J fB K D E F AD BD","292":"A B C L M G N"},D:{"1":"0 1 2 3 4 5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","132":"J fB K D E F A B C L M G N","548":"O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB"},E:{"132":"J fB K D E CD fC DD ED FD","548":"F A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"132":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"132":"E fC TD 5C UD VD WD XD","548":"YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"16":"qD"},I:{"1":"I","16":"ZC J rD sD tD uD 5C vD wD"},J:{"16":"D A"},K:{"1":"H","16":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"132":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","16":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","33":"AE"}},B:4,C:"CSS unicode-bidi property",D:false}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-unset-value.js b/tools/ui/node_modules/caniuse-lite/data/features/css-unset-value.js new file mode 100644 index 0000000000000000000000000000000000000000..6bb118c5be0ed764f4d4b9f4894ee602b1dae9fe --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-unset-value.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB"},E:{"1":"A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F CD fC DD ED FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB OD PD QD RD TC 4C SD UC"},G:{"1":"ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"CSS unset value",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-variables.js b/tools/ui/node_modules/caniuse-lite/data/features/css-variables.js new file mode 100644 index 0000000000000000000000000000000000000000..ee4bf46114ab167be39c4ece5b50b7f30d1fb6aa --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-variables.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M","260":"G"},C:{"1":"0 1 2 3 4 5 6 7 8 9 iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB","194":"zB"},E:{"1":"A B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F CD fC DD ED FD","260":"GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB OD PD QD RD TC 4C SD UC","194":"mB"},G:{"1":"aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD","260":"ZD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"CSS Variables (Custom Properties)",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-when-else.js b/tools/ui/node_modules/caniuse-lite/data/features/css-when-else.js new file mode 100644 index 0000000000000000000000000000000000000000..364bb3a2649ecf6b261aaf218106ea49d3644dd2 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-when-else.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"2":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:5,C:"CSS @when / @else conditional rules",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-widows-orphans.js b/tools/ui/node_modules/caniuse-lite/data/features/css-widows-orphans.js new file mode 100644 index 0000000000000000000000000000000000000000..0b4567b7673486eda414cd9127762baf57e79c8b --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-widows-orphans.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D 6C","129":"E F"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB"},E:{"1":"D E F A B C L M G FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K CD fC DD ED"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB UC","129":"F B OD PD QD RD TC 4C SD"},G:{"1":"E WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD VD"},H:{"1":"qD"},I:{"1":"I vD wD","2":"ZC J rD sD tD uD 5C"},J:{"2":"D A"},K:{"1":"H UC","2":"A B C TC 4C"},L:{"1":"I"},M:{"2":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:2,C:"CSS widows & orphans",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-width-stretch.js b/tools/ui/node_modules/caniuse-lite/data/features/css-width-stretch.js new file mode 100644 index 0000000000000000000000000000000000000000..3b8b5e32bac13b26839836863442c34a6f4ad8f0 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-width-stretch.js @@ -0,0 +1 @@ +module.exports={A:{D:{"1":"VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB","33":"0 1 2 3 4 5 6 7 8 9 EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB"},L:{"1":"I"},B:{"1":"VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P","33":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB AD BD","33":"dB eB I dC SC eC 8C 9C"},M:{"33":"SC"},A:{"2":"K D E F A B 6C"},F:{"1":"5 6 7 8 9 AB BB","2":"F B C OD PD QD RD TC 4C SD UC","33":"0 1 2 3 4 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},K:{"2":"A B C TC 4C UC","33":"H"},E:{"2":"J fB K CD fC DD ED ND","33":"D E F A B C L M G FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},G:{"2":"fC TD 5C UD VD","33":"E WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},P:{"2":"J","33":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},I:{"1":"I","2":"ZC J rD sD tD uD 5C","33":"vD wD"}},B:6,C:"width: stretch property",D:undefined}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-writing-mode.js b/tools/ui/node_modules/caniuse-lite/data/features/css-writing-mode.js new file mode 100644 index 0000000000000000000000000000000000000000..c4cb44bf250b9d1a7d223a9ea3a9f03ad7a9d92a --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-writing-mode.js @@ -0,0 +1 @@ +module.exports={A:{A:{"132":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB AD BD","322":"nB oB pB qB rB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K","16":"D","33":"E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB"},E:{"1":"B C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J CD fC","16":"fB","33":"K D E F A DD ED FD GD gC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC","33":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB"},G:{"1":"cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC TD 5C","33":"E UD VD WD XD YD ZD aD bD"},H:{"2":"qD"},I:{"1":"I","2":"rD sD tD","33":"ZC J uD 5C vD wD"},J:{"33":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"36":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","33":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"CSS writing-mode property",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css-zoom.js b/tools/ui/node_modules/caniuse-lite/data/features/css-zoom.js new file mode 100644 index 0000000000000000000000000000000000000000..b1c965249eba82a3423abab771e764013a386050 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css-zoom.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"K D 6C","129":"E F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"0 1 2 3 4 5 6 7 8 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC"},G:{"1":"E TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC"},H:{"2":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"129":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:5,C:"CSS zoom",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css3-attr.js b/tools/ui/node_modules/caniuse-lite/data/features/css3-attr.js new file mode 100644 index 0000000000000000000000000000000000000000..486fec30f28590c83d445fdd3c3f3d049707e664 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css3-attr.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB"},E:{"1":"ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},F:{"1":"0 1 2 3 4 5 6 7 8 9 AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"1":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"1":"LB","2":"J CB DB EB FB GB HB IB JB KB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:7,C:"CSS3 attr() function for all properties",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css3-boxsizing.js b/tools/ui/node_modules/caniuse-lite/data/features/css3-boxsizing.js new file mode 100644 index 0000000000000000000000000000000000000000..e4c7843da58e5b427e1821a9b790842e683474ec --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css3-boxsizing.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E F A B","8":"K D 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","33":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","33":"J fB K D E F"},E:{"1":"K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","33":"J fB CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC","2":"F"},G:{"1":"E UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","33":"fC TD 5C"},H:{"1":"qD"},I:{"1":"J I uD 5C vD wD","33":"ZC rD sD tD"},J:{"1":"A","33":"D"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:"CSS3 Box-sizing",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css3-colors.js b/tools/ui/node_modules/caniuse-lite/data/features/css3-colors.js new file mode 100644 index 0000000000000000000000000000000000000000..8cd1d4b55ca347682411cae98930b4970b14840d --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css3-colors.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD","4":"7C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB PD QD RD TC 4C SD UC","2":"F","4":"OD"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"1":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"CSS3 Colors",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css3-cursors-grab.js b/tools/ui/node_modules/caniuse-lite/data/features/css3-cursors-grab.js new file mode 100644 index 0000000000000000000000000000000000000000..e32c2562e0ffb4ca60fa220b24a7984a972a4a2d --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css3-cursors-grab.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","33":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","33":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC"},E:{"1":"B C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","33":"J fB K D E F A CD fC DD ED FD GD gC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB SD UC","2":"F B OD PD QD RD TC 4C","33":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"33":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:2,C:"CSS grab & grabbing cursors",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css3-cursors-newer.js b/tools/ui/node_modules/caniuse-lite/data/features/css3-cursors-newer.js new file mode 100644 index 0000000000000000000000000000000000000000..5b4eaa070d0232418c125e60c82c2735079de006 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css3-cursors-newer.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","33":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","33":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB"},E:{"1":"F A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","33":"J fB K D E CD fC DD ED FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB SD UC","2":"F B OD PD QD RD TC 4C","33":"G N O P gB CB DB EB FB"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"33":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:2,C:"CSS3 Cursors: zoom-in & zoom-out",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css3-cursors.js b/tools/ui/node_modules/caniuse-lite/data/features/css3-cursors.js new file mode 100644 index 0000000000000000000000000000000000000000..ccfd25c7b8421416c8c42d611844b91006fe805e --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css3-cursors.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","132":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","260":"C L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","4":"7C ZC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","4":"J"},E:{"1":"fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","4":"J CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","260":"F B C OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D","16":"A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:2,C:"CSS3 Cursors (original values)",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/css3-tabsize.js b/tools/ui/node_modules/caniuse-lite/data/features/css3-tabsize.js new file mode 100644 index 0000000000000000000000000000000000000000..9fbf5291c924c238ae95e20f11f2803dc50ae324 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/css3-tabsize.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD","33":"4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z","164":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B"},D:{"1":"0 1 2 3 4 5 6 7 8 9 tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB","132":"DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB"},E:{"1":"M G HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K CD fC DD","132":"D E F A B C L ED FD GD gC TC UC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F OD PD QD","132":"G N O P gB CB DB EB FB GB HB IB JB KB","164":"B C RD TC 4C SD UC"},G:{"1":"jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD VD","132":"E WD XD YD ZD aD bD cD dD eD fD gD hD iD"},H:{"164":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C","132":"vD wD"},J:{"132":"D A"},K:{"1":"H","2":"A","164":"B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"164":"AE BE"}},B:4,C:"CSS3 tab-size",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/currentcolor.js b/tools/ui/node_modules/caniuse-lite/data/features/currentcolor.js new file mode 100644 index 0000000000000000000000000000000000000000..80f93654968b6c4677568c84d5a963c40e0af6cb --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/currentcolor.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC","2":"F"},G:{"1":"E TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC"},H:{"1":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"CSS currentColor value",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/custom-elements.js b/tools/ui/node_modules/caniuse-lite/data/features/custom-elements.js new file mode 100644 index 0000000000000000000000000000000000000000..92eb43d4aa1ca1a46d47c06ffa81fc5dcac23939 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/custom-elements.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F 6C","8":"A B"},B:{"1":"Q","2":"0 1 2 3 4 5 6 7 8 9 H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","8":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD","66":"FB GB HB IB JB KB LB","72":"hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B"},D:{"1":"kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q","2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","66":"JB KB LB hB iB jB"},E:{"2":"J fB CD fC DD","8":"K D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC","2":"0 1 2 3 4 5 6 7 8 9 F B C GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC","66":"G N O P gB"},G:{"2":"fC TD 5C UD VD","8":"E WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"wD","2":"ZC J I rD sD tD uD 5C vD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"2":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J xD yD zD 0D 1D gC 2D 3D","2":"CB DB EB FB GB HB IB JB KB LB 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"2":"9D"},S:{"2":"BE","72":"AE"}},B:7,C:"Custom Elements (deprecated V0 spec)",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/custom-elementsv1.js b/tools/ui/node_modules/caniuse-lite/data/features/custom-elementsv1.js new file mode 100644 index 0000000000000000000000000000000000000000..d297635192d7e70ecd45f574021c3b8182bd684c --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/custom-elementsv1.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F 6C","8":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","8":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB AD BD","8":"hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B","456":"1B 2B 3B 4B 5B 6B 7B 8B 9B","712":"aC AC bC BC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B","8":"3B 4B","132":"5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC"},E:{"2":"J fB K D CD fC DD ED FD","8":"E F A GD","132":"B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB OD PD QD RD TC 4C SD UC","132":"sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD","132":"bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J","132":"xD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","8":"AE"}},B:1,C:"Custom Elements (V1)",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/customevent.js b/tools/ui/node_modules/caniuse-lite/data/features/customevent.js new file mode 100644 index 0000000000000000000000000000000000000000..ac34fcd7dde0a95118acccdac8299ef176d89138 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/customevent.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E 6C","132":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB AD BD","132":"K D E F A"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J","16":"fB K D E L M","388":"F A B C"},E:{"1":"D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J CD fC","16":"fB K","388":"DD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB SD UC","2":"F OD PD QD RD","132":"B TC 4C"},G:{"1":"E VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"TD","16":"fC 5C","388":"UD"},H:{"1":"qD"},I:{"1":"I vD wD","2":"rD sD tD","388":"ZC J uD 5C"},J:{"1":"A","388":"D"},K:{"1":"C H UC","2":"A","132":"B TC 4C"},L:{"1":"I"},M:{"1":"SC"},N:{"132":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"CustomEvent",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/customizable-select.js b/tools/ui/node_modules/caniuse-lite/data/features/customizable-select.js new file mode 100644 index 0000000000000000000000000000000000000000..9cb8c21f3915aa4ccf507d538aadcdcfed2bc7ec --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/customizable-select.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f","194":"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f","194":"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB"},E:{"1":"ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},F:{"1":"3 4 5 6 7 8 9 AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC OD PD QD RD TC 4C SD UC","194":"0 1 2 S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C TC 4C UC","194":"H"},L:{"1":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:1,C:"Customizable Select element",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/datalist.js b/tools/ui/node_modules/caniuse-lite/data/features/datalist.js new file mode 100644 index 0000000000000000000000000000000000000000..afc6e1cf85a694dfbde762df3c8445f7f7f9828c --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/datalist.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"6C","8":"K D E F","260":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","260":"C L M G","1284":"N O P"},C:{"8":"7C ZC AD BD","516":"l m n o p q r s","4612":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k","8196":"0 1 2 3 4 5 6 7 8 9 t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","8":"J fB K D E F A B C L M G N O P gB","132":"CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC"},E:{"1":"L M G UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","8":"J fB K D E F A B C CD fC DD ED FD GD gC TC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC","132":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC"},G:{"8":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD","18436":"fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I wD","8":"ZC J rD sD tD uD 5C vD"},J:{"1":"A","8":"D"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"2":"SC"},N:{"8":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:1,C:"Datalist element",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/dataset.js b/tools/ui/node_modules/caniuse-lite/data/features/dataset.js new file mode 100644 index 0000000000000000000000000000000000000000..b12d621e4492cdff8fcf20362fba8ee34313370a --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/dataset.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","4":"K D E F A 6C"},B:{"1":"C L M G N","129":"0 1 2 3 4 5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B","4":"7C ZC J fB AD BD","129":"0 1 2 3 4 5 6 7 8 9 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"1":"wB xB yB zB 0B 1B 2B 3B 4B 5B","4":"J fB K","129":"0 1 2 3 4 5 6 7 8 9 D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"4":"J fB CD fC","129":"K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"C jB kB lB mB nB oB pB qB rB sB TC 4C SD UC","4":"F B OD PD QD RD","129":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"4":"fC TD 5C","129":"E UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"4":"qD"},I:{"4":"rD sD tD","129":"ZC J I uD 5C vD wD"},J:{"129":"D A"},K:{"1":"C TC 4C UC","4":"A B","129":"H"},L:{"129":"I"},M:{"129":"SC"},N:{"1":"B","4":"A"},O:{"129":"VC"},P:{"129":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"129":"8D"},R:{"129":"9D"},S:{"1":"AE","129":"BE"}},B:1,C:"dataset & data-* attributes",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/datauri.js b/tools/ui/node_modules/caniuse-lite/data/features/datauri.js new file mode 100644 index 0000000000000000000000000000000000000000..05223437c9874a9aa99b75c08d3954eed150da53 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/datauri.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D 6C","132":"E","260":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","260":"C L G N O P","772":"M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"1":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"260":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:6,C:"Data URIs",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js b/tools/ui/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js new file mode 100644 index 0000000000000000000000000000000000000000..cd038187518fdea1f4cbc6277f22be725c0df6e0 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js @@ -0,0 +1 @@ +module.exports={A:{A:{"16":"6C","132":"K D E F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","132":"C L M G N O"},C:{"1":"0 1 2 3 4 5 6 7 8 9 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","132":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB AD BD","260":"3B 4B 5B 6B","772":"LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B"},D:{"1":"0 1 2 3 4 5 6 7 8 9 JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","132":"J fB K D E F A B C L M G N O P gB CB DB EB FB","260":"pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC","772":"GB HB IB JB KB LB hB iB jB kB lB mB nB oB"},E:{"1":"C L M G UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","16":"J fB CD fC","132":"K D E F A DD ED FD GD","260":"B gC TC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","16":"F B C OD PD QD RD TC 4C SD","132":"UC","260":"HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B","772":"G N O P gB CB DB EB FB GB"},G:{"1":"bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC TD 5C UD","132":"E VD WD XD YD ZD aD"},H:{"132":"qD"},I:{"1":"I","16":"ZC rD sD tD","132":"J uD 5C","772":"vD wD"},J:{"132":"D A"},K:{"1":"H","16":"A B C TC 4C","132":"UC"},L:{"1":"I"},M:{"1":"SC"},N:{"132":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","260":"J xD yD zD 0D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","132":"AE"}},B:6,C:"Date.prototype.toLocaleDateString",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js b/tools/ui/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js new file mode 100644 index 0000000000000000000000000000000000000000..c92224a4b03acf56464451ee7f9f64ebc1c75557 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P Q H R S T U V W X Y Z","132":"a b c d e f g h i j k l m n o p q r s t"},C:{"1":"6 7 8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"0 1 2 3 4 5 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T","66":"U V W X Y","132":"Z a b c d e f g h i j k l m n o p q r s t"},E:{"1":"mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC OD PD QD RD TC 4C SD UC","132":"QC RC Q H R cC S T U V W X Y Z a b c d e f"},G:{"1":"mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"EB FB GB HB IB JB KB LB","2":"J xD yD zD 0D 1D gC 2D 3D 4D 5D","16":"6D","132":"CB DB WC XC YC 7D"},Q:{"2":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:1,C:"Declarative Shadow DOM",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/decorators.js b/tools/ui/node_modules/caniuse-lite/data/features/decorators.js new file mode 100644 index 0000000000000000000000000000000000000000..a441289075daf4e226831659a2de1dc3479cb372 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/decorators.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"2":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:7,C:"Decorators",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/details.js b/tools/ui/node_modules/caniuse-lite/data/features/details.js new file mode 100644 index 0000000000000000000000000000000000000000..883512a31ca8100aa913d24c2218a168bb887036 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/details.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"F A B 6C","8":"K D E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C","8":"ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB AD BD","194":"yB zB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","8":"J fB K D E F A B","257":"gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB","769":"C L M G N O P"},E:{"1":"C L M G UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","8":"J fB CD fC DD","257":"K D E F A ED FD GD","1025":"B gC TC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"C TC 4C SD UC","8":"F B OD PD QD RD"},G:{"1":"E VD WD XD YD ZD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","8":"fC TD 5C UD","1025":"aD bD cD"},H:{"8":"qD"},I:{"1":"J I uD 5C vD wD","8":"ZC rD sD tD"},J:{"1":"A","8":"D"},K:{"1":"H","8":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"Details & Summary elements",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/deviceorientation.js b/tools/ui/node_modules/caniuse-lite/data/features/deviceorientation.js new file mode 100644 index 0000000000000000000000000000000000000000..650840d6fd00e3025834dcfa6e76d9fa170fe6e7 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/deviceorientation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"K D E F A 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD","8":"J fB BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 F A iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K","4":"D E B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB"},E:{"1":"XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC","4":"G N O"},G:{"1":"XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD","4":"E 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD"},H:{"2":"qD"},I:{"1":"I wD","2":"rD sD tD","4":"ZC J uD 5C vD"},J:{"1":"A","2":"D"},K:{"1":"C H UC","2":"A B TC 4C"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"B","2":"A"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"DeviceOrientation & DeviceMotion events",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/devicepixelratio.js b/tools/ui/node_modules/caniuse-lite/data/features/devicepixelratio.js new file mode 100644 index 0000000000000000000000000000000000000000..e1739687c2e83b60ad3b06448c2f40aedcb52d06 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/devicepixelratio.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"K D E F A 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"132":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB SD UC","2":"F B OD PD QD RD TC 4C"},G:{"132":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"1":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"C H UC","2":"A B TC 4C"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"B","2":"A"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:"Window.devicePixelRatio",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/dialog.js b/tools/ui/node_modules/caniuse-lite/data/features/dialog.js new file mode 100644 index 0000000000000000000000000000000000000000..376f2ab6ab0b7640fe2fd6609dbfcf5fc2dcc5e8 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/dialog.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B AD BD","194":"4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q","1218":"H R cC S T U V W X Y Z a b c d e f g"},D:{"1":"0 1 2 3 4 5 6 7 8 9 oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB","322":"jB kB lB mB nB"},E:{"1":"iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P OD PD QD RD TC 4C SD UC","578":"gB CB DB EB FB"},G:{"1":"iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:1,C:"Dialog element",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/dispatchevent.js b/tools/ui/node_modules/caniuse-lite/data/features/dispatchevent.js new file mode 100644 index 0000000000000000000000000000000000000000..fa897a2946384ae66a0b450480202bbf4e5daa0d --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/dispatchevent.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","16":"6C","129":"F A","130":"K D E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","16":"CD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC","16":"F"},G:{"1":"E TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC"},H:{"1":"qD"},I:{"1":"ZC J I tD uD 5C vD wD","16":"rD sD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"B","129":"A"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"EventTarget.dispatchEvent",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/dnssec.js b/tools/ui/node_modules/caniuse-lite/data/features/dnssec.js new file mode 100644 index 0000000000000000000000000000000000000000..f4e85f83836498e984a38f5221c021367f2037ad --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/dnssec.js @@ -0,0 +1 @@ +module.exports={A:{A:{"132":"K D E F A B 6C"},B:{"132":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"132":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"132":"0 1 2 3 4 5 6 7 8 9 J fB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","388":"K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB"},E:{"132":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"132":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"132":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"132":"qD"},I:{"132":"ZC J I rD sD tD uD 5C vD wD"},J:{"132":"D A"},K:{"132":"A B C H TC 4C UC"},L:{"132":"I"},M:{"132":"SC"},N:{"132":"A B"},O:{"132":"VC"},P:{"132":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"132":"8D"},R:{"132":"9D"},S:{"132":"AE BE"}},B:6,C:"DNSSEC and DANE",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/do-not-track.js b/tools/ui/node_modules/caniuse-lite/data/features/do-not-track.js new file mode 100644 index 0000000000000000000000000000000000000000..bbb015f9fa9606188551ada11a4c732925b0537f --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/do-not-track.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E 6C","164":"F A","260":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","260":"C L M G N"},C:{"1":"0 1 2 3 4 5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E AD BD","516":"F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB"},E:{"1":"K A B C DD GD gC TC","2":"J fB L M G CD fC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","1028":"D E F ED FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB UC","2":"F B OD PD QD RD TC 4C SD"},G:{"1":"YD ZD aD bD cD dD eD","2":"fC TD 5C UD VD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","1028":"E WD XD"},H:{"1":"qD"},I:{"1":"I vD wD","2":"ZC J rD sD tD uD 5C"},J:{"16":"D","1028":"A"},K:{"1":"H UC","16":"A B C TC 4C"},L:{"1":"I"},M:{"1":"SC"},N:{"164":"A","260":"B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:7,C:"Do Not Track API",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/document-currentscript.js b/tools/ui/node_modules/caniuse-lite/data/features/document-currentscript.js new file mode 100644 index 0000000000000000000000000000000000000000..8b1eb1e9e064d7f4bd42b48e4a629e91c46d22fb --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/document-currentscript.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB"},E:{"1":"E F A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D CD fC DD ED FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G OD PD QD RD TC 4C SD UC"},G:{"1":"E XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD VD WD"},H:{"2":"qD"},I:{"1":"I vD wD","2":"ZC J rD sD tD uD 5C"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"document.currentScript",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js b/tools/ui/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js new file mode 100644 index 0000000000000000000000000000000000000000..f3e049e16d6d4d089ba93a0c27d5ed20e274fcf9 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD","16":"7C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC","16":"F"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"1":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:7,C:"document.evaluate & XPath",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/document-execcommand.js b/tools/ui/node_modules/caniuse-lite/data/features/document-execcommand.js new file mode 100644 index 0000000000000000000000000000000000000000..367c0015958efcde51ebaab2ea20aecb40c3cc4a --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/document-execcommand.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"K D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","16":"J fB CD fC DD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB PD QD RD TC 4C SD UC","16":"F OD"},G:{"1":"E WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD","16":"5C UD VD"},H:{"2":"qD"},I:{"1":"I uD 5C vD wD","2":"ZC J rD sD tD"},J:{"1":"A","2":"D"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"B","2":"A"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:7,C:"Document.execCommand()",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/document-policy.js b/tools/ui/node_modules/caniuse-lite/data/features/document-policy.js new file mode 100644 index 0000000000000000000000000000000000000000..75e4f9d2d6c65d8b5960983be99f4e852e90a51e --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/document-policy.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"C L M G N O P Q H R S T","132":"0 1 2 3 4 5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T","132":"0 1 2 3 4 5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC OD PD QD RD TC 4C SD UC","132":"0 1 2 3 4 5 6 7 8 9 KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J rD sD tD uD 5C vD wD","132":"I"},J:{"2":"D A"},K:{"2":"A B C TC 4C UC","132":"H"},L:{"132":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"132":"9D"},S:{"2":"AE BE"}},B:7,C:"Document Policy",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/document-scrollingelement.js b/tools/ui/node_modules/caniuse-lite/data/features/document-scrollingelement.js new file mode 100644 index 0000000000000000000000000000000000000000..cd42b2f2678dbe955bd768a71b19404f836c9c58 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/document-scrollingelement.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","16":"C L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB"},E:{"1":"F A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E CD fC DD ED FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB OD PD QD RD TC 4C SD UC"},G:{"1":"YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:"document.scrollingElement",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/documenthead.js b/tools/ui/node_modules/caniuse-lite/data/features/documenthead.js new file mode 100644 index 0000000000000000000000000000000000000000..2c0c5a336e1f710e8c1792428183f0d1ae9dbb12 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/documenthead.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J CD fC","16":"fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB TC 4C SD UC","2":"F OD PD QD RD"},G:{"1":"E TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC"},H:{"1":"qD"},I:{"1":"ZC J I tD uD 5C vD wD","16":"rD sD"},J:{"1":"D A"},K:{"1":"B C H TC 4C UC","2":"A"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"document.head",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/dom-manip-convenience.js b/tools/ui/node_modules/caniuse-lite/data/features/dom-manip-convenience.js new file mode 100644 index 0000000000000000000000000000000000000000..92e53f18940fdb960b1a958acc45056d2ad59c23 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/dom-manip-convenience.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N"},C:{"1":"0 1 2 3 4 5 6 7 8 9 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B","194":"3B 4B"},E:{"1":"A B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F CD fC DD ED FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB OD PD QD RD TC 4C SD UC","194":"rB"},G:{"1":"aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:1,C:"DOM manipulation convenience methods",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/dom-range.js b/tools/ui/node_modules/caniuse-lite/data/features/dom-range.js new file mode 100644 index 0000000000000000000000000000000000000000..08c97e31413ef1e82f5cece1738d2e44ab2a7233 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/dom-range.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"6C","8":"K D E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"1":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"Document Object Model Range",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/domcontentloaded.js b/tools/ui/node_modules/caniuse-lite/data/features/domcontentloaded.js new file mode 100644 index 0000000000000000000000000000000000000000..9d2d80dbe58119bffa084209bae6b02a697a4c46 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/domcontentloaded.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"1":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"DOMContentLoaded",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/dommatrix.js b/tools/ui/node_modules/caniuse-lite/data/features/dommatrix.js new file mode 100644 index 0000000000000000000000000000000000000000..445b2224f99780b1830e400a6789f839ea008909 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/dommatrix.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F 6C","132":"A B"},B:{"132":"C L M G N O P","1028":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB AD BD","1028":"0 1 2 3 4 5 6 7 8 9 IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2564":"kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB","3076":"0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC"},D:{"16":"J fB K D","132":"F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC","388":"E","1028":"0 1 2 3 4 5 6 7 8 9 bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"16":"J CD fC","132":"fB K D E F A DD ED FD GD gC","1028":"B C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"F B C OD PD QD RD TC 4C SD UC","132":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB","1028":"0 1 2 3 4 5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"16":"fC TD 5C","132":"E UD VD WD XD YD ZD aD bD","1028":"cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"132":"J uD 5C vD wD","292":"ZC rD sD tD","1028":"I"},J:{"16":"D","132":"A"},K:{"2":"A B C TC 4C UC","1028":"H"},L:{"1028":"I"},M:{"1028":"SC"},N:{"132":"A B"},O:{"1028":"VC"},P:{"132":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1028":"8D"},R:{"1028":"9D"},S:{"1028":"BE","2564":"AE"}},B:4,C:"DOMMatrix",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/download.js b/tools/ui/node_modules/caniuse-lite/data/features/download.js new file mode 100644 index 0000000000000000000000000000000000000000..cbdd7d78db6c4051198f5984857a24bb342c6bba --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/download.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L"},E:{"1":"B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A CD fC DD ED FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC"},G:{"1":"gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD"},H:{"2":"qD"},I:{"1":"I vD wD","2":"ZC J rD sD tD uD 5C"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"Download attribute",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/dragndrop.js b/tools/ui/node_modules/caniuse-lite/data/features/dragndrop.js new file mode 100644 index 0000000000000000000000000000000000000000..730b38822daf8e3aeaab684933456ba5fcc681e7 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/dragndrop.js @@ -0,0 +1 @@ +module.exports={A:{A:{"644":"K D E F 6C","772":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","260":"C L M G N O"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD","8":"7C ZC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB UC","8":"F B OD PD QD RD TC 4C SD"},G:{"1":"mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD"},H:{"2":"qD"},I:{"2":"ZC J rD sD tD uD 5C vD wD","1025":"I"},J:{"2":"D A"},K:{"1":"UC","8":"A B C TC 4C","1025":"H"},L:{"1025":"I"},M:{"2":"SC"},N:{"1":"A B"},O:{"1025":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:1,C:"Drag and Drop",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/element-closest.js b/tools/ui/node_modules/caniuse-lite/data/features/element-closest.js new file mode 100644 index 0000000000000000000000000000000000000000..7cd56f32288cdf214a8eef2106e3b287674c8935 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/element-closest.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB"},E:{"1":"F A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E CD fC DD ED FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB OD PD QD RD TC 4C SD UC"},G:{"1":"YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"Element.closest()",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/element-from-point.js b/tools/ui/node_modules/caniuse-lite/data/features/element-from-point.js new file mode 100644 index 0000000000000000000000000000000000000000..42cec3e1725d3e9ba7e3efd9fba68ff2bed58876 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/element-from-point.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"K D E F A B","16":"6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD","16":"7C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","16":"J fB K D E F A B C L M"},E:{"1":"fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","16":"J CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB TC 4C SD UC","16":"F OD PD QD RD"},G:{"1":"E TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC"},H:{"1":"qD"},I:{"1":"ZC J I tD uD 5C vD wD","16":"rD sD"},J:{"1":"D A"},K:{"1":"C H UC","16":"A B TC 4C"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:"document.elementFromPoint()",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/element-scroll-methods.js b/tools/ui/node_modules/caniuse-lite/data/features/element-scroll-methods.js new file mode 100644 index 0000000000000000000000000000000000000000..2cb7a82ec0dcdf5c3a5c9a90eeb487abf9e2925b --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/element-scroll-methods.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC"},E:{"1":"M G ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F CD fC DD ED FD GD","132":"A B C L gC TC UC HD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB OD PD QD RD TC 4C SD UC"},G:{"1":"lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD","132":"aD bD cD dD eD fD gD hD iD jD kD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD zD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:"Scroll methods on elements (scroll, scrollTo, scrollBy)",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/eme.js b/tools/ui/node_modules/caniuse-lite/data/features/eme.js new file mode 100644 index 0000000000000000000000000000000000000000..007fd8ed0f7925110f5aa3e8545383798be83ad4 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/eme.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A 6C","164":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB","132":"mB nB oB pB qB rB sB"},E:{"1":"C L M G UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K CD fC DD ED","164":"D E F A B FD GD gC TC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB OD PD QD RD TC 4C SD UC","132":"EB FB GB HB IB JB KB"},G:{"1":"dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"Encrypted Media Extensions",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/eot.js b/tools/ui/node_modules/caniuse-lite/data/features/eot.js new file mode 100644 index 0000000000000000000000000000000000000000..266adeda79891b0731eba577f37c2985e1aad2c4 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/eot.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"K D E F A B","2":"6C"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"2":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:7,C:"EOT - Embedded OpenType fonts",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/es5.js b/tools/ui/node_modules/caniuse-lite/data/features/es5.js new file mode 100644 index 0000000000000000000000000000000000000000..d099d914601e8070c5fca0c8246221704f864c17 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/es5.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D 6C","260":"F","1026":"E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","4":"7C ZC AD BD","132":"J fB K D E F A B C L M G N O P gB CB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","4":"J fB K D E F A B C L M G N O P","132":"gB CB DB EB"},E:{"1":"K D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","4":"J fB CD fC DD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","4":"F B C OD PD QD RD TC 4C SD","132":"UC"},G:{"1":"E VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","4":"fC TD 5C UD"},H:{"132":"qD"},I:{"1":"I vD wD","4":"ZC rD sD tD","132":"uD 5C","900":"J"},J:{"1":"A","4":"D"},K:{"1":"H","4":"A B C TC 4C","132":"UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:6,C:"ECMAScript 5",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/es6-class.js b/tools/ui/node_modules/caniuse-lite/data/features/es6-class.js new file mode 100644 index 0000000000000000000000000000000000000000..30de9343e36866efd60699b102a6617350f062a2 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/es6-class.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB","132":"tB uB vB wB xB yB zB"},E:{"1":"F A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E CD fC DD ED FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB OD PD QD RD TC 4C SD UC","132":"LB hB iB jB kB lB mB"},G:{"1":"YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:6,C:"ES6 classes",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/es6-generators.js b/tools/ui/node_modules/caniuse-lite/data/features/es6-generators.js new file mode 100644 index 0000000000000000000000000000000000000000..5eebaabc72da4e113b534f4d3fd83644a8ab5974 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/es6-generators.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB"},E:{"1":"A B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F CD fC DD ED FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB OD PD QD RD TC 4C SD UC"},G:{"1":"aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:6,C:"ES6 Generators",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js b/tools/ui/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js new file mode 100644 index 0000000000000000000000000000000000000000..9a1d860ef4baa76660b73681272c38b504b34479 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC AD BD","194":"FC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC"},E:{"1":"C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B CD fC DD ED FD GD gC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B OD PD QD RD TC 4C SD UC"},G:{"1":"cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD zD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:6,C:"JavaScript modules: dynamic import()",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/es6-module.js b/tools/ui/node_modules/caniuse-lite/data/features/es6-module.js new file mode 100644 index 0000000000000000000000000000000000000000..1838daa0cc2f664276e53fe9f251ed4be030df8c --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/es6-module.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M","2049":"N O P","2242":"G"},C:{"1":"0 1 2 3 4 5 6 7 8 9 AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B AD BD","322":"5B 6B 7B 8B 9B aC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC","194":"AC"},E:{"1":"B C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A CD fC DD ED FD GD","1540":"gC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB OD PD QD RD TC 4C SD UC","194":"yB"},G:{"1":"cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD","1540":"bD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD zD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:1,C:"JavaScript modules via script tag",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/es6-number.js b/tools/ui/node_modules/caniuse-lite/data/features/es6-number.js new file mode 100644 index 0000000000000000000000000000000000000000..93b20c0c38bd842281304e10dc6e716d8684ff10 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/es6-number.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G AD BD","132":"N O P gB CB DB EB FB GB","260":"HB IB JB KB LB hB","516":"iB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P","1028":"gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB"},E:{"1":"F A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E CD fC DD ED FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC","1028":"G N O P gB CB"},G:{"1":"YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD","1028":"uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:6,C:"ES6 Number",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/es6-string-includes.js b/tools/ui/node_modules/caniuse-lite/data/features/es6-string-includes.js new file mode 100644 index 0000000000000000000000000000000000000000..b1c39cadfe93610363e0da66e6b399c216dd37ed --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/es6-string-includes.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB"},E:{"1":"F A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E CD fC DD ED FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB OD PD QD RD TC 4C SD UC"},G:{"1":"YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:6,C:"String.prototype.includes",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/es6.js b/tools/ui/node_modules/caniuse-lite/data/features/es6.js new file mode 100644 index 0000000000000000000000000000000000000000..dda0782c9b3372dc761c4b6307e6b51264a03f21 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/es6.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A 6C","388":"B"},B:{"257":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","260":"C L M","769":"G N O P"},C:{"2":"7C ZC J fB AD BD","4":"K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B","257":"0 1 2 3 4 5 6 7 8 9 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"2":"J fB K D E F A B C L M G N O P gB CB","4":"DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B","257":"0 1 2 3 4 5 6 7 8 9 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"A B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D CD fC DD ED","4":"E F FD GD"},F:{"2":"F B C OD PD QD RD TC 4C SD UC","4":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB","257":"0 1 2 3 4 5 6 7 8 9 pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"1":"aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD VD","4":"E WD XD YD ZD"},H:{"2":"qD"},I:{"2":"ZC J rD sD tD uD 5C","4":"vD wD","257":"I"},J:{"2":"D","4":"A"},K:{"2":"A B C TC 4C UC","257":"H"},L:{"257":"I"},M:{"257":"SC"},N:{"2":"A","388":"B"},O:{"257":"VC"},P:{"4":"J","257":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"257":"8D"},R:{"257":"9D"},S:{"4":"AE","257":"BE"}},B:6,C:"ECMAScript 2015 (ES6)",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/eventsource.js b/tools/ui/node_modules/caniuse-lite/data/features/eventsource.js new file mode 100644 index 0000000000000000000000000000000000000000..8f04fd02472aa3fcc064a79bf4e9bb0c4f4c46eb --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/eventsource.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB"},E:{"1":"fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB TC 4C SD UC","4":"F OD PD QD RD"},G:{"1":"E TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC"},H:{"2":"qD"},I:{"1":"I vD wD","2":"ZC J rD sD tD uD 5C"},J:{"1":"D A"},K:{"1":"C H TC 4C UC","4":"A B"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"Server-sent events",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/extended-system-fonts.js b/tools/ui/node_modules/caniuse-lite/data/features/extended-system-fonts.js new file mode 100644 index 0000000000000000000000000000000000000000..4f0099423febd063b0c5c465ec40bc60726a4c03 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/extended-system-fonts.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"M G HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L CD fC DD ED FD GD gC TC UC"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"1":"jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"2":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:5,C:"ui-serif, ui-sans-serif, ui-monospace and ui-rounded values for font-family",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/feature-policy.js b/tools/ui/node_modules/caniuse-lite/data/features/feature-policy.js new file mode 100644 index 0000000000000000000000000000000000000000..7f348f69f162e48ade4952a8b1e65f83552bc9e9 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/feature-policy.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"Q H R S T U V W","2":"C L M G N O P","1025":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC AD BD","260":"0 1 2 3 4 5 6 7 8 9 NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"1":"NC OC PC QC RC Q H R S T U V W","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC","132":"AC bC BC CC DC EC FC GC HC IC JC KC LC MC","1025":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"J fB K D E F A B CD fC DD ED FD GD gC","772":"C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"BC CC DC EC FC GC HC IC JC KC LC MC NC","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB OD PD QD RD TC 4C SD UC","132":"yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC","1025":"0 1 2 3 4 5 6 7 8 9 OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD","772":"dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C TC 4C UC","1025":"H"},L:{"1025":"I"},M:{"260":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD zD","132":"0D 1D gC"},Q:{"132":"8D"},R:{"1025":"9D"},S:{"2":"AE","260":"BE"}},B:7,C:"Feature Policy",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/fetch.js b/tools/ui/node_modules/caniuse-lite/data/features/fetch.js new file mode 100644 index 0000000000000000000000000000000000000000..c78ecf8ecf5eae2c172641f53ca310ed76c698fb --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/fetch.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB AD BD","1025":"qB","1218":"lB mB nB oB pB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB","260":"rB","772":"sB"},E:{"1":"B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A CD fC DD ED FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB OD PD QD RD TC 4C SD UC","260":"JB","772":"KB"},G:{"1":"bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"Fetch",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/fieldset-disabled.js b/tools/ui/node_modules/caniuse-lite/data/features/fieldset-disabled.js new file mode 100644 index 0000000000000000000000000000000000000000..6d26bb2be8071add5af9b4ee972943fceeb98eac --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/fieldset-disabled.js @@ -0,0 +1 @@ +module.exports={A:{A:{"16":"6C","132":"E F","388":"K D A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G","16":"N O P gB"},E:{"1":"K D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB CD fC DD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB PD QD RD TC 4C SD UC","16":"F OD"},G:{"1":"E VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD"},H:{"388":"qD"},I:{"1":"I vD wD","2":"ZC J rD sD tD uD 5C"},J:{"1":"A","2":"D"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A","260":"B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"disabled attribute of the fieldset element",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/fileapi.js b/tools/ui/node_modules/caniuse-lite/data/features/fileapi.js new file mode 100644 index 0000000000000000000000000000000000000000..6068f239a9e33332a9ed1372f9d7ad7383c38e01 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/fileapi.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F 6C","260":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","260":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD","260":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB","260":"L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB","388":"K D E F A B C"},E:{"1":"A B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB CD fC","260":"K D E F ED FD GD","388":"DD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B OD PD QD RD","260":"C G N O P gB CB DB EB FB GB TC 4C SD UC"},G:{"1":"aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD","260":"E VD WD XD YD ZD"},H:{"2":"qD"},I:{"1":"I wD","2":"rD sD tD","260":"vD","388":"ZC J uD 5C"},J:{"260":"A","388":"D"},K:{"1":"H","2":"A B","260":"C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A","260":"B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:"File API",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/filereader.js b/tools/ui/node_modules/caniuse-lite/data/features/filereader.js new file mode 100644 index 0000000000000000000000000000000000000000..e6d4254df92be3fb169fcdef830870dd24f40128 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/filereader.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F 6C","132":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C BD","2":"7C ZC AD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB"},E:{"1":"K D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB CD fC DD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB TC 4C SD UC","2":"F B OD PD QD RD"},G:{"1":"E VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD"},H:{"2":"qD"},I:{"1":"ZC J I uD 5C vD wD","2":"rD sD tD"},J:{"1":"A","2":"D"},K:{"1":"C H TC 4C UC","2":"A B"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:"FileReader API",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/filereadersync.js b/tools/ui/node_modules/caniuse-lite/data/features/filereadersync.js new file mode 100644 index 0000000000000000000000000000000000000000..155b56977fd7899a97e099f5b3b8d6158f9633c9 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/filereadersync.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","16":"J fB K D E F A B C L M"},E:{"1":"K D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB CD fC DD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB SD UC","2":"F OD PD","16":"B QD RD TC 4C"},G:{"1":"E VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD"},H:{"2":"qD"},I:{"1":"I vD wD","2":"ZC J rD sD tD uD 5C"},J:{"1":"A","2":"D"},K:{"1":"C H 4C UC","2":"A","16":"B TC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:"FileReaderSync",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/filesystem.js b/tools/ui/node_modules/caniuse-lite/data/features/filesystem.js new file mode 100644 index 0000000000000000000000000000000000000000..117b0726202284185ad8d50147d5472258d1d3e3 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/filesystem.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"C L M G N O P","33":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"J fB K D","33":"0 1 2 3 4 5 6 7 8 9 L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","36":"E F A B C"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"F B C OD PD QD RD TC 4C SD UC","33":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D","33":"A"},K:{"2":"A B C TC 4C UC","33":"H"},L:{"33":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"33":"VC"},P:{"2":"J","33":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"33":"9D"},S:{"2":"AE BE"}},B:7,C:"Filesystem & FileWriter API",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/flac.js b/tools/ui/node_modules/caniuse-lite/data/features/flac.js new file mode 100644 index 0000000000000000000000000000000000000000..f6332ccb934d91694dfe8970360dc8cf3169eddb --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/flac.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G"},C:{"1":"0 1 2 3 4 5 6 7 8 9 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB","16":"vB wB xB","388":"yB zB 0B 1B 2B 3B 4B 5B 6B"},E:{"1":"L M G HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A CD fC DD ED FD GD gC","516":"B C TC UC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB OD PD QD RD TC 4C SD UC"},G:{"1":"cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD"},H:{"2":"qD"},I:{"1":"I","2":"rD sD tD","16":"ZC J uD 5C vD wD"},J:{"1":"A","2":"D"},K:{"1":"H UC","16":"A B C TC 4C"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","129":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:6,C:"FLAC audio format",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/flexbox-gap.js b/tools/ui/node_modules/caniuse-lite/data/features/flexbox-gap.js new file mode 100644 index 0000000000000000000000000000000000000000..7f657f59bf128ef8f6f8145bad90fd2cb6a84729 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/flexbox-gap.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P Q H R S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S"},E:{"1":"G ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M CD fC DD ED FD GD gC TC UC HD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC OD PD QD RD TC 4C SD UC"},G:{"1":"lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 5D 6D WC XC YC 7D","2":"J xD yD zD 0D 1D gC 2D 3D 4D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:5,C:"gap property for Flexbox",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/flexbox.js b/tools/ui/node_modules/caniuse-lite/data/features/flexbox.js new file mode 100644 index 0000000000000000000000000000000000000000..23739c55438a444d48141cc049b2aa1141cd0e55 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/flexbox.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F 6C","1028":"B","1316":"A"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","164":"7C ZC J fB K D E F A B C L M G N O P gB CB DB AD BD","516":"EB FB GB HB IB JB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","33":"DB EB FB GB HB IB JB KB","164":"J fB K D E F A B C L M G N O P gB CB"},E:{"1":"F A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","33":"D E ED FD","164":"J fB K CD fC DD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB UC","2":"F B C OD PD QD RD TC 4C SD","33":"G N"},G:{"1":"YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","33":"E WD XD","164":"fC TD 5C UD VD"},H:{"1":"qD"},I:{"1":"I vD wD","164":"ZC J rD sD tD uD 5C"},J:{"1":"A","164":"D"},K:{"1":"H UC","2":"A B C TC 4C"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"B","292":"A"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"CSS Flexible Box Layout Module",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/flow-root.js b/tools/ui/node_modules/caniuse-lite/data/features/flow-root.js new file mode 100644 index 0000000000000000000000000000000000000000..22f803bccba04d209965578131c663e227622b67 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/flow-root.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B"},E:{"1":"L M G HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C CD fC DD ED FD GD gC TC UC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB OD PD QD RD TC 4C SD UC"},G:{"1":"gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:4,C:"display: flow-root",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/focusin-focusout-events.js b/tools/ui/node_modules/caniuse-lite/data/features/focusin-focusout-events.js new file mode 100644 index 0000000000000000000000000000000000000000..d0aa3114bc542e2cbe1cec34058151891bdee971 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/focusin-focusout-events.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"K D E F A B","2":"6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","16":"J fB K D E F A B C L M"},E:{"1":"K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","16":"J fB CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB SD UC","2":"F OD PD QD RD","16":"B TC 4C"},G:{"1":"E UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C"},H:{"2":"qD"},I:{"1":"J I uD 5C vD wD","2":"rD sD tD","16":"ZC"},J:{"1":"D A"},K:{"1":"C H UC","2":"A","16":"B TC 4C"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:5,C:"focusin & focusout events",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/font-family-system-ui.js b/tools/ui/node_modules/caniuse-lite/data/features/font-family-system-ui.js new file mode 100644 index 0000000000000000000000000000000000000000..c3970b7c8b82fff444dc5f78883fa750bfe7e36f --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/font-family-system-ui.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB AD BD","132":"uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a"},D:{"1":"0 1 2 3 4 5 6 7 8 9 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B","260":"4B 5B 6B"},E:{"1":"B C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E CD fC DD ED FD","16":"F","132":"A GD gC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB OD PD QD RD TC 4C SD UC"},G:{"1":"cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD","132":"YD ZD aD bD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"132":"AE BE"}},B:5,C:"system-ui value for font-family",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/font-feature.js b/tools/ui/node_modules/caniuse-lite/data/features/font-feature.js new file mode 100644 index 0000000000000000000000000000000000000000..719176c8aa367cf1fba2fadf34a7c5550a0d4877 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/font-feature.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD","33":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB","164":"J fB K D E F A B C L M"},D:{"1":"0 1 2 3 4 5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G","33":"DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB","292":"N O P gB CB"},E:{"1":"A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"D E F CD fC ED FD","4":"J fB K DD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC","33":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB"},G:{"1":"ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E WD XD YD","4":"fC TD 5C UD VD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C","33":"vD wD"},J:{"2":"D","33":"A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","33":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"CSS font-feature-settings",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/font-kerning.js b/tools/ui/node_modules/caniuse-lite/data/features/font-kerning.js new file mode 100644 index 0000000000000000000000000000000000000000..e4f765feee7a84ddd7d086e91fc001d8a057c981 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/font-kerning.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB AD BD","194":"GB HB IB JB KB LB hB iB jB kB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB","33":"LB hB iB jB"},E:{"1":"A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K CD fC DD ED","33":"D E F FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G OD PD QD RD TC 4C SD UC","33":"N O P gB"},G:{"1":"eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD VD WD","33":"E XD YD ZD aD bD cD dD"},H:{"2":"qD"},I:{"1":"I wD","2":"ZC J rD sD tD uD 5C","33":"vD"},J:{"2":"D","33":"A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"CSS3 font-kerning",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/font-loading.js b/tools/ui/node_modules/caniuse-lite/data/features/font-loading.js new file mode 100644 index 0000000000000000000000000000000000000000..ddff714d3fc81db88504f94534ca77127dbe2863 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/font-loading.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB AD BD","194":"mB nB oB pB qB rB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB"},E:{"1":"A B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F CD fC DD ED FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB OD PD QD RD TC 4C SD UC"},G:{"1":"aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:"CSS Font Loading",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/font-size-adjust.js b/tools/ui/node_modules/caniuse-lite/data/features/font-size-adjust.js new file mode 100644 index 0000000000000000000000000000000000000000..d3f5a5f6fc50f4765c097da16c87235f4dca94a4 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/font-size-adjust.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P","194":"0 1 2 3 4 5 6 7 8 9","962":"Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},C:{"1":"1 2 3 4 5 6 7 8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C","516":"0 b c d e f g h i j k l m n o p q r s t u v w x y z","772":"ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a AD BD"},D:{"1":"AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB","194":"3 4 5 6 7 8 9","962":"0 1 2 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},E:{"1":"XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC","772":"mC nC LD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB OD PD QD RD TC 4C SD UC","194":"l m n o p q r s t u v","962":"hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k"},G:{"1":"XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC","772":"mC nC oD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"194":"8D"},R:{"2":"9D"},S:{"2":"AE","516":"BE"}},B:2,C:"CSS font-size-adjust",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/font-smooth.js b/tools/ui/node_modules/caniuse-lite/data/features/font-smooth.js new file mode 100644 index 0000000000000000000000000000000000000000..4dddfe74305605dc304d0b6a328d68d640d00400 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/font-smooth.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"C L M G N O P","676":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB AD BD","804":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB","1828":"MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"2":"J","676":"0 1 2 3 4 5 6 7 8 9 fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"CD fC","676":"J fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"F B C OD PD QD RD TC 4C SD UC","676":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"2":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"804":"AE BE"}},B:7,C:"CSS font-smooth",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/font-unicode-range.js b/tools/ui/node_modules/caniuse-lite/data/features/font-unicode-range.js new file mode 100644 index 0000000000000000000000000000000000000000..b30cd10870f3db6490ec3f3312a3aaec25e8234a --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/font-unicode-range.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E 6C","4":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","4":"C L M G N"},C:{"1":"0 1 2 3 4 5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB AD BD","194":"nB oB pB qB rB sB tB uB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","4":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB"},E:{"1":"A B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","4":"J fB K D E F CD fC DD ED FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC","4":"G N O P gB CB DB EB"},G:{"1":"aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","4":"E fC TD 5C UD VD WD XD YD ZD"},H:{"2":"qD"},I:{"1":"I","4":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D","4":"A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"4":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","4":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"Font unicode-range subsetting",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/font-variant-alternates.js b/tools/ui/node_modules/caniuse-lite/data/features/font-variant-alternates.js new file mode 100644 index 0000000000000000000000000000000000000000..bee33f33f0eba537646eb5118bdb185b3d663b0f --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/font-variant-alternates.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F 6C","130":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","130":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},C:{"1":"0 1 2 3 4 5 6 7 8 9 lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD","130":"J fB K D E F A B C L M G N O P gB CB DB EB FB","322":"GB HB IB JB KB LB hB iB jB kB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G","130":"N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},E:{"1":"A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"D E F CD fC ED FD","130":"J fB K DD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC","130":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g"},G:{"1":"ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC WD XD YD","130":"TD 5C UD VD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C","130":"vD wD"},J:{"2":"D","130":"A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"130":"VC"},P:{"1":"EB FB GB HB IB JB KB LB","130":"J CB DB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"130":"8D"},R:{"130":"9D"},S:{"1":"AE BE"}},B:5,C:"CSS font-variant-alternates",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/font-variant-numeric.js b/tools/ui/node_modules/caniuse-lite/data/features/font-variant-numeric.js new file mode 100644 index 0000000000000000000000000000000000000000..db5a8e9ca3af4a4601d76530cb27b4dd1c153bfd --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/font-variant-numeric.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B"},E:{"1":"A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F CD fC DD ED FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB OD PD QD RD TC 4C SD UC"},G:{"1":"ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D","16":"A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"CSS font-variant-numeric",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/fontface.js b/tools/ui/node_modules/caniuse-lite/data/features/fontface.js new file mode 100644 index 0000000000000000000000000000000000000000..8a1b41914fb100110f653c8537228ad5c0bfc8eb --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/fontface.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","132":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD","2":"7C ZC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB PD QD RD TC 4C SD UC","2":"F OD"},G:{"1":"E 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","260":"fC TD"},H:{"2":"qD"},I:{"1":"J I uD 5C vD wD","2":"rD","4":"ZC sD tD"},J:{"1":"A","4":"D"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"@font-face Web fonts",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/form-attribute.js b/tools/ui/node_modules/caniuse-lite/data/features/form-attribute.js new file mode 100644 index 0000000000000000000000000000000000000000..b5f0c61698e2862f84ae929e5ab5f5cfa83b3ec1 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/form-attribute.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F"},E:{"1":"K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J CD fC","16":"fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC","2":"F"},G:{"1":"E UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C"},H:{"1":"qD"},I:{"1":"ZC J I uD 5C vD wD","2":"rD sD tD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"Form attribute",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/form-submit-attributes.js b/tools/ui/node_modules/caniuse-lite/data/features/form-submit-attributes.js new file mode 100644 index 0000000000000000000000000000000000000000..822b6813163146d5cd9c2326738bb3dc1af97187 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/form-submit-attributes.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","16":"J fB K D E F A B C L M"},E:{"1":"K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB RD TC 4C SD UC","2":"F OD","16":"PD QD"},G:{"1":"E UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C"},H:{"1":"qD"},I:{"1":"J I uD 5C vD wD","2":"rD sD tD","16":"ZC"},J:{"1":"A","2":"D"},K:{"1":"B C H TC 4C UC","16":"A"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"Attributes for form submission",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/form-validation.js b/tools/ui/node_modules/caniuse-lite/data/features/form-validation.js new file mode 100644 index 0000000000000000000000000000000000000000..100baf63068ac056d341bd9a6dc882b4442f59b7 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/form-validation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F"},E:{"1":"B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J CD fC","132":"fB K D E F A DD ED FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB PD QD RD TC 4C SD UC","2":"F OD"},G:{"1":"bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC","132":"E TD 5C UD VD WD XD YD ZD aD"},H:{"516":"qD"},I:{"1":"I wD","2":"ZC rD sD tD","132":"J uD 5C vD"},J:{"1":"A","132":"D"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"132":"SC"},N:{"260":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","132":"AE"}},B:1,C:"Form validation",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/forms.js b/tools/ui/node_modules/caniuse-lite/data/features/forms.js new file mode 100644 index 0000000000000000000000000000000000000000..7a657d702e77e8126062395c0120b2e664781bf7 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/forms.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"6C","4":"A B","8":"K D E F"},B:{"1":"0 1 2 3 4 5 6 7 8 9 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","4":"C L M G"},C:{"4":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","8":"7C ZC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","4":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC"},E:{"4":"J fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","8":"CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC","4":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B"},G:{"2":"fC","4":"E TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C","4":"vD wD"},J:{"2":"D","4":"A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"4":"SC"},N:{"4":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","4":"J xD yD zD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"4":"AE BE"}},B:1,C:"HTML5 form features",D:false}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/fullscreen.js b/tools/ui/node_modules/caniuse-lite/data/features/fullscreen.js new file mode 100644 index 0000000000000000000000000000000000000000..71786ae54f35a85b5447d91aa100798b03f715e8 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/fullscreen.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A 6C","548":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","516":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F AD BD","676":"A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB","1700":"yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M","676":"G N O P gB","804":"CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC"},E:{"1":"mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB CD fC","548":"iC VC KD WC jC kC lC","676":"DD","804":"K D E F A B C L M G ED FD GD gC TC UC HD ID JD hC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB UC","2":"F B C OD PD QD RD TC 4C SD","804":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD","2052":"eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D","292":"A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A","548":"B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB gC 2D 3D 4D 5D 6D WC XC YC 7D","804":"J xD yD zD 0D 1D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"Fullscreen API",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/gamepad.js b/tools/ui/node_modules/caniuse-lite/data/features/gamepad.js new file mode 100644 index 0000000000000000000000000000000000000000..7b95df9487f3dfb5caac9db3fe717c89c3fd8f67 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/gamepad.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB","33":"DB EB FB GB"},E:{"1":"B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A CD fC DD ED FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB OD PD QD RD TC 4C SD UC"},G:{"1":"bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:5,C:"Gamepad API",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/geolocation.js b/tools/ui/node_modules/caniuse-lite/data/features/geolocation.js new file mode 100644 index 0000000000000000000000000000000000000000..5247772ff366e934232517f7def73badb98cb857 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/geolocation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"6C","8":"K D E"},B:{"1":"C L M G N O P","129":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B AD BD","8":"7C ZC","129":"0 1 2 3 4 5 6 7 8 9 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"1":"fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B","4":"J","129":"0 1 2 3 4 5 6 7 8 9 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"fB K D E F B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","8":"J CD fC","129":"A"},F:{"1":"B C N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB RD TC 4C SD UC","2":"F G OD","8":"PD QD","129":"0 1 2 3 4 5 6 7 8 9 qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD","129":"aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"ZC J rD sD tD uD 5C vD wD","129":"I"},J:{"1":"D A"},K:{"1":"B C TC 4C UC","8":"A","129":"H"},L:{"129":"I"},M:{"129":"SC"},N:{"1":"A B"},O:{"129":"VC"},P:{"1":"J","129":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"129":"8D"},R:{"129":"9D"},S:{"1":"AE","129":"BE"}},B:2,C:"Geolocation",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/getboundingclientrect.js b/tools/ui/node_modules/caniuse-lite/data/features/getboundingclientrect.js new file mode 100644 index 0000000000000000000000000000000000000000..5c19015eef991bdc757bfd2cae57bce301b60b92 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/getboundingclientrect.js @@ -0,0 +1 @@ +module.exports={A:{A:{"644":"K D 6C","2049":"F A B","2692":"E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2049":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C","260":"J fB K D E F A B","1156":"ZC","1284":"AD","1796":"BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","16":"CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB RD TC 4C SD UC","16":"F OD","132":"PD QD"},G:{"1":"E TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC"},H:{"1":"qD"},I:{"1":"ZC J I tD uD 5C vD wD","16":"rD sD"},J:{"1":"D A"},K:{"1":"B C H TC 4C UC","132":"A"},L:{"1":"I"},M:{"1":"SC"},N:{"2049":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:"Element.getBoundingClientRect()",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/getcomputedstyle.js b/tools/ui/node_modules/caniuse-lite/data/features/getcomputedstyle.js new file mode 100644 index 0000000000000000000000000000000000000000..5b0c22a19b9cba2fd1beef88692a30fa53e312b7 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/getcomputedstyle.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C","132":"ZC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","260":"J fB K D E F A"},E:{"1":"fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","260":"J CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB RD TC 4C SD UC","260":"F OD PD QD"},G:{"1":"E UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","260":"fC TD 5C"},H:{"260":"qD"},I:{"1":"J I uD 5C vD wD","260":"ZC rD sD tD"},J:{"1":"A","260":"D"},K:{"1":"B C H TC 4C UC","260":"A"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"getComputedStyle",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/getelementsbyclassname.js b/tools/ui/node_modules/caniuse-lite/data/features/getelementsbyclassname.js new file mode 100644 index 0000000000000000000000000000000000000000..2527144a7538a519aada1e015fb199bbc3949328 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/getelementsbyclassname.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"6C","8":"K D E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD","8":"7C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC","2":"F"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"1":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"getElementsByClassName",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/getrandomvalues.js b/tools/ui/node_modules/caniuse-lite/data/features/getrandomvalues.js new file mode 100644 index 0000000000000000000000000000000000000000..3e9c08f1494f7395443fbc79b9142cfd885c4ddc --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/getrandomvalues.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A 6C","33":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A"},E:{"1":"D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K CD fC DD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC"},G:{"1":"E WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD VD"},H:{"2":"qD"},I:{"1":"I vD wD","2":"ZC J rD sD tD uD 5C"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A","33":"B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"crypto.getRandomValues()",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/gyroscope.js b/tools/ui/node_modules/caniuse-lite/data/features/gyroscope.js new file mode 100644 index 0000000000000000000000000000000000000000..dfdc749c32407b50c639164da50277008900db86 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/gyroscope.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B","194":"9B aC AC bC BC CC DC EC FC"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:4,C:"Gyroscope",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/hardwareconcurrency.js b/tools/ui/node_modules/caniuse-lite/data/features/hardwareconcurrency.js new file mode 100644 index 0000000000000000000000000000000000000000..5cbebf047f42ff3b9aba374f87b9f2c84509edc6 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/hardwareconcurrency.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB"},E:{"2":"J fB K D B C L M G CD fC DD ED FD TC UC HD ID JD hC","129":"gC","194":"E F A GD","257":"iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB OD PD QD RD TC 4C SD UC"},G:{"2":"fC TD 5C UD VD WD cD dD eD fD gD hD iD jD kD lD mD hC","129":"bD","194":"E XD YD ZD aD","257":"iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"navigator.hardwareConcurrency",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/hashchange.js b/tools/ui/node_modules/caniuse-lite/data/features/hashchange.js new file mode 100644 index 0000000000000000000000000000000000000000..7549b0c3fcd8de5303c77f365f9ccb8d64c8d044 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/hashchange.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E F A B","8":"K D 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C BD","8":"7C ZC AD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","8":"J"},E:{"1":"fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","8":"J CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB RD TC 4C SD UC","8":"F OD PD QD"},G:{"1":"E TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC"},H:{"2":"qD"},I:{"1":"ZC J I sD tD uD 5C vD wD","2":"rD"},J:{"1":"D A"},K:{"1":"B C H TC 4C UC","8":"A"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"Hashchange event",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/heif.js b/tools/ui/node_modules/caniuse-lite/data/features/heif.js new file mode 100644 index 0000000000000000000000000000000000000000..5082c10205fb25d30b1e357ffea58fec490bd287 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/heif.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A CD fC DD ED FD GD gC","130":"B C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"1":"XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD oD","130":"cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"2":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:6,C:"HEIF/HEIC image format",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/hevc.js b/tools/ui/node_modules/caniuse-lite/data/features/hevc.js new file mode 100644 index 0000000000000000000000000000000000000000..6e011fe05eda173cbe1d992d2a4eca8f6ecff505 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/hevc.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A 6C","132":"B"},B:{"132":"C L M G N O P","1028":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AD BD","4098":"3","8258":"4 5 6 7 8 9 AB MB NB OB BB PB QB RB SB TB","16388":"UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p","2052":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"L M G HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A CD fC DD ED FD GD gC","516":"B C TC UC"},F:{"2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c OD PD QD RD TC 4C SD UC","2052":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"1":"cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD"},H:{"2":"qD"},I:{"2":"ZC J rD sD tD uD 5C vD wD","2052":"I"},J:{"2":"D A"},K:{"2":"A B C TC 4C UC","258":"H"},L:{"2052":"I"},M:{"16388":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"1":"DB EB FB GB HB IB JB KB LB","2":"J","258":"CB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:6,C:"HEVC/H.265 video format",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/hidden.js b/tools/ui/node_modules/caniuse-lite/data/features/hidden.js new file mode 100644 index 0000000000000000000000000000000000000000..a0a419d0d4427d9772b4d7a067162283bf19dc31 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/hidden.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"K D E F A 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB"},E:{"1":"K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB TC 4C SD UC","2":"F B OD PD QD RD"},G:{"1":"E UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C"},H:{"1":"qD"},I:{"1":"J I uD 5C vD wD","2":"ZC rD sD tD"},J:{"1":"A","2":"D"},K:{"1":"C H TC 4C UC","2":"A B"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"B","2":"A"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"hidden attribute",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/high-resolution-time.js b/tools/ui/node_modules/caniuse-lite/data/features/high-resolution-time.js new file mode 100644 index 0000000000000000000000000000000000000000..d687f981833a05189f023303aced18a2420d1949 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/high-resolution-time.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B","2":"7C ZC J fB K D E F A B C L M AD BD","129":"6B 7B 8B","769":"9B aC","1281":"0 1 2 3 4 5 6 7 8 9 AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB","33":"CB DB EB FB"},E:{"1":"E F A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D CD fC DD ED FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC"},G:{"1":"E YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD VD WD XD"},H:{"2":"qD"},I:{"1":"I vD wD","2":"ZC J rD sD tD uD 5C"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"High Resolution Time API",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/history.js b/tools/ui/node_modules/caniuse-lite/data/features/history.js new file mode 100644 index 0000000000000000000000000000000000000000..23ea494b4a5740763f3b733b504bf501d248d335 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/history.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J"},E:{"1":"K D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J CD fC","4":"fB DD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB 4C SD UC","2":"F B OD PD QD RD TC"},G:{"1":"E UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD","4":"5C"},H:{"2":"qD"},I:{"1":"I sD tD 5C vD wD","2":"ZC J rD uD"},J:{"1":"D A"},K:{"1":"C H TC 4C UC","2":"A B"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"Session history management",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/html-media-capture.js b/tools/ui/node_modules/caniuse-lite/data/features/html-media-capture.js new file mode 100644 index 0000000000000000000000000000000000000000..65632619c8e218f69b6dd3e4f0db5fe4a28c4e38 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/html-media-capture.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"2":"fC TD 5C UD","129":"E VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"ZC J I uD 5C vD wD","2":"rD","257":"sD tD"},J:{"1":"A","16":"D"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"516":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"16":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:2,C:"HTML Media Capture",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/html5semantic.js b/tools/ui/node_modules/caniuse-lite/data/features/html5semantic.js new file mode 100644 index 0000000000000000000000000000000000000000..da254027f7fb74c8f5c196984241220173d3f4b2 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/html5semantic.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"6C","8":"K D E","260":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C","132":"ZC AD BD","260":"J fB K D E F A B C L M G N O P gB CB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","132":"J fB","260":"K D E F A B C L M G N O P gB CB DB EB FB GB HB"},E:{"1":"D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","132":"J CD fC","260":"fB K DD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","132":"F B OD PD QD RD","260":"C TC 4C SD UC"},G:{"1":"E WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","132":"fC","260":"TD 5C UD VD"},H:{"132":"qD"},I:{"1":"I vD wD","132":"rD","260":"ZC J sD tD uD 5C"},J:{"260":"D A"},K:{"1":"H","132":"A","260":"B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"260":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"HTML5 semantic elements",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/http-live-streaming.js b/tools/ui/node_modules/caniuse-lite/data/features/http-live-streaming.js new file mode 100644 index 0000000000000000000000000000000000000000..9860d8c76c3fedb98188e02f58c643b53ed35ede --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/http-live-streaming.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"C L M G N O P","2":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"ZB aB bB cB dB eB I dC SC eC","2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB"},E:{"1":"K D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB CD fC DD"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"ZC J I uD 5C vD wD","2":"rD sD tD"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:7,C:"HTTP Live Streaming (HLS)",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/http2.js b/tools/ui/node_modules/caniuse-lite/data/features/http2.js new file mode 100644 index 0000000000000000000000000000000000000000..1bc5817726f6fa14b53d1fde412ae444046e5211 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/http2.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A 6C","132":"B"},B:{"1":"C L M G N O P","513":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB AD BD","513":"0 1 2 3 4 5 6 7 8 9 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"1":"sB tB uB vB wB xB yB zB 0B 1B","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB","513":"0 1 2 3 4 5 6 7 8 9 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"B C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E CD fC DD ED FD","260":"F A GD gC"},F:{"1":"KB LB hB iB jB kB lB mB nB oB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB OD PD QD RD TC 4C SD UC","513":"0 1 2 3 4 5 6 7 8 9 pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"1":"YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD"},H:{"2":"qD"},I:{"2":"ZC J rD sD tD uD 5C vD wD","513":"I"},J:{"2":"D A"},K:{"2":"A B C TC 4C UC","513":"H"},L:{"513":"I"},M:{"513":"SC"},N:{"2":"A B"},O:{"513":"VC"},P:{"1":"J","513":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"513":"8D"},R:{"513":"9D"},S:{"1":"AE","513":"BE"}},B:6,C:"HTTP/2 protocol",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/http3.js b/tools/ui/node_modules/caniuse-lite/data/features/http3.js new file mode 100644 index 0000000000000000000000000000000000000000..ae63c7185c1841b3ed5be0b4ee95972963725f61 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/http3.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P","322":"Q H R S T","578":"U V"},C:{"1":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC AD BD","194":"LC MC NC OC PC QC RC Q H R cC S T U V W"},D:{"1":"0 1 2 3 4 5 6 7 8 9 W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC","322":"Q H R S T","578":"U V"},E:{"1":"YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L CD fC DD ED FD GD gC TC UC HD","2049":"mC nC LD XC oC pC qC rC sC MD","2113":"WC jC kC lC","3140":"M G ID JD hC iC VC KD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC OD PD QD RD TC 4C SD UC","578":"MC"},G:{"1":"YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD","2049":"mC nC oD XC oC pC qC rC sC pD","2113":"WC jC kC lC","2116":"kD lD mD hC iC VC nD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"zD","2":"J CB DB EB FB GB HB IB JB xD yD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","4098":"KB LB"},Q:{"2":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:6,C:"HTTP/3 protocol",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/iframe-sandbox.js b/tools/ui/node_modules/caniuse-lite/data/features/iframe-sandbox.js new file mode 100644 index 0000000000000000000000000000000000000000..b9ca3b6401cae0626161ae0b08d610ed9cb4fa2e --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/iframe-sandbox.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N AD BD","4":"O P gB CB DB EB FB GB HB IB JB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J"},E:{"1":"fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC"},G:{"1":"E TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC"},H:{"2":"qD"},I:{"1":"ZC J I sD tD uD 5C vD wD","2":"rD"},J:{"1":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"sandbox attribute for iframes",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/iframe-seamless.js b/tools/ui/node_modules/caniuse-lite/data/features/iframe-seamless.js new file mode 100644 index 0000000000000000000000000000000000000000..7a904d62193453ddb36d6fb72584c7bd2d0ec19a --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/iframe-seamless.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","66":"CB DB EB FB GB HB IB"},E:{"2":"J fB K E F A B C L M G CD fC DD ED GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","130":"D FD"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","130":"WD"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"2":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:7,C:"seamless attribute for iframes",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/iframe-srcdoc.js b/tools/ui/node_modules/caniuse-lite/data/features/iframe-srcdoc.js new file mode 100644 index 0000000000000000000000000000000000000000..cc497d1f3ffc574d5ad0571050bcaebcf8f9e46c --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/iframe-srcdoc.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"6C","8":"K D E F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","8":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C","8":"ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L","8":"M G N O P gB"},E:{"1":"K D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"CD fC","8":"J fB DD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B OD PD QD RD","8":"C TC 4C SD UC"},G:{"1":"E VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC","8":"TD 5C UD"},H:{"2":"qD"},I:{"1":"I vD wD","8":"ZC J rD sD tD uD 5C"},J:{"1":"A","8":"D"},K:{"1":"H","2":"A B","8":"C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"8":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"srcdoc attribute for iframes",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/imagecapture.js b/tools/ui/node_modules/caniuse-lite/data/features/imagecapture.js new file mode 100644 index 0000000000000000000000000000000000000000..282b582b8cd5fe6e1bff73a118924ebc31286e9d --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/imagecapture.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB AD BD","194":"0 1 2 3 4 5 6 7 8 9 mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B","322":"4B 5B 6B 7B 8B 9B"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","516":"ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB OD PD QD RD TC 4C SD UC","322":"rB sB tB uB vB wB"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"194":"AE BE"}},B:5,C:"ImageCapture API",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/ime.js b/tools/ui/node_modules/caniuse-lite/data/features/ime.js new file mode 100644 index 0000000000000000000000000000000000000000..7d7a998a9dc5dfa1e775834fc36f26b51a258b39 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/ime.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A 6C","161":"B"},B:{"2":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","161":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"2":"I"},M:{"2":"SC"},N:{"2":"A","161":"B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:7,C:"Input Method Editor API",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js b/tools/ui/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js new file mode 100644 index 0000000000000000000000000000000000000000..6f7f4dbceeb7cd17e09f6d3b2dec04cc09ceca10 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"1":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"naturalWidth & naturalHeight image properties",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/import-maps.js b/tools/ui/node_modules/caniuse-lite/data/features/import-maps.js new file mode 100644 index 0000000000000000000000000000000000000000..1f0a2b54f3e35ca52ad518c84a2c7931d35e7513 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/import-maps.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P","194":"Q H R S T U V W X"},C:{"1":"0 1 2 3 4 5 6 7 8 9 r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k AD BD","322":"l m n o p q"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC","194":"NC OC PC QC RC Q H R S T U V W X"},E:{"1":"mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC OD PD QD RD TC 4C SD UC","194":"BC CC DC EC FC GC HC IC JC KC LC MC NC OC"},G:{"1":"mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 6D WC XC YC 7D","2":"J xD yD zD 0D 1D gC 2D 3D 4D 5D"},Q:{"2":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:7,C:"Import maps",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/imports.js b/tools/ui/node_modules/caniuse-lite/data/features/imports.js new file mode 100644 index 0000000000000000000000000000000000000000..8e8462ef100b5b8b509f77af84fae0fba41f2305 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/imports.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F 6C","8":"A B"},B:{"1":"Q","2":"0 1 2 3 4 5 6 7 8 9 H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","8":"C L M G N O P"},C:{"2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB AD BD","8":"0 1 2 3 4 5 6 7 8 9 hB iB 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","72":"jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B"},D:{"1":"nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q","2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","66":"hB iB jB kB lB","72":"mB"},E:{"2":"J fB CD fC DD","8":"K D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC","2":"0 1 2 3 4 5 6 7 8 9 F B C G N GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC","66":"O P gB CB DB","72":"EB"},G:{"2":"fC TD 5C UD VD","8":"E WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"2":"I"},M:{"8":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J xD yD zD 0D 1D gC 2D 3D","2":"CB DB EB FB GB HB IB JB KB LB 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"2":"9D"},S:{"1":"AE","8":"BE"}},B:5,C:"HTML Imports",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js b/tools/ui/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js new file mode 100644 index 0000000000000000000000000000000000000000..a7e24bf1a3ee260b8707c44909d78eed0bf1a445 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"K D E F A B","16":"6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C BD","2":"7C ZC","16":"AD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB"},E:{"1":"K D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB CD fC DD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB SD UC","2":"F B OD PD QD RD TC 4C"},G:{"1":"fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD"},H:{"2":"qD"},I:{"1":"I vD wD","2":"ZC J rD sD tD uD 5C"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"indeterminate checkbox",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/indexeddb.js b/tools/ui/node_modules/caniuse-lite/data/features/indexeddb.js new file mode 100644 index 0000000000000000000000000000000000000000..6bc1868afefd068444da54412173c2f6f083e883 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/indexeddb.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F 6C","132":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","132":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD","33":"A B C L M G","36":"J fB K D E F"},D:{"1":"0 1 2 3 4 5 6 7 8 9 GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"A","8":"J fB K D E F","33":"FB","36":"B C L M G N O P gB CB DB EB"},E:{"1":"A B C L M G gC TC UC HD JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","8":"J fB K D CD fC DD ED","260":"E F FD GD","516":"ID"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F OD PD","8":"B C QD RD TC 4C SD UC"},G:{"1":"aD bD cD dD eD fD gD hD iD jD kD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","8":"fC TD 5C UD VD WD","260":"E XD YD ZD","516":"lD"},H:{"2":"qD"},I:{"1":"I vD wD","8":"ZC J rD sD tD uD 5C"},J:{"1":"A","8":"D"},K:{"1":"H","2":"A","8":"B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"132":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"IndexedDB",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/indexeddb2.js b/tools/ui/node_modules/caniuse-lite/data/features/indexeddb2.js new file mode 100644 index 0000000000000000000000000000000000000000..36e21af281d2689a4bcf062ae6cc530805230a4f --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/indexeddb2.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB AD BD","132":"vB wB xB","260":"yB zB 0B 1B"},D:{"1":"0 1 2 3 4 5 6 7 8 9 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB","132":"zB 0B 1B 2B","260":"3B 4B 5B 6B 7B 8B"},E:{"1":"B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A CD fC DD ED FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB OD PD QD RD TC 4C SD UC","132":"mB nB oB pB","260":"qB rB sB tB uB vB"},G:{"1":"bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD","16":"aD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J","260":"xD yD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","260":"AE"}},B:2,C:"IndexedDB 2.0",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/inline-block.js b/tools/ui/node_modules/caniuse-lite/data/features/inline-block.js new file mode 100644 index 0000000000000000000000000000000000000000..81abc22f4427e47b25d331054a1747610c575ffd --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/inline-block.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E F A B","4":"6C","132":"K D"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD","36":"7C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"1":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"CSS inline-block",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/innertext.js b/tools/ui/node_modules/caniuse-lite/data/features/innertext.js new file mode 100644 index 0000000000000000000000000000000000000000..397725e516e1094b020d44e39701e9ac406cbfef --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/innertext.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"K D E F A B","16":"6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","16":"CD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC","16":"F"},G:{"1":"E TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC"},H:{"1":"qD"},I:{"1":"ZC J I tD uD 5C vD wD","16":"rD sD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"HTMLElement.innerText",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js b/tools/ui/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js new file mode 100644 index 0000000000000000000000000000000000000000..36eb6fae3fb19aac0d5b38604adc8aba41f5020b --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"K D E F A 6C","132":"B"},B:{"132":"C L M G N O P","260":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB AD BD","516":"0 1 2 3 4 5 6 7 8 9 hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"1":"O P gB CB DB EB FB GB HB IB","2":"J fB K D E F A B C L M G N","132":"JB KB LB hB iB jB kB lB mB nB oB pB qB rB","260":"0 1 2 3 4 5 6 7 8 9 sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"K DD ED","2":"J fB CD fC","2052":"D E F A B C L M G FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"2":"fC TD 5C","1025":"E UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"1025":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2052":"A B"},O:{"1025":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"260":"8D"},R:{"1":"9D"},S:{"516":"AE BE"}},B:1,C:"autocomplete attribute: on & off values",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/input-color.js b/tools/ui/node_modules/caniuse-lite/data/features/input-color.js new file mode 100644 index 0000000000000000000000000000000000000000..81e7ac2507b06cb81b7f9ce748b65ad8fff8291f --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/input-color.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB"},E:{"1":"L M G UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C CD fC DD ED FD GD gC TC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB TC 4C SD UC","2":"F G N OD PD QD RD"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD","129":"fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I vD wD","2":"ZC J rD sD tD uD 5C"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:1,C:"Color input type",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/input-datetime.js b/tools/ui/node_modules/caniuse-lite/data/features/input-datetime.js new file mode 100644 index 0000000000000000000000000000000000000000..8c4266af9c57a598238d61ab2acceba6d9408f63 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/input-datetime.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","132":"C"},C:{"2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B AD BD","1090":"4B 5B 6B 7B","2052":"8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b","4100":"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB","2052":"CB DB EB FB GB"},E:{"2":"J fB K D E F A B C L M CD fC DD ED FD GD gC TC UC HD","4100":"G ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"2":"fC TD 5C","260":"E UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC","8193":"uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I vD wD","2":"ZC rD sD tD","514":"J uD 5C"},J:{"1":"A","2":"D"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"4100":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"2052":"AE BE"}},B:1,C:"Date and time input types",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/input-email-tel-url.js b/tools/ui/node_modules/caniuse-lite/data/features/input-email-tel-url.js new file mode 100644 index 0000000000000000000000000000000000000000..303774b046eb86b01e3beb70bc1a1b70ef967cfe --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/input-email-tel-url.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J"},E:{"1":"fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC","2":"F"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"ZC J I uD 5C vD wD","132":"rD sD tD"},J:{"1":"A","132":"D"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"Email, telephone & URL input types",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/input-event.js b/tools/ui/node_modules/caniuse-lite/data/features/input-event.js new file mode 100644 index 0000000000000000000000000000000000000000..3635f7f387dccad2e6e491a68ad6e278193dcf2f --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/input-event.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E 6C","2561":"A B","2692":"F"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2561":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","16":"7C","1537":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB BD","1796":"ZC AD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","16":"J fB K D E F A B C L M","1025":"mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC","1537":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB"},E:{"1":"M G HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","16":"J fB K CD fC","1025":"D E F A B C ED FD GD gC TC","1537":"DD","4097":"L UC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB UC","16":"F B C OD PD QD RD TC 4C","260":"SD","1025":"EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B","1537":"G N O P gB CB DB"},G:{"1":"hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC TD 5C","1025":"E XD YD ZD aD bD cD dD eD","1537":"UD VD WD","4097":"fD gD"},H:{"2":"qD"},I:{"16":"rD sD","1025":"I wD","1537":"ZC J tD uD 5C vD"},J:{"1025":"A","1537":"D"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2561":"A B"},O:{"1":"VC"},P:{"1025":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","1537":"AE"}},B:1,C:"input event",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/input-file-accept.js b/tools/ui/node_modules/caniuse-lite/data/features/input-file-accept.js new file mode 100644 index 0000000000000000000000000000000000000000..584ce733c743b6f8bf96d91a0e93e349beb12c20 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/input-file-accept.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD","132":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J","16":"fB K D E DB EB FB GB HB","132":"F A B C L M G N O P gB CB"},E:{"1":"C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB CD fC DD","132":"K D E F A B ED FD GD gC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC"},G:{"2":"VD WD","132":"E XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","514":"fC TD 5C UD"},H:{"2":"qD"},I:{"2":"rD sD tD","260":"ZC J uD 5C","514":"I vD wD"},J:{"132":"A","260":"D"},K:{"2":"A B C TC 4C UC","514":"H"},L:{"260":"I"},M:{"2":"SC"},N:{"514":"A","1028":"B"},O:{"2":"VC"},P:{"260":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"260":"8D"},R:{"260":"9D"},S:{"1":"AE BE"}},B:1,C:"accept attribute for file input",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/input-file-directory.js b/tools/ui/node_modules/caniuse-lite/data/features/input-file-directory.js new file mode 100644 index 0000000000000000000000000000000000000000..05aa92fd60d0f07307257003b1d0a6f38e2e54a9 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/input-file-directory.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB"},E:{"1":"C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B CD fC DD ED FD GD gC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N OD PD QD RD TC 4C SD UC"},G:{"1":"wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:7,C:"Directory selection from file input",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/input-file-multiple.js b/tools/ui/node_modules/caniuse-lite/data/features/input-file-multiple.js new file mode 100644 index 0000000000000000000000000000000000000000..81dec840a17fab1337f706f1aaf1739abab1bbe7 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/input-file-multiple.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C BD","2":"7C ZC AD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J"},E:{"1":"J fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB RD TC 4C SD UC","2":"F OD PD QD"},G:{"1":"E VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD"},H:{"130":"qD"},I:{"130":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","130":"A B C TC 4C UC"},L:{"132":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"130":"VC"},P:{"130":"J","132":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"132":"8D"},R:{"132":"9D"},S:{"1":"BE","2":"AE"}},B:1,C:"Multiple file selection",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/input-inputmode.js b/tools/ui/node_modules/caniuse-lite/data/features/input-inputmode.js new file mode 100644 index 0000000000000000000000000000000000000000..5799d9e6b9e41905411040dd926d5ba8fec2403d --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/input-inputmode.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N AD BD","4":"O P gB CB","194":"DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d"},D:{"1":"0 1 2 3 4 5 6 7 8 9 FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B","66":"7B 8B 9B aC AC bC BC CC DC EC"},E:{"1":"L M G UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C CD fC DD ED FD GD gC TC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB OD PD QD RD TC 4C SD UC","66":"uB vB wB xB yB zB 0B 1B 2B 3B"},G:{"1":"fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD zD 0D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"194":"AE BE"}},B:1,C:"inputmode attribute",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/input-minlength.js b/tools/ui/node_modules/caniuse-lite/data/features/input-minlength.js new file mode 100644 index 0000000000000000000000000000000000000000..8a678cbd63122f8cf6d0e03c522d64284b766984 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/input-minlength.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N"},C:{"1":"0 1 2 3 4 5 6 7 8 9 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB"},E:{"1":"B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A CD fC DD ED FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB OD PD QD RD TC 4C SD UC"},G:{"1":"bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:1,C:"Minimum length attribute for input fields",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/input-number.js b/tools/ui/node_modules/caniuse-lite/data/features/input-number.js new file mode 100644 index 0000000000000000000000000000000000000000..c706b71eed20d72005b4e659bdee01ecf93bc3a4 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/input-number.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F 6C","129":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","129":"C L","1025":"M G N O P"},C:{"2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB AD BD","513":"0 1 2 3 4 5 6 7 8 9 LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB"},E:{"1":"fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"388":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC rD sD tD","388":"J I uD 5C vD wD"},J:{"2":"D","388":"A"},K:{"1":"A B C TC 4C UC","388":"H"},L:{"388":"I"},M:{"641":"SC"},N:{"388":"A B"},O:{"388":"VC"},P:{"388":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"388":"8D"},R:{"388":"9D"},S:{"513":"AE BE"}},B:1,C:"Number input type",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/input-pattern.js b/tools/ui/node_modules/caniuse-lite/data/features/input-pattern.js new file mode 100644 index 0000000000000000000000000000000000000000..8ee2b1c1c9076c74c3da0afa90771d52af187004 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/input-pattern.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F"},E:{"1":"B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J CD fC","16":"fB","388":"K D E F A DD ED FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC","2":"F"},G:{"1":"bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC TD 5C","388":"E UD VD WD XD YD ZD aD"},H:{"2":"qD"},I:{"1":"I wD","2":"ZC J rD sD tD uD 5C vD"},J:{"1":"A","2":"D"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"132":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"Pattern attribute for input fields",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/input-placeholder.js b/tools/ui/node_modules/caniuse-lite/data/features/input-placeholder.js new file mode 100644 index 0000000000000000000000000000000000000000..309f6e12aafa52083d732005303f624d0a74ba9d --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/input-placeholder.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","132":"J CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB 4C SD UC","2":"F OD PD QD RD","132":"B TC"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"1":"qD"},I:{"1":"ZC I rD sD tD 5C vD wD","4":"J uD"},J:{"1":"D A"},K:{"1":"B C H TC 4C UC","2":"A"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"input placeholder attribute",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/input-range.js b/tools/ui/node_modules/caniuse-lite/data/features/input-range.js new file mode 100644 index 0000000000000000000000000000000000000000..d0490e76f1c2d71cdb7fcbf0abd6206210a1bd7e --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/input-range.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"1":"E UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C"},H:{"2":"qD"},I:{"1":"I 5C vD wD","4":"ZC J rD sD tD uD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"Range input type",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/input-search.js b/tools/ui/node_modules/caniuse-lite/data/features/input-search.js new file mode 100644 index 0000000000000000000000000000000000000000..6d67de9ca623dcc2e7cf984dfce5f44f0bf55308 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/input-search.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F 6C","129":"A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","129":"C L M G N O P"},C:{"2":"7C ZC AD BD","129":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","16":"J fB K D E F A B C L M DB EB FB GB HB","129":"G N O P gB CB"},E:{"1":"K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","16":"J fB CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB SD UC","2":"F OD PD QD RD","16":"B TC 4C"},G:{"1":"E UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC TD 5C"},H:{"129":"qD"},I:{"1":"I vD wD","16":"rD sD","129":"ZC J tD uD 5C"},J:{"1":"D","129":"A"},K:{"1":"C H","2":"A","16":"B TC 4C","129":"UC"},L:{"1":"I"},M:{"129":"SC"},N:{"129":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"129":"AE BE"}},B:1,C:"Search input type",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/input-selection.js b/tools/ui/node_modules/caniuse-lite/data/features/input-selection.js new file mode 100644 index 0000000000000000000000000000000000000000..ab97241b046a4485527e5d3e18d0955cc1d69539 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/input-selection.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","16":"CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB RD TC 4C SD UC","16":"F OD PD QD"},G:{"1":"E TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC"},H:{"2":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"Selection controls for input & textarea",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/insert-adjacent.js b/tools/ui/node_modules/caniuse-lite/data/features/insert-adjacent.js new file mode 100644 index 0000000000000000000000000000000000000000..8ad72b3eea153a725cbc4097a9dca126a5762fbd --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/insert-adjacent.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"K D E F A B","16":"6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC","16":"F"},G:{"1":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"1":"qD"},I:{"1":"ZC J I tD uD 5C vD wD","16":"rD sD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"Element.insertAdjacentElement() & Element.insertAdjacentText()",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/insertadjacenthtml.js b/tools/ui/node_modules/caniuse-lite/data/features/insertadjacenthtml.js new file mode 100644 index 0000000000000000000000000000000000000000..35458ce9649e1f4cec2a5c1ea2aa774e8bfc6881 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/insertadjacenthtml.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","16":"6C","132":"K D E F"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB PD QD RD TC 4C SD UC","16":"F OD"},G:{"1":"E TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC"},H:{"1":"qD"},I:{"1":"ZC J I tD uD 5C vD wD","16":"rD sD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:4,C:"Element.insertAdjacentHTML()",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/internationalization.js b/tools/ui/node_modules/caniuse-lite/data/features/internationalization.js new file mode 100644 index 0000000000000000000000000000000000000000..6cdd836915a553246470b410dc8fcb2170ac20fe --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/internationalization.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"K D E F A 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB"},E:{"1":"A B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F CD fC DD ED FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC"},G:{"1":"aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD"},H:{"2":"qD"},I:{"1":"I vD wD","2":"ZC J rD sD tD uD 5C"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"B","2":"A"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:6,C:"Internationalization API",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js b/tools/ui/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js new file mode 100644 index 0000000000000000000000000000000000000000..c3f381b74ca551e75f6defda31be8a1a94238be6 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD zD 0D 1D gC"},Q:{"1":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:7,C:"IntersectionObserver V2",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/intersectionobserver.js b/tools/ui/node_modules/caniuse-lite/data/features/intersectionobserver.js new file mode 100644 index 0000000000000000000000000000000000000000..3c7b74885911be85dda52f50f82aba85ac79e7b0 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/intersectionobserver.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"N O P","2":"C L M","260":"G","513":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B AD BD","194":"3B 4B 5B"},D:{"1":"9B aC AC bC BC CC DC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B","260":"2B 3B 4B 5B 6B 7B 8B","513":"0 1 2 3 4 5 6 7 8 9 EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"L M G UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C CD fC DD ED FD GD gC TC"},F:{"1":"wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB OD PD QD RD TC 4C SD UC","260":"pB qB rB sB tB uB vB","513":"0 1 2 3 4 5 6 7 8 9 DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"1":"fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD"},H:{"2":"qD"},I:{"2":"ZC J rD sD tD uD 5C vD wD","513":"I"},J:{"2":"D A"},K:{"2":"A B C TC 4C UC","513":"H"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J","260":"xD yD"},Q:{"513":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:5,C:"IntersectionObserver",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/intl-pluralrules.js b/tools/ui/node_modules/caniuse-lite/data/features/intl-pluralrules.js new file mode 100644 index 0000000000000000000000000000000000000000..c63034f0a74a74e0b1b93fdc7901c8b9e88ad9a1 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/intl-pluralrules.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O","130":"P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC"},E:{"1":"L M G HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C CD fC DD ED FD GD gC TC UC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B OD PD QD RD TC 4C SD UC"},G:{"1":"gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD zD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:6,C:"Intl.PluralRules API",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/intrinsic-width.js b/tools/ui/node_modules/caniuse-lite/data/features/intrinsic-width.js new file mode 100644 index 0000000000000000000000000000000000000000..6c40270a71d9b30fbf94e215c6fcb469efb66037 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/intrinsic-width.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"C L M G N O P","1025":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","1537":"Q H R S T U V W X Y Z a b c"},C:{"2":"7C","932":"ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC AD BD","2308":"0 1 2 3 4 5 6 7 8 9 FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"2":"J fB K D E F A B C L M G N O P gB CB DB","545":"EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB","1025":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","1537":"xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c"},E:{"1":"WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K CD fC DD","516":"B C L M G TC UC HD ID JD hC iC VC KD","548":"F A GD gC","676":"D E ED FD"},F:{"2":"F B C OD PD QD RD TC 4C SD UC","513":"lB","545":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB","1025":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x y z AB BB","1537":"kB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d"},G:{"1":"WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD VD","516":"kD lD mD hC iC VC nD","548":"YD ZD aD bD cD dD eD fD gD hD iD jD","676":"E WD XD"},H:{"2":"qD"},I:{"2":"ZC J rD sD tD uD 5C","545":"vD wD","1025":"I"},J:{"2":"D","545":"A"},K:{"2":"A B C TC 4C UC","1025":"H"},L:{"1025":"I"},M:{"2308":"SC"},N:{"2":"A B"},O:{"1537":"VC"},P:{"545":"J","1025":"CB DB EB FB GB HB IB JB KB LB XC YC 7D","1537":"xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC"},Q:{"1537":"8D"},R:{"1537":"9D"},S:{"932":"AE","2308":"BE"}},B:5,C:"Intrinsic & Extrinsic Sizing",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/jpeg2000.js b/tools/ui/node_modules/caniuse-lite/data/features/jpeg2000.js new file mode 100644 index 0000000000000000000000000000000000000000..f0a387298f0a63fc215ebbc166e479f03df06237 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/jpeg2000.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"K D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD","2":"J CD fC YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","129":"fB DD"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"1":"E UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD","2":"fC TD 5C YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"2":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:6,C:"JPEG 2000 image format",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/jpegxl.js b/tools/ui/node_modules/caniuse-lite/data/features/jpegxl.js new file mode 100644 index 0000000000000000000000000000000000000000..be6b920a6898e0850d033c98a45c03b75e98533e --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/jpegxl.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","578":"a b c d e f g h i j k l m n o p q r s"},C:{"2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y AD BD","322":"eC","2370":"0 1 2 3 4 5 6 7 8 9 Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC","8258":"8C 9C"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB","194":"a b c d e f g h i j k l m n o p q r s","4162":"I dC SC eC","6210":"cB dB eB"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD","3076":"XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC","194":"QC RC Q H R cC S T U V W X Y Z a b c d e"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD","3076":"XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"4162":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:6,C:"JPEG XL image format",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/jpegxr.js b/tools/ui/node_modules/caniuse-lite/data/features/jpegxr.js new file mode 100644 index 0000000000000000000000000000000000000000..3265dd71f1afdbfa5141516729550dea82834492 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/jpegxr.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E 6C"},B:{"1":"C L M G N O P","2":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"2":"I"},M:{"2":"SC"},N:{"1":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:6,C:"JPEG XR image format",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js b/tools/ui/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js new file mode 100644 index 0000000000000000000000000000000000000000..4f945d58ee8ee2b01749914a7be43b1038af51a0 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC"},E:{"1":"mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB OD PD QD RD TC 4C SD UC"},G:{"1":"mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD zD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","2":"AE"}},B:6,C:"Lookbehind in JS regular expressions",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/json.js b/tools/ui/node_modules/caniuse-lite/data/features/json.js new file mode 100644 index 0000000000000000000000000000000000000000..485787e955ca9a3a8fb71bced588123901628229 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/json.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D 6C","129":"E"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD","2":"7C ZC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB QD RD TC 4C SD UC","2":"F OD PD"},G:{"1":"E TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC"},H:{"1":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:6,C:"JSON parsing",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js b/tools/ui/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js new file mode 100644 index 0000000000000000000000000000000000000000..2d505df3c4487bf18552c6b43f106efeb09bc173 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G","132":"N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B","132":"8B 9B aC"},E:{"1":"B C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A CD fC DD ED FD GD","132":"gC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB OD PD QD RD TC 4C SD UC","132":"vB wB xB"},G:{"1":"cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD","132":"bD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD","132":"zD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","132":"AE"}},B:5,C:"CSS justify-content: space-evenly",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js b/tools/ui/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js new file mode 100644 index 0000000000000000000000000000000000000000..00039dbeb392039a24cd1950f668c3e91e1dc4df --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O"},C:{"1":"0 1 2 3 4 5 6 7 8 9 ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD","2":"7C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC"},G:{"1":"E 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC TD"},H:{"2":"qD"},I:{"1":"I vD wD","2":"rD sD tD","132":"ZC J uD 5C"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:7,C:"High-quality kerning pairs & ligatures",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js b/tools/ui/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js new file mode 100644 index 0000000000000000000000000000000000000000..14fb0173ab1162078d8cf8eee32bea45a6225934 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD","16":"7C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","16":"CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB UC","2":"F B OD PD QD RD TC 4C SD","16":"C"},G:{"1":"E UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC TD 5C"},H:{"2":"qD"},I:{"1":"ZC J I tD uD 5C vD wD","16":"rD sD"},J:{"1":"D A"},K:{"1":"H UC","2":"A B TC 4C","16":"C"},L:{"1":"I"},M:{"130":"SC"},N:{"130":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:7,C:"KeyboardEvent.charCode",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/keyboardevent-code.js b/tools/ui/node_modules/caniuse-lite/data/features/keyboardevent-code.js new file mode 100644 index 0000000000000000000000000000000000000000..fdc772c5e8b807207b74872f4d4c40df1c41c3e9 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/keyboardevent-code.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB","194":"tB uB vB wB xB yB"},E:{"1":"B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A CD fC DD ED FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB OD PD QD RD TC 4C SD UC","194":"LB hB iB jB kB lB"},G:{"1":"bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"194":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J","194":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"194":"9D"},S:{"1":"AE BE"}},B:5,C:"KeyboardEvent.code",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js b/tools/ui/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js new file mode 100644 index 0000000000000000000000000000000000000000..017cd99344613678b08975cab43025ec2ee4154a --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB"},E:{"1":"B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A CD fC DD ED FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB UC","2":"F B G N OD PD QD RD TC 4C SD","16":"C"},G:{"1":"bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD"},H:{"2":"qD"},I:{"1":"I vD wD","2":"ZC J rD sD tD uD 5C"},J:{"2":"D A"},K:{"1":"H UC","2":"A B TC 4C","16":"C"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:"KeyboardEvent.getModifierState()",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/keyboardevent-key.js b/tools/ui/node_modules/caniuse-lite/data/features/keyboardevent-key.js new file mode 100644 index 0000000000000000000000000000000000000000..f0b58a5e6b5e19e69bbe089ec651957ff500fbaa --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/keyboardevent-key.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E 6C","260":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","260":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB AD BD","132":"FB GB HB IB JB KB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B"},E:{"1":"B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A CD fC DD ED FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB UC","2":"F B G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB OD PD QD RD TC 4C SD","16":"C"},G:{"1":"bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD"},H:{"1":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H UC","2":"A B TC 4C","16":"C"},L:{"1":"I"},M:{"1":"SC"},N:{"260":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:"KeyboardEvent.key",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/keyboardevent-location.js b/tools/ui/node_modules/caniuse-lite/data/features/keyboardevent-location.js new file mode 100644 index 0000000000000000000000000000000000000000..8cc3cc63b7fd11c25ef6042b5aa56b61a6f74b0a --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/keyboardevent-location.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","132":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB"},E:{"1":"D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","16":"K CD fC","132":"J fB DD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB UC","2":"F B OD PD QD RD TC 4C SD","16":"C","132":"G N"},G:{"1":"E XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC TD 5C","132":"UD VD WD"},H:{"2":"qD"},I:{"1":"I vD wD","16":"rD sD","132":"ZC J tD uD 5C"},J:{"132":"D A"},K:{"1":"H UC","2":"A B TC 4C","16":"C"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:"KeyboardEvent.location",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/keyboardevent-which.js b/tools/ui/node_modules/caniuse-lite/data/features/keyboardevent-which.js new file mode 100644 index 0000000000000000000000000000000000000000..6b2a42566418969ca377d0fd421adab5f4cb15be --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/keyboardevent-which.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J CD fC","16":"fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB PD QD RD TC 4C SD UC","16":"F OD"},G:{"1":"E UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC TD 5C"},H:{"2":"qD"},I:{"1":"ZC J I tD uD 5C","16":"rD sD","132":"vD wD"},J:{"1":"D A"},K:{"1":"A B C H TC 4C UC"},L:{"132":"I"},M:{"132":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"2":"J","132":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"132":"9D"},S:{"1":"AE BE"}},B:7,C:"KeyboardEvent.which",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/lazyload.js b/tools/ui/node_modules/caniuse-lite/data/features/lazyload.js new file mode 100644 index 0000000000000000000000000000000000000000..7f8855f059da477720a6817b9ee6b03b17014f70 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/lazyload.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"K D E F A 6C"},B:{"1":"C L M G N O P","2":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"2":"I"},M:{"2":"SC"},N:{"1":"B","2":"A"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:7,C:"Resource Hints: Lazyload",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/let.js b/tools/ui/node_modules/caniuse-lite/data/features/let.js new file mode 100644 index 0000000000000000000000000000000000000000..99f53cacc654e266812805ac94dda7f2d37795a6 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/let.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A 6C","2052":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","194":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P","322":"gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB","516":"sB tB uB vB wB xB yB zB"},E:{"1":"B C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F CD fC DD ED FD GD","1028":"A gC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC","322":"G N O P gB CB DB EB FB GB HB IB JB","516":"KB LB hB iB jB kB lB mB"},G:{"1":"cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD","1028":"aD bD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"B","2":"A"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","516":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:6,C:"let",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/link-icon-png.js b/tools/ui/node_modules/caniuse-lite/data/features/link-icon-png.js new file mode 100644 index 0000000000000000000000000000000000000000..63bb710f73e32a420d569f77536c5694e09f4f6d --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/link-icon-png.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"K D E F A 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"1":"eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","130":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD"},H:{"130":"qD"},I:{"1":"ZC J I rD sD tD uD 5C vD wD"},J:{"1":"D","130":"A"},K:{"1":"H","130":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"130":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"PNG favicons",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/link-icon-svg.js b/tools/ui/node_modules/caniuse-lite/data/features/link-icon-svg.js new file mode 100644 index 0000000000000000000000000000000000000000..7f23d87cf2f736e1769c519845ef031e126c6c1e --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/link-icon-svg.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"C L M G N O P Q","1537":"0 1 2 3 4 5 6 7 8 9 H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"7C ZC AD BD","260":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB","513":"0 1 2 3 4 5 6 7 8 9 sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q","1537":"0 1 2 3 4 5 6 7 8 9 H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC"},F:{"1":"vB wB xB yB zB 0B 1B 2B 3B 4B","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB 5B 6B 7B 8B 9B AC BC CC DC EC FC OD PD QD RD TC 4C SD UC","1537":"0 1 2 3 4 5 6 7 8 9 GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"1":"yC zC 0C 1C 2C 3C","2":"eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC","130":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD"},H:{"130":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D","130":"A"},K:{"130":"A B C TC 4C UC","1537":"H"},L:{"1537":"I"},M:{"1":"SC"},N:{"130":"A B"},O:{"2":"VC"},P:{"2":"J xD yD zD 0D 1D gC 2D 3D","1537":"CB DB EB FB GB HB IB JB KB LB 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"1537":"9D"},S:{"513":"AE BE"}},B:1,C:"SVG favicons",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js b/tools/ui/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js new file mode 100644 index 0000000000000000000000000000000000000000..8e959e058c06c46a89b3ebd9f7a30d5426a7886a --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E 6C","132":"F"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC","260":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"fB K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC"},G:{"1":"yC zC 0C 1C 2C 3C","16":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC"},H:{"2":"qD"},I:{"16":"ZC J I rD sD tD uD 5C vD wD"},J:{"16":"D A"},K:{"1":"H","16":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"B","2":"A"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","16":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:"Resource Hints: dns-prefetch",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js b/tools/ui/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js new file mode 100644 index 0000000000000000000000000000000000000000..e1d6020b97d468a95a804f12af832391a3908a7d --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC"},E:{"1":"XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B OD PD QD RD TC 4C SD UC"},G:{"1":"XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD zD 0D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:1,C:"Resource Hints: modulepreload",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/link-rel-preconnect.js b/tools/ui/node_modules/caniuse-lite/data/features/link-rel-preconnect.js new file mode 100644 index 0000000000000000000000000000000000000000..929d9c09e6dc0f218ee89ddd67e952a083f9a05f --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/link-rel-preconnect.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M","260":"G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB AD BD","129":"qB","514":"KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},D:{"1":"0 1 2 3 4 5 6 7 8 9 xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB"},E:{"1":"C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B CD fC DD ED FD GD gC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB OD PD QD RD TC 4C SD UC"},G:{"1":"dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:"Resource Hints: preconnect",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/link-rel-prefetch.js b/tools/ui/node_modules/caniuse-lite/data/features/link-rel-prefetch.js new file mode 100644 index 0000000000000000000000000000000000000000..2fb333f184db139c7e60e53918db55a4ce972a5b --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/link-rel-prefetch.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"K D E F A 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D"},E:{"2":"J fB K D E F A B C L CD fC DD ED FD GD gC TC UC","194":"M G HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD","194":"jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"J I vD wD","2":"ZC rD sD tD uD 5C"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"B","2":"A"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:"Resource Hints: prefetch",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/link-rel-preload.js b/tools/ui/node_modules/caniuse-lite/data/features/link-rel-preload.js new file mode 100644 index 0000000000000000000000000000000000000000..0c7f6afc4e7417a82837cfaa96e89c205b2a2540 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/link-rel-preload.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N","1028":"O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B AD BD","132":"7B","578":"8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T"},D:{"1":"0 1 2 3 4 5 6 7 8 9 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B"},E:{"1":"C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A CD fC DD ED FD GD gC","322":"B"},F:{"1":"0 1 2 3 4 5 6 7 8 9 oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB OD PD QD RD TC 4C SD UC"},G:{"1":"dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD","322":"cD"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:4,C:"Resource Hints: preload",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/link-rel-prerender.js b/tools/ui/node_modules/caniuse-lite/data/features/link-rel-prerender.js new file mode 100644 index 0000000000000000000000000000000000000000..175e565593d2e96543a2a35ac705f8a035abb019 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/link-rel-prerender.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"K D E F A 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"2":"SC"},N:{"1":"B","2":"A"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"2":"AE BE"}},B:5,C:"Resource Hints: prerender",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/loading-lazy-attr.js b/tools/ui/node_modules/caniuse-lite/data/features/loading-lazy-attr.js new file mode 100644 index 0000000000000000000000000000000000000000..c93b8f4bf5085596e9c59109bff24d99608420ab --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/loading-lazy-attr.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"4 5 6 7 8 9 AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC AD BD","132":"0 1 2 3 OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},D:{"1":"0 1 2 3 4 5 6 7 8 9 QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC","66":"OC PC"},E:{"1":"mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C L CD fC DD ED FD GD gC TC UC","322":"M G HD ID JD hC","580":"iC VC KD WC jC kC lC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC OD PD QD RD TC 4C SD UC","66":"BC CC"},G:{"1":"mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD","322":"jD kD lD mD hC","580":"iC VC nD WC jC kC lC"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD zD 0D 1D gC 2D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"2":"AE","132":"BE"}},B:1,C:"Lazy loading via attribute for images & iframes",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/loading-lazy-media.js b/tools/ui/node_modules/caniuse-lite/data/features/loading-lazy-media.js new file mode 100644 index 0000000000000000000000000000000000000000..bf45686c0f2856dbd3fd391cb932c42e43e4c89b --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/loading-lazy-media.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"I","2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"1":"I dC SC eC","2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB","194":"eB"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"1":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:1,C:"Lazy loading via attribute for video & audio",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/localecompare.js b/tools/ui/node_modules/caniuse-lite/data/features/localecompare.js new file mode 100644 index 0000000000000000000000000000000000000000..01fd854c50c90198e663ca21e56f0b7962f5ad3d --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/localecompare.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","16":"6C","132":"K D E F A"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","132":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","132":"J fB K D E F A B C L M G N O P gB CB DB EB FB"},E:{"1":"A B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","132":"J fB K D E F CD fC DD ED FD GD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","16":"F B C OD PD QD RD TC 4C SD","132":"UC"},G:{"1":"aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","132":"E fC TD 5C UD VD WD XD YD ZD"},H:{"132":"qD"},I:{"1":"I vD wD","132":"ZC J rD sD tD uD 5C"},J:{"132":"D A"},K:{"1":"H","16":"A B C TC 4C","132":"UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"B","132":"A"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","132":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"BE","4":"AE"}},B:6,C:"localeCompare()",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/magnetometer.js b/tools/ui/node_modules/caniuse-lite/data/features/magnetometer.js new file mode 100644 index 0000000000000000000000000000000000000000..80eb23ce1e5a0974e17e03da74ae5df26519393a --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/magnetometer.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B","194":"0 1 2 3 4 5 6 7 8 9 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB OD PD QD RD TC 4C SD UC","194":"0 1 2 3 4 5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"194":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:4,C:"Magnetometer",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/matchesselector.js b/tools/ui/node_modules/caniuse-lite/data/features/matchesselector.js new file mode 100644 index 0000000000000000000000000000000000000000..ce7a97217b37451f9e4e42f5d6634e8d2f1c42f1 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/matchesselector.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E 6C","36":"F A B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","36":"C L M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC AD","36":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","36":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB"},E:{"1":"E F A B C L M G FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J CD fC","36":"fB K D DD ED"},F:{"1":"0 1 2 3 4 5 6 7 8 9 DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B OD PD QD RD TC","36":"C G N O P gB CB 4C SD UC"},G:{"1":"E XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC","36":"TD 5C UD VD WD"},H:{"2":"qD"},I:{"1":"I","2":"rD","36":"ZC J sD tD uD 5C vD wD"},J:{"36":"D A"},K:{"1":"H","2":"A B","36":"C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"36":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","36":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:1,C:"matches() DOM method",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/matchmedia.js b/tools/ui/node_modules/caniuse-lite/data/features/matchmedia.js new file mode 100644 index 0000000000000000000000000000000000000000..535d0086eee873d62d93a86b05ef9429742d87a2 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/matchmedia.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E"},E:{"1":"K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB CD fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB UC","2":"F B C OD PD QD RD TC 4C SD"},G:{"1":"E UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C"},H:{"1":"qD"},I:{"1":"ZC J I uD 5C vD wD","2":"rD sD tD"},J:{"1":"A","2":"D"},K:{"1":"H UC","2":"A B C TC 4C"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:"matchMedia",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/mathml.js b/tools/ui/node_modules/caniuse-lite/data/features/mathml.js new file mode 100644 index 0000000000000000000000000000000000000000..bce67ce748fc26e4cf61ce961b61b83c1cac5990 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/mathml.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"F A B 6C","8":"K D E"},B:{"2":"C L M G N O P","8":"Q H R S T U V W X Y Z a b c d e f","584":"g h i j k l m n o p q r","1025":"0 1 2 3 4 5 6 7 8 9 s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","129":"7C ZC AD BD"},D:{"1":"GB","8":"J fB K D E F A B C L M G N O P gB CB DB EB FB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f","584":"g h i j k l m n o p q r","1025":"0 1 2 3 4 5 6 7 8 9 s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"A B C L M G gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","260":"J fB K D E F CD fC DD ED FD GD"},F:{"2":"F","8":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC","584":"S T U V W X Y Z a b c d","1025":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x y z AB BB","2052":"B C OD PD QD RD TC 4C SD UC"},G:{"1":"E UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","8":"fC TD 5C"},H:{"8":"qD"},I:{"8":"ZC J rD sD tD uD 5C vD wD","1025":"I"},J:{"1":"A","8":"D"},K:{"8":"A B C TC 4C UC","1025":"H"},L:{"1025":"I"},M:{"1":"SC"},N:{"2":"A B"},O:{"8":"VC"},P:{"1":"DB EB FB GB HB IB JB KB LB","8":"J CB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"8":"8D"},R:{"8":"9D"},S:{"1":"AE BE"}},B:2,C:"MathML",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/maxlength.js b/tools/ui/node_modules/caniuse-lite/data/features/maxlength.js new file mode 100644 index 0000000000000000000000000000000000000000..6e0be9ccf76bfd55c02b51db55d2fdd1e30f9185 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/maxlength.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","16":"6C","900":"K D E F"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","1025":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","900":"7C ZC AD BD","1025":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"1":"K D E F A B C L M G DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","16":"fB CD","900":"J fC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","16":"F","132":"B C OD PD QD RD TC 4C SD UC"},G:{"1":"TD 5C UD VD WD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","16":"fC","2052":"E XD"},H:{"132":"qD"},I:{"1":"ZC J tD uD 5C vD wD","16":"rD sD","4097":"I"},J:{"1":"D A"},K:{"132":"A B C TC 4C UC","4097":"H"},L:{"4097":"I"},M:{"4097":"SC"},N:{"1":"A B"},O:{"1":"VC"},P:{"4097":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1025":"AE BE"}},B:1,C:"maxlength attribute for input and textarea elements",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js b/tools/ui/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js new file mode 100644 index 0000000000000000000000000000000000000000..1d7cacae90e5cea8438d37e34fc64ea8b6b9e634 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js @@ -0,0 +1 @@ +module.exports={A:{D:{"1":"0 1 2 3 4 5 6 7 8 9 oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB","33":"jB kB lB mB nB"},L:{"1":"I"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","33":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB AD BD"},M:{"1":"SC"},A:{"2":"K D E F A 6C","33":"B"},F:{"1":"0 1 2 3 4 5 6 7 8 9 GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P OD PD QD RD TC 4C SD UC","33":"gB CB DB EB FB"},K:{"1":"H","2":"A B C TC 4C UC"},E:{"1":"iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC ND"},G:{"1":"iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC"},P:{"1":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},I:{"1":"I","2":"ZC J rD sD tD uD 5C","33":"vD wD"}},B:6,C:"CSS ::backdrop pseudo-element",D:undefined}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js b/tools/ui/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js new file mode 100644 index 0000000000000000000000000000000000000000..26e4b60ac271dea17ae0fb0ae72661588342800b --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js @@ -0,0 +1 @@ +module.exports={A:{D:{"1":"0 1 2 3 4 5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB"},L:{"1":"I"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N AD BD","33":"O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B"},M:{"1":"SC"},A:{"2":"K D E F A B 6C"},F:{"1":"0 1 2 3 4 5 6 7 8 9 mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB OD PD QD RD TC 4C SD UC"},K:{"1":"H","2":"A B C TC 4C UC"},E:{"1":"B C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"J fB K CD fC DD ED ND","33":"D E F A FD GD gC"},G:{"1":"cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD VD","33":"E WD XD YD ZD aD bD"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"}},B:6,C:"isolate-override from unicode-bidi",D:undefined}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js b/tools/ui/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js new file mode 100644 index 0000000000000000000000000000000000000000..e63c3db2329a151b867435fc1bd3dcda9eae2ec5 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js @@ -0,0 +1 @@ +module.exports={A:{D:{"1":"0 1 2 3 4 5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G","33":"N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB"},L:{"1":"I"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F AD BD","33":"A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B"},M:{"1":"SC"},A:{"2":"K D E F A B 6C"},F:{"1":"0 1 2 3 4 5 6 7 8 9 mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC","33":"G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB"},K:{"1":"H","2":"A B C TC 4C UC"},E:{"1":"B C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"J fB CD fC DD ND","33":"K D E F A ED FD GD gC"},G:{"1":"cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD","33":"E VD WD XD YD ZD aD bD"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"}},B:6,C:"isolate from unicode-bidi",D:undefined}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js b/tools/ui/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js new file mode 100644 index 0000000000000000000000000000000000000000..bb73575898fd243457d49b98933c16dd07e60226 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js @@ -0,0 +1 @@ +module.exports={A:{D:{"1":"0 1 2 3 4 5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB"},L:{"1":"I"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F AD BD","33":"A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B"},M:{"1":"SC"},A:{"2":"K D E F A B 6C"},F:{"1":"0 1 2 3 4 5 6 7 8 9 mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB OD PD QD RD TC 4C SD UC"},K:{"1":"H","2":"A B C TC 4C UC"},E:{"1":"B C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"J fB CD fC DD ND","33":"K D E F A ED FD GD gC"},G:{"1":"cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD","33":"E VD WD XD YD ZD aD bD"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"}},B:6,C:"plaintext from unicode-bidi",D:undefined}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js b/tools/ui/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js new file mode 100644 index 0000000000000000000000000000000000000000..062d2baca06fc527ad17a54dc6c85f993fa2b48d --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js @@ -0,0 +1 @@ +module.exports={A:{D:{"1":"0 1 2 3 4 5 6 7 8 9 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B"},L:{"1":"I"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB AD BD","33":"K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB"},M:{"1":"SC"},A:{"2":"K D E F A B 6C"},F:{"1":"0 1 2 3 4 5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB OD PD QD RD TC 4C SD UC"},K:{"1":"H","2":"A B C TC 4C UC"},E:{"1":"L M G UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"J fB K D CD fC DD ED FD ND","33":"E F A B C GD gC TC"},G:{"1":"fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD VD WD","33":"E XD YD ZD aD bD cD dD eD"},P:{"1":"CB DB EB FB GB HB IB JB KB LB zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"}},B:6,C:"text-decoration-color property",D:undefined}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js b/tools/ui/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js new file mode 100644 index 0000000000000000000000000000000000000000..40d1bc9ce852daf415f596248aa8ef6644acbac2 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js @@ -0,0 +1 @@ +module.exports={A:{D:{"1":"0 1 2 3 4 5 6 7 8 9 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B"},L:{"1":"I"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB AD BD","33":"K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB"},M:{"1":"SC"},A:{"2":"K D E F A B 6C"},F:{"1":"0 1 2 3 4 5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB OD PD QD RD TC 4C SD UC"},K:{"1":"H","2":"A B C TC 4C UC"},E:{"1":"L M G UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"J fB K D CD fC DD ED FD ND","33":"E F A B C GD gC TC"},G:{"1":"fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD VD WD","33":"E XD YD ZD aD bD cD dD eD"},P:{"1":"CB DB EB FB GB HB IB JB KB LB zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"}},B:6,C:"text-decoration-line property",D:undefined}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js b/tools/ui/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js new file mode 100644 index 0000000000000000000000000000000000000000..a92f009fdbd32363b6a096e76c2f64ee5f11e6c9 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js @@ -0,0 +1 @@ +module.exports={A:{D:{"1":"0 1 2 3 4 5 6 7 8 9 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B"},L:{"1":"I"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB AD BD"},M:{"1":"SC"},A:{"2":"K D E F A B 6C"},F:{"1":"0 1 2 3 4 5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB OD PD QD RD TC 4C SD UC"},K:{"1":"H","2":"A B C TC 4C UC"},E:{"1":"0C 1C 2C 3C","2":"J fB K D CD fC DD ED FD ND","33":"E F A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC"},G:{"1":"0C 1C 2C 3C","2":"fC TD 5C UD VD WD","33":"E XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"}},B:6,C:"text-decoration shorthand property",D:undefined}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js b/tools/ui/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js new file mode 100644 index 0000000000000000000000000000000000000000..7ad6bcf78a2d56662c1e04efc8aac15503a3fd98 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js @@ -0,0 +1 @@ +module.exports={A:{D:{"1":"0 1 2 3 4 5 6 7 8 9 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B"},L:{"1":"I"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB AD BD","33":"K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB"},M:{"1":"SC"},A:{"2":"K D E F A B 6C"},F:{"1":"0 1 2 3 4 5 6 7 8 9 vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB OD PD QD RD TC 4C SD UC"},K:{"1":"H","2":"A B C TC 4C UC"},E:{"1":"L M G UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"J fB K D CD fC DD ED FD ND","33":"E F A B C GD gC TC"},G:{"1":"fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"fC TD 5C UD VD WD","33":"E XD YD ZD aD bD cD dD eD"},P:{"1":"CB DB EB FB GB HB IB JB KB LB zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"}},B:6,C:"text-decoration-style property",D:undefined}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/media-fragments.js b/tools/ui/node_modules/caniuse-lite/data/features/media-fragments.js new file mode 100644 index 0000000000000000000000000000000000000000..8bdd3138ce006c31caf5c249ea65fa71b12a8a03 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/media-fragments.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"C L M G N O P","132":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB AD BD","132":"0 1 2 3 4 5 6 7 8 9 lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"2":"J fB K D E F A B C L M G N O","132":"0 1 2 3 4 5 6 7 8 9 P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC"},E:{"2":"J fB CD fC DD","132":"K D E F A B C L M G ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"F B C OD PD QD RD TC 4C SD UC","132":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},G:{"2":"fC TD 5C UD VD WD","132":"E XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J rD sD tD uD 5C","132":"I vD wD"},J:{"2":"D A"},K:{"2":"A B C TC 4C UC","132":"H"},L:{"132":"I"},M:{"132":"SC"},N:{"132":"A B"},O:{"132":"VC"},P:{"2":"J xD","132":"CB DB EB FB GB HB IB JB KB LB yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"132":"8D"},R:{"132":"9D"},S:{"132":"AE BE"}},B:2,C:"Media Fragments",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js b/tools/ui/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js new file mode 100644 index 0000000000000000000000000000000000000000..9cebbadebf032abf32ee7ef1fb4bdaf310acd94b --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB AD BD","260":"0 1 2 3 4 5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B","324":"2B 3B 4B 5B 6B 7B 8B 9B aC AC bC"},E:{"2":"J fB K D E F A CD fC DD ED FD GD gC","132":"B C L M G TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"1":"0 1 2 3 4 5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB OD PD QD RD TC 4C SD UC","324":"nB oB pB qB rB sB tB uB vB wB xB yB"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I","2":"ZC J rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"260":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J","132":"xD yD zD"},Q:{"1":"8D"},R:{"1":"9D"},S:{"260":"AE BE"}},B:5,C:"Media Capture from DOM Elements API",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/mediarecorder.js b/tools/ui/node_modules/caniuse-lite/data/features/mediarecorder.js new file mode 100644 index 0000000000000000000000000000000000000000..45ffb128694c5f9efd432b2060b28b490f84c3ae --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/mediarecorder.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"1":"0 1 2 3 4 5 6 7 8 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB AD BD"},D:{"1":"0 1 2 3 4 5 6 7 8 9 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB","194":"yB zB"},E:{"1":"G ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D E F A B C CD fC DD ED FD GD gC TC","322":"L M UC HD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB OD PD QD RD TC 4C SD UC","194":"lB mB"},G:{"1":"lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD","578":"eD fD gD hD iD jD kD"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:5,C:"MediaRecorder API",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/mediasource.js b/tools/ui/node_modules/caniuse-lite/data/features/mediasource.js new file mode 100644 index 0000000000000000000000000000000000000000..f80d12b61e02df4bd9a8e8e5833b799a7549858c --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/mediasource.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A 6C","132":"B"},B:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C","2":"7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB AD BD","66":"HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","2":"J fB K D E F A B C L M G N","33":"FB GB HB IB JB KB LB hB","66":"O P gB CB DB EB"},E:{"1":"E F A B C L M G GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND","2":"J fB K D CD fC DD ED FD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","2":"F B C OD PD QD RD TC 4C SD UC"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD","260":"gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"1":"I wD","2":"ZC J rD sD tD uD 5C vD"},J:{"2":"D A"},K:{"1":"H","2":"A B C TC 4C UC"},L:{"1":"I"},M:{"1":"SC"},N:{"1":"B","2":"A"},O:{"1":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J xD yD zD 0D"},Q:{"1":"8D"},R:{"1":"9D"},S:{"1":"AE BE"}},B:2,C:"Media Source Extensions",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/menu.js b/tools/ui/node_modules/caniuse-lite/data/features/menu.js new file mode 100644 index 0000000000000000000000000000000000000000..32dfe1f3244b50138ae218d5323692fab647771e --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/menu.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"7C ZC J fB K D AD BD","132":"E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T","450":"0 1 2 3 4 5 6 7 8 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","66":"sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC"},E:{"2":"J fB K D E F A B C L M G CD fC DD ED FD GD gC TC UC HD ID JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC yC zC 0C 1C 2C 3C ND"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC","66":"mB nB oB pB qB rB sB tB uB vB wB xB"},G:{"2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"2":"I"},M:{"450":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"2":"J CB DB EB FB GB HB IB JB KB LB xD yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:7,C:"Context menu item (menuitem element)",D:true}; diff --git a/tools/ui/node_modules/caniuse-lite/data/features/meta-theme-color.js b/tools/ui/node_modules/caniuse-lite/data/features/meta-theme-color.js new file mode 100644 index 0000000000000000000000000000000000000000..7ceac0fcb95085269ceb506e570dd6c2900c48f6 --- /dev/null +++ b/tools/ui/node_modules/caniuse-lite/data/features/meta-theme-color.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B 6C"},B:{"2":"0 1 2 3 4 5 6 7 8 9 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 7C ZC J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC 8C 9C AD BD"},D:{"2":"J fB K D E F A B C L M G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB","132":"0 1 2 3 4 5 6 7 8 9 MC NC OC PC QC RC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB MB NB OB BB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB I dC SC eC","258":"qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B aC AC bC BC CC DC EC FC GC HC IC JC KC LC"},E:{"1":"G JD hC iC VC KD WC jC kC lC mC nC LD XC oC pC qC rC sC MD YC tC uC vC wC xC","2":"J fB K D E F A B C L M CD fC DD ED FD GD gC TC UC HD ID","2052":"yC zC 0C 1C 2C 3C ND"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P gB CB DB EB FB GB HB IB JB KB LB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC OC PC QC RC Q H R cC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB OD PD QD RD TC 4C SD UC"},G:{"1":"mD hC iC VC nD WC jC kC lC mC nC oD XC oC pC qC rC sC pD YC tC uC vC wC xC","2":"E fC TD 5C UD VD WD XD YD ZD aD bD cD dD eD fD gD hD iD jD kD lD","1026":"yC zC 0C 1C 2C 3C"},H:{"2":"qD"},I:{"2":"ZC J I rD sD tD uD 5C vD wD"},J:{"2":"D A"},K:{"2":"A B C H TC 4C UC"},L:{"516":"I"},M:{"2":"SC"},N:{"2":"A B"},O:{"2":"VC"},P:{"1":"CB DB EB FB GB HB IB JB KB LB yD zD 0D 1D gC 2D 3D 4D 5D 6D WC XC YC 7D","2":"J","16":"xD"},Q:{"2":"8D"},R:{"2":"9D"},S:{"2":"AE BE"}},B:1,C:"theme-color Meta Tag",D:true};