@lattice-php/lattice 0.66.0 → 0.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dnd/cancel-drag-start.d.ts +9 -0
- package/dist/dnd/cancel-drag-start.js +22 -0
- package/dist/dnd/cancel-drag-start.js.map +1 -0
- package/dist/dnd/index.d.ts +1 -0
- package/dist/dnd/index.js +2 -1
- package/dist/lattice.css +2 -2
- package/dist/registry.d.ts +1 -1
- package/dist/registry.js.map +1 -1
- package/dist/runtime.d.ts +8 -2
- package/dist/runtime.js +9 -2
- package/dist/types/generated.d.ts +2 -1
- package/dist-standalone/chunks/{chart-view-BUxLLL0d.js → chart-view-DGg5xdMH.js} +6 -6
- package/dist-standalone/chunks/date-picker-view-BteNbMEy.js +1 -0
- package/dist-standalone/chunks/dist-CBO25w6A.js +106 -0
- package/dist-standalone/chunks/{floating-ui.dom-CAMzcZKV.js → floating-ui.dom-C6CLKWO6.js} +1 -1
- package/dist-standalone/chunks/{input-0lNoXsuO.js → input-BIm8kbcS.js} +1 -1
- package/dist-standalone/chunks/pattern-input-view-QymBSdZR.js +1 -0
- package/dist-standalone/chunks/rich-editor-view-tuOXu5Bi.js +54 -0
- package/dist-standalone/chunks/runtime-B0w_If9U.js +162 -0
- package/dist-standalone/chunks/{subscriptions-B8LBYkG9.js → subscriptions-_pe6h-Og.js} +1 -1
- package/dist-standalone/lattice.css +1 -1
- package/dist-standalone/lattice.js +1 -1
- package/dist-standalone/manifest.json +1 -1
- package/dist-standalone/runtime.js +1 -1
- package/dist-standalone/sprite.svg +1 -1
- package/package.json +6 -6
- package/dist-standalone/chunks/date-picker-view-AOnd0UmR.js +0 -1
- package/dist-standalone/chunks/dist-Dd8dg4q5.js +0 -106
- package/dist-standalone/chunks/pattern-input-view-ihxYDpcy.js +0 -1
- package/dist-standalone/chunks/rich-editor-view-CtsrB2Em.js +0 -53
- package/dist-standalone/chunks/runtime-ALHU7xph.js +0 -162
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Browsers retarget `dragstart` to the closest draggable ancestor, so neither
|
|
3
|
+
* a drag adapter's `canDrag()` nor `event.target` can see an inline form
|
|
4
|
+
* control the gesture started in; without this capture-phase cancel,
|
|
5
|
+
* selecting text in it drags the item instead. The control is focused by the
|
|
6
|
+
* initiating mousedown, so a focused interactive descendant also marks the
|
|
7
|
+
* drag as text selection, not an item move.
|
|
8
|
+
*/
|
|
9
|
+
export declare function cancelDragStartFromInteractive(element: Element, isInteractive: (target: Element) => boolean): () => void;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//#region resources/js/dnd/cancel-drag-start.ts
|
|
2
|
+
/**
|
|
3
|
+
* Browsers retarget `dragstart` to the closest draggable ancestor, so neither
|
|
4
|
+
* a drag adapter's `canDrag()` nor `event.target` can see an inline form
|
|
5
|
+
* control the gesture started in; without this capture-phase cancel,
|
|
6
|
+
* selecting text in it drags the item instead. The control is focused by the
|
|
7
|
+
* initiating mousedown, so a focused interactive descendant also marks the
|
|
8
|
+
* drag as text selection, not an item move.
|
|
9
|
+
*/
|
|
10
|
+
function cancelDragStartFromInteractive(element, isInteractive) {
|
|
11
|
+
const cancel = (event) => {
|
|
12
|
+
const target = event.target;
|
|
13
|
+
const focused = element.ownerDocument.activeElement;
|
|
14
|
+
if (target instanceof Element && isInteractive(target) || focused !== null && element.contains(focused) && isInteractive(focused)) event.preventDefault();
|
|
15
|
+
};
|
|
16
|
+
element.addEventListener("dragstart", cancel, true);
|
|
17
|
+
return () => element.removeEventListener("dragstart", cancel, true);
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
export { cancelDragStartFromInteractive };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=cancel-drag-start.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancel-drag-start.js","names":[],"sources":["../../resources/js/dnd/cancel-drag-start.ts"],"sourcesContent":["/**\n * Browsers retarget `dragstart` to the closest draggable ancestor, so neither\n * a drag adapter's `canDrag()` nor `event.target` can see an inline form\n * control the gesture started in; without this capture-phase cancel,\n * selecting text in it drags the item instead. The control is focused by the\n * initiating mousedown, so a focused interactive descendant also marks the\n * drag as text selection, not an item move.\n */\nexport function cancelDragStartFromInteractive(\n element: Element,\n isInteractive: (target: Element) => boolean,\n): () => void {\n const cancel = (event: Event): void => {\n const target = event.target;\n const focused = element.ownerDocument.activeElement;\n\n if (\n (target instanceof Element && isInteractive(target)) ||\n (focused !== null && element.contains(focused) && isInteractive(focused))\n ) {\n event.preventDefault();\n }\n };\n\n element.addEventListener(\"dragstart\", cancel, true);\n\n return () => element.removeEventListener(\"dragstart\", cancel, true);\n}\n"],"mappings":";;;;;;;;;AAQA,SAAgB,+BACd,SACA,eACY;CACZ,MAAM,UAAU,UAAuB;EACrC,MAAM,SAAS,MAAM;EACrB,MAAM,UAAU,QAAQ,cAAc;EAEtC,IACG,kBAAkB,WAAW,cAAc,MAAM,KACjD,YAAY,QAAQ,QAAQ,SAAS,OAAO,KAAK,cAAc,OAAO,GAEvE,MAAM,eAAe;CAEzB;CAEA,QAAQ,iBAAiB,aAAa,QAAQ,IAAI;CAElD,aAAa,QAAQ,oBAAoB,aAAa,QAAQ,IAAI;AACpE"}
|
package/dist/dnd/index.d.ts
CHANGED
|
@@ -14,3 +14,4 @@ export { reorderWithEdge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/util/r
|
|
|
14
14
|
export { announce, cleanup as cleanupLiveRegion, } from '@atlaskit/pragmatic-drag-and-drop-live-region';
|
|
15
15
|
export { autoScrollForElements, autoScrollWindowForElements, } from '@atlaskit/pragmatic-drag-and-drop-auto-scroll/element';
|
|
16
16
|
export { pointerOutsideOfPreview } from '@atlaskit/pragmatic-drag-and-drop/element/pointer-outside-of-preview';
|
|
17
|
+
export { cancelDragStartFromInteractive } from './cancel-drag-start.js';
|
package/dist/dnd/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { cancelDragStartFromInteractive } from "./cancel-drag-start.js";
|
|
1
2
|
import { draggable, dropTargetForElements, monitorForElements } from "@atlaskit/pragmatic-drag-and-drop/element/adapter";
|
|
2
3
|
import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine";
|
|
3
4
|
import { reorder } from "@atlaskit/pragmatic-drag-and-drop/reorder";
|
|
@@ -10,4 +11,4 @@ import { reorderWithEdge } from "@atlaskit/pragmatic-drag-and-drop-hitbox/util/r
|
|
|
10
11
|
import { announce, cleanup as cleanupLiveRegion } from "@atlaskit/pragmatic-drag-and-drop-live-region";
|
|
11
12
|
import { autoScrollForElements, autoScrollWindowForElements } from "@atlaskit/pragmatic-drag-and-drop-auto-scroll/element";
|
|
12
13
|
import { pointerOutsideOfPreview } from "@atlaskit/pragmatic-drag-and-drop/element/pointer-outside-of-preview";
|
|
13
|
-
export { announce, attachClosestEdge, attachTreeItemInstruction, autoScrollForElements, autoScrollWindowForElements, cleanupLiveRegion, combine, draggable, dropTargetForElements, extractClosestEdge, extractTreeItemInstruction, getReorderDestinationIndex, monitorForElements, pointerOutsideOfPreview, preserveOffsetOnSource, reorder, reorderWithEdge, setCustomNativeDragPreview };
|
|
14
|
+
export { announce, attachClosestEdge, attachTreeItemInstruction, autoScrollForElements, autoScrollWindowForElements, cancelDragStartFromInteractive, cleanupLiveRegion, combine, draggable, dropTargetForElements, extractClosestEdge, extractTreeItemInstruction, getReorderDestinationIndex, monitorForElements, pointerOutsideOfPreview, preserveOffsetOnSource, reorder, reorderWithEdge, setCustomNativeDragPreview };
|
package/dist/lattice.css
CHANGED
|
@@ -101,8 +101,8 @@
|
|
|
101
101
|
--lt-input-font-size-mobile: 1rem;
|
|
102
102
|
|
|
103
103
|
/* Table cell padding — table density lever */
|
|
104
|
-
--lt-table-cell-x: calc(var(--spacing) *
|
|
105
|
-
--lt-table-cell-y: calc(var(--spacing) *
|
|
104
|
+
--lt-table-cell-x: calc(var(--spacing) * 3);
|
|
105
|
+
--lt-table-cell-y: calc(var(--spacing) * 3);
|
|
106
106
|
|
|
107
107
|
--lt-font-weight-normal: 400;
|
|
108
108
|
--lt-font-weight-medium: 500;
|
package/dist/registry.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ActionNodeType, FormNodeType, FragmentNodeType, LayoutNodeType, NodeType, NotificationNodeType, RemoteNodeType, TableNodeType, UiNodeType } from './types/generated.js';
|
|
2
|
-
type OptInNodeType = "api-reference" | "calendar" | "chat.box" | "chat.part.text" | "chat.part.tool-call" | "map" | "media.library" | "pdf" | "search.box" | "search.categories" | "search.input" | "search.preview" | "search.recent" | "search.results" | "signature" | "tree";
|
|
2
|
+
type OptInNodeType = "api-reference" | "board" | "calendar" | "chat.box" | "chat.part.text" | "chat.part.tool-call" | "map" | "media.library" | "pdf" | "search.box" | "search.categories" | "search.input" | "search.preview" | "search.recent" | "search.results" | "signature" | "tree";
|
|
3
3
|
type RegisteredNodeType = ActionNodeType | FormNodeType | FragmentNodeType | LayoutNodeType | NotificationNodeType | OptInNodeType | RemoteNodeType | TableNodeType | UiNodeType;
|
|
4
4
|
type Assert<T extends true> = T;
|
|
5
5
|
export type AllNodeTypesRegistered = Assert<Exclude<NodeType, RegisteredNodeType> extends never ? true : false>;
|
package/dist/registry.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.js","names":[],"sources":["../resources/js/registry.ts"],"sourcesContent":["import { createRegistry } from \"@lattice-php/core/registry\";\nimport { navigationPlugin } from \"./inertia-navigation\";\nimport type {\n ActionNodeType,\n FormNodeType,\n FragmentNodeType,\n LayoutNodeType,\n NodeType,\n NotificationNodeType,\n RemoteNodeType,\n TableNodeType,\n UiNodeType,\n} from \"@lattice-php/lattice/types/generated\";\nimport { actionComponents } from \"@lattice-php/action/plugin\";\nimport { formComponents } from \"@lattice-php/form\";\nimport { fragmentComponents } from \"./fragments/plugin\";\nimport { layoutComponents } from \"./layout/plugin\";\nimport { notificationsComponents } from \"./notifications/plugin\";\nimport { remoteComponents } from \"./remote/plugin\";\nimport { tableComponents } from \"@lattice-php/table\";\nimport { uiComponents } from \"@lattice-php/ui\";\n\n// Opt-in packages whose plugins are not bundled in the framework registry —\n// a consuming app registers them itself when it opts into the package.\n// WireModelBuilder::buildAll() still discovers them for the framework\n// document's system-wide NodeType (every composer package that declares\n// extra.lattice.discover, not just the ones this workbench emits a module\n// for), so their node types are legitimately part of it and are acknowledged\n// here rather than belonging to a registered plugin's union.\ntype OptInNodeType =\n | \"api-reference\"\n | \"calendar\"\n | \"chat.box\"\n | \"chat.part.text\"\n | \"chat.part.tool-call\"\n | \"map\"\n | \"media.library\"\n | \"pdf\"\n | \"search.box\"\n | \"search.categories\"\n | \"search.input\"\n | \"search.preview\"\n | \"search.recent\"\n | \"search.results\"\n | \"signature\"\n | \"tree\";\n\n// Compile-time totality: every generated NodeType must belong to a registered\n// plugin's union, or be an acknowledged opt-in package above. A new PHP\n// domain fails here until its plugin exists (or it's added to the opt-in list).\ntype RegisteredNodeType =\n | ActionNodeType\n | FormNodeType\n | FragmentNodeType\n | LayoutNodeType\n | NotificationNodeType\n | OptInNodeType\n | RemoteNodeType\n | TableNodeType\n | UiNodeType;\ntype Assert<T extends true> = T;\nexport type AllNodeTypesRegistered = Assert<\n Exclude<NodeType, RegisteredNodeType> extends never ? true : false\n>;\n\nexport const registry = createRegistry(\n uiComponents,\n fragmentComponents,\n actionComponents,\n formComponents,\n layoutComponents,\n tableComponents,\n notificationsComponents,\n remoteComponents,\n navigationPlugin,\n);\n"],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"registry.js","names":[],"sources":["../resources/js/registry.ts"],"sourcesContent":["import { createRegistry } from \"@lattice-php/core/registry\";\nimport { navigationPlugin } from \"./inertia-navigation\";\nimport type {\n ActionNodeType,\n FormNodeType,\n FragmentNodeType,\n LayoutNodeType,\n NodeType,\n NotificationNodeType,\n RemoteNodeType,\n TableNodeType,\n UiNodeType,\n} from \"@lattice-php/lattice/types/generated\";\nimport { actionComponents } from \"@lattice-php/action/plugin\";\nimport { formComponents } from \"@lattice-php/form\";\nimport { fragmentComponents } from \"./fragments/plugin\";\nimport { layoutComponents } from \"./layout/plugin\";\nimport { notificationsComponents } from \"./notifications/plugin\";\nimport { remoteComponents } from \"./remote/plugin\";\nimport { tableComponents } from \"@lattice-php/table\";\nimport { uiComponents } from \"@lattice-php/ui\";\n\n// Opt-in packages whose plugins are not bundled in the framework registry —\n// a consuming app registers them itself when it opts into the package.\n// WireModelBuilder::buildAll() still discovers them for the framework\n// document's system-wide NodeType (every composer package that declares\n// extra.lattice.discover, not just the ones this workbench emits a module\n// for), so their node types are legitimately part of it and are acknowledged\n// here rather than belonging to a registered plugin's union.\ntype OptInNodeType =\n | \"api-reference\"\n | \"board\"\n | \"calendar\"\n | \"chat.box\"\n | \"chat.part.text\"\n | \"chat.part.tool-call\"\n | \"map\"\n | \"media.library\"\n | \"pdf\"\n | \"search.box\"\n | \"search.categories\"\n | \"search.input\"\n | \"search.preview\"\n | \"search.recent\"\n | \"search.results\"\n | \"signature\"\n | \"tree\";\n\n// Compile-time totality: every generated NodeType must belong to a registered\n// plugin's union, or be an acknowledged opt-in package above. A new PHP\n// domain fails here until its plugin exists (or it's added to the opt-in list).\ntype RegisteredNodeType =\n | ActionNodeType\n | FormNodeType\n | FragmentNodeType\n | LayoutNodeType\n | NotificationNodeType\n | OptInNodeType\n | RemoteNodeType\n | TableNodeType\n | UiNodeType;\ntype Assert<T extends true> = T;\nexport type AllNodeTypesRegistered = Assert<\n Exclude<NodeType, RegisteredNodeType> extends never ? true : false\n>;\n\nexport const registry = createRegistry(\n uiComponents,\n fragmentComponents,\n actionComponents,\n formComponents,\n layoutComponents,\n tableComponents,\n notificationsComponents,\n remoteComponents,\n navigationPlugin,\n);\n"],"mappings":";;;;;;;;;;;AAkEA,IAAa,WAAW,eACtB,cACA,oBACA,kBACA,gBACA,kBACA,iBACA,yBACA,kBACA,gBACF"}
|
package/dist/runtime.d.ts
CHANGED
|
@@ -5,10 +5,11 @@ export { defaultNavigation, NavigationProvider, useNavigation } from '@lattice-p
|
|
|
5
5
|
export { callAction, runAction, useCallAction } from '@lattice-php/action';
|
|
6
6
|
export type { CallActionResult } from '@lattice-php/action';
|
|
7
7
|
export { ActionConfirmOverlay } from '@lattice-php/action/components/action-confirm-overlay';
|
|
8
|
+
export { ActionsDropdown } from '@lattice-php/action/components/actions-dropdown';
|
|
8
9
|
export { apiFetch, apiJson, setRefRefreshEndpoint, xsrfToken } from '@lattice-php/core/api';
|
|
9
10
|
export { useExtensionRegistry } from '@lattice-php/core/registry-context';
|
|
10
11
|
export { RenderNode } from '@lattice-php/core/renderer';
|
|
11
|
-
export { coerceColor, toneProps } from '@lattice-php/ui/lib/color';
|
|
12
|
+
export { coerceColor, colorValue, toneProps } from '@lattice-php/ui/lib/color';
|
|
12
13
|
export { nodeIdentity } from '@lattice-php/core/test-id';
|
|
13
14
|
export { requestSignedUpload, xhrTransfer } from '@lattice-php/core/upload';
|
|
14
15
|
export { SimpleField } from '@lattice-php/form/components/base/simple-field';
|
|
@@ -17,9 +18,14 @@ export * from '@lattice-php/form/toolkit';
|
|
|
17
18
|
export { useTable } from '@lattice-php/table/hooks/use-table';
|
|
18
19
|
export { useTableSelection } from '@lattice-php/table/hooks/use-table-selection';
|
|
19
20
|
export { getBulkActionNodes } from '@lattice-php/table/lib/bulk';
|
|
21
|
+
export { TableSearch } from '@lattice-php/table/components/table-search';
|
|
22
|
+
export { FilterBar, FilterMenu } from '@lattice-php/table/components/filter-bar';
|
|
23
|
+
export { appendTableFilters, fetchFilterOptions, getUrlQueryParams, } from '@lattice-php/table/lib/query';
|
|
24
|
+
export { isActiveFilterValue } from '@lattice-php/table/lib/filter-values';
|
|
25
|
+
export { BOARD_OWNED_QUERY_KEYS, claimUrlSyncScope, writeQueryToUrl, } from '@lattice-php/table/lib/url-sync';
|
|
20
26
|
export { useAction } from '@lattice-php/action/hooks/use-action';
|
|
21
27
|
export { MODAL_MISSING_ERROR, useEmbeddedModal, useModal, } from '@lattice-php/ui/components/modal/modal-host';
|
|
22
28
|
export { Badge, Button, cn, CodeBlock, ConfirmDialog, CopyButton, Dialog, DialogContent, DialogHeader, DialogTitle, formatDateValue, IconButton, InfoTooltip, NativeSelect, PreviewableImage, SegmentedControl, Spinner, useDebouncedCallback, useFormatContext, usePersistentState, } from '@lattice-php/ui';
|
|
23
29
|
export { Checkbox, Combobox, Input, Label, Textarea } from '@lattice-php/form';
|
|
24
30
|
export * from '@lattice-php/ui/i18n';
|
|
25
|
-
export { announce, attachTreeItemInstruction, combine, draggable, dropTargetForElements, extractTreeItemInstruction, } from './dnd/index.js';
|
|
31
|
+
export { announce, attachTreeItemInstruction, cancelDragStartFromInteractive, combine, draggable, dropTargetForElements, extractTreeItemInstruction, } from './dnd/index.js';
|
package/dist/runtime.js
CHANGED
|
@@ -10,6 +10,7 @@ import { registry } from "./registry.js";
|
|
|
10
10
|
import { createLatticeApp } from "./create-app.js";
|
|
11
11
|
import { Provider, useColumnRegistry, useComponentRegistry } from "./provider.js";
|
|
12
12
|
import { Icon, IconRenderer, IconRendererProvider, LATTICE_EVENT, LATTICE_REF_HEADER, Renderer, SpriteProvider, builtinEffectHandlers, columnCell, copyToClipboard, createRegistry, dispatchActionError, dispatchEffects, eagerComponent, effectHandler, extendRegistry, getActionEffects, isActionEffect, lazyComponent, loadPluginModules, mergeEffectHandlers, useEffectDispatcher, withHeaders, withRefHeader } from "./index.js";
|
|
13
|
+
import { cancelDragStartFromInteractive } from "./dnd/cancel-drag-start.js";
|
|
13
14
|
import { announce, attachTreeItemInstruction, combine, draggable, dropTargetForElements, extractTreeItemInstruction } from "./dnd/index.js";
|
|
14
15
|
import { Checkbox, Combobox, Input, Label, Textarea } from "@lattice-php/form";
|
|
15
16
|
import { Badge, Button, CodeBlock, ConfirmDialog, CopyButton, Dialog, DialogContent, DialogHeader, DialogTitle, IconButton, InfoTooltip, NativeSelect, PreviewableImage, SegmentedControl, Spinner, cn, formatDateValue, useDebouncedCallback, useFormatContext, usePersistentState } from "@lattice-php/ui";
|
|
@@ -21,7 +22,8 @@ import { NavigationProvider, defaultNavigation, useNavigation } from "@lattice-p
|
|
|
21
22
|
import { MODAL_MISSING_ERROR, useEmbeddedModal, useModal } from "@lattice-php/ui/components/modal/modal-host";
|
|
22
23
|
import { callAction, runAction, useCallAction } from "@lattice-php/action";
|
|
23
24
|
import { ActionConfirmOverlay } from "@lattice-php/action/components/action-confirm-overlay";
|
|
24
|
-
import {
|
|
25
|
+
import { ActionsDropdown } from "@lattice-php/action/components/actions-dropdown";
|
|
26
|
+
import { coerceColor, colorValue, toneProps } from "@lattice-php/ui/lib/color";
|
|
25
27
|
import { nodeIdentity } from "@lattice-php/core/test-id";
|
|
26
28
|
import { requestSignedUpload, xhrTransfer } from "@lattice-php/core/upload";
|
|
27
29
|
import { SimpleField } from "@lattice-php/form/components/base/simple-field";
|
|
@@ -29,7 +31,12 @@ import { RICH_EDITOR_EXTENSION, ToolbarIconButton } from "@lattice-php/form/rich
|
|
|
29
31
|
import { useTable } from "@lattice-php/table/hooks/use-table";
|
|
30
32
|
import { useTableSelection } from "@lattice-php/table/hooks/use-table-selection";
|
|
31
33
|
import { getBulkActionNodes } from "@lattice-php/table/lib/bulk";
|
|
34
|
+
import { TableSearch } from "@lattice-php/table/components/table-search";
|
|
35
|
+
import { FilterBar, FilterMenu } from "@lattice-php/table/components/filter-bar";
|
|
36
|
+
import { appendTableFilters, fetchFilterOptions, getUrlQueryParams } from "@lattice-php/table/lib/query";
|
|
37
|
+
import { isActiveFilterValue } from "@lattice-php/table/lib/filter-values";
|
|
38
|
+
import { BOARD_OWNED_QUERY_KEYS, claimUrlSyncScope, writeQueryToUrl } from "@lattice-php/table/lib/url-sync";
|
|
32
39
|
import { useAction } from "@lattice-php/action/hooks/use-action";
|
|
33
40
|
export * from "@lattice-php/ui/i18n";
|
|
34
41
|
export * from "@lattice-php/form/toolkit";
|
|
35
|
-
export { ActionConfirmOverlay, Badge, Button, Checkbox, CodeBlock, Combobox, ConfirmDialog, CopyButton, Dialog, DialogContent, DialogHeader, DialogTitle, EventBridge, Icon, IconButton, IconRenderer, IconRendererProvider, InfoTooltip, Input, LATTICE_EVENT, LATTICE_REF_HEADER, Label, MODAL_MISSING_ERROR, NativeSelect, NavigationProvider, OutletProvider, PreviewableImage, Provider, RICH_EDITOR_EXTENSION, RealtimeListeners, RenderNode, Renderer, SchemaLayout, SegmentedControl, SimpleField, Spinner, SpriteProvider, Textarea, ToolbarIconButton, announce, apiFetch, apiJson, attachTreeItemInstruction, builtinEffectHandlers, callAction, cn, coerceColor, columnCell, combine, copyToClipboard, createLatticeApp, createLayoutResolver, createPageResolver, createRegistry, defaultNavigation, dispatchActionError, dispatchEffects, draggable, dropTargetForElements, eagerComponent, effectHandler, extendRegistry, extractTreeItemInstruction, formatDateValue, getActionEffects, getBulkActionNodes, inertiaNavigation, initializeAppearance, isActionEffect, layoutComponents, lazyComponent, loadPluginModules, mergeEffectHandlers, navigationPlugin, nodeIdentity, pageComponentName, registry, requestSignedUpload, router, runAction, setRefRefreshEndpoint, toneProps, updateAppearance, useAction, useAppearance, useCallAction, useColumnRegistry, useComponentRegistry, useDebouncedCallback, useEffectDispatcher, useEmbeddedModal, useExtensionRegistry, useFormatContext, useModal, useNavigation, useOutlet, usePersistentState, useTable, useTableSelection, withHeaders, withRefHeader, withVisitHeaders, xhrTransfer, xsrfToken };
|
|
42
|
+
export { ActionConfirmOverlay, ActionsDropdown, BOARD_OWNED_QUERY_KEYS, Badge, Button, Checkbox, CodeBlock, Combobox, ConfirmDialog, CopyButton, Dialog, DialogContent, DialogHeader, DialogTitle, EventBridge, FilterBar, FilterMenu, Icon, IconButton, IconRenderer, IconRendererProvider, InfoTooltip, Input, LATTICE_EVENT, LATTICE_REF_HEADER, Label, MODAL_MISSING_ERROR, NativeSelect, NavigationProvider, OutletProvider, PreviewableImage, Provider, RICH_EDITOR_EXTENSION, RealtimeListeners, RenderNode, Renderer, SchemaLayout, SegmentedControl, SimpleField, Spinner, SpriteProvider, TableSearch, Textarea, ToolbarIconButton, announce, apiFetch, apiJson, appendTableFilters, attachTreeItemInstruction, builtinEffectHandlers, callAction, cancelDragStartFromInteractive, claimUrlSyncScope, cn, coerceColor, colorValue, columnCell, combine, copyToClipboard, createLatticeApp, createLayoutResolver, createPageResolver, createRegistry, defaultNavigation, dispatchActionError, dispatchEffects, draggable, dropTargetForElements, eagerComponent, effectHandler, extendRegistry, extractTreeItemInstruction, fetchFilterOptions, formatDateValue, getActionEffects, getBulkActionNodes, getUrlQueryParams, inertiaNavigation, initializeAppearance, isActionEffect, isActiveFilterValue, layoutComponents, lazyComponent, loadPluginModules, mergeEffectHandlers, navigationPlugin, nodeIdentity, pageComponentName, registry, requestSignedUpload, router, runAction, setRefRefreshEndpoint, toneProps, updateAppearance, useAction, useAppearance, useCallAction, useColumnRegistry, useComponentRegistry, useDebouncedCallback, useEffectDispatcher, useEmbeddedModal, useExtensionRegistry, useFormatContext, useModal, useNavigation, useOutlet, usePersistentState, useTable, useTableSelection, withHeaders, withRefHeader, withVisitHeaders, writeQueryToUrl, xhrTransfer, xsrfToken };
|
|
@@ -2,6 +2,7 @@ import { Breadcrumb, Node, RemoteAccess } from '@lattice-php/core';
|
|
|
2
2
|
import { Size, Translatable, Variant } from '@lattice-php/ui';
|
|
3
3
|
import { Effect } from '@lattice-php/ui/effects/types';
|
|
4
4
|
export type ActionNodeType = "action" | "action.bulk" | "action.group";
|
|
5
|
+
export type BoardNodeType = "board";
|
|
5
6
|
export type CalendarNodeType = "calendar";
|
|
6
7
|
export type ChannelVisibility = "public" | "private" | "presence";
|
|
7
8
|
export type ChatNodeType = "chat.box" | "chat.part.text" | "chat.part.tool-call";
|
|
@@ -46,7 +47,7 @@ export type Listen = {
|
|
|
46
47
|
};
|
|
47
48
|
export type MapNodeType = "map";
|
|
48
49
|
export type MediumNodeType = "media.library";
|
|
49
|
-
export type NodeType = "accordion" | "action" | "action.bulk" | "action.group" | "api-reference" | "avatar" | "badge" | "breadcrumbs" | "button" | "calendar" | "callouts" | "card" | "chart" | "chat.box" | "chat.part.text" | "chat.part.tool-call" | "code-block" | "collapsible" | "description-list" | "dropdown" | "entry.badge" | "entry.boolean" | "entry.component" | "entry.date" | "entry.text" | "field.builder" | "field.checkbox" | "field.choice" | "field.color-picker" | "field.date-input" | "field.date-time-input" | "field.file-upload" | "field.hidden-input" | "field.media-picker" | "field.number-input" | "field.otp" | "field.password-input" | "field.pattern-input" | "field.repeater" | "field.rich-editor" | "field.select" | "field.text-input" | "field.textarea" | "field.time-input" | "field.toggle" | "field.tree" | "floating-panel" | "form" | "fragment" | "grid" | "heading" | "icon" | "image" | "link" | "map" | "media.library" | "menu" | "menu-item" | "modal" | "notifications" | "outlet" | "pdf" | "popover" | "progress" | "raw-block" | "remote.data-list" | "search.box" | "search.categories" | "search.input" | "search.preview" | "search.recent" | "search.results" | "section" | "segmented-control" | "separator" | "sidebar" | "sidebar.footer" | "signature" | "stack" | "tab" | "table" | "tabs" | "text" | "tooltip" | "topbar" | "tree" | "wizard" | "wizard-step";
|
|
50
|
+
export type NodeType = "accordion" | "action" | "action.bulk" | "action.group" | "api-reference" | "avatar" | "badge" | "board" | "breadcrumbs" | "button" | "calendar" | "callouts" | "card" | "chart" | "chat.box" | "chat.part.text" | "chat.part.tool-call" | "code-block" | "collapsible" | "description-list" | "dropdown" | "entry.badge" | "entry.boolean" | "entry.component" | "entry.date" | "entry.text" | "field.builder" | "field.checkbox" | "field.choice" | "field.color-picker" | "field.date-input" | "field.date-time-input" | "field.file-upload" | "field.hidden-input" | "field.media-picker" | "field.number-input" | "field.otp" | "field.password-input" | "field.pattern-input" | "field.repeater" | "field.rich-editor" | "field.select" | "field.text-input" | "field.textarea" | "field.time-input" | "field.toggle" | "field.tree" | "floating-panel" | "form" | "fragment" | "grid" | "heading" | "icon" | "image" | "link" | "map" | "media.library" | "menu" | "menu-item" | "modal" | "notifications" | "outlet" | "pdf" | "popover" | "progress" | "raw-block" | "remote.data-list" | "search.box" | "search.categories" | "search.input" | "search.preview" | "search.recent" | "search.results" | "section" | "segmented-control" | "separator" | "sidebar" | "sidebar.footer" | "signature" | "stack" | "tab" | "table" | "tabs" | "text" | "tooltip" | "topbar" | "tree" | "wizard" | "wizard-step";
|
|
50
51
|
export type NotificationItem = {
|
|
51
52
|
readonly actions: Node[];
|
|
52
53
|
readonly body: Translatable | string | null;
|