@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.
Files changed (360) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/attachments/bindings.js +4 -2
  3. package/dist/attachments/bindings.js.map +1 -1
  4. package/dist/attachments/fields.d.ts +2 -2
  5. package/dist/attachments/fields.js +3 -2
  6. package/dist/attachments/fields.js.map +1 -1
  7. package/dist/attachments/save.d.ts +1 -1
  8. package/dist/attachments/save.js +2 -2
  9. package/dist/attachments/save.js.map +1 -1
  10. package/dist/attachments/table-view.js +13 -4
  11. package/dist/attachments/table-view.js.map +1 -1
  12. package/dist/automation/actions.js +2 -1
  13. package/dist/automation/actions.js.map +1 -1
  14. package/dist/automation/events.d.ts +5 -1
  15. package/dist/automation/events.js +10 -7
  16. package/dist/automation/events.js.map +1 -1
  17. package/dist/automation/send-notification.d.ts +2 -2
  18. package/dist/automation/send-notification.js +4 -3
  19. package/dist/automation/send-notification.js.map +1 -1
  20. package/dist/automation/sources.js.map +1 -1
  21. package/dist/automation/triggers.js +3 -5
  22. package/dist/automation/triggers.js.map +1 -1
  23. package/dist/db/guard-row.d.ts +2 -1
  24. package/dist/db/guard-row.js.map +1 -1
  25. package/dist/db/models/userNotificationPreferences.model.js +2 -1
  26. package/dist/db/models/userNotificationPreferences.model.js.map +1 -1
  27. package/dist/db/models/userNotifications.model.js +2 -1
  28. package/dist/db/models/userNotifications.model.js.map +1 -1
  29. package/dist/dev/module-update-notifications.js +10 -4
  30. package/dist/dev/module-update-notifications.js.map +1 -1
  31. package/dist/hooks/internal/workspace-notifications.js +8 -5
  32. package/dist/hooks/internal/workspace-notifications.js.map +1 -1
  33. package/dist/implementations/dms/menu-categories.d.ts +4 -4
  34. package/dist/implementations/dms/menu-categories.js +1 -0
  35. package/dist/implementations/dms/menu-categories.js.map +1 -1
  36. package/dist/implementations/dms/page/module-catalog.js +2 -1
  37. package/dist/implementations/dms/page/module-catalog.js.map +1 -1
  38. package/dist/implementations/dms/page/preview-models.d.ts +82 -6
  39. package/dist/implementations/dms/page/preview-models.js +43 -22
  40. package/dist/implementations/dms/page/preview-models.js.map +1 -1
  41. package/dist/implementations/dms/page/preview-pages.js +1 -1
  42. package/dist/implementations/dms/page/preview-pages.js.map +1 -1
  43. package/dist/implementations/dms/page/types.d.ts +0 -1
  44. package/dist/implementations/dms/permission-preview.d.ts +9 -3
  45. package/dist/implementations/dms/permission-preview.js +29 -2
  46. package/dist/implementations/dms/permission-preview.js.map +1 -1
  47. package/dist/implementations/dms-auth/index.d.ts +8 -1
  48. package/dist/implementations/dms-auth/index.js +40 -16
  49. package/dist/implementations/dms-auth/index.js.map +1 -1
  50. package/dist/implementations/dms-auth/session-handoff.js +4 -3
  51. package/dist/implementations/dms-auth/session-handoff.js.map +1 -1
  52. package/dist/implementations/dms-auth/token-session.js +2 -1
  53. package/dist/implementations/dms-auth/token-session.js.map +1 -1
  54. package/dist/implementations/dms-base/bulk-selection.js +2 -1
  55. package/dist/implementations/dms-base/bulk-selection.js.map +1 -1
  56. package/dist/implementations/dms-base/filter-tokens.js +2 -3
  57. package/dist/implementations/dms-base/filter-tokens.js.map +1 -1
  58. package/dist/implementations/dms-base/footer-summary.js.map +1 -1
  59. package/dist/implementations/dms-base/search-route.d.ts +3 -3
  60. package/dist/implementations/dms-base/search-route.js +4 -3
  61. package/dist/implementations/dms-base/search-route.js.map +1 -1
  62. package/dist/implementations/dms-base/table-view.d.ts +7 -7
  63. package/dist/implementations/dms-base/table-view.js +5 -4
  64. package/dist/implementations/dms-base/table-view.js.map +1 -1
  65. package/dist/implementations/dms-notifications/delivery-guard.js +2 -1
  66. package/dist/implementations/dms-notifications/delivery-guard.js.map +1 -1
  67. package/dist/pages/public/preview/block-types.d.ts +2 -1
  68. package/dist/pages/settings/overview/account-summary.js.map +1 -1
  69. package/dist/pages/settings/users/account-activity-feed.js +2 -1
  70. package/dist/pages/settings/users/account-activity-feed.js.map +1 -1
  71. package/dist/pages/settings/users/account-activity.js +29 -1
  72. package/dist/pages/settings/users/account-activity.js.map +1 -1
  73. package/dist/pages/settings/users/account-data.d.ts +54 -5
  74. package/dist/pages/settings/users/account-data.js.map +1 -1
  75. package/dist/pages/settings/users/member-change-notifications.d.ts +3 -1
  76. package/dist/pages/settings/users/member-change-notifications.js.map +1 -1
  77. package/dist/pages/settings/users/member-invite-batch.js +2 -1
  78. package/dist/pages/settings/users/member-invite-batch.js.map +1 -1
  79. package/dist/pages/settings/users/member-management.d.ts +2 -2
  80. package/dist/pages/settings/users/member-management.js.map +1 -1
  81. package/dist/pages/settings/users/members.js +2 -3
  82. package/dist/pages/settings/users/members.js.map +1 -1
  83. package/dist/pages/settings/users/notifications.js.map +1 -1
  84. package/dist/pages/settings/users/profile-helpers.js +9 -1
  85. package/dist/pages/settings/users/profile-helpers.js.map +1 -1
  86. package/dist/pages/settings/users/profile.js +18 -2
  87. package/dist/pages/settings/users/profile.js.map +1 -1
  88. package/dist/pages/settings/users/regional-preferences.js +6 -2
  89. package/dist/pages/settings/users/regional-preferences.js.map +1 -1
  90. package/dist/pages/settings/users/role-editor-store.d.ts +2 -2
  91. package/dist/pages/settings/users/role-editor-store.js.map +1 -1
  92. package/dist/pages/settings/users/two-factor-operations.js +1 -0
  93. package/dist/pages/settings/users/two-factor-operations.js.map +1 -1
  94. package/dist/realtime/broker.d.ts +2 -1
  95. package/dist/realtime/broker.js.map +1 -1
  96. package/dist/routes/auth/oauth/config.js +2 -1
  97. package/dist/routes/auth/oauth/config.js.map +1 -1
  98. package/dist/routes/auth/oauth/providers.d.ts +21 -1
  99. package/dist/routes/auth/oauth/providers.js +2 -2
  100. package/dist/routes/auth/oauth/providers.js.map +1 -1
  101. package/dist/store/declarations.d.ts +1 -8
  102. package/dist/store/declarations.js +2 -3
  103. package/dist/store/declarations.js.map +1 -1
  104. package/dist/store/internal/frontend/frontend-backend-proxies.js +3 -2
  105. package/dist/store/internal/frontend/frontend-backend-proxies.js.map +1 -1
  106. package/dist/store/internal/frontend/frontend-modules.js +3 -2
  107. package/dist/store/internal/frontend/frontend-modules.js.map +1 -1
  108. package/dist/store/internal/frontend/frontend-public-endpoints.js +8 -9
  109. package/dist/store/internal/frontend/frontend-public-endpoints.js.map +1 -1
  110. package/dist/store/internal/frontend/manifest.js +5 -4
  111. package/dist/store/internal/frontend/manifest.js.map +1 -1
  112. package/dist/store/operations.js.map +1 -1
  113. package/dist/store/registry.js +19 -7
  114. package/dist/store/registry.js.map +1 -1
  115. package/dist/store/types.d.ts +2 -1
  116. package/dist/utils/account-notifications.js +8 -5
  117. package/dist/utils/account-notifications.js.map +1 -1
  118. package/dist/utils/admin-invite-email.js.map +1 -1
  119. package/dist/utils/client-ip.js +2 -1
  120. package/dist/utils/client-ip.js.map +1 -1
  121. package/dist/utils/email-subjects.js.map +1 -1
  122. package/dist/utils/export-jobs-run.js +1 -1
  123. package/dist/utils/export-jobs-run.js.map +1 -1
  124. package/dist/utils/export-jobs.js +1 -4
  125. package/dist/utils/export-jobs.js.map +1 -1
  126. package/dist/utils/row-action-rule-evaluator.d.ts +2 -1
  127. package/dist/utils/row-action-rule-evaluator.js.map +1 -1
  128. package/dist/utils/sign-in-country.d.ts +1 -1
  129. package/dist/utils/sign-in-country.js +2 -1
  130. package/dist/utils/sign-in-country.js.map +1 -1
  131. package/dist/utils/tenant-instances.js +1 -1
  132. package/dist/utils/tenant-instances.js.map +1 -1
  133. package/dist/utils/two-factor-codes.d.ts +1 -0
  134. package/dist/utils/two-factor-codes.js +6 -0
  135. package/dist/utils/two-factor-codes.js.map +1 -1
  136. package/dist/utils/upload-token.js +7 -6
  137. package/dist/utils/upload-token.js.map +1 -1
  138. package/dist/utils/user-agent.js.map +1 -1
  139. package/dist/validation/store.schema.d.ts +3 -0
  140. package/dist/validation/store.schema.js +2 -1
  141. package/dist/validation/store.schema.js.map +1 -1
  142. package/frontend-vue/eslint-globals.generated.d.mts +8 -0
  143. package/frontend-vue/eslint-globals.generated.mjs +942 -0
  144. package/frontend-vue/layers/dms-auth/app/custom-pages/auth/2fa.vue +1 -1
  145. package/frontend-vue/layers/dms-auth/app/custom-pages/auth/forgot-validation.vue +1 -1
  146. package/frontend-vue/layers/dms-auth/app/custom-pages/auth/signup.vue +1 -2
  147. package/frontend-vue/layers/dms-auth/app/custom-pages/auth/validate.vue +1 -1
  148. package/frontend-vue/layers/dms-auth/server/accounts.ts +0 -1
  149. package/frontend-vue/layers/dms-auth/server/actions.ts +0 -2
  150. package/frontend-vue/layers/dms-auth/server/oauth.ts +0 -2
  151. package/frontend-vue/layers/dms-auth/server/session.ts +0 -2
  152. package/frontend-vue/layers/dms-core/app/build/composables/user/preferencesCookie.ts +0 -1
  153. package/frontend-vue/layers/dms-core/app/build/composables/user/tablePreferences.ts +0 -2
  154. package/frontend-vue/layers/dms-core/app/build/utils/crossTab.ts +0 -1
  155. package/frontend-vue/layers/dms-core/app/build/utils/permission-preview.ts +0 -1
  156. package/frontend-vue/layers/dms-core/app/build/utils/sharedRealtimeConnection.ts +0 -4
  157. package/frontend-vue/layers/dms-core/app/composables/auth/useAuthFetch.ts +11 -7
  158. package/frontend-vue/layers/dms-core/app/composables/auth/useMultiAccount.ts +2 -5
  159. package/frontend-vue/layers/dms-core/app/composables/auth/useSessionRecovery.ts +0 -1
  160. package/frontend-vue/layers/dms-core/app/composables/data-types/useDataType.ts +0 -2
  161. package/frontend-vue/layers/dms-core/app/composables/page/useSiteLayout.ts +41 -25
  162. package/frontend-vue/layers/dms-core/app/composables/realtime/useSseStream.ts +0 -2
  163. package/frontend-vue/layers/dms-core/app/composables/realtime/useUserRealtime.ts +0 -1
  164. package/frontend-vue/layers/dms-core/app/composables/useEventedAction.ts +0 -1
  165. package/frontend-vue/layers/dms-core/app/composables/useFieldErrors.ts +0 -2
  166. package/frontend-vue/layers/dms-core/app/composables/useTrailingDeduper.ts +10 -11
  167. package/frontend-vue/layers/dms-core/app/composables/user/usePreferences.ts +0 -1
  168. package/frontend-vue/layers/dms-core/app/composables/watch/useWatch.ts +0 -1
  169. package/frontend-vue/layers/dms-core/app/types/module-store.ts +0 -1
  170. package/frontend-vue/layers/dms-core/app/types/page.ts +0 -2
  171. package/frontend-vue/layers/dms-core/app/types/watch.ts +0 -1
  172. package/frontend-vue/layers/dms-core/app/utils/composedText.ts +34 -26
  173. package/frontend-vue/layers/dms-core/app/utils/dedupedRefresh.ts +0 -2
  174. package/frontend-vue/layers/dms-core/app/utils/formatter.ts +0 -2
  175. package/frontend-vue/layers/dms-core/app/utils/menu.ts +0 -1
  176. package/frontend-vue/layers/dms-core/app/utils/pageQuery.ts +0 -1
  177. package/frontend-vue/layers/dms-core/app/utils/query-validation.ts +0 -1
  178. package/frontend-vue/layers/dms-core/app/utils/stringTypeParser.ts +0 -1
  179. package/frontend-vue/layers/dms-core/app/utils/type-check.ts +0 -3
  180. package/frontend-vue/layers/dms-layout/app/build/components/layout/CommandPaletteAssistantAnswer.vue +1 -1
  181. package/frontend-vue/layers/dms-layout/app/build/components/layout/DashboardHeader.vue +8 -3
  182. package/frontend-vue/layers/dms-layout/app/build/components/layout/DashboardSidebar.vue +1 -2
  183. package/frontend-vue/layers/dms-layout/app/build/components/layout/PageHeaderActionBar.vue +1 -5
  184. package/frontend-vue/layers/dms-layout/app/build/components/layout/PageSkeleton.vue +1 -1
  185. package/frontend-vue/layers/dms-layout/app/build/components/notification/NotificationPopover.vue +0 -1
  186. package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/members/MemberRolePicker.vue +1 -1
  187. package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/profile/ProfilePersonalInfo.vue +1 -1
  188. package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/profile/ProfileSummaryRow.vue +2 -3
  189. package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/security/SecurityEmail.vue +1 -1
  190. package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/security/SecurityPassword.vue +4 -4
  191. package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/security/SecuritySessions.vue +1 -2
  192. package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/security/SecurityTwoFactor.vue +1 -1
  193. package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/theme/AppearanceAccessibility.vue +2 -2
  194. package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/theme/AppearanceDeveloper.vue +1 -1
  195. package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/theme/AppearanceSidebar.vue +1 -1
  196. package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/theme/CssVariablesList.vue +0 -1
  197. package/frontend-vue/layers/dms-layout/app/build/composables/navigation/useVisitNavBadges.ts +0 -1
  198. package/frontend-vue/layers/dms-layout/app/build/composables/settings/security/useSecurityFormat.ts +0 -3
  199. package/frontend-vue/layers/dms-layout/app/build/utils/modules-catalog.ts +0 -1
  200. package/frontend-vue/layers/dms-layout/app/composables/page/useModuleHistory.ts +0 -1
  201. package/frontend-vue/layers/dms-layout/app/composables/page/useModulesListing.ts +0 -3
  202. package/frontend-vue/layers/dms-layout/app/composables/page/usePageComponentPreload.ts +0 -1
  203. package/frontend-vue/layers/dms-layout/app/custom-pages/settings/roles.vue +0 -1
  204. package/frontend-vue/layers/dms-layout/app/custom-pages/settings/shortcuts.vue +0 -1
  205. package/frontend-vue/layers/dms-layout/app/emails/components/EmailLayout.vue +2 -2
  206. package/frontend-vue/layers/dms-layout/app/pages/[...slug].vue +0 -2
  207. package/frontend-vue/layers/dms-layout/app/plugins/profile-sync.client.ts +0 -2
  208. package/frontend-vue/layers/dms-layout/app/utils/breadcrumb.ts +0 -1
  209. package/frontend-vue/layers/dms-onboarding/app/build/components/onboarding/StepIndicator.vue +12 -6
  210. package/frontend-vue/layers/dms-ui/app/build/components/chart/internal/ChartSkeleton.vue +1 -1
  211. package/frontend-vue/layers/dms-ui/app/build/components/containers/drawer/DynamicDrawer.vue +10 -16
  212. package/frontend-vue/layers/dms-ui/app/build/components/containers/modal/DynamicModal.vue +0 -2
  213. package/frontend-vue/layers/dms-ui/app/build/components/containers/row/RowHeader.vue +0 -1
  214. package/frontend-vue/layers/dms-ui/app/build/components/period/PeriodRangeCalendar.vue +0 -4
  215. package/frontend-vue/layers/dms-ui/app/build/components/skeleton/RowSkeleton.vue +1 -1
  216. package/frontend-vue/layers/dms-ui/app/build/components/sortable/SortableList.vue +0 -2
  217. package/frontend-vue/layers/dms-ui/app/build/components/stat/StatCell.vue +5 -5
  218. package/frontend-vue/layers/dms-ui/app/build/components/table/Actions.vue +0 -1
  219. package/frontend-vue/layers/dms-ui/app/build/components/table/FiltersRow.vue +0 -4
  220. package/frontend-vue/layers/dms-ui/app/build/components/table/Menu.vue +0 -1
  221. package/frontend-vue/layers/dms-ui/app/build/components/table/MenuColumns.vue +0 -1
  222. package/frontend-vue/layers/dms-ui/app/build/components/table/MenuDensity.vue +0 -1
  223. package/frontend-vue/layers/dms-ui/app/build/components/table/MenuFilter.vue +0 -1
  224. package/frontend-vue/layers/dms-ui/app/build/components/table/MenuImport.vue +0 -1
  225. package/frontend-vue/layers/dms-ui/app/build/components/table/MenuPage.vue +0 -1
  226. package/frontend-vue/layers/dms-ui/app/build/components/table/MenuRoot.vue +0 -1
  227. package/frontend-vue/layers/dms-ui/app/build/components/table/MenuSort.vue +0 -1
  228. package/frontend-vue/layers/dms-ui/app/build/components/table/MenuViewMode.vue +0 -1
  229. package/frontend-vue/layers/dms-ui/app/build/components/table/Pagination.vue +1 -2
  230. package/frontend-vue/layers/dms-ui/app/build/components/table/RowSelection.vue +0 -1
  231. package/frontend-vue/layers/dms-ui/app/build/components/table/Table.vue +1 -2
  232. package/frontend-vue/layers/dms-ui/app/build/components/table/TableBody.vue +1 -1
  233. package/frontend-vue/layers/dms-ui/app/build/components/table/Tabs.vue +1 -2
  234. package/frontend-vue/layers/dms-ui/app/build/components/table/Views.vue +1 -2
  235. package/frontend-vue/layers/dms-ui/app/build/components/table/tableComponentScroll.ts +4 -4
  236. package/frontend-vue/layers/dms-ui/app/build/components/table-view/CardGridSkeleton.vue +2 -0
  237. package/frontend-vue/layers/dms-ui/app/build/components/table-view/CardsDisplay.vue +0 -2
  238. package/frontend-vue/layers/dms-ui/app/build/components/table-view/ExpandedRowDetail.vue +1 -1
  239. package/frontend-vue/layers/dms-ui/app/build/composables/actions/actionTargetRows.ts +0 -1
  240. package/frontend-vue/layers/dms-ui/app/build/composables/blocks/useGuard.ts +0 -4
  241. package/frontend-vue/layers/dms-ui/app/build/composables/chart/apexRawOptions.ts +0 -2
  242. package/frontend-vue/layers/dms-ui/app/build/composables/chart/apexSeriesStyle.ts +0 -1
  243. package/frontend-vue/layers/dms-ui/app/build/composables/chart/apexTheme.ts +0 -2
  244. package/frontend-vue/layers/dms-ui/app/build/composables/confirm/useActionConfirm.ts +5 -4
  245. package/frontend-vue/layers/dms-ui/app/build/composables/containers/closingLayers.ts +2 -2
  246. package/frontend-vue/layers/dms-ui/app/build/composables/containers/drawerSize.ts +0 -3
  247. package/frontend-vue/layers/dms-ui/app/build/composables/containers/instanceProvides.ts +14 -0
  248. package/frontend-vue/layers/dms-ui/app/build/composables/data-types/defaultChoiceTypes.ts +0 -3
  249. package/frontend-vue/layers/dms-ui/app/build/composables/data-types/defaultDateCells.ts +0 -1
  250. package/frontend-vue/layers/dms-ui/app/build/composables/data-types/defaultIdentityCells.ts +0 -1
  251. package/frontend-vue/layers/dms-ui/app/build/composables/data-types/defaultMediaTypes.ts +0 -2
  252. package/frontend-vue/layers/dms-ui/app/build/composables/data-types/defaultPrimitiveTypes.ts +0 -2
  253. package/frontend-vue/layers/dms-ui/app/build/composables/data-types/defaultRelationTypes.ts +1 -4
  254. package/frontend-vue/layers/dms-ui/app/build/composables/data-types/metricCells.ts +0 -3
  255. package/frontend-vue/layers/dms-ui/app/build/composables/data-types/numberSuffix.ts +0 -2
  256. package/frontend-vue/layers/dms-ui/app/build/composables/data-types/relationRows.ts +0 -1
  257. package/frontend-vue/layers/dms-ui/app/build/composables/data-types/relationValue.ts +0 -2
  258. package/frontend-vue/layers/dms-ui/app/build/composables/data-types/twoLineCell.ts +0 -2
  259. package/frontend-vue/layers/dms-ui/app/build/composables/data-types/useColumnValueRenderer.ts +0 -3
  260. package/frontend-vue/layers/dms-ui/app/build/composables/form/fieldSaved.ts +0 -1
  261. package/frontend-vue/layers/dms-ui/app/build/composables/form/formComponentRealtime.ts +0 -1
  262. package/frontend-vue/layers/dms-ui/app/build/composables/form/formComponentValidation.ts +0 -2
  263. package/frontend-vue/layers/dms-ui/app/build/composables/form/formState.ts +0 -3
  264. package/frontend-vue/layers/dms-ui/app/build/composables/form/formValidation.ts +2 -3
  265. package/frontend-vue/layers/dms-ui/app/build/composables/form/registerFormFunctions.ts +0 -2
  266. package/frontend-vue/layers/dms-ui/app/build/composables/form/repeaterTable.ts +0 -1
  267. package/frontend-vue/layers/dms-ui/app/build/composables/form/useFormModel.ts +0 -5
  268. package/frontend-vue/layers/dms-ui/app/build/composables/form/useInstantForm.ts +0 -2
  269. package/frontend-vue/layers/dms-ui/app/build/composables/instant-save/useInstantSave.ts +1 -5
  270. package/frontend-vue/layers/dms-ui/app/build/composables/layout/rowSidePanel.ts +0 -1
  271. package/frontend-vue/layers/dms-ui/app/build/composables/layout/sidePanelState.ts +0 -2
  272. package/frontend-vue/layers/dms-ui/app/build/composables/live/missedTally.ts +0 -1
  273. package/frontend-vue/layers/dms-ui/app/build/composables/live/pageLiveController.ts +0 -1
  274. package/frontend-vue/layers/dms-ui/app/build/composables/period/periodQuery.ts +0 -2
  275. package/frontend-vue/layers/dms-ui/app/build/composables/table/tableColumnActionSizing.ts +0 -1
  276. package/frontend-vue/layers/dms-ui/app/build/composables/table/tableColumnStructure.ts +0 -1
  277. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/registerDefaultFunctions.ts +0 -1
  278. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/tableRowActionContainers.ts +0 -1
  279. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/tableRowActionValues.ts +0 -1
  280. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/tableViewDisplays.ts +0 -2
  281. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/tableViewRealtime.ts +0 -1
  282. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/tableViewTabs.ts +0 -1
  283. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/usePersistedPagination.ts +0 -1
  284. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/useReorderHandles.ts +0 -1
  285. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/useTableLiveHold.ts +0 -1
  286. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/useTablePreferences.ts +0 -1
  287. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/useTableReorder.ts +0 -2
  288. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/useTableRows.ts +0 -1
  289. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/bulkActions.ts +0 -1
  290. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/card.ts +0 -3
  291. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/expandedRows.ts +0 -1
  292. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/groupedRows.ts +0 -3
  293. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/reorder.ts +0 -2
  294. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/sortableColumns.ts +0 -3
  295. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/tableQuery.ts +0 -1
  296. package/frontend-vue/layers/dms-ui/app/build/composables/unsaved-changes/formValue.ts +0 -9
  297. package/frontend-vue/layers/dms-ui/app/build/composables/unsaved-changes/registry.ts +0 -1
  298. package/frontend-vue/layers/dms-ui/app/build/utils/accessibilityPreferences.ts +0 -2
  299. package/frontend-vue/layers/dms-ui/app/build/utils/blockPreview.ts +1 -5
  300. package/frontend-vue/layers/dms-ui/app/build/utils/calendarDay.ts +18 -0
  301. package/frontend-vue/layers/dms-ui/app/build/utils/dispatchQuickActionTarget.ts +0 -1
  302. package/frontend-vue/layers/dms-ui/app/build/utils/fetchNotFound.ts +0 -2
  303. package/frontend-vue/layers/dms-ui/app/build/utils/fieldOptionsI18n.ts +0 -2
  304. package/frontend-vue/layers/dms-ui/app/build/utils/rowClickTrigger.ts +5 -6
  305. package/frontend-vue/layers/dms-ui/app/build/utils/streamHighlight.ts +0 -1
  306. package/frontend-vue/layers/dms-ui/app/build/utils/urlVariables.ts +0 -1
  307. package/frontend-vue/layers/dms-ui/app/components/PasswordStrength.vue +14 -21
  308. package/frontend-vue/layers/dms-ui/app/components/RecursiveComponent.vue +0 -2
  309. package/frontend-vue/layers/dms-ui/app/components/block-preview/BlockPreview.vue +0 -2
  310. package/frontend-vue/layers/dms-ui/app/components/blocks/BannerBlock.vue +0 -1
  311. package/frontend-vue/layers/dms-ui/app/components/blocks/CodeBlock.vue +1 -1
  312. package/frontend-vue/layers/dms-ui/app/components/card/NavCard.vue +1 -2
  313. package/frontend-vue/layers/dms-ui/app/components/chart/ApexChartHost.vue +0 -4
  314. package/frontend-vue/layers/dms-ui/app/components/chart/Chart.vue +1 -4
  315. package/frontend-vue/layers/dms-ui/app/components/chart/ChartCard.vue +1 -1
  316. package/frontend-vue/layers/dms-ui/app/components/chart/internal/TrendBadge.vue +2 -1
  317. package/frontend-vue/layers/dms-ui/app/components/code-snippet/CodeSnippet.vue +0 -1
  318. package/frontend-vue/layers/dms-ui/app/components/confirm/ConfirmModal.vue +5 -5
  319. package/frontend-vue/layers/dms-ui/app/components/flow-canvas/FlowCanvas.vue +0 -3
  320. package/frontend-vue/layers/dms-ui/app/components/form/Form.vue +1 -4
  321. package/frontend-vue/layers/dms-ui/app/components/form/components/Calendar.vue +51 -41
  322. package/frontend-vue/layers/dms-ui/app/components/form/components/Cascader.vue +3 -1
  323. package/frontend-vue/layers/dms-ui/app/components/form/components/DatePicker.vue +31 -24
  324. package/frontend-vue/layers/dms-ui/app/components/form/components/Display.vue +1 -1
  325. package/frontend-vue/layers/dms-ui/app/components/form/components/Image.vue +4 -5
  326. package/frontend-vue/layers/dms-ui/app/components/form/components/InputAddress.vue +20 -11
  327. package/frontend-vue/layers/dms-ui/app/components/form/components/InputNumber.vue +2 -2
  328. package/frontend-vue/layers/dms-ui/app/components/form/components/Relation.vue +8 -7
  329. package/frontend-vue/layers/dms-ui/app/components/form/components/imageItems.ts +22 -33
  330. package/frontend-vue/layers/dms-ui/app/components/key-value-list/KeyValueList.vue +1 -1
  331. package/frontend-vue/layers/dms-ui/app/components/kpi/KpiCard.vue +2 -2
  332. package/frontend-vue/layers/dms-ui/app/components/master-detail/MasterDetail.vue +0 -1
  333. package/frontend-vue/layers/dms-ui/app/components/meter/MeterBlock.vue +1 -1
  334. package/frontend-vue/layers/dms-ui/app/components/period/usePeriodSelectorInteraction.ts +0 -3
  335. package/frontend-vue/layers/dms-ui/app/components/table-view/KanbanBoard.vue +2 -3
  336. package/frontend-vue/layers/dms-ui/app/components/table-view/KanbanDisplay.vue +0 -1
  337. package/frontend-vue/layers/dms-ui/app/components/table-view/TableView.vue +1 -1
  338. package/frontend-vue/layers/dms-ui/app/components/top-list/TopListCard.vue +3 -3
  339. package/frontend-vue/layers/dms-ui/app/composables/chart/apexDatetimeBuckets.ts +0 -2
  340. package/frontend-vue/layers/dms-ui/app/composables/chart/events.ts +0 -1
  341. package/frontend-vue/layers/dms-ui/app/composables/chart/localizeSeries.ts +0 -1
  342. package/frontend-vue/layers/dms-ui/app/composables/chart/useApexChart.ts +2 -8
  343. package/frontend-vue/layers/dms-ui/app/composables/chart/useApexChart.types.ts +0 -2
  344. package/frontend-vue/layers/dms-ui/app/composables/chart/useChartFetch.ts +0 -2
  345. package/frontend-vue/layers/dms-ui/app/composables/confirm/types.ts +0 -1
  346. package/frontend-vue/layers/dms-ui/app/composables/containers/openDynamicContainer.ts +0 -1
  347. package/frontend-vue/layers/dms-ui/app/composables/containers/useDrawer.ts +3 -8
  348. package/frontend-vue/layers/dms-ui/app/composables/form/types/props.ts +0 -2
  349. package/frontend-vue/layers/dms-ui/app/composables/form/useForm.ts +1 -7
  350. package/frontend-vue/layers/dms-ui/app/composables/table-view/types/action-target.ts +0 -1
  351. package/frontend-vue/layers/dms-ui/app/composables/table-view/types/column.ts +0 -1
  352. package/frontend-vue/layers/dms-ui/app/composables/table-view/types/display.ts +0 -2
  353. package/frontend-vue/layers/dms-ui/app/composables/table-view/useTableViewExport.ts +0 -3
  354. package/frontend-vue/layers/dms-ui/app/composables/useExportJob.ts +0 -3
  355. package/frontend-vue/layers/dms-ui/app/utils/blockRefresh.ts +0 -1
  356. package/frontend-vue/layers/dms-ui/app/utils/cascader.ts +0 -2
  357. package/frontend-vue/layers/dms-ui/app/utils/metadataRetry.ts +0 -1
  358. package/frontend-vue/package.json +2 -0
  359. package/frontend-vue/scripts/probes/frontend-legacy.cjs +0 -2
  360. package/package.json +9 -1
@@ -1,10 +1,5 @@
1
1
  <script setup lang="ts">
2
- import {
3
- getCurrentInstance,
4
- toRaw,
5
- type AppContext,
6
- type Component,
7
- } from "vue";
2
+ import { toRaw, type Component } from "vue";
8
3
  import {
9
4
  formBusInjectionKey,
10
5
  formErrorsInjectionKey,
@@ -33,6 +28,7 @@ import {
33
28
  type ResizeSide,
34
29
  useResizableSize,
35
30
  } from "../../../composables/containers/useResizableSize";
31
+ import { currentInstanceProvides } from "../../../composables/containers/instanceProvides";
36
32
  import DmsIconWell from "../../../../components/icon-well/IconWell.vue";
37
33
  import {
38
34
  CLOSING_OVERLAY_CLASS,
@@ -46,12 +42,10 @@ interface DynamicDrawerProps {
46
42
  description?: string;
47
43
  containerId: string;
48
44
  component: Component;
49
- // oxlint-disable-next-line anti-slop/no-unsafe-dictionary-type -- ContainerOptions derives VNode props and constrains reserved keys such as key and ref. This legacy component-prop boundary accepts arbitrary values for every string key without validation.
50
45
  componentOptions?: Record<string, unknown>;
51
46
  /** Mounts the body component anew when it changes. */
52
47
  componentKey?: string;
53
48
  headerComponent?: Component;
54
- // oxlint-disable-next-line anti-slop/no-unsafe-dictionary-type -- ContainerOptions derives VNode props and constrains reserved keys such as key and ref. This legacy header-prop boundary accepts arbitrary values for every string key without validation.
55
49
  headerComponentOptions?: Record<string, unknown>;
56
50
  direction?: DrawerDirection;
57
51
  /**
@@ -99,10 +93,7 @@ const NUXT_UI_FORM_KEYS: symbol[] = [
99
93
  formLoadingInjectionKey,
100
94
  formErrorsInjectionKey,
101
95
  ];
102
- // SAFETY: Vue initializes every component instance's hidden provides from its parent or app context.
103
- const drawerInstance = getCurrentInstance() as {
104
- provides: AppContext["provides"];
105
- } | null;
96
+ const drawerInstance = currentInstanceProvides();
106
97
  if (drawerInstance && props.callerProvides) {
107
98
  drawerInstance.provides = Object.create(toRaw(props.callerProvides));
108
99
 
@@ -202,16 +193,19 @@ function renderedSize(handle: Element): number | undefined {
202
193
  }
203
194
 
204
195
  function startHandleDrag(event: PointerEvent): void {
205
- // SAFETY: This handler is registered on the drawer's HTMLElement resize grip, and runs synchronously while currentTarget is set.
206
- const handle = event.currentTarget as HTMLElement;
196
+ const handle = event.currentTarget;
197
+ if (!(handle instanceof Element)) return;
207
198
  handle.setPointerCapture?.(event.pointerId);
208
199
  const rendered = renderedSize(handle) || resizedSize.value;
209
200
  if (rendered) startDrag(event, rendered);
210
201
  }
211
202
 
212
203
  function resizeHandleFromKey(event: KeyboardEvent): void {
213
- // SAFETY: This handler is registered on the drawer's HTMLElement resize grip, and runs synchronously while currentTarget is set.
214
- resizeFromKey(event, renderedSize(event.currentTarget as HTMLElement));
204
+ const handle = event.currentTarget;
205
+ resizeFromKey(
206
+ event,
207
+ handle instanceof Element ? renderedSize(handle) : undefined,
208
+ );
215
209
  }
216
210
 
217
211
  const DESKTOP_HIDDEN_GRIP = "lg:hidden!";
@@ -20,12 +20,10 @@ interface DynamicModalProps {
20
20
  size?: ModalSize;
21
21
  containerId: string;
22
22
  component: Component;
23
- // oxlint-disable-next-line anti-slop/no-unsafe-dictionary-type -- ContainerOptions derives VNode props and constrains reserved keys such as key and ref. This legacy component-prop boundary accepts arbitrary values for every string key without validation.
24
23
  componentOptions?: Record<string, unknown>;
25
24
  /** Mounts the body component anew when it changes. */
26
25
  componentKey?: string;
27
26
  headerComponent?: Component;
28
- // oxlint-disable-next-line anti-slop/no-unsafe-dictionary-type -- ContainerOptions derives VNode props and constrains reserved keys such as key and ref. This legacy header-prop boundary accepts arbitrary values for every string key without validation.
29
27
  headerComponentOptions?: Record<string, unknown>;
30
28
  icon?: string;
31
29
  color?: ContainerColor;
@@ -25,7 +25,6 @@ interface RowHeaderProps {
25
25
  subtitleClass?: string;
26
26
  /** Drawn under the position line (pills, hints). */
27
27
  component?: Component;
28
- // oxlint-disable-next-line anti-slop/no-unsafe-dictionary-type -- DrawerRowHeader derives VNode props and constrains reserved keys such as key and ref. This legacy header-prop boundary accepts arbitrary values for every string key without validation.
29
28
  componentOptions?: Record<string, unknown>;
30
29
  }
31
30
 
@@ -93,9 +93,7 @@ const rekaValue = computed<DateRange>(() =>
93
93
  );
94
94
 
95
95
  function onUpdate(value: DateRange | null) {
96
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Reka's DateRange admits other DateValue variants; retain unchecked event forwarding without converting or rejecting those variants.
97
96
  const start = value?.start as CalendarDate | undefined;
98
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Reka's DateRange admits other DateValue variants; retain unchecked event forwarding and read end before testing start.
99
97
  const end = value?.end as CalendarDate | undefined;
100
98
  if (start && end) {
101
99
  pendingStart.value = null;
@@ -110,7 +108,6 @@ function onUpdate(value: DateRange | null) {
110
108
  function isDateDisabled(date: DateValue): boolean {
111
109
  const picked = pendingStart.value;
112
110
  return (
113
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Reka supplies DateValue while the range helper accepts CalendarDate; preserve unchecked forwarding and short-circuiting instead of adding variant validation.
114
111
  !!picked && isBeyondMaxDays(date as CalendarDate, picked, props.maxDays)
115
112
  );
116
113
  }
@@ -201,7 +198,6 @@ function triggerClass(date: DateValue): (string | false)[] {
201
198
  ];
202
199
  }
203
200
 
204
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- This public prop remains Number at runtime and accepts unchecked numbers; narrowing its declaration or validating values would change the existing contract.
205
201
  const weekStart = computed(() => props.weekStartsOn as WeekStart);
206
202
  </script>
207
203
 
@@ -31,9 +31,9 @@ const { t } = useI18n();
31
31
  />
32
32
  <div class="min-w-0 flex-1" :class="props.linesClass">
33
33
  <USkeleton
34
- :aria-label="t('dms.a11y.loading')"
35
34
  v-for="(line, index) in props.lines"
36
35
  :key="index"
36
+ :aria-label="t('dms.a11y.loading')"
37
37
  :class="line"
38
38
  />
39
39
  </div>
@@ -44,7 +44,6 @@ const props = defineProps<{
44
44
  const emit = defineEmits<{ change: [change: SortableListChange<Item>] }>();
45
45
 
46
46
  defineSlots<{
47
- // 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.
48
47
  item(props: { element: Item; index: number }): unknown;
49
48
  }>();
50
49
 
@@ -107,7 +106,6 @@ const { option } = useSortable(root, list, {
107
106
  emit("change", { moved: { element, oldIndex, newIndex } });
108
107
  },
109
108
  onAdd: (event: SortableEvent) => {
110
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- A group can join independently typed lists; this existing cast does not validate the source item's type.
111
109
  const element = sharedDragged.get(draggedKey()) as Item | undefined;
112
110
  const { newIndex } = event;
113
111
  if (element === undefined || newIndex === undefined) return;
@@ -97,8 +97,8 @@ const { t } = useI18n();
97
97
  >
98
98
  <template v-if="isMd">
99
99
  <USkeleton
100
- :aria-label="t('dms.a11y.loading')"
101
100
  v-if="props.placeholder || (props.loading && props.icon)"
101
+ :aria-label="t('dms.a11y.loading')"
102
102
  class="size-10 shrink-0 rounded-[10px]"
103
103
  />
104
104
  <DmsIconWell
@@ -131,8 +131,8 @@ const { t } = useI18n();
131
131
  :label="props.eyebrow"
132
132
  />
133
133
  <USkeleton
134
- :aria-label="t('dms.a11y.loading')"
135
134
  v-if="props.loading"
135
+ :aria-label="t('dms.a11y.loading')"
136
136
  class="h-[22px] w-16"
137
137
  />
138
138
  <p
@@ -155,8 +155,8 @@ const { t } = useI18n();
155
155
 
156
156
  <template v-else>
157
157
  <USkeleton
158
- :aria-label="t('dms.a11y.loading')"
159
158
  v-if="props.placeholder || (props.loading && props.icon)"
159
+ :aria-label="t('dms.a11y.loading')"
160
160
  class="size-8 shrink-0 rounded-[9px]"
161
161
  />
162
162
  <DmsIconWell
@@ -184,8 +184,8 @@ const { t } = useI18n();
184
184
  <span v-else class="grid min-w-0 gap-0.5">
185
185
  <DmsEyebrow as="span" size="xs" :label="props.eyebrow" />
186
186
  <USkeleton
187
- :aria-label="t('dms.a11y.loading')"
188
187
  v-if="props.loading"
188
+ :aria-label="t('dms.a11y.loading')"
189
189
  class="my-0.5 h-3.5 w-24"
190
190
  />
191
191
  <b
@@ -197,8 +197,8 @@ const { t } = useI18n();
197
197
  </b>
198
198
  <template v-if="props.detail">
199
199
  <USkeleton
200
- :aria-label="t('dms.a11y.loading')"
201
200
  v-if="props.loading"
201
+ :aria-label="t('dms.a11y.loading')"
202
202
  class="h-3 w-20"
203
203
  />
204
204
  <small
@@ -151,7 +151,6 @@ const showSortControl = computed(
151
151
  hasSortableColumns.value,
152
152
  );
153
153
 
154
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Module theme configuration is unchecked; retain its existing contract derived from this component's normalized theme.
155
154
  const appConfig = useDmsAppConfig() as ReturnType<typeof useDmsAppConfig> & {
156
155
  ui: { tableActions: Partial<typeof theme> };
157
156
  };
@@ -54,7 +54,6 @@ const tableSharedData =
54
54
  const { t } = useI18n();
55
55
  const { processI18n } = useTranslation();
56
56
 
57
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Module theme configuration is unchecked; retain its existing contract derived from this component's normalized theme.
58
57
  const appConfig = useDmsAppConfig() as ReturnType<typeof useDmsAppConfig> & {
59
58
  ui: { tableFiltersRow: Partial<typeof theme> };
60
59
  };
@@ -101,7 +100,6 @@ const resolveFilterComponent = (filter: TableFilter) => {
101
100
  : opts.placeholder;
102
101
  const items = Array.isArray(opts.items)
103
102
  ? opts.items.map((item) => {
104
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Component option items are unchecked JSON. The owner allows primitives too; preserve the existing object spread and label access rather than changing malformed-input behavior.
105
103
  const obj = item as ComponentOptionsData;
106
104
  return {
107
105
  ...obj,
@@ -172,10 +170,8 @@ const itemLabels = (filter: TableFilter): string | undefined => {
172
170
  if (!Array.isArray(items) || filter.value === undefined) return undefined;
173
171
  const values = Array.isArray(filter.value) ? filter.value : [filter.value];
174
172
  const labels = values.map((value) => {
175
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- find does not validate the matched option's shape. Preserve the existing unchecked label read using the component options owner's property contract.
176
173
  const item = items.find(
177
174
  (candidate) =>
178
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Options can contain primitives. This legacy lookup reads an optional value without validating the option; narrowing would change its matching behavior.
179
175
  (candidate as Pick<ComponentOptionsData, "value">)?.value === value,
180
176
  ) as Pick<ComponentOptionsData, "label"> | undefined;
181
177
  return item?.label !== undefined ? String(item.label) : String(value);
@@ -31,7 +31,6 @@ const props = withDefaults(defineProps<TableMenuProps>(), {
31
31
 
32
32
  const { t } = useI18n();
33
33
 
34
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Module theme configuration is unchecked; retain its existing contract derived from this component's normalized theme.
35
34
  const appConfig = useDmsAppConfig() as ReturnType<typeof useDmsAppConfig> & {
36
35
  ui: { tableMenu: Partial<typeof theme> };
37
36
  };
@@ -27,7 +27,6 @@ const tableSharedData =
27
27
 
28
28
  const { t } = useI18n();
29
29
 
30
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Module theme configuration is unchecked; retain its existing contract derived from this component's normalized theme.
31
30
  const appConfig = useDmsAppConfig() as ReturnType<typeof useDmsAppConfig> & {
32
31
  ui: { tableMenuColumn: Partial<typeof theme> };
33
32
  };
@@ -39,7 +39,6 @@ const tableSharedData = computed(() => tableSharedDataRef?.value);
39
39
 
40
40
  const { t } = useI18n();
41
41
 
42
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Module theme configuration is unchecked; retain its existing contract derived from this component's normalized theme.
43
42
  const appConfig = useDmsAppConfig() as ReturnType<typeof useDmsAppConfig> & {
44
43
  ui: { tableMenuDensity: Partial<typeof theme> };
45
44
  };
@@ -44,7 +44,6 @@ const tableSharedData = computed(() => tableSharedDataRef?.value);
44
44
  const { getDataType } = useDataTypes();
45
45
  const { t, locale } = useI18n();
46
46
 
47
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Module theme configuration is unchecked; retain its existing contract derived from this component's normalized theme.
48
47
  const appConfig = useDmsAppConfig() as ReturnType<typeof useDmsAppConfig> & {
49
48
  ui: { tableMenuFilter: Partial<typeof theme> };
50
49
  };
@@ -20,7 +20,6 @@ interface Emits {
20
20
  const emits = defineEmits<Emits>();
21
21
  const { t } = useI18n();
22
22
 
23
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Module theme configuration is unchecked; retain its existing contract derived from this component's normalized theme.
24
23
  const appConfig = useDmsAppConfig() as ReturnType<typeof useDmsAppConfig> & {
25
24
  ui: { tableMenuImport: Partial<typeof theme> };
26
25
  };
@@ -18,7 +18,6 @@ const tableSharedDataRef =
18
18
  injectLocal<ShallowRef<TableSharedData<T>>>("tableSharedData");
19
19
  const tableSharedData = computed(() => tableSharedDataRef?.value);
20
20
 
21
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Module theme configuration is unchecked; retain its existing contract derived from this component's normalized theme.
22
21
  const appConfig = useDmsAppConfig() as ReturnType<typeof useDmsAppConfig> & {
23
22
  ui: { tableMenuPage: Partial<typeof theme> };
24
23
  };
@@ -28,7 +28,6 @@ interface Emits {
28
28
  const emits = defineEmits<Emits>();
29
29
  const { t } = useI18n();
30
30
 
31
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Module theme configuration is unchecked; retain its existing contract derived from this component's normalized theme.
32
31
  const appConfig = useDmsAppConfig() as ReturnType<typeof useDmsAppConfig> & {
33
32
  ui: { tableMenuRoot: Partial<typeof theme> };
34
33
  };
@@ -36,7 +36,6 @@ const tableSharedData =
36
36
 
37
37
  const { t } = useI18n();
38
38
 
39
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Module theme configuration is unchecked; retain its existing contract derived from this component's normalized theme.
40
39
  const appConfig = useDmsAppConfig() as ReturnType<typeof useDmsAppConfig> & {
41
40
  ui: { tableMenuSort: Partial<typeof theme> };
42
41
  };
@@ -27,7 +27,6 @@ const tableSharedData = computed(() => tableSharedDataRef?.value);
27
27
 
28
28
  const { t } = useI18n();
29
29
 
30
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Module theme configuration is unchecked; retain its existing contract derived from this component's normalized theme.
31
30
  const appConfig = useDmsAppConfig() as ReturnType<typeof useDmsAppConfig> & {
32
31
  ui: { tableMenuViewMode: Partial<typeof theme> };
33
32
  };
@@ -43,7 +43,6 @@ const theme = tv({
43
43
  },
44
44
  });
45
45
 
46
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Module theme configuration is unchecked; retain its existing contract derived from this component's normalized theme.
47
46
  const appConfig = useDmsAppConfig() as ReturnType<typeof useDmsAppConfig> & {
48
47
  ui: { tablePagination: Partial<typeof theme> };
49
48
  };
@@ -201,8 +200,8 @@ const uiTablePagination = computed(() => uiTablePaginationVariant());
201
200
  </span>
202
201
  {{ summary.label }}
203
202
  <USkeleton
204
- :aria-label="t('dms.a11y.loading')"
205
203
  v-if="summary.value === undefined"
204
+ :aria-label="t('dms.a11y.loading')"
206
205
  aria-hidden="true"
207
206
  :class="uiTablePagination.summaryPlaceholder()"
208
207
  />
@@ -43,7 +43,6 @@ interface TableRowSelectionProps {
43
43
 
44
44
  const props = defineProps<TableRowSelectionProps>();
45
45
 
46
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Module theme configuration is unchecked; retain its existing contract derived from this component's normalized theme.
47
46
  const appConfig = useDmsAppConfig() as ReturnType<typeof useDmsAppConfig> & {
48
47
  ui: { tableRowSelection: Partial<typeof theme> };
49
48
  };
@@ -61,7 +61,6 @@ const props = withDefaults(defineProps<TableProps<T>>(), {
61
61
  });
62
62
  const emits = defineEmits<TableEmits<T>>();
63
63
 
64
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Module theme configuration is unchecked; retain its existing contract derived from this component's normalized theme.
65
64
  const appConfig = useDmsAppConfig() as ReturnType<typeof useDmsAppConfig> & {
66
65
  ui: { table: Partial<typeof theme> };
67
66
  };
@@ -461,8 +460,8 @@ defineShortcuts({
461
460
  {{ caption }}
462
461
  </span>
463
462
  <USkeleton
464
- :aria-label="t('dms.a11y.loading')"
465
463
  v-if="isFirstPageLoading"
464
+ :aria-label="t('dms.a11y.loading')"
466
465
  aria-hidden="true"
467
466
  :class="uiTable.captionCountPlaceholder()"
468
467
  />
@@ -218,8 +218,8 @@ const emptyStates = computed(() => props.context.emptyStates);
218
218
  :class="uiTable.rowCell()"
219
219
  >
220
220
  <USkeleton
221
- :aria-label="t('dms.a11y.loading')"
222
221
  v-if="column.columnDef.meta"
222
+ :aria-label="t('dms.a11y.loading')"
223
223
  :class="uiTable.skeletonCell()"
224
224
  :style="{ width: skeletonWidth(rowIndex, columnIndex) }"
225
225
  />
@@ -92,7 +92,6 @@ const theme = tv({
92
92
  },
93
93
  });
94
94
 
95
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Module theme configuration is unchecked; retain its existing contract derived from this component's normalized theme.
96
95
  const appConfig = useDmsAppConfig() as ReturnType<typeof useDmsAppConfig> & {
97
96
  ui: { tableTabs: Partial<typeof theme> };
98
97
  };
@@ -193,8 +192,8 @@ const countFormat = computed(() => readableNumberFormat(locale.value));
193
192
  {{ tab.label }}
194
193
  </span>
195
194
  <USkeleton
196
- :aria-label="t('dms.a11y.loading')"
197
195
  v-if="tab.countPending"
196
+ :aria-label="t('dms.a11y.loading')"
198
197
  aria-hidden="true"
199
198
  :class="ui.countPlaceholder()"
200
199
  />
@@ -66,7 +66,6 @@ const theme = tv({
66
66
  },
67
67
  });
68
68
 
69
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Module theme configuration is unchecked; retain its existing contract derived from this component's normalized theme.
70
69
  const appConfig = useDmsAppConfig() as ReturnType<typeof useDmsAppConfig> & {
71
70
  ui: { tableViews: Partial<typeof theme> };
72
71
  };
@@ -240,8 +239,8 @@ const openTab = (id: string) => emit("open", id);
240
239
  />
241
240
  {{ view.label }}
242
241
  <USkeleton
243
- :aria-label="t('dms.a11y.loading')"
244
242
  v-if="view.countPending"
243
+ :aria-label="t('dms.a11y.loading')"
245
244
  aria-hidden="true"
246
245
  class="h-3 w-4 rounded-[3px]"
247
246
  />
@@ -18,8 +18,8 @@ export function useTableComponentScroll<T extends Data>(props: TableProps<T>) {
18
18
  const onTableScroll = (event: Event) => {
19
19
  syncScrollEdges();
20
20
  if (!hasScrollArea.value) return;
21
- // SAFETY: This scroll listener is attached directly to the table's scrolling section.
22
- isScrolled.value = (event.target as HTMLElement).scrollTop > 0;
21
+ const { target } = event;
22
+ isScrolled.value = target instanceof Element && target.scrollTop > 0;
23
23
  };
24
24
 
25
25
  const tableRootRef = useTemplateRef<HTMLElement>("tableRoot");
@@ -45,8 +45,8 @@ export function useTableComponentScroll<T extends Data>(props: TableProps<T>) {
45
45
  }));
46
46
 
47
47
  const syncClippedTitle = (event: MouseEvent) => {
48
- // SAFETY: The mouseenter bindings attach this listener to the caption span and cell divs.
49
- const cell = event.currentTarget as HTMLElement;
48
+ const cell = event.currentTarget;
49
+ if (!(cell instanceof HTMLElement)) return;
50
50
  if (cell.scrollWidth > cell.clientWidth) {
51
51
  cell.title = cell.textContent?.trim() ?? "";
52
52
  } else {
@@ -2,6 +2,7 @@
2
2
  import { MAX_PAGE_SIZE } from "../../composables/table/constants";
3
3
  import {
4
4
  CARD_GRID_CLASS,
5
+ DEFAULT_CARD_MIN_WIDTH,
5
6
  cardGridStyle,
6
7
  } from "../../composables/table-view/utils/card";
7
8
 
@@ -27,6 +28,7 @@ interface CardGridSkeletonProps {
27
28
  }
28
29
 
29
30
  const props = withDefaults(defineProps<CardGridSkeletonProps>(), {
31
+ minWidth: DEFAULT_CARD_MIN_WIDTH,
30
32
  labelClass: "text-[10.5px] leading-[1.2]",
31
33
  });
32
34
 
@@ -66,7 +66,6 @@ const subtitleOf = (item: T): string | undefined =>
66
66
 
67
67
  const card = computed(
68
68
  () =>
69
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Display options are supplied by backend configuration; retain the existing unchecked card shape.
70
69
  (props.context.options as { card?: TableViewCardConfig } | undefined)?.card,
71
70
  );
72
71
 
@@ -96,7 +95,6 @@ const rowActionsFor = (id: string): Component => {
96
95
  name: "CardRowActionsOf",
97
96
  render: () =>
98
97
  h(CardRowActions, {
99
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Dynamic h erases the row generic; retain the existing unchecked table handoff without asserting that TanStack's row types are covariant.
100
98
  table: props.context.table as TableViewDisplayContext["table"],
101
99
  rowId: id,
102
100
  }),
@@ -94,9 +94,9 @@ const FieldValue = (fieldProps: { item: KeyValueItem }) =>
94
94
  aria-busy="true"
95
95
  >
96
96
  <USkeleton
97
- :aria-label="t('dms.a11y.loading')"
98
97
  v-for="line in SKELETON_LINE_COUNT"
99
98
  :key="line"
99
+ :aria-label="t('dms.a11y.loading')"
100
100
  class="h-4 w-full max-w-md"
101
101
  />
102
102
  </div>
@@ -22,7 +22,6 @@ const NOT_FOUND_TITLE_KEY = "side_panel.not_found.title";
22
22
  const NOT_FOUND_DESCRIPTION_KEY = "side_panel.not_found.description";
23
23
 
24
24
  export const resolveTargetComponent = (componentName: string): Component =>
25
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- The resolver still falls back to a string at runtime; Component erases that existing container mismatch and does not validate it.
26
25
  (resolveDmsComponent(componentName) || componentName) as Component;
27
26
 
28
27
  export const targetComponentOf = (
@@ -43,7 +43,6 @@ export interface GuardSource {
43
43
  /** What the route answers: any value, maybe with an `emptyState` laid over the fallback. */
44
44
  export interface GuardResponse {
45
45
  emptyState?: GuardFallback;
46
- // oxlint-disable-next-line anti-slop/no-unsafe-dictionary-type -- Guard fields are arbitrary endpoint values; deriving from GuardFallback would exclude the response fields checked by a caller's dot path.
47
46
  [field: string]: unknown;
48
47
  }
49
48
 
@@ -59,7 +58,6 @@ export interface GuardState {
59
58
  const FIELD_PATH_SEPARATOR = ".";
60
59
 
61
60
  /** The value at a dot path of an answer, `undefined` where the path stops. */
62
- // oxlint-disable-next-line anti-slop/no-unknown-parameters -- This public path reader traverses arbitrary endpoint answers; GuardResponse would exclude primitive inputs without establishing nested field types.
63
61
  export function readFieldPath(source: unknown, path: string) {
64
62
  return path.split(FIELD_PATH_SEPARATOR).reduce<unknown>((value, key) => {
65
63
  if (value === null || !isObject(value)) return undefined;
@@ -68,13 +66,11 @@ export function readFieldPath(source: unknown, path: string) {
68
66
  }
69
67
 
70
68
  /** Absent, `null`, `false`, `0`, `""` or an empty list: nothing to show. */
71
- // oxlint-disable-next-line anti-slop/no-unknown-parameters -- The emptiness predicate accepts every endpoint value; an inferred or response-object parameter would exclude primitive answers.
72
69
  export function isEmptyValue(value: unknown): boolean {
73
70
  if (Array.isArray(value)) return value.length === 0;
74
71
  return !value;
75
72
  }
76
73
 
77
- // oxlint-disable-next-line anti-slop/no-unknown-parameters -- The route can answer any JavaScript value; this boundary preserves the primitive and array cases that return undefined.
78
74
  function answerOverride(answer: unknown): GuardFallback | undefined {
79
75
  if (!answer || !isObject(answer) || Array.isArray(answer)) {
80
76
  return undefined;
@@ -1,12 +1,10 @@
1
1
  import { isObject } from "../../../../../dms-core/app/utils/type-check";
2
2
  import type { UseApexChartInput } from "../../../composables/chart/useApexChart.types";
3
3
 
4
- // oxlint-disable-next-line anti-slop/no-unsafe-dictionary-type -- Raw dotted-path overrides can replace any section with arbitrary JSON or text; ApexOptions indexed access cannot describe this existing unchecked escape hatch, and inferred builders exclude user-defined keys.
5
4
  export type RawOptionSection = Record<string, unknown>;
6
5
 
7
6
  const RAW_OPTION_PATH_SEPARATOR = ".";
8
7
 
9
- // oxlint-disable-next-line anti-slop/no-unknown-returns -- JSON.parse accepts arbitrary user JSON here; validating as ApexOptions would reject currently supported raw overrides.
10
8
  function parseRawOptionValue(value: string): unknown {
11
9
  try {
12
10
  return JSON.parse(value);
@@ -131,7 +131,6 @@ export function buildStroke(
131
131
  surface: string,
132
132
  ): NonNullable<ApexOptions["stroke"]> {
133
133
  const initialStroke = { ...config.defaultStroke };
134
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- The public configuration accepts arbitrary curve strings; inference and ApexStroke reject that existing unchecked Apex boundary.
135
134
  const stroke = initialStroke as NonNullable<ApexOptions["stroke"]>;
136
135
  if (input.smooth === false && stroke.curve) stroke.curve = "straight";
137
136
  if (input.curve) stroke.curve = input.curve;
@@ -77,7 +77,6 @@ export function buildLegend(
77
77
  labels: { colors: theme.muted },
78
78
  markers: {
79
79
  size: LEGEND_MARKER_SIZE,
80
- // oxlint-disable-next-line anti-slop/no-shape-in-symbol-names -- ApexOptions owns this literal markers.shape property; renaming it would change the chart configuration.
81
80
  shape: "square",
82
81
  strokeWidth: 0,
83
82
  },
@@ -198,7 +197,6 @@ function pointLabel(
198
197
  ) {
199
198
  const point =
200
199
  context.w.config.series[context.seriesIndex]?.data[context.dataPointIndex];
201
- // oxlint-disable-next-line anti-slop/no-runtime-typeof -- The shared isObject guard widens this owner union's label to unknown; typeof retains the ChartSeries point contract without asserting or validating plugin values.
202
200
  if (typeof point !== "object" || point === null || !("label" in point)) {
203
201
  return value;
204
202
  }
@@ -94,8 +94,9 @@ export function useActionConfirm() {
94
94
  }
95
95
 
96
96
  function withoutUndefined<T extends object>(value: T): Partial<T> {
97
- // SAFETY: Filtering Object.entries only removes properties from T; it never changes the values of the retained properties.
98
- return Object.fromEntries(
99
- Object.entries(value).filter(([, entry]) => entry !== undefined),
100
- ) as Partial<T>;
97
+ const defined: Partial<T> = { ...value };
98
+ for (const [key, entry] of Object.entries(value)) {
99
+ if (entry === undefined) Reflect.deleteProperty(defined, key);
100
+ }
101
+ return defined;
101
102
  }
@@ -63,9 +63,9 @@ export const UNCOVERED_ATTRIBUTE = "data-dms-uncovered";
63
63
  function isClosing(
64
64
  mutation: MutationRecord,
65
65
  ): mutation is MutationRecord & { target: Element } {
66
- // SAFETY: The only caller observes attributes with attributeFilter; DOM attribute mutations always target Elements.
67
- const target = mutation.target as Element;
66
+ const { target } = mutation;
68
67
  return (
68
+ target instanceof Element &&
69
69
  target.getAttribute("data-state") === "closed" &&
70
70
  target.matches(BLOCKING_SELECTOR)
71
71
  );
@@ -73,7 +73,6 @@ function emptyPreferences(): DrawerSizePreferences {
73
73
  return { widths: {}, heights: {} };
74
74
  }
75
75
 
76
- // oxlint-disable-next-line anti-slop/no-unknown-parameters -- This cookie decoder accepts malformed persisted values and filters them here.
77
76
  function readSizes(value: unknown): Record<string, number> {
78
77
  if (!isObject(value) || value === null) return {};
79
78
  const entries: [string, unknown][] = Object.entries(value);
@@ -92,7 +91,6 @@ function readSizes(value: unknown): Record<string, number> {
92
91
  * @internal
93
92
  */
94
93
  export function readDrawerSizePreferences(
95
- // oxlint-disable-next-line anti-slop/no-unknown-parameters -- The persisted cookie is decoded here, not trusted as DrawerSizePreferences.
96
94
  value: unknown,
97
95
  ): DrawerSizePreferences {
98
96
  if (!isObject(value) || value === null) return emptyPreferences();
@@ -168,7 +166,6 @@ const ASYNC_WRAPPER_NAME = "AsyncComponentWrapper";
168
166
  * @internal
169
167
  */
170
168
  export function componentSizeKey(component: Component): string | undefined {
171
- // oxlint-disable-next-line anti-slop/require-safety-comment-for-type-assertion -- Component's constructor branch does not constrain these metadata fields; retain unchecked name selection and interpolation.
172
169
  const named = component as Pick<ComponentOptions, "name" | "__name">;
173
170
  const { name, __name } = named;
174
171
  const componentName = [name, __name].find(
@@ -0,0 +1,14 @@
1
+ import { getCurrentInstance, type AppContext } from "vue";
2
+
3
+ /**
4
+ * The component instance running now, as the holder of what it and its
5
+ * ancestors provide, or null outside a component.
6
+ */
7
+ export function currentInstanceProvides(): {
8
+ provides: AppContext["provides"];
9
+ } | null {
10
+ // SAFETY: Holds for every instance Vue 3's runtime-core creates, which is what getCurrentInstance returns when it returns one: createComponentInstance sets its provides to its parent's provides object or, for a root, to one created from appContext.provides, and provide() and a child's inject() read that member; Vue's published ComponentInternalInstance type leaves this @internal member out.
11
+ return getCurrentInstance() as {
12
+ provides: AppContext["provides"];
13
+ } | null;
14
+ }