ide-assi 0.199.0 → 0.200.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 +7 -2
- package/dist/bundle.esm.js +7 -2
- package/dist/components/ideAi.js +7 -2
- package/package.json +1 -1
- package/src/components/ideAi.js +7 -2
package/dist/bundle.cjs.js
CHANGED
|
@@ -193687,9 +193687,14 @@ class IdeAi
|
|
|
193687
193687
|
#getSourcePath = (menuUrl) => {
|
|
193688
193688
|
const path = menuUrl.replace(/^\/+/, '');
|
|
193689
193689
|
|
|
193690
|
-
const
|
|
193690
|
+
const raw = path.split("/").join(".").toLowerCase();
|
|
193691
|
+
const cleaned = raw.replace(/[^a-z0-9.]/g, "");
|
|
193692
|
+
const namespace = `${this.#parent.config.basePackage}.${cleaned}`;
|
|
193693
|
+
|
|
193694
|
+
const packageName = namespace.split(".").slice(0, -1).join(".");
|
|
193695
|
+
|
|
193691
193696
|
//const packageName = `${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
|
|
193692
|
-
const
|
|
193697
|
+
//const packageName = path.split("/").join(".").toLowerCase();
|
|
193693
193698
|
const fileName = path.split("/").at(-1).toLowerCase().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
|
|
193694
193699
|
|
|
193695
193700
|
//console.log(this.#parent, this.#parent.config, packageName, namespace, fileName);
|
package/dist/bundle.esm.js
CHANGED
|
@@ -193683,9 +193683,14 @@ class IdeAi
|
|
|
193683
193683
|
#getSourcePath = (menuUrl) => {
|
|
193684
193684
|
const path = menuUrl.replace(/^\/+/, '');
|
|
193685
193685
|
|
|
193686
|
-
const
|
|
193686
|
+
const raw = path.split("/").join(".").toLowerCase();
|
|
193687
|
+
const cleaned = raw.replace(/[^a-z0-9.]/g, "");
|
|
193688
|
+
const namespace = `${this.#parent.config.basePackage}.${cleaned}`;
|
|
193689
|
+
|
|
193690
|
+
const packageName = namespace.split(".").slice(0, -1).join(".");
|
|
193691
|
+
|
|
193687
193692
|
//const packageName = `${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
|
|
193688
|
-
const
|
|
193693
|
+
//const packageName = path.split("/").join(".").toLowerCase();
|
|
193689
193694
|
const fileName = path.split("/").at(-1).toLowerCase().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
|
|
193690
193695
|
|
|
193691
193696
|
//console.log(this.#parent, this.#parent.config, packageName, namespace, fileName);
|
package/dist/components/ideAi.js
CHANGED
|
@@ -285,9 +285,14 @@ export class IdeAi
|
|
|
285
285
|
#getSourcePath = (menuUrl) => {
|
|
286
286
|
const path = menuUrl.replace(/^\/+/, '');
|
|
287
287
|
|
|
288
|
-
const
|
|
288
|
+
const raw = path.split("/").join(".").toLowerCase();
|
|
289
|
+
const cleaned = raw.replace(/[^a-z0-9.]/g, "");
|
|
290
|
+
const namespace = `${this.#parent.config.basePackage}.${cleaned}`;
|
|
291
|
+
|
|
292
|
+
const packageName = namespace.split(".").slice(0, -1).join(".");
|
|
293
|
+
|
|
289
294
|
//const packageName = `${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
|
|
290
|
-
const
|
|
295
|
+
//const packageName = path.split("/").join(".").toLowerCase();
|
|
291
296
|
const fileName = path.split("/").at(-1).toLowerCase().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
|
|
292
297
|
|
|
293
298
|
//console.log(this.#parent, this.#parent.config, packageName, namespace, fileName);
|
package/package.json
CHANGED
package/src/components/ideAi.js
CHANGED
|
@@ -285,9 +285,14 @@ export class IdeAi
|
|
|
285
285
|
#getSourcePath = (menuUrl) => {
|
|
286
286
|
const path = menuUrl.replace(/^\/+/, '');
|
|
287
287
|
|
|
288
|
-
const
|
|
288
|
+
const raw = path.split("/").join(".").toLowerCase();
|
|
289
|
+
const cleaned = raw.replace(/[^a-z0-9.]/g, "");
|
|
290
|
+
const namespace = `${this.#parent.config.basePackage}.${cleaned}`;
|
|
291
|
+
|
|
292
|
+
const packageName = namespace.split(".").slice(0, -1).join(".");
|
|
293
|
+
|
|
289
294
|
//const packageName = `${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
|
|
290
|
-
const
|
|
295
|
+
//const packageName = path.split("/").join(".").toLowerCase();
|
|
291
296
|
const fileName = path.split("/").at(-1).toLowerCase().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
|
|
292
297
|
|
|
293
298
|
//console.log(this.#parent, this.#parent.config, packageName, namespace, fileName);
|