@okf/ootils 1.29.1 → 1.29.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/dist/browser.d.mts +13 -1
- package/dist/browser.d.ts +13 -1
- package/dist/browser.js +12 -0
- package/dist/browser.mjs +11 -0
- package/dist/node.d.mts +13 -1
- package/dist/node.d.ts +13 -1
- package/dist/node.js +12 -0
- package/dist/node.mjs +11 -0
- package/dist/universal.d.mts +13 -1
- package/dist/universal.d.ts +13 -1
- package/dist/universal.js +12 -0
- package/dist/universal.mjs +11 -0
- package/package.json +1 -1
package/dist/browser.d.mts
CHANGED
|
@@ -898,6 +898,18 @@ declare const getRoutePathToReviewDashboard: ({ SELF_MANAGED_BASE_CONFIGS, activ
|
|
|
898
898
|
activeTab?: string;
|
|
899
899
|
}) => string;
|
|
900
900
|
|
|
901
|
+
declare const getRoutePathToTCI: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
|
|
902
|
+
contentType: string;
|
|
903
|
+
SELF_MANAGED_BASE_CONFIGS?: {
|
|
904
|
+
enable?: boolean;
|
|
905
|
+
contentPageRelated?: {
|
|
906
|
+
linkToTCI?: string;
|
|
907
|
+
[key: string]: any;
|
|
908
|
+
};
|
|
909
|
+
[key: string]: any;
|
|
910
|
+
};
|
|
911
|
+
}) => string;
|
|
912
|
+
|
|
901
913
|
declare const buildFilterConfigurations: ({ groups, type, selectedTpls, allTpls, isRollup, isAnno }: {
|
|
902
914
|
groups: any[];
|
|
903
915
|
type: string;
|
|
@@ -1339,4 +1351,4 @@ declare const UI_CONTENT: {
|
|
|
1339
1351
|
*/
|
|
1340
1352
|
declare const genCleanCamelCaseId: (id: string) => string;
|
|
1341
1353
|
|
|
1342
|
-
export { BASE_BULLMQ_CONFIG, FILTER_IDS, TEMP_removeDuplicateFilters, UI_CONTENT, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getFilterKeyForBlock, getPlatformContextContent, getRollupPossibilities, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
|
|
1354
|
+
export { BASE_BULLMQ_CONFIG, FILTER_IDS, TEMP_removeDuplicateFilters, UI_CONTENT, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getFilterKeyForBlock, getPlatformContextContent, getRollupPossibilities, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getRoutePathToTCI, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
|
package/dist/browser.d.ts
CHANGED
|
@@ -898,6 +898,18 @@ declare const getRoutePathToReviewDashboard: ({ SELF_MANAGED_BASE_CONFIGS, activ
|
|
|
898
898
|
activeTab?: string;
|
|
899
899
|
}) => string;
|
|
900
900
|
|
|
901
|
+
declare const getRoutePathToTCI: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
|
|
902
|
+
contentType: string;
|
|
903
|
+
SELF_MANAGED_BASE_CONFIGS?: {
|
|
904
|
+
enable?: boolean;
|
|
905
|
+
contentPageRelated?: {
|
|
906
|
+
linkToTCI?: string;
|
|
907
|
+
[key: string]: any;
|
|
908
|
+
};
|
|
909
|
+
[key: string]: any;
|
|
910
|
+
};
|
|
911
|
+
}) => string;
|
|
912
|
+
|
|
901
913
|
declare const buildFilterConfigurations: ({ groups, type, selectedTpls, allTpls, isRollup, isAnno }: {
|
|
902
914
|
groups: any[];
|
|
903
915
|
type: string;
|
|
@@ -1339,4 +1351,4 @@ declare const UI_CONTENT: {
|
|
|
1339
1351
|
*/
|
|
1340
1352
|
declare const genCleanCamelCaseId: (id: string) => string;
|
|
1341
1353
|
|
|
1342
|
-
export { BASE_BULLMQ_CONFIG, FILTER_IDS, TEMP_removeDuplicateFilters, UI_CONTENT, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getFilterKeyForBlock, getPlatformContextContent, getRollupPossibilities, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
|
|
1354
|
+
export { BASE_BULLMQ_CONFIG, FILTER_IDS, TEMP_removeDuplicateFilters, UI_CONTENT, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getFilterKeyForBlock, getPlatformContextContent, getRollupPossibilities, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getRoutePathToTCI, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
|
package/dist/browser.js
CHANGED
|
@@ -45,6 +45,7 @@ __export(browser_exports, {
|
|
|
45
45
|
getRoutePathToMyContent: () => getRoutePathToMyContent,
|
|
46
46
|
getRoutePathToPublishedContent: () => getRoutePathToPublishedContent,
|
|
47
47
|
getRoutePathToReviewDashboard: () => getRoutePathToReviewDashboard,
|
|
48
|
+
getRoutePathToTCI: () => getRoutePathToTCI,
|
|
48
49
|
getVal: () => getVal,
|
|
49
50
|
mergeAnnoDataIntoAnnotationsTags: () => mergeAnnoDataIntoAnnotationsTags,
|
|
50
51
|
parseSpecialConfigSyntax: () => parseSpecialConfigSyntax,
|
|
@@ -1012,6 +1013,16 @@ var getRoutePathToReviewDashboard = ({ SELF_MANAGED_BASE_CONFIGS, activeTab } =
|
|
|
1012
1013
|
return activeTab ? `${base}?activeTab=${activeTab}` : base;
|
|
1013
1014
|
};
|
|
1014
1015
|
|
|
1016
|
+
// src/utils/routePathGenerators/getRoutePathToTCI.ts
|
|
1017
|
+
var getRoutePathToTCI = ({
|
|
1018
|
+
contentType,
|
|
1019
|
+
SELF_MANAGED_BASE_CONFIGS
|
|
1020
|
+
}) => {
|
|
1021
|
+
const sm_link = SELF_MANAGED_BASE_CONFIGS?.contentPageRelated?.linkToTCI;
|
|
1022
|
+
const standard_link = `/tci/${contentType}`;
|
|
1023
|
+
return sm_link ? parseSpecialConfigSyntax({ config: sm_link, content: { contentType } }) : standard_link;
|
|
1024
|
+
};
|
|
1025
|
+
|
|
1015
1026
|
// src/UI_CONTENT.ts
|
|
1016
1027
|
var UI_CONTENT = {
|
|
1017
1028
|
autoGenFilterConfigs: {
|
|
@@ -2221,6 +2232,7 @@ var genCleanCamelCaseId = (id) => {
|
|
|
2221
2232
|
getRoutePathToMyContent,
|
|
2222
2233
|
getRoutePathToPublishedContent,
|
|
2223
2234
|
getRoutePathToReviewDashboard,
|
|
2235
|
+
getRoutePathToTCI,
|
|
2224
2236
|
getVal,
|
|
2225
2237
|
mergeAnnoDataIntoAnnotationsTags,
|
|
2226
2238
|
parseSpecialConfigSyntax,
|
package/dist/browser.mjs
CHANGED
|
@@ -954,6 +954,16 @@ var getRoutePathToReviewDashboard = ({ SELF_MANAGED_BASE_CONFIGS, activeTab } =
|
|
|
954
954
|
return activeTab ? `${base}?activeTab=${activeTab}` : base;
|
|
955
955
|
};
|
|
956
956
|
|
|
957
|
+
// src/utils/routePathGenerators/getRoutePathToTCI.ts
|
|
958
|
+
var getRoutePathToTCI = ({
|
|
959
|
+
contentType,
|
|
960
|
+
SELF_MANAGED_BASE_CONFIGS
|
|
961
|
+
}) => {
|
|
962
|
+
const sm_link = SELF_MANAGED_BASE_CONFIGS?.contentPageRelated?.linkToTCI;
|
|
963
|
+
const standard_link = `/tci/${contentType}`;
|
|
964
|
+
return sm_link ? parseSpecialConfigSyntax({ config: sm_link, content: { contentType } }) : standard_link;
|
|
965
|
+
};
|
|
966
|
+
|
|
957
967
|
// src/UI_CONTENT.ts
|
|
958
968
|
var UI_CONTENT = {
|
|
959
969
|
autoGenFilterConfigs: {
|
|
@@ -2162,6 +2172,7 @@ export {
|
|
|
2162
2172
|
getRoutePathToMyContent,
|
|
2163
2173
|
getRoutePathToPublishedContent,
|
|
2164
2174
|
getRoutePathToReviewDashboard,
|
|
2175
|
+
getRoutePathToTCI,
|
|
2165
2176
|
getVal,
|
|
2166
2177
|
mergeAnnoDataIntoAnnotationsTags,
|
|
2167
2178
|
parseSpecialConfigSyntax,
|
package/dist/node.d.mts
CHANGED
|
@@ -905,6 +905,18 @@ declare const getRoutePathToReviewDashboard: ({ SELF_MANAGED_BASE_CONFIGS, activ
|
|
|
905
905
|
activeTab?: string;
|
|
906
906
|
}) => string;
|
|
907
907
|
|
|
908
|
+
declare const getRoutePathToTCI: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
|
|
909
|
+
contentType: string;
|
|
910
|
+
SELF_MANAGED_BASE_CONFIGS?: {
|
|
911
|
+
enable?: boolean;
|
|
912
|
+
contentPageRelated?: {
|
|
913
|
+
linkToTCI?: string;
|
|
914
|
+
[key: string]: any;
|
|
915
|
+
};
|
|
916
|
+
[key: string]: any;
|
|
917
|
+
};
|
|
918
|
+
}) => string;
|
|
919
|
+
|
|
908
920
|
declare const buildFilterConfigurations: ({ groups, type, selectedTpls, allTpls, isRollup, isAnno }: {
|
|
909
921
|
groups: any[];
|
|
910
922
|
type: string;
|
|
@@ -2076,4 +2088,4 @@ declare function GET_GLOBAL_BULLMQ_CONFIG({ env, redisCredentials }: {
|
|
|
2076
2088
|
};
|
|
2077
2089
|
}): Object;
|
|
2078
2090
|
|
|
2079
|
-
export { AIChatSchema, AnnosElasticSyncProducer, AnnotationSchema, BASE_BULLMQ_CONFIG, BaseProducer, BaseWorker, ChunksElasticSyncProducer, ElasticSearchConnector, FILTER_IDS, GET_GLOBAL_BULLMQ_CONFIG, GeneratedEntitiesSchema, GeneratedTopicsSchema, MongoConnector, PlatformConfigsSchema, ProducerManager, RedisCacheConnector, SecretManagerConnector, TEMP_removeDuplicateFilters, TplSchema, UI_CONTENT, WorkerManager, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getAIChatModelByTenant, getAnnotationsModelByTenant, getDbByTenant, getFilterKeyForBlock, getGeneratedEntitiesModelByTenant, getGeneratedTopicsModelByTenant, getModelByTenant, getPlatformConfigsModelByTenant, getPlatformContextContent, getRollupPossibilities, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getTplModelByTenant, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
|
|
2091
|
+
export { AIChatSchema, AnnosElasticSyncProducer, AnnotationSchema, BASE_BULLMQ_CONFIG, BaseProducer, BaseWorker, ChunksElasticSyncProducer, ElasticSearchConnector, FILTER_IDS, GET_GLOBAL_BULLMQ_CONFIG, GeneratedEntitiesSchema, GeneratedTopicsSchema, MongoConnector, PlatformConfigsSchema, ProducerManager, RedisCacheConnector, SecretManagerConnector, TEMP_removeDuplicateFilters, TplSchema, UI_CONTENT, WorkerManager, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getAIChatModelByTenant, getAnnotationsModelByTenant, getDbByTenant, getFilterKeyForBlock, getGeneratedEntitiesModelByTenant, getGeneratedTopicsModelByTenant, getModelByTenant, getPlatformConfigsModelByTenant, getPlatformContextContent, getRollupPossibilities, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getRoutePathToTCI, getTplModelByTenant, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
|
package/dist/node.d.ts
CHANGED
|
@@ -905,6 +905,18 @@ declare const getRoutePathToReviewDashboard: ({ SELF_MANAGED_BASE_CONFIGS, activ
|
|
|
905
905
|
activeTab?: string;
|
|
906
906
|
}) => string;
|
|
907
907
|
|
|
908
|
+
declare const getRoutePathToTCI: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
|
|
909
|
+
contentType: string;
|
|
910
|
+
SELF_MANAGED_BASE_CONFIGS?: {
|
|
911
|
+
enable?: boolean;
|
|
912
|
+
contentPageRelated?: {
|
|
913
|
+
linkToTCI?: string;
|
|
914
|
+
[key: string]: any;
|
|
915
|
+
};
|
|
916
|
+
[key: string]: any;
|
|
917
|
+
};
|
|
918
|
+
}) => string;
|
|
919
|
+
|
|
908
920
|
declare const buildFilterConfigurations: ({ groups, type, selectedTpls, allTpls, isRollup, isAnno }: {
|
|
909
921
|
groups: any[];
|
|
910
922
|
type: string;
|
|
@@ -2076,4 +2088,4 @@ declare function GET_GLOBAL_BULLMQ_CONFIG({ env, redisCredentials }: {
|
|
|
2076
2088
|
};
|
|
2077
2089
|
}): Object;
|
|
2078
2090
|
|
|
2079
|
-
export { AIChatSchema, AnnosElasticSyncProducer, AnnotationSchema, BASE_BULLMQ_CONFIG, BaseProducer, BaseWorker, ChunksElasticSyncProducer, ElasticSearchConnector, FILTER_IDS, GET_GLOBAL_BULLMQ_CONFIG, GeneratedEntitiesSchema, GeneratedTopicsSchema, MongoConnector, PlatformConfigsSchema, ProducerManager, RedisCacheConnector, SecretManagerConnector, TEMP_removeDuplicateFilters, TplSchema, UI_CONTENT, WorkerManager, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getAIChatModelByTenant, getAnnotationsModelByTenant, getDbByTenant, getFilterKeyForBlock, getGeneratedEntitiesModelByTenant, getGeneratedTopicsModelByTenant, getModelByTenant, getPlatformConfigsModelByTenant, getPlatformContextContent, getRollupPossibilities, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getTplModelByTenant, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
|
|
2091
|
+
export { AIChatSchema, AnnosElasticSyncProducer, AnnotationSchema, BASE_BULLMQ_CONFIG, BaseProducer, BaseWorker, ChunksElasticSyncProducer, ElasticSearchConnector, FILTER_IDS, GET_GLOBAL_BULLMQ_CONFIG, GeneratedEntitiesSchema, GeneratedTopicsSchema, MongoConnector, PlatformConfigsSchema, ProducerManager, RedisCacheConnector, SecretManagerConnector, TEMP_removeDuplicateFilters, TplSchema, UI_CONTENT, WorkerManager, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getAIChatModelByTenant, getAnnotationsModelByTenant, getDbByTenant, getFilterKeyForBlock, getGeneratedEntitiesModelByTenant, getGeneratedTopicsModelByTenant, getModelByTenant, getPlatformConfigsModelByTenant, getPlatformContextContent, getRollupPossibilities, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getRoutePathToTCI, getTplModelByTenant, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
|
package/dist/node.js
CHANGED
|
@@ -1990,6 +1990,7 @@ __export(node_exports, {
|
|
|
1990
1990
|
getRoutePathToMyContent: () => getRoutePathToMyContent,
|
|
1991
1991
|
getRoutePathToPublishedContent: () => getRoutePathToPublishedContent,
|
|
1992
1992
|
getRoutePathToReviewDashboard: () => getRoutePathToReviewDashboard,
|
|
1993
|
+
getRoutePathToTCI: () => getRoutePathToTCI,
|
|
1993
1994
|
getTplModelByTenant: () => import_getModelByTenant2.getTplModelByTenant,
|
|
1994
1995
|
getVal: () => getVal,
|
|
1995
1996
|
mergeAnnoDataIntoAnnotationsTags: () => mergeAnnoDataIntoAnnotationsTags,
|
|
@@ -2606,6 +2607,16 @@ var getRoutePathToReviewDashboard = ({ SELF_MANAGED_BASE_CONFIGS, activeTab } =
|
|
|
2606
2607
|
return activeTab ? `${base}?activeTab=${activeTab}` : base;
|
|
2607
2608
|
};
|
|
2608
2609
|
|
|
2610
|
+
// src/utils/routePathGenerators/getRoutePathToTCI.ts
|
|
2611
|
+
var getRoutePathToTCI = ({
|
|
2612
|
+
contentType,
|
|
2613
|
+
SELF_MANAGED_BASE_CONFIGS
|
|
2614
|
+
}) => {
|
|
2615
|
+
const sm_link = SELF_MANAGED_BASE_CONFIGS?.contentPageRelated?.linkToTCI;
|
|
2616
|
+
const standard_link = `/tci/${contentType}`;
|
|
2617
|
+
return sm_link ? parseSpecialConfigSyntax({ config: sm_link, content: { contentType } }) : standard_link;
|
|
2618
|
+
};
|
|
2619
|
+
|
|
2609
2620
|
// src/UI_CONTENT.ts
|
|
2610
2621
|
var UI_CONTENT = {
|
|
2611
2622
|
autoGenFilterConfigs: {
|
|
@@ -4223,6 +4234,7 @@ var import_GET_GLOBAL_BULLMQ_CONFIG = __toESM(require_GET_GLOBAL_BULLMQ_CONFIG()
|
|
|
4223
4234
|
getRoutePathToMyContent,
|
|
4224
4235
|
getRoutePathToPublishedContent,
|
|
4225
4236
|
getRoutePathToReviewDashboard,
|
|
4237
|
+
getRoutePathToTCI,
|
|
4226
4238
|
getTplModelByTenant,
|
|
4227
4239
|
getVal,
|
|
4228
4240
|
mergeAnnoDataIntoAnnotationsTags,
|
package/dist/node.mjs
CHANGED
|
@@ -2547,6 +2547,16 @@ var getRoutePathToReviewDashboard = ({ SELF_MANAGED_BASE_CONFIGS, activeTab } =
|
|
|
2547
2547
|
return activeTab ? `${base}?activeTab=${activeTab}` : base;
|
|
2548
2548
|
};
|
|
2549
2549
|
|
|
2550
|
+
// src/utils/routePathGenerators/getRoutePathToTCI.ts
|
|
2551
|
+
var getRoutePathToTCI = ({
|
|
2552
|
+
contentType,
|
|
2553
|
+
SELF_MANAGED_BASE_CONFIGS
|
|
2554
|
+
}) => {
|
|
2555
|
+
const sm_link = SELF_MANAGED_BASE_CONFIGS?.contentPageRelated?.linkToTCI;
|
|
2556
|
+
const standard_link = `/tci/${contentType}`;
|
|
2557
|
+
return sm_link ? parseSpecialConfigSyntax({ config: sm_link, content: { contentType } }) : standard_link;
|
|
2558
|
+
};
|
|
2559
|
+
|
|
2550
2560
|
// src/UI_CONTENT.ts
|
|
2551
2561
|
var UI_CONTENT = {
|
|
2552
2562
|
autoGenFilterConfigs: {
|
|
@@ -4179,6 +4189,7 @@ export {
|
|
|
4179
4189
|
getRoutePathToMyContent,
|
|
4180
4190
|
getRoutePathToPublishedContent,
|
|
4181
4191
|
getRoutePathToReviewDashboard,
|
|
4192
|
+
getRoutePathToTCI,
|
|
4182
4193
|
export_getTplModelByTenant as getTplModelByTenant,
|
|
4183
4194
|
getVal,
|
|
4184
4195
|
mergeAnnoDataIntoAnnotationsTags,
|
package/dist/universal.d.mts
CHANGED
|
@@ -898,6 +898,18 @@ declare const getRoutePathToReviewDashboard: ({ SELF_MANAGED_BASE_CONFIGS, activ
|
|
|
898
898
|
activeTab?: string;
|
|
899
899
|
}) => string;
|
|
900
900
|
|
|
901
|
+
declare const getRoutePathToTCI: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
|
|
902
|
+
contentType: string;
|
|
903
|
+
SELF_MANAGED_BASE_CONFIGS?: {
|
|
904
|
+
enable?: boolean;
|
|
905
|
+
contentPageRelated?: {
|
|
906
|
+
linkToTCI?: string;
|
|
907
|
+
[key: string]: any;
|
|
908
|
+
};
|
|
909
|
+
[key: string]: any;
|
|
910
|
+
};
|
|
911
|
+
}) => string;
|
|
912
|
+
|
|
901
913
|
declare const buildFilterConfigurations: ({ groups, type, selectedTpls, allTpls, isRollup, isAnno }: {
|
|
902
914
|
groups: any[];
|
|
903
915
|
type: string;
|
|
@@ -1339,4 +1351,4 @@ declare const UI_CONTENT: {
|
|
|
1339
1351
|
*/
|
|
1340
1352
|
declare const genCleanCamelCaseId: (id: string) => string;
|
|
1341
1353
|
|
|
1342
|
-
export { BASE_BULLMQ_CONFIG, FILTER_IDS, TEMP_removeDuplicateFilters, UI_CONTENT, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getFilterKeyForBlock, getPlatformContextContent, getRollupPossibilities, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
|
|
1354
|
+
export { BASE_BULLMQ_CONFIG, FILTER_IDS, TEMP_removeDuplicateFilters, UI_CONTENT, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getFilterKeyForBlock, getPlatformContextContent, getRollupPossibilities, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getRoutePathToTCI, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
|
package/dist/universal.d.ts
CHANGED
|
@@ -898,6 +898,18 @@ declare const getRoutePathToReviewDashboard: ({ SELF_MANAGED_BASE_CONFIGS, activ
|
|
|
898
898
|
activeTab?: string;
|
|
899
899
|
}) => string;
|
|
900
900
|
|
|
901
|
+
declare const getRoutePathToTCI: ({ contentType, SELF_MANAGED_BASE_CONFIGS, }: {
|
|
902
|
+
contentType: string;
|
|
903
|
+
SELF_MANAGED_BASE_CONFIGS?: {
|
|
904
|
+
enable?: boolean;
|
|
905
|
+
contentPageRelated?: {
|
|
906
|
+
linkToTCI?: string;
|
|
907
|
+
[key: string]: any;
|
|
908
|
+
};
|
|
909
|
+
[key: string]: any;
|
|
910
|
+
};
|
|
911
|
+
}) => string;
|
|
912
|
+
|
|
901
913
|
declare const buildFilterConfigurations: ({ groups, type, selectedTpls, allTpls, isRollup, isAnno }: {
|
|
902
914
|
groups: any[];
|
|
903
915
|
type: string;
|
|
@@ -1339,4 +1351,4 @@ declare const UI_CONTENT: {
|
|
|
1339
1351
|
*/
|
|
1340
1352
|
declare const genCleanCamelCaseId: (id: string) => string;
|
|
1341
1353
|
|
|
1342
|
-
export { BASE_BULLMQ_CONFIG, FILTER_IDS, TEMP_removeDuplicateFilters, UI_CONTENT, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getFilterKeyForBlock, getPlatformContextContent, getRollupPossibilities, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
|
|
1354
|
+
export { BASE_BULLMQ_CONFIG, FILTER_IDS, TEMP_removeDuplicateFilters, UI_CONTENT, _self_managed_buildAnnoHierarchyConfig, _self_managed_buildDocHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genCleanCamelCaseId, genTagId, generateFilterKey, getFilterKeyForBlock, getPlatformContextContent, getRollupPossibilities, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToMyContent, getRoutePathToPublishedContent, getRoutePathToReviewDashboard, getRoutePathToTCI, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
|
package/dist/universal.js
CHANGED
|
@@ -45,6 +45,7 @@ __export(universal_exports, {
|
|
|
45
45
|
getRoutePathToMyContent: () => getRoutePathToMyContent,
|
|
46
46
|
getRoutePathToPublishedContent: () => getRoutePathToPublishedContent,
|
|
47
47
|
getRoutePathToReviewDashboard: () => getRoutePathToReviewDashboard,
|
|
48
|
+
getRoutePathToTCI: () => getRoutePathToTCI,
|
|
48
49
|
getVal: () => getVal,
|
|
49
50
|
mergeAnnoDataIntoAnnotationsTags: () => mergeAnnoDataIntoAnnotationsTags,
|
|
50
51
|
parseSpecialConfigSyntax: () => parseSpecialConfigSyntax,
|
|
@@ -1012,6 +1013,16 @@ var getRoutePathToReviewDashboard = ({ SELF_MANAGED_BASE_CONFIGS, activeTab } =
|
|
|
1012
1013
|
return activeTab ? `${base}?activeTab=${activeTab}` : base;
|
|
1013
1014
|
};
|
|
1014
1015
|
|
|
1016
|
+
// src/utils/routePathGenerators/getRoutePathToTCI.ts
|
|
1017
|
+
var getRoutePathToTCI = ({
|
|
1018
|
+
contentType,
|
|
1019
|
+
SELF_MANAGED_BASE_CONFIGS
|
|
1020
|
+
}) => {
|
|
1021
|
+
const sm_link = SELF_MANAGED_BASE_CONFIGS?.contentPageRelated?.linkToTCI;
|
|
1022
|
+
const standard_link = `/tci/${contentType}`;
|
|
1023
|
+
return sm_link ? parseSpecialConfigSyntax({ config: sm_link, content: { contentType } }) : standard_link;
|
|
1024
|
+
};
|
|
1025
|
+
|
|
1015
1026
|
// src/UI_CONTENT.ts
|
|
1016
1027
|
var UI_CONTENT = {
|
|
1017
1028
|
autoGenFilterConfigs: {
|
|
@@ -2221,6 +2232,7 @@ var genCleanCamelCaseId = (id) => {
|
|
|
2221
2232
|
getRoutePathToMyContent,
|
|
2222
2233
|
getRoutePathToPublishedContent,
|
|
2223
2234
|
getRoutePathToReviewDashboard,
|
|
2235
|
+
getRoutePathToTCI,
|
|
2224
2236
|
getVal,
|
|
2225
2237
|
mergeAnnoDataIntoAnnotationsTags,
|
|
2226
2238
|
parseSpecialConfigSyntax,
|
package/dist/universal.mjs
CHANGED
|
@@ -954,6 +954,16 @@ var getRoutePathToReviewDashboard = ({ SELF_MANAGED_BASE_CONFIGS, activeTab } =
|
|
|
954
954
|
return activeTab ? `${base}?activeTab=${activeTab}` : base;
|
|
955
955
|
};
|
|
956
956
|
|
|
957
|
+
// src/utils/routePathGenerators/getRoutePathToTCI.ts
|
|
958
|
+
var getRoutePathToTCI = ({
|
|
959
|
+
contentType,
|
|
960
|
+
SELF_MANAGED_BASE_CONFIGS
|
|
961
|
+
}) => {
|
|
962
|
+
const sm_link = SELF_MANAGED_BASE_CONFIGS?.contentPageRelated?.linkToTCI;
|
|
963
|
+
const standard_link = `/tci/${contentType}`;
|
|
964
|
+
return sm_link ? parseSpecialConfigSyntax({ config: sm_link, content: { contentType } }) : standard_link;
|
|
965
|
+
};
|
|
966
|
+
|
|
957
967
|
// src/UI_CONTENT.ts
|
|
958
968
|
var UI_CONTENT = {
|
|
959
969
|
autoGenFilterConfigs: {
|
|
@@ -2162,6 +2172,7 @@ export {
|
|
|
2162
2172
|
getRoutePathToMyContent,
|
|
2163
2173
|
getRoutePathToPublishedContent,
|
|
2164
2174
|
getRoutePathToReviewDashboard,
|
|
2175
|
+
getRoutePathToTCI,
|
|
2165
2176
|
getVal,
|
|
2166
2177
|
mergeAnnoDataIntoAnnotationsTags,
|
|
2167
2178
|
parseSpecialConfigSyntax,
|