reddokia 0.0.0-stage → 1.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +193 -2
- package/dist/core/RedDokiaEngine.d.ts +20 -0
- package/dist/core/RedDokiaEngine.d.ts.map +1 -0
- package/dist/core/RedDokiaStore.d.ts +115 -0
- package/dist/core/RedDokiaStore.d.ts.map +1 -0
- package/dist/core/dom/DockOverlaysDom.d.ts +13 -0
- package/dist/core/dom/DockOverlaysDom.d.ts.map +1 -0
- package/dist/core/dom/EdgeBarDom.d.ts +12 -0
- package/dist/core/dom/EdgeBarDom.d.ts.map +1 -0
- package/dist/core/dom/FloatingLayerDom.d.ts +14 -0
- package/dist/core/dom/FloatingLayerDom.d.ts.map +1 -0
- package/dist/core/dom/GridGroupDom.d.ts +25 -0
- package/dist/core/dom/GridGroupDom.d.ts.map +1 -0
- package/dist/core/dom/PopoutWindowDom.d.ts +16 -0
- package/dist/core/dom/PopoutWindowDom.d.ts.map +1 -0
- package/dist/core/dom/SashLayerDom.d.ts +11 -0
- package/dist/core/dom/SashLayerDom.d.ts.map +1 -0
- package/dist/core/dom/StatusBarDom.d.ts +12 -0
- package/dist/core/dom/StatusBarDom.d.ts.map +1 -0
- package/dist/core/dom/TabContextMenuDom.d.ts +47 -0
- package/dist/core/dom/TabContextMenuDom.d.ts.map +1 -0
- package/dist/core/dom/TopBarDom.d.ts +16 -0
- package/dist/core/dom/TopBarDom.d.ts.map +1 -0
- package/dist/core/dom/domUtils.d.ts +69 -0
- package/dist/core/dom/domUtils.d.ts.map +1 -0
- package/dist/core/geometrySolver.d.ts +25 -0
- package/dist/core/geometrySolver.d.ts.map +1 -0
- package/dist/core/hitTester.d.ts +26 -0
- package/dist/core/hitTester.d.ts.map +1 -0
- package/dist/core/icons/svgRegistry.d.ts +83 -0
- package/dist/core/icons/svgRegistry.d.ts.map +1 -0
- package/dist/core/interactions/DockDragManager.d.ts +43 -0
- package/dist/core/interactions/DockDragManager.d.ts.map +1 -0
- package/dist/core/interactions/FloatingWindowManager.d.ts +14 -0
- package/dist/core/interactions/FloatingWindowManager.d.ts.map +1 -0
- package/dist/core/interactions/SashResizeManager.d.ts +14 -0
- package/dist/core/interactions/SashResizeManager.d.ts.map +1 -0
- package/dist/core/interactions/floatingUtils.d.ts +28 -0
- package/dist/core/interactions/floatingUtils.d.ts.map +1 -0
- package/dist/core/locales/index.d.ts +11 -0
- package/dist/core/locales/index.d.ts.map +1 -0
- package/dist/core/publicApi.d.ts +8 -0
- package/dist/core/publicApi.d.ts.map +1 -0
- package/dist/core/sashResizeSolver.d.ts +47 -0
- package/dist/core/sashResizeSolver.d.ts.map +1 -0
- package/dist/core/snapshotSerializer.d.ts +60 -0
- package/dist/core/snapshotSerializer.d.ts.map +1 -0
- package/dist/core/styles/ensureRedDokiaStyles.d.ts +25 -0
- package/dist/core/styles/ensureRedDokiaStyles.d.ts.map +1 -0
- package/dist/core/tabScrollErgonomics.d.ts +18 -0
- package/dist/core/tabScrollErgonomics.d.ts.map +1 -0
- package/dist/core/themes/index.d.ts +6 -0
- package/dist/core/themes/index.d.ts.map +1 -0
- package/dist/core/treeOps.d.ts +259 -0
- package/dist/core/treeOps.d.ts.map +1 -0
- package/dist/core/types/index.d.ts +1379 -0
- package/dist/core/types/index.d.ts.map +1 -0
- package/dist/favicon.svg +18 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/logo-dark.svg +13 -0
- package/dist/logo-light.svg +13 -0
- package/dist/react/RedDokiaReact.d.ts +11 -0
- package/dist/react/RedDokiaReact.d.ts.map +1 -0
- package/dist/react/ViewIcon.d.ts +13 -0
- package/dist/react/ViewIcon.d.ts.map +1 -0
- package/dist/react/index.d.ts +10 -0
- package/dist/react/index.d.ts.map +1 -0
- package/dist/react.js +1 -0
- package/dist/reddokia.js +1 -0
- package/dist/style.css +2 -0
- package/dist/svelte/RedDokiaSvelte.d.ts +33 -0
- package/dist/svelte/RedDokiaSvelte.d.ts.map +1 -0
- package/dist/svelte/index.d.ts +9 -0
- package/dist/svelte/index.d.ts.map +1 -0
- package/dist/svelte.js +1 -0
- package/dist/vue/RedDokiaVue.d.ts +25 -0
- package/dist/vue/RedDokiaVue.d.ts.map +1 -0
- package/dist/vue/index.d.ts +9 -0
- package/dist/vue/index.d.ts.map +1 -0
- package/dist/vue.js +1 -0
- package/package.json +101 -4
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type { RedDokiaLocaleStrings, RedDokiaTheme } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Optional adapter callback allowing host frameworks (e.g. React) to render custom framework icon nodes into a DOM slot.
|
|
4
|
+
*/
|
|
5
|
+
export type CustomIconBridge = (hostEl: HTMLElement, iconValue: unknown, className: string) => (() => void) | void;
|
|
6
|
+
/**
|
|
7
|
+
* Moves a persistent DOM element (`nodeToMove`) into `targetParent` without resetting `<iframe>`, focus, or animation state when supported by the browser (`Element.prototype.moveBefore`).
|
|
8
|
+
*
|
|
9
|
+
* @param targetParent - Destination parent element
|
|
10
|
+
* @param nodeToMove - Persistent element to reparent
|
|
11
|
+
*/
|
|
12
|
+
export declare function safeMoveElement(targetParent: HTMLElement, nodeToMove: HTMLElement): void;
|
|
13
|
+
/**
|
|
14
|
+
* Scrolls a newly selected tab button into view within its horizontal tab strip without scrolling the outer page.
|
|
15
|
+
*
|
|
16
|
+
* @param tabEl - Active tab button element
|
|
17
|
+
*/
|
|
18
|
+
export declare function scrollActiveTabIntoView(tabEl: HTMLElement | null): void;
|
|
19
|
+
/**
|
|
20
|
+
* Renders a built-in SVG icon, DOM node, or framework-bridged custom icon inside `container`.
|
|
21
|
+
* @returns Optional cleanup function if a custom framework icon portal was mounted
|
|
22
|
+
*/
|
|
23
|
+
export declare function renderIconIntoDom(container: HTMLElement, iconValue: unknown, className?: string, customIconBridge?: CustomIconBridge, doc?: Document): (() => void) | undefined;
|
|
24
|
+
/** Creates a standardized icon action button for group headers. */
|
|
25
|
+
export declare function createGroupActionButton(iconName: string, title: string, onClick: () => void, extraClass?: string): HTMLButtonElement;
|
|
26
|
+
/**
|
|
27
|
+
* Applies theme CSS custom properties and optional inline style overrides to a workbench or pop-out root element.
|
|
28
|
+
*/
|
|
29
|
+
export declare function applyThemeCssVars(rootEl: HTMLElement, theme: RedDokiaTheme, inlineStyle?: Partial<CSSStyleDeclaration> | Record<string, unknown>): void;
|
|
30
|
+
/**
|
|
31
|
+
* Adapter callback used by framework wrappers to mount a dynamic component into a DOM slot container.
|
|
32
|
+
*/
|
|
33
|
+
export type DynamicComponentMounter = (comp: unknown, container: HTMLElement, initialProps: any) => any;
|
|
34
|
+
/**
|
|
35
|
+
* Shared lifecycle controller for mounting, updating, and tearing down custom DOM / framework slots
|
|
36
|
+
* (`topBar.left`/`right`, `statusBar.left`/`right`, `emptyContents`, `groupActions`).
|
|
37
|
+
*/
|
|
38
|
+
export declare class DomSlotController {
|
|
39
|
+
#private;
|
|
40
|
+
get mountedRef(): unknown;
|
|
41
|
+
sync(container: HTMLElement, renderer: unknown, domArg: unknown, slotProps: unknown, mountDynamicComponent?: DynamicComponentMounter): void;
|
|
42
|
+
teardown(): void;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Options for populating standard tab header inner content (icon, title, badge, pin, dirty dot, close button).
|
|
46
|
+
*/
|
|
47
|
+
export interface PopulateTabContentOptions {
|
|
48
|
+
title: string;
|
|
49
|
+
icon?: unknown;
|
|
50
|
+
badge?: string | number;
|
|
51
|
+
pinned?: boolean;
|
|
52
|
+
dirty?: boolean;
|
|
53
|
+
isClosable: boolean;
|
|
54
|
+
localeStrings: RedDokiaLocaleStrings;
|
|
55
|
+
customIconBridge?: CustomIconBridge;
|
|
56
|
+
doc?: Document;
|
|
57
|
+
fallbackIconName?: string;
|
|
58
|
+
resolveRelativeImageUrl?: boolean;
|
|
59
|
+
closeIconClass?: string;
|
|
60
|
+
onClose: () => void;
|
|
61
|
+
onTogglePin?: () => void;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Populates a tab header element with standard icon, title, optional badge, and pin / dirty / close controls.
|
|
65
|
+
* Shared across `GridGroupDom`, `FloatingLayerDom`, and `PopoutWindowDom`.
|
|
66
|
+
* @returns Optional cleanup function if a custom framework icon portal was mounted.
|
|
67
|
+
*/
|
|
68
|
+
export declare function populateTabContent(tabDiv: HTMLElement, options: PopulateTabContentOptions): (() => void) | undefined;
|
|
69
|
+
//# sourceMappingURL=domUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domUtils.d.ts","sourceRoot":"","sources":["../../../src/core/dom/domUtils.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,qBAAqB,EAErB,aAAa,EACd,MAAM,UAAU,CAAC;AAElB;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAC7B,MAAM,EAAE,WAAW,EACnB,SAAS,EAAE,OAAO,EAClB,SAAS,EAAE,MAAM,KACd,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CAAC;AAEzB;;;;;;GAMG;AACH,wBAAgB,eAAe,CAC7B,YAAY,EAAE,WAAW,EACzB,UAAU,EAAE,WAAW,GACtB,IAAI,CAkBN;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI,GAAG,IAAI,CAWvE;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,WAAW,EACtB,SAAS,EAAE,OAAO,EAClB,SAAS,SAAqB,EAC9B,gBAAgB,CAAC,EAAE,gBAAgB,EACnC,GAAG,CAAC,EAAE,QAAQ,GACb,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CA4B1B;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,MAAM,IAAI,EACnB,UAAU,SAAK,GACd,iBAAiB,CAcnB;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,WAAW,EACnB,KAAK,EAAE,aAAa,EACpB,WAAW,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACnE,IAAI,CAgEN;AA0BD;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG,CACpC,IAAI,EAAE,OAAO,EACb,SAAS,EAAE,WAAW,EACtB,YAAY,EAAE,GAAG,KACd,GAAG,CAAC;AAET;;;;;GAKG;AACH,qBAAa,iBAAiB;;IAM5B,IAAW,UAAU,IAAI,OAAO,CAE/B;IAEM,IAAI,CACT,SAAS,EAAE,WAAW,EACtB,QAAQ,EAAE,OAAO,EACjB,MAAM,EAAE,OAAO,EACf,SAAS,EAAE,OAAO,EAClB,qBAAqB,CAAC,EAAE,uBAAuB,GAC9C,IAAI;IAuCA,QAAQ,IAAI,IAAI;CASxB;AAED;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,qBAAqB,CAAC;IACrC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,GAAG,CAAC,EAAE,QAAQ,CAAC;IACf,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,WAAW,EACnB,OAAO,EAAE,yBAAyB,GACjC,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CA0H1B"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { RedDokiaLayoutNode, RedDokiaRect, RedDokiaFloatingGroup, RedDokiaViewSchema, RedDokiaSolvedGeometry } from './types';
|
|
2
|
+
/** Default tab bar header height in pixels. */
|
|
3
|
+
export declare const TAB_HEADER_HEIGHT = 40;
|
|
4
|
+
/**
|
|
5
|
+
* Creates a reusable `RedDokiaSolvedGeometry` buffer backed by prototype-free dictionary maps.
|
|
6
|
+
* @returns Empty solved geometry buffer ready for in-place reuse across resize frames.
|
|
7
|
+
*/
|
|
8
|
+
export declare function createSolvedGeometryBuffer(): RedDokiaSolvedGeometry;
|
|
9
|
+
/**
|
|
10
|
+
* Solves pixel-exact layout geometry for all split nodes, groups, views, sashes, and floating windows.
|
|
11
|
+
*
|
|
12
|
+
* @remarks
|
|
13
|
+
* Mutates `targetBuffer` in place when provided and writes intermediate child ratios into static TypedArray scratch buffers to prevent per-frame heap allocations on 120fps resize hot paths.
|
|
14
|
+
*
|
|
15
|
+
* @param rootNode - Normalized root layout node, or `null`.
|
|
16
|
+
* @param containerRect - Bounding pixel rectangle of the workbench container.
|
|
17
|
+
* @param targetBuffer - Optional reusable geometry buffer mutated in place.
|
|
18
|
+
* @param maximizedGroupId - Optional ID of a currently maximized docked group.
|
|
19
|
+
* @param islandGap - Visual gap in pixels between island groups (`0` for flush borders).
|
|
20
|
+
* @param floatingGroups - Optional list of floating window groups to project into `viewRects`.
|
|
21
|
+
* @param viewsMap - Optional view specification map used to enforce active view min/max constraints.
|
|
22
|
+
* @returns Solved pixel geometry snapshot (returns the same reference when `targetBuffer` is provided).
|
|
23
|
+
*/
|
|
24
|
+
export declare function solveLayoutGeometry(rootNode: RedDokiaLayoutNode | null | undefined, containerRect: RedDokiaRect, targetBuffer?: RedDokiaSolvedGeometry, maximizedGroupId?: string | null, islandGap?: number, floatingGroups?: RedDokiaFloatingGroup[], viewsMap?: Record<string, RedDokiaViewSchema>): RedDokiaSolvedGeometry;
|
|
25
|
+
//# sourceMappingURL=geometrySolver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geometrySolver.d.ts","sourceRoot":"","sources":["../../src/core/geometrySolver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,kBAAkB,EAClB,YAAY,EACZ,qBAAqB,EACrB,kBAAkB,EAElB,sBAAsB,EAEvB,MAAM,SAAS,CAAC;AASjB;;;GAGG;AACH,eAAO,MAAM,iBAAiB,KAAK,CAAC;AAapC;;;;;;GAMG;AACH,wBAAgB,0BAA0B,IAAI,sBAAsB,CAOnE;AAsBD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,kBAAkB,GAAG,IAAI,GAAG,SAAS,EAC/C,aAAa,EAAE,YAAY,EAC3B,YAAY,CAAC,EAAE,sBAAsB,EACrC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,EAChC,SAAS,SAAI,EACb,cAAc,CAAC,EAAE,qBAAqB,EAAE,EACxC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,GAC5C,sBAAsB,CAilBxB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { DockHitTarget, RedDokiaEdgeSlot, RedDokiaGroupGeometry, RedDokiaFloatingGroup } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Allocates a reusable `DockHitTarget` buffer for zero-allocation drag hit-testing.
|
|
4
|
+
* @returns Initialized empty dock hit target buffer.
|
|
5
|
+
*/
|
|
6
|
+
export declare function createDockHitTargetBuffer(): DockHitTarget;
|
|
7
|
+
/**
|
|
8
|
+
* Resolves the active dock drop target and preview rectangle for a pointer coordinate without heap allocations.
|
|
9
|
+
*
|
|
10
|
+
* @remarks
|
|
11
|
+
* Evaluates targets in priority order: forced tear-off float, hovered edge bar slot, out-of-bounds tear-off, root container edges, topmost floating window (`zOrder`), and tiled grid groups. Mutates `targetBuffer` in place.
|
|
12
|
+
*
|
|
13
|
+
* @param localX - Pointer X coordinate relative to the workbench container in pixels.
|
|
14
|
+
* @param localY - Pointer Y coordinate relative to the workbench container in pixels.
|
|
15
|
+
* @param containerWidth - Workbench container width in pixels.
|
|
16
|
+
* @param containerHeight - Workbench container height in pixels.
|
|
17
|
+
* @param groupRects - Solved group geometry dictionary keyed by group ID.
|
|
18
|
+
* @param edgeHoverSlot - Hovered edge bar slot, or `null`.
|
|
19
|
+
* @param targetBuffer - Reusable output buffer mutated in place.
|
|
20
|
+
* @param floatingGroups - Optional active floating window groups.
|
|
21
|
+
* @param sourceGroupId - Optional ID of the group from which the drag originated.
|
|
22
|
+
* @param forceTearOffFloat - Whether modifier keys force immediate tear-off floating preview.
|
|
23
|
+
* @returns Mutated `targetBuffer` describing the resolved hit target and preview bounds.
|
|
24
|
+
*/
|
|
25
|
+
export declare function hitTestDockTarget(localX: number, localY: number, containerWidth: number, containerHeight: number, groupRects: Record<string, RedDokiaGroupGeometry>, edgeHoverSlot?: RedDokiaEdgeSlot | null, targetBuffer?: DockHitTarget, floatingGroups?: RedDokiaFloatingGroup[], sourceGroupId?: string | null, forceTearOffFloat?: boolean, isEdgeBarDrag?: boolean): DockHitTarget;
|
|
26
|
+
//# sourceMappingURL=hitTester.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hitTester.d.ts","sourceRoot":"","sources":["../../src/core/hitTester.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EAEb,gBAAgB,EAChB,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAGjB;;;;;;GAMG;AACH,wBAAgB,yBAAyB,IAAI,aAAa,CASzD;AAqDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,cAAc,EAAE,MAAM,EACtB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,EACjD,aAAa,GAAE,gBAAgB,GAAG,IAAW,EAC7C,YAAY,GAAE,aAAiC,EAC/C,cAAc,CAAC,EAAE,qBAAqB,EAAE,EACxC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,EAC7B,iBAAiB,UAAQ,EACzB,aAAa,UAAQ,GACpB,aAAa,CAkYf"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zero-dependency built-in SVG stroke icon registry and DOM factory for RedDokia.
|
|
3
|
+
*/
|
|
4
|
+
/** Single SVG child primitive tuple `[tagName, attributes]`. */
|
|
5
|
+
type RedDokiaSvgChildNode = readonly [tag: string, attrs: Readonly<Record<string, string>>];
|
|
6
|
+
/**
|
|
7
|
+
* Strongly-typed constant map of all built-in RedDokia SVG icon names.
|
|
8
|
+
* Use `RedDokiaIcons.Layout`, `RedDokiaIcons.Terminal`, etc. in `views` and context menus for full IDE autocomplete and type safety.
|
|
9
|
+
*/
|
|
10
|
+
export declare const RedDokiaIcons: {
|
|
11
|
+
readonly AppWindow: "AppWindow";
|
|
12
|
+
readonly ArrowRightToLine: "ArrowRightToLine";
|
|
13
|
+
readonly Check: "Check";
|
|
14
|
+
readonly CheckCircle2: "CheckCircle2";
|
|
15
|
+
readonly ChevronDown: "ChevronDown";
|
|
16
|
+
readonly ChevronRight: "ChevronRight";
|
|
17
|
+
readonly Columns: "Columns";
|
|
18
|
+
readonly EdgeSlotBottomLeft: "EdgeSlotBottomLeft";
|
|
19
|
+
readonly EdgeSlotBottomRight: "EdgeSlotBottomRight";
|
|
20
|
+
readonly EdgeSlotLeftBottom: "EdgeSlotLeftBottom";
|
|
21
|
+
readonly EdgeSlotLeftTop: "EdgeSlotLeftTop";
|
|
22
|
+
readonly EdgeSlotRightBottom: "EdgeSlotRightBottom";
|
|
23
|
+
readonly EdgeSlotRightTop: "EdgeSlotRightTop";
|
|
24
|
+
readonly ExternalLink: "ExternalLink";
|
|
25
|
+
readonly Layers: "Layers";
|
|
26
|
+
readonly Layout: "Layout";
|
|
27
|
+
readonly Lock: "Lock";
|
|
28
|
+
readonly Maximize2: "Maximize2";
|
|
29
|
+
readonly Minimize2: "Minimize2";
|
|
30
|
+
readonly Minus: "Minus";
|
|
31
|
+
readonly Pin: "Pin";
|
|
32
|
+
readonly PinOff: "PinOff";
|
|
33
|
+
readonly Rows: "Rows";
|
|
34
|
+
readonly Terminal: "Terminal";
|
|
35
|
+
readonly Trash2: "Trash2";
|
|
36
|
+
readonly Unlock: "Unlock";
|
|
37
|
+
readonly X: "X";
|
|
38
|
+
readonly XCircle: "XCircle";
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Union type of all built-in RedDokia SVG icon names (`keyof typeof RedDokiaIcons`).
|
|
42
|
+
*/
|
|
43
|
+
export type RedDokiaIconName = (typeof RedDokiaIcons)[keyof typeof RedDokiaIcons];
|
|
44
|
+
/**
|
|
45
|
+
* Complete built-in SVG icon geometry dictionary (28 curated workbench chrome icons).
|
|
46
|
+
*/
|
|
47
|
+
export declare const REDDOKIA_SVG_ICONS: Readonly<Record<string, readonly RedDokiaSvgChildNode[]>>;
|
|
48
|
+
/**
|
|
49
|
+
* Official built-in RedDokia brand favicon SVG markup used in default empty-contents state.
|
|
50
|
+
*/
|
|
51
|
+
export declare const REDDOKIA_FAVICON_SVG = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 64 64\" fill=\"none\"><defs><linearGradient id=\"rd-dock\" x1=\"2\" y1=\"8\" x2=\"60\" y2=\"62\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0%\" stop-color=\"#4A608A\"/><stop offset=\"100%\" stop-color=\"#2D3C59\"/></linearGradient><linearGradient id=\"rd-portal\" x1=\"26\" y1=\"2\" x2=\"62\" y2=\"38\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0%\" stop-color=\"#FF4747\"/><stop offset=\"100%\" stop-color=\"#FD9466\"/></linearGradient></defs><path d=\"M2 17C2 12.0294 6.02944 8 11 8H32V30C32 32.7614 34.2386 35 37 35H60V53C60 57.9706 55.9706 62 51 62H11C6.02944 62 2 57.9706 2 53V17Z\" fill=\"url(#rd-dock)\" stroke=\"#647EB0\" stroke-width=\"3\"/><path d=\"M13 42V51H22\" stroke=\"#CBD5E1\" stroke-width=\"4.2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><rect x=\"23\" y=\"5\" width=\"38\" height=\"38\" rx=\"10.5\" fill=\"#090C14\" fill-opacity=\"0.5\"/><rect x=\"26\" y=\"2\" width=\"36\" height=\"36\" rx=\"9.5\" fill=\"url(#rd-portal)\"/><rect x=\"27\" y=\"3\" width=\"34\" height=\"34\" rx=\"8.5\" stroke=\"#FFFFFF\" stroke-opacity=\"0.28\" stroke-width=\"2\"/><rect x=\"33.5\" y=\"9.5\" width=\"15.5\" height=\"5\" rx=\"2.5\" fill=\"#FFFFFF\" fill-opacity=\"0.95\"/></svg>";
|
|
52
|
+
/**
|
|
53
|
+
* Checks whether a string looks like an external/relative image or SVG file path / URL / Data URI.
|
|
54
|
+
*/
|
|
55
|
+
export declare function isImageUrlIconString(value: string): boolean;
|
|
56
|
+
/** Checks whether a string is raw inline `<svg>...</svg>` markup. */
|
|
57
|
+
export declare function isInlineSvgIconString(value: string): boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Checks whether a given value is a valid built-in icon name, SVG/image path, inline `<svg>` string, or renderable icon input.
|
|
60
|
+
*
|
|
61
|
+
* @param value - Icon value candidate to inspect
|
|
62
|
+
* @returns True if the value can be rendered as a RedDokia icon
|
|
63
|
+
*/
|
|
64
|
+
export declare function isValidViewIconValue(value: unknown): boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Creates an `<svg>` or `<img>` DOM element from a built-in `RedDokiaIcons` name, an SVG/image URL path (`'/path/to/icon.svg'`), or raw inline `<svg>...</svg>` markup.
|
|
67
|
+
*
|
|
68
|
+
* @param name - Built-in icon key in `REDDOKIA_SVG_ICONS`, file URL/path, or inline `<svg>` string.
|
|
69
|
+
* @param className - Optional CSS class name for the element.
|
|
70
|
+
* @param doc - Optional owner Document (defaults to global `document`, or pop-out window document).
|
|
71
|
+
* @returns Constructed `SVGSVGElement` / `HTMLImageElement`, or `null` if not renderable.
|
|
72
|
+
*/
|
|
73
|
+
export declare function createSvgIconElement(name: string, className?: string, doc?: Document): SVGSVGElement | HTMLImageElement | null;
|
|
74
|
+
/**
|
|
75
|
+
* Returns raw `<svg>...</svg>` markup string for a built-in `RedDokiaIcons` name or inline SVG string.
|
|
76
|
+
*
|
|
77
|
+
* @param name - Built-in icon key in `RedDokiaIcons` or inline `<svg>` string
|
|
78
|
+
* @param size - Width and height in pixels (default: `16`)
|
|
79
|
+
* @returns SVG markup string, or `''` if the icon name is not found
|
|
80
|
+
*/
|
|
81
|
+
export declare function getRedDokiaIconSvg(name: RedDokiaIconName | string, size?: number): string;
|
|
82
|
+
export {};
|
|
83
|
+
//# sourceMappingURL=svgRegistry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"svgRegistry.d.ts","sourceRoot":"","sources":["../../../src/core/icons/svgRegistry.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;GAIG;AACH,KAAK,oBAAoB,GAAG,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;AAE5F;;;;;GAKG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BhB,CAAC;AAEX;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAC1B,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;AAErD;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,oBAAoB,EAAE,CAAC,CA2iBxF,CAAC;AAIF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,gvCACslC,CAAC;AAIxnC;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAe3D;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAM5D;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAwB5D;AAaD;;;;;;;;;;;;GAYG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,MAAM,EACZ,SAAS,SAAqB,EAC9B,GAAG,CAAC,EAAE,QAAQ,GACb,aAAa,GAAG,gBAAgB,GAAG,IAAI,CAqFzC;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,gBAAgB,GAAG,MAAM,EAC/B,IAAI,SAAK,GACR,MAAM,CAmBR"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { DockHitTarget, RedDokiaExternalDragOptions, RedDokiaSolvedGeometry } from '../types';
|
|
2
|
+
import { type RedDokiaStore } from '../RedDokiaStore';
|
|
3
|
+
/**
|
|
4
|
+
* Live drag-and-dock session snapshot shared between `DockDragManager` and `DockOverlaysDom`.
|
|
5
|
+
*/
|
|
6
|
+
export interface ActiveDragSessionState {
|
|
7
|
+
mode: 'tab' | 'edge-item';
|
|
8
|
+
viewId: string;
|
|
9
|
+
sourceGroupId: string;
|
|
10
|
+
ghostTitle?: string;
|
|
11
|
+
hideGhost?: boolean;
|
|
12
|
+
cursorX: number;
|
|
13
|
+
cursorY: number;
|
|
14
|
+
hitTarget: DockHitTarget | null;
|
|
15
|
+
pinLeft?: number;
|
|
16
|
+
pinTop?: number;
|
|
17
|
+
pinHorizontal?: boolean;
|
|
18
|
+
pinSpan?: number;
|
|
19
|
+
}
|
|
20
|
+
/** Pure TypeScript 120fps tab and EdgeBar item drag-and-dock session manager. */
|
|
21
|
+
export declare class DockDragManager {
|
|
22
|
+
#private;
|
|
23
|
+
get dragSession(): ActiveDragSessionState | null;
|
|
24
|
+
constructor(store: RedDokiaStore, getRootElement: () => HTMLElement | null, getGridElement: () => HTMLElement | null, onDragSessionChange: (geometry?: RedDokiaSolvedGeometry) => void);
|
|
25
|
+
consumeClickSuppression(): boolean;
|
|
26
|
+
startDockDragSession(e: {
|
|
27
|
+
clientX: number;
|
|
28
|
+
clientY: number;
|
|
29
|
+
button?: number;
|
|
30
|
+
altKey?: boolean;
|
|
31
|
+
}, mode: 'tab' | 'edge-item', viewId: string, sourceGroupId: string): void;
|
|
32
|
+
startExternalDragSession(e: {
|
|
33
|
+
clientX: number;
|
|
34
|
+
clientY: number;
|
|
35
|
+
button?: number;
|
|
36
|
+
altKey?: boolean;
|
|
37
|
+
}, options: RedDokiaExternalDragOptions): void;
|
|
38
|
+
handleNativeDragOver(ev: DragEvent): void;
|
|
39
|
+
handleNativeDragLeave(ev: DragEvent): void;
|
|
40
|
+
handleNativeDrop(ev: DragEvent): void;
|
|
41
|
+
destroy(): void;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=DockDragManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DockDragManager.d.ts","sourceRoot":"","sources":["../../../src/core/interactions/DockDragManager.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EACV,aAAa,EAEb,2BAA2B,EAC3B,sBAAsB,EACvB,MAAM,UAAU,CAAC;AAClB,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,kBAAkB,CAAC;AAM1B;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,KAAK,GAAG,WAAW,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,aAAa,GAAG,IAAI,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;;GAIG;AACH,qBAAa,eAAe;;IA4B1B,IAAW,WAAW,IAAI,sBAAsB,GAAG,IAAI,CAEtD;gBAsBC,KAAK,EAAE,aAAa,EACpB,cAAc,EAAE,MAAM,WAAW,GAAG,IAAI,EACxC,cAAc,EAAE,MAAM,WAAW,GAAG,IAAI,EACxC,mBAAmB,EAAE,CAAC,QAAQ,CAAC,EAAE,sBAAsB,KAAK,IAAI;IAqD3D,uBAAuB,IAAI,OAAO;IAQlC,oBAAoB,CACzB,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,EAC1E,IAAI,EAAE,KAAK,GAAG,WAAW,EACzB,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,GACpB,IAAI;IAuBA,wBAAwB,CAC7B,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,EAC1E,OAAO,EAAE,2BAA2B,GACnC,IAAI;IAMA,oBAAoB,CAAC,EAAE,EAAE,SAAS,GAAG,IAAI;IA8CzC,qBAAqB,CAAC,EAAE,EAAE,SAAS,GAAG,IAAI;IAS1C,gBAAgB,CAAC,EAAE,EAAE,SAAS,GAAG,IAAI;IAkhBrC,OAAO,IAAI,IAAI;CAGvB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { FloatingResizeDirection, RedDokiaFloatingGroup } from '../types';
|
|
2
|
+
import type { RedDokiaStore } from '../RedDokiaStore';
|
|
3
|
+
/**
|
|
4
|
+
* Pure TypeScript floating window drag, z-order promotion, and 8-direction resize manager.
|
|
5
|
+
*/
|
|
6
|
+
export declare class FloatingWindowManager {
|
|
7
|
+
#private;
|
|
8
|
+
constructor(store: RedDokiaStore);
|
|
9
|
+
bringFloatingWindowToFront(floatingGroupId: string): void;
|
|
10
|
+
handleFloatingHeaderPointerDown(e: PointerEvent, win: RedDokiaFloatingGroup): void;
|
|
11
|
+
handleFloatingResizePointerDown(e: PointerEvent, win: RedDokiaFloatingGroup, dir: FloatingResizeDirection): void;
|
|
12
|
+
destroy(): void;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=FloatingWindowManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FloatingWindowManager.d.ts","sourceRoot":"","sources":["../../../src/core/interactions/FloatingWindowManager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGtD;;;;GAIG;AACH,qBAAa,qBAAqB;;gBAwCpB,KAAK,EAAE,aAAa;IAmJzB,0BAA0B,CAAC,eAAe,EAAE,MAAM,GAAG,IAAI;IAsBzD,+BAA+B,CACpC,CAAC,EAAE,YAAY,EACf,GAAG,EAAE,qBAAqB,GACzB,IAAI;IA8BA,+BAA+B,CACpC,CAAC,EAAE,YAAY,EACf,GAAG,EAAE,qBAAqB,EAC1B,GAAG,EAAE,uBAAuB,GAC3B,IAAI;IAoCA,OAAO,IAAI,IAAI;CAsBvB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { RedDokiaSashGeometry, RedDokiaSolvedGeometry } from '../types';
|
|
2
|
+
import type { RedDokiaStore } from '../RedDokiaStore';
|
|
3
|
+
/**
|
|
4
|
+
* Pure TypeScript 1D split sash resize manager.
|
|
5
|
+
* Uses `prepareSashAxisSession` and `applySashAxisDelta` static TypedArray buffers for zero-allocation 120fps drag resizing.
|
|
6
|
+
*/
|
|
7
|
+
export declare class SashResizeManager {
|
|
8
|
+
#private;
|
|
9
|
+
constructor(store: RedDokiaStore);
|
|
10
|
+
handleSashPointerDown(e: PointerEvent, sash: RedDokiaSashGeometry, geometry: RedDokiaSolvedGeometry): void;
|
|
11
|
+
handleSashDoubleClick(sash: RedDokiaSashGeometry): void;
|
|
12
|
+
destroy(): void;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=SashResizeManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SashResizeManager.d.ts","sourceRoot":"","sources":["../../../src/core/interactions/SashResizeManager.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,oBAAoB,EACpB,sBAAsB,EAEvB,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;;;;GAKG;AACH,qBAAa,iBAAiB;;gBAmBhB,KAAK,EAAE,aAAa;IAyDzB,qBAAqB,CAC1B,CAAC,EAAE,YAAY,EACf,IAAI,EAAE,oBAAoB,EAC1B,QAAQ,EAAE,sBAAsB,GAC/B,IAAI;IAmCA,qBAAqB,CAAC,IAAI,EAAE,oBAAoB,GAAG,IAAI;IAQvD,OAAO,IAAI,IAAI;CAqBvB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { RedDokiaFloatingGroup, RedDokiaLayoutState, RedDokiaPopoutWindow } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Compacts floating window `zOrder` values into contiguous `1..N` integers, optionally promoting `bringToFrontId` to the top.
|
|
4
|
+
*
|
|
5
|
+
* @param groups - Floating window groups to normalize
|
|
6
|
+
* @param bringToFrontId - Optional floating group ID to promote to highest zOrder
|
|
7
|
+
* @returns Normalized floating window array
|
|
8
|
+
*/
|
|
9
|
+
export declare function normalizeFloatingZOrders(groups: RedDokiaFloatingGroup[], bringToFrontId?: string): RedDokiaFloatingGroup[];
|
|
10
|
+
/**
|
|
11
|
+
* Removes a single view from pop-out window records when it is recalled, docked, or closed.
|
|
12
|
+
*
|
|
13
|
+
* @param prev - Current pop-out window descriptors
|
|
14
|
+
* @param targetViewId - View ID to remove
|
|
15
|
+
* @param mruViewIds - Optional MRU view ID list for selecting next active tab
|
|
16
|
+
* @returns Updated pop-out window descriptors
|
|
17
|
+
*/
|
|
18
|
+
export declare function removeViewFromPopoutWindows(prev: RedDokiaPopoutWindow[], targetViewId: string, mruViewIds?: readonly string[]): RedDokiaPopoutWindow[];
|
|
19
|
+
/**
|
|
20
|
+
* Removes a single view from all floating groups, dropping any group that becomes empty.
|
|
21
|
+
* Returns the original array reference when the view is not present (zero allocation on no-op).
|
|
22
|
+
*/
|
|
23
|
+
export declare function removeViewFromFloatingGroups(floatingGroups: RedDokiaFloatingGroup[] | undefined, viewId: string): RedDokiaFloatingGroup[];
|
|
24
|
+
/**
|
|
25
|
+
* Reconciles active pop-out windows against a newly applied layout state so views now present in the grid or floating windows are automatically removed from pop-outs.
|
|
26
|
+
*/
|
|
27
|
+
export declare function reconcilePopoutWindowsWithLayout(prev: RedDokiaPopoutWindow[], layoutState: Pick<RedDokiaLayoutState, 'rootGrid' | 'floatingGroups'>, mruViewIds?: readonly string[]): RedDokiaPopoutWindow[];
|
|
28
|
+
//# sourceMappingURL=floatingUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"floatingUtils.d.ts","sourceRoot":"","sources":["../../../src/core/interactions/floatingUtils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,UAAU,CAAC;AAElB;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,qBAAqB,EAAE,EAC/B,cAAc,CAAC,EAAE,MAAM,GACtB,qBAAqB,EAAE,CAuBzB;AAED;;;;;;;;GAQG;AACH,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,oBAAoB,EAAE,EAC5B,YAAY,EAAE,MAAM,EACpB,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,GAC7B,oBAAoB,EAAE,CA6BxB;AAED;;;;;GAKG;AACH,wBAAgB,4BAA4B,CAC1C,cAAc,EAAE,qBAAqB,EAAE,GAAG,SAAS,EACnD,MAAM,EAAE,MAAM,GACb,qBAAqB,EAAE,CAwBzB;AAcD;;;;GAIG;AACH,wBAAgB,gCAAgC,CAC9C,IAAI,EAAE,oBAAoB,EAAE,EAC5B,WAAW,EAAE,IAAI,CAAC,mBAAmB,EAAE,UAAU,GAAG,gBAAgB,CAAC,EACrE,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,GAC7B,oBAAoB,EAAE,CAyBxB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { RedDokiaLocale, RedDokiaLocaleOverrides, RedDokiaLocaleStrings } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Resolves a complete {@link RedDokiaLocaleStrings} dictionary for the given locale with optional string overrides.
|
|
4
|
+
* Built-in dictionaries exist for `'en'`, `'ko'`, and `'ja'`; custom locale codes (e.g. `'fr'`, `'zh-CN'`) fall back to `'en'` and merge `overrides[locale]`.
|
|
5
|
+
*
|
|
6
|
+
* @param locale - Target locale code (`'en'`, `'ko'`, `'ja'`, or any custom locale string). Defaults to `'en'`.
|
|
7
|
+
* @param overrides - Flat partial dictionary or per-locale map (e.g. `{ ko, en, ja, fr }`) of custom UI strings.
|
|
8
|
+
* @returns Merged locale string dictionary.
|
|
9
|
+
*/
|
|
10
|
+
export declare function resolveRedDokiaLocale(locale?: RedDokiaLocale, overrides?: RedDokiaLocaleOverrides): RedDokiaLocaleStrings;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/locales/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,UAAU,CAAC;AAsMlB;;;;;;;;;;;GAWG;AACH,wBAAgB,qBAAqB,CACnC,MAAM,GAAE,cAAqB,EAC7B,SAAS,CAAC,EAAE,uBAAuB,GAClC,qBAAqB,CAevB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Curated public core API barrel shared across `reddokia`, `reddokia/react`, `reddokia/vue`, and `reddokia/svelte`.
|
|
3
|
+
* Re-exports `RedDokiaIcons`, icon helpers, and public TypeScript schema, controller, and render types without exposing internal engine utilities.
|
|
4
|
+
* @packageDocumentation
|
|
5
|
+
*/
|
|
6
|
+
export type { RedDokiaDockZone, RedDokiaEdgeSlot, RedDokiaEmptyBehavior, RedDokiaGroupGeometry, RedDokiaGroupNode, RedDokiaLayoutNode, RedDokiaLayoutOrientation, RedDokiaNodeConstraints, RedDokiaRect, RedDokiaSashGeometry, RedDokiaSolvedGeometry, RedDokiaViewGeometry, RedDokiaContentsZoneValue, RedDokiaController, RedDokiaSlotLifecycle, RedDokiaEdgeBarSchema, RedDokiaEdgeBarZoneValue, RedDokiaEmptyContentsRenderProps, RedDokiaExternalDragOptions, RedDokiaExternalNativeDropEvent, RedDokiaFloatingGroup, RedDokiaGroupActionsRenderProps, RedDokiaGroupActionsSlot, RedDokiaGroupSchema, RedDokiaIconValue, RedDokiaInstance, RedDokiaLayoutNodeSchema, RedDokiaLayoutSchema, RedDokiaLayoutState, RedDokiaLocale, RedDokiaLocaleOverrides, RedDokiaLocaleStrings, RedDokiaOpenViewOptions, RedDokiaProps, RedDokiaResizeEvent, RedDokiaSlotMountHandler, RedDokiaSlotRenderProps, RedDokiaSplitSchema, RedDokiaStatusBarSchema, RedDokiaStyle, RedDokiaTabContextMenuConfig, RedDokiaTabContextMenuItem, RedDokiaTabContextMenuItemsResolver, RedDokiaTabContextMenuMode, RedDokiaTabContextMenuOption, RedDokiaTabContextMenuProps, RedDokiaBaseThemeId, RedDokiaCustomThemeDefinition, RedDokiaTheme, RedDokiaThemeId, RedDokiaTopBarMenu, RedDokiaTopBarMenuItem, RedDokiaTopBarSchema, RedDokiaViewComponent, RedDokiaViewLifecycle, RedDokiaViewMetadataPatch, RedDokiaViewMountHandler, RedDokiaViewRenderProps, RedDokiaViewSchema, RedDokiaZoneLayoutSchema, RedDokiaSplitNode, } from './types';
|
|
7
|
+
export { RedDokiaIcons, getRedDokiaIconSvg, type RedDokiaIconName, } from './icons/svgRegistry';
|
|
8
|
+
//# sourceMappingURL=publicApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"publicApi.d.ts","sourceRoot":"","sources":["../../src/core/publicApi.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,YAAY,EACV,gBAAgB,EAChB,gBAAgB,EAChB,qBAAqB,EACrB,qBAAqB,EACrB,iBAAiB,EACjB,kBAAkB,EAClB,yBAAyB,EACzB,uBAAuB,EACvB,YAAY,EACZ,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB,yBAAyB,EACzB,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,wBAAwB,EACxB,gCAAgC,EAChC,2BAA2B,EAC3B,+BAA+B,EAC/B,qBAAqB,EACrB,+BAA+B,EAC/B,wBAAwB,EACxB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,wBAAwB,EACxB,oBAAoB,EACpB,mBAAmB,EACnB,cAAc,EACd,uBAAuB,EACvB,qBAAqB,EACrB,uBAAuB,EACvB,aAAa,EACb,mBAAmB,EACnB,wBAAwB,EACxB,uBAAuB,EACvB,mBAAmB,EACnB,uBAAuB,EACvB,aAAa,EACb,4BAA4B,EAC5B,0BAA0B,EAC1B,mCAAmC,EACnC,0BAA0B,EAC1B,4BAA4B,EAC5B,2BAA2B,EAC3B,mBAAmB,EACnB,6BAA6B,EAC7B,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,sBAAsB,EACtB,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,yBAAyB,EACzB,wBAAwB,EACxB,uBAAuB,EACvB,kBAAkB,EAClB,wBAAwB,EACxB,iBAAiB,GAClB,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,aAAa,EACb,kBAAkB,EAClB,KAAK,gBAAgB,GACtB,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { RedDokiaRect, RedDokiaViewSchema, RedDokiaSashGeometry, RedDokiaSplitNode } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Precomputed per-axis sash drag session state backed by static TypedArray scratch slots.
|
|
4
|
+
*/
|
|
5
|
+
export interface PreparedSashAxisSession {
|
|
6
|
+
/** Mutable split node being resized in the working tree. */
|
|
7
|
+
targetSplit: RedDokiaSplitNode;
|
|
8
|
+
/** Clamped number of child nodes participating in cascading resize. */
|
|
9
|
+
childCount: number;
|
|
10
|
+
/** Index of the visible child immediately preceding the sash. */
|
|
11
|
+
beforeIdx: number;
|
|
12
|
+
/** Index of the visible child immediately following the sash. */
|
|
13
|
+
afterIdx: number;
|
|
14
|
+
/** Initial pixel size of the preceding child at drag start. */
|
|
15
|
+
initialBeforePx: number;
|
|
16
|
+
/** Initial pixel size of the following child at drag start. */
|
|
17
|
+
initialAfterPx: number;
|
|
18
|
+
/** Effective minimum pixel size of the preceding child. */
|
|
19
|
+
minBefore: number;
|
|
20
|
+
/** Effective minimum pixel size of the following child. */
|
|
21
|
+
minAfter: number;
|
|
22
|
+
/** Whether the preceding child allows magnetic snap-to-collapse. */
|
|
23
|
+
canSnapBefore: boolean;
|
|
24
|
+
/** Whether the following child allows magnetic snap-to-collapse. */
|
|
25
|
+
canSnapAfter: boolean;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Captures initial pixel sizes and min/max constraints into static TypedArray slots at sash drag start.
|
|
29
|
+
*
|
|
30
|
+
* @param workingTree - Cloned mutable root split tree for the active drag session.
|
|
31
|
+
* @param sash - Geometry descriptor of the sash being dragged.
|
|
32
|
+
* @param nodeRects - Current solved pixel rectangles keyed by node ID.
|
|
33
|
+
* @param viewsMap - Optional view specification map for active view min/max constraints.
|
|
34
|
+
* @returns Prepared axis session handle, or `null` if the split or sash neighbors cannot be resolved.
|
|
35
|
+
*/
|
|
36
|
+
export declare function prepareSashAxisSession(workingTree: RedDokiaSplitNode, sash: RedDokiaSashGeometry, nodeRects: Record<string, RedDokiaRect>, viewsMap?: Record<string, RedDokiaViewSchema>): PreparedSashAxisSession | null;
|
|
37
|
+
/**
|
|
38
|
+
* Applies a pointer drag delta in pixels to a prepared sash session with cascading sibling push and snap-to-collapse.
|
|
39
|
+
*
|
|
40
|
+
* @remarks
|
|
41
|
+
* Mutates child sizes in place using static TypedArray buffers without per-frame heap allocations.
|
|
42
|
+
*
|
|
43
|
+
* @param session - Prepared sash axis session created by `prepareSashAxisSession`.
|
|
44
|
+
* @param delta - Pointer displacement from drag start in pixels (positive moves right or down).
|
|
45
|
+
*/
|
|
46
|
+
export declare function applySashAxisDelta(session: PreparedSashAxisSession, delta: number): void;
|
|
47
|
+
//# sourceMappingURL=sashResizeSolver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sashResizeSolver.d.ts","sourceRoot":"","sources":["../../src/core/sashResizeSolver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,YAAY,EACZ,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAgBjB;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,WAAW,EAAE,iBAAiB,CAAC;IAC/B;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,aAAa,EAAE,OAAO,CAAC;IACvB;;;OAGG;IACH,YAAY,EAAE,OAAO,CAAC;CACvB;AAaD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,sBAAsB,CACpC,WAAW,EAAE,iBAAiB,EAC9B,IAAI,EAAE,oBAAoB,EAC1B,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,EACvC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,GAC5C,uBAAuB,GAAG,IAAI,CAmGhC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,uBAAuB,EAChC,KAAK,EAAE,MAAM,GACZ,IAAI,CA2HN"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { RedDokiaFloatingGroup, RedDokiaLayoutState, RedDokiaViewMetadataPatch, RedDokiaViewSchema, RedDokiaSplitNode } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Prunes unmounted dynamic view metadata patches while retaining base views and active host views.
|
|
4
|
+
*
|
|
5
|
+
* @param nextRoot - Next normalized root split node.
|
|
6
|
+
* @param currentRuntimeViews - Current runtime view metadata patch map.
|
|
7
|
+
* @param nextFloatingGroups - Next floating window groups, if any.
|
|
8
|
+
* @param baseViews - Registered static base view dictionary.
|
|
9
|
+
* @param onCleanupViewId - Optional callback invoked for each evicted dynamic view ID.
|
|
10
|
+
* @param popoutViewIds - View IDs currently hosted in external popout windows.
|
|
11
|
+
* @returns Filtered runtime view metadata map, or `undefined` when empty.
|
|
12
|
+
*/
|
|
13
|
+
export declare function pruneClosedDynamicViews(nextRoot: RedDokiaSplitNode, currentRuntimeViews: Record<string, RedDokiaViewMetadataPatch> | undefined, nextFloatingGroups: RedDokiaFloatingGroup[] | undefined, baseViews: Record<string, RedDokiaViewSchema>, onCleanupViewId?: (viewId: string) => void, popoutViewIds?: readonly string[]): Record<string, RedDokiaViewMetadataPatch> | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Serializes a workbench layout state into a formatted JSON snapshot string.
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* Folds any active external popout views back into the document grid inside the serialized copy and strips non-string icon nodes from runtime metadata.
|
|
19
|
+
*
|
|
20
|
+
* @param state - Current workbench layout state to serialize.
|
|
21
|
+
* @param fallbackVersion - Schema version string used when `state.version` is unset.
|
|
22
|
+
* @param popoutViewIds - Optional view IDs currently open in popout windows.
|
|
23
|
+
* @param fallbackTreeFactory - Optional factory for a fallback center tree during normalization.
|
|
24
|
+
* @returns Pretty-printed JSON snapshot string.
|
|
25
|
+
*/
|
|
26
|
+
export declare function createSerializedSnapshotJson(state: RedDokiaLayoutState, fallbackVersion?: string, popoutViewIds?: readonly string[], fallbackTreeFactory?: () => RedDokiaSplitNode): string;
|
|
27
|
+
/**
|
|
28
|
+
* Configuration options for parsing, validating, and reconciling a persisted layout snapshot.
|
|
29
|
+
*/
|
|
30
|
+
interface ParseSnapshotOptions {
|
|
31
|
+
/** Registered static base view specifications keyed by view ID. */
|
|
32
|
+
baseViews: Record<string, RedDokiaViewSchema>;
|
|
33
|
+
/**
|
|
34
|
+
* Factory returning a clean fallback root split tree when restoration empties the grid.
|
|
35
|
+
*/
|
|
36
|
+
fallbackTreeFactory: () => RedDokiaSplitNode;
|
|
37
|
+
/** Fallback theme identifier when omitted from the snapshot. */
|
|
38
|
+
defaultThemeId: string;
|
|
39
|
+
/** Fallback active group identifier when omitted from the snapshot. */
|
|
40
|
+
defaultActiveGroupId: string;
|
|
41
|
+
/** Optional existing workbench state used to fill omitted shell preferences. */
|
|
42
|
+
existingState?: RedDokiaLayoutState;
|
|
43
|
+
/**
|
|
44
|
+
* Predicate checking whether a dynamic view ID has an imperative component registered in memory.
|
|
45
|
+
*/
|
|
46
|
+
hasDirectDynamicComponent?: (viewId: string) => boolean;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Parses a raw snapshot payload and reconciles its layout tree and floating groups against registered views.
|
|
50
|
+
*
|
|
51
|
+
* @remarks
|
|
52
|
+
* Evicts unknown orphan view IDs and returns `null` safely on malformed input.
|
|
53
|
+
*
|
|
54
|
+
* @param rawInput - Serialized JSON string or pre-parsed snapshot object.
|
|
55
|
+
* @param options - Fallback and view-reconciliation options.
|
|
56
|
+
* @returns Reconciled workbench layout state, or `null` if invalid.
|
|
57
|
+
*/
|
|
58
|
+
export declare function parseAndReconcileSnapshot(rawInput: string | Record<string, any>, options: ParseSnapshotOptions): RedDokiaLayoutState | null;
|
|
59
|
+
export {};
|
|
60
|
+
//# sourceMappingURL=snapshotSerializer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"snapshotSerializer.d.ts","sourceRoot":"","sources":["../../src/core/snapshotSerializer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,qBAAqB,EACrB,mBAAmB,EAEnB,yBAAyB,EACzB,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAOjB;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,iBAAiB,EAC3B,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,yBAAyB,CAAC,GAAG,SAAS,EAC1E,kBAAkB,EAAE,qBAAqB,EAAE,GAAG,SAAS,EACvD,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,EAC7C,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,EAC1C,aAAa,CAAC,EAAE,SAAS,MAAM,EAAE,GAChC,MAAM,CAAC,MAAM,EAAE,yBAAyB,CAAC,GAAG,SAAS,CA4CvD;AAsBD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,mBAAmB,EAC1B,eAAe,SAAM,EACrB,aAAa,CAAC,EAAE,SAAS,MAAM,EAAE,EACjC,mBAAmB,CAAC,EAAE,MAAM,iBAAiB,GAC5C,MAAM,CAmCR;AAED;;;GAGG;AACH,UAAU,oBAAoB;IAC5B;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;IAC9C;;;OAGG;IACH,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;IAC7C;;;OAGG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;OAGG;IACH,aAAa,CAAC,EAAE,mBAAmB,CAAC;IACpC;;;OAGG;IACH,yBAAyB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC;CACzD;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,yBAAyB,CACvC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACtC,OAAO,EAAE,oBAAoB,GAC5B,mBAAmB,GAAG,IAAI,CAgJ5B"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/** DOM `id` assigned to the auto-injected RedDokia core `<style>` element. */
|
|
2
|
+
export declare const REDDOKIA_STYLE_ELEMENT_ID = "reddokia-core-styles";
|
|
3
|
+
/**
|
|
4
|
+
* Configuration options for {@link ensureRedDokiaStyles} supporting Strict CSP nonces and opt-out static CSS bundling.
|
|
5
|
+
*/
|
|
6
|
+
export interface EnsureRedDokiaStylesOptions {
|
|
7
|
+
/** Optional CSP nonce applied to the injected `<style>` element. */
|
|
8
|
+
nonce?: string;
|
|
9
|
+
/**
|
|
10
|
+
* When `true`, skips inline `<style>` injection completely (use with external `reddokia/style.css`).
|
|
11
|
+
*/
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Injects RedDokia's core scoped `.rd-*` stylesheet into `document.head` once per document.
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* Safe to call in SSR environments (no-op when `document` is undefined) and prepends to `head` so host overrides win naturally. Can be disabled globally by setting `globalThis.__REDDOKIA_DISABLE_STYLE_INJECTION__ = true`.
|
|
19
|
+
*
|
|
20
|
+
* @param targetDoc - Optional target `Document` (e.g. pop-out window). Defaults to global `document`.
|
|
21
|
+
* @param options - Optional CSP `nonce` and injection disable flags.
|
|
22
|
+
* @returns The injected or existing `<style>` element, or `null` when skipped or in SSR.
|
|
23
|
+
*/
|
|
24
|
+
export declare function ensureRedDokiaStyles(targetDoc?: Document, options?: EnsureRedDokiaStylesOptions): HTMLStyleElement | null;
|
|
25
|
+
//# sourceMappingURL=ensureRedDokiaStyles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ensureRedDokiaStyles.d.ts","sourceRoot":"","sources":["../../../src/core/styles/ensureRedDokiaStyles.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,eAAO,MAAM,yBAAyB,yBAAyB,CAAC;AAuBhE;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,oBAAoB,CAClC,SAAS,CAAC,EAAE,QAAQ,EACpB,OAAO,CAAC,EAAE,2BAA2B,GACpC,gBAAgB,GAAG,IAAI,CAgFzB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Updates `data-can-scroll-left` and `data-can-scroll-right` attributes on a tab bar element.
|
|
3
|
+
*
|
|
4
|
+
* @remarks
|
|
5
|
+
* Guards DOM `setAttribute` writes so scroll ticks do not trigger redundant attribute mutations when boundary states remain unchanged.
|
|
6
|
+
*
|
|
7
|
+
* @param el - Scrollable tab list container element, or `null`.
|
|
8
|
+
*/
|
|
9
|
+
export declare function syncTabListScrollIndicators(el: HTMLElement | null): void;
|
|
10
|
+
/**
|
|
11
|
+
* Auto-scrolls an overflowing tab bar horizontally when a dragged pointer nears its left or right edge.
|
|
12
|
+
*
|
|
13
|
+
* @param el - Scrollable tab list container element, or `null`.
|
|
14
|
+
* @param clientX - Pointer viewport X coordinate in pixels.
|
|
15
|
+
* @returns `true` if `scrollLeft` changed during this step; otherwise `false`.
|
|
16
|
+
*/
|
|
17
|
+
export declare function applyTabDragEdgeAutoScroll(el: HTMLElement | null, clientX: number): boolean;
|
|
18
|
+
//# sourceMappingURL=tabScrollErgonomics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabScrollErgonomics.d.ts","sourceRoot":"","sources":["../../src/core/tabScrollErgonomics.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,wBAAgB,2BAA2B,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,GAAG,IAAI,CAcxE;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,0BAA0B,CACxC,EAAE,EAAE,WAAW,GAAG,IAAI,EACtB,OAAO,EAAE,MAAM,GACd,OAAO,CAqBT"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { RedDokiaTheme } from '../types';
|
|
2
|
+
/** Default theme identifier applied when no explicit theme is configured. */
|
|
3
|
+
export declare const DEFAULT_THEME_ID = "dark";
|
|
4
|
+
/** Built-in themes (`dark` and `light`) shipped with RedDokia. */
|
|
5
|
+
export declare const REDDOKIA_THEMES: Record<string, RedDokiaTheme>;
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/themes/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C;;;GAGG;AACH,eAAO,MAAM,gBAAgB,SAAS,CAAC;AAEvC;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CASzD,CAAC"}
|