@antelopejs/dms 0.19.4 → 0.19.5
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/CHANGELOG.md +35 -0
- package/dist/attachments/bindings.js +4 -2
- package/dist/attachments/bindings.js.map +1 -1
- package/dist/attachments/fields.d.ts +2 -2
- package/dist/attachments/fields.js +3 -2
- package/dist/attachments/fields.js.map +1 -1
- package/dist/attachments/save.d.ts +1 -1
- package/dist/attachments/save.js +2 -2
- package/dist/attachments/save.js.map +1 -1
- package/dist/attachments/table-view.js +13 -4
- package/dist/attachments/table-view.js.map +1 -1
- package/dist/automation/actions.js +2 -1
- package/dist/automation/actions.js.map +1 -1
- package/dist/automation/events.d.ts +5 -1
- package/dist/automation/events.js +10 -7
- package/dist/automation/events.js.map +1 -1
- package/dist/automation/send-notification.d.ts +2 -2
- package/dist/automation/send-notification.js +4 -3
- package/dist/automation/send-notification.js.map +1 -1
- package/dist/automation/sources.js.map +1 -1
- package/dist/automation/triggers.js +3 -5
- package/dist/automation/triggers.js.map +1 -1
- package/dist/db/guard-row.d.ts +2 -1
- package/dist/db/guard-row.js.map +1 -1
- package/dist/db/models/userNotificationPreferences.model.js +2 -1
- package/dist/db/models/userNotificationPreferences.model.js.map +1 -1
- package/dist/db/models/userNotifications.model.js +2 -1
- package/dist/db/models/userNotifications.model.js.map +1 -1
- package/dist/dev/module-update-notifications.js +10 -4
- package/dist/dev/module-update-notifications.js.map +1 -1
- package/dist/hooks/internal/workspace-notifications.js +8 -5
- package/dist/hooks/internal/workspace-notifications.js.map +1 -1
- package/dist/implementations/dms/menu-categories.d.ts +4 -4
- package/dist/implementations/dms/menu-categories.js +1 -0
- package/dist/implementations/dms/menu-categories.js.map +1 -1
- package/dist/implementations/dms/page/module-catalog.js +2 -1
- package/dist/implementations/dms/page/module-catalog.js.map +1 -1
- package/dist/implementations/dms/page/preview-models.d.ts +82 -6
- package/dist/implementations/dms/page/preview-models.js +43 -22
- package/dist/implementations/dms/page/preview-models.js.map +1 -1
- package/dist/implementations/dms/page/preview-pages.js +1 -1
- package/dist/implementations/dms/page/preview-pages.js.map +1 -1
- package/dist/implementations/dms/page/types.d.ts +0 -1
- package/dist/implementations/dms/permission-preview.d.ts +9 -3
- package/dist/implementations/dms/permission-preview.js +29 -2
- package/dist/implementations/dms/permission-preview.js.map +1 -1
- package/dist/implementations/dms-auth/index.d.ts +8 -1
- package/dist/implementations/dms-auth/index.js +40 -16
- package/dist/implementations/dms-auth/index.js.map +1 -1
- package/dist/implementations/dms-auth/session-handoff.js +4 -3
- package/dist/implementations/dms-auth/session-handoff.js.map +1 -1
- package/dist/implementations/dms-auth/token-session.js +2 -1
- package/dist/implementations/dms-auth/token-session.js.map +1 -1
- package/dist/implementations/dms-base/bulk-selection.js +2 -1
- package/dist/implementations/dms-base/bulk-selection.js.map +1 -1
- package/dist/implementations/dms-base/filter-tokens.js +2 -3
- package/dist/implementations/dms-base/filter-tokens.js.map +1 -1
- package/dist/implementations/dms-base/footer-summary.js.map +1 -1
- package/dist/implementations/dms-base/search-route.d.ts +3 -3
- package/dist/implementations/dms-base/search-route.js +4 -3
- package/dist/implementations/dms-base/search-route.js.map +1 -1
- package/dist/implementations/dms-base/table-view.d.ts +7 -7
- package/dist/implementations/dms-base/table-view.js +5 -4
- package/dist/implementations/dms-base/table-view.js.map +1 -1
- package/dist/implementations/dms-notifications/delivery-guard.js +2 -1
- package/dist/implementations/dms-notifications/delivery-guard.js.map +1 -1
- package/dist/pages/public/preview/block-types.d.ts +2 -1
- package/dist/pages/settings/overview/account-summary.js.map +1 -1
- package/dist/pages/settings/users/account-activity-feed.js +2 -1
- package/dist/pages/settings/users/account-activity-feed.js.map +1 -1
- package/dist/pages/settings/users/account-activity.js +29 -1
- package/dist/pages/settings/users/account-activity.js.map +1 -1
- package/dist/pages/settings/users/account-data.d.ts +54 -5
- package/dist/pages/settings/users/account-data.js.map +1 -1
- package/dist/pages/settings/users/member-change-notifications.d.ts +3 -1
- package/dist/pages/settings/users/member-change-notifications.js.map +1 -1
- package/dist/pages/settings/users/member-invite-batch.js +2 -1
- package/dist/pages/settings/users/member-invite-batch.js.map +1 -1
- package/dist/pages/settings/users/member-management.d.ts +2 -2
- package/dist/pages/settings/users/member-management.js.map +1 -1
- package/dist/pages/settings/users/members.js +2 -3
- package/dist/pages/settings/users/members.js.map +1 -1
- package/dist/pages/settings/users/notifications.js.map +1 -1
- package/dist/pages/settings/users/profile-helpers.js +9 -1
- package/dist/pages/settings/users/profile-helpers.js.map +1 -1
- package/dist/pages/settings/users/profile.js +18 -2
- package/dist/pages/settings/users/profile.js.map +1 -1
- package/dist/pages/settings/users/regional-preferences.js +6 -2
- package/dist/pages/settings/users/regional-preferences.js.map +1 -1
- package/dist/pages/settings/users/role-editor-store.d.ts +2 -2
- package/dist/pages/settings/users/role-editor-store.js.map +1 -1
- package/dist/pages/settings/users/two-factor-operations.js +1 -0
- package/dist/pages/settings/users/two-factor-operations.js.map +1 -1
- package/dist/realtime/broker.d.ts +2 -1
- package/dist/realtime/broker.js.map +1 -1
- package/dist/routes/auth/oauth/config.js +2 -1
- package/dist/routes/auth/oauth/config.js.map +1 -1
- package/dist/routes/auth/oauth/providers.d.ts +21 -1
- package/dist/routes/auth/oauth/providers.js +2 -2
- package/dist/routes/auth/oauth/providers.js.map +1 -1
- package/dist/store/declarations.d.ts +1 -8
- package/dist/store/declarations.js +2 -3
- package/dist/store/declarations.js.map +1 -1
- package/dist/store/internal/frontend/frontend-backend-proxies.js +3 -2
- package/dist/store/internal/frontend/frontend-backend-proxies.js.map +1 -1
- package/dist/store/internal/frontend/frontend-modules.js +3 -2
- package/dist/store/internal/frontend/frontend-modules.js.map +1 -1
- package/dist/store/internal/frontend/frontend-public-endpoints.js +8 -9
- package/dist/store/internal/frontend/frontend-public-endpoints.js.map +1 -1
- package/dist/store/internal/frontend/manifest.js +5 -4
- package/dist/store/internal/frontend/manifest.js.map +1 -1
- package/dist/store/operations.js.map +1 -1
- package/dist/store/registry.js +19 -7
- package/dist/store/registry.js.map +1 -1
- package/dist/store/types.d.ts +2 -1
- package/dist/utils/account-notifications.js +8 -5
- package/dist/utils/account-notifications.js.map +1 -1
- package/dist/utils/admin-invite-email.js.map +1 -1
- package/dist/utils/client-ip.js +2 -1
- package/dist/utils/client-ip.js.map +1 -1
- package/dist/utils/email-subjects.js.map +1 -1
- package/dist/utils/export-jobs-run.js +1 -1
- package/dist/utils/export-jobs-run.js.map +1 -1
- package/dist/utils/export-jobs.js +1 -4
- package/dist/utils/export-jobs.js.map +1 -1
- package/dist/utils/row-action-rule-evaluator.d.ts +2 -1
- package/dist/utils/row-action-rule-evaluator.js.map +1 -1
- package/dist/utils/sign-in-country.d.ts +1 -1
- package/dist/utils/sign-in-country.js +2 -1
- package/dist/utils/sign-in-country.js.map +1 -1
- package/dist/utils/tenant-instances.js +1 -1
- package/dist/utils/tenant-instances.js.map +1 -1
- package/dist/utils/two-factor-codes.d.ts +1 -0
- package/dist/utils/two-factor-codes.js +6 -0
- package/dist/utils/two-factor-codes.js.map +1 -1
- package/dist/utils/upload-token.js +7 -6
- package/dist/utils/upload-token.js.map +1 -1
- package/dist/utils/user-agent.js.map +1 -1
- package/dist/validation/store.schema.d.ts +3 -0
- package/dist/validation/store.schema.js +2 -1
- package/dist/validation/store.schema.js.map +1 -1
- package/frontend-vue/eslint-globals.generated.d.mts +8 -0
- package/frontend-vue/eslint-globals.generated.mjs +942 -0
- package/frontend-vue/layers/dms-auth/app/custom-pages/auth/2fa.vue +1 -1
- package/frontend-vue/layers/dms-auth/app/custom-pages/auth/forgot-validation.vue +1 -1
- package/frontend-vue/layers/dms-auth/app/custom-pages/auth/signup.vue +1 -2
- package/frontend-vue/layers/dms-auth/app/custom-pages/auth/validate.vue +1 -1
- package/frontend-vue/layers/dms-auth/server/accounts.ts +0 -1
- package/frontend-vue/layers/dms-auth/server/actions.ts +0 -2
- package/frontend-vue/layers/dms-auth/server/oauth.ts +0 -2
- package/frontend-vue/layers/dms-auth/server/session.ts +0 -2
- package/frontend-vue/layers/dms-core/app/build/composables/user/preferencesCookie.ts +0 -1
- package/frontend-vue/layers/dms-core/app/build/composables/user/tablePreferences.ts +0 -2
- package/frontend-vue/layers/dms-core/app/build/utils/crossTab.ts +0 -1
- package/frontend-vue/layers/dms-core/app/build/utils/permission-preview.ts +0 -1
- package/frontend-vue/layers/dms-core/app/build/utils/sharedRealtimeConnection.ts +0 -4
- package/frontend-vue/layers/dms-core/app/composables/auth/useAuthFetch.ts +11 -7
- package/frontend-vue/layers/dms-core/app/composables/auth/useMultiAccount.ts +2 -5
- package/frontend-vue/layers/dms-core/app/composables/auth/useSessionRecovery.ts +0 -1
- package/frontend-vue/layers/dms-core/app/composables/data-types/useDataType.ts +0 -2
- package/frontend-vue/layers/dms-core/app/composables/page/useSiteLayout.ts +41 -25
- package/frontend-vue/layers/dms-core/app/composables/realtime/useSseStream.ts +0 -2
- package/frontend-vue/layers/dms-core/app/composables/realtime/useUserRealtime.ts +0 -1
- package/frontend-vue/layers/dms-core/app/composables/useEventedAction.ts +0 -1
- package/frontend-vue/layers/dms-core/app/composables/useFieldErrors.ts +0 -2
- package/frontend-vue/layers/dms-core/app/composables/useTrailingDeduper.ts +10 -11
- package/frontend-vue/layers/dms-core/app/composables/user/usePreferences.ts +0 -1
- package/frontend-vue/layers/dms-core/app/composables/watch/useWatch.ts +0 -1
- package/frontend-vue/layers/dms-core/app/types/module-store.ts +0 -1
- package/frontend-vue/layers/dms-core/app/types/page.ts +0 -2
- package/frontend-vue/layers/dms-core/app/types/watch.ts +0 -1
- package/frontend-vue/layers/dms-core/app/utils/composedText.ts +34 -26
- package/frontend-vue/layers/dms-core/app/utils/dedupedRefresh.ts +0 -2
- package/frontend-vue/layers/dms-core/app/utils/formatter.ts +0 -2
- package/frontend-vue/layers/dms-core/app/utils/menu.ts +0 -1
- package/frontend-vue/layers/dms-core/app/utils/pageQuery.ts +0 -1
- package/frontend-vue/layers/dms-core/app/utils/query-validation.ts +0 -1
- package/frontend-vue/layers/dms-core/app/utils/stringTypeParser.ts +0 -1
- package/frontend-vue/layers/dms-core/app/utils/type-check.ts +0 -3
- package/frontend-vue/layers/dms-layout/app/build/components/layout/CommandPaletteAssistantAnswer.vue +1 -1
- package/frontend-vue/layers/dms-layout/app/build/components/layout/DashboardHeader.vue +8 -3
- package/frontend-vue/layers/dms-layout/app/build/components/layout/DashboardSidebar.vue +1 -2
- package/frontend-vue/layers/dms-layout/app/build/components/layout/PageHeaderActionBar.vue +1 -5
- package/frontend-vue/layers/dms-layout/app/build/components/layout/PageSkeleton.vue +1 -1
- package/frontend-vue/layers/dms-layout/app/build/components/notification/NotificationPopover.vue +0 -1
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/members/MemberRolePicker.vue +1 -1
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/profile/ProfilePersonalInfo.vue +1 -1
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/profile/ProfileSummaryRow.vue +2 -3
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/security/SecurityEmail.vue +1 -1
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/security/SecurityPassword.vue +4 -4
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/security/SecuritySessions.vue +1 -2
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/security/SecurityTwoFactor.vue +1 -1
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/theme/AppearanceAccessibility.vue +2 -2
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/theme/AppearanceDeveloper.vue +1 -1
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/theme/AppearanceSidebar.vue +1 -1
- package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/theme/CssVariablesList.vue +0 -1
- package/frontend-vue/layers/dms-layout/app/build/composables/navigation/useVisitNavBadges.ts +0 -1
- package/frontend-vue/layers/dms-layout/app/build/composables/settings/security/useSecurityFormat.ts +0 -3
- package/frontend-vue/layers/dms-layout/app/build/utils/modules-catalog.ts +0 -1
- package/frontend-vue/layers/dms-layout/app/composables/page/useModuleHistory.ts +0 -1
- package/frontend-vue/layers/dms-layout/app/composables/page/useModulesListing.ts +0 -3
- package/frontend-vue/layers/dms-layout/app/composables/page/usePageComponentPreload.ts +0 -1
- package/frontend-vue/layers/dms-layout/app/custom-pages/settings/roles.vue +0 -1
- package/frontend-vue/layers/dms-layout/app/custom-pages/settings/shortcuts.vue +0 -1
- package/frontend-vue/layers/dms-layout/app/emails/components/EmailLayout.vue +2 -2
- package/frontend-vue/layers/dms-layout/app/pages/[...slug].vue +0 -2
- package/frontend-vue/layers/dms-layout/app/plugins/profile-sync.client.ts +0 -2
- package/frontend-vue/layers/dms-layout/app/utils/breadcrumb.ts +0 -1
- package/frontend-vue/layers/dms-onboarding/app/build/components/onboarding/StepIndicator.vue +12 -6
- package/frontend-vue/layers/dms-ui/app/build/components/chart/internal/ChartSkeleton.vue +1 -1
- package/frontend-vue/layers/dms-ui/app/build/components/containers/drawer/DynamicDrawer.vue +10 -16
- package/frontend-vue/layers/dms-ui/app/build/components/containers/modal/DynamicModal.vue +0 -2
- package/frontend-vue/layers/dms-ui/app/build/components/containers/row/RowHeader.vue +0 -1
- package/frontend-vue/layers/dms-ui/app/build/components/period/PeriodRangeCalendar.vue +0 -4
- package/frontend-vue/layers/dms-ui/app/build/components/skeleton/RowSkeleton.vue +1 -1
- package/frontend-vue/layers/dms-ui/app/build/components/sortable/SortableList.vue +0 -2
- package/frontend-vue/layers/dms-ui/app/build/components/stat/StatCell.vue +5 -5
- package/frontend-vue/layers/dms-ui/app/build/components/table/Actions.vue +0 -1
- package/frontend-vue/layers/dms-ui/app/build/components/table/FiltersRow.vue +0 -4
- package/frontend-vue/layers/dms-ui/app/build/components/table/Menu.vue +0 -1
- package/frontend-vue/layers/dms-ui/app/build/components/table/MenuColumns.vue +0 -1
- package/frontend-vue/layers/dms-ui/app/build/components/table/MenuDensity.vue +0 -1
- package/frontend-vue/layers/dms-ui/app/build/components/table/MenuFilter.vue +0 -1
- package/frontend-vue/layers/dms-ui/app/build/components/table/MenuImport.vue +0 -1
- package/frontend-vue/layers/dms-ui/app/build/components/table/MenuPage.vue +0 -1
- package/frontend-vue/layers/dms-ui/app/build/components/table/MenuRoot.vue +0 -1
- package/frontend-vue/layers/dms-ui/app/build/components/table/MenuSort.vue +0 -1
- package/frontend-vue/layers/dms-ui/app/build/components/table/MenuViewMode.vue +0 -1
- package/frontend-vue/layers/dms-ui/app/build/components/table/Pagination.vue +1 -2
- package/frontend-vue/layers/dms-ui/app/build/components/table/RowSelection.vue +0 -1
- package/frontend-vue/layers/dms-ui/app/build/components/table/Table.vue +1 -2
- package/frontend-vue/layers/dms-ui/app/build/components/table/TableBody.vue +1 -1
- package/frontend-vue/layers/dms-ui/app/build/components/table/Tabs.vue +1 -2
- package/frontend-vue/layers/dms-ui/app/build/components/table/Views.vue +1 -2
- package/frontend-vue/layers/dms-ui/app/build/components/table/tableComponentScroll.ts +4 -4
- package/frontend-vue/layers/dms-ui/app/build/components/table-view/CardGridSkeleton.vue +2 -0
- package/frontend-vue/layers/dms-ui/app/build/components/table-view/CardsDisplay.vue +0 -2
- package/frontend-vue/layers/dms-ui/app/build/components/table-view/ExpandedRowDetail.vue +1 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/actions/actionTargetRows.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/blocks/useGuard.ts +0 -4
- package/frontend-vue/layers/dms-ui/app/build/composables/chart/apexRawOptions.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/build/composables/chart/apexSeriesStyle.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/chart/apexTheme.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/build/composables/confirm/useActionConfirm.ts +5 -4
- package/frontend-vue/layers/dms-ui/app/build/composables/containers/closingLayers.ts +2 -2
- package/frontend-vue/layers/dms-ui/app/build/composables/containers/drawerSize.ts +0 -3
- package/frontend-vue/layers/dms-ui/app/build/composables/containers/instanceProvides.ts +14 -0
- package/frontend-vue/layers/dms-ui/app/build/composables/data-types/defaultChoiceTypes.ts +0 -3
- package/frontend-vue/layers/dms-ui/app/build/composables/data-types/defaultDateCells.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/data-types/defaultIdentityCells.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/data-types/defaultMediaTypes.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/build/composables/data-types/defaultPrimitiveTypes.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/build/composables/data-types/defaultRelationTypes.ts +1 -4
- package/frontend-vue/layers/dms-ui/app/build/composables/data-types/metricCells.ts +0 -3
- package/frontend-vue/layers/dms-ui/app/build/composables/data-types/numberSuffix.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/build/composables/data-types/relationRows.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/data-types/relationValue.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/build/composables/data-types/twoLineCell.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/build/composables/data-types/useColumnValueRenderer.ts +0 -3
- package/frontend-vue/layers/dms-ui/app/build/composables/form/fieldSaved.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/form/formComponentRealtime.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/form/formComponentValidation.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/build/composables/form/formState.ts +0 -3
- package/frontend-vue/layers/dms-ui/app/build/composables/form/formValidation.ts +2 -3
- package/frontend-vue/layers/dms-ui/app/build/composables/form/registerFormFunctions.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/build/composables/form/repeaterTable.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/form/useFormModel.ts +0 -5
- package/frontend-vue/layers/dms-ui/app/build/composables/form/useInstantForm.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/build/composables/instant-save/useInstantSave.ts +1 -5
- package/frontend-vue/layers/dms-ui/app/build/composables/layout/rowSidePanel.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/layout/sidePanelState.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/build/composables/live/missedTally.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/live/pageLiveController.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/period/periodQuery.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/build/composables/table/tableColumnActionSizing.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table/tableColumnStructure.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/registerDefaultFunctions.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/tableRowActionContainers.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/tableRowActionValues.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/tableViewDisplays.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/tableViewRealtime.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/tableViewTabs.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/usePersistedPagination.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/useReorderHandles.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/useTableLiveHold.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/useTablePreferences.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/useTableReorder.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/useTableRows.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/bulkActions.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/card.ts +0 -3
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/expandedRows.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/groupedRows.ts +0 -3
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/reorder.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/sortableColumns.ts +0 -3
- package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/tableQuery.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/composables/unsaved-changes/formValue.ts +0 -9
- package/frontend-vue/layers/dms-ui/app/build/composables/unsaved-changes/registry.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/utils/accessibilityPreferences.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/build/utils/blockPreview.ts +1 -5
- package/frontend-vue/layers/dms-ui/app/build/utils/calendarDay.ts +18 -0
- package/frontend-vue/layers/dms-ui/app/build/utils/dispatchQuickActionTarget.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/utils/fetchNotFound.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/build/utils/fieldOptionsI18n.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/build/utils/rowClickTrigger.ts +5 -6
- package/frontend-vue/layers/dms-ui/app/build/utils/streamHighlight.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/build/utils/urlVariables.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/components/PasswordStrength.vue +14 -21
- package/frontend-vue/layers/dms-ui/app/components/RecursiveComponent.vue +0 -2
- package/frontend-vue/layers/dms-ui/app/components/block-preview/BlockPreview.vue +0 -2
- package/frontend-vue/layers/dms-ui/app/components/blocks/BannerBlock.vue +0 -1
- package/frontend-vue/layers/dms-ui/app/components/blocks/CodeBlock.vue +1 -1
- package/frontend-vue/layers/dms-ui/app/components/card/NavCard.vue +1 -2
- package/frontend-vue/layers/dms-ui/app/components/chart/ApexChartHost.vue +0 -4
- package/frontend-vue/layers/dms-ui/app/components/chart/Chart.vue +1 -4
- package/frontend-vue/layers/dms-ui/app/components/chart/ChartCard.vue +1 -1
- package/frontend-vue/layers/dms-ui/app/components/chart/internal/TrendBadge.vue +2 -1
- package/frontend-vue/layers/dms-ui/app/components/code-snippet/CodeSnippet.vue +0 -1
- package/frontend-vue/layers/dms-ui/app/components/confirm/ConfirmModal.vue +5 -5
- package/frontend-vue/layers/dms-ui/app/components/flow-canvas/FlowCanvas.vue +0 -3
- package/frontend-vue/layers/dms-ui/app/components/form/Form.vue +1 -4
- package/frontend-vue/layers/dms-ui/app/components/form/components/Calendar.vue +51 -41
- package/frontend-vue/layers/dms-ui/app/components/form/components/Cascader.vue +3 -1
- package/frontend-vue/layers/dms-ui/app/components/form/components/DatePicker.vue +31 -24
- package/frontend-vue/layers/dms-ui/app/components/form/components/Display.vue +1 -1
- package/frontend-vue/layers/dms-ui/app/components/form/components/Image.vue +4 -5
- package/frontend-vue/layers/dms-ui/app/components/form/components/InputAddress.vue +20 -11
- package/frontend-vue/layers/dms-ui/app/components/form/components/InputNumber.vue +2 -2
- package/frontend-vue/layers/dms-ui/app/components/form/components/Relation.vue +8 -7
- package/frontend-vue/layers/dms-ui/app/components/form/components/imageItems.ts +22 -33
- package/frontend-vue/layers/dms-ui/app/components/key-value-list/KeyValueList.vue +1 -1
- package/frontend-vue/layers/dms-ui/app/components/kpi/KpiCard.vue +2 -2
- package/frontend-vue/layers/dms-ui/app/components/master-detail/MasterDetail.vue +0 -1
- package/frontend-vue/layers/dms-ui/app/components/meter/MeterBlock.vue +1 -1
- package/frontend-vue/layers/dms-ui/app/components/period/usePeriodSelectorInteraction.ts +0 -3
- package/frontend-vue/layers/dms-ui/app/components/table-view/KanbanBoard.vue +2 -3
- package/frontend-vue/layers/dms-ui/app/components/table-view/KanbanDisplay.vue +0 -1
- package/frontend-vue/layers/dms-ui/app/components/table-view/TableView.vue +1 -1
- package/frontend-vue/layers/dms-ui/app/components/top-list/TopListCard.vue +3 -3
- package/frontend-vue/layers/dms-ui/app/composables/chart/apexDatetimeBuckets.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/composables/chart/events.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/composables/chart/localizeSeries.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/composables/chart/useApexChart.ts +2 -8
- package/frontend-vue/layers/dms-ui/app/composables/chart/useApexChart.types.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/composables/chart/useChartFetch.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/composables/confirm/types.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/composables/containers/openDynamicContainer.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/composables/containers/useDrawer.ts +3 -8
- package/frontend-vue/layers/dms-ui/app/composables/form/types/props.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/composables/form/useForm.ts +1 -7
- package/frontend-vue/layers/dms-ui/app/composables/table-view/types/action-target.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/composables/table-view/types/column.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/composables/table-view/types/display.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/composables/table-view/useTableViewExport.ts +0 -3
- package/frontend-vue/layers/dms-ui/app/composables/useExportJob.ts +0 -3
- package/frontend-vue/layers/dms-ui/app/utils/blockRefresh.ts +0 -1
- package/frontend-vue/layers/dms-ui/app/utils/cascader.ts +0 -2
- package/frontend-vue/layers/dms-ui/app/utils/metadataRetry.ts +0 -1
- package/frontend-vue/package.json +2 -0
- package/frontend-vue/scripts/probes/frontend-legacy.cjs +0 -2
- package/package.json +9 -1
|
@@ -302,8 +302,8 @@ const gridStyle = computed(() => ({
|
|
|
302
302
|
{{ badgeLabel }}
|
|
303
303
|
</UBadge>
|
|
304
304
|
<USkeleton
|
|
305
|
-
:aria-label="t('dms.a11y.loading')"
|
|
306
305
|
v-else
|
|
306
|
+
:aria-label="t('dms.a11y.loading')"
|
|
307
307
|
class="h-5 w-16 rounded-[5px]"
|
|
308
308
|
aria-hidden="true"
|
|
309
309
|
/>
|
|
@@ -384,8 +384,8 @@ const gridStyle = computed(() => ({
|
|
|
384
384
|
:class="props.showBar ? 'h-[60px]' : 'h-14'"
|
|
385
385
|
>
|
|
386
386
|
<USkeleton
|
|
387
|
-
:aria-label="t('dms.a11y.loading')"
|
|
388
387
|
v-if="showRank"
|
|
388
|
+
:aria-label="t('dms.a11y.loading')"
|
|
389
389
|
class="size-[26px] shrink-0 rounded-[7px]"
|
|
390
390
|
/>
|
|
391
391
|
<div class="grid flex-1 gap-1.5">
|
|
@@ -397,8 +397,8 @@ const gridStyle = computed(() => ({
|
|
|
397
397
|
</div>
|
|
398
398
|
<USkeleton :aria-label="t('dms.a11y.loading')" class="h-3 w-14" />
|
|
399
399
|
<USkeleton
|
|
400
|
-
:aria-label="t('dms.a11y.loading')"
|
|
401
400
|
v-if="showRowDelta"
|
|
401
|
+
:aria-label="t('dms.a11y.loading')"
|
|
402
402
|
class="h-3 w-[46px]"
|
|
403
403
|
/>
|
|
404
404
|
</div>
|
|
@@ -122,7 +122,6 @@ function calendarDayOf(
|
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
function pointX(point: ChartSeries["data"][number]) {
|
|
125
|
-
// oxlint-disable-next-line anti-slop/no-runtime-typeof -- The shared isObject guard widens the ChartSeries point's x to unknown; typeof keeps the owner's union without validating or converting its data.
|
|
126
125
|
return typeof point === "object" && point !== null ? point.x : undefined;
|
|
127
126
|
}
|
|
128
127
|
|
|
@@ -257,7 +256,6 @@ export function toBucketSeries(
|
|
|
257
256
|
...entry,
|
|
258
257
|
data: buckets.keys.map((key, position) => {
|
|
259
258
|
const point = entry.data[buckets.sourceIndexes[seriesIndex]![position]!];
|
|
260
|
-
// oxlint-disable-next-line anti-slop/no-runtime-typeof -- The shared isObject guard makes this closed point union unspreadable; typeof retains its owner fields without a cast or changed coercion.
|
|
261
259
|
return typeof point === "object"
|
|
262
260
|
? { ...point, x: key }
|
|
263
261
|
: { x: key, y: null };
|
|
@@ -37,7 +37,6 @@ export function readPointValue(
|
|
|
37
37
|
point: Parameters<typeof isNumber>[0],
|
|
38
38
|
): ClickPointValue {
|
|
39
39
|
if (isNumber(point)) return { value: point };
|
|
40
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Keep the public unknown input and its existing unchecked optional property read, including getters and primitive boxing.
|
|
41
40
|
const y = (point as { y?: Parameters<typeof isNumber>[0] } | null | undefined)
|
|
42
41
|
?.y;
|
|
43
42
|
if (Array.isArray(y)) return { value: null, values: y };
|
|
@@ -22,7 +22,6 @@ function localizePoint(
|
|
|
22
22
|
point: ChartSeriesEntry,
|
|
23
23
|
translate: ChartTextTranslate,
|
|
24
24
|
): ChartSeriesEntry {
|
|
25
|
-
// oxlint-disable-next-line anti-slop/no-runtime-typeof -- The shared isObject guard widens the point owner's fields to unknown; typeof preserves ChartSeriesEntry without another assertion or narrower runtime validation.
|
|
26
25
|
if (typeof point !== "object" || point === null) return point;
|
|
27
26
|
const localized: typeof point & { label?: string } = { ...point };
|
|
28
27
|
if ("x" in point) localized.x = translateText(point.x, translate);
|
|
@@ -143,7 +143,6 @@ const RANGE_AREA_APEX_TYPE = "rangeArea";
|
|
|
143
143
|
function resolveApexType(
|
|
144
144
|
input: UseApexChartInput,
|
|
145
145
|
): NonNullable<NonNullable<ApexOptions["chart"]>["type"]> {
|
|
146
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- The public configuration accepts arbitrary chart strings; inference and ApexOptions reject that existing unchecked Apex boundary.
|
|
147
146
|
const baseType = APEX_TYPE_CONFIGS[input.type].apexType as NonNullable<
|
|
148
147
|
NonNullable<ApexOptions["chart"]>["type"]
|
|
149
148
|
>;
|
|
@@ -286,16 +285,11 @@ function applyDatetimeBuckets(
|
|
|
286
285
|
labels: { ...labels, formatter: bucketFormatter },
|
|
287
286
|
};
|
|
288
287
|
const tooltip = options.tooltip;
|
|
288
|
+
const bucketTooltip = bucketTooltipFormatter(buckets, input);
|
|
289
289
|
options.tooltip = {
|
|
290
290
|
...tooltip,
|
|
291
291
|
x: {
|
|
292
|
-
|
|
293
|
-
formatter: bucketTooltipFormatter(buckets, input) as ReturnType<
|
|
294
|
-
typeof bucketTooltipFormatter
|
|
295
|
-
> &
|
|
296
|
-
NonNullable<
|
|
297
|
-
NonNullable<NonNullable<ApexOptions["tooltip"]>["x"]>["formatter"]
|
|
298
|
-
>,
|
|
292
|
+
formatter: (value: unknown) => bucketTooltip(String(value ?? "")),
|
|
299
293
|
},
|
|
300
294
|
};
|
|
301
295
|
}
|
|
@@ -25,9 +25,7 @@ export interface ApexClickOpts {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
export type ApexClickHandler = (
|
|
28
|
-
// oxlint-disable-next-line anti-slop/no-unknown-parameters -- This public callback preserves opaque event input; Apex's owner type uses any and makes the required options argument optional, changing the existing contract.
|
|
29
28
|
event: unknown,
|
|
30
|
-
// oxlint-disable-next-line anti-slop/no-unknown-parameters -- This public callback preserves opaque context input; inference from Apex's callback admits any and optional options rather than the existing contract.
|
|
31
29
|
ctx: unknown,
|
|
32
30
|
opts: ApexClickOpts,
|
|
33
31
|
) => void;
|
|
@@ -33,7 +33,6 @@ export interface UseChartFetchOptions<T> {
|
|
|
33
33
|
fetchUrlMethod?: string;
|
|
34
34
|
periodScope?: string;
|
|
35
35
|
realtimeTopic?: string | string[];
|
|
36
|
-
// oxlint-disable-next-line anti-slop/no-unknown-returns -- This source is only JSON-stringified for equality; inference has no value and Vue WatchSource's generic owner deliberately permits any result.
|
|
37
36
|
watchSource?: () => unknown;
|
|
38
37
|
staticData?: T | null | (() => T | null);
|
|
39
38
|
}
|
|
@@ -260,7 +259,6 @@ export function useChartFetch<T>(
|
|
|
260
259
|
function useStaticChartData<T>(
|
|
261
260
|
options: UseChartFetchOptions<T>,
|
|
262
261
|
): UseChartFetchReturn<T> {
|
|
263
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Vue deeply unwraps static data, which need not remain T; retain the existing public ref contract and reactive behavior.
|
|
264
262
|
const data = ref<T | null>(
|
|
265
263
|
readStaticData(options.staticData),
|
|
266
264
|
) as Ref<T | null>;
|
|
@@ -17,7 +17,6 @@ export type ConfirmBodyRender = () => VNodeChild;
|
|
|
17
17
|
export type ConfirmImpact = ConfirmDialogImpact;
|
|
18
18
|
|
|
19
19
|
/** The values the dialog's fields hold when the user confirms. */
|
|
20
|
-
// oxlint-disable-next-line anti-slop/no-unsafe-dictionary-type -- Dialog fields are extensible plugin controls whose values are not restricted to JSON.
|
|
21
20
|
export type ConfirmValues = Record<string, unknown>;
|
|
22
21
|
|
|
23
22
|
/**
|
|
@@ -88,7 +88,6 @@ export function openDynamicContainer<Result, Options extends ContainerOptions>(
|
|
|
88
88
|
} else {
|
|
89
89
|
cancelPendingOpen();
|
|
90
90
|
instance.close(value);
|
|
91
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Closing before open historically resolves undefined when no value is passed, even for a non-optional Result.
|
|
92
91
|
resolveResult(value as Result);
|
|
93
92
|
}
|
|
94
93
|
},
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { AppContext } from "vue";
|
|
2
2
|
import DynamicDrawer from "../../build/components/containers/drawer/DynamicDrawer.vue";
|
|
3
3
|
import DmsRowHeader from "../../build/components/containers/row/RowHeader.vue";
|
|
4
4
|
import { drawerRowHeaderProps } from "../../build/components/containers/row/drawerRowHeader";
|
|
5
5
|
import { listenRowSteps } from "../../build/composables/actions/rowNavigation";
|
|
6
6
|
import { DMS_OWN_DRAWER } from "../../build/composables/containers/context";
|
|
7
7
|
import { componentSizeKey } from "../../build/composables/containers/drawerSize";
|
|
8
|
+
import { currentInstanceProvides } from "../../build/composables/containers/instanceProvides";
|
|
8
9
|
import { openDynamicContainer } from "./openDynamicContainer";
|
|
9
10
|
import type {
|
|
10
11
|
DrawerInstance,
|
|
@@ -21,11 +22,6 @@ interface DrawerCallerContext {
|
|
|
21
22
|
callerProvides?: AppContext["provides"];
|
|
22
23
|
}
|
|
23
24
|
|
|
24
|
-
/** The part of a component instance holding what it and its ancestors provide. */
|
|
25
|
-
interface InstanceProvides {
|
|
26
|
-
provides: AppContext["provides"];
|
|
27
|
-
}
|
|
28
|
-
|
|
29
25
|
/**
|
|
30
26
|
* Public composable to open a DMS-themed drawer from any module that extends the
|
|
31
27
|
* layer. Wraps the internal DynamicDrawer container; `open` returns a handle
|
|
@@ -34,8 +30,7 @@ interface InstanceProvides {
|
|
|
34
30
|
export function useDrawer() {
|
|
35
31
|
const overlay = useOverlay();
|
|
36
32
|
|
|
37
|
-
|
|
38
|
-
const caller = getCurrentInstance() as InstanceProvides | null;
|
|
33
|
+
const caller = currentInstanceProvides();
|
|
39
34
|
|
|
40
35
|
function open<Result = unknown>(
|
|
41
36
|
options: DrawerOptions,
|
|
@@ -51,10 +51,8 @@ export interface FormProps extends FormComponentProps {
|
|
|
51
51
|
backTo?: string;
|
|
52
52
|
successMessage?: string;
|
|
53
53
|
errorMessage?: string;
|
|
54
|
-
// oxlint-disable-next-line anti-slop/no-unsafe-dictionary-type -- Backend JSON schemas are accepted before conversion by jsonSchemaToZod; a parsed field-value contract would exclude schema keywords and extensions.
|
|
55
54
|
schema?: Record<string, unknown>;
|
|
56
55
|
watchActions?: WatchAction[];
|
|
57
|
-
// oxlint-disable-next-line anti-slop/no-unknown-parameters -- Success callbacks expose the raw server response and submitted data for application extensions; neither payload has a closed shared schema.
|
|
58
56
|
onSuccessCallback?: (response?: unknown, data?: unknown) => void;
|
|
59
57
|
fieldsOrientation?: "horizontal" | "vertical";
|
|
60
58
|
submitDefaults?: Record<
|
|
@@ -130,7 +130,6 @@ function createFormNotices(
|
|
|
130
130
|
|
|
131
131
|
/** Shows a server-authored notice next to the ordinary success toast. */
|
|
132
132
|
const showSubmitNotice = (response: FormSubmitResponse | undefined) => {
|
|
133
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- The response contract omits this optional server extension. Keep the original unchecked title/description behavior for malformed notices instead of validating or dropping them.
|
|
134
133
|
const notice = (response as { notice?: FormSubmitNotice } | undefined)
|
|
135
134
|
?.notice;
|
|
136
135
|
if (!notice?.title) return;
|
|
@@ -210,7 +209,6 @@ function createSavedForm(context: ReturnType<typeof createFormNotices>) {
|
|
|
210
209
|
Object.assign(
|
|
211
210
|
state.value,
|
|
212
211
|
processBeforeStateMappers(
|
|
213
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Reset intentionally carries undefined for initially absent fields. The mapper's nominal FormData contract omits undefined, but no validation or dropping of those fields is intended.
|
|
214
212
|
restored as FormData,
|
|
215
213
|
props.fields,
|
|
216
214
|
getDataType,
|
|
@@ -255,8 +253,7 @@ function createSavedForm(context: ReturnType<typeof createFormNotices>) {
|
|
|
255
253
|
if (!submitSucceeded.value) return;
|
|
256
254
|
const fieldIds = new Set(allFields.value.map((field) => field.id));
|
|
257
255
|
const record: FormData = isPlainObject(response)
|
|
258
|
-
?
|
|
259
|
-
(Object.fromEntries(
|
|
256
|
+
? (Object.fromEntries(
|
|
260
257
|
Object.entries(response).filter(([key]) => fieldIds.has(key)),
|
|
261
258
|
) as FormData)
|
|
262
259
|
: {};
|
|
@@ -296,7 +293,6 @@ function createFormSubmission(context: ReturnType<typeof createSavedForm>) {
|
|
|
296
293
|
if (props.redirectOnSuccess) {
|
|
297
294
|
const target = resolveLinkVariables(
|
|
298
295
|
props.redirectOnSuccess,
|
|
299
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- URL interpolation reads the response's arbitrary keys without validation. The nominal success contract has no index signature; preserve this unchecked projection and malformed runtime responses.
|
|
300
296
|
buildUrlContext(response as ReplaceUrlVariablesContext["response"]),
|
|
301
297
|
);
|
|
302
298
|
await navigateDms(target);
|
|
@@ -330,7 +326,6 @@ function createFormSubmission(context: ReturnType<typeof createSavedForm>) {
|
|
|
330
326
|
successPayload: (response) => ({ data: body, response, submitUrl }),
|
|
331
327
|
errorPayload: (error) => ({
|
|
332
328
|
data: body,
|
|
333
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Evented actions may reject with anything. Retain direct data/message access, fallback ordering and nullish throws rather than narrowing to Error instances.
|
|
334
329
|
error: (error as EventError).data || (error as EventError).message,
|
|
335
330
|
}),
|
|
336
331
|
},
|
|
@@ -343,7 +338,6 @@ function createFormSubmission(context: ReturnType<typeof createSavedForm>) {
|
|
|
343
338
|
error: Parameters<typeof resolveFormFieldErrors>[0],
|
|
344
339
|
): void => {
|
|
345
340
|
if (!showServerFieldErrors(error)) {
|
|
346
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Rejection values are passed unchanged to the existing error formatter; there is no Error-instance validation at this boundary.
|
|
347
341
|
showSubmitErrorToast(error as EventError);
|
|
348
342
|
}
|
|
349
343
|
};
|
|
@@ -84,7 +84,6 @@ export type ActionTarget =
|
|
|
84
84
|
url: string;
|
|
85
85
|
method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
86
86
|
/** JSON body sent with the request. */
|
|
87
|
-
// oxlint-disable-next-line anti-slop/no-unsafe-dictionary-type -- API action bodies are module-defined JSON dictionaries; inference has no initializer and the transport's body owner is broader than this existing object contract.
|
|
88
87
|
body?: Record<string, unknown>;
|
|
89
88
|
/** Field of the JSON response copied to the clipboard on success. */
|
|
90
89
|
copy?: string;
|
|
@@ -20,7 +20,6 @@ export interface ReadonlyBehavior {
|
|
|
20
20
|
export interface TableViewColumnDisplay {
|
|
21
21
|
/** Id of the frontend data type drawing the cells. */
|
|
22
22
|
type: string;
|
|
23
|
-
// oxlint-disable-next-line anti-slop/no-unsafe-dictionary-type -- Module-defined cell renderers own these options; the input-component JSON contract would exclude existing renderer values.
|
|
24
23
|
options?: Record<string, unknown>;
|
|
25
24
|
}
|
|
26
25
|
|
|
@@ -249,13 +249,11 @@ export interface TableViewDisplayContext<T = Data> {
|
|
|
249
249
|
/** Data API location (`{location}/list`, `/get`, ...). Needed by self-managed displays. */
|
|
250
250
|
location: string;
|
|
251
251
|
/** Active filters/search/sort query (no limit/offset) — for self-managed fetching. */
|
|
252
|
-
// oxlint-disable-next-line anti-slop/no-unsafe-dictionary-type -- Custom self-managed displays receive module-defined query values beyond the built-in TableQueryParams contract.
|
|
253
252
|
query: Record<string, unknown>;
|
|
254
253
|
/** Stable component/page identifiers, e.g. for per-instance fetch keys. */
|
|
255
254
|
componentId?: string;
|
|
256
255
|
pageId?: string;
|
|
257
256
|
/** Per-instance options declared for this display in the backend config. */
|
|
258
|
-
// oxlint-disable-next-line anti-slop/no-unsafe-dictionary-type -- Registered display implementations own their options; no common options schema exists across module displays.
|
|
259
257
|
options?: Record<string, unknown>;
|
|
260
258
|
/**
|
|
261
259
|
* A self-managed display hands the rows it shows, in the order the user
|
|
@@ -26,7 +26,6 @@ export const useTableViewExport = (options: UseTableViewExportOptions = {}) => {
|
|
|
26
26
|
runJob({
|
|
27
27
|
startUrl: `${location}/export/start`,
|
|
28
28
|
startMethod: "GET",
|
|
29
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- TableQueryParams lacks the export transport's open index signature; preserve the original query object rather than copy or validate its values.
|
|
30
29
|
startQuery: query as NonNullable<
|
|
31
30
|
Parameters<typeof runJob>[0]["startQuery"]
|
|
32
31
|
>,
|
|
@@ -41,9 +40,7 @@ export const useTableViewExport = (options: UseTableViewExportOptions = {}) => {
|
|
|
41
40
|
query: queryRequest,
|
|
42
41
|
ids,
|
|
43
42
|
error:
|
|
44
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Rejections are not validated; preserve optional data access and its existing fallback for arbitrary thrown values.
|
|
45
43
|
(error as { data?: string; message?: string })?.data ||
|
|
46
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Preserve the unchecked message fallback without claiming the rejection is an Error instance.
|
|
47
44
|
(error as Error)?.message,
|
|
48
45
|
}),
|
|
49
46
|
},
|
|
@@ -45,9 +45,7 @@ export interface UseExportJobLabels {
|
|
|
45
45
|
export interface RunExportJobOptions {
|
|
46
46
|
startUrl: string;
|
|
47
47
|
startMethod?: "GET" | "POST";
|
|
48
|
-
// oxlint-disable-next-line anti-slop/no-unsafe-dictionary-type -- Export endpoints own query values; the fetch owner's broader query type would widen this existing object contract.
|
|
49
48
|
startQuery?: Record<string, unknown>;
|
|
50
|
-
// oxlint-disable-next-line anti-slop/no-unsafe-dictionary-type -- Export endpoints own body values; the fetch owner's body type also admits non-object payloads excluded by this contract.
|
|
51
49
|
startBody?: Record<string, unknown>;
|
|
52
50
|
/** Function from jobId → URL. Defaults to `${startBase}/status/${jobId}`. */
|
|
53
51
|
statusUrl?: (ticket: ExportJobTicket) => string;
|
|
@@ -320,7 +318,6 @@ async function readExportStream(
|
|
|
320
318
|
);
|
|
321
319
|
}
|
|
322
320
|
|
|
323
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Reader chunks are not checked for SharedArrayBuffer backing; preserve Blob's existing rejection rather than copy or validate the bytes.
|
|
324
321
|
return new Blob(chunks as BlobPart[]);
|
|
325
322
|
}
|
|
326
323
|
|
|
@@ -56,7 +56,6 @@ export function waitForPageBlocksRefresh(
|
|
|
56
56
|
event: Event,
|
|
57
57
|
work: Promise<unknown>,
|
|
58
58
|
): void {
|
|
59
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Window listeners also receive ordinary or malformed events; retain the unchecked detail access and existing waitUntil behavior.
|
|
60
59
|
const detail = (event as CustomEvent<PageBlocksRefreshDetail | null>).detail;
|
|
61
60
|
detail?.waitUntil(work);
|
|
62
61
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* oxlint-disable anti-slop/no-unknown-parameters, anti-slop/no-unsafe-dictionary-type -- Cascader mappings read arbitrary custom row fields and picked values. JSON-only or id-only owner contracts would exclude currently supported objects, arrays and values converted with String. */
|
|
2
1
|
import { isObject } from "../../../dms-core/app/utils/type-check";
|
|
3
2
|
export interface CascaderKeyMapping {
|
|
4
3
|
label: string;
|
|
@@ -284,7 +283,6 @@ export function cascaderValueId(
|
|
|
284
283
|
const row = asPickedRow(item);
|
|
285
284
|
return row ? rowValue(row, keyMapping.value) : rowValue({ id: item }, "id");
|
|
286
285
|
}
|
|
287
|
-
/* oxlint-enable anti-slop/no-unknown-parameters, anti-slop/no-unsafe-dictionary-type */
|
|
288
286
|
|
|
289
287
|
/** What a cell already holds of its path, and the ids it still has to read. */
|
|
290
288
|
export interface CascaderValueReads {
|
|
@@ -15,7 +15,6 @@ function failureStatus(
|
|
|
15
15
|
error: Parameters<typeof apiErrorStatus>[0],
|
|
16
16
|
): number | undefined {
|
|
17
17
|
if (!error || !isObject(error)) return undefined;
|
|
18
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- The error owner leaves status fields unchecked. This numeric projection preserves legacy coercive comparisons and nullish precedence; validating the fields would change malformed-input behavior.
|
|
19
18
|
const { statusCode, status } = error as FetchFailure;
|
|
20
19
|
return statusCode ?? status;
|
|
21
20
|
}
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"scripts": {
|
|
17
17
|
"typecheck": "ajs dms verify-source --layer \"$PWD\" --local-package @antelopejs/dms=.. --local-package @antelopejs/interface-dms=../../interface-dms",
|
|
18
18
|
"test": "vitest run",
|
|
19
|
+
"eslint-globals": "node scripts/eslint-globals.mjs",
|
|
19
20
|
"format": "prettier --write .",
|
|
20
21
|
"lint": "node scripts/check-invariants.mjs && node scripts/check-disable-blocks.mjs && eslint .",
|
|
21
22
|
"lint:fix": "eslint . --fix"
|
|
@@ -89,6 +90,7 @@
|
|
|
89
90
|
"eslint": "^8.57.0",
|
|
90
91
|
"eslint-plugin-vue": "^9.0.0",
|
|
91
92
|
"globals": "^15.0.0",
|
|
93
|
+
"jiti": "2.7.0",
|
|
92
94
|
"jsdom": "^29.1.1",
|
|
93
95
|
"prettier": "^3.5.3",
|
|
94
96
|
"prettier-plugin-tailwindcss": "^0.6.11",
|
|
@@ -345,14 +345,12 @@ function runtimeDeclaration(expression) {
|
|
|
345
345
|
});
|
|
346
346
|
const serialize = (value) => {
|
|
347
347
|
if (value === undefined) return { undefined: true };
|
|
348
|
-
// oxlint-disable-next-line anti-slop/no-runtime-typeof -- VM evaluation returns runtime props values, not compiler AST nodes; compiler-derived types cannot distinguish function defaults for this JSON observation.
|
|
349
348
|
if (typeof value === "function")
|
|
350
349
|
return {
|
|
351
350
|
function: value.name || null,
|
|
352
351
|
code: value.toString().replace(/\s+/g, " "),
|
|
353
352
|
};
|
|
354
353
|
if (Array.isArray(value)) return Array.from(value, serialize);
|
|
355
|
-
// oxlint-disable-next-line anti-slop/no-runtime-typeof -- The compiler's expression text has no type for its VM-evaluated objects; this observation must recurse without coercing primitives or functions.
|
|
356
354
|
if (value && typeof value === "object")
|
|
357
355
|
return Object.fromEntries(
|
|
358
356
|
Object.entries(value).map(([key, entry]) => [key, serialize(entry)]),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antelopejs/dms",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.5",
|
|
4
4
|
"description": "AntelopeJS DMS. Plug in your PostgreSQL, MongoDB or RethinkDB database and your coding agent builds a back office and analytics dashboard as typed TypeScript. Real-time updates on the data the DMS manages.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"antelopejs",
|
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
"postgresql",
|
|
19
19
|
"mongodb",
|
|
20
20
|
"rethinkdb",
|
|
21
|
+
"mysql",
|
|
22
|
+
"mariadb",
|
|
21
23
|
"vue",
|
|
22
24
|
"inertia"
|
|
23
25
|
],
|
|
@@ -45,6 +47,8 @@
|
|
|
45
47
|
"checks",
|
|
46
48
|
"frontend-vue",
|
|
47
49
|
"!frontend-vue/tests",
|
|
50
|
+
"!frontend-vue/scripts/eslint-globals.mjs",
|
|
51
|
+
"!frontend-vue/scripts/layer-auto-imports.mjs",
|
|
48
52
|
"!frontend-vue/vitest.config.ts",
|
|
49
53
|
"!frontend-vue/eslint.config.mjs",
|
|
50
54
|
"!frontend-vue/.prettierrc",
|
|
@@ -130,6 +134,10 @@
|
|
|
130
134
|
"types": "./checks/api-error-presentation.d.mts",
|
|
131
135
|
"default": "./frontend-vue/scripts/check-api-error-presentation.mjs"
|
|
132
136
|
},
|
|
137
|
+
"./eslint-globals": {
|
|
138
|
+
"types": "./frontend-vue/eslint-globals.generated.d.mts",
|
|
139
|
+
"default": "./frontend-vue/eslint-globals.generated.mjs"
|
|
140
|
+
},
|
|
133
141
|
"./interfaces/*": null
|
|
134
142
|
},
|
|
135
143
|
"publishConfig": {
|