mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-09-26 17:52:59 +02:00
remove tools
This commit is contained in:
parent
0bdc6466ca
commit
8aa52a4fa6
@ -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": {
|
||||||
|
@ -282,18 +282,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"),
|
||||||
@ -602,24 +590,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
|
||||||
|
|
||||||
@ -698,14 +668,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
|
||||||
|
@ -21,7 +21,7 @@ export const TOOL_IDS = [
|
|||||||
'rotate',
|
'rotate',
|
||||||
'scannerImageSplit',
|
'scannerImageSplit',
|
||||||
'editTableOfContents',
|
'editTableOfContents',
|
||||||
'fakeScan',
|
'scannerEffect',
|
||||||
'autoRename',
|
'autoRename',
|
||||||
'pageLayout',
|
'pageLayout',
|
||||||
'scalePages',
|
'scalePages',
|
||||||
@ -44,7 +44,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',
|
||||||
@ -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,7 +119,7 @@ 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': 'autoSizeSplitPDF',
|
||||||
'/overlay-pdf': 'overlayPdfs',
|
'/overlay-pdf': 'overlayPdfs',
|
||||||
'/split-pdf-by-sections': 'autoSplitPDF',
|
'/split-pdf-by-sections': 'autoSplitPDF',
|
||||||
|
Loading…
Reference in New Issue
Block a user