{"tiddlers":{"$:/config/favorites/FolderOpenOnDrop":{"title":"$:/config/favorites/FolderOpenOnDrop","tags":"","type":"text/vnd.tiddlywiki","text":"yes"},"$:/config/favorites/IconColor":{"title":"$:/config/favorites/IconColor","tags":"","type":"text/vnd.tiddlywiki","text":"#ff0000"},"$:/config/favorites/modifierkey/expand-folder":{"title":"$:/config/favorites/modifierkey/expand-folder","tags":"","type":"text/vnd.tiddlywiki","text":"shift"},"$:/config/favorites/modifierkey/open-folder-items":{"title":"$:/config/favorites/modifierkey/open-folder-items","type":"text/vnd.tiddlywiki","text":"alt"},"$:/config/favorites/modifierkey/open-folder":{"title":"$:/config/favorites/modifierkey/open-folder","tags":"","type":"text/vnd.tiddlywiki","text":"ctrl"},"$:/config/favorites/modifierkey/sidebar-tab-from-folder":{"title":"$:/config/favorites/modifierkey/sidebar-tab-from-folder","tags":"","type":"text/vnd.tiddlywiki","text":"ctrl-shift"},"$:/config/kookma/favorites/ViewTemplateTitleFilters/Manager":{"title":"$:/config/kookma/favorites/ViewTemplateTitleFilters/Manager","list-before":"$:/config/ViewTemplateTitleFilters/system","tags":"$:/tags/ViewTemplateTitleFilter","type":"text/vnd.tiddlywiki","text":"[match[$:/plugins/kookma/favorites/ui/manager]then[$:/plugins/kookma/favorites/ui/ViewTemplate/Title]]"},"$:/favorites/folders/recent":{"title":"$:/favorites/folders/recent","caption":"Recently added","format":"title","list":"","list-before":"","tags":"$:/tags/Favorites/Folder","type":"text/vnd.tiddlywiki"},"$:/language/Buttons/Favorites/Caption/Add":{"title":"$:/language/Buttons/Favorites/Caption/Add","type":"text/vnd.tiddlywiki","text":"favorites"},"$:/language/Buttons/Favorites/Caption/Remove":{"title":"$:/language/Buttons/Favorites/Caption/Remove","type":"text/vnd.tiddlywiki","text":"Caption/Remove"},"$:/language/Buttons/Favorites/Hint/Add":{"title":"$:/language/Buttons/Favorites/Hint/Add","type":"text/vnd.tiddlywiki","text":"Add to favorites"},"$:/language/Buttons/Favorites/Hint/Remove":{"title":"$:/language/Buttons/Favorites/Hint/Remove","tags":"","type":"text/vnd.tiddlywiki","text":"Remove from favorites"},"$:/plugins/kookma/favorites/history":{"title":"$:/plugins/kookma/favorites/history","tags":"","type":"text/vnd.tiddlywiki","text":"Full change log  https://kookma.github.io/TW-Favorites/#ChangeLog\n\n* ''4.9.0'' — 2025.07.07 — Updated to TiddlyWiki 5.3.7.  \n* ''4.8.6'' — 2024.07.16 — Updated to TiddlyWiki 5.3.5 with minor fixes.  \n* ''4.8.1'' — 2022.12.17 — Updated to TiddlyWiki 5.2.4; added support for customizable item link titles.  \n* ''4.7.9'' — 2022.11.04 — Fixed bugs in the slider button and toolbar button.  \n* ''4.7.6'' — 2022.10.20 — Added ability to create a sidebar tab from a folder.  \n* ''4.7.4'' — 2022.10.07 — Introduced folder button modifiers and draggable handles (activated by secret keys).  \n* ''4.7.1'' — 2022.08.25 — Major improvements to folders: export as bundle, special view template, and button modifiers.  \n* ''4.6.5'' — 2022.08.14 — Updated to TiddlyWiki 5.2.3 and restructured for better performance.  \n* ''4.5.1'' — 2020.05.16 — Added new SVG icon for the toolbar and corrected SVG color rendering.  \n* ''4.5.0'' — 2020.04.23 — Updated to TiddlyWiki 5.1.23 and fixed several issues.  \n* ''4.3.0'' — 2019.11.19 — Fixed caption rendering when the caption field contains wikitext.  \n* ''4.0.0'' — 2019.12.17 — Complete rewrite of the original Favorites plugin.  \n* ''3.0.12'' — 2018.11.01 — Released by Mohammad Rahmani.  \n* ''3.0.5'' — 2017.08.03 — Released by Andrew Harrison.\n"},"$:/plugins/kookma/favorites/icon":{"title":"$:/plugins/kookma/favorites/icon","text":"<svg xmlns=\"http://www.w3.org/2000/svg\" xml:space=\"preserve\" width=\"30\" fill=\"#810909\" viewBox=\"0 0 187.035 187.034\"><path d=\"M187.035 67.531c0 5.724-.926 11.502-2.765 17.135-8.756 39.567-84.262 87.355-87.474 89.377-.989.627-2.144.949-3.279.949s-2.29-.334-3.279-.949c-3.224-1.991-78.745-49.81-87.681-89.958C.929 79.152 0 73.368 0 67.531a55.532 55.532 0 0 1 28.708-48.634c17.278-9.542 39.028-8.917 55.521 1.06 2.923 1.739 3.852 5.542 2.077 8.449-1.742 2.923-5.575 3.791-8.452 2.083-12.769-7.675-29.728-8.168-43.19-.78-13.755 7.587-22.305 22.067-22.305 37.811 0 4.545.682 9.033 2.11 13.28 6.321 28.278 56.398 65.916 79.074 80.694 22.651-14.778 72.723-52.386 78.867-80.094 1.595-4.978 2.313-9.466 2.313-13.893a43.213 43.213 0 0 0-22.348-37.851c-13.798-7.526-30.799-6.981-44 1.422-2.861 1.708-6.674.962-8.524-1.899-1.8-2.862-.953-6.686 1.912-8.525 16.854-10.781 38.788-11.505 56.544-1.802 17.706 9.815 28.728 28.445 28.728 48.679zM160.839 80.2c.328.131.633.152.962.152a3.086 3.086 0 0 0 2.923-2.109 34.048 34.048 0 0 0 1.741-10.723c0-12.739-6.924-24.481-18.061-30.592-5.212-2.923-10.899-4.396-16.928-4.396-1.705 0-3.069 1.355-3.069 3.069s1.364 3.075 3.069 3.075c4.938 0 9.633 1.221 13.944 3.641 9.183 5.063 14.906 14.714 14.906 25.203 0 2.953-.487 5.891-1.438 8.792a3.027 3.027 0 0 0 1.951 3.888z\"/></svg>","type":"image/svg+xml","caption":"heart-outline-shape-svgrepo-com.svg","name":"","tags":"","url":"https://www.svgrepo.com/svg/64438/heart-outline-shape"},"$:/plugins/kookma/favorites/images/heart":{"title":"$:/plugins/kookma/favorites/images/heart","tags":"","type":"text/vnd.tiddlywiki","text":"<svg class='tc-image-favorites-button tc-image-button' width='22pt' height='22pt' viewBox=\"0 0 548.963 548.963\">\n  <path d=\"M398.327 30.737c-50.875 0-95.875 31.151-123.452 69.542-27.577-38.391-72.577-69.542-123.453-69.542-43.452 0-85.484 19.04-114.168 51.677-55.221 62.834-43.085 166.366-2.375 233.454 37.014 60.992 93.832 109.188 151.972 149.303 28.091 19.383 57.387 37.902 88.024 53.055 99.891-47.723 210.791-127.301 255.975-231.268 14.211-32.706 20.074-69.187 17.54-104.126-5.802-80.081-55.673-152.095-150.063-152.095zm76.397 231.826c-29.517 67.915-101.28 134.971-198.998 186.739-16.542-9.498-34.248-20.795-54.119-34.504-64.682-44.627-107.394-86.15-134.407-130.674-15.6-25.704-25.049-57.908-25.931-88.342-.612-21.188 2.699-51.047 21.958-72.963 16.996-19.333 42.491-30.881 68.202-30.881 31.046 0 58.452 22.754 73.752 44.045 11.5 16.004 30 43.856 49.707 43.856s38.208-27.852 49.707-43.856c15.294-21.291 42.699-44.045 73.752-44.045 26.77 0 47.24 8.36 62.577 25.557 15.013 16.824 24.4 41.598 26.438 69.756 1.841 25.569-2.644 52.313-12.638 75.312z\"/>\n</svg>"},"$:/plugins/kookma/favorites/images/stack":{"title":"$:/plugins/kookma/favorites/images/stack","caption":"465-stackoverflow","library":"IcoMoon Free","library_version":"13-Mar-2016","tags":"$:/tags/Image","type":"text/vnd.tiddlywiki","text":"<svg width=\"22pt\" height=\"22pt\" class=\"tc-image-icm-465-stackoverflow tc-image-button\" viewBox=\"0 0 16 16\"><path d=\"M16 10v6h-16v-6h2v4h12v-4zM3 11h10v2h-10zM3.237 8.835l0.433-1.953 9.763 2.164-0.433 1.953zM4.37 4.821l0.845-1.813 9.063 4.226-0.845 1.813zM15.496 5.648l-1.218 1.587-7.934-6.088 0.88-1.147h0.91z\"></path></svg>"},"$:/plugins/kookma/favorites/license":{"title":"$:/plugins/kookma/favorites/license","tags":"","type":"text/vnd.tiddlywiki","text":"Distributed under an MIT license.\n\n\"\"\"\nCopyright (c) 2018-2022 [[Mohammad Rahmani|https://github.com/kookma]]\nCopyright (c) 2017 [[Andrew Harrison|https://github.com/t5a]]\n\"\"\"\n\n<<<\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n<<<"},"$:/plugins/kookma/favorites/macros/combo-search":{"title":"$:/plugins/kookma/favorites/macros/combo-search","code-body":"yes","tags":"","type":"text/vnd.tiddlywiki","text":"\\define standardSearch()  [all[tiddlers+shadows]tag<foldertagTid>get[list]enlist-input[]search<searchTerms>]\n\\define filterSearch()    [all[tiddlers+shadows]tag<foldertagTid>get[list]enlist-input[]]+[subfilter<searchTerms>]\n\n\\define displayResult(filter)\n<!-- is there any reults at all -->\n<$set name=itemsFound filter=<<__filter__>> >\n<$list filter=\"[enlist<itemsFound>limit[1]]\" variable=null emptyMessage='//  no result for this folder//<br>'>\n\n<!-- is there any reults at all, if no just show an empty message -->\n<$list filter=\"[subfilter<folders>]\" variable=folder>\n<!-- show folder name if there is a result for it -->\n<$list filter=\"[list<folder>]  :intersection[enlist<itemsFound>] :and[limit[1]]\">\n<div class=\"kk-fav-title\"><$transclude tiddler=<<folder>> field=caption/></div>\n</$list>\n<!-- search and show the result in current folder -->\n<$list filter=\"[list<folder>]  :intersection[enlist<itemsFound>]\">\n<span class=\"kk-fav-left-gap\"><$link to=<<item>>/></span><br>\n</$list>\n</$list>\n\n</$list>\n</$set>\n\\end\n\n\n\\define combo-search(stateTiddler:\"\")\n<$vars pattern=\"^\\[\"\n       stateTid={{{ [[$:/temp/favorites/combosearch/]addsuffix[$stateTiddler$]] }}}>\t \n<!--UI -->\n<div class=\"tc-search tc-advanced-search\">\n<$keyboard key=escape actions='<$action-deletetiddler $tiddler=<<stateTid>>/>' >\n<$edit-text tiddler=<<stateTid>> tag=input default=\"\" placeholder=\"search by keyword or filter\" class=\"sltext\"/>\t\t\t\n</$keyboard>\n\n<!-- show results if any-->\n<$reveal state=<<stateTid>> type=\"nomatch\" text=\"\"><!--do not display when searchbox is empty-->\n<$button class=\"tc-btn-invisible\" actions='<$action-deletetiddler $tiddler=<<stateTid>>/>'>\n{{$:/core/images/close-button}}\n</$button>\n\n<$set name=searchTerms tiddler=<<stateTid>> field=text>\n\n<$list filter=\"[<searchTerms>trim[]minlength[3]limit[1]]\" emptyMessage=\"<br>//<small>Search text too short</small>//\" variable=null>\n\n<!-- Check input search term -->\n<div class=\"tc-search-results\">\n<$list filter=\"[<searchTerms>regexp<pattern>then[filterSearch]else[standardSearch]]\" variable=searchMethod >\n<$reveal type=nomatch default=\"filterSearch\" text=<<searchMethod>> >\n<$macrocall $name=displayResult filter=<<standardSearch>> />\n</$reveal>\n<$reveal type=match default=\"filterSearch\" text=<<searchMethod>> >\n<$macrocall $name=displayResult filter=<<filterSearch>> />\n</$reveal>\n\n</$list>\n</div>\n</$list>\n</$set>\n</$reveal>\n</div>\n</$vars>\n\\end"},"$:/plugins/kookma/favorites/macros/definition":{"title":"$:/plugins/kookma/favorites/macros/definition","code-body":"yes","tags":"","type":"text/vnd.tiddlywiki","text":"\\define folderpath()     $:/favorites/folders\n\\define foldertagTid()   $:/tags/Favorites/Folder\n\\define folders()        [all[tiddlers+shadows]!is[draft]tag[$(foldertagTid)$]]\n\\define recentlyAdded()  $:/favorites/folders/recent\n\n\\define temppath()       $:/temp/favorites\n\n\\define selectionTid()   $(temppath)$/selection\n\\define tempNewTid()     $(temppath)$/new-folder\n\\define temppopupTid()   $(temppath)$/delete-confirm\n\\define tempreorderTid() $(temppath)$/reorder\n\\define saveTid()        $(temppath)$/savetitle\n\n<!-- slide in fav-tree macro -->\n\\define sliderRevealState() $(temppath)$/slider/$(currentFolder)$\n\n<!-- for rename folder -->\n\\define stateFolderEdit()    $(temppath)$/folder-editor/$(currentFolder)$\n\\define tempFolderTextEdit() $(temppath)$/folder-editor/edit-text/$(currentFolder)$\n\n<!-- config tiddlers-->\n\\define itemLinkTitleinTree()              $:/config/favorites/ItemLinkTitle\n\\define newFolderPosion()                  $:/config/favorites/NewFolderPosition\n\\define openFolderOnDrop()                 $:/config/favorites/FolderOpenOnDrop\n\\define expandFolderModifierKey()          $:/config/favorites/modifierkey/expand-folder\n\\define openFolderModifierKey()            $:/config/favorites/modifierkey/open-folder\n\\define openFolderItemsModifierKey()       $:/config/favorites/modifierkey/open-folder-items\n\\define sidebarTabfromFolderModifierKey()  $:/config/favorites/modifierkey/sidebar-tab-from-folder"},"$:/plugins/kookma/favorites/macros/drag-n-drop":{"title":"$:/plugins/kookma/favorites/macros/drag-n-drop","code-body":"yes","tags":"$:/tags/Favorites/Macro/Folder","type":"text/vnd.tiddlywiki","text":"\\whitespace trim\n\n\\define drop-actions()\n<!-- Tiddler is already in favorites and moved between folders by drag and drop -->\n<$reveal type=\"nomatch\" default=\"\" text={{{ [<actionTiddler>listed[]tag<foldertagTid>] }}} >\n<$vars oldFolder={{{ [<actionTiddler>listed[]tag<foldertagTid>!match<currentFolder>] +[limit[1]]}}} >\n<$action-listops $tiddler=<<oldFolder>> $field=\"list\" $subfilter=\"-[<actionTiddler>]\" />\n</$vars>\n</$reveal>\n<!-- Whether tiddler is already in favorites list or NOT, move it to the target folder -->\n<$action-listops $tiddler=<<currentFolder>> $subfilter=\"+[insertbefore:currentTiddler<actionTiddler>]\"/>\n<$list filter=\"[<openFolderOnDrop>get[text]match[yes]]\" variable=null><!-- check config to open folder if a tiddler is dropped on it -->\n<$action-setfield $tiddler=<<sliderRevealState>> text=\"open\"/>\n</$list>\n\\end\n\n\\define placeholder()\n<div class=\"tc-droppable-placeholder\">&nbsp;</div>\n\\end\n\n\\define droppable-item-after-last-item()\n\\whitespace trim\n<!--add extra space for drag and drop after last item-->\n<$droppable actions=<<drop-actions>> enable=<<tv-enable-drag-and-drop>> >\n<<placeholder>><div style=\"margin-top:-6px;margin-bottom:-6px;\">&nbsp;</div>\n</$droppable>\n\\end\n\n\n\\define display-folder-is-empty()\n<$droppable actions=<<drop-actions>> enable=<<tv-enable-drag-and-drop>> >\n<<placeholder>>\n//Folder is empty//\n</$droppable>\n\\end"},"$:/plugins/kookma/favorites/macros/fav-tree":{"title":"$:/plugins/kookma/favorites/macros/fav-tree","code-body":"yes","tags":"$:/tags/Favorites/Macro/Folder","type":"text/vnd.tiddlywiki","text":"\\define fav-tree(status:\"closed\")\n<div  class=\"kk-fav-row\">\n<!-- part i: show slider buttons -->\n<$reveal type=\"nomatch\" state=<<sliderRevealState>> text=\"open\" default=\"$status$\" tag=\"div\" >\n    <$button class=\"tc-btn-invisible tc-tiddlylink\" actions=<<slider-btn-actions open>> dragFilter=\"[list<currentFolder>]\" >\n\t\t   {{$:/core/images/right-arrow}}\n    </$button>\n</$reveal>\n<$reveal type=\"match\" state=<<sliderRevealState>> text=\"open\" default=\"$status$\" tag=\"div\" >\n    <$button class=\"tc-btn-invisible tc-tiddlylink\" actions=<<slider-btn-actions closed>> dragFilter=\"[list<currentFolder>]\" >\n\t\t   {{$:/core/images/down-arrow}}\n    </$button>\n</$reveal>\n<!-- part ii: show folder title (view/edit) and buttons -->\n<$list filter=\"[<fv-config-buttons>match[yes]] :filter[<currentFolder>!match<recentlyAdded>]\" variable=null emptyMessage=\"\"\"\n<$transclude  tiddler=\"$:/plugins/kookma/favorites/templates/folder-title-view\"/>\n\"\"\">\n<$transclude  tiddler=\"$:/plugins/kookma/favorites/templates/folder-title-edit\"/>\n<$transclude  tiddler=\"$:/plugins/kookma/favorites/templates/folder-clear-btn\"/>\n<$transclude  tiddler=\"$:/plugins/kookma/favorites/templates/folder-rename-btn\"/>\n<$transclude  tiddler=\"$:/plugins/kookma/favorites/templates/folder-delete-btn\"/>\n<$transclude  tiddler=\"$:/plugins/kookma/favorites/templates/folder-reorder-btn\"/>\n</$list>\n</div>\n<!-- part iii: show folder contents (items in each folder) -->\n<$reveal type=\"match\" state=<<sliderRevealState>> text=\"open\" default=\"$status$\" tag=div class=\"kk-fav-folder-content\">\n<$list filter=\"[list<currentFolder>]\" template=\"$:/plugins/kookma/favorites/templates/list-item\" emptyMessage=<<display-folder-is-empty>> />\n<!--create an extra droppable area after last item-->\n<<droppable-item-after-last-item>>\n</$reveal>\n\\end\n\n\n<!-- This is a hidden action,\n1. shift+clik on folder slider button causes to expand the current folder and collapse all other folders.\n2. ctrl+clik  on folder slider button causes to open the current folder in story river and navigate to that folder.\n3. alt+clik   on folder slider button causes to open all the tiddlers (items) in the current folder in story river.\n-->\n\n\\define slider-btn-actions(status)\n<!--expand/collapse this folder, normal or default action, no modifier -->\n<$list filter=\"[<modifier>match[normal]]\">\n<$action-setfield $tiddler=<<sliderRevealState>> text=\"$status$\"/>\n</$list>\n\n<!--expand this folder, collapse other folders, except Recently added -->\n<$list filter=\"[<modifier>match{$(expandFolderModifierKey)$}]\">\n<$action-deletetiddler $filter=\"[prefix[$(temppath)$/slider/]]\"/>\n<$action-setfield $tiddler=\"$:/temp/favorites/slider/$:/favorites/folders/recent\" text=closed/>\n<$action-setfield $tiddler=<<sliderRevealState>> text=open/>\n</$list>\n\n<!-- open this folder in story river -->\n<$list filter=\"[<modifier>match{$(openFolderModifierKey)$}]\">\n<$action-navigate $to=<<currentFolder>> $scroll=\"yes\"/>\n</$list>\n\n<!-- open all items in this folder in story river -->\n<$list filter=\"[<modifier>match{$(openFolderItemsModifierKey)$}]\">\n<$action-setfield $tiddler=<<sliderRevealState>> text=open/>\n<$list filter=\"[list<currentFolder>reverse[]]\" >\n<$action-navigate $to=<<currentTiddler>> />\n</$list>\n</$list>\n\n<!-- create a sidebar tab from current folder -->\n<$list filter=\"[<modifier>match{$(sidebarTabfromFolderModifierKey)$}]\">\n<$action-createtiddler \n  $basetitle = {{{ [<currentFolder>get[title]addsuffix[-as-sidebar-tab]] }}}\n  caption    = {{{ [<currentFolder>get[caption]] }}}\n  tags       = \"$:/tags/SideBar\"\n  text       = \"{{$(currentFolder)$||$:/plugins/kookma/favorites/ui/ViewTemplate/Folder}}\"\n/>\n</$list>\n\n\\end"},"$:/plugins/kookma/favorites/macros/folder-create":{"title":"$:/plugins/kookma/favorites/macros/folder-create","code-body":"yes","tags":"$:/tags/Favorites/Macro/Folder","type":"text/vnd.tiddlywiki","text":"\\define add-folder-add-actions()\n\\import $:/plugins/kookma/favorites/macros/definition\n\\define add_folder_top_folderlist()    <$action-listops $tiddler=<<foldertagTid>> $field=\"list\" $subfilter=\"[<saveTid>get[text]] +[putfirst[]]\" />\n\\define add_folder_bottom_folderlist() <$action-listops $tiddler=<<foldertagTid>> $field=\"list\" $subfilter=\"[<saveTid>get[text]]\" />\n<$list filter=\"[<tempNewTid>get[text]trim[]!is[blank]]\" variable=null>\n<$let \n  folderName   = {{{  [<tempNewTid>get[text]] }}} \n  saveTitle    = {{{[<saveTid>get[text]]}}} \n  setFolderPos = {{{ [<newFolderPosion>get[text]match[yes]then[add_folder_top_folderlist]else[add_folder_bottom_folderlist]]  }}} >\n  <$action-createtiddler \n    $basetitle=<<unusedtitle baseName:\"$(folderpath)$/f\" separator:\"-\" template:\"$basename$$separator$$count:3$\">>\n\t  $savetitle=<<saveTid>>\n\t  caption=<<folderName>>\n\t  tags=<<foldertagTid>>\n  />\n\t<!-- put new folder in right position in foldertagTid-->\n  <$macrocall $name=<<setFolderPos>> />\n</$let>\n<!-- delete temp tiddler to clear inputbox-->\n<$action-deletetiddler $tiddler=<<tempNewTid>>/>\n</$list>\n\\end\n\n\\define add-folder-cancel-actions() <$action-deletetiddler $tiddler=<<tempNewTid>>/>\n\n\\define new-fav-folder-inputbox()\n<$keyboard key=enter  actions=<<add-folder-add-actions>>    >\n<$keyboard key=escape actions=<<add-folder-cancel-actions>> >\n<$edit-text tag=input tiddler=<<tempNewTid>> default=\"\" placeholder=\"enter a folder name\" class=\"kk-fav-input\"/>\n</$keyboard>\n</$keyboard>\n\\end\n\n\\define new-fav-folder-cancelButton()\n<$list filter=\"[<tempNewTid>get[text]minlength[1]limit[1]]\"><!-- clear button -->\n<$button tooltip=\"clear input box\" class=\"tc-btn-invisible kk-fav-btn-mini\" actions=<<add-folder-cancel-actions>>>\n{{$:/core/images/close-button}}\n</$button>\n</$list>\n\\end\n\n\\define new-fav-folder-addButton()\n<$button tooltip=\"create new folder\" class=\"tc-btn-invisible\" \nactions=<<add-folder-add-actions>> disabled= {{{ [<tempNewTid>get[text]!is[blank]then[no]else[yes]] }}}>\n{{$:/core/images/new-button}}\n</$button>\n\\end"},"$:/plugins/kookma/favorites/macros/folder-delete":{"title":"$:/plugins/kookma/favorites/macros/folder-delete","code-body":"yes","tags":"$:/tags/Favorites/Macro/Folder","type":"text/vnd.tiddlywiki","text":"\\define folder-delete-actions()\n<$wikify name=warning-message text='Do you wish to delete \"{{$(currentFolder)$!!caption}}\" folder ($(currentFolder)$)?'>\n<$action-confirm $message=<<warning-message>> >\n\t<$action-listops $tiddler=<<foldertagTid>> $field=\"list\" $subfilter=\"-[[$(currentFolder)$]]\" />\n\t<$action-deletetiddler $tiddler=<<currentFolder>>/>\n\t</$action-confirm>\"\"\"\n</$wikify>\t\n\\end\t\n<!-- why wikify is used? the confirm message uses browser message and they does not support Wikitext! so we need to wikify everyhting before passing to $message -->"},"$:/plugins/kookma/favorites/macros/folder-rename":{"title":"$:/plugins/kookma/favorites/macros/folder-rename","code-body":"yes","tags":"$:/tags/Favorites/Macro/Folder","type":"text/vnd.tiddlywiki","text":"\\define rename-perform-actions()\n<$list filter=\"[<tempFolderTextEdit>get[text]trim[]minlength[1]]\" variable=newTitle>\n<$action-setfield $tiddler=<<currentFolder>> $field=\"caption\" $value=<<newTitle>> />\n<$action-deletetiddler $tiddler=<<tempFolderTextEdit>>/>\n<$action-deletetiddler $tiddler=<<stateFolderEdit>>/>\n</$list>\n\\end\n\n\\define rename-cancel-actions()\n<$action-deletetiddler $tiddler=<<tempFolderTextEdit>>/>\n<$action-deletetiddler $tiddler=<<stateFolderEdit>>/>\n\\end"},"$:/plugins/kookma/favorites/macros/folder-reorder":{"title":"$:/plugins/kookma/favorites/macros/folder-reorder","code-body":"yes","tags":"$:/tags/Favorites/Macro/Folder","type":"text/vnd.tiddlywiki","text":"\\define folder-reorder()\n<$let selectedFolder={{{ [<tempreorderTid>get[text]] }}} \n      disabledStatus={{{[<selectedFolder>tag<foldertagTid>limit[1]then[no]else[yes]]}}} >\n<div class=\"kk-fav-title\">\n<$list filter=\"[<disabledStatus>match[no]]\" variable=null emptyMessage=\"//First select a folder//\">\n<$transclude tiddler=<<selectedFolder>> field=caption/>\n</$list>\n</div>\n\n<$button tooltip=\"move down\" disabled=<<disabledStatus>> >{{$:/core/images/down-arrow}}\n<$action-listops $tiddler=<<foldertagTid>> $field=\"list\" $subfilter=\"+[move:1<selectedFolder>]\"/>\n</$button>\n<$button tooltip=\"move up\" disabled=<<disabledStatus>> >{{$:/core/images/up-arrow}}\n<$action-listops $tiddler=<<foldertagTid>> $field=\"list\" $subfilter=\"+[move:-1<selectedFolder>]\"/>\n</$button>\n<$button tooltip=\"put first\" disabled=<<disabledStatus>> >{{$:/core/images/fold-button}}\n<$action-listops $tiddler=<<foldertagTid>> $field=\"list\" $subfilter=\"-[<selectedFolder>] [<selectedFolder>] +[putfirst:1[]]\"/>\n</$button>\n<$button tooltip=\"put last\" disabled=<<disabledStatus>> >{{$:/core/images/unfold-button}}\n<$action-listops $tiddler=<<foldertagTid>> $field=\"list\" $subfilter=\"-[<selectedFolder>] [<selectedFolder>putlast:1[]]\"/>\n</$button>\n<$button tooltip=\"sort downwards\" disabled=<<disabledStatus>> >{{$:/core/images/unfold-all-button}}\n<$action-listops $tiddler=<<foldertagTid>> $field=\"list\" $subfilter=\"+[sort[caption]]\"/>\n</$button>\n<$button tooltip=\"sort upwards\" disabled=<<disabledStatus>> >{{$:/core/images/fold-all-button}}\n<$action-listops $tiddler=<<foldertagTid>> $field=\"list\" $subfilter=\"+[!sort[caption]]\"/>\n</$button>\n</$let>\n\\end"},"$:/plugins/kookma/favorites/manager/filterbuttons/exptab-bundle":{"title":"$:/plugins/kookma/favorites/manager/filterbuttons/exptab-bundle","code-body":"yes","list-after":"$:/plugins/kookma/favorites/manager/filterbuttons/exptab-export","tags":"$:/tags/Favorites/Manager/FilterButton","type":"text/vnd.tiddlywiki","text":"\\define bundle-folder()\n<$button class=\"tc-btn-invisible\" tooltip=\"export folder and tiddlers as bundle\"> {{$:/plugins/kookma/favorites/images/stack}}\n<$action-sendmessage $message=\"tm-download-file\" \n   $param=\"$:/plugins/kookma/favorites/templates/export-bundle\"\n   exportFilter=<<exportFilter>>\n   folderpath=<<folderpath>>\n   foldertags=<<foldertagTid>>\n   foldercaption= {{{ [<selection>get[caption]addprefix[Exported ]] :else[[Exported favorites]]}}}\n   filename=\"Favorites_Folder_Exported.json\"\n/>\n</$button>\n\\end\n\n\n<$reveal type=nomatch default=\"0\" text=<<resultCount>> ><!--display button if there is a result-->\n<$set name=exportFilter filter=<<selectionFilter>> >\n<<bundle-folder>>\n</$set>\n</$reveal>\n\n"},"$:/plugins/kookma/favorites/manager/filterbuttons/exptab-delete":{"title":"$:/plugins/kookma/favorites/manager/filterbuttons/exptab-delete","code-body":"yes","tags":"$:/tags/Favorites/Manager/FilterButton","type":"text/vnd.tiddlywiki","text":"<$reveal type=nomatch default=\"0\" text=<<resultCount>> ><!--display button if there is a result-->\n<$button popup=<<qualify $(temppopupTid)$>> class=\"tc-btn-invisible\" tooltip=\"delete all tiddlers in this folder\">\n{{$:/core/images/delete-button}}\n</$button>\n</$reveal>\n\n<$reveal state=<<qualify $(temppopupTid)$>> type=\"popup\" position=\"belowleft\" animate=\"yes\">\n<div class=\"tc-block-dropdown-wrapper\">\n<div class=\"tc-block-dropdown tc-edit-type-dropdown\">\n<div class=\"tc-dropdown-item-plain\">\nAre you sure you wish to delete permanently <<resultCount>> tiddler(s)?\n</div>\n<div class=\"tc-dropdown-item-plain\">\n<$button class=\"tc-button tt-button\"> delete\n   <$action-deletetiddler $filter=<<selectionFilter>> />\n   <$list filter=\"[<selectionType>match[singleFolder]then<selection>] :else[all[tiddlers+shadows]tag<foldertagTid>]\" >\n      <$action-deletefield  $field=\"list\"/>\n   </$list>\n</$button>\n</div>\n</div>\n</div>\n</$reveal>"},"$:/plugins/kookma/favorites/manager/filterbuttons/exptab-export":{"title":"$:/plugins/kookma/favorites/manager/filterbuttons/exptab-export","code-body":"yes","tags":"$:/tags/Favorites/Manager/FilterButton","type":"text/vnd.tiddlywiki","text":"<$reveal type=nomatch default=\"0\" text=<<resultCount>> ><!--display button if there is a result-->\n<$set name=exportFilter filter=<<selectionFilter>> >\n<$macrocall $name=\"exportButton\"  exportFilter=<<exportFilter>> lingoBase=\"$:/language/Buttons/ExportTiddlers/\" baseFilename=\"favorites\"/>\n</$set>\n</$reveal>"},"$:/plugins/kookma/favorites/manager/tabs/export":{"title":"$:/plugins/kookma/favorites/manager/tabs/export","caption":"Export","list-after":"$:/plugins/kookma/favorites/manager/tabs/search","tags":"$:/tags/Favorites/Manager","type":"text/vnd.tiddlywiki","text":"\\import $:/plugins/kookma/favorites/macros/definition\n\\define lingo-base() $:/language/Search/\n\nExport or delete folders content\n\n<$let \n   selection=    {{{ [<selectionTid>get[text]] }}} \n   selectionType={{{ [<selection>match[allFavorites]then[allFavorites]else[singleFolder]] }}}\n   allFavoritesFilter=\"[all[tiddlers+shadows]tag<foldertagTid>get[list]enlist-input[]]\"\n   singleFolderFilter=\"[list<selection>]\"\n   selectionFilter={{{ [<selectionType>match[singleFolder]then<singleFolderFilter>else<allFavoritesFilter>] }}}\n   resultCount=    {{{ [subfilter<selectionFilter>count[]] }}} \n>\n\n<div class=\"tc-search tc-advanced-search\">\n<$select tiddler=<<selectionTid>> field=\"text\" default=\"message\" class=\"kk-fav-select\">\n<option value=\"message\" disabled selected>Select a folder</option>\n<$list filter=<<folders>> >\n<option value=<<currentTiddler>>><$transclude field=caption/></option>\n</$list>\n<$list filter=\"[subfilter<folders>count[]!match[0]]\">\n<option disabled>&#9472;&#9472;&#9472;&#9472;&#9472;</option>\n<option value=\"allFavorites\" class=\"kk-fav-title\">All favorite items</option>\n</$list>\n</$select><!-- display all filter buttons -->\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/Favorites/Manager/FilterButton]!has[draft.of]]\"><$transclude/></$list>\n</div>\n\n\n<div class=\"tc-search-results\">\n<<lingo Filter/Matches>><!-- uses resultCount to show matches-->\n<$reveal type=nomatch default=\"0\" text={{{[subfilter<selectionFilter>count[]]}}} >\n<$list filter=<<selectionFilter>> template=\"$:/core/ui/ListItemTemplate\"/>\n</$reveal>\n</div>\n\n</$let>"},"$:/plugins/kookma/favorites/manager/tabs/folders":{"title":"$:/plugins/kookma/favorites/manager/tabs/folders","caption":"Folders","tags":"$:/tags/Favorites/Manager","type":"text/vnd.tiddlywiki","text":"\\import $:/plugins/kookma/favorites/macros/definition\n\\import [all[tiddlers+shadows]tag[$:/tags/Favorites/Macro/Folder]]\n\n<!-- Create the UI --->\n\nCreate, delete, rename, and rearrange folders\n\n<$transclude tiddler=\"$:/plugins/kookma/favorites/templates/ui-folder-create\"  />\n<$transclude tiddler=\"$:/plugins/kookma/favorites/templates/ui-folder-reorder\" />\n\n<$vars fv-config-buttons=yes>\n<$transclude tiddler=\"$:/plugins/kookma/favorites/templates/ui-folder-tree\" field=text/>\n</$vars>\n"},"$:/plugins/kookma/favorites/manager/tabs/search":{"title":"$:/plugins/kookma/favorites/manager/tabs/search","caption":"Search","list-after":"$:/plugins/kookma/favorites/manager/tabs/folders","tags":"$:/tags/Favorites/Manager","type":"text/vnd.tiddlywiki","text":"\\import $:/plugins/kookma/favorites/macros/definition\n\\import $:/plugins/kookma/favorites/macros/combo-search\n\nSearch in favorites list (use filter or standard search)\n\n<<combo-search favorites>>"},"$:/plugins/kookma/favorites/readme":{"title":"$:/plugins/kookma/favorites/readme","tags":"","type":"text/vnd.tiddlywiki","text":"; Favorites\nA favorite item also called a bookmark is a shortcut, you are creating for quick access to it. You can access that bookmark at any time and view that as many times as you want without having to search and find it again.\n\nFavorites plugin is a set of tool for creating favorites (bookmarks) in Tiddlywiki. Each favorite item is a shortcut to a tiddler. Favorites can be organized in folders.\n\n;Code and demo\nFor learning plugin features, syntax, tutorial and examples see the plugin demo and code pages\n\n* Demo: https://kookma.github.io/TW-Favorites/\n* Code: https://github.com/kookma/TW-Favorites"},"$:/plugins/kookma/favorites/styles/dynamic":{"title":"$:/plugins/kookma/favorites/styles/dynamic","tags":"$:/tags/Stylesheet","type":"text/vnd.tiddlywiki","text":"/* skin */\n.kk-fav-row:hover {\n\tbackground-color: <<colour table-header-background>>;\n}\n.kk-fav-row .tc-btn-invisible svg\n{\n\tfont-size: 0.9em;\n\tfill: <<colour muted-foreground>>;\n\tvertical-align: middle;\n\tmargin-right:0.5em;\n}\n.kk-fav-folder-content .tc-btn-invisible.tc-btn-mini svg {\n\tfont-size: 0.7em;\n\tfill: <<colour muted-foreground>>;\n\tvertical-align: middle;\n\n}\n\n/* for manager btn */\n.tc-btn-invisible.kk-fav-btn{\n\tcolor: <<colour muted-foreground>>;\n}\n.tc-btn-invisible.kk-fav-btn svg{\n\tfill:  <<colour muted-foreground>>;\n}\n\n/* very important: style the favorite icon on tiddler view toolbar */\n.tc-tiddler-controls .notselected .tc-image-favorites-button {\n\tstroke:#000;\n}\n\n.tc-tiddler-controls .selected .tc-image-favorites-button {\n\tstroke: {{$:/config/favorites/IconColor}};\n\tfill:   {{$:/config/favorites/IconColor}};\n}\n\n.tc-tiddler-controls:hover .selected .tc-image-favorites-button {\n\tstroke: {{$:/config/favorites/IconColor}};\n\tfill:   {{$:/config/favorites/IconColor}};\n}"},"$:/plugins/kookma/favorites/styles/folder":{"title":"$:/plugins/kookma/favorites/styles/folder","text":".kk-fav-row{\n\tdisplay: flex;\t\n\twidth: 100%;\n\tflex-wrap: nowrap;\n}\n\n.kk-fav-row div.kk-fav-input-textbox{\n\tflex-grow:1;\n\tmargin-right:8px;\n\twidth:100%;\n}\n\n.kk-fav-row .kk-fav-input-textbox .kk-fav-input{\n\twidth:100%;\n\toutline: none;\n\tborder: none;\n\tborder-bottom: 1px dotted grey;\n\tbackground: transparent;\n}\n\n.kk-fav-row .kk-fav-input-textbox .kk-fav-inpu:focus{\n\toutline: none;\n\tborder-bottom: 1px solid #5778d8;\n\tbackground: transparent;\n}\n\n.kk-fav-row button.tc-btn-invisible{\n\toutline: none;\n}\n\n/* for title everywhere */\n.kk-fav-title{\n\tfont-weight: 600;\n}\n.kk-fav-title svg{\n\theight:1em;\n\twidth:1em;\n\tvertical-align:middle;\n}\n/* folder title row */\n.kk-fav-row .kk-fav-title{\n\twidth:100%;\n}\n\n.kk-fav-row input[type=\"radio\"] {\n\twidth:  0.7em;\n\theight: 0.7em; \n\tvertical-align: middle;\n}\n\n/* other items */\nlabel.kk-fav-label{\n\tflex-shrink:0;\n\twidth:120px;\n\n}\n\n/* in slider */\n.kk-fav-folder-content {\n\tpadding-left:20px;\n}\n\n/* only if caption has svg segment.\nsee $:/plugins/kookma/favorites/templates/item-link */\n.kk-fav-item svg{\n\theight:1em;\n\twidth:1em;\n\tvertical-align:middle;\n}\n\n/* clear buttons on inputbox for create folder, rename folder*/\n.tc-btn-invisible.kk-fav-btn-mini svg{\n\twidth:0.8em;\n\theight:0.8em;\n\tvertical-align:middle;\n}\n.tc-btn-invisible.kk-fav-btn-mini{\n\tmargin-right:0.5em;\n}\n\n/* folder reorder and rearrange */\n.kk-fav-folder-reorder{\n\tmargin-top:15px;\n\tmargin-bottom:15px;\n}\n\n.kk-fav-folder-reorder button{\n\talign-self: flex-start;\n\tflex-shrink:0;\n\tmargin-left:4px;\n}\n\n.kk-fav-folder-reorder button svg.tc-image-button{\n\twidth:  0.7em;\n\theight: 0.7em;\n}\n\n/* hide item-delete for frozen-tab ----- this is important and control visibilty of close button*/\n.kk-fav-frozen-tab .kk-fav-close-btn{\n\tdisplay:none;\n}\n","tags":"$:/tags/Stylesheet","type":"text/css"},"$:/plugins/kookma/favorites/styles/misc":{"title":"$:/plugins/kookma/favorites/styles/misc","text":"/* select widget in export */\n.kk-fav-select{\n\tdisplay:inline-block;\n\twidth:320px;\n}\n\n/* buttons on sidebar: manager, collapse all */\n.tc-btn-invisible.kk-fav-btn{\n\topacity:0.5;\n}\n.tc-btn-invisible.kk-fav-btn:hover{\n\topacity:1.0;\n}\n.tc-btn-invisible.kk-fav-btn .tc-image-fold{\n\theight:0.9em;\n\tvertical-align:bottom;\n}\n\n\n.kk-fav-btn .tc-image-refresh-button{\n\tvertical-align: middle;\n\twidth:  1.1em;\n\theight: 1.1em;\n}\n\ninput.kk-fv-color-input[type=\"color\"] {\n\t-webkit-appearance: none;\n\tborder: none;\n\twidth: 40px;\n\theight: 20px;\n}\n\n/* Utility classes */\n\n.kk-fav-left-gap{\n\tmargin-left:8px;\n}\n\n/* Settings tab */\nlabel.kk-fav-label {\n display:inline-block;\n width: 210px;\n margin-bottom:0.4em;\n}\n.kk-fav-input {\n  width:120px;\n}\n\n/* folder-tiddler-ui*/\n\ndetails.kk-fav-details>summary{\npadding-left:0;\n}","tags":"$:/tags/Stylesheet","type":"text/css"},"$:/plugins/kookma/favorites/templates/export-bundle":{"title":"$:/plugins/kookma/favorites/templates/export-bundle","code-body":"yes","tags":"","type":"text/vnd.tiddlywiki","text":"<$let timeStamp=<<now \"YYYY0MM0DD0hh0mm0ssXXX\">>\n      folderName={{{ [<timeStamp>addprefix[/f-]addprefix<folderpath>] }}}\t>\n[<$list filter=<<exportFilter>> ><$text text=<<jsontiddler>>/>,</$list>\n{\n    \"created\":\"<<timeStamp>>\",\n    \"exported-from\":\"{{$:/SiteTitle}}\",\n    \"tags\":\"<<foldertags>>\",\n    \"title\":\"<<folderName>>\",\n    \"caption\":\"<<foldercaption>>\",\n    \"list\":\"{{{ [subfilter<exportFilter>format:titlelist[]join[ ]] }}}\"\n}\n]</$let>"},"$:/plugins/kookma/favorites/templates/folder-clear-btn":{"title":"$:/plugins/kookma/favorites/templates/folder-clear-btn","code-body":"yes","tags":"","type":"text/vnd.tiddlywiki","text":"<$list filter=\"[<tempFolderTextEdit>get[text]minlength[1]limit[1]]\" variable=null><!-- clear button -->\n<$button tooltip=\"cancel rename folder\" class=\"tc-btn-invisible kk-fav-btn-mini\"\nactions=<<rename-cancel-actions>>\n>{{$:/core/images/close-button}}</$button>\n</$list>"},"$:/plugins/kookma/favorites/templates/folder-delete-btn":{"title":"$:/plugins/kookma/favorites/templates/folder-delete-btn","code-body":"yes","tags":"","type":"text/vnd.tiddlywiki","text":"<$button class=\"tc-btn-invisible\" actions=<<folder-delete-actions>> >\n{{$:/core/images/delete-button}}\n</$button>\n"},"$:/plugins/kookma/favorites/templates/folder-rename-btn":{"title":"$:/plugins/kookma/favorites/templates/folder-rename-btn","code-body":"yes","tags":"","type":"text/vnd.tiddlywiki","text":"<$reveal stateTitle=<<stateFolderEdit>> type=\"nomatch\" text=\"edit\">\n<$button class=\"tc-btn-invisible\" setTitle=<<stateFolderEdit>> setTo=\"edit\">{{$:/core/images/edit-button}}\n<$action-setfield $tiddler=<<tempFolderTextEdit>> $field=\"text\" $value={{{[<currentFolder>get[caption]]}}}/>\n</$button>\n</$reveal>\n<$reveal stateTitle=<<stateFolderEdit>> type=\"match\" text=\"edit\">\n<$button class=\"tc-btn-invisible\" actions=<<rename-perform-actions>> disabled={{{ [<tempFolderTextEdit>get[text]trim[]minlength[1]then[no]else[yes]] }}}>{{$:/core/images/done-button}}</$button>\n</$reveal>"},"$:/plugins/kookma/favorites/templates/folder-reorder-btn":{"title":"$:/plugins/kookma/favorites/templates/folder-reorder-btn","code-body":"yes","tags":"","type":"text/vnd.tiddlywiki","text":"\\define check-actions()\n<!-- Save the current ordering of the tiddlers with this tag -->\n<$set name=\"order\" filter=\"[<foldertagTid>tagging[]] -[<recentlyAdded>]\">\n<$action-listops $tiddler=<<foldertagTid>> $field=\"list\" $filter=\"+[enlist<order>]\">\n</$set>\n\\end\n<$radio tiddler=<<tempreorderTid>> field=text value=<<currentFolder>> actions=<<check-actions>> class=\"kk-fav-btn-radio\"/>"},"$:/plugins/kookma/favorites/templates/folder-title-edit":{"title":"$:/plugins/kookma/favorites/templates/folder-title-edit","code-body":"yes","type":"text/vnd.tiddlywiki","text":"<div class=\"kk-fav-input-textbox\">\n<!-- view mode ----->\n<!-- see also: $:/plugins/kookma/favorites/templates/folder-title-view -->\n<$reveal stateTitle=<<stateFolderEdit>> type=\"nomatch\" text=\"edit\" tag=\"div\" class=\"kk-fav-title\">\n<$droppable actions=<<drop-actions>> enable=<<tv-enable-drag-and-drop>> >\n<$let tv-wikilinks=\"no\">\n<$transclude tiddler=<<currentFolder>> field=\"caption\">\n<$transclude tiddler=<<currentFolder>> field=\"title\"/>\n</$transclude>\n</$let>\n</$droppable>\n</$reveal>\n<!-- view mode ----->\n<$reveal stateTitle=<<stateFolderEdit>> type=\"match\" text=\"edit\" tag=\"div\">\n<$keyboard key=enter  actions=<<rename-perform-actions>> >\n<$keyboard key=escape actions=<<rename-cancel-actions>>  >\n<$edit-text tiddler=<<tempFolderTextEdit>> field=\"text\" tag=\"input\" default={{{[<currentFolder>get[caption]]}}} placeholder=\"enter a folder title\" focus=yes class=\"kk-fav-input\"/>\n</$keyboard>\n</$keyboard>\n</$reveal>\n</div>"},"$:/plugins/kookma/favorites/templates/folder-title-view":{"title":"$:/plugins/kookma/favorites/templates/folder-title-view","code-body":"yes","tags":"","type":"text/vnd.tiddlywiki","text":"<!-- view mode ----->\n<div class=\"kk-fav-title\">\n<$droppable actions=<<drop-actions>> enable=<<tv-enable-drag-and-drop>> tag=\"div\">\n<$let tv-wikilinks=\"no\">\n<$transclude tiddler=<<currentFolder>> field=\"caption\">\n<$transclude tiddler=<<currentFolder>> field=\"title\"/>\n</$transclude>\n</$let>\n</$droppable>\n</div>\n\n<!-- \nThis tiddler is a duplicate of $:/plugins/kookma/favorites/templates/folder-title-edit view part \nIt is only needed to prevent displaying edit box when \"Folder Manager\" is open in story river\nand user edit a folder\n-->"},"$:/plugins/kookma/favorites/templates/item-delete-btn":{"title":"$:/plugins/kookma/favorites/templates/item-delete-btn","code-body":"yes","type":"text/vnd.tiddlywiki","text":"<!-- delete button to remove a tiddler from favorites  ----->\n<$button class=\"tc-btn-invisible tc-btn-mini kk-fav-close-btn\" tooltip=\"remove item from favorites\">\n{{$:/core/images/close-button}}\n<$action-listops $tiddler=<<currentFolder>> $field=\"list\" $subfilter=\"-[<currentTiddler>]\"/>\n</$button>&nbsp;"},"$:/plugins/kookma/favorites/templates/item-link-btn":{"title":"$:/plugins/kookma/favorites/templates/item-link-btn","code-body":"yes","type":"text/vnd.tiddlywiki","text":"<!----link to item (currentTiddler in favorite list)  --->\n<$link to=<<currentTiddler>> tooltip=<<currentTiddler>> class=\"kk-fav-item\">\n<!--- dispField determines how to show the link title for an item: use specified field in currentFolder, or use global setting, or use caption or title as a fallback -->\n<$let dispField= {{{ [<currentFolder>get[format]] [<itemLinkTitleinTree>get[text]] :and[first[]trim[]!is[blank]else[caption]] }}} tv-wikilinks=\"no\" >\n<$list filter=\"[<currentTiddler>get<dispField>trim[]!is[blank]] :filter[<dispField>!match[title]]\" variable=null emptyMessage='<$view field=title/>'>\n<$transclude field=<<dispField>>/>\n</$list>\n</$let>\n</$link><br>"},"$:/plugins/kookma/favorites/templates/list-item":{"title":"$:/plugins/kookma/favorites/templates/list-item","code-body":"yes","tags":"","type":"text/vnd.tiddlywiki","text":"<!-- display a single favorite item (a tiddler in favorites list) -->\n\\whitespace trim\n<$droppable actions=<<drop-actions>> enable=<<tv-enable-drag-and-drop>> tag=div>\n<<placeholder>>\n<$transclude tiddler=\"$:/plugins/kookma/favorites/templates/item-delete-btn\" field=text/> \n<$transclude tiddler=\"$:/plugins/kookma/favorites/templates/item-link-btn\"   field=text/>\n</$droppable>"},"$:/plugins/kookma/favorites/templates/ui-folder-create":{"title":"$:/plugins/kookma/favorites/templates/ui-folder-create","code-body":"yes","tags":"","type":"text/vnd.tiddlywiki","text":"<div class=\"kk-fav-row\" style=\"background-color: transparent;\">\n<label class=\"kk-fav-label\">Add new folder:</label>\n<div class=\"kk-fav-input-textbox\">\n<<new-fav-folder-inputbox>>\n</div>\n<<new-fav-folder-cancelButton>>\n<<new-fav-folder-addButton>>\n</div>"},"$:/plugins/kookma/favorites/templates/ui-folder-reorder":{"title":"$:/plugins/kookma/favorites/templates/ui-folder-reorder","code-body":"yes","tags":"","type":"text/vnd.tiddlywiki","text":"<div class=\"kk-fav-row kk-fav-folder-reorder\" style=\"background-color: transparent;\">\n<label class=\"kk-fav-label\">Rearrange folder:</label>\n<$macrocall $name=\"folder-reorder\" />\n</div>"},"$:/plugins/kookma/favorites/templates/ui-folder-tree":{"title":"$:/plugins/kookma/favorites/templates/ui-folder-tree","code-body":"yes","tags":"","type":"text/vnd.tiddlywiki","text":"\\import $:/plugins/kookma/favorites/macros/definition\n\\import [all[tiddlers+shadows]tag[$:/tags/Favorites/Macro/Folder]]\n\n<$list filter=<<folders>> variable=\"currentFolder\">\n<$macrocall $name=\"fav-tree\" status={{{ [<currentFolder>match<recentlyAdded>then[open]else[closed]] }}} />\n</$list>\n<!-- all folder with closed status except recentlyAdded -->"},"$:/plugins/kookma/favorites/ui/buttons/add-remove":{"title":"$:/plugins/kookma/favorites/ui/buttons/add-remove","caption":"{{$:/plugins/kookma/favorites/images/heart}} {{$:/language/Buttons/Favorites/Caption/Add}}","description":"{{$:/language/Buttons/Favorites/Hint/Add}}","list-after":"$:/core/ui/Buttons/info","tags":"$:/tags/ViewToolbar","type":"text/vnd.tiddlywiki","text":"\\whitespace trim\n\\import [[$:/plugins/kookma/favorites/macros/definition]]\n\n\\define add-this-tiddler() [[$(currentTiddler)$]]+[putfirst[]]\n\\define remove-this-tiddler() -[[$(currentTiddler)$]]\n\n\n\\define show-favorites-button(class)\n<$list filter='[<tv-config-toolbar-icons>match[yes]]'>\n<span class=\"$class$\">{{$:/plugins/kookma/favorites/images/heart}}</span>\n</$list>\n<$list filter='[<tv-config-toolbar-text>match[yes]]'>\n<span class='tc-btn-text'><$text text={{$:/language/Buttons/Favorites/Caption/Add}}/></span>\n</$list>\n\\end\n\n\n\\define btn-add-to-favorites()\n\\whitespace trim\n <$button \n   tooltip={{$:/language/Buttons/Favorites/Hint/Add}} aria-label={{$:/language/Buttons/Favorites/Caption/Add}} \n   class=<<tv-config-toolbar-class>>>\n     <$action-listops $tiddler=<<recentlyAdded>> $field='list'  $subfilter=<<add-this-tiddler>>/>\n\t\t <$macrocall $name=\"show-favorites-button\" class=\"notselected\"/>\n </$button>\n\\end \n\n\\define btn-remove-from-favorites()\n\\whitespace trim\n <$button \n   tooltip={{$:/language/Buttons/Favorites/Hint/Remove}} aria-label={{$:/language/Buttons/Favorites/Caption/Remove}} \n   class=<<tv-config-toolbar-class>> >\n     <$action-listops $tiddler={{{[subfilter<folders>contains<currentTiddler>limit[1]]}}} $field='list' $subfilter=<<remove-this-tiddler>>/>\n\t\t <$macrocall $name=\"show-favorites-button\" class=\"selected\"/>\n </$button>\n\\end \n\n<!-- if tiddler is in favorites list, remove it, if tiddler is not in favorites list, add it -->\n<$list filter=\"[all[current]listed[]tag<foldertagTid>limit[1]]\" variable=null \n       emptyMessage=<<btn-add-to-favorites>> >\n<<btn-remove-from-favorites>>\n</$list>"},"$:/plugins/kookma/favorites/ui/ControlPanel/Settings":{"title":"$:/plugins/kookma/favorites/ui/ControlPanel/Settings","caption":"Favorites","tags":"$:/tags/ControlPanel/SettingsTab $:/tags/MoreSideBar","type":"text/vnd.tiddlywiki","text":"\\define checked-frozen()\n<$action-setfield $tiddler=\"$:/plugins/kookma/favorites/ui/sidebar/active-tab\" tags=\"\"/>\n<$action-setfield $tiddler=\"$:/plugins/kookma/favorites/ui/buttons/add-remove\" tags=\"\"/> \n<$action-setfield $tiddler=\"$:/state/tab/sidebar--595412856\" text=\"$:/plugins/kookma/favorites/ui/sidebar/frozen-tab\"/> \n\\end\n\n\\define unchecked-frozen()\n<$action-setfield $tiddler=\"$:/plugins/kookma/favorites/ui/sidebar/active-tab\" tags=\"$:/tags/SideBar\"/>\n<$action-setfield $tiddler=\"$:/plugins/kookma/favorites/ui/buttons/add-remove\" tags=\"$:/tags/ViewToolbar\"/> \n<$action-setfield $tiddler=\"$:/state/tab/sidebar--595412856\" text=\"$:/plugins/kookma/favorites/ui/sidebar/active-tab\"/> \n\\end\n\nThese settings let you customize the behaviour of the Favorites plugin.\n\n---\n\n;Show Favorites setting in more sidebar\n:<$checkbox tiddler=\"$:/plugins/kookma/favorites/ui/ControlPanel/Settings\" tag=\"$:/tags/MoreSideBar\"> Show setting in more sidebar</$checkbox>\n\n;Options\n:<$checkbox tiddler=\"$:/config/favorites/NewFolderPosition\" field=\"text\"\n    checked=\"yes\" unchecked=\"no\" default=\"no\"> Add new folder at the top of folders list</$checkbox>\n:<$checkbox tiddler=\"$:/config/favorites/FolderOpenOnDrop\" field=\"text\"\n    checked=\"yes\" unchecked=\"no\" default=\"no\"> Open folder on drop item</$checkbox>\n:<input type=\"checkbox\" disabled> Viewtoolbar icon color <$edit-text tiddler=\"$:/config/favorites/IconColor\" \n\tfield=\"text\" tag=\"input\" type=\"color\" class=\"kk-fv-color-input\"/>&nbsp;<$list filter=\"[[$:/config/favorites/IconColor]get[text]!match[#ff0000]]\" variable=null>\n\t<$button class=\"tc-btn-invisible kk-fav-btn\" tooltip=\"Reset viewtoolbar icon color\">{{$:/core/images/refresh-button}}\n    <$action-setfield $tiddler=\"$:/config/favorites/IconColor\" text=\"#ff0000\" />\n  </$button>\n\t</$list>\n\t \n;Freeze favorites\n:<$checkbox checkactions=<<checked-frozen>> \n   tiddler=\"$:/plugins/kookma/favorites/ui/sidebar/frozen-tab\" tag=\"$:/tags/SideBar\"\n\t checkactions=<<checked-frozen>>\n\t uncheckactions=<<unchecked-frozen>> > Enable frozen tab</$checkbox>\n\n;Shortcuts\n: <label class=\"kk-fav-label\">Expand folder, collapse other</label><$edit-text tiddler=\"$:/config/favorites/modifierkey/expand-folder\" tag=input default=\"\" placeholder=\"a moifier key like ctrl\" class=\"kk-fav-input\"/> + <kbd>click</kbd>\n: <label class=\"kk-fav-label\">Open folder in story river</label><$edit-text tiddler=\"$:/config/favorites/modifierkey/open-folder\" tag=input default=\"\" placeholder=\"a moifier key like shift\" class=\"kk-fav-input\"/> + <kbd>click</kbd>\n: <label class=\"kk-fav-label\">Open folder items in story river</label><$edit-text tiddler=\"$:/config/favorites/modifierkey/open-folder-items\" tag=input default=\"\" placeholder=\"a moifier key like shift\" class=\"kk-fav-input\"/> + <kbd>click</kbd>\n: <label class=\"kk-fav-label\">Create a sidebar tab from folder</label><$edit-text tiddler=\"$:/config/favorites/modifierkey/sidebar-tab-from-folder\" tag=input default=\"\" placeholder=\"a moifier key like shift\" class=\"kk-fav-input\"/> + <kbd>click</kbd>\n\n;Hidden settings\n: [[Global setting for item link title|$:/config/favorites/ItemLinkTitle]]"},"$:/plugins/kookma/favorites/ui/manager":{"title":"$:/plugins/kookma/favorites/ui/manager","caption":"Favorites Folder Manager","tags":"","type":"text/vnd.tiddlywiki","text":"<<tabs tabsList:\"[all[tiddlers+shadows]tag[$:/tags/Favorites/Manager]!has[draft.of]]\" default:\"$:/plugins/kookma/favorites/manager/tabs/folders\" explicitState:\"$:/state/favorites/folder-manager\">>"},"$:/plugins/kookma/favorites/ui/sidebar/active-tab":{"title":"$:/plugins/kookma/favorites/ui/sidebar/active-tab","caption":"Favorites","list-after":"$:/core/ui/SideBar/Open","tags":"$:/tags/SideBar","type":"text/vnd.tiddlywiki","text":"\\import $:/plugins/kookma/favorites/macros/definition\n\\import [all[tiddlers+shadows]tag[$:/tags/Favorites/Macro/Folder]]\n\n\\define show-options()\n<$button class=\"tc-btn-invisible  kk-fav-btn\" to=\"$:/plugins/kookma/favorites/ui/manager\">\n{{$:/core/images/options-button}} Manager\n</$button>\n\\end\n\n\\define colapse-all()\n<$list filter=\"[prefix[$(temppath)$/slider/]!suffix<recentlyAdded>] :filter[{!!text}match[open]] :and[limit[1]]\" variable=\"null\">\n<$button class=\"tc-btn-invisible kk-fav-btn\" tooltip=\"collapse all folders, open Recently added\" actions='<$action-deletetiddler $filter=\"[prefix[$(temppath)$/slider/]]\"/>' >\n{{$:/core/images/fold-button}}\n</$button>\n</$list>\n\\end\n\n<!-- create the sidebar tab -->\n<div class=\"\"><!-- for future use -->\n<div>\n--- &nbsp;<<show-options>>&nbsp;<<colapse-all>><p/>\n</div>\n<$transclude tiddler=\"$:/plugins/kookma/favorites/templates/ui-folder-tree\" field=text/>\n</div>"},"$:/plugins/kookma/favorites/ui/sidebar/frozen-tab":{"title":"$:/plugins/kookma/favorites/ui/sidebar/frozen-tab","caption":"Favorites","list-after":"$:/core/ui/SideBar/Open","tags":"","type":"text/vnd.tiddlywiki","text":"\\import $:/plugins/kookma/favorites/macros/definition\n\\import [all[tiddlers+shadows]tag[$:/tags/Favorites/Macro/Folder]]\n\n\n<div class=\"kk-fav-frozen-tab\">\n<$set name=\"tv-enable-drag-and-drop\" value=\"no\"><!-- disable drag and drop on frozen list -->\n<$transclude tiddler=\"$:/plugins/kookma/favorites/templates/ui-folder-tree\" />\n</$set>\n</div>\n"},"$:/plugins/kookma/favorites/ui/ViewTemplate/Folder":{"title":"$:/plugins/kookma/favorites/ui/ViewTemplate/Folder","list-after":"$:/core/ui/ViewTemplate/body","tags":"$:/tags/ViewTemplate","type":"text/vnd.tiddlywiki","text":"<$reveal type=\"nomatch\" stateTitle=<<folded-state>> text=\"hide\" tag=\"div\" retain=\"yes\" animate=\"yes\">\n<$list filter=\"[all[current]tag[$:/tags/Favorites/Folder]]\">\n<$transclude tiddler=\"$:/plugins/kookma/favorites/viewtemplates/ui-folder-tiddler\" mode=block/>\n</$list>\n</$reveal>"},"$:/plugins/kookma/favorites/ui/ViewTemplate/Title":{"title":"$:/plugins/kookma/favorites/ui/ViewTemplate/Title","tags":"","type":"text/vnd.tiddlywiki","text":"\\whitespace trim\n<h2 class=\"tc-title\" title={{$:/language/SystemTiddler/Tooltip}}>\n<$text text={{{ [<currentTiddler>get[caption]else{!!title}] }}}/>\n</h2>"},"$:/plugins/kookma/favorites/viewtemplates/ui-folder-tiddler":{"title":"$:/plugins/kookma/favorites/viewtemplates/ui-folder-tiddler","code-body":"yes","tags":"","type":"text/vnd.tiddlywiki","text":"<!--\nThis is a viewtemplate, used to render favorites tiddlers in story river \nIt is transcluded by $:/plugins/kookma/favorites/ui/ViewTemplate/Folder\n-->\n\n\\import $:/plugins/kookma/favorites/macros/definition\n\\import $:/plugins/kookma/favorites/macros/drag-n-drop\n\n\\define tempInput()           $:/temp/favorites/add-bulk/$(currentTiddler)$\n\\define inputFilter()         [subfilter{$(tempInput)$}] :filter[is[tiddler]]\n\\define actionFilterAdd()     [all[current]get[list]enlist-input[]]  [subfilter{$(tempInput)$}]\n\\define actionFilterRemove()  [all[current]get[list]enlist-input[]] -[subfilter{$(tempInput)$}]\n\\define actionDeleteTemp()    <$action-deletetiddler $tiddler=<<tempInput>> />\n\n\\define actionAppendItems()\n<!-- i. before bulk add of items, remove them from other folders -->\n<$list filter=\"[subfilter{$(tempInput)$}]\" variable=item>\n<$vars oldFolder={{{ [<item>listed[]tag<foldertagTid>] +[limit[1]] }}} >\n<$action-listops $tiddler=<<oldFolder>> $field=\"list\" $subfilter=\"-[<item>]\" />\n</$vars>\n</$list>\n<!-- ii. add items to current folder -->\n<$action-listops $filter=<<actionFilterAdd>>   />\n\\end\n\n\\define add-remove-bulk-items()\n<$button tooltip=\"Append items to this folder\" disabled={{{ [subfilter{$(tempInput)$}has[title]limit[1]then[no]else[yes]] }}} actions=<<actionAppendItems>> >\nAppend\n</$button>  \n<$button tooltip=\"Remove items from this folder\"  disabled={{{ [subfilter{$(tempInput)$}has[title]limit[1]then[no]else[yes]] }}} actions='<$action-listops $filter=<<actionFilterRemove>> />' >\nRemove\n</$button>\n\\end\n\nAdd, remove bulk of items\n\n<div class=\"tc-advanced-search\">\n<$keyboard key=\"escape\" actions=<<actionDeleteTemp>> >\n<$edit-text tiddler=<<tempInput>> field=\"text\" tag=\"input\" type=\"search\" default=\"\" placeholder=\"enter a filter like [tag[doc]]\"/>\n</$keyboard>\n<<add-remove-bulk-items>>\n</div>\n\n<!-- show the result of entered filter before adding/removing-->\n<details class=\"kk-fav-details\"><summary>FIltered items: <small>//<$count filter=<<inputFilter>>/> mathches//</small></summary>\n<div>\n<$list filter=<<inputFilter>> template=\"$:/core/ui/ListItemTemplate\"/>\n</div>\n</details>\n\nContents of folder: ''{{!!caption}}''\n\n<div class=\"kk-fav-folder-content\">\n<$vars currentFolder=<<currentTiddler>> >\n<$list filter=\"[list<currentFolder>]\" emptyMessage=<<display-folder-is-empty>> >\n<$transclude tiddler=\"$:/plugins/kookma/favorites/templates/list-item\"/>\n</$list>\n<!--create an extra droppable area after last item-->\n<<droppable-item-after-last-item>>\n</$vars>\n</div>\n"}}}