@dcs-tech/ui 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +362 -0
- package/README.md +3 -2
- package/THIRD_PARTY_NOTICES.md +23 -0
- package/dist/ChartImageMenu-sB2QNQzd.js +9673 -0
- package/dist/ChartView-BstZkP1g.js +1942 -0
- package/dist/{SummaryChart-i6fOdrDM.js → SummaryChart-B5ibDNOZ.js} +11 -10
- package/dist/{SummaryImage-CCt5ozD9.js → SummaryImage-CRP7X2Nl.js} +2 -2
- package/dist/SummarySeeAll-CtYRGV4G.js +101 -0
- package/dist/assets/fileTask.worker-D97s2vRV.js +1 -0
- package/dist/{columnValue-74XDBcVF.js → columnValue-BOn9NC8X.js} +86 -79
- package/dist/exportContext-CMzuzRjc.js +274 -0
- package/dist/{exportEngine-BmDly7iw.js → exportEngine-CYDN8Ty-.js} +167 -137
- package/dist/file-worker.js +1 -1
- package/dist/{fileActions-CFNO14Aj.js → fileActions-DkPEWE-t.js} +1 -1
- package/dist/{geometry-DG134nYI.js → geometry-CFS5If1N.js} +769 -466
- package/dist/index.js +21095 -12669
- package/dist/{labels-BPItSeRU.js → labels-mukFhYkc.js} +124 -1
- package/dist/{runFileTask-BIZTFnZP.js → runFileTask-DI_39TjR.js} +17 -0
- package/dist/scrollArea-B52kugL1.js +291 -0
- package/dist/style.css +1 -1
- package/dist/{summaryChartData-BiQYJbYZ.js → summaryChartData-D15kw64n.js} +6 -5
- package/dist/types/components/Charts/BarList.d.ts +4 -3
- package/dist/types/components/Charts/CalendarHeatmap.d.ts +4 -2
- package/dist/types/components/Charts/Chart.d.ts +3 -2
- package/dist/types/components/Charts/ChartView.d.ts +3 -2
- package/dist/types/components/Charts/ColumnChart.d.ts +4 -3
- package/dist/types/components/Charts/Donut.d.ts +3 -2
- package/dist/types/components/Charts/Funnel.d.ts +3 -2
- package/dist/types/components/Charts/Gauge.d.ts +3 -2
- package/dist/types/components/Charts/LineChart.d.ts +4 -3
- package/dist/types/components/Charts/NumberTrend.d.ts +4 -3
- package/dist/types/components/Charts/Progress.d.ts +3 -2
- package/dist/types/components/Charts/StackedBar.d.ts +3 -2
- package/dist/types/components/Charts/Treemap.d.ts +3 -2
- package/dist/types/components/Charts/chartData.d.ts +6 -0
- package/dist/types/components/Charts/chartImage.d.ts +2 -0
- package/dist/types/components/Charts/geometry.d.ts +3 -0
- package/dist/types/components/Charts/index.d.ts +2 -0
- package/dist/types/components/Charts/palette.d.ts +1 -0
- package/dist/types/components/Charts/parts.d.ts +14 -0
- package/dist/types/components/Charts/useChartMotion.d.ts +8 -0
- package/dist/types/components/DataTable/DataTable.d.ts +3 -1
- package/dist/types/components/DataTable/DisplayPopover.d.ts +1 -0
- package/dist/types/components/DataTable/HeaderMenu.d.ts +1 -0
- package/dist/types/components/DataTable/TableColumnModal.d.ts +4 -1
- package/dist/types/components/DataTable/TableToolbar.d.ts +20 -1
- package/dist/types/components/DataTable/TableView.d.ts +18 -2
- package/dist/types/components/DataTable/cards/CardView.d.ts +25 -5
- package/dist/types/components/DataTable/cards/rowParts.d.ts +1 -0
- package/dist/types/components/DataTable/cellSelection/CellRangeBar.d.ts +16 -0
- package/dist/types/components/DataTable/cellSelection/cellRangeStore.d.ts +18 -0
- package/dist/types/components/DataTable/cellSelection/paintRanges.d.ts +2 -0
- package/dist/types/components/DataTable/cellSelection/useCellSelection.d.ts +63 -0
- package/dist/types/components/DataTable/data/listDelta.d.ts +27 -0
- package/dist/types/components/DataTable/data/rowLineage.d.ts +3 -0
- package/dist/types/components/DataTable/data/rowModels.d.ts +9 -0
- package/dist/types/components/DataTable/data/rowTransaction.d.ts +9 -0
- package/dist/types/components/DataTable/data/useServerData.d.ts +3 -1
- package/dist/types/components/DataTable/export/exportCells.d.ts +5 -2
- package/dist/types/components/DataTable/export/exportEngine.d.ts +7 -2
- package/dist/types/components/DataTable/export/useTableExport.d.ts +17 -1
- package/dist/types/components/DataTable/filters/filterRowModel.d.ts +1 -0
- package/dist/types/components/DataTable/grouping/groupModel.d.ts +11 -0
- package/dist/types/components/DataTable/index.d.ts +1 -1
- package/dist/types/components/DataTable/keyboard/ShortcutsDialog.d.ts +4 -1
- package/dist/types/components/DataTable/keyboard/useGridKeyboard.d.ts +8 -0
- package/dist/types/components/DataTable/labels.d.ts +128 -0
- package/dist/types/components/DataTable/layout/LayoutSwitcher.d.ts +10 -2
- package/dist/types/components/DataTable/layout/useFitWidths.d.ts +7 -0
- package/dist/types/components/DataTable/menu/RowMenu.d.ts +1 -0
- package/dist/types/components/DataTable/menu/buildRowMenu.d.ts +6 -3
- package/dist/types/components/DataTable/motion/RowChangeNotice.d.ts +19 -0
- package/dist/types/components/DataTable/motion/rowChanges.d.ts +25 -0
- package/dist/types/components/DataTable/motion/useNoticeInsets.d.ts +2 -0
- package/dist/types/components/DataTable/motion/useRowChangeNotices.d.ts +35 -0
- package/dist/types/components/DataTable/motion/useRowMotion.d.ts +29 -3
- package/dist/types/components/DataTable/persistence/reconcile.d.ts +4 -0
- package/dist/types/components/DataTable/persistence/useColumnPersistence.d.ts +5 -1
- package/dist/types/components/DataTable/pivot/PivotPanel.d.ts +11 -0
- package/dist/types/components/DataTable/pivot/PivotView.d.ts +22 -0
- package/dist/types/components/DataTable/pivot/pivotModel.d.ts +54 -0
- package/dist/types/components/DataTable/pivot/usePivot.d.ts +44 -0
- package/dist/types/components/DataTable/rows/PressRow.d.ts +1 -0
- package/dist/types/components/DataTable/rows/RowLead.d.ts +23 -0
- package/dist/types/components/DataTable/rows/rowPress.d.ts +2 -0
- package/dist/types/components/DataTable/rows/usePinnedRows.d.ts +34 -0
- package/dist/types/components/DataTable/rows/useRowDrag.d.ts +44 -0
- package/dist/types/components/DataTable/split/SplitView.d.ts +4 -2
- package/dist/types/components/DataTable/summary/SummaryChart.d.ts +2 -1
- package/dist/types/components/DataTable/summary/TableSummary.d.ts +2 -1
- package/dist/types/components/DataTable/summary/summaryModel.d.ts +28 -6
- package/dist/types/components/DataTable/summary/useTableSummary.d.ts +3 -0
- package/dist/types/components/DataTable/toolbar/ToolbarMore.d.ts +14 -0
- package/dist/types/components/DataTable/toolbar/useToolbarFit.d.ts +10 -0
- package/dist/types/components/DataTable/tree/TreeChips.d.ts +5 -0
- package/dist/types/components/DataTable/tree/treeExport.d.ts +54 -0
- package/dist/types/components/DataTable/tree/treeMove.d.ts +1 -0
- package/dist/types/components/DataTable/tree/useTreeChildren.d.ts +15 -0
- package/dist/types/components/DataTable/tree/useTreeData.d.ts +60 -0
- package/dist/types/components/DataTable/types.d.ts +272 -4
- package/dist/types/components/DataTable/useDataChangeTracker.d.ts +11 -4
- package/dist/types/components/DataTable/useTable.d.ts +13 -1
- package/dist/types/components/DataTable/virtual/useVirtualLines.d.ts +1 -0
- package/dist/types/components/EventCalendar/EventCalendar.d.ts +46 -0
- package/dist/types/components/EventCalendar/eventParts.d.ts +10 -0
- package/dist/types/components/EventCalendar/index.d.ts +3 -0
- package/dist/types/components/EventCalendar/useCalendarEdit.d.ts +40 -0
- package/dist/types/components/Icon/Icon.d.ts +36 -0
- package/dist/types/components/Icon/Icon.storyData.d.ts +6 -0
- package/dist/types/components/Icon/IconContext.d.ts +7 -0
- package/dist/types/components/Icon/icons.d.ts +223 -0
- package/dist/types/components/Icon/index.d.ts +7 -0
- package/dist/types/components/Icon/useIconDone.d.ts +5 -0
- package/dist/types/components/Popover/Popover.d.ts +1 -0
- package/dist/types/components/Popover/floatingPosition.d.ts +22 -2
- package/dist/types/components/ReorderList/ReorderList.d.ts +2 -1
- package/dist/types/components/Scroll/ui.d.ts +1 -0
- package/dist/types/components/SlidingHighlight/index.d.ts +2 -0
- package/dist/types/components/SlidingHighlight/useSlidingHighlight.d.ts +20 -0
- package/dist/types/components/Suggest/SuggestionList.d.ts +1 -0
- package/dist/types/components/UIProvider/UILabelsContext.d.ts +34 -0
- package/dist/types/components/UIProvider/UIProvider.d.ts +2 -0
- package/dist/types/core/hooks/index.d.ts +1 -1
- package/dist/types/core/hooks/usePresence.d.ts +1 -0
- package/dist/types/core/icons/actions.icons.d.ts +37 -0
- package/dist/types/core/icons/commerce.icons.d.ts +16 -0
- package/dist/types/core/icons/communication.icons.d.ts +10 -0
- package/dist/types/core/icons/delivery.icons.d.ts +13 -0
- package/dist/types/core/icons/devices.icons.d.ts +16 -0
- package/dist/types/core/icons/files.icons.d.ts +13 -0
- package/dist/types/core/icons/general.icons.d.ts +24 -0
- package/dist/types/core/icons/index.d.ts +14 -0
- package/dist/types/core/icons/media.icons.d.ts +11 -0
- package/dist/types/core/icons/navigation.icons.d.ts +25 -0
- package/dist/types/core/icons/people.icons.d.ts +13 -0
- package/dist/types/core/icons/registry.d.ts +2 -0
- package/dist/types/core/icons/state.icons.d.ts +14 -0
- package/dist/types/core/icons/status.icons.d.ts +10 -0
- package/dist/types/core/icons/table.icons.d.ts +22 -0
- package/dist/types/core/icons/text.icons.d.ts +13 -0
- package/dist/types/core/logic/cellRange.logic.d.ts +66 -0
- package/dist/types/core/logic/cellTouch.logic.d.ts +16 -0
- package/dist/types/core/logic/columnGroups.logic.d.ts +31 -0
- package/dist/types/core/logic/dropdownSide.logic.d.ts +19 -0
- package/dist/types/core/logic/eventCalendar.logic.d.ts +225 -0
- package/dist/types/core/logic/fitColumns.logic.d.ts +7 -0
- package/dist/types/core/logic/icon.logic.d.ts +24 -0
- package/dist/types/core/logic/index.d.ts +16 -0
- package/dist/types/core/logic/pivot.logic.d.ts +100 -0
- package/dist/types/core/logic/rowActions.logic.d.ts +7 -0
- package/dist/types/core/logic/rowDrag.logic.d.ts +36 -0
- package/dist/types/core/logic/rowPinning.logic.d.ts +12 -0
- package/dist/types/core/logic/slidingHighlight.logic.d.ts +20 -0
- package/dist/types/core/logic/toolbarOverflow.logic.d.ts +21 -0
- package/dist/types/core/logic/treeData.logic.d.ts +44 -0
- package/dist/types/core/logic/treeDrag.logic.d.ts +63 -0
- package/dist/types/core/logic/tween.logic.d.ts +33 -0
- package/dist/types/core/logic/visualViewport.logic.d.ts +13 -0
- package/dist/types/core/types/eventCalendar.types.d.ts +18 -0
- package/dist/types/core/types/fileEngine.types.d.ts +6 -0
- package/dist/types/core/types/icon.types.d.ts +109 -0
- package/dist/types/core/types/index.d.ts +2 -0
- package/dist/types/index.d.ts +7 -0
- package/package.json +4 -4
- package/dist/ChartImageMenu-3OfqNFyt.js +0 -1510
- package/dist/ChartView-n4G5_2ro.js +0 -1707
- package/dist/SummarySeeAll-BY8knsRe.js +0 -101
- package/dist/assets/fileTask.worker--Q3rI3Bn.js +0 -1
- package/dist/exportContext-C52ZuHd8.js +0 -166
- package/dist/scrollArea-D84Cwm4o.js +0 -310
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { IconDefinition } from '../types/icon.types';
|
|
2
|
+
export declare const userIcon: IconDefinition;
|
|
3
|
+
export declare const usersIcon: IconDefinition;
|
|
4
|
+
export declare const calendarIcon: IconDefinition;
|
|
5
|
+
export declare const clockIcon: IconDefinition;
|
|
6
|
+
export declare const storeIcon: IconDefinition;
|
|
7
|
+
export declare const cardIcon: IconDefinition;
|
|
8
|
+
export declare const historyIcon: IconDefinition;
|
|
9
|
+
export declare const clockPlusIcon: IconDefinition;
|
|
10
|
+
export declare const briefcaseIcon: IconDefinition;
|
|
11
|
+
export declare const bookIcon: IconDefinition;
|
|
12
|
+
export declare const clipboardIcon: IconDefinition;
|
|
13
|
+
export declare const clipboardListIcon: IconDefinition;
|
|
14
|
+
export declare const clipboardCheckIcon: IconDefinition;
|
|
15
|
+
export declare const hierarchyIcon: IconDefinition;
|
|
16
|
+
export declare const branchIcon: IconDefinition;
|
|
17
|
+
export declare const shapesIcon: IconDefinition;
|
|
18
|
+
export declare const scaleIcon: IconDefinition;
|
|
19
|
+
export declare const lifeBuoyIcon: IconDefinition;
|
|
20
|
+
export declare const awardIcon: IconDefinition;
|
|
21
|
+
export declare const targetIcon: IconDefinition;
|
|
22
|
+
export declare const barChartIcon: IconDefinition;
|
|
23
|
+
export declare const sparklesIcon: IconDefinition;
|
|
24
|
+
export declare const handshakeIcon: IconDefinition;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from './navigation.icons';
|
|
2
|
+
export * from './actions.icons';
|
|
3
|
+
export * from './table.icons';
|
|
4
|
+
export * from './state.icons';
|
|
5
|
+
export * from './status.icons';
|
|
6
|
+
export * from './files.icons';
|
|
7
|
+
export * from './media.icons';
|
|
8
|
+
export * from './text.icons';
|
|
9
|
+
export * from './people.icons';
|
|
10
|
+
export * from './communication.icons';
|
|
11
|
+
export * from './commerce.icons';
|
|
12
|
+
export * from './delivery.icons';
|
|
13
|
+
export * from './devices.icons';
|
|
14
|
+
export * from './general.icons';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { IconDefinition } from '../types/icon.types';
|
|
2
|
+
export declare const imageAddIcon: IconDefinition;
|
|
3
|
+
export declare const zoomInIcon: IconDefinition;
|
|
4
|
+
export declare const zoomOutIcon: IconDefinition;
|
|
5
|
+
export declare const rotateLeftIcon: IconDefinition;
|
|
6
|
+
export declare const rotateRightIcon: IconDefinition;
|
|
7
|
+
export declare const flipIcon: IconDefinition;
|
|
8
|
+
export declare const rulerIcon: IconDefinition;
|
|
9
|
+
export declare const handIcon: IconDefinition;
|
|
10
|
+
export declare const imageIcon: IconDefinition;
|
|
11
|
+
export declare const cropIcon: IconDefinition;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { IconDefinition } from '../types/icon.types';
|
|
2
|
+
export declare const chevronLeftIcon: IconDefinition;
|
|
3
|
+
export declare const chevronRightIcon: IconDefinition;
|
|
4
|
+
export declare const chevronUpIcon: IconDefinition;
|
|
5
|
+
export declare const chevronDownIcon: IconDefinition;
|
|
6
|
+
export declare const firstPageIcon: IconDefinition;
|
|
7
|
+
export declare const lastPageIcon: IconDefinition;
|
|
8
|
+
export declare const arrowLeftIcon: IconDefinition;
|
|
9
|
+
export declare const arrowUpIcon: IconDefinition;
|
|
10
|
+
export declare const arrowDownIcon: IconDefinition;
|
|
11
|
+
export declare const arrowToTopIcon: IconDefinition;
|
|
12
|
+
export declare const arrowToBottomIcon: IconDefinition;
|
|
13
|
+
export declare const openExternalIcon: IconDefinition;
|
|
14
|
+
export declare const expandAllIcon: IconDefinition;
|
|
15
|
+
export declare const collapseAllIcon: IconDefinition;
|
|
16
|
+
export declare const dragHandleIcon: IconDefinition;
|
|
17
|
+
export declare const moreVerticalIcon: IconDefinition;
|
|
18
|
+
export declare const moreHorizontalIcon: IconDefinition;
|
|
19
|
+
export declare const homeIcon: IconDefinition;
|
|
20
|
+
export declare const menuIcon: IconDefinition;
|
|
21
|
+
export declare const swapHorizontalIcon: IconDefinition;
|
|
22
|
+
export declare const arrowRightIcon: IconDefinition;
|
|
23
|
+
export declare const arrowUpRightIcon: IconDefinition;
|
|
24
|
+
export declare const panelLeftIcon: IconDefinition;
|
|
25
|
+
export declare const panelRightIcon: IconDefinition;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { IconDefinition } from '../types/icon.types';
|
|
2
|
+
export declare const userAddIcon: IconDefinition;
|
|
3
|
+
export declare const userCheckIcon: IconDefinition;
|
|
4
|
+
export declare const userSearchIcon: IconDefinition;
|
|
5
|
+
export declare const userSettingsIcon: IconDefinition;
|
|
6
|
+
export declare const userShieldIcon: IconDefinition;
|
|
7
|
+
export declare const accountCircleIcon: IconDefinition;
|
|
8
|
+
export declare const idCardIcon: IconDefinition;
|
|
9
|
+
export declare const logoutIcon: IconDefinition;
|
|
10
|
+
export declare const keyIcon: IconDefinition;
|
|
11
|
+
export declare const shieldIcon: IconDefinition;
|
|
12
|
+
export declare const shieldCheckIcon: IconDefinition;
|
|
13
|
+
export declare const badgeCheckIcon: IconDefinition;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { IconDefinition } from '../types/icon.types';
|
|
2
|
+
export declare const pinIcon: IconDefinition;
|
|
3
|
+
export declare const pinOffIcon: IconDefinition;
|
|
4
|
+
export declare const starIcon: IconDefinition;
|
|
5
|
+
export declare const bookmarkIcon: IconDefinition;
|
|
6
|
+
export declare const bookmarkAddIcon: IconDefinition;
|
|
7
|
+
export declare const checkboxIcon: IconDefinition;
|
|
8
|
+
export declare const eyeIcon: IconDefinition;
|
|
9
|
+
export declare const eyeOffIcon: IconDefinition;
|
|
10
|
+
export declare const lockIcon: IconDefinition;
|
|
11
|
+
export declare const unlockIcon: IconDefinition;
|
|
12
|
+
export declare const heartIcon: IconDefinition;
|
|
13
|
+
export declare const bookmarkCheckIcon: IconDefinition;
|
|
14
|
+
export declare const circleIcon: IconDefinition;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IconDefinition } from '../types/icon.types';
|
|
2
|
+
export declare const successIcon: IconDefinition;
|
|
3
|
+
export declare const warningIcon: IconDefinition;
|
|
4
|
+
export declare const errorIcon: IconDefinition;
|
|
5
|
+
export declare const infoIcon: IconDefinition;
|
|
6
|
+
export declare const helpIcon: IconDefinition;
|
|
7
|
+
export declare const spinnerIcon: IconDefinition;
|
|
8
|
+
export declare const banIcon: IconDefinition;
|
|
9
|
+
export declare const cancelIcon: IconDefinition;
|
|
10
|
+
export declare const checkDoubleIcon: IconDefinition;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { IconDefinition } from '../types/icon.types';
|
|
2
|
+
export declare const filterIcon: IconDefinition;
|
|
3
|
+
export declare const filterOnlyIcon: IconDefinition;
|
|
4
|
+
export declare const filterAddIcon: IconDefinition;
|
|
5
|
+
export declare const filterExcludeIcon: IconDefinition;
|
|
6
|
+
export declare const filterRowIcon: IconDefinition;
|
|
7
|
+
export declare const sortIcon: IconDefinition;
|
|
8
|
+
export declare const columnsIcon: IconDefinition;
|
|
9
|
+
export declare const pivotIcon: IconDefinition;
|
|
10
|
+
export declare const groupByIcon: IconDefinition;
|
|
11
|
+
export declare const autoFitIcon: IconDefinition;
|
|
12
|
+
export declare const selectRowsIcon: IconDefinition;
|
|
13
|
+
export declare const viewsIcon: IconDefinition;
|
|
14
|
+
export declare const customizeIcon: IconDefinition;
|
|
15
|
+
export declare const layoutTableIcon: IconDefinition;
|
|
16
|
+
export declare const layoutCardsIcon: IconDefinition;
|
|
17
|
+
export declare const layoutSplitIcon: IconDefinition;
|
|
18
|
+
export declare const layoutListIcon: IconDefinition;
|
|
19
|
+
export declare const insightsIcon: IconDefinition;
|
|
20
|
+
export declare const boltIcon: IconDefinition;
|
|
21
|
+
export declare const clickIcon: IconDefinition;
|
|
22
|
+
export declare const openDetailIcon: IconDefinition;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { IconDefinition } from '../types/icon.types';
|
|
2
|
+
export declare const boldIcon: IconDefinition;
|
|
3
|
+
export declare const italicIcon: IconDefinition;
|
|
4
|
+
export declare const underlineIcon: IconDefinition;
|
|
5
|
+
export declare const strikethroughIcon: IconDefinition;
|
|
6
|
+
export declare const fontSizeIcon: IconDefinition;
|
|
7
|
+
export declare const textIcon: IconDefinition;
|
|
8
|
+
export declare const eraserIcon: IconDefinition;
|
|
9
|
+
export declare const hashIcon: IconDefinition;
|
|
10
|
+
export declare const listNumberedIcon: IconDefinition;
|
|
11
|
+
export declare const listCheckIcon: IconDefinition;
|
|
12
|
+
export declare const listPlusIcon: IconDefinition;
|
|
13
|
+
export declare const listMinusIcon: IconDefinition;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export interface CellPoint {
|
|
2
|
+
row: number;
|
|
3
|
+
col: number;
|
|
4
|
+
}
|
|
5
|
+
export interface CellRect {
|
|
6
|
+
top: number;
|
|
7
|
+
bottom: number;
|
|
8
|
+
left: number;
|
|
9
|
+
right: number;
|
|
10
|
+
}
|
|
11
|
+
export declare function cellRect(a: CellPoint, b: CellPoint): CellRect;
|
|
12
|
+
export declare const rectCellCount: (r: CellRect) => number;
|
|
13
|
+
export declare const rectHas: (r: CellRect, row: number, col: number) => boolean;
|
|
14
|
+
export declare const rectsOverlap: (a: CellRect, b: CellRect) => boolean;
|
|
15
|
+
export declare function subtractRect(a: CellRect, b: CellRect): CellRect[];
|
|
16
|
+
export declare function mergeRects(rects: readonly CellRect[]): CellRect[];
|
|
17
|
+
export declare const unionCellCount: (rects: readonly CellRect[]) => number;
|
|
18
|
+
export declare function mergeSpans(spans: ReadonlyArray<readonly [number, number]>): Array<[number, number]>;
|
|
19
|
+
export declare function rangeLines(rects: readonly CellRect[]): {
|
|
20
|
+
rows: Array<[number, number]>;
|
|
21
|
+
cols: Array<[number, number]>;
|
|
22
|
+
};
|
|
23
|
+
export declare const spanCount: (spans: ReadonlyArray<readonly [number, number]>) => number;
|
|
24
|
+
export interface CellInRanges {
|
|
25
|
+
count: number;
|
|
26
|
+
top: boolean;
|
|
27
|
+
right: boolean;
|
|
28
|
+
bottom: boolean;
|
|
29
|
+
left: boolean;
|
|
30
|
+
}
|
|
31
|
+
export declare function cellInRanges(rects: readonly CellRect[], row: number, col: number): CellInRanges;
|
|
32
|
+
export type CellMove = 'up' | 'down' | 'left' | 'right' | 'rowStart' | 'rowEnd' | 'pageUp' | 'pageDown' | 'first' | 'last';
|
|
33
|
+
export declare function moveCellPoint(p: CellPoint, move: CellMove, size: {
|
|
34
|
+
rows: number;
|
|
35
|
+
cols: number;
|
|
36
|
+
}, opts?: {
|
|
37
|
+
toEdge?: boolean;
|
|
38
|
+
page?: number;
|
|
39
|
+
}): CellPoint;
|
|
40
|
+
export type CellRangeFigureId = 'count' | 'sum' | 'avg' | 'min' | 'max';
|
|
41
|
+
export declare const CELL_RANGE_FIGURES: readonly CellRangeFigureId[];
|
|
42
|
+
export interface CellRangeFigures {
|
|
43
|
+
count: number;
|
|
44
|
+
numbers: number;
|
|
45
|
+
sum: number;
|
|
46
|
+
avg: number | null;
|
|
47
|
+
min: number | null;
|
|
48
|
+
max: number | null;
|
|
49
|
+
}
|
|
50
|
+
export declare const emptyFigures: () => CellRangeFigures;
|
|
51
|
+
export declare function figureNumber(value: unknown, numberColumn: boolean): number | null;
|
|
52
|
+
export declare function addFigure(f: CellRangeFigures, value: unknown, numberColumn: boolean): void;
|
|
53
|
+
export declare function rangeFigures(values: Iterable<unknown>, numberColumn?: boolean): CellRangeFigures;
|
|
54
|
+
export declare function figureList(config: boolean | readonly string[] | undefined): CellRangeFigureId[];
|
|
55
|
+
export declare const tsvField: (text: string) => string;
|
|
56
|
+
export declare const toTsv: (lines: ReadonlyArray<readonly string[]>) => string;
|
|
57
|
+
export declare function parseTsv(text: string): string[][];
|
|
58
|
+
export interface PastedCell {
|
|
59
|
+
row: number;
|
|
60
|
+
col: number;
|
|
61
|
+
value: string;
|
|
62
|
+
}
|
|
63
|
+
export declare function pasteCells(data: ReadonlyArray<readonly string[]>, target: CellRect | null, at: CellPoint, size: {
|
|
64
|
+
rows: number;
|
|
65
|
+
cols: number;
|
|
66
|
+
}): PastedCell[];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { CellPoint, CellRect } from './cellRange.logic';
|
|
2
|
+
export type CellTouchHandle = 'start' | 'end';
|
|
3
|
+
export interface ScreenPoint {
|
|
4
|
+
x: number;
|
|
5
|
+
y: number;
|
|
6
|
+
}
|
|
7
|
+
export declare function movedBeyond(from: ScreenPoint, to: ScreenPoint, slop: number): boolean;
|
|
8
|
+
export declare function handleAt(p: ScreenPoint, handles: {
|
|
9
|
+
start: ScreenPoint | null;
|
|
10
|
+
end: ScreenPoint | null;
|
|
11
|
+
}, radius: number): CellTouchHandle | null;
|
|
12
|
+
export declare function handleDragCorners(rect: CellRect, handle: CellTouchHandle): {
|
|
13
|
+
anchor: CellPoint;
|
|
14
|
+
moving: CellPoint;
|
|
15
|
+
};
|
|
16
|
+
export declare function rangeEdgeStep(p: number, lo: number, hi: number, edge: number, maxStep: number): number;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export interface ColumnGroupLike {
|
|
2
|
+
id: string;
|
|
3
|
+
children: ReadonlyArray<string | ColumnGroupLike>;
|
|
4
|
+
keepTogether?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare function columnGroupPaths<G extends ColumnGroupLike>(groups: readonly G[] | undefined): Map<string, G[]>;
|
|
7
|
+
export declare function columnGroupLeaves(group: ColumnGroupLike): string[];
|
|
8
|
+
export interface HeaderGroupCell<G> {
|
|
9
|
+
kind: 'group';
|
|
10
|
+
key: string;
|
|
11
|
+
group: G;
|
|
12
|
+
row: number;
|
|
13
|
+
start: number;
|
|
14
|
+
span: number;
|
|
15
|
+
continued: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface HeaderPadCell {
|
|
18
|
+
kind: 'pad';
|
|
19
|
+
key: string;
|
|
20
|
+
row: number;
|
|
21
|
+
rowSpan: number;
|
|
22
|
+
start: number;
|
|
23
|
+
column: string;
|
|
24
|
+
}
|
|
25
|
+
export type HeaderRowCell<G> = HeaderGroupCell<G> | HeaderPadCell;
|
|
26
|
+
export interface ColumnHeaderRows<G> {
|
|
27
|
+
depth: number;
|
|
28
|
+
rows: HeaderRowCell<G>[][];
|
|
29
|
+
}
|
|
30
|
+
export declare function columnHeaderRows<G extends ColumnGroupLike>(paths: ReadonlyMap<string, readonly G[]>, columns: readonly string[], breaks?: readonly number[]): ColumnHeaderRows<G>;
|
|
31
|
+
export declare function keepColumnGroupsTogether(order: readonly string[], groups: readonly ColumnGroupLike[] | undefined): readonly string[];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type DropdownSide = 'top' | 'bottom';
|
|
2
|
+
export interface ChooseDropdownSideInput {
|
|
3
|
+
roomBelowVisible: number;
|
|
4
|
+
roomAboveVisible: number;
|
|
5
|
+
scrollableBelow: number;
|
|
6
|
+
scrollableAbove?: number;
|
|
7
|
+
wanted: number;
|
|
8
|
+
preferred?: DropdownSide;
|
|
9
|
+
flip?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface DropdownSideDecision {
|
|
12
|
+
side: DropdownSide;
|
|
13
|
+
scrollBy: number;
|
|
14
|
+
room: number;
|
|
15
|
+
}
|
|
16
|
+
type Room = Omit<ChooseDropdownSideInput, 'preferred' | 'flip'>;
|
|
17
|
+
export declare function revealOnSide(side: DropdownSide, r: Room): DropdownSideDecision;
|
|
18
|
+
export declare function chooseDropdownSide(input: ChooseDropdownSideInput): DropdownSideDecision;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import type { CalendarEvent, CalendarEventColor, CalendarViewType } from '../types';
|
|
2
|
+
import { type CalendarDay, type IsoDay } from './datePicker.logic';
|
|
3
|
+
export interface PlacedCalendarEvent<T extends CalendarEvent = CalendarEvent> {
|
|
4
|
+
event: T;
|
|
5
|
+
key: string;
|
|
6
|
+
startDay: IsoDay;
|
|
7
|
+
endDay: IsoDay;
|
|
8
|
+
startTime: string | null;
|
|
9
|
+
endTime: string | null;
|
|
10
|
+
allDay: boolean;
|
|
11
|
+
multiDay: boolean;
|
|
12
|
+
days: number;
|
|
13
|
+
index: number;
|
|
14
|
+
startAt: CalendarStamp;
|
|
15
|
+
endAt: CalendarStamp;
|
|
16
|
+
hasEnd: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare const daysBetween: (a: IsoDay, b: IsoDay) => number;
|
|
19
|
+
export type CalendarStamp = number;
|
|
20
|
+
export declare const MINUTES_PER_DAY = 1440;
|
|
21
|
+
export declare const DEFAULT_EVENT_MINUTES = 60;
|
|
22
|
+
export declare const DEFAULT_SLOT_MINUTES = 30;
|
|
23
|
+
export declare const calendarStamp: (day: IsoDay, minutes?: number) => CalendarStamp;
|
|
24
|
+
export declare function stampDay(stamp: CalendarStamp): IsoDay;
|
|
25
|
+
export declare const stampMinutes: (stamp: CalendarStamp) => number;
|
|
26
|
+
export declare const stampToDateTime: (stamp: CalendarStamp) => string;
|
|
27
|
+
export declare const snapToSlot: (minutes: number, slotMinutes: number) => number;
|
|
28
|
+
export declare function placeCalendarEvent<T extends CalendarEvent>(event: T, index?: number): PlacedCalendarEvent<T> | null;
|
|
29
|
+
export declare const isCalendarBar: (item: PlacedCalendarEvent<CalendarEvent>) => boolean;
|
|
30
|
+
export declare function compareCalendarEvents(a: PlacedCalendarEvent<CalendarEvent>, b: PlacedCalendarEvent<CalendarEvent>): number;
|
|
31
|
+
export declare function normalizeCalendarEvents<T extends CalendarEvent>(events: readonly T[]): PlacedCalendarEvent<T>[];
|
|
32
|
+
export declare function calendarEventsOn<T extends CalendarEvent>(placed: readonly PlacedCalendarEvent<T>[], day: IsoDay): PlacedCalendarEvent<T>[];
|
|
33
|
+
export interface EventCalendarSegment<T extends CalendarEvent = CalendarEvent> {
|
|
34
|
+
item: PlacedCalendarEvent<T>;
|
|
35
|
+
row: number;
|
|
36
|
+
startCol: number;
|
|
37
|
+
endCol: number;
|
|
38
|
+
continuesBefore: boolean;
|
|
39
|
+
continuesAfter: boolean;
|
|
40
|
+
}
|
|
41
|
+
export interface EventCalendarDay<T extends CalendarEvent = CalendarEvent> extends CalendarDay {
|
|
42
|
+
events: PlacedCalendarEvent<T>[];
|
|
43
|
+
visible: Array<{
|
|
44
|
+
item: PlacedCalendarEvent<T>;
|
|
45
|
+
row: number;
|
|
46
|
+
}>;
|
|
47
|
+
hidden: number;
|
|
48
|
+
}
|
|
49
|
+
export interface EventCalendarWeek<T extends CalendarEvent = CalendarEvent> {
|
|
50
|
+
days: EventCalendarDay<T>[];
|
|
51
|
+
segments: EventCalendarSegment<T>[];
|
|
52
|
+
}
|
|
53
|
+
export interface EventCalendarView<T extends CalendarEvent = CalendarEvent> {
|
|
54
|
+
month: IsoDay;
|
|
55
|
+
year: number;
|
|
56
|
+
monthIndex: number;
|
|
57
|
+
weekdays: number[];
|
|
58
|
+
weeks: EventCalendarWeek<T>[];
|
|
59
|
+
rows: number;
|
|
60
|
+
}
|
|
61
|
+
export interface EventCalendarOptions<T extends CalendarEvent> {
|
|
62
|
+
month: IsoDay;
|
|
63
|
+
events: readonly T[];
|
|
64
|
+
today?: IsoDay;
|
|
65
|
+
selected?: IsoDay | null;
|
|
66
|
+
weekStart?: number;
|
|
67
|
+
maxEventRows?: number;
|
|
68
|
+
fixedWeeks?: boolean;
|
|
69
|
+
}
|
|
70
|
+
export declare const DEFAULT_EVENT_ROWS = 4;
|
|
71
|
+
export interface PackedDayBar<T extends CalendarEvent = CalendarEvent> {
|
|
72
|
+
item: PlacedCalendarEvent<T>;
|
|
73
|
+
row: number;
|
|
74
|
+
startCol: number;
|
|
75
|
+
endCol: number;
|
|
76
|
+
}
|
|
77
|
+
export declare function packDayBars<T extends CalendarEvent>(placed: readonly PlacedCalendarEvent<T>[], first: IsoDay, count: number): PackedDayBar<T>[];
|
|
78
|
+
export interface LimitedDay<T extends CalendarEvent = CalendarEvent> {
|
|
79
|
+
events: PlacedCalendarEvent<T>[];
|
|
80
|
+
visible: Array<{
|
|
81
|
+
item: PlacedCalendarEvent<T>;
|
|
82
|
+
row: number;
|
|
83
|
+
}>;
|
|
84
|
+
hidden: number;
|
|
85
|
+
}
|
|
86
|
+
export declare function limitDayBars<T extends CalendarEvent>(raw: readonly PackedDayBar<T>[], first: IsoDay, count: number, rows: number): {
|
|
87
|
+
segments: EventCalendarSegment<T>[];
|
|
88
|
+
days: LimitedDay<T>[];
|
|
89
|
+
};
|
|
90
|
+
export declare function buildEventCalendar<T extends CalendarEvent>(opts: EventCalendarOptions<T>): EventCalendarView<T>;
|
|
91
|
+
export declare function packTimeLanes(ranges: ReadonlyArray<{
|
|
92
|
+
start: number;
|
|
93
|
+
end: number;
|
|
94
|
+
}>): Array<{
|
|
95
|
+
lane: number;
|
|
96
|
+
lanes: number;
|
|
97
|
+
span: number;
|
|
98
|
+
}>;
|
|
99
|
+
export declare const isAllDayRowEvent: (item: PlacedCalendarEvent<CalendarEvent>) => boolean;
|
|
100
|
+
export interface TimeGridPiece<T extends CalendarEvent = CalendarEvent> {
|
|
101
|
+
item: PlacedCalendarEvent<T>;
|
|
102
|
+
col: number;
|
|
103
|
+
top: number;
|
|
104
|
+
length: number;
|
|
105
|
+
slot: number;
|
|
106
|
+
slotOffset: number;
|
|
107
|
+
lane: number;
|
|
108
|
+
lanes: number;
|
|
109
|
+
span: number;
|
|
110
|
+
continuesBefore: boolean;
|
|
111
|
+
continuesAfter: boolean;
|
|
112
|
+
}
|
|
113
|
+
export interface TimeGridColumn<T extends CalendarEvent = CalendarEvent> {
|
|
114
|
+
day: IsoDay;
|
|
115
|
+
date: number;
|
|
116
|
+
weekday: number;
|
|
117
|
+
isToday: boolean;
|
|
118
|
+
pieces: TimeGridPiece<T>[];
|
|
119
|
+
count: number;
|
|
120
|
+
allDayEvents: PlacedCalendarEvent<T>[];
|
|
121
|
+
allDayHidden: number;
|
|
122
|
+
}
|
|
123
|
+
export interface TimeGrid<T extends CalendarEvent = CalendarEvent> {
|
|
124
|
+
columns: TimeGridColumn<T>[];
|
|
125
|
+
allDay: EventCalendarSegment<T>[];
|
|
126
|
+
allDayRows: number;
|
|
127
|
+
slots: number[];
|
|
128
|
+
slotMinutes: number;
|
|
129
|
+
startMinutes: number;
|
|
130
|
+
endMinutes: number;
|
|
131
|
+
}
|
|
132
|
+
export interface TimeGridOptions<T extends CalendarEvent> {
|
|
133
|
+
start: IsoDay;
|
|
134
|
+
days: number;
|
|
135
|
+
events: readonly T[];
|
|
136
|
+
today?: IsoDay;
|
|
137
|
+
slotMinutes?: number;
|
|
138
|
+
dayStartHour?: number;
|
|
139
|
+
dayEndHour?: number;
|
|
140
|
+
minEventMinutes?: number;
|
|
141
|
+
maxAllDayRows?: number;
|
|
142
|
+
}
|
|
143
|
+
export declare const DEFAULT_ALL_DAY_ROWS = 3;
|
|
144
|
+
export declare function timeGridHours(opts: {
|
|
145
|
+
slotMinutes?: number;
|
|
146
|
+
dayStartHour?: number;
|
|
147
|
+
dayEndHour?: number;
|
|
148
|
+
}): {
|
|
149
|
+
slotMinutes: number;
|
|
150
|
+
startMinutes: number;
|
|
151
|
+
endMinutes: number;
|
|
152
|
+
};
|
|
153
|
+
export declare function buildTimeGrid<T extends CalendarEvent>(opts: TimeGridOptions<T>): TimeGrid<T>;
|
|
154
|
+
export declare function slotPointMinutes(slotStart: number, slotMinutes: number, offset: number, height: number): number;
|
|
155
|
+
export declare function timeGridFraction(minutes: number, startMinutes: number, endMinutes: number): number | null;
|
|
156
|
+
export declare function timeGridScrollMinutes(opts: {
|
|
157
|
+
scrollToHour?: number;
|
|
158
|
+
todayShown: boolean;
|
|
159
|
+
nowMinutes: number;
|
|
160
|
+
startMinutes: number;
|
|
161
|
+
endMinutes: number;
|
|
162
|
+
}): number;
|
|
163
|
+
export declare function edgeScrollStep(pos: number, start: number, end: number, zone: number): number;
|
|
164
|
+
export declare const EVENT_CALENDAR_NARROW_WIDTH = 600;
|
|
165
|
+
export declare const eventCalendarDisplayView: (view: CalendarViewType, narrow: boolean) => CalendarViewType;
|
|
166
|
+
export declare function eventCalendarRange(view: CalendarViewType, date: IsoDay, weekStart?: number, fixedWeeks?: boolean): {
|
|
167
|
+
start: IsoDay;
|
|
168
|
+
end: IsoDay;
|
|
169
|
+
days: number;
|
|
170
|
+
};
|
|
171
|
+
export declare function shiftCalendarDate(view: CalendarViewType, date: IsoDay, n: number): IsoDay;
|
|
172
|
+
export declare function eventCalendarTitle(view: CalendarViewType, date: IsoDay, weekStart: number, text: EventCalendarText): string;
|
|
173
|
+
export interface CalendarPoint {
|
|
174
|
+
day: IsoDay;
|
|
175
|
+
minutes: number | null;
|
|
176
|
+
}
|
|
177
|
+
export declare function moveTimeGridFocus(point: CalendarPoint, key: string, grid: {
|
|
178
|
+
slots: readonly number[];
|
|
179
|
+
first: IsoDay;
|
|
180
|
+
last: IsoDay;
|
|
181
|
+
}, ctrlKey?: boolean): CalendarPoint | null;
|
|
182
|
+
export type CalendarEditMode = 'move' | 'resize' | 'resizeStart';
|
|
183
|
+
export interface CalendarEventTiming {
|
|
184
|
+
start: string;
|
|
185
|
+
end: string | undefined;
|
|
186
|
+
allDay: boolean;
|
|
187
|
+
}
|
|
188
|
+
export interface CalendarDelta {
|
|
189
|
+
days: number;
|
|
190
|
+
minutes: number;
|
|
191
|
+
}
|
|
192
|
+
export declare function calendarEventTiming(item: PlacedCalendarEvent<CalendarEvent>): CalendarEventTiming;
|
|
193
|
+
export declare const sameCalendarTiming: (a: CalendarEventTiming, b: CalendarEventTiming) => boolean;
|
|
194
|
+
export declare function moveCalendarEvent(item: PlacedCalendarEvent<CalendarEvent>, delta: CalendarDelta): CalendarEventTiming;
|
|
195
|
+
export declare function resizeCalendarEvent(item: PlacedCalendarEvent<CalendarEvent>, delta: CalendarDelta, minMinutes?: number): CalendarEventTiming;
|
|
196
|
+
export declare function resizeCalendarEventStart(item: PlacedCalendarEvent<CalendarEvent>, delta: CalendarDelta, minMinutes?: number): CalendarEventTiming;
|
|
197
|
+
export declare function calendarDragTiming(item: PlacedCalendarEvent<CalendarEvent>, mode: CalendarEditMode, from: CalendarPoint, to: CalendarPoint, slotMinutes?: number): CalendarEventTiming;
|
|
198
|
+
export declare function calendarKeyStep(key: string, inTimeGrid: boolean, slotMinutes?: number): CalendarDelta | null;
|
|
199
|
+
export declare function addCalendarDelta(item: PlacedCalendarEvent<CalendarEvent>, mode: CalendarEditMode, delta: CalendarDelta, step: CalendarDelta, slotMinutes?: number): CalendarDelta;
|
|
200
|
+
export declare const calendarDeltaTiming: (item: PlacedCalendarEvent<CalendarEvent>, mode: CalendarEditMode, delta: CalendarDelta, slotMinutes?: number) => CalendarEventTiming;
|
|
201
|
+
export declare const timingDay: (timing: CalendarEventTiming) => IsoDay;
|
|
202
|
+
export declare const CALENDAR_DRAG_DISTANCE = 4;
|
|
203
|
+
export declare const CALENDAR_LONG_PRESS_MS = 450;
|
|
204
|
+
export declare const CALENDAR_TOUCH_SLOP = 8;
|
|
205
|
+
export type EventCalendarMove = 'previousDay' | 'nextDay' | 'previousWeek' | 'nextWeek' | 'weekStart' | 'weekEnd' | 'previousMonth' | 'nextMonth' | 'previousYear' | 'nextYear';
|
|
206
|
+
export declare function eventCalendarKeyMove(key: string, shiftKey?: boolean): EventCalendarMove | null;
|
|
207
|
+
export declare function moveEventCalendarFocus(day: IsoDay, move: EventCalendarMove, weekStart?: number): IsoDay;
|
|
208
|
+
export declare function eventCalendarFocusDay(month: IsoDay, preferred?: IsoDay | null, today?: IsoDay): IsoDay;
|
|
209
|
+
export declare function localeWeekStart(locale?: string): number;
|
|
210
|
+
export interface EventCalendarText {
|
|
211
|
+
month: (month: IsoDay) => string;
|
|
212
|
+
day: (day: IsoDay) => string;
|
|
213
|
+
shortDay: (day: IsoDay) => string;
|
|
214
|
+
time: (time: string) => string;
|
|
215
|
+
hour: (minutes: number) => string;
|
|
216
|
+
dayRange: (from: IsoDay, to: IsoDay) => string;
|
|
217
|
+
weekdays: string[];
|
|
218
|
+
}
|
|
219
|
+
export declare function eventCalendarText(locale?: string): EventCalendarText;
|
|
220
|
+
export interface EventColorValues {
|
|
221
|
+
solid: string;
|
|
222
|
+
fill: string;
|
|
223
|
+
text: string;
|
|
224
|
+
}
|
|
225
|
+
export declare function eventColorValues(color?: CalendarEventColor): EventColorValues;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { IconAnimate, IconBadge, IconBadgeGeometry, IconChange, IconDefaults, IconDefinition, IconDrawnState, IconMotionChoice, IconMotionStyle, IconPart, IconWeight } from '../types/icon.types';
|
|
2
|
+
export declare const ICON_GRID = 24;
|
|
3
|
+
export declare const ICON_MAX_DELAY = 3;
|
|
4
|
+
export declare function iconProblems(icon: IconDefinition): string[];
|
|
5
|
+
export declare const iconHasDuotone: (parts: readonly IconPart[]) => boolean;
|
|
6
|
+
export declare function iconAppearSteps(parts: readonly IconPart[]): number[];
|
|
7
|
+
export declare const ICON_WEIGHTS: Readonly<Record<IconWeight, number>>;
|
|
8
|
+
export declare const ICON_OPTICAL_BASE = 24;
|
|
9
|
+
export declare function iconOpticalScale(px: number): number;
|
|
10
|
+
export declare function iconStrokeWidth(weight: IconWeight | undefined, px?: number): number;
|
|
11
|
+
export declare const iconHasCutout: (parts: readonly IconPart[]) => boolean;
|
|
12
|
+
export declare function iconDrawSteps(parts: readonly IconPart[]): (number | undefined)[];
|
|
13
|
+
export declare const iconShakes: (parts: readonly IconPart[]) => boolean;
|
|
14
|
+
export declare function resolveIconMotion(icon: IconDefinition, own: IconMotionChoice | undefined, defaults: IconDefaults, filled?: boolean): IconMotionStyle;
|
|
15
|
+
export declare function mergeIconDefaults(parent: IconDefaults, own: IconDefaults | undefined): IconDefaults;
|
|
16
|
+
export declare function resolveIconAnimate(icon: IconDefinition, own: IconAnimate | undefined, defaults: IconDefaults): IconAnimate;
|
|
17
|
+
export declare function iconChangeBetween(prev: IconDrawnState, next: IconDrawnState): IconChange | null;
|
|
18
|
+
export declare const iconSwapDrawsAccent: (parts: readonly IconPart[], style: IconMotionStyle) => boolean;
|
|
19
|
+
export declare const ICON_DONE_MS = 1400;
|
|
20
|
+
export declare const resolveIconDoneDuration: (own: number | undefined, defaults: IconDefaults) => number;
|
|
21
|
+
export declare const ICON_BADGE_MAX = 99;
|
|
22
|
+
export declare function iconBadgeText(badge: IconBadge | undefined, max?: number): string | null;
|
|
23
|
+
export declare function iconBadgeGeometry(text: string): IconBadgeGeometry;
|
|
24
|
+
export declare function iconAccessibleName(label: string | undefined, badgeText: string | null, badgeLabel: string | undefined): string | undefined;
|
|
@@ -5,7 +5,14 @@ export * from './chipinput.logic';
|
|
|
5
5
|
export * from './collapsible.logic';
|
|
6
6
|
export * from './colorScheme';
|
|
7
7
|
export * from './columnOrder.logic';
|
|
8
|
+
export * from './columnGroups.logic';
|
|
9
|
+
export * from './fitColumns.logic';
|
|
10
|
+
export * from './toolbarOverflow.logic';
|
|
11
|
+
export * from './rowPinning.logic';
|
|
12
|
+
export * from './cellRange.logic';
|
|
13
|
+
export * from './cellTouch.logic';
|
|
8
14
|
export * from './datePicker.logic';
|
|
15
|
+
export * from './eventCalendar.logic';
|
|
9
16
|
export * from './periodPicker.logic';
|
|
10
17
|
export * from './timeField.logic';
|
|
11
18
|
export * from './editableTable.logic';
|
|
@@ -17,8 +24,11 @@ export * from './standardSchema.logic';
|
|
|
17
24
|
export * from './input.logic';
|
|
18
25
|
export * from './keyboard.logic';
|
|
19
26
|
export * from './motion.logic';
|
|
27
|
+
export * from './tween.logic';
|
|
20
28
|
export * from './navigation.logic';
|
|
21
29
|
export * from './popover.logic';
|
|
30
|
+
export * from './dropdownSide.logic';
|
|
31
|
+
export * from './visualViewport.logic';
|
|
22
32
|
export * from './popupList.logic';
|
|
23
33
|
export * from './press.logic';
|
|
24
34
|
export * from './stepper.logic';
|
|
@@ -45,3 +55,9 @@ export * from './useMergeRefs';
|
|
|
45
55
|
export * from './inertProps';
|
|
46
56
|
export * from './imageTransform.logic';
|
|
47
57
|
export * from './imageEditor.logic';
|
|
58
|
+
export * from './treeData.logic';
|
|
59
|
+
export * from './rowDrag.logic';
|
|
60
|
+
export * from './treeDrag.logic';
|
|
61
|
+
export * from './pivot.logic';
|
|
62
|
+
export * from './rowActions.logic';
|
|
63
|
+
export * from './icon.logic';
|