diff --git a/template/wiki/tiddlers/$__plugins_kookma_trashbin.json b/template/wiki/tiddlers/$__plugins_kookma_trashbin.json deleted file mode 100644 index 6bc9131d..00000000 --- a/template/wiki/tiddlers/$__plugins_kookma_trashbin.json +++ /dev/null @@ -1,271 +0,0 @@ -{ - "tiddlers": { - "$:/plugins/kookma/trashbin/history": { - "title": "$:/plugins/kookma/trashbin/history", - "created": "20200325121105806", - "modified": "20200410061128665", - "tags": "", - "type": "text/vnd.tiddlywiki", - "text": "Full change log https://kookma.github.io/TW-Trashbin/#ChangeLog\n\n* ''1.2.2'' -- 2020.04.10 -- bug fix in remove draft tiddlers to trashbin\n* ''1.2.1'' -- 2020.03.30 -- bug fix and doc improvement and UI fade correction\n* ''1.1.2'' -- 2020.03.28 -- stable release with new features and bug fixes\n* ''0.1.0'' -- 2019.02.12 -- mature public release\n" - }, - "$:/plugins/kookma/trashbin/images/recycle": { - "title": "$:/plugins/kookma/trashbin/images/recycle", - "created": "20190723043410550", - "modified": "20200325115955820", - "tags": "", - "type": "text/vnd.tiddlywiki", - "text": "" - }, - "$:/plugins/kookma/trashbin/images/sort-alpha-down": { - "title": "$:/plugins/kookma/trashbin/images/sort-alpha-down", - "caption": "sort-alpha-down", - "created": "20200327153959154", - "modified": "20200327185043770", - "tags": "$:/tags/Image", - "type": "text/vnd.tiddlywiki", - "text": "" - }, - "$:/plugins/kookma/trashbin/images/sort-alpha-up": { - "title": "$:/plugins/kookma/trashbin/images/sort-alpha-up", - "caption": "sort-alpha-up (Solid)", - "created": "20200327155639132", - "modified": "20200327162316327", - "tags": "$:/tags/Image", - "type": "text/vnd.tiddlywiki", - "text": "" - }, - "$:/plugins/kookma/trashbin/images/sort-numeric-down": { - "title": "$:/plugins/kookma/trashbin/images/sort-numeric-down", - "caption": "sort-numeric-down", - "created": "20200327153929866", - "modified": "20200327185052283", - "tags": "$:/tags/Image", - "type": "text/vnd.tiddlywiki", - "text": "" - }, - "$:/plugins/kookma/trashbin/images/sort-numeric-up": { - "title": "$:/plugins/kookma/trashbin/images/sort-numeric-up", - "caption": "sort-numeric-up (Solid)", - "created": "20200327155701392", - "modified": "20200327162214617", - "tags": "$:/tags/Image", - "type": "text/vnd.tiddlywiki", - "text": "" - }, - "$:/plugins/kookma/trashbin/images/times.svg": { - "title": "$:/plugins/kookma/trashbin/images/times.svg", - "created": "20190716033811299", - "modified": "20200325115955828", - "tags": "", - "type": "text/vnd.tiddlywiki", - "text": "" - }, - "$:/plugins/kookma/trashbin/images/trash-alt": { - "title": "$:/plugins/kookma/trashbin/images/trash-alt", - "caption": "trash-alt", - "created": "20190710102513532", - "modified": "20200327173632794", - "type": "text/vnd.tiddlywiki", - "text": "" - }, - "$:/language/Buttons/Trashbin/Caption/Move": { - "title": "$:/language/Buttons/Trashbin/Caption/Move", - "created": "20200325181608623", - "modified": "20200327192039481", - "tags": "", - "type": "text/vnd.tiddlywiki", - "text": "trashbin" - }, - "$:/language/Buttons/Trashbin/Caption/Recycle": { - "title": "$:/language/Buttons/Trashbin/Caption/Recycle", - "created": "20200327192303891", - "modified": "20200327192322259", - "tags": "", - "type": "text/vnd.tiddlywiki", - "text": "recycle" - }, - "$:/language/Buttons/Trashbin/Hint/Move": { - "title": "$:/language/Buttons/Trashbin/Hint/Move", - "created": "20200325181718189", - "modified": "20200327192226676", - "tags": "", - "type": "text/vnd.tiddlywiki", - "text": "Move this tiddler to Trashbin" - }, - "$:/language/Buttons/Trashbin/Hint/Recycle": { - "title": "$:/language/Buttons/Trashbin/Hint/Recycle", - "created": "20200327192150450", - "modified": "20200327194553902", - "tags": "", - "type": "text/vnd.tiddlywiki", - "text": "Recycle this tiddler from Trashbin" - }, - "$:/plugins/kookma/trashbin/license": { - "title": "$:/plugins/kookma/trashbin/license", - "created": "20200325121133911", - "modified": "20200325121209299", - "tags": "", - "type": "text/vnd.tiddlywiki", - "text": "Distributed under an MIT license.\n\nCopyright (c) 2019-2020 [[Mohammad Rahmani|https://github.com/kookma]]\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/trashbin/macros/bulk-operation": { - "title": "$:/plugins/kookma/trashbin/macros/bulk-operation", - "created": "20190723115934925", - "modified": "20200327170128541", - "type": "text/vnd.tiddlywiki", - "text": "\\define delete-trashed-tiddlers()\n<$list filter=\"[tag[$:/tags/trashbin]search:title[$:/trashbin/]]\" variable=\"Item\">\n<$action-deletetiddler $tiddler=<> />\n\n\\end\n\n\\define trashbin-empty-bin()\n<$macrocall $name=\"trashbin-confirm-delete\"\nbtnLabel=\"Empty Trashbin\"\ncountFilter=\"[tag[$:/tags/trashbin]search:title[$:/trashbin/]]\"\nactionMacro=<>\nstateTiddler=\"$:/state/trashbin/emptyTrashBin\"\n/>\n\\end\n\n\\define restore-all()\n<$button tooltip=\"Restore all\" class=\"tc-btn-invisible tc-tiddlylink\"> {{$:/plugins/kookma/trashbin/images/recycle}}\n<$list filter=\"[tag[$:/tags/trashbin]search:title[$:/trashbin/]sort[]]\" variable=\"Item\">\n<$macrocall $name=\"restore\" tiddler=<> />\n\n\n\\end" - }, - "$:/plugins/kookma/trashbin/macros/confirm-empty": { - "title": "$:/plugins/kookma/trashbin/macros/confirm-empty", - "created": "20190723114948285", - "modified": "20200327170306636", - "type": "text/vnd.tiddlywiki", - "text": "\\define trashbin-confirm-delete(\nbtnLabel:\"Delete these tiddlers\", \nconfirmMessage:\"Are you sure you wish to delete\", \nstateTiddler:\"\", \ncountFilter:\"\", \nactionMacro:\"\")\n\n<$button class=\"tc-btn-invisible tc-tiddlylink\" tooltip=\"Empty Trashbin\" popup=<> > {{$:/core/images/delete-button}}\n\n\n<$reveal state=<> type=\"popup\" position=\"belowleft\" animate=\"yes\">\n
\n
\n
\n<$set name=\"resultCount\" value=\"\"\"<$count filter=<<__countFilter__>> />\"\"\">\n$confirmMessage$ <> tiddler(s)?\n\n
\n
\n<$button class=\"tc-btn-invisible tc-tiddlylink\" tooltip=\"Empty archive\"\nactions=<<__actionMacro__>> > \n{{$:/core/images/delete-button}} Delete all?\n\n
\n
\n
\n\n\\end" - }, - "$:/plugins/kookma/trashbin/macros/move-to-trashbin": { - "title": "$:/plugins/kookma/trashbin/macros/move-to-trashbin", - "created": "20190710071039480", - "modified": "20200410061108463", - "type": "text/vnd.tiddlywiki", - "text": "\\define trashTidName() <>\n\n\\define move-to-trashbin(tiddler)\n<$list filter=\"[<__tiddler__>has[title]]\" variable=ignore> \n<$vars trashTiddler={{{ [<__tiddler__>addprefix[$:/trashbin/]] }}}>\n<$wikify name=\"trashTid\" text=<> >\n<$list filter=\"[<__tiddler__>fields[]]\" variable=\"fieldName\">\n<$action-setfield \n $tiddler=<>\n $index=<>\n $value={{{[<__tiddler__>get] }}}\n/>\n\n<$action-setfield $tiddler=<> tags=\"$:/tags/trashbin\"/>\n\n<$action-sendmessage $message=\"tm-close-tiddler\" $param=<<__tiddler__>> />\n<$list filter=\"[<__tiddler__>has[draft.of]]\" variable=ignore emptyMessage=\"\"\"<$action-deletetiddler $tiddler=<<__tiddler__>> />\"\"\">\n<$action-deletetiddler $tiddler={{{[<__tiddler__>get[draft.of]]}}} />\n<$action-deletetiddler $tiddler=<<__tiddler__>> /> \n\n\n\n\\end\n" - }, - "$:/plugins/kookma/trashbin/macros/preview-option": { - "title": "$:/plugins/kookma/trashbin/macros/preview-option", - "created": "20200327203154169", - "modified": "20200327205705076", - "tags": "", - "type": "text/vnd.tiddlywiki", - "text": "\\define viewTemplateTid() $:/plugins/kookma/trashbin/viewtemplate/trash-item\n\\define styleTid() $:/plugins/kookma/trashbin/styles/show-trashed\n\n\\define preview-option()\n<$reveal type=\"nomatch\" stateTitle=<> stateField=\"tags\" text=\"$:/tags/ViewTemplate\" default=\"\">\n<$button setTitle=<> setField=\"tags\" setTo=\"$:/tags/ViewTemplate\" class=\"tc-btn-invisible\" tooltip=\"Show trash item preview\"> \n{{$:/core/images/preview-open}}\n<$action-setfield $tiddler=<> tags=\"$:/tags/Stylesheet\"/> \n\n\n<$reveal type=\"match\" stateTitle=<> stateField=\"tags\" text=\"$:/tags/ViewTemplate\" default=\"\">\n<$button setTitle=<> setField=\"tags\" setTo=\"\" class=\"tc-btn-invisible\" tooltip=\"Hide trash item preview\"> \n{{$:/core/images/preview-closed}}\n<$action-setfield $tiddler=<> tags=\"\"/> \n\n\n\\end\n\n<>" - }, - "$:/plugins/kookma/trashbin/macros/restore": { - "title": "$:/plugins/kookma/trashbin/macros/restore", - "created": "20190710105439064", - "modified": "20200327170445307", - "type": "text/vnd.tiddlywiki", - "text": "\\define open-restoredTid-in-story-river()\n<$action-listops $tiddler=\"$:/StoryList\" $field='list' $subfilter=\"\"\"[[$(restoredTid)$]]+[putfirst[]]\"\"\"/>\n\\end\n\n\\define restoreTid(tiddler)\n<$list filter=\"[<__tiddler__>indexes[]] -title\" variable=\"fieldName\">\n <$action-setfield \n $tiddler=<> \n\t $field=<> \n\t $value={{{ [<__tiddler__>getindex] }}} \n />\n\n<$action-sendmessage $message=\"tm-close-tiddler\" $param=<<__tiddler__>> />\n<$action-deletetiddler $tiddler=<<__tiddler__>> />\n<$macrocall $name=\"open-restoredTid-in-story-river\" />\n\\end\n\n\n\\define restore(tiddler)\n<$vars \n restoredTid={{{ [<__tiddler__>getindex[title]] }}} \n isExisted= {{{ [<__tiddler__>getindex[title]has[title]] }}} \n >\n<$reveal type=\"nomatch\" text=<> default=<> >\n<$macrocall $name=\"restoreTid\" tiddler=<<__tiddler__>> />\n\n\n<$reveal type=\"match\" text=<> default=<> >\n <$action-sendmessage $message=\"tm-notify\" \n $param=\"$:/plugins/kookma/trashbin/restore-notification\" \n\t restoredTiddler=<>\n\t/>\n\n\n\n\\end" - }, - "$:/plugins/kookma/trashbin/macros/sort": { - "title": "$:/plugins/kookma/trashbin/macros/sort", - "created": "20200327141043944", - "modified": "20200327201042137", - "type": "text/vnd.tiddlywiki", - "text": "\\define tempSortTid() $:/keepstate/trashbin/sort\n\n\\define show-icons()\n<$vars state-alpha-down=\"sortan[title]\" state-alpha-up=\"!sortan[title]\"\n state-numeric-down=\"sort[modified]\" state-numeric-up=\"!sort[modified]\" >\n<$list filter=\"[get[text]match]\">\n{{$:/plugins/kookma/trashbin/images/sort-alpha-down}}\n\n<$list filter=\"[get[text]match]\">\n{{$:/plugins/kookma/trashbin/images/sort-alpha-up}}\n\n<$list filter=\"[get[text]match]\">\n{{$:/plugins/kookma/trashbin/images/sort-numeric-down}}\n\n<$list filter=\"[get[text]match]\">\n{{$:/plugins/kookma/trashbin/images/sort-numeric-up}}\n\n<$list filter=\"[!has[title]]\">\nClick to sort\n\n\n\\end\n\n\n\\define trashbin-cycle(arraySet:\"\", stateTiddler:\"\", stateField:\"text\")\n<$vars array=<<__arraySet__>> currentItem={{{[<__stateTiddler__>get<__stateField__>]}}} \n tooltip={{{[get[text]]}}} >\n <$button tooltip=<> class=\"tc-btn-invisible\"> <>\n <$set\n filter='[enlistafter]'\n name=NextItem\n emptyValue={{{[enlistfirst[]]}}}\n >\n <$action-setfield\n $tiddler=<<__stateTiddler__>>\n $field=<<__stateField__>>\n $value=<> />\n \n \n\t\n\\end\n\n\\define sort-by()\n<$macrocall $name=\"trashbin-cycle\" \n arraySet=\"sortan[title] !sortan[title] sort[modified] !sort[modified]\" \n stateTiddler=<> />\n\\end" - }, - "$:/plugins/kookma/trashbin/readme": { - "title": "$:/plugins/kookma/trashbin/readme", - "created": "20200325121220142", - "modified": "20200325171839260", - "tags": "", - "type": "text/vnd.tiddlywiki", - "text": "; Trashbin\nThe concept behind Trashbin plugin is to have a simple mechanism to move deleted tiddlers to Trashbin and be able to restore them later if required.\n\n; Code and demo\nFor learning plugin features, mechanism, terminology, syntax, tutorial and examples see the plugin demo and code pages\n\n* Demo: https://kookma.github.io/TW-Trashbin/\n* Code: https://github.com/kookma/TW-Trashbin\n" - }, - "$:/plugins/kookma/trashbin/restore-notification": { - "title": "$:/plugins/kookma/trashbin/restore-notification", - "created": "20190711130503628", - "modified": "20200325115955867", - "tags": "", - "type": "text/vnd.tiddlywiki", - "text": "{{$:/plugins/kookma/trashbin/images/recycle}} \n\n''Warning''
\nThe target tiddler <$text text=<>/> already exists.
\nIt cannot be overwritten!" - }, - "$:/plugins/kookma/trashbin/sidebar-tab": { - "title": "$:/plugins/kookma/trashbin/sidebar-tab", - "caption": "Trashbin", - "created": "20190613131234955", - "modified": "20200330082257793", - "tags": "$:/tags/SideBar", - "type": "text/vnd.tiddlywiki", - "text": "{{$:/plugins/kookma/trashbin/ui/sidebar}}" - }, - "$:/plugins/kookma/trashbin/styles/main.css": { - "title": "$:/plugins/kookma/trashbin/styles/main.css", - "text": "/* trashbin main ui */\n.kk-trashbin-ui{\n\tmin-width:320px; /* controls the minimum width of whole ui */\n}\n\n.kk-trahbin-ui svg{\n fill:#aaaaaa;\n}\n\n.kk-trahbin-ui .kk-trahbin-ui-controls svg{\n width:1.2em;\n height:1.2em;\t\n}\n\n\n/* trashbin items list ui */\n.kk-trashbin-row{\n\tdisplay: flex;\t\n\twidth: 95%;\n\tflex-wrap: wrap;\n}\n\n\n.kk-trashbin-row .kk-trashbin-delete,\n.kk-trashbin-row .kk-trashbin-restore {\n\tflex-grow:0; width:20px;\n\tmargin-left:5px;\n}\n\n.kk-trashbin-row .kk-trashbin-link{\n\tflex-grow:1; \n\twidth: calc(100% - 50px); \n\tpadding-right: 10px;\n}\n\n.kk-trashbin-row:hover { background-color: #f6f6f6; }\n\n/* UI button fade-in*/\n.kk-trahbin-ui button:hover svg { fill: #000000; }\n.kk-trahbin-ui .kk-trashbin-ui-btn { opacity:0.5; }\n.kk-trahbin-ui .kk-trashbin-ui-btn:hover { opacity:1.0; }", - "created": "20190716040116074", - "modified": "20200330103433380", - "tags": "$:/tags/Stylesheet", - "type": "text/css" - }, - "$:/plugins/kookma/trashbin/styles/show-trashed": { - "title": "$:/plugins/kookma/trashbin/styles/show-trashed", - "created": "20200327100826751", - "modified": "20200330123344137", - "tags": "$:/tags/Stylesheet", - "type": "text/vnd.tiddlywiki", - "text": "[data-tags~=\"$:/tags/trashbin\"] .tc-tiddler-body,\n[data-tags~=\"$:/tags/trashbin\"] .tc-tags-wrapper\n{\n display:none;\n}\n" - }, - "$:/plugins/kookma/trashbin/styles/toolbar-buttons": { - "title": "$:/plugins/kookma/trashbin/styles/toolbar-buttons", - "text": "html body.tc-body .tc-tiddler-controls .tc-image-trash-alt {stroke: white;fill:#660000;}\nhtml body.tc-body .tc-tiddler-controls .tc-image-recycle {stroke: white;fill:#138808;}", - "created": "20200329162056060", - "modified": "20200406191049638", - "type": "text/css" - }, - "$:/plugins/kookma/trashbin/styles/trashed-item": { - "title": "$:/plugins/kookma/trashbin/styles/trashed-item", - "text": "/* set style for trashed tiddlers */\n[data-tags ~=\"$:/tags/trashbin\"] { border: 1px solid crimson; }", - "created": "20200329161931981", - "modified": "20200329162224824", - "tags": "$:/tags/Stylesheet", - "type": "text/css" - }, - "$:/plugins/kookma/trashbin/templates/body": { - "title": "$:/plugins/kookma/trashbin/templates/body", - "created": "20200329133632160", - "modified": "20200329155701084", - "tags": "", - "type": "text/vnd.tiddlywiki", - "text": "\\define show-plain() \n
\n
<$transclude index=\"text\" mode=\"block\"/>
\n
\n\\end\n\n\\define show() \n
\n<$transclude index=\"text\" mode=\"block\"/>\n
\n\\end\n\n\n\n<$list filter=\"[getindex[type]match[application/json]]\" variable=ignore>\n<$list filter=\"[getindex[plugin-type]]\" variable=ignore emptyMessage=<> >\n
\nThis tiddler contains plugin!\n
\n\n\n\n<$list filter=\"[getindex[type]match[application/x-tiddler-dictionary]]\n[getindex[type]match[text/plain]]\n[getindex[type]match[text/css]]\" variable=ignore>\n<>\n\n\n\n\n<$list filter=\"[getindex[type]]\" variable=type emptyMessage=<> >\n<$list filter=\"[match[text/vnd.tiddlywiki]]\" variable=ignore>\n<$transclude index=\"text\" mode=\"block\"/>\n\n<$list filter=\"[search:title[image]]\" variable=ignore>\n
\nThis tiddler contains image data!\n
\n\n" - }, - "$:/plugins/kookma/trashbin/templates/subtitle": { - "title": "$:/plugins/kookma/trashbin/templates/subtitle", - "text": "
\n<$link to={{##modifier}}>\n<$view index=\"modifier\"/>\n <$view index=\"modified\" format=\"date\" template={{$:/language/Tiddler/DateFormat}}/>\n
", - "created": "20200327082525694", - "modified": "20200327083014840", - "type": "text/vnd.tiddlywiki" - }, - "$:/plugins/kookma/trashbin/templates/tags": { - "title": "$:/plugins/kookma/trashbin/templates/tags", - "created": "20200327084049139", - "modified": "20200327120921036", - "tags": "", - "type": "text/vnd.tiddlywiki", - "text": "
\n<$vars tagsIndex={{{[getindex[tags]]}}}>\n<$list filter=\"[enlist]\" template=\"$:/core/ui/TagTemplate\" storyview=\"pop\"/>\n\n
" - }, - "$:/plugins/kookma/trashbin/templates/title": { - "title": "$:/plugins/kookma/trashbin/templates/title", - "created": "20200327085342927", - "modified": "20200327195225059", - "tags": "", - "type": "text/vnd.tiddlywiki", - "text": "\\define title-styles()\nfill:$(foregroundColor)$;\n\\end\n
\n
\n<$set name=\"tv-wikilinks\" value={{$:/config/Tiddlers/TitleLinks}}>\n<$link>\n<$set name=\"foregroundColor\" value={{##color}}>\n>>\n<$transclude tiddler={{##icon}}>\n<$transclude tiddler={{$:/config/DefaultTiddlerIcon}}/>\n\n\n\n<$list filter=\"[{##title}removeprefix[$:/]]\">\n

\n$:/<$text text=<>/>\n

\n\n<$list filter=\"[{##title}!prefix[$:/]]\">\n

\n<$view field=\"title\"/>\n

\n\n\n\n
" - }, - "$:/plugins/kookma/trashbin/ui/sidebar": { - "title": "$:/plugins/kookma/trashbin/ui/sidebar", - "caption": "Trashbin", - "created": "20200330082034854", - "modified": "20200330123325985", - "type": "text/vnd.tiddlywiki", - "text": "\\import $:/plugins/kookma/trashbin/macros/sort\n\\import $:/plugins/kookma/trashbin/macros/restore\n\\import $:/plugins/kookma/trashbin/macros/confirm-empty\n\\import $:/plugins/kookma/trashbin/macros/bulk-operation\n\\import $:/plugins/kookma/trashbin/macros/preview-option\n\n\\define show-link()\n<$link to=<> ><$text text={{{ [removeprefix[$:/trashbin/]] }}} />  <$view field=\"modified\" format=\"date\" template=\"0MM/0DD/YYYY 0hh:0mm AM\"/>\n\\end\n\n\\define recycle-button()\n{{||$:/plugins/kookma/trashbin/ui/toolbar-button}}\n\\end\n\n\\define delete-button()\n<$button class=\"tc-btn-invisible\" tooltip=\"Delete permanently\">\n{{$:/plugins/kookma/trashbin/images/times.svg}}\n<$list filter=\"[list[$:/StoryList]] +[field:title>]\" variable=ignore>\n<$action-sendmessage $message=\"tm-close-tiddler\" $param=<<> />\n\n<$action-deletetiddler $tiddler=<> />\n\n\\end\n\n\\define trashbin-siderbar-ui()\n
\n\n\n<> <> <> <>\n\n \n\n<$list filter='[tag[$:/tags/trashbin]prefix[$:/trashbin/]limit[1]]' variable=null emptyMessage=\"Trash bin is empty\">\n<$count filter='[tag[$:/tags/trashbin]]'/> items in Trashbin\n\n\n\n\n<$list filter=\"[tag[$:/tags/trashbin]prefix[$:/trashbin/]$(sortType)$]\">\n
\n\t
<>
\n\t
<>
\n\t
<>
\n
\n\n\n
\n\\end\n\n<$vars sortType={{{[get[text]] ~[[]] }}}>\n<>\n" - }, - "$:/plugins/kookma/trashbin/ui/toolbar-button": { - "title": "$:/plugins/kookma/trashbin/ui/toolbar-button", - "caption": "{{$:/plugins/kookma/trashbin/images/trash-alt}} {{$:/language/Buttons/Trashbin/Caption/Move}}", - "created": "20190623140751496", - "creator": "Mohammad", - "description": "<$list filter=\"[all[current]tag[$:/tags/trashbin]prefix[$:/trashbin/]]\" emptyMessage={{$:/language/Buttons/Trashbin/Hint/Move}}>{{$:/language/Buttons/Trashbin/Hint/Recycle}}", - "list-after": "$:/core/ui/Buttons/delete", - "modified": "20200328140420576", - "modifier": "Mohammad", - "tags": "$:/tags/ViewToolbar $:/tags/EditToolbar", - "type": "text/vnd.tiddlywiki", - "text": "\\import $:/plugins/kookma/trashbin/macros/move-to-trashbin\n\\import $:/plugins/kookma/trashbin/macros/restore\n\\whitespace trim\n\n\n<$list filter=\"[all[current]!tag[$:/tags/trashbin]!prefix[$:/trashbin/]]\">\n<$button \n aria-label={{$:/language/Buttons/Trashbin/Caption/Move}}\n tooltip={{$:/language/Buttons/Trashbin/Hint/Move}} class=<> >\n <$macrocall $name=\"move-to-trashbin\" tiddler=<> />\t\n <$list filter=\"[prefix[yes]]\">\n {{$:/plugins/kookma/trashbin/images/trash-alt}}\n \n <$list filter=\"[prefix[yes]]\">\n \n\t\t  <$text text={{$:/language/Buttons/Trashbin/Caption/Move}}/>\n \n \n\n\n\n\n<$list filter=\"[all[current]tag[$:/tags/trashbin]prefix[$:/trashbin/]]\">\n<$button\n aria-label={{$:/language/Buttons/Trashbin/Caption/Recycle}}\n tooltip={{$:/language/Buttons/Trashbin/Hint/Recycle}} class=<> >\n <$macrocall $name=\"restore\" tiddler=<> />\n <$list filter=\"[prefix[yes]]\">\n {{$:/plugins/kookma/trashbin/images/recycle}}\n \n <$list filter=\"[prefix[yes]]\">\n  \n <$text text={{$:/language/Buttons/Trashbin/Caption/Recycle}}/>\n \n \n\n" - }, - "$:/plugins/kookma/trashbin/viewtemplate/trash-item": { - "title": "$:/plugins/kookma/trashbin/viewtemplate/trash-item", - "created": "20200327081227209", - "modified": "20200330123344172", - "tags": "$:/tags/ViewTemplate", - "type": "text/vnd.tiddlywiki", - "text": "<$list filter=\"[all[current]tag[$:/tags/trashbin]prefix[$:/trashbin/]]\">\n
\n{{||$:/plugins/kookma/trashbin/templates/title}}\n{{||$:/plugins/kookma/trashbin/templates/subtitle}}\n{{||$:/plugins/kookma/trashbin/templates/tags}}\n{{||$:/plugins/kookma/trashbin/templates/body}}\n
\n
\n

Tiddler fields

\n<$list filter=\"[indexes[]] -title -tags -text -created -modified\" variable=idx>\n <$transclude index=<>/>
\n\n
\n\n" - } - } -} \ No newline at end of file diff --git a/template/wiki/tiddlers/$__plugins_kookma_trashbin.json.meta b/template/wiki/tiddlers/$__plugins_kookma_trashbin.json.meta deleted file mode 100644 index c4612a21..00000000 --- a/template/wiki/tiddlers/$__plugins_kookma_trashbin.json.meta +++ /dev/null @@ -1,12 +0,0 @@ -author: Mohammad Rahmani -core-version: >=5.1.22 -created: 20200605095939024 -dependents: -description: Trashbin -list: readme history license -modified: 20200605095939024 -plugin-type: plugin -source: https://github.com/kookma/TW-Trashbin -title: $:/plugins/kookma/trashbin -type: application/json -version: 1.2.2 \ No newline at end of file