web-mojo 2.2.67 → 2.2.69
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 +25 -9
- package/dist/admin.cjs.js +1 -1
- package/dist/admin.cjs.js.map +1 -1
- package/dist/admin.es.js +1 -1
- package/dist/admin.es.js.map +1 -1
- package/dist/auth.cjs.js +1 -1
- package/dist/auth.es.js +1 -1
- package/dist/charts.cjs.js +1 -1
- package/dist/charts.es.js +1 -1
- package/dist/chunks/ChatView-CZ3Key2k.js +2 -0
- package/dist/chunks/ChatView-CZ3Key2k.js.map +1 -0
- package/dist/chunks/ChatView-Dw-iVmht.js +2 -0
- package/dist/chunks/ChatView-Dw-iVmht.js.map +1 -0
- package/dist/chunks/{Dialog-DW7PHzUc.js → Dialog-Dhqtd9Yz.js} +2 -2
- package/dist/chunks/{Dialog-DW7PHzUc.js.map → Dialog-Dhqtd9Yz.js.map} +1 -1
- package/dist/chunks/{Dialog-jfBsXy5X.js → Dialog-t_9l2Mou.js} +2 -2
- package/dist/chunks/{Dialog-jfBsXy5X.js.map → Dialog-t_9l2Mou.js.map} +1 -1
- package/dist/chunks/Files-6eRT5k3r.js +2 -0
- package/dist/chunks/{Files-C-ChBvr5.js.map → Files-6eRT5k3r.js.map} +1 -1
- package/dist/chunks/Files-Dh_5PFBn.js +2 -0
- package/dist/chunks/{Files-DNbHDy43.js.map → Files-Dh_5PFBn.js.map} +1 -1
- package/dist/chunks/{FormView-EoB_ZdIB.js → FormView-B1CXO2t8.js} +2 -2
- package/dist/chunks/{FormView-EoB_ZdIB.js.map → FormView-B1CXO2t8.js.map} +1 -1
- package/dist/chunks/{FormView-Q_lFA0nr.js → FormView-BRHAIawp.js} +2 -2
- package/dist/chunks/{FormView-Q_lFA0nr.js.map → FormView-BRHAIawp.js.map} +1 -1
- package/dist/chunks/{MetricsMiniChartWidget-ChC5GGm6.js → MetricsMiniChartWidget-D1w608Jy.js} +2 -2
- package/dist/chunks/MetricsMiniChartWidget-D1w608Jy.js.map +1 -0
- package/dist/chunks/{MetricsMiniChartWidget-BkMjI-gz.js → MetricsMiniChartWidget-Dg1e6EQJ.js} +2 -2
- package/dist/chunks/MetricsMiniChartWidget-Dg1e6EQJ.js.map +1 -0
- package/dist/chunks/{PDFViewer-iOqYpg-6.js → PDFViewer-CDeV9OBs.js} +2 -2
- package/dist/chunks/{PDFViewer-iOqYpg-6.js.map → PDFViewer-CDeV9OBs.js.map} +1 -1
- package/dist/chunks/{PDFViewer-sFoyopz3.js → PDFViewer-D_3V8QJe.js} +2 -2
- package/dist/chunks/{PDFViewer-sFoyopz3.js.map → PDFViewer-D_3V8QJe.js.map} +1 -1
- package/dist/chunks/TableView-CI_7a-kD.js +2 -0
- package/dist/chunks/TableView-CI_7a-kD.js.map +1 -0
- package/dist/chunks/TableView-CWk5k4LQ.js +2 -0
- package/dist/chunks/TableView-CWk5k4LQ.js.map +1 -0
- package/dist/chunks/ToastService-C2tTooFn.js +3 -0
- package/dist/chunks/ToastService-C2tTooFn.js.map +1 -0
- package/dist/chunks/ToastService-nUaGVpSl.js +3 -0
- package/dist/chunks/ToastService-nUaGVpSl.js.map +1 -0
- package/dist/chunks/TokenManager-ien2XzwO.js +2 -0
- package/dist/chunks/TokenManager-ien2XzwO.js.map +1 -0
- package/dist/chunks/TokenManager-sZgt--C9.js +2 -0
- package/dist/chunks/TokenManager-sZgt--C9.js.map +1 -0
- package/dist/chunks/User-BL9M_PWB.js +2 -0
- package/dist/chunks/User-BL9M_PWB.js.map +1 -0
- package/dist/chunks/{User-BnlvMG5J.js → User-DqHG5Gr1.js} +2 -3
- package/dist/chunks/User-DqHG5Gr1.js.map +1 -0
- package/dist/chunks/UserProfileView-DnVMHcLH.js +2 -0
- package/dist/chunks/UserProfileView-DnVMHcLH.js.map +1 -0
- package/dist/chunks/UserProfileView-kupeq2rN.js +2 -0
- package/dist/chunks/UserProfileView-kupeq2rN.js.map +1 -0
- package/dist/chunks/{WebApp-Bsic6FPo.js → WebApp-Bti0Gqqo.js} +2 -2
- package/dist/chunks/{WebApp-Bsic6FPo.js.map → WebApp-Bti0Gqqo.js.map} +1 -1
- package/dist/chunks/{WebApp-B0m6JCjO.js → WebApp-CcVF73yg.js} +2 -2
- package/dist/chunks/{WebApp-B0m6JCjO.js.map → WebApp-CcVF73yg.js.map} +1 -1
- package/dist/chunks/index-Aq9ke4vg.js +2 -0
- package/dist/chunks/index-Aq9ke4vg.js.map +1 -0
- package/dist/chunks/index-Da9sT-tE.js +2 -0
- package/dist/chunks/index-Da9sT-tE.js.map +1 -0
- package/dist/chunks/{version-BY7AsEkb.js → version-D8JjsPW0.js} +2 -2
- package/dist/chunks/{version-BY7AsEkb.js.map → version-D8JjsPW0.js.map} +1 -1
- package/dist/chunks/{version-BdfRyQDm.js → version-XmirKYWA.js} +2 -2
- package/dist/chunks/{version-BdfRyQDm.js.map → version-XmirKYWA.js.map} +1 -1
- package/dist/css/web-mojo.css +1 -1
- package/dist/docit.cjs.js +1 -1
- package/dist/docit.cjs.js.map +1 -1
- package/dist/docit.es.js +1 -1
- package/dist/docit.es.js.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/lightbox.cjs.js +1 -1
- package/dist/lightbox.es.js +1 -1
- package/dist/map.cjs.js +1 -1
- package/dist/map.es.js +1 -1
- package/dist/user-profile.cjs.js +2 -0
- package/dist/user-profile.cjs.js.map +1 -0
- package/dist/user-profile.es.js +2 -0
- package/dist/user-profile.es.js.map +1 -0
- package/dist/web-mojo.lite.iife.js +9 -6
- package/dist/web-mojo.lite.iife.js.map +1 -1
- package/dist/web-mojo.lite.iife.min.js +11 -11
- package/dist/web-mojo.lite.iife.min.js.map +1 -1
- package/package.json +5 -1
- package/dist/chunks/ChatView-Cfe0ZGvr.js +0 -2
- package/dist/chunks/ChatView-Cfe0ZGvr.js.map +0 -1
- package/dist/chunks/ChatView-DuQVFrCY.js +0 -2
- package/dist/chunks/ChatView-DuQVFrCY.js.map +0 -1
- package/dist/chunks/Files-C-ChBvr5.js +0 -2
- package/dist/chunks/Files-DNbHDy43.js +0 -2
- package/dist/chunks/MetricsMiniChartWidget-BkMjI-gz.js.map +0 -1
- package/dist/chunks/MetricsMiniChartWidget-ChC5GGm6.js.map +0 -1
- package/dist/chunks/TokenManager-BYMKH_aW.js +0 -2
- package/dist/chunks/TokenManager-BYMKH_aW.js.map +0 -1
- package/dist/chunks/TokenManager-DhDUKmaw.js +0 -2
- package/dist/chunks/TokenManager-DhDUKmaw.js.map +0 -1
- package/dist/chunks/User-BnlvMG5J.js.map +0 -1
- package/dist/chunks/User-DSqcOwPL.js +0 -3
- package/dist/chunks/User-DSqcOwPL.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,12 +3,28 @@
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
5
|
### Added
|
|
6
|
-
- **
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
- **
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
6
|
+
- **User Profile Extension** (`web-mojo/user-profile`) — Moved all user profile views from `src/core/views/user/` into a standalone extension at `src/extensions/user-profile/`. Available as `import { ... } from 'web-mojo/user-profile'` or via `@ext/user-profile/index.js` internally.
|
|
7
|
+
- **ProfilePersonalSection** — Editable first/last name, display name, DOB (with verified/unverified badge), timezone, and address (stored in `user.metadata`)
|
|
8
|
+
- **ProfileConnectedSection** — Lists OAuth provider connections (Google, GitHub, Microsoft, etc.) with unlink capability and lockout guard
|
|
9
|
+
- **ProfileSecurityEventsSection** — TableView of auth events (logins, failed attempts, password changes) with color-coded severity badges and custom `SecurityEventRow`
|
|
10
|
+
- **ProfileNotificationsSection** — Per-kind, per-channel toggle grid for notification preferences (in-app, email, push)
|
|
11
|
+
- **ProfileApiKeysSection** — Generate, list, copy, and delete personal API keys with IP restriction and expiration options; token shown once with copy-to-clipboard
|
|
12
|
+
- **Recovery Codes** in ProfileSecuritySection — View masked codes, regenerate with TOTP verification, copy-all support
|
|
13
|
+
- **Revoke All Sessions** in ProfileSecuritySection — Password-confirmed session revocation with automatic token refresh
|
|
14
|
+
- **Passkey model centralization** — `Passkey.register(friendlyName)` and `Passkey.suggestName()` static methods on the Passkey model, shared by both `PasskeySetupView` and `ProfileSecuritySection`
|
|
15
|
+
- **Rich passkey dialogs** — Passkey registration uses polished dialogs for name input (with auto-suggested device name), success confirmation, and error display instead of toasts
|
|
16
|
+
- **UserProfileView nav** updated to 11 sections across 3 groups: Profile, Personal, Security, Connected | Sessions, Devices, Security Events | Notifications, API Keys, Groups, Permissions
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
- **ProfileSessionsSection** — Rewritten with TableView (paginated, size 10) and custom `SessionRow` with rich two-line column templates: browser + device on top, location + IP + threat flags below
|
|
20
|
+
- **ProfileDevicesSection** — Rewritten with TableView (paginated, size 10) and custom `DeviceRow` with rich two-line column templates: device name + model on top, browser + OS + IP below
|
|
21
|
+
- **ProfileOverviewSection** — Removed personal fields (moved to Personal section), removed username edit (read-only), added account deactivation, relaxed phone number format placeholder
|
|
22
|
+
- **PortalApp** — Dynamic imports updated from `@core/views/user/index.js` to `@ext/user-profile/index.js`; removed duplicate `onActionChangePassword` handler that caused double dialog
|
|
23
|
+
- `src/core/views/user/index.js` now re-exports from extension for backward compatibility (marked `@deprecated`)
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
- **Passkey registration flow** — Name is now collected before the WebAuthn API call (was previously asking after OS biometric prompt)
|
|
27
|
+
- **Passkey REST calls** — Added `dataOnly: true` to prevent double-wrapped response (`resp.data.data`) causing "Failed to start" errors
|
|
28
|
+
- **Double password dialog** — Removed duplicate `onActionChangePassword` from `UserProfileView` that conflicted with `ProfileSecuritySection`'s handler
|
|
29
|
+
- **Phone number format** — Changed placeholder from E.164 format (`+14155550123`) to friendly format (`(415) 555-0123`) since backend normalizes
|
|
30
|
+
- **MetricsChart gear dropdown** — Chart type toggle now returns `true` from action handlers for EventDelegate auto-close; chart type moved back to SeriesChart's built-in switcher
|