mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-09-21 15:09:32 +02:00
refactor: getGroups
This commit is contained in:
360
.idea/workspace.xml
generated
360
.idea/workspace.xml
generated
@@ -4,9 +4,12 @@
|
|||||||
<option name="autoReloadType" value="SELECTIVE" />
|
<option name="autoReloadType" value="SELECTIVE" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="b30e2810-c4c1-4aad-b134-794e52cc1c7d" name="Changes" comment="feat: pdf editor">
|
<list default="true" id="b30e2810-c4c1-4aad-b134-794e52cc1c7d" name="Changes" comment="docs: edit pdf meta">
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/src/pages/tools-by-category/index.tsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/tools-by-category/index.tsx" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/src/components/ToolContent.tsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/ToolContent.tsx" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/src/components/options/ToolOptions.tsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/options/ToolOptions.tsx" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/src/pages/tools/number/generic-calc/index.tsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/tools/number/generic-calc/index.tsx" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/src/pages/tools/time/check-leap-years/index.tsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/tools/time/check-leap-years/index.tsx" afterDir="false" />
|
||||||
</list>
|
</list>
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
@@ -20,7 +23,7 @@
|
|||||||
<option name="PUSH_AUTO_UPDATE" value="true" />
|
<option name="PUSH_AUTO_UPDATE" value="true" />
|
||||||
<option name="RECENT_BRANCH_BY_REPOSITORY">
|
<option name="RECENT_BRANCH_BY_REPOSITORY">
|
||||||
<map>
|
<map>
|
||||||
<entry key="$PROJECT_DIR$" value="fork/C043/main" />
|
<entry key="$PROJECT_DIR$" value="chesterking" />
|
||||||
</map>
|
</map>
|
||||||
</option>
|
</option>
|
||||||
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
||||||
@@ -39,164 +42,171 @@
|
|||||||
"state": "OPEN"
|
"state": "OPEN"
|
||||||
}
|
}
|
||||||
}</component>
|
}</component>
|
||||||
<component name="GitHubPullRequestState">{
|
<component name="GitHubPullRequestState"><![CDATA[{
|
||||||
"prStates": [
|
"prStates": [
|
||||||
{
|
{
|
||||||
"id": {
|
"id": {
|
||||||
"id": "PR_kwDOMJIfts51PkS9",
|
"id": "PR_kwDOMJIfts51PkS9",
|
||||||
"number": 22
|
"number": 22
|
||||||
},
|
},
|
||||||
"lastSeen": 1741207144695
|
"lastSeen": 1741207144695
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": {
|
"id": {
|
||||||
"id": "PR_kwDOMJIfts6NiNYl",
|
"id": "PR_kwDOMJIfts6NiNYl",
|
||||||
"number": 32
|
"number": 32
|
||||||
},
|
},
|
||||||
"lastSeen": 1741209723869
|
"lastSeen": 1741209723869
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": {
|
"id": {
|
||||||
"id": "PR_kwDOMJIfts6Nheyd",
|
"id": "PR_kwDOMJIfts6Nheyd",
|
||||||
"number": 31
|
"number": 31
|
||||||
},
|
},
|
||||||
"lastSeen": 1741213371410
|
"lastSeen": 1741213371410
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": {
|
"id": {
|
||||||
"id": "PR_kwDOMJIfts6NmRBs",
|
"id": "PR_kwDOMJIfts6NmRBs",
|
||||||
"number": 33
|
"number": 33
|
||||||
},
|
},
|
||||||
"lastSeen": 1741282429036
|
"lastSeen": 1741282429036
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": {
|
"id": {
|
||||||
"id": "PR_kwDOMJIfts5zyFTs",
|
"id": "PR_kwDOMJIfts5zyFTs",
|
||||||
"number": 15
|
"number": 15
|
||||||
},
|
},
|
||||||
"lastSeen": 1741535540953
|
"lastSeen": 1741535540953
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": {
|
"id": {
|
||||||
"id": "PR_kwDOMJIfts6QQB3c",
|
"id": "PR_kwDOMJIfts6QQB3c",
|
||||||
"number": 59
|
"number": 59
|
||||||
},
|
},
|
||||||
"lastSeen": 1743018960900
|
"lastSeen": 1743018960900
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": {
|
"id": {
|
||||||
"id": "PR_kwDOMJIfts6QMPEg",
|
"id": "PR_kwDOMJIfts6QMPEg",
|
||||||
"number": 58
|
"number": 58
|
||||||
},
|
},
|
||||||
"lastSeen": 1743019452983
|
"lastSeen": 1743019452983
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": {
|
"id": {
|
||||||
"id": "PR_kwDOMJIfts6QZvRI",
|
"id": "PR_kwDOMJIfts6QZvRI",
|
||||||
"number": 61
|
"number": 61
|
||||||
},
|
},
|
||||||
"lastSeen": 1743103196866
|
"lastSeen": 1743103196866
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": {
|
"id": {
|
||||||
"id": "PR_kwDOMJIfts6QqPrQ",
|
"id": "PR_kwDOMJIfts6QqPrQ",
|
||||||
"number": 73
|
"number": 73
|
||||||
},
|
},
|
||||||
"lastSeen": 1743265865001
|
"lastSeen": 1743265865001
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": {
|
"id": {
|
||||||
"id": "PR_kwDOMJIfts6Qp5nI",
|
"id": "PR_kwDOMJIfts6Qp5nI",
|
||||||
"number": 72
|
"number": 72
|
||||||
},
|
},
|
||||||
"lastSeen": 1743338472110
|
"lastSeen": 1743338472110
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": {
|
"id": {
|
||||||
"id": "PR_kwDOMJIfts6QsjlS",
|
"id": "PR_kwDOMJIfts6QsjlS",
|
||||||
"number": 76
|
"number": 76
|
||||||
},
|
},
|
||||||
"lastSeen": 1743352150953
|
"lastSeen": 1743352150953
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": {
|
"id": {
|
||||||
"id": "PR_kwDOMJIfts6Q0JBe",
|
"id": "PR_kwDOMJIfts6Q0JBe",
|
||||||
"number": 82
|
"number": 82
|
||||||
},
|
},
|
||||||
"lastSeen": 1743470267269
|
"lastSeen": 1743470267269
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": {
|
"id": {
|
||||||
"id": "PR_kwDOMJIfts6UE9-x",
|
"id": "PR_kwDOMJIfts6UE9-x",
|
||||||
"number": 102
|
"number": 102
|
||||||
},
|
},
|
||||||
"lastSeen": 1747171977348
|
"lastSeen": 1747171977348
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": {
|
"id": {
|
||||||
"id": "PR_kwDOMJIfts6XPua_",
|
"id": "PR_kwDOMJIfts6XPua_",
|
||||||
"number": 117
|
"number": 117
|
||||||
},
|
},
|
||||||
"lastSeen": 1747929835864
|
"lastSeen": 1747929835864
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": {
|
"id": {
|
||||||
"id": "PR_kwDOMJIfts6XY-mZ",
|
"id": "PR_kwDOMJIfts6XY-mZ",
|
||||||
"number": 119
|
"number": 119
|
||||||
},
|
},
|
||||||
"lastSeen": 1748028108508
|
"lastSeen": 1748028108508
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": {
|
"id": {
|
||||||
"id": "PR_kwDOMJIfts6Xdz4n",
|
"id": "PR_kwDOMJIfts6Xdz4n",
|
||||||
"number": 120
|
"number": 120
|
||||||
},
|
},
|
||||||
"lastSeen": 1748282672214
|
"lastSeen": 1748282672214
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": {
|
"id": {
|
||||||
"id": "PR_kwDOMJIfts6X_zxl",
|
"id": "PR_kwDOMJIfts6X_zxl",
|
||||||
"number": 131
|
"number": 131
|
||||||
},
|
},
|
||||||
"lastSeen": 1748881279494
|
"lastSeen": 1748881279494
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": {
|
"id": {
|
||||||
"id": "PR_kwDOMJIfts6bhieT",
|
"id": "PR_kwDOMJIfts6bhieT",
|
||||||
"number": 152
|
"number": 152
|
||||||
},
|
},
|
||||||
"lastSeen": 1751848489082
|
"lastSeen": 1751848489082
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": {
|
"id": {
|
||||||
"id": "PR_kwDOMJIfts6dOyRk",
|
"id": "PR_kwDOMJIfts6dOyRk",
|
||||||
"number": 154
|
"number": 154
|
||||||
},
|
},
|
||||||
"lastSeen": 1751849436454
|
"lastSeen": 1751849436454
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": {
|
"id": {
|
||||||
"id": "PR_kwDOMJIfts6cHjNi",
|
"id": "PR_kwDOMJIfts6cHjNi",
|
||||||
"number": 153
|
"number": 153
|
||||||
},
|
},
|
||||||
"lastSeen": 1751849501498
|
"lastSeen": 1751849501498
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": {
|
"id": {
|
||||||
"id": "PR_kwDOMJIfts6Zs1FN",
|
"id": "PR_kwDOMJIfts6Zs1FN",
|
||||||
"number": 145
|
"number": 145
|
||||||
},
|
},
|
||||||
"lastSeen": 1751849770308
|
"lastSeen": 1751849770308
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": {
|
"id": {
|
||||||
"id": "PR_kwDOMJIfts6bgKi9",
|
"id": "PR_kwDOMJIfts6bgKi9",
|
||||||
"number": 150
|
"number": 150
|
||||||
},
|
},
|
||||||
"lastSeen": 1751850367300
|
"lastSeen": 1751850367300
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": {
|
||||||
|
"id": "PR_kwDOMJIfts6eUKC-",
|
||||||
|
"number": 176
|
||||||
|
},
|
||||||
|
"lastSeen": 1752158748013
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}</component>
|
}]]></component>
|
||||||
<component name="GithubPullRequestsUISettings">{
|
<component name="GithubPullRequestsUISettings">{
|
||||||
"selectedUrlAndAccountId": {
|
"selectedUrlAndAccountId": {
|
||||||
"url": "https://github.com/iib0011/omni-tools.git",
|
"url": "https://github.com/iib0011/omni-tools.git",
|
||||||
@@ -228,56 +238,56 @@
|
|||||||
<option name="hideEmptyMiddlePackages" value="true" />
|
<option name="hideEmptyMiddlePackages" value="true" />
|
||||||
<option name="showLibraryContents" value="true" />
|
<option name="showLibraryContents" value="true" />
|
||||||
</component>
|
</component>
|
||||||
<component name="PropertiesComponent">{
|
<component name="PropertiesComponent"><![CDATA[{
|
||||||
"keyToString": {
|
"keyToString": {
|
||||||
"ASKED_ADD_EXTERNAL_FILES": "true",
|
"ASKED_ADD_EXTERNAL_FILES": "true",
|
||||||
"ASKED_SHARE_PROJECT_CONFIGURATION_FILES": "true",
|
"ASKED_SHARE_PROJECT_CONFIGURATION_FILES": "true",
|
||||||
"Docker.Dockerfile build.executor": "Run",
|
"Docker.Dockerfile build.executor": "Run",
|
||||||
"Docker.Dockerfile.executor": "Run",
|
"Docker.Dockerfile.executor": "Run",
|
||||||
"Playwright.Create transparent PNG.should make png color transparent.executor": "Run",
|
"Playwright.Create transparent PNG.should make png color transparent.executor": "Run",
|
||||||
"Playwright.JoinText Component.executor": "Run",
|
"Playwright.JoinText Component.executor": "Run",
|
||||||
"Playwright.JoinText Component.should merge text pieces with specified join character.executor": "Run",
|
"Playwright.JoinText Component.should merge text pieces with specified join character.executor": "Run",
|
||||||
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
||||||
"RunOnceActivity.ShowReadmeOnStart": "true",
|
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||||
"RunOnceActivity.git.unshallow": "true",
|
"RunOnceActivity.git.unshallow": "true",
|
||||||
"Vitest.compute function (1).executor": "Run",
|
"Vitest.compute function (1).executor": "Run",
|
||||||
"Vitest.compute function.executor": "Run",
|
"Vitest.compute function.executor": "Run",
|
||||||
"Vitest.mergeText.executor": "Run",
|
"Vitest.mergeText.executor": "Run",
|
||||||
"Vitest.mergeText.should merge lines and preserve blank lines when deleteBlankLines is false.executor": "Run",
|
"Vitest.mergeText.should merge lines and preserve blank lines when deleteBlankLines is false.executor": "Run",
|
||||||
"Vitest.mergeText.should merge lines, preserve blank lines and trailing spaces when both deleteBlankLines and deleteTrailingSpaces are false.executor": "Run",
|
"Vitest.mergeText.should merge lines, preserve blank lines and trailing spaces when both deleteBlankLines and deleteTrailingSpaces are false.executor": "Run",
|
||||||
"Vitest.parsePageRanges.executor": "Run",
|
"Vitest.parsePageRanges.executor": "Run",
|
||||||
"Vitest.removeDuplicateLines function.executor": "Run",
|
"Vitest.removeDuplicateLines function.executor": "Run",
|
||||||
"Vitest.removeDuplicateLines function.newlines option.executor": "Run",
|
"Vitest.removeDuplicateLines function.newlines option.executor": "Run",
|
||||||
"Vitest.removeDuplicateLines function.newlines option.should filter newlines when newlines is set to filter.executor": "Run",
|
"Vitest.removeDuplicateLines function.newlines option.should filter newlines when newlines is set to filter.executor": "Run",
|
||||||
"Vitest.replaceText function (regexp mode).should return the original text when passed an invalid regexp.executor": "Run",
|
"Vitest.replaceText function (regexp mode).should return the original text when passed an invalid regexp.executor": "Run",
|
||||||
"Vitest.replaceText function.executor": "Run",
|
"Vitest.replaceText function.executor": "Run",
|
||||||
"Vitest.timeBetweenDates.executor": "Run",
|
"Vitest.timeBetweenDates.executor": "Run",
|
||||||
"git-widget-placeholder": "main",
|
"git-widget-placeholder": "main",
|
||||||
"ignore.virus.scanning.warn.message": "true",
|
"ignore.virus.scanning.warn.message": "true",
|
||||||
"kotlin-language-version-configured": "true",
|
"kotlin-language-version-configured": "true",
|
||||||
"last_opened_file_path": "C:/Users/Ibrahima/IdeaProjects/omni-tools/public",
|
"last_opened_file_path": "C:/Users/Ibrahima/IdeaProjects/omni-tools/public",
|
||||||
"node.js.detected.package.eslint": "true",
|
"node.js.detected.package.eslint": "true",
|
||||||
"node.js.detected.package.tslint": "true",
|
"node.js.detected.package.tslint": "true",
|
||||||
"node.js.selected.package.eslint": "(autodetect)",
|
"node.js.selected.package.eslint": "(autodetect)",
|
||||||
"node.js.selected.package.tslint": "(autodetect)",
|
"node.js.selected.package.tslint": "(autodetect)",
|
||||||
"nodejs_package_manager_path": "npm",
|
"nodejs_package_manager_path": "npm",
|
||||||
"npm.build.executor": "Run",
|
"npm.build.executor": "Run",
|
||||||
"npm.dev.executor": "Run",
|
"npm.dev.executor": "Run",
|
||||||
"npm.lint.executor": "Run",
|
"npm.lint.executor": "Run",
|
||||||
"npm.prebuild.executor": "Run",
|
"npm.prebuild.executor": "Run",
|
||||||
"npm.script:create:tool.executor": "Run",
|
"npm.script:create:tool.executor": "Run",
|
||||||
"npm.test.executor": "Run",
|
"npm.test.executor": "Run",
|
||||||
"npm.test:e2e.executor": "Run",
|
"npm.test:e2e.executor": "Run",
|
||||||
"npm.test:e2e:run.executor": "Run",
|
"npm.test:e2e:run.executor": "Run",
|
||||||
"prettierjs.PrettierConfiguration.Package": "C:\\Users\\Ibrahima\\IdeaProjects\\omni-tools\\node_modules\\prettier",
|
"prettierjs.PrettierConfiguration.Package": "C:\\Users\\Ibrahima\\IdeaProjects\\omni-tools\\node_modules\\prettier",
|
||||||
"project.structure.last.edited": "Problems",
|
"project.structure.last.edited": "Problems",
|
||||||
"project.structure.proportion": "0.0",
|
"project.structure.proportion": "0.0",
|
||||||
"project.structure.side.proportion": "0.2",
|
"project.structure.side.proportion": "0.2",
|
||||||
"settings.editor.selected.configurable": "refactai_advanced_settings",
|
"settings.editor.selected.configurable": "refactai_advanced_settings",
|
||||||
"ts.external.directory.path": "C:\\Users\\Ibrahima\\IdeaProjects\\omni-tools\\node_modules\\typescript\\lib",
|
"ts.external.directory.path": "C:\\Users\\Ibrahima\\IdeaProjects\\omni-tools\\node_modules\\typescript\\lib",
|
||||||
"vue.rearranger.settings.migration": "true"
|
"vue.rearranger.settings.migration": "true"
|
||||||
}
|
}
|
||||||
}</component>
|
}]]></component>
|
||||||
<component name="ReactDesignerToolWindowState">
|
<component name="ReactDesignerToolWindowState">
|
||||||
<option name="myId2Visible">
|
<option name="myId2Visible">
|
||||||
<map>
|
<map>
|
||||||
@@ -380,10 +390,10 @@
|
|||||||
<recent_temporary>
|
<recent_temporary>
|
||||||
<list>
|
<list>
|
||||||
<item itemvalue="npm.dev" />
|
<item itemvalue="npm.dev" />
|
||||||
<item itemvalue="npm.test:e2e" />
|
|
||||||
<item itemvalue="Vitest.replaceText function (regexp mode).should return the original text when passed an invalid regexp" />
|
<item itemvalue="Vitest.replaceText function (regexp mode).should return the original text when passed an invalid regexp" />
|
||||||
<item itemvalue="Vitest.parsePageRanges" />
|
<item itemvalue="Vitest.parsePageRanges" />
|
||||||
<item itemvalue="Vitest.timeBetweenDates" />
|
<item itemvalue="Vitest.timeBetweenDates" />
|
||||||
|
<item itemvalue="npm.test:e2e" />
|
||||||
</list>
|
</list>
|
||||||
</recent_temporary>
|
</recent_temporary>
|
||||||
</component>
|
</component>
|
||||||
@@ -491,31 +501,9 @@
|
|||||||
<workItem from="1751846528195" duration="4358000" />
|
<workItem from="1751846528195" duration="4358000" />
|
||||||
<workItem from="1752070315115" duration="19000" />
|
<workItem from="1752070315115" duration="19000" />
|
||||||
<workItem from="1752071020011" duration="1599000" />
|
<workItem from="1752071020011" duration="1599000" />
|
||||||
<workItem from="1752077170501" duration="3057000" />
|
<workItem from="1752077170501" duration="4261000" />
|
||||||
</task>
|
<workItem from="1752127185450" duration="1168000" />
|
||||||
<task id="LOCAL-00166" summary="feat: split pdf">
|
<workItem from="1752157409587" duration="2415000" />
|
||||||
<option name="closed" value="true" />
|
|
||||||
<created>1742967844908</created>
|
|
||||||
<option name="number" value="00166" />
|
|
||||||
<option name="presentableId" value="LOCAL-00166" />
|
|
||||||
<option name="project" value="LOCAL" />
|
|
||||||
<updated>1742967844908</updated>
|
|
||||||
</task>
|
|
||||||
<task id="LOCAL-00167" summary="fix: typo">
|
|
||||||
<option name="closed" value="true" />
|
|
||||||
<created>1743019312699</created>
|
|
||||||
<option name="number" value="00167" />
|
|
||||||
<option name="presentableId" value="LOCAL-00167" />
|
|
||||||
<option name="project" value="LOCAL" />
|
|
||||||
<updated>1743019312699</updated>
|
|
||||||
</task>
|
|
||||||
<task id="LOCAL-00168" summary="chore: result file name">
|
|
||||||
<option name="closed" value="true" />
|
|
||||||
<created>1743020690384</created>
|
|
||||||
<option name="number" value="00168" />
|
|
||||||
<option name="presentableId" value="LOCAL-00168" />
|
|
||||||
<option name="project" value="LOCAL" />
|
|
||||||
<updated>1743020690384</updated>
|
|
||||||
</task>
|
</task>
|
||||||
<task id="LOCAL-00169" summary="chore: text result extensions">
|
<task id="LOCAL-00169" summary="chore: text result extensions">
|
||||||
<option name="closed" value="true" />
|
<option name="closed" value="true" />
|
||||||
@@ -885,7 +873,31 @@
|
|||||||
<option name="project" value="LOCAL" />
|
<option name="project" value="LOCAL" />
|
||||||
<updated>1752079879005</updated>
|
<updated>1752079879005</updated>
|
||||||
</task>
|
</task>
|
||||||
<option name="localTasksCounter" value="215" />
|
<task id="LOCAL-00215" summary="chore: style link">
|
||||||
|
<option name="closed" value="true" />
|
||||||
|
<created>1752080307348</created>
|
||||||
|
<option name="number" value="00215" />
|
||||||
|
<option name="presentableId" value="LOCAL-00215" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1752080307349</updated>
|
||||||
|
</task>
|
||||||
|
<task id="LOCAL-00216" summary="refactor: PDF editor">
|
||||||
|
<option name="closed" value="true" />
|
||||||
|
<created>1752157851370</created>
|
||||||
|
<option name="number" value="00216" />
|
||||||
|
<option name="presentableId" value="LOCAL-00216" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1752157851371</updated>
|
||||||
|
</task>
|
||||||
|
<task id="LOCAL-00217" summary="docs: edit pdf meta">
|
||||||
|
<option name="closed" value="true" />
|
||||||
|
<created>1752158119802</created>
|
||||||
|
<option name="number" value="00217" />
|
||||||
|
<option name="presentableId" value="LOCAL-00217" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1752158119802</updated>
|
||||||
|
</task>
|
||||||
|
<option name="localTasksCounter" value="218" />
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
<component name="TypeScriptGeneratedFilesManager">
|
<component name="TypeScriptGeneratedFilesManager">
|
||||||
@@ -932,9 +944,6 @@
|
|||||||
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
|
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
|
||||||
<option name="CHECK_NEW_TODO" value="false" />
|
<option name="CHECK_NEW_TODO" value="false" />
|
||||||
<option name="ADD_EXTERNAL_FILES_SILENTLY" value="true" />
|
<option name="ADD_EXTERNAL_FILES_SILENTLY" value="true" />
|
||||||
<MESSAGE value="feat: image to text" />
|
|
||||||
<MESSAGE value="chore: hideCopy if video or audio" />
|
|
||||||
<MESSAGE value="chore: readme img and fix broken link" />
|
|
||||||
<MESSAGE value="fix: add mkv to supported videos" />
|
<MESSAGE value="fix: add mkv to supported videos" />
|
||||||
<MESSAGE value="feat: drag and drop" />
|
<MESSAGE value="feat: drag and drop" />
|
||||||
<MESSAGE value="Merge branch 'feat/pdf-merge' of git-rohit:rohit267/omni-tools into feat/pdf-merge" />
|
<MESSAGE value="Merge branch 'feat/pdf-merge' of git-rohit:rohit267/omni-tools into feat/pdf-merge" />
|
||||||
@@ -957,7 +966,10 @@
|
|||||||
<MESSAGE value="fix: favicons" />
|
<MESSAGE value="fix: favicons" />
|
||||||
<MESSAGE value="chore: examples button visibility" />
|
<MESSAGE value="chore: examples button visibility" />
|
||||||
<MESSAGE value="feat: pdf editor" />
|
<MESSAGE value="feat: pdf editor" />
|
||||||
<option name="LAST_COMMIT_MESSAGE" value="feat: pdf editor" />
|
<MESSAGE value="chore: style link" />
|
||||||
|
<MESSAGE value="refactor: PDF editor" />
|
||||||
|
<MESSAGE value="docs: edit pdf meta" />
|
||||||
|
<option name="LAST_COMMIT_MESSAGE" value="docs: edit pdf meta" />
|
||||||
</component>
|
</component>
|
||||||
<component name="VgoProject">
|
<component name="VgoProject">
|
||||||
<integration-enabled>false</integration-enabled>
|
<integration-enabled>false</integration-enabled>
|
||||||
|
@@ -46,6 +46,9 @@ interface ToolContentProps<Options, Input> extends ToolComponentProps {
|
|||||||
setFieldValue: (fieldName: string, value: any) => void
|
setFieldValue: (fieldName: string, value: any) => void
|
||||||
) => ReactNode;
|
) => ReactNode;
|
||||||
initialValues: Options;
|
initialValues: Options;
|
||||||
|
/**
|
||||||
|
* should return non-empty array or null
|
||||||
|
*/
|
||||||
getGroups: GetGroupsType<Options> | null;
|
getGroups: GetGroupsType<Options> | null;
|
||||||
compute: (optionsValues: Options, input: Input) => void;
|
compute: (optionsValues: Options, input: Input) => void;
|
||||||
toolInfo?: {
|
toolInfo?: {
|
||||||
|
@@ -6,10 +6,10 @@ import { FormikProps, FormikValues, useFormikContext } from 'formik';
|
|||||||
import ToolOptionGroups, { ToolOptionGroup } from './ToolOptionGroups';
|
import ToolOptionGroups, { ToolOptionGroup } from './ToolOptionGroups';
|
||||||
|
|
||||||
export type UpdateField<T> = <Y extends keyof T>(field: Y, value: T[Y]) => void;
|
export type UpdateField<T> = <Y extends keyof T>(field: Y, value: T[Y]) => void;
|
||||||
|
type NonEmptyArray<T> = [T, ...T[]];
|
||||||
export type GetGroupsType<T> = (
|
export type GetGroupsType<T> = (
|
||||||
formikProps: FormikProps<T> & { updateField: UpdateField<T> }
|
formikProps: FormikProps<T> & { updateField: UpdateField<T> }
|
||||||
) => ToolOptionGroup[];
|
) => NonEmptyArray<ToolOptionGroup>;
|
||||||
|
|
||||||
export default function ToolOptions<T extends FormikValues>({
|
export default function ToolOptions<T extends FormikValues>({
|
||||||
children,
|
children,
|
||||||
@@ -50,7 +50,7 @@ export default function ToolOptions<T extends FormikValues>({
|
|||||||
<Box mt={2}>
|
<Box mt={2}>
|
||||||
<Stack direction={'row'} spacing={2}>
|
<Stack direction={'row'} spacing={2}>
|
||||||
<ToolOptionGroups
|
<ToolOptionGroups
|
||||||
groups={getGroups({ ...formikContext, updateField }) ?? []}
|
groups={getGroups({ ...formikContext, updateField }) ?? null}
|
||||||
vertical={vertical}
|
vertical={vertical}
|
||||||
/>
|
/>
|
||||||
{children}
|
{children}
|
||||||
|
@@ -240,6 +240,7 @@ export default async function makeTool(
|
|||||||
description: calcData.longDescription
|
description: calcData.longDescription
|
||||||
}}
|
}}
|
||||||
verticalGroups
|
verticalGroups
|
||||||
|
// @ts-ignore
|
||||||
getGroups={({ values, updateField }) => [
|
getGroups={({ values, updateField }) => [
|
||||||
...(calcData.presets?.length
|
...(calcData.presets?.length
|
||||||
? [
|
? [
|
||||||
|
@@ -63,7 +63,7 @@ export default function ConvertDaysToHours({
|
|||||||
setResult(checkLeapYear(input));
|
setResult(checkLeapYear(input));
|
||||||
};
|
};
|
||||||
|
|
||||||
const getGroups: GetGroupsType<InitialValuesType> | null = () => [];
|
const getGroups: GetGroupsType<InitialValuesType> | null = null;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ToolContent
|
<ToolContent
|
||||||
|
Reference in New Issue
Block a user