From a718b27a43707f7b5194beca1748b0a8e8eb14ed Mon Sep 17 00:00:00 2001 From: tidgi Date: Sun, 11 Feb 2024 00:41:42 +0800 Subject: [PATCH] Updated with Git-Sync --- tiddlers/$__plugins_linonetwo_tw-calendar.json | 6 +++--- tiddlers/$__plugins_linonetwo_tw-mobile-sync.json | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tiddlers/$__plugins_linonetwo_tw-calendar.json b/tiddlers/$__plugins_linonetwo_tw-calendar.json index 70932eb..b94dcd1 100644 --- a/tiddlers/$__plugins_linonetwo_tw-calendar.json +++ b/tiddlers/$__plugins_linonetwo_tw-calendar.json @@ -7,10 +7,10 @@ "list": "readme tiddlywiki-ui/ControlPanel/Settings tree", "name": "Calendar", "plugin-type": "plugin", - "text": "{\"tiddlers\":{\"$:/plugins/linonetwo/tw-calendar/calendar-widget/widget-loader.js\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/calendar-widget/widget-loader.js\",\"text\":\"!function slateWriteWidgetIIFE(){var e;$tw.browser&&(e=require(\\\"$:/plugins/linonetwo/tw-calendar/calendar-widget/widget.js\\\")[\\\"widget\\\"],exports.calendar=e)}();\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/plugins/linonetwo/tw-calendar/calendar-widget/widgetDynamicCss.css\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/calendar-widget/widgetDynamicCss.css\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<$importvariables filter=\\\"[[$:/themes/tiddlywiki/vanilla/base]]\\\">\\n.tiddlywiki-calendar-widget-event-preview {\\n background-color: <>;\\n border-color: <>;\\n}\\n\"},\"$:/plugins/linonetwo/tw-calendar/date-duration-macro\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/date-duration-macro\",\"text\":\"exports.name=\\\"date-duration-macro\\\";const msPerHour=36e5,msPerMinute=6e4;exports.params=[{name:\\\"startDate\\\",\\\"default\\\":\\\"\\\"},{name:\\\"endDate\\\",\\\"default\\\":\\\"\\\"}],exports.run=(t,r)=>{var e=$tw.utils.parseDate(t),e=$tw.utils.parseDate(r)-e;return String(Math.floor(e/msPerHour)).padStart(2,\\\"0\\\")+\\\":\\\"+String(Math.floor(e%msPerHour/msPerMinute)).padStart(2,\\\"0\\\")};\",\"tags\":\"$:/tags/Macro\",\"type\":\"application/javascript\",\"module-type\":\"macro\"},\"$:/plugins/linonetwo/tw-calendar/readme\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/readme\",\"creator\":\"LinOnetwo\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"# Provides a calendar widget, use it like `<$calendar />`\\n# Use the whole wiki as a data source, aggregate tiddler based on their `created` `modified` `startDate` and `endDate` field\\n# Drag to create new event with `startDate` and `endDate` field\\n# Provides a calendar view, use `ctrl+shift+L` to switch to this view, you can click `Home` button to go back\\n# Add `color` field to change color. When `color` field missing, it will try get color from tags on it.\"},\"$:/plugins/linonetwo/tw-calendar/Snippets/baseCalendarWithFilter\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/Snippets/baseCalendarWithFilter\",\"tags\":\"$:/tags/TextEditor/Snippet\",\"caption\":\"Calendar widget with filter\",\"text\":\"<$calendar filter=\\\"[all[]tag[Todo]]\\\" />\"},\"$:/plugins/linonetwo/tw-calendar/Snippets/calendarFilterWithCurrentTiddler\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/Snippets/calendarFilterWithCurrentTiddler\",\"tags\":\"$:/tags/TextEditor/Snippet\",\"caption\":\"Sometimes currentTiddler is \\\"\\\" empty string in filter, we can use macrocall to avoid this\",\"text\":\"\\\\define calendarWithCurrentTiddler(currentTag)\\n<$calendar filter=\\\"[all[]tag[$currentTag$]field:calendarEntry[yes]]\\\" readonly=\\\"yes\\\" initialView=\\\"listWeek\\\" hideToolbar=\\\"yes\\\" />\\n\\\\end\\n\\n<$macrocall $name=\\\"calendarWithCurrentTiddler\\\" currentTag=<>/>\"},\"$:/plugins/linonetwo/tw-calendar/Snippets/calendarWithTimeZone\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/Snippets/calendarWithTimeZone\",\"tags\":\"$:/tags/TextEditor/Snippet\",\"caption\":\"Calendar widget with time zone\",\"text\":\"<$calendar timeZone=\\\"Asia/Shanghai\\\" initialView=\\\"timeGridDay\\\" hideToolbar=\\\"yes\\\" width=\\\"40%\\\" height=\\\"600px\\\" readonly=\\\"yes\\\" />\"},\"$:/plugins/linonetwo/tw-calendar/Snippets/countTodayEventHours\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/Snippets/countTodayEventHours\",\"tags\":\"$:/tags/TextEditor/Snippet\",\"caption\":\"Filter to display the total hours of today's XXX events (define need to be moved to top of the tiddler)\",\"text\":\"\\\\define getTimeForEntry() [{!!startDate}format:date[TIMESTAMP]] :map[<..currentTiddler>get[endDate]format:date[TIMESTAMP]subtract]\\n\\n{{{ \\n [all[]days:startDate[0]field:calendarEntry[yes]tag[XXX]]\\n :map[subfilter]\\n :and[sum[]divide[1000]divide[3600]]\\n}}}\"},\"$:/plugins/linonetwo/tw-calendar/Snippets/dueDateFieldCalendarWithFishingFilter\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/Snippets/dueDateFieldCalendarWithFishingFilter\",\"tags\":\"$:/tags/TextEditor/Snippet\",\"caption\":\"Calendar widget use `due` and `dueEnd` field to show event from oflg/fishing plugin\",\"text\":\"<$calendar filter=\\\"[all[]tag[?]]\\\" startDateFields=\\\"due\\\" endDateFields=\\\"dueEnd\\\" />\"},\"$:/plugins/linonetwo/tw-calendar/Snippets/listDayCalendar\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/Snippets/listDayCalendar\",\"tags\":\"$:/tags/TextEditor/Snippet\",\"caption\":\"List all events today in a compact view. listYear or listMonth can also be used.\",\"text\":\"<$calendar filter=\\\"[all[]tag[Todo]]\\\" readonly=\\\"yes\\\" initialView=\\\"listDay\\\" />\"},\"$:/plugins/linonetwo/tw-calendar/Snippets/listWeekCalendar\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/Snippets/listWeekCalendar\",\"tags\":\"$:/tags/TextEditor/Snippet\",\"caption\":\"List all events this week in a compact view. listYear or listMonth can also be used.\",\"text\":\"<$calendar filter=\\\"[all[]tag[Todo]]\\\" readonly=\\\"yes\\\" initialView=\\\"listWeek\\\" />\"},\"$:/plugins/linonetwo/tw-calendar/Snippets/monthCalendar\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/Snippets/monthCalendar\",\"tags\":\"$:/tags/TextEditor/Snippet\",\"caption\":\"Monthly Calendar widget hideToolbar, set width and height\",\"text\":\"<$calendar initialView=\\\"dayGridMonth\\\" hideToolbar=\\\"yes\\\" width=\\\"300px\\\" height=\\\"300px\\\" />\"},\"$:/plugins/linonetwo/tw-calendar/Snippets/readonlyCalendarWithFilter\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/Snippets/readonlyCalendarWithFilter\",\"tags\":\"$:/tags/TextEditor/Snippet\",\"caption\":\"Readonly Calendar widget\",\"text\":\"<$calendar filter=\\\"[all[]tag[Todo]]\\\" readonly=\\\"yes\\\" />\"},\"$:/plugins/linonetwo/tw-calendar/style.css\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/style.css\",\"creator\":\"LinOnetwo\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\rules except horizrule dash\\n\\\\import [[$:/themes/tiddlywiki/vanilla/base]]\\n\\n.fc, .fc-view {\\n --fc-page-bg-color: <>;\\n --fc-border-color: <>;\\n --fc-button-text-color: <>;\\n --fc-button-bg-color: <>;\\n --fc-button-border-color: <>;\\n --fc-button-hover-bg-color: <>;\\n --fc-button-hover-border-color: <>;\\n --fc-button-active-bg-color: <>;\\n --fc-button-active-border-color: <>;\\n --fc-event-bg-color: <>;\\n --fc-event-border-color: <>;\\n --fc-event-text-color: <>;\\n --fc-event-selected-overlay-color: <>;\\n --fc-more-link-bg-color: <>;\\n --fc-more-link-text-color: <>;\\n --fc-non-business-color: <>;\\n --fc-highlight-color: <>;\\n --fc-today-bg-color: <>;\\n --fc-now-indicator-color: <>;\\n}\\n\\n/** make it possible to drag the app using this bar in TidGi, when titleBar is closed */\\n<$reveal type=\\\"match\\\" state=\\\"$:/state/titleBarOpened\\\" text=\\\"no\\\">\\n.fc-header-toolbar, .fc-scrollgrid-section-header {\\n cursor: grab;\\n -webkit-app-region: drag;\\n}\\n.fc-header-toolbar .fc-toolbar-chunk {\\n -webkit-app-region: no-drag;\\n}\\n.fc-scrollgrid-section-header a {\\n -webkit-app-region: no-drag;\\n}\\n\\n\\n.tiddlywiki-calendar-widget-container {\\n min-height: 400px;\\n height: 100%;\\n}\\n.tiddlywiki-calendar-widget-container table {\\n margin: unset;\\n}\\n\\n.fc-timegrid-event-harness {\\n overflow: hidden;\\n}\\n.fc-event-main-tags {\\n overflow: hidden;\\n}\\n.fc-event-main-tags > span {\\n word-break: break-all;\\n border: 1px solid;\\n padding: 1px;\\n margin: 1px;\\n margin-right: 2px;\\n margin-bottom: 0px;\\n line-height: 2em;\\n}\\n\\n.fc-event-title-with-text {\\n text-decoration: underline;\\n text-decoration-thickness: 2px;\\n text-underline-offset: 15%;\\n}\\n\\n.fc-event {\\n cursor: pointer;\\n}\\n\\n.fc-daygrid-event > div {\\n overflow: hidden;\\n text-overflow: ellipsis;\\n}\\n\\n.fc button.fc-button-primary {\\n border: <>;\\n}\\n.fc button.fc-button-primary:hover {\\n border: <>;\\n}\\n.fc button.fc-button-primary > svg.tc-image-button {\\n fill: <>;\\n}\\n\\n.fc-col-header-cell-cushion {\\n color: <>;\\n}\"},\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/GoToEventsCalendarLayoutButton\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/GoToEventsCalendarLayoutButton\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/Images/GoToCalendarImage}} {{$:/language/Buttons/GoToEventsCalendarLayoutButton/Caption}}\",\"description\":\"{{$:/language/Buttons/GoToEventsCalendarLayoutButton/Description}}\",\"text\":\"\\\\whitespace trim\\n<$button tooltip={{$:/language/Buttons/GoToEventsCalendarLayoutButton/Hint}} aria-label={{$:/language/Buttons/GoToEventsCalendarLayoutButton/Caption}} class=<>>\\n <$action-setfield $tiddler=\\\"$:/layout\\\" text=\\\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/PageLayout/EventsCalendarLayout\\\"/>\\n <$list filter=\\\"[match[yes]]\\\">\\n {{$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/Images/GoToCalendarImage}}\\n \\n <$list filter=\\\"[match[yes]]\\\">\\n <$text text={{$:/language/Buttons/GoToEventsCalendarLayoutButton/Caption}}/>\\n \\n\"},\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/GoToTiddlersCalendarLayoutButton\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/GoToTiddlersCalendarLayoutButton\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/Images/GoToCalendarImage}} {{$:/language/Buttons/GoToTiddlersCalendarLayoutButton/Caption}}\",\"description\":\"{{$:/language/Buttons/GoToTiddlersCalendarLayoutButton/Description}}\",\"text\":\"\\\\whitespace trim\\n<$button tooltip={{$:/language/Buttons/GoToTiddlersCalendarLayoutButton/Hint}} aria-label={{$:/language/Buttons/GoToTiddlersCalendarLayoutButton/Caption}} class=<>>\\n <$action-setfield $tiddler=\\\"$:/layout\\\" text=\\\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/PageLayout/TiddlersCalendarLayout\\\"/>\\n <$list filter=\\\"[match[yes]]\\\">\\n {{$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/Images/GoToCalendarImage}}\\n \\n <$list filter=\\\"[match[yes]]\\\">\\n <$text text={{$:/language/Buttons/GoToTiddlersCalendarLayoutButton/Caption}}/>\\n \\n\"},\"$:/language/Buttons/GoToEventsCalendarLayoutButton/Caption\":{\"title\":\"$:/language/Buttons/GoToEventsCalendarLayoutButton/Caption\",\"text\":\"Events Calendar\"},\"$:/language/Buttons/GoToEventsCalendarLayoutButton/Hint\":{\"title\":\"$:/language/Buttons/GoToEventsCalendarLayoutButton/Hint\",\"text\":\"Go to Events Calendar Layout\"},\"$:/language/Buttons/GoToEventsCalendarLayoutButton/Description\":{\"title\":\"$:/language/Buttons/GoToEventsCalendarLayoutButton/Description\",\"text\":\"Click on this button will go to Events Calendar Layout (without normal tiddlers)\"},\"$:/language/Buttons/GoToTiddlersCalendarLayoutButton/Caption\":{\"title\":\"$:/language/Buttons/GoToTiddlersCalendarLayoutButton/Caption\",\"text\":\"Tiddlers Calendar\"},\"$:/language/Buttons/GoToTiddlersCalendarLayoutButton/Hint\":{\"title\":\"$:/language/Buttons/GoToTiddlersCalendarLayoutButton/Hint\",\"text\":\"Go to Tiddlers Calendar Layout\"},\"$:/language/Buttons/GoToTiddlersCalendarLayoutButton/Description\":{\"title\":\"$:/language/Buttons/GoToTiddlersCalendarLayoutButton/Description\",\"text\":\"Click on this button will go to Tiddlers Calendar Layout, view all tiddlers in agenda or calendar by their date related fields\"},\"$:/config/PageControlButtons/Visibility/$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/GoToTiddlersCalendarLayoutButton\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/GoToTiddlersCalendarLayoutButton\",\"text\":\"hide\"},\"$:/plugins/linonetwo/tw-calendar/settings/firstDay\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/settings/firstDay\",\"text\":\"1\"},\"$:/plugins/linonetwo/tw-calendar/settings/searchPageLimit\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/settings/searchPageLimit\",\"text\":\"10\"},\"$:/plugins/linonetwo/tw-calendar/settings/slotDuration\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/settings/slotDuration\",\"text\":\"00:15:00\"},\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/ControlPanel/Settings\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/ControlPanel/Settings\",\"caption\":\"Calendar\",\"tags\":\"$:/tags/ControlPanel/SettingsTab\",\"text\":\"\\\\define tag-tree-button-action(tagName)\\n<$action-navigate $to=\\\"$tagName$\\\" />\\n\\\\end\\n\\nThese settings let you customise the behaviour of Calendar plugin.\\n\\n---\\n\\n!! Add Event Tiddler Modal\\n\\nThe modal dialog shown when you drag/click on calendar to create a new event.\\n\\n!!! Frequently used tags\\n\\nAdd tags to be displayed on the create event tiddler popup, so you can click on them to add tag to new tiddler quickly.\\n\\nTags can have `caption` field as displayed name. And if tags here form a tag tree, they will be displayed as a tree.\\n\\n<$vars currentTiddler=\\\"$:/plugins/linonetwo/tw-calendar/settings/frequently-used-tags\\\" tagField=\\\"text\\\">\\n\\t{{||$:/core/ui/EditTemplate/tags}}\\n\\n\\n<$transclude\\n\\t$variable=\\\"tag-tree-picker\\\"\\n\\ttags={{$:/plugins/linonetwo/tw-calendar/settings/frequently-used-tags}}\\n/>\\n\\n!!! Prefix\\n\\nAuto add prefix to all created event.\\n\\n<$edit-text\\n\\ttiddler=\\\"$:/plugins/linonetwo/tw-calendar/settings/prefix\\\"\\n\\tfield=\\\"text\\\"\\n\\tdefault=\\\"\\\"\\n\\ttabindex=-1\\n\\tfocus=false\\n\\tcancelPopups=\\\"yes\\\"\\n\\tfileDrop=no\\n\\ttag=\\\"input\\\"\\n/>\\n\\n!! Appearance\\n\\n;24 Hour Format:\\n:<$checkbox tiddler=\\\"$:/plugins/linonetwo/tw-calendar/settings/24hour\\\" field=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"\\\"> Show 24 hour format in calendar left slot label and events\\n;First Day: The frequency for displaying time slots.\\n:<$select tiddler='$:/plugins/linonetwo/tw-calendar/settings/firstDay'>\\n\\t\\n\\t\\n\\t\\n\\t\\n\\t\\n\\t\\n\\t\\n\\n;SlotDuration: The frequency for displaying time slots.\\n:<$edit-text tiddler=\\\"$:/plugins/linonetwo/tw-calendar/settings/slotDuration\\\" tabindex=-1 focus=false cancelPopups=\\\"yes\\\" fileDrop=no tag=\\\"input\\\" />\\n;Search Page Limit: In search layout, the maximum number of events to display in the list. (Too large will have performance impact).\\n:<$edit-text tiddler=\\\"$:/plugins/linonetwo/tw-calendar/settings/searchPageLimit\\\" type=\\\"number\\\" min=\\\"0\\\" step=\\\"1\\\" tabindex=-1 focus=false cancelPopups=\\\"yes\\\" fileDrop=no tag=\\\"input\\\" />\"},\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/EditTemplate/TitleStyle.css\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/EditTemplate/TitleStyle.css\",\"type\":\"text/vnd.tiddlywiki\",\"tags\":\"$:/tags/Stylesheet\",\"text\":\"/**\\n * There will be two inputs, and we select the nearest div to the title input and input.tiddlywiki-calendar-caption-edit, then select the first input that is followed by the title preview element `tc-tiddler-title`\\n */\\ndiv.tc-tiddler-edit-frame div:has(>.tiddlywiki-calendar-caption-edit) .tc-tiddler-title + input {\\n font-size: unset;\\n}\"},\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/EditTemplate/caption\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/EditTemplate/caption\",\"tags\":\"$:/tags/EditTemplate\",\"list-after\":\"$:/core/ui/EditTemplate/title\",\"code-body\":\"yes\",\"text\":\"<$list filter=\\\"[all[current]field:calendarEntry[yes]]\\\">\\n\\n<$edit-text tiddler=<> field=\\\"caption\\\" focus=\\\"yes\\\" class=\\\"tc-titlebar tc-edit-texteditor tiddlywiki-calendar-caption-edit\\\"/>\\n\\n\"},\"$:/plugins/linonetwo/tw-calendar/Images/CalendarEdit\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/Images/CalendarEdit\",\"tags\":\"$:/tags/Image\",\"text\":\"\"},\"$:/plugins/linonetwo/tw-calendar/Images/CalendarList\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/Images/CalendarList\",\"tags\":\"$:/tags/Image\",\"text\":\"\"},\"$:/plugins/linonetwo/tw-calendar/Images/CalendarMonth\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/Images/CalendarMonth\",\"tags\":\"$:/tags/Image\",\"text\":\"\"},\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/Images/CalendarSearchImage\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/Images/CalendarSearchImage\",\"tags\":\"$:/tags/Image\",\"text\":\"\"},\"$:/plugins/linonetwo/tw-calendar/Images/CalendarWeek\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/Images/CalendarWeek\",\"tags\":\"$:/tags/Image\",\"text\":\"\"},\"$:/plugins/linonetwo/tw-calendar/Images/ExitLayout\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/Images/ExitLayout\",\"tags\":\"$:/tags/Image\",\"text\":\"\"},\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/Images/GoToCalendarImage\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/Images/GoToCalendarImage\",\"tags\":\"$:/tags/Image\",\"text\":\"\"},\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/PageLayout/CalendarLayout.css\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/PageLayout/CalendarLayout.css\",\"text\":\"div.tc-page-container.tw-calendar-layout-container {\\n margin-top: 0px;\\n height: 100vh;\\n width: 100%;\\n}\\n.tw-calendar-layout-main-area {\\n height: 100%;\\n width: 100%;\\n}\\n\\n.tw-calendar-draggable-region {\\n cursor: grab;\\n -webkit-app-region: drag;\\n}\\n\\n.tw-calendar-search-layout-main-area {\\n height: 100%;\\n width: 100%;\\n display: flex;\\n flex-direction: column;\\n}\\n.tw-calendar-search-layout-main-area .tw-calendar-search-bar {\\n height: 4em;\\n width: 100%;\\n display: flex;\\n flex-direction: row;\\n}\\n.tw-calendar-search-layout-main-area .tw-calendar-search-calendar-container {\\n height: calc(100vh - 4em);\\n}\\n.tw-calendar-search-bar .tw-calendar-search-bar-icon {\\n height: 100%;\\n aspect-ratio: 1;\\n display: flex;\\n flex-direction: column;\\n justify-content: center;\\n align-items: center;\\n}\\n.tw-calendar-search-bar .tw-calendar-search-bar-pagination {\\n height: 100%;\\n padding: 0 1em;\\n display: flex;\\n flex-direction: row;\\n justify-content: center;\\n align-items: center;\\n}\\n.tw-calendar-search-bar .tw-calendar-search-bar-text-field {\\n width: 100%;\\n display: flex;\\n margin: 0.1em;\\n margin-left: 0;\\n}\\n\\n.tw-calendar-layout-container p {\\n margin: 0;\\n height: 100%;\\n width: 100%;\\n}\\n\\n.tc-page-controls svg.tc-image-tmd-calendar-cursor {\\n fill: <>;\\n}\\n\",\"type\":\"text/vnd.tiddlywiki\",\"tags\":\"$:/tags/Stylesheet\"},\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/PageLayout/EventsCalendarLayout\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/PageLayout/EventsCalendarLayout\",\"name\":\"Events Calendar\",\"description\":\"view events in agenda or calendar (without normal tiddlers)\",\"tags\":\"$:/tags/Layout\",\"icon\":\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/Images/GoToCalendarImage\",\"text\":\"\\\\whitespace trim\\n\\\\define containerClasses()\\ntc-page-container tc-page-view-$(storyviewTitle)$ tc-language-$(languageTitle)$ tw-calendar-layout-container\\n\\\\end\\n\\\\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\\n\\n<$vars\\n\\ttv-config-toolbar-icons={{$:/config/Toolbar/Icons}}\\n\\ttv-config-toolbar-text={{$:/config/Toolbar/Text}}\\n\\ttv-config-toolbar-class={{$:/config/Toolbar/ButtonClass}}\\n\\ttv-show-missing-links={{$:/config/MissingLinks}}\\n\\tstoryviewTitle={{$:/view}}\\n\\tlanguageTitle={{{ [{$:/language}get[name]] }}}>\\n\\n
>>\\n\\n<$navigator story=\\\"$:/StoryList\\\" history=\\\"$:/HistoryList\\\" openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} relinkOnRename={{$:/config/RelinkOnRename}}>\\n\\n
\\n\\t<$calendar height=\\\"100vh\\\" filter=\\\"[all[tiddlers]!is[system]field:calendarEntry[yes]]\\\" />\\n
\\n\\n\\n\\n
\\n\\n\"},\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/PageLayout/EventsCalendarSearchLayout\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/PageLayout/EventsCalendarSearchLayout\",\"name\":\"Search Events Calendar\",\"description\":\"Search events in calendar (without normal tiddlers), show as list\",\"tags\":\"$:/tags/Layout\",\"icon\":\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/Images/CalendarSearchImage\",\"throttle.refresh\":\"true\",\"text\":\"\\\\whitespace trim\\n\\\\define containerClasses()\\ntc-page-container tc-page-view-$(storyviewTitle)$ tc-language-$(languageTitle)$ tw-calendar-layout-container\\n\\\\end\\n\\\\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\\n\\n<$vars\\n\\ttv-config-toolbar-icons={{$:/config/Toolbar/Icons}}\\n\\ttv-config-toolbar-text={{$:/config/Toolbar/Text}}\\n\\ttv-config-toolbar-class={{$:/config/Toolbar/ButtonClass}}\\n\\ttv-show-missing-links={{$:/config/MissingLinks}}\\n\\tstoryviewTitle={{$:/view}}\\n\\tlanguageTitle={{{ [{$:/language}get[name]] }}}>\\n\\n
>>\\n\\n<$navigator story=\\\"$:/StoryList\\\" history=\\\"$:/HistoryList\\\" openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} relinkOnRename={{$:/config/RelinkOnRename}}>\\n\\n
\\n\\n\\t
\\n\\t\\t
\\n\\t\\t\\t<$button to=<> tooltip={{$:/language/Buttons/FullScreen/Hint}} style=\\\"width: 85%;height: 85%;\\\">\\n\\t\\t\\t\\t{{$:/plugins/linonetwo/tw-calendar/Images/ExitLayout}}\\n\\t\\t\\t\\t<$action-setfield $tiddler=\\\"$:/layout\\\" text=\\\"\\\" />\\n\\t\\t\\t\\n\\t\\t
\\n\\t\\t\\n\\t\\t<$edit-text tag=\\\"input\\\" tiddler=\\\"$:/temp/volatile/linonetwo/tw-calendar/tiddlywiki-ui/PageLayout/EventsCalendarSearchLayout/keywords\\\" field=\\\"text\\\" focus=\\\"yes\\\" class=\\\"tc-titlebar tc-edit-texteditor tw-calendar-search-bar-text-field\\\"/>\\n\\n\\t\\t<$set name=\\\"pagination\\\" value={{$:/state/linonetwo/tw-calendar/tiddlywiki-ui/PageLayout/EventsCalendarSearchLayout/pagination}} emptyValue=\\\"0\\\">\\n\\t\\t\\t<$let paginationTo={{{ [add{$:/plugins/linonetwo/tw-calendar/settings/searchPageLimit}] }}} limit={{$:/plugins/linonetwo/tw-calendar/settings/searchPageLimit}} >\\n\\t\\t\\t\\t
\\n\\t\\t\\t\\t\\t<$button style=\\\"width: 85%;height: 85%;\\\">\\n\\t\\t\\t\\t\\t\\t{{$:/core/images/chevron-left}}\\n\\t\\t\\t\\t\\t\\t<$action-setfield $tiddler=\\\"$:/state/linonetwo/tw-calendar/tiddlywiki-ui/PageLayout/EventsCalendarSearchLayout/pagination\\\" text={{{ [subtract{$:/plugins/linonetwo/tw-calendar/settings/searchPageLimit}] }}} />\\n\\t\\t\\t\\t\\t\\n\\n\\t\\t\\t\\t\\t<$set name=\\\"count\\\" value={{{ [{$:/temp/volatile/linonetwo/tw-calendar/tiddlywiki-ui/PageLayout/EventsCalendarSearchLayout/keywords}length[]compare:number:gt[0]] :then[all[tiddlers]!is[system]field:calendarEntry[yes]search:caption,text,keywords:words{$:/temp/volatile/linonetwo/tw-calendar/tiddlywiki-ui/PageLayout/EventsCalendarSearchLayout/keywords}count[]] }}} emptyValue=\\\"0\\\">\\n\\t\\t\\t\\t\\t\\t<> ~ <$text text=<> /> / <$text text=<> />\\n\\t\\t\\t\\t\\t\\n\\n\\t\\t\\t\\t\\t<$button style=\\\"width: 85%;height: 85%;\\\">\\n\\t\\t\\t\\t\\t\\t{{$:/core/images/chevron-right}}\\n\\t\\t\\t\\t\\t\\t<$action-setfield $tiddler=\\\"$:/state/linonetwo/tw-calendar/tiddlywiki-ui/PageLayout/EventsCalendarSearchLayout/pagination\\\" text=<> />\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t
\\n\\t\\t\\t\\n\\t\\t\\n\\t\\t
\\n\\t\\t\\t{{$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/Images/CalendarSearchImage}}\\n\\t\\t
\\n\\t
\\n\\n\\t<$set name=\\\"pagination\\\" value={{$:/state/linonetwo/tw-calendar/tiddlywiki-ui/PageLayout/EventsCalendarSearchLayout/pagination}} emptyValue=\\\"0\\\">\\n\\t\\t\\t<$let paginationTo={{{ [add{$:/plugins/linonetwo/tw-calendar/settings/searchPageLimit}] }}} limit={{$:/plugins/linonetwo/tw-calendar/settings/searchPageLimit}} >\\n\\t\\t\\t\\t
\\n\\t\\t\\t\\t\\t<$calendar height=\\\"100%\\\" filter=\\\"[{$:/temp/volatile/linonetwo/tw-calendar/tiddlywiki-ui/PageLayout/EventsCalendarSearchLayout/keywords}length[]compare:number:gt[0]] :then[all[tiddlers]!is[system]field:calendarEntry[yes]search:caption,text,keywords,tags:words{$:/temp/volatile/linonetwo/tw-calendar/tiddlywiki-ui/PageLayout/EventsCalendarSearchLayout/keywords}!sort[startDate]restfirst]\\\" />\\n\\t\\t\\t\\t
\\n\\t\\t\\t\\n\\t\\n
\\n\\n\\n\\n
\\n\\n\"},\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/PageLayout/TiddlersCalendarLayout\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/PageLayout/TiddlersCalendarLayout\",\"name\":\"Tiddlers Calendar\",\"description\":\"view all tiddlers in agenda or calendar by their date related fields\",\"tags\":\"$:/tags/Layout\",\"icon\":\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/Images/GoToCalendarImage\",\"text\":\"\\\\whitespace trim\\n\\\\define containerClasses()\\ntc-page-container tc-page-view-$(storyviewTitle)$ tc-language-$(languageTitle)$ tw-calendar-layout-container\\n\\\\end\\n\\\\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\\n\\n<$vars\\n\\ttv-config-toolbar-icons={{$:/config/Toolbar/Icons}}\\n\\ttv-config-toolbar-text={{$:/config/Toolbar/Text}}\\n\\ttv-config-toolbar-class={{$:/config/Toolbar/ButtonClass}}\\n\\ttv-show-missing-links={{$:/config/MissingLinks}}\\n\\tstoryviewTitle={{$:/view}}\\n\\tlanguageTitle={{{ [{$:/language}get[name]] }}}>\\n\\n
>>\\n\\n<$navigator story=\\\"$:/StoryList\\\" history=\\\"$:/HistoryList\\\" openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} relinkOnRename={{$:/config/RelinkOnRename}}>\\n\\n
\\n\\t<$calendar height=\\\"100vh\\\" />\\n
\\n\\n\\n\\n
\\n\\n\"},\"$:/plugins/linonetwo/tw-calendar/calendar-widget/tiddlywiki-ui/ViewTemplate/EditTime\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/calendar-widget/tiddlywiki-ui/ViewTemplate/EditTime\",\"text\":\"\\\\whitespace trim\\n
\\n <$edit-date showTime showSeconds use24hour field=\\\"startDate\\\"/>\\n
\\n <$text text=\\\" -| \\\" />\\n <$macrocall $name=\\\"date-duration-macro\\\" startDate={{!!startDate}} endDate={{!!endDate}} />\\n <$text text=\\\" |-> \\\" />\\n
\\n <$edit-date showTime showSeconds use24hour field=\\\"endDate\\\"/>\\n
\"},\"$:/plugins/linonetwo/tw-calendar/calendar-widget/tiddlywiki-ui/ViewTemplate/EditTimeOnCalendarEntry\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/calendar-widget/tiddlywiki-ui/ViewTemplate/EditTimeOnCalendarEntry\",\"tags\":\"$:/tags/ViewTemplate\",\"text\":\"<$list filter=\\\"[all[current]field:calendarEntry[yes]]\\\">\\n{{||$:/plugins/linonetwo/tw-calendar/calendar-widget/tiddlywiki-ui/ViewTemplate/EditTime}}\\n\"},\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/ViewTemplate/ViewTemplate-fix.css\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/ViewTemplate/ViewTemplate-fix.css\",\"creator\":\"LinOnetwo\",\"tags\":\"$:/tags/Stylesheet\",\"list-after\":\"$:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/ViewTemplate/ViewTemplate.css\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\import [[$:/themes/tiddlywiki/vanilla/base]]\\n\\n@media (max-width: <>) {\\n .tw-calendar-time-range-preview {\\n flex-direction: column;\\n }\\n .tw-calendar-time-range-preview input {\\n width: 100%;\\n }\\n}\"},\"$:/plugins/linonetwo/tw-calendar/calendar-widget/tiddlywiki-ui/ViewTemplate/ViewTemplate.css\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/calendar-widget/tiddlywiki-ui/ViewTemplate/ViewTemplate.css\",\"text\":\".tw-calendar-time-range-preview{display:flex;flex-direction:row;justify-content:space-between;width:100%;align-items:center}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/linonetwo/tw-calendar/calendar-widget/tiddlywiki-ui/ViewTemplate/caption\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/calendar-widget/tiddlywiki-ui/ViewTemplate/caption\",\"code-body\":\"yes\",\"text\":\"<>\"},\"$:/plugins/linonetwo/tw-calendar/calendar-widget/tiddlywiki-ui/ViewTemplate/captionCascade\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/calendar-widget/tiddlywiki-ui/ViewTemplate/captionCascade\",\"tags\":\"$:/tags/ViewTemplateTitleFilter\",\"list-before\":\"$:/config/ViewTemplateTitleFilters/system\",\"text\":\"[field:calendarEntry[yes]then[$:/plugins/linonetwo/tw-calendar/calendar-widget/tiddlywiki-ui/ViewTemplate/caption]]\"},\"$:/plugins/linonetwo/tw-calendar/lib/TiddlyTools/Time/Alarms\":{\"title\":\"$:/plugins/linonetwo/tw-calendar/lib/TiddlyTools/Time/Alarms\",\"alarms\":\"\",\"caption\":\"Alarms\",\"created\":\"20200811043857487\",\"modified\":\"20220725122018915\",\"tags\":\"\",\"type\":\"text/vnd.tiddlywiki\",\"original-source\":\"http://TiddlyTools.com\",\"author\":\"EricShulman\",\"text\":\"\\\\define alarms_input() $:/temp/time/alarms_input/$(currentTiddler)$\\n\\\\define alarms_msg() $:/temp/time/alarms_msg/$(freq)$/$(this_time)$\\n\\\\define alarms_defaultmsg() BEEP! BEEP! BEEP!\\n\\n\\\\define alarms_form()\\n\\n<>\\n at \\n<>\\nget[freq]match[monthly]then[position:absolute]else[display:none;]] }}}>\\n on the <> day of the month\\n!has[freq]] [get[freq]match[once]] +[limit[1]] +[else[visibility:hidden;]] }}}>\\n on <> <> <>\\n
\\n<>\\n
\\n
\\n <> <>\\n
\\n\\\\end\\n\\n\\\\define alarms_form_freq()\\n<$select tiddler=<> field=\\\"freq\\\" default=\\\"once\\\" actions=\\\"<$action-deletefield $tiddler=<> year month day />\\\">\\n \\n \\n \\n <$list filter=\\\"[all[shadows]prefix[$:/language/Date/Long/Day/]]\\\">\\n \\n \\n\\n\\\\end\\n\\n\\\\define alarms_form_year()\\n<$edit-text tag=\\\"input\\\" class=\\\"alarmEdit alarmEditYear\\\" tiddler=<> field=\\\"year\\\" default=<> placeholder=<> />\\n\\\\end\\n\\n\\\\define alarms_form_month()\\n<$select tiddler=<> field=\\\"month\\\" default=<>>\\n <$list filter=\\\"[range[1,12]]\\\">\\n \\n \\n\\n\\\\end\\n\\n\\\\define alarms_form_day()\\n\\n<$set name=\\\"freq\\\" value={{{ [get[freq]] }}}>\\n<$set name=\\\"year\\\" value={{{ [get[year]] ~[] }}}>\\n<$set name=\\\"month\\\" value={{{ [get[month]] ~[] }}}>\\n<$set name=\\\"leap\\\" value={{{ [remainder[4]match[0]then[yes]] }}}>\\n<$set name=\\\"dpm\\\" value=\\\"31 28 31 30 31 30 31 31 30 31 30 31\\\"> \\n<$set name=\\\"dpm\\\" filter=\\\"[!match[]]\\\" value=\\\"31 29 31 30 31 30 31 31 30 31 30 31\\\" emptyValue=<>>\\n<$set name=\\\"dm\\\" value={{{ [split[ ]nth] }}}> \\n<$set name=\\\"dm\\\" filter=\\\"[match[monthly]]\\\" value=\\\"31\\\" emptyValue=<>>\\n<$select tiddler=<> field=\\\"day\\\" default=<>>\\n <$list filter=\\\"[range]\\\">\\n \\n \\n\\n\\\\end\\n\\n\\\\define alarms_form_time()\\n<$edit-text\\n tag=\\\"input\\\"\\n class=\\\"alarmEdit\\\"\\n tiddler=<>\\n field=\\\"hour\\\"\\n default={{{[get[startDate]format:date[TIMESTAMP]subtract[900000]parsedate:number[0hh]]}}}\\n placeholder=\\\"hh\\\"\\n/>\\n<$edit-text\\n tag=\\\"input\\\"\\n class=\\\"alarmEdit\\\"\\n tiddler=<>\\n field=\\\"min\\\"\\n default={{{[get[startDate]format:date[TIMESTAMP]subtract[900000]parsedate:number[0mm]]}}}\\n placeholder=\\\"mm\\\"\\n/>\\n<$edit-text\\n tag=\\\"input\\\"\\n class=\\\"alarmEdit\\\"\\n tiddler=<>\\n field=\\\"sec\\\"\\n default=\\\"00\\\"\\n placeholder=\\\"ss\\\"\\n/>\\n\\\\end\\n\\n\\\\define alarms_form_msg()\\n\\n<$edit-text tag=\\\"input\\\" class=\\\"alarmMsg\\\" tiddler=<> field=\\\"msg\\\" default=\\\"\\\" placeholder=\\\"enter a message\\\" />\\n\\\\end\\n\\n\\\\define alarms_add()\\n\\n<$vars freq=\\\"once\\\" year=<> month=<> day=<> hour={{{[get[startDate]format:date[TIMESTAMP]subtract[900000]parsedate:number[0hh]]}}} min={{{[get[startDate]format:date[TIMESTAMP]subtract[900000]parsedate:number[0mm]]}}} sec=\\\"00\\\">\\n\\n<$vars freq={{{ [get[freq]] ~[] }}}>\\n<$vars year={{{ [get[year]] ~[] }}}>\\n<$vars month={{{ [get[month]] ~[] }}}>\\n<$vars day={{{ [get[day]] ~[] }}}>\\n<$vars hour={{{ [get[hour]] ~[] }}}>\\n<$vars min={{{ [get[min]] ~[] }}}>\\n<$vars sec={{{ [get[sec]] ~[] }}}>\\n<$vars msg={{{ [get[msg]] +[encodeuricomponent[]search-replace:g[%20],[ ]] }}}>\\n\\n<$vars date={{{ [addsuffix[-]addsuffixaddsuffix[-]addsuffix] }}}>\\n<$set name=\\\"date\\\" filter=\\\"[match[once]]\\\" value=<> emptyValue=\\\"\\\">\\n<$set name=\\\"date\\\" filter=\\\"[match[monthly]]\\\" value={{{ [[....-..-]addsuffix] }}} emptyValue=<>>\\n\\n<$vars hour={{{ [pad[2]] }}} min={{{ [pad[2]] }}} sec={{{ [pad[2]] }}}>\\n<$vars time={{{ [addsuffix[:]addsuffixaddsuffix[:]addsuffix] }}}>\\n<$vars time={{{ [