@common-stack/rollup-vite-utils 6.0.6-alpha.54 → 6.0.6-alpha.56
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/lib/vite-wrappers/custom-routes.cjs +2 -3
- package/lib/vite-wrappers/custom-routes.cjs.map +1 -1
- package/lib/vite-wrappers/custom-routes.js +2 -3
- package/lib/vite-wrappers/custom-routes.js.map +1 -1
- package/lib/vite-wrappers/generators/utils/resourceParams.cjs +35 -13
- package/lib/vite-wrappers/generators/utils/resourceParams.cjs.map +1 -1
- package/lib/vite-wrappers/generators/utils/resourceParams.d.ts +3 -2
- package/lib/vite-wrappers/generators/utils/resourceParams.js +34 -12
- package/lib/vite-wrappers/generators/utils/resourceParams.js.map +1 -1
- package/lib/vite-wrappers/generators/utils/resourceParams.test.d.ts +1 -0
- package/package.json +2 -2
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
'use strict';var fs=require('fs'),path=require('path'),handleComponentOrDialog=require('../rollup/modifyLibFiles/handleComponentOrDialog.cjs');function _interopNamespaceDefault(e){var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var fs__namespace=/*#__PURE__*/_interopNamespaceDefault(fs);var path__namespace=/*#__PURE__*/_interopNamespaceDefault(path)
|
|
2
|
-
function getRootPath() {
|
|
1
|
+
'use strict';var fs=require('fs'),path=require('path'),handleComponentOrDialog=require('../rollup/modifyLibFiles/handleComponentOrDialog.cjs'),jsonWrappers=require('./json-wrappers.cjs');function _interopNamespaceDefault(e){var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var fs__namespace=/*#__PURE__*/_interopNamespaceDefault(fs);var path__namespace=/*#__PURE__*/_interopNamespaceDefault(path);function getRootPath() {
|
|
3
2
|
return process.cwd();
|
|
4
3
|
}
|
|
5
4
|
function generateRoute(filePath) {
|
|
@@ -7,7 +6,7 @@ function generateRoute(filePath) {
|
|
|
7
6
|
return { loaderInfo };
|
|
8
7
|
}
|
|
9
8
|
function createDummyFile(route) {
|
|
10
|
-
const routeStr = `${route.id}/${route.path}
|
|
9
|
+
const routeStr = jsonWrappers.getHash(`${route.id}/${route.path}`);
|
|
11
10
|
const fileName = `DummyRoute-${routeStr}.tsx`;
|
|
12
11
|
const newFilePath = path__namespace.join(getRootPath(), 'app', fileName);
|
|
13
12
|
const dummyComponent = createDummyComponent(route);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-routes.cjs","sources":["../../src/vite-wrappers/custom-routes.ts"],"sourcesContent":[null],"names":["extractLoaderInfoFromFile","path","fs"],"mappings":"
|
|
1
|
+
{"version":3,"file":"custom-routes.cjs","sources":["../../src/vite-wrappers/custom-routes.ts"],"sourcesContent":[null],"names":["extractLoaderInfoFromFile","getHash","path","fs"],"mappings":"qlBAKA,SAAS,WAAW,GAAA;AAChB,IAAA,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC;AACzB,CAAC;AAEK,SAAU,aAAa,CAAC,QAAgB,EAAA;IAC1C,MAAM,EAAE,UAAU,EAAE,GAAGA,iDAAyB,CAAC,QAAQ,CAAC,CAAC;IAC3D,OAAO,EAAE,UAAU,EAAE,CAAC;AAC1B,CAAC;AAEK,SAAU,eAAe,CAAC,KAAU,EAAA;AACtC,IAAA,MAAM,QAAQ,GAAGC,oBAAO,CAAC,GAAG,KAAK,CAAC,EAAE,CAAA,CAAA,EAAI,KAAK,CAAC,IAAI,CAAA,CAAE,CAAC,CAAC;AACtD,IAAA,MAAM,QAAQ,GAAG,CAAc,WAAA,EAAA,QAAQ,MAAM,CAAC;AAC9C,IAAA,MAAM,WAAW,GAAGC,eAAI,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;AAC9D,IAAA,MAAM,cAAc,GAAG,oBAAoB,CAAC,KAAK,CAAC,CAAC;AAEnD,IAAAC,aAAE,CAAC,aAAa,CAAC,WAAW,EAAE,cAAc,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC;AAC/E,IAAA,OAAO,WAAW,CAAC;AACvB,CAAC;AAED,SAAS,oBAAoB,CAAC,OAAY,EAAA;AACtC,IAAA,MAAM,QAAQ,GAAG,CAAA;;;;;cAKP,OAAO,CAAC,IAAI,IAAI,gBAAgB,CAAA;;;;;;;;;;;;;;;;;;KAkBzC,CAAC;AAEF,IAAA,OAAO,QAAQ,CAAC;AACpB"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import*as fs from'fs';import*as path from'path';import {extractLoaderInfoFromFile}from'../rollup/modifyLibFiles/handleComponentOrDialog.js'
|
|
2
|
-
function getRootPath() {
|
|
1
|
+
import*as fs from'fs';import*as path from'path';import {extractLoaderInfoFromFile}from'../rollup/modifyLibFiles/handleComponentOrDialog.js';import {getHash}from'./json-wrappers.js';function getRootPath() {
|
|
3
2
|
return process.cwd();
|
|
4
3
|
}
|
|
5
4
|
function generateRoute(filePath) {
|
|
@@ -7,7 +6,7 @@ function generateRoute(filePath) {
|
|
|
7
6
|
return { loaderInfo };
|
|
8
7
|
}
|
|
9
8
|
function createDummyFile(route) {
|
|
10
|
-
const routeStr = `${route.id}/${route.path}
|
|
9
|
+
const routeStr = getHash(`${route.id}/${route.path}`);
|
|
11
10
|
const fileName = `DummyRoute-${routeStr}.tsx`;
|
|
12
11
|
const newFilePath = path.join(getRootPath(), 'app', fileName);
|
|
13
12
|
const dummyComponent = createDummyComponent(route);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-routes.js","sources":["../../src/vite-wrappers/custom-routes.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"custom-routes.js","sources":["../../src/vite-wrappers/custom-routes.ts"],"sourcesContent":[null],"names":[],"mappings":"qLAKA,SAAS,WAAW,GAAA;AAChB,IAAA,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC;AACzB,CAAC;AAEK,SAAU,aAAa,CAAC,QAAgB,EAAA;IAC1C,MAAM,EAAE,UAAU,EAAE,GAAG,yBAAyB,CAAC,QAAQ,CAAC,CAAC;IAC3D,OAAO,EAAE,UAAU,EAAE,CAAC;AAC1B,CAAC;AAEK,SAAU,eAAe,CAAC,KAAU,EAAA;AACtC,IAAA,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,KAAK,CAAC,EAAE,CAAA,CAAA,EAAI,KAAK,CAAC,IAAI,CAAA,CAAE,CAAC,CAAC;AACtD,IAAA,MAAM,QAAQ,GAAG,CAAc,WAAA,EAAA,QAAQ,MAAM,CAAC;AAC9C,IAAA,MAAM,WAAW,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;AAC9D,IAAA,MAAM,cAAc,GAAG,oBAAoB,CAAC,KAAK,CAAC,CAAC;AAEnD,IAAA,EAAE,CAAC,aAAa,CAAC,WAAW,EAAE,cAAc,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC;AAC/E,IAAA,OAAO,WAAW,CAAC;AACvB,CAAC;AAED,SAAS,oBAAoB,CAAC,OAAY,EAAA;AACtC,IAAA,MAAM,QAAQ,GAAG,CAAA;;;;;cAKP,OAAO,CAAC,IAAI,IAAI,gBAAgB,CAAA;;;;;;;;;;;;;;;;;;KAkBzC,CAAC;AAEF,IAAA,OAAO,QAAQ,CAAC;AACpB"}
|
|
@@ -1,36 +1,58 @@
|
|
|
1
|
-
'use strict'
|
|
1
|
+
'use strict';/* eslint-disable default-param-last */
|
|
2
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
3
|
+
/**
|
|
2
4
|
* Recursively process the resourceParams object and replace any placeholder values starting with `$params.`.
|
|
3
5
|
* If the `path` is empty or matches `IConfigCollectionName.Organization`, ensure it provides a default query
|
|
4
|
-
* with `{ name: $params.orgName }
|
|
6
|
+
* with `{ name: $params.orgName }`, but only if `query` is not already defined.
|
|
5
7
|
*
|
|
6
8
|
* @param resourceParams - The nested resourceParams object containing placeholders.
|
|
7
9
|
* @param params - The params object from which values are extracted.
|
|
8
10
|
* @param defaultPath - Optional default path to be assigned when `path` is empty or a specific condition is met.
|
|
11
|
+
* @param defaultFragment - Optional default fragment to be assigned when `fragment` is missing.
|
|
9
12
|
* @returns The processed resourceParams object with replaced values.
|
|
10
13
|
*/
|
|
11
|
-
function resolveResourceParamsPlaceholders(resourceParams, params, defaultPath = '
|
|
12
|
-
if (!resourceParams || typeof resourceParams !== 'object')
|
|
13
|
-
return resourceParams;
|
|
14
|
+
function resolveResourceParamsPlaceholders(resourceParams = {}, params, defaultPath = 'organizations', defaultFragment = 'settings') {
|
|
14
15
|
const resolvedParams = {};
|
|
16
|
+
if (!resourceParams || typeof resourceParams !== 'object') {
|
|
17
|
+
return resolvedParams;
|
|
18
|
+
}
|
|
19
|
+
// Recursively resolve the object and handle placeholders
|
|
15
20
|
Object.entries(resourceParams).forEach(([key, value]) => {
|
|
16
21
|
if (typeof value === 'string' && value.startsWith('$params.')) {
|
|
17
|
-
// Replace placeholder with actual value from params
|
|
18
22
|
const paramKey = value.split('$params.')[1];
|
|
19
23
|
resolvedParams[key] = params[paramKey];
|
|
20
24
|
}
|
|
21
|
-
else if (typeof value === 'object' && value !== null) {
|
|
22
|
-
//
|
|
23
|
-
resolvedParams[key] = resolveResourceParamsPlaceholders(value, params, defaultPath);
|
|
25
|
+
else if (typeof value === 'object' && value !== null && key !== 'query') {
|
|
26
|
+
// Only recurse if we're not inside a 'query' to avoid nesting issues
|
|
27
|
+
resolvedParams[key] = resolveResourceParamsPlaceholders(value, params, defaultPath, defaultFragment);
|
|
24
28
|
}
|
|
25
29
|
else {
|
|
26
|
-
// Direct assignment for other values
|
|
27
30
|
resolvedParams[key] = value;
|
|
28
31
|
}
|
|
29
32
|
});
|
|
30
|
-
//
|
|
31
|
-
if (!
|
|
33
|
+
// Only add path and query if they don't exist at the root level
|
|
34
|
+
if (!resourceParams.path && !resolvedParams.path) {
|
|
32
35
|
resolvedParams.path = defaultPath;
|
|
33
|
-
|
|
36
|
+
}
|
|
37
|
+
// Only set the query if it's not already defined at the root level
|
|
38
|
+
if (!resourceParams.query && !resolvedParams.query) {
|
|
39
|
+
resolvedParams.query = { name: params.name };
|
|
40
|
+
}
|
|
41
|
+
else if (typeof resourceParams.query === 'object') {
|
|
42
|
+
resolvedParams.query = {};
|
|
43
|
+
Object.entries(resourceParams.query).forEach(([key, value]) => {
|
|
44
|
+
if (typeof value === 'string' && value.startsWith('$params.')) {
|
|
45
|
+
const paramKey = value.split('$params.')[1];
|
|
46
|
+
resolvedParams.query[key] = params[paramKey];
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
resolvedParams.query[key] = value;
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
// Add fragment only if it doesn't exist at the root level
|
|
54
|
+
if (!resourceParams.fragment && !resolvedParams.fragment) {
|
|
55
|
+
resolvedParams.fragment = defaultFragment;
|
|
34
56
|
}
|
|
35
57
|
return resolvedParams;
|
|
36
58
|
}exports.resolveResourceParamsPlaceholders=resolveResourceParamsPlaceholders;//# sourceMappingURL=resourceParams.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resourceParams.cjs","sources":["../../../../src/vite-wrappers/generators/utils/resourceParams.ts"],"sourcesContent":[null],"names":[],"mappings":"aAAA
|
|
1
|
+
{"version":3,"file":"resourceParams.cjs","sources":["../../../../src/vite-wrappers/generators/utils/resourceParams.ts"],"sourcesContent":[null],"names":[],"mappings":"aAAA;AACA;AACA;;;;;;;;;;AAUG;AACa,SAAA,iCAAiC,CAC7C,cAAA,GAAsC,EAAE,EACxC,MAA2B,EAC3B,WAAsB,GAAA,eAAe,EACrC,eAAA,GAA0B,UAAU,EAAA;IAEpC,MAAM,cAAc,GAAwB,EAAE,CAAC;IAE/C,IAAI,CAAC,cAAc,IAAI,OAAO,cAAc,KAAK,QAAQ,EAAE;AACvD,QAAA,OAAO,cAAc,CAAC;KACzB;;AAGD,IAAA,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,KAAI;AACpD,QAAA,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE;YAC3D,MAAM,QAAQ,GAAG,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;YAC5C,cAAc,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;SAC1C;AAAM,aAAA,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,GAAG,KAAK,OAAO,EAAE;;AAEvE,YAAA,cAAc,CAAC,GAAG,CAAC,GAAG,iCAAiC,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,eAAe,CAAC,CAAC;SACxG;aAAM;AACH,YAAA,cAAc,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC/B;AACL,KAAC,CAAC,CAAC;;IAGH,IAAI,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE;AAC9C,QAAA,cAAc,CAAC,IAAI,GAAG,WAAW,CAAC;KACrC;;IAGD,IAAI,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE;QAChD,cAAc,CAAC,KAAK,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,CAAC;KAChD;AAAM,SAAA,IAAI,OAAO,cAAc,CAAC,KAAK,KAAK,QAAQ,EAAE;AACjD,QAAA,cAAc,CAAC,KAAK,GAAG,EAAE,CAAC;AAC1B,QAAA,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,KAAI;AAC1D,YAAA,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE;gBAC3D,MAAM,QAAQ,GAAG,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;gBAC5C,cAAc,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;aAChD;iBAAM;AACH,gBAAA,cAAc,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;aACrC;AACL,SAAC,CAAC,CAAC;KACN;;IAGD,IAAI,CAAC,cAAc,CAAC,QAAQ,IAAI,CAAC,cAAc,CAAC,QAAQ,EAAE;AACtD,QAAA,cAAc,CAAC,QAAQ,GAAG,eAAe,CAAC;KAC7C;AAED,IAAA,OAAO,cAAc,CAAC;AAC1B"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Recursively process the resourceParams object and replace any placeholder values starting with `$params.`.
|
|
3
3
|
* If the `path` is empty or matches `IConfigCollectionName.Organization`, ensure it provides a default query
|
|
4
|
-
* with `{ name: $params.orgName }
|
|
4
|
+
* with `{ name: $params.orgName }`, but only if `query` is not already defined.
|
|
5
5
|
*
|
|
6
6
|
* @param resourceParams - The nested resourceParams object containing placeholders.
|
|
7
7
|
* @param params - The params object from which values are extracted.
|
|
8
8
|
* @param defaultPath - Optional default path to be assigned when `path` is empty or a specific condition is met.
|
|
9
|
+
* @param defaultFragment - Optional default fragment to be assigned when `fragment` is missing.
|
|
9
10
|
* @returns The processed resourceParams object with replaced values.
|
|
10
11
|
*/
|
|
11
|
-
export declare function resolveResourceParamsPlaceholders(resourceParams: Record<string, any>, params: Record<string, any>, defaultPath?: string): Record<string, any>;
|
|
12
|
+
export declare function resolveResourceParamsPlaceholders(resourceParams: Record<string, any>, params: Record<string, any>, defaultPath?: string, defaultFragment?: string): Record<string, any>;
|
|
@@ -1,36 +1,58 @@
|
|
|
1
|
+
/* eslint-disable default-param-last */
|
|
2
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
1
3
|
/**
|
|
2
4
|
* Recursively process the resourceParams object and replace any placeholder values starting with `$params.`.
|
|
3
5
|
* If the `path` is empty or matches `IConfigCollectionName.Organization`, ensure it provides a default query
|
|
4
|
-
* with `{ name: $params.orgName }
|
|
6
|
+
* with `{ name: $params.orgName }`, but only if `query` is not already defined.
|
|
5
7
|
*
|
|
6
8
|
* @param resourceParams - The nested resourceParams object containing placeholders.
|
|
7
9
|
* @param params - The params object from which values are extracted.
|
|
8
10
|
* @param defaultPath - Optional default path to be assigned when `path` is empty or a specific condition is met.
|
|
11
|
+
* @param defaultFragment - Optional default fragment to be assigned when `fragment` is missing.
|
|
9
12
|
* @returns The processed resourceParams object with replaced values.
|
|
10
13
|
*/
|
|
11
|
-
function resolveResourceParamsPlaceholders(resourceParams, params, defaultPath = '
|
|
12
|
-
if (!resourceParams || typeof resourceParams !== 'object')
|
|
13
|
-
return resourceParams;
|
|
14
|
+
function resolveResourceParamsPlaceholders(resourceParams = {}, params, defaultPath = 'organizations', defaultFragment = 'settings') {
|
|
14
15
|
const resolvedParams = {};
|
|
16
|
+
if (!resourceParams || typeof resourceParams !== 'object') {
|
|
17
|
+
return resolvedParams;
|
|
18
|
+
}
|
|
19
|
+
// Recursively resolve the object and handle placeholders
|
|
15
20
|
Object.entries(resourceParams).forEach(([key, value]) => {
|
|
16
21
|
if (typeof value === 'string' && value.startsWith('$params.')) {
|
|
17
|
-
// Replace placeholder with actual value from params
|
|
18
22
|
const paramKey = value.split('$params.')[1];
|
|
19
23
|
resolvedParams[key] = params[paramKey];
|
|
20
24
|
}
|
|
21
|
-
else if (typeof value === 'object' && value !== null) {
|
|
22
|
-
//
|
|
23
|
-
resolvedParams[key] = resolveResourceParamsPlaceholders(value, params, defaultPath);
|
|
25
|
+
else if (typeof value === 'object' && value !== null && key !== 'query') {
|
|
26
|
+
// Only recurse if we're not inside a 'query' to avoid nesting issues
|
|
27
|
+
resolvedParams[key] = resolveResourceParamsPlaceholders(value, params, defaultPath, defaultFragment);
|
|
24
28
|
}
|
|
25
29
|
else {
|
|
26
|
-
// Direct assignment for other values
|
|
27
30
|
resolvedParams[key] = value;
|
|
28
31
|
}
|
|
29
32
|
});
|
|
30
|
-
//
|
|
31
|
-
if (!
|
|
33
|
+
// Only add path and query if they don't exist at the root level
|
|
34
|
+
if (!resourceParams.path && !resolvedParams.path) {
|
|
32
35
|
resolvedParams.path = defaultPath;
|
|
33
|
-
|
|
36
|
+
}
|
|
37
|
+
// Only set the query if it's not already defined at the root level
|
|
38
|
+
if (!resourceParams.query && !resolvedParams.query) {
|
|
39
|
+
resolvedParams.query = { name: params.name };
|
|
40
|
+
}
|
|
41
|
+
else if (typeof resourceParams.query === 'object') {
|
|
42
|
+
resolvedParams.query = {};
|
|
43
|
+
Object.entries(resourceParams.query).forEach(([key, value]) => {
|
|
44
|
+
if (typeof value === 'string' && value.startsWith('$params.')) {
|
|
45
|
+
const paramKey = value.split('$params.')[1];
|
|
46
|
+
resolvedParams.query[key] = params[paramKey];
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
resolvedParams.query[key] = value;
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
// Add fragment only if it doesn't exist at the root level
|
|
54
|
+
if (!resourceParams.fragment && !resolvedParams.fragment) {
|
|
55
|
+
resolvedParams.fragment = defaultFragment;
|
|
34
56
|
}
|
|
35
57
|
return resolvedParams;
|
|
36
58
|
}export{resolveResourceParamsPlaceholders};//# sourceMappingURL=resourceParams.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resourceParams.js","sources":["../../../../src/vite-wrappers/generators/utils/resourceParams.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"resourceParams.js","sources":["../../../../src/vite-wrappers/generators/utils/resourceParams.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;;;;;;;;;;AAUG;AACa,SAAA,iCAAiC,CAC7C,cAAA,GAAsC,EAAE,EACxC,MAA2B,EAC3B,WAAsB,GAAA,eAAe,EACrC,eAAA,GAA0B,UAAU,EAAA;IAEpC,MAAM,cAAc,GAAwB,EAAE,CAAC;IAE/C,IAAI,CAAC,cAAc,IAAI,OAAO,cAAc,KAAK,QAAQ,EAAE;AACvD,QAAA,OAAO,cAAc,CAAC;KACzB;;AAGD,IAAA,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,KAAI;AACpD,QAAA,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE;YAC3D,MAAM,QAAQ,GAAG,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;YAC5C,cAAc,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;SAC1C;AAAM,aAAA,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,GAAG,KAAK,OAAO,EAAE;;AAEvE,YAAA,cAAc,CAAC,GAAG,CAAC,GAAG,iCAAiC,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,eAAe,CAAC,CAAC;SACxG;aAAM;AACH,YAAA,cAAc,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC/B;AACL,KAAC,CAAC,CAAC;;IAGH,IAAI,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE;AAC9C,QAAA,cAAc,CAAC,IAAI,GAAG,WAAW,CAAC;KACrC;;IAGD,IAAI,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE;QAChD,cAAc,CAAC,KAAK,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,CAAC;KAChD;AAAM,SAAA,IAAI,OAAO,cAAc,CAAC,KAAK,KAAK,QAAQ,EAAE;AACjD,QAAA,cAAc,CAAC,KAAK,GAAG,EAAE,CAAC;AAC1B,QAAA,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,KAAI;AAC1D,YAAA,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE;gBAC3D,MAAM,QAAQ,GAAG,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;gBAC5C,cAAc,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;aAChD;iBAAM;AACH,gBAAA,cAAc,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;aACrC;AACL,SAAC,CAAC,CAAC;KACN;;IAGD,IAAI,CAAC,cAAc,CAAC,QAAQ,IAAI,CAAC,cAAc,CAAC,QAAQ,EAAE;AACtD,QAAA,cAAc,CAAC,QAAQ,GAAG,eAAe,CAAC;KAC7C;AAED,IAAA,OAAO,cAAc,CAAC;AAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@common-stack/rollup-vite-utils",
|
|
3
|
-
"version": "6.0.6-alpha.
|
|
3
|
+
"version": "6.0.6-alpha.56",
|
|
4
4
|
"description": "Client Module for react app",
|
|
5
5
|
"homepage": "https://github.com/cdmbase/fullstack-pro#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"typescript": {
|
|
60
60
|
"definition": "lib/index.d.ts"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "8615905937caf01fe3e74c87a8aa54ad04dacd26"
|
|
63
63
|
}
|