ide-assi 0.189.0 → 0.191.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/bundle.cjs.js +6 -5
- package/dist/bundle.esm.js +6 -5
- package/dist/components/ideAi.js +6 -5
- package/package.json +1 -1
- package/src/components/ideAi.js +6 -5
package/dist/bundle.cjs.js
CHANGED
|
@@ -193600,13 +193600,14 @@ class IdeAi
|
|
|
193600
193600
|
throw new Error(o);
|
|
193601
193601
|
}
|
|
193602
193602
|
|
|
193603
|
+
|
|
193603
193604
|
//aaaBbb.cccDdd
|
|
193604
|
-
IdeUtils.transformPath(o.menu.url);
|
|
193605
|
-
const packageName = `${this.#parent.config.
|
|
193606
|
-
const namespace =
|
|
193607
|
-
const fileName = IdeUtils.toCamelCase(
|
|
193605
|
+
const path = o.menu.url.replace(/^\/+/, '');//IdeUtils.transformPath(o.menu.url);
|
|
193606
|
+
const packageName = `${this.#parent.config.basePackage}.${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
|
|
193607
|
+
const namespace = path.split("/").slice(0, -1).join(".").toLowerCase();
|
|
193608
|
+
const fileName = IdeUtils.toCamelCase(path.split("/").at(-1)).toLowerCase().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
|
|
193608
193609
|
|
|
193609
|
-
console.log(this.#parent.config
|
|
193610
|
+
console.log(this.#parent, this.#parent.config, packageName, namespace, fileName);
|
|
193610
193611
|
|
|
193611
193612
|
o.source = {
|
|
193612
193613
|
controller: `/src/main/java/${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
|
package/dist/bundle.esm.js
CHANGED
|
@@ -193596,13 +193596,14 @@ class IdeAi
|
|
|
193596
193596
|
throw new Error(o);
|
|
193597
193597
|
}
|
|
193598
193598
|
|
|
193599
|
+
|
|
193599
193600
|
//aaaBbb.cccDdd
|
|
193600
|
-
IdeUtils.transformPath(o.menu.url);
|
|
193601
|
-
const packageName = `${this.#parent.config.
|
|
193602
|
-
const namespace =
|
|
193603
|
-
const fileName = IdeUtils.toCamelCase(
|
|
193601
|
+
const path = o.menu.url.replace(/^\/+/, '');//IdeUtils.transformPath(o.menu.url);
|
|
193602
|
+
const packageName = `${this.#parent.config.basePackage}.${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
|
|
193603
|
+
const namespace = path.split("/").slice(0, -1).join(".").toLowerCase();
|
|
193604
|
+
const fileName = IdeUtils.toCamelCase(path.split("/").at(-1)).toLowerCase().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
|
|
193604
193605
|
|
|
193605
|
-
console.log(this.#parent.config
|
|
193606
|
+
console.log(this.#parent, this.#parent.config, packageName, namespace, fileName);
|
|
193606
193607
|
|
|
193607
193608
|
o.source = {
|
|
193608
193609
|
controller: `/src/main/java/${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
|
package/dist/components/ideAi.js
CHANGED
|
@@ -224,13 +224,14 @@ export class IdeAi
|
|
|
224
224
|
throw new Error(o);
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
+
|
|
227
228
|
//aaaBbb.cccDdd
|
|
228
|
-
const path = IdeUtils.transformPath(o.menu.url);
|
|
229
|
-
const packageName = `${this.#parent.config.
|
|
230
|
-
const namespace =
|
|
231
|
-
const fileName = IdeUtils.toCamelCase(
|
|
229
|
+
const path = o.menu.url.replace(/^\/+/, '');//IdeUtils.transformPath(o.menu.url);
|
|
230
|
+
const packageName = `${this.#parent.config.basePackage}.${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
|
|
231
|
+
const namespace = path.split("/").slice(0, -1).join(".").toLowerCase();
|
|
232
|
+
const fileName = IdeUtils.toCamelCase(path.split("/").at(-1)).toLowerCase().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
|
|
232
233
|
|
|
233
|
-
console.log(this.#parent.config
|
|
234
|
+
console.log(this.#parent, this.#parent.config, packageName, namespace, fileName);
|
|
234
235
|
|
|
235
236
|
o.source = {
|
|
236
237
|
controller: `/src/main/java/${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
|
package/package.json
CHANGED
package/src/components/ideAi.js
CHANGED
|
@@ -224,13 +224,14 @@ export class IdeAi
|
|
|
224
224
|
throw new Error(o);
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
+
|
|
227
228
|
//aaaBbb.cccDdd
|
|
228
|
-
const path = IdeUtils.transformPath(o.menu.url);
|
|
229
|
-
const packageName = `${this.#parent.config.
|
|
230
|
-
const namespace =
|
|
231
|
-
const fileName = IdeUtils.toCamelCase(
|
|
229
|
+
const path = o.menu.url.replace(/^\/+/, '');//IdeUtils.transformPath(o.menu.url);
|
|
230
|
+
const packageName = `${this.#parent.config.basePackage}.${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
|
|
231
|
+
const namespace = path.split("/").slice(0, -1).join(".").toLowerCase();
|
|
232
|
+
const fileName = IdeUtils.toCamelCase(path.split("/").at(-1)).toLowerCase().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
|
|
232
233
|
|
|
233
|
-
console.log(this.#parent.config
|
|
234
|
+
console.log(this.#parent, this.#parent.config, packageName, namespace, fileName);
|
|
234
235
|
|
|
235
236
|
o.source = {
|
|
236
237
|
controller: `/src/main/java/${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
|