@antelopejs/dms 0.19.4 → 0.19.6
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 +47 -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 +62 -50
- package/dist/implementations/dms-auth/index.js.map +1 -1
- package/dist/implementations/dms-auth/session-handoff.js +5 -4
- 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/jwt-claims.d.ts +2 -1
- package/dist/utils/jwt-claims.js +10 -0
- package/dist/utils/jwt-claims.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
|
@@ -9,12 +9,10 @@
|
|
|
9
9
|
* token out from under each other and log the user out.
|
|
10
10
|
*/
|
|
11
11
|
export function runDeduped<T>(
|
|
12
|
-
// oxlint-disable-next-line anti-slop/no-unsafe-dictionary-type -- Public holder slots may contain unrelated values. A Promise<T>-valued dictionary would reject existing holder objects rather than validate the selected slot.
|
|
13
12
|
holder: Record<PropertyKey, unknown>,
|
|
14
13
|
key: PropertyKey,
|
|
15
14
|
task: () => Promise<T>,
|
|
16
15
|
): Promise<T> {
|
|
17
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- The selected slot is historically trusted without validation, including truthy non-promises. Inference cannot prove Promise<T>; adding validation would change malformed-holder behavior.
|
|
18
16
|
const existing = holder[key] as Promise<T> | null | undefined;
|
|
19
17
|
if (existing) {
|
|
20
18
|
return existing;
|
|
@@ -179,7 +179,6 @@ const defaultTimeFormatterOptions: Intl.DateTimeFormatOptions = {
|
|
|
179
179
|
};
|
|
180
180
|
|
|
181
181
|
export function formatDate(
|
|
182
|
-
// oxlint-disable-next-line anti-slop/no-unknown-parameters -- Public formatter accepts arbitrary values for Date coercion; Date constructor types exclude supported runtime inputs such as booleans.
|
|
183
182
|
date: unknown,
|
|
184
183
|
locale: string = DEFAULT_LOCALE,
|
|
185
184
|
options?: Intl.DateTimeFormatOptions,
|
|
@@ -195,7 +194,6 @@ export function formatDate(
|
|
|
195
194
|
if (date instanceof Date) {
|
|
196
195
|
validDate = date;
|
|
197
196
|
} else {
|
|
198
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- This is deliberately unchecked Date coercion inside the existing catch; narrowing to constructor parameter types would change accepted inputs.
|
|
199
197
|
validDate = new Date(date as string | number);
|
|
200
198
|
}
|
|
201
199
|
|
|
@@ -64,7 +64,6 @@ const resolveItemTarget = (
|
|
|
64
64
|
if (isString(to)) {
|
|
65
65
|
return { path: stripQueryAndHash(to), query: parseLinkQuery(to) };
|
|
66
66
|
}
|
|
67
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Preserve the base's unchecked menu projection without widening its public string query contract to router query arrays.
|
|
68
67
|
const target = to as MenuItemTarget | undefined;
|
|
69
68
|
if (target && isString(target.path)) {
|
|
70
69
|
return { path: target.path, query: target.query };
|
|
@@ -2,7 +2,6 @@ import { isString } from "#dms-core/app/utils/type-check";
|
|
|
2
2
|
|
|
3
3
|
/** The page query as the server reads it: one value per name, the last one. */
|
|
4
4
|
export function pageQueryValues(
|
|
5
|
-
// oxlint-disable-next-line anti-slop/no-unsafe-dictionary-type -- This is the query parsing boundary. Route query types exclude malformed values this public function already discards.
|
|
6
5
|
query: Record<string, unknown> | undefined,
|
|
7
6
|
): Record<string, string> {
|
|
8
7
|
return Object.fromEntries(
|
|
@@ -13,7 +13,6 @@ export function validateRequiredQueryParams(
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
export interface ValidationRouteContext {
|
|
16
|
-
// oxlint-disable-next-line anti-slop/no-unsafe-dictionary-type -- Custom validators own the interpretation of these unparsed values; a router-only value type would narrow the published validation context.
|
|
17
16
|
query: Record<string, unknown>;
|
|
18
17
|
params: ValidationRouteContext["query"];
|
|
19
18
|
}
|
|
@@ -5,7 +5,6 @@ export type Primitive =
|
|
|
5
5
|
| Date
|
|
6
6
|
| null
|
|
7
7
|
| undefined
|
|
8
|
-
// oxlint-disable-next-line anti-slop/no-unsafe-dictionary-type -- Primitive is the exported parser contract; JSON objects have arbitrary members and a recursive JSON-only replacement would narrow existing consumers of this union.
|
|
9
8
|
| Record<string, unknown>
|
|
10
9
|
| unknown[];
|
|
11
10
|
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
// oxlint-disable-next-line anti-slop/no-unknown-returns -- A generic callable guard cannot infer a return contract before the caller invokes the external function.
|
|
2
1
|
type CallableFunction = (...args: any[]) => unknown;
|
|
3
2
|
|
|
4
3
|
const createTypeGuard =
|
|
5
4
|
<T>(type: string) =>
|
|
6
5
|
(v: unknown): v is T =>
|
|
7
|
-
// oxlint-disable-next-line anti-slop/no-runtime-typeof -- This primitive boundary guard implements JavaScript typeof semantics; owner types cannot classify unparsed values.
|
|
8
6
|
typeof v === type;
|
|
9
7
|
|
|
10
8
|
export const isString = createTypeGuard<string>("string");
|
|
11
9
|
export const isNumber = createTypeGuard<number>("number");
|
|
12
10
|
export const isBoolean = createTypeGuard<boolean>("boolean");
|
|
13
11
|
export const isUndefined = createTypeGuard<undefined>("undefined");
|
|
14
|
-
// oxlint-disable-next-line anti-slop/no-unsafe-dictionary-type -- This exported representation guard has no schema owner; narrowing its values would change the public contract.
|
|
15
12
|
export const isObject = createTypeGuard<Record<string, unknown>>("object");
|
|
16
13
|
export const isFunction = createTypeGuard<CallableFunction>("function");
|
|
17
14
|
export const isBigint = createTypeGuard<bigint>("bigint");
|
package/frontend-vue/layers/dms-layout/app/build/components/layout/CommandPaletteAssistantAnswer.vue
CHANGED
|
@@ -62,9 +62,9 @@ onErrorCaptured((error) => {
|
|
|
62
62
|
{{ t("commandPalette.assistant.loading") }}
|
|
63
63
|
</span>
|
|
64
64
|
<USkeleton
|
|
65
|
-
:aria-label="t('dms.a11y.loading')"
|
|
66
65
|
v-for="width in SKELETON_WIDTHS"
|
|
67
66
|
:key="width"
|
|
67
|
+
:aria-label="t('dms.a11y.loading')"
|
|
68
68
|
:class="['h-3 bg-(--dms-assistant-tint)', width]"
|
|
69
69
|
/>
|
|
70
70
|
</div>
|
|
@@ -29,10 +29,15 @@ const BUILDER_FALLBACK_ICON = "i-ph-hammer-light";
|
|
|
29
29
|
/** The crumb naming a row keeps the row's own case (crumbs capitalize). */
|
|
30
30
|
const RECORD_CRUMB_LABEL_CLASS = "first-letter:normal-case";
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
const RECORD_CRUMB_UI: NonNullable<BreadcrumbItem["ui"]> = {
|
|
33
|
+
item: undefined,
|
|
34
|
+
link: undefined,
|
|
35
|
+
linkLeadingIcon: undefined,
|
|
36
|
+
linkLeadingAvatar: undefined,
|
|
34
37
|
linkLabel: RECORD_CRUMB_LABEL_CLASS,
|
|
35
|
-
|
|
38
|
+
separator: undefined,
|
|
39
|
+
separatorIcon: undefined,
|
|
40
|
+
};
|
|
36
41
|
/** v2: every icon-only toolbar button names itself in a tooltip below it. */
|
|
37
42
|
const TOOLTIP_CONTENT = { side: "bottom", sideOffset: 6 } as const;
|
|
38
43
|
|
|
@@ -59,7 +59,6 @@ watch(
|
|
|
59
59
|
|
|
60
60
|
function closeOnLinkClick(event: MouseEvent): void {
|
|
61
61
|
if (!sidebarOpen.value) return;
|
|
62
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- DOM target is typed EventTarget; keep the existing unchecked closest call, including throws for synthetic non-element targets, instead of adding a filtering guard.
|
|
63
62
|
if ((event.target as Element | null)?.closest("a[href]")) {
|
|
64
63
|
closeMobileSidebar();
|
|
65
64
|
}
|
|
@@ -254,9 +253,9 @@ const footerItems = computed((): NavigationMenuItem[] => {
|
|
|
254
253
|
/>
|
|
255
254
|
|
|
256
255
|
<UDashboardSidebar
|
|
256
|
+
v-model:collapsed="sidebarCollapsed"
|
|
257
257
|
data-dms-persistent-sidebar
|
|
258
258
|
:open="false"
|
|
259
|
-
v-model:collapsed="sidebarCollapsed"
|
|
260
259
|
:default-size="SIDEBAR_DEFAULT_WIDTH_PX"
|
|
261
260
|
:min-size="SIDEBAR_MIN_WIDTH_PX"
|
|
262
261
|
:max-size="SIDEBAR_MAX_WIDTH_PX"
|
|
@@ -128,7 +128,6 @@ type LinkTarget = Extract<ActionTarget, { type: "page" | "external" }>;
|
|
|
128
128
|
type UrlTarget = Extract<ActionTarget, { url: string }>;
|
|
129
129
|
|
|
130
130
|
const hasTargetUrl = (target: ActionTarget): target is UrlTarget =>
|
|
131
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- ActionTarget variants without url are still probed for it at runtime, including malformed variants. A discriminant-only guard would change that behavior.
|
|
132
131
|
isString((target as Partial<UrlTarget>).url);
|
|
133
132
|
|
|
134
133
|
const pageUrlValues = computed(() => ({
|
|
@@ -167,7 +166,6 @@ const LINK_TARGETS: Partial<
|
|
|
167
166
|
function linkProps(action: LayoutHeaderAction): ButtonProps | undefined {
|
|
168
167
|
const { target } = action;
|
|
169
168
|
if (action.confirm || !target) return undefined;
|
|
170
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- The dispatch table correlates its page/external keys with LinkTarget, which indexed access cannot infer. A discriminant rewrite would alter the existing prototype-key lookup for malformed types.
|
|
171
169
|
return LINK_TARGETS[target.type]?.(target as LinkTarget);
|
|
172
170
|
}
|
|
173
171
|
|
|
@@ -187,8 +185,7 @@ function resolveQuickActionButton(
|
|
|
187
185
|
label: base.label || processI18n(quickAction.displayName),
|
|
188
186
|
onClick: () =>
|
|
189
187
|
action.confirm
|
|
190
|
-
?
|
|
191
|
-
handleCustomButton(action as CustomButton)
|
|
188
|
+
? handleCustomButton(action as CustomButton)
|
|
192
189
|
: dispatchQuickActionTarget(quickAction.target),
|
|
193
190
|
},
|
|
194
191
|
};
|
|
@@ -225,7 +222,6 @@ function resolveAction(
|
|
|
225
222
|
button: {
|
|
226
223
|
...base,
|
|
227
224
|
...(linkProps(action) ?? {
|
|
228
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- The layout action's optional label and ButtonProps styling do not satisfy CustomButton. This unchecked existing handoff preserves the original object instead of inventing defaults or narrowing the public prop.
|
|
229
225
|
onClick: () => handleCustomButton(action as CustomButton),
|
|
230
226
|
}),
|
|
231
227
|
},
|
|
@@ -29,9 +29,9 @@ const { t } = useI18n();
|
|
|
29
29
|
<div class="dms-card space-y-4 p-[18px]">
|
|
30
30
|
<USkeleton :aria-label="t('dms.a11y.loading')" class="h-3.5 w-40" />
|
|
31
31
|
<USkeleton
|
|
32
|
-
:aria-label="t('dms.a11y.loading')"
|
|
33
32
|
v-for="width in CONTENT_LINE_WIDTHS"
|
|
34
33
|
:key="width"
|
|
34
|
+
:aria-label="t('dms.a11y.loading')"
|
|
35
35
|
class="h-2.5"
|
|
36
36
|
:style="{ width }"
|
|
37
37
|
/>
|
package/frontend-vue/layers/dms-layout/app/build/components/notification/NotificationPopover.vue
CHANGED
|
@@ -73,7 +73,6 @@ const refreshCounts = () =>
|
|
|
73
73
|
});
|
|
74
74
|
|
|
75
75
|
const handleFormSubmitSuccess = async (event: Event) => {
|
|
76
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- DOM callbacks infer Event while the form publisher emits CustomEvent. The current handler intentionally projects detail without validating it; a narrower input or runtime guard would change the event boundary.
|
|
77
76
|
const customEvent = event as CustomEvent;
|
|
78
77
|
const submitUrl = customEvent.detail?.data?.submitUrl;
|
|
79
78
|
|
|
@@ -166,8 +166,8 @@ function toggle(roleId: string) {
|
|
|
166
166
|
<template>
|
|
167
167
|
<div class="flex flex-col gap-1.5">
|
|
168
168
|
<USkeleton
|
|
169
|
-
:aria-label="t('dms.a11y.loading')"
|
|
170
169
|
v-if="isLoading"
|
|
170
|
+
:aria-label="t('dms.a11y.loading')"
|
|
171
171
|
class="h-7 w-48 rounded-full"
|
|
172
172
|
/>
|
|
173
173
|
<span
|
|
@@ -292,8 +292,8 @@ async function save(): Promise<void> {
|
|
|
292
292
|
{{ saved.email }}
|
|
293
293
|
</span>
|
|
294
294
|
<USkeleton
|
|
295
|
-
:aria-label="t('dms.a11y.loading')"
|
|
296
295
|
v-if="!isProfileLoaded"
|
|
296
|
+
:aria-label="t('dms.a11y.loading')"
|
|
297
297
|
aria-hidden="true"
|
|
298
298
|
class="h-5 w-[74px] shrink-0 rounded-md"
|
|
299
299
|
/>
|
|
@@ -46,7 +46,6 @@ const placeholderText = computed(() =>
|
|
|
46
46
|
|
|
47
47
|
defineSlots<{
|
|
48
48
|
/** The summary, after the lead. */
|
|
49
|
-
// oxlint-disable-next-line anti-slop/no-unknown-returns -- Vue's Slot return type narrows this existing consumer-provided slot contract; preserve the unrestricted return annotation.
|
|
50
49
|
default?: () => unknown;
|
|
51
50
|
}>();
|
|
52
51
|
|
|
@@ -61,8 +60,8 @@ const { t } = useI18n();
|
|
|
61
60
|
class="border-muted flex flex-wrap items-center gap-3.5 border-t px-[18px] py-3.5 first:border-t-0"
|
|
62
61
|
>
|
|
63
62
|
<USkeleton
|
|
64
|
-
:aria-label="t('dms.a11y.loading')"
|
|
65
63
|
v-if="props.loading"
|
|
64
|
+
:aria-label="t('dms.a11y.loading')"
|
|
66
65
|
aria-hidden="true"
|
|
67
66
|
class="size-8 shrink-0 rounded-[9px]"
|
|
68
67
|
/>
|
|
@@ -78,8 +77,8 @@ const { t } = useI18n();
|
|
|
78
77
|
</template>
|
|
79
78
|
<!-- Transparent text on a 12px bar per line it wraps to. -->
|
|
80
79
|
<USkeleton
|
|
81
|
-
:aria-label="t('dms.a11y.loading')"
|
|
82
80
|
v-if="props.loading"
|
|
81
|
+
:aria-label="t('dms.a11y.loading')"
|
|
83
82
|
as="span"
|
|
84
83
|
aria-hidden="true"
|
|
85
84
|
class="bg-transparent bg-[linear-gradient(var(--dms-skeleton),var(--dms-skeleton))] box-decoration-clone bg-size-[100%_12px] bg-center bg-no-repeat text-transparent select-none"
|
|
@@ -349,9 +349,9 @@ async function cancelChange(): Promise<void> {
|
|
|
349
349
|
>
|
|
350
350
|
<template #default="{ describedby, invalid }">
|
|
351
351
|
<DmsPasswordInput
|
|
352
|
-
has-lock-icon
|
|
353
352
|
:id="CURRENT_FIELD_ID"
|
|
354
353
|
v-model="currentPassword"
|
|
354
|
+
has-lock-icon
|
|
355
355
|
autocomplete="current-password"
|
|
356
356
|
:invalid="invalid"
|
|
357
357
|
:aria-describedby="describedby"
|
|
@@ -249,9 +249,9 @@ async function submit(): Promise<void> {
|
|
|
249
249
|
>
|
|
250
250
|
<template #default="{ describedby, invalid }">
|
|
251
251
|
<DmsPasswordInput
|
|
252
|
-
has-lock-icon
|
|
253
252
|
:id="CURRENT_FIELD_ID"
|
|
254
253
|
v-model="currentPassword"
|
|
254
|
+
has-lock-icon
|
|
255
255
|
autocomplete="current-password"
|
|
256
256
|
:invalid="invalid"
|
|
257
257
|
:aria-describedby="describedby"
|
|
@@ -273,9 +273,9 @@ async function submit(): Promise<void> {
|
|
|
273
273
|
>
|
|
274
274
|
<template #default="{ describedby, invalid }">
|
|
275
275
|
<DmsPasswordInput
|
|
276
|
-
has-lock-icon
|
|
277
276
|
:id="NEW_FIELD_ID"
|
|
278
277
|
v-model="newPassword"
|
|
278
|
+
has-lock-icon
|
|
279
279
|
autocomplete="new-password"
|
|
280
280
|
:invalid="invalid"
|
|
281
281
|
:aria-describedby="describedby"
|
|
@@ -290,16 +290,16 @@ async function submit(): Promise<void> {
|
|
|
290
290
|
>
|
|
291
291
|
<template #default="{ describedby, invalid }">
|
|
292
292
|
<DmsPasswordInput
|
|
293
|
-
has-lock-icon
|
|
294
293
|
:id="CONFIRM_FIELD_ID"
|
|
295
294
|
v-model="confirmPassword"
|
|
296
|
-
|
|
295
|
+
has-lock-icon
|
|
297
296
|
autocomplete="new-password"
|
|
298
297
|
:placeholder="
|
|
299
298
|
t('page.settings.security.password.confirm_placeholder')
|
|
300
299
|
"
|
|
301
300
|
:invalid="invalid"
|
|
302
301
|
:aria-describedby="describedby"
|
|
302
|
+
@blur="isConfirmTouched = true"
|
|
303
303
|
/>
|
|
304
304
|
</template>
|
|
305
305
|
</SecurityPanelField>
|
|
@@ -58,7 +58,6 @@ const { formatDate, formatRelative } = useSecurityFormat();
|
|
|
58
58
|
|
|
59
59
|
const list = useApiData<SessionsRead>(SESSIONS_URL, {
|
|
60
60
|
transform: (sessions) => ({
|
|
61
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- useApiData exposes transform input as unknown. The endpoint supplies SessionInfo[] by convention; SessionsRead["sessions"] cannot prove that unchecked response shape without new validation.
|
|
62
61
|
sessions: sessions as SessionInfo[],
|
|
63
62
|
readAt: Date.now(),
|
|
64
63
|
}),
|
|
@@ -193,9 +192,9 @@ const retryActions = computed(() => [
|
|
|
193
192
|
|
|
194
193
|
<div v-if="isLoading" class="grid gap-3 px-[18px] py-4">
|
|
195
194
|
<USkeleton
|
|
196
|
-
:aria-label="t('dms.a11y.loading')"
|
|
197
195
|
v-for="index in SKELETON_COUNT"
|
|
198
196
|
:key="index"
|
|
197
|
+
:aria-label="t('dms.a11y.loading')"
|
|
199
198
|
class="h-10 w-full"
|
|
200
199
|
/>
|
|
201
200
|
</div>
|
|
@@ -398,8 +398,8 @@ async function markSaved(): Promise<void> {
|
|
|
398
398
|
>
|
|
399
399
|
<template #badge>
|
|
400
400
|
<USkeleton
|
|
401
|
-
:aria-label="t('dms.a11y.loading')"
|
|
402
401
|
v-if="!status"
|
|
402
|
+
:aria-label="t('dms.a11y.loading')"
|
|
403
403
|
aria-hidden="true"
|
|
404
404
|
class="h-5 w-12 rounded-full"
|
|
405
405
|
/>
|
|
@@ -40,10 +40,10 @@ function setReduceMotion(value: string | number | undefined): void {
|
|
|
40
40
|
>
|
|
41
41
|
<USwitch
|
|
42
42
|
:model-value="preferences.increaseContrast.value"
|
|
43
|
-
@update:model-value="pick('increaseContrast', $event)"
|
|
44
43
|
:aria-label="
|
|
45
44
|
t('page.settings.appearance.accessibility.increase_contrast')
|
|
46
45
|
"
|
|
46
|
+
@update:model-value="pick('increaseContrast', $event)"
|
|
47
47
|
/>
|
|
48
48
|
</DmsFieldRow>
|
|
49
49
|
<DmsFieldRow
|
|
@@ -52,10 +52,10 @@ function setReduceMotion(value: string | number | undefined): void {
|
|
|
52
52
|
>
|
|
53
53
|
<USwitch
|
|
54
54
|
:model-value="preferences.underlineLinks.value"
|
|
55
|
-
@update:model-value="pick('underlineLinks', $event)"
|
|
56
55
|
:aria-label="
|
|
57
56
|
t('page.settings.appearance.accessibility.underline_links')
|
|
58
57
|
"
|
|
58
|
+
@update:model-value="pick('underlineLinks', $event)"
|
|
59
59
|
/>
|
|
60
60
|
</DmsFieldRow>
|
|
61
61
|
</div>
|
|
@@ -24,8 +24,8 @@ const { t } = useI18n();
|
|
|
24
24
|
<!-- The variables are read after mount: a placeholder holds
|
|
25
25
|
the count's place until then. -->
|
|
26
26
|
<USkeleton
|
|
27
|
-
:aria-label="t('dms.a11y.loading')"
|
|
28
27
|
v-if="cssVariableCount === null"
|
|
28
|
+
:aria-label="t('dms.a11y.loading')"
|
|
29
29
|
aria-hidden="true"
|
|
30
30
|
class="inline-block h-2.5 w-20 align-middle"
|
|
31
31
|
/>
|
|
@@ -12,8 +12,8 @@ const { preferences, pick } = useAppearanceSave();
|
|
|
12
12
|
>
|
|
13
13
|
<USwitch
|
|
14
14
|
:model-value="preferences.sidebarStartCollapsed.value"
|
|
15
|
-
@update:model-value="pick('sidebarStartCollapsed', $event)"
|
|
16
15
|
:aria-label="t('page.settings.appearance.sidebar_start_collapsed')"
|
|
16
|
+
@update:model-value="pick('sidebarStartCollapsed', $event)"
|
|
17
17
|
/>
|
|
18
18
|
</DmsFieldRow>
|
|
19
19
|
</template>
|
|
@@ -75,7 +75,6 @@ function categoryOf(name: string): VariableCategory {
|
|
|
75
75
|
function collectNames(rules: CSSRuleList, names: Set<string>): void {
|
|
76
76
|
for (const rule of Array.from(rules)) {
|
|
77
77
|
if ("cssRules" in rule && rule.cssRules) {
|
|
78
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- CSSOM rules with cssRules include keyframes, not only CSSGroupingRule; retain the rule-list projection.
|
|
79
78
|
collectNames((rule as CSSGroupingRule).cssRules, names);
|
|
80
79
|
}
|
|
81
80
|
if (rule instanceof CSSStyleRule) {
|
package/frontend-vue/layers/dms-layout/app/build/composables/navigation/useVisitNavBadges.ts
CHANGED
|
@@ -19,7 +19,6 @@ export function useVisitNavBadges(): void {
|
|
|
19
19
|
const inertiaPage = useDmsInertiaPage();
|
|
20
20
|
const { applyCountedNavBadges } = useNavBadges();
|
|
21
21
|
watch(
|
|
22
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- The renderer page contract does not declare this optional module extension. Inference cannot expose it; validating badges here would change existing pass-through behavior for malformed pages.
|
|
23
22
|
() => (inertiaPage.props.page as CountedPage | undefined)?.navBadges,
|
|
24
23
|
applyCountedNavBadges,
|
|
25
24
|
{ immediate: true },
|
package/frontend-vue/layers/dms-layout/app/build/composables/settings/security/useSecurityFormat.ts
CHANGED
|
@@ -71,15 +71,12 @@ export function useSecurityFormat() {
|
|
|
71
71
|
* @param error What `$authFetch` threw
|
|
72
72
|
* @param fallbackKey Message used when the error carries no known code
|
|
73
73
|
*/
|
|
74
|
-
// oxlint-disable-next-line anti-slop/no-unknown-parameters -- JavaScript throws arbitrary values. FetchError-derived parameters would reject the boundary inputs this formatter already handles.
|
|
75
74
|
const errorMessage = (error: unknown, fallbackKey: string): string => {
|
|
76
75
|
return resolveError(error, { fallbackKey })?.message ?? "";
|
|
77
76
|
};
|
|
78
77
|
|
|
79
78
|
/** @returns The error code (`error.xxx`) the API answered with, if any */
|
|
80
|
-
// oxlint-disable-next-line anti-slop/no-unknown-parameters -- JavaScript throws arbitrary values; a FetchError parameter would narrow this public error boundary.
|
|
81
79
|
const errorCode = (error: unknown): string | undefined => {
|
|
82
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- This historical projection is deliberately unchecked, including nullish and primitive errors; inference cannot project data from unknown without changing the boundary.
|
|
83
80
|
const code = (error as FetchErrorLike | undefined)?.data;
|
|
84
81
|
return isString(code) ? code : undefined;
|
|
85
82
|
};
|
|
@@ -39,7 +39,6 @@ export const DEFAULT_MODULE_SORT_MODE: ModuleSortMode = "name";
|
|
|
39
39
|
const MODULE_SORT_MODES: readonly ModuleSortMode[] = ["name", "recent"];
|
|
40
40
|
|
|
41
41
|
/** A remembered sort mode, or the default when it is missing or unknown. */
|
|
42
|
-
// oxlint-disable-next-line anti-slop/no-unknown-parameters -- This parser accepts arbitrary persisted values and falls back for invalid ones; ModuleSortMode would remove that public boundary contract.
|
|
43
42
|
export function parseModuleSortMode(value: unknown): ModuleSortMode {
|
|
44
43
|
return (
|
|
45
44
|
MODULE_SORT_MODES.find((mode) => mode === value) ?? DEFAULT_MODULE_SORT_MODE
|
|
@@ -35,7 +35,6 @@ type StoredHistory = Record<ModuleHistoryEntry["moduleId"], StoredVisit>;
|
|
|
35
35
|
* malformed: a hand-edited cookie or an older shape must never break the
|
|
36
36
|
* modules page or the command palette.
|
|
37
37
|
*/
|
|
38
|
-
// oxlint-disable-next-line anti-slop/no-unknown-parameters -- Cookie normalization accepts malformed and old data. A cookie happy-path type would hide the validation boundary.
|
|
39
38
|
function normalizeHistory(raw: unknown): StoredHistory {
|
|
40
39
|
if (!raw || !isObject(raw) || Array.isArray(raw)) return {};
|
|
41
40
|
const result: StoredHistory = {};
|
|
@@ -12,16 +12,13 @@ export interface ModulesListingError {
|
|
|
12
12
|
|
|
13
13
|
export const ENDPOINT_MODULES_LISTING = "/dms/modules-listing";
|
|
14
14
|
|
|
15
|
-
// oxlint-disable-next-line anti-slop/no-unknown-parameters -- API failures can be any thrown value. Inference is unavailable here and the parsed ModulesListingError owner would exclude malformed and network failures.
|
|
16
15
|
function readStatus(error: unknown): number | undefined {
|
|
17
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- This legacy projection does not validate status fields. Deriving from the fetch error cannot prove arbitrary thrown values; adding validation would change malformed-input behavior.
|
|
18
16
|
const details = error as
|
|
19
17
|
| { response?: { status?: number }; statusCode?: number; status?: number }
|
|
20
18
|
| undefined;
|
|
21
19
|
return details?.response?.status ?? details?.statusCode ?? details?.status;
|
|
22
20
|
}
|
|
23
21
|
|
|
24
|
-
// oxlint-disable-next-line anti-slop/no-unknown-parameters -- This boundary maps arbitrary API failures. The parsed result type cannot describe rejection reasons, and inference provides no parameter contract.
|
|
25
22
|
function toListingError(error: unknown): ModulesListingError {
|
|
26
23
|
const status = readStatus(error);
|
|
27
24
|
if (status === HTTP_FORBIDDEN) return { kind: "forbidden", status };
|
|
@@ -42,7 +42,6 @@ interface AsyncComponentWithLoader {
|
|
|
42
42
|
function loadPageLayoutComponents(layout: PageLayout | null | undefined) {
|
|
43
43
|
return Promise.all(
|
|
44
44
|
collectPageLayoutComponentNames(layout).map((name) => {
|
|
45
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- resolveDmsComponent exposes Vue's public Component union, not its optional internal loader; the loader's callable type comes from Vue and access remains unchecked for custom components.
|
|
46
45
|
const component = resolveDmsComponent(name) as
|
|
47
46
|
| AsyncComponentWithLoader
|
|
48
47
|
| undefined;
|
|
@@ -230,7 +230,6 @@ async function requestDelete(): Promise<void> {
|
|
|
230
230
|
{
|
|
231
231
|
urlParams: { id: encodeURIComponent(role._id) },
|
|
232
232
|
run: (values) =>
|
|
233
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Confirmation fields are arbitrary backend-defined values; the assertion preserves existing unchecked forwarding rather than filtering malformed reassignment values.
|
|
234
233
|
deleteRole(role, (values.reassignTo as string | null) ?? null),
|
|
235
234
|
},
|
|
236
235
|
);
|
|
@@ -53,7 +53,6 @@ usePageHeaderActions(() =>
|
|
|
53
53
|
size: "xs",
|
|
54
54
|
ariaLabel: t("page.settings.shortcuts.layout_label"),
|
|
55
55
|
"onUpdate:modelValue": (value: string | number | undefined) => {
|
|
56
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Segmented's event type is wider than KeyboardPlatform. This existing unchecked assignment also accepts malformed emitted values; validating them would change behavior.
|
|
57
56
|
if (value !== undefined) platform.value = value as KeyboardPlatform;
|
|
58
57
|
},
|
|
59
58
|
}),
|
|
@@ -19,7 +19,7 @@ const props = withDefaults(
|
|
|
19
19
|
*/
|
|
20
20
|
publicLogoOnly?: boolean;
|
|
21
21
|
}>(),
|
|
22
|
-
{ divider: true, logoAlt: "Logo", publicLogoOnly: false },
|
|
22
|
+
{ lang: "en", divider: true, logoAlt: "Logo", publicLogoOnly: false },
|
|
23
23
|
);
|
|
24
24
|
|
|
25
25
|
const appConfig = useDmsAppConfig();
|
|
@@ -40,7 +40,7 @@ const darkLogoUrl = darkCandidate === logoUrl ? "" : darkCandidate;
|
|
|
40
40
|
</script>
|
|
41
41
|
|
|
42
42
|
<template>
|
|
43
|
-
<EHtml :lang="lang
|
|
43
|
+
<EHtml :lang="lang">
|
|
44
44
|
<EHead>
|
|
45
45
|
<slot name="head" />
|
|
46
46
|
</EHead>
|
|
@@ -109,7 +109,6 @@ function isPageValid(
|
|
|
109
109
|
);
|
|
110
110
|
|
|
111
111
|
const getValidationFunction = (id: string) =>
|
|
112
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- The registry owner erases callback signatures. Metadata selects the validation convention without runtime validation; inference cannot restore its boolean return and adding a check would alter malformed registrations.
|
|
113
112
|
getFunction(id) as ValidationFunction | undefined;
|
|
114
113
|
|
|
115
114
|
const isCustomValid = runCustomValidation(
|
|
@@ -245,7 +244,6 @@ function buildPageSetupContext(
|
|
|
245
244
|
},
|
|
246
245
|
on(component, event, handler) {
|
|
247
246
|
const listener = (e: Event) => {
|
|
248
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- The component bus convention supplies CustomEvent detail, but window can receive unrelated events. The existing component comparison remains the only filter; owner Event inference cannot prove the payload and validation would change behavior.
|
|
249
247
|
const detail = (e as CustomEvent<ComponentEventData>).detail;
|
|
250
248
|
if (!detail || detail.component !== component) {
|
|
251
249
|
return;
|
|
@@ -24,9 +24,7 @@ export default defineDmsPlugin(() => {
|
|
|
24
24
|
const { refresh } = useCurrentUser();
|
|
25
25
|
|
|
26
26
|
window.addEventListener(FormEvents.SUBMIT_SUCCESS, (event) => {
|
|
27
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- DOM listener inference yields Event, not the form publisher's CustomEvent. The existing unchecked projection tolerates a missing detail; an instanceof guard would change acceptance of structural events.
|
|
28
27
|
const detail = (event as CustomEvent<ComponentEventData>).detail;
|
|
29
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- ComponentEventData leaves data unknown. This historical optional projection does not validate the payload; requiring a schema would change malformed-event behavior.
|
|
30
28
|
const payload = detail?.data as FormSubmitSuccessPayload | undefined;
|
|
31
29
|
if (!payload?.submitUrl || !SESSION_FORM_ROUTES.has(payload.submitUrl)) {
|
|
32
30
|
return;
|
|
@@ -62,7 +62,6 @@ export interface FoldedCrumbs<T> {
|
|
|
62
62
|
export function isFoldedCrumbs<T>(
|
|
63
63
|
crumb: T | FoldedCrumbs<T>,
|
|
64
64
|
): crumb is FoldedCrumbs<T> {
|
|
65
|
-
// oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- T is unconstrained and no full FoldedCrumbs validation exists. Constraining T or adding object guards would change the existing public predicate and malformed-input behavior.
|
|
66
65
|
return (crumb as Partial<FoldedCrumbs<T>>).isFolded === true;
|
|
67
66
|
}
|
|
68
67
|
|
package/frontend-vue/layers/dms-onboarding/app/build/components/onboarding/StepIndicator.vue
CHANGED
|
@@ -10,6 +10,17 @@ interface StepIndicatorProps {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
const DONE_ICON = "i-ph-check-bold";
|
|
13
|
+
const OTHER_STEP_UI: NonNullable<StepperItem["ui"]> = {
|
|
14
|
+
item: undefined,
|
|
15
|
+
container: undefined,
|
|
16
|
+
trigger: undefined,
|
|
17
|
+
indicator: undefined,
|
|
18
|
+
icon: undefined,
|
|
19
|
+
separator: undefined,
|
|
20
|
+
wrapper: "max-sm:hidden",
|
|
21
|
+
title: undefined,
|
|
22
|
+
description: undefined,
|
|
23
|
+
};
|
|
13
24
|
|
|
14
25
|
const props = defineProps<StepIndicatorProps>();
|
|
15
26
|
|
|
@@ -17,12 +28,7 @@ const items = computed<StepperItem[]>(() =>
|
|
|
17
28
|
props.labels.map((label, index) => ({
|
|
18
29
|
title: label,
|
|
19
30
|
icon: index < props.current ? DONE_ICON : undefined,
|
|
20
|
-
|
|
21
|
-
// SAFETY: UStepper reads each item.ui slot optionally; its Pick type requires slots the renderer permits omitting.
|
|
22
|
-
ui:
|
|
23
|
-
index !== props.current
|
|
24
|
-
? ({ wrapper: "max-sm:hidden" } as StepperItem["ui"])
|
|
25
|
-
: undefined,
|
|
31
|
+
ui: index !== props.current ? OTHER_STEP_UI : undefined,
|
|
26
32
|
})),
|
|
27
33
|
);
|
|
28
34
|
</script>
|
|
@@ -49,9 +49,9 @@ const { t } = useI18n();
|
|
|
49
49
|
aria-busy="true"
|
|
50
50
|
>
|
|
51
51
|
<USkeleton
|
|
52
|
-
:aria-label="t('dms.a11y.loading')"
|
|
53
52
|
v-for="(barHeight, index) in GHOST_BAR_HEIGHTS"
|
|
54
53
|
:key="index"
|
|
54
|
+
:aria-label="t('dms.a11y.loading')"
|
|
55
55
|
class="flex-1 rounded-t-[4px] rounded-b-none"
|
|
56
56
|
:style="{ height: `${barHeight}${PERCENT_UNIT}` }"
|
|
57
57
|
/>
|