@ws-ui/shared 1.1.1 → 1.5.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/dist/declarations/datasources/datasource.d.ts +6 -0
- package/dist/hooks/use-feature-flags.d.ts +1 -1
- package/dist/index.cjs.js +15 -15
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +720 -712
- package/dist/index.es.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/types/api.d.ts +4 -0
- package/dist/types/explorer.d.ts +1 -1
- package/dist/utils/datasources.d.ts +1 -0
- package/dist/utils/explorer.d.ts +1 -0
- package/dist/utils/subjects.d.ts +20 -1
- package/package.json +1 -1
package/dist/package.json
CHANGED
package/dist/types/api.d.ts
CHANGED
package/dist/types/explorer.d.ts
CHANGED
|
@@ -4,6 +4,6 @@ export interface ICodeEditorConfig {
|
|
|
4
4
|
}
|
|
5
5
|
export type TEditorConfig = Partial<ICodeEditorConfig>;
|
|
6
6
|
export interface IEditor {
|
|
7
|
-
key: 'editors:roles' | 'editors:webforms' | 'editors:code' | 'editors:code:method' | 'editors:unknown' | 'editors:debugger' | 'editors:img' | 'editors:model' | 'editors:settings' | 'editors:reports' | 'editors:http-handlers';
|
|
7
|
+
key: 'editors:roles' | 'editors:webforms' | 'editors:code' | 'editors:code:method' | 'editors:unknown' | 'editors:debugger' | 'editors:img' | 'editors:model' | 'editors:settings' | 'editors:reports' | 'editors:http-handlers' | 'editors:localization';
|
|
8
8
|
config?: TEditorConfig;
|
|
9
9
|
}
|
|
@@ -55,3 +55,4 @@ export declare const _isArrayDatasource: (datasource: datasources.DataSource) =>
|
|
|
55
55
|
export declare const _isObjectDatasource: (datasource: datasources.DataSource) => boolean;
|
|
56
56
|
export declare const isDateDatasource: (datasource: datasources.DataSource) => boolean;
|
|
57
57
|
export declare function loadDS(): Promise<void>;
|
|
58
|
+
export declare function loadI18n(): Promise<void>;
|
package/dist/utils/explorer.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export declare const ROLES_TAB_PATH = "roles.json";
|
|
|
4
4
|
export declare const SETTINGS_TAB_PATH = "qodlyApp.json";
|
|
5
5
|
export declare const MODEL_TAB_PATH = "model.4DModel";
|
|
6
6
|
export declare const HTTP_HANDLERS_PATH = "HTTPHandlers.json";
|
|
7
|
+
export declare const LOCALIZATION_PATH = "Localization/i18n";
|
|
7
8
|
export declare function getTypeFromExtension(path: string): FileFolderTypeWithContent;
|
|
8
9
|
export declare function getFileExtentionFromType(type: string, qodly?: boolean): "" | "WebForm" | "4dm" | "4qs" | "QoDoc" | "MForm";
|
|
9
10
|
export declare function extractWebformName(path: string, fallbackName?: string): string;
|
package/dist/utils/subjects.d.ts
CHANGED
|
@@ -2,7 +2,8 @@ import { Subject } from 'rxjs';
|
|
|
2
2
|
import { ToastCustomIcon, IMultilineMessage, ToastKind } from '../components/Toast';
|
|
3
3
|
|
|
4
4
|
export declare enum WebformActions {
|
|
5
|
-
RELOAD = "reload"
|
|
5
|
+
RELOAD = "reload",
|
|
6
|
+
RECOMPUTE = "recompute"
|
|
6
7
|
}
|
|
7
8
|
export declare enum DatasourcesActions {
|
|
8
9
|
RENAME = "rename",
|
|
@@ -94,3 +95,21 @@ export declare const debuggerSubject: Subject<{
|
|
|
94
95
|
action: DebuggerActions;
|
|
95
96
|
payload?: any;
|
|
96
97
|
}>;
|
|
98
|
+
type TTaskType = 'i18n';
|
|
99
|
+
export interface ITaskPayload {
|
|
100
|
+
name?: string;
|
|
101
|
+
date?: string;
|
|
102
|
+
duration?: number;
|
|
103
|
+
progress?: number;
|
|
104
|
+
status?: 'ongoing' | 'finished' | 'canceled' | 'error';
|
|
105
|
+
time?: string;
|
|
106
|
+
errorMessage?: string;
|
|
107
|
+
}
|
|
108
|
+
export interface ISingleTask {
|
|
109
|
+
id: string;
|
|
110
|
+
type: TTaskType;
|
|
111
|
+
action: 'add' | 'update' | 'cancel' | 'error';
|
|
112
|
+
payload: ITaskPayload;
|
|
113
|
+
}
|
|
114
|
+
export declare const tasksManagerSubject: Subject<ISingleTask>;
|
|
115
|
+
export {};
|