@multiplatform.one/backoffice 7.90.5 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/cjs/form/formLayout.native.js.map +1 -1
  2. package/dist/cjs/index.gnome.cjs +290 -0
  3. package/dist/cjs/index.gnome.native.js +293 -0
  4. package/dist/cjs/index.gnome.native.js.map +1 -0
  5. package/dist/cjs/list/filter-fields.native.js.map +1 -1
  6. package/dist/cjs/list/listColumns.native.js.map +1 -1
  7. package/dist/esm/form/formLayout.mjs.map +1 -1
  8. package/dist/esm/form/formLayout.native.js.map +1 -1
  9. package/dist/esm/index.gnome.mjs +76 -0
  10. package/dist/esm/index.gnome.mjs.map +1 -0
  11. package/dist/esm/index.gnome.native.js +76 -0
  12. package/dist/esm/index.gnome.native.js.map +1 -0
  13. package/dist/esm/list/filter-fields.mjs.map +1 -1
  14. package/dist/esm/list/filter-fields.native.js.map +1 -1
  15. package/dist/esm/list/listColumns.mjs.map +1 -1
  16. package/dist/esm/list/listColumns.native.js.map +1 -1
  17. package/dist/jsx/form/formLayout.mjs.map +1 -1
  18. package/dist/jsx/form/formLayout.native.js.map +1 -1
  19. package/dist/jsx/index.gnome.mjs +76 -0
  20. package/dist/jsx/index.gnome.mjs.map +1 -0
  21. package/dist/jsx/index.gnome.native.js +293 -0
  22. package/dist/jsx/index.gnome.native.js.map +1 -0
  23. package/dist/jsx/list/filter-fields.mjs.map +1 -1
  24. package/dist/jsx/list/filter-fields.native.js.map +1 -1
  25. package/dist/jsx/list/listColumns.mjs.map +1 -1
  26. package/dist/jsx/list/listColumns.native.js.map +1 -1
  27. package/package.json +12 -13
  28. package/src/form/createPrefill.ts +3 -3
  29. package/src/form/dependsOn.ts +1 -1
  30. package/src/form/dirtyTracking.ts +1 -1
  31. package/src/form/fetchFrom.ts +1 -1
  32. package/src/form/fieldPermissions.ts +3 -3
  33. package/src/form/formActions.ts +6 -6
  34. package/src/form/formEngineShim.spec.ts +6 -7
  35. package/src/form/formLayout.ts +2 -3
  36. package/src/form/useFormEngine.ts +1 -1
  37. package/src/index.gnome.ts +329 -0
  38. package/src/index.ts +2 -2
  39. package/src/list/filter-fields.tsx +3 -4
  40. package/src/list/listColumns.tsx +3 -4
  41. package/src/list/listFields.ts +2 -2
  42. package/src/list/listFormat.ts +2 -2
  43. package/src/list/listShim.spec.ts +2 -2
  44. package/src/list/statusColors.ts +2 -2
  45. package/src/report/reportShim.spec.ts +2 -2
  46. package/types/form/createPrefill.d.ts +3 -3
  47. package/types/form/dependsOn.d.ts +1 -1
  48. package/types/form/dirtyTracking.d.ts +1 -1
  49. package/types/form/fetchFrom.d.ts +1 -1
  50. package/types/form/fieldPermissions.d.ts +3 -3
  51. package/types/form/formActions.d.ts +3 -3
  52. package/types/form/formLayout.d.ts +2 -3
  53. package/types/form/formLayout.d.ts.map +1 -1
  54. package/types/form/useFormEngine.d.ts +1 -1
  55. package/types/index.gnome.d.ts +139 -0
  56. package/types/index.gnome.d.ts.map +1 -0
  57. package/types/list/filter-fields.d.ts +3 -4
  58. package/types/list/filter-fields.d.ts.map +1 -1
  59. package/types/list/listColumns.d.ts +3 -4
  60. package/types/list/listColumns.d.ts.map +1 -1
  61. package/types/list/listFields.d.ts +2 -2
  62. package/types/list/listFormat.d.ts +2 -2
  63. package/types/list/statusColors.d.ts +2 -2
@@ -0,0 +1,329 @@
1
+ export {
2
+ BACKOFFICE_BASE,
3
+ BACKOFFICE_VIEWS,
4
+ createBackofficePaths,
5
+ formPath,
6
+ homePath,
7
+ isBackofficeView,
8
+ listPath,
9
+ newDocPath,
10
+ parseDocDefaults,
11
+ slugToDisplayName,
12
+ toSlug,
13
+ viewPath,
14
+ workspacePath,
15
+ } from "./navigation/paths";
16
+ export type {
17
+ BackofficePath,
18
+ BackofficePaths,
19
+ BackofficeSubPath,
20
+ BackofficeView,
21
+ } from "./navigation/paths";
22
+ export { useFrappeApp } from "./shared/useFrappeApp";
23
+ export {
24
+ rankNameMatches,
25
+ readRecentItems,
26
+ toContentSnippet,
27
+ useAwesomebarCatalog,
28
+ useGlobalSearch,
29
+ } from "./chrome/awesomebar-data";
30
+ export type {
31
+ AwesomebarCatalog,
32
+ AwesomebarCatalogState,
33
+ AwesomebarWorkspace,
34
+ GlobalSearchHit,
35
+ GlobalSearchState,
36
+ RecentItem,
37
+ } from "./chrome/awesomebar-data";
38
+ export { useDefaultWorkspace, useSessionUser, useWorkspaces } from "./shell/useWorkspaces";
39
+ export type { WorkspaceDoc, WorkspacesResult } from "./shell/useWorkspaces";
40
+ export { HomeRedirect } from "./shell/HomeRedirect";
41
+ export { SlugScreen } from "./shell/SlugScreen";
42
+ export type { SlugScreenProps } from "./shell/SlugScreen";
43
+ export { NotFoundScreen } from "./shell/NotFoundScreen";
44
+ export {
45
+ BackofficeProvider,
46
+ useBackofficeCapabilities,
47
+ useBackofficeConfig,
48
+ useBackofficeLocation,
49
+ useBackofficeNavigator,
50
+ useBackofficePaths,
51
+ useBackofficeSlots,
52
+ useIsDoctypeAllowed,
53
+ } from "./config/BackofficeProvider";
54
+ export type {
55
+ BackofficeAction,
56
+ BackofficeActionContext,
57
+ BackofficeActions,
58
+ BackofficeAppearance,
59
+ BackofficeConfig,
60
+ BackofficeFrappeConfig,
61
+ BackofficeProviderProps,
62
+ } from "./config/BackofficeProvider";
63
+ export {
64
+ ControlledNavigator,
65
+ createMemoryNavigator,
66
+ createNoopNavigator,
67
+ MemoryNavigator,
68
+ parseBackofficeHref,
69
+ } from "./navigation/navigator";
70
+ export type {
71
+ BackofficeLocation,
72
+ BackofficeNavigator,
73
+ BackofficeParams,
74
+ ControlledNavigatorHandlers,
75
+ } from "./navigation/navigator";
76
+ export { BACKOFFICE_I18N_NAMESPACE, registerBackofficeTranslations } from "./i18n";
77
+ export type { FrappeFilter, FrappeFilters, SlugTarget } from "./shared/types";
78
+ export { useDoctypeMeta } from "./shared/useDoctypeMeta";
79
+ export type {
80
+ DocFieldMeta,
81
+ DocLinkMeta,
82
+ DocPermissionRule,
83
+ DoctypeMeta,
84
+ DoctypeMetaBundle,
85
+ } from "./shared/useDoctypeMeta";
86
+ export { invalidateDocinfo, useDocinfo } from "./shared/useDocinfo";
87
+ export type { DocInfo, DocInfoComment } from "./shared/useDocinfo";
88
+ export { useSlugTarget } from "./shared/useSlugTarget";
89
+ export { useUserRoles } from "./shared/useUserRoles";
90
+ export { useRecentVisit } from "./shared/useRecentVisit";
91
+ export type { RecentVisit } from "./shared/useRecentVisit";
92
+ export { useSessionUserId } from "./shared/useSessionUserId";
93
+ export type {
94
+ FrappeFilterTuple,
95
+ WorkspaceBlock,
96
+ WorkspaceBlockType,
97
+ WorkspaceChartRow,
98
+ WorkspaceLinkGroup,
99
+ WorkspaceLinkRow,
100
+ WorkspaceNumberCardRow,
101
+ WorkspaceDoc as WorkspacePageDoc,
102
+ WorkspaceQuickListRow,
103
+ WorkspaceShortcutRow,
104
+ } from "./workspace/types";
105
+ export {
106
+ composeWorkspaceBlocks,
107
+ findLinkGroup,
108
+ findShortcut,
109
+ groupLinks,
110
+ headerLevel,
111
+ parseFrappeFilters,
112
+ parseWorkspaceContent,
113
+ stripHtml,
114
+ } from "./workspace/parseContent";
115
+ export type { WorkspaceComposition } from "./workspace/parseContent";
116
+ export { useFrappeDoc, useWorkspaceDoc } from "./workspace/useWorkspaceDoc";
117
+ export type { UseFrappeDocResult } from "./workspace/useWorkspaceDoc";
118
+ export { useDashboardChartData } from "./workspace/useDashboardChart";
119
+ export type {
120
+ DashboardChartDoc,
121
+ DashboardChartSeries,
122
+ UseDashboardChartDataResult,
123
+ } from "./workspace/useDashboardChart";
124
+ export { WorkspaceGrid } from "./workspace/WorkspaceGrid";
125
+ export type { WorkspaceGridItem, WorkspaceGridProps } from "./workspace/WorkspaceGrid";
126
+ export { resolveLinkTarget, WorkspaceLinkCard } from "./workspace/WorkspaceLinkCard";
127
+ export type { WorkspaceLinkCardProps } from "./workspace/WorkspaceLinkCard";
128
+ export { resolveShortcutTarget, WorkspaceShortcut } from "./workspace/WorkspaceShortcut";
129
+ export type { WorkspaceShortcutProps } from "./workspace/WorkspaceShortcut";
130
+ export { WorkspaceQuickList } from "./workspace/WorkspaceQuickList";
131
+ export type { WorkspaceQuickListProps } from "./workspace/WorkspaceQuickList";
132
+ export { WorkspaceNumberCard } from "./workspace/WorkspaceNumberCard";
133
+ export type { NumberCardDoc, WorkspaceNumberCardProps } from "./workspace/WorkspaceNumberCard";
134
+ export { WorkspaceChartBlock } from "./workspace/WorkspaceChartBlock";
135
+ export type { WorkspaceChartBlockProps } from "./workspace/WorkspaceChartBlock";
136
+ export { filterLinkGroup, WorkspaceLinkDirectory } from "./workspace/WorkspaceLinkDirectory";
137
+ export type {
138
+ WorkspaceLinkDirectoryItem,
139
+ WorkspaceLinkDirectoryProps,
140
+ } from "./workspace/WorkspaceLinkDirectory";
141
+ export { WorkspaceRecents } from "./workspace/WorkspaceRecents";
142
+ export { WorkspaceScreen } from "./workspace/WorkspaceScreen";
143
+ export type { WorkspaceBlockKind, WorkspaceScreenProps } from "./workspace/WorkspaceScreen";
144
+ export { buildPermLevelMatrix, canReadLevel, canWriteLevel } from "./form/fieldPermissions";
145
+ export type { LevelPerm, PermLevelMatrix } from "./form/fieldPermissions";
146
+ export { DocFormScreen } from "./form/DocFormScreen";
147
+ export type { DocFormActionOverrides, DocFormScreenProps } from "./form/DocFormScreen";
148
+ export { setCreatePrefill, takeCreatePrefill } from "./form/createPrefill";
149
+ export {
150
+ buildQuickEntryDefaults,
151
+ buildQuickEntrySchema,
152
+ isEmptyFieldValue,
153
+ parseServerError,
154
+ planQuickEntry,
155
+ PROMPT_NAME_FIELD,
156
+ resolveCreatedName,
157
+ } from "./quickEntry/quickEntryPlan";
158
+ export type { ParsedServerError, QuickEntryPlan } from "./quickEntry/quickEntryPlan";
159
+ export { QuickEntryDialog } from "./quickEntry/QuickEntryDialog";
160
+ export type { QuickEntryDialogProps } from "./quickEntry/QuickEntryDialog";
161
+ export { statusPillColors } from "./list/statusColors";
162
+ export type { StatusPillColors } from "./list/statusColors";
163
+ export {
164
+ formatDateCell,
165
+ formatTimeAgo,
166
+ parseFrappeDate,
167
+ parseTagsField,
168
+ parseUserListField,
169
+ } from "./list/listFormat";
170
+ export {
171
+ frappeFiltersToTableFilters,
172
+ frappeTupleToFilterValue,
173
+ sameFilterTuple,
174
+ tableStateToFrappeFilters,
175
+ toggleFilterTuple,
176
+ } from "./list/filterConversion";
177
+ export { bulkAddTag, bulkAssign, bulkDelete, toggleLike } from "./list/bulkActions";
178
+ export type { BulkFailure, BulkResult } from "./list/bulkActions";
179
+ export { listFieldsToFetch, listViewFields } from "./list/listFields";
180
+ export {
181
+ defaultOperatorForKind,
182
+ DESK_OPERATOR_LABELS,
183
+ draftToTuple,
184
+ fieldKind,
185
+ fieldLabelFor,
186
+ filterableFieldsFromMeta,
187
+ filterTupleLabel,
188
+ operatorsForKind,
189
+ quickFilterValue,
190
+ selectOptionsFromField,
191
+ setFieldFilter,
192
+ standardDocFilterFields,
193
+ standardFiltersFromMeta,
194
+ tupleToDraft,
195
+ } from "./list/filter-fields";
196
+ export type {
197
+ DeskOperator,
198
+ FilterFieldDescriptor,
199
+ FilterFieldKind,
200
+ FilterRowDraft,
201
+ } from "./list/filter-fields";
202
+ export { FilterChips } from "./list/filter-chips";
203
+ export type { FilterChipsProps } from "./list/filter-chips";
204
+ export { FilterEditorButton, FilterEditorPanel } from "./list/filter-editor";
205
+ export type { FilterEditorButtonProps, FilterEditorPanelProps } from "./list/filter-editor";
206
+ export { sortableFieldsFromMeta, SortControl } from "./list/filter-sort";
207
+ export type { SortControlProps } from "./list/filter-sort";
208
+ export { StandardFilters } from "./list/filter-standard";
209
+ export type { StandardFiltersProps } from "./list/filter-standard";
210
+ export { SavedFiltersControl } from "./list/filter-saved";
211
+ export type { SavedFiltersControlProps } from "./list/filter-saved";
212
+ export { SidebarFacetRow, SidebarSection, SidebarSectionSkeleton } from "./list/sidebar-section";
213
+ export type {
214
+ SidebarFacetRowProps,
215
+ SidebarSectionProps,
216
+ SidebarSectionSkeletonProps,
217
+ } from "./list/sidebar-section";
218
+ export {
219
+ filtersExcludingField,
220
+ isFacetFilterActive,
221
+ NO_TAGS_LABEL,
222
+ scrubUserFacetRows,
223
+ toggleFacetFilter,
224
+ useSidebarStats,
225
+ } from "./list/sidebar-stats";
226
+ export type {
227
+ SidebarFacetCount,
228
+ SidebarFacetState,
229
+ SidebarStatsState,
230
+ UseSidebarStatsOptions,
231
+ } from "./list/sidebar-stats";
232
+ export { ListSidebar } from "./list/ListSidebar";
233
+ export type { ListSidebarProps, ListSidebarSection } from "./list/ListSidebar";
234
+ export { AddTagsDialog } from "./list/AddTagsDialog";
235
+ export type { AddTagsDialogProps } from "./list/AddTagsDialog";
236
+ export { AssignToDialog } from "./list/AssignToDialog";
237
+ export type { AssignToDialogProps } from "./list/AssignToDialog";
238
+ export {
239
+ BULK_EDIT_EXCLUDED_FIELDTYPES,
240
+ bulkEditableFields,
241
+ BulkEditDialog,
242
+ bulkSetValue,
243
+ } from "./list/bulk-edit-dialog";
244
+ export type { BulkEditDialogProps, BulkEditValue } from "./list/bulk-edit-dialog";
245
+ export { buildCsv, bulkExportCsv, downloadTextFile, exportFieldnames } from "./list/bulk-export";
246
+ export type { BulkExportResult } from "./list/bulk-export";
247
+ export { bulkSubmitCancel } from "./list/bulk-submit-cancel";
248
+ export type { BulkDocstatusAction, BulkSubmitCancelResult } from "./list/bulk-submit-cancel";
249
+ export { ListBulkActionsBar } from "./list/ListBulkActionsBar";
250
+ export type { ListBulkActionsBarProps } from "./list/ListBulkActionsBar";
251
+ export { ListToolsButton } from "./list/list-tools-sheet";
252
+ export type { ListToolsButtonProps } from "./list/list-tools-sheet";
253
+ export { buildListColumns } from "./list/listColumns";
254
+ export type { BuildListColumnsArgs, ListDoc, ListRow } from "./list/listColumns";
255
+ export { ListFilterBar } from "./list/ListFilterBar";
256
+ export type { ListFilterBarProps } from "./list/ListFilterBar";
257
+ export { DoctypeListScreen } from "./list/DoctypeListScreen";
258
+ export type { DoctypeListScreenProps } from "./list/DoctypeListScreen";
259
+ export {
260
+ detectCardFields,
261
+ detectDateFields,
262
+ detectImageField,
263
+ detectSelectField,
264
+ selectFieldOptions,
265
+ useViewMeta,
266
+ } from "./views/viewMeta";
267
+ export type { AnyDoc, DetectedCardFields, DetectedDateFields } from "./views/viewMeta";
268
+ export { useCalendarViewSettings, useKanbanBoard } from "./views/deskViewConfigs";
269
+ export type {
270
+ CalendarViewDoc,
271
+ KanbanBoardColumnConfig,
272
+ KanbanBoardDoc,
273
+ } from "./views/deskViewConfigs";
274
+ export { useViewConnection } from "./views/connection";
275
+ export type { ViewConnection } from "./views/connection";
276
+ export {
277
+ kanbanFieldCandidates,
278
+ KanbanFieldPicker,
279
+ preferredKanbanField,
280
+ } from "./views/kanban-field-picker";
281
+ export type { KanbanFieldOption, KanbanFieldPickerProps } from "./views/kanban-field-picker";
282
+ export {
283
+ calendarDateFieldCandidates,
284
+ CalendarFieldSelector,
285
+ } from "./views/calendar-field-selector";
286
+ export type { CalendarFieldSelectorProps } from "./views/calendar-field-selector";
287
+ export {
288
+ REPORT_NUMERIC_FIELDTYPES,
289
+ REPORT_PAGE_SIZES,
290
+ ReportFooter,
291
+ ReportToolbar,
292
+ } from "./views/report-controls";
293
+ export type {
294
+ ReportFooterProps,
295
+ ReportRecordRef,
296
+ ReportToolbarProps,
297
+ ReportTotal,
298
+ } from "./views/report-controls";
299
+ export {
300
+ daysAgoIso,
301
+ detectStatusField,
302
+ filteredListHref,
303
+ isoDate,
304
+ MAX_STATUS_KPI_CARDS,
305
+ useWeeklyCreated,
306
+ WEEKS_WINDOW,
307
+ weekStart,
308
+ } from "./views/dashboard-data";
309
+ export type { WeeklyCreatedPoint, WeeklyCreatedState } from "./views/dashboard-data";
310
+ export { BackToListButton, ViewError, ViewLoading, ViewUnsupported } from "./views/ViewStates";
311
+ export type { ViewErrorProps, ViewUnsupportedProps } from "./views/ViewStates";
312
+ export { useAvailableViews, ViewHeader } from "./views/ViewHeader";
313
+ export type { ViewHeaderProps } from "./views/ViewHeader";
314
+ export { useViewLabels, ViewSwitcherMenu } from "./views/ViewSwitcherMenu";
315
+ export type { ViewSwitcherMenuProps } from "./views/ViewSwitcherMenu";
316
+ export { parseReportFiltersParam, ReportView } from "./views/ReportView";
317
+ export type { ReportViewProps } from "./views/ReportView";
318
+ export { KanbanView } from "./views/KanbanView";
319
+ export type { KanbanViewProps } from "./views/KanbanView";
320
+ export { CalendarView } from "./views/CalendarView";
321
+ export type { CalendarViewProps } from "./views/CalendarView";
322
+ export { TreeView } from "./views/TreeView";
323
+ export type { TreeViewProps } from "./views/TreeView";
324
+ export { ImageView } from "./views/ImageView";
325
+ export type { ImageViewProps } from "./views/ImageView";
326
+ export { DashboardView } from "./views/DashboardView";
327
+ export type { DashboardViewProps } from "./views/DashboardView";
328
+ export { DoctypeViewScreen } from "./views/DoctypeViewScreen";
329
+ export type { DoctypeViewScreenProps } from "./views/DoctypeViewScreen";
package/src/index.ts CHANGED
@@ -252,8 +252,8 @@ export { WorkspaceScreen } from "./workspace/WorkspaceScreen";
252
252
  export type { WorkspaceBlockKind, WorkspaceScreenProps } from "./workspace/WorkspaceScreen";
253
253
 
254
254
  // Form surface
255
- // (formActions / sidebar-rpc / sidebar-utils / timeline-utils are deep-import
256
- // only — `@multiplatform.one/backoffice/src/form/*` — their utility names
255
+ // (formActions / sidebar-rpc / sidebar-utils / timeline-utils stay internal
256
+ // to `src/form/*` — their utility names
257
257
  // collide across modules and with the list/shell surfaces.)
258
258
  export { buildPermLevelMatrix, canReadLevel, canWriteLevel } from "./form/fieldPermissions";
259
259
  export type { LevelPerm, PermLevelMatrix } from "./form/fieldPermissions";
@@ -1,11 +1,10 @@
1
1
  /**
2
2
  * The filterable-field vocabulary — moved to
3
- * `@multiplatform.one/frappe-ui/src/filterFields` (MPO-15), where it is the
3
+ * `public/frappe-ui/src/filterFields` (MPO-15), where it is the
4
4
  * one vocabulary both list stacks read: this desk chrome and FrappeTable's
5
5
  * toolbar (`docFieldsToFilterFields`). Re-exported here so the barrel and
6
- * the `@multiplatform.one/backoffice/src/list/filter-fields` deep import
7
- * keep resolving (the GNOME shim deep-imports this path). New code imports
8
- * from `@multiplatform.one/frappe-ui`.
6
+ * index.gnome.ts keep resolving. New code imports from
7
+ * `@multiplatform.one/frappe-ui`.
9
8
  */
10
9
 
11
10
  export {
@@ -1,10 +1,9 @@
1
1
  /**
2
2
  * Desk list column builder — moved to
3
- * `@multiplatform.one/frappe-ui/src/list/listColumns` (MPO-15), where
3
+ * `public/frappe-ui/src/list/listColumns` (MPO-15), where
4
4
  * FrappeTable derives its default columns from it. Re-exported here so the
5
- * barrel and the `@multiplatform.one/backoffice/src/list/listColumns` deep
6
- * import keep resolving (the GNOME shim deep-imports this path). New code
7
- * imports from `@multiplatform.one/frappe-ui`.
5
+ * barrel and index.gnome.ts keep resolving. New code imports from
6
+ * `@multiplatform.one/frappe-ui`.
8
7
  */
9
8
 
10
9
  export { buildListColumns } from "@multiplatform.one/frappe-ui";
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * List field selection — moved to
3
- * `@multiplatform.one/frappe-ui/src/list/listFields` (MPO-15) with the
3
+ * `public/frappe-ui/src/list/listFields` (MPO-15) with the
4
4
  * column builder that consumes it. Re-exported here so existing imports
5
- * keep resolving (the GNOME shim deep-imports this path).
5
+ * keep resolving (index.gnome.ts imports this path).
6
6
  */
7
7
 
8
8
  export {
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * List cell formatting — moved to
3
- * `@multiplatform.one/frappe-ui/src/list/listFormat` (MPO-15) with the
3
+ * `public/frappe-ui/src/list/listFormat` (MPO-15) with the
4
4
  * column builder that consumes it. Re-exported here so existing imports
5
- * keep resolving (the GNOME shim deep-imports this path).
5
+ * keep resolving (index.gnome.ts imports this path).
6
6
  */
7
7
 
8
8
  export {
@@ -4,8 +4,8 @@
4
4
  * The list column builder, its field selection and cell helpers, and the
5
5
  * filterable-field vocabulary moved down to `@multiplatform.one/frappe-ui`.
6
6
  * The move must be invisible to anyone importing this package: the barrel
7
- * keeps the same names and the `@multiplatform.one/backoffice/src/list/*`
8
- * deep imports keep resolving (the GNOME shim deep-imports all five). And
7
+ * keeps the same names and the `src/list/*` modules keep handing them out
8
+ * (index.gnome.ts imports all five). And
9
9
  * the desk list screen has to call the moved code, not a copy of it.
10
10
  *
11
11
  * Source-level on purpose, like formEngineShim.spec.ts: importing the
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Status pill colors — moved to
3
- * `@multiplatform.one/frappe-ui/src/list/statusColors` (MPO-15) with the
3
+ * `public/frappe-ui/src/list/statusColors` (MPO-15) with the
4
4
  * column builder that consumes them. Re-exported here so existing imports
5
- * keep resolving (the GNOME shim deep-imports this path).
5
+ * keep resolving (index.gnome.ts imports this path).
6
6
  */
7
7
 
8
8
  export { statusPillColors } from "@multiplatform.one/frappe-ui";
@@ -5,8 +5,8 @@
5
5
  * grid, toolbar and saved reports moved down to `@multiplatform.one/frappe-ui`,
6
6
  * and the exported FrappeReportBuilder is the desk report view now. The move
7
7
  * must be invisible to anyone importing this package: the barrel keeps the
8
- * same names and the `@multiplatform.one/backoffice/src/...` deep imports keep
9
- * resolving (the GNOME shim deep-imports them). And the desk has to render the
8
+ * same names and the `src/report/...` modules keep handing them out. And
9
+ * the desk has to render the
10
10
  * moved component, not a copy of it: DoctypeReportView is chrome over
11
11
  * FrappeReportBuilder, the legacy ReportView is no third implementation, and
12
12
  * view=report reaches the builder.
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Create-mode prefill handoff — moved to
3
- * `@multiplatform.one/frappe-ui/src/formEngine/createPrefill` (MPO-15).
4
- * Re-exported here so existing imports keep resolving (the GNOME shim
5
- * deep-imports this path).
3
+ * `public/frappe-ui/src/formEngine/createPrefill` (MPO-15).
4
+ * Re-exported here so existing imports keep resolving (index.gnome.ts
5
+ * imports this path).
6
6
  */
7
7
  export { setCreatePrefill, takeCreatePrefill } from "@multiplatform.one/frappe-ui";
8
8
  //# sourceMappingURL=createPrefill.d.ts.map
@@ -2,7 +2,7 @@
2
2
  * Safe evaluator for Frappe `depends_on` / `mandatory_depends_on` /
3
3
  * `read_only_depends_on` expressions.
4
4
  *
5
- * The implementation lives in `@multiplatform.one/frappe-ui/src/dependsOn`
5
+ * The implementation lives in `public/frappe-ui/src/dependsOn`
6
6
  * so SchemaForm (which receives raw `depends_on` strings on the standalone
7
7
  * FrappeForm path) shares the exact same Hermes/GJS/CSP-safe parser instead
8
8
  * of a string-eval fork. This module re-exports it for the backoffice form
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Dirty-field diffing — moved to
3
- * `@multiplatform.one/frappe-ui/src/formEngine/dirtyTracking` (MPO-15).
3
+ * `public/frappe-ui/src/formEngine/dirtyTracking` (MPO-15).
4
4
  * Re-exported here so existing imports keep resolving.
5
5
  */
6
6
  export { computeDirtyFields, isEmptyValue, isSameValue } from "@multiplatform.one/frappe-ui";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * `fetch_from` map + lock helpers — moved to
3
- * `@multiplatform.one/frappe-ui/src/formEngine/fetchFrom` (MPO-15).
3
+ * `public/frappe-ui/src/formEngine/fetchFrom` (MPO-15).
4
4
  * Re-exported here so existing imports keep resolving.
5
5
  */
6
6
  export { applyFetchedValues, buildFetchMap, isFetchLocked } from "@multiplatform.one/frappe-ui";
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Permlevel matrix helpers — moved to
3
- * `@multiplatform.one/frappe-ui/src/formEngine/fieldPermissions` (MPO-15),
3
+ * `public/frappe-ui/src/formEngine/fieldPermissions` (MPO-15),
4
4
  * because formLayout consumes them and formLayout now lives there.
5
- * Re-exported here so existing imports keep resolving (the GNOME shim
6
- * deep-imports this path).
5
+ * Re-exported here so existing imports keep resolving (index.gnome.ts
6
+ * imports this path).
7
7
  */
8
8
  export { buildPermLevelMatrix, canReadLevel, canWriteLevel } from "@multiplatform.one/frappe-ui";
9
9
  export type { LevelPerm, PermLevelMatrix } from "@multiplatform.one/frappe-ui";
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * Desk RPC helpers — moved to
3
- * `@multiplatform.one/frappe-ui/src/formEngine/formActions` (MPO-15),
3
+ * `public/frappe-ui/src/formEngine/formActions` (MPO-15),
4
4
  * because useFormEngine consumes them and the engine now lives there.
5
5
  *
6
- * Deep-import only on both sides: these utility names collide with the list
7
- * and shell surfaces, so neither barrel carries them.
6
+ * Subpath-only in frappe-ui and internal here: these utility names collide
7
+ * with the list and shell surfaces, so neither barrel carries them.
8
8
  */
9
9
  export * from "@multiplatform.one/frappe-ui/formActions";
10
10
  //# sourceMappingURL=formActions.d.ts.map
@@ -1,12 +1,11 @@
1
1
  /**
2
2
  * Desk form layout engine — moved to
3
- * `@multiplatform.one/frappe-ui/src/formEngine/formLayout` (MPO-15).
3
+ * `public/frappe-ui/src/formEngine/formLayout` (MPO-15).
4
4
  *
5
5
  * The exported `FrappeForm` needed the same tab / section / depends_on /
6
6
  * permlevel / fetch_from resolution the desk uses, and backoffice sits a
7
7
  * tier ABOVE frappe-ui, so the engine could not be reached from there. It
8
- * lives in frappe-ui now. This module re-exports it so the barrel and the
9
- * `@multiplatform.one/backoffice/src/form/formLayout` deep import keep
8
+ * lives in frappe-ui now. This module re-exports it so the barrel keeps
10
9
  * resolving unchanged; the specs moved with the implementation.
11
10
  */
12
11
  export { buildCopyValues, buildCreateDefaults, buildFormTabs, isPromptNamed, } from "@multiplatform.one/frappe-ui";
@@ -1 +1 @@
1
- {"version":3,"file":"formLayout.d.ts","sourceRoot":"","sources":["../../src/form/formLayout.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,aAAa,EACb,aAAa,GACd,MAAM,8BAA8B,CAAC;AACtC,YAAY,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC"}
1
+ {"version":3,"file":"formLayout.d.ts","sourceRoot":"","sources":["../../src/form/formLayout.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,aAAa,EACb,aAAa,GACd,MAAM,8BAA8B,CAAC;AACtC,YAAY,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Desk form state engine — moved to
3
- * `@multiplatform.one/frappe-ui/src/formEngine/useFormEngine` (MPO-15).
3
+ * `public/frappe-ui/src/formEngine/useFormEngine` (MPO-15).
4
4
  * Re-exported here so existing imports keep resolving.
5
5
  */
6
6
  export { useFormEngine } from "@multiplatform.one/frappe-ui";