@mistriwork/kit 1.0.0-rc.11 → 1.0.0-rc.13
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/client/actionGrants.d.ts +21 -0
- package/dist/client/actionGrants.js +24 -0
- package/dist/client/addressMount.d.ts +67 -0
- package/dist/client/addressMount.js +136 -0
- package/dist/client/app.d.ts +10 -0
- package/dist/client/app.js +976 -0
- package/dist/client/boot.d.ts +1 -0
- package/dist/client/boot.js +37 -0
- package/dist/client/brandLook.css +125 -0
- package/dist/client/breakdownBatch.d.ts +34 -0
- package/dist/client/breakdownBatch.js +115 -0
- package/dist/client/bulkActions.d.ts +66 -0
- package/dist/client/bulkActions.js +171 -0
- package/dist/client/chart.d.ts +20 -0
- package/dist/client/chart.js +80 -0
- package/dist/client/clauses.d.ts +121 -0
- package/dist/client/clauses.js +276 -0
- package/dist/client/columns.d.ts +77 -0
- package/dist/client/columns.js +102 -0
- package/dist/client/components/Accordion.d.ts +26 -0
- package/dist/client/components/Accordion.js +44 -0
- package/dist/client/components/ApiOperations.d.ts +3 -0
- package/dist/client/components/ApiOperations.js +162 -0
- package/dist/client/components/AppColumnMenu.d.ts +66 -0
- package/dist/client/components/AppColumnMenu.js +59 -0
- package/dist/client/components/AppColumnMenuPopups.d.ts +21 -0
- package/dist/client/components/AppColumnMenuPopups.js +92 -0
- package/dist/client/components/AppFooter.css +17 -0
- package/dist/client/components/AppFooter.d.ts +23 -0
- package/dist/client/components/AppFooter.js +12 -0
- package/dist/client/components/AppIssues.d.ts +4 -0
- package/dist/client/components/AppIssues.js +18 -0
- package/dist/client/components/AppList.d.ts +20 -0
- package/dist/client/components/AppList.js +696 -0
- package/dist/client/components/AttachmentList.d.ts +45 -0
- package/dist/client/components/AttachmentList.js +178 -0
- package/dist/client/components/BoardList.css +9 -0
- package/dist/client/components/Breakdown.d.ts +11 -0
- package/dist/client/components/Breakdown.js +157 -0
- package/dist/client/components/BreakdownRoom.d.ts +4 -0
- package/dist/client/components/BreakdownRoom.js +48 -0
- package/dist/client/components/CardsList.d.ts +23 -0
- package/dist/client/components/CardsList.js +209 -0
- package/dist/client/components/Chart.css +165 -0
- package/dist/client/components/Chart.d.ts +194 -0
- package/dist/client/components/Chart.js +801 -0
- package/dist/client/components/ChartFigure.d.ts +82 -0
- package/dist/client/components/ChartFigure.js +102 -0
- package/dist/client/components/ChartShapes.css +213 -0
- package/dist/client/components/ChartShapes.d.ts +63 -0
- package/dist/client/components/ChartShapes.js +393 -0
- package/dist/client/components/Checklist.css +16 -0
- package/dist/client/components/Composer.d.ts +1 -0
- package/dist/client/components/Composer.js +331 -0
- package/dist/client/components/Content.d.ts +8 -0
- package/dist/client/components/Content.js +170 -0
- package/dist/client/components/CountedLabel.d.ts +10 -0
- package/dist/client/components/CountedLabel.js +26 -0
- package/dist/client/components/Crumbs.d.ts +11 -0
- package/dist/client/components/Crumbs.js +142 -0
- package/dist/client/components/DashboardList.css +7 -0
- package/dist/client/components/DashboardList.d.ts +9 -0
- package/dist/client/components/DashboardList.js +46 -0
- package/dist/client/components/DashboardNote.d.ts +21 -0
- package/dist/client/components/DashboardNote.js +22 -0
- package/dist/client/components/DateField.css +6 -0
- package/dist/client/components/DateField.d.ts +7 -0
- package/dist/client/components/DateField.js +27 -0
- package/dist/client/components/DefinedFields.d.ts +50 -0
- package/dist/client/components/DefinedFields.js +186 -0
- package/dist/client/components/DeleteButton.d.ts +30 -0
- package/dist/client/components/DeleteButton.js +198 -0
- package/dist/client/components/Diagram.d.ts +7 -0
- package/dist/client/components/Diagram.js +320 -0
- package/dist/client/components/Dressed.d.ts +31 -0
- package/dist/client/components/Dressed.js +138 -0
- package/dist/client/components/Dropdown.d.ts +14 -0
- package/dist/client/components/Dropdown.js +20 -0
- package/dist/client/components/EditLayoutButton.d.ts +13 -0
- package/dist/client/components/EditLayoutButton.js +7 -0
- package/dist/client/components/Editable.d.ts +47 -0
- package/dist/client/components/Editable.js +422 -0
- package/dist/client/components/ErrorBoundary.d.ts +40 -0
- package/dist/client/components/ErrorBoundary.js +41 -0
- package/dist/client/components/Export.d.ts +15 -0
- package/dist/client/components/Export.js +151 -0
- package/dist/client/components/ExportHold.d.ts +18 -0
- package/dist/client/components/ExportHold.js +30 -0
- package/dist/client/components/FavoriteStar.d.ts +5 -0
- package/dist/client/components/FavoriteStar.js +14 -0
- package/dist/client/components/FieldArranger.d.ts +29 -0
- package/dist/client/components/FieldArranger.js +83 -0
- package/dist/client/components/FilePreview.css +20 -0
- package/dist/client/components/FilePreview.d.ts +26 -0
- package/dist/client/components/FilePreview.js +170 -0
- package/dist/client/components/FilterBoxes.d.ts +76 -0
- package/dist/client/components/FilterBoxes.js +294 -0
- package/dist/client/components/FilterRail.css +100 -0
- package/dist/client/components/FilterRail.d.ts +61 -0
- package/dist/client/components/FilterRail.js +559 -0
- package/dist/client/components/Gallery.d.ts +11 -0
- package/dist/client/components/Gallery.js +53 -0
- package/dist/client/components/Grid.d.ts +122 -0
- package/dist/client/components/Grid.js +1115 -0
- package/dist/client/components/GridCellEditor.d.ts +35 -0
- package/dist/client/components/GridCellEditor.js +291 -0
- package/dist/client/components/GridSelection.d.ts +16 -0
- package/dist/client/components/GridSelection.js +28 -0
- package/dist/client/components/HelpPanel.d.ts +5 -0
- package/dist/client/components/HelpPanel.js +92 -0
- package/dist/client/components/History.d.ts +10 -0
- package/dist/client/components/History.js +22 -0
- package/dist/client/components/Icon.d.ts +31 -0
- package/dist/client/components/Icon.js +20 -0
- package/dist/client/components/JsonPreview.d.ts +5 -0
- package/dist/client/components/JsonPreview.js +25 -0
- package/dist/client/components/JsonValue.d.ts +4 -0
- package/dist/client/components/JsonValue.js +3 -0
- package/dist/client/components/JsonView.css +109 -0
- package/dist/client/components/JsonView.d.ts +3 -0
- package/dist/client/components/JsonView.js +118 -0
- package/dist/client/components/Landing.d.ts +19 -0
- package/dist/client/components/Landing.js +55 -0
- package/dist/client/components/LandingSurface.css +177 -0
- package/dist/client/components/LandingSurface.d.ts +42 -0
- package/dist/client/components/LandingSurface.js +108 -0
- package/dist/client/components/LayoutBuilder.d.ts +36 -0
- package/dist/client/components/LayoutBuilder.js +104 -0
- package/dist/client/components/Lightbox.d.ts +29 -0
- package/dist/client/components/Lightbox.js +62 -0
- package/dist/client/components/ListEmpty.css +13 -0
- package/dist/client/components/ListEmpty.d.ts +10 -0
- package/dist/client/components/ListEmpty.js +8 -0
- package/dist/client/components/ListFilterBar.css +76 -0
- package/dist/client/components/ListFilterBar.d.ts +52 -0
- package/dist/client/components/ListFilterBar.js +304 -0
- package/dist/client/components/LiveNotices.css +105 -0
- package/dist/client/components/LiveNotices.d.ts +26 -0
- package/dist/client/components/LiveNotices.js +211 -0
- package/dist/client/components/MinorMoneyInput.d.ts +26 -0
- package/dist/client/components/MinorMoneyInput.js +50 -0
- package/dist/client/components/Modal.css +3 -0
- package/dist/client/components/MultiStepForm.css +122 -0
- package/dist/client/components/MultiStepForm.d.ts +59 -0
- package/dist/client/components/MultiStepForm.js +216 -0
- package/dist/client/components/NavGlyph.d.ts +14 -0
- package/dist/client/components/NavGlyph.js +27 -0
- package/dist/client/components/Nested.d.ts +21 -0
- package/dist/client/components/Nested.js +86 -0
- package/dist/client/components/NewRecord.d.ts +89 -0
- package/dist/client/components/NewRecord.js +897 -0
- package/dist/client/components/NewRecordButton.d.ts +13 -0
- package/dist/client/components/NewRecordButton.js +28 -0
- package/dist/client/components/Notes.css +39 -0
- package/dist/client/components/Notes.d.ts +59 -0
- package/dist/client/components/Notes.js +96 -0
- package/dist/client/components/OverflowMenu.d.ts +3 -0
- package/dist/client/components/OverflowMenu.js +60 -0
- package/dist/client/components/Page.d.ts +52 -0
- package/dist/client/components/Page.js +237 -0
- package/dist/client/components/PageCurrent.d.ts +38 -0
- package/dist/client/components/PageCurrent.js +27 -0
- package/dist/client/components/PageEmptyRun.d.ts +18 -0
- package/dist/client/components/PageEmptyRun.js +118 -0
- package/dist/client/components/PageFields.d.ts +3 -0
- package/dist/client/components/PageFields.js +294 -0
- package/dist/client/components/PageFlowDiagram.css +193 -0
- package/dist/client/components/PageFlowDiagram.d.ts +95 -0
- package/dist/client/components/PageFlowDiagram.js +276 -0
- package/dist/client/components/PageFlows.css +27 -0
- package/dist/client/components/PageFlows.d.ts +54 -0
- package/dist/client/components/PageFlows.js +92 -0
- package/dist/client/components/PageGroups.d.ts +43 -0
- package/dist/client/components/PageGroups.js +123 -0
- package/dist/client/components/PageHead.d.ts +28 -0
- package/dist/client/components/PageHead.js +279 -0
- package/dist/client/components/PageHeadline.d.ts +23 -0
- package/dist/client/components/PageHeadline.js +101 -0
- package/dist/client/components/PageHistory.d.ts +62 -0
- package/dist/client/components/PageHistory.js +160 -0
- package/dist/client/components/PageLayout.d.ts +22 -0
- package/dist/client/components/PageLayout.js +13 -0
- package/dist/client/components/PageMetrics.d.ts +11 -0
- package/dist/client/components/PageMetrics.js +252 -0
- package/dist/client/components/PageRelated.d.ts +70 -0
- package/dist/client/components/PageRelated.js +667 -0
- package/dist/client/components/PageRoom.d.ts +37 -0
- package/dist/client/components/PageRoom.js +277 -0
- package/dist/client/components/PageSectionBox.d.ts +28 -0
- package/dist/client/components/PageSectionBox.js +65 -0
- package/dist/client/components/PageSections.d.ts +38 -0
- package/dist/client/components/PageSections.js +352 -0
- package/dist/client/components/PageSkeleton.css +17 -0
- package/dist/client/components/PageSkeleton.d.ts +11 -0
- package/dist/client/components/PageSkeleton.js +25 -0
- package/dist/client/components/PageTimeline.d.ts +2 -0
- package/dist/client/components/PageTimeline.js +273 -0
- package/dist/client/components/Palette.d.ts +4 -0
- package/dist/client/components/Palette.js +176 -0
- package/dist/client/components/Peek.d.ts +1 -0
- package/dist/client/components/Peek.js +158 -0
- package/dist/client/components/PeekPanel.d.ts +16 -0
- package/dist/client/components/PeekPanel.js +120 -0
- package/dist/client/components/Picker.d.ts +13 -0
- package/dist/client/components/Picker.js +33 -0
- package/dist/client/components/Prefs.d.ts +3 -0
- package/dist/client/components/Prefs.js +121 -0
- package/dist/client/components/PresentationSwitch.d.ts +13 -0
- package/dist/client/components/PresentationSwitch.js +10 -0
- package/dist/client/components/Prompt.d.ts +35 -0
- package/dist/client/components/Prompt.js +114 -0
- package/dist/client/components/QrCode.css +11 -0
- package/dist/client/components/QrCode.d.ts +4 -0
- package/dist/client/components/QrCode.js +57 -0
- package/dist/client/components/QueueList.css +122 -0
- package/dist/client/components/QuickAdd.css +18 -0
- package/dist/client/components/QuickAdd.d.ts +11 -0
- package/dist/client/components/QuickAdd.js +53 -0
- package/dist/client/components/QuickAddOnDemand.d.ts +4 -0
- package/dist/client/components/QuickAddOnDemand.js +10 -0
- package/dist/client/components/Record.d.ts +36 -0
- package/dist/client/components/Record.js +385 -0
- package/dist/client/components/RecordGone.d.ts +7 -0
- package/dist/client/components/RecordGone.js +22 -0
- package/dist/client/components/RecordPicker.d.ts +59 -0
- package/dist/client/components/RecordPicker.js +299 -0
- package/dist/client/components/RecordSummaries.d.ts +55 -0
- package/dist/client/components/RecordSummaries.js +151 -0
- package/dist/client/components/RecordTags.d.ts +6 -0
- package/dist/client/components/RecordTags.js +119 -0
- package/dist/client/components/RecordTrailNav.d.ts +25 -0
- package/dist/client/components/RecordTrailNav.js +110 -0
- package/dist/client/components/RichText.d.ts +7 -0
- package/dist/client/components/RichText.js +82 -0
- package/dist/client/components/RichTextEditor.css +202 -0
- package/dist/client/components/RichTextEditor.d.ts +33 -0
- package/dist/client/components/RichTextEditor.js +348 -0
- package/dist/client/components/RichTextField.d.ts +26 -0
- package/dist/client/components/RichTextField.js +71 -0
- package/dist/client/components/Rooms.d.ts +35 -0
- package/dist/client/components/Rooms.js +276 -0
- package/dist/client/components/RowActions.d.ts +8 -0
- package/dist/client/components/RowActions.js +49 -0
- package/dist/client/components/RowHost.d.ts +110 -0
- package/dist/client/components/RowHost.js +212 -0
- package/dist/client/components/SavedViews.d.ts +25 -0
- package/dist/client/components/SavedViews.js +35 -0
- package/dist/client/components/SchemaExport.d.ts +15 -0
- package/dist/client/components/SchemaExport.js +42 -0
- package/dist/client/components/SectionPeriod.css +14 -0
- package/dist/client/components/SectionPeriod.d.ts +7 -0
- package/dist/client/components/SectionPeriod.js +14 -0
- package/dist/client/components/SetFieldDialog.d.ts +12 -0
- package/dist/client/components/SetFieldDialog.js +51 -0
- package/dist/client/components/Sidebar.d.ts +34 -0
- package/dist/client/components/Sidebar.js +398 -0
- package/dist/client/components/Skeleton.d.ts +35 -0
- package/dist/client/components/Skeleton.js +49 -0
- package/dist/client/components/SortMenu.d.ts +20 -0
- package/dist/client/components/SortMenu.js +45 -0
- package/dist/client/components/SplitListDetail.css +119 -0
- package/dist/client/components/SuggestBox.d.ts +29 -0
- package/dist/client/components/SuggestBox.js +60 -0
- package/dist/client/components/Summary.d.ts +14 -0
- package/dist/client/components/Summary.js +93 -0
- package/dist/client/components/TableRoom.d.ts +88 -0
- package/dist/client/components/TableRoom.js +246 -0
- package/dist/client/components/TableView.d.ts +111 -0
- package/dist/client/components/TableView.js +324 -0
- package/dist/client/components/ThMenu.d.ts +40 -0
- package/dist/client/components/ThMenu.js +163 -0
- package/dist/client/components/ThemeLab.d.ts +4 -0
- package/dist/client/components/ThemeLab.js +67 -0
- package/dist/client/components/TimelineSides.css +23 -0
- package/dist/client/components/TimelineSides.d.ts +7 -0
- package/dist/client/components/TimelineSides.js +9 -0
- package/dist/client/components/Tour.d.ts +12 -0
- package/dist/client/components/Tour.js +131 -0
- package/dist/client/components/Value.d.ts +38 -0
- package/dist/client/components/Value.js +172 -0
- package/dist/client/components/WorkPanel.d.ts +9 -0
- package/dist/client/components/WorkPanel.js +43 -0
- package/dist/client/components/WorkflowStatus.d.ts +6 -0
- package/dist/client/components/WorkflowStatus.js +44 -0
- package/dist/client/components/WriteConfirm.d.ts +4 -0
- package/dist/client/components/WriteConfirm.js +27 -0
- package/dist/client/components/appColumnMenuModel.d.ts +46 -0
- package/dist/client/components/appColumnMenuModel.js +51 -0
- package/dist/client/components/appListModel.d.ts +179 -0
- package/dist/client/components/appListModel.js +421 -0
- package/dist/client/components/appRooms.d.ts +106 -0
- package/dist/client/components/appRooms.js +133 -0
- package/dist/client/components/autoChart.d.ts +33 -0
- package/dist/client/components/autoChart.js +107 -0
- package/dist/client/components/avatarPhotos.d.ts +45 -0
- package/dist/client/components/avatarPhotos.js +93 -0
- package/dist/client/components/besideDetail.d.ts +1 -0
- package/dist/client/components/besideDetail.js +10 -0
- package/dist/client/components/boardNew.d.ts +2 -0
- package/dist/client/components/boardNew.js +8 -0
- package/dist/client/components/cardsModel.d.ts +11 -0
- package/dist/client/components/cardsModel.js +24 -0
- package/dist/client/components/chromeIcons.d.ts +16 -0
- package/dist/client/components/chromeIcons.js +16 -0
- package/dist/client/components/columnPresentation.d.ts +8 -0
- package/dist/client/components/columnPresentation.js +47 -0
- package/dist/client/components/componentSlot.d.ts +31 -0
- package/dist/client/components/componentSlot.js +76 -0
- package/dist/client/components/composerDraft.d.ts +16 -0
- package/dist/client/components/composerDraft.js +16 -0
- package/dist/client/components/conditionText.d.ts +14 -0
- package/dist/client/components/conditionText.js +45 -0
- package/dist/client/components/conditionWords.d.ts +37 -0
- package/dist/client/components/conditionWords.js +382 -0
- package/dist/client/components/crumbSlot.d.ts +14 -0
- package/dist/client/components/crumbSlot.js +49 -0
- package/dist/client/components/dashboardModel.d.ts +283 -0
- package/dist/client/components/dashboardModel.js +415 -0
- package/dist/client/components/dashboardParts.d.ts +9 -0
- package/dist/client/components/dashboardParts.js +18 -0
- package/dist/client/components/diagramModel.d.ts +83 -0
- package/dist/client/components/diagramModel.js +211 -0
- package/dist/client/components/dueOpen.d.ts +1 -0
- package/dist/client/components/dueOpen.js +23 -0
- package/dist/client/components/editInteraction.d.ts +20 -0
- package/dist/client/components/editInteraction.js +178 -0
- package/dist/client/components/favoriteNav.d.ts +6 -0
- package/dist/client/components/favoriteNav.js +31 -0
- package/dist/client/components/favorites.d.ts +23 -0
- package/dist/client/components/favorites.js +86 -0
- package/dist/client/components/filePreviewModel.d.ts +18 -0
- package/dist/client/components/filePreviewModel.js +21 -0
- package/dist/client/components/filterRailModel.d.ts +93 -0
- package/dist/client/components/filterRailModel.js +302 -0
- package/dist/client/components/formControlsStyle.d.ts +1 -0
- package/dist/client/components/formControlsStyle.js +3 -0
- package/dist/client/components/formDefaults.d.ts +17 -0
- package/dist/client/components/formDefaults.js +128 -0
- package/dist/client/components/gridArrange.d.ts +33 -0
- package/dist/client/components/gridArrange.js +62 -0
- package/dist/client/components/gridCellModel.d.ts +32 -0
- package/dist/client/components/gridCellModel.js +42 -0
- package/dist/client/components/gridSizing.d.ts +89 -0
- package/dist/client/components/gridSizing.js +295 -0
- package/dist/client/components/groupMoves.d.ts +44 -0
- package/dist/client/components/groupMoves.js +295 -0
- package/dist/client/components/groupOrder.d.ts +43 -0
- package/dist/client/components/groupOrder.js +63 -0
- package/dist/client/components/inputRenderers.d.ts +48 -0
- package/dist/client/components/inputRenderers.js +37 -0
- package/dist/client/components/intakeStyle.d.ts +2 -0
- package/dist/client/components/intakeStyle.js +6 -0
- package/dist/client/components/jsonModel.d.ts +98 -0
- package/dist/client/components/jsonModel.js +264 -0
- package/dist/client/components/listColumn.d.ts +20 -0
- package/dist/client/components/listColumn.js +31 -0
- package/dist/client/components/listNavigation.d.ts +16 -0
- package/dist/client/components/listNavigation.js +14 -0
- package/dist/client/components/mentionRows.d.ts +5 -0
- package/dist/client/components/mentionRows.js +62 -0
- package/dist/client/components/mount.d.ts +55 -0
- package/dist/client/components/mount.js +155 -0
- package/dist/client/components/myViews.d.ts +54 -0
- package/dist/client/components/myViews.js +82 -0
- package/dist/client/components/navCounts.d.ts +84 -0
- package/dist/client/components/navCounts.js +194 -0
- package/dist/client/components/navigationTree.d.ts +52 -0
- package/dist/client/components/navigationTree.js +49 -0
- package/dist/client/components/newMenuModel.d.ts +27 -0
- package/dist/client/components/newMenuModel.js +58 -0
- package/dist/client/components/newRecordModel.d.ts +58 -0
- package/dist/client/components/newRecordModel.js +232 -0
- package/dist/client/components/onDemand.d.ts +30 -0
- package/dist/client/components/onDemand.js +121 -0
- package/dist/client/components/optimisticMoves.d.ts +21 -0
- package/dist/client/components/optimisticMoves.js +145 -0
- package/dist/client/components/pageContext.d.ts +154 -0
- package/dist/client/components/pageContext.js +47 -0
- package/dist/client/components/pageFieldsRead.d.ts +67 -0
- package/dist/client/components/pageFieldsRead.js +55 -0
- package/dist/client/components/pageModel.d.ts +203 -0
- package/dist/client/components/pageModel.js +67 -0
- package/dist/client/components/pageStep.d.ts +31 -0
- package/dist/client/components/pageStep.js +15 -0
- package/dist/client/components/paletteModel.d.ts +9 -0
- package/dist/client/components/paletteModel.js +46 -0
- package/dist/client/components/pickerStaleness.d.ts +32 -0
- package/dist/client/components/pickerStaleness.js +27 -0
- package/dist/client/components/placeOrder.d.ts +47 -0
- package/dist/client/components/placeOrder.js +71 -0
- package/dist/client/components/pointerDrag.d.ts +54 -0
- package/dist/client/components/pointerDrag.js +95 -0
- package/dist/client/components/presentationFit.d.ts +19 -0
- package/dist/client/components/presentationFit.js +32 -0
- package/dist/client/components/recordKeys.d.ts +2 -0
- package/dist/client/components/recordKeys.js +8 -0
- package/dist/client/components/recordSearch.d.ts +31 -0
- package/dist/client/components/recordSearch.js +80 -0
- package/dist/client/components/recordSurface.d.ts +86 -0
- package/dist/client/components/recordSurface.js +267 -0
- package/dist/client/components/rowOpens.d.ts +19 -0
- package/dist/client/components/rowOpens.js +25 -0
- package/dist/client/components/sidebarModel.d.ts +152 -0
- package/dist/client/components/sidebarModel.js +372 -0
- package/dist/client/components/suggestModel.d.ts +22 -0
- package/dist/client/components/suggestModel.js +49 -0
- package/dist/client/components/suggestPart.d.ts +4 -0
- package/dist/client/components/suggestPart.js +4 -0
- package/dist/client/components/textMeasure.d.ts +2 -0
- package/dist/client/components/textMeasure.js +35 -0
- package/dist/client/components/unknownIcon.d.ts +8 -0
- package/dist/client/components/unknownIcon.js +32 -0
- package/dist/client/components/useBulkSelection.d.ts +30 -0
- package/dist/client/components/useBulkSelection.js +360 -0
- package/dist/client/components/useConditionWords.d.ts +17 -0
- package/dist/client/components/useConditionWords.js +104 -0
- package/dist/client/components/useGridKeyboard.d.ts +32 -0
- package/dist/client/components/useGridKeyboard.js +223 -0
- package/dist/client/components/useListOrder.d.ts +94 -0
- package/dist/client/components/useListOrder.js +294 -0
- package/dist/client/components/useMediaQuery.d.ts +10 -0
- package/dist/client/components/useMediaQuery.js +45 -0
- package/dist/client/components/useMessageLanguage.d.ts +1 -0
- package/dist/client/components/useMessageLanguage.js +6 -0
- package/dist/client/components/usePins.d.ts +20 -0
- package/dist/client/components/usePins.js +66 -0
- package/dist/client/components/usePointerDrag.d.ts +72 -0
- package/dist/client/components/usePointerDrag.js +553 -0
- package/dist/client/components/useRecordInsert.d.ts +42 -0
- package/dist/client/components/useRecordInsert.js +145 -0
- package/dist/client/components/useRowWindow.d.ts +35 -0
- package/dist/client/components/useRowWindow.js +149 -0
- package/dist/client/components/useStickyHead.d.ts +17 -0
- package/dist/client/components/useStickyHead.js +65 -0
- package/dist/client/components/useTabFold.d.ts +32 -0
- package/dist/client/components/useTabFold.js +145 -0
- package/dist/client/components/valueModel.d.ts +300 -0
- package/dist/client/components/valueModel.js +560 -0
- package/dist/client/components/valueRenderers.d.ts +36 -0
- package/dist/client/components/valueRenderers.js +13 -0
- package/dist/client/components/viewLink.d.ts +27 -0
- package/dist/client/components/viewLink.js +79 -0
- package/dist/client/components/walk.d.ts +14 -0
- package/dist/client/components/walk.js +16 -0
- package/dist/client/compose.d.ts +8 -0
- package/dist/client/compose.js +163 -0
- package/dist/client/composedHook.d.ts +20 -0
- package/dist/client/composedHook.js +12 -0
- package/dist/client/composedReads.d.ts +26 -0
- package/dist/client/composedReads.js +183 -0
- package/dist/client/composer.css +499 -0
- package/dist/client/composer.d.ts +121 -0
- package/dist/client/composer.js +1079 -0
- package/dist/client/composerEntry.d.ts +1 -0
- package/dist/client/composerEntry.js +58 -0
- package/dist/client/composerTab.d.ts +6 -0
- package/dist/client/composerTab.js +20 -0
- package/dist/client/conditions.d.ts +46 -0
- package/dist/client/conditions.js +150 -0
- package/dist/client/connectionList.d.ts +14 -0
- package/dist/client/connectionList.js +149 -0
- package/dist/client/connectionScope.d.ts +6 -0
- package/dist/client/connectionScope.js +14 -0
- package/dist/client/connectionTransition.d.ts +12 -0
- package/dist/client/connectionTransition.js +41 -0
- package/dist/client/copy/columnMenu/components/AppColumnMenu.d.ts +4 -0
- package/dist/client/copy/columnMenu/components/AppColumnMenu.js +6 -0
- package/dist/client/copy/columnMenu/components/AppColumnMenuPopups.d.ts +4 -0
- package/dist/client/copy/columnMenu/components/AppColumnMenuPopups.js +6 -0
- package/dist/client/copy/columnMenu/components/ThMenu.d.ts +35 -0
- package/dist/client/copy/columnMenu/components/ThMenu.js +37 -0
- package/dist/client/copy/columnMenu/components/appColumnMenuModel.d.ts +10 -0
- package/dist/client/copy/columnMenu/components/appColumnMenuModel.js +12 -0
- package/dist/client/copy/dashboards/breakdownBatch.d.ts +3 -0
- package/dist/client/copy/dashboards/breakdownBatch.js +5 -0
- package/dist/client/copy/dashboards/components/Breakdown.d.ts +32 -0
- package/dist/client/copy/dashboards/components/Breakdown.js +25 -0
- package/dist/client/copy/dashboards/components/BreakdownRoom.d.ts +3 -0
- package/dist/client/copy/dashboards/components/BreakdownRoom.js +5 -0
- package/dist/client/copy/dashboards/components/Chart.d.ts +26 -0
- package/dist/client/copy/dashboards/components/Chart.js +19 -0
- package/dist/client/copy/dashboards/components/ChartShapes.d.ts +16 -0
- package/dist/client/copy/dashboards/components/ChartShapes.js +12 -0
- package/dist/client/copy/dashboards/components/PageMetrics.d.ts +21 -0
- package/dist/client/copy/dashboards/components/PageMetrics.js +20 -0
- package/dist/client/copy/dashboards/components/SectionPeriod.d.ts +4 -0
- package/dist/client/copy/dashboards/components/SectionPeriod.js +6 -0
- package/dist/client/copy/dashboards/components/dashboardModel.d.ts +3 -0
- package/dist/client/copy/dashboards/components/dashboardModel.js +5 -0
- package/dist/client/copy/es.d.ts +11 -0
- package/dist/client/copy/es.js +60 -0
- package/dist/client/copy/filters/components/FilterBoxes.d.ts +10 -0
- package/dist/client/copy/filters/components/FilterBoxes.js +12 -0
- package/dist/client/copy/filters/components/FilterRail.d.ts +16 -0
- package/dist/client/copy/filters/components/FilterRail.js +18 -0
- package/dist/client/copy/filters/components/ListFilterBar.d.ts +9 -0
- package/dist/client/copy/filters/components/ListFilterBar.js +11 -0
- package/dist/client/copy/filters/components/conditionWords.d.ts +46 -0
- package/dist/client/copy/filters/components/conditionWords.js +95 -0
- package/dist/client/copy/filters/components/filterRailModel.d.ts +12 -0
- package/dist/client/copy/filters/components/filterRailModel.js +14 -0
- package/dist/client/copy/forms/components/DateField.d.ts +13 -0
- package/dist/client/copy/forms/components/DateField.js +15 -0
- package/dist/client/copy/forms/components/MinorMoneyInput.d.ts +4 -0
- package/dist/client/copy/forms/components/MinorMoneyInput.js +6 -0
- package/dist/client/copy/forms/components/MultiStepForm.d.ts +10 -0
- package/dist/client/copy/forms/components/MultiStepForm.js +12 -0
- package/dist/client/copy/forms/components/NewRecord.d.ts +29 -0
- package/dist/client/copy/forms/components/NewRecord.js +31 -0
- package/dist/client/copy/forms/components/NewRecordButton.d.ts +6 -0
- package/dist/client/copy/forms/components/NewRecordButton.js +8 -0
- package/dist/client/copy/forms/components/Picker.d.ts +4 -0
- package/dist/client/copy/forms/components/Picker.js +6 -0
- package/dist/client/copy/forms/components/QuickAdd.d.ts +3 -0
- package/dist/client/copy/forms/components/QuickAdd.js +5 -0
- package/dist/client/copy/forms/components/RecordPicker.d.ts +6 -0
- package/dist/client/copy/forms/components/RecordPicker.js +8 -0
- package/dist/client/copy/forms/components/RichTextEditor.d.ts +36 -0
- package/dist/client/copy/forms/components/RichTextEditor.js +40 -0
- package/dist/client/copy/forms/components/RichTextField.d.ts +3 -0
- package/dist/client/copy/forms/components/RichTextField.js +5 -0
- package/dist/client/copy/forms/components/SetFieldDialog.d.ts +10 -0
- package/dist/client/copy/forms/components/SetFieldDialog.js +9 -0
- package/dist/client/copy/forms/components/useRecordInsert.d.ts +7 -0
- package/dist/client/copy/forms/components/useRecordInsert.js +9 -0
- package/dist/client/copy/help/helpContent.d.ts +71 -0
- package/dist/client/copy/help/helpContent.js +73 -0
- package/dist/client/copy/lists/bulkActions.d.ts +12 -0
- package/dist/client/copy/lists/bulkActions.js +14 -0
- package/dist/client/copy/lists/components/AppList.d.ts +28 -0
- package/dist/client/copy/lists/components/AppList.js +30 -0
- package/dist/client/copy/lists/components/CardsList.d.ts +3 -0
- package/dist/client/copy/lists/components/CardsList.js +5 -0
- package/dist/client/copy/lists/components/Gallery.d.ts +7 -0
- package/dist/client/copy/lists/components/Gallery.js +9 -0
- package/dist/client/copy/lists/components/Grid.d.ts +30 -0
- package/dist/client/copy/lists/components/Grid.js +29 -0
- package/dist/client/copy/lists/components/GridCellEditor.d.ts +5 -0
- package/dist/client/copy/lists/components/GridCellEditor.js +7 -0
- package/dist/client/copy/lists/components/GridSelection.d.ts +4 -0
- package/dist/client/copy/lists/components/GridSelection.js +6 -0
- package/dist/client/copy/lists/components/Nested.d.ts +7 -0
- package/dist/client/copy/lists/components/Nested.js +9 -0
- package/dist/client/copy/lists/components/RowActions.d.ts +1 -0
- package/dist/client/copy/lists/components/RowActions.js +3 -0
- package/dist/client/copy/lists/components/SavedViews.d.ts +5 -0
- package/dist/client/copy/lists/components/SavedViews.js +7 -0
- package/dist/client/copy/lists/components/SortMenu.d.ts +5 -0
- package/dist/client/copy/lists/components/SortMenu.js +7 -0
- package/dist/client/copy/lists/components/TableRoom.d.ts +12 -0
- package/dist/client/copy/lists/components/TableRoom.js +14 -0
- package/dist/client/copy/lists/components/TableView.d.ts +37 -0
- package/dist/client/copy/lists/components/TableView.js +39 -0
- package/dist/client/copy/lists/components/appListModel.d.ts +6 -0
- package/dist/client/copy/lists/components/appListModel.js +5 -0
- package/dist/client/copy/lists/components/myViews.d.ts +4 -0
- package/dist/client/copy/lists/components/myViews.js +6 -0
- package/dist/client/copy/lists/components/placeOrder.d.ts +4 -0
- package/dist/client/copy/lists/components/placeOrder.js +6 -0
- package/dist/client/copy/lists/components/useBulkSelection.d.ts +20 -0
- package/dist/client/copy/lists/components/useBulkSelection.js +16 -0
- package/dist/client/copy/lists/components/useListOrder.d.ts +7 -0
- package/dist/client/copy/lists/components/useListOrder.js +9 -0
- package/dist/client/copy/public/components/appRooms.d.ts +3 -0
- package/dist/client/copy/public/components/appRooms.js +5 -0
- package/dist/client/copy/record/components/Actions.d.ts +13 -0
- package/dist/client/copy/record/components/Actions.js +15 -0
- package/dist/client/copy/record/components/AttachmentList.d.ts +23 -0
- package/dist/client/copy/record/components/AttachmentList.js +22 -0
- package/dist/client/copy/record/components/DeleteButton.d.ts +22 -0
- package/dist/client/copy/record/components/DeleteButton.js +24 -0
- package/dist/client/copy/record/components/Dressed.d.ts +5 -0
- package/dist/client/copy/record/components/Dressed.js +7 -0
- package/dist/client/copy/record/components/EditLayoutButton.d.ts +5 -0
- package/dist/client/copy/record/components/EditLayoutButton.js +7 -0
- package/dist/client/copy/record/components/Editable.d.ts +25 -0
- package/dist/client/copy/record/components/Editable.js +24 -0
- package/dist/client/copy/record/components/FieldArranger.d.ts +15 -0
- package/dist/client/copy/record/components/FieldArranger.js +17 -0
- package/dist/client/copy/record/components/FilePreview.d.ts +13 -0
- package/dist/client/copy/record/components/FilePreview.js +15 -0
- package/dist/client/copy/record/components/JsonPreview.d.ts +3 -0
- package/dist/client/copy/record/components/JsonPreview.js +5 -0
- package/dist/client/copy/record/components/JsonView.d.ts +12 -0
- package/dist/client/copy/record/components/JsonView.js +14 -0
- package/dist/client/copy/record/components/LayoutBuilder.d.ts +23 -0
- package/dist/client/copy/record/components/LayoutBuilder.js +25 -0
- package/dist/client/copy/record/components/Lightbox.d.ts +5 -0
- package/dist/client/copy/record/components/Lightbox.js +7 -0
- package/dist/client/copy/record/components/LiveNotices.d.ts +33 -0
- package/dist/client/copy/record/components/LiveNotices.js +29 -0
- package/dist/client/copy/record/components/PageCurrent.d.ts +1 -0
- package/dist/client/copy/record/components/PageCurrent.js +3 -0
- package/dist/client/copy/record/components/PageEmptyRun.d.ts +3 -0
- package/dist/client/copy/record/components/PageEmptyRun.js +5 -0
- package/dist/client/copy/record/components/PageFields.d.ts +5 -0
- package/dist/client/copy/record/components/PageFields.js +7 -0
- package/dist/client/copy/record/components/PageFlowDiagram.d.ts +33 -0
- package/dist/client/copy/record/components/PageFlowDiagram.js +37 -0
- package/dist/client/copy/record/components/PageFlows.d.ts +20 -0
- package/dist/client/copy/record/components/PageFlows.js +22 -0
- package/dist/client/copy/record/components/PageGroups.d.ts +12 -0
- package/dist/client/copy/record/components/PageGroups.js +14 -0
- package/dist/client/copy/record/components/PageHead.d.ts +8 -0
- package/dist/client/copy/record/components/PageHead.js +10 -0
- package/dist/client/copy/record/components/PageHistory.d.ts +18 -0
- package/dist/client/copy/record/components/PageHistory.js +20 -0
- package/dist/client/copy/record/components/PageLayout.d.ts +5 -0
- package/dist/client/copy/record/components/PageLayout.js +7 -0
- package/dist/client/copy/record/components/PageRelated.d.ts +24 -0
- package/dist/client/copy/record/components/PageRelated.js +26 -0
- package/dist/client/copy/record/components/PageRoom.d.ts +4 -0
- package/dist/client/copy/record/components/PageRoom.js +6 -0
- package/dist/client/copy/record/components/PageSectionBox.d.ts +6 -0
- package/dist/client/copy/record/components/PageSectionBox.js +10 -0
- package/dist/client/copy/record/components/PageTimeline.d.ts +9 -0
- package/dist/client/copy/record/components/PageTimeline.js +8 -0
- package/dist/client/copy/record/components/Peek.d.ts +3 -0
- package/dist/client/copy/record/components/Peek.js +5 -0
- package/dist/client/copy/record/components/PeekPanel.d.ts +5 -0
- package/dist/client/copy/record/components/PeekPanel.js +7 -0
- package/dist/client/copy/record/components/QrCode.d.ts +3 -0
- package/dist/client/copy/record/components/QrCode.js +5 -0
- package/dist/client/copy/record/components/Record.d.ts +19 -0
- package/dist/client/copy/record/components/Record.js +21 -0
- package/dist/client/copy/record/components/RecordGone.d.ts +4 -0
- package/dist/client/copy/record/components/RecordGone.js +6 -0
- package/dist/client/copy/record/components/RecordSummaries.d.ts +1 -0
- package/dist/client/copy/record/components/RecordSummaries.js +3 -0
- package/dist/client/copy/record/components/RecordTags.d.ts +9 -0
- package/dist/client/copy/record/components/RecordTags.js +11 -0
- package/dist/client/copy/record/components/RecordTrailNav.d.ts +8 -0
- package/dist/client/copy/record/components/RecordTrailNav.js +10 -0
- package/dist/client/copy/record/components/RichText.d.ts +4 -0
- package/dist/client/copy/record/components/RichText.js +6 -0
- package/dist/client/copy/record/components/Value.d.ts +4 -0
- package/dist/client/copy/record/components/Value.js +6 -0
- package/dist/client/copy/record/components/WorkflowStatus.d.ts +7 -0
- package/dist/client/copy/record/components/WorkflowStatus.js +9 -0
- package/dist/client/copy/record/components/WriteConfirm.d.ts +11 -0
- package/dist/client/copy/record/components/WriteConfirm.js +13 -0
- package/dist/client/copy/record/components/groupMoves.d.ts +7 -0
- package/dist/client/copy/record/components/groupMoves.js +9 -0
- package/dist/client/copy/record/components/jsonModel.d.ts +3 -0
- package/dist/client/copy/record/components/jsonModel.js +5 -0
- package/dist/client/copy/record/components/pageModel.d.ts +5 -0
- package/dist/client/copy/record/components/pageModel.js +7 -0
- package/dist/client/copy/record/components/recordSurface.d.ts +6 -0
- package/dist/client/copy/record/components/recordSurface.js +8 -0
- package/dist/client/copy/record/components/valueModel.d.ts +5 -0
- package/dist/client/copy/record/components/valueModel.js +7 -0
- package/dist/client/copy/record/fileSource.d.ts +3 -0
- package/dist/client/copy/record/fileSource.js +5 -0
- package/dist/client/copy/record/insert.d.ts +6 -0
- package/dist/client/copy/record/insert.js +8 -0
- package/dist/client/copy/record/page.d.ts +4 -0
- package/dist/client/copy/record/page.js +6 -0
- package/dist/client/copy/record/recordEditValidation.d.ts +4 -0
- package/dist/client/copy/record/recordEditValidation.js +6 -0
- package/dist/client/copy/record/savedPages.d.ts +4 -0
- package/dist/client/copy/record/savedPages.js +6 -0
- package/dist/client/copy/record/template.d.ts +9 -0
- package/dist/client/copy/record/template.js +11 -0
- package/dist/client/copy/record/write.d.ts +30 -0
- package/dist/client/copy/record/write.js +26 -0
- package/dist/client/copy/shell/app.d.ts +27 -0
- package/dist/client/copy/shell/app.js +43 -0
- package/dist/client/copy/shell/components/AppIssues.d.ts +10 -0
- package/dist/client/copy/shell/components/AppIssues.js +9 -0
- package/dist/client/copy/shell/components/Crumbs.d.ts +7 -0
- package/dist/client/copy/shell/components/Crumbs.js +17 -0
- package/dist/client/copy/shell/components/Dropdown.d.ts +3 -0
- package/dist/client/copy/shell/components/Dropdown.js +5 -0
- package/dist/client/copy/shell/components/ErrorBoundary.d.ts +4 -0
- package/dist/client/copy/shell/components/ErrorBoundary.js +6 -0
- package/dist/client/copy/shell/components/FavoriteStar.d.ts +4 -0
- package/dist/client/copy/shell/components/FavoriteStar.js +6 -0
- package/dist/client/copy/shell/components/MobileNavDrawer.d.ts +4 -0
- package/dist/client/copy/shell/components/MobileNavDrawer.js +12 -0
- package/dist/client/copy/shell/components/OverflowMenu.d.ts +3 -0
- package/dist/client/copy/shell/components/OverflowMenu.js +10 -0
- package/dist/client/copy/shell/components/Palette.d.ts +15 -0
- package/dist/client/copy/shell/components/Palette.js +18 -0
- package/dist/client/copy/shell/components/Prefs.d.ts +4 -0
- package/dist/client/copy/shell/components/Prefs.js +11 -0
- package/dist/client/copy/shell/components/Prompt.d.ts +1 -0
- package/dist/client/copy/shell/components/Prompt.js +3 -0
- package/dist/client/copy/shell/components/Rooms.d.ts +6 -0
- package/dist/client/copy/shell/components/Rooms.js +8 -0
- package/dist/client/copy/shell/components/Sidebar.d.ts +7 -0
- package/dist/client/copy/shell/components/Sidebar.js +9 -0
- package/dist/client/copy/shell/components/Skeleton.d.ts +5 -0
- package/dist/client/copy/shell/components/Skeleton.js +7 -0
- package/dist/client/copy/shell/components/TopNav.d.ts +4 -0
- package/dist/client/copy/shell/components/TopNav.js +12 -0
- package/dist/client/copy/shell/components/Tour.d.ts +4 -0
- package/dist/client/copy/shell/components/Tour.js +6 -0
- package/dist/client/copy/shell/components/newMenuModel.d.ts +3 -0
- package/dist/client/copy/shell/components/newMenuModel.js +5 -0
- package/dist/client/copy/shell/components/onDemand.d.ts +3 -0
- package/dist/client/copy/shell/components/onDemand.js +5 -0
- package/dist/client/copy/shell/components/sidebarModel.d.ts +3 -0
- package/dist/client/copy/shell/components/sidebarModel.js +5 -0
- package/dist/client/copy/shell/connectionList.d.ts +6 -0
- package/dist/client/copy/shell/connectionList.js +8 -0
- package/dist/client/copy/shell/core.d.ts +16 -0
- package/dist/client/copy/shell/core.js +18 -0
- package/dist/client/copy/shell/palette.d.ts +6 -0
- package/dist/client/copy/shell/palette.js +8 -0
- package/dist/client/copy/shell/prompt.d.ts +1 -0
- package/dist/client/copy/shell/prompt.js +3 -0
- package/dist/client/copy/shell/requestIdentity.d.ts +9 -0
- package/dist/client/copy/shell/requestIdentity.js +11 -0
- package/dist/client/copy/shell/resourceRequests.d.ts +4 -0
- package/dist/client/copy/shell/resourceRequests.js +6 -0
- package/dist/client/copy/shell/sessionIdentity.d.ts +11 -0
- package/dist/client/copy/shell/sessionIdentity.js +13 -0
- package/dist/client/copy/shell/sessionLifecycle.d.ts +5 -0
- package/dist/client/copy/shell/sessionLifecycle.js +7 -0
- package/dist/client/copy/shell/startup.d.ts +5 -0
- package/dist/client/copy/shell/startup.js +7 -0
- package/dist/client/copy/shell/theme.d.ts +5 -0
- package/dist/client/copy/shell/theme.js +14 -0
- package/dist/client/copy/shell/toast.d.ts +3 -0
- package/dist/client/copy/shell/toast.js +5 -0
- package/dist/client/copy/shell/updateAttempts.d.ts +6 -0
- package/dist/client/copy/shell/updateAttempts.js +8 -0
- package/dist/client/copy/shell/visualTheme.d.ts +4 -0
- package/dist/client/copy/shell/visualTheme.js +6 -0
- package/dist/client/copy/workbench/clauses.d.ts +3 -0
- package/dist/client/copy/workbench/clauses.js +5 -0
- package/dist/client/copy/workbench/components/ApiOperations.d.ts +21 -0
- package/dist/client/copy/workbench/components/ApiOperations.js +23 -0
- package/dist/client/copy/workbench/components/Composer.d.ts +105 -0
- package/dist/client/copy/workbench/components/Composer.js +92 -0
- package/dist/client/copy/workbench/components/Diagram.d.ts +56 -0
- package/dist/client/copy/workbench/components/Diagram.js +46 -0
- package/dist/client/copy/workbench/components/Export.d.ts +26 -0
- package/dist/client/copy/workbench/components/Export.js +25 -0
- package/dist/client/copy/workbench/components/HelpPanel.d.ts +10 -0
- package/dist/client/copy/workbench/components/HelpPanel.js +12 -0
- package/dist/client/copy/workbench/components/History.d.ts +11 -0
- package/dist/client/copy/workbench/components/History.js +10 -0
- package/dist/client/copy/workbench/components/Landing.d.ts +5 -0
- package/dist/client/copy/workbench/components/Landing.js +7 -0
- package/dist/client/copy/workbench/components/SchemaExport.d.ts +24 -0
- package/dist/client/copy/workbench/components/SchemaExport.js +20 -0
- package/dist/client/copy/workbench/components/Summary.d.ts +28 -0
- package/dist/client/copy/workbench/components/Summary.js +24 -0
- package/dist/client/copy/workbench/components/ThemeLab.d.ts +25 -0
- package/dist/client/copy/workbench/components/ThemeLab.js +27 -0
- package/dist/client/copy/workbench/components/WorkPanel.d.ts +12 -0
- package/dist/client/copy/workbench/components/WorkPanel.js +14 -0
- package/dist/client/copy/workbench/composer.d.ts +36 -0
- package/dist/client/copy/workbench/composer.js +32 -0
- package/dist/client/copy/workbench/composerEntry.d.ts +4 -0
- package/dist/client/copy/workbench/composerEntry.js +6 -0
- package/dist/client/copy/workbench/export.d.ts +8 -0
- package/dist/client/copy/workbench/export.js +7 -0
- package/dist/client/copy/workbench/filterbar.d.ts +6 -0
- package/dist/client/copy/workbench/filterbar.js +8 -0
- package/dist/client/copy/workbench/handoff.d.ts +20 -0
- package/dist/client/copy/workbench/handoff.js +19 -0
- package/dist/client/copy/workbench/help.d.ts +6 -0
- package/dist/client/copy/workbench/help.js +8 -0
- package/dist/client/copy/workbench/history.d.ts +3 -0
- package/dist/client/copy/workbench/history.js +5 -0
- package/dist/client/copy/workbench/schemaexport.d.ts +5 -0
- package/dist/client/copy/workbench/schemaexport.js +7 -0
- package/dist/client/copy/workbench/tour.d.ts +22 -0
- package/dist/client/copy/workbench/tour.js +24 -0
- package/dist/client/copy/workbench/views.d.ts +6 -0
- package/dist/client/copy/workbench/views.js +8 -0
- package/dist/client/core.d.ts +327 -0
- package/dist/client/core.js +1082 -0
- package/dist/client/customThemes.css +43 -0
- package/dist/client/dashboard.d.ts +16 -0
- package/dist/client/dashboard.js +35 -0
- package/dist/client/deeplink.d.ts +64 -0
- package/dist/client/deeplink.js +384 -0
- package/dist/client/delete.d.ts +8 -0
- package/dist/client/delete.js +35 -0
- package/dist/client/density.d.ts +8 -0
- package/dist/client/density.js +102 -0
- package/dist/client/devtoolsEventClient.d.ts +27 -0
- package/dist/client/devtoolsEventClient.js +32 -0
- package/dist/client/documents.d.ts +9 -0
- package/dist/client/documents.js +23 -0
- package/dist/client/dom.d.ts +36 -0
- package/dist/client/dom.js +232 -0
- package/dist/client/draftRecovery.d.ts +19 -0
- package/dist/client/draftRecovery.js +56 -0
- package/dist/client/export.d.ts +59 -0
- package/dist/client/export.js +217 -0
- package/dist/client/features.css +2187 -0
- package/dist/client/fieldErrors.d.ts +27 -0
- package/dist/client/fieldErrors.js +20 -0
- package/dist/client/fileSource.d.ts +10 -0
- package/dist/client/fileSource.js +115 -0
- package/dist/client/filterbar.d.ts +87 -0
- package/dist/client/filterbar.js +168 -0
- package/dist/client/firstPaint.d.ts +26 -0
- package/dist/client/firstPaint.js +102 -0
- package/dist/client/fonts/Barlow-OFL.txt +125 -0
- package/dist/client/fonts/IBMPlexMono-OFL.txt +104 -0
- package/dist/client/fonts/Inter-OFL.txt +92 -0
- package/dist/client/fonts/barlow-400.woff2 +0 -0
- package/dist/client/fonts/barlow-600.woff2 +0 -0
- package/dist/client/fonts/barlow-semi-condensed-700.woff2 +0 -0
- package/dist/client/fonts/ibm-plex-mono-400.woff2 +0 -0
- package/dist/client/fonts/ibm-plex-mono-500.woff2 +0 -0
- package/dist/client/fonts/inter-latin.woff2 +0 -0
- package/dist/client/formControls.css +5 -0
- package/dist/client/handoff.d.ts +47 -0
- package/dist/client/handoff.js +138 -0
- package/dist/client/help.css +151 -0
- package/dist/client/help.d.ts +20 -0
- package/dist/client/help.js +103 -0
- package/dist/client/helpContent.d.ts +95 -0
- package/dist/client/helpContent.js +661 -0
- package/dist/client/history.d.ts +10 -0
- package/dist/client/history.js +181 -0
- package/dist/client/historyToken.d.ts +18 -0
- package/dist/client/historyToken.js +27 -0
- package/dist/client/iconWeight.d.ts +16 -0
- package/dist/client/iconWeight.js +44 -0
- package/dist/client/index.html +244 -0
- package/dist/client/insert.d.ts +50 -0
- package/dist/client/insert.js +269 -0
- package/dist/client/kit.d.ts +7 -0
- package/dist/client/kit.js +1 -0
- package/dist/client/layoutDraftRecovery.d.ts +8 -0
- package/dist/client/layoutDraftRecovery.js +33 -0
- package/dist/client/ledgerLook.css +32 -0
- package/dist/client/liveReads.d.ts +23 -0
- package/dist/client/liveReads.js +38 -0
- package/dist/client/liveState.d.ts +94 -0
- package/dist/client/liveState.js +212 -0
- package/dist/client/locale.d.ts +141 -0
- package/dist/client/locale.js +0 -0
- package/dist/client/lumenLook.css +1867 -0
- package/dist/client/menu.d.ts +49 -0
- package/dist/client/menu.js +131 -0
- package/dist/client/menuScope.d.ts +6 -0
- package/dist/client/menuScope.js +4 -0
- package/dist/client/messages.d.ts +240 -0
- package/dist/client/messages.js +370 -0
- package/dist/client/motionStill.d.ts +1 -0
- package/dist/client/motionStill.js +17 -0
- package/dist/client/navigationHold.d.ts +37 -0
- package/dist/client/navigationHold.js +503 -0
- package/dist/client/nested.d.ts +8 -0
- package/dist/client/nested.js +26 -0
- package/dist/client/ownWrites.d.ts +33 -0
- package/dist/client/ownWrites.js +76 -0
- package/dist/client/page.css +4052 -0
- package/dist/client/page.d.ts +21 -0
- package/dist/client/page.js +187 -0
- package/dist/client/pagemarks.d.ts +32 -0
- package/dist/client/pagemarks.js +98 -0
- package/dist/client/palette.d.ts +38 -0
- package/dist/client/palette.js +360 -0
- package/dist/client/partsLook.css +1047 -0
- package/dist/client/peek.d.ts +11 -0
- package/dist/client/peek.js +51 -0
- package/dist/client/peekpanel.d.ts +26 -0
- package/dist/client/peekpanel.js +121 -0
- package/dist/client/pendingWork.d.ts +19 -0
- package/dist/client/pendingWork.js +36 -0
- package/dist/client/pins.d.ts +24 -0
- package/dist/client/pins.js +97 -0
- package/dist/client/prefs.d.ts +3 -0
- package/dist/client/prefs.js +32 -0
- package/dist/client/prompt.d.ts +27 -0
- package/dist/client/prompt.js +61 -0
- package/dist/client/readGathering.d.ts +4 -0
- package/dist/client/readGathering.js +23 -0
- package/dist/client/recordCompose.d.ts +11 -0
- package/dist/client/recordCompose.js +69 -0
- package/dist/client/recordDrafts.d.ts +40 -0
- package/dist/client/recordDrafts.js +57 -0
- package/dist/client/recordEditValidation.d.ts +12 -0
- package/dist/client/recordEditValidation.js +52 -0
- package/dist/client/recordIntent.d.ts +6 -0
- package/dist/client/recordIntent.js +15 -0
- package/dist/client/recordPress.d.ts +12 -0
- package/dist/client/recordPress.js +84 -0
- package/dist/client/recordSource.d.ts +6 -0
- package/dist/client/recordSource.js +15 -0
- package/dist/client/recordTrail.d.ts +77 -0
- package/dist/client/recordTrail.js +101 -0
- package/dist/client/recordWriteRefresh.d.ts +74 -0
- package/dist/client/recordWriteRefresh.js +284 -0
- package/dist/client/relatedRows.d.ts +4 -0
- package/dist/client/relatedRows.js +24 -0
- package/dist/client/requestIdentity.d.ts +36 -0
- package/dist/client/requestIdentity.js +97 -0
- package/dist/client/resourceRequests.d.ts +7 -0
- package/dist/client/resourceRequests.js +32 -0
- package/dist/client/roleLabels.d.ts +7 -0
- package/dist/client/roleLabels.js +24 -0
- package/dist/client/rowEditing.d.ts +15 -0
- package/dist/client/rowEditing.js +36 -0
- package/dist/client/sageLook.css +242 -0
- package/dist/client/savedPages.d.ts +27 -0
- package/dist/client/savedPages.js +135 -0
- package/dist/client/schemaexport.d.ts +14 -0
- package/dist/client/schemaexport.js +182 -0
- package/dist/client/sessionIdentity.d.ts +39 -0
- package/dist/client/sessionIdentity.js +255 -0
- package/dist/client/sessionLifecycle.d.ts +33 -0
- package/dist/client/sessionLifecycle.js +276 -0
- package/dist/client/shellHost.d.ts +70 -0
- package/dist/client/shellHost.js +92 -0
- package/dist/client/shellMain.d.ts +8 -0
- package/dist/client/shellMode.d.ts +433 -0
- package/dist/client/shellMode.js +68 -0
- package/dist/client/shellStart.d.ts +5 -0
- package/dist/client/shellStart.js +54 -0
- package/dist/client/shells.d.ts +123 -0
- package/dist/client/shells.js +1 -0
- package/dist/client/sql.css +139 -0
- package/dist/client/startup.d.ts +8 -0
- package/dist/client/startup.js +85 -0
- package/dist/client/startupHold.d.ts +10 -0
- package/dist/client/startupHold.js +73 -0
- package/dist/client/structure.css +1296 -0
- package/dist/client/style.css +3526 -0
- package/dist/client/styleImports.d.ts +3 -0
- package/dist/client/surfaces.d.ts +18 -0
- package/dist/client/surfaces.js +27 -0
- package/dist/client/surfacesLook.css +88 -0
- package/dist/client/template.d.ts +75 -0
- package/dist/client/template.js +403 -0
- package/dist/client/theme.d.ts +14 -0
- package/dist/client/theme.js +112 -0
- package/dist/client/themeFamilies.css +788 -0
- package/dist/client/thmenu.d.ts +12 -0
- package/dist/client/thmenu.js +94 -0
- package/dist/client/toast.d.ts +7 -0
- package/dist/client/toast.js +117 -0
- package/dist/client/tour.d.ts +8 -0
- package/dist/client/tour.js +176 -0
- package/dist/client/transport.d.ts +2 -0
- package/dist/client/transport.js +13 -0
- package/dist/client/typography.d.ts +4 -0
- package/dist/client/typography.js +51 -0
- package/dist/client/uiBridge.d.ts +57 -0
- package/dist/client/uiBridge.js +30 -0
- package/dist/client/updateAttempts.d.ts +46 -0
- package/dist/client/updateAttempts.js +131 -0
- package/dist/client/url.d.ts +74 -0
- package/dist/client/url.js +388 -0
- package/dist/client/views.d.ts +19 -0
- package/dist/client/views.js +133 -0
- package/dist/client/visualTheme.d.ts +62 -0
- package/dist/client/visualTheme.js +502 -0
- package/dist/client/visualThemes.css +421 -0
- package/dist/client/workshopLook.css +126 -0
- package/dist/client/write.d.ts +103 -0
- package/dist/client/write.js +885 -0
- package/dist/client/writePaths.d.ts +16 -0
- package/dist/client/writePaths.js +35 -0
- package/dist/client/yesNoRule.d.ts +12 -0
- package/dist/client/yesNoRule.js +39 -0
- package/dist/clientFiles.d.ts +11 -4
- package/dist/clientFiles.js +16 -12
- package/dist/vite.d.ts +136 -0
- package/dist/vite.js +571 -0
- package/package.json +136 -3
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/* Imported by features.css: part of the tool's own rules (style.css names the order). */
|
|
2
|
+
@layer base {
|
|
3
|
+
/* A JSON document, laid out (components/JsonView.tsx), its one-line grid
|
|
4
|
+
preview and its overlay (JsonPreview.tsx). Every value is a token from
|
|
5
|
+
style.css, so light, dark and an App's theme dress it the same way. */
|
|
6
|
+
|
|
7
|
+
.json-view { min-width: 0; max-width: 70rem; font: var(--text-base)/1.55 var(--sans); color: var(--ink); }
|
|
8
|
+
/* A document is a block: in a record's or a page's field grid it takes the
|
|
9
|
+
full width, as long text does, rather than being squeezed into a column. */
|
|
10
|
+
.field:has(.json-view), .page-field:has(.json-view) { grid-column: 1 / -1; }
|
|
11
|
+
|
|
12
|
+
.json-bar { display: flex; justify-content: flex-end; gap: var(--space-2); margin-bottom: var(--space-1); }
|
|
13
|
+
.json-tool {
|
|
14
|
+
background: transparent; color: var(--ink-muted); border: 1px solid transparent;
|
|
15
|
+
padding: 1px var(--space-3); font-size: var(--text-sm); line-height: 1.6;
|
|
16
|
+
}
|
|
17
|
+
.json-tool:hover { color: var(--ink); background: var(--raised); }
|
|
18
|
+
.json-tool[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent-soft); }
|
|
19
|
+
|
|
20
|
+
/* Labels beside values. The label column is as wide as its longest key up to
|
|
21
|
+
a cap, so a short document is not stretched across the room and a long key
|
|
22
|
+
wraps rather than pushing its value off the edge. */
|
|
23
|
+
.json-fields {
|
|
24
|
+
display: grid; grid-template-columns: fit-content(14rem) minmax(0, 1fr);
|
|
25
|
+
gap: var(--space-2) var(--space-5); margin: 0;
|
|
26
|
+
}
|
|
27
|
+
.json-field { display: contents; }
|
|
28
|
+
.json-key { color: var(--ink-muted); font: var(--text-sm)/1.65 var(--code); overflow-wrap: anywhere; }
|
|
29
|
+
.json-index { color: var(--ink-subtle); font-variant-numeric: tabular-nums; }
|
|
30
|
+
.json-fields dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
|
|
31
|
+
/* A nested object is indented under its count by a hairline, not boxed:
|
|
32
|
+
one box, hairlines inside. */
|
|
33
|
+
.json-group { margin: var(--space-1) 0 var(--space-2h); padding-left: var(--space-4); border-left: 1px solid var(--line); }
|
|
34
|
+
|
|
35
|
+
.json-fold, .json-more {
|
|
36
|
+
background: none; border: 0; padding: 0; border-radius: min(3px, var(--radius));
|
|
37
|
+
font: var(--text-sm)/1.65 var(--sans); cursor: pointer;
|
|
38
|
+
}
|
|
39
|
+
.json-fold { color: var(--ink-muted); }
|
|
40
|
+
.json-fold:hover { color: var(--ink); }
|
|
41
|
+
.json-caret { display: inline-block; width: 1.1em; color: var(--ink-subtle); }
|
|
42
|
+
.json-more { display: block; margin-top: var(--space-2); color: var(--link); }
|
|
43
|
+
.json-more:hover { text-decoration: underline; }
|
|
44
|
+
|
|
45
|
+
/* Like records, lined up. Wide ones scroll inside themselves; the page never does. */
|
|
46
|
+
.json-table-wrap { overflow-x: auto; max-width: 100%; }
|
|
47
|
+
.json-table { border-collapse: collapse; font-size: var(--text-sm); }
|
|
48
|
+
.json-table th {
|
|
49
|
+
text-align: left; font: var(--text-xs)/1.5 var(--code); font-weight: normal; color: var(--ink-muted);
|
|
50
|
+
padding: var(--space-1h) var(--space-4h) var(--space-1h) 0; border-bottom: 1px solid var(--line-strong); white-space: nowrap;
|
|
51
|
+
}
|
|
52
|
+
.json-table td {
|
|
53
|
+
padding: var(--space-2) var(--space-4h) var(--space-2) 0; border-bottom: 1px solid var(--line);
|
|
54
|
+
vertical-align: top; max-width: 24rem; overflow-wrap: anywhere;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.json-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
|
|
58
|
+
.json-chip {
|
|
59
|
+
border: 1px solid var(--line); border-radius: var(--radius); background: var(--raised);
|
|
60
|
+
padding: 0 var(--space-3); font-size: var(--text-sm); line-height: 1.65;
|
|
61
|
+
}
|
|
62
|
+
.json-lines { margin: 0; padding-left: 2em; }
|
|
63
|
+
.json-lines li::marker { color: var(--ink-subtle); font: var(--text-xs) var(--code); }
|
|
64
|
+
|
|
65
|
+
.json-number, .json-date { font-variant-numeric: tabular-nums; }
|
|
66
|
+
.json-table :is(th, td).json-figures { text-align: right; }
|
|
67
|
+
.json-number { font-family: var(--mono); }
|
|
68
|
+
.json-null, .json-empty { color: var(--ink-subtle); }
|
|
69
|
+
.json-empty { font-family: var(--code); }
|
|
70
|
+
.json-bool {
|
|
71
|
+
display: inline-block; padding: 0 var(--space-3); border-radius: 999px;
|
|
72
|
+
font-size: var(--text-xs); line-height: 1.65; background: var(--raised); color: var(--ink-muted);
|
|
73
|
+
}
|
|
74
|
+
.json-bool.yes { background: var(--accent-soft); color: var(--accent-ink); }
|
|
75
|
+
.json-link { color: var(--link); overflow-wrap: anywhere; }
|
|
76
|
+
.json-long { display: block; white-space: pre-wrap; }
|
|
77
|
+
|
|
78
|
+
.json-raw {
|
|
79
|
+
margin: 0; padding: var(--space-3) var(--space-3h); max-height: 24rem; overflow: auto;
|
|
80
|
+
font: var(--text-sm)/1.55 var(--code); white-space: pre; tab-size: 2;
|
|
81
|
+
background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius);
|
|
82
|
+
}
|
|
83
|
+
.json-raw:focus-visible { outline: var(--focus-width) solid var(--focus); outline-offset: -1px; }
|
|
84
|
+
|
|
85
|
+
/* In a grid cell: the shape in one quiet line, the whole cell a button. */
|
|
86
|
+
.json-preview {
|
|
87
|
+
display: block; width: 100%; padding: 0; border: 0; border-radius: 0; background: none;
|
|
88
|
+
text-align: left; font: var(--text-sm)/inherit var(--code); color: var(--ink-muted);
|
|
89
|
+
white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer;
|
|
90
|
+
}
|
|
91
|
+
.json-preview:hover { color: var(--link); }
|
|
92
|
+
.json-preview:focus-visible { outline-offset: -2px; }
|
|
93
|
+
.json-preview-text { font: var(--text-sm) var(--code); color: var(--ink-muted); }
|
|
94
|
+
|
|
95
|
+
/* The overlay is the confirm dialog's box and scrim, at a document's width. */
|
|
96
|
+
.json-overlay { width: min(60rem, calc(100vw - 2rem)); max-width: none; max-height: 85vh; }
|
|
97
|
+
.json-overlay .json-view { max-width: none; }
|
|
98
|
+
.json-overlay .json-raw { max-height: 60vh; }
|
|
99
|
+
.json-overlay-head { display: flex; align-items: baseline; gap: var(--space-3h); margin-bottom: var(--space-3h); }
|
|
100
|
+
.json-overlay-head h2 { margin: 0; font: 600 calc(15px * var(--type-k))/1.4 var(--sans); overflow-wrap: anywhere; }
|
|
101
|
+
.json-overlay-type { color: var(--ink-subtle); font: var(--text-xs) var(--code); }
|
|
102
|
+
.json-overlay-close { margin-left: auto; padding: var(--space-1h) var(--space-3h); font-size: var(--text-sm); }
|
|
103
|
+
|
|
104
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
105
|
+
.json-tool, .json-fold, .json-preview {
|
|
106
|
+
transition: color var(--t-hover) var(--ease-out), background-color var(--t-hover) var(--ease-out);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* A JSON document, laid out by its shape.
|
|
4
|
+
*
|
|
5
|
+
* jsonModel.ts decides what each part is best shown as; this draws it: an
|
|
6
|
+
* object as quiet labels beside their values, like records as a table,
|
|
7
|
+
* words as chips. Two levels open and deeper ones folded behind a count,
|
|
8
|
+
* long arrays a page at a time — so a document of any size reads top-down
|
|
9
|
+
* instead of as one line of braces. Raw is the text itself, pretty-printed,
|
|
10
|
+
* for the reader who wants the braces; Copy takes that text.
|
|
11
|
+
*
|
|
12
|
+
* Read-only on purpose: a document is changed by the statement that owns
|
|
13
|
+
* it, not by a box pretending a tree is a line of text.
|
|
14
|
+
*/
|
|
15
|
+
import { useEffect, useState } from 'react';
|
|
16
|
+
import { formatLocale } from '../locale.js';
|
|
17
|
+
import { countLabel, isContainer, ITEM_PAGE, KEY_PAGE, layoutOf, MORE_STEP, OPEN_DEPTH, prettyJson, restOf, scalarOf, sizeOf, } from './jsonModel.js';
|
|
18
|
+
import { say } from '../copy/record/components/JsonView.js';
|
|
19
|
+
export function JsonView({ value }) {
|
|
20
|
+
const [raw, setRaw] = useState(false);
|
|
21
|
+
const locale = formatLocale();
|
|
22
|
+
return (_jsxs("div", { className: "json-view", children: [_jsxs("div", { className: "json-bar", children: [_jsx("button", { type: "button", className: "json-tool", "aria-pressed": raw, onClick: () => setRaw(!raw), children: say('raw') }), _jsx(CopyButton, { value: value })] }), raw ? (_jsx("pre", { className: "json-raw", tabIndex: 0, "aria-label": say('rawJson'), children: prettyJson(value) })) : (_jsx(Node, { value: value, depth: 0, locale: locale }))] }));
|
|
23
|
+
}
|
|
24
|
+
function CopyButton({ value }) {
|
|
25
|
+
const [said, setSaid] = useState(null);
|
|
26
|
+
useEffect(() => {
|
|
27
|
+
if (!said)
|
|
28
|
+
return;
|
|
29
|
+
const timer = setTimeout(() => setSaid(null), 1600);
|
|
30
|
+
return () => clearTimeout(timer);
|
|
31
|
+
}, [said]);
|
|
32
|
+
const copy = async () => {
|
|
33
|
+
try {
|
|
34
|
+
await navigator.clipboard.writeText(prettyJson(value));
|
|
35
|
+
setSaid('copied');
|
|
36
|
+
}
|
|
37
|
+
catch {
|
|
38
|
+
/* Clipboard access can be refused — an insecure origin, a permission
|
|
39
|
+
denied; the text is one Raw away. */
|
|
40
|
+
setSaid('refused');
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
return (_jsxs(_Fragment, { children: [_jsx("button", { type: "button", className: "json-tool", onClick: () => void copy(), children: said === 'copied' ? say('copied') : said === 'refused' ? say('copyRefused') : say('copy') }), _jsx("span", { className: "visually-hidden", role: "status", children: said === 'copied' ? say('copiedTheJson') : said === 'refused' ? say('common.theBrowserRefusedClipboard') : '' })] }));
|
|
44
|
+
}
|
|
45
|
+
function Node({ value, depth, locale }) {
|
|
46
|
+
const layout = layoutOf(value);
|
|
47
|
+
switch (layout.kind) {
|
|
48
|
+
case 'scalar':
|
|
49
|
+
return _jsx(Scalar, { value: value, locale: locale });
|
|
50
|
+
case 'empty':
|
|
51
|
+
return _jsx("span", { className: "json-empty", children: layout.text });
|
|
52
|
+
case 'fields':
|
|
53
|
+
return _jsx(Fields, { layout: layout, depth: depth, locale: locale });
|
|
54
|
+
case 'table':
|
|
55
|
+
return _jsx(Table, { layout: layout, depth: depth, locale: locale });
|
|
56
|
+
case 'chips':
|
|
57
|
+
return _jsx(Items, { items: layout.items, locale: locale, chips: true });
|
|
58
|
+
case 'lines':
|
|
59
|
+
return _jsx(Items, { items: layout.items, locale: locale, chips: false });
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
/** A value inside a container: a container with something in it folds behind its count; anything else is drawn as it is. */
|
|
63
|
+
function Child({ value, depth, locale, name }) {
|
|
64
|
+
if (!isContainer(value) || !sizeOf(value))
|
|
65
|
+
return _jsx(Node, { value: value, depth: depth, locale: locale });
|
|
66
|
+
return _jsx(Fold, { value: value, depth: depth, locale: locale, name: name });
|
|
67
|
+
}
|
|
68
|
+
function Fold({ value, depth, locale, name }) {
|
|
69
|
+
const [open, setOpen] = useState(depth < OPEN_DEPTH);
|
|
70
|
+
const count = countLabel(value, locale);
|
|
71
|
+
return (_jsxs(_Fragment, { children: [_jsxs("button", { type: "button", className: "json-fold", "aria-expanded": open, "aria-label": `${name}: ${count}`, onClick: () => setOpen(!open), children: [_jsx("span", { className: "json-caret", "aria-hidden": "true", children: open ? '▾' : '▸' }), count] }), open && (_jsx("div", { className: "json-group", children: _jsx(Node, { value: value, depth: depth, locale: locale }) }))] }));
|
|
72
|
+
}
|
|
73
|
+
/** The rest of a long list, a step at a time, and never the whole of a huge one at once. */
|
|
74
|
+
function More({ total, shown, onMore }) {
|
|
75
|
+
if (shown >= total)
|
|
76
|
+
return null;
|
|
77
|
+
const next = Math.min(total - shown, MORE_STEP);
|
|
78
|
+
return (_jsx("button", { type: "button", className: "json-more", title: say('notShown', { total: (total - shown).toLocaleString() }), onClick: () => onMore(shown + next), children: say('showMore', { next: next.toLocaleString() }) }));
|
|
79
|
+
}
|
|
80
|
+
function Fields({ layout, depth, locale }) {
|
|
81
|
+
const [shown, setShown] = useState(layout.indexed ? ITEM_PAGE : KEY_PAGE);
|
|
82
|
+
return (_jsxs(_Fragment, { children: [_jsx("dl", { className: "json-fields", children: layout.entries.slice(0, shown).map(([key, item]) => (_jsxs("div", { className: "json-field", children: [_jsx("dt", { className: layout.indexed ? 'json-key json-index' : 'json-key', children: key === '' ? '""' : key }), _jsx("dd", { children: _jsx(Child, { value: item, depth: depth + 1, locale: locale, name: key }) })] }, key))) }), _jsx(More, { total: layout.entries.length, shown: shown, onMore: setShown })] }));
|
|
83
|
+
}
|
|
84
|
+
function Table({ layout, depth, locale }) {
|
|
85
|
+
const [shown, setShown] = useState(ITEM_PAGE);
|
|
86
|
+
const { columns, folded, rows } = layout;
|
|
87
|
+
/* A column of figures is read by its place values: right-aligned, head and all. */
|
|
88
|
+
const figures = new Set(columns.filter((column) => rows.some((row) => typeof row[column] === 'number') && rows.every((row) => row[column] == null || typeof row[column] === 'number')));
|
|
89
|
+
const align = (column) => (figures.has(column) ? 'json-figures' : undefined);
|
|
90
|
+
return (_jsxs(_Fragment, { children: [_jsx("div", { className: "json-table-wrap", children: _jsxs("table", { className: "json-table", children: [_jsx("thead", { children: _jsxs("tr", { children: [columns.map((column) => (_jsx("th", { scope: "col", className: align(column), children: column }, column))), folded.length > 0 && (_jsx("th", { scope: "col", title: folded.join(', '), children: say('moreFolded', { count: folded.length }) }))] }) }), _jsx("tbody", { children: rows.slice(0, shown).map((row, i) => {
|
|
91
|
+
const rest = folded.length ? restOf(row, columns) : null;
|
|
92
|
+
return (_jsxs("tr", { children: [columns.map((column) => (_jsx("td", { className: align(column), children: Object.hasOwn(row, column) && (_jsx(Child, { value: row[column], depth: depth + 2, locale: locale, name: `${column}, row ${i + 1}` })) }, column))), rest && (_jsx("td", { children: sizeOf(rest) > 0 && _jsx(Fold, { value: rest, depth: OPEN_DEPTH, locale: locale, name: `Row ${i + 1}, the rest` }) }))] }, i));
|
|
93
|
+
}) })] }) }), _jsx(More, { total: rows.length, shown: shown, onMore: setShown })] }));
|
|
94
|
+
}
|
|
95
|
+
function Items({ items, locale, chips }) {
|
|
96
|
+
const [shown, setShown] = useState(ITEM_PAGE);
|
|
97
|
+
const drawn = items.slice(0, shown).map((item, i) => (_jsx("li", { className: chips ? 'json-chip' : undefined, children: _jsx(Scalar, { value: item, locale: locale }) }, i)));
|
|
98
|
+
return (_jsxs(_Fragment, { children: [chips ? (_jsx("ul", { className: "json-chips", children: drawn })) : (_jsx("ol", { className: "json-lines", start: 0, children: drawn })), _jsx(More, { total: items.length, shown: shown, onMore: setShown })] }));
|
|
99
|
+
}
|
|
100
|
+
function Scalar({ value, locale }) {
|
|
101
|
+
const said = scalarOf(value, locale);
|
|
102
|
+
switch (said.kind) {
|
|
103
|
+
case 'null':
|
|
104
|
+
return (_jsx("span", { className: "json-null", title: "null", children: "\u2014" }));
|
|
105
|
+
case 'boolean':
|
|
106
|
+
return _jsx("span", { className: `json-bool${said.on ? ' yes' : ''}`, children: said.on ? say('common.yes') : say('common.no') });
|
|
107
|
+
case 'number':
|
|
108
|
+
return (_jsx("span", { className: "json-number", title: said.title, children: said.text }));
|
|
109
|
+
case 'link':
|
|
110
|
+
return (_jsx("a", { className: "json-link", href: said.href, target: "_blank", rel: "noopener noreferrer", children: said.text }));
|
|
111
|
+
case 'date':
|
|
112
|
+
return (_jsx("time", { className: "json-date", dateTime: said.title, title: said.title, children: said.text }));
|
|
113
|
+
case 'empty':
|
|
114
|
+
return (_jsx("span", { className: "json-empty", title: say('anEmptyString'), children: "\"\"" }));
|
|
115
|
+
case 'text':
|
|
116
|
+
return _jsx("span", { className: said.long ? 'json-text json-long' : 'json-text', children: said.text });
|
|
117
|
+
}
|
|
118
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type KnownPage } from './WorkPanel.js';
|
|
2
|
+
/**
|
|
3
|
+
* The broken-save banner: while the app directory on disk does not load,
|
|
4
|
+
* the server keeps serving the last good save and says why — put where the
|
|
5
|
+
* person editing with the browser open will actually see it. Quiet, because
|
|
6
|
+
* the app still works.
|
|
7
|
+
*/
|
|
8
|
+
export declare function LoadErrorNote({ error }: {
|
|
9
|
+
error: string;
|
|
10
|
+
}): import("react").JSX.Element;
|
|
11
|
+
export declare function WorkbenchLanding({ pages }: {
|
|
12
|
+
pages: KnownPage[];
|
|
13
|
+
}): import("react").JSX.Element;
|
|
14
|
+
/**
|
|
15
|
+
* An App whose roles grant this account nothing: said in plain words, never the Workbench's "This database has no
|
|
16
|
+
* tables" — the database has them, the role reads none (the first account holds `admin`, which reads only what
|
|
17
|
+
* `auth.roles.admin` grants).
|
|
18
|
+
*/
|
|
19
|
+
export declare function NothingGranted(): import("react").JSX.Element;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* The landing pages — what is on screen with nothing on the walk.
|
|
4
|
+
*
|
|
5
|
+
* The workbench's: the shape of the database itself, beside the work you
|
|
6
|
+
* already did, above the diagram. The database first, on the left where
|
|
7
|
+
* reading starts: it is the answer for everyone, including the person who
|
|
8
|
+
* has never been here. Both cards are short, so side by side they are both
|
|
9
|
+
* above the fold; a first visit has no work to resume, the work panel is
|
|
10
|
+
* nothing at all, and the survivor takes the whole width.
|
|
11
|
+
*
|
|
12
|
+
* An App's home is the App framework's (AppHome.tsx): its dashboard, or its
|
|
13
|
+
* front door beside the same work panel (AppLanding.tsx). What is here for
|
|
14
|
+
* an App is what the pane says around it: the broken-save banner, and a
|
|
15
|
+
* role that reads nothing.
|
|
16
|
+
*/
|
|
17
|
+
import { useMemo } from 'react';
|
|
18
|
+
import { state } from '../core.js';
|
|
19
|
+
import { describeSchema } from '@mistriwork/engine/shared/shape.js';
|
|
20
|
+
import { onDemand } from './onDemand.js';
|
|
21
|
+
import { SchemaSummary, summaryLines } from './Summary.js';
|
|
22
|
+
import { WorkPanel } from './WorkPanel.js';
|
|
23
|
+
import { say } from '../copy/workbench/components/Landing.js';
|
|
24
|
+
/* The Workbench's; an App's landing never draws it. */
|
|
25
|
+
const SchemaDiagram = onDemand(() => import('./Diagram.js'), 'SchemaDiagram');
|
|
26
|
+
/**
|
|
27
|
+
* The broken-save banner: while the app directory on disk does not load,
|
|
28
|
+
* the server keeps serving the last good save and says why — put where the
|
|
29
|
+
* person editing with the browser open will actually see it. Quiet, because
|
|
30
|
+
* the app still works.
|
|
31
|
+
*/
|
|
32
|
+
export function LoadErrorNote({ error }) {
|
|
33
|
+
return error ? _jsx("p", { className: "note app-loaderror", children: say('stillShowingTheLast', { error }) }) : null;
|
|
34
|
+
}
|
|
35
|
+
/** The schema in a paragraph — when there is anything worth saying. */
|
|
36
|
+
function SummaryCard() {
|
|
37
|
+
const schema = state.schema;
|
|
38
|
+
const shape = useMemo(() => (schema ? describeSchema(schema) : null), [schema]);
|
|
39
|
+
if (!schema || !shape || !shape.counts.tables || !summaryLines(shape))
|
|
40
|
+
return null;
|
|
41
|
+
const s = schema;
|
|
42
|
+
return _jsx(SchemaSummary, { shape: shape, label: s.label, id: s.connection ?? s.label ?? '' });
|
|
43
|
+
}
|
|
44
|
+
export function WorkbenchLanding({ pages }) {
|
|
45
|
+
const label = state.schema?.label;
|
|
46
|
+
return (_jsxs("div", { className: "panel-pad", children: [_jsx("h1", { className: "visually-hidden", children: label || say('common.schema') }), _jsxs("div", { className: "landing-top", children: [_jsx(SummaryCard, {}), _jsx(WorkPanel, { pages: pages })] }), _jsx("div", { className: "diagram diagram-schema", children: _jsx(SchemaDiagram, {}) })] }));
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* An App whose roles grant this account nothing: said in plain words, never the Workbench's "This database has no
|
|
50
|
+
* tables" — the database has them, the role reads none (the first account holds `admin`, which reads only what
|
|
51
|
+
* `auth.roles.admin` grants).
|
|
52
|
+
*/
|
|
53
|
+
export function NothingGranted() {
|
|
54
|
+
return (_jsx("div", { className: "panel-pad", children: _jsxs("p", { className: "note nothing-granted", children: [say('yourRoleGrantsNoTables'), " ", say('askAnAdministrator')] }) }));
|
|
55
|
+
}
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
/* A component's own rules, brought with it: after the base, before any look (style.css names the order). */
|
|
2
|
+
@layer components {
|
|
3
|
+
/* The App's front page: a real page, not a form. One readable measure for
|
|
4
|
+
prose, the App's accent on the calls to action and the step numbers,
|
|
5
|
+
hairlines between sections instead of boxes, and nothing of the shell.
|
|
6
|
+
Hierarchy comes from the section seam and the type, never from a card. */
|
|
7
|
+
/* The column is 68rem up to a 1440px desk, then grows with the window to 80rem at 1920, as a wide App frame is: held
|
|
8
|
+
at 68rem, a 1920px desk drew the page in its middle half, 450px of ground either side. At or under 1440 the clamp
|
|
9
|
+
is its floor, so a laptop and a phone draw exactly what they did. */
|
|
10
|
+
.front { width: min(clamp(68rem, 40vw + 32rem, 80rem), 100%); margin: 0 auto; padding: 72px var(--space-7) var(--space-8); overflow-wrap: anywhere; }
|
|
11
|
+
.front p { margin: 0; max-width: 65ch; line-height: 1.6; }
|
|
12
|
+
.front .eyebrow { font: 500 var(--text-xs) var(--mono); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--ink-muted); }
|
|
13
|
+
/* The headline is the display step of the type scale (style.css), in the
|
|
14
|
+
look's heading face at its heading weight. */
|
|
15
|
+
.front h1 {
|
|
16
|
+
margin: 0; max-width: 22ch; font-family: var(--heading-font, var(--sans)); font-size: var(--type-display); line-height: 1.1;
|
|
17
|
+
font-weight: var(--heading-weight); letter-spacing: var(--track-display); text-wrap: balance;
|
|
18
|
+
}
|
|
19
|
+
.front h2 { margin: 0; font: 600 calc(22px * var(--type-k))/1.25 var(--sans); letter-spacing: var(--track-title); text-wrap: balance; }
|
|
20
|
+
.front h3, .front-items h2 { margin: 0 0 var(--space-2h); font: 600 calc(15px * var(--type-k))/1.35 var(--sans); letter-spacing: 0; }
|
|
21
|
+
|
|
22
|
+
.front-hero { display: grid; gap: var(--space-5); padding-bottom: 64px; }
|
|
23
|
+
.front-hero-text { display: grid; gap: var(--space-5); align-content: center; min-width: 0; }
|
|
24
|
+
/* The facts under the headline, a dot between each two. A line that wraps
|
|
25
|
+
starts with a fact, not a dot: every fact leads with its dot, and the list
|
|
26
|
+
is drawn one dot's width to the left with that strip clipped, so the dot
|
|
27
|
+
that would open a line falls outside it. */
|
|
28
|
+
.front-highlights {
|
|
29
|
+
list-style: none; margin: 0 0 0 -22px; padding: 0; display: flex; flex-wrap: wrap; clip-path: inset(0 0 0 22px);
|
|
30
|
+
color: var(--ink-muted); font: 500 var(--text-base) var(--sans);
|
|
31
|
+
}
|
|
32
|
+
.front-highlights li { white-space: nowrap; }
|
|
33
|
+
.front-highlights li::before { content: '\00b7'; display: inline-block; width: 22px; text-align: center; }
|
|
34
|
+
|
|
35
|
+
/* A hero with a photo. The photo's box is sized before the photo arrives —
|
|
36
|
+
nothing moves — and the photo fills it. Split: words left, photo right at
|
|
37
|
+
4:3. Overlay: the photo covers the hero behind the words, under the photo
|
|
38
|
+
stage's scrim (the lightbox's ground and ink, the same in both themes), so
|
|
39
|
+
the words keep their contrast whatever the picture. The overlay's hero is
|
|
40
|
+
sized by its words — at least 16:7 of its width, taller when a headline
|
|
41
|
+
takes more lines — so the words never run off the photo: at a fixed 16:7 a
|
|
42
|
+
book face's headline pushed the stat line's light ink onto the page, where
|
|
43
|
+
it could not be read. The scrim is at its deepest across the words'
|
|
44
|
+
column, however much of the hero that is. */
|
|
45
|
+
.front-hero-media { overflow: hidden; border-radius: var(--radius); background: var(--raised); min-width: 0; }
|
|
46
|
+
.front-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
|
|
47
|
+
.front-hero-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-items: center; }
|
|
48
|
+
.front-hero-split .front-hero-media { grid-column: 2; grid-row: 1; aspect-ratio: 4 / 3; }
|
|
49
|
+
.front-hero-split .front-hero-text { grid-column: 1; grid-row: 1; }
|
|
50
|
+
.front-hero-split .front-hero-search { grid-column: 1 / -1; }
|
|
51
|
+
/* No photo, but points: at a desk they take the photo's place, a column opposite the words behind a hairline, at
|
|
52
|
+
the size of the lede's smaller sibling so they read as reasons and not as fine print. A phone keeps them under the
|
|
53
|
+
actions. */
|
|
54
|
+
@media (min-width: 1024px) {
|
|
55
|
+
.front-hero-beside { grid-template-columns: minmax(0, 3fr) minmax(16rem, 2fr); column-gap: 64px; align-items: center; }
|
|
56
|
+
.front-hero-beside .front-hero-search { grid-column: 1 / -1; }
|
|
57
|
+
.front-hero-points { padding-inline-start: var(--space-7); border-inline-start: 1px solid var(--line); }
|
|
58
|
+
.front-hero-points .front-points { gap: var(--space-5); font-size: var(--text-md); line-height: 1.45; }
|
|
59
|
+
}
|
|
60
|
+
.front-hero-overlay { grid-template-columns: minmax(0, 1fr); container: front-hero / inline-size; }
|
|
61
|
+
.front-hero-overlay .front-hero-media, .front-hero-overlay .front-hero-text { grid-column: 1; grid-row: 1; }
|
|
62
|
+
.front-hero-overlay .front-hero-media { position: relative; align-self: stretch; }
|
|
63
|
+
.front-hero-overlay .front-hero-media img { position: absolute; inset: 0; }
|
|
64
|
+
.front-hero-overlay .front-hero-media::after {
|
|
65
|
+
content: ''; position: absolute; inset: 0;
|
|
66
|
+
background: linear-gradient(90deg, color-mix(in srgb, var(--lightbox-ground) 92%, transparent) 0%,
|
|
67
|
+
color-mix(in srgb, var(--lightbox-ground) 78%, transparent) min(34rem, 100%), transparent calc(min(34rem, 100%) + 24%));
|
|
68
|
+
}
|
|
69
|
+
.front-hero-overlay .front-hero-text { position: relative; z-index: 1; align-self: center; max-width: 34rem; min-height: calc(100cqi * 7 / 16); padding: 40px 44px; color: var(--lightbox-ink); }
|
|
70
|
+
.front-hero-overlay h1 { color: inherit; }
|
|
71
|
+
.front-hero-overlay .eyebrow, .front-hero-overlay .front-lede, .front-hero-overlay .front-highlights { color: var(--lightbox-ink); }
|
|
72
|
+
/* Over the photo the primary is the stage's own: its light ink as the fill,
|
|
73
|
+
its dark ground as the words, in every look. The accent is chosen for the
|
|
74
|
+
page, not the scrim: Mono's black sat on the charcoal at about 1.2:1, and
|
|
75
|
+
the ghost beside it read as the primary. Only the words' own actions: the
|
|
76
|
+
search card standing on the photo's foot is the page's ground, and its
|
|
77
|
+
"Show vehicles" in the photo's white on white read as plain text. */
|
|
78
|
+
.front-hero-overlay .front-hero-text .front-action-primary { background: var(--lightbox-ink); color: var(--lightbox-ground); border-color: transparent; }
|
|
79
|
+
.front-hero-overlay .front-hero-text .front-action-primary:hover { background: color-mix(in srgb, var(--lightbox-ink) 82%, var(--lightbox-ground)); }
|
|
80
|
+
.front-hero-overlay .front-hero-text .front-action-secondary { color: var(--lightbox-ink); border-color: var(--lightbox-line); }
|
|
81
|
+
.front-hero-overlay .front-hero-text .front-action-secondary:hover { background: var(--lightbox-line); border-color: var(--lightbox-ink); }
|
|
82
|
+
.front-hero-overlay .front-hero-search { grid-row: 2; position: relative; z-index: 1; margin: -48px 28px 0; }
|
|
83
|
+
.front-hero-overlay .front-hero-search .front-search-form { box-shadow: var(--shadow-pop); }
|
|
84
|
+
.front-lede { font-size: calc(18px * var(--type-k)); color: var(--ink-muted); }
|
|
85
|
+
.front-hero .front-actions { margin-top: var(--space-4); }
|
|
86
|
+
.front-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }
|
|
87
|
+
.front-action {
|
|
88
|
+
display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px;
|
|
89
|
+
border: 1px solid transparent; border-radius: var(--radius);
|
|
90
|
+
font: 500 calc(15px * var(--type-k)) var(--sans); text-decoration: none;
|
|
91
|
+
}
|
|
92
|
+
.front-action-primary { background: var(--primary, var(--accent)); color: var(--on-primary, var(--on-accent)); }
|
|
93
|
+
.front-action-primary:hover { background: color-mix(in srgb, var(--primary, var(--accent)) 86%, var(--ink)); }
|
|
94
|
+
.front-action-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
|
|
95
|
+
.front-action-secondary:hover { background: var(--surface); border-color: var(--ink-muted); }
|
|
96
|
+
.front a:focus-visible, .front summary:focus-visible { outline: var(--focus-width) solid var(--focus); outline-offset: 2px; }
|
|
97
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
98
|
+
/* Hover is colour, 120ms, and nothing else. */
|
|
99
|
+
.front-action { transition: background-color var(--t-hover) var(--ease-out), border-color var(--t-hover) var(--ease-out); }
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* The 40px-and-up seam between sections is the hierarchy. */
|
|
103
|
+
.front-section { display: grid; gap: var(--space-6); padding: var(--space-8) 0; border-top: 1px solid var(--line); }
|
|
104
|
+
.front-section > p { color: var(--ink-muted); }
|
|
105
|
+
.front-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 28px 40px; }
|
|
106
|
+
.front-items p { color: var(--ink-muted); }
|
|
107
|
+
.front-steps .front-items { counter-reset: front-step; }
|
|
108
|
+
.front-steps .front-items > li { counter-increment: front-step; }
|
|
109
|
+
.front-steps .front-items > li::before {
|
|
110
|
+
content: counter(front-step, decimal-leading-zero); display: block;
|
|
111
|
+
margin-bottom: var(--space-4); padding-bottom: var(--space-3h); border-bottom: 1px solid var(--line);
|
|
112
|
+
font: 500 var(--text-base) var(--mono); letter-spacing: .04em; color: var(--accent-ink);
|
|
113
|
+
}
|
|
114
|
+
.front-prose { display: grid; gap: var(--space-4h); }
|
|
115
|
+
|
|
116
|
+
/* The questions are the house accordion (page.css), held to the prose measure. */
|
|
117
|
+
.front-questions { max-width: 65ch; }
|
|
118
|
+
.front-questions .accordion-trigger { font-weight: 500; padding: var(--space-5) 0; }
|
|
119
|
+
.front-answer { display: grid; gap: var(--space-4); color: var(--ink-muted); }
|
|
120
|
+
|
|
121
|
+
/* A search straight under the hero is part of it: one box, the page's one
|
|
122
|
+
form, its fields in a row that wraps, the call to action at the end. */
|
|
123
|
+
.front-search .front-search-form, .front-hero-search .front-search-form {
|
|
124
|
+
display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--space-5) 20px;
|
|
125
|
+
padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
|
|
126
|
+
}
|
|
127
|
+
.front-hero + .front-search { border-top: 0; padding-top: 0; margin-top: -16px; }
|
|
128
|
+
.front-search-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: var(--space-4h) var(--space-5); min-width: 0; }
|
|
129
|
+
.front-search-field { display: grid; gap: var(--space-2h); min-width: 0; }
|
|
130
|
+
.front-search-label { font: 500 var(--text-sm) var(--sans); color: var(--ink-muted); }
|
|
131
|
+
/* A text box and a Select in one row are one kind of field: the same edge,
|
|
132
|
+
ground, face and height. Left to the browser, the text box drew its own
|
|
133
|
+
inset grey frame beside the look's selects. */
|
|
134
|
+
.front-search-input, .front-search-field .dd-button {
|
|
135
|
+
box-sizing: border-box; width: 100%; min-height: 40px; padding: var(--space-3) var(--space-3h);
|
|
136
|
+
font: var(--text-md) var(--sans); color: var(--ink); background: var(--surface);
|
|
137
|
+
border: 1px solid var(--line-control); border-radius: var(--field-radius, var(--radius));
|
|
138
|
+
}
|
|
139
|
+
.front-search-input::placeholder { color: var(--ink-subtle); }
|
|
140
|
+
.front-search-field .dropdown, .front-search-field button { width: 100%; min-height: 40px; }
|
|
141
|
+
.front a:focus-visible, .front button:focus-visible, .front input:focus-visible { outline: var(--focus-width) solid var(--focus); outline-offset: 2px; }
|
|
142
|
+
.front-more { margin: 0; }
|
|
143
|
+
.front-more a { color: var(--link); font: 500 var(--text-md) var(--sans); }
|
|
144
|
+
.front-note { color: var(--ink-muted); font-size: var(--text-md); }
|
|
145
|
+
|
|
146
|
+
.front-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-3h) var(--space-7); }
|
|
147
|
+
.front-links a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
|
|
148
|
+
.front-contact .front-links a { font-size: calc(15px * var(--type-k)); }
|
|
149
|
+
|
|
150
|
+
.front-footer { display: grid; gap: var(--space-4); padding-top: 28px; border-top: 1px solid var(--line); color: var(--ink-muted); font-size: var(--text-base); }
|
|
151
|
+
.front-footer .front-links { gap: var(--space-3) 20px; }
|
|
152
|
+
|
|
153
|
+
body.landing-mode .sidebar, body.landing-mode .sidebar-reveal, body.landing-mode #topnav, body.landing-mode .querybar,
|
|
154
|
+
body.landing-mode .brand-db, body.landing-mode .conn-picker, body.landing-mode .topbar-actions, body.landing-mode #explain-pane { display: none; }
|
|
155
|
+
body.landing-mode .brand { min-width: 0; max-width: 100%; pointer-events: none; }
|
|
156
|
+
|
|
157
|
+
@media (max-width: 600px) {
|
|
158
|
+
.front { padding: 40px var(--space-5) var(--space-7); }
|
|
159
|
+
.front-lede { font-size: var(--text-lg); }
|
|
160
|
+
.front-hero { padding-bottom: 44px; }
|
|
161
|
+
.front-section { padding: 40px 0; }
|
|
162
|
+
.front-action { flex: 1 1 100%; }
|
|
163
|
+
.front-search .front-search-form, .front-hero-search .front-search-form { grid-template-columns: minmax(0, 1fr); padding: var(--space-5); }
|
|
164
|
+
/* A phone reads the photo first and the words under it, on the page's own ground. */
|
|
165
|
+
.front-hero-split, .front-hero-overlay { grid-template-columns: minmax(0, 1fr); }
|
|
166
|
+
.front-hero-split .front-hero-media, .front-hero-overlay .front-hero-media { grid-column: 1; grid-row: 1; aspect-ratio: 16 / 9; }
|
|
167
|
+
.front-hero-split .front-hero-text, .front-hero-overlay .front-hero-text { grid-column: 1; grid-row: 2; }
|
|
168
|
+
.front-hero-split .front-hero-search, .front-hero-overlay .front-hero-search { grid-column: 1; grid-row: 3; margin: 0; }
|
|
169
|
+
.front-hero-overlay .front-hero-media::after { display: none; }
|
|
170
|
+
.front-hero-overlay .front-hero-text { max-width: none; min-height: 0; padding: 0; color: var(--ink); }
|
|
171
|
+
.front-hero-overlay .eyebrow, .front-hero-overlay .front-lede, .front-hero-overlay .front-highlights { color: var(--ink-muted); }
|
|
172
|
+
.front-hero-overlay .front-hero-text .front-action-secondary { color: var(--ink); border-color: var(--line-strong); }
|
|
173
|
+
/* Under the photo, on the page's ground, the primary is the page's again. */
|
|
174
|
+
.front-hero-overlay .front-hero-text .front-action-primary { background: var(--primary, var(--accent)); color: var(--on-primary, var(--on-accent)); }
|
|
175
|
+
.front-hero-overlay .front-hero-text .front-action-primary:hover { background: color-mix(in srgb, var(--primary, var(--accent)) 86%, var(--ink)); }
|
|
176
|
+
}
|
|
177
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The public landing: an App's front page for someone who is not signed in.
|
|
3
|
+
* No sidebar, no query bar, no session — a headline, the calls to action,
|
|
4
|
+
* the author's sections and a footer, in the App's name and dress. Every
|
|
5
|
+
* string the author wrote is drawn as React text, so markup in it is shown
|
|
6
|
+
* and never run; the links were held to https:, mailto: and tel: when the
|
|
7
|
+
* App loaded, and are held to them again here before they become an href.
|
|
8
|
+
*/
|
|
9
|
+
import { type MouseEvent, type ReactNode } from 'react';
|
|
10
|
+
import type { AppLanding, LandingAction, LandingImage, LandingSection } from '@mistriwork/engine/shared/servedApp.js';
|
|
11
|
+
import './LandingSurface.css';
|
|
12
|
+
/** A call to action that opens one of the App's views: its address, and how to follow it in place. */
|
|
13
|
+
type ViewLink = {
|
|
14
|
+
href: string;
|
|
15
|
+
onClick?: (event: MouseEvent<HTMLAnchorElement>) => void;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* What only the App can draw, handed in by the App that draws the landing:
|
|
19
|
+
* the sections that read its rows, and the address of a view a call to
|
|
20
|
+
* action opens. Signed out without the App, both are absent, and the page
|
|
21
|
+
* is the author's text alone.
|
|
22
|
+
*/
|
|
23
|
+
interface LandingHost {
|
|
24
|
+
renderSection?: (section: LandingSection) => ReactNode;
|
|
25
|
+
openView?: (view: string) => ViewLink | undefined;
|
|
26
|
+
/** The address of the hero's photo, a row of the App's files. */
|
|
27
|
+
imageSrc?: (image: LandingImage) => string | undefined;
|
|
28
|
+
}
|
|
29
|
+
/** Where a call to action goes when the App says nothing better: the public form's own page, or staff sign-in. */
|
|
30
|
+
export declare function actionHref(appId: string, action: LandingAction): string;
|
|
31
|
+
/** The parser's rule, said again at the last moment an href can do harm. */
|
|
32
|
+
export declare function safeHref(href: string): string | undefined;
|
|
33
|
+
export declare function LandingSurface({ landing, app, renderSection, openView, imageSrc, footer: drawsFooter, }: {
|
|
34
|
+
landing: AppLanding;
|
|
35
|
+
app: {
|
|
36
|
+
id: string;
|
|
37
|
+
name: string;
|
|
38
|
+
};
|
|
39
|
+
/** False where the surrounding shell draws the App's footer under this page (Content.tsx), so one is on screen, not two. */
|
|
40
|
+
footer?: boolean;
|
|
41
|
+
} & LandingHost): import("react").JSX.Element;
|
|
42
|
+
export {};
|