@protobase/ui 0.113.0 → 0.113.1
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/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/delete/messages.d.ts +2 -2
- 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-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/field-types/workflow-status/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/import/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/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-row/messages.d.ts +2 -2
- package/dist/app/record-row/record-row.d.ts +3 -2
- package/dist/app/record-row/record-row.js +42 -27
- package/dist/app/record-row/row-window.d.ts +11 -0
- package/dist/app/record-row/row-window.js +15 -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/searches/messages.d.ts +2 -2
- package/dist/app-shell/messages.d.ts +2 -2
- 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/focus-page/messages.d.ts +2 -2
- 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/mocks/customers.d.ts +1 -1
- package/dist/mocks/invoices.d.ts +1 -1
- package/dist/mocks/orders.d.ts +3 -3
- package/dist/organizations/messages.d.ts +2 -2
- package/dist/package.js +1 -1
- package/dist/primitives/messages.d.ts +2 -2
- package/dist/record-view/messages.d.ts +2 -2
- package/dist/shell/assets/{app-DG30qs8Q.js → app-C1xWr51x.js} +9 -9
- package/dist/shell/assets/{graph-view-BcbWbnHO.js → graph-view-CIk96BRv.js} +2 -2
- package/dist/shell/assets/{html-viewer-tGtSpy9M.js → html-viewer-ATz2AVBi.js} +2 -2
- package/dist/shell/assets/{in-place-form-B0EkP4B1.js → in-place-form-frfvnKaj.js} +2 -2
- package/dist/shell/assets/{index-CZ013UoE.js → index-C4cMQVG2.js} +2 -2
- package/dist/shell/assets/{maplibre-Y7X50Jfk.js → maplibre-BufRSV4y.js} +2 -2
- package/dist/shell/assets/{markdown-content-DHKbAJjx.js → markdown-content-mNJHzGOa.js} +2 -2
- package/dist/shell/assets/{record-map-nGRmsk6x.js → record-map-BsXXSshB.js} +2 -2
- package/dist/shell/assets/{records-map-D2flyaz3.js → records-map-D8EBzOu8.js} +2 -2
- package/dist/shell/assets/{run-trace-view-DfrAPeum.js → run-trace-view-Tf6Jwd46.js} +2 -2
- package/dist/shell/assets/{search-picker-CJcJetBh.js → search-picker-BHmYOFF8.js} +2 -2
- package/dist/shell/assets/{shared-protobase-ui-CVwqj5Cp.js → shared-protobase-ui-C1jBhoci.js} +2 -2
- package/dist/shell/assets/{step-catalog-ZvQOXfSh.js → step-catalog-DZNovnPL.js} +2 -2
- package/dist/shell/assets/{step-panel-B1yHz7OC.js → step-panel-3aRZ2Dlj.js} +2 -2
- package/dist/shell/assets/{use-sibling-page-CiuiG-Tz.js → use-sibling-page-Dm7aUfaa.js} +2 -2
- package/dist/shell/assets/{workflow-canvas-DMP7SDWX.js → workflow-canvas-B8ciy9xI.js} +2 -2
- package/dist/shell/assets/{workflow-graph-editor-xpV8_qEl.js → workflow-graph-editor-QT-3e-M9.js} +2 -2
- package/dist/shell/assets/{workflow-workbench-Djdd_ODh.js → workflow-workbench-C5eHhxQh.js} +2 -2
- package/dist/shell/index.html +3 -3
- package/dist/shell/protobase.shell.json +2 -2
- package/dist/shell/protobase.sw.js +2 -2
- package/dist/shell-source-maps/assets/app-C1xWr51x.js.map +1 -0
- package/dist/shell-source-maps/assets/{graph-view-BcbWbnHO.js.map → graph-view-CIk96BRv.js.map} +1 -1
- package/dist/shell-source-maps/assets/{html-viewer-tGtSpy9M.js.map → html-viewer-ATz2AVBi.js.map} +1 -1
- package/dist/shell-source-maps/assets/{in-place-form-B0EkP4B1.js.map → in-place-form-frfvnKaj.js.map} +1 -1
- package/dist/shell-source-maps/assets/{index-CZ013UoE.js.map → index-C4cMQVG2.js.map} +1 -1
- package/dist/shell-source-maps/assets/{maplibre-Y7X50Jfk.js.map → maplibre-BufRSV4y.js.map} +1 -1
- package/dist/shell-source-maps/assets/{markdown-content-DHKbAJjx.js.map → markdown-content-mNJHzGOa.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-map-nGRmsk6x.js.map → record-map-BsXXSshB.js.map} +1 -1
- package/dist/shell-source-maps/assets/{records-map-D2flyaz3.js.map → records-map-D8EBzOu8.js.map} +1 -1
- package/dist/shell-source-maps/assets/{run-trace-view-DfrAPeum.js.map → run-trace-view-Tf6Jwd46.js.map} +1 -1
- package/dist/shell-source-maps/assets/{search-picker-CJcJetBh.js.map → search-picker-BHmYOFF8.js.map} +1 -1
- package/dist/shell-source-maps/assets/{shared-protobase-ui-CVwqj5Cp.js.map → shared-protobase-ui-C1jBhoci.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-catalog-ZvQOXfSh.js.map → step-catalog-DZNovnPL.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-panel-B1yHz7OC.js.map → step-panel-3aRZ2Dlj.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-sibling-page-CiuiG-Tz.js.map → use-sibling-page-Dm7aUfaa.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-canvas-DMP7SDWX.js.map → workflow-canvas-B8ciy9xI.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-graph-editor-xpV8_qEl.js.map → workflow-graph-editor-QT-3e-M9.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-workbench-Djdd_ODh.js.map → workflow-workbench-C5eHhxQh.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-source-maps/assets/app-DG30qs8Q.js.map +0 -1
|
@@ -4,14 +4,23 @@ import { SnapRow } from "../../primitives/snap-row.js";
|
|
|
4
4
|
import { useSnapScroll } from "../../primitives/use-snap-scroll.js";
|
|
5
5
|
import { usePagedRows } from "../../data-grid/use-paged-rows.js";
|
|
6
6
|
import { RecordCard } from "../displays/record-card.js";
|
|
7
|
-
import { rowWindow } from "./row-window.js";
|
|
7
|
+
import { rowPlaces, rowSpan, rowWindow } from "./row-window.js";
|
|
8
8
|
import { text } from "./messages.js";
|
|
9
|
-
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
//#region src/app/record-row/record-row.tsx
|
|
11
|
+
const Spacer = ({ count }) => /* @__PURE__ */ jsx("li", {
|
|
12
|
+
"aria-hidden": true,
|
|
13
|
+
style: {
|
|
14
|
+
width: rowSpan(count),
|
|
15
|
+
minWidth: 0,
|
|
16
|
+
scrollSnapAlign: "none"
|
|
17
|
+
}
|
|
18
|
+
});
|
|
11
19
|
/**
|
|
12
20
|
* Records as the cards of their list, in a `SnapRow`: only the cards near the view are drawn, and the records are loaded
|
|
13
|
-
* through the list API in pages as the row scrolls to them. Each card links to its record. Every record
|
|
14
|
-
* an empty one until it is drawn, so the row snaps to
|
|
21
|
+
* through the list API in pages as the row scrolls to them. Each card links to its record. Every record near the view has
|
|
22
|
+
* its place, an empty one until it is drawn, so the row snaps to a card a fast swipe reaches before it is drawn; the
|
|
23
|
+
* records further away stand together in a spacer at each end, so a row of a large list draws a few hundred elements.
|
|
15
24
|
*/
|
|
16
25
|
const RecordRow = ({ model, view, display, source, label, isNew }) => {
|
|
17
26
|
const { total } = source;
|
|
@@ -21,6 +30,7 @@ const RecordRow = ({ model, view, display, source, label, isNew }) => {
|
|
|
21
30
|
return `${start}-${end}`;
|
|
22
31
|
});
|
|
23
32
|
const { start, end } = shown(scroll.view);
|
|
33
|
+
const places = rowPlaces(start, end, total);
|
|
24
34
|
const getRow = usePagedRows({
|
|
25
35
|
total,
|
|
26
36
|
rowAt: source.rowAt,
|
|
@@ -28,31 +38,36 @@ const RecordRow = ({ model, view, display, source, label, isNew }) => {
|
|
|
28
38
|
revision: source.revision,
|
|
29
39
|
latencyMs: 0
|
|
30
40
|
}, start, Math.max(start, end - 1));
|
|
31
|
-
return /* @__PURE__ */
|
|
41
|
+
return /* @__PURE__ */ jsxs(SnapRow, {
|
|
32
42
|
scroll,
|
|
33
43
|
label,
|
|
34
|
-
children:
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"aria-hidden": true,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
44
|
+
children: [
|
|
45
|
+
places.from > 0 && /* @__PURE__ */ jsx(Spacer, { count: places.from }),
|
|
46
|
+
Array.from({ length: places.to - places.from }, (_, offset) => {
|
|
47
|
+
const index = places.from + offset;
|
|
48
|
+
if (index < start || index >= end) return /* @__PURE__ */ jsx("li", { "aria-hidden": true }, `place-${index}`);
|
|
49
|
+
const loaded = getRow(index);
|
|
50
|
+
if (!loaded) return /* @__PURE__ */ jsx("li", {
|
|
51
|
+
"aria-hidden": true,
|
|
52
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: "h-full min-h-24 rounded-lg" })
|
|
53
|
+
}, `skeleton-${index}`);
|
|
54
|
+
const row = displayRow(model, loaded);
|
|
55
|
+
return /* @__PURE__ */ jsx("li", {
|
|
56
|
+
"aria-posinset": index + 1,
|
|
57
|
+
"aria-setsize": total,
|
|
58
|
+
className: "grid grid-cols-[minmax(0,1fr)]",
|
|
59
|
+
children: /* @__PURE__ */ jsx(RecordCard, {
|
|
60
|
+
model,
|
|
61
|
+
view,
|
|
62
|
+
display,
|
|
63
|
+
row,
|
|
64
|
+
swipe: false,
|
|
65
|
+
mark: isNew?.(row) ? text("new") : void 0
|
|
66
|
+
})
|
|
67
|
+
}, row.key);
|
|
68
|
+
}),
|
|
69
|
+
places.to < total && /* @__PURE__ */ jsx(Spacer, { count: total - places.to })
|
|
70
|
+
]
|
|
56
71
|
});
|
|
57
72
|
};
|
|
58
73
|
//#endregion
|
|
@@ -8,4 +8,15 @@ export declare const rowWindow: (scrollLeft: number, width: number, total: numbe
|
|
|
8
8
|
start: number;
|
|
9
9
|
end: number;
|
|
10
10
|
};
|
|
11
|
+
/**
|
|
12
|
+
* The cards of a row of `total` that have a place of their own while `start` up to `end` are drawn: those and
|
|
13
|
+
* `placesAround` more on each side. The rest stand together in one spacer at each end (`rowSpan`), so a row of a hundred
|
|
14
|
+
* thousand records draws a few hundred elements, not one for each.
|
|
15
|
+
*/
|
|
16
|
+
export declare const rowPlaces: (start: number, end: number, total: number) => {
|
|
17
|
+
from: number;
|
|
18
|
+
to: number;
|
|
19
|
+
};
|
|
20
|
+
/** The width of `count` cards of a row and the gaps between them, as a `SnapRow` sizes its cards, for a spacer that stands in for them. */
|
|
21
|
+
export declare const rowSpan: (count: number) => string;
|
|
11
22
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../primitives/snap-row-width.js";
|
|
1
|
+
import { snapRowGap } from "../../primitives/snap-row-width.js";
|
|
2
2
|
//#region src/app/record-row/row-window.ts
|
|
3
3
|
/** The gap after a card of a record row, in pixels. */
|
|
4
4
|
const rowCardGap = 12;
|
|
@@ -18,5 +18,18 @@ const rowWindow = (scrollLeft, width, total) => {
|
|
|
18
18
|
end: Math.min(total, last + overscan)
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
|
+
/** How many cards beyond the drawn ones keep a place of their own, which a swipe snaps to before it is drawn. */
|
|
22
|
+
const placesAround = 50;
|
|
23
|
+
/**
|
|
24
|
+
* The cards of a row of `total` that have a place of their own while `start` up to `end` are drawn: those and
|
|
25
|
+
* `placesAround` more on each side. The rest stand together in one spacer at each end (`rowSpan`), so a row of a hundred
|
|
26
|
+
* thousand records draws a few hundred elements, not one for each.
|
|
27
|
+
*/
|
|
28
|
+
const rowPlaces = (start, end, total) => ({
|
|
29
|
+
from: Math.max(0, start - placesAround),
|
|
30
|
+
to: Math.min(total, end + placesAround)
|
|
31
|
+
});
|
|
32
|
+
/** The width of `count` cards of a row and the gaps between them, as a `SnapRow` sizes its cards, for a spacer that stands in for them. */
|
|
33
|
+
const rowSpan = (count) => `calc(${count} * (min(256px, 100%) + ${snapRowGap}) - ${snapRowGap})`;
|
|
21
34
|
//#endregion
|
|
22
|
-
export { rowWindow };
|
|
35
|
+
export { rowPlaces, rowSpan, rowWindow };
|
|
@@ -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: "open" | "
|
|
5
|
-
rich(id: "open" | "
|
|
4
|
+
(id: "open" | "left" | "couldNotLoad" | "add" | "showMore" | "nothingYet" | "showLess", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "open" | "left" | "couldNotLoad" | "add" | "showMore" | "nothingYet" | "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: "failed" | "update" | "
|
|
5
|
-
rich(id: "failed" | "update" | "
|
|
4
|
+
(id: "close" | "failed" | "update" | "updating" | "immediate" | "weekly" | "scheduled" | "manual" | "job" | "build" | "updatingNow" | "started" | "nextOn" | "succeeded" | "unchanged" | "alreadyLatest" | "onlyAdmin" | "couldNotStart" | "runtimeUpdate" | "updateNow" | "currentVersion" | "latestVersion" | "checkFailed" | "updateAvailable", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "close" | "failed" | "update" | "updating" | "immediate" | "weekly" | "scheduled" | "manual" | "job" | "build" | "updatingNow" | "started" | "nextOn" | "succeeded" | "unchanged" | "alreadyLatest" | "onlyAdmin" | "couldNotStart" | "runtimeUpdate" | "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: "couldNotSave" | "
|
|
5
|
-
rich(id: "couldNotSave" | "
|
|
4
|
+
(id: "couldNotSave" | "somethingWrong" | "couldNotLoadYour" | "noneYet" | "favorite" | "couldNotTakeOff", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "couldNotSave" | "somethingWrong" | "couldNotLoadYour" | "noneYet" | "favorite" | "couldNotTakeOff", 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/searches/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "saved" | "changed" | "removed" | "more" | "viewAll" | "save" | "cancel" | "couldNotSave" | "optional" | "update" | "notFound" | "filters" | "deleteTitle" | "off" | "on" | "noPlural" | "somethingWrong" | "noneMatch" | "firstOf" | "couldNotChange" | "couldNotLoadYour" | "noneYet" | "couldNotTakeOff" | "saveSearch" | "saveAsNew" | "updateName" | "updateNameQuestion" | "updateNounQuestion" | "couldNotRename" | "renameTitle" | "unreadableFilter" | "noResource" | "noSavedYet" | "asMany" | "fewer" | "added" | "filterChanges" | "addedRemoved" | "noRecordsDiff" | "searchSaved" | "openPlural" | "searchUpdated" | "couldNotUpdate" | "noNew", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "saved" | "changed" | "removed" | "more" | "viewAll" | "save" | "cancel" | "couldNotSave" | "optional" | "update" | "notFound" | "filters" | "deleteTitle" | "off" | "on" | "noPlural" | "somethingWrong" | "noneMatch" | "firstOf" | "couldNotChange" | "couldNotLoadYour" | "noneYet" | "couldNotTakeOff" | "saveSearch" | "saveAsNew" | "updateName" | "updateNameQuestion" | "updateNounQuestion" | "couldNotRename" | "renameTitle" | "unreadableFilter" | "noResource" | "noSavedYet" | "asMany" | "fewer" | "added" | "filterChanges" | "addedRemoved" | "noRecordsDiff" | "searchSaved" | "openPlural" | "searchUpdated" | "couldNotUpdate" | "noNew", 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-shell/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "signIn" | "
|
|
5
|
-
rich(id: "signIn" | "
|
|
4
|
+
(id: "signIn" | "resources" | "system" | "organizations" | "roles" | "breadcrumb" | "theme" | "search" | "tabs" | "navigation" | "more" | "openNavigation" | "backTo" | "closeSearch" | "clearSearch" | "globalSearch" | "searchResults" | "searching" | "noMatches" | "profileMenu" | "signOut" | "light" | "dark" | "recent" | "loading" | "couldNotLoad" | "viewAll" | "couldNotSearch", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "signIn" | "resources" | "system" | "organizations" | "roles" | "breadcrumb" | "theme" | "search" | "tabs" | "navigation" | "more" | "openNavigation" | "backTo" | "closeSearch" | "clearSearch" | "globalSearch" | "searchResults" | "searching" | "noMatches" | "profileMenu" | "signOut" | "light" | "dark" | "recent" | "loading" | "couldNotLoad" | "viewAll" | "couldNotSearch", 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/assistant-dock/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "reconnecting" | "askQuestion" | "assistant" | "empty" | "noAnswer" | "backendNoAnswer" | "couldNotDraw" | "cannotShowLive", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "reconnecting" | "askQuestion" | "assistant" | "empty" | "noAnswer" | "backendNoAnswer" | "couldNotDraw" | "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: "signIn" | "or" | "reload" | "signOut" | "loading" | "noAnswer" | "
|
|
5
|
-
rich(id: "signIn" | "or" | "reload" | "signOut" | "loading" | "noAnswer" | "
|
|
4
|
+
(id: "signIn" | "or" | "reload" | "yourName" | "continue" | "signOut" | "loading" | "noAnswer" | "tooManyRequests" | "email" | "code" | "setPassword" | "password" | "newPassword" | "verify" | "admin" | "cannotReach" | "tryAgain" | "passwordChanged" | "backupCode" | "passwordOptional" | "backToSignIn" | "useAnotherAddress" | "checkEmail" | "newCodeSent" | "sendNewCode" | "sendNewCodeIn" | "signInCodeDescription" | "signInCodeSent" | "signUpCodeDescription" | "signUpCodeSent" | "noAdminTitle" | "noAdminDescription" | "noAdminExplanation" | "copyCommand" | "firstAdminExplanation" | "firstAdminLink" | "tooManyAttempts" | "resetTitle" | "resetDescription" | "sendResetLink" | "resetSent" | "linkExpiredTitle" | "linkExpiredExplanation" | "sendNewLink" | "passwordsDiffer" | "choosePassword" | "atLeast" | "useAtLeast" | "passwordTooLong" | "repeatPassword" | "signingInWith" | "takingYouTo" | "providerNotOffered" | "turnOnTwoFactor" | "addPasskey" | "requiredForEveryAccount" | "passkeyExplanation" | "couldNotReadAccount" | "signInTitle" | "runsOnProtobase" | "continueWith" | "signInWithPasskey" | "passkeyFor" | "emailSignInCode" | "usePassword" | "forgotPassword" | "newHere" | "haveAccount" | "createAnAccount" | "browse" | "notNow" | "detailsTitle" | "detailsDescription" | "codeWasRight" | "withoutPassword" | "createAccount" | "codeToConfirm" | "emailCode" | "browseWithoutAccount" | "staffTitle" | "staffUnavailable" | "signInAsPerson" | "forStaffOf" | "theirEmail" | "reason" | "reasonExample" | "staffExplanation" | "totpInstruction" | "otpInstruction" | "backupInstruction" | "twoFactorTitle" | "twoFactorDescription" | "codeToFinish" | "trustBrowser" | "trustBrowserFor" | "useAuthenticator" | "emailCodeInstead" | "useBackupCode", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "signIn" | "or" | "reload" | "yourName" | "continue" | "signOut" | "loading" | "noAnswer" | "tooManyRequests" | "email" | "code" | "setPassword" | "password" | "newPassword" | "verify" | "admin" | "cannotReach" | "tryAgain" | "passwordChanged" | "backupCode" | "passwordOptional" | "backToSignIn" | "useAnotherAddress" | "checkEmail" | "newCodeSent" | "sendNewCode" | "sendNewCodeIn" | "signInCodeDescription" | "signInCodeSent" | "signUpCodeDescription" | "signUpCodeSent" | "noAdminTitle" | "noAdminDescription" | "noAdminExplanation" | "copyCommand" | "firstAdminExplanation" | "firstAdminLink" | "tooManyAttempts" | "resetTitle" | "resetDescription" | "sendResetLink" | "resetSent" | "linkExpiredTitle" | "linkExpiredExplanation" | "sendNewLink" | "passwordsDiffer" | "choosePassword" | "atLeast" | "useAtLeast" | "passwordTooLong" | "repeatPassword" | "signingInWith" | "takingYouTo" | "providerNotOffered" | "turnOnTwoFactor" | "addPasskey" | "requiredForEveryAccount" | "passkeyExplanation" | "couldNotReadAccount" | "signInTitle" | "runsOnProtobase" | "continueWith" | "signInWithPasskey" | "passkeyFor" | "emailSignInCode" | "usePassword" | "forgotPassword" | "newHere" | "haveAccount" | "createAnAccount" | "browse" | "notNow" | "detailsTitle" | "detailsDescription" | "codeWasRight" | "withoutPassword" | "createAccount" | "codeToConfirm" | "emailCode" | "browseWithoutAccount" | "staffTitle" | "staffUnavailable" | "signInAsPerson" | "forStaffOf" | "theirEmail" | "reason" | "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: "muted" | "
|
|
5
|
-
rich(id: "muted" | "
|
|
4
|
+
(id: "muted" | "accept" | "join" | "people" | "waiting" | "joinCall" | "leave" | "denied" | "ended" | "refused" | "unavailable" | "you" | "decline" | "startCall" | "inProgress" | "microphone" | "camera" | "shareScreen" | "stopSharing" | "alone" | "connecting" | "reconnecting" | "full" | "removed" | "callAgain" | "noMicrophone" | "noCamera" | "noDevices" | "cannotConnect" | "poorConnection" | "goodConnection" | "sharing" | "youAreSharing" | "speaking" | "preview" | "guestName" | "askToJoin" | "someone" | "guests" | "waitingGuest" | "admit" | "deny" | "remove" | "revoke" | "newLink" | "copyLink" | "copied" | "guestLinks" | "noLinks" | "inLobby" | "guestsInCall" | "guestsMaySend" | "sendAll" | "sendCamera" | "sendMicrophone" | "linkUntil" | "linkUntilEnd" | "linkLasts" | "forAnHour" | "addressesVisible" | "guestRefused" | "close" | "yourName" | "guestIntro" | "continue" | "youLeft", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "muted" | "accept" | "join" | "people" | "waiting" | "joinCall" | "leave" | "denied" | "ended" | "refused" | "unavailable" | "you" | "decline" | "startCall" | "inProgress" | "microphone" | "camera" | "shareScreen" | "stopSharing" | "alone" | "connecting" | "reconnecting" | "full" | "removed" | "callAgain" | "noMicrophone" | "noCamera" | "noDevices" | "cannotConnect" | "poorConnection" | "goodConnection" | "sharing" | "youAreSharing" | "speaking" | "preview" | "guestName" | "askToJoin" | "someone" | "guests" | "waitingGuest" | "admit" | "deny" | "remove" | "revoke" | "newLink" | "copyLink" | "copied" | "guestLinks" | "noLinks" | "inLobby" | "guestsInCall" | "guestsMaySend" | "sendAll" | "sendCamera" | "sendMicrophone" | "linkUntil" | "linkUntilEnd" | "linkLasts" | "forAnHour" | "addressesVisible" | "guestRefused" | "close" | "yourName" | "guestIntro" | "continue" | "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: "send" | "message" | "today" | "
|
|
5
|
-
rich(id: "send" | "message" | "today" | "
|
|
4
|
+
(id: "send" | "message" | "today" | "working" | "yesterday" | "newMessages" | "loadEarlier", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "send" | "message" | "today" | "working" | "yesterday" | "newMessages" | "loadEarlier", 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/compact-table/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "table" | "rows" | "noRows" | "cutOff", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "table" | "rows" | "noRows" | "cutOff", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -62,5 +62,5 @@ export type ColumnSpec = {
|
|
|
62
62
|
/** Drawn under the cell's content, outside the link a title cell is; every row of the grid grows to hold it. */
|
|
63
63
|
below?: (row: GridRow) => ReactNode;
|
|
64
64
|
};
|
|
65
|
-
export declare const isRightAligned: (kind: ColumnKind) => kind is "number" | "
|
|
65
|
+
export declare const isRightAligned: (kind: ColumnKind) => kind is "number" | "money" | "signed" | "percent";
|
|
66
66
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/data-grid/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "row" | "
|
|
5
|
-
rich(id: "row" | "
|
|
4
|
+
(id: "row" | "no" | "shownIn" | "new" | "unsortable" | "columnMenu" | "unpin" | "pinToLeft" | "resizeColumn" | "selected" | "clearSelection" | "noRowsSelected" | "selectRow" | "rowActions" | "move" | "reorderInstructions" | "pickedUp" | "isOver" | "droppedAt" | "putBack" | "cancelled", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "row" | "no" | "shownIn" | "new" | "unsortable" | "columnMenu" | "unpin" | "pinToLeft" | "resizeColumn" | "selected" | "clearSelection" | "noRowsSelected" | "selectRow" | "rowActions" | "move" | "reorderInstructions" | "pickedUp" | "isOver" | "droppedAt" | "putBack" | "cancelled", 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/filter-panel/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "date" | "remove" | "noMatches" | "today" | "maximum" | "minimum" | "yesterday" | "24h" | "7d" | "30d" | "90d" | "month" | "year" | "quarter" | "unknownPreset" | "unsupported" | "clearAll" | "searchIn" | "moreFilters" | "filters" | "showOnly", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "date" | "remove" | "noMatches" | "today" | "maximum" | "minimum" | "yesterday" | "24h" | "7d" | "30d" | "90d" | "month" | "year" | "quarter" | "unknownPreset" | "unsupported" | "clearAll" | "searchIn" | "moreFilters" | "filters" | "showOnly", 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/focus-page/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "more" | "tools", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "more" | "tools", 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/inline-child-table/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "line" | "
|
|
5
|
-
rich(id: "line" | "
|
|
4
|
+
(id: "line" | "pickedUp" | "cancelled" | "instructions" | "over" | "dropped" | "droppedAtStart" | "addLine" | "noLines" | "moveUp" | "moveDown" | "removeLine" | "dragToReorder" | "actionsFor", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "line" | "pickedUp" | "cancelled" | "instructions" | "over" | "dropped" | "droppedAtStart" | "addLine" | "noLines" | "moveUp" | "moveDown" | "removeLine" | "dragToReorder" | "actionsFor", 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/invitations/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "until" | "email" | "invite" | "expired" | "sendAgain" | "
|
|
5
|
-
rich(id: "until" | "email" | "invite" | "expired" | "sendAgain" | "
|
|
4
|
+
(id: "revoke" | "until" | "email" | "invite" | "expired" | "sendAgain" | "passLinkOn", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "revoke" | "until" | "email" | "invite" | "expired" | "sendAgain" | "passLinkOn", 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/mailbox/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "missing" | "expired" | "missingTitle" | "expiredTitle" | "signInOnly" | "connect" | "connectAgain", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "missing" | "expired" | "missingTitle" | "expiredTitle" | "signInOnly" | "connect" | "connectAgain", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -3,7 +3,7 @@ export declare const customerCount = 480;
|
|
|
3
3
|
export declare const customerAt: (index: number) => {
|
|
4
4
|
id: string;
|
|
5
5
|
name: string;
|
|
6
|
-
country: "
|
|
6
|
+
country: "GB" | "NL" | "DE";
|
|
7
7
|
city: NonNullable<"Rotterdam" | "Eindhoven" | "Utrecht" | "Zwolle" | "Breda" | "Groningen" | "Düsseldorf" | "Köln" | "Stuttgart" | "Hamburg" | "Münster" | "Nürnberg" | "Leeds" | "Bristol" | "Birmingham" | "Manchester" | "Sheffield">;
|
|
8
8
|
};
|
|
9
9
|
export type Customer = ReturnType<typeof customerAt>;
|
package/dist/mocks/invoices.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export declare const invoiceAt: (index: number) => {
|
|
|
18
18
|
customer: {
|
|
19
19
|
id: string;
|
|
20
20
|
name: string;
|
|
21
|
-
country: "
|
|
21
|
+
country: "GB" | "NL" | "DE";
|
|
22
22
|
city: NonNullable<"Rotterdam" | "Eindhoven" | "Utrecht" | "Zwolle" | "Breda" | "Groningen" | "Düsseldorf" | "Köln" | "Stuttgart" | "Hamburg" | "Münster" | "Nürnberg" | "Leeds" | "Bristol" | "Birmingham" | "Manchester" | "Sheffield">;
|
|
23
23
|
};
|
|
24
24
|
status: "draft" | "sent" | "paid" | "overdue";
|
package/dist/mocks/orders.d.ts
CHANGED
|
@@ -9,10 +9,10 @@ export declare const orderAt: (index: number) => {
|
|
|
9
9
|
id: string;
|
|
10
10
|
name: string;
|
|
11
11
|
};
|
|
12
|
-
country: "
|
|
13
|
-
status: "
|
|
12
|
+
country: "GB" | "NL" | "DE";
|
|
13
|
+
status: "cancelled" | "draft" | "confirmed" | "picking" | "shipped" | "delivered";
|
|
14
14
|
totalCents: number;
|
|
15
|
-
discount: 0 |
|
|
15
|
+
discount: 0 | 15 | 5 | 10;
|
|
16
16
|
paid: boolean;
|
|
17
17
|
createdAt: number;
|
|
18
18
|
owner: "u2" | "u5" | "u8";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/organizations/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "create" | "open" | "members" | "accept" | "join" | "leave" | "name" | "organization" | "invitations" | "organizations" | "remove" | "guestLinks" | "yourName" | "signOut" | "loading" | "save" | "cancel" | "until" | "current" | "password" | "delete" | "owner" | "admin" | "member" | "passwordOptional" | "invalidLink" | "manageOrganizations" | "slug" | "allOrganizations" | "allOrganizationsDescription" | "findOrganization" | "nameOrSlug" | "cannotChangeRole" | "makeAccountToJoin" | "makeAccount" | "passwordRequired" | "createAndJoin" | "createYourAccount" | "invitation" | "goToApp" | "invitesToApp" | "invitesTo" | "invitesToWith" | "hasAccount" | "signInAs" | "signInAsToJoin" | "otherAddress" | "signOutToAccept" | "inviteSomeone" | "inviteDescription" | "organizationRole" | "peopleInvited" | "notAcceptedYet" | "sendingAgain" | "nobodyWaiting" | "roleOf" | "couldNotReadMembers" | "whoWorks" | "membersDescription" | "details" | "detailsEditable" | "detailsReadOnly" | "guestLinksDescription" | "guestLinksAllowed" | "handOver" | "handOverDescription" | "newOwner" | "chooseMember" | "deleteOrganization" | "deleteDescription" | "deleteTitle" | "deleteConfirm" | "organizationName" | "leaveOwner" | "leaveMember" | "leaveName" | "noOrganization" | "youAre" | "throughGlobalRoles" | "newOrganization" | "newOrganizationDescription" | "invitationsForYou" | "invitationsForYouDescription" | "anOrganization" | "noAppRoles" | "organizationsSubtitle" | "yourOrganizations" | "memberOf" | "notMember" | "couldNotReadOrganizations", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "create" | "open" | "members" | "accept" | "join" | "leave" | "name" | "organization" | "invitations" | "organizations" | "remove" | "guestLinks" | "yourName" | "signOut" | "loading" | "save" | "cancel" | "until" | "current" | "password" | "delete" | "owner" | "admin" | "member" | "passwordOptional" | "invalidLink" | "manageOrganizations" | "slug" | "allOrganizations" | "allOrganizationsDescription" | "findOrganization" | "nameOrSlug" | "cannotChangeRole" | "makeAccountToJoin" | "makeAccount" | "passwordRequired" | "createAndJoin" | "createYourAccount" | "invitation" | "goToApp" | "invitesToApp" | "invitesTo" | "invitesToWith" | "hasAccount" | "signInAs" | "signInAsToJoin" | "otherAddress" | "signOutToAccept" | "inviteSomeone" | "inviteDescription" | "organizationRole" | "peopleInvited" | "notAcceptedYet" | "sendingAgain" | "nobodyWaiting" | "roleOf" | "couldNotReadMembers" | "whoWorks" | "membersDescription" | "details" | "detailsEditable" | "detailsReadOnly" | "guestLinksDescription" | "guestLinksAllowed" | "handOver" | "handOverDescription" | "newOwner" | "chooseMember" | "deleteOrganization" | "deleteDescription" | "deleteTitle" | "deleteConfirm" | "organizationName" | "leaveOwner" | "leaveMember" | "leaveName" | "noOrganization" | "youAre" | "throughGlobalRoles" | "newOrganization" | "newOrganizationDescription" | "invitationsForYou" | "invitationsForYouDescription" | "anOrganization" | "noAppRoles" | "organizationsSubtitle" | "yourOrganizations" | "memberOf" | "notMember" | "couldNotReadOrganizations", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/package.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/primitives/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "remove" | "close" | "loading" | "next" | "previous" | "dragToClose", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "remove" | "close" | "loading" | "next" | "previous" | "dragToClose", 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/record-view/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "saving" | "actions" | "tabs" | "headingCount" | "headingCountRecords" | "savedDifferent" | "example" | "savedThis" | "keepMine" | "useTheirs" | "savedAgo" | "notSavedRetrying" | "lastEditedBy" | "lastUpdated" | "viewing", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "saving" | "actions" | "tabs" | "headingCount" | "headingCountRecords" | "savedDifferent" | "example" | "savedThis" | "keepMine" | "useTheirs" | "savedAgo" | "notSavedRetrying" | "lastEditedBy" | "lastUpdated" | "viewing", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|