@multiplatform.one/backoffice 6.4.3 → 6.7.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/README.md +59 -3
- package/dist/cjs/chrome/NotificationsButton.cjs +1 -1
- package/dist/cjs/chrome/NotificationsButton.native.js +1 -1
- package/dist/cjs/chrome/NotificationsButton.native.js.map +1 -1
- package/dist/cjs/config/BackofficeProvider.cjs +12 -1
- package/dist/cjs/config/BackofficeProvider.native.js +17 -1
- package/dist/cjs/config/BackofficeProvider.native.js.map +1 -1
- package/dist/cjs/form/DocFormScreen.cjs +743 -0
- package/dist/cjs/form/DocFormScreen.native.js +843 -0
- package/dist/cjs/form/DocFormScreen.native.js.map +1 -0
- package/dist/cjs/form/FormConnections.cjs +225 -0
- package/dist/cjs/form/FormConnections.native.js +246 -0
- package/dist/cjs/form/FormConnections.native.js.map +1 -0
- package/dist/cjs/form/FormDialogs.cjs +179 -0
- package/dist/cjs/form/FormDialogs.native.js +193 -0
- package/dist/cjs/form/FormDialogs.native.js.map +1 -0
- package/dist/cjs/form/FormErrorBoundary.cjs +122 -0
- package/dist/cjs/form/FormErrorBoundary.native.js +230 -0
- package/dist/cjs/form/FormErrorBoundary.native.js.map +1 -0
- package/dist/cjs/form/FormHeaderCluster.cjs +153 -0
- package/dist/cjs/form/FormHeaderCluster.native.js +177 -0
- package/dist/cjs/form/FormHeaderCluster.native.js.map +1 -0
- package/dist/cjs/form/FormSidebarPanel.cjs +430 -0
- package/dist/cjs/form/FormSidebarPanel.native.js +492 -0
- package/dist/cjs/form/FormSidebarPanel.native.js.map +1 -0
- package/dist/cjs/form/FormTimeline.cjs +517 -0
- package/dist/cjs/form/FormTimeline.native.js +575 -0
- package/dist/cjs/form/FormTimeline.native.js.map +1 -0
- package/dist/cjs/form/FormToolbar.cjs +308 -0
- package/dist/cjs/form/FormToolbar.native.js +331 -0
- package/dist/cjs/form/FormToolbar.native.js.map +1 -0
- package/dist/cjs/form/connections-data.cjs +152 -0
- package/dist/cjs/form/connections-data.native.js +253 -0
- package/dist/cjs/form/connections-data.native.js.map +1 -0
- package/dist/cjs/form/createPrefill.cjs +37 -0
- package/dist/cjs/form/createPrefill.native.js +40 -0
- package/dist/cjs/form/createPrefill.native.js.map +1 -0
- package/dist/cjs/form/dependsOn.cjs +29 -0
- package/dist/cjs/form/dependsOn.native.js +32 -0
- package/dist/cjs/form/dependsOn.native.js.map +1 -0
- package/dist/cjs/form/dirtyTracking.cjs +55 -0
- package/dist/cjs/form/dirtyTracking.native.js +77 -0
- package/dist/cjs/form/dirtyTracking.native.js.map +1 -0
- package/dist/cjs/form/docinfo.cjs +32 -0
- package/dist/cjs/form/docinfo.native.js +35 -0
- package/dist/cjs/form/docinfo.native.js.map +1 -0
- package/dist/cjs/form/fetchFrom.cjs +67 -0
- package/dist/cjs/form/fetchFrom.native.js +110 -0
- package/dist/cjs/form/fetchFrom.native.js.map +1 -0
- package/dist/cjs/form/fieldPermissions.cjs +55 -0
- package/dist/cjs/form/fieldPermissions.native.js +80 -0
- package/dist/cjs/form/fieldPermissions.native.js.map +1 -0
- package/dist/cjs/form/formActions.cjs +189 -0
- package/dist/cjs/form/formActions.native.js +199 -0
- package/dist/cjs/form/formActions.native.js.map +1 -0
- package/dist/cjs/form/formLayout.cjs +255 -0
- package/dist/cjs/form/formLayout.native.js +394 -0
- package/dist/cjs/form/formLayout.native.js.map +1 -0
- package/dist/cjs/form/platformHooks.cjs +88 -0
- package/dist/cjs/form/platformHooks.native.js +96 -0
- package/dist/cjs/form/platformHooks.native.js.map +1 -0
- package/dist/cjs/form/sidebar-attachments.cjs +124 -0
- package/dist/cjs/form/sidebar-attachments.native.js +147 -0
- package/dist/cjs/form/sidebar-attachments.native.js.map +1 -0
- package/dist/cjs/form/sidebar-dialogs.cjs +136 -0
- package/dist/cjs/form/sidebar-dialogs.native.js +151 -0
- package/dist/cjs/form/sidebar-dialogs.native.js.map +1 -0
- package/dist/cjs/form/sidebar-people.cjs +125 -0
- package/dist/cjs/form/sidebar-people.native.js +136 -0
- package/dist/cjs/form/sidebar-people.native.js.map +1 -0
- package/dist/cjs/form/sidebar-rpc.cjs +153 -0
- package/dist/cjs/form/sidebar-rpc.native.js +177 -0
- package/dist/cjs/form/sidebar-rpc.native.js.map +1 -0
- package/dist/cjs/form/sidebar-utils.cjs +118 -0
- package/dist/cjs/form/sidebar-utils.native.js +128 -0
- package/dist/cjs/form/sidebar-utils.native.js.map +1 -0
- package/dist/cjs/form/timeline-entries.cjs +239 -0
- package/dist/cjs/form/timeline-entries.native.js +452 -0
- package/dist/cjs/form/timeline-entries.native.js.map +1 -0
- package/dist/cjs/form/timeline-utils.cjs +151 -0
- package/dist/cjs/form/timeline-utils.native.js +178 -0
- package/dist/cjs/form/timeline-utils.native.js.map +1 -0
- package/dist/cjs/form/useFormEngine.cjs +387 -0
- package/dist/cjs/form/useFormEngine.native.js +476 -0
- package/dist/cjs/form/useFormEngine.native.js.map +1 -0
- package/dist/cjs/i18n/en.cjs +307 -0
- package/dist/cjs/i18n/en.native.js +307 -0
- package/dist/cjs/i18n/en.native.js.map +1 -1
- package/dist/cjs/index.cjs +280 -1
- package/dist/cjs/index.native.js +279 -0
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/list/AddTagsDialog.cjs +117 -0
- package/dist/cjs/list/AddTagsDialog.native.js +146 -0
- package/dist/cjs/list/AddTagsDialog.native.js.map +1 -0
- package/dist/cjs/list/AssignToDialog.cjs +110 -0
- package/dist/cjs/list/AssignToDialog.native.js +137 -0
- package/dist/cjs/list/AssignToDialog.native.js.map +1 -0
- package/dist/cjs/list/DoctypeListScreen.cjs +840 -0
- package/dist/cjs/list/DoctypeListScreen.native.js +987 -0
- package/dist/cjs/list/DoctypeListScreen.native.js.map +1 -0
- package/dist/cjs/list/ListBulkActionsBar.cjs +325 -0
- package/dist/cjs/list/ListBulkActionsBar.native.js +373 -0
- package/dist/cjs/list/ListBulkActionsBar.native.js.map +1 -0
- package/dist/cjs/list/ListFilterBar.cjs +99 -0
- package/dist/cjs/list/ListFilterBar.native.js +103 -0
- package/dist/cjs/list/ListFilterBar.native.js.map +1 -0
- package/dist/cjs/list/ListSidebar.cjs +141 -0
- package/dist/cjs/list/ListSidebar.native.js +180 -0
- package/dist/cjs/list/ListSidebar.native.js.map +1 -0
- package/dist/cjs/list/bulk-edit-dialog.cjs +232 -0
- package/dist/cjs/list/bulk-edit-dialog.native.js +284 -0
- package/dist/cjs/list/bulk-edit-dialog.native.js.map +1 -0
- package/dist/cjs/list/bulk-export.cjs +87 -0
- package/dist/cjs/list/bulk-export.native.js +155 -0
- package/dist/cjs/list/bulk-export.native.js.map +1 -0
- package/dist/cjs/list/bulk-submit-cancel.cjs +40 -0
- package/dist/cjs/list/bulk-submit-cancel.native.js +56 -0
- package/dist/cjs/list/bulk-submit-cancel.native.js.map +1 -0
- package/dist/cjs/list/bulkActions.cjs +94 -0
- package/dist/cjs/list/bulkActions.native.js +129 -0
- package/dist/cjs/list/bulkActions.native.js.map +1 -0
- package/dist/cjs/list/filter-chips.cjs +59 -0
- package/dist/cjs/list/filter-chips.native.js +73 -0
- package/dist/cjs/list/filter-chips.native.js.map +1 -0
- package/dist/cjs/list/filter-editor.cjs +389 -0
- package/dist/cjs/list/filter-editor.native.js +493 -0
- package/dist/cjs/list/filter-editor.native.js.map +1 -0
- package/dist/cjs/list/filter-fields.cjs +271 -0
- package/dist/cjs/list/filter-fields.native.js +339 -0
- package/dist/cjs/list/filter-fields.native.js.map +1 -0
- package/dist/cjs/list/filter-saved.cjs +172 -0
- package/dist/cjs/list/filter-saved.native.js +199 -0
- package/dist/cjs/list/filter-saved.native.js.map +1 -0
- package/dist/cjs/list/filter-sort.cjs +173 -0
- package/dist/cjs/list/filter-sort.native.js +228 -0
- package/dist/cjs/list/filter-sort.native.js.map +1 -0
- package/dist/cjs/list/filter-standard.cjs +158 -0
- package/dist/cjs/list/filter-standard.native.js +175 -0
- package/dist/cjs/list/filter-standard.native.js.map +1 -0
- package/dist/cjs/list/filterConversion.cjs +163 -0
- package/dist/cjs/list/filterConversion.native.js +216 -0
- package/dist/cjs/list/filterConversion.native.js.map +1 -0
- package/dist/cjs/list/list-tools-sheet.cjs +148 -0
- package/dist/cjs/list/list-tools-sheet.native.js +169 -0
- package/dist/cjs/list/list-tools-sheet.native.js.map +1 -0
- package/dist/cjs/list/listColumns.cjs +257 -0
- package/dist/cjs/list/listColumns.native.js +307 -0
- package/dist/cjs/list/listColumns.native.js.map +1 -0
- package/dist/cjs/list/listFields.cjs +45 -0
- package/dist/cjs/list/listFields.native.js +72 -0
- package/dist/cjs/list/listFields.native.js.map +1 -0
- package/dist/cjs/list/listFormat.cjs +68 -0
- package/dist/cjs/list/listFormat.native.js +74 -0
- package/dist/cjs/list/listFormat.native.js.map +1 -0
- package/dist/cjs/list/listUrlState.cjs +70 -0
- package/dist/cjs/list/listUrlState.native.js +96 -0
- package/dist/cjs/list/listUrlState.native.js.map +1 -0
- package/dist/cjs/list/sidebar-section.cjs +142 -0
- package/dist/cjs/list/sidebar-section.native.js +150 -0
- package/dist/cjs/list/sidebar-section.native.js.map +1 -0
- package/dist/cjs/list/sidebar-stats.cjs +256 -0
- package/dist/cjs/list/sidebar-stats.native.js +469 -0
- package/dist/cjs/list/sidebar-stats.native.js.map +1 -0
- package/dist/cjs/list/statusColors.cjs +102 -0
- package/dist/cjs/list/statusColors.native.js +109 -0
- package/dist/cjs/list/statusColors.native.js.map +1 -0
- package/dist/cjs/navigation/navigator.cjs +66 -3
- package/dist/cjs/navigation/navigator.native.js +100 -4
- package/dist/cjs/navigation/navigator.native.js.map +1 -1
- package/dist/cjs/navigation/paths.cjs +8 -1
- package/dist/cjs/navigation/paths.native.js +9 -0
- package/dist/cjs/navigation/paths.native.js.map +1 -1
- package/dist/cjs/oneAdapter/index.cjs +24 -2
- package/dist/cjs/oneAdapter/index.native.js +28 -1
- package/dist/cjs/oneAdapter/index.native.js.map +1 -1
- package/dist/cjs/quickEntry/QuickEntryDialog.cjs +292 -0
- package/dist/cjs/quickEntry/QuickEntryDialog.native.js +365 -0
- package/dist/cjs/quickEntry/QuickEntryDialog.native.js.map +1 -0
- package/dist/cjs/quickEntry/quickEntryPlan.cjs +189 -0
- package/dist/cjs/quickEntry/quickEntryPlan.native.js +223 -0
- package/dist/cjs/quickEntry/quickEntryPlan.native.js.map +1 -0
- package/dist/cjs/report/DoctypeReportView.cjs +430 -0
- package/dist/cjs/report/DoctypeReportView.native.js +532 -0
- package/dist/cjs/report/DoctypeReportView.native.js.map +1 -0
- package/dist/cjs/report/QueryReportScreen.cjs +281 -0
- package/dist/cjs/report/QueryReportScreen.native.js +354 -0
- package/dist/cjs/report/QueryReportScreen.native.js.map +1 -0
- package/dist/cjs/report/queryReportColumns.cjs +122 -0
- package/dist/cjs/report/queryReportColumns.native.js +144 -0
- package/dist/cjs/report/queryReportColumns.native.js.map +1 -0
- package/dist/cjs/report/report-grid.cjs +347 -0
- package/dist/cjs/report/report-grid.native.js +389 -0
- package/dist/cjs/report/report-grid.native.js.map +1 -0
- package/dist/cjs/report/report-toolbar.cjs +264 -0
- package/dist/cjs/report/report-toolbar.native.js +309 -0
- package/dist/cjs/report/report-toolbar.native.js.map +1 -0
- package/dist/cjs/report/reportShapes.cjs +151 -0
- package/dist/cjs/report/reportShapes.native.js +208 -0
- package/dist/cjs/report/reportShapes.native.js.map +1 -0
- package/dist/cjs/report/reportViewModel.cjs +378 -0
- package/dist/cjs/report/reportViewModel.native.js +624 -0
- package/dist/cjs/report/reportViewModel.native.js.map +1 -0
- package/dist/cjs/report/savedReports.cjs +132 -0
- package/dist/cjs/report/savedReports.native.js +162 -0
- package/dist/cjs/report/savedReports.native.js.map +1 -0
- package/dist/cjs/report/useQueryReport.cjs +214 -0
- package/dist/cjs/report/useQueryReport.native.js +254 -0
- package/dist/cjs/report/useQueryReport.native.js.map +1 -0
- package/dist/cjs/shared/useSlugTarget.cjs +42 -4
- package/dist/cjs/shared/useSlugTarget.native.js +66 -6
- package/dist/cjs/shared/useSlugTarget.native.js.map +1 -1
- package/dist/cjs/shell/HomeRedirect.cjs +83 -0
- package/dist/cjs/shell/HomeRedirect.native.js +88 -0
- package/dist/cjs/shell/HomeRedirect.native.js.map +1 -0
- package/dist/cjs/shell/NotFoundScreen.cjs +48 -0
- package/dist/cjs/shell/NotFoundScreen.native.js +53 -0
- package/dist/cjs/shell/NotFoundScreen.native.js.map +1 -0
- package/dist/cjs/shell/SlugScreen.cjs +70 -0
- package/dist/cjs/shell/SlugScreen.native.js +74 -0
- package/dist/cjs/shell/SlugScreen.native.js.map +1 -0
- package/dist/cjs/views/CalendarView.cjs +135 -0
- package/dist/cjs/views/CalendarView.native.js +162 -0
- package/dist/cjs/views/CalendarView.native.js.map +1 -0
- package/dist/cjs/views/DashboardView.cjs +222 -0
- package/dist/cjs/views/DashboardView.native.js +235 -0
- package/dist/cjs/views/DashboardView.native.js.map +1 -0
- package/dist/cjs/views/DoctypeViewScreen.cjs +107 -0
- package/dist/cjs/views/DoctypeViewScreen.native.js +114 -0
- package/dist/cjs/views/DoctypeViewScreen.native.js.map +1 -0
- package/dist/cjs/views/ImageView.cjs +83 -0
- package/dist/cjs/views/ImageView.native.js +87 -0
- package/dist/cjs/views/ImageView.native.js.map +1 -0
- package/dist/cjs/views/KanbanView.cjs +346 -0
- package/dist/cjs/views/KanbanView.native.js +428 -0
- package/dist/cjs/views/KanbanView.native.js.map +1 -0
- package/dist/cjs/views/ReportView.cjs +280 -0
- package/dist/cjs/views/ReportView.native.js +407 -0
- package/dist/cjs/views/ReportView.native.js.map +1 -0
- package/dist/cjs/views/TreeView.cjs +79 -0
- package/dist/cjs/views/TreeView.native.js +85 -0
- package/dist/cjs/views/TreeView.native.js.map +1 -0
- package/dist/cjs/views/ViewHeader.cjs +139 -0
- package/dist/cjs/views/ViewHeader.native.js +147 -0
- package/dist/cjs/views/ViewHeader.native.js.map +1 -0
- package/dist/cjs/views/ViewStates.cjs +90 -0
- package/dist/cjs/views/ViewStates.native.js +98 -0
- package/dist/cjs/views/ViewStates.native.js.map +1 -0
- package/dist/cjs/views/calendar-field-selector.cjs +65 -0
- package/dist/cjs/views/calendar-field-selector.native.js +77 -0
- package/dist/cjs/views/calendar-field-selector.native.js.map +1 -0
- package/dist/cjs/views/connection.cjs +47 -0
- package/dist/cjs/views/connection.native.js +50 -0
- package/dist/cjs/views/connection.native.js.map +1 -0
- package/dist/cjs/views/dashboard-data.cjs +228 -0
- package/dist/cjs/views/dashboard-data.native.js +333 -0
- package/dist/cjs/views/dashboard-data.native.js.map +1 -0
- package/dist/cjs/views/deskViewConfigs.cjs +130 -0
- package/dist/cjs/views/deskViewConfigs.native.js +158 -0
- package/dist/cjs/views/deskViewConfigs.native.js.map +1 -0
- package/dist/cjs/views/kanban-board-controls.cjs +287 -0
- package/dist/cjs/views/kanban-board-controls.native.js +320 -0
- package/dist/cjs/views/kanban-board-controls.native.js.map +1 -0
- package/dist/cjs/views/kanban-field-picker.cjs +79 -0
- package/dist/cjs/views/kanban-field-picker.native.js +97 -0
- package/dist/cjs/views/kanban-field-picker.native.js.map +1 -0
- package/dist/cjs/views/kanbanBoardOps.cjs +107 -0
- package/dist/cjs/views/kanbanBoardOps.native.js +138 -0
- package/dist/cjs/views/kanbanBoardOps.native.js.map +1 -0
- package/dist/cjs/views/report-controls.cjs +329 -0
- package/dist/cjs/views/report-controls.native.js +381 -0
- package/dist/cjs/views/report-controls.native.js.map +1 -0
- package/dist/cjs/views/viewMeta.cjs +94 -0
- package/dist/cjs/views/viewMeta.native.js +136 -0
- package/dist/cjs/views/viewMeta.native.js.map +1 -0
- package/dist/cjs/workspace/WorkspaceGrid.cjs +1 -2
- package/dist/cjs/workspace/WorkspaceGrid.native.js +1 -2
- package/dist/cjs/workspace/WorkspaceGrid.native.js.map +1 -1
- package/dist/cjs/workspace/WorkspaceLinkCard.cjs +30 -23
- package/dist/cjs/workspace/WorkspaceLinkCard.native.js +37 -30
- package/dist/cjs/workspace/WorkspaceLinkCard.native.js.map +1 -1
- package/dist/cjs/workspace/WorkspaceShortcut.cjs +8 -1
- package/dist/cjs/workspace/WorkspaceShortcut.native.js +10 -3
- package/dist/cjs/workspace/WorkspaceShortcut.native.js.map +1 -1
- package/dist/esm/chrome/NotificationsButton.mjs +2 -2
- package/dist/esm/chrome/NotificationsButton.mjs.map +1 -1
- package/dist/esm/chrome/NotificationsButton.native.js +2 -2
- package/dist/esm/chrome/NotificationsButton.native.js.map +1 -1
- package/dist/esm/config/BackofficeProvider.mjs +12 -2
- package/dist/esm/config/BackofficeProvider.mjs.map +1 -1
- package/dist/esm/config/BackofficeProvider.native.js +17 -2
- package/dist/esm/config/BackofficeProvider.native.js.map +1 -1
- package/dist/esm/form/DocFormScreen.mjs +718 -0
- package/dist/esm/form/DocFormScreen.mjs.map +1 -0
- package/dist/esm/form/DocFormScreen.native.js +804 -0
- package/dist/esm/form/DocFormScreen.native.js.map +1 -0
- package/dist/esm/form/FormConnections.mjs +200 -0
- package/dist/esm/form/FormConnections.mjs.map +1 -0
- package/dist/esm/form/FormConnections.native.js +218 -0
- package/dist/esm/form/FormConnections.native.js.map +1 -0
- package/dist/esm/form/FormDialogs.mjs +152 -0
- package/dist/esm/form/FormDialogs.mjs.map +1 -0
- package/dist/esm/form/FormDialogs.native.js +163 -0
- package/dist/esm/form/FormDialogs.native.js.map +1 -0
- package/dist/esm/form/FormErrorBoundary.mjs +85 -0
- package/dist/esm/form/FormErrorBoundary.mjs.map +1 -0
- package/dist/esm/form/FormErrorBoundary.native.js +190 -0
- package/dist/esm/form/FormErrorBoundary.native.js.map +1 -0
- package/dist/esm/form/FormHeaderCluster.mjs +128 -0
- package/dist/esm/form/FormHeaderCluster.mjs.map +1 -0
- package/dist/esm/form/FormHeaderCluster.native.js +149 -0
- package/dist/esm/form/FormHeaderCluster.native.js.map +1 -0
- package/dist/esm/form/FormSidebarPanel.mjs +405 -0
- package/dist/esm/form/FormSidebarPanel.mjs.map +1 -0
- package/dist/esm/form/FormSidebarPanel.native.js +453 -0
- package/dist/esm/form/FormSidebarPanel.native.js.map +1 -0
- package/dist/esm/form/FormTimeline.mjs +492 -0
- package/dist/esm/form/FormTimeline.mjs.map +1 -0
- package/dist/esm/form/FormTimeline.native.js +547 -0
- package/dist/esm/form/FormTimeline.native.js.map +1 -0
- package/dist/esm/form/FormToolbar.mjs +281 -0
- package/dist/esm/form/FormToolbar.mjs.map +1 -0
- package/dist/esm/form/FormToolbar.native.js +301 -0
- package/dist/esm/form/FormToolbar.native.js.map +1 -0
- package/dist/esm/form/connections-data.mjs +123 -0
- package/dist/esm/form/connections-data.mjs.map +1 -0
- package/dist/esm/form/connections-data.native.js +221 -0
- package/dist/esm/form/connections-data.native.js.map +1 -0
- package/dist/esm/form/createPrefill.mjs +11 -0
- package/dist/esm/form/createPrefill.mjs.map +1 -0
- package/dist/esm/form/createPrefill.native.js +11 -0
- package/dist/esm/form/createPrefill.native.js.map +1 -0
- package/dist/esm/form/dependsOn.mjs +3 -0
- package/dist/esm/form/dependsOn.mjs.map +1 -0
- package/dist/esm/form/dependsOn.native.js +3 -0
- package/dist/esm/form/dependsOn.native.js.map +1 -0
- package/dist/esm/form/dirtyTracking.mjs +28 -0
- package/dist/esm/form/dirtyTracking.mjs.map +1 -0
- package/dist/esm/form/dirtyTracking.native.js +47 -0
- package/dist/esm/form/dirtyTracking.native.js.map +1 -0
- package/dist/esm/form/docinfo.mjs +7 -0
- package/dist/esm/form/docinfo.mjs.map +1 -0
- package/dist/esm/form/docinfo.native.js +7 -0
- package/dist/esm/form/docinfo.native.js.map +1 -0
- package/dist/esm/form/fetchFrom.mjs +40 -0
- package/dist/esm/form/fetchFrom.mjs.map +1 -0
- package/dist/esm/form/fetchFrom.native.js +80 -0
- package/dist/esm/form/fetchFrom.native.js.map +1 -0
- package/dist/esm/form/fieldPermissions.mjs +28 -0
- package/dist/esm/form/fieldPermissions.mjs.map +1 -0
- package/dist/esm/form/fieldPermissions.native.js +50 -0
- package/dist/esm/form/fieldPermissions.native.js.map +1 -0
- package/dist/esm/form/formActions.mjs +146 -0
- package/dist/esm/form/formActions.mjs.map +1 -0
- package/dist/esm/form/formActions.native.js +153 -0
- package/dist/esm/form/formActions.native.js.map +1 -0
- package/dist/esm/form/formLayout.mjs +227 -0
- package/dist/esm/form/formLayout.mjs.map +1 -0
- package/dist/esm/form/formLayout.native.js +363 -0
- package/dist/esm/form/formLayout.native.js.map +1 -0
- package/dist/esm/form/platformHooks.mjs +59 -0
- package/dist/esm/form/platformHooks.mjs.map +1 -0
- package/dist/esm/form/platformHooks.native.js +64 -0
- package/dist/esm/form/platformHooks.native.js.map +1 -0
- package/dist/esm/form/sidebar-attachments.mjs +99 -0
- package/dist/esm/form/sidebar-attachments.mjs.map +1 -0
- package/dist/esm/form/sidebar-attachments.native.js +108 -0
- package/dist/esm/form/sidebar-attachments.native.js.map +1 -0
- package/dist/esm/form/sidebar-dialogs.mjs +110 -0
- package/dist/esm/form/sidebar-dialogs.mjs.map +1 -0
- package/dist/esm/form/sidebar-dialogs.native.js +122 -0
- package/dist/esm/form/sidebar-dialogs.native.js.map +1 -0
- package/dist/esm/form/sidebar-people.mjs +99 -0
- package/dist/esm/form/sidebar-people.mjs.map +1 -0
- package/dist/esm/form/sidebar-people.native.js +107 -0
- package/dist/esm/form/sidebar-people.native.js.map +1 -0
- package/dist/esm/form/sidebar-rpc.mjs +116 -0
- package/dist/esm/form/sidebar-rpc.mjs.map +1 -0
- package/dist/esm/form/sidebar-rpc.native.js +126 -0
- package/dist/esm/form/sidebar-rpc.native.js.map +1 -0
- package/dist/esm/form/sidebar-utils.mjs +86 -0
- package/dist/esm/form/sidebar-utils.mjs.map +1 -0
- package/dist/esm/form/sidebar-utils.native.js +93 -0
- package/dist/esm/form/sidebar-utils.native.js.map +1 -0
- package/dist/esm/form/timeline-entries.mjs +211 -0
- package/dist/esm/form/timeline-entries.mjs.map +1 -0
- package/dist/esm/form/timeline-entries.native.js +421 -0
- package/dist/esm/form/timeline-entries.native.js.map +1 -0
- package/dist/esm/form/timeline-utils.mjs +118 -0
- package/dist/esm/form/timeline-utils.mjs.map +1 -0
- package/dist/esm/form/timeline-utils.native.js +142 -0
- package/dist/esm/form/timeline-utils.native.js.map +1 -0
- package/dist/esm/form/useFormEngine.mjs +362 -0
- package/dist/esm/form/useFormEngine.mjs.map +1 -0
- package/dist/esm/form/useFormEngine.native.js +448 -0
- package/dist/esm/form/useFormEngine.native.js.map +1 -0
- package/dist/esm/i18n/en.mjs +307 -0
- package/dist/esm/i18n/en.mjs.map +1 -1
- package/dist/esm/i18n/en.native.js +307 -0
- package/dist/esm/i18n/en.native.js.map +1 -1
- package/dist/esm/index.mjs +80 -3
- package/dist/esm/index.mjs.map +1 -1
- package/dist/esm/index.native.js +80 -3
- package/dist/esm/index.native.js.map +1 -1
- package/dist/esm/list/AddTagsDialog.mjs +92 -0
- package/dist/esm/list/AddTagsDialog.mjs.map +1 -0
- package/dist/esm/list/AddTagsDialog.native.js +107 -0
- package/dist/esm/list/AddTagsDialog.native.js.map +1 -0
- package/dist/esm/list/AssignToDialog.mjs +85 -0
- package/dist/esm/list/AssignToDialog.mjs.map +1 -0
- package/dist/esm/list/AssignToDialog.native.js +98 -0
- package/dist/esm/list/AssignToDialog.native.js.map +1 -0
- package/dist/esm/list/DoctypeListScreen.mjs +815 -0
- package/dist/esm/list/DoctypeListScreen.mjs.map +1 -0
- package/dist/esm/list/DoctypeListScreen.native.js +948 -0
- package/dist/esm/list/DoctypeListScreen.native.js.map +1 -0
- package/dist/esm/list/ListBulkActionsBar.mjs +300 -0
- package/dist/esm/list/ListBulkActionsBar.mjs.map +1 -0
- package/dist/esm/list/ListBulkActionsBar.native.js +334 -0
- package/dist/esm/list/ListBulkActionsBar.native.js.map +1 -0
- package/dist/esm/list/ListFilterBar.mjs +74 -0
- package/dist/esm/list/ListFilterBar.mjs.map +1 -0
- package/dist/esm/list/ListFilterBar.native.js +75 -0
- package/dist/esm/list/ListFilterBar.native.js.map +1 -0
- package/dist/esm/list/ListSidebar.mjs +116 -0
- package/dist/esm/list/ListSidebar.mjs.map +1 -0
- package/dist/esm/list/ListSidebar.native.js +152 -0
- package/dist/esm/list/ListSidebar.native.js.map +1 -0
- package/dist/esm/list/bulk-edit-dialog.mjs +204 -0
- package/dist/esm/list/bulk-edit-dialog.mjs.map +1 -0
- package/dist/esm/list/bulk-edit-dialog.native.js +242 -0
- package/dist/esm/list/bulk-edit-dialog.native.js.map +1 -0
- package/dist/esm/list/bulk-export.mjs +59 -0
- package/dist/esm/list/bulk-export.mjs.map +1 -0
- package/dist/esm/list/bulk-export.native.js +113 -0
- package/dist/esm/list/bulk-export.native.js.map +1 -0
- package/dist/esm/list/bulk-submit-cancel.mjs +15 -0
- package/dist/esm/list/bulk-submit-cancel.mjs.map +1 -0
- package/dist/esm/list/bulk-submit-cancel.native.js +17 -0
- package/dist/esm/list/bulk-submit-cancel.native.js.map +1 -0
- package/dist/esm/list/bulkActions.mjs +66 -0
- package/dist/esm/list/bulkActions.mjs.map +1 -0
- package/dist/esm/list/bulkActions.native.js +98 -0
- package/dist/esm/list/bulkActions.native.js.map +1 -0
- package/dist/esm/list/filter-chips.mjs +34 -0
- package/dist/esm/list/filter-chips.mjs.map +1 -0
- package/dist/esm/list/filter-chips.native.js +45 -0
- package/dist/esm/list/filter-chips.native.js.map +1 -0
- package/dist/esm/list/filter-editor.mjs +363 -0
- package/dist/esm/list/filter-editor.mjs.map +1 -0
- package/dist/esm/list/filter-editor.native.js +464 -0
- package/dist/esm/list/filter-editor.native.js.map +1 -0
- package/dist/esm/list/filter-fields.mjs +233 -0
- package/dist/esm/list/filter-fields.mjs.map +1 -0
- package/dist/esm/list/filter-fields.native.js +298 -0
- package/dist/esm/list/filter-fields.native.js.map +1 -0
- package/dist/esm/list/filter-saved.mjs +147 -0
- package/dist/esm/list/filter-saved.mjs.map +1 -0
- package/dist/esm/list/filter-saved.native.js +160 -0
- package/dist/esm/list/filter-saved.native.js.map +1 -0
- package/dist/esm/list/filter-sort.mjs +146 -0
- package/dist/esm/list/filter-sort.mjs.map +1 -0
- package/dist/esm/list/filter-sort.native.js +198 -0
- package/dist/esm/list/filter-sort.native.js.map +1 -0
- package/dist/esm/list/filter-standard.mjs +133 -0
- package/dist/esm/list/filter-standard.mjs.map +1 -0
- package/dist/esm/list/filter-standard.native.js +147 -0
- package/dist/esm/list/filter-standard.native.js.map +1 -0
- package/dist/esm/list/filterConversion.mjs +134 -0
- package/dist/esm/list/filterConversion.mjs.map +1 -0
- package/dist/esm/list/filterConversion.native.js +184 -0
- package/dist/esm/list/filterConversion.native.js.map +1 -0
- package/dist/esm/list/list-tools-sheet.mjs +123 -0
- package/dist/esm/list/list-tools-sheet.mjs.map +1 -0
- package/dist/esm/list/list-tools-sheet.native.js +141 -0
- package/dist/esm/list/list-tools-sheet.native.js.map +1 -0
- package/dist/esm/list/listColumns.mjs +232 -0
- package/dist/esm/list/listColumns.mjs.map +1 -0
- package/dist/esm/list/listColumns.native.js +279 -0
- package/dist/esm/list/listColumns.native.js.map +1 -0
- package/dist/esm/list/listFields.mjs +19 -0
- package/dist/esm/list/listFields.mjs.map +1 -0
- package/dist/esm/list/listFields.native.js +43 -0
- package/dist/esm/list/listFields.native.js.map +1 -0
- package/dist/esm/list/listFormat.mjs +38 -0
- package/dist/esm/list/listFormat.mjs.map +1 -0
- package/dist/esm/list/listFormat.native.js +41 -0
- package/dist/esm/list/listFormat.native.js.map +1 -0
- package/dist/esm/list/listUrlState.mjs +42 -0
- package/dist/esm/list/listUrlState.mjs.map +1 -0
- package/dist/esm/list/listUrlState.native.js +65 -0
- package/dist/esm/list/listUrlState.native.js.map +1 -0
- package/dist/esm/list/sidebar-section.mjs +115 -0
- package/dist/esm/list/sidebar-section.mjs.map +1 -0
- package/dist/esm/list/sidebar-section.native.js +120 -0
- package/dist/esm/list/sidebar-section.native.js.map +1 -0
- package/dist/esm/list/sidebar-stats.mjs +226 -0
- package/dist/esm/list/sidebar-stats.mjs.map +1 -0
- package/dist/esm/list/sidebar-stats.native.js +425 -0
- package/dist/esm/list/sidebar-stats.native.js.map +1 -0
- package/dist/esm/list/statusColors.mjs +77 -0
- package/dist/esm/list/statusColors.mjs.map +1 -0
- package/dist/esm/list/statusColors.native.js +81 -0
- package/dist/esm/list/statusColors.native.js.map +1 -0
- package/dist/esm/navigation/navigator.mjs +66 -3
- package/dist/esm/navigation/navigator.mjs.map +1 -1
- package/dist/esm/navigation/navigator.native.js +100 -4
- package/dist/esm/navigation/navigator.native.js.map +1 -1
- package/dist/esm/navigation/paths.mjs +7 -2
- package/dist/esm/navigation/paths.mjs.map +1 -1
- package/dist/esm/navigation/paths.native.js +8 -1
- package/dist/esm/navigation/paths.native.js.map +1 -1
- package/dist/esm/oneAdapter/index.mjs +25 -4
- package/dist/esm/oneAdapter/index.mjs.map +1 -1
- package/dist/esm/oneAdapter/index.native.js +29 -3
- package/dist/esm/oneAdapter/index.native.js.map +1 -1
- package/dist/esm/quickEntry/QuickEntryDialog.mjs +267 -0
- package/dist/esm/quickEntry/QuickEntryDialog.mjs.map +1 -0
- package/dist/esm/quickEntry/QuickEntryDialog.native.js +326 -0
- package/dist/esm/quickEntry/QuickEntryDialog.native.js.map +1 -0
- package/dist/esm/quickEntry/quickEntryPlan.mjs +158 -0
- package/dist/esm/quickEntry/quickEntryPlan.mjs.map +1 -0
- package/dist/esm/quickEntry/quickEntryPlan.native.js +189 -0
- package/dist/esm/quickEntry/quickEntryPlan.native.js.map +1 -0
- package/dist/esm/report/DoctypeReportView.mjs +405 -0
- package/dist/esm/report/DoctypeReportView.mjs.map +1 -0
- package/dist/esm/report/DoctypeReportView.native.js +493 -0
- package/dist/esm/report/DoctypeReportView.native.js.map +1 -0
- package/dist/esm/report/QueryReportScreen.mjs +256 -0
- package/dist/esm/report/QueryReportScreen.mjs.map +1 -0
- package/dist/esm/report/QueryReportScreen.native.js +315 -0
- package/dist/esm/report/QueryReportScreen.native.js.map +1 -0
- package/dist/esm/report/queryReportColumns.mjs +97 -0
- package/dist/esm/report/queryReportColumns.mjs.map +1 -0
- package/dist/esm/report/queryReportColumns.native.js +105 -0
- package/dist/esm/report/queryReportColumns.native.js.map +1 -0
- package/dist/esm/report/report-grid.mjs +322 -0
- package/dist/esm/report/report-grid.mjs.map +1 -0
- package/dist/esm/report/report-grid.native.js +350 -0
- package/dist/esm/report/report-grid.native.js.map +1 -0
- package/dist/esm/report/report-toolbar.mjs +239 -0
- package/dist/esm/report/report-toolbar.mjs.map +1 -0
- package/dist/esm/report/report-toolbar.native.js +270 -0
- package/dist/esm/report/report-toolbar.native.js.map +1 -0
- package/dist/esm/report/reportShapes.mjs +120 -0
- package/dist/esm/report/reportShapes.mjs.map +1 -0
- package/dist/esm/report/reportShapes.native.js +174 -0
- package/dist/esm/report/reportShapes.native.js.map +1 -0
- package/dist/esm/report/reportViewModel.mjs +335 -0
- package/dist/esm/report/reportViewModel.mjs.map +1 -0
- package/dist/esm/report/reportViewModel.native.js +578 -0
- package/dist/esm/report/reportViewModel.native.js.map +1 -0
- package/dist/esm/report/savedReports.mjs +107 -0
- package/dist/esm/report/savedReports.mjs.map +1 -0
- package/dist/esm/report/savedReports.native.js +134 -0
- package/dist/esm/report/savedReports.native.js.map +1 -0
- package/dist/esm/report/useQueryReport.mjs +185 -0
- package/dist/esm/report/useQueryReport.mjs.map +1 -0
- package/dist/esm/report/useQueryReport.native.js +222 -0
- package/dist/esm/report/useQueryReport.native.js.map +1 -0
- package/dist/esm/shared/useSlugTarget.mjs +42 -5
- package/dist/esm/shared/useSlugTarget.mjs.map +1 -1
- package/dist/esm/shared/useSlugTarget.native.js +66 -7
- package/dist/esm/shared/useSlugTarget.native.js.map +1 -1
- package/dist/esm/shell/HomeRedirect.mjs +58 -0
- package/dist/esm/shell/HomeRedirect.mjs.map +1 -0
- package/dist/esm/shell/HomeRedirect.native.js +60 -0
- package/dist/esm/shell/HomeRedirect.native.js.map +1 -0
- package/dist/esm/shell/NotFoundScreen.mjs +23 -0
- package/dist/esm/shell/NotFoundScreen.mjs.map +1 -0
- package/dist/esm/shell/NotFoundScreen.native.js +25 -0
- package/dist/esm/shell/NotFoundScreen.native.js.map +1 -0
- package/dist/esm/shell/SlugScreen.mjs +45 -0
- package/dist/esm/shell/SlugScreen.mjs.map +1 -0
- package/dist/esm/shell/SlugScreen.native.js +46 -0
- package/dist/esm/shell/SlugScreen.native.js.map +1 -0
- package/dist/esm/views/CalendarView.mjs +110 -0
- package/dist/esm/views/CalendarView.mjs.map +1 -0
- package/dist/esm/views/CalendarView.native.js +134 -0
- package/dist/esm/views/CalendarView.native.js.map +1 -0
- package/dist/esm/views/DashboardView.mjs +197 -0
- package/dist/esm/views/DashboardView.mjs.map +1 -0
- package/dist/esm/views/DashboardView.native.js +207 -0
- package/dist/esm/views/DashboardView.native.js.map +1 -0
- package/dist/esm/views/DoctypeViewScreen.mjs +82 -0
- package/dist/esm/views/DoctypeViewScreen.mjs.map +1 -0
- package/dist/esm/views/DoctypeViewScreen.native.js +86 -0
- package/dist/esm/views/DoctypeViewScreen.native.js.map +1 -0
- package/dist/esm/views/ImageView.mjs +58 -0
- package/dist/esm/views/ImageView.mjs.map +1 -0
- package/dist/esm/views/ImageView.native.js +59 -0
- package/dist/esm/views/ImageView.native.js.map +1 -0
- package/dist/esm/views/KanbanView.mjs +321 -0
- package/dist/esm/views/KanbanView.mjs.map +1 -0
- package/dist/esm/views/KanbanView.native.js +400 -0
- package/dist/esm/views/KanbanView.native.js.map +1 -0
- package/dist/esm/views/ReportView.mjs +254 -0
- package/dist/esm/views/ReportView.mjs.map +1 -0
- package/dist/esm/views/ReportView.native.js +378 -0
- package/dist/esm/views/ReportView.native.js.map +1 -0
- package/dist/esm/views/TreeView.mjs +54 -0
- package/dist/esm/views/TreeView.mjs.map +1 -0
- package/dist/esm/views/TreeView.native.js +57 -0
- package/dist/esm/views/TreeView.native.js.map +1 -0
- package/dist/esm/views/ViewHeader.mjs +112 -0
- package/dist/esm/views/ViewHeader.mjs.map +1 -0
- package/dist/esm/views/ViewHeader.native.js +117 -0
- package/dist/esm/views/ViewHeader.native.js.map +1 -0
- package/dist/esm/views/ViewStates.mjs +62 -0
- package/dist/esm/views/ViewStates.mjs.map +1 -0
- package/dist/esm/views/ViewStates.native.js +67 -0
- package/dist/esm/views/ViewStates.native.js.map +1 -0
- package/dist/esm/views/calendar-field-selector.mjs +39 -0
- package/dist/esm/views/calendar-field-selector.mjs.map +1 -0
- package/dist/esm/views/calendar-field-selector.native.js +48 -0
- package/dist/esm/views/calendar-field-selector.native.js.map +1 -0
- package/dist/esm/views/connection.mjs +22 -0
- package/dist/esm/views/connection.mjs.map +1 -0
- package/dist/esm/views/connection.native.js +22 -0
- package/dist/esm/views/connection.native.js.map +1 -0
- package/dist/esm/views/dashboard-data.mjs +196 -0
- package/dist/esm/views/dashboard-data.mjs.map +1 -0
- package/dist/esm/views/dashboard-data.native.js +287 -0
- package/dist/esm/views/dashboard-data.native.js.map +1 -0
- package/dist/esm/views/deskViewConfigs.mjs +103 -0
- package/dist/esm/views/deskViewConfigs.mjs.map +1 -0
- package/dist/esm/views/deskViewConfigs.native.js +128 -0
- package/dist/esm/views/deskViewConfigs.native.js.map +1 -0
- package/dist/esm/views/kanban-board-controls.mjs +259 -0
- package/dist/esm/views/kanban-board-controls.mjs.map +1 -0
- package/dist/esm/views/kanban-board-controls.native.js +289 -0
- package/dist/esm/views/kanban-board-controls.native.js.map +1 -0
- package/dist/esm/views/kanban-field-picker.mjs +52 -0
- package/dist/esm/views/kanban-field-picker.mjs.map +1 -0
- package/dist/esm/views/kanban-field-picker.native.js +67 -0
- package/dist/esm/views/kanban-field-picker.native.js.map +1 -0
- package/dist/esm/views/kanbanBoardOps.mjs +79 -0
- package/dist/esm/views/kanbanBoardOps.mjs.map +1 -0
- package/dist/esm/views/kanbanBoardOps.native.js +107 -0
- package/dist/esm/views/kanbanBoardOps.native.js.map +1 -0
- package/dist/esm/views/report-controls.mjs +301 -0
- package/dist/esm/views/report-controls.mjs.map +1 -0
- package/dist/esm/views/report-controls.native.js +350 -0
- package/dist/esm/views/report-controls.native.js.map +1 -0
- package/dist/esm/views/viewMeta.mjs +64 -0
- package/dist/esm/views/viewMeta.mjs.map +1 -0
- package/dist/esm/views/viewMeta.native.js +103 -0
- package/dist/esm/views/viewMeta.native.js.map +1 -0
- package/dist/esm/workspace/WorkspaceGrid.mjs +2 -3
- package/dist/esm/workspace/WorkspaceGrid.mjs.map +1 -1
- package/dist/esm/workspace/WorkspaceGrid.native.js +2 -3
- package/dist/esm/workspace/WorkspaceGrid.native.js.map +1 -1
- package/dist/esm/workspace/WorkspaceLinkCard.mjs +30 -23
- package/dist/esm/workspace/WorkspaceLinkCard.mjs.map +1 -1
- package/dist/esm/workspace/WorkspaceLinkCard.native.js +37 -30
- package/dist/esm/workspace/WorkspaceLinkCard.native.js.map +1 -1
- package/dist/esm/workspace/WorkspaceShortcut.mjs +9 -2
- package/dist/esm/workspace/WorkspaceShortcut.mjs.map +1 -1
- package/dist/esm/workspace/WorkspaceShortcut.native.js +11 -4
- package/dist/esm/workspace/WorkspaceShortcut.native.js.map +1 -1
- package/dist/jsx/chrome/NotificationsButton.mjs +2 -2
- package/dist/jsx/chrome/NotificationsButton.mjs.map +1 -1
- package/dist/jsx/chrome/NotificationsButton.native.js +1 -1
- package/dist/jsx/chrome/NotificationsButton.native.js.map +1 -1
- package/dist/jsx/config/BackofficeProvider.mjs +12 -2
- package/dist/jsx/config/BackofficeProvider.mjs.map +1 -1
- package/dist/jsx/config/BackofficeProvider.native.js +17 -1
- package/dist/jsx/config/BackofficeProvider.native.js.map +1 -1
- package/dist/jsx/form/DocFormScreen.mjs +718 -0
- package/dist/jsx/form/DocFormScreen.mjs.map +1 -0
- package/dist/jsx/form/DocFormScreen.native.js +843 -0
- package/dist/jsx/form/DocFormScreen.native.js.map +1 -0
- package/dist/jsx/form/FormConnections.mjs +200 -0
- package/dist/jsx/form/FormConnections.mjs.map +1 -0
- package/dist/jsx/form/FormConnections.native.js +246 -0
- package/dist/jsx/form/FormConnections.native.js.map +1 -0
- package/dist/jsx/form/FormDialogs.mjs +152 -0
- package/dist/jsx/form/FormDialogs.mjs.map +1 -0
- package/dist/jsx/form/FormDialogs.native.js +193 -0
- package/dist/jsx/form/FormDialogs.native.js.map +1 -0
- package/dist/jsx/form/FormErrorBoundary.mjs +85 -0
- package/dist/jsx/form/FormErrorBoundary.mjs.map +1 -0
- package/dist/jsx/form/FormErrorBoundary.native.js +230 -0
- package/dist/jsx/form/FormErrorBoundary.native.js.map +1 -0
- package/dist/jsx/form/FormHeaderCluster.mjs +128 -0
- package/dist/jsx/form/FormHeaderCluster.mjs.map +1 -0
- package/dist/jsx/form/FormHeaderCluster.native.js +177 -0
- package/dist/jsx/form/FormHeaderCluster.native.js.map +1 -0
- package/dist/jsx/form/FormSidebarPanel.mjs +405 -0
- package/dist/jsx/form/FormSidebarPanel.mjs.map +1 -0
- package/dist/jsx/form/FormSidebarPanel.native.js +492 -0
- package/dist/jsx/form/FormSidebarPanel.native.js.map +1 -0
- package/dist/jsx/form/FormTimeline.mjs +492 -0
- package/dist/jsx/form/FormTimeline.mjs.map +1 -0
- package/dist/jsx/form/FormTimeline.native.js +575 -0
- package/dist/jsx/form/FormTimeline.native.js.map +1 -0
- package/dist/jsx/form/FormToolbar.mjs +281 -0
- package/dist/jsx/form/FormToolbar.mjs.map +1 -0
- package/dist/jsx/form/FormToolbar.native.js +331 -0
- package/dist/jsx/form/FormToolbar.native.js.map +1 -0
- package/dist/jsx/form/connections-data.mjs +123 -0
- package/dist/jsx/form/connections-data.mjs.map +1 -0
- package/dist/jsx/form/connections-data.native.js +253 -0
- package/dist/jsx/form/connections-data.native.js.map +1 -0
- package/dist/jsx/form/createPrefill.mjs +11 -0
- package/dist/jsx/form/createPrefill.mjs.map +1 -0
- package/dist/jsx/form/createPrefill.native.js +40 -0
- package/dist/jsx/form/createPrefill.native.js.map +1 -0
- package/dist/jsx/form/dependsOn.mjs +3 -0
- package/dist/jsx/form/dependsOn.mjs.map +1 -0
- package/dist/jsx/form/dependsOn.native.js +32 -0
- package/dist/jsx/form/dependsOn.native.js.map +1 -0
- package/dist/jsx/form/dirtyTracking.mjs +28 -0
- package/dist/jsx/form/dirtyTracking.mjs.map +1 -0
- package/dist/jsx/form/dirtyTracking.native.js +77 -0
- package/dist/jsx/form/dirtyTracking.native.js.map +1 -0
- package/dist/jsx/form/docinfo.mjs +7 -0
- package/dist/jsx/form/docinfo.mjs.map +1 -0
- package/dist/jsx/form/docinfo.native.js +35 -0
- package/dist/jsx/form/docinfo.native.js.map +1 -0
- package/dist/jsx/form/fetchFrom.mjs +40 -0
- package/dist/jsx/form/fetchFrom.mjs.map +1 -0
- package/dist/jsx/form/fetchFrom.native.js +110 -0
- package/dist/jsx/form/fetchFrom.native.js.map +1 -0
- package/dist/jsx/form/fieldPermissions.mjs +28 -0
- package/dist/jsx/form/fieldPermissions.mjs.map +1 -0
- package/dist/jsx/form/fieldPermissions.native.js +80 -0
- package/dist/jsx/form/fieldPermissions.native.js.map +1 -0
- package/dist/jsx/form/formActions.mjs +146 -0
- package/dist/jsx/form/formActions.mjs.map +1 -0
- package/dist/jsx/form/formActions.native.js +199 -0
- package/dist/jsx/form/formActions.native.js.map +1 -0
- package/dist/jsx/form/formLayout.mjs +227 -0
- package/dist/jsx/form/formLayout.mjs.map +1 -0
- package/dist/jsx/form/formLayout.native.js +394 -0
- package/dist/jsx/form/formLayout.native.js.map +1 -0
- package/dist/jsx/form/platformHooks.mjs +59 -0
- package/dist/jsx/form/platformHooks.mjs.map +1 -0
- package/dist/jsx/form/platformHooks.native.js +96 -0
- package/dist/jsx/form/platformHooks.native.js.map +1 -0
- package/dist/jsx/form/sidebar-attachments.mjs +99 -0
- package/dist/jsx/form/sidebar-attachments.mjs.map +1 -0
- package/dist/jsx/form/sidebar-attachments.native.js +147 -0
- package/dist/jsx/form/sidebar-attachments.native.js.map +1 -0
- package/dist/jsx/form/sidebar-dialogs.mjs +110 -0
- package/dist/jsx/form/sidebar-dialogs.mjs.map +1 -0
- package/dist/jsx/form/sidebar-dialogs.native.js +151 -0
- package/dist/jsx/form/sidebar-dialogs.native.js.map +1 -0
- package/dist/jsx/form/sidebar-people.mjs +99 -0
- package/dist/jsx/form/sidebar-people.mjs.map +1 -0
- package/dist/jsx/form/sidebar-people.native.js +136 -0
- package/dist/jsx/form/sidebar-people.native.js.map +1 -0
- package/dist/jsx/form/sidebar-rpc.mjs +116 -0
- package/dist/jsx/form/sidebar-rpc.mjs.map +1 -0
- package/dist/jsx/form/sidebar-rpc.native.js +177 -0
- package/dist/jsx/form/sidebar-rpc.native.js.map +1 -0
- package/dist/jsx/form/sidebar-utils.mjs +86 -0
- package/dist/jsx/form/sidebar-utils.mjs.map +1 -0
- package/dist/jsx/form/sidebar-utils.native.js +128 -0
- package/dist/jsx/form/sidebar-utils.native.js.map +1 -0
- package/dist/jsx/form/timeline-entries.mjs +211 -0
- package/dist/jsx/form/timeline-entries.mjs.map +1 -0
- package/dist/jsx/form/timeline-entries.native.js +452 -0
- package/dist/jsx/form/timeline-entries.native.js.map +1 -0
- package/dist/jsx/form/timeline-utils.mjs +118 -0
- package/dist/jsx/form/timeline-utils.mjs.map +1 -0
- package/dist/jsx/form/timeline-utils.native.js +178 -0
- package/dist/jsx/form/timeline-utils.native.js.map +1 -0
- package/dist/jsx/form/useFormEngine.mjs +362 -0
- package/dist/jsx/form/useFormEngine.mjs.map +1 -0
- package/dist/jsx/form/useFormEngine.native.js +476 -0
- package/dist/jsx/form/useFormEngine.native.js.map +1 -0
- package/dist/jsx/i18n/en.mjs +307 -0
- package/dist/jsx/i18n/en.mjs.map +1 -1
- package/dist/jsx/i18n/en.native.js +307 -0
- package/dist/jsx/i18n/en.native.js.map +1 -1
- package/dist/jsx/index.js +80 -3
- package/dist/jsx/index.js.map +1 -1
- package/dist/jsx/index.mjs +80 -3
- package/dist/jsx/index.mjs.map +1 -1
- package/dist/jsx/index.native.js +279 -0
- package/dist/jsx/index.native.js.map +1 -1
- package/dist/jsx/list/AddTagsDialog.mjs +92 -0
- package/dist/jsx/list/AddTagsDialog.mjs.map +1 -0
- package/dist/jsx/list/AddTagsDialog.native.js +146 -0
- package/dist/jsx/list/AddTagsDialog.native.js.map +1 -0
- package/dist/jsx/list/AssignToDialog.mjs +85 -0
- package/dist/jsx/list/AssignToDialog.mjs.map +1 -0
- package/dist/jsx/list/AssignToDialog.native.js +137 -0
- package/dist/jsx/list/AssignToDialog.native.js.map +1 -0
- package/dist/jsx/list/DoctypeListScreen.mjs +815 -0
- package/dist/jsx/list/DoctypeListScreen.mjs.map +1 -0
- package/dist/jsx/list/DoctypeListScreen.native.js +987 -0
- package/dist/jsx/list/DoctypeListScreen.native.js.map +1 -0
- package/dist/jsx/list/ListBulkActionsBar.mjs +300 -0
- package/dist/jsx/list/ListBulkActionsBar.mjs.map +1 -0
- package/dist/jsx/list/ListBulkActionsBar.native.js +373 -0
- package/dist/jsx/list/ListBulkActionsBar.native.js.map +1 -0
- package/dist/jsx/list/ListFilterBar.mjs +74 -0
- package/dist/jsx/list/ListFilterBar.mjs.map +1 -0
- package/dist/jsx/list/ListFilterBar.native.js +103 -0
- package/dist/jsx/list/ListFilterBar.native.js.map +1 -0
- package/dist/jsx/list/ListSidebar.mjs +116 -0
- package/dist/jsx/list/ListSidebar.mjs.map +1 -0
- package/dist/jsx/list/ListSidebar.native.js +180 -0
- package/dist/jsx/list/ListSidebar.native.js.map +1 -0
- package/dist/jsx/list/bulk-edit-dialog.mjs +204 -0
- package/dist/jsx/list/bulk-edit-dialog.mjs.map +1 -0
- package/dist/jsx/list/bulk-edit-dialog.native.js +284 -0
- package/dist/jsx/list/bulk-edit-dialog.native.js.map +1 -0
- package/dist/jsx/list/bulk-export.mjs +59 -0
- package/dist/jsx/list/bulk-export.mjs.map +1 -0
- package/dist/jsx/list/bulk-export.native.js +155 -0
- package/dist/jsx/list/bulk-export.native.js.map +1 -0
- package/dist/jsx/list/bulk-submit-cancel.mjs +15 -0
- package/dist/jsx/list/bulk-submit-cancel.mjs.map +1 -0
- package/dist/jsx/list/bulk-submit-cancel.native.js +56 -0
- package/dist/jsx/list/bulk-submit-cancel.native.js.map +1 -0
- package/dist/jsx/list/bulkActions.mjs +66 -0
- package/dist/jsx/list/bulkActions.mjs.map +1 -0
- package/dist/jsx/list/bulkActions.native.js +129 -0
- package/dist/jsx/list/bulkActions.native.js.map +1 -0
- package/dist/jsx/list/filter-chips.mjs +34 -0
- package/dist/jsx/list/filter-chips.mjs.map +1 -0
- package/dist/jsx/list/filter-chips.native.js +73 -0
- package/dist/jsx/list/filter-chips.native.js.map +1 -0
- package/dist/jsx/list/filter-editor.mjs +363 -0
- package/dist/jsx/list/filter-editor.mjs.map +1 -0
- package/dist/jsx/list/filter-editor.native.js +493 -0
- package/dist/jsx/list/filter-editor.native.js.map +1 -0
- package/dist/jsx/list/filter-fields.mjs +233 -0
- package/dist/jsx/list/filter-fields.mjs.map +1 -0
- package/dist/jsx/list/filter-fields.native.js +339 -0
- package/dist/jsx/list/filter-fields.native.js.map +1 -0
- package/dist/jsx/list/filter-saved.mjs +147 -0
- package/dist/jsx/list/filter-saved.mjs.map +1 -0
- package/dist/jsx/list/filter-saved.native.js +199 -0
- package/dist/jsx/list/filter-saved.native.js.map +1 -0
- package/dist/jsx/list/filter-sort.mjs +146 -0
- package/dist/jsx/list/filter-sort.mjs.map +1 -0
- package/dist/jsx/list/filter-sort.native.js +228 -0
- package/dist/jsx/list/filter-sort.native.js.map +1 -0
- package/dist/jsx/list/filter-standard.mjs +133 -0
- package/dist/jsx/list/filter-standard.mjs.map +1 -0
- package/dist/jsx/list/filter-standard.native.js +175 -0
- package/dist/jsx/list/filter-standard.native.js.map +1 -0
- package/dist/jsx/list/filterConversion.mjs +134 -0
- package/dist/jsx/list/filterConversion.mjs.map +1 -0
- package/dist/jsx/list/filterConversion.native.js +216 -0
- package/dist/jsx/list/filterConversion.native.js.map +1 -0
- package/dist/jsx/list/list-tools-sheet.mjs +123 -0
- package/dist/jsx/list/list-tools-sheet.mjs.map +1 -0
- package/dist/jsx/list/list-tools-sheet.native.js +169 -0
- package/dist/jsx/list/list-tools-sheet.native.js.map +1 -0
- package/dist/jsx/list/listColumns.mjs +232 -0
- package/dist/jsx/list/listColumns.mjs.map +1 -0
- package/dist/jsx/list/listColumns.native.js +307 -0
- package/dist/jsx/list/listColumns.native.js.map +1 -0
- package/dist/jsx/list/listFields.mjs +19 -0
- package/dist/jsx/list/listFields.mjs.map +1 -0
- package/dist/jsx/list/listFields.native.js +72 -0
- package/dist/jsx/list/listFields.native.js.map +1 -0
- package/dist/jsx/list/listFormat.mjs +38 -0
- package/dist/jsx/list/listFormat.mjs.map +1 -0
- package/dist/jsx/list/listFormat.native.js +74 -0
- package/dist/jsx/list/listFormat.native.js.map +1 -0
- package/dist/jsx/list/listUrlState.mjs +42 -0
- package/dist/jsx/list/listUrlState.mjs.map +1 -0
- package/dist/jsx/list/listUrlState.native.js +96 -0
- package/dist/jsx/list/listUrlState.native.js.map +1 -0
- package/dist/jsx/list/sidebar-section.mjs +115 -0
- package/dist/jsx/list/sidebar-section.mjs.map +1 -0
- package/dist/jsx/list/sidebar-section.native.js +150 -0
- package/dist/jsx/list/sidebar-section.native.js.map +1 -0
- package/dist/jsx/list/sidebar-stats.mjs +226 -0
- package/dist/jsx/list/sidebar-stats.mjs.map +1 -0
- package/dist/jsx/list/sidebar-stats.native.js +469 -0
- package/dist/jsx/list/sidebar-stats.native.js.map +1 -0
- package/dist/jsx/list/statusColors.mjs +77 -0
- package/dist/jsx/list/statusColors.mjs.map +1 -0
- package/dist/jsx/list/statusColors.native.js +109 -0
- package/dist/jsx/list/statusColors.native.js.map +1 -0
- package/dist/jsx/navigation/navigator.mjs +66 -3
- package/dist/jsx/navigation/navigator.mjs.map +1 -1
- package/dist/jsx/navigation/navigator.native.js +100 -4
- package/dist/jsx/navigation/navigator.native.js.map +1 -1
- package/dist/jsx/navigation/paths.mjs +7 -2
- package/dist/jsx/navigation/paths.mjs.map +1 -1
- package/dist/jsx/navigation/paths.native.js +9 -0
- package/dist/jsx/navigation/paths.native.js.map +1 -1
- package/dist/jsx/oneAdapter/index.mjs +25 -4
- package/dist/jsx/oneAdapter/index.mjs.map +1 -1
- package/dist/jsx/oneAdapter/index.native.js +28 -1
- package/dist/jsx/oneAdapter/index.native.js.map +1 -1
- package/dist/jsx/quickEntry/QuickEntryDialog.mjs +267 -0
- package/dist/jsx/quickEntry/QuickEntryDialog.mjs.map +1 -0
- package/dist/jsx/quickEntry/QuickEntryDialog.native.js +365 -0
- package/dist/jsx/quickEntry/QuickEntryDialog.native.js.map +1 -0
- package/dist/jsx/quickEntry/quickEntryPlan.mjs +158 -0
- package/dist/jsx/quickEntry/quickEntryPlan.mjs.map +1 -0
- package/dist/jsx/quickEntry/quickEntryPlan.native.js +223 -0
- package/dist/jsx/quickEntry/quickEntryPlan.native.js.map +1 -0
- package/dist/jsx/report/DoctypeReportView.mjs +405 -0
- package/dist/jsx/report/DoctypeReportView.mjs.map +1 -0
- package/dist/jsx/report/DoctypeReportView.native.js +532 -0
- package/dist/jsx/report/DoctypeReportView.native.js.map +1 -0
- package/dist/jsx/report/QueryReportScreen.mjs +256 -0
- package/dist/jsx/report/QueryReportScreen.mjs.map +1 -0
- package/dist/jsx/report/QueryReportScreen.native.js +354 -0
- package/dist/jsx/report/QueryReportScreen.native.js.map +1 -0
- package/dist/jsx/report/queryReportColumns.mjs +97 -0
- package/dist/jsx/report/queryReportColumns.mjs.map +1 -0
- package/dist/jsx/report/queryReportColumns.native.js +144 -0
- package/dist/jsx/report/queryReportColumns.native.js.map +1 -0
- package/dist/jsx/report/report-grid.mjs +322 -0
- package/dist/jsx/report/report-grid.mjs.map +1 -0
- package/dist/jsx/report/report-grid.native.js +389 -0
- package/dist/jsx/report/report-grid.native.js.map +1 -0
- package/dist/jsx/report/report-toolbar.mjs +239 -0
- package/dist/jsx/report/report-toolbar.mjs.map +1 -0
- package/dist/jsx/report/report-toolbar.native.js +309 -0
- package/dist/jsx/report/report-toolbar.native.js.map +1 -0
- package/dist/jsx/report/reportShapes.mjs +120 -0
- package/dist/jsx/report/reportShapes.mjs.map +1 -0
- package/dist/jsx/report/reportShapes.native.js +208 -0
- package/dist/jsx/report/reportShapes.native.js.map +1 -0
- package/dist/jsx/report/reportViewModel.mjs +335 -0
- package/dist/jsx/report/reportViewModel.mjs.map +1 -0
- package/dist/jsx/report/reportViewModel.native.js +624 -0
- package/dist/jsx/report/reportViewModel.native.js.map +1 -0
- package/dist/jsx/report/savedReports.mjs +107 -0
- package/dist/jsx/report/savedReports.mjs.map +1 -0
- package/dist/jsx/report/savedReports.native.js +162 -0
- package/dist/jsx/report/savedReports.native.js.map +1 -0
- package/dist/jsx/report/useQueryReport.mjs +185 -0
- package/dist/jsx/report/useQueryReport.mjs.map +1 -0
- package/dist/jsx/report/useQueryReport.native.js +254 -0
- package/dist/jsx/report/useQueryReport.native.js.map +1 -0
- package/dist/jsx/shared/useSlugTarget.mjs +42 -5
- package/dist/jsx/shared/useSlugTarget.mjs.map +1 -1
- package/dist/jsx/shared/useSlugTarget.native.js +66 -6
- package/dist/jsx/shared/useSlugTarget.native.js.map +1 -1
- package/dist/jsx/shell/HomeRedirect.mjs +58 -0
- package/dist/jsx/shell/HomeRedirect.mjs.map +1 -0
- package/dist/jsx/shell/HomeRedirect.native.js +88 -0
- package/dist/jsx/shell/HomeRedirect.native.js.map +1 -0
- package/dist/jsx/shell/NotFoundScreen.mjs +23 -0
- package/dist/jsx/shell/NotFoundScreen.mjs.map +1 -0
- package/dist/jsx/shell/NotFoundScreen.native.js +53 -0
- package/dist/jsx/shell/NotFoundScreen.native.js.map +1 -0
- package/dist/jsx/shell/SlugScreen.mjs +45 -0
- package/dist/jsx/shell/SlugScreen.mjs.map +1 -0
- package/dist/jsx/shell/SlugScreen.native.js +74 -0
- package/dist/jsx/shell/SlugScreen.native.js.map +1 -0
- package/dist/jsx/views/CalendarView.mjs +110 -0
- package/dist/jsx/views/CalendarView.mjs.map +1 -0
- package/dist/jsx/views/CalendarView.native.js +162 -0
- package/dist/jsx/views/CalendarView.native.js.map +1 -0
- package/dist/jsx/views/DashboardView.mjs +197 -0
- package/dist/jsx/views/DashboardView.mjs.map +1 -0
- package/dist/jsx/views/DashboardView.native.js +235 -0
- package/dist/jsx/views/DashboardView.native.js.map +1 -0
- package/dist/jsx/views/DoctypeViewScreen.mjs +82 -0
- package/dist/jsx/views/DoctypeViewScreen.mjs.map +1 -0
- package/dist/jsx/views/DoctypeViewScreen.native.js +114 -0
- package/dist/jsx/views/DoctypeViewScreen.native.js.map +1 -0
- package/dist/jsx/views/ImageView.mjs +58 -0
- package/dist/jsx/views/ImageView.mjs.map +1 -0
- package/dist/jsx/views/ImageView.native.js +87 -0
- package/dist/jsx/views/ImageView.native.js.map +1 -0
- package/dist/jsx/views/KanbanView.mjs +321 -0
- package/dist/jsx/views/KanbanView.mjs.map +1 -0
- package/dist/jsx/views/KanbanView.native.js +428 -0
- package/dist/jsx/views/KanbanView.native.js.map +1 -0
- package/dist/jsx/views/ReportView.mjs +254 -0
- package/dist/jsx/views/ReportView.mjs.map +1 -0
- package/dist/jsx/views/ReportView.native.js +407 -0
- package/dist/jsx/views/ReportView.native.js.map +1 -0
- package/dist/jsx/views/TreeView.mjs +54 -0
- package/dist/jsx/views/TreeView.mjs.map +1 -0
- package/dist/jsx/views/TreeView.native.js +85 -0
- package/dist/jsx/views/TreeView.native.js.map +1 -0
- package/dist/jsx/views/ViewHeader.mjs +112 -0
- package/dist/jsx/views/ViewHeader.mjs.map +1 -0
- package/dist/jsx/views/ViewHeader.native.js +147 -0
- package/dist/jsx/views/ViewHeader.native.js.map +1 -0
- package/dist/jsx/views/ViewStates.mjs +62 -0
- package/dist/jsx/views/ViewStates.mjs.map +1 -0
- package/dist/jsx/views/ViewStates.native.js +98 -0
- package/dist/jsx/views/ViewStates.native.js.map +1 -0
- package/dist/jsx/views/calendar-field-selector.mjs +39 -0
- package/dist/jsx/views/calendar-field-selector.mjs.map +1 -0
- package/dist/jsx/views/calendar-field-selector.native.js +77 -0
- package/dist/jsx/views/calendar-field-selector.native.js.map +1 -0
- package/dist/jsx/views/connection.mjs +22 -0
- package/dist/jsx/views/connection.mjs.map +1 -0
- package/dist/jsx/views/connection.native.js +50 -0
- package/dist/jsx/views/connection.native.js.map +1 -0
- package/dist/jsx/views/dashboard-data.mjs +196 -0
- package/dist/jsx/views/dashboard-data.mjs.map +1 -0
- package/dist/jsx/views/dashboard-data.native.js +333 -0
- package/dist/jsx/views/dashboard-data.native.js.map +1 -0
- package/dist/jsx/views/deskViewConfigs.mjs +103 -0
- package/dist/jsx/views/deskViewConfigs.mjs.map +1 -0
- package/dist/jsx/views/deskViewConfigs.native.js +158 -0
- package/dist/jsx/views/deskViewConfigs.native.js.map +1 -0
- package/dist/jsx/views/kanban-board-controls.mjs +259 -0
- package/dist/jsx/views/kanban-board-controls.mjs.map +1 -0
- package/dist/jsx/views/kanban-board-controls.native.js +320 -0
- package/dist/jsx/views/kanban-board-controls.native.js.map +1 -0
- package/dist/jsx/views/kanban-field-picker.mjs +52 -0
- package/dist/jsx/views/kanban-field-picker.mjs.map +1 -0
- package/dist/jsx/views/kanban-field-picker.native.js +97 -0
- package/dist/jsx/views/kanban-field-picker.native.js.map +1 -0
- package/dist/jsx/views/kanbanBoardOps.mjs +79 -0
- package/dist/jsx/views/kanbanBoardOps.mjs.map +1 -0
- package/dist/jsx/views/kanbanBoardOps.native.js +138 -0
- package/dist/jsx/views/kanbanBoardOps.native.js.map +1 -0
- package/dist/jsx/views/report-controls.mjs +301 -0
- package/dist/jsx/views/report-controls.mjs.map +1 -0
- package/dist/jsx/views/report-controls.native.js +381 -0
- package/dist/jsx/views/report-controls.native.js.map +1 -0
- package/dist/jsx/views/viewMeta.mjs +64 -0
- package/dist/jsx/views/viewMeta.mjs.map +1 -0
- package/dist/jsx/views/viewMeta.native.js +136 -0
- package/dist/jsx/views/viewMeta.native.js.map +1 -0
- package/dist/jsx/workspace/WorkspaceGrid.mjs +2 -3
- package/dist/jsx/workspace/WorkspaceGrid.mjs.map +1 -1
- package/dist/jsx/workspace/WorkspaceGrid.native.js +1 -2
- package/dist/jsx/workspace/WorkspaceGrid.native.js.map +1 -1
- package/dist/jsx/workspace/WorkspaceLinkCard.mjs +30 -23
- package/dist/jsx/workspace/WorkspaceLinkCard.mjs.map +1 -1
- package/dist/jsx/workspace/WorkspaceLinkCard.native.js +37 -30
- package/dist/jsx/workspace/WorkspaceLinkCard.native.js.map +1 -1
- package/dist/jsx/workspace/WorkspaceShortcut.mjs +9 -2
- package/dist/jsx/workspace/WorkspaceShortcut.mjs.map +1 -1
- package/dist/jsx/workspace/WorkspaceShortcut.native.js +10 -3
- package/dist/jsx/workspace/WorkspaceShortcut.native.js.map +1 -1
- package/package.json +13 -13
- package/src/chrome/NotificationsButton.tsx +5 -2
- package/src/config/BackofficeProvider.spec.tsx +21 -1
- package/src/config/BackofficeProvider.tsx +50 -0
- package/src/form/DocFormScreen.tsx +969 -0
- package/src/form/FormConnections.tsx +234 -0
- package/src/form/FormDialogs.tsx +172 -0
- package/src/form/FormErrorBoundary.spec.tsx +186 -0
- package/src/form/FormErrorBoundary.tsx +140 -0
- package/src/form/FormHeaderCluster.tsx +202 -0
- package/src/form/FormSidebarPanel.tsx +549 -0
- package/src/form/FormTimeline.tsx +577 -0
- package/src/form/FormToolbar.tsx +458 -0
- package/src/form/connections-data.tsx +219 -0
- package/src/form/createPrefill.ts +28 -0
- package/src/form/dependsOn.extra.spec.ts +273 -0
- package/src/form/dependsOn.spec.ts +75 -0
- package/src/form/dependsOn.ts +22 -0
- package/src/form/dirtyTracking.spec.ts +91 -0
- package/src/form/dirtyTracking.ts +64 -0
- package/src/form/docinfo.ts +24 -0
- package/src/form/fetchFrom.spec.ts +92 -0
- package/src/form/fetchFrom.ts +111 -0
- package/src/form/fieldPermissions.spec.ts +61 -0
- package/src/form/fieldPermissions.ts +68 -0
- package/src/form/formActions.ts +281 -0
- package/src/form/formLayout.spec.ts +373 -0
- package/src/form/formLayout.ts +402 -0
- package/src/form/platformHooks.ts +92 -0
- package/src/form/sidebar-attachments.tsx +141 -0
- package/src/form/sidebar-dialogs.tsx +118 -0
- package/src/form/sidebar-people.tsx +126 -0
- package/src/form/sidebar-rpc.tsx +245 -0
- package/src/form/sidebar-utils.tsx +159 -0
- package/src/form/timeline-entries.tsx +377 -0
- package/src/form/timeline-utils.tsx +235 -0
- package/src/form/useFormEngine.ts +496 -0
- package/src/i18n/en.ts +310 -0
- package/src/index.ts +365 -0
- package/src/list/AddTagsDialog.tsx +98 -0
- package/src/list/AssignToDialog.tsx +97 -0
- package/src/list/DoctypeListScreen.tsx +1121 -0
- package/src/list/ListBulkActionsBar.tsx +355 -0
- package/src/list/ListFilterBar.tsx +94 -0
- package/src/list/ListSidebar.tsx +200 -0
- package/src/list/bulk-edit-dialog.tsx +297 -0
- package/src/list/bulk-export.tsx +91 -0
- package/src/list/bulk-submit-cancel.tsx +38 -0
- package/src/list/bulkActions.ts +95 -0
- package/src/list/filter-chips.tsx +43 -0
- package/src/list/filter-editor.tsx +427 -0
- package/src/list/filter-fields.tsx +339 -0
- package/src/list/filter-saved.tsx +181 -0
- package/src/list/filter-sort.tsx +226 -0
- package/src/list/filter-standard.tsx +186 -0
- package/src/list/filterConversion.spec.ts +361 -0
- package/src/list/filterConversion.ts +100 -0
- package/src/list/list-tools-sheet.tsx +152 -0
- package/src/list/listColumns.tsx +297 -0
- package/src/list/listFields.spec.ts +98 -0
- package/src/list/listFields.ts +58 -0
- package/src/list/listFormat.spec.ts +151 -0
- package/src/list/listFormat.ts +80 -0
- package/src/list/listUrlState.spec.ts +74 -0
- package/src/list/listUrlState.ts +87 -0
- package/src/list/sidebar-section.tsx +99 -0
- package/src/list/sidebar-stats.tsx +402 -0
- package/src/list/statusColors.spec.ts +100 -0
- package/src/list/statusColors.ts +94 -0
- package/src/navigation/navigator.spec.ts +130 -1
- package/src/navigation/navigator.ts +93 -3
- package/src/navigation/paths.spec.ts +156 -0
- package/src/navigation/paths.ts +10 -0
- package/src/oneAdapter/index.tsx +29 -2
- package/src/quickEntry/QuickEntryDialog.tsx +345 -0
- package/src/quickEntry/quickEntryPlan.spec.ts +367 -0
- package/src/quickEntry/quickEntryPlan.ts +228 -0
- package/src/report/DoctypeReportView.tsx +600 -0
- package/src/report/QueryReportScreen.tsx +312 -0
- package/src/report/queryReportColumns.tsx +106 -0
- package/src/report/report-grid.tsx +366 -0
- package/src/report/report-toolbar.tsx +313 -0
- package/src/report/reportShapes.spec.ts +101 -0
- package/src/report/reportShapes.ts +233 -0
- package/src/report/reportViewModel.spec.ts +338 -0
- package/src/report/reportViewModel.ts +583 -0
- package/src/report/savedReports.ts +161 -0
- package/src/report/useQueryReport.ts +302 -0
- package/src/shared/useSlugTarget.ts +68 -3
- package/src/shell/HomeRedirect.tsx +63 -0
- package/src/shell/NotFoundScreen.tsx +32 -0
- package/src/shell/SlugScreen.tsx +43 -0
- package/src/shell/useWorkspaces.spec.tsx +150 -0
- package/src/views/CalendarView.tsx +191 -0
- package/src/views/DashboardView.tsx +205 -0
- package/src/views/DoctypeViewScreen.tsx +84 -0
- package/src/views/ImageView.tsx +60 -0
- package/src/views/KanbanView.tsx +419 -0
- package/src/views/ReportView.tsx +434 -0
- package/src/views/TreeView.tsx +58 -0
- package/src/views/ViewHeader.tsx +136 -0
- package/src/views/ViewStates.tsx +65 -0
- package/src/views/calendar-field-selector.tsx +56 -0
- package/src/views/connection.ts +31 -0
- package/src/views/dashboard-data.tsx +321 -0
- package/src/views/deskViewConfigs.ts +190 -0
- package/src/views/kanban-board-controls.tsx +357 -0
- package/src/views/kanban-field-picker.tsx +92 -0
- package/src/views/kanbanBoardOps.spec.ts +124 -0
- package/src/views/kanbanBoardOps.ts +124 -0
- package/src/views/report-controls.tsx +440 -0
- package/src/views/viewMeta.ts +117 -0
- package/src/workspace/WorkspaceGrid.tsx +3 -4
- package/src/workspace/WorkspaceLinkCard.tsx +7 -2
- package/src/workspace/WorkspaceShortcut.tsx +25 -2
- package/types/chrome/NotificationsButton.d.ts.map +1 -1
- package/types/config/BackofficeProvider.d.ts +32 -1
- package/types/config/BackofficeProvider.d.ts.map +1 -1
- package/types/form/DocFormScreen.d.ts +35 -0
- package/types/form/DocFormScreen.d.ts.map +1 -0
- package/types/form/FormConnections.d.ts +8 -0
- package/types/form/FormConnections.d.ts.map +1 -0
- package/types/form/FormDialogs.d.ts +32 -0
- package/types/form/FormDialogs.d.ts.map +1 -0
- package/types/form/FormErrorBoundary.d.ts +34 -0
- package/types/form/FormErrorBoundary.d.ts.map +1 -0
- package/types/form/FormHeaderCluster.d.ts +25 -0
- package/types/form/FormHeaderCluster.d.ts.map +1 -0
- package/types/form/FormSidebarPanel.d.ts +38 -0
- package/types/form/FormSidebarPanel.d.ts.map +1 -0
- package/types/form/FormTimeline.d.ts +21 -0
- package/types/form/FormTimeline.d.ts.map +1 -0
- package/types/form/FormToolbar.d.ts +86 -0
- package/types/form/FormToolbar.d.ts.map +1 -0
- package/types/form/connections-data.d.ts +69 -0
- package/types/form/connections-data.d.ts.map +1 -0
- package/types/form/createPrefill.d.ts +19 -0
- package/types/form/createPrefill.d.ts.map +1 -0
- package/types/form/dependsOn.d.ts +13 -0
- package/types/form/dependsOn.d.ts.map +1 -0
- package/types/form/dirtyTracking.d.ts +36 -0
- package/types/form/dirtyTracking.d.ts.map +1 -0
- package/types/form/docinfo.d.ts +18 -0
- package/types/form/docinfo.d.ts.map +1 -0
- package/types/form/fetchFrom.d.ts +43 -0
- package/types/form/fetchFrom.d.ts.map +1 -0
- package/types/form/fieldPermissions.d.ts +38 -0
- package/types/form/fieldPermissions.d.ts.map +1 -0
- package/types/form/formActions.d.ts +91 -0
- package/types/form/formActions.d.ts.map +1 -0
- package/types/form/formLayout.d.ts +91 -0
- package/types/form/formLayout.d.ts.map +1 -0
- package/types/form/platformHooks.d.ts +31 -0
- package/types/form/platformHooks.d.ts.map +1 -0
- package/types/form/sidebar-attachments.d.ts +20 -0
- package/types/form/sidebar-attachments.d.ts.map +1 -0
- package/types/form/sidebar-dialogs.d.ts +19 -0
- package/types/form/sidebar-dialogs.d.ts.map +1 -0
- package/types/form/sidebar-people.d.ts +42 -0
- package/types/form/sidebar-people.d.ts.map +1 -0
- package/types/form/sidebar-rpc.d.ts +42 -0
- package/types/form/sidebar-rpc.d.ts.map +1 -0
- package/types/form/sidebar-utils.d.ts +36 -0
- package/types/form/sidebar-utils.d.ts.map +1 -0
- package/types/form/timeline-entries.d.ts +93 -0
- package/types/form/timeline-entries.d.ts.map +1 -0
- package/types/form/timeline-utils.d.ts +42 -0
- package/types/form/timeline-utils.d.ts.map +1 -0
- package/types/form/useFormEngine.d.ts +61 -0
- package/types/form/useFormEngine.d.ts.map +1 -0
- package/types/i18n/en.d.ts +307 -0
- package/types/i18n/en.d.ts.map +1 -1
- package/types/index.d.ts +147 -2
- package/types/index.d.ts.map +1 -1
- package/types/list/AddTagsDialog.d.ts +11 -0
- package/types/list/AddTagsDialog.d.ts.map +1 -0
- package/types/list/AssignToDialog.d.ts +11 -0
- package/types/list/AssignToDialog.d.ts.map +1 -0
- package/types/list/DoctypeListScreen.d.ts +62 -0
- package/types/list/DoctypeListScreen.d.ts.map +1 -0
- package/types/list/ListBulkActionsBar.d.ts +12 -0
- package/types/list/ListBulkActionsBar.d.ts.map +1 -0
- package/types/list/ListFilterBar.d.ts +19 -0
- package/types/list/ListFilterBar.d.ts.map +1 -0
- package/types/list/ListSidebar.d.ts +17 -0
- package/types/list/ListSidebar.d.ts.map +1 -0
- package/types/list/bulk-edit-dialog.d.ts +30 -0
- package/types/list/bulk-edit-dialog.d.ts.map +1 -0
- package/types/list/bulk-export.d.ts +19 -0
- package/types/list/bulk-export.d.ts.map +1 -0
- package/types/list/bulk-submit-cancel.d.ts +11 -0
- package/types/list/bulk-submit-cancel.d.ts.map +1 -0
- package/types/list/bulkActions.d.ts +22 -0
- package/types/list/bulkActions.d.ts.map +1 -0
- package/types/list/filter-chips.d.ts +9 -0
- package/types/list/filter-chips.d.ts.map +1 -0
- package/types/list/filter-editor.d.ts +29 -0
- package/types/list/filter-editor.d.ts.map +1 -0
- package/types/list/filter-fields.d.ts +77 -0
- package/types/list/filter-fields.d.ts.map +1 -0
- package/types/list/filter-saved.d.ts +21 -0
- package/types/list/filter-saved.d.ts.map +1 -0
- package/types/list/filter-sort.d.ts +32 -0
- package/types/list/filter-sort.d.ts.map +1 -0
- package/types/list/filter-standard.d.ts +11 -0
- package/types/list/filter-standard.d.ts.map +1 -0
- package/types/list/filterConversion.d.ts +17 -0
- package/types/list/filterConversion.d.ts.map +1 -0
- package/types/list/list-tools-sheet.d.ts +13 -0
- package/types/list/list-tools-sheet.d.ts.map +1 -0
- package/types/list/listColumns.d.ts +34 -0
- package/types/list/listColumns.d.ts.map +1 -0
- package/types/list/listFields.d.ts +14 -0
- package/types/list/listFields.d.ts.map +1 -0
- package/types/list/listFormat.d.ts +30 -0
- package/types/list/listFormat.d.ts.map +1 -0
- package/types/list/listUrlState.d.ts +36 -0
- package/types/list/listUrlState.d.ts.map +1 -0
- package/types/list/sidebar-section.d.ts +21 -0
- package/types/list/sidebar-section.d.ts.map +1 -0
- package/types/list/sidebar-stats.d.ts +61 -0
- package/types/list/sidebar-stats.d.ts.map +1 -0
- package/types/list/statusColors.d.ts +14 -0
- package/types/list/statusColors.d.ts.map +1 -0
- package/types/navigation/navigator.d.ts +28 -0
- package/types/navigation/navigator.d.ts.map +1 -1
- package/types/navigation/paths.d.ts +5 -0
- package/types/navigation/paths.d.ts.map +1 -1
- package/types/oneAdapter/index.d.ts +9 -0
- package/types/oneAdapter/index.d.ts.map +1 -1
- package/types/quickEntry/QuickEntryDialog.d.ts +17 -0
- package/types/quickEntry/QuickEntryDialog.d.ts.map +1 -0
- package/types/quickEntry/quickEntryPlan.d.ts +63 -0
- package/types/quickEntry/quickEntryPlan.d.ts.map +1 -0
- package/types/report/DoctypeReportView.d.ts +15 -0
- package/types/report/DoctypeReportView.d.ts.map +1 -0
- package/types/report/QueryReportScreen.d.ts +15 -0
- package/types/report/QueryReportScreen.d.ts.map +1 -0
- package/types/report/queryReportColumns.d.ts +10 -0
- package/types/report/queryReportColumns.d.ts.map +1 -0
- package/types/report/report-grid.d.ts +20 -0
- package/types/report/report-grid.d.ts.map +1 -0
- package/types/report/report-toolbar.d.ts +30 -0
- package/types/report/report-toolbar.d.ts.map +1 -0
- package/types/report/reportShapes.d.ts +69 -0
- package/types/report/reportShapes.d.ts.map +1 -0
- package/types/report/reportViewModel.d.ts +132 -0
- package/types/report/reportViewModel.d.ts.map +1 -0
- package/types/report/savedReports.d.ts +19 -0
- package/types/report/savedReports.d.ts.map +1 -0
- package/types/report/useQueryReport.d.ts +31 -0
- package/types/report/useQueryReport.d.ts.map +1 -0
- package/types/shared/useSlugTarget.d.ts +9 -0
- package/types/shared/useSlugTarget.d.ts.map +1 -1
- package/types/shell/HomeRedirect.d.ts +2 -0
- package/types/shell/HomeRedirect.d.ts.map +1 -0
- package/types/shell/NotFoundScreen.d.ts +2 -0
- package/types/shell/NotFoundScreen.d.ts.map +1 -0
- package/types/shell/SlugScreen.d.ts +10 -0
- package/types/shell/SlugScreen.d.ts.map +1 -0
- package/types/views/CalendarView.d.ts +21 -0
- package/types/views/CalendarView.d.ts.map +1 -0
- package/types/views/DashboardView.d.ts +6 -0
- package/types/views/DashboardView.d.ts.map +1 -0
- package/types/views/DoctypeViewScreen.d.ts +8 -0
- package/types/views/DoctypeViewScreen.d.ts.map +1 -0
- package/types/views/ImageView.d.ts +6 -0
- package/types/views/ImageView.d.ts.map +1 -0
- package/types/views/KanbanView.d.ts +12 -0
- package/types/views/KanbanView.d.ts.map +1 -0
- package/types/views/ReportView.d.ts +23 -0
- package/types/views/ReportView.d.ts.map +1 -0
- package/types/views/TreeView.d.ts +6 -0
- package/types/views/TreeView.d.ts.map +1 -0
- package/types/views/ViewHeader.d.ts +19 -0
- package/types/views/ViewHeader.d.ts.map +1 -0
- package/types/views/ViewStates.d.ts +17 -0
- package/types/views/ViewStates.d.ts.map +1 -0
- package/types/views/calendar-field-selector.d.ts +15 -0
- package/types/views/calendar-field-selector.d.ts.map +1 -0
- package/types/views/connection.d.ts +14 -0
- package/types/views/connection.d.ts.map +1 -0
- package/types/views/dashboard-data.d.ts +49 -0
- package/types/views/dashboard-data.d.ts.map +1 -0
- package/types/views/deskViewConfigs.d.ts +51 -0
- package/types/views/deskViewConfigs.d.ts.map +1 -0
- package/types/views/kanban-board-controls.d.ts +60 -0
- package/types/views/kanban-board-controls.d.ts.map +1 -0
- package/types/views/kanban-field-picker.d.ts +33 -0
- package/types/views/kanban-field-picker.d.ts.map +1 -0
- package/types/views/kanbanBoardOps.d.ts +26 -0
- package/types/views/kanbanBoardOps.d.ts.map +1 -0
- package/types/views/report-controls.d.ts +45 -0
- package/types/views/report-controls.d.ts.map +1 -0
- package/types/views/viewMeta.d.ts +39 -0
- package/types/views/viewMeta.d.ts.map +1 -0
- package/types/workspace/WorkspaceGrid.d.ts.map +1 -1
- package/types/workspace/WorkspaceLinkCard.d.ts.map +1 -1
- package/types/workspace/WorkspaceShortcut.d.ts.map +1 -1
|
@@ -0,0 +1,583 @@
|
|
|
1
|
+
// Pure model for the doctype REPORT view (desk report-builder parity).
|
|
2
|
+
// UI-free on purpose: default-column derivation (desk set_default_fields),
|
|
3
|
+
// the per-column filter-row → frappe-tuple mapping (list filter-fields
|
|
4
|
+
// vocabulary), desk `report_settings` JSON round-trip (saved Report docs
|
|
5
|
+
// desk can open and vice versa), deterministic sort/group/totals over the
|
|
6
|
+
// live collection rows, and CSV assembly for export.
|
|
7
|
+
import { fieldKind, selectOptionsFromField, type FilterFieldKind } from "../list/filter-fields";
|
|
8
|
+
import type { FrappeFilter, FrappeFilters } from "../shared/types";
|
|
9
|
+
import type { DocFieldMeta, DoctypeMeta } from "../shared/useDoctypeMeta";
|
|
10
|
+
|
|
11
|
+
// ── Column model ──────────────────────────────────────────────
|
|
12
|
+
|
|
13
|
+
export interface ReportColumnDef {
|
|
14
|
+
fieldname: string;
|
|
15
|
+
label: string;
|
|
16
|
+
fieldtype: string;
|
|
17
|
+
kind: FilterFieldKind;
|
|
18
|
+
/** Link target doctype or raw Select options string. */
|
|
19
|
+
options?: string;
|
|
20
|
+
/** Fixed column width (px) — one scrollport, so widths align all rows. */
|
|
21
|
+
width: number;
|
|
22
|
+
align: "left" | "right" | "center";
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export type ReportRow = { name: string } & Record<string, unknown>;
|
|
26
|
+
|
|
27
|
+
export interface ReportSortState {
|
|
28
|
+
field: string;
|
|
29
|
+
order: "asc" | "desc";
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/** Field types that can render/sort as report cells (desk is_value_type). */
|
|
33
|
+
const VALUELESS_FIELDTYPES = new Set([
|
|
34
|
+
"Section Break",
|
|
35
|
+
"Column Break",
|
|
36
|
+
"Tab Break",
|
|
37
|
+
"HTML",
|
|
38
|
+
"Table",
|
|
39
|
+
"Table MultiSelect",
|
|
40
|
+
"Button",
|
|
41
|
+
"Image",
|
|
42
|
+
"Fold",
|
|
43
|
+
"Heading",
|
|
44
|
+
]);
|
|
45
|
+
|
|
46
|
+
export const REPORT_NUMERIC_FIELDTYPES = new Set([
|
|
47
|
+
"Int",
|
|
48
|
+
"Float",
|
|
49
|
+
"Currency",
|
|
50
|
+
"Percent",
|
|
51
|
+
"Rating",
|
|
52
|
+
"Duration",
|
|
53
|
+
]);
|
|
54
|
+
|
|
55
|
+
const WIDE_FIELDTYPES = new Set([
|
|
56
|
+
"Small Text",
|
|
57
|
+
"Text",
|
|
58
|
+
"Long Text",
|
|
59
|
+
"Text Editor",
|
|
60
|
+
"Markdown Editor",
|
|
61
|
+
"Code",
|
|
62
|
+
"JSON",
|
|
63
|
+
]);
|
|
64
|
+
|
|
65
|
+
/** Desk report page lengths. */
|
|
66
|
+
export const REPORT_PAGE_SIZES = [20, 100, 500] as const;
|
|
67
|
+
export const DEFAULT_REPORT_PAGE_SIZE: number = REPORT_PAGE_SIZES[0];
|
|
68
|
+
|
|
69
|
+
export function defaultColumnWidth(fieldtype: string): number {
|
|
70
|
+
if (fieldtype === "Check") return 90;
|
|
71
|
+
if (REPORT_NUMERIC_FIELDTYPES.has(fieldtype)) return 110;
|
|
72
|
+
if (fieldtype === "Date") return 120;
|
|
73
|
+
if (fieldtype === "Datetime") return 165;
|
|
74
|
+
if (WIDE_FIELDTYPES.has(fieldtype)) return 240;
|
|
75
|
+
return 160;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function columnAlign(fieldtype: string): ReportColumnDef["align"] {
|
|
79
|
+
if (fieldtype === "Check") return "center";
|
|
80
|
+
return REPORT_NUMERIC_FIELDTYPES.has(fieldtype) ? "right" : "left";
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
function toColumnDef(field: DocFieldMeta): ReportColumnDef {
|
|
84
|
+
const fieldtype = String(field.fieldtype);
|
|
85
|
+
return {
|
|
86
|
+
fieldname: field.fieldname,
|
|
87
|
+
label: field.label || field.fieldname,
|
|
88
|
+
fieldtype,
|
|
89
|
+
kind: fieldKind(fieldtype),
|
|
90
|
+
options: field.options,
|
|
91
|
+
width: defaultColumnWidth(fieldtype),
|
|
92
|
+
align: columnAlign(fieldtype),
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/** Standard doc fields every doctype carries (absent from meta.fields). */
|
|
97
|
+
function standardReportColumns(): ReportColumnDef[] {
|
|
98
|
+
return [
|
|
99
|
+
{
|
|
100
|
+
fieldname: "name",
|
|
101
|
+
label: "ID",
|
|
102
|
+
fieldtype: "Data",
|
|
103
|
+
kind: "text",
|
|
104
|
+
width: 160,
|
|
105
|
+
align: "left",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
fieldname: "owner",
|
|
109
|
+
label: "Created By",
|
|
110
|
+
fieldtype: "Link",
|
|
111
|
+
kind: "link",
|
|
112
|
+
options: "User",
|
|
113
|
+
width: 160,
|
|
114
|
+
align: "left",
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
fieldname: "creation",
|
|
118
|
+
label: "Created On",
|
|
119
|
+
fieldtype: "Datetime",
|
|
120
|
+
kind: "date",
|
|
121
|
+
width: 165,
|
|
122
|
+
align: "left",
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
fieldname: "modified",
|
|
126
|
+
label: "Last Updated On",
|
|
127
|
+
fieldtype: "Datetime",
|
|
128
|
+
kind: "date",
|
|
129
|
+
width: 165,
|
|
130
|
+
align: "left",
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
fieldname: "modified_by",
|
|
134
|
+
label: "Last Updated By",
|
|
135
|
+
fieldtype: "Link",
|
|
136
|
+
kind: "link",
|
|
137
|
+
options: "User",
|
|
138
|
+
width: 160,
|
|
139
|
+
align: "left",
|
|
140
|
+
},
|
|
141
|
+
];
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Every column the picker can offer: ID + meta value-type data fields (in
|
|
146
|
+
* meta order, hidden included — desk's picker offers them too) + the
|
|
147
|
+
* remaining standard doc fields.
|
|
148
|
+
*/
|
|
149
|
+
export function reportColumnsFromMeta(meta?: DoctypeMeta): ReportColumnDef[] {
|
|
150
|
+
const out: ReportColumnDef[] = [];
|
|
151
|
+
const seen = new Set<string>();
|
|
152
|
+
const push = (column: ReportColumnDef) => {
|
|
153
|
+
if (!column.fieldname || seen.has(column.fieldname)) return;
|
|
154
|
+
seen.add(column.fieldname);
|
|
155
|
+
out.push(column);
|
|
156
|
+
};
|
|
157
|
+
push(standardReportColumns()[0]); // ID first, desk parity
|
|
158
|
+
for (const field of meta?.fields ?? []) {
|
|
159
|
+
const fieldtype = String(field.fieldtype);
|
|
160
|
+
if (VALUELESS_FIELDTYPES.has(fieldtype) || fieldtype.startsWith("Table")) continue;
|
|
161
|
+
push(toColumnDef(field));
|
|
162
|
+
}
|
|
163
|
+
for (const standard of standardReportColumns()) push(standard);
|
|
164
|
+
return out;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Desk default report columns (report_view.js set_default_fields):
|
|
169
|
+
* name, title_field, fields flagged in_list_view OR in_standard_filter
|
|
170
|
+
* (value-type, not report_hide), then modified (task addition — desk shows
|
|
171
|
+
* it once you scroll the picker; a fresh report should carry recency).
|
|
172
|
+
*/
|
|
173
|
+
export function defaultReportFieldnames(meta?: DoctypeMeta): string[] {
|
|
174
|
+
const out: string[] = [];
|
|
175
|
+
const seen = new Set<string>();
|
|
176
|
+
const push = (fieldname?: string) => {
|
|
177
|
+
if (!fieldname || seen.has(fieldname)) return;
|
|
178
|
+
seen.add(fieldname);
|
|
179
|
+
out.push(fieldname);
|
|
180
|
+
};
|
|
181
|
+
push("name");
|
|
182
|
+
push(meta?.title_field);
|
|
183
|
+
for (const field of meta?.fields ?? []) {
|
|
184
|
+
const fieldtype = String(field.fieldtype);
|
|
185
|
+
if (VALUELESS_FIELDTYPES.has(fieldtype) || fieldtype.startsWith("Table")) continue;
|
|
186
|
+
if (field.report_hide === 1) continue;
|
|
187
|
+
if (field.in_list_view === 1 || field.in_standard_filter === 1) push(field.fieldname);
|
|
188
|
+
}
|
|
189
|
+
push("modified");
|
|
190
|
+
return out;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/** Resolve selected fieldnames against the pickable set (drops unknowns). */
|
|
194
|
+
export function resolveSelectedColumns(
|
|
195
|
+
all: ReportColumnDef[],
|
|
196
|
+
fieldnames: readonly string[],
|
|
197
|
+
): ReportColumnDef[] {
|
|
198
|
+
const byName = new Map(all.map((column) => [column.fieldname, column]));
|
|
199
|
+
const out: ReportColumnDef[] = [];
|
|
200
|
+
for (const fieldname of fieldnames) {
|
|
201
|
+
const column = byName.get(fieldname);
|
|
202
|
+
if (column) out.push(column);
|
|
203
|
+
}
|
|
204
|
+
return out;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
// ── Per-column filter row → frappe tuples ─────────────────────
|
|
208
|
+
|
|
209
|
+
const COMPARISON_PREFIXES = [">=", "<=", "!=", ">", "<", "="] as const;
|
|
210
|
+
|
|
211
|
+
const CHECK_TRUE = new Set(["1", "true", "yes", "y", "✓"]);
|
|
212
|
+
const CHECK_FALSE = new Set(["0", "false", "no", "n"]);
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* One filter-row input → one frappe tuple (null = no filter yet).
|
|
216
|
+
* Mapping mirrors the list filter vocabulary (filter-fields):
|
|
217
|
+
* text / link → `like %value%` (contains; user-typed % wins)
|
|
218
|
+
* select → `=` on an exact option match (case-insensitive),
|
|
219
|
+
* else `like %value%` so partial typing still narrows
|
|
220
|
+
* check → yes/no/1/0/true/false → `= 1|0`
|
|
221
|
+
* number/date → optional comparison prefix (`>`, `<`, `>=`, `<=`, `!=`,
|
|
222
|
+
* `=`), bare values equal-match (desk operator-hint parity)
|
|
223
|
+
*/
|
|
224
|
+
export function columnFilterTuple(column: ReportColumnDef, raw: string): FrappeFilter | null {
|
|
225
|
+
const text = raw.trim();
|
|
226
|
+
if (!text) return null;
|
|
227
|
+
switch (column.kind) {
|
|
228
|
+
case "check": {
|
|
229
|
+
const lowered = text.toLowerCase();
|
|
230
|
+
if (CHECK_TRUE.has(lowered)) return [column.fieldname, "=", 1];
|
|
231
|
+
if (CHECK_FALSE.has(lowered)) return [column.fieldname, "=", 0];
|
|
232
|
+
return null;
|
|
233
|
+
}
|
|
234
|
+
case "select": {
|
|
235
|
+
const match = selectOptionsFromField(column.options).find(
|
|
236
|
+
(option) => option.value.toLowerCase() === text.toLowerCase(),
|
|
237
|
+
);
|
|
238
|
+
if (match) return [column.fieldname, "=", match.value];
|
|
239
|
+
return [column.fieldname, "like", text.includes("%") ? text : `%${text}%`];
|
|
240
|
+
}
|
|
241
|
+
case "number":
|
|
242
|
+
case "date": {
|
|
243
|
+
for (const prefix of COMPARISON_PREFIXES) {
|
|
244
|
+
if (text.startsWith(prefix)) {
|
|
245
|
+
const value = text.slice(prefix.length).trim();
|
|
246
|
+
return value ? [column.fieldname, prefix, value] : null;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
return [column.fieldname, "=", text];
|
|
250
|
+
}
|
|
251
|
+
default:
|
|
252
|
+
return [column.fieldname, "like", text.includes("%") ? text : `%${text}%`];
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/** All committed filter-row inputs → tuples (unparseable inputs skipped). */
|
|
257
|
+
export function columnFilterTuples(
|
|
258
|
+
columns: readonly ReportColumnDef[],
|
|
259
|
+
filters: Readonly<Record<string, string>>,
|
|
260
|
+
): FrappeFilters {
|
|
261
|
+
const out: FrappeFilters = [];
|
|
262
|
+
for (const column of columns) {
|
|
263
|
+
const raw = filters[column.fieldname];
|
|
264
|
+
if (raw === undefined) continue;
|
|
265
|
+
const tuple = columnFilterTuple(column, raw);
|
|
266
|
+
if (tuple) out.push(tuple);
|
|
267
|
+
}
|
|
268
|
+
return out;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
// ── `?f=` deep-link param ─────────────────────────────────────
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* Parse the `?f=` search param: urlencoded JSON FrappeFilters. The router
|
|
275
|
+
* usually decodes the param already, so the raw value is tried first
|
|
276
|
+
* (same contract as the list screen's parser). Malformed input degrades to
|
|
277
|
+
* "no filters".
|
|
278
|
+
*/
|
|
279
|
+
export function parseReportFiltersParam(raw: unknown): FrappeFilters | undefined {
|
|
280
|
+
if (typeof raw !== "string" || !raw) return undefined;
|
|
281
|
+
const candidates = [raw];
|
|
282
|
+
try {
|
|
283
|
+
const decoded = decodeURIComponent(raw);
|
|
284
|
+
if (decoded !== raw) candidates.push(decoded);
|
|
285
|
+
} catch {
|
|
286
|
+
// raw is not percent-encoded — the direct candidate covers it
|
|
287
|
+
}
|
|
288
|
+
for (const candidate of candidates) {
|
|
289
|
+
try {
|
|
290
|
+
const parsed: unknown = JSON.parse(candidate);
|
|
291
|
+
if (!Array.isArray(parsed)) continue;
|
|
292
|
+
const filters: FrappeFilters = [];
|
|
293
|
+
for (const tuple of parsed) {
|
|
294
|
+
if (
|
|
295
|
+
Array.isArray(tuple) &&
|
|
296
|
+
tuple.length === 3 &&
|
|
297
|
+
typeof tuple[0] === "string" &&
|
|
298
|
+
typeof tuple[1] === "string"
|
|
299
|
+
) {
|
|
300
|
+
filters.push([tuple[0], tuple[1], tuple[2]]);
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
if (filters.length > 0) return filters;
|
|
304
|
+
} catch {
|
|
305
|
+
// not JSON — try the next candidate
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
return undefined;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
// ── Desk saved-report round trip ──────────────────────────────
|
|
312
|
+
// Report docs store json = { fields: [fieldname, doctype][], filters:
|
|
313
|
+
// [doctype, fieldname, operator, value][], order_by: "`tabX`.`field` desc",
|
|
314
|
+
// add_totals_row, page_length, group_by, column_widths, ... }. Serialize
|
|
315
|
+
// the same shape so desk opens our reports and we open desk's.
|
|
316
|
+
|
|
317
|
+
export interface ReportViewConfig {
|
|
318
|
+
fieldnames: string[];
|
|
319
|
+
filters: FrappeFilters;
|
|
320
|
+
sort?: ReportSortState;
|
|
321
|
+
pageSize?: number;
|
|
322
|
+
groupBy?: string | null;
|
|
323
|
+
addTotals?: boolean;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
interface DeskGroupBySettings {
|
|
327
|
+
group_by?: string | null;
|
|
328
|
+
aggregate_function?: string;
|
|
329
|
+
aggregate_on?: string | null;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
export interface DeskReportSettings {
|
|
333
|
+
fields: Array<[string, string]>;
|
|
334
|
+
filters: Array<[string, string, string, unknown]>;
|
|
335
|
+
order_by: string;
|
|
336
|
+
add_totals_row: 0 | 1;
|
|
337
|
+
page_length: number;
|
|
338
|
+
column_widths: Record<string, number>;
|
|
339
|
+
group_by?: DeskGroupBySettings | null;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
const BACKTICK_FIELD_RE = /`tab([^`]+)`\.`([^`]+)`/;
|
|
343
|
+
|
|
344
|
+
function toDeskFieldExpr(doctype: string, fieldname: string): string {
|
|
345
|
+
return `\`tab${doctype}\`.\`${fieldname}\``;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
/** Parse "`tabUser`.`modified` desc" (or bare "modified desc"). */
|
|
349
|
+
export function parseDeskOrderBy(orderBy: unknown): ReportSortState | undefined {
|
|
350
|
+
if (typeof orderBy !== "string" || !orderBy.trim()) return undefined;
|
|
351
|
+
const [expr, direction] = orderBy.trim().split(/\s+/);
|
|
352
|
+
const backticked = expr.match(BACKTICK_FIELD_RE);
|
|
353
|
+
const field = backticked ? backticked[2] : expr.replace(/`/g, "");
|
|
354
|
+
if (!field) return undefined;
|
|
355
|
+
return { field, order: direction?.toLowerCase() === "asc" ? "asc" : "desc" };
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
export function toDeskReportSettings(
|
|
359
|
+
doctype: string,
|
|
360
|
+
config: ReportViewConfig,
|
|
361
|
+
): DeskReportSettings {
|
|
362
|
+
const sort = config.sort ?? { field: "modified", order: "desc" };
|
|
363
|
+
return {
|
|
364
|
+
fields: config.fieldnames.map((fieldname) => [fieldname, doctype]),
|
|
365
|
+
filters: config.filters.map(([fieldname, operator, value]) => [
|
|
366
|
+
doctype,
|
|
367
|
+
fieldname,
|
|
368
|
+
operator,
|
|
369
|
+
value,
|
|
370
|
+
]),
|
|
371
|
+
order_by: `${toDeskFieldExpr(doctype, sort.field)} ${sort.order}`,
|
|
372
|
+
add_totals_row: config.addTotals ? 1 : 0,
|
|
373
|
+
page_length: config.pageSize ?? DEFAULT_REPORT_PAGE_SIZE,
|
|
374
|
+
column_widths: {},
|
|
375
|
+
group_by: config.groupBy
|
|
376
|
+
? {
|
|
377
|
+
group_by: toDeskFieldExpr(doctype, config.groupBy),
|
|
378
|
+
aggregate_function: "count",
|
|
379
|
+
aggregate_on: null,
|
|
380
|
+
}
|
|
381
|
+
: null,
|
|
382
|
+
};
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* Desk Report json → view config. Child-doctype fields/filters are dropped
|
|
387
|
+
* (this view renders parent fields only — honest subset), legacy plain
|
|
388
|
+
* string field entries are honored.
|
|
389
|
+
*/
|
|
390
|
+
export function fromDeskReportSettings(
|
|
391
|
+
doctype: string,
|
|
392
|
+
json: unknown,
|
|
393
|
+
): ReportViewConfig | undefined {
|
|
394
|
+
if (!json || typeof json !== "object") return undefined;
|
|
395
|
+
const raw = json as Record<string, unknown>;
|
|
396
|
+
const fieldnames: string[] = [];
|
|
397
|
+
if (Array.isArray(raw.fields)) {
|
|
398
|
+
for (const entry of raw.fields) {
|
|
399
|
+
if (typeof entry === "string") {
|
|
400
|
+
fieldnames.push(entry);
|
|
401
|
+
} else if (Array.isArray(entry) && typeof entry[0] === "string") {
|
|
402
|
+
const fieldDoctype = typeof entry[1] === "string" ? entry[1] : doctype;
|
|
403
|
+
if (fieldDoctype === doctype) fieldnames.push(entry[0]);
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
const filters: FrappeFilters = [];
|
|
408
|
+
if (Array.isArray(raw.filters)) {
|
|
409
|
+
for (const entry of raw.filters) {
|
|
410
|
+
if (!Array.isArray(entry)) continue;
|
|
411
|
+
if (entry.length === 4) {
|
|
412
|
+
const [filterDoctype, fieldname, operator, value] = entry;
|
|
413
|
+
if (
|
|
414
|
+
filterDoctype === doctype &&
|
|
415
|
+
typeof fieldname === "string" &&
|
|
416
|
+
typeof operator === "string"
|
|
417
|
+
) {
|
|
418
|
+
filters.push([fieldname, operator, value]);
|
|
419
|
+
}
|
|
420
|
+
} else if (
|
|
421
|
+
entry.length === 3 &&
|
|
422
|
+
typeof entry[0] === "string" &&
|
|
423
|
+
typeof entry[1] === "string"
|
|
424
|
+
) {
|
|
425
|
+
filters.push([entry[0], entry[1], entry[2]]);
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
const groupByRaw = raw.group_by as DeskGroupBySettings | null | undefined;
|
|
430
|
+
const groupByExpr = typeof groupByRaw?.group_by === "string" ? groupByRaw.group_by : undefined;
|
|
431
|
+
const groupByMatch = groupByExpr?.match(BACKTICK_FIELD_RE);
|
|
432
|
+
return {
|
|
433
|
+
fieldnames,
|
|
434
|
+
filters,
|
|
435
|
+
sort: parseDeskOrderBy(raw.order_by),
|
|
436
|
+
pageSize:
|
|
437
|
+
typeof raw.page_length === "number" && raw.page_length > 0 ? raw.page_length : undefined,
|
|
438
|
+
groupBy: groupByMatch ? groupByMatch[2] : null,
|
|
439
|
+
addTotals: raw.add_totals_row === 1,
|
|
440
|
+
};
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
// ── Sorting, grouping, totals ─────────────────────────────────
|
|
444
|
+
|
|
445
|
+
function isNullish(value: unknown): value is null | undefined {
|
|
446
|
+
return value === null || value === undefined;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
export function compareCellValues(a: unknown, b: unknown): number {
|
|
450
|
+
if (isNullish(a) && isNullish(b)) return 0;
|
|
451
|
+
if (isNullish(a)) return 1;
|
|
452
|
+
if (isNullish(b)) return -1;
|
|
453
|
+
if (typeof a === "number" && typeof b === "number") return a - b;
|
|
454
|
+
const left = String(a);
|
|
455
|
+
const right = String(b);
|
|
456
|
+
return left < right ? -1 : left > right ? 1 : 0;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* Deterministic client ordering of the live collection rows (live-query row
|
|
461
|
+
* order is not guaranteed): group field first (when grouping), then the
|
|
462
|
+
* sort field in its direction, name as the final tiebreak.
|
|
463
|
+
*/
|
|
464
|
+
export function orderReportRows(
|
|
465
|
+
rows: readonly ReportRow[],
|
|
466
|
+
sort: ReportSortState,
|
|
467
|
+
groupBy?: string | null,
|
|
468
|
+
): ReportRow[] {
|
|
469
|
+
const direction = sort.order === "asc" ? 1 : -1;
|
|
470
|
+
const sorted = [...rows];
|
|
471
|
+
sorted.sort((a, b) => {
|
|
472
|
+
if (groupBy) {
|
|
473
|
+
const grouped = compareCellValues(a[groupBy], b[groupBy]);
|
|
474
|
+
if (grouped !== 0) return grouped;
|
|
475
|
+
}
|
|
476
|
+
const left = a[sort.field];
|
|
477
|
+
const right = b[sort.field];
|
|
478
|
+
const ordered =
|
|
479
|
+
isNullish(left) || isNullish(right)
|
|
480
|
+
? compareCellValues(left, right)
|
|
481
|
+
: direction * compareCellValues(left, right);
|
|
482
|
+
return ordered || compareCellValues(a.name, b.name);
|
|
483
|
+
});
|
|
484
|
+
return sorted;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
export interface ReportGroupHeader {
|
|
488
|
+
kind: "group";
|
|
489
|
+
key: string;
|
|
490
|
+
value: unknown;
|
|
491
|
+
/** Rows carrying this value across the FULL filtered result. */
|
|
492
|
+
count: number;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
export interface ReportDataRow {
|
|
496
|
+
kind: "row";
|
|
497
|
+
key: string;
|
|
498
|
+
row: ReportRow;
|
|
499
|
+
/** 1-based position in the full ordered result (row-number column). */
|
|
500
|
+
index: number;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
export type ReportGridRow = ReportGroupHeader | ReportDataRow;
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* Page slice → grid rows. With grouping active, group headers are injected
|
|
507
|
+
* at value boundaries inside the page; counts cover the full ordered result
|
|
508
|
+
* so a group spanning pages reads honestly.
|
|
509
|
+
*/
|
|
510
|
+
export function buildGridRows(
|
|
511
|
+
orderedRows: readonly ReportRow[],
|
|
512
|
+
pageStart: number,
|
|
513
|
+
pageSize: number,
|
|
514
|
+
groupBy?: string | null,
|
|
515
|
+
): ReportGridRow[] {
|
|
516
|
+
const page = orderedRows.slice(pageStart, pageStart + pageSize);
|
|
517
|
+
const out: ReportGridRow[] = [];
|
|
518
|
+
let previousGroup: string | undefined;
|
|
519
|
+
const counts = new Map<string, number>();
|
|
520
|
+
if (groupBy) {
|
|
521
|
+
for (const row of orderedRows) {
|
|
522
|
+
const groupKey = String(row[groupBy] ?? "");
|
|
523
|
+
counts.set(groupKey, (counts.get(groupKey) ?? 0) + 1);
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
page.forEach((row, index) => {
|
|
527
|
+
if (groupBy) {
|
|
528
|
+
const groupKey = String(row[groupBy] ?? "");
|
|
529
|
+
if (previousGroup === undefined || groupKey !== previousGroup) {
|
|
530
|
+
previousGroup = groupKey;
|
|
531
|
+
out.push({
|
|
532
|
+
kind: "group",
|
|
533
|
+
key: `group:${groupKey}:${pageStart + index}`,
|
|
534
|
+
value: row[groupBy],
|
|
535
|
+
count: counts.get(groupKey) ?? 0,
|
|
536
|
+
});
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
out.push({ kind: "row", key: row.name, row, index: pageStart + index + 1 });
|
|
540
|
+
});
|
|
541
|
+
return out;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
export interface ReportTotalsCell {
|
|
545
|
+
fieldname: string;
|
|
546
|
+
fieldtype: string;
|
|
547
|
+
value: number;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
/** Sums per visible numeric column over the FULL filtered result. */
|
|
551
|
+
export function computeTotals(
|
|
552
|
+
columns: readonly ReportColumnDef[],
|
|
553
|
+
rows: readonly ReportRow[],
|
|
554
|
+
): ReportTotalsCell[] {
|
|
555
|
+
if (rows.length === 0) return [];
|
|
556
|
+
return columns
|
|
557
|
+
.filter((column) => REPORT_NUMERIC_FIELDTYPES.has(column.fieldtype))
|
|
558
|
+
.map((column) => ({
|
|
559
|
+
fieldname: column.fieldname,
|
|
560
|
+
fieldtype: column.fieldtype,
|
|
561
|
+
value: rows.reduce((sum, row) => sum + (Number(row[column.fieldname]) || 0), 0),
|
|
562
|
+
}));
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
// ── CSV export ────────────────────────────────────────────────
|
|
566
|
+
|
|
567
|
+
function escapeCsvCell(value: unknown): string {
|
|
568
|
+
if (value === null || value === undefined) return "";
|
|
569
|
+
const text = String(value);
|
|
570
|
+
return /[",\n]/.test(text) ? `"${text.replace(/"/g, '""')}"` : text;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
/** CSV over the FULL filtered + ordered result (not just the page). */
|
|
574
|
+
export function buildReportCsv(
|
|
575
|
+
columns: readonly ReportColumnDef[],
|
|
576
|
+
rows: readonly ReportRow[],
|
|
577
|
+
): string {
|
|
578
|
+
const lines = [
|
|
579
|
+
columns.map((column) => escapeCsvCell(column.label)).join(","),
|
|
580
|
+
...rows.map((row) => columns.map((column) => escapeCsvCell(row[column.fieldname])).join(",")),
|
|
581
|
+
];
|
|
582
|
+
return lines.join("\n");
|
|
583
|
+
}
|