@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.
- package/dist/cjs/form/formLayout.native.js.map +1 -1
- package/dist/cjs/index.gnome.cjs +290 -0
- package/dist/cjs/index.gnome.native.js +293 -0
- package/dist/cjs/index.gnome.native.js.map +1 -0
- package/dist/cjs/list/filter-fields.native.js.map +1 -1
- package/dist/cjs/list/listColumns.native.js.map +1 -1
- package/dist/esm/form/formLayout.mjs.map +1 -1
- package/dist/esm/form/formLayout.native.js.map +1 -1
- package/dist/esm/index.gnome.mjs +76 -0
- package/dist/esm/index.gnome.mjs.map +1 -0
- package/dist/esm/index.gnome.native.js +76 -0
- package/dist/esm/index.gnome.native.js.map +1 -0
- package/dist/esm/list/filter-fields.mjs.map +1 -1
- package/dist/esm/list/filter-fields.native.js.map +1 -1
- package/dist/esm/list/listColumns.mjs.map +1 -1
- package/dist/esm/list/listColumns.native.js.map +1 -1
- package/dist/jsx/form/formLayout.mjs.map +1 -1
- package/dist/jsx/form/formLayout.native.js.map +1 -1
- package/dist/jsx/index.gnome.mjs +76 -0
- package/dist/jsx/index.gnome.mjs.map +1 -0
- package/dist/jsx/index.gnome.native.js +293 -0
- package/dist/jsx/index.gnome.native.js.map +1 -0
- package/dist/jsx/list/filter-fields.mjs.map +1 -1
- package/dist/jsx/list/filter-fields.native.js.map +1 -1
- package/dist/jsx/list/listColumns.mjs.map +1 -1
- package/dist/jsx/list/listColumns.native.js.map +1 -1
- package/package.json +12 -13
- package/src/form/createPrefill.ts +3 -3
- package/src/form/dependsOn.ts +1 -1
- package/src/form/dirtyTracking.ts +1 -1
- package/src/form/fetchFrom.ts +1 -1
- package/src/form/fieldPermissions.ts +3 -3
- package/src/form/formActions.ts +6 -6
- package/src/form/formEngineShim.spec.ts +6 -7
- package/src/form/formLayout.ts +2 -3
- package/src/form/useFormEngine.ts +1 -1
- package/src/index.gnome.ts +329 -0
- package/src/index.ts +2 -2
- package/src/list/filter-fields.tsx +3 -4
- package/src/list/listColumns.tsx +3 -4
- package/src/list/listFields.ts +2 -2
- package/src/list/listFormat.ts +2 -2
- package/src/list/listShim.spec.ts +2 -2
- package/src/list/statusColors.ts +2 -2
- package/src/report/reportShim.spec.ts +2 -2
- package/types/form/createPrefill.d.ts +3 -3
- package/types/form/dependsOn.d.ts +1 -1
- package/types/form/dirtyTracking.d.ts +1 -1
- package/types/form/fetchFrom.d.ts +1 -1
- package/types/form/fieldPermissions.d.ts +3 -3
- package/types/form/formActions.d.ts +3 -3
- package/types/form/formLayout.d.ts +2 -3
- package/types/form/formLayout.d.ts.map +1 -1
- package/types/form/useFormEngine.d.ts +1 -1
- package/types/index.gnome.d.ts +139 -0
- package/types/index.gnome.d.ts.map +1 -0
- package/types/list/filter-fields.d.ts +3 -4
- package/types/list/filter-fields.d.ts.map +1 -1
- package/types/list/listColumns.d.ts +3 -4
- package/types/list/listColumns.d.ts.map +1 -1
- package/types/list/listFields.d.ts +2 -2
- package/types/list/listFormat.d.ts +2 -2
- package/types/list/statusColors.d.ts +2 -2
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
+
value: true
|
|
24
|
+
}), mod);
|
|
25
|
+
var index_gnome_exports = {};
|
|
26
|
+
__export(index_gnome_exports, {
|
|
27
|
+
AddTagsDialog: () => import_AddTagsDialog.AddTagsDialog,
|
|
28
|
+
AssignToDialog: () => import_AssignToDialog.AssignToDialog,
|
|
29
|
+
BACKOFFICE_BASE: () => import_paths.BACKOFFICE_BASE,
|
|
30
|
+
BACKOFFICE_I18N_NAMESPACE: () => import_i18n.BACKOFFICE_I18N_NAMESPACE,
|
|
31
|
+
BACKOFFICE_VIEWS: () => import_paths.BACKOFFICE_VIEWS,
|
|
32
|
+
BULK_EDIT_EXCLUDED_FIELDTYPES: () => import_bulk_edit_dialog.BULK_EDIT_EXCLUDED_FIELDTYPES,
|
|
33
|
+
BackToListButton: () => import_ViewStates.BackToListButton,
|
|
34
|
+
BackofficeProvider: () => import_BackofficeProvider.BackofficeProvider,
|
|
35
|
+
BulkEditDialog: () => import_bulk_edit_dialog.BulkEditDialog,
|
|
36
|
+
CalendarFieldSelector: () => import_calendar_field_selector.CalendarFieldSelector,
|
|
37
|
+
CalendarView: () => import_CalendarView.CalendarView,
|
|
38
|
+
ControlledNavigator: () => import_navigator.ControlledNavigator,
|
|
39
|
+
DESK_OPERATOR_LABELS: () => import_filter_fields.DESK_OPERATOR_LABELS,
|
|
40
|
+
DashboardView: () => import_DashboardView.DashboardView,
|
|
41
|
+
DocFormScreen: () => import_DocFormScreen.DocFormScreen,
|
|
42
|
+
DoctypeListScreen: () => import_DoctypeListScreen.DoctypeListScreen,
|
|
43
|
+
DoctypeViewScreen: () => import_DoctypeViewScreen.DoctypeViewScreen,
|
|
44
|
+
FilterChips: () => import_filter_chips.FilterChips,
|
|
45
|
+
FilterEditorButton: () => import_filter_editor.FilterEditorButton,
|
|
46
|
+
FilterEditorPanel: () => import_filter_editor.FilterEditorPanel,
|
|
47
|
+
HomeRedirect: () => import_HomeRedirect.HomeRedirect,
|
|
48
|
+
ImageView: () => import_ImageView.ImageView,
|
|
49
|
+
KanbanFieldPicker: () => import_kanban_field_picker.KanbanFieldPicker,
|
|
50
|
+
KanbanView: () => import_KanbanView.KanbanView,
|
|
51
|
+
ListBulkActionsBar: () => import_ListBulkActionsBar.ListBulkActionsBar,
|
|
52
|
+
ListFilterBar: () => import_ListFilterBar.ListFilterBar,
|
|
53
|
+
ListSidebar: () => import_ListSidebar.ListSidebar,
|
|
54
|
+
ListToolsButton: () => import_list_tools_sheet.ListToolsButton,
|
|
55
|
+
MAX_STATUS_KPI_CARDS: () => import_dashboard_data.MAX_STATUS_KPI_CARDS,
|
|
56
|
+
MemoryNavigator: () => import_navigator.MemoryNavigator,
|
|
57
|
+
NO_TAGS_LABEL: () => import_sidebar_stats.NO_TAGS_LABEL,
|
|
58
|
+
NotFoundScreen: () => import_NotFoundScreen.NotFoundScreen,
|
|
59
|
+
PROMPT_NAME_FIELD: () => import_quickEntryPlan.PROMPT_NAME_FIELD,
|
|
60
|
+
QuickEntryDialog: () => import_QuickEntryDialog.QuickEntryDialog,
|
|
61
|
+
REPORT_NUMERIC_FIELDTYPES: () => import_report_controls.REPORT_NUMERIC_FIELDTYPES,
|
|
62
|
+
REPORT_PAGE_SIZES: () => import_report_controls.REPORT_PAGE_SIZES,
|
|
63
|
+
ReportFooter: () => import_report_controls.ReportFooter,
|
|
64
|
+
ReportToolbar: () => import_report_controls.ReportToolbar,
|
|
65
|
+
ReportView: () => import_ReportView.ReportView,
|
|
66
|
+
SavedFiltersControl: () => import_filter_saved.SavedFiltersControl,
|
|
67
|
+
SidebarFacetRow: () => import_sidebar_section.SidebarFacetRow,
|
|
68
|
+
SidebarSection: () => import_sidebar_section.SidebarSection,
|
|
69
|
+
SidebarSectionSkeleton: () => import_sidebar_section.SidebarSectionSkeleton,
|
|
70
|
+
SlugScreen: () => import_SlugScreen.SlugScreen,
|
|
71
|
+
SortControl: () => import_filter_sort.SortControl,
|
|
72
|
+
StandardFilters: () => import_filter_standard.StandardFilters,
|
|
73
|
+
TreeView: () => import_TreeView.TreeView,
|
|
74
|
+
ViewError: () => import_ViewStates.ViewError,
|
|
75
|
+
ViewHeader: () => import_ViewHeader.ViewHeader,
|
|
76
|
+
ViewLoading: () => import_ViewStates.ViewLoading,
|
|
77
|
+
ViewSwitcherMenu: () => import_ViewSwitcherMenu.ViewSwitcherMenu,
|
|
78
|
+
ViewUnsupported: () => import_ViewStates.ViewUnsupported,
|
|
79
|
+
WEEKS_WINDOW: () => import_dashboard_data.WEEKS_WINDOW,
|
|
80
|
+
WorkspaceChartBlock: () => import_WorkspaceChartBlock.WorkspaceChartBlock,
|
|
81
|
+
WorkspaceGrid: () => import_WorkspaceGrid.WorkspaceGrid,
|
|
82
|
+
WorkspaceLinkCard: () => import_WorkspaceLinkCard.WorkspaceLinkCard,
|
|
83
|
+
WorkspaceLinkDirectory: () => import_WorkspaceLinkDirectory.WorkspaceLinkDirectory,
|
|
84
|
+
WorkspaceNumberCard: () => import_WorkspaceNumberCard.WorkspaceNumberCard,
|
|
85
|
+
WorkspaceQuickList: () => import_WorkspaceQuickList.WorkspaceQuickList,
|
|
86
|
+
WorkspaceRecents: () => import_WorkspaceRecents.WorkspaceRecents,
|
|
87
|
+
WorkspaceScreen: () => import_WorkspaceScreen.WorkspaceScreen,
|
|
88
|
+
WorkspaceShortcut: () => import_WorkspaceShortcut.WorkspaceShortcut,
|
|
89
|
+
buildCsv: () => import_bulk_export.buildCsv,
|
|
90
|
+
buildListColumns: () => import_listColumns.buildListColumns,
|
|
91
|
+
buildPermLevelMatrix: () => import_fieldPermissions.buildPermLevelMatrix,
|
|
92
|
+
buildQuickEntryDefaults: () => import_quickEntryPlan.buildQuickEntryDefaults,
|
|
93
|
+
buildQuickEntrySchema: () => import_quickEntryPlan.buildQuickEntrySchema,
|
|
94
|
+
bulkAddTag: () => import_bulkActions.bulkAddTag,
|
|
95
|
+
bulkAssign: () => import_bulkActions.bulkAssign,
|
|
96
|
+
bulkDelete: () => import_bulkActions.bulkDelete,
|
|
97
|
+
bulkEditableFields: () => import_bulk_edit_dialog.bulkEditableFields,
|
|
98
|
+
bulkExportCsv: () => import_bulk_export.bulkExportCsv,
|
|
99
|
+
bulkSetValue: () => import_bulk_edit_dialog.bulkSetValue,
|
|
100
|
+
bulkSubmitCancel: () => import_bulk_submit_cancel.bulkSubmitCancel,
|
|
101
|
+
calendarDateFieldCandidates: () => import_calendar_field_selector.calendarDateFieldCandidates,
|
|
102
|
+
canReadLevel: () => import_fieldPermissions.canReadLevel,
|
|
103
|
+
canWriteLevel: () => import_fieldPermissions.canWriteLevel,
|
|
104
|
+
composeWorkspaceBlocks: () => import_parseContent.composeWorkspaceBlocks,
|
|
105
|
+
createBackofficePaths: () => import_paths.createBackofficePaths,
|
|
106
|
+
createMemoryNavigator: () => import_navigator.createMemoryNavigator,
|
|
107
|
+
createNoopNavigator: () => import_navigator.createNoopNavigator,
|
|
108
|
+
daysAgoIso: () => import_dashboard_data.daysAgoIso,
|
|
109
|
+
defaultOperatorForKind: () => import_filter_fields.defaultOperatorForKind,
|
|
110
|
+
detectCardFields: () => import_viewMeta.detectCardFields,
|
|
111
|
+
detectDateFields: () => import_viewMeta.detectDateFields,
|
|
112
|
+
detectImageField: () => import_viewMeta.detectImageField,
|
|
113
|
+
detectSelectField: () => import_viewMeta.detectSelectField,
|
|
114
|
+
detectStatusField: () => import_dashboard_data.detectStatusField,
|
|
115
|
+
downloadTextFile: () => import_bulk_export.downloadTextFile,
|
|
116
|
+
draftToTuple: () => import_filter_fields.draftToTuple,
|
|
117
|
+
exportFieldnames: () => import_bulk_export.exportFieldnames,
|
|
118
|
+
fieldKind: () => import_filter_fields.fieldKind,
|
|
119
|
+
fieldLabelFor: () => import_filter_fields.fieldLabelFor,
|
|
120
|
+
filterLinkGroup: () => import_WorkspaceLinkDirectory.filterLinkGroup,
|
|
121
|
+
filterTupleLabel: () => import_filter_fields.filterTupleLabel,
|
|
122
|
+
filterableFieldsFromMeta: () => import_filter_fields.filterableFieldsFromMeta,
|
|
123
|
+
filteredListHref: () => import_dashboard_data.filteredListHref,
|
|
124
|
+
filtersExcludingField: () => import_sidebar_stats.filtersExcludingField,
|
|
125
|
+
findLinkGroup: () => import_parseContent.findLinkGroup,
|
|
126
|
+
findShortcut: () => import_parseContent.findShortcut,
|
|
127
|
+
formPath: () => import_paths.formPath,
|
|
128
|
+
formatDateCell: () => import_listFormat.formatDateCell,
|
|
129
|
+
formatTimeAgo: () => import_listFormat.formatTimeAgo,
|
|
130
|
+
frappeFiltersToTableFilters: () => import_filterConversion.frappeFiltersToTableFilters,
|
|
131
|
+
frappeTupleToFilterValue: () => import_filterConversion.frappeTupleToFilterValue,
|
|
132
|
+
groupLinks: () => import_parseContent.groupLinks,
|
|
133
|
+
headerLevel: () => import_parseContent.headerLevel,
|
|
134
|
+
homePath: () => import_paths.homePath,
|
|
135
|
+
invalidateDocinfo: () => import_useDocinfo.invalidateDocinfo,
|
|
136
|
+
isBackofficeView: () => import_paths.isBackofficeView,
|
|
137
|
+
isEmptyFieldValue: () => import_quickEntryPlan.isEmptyFieldValue,
|
|
138
|
+
isFacetFilterActive: () => import_sidebar_stats.isFacetFilterActive,
|
|
139
|
+
isoDate: () => import_dashboard_data.isoDate,
|
|
140
|
+
kanbanFieldCandidates: () => import_kanban_field_picker.kanbanFieldCandidates,
|
|
141
|
+
listFieldsToFetch: () => import_listFields.listFieldsToFetch,
|
|
142
|
+
listPath: () => import_paths.listPath,
|
|
143
|
+
listViewFields: () => import_listFields.listViewFields,
|
|
144
|
+
newDocPath: () => import_paths.newDocPath,
|
|
145
|
+
operatorsForKind: () => import_filter_fields.operatorsForKind,
|
|
146
|
+
parseBackofficeHref: () => import_navigator.parseBackofficeHref,
|
|
147
|
+
parseDocDefaults: () => import_paths.parseDocDefaults,
|
|
148
|
+
parseFrappeDate: () => import_listFormat.parseFrappeDate,
|
|
149
|
+
parseFrappeFilters: () => import_parseContent.parseFrappeFilters,
|
|
150
|
+
parseReportFiltersParam: () => import_ReportView.parseReportFiltersParam,
|
|
151
|
+
parseServerError: () => import_quickEntryPlan.parseServerError,
|
|
152
|
+
parseTagsField: () => import_listFormat.parseTagsField,
|
|
153
|
+
parseUserListField: () => import_listFormat.parseUserListField,
|
|
154
|
+
parseWorkspaceContent: () => import_parseContent.parseWorkspaceContent,
|
|
155
|
+
planQuickEntry: () => import_quickEntryPlan.planQuickEntry,
|
|
156
|
+
preferredKanbanField: () => import_kanban_field_picker.preferredKanbanField,
|
|
157
|
+
quickFilterValue: () => import_filter_fields.quickFilterValue,
|
|
158
|
+
rankNameMatches: () => import_awesomebar_data.rankNameMatches,
|
|
159
|
+
readRecentItems: () => import_awesomebar_data.readRecentItems,
|
|
160
|
+
registerBackofficeTranslations: () => import_i18n.registerBackofficeTranslations,
|
|
161
|
+
resolveCreatedName: () => import_quickEntryPlan.resolveCreatedName,
|
|
162
|
+
resolveLinkTarget: () => import_WorkspaceLinkCard.resolveLinkTarget,
|
|
163
|
+
resolveShortcutTarget: () => import_WorkspaceShortcut.resolveShortcutTarget,
|
|
164
|
+
sameFilterTuple: () => import_filterConversion.sameFilterTuple,
|
|
165
|
+
scrubUserFacetRows: () => import_sidebar_stats.scrubUserFacetRows,
|
|
166
|
+
selectFieldOptions: () => import_viewMeta.selectFieldOptions,
|
|
167
|
+
selectOptionsFromField: () => import_filter_fields.selectOptionsFromField,
|
|
168
|
+
setCreatePrefill: () => import_createPrefill.setCreatePrefill,
|
|
169
|
+
setFieldFilter: () => import_filter_fields.setFieldFilter,
|
|
170
|
+
slugToDisplayName: () => import_paths.slugToDisplayName,
|
|
171
|
+
sortableFieldsFromMeta: () => import_filter_sort.sortableFieldsFromMeta,
|
|
172
|
+
standardDocFilterFields: () => import_filter_fields.standardDocFilterFields,
|
|
173
|
+
standardFiltersFromMeta: () => import_filter_fields.standardFiltersFromMeta,
|
|
174
|
+
statusPillColors: () => import_statusColors.statusPillColors,
|
|
175
|
+
stripHtml: () => import_parseContent.stripHtml,
|
|
176
|
+
tableStateToFrappeFilters: () => import_filterConversion.tableStateToFrappeFilters,
|
|
177
|
+
takeCreatePrefill: () => import_createPrefill.takeCreatePrefill,
|
|
178
|
+
toContentSnippet: () => import_awesomebar_data.toContentSnippet,
|
|
179
|
+
toSlug: () => import_paths.toSlug,
|
|
180
|
+
toggleFacetFilter: () => import_sidebar_stats.toggleFacetFilter,
|
|
181
|
+
toggleFilterTuple: () => import_filterConversion.toggleFilterTuple,
|
|
182
|
+
toggleLike: () => import_bulkActions.toggleLike,
|
|
183
|
+
tupleToDraft: () => import_filter_fields.tupleToDraft,
|
|
184
|
+
useAvailableViews: () => import_ViewHeader.useAvailableViews,
|
|
185
|
+
useAwesomebarCatalog: () => import_awesomebar_data.useAwesomebarCatalog,
|
|
186
|
+
useBackofficeCapabilities: () => import_BackofficeProvider.useBackofficeCapabilities,
|
|
187
|
+
useBackofficeConfig: () => import_BackofficeProvider.useBackofficeConfig,
|
|
188
|
+
useBackofficeLocation: () => import_BackofficeProvider.useBackofficeLocation,
|
|
189
|
+
useBackofficeNavigator: () => import_BackofficeProvider.useBackofficeNavigator,
|
|
190
|
+
useBackofficePaths: () => import_BackofficeProvider.useBackofficePaths,
|
|
191
|
+
useBackofficeSlots: () => import_BackofficeProvider.useBackofficeSlots,
|
|
192
|
+
useCalendarViewSettings: () => import_deskViewConfigs.useCalendarViewSettings,
|
|
193
|
+
useDashboardChartData: () => import_useDashboardChart.useDashboardChartData,
|
|
194
|
+
useDefaultWorkspace: () => import_useWorkspaces.useDefaultWorkspace,
|
|
195
|
+
useDocinfo: () => import_useDocinfo.useDocinfo,
|
|
196
|
+
useDoctypeMeta: () => import_useDoctypeMeta.useDoctypeMeta,
|
|
197
|
+
useFrappeApp: () => import_useFrappeApp.useFrappeApp,
|
|
198
|
+
useFrappeDoc: () => import_useWorkspaceDoc.useFrappeDoc,
|
|
199
|
+
useGlobalSearch: () => import_awesomebar_data.useGlobalSearch,
|
|
200
|
+
useIsDoctypeAllowed: () => import_BackofficeProvider.useIsDoctypeAllowed,
|
|
201
|
+
useKanbanBoard: () => import_deskViewConfigs.useKanbanBoard,
|
|
202
|
+
useRecentVisit: () => import_useRecentVisit.useRecentVisit,
|
|
203
|
+
useSessionUser: () => import_useWorkspaces.useSessionUser,
|
|
204
|
+
useSessionUserId: () => import_useSessionUserId.useSessionUserId,
|
|
205
|
+
useSidebarStats: () => import_sidebar_stats.useSidebarStats,
|
|
206
|
+
useSlugTarget: () => import_useSlugTarget.useSlugTarget,
|
|
207
|
+
useUserRoles: () => import_useUserRoles.useUserRoles,
|
|
208
|
+
useViewConnection: () => import_connection.useViewConnection,
|
|
209
|
+
useViewLabels: () => import_ViewSwitcherMenu.useViewLabels,
|
|
210
|
+
useViewMeta: () => import_viewMeta.useViewMeta,
|
|
211
|
+
useWeeklyCreated: () => import_dashboard_data.useWeeklyCreated,
|
|
212
|
+
useWorkspaceDoc: () => import_useWorkspaceDoc.useWorkspaceDoc,
|
|
213
|
+
useWorkspaces: () => import_useWorkspaces.useWorkspaces,
|
|
214
|
+
viewPath: () => import_paths.viewPath,
|
|
215
|
+
weekStart: () => import_dashboard_data.weekStart,
|
|
216
|
+
workspacePath: () => import_paths.workspacePath
|
|
217
|
+
});
|
|
218
|
+
module.exports = __toCommonJS(index_gnome_exports);
|
|
219
|
+
var import_paths = require("./navigation/paths.native.js");
|
|
220
|
+
var import_useFrappeApp = require("./shared/useFrappeApp.native.js");
|
|
221
|
+
var import_awesomebar_data = require("./chrome/awesomebar-data.native.js");
|
|
222
|
+
var import_useWorkspaces = require("./shell/useWorkspaces.native.js");
|
|
223
|
+
var import_HomeRedirect = require("./shell/HomeRedirect.native.js");
|
|
224
|
+
var import_SlugScreen = require("./shell/SlugScreen.native.js");
|
|
225
|
+
var import_NotFoundScreen = require("./shell/NotFoundScreen.native.js");
|
|
226
|
+
var import_BackofficeProvider = require("./config/BackofficeProvider.native.js");
|
|
227
|
+
var import_navigator = require("./navigation/navigator.native.js");
|
|
228
|
+
var import_i18n = require("./i18n/index.native.js");
|
|
229
|
+
var import_useDoctypeMeta = require("./shared/useDoctypeMeta.native.js");
|
|
230
|
+
var import_useDocinfo = require("./shared/useDocinfo.native.js");
|
|
231
|
+
var import_useSlugTarget = require("./shared/useSlugTarget.native.js");
|
|
232
|
+
var import_useUserRoles = require("./shared/useUserRoles.native.js");
|
|
233
|
+
var import_useRecentVisit = require("./shared/useRecentVisit.native.js");
|
|
234
|
+
var import_useSessionUserId = require("./shared/useSessionUserId.native.js");
|
|
235
|
+
var import_parseContent = require("./workspace/parseContent.native.js");
|
|
236
|
+
var import_useWorkspaceDoc = require("./workspace/useWorkspaceDoc.native.js");
|
|
237
|
+
var import_useDashboardChart = require("./workspace/useDashboardChart.native.js");
|
|
238
|
+
var import_WorkspaceGrid = require("./workspace/WorkspaceGrid.native.js");
|
|
239
|
+
var import_WorkspaceLinkCard = require("./workspace/WorkspaceLinkCard.native.js");
|
|
240
|
+
var import_WorkspaceShortcut = require("./workspace/WorkspaceShortcut.native.js");
|
|
241
|
+
var import_WorkspaceQuickList = require("./workspace/WorkspaceQuickList.native.js");
|
|
242
|
+
var import_WorkspaceNumberCard = require("./workspace/WorkspaceNumberCard.native.js");
|
|
243
|
+
var import_WorkspaceChartBlock = require("./workspace/WorkspaceChartBlock.native.js");
|
|
244
|
+
var import_WorkspaceLinkDirectory = require("./workspace/WorkspaceLinkDirectory.native.js");
|
|
245
|
+
var import_WorkspaceRecents = require("./workspace/WorkspaceRecents.native.js");
|
|
246
|
+
var import_WorkspaceScreen = require("./workspace/WorkspaceScreen.native.js");
|
|
247
|
+
var import_fieldPermissions = require("./form/fieldPermissions.native.js");
|
|
248
|
+
var import_DocFormScreen = require("./form/DocFormScreen.native.js");
|
|
249
|
+
var import_createPrefill = require("./form/createPrefill.native.js");
|
|
250
|
+
var import_quickEntryPlan = require("./quickEntry/quickEntryPlan.native.js");
|
|
251
|
+
var import_QuickEntryDialog = require("./quickEntry/QuickEntryDialog.native.js");
|
|
252
|
+
var import_statusColors = require("./list/statusColors.native.js");
|
|
253
|
+
var import_listFormat = require("./list/listFormat.native.js");
|
|
254
|
+
var import_filterConversion = require("./list/filterConversion.native.js");
|
|
255
|
+
var import_bulkActions = require("./list/bulkActions.native.js");
|
|
256
|
+
var import_listFields = require("./list/listFields.native.js");
|
|
257
|
+
var import_filter_fields = require("./list/filter-fields.native.js");
|
|
258
|
+
var import_filter_chips = require("./list/filter-chips.native.js");
|
|
259
|
+
var import_filter_editor = require("./list/filter-editor.native.js");
|
|
260
|
+
var import_filter_sort = require("./list/filter-sort.native.js");
|
|
261
|
+
var import_filter_standard = require("./list/filter-standard.native.js");
|
|
262
|
+
var import_filter_saved = require("./list/filter-saved.native.js");
|
|
263
|
+
var import_sidebar_section = require("./list/sidebar-section.native.js");
|
|
264
|
+
var import_sidebar_stats = require("./list/sidebar-stats.native.js");
|
|
265
|
+
var import_ListSidebar = require("./list/ListSidebar.native.js");
|
|
266
|
+
var import_AddTagsDialog = require("./list/AddTagsDialog.native.js");
|
|
267
|
+
var import_AssignToDialog = require("./list/AssignToDialog.native.js");
|
|
268
|
+
var import_bulk_edit_dialog = require("./list/bulk-edit-dialog.native.js");
|
|
269
|
+
var import_bulk_export = require("./list/bulk-export.native.js");
|
|
270
|
+
var import_bulk_submit_cancel = require("./list/bulk-submit-cancel.native.js");
|
|
271
|
+
var import_ListBulkActionsBar = require("./list/ListBulkActionsBar.native.js");
|
|
272
|
+
var import_list_tools_sheet = require("./list/list-tools-sheet.native.js");
|
|
273
|
+
var import_listColumns = require("./list/listColumns.native.js");
|
|
274
|
+
var import_ListFilterBar = require("./list/ListFilterBar.native.js");
|
|
275
|
+
var import_DoctypeListScreen = require("./list/DoctypeListScreen.native.js");
|
|
276
|
+
var import_viewMeta = require("./views/viewMeta.native.js");
|
|
277
|
+
var import_deskViewConfigs = require("./views/deskViewConfigs.native.js");
|
|
278
|
+
var import_connection = require("./views/connection.native.js");
|
|
279
|
+
var import_kanban_field_picker = require("./views/kanban-field-picker.native.js");
|
|
280
|
+
var import_calendar_field_selector = require("./views/calendar-field-selector.native.js");
|
|
281
|
+
var import_report_controls = require("./views/report-controls.native.js");
|
|
282
|
+
var import_dashboard_data = require("./views/dashboard-data.native.js");
|
|
283
|
+
var import_ViewStates = require("./views/ViewStates.native.js");
|
|
284
|
+
var import_ViewHeader = require("./views/ViewHeader.native.js");
|
|
285
|
+
var import_ViewSwitcherMenu = require("./views/ViewSwitcherMenu.native.js");
|
|
286
|
+
var import_ReportView = require("./views/ReportView.native.js");
|
|
287
|
+
var import_KanbanView = require("./views/KanbanView.native.js");
|
|
288
|
+
var import_CalendarView = require("./views/CalendarView.native.js");
|
|
289
|
+
var import_TreeView = require("./views/TreeView.native.js");
|
|
290
|
+
var import_ImageView = require("./views/ImageView.native.js");
|
|
291
|
+
var import_DashboardView = require("./views/DashboardView.native.js");
|
|
292
|
+
var import_DoctypeViewScreen = require("./views/DoctypeViewScreen.native.js");
|
|
293
|
+
//# sourceMappingURL=index.gnome.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","index_gnome_exports","AddTagsDialog","import_AddTagsDialog","AssignToDialog","import_AssignToDialog","BACKOFFICE_BASE","import_paths","BACKOFFICE_I18N_NAMESPACE","import_i18n","BACKOFFICE_VIEWS","BULK_EDIT_EXCLUDED_FIELDTYPES","import_bulk_edit_dialog","BackToListButton","import_ViewStates","BackofficeProvider","import_BackofficeProvider","BulkEditDialog","CalendarFieldSelector","import_calendar_field_selector","CalendarView","import_CalendarView","ControlledNavigator","import_navigator","DESK_OPERATOR_LABELS","import_filter_fields","DashboardView","import_DashboardView","DocFormScreen","import_DocFormScreen","DoctypeListScreen","import_DoctypeListScreen","DoctypeViewScreen","import_DoctypeViewScreen","FilterChips","import_filter_chips","FilterEditorButton","import_filter_editor","FilterEditorPanel","HomeRedirect","import_HomeRedirect","ImageView","import_ImageView","KanbanFieldPicker","import_kanban_field_picker","KanbanView","import_KanbanView","ListBulkActionsBar","import_ListBulkActionsBar","ListFilterBar","import_ListFilterBar","ListSidebar","import_ListSidebar","ListToolsButton","import_list_tools_sheet","MAX_STATUS_KPI_CARDS","import_dashboard_data","MemoryNavigator","NO_TAGS_LABEL","import_sidebar_stats","NotFoundScreen","import_NotFoundScreen","PROMPT_NAME_FIELD","import_quickEntryPlan","QuickEntryDialog","import_QuickEntryDialog","REPORT_NUMERIC_FIELDTYPES","import_report_controls","REPORT_PAGE_SIZES","ReportFooter","ReportToolbar","ReportView","import_ReportView","SavedFiltersControl","import_filter_saved","SidebarFacetRow","import_sidebar_section","SidebarSection","SidebarSectionSkeleton","SlugScreen","import_SlugScreen","SortControl","import_filter_sort","StandardFilters","import_filter_standard","TreeView","import_TreeView","ViewError","ViewHeader","import_ViewHeader","ViewLoading","ViewSwitcherMenu","import_ViewSwitcherMenu","ViewUnsupported","WEEKS_WINDOW","WorkspaceChartBlock","import_WorkspaceChartBlock","WorkspaceGrid","import_WorkspaceGrid","WorkspaceLinkCard","import_WorkspaceLinkCard","WorkspaceLinkDirectory","import_WorkspaceLinkDirectory","WorkspaceNumberCard","import_WorkspaceNumberCard","WorkspaceQuickList","import_WorkspaceQuickList","WorkspaceRecents","import_WorkspaceRecents","WorkspaceScreen","import_WorkspaceScreen","WorkspaceShortcut","import_WorkspaceShortcut","buildCsv","import_bulk_export","buildListColumns","import_listColumns","buildPermLevelMatrix","import_fieldPermissions","buildQuickEntryDefaults","buildQuickEntrySchema","bulkAddTag","import_bulkActions","bulkAssign","bulkDelete","bulkEditableFields","bulkExportCsv","bulkSetValue","bulkSubmitCancel","import_bulk_submit_cancel","calendarDateFieldCandidates","canReadLevel","canWriteLevel","composeWorkspaceBlocks","import_parseContent","createBackofficePaths","createMemoryNavigator","createNoopNavigator","daysAgoIso","defaultOperatorForKind","detectCardFields","import_viewMeta","detectDateFields","detectImageField","detectSelectField","detectStatusField","downloadTextFile","draftToTuple","exportFieldnames","fieldKind","fieldLabelFor","filterLinkGroup","filterTupleLabel","filterableFieldsFromMeta","filteredListHref","filtersExcludingField","findLinkGroup","findShortcut","formPath","formatDateCell","import_listFormat","formatTimeAgo","frappeFiltersToTableFilters","import_filterConversion","frappeTupleToFilterValue","groupLinks","headerLevel","homePath","invalidateDocinfo","import_useDocinfo","isBackofficeView","isEmptyFieldValue","isFacetFilterActive","isoDate","kanbanFieldCandidates","listFieldsToFetch","import_listFields","listPath","listViewFields","newDocPath","operatorsForKind","parseBackofficeHref","parseDocDefaults","parseFrappeDate","parseFrappeFilters","parseReportFiltersParam","parseServerError","parseTagsField","parseUserListField","parseWorkspaceContent","planQuickEntry","preferredKanbanField","quickFilterValue","rankNameMatches","import_awesomebar_data","readRecentItems","registerBackofficeTranslations","resolveCreatedName","resolveLinkTarget","resolveShortcutTarget","sameFilterTuple","scrubUserFacetRows","selectFieldOptions","selectOptionsFromField","setCreatePrefill","import_createPrefill","setFieldFilter","slugToDisplayName","sortableFieldsFromMeta","standardDocFilterFields","standardFiltersFromMeta","statusPillColors","import_statusColors","stripHtml","tableStateToFrappeFilters","takeCreatePrefill","toContentSnippet","toSlug","toggleFacetFilter","toggleFilterTuple","toggleLike","tupleToDraft","useAvailableViews","useAwesomebarCatalog","useBackofficeCapabilities","useBackofficeConfig","useBackofficeLocation","useBackofficeNavigator","useBackofficePaths","useBackofficeSlots","useCalendarViewSettings","import_deskViewConfigs","useDashboardChartData","import_useDashboardChart","useDefaultWorkspace","import_useWorkspaces","useDocinfo","useDoctypeMeta","import_useDoctypeMeta","useFrappeApp","import_useFrappeApp","useFrappeDoc","import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A,KAAAlG,kBAAA,CAAAkG,UAAA;EACAC,YAAA,EAAAA,CAAA,KAAApM,oBAAA,CAAAoM,YAAA;EACAC,iBAAA,EAAAA,CAAA,KAAArI,iBAAA,CAAAqI,iBAAA;EACAC,oBAAA,EAAAA,CAAA,KAAA7B,sBAAA,CAAA6B,oBAAA;EACAC,yBAAA,EAAAA,CAAA,KAAAhN,yBAAA,CAAAgN,yBAAA;EACAC,mBAAA,EAAAA,CAAA,KAAAjN,yBAAA,CAAAiN,mBAAA;EACAC,qBAAA,EAAAA,CAAA,KAAAlN,yBAAA,CAAAkN,qBAAA;EAAAC,sBACK,EAAAA,CAAA,KAAAnN,yBAAA,CAAAmN,sBAAA;EAEPC,kBAAS,EAAAA,CAAA,KAAkBpN,yBAAwB,CAAAoN,kBAAA;EAEnDC,kBAAS,EAAAA,CAAA,KAAmBrN,yBAAkB,CAAAqN,kBAAA;EAE9CC,uBAAwB,EAAAA,CAAA,KAAAC,sBAAwB,CAAAD,uBAAA;EAEhDE,qBAAS,EAAAA,CAAA,KAAAC,wBAA2C,CAAAD,qBAAA;EAEpDE,mBAAS,EAAAA,CAAA,KAAkBC,oBAAA,CAAAD,mBAAA;EAE3BE,UAAS,EAAAA,CAAA,KAAAnE,iBAAoB,CAAAmE,UAAA;EAE7BC,cAAS,EAAAA,CAAA,KAAAC,qBAAgB,CAAAD,cAAA;EAEzBE,YAAS,EAAAA,CAAA,KAAAC,mBAAiB,CAAAD,YAAA;EAE1BE,YAAS,EAAAA,CAAA,KAAAC,sBAAqB,CAAAD,YAAA;EAE9BE,eAAS,EAAAA,CAAA,KAAAjD,sBAAyB,CAAAiD,eAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["defaultOperatorForKind","DESK_OPERATOR_LABELS","draftToTuple","fieldKind","fieldLabelFor","filterableFieldsFromMeta","filterTupleLabel","operatorsForKind","quickFilterValue","selectOptionsFromField","setFieldFilter","standardDocFilterFields","standardFiltersFromMeta","tupleToDraft"],"sources":["../../../src/list/filter-fields.tsx"],"sourcesContent":[null],"mappings":"
|
|
1
|
+
{"version":3,"names":["defaultOperatorForKind","DESK_OPERATOR_LABELS","draftToTuple","fieldKind","fieldLabelFor","filterableFieldsFromMeta","filterTupleLabel","operatorsForKind","quickFilterValue","selectOptionsFromField","setFieldFilter","standardDocFilterFields","standardFiltersFromMeta","tupleToDraft"],"sources":["../../../src/list/filter-fields.tsx"],"sourcesContent":[null],"mappings":"AASA,SACEA,sBAAA,EACAC,oBAAA,EACAC,YAAA,EACAC,SAAA,EACAC,aAAA,EACAC,wBAAA,EACAC,gBAAA,EACAC,gBAAA,EACAC,gBAAA,EACAC,sBAAA,EACAC,cAAA,EACAC,uBAAA,EACAC,uBAAA,EACAC,YAAA,QACK","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call"],"sources":["../../../src/list/filter-fields.tsx"],"sourcesContent":[null],"mappings":"
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call"],"sources":["../../../src/list/filter-fields.tsx"],"sourcesContent":[null],"mappings":"AASA;;AAAA,IACEA,SAAA,GAAAC,MAAA,CAAAC,cAAA;AAAA,IACAC,gBAAA,GAAAF,MAAA,CAAAG,wBAAA;AAAA,IACAC,iBAAA,GAAAJ,MAAA,CAAAK,mBAAA;AAAA,IACAC,YAAA,GAAAN,MAAA,CAAAO,SAAA,CAAAC,cAAA;AAAA,IACAC,QAAA,GAAAA,CAAAC,MAAA,EAAAC,GAAA;EACA,SAAAC,IAAA,IAAAD,GAAA,EACAZ,SAAA,CAAAW,MAAA,EAAAE,IAAA;IAAAC,GAAA,EAAAF,GAAA,CAAAC,IAAA;IAAAE,UAAA;EAAA;AAAA;AACA,IACAC,WAAA,GAAAA,CAAAC,EAAA,EAAAC,IAAA,EAAAC,MAAA,EAAAC,IAAA;EACA,IAAAF,IAAA,WAAAA,IAAA,wBAAAA,IAAA;IACA,SAAAG,GAAA,IAAAhB,iBAAA,CAAAa,IAAA,GACA,KAAAX,YAAA,CAAAe,IAAA,CAAAL,EAAA,EAAAI,GAAA,KAAAA,GAAA,KAAAF,MAAA,EACAnB,SAAA,CAAAiB,EAAA,EAAAI,GAAA;MAAAP,GAAA,EAAAA,CAAA,KAAAI,IAAA,CAAAG,GAAA;MAAAN,UAAA,IAAAK,IAAA,GAAAjB,gBAAA,CAAAe,IAAA,EAAAG,GAAA,MAAAD,IAAA,CAAAL;IAAA;EACA;EAAA,OACKE,EAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["buildListColumns"],"sources":["../../../src/list/listColumns.tsx"],"sourcesContent":[null],"mappings":"
|
|
1
|
+
{"version":3,"names":["buildListColumns"],"sources":["../../../src/list/listColumns.tsx"],"sourcesContent":[null],"mappings":"AAQA,SAASA,gBAAA,QAAwB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../../src/list/listColumns.tsx"],"sourcesContent":[null],"mappings":"
|
|
1
|
+
{"version":3,"names":[],"sources":["../../../src/list/listColumns.tsx"],"sourcesContent":[null],"mappings":"AAQA,YAAS","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@multiplatform.one/backoffice",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"description": "Embeddable Frappe desk recreation (backoffice) for the multiplatform.one stack",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"backoffice",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"types": "types/index.d.ts",
|
|
42
42
|
"exports": {
|
|
43
43
|
"./package.json": "./package.json",
|
|
44
|
-
"./src/*": "./src/*",
|
|
45
44
|
".": {
|
|
45
|
+
"gnome": "./src/index.gnome.ts",
|
|
46
46
|
"source": "./src/index.ts",
|
|
47
47
|
"types": "./types/index.d.ts",
|
|
48
48
|
"react-native": {
|
|
@@ -71,21 +71,20 @@
|
|
|
71
71
|
"access": "public"
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"@multiplatform.one/components": "^
|
|
75
|
-
"@multiplatform.one/forms": "^
|
|
76
|
-
"@multiplatform.one/frappe": "^
|
|
77
|
-
"@multiplatform.one/frappe-ui": "^
|
|
78
|
-
"@multiplatform.one/
|
|
79
|
-
"@multiplatform.one/
|
|
80
|
-
"@multiplatform.one/
|
|
81
|
-
"@multiplatform.one/
|
|
82
|
-
"@multiplatform.one/theme": "^7.90.5",
|
|
74
|
+
"@multiplatform.one/components": "^8.0.0",
|
|
75
|
+
"@multiplatform.one/forms": "^8.0.0",
|
|
76
|
+
"@multiplatform.one/frappe": "^8.0.0",
|
|
77
|
+
"@multiplatform.one/frappe-ui": "^8.0.0",
|
|
78
|
+
"@multiplatform.one/platform": "^8.0.0",
|
|
79
|
+
"@multiplatform.one/store": "^8.0.0",
|
|
80
|
+
"@multiplatform.one/table": "^8.0.0",
|
|
81
|
+
"@multiplatform.one/theme": "^8.0.0",
|
|
83
82
|
"@phosphor-icons/react": "^2.1.10",
|
|
84
83
|
"tamagui": "2.7.6"
|
|
85
84
|
},
|
|
86
85
|
"devDependencies": {
|
|
87
|
-
"@multiplatform.one/config": "
|
|
88
|
-
"@multiplatform.one/test-utils": "
|
|
86
|
+
"@multiplatform.one/config": "8.0.0",
|
|
87
|
+
"@multiplatform.one/test-utils": "8.0.0",
|
|
89
88
|
"@tamagui/build": "2.7.6",
|
|
90
89
|
"@testing-library/react": "^16.3.3",
|
|
91
90
|
"@types/react-dom": "^19.2.3",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Create-mode prefill handoff — moved to
|
|
3
|
-
*
|
|
4
|
-
* Re-exported here so existing imports keep resolving (
|
|
5
|
-
*
|
|
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
|
|
|
8
8
|
export { setCreatePrefill, takeCreatePrefill } from "@multiplatform.one/frappe-ui";
|
package/src/form/dependsOn.ts
CHANGED
|
@@ -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
|
|
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
|
package/src/form/fetchFrom.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Permlevel matrix helpers — moved to
|
|
3
|
-
*
|
|
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 (
|
|
6
|
-
*
|
|
5
|
+
* Re-exported here so existing imports keep resolving (index.gnome.ts
|
|
6
|
+
* imports this path).
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
export { buildPermLevelMatrix, canReadLevel, canWriteLevel } from "@multiplatform.one/frappe-ui";
|
package/src/form/formActions.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Desk RPC helpers — moved to
|
|
3
|
-
*
|
|
3
|
+
* `public/frappe-ui/src/formEngine/formActions` (MPO-15),
|
|
4
4
|
* because useFormEngine consumes them and the engine now lives there.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
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
|
|
|
10
10
|
// Dedicated "./formActions" subpath (see frappe-ui package.json exports),
|
|
11
|
-
// following the ./dependsOn precedent:
|
|
12
|
-
//
|
|
13
|
-
//
|
|
11
|
+
// following the ./dependsOn precedent: frappe-ui exports no src/ path, and a
|
|
12
|
+
// deep, extension-less src/ import did not resolve under the storybook
|
|
13
|
+
// workspace aliases either (bare-name alias -> src/index.ts).
|
|
14
14
|
export * from "@multiplatform.one/frappe-ui/formActions";
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* The engine moved down to `@multiplatform.one/frappe-ui`
|
|
5
5
|
* (`src/formEngine/*`). The move must be invisible to anyone importing this
|
|
6
|
-
* package: the barrel keeps the same names, and the
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* `form/createPrefill`; `DocFormScreen` deep-imports `form/formActions`).
|
|
6
|
+
* package: the barrel keeps the same names, and the `src/form/*` modules
|
|
7
|
+
* keep handing them out (index.gnome.ts imports `form/fieldPermissions` and
|
|
8
|
+
* `form/createPrefill`; `DocFormScreen` imports `form/formActions`).
|
|
10
9
|
*
|
|
11
10
|
* Source-level on purpose: importing the backoffice barrel here would drag
|
|
12
11
|
* the whole desk UI into a node-ish spec run to prove a re-export.
|
|
@@ -68,9 +67,9 @@ describe("form engine shims (MPO-15)", () => {
|
|
|
68
67
|
});
|
|
69
68
|
|
|
70
69
|
it("reaches formActions through its dedicated subpath, not src/*", () => {
|
|
71
|
-
//
|
|
72
|
-
// NOT resolve under the storybook workspace aliases (bare-name
|
|
73
|
-
// src/index.ts) — the same trap ./dependsOn already documents.
|
|
70
|
+
// frappe-ui exports no src/ path, and a deep, extension-less src/ import
|
|
71
|
+
// did NOT resolve under the storybook workspace aliases either (bare-name
|
|
72
|
+
// alias → src/index.ts) — the same trap ./dependsOn already documents.
|
|
74
73
|
const source = read("form/formActions.ts");
|
|
75
74
|
expect(source).toMatch(/from ["']@multiplatform\.one\/frappe-ui\/formActions["']/);
|
|
76
75
|
expect(source).not.toMatch(/from ["']@multiplatform\.one\/frappe-ui\/src\//);
|
package/src/form/formLayout.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Desk form layout engine — moved to
|
|
3
|
-
*
|
|
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
|
|
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
|
|