@zextras/carbonio-shell-ui 14.1.1 → 14.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/boot/app/app-direct-exports.d.ts +1 -1
- package/lib/boot/app/app-direct-exports.js +3 -2
- package/lib/boot/app/app-direct-exports.js.map +1 -1
- package/lib/store/account/hooks.d.ts +1 -0
- package/lib/store/account/hooks.js +3 -1
- package/lib/store/account/hooks.js.map +1 -1
- package/lib/types/account/index.d.ts +1 -0
- package/package.json +4 -4
|
@@ -8,7 +8,7 @@ export declare const registerFunctions: (...items: Array<{
|
|
|
8
8
|
action: import("../../types/integrations").ActionFactory<unknown, TAction>;
|
|
9
9
|
type: string;
|
|
10
10
|
}>) => void, removeActions: (...ids: Array<string>) => void, removeComponents: (...ids: Array<string>) => void;
|
|
11
|
-
export { getUserAccount, getUserAccounts, getUserSetting, getUserSettings, useUserAccount, useUserAccounts, useUserSetting, useUserSettings, useUserRight, useUserRights, getUserRight, getUserRights, useAuthenticated, updateSettings, updateAccount } from '../../store/account';
|
|
11
|
+
export { getUserAccount, getUserAccounts, getUserSetting, getUserSettings, useUserAccount, useUserAccounts, useUserSetting, useUserSettings, useUserRight, useUserRights, getUserRight, getUserRights, useAuthenticated, useChangePasswordURL, updateSettings, updateAccount } from '../../store/account';
|
|
12
12
|
export { closeBoard, updateBoard, updateBoardContext, getBoardById, getBoardContextById, useBoardContextById, useBoardById, useBoard, minimizeBoards, expandBoards, reopenBoards, setCurrentBoard, useBoardHooks } from '../../store/boards';
|
|
13
13
|
export { useCurrentRoute } from '../../history/hooks';
|
|
14
14
|
export { getNotificationManager } from '../../notification/NotificationManager';
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
var _a, _b;
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.
|
|
10
|
-
exports.AuthGuard = exports.AppContextProvider = exports.useTracker = exports.useFeatureFlag = exports.useIsCarbonioCE = exports.upsertApp = exports.removeSecondaryAccessoryView = exports.removePrimaryAccessoryView = void 0;
|
|
9
|
+
exports.removeSettingsView = exports.removeBoardView = exports.removeRoute = exports.setRouteVisibility = exports.updatePrimaryBadge = exports.useLocalStorage = exports.getNotificationManager = exports.useCurrentRoute = exports.useBoardHooks = exports.setCurrentBoard = exports.reopenBoards = exports.expandBoards = exports.minimizeBoards = exports.useBoard = exports.useBoardById = exports.useBoardContextById = exports.getBoardContextById = exports.getBoardById = exports.updateBoardContext = exports.updateBoard = exports.closeBoard = exports.updateAccount = exports.updateSettings = exports.useChangePasswordURL = exports.useAuthenticated = exports.getUserRights = exports.getUserRight = exports.useUserRights = exports.useUserRight = exports.useUserSettings = exports.useUserSetting = exports.useUserAccounts = exports.useUserAccount = exports.getUserSettings = exports.getUserSetting = exports.getUserAccounts = exports.getUserAccount = exports.removeComponents = exports.removeActions = exports.registerActions = exports.removeFunctions = exports.registerFunctions = exports.getIntegratedFunction = exports.getIntegratedComponent = exports.getActions = exports.getAction = exports.useIntegratedFunction = exports.useIntegratedComponent = exports.useActions = exports.useAction = void 0;
|
|
10
|
+
exports.AuthGuard = exports.AppContextProvider = exports.useTracker = exports.useFeatureFlag = exports.useIsCarbonioCE = exports.upsertApp = exports.removeSecondaryAccessoryView = exports.removePrimaryAccessoryView = exports.removeUtilityView = void 0;
|
|
11
11
|
const app_1 = require("../../store/app");
|
|
12
12
|
const store_1 = require("../../store/integrations/store");
|
|
13
13
|
var hooks_1 = require("../../store/integrations/hooks");
|
|
@@ -35,6 +35,7 @@ Object.defineProperty(exports, "useUserRights", { enumerable: true, get: functio
|
|
|
35
35
|
Object.defineProperty(exports, "getUserRight", { enumerable: true, get: function () { return account_1.getUserRight; } });
|
|
36
36
|
Object.defineProperty(exports, "getUserRights", { enumerable: true, get: function () { return account_1.getUserRights; } });
|
|
37
37
|
Object.defineProperty(exports, "useAuthenticated", { enumerable: true, get: function () { return account_1.useAuthenticated; } });
|
|
38
|
+
Object.defineProperty(exports, "useChangePasswordURL", { enumerable: true, get: function () { return account_1.useChangePasswordURL; } });
|
|
38
39
|
Object.defineProperty(exports, "updateSettings", { enumerable: true, get: function () { return account_1.updateSettings; } });
|
|
39
40
|
Object.defineProperty(exports, "updateAccount", { enumerable: true, get: function () { return account_1.updateAccount; } });
|
|
40
41
|
var boards_1 = require("../../store/boards");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-direct-exports.js","sourceRoot":"","sources":["../../../src/boot/app/app-direct-exports.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;AAEH,yCAA8C;AAC9C,0DAAsE;AAEtE,wDAKwC;AAJvC,kGAAA,SAAS,OAAA;AACT,mGAAA,UAAU,OAAA;AACV,+GAAA,sBAAsB,OAAA;AACtB,8GAAA,qBAAqB,OAAA;AAGtB,4DAK0C;AAJzC,oGAAA,SAAS,OAAA;AACT,qGAAA,UAAU,OAAA;AACV,iHAAA,sBAAsB,OAAA;AACtB,gHAAA,qBAAqB,OAAA;AAGT,KAMT,4BAAoB,CAAC,QAAQ,EAAE,EALlC,yBAAiB,yBACjB,uBAAe,uBACf,uBAAe,uBACf,qBAAa,qBACb,wBAAgB,uBACmB;AAEpC,+
|
|
1
|
+
{"version":3,"file":"app-direct-exports.js","sourceRoot":"","sources":["../../../src/boot/app/app-direct-exports.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;AAEH,yCAA8C;AAC9C,0DAAsE;AAEtE,wDAKwC;AAJvC,kGAAA,SAAS,OAAA;AACT,mGAAA,UAAU,OAAA;AACV,+GAAA,sBAAsB,OAAA;AACtB,8GAAA,qBAAqB,OAAA;AAGtB,4DAK0C;AAJzC,oGAAA,SAAS,OAAA;AACT,qGAAA,UAAU,OAAA;AACV,iHAAA,sBAAsB,OAAA;AACtB,gHAAA,qBAAqB,OAAA;AAGT,KAMT,4BAAoB,CAAC,QAAQ,EAAE,EALlC,yBAAiB,yBACjB,uBAAe,uBACf,uBAAe,uBAC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AAEnB,+DAA4D;AAAnD,0HAAA,kBAAkB,OAAA;AAG3B,yDAAuD;AAA9C,uGAAA,SAAS,OAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Account, AccountRightName, AccountRights, AccountRightTarget, AccountSettings } from '../../types/account';
|
|
2
2
|
export declare const useAuthenticated: () => boolean;
|
|
3
|
+
export declare const useChangePasswordURL: () => string | undefined;
|
|
3
4
|
/**
|
|
4
5
|
* Return the authenticated user account. Throws if the user is not authenticated.
|
|
5
6
|
* Note: this hook should be used only where the user is for sure logically authenticated
|
|
@@ -5,12 +5,14 @@
|
|
|
5
5
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.getUserRight = exports.getUserRights = exports.getUserSetting = exports.getUserSettings = exports.getUserAccounts = exports.getUserAccount = exports.useUserSetting = exports.useUserSettings = exports.useUserRight = exports.useUserRights = exports.useUserAccounts = exports.useUserAccount = exports.useAuthenticated = void 0;
|
|
8
|
+
exports.getUserRight = exports.getUserRights = exports.getUserSetting = exports.getUserSettings = exports.getUserAccounts = exports.getUserAccount = exports.useUserSetting = exports.useUserSettings = exports.useUserRight = exports.useUserRights = exports.useUserAccounts = exports.useUserAccount = exports.useChangePasswordURL = exports.useAuthenticated = void 0;
|
|
9
9
|
const react_1 = require("react");
|
|
10
10
|
const lodash_1 = require("lodash");
|
|
11
11
|
const store_1 = require("./store");
|
|
12
12
|
const useAuthenticated = () => (0, store_1.useAccountStore)((s) => s.authenticated);
|
|
13
13
|
exports.useAuthenticated = useAuthenticated;
|
|
14
|
+
const useChangePasswordURL = () => (0, store_1.useAccountStore)((s) => s.changePasswordURL);
|
|
15
|
+
exports.useChangePasswordURL = useChangePasswordURL;
|
|
14
16
|
/**
|
|
15
17
|
* Return the authenticated user account. Throws if the user is not authenticated.
|
|
16
18
|
* Note: this hook should be used only where the user is for sure logically authenticated
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/store/account/hooks.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,iCAAgC;AAEhC,mCAAyC;AAEzC,mCAA0C;AASnC,MAAM,gBAAgB,GAAG,GAAY,EAAE,CAAC,IAAA,uBAAe,EAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;AAA1E,QAAA,gBAAgB,oBAA0D;
|
|
1
|
+
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/store/account/hooks.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,iCAAgC;AAEhC,mCAAyC;AAEzC,mCAA0C;AASnC,MAAM,gBAAgB,GAAG,GAAY,EAAE,CAAC,IAAA,uBAAe,EAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;AAA1E,QAAA,gBAAgB,oBAA0D;AAChF,MAAM,oBAAoB,GAAG,GAAuB,EAAE,CAC5D,IAAA,uBAAe,EAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;AADhC,QAAA,oBAAoB,wBACY;AAE7C;;;GAGG;AACI,MAAM,cAAc,GAAG,GAAY,EAAE;IAC3C,MAAM,OAAO,GAAG,IAAA,uBAAe,EAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;IAClD,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC3B,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;IAC9C,CAAC;IACD,OAAO,OAAO,CAAC;AAChB,CAAC,CAAC;AANW,QAAA,cAAc,kBAMzB;AAEK,MAAM,eAAe,GAAG,GAAmB,EAAE;IACnD,MAAM,IAAI,GAAG,IAAA,uBAAe,EAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;I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client",
|
|
5
5
|
"main": "./lib/lib.js",
|
|
6
6
|
"types": "./lib/lib.d.ts",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@babel/preset-env": "7.29.2",
|
|
73
73
|
"@babel/preset-react": "7.28.5",
|
|
74
74
|
"@babel/preset-typescript": "7.28.5",
|
|
75
|
-
"@commitlint/cli": "20.5.
|
|
75
|
+
"@commitlint/cli": "20.5.2",
|
|
76
76
|
"@commitlint/config-conventional": "20.5.0",
|
|
77
77
|
"@commitlint/types": "20.5.0",
|
|
78
78
|
"@emotion/babel-plugin": "11.13.5",
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"@fontsource/roboto": "5.2.10",
|
|
132
132
|
"@zextras/carbonio-design-system": "12.0.2",
|
|
133
133
|
"@zextras/carbonio-ui-preview": "5.0.0",
|
|
134
|
-
"@zextras/carbonio-ui-soap-lib": "1.
|
|
134
|
+
"@zextras/carbonio-ui-soap-lib": "1.2.0",
|
|
135
135
|
"darkreader": "4.9.120",
|
|
136
136
|
"date-fns": "4.1.0",
|
|
137
137
|
"i18next": "22.5.1",
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
},
|
|
149
149
|
"pnpm": {
|
|
150
150
|
"overrides": {
|
|
151
|
-
"vite": "7.3.
|
|
151
|
+
"vite": "7.3.2"
|
|
152
152
|
},
|
|
153
153
|
"onlyBuiltDependencies": [
|
|
154
154
|
"@zextras/carbonio-search-ui",
|