@ostack.tech/ui-kform-scaffolder 1.3.0-beta.1 → 1.3.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/LICENSE +202 -0
- package/README.md +16 -1
- package/dist/ostack-ui-kform-scaffolder.js +110 -99
- package/dist/ostack-ui-kform-scaffolder.js.map +1 -1
- package/dist/webapp/assets/{index-DPkVjTyj.js → index-CnblXyI0.js} +141 -146
- package/dist/webapp/index.html +1 -1
- package/package.json +5 -5
- package/types/configs/LocaleConfig.d.ts +1 -2
- package/types/scaffolding/scaffolders/scaffoldGradleProject.d.ts +0 -2
|
@@ -6,30 +6,36 @@ import { camelCase, capitalCase, constantCase, kebabCase, pascalCase, sentenceCa
|
|
|
6
6
|
// src/configs/LocaleConfig.tsx
|
|
7
7
|
var DEFAULT_SUPPORT_MULTIPLE_LOCALES = false;
|
|
8
8
|
var DEFAULT_SOURCE_LOCALE = "en-US";
|
|
9
|
-
var DEFAULT_LOCALES = [DEFAULT_SOURCE_LOCALE];
|
|
10
9
|
var LOCALES = JSON.parse("[\"en-GB\",\"en-US\",\"fr-FR\",\"pt-PT\"]");
|
|
11
10
|
function LocaleConfig(t0) {
|
|
12
|
-
const $ = c(
|
|
13
|
-
const { defaultSupportMultipleLocales: t1, defaultSourceLocale: t2, defaultLocales:
|
|
11
|
+
const $ = c(35);
|
|
12
|
+
const { defaultSupportMultipleLocales: t1, defaultSourceLocale: t2, defaultLocales: defaultLocalesProp, disabled } = t0;
|
|
14
13
|
const defaultSupportMultipleLocales = t1 === void 0 ? false : t1;
|
|
15
14
|
const defaultSourceLocale = t2 === void 0 ? DEFAULT_SOURCE_LOCALE : t2;
|
|
16
|
-
|
|
15
|
+
let t3;
|
|
16
|
+
if ($[0] !== defaultLocalesProp || $[1] !== defaultSourceLocale) {
|
|
17
|
+
t3 = defaultLocalesProp ?? [defaultSourceLocale];
|
|
18
|
+
$[0] = defaultLocalesProp;
|
|
19
|
+
$[1] = defaultSourceLocale;
|
|
20
|
+
$[2] = t3;
|
|
21
|
+
} else t3 = $[2];
|
|
22
|
+
const defaultLocales = t3;
|
|
17
23
|
const [supportMultipleLocalesConfig, setSupportMultipleLocalesConfig] = useConfig("supportMultipleLocales", defaultSupportMultipleLocales);
|
|
18
24
|
const [sourceLocaleConfig, setSourceLocaleConfig] = useConfig("sourceLocale", defaultSourceLocale);
|
|
19
25
|
const [localesConfig, setLocalesConfig] = useConfig("locales", defaultLocales);
|
|
20
26
|
let t4;
|
|
21
|
-
if ($[
|
|
27
|
+
if ($[3] !== setLocalesConfig || $[4] !== setSupportMultipleLocalesConfig || $[5] !== sourceLocaleConfig) {
|
|
22
28
|
t4 = (evt) => {
|
|
23
29
|
setSupportMultipleLocalesConfig(evt.target.checked);
|
|
24
30
|
if (!evt.target.checked) setLocalesConfig([sourceLocaleConfig]);
|
|
25
31
|
};
|
|
26
|
-
$[
|
|
27
|
-
$[
|
|
28
|
-
$[
|
|
29
|
-
$[
|
|
30
|
-
} else t4 = $[
|
|
32
|
+
$[3] = setLocalesConfig;
|
|
33
|
+
$[4] = setSupportMultipleLocalesConfig;
|
|
34
|
+
$[5] = sourceLocaleConfig;
|
|
35
|
+
$[6] = t4;
|
|
36
|
+
} else t4 = $[6];
|
|
31
37
|
let t5;
|
|
32
|
-
if ($[
|
|
38
|
+
if ($[7] !== disabled || $[8] !== supportMultipleLocalesConfig || $[9] !== t4) {
|
|
33
39
|
t5 = /* @__PURE__ */ jsx("div", {
|
|
34
40
|
className: "builder-config-field",
|
|
35
41
|
children: /* @__PURE__ */ jsxs("label", { children: [/* @__PURE__ */ jsx("input", {
|
|
@@ -39,40 +45,40 @@ function LocaleConfig(t0) {
|
|
|
39
45
|
disabled
|
|
40
46
|
}), "Support multiple locales"] })
|
|
41
47
|
});
|
|
42
|
-
$[
|
|
43
|
-
$[
|
|
44
|
-
$[
|
|
45
|
-
$[
|
|
46
|
-
} else t5 = $[
|
|
48
|
+
$[7] = disabled;
|
|
49
|
+
$[8] = supportMultipleLocalesConfig;
|
|
50
|
+
$[9] = t4;
|
|
51
|
+
$[10] = t5;
|
|
52
|
+
} else t5 = $[10];
|
|
47
53
|
const t6 = supportMultipleLocalesConfig ? "Source locale" : "Locale";
|
|
48
54
|
let t7;
|
|
49
|
-
if ($[
|
|
55
|
+
if ($[11] !== t6) {
|
|
50
56
|
t7 = /* @__PURE__ */ jsx("label", {
|
|
51
57
|
htmlFor: "source-locale-config",
|
|
52
58
|
children: t6
|
|
53
59
|
});
|
|
54
|
-
$[
|
|
55
|
-
$[
|
|
56
|
-
} else t7 = $[
|
|
60
|
+
$[11] = t6;
|
|
61
|
+
$[12] = t7;
|
|
62
|
+
} else t7 = $[12];
|
|
57
63
|
let t8;
|
|
58
|
-
if ($[
|
|
64
|
+
if ($[13] !== localesConfig || $[14] !== setLocalesConfig || $[15] !== setSourceLocaleConfig || $[16] !== sourceLocaleConfig) {
|
|
59
65
|
t8 = (evt_0) => {
|
|
60
66
|
setSourceLocaleConfig(evt_0.target.value);
|
|
61
67
|
setLocalesConfig([evt_0.target.value, ...localesConfig.filter((locale) => locale !== sourceLocaleConfig && locale !== evt_0.target.value)]);
|
|
62
68
|
};
|
|
63
|
-
$[
|
|
64
|
-
$[
|
|
65
|
-
$[
|
|
66
|
-
$[
|
|
67
|
-
$[
|
|
68
|
-
} else t8 = $[
|
|
69
|
+
$[13] = localesConfig;
|
|
70
|
+
$[14] = setLocalesConfig;
|
|
71
|
+
$[15] = setSourceLocaleConfig;
|
|
72
|
+
$[16] = sourceLocaleConfig;
|
|
73
|
+
$[17] = t8;
|
|
74
|
+
} else t8 = $[17];
|
|
69
75
|
let t9;
|
|
70
|
-
if ($[
|
|
76
|
+
if ($[18] === Symbol.for("react.memo_cache_sentinel")) {
|
|
71
77
|
t9 = LOCALES.map(_temp);
|
|
72
|
-
$[
|
|
73
|
-
} else t9 = $[
|
|
78
|
+
$[18] = t9;
|
|
79
|
+
} else t9 = $[18];
|
|
74
80
|
let t10;
|
|
75
|
-
if ($[
|
|
81
|
+
if ($[19] !== disabled || $[20] !== sourceLocaleConfig || $[21] !== t8) {
|
|
76
82
|
t10 = /* @__PURE__ */ jsx("select", {
|
|
77
83
|
id: "source-locale-config",
|
|
78
84
|
value: sourceLocaleConfig,
|
|
@@ -80,23 +86,23 @@ function LocaleConfig(t0) {
|
|
|
80
86
|
disabled,
|
|
81
87
|
children: t9
|
|
82
88
|
});
|
|
83
|
-
$[
|
|
84
|
-
$[
|
|
85
|
-
$[
|
|
86
|
-
$[
|
|
87
|
-
} else t10 = $[
|
|
89
|
+
$[19] = disabled;
|
|
90
|
+
$[20] = sourceLocaleConfig;
|
|
91
|
+
$[21] = t8;
|
|
92
|
+
$[22] = t10;
|
|
93
|
+
} else t10 = $[22];
|
|
88
94
|
let t11;
|
|
89
|
-
if ($[
|
|
95
|
+
if ($[23] !== t10 || $[24] !== t7) {
|
|
90
96
|
t11 = /* @__PURE__ */ jsxs("div", {
|
|
91
97
|
className: "builder-config-field",
|
|
92
98
|
children: [t7, t10]
|
|
93
99
|
});
|
|
94
|
-
$[
|
|
95
|
-
$[
|
|
96
|
-
$[
|
|
97
|
-
} else t11 = $[
|
|
100
|
+
$[23] = t10;
|
|
101
|
+
$[24] = t7;
|
|
102
|
+
$[25] = t11;
|
|
103
|
+
} else t11 = $[25];
|
|
98
104
|
let t12;
|
|
99
|
-
if ($[
|
|
105
|
+
if ($[26] !== localesConfig || $[27] !== setLocalesConfig || $[28] !== sourceLocaleConfig || $[29] !== supportMultipleLocalesConfig) {
|
|
100
106
|
t12 = supportMultipleLocalesConfig && /* @__PURE__ */ jsxs("fieldset", {
|
|
101
107
|
className: "builder-config-field",
|
|
102
108
|
children: [/* @__PURE__ */ jsx("legend", { children: "Locales" }), LOCALES.map((locale_1) => /* @__PURE__ */ jsxs("label", { children: [/* @__PURE__ */ jsx("input", {
|
|
@@ -109,24 +115,24 @@ function LocaleConfig(t0) {
|
|
|
109
115
|
}
|
|
110
116
|
}), locale_1] }, locale_1))]
|
|
111
117
|
});
|
|
112
|
-
$[
|
|
113
|
-
$[
|
|
114
|
-
$[
|
|
115
|
-
$[
|
|
116
|
-
$[
|
|
117
|
-
} else t12 = $[
|
|
118
|
+
$[26] = localesConfig;
|
|
119
|
+
$[27] = setLocalesConfig;
|
|
120
|
+
$[28] = sourceLocaleConfig;
|
|
121
|
+
$[29] = supportMultipleLocalesConfig;
|
|
122
|
+
$[30] = t12;
|
|
123
|
+
} else t12 = $[30];
|
|
118
124
|
let t13;
|
|
119
|
-
if ($[
|
|
125
|
+
if ($[31] !== t11 || $[32] !== t12 || $[33] !== t5) {
|
|
120
126
|
t13 = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
121
127
|
t5,
|
|
122
128
|
t11,
|
|
123
129
|
t12
|
|
124
130
|
] });
|
|
125
|
-
$[
|
|
126
|
-
$[
|
|
127
|
-
$[
|
|
128
|
-
$[
|
|
129
|
-
} else t13 = $[
|
|
131
|
+
$[31] = t11;
|
|
132
|
+
$[32] = t12;
|
|
133
|
+
$[33] = t5;
|
|
134
|
+
$[34] = t13;
|
|
135
|
+
} else t13 = $[34];
|
|
130
136
|
return t13;
|
|
131
137
|
}
|
|
132
138
|
function _temp(locale_0) {
|
|
@@ -852,7 +858,7 @@ function scaffoldAppComponent(schematic, data) {
|
|
|
852
858
|
scaffoldIssueMessages(schematic, data);
|
|
853
859
|
}
|
|
854
860
|
function scaffoldAppComponentFile(schematic, data) {
|
|
855
|
-
const
|
|
861
|
+
const defaultSourceLocaleVar = (data.sourceLocale ?? "en-US").replaceAll("-", "");
|
|
856
862
|
const activePathSearchParam = data.activePathSearchParam ?? "page";
|
|
857
863
|
data.currentFile.imports.push({
|
|
858
864
|
moduleName: "@ostack.tech/kform",
|
|
@@ -863,9 +869,6 @@ function scaffoldAppComponentFile(schematic, data) {
|
|
|
863
869
|
}, {
|
|
864
870
|
moduleName: "@ostack.tech/ui-kform",
|
|
865
871
|
name: "FormApp"
|
|
866
|
-
}, {
|
|
867
|
-
moduleName: "@ostack.tech/ui-kform/locales",
|
|
868
|
-
name: localeVar
|
|
869
872
|
}, {
|
|
870
873
|
moduleName: "@ostack.tech/ui-kform",
|
|
871
874
|
name: "IssuesPanel"
|
|
@@ -901,12 +904,16 @@ function scaffoldAppComponentFile(schematic, data) {
|
|
|
901
904
|
moduleName: "./i18n.ts",
|
|
902
905
|
name: "DEFAULT_LOCALE"
|
|
903
906
|
});
|
|
907
|
+
else data.currentFile.imports.push({
|
|
908
|
+
moduleName: "@ostack.tech/ui-kform/locales",
|
|
909
|
+
name: defaultSourceLocaleVar
|
|
910
|
+
});
|
|
904
911
|
data.currentFile.declarations.push(code`
|
|
905
912
|
export function ${schematic.name}App() {
|
|
906
|
-
${data.supportMultipleLocales
|
|
913
|
+
${data.supportMultipleLocales && "const { i18n, t } = useLingui();"}
|
|
907
914
|
const { externalContexts } = use${schematic.name}Context();
|
|
908
915
|
const [activePath, setActivePath] = useSearchParam("${activePathSearchParam}");
|
|
909
|
-
${data.supportMultipleLocales
|
|
916
|
+
${data.supportMultipleLocales && "const [, setSearchLocale] = useSearchParam(LOCALE_SEARCH_PARAM, DEFAULT_LOCALE);"}
|
|
910
917
|
|
|
911
918
|
return (
|
|
912
919
|
<FormApp
|
|
@@ -921,8 +928,8 @@ function scaffoldAppComponentFile(schematic, data) {
|
|
|
921
928
|
formTitle="${capitalCase(schematic.name)}"
|
|
922
929
|
activePath={activePath}
|
|
923
930
|
onActivePathChange={setActivePath}
|
|
924
|
-
${scaffoldIssueMessages
|
|
925
|
-
defaultLocale={${
|
|
931
|
+
${scaffoldIssueMessages && `issueMessages={${constantCase(schematic.name)}_ISSUE_MESSAGES}`}
|
|
932
|
+
${!data.supportMultipleLocales && `defaultLocale={${defaultSourceLocaleVar}}`}
|
|
926
933
|
reportError={reportError}
|
|
927
934
|
debug={import.meta.env.DEV}
|
|
928
935
|
>
|
|
@@ -1022,7 +1029,8 @@ function scaffoldTopBar(schematic, data, annexesManager) {
|
|
|
1022
1029
|
name: "getAppMessages"
|
|
1023
1030
|
});
|
|
1024
1031
|
return code`
|
|
1025
|
-
<TopBar
|
|
1032
|
+
<TopBar>
|
|
1033
|
+
${annexesManager && `${annexesManager}\n`}
|
|
1026
1034
|
<TopBarActions>
|
|
1027
1035
|
<TopBarActionsSecondary>
|
|
1028
1036
|
<LoadAction
|
|
@@ -1035,16 +1043,16 @@ function scaffoldTopBar(schematic, data, annexesManager) {
|
|
|
1035
1043
|
mimeTypes={["${serializationMimeType}"]}
|
|
1036
1044
|
extensions={[".${serializationFormat}"]}
|
|
1037
1045
|
/>
|
|
1038
|
-
${data.supportMultipleLocales
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1046
|
+
${data.supportMultipleLocales && code`
|
|
1047
|
+
<ChangeLocaleAction
|
|
1048
|
+
locales={LOCALES}
|
|
1049
|
+
getLocalizationObject={getUiKFormLocale}
|
|
1050
|
+
onLocaleChange={async (locale) => {
|
|
1051
|
+
i18n.loadAndActivate({ locale, messages: await getAppMessages(locale) });
|
|
1052
|
+
setSearchLocale(locale, { clearDefaultValue: true });
|
|
1053
|
+
}}
|
|
1054
|
+
/>
|
|
1055
|
+
`}
|
|
1048
1056
|
<ValidateAction />
|
|
1049
1057
|
</TopBarActionsSecondary>
|
|
1050
1058
|
<SubmitAction
|
|
@@ -1063,7 +1071,8 @@ function scaffoldTopBar(schematic, data, annexesManager) {
|
|
|
1063
1071
|
}}
|
|
1064
1072
|
onSuccessfulSubmit={(redirectTo: string) => {
|
|
1065
1073
|
window.location.href = redirectTo;
|
|
1066
|
-
}}
|
|
1074
|
+
}}
|
|
1075
|
+
${data.useTableValuesSerializer && "convertExternalIssuesTableRowIndicesToIds"}
|
|
1067
1076
|
/>
|
|
1068
1077
|
</TopBarActions>
|
|
1069
1078
|
</TopBar>
|
|
@@ -1075,10 +1084,13 @@ function scaffoldAnnex(data, annex) {
|
|
|
1075
1084
|
name: "Annex"
|
|
1076
1085
|
});
|
|
1077
1086
|
const title = sentenceCase(annex.schematic.name);
|
|
1078
|
-
const
|
|
1079
|
-
|
|
1087
|
+
const props = [
|
|
1088
|
+
`path="${annex.data.currentPath}"`,
|
|
1089
|
+
data.supportMultipleLocales ? `title={t\`${title}\`}` : `title=${JSON.stringify(title)}`,
|
|
1090
|
+
annex.formPages.length === 1 && annex.schematic === annex.formPages[0].schematic && "documentTitle={null}"
|
|
1091
|
+
];
|
|
1080
1092
|
return code`
|
|
1081
|
-
<Annex
|
|
1093
|
+
<Annex ${props.filter(Boolean).join(" ")}>
|
|
1082
1094
|
${scaffoldFormPages(data, annex)}
|
|
1083
1095
|
</Annex>
|
|
1084
1096
|
`;
|
|
@@ -1094,7 +1106,7 @@ function scaffoldFormPages(data, annex) {
|
|
|
1094
1106
|
});
|
|
1095
1107
|
return code`
|
|
1096
1108
|
<FormPages>
|
|
1097
|
-
${annex.formPages.length > 1
|
|
1109
|
+
${annex.formPages.length > 1 && `<FormPagesNavigation />`}
|
|
1098
1110
|
${annex.formPages.map((formPage) => scaffoldFormPage(data, annex, formPage)).join("\n\n")}
|
|
1099
1111
|
</FormPages>
|
|
1100
1112
|
`;
|
|
@@ -1107,20 +1119,18 @@ function scaffoldFormPage(data, annex, formPage) {
|
|
|
1107
1119
|
moduleName: `./${joinPaths(formPage.data.currentDir.slice(data.currentDir.length + (data.currentDir.endsWith("/") ? 0 : 1)), formPage.schematic.name)}.tsx`,
|
|
1108
1120
|
name: formPage.schematic.name
|
|
1109
1121
|
});
|
|
1110
|
-
|
|
1122
|
+
const props = [];
|
|
1111
1123
|
if (shouldScaffoldIssueMessages(data) && formPage.data.currentPath !== "/") {
|
|
1112
1124
|
data.currentFile.imports.push({
|
|
1113
1125
|
moduleName: `./${joinPaths(formPage.data.currentDir.slice(data.currentDir.length + (data.currentDir.endsWith("/") ? 0 : 1)), formPage.schematic.name)}IssueMessages.tsx`,
|
|
1114
1126
|
name: `${constantCase(formPage.schematic.name)}_ISSUE_MESSAGES`
|
|
1115
1127
|
});
|
|
1116
|
-
|
|
1128
|
+
props.push(`issueMessages={${constantCase(formPage.schematic.name)}_ISSUE_MESSAGES}`);
|
|
1117
1129
|
}
|
|
1118
|
-
const pathProp = annex.schematic === formPage.schematic ? "" : ` path="${formPage.data.currentPath.slice(annex.data.currentPath.length + (annex.data.currentPath.endsWith("/") ? 0 : 1))}"`;
|
|
1119
1130
|
const title = sentenceCase(formPage.schematic.name);
|
|
1120
|
-
|
|
1121
|
-
const documentTitleProp = formPage.data.currentPath === "/" ? " documentTitle={null}" : "";
|
|
1131
|
+
props.push(annex.schematic === formPage.schematic && `path="${formPage.data.currentPath.slice(annex.data.currentPath.length + (annex.data.currentPath.endsWith("/") ? 0 : 1))}"`, data.supportMultipleLocales ? `title={t\`${title}\`}` : `title=${JSON.stringify(title)}`, `code="${formPage.schematic.name?.[0].toUpperCase()}"`, formPage.data.currentPath === "/" && "documentTitle={null}");
|
|
1122
1132
|
return code`
|
|
1123
|
-
<FormPage
|
|
1133
|
+
<FormPage ${props.filter(Boolean).join(" ")}>
|
|
1124
1134
|
<${formPage.schematic.name} />
|
|
1125
1135
|
</FormPage>
|
|
1126
1136
|
`;
|
|
@@ -1158,19 +1168,18 @@ var gradle_properties_default = "group=<%= gradlePropertiesGroup %>\nversion=0.0
|
|
|
1158
1168
|
// src/scaffolding/templates/gradle/gradle-daemon-jvm.properties.ejs?raw
|
|
1159
1169
|
var gradle_daemon_jvm_properties_default = "#This file is generated by updateDaemonJvm\ntoolchainUrl.FREE_BSD.AARCH64=https\\://api.foojay.io/disco/v3.0/ids/cb205e54cea236622eee3d62deb2c768/redirect\ntoolchainUrl.FREE_BSD.X86_64=https\\://api.foojay.io/disco/v3.0/ids/452acd2202c1005abda962c6dae7fc5f/redirect\ntoolchainUrl.LINUX.AARCH64=https\\://api.foojay.io/disco/v3.0/ids/cb205e54cea236622eee3d62deb2c768/redirect\ntoolchainUrl.LINUX.X86_64=https\\://api.foojay.io/disco/v3.0/ids/452acd2202c1005abda962c6dae7fc5f/redirect\ntoolchainUrl.MAC_OS.AARCH64=https\\://api.foojay.io/disco/v3.0/ids/faa59212208d027d066d1bbe337c5da5/redirect\ntoolchainUrl.MAC_OS.X86_64=https\\://api.foojay.io/disco/v3.0/ids/adf5b89d64773eff73f900e61dd2d632/redirect\ntoolchainUrl.UNIX.AARCH64=https\\://api.foojay.io/disco/v3.0/ids/cb205e54cea236622eee3d62deb2c768/redirect\ntoolchainUrl.UNIX.X86_64=https\\://api.foojay.io/disco/v3.0/ids/452acd2202c1005abda962c6dae7fc5f/redirect\ntoolchainUrl.WINDOWS.AARCH64=https\\://api.foojay.io/disco/v3.0/ids/e0e37f85a97c5f2df685b37b14a25072/redirect\ntoolchainUrl.WINDOWS.X86_64=https\\://api.foojay.io/disco/v3.0/ids/ccc3884e65cd85bb71a09d2223c77229/redirect\ntoolchainVersion=<%= jvmToolchainVersion %>\n";
|
|
1160
1170
|
// src/scaffolding/templates/gradle/libs.versions.toml.ejs?raw
|
|
1161
|
-
var libs_versions_toml_default = "[versions]\n# Plugins\nkotlin = \"
|
|
1171
|
+
var libs_versions_toml_default = "[versions]\n# Plugins\nkotlin = \"<%= dependencyVersions.kotlin %>\"\nnodeGradle = \"<%= dependencyVersions.nodeGradle %>\"\n# Libraries\nkform = \"<%= kFormVersion %>\"\nkotlinxCoroutines = \"<%= dependencyVersions.kotlinxCoroutines %>\"\n<%_ if (includeKotlinxDatetime) { -%>\nkotlinxDatetime = \"<%= dependencyVersions.kotlinxDatetime %>\"\n<%_ } -%>\n<%_ if (serializationFormat === \"json\") { -%>\nkotlinxSerialization = \"<%= dependencyVersions.kotlinxSerialization %>\"\n<%_ } -%>\n<%_ if (includeKtMath) { -%>\nktMath = \"<%= dependencyVersions.ktMath %>\"\n<%_ } -%>\nslf4j = \"<%= dependencyVersions.slf4j %>\"\n<%_ if (serializationFormat === \"xml\") { -%>\nxmlutil = \"<%= dependencyVersions.xmlutil %>\"\n<%_ } -%>\n<%_ if (includeKotlinxDatetime) { -%>\n# npm libraries\njsJodaTimezone = \"<%= dependencyVersions.jsJodaTimezone %>\"\n<%_ } -%>\n# Runtimes\njvmToolchain = \"<%= jvmToolchainVersion %>\"\nnodejs = \"<%= nodejsVersion %>\"\n\n[libraries]\nkform = { module = \"tech.ostack:kform\", version.ref = \"kform\" }\nkform-jsBindings = { module = \"tech.ostack:kform-js-bindings\", version.ref = \"kform\" }\nkform-test = { module = \"tech.ostack:kform-test\", version.ref = \"kform\" }\nkotlinxCoroutines-test = { module = \"org.jetbrains.kotlinx:kotlinx-coroutines-test\", version.ref = \"kotlinxCoroutines\" }\n<%_ if (includeKotlinxDatetime) { -%>\nkotlinxDatetime = { module = \"org.jetbrains.kotlinx:kotlinx-datetime\", version.ref = \"kotlinxDatetime\" }\n<%_ } -%>\n<%_ if (serializationFormat === \"json\") { -%>\nkotlinxSerialization-json = { module = \"org.jetbrains.kotlinx:kotlinx-serialization-json\", version.ref = \"kotlinxSerialization\" }\n<%_ } -%>\n<%_ if (includeKtMath) { -%>\nktMath = { module = \"io.github.gciatto:kt-math\", version.ref = \"ktMath\" }\n<%_ } -%>\nslf4j-simple = { module = \"org.slf4j:slf4j-simple\", version.ref = \"slf4j\" }\n<%_ if (serializationFormat === \"xml\") { -%>\nxmlutil-serialization = { module = \"io.github.pdvrieze.xmlutil:serialization\", version.ref = \"xmlutil\" }\n<%_ } -%>\n# `build-logic` plugins\nnodeGradle-plugin = { module = \"com.github.node-gradle:gradle-node-plugin\", version.ref = \"nodeGradle\" }\n\n[plugins]\nkotlin-multiplatform = { id = \"org.jetbrains.kotlin.multiplatform\", version.ref = \"kotlin\" }\nkotlin-serialization = { id = \"org.jetbrains.kotlin.plugin.serialization\", version.ref = \"kotlin\" }\n";
|
|
1162
1172
|
// src/scaffolding/templates/react-app/build.gradle.kts.ejs?raw
|
|
1163
|
-
var build_gradle_kts_default$1 = "import com.github.gradle.node.npm.task.NpmTask\n\nplugins {\n id(\"node-gradle-conventions\")\n base\n}\n\nval sharedPackage = project(\":shared\").file(\"build/<%= formId %>-shared-$version.tgz\")\n\nval npmInstallShared = tasks.register<NpmTask>(\"npmInstallShared\") {\n group = \"build\"\n dependsOn(\":shared:packJsPackage\")\n npmCommand = listOf(\"install\", \"<%= formId %>-shared@file:$sharedPackage\")\n\n inputs.file(sharedPackage)\n outputs.dir(\"node_modules/<%= formId %>-shared\")\n}\n\ntasks.npmInstall {\n dependsOn(npmInstallShared)\n}\n\ntasks.register<NpmTask>(\"npmRunDev\") {\n group = \"development\"\n dependsOn(tasks.npmInstall)\n npmCommand = listOf(\"run\", \"dev\")\n}\n\nprivate fun NpmTask.npmRunBuild(buildReason: String) {\n group = \"build\"\n dependsOn(tasks.npmInstall)\n npmCommand = listOf(\"run\", \"build\")\n environment = mapOf(\"VITE_BUILD_REASON\" to buildReason)\n\n inputs.dir(\"src\")\n inputs.file(sharedPackage)\n inputs.file(\"index.html\")\n inputs.file(\"package.json\")\n inputs.file(\"tsconfig.json\")\n inputs.file(\"tsconfig.app.json\")\n inputs.file(\"tsconfig.node.json\")\n inputs.file(\"vite.config.ts\")\n outputs.dir(\"build/dist\")\n}\n\nval npmRunBuild = tasks.register<NpmTask>(\"npmRunBuild\") {\n npmRunBuild(\"production\")\n}\n\nval npmRunBuildPreview = tasks.register<NpmTask>(\"npmRunBuildPreview\") {\n npmRunBuild(\"preview\")\n}\n\ntasks.register<NpmTask>(\"npmRunPreview\") {\n group = \"development\"\n dependsOn(npmRunBuildPreview)\n npmCommand = listOf(\"run\", \"preview\")\n}\n\nval npmRunLint = tasks.register<NpmTask>(\"npmRunLint\") {\n group = \"verification\"\n dependsOn(tasks.npmInstall)\n npmCommand = listOf(\"run\", \"lint\")\n\n inputs.dir(\"src\")\n inputs.file(\".oxlintrc.json\")\n inputs.file(\"package.json\")\n inputs.file(\"tsconfig.json\")\n inputs.file(\"tsconfig.app.json\")\n inputs.file(\"tsconfig.node.json\")\n outputs.upToDateWhen { true }\n}\n\n<%_ if (supportMultipleLocales) { -%>\nval npmRunI18nExtract = tasks.register<NpmTask>(\"npmRunI18nExtract\") {\n group = \"i18n\"\n dependsOn(tasks.npmInstall)\n npmCommand = listOf(\"run\", \"i18n:extract\")\n\n inputs.dir(\"src\")\n inputs.file(\"lingui.config.ts\")\n inputs.file(\"package.json\")\n outputs.dir(\"src/locales\")\n}\n<%_ } -%>\n\ntasks.assemble {\n <%_ if (supportMultipleLocales) { -%>\n dependsOn(npmRunI18nExtract, npmRunBuild)\n <%_ } else { -%>\n dependsOn(npmRunBuild)\n <%_ } -%>\n}\n\ntasks.check {\n dependsOn(npmRunLint)\n}\n";
|
|
1173
|
+
var build_gradle_kts_default$1 = "import com.github.gradle.node.npm.task.NpmTask\n\nplugins {\n id(\"node-gradle-conventions\")\n base\n}\n\nval sharedPackage = project(\":shared\").file(\"build/<%= formId %>-shared-$version.tgz\")\n\nval npmInstallShared = tasks.register<NpmTask>(\"npmInstallShared\") {\n group = \"build\"\n dependsOn(\":shared:packJsPackage\")\n npmCommand = listOf(\"install\", \"<%= formId %>-shared@file:$sharedPackage\")\n\n inputs.file(sharedPackage)\n outputs.dir(\"node_modules/<%= formId %>-shared\")\n}\n\ntasks.npmInstall {\n dependsOn(npmInstallShared)\n}\n\ntasks.register<NpmTask>(\"npmRunDev\") {\n group = \"development\"\n dependsOn(tasks.npmInstall)\n npmCommand = listOf(\"run\", \"dev\")\n}\n\nprivate fun NpmTask.npmRunBuild(buildReason: String) {\n group = \"build\"\n dependsOn(tasks.npmInstall)\n <%_ if (supportMultipleLocales) { -%>\n mustRunAfter(npmRunI18nExtract)\n <%_ } -%>\n npmCommand = listOf(\"run\", \"build\")\n environment = mapOf(\"VITE_BUILD_REASON\" to buildReason)\n\n inputs.dir(\"src\")\n inputs.file(sharedPackage)\n inputs.file(\"index.html\")\n inputs.file(\"package.json\")\n inputs.file(\"tsconfig.json\")\n inputs.file(\"tsconfig.app.json\")\n inputs.file(\"tsconfig.node.json\")\n inputs.file(\"vite.config.ts\")\n outputs.dir(\"build/dist\")\n}\n\nval npmRunBuild = tasks.register<NpmTask>(\"npmRunBuild\") {\n npmRunBuild(\"production\")\n}\n\nval npmRunBuildPreview = tasks.register<NpmTask>(\"npmRunBuildPreview\") {\n npmRunBuild(\"preview\")\n}\n\ntasks.register<NpmTask>(\"npmRunPreview\") {\n group = \"development\"\n dependsOn(npmRunBuildPreview)\n npmCommand = listOf(\"run\", \"preview\")\n}\n\nval npmRunLint = tasks.register<NpmTask>(\"npmRunLint\") {\n group = \"verification\"\n dependsOn(tasks.npmInstall)\n <%_ if (supportMultipleLocales) { -%>\n mustRunAfter(npmRunI18nExtract)\n <%_ } -%>\n npmCommand = listOf(\"run\", \"lint\")\n\n inputs.dir(\"src\")\n inputs.file(\".oxlintrc.json\")\n inputs.file(\"package.json\")\n inputs.file(\"tsconfig.json\")\n inputs.file(\"tsconfig.app.json\")\n inputs.file(\"tsconfig.node.json\")\n outputs.upToDateWhen { true }\n}\n\n<%_ if (supportMultipleLocales) { -%>\nval npmRunI18nExtract = tasks.register<NpmTask>(\"npmRunI18nExtract\") {\n group = \"i18n\"\n dependsOn(tasks.npmInstall)\n npmCommand = listOf(\"run\", \"i18n:extract\")\n\n inputs.dir(\"src\")\n inputs.file(\"lingui.config.ts\")\n inputs.file(\"package.json\")\n outputs.dir(\"src/locales\")\n}\n<%_ } -%>\n\ntasks.assemble {\n <%_ if (supportMultipleLocales) { -%>\n dependsOn(npmRunI18nExtract, npmRunBuild)\n <%_ } else { -%>\n dependsOn(npmRunBuild)\n <%_ } -%>\n}\n\ntasks.check {\n dependsOn(npmRunLint)\n}\n";
|
|
1164
1174
|
// src/scaffolding/templates/settings.gradle.kts.ejs?raw
|
|
1165
|
-
var settings_gradle_kts_default = "plugins {\n id(\"org.gradle.toolchains.foojay-resolver-convention\") version \"
|
|
1175
|
+
var settings_gradle_kts_default = "plugins {\n id(\"org.gradle.toolchains.foojay-resolver-convention\") version \"<%= dependencyVersions.foojayResolverConvention %>\"\n}\n\n@Suppress(\"UnstableApiUsage\")\ndependencyResolutionManagement {\n repositoriesMode = RepositoriesMode.FAIL_ON_PROJECT_REPOS\n repositories {\n mavenCentral()\n\n // Node.js download repository\n ivy {\n name = \"Node.js\"\n setUrl(\"https://nodejs.org/dist/\")\n patternLayout { artifact(\"v[revision]/[artifact](-v[revision]-[classifier]).[ext]\") }\n metadataSources { artifact() }\n content { includeModule(\"org.nodejs\", \"node\") }\n }\n }\n}\n\nincludeBuild(\"build-logic\")\ninclude(\"shared\", \"react-app\")\n\nrootProject.name = \"<%= formId %>\"\n";
|
|
1166
1176
|
// src/scaffolding/templates/shared/build.gradle.kts.ejs?raw
|
|
1167
1177
|
var build_gradle_kts_default = "import com.github.gradle.node.npm.task.NpmTask\nimport org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsEnvSpec\nimport org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsPlugin\n\nplugins {\n id(\"node-gradle-conventions\")\n alias(libs.plugins.kotlin.multiplatform)\n alias(libs.plugins.kotlin.serialization)\n}\n\n/** Configure Node.js used by Kotlin/JS. */\nplugins.withType<NodeJsPlugin> {\n configure<NodeJsEnvSpec> {\n downloadBaseUrl = null // Prevent repository declaration\n }\n}\n\nkotlin {\n jvmToolchain(libs.versions.jvmToolchain.get().toInt())\n jvm {\n testRuns[\"test\"].executionTask.configure { useJUnitPlatform() }\n }\n js {\n compilerOptions {\n target = \"es2015\"\n freeCompilerArgs.add(\"-Xes-long-as-bigint\")\n freeCompilerArgs.add(\"-Xwarning-level=NON_EXPORTABLE_TYPE:disabled\")\n }\n binaries.library()\n browser { testTask { useMocha() } }\n generateTypeScriptDefinitions()\n }\n compilerOptions {\n // Opt in to the experimental `JsExport` annotation\n optIn.add(\"kotlin.js.ExperimentalJsExport\")\n }\n\n sourceSets {\n commonMain.dependencies {\n api(libs.kform)\n <%_ if (includeKotlinxDatetime) { -%>\n api(libs.kotlinxDatetime)\n <%_ } -%>\n <%_ if (serializationFormat === \"json\") { -%>\n api(libs.kotlinxSerialization.json)\n <%_ } -%>\n <%_ if (includeKtMath) { -%>\n api(libs.ktMath)\n <%_ } -%>\n <%_ if (serializationFormat === \"xml\") { -%>\n api(libs.xmlutil.serialization)\n <%_ } -%>\n }\n commonTest.dependencies {\n implementation(kotlin(\"test\"))\n implementation(libs.kform.test)\n implementation(libs.kotlinxCoroutines.test)\n }\n jvmTest.dependencies {\n implementation(libs.slf4j.simple)\n }\n jsMain.dependencies {\n implementation(libs.kform.jsBindings)\n <%_ if (includeKotlinxDatetime) { -%>\n implementation(npm(\"@js-joda/timezone\", libs.versions.jsJodaTimezone.get()))\n <%_ } -%>\n }\n }\n}\n\n// Packs the result of the JS compilation, for consumption by the React app\ntasks.register<NpmTask>(\"packJsPackage\") {\n group = \"build\"\n dependsOn(\"jsBrowserProductionLibraryDistribution\")\n\n val libraryDir = \"build/dist/js/productionLibrary\"\n npmCommand = listOf(\"pack\", libraryDir, \"--pack-destination\", \"build\")\n\n inputs.dir(libraryDir)\n outputs.file(\"build/<%= formId %>-shared-$version.tgz\")\n}\n";
|
|
1168
1178
|
// src/scaffolding/templates/shared/src/jsMain/kotlin/JsJodaTimeZone.kt.ejs?raw
|
|
1169
1179
|
var JsJodaTimeZone_kt_default = "package <%= filePackage %>\n\n// See: https://github.com/Kotlin/kotlinx-datetime?tab=readme-ov-file#note-about-time-zones-in-js\n@JsModule(\"@js-joda/timezone\")\n@JsNonModule\nexternal object JsJodaTimeZoneModule\n\n@JsExport\nval jsJodaTz = JsJodaTimeZoneModule\n";
|
|
1170
1180
|
// src/scaffolding/scaffolders/scaffoldGradleProject.ts
|
|
1171
|
-
var DEFAULT_JVM_TOOLCHAIN_VERSION = "21";
|
|
1172
|
-
var DEFAULT_NODEJS_VERSION = "24.22.2";
|
|
1173
1181
|
function scaffoldGradleProject(schematic, data) {
|
|
1182
|
+
const dependencyVersions = JSON.parse("{\"kotlin\":\"2.4.21\",\"nodeGradle\":\"7.1.0\",\"kotlinxCoroutines\":\"1.11.0\",\"kotlinxDatetime\":\"0.8.0\",\"kotlinxSerialization\":\"1.12.0\",\"ktMath\":\"0.10.2\",\"slf4j\":\"2.0.20\",\"xmlutil\":\"0.91.1\",\"jsJodaTimezone\":\"2.23.0\",\"jvmToolchain\":\"21\",\"nodejs\":\"24.22.2\",\"foojayResolverConvention\":\"1.0.0\"}");
|
|
1174
1183
|
const ejsData = {
|
|
1175
1184
|
gradlePropertiesGroup: data.gradlePropertiesGroup ?? data.currentPackage,
|
|
1176
1185
|
filePackage: data.currentPackage,
|
|
@@ -1181,8 +1190,9 @@ function scaffoldGradleProject(schematic, data) {
|
|
|
1181
1190
|
serializationFormat: data.serializationFormat ?? "json",
|
|
1182
1191
|
includeKotlinxDatetime: data.includeKotlinxDatetime ?? usesKotlinxDatetime(schematic, data),
|
|
1183
1192
|
includeKtMath: data.includeKtMath ?? usesKtMath(schematic),
|
|
1184
|
-
|
|
1185
|
-
|
|
1193
|
+
dependencyVersions,
|
|
1194
|
+
jvmToolchainVersion: data.jvmToolchainVersion ?? dependencyVersions.jvmToolchain,
|
|
1195
|
+
nodejsVersion: data.nodejsVersion ?? dependencyVersions.nodejs
|
|
1186
1196
|
};
|
|
1187
1197
|
addEjsTemplateFile(data, "gradle.properties", gradle_properties_default, ejsData);
|
|
1188
1198
|
addEjsTemplateFile(data, "settings.gradle.kts", settings_gradle_kts_default, ejsData);
|
|
@@ -1225,9 +1235,10 @@ var i18n_ts_default = "import type { Messages } from \"@lingui/core\";\n\nexport
|
|
|
1225
1235
|
var DEFAULT_LOCALE_SEARCH_PARAM = "l";
|
|
1226
1236
|
function scaffoldI18n(_schematic, data) {
|
|
1227
1237
|
if (!data.supportMultipleLocales) return;
|
|
1228
|
-
const
|
|
1238
|
+
const sourceLocale = data.sourceLocale ?? "en-US";
|
|
1239
|
+
const locales = data.locales ?? [sourceLocale];
|
|
1229
1240
|
const ejsData = {
|
|
1230
|
-
sourceLocale
|
|
1241
|
+
sourceLocale,
|
|
1231
1242
|
locales,
|
|
1232
1243
|
localesJSON: `[${locales.map((l) => JSON.stringify(l)).join(", ")}]`,
|
|
1233
1244
|
localeSearchParam: data.localeSearchParam ?? "l"
|
|
@@ -1364,7 +1375,7 @@ var _oxlintrc_json_default = "{\n \"$schema\": \"./node_modules/oxlint/configur
|
|
|
1364
1375
|
// src/scaffolding/templates/react-app/index.html.ejs?raw
|
|
1365
1376
|
var index_html_default = "<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <link rel=\"icon\" type=\"image/svg+xml\" href=\"/favicon.svg\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n <title><%= formTitle %></title>\n <style>\n body {\n margin: 0;\n }\n </style>\n </head>\n <body>\n <div id=\"<%= formId %>-app-root\"></div>\n <script type=\"module\">\n import { renderRoot } from \"/src/main.tsx\";\n\n renderRoot(<%- encodedExternalContexts %>);\n <\/script>\n </body>\n</html>\n";
|
|
1366
1377
|
// src/scaffolding/templates/react-app/package.json.ejs?raw
|
|
1367
|
-
var package_json_default = "{\n \"name\": \"<%= formId %>-react-app\",\n \"private\": true,\n \"version\": \"0.0.0\",\n \"type\": \"module\",\n \"scripts\": {\n \"dev\": \"vite\",\n \"build\": \"tsc -b && vite build\",\n \"lint\": \"oxlint\",\n \"preview\": \"vite preview\"<%_ if (supportMultipleLocales) { -%>,\n \"i18n:extract\": \"lingui extract --clean\"\n <%_ } -%>\n },\n \"dependencies\": {\n \"@fortawesome/fontawesome-svg-core\": \"<%= dependencyVersions[\"@fortawesome/fontawesome-svg-core\"] %>\",\n \"@fortawesome/free-regular-svg-icons\": \"<%= dependencyVersions[\"@fortawesome/free-regular-svg-icons\"] %>\",\n \"@fortawesome/free-solid-svg-icons\": \"<%= dependencyVersions[\"@fortawesome/free-solid-svg-icons\"] %>\",\n <%_ if (supportMultipleLocales) { -%>\n \"@lingui/react\": \"
|
|
1378
|
+
var package_json_default = "{\n \"name\": \"<%= formId %>-react-app\",\n \"private\": true,\n \"version\": \"0.0.0\",\n \"type\": \"module\",\n \"scripts\": {\n \"dev\": \"vite\",\n \"build\": \"tsc -b && vite build\",\n \"lint\": \"oxlint\",\n \"preview\": \"vite preview\"<%_ if (supportMultipleLocales) { -%>,\n \"i18n:extract\": \"lingui extract --clean\"\n <%_ } -%>\n },\n \"dependencies\": {\n \"@fortawesome/fontawesome-svg-core\": \"<%= dependencyVersions[\"@fortawesome/fontawesome-svg-core\"] %>\",\n \"@fortawesome/free-regular-svg-icons\": \"<%= dependencyVersions[\"@fortawesome/free-regular-svg-icons\"] %>\",\n \"@fortawesome/free-solid-svg-icons\": \"<%= dependencyVersions[\"@fortawesome/free-solid-svg-icons\"] %>\",\n <%_ if (supportMultipleLocales) { -%>\n \"@lingui/react\": \"<%= dependencyVersions[\"@lingui/react\"] %>\",\n <%_ } -%>\n \"@ostack.tech/kform-react\": \"^<%= kFormVersion %>\",\n \"@ostack.tech/ui\": \"^<%= ostackUiVersion %>\",\n \"@ostack.tech/ui-kform\": \"^<%= ostackUiVersion %>\",\n \"date-fns\": \"<%= dependencyVersions[\"date-fns\"] %>\",\n \"<%= formId %>-shared\": \"file:../shared/build/<%= formId %>-shared-0.0.1.tgz\",\n \"react\": \"<%= dependencyVersions.react %>\",\n \"react-dom\": \"<%= dependencyVersions[\"react-dom\"] %>\"\n },\n \"devDependencies\": {\n <%_ if (useReactCompiler) { -%>\n \"@babel/core\": \"<%= dependencyVersions[\"@babel/core\"] %>\",\n <%_ } -%>\n <%_ if (supportMultipleLocales) { -%>\n \"@lingui/vite-plugin\": \"<%= dependencyVersions[\"@lingui/vite-plugin\"] %>\",\n <%_ } -%>\n <%_ if (useReactCompiler) { -%>\n \"@rolldown/plugin-babel\": \"<%= dependencyVersions[\"@rolldown/plugin-babel\"] %>\",\n <%_ } -%>\n \"@types/node\": \"<%= dependencyVersions[\"@types/node\"] %>\",\n \"@types/ostack.tech__kform\": \"npm:@ostack.tech/kform@^<%= kFormVersion %>\",\n \"@types/react\": \"<%= dependencyVersions[\"@types/react\"] %>\",\n \"@types/react-dom\": \"<%= dependencyVersions[\"@types/react-dom\"] %>\",\n \"@vitejs/plugin-react\": \"<%= dependencyVersions[\"@vitejs/plugin-react\"] %>\",\n <%_ if (useReactCompiler) { -%>\n \"babel-plugin-react-compiler\": \"<%= dependencyVersions[\"babel-plugin-react-compiler\"] %>\",\n <%_ } -%>\n <%_ if (supportMultipleLocales) { -%>\n \"eslint-plugin-lingui\": \"<%= dependencyVersions[\"eslint-plugin-lingui\"] %>\",\n <%_ } -%>\n \"oxlint\": \"<%= dependencyVersions.oxlint %>\",\n \"oxlint-tsgolint\": \"<%= dependencyVersions[\"oxlint-tsgolint\"] %>\",\n \"sass-embedded\": \"<%= dependencyVersions[\"sass-embedded\"] %>\",\n \"typescript\": \"<%= dependencyVersions.typescript %>\",\n \"vite\": \"<%= dependencyVersions.vite %>\"\n }\n}\n";
|
|
1368
1379
|
// src/scaffolding/templates/react-app/public/favicon.svg?raw
|
|
1369
1380
|
var favicon_default = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"48\" height=\"46\" fill=\"none\" viewBox=\"0 0 48 46\"><path fill=\"#863bff\" d=\"M25.946 44.938c-.664.845-2.021.375-2.021-.698V33.937a2.26 2.26 0 0 0-2.262-2.262H10.287c-.92 0-1.456-1.04-.92-1.788l7.48-10.471c1.07-1.497 0-3.578-1.842-3.578H1.237c-.92 0-1.456-1.04-.92-1.788L10.013.474c.214-.297.556-.474.92-.474h28.894c.92 0 1.456 1.04.92 1.788l-7.48 10.471c-1.07 1.498 0 3.579 1.842 3.579h11.377c.943 0 1.473 1.088.89 1.83L25.947 44.94z\" style=\"fill:#863bff;fill:color(display-p3 .5252 .23 1);fill-opacity:1\"/><mask id=\"a\" width=\"48\" height=\"46\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\" style=\"mask-type:alpha\"><path fill=\"#000\" d=\"M25.842 44.938c-.664.844-2.021.375-2.021-.698V33.937a2.26 2.26 0 0 0-2.262-2.262H10.183c-.92 0-1.456-1.04-.92-1.788l7.48-10.471c1.07-1.498 0-3.579-1.842-3.579H1.133c-.92 0-1.456-1.04-.92-1.787L9.91.473c.214-.297.556-.474.92-.474h28.894c.92 0 1.456 1.04.92 1.788l-7.48 10.471c-1.07 1.498 0 3.578 1.842 3.578h11.377c.943 0 1.473 1.088.89 1.832L25.843 44.94z\" style=\"fill:#000;fill-opacity:1\"/></mask><g mask=\"url(#a)\"><g filter=\"url(#b)\"><ellipse cx=\"5.508\" cy=\"14.704\" fill=\"#ede6ff\" rx=\"5.508\" ry=\"14.704\" style=\"fill:#ede6ff;fill:color(display-p3 .9275 .9033 1);fill-opacity:1\" transform=\"matrix(.00324 1 1 -.00324 -4.47 31.516)\"/></g><g filter=\"url(#c)\"><ellipse cx=\"10.399\" cy=\"29.851\" fill=\"#ede6ff\" rx=\"10.399\" ry=\"29.851\" style=\"fill:#ede6ff;fill:color(display-p3 .9275 .9033 1);fill-opacity:1\" transform=\"matrix(.00324 1 1 -.00324 -39.328 7.883)\"/></g><g filter=\"url(#d)\"><ellipse cx=\"5.508\" cy=\"30.487\" fill=\"#7e14ff\" rx=\"5.508\" ry=\"30.487\" style=\"fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1\" transform=\"rotate(89.814 -25.913 -14.639)scale(1 -1)\"/></g><g filter=\"url(#e)\"><ellipse cx=\"5.508\" cy=\"30.599\" fill=\"#7e14ff\" rx=\"5.508\" ry=\"30.599\" style=\"fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1\" transform=\"rotate(89.814 -32.644 -3.334)scale(1 -1)\"/></g><g filter=\"url(#f)\"><ellipse cx=\"5.508\" cy=\"30.599\" fill=\"#7e14ff\" rx=\"5.508\" ry=\"30.599\" style=\"fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1\" transform=\"matrix(.00324 1 1 -.00324 -34.34 30.47)\"/></g><g filter=\"url(#g)\"><ellipse cx=\"14.072\" cy=\"22.078\" fill=\"#ede6ff\" rx=\"14.072\" ry=\"22.078\" style=\"fill:#ede6ff;fill:color(display-p3 .9275 .9033 1);fill-opacity:1\" transform=\"rotate(93.35 24.506 48.493)scale(-1 1)\"/></g><g filter=\"url(#h)\"><ellipse cx=\"3.47\" cy=\"21.501\" fill=\"#7e14ff\" rx=\"3.47\" ry=\"21.501\" style=\"fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1\" transform=\"rotate(89.009 28.708 47.59)scale(-1 1)\"/></g><g filter=\"url(#i)\"><ellipse cx=\"3.47\" cy=\"21.501\" fill=\"#7e14ff\" rx=\"3.47\" ry=\"21.501\" style=\"fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1\" transform=\"rotate(89.009 28.708 47.59)scale(-1 1)\"/></g><g filter=\"url(#j)\"><ellipse cx=\".387\" cy=\"8.972\" fill=\"#7e14ff\" rx=\"4.407\" ry=\"29.108\" style=\"fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1\" transform=\"rotate(39.51 .387 8.972)\"/></g><g filter=\"url(#k)\"><ellipse cx=\"47.523\" cy=\"-6.092\" fill=\"#7e14ff\" rx=\"4.407\" ry=\"29.108\" style=\"fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1\" transform=\"rotate(37.892 47.523 -6.092)\"/></g><g filter=\"url(#l)\"><ellipse cx=\"41.412\" cy=\"6.333\" fill=\"#47bfff\" rx=\"5.971\" ry=\"9.665\" style=\"fill:#47bfff;fill:color(display-p3 .2799 .748 1);fill-opacity:1\" transform=\"rotate(37.892 41.412 6.333)\"/></g><g filter=\"url(#m)\"><ellipse cx=\"-1.879\" cy=\"38.332\" fill=\"#7e14ff\" rx=\"4.407\" ry=\"29.108\" style=\"fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1\" transform=\"rotate(37.892 -1.88 38.332)\"/></g><g filter=\"url(#n)\"><ellipse cx=\"-1.879\" cy=\"38.332\" fill=\"#7e14ff\" rx=\"4.407\" ry=\"29.108\" style=\"fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1\" transform=\"rotate(37.892 -1.88 38.332)\"/></g><g filter=\"url(#o)\"><ellipse cx=\"35.651\" cy=\"29.907\" fill=\"#7e14ff\" rx=\"4.407\" ry=\"29.108\" style=\"fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1\" transform=\"rotate(37.892 35.651 29.907)\"/></g><g filter=\"url(#p)\"><ellipse cx=\"38.418\" cy=\"32.4\" fill=\"#47bfff\" rx=\"5.971\" ry=\"15.297\" style=\"fill:#47bfff;fill:color(display-p3 .2799 .748 1);fill-opacity:1\" transform=\"rotate(37.892 38.418 32.4)\"/></g></g><defs><filter id=\"b\" width=\"60.045\" height=\"41.654\" x=\"-19.77\" y=\"16.149\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feBlend in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/><feGaussianBlur result=\"effect1_foregroundBlur_2002_17158\" stdDeviation=\"7.659\"/></filter><filter id=\"c\" width=\"90.34\" height=\"51.437\" x=\"-54.613\" y=\"-7.533\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feBlend in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/><feGaussianBlur result=\"effect1_foregroundBlur_2002_17158\" stdDeviation=\"7.659\"/></filter><filter id=\"d\" width=\"79.355\" height=\"29.4\" x=\"-49.64\" y=\"2.03\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feBlend in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/><feGaussianBlur result=\"effect1_foregroundBlur_2002_17158\" stdDeviation=\"4.596\"/></filter><filter id=\"e\" width=\"79.579\" height=\"29.4\" x=\"-45.045\" y=\"20.029\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feBlend in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/><feGaussianBlur result=\"effect1_foregroundBlur_2002_17158\" stdDeviation=\"4.596\"/></filter><filter id=\"f\" width=\"79.579\" height=\"29.4\" x=\"-43.513\" y=\"21.178\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feBlend in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/><feGaussianBlur result=\"effect1_foregroundBlur_2002_17158\" stdDeviation=\"4.596\"/></filter><filter id=\"g\" width=\"74.749\" height=\"58.852\" x=\"15.756\" y=\"-17.901\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feBlend in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/><feGaussianBlur result=\"effect1_foregroundBlur_2002_17158\" stdDeviation=\"7.659\"/></filter><filter id=\"h\" width=\"61.377\" height=\"25.362\" x=\"23.548\" y=\"2.284\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feBlend in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/><feGaussianBlur result=\"effect1_foregroundBlur_2002_17158\" stdDeviation=\"4.596\"/></filter><filter id=\"i\" width=\"61.377\" height=\"25.362\" x=\"23.548\" y=\"2.284\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feBlend in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/><feGaussianBlur result=\"effect1_foregroundBlur_2002_17158\" stdDeviation=\"4.596\"/></filter><filter id=\"j\" width=\"56.045\" height=\"63.649\" x=\"-27.636\" y=\"-22.853\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feBlend in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/><feGaussianBlur result=\"effect1_foregroundBlur_2002_17158\" stdDeviation=\"4.596\"/></filter><filter id=\"k\" width=\"54.814\" height=\"64.646\" x=\"20.116\" y=\"-38.415\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feBlend in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/><feGaussianBlur result=\"effect1_foregroundBlur_2002_17158\" stdDeviation=\"4.596\"/></filter><filter id=\"l\" width=\"33.541\" height=\"35.313\" x=\"24.641\" y=\"-11.323\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feBlend in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/><feGaussianBlur result=\"effect1_foregroundBlur_2002_17158\" stdDeviation=\"4.596\"/></filter><filter id=\"m\" width=\"54.814\" height=\"64.646\" x=\"-29.286\" y=\"6.009\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feBlend in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/><feGaussianBlur result=\"effect1_foregroundBlur_2002_17158\" stdDeviation=\"4.596\"/></filter><filter id=\"n\" width=\"54.814\" height=\"64.646\" x=\"-29.286\" y=\"6.009\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feBlend in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/><feGaussianBlur result=\"effect1_foregroundBlur_2002_17158\" stdDeviation=\"4.596\"/></filter><filter id=\"o\" width=\"54.814\" height=\"64.646\" x=\"8.244\" y=\"-2.416\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feBlend in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/><feGaussianBlur result=\"effect1_foregroundBlur_2002_17158\" stdDeviation=\"4.596\"/></filter><filter id=\"p\" width=\"39.409\" height=\"43.623\" x=\"18.713\" y=\"10.588\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feBlend in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/><feGaussianBlur result=\"effect1_foregroundBlur_2002_17158\" stdDeviation=\"4.596\"/></filter></defs></svg>";
|
|
1370
1381
|
// src/scaffolding/templates/react-app/tsconfig.app.json?raw
|
|
@@ -1374,7 +1385,7 @@ var tsconfig_default = "{\n \"files\": [],\n \"references\": [{ \"path\": \"./
|
|
|
1374
1385
|
// src/scaffolding/templates/react-app/tsconfig.node.json?raw
|
|
1375
1386
|
var tsconfig_node_default = "{\n \"compilerOptions\": {\n \"tsBuildInfoFile\": \"./node_modules/.tmp/tsconfig.node.tsbuildinfo\",\n \"target\": \"es2023\",\n \"lib\": [\"ES2023\"],\n \"types\": [\"node\"],\n \"skipLibCheck\": true,\n\n /* Bundler mode */\n \"module\": \"nodenext\",\n \"allowImportingTsExtensions\": true,\n \"verbatimModuleSyntax\": true,\n \"moduleDetection\": \"force\",\n \"noEmit\": true,\n\n /* Linting */\n \"noUnusedLocals\": true,\n \"noUnusedParameters\": true,\n \"erasableSyntaxOnly\": true,\n \"noFallthroughCasesInSwitch\": true\n },\n \"include\": [\"vite.config.ts\"]\n}\n";
|
|
1376
1387
|
// src/scaffolding/templates/react-app/vite.config.ts.ejs?raw
|
|
1377
|
-
var vite_config_ts_default = "import { resolve } from \"node:path\";\n\n<%_ if (supportMultipleLocales) { -%>\nimport { lingui
|
|
1388
|
+
var vite_config_ts_default = "import { resolve } from \"node:path\";\n\n<%_ if (supportMultipleLocales) { -%>\nimport { lingui } from \"@lingui/vite-plugin\";\n<%_ } -%>\n<%_ if (useReactCompiler) { -%>\nimport babel from \"@rolldown/plugin-babel\";\nimport react, { reactCompilerPreset } from \"@vitejs/plugin-react\";\n<%_ } else { -%>\nimport react from \"@vitejs/plugin-react\";\n<%_ } -%>\nimport { defineConfig } from \"vite\";\n\n// https://vite.dev/config/\n<%_ if (supportMultipleLocales) { -%>\nexport default defineConfig(({ mode }) => ({\n<%_ } else { -%>\nexport default defineConfig({\n<%_ } -%>\n plugins: [\n react(),\n <%_ if (supportMultipleLocales) { -%>\n lingui({ macroTransform: true, failOnMissing: mode === \"production\" }),\n <%_ } -%>\n <%_ if (useReactCompiler) { -%>\n babel({ presets: [reactCompilerPreset()] }),\n <%_ } -%>\n ],\n build: {\n outDir: \"<%= viteConfigOutDir %>\",\n rolldownOptions: {\n preserveEntrySignatures: \"exports-only\",\n input: {\n \"<%= formId %>-app\":\n process.env.VITE_BUILD_REASON === \"preview\" ? \"index.html\" : \"src/main.tsx\",\n },\n output: {\n // Output files without hashes, making it easier to serve them in the server. However, the\n // server is expected to somehow \"version\" them for cache busting purposes.\n entryFileNames: \"assets/[name].js\",\n chunkFileNames: \"assets/[name].js\",\n assetFileNames: \"assets/[name].[ext]\",\n },\n },\n },\n resolve: {\n alias: {\n // Due to how Kotlin \"bundles\" dependencies, we need to use the `@ostack.tech/kform` produced\n // by the shared module.\n \"@ostack.tech/kform\": resolve(\n import.meta.dirname,\n \"node_modules/<%= formId %>-shared/ostack-kform.mjs\",\n ),\n },\n },\n server: {\n proxy: { \"<%= apiBasePath %>\": \"<%= viteConfigProxyTarget %>\" },\n },\n<%_ if (supportMultipleLocales) { -%>\n}));\n<%_ } else { -%>\n});\n<%_ } -%>\n";
|
|
1378
1389
|
// src/scaffolding/scaffolders/scaffoldViteProject.ts
|
|
1379
1390
|
var DEFAULT_VITE_CONFIG_OUT_DIR = "build/dist/";
|
|
1380
1391
|
var DEFAULT_VITE_CONFIG_PROXY_TARGET = "http://127.0.0.1:8080/";
|
|
@@ -1385,9 +1396,9 @@ function scaffoldViteProject(schematic, data) {
|
|
|
1385
1396
|
formTitle: capitalCase(schematic.name),
|
|
1386
1397
|
supportMultipleLocales: data.supportMultipleLocales,
|
|
1387
1398
|
useReactCompiler: data.useReactCompiler,
|
|
1388
|
-
ostackUiVersion: "1.3.0
|
|
1399
|
+
ostackUiVersion: "1.3.0",
|
|
1389
1400
|
kFormVersion: "1.2.1",
|
|
1390
|
-
dependencyVersions: JSON.parse("{\"@fortawesome/fontawesome-svg-core\":\"^7.3.1\",\"@fortawesome/free-brands-svg-icons\":\"^7.3.1\",\"@fortawesome/free-regular-svg-icons\":\"^7.3.1\",\"@fortawesome/free-solid-svg-icons\":\"^7.3.1\",\"@ostack.tech/kform\":\"^1.2.1\",\"@ostack.tech/kform-react\":\"^1.2.1\",\"@ostack.tech/kform-scaffolder\":\"^1.2.1\",\"@storybook/addon-a11y\":\"^10.6.5\",\"@storybook/addon-docs\":\"^10.6.5\",\"@storybook/addon-links\":\"^10.6.5\",\"@storybook/react-vite\":\"^10.6.5\",\"@testing-library/react\":\"^16.3.3\",\"@types/node\":\"^24.19.2\",\"@types/react\":\"^19.3.0\",\"@types/react-dom\":\"^19.3.0\",\"@vitejs/plugin-react\":\"^6.2.1\",\"change-case\":\"^5.4.4\",\"cpy-cli\":\"^7.0.0\",\"date-fns\":\"^4.4.0\",\"happy-dom\":\"^21.0.4\",\"lint-staged\":\"^17.6.0\",\"oxc-transform-react\":\"^0.157.0\",\"oxfmt\":\"^0.76.0\",\"oxlint\":\"^1.91.0\",\"oxlint-tsgolint\":\"^7.0.2005\",\"prettier\":\"^3.9.10\",\"react\":\"^19.3.1\",\"react-dom\":\"^19.3.1\",\"refractor\":\"^5.0.0\",\"rimraf\":\"^6.1.3\",\"sass-embedded\":\"^1.107.1\",\"simple-git-hooks\":\"^2.14.0\",\"storybook\":\"^10.6.5\",\"terser\":\"^5.51.2\",\"typescript\":\"~6.0.3\",\"vite\":\"^8.3.5\",\"vitest\":\"^5.1.0\",\"write-excel-file\":\"^4.1.1\",\"zod\":\"^4.6.7\",\"zustand\":\"^5.0.16\"}"),
|
|
1401
|
+
dependencyVersions: JSON.parse("{\"@fortawesome/fontawesome-svg-core\":\"^7.3.1\",\"@fortawesome/free-brands-svg-icons\":\"^7.3.1\",\"@fortawesome/free-regular-svg-icons\":\"^7.3.1\",\"@fortawesome/free-solid-svg-icons\":\"^7.3.1\",\"@ostack.tech/kform\":\"^1.2.1\",\"@ostack.tech/kform-react\":\"^1.2.1\",\"@ostack.tech/kform-scaffolder\":\"^1.2.1\",\"@storybook/addon-a11y\":\"^10.6.5\",\"@storybook/addon-docs\":\"^10.6.5\",\"@storybook/addon-links\":\"^10.6.5\",\"@storybook/react-vite\":\"^10.6.5\",\"@testing-library/react\":\"^16.3.3\",\"@types/node\":\"^24.19.2\",\"@types/react\":\"^19.3.0\",\"@types/react-dom\":\"^19.3.0\",\"@vitejs/plugin-react\":\"^6.2.1\",\"change-case\":\"^5.4.4\",\"cpy-cli\":\"^7.0.0\",\"date-fns\":\"^4.4.0\",\"happy-dom\":\"^21.0.4\",\"lint-staged\":\"^17.6.0\",\"oxc-transform-react\":\"^0.157.0\",\"oxfmt\":\"^0.76.0\",\"oxlint\":\"^1.91.0\",\"oxlint-tsgolint\":\"^7.0.2005\",\"playwright\":\"^1.64.1\",\"prettier\":\"^3.9.10\",\"react\":\"^19.3.1\",\"react-dom\":\"^19.3.1\",\"refractor\":\"^5.0.0\",\"rimraf\":\"^6.1.3\",\"sass-embedded\":\"^1.107.1\",\"simple-git-hooks\":\"^2.14.0\",\"storybook\":\"^10.6.5\",\"terser\":\"^5.51.2\",\"typescript\":\"~6.0.3\",\"vite\":\"^8.3.5\",\"vitest\":\"^5.1.0\",\"write-excel-file\":\"^4.1.1\",\"zod\":\"^4.6.7\",\"zustand\":\"^5.0.16\",\"@babel/core\":\"^7.29.7\",\"@lingui/react\":\"^6.12.0\",\"@lingui/vite-plugin\":\"^6.12.0\",\"@rolldown/plugin-babel\":\"^0.3.0\",\"babel-plugin-react-compiler\":\"^1.0.0\",\"eslint-plugin-lingui\":\"^0.16.0\"}"),
|
|
1391
1402
|
encodedExternalContexts: JSON.stringify(data.serializationFormat === "json" ? "{}" : `<${schematic.name}ExternalContexts />`),
|
|
1392
1403
|
apiBasePath: data.apiBasePath ?? "/api/",
|
|
1393
1404
|
viteConfigOutDir: data.viteConfigOutDir ?? "build/dist/",
|
|
@@ -1406,7 +1417,7 @@ function scaffoldViteProject(schematic, data) {
|
|
|
1406
1417
|
var KOTLIN_MAIN_DATA = { currentDir: "shared/src/commonMain/kotlin" };
|
|
1407
1418
|
var KOTLIN_TEST_DATA = { currentDir: "shared/src/commonTest/kotlin" };
|
|
1408
1419
|
var REACT_APP_DATA = { currentDir: "react-app/src" };
|
|
1409
|
-
var DEFAULT_APP_VERSION = "1.3.0
|
|
1420
|
+
var DEFAULT_APP_VERSION = "1.3.0";
|
|
1410
1421
|
var DEFAULT_SCAFFOLDERS = [
|
|
1411
1422
|
scaffoldProjectMisc,
|
|
1412
1423
|
scaffoldGradleWrapper,
|
|
@@ -1493,6 +1504,6 @@ function SchematicBuilder(t0) {
|
|
|
1493
1504
|
} else t7 = $[15];
|
|
1494
1505
|
return t7;
|
|
1495
1506
|
}
|
|
1496
|
-
export { DEFAULT_ACTIVE_PATH_SEARCH_PARAM, DEFAULT_API_BASE_PATH, DEFAULT_INCLUDE_SERIALIZATION_FORMAT_VERSION,
|
|
1507
|
+
export { DEFAULT_ACTIVE_PATH_SEARCH_PARAM, DEFAULT_API_BASE_PATH, DEFAULT_INCLUDE_SERIALIZATION_FORMAT_VERSION, DEFAULT_LOCALE_SEARCH_PARAM, DEFAULT_REPORT_ERROR_API_ENDPOINT, DEFAULT_SERIALIZATION_FORMAT, DEFAULT_SOURCE_LOCALE, DEFAULT_SUBMIT_API_ENDPOINT, DEFAULT_SUPPORT_MULTIPLE_LOCALES, DEFAULT_VITE_CONFIG_OUT_DIR, DEFAULT_VITE_CONFIG_PROXY_TARGET, LOCALES, LocaleConfig, SchematicBuilder, SerializationFormatConfig, UseReactCompilerConfig, UseTableValuesSerializerConfig, anySchematicKind, bigDecimalSchematicKind, bigIntegerSchematicKind, booleanSchematicKind, byteSchematicKind, classAnnexSchematicKind, classFormPageSchematicKind, classSchematicKind, defaultSchematicKinds, doubleSchematicKind, enumRadioGroupSchematicKind, enumSchematicKind, enumSelectSchematicKind, fileSchematicKind, floatSchematicKind, intSchematicKind, listCheckboxGroupSchematicKind, listSelectMultipleSchematicKind, localDateSchematicKind, longSchematicKind, reactAppLayout, scaffoldApi, scaffoldAppComponent, scaffoldAppContext, scaffoldAppLayout, scaffoldExternalContexts, scaffoldField, scaffoldGradleProject, scaffoldGradleWrapper, scaffoldI18n, scaffoldIssueMessages, scaffoldMain, scaffoldPageComponents, scaffoldProjectMisc, scaffoldResponses, scaffoldSerializer, scaffoldStyles, scaffoldViteProject, shortSchematicKind, shouldScaffoldIssueMessages, stringSchematicKind, tableAnnexesSchematicKind, tableSchematicKind, transify };
|
|
1497
1508
|
|
|
1498
1509
|
//# sourceMappingURL=ostack-ui-kform-scaffolder.js.map
|