@ws-ui/shared 0.2.10-rc.0 → 0.2.10

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.
@@ -46,7 +46,9 @@ export declare function getFolders(...roots: FolderRootType[]): Promise<{
46
46
  * Get a webform
47
47
  * @param request The request
48
48
  */
49
- export declare function getWebForm(webform: string): Promise<any>;
49
+ export declare function getWebForm(webform: string, options?: Partial<{
50
+ sanitize: boolean;
51
+ }>): Promise<any>;
50
52
  /**
51
53
  * Get file content
52
54
  * @param request The request
@@ -55,4 +55,3 @@ 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>;
@@ -1,8 +1,7 @@
1
1
  import { Subject } from 'rxjs';
2
2
  import { ToastCustomIcon, IMultilineMessage, ToastKind } from '../components/Toast';
3
3
  export declare enum WebformActions {
4
- RELOAD = "reload",
5
- RECOMPUTE = "recompute"
4
+ RELOAD = "reload"
6
5
  }
7
6
  export declare enum DatasourcesActions {
8
7
  RENAME = "rename"
@@ -66,20 +65,3 @@ export declare const debuggerSubject: Subject<{
66
65
  action: DebuggerActions;
67
66
  payload?: any;
68
67
  }>;
69
- type TTaskType = 'i18n';
70
- export interface ITaskPayload {
71
- name?: string;
72
- date?: string;
73
- duration?: number;
74
- progress?: number;
75
- status?: 'ongoing' | 'finished' | 'canceled' | 'error';
76
- time?: string;
77
- }
78
- export interface ISingleTask {
79
- id: string;
80
- type: TTaskType;
81
- action: 'add' | 'update' | 'cancel' | 'error';
82
- payload: ITaskPayload;
83
- }
84
- export declare const tasksManagerSubject: Subject<ISingleTask>;
85
- export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ws-ui/shared",
3
3
  "private": false,
4
- "version": "0.2.10-rc.0",
4
+ "version": "0.2.10",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs.js",
7
7
  "module": "./dist/index.es.js",