@zextras/carbonio-shell-ui 11.0.4 → 12.0.0-devel.1756464221022

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.
@@ -1,4 +1,3 @@
1
- import { legacySoapFetch } from '@zextras/carbonio-ui-soap-lib';
2
1
  import { getEditSettingsForApp } from '../../network/edit-settings';
3
2
  import type { AppActions as StoreAppSetters } from '../../store/app';
4
3
  import { getAppHook, getApp, getAppContext, getAppContextHook } from '../../store/app';
@@ -18,8 +17,6 @@ export type AppDependantExports = {
18
17
  editSettings: ReturnType<typeof getEditSettingsForApp>;
19
18
  getI18n: ReturnType<typeof getI18n>;
20
19
  t: ReturnType<typeof getTFunction>;
21
- soapFetch: typeof legacySoapFetch;
22
- xmlSoapFetch: typeof legacySoapFetch;
23
20
  useAppContext: ReturnType<typeof getAppContextHook>;
24
21
  getAppContext: ReturnType<typeof getAppContext>;
25
22
  useApp: ReturnType<typeof getAppHook>;
@@ -6,7 +6,6 @@
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.getAppDependantExports = void 0;
9
- const carbonio_ui_soap_lib_1 = require("@zextras/carbonio-ui-soap-lib");
10
9
  const edit_settings_1 = require("../../network/edit-settings");
11
10
  const app_1 = require("../../store/app");
12
11
  const utils_1 = require("../../store/app/utils");
@@ -28,8 +27,6 @@ const getAppDependantExports = (pkg) => {
28
27
  editSettings: (0, edit_settings_1.getEditSettingsForApp)(pkg.name),
29
28
  getI18n: (0, hooks_1.getI18n)(pkg.name),
30
29
  t: (0, hooks_1.getTFunction)(pkg.name),
31
- soapFetch: carbonio_ui_soap_lib_1.legacySoapFetch,
32
- xmlSoapFetch: carbonio_ui_soap_lib_1.legacyXmlSoapFetch,
33
30
  useAppContext: (0, app_1.getAppContextHook)(pkg.name),
34
31
  getAppContext: (0, app_1.getAppContext)(pkg.name),
35
32
  useApp: (0, app_1.getAppHook)(pkg.name),
@@ -1 +1 @@
1
- {"version":3,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B,CAAC;AACH,CAAC,CAAC;AA1BW,QAAA,sBAAsB,0BA0BjC"}
@@ -9,7 +9,6 @@ export declare const registerFunctions: (...items: Array<{
9
9
  type: string;
10
10
  }>) => void, removeActions: (...ids: Array<string>) => void, removeComponents: (...ids: Array<string>) => void;
11
11
  export { getUserAccount, getUserAccounts, getUserSetting, getUserSettings, useUserAccount, useUserAccounts, useUserSetting, useUserSettings, useUserRight, useUserRights, getUserRight, getUserRights, useAuthenticated, updateSettings, updateAccount } from '../../store/account';
12
- export { useNotify, useRefresh } from '../../store/network';
13
12
  export { closeBoard, updateBoard, updateBoardContext, getBoardById, getBoardContextById, useBoardContextById, useBoardById, useBoard, minimizeBoards, expandBoards, reopenBoards, setCurrentBoard, useBoardHooks } from '../../store/boards';
14
13
  export { useCurrentRoute } from '../../history/hooks';
15
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.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.useRefresh = exports.useNotify = exports.updateAccount = exports.updateSettings = 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.useIsCarbonioCE = exports.upsertApp = exports.removeSecondaryAccessoryView = exports.removePrimaryAccessoryView = exports.removeUtilityView = exports.removeSettingsView = void 0;
9
+ exports.removeUtilityView = 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.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.useIsCarbonioCE = exports.upsertApp = exports.removeSecondaryAccessoryView = exports.removePrimaryAccessoryView = 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");
@@ -37,9 +37,6 @@ Object.defineProperty(exports, "getUserRights", { enumerable: true, get: functio
37
37
  Object.defineProperty(exports, "useAuthenticated", { enumerable: true, get: function () { return account_1.useAuthenticated; } });
38
38
  Object.defineProperty(exports, "updateSettings", { enumerable: true, get: function () { return account_1.updateSettings; } });
39
39
  Object.defineProperty(exports, "updateAccount", { enumerable: true, get: function () { return account_1.updateAccount; } });
40
- var network_1 = require("../../store/network");
41
- Object.defineProperty(exports, "useNotify", { enumerable: true, get: function () { return network_1.useNotify; } });
42
- Object.defineProperty(exports, "useRefresh", { enumerable: true, get: function () { return network_1.useRefresh; } });
43
40
  var boards_1 = require("../../store/boards");
44
41
  Object.defineProperty(exports, "closeBoard", { enumerable: true, get: function () { return boards_1.closeBoard; } });
45
42
  Object.defineProperty(exports, "updateBoard", { enumerable: true, get: function () { return boards_1.updateBoard; } });
@@ -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,+CAgB6B;AAf5B,yGAAA,cAAc,OAAA;AACd,0GAAA,eAAe,OAAA;AACf,yGAAA,cAAc,OAAA;AACd,0GAAA,eAAe,OAAA;AACf,yGAAA,cAAc,OAAA;AACd,0GAAA,eAAe,OAAA;AACf,yGAAA,cAAc,OAAA;AACd,0GAAA,eAAe,OAAA;AACf,uGAAA,YAAY,OAAA;AACZ,wGAAA,aAAa,OAAA;AACb,uGAAA,YAAY,OAAA;AACZ,wGAAA,aAAa,OAAA;AACb,2GAAA,gBAAgB,OAAA;AAChB,yGAAA,cAAc,OAAA;AACd,wGAAA,aAAa,OAAA;AAGd,+CAA4D;AAAnD,oGAAA,SAAS,OAAA;AAAE,qGAAA,UAAU,OAAA;AAE9B,6CAc4B;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AU,OAAA;AAEnB,+DAA4D;AAAnD,0HAAA,kBAAkB,OAAA;AAG3B,yDAAuD;AAA9C,uGAAA,SAAS,OAAA"}
package/lib/lib.d.ts CHANGED
@@ -31,21 +31,13 @@ export declare const registerComponents: AppDependantExports['registerComponents
31
31
  export declare const editSettings: AppDependantExports['editSettings'];
32
32
  export declare const getI18n: AppDependantExports['getI18n'];
33
33
  export declare const t: AppDependantExports['t'];
34
- /**
35
- * @deprecated Use soapFetchV2 from `@zextras/carbonio-ui-soap-lib` instead
36
- */
37
- export declare const soapFetch: AppDependantExports['soapFetch'];
38
- /**
39
- * @deprecated Use soapFetchV2 from `@zextras/carbonio-ui-soap-lib` instead
40
- */
41
- export declare const xmlSoapFetch: AppDependantExports['xmlSoapFetch'];
42
34
  export declare const useAppContext: AppDependantExports['useAppContext'];
43
35
  export declare const getAppContext: AppDependantExports['getAppContext'];
44
36
  export declare const useApp: AppDependantExports['useApp'];
45
37
  export declare const getApp: AppDependantExports['getApp'];
46
38
  export declare const addBoard: AppDependantExports['addBoard'];
47
39
  export type { PrimaryBarComponentProps, SecondaryBarComponentProps, UtilityBarComponentProps, BoardViewComponentProps, AppViewComponentProps, SettingsViewProps, PrimaryAccessoryViewProps, SecondaryAccessoryViewProps, SettingsSubSection, BadgeInfo } from './types/apps';
48
- export type { BooleanString, Duration, Account, AccountSettings, AccountSettingsPrefs, Identity, IdentityAttrs } from './types/account';
40
+ export type { BooleanString, Duration, Account, AccountSettings, Identity, IdentityAttrs } from './types/account';
49
41
  export type { Board } from './types/boards';
50
42
  export type { BoardHooksContext } from './store/boards/hooks';
51
43
  export type { INotificationManager, NotificationConfig, AudioNotificationConfig, PopupNotificationConfig } from './notification/NotificationManager';
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,wEAAsD;AACtD,gEAA8C;AA6F9C,yBAAuB"}
1
+ {"version":3,"file":"lib.js","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;AAmBH,8DAA8D;AAC9D,8CAA4B;AAC5B,wEAAsD;AACtD,gEAA8C;AAoF9C,yBAAuB"}
@@ -1,9 +1,9 @@
1
- import type { AccountSettingsPrefs as ApiAccountSettingsPrefs } from '@zextras/carbonio-ui-soap-lib';
1
+ import type { AccountSettingsPrefs } from '@zextras/carbonio-ui-soap-lib';
2
2
  import type { AccountSettingsAttrs, Identity, Signature } from '../../types/account';
3
3
  import type { IdentityMods } from '../../types/network';
4
4
  type UpdateSettingsParams = {
5
5
  attrs?: AccountSettingsAttrs;
6
- prefs?: ApiAccountSettingsPrefs;
6
+ prefs?: AccountSettingsPrefs;
7
7
  props?: Record<string, {
8
8
  app: string;
9
9
  value: unknown;
@@ -1,4 +1,5 @@
1
- import type { AccountSettingsAttrs, AccountSettingsPrefs, AccountState, Identity, ZimletProp } from '../../types/account';
1
+ import type { AccountSettingsPrefs } from '@zextras/carbonio-ui-soap-lib';
2
+ import type { AccountSettingsAttrs, AccountState, Identity, ZimletProp } from '../../types/account';
2
3
  import type { IdentityMods, PropsMods } from '../../types/network';
3
4
  export declare function mergePrefs(mods: AccountSettingsPrefs | undefined, state: AccountState): AccountSettingsPrefs;
4
5
  export declare function mergeProps(mods: PropsMods | undefined, state: AccountState): Array<ZimletProp>;
@@ -4,11 +4,6 @@ exports.mergePrefs = mergePrefs;
4
4
  exports.mergeProps = mergeProps;
5
5
  exports.mergeAttrs = mergeAttrs;
6
6
  exports.updateIdentities = updateIdentities;
7
- /*
8
- * SPDX-FileCopyrightText: 2024 Zextras <https://www.zextras.com>
9
- *
10
- * SPDX-License-Identifier: AGPL-3.0-only
11
- */
12
7
  const lodash_1 = require("lodash");
13
8
  function mergePrefs(mods, state) {
14
9
  return (0, lodash_1.reduce)(mods, (acc, pref, key)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OAAO,CAAC,UAAU,CAAC,QAAQ,EACjC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,YAAY,EAAE,UAAU,EAAE,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CACtD,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,SAAS,CAAC;KACrC,CAAC;IAEF,IAAI,CAAC,YAAY,EAAE,UAAU,EAAE,CAAC;QAC/B,OAAO,2BAA2B,CAAC;IACpC,CAAC;IAED,OAAO,2BAA2B,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE;QACnD,MAAM,WAAW,GAAG,IAAA,aAAI,EAAC,YAAY,CAAC,UAAU,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,KAAK,QAAQ,CAAC,EAAE,CAAC,CAAC;QACnF,IAAI,CAAC,WAAW,EAAE,CAAC;YAClB,OAAO,QAAQ,CAAC;QACjB,CAAC;QAED,OAAO;YACN,GAAG,QAAQ;YACX,MAAM,EAAE;gBACP,GAAG,QAAQ,CAAC,MAAM;gBAClB,GAAG,WAAW,CAAC,KAAK;aACpB;YACD,GAAG,CAAC,WAAW,CAAC,KAAK,CAAC,sBAAsB,IAAI,QAAQ,CAAC,IAAI,KAAK,SAAS;gBAC1E,CAAC,CAAC,EAAE,IAAI,EAAE,WAAW,CAAC,KAAK,CAAC,sBAAsB,EAAE;gBACpD,CAAC,CAAC,EAAE,CAAC;SACN,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { AccountSettingsPrefs as ApiAccountSettingsPrefs } from '@zextras/carbonio-ui-soap-lib';
1
+ import type { AccountSettingsPrefs } from '@zextras/carbonio-ui-soap-lib';
2
2
  export interface ZimletProp {
3
3
  name: string;
4
4
  zimlet: string;
@@ -6,7 +6,7 @@ export interface ZimletProp {
6
6
  }
7
7
  export type AccountSettings = {
8
8
  attrs: AccountSettingsAttrs;
9
- prefs: ApiAccountSettingsPrefs;
9
+ prefs: AccountSettingsPrefs;
10
10
  props: Array<ZimletProp>;
11
11
  };
12
12
  export type AccountState = {
@@ -57,11 +57,6 @@ export type AccountSettingsAttrs = {
57
57
  zimbraMailIdleSessionTimeout?: Duration;
58
58
  [key: string]: string | number | Array<string | number> | undefined;
59
59
  };
60
- /**
61
- * @deprecated Use `AccountSettingsPrefs` from `@zextras/carbonio-ui-soap-lib` instead.
62
- */
63
- export interface AccountSettingsPrefs extends ApiAccountSettingsPrefs {
64
- }
65
60
  export interface IdentityAttrs {
66
61
  /** default mail signature for account/identity/dataSource */
67
62
  zimbraPrefDefaultSignatureId?: string;
@@ -1,8 +1,9 @@
1
+ import type { AccountSettingsPrefs } from '@zextras/carbonio-ui-soap-lib';
1
2
  import type { AccountACEInfo } from './entities';
2
3
  import type { SoapBody, SoapContext, SoapFault } from './soap';
3
4
  import type { JSNS } from '../../constants';
4
5
  import type { Exactify, RequireAtLeastOne, ValueOf } from '../../utils/typeUtils';
5
- import type { AccountRights, AccountSettingsPrefs, Identity, IdentityAttrs, Signature, ZimletProp } from '../account';
6
+ import type { AccountRights, Identity, IdentityAttrs, Signature, ZimletProp } from '../account';
6
7
  export * from './soap';
7
8
  export type ZimletPkgDescription = {
8
9
  zimlet: Array<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/network/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;AAeH,yCAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/network/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;AAUH,yCAAuB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zextras/carbonio-shell-ui",
3
- "version": "11.0.4",
3
+ "version": "12.0.0-devel.1756464221022",
4
4
  "description": "The Zextras Carbonio web client",
5
5
  "main": "./lib/lib.js",
6
6
  "types": "./lib/lib.d.ts",
@@ -1,9 +0,0 @@
1
- import type { SoapNotify, SoapRefresh } from '../../types/network';
2
- /**
3
- * @deprecated Use `useSync` from `@zextras/carbonio-ui-soap-lib` directly instead.
4
- */
5
- export declare const useNotify: () => SoapNotify[];
6
- /**
7
- * @deprecated Use `useInfoRefresh` from `@zextras/carbonio-ui-soap-lib` directly instead.
8
- */
9
- export declare const useRefresh: () => SoapRefresh;
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useRefresh = exports.useNotify = void 0;
4
- /*
5
- * SPDX-FileCopyrightText: 2022 Zextras <https://www.zextras.com>
6
- *
7
- * SPDX-License-Identifier: AGPL-3.0-only
8
- */
9
- const carbonio_ui_soap_lib_1 = require("@zextras/carbonio-ui-soap-lib");
10
- /**
11
- * @deprecated Use `useSync` from `@zextras/carbonio-ui-soap-lib` directly instead.
12
- */
13
- const useNotify = () => (0, carbonio_ui_soap_lib_1.useSync)();
14
- exports.useNotify = useNotify;
15
- /**
16
- * @deprecated Use `useInfoRefresh` from `@zextras/carbonio-ui-soap-lib` directly instead.
17
- */
18
- const useRefresh = () => (0, carbonio_ui_soap_lib_1.useInfoRefresh)();
19
- exports.useRefresh = useRefresh;
20
- //# sourceMappingURL=hooks.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/store/network/hooks.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACH,wEAAwE;AAIxE;;GAEG;AACI,MAAM,SAAS,GAAG,GAAiB,EAAE,CAAC,IAAA,8BAAO,GAAE,CAAC;AAA1C,QAAA,SAAS,aAAiC;AAEvD;;GAEG;AACI,MAAM,UAAU,GAAG,GAAgB,EAAE,CAAC,IAAA,qCAAc,GAAE,CAAC;AAAjD,QAAA,UAAU,cAAuC"}
@@ -1 +0,0 @@
1
- export * from './hooks';
@@ -1,23 +0,0 @@
1
- "use strict";
2
- /*
3
- * SPDX-FileCopyrightText: 2022 Zextras <https://www.zextras.com>
4
- *
5
- * SPDX-License-Identifier: AGPL-3.0-only
6
- */
7
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
8
- if (k2 === undefined) k2 = k;
9
- var desc = Object.getOwnPropertyDescriptor(m, k);
10
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
11
- desc = { enumerable: true, get: function() { return m[k]; } };
12
- }
13
- Object.defineProperty(o, k2, desc);
14
- }) : (function(o, m, k, k2) {
15
- if (k2 === undefined) k2 = k;
16
- o[k2] = m[k];
17
- }));
18
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
- };
21
- Object.defineProperty(exports, "__esModule", { value: true });
22
- __exportStar(require("./hooks"), exports);
23
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/store/network/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;AAEH,0CAAwB"}