mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-09-26 17:52:59 +02:00
remove tools (#4513)
This commit is contained in:
parent
d1e82eb8f1
commit
b35447934e
@ -579,9 +579,9 @@
|
|||||||
"title": "API Documentation",
|
"title": "API Documentation",
|
||||||
"desc": "View API documentation and test endpoints"
|
"desc": "View API documentation and test endpoints"
|
||||||
},
|
},
|
||||||
"fakeScan": {
|
"scannerEffect": {
|
||||||
"tags": "scan,simulate,create",
|
"tags": "scan,simulate,create",
|
||||||
"title": "Fake Scan",
|
"title": "Scanner Effect",
|
||||||
"desc": "Create a PDF that looks like it was scanned"
|
"desc": "Create a PDF that looks like it was scanned"
|
||||||
},
|
},
|
||||||
"editTableOfContents": {
|
"editTableOfContents": {
|
||||||
|
@ -284,18 +284,6 @@ export function useFlatToolRegistry(): ToolRegistry {
|
|||||||
settingsComponent: UnlockPdfFormsSettings,
|
settingsComponent: UnlockPdfFormsSettings,
|
||||||
synonyms: getSynonyms(t, "unlockPDFForms"),
|
synonyms: getSynonyms(t, "unlockPDFForms"),
|
||||||
},
|
},
|
||||||
manageCertificates: {
|
|
||||||
icon: <LocalIcon icon="license-rounded" width="1.5rem" height="1.5rem" />,
|
|
||||||
name: t("home.manageCertificates.title", "Manage Certificates"),
|
|
||||||
component: null,
|
|
||||||
description: t(
|
|
||||||
"home.manageCertificates.desc",
|
|
||||||
"Import, export, or delete digital certificate files used for signing PDFs."
|
|
||||||
),
|
|
||||||
categoryId: ToolCategoryId.STANDARD_TOOLS,
|
|
||||||
subcategoryId: SubcategoryId.DOCUMENT_SECURITY,
|
|
||||||
synonyms: getSynonyms(t, "manageCertificates"),
|
|
||||||
},
|
|
||||||
changePermissions: {
|
changePermissions: {
|
||||||
icon: <LocalIcon icon="lock-outline" width="1.5rem" height="1.5rem" />,
|
icon: <LocalIcon icon="lock-outline" width="1.5rem" height="1.5rem" />,
|
||||||
name: t("home.changePermissions.title", "Change Permissions"),
|
name: t("home.changePermissions.title", "Change Permissions"),
|
||||||
@ -606,24 +594,6 @@ export function useFlatToolRegistry(): ToolRegistry {
|
|||||||
subcategoryId: SubcategoryId.AUTOMATION,
|
subcategoryId: SubcategoryId.AUTOMATION,
|
||||||
synonyms: getSynonyms(t, "autoRename"),
|
synonyms: getSynonyms(t, "autoRename"),
|
||||||
},
|
},
|
||||||
autoSplitPDF: {
|
|
||||||
icon: <LocalIcon icon="split-scene-right-rounded" width="1.5rem" height="1.5rem" />,
|
|
||||||
name: t("home.autoSplitPDF.title", "Auto Split Pages"),
|
|
||||||
component: null,
|
|
||||||
description: t("home.autoSplitPDF.desc", "Automatically split PDF pages based on content detection"),
|
|
||||||
categoryId: ToolCategoryId.ADVANCED_TOOLS,
|
|
||||||
subcategoryId: SubcategoryId.AUTOMATION,
|
|
||||||
synonyms: getSynonyms(t, "autoSplitPDF"),
|
|
||||||
},
|
|
||||||
autoSizeSplitPDF: {
|
|
||||||
icon: <LocalIcon icon="content-cut-rounded" width="1.5rem" height="1.5rem" />,
|
|
||||||
name: t("home.autoSizeSplitPDF.title", "Auto Split by Size/Count"),
|
|
||||||
component: null,
|
|
||||||
description: t("home.autoSizeSplitPDF.desc", "Automatically split PDFs by file size or page count"),
|
|
||||||
categoryId: ToolCategoryId.ADVANCED_TOOLS,
|
|
||||||
subcategoryId: SubcategoryId.AUTOMATION,
|
|
||||||
synonyms: getSynonyms(t, "autoSizeSplitPDF"),
|
|
||||||
},
|
|
||||||
|
|
||||||
// Advanced Formatting
|
// Advanced Formatting
|
||||||
|
|
||||||
@ -702,14 +672,14 @@ export function useFlatToolRegistry(): ToolRegistry {
|
|||||||
subcategoryId: SubcategoryId.ADVANCED_FORMATTING,
|
subcategoryId: SubcategoryId.ADVANCED_FORMATTING,
|
||||||
synonyms: getSynonyms(t, "editTableOfContents"),
|
synonyms: getSynonyms(t, "editTableOfContents"),
|
||||||
},
|
},
|
||||||
fakeScan: {
|
scannerEffect: {
|
||||||
icon: <LocalIcon icon="scanner-rounded" width="1.5rem" height="1.5rem" />,
|
icon: <LocalIcon icon="scanner-rounded" width="1.5rem" height="1.5rem" />,
|
||||||
name: t("home.fakeScan.title", "Scanner Effect"),
|
name: t("home.scannerEffect.title", "Scanner Effect"),
|
||||||
component: null,
|
component: null,
|
||||||
description: t("home.fakeScan.desc", "Create a PDF that looks like it was scanned"),
|
description: t("home.scannerEffect.desc", "Create a PDF that looks like it was scanned"),
|
||||||
categoryId: ToolCategoryId.ADVANCED_TOOLS,
|
categoryId: ToolCategoryId.ADVANCED_TOOLS,
|
||||||
subcategoryId: SubcategoryId.ADVANCED_FORMATTING,
|
subcategoryId: SubcategoryId.ADVANCED_FORMATTING,
|
||||||
synonyms: getSynonyms(t, "fakeScan"),
|
synonyms: getSynonyms(t, "scannerEffect"),
|
||||||
},
|
},
|
||||||
|
|
||||||
// Developer Tools
|
// Developer Tools
|
||||||
|
@ -11,8 +11,6 @@ export const TOOL_IDS = [
|
|||||||
'changePermissions',
|
'changePermissions',
|
||||||
'watermark',
|
'watermark',
|
||||||
'sanitize',
|
'sanitize',
|
||||||
'autoSplitPDF',
|
|
||||||
'autoSizeSplitPDF',
|
|
||||||
'split',
|
'split',
|
||||||
'merge',
|
'merge',
|
||||||
'convert',
|
'convert',
|
||||||
@ -21,7 +19,7 @@ export const TOOL_IDS = [
|
|||||||
'rotate',
|
'rotate',
|
||||||
'scannerImageSplit',
|
'scannerImageSplit',
|
||||||
'editTableOfContents',
|
'editTableOfContents',
|
||||||
'fakeScan',
|
'scannerEffect',
|
||||||
'autoRename',
|
'autoRename',
|
||||||
'pageLayout',
|
'pageLayout',
|
||||||
'scalePages',
|
'scalePages',
|
||||||
@ -44,7 +42,6 @@ export const TOOL_IDS = [
|
|||||||
'addAttachments',
|
'addAttachments',
|
||||||
'changeMetadata',
|
'changeMetadata',
|
||||||
'overlayPdfs',
|
'overlayPdfs',
|
||||||
'manageCertificates',
|
|
||||||
'getPdfInfo',
|
'getPdfInfo',
|
||||||
'validateSignature',
|
'validateSignature',
|
||||||
'read',
|
'read',
|
||||||
|
@ -39,7 +39,6 @@ export const URL_TO_TOOL_MAP: Record<string, ToolId> = {
|
|||||||
'/remove-cert-sign': 'removeCertSign',
|
'/remove-cert-sign': 'removeCertSign',
|
||||||
'/unlock-pdf-forms': 'unlockPDFForms',
|
'/unlock-pdf-forms': 'unlockPDFForms',
|
||||||
'/validate-signature': 'validateSignature',
|
'/validate-signature': 'validateSignature',
|
||||||
'/manage-certificates': 'manageCertificates',
|
|
||||||
|
|
||||||
// Content manipulation
|
// Content manipulation
|
||||||
'/sanitize': 'sanitize',
|
'/sanitize': 'sanitize',
|
||||||
@ -64,8 +63,8 @@ export const URL_TO_TOOL_MAP: Record<string, ToolId> = {
|
|||||||
'/booklet-imposition': 'bookletImposition',
|
'/booklet-imposition': 'bookletImposition',
|
||||||
|
|
||||||
// Splitting tools
|
// Splitting tools
|
||||||
'/auto-split-pdf': 'autoSplitPDF',
|
'/auto-split-pdf': 'split',
|
||||||
'/auto-size-split-pdf': 'autoSizeSplitPDF',
|
'/auto-size-split-pdf': 'split',
|
||||||
'/scanner-image-split': 'scannerImageSplit',
|
'/scanner-image-split': 'scannerImageSplit',
|
||||||
|
|
||||||
// Annotation and content removal
|
// Annotation and content removal
|
||||||
@ -75,7 +74,7 @@ export const URL_TO_TOOL_MAP: Record<string, ToolId> = {
|
|||||||
// Image and visual tools
|
// Image and visual tools
|
||||||
'/extract-images': 'extractImages',
|
'/extract-images': 'extractImages',
|
||||||
'/adjust-contrast': 'adjustContrast',
|
'/adjust-contrast': 'adjustContrast',
|
||||||
'/fake-scan': 'fakeScan',
|
'/fake-scan': 'scannerEffect',
|
||||||
'/replace-color-pdf': 'replaceColor',
|
'/replace-color-pdf': 'replaceColor',
|
||||||
|
|
||||||
// Metadata and info
|
// Metadata and info
|
||||||
@ -120,9 +119,9 @@ export const URL_TO_TOOL_MAP: Record<string, ToolId> = {
|
|||||||
'/pipeline': 'automate',
|
'/pipeline': 'automate',
|
||||||
'/extract-image-scans': 'scannerImageSplit',
|
'/extract-image-scans': 'scannerImageSplit',
|
||||||
'/show-javascript': 'showJS',
|
'/show-javascript': 'showJS',
|
||||||
'/scanner-effect': 'fakeScan',
|
'/scanner-effect': 'scannerEffect',
|
||||||
'/split-by-size-or-count': 'autoSizeSplitPDF',
|
'/split-by-size-or-count': 'split',
|
||||||
'/overlay-pdf': 'overlayPdfs',
|
'/overlay-pdf': 'overlayPdfs',
|
||||||
'/split-pdf-by-sections': 'autoSplitPDF',
|
'/split-pdf-by-sections': 'split',
|
||||||
'/split-pdf-by-chapters': 'autoSplitPDF',
|
'/split-pdf-by-chapters': 'split',
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user