@fibery/url-utils 2.2.7 → 2.3.2
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/diactrics.d.ts +4 -1
- package/lib/diactrics.js +107 -111
- package/lib/index.d.ts +33 -31
- package/lib/index.js +80 -121
- package/lib/locator-utils.d.ts +17 -14
- package/lib/locator-utils.js +49 -54
- package/lib/make-path.d.ts +4 -1
- package/lib/make-path.js +25 -32
- package/lib/parse-page-location.d.ts +17 -14
- package/lib/parse-page-location.js +63 -61
- package/lib/routes.d.ts +36 -32
- package/lib/routes.js +133 -163
- package/lib/url-constants.d.ts +11 -5
- package/lib/url-constants.js +10 -8
- package/lib/workspaces.d.ts +19 -14
- package/lib/workspaces.js +16 -17
- package/package.json +17 -34
- package/index.ts +0 -168
- package/lib/babel.config.d.ts +0 -1
- package/lib/babel.config.js +0 -4
- package/lib/jest.config.d.ts +0 -7
- package/lib/jest.config.js +0 -10
package/lib/locator-utils.js
CHANGED
|
@@ -1,71 +1,66 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { replaceDiactrics } from "./diactrics.js";
|
|
2
|
+
//#region src/locator-utils.ts
|
|
3
|
+
const urlAllowedChars = [
|
|
4
|
+
`$`,
|
|
5
|
+
`-`,
|
|
6
|
+
`_`,
|
|
7
|
+
`.`,
|
|
8
|
+
`+`,
|
|
9
|
+
`!`,
|
|
10
|
+
`*`,
|
|
11
|
+
`'`,
|
|
12
|
+
`(`,
|
|
13
|
+
`)`,
|
|
14
|
+
`,`
|
|
15
|
+
];
|
|
6
16
|
const escapeRegExpChar = (x) => `\\${x}`;
|
|
7
|
-
|
|
8
|
-
const urlAllowedCharsPatternGroup = `a-zA-Z0-9${urlAllowedChars.map(exports.escapeRegExpChar).join("")}`;
|
|
17
|
+
const urlAllowedCharsPatternGroup = `a-zA-Z0-9${urlAllowedChars.map(escapeRegExpChar).join("")}`;
|
|
9
18
|
const nonUrlChars = new RegExp(`[^${urlAllowedCharsPatternGroup}]+`, "g");
|
|
10
19
|
const threeNonUrlChars = new RegExp(`[^${urlAllowedCharsPatternGroup}]{3}`);
|
|
11
20
|
const parseLocator = (locator) => {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
21
|
+
const lastDashIndex = locator.lastIndexOf("-");
|
|
22
|
+
if (lastDashIndex === -1) return {
|
|
23
|
+
publicId: locator || null,
|
|
24
|
+
title: null
|
|
25
|
+
};
|
|
26
|
+
return {
|
|
27
|
+
publicId: locator.slice(lastDashIndex + 1),
|
|
28
|
+
title: locator.slice(0, lastDashIndex).replace(/-/g, " ")
|
|
29
|
+
};
|
|
19
30
|
};
|
|
20
|
-
exports.parseLocator = parseLocator;
|
|
21
31
|
const TITLE_MAX_LENGTH = 100;
|
|
22
32
|
const normalizeLocatorTitle = (title, maxLength = TITLE_MAX_LENGTH) => {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return titleWithoutSpaces.match(threeNonUrlChars)
|
|
26
|
-
? ""
|
|
27
|
-
: normalizedTitle.replace(nonUrlChars, " ").trim().replace(/\s+/g, "-").substr(0, maxLength).replace(/-+$/, "");
|
|
33
|
+
const normalizedTitle = replaceDiactrics(title.trim());
|
|
34
|
+
return normalizedTitle.split(" ").filter(Boolean).join("-").match(threeNonUrlChars) ? "" : normalizedTitle.replace(nonUrlChars, " ").trim().replace(/\s+/g, "-").substr(0, maxLength).replace(/-+$/, "");
|
|
28
35
|
};
|
|
29
36
|
const parseScrollLocator = (locator) => {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
return defaultResult;
|
|
37
|
+
const defaultResult = { field: null };
|
|
38
|
+
if (locator) {
|
|
39
|
+
const entries = [...new URLSearchParams(locator).entries()].map(([key, value]) => {
|
|
40
|
+
return [key, parseScrollLocatorValue(key, value)];
|
|
41
|
+
});
|
|
42
|
+
return {
|
|
43
|
+
...defaultResult,
|
|
44
|
+
...Object.fromEntries(entries)
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
return defaultResult;
|
|
44
48
|
};
|
|
45
|
-
exports.parseScrollLocator = parseScrollLocator;
|
|
46
49
|
const makeLocator = ({ publicId, title }) => {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
50
|
-
const titleToUse = normalizeLocatorTitle(title || "");
|
|
51
|
-
return [titleToUse, publicId].filter(Boolean).join("-");
|
|
50
|
+
if (!publicId) throw new Error("publicId is required");
|
|
51
|
+
return [normalizeLocatorTitle(title || ""), publicId].filter(Boolean).join("-");
|
|
52
52
|
};
|
|
53
|
-
exports.makeLocator = makeLocator;
|
|
54
53
|
const anchorScrollLocatorDelimiter = "--";
|
|
55
54
|
const createAnchorScrollLocatorValue = (params) => {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
.split(anchorScrollLocatorDelimiter)
|
|
59
|
-
.filter(Boolean)
|
|
60
|
-
.join("-");
|
|
61
|
-
return [title, id].filter(Boolean).join(anchorScrollLocatorDelimiter);
|
|
55
|
+
const { id, text } = params;
|
|
56
|
+
return [normalizeLocatorTitle(text || "", 40).split(anchorScrollLocatorDelimiter).filter(Boolean).join("-"), id].filter(Boolean).join(anchorScrollLocatorDelimiter);
|
|
62
57
|
};
|
|
63
|
-
exports.createAnchorScrollLocatorValue = createAnchorScrollLocatorValue;
|
|
64
58
|
const parseScrollLocatorValue = (key, originalValue) => {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
59
|
+
if (key === "anchor") {
|
|
60
|
+
const [anchorId] = originalValue.split(anchorScrollLocatorDelimiter).reverse();
|
|
61
|
+
return anchorId;
|
|
62
|
+
}
|
|
63
|
+
return originalValue;
|
|
70
64
|
};
|
|
71
|
-
|
|
65
|
+
//#endregion
|
|
66
|
+
export { createAnchorScrollLocatorValue, escapeRegExpChar, makeLocator, parseLocator, parseScrollLocator, parseScrollLocatorValue };
|
package/lib/make-path.d.ts
CHANGED
package/lib/make-path.js
CHANGED
|
@@ -1,43 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const memoize_1 = __importDefault(require("lodash/memoize"));
|
|
9
|
-
const path_to_regexp_1 = __importDefault(require("path-to-regexp"));
|
|
10
|
-
const routes_1 = require("./routes");
|
|
11
|
-
const index_1 = require("./index");
|
|
12
|
-
const url_constants_1 = require("./url-constants");
|
|
1
|
+
import { publicUrlPrefix } from "./url-constants.js";
|
|
2
|
+
import { AUX_ROUTES_PATTERNS, ROUTES_WITH_PRESERVED_UNDERSCORES_PATTERNS_LOOKUP } from "./routes.js";
|
|
3
|
+
import { isPublicSpaceMode } from "./index.js";
|
|
4
|
+
import flow from "lodash/flow.js";
|
|
5
|
+
import memoize from "lodash/memoize.js";
|
|
6
|
+
import pathToRegExp from "path-to-regexp";
|
|
7
|
+
//#region src/make-path.ts
|
|
13
8
|
const throwError = (message) => {
|
|
14
|
-
|
|
9
|
+
throw new Error(message);
|
|
15
10
|
};
|
|
16
|
-
const memoizedCompile = (
|
|
17
|
-
// History lesson: at some point we've encoded space with "–" and then decided to use "_"
|
|
18
|
-
// Need to support both old URLs and new ones
|
|
11
|
+
const memoizedCompile = memoize(pathToRegExp.compile, (route) => route);
|
|
19
12
|
const encodeSpacesWithDashes = (str = "") => str.replace(/ /g, "–");
|
|
20
13
|
const encodeSpacesWithUnderscores = (str = "") => str.replace(/ /g, "_");
|
|
21
14
|
const makeEncodeURIComponentPretty = (spacesEncoder) => {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
15
|
+
return (str) => {
|
|
16
|
+
return flow([
|
|
17
|
+
spacesEncoder,
|
|
18
|
+
encodeURI,
|
|
19
|
+
(encodedStr) => encodedStr.replace(/[/?#]/g, function(c) {
|
|
20
|
+
return "%" + c.charCodeAt(0).toString(16).toUpperCase();
|
|
21
|
+
})
|
|
22
|
+
])(str);
|
|
23
|
+
};
|
|
32
24
|
};
|
|
33
25
|
const makeEncodeURIComponentPrettyUnderscores = makeEncodeURIComponentPretty(encodeSpacesWithUnderscores);
|
|
34
26
|
const makeEncodeURIComponentPrettyDashes = makeEncodeURIComponentPretty(encodeSpacesWithDashes);
|
|
35
|
-
const
|
|
36
|
-
|
|
27
|
+
const publicPrefixMaybe = (route) => {
|
|
28
|
+
if (isPublicSpaceMode && !AUX_ROUTES_PATTERNS.includes(route) && !route.startsWith("/@public/forms")) return `${publicUrlPrefix}${route}`;
|
|
29
|
+
return route;
|
|
37
30
|
};
|
|
38
31
|
function makePath(route = throwError("route arg is missing"), params = throwError("params arg is missing")) {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
: makeEncodeURIComponentPrettyUnderscores;
|
|
42
|
-
return memoizedCompile((index_1.isPublicSpaceMode && shouldAddPublicPrefix(route) ? `${url_constants_1.publicUrlPrefix}${route}` : route))(params, { encode: encodeFn });
|
|
32
|
+
const encodeFn = ROUTES_WITH_PRESERVED_UNDERSCORES_PATTERNS_LOOKUP[route] ? makeEncodeURIComponentPrettyDashes : makeEncodeURIComponentPrettyUnderscores;
|
|
33
|
+
return memoizedCompile(publicPrefixMaybe(route))(params, { encode: encodeFn });
|
|
43
34
|
}
|
|
35
|
+
//#endregion
|
|
36
|
+
export { makePath };
|
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
//#region src/parse-page-location.d.ts
|
|
2
|
+
type PageMatch<P, PARAMS> = {
|
|
3
|
+
page: P;
|
|
4
|
+
params: PARAMS;
|
|
5
|
+
isFavorite: boolean;
|
|
6
|
+
matchedPath: string | null;
|
|
6
7
|
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
declare function safeDecodeURIComponent(maybeEncodedPath: string): string;
|
|
9
|
+
declare function findPageMatch(maybeEncodedPath: string): PageMatch<string, Record<string, unknown>> | null;
|
|
10
|
+
type AuxMatch<AUX, PARAMS> = {
|
|
11
|
+
aux: AUX;
|
|
12
|
+
params: PARAMS;
|
|
13
|
+
pageAppNamespace: string;
|
|
13
14
|
};
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
declare function findAuxMatch(path: string, pageAppNamespace: string): AuxMatch<string, Record<string, unknown>> | null;
|
|
16
|
+
declare function getPageMatch(pathname: string): null | PageMatch<string, Record<string, unknown>>;
|
|
17
|
+
declare function getAuxMatch(hash: string | null | undefined, implicitAppNamespace: string): AuxMatch<string, Record<string, unknown>> | null;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { AuxMatch, PageMatch, findAuxMatch, findPageMatch, getAuxMatch, getPageMatch, safeDecodeURIComponent };
|
|
@@ -1,78 +1,80 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
exports.findPageMatch = findPageMatch;
|
|
5
|
-
exports.findAuxMatch = findAuxMatch;
|
|
6
|
-
exports.getPageMatch = getPageMatch;
|
|
7
|
-
exports.getAuxMatch = getAuxMatch;
|
|
8
|
-
const react_router_dom_1 = require("react-router-dom");
|
|
9
|
-
const routes_1 = require("./routes");
|
|
10
|
-
// History lesson: at some point we've encoded space with "–" and then decided to use "_"
|
|
11
|
-
// Need to support both old URLs and new ones
|
|
1
|
+
import { ORDERED_AUX_ROUTES, ORDERED_PAGE_ROUTES, ROUTES_WITH_PRESERVED_UNDERSCORES_LOOKUP } from "./routes.js";
|
|
2
|
+
import { matchPath } from "react-router-dom";
|
|
3
|
+
//#region src/parse-page-location.ts
|
|
12
4
|
const decodeDashesToSpaces = (str = "") => str.replace(/–/g, " ");
|
|
13
5
|
const decodeUnderscoresToSpaces = (str = "") => str.replace(/_/g, " ");
|
|
14
6
|
const isTest = process.env.NODE_ENV === "test";
|
|
15
7
|
function notEmpty(value) {
|
|
16
|
-
|
|
8
|
+
return value !== null && value !== void 0;
|
|
17
9
|
}
|
|
18
10
|
const findTruthy = (items, transform) => {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
return results[0] || null;
|
|
11
|
+
const results = items.map(transform).filter(notEmpty);
|
|
12
|
+
if (isTest && results.length > 1) throw new Error(`Found more than one route: ` + JSON.stringify(results, null, 2));
|
|
13
|
+
return results[0] || null;
|
|
24
14
|
};
|
|
25
15
|
function safeDecodeURIComponent(maybeEncodedPath) {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
// we don't care, expected to fail in case already decoded path was provided, but includes %, e.g. '% Done'
|
|
32
|
-
// all react-router code (useLocation, usePageMatch) provides already decoded value
|
|
33
|
-
// but we also sometimes make path manually using makePath (which is encoded) and then trying to findPageMatch which provides wrong results
|
|
34
|
-
}
|
|
35
|
-
return path;
|
|
16
|
+
let path = maybeEncodedPath;
|
|
17
|
+
try {
|
|
18
|
+
path = decodeURIComponent(maybeEncodedPath);
|
|
19
|
+
} catch {}
|
|
20
|
+
return path;
|
|
36
21
|
}
|
|
37
|
-
// As it is written right now doesn't work with enums (Object Editor in fullscreen)
|
|
38
22
|
function findPageMatch(maybeEncodedPath) {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
23
|
+
const path = safeDecodeURIComponent(maybeEncodedPath);
|
|
24
|
+
const processedPath = decodeUnderscoresToSpaces(decodeDashesToSpaces(path));
|
|
25
|
+
return findTruthy(ORDERED_PAGE_ROUTES, ([page, route]) => {
|
|
26
|
+
const match = matchPath(processedPath, {
|
|
27
|
+
path: route,
|
|
28
|
+
exact: true
|
|
29
|
+
});
|
|
30
|
+
return match ? {
|
|
31
|
+
page,
|
|
32
|
+
params: match.params,
|
|
33
|
+
isFavorite: false,
|
|
34
|
+
matchedPath: match.path
|
|
35
|
+
} : null;
|
|
36
|
+
});
|
|
45
37
|
}
|
|
46
38
|
function findAuxMatch(path, pageAppNamespace) {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
39
|
+
const decodedPath = decodeDashesToSpaces(path);
|
|
40
|
+
return findTruthy(ORDERED_AUX_ROUTES, ([aux, route]) => {
|
|
41
|
+
const match = matchPath(decodedPath, {
|
|
42
|
+
path: route,
|
|
43
|
+
exact: true
|
|
44
|
+
});
|
|
45
|
+
if (!match) return null;
|
|
46
|
+
if (ROUTES_WITH_PRESERVED_UNDERSCORES_LOOKUP[aux]) return {
|
|
47
|
+
aux,
|
|
48
|
+
params: match.params,
|
|
49
|
+
pageAppNamespace
|
|
50
|
+
};
|
|
51
|
+
return {
|
|
52
|
+
aux,
|
|
53
|
+
params: matchPath(decodeUnderscoresToSpaces(decodedPath), {
|
|
54
|
+
path: route,
|
|
55
|
+
exact: true
|
|
56
|
+
})?.params ?? {},
|
|
57
|
+
pageAppNamespace
|
|
58
|
+
};
|
|
59
|
+
});
|
|
59
60
|
}
|
|
60
61
|
function getPageMatch(pathname) {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
62
|
+
const pageMatch = findPageMatch(pathname);
|
|
63
|
+
if (pageMatch === null) return null;
|
|
64
|
+
if (pageMatch.page === ":page/favorite") {
|
|
65
|
+
const partsPageMatch = findPageMatch(`/${pageMatch.params.parts}`);
|
|
66
|
+
if (partsPageMatch === null) return null;
|
|
67
|
+
return {
|
|
68
|
+
...partsPageMatch,
|
|
69
|
+
isFavorite: true
|
|
70
|
+
};
|
|
71
|
+
} else return {
|
|
72
|
+
...pageMatch,
|
|
73
|
+
isFavorite: false
|
|
74
|
+
};
|
|
75
75
|
}
|
|
76
76
|
function getAuxMatch(hash, implicitAppNamespace) {
|
|
77
|
-
|
|
77
|
+
return hash ? findAuxMatch(decodeURIComponent(hash.slice(1)), implicitAppNamespace) : null;
|
|
78
78
|
}
|
|
79
|
+
//#endregion
|
|
80
|
+
export { findAuxMatch, findPageMatch, getAuxMatch, getPageMatch, safeDecodeURIComponent };
|
package/lib/routes.d.ts
CHANGED
|
@@ -1,34 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
1
|
+
//#region src/routes.d.ts
|
|
2
|
+
declare const appIndexViewLocator = "views";
|
|
3
|
+
declare const userAccessViewLocator = "access";
|
|
4
|
+
declare const specificObjectViewsCatalogViewLocator = "views";
|
|
5
|
+
declare const deprecatedSpecificObjectEditorViewLocator = "edit";
|
|
6
|
+
declare const specificObjectUnknownObjectLocator = "any";
|
|
7
|
+
declare const specificObjectEditorViewLocator: null;
|
|
8
|
+
declare const appTypeModePage = "/fibery/space/:appNamespace/:mode/:typeWithoutNamespace";
|
|
9
|
+
declare const appTypeModeSubPage = "/fibery/space/:appNamespace/:mode/:typeWithoutNamespace/:subPage";
|
|
10
|
+
declare const appTypeModeAutomationBasePage = "/fibery/space/:appNamespace/:mode/:typeWithoutNamespace/:subPage/:automationType/:automationItemId";
|
|
11
|
+
declare const appTypeModeAccessTemplatePage = "/fibery/space/:appNamespace/:mode/:typeWithoutNamespace/:subPage/access-templates/:accessTemplateId";
|
|
12
|
+
declare const appTypeModeFormPage = "/fibery/space/:appNamespace/:mode/:typeWithoutNamespace/:subPage/form/:formId";
|
|
13
|
+
declare const appTypeModeAutomationSpecificPage = "/fibery/space/:appNamespace/:mode/:typeWithoutNamespace/:subPage/:automationType/:automationItemId/:automationMode";
|
|
14
|
+
declare const appTypeModeFieldEditPage = "/fibery/space/:appNamespace/:mode/:typeWithoutNamespace/:subPage/:fieldTitle/edit";
|
|
15
|
+
declare const appTypeModeGroupEditPage = "/fibery/space/:appNamespace/:mode/:typeWithoutNamespace/:subPage/:typeId/members";
|
|
16
|
+
declare const appModePage = "/fibery/space/:appNamespace/:mode";
|
|
17
|
+
declare const appTypeModePageView: string;
|
|
18
|
+
declare const formsPublicPage = "/@public/forms/:formKey";
|
|
19
|
+
declare const highlightTypePage = "/fibery/settings/:subsection(highlights)/:typeWithoutNamespace";
|
|
20
|
+
declare const highlightTypeFieldEditPage = "/fibery/settings/:subsection(highlights)/:typeWithoutNamespace/fields/:fieldWithoutNamespace/edit";
|
|
21
|
+
declare const integrationSettingPage = "/fibery/settings/:subsection(integrations)/:templateId";
|
|
22
|
+
declare const personalIntegrationSettingPage = "/fibery/settings/:subsection(personal-integrations)/:integrationId";
|
|
23
|
+
declare const typeAccessTemplateSettingPage = "/fibery/settings/:subsection(database-access-templates)/:templateId";
|
|
24
|
+
declare const isSettingsPage: (page?: string) => boolean;
|
|
25
|
+
declare const ORDERED_PAGE_ROUTES: Array<[string, string]>;
|
|
26
|
+
declare const PAGE_ROUTES: import("lodash").Dictionary<string>;
|
|
27
|
+
declare const ORDERED_COMMON_AUX_ROUTES: Array<[string, string]>;
|
|
28
|
+
declare const ORDERED_AUX_ROUTES: Array<[string, string]>;
|
|
29
|
+
declare const AUX_ROUTES: import("lodash").Dictionary<string>;
|
|
30
|
+
declare const AUX_ROUTES_PATTERNS: string[];
|
|
31
|
+
declare const ROUTES_WITH_PRESERVED_UNDERSCORES_LOOKUP: {
|
|
32
|
+
[k: string]: boolean;
|
|
31
33
|
};
|
|
32
|
-
|
|
33
|
-
|
|
34
|
+
declare const ROUTES_WITH_PRESERVED_UNDERSCORES_PATTERNS_LOOKUP: {
|
|
35
|
+
[k: string]: boolean;
|
|
34
36
|
};
|
|
37
|
+
//#endregion
|
|
38
|
+
export { AUX_ROUTES, AUX_ROUTES_PATTERNS, ORDERED_AUX_ROUTES, ORDERED_COMMON_AUX_ROUTES, ORDERED_PAGE_ROUTES, PAGE_ROUTES, ROUTES_WITH_PRESERVED_UNDERSCORES_LOOKUP, ROUTES_WITH_PRESERVED_UNDERSCORES_PATTERNS_LOOKUP, appIndexViewLocator, appModePage, appTypeModeAccessTemplatePage, appTypeModeAutomationBasePage, appTypeModeAutomationSpecificPage, appTypeModeFieldEditPage, appTypeModeFormPage, appTypeModeGroupEditPage, appTypeModePage, appTypeModePageView, appTypeModeSubPage, deprecatedSpecificObjectEditorViewLocator, formsPublicPage, highlightTypeFieldEditPage, highlightTypePage, integrationSettingPage, isSettingsPage, personalIntegrationSettingPage, specificObjectEditorViewLocator, specificObjectUnknownObjectLocator, specificObjectViewsCatalogViewLocator, typeAccessTemplateSettingPage, userAccessViewLocator };
|