@itwin/core-react 3.0.0-dev.133 → 3.0.0-dev.138
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/cjs/core-react/dialog/DialogButtonDef.d.ts +3 -3
- package/lib/cjs/core-react/dialog/DialogButtonDef.js +2 -2
- package/lib/cjs/core-react/dialog/DialogButtonDef.js.map +1 -1
- package/lib/cjs/core-react/messagebox/MessageSeverity.d.ts +1 -1
- package/lib/cjs/core-react/messagebox/MessageSeverity.js +1 -1
- package/lib/cjs/core-react/messagebox/MessageSeverity.js.map +1 -1
- package/lib/cjs/core-react/select/ThemedSelect.d.ts +1 -1
- package/lib/cjs/core-react/select/ThemedSelect.js +1 -1
- package/lib/cjs/core-react/select/ThemedSelect.js.map +1 -1
- package/lib/cjs/core-react/uistate/LocalStateStorage.d.ts +17 -0
- package/lib/cjs/core-react/uistate/LocalStateStorage.d.ts.map +1 -0
- package/lib/cjs/core-react/{uisettings/LocalSettingsStorage.js → uistate/LocalStateStorage.js} +14 -20
- package/lib/cjs/core-react/uistate/LocalStateStorage.js.map +1 -0
- package/lib/{esm/core-react/uisettings/UiSetting.d.ts → cjs/core-react/uistate/UiStateEntry.d.ts} +15 -15
- package/lib/cjs/core-react/uistate/UiStateEntry.d.ts.map +1 -0
- package/lib/cjs/core-react/{uisettings/UiSetting.js → uistate/UiStateEntry.js} +16 -17
- package/lib/cjs/core-react/uistate/UiStateEntry.js.map +1 -0
- package/lib/cjs/core-react/uistate/UiStateStorage.d.ts +29 -0
- package/lib/cjs/core-react/uistate/UiStateStorage.d.ts.map +1 -0
- package/lib/cjs/core-react/uistate/UiStateStorage.js +22 -0
- package/lib/cjs/core-react/uistate/UiStateStorage.js.map +1 -0
- package/lib/cjs/core-react/utils/UiEvent.d.ts +1 -1
- package/lib/cjs/core-react/utils/UiEvent.js +1 -1
- package/lib/cjs/core-react/utils/UiEvent.js.map +1 -1
- package/lib/cjs/core-react.d.ts +4 -5
- package/lib/cjs/core-react.d.ts.map +1 -1
- package/lib/cjs/core-react.js +4 -5
- package/lib/cjs/core-react.js.map +1 -1
- package/lib/esm/core-react/dialog/DialogButtonDef.d.ts +3 -3
- package/lib/esm/core-react/dialog/DialogButtonDef.js +2 -2
- package/lib/esm/core-react/dialog/DialogButtonDef.js.map +1 -1
- package/lib/esm/core-react/messagebox/MessageSeverity.d.ts +1 -1
- package/lib/esm/core-react/messagebox/MessageSeverity.js +1 -1
- package/lib/esm/core-react/messagebox/MessageSeverity.js.map +1 -1
- package/lib/esm/core-react/select/ThemedSelect.d.ts +1 -1
- package/lib/esm/core-react/select/ThemedSelect.js +1 -1
- package/lib/esm/core-react/select/ThemedSelect.js.map +1 -1
- package/lib/esm/core-react/uistate/LocalStateStorage.d.ts +17 -0
- package/lib/esm/core-react/uistate/LocalStateStorage.d.ts.map +1 -0
- package/lib/esm/core-react/{uisettings/LocalSettingsStorage.js → uistate/LocalStateStorage.js} +12 -17
- package/lib/esm/core-react/uistate/LocalStateStorage.js.map +1 -0
- package/lib/{cjs/core-react/uisettings/UiSetting.d.ts → esm/core-react/uistate/UiStateEntry.d.ts} +15 -15
- package/lib/esm/core-react/uistate/UiStateEntry.d.ts.map +1 -0
- package/lib/esm/core-react/{uisettings/UiSetting.js → uistate/UiStateEntry.js} +14 -15
- package/lib/esm/core-react/uistate/UiStateEntry.js.map +1 -0
- package/lib/esm/core-react/uistate/UiStateStorage.d.ts +29 -0
- package/lib/esm/core-react/uistate/UiStateStorage.d.ts.map +1 -0
- package/lib/esm/core-react/uistate/UiStateStorage.js +19 -0
- package/lib/esm/core-react/uistate/UiStateStorage.js.map +1 -0
- package/lib/esm/core-react/utils/UiEvent.d.ts +1 -1
- package/lib/esm/core-react/utils/UiEvent.js +1 -1
- package/lib/esm/core-react/utils/UiEvent.js.map +1 -1
- package/lib/esm/core-react.d.ts +4 -5
- package/lib/esm/core-react.d.ts.map +1 -1
- package/lib/esm/core-react.js +4 -5
- package/lib/esm/core-react.js.map +1 -1
- package/package.json +10 -10
- package/lib/cjs/core-react/uisettings/LocalSettingsStorage.d.ts +0 -24
- package/lib/cjs/core-react/uisettings/LocalSettingsStorage.d.ts.map +0 -1
- package/lib/cjs/core-react/uisettings/LocalSettingsStorage.js.map +0 -1
- package/lib/cjs/core-react/uisettings/SessionSettingsStorage.d.ts +0 -24
- package/lib/cjs/core-react/uisettings/SessionSettingsStorage.d.ts.map +0 -1
- package/lib/cjs/core-react/uisettings/SessionSettingsStorage.js +0 -56
- package/lib/cjs/core-react/uisettings/SessionSettingsStorage.js.map +0 -1
- package/lib/cjs/core-react/uisettings/UiSetting.d.ts.map +0 -1
- package/lib/cjs/core-react/uisettings/UiSetting.js.map +0 -1
- package/lib/cjs/core-react/uisettings/UiSettingsStorage.d.ts +0 -33
- package/lib/cjs/core-react/uisettings/UiSettingsStorage.d.ts.map +0 -1
- package/lib/cjs/core-react/uisettings/UiSettingsStorage.js +0 -22
- package/lib/cjs/core-react/uisettings/UiSettingsStorage.js.map +0 -1
- package/lib/esm/core-react/uisettings/LocalSettingsStorage.d.ts +0 -24
- package/lib/esm/core-react/uisettings/LocalSettingsStorage.d.ts.map +0 -1
- package/lib/esm/core-react/uisettings/LocalSettingsStorage.js.map +0 -1
- package/lib/esm/core-react/uisettings/SessionSettingsStorage.d.ts +0 -24
- package/lib/esm/core-react/uisettings/SessionSettingsStorage.d.ts.map +0 -1
- package/lib/esm/core-react/uisettings/SessionSettingsStorage.js +0 -51
- package/lib/esm/core-react/uisettings/SessionSettingsStorage.js.map +0 -1
- package/lib/esm/core-react/uisettings/UiSetting.d.ts.map +0 -1
- package/lib/esm/core-react/uisettings/UiSetting.js.map +0 -1
- package/lib/esm/core-react/uisettings/UiSettingsStorage.d.ts +0 -33
- package/lib/esm/core-react/uisettings/UiSettingsStorage.d.ts.map +0 -1
- package/lib/esm/core-react/uisettings/UiSettingsStorage.js +0 -19
- package/lib/esm/core-react/uisettings/UiSettingsStorage.js.map +0 -1
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/** @packageDocumentation
|
|
2
|
-
* @module UiSettings
|
|
3
|
-
*/
|
|
4
|
-
/** Interface for getting, saving and deleting settings.
|
|
5
|
-
* @public @deprecated
|
|
6
|
-
*/
|
|
7
|
-
export interface UiSettingsStorage {
|
|
8
|
-
getSetting(settingNamespace: string, settingName: string): Promise<UiSettingsResult>;
|
|
9
|
-
saveSetting(settingNamespace: string, settingName: string, setting: any): Promise<UiSettingsResult>;
|
|
10
|
-
deleteSetting(settingNamespace: string, settingName: string): Promise<UiSettingsResult>;
|
|
11
|
-
}
|
|
12
|
-
/** Alias for [[UiSettingsStorage]]
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
15
|
-
export declare type UiSettings = UiSettingsStorage;
|
|
16
|
-
/** Enum for [[UiSettingsStorage]] status.
|
|
17
|
-
* @public
|
|
18
|
-
*/
|
|
19
|
-
export declare enum UiSettingsStatus {
|
|
20
|
-
Success = 0,
|
|
21
|
-
NotFound = 1,
|
|
22
|
-
UnknownError = 2,
|
|
23
|
-
Uninitialized = 3,
|
|
24
|
-
AuthorizationError = 4
|
|
25
|
-
}
|
|
26
|
-
/** Interface for result of accessing setting in [[UiSettingsStorage]].
|
|
27
|
-
* @public @deprecated
|
|
28
|
-
*/
|
|
29
|
-
export interface UiSettingsResult {
|
|
30
|
-
status: UiSettingsStatus;
|
|
31
|
-
setting?: any;
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=UiSettingsStorage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UiSettingsStorage.d.ts","sourceRoot":"","sources":["../../../../src/core-react/uisettings/UiSettingsStorage.ts"],"names":[],"mappings":"AAIA;;GAEG;AAIH;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,UAAU,CAAC,gBAAgB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACrF,WAAW,CAAC,gBAAgB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACpG,aAAa,CAAC,gBAAgB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;CACzF;AAED;;GAEG;AACH,oBAAY,UAAU,GAAG,iBAAiB,CAAC;AAE3C;;GAEG;AACH,oBAAY,gBAAgB;IAC1B,OAAO,IAAI;IACX,QAAQ,IAAI;IACZ,YAAY,IAAI;IAChB,aAAa,IAAI;IACjB,kBAAkB,IAAI;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,gBAAgB,CAAC;IACzB,OAAO,CAAC,EAAE,GAAG,CAAC;CACf"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
/** @packageDocumentation
|
|
6
|
-
* @module UiSettings
|
|
7
|
-
*/
|
|
8
|
-
/** Enum for [[UiSettingsStorage]] status.
|
|
9
|
-
* @public
|
|
10
|
-
*/
|
|
11
|
-
export var UiSettingsStatus;
|
|
12
|
-
(function (UiSettingsStatus) {
|
|
13
|
-
UiSettingsStatus[UiSettingsStatus["Success"] = 0] = "Success";
|
|
14
|
-
UiSettingsStatus[UiSettingsStatus["NotFound"] = 1] = "NotFound";
|
|
15
|
-
UiSettingsStatus[UiSettingsStatus["UnknownError"] = 2] = "UnknownError";
|
|
16
|
-
UiSettingsStatus[UiSettingsStatus["Uninitialized"] = 3] = "Uninitialized";
|
|
17
|
-
UiSettingsStatus[UiSettingsStatus["AuthorizationError"] = 4] = "AuthorizationError";
|
|
18
|
-
})(UiSettingsStatus || (UiSettingsStatus = {}));
|
|
19
|
-
//# sourceMappingURL=UiSettingsStorage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UiSettingsStorage.js","sourceRoot":"","sources":["../../../../src/core-react/uisettings/UiSettingsStorage.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAkBH;;GAEG;AACH,MAAM,CAAN,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,6DAAW,CAAA;IACX,+DAAY,CAAA;IACZ,uEAAgB,CAAA;IAChB,yEAAiB,CAAA;IACjB,mFAAsB,CAAA;AACxB,CAAC,EANW,gBAAgB,KAAhB,gBAAgB,QAM3B","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module UiSettings\r\n */\r\n\r\n/* eslint-disable deprecation/deprecation */\r\n\r\n/** Interface for getting, saving and deleting settings.\r\n * @public @deprecated\r\n */\r\nexport interface UiSettingsStorage {\r\n getSetting(settingNamespace: string, settingName: string): Promise<UiSettingsResult>;\r\n saveSetting(settingNamespace: string, settingName: string, setting: any): Promise<UiSettingsResult>;\r\n deleteSetting(settingNamespace: string, settingName: string): Promise<UiSettingsResult>;\r\n}\r\n\r\n/** Alias for [[UiSettingsStorage]]\r\n * @public\r\n */\r\nexport type UiSettings = UiSettingsStorage;\r\n\r\n/** Enum for [[UiSettingsStorage]] status.\r\n * @public\r\n */\r\nexport enum UiSettingsStatus {\r\n Success = 0,\r\n NotFound = 1,\r\n UnknownError = 2,\r\n Uninitialized = 3,\r\n AuthorizationError = 4,\r\n}\r\n\r\n/** Interface for result of accessing setting in [[UiSettingsStorage]].\r\n * @public @deprecated\r\n */\r\nexport interface UiSettingsResult {\r\n status: UiSettingsStatus;\r\n setting?: any;\r\n}\r\n"]}
|