@ostack.tech/ui-kform-scaffolder 1.2.0-beta.0 → 1.2.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/ostack-ui-kform-scaffolder.js +272 -101
- package/dist/ostack-ui-kform-scaffolder.js.map +1 -1
- package/dist/webapp/assets/index-B5F6GfVR.js +1499 -0
- package/dist/webapp/index.html +1 -1
- package/package.json +8 -8
- package/types/configs/UseReactCompilerConfig.d.ts +5 -0
- package/types/configs/UseTableValuesSerializerConfig.d.ts +5 -3
- package/types/index.d.ts +1 -0
- package/types/scaffolding/ScaffoldingData.d.ts +7 -8
- package/dist/webapp/assets/index-CrUWy2VO.js +0 -1509
package/dist/webapp/index.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<meta name="color-scheme" content="light dark" />
|
|
8
8
|
<title>Form Scaffolder—ostack/UI-KForm</title>
|
|
9
|
-
<script type="module" crossorigin src="/assets/index-
|
|
9
|
+
<script type="module" crossorigin src="/assets/index-B5F6GfVR.js"></script>
|
|
10
10
|
<link rel="stylesheet" crossorigin href="/assets/index-BKUWl2po.css">
|
|
11
11
|
</head>
|
|
12
12
|
<body>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ostack.tech/ui-kform-scaffolder",
|
|
3
|
+
"version": "1.2.0",
|
|
3
4
|
"description": "Scaffold a new project using ostack/KForm, UI, and UI-KForm.",
|
|
4
|
-
"version": "1.2.0-beta.0",
|
|
5
5
|
"homepage": "https://ui-kform-scaffolder.ostack.tech/",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Opensoft",
|
|
@@ -12,10 +12,16 @@
|
|
|
12
12
|
"url": "git+https://bitbucket.org/opensoftgitrepo/ostack-ui.git",
|
|
13
13
|
"directory": "packages/ui-kform-scaffolder/"
|
|
14
14
|
},
|
|
15
|
-
"type": "module",
|
|
16
15
|
"bin": {
|
|
17
16
|
"ostack-ui-kform-scaffolder": "bin/ostack-ui-kform-scaffolder"
|
|
18
17
|
},
|
|
18
|
+
"files": [
|
|
19
|
+
"bin/",
|
|
20
|
+
"dist/",
|
|
21
|
+
"types/"
|
|
22
|
+
],
|
|
23
|
+
"type": "module",
|
|
24
|
+
"sideEffects": false,
|
|
19
25
|
"main": "dist/ostack-ui-kform-scaffolder.js",
|
|
20
26
|
"types": "types/index.d.ts",
|
|
21
27
|
"exports": {
|
|
@@ -25,12 +31,6 @@
|
|
|
25
31
|
},
|
|
26
32
|
"./package.json": "./package.json"
|
|
27
33
|
},
|
|
28
|
-
"sideEffects": false,
|
|
29
|
-
"files": [
|
|
30
|
-
"bin/",
|
|
31
|
-
"dist/",
|
|
32
|
-
"types/"
|
|
33
|
-
],
|
|
34
34
|
"scripts": {
|
|
35
35
|
"dev": "vite",
|
|
36
36
|
"build": "tsc -b && vite build && vite build --mode webapp",
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { type UseTableValuesSerializerConfigProps as KFormUseTableValuesSerializerConfigProps } from "@ostack.tech/kform-scaffolder";
|
|
2
|
+
import { type SerializationFormat } from "./SerializationFormatConfig.tsx";
|
|
3
|
+
export interface UseTableValuesSerializerConfigProps extends KFormUseTableValuesSerializerConfigProps {
|
|
4
|
+
defaultSerializationFormatValue?: SerializationFormat;
|
|
3
5
|
}
|
|
4
|
-
export declare function UseTableValuesSerializerConfig({ disabled, }: UseTableValuesSerializerConfigProps): import("react").JSX.Element;
|
|
6
|
+
export declare function UseTableValuesSerializerConfig({ defaultSerializationFormatValue, disabled, ...otherProps }: UseTableValuesSerializerConfigProps): import("react").JSX.Element;
|
package/types/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from "./SchematicBuilder.tsx";
|
|
|
2
2
|
export * from "./SchematicKind.ts";
|
|
3
3
|
export * from "./configs/DefaultLocaleConfig.tsx";
|
|
4
4
|
export * from "./configs/SerializationFormatConfig.tsx";
|
|
5
|
+
export * from "./configs/UseReactCompilerConfig.tsx";
|
|
5
6
|
export * from "./configs/UseTableValuesSerializerConfig.tsx";
|
|
6
7
|
export * from "./scaffolding/ScaffoldingData.ts";
|
|
7
8
|
export * from "./scaffolding/scaffolders/scaffoldApi.ts";
|
|
@@ -5,25 +5,24 @@ export interface ScaffoldingData extends KFormScaffoldingData {
|
|
|
5
5
|
/** Serialization format to use. */
|
|
6
6
|
serializationFormat?: SerializationFormat;
|
|
7
7
|
/**
|
|
8
|
-
* Whether to generate a version property on the application class to indicate
|
|
9
|
-
*
|
|
8
|
+
* Whether to generate a version property on the application class to indicate the serialization
|
|
9
|
+
* format version.
|
|
10
10
|
*/
|
|
11
11
|
includeSerializationFormatVersion?: boolean;
|
|
12
12
|
/** XML namespace to use when the serialization format is XML. */
|
|
13
13
|
xmlNamespace?: string;
|
|
14
14
|
/** Application's default locale. */
|
|
15
15
|
defaultLocale?: string;
|
|
16
|
+
/** Whether to set up usage of the React Compiler. */
|
|
17
|
+
useReactCompiler?: boolean;
|
|
16
18
|
/** Name of the active path search parameter. */
|
|
17
19
|
activePathSearchParam?: string;
|
|
18
20
|
/**
|
|
19
|
-
* Whether to include the `kotlinx.datetime` library. By default, this is
|
|
20
|
-
*
|
|
21
|
+
* Whether to include the `kotlinx.datetime` library. By default, this is inferred from the
|
|
22
|
+
* schematic.
|
|
21
23
|
*/
|
|
22
24
|
includeKotlinxDatetime?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Whether to include the `kt-math` library. By default, this is inferred from
|
|
25
|
-
* the schematic.
|
|
26
|
-
*/
|
|
25
|
+
/** Whether to include the `kt-math` library. By default, this is inferred from the schematic. */
|
|
27
26
|
includeKtMath?: boolean;
|
|
28
27
|
/** Whether to scaffold issue messages in the generated React code. */
|
|
29
28
|
scaffoldIssueMessages?: boolean;
|