ide-assi 0.195.0 → 0.196.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
CHANGED
|
@@ -193345,14 +193345,15 @@ class IdeUtils
|
|
|
193345
193345
|
static getSourcePath = (menuUrl) => {
|
|
193346
193346
|
const path = menuUrl.replace(/^\/+/, '');
|
|
193347
193347
|
|
|
193348
|
-
const packageName = `${this.#parent.config.basePackage}.${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
|
|
193348
|
+
//const packageName = `${this.#parent.config.basePackage}.${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
|
|
193349
|
+
const packageName = `${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
|
|
193349
193350
|
const namespace = path.split("/").slice(0, -1).join(".").toLowerCase();
|
|
193350
193351
|
const fileName = path.split("/").at(-1).toLowerCase().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
|
|
193351
193352
|
|
|
193352
193353
|
//console.log(this.#parent, this.#parent.config, packageName, namespace, fileName);
|
|
193353
193354
|
|
|
193354
193355
|
return {
|
|
193355
|
-
|
|
193356
|
+
package: packageName,
|
|
193356
193357
|
namespace: namespace,
|
|
193357
193358
|
controller: `${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
|
|
193358
193359
|
service: `${packageName.replaceAll(".", "/")}/service/${fileName}Service.java`,
|
|
@@ -193724,7 +193725,9 @@ class IdeAi
|
|
|
193724
193725
|
|
|
193725
193726
|
console.log(where);
|
|
193726
193727
|
|
|
193728
|
+
//packageName
|
|
193727
193729
|
const srcPath = IdeUtils.getSourcePath(where.menu.url);
|
|
193730
|
+
srcPath.package = this.#parent.config.basePackage + "." + srcPath.package;
|
|
193728
193731
|
|
|
193729
193732
|
console.log(srcPath);
|
|
193730
193733
|
|
package/dist/bundle.esm.js
CHANGED
|
@@ -193341,14 +193341,15 @@ class IdeUtils
|
|
|
193341
193341
|
static getSourcePath = (menuUrl) => {
|
|
193342
193342
|
const path = menuUrl.replace(/^\/+/, '');
|
|
193343
193343
|
|
|
193344
|
-
const packageName = `${this.#parent.config.basePackage}.${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
|
|
193344
|
+
//const packageName = `${this.#parent.config.basePackage}.${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
|
|
193345
|
+
const packageName = `${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
|
|
193345
193346
|
const namespace = path.split("/").slice(0, -1).join(".").toLowerCase();
|
|
193346
193347
|
const fileName = path.split("/").at(-1).toLowerCase().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
|
|
193347
193348
|
|
|
193348
193349
|
//console.log(this.#parent, this.#parent.config, packageName, namespace, fileName);
|
|
193349
193350
|
|
|
193350
193351
|
return {
|
|
193351
|
-
|
|
193352
|
+
package: packageName,
|
|
193352
193353
|
namespace: namespace,
|
|
193353
193354
|
controller: `${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
|
|
193354
193355
|
service: `${packageName.replaceAll(".", "/")}/service/${fileName}Service.java`,
|
|
@@ -193720,7 +193721,9 @@ class IdeAi
|
|
|
193720
193721
|
|
|
193721
193722
|
console.log(where);
|
|
193722
193723
|
|
|
193724
|
+
//packageName
|
|
193723
193725
|
const srcPath = IdeUtils.getSourcePath(where.menu.url);
|
|
193726
|
+
srcPath.package = this.#parent.config.basePackage + "." + srcPath.package;
|
|
193724
193727
|
|
|
193725
193728
|
console.log(srcPath);
|
|
193726
193729
|
|
package/dist/components/ideAi.js
CHANGED
|
@@ -35,14 +35,15 @@ export class IdeUtils
|
|
|
35
35
|
static getSourcePath = (menuUrl) => {
|
|
36
36
|
const path = menuUrl.replace(/^\/+/, '');
|
|
37
37
|
|
|
38
|
-
const packageName = `${this.#parent.config.basePackage}.${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
|
|
38
|
+
//const packageName = `${this.#parent.config.basePackage}.${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
|
|
39
|
+
const packageName = `${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
|
|
39
40
|
const namespace = path.split("/").slice(0, -1).join(".").toLowerCase();
|
|
40
41
|
const fileName = path.split("/").at(-1).toLowerCase().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
|
|
41
42
|
|
|
42
43
|
//console.log(this.#parent, this.#parent.config, packageName, namespace, fileName);
|
|
43
44
|
|
|
44
45
|
return {
|
|
45
|
-
|
|
46
|
+
package: packageName,
|
|
46
47
|
namespace: namespace,
|
|
47
48
|
controller: `${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
|
|
48
49
|
service: `${packageName.replaceAll(".", "/")}/service/${fileName}Service.java`,
|
package/package.json
CHANGED
package/src/components/ideAi.js
CHANGED
|
@@ -35,14 +35,15 @@ export class IdeUtils
|
|
|
35
35
|
static getSourcePath = (menuUrl) => {
|
|
36
36
|
const path = menuUrl.replace(/^\/+/, '');
|
|
37
37
|
|
|
38
|
-
const packageName = `${this.#parent.config.basePackage}.${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
|
|
38
|
+
//const packageName = `${this.#parent.config.basePackage}.${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
|
|
39
|
+
const packageName = `${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
|
|
39
40
|
const namespace = path.split("/").slice(0, -1).join(".").toLowerCase();
|
|
40
41
|
const fileName = path.split("/").at(-1).toLowerCase().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
|
|
41
42
|
|
|
42
43
|
//console.log(this.#parent, this.#parent.config, packageName, namespace, fileName);
|
|
43
44
|
|
|
44
45
|
return {
|
|
45
|
-
|
|
46
|
+
package: packageName,
|
|
46
47
|
namespace: namespace,
|
|
47
48
|
controller: `${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
|
|
48
49
|
service: `${packageName.replaceAll(".", "/")}/service/${fileName}Service.java`,
|