@protobase/ui 0.112.0 → 0.112.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/messages.d.ts +2 -2
- package/dist/app/app.js +4 -3
- package/dist/app/change-confirm/messages.d.ts +2 -2
- package/dist/app/charts/messages.d.ts +2 -2
- package/dist/app/comments/messages.d.ts +2 -2
- package/dist/app/confirm-sign-in-messages.d.ts +2 -2
- package/dist/app/create/messages.d.ts +2 -2
- package/dist/app/custom-section.d.ts +1 -1
- package/dist/app/delete/messages.d.ts +2 -2
- package/dist/app/displays/list-cards.d.ts +1 -1
- package/dist/app/displays/messages.d.ts +2 -2
- package/dist/app/embedded-list/messages.d.ts +2 -2
- package/dist/app/export/messages.d.ts +2 -2
- package/dist/app/field-messages.d.ts +2 -2
- package/dist/app/field-types/custom-step-container/messages.d.ts +2 -2
- package/dist/app/field-types/runner-install/messages.d.ts +2 -2
- package/dist/app/field-types/widget-part.d.ts +1 -1
- package/dist/app/field-types/workflow/definition.d.ts +1 -1
- package/dist/app/field-types/workflow/messages.d.ts +2 -2
- package/dist/app/field-types/workflow-page/messages.d.ts +2 -2
- package/dist/app/field-types/workflow-run/messages.d.ts +2 -2
- package/dist/app/file-viewers/messages.d.ts +2 -2
- package/dist/app/focus/messages.d.ts +2 -2
- package/dist/app/gallery/messages.d.ts +2 -2
- package/dist/app/hand-order/messages.d.ts +2 -2
- package/dist/app/history/messages.d.ts +2 -2
- package/dist/app/hold-start-for-first-loads.d.ts +12 -0
- package/dist/app/hold-start-for-first-loads.js +43 -0
- package/dist/app/import/messages.d.ts +2 -2
- package/dist/app/index.html +17 -0
- package/dist/app/list-edit/messages.d.ts +2 -2
- package/dist/app/list-messages.d.ts +2 -2
- package/dist/app/messages.d.ts +2 -2
- package/dist/app/meta-gate-messages.d.ts +2 -2
- package/dist/app/new-version/messages.d.ts +2 -2
- package/dist/app/pages/custom-boundary.d.ts +1 -1
- package/dist/app/pages/custom-chosen.d.ts +1 -1
- package/dist/app/pages/messages.d.ts +2 -2
- package/dist/app/record-chart/messages.d.ts +2 -2
- package/dist/app/record-messages.d.ts +2 -2
- package/dist/app/record-mode/shown-layout.d.ts +1 -1
- package/dist/app/record-row/messages.d.ts +2 -2
- package/dist/app/related-cards/messages.d.ts +2 -2
- package/dist/app/runtime/messages.d.ts +2 -2
- package/dist/app/saved/messages.d.ts +2 -2
- package/dist/app/saved/saved-list.d.ts +1 -1
- package/dist/app/saved/use-favorite.d.ts +1 -1
- package/dist/app/searches/messages.d.ts +2 -2
- package/dist/app/searches/use-save-search.d.ts +1 -1
- package/dist/app/splash-hold.d.ts +1 -0
- package/dist/app/splash-hold.js +1 -1
- package/dist/app/start-screen.d.ts +9 -0
- package/dist/app/start-screen.js +10 -1
- package/dist/app-shell/index.d.ts +2 -1
- package/dist/app-shell/index.js +2 -1
- package/dist/app-shell/logo-tap.d.ts +11 -0
- package/dist/app-shell/logo-tap.js +16 -0
- package/dist/app-shell/messages.d.ts +2 -2
- package/dist/app-shell/sidebar.js +2 -0
- package/dist/assistant-dock/messages.d.ts +2 -2
- package/dist/auth/messages.d.ts +2 -2
- package/dist/calls/messages.d.ts +2 -2
- package/dist/chat/messages.d.ts +2 -2
- package/dist/compact-table/messages.d.ts +2 -2
- package/dist/data-grid/column-spec.d.ts +1 -1
- package/dist/data-grid/messages.d.ts +2 -2
- package/dist/filter-panel/messages.d.ts +2 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/inline-child-table/messages.d.ts +2 -2
- package/dist/invitations/messages.d.ts +2 -2
- package/dist/mailbox/messages.d.ts +2 -2
- package/dist/markdown/messages.d.ts +2 -2
- package/dist/mentions/messages.d.ts +2 -2
- package/dist/mocks/customers.d.ts +2 -2
- package/dist/mocks/invoices.d.ts +3 -3
- package/dist/mocks/orders.d.ts +3 -3
- package/dist/notifications/bell/messages.d.ts +2 -2
- package/dist/organizations/messages.d.ts +2 -2
- package/dist/package.js +1 -1
- package/dist/plugins/before-sign-in.d.ts +1 -1
- package/dist/primitives/messages.d.ts +2 -2
- package/dist/record-view/messages.d.ts +2 -2
- package/dist/record-view/use-autosave.d.ts +1 -1
- package/dist/shell/assets/app-BbB79rGo.js +16 -0
- package/dist/shell/assets/{graph-view-BfYs6ayj.js → graph-view-DkLJGbAM.js} +2 -2
- package/dist/shell/assets/{html-viewer-C0QI0zaR.js → html-viewer-CFhG0dfK.js} +2 -2
- package/dist/shell/assets/{in-place-form-y_QOwKOi.js → in-place-form-CSZ6XQwe.js} +2 -2
- package/dist/shell/assets/{index-CW7p8b2W.js → index-CGHo79rF.js} +2 -2
- package/dist/shell/assets/{maplibre-BGA6uo19.js → maplibre-CU0FwYOr.js} +2 -2
- package/dist/shell/assets/{markdown-content-DFkH88LY.js → markdown-content-HfXJkQCt.js} +2 -2
- package/dist/shell/assets/{record-map-4A4R4ckl.js → record-map-BSsmZmbf.js} +2 -2
- package/dist/shell/assets/{records-map-BsE-mBBB.js → records-map-CCHa0cjg.js} +2 -2
- package/dist/shell/assets/{run-trace-view-CSoeovIo.js → run-trace-view-ovkKBP1m.js} +2 -2
- package/dist/shell/assets/{search-picker-DAcPiMQA.js → search-picker-DuhRI954.js} +2 -2
- package/dist/shell/assets/shared-protobase-ui-Mk2r7Wf4.js +2 -0
- package/dist/shell/assets/{step-catalog-BuUwSkK9.js → step-catalog-DxGx8yvI.js} +2 -2
- package/dist/shell/assets/{step-panel-CoOoYMdA.js → step-panel-BLv6M8fk.js} +2 -2
- package/dist/shell/assets/{use-app-address-D50fN1nP.js → use-app-address-B6k3dkV0.js} +2 -2
- package/dist/shell/assets/{use-sibling-page-Ccwp2gM-.js → use-sibling-page-DLjl_l8i.js} +3 -3
- package/dist/shell/assets/{workflow-canvas-CNpgSr9v.js → workflow-canvas-DLDb_g1s.js} +2 -2
- package/dist/shell/assets/{workflow-graph-editor-z38xU0ar.js → workflow-graph-editor-DZHTqa3R.js} +2 -2
- package/dist/shell/assets/workflow-workbench-CG8xTDx0.js +4 -0
- package/dist/shell/index.html +8 -5
- package/dist/shell/protobase.shell.json +2 -2
- package/dist/shell/protobase.sw.js +2 -2
- package/dist/shell-source-maps/assets/app-BbB79rGo.js.map +1 -0
- package/dist/shell-source-maps/assets/{graph-view-BfYs6ayj.js.map → graph-view-DkLJGbAM.js.map} +1 -1
- package/dist/shell-source-maps/assets/{html-viewer-C0QI0zaR.js.map → html-viewer-CFhG0dfK.js.map} +1 -1
- package/dist/shell-source-maps/assets/{in-place-form-y_QOwKOi.js.map → in-place-form-CSZ6XQwe.js.map} +1 -1
- package/dist/shell-source-maps/assets/{index-CW7p8b2W.js.map → index-CGHo79rF.js.map} +1 -1
- package/dist/shell-source-maps/assets/{maplibre-BGA6uo19.js.map → maplibre-CU0FwYOr.js.map} +1 -1
- package/dist/shell-source-maps/assets/{markdown-content-DFkH88LY.js.map → markdown-content-HfXJkQCt.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-map-4A4R4ckl.js.map → record-map-BSsmZmbf.js.map} +1 -1
- package/dist/shell-source-maps/assets/{records-map-BsE-mBBB.js.map → records-map-CCHa0cjg.js.map} +1 -1
- package/dist/shell-source-maps/assets/{run-trace-view-CSoeovIo.js.map → run-trace-view-ovkKBP1m.js.map} +1 -1
- package/dist/shell-source-maps/assets/{search-picker-DAcPiMQA.js.map → search-picker-DuhRI954.js.map} +1 -1
- package/dist/shell-source-maps/assets/shared-protobase-ui-Mk2r7Wf4.js.map +1 -0
- package/dist/shell-source-maps/assets/{step-catalog-BuUwSkK9.js.map → step-catalog-DxGx8yvI.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-panel-CoOoYMdA.js.map → step-panel-BLv6M8fk.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-app-address-D50fN1nP.js.map → use-app-address-B6k3dkV0.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-sibling-page-Ccwp2gM-.js.map → use-sibling-page-DLjl_l8i.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-canvas-CNpgSr9v.js.map → workflow-canvas-DLDb_g1s.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-graph-editor-z38xU0ar.js.map → workflow-graph-editor-DZHTqa3R.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-workbench-CAk5M4iT.js.map → workflow-workbench-CG8xTDx0.js.map} +1 -1
- package/dist/status/messages.d.ts +2 -2
- package/dist/users/messages.d.ts +2 -2
- package/package.json +5 -5
- package/dist/shell/assets/app-CYep6fHL.js +0 -16
- package/dist/shell/assets/shared-protobase-ui-BudhYj2I.js +0 -2
- package/dist/shell/assets/workflow-workbench-CAk5M4iT.js +0 -4
- package/dist/shell-source-maps/assets/app-CYep6fHL.js.map +0 -1
- package/dist/shell-source-maps/assets/shared-protobase-ui-BudhYj2I.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/import/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "row" | "line" | "check" | "create" | "file" | "back" | "download" | "cancel" | "stopped" | "done" | "columns" | "rows" | "update" | "column" | "import" | "reading" | "field" | "cancelled" | "nameTaken" | "failed" | "next" | "created" | "summary" | "saving" | "updated" | "unreadable" | "importPlural" | "couldNotReadFile" | "couldNotCheck" | "checkRows" | "checking" | "importRows" | "cancelImport" | "fileHint" | "theFile" | "sheet" | "upsert" | "createHint" | "updateHint" | "upsertHint" | "doNotImport" | "whatEachRowDoes" | "findBy" | "chooseField" | "findByHint" | "foundInColumn" | "chooseColumn" | "numbers" | "dates" | "dayFirst" | "monthFirst" | "datesHint" | "requiredMarked" | "emptyInFirstRows" | "fieldFor" | "foundBy" | "pluralFoundBy" | "noColumnFills" | "rowsNotImported" | "rowProblems" | "andMore" | "checkingRows" | "toCreate" | "toUpdate" | "withProblems" | "firstRows" | "problemRows" | "batches" | "stopping" | "rowsSaved" | "skipped" | "notWrittenHint" | "notImportedFile" | "problems" | "notNumber" | "notWholeNumber" | "tooLarge" | "notBoolean" | "notDate" | "hasTime" | "severalValues" | "notOneOf" | "notText" | "nestedValue" | "emptyRequired" | "noneHas" | "severalHave" | "notOneRecord" | "nothingToUpdate" | "fileNotUtf8" | "noSheets" | "missingSheetPart" | "notZip" | "zip64" | "compression" | "notWorkbook" | "noSheetCalled" | "jsonInvalid" | "jsonNotList" | "fromFile" | "tableFromFile" | "newTable" | "noTitle" | "needed" | "nameForm" | "nameReservedWord" | "nameReservedField" | "nameTwice" | "noFields" | "typeFor" | "labelFor" | "nameFor" | "decimalSize" | "typesFromCells" | "couldNotMakeTable" | "makeTable" | "openTable" | "labelTooLong", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "row" | "line" | "check" | "create" | "file" | "back" | "download" | "cancel" | "stopped" | "done" | "columns" | "rows" | "update" | "column" | "import" | "reading" | "field" | "cancelled" | "nameTaken" | "failed" | "next" | "created" | "summary" | "saving" | "updated" | "unreadable" | "importPlural" | "couldNotReadFile" | "couldNotCheck" | "checkRows" | "checking" | "importRows" | "cancelImport" | "fileHint" | "theFile" | "sheet" | "upsert" | "createHint" | "updateHint" | "upsertHint" | "doNotImport" | "whatEachRowDoes" | "findBy" | "chooseField" | "findByHint" | "foundInColumn" | "chooseColumn" | "numbers" | "dates" | "dayFirst" | "monthFirst" | "datesHint" | "requiredMarked" | "emptyInFirstRows" | "fieldFor" | "foundBy" | "pluralFoundBy" | "noColumnFills" | "rowsNotImported" | "rowProblems" | "andMore" | "checkingRows" | "toCreate" | "toUpdate" | "withProblems" | "firstRows" | "problemRows" | "batches" | "stopping" | "rowsSaved" | "skipped" | "notWrittenHint" | "notImportedFile" | "problems" | "notNumber" | "notWholeNumber" | "tooLarge" | "notBoolean" | "notDate" | "hasTime" | "severalValues" | "notOneOf" | "notText" | "nestedValue" | "emptyRequired" | "noneHas" | "severalHave" | "notOneRecord" | "nothingToUpdate" | "fileNotUtf8" | "noSheets" | "missingSheetPart" | "notZip" | "zip64" | "compression" | "notWorkbook" | "noSheetCalled" | "jsonInvalid" | "jsonNotList" | "fromFile" | "tableFromFile" | "newTable" | "noTitle" | "needed" | "nameForm" | "nameReservedWord" | "nameReservedField" | "nameTwice" | "noFields" | "typeFor" | "labelFor" | "nameFor" | "decimalSize" | "typesFromCells" | "couldNotMakeTable" | "makeTable" | "openTable" | "labelTooLong", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/app/index.html
CHANGED
|
@@ -64,6 +64,20 @@
|
|
|
64
64
|
transform: rotate(360deg);
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
+
/* A host's snapshot of the page shown last (start-screen.ts), in place of the spinner, inert, until the app draws */
|
|
68
|
+
#pb-snapshot {
|
|
69
|
+
position: absolute;
|
|
70
|
+
inset: 0;
|
|
71
|
+
overflow: hidden;
|
|
72
|
+
pointer-events: none;
|
|
73
|
+
user-select: none;
|
|
74
|
+
}
|
|
75
|
+
#pb-snapshot:empty {
|
|
76
|
+
display: none;
|
|
77
|
+
}
|
|
78
|
+
#pb-start:has(#pb-snapshot:not(:empty)) svg {
|
|
79
|
+
display: none;
|
|
80
|
+
}
|
|
67
81
|
/* A start that failed: index.html's own words, as the app's translations never loaded */
|
|
68
82
|
#pb-start [role='alert'] {
|
|
69
83
|
display: flex;
|
|
@@ -93,6 +107,7 @@
|
|
|
93
107
|
<!-- As tall as the screen shows, browser toolbars aside, so a page that fills it, such as a map, keeps the bottom bar in view. The page reaches under the status bar and the home indicator, which the shell's bars keep clear of; the sides keep clear of the notch. -->
|
|
94
108
|
<div id="root" class="h-dvh" style="padding-left: var(--pb-safe-left); padding-right: var(--pb-safe-right)"></div>
|
|
95
109
|
<div id="pb-start" aria-hidden="true">
|
|
110
|
+
<div id="pb-snapshot"></div>
|
|
96
111
|
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12a9 9 0 1 1-6.219-8.56" /></svg>
|
|
97
112
|
<div role="alert" hidden>
|
|
98
113
|
<p style="margin: 0">The app did not load. Check your connection, then try again.</p>
|
|
@@ -117,6 +132,8 @@
|
|
|
117
132
|
// A stylesheet or an image that does not load leaves the app to start
|
|
118
133
|
if (event && event.type === 'error' && event.target !== window && event.target.tagName !== 'SCRIPT') return
|
|
119
134
|
stop()
|
|
135
|
+
var snapshot = document.getElementById('pb-snapshot')
|
|
136
|
+
if (snapshot) snapshot.remove()
|
|
120
137
|
start.removeAttribute('aria-hidden')
|
|
121
138
|
start.querySelector('svg').remove()
|
|
122
139
|
start.querySelector('[role="alert"]').hidden = false
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/list-edit/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "changedBySomeoneElse" | "couldNotSave", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "changedBySomeoneElse" | "couldNotSave", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/app/list-messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "sort" | "search" | "
|
|
5
|
-
rich(id: "sort" | "search" | "
|
|
4
|
+
(id: "sort" | "search" | "delete" | "filters" | "export" | "searchPlural" | "noList" | "filtersCount" | "newRecord" | "openRecord" | "exportCount" | "deleteCount" | "actionCount" | "dragToSort" | "unreadableFilter" | "couldNotLoadRows" | "created" | "noMatchSearch" | "noMatchFilters" | "noMatch" | "noneYet" | "clearSearch" | "clearFilters", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "sort" | "search" | "delete" | "filters" | "export" | "searchPlural" | "noList" | "filtersCount" | "newRecord" | "openRecord" | "exportCount" | "deleteCount" | "actionCount" | "dragToSort" | "unreadableFilter" | "couldNotLoadRows" | "created" | "noMatchSearch" | "noMatchFilters" | "noMatch" | "noneYet" | "clearSearch" | "clearFilters", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/app/messages.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/app/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "account" | "pages" | "open" | "new" | "reload" | "signInPolicy" | "loading" | "remove" | "fileMissing" | "replace" | "admin" | "assistant" | "notFound" | "noResource" | "somethingWentWrong" | "adminsOnly" | "onlyAdminPolicy" | "ownersOnly" | "onlyOwners" | "chooseResource" | "pickFromSidebar" | "nothingHere" | "noPage" | "operationFailed" | "nothingSaved" | "loadingRecord" | "noComponent" | "choose" | "noValue" | "chooseFileFor" | "notUploaded" | "uploadingLabel" | "uploading" | "dropFile" | "chooseFile" | "average" | "sales" | "crm" | "catalog" | "inventory" | "hr" | "tables" | "cannotReach" | "searchPlural" | "couldNotLoadOptions" | "noMatches" | "refreshing" | "refreshFailed" | "leaveTitle" | "leaveDescription" | "leaveInputLost" | "stay" | "leave" | "reloadTitle" | "reloadDraftKept" | "reloadInputLost" | "keepEditing" | "show" | "hide" | "couldNotShow" | "setNewValue" | "noAnswer" | "signInRefused" | "loadingFrom" | "restWorks" | "tryAgain" | "staffSession" | "staffSignedIn" | "stopStaffSession" | "openLabel" | "opensNewTab", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "account" | "pages" | "open" | "new" | "reload" | "signInPolicy" | "loading" | "remove" | "fileMissing" | "replace" | "admin" | "assistant" | "notFound" | "noResource" | "somethingWentWrong" | "adminsOnly" | "onlyAdminPolicy" | "ownersOnly" | "onlyOwners" | "chooseResource" | "pickFromSidebar" | "nothingHere" | "noPage" | "operationFailed" | "nothingSaved" | "loadingRecord" | "noComponent" | "choose" | "noValue" | "chooseFileFor" | "notUploaded" | "uploadingLabel" | "uploading" | "dropFile" | "chooseFile" | "average" | "sales" | "crm" | "catalog" | "inventory" | "hr" | "tables" | "cannotReach" | "searchPlural" | "couldNotLoadOptions" | "noMatches" | "refreshing" | "refreshFailed" | "leaveTitle" | "leaveDescription" | "leaveInputLost" | "stay" | "leave" | "reloadTitle" | "reloadDraftKept" | "reloadInputLost" | "keepEditing" | "show" | "hide" | "couldNotShow" | "setNewValue" | "noAnswer" | "signInRefused" | "loadingFrom" | "restWorks" | "tryAgain" | "staffSession" | "staffSignedIn" | "stopStaffSession" | "openLabel" | "opensNewTab", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/app/meta-gate-messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "loading" | "
|
|
5
|
-
rich(id: "loading" | "
|
|
4
|
+
(id: "loading" | "cannotReach" | "noAnswer", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "loading" | "cannotReach" | "noAnswer", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/new-version/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "title" | "
|
|
5
|
-
rich(id: "title" | "
|
|
4
|
+
(id: "title" | "description" | "reload" | "reloadPage" | "reloadPageHint" | "bannerTitle" | "bannerLine", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "title" | "description" | "reload" | "reloadPage" | "reloadPageHint" | "bannerTitle" | "bannerLine", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -21,6 +21,6 @@ export declare class CustomBoundary extends Component<CustomBoundaryProps, {
|
|
|
21
21
|
};
|
|
22
22
|
componentDidCatch(error: unknown, info: ErrorInfo): void;
|
|
23
23
|
componentDidUpdate(previous: CustomBoundaryProps): void;
|
|
24
|
-
render(): string | number | bigint | boolean |
|
|
24
|
+
render(): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
|
|
25
25
|
}
|
|
26
26
|
//#endregion
|
|
@@ -8,5 +8,5 @@ import { LayoutNode } from "@protobase/layout";
|
|
|
8
8
|
export declare const CustomChosen: ({ node, children }: {
|
|
9
9
|
node: LayoutNode;
|
|
10
10
|
children: ReactNode;
|
|
11
|
-
}) => string | number | bigint | boolean |
|
|
11
|
+
}) => string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
|
|
12
12
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/pages/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "number" | "create" | "
|
|
5
|
-
rich(id: "number" | "create" | "
|
|
4
|
+
(id: "number" | "create" | "cancel" | "save" | "required" | "done" | "notFound" | "noPage" | "noComponent" | "wholeNumber" | "failed" | "tabs" | "noTab" | "couldNotDraw" | "unknownBlock" | "somethingWrong" | "needsRecord" | "cannotChange" | "cannotDelete" | "doesNotApply" | "noHandler" | "noInputComponent" | "doneOn" | "refusedOn" | "noAction" | "couldNotLoad" | "nothingYet" | "loadMore" | "timelineCut" | "saved" | "notSaved" | "settings" | "couldNotCount" | "dateFormat" | "atMost" | "tickEvery" | "nothingToTick" | "forRecords" | "timelineRange" | "timelineNow" | "timelinePoint", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "number" | "create" | "cancel" | "save" | "required" | "done" | "notFound" | "noPage" | "noComponent" | "wholeNumber" | "failed" | "tabs" | "noTab" | "couldNotDraw" | "unknownBlock" | "somethingWrong" | "needsRecord" | "cannotChange" | "cannotDelete" | "doesNotApply" | "noHandler" | "noInputComponent" | "doneOn" | "refusedOn" | "noAction" | "couldNotLoad" | "nothingYet" | "loadMore" | "timelineCut" | "saved" | "notSaved" | "settings" | "couldNotCount" | "dateFormat" | "atMost" | "tickEvery" | "nothingToTick" | "forRecords" | "timelineRange" | "timelineNow" | "timelinePoint", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/record-chart/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "day" | "hour" | "week" | "maximum" | "average" | "couldNotLoad" | "range" | "measure" | "noSamples", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "day" | "hour" | "week" | "maximum" | "average" | "couldNotLoad" | "range" | "measure" | "noSamples", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/app/record-messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "edit" | "fetching" | "
|
|
5
|
-
rich(id: "edit" | "fetching" | "
|
|
4
|
+
(id: "edit" | "fetching" | "loading" | "cancel" | "save" | "history" | "comments" | "delete" | "couldNotLoad" | "nothingYet" | "saved" | "notSaved" | "justNow" | "details" | "summary" | "lineNumber" | "noRecord" | "openingElsewhere" | "someoneElse" | "unsavedChanges" | "linesChanged" | "linesReloaded" | "unsavedKept" | "continueEditing" | "discard" | "unsavedRestored" | "keep" | "savingSubject" | "subjectSaved" | "changedBySomeoneElse" | "couldNotSave" | "recordActions" | "relatedRecords" | "lineField" | "tooManyLines", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "edit" | "fetching" | "loading" | "cancel" | "save" | "history" | "comments" | "delete" | "couldNotLoad" | "nothingYet" | "saved" | "notSaved" | "justNow" | "details" | "summary" | "lineNumber" | "noRecord" | "openingElsewhere" | "someoneElse" | "unsavedChanges" | "linesChanged" | "linesReloaded" | "unsavedKept" | "continueEditing" | "discard" | "unsavedRestored" | "keep" | "savingSubject" | "subjectSaved" | "changedBySomeoneElse" | "couldNotSave" | "recordActions" | "relatedRecords" | "lineField" | "tooManyLines", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CustomSectionModel, LayoutItemModel } from "@protobase/schema";
|
|
2
2
|
//#region src/app/record-mode/shown-layout.d.ts
|
|
3
|
-
export declare const whenOf: (item: LayoutItemModel) => "always" |
|
|
3
|
+
export declare const whenOf: (item: LayoutItemModel) => "always" | "editing" | "reading" | (string & {}) | undefined;
|
|
4
4
|
/** The items with a record condition in `when`, those inside tabs, groups and fallbacks too, whose conditions the page evaluates: a group before its items. */
|
|
5
5
|
export declare const conditionalItems: (items: LayoutItemModel[]) => LayoutItemModel[];
|
|
6
6
|
/** A shown custom section: `fallbackAt` holds each shown fallback item's place in the whole fallback. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/record-row/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "new" | "noneYet" | "couldNotLoad" | "noneMatch" | "viewAll" | "couldNotLoadYour", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "new" | "noneYet" | "couldNotLoad" | "noneMatch" | "viewAll" | "couldNotLoadYour", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/related-cards/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "left" | "open" | "couldNotLoad" | "nothingYet" | "add" | "showMore" | "showLess", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "left" | "open" | "couldNotLoad" | "nothingYet" | "add" | "showMore" | "showLess", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/runtime/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "update" | "manual" | "failed" | "close" | "immediate" | "weekly" | "scheduled" | "job" | "build" | "updatingNow" | "started" | "nextOn" | "succeeded" | "unchanged" | "alreadyLatest" | "onlyAdmin" | "couldNotStart" | "runtimeUpdate" | "updating" | "updateNow" | "currentVersion" | "latestVersion" | "checkFailed" | "updateAvailable", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "update" | "manual" | "failed" | "close" | "immediate" | "weekly" | "scheduled" | "job" | "build" | "updatingNow" | "started" | "nextOn" | "succeeded" | "unchanged" | "alreadyLatest" | "onlyAdmin" | "couldNotStart" | "runtimeUpdate" | "updating" | "updateNow" | "currentVersion" | "latestVersion" | "checkFailed" | "updateAvailable", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/saved/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "noneYet" | "somethingWrong" | "couldNotSave" | "couldNotLoadYour" | "favorite" | "couldNotTakeOff", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "noneYet" | "somethingWrong" | "couldNotSave" | "couldNotLoadYour" | "favorite" | "couldNotTakeOff", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -15,5 +15,5 @@ type SavedListProps = {
|
|
|
15
15
|
* The list page of a view with `listOf`: the records the user's saved ones point at, in their own resource's list, once
|
|
16
16
|
* the saved ones have loaded; until then, or when there are none, the page says so under the view's title.
|
|
17
17
|
*/
|
|
18
|
-
export declare const SavedList: ({ model, view, target, children }: SavedListProps) => string | number | bigint | boolean |
|
|
18
|
+
export declare const SavedList: ({ model, view, target, children }: SavedListProps) => string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
|
|
19
19
|
//#endregion
|
|
@@ -6,7 +6,7 @@ import { CardFavoriteModel, KeyValue } from "@protobase/schema";
|
|
|
6
6
|
* or takes it off, at once on screen; a refused write puts it back and says why.
|
|
7
7
|
*/
|
|
8
8
|
export declare const useFavorite: (favorite: CardFavoriteModel, key: string, target: KeyValue) => {
|
|
9
|
-
mode: "
|
|
9
|
+
mode: "save" | "sign-in" | undefined;
|
|
10
10
|
prompt: import("@protobase/schema").SignInPromptModel | undefined;
|
|
11
11
|
saved: boolean;
|
|
12
12
|
ready: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/searches/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "changed" | "cancel" | "save" | "on" | "off" | "optional" | "update" | "filters" | "saveSearch" | "notFound" | "noResource" | "unreadableFilter" | "noneYet" | "somethingWrong" | "saved" | "couldNotSave" | "more" | "deleteTitle" | "couldNotChange" | "noPlural" | "noneMatch" | "viewAll" | "couldNotLoadYour" | "couldNotTakeOff" | "saveAsNew" | "updateName" | "updateNameQuestion" | "updateNounQuestion" | "couldNotRename" | "renameTitle" | "noSavedYet" | "asMany" | "fewer" | "added" | "removed" | "filterChanges" | "firstOf" | "addedRemoved" | "noRecordsDiff" | "searchSaved" | "openPlural" | "searchUpdated" | "couldNotUpdate" | "noNew", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "changed" | "cancel" | "save" | "on" | "off" | "optional" | "update" | "filters" | "saveSearch" | "notFound" | "noResource" | "unreadableFilter" | "noneYet" | "somethingWrong" | "saved" | "couldNotSave" | "more" | "deleteTitle" | "couldNotChange" | "noPlural" | "noneMatch" | "viewAll" | "couldNotLoadYour" | "couldNotTakeOff" | "saveAsNew" | "updateName" | "updateNameQuestion" | "updateNounQuestion" | "couldNotRename" | "renameTitle" | "noSavedYet" | "asMany" | "fewer" | "added" | "removed" | "filterChanges" | "firstOf" | "addedRemoved" | "noRecordsDiff" | "searchSaved" | "openPlural" | "searchUpdated" | "couldNotUpdate" | "noNew", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -8,7 +8,7 @@ import { SaveSearchModel } from "@protobase/schema";
|
|
|
8
8
|
* filter differs, `update` gives that search the list's filter.
|
|
9
9
|
*/
|
|
10
10
|
export declare const useSaveSearch: (search: SaveSearchModel, filter: string) => {
|
|
11
|
-
mode: "
|
|
11
|
+
mode: "save" | "sign-in" | undefined;
|
|
12
12
|
prompt: import("@protobase/schema").SignInPromptModel | undefined;
|
|
13
13
|
saved: boolean;
|
|
14
14
|
/** The search the list was opened from and differs from: its filter, and its name when it has one. */
|
|
@@ -13,6 +13,7 @@ export type SplashHold = {
|
|
|
13
13
|
* effects, so the splash stays up from the auth check through `/meta` to the plugins without a gap.
|
|
14
14
|
*/
|
|
15
15
|
export declare const createSplashHold: (hide: () => void) => SplashHold;
|
|
16
|
+
export declare const SplashHoldContext: import("react").Context<SplashHold | undefined>;
|
|
16
17
|
export declare const SplashHoldProvider: ({ value, children }: {
|
|
17
18
|
value: SplashHold;
|
|
18
19
|
children: ReactNode;
|
package/dist/app/splash-hold.js
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
//#region src/app/start-screen.d.ts
|
|
2
2
|
/** The id of the start screen index.html draws over the app until it has drawn its first page. */
|
|
3
3
|
export declare const startScreenId = "pb-start";
|
|
4
|
+
/**
|
|
5
|
+
* The empty element on the start screen a host may fill, as it serves index.html, with the markup of the page the app
|
|
6
|
+
* showed last, for example the official app on a switch back to a workspace. It then shows in place of the spinner,
|
|
7
|
+
* inert, until the app has drawn its first page with its first data, so the screen changes once. A plain string
|
|
8
|
+
* replace of exactly this text fills it; with nothing in it the start is as before.
|
|
9
|
+
*/
|
|
10
|
+
export declare const snapshotPlaceholder = "<div id=\"pb-snapshot\"></div>";
|
|
11
|
+
/** Whether the start screen shows a host's snapshot (`snapshotPlaceholder` filled). */
|
|
12
|
+
export declare const startsFromSnapshot: (document: Pick<Document, "getElementById">) => boolean;
|
|
4
13
|
/** The event the app fires at the start screen as it takes it away, which ends index.html's watch for a failed start. */
|
|
5
14
|
export declare const startScreenHandOff = "pb-start-hand-off";
|
|
6
15
|
/**
|
package/dist/app/start-screen.js
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
//#region src/app/start-screen.ts
|
|
2
2
|
/** The id of the start screen index.html draws over the app until it has drawn its first page. */
|
|
3
3
|
const startScreenId = "pb-start";
|
|
4
|
+
/**
|
|
5
|
+
* The empty element on the start screen a host may fill, as it serves index.html, with the markup of the page the app
|
|
6
|
+
* showed last, for example the official app on a switch back to a workspace. It then shows in place of the spinner,
|
|
7
|
+
* inert, until the app has drawn its first page with its first data, so the screen changes once. A plain string
|
|
8
|
+
* replace of exactly this text fills it; with nothing in it the start is as before.
|
|
9
|
+
*/
|
|
10
|
+
const snapshotPlaceholder = "<div id=\"pb-snapshot\"></div>";
|
|
11
|
+
/** Whether the start screen shows a host's snapshot (`snapshotPlaceholder` filled). */
|
|
12
|
+
const startsFromSnapshot = (document) => (document.getElementById("pb-snapshot")?.childNodes.length ?? 0) > 0;
|
|
4
13
|
/** The event the app fires at the start screen as it takes it away, which ends index.html's watch for a failed start. */
|
|
5
14
|
const startScreenHandOff = "pb-start-hand-off";
|
|
6
15
|
/**
|
|
@@ -15,4 +24,4 @@ const removeStartScreen = (document) => {
|
|
|
15
24
|
start.remove();
|
|
16
25
|
};
|
|
17
26
|
//#endregion
|
|
18
|
-
export { removeStartScreen, startScreenHandOff, startScreenId };
|
|
27
|
+
export { removeStartScreen, snapshotPlaceholder, startScreenHandOff, startScreenId, startsFromSnapshot };
|
|
@@ -8,10 +8,11 @@ import { Crumb } from "./breadcrumb.js";
|
|
|
8
8
|
import { LogoMark } from "./logo-mark.js";
|
|
9
9
|
import { Logo, ShellLogoProps } from "./logo.js";
|
|
10
10
|
import { AppShell, AppShellProps } from "./app-shell.js";
|
|
11
|
+
import { logoTapEvent } from "./logo-tap.js";
|
|
11
12
|
import { PageHeader } from "./page-header.js";
|
|
12
13
|
import { usePageScroll } from "./page-scroll.js";
|
|
13
14
|
import { useTopBarSlot } from "./top-bar-slot.js";
|
|
14
15
|
import { topBarButton } from "./top-bar.js";
|
|
15
16
|
import { Sidebar } from "./sidebar.js";
|
|
16
17
|
import { StatusDot } from "./status-dot.js";
|
|
17
|
-
export { AppShell, type AppShellProps, type BottomBarTab, type Crumb, GlobalSearch, type GlobalSearchModel, Logo, LogoMark, type NavGroup, type NavItem, type NavRecent, type NavRecord, PageHeader, type ProfileMenuItem, type ProfileOrganizations, type ProfileRoles, type ProfileStatus, type ProfileTheme, type RecordMark, type SearchResultGroup, type ShellLogoProps, type ShellUser, type ShownMark, Sidebar, type SidebarMode, StatusDot, moveActive, sidebarModes, topBarButton, usePageScroll, useTopBarSlot };
|
|
18
|
+
export { AppShell, type AppShellProps, type BottomBarTab, type Crumb, GlobalSearch, type GlobalSearchModel, Logo, LogoMark, type NavGroup, type NavItem, type NavRecent, type NavRecord, PageHeader, type ProfileMenuItem, type ProfileOrganizations, type ProfileRoles, type ProfileStatus, type ProfileTheme, type RecordMark, type SearchResultGroup, type ShellLogoProps, type ShellUser, type ShownMark, Sidebar, type SidebarMode, StatusDot, logoTapEvent, moveActive, sidebarModes, topBarButton, usePageScroll, useTopBarSlot };
|
package/dist/app-shell/index.js
CHANGED
|
@@ -2,6 +2,7 @@ import { StatusDot } from "./status-dot.js";
|
|
|
2
2
|
import { usePageScroll } from "./page-scroll.js";
|
|
3
3
|
import { LogoMark } from "./logo-mark.js";
|
|
4
4
|
import { Logo } from "./logo.js";
|
|
5
|
+
import { logoTapEvent } from "./logo-tap.js";
|
|
5
6
|
import { sidebarModes } from "./sidebar-mode.js";
|
|
6
7
|
import { Sidebar } from "./sidebar.js";
|
|
7
8
|
import { useTopBarSlot } from "./top-bar-slot.js";
|
|
@@ -9,4 +10,4 @@ import { GlobalSearch, moveActive } from "./global-search.js";
|
|
|
9
10
|
import { topBarButton } from "./top-bar.js";
|
|
10
11
|
import { AppShell } from "./app-shell.js";
|
|
11
12
|
import { PageHeader } from "./page-header.js";
|
|
12
|
-
export { AppShell, GlobalSearch, Logo, LogoMark, PageHeader, Sidebar, StatusDot, moveActive, sidebarModes, topBarButton, usePageScroll, useTopBarSlot };
|
|
13
|
+
export { AppShell, GlobalSearch, Logo, LogoMark, PageHeader, Sidebar, StatusDot, logoTapEvent, moveActive, sidebarModes, topBarButton, usePageScroll, useTopBarSlot };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/app-shell/logo-tap.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* The event the shell dispatches on `window` when someone taps the logo at the top of the sidebar, Protobase's or a
|
|
4
|
+
* plugin's `shell.logo`. It is cancelable: a listener that calls `preventDefault()` takes the tap, such as a host app that
|
|
5
|
+
* opens its own switcher. The logo has no action of its own, so with nobody taking it nothing happens. A page shown in a
|
|
6
|
+
* frame also posts `{ type: 'protobase:logo-tap' }` to the page that frames it.
|
|
7
|
+
*/
|
|
8
|
+
export declare const logoTapEvent = "protobase:logo-tap";
|
|
9
|
+
/** Tells the page, and the page that frames it, that the logo was tapped; `true` when a listener took the tap. */
|
|
10
|
+
export declare const tellLogoTap: (page?: Window) => boolean;
|
|
11
|
+
//#endregion
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
//#region src/app-shell/logo-tap.ts
|
|
2
|
+
/**
|
|
3
|
+
* The event the shell dispatches on `window` when someone taps the logo at the top of the sidebar, Protobase's or a
|
|
4
|
+
* plugin's `shell.logo`. It is cancelable: a listener that calls `preventDefault()` takes the tap, such as a host app that
|
|
5
|
+
* opens its own switcher. The logo has no action of its own, so with nobody taking it nothing happens. A page shown in a
|
|
6
|
+
* frame also posts `{ type: 'protobase:logo-tap' }` to the page that frames it.
|
|
7
|
+
*/
|
|
8
|
+
const logoTapEvent = "protobase:logo-tap";
|
|
9
|
+
/** Tells the page, and the page that frames it, that the logo was tapped; `true` when a listener took the tap. */
|
|
10
|
+
const tellLogoTap = (page = window) => {
|
|
11
|
+
const taken = !page.dispatchEvent(new Event(logoTapEvent, { cancelable: true }));
|
|
12
|
+
if (page.parent && page.parent !== page) page.parent.postMessage({ type: logoTapEvent }, "*");
|
|
13
|
+
return taken;
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
export { logoTapEvent, tellLogoTap };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/app-shell/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "roles" | "organizations" | "resources" | "system" | "loading" | "signOut" | "search" | "signIn" | "recent" | "noMatches" | "navigation" | "clearSearch" | "tabs" | "couldNotLoad" | "light" | "dark" | "theme" | "more" | "couldNotSearch" | "viewAll" | "breadcrumb" | "openNavigation" | "backTo" | "closeSearch" | "globalSearch" | "searchResults" | "searching" | "profileMenu", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "roles" | "organizations" | "resources" | "system" | "loading" | "signOut" | "search" | "signIn" | "recent" | "noMatches" | "navigation" | "clearSearch" | "tabs" | "couldNotLoad" | "light" | "dark" | "theme" | "more" | "couldNotSearch" | "viewAll" | "breadcrumb" | "openNavigation" | "backTo" | "closeSearch" | "globalSearch" | "searchResults" | "searching" | "profileMenu", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -2,6 +2,7 @@ import { cn } from "../lib/cn.js";
|
|
|
2
2
|
import { text } from "./messages.js";
|
|
3
3
|
import { RouteLink } from "../primitives/route-link.js";
|
|
4
4
|
import { Logo } from "./logo.js";
|
|
5
|
+
import { tellLogoTap } from "./logo-tap.js";
|
|
5
6
|
import { ThemeSwitch } from "./theme-switch.js";
|
|
6
7
|
import { ProfileMenu } from "./profile-menu.js";
|
|
7
8
|
import { SidebarCreateLink } from "./sidebar-create-link.js";
|
|
@@ -24,6 +25,7 @@ const Sidebar = ({ mode, activeItem, user, workspace, appName, appIcon, forceExp
|
|
|
24
25
|
children: [
|
|
25
26
|
/* @__PURE__ */ jsx("div", {
|
|
26
27
|
className: cn("flex h-12 shrink-0 items-center px-3.5", mode === "icon-label" && "justify-center px-0"),
|
|
28
|
+
onClick: () => tellLogoTap(),
|
|
27
29
|
children: /* @__PURE__ */ jsx(SidebarLogo, {
|
|
28
30
|
compact: !inline,
|
|
29
31
|
workspace,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/assistant-dock/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "empty" | "assistant" | "noAnswer" | "couldNotDraw" | "askQuestion" | "reconnecting" | "backendNoAnswer" | "cannotShowLive", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "empty" | "assistant" | "noAnswer" | "couldNotDraw" | "askQuestion" | "reconnecting" | "backendNoAnswer" | "cannotShowLive", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/auth/messages.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/auth/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "or" | "reload" | "email" | "code" | "loading" | "setPassword" | "newPassword" | "repeatPassword" | "atLeast" | "useAtLeast" | "passwordTooLong" | "passwordsDiffer" | "continue" | "addPasskey" | "signOut" | "password" | "emailCode" | "signIn" | "reason" | "verify" | "admin" | "cannotReach" | "noAnswer" | "tryAgain" | "yourName" | "passwordOptional" | "detailsTitle" | "tooManyRequests" | "passwordChanged" | "backupCode" | "backToSignIn" | "useAnotherAddress" | "checkEmail" | "newCodeSent" | "sendNewCode" | "sendNewCodeIn" | "signInCodeDescription" | "signInCodeSent" | "signUpCodeDescription" | "signUpCodeSent" | "noAdminTitle" | "noAdminDescription" | "noAdminExplanation" | "copyCommand" | "firstAdminExplanation" | "firstAdminLink" | "tooManyAttempts" | "resetTitle" | "resetDescription" | "sendResetLink" | "resetSent" | "linkExpiredTitle" | "linkExpiredExplanation" | "sendNewLink" | "choosePassword" | "signingInWith" | "takingYouTo" | "providerNotOffered" | "turnOnTwoFactor" | "requiredForEveryAccount" | "passkeyExplanation" | "couldNotReadAccount" | "signInTitle" | "runsOnProtobase" | "continueWith" | "signInWithPasskey" | "passkeyFor" | "emailSignInCode" | "usePassword" | "forgotPassword" | "newHere" | "haveAccount" | "createAnAccount" | "browse" | "notNow" | "detailsDescription" | "codeWasRight" | "withoutPassword" | "createAccount" | "codeToConfirm" | "browseWithoutAccount" | "staffTitle" | "staffUnavailable" | "signInAsPerson" | "forStaffOf" | "theirEmail" | "reasonExample" | "staffExplanation" | "totpInstruction" | "otpInstruction" | "backupInstruction" | "twoFactorTitle" | "twoFactorDescription" | "codeToFinish" | "trustBrowser" | "trustBrowserFor" | "useAuthenticator" | "emailCodeInstead" | "useBackupCode", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "or" | "reload" | "email" | "code" | "loading" | "setPassword" | "newPassword" | "repeatPassword" | "atLeast" | "useAtLeast" | "passwordTooLong" | "passwordsDiffer" | "continue" | "addPasskey" | "signOut" | "password" | "emailCode" | "signIn" | "reason" | "verify" | "admin" | "cannotReach" | "noAnswer" | "tryAgain" | "yourName" | "passwordOptional" | "detailsTitle" | "tooManyRequests" | "passwordChanged" | "backupCode" | "backToSignIn" | "useAnotherAddress" | "checkEmail" | "newCodeSent" | "sendNewCode" | "sendNewCodeIn" | "signInCodeDescription" | "signInCodeSent" | "signUpCodeDescription" | "signUpCodeSent" | "noAdminTitle" | "noAdminDescription" | "noAdminExplanation" | "copyCommand" | "firstAdminExplanation" | "firstAdminLink" | "tooManyAttempts" | "resetTitle" | "resetDescription" | "sendResetLink" | "resetSent" | "linkExpiredTitle" | "linkExpiredExplanation" | "sendNewLink" | "choosePassword" | "signingInWith" | "takingYouTo" | "providerNotOffered" | "turnOnTwoFactor" | "requiredForEveryAccount" | "passkeyExplanation" | "couldNotReadAccount" | "signInTitle" | "runsOnProtobase" | "continueWith" | "signInWithPasskey" | "passkeyFor" | "emailSignInCode" | "usePassword" | "forgotPassword" | "newHere" | "haveAccount" | "createAnAccount" | "browse" | "notNow" | "detailsDescription" | "codeWasRight" | "withoutPassword" | "createAccount" | "codeToConfirm" | "browseWithoutAccount" | "staffTitle" | "staffUnavailable" | "signInAsPerson" | "forStaffOf" | "theirEmail" | "reasonExample" | "staffExplanation" | "totpInstruction" | "otpInstruction" | "backupInstruction" | "twoFactorTitle" | "twoFactorDescription" | "codeToFinish" | "trustBrowser" | "trustBrowserFor" | "useAuthenticator" | "emailCodeInstead" | "useBackupCode", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/calls/messages.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/calls/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "you" | "join" | "waiting" | "joinCall" | "accept" | "copied" | "continue" | "remove" | "ended" | "noDevices" | "revoke" | "full" | "leave" | "inProgress" | "refused" | "close" | "preview" | "people" | "yourName" | "guestLinks" | "removed" | "camera" | "microphone" | "speaking" | "reconnecting" | "decline" | "startCall" | "shareScreen" | "stopSharing" | "muted" | "alone" | "connecting" | "unavailable" | "callAgain" | "noMicrophone" | "noCamera" | "cannotConnect" | "poorConnection" | "goodConnection" | "sharing" | "youAreSharing" | "guestName" | "denied" | "askToJoin" | "someone" | "guests" | "waitingGuest" | "admit" | "deny" | "newLink" | "copyLink" | "noLinks" | "inLobby" | "guestsInCall" | "guestsMaySend" | "sendAll" | "sendCamera" | "sendMicrophone" | "linkUntil" | "linkUntilEnd" | "linkLasts" | "forAnHour" | "addressesVisible" | "guestRefused" | "guestIntro" | "youLeft", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "you" | "join" | "waiting" | "joinCall" | "accept" | "copied" | "continue" | "remove" | "ended" | "noDevices" | "revoke" | "full" | "leave" | "inProgress" | "refused" | "close" | "preview" | "people" | "yourName" | "guestLinks" | "removed" | "camera" | "microphone" | "speaking" | "reconnecting" | "decline" | "startCall" | "shareScreen" | "stopSharing" | "muted" | "alone" | "connecting" | "unavailable" | "callAgain" | "noMicrophone" | "noCamera" | "cannotConnect" | "poorConnection" | "goodConnection" | "sharing" | "youAreSharing" | "guestName" | "denied" | "askToJoin" | "someone" | "guests" | "waitingGuest" | "admit" | "deny" | "newLink" | "copyLink" | "noLinks" | "inLobby" | "guestsInCall" | "guestsMaySend" | "sendAll" | "sendCamera" | "sendMicrophone" | "linkUntil" | "linkUntilEnd" | "linkLasts" | "forAnHour" | "addressesVisible" | "guestRefused" | "guestIntro" | "youLeft", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/chat/messages.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/chat/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "message" | "send" | "today" | "yesterday" | "newMessages" | "loadEarlier" | "working", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "message" | "send" | "today" | "yesterday" | "newMessages" | "loadEarlier" | "working", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|