@ws-ui/shared 1.6.3 → 1.6.6
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/index.cjs.js +57 -52
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +7809 -7734
- package/dist/index.es.js.map +1 -1
- package/dist/tailwind.preset.js +3 -3
- package/dist/types/api.d.ts +1 -1
- package/dist/utils/explorer.d.ts +19 -3
- package/package.json +1 -1
package/dist/tailwind.preset.js
CHANGED
|
@@ -74,9 +74,9 @@ module.exports = {
|
|
|
74
74
|
},
|
|
75
75
|
},
|
|
76
76
|
fontFamily: {
|
|
77
|
-
'open-sans': ['Poppins', 'Open Sans', 'sans-serif'],
|
|
78
|
-
roboto: ['Roboto', 'sans-serif'],
|
|
79
|
-
poppins: ['Poppins', 'sans-serif'],
|
|
77
|
+
'open-sans': ['Twemoji Country Flags', 'Poppins', 'Open Sans', 'sans-serif'],
|
|
78
|
+
roboto: ['Twemoji Country Flags', 'Roboto', 'sans-serif'],
|
|
79
|
+
poppins: ['Twemoji Country Flags', 'Poppins', 'sans-serif'],
|
|
80
80
|
},
|
|
81
81
|
fontSize: {
|
|
82
82
|
xxs: '.55rem',
|
package/dist/types/api.d.ts
CHANGED
|
@@ -116,7 +116,7 @@ export declare enum FileFolderType {
|
|
|
116
116
|
/**
|
|
117
117
|
* Folder child with content. It represents files and excludes folders
|
|
118
118
|
*/
|
|
119
|
-
export type FileFolderTypeWithContent = FileFolderType.CLASS | FileFolderType.WEBFORM | FileFolderType.METHOD | FileFolderType.WELCOME | FileFolderType.ROLES | FileFolderType.MODEL | FileFolderType.FILE | FileFolderType.DEBUGGER | FileFolderType.DATA_EXPLORER | FileFolderType.SETTINGS | FileFolderType.TEXT | FileFolderType.HTTP_HANDLERS;
|
|
119
|
+
export type FileFolderTypeWithContent = FileFolderType.CLASS | FileFolderType.WEBFORM | FileFolderType.METHOD | FileFolderType.WELCOME | FileFolderType.ROLES | FileFolderType.MODEL | FileFolderType.FILE | FileFolderType.DEBUGGER | FileFolderType.DATA_EXPLORER | FileFolderType.SETTINGS | FileFolderType.TEXT | FileFolderType.HTTP_HANDLERS | FileFolderType.LOCALIZATION;
|
|
120
120
|
/**
|
|
121
121
|
* Designer request verb enumeration
|
|
122
122
|
*/
|
package/dist/utils/explorer.d.ts
CHANGED
|
@@ -1,9 +1,25 @@
|
|
|
1
|
-
import { FileFolderTypeWithContent } from '../types/api';
|
|
1
|
+
import { FileFolderType, FileFolderTypeWithContent } from '../types/api';
|
|
2
2
|
export declare const ROLES_TAB_PATH = "roles.json";
|
|
3
3
|
export declare const SETTINGS_TAB_PATH = "qodlyApp.json";
|
|
4
4
|
export declare const MODEL_TAB_PATH = "model.4DModel";
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
5
|
+
export declare const HTTP_HANDLERS_TAB_PATH = "HTTPHandlers.json";
|
|
6
|
+
export declare const LOCALIZATION_TAB_PATH = "Shared/i18n.json";
|
|
7
|
+
export declare function getFilenameAndTypeFromPath(path: string): {
|
|
8
|
+
filename: string;
|
|
9
|
+
type: FileFolderType.SETTINGS;
|
|
10
|
+
} | {
|
|
11
|
+
filename: string;
|
|
12
|
+
type: FileFolderType.HTTP_HANDLERS;
|
|
13
|
+
} | {
|
|
14
|
+
filename: string;
|
|
15
|
+
type: FileFolderType.ROLES;
|
|
16
|
+
} | {
|
|
17
|
+
filename: string;
|
|
18
|
+
type: FileFolderType.LOCALIZATION;
|
|
19
|
+
} | {
|
|
20
|
+
filename: string;
|
|
21
|
+
type: FileFolderType.WEBFORM | FileFolderType.METHOD | FileFolderType.CLASS | FileFolderType.DEBUGGER | FileFolderType.WELCOME | FileFolderType.MODEL | FileFolderType.DATA_EXPLORER | FileFolderType.FILE | FileFolderType.TEXT;
|
|
22
|
+
};
|
|
7
23
|
export declare function getTypeFromExtension(path: string): FileFolderTypeWithContent;
|
|
8
24
|
export declare function getFileExtentionFromType(type: string, qodly?: boolean): "" | "WebForm" | "4dm" | "4qs" | "QoDoc" | "MForm";
|
|
9
25
|
export declare function extractWebformName(path: string, fallbackName?: string): string;
|