@zextras/carbonio-shell-ui 9.0.1-devel.1737974562289 → 9.0.1-devel.1738148136542
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/constants/index.d.ts +3 -4
- package/lib/constants/index.js +4 -5
- package/lib/constants/index.js.map +1 -1
- package/lib/lib.d.ts +0 -1
- package/lib/lib.js +0 -1
- package/lib/lib.js.map +1 -1
- package/lib/store/app/hooks.d.ts +0 -5
- package/lib/store/app/hooks.js +1 -11
- package/lib/store/app/hooks.js.map +1 -1
- package/lib/types/misc/index.d.ts +0 -28
- package/lib/types/network/index.d.ts +0 -28
- package/package.json +1 -1
package/lib/constants/index.d.ts
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import type { DynamicThemeFix } from 'darkreader';
|
|
2
2
|
export declare const SHELL_APP_ID = "carbonio-shell-ui";
|
|
3
3
|
export declare const SETTINGS_APP_ID = "settings";
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated This constant is not used and will be deleted in next releases
|
|
6
|
-
*/
|
|
7
|
-
export declare const ACCOUNTS_APP_ID = "accounts";
|
|
8
4
|
export declare const ACTION_TYPES: {
|
|
9
5
|
/** @deprecated this action does not belong to shell, and therefore it will be removed in next releases */
|
|
10
6
|
readonly CONVERSATION: "conversation";
|
|
@@ -70,6 +66,9 @@ export declare const SCALING_LIMIT: {
|
|
|
70
66
|
export declare const LOGIN_V3_CONFIG_PATH = "/zx/login/v3/config";
|
|
71
67
|
export declare const DARK_READER_PROP_KEY = "zappDarkreaderMode";
|
|
72
68
|
export declare const SENTRY_SHELL_DSN = "https://0ce2448c05b94f0182c47ae52c7ff52c@feedback.zextras.tools/6";
|
|
69
|
+
/**
|
|
70
|
+
* @deprecated this const does not belong to shell
|
|
71
|
+
*/
|
|
73
72
|
export declare const RESULT_LABEL_TYPE: {
|
|
74
73
|
readonly normal: "normal";
|
|
75
74
|
readonly warning: "warning";
|
package/lib/constants/index.js
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.JSNS = exports.CUSTOM_EVENTS = exports.DELEGATED_SEND_SAVE_TARGET = exports.BOARD_MIN_VISIBILITY = exports.BOARD_CONTAINER_ZINDEX = exports.BOARD_TAB_WIDTH = exports.BOARD_HEADER_HEIGHT = exports.PRIMARY_BAR_WIDTH = exports.HEADER_BAR_HEIGHT = exports.RESULT_LABEL_TYPE = exports.SENTRY_SHELL_DSN = exports.DARK_READER_PROP_KEY = exports.LOGIN_V3_CONFIG_PATH = exports.SCALING_LIMIT = exports.BASE_FONT_SIZE = exports.SCALING_OPTIONS = exports.LOCAL_STORAGE_BOARD_SIZE = exports.LOCAL_STORAGE_LAST_PRIMARY_KEY = exports.LOCAL_STORAGE_SETTINGS_KEY = exports.DARK_READER_VALUES = exports.EMAIL_VALIDATION_REGEX = exports.BASENAME = exports.IS_FOCUS_MODE = exports.darkReaderDynamicThemeFixes = exports.ACTION_TYPES = exports.
|
|
3
|
+
exports.JSNS = exports.CUSTOM_EVENTS = exports.DELEGATED_SEND_SAVE_TARGET = exports.BOARD_MIN_VISIBILITY = exports.BOARD_CONTAINER_ZINDEX = exports.BOARD_TAB_WIDTH = exports.BOARD_HEADER_HEIGHT = exports.PRIMARY_BAR_WIDTH = exports.HEADER_BAR_HEIGHT = exports.RESULT_LABEL_TYPE = exports.SENTRY_SHELL_DSN = exports.DARK_READER_PROP_KEY = exports.LOGIN_V3_CONFIG_PATH = exports.SCALING_LIMIT = exports.BASE_FONT_SIZE = exports.SCALING_OPTIONS = exports.LOCAL_STORAGE_BOARD_SIZE = exports.LOCAL_STORAGE_LAST_PRIMARY_KEY = exports.LOCAL_STORAGE_SETTINGS_KEY = exports.DARK_READER_VALUES = exports.EMAIL_VALIDATION_REGEX = exports.BASENAME = exports.IS_FOCUS_MODE = exports.darkReaderDynamicThemeFixes = exports.ACTION_TYPES = exports.SETTINGS_APP_ID = exports.SHELL_APP_ID = void 0;
|
|
4
4
|
exports.SHELL_APP_ID = 'carbonio-shell-ui';
|
|
5
5
|
exports.SETTINGS_APP_ID = 'settings';
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated This constant is not used and will be deleted in next releases
|
|
8
|
-
*/
|
|
9
|
-
exports.ACCOUNTS_APP_ID = 'accounts';
|
|
10
6
|
exports.ACTION_TYPES = {
|
|
11
7
|
/** @deprecated this action does not belong to shell, and therefore it will be removed in next releases */
|
|
12
8
|
CONVERSATION: 'conversation',
|
|
@@ -78,6 +74,9 @@ exports.SCALING_LIMIT = {
|
|
|
78
74
|
exports.LOGIN_V3_CONFIG_PATH = '/zx/login/v3/config';
|
|
79
75
|
exports.DARK_READER_PROP_KEY = 'zappDarkreaderMode';
|
|
80
76
|
exports.SENTRY_SHELL_DSN = 'https://0ce2448c05b94f0182c47ae52c7ff52c@feedback.zextras.tools/6';
|
|
77
|
+
/**
|
|
78
|
+
* @deprecated this const does not belong to shell
|
|
79
|
+
*/
|
|
81
80
|
exports.RESULT_LABEL_TYPE = {
|
|
82
81
|
normal: 'normal',
|
|
83
82
|
warning: 'warning',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":";;;AAOa,QAAA,YAAY,GAAG,mBAAmB,CAAC;AACnC,QAAA,eAAe,GAAG,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":";;;AAOa,QAAA,YAAY,GAAG,mBAAmB,CAAC;AACnC,QAAA,eAAe,GAAG,UAAU,CAAC;AAE7B,QAAA,YAAY,GAAG;IAC3B,0GAA0G;IAC1G,YAAY,EAAE,cAAc;IAC5B,0GAA0G;IAC1G,iBAAiB,EAAE,mBAAmB;IACtC,0GAA0G;IAC1G,OAAO,EAAE,SAAS;IAClB,0GAA0G;IAC1G,YAAY,EA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EAAE,gBAAgB;IACtB,GAAG,EAAE,YAAY;IACjB,IAAI,EAAE,gBAAgB;CACb,CAAC"}
|
package/lib/lib.d.ts
CHANGED
|
@@ -43,7 +43,6 @@ export declare const addBoard: AppDependantExports['addBoard'];
|
|
|
43
43
|
* @deprecated Use hooks to access to functions which require context
|
|
44
44
|
*/
|
|
45
45
|
export declare const getBridgedFunctions: AppDependantExports['getBridgedFunctions'];
|
|
46
|
-
export * from './boot/app/app-direct-exports';
|
|
47
46
|
export type { PrimaryBarComponentProps, SecondaryBarComponentProps, UtilityBarComponentProps, BoardViewComponentProps, AppViewComponentProps, SettingsViewProps, PrimaryAccessoryViewProps, SecondaryAccessoryViewProps, SettingsSubSection, BadgeInfo } from './types/apps';
|
|
48
47
|
export type { BooleanString, GeneralizedTime, Duration, Account, AccountSettings, AccountSettingsPrefs, Identity, IdentityAttrs } from './types/account';
|
|
49
48
|
export type { Board } from './types/boards';
|
package/lib/lib.js
CHANGED
|
@@ -24,6 +24,5 @@ __exportStar(require("./constants"), exports);
|
|
|
24
24
|
__exportStar(require("./ui-extras/app-link"), exports);
|
|
25
25
|
__exportStar(require("./settings/components/settings-header"), exports);
|
|
26
26
|
__exportStar(require("./boot/app/app-direct-exports"), exports);
|
|
27
|
-
__exportStar(require("./boot/app/app-direct-exports"), exports);
|
|
28
27
|
require("./types/theme");
|
|
29
28
|
//# sourceMappingURL=lib.js.map
|
package/lib/lib.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lib.js","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;AAmBH,8DAA8D;AAC9D,8CAA4B;AAC5B,uDAAqC;AACrC,wEAAsD;AACtD,gEAA8C;
|
|
1
|
+
{"version":3,"file":"lib.js","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;AAmBH,8DAA8D;AAC9D,8CAA4B;AAC5B,uDAAqC;AACrC,wEAAsD;AACtD,gEAA8C;AAuF9C,yBAAuB"}
|
package/lib/store/app/hooks.d.ts
CHANGED
|
@@ -2,13 +2,8 @@ import type { AppRoute, CarbonioModule } from '../../types/apps';
|
|
|
2
2
|
export declare const getAppHook: (appId: string) => () => CarbonioModule;
|
|
3
3
|
export declare const useApps: () => Record<string, CarbonioModule>;
|
|
4
4
|
export declare const useAppList: () => Array<CarbonioModule>;
|
|
5
|
-
export declare const getAppList: () => Array<CarbonioModule>;
|
|
6
5
|
export declare const getApp: (appId: string) => () => CarbonioModule | undefined;
|
|
7
|
-
export declare const getApps: () => Record<string, CarbonioModule>;
|
|
8
6
|
export declare const getAppContextHook: (appId: string) => <T>() => T;
|
|
9
7
|
export declare const getAppContext: (appId: string) => () => unknown;
|
|
10
|
-
export declare const getShell: () => CarbonioModule;
|
|
11
8
|
export declare const getRoutes: () => Record<string, AppRoute>;
|
|
12
9
|
export declare const useRoutes: () => Record<string, AppRoute>;
|
|
13
|
-
export declare const getRoute: (id: string) => AppRoute;
|
|
14
|
-
export declare const useRoute: (id: string) => AppRoute;
|
package/lib/store/app/hooks.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
8
|
+
exports.useRoutes = exports.getRoutes = exports.getAppContext = exports.getAppContextHook = exports.getApp = exports.useAppList = exports.useApps = exports.getAppHook = void 0;
|
|
9
9
|
const react_1 = require("react");
|
|
10
10
|
const lodash_1 = require("lodash");
|
|
11
11
|
const store_1 = require("./store");
|
|
@@ -18,24 +18,14 @@ const useAppList = () => {
|
|
|
18
18
|
return (0, react_1.useMemo)(() => (0, lodash_1.sortBy)(apps, (a) => a.priority), [apps]);
|
|
19
19
|
};
|
|
20
20
|
exports.useAppList = useAppList;
|
|
21
|
-
const getAppList = () => (0, lodash_1.sortBy)(store_1.useAppStore.getState().apps, (a) => a.priority);
|
|
22
|
-
exports.getAppList = getAppList;
|
|
23
21
|
const getApp = (appId) => () => store_1.useAppStore.getState().apps[appId];
|
|
24
22
|
exports.getApp = getApp;
|
|
25
|
-
const getApps = () => store_1.useAppStore.getState().apps;
|
|
26
|
-
exports.getApps = getApps;
|
|
27
23
|
const getAppContextHook = (appId) => () => (0, store_1.useAppStore)((s) => s.appContexts[appId]);
|
|
28
24
|
exports.getAppContextHook = getAppContextHook;
|
|
29
25
|
const getAppContext = (appId) => () => store_1.useAppStore.getState().appContexts[appId];
|
|
30
26
|
exports.getAppContext = getAppContext;
|
|
31
|
-
const getShell = () => store_1.useAppStore.getState().shell;
|
|
32
|
-
exports.getShell = getShell;
|
|
33
27
|
const getRoutes = () => store_1.useAppStore.getState().routes;
|
|
34
28
|
exports.getRoutes = getRoutes;
|
|
35
29
|
const useRoutes = () => (0, store_1.useAppStore)((s) => s.routes);
|
|
36
30
|
exports.useRoutes = useRoutes;
|
|
37
|
-
const getRoute = (id) => store_1.useAppStore.getState().routes[id];
|
|
38
|
-
exports.getRoute = getRoute;
|
|
39
|
-
const useRoute = (id) => (0, store_1.useAppStore)((s) => s.routes[id]);
|
|
40
|
-
exports.useRoute = useRoute;
|
|
41
31
|
//# sourceMappingURL=hooks.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/store/app/hooks.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,iCAAgC;AAEhC,mCAAgC;AAEhC,mCAAsC;AAG/B,MAAM,UAAU,GAAG,CAAC,KAAa,EAAE,EAAE,CAAC,GAAmB,EAAE,CACjE,IAAA,mBAAW,EAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;AADtB,QAAA,UAAU,cACY;
|
|
1
|
+
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/store/app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C;AAD9B,QAAA,aAAa,iBACiB;AAEpC,MAAM,SAAS,GAAG,GAA6B,EAAE,CAAC,mBAAW,CAAC,QAAQ,EAAE,CAAC,MAAM,CAAC;AAA1E,QAAA,SAAS,aAAiE;AAEhF,MAAM,SAAS,GAAG,GAA6B,EAAE,CAAC,IAAA,mBAAW,EAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;AAAzE,QAAA,SAAS,aAAgE"}
|
|
@@ -21,34 +21,6 @@ export type AccountProps = {
|
|
|
21
21
|
personaLabel?: string;
|
|
22
22
|
identityId?: string;
|
|
23
23
|
};
|
|
24
|
-
/** @deprecated */
|
|
25
|
-
export type IdentityProps = {
|
|
26
|
-
id: string;
|
|
27
|
-
/**
|
|
28
|
-
* Type of the identity
|
|
29
|
-
*/
|
|
30
|
-
flgType: 'primary' | 'persona' | 'IMAP' | 'POP';
|
|
31
|
-
/**
|
|
32
|
-
* Localized description of the type of identity
|
|
33
|
-
*/
|
|
34
|
-
type: string;
|
|
35
|
-
/**
|
|
36
|
-
* is a number while you are creating a new one
|
|
37
|
-
*/
|
|
38
|
-
identityId: string | number;
|
|
39
|
-
fromAddress?: string;
|
|
40
|
-
identityName?: string;
|
|
41
|
-
fromDisplay?: string;
|
|
42
|
-
recoveryAccount?: string;
|
|
43
|
-
replyToDisplay?: string;
|
|
44
|
-
replyToAddress?: string;
|
|
45
|
-
replyToEnabled?: string;
|
|
46
|
-
saveToSent?: string;
|
|
47
|
-
sentMailFolder?: string;
|
|
48
|
-
whenInFoldersEnabled?: string;
|
|
49
|
-
whenSentToEnabled?: string;
|
|
50
|
-
whenSentToAddresses?: string;
|
|
51
|
-
};
|
|
52
24
|
type Meta<T extends Record<string, unknown>> = {
|
|
53
25
|
section?: string;
|
|
54
26
|
_attrs: T;
|
|
@@ -65,34 +65,6 @@ export type PermissionsMods = {
|
|
|
65
65
|
new: AccountACEInfo;
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
|
-
/**
|
|
69
|
-
* @deprecated
|
|
70
|
-
*/
|
|
71
|
-
export type CreateIdentityProps = {
|
|
72
|
-
requestId: number;
|
|
73
|
-
/** name of the identity */
|
|
74
|
-
zimbraPrefIdentityName: string | undefined;
|
|
75
|
-
/** personal part of email address put in from header */
|
|
76
|
-
zimbraPrefFromDisplay: string | undefined;
|
|
77
|
-
/** email address to put in from header. Deprecated on data source as of bug 67068. */
|
|
78
|
-
zimbraPrefFromAddress: string | undefined;
|
|
79
|
-
/** Type of the email address from header. (sendAs or sendOnBehalfOf) */
|
|
80
|
-
zimbraPrefFromAddressType: 'sendAs' | 'sendOnBehalfOf';
|
|
81
|
-
/** TRUE if we should set a reply-to header */
|
|
82
|
-
zimbraPrefReplyToEnabled: 'TRUE' | 'FALSE' | undefined;
|
|
83
|
-
/** personal part of email address put in reply-to header */
|
|
84
|
-
zimbraPrefReplyToDisplay: string | undefined;
|
|
85
|
-
/** address to put in reply-to header */
|
|
86
|
-
zimbraPrefReplyToAddress: string | undefined;
|
|
87
|
-
/** default mail signature for account/identity/dataSource */
|
|
88
|
-
zimbraPrefDefaultSignatureId: string | undefined;
|
|
89
|
-
/** forward/reply signature id for account/identity/dataSource */
|
|
90
|
-
zimbraPrefForwardReplySignatureId: string | undefined;
|
|
91
|
-
/** TRUE if we should look at zimbraPrefWhenSentToAddresses (deprecatedSince 5.0 in account) */
|
|
92
|
-
zimbraPrefWhenSentToEnabled: string | undefined;
|
|
93
|
-
/** TRUE if we should look at zimbraPrefWhenInFolderIds (deprecatedSince 5.0 in account) */
|
|
94
|
-
zimbraPrefWhenInFoldersEnabled: string | undefined;
|
|
95
|
-
};
|
|
96
68
|
export type CreateIdentityResponse = {
|
|
97
69
|
identity: [Identity];
|
|
98
70
|
};
|