@ws-ui/shared 0.1.28 → 0.1.30-rc.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.
Files changed (89) hide show
  1. package/README.md +0 -0
  2. package/dist/components/AppLoader.d.ts +0 -0
  3. package/dist/components/ControlledSwitch.d.ts +0 -0
  4. package/dist/components/Dialog.d.ts +0 -0
  5. package/dist/components/Incase/index.d.ts +0 -0
  6. package/dist/components/Modal/Button.d.ts +0 -0
  7. package/dist/components/Modal/Icon.d.ts +0 -0
  8. package/dist/components/Modal/colors.d.ts +0 -0
  9. package/dist/components/Modal/index.d.ts +0 -0
  10. package/dist/components/Portal.d.ts +0 -0
  11. package/dist/components/Tips/components/CarouselTip.d.ts +0 -0
  12. package/dist/components/Tips/components/TextTip.d.ts +0 -0
  13. package/dist/components/Tips/components/VideoTip.d.ts +0 -0
  14. package/dist/components/Tips/components/index.d.ts +0 -0
  15. package/dist/components/Tips/index.d.ts +0 -0
  16. package/dist/components/Tips/interfaces.d.ts +0 -0
  17. package/dist/components/Tips/provider.d.ts +0 -0
  18. package/dist/components/Toast.d.ts +0 -0
  19. package/dist/components/Tooltip.d.ts +0 -0
  20. package/dist/components/Tree/components/IndentLines.d.ts +0 -0
  21. package/dist/components/Tree/components/Switcher.d.ts +0 -0
  22. package/dist/components/Tree/components/Tree.d.ts +0 -0
  23. package/dist/components/Tree/components/TreeNode.d.ts +0 -0
  24. package/dist/components/Tree/index.d.ts +0 -0
  25. package/dist/components/Tree/interfaces.d.ts +0 -0
  26. package/dist/components/Tree/styled.d.ts +0 -0
  27. package/dist/components/index.d.ts +0 -0
  28. package/dist/constants.d.ts +0 -0
  29. package/dist/datasource-themes.d.ts +0 -0
  30. package/dist/declarations/datasources/cache.d.ts +0 -0
  31. package/dist/declarations/datasources/dataclass.d.ts +0 -0
  32. package/dist/declarations/datasources/datasource.d.ts +0 -0
  33. package/dist/declarations/datasources/datastore.d.ts +0 -0
  34. package/dist/declarations/datasources/entitysel.d.ts +0 -0
  35. package/dist/declarations/datasources/interfaces/catalog.d.ts +0 -0
  36. package/dist/declarations/datasources/interfaces/dataclass-attribute.d.ts +0 -0
  37. package/dist/declarations/datasources/methods.d.ts +0 -0
  38. package/dist/declarations/datasources/rest.d.ts +0 -0
  39. package/dist/declarations/http-methods.d.ts +0 -0
  40. package/dist/declarations/index.d.ts +0 -0
  41. package/dist/declarations/webform/webform.d.ts +0 -0
  42. package/dist/hooks/index.d.ts +0 -0
  43. package/dist/hooks/use-didmounteffect.d.ts +0 -0
  44. package/dist/hooks/use-feature-flags.d.ts +0 -0
  45. package/dist/hooks/use-forwarded-ref.d.ts +0 -0
  46. package/dist/hooks/use-hotkeys.d.ts +0 -0
  47. package/dist/hooks/use-outside-click.d.ts +0 -0
  48. package/dist/hooks/use-previous.d.ts +0 -0
  49. package/dist/hooks/use-state-ref.d.ts +0 -0
  50. package/dist/hooks/useDoubleClick.d.ts +0 -0
  51. package/dist/hooks/useIdentity.d.ts +0 -0
  52. package/dist/hooks/useStateObject.d.ts +0 -0
  53. package/dist/index.cjs.js +0 -0
  54. package/dist/index.cjs.js.map +1 -1
  55. package/dist/index.d.ts +0 -0
  56. package/dist/index.es.js +312 -312
  57. package/dist/index.es.js.map +1 -1
  58. package/dist/services/api.d.ts +2 -1
  59. package/dist/services/common.d.ts +0 -0
  60. package/dist/services/explorer.d.ts +0 -0
  61. package/dist/services/functions.d.ts +0 -0
  62. package/dist/services/index.d.ts +0 -0
  63. package/dist/services/tracking.d.ts +0 -0
  64. package/dist/style.css +0 -0
  65. package/dist/tailwind.preset.js +0 -0
  66. package/dist/types/api.d.ts +0 -2
  67. package/dist/types/code-editor.d.ts +19 -0
  68. package/dist/types/explorer.d.ts +0 -0
  69. package/dist/types/index.d.ts +0 -0
  70. package/dist/types/modal.d.ts +0 -0
  71. package/dist/types/shared.d.ts +0 -0
  72. package/dist/types/utils.d.ts +0 -0
  73. package/dist/types/webform-editor.d.ts +0 -0
  74. package/dist/types/webform-state.d.ts +0 -0
  75. package/dist/types/welcome-tour.d.ts +0 -0
  76. package/dist/utils/code.d.ts +0 -0
  77. package/dist/utils/common.d.ts +0 -0
  78. package/dist/utils/datasources.d.ts +0 -0
  79. package/dist/utils/explorer.d.ts +0 -0
  80. package/dist/utils/index.d.ts +0 -0
  81. package/dist/utils/model.d.ts +0 -0
  82. package/dist/utils/parser.d.ts +0 -0
  83. package/dist/utils/subjects.d.ts +0 -0
  84. package/dist/utils/validation.d.ts +0 -0
  85. package/dist/utils/validation.test.d.ts +0 -0
  86. package/dist/utils/waiter/index.d.ts +0 -0
  87. package/dist/utils/waiter/waiter.test.d.ts +0 -0
  88. package/dist/vite.svg +0 -0
  89. package/package.json +2 -3
@@ -1,4 +1,5 @@
1
- import { FileFolderTypeWithContent, FolderRootType, IAddFolderRequest, IAddFolderResponse, IAppSettingsResponse, ICheckUpdatesRequest, ICheckUpdatesResponse, IDropFileRequest, IDropFolderRequest, IFileInfoResponse, IGetFileInfo, IGetFileRequest, IGetFolderRequest, IGetFolderResponse, IInstallUpdatesRequest, IMonacoThemeResponse, IRenameFileRequest, IRenameFileResponse, IRenameFolderRequest, IRenameFolderResponse, ISetFileContentRequest, ISharedCSSResponse, ISavedConditionsResponse, ISharedDatasourcesResponse, RemoteDebuggerMode, IUserPrivilegesResponse } from '../types/api';
1
+ import { FileFolderTypeWithContent, FolderRootType, IAddFolderRequest, IAddFolderResponse, IAppSettingsResponse, ICheckUpdatesRequest, ICheckUpdatesResponse, IDropFileRequest, IDropFolderRequest, IFileInfoResponse, IGetFileInfo, IGetFileRequest, IGetFolderRequest, IGetFolderResponse, IInstallUpdatesRequest, IRenameFileRequest, IRenameFileResponse, IRenameFolderRequest, IRenameFolderResponse, ISetFileContentRequest, ISharedCSSResponse, ISavedConditionsResponse, ISharedDatasourcesResponse, RemoteDebuggerMode, IUserPrivilegesResponse } from '../types/api';
2
+ import { IMonacoThemeResponse } from '../types/code-editor';
2
3
  import { IComponentTemplate } from '../types/webform-editor';
3
4
  /**
4
5
  * Check updates
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/style.css CHANGED
File without changes
File without changes
@@ -2,7 +2,6 @@
2
2
  * Enums and types goes here *
3
3
  *******************************************************************************/
4
4
  import { IEditor } from '../types/explorer';
5
- import { editor as MonacoEditor } from 'monaco-editor';
6
5
  import { IWebFormStyleClass } from '../types/webform-editor';
7
6
  import { WebformStateCondition } from '../types/webform-state';
8
7
  export declare enum FolderRootType {
@@ -556,4 +555,3 @@ export interface IUserPrivilege {
556
555
  export type IUserPrivilegesResponse = {
557
556
  privileges: IUserPrivilege[];
558
557
  };
559
- export type IMonacoThemeResponse = MonacoEditor.IStandaloneThemeData | null;
@@ -43,3 +43,22 @@ export interface IMethodAttributes extends Omit<IOriginalMethodAttributes, 'publ
43
43
  export declare const PublishOptions: {
44
44
  [key: string]: IPublished;
45
45
  };
46
+ type BuiltinTheme = 'vs' | 'vs-dark' | 'hc-black' | 'hc-light';
47
+ type IColors = {
48
+ [colorId: string]: string;
49
+ };
50
+ interface ITokenThemeRule {
51
+ token: string;
52
+ foreground?: string;
53
+ background?: string;
54
+ fontStyle?: string;
55
+ }
56
+ interface IStandaloneThemeData {
57
+ base: BuiltinTheme;
58
+ inherit: boolean;
59
+ rules: ITokenThemeRule[];
60
+ encodedTokensColors?: string[];
61
+ colors: IColors;
62
+ }
63
+ export type IMonacoThemeResponse = IStandaloneThemeData | null;
64
+ export {};
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/vite.svg CHANGED
File without changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ws-ui/shared",
3
3
  "private": false,
4
- "version": "0.1.28",
4
+ "version": "0.1.30-rc.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs.js",
7
7
  "module": "./dist/index.es.js",
@@ -30,11 +30,10 @@
30
30
  "@popperjs/core": "^2.9.2",
31
31
  "@radix-ui/react-popover": "^0.1.6",
32
32
  "@ws-ui/craftjs-core": "^0.2.1-beta.3",
33
- "@ws-ui/icons": "^0.0.19",
33
+ "@ws-ui/icons": "^0.0.20",
34
34
  "classnames": "^2.3.1",
35
35
  "lodash": "^4.17.21",
36
36
  "markdown-to-jsx": "^7.1.3",
37
- "monaco-editor": "^0.41.0",
38
37
  "react": "^17.0.2",
39
38
  "react-dom": "^17.0.2",
40
39
  "react-popper": "^2.2.5",