@onpe/ui 1.0.45 → 1.0.47
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/cli.esm.js +15 -0
- package/dist/cli.js +15 -0
- package/package.json +2 -2
package/dist/cli.esm.js
CHANGED
|
@@ -6049,12 +6049,27 @@ function personalizeComponent(code, componentName) {
|
|
|
6049
6049
|
Object.entries(componentPaths).forEach(function (_a) {
|
|
6050
6050
|
var component = _a[0], newPath = _a[1];
|
|
6051
6051
|
var oldPatterns = [
|
|
6052
|
+
// Patrones básicos
|
|
6052
6053
|
"from \"../".concat(component, "/").concat(component, "\""),
|
|
6053
6054
|
"from \"../".concat(component, "\""),
|
|
6055
|
+
// Patrones de iconos con rutas completas
|
|
6056
|
+
"from \"../../icons/Actions/".concat(component, "/").concat(component, "\""),
|
|
6054
6057
|
"from \"../../icons/Actions/".concat(component, "\""),
|
|
6058
|
+
"from \"../../icons/Browsers/".concat(component, "/").concat(component, "\""),
|
|
6055
6059
|
"from \"../../icons/Browsers/".concat(component, "\""),
|
|
6060
|
+
"from \"../../icons/OperatingSystems/".concat(component, "/").concat(component, "\""),
|
|
6056
6061
|
"from \"../../icons/OperatingSystems/".concat(component, "\""),
|
|
6062
|
+
"from \"../../icons/ONPE/".concat(component, "/").concat(component, "\""),
|
|
6057
6063
|
"from \"../../icons/ONPE/".concat(component, "\""),
|
|
6064
|
+
// Patrones con más niveles de profundidad
|
|
6065
|
+
"from \"../../../icons/Actions/".concat(component, "/").concat(component, "\""),
|
|
6066
|
+
"from \"../../../icons/Actions/".concat(component, "\""),
|
|
6067
|
+
"from \"../../../icons/Browsers/".concat(component, "/").concat(component, "\""),
|
|
6068
|
+
"from \"../../../icons/Browsers/".concat(component, "\""),
|
|
6069
|
+
"from \"../../../icons/OperatingSystems/".concat(component, "/").concat(component, "\""),
|
|
6070
|
+
"from \"../../../icons/OperatingSystems/".concat(component, "\""),
|
|
6071
|
+
"from \"../../../icons/ONPE/".concat(component, "/").concat(component, "\""),
|
|
6072
|
+
"from \"../../../icons/ONPE/".concat(component, "\""),
|
|
6058
6073
|
];
|
|
6059
6074
|
oldPatterns.forEach(function (pattern) {
|
|
6060
6075
|
personalizedCode = personalizedCode.replace(pattern, "from \"".concat(newPath, "\""));
|
package/dist/cli.js
CHANGED
|
@@ -6049,12 +6049,27 @@ function personalizeComponent(code, componentName) {
|
|
|
6049
6049
|
Object.entries(componentPaths).forEach(function (_a) {
|
|
6050
6050
|
var component = _a[0], newPath = _a[1];
|
|
6051
6051
|
var oldPatterns = [
|
|
6052
|
+
// Patrones básicos
|
|
6052
6053
|
"from \"../".concat(component, "/").concat(component, "\""),
|
|
6053
6054
|
"from \"../".concat(component, "\""),
|
|
6055
|
+
// Patrones de iconos con rutas completas
|
|
6056
|
+
"from \"../../icons/Actions/".concat(component, "/").concat(component, "\""),
|
|
6054
6057
|
"from \"../../icons/Actions/".concat(component, "\""),
|
|
6058
|
+
"from \"../../icons/Browsers/".concat(component, "/").concat(component, "\""),
|
|
6055
6059
|
"from \"../../icons/Browsers/".concat(component, "\""),
|
|
6060
|
+
"from \"../../icons/OperatingSystems/".concat(component, "/").concat(component, "\""),
|
|
6056
6061
|
"from \"../../icons/OperatingSystems/".concat(component, "\""),
|
|
6062
|
+
"from \"../../icons/ONPE/".concat(component, "/").concat(component, "\""),
|
|
6057
6063
|
"from \"../../icons/ONPE/".concat(component, "\""),
|
|
6064
|
+
// Patrones con más niveles de profundidad
|
|
6065
|
+
"from \"../../../icons/Actions/".concat(component, "/").concat(component, "\""),
|
|
6066
|
+
"from \"../../../icons/Actions/".concat(component, "\""),
|
|
6067
|
+
"from \"../../../icons/Browsers/".concat(component, "/").concat(component, "\""),
|
|
6068
|
+
"from \"../../../icons/Browsers/".concat(component, "\""),
|
|
6069
|
+
"from \"../../../icons/OperatingSystems/".concat(component, "/").concat(component, "\""),
|
|
6070
|
+
"from \"../../../icons/OperatingSystems/".concat(component, "\""),
|
|
6071
|
+
"from \"../../../icons/ONPE/".concat(component, "/").concat(component, "\""),
|
|
6072
|
+
"from \"../../../icons/ONPE/".concat(component, "\""),
|
|
6058
6073
|
];
|
|
6059
6074
|
oldPatterns.forEach(function (pattern) {
|
|
6060
6075
|
personalizedCode = personalizedCode.replace(pattern, "from \"".concat(newPath, "\""));
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onpe/ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.47",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Librería completa de UI para ONPE - Componentes, Hooks, Utils y Librerías",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.esm.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
9
9
|
"bin": {
|
|
10
|
-
"
|
|
10
|
+
"ui": "dist/cli.js"
|
|
11
11
|
},
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|