chayns-api 1.0.53 → 1.0.54
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.
|
@@ -28,6 +28,7 @@ let DialogInputType = exports.DialogInputType = /*#__PURE__*/function (DialogInp
|
|
|
28
28
|
let DialogSelectType = exports.DialogSelectType = /*#__PURE__*/function (DialogSelectType) {
|
|
29
29
|
DialogSelectType[DialogSelectType["DEFAULT"] = 0] = "DEFAULT";
|
|
30
30
|
DialogSelectType[DialogSelectType["ICON"] = 1] = "ICON";
|
|
31
|
+
DialogSelectType[DialogSelectType["IMAGE"] = 2] = "IMAGE";
|
|
31
32
|
return DialogSelectType;
|
|
32
33
|
}({});
|
|
33
34
|
let DialogButtonType = exports.DialogButtonType = /*#__PURE__*/function (DialogButtonType) {
|
|
@@ -22,6 +22,7 @@ export let DialogInputType = /*#__PURE__*/function (DialogInputType) {
|
|
|
22
22
|
export let DialogSelectType = /*#__PURE__*/function (DialogSelectType) {
|
|
23
23
|
DialogSelectType[DialogSelectType["DEFAULT"] = 0] = "DEFAULT";
|
|
24
24
|
DialogSelectType[DialogSelectType["ICON"] = 1] = "ICON";
|
|
25
|
+
DialogSelectType[DialogSelectType["IMAGE"] = 2] = "IMAGE";
|
|
25
26
|
return DialogSelectType;
|
|
26
27
|
}({});
|
|
27
28
|
export let DialogButtonType = /*#__PURE__*/function (DialogButtonType) {
|
|
@@ -229,7 +229,9 @@ export declare const getParameters: () => {
|
|
|
229
229
|
export declare const getPages: () => import("../types/IChaynsReact").Page[];
|
|
230
230
|
export declare const getEnvironment: () => {
|
|
231
231
|
buildEnvironment: import("../types/IChaynsReact").Environment;
|
|
232
|
-
runtimeEnvironment: string | import("../types/IChaynsReact").RuntimeEnviroment;
|
|
232
|
+
runtimeEnvironment: string | import("../types/IChaynsReact").RuntimeEnviroment; /**
|
|
233
|
+
* Refresh accesstoken, should only be used when user object changes, not when token is invalid
|
|
234
|
+
*/
|
|
233
235
|
};
|
|
234
236
|
export declare const user: UserInfo;
|
|
235
237
|
export declare const site: ChaynsApiSite;
|
|
@@ -247,5 +249,7 @@ export declare const parameters: {
|
|
|
247
249
|
export declare const pages: import("../types/IChaynsReact").Page[];
|
|
248
250
|
export declare const environment: {
|
|
249
251
|
buildEnvironment: import("../types/IChaynsReact").Environment;
|
|
250
|
-
runtimeEnvironment: string | import("../types/IChaynsReact").RuntimeEnviroment;
|
|
252
|
+
runtimeEnvironment: string | import("../types/IChaynsReact").RuntimeEnviroment; /**
|
|
253
|
+
* Refresh accesstoken, should only be used when user object changes, not when token is invalid
|
|
254
|
+
*/
|
|
251
255
|
};
|
|
@@ -95,7 +95,8 @@ export interface DialogInput {
|
|
|
95
95
|
}
|
|
96
96
|
export declare enum DialogSelectType {
|
|
97
97
|
DEFAULT = 0,
|
|
98
|
-
ICON = 1
|
|
98
|
+
ICON = 1,
|
|
99
|
+
IMAGE = 2
|
|
99
100
|
}
|
|
100
101
|
export type DialogSelectListItemType = {
|
|
101
102
|
id: number;
|
|
@@ -103,6 +104,7 @@ export type DialogSelectListItemType = {
|
|
|
103
104
|
disabled?: boolean;
|
|
104
105
|
isSelected?: boolean;
|
|
105
106
|
url?: string;
|
|
107
|
+
className?: string;
|
|
106
108
|
};
|
|
107
109
|
export interface DialogSelect {
|
|
108
110
|
type: DialogType.SELECT;
|