@protobase/ui 0.23.10 → 0.23.11
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/app/create/create-page.js +3 -2
- package/dist/app/create/create-record-form.js +4 -3
- package/dist/app/create/create-route.js +5 -8
- package/dist/app/create/create-values.js +2 -1
- package/dist/app/create/form.js +3 -2
- package/dist/app/create/messages.js +32 -0
- package/dist/app/delete/blocked-delete.js +6 -5
- package/dist/app/delete/dialogs.js +21 -20
- package/dist/app/delete/messages.js +66 -0
- package/dist/app/delete/use-delete-flow.js +7 -6
- package/dist/app/displays/display-controls.js +5 -4
- package/dist/app/displays/list-displays.js +2 -1
- package/dist/app/displays/messages.js +20 -0
- package/dist/app/embedded-list/cut-off-note.js +2 -1
- package/dist/app/embedded-list/embedded-list.js +11 -6
- package/dist/app/embedded-list/embedded-row-targets.js +4 -3
- package/dist/app/embedded-list/messages.js +24 -0
- package/dist/app/error-banner.js +2 -1
- package/dist/app/field-errors.js +19 -19
- package/dist/app/field-messages.js +48 -0
- package/dist/app/hand-order/hand-sorted-list.js +6 -11
- package/dist/app/hand-order/messages.js +22 -0
- package/dist/app/hand-order/sort-button.js +2 -1
- package/dist/app/hand-order/use-hand-order.js +2 -1
- package/dist/app/incoming-card.js +2 -1
- package/dist/app/list-edit/messages.js +14 -0
- package/dist/app/list-edit/use-list-edits.js +2 -1
- package/dist/app/list-empty-state.js +5 -5
- package/dist/app/list-empty.js +3 -2
- package/dist/app/list-messages.js +54 -0
- package/dist/app/list-page.js +24 -38
- package/dist/app/list-search.js +8 -7
- package/dist/app/messages.js +16 -0
- package/dist/app/pages/record-actions.js +4 -3
- package/dist/app/record-lines.js +3 -2
- package/dist/app/record-messages.js +78 -0
- package/dist/app/record-page.js +31 -32
- package/dist/app/related-section.js +5 -4
- package/dist/app/use-live-save.js +4 -3
- package/dist/data-grid/cell-text.js +2 -1
- package/dist/data-grid/cells.js +15 -14
- package/dist/data-grid/grid-footer.js +3 -2
- package/dist/data-grid/grid-header.js +4 -3
- package/dist/data-grid/grid-row.js +2 -1
- package/dist/data-grid/header-menu.js +5 -4
- package/dist/data-grid/messages.js +50 -0
- package/dist/data-grid/row-menu.js +2 -1
- package/dist/data-grid/row-reorder.js +8 -8
- package/dist/filter-panel/active-filter-chips.js +3 -2
- package/dist/filter-panel/date-presets.js +5 -4
- package/dist/filter-panel/facet-combobox.js +3 -2
- package/dist/filter-panel/facet-group.js +3 -2
- package/dist/filter-panel/filter-config.js +15 -12
- package/dist/filter-panel/filter-panel.js +4 -3
- package/dist/filter-panel/filter-state.js +2 -2
- package/dist/filter-panel/messages.js +52 -0
- package/dist/filter-panel/more-filters-menu.js +3 -2
- package/dist/filter-panel/range-filter.js +2 -1
- package/dist/filter-panel/secondary-filters.js +2 -1
- package/dist/forms/messages.js +24 -0
- package/dist/forms/prove-human.js +2 -1
- package/dist/forms/public-form-page.js +14 -8
- package/dist/live/display-value.js +3 -2
- package/dist/live/file-values.js +2 -1
- package/dist/live/messages.js +18 -0
- package/dist/package.js +1 -1
- package/dist/record-view/action-menu.js +2 -1
- package/dist/record-view/action-rail.js +2 -1
- package/dist/record-view/field.js +12 -7
- package/dist/record-view/messages.js +38 -0
- package/dist/record-view/record-header.js +8 -10
- package/dist/shell/assets/app-Bc3JCvDX.js +69 -0
- package/dist/shell/assets/export-worker-Bz57Pf5g.js +2 -0
- package/dist/shell/assets/{index-CPnp4jVD.js → index-DMPV9_11.js} +1 -1
- package/dist/shell/assets/{maplibre-CJlfYYmB.js → maplibre-CqykHSB6.js} +1 -1
- package/dist/shell/assets/{markdown-content-BDgnIKSJ.js → markdown-content-BmKfQOZ6.js} +1 -1
- package/dist/shell/assets/{record-map-BCWeSTdZ.js → record-map-D2ccAykf.js} +1 -1
- package/dist/shell/assets/{records-map-BhNGzm42.js → records-map-DKQG53I0.js} +1 -1
- package/dist/shell/assets/{shared-protobase-ui-C6_QptrK.js → shared-protobase-ui-BCsFQ2PD.js} +1 -1
- package/dist/shell/index.html +3 -3
- package/dist/shell/protobase.shell.json +1 -1
- package/dist/shell/protobase.sw.js +2 -2
- package/package.json +4 -4
- package/dist/shell/assets/app-BPh2QhzJ.js +0 -69
- package/dist/shell/assets/export-worker-O1HF9R4j.js +0 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AvatarStack } from "../primitives/avatar.js";
|
|
2
2
|
import { Badge } from "../primitives/badge.js";
|
|
3
|
+
import { text } from "./messages.js";
|
|
3
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
5
|
//#region src/record-view/record-header.tsx
|
|
5
6
|
const RecordHeader = ({ collection, title, status, lastEditedBy, presence = [], actions }) => {
|
|
@@ -23,27 +24,24 @@ const RecordHeader = ({ collection, title, status, lastEditedBy, presence = [],
|
|
|
23
24
|
lastEditedBy && /* @__PURE__ */ jsx("p", {
|
|
24
25
|
className: "mt-1.5 text-xs text-muted-foreground",
|
|
25
26
|
children: lastEditedBy.name ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
26
|
-
"
|
|
27
|
+
text("lastEditedBy"),
|
|
28
|
+
" ",
|
|
27
29
|
/* @__PURE__ */ jsx("span", {
|
|
28
30
|
className: "font-medium text-foreground",
|
|
29
31
|
children: lastEditedBy.name
|
|
30
32
|
}),
|
|
31
33
|
" ",
|
|
32
34
|
lastEditedBy.ago
|
|
33
|
-
] }) : /* @__PURE__ */
|
|
35
|
+
] }) : /* @__PURE__ */ jsx(Fragment, { children: text("lastUpdated", lastEditedBy.ago) })
|
|
34
36
|
})
|
|
35
37
|
] }), /* @__PURE__ */ jsxs("div", {
|
|
36
38
|
className: "flex items-center gap-4",
|
|
37
39
|
children: [presence.length > 0 && /* @__PURE__ */ jsxs("span", {
|
|
38
40
|
className: "flex items-center gap-2 text-xs text-muted-foreground",
|
|
39
|
-
children: [
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}),
|
|
44
|
-
presence.length,
|
|
45
|
-
" viewing"
|
|
46
|
-
]
|
|
41
|
+
children: [/* @__PURE__ */ jsx(AvatarStack, {
|
|
42
|
+
people: presence,
|
|
43
|
+
size: "md"
|
|
44
|
+
}), text("viewing", presence.length)]
|
|
47
45
|
}), actions]
|
|
48
46
|
})]
|
|
49
47
|
});
|