tiddlywiki 5.2.3 → 5.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/build-site.sh +11 -2
- package/bin/test.sh +1 -0
- package/boot/boot.js +9 -6
- package/core/images/layout-button.tid +4 -0
- package/core/images/mastodon.tid +6 -0
- package/core/language/en-GB/Buttons.multids +4 -0
- package/core/language/en-GB/ControlPanel.multids +3 -3
- package/core/language/en-GB/Fields.multids +2 -2
- package/core/language/en-GB/GettingStarted.tid +4 -3
- package/core/language/en-GB/Help/commands.tid +18 -0
- package/core/language/en-GB/Misc.multids +1 -0
- package/core/modules/commands/commands.js +42 -0
- package/core/modules/editor/engines/framed.js +12 -1
- package/core/modules/editor/factory.js +2 -2
- package/core/modules/filters/format/json.js +35 -0
- package/core/modules/filters/is/variable.js +2 -2
- package/core/modules/filters/json-ops.js +186 -0
- package/core/modules/filters/variables.js +9 -3
- package/core/modules/filters.js +15 -6
- package/core/modules/keyboard.js +13 -1
- package/core/modules/parsers/csvparser.js +25 -17
- package/core/modules/parsers/wikiparser/rules/macrodef.js +1 -1
- package/core/modules/parsers/wikiparser/rules/parsermode.js +68 -0
- package/core/modules/parsers/wikiparser/rules/styleinline.js +3 -3
- package/core/modules/parsers/wikiparser/wikiparser.js +4 -2
- package/core/modules/server/routes/put-tiddler.js +10 -0
- package/core/modules/startup/startup.js +5 -1
- package/core/modules/utils/csv.js +101 -23
- package/core/modules/utils/dom/dom.js +17 -2
- package/core/modules/utils/dom/modal.js +6 -0
- package/core/modules/utils/dom/popup.js +69 -6
- package/core/modules/utils/fakedom.js +2 -2
- package/core/modules/utils/linked-list.js +79 -75
- package/core/modules/utils/logger.js +3 -1
- package/core/modules/utils/parsetree.js +20 -10
- package/core/modules/utils/utils.js +3 -0
- package/core/modules/widgets/action-deletefield.js +2 -2
- package/core/modules/widgets/action-popup.js +10 -8
- package/core/modules/widgets/button.js +7 -2
- package/core/modules/widgets/checkbox.js +12 -5
- package/core/modules/widgets/error.js +63 -0
- package/core/modules/widgets/genesis.js +108 -0
- package/core/modules/widgets/importvariables.js +4 -1
- package/core/modules/widgets/keyboard.js +4 -0
- package/core/modules/widgets/let.js +3 -5
- package/core/modules/widgets/reveal.js +11 -10
- package/core/modules/widgets/select.js +9 -0
- package/core/modules/widgets/transclude.js +3 -5
- package/core/modules/widgets/widget.js +44 -18
- package/core/palettes/Blanca.tid +2 -0
- package/core/palettes/Blue.tid +2 -0
- package/core/palettes/BrightMute.tid +2 -0
- package/core/palettes/ContrastDark.tid +2 -0
- package/core/palettes/ContrastLight.tid +2 -0
- package/core/palettes/CupertinoDark.tid +2 -0
- package/core/palettes/DarkPhotos.tid +2 -0
- package/core/palettes/DesertSand.tid +2 -0
- package/core/palettes/GruvBoxDark.tid +2 -0
- package/core/palettes/Nord.tid +2 -0
- package/core/palettes/Rocker.tid +2 -0
- package/core/palettes/SolarFlare.tid +2 -0
- package/core/palettes/SolarizedDark.tid +2 -0
- package/core/palettes/SolarizedLight.tid +2 -0
- package/core/palettes/SpartanDay.tid +2 -0
- package/core/palettes/SpartanNight.tid +2 -0
- package/core/palettes/Twilight.tid +2 -0
- package/core/palettes/Vanilla.tid +2 -0
- package/core/templates/external-js/save-all-external-js.tid +4 -2
- package/core/templates/external-js/save-offline-external-js.tid +4 -2
- package/core/templates/single.tiddler.window.tid +1 -1
- package/core/ui/Actions/new-image.tid +1 -7
- package/core/ui/AdvancedSearch/FilterButtons/delete.tid +3 -3
- package/core/ui/AdvancedSearch/FilterButtons/dropdown.tid +2 -2
- package/core/ui/ControlPanel/Basics/retain-story-ordering-button.tid +3 -0
- package/core/ui/ControlPanel/Basics.tid +3 -2
- package/core/ui/EditTemplate/Preview/output.tid +1 -1
- package/core/ui/EditTemplate/body/default.tid +1 -1
- package/core/ui/EditTemplate/fields.tid +12 -2
- package/core/ui/EditTemplate.tid +7 -2
- package/core/ui/ImportListing.tid +5 -5
- package/core/ui/KeyboardShortcuts/advanced-search.tid +1 -1
- package/core/ui/PageControls/layout.tid +15 -0
- package/core/ui/PageTemplate.tid +1 -4
- package/core/ui/SideBar/More.tid +2 -2
- package/core/ui/SwitcherModal.tid +1 -0
- package/core/ui/TagManager.tid +75 -63
- package/core/ui/ViewTemplate/unfold.tid +6 -2
- package/core/ui/ViewTemplate.tid +1 -1
- package/core/wiki/config/DefaultTiddlersRetainStory.tid +3 -0
- package/core/wiki/config/OfficialPluginLibrary.tid +1 -1
- package/core/wiki/config/PageControlButtons.multids +1 -0
- package/core/wiki/macros/list.tid +7 -7
- package/core/wiki/macros/timeline.tid +6 -9
- package/core/wiki/macros/toc.tid +12 -8
- package/core/wiki/tags/PageControls.tid +1 -1
- package/editions/de-AT/tiddlywiki.info +0 -1
- package/editions/de-AT-server/tiddlywiki.info +0 -1
- package/editions/de-DE/tiddlywiki.info +0 -1
- package/editions/dev/tiddlers/HelloThere.tid +2 -1
- package/editions/dev/tiddlers/How to run a local plugin library for testing.tid +42 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Child widgets tutorial.tid +140 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Do nothing widget demo.tid +22 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Do nothing widget tutorial.tid +25 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Hello World demo.tid +23 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Hello World widget tutorial.tid +18 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Javascript Widget Tutorial.tid +37 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Undefined widget demo.tid +18 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Undefined widget tutorial.tid +11 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget attributes demo I.tid +48 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget attributes demo II.tid +48 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget attributes tutorial part I.tid +50 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget attributes tutorial part II.tid +33 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh demo I.tid +44 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh demo II.tid +40 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh demo III.tid +50 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh tutorial part I.tid +47 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh tutorial part II.tid +37 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh tutorial part III.tid +26 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/domwidget.js +47 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/domwidget.js.meta +6 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/donothing.js +16 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/donothing.js.meta +6 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/hello-attribute-optimized.js +51 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/hello-attribute-optimized.js.meta +6 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/hello-attribute.js +47 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/hello-attribute.js.meta +6 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/hello.js +35 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/hello.js.meta +6 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/refreshcount.js +43 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/refreshcount.js.meta +6 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/tiddlerfield-norefresh.js +36 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/tiddlerfield-norefresh.js.meta +6 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/tiddlerfield.js +46 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/tiddlerfield.js.meta +6 -0
- package/editions/dev/tiddlywiki.info +2 -1
- package/editions/fr-FR/tiddlers/$__editions_tw5.com_doc-macros.tid +1 -1
- package/editions/fr-FR/tiddlers/system/$__core_macros_list.tid +113 -0
- package/editions/fr-FR/tiddlers/system/$__core_macros_tag.tid +39 -0
- package/editions/fr-FR/tiddlers/system/$__core_ui_TagPickerTagTemplate.tid +25 -0
- package/editions/full/tiddlywiki.info +0 -1
- package/editions/introduction/tiddlywiki.info +0 -1
- package/editions/pluginlibrary/tiddlers/GettingStarted.tid +45 -0
- package/editions/pluginlibrary/tiddlers/PrereleaseLocalPluginLibrary.tid +6 -0
- package/editions/pluginlibrary/tiddlers/meta/SiteSubtitle.tid +3 -0
- package/editions/pluginlibrary/tiddlers/meta/SiteTitle.tid +3 -0
- package/editions/pluginlibrary/tiddlers/system/$__themes_tiddlywiki_vanilla_options_sidebarlayout.tid +3 -0
- package/editions/pluginlibrary/tiddlywiki.info +7 -0
- package/editions/prerelease/tiddlers/{Release 5.2.4.tid → Release 5.2.5.tid } +8 -17
- package/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid +1 -1
- package/editions/prerelease/tiddlers/system/TiddlyWiki Pre-release.tid +5 -1
- package/editions/test/tiddlers/tests/data/csv-cases.tid +282 -0
- package/editions/test/tiddlers/tests/data/filters/Recursion.tid +15 -0
- package/editions/test/tiddlers/tests/data/filters/fake-variables.tid +27 -0
- package/editions/test/tiddlers/tests/data/genesis-widget/DollarSigns.tid +14 -0
- package/editions/test/tiddlers/tests/data/genesis-widget/MultipleAttributes.tid +14 -0
- package/editions/test/tiddlers/tests/data/genesis-widget/Simple.tid +14 -0
- package/editions/test/tiddlers/tests/data/macros/NestedMacros.tid +36 -0
- package/editions/test/tiddlers/tests/data/pragmas/Parsermode.tid +36 -0
- package/editions/test/tiddlers/tests/data/transclude/Recursion.tid +13 -0
- package/editions/test/tiddlers/tests/modules/utils/test-csv.js +33 -0
- package/editions/test/tiddlers/tests/test-checkbox-widget.js +35 -1
- package/editions/test/tiddlers/tests/test-json-filters.js +112 -0
- package/editions/test/tiddlers/tests/test-linked-list.js +42 -2
- package/editions/test/tiddlers/tests/test-popup.js +63 -0
- package/editions/test/tiddlers/tests/test-utils.js +1 -0
- package/editions/test/tiddlers/tests/test-wikitext.js +16 -0
- package/editions/test/tiddlywiki.info +2 -1
- package/editions/translators/tiddlers/system/PageControlButtonsVisibility.multids +1 -0
- package/editions/translators/tiddlywiki.info +0 -1
- package/editions/tw.org/tiddlers/Code of Conduct.tid +4 -1
- package/editions/tw.org/tiddlers/Fundraising.tid +2 -2
- package/editions/tw5.com/tiddlers/Tables in WikiText CSS Utility Classes.tid +81 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/markplace.png +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/markplace.png.meta +3 -0
- package/editions/tw5.com/tiddlers/_tw_shared/sites/marketplace.tid +6 -0
- package/editions/tw5.com/tiddlers/_tw_shared/tags-TiddlyWikiSites.tid +1 -1
- package/editions/tw5.com/tiddlers/about/Funding TiddlyWiki.tid +19 -0
- package/editions/tw5.com/tiddlers/about/Open Collective.tid +14 -0
- package/editions/tw5.com/tiddlers/commands/CommandsCommand.tid +8 -0
- package/editions/tw5.com/tiddlers/commands/RenderTiddlerCommand.tid +2 -0
- package/editions/tw5.com/tiddlers/commands/RenderTiddlersCommand.tid +2 -0
- package/editions/tw5.com/tiddlers/commands/SaveTiddlerCommand.tid +2 -0
- package/editions/tw5.com/tiddlers/commands/SaveTiddlersCommand.tid +2 -0
- package/editions/tw5.com/tiddlers/community/plugins/GSD5.tid +2 -2
- package/editions/tw5.com/tiddlers/community/plugins/_JD Mobile Layout plugin_ by JD.tid +0 -1
- package/editions/tw5.com/tiddlers/community/resources/_Dropboard_ by Reid Gould.tid +0 -1
- package/editions/tw5.com/tiddlers/community/resources/_Hacks_ by Thomas Elmiger.tid +0 -2
- package/editions/tw5.com/tiddlers/community/resources/_MathCell_ by Ste Wilson.tid +0 -1
- package/editions/tw5.com/tiddlers/community/resources/_TiddlyServer_ by Matt Lauber.tid +0 -1
- package/editions/tw5.com/tiddlers/community/resources/_X3DOM for TiddlyWiki 5_ by Jamal Wills.tid +0 -1
- package/editions/tw5.com/tiddlers/concepts/CoordinateSystems.tid +42 -0
- package/editions/tw5.com/tiddlers/concepts/KeyboardShortcutTiddler.tid +2 -0
- package/editions/tw5.com/tiddlers/definitions/Federatial.tid +13 -1
- package/editions/tw5.com/tiddlers/definitions/HTML Block Elements.tid +9 -0
- package/editions/tw5.com/tiddlers/definitions/TiddlyWikiClassic.tid +3 -1
- package/editions/tw5.com/tiddlers/demonstrations/TableOfContentsMacro Selective Expandable Example custom icons.tid +16 -0
- package/editions/tw5.com/tiddlers/demonstrations/Tasks/TaskManagementExampleDraggable.tid +1 -1
- package/editions/tw5.com/tiddlers/features/DateFormat.tid +27 -3
- package/editions/tw5.com/tiddlers/features/JSON in TiddlyWiki.tid +1 -1
- package/editions/tw5.com/tiddlers/features/Modals.tid +3 -0
- package/editions/tw5.com/tiddlers/filters/examples/format Operator (Examples).tid +5 -2
- package/editions/tw5.com/tiddlers/filters/format.tid +5 -4
- package/editions/tw5.com/tiddlers/filters/jsonextract.tid +66 -0
- package/editions/tw5.com/tiddlers/filters/jsonget.tid +93 -0
- package/editions/tw5.com/tiddlers/filters/jsonindexes.tid +65 -0
- package/editions/tw5.com/tiddlers/filters/jsontype.tid +74 -0
- package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted.tid +3 -7
- package/editions/tw5.com/tiddlers/hellothere/HelloThere.tid +23 -22
- package/editions/tw5.com/tiddlers/hellothere/HelloThumbnail.tid +1 -1
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Funding.tid +10 -0
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Grok TiddlyWiki.tid +2 -0
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Introduction Video.tid +2 -0
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Latest Version.tid +9 -1
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Marketplace.tid +10 -0
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyWikiLinks.tid +3 -1
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail_-_Federatial.tid +11 -0
- package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Default Story Ordering.tid +4 -0
- package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Sync System Tiddlers From Server.tid +13 -0
- package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting SyncLogging.tid +13 -0
- package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ More Tabs Horizontal.tid +7 -0
- package/editions/tw5.com/tiddlers/howtos/How to create keyboard shortcuts.tid +2 -0
- package/editions/tw5.com/tiddlers/howtos/Reading data from JSON tiddlers.tid +10 -1
- package/editions/tw5.com/tiddlers/images/Federatial.png +0 -0
- package/editions/tw5.com/tiddlers/images/Federatial.png.meta +3 -0
- package/editions/tw5.com/tiddlers/images/Funding.png +0 -0
- package/editions/tw5.com/tiddlers/images/{TiddlyMap.png.meta → Funding.png.meta} +1 -1
- package/editions/tw5.com/tiddlers/images/Marketplace Banner.png +0 -0
- package/editions/tw5.com/tiddlers/images/Marketplace Banner.png.meta +3 -0
- package/editions/tw5.com/tiddlers/images/New Release Banner.png +0 -0
- package/editions/tw5.com/tiddlers/macros/ListMacro.tid +3 -1
- package/editions/tw5.com/tiddlers/macros/TableOfContentsMacro.tid +36 -2
- package/editions/tw5.com/tiddlers/marketplace/TiddlyWiki Marketplace.tid +18 -0
- package/editions/tw5.com/tiddlers/mechanisms/PopupMechanism.tid +1 -0
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-modal.tid +4 -2
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-new-tiddler.tid +1 -1
- package/editions/tw5.com/tiddlers/nodejs/Installing TiddlyWiki on Node.js.tid +2 -2
- package/editions/tw5.com/tiddlers/pragmas/Pragma_ _parsermode.tid +17 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.4.tid +140 -0
- package/editions/tw5.com/tiddlers/releasenotes/Releases.tid +1 -1
- package/editions/tw5.com/tiddlers/saving/Emergency Tiddler Export.tid +1 -1
- package/editions/tw5.com/tiddlers/saving/Saving on TiddlyHost.tid +1 -1
- package/editions/tw5.com/tiddlers/saving/Saving on TiddlySpot.tid +0 -1
- package/editions/tw5.com/tiddlers/saving/Saving with Polly.tid +1 -0
- package/editions/tw5.com/tiddlers/saving/Saving.tid +12 -5
- package/editions/tw5.com/tiddlers/saving/TiddlyBucket - Save to AWS or Google Storage.tid +15 -0
- package/editions/tw5.com/tiddlers/system/doc-macros.tid +1 -1
- package/editions/tw5.com/tiddlers/system/tw5.com-card-template.tid +1 -16
- package/editions/tw5.com/tiddlers/system/tw5.com-styles.tid +168 -40
- package/editions/tw5.com/tiddlers/system/version-macros.tid +3 -4
- package/editions/tw5.com/tiddlers/system/wikitext-macros.tid +43 -15
- package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_ClassFilters_PageTemplate.tid +9 -0
- package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_ClassFilters_TiddlerTemplate.tid +9 -0
- package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_Filter.tid +2 -2
- package/editions/tw5.com/tiddlers/testimonials/Testimonials - Joe Armstrong.tid +8 -0
- package/editions/tw5.com/tiddlers/testimonials/Testimonials - Network World.tid +8 -0
- package/editions/tw5.com/tiddlers/testimonials/Testimonials - Product Hunt.tid +6 -0
- package/editions/tw5.com/tiddlers/webserver/Using the external JavaScript template.tid +10 -10
- package/editions/tw5.com/tiddlers/webserver/WebServer API_ Get All Tiddlers.tid +3 -1
- package/editions/tw5.com/tiddlers/widgets/ActionPopupWidget.tid +4 -3
- package/editions/tw5.com/tiddlers/widgets/ButtonWidget.tid +2 -1
- package/editions/tw5.com/tiddlers/widgets/DraggableWidget.tid +2 -1
- package/editions/tw5.com/tiddlers/widgets/ErrorWidget.tid +17 -0
- package/editions/tw5.com/tiddlers/widgets/EventCatcherWidget.tid +4 -3
- package/editions/tw5.com/tiddlers/widgets/GenesisWidget.tid +41 -0
- package/editions/tw5.com/tiddlers/widgets/LetWidget.tid +4 -1
- package/editions/tw5.com/tiddlers/widgets/ScrollableWidget.tid +1 -1
- package/editions/tw5.com/tiddlers/widgets/SelectWidget.tid +1 -0
- package/editions/tw5.com/tiddlers/wikitext/Macro Definitions in WikiText.tid +27 -4
- package/editions/tw5.com/tiddlers/wikitext/Styles and Classes in WikiText.tid +1 -1
- package/editions/tw5.com/tiddlers/wikitext/Table Classes Captions Headers and Footers.tid +20 -0
- package/editions/tw5.com/tiddlers/wikitext/Tables in WikiText.tid +3 -13
- package/editions/tw5.com/tiddlers/wikitext/Utility Classes.tid +20 -0
- package/editions/tw5.com/tiddlers/wikitext/parser/WikiText Parser Modes.tid +1 -1
- package/editions/twitter-archivist/tiddlers/DefaultTiddlers.tid +4 -0
- package/editions/twitter-archivist/tiddlers/HelloThere.tid +9 -0
- package/editions/twitter-archivist/tiddlers/SiteSubtitle.tid +3 -0
- package/editions/twitter-archivist/tiddlers/SiteTitle.tid +3 -0
- package/editions/twitter-archivist/tiddlywiki.info +16 -0
- package/languages/ar-PS/ControlPanel.multids +1 -1
- package/languages/ca-ES/ControlPanel.multids +1 -1
- package/languages/cs-CZ/ControlPanel.multids +1 -1
- package/languages/da-DK/ControlPanel.multids +1 -1
- package/languages/de-DE/Buttons.multids +5 -1
- package/languages/de-DE/ControlPanel.multids +1 -1
- package/languages/de-DE/Help/commands.tid +14 -0
- package/languages/de-DE/Misc.multids +1 -0
- package/languages/el-GR/ControlPanel.multids +1 -1
- package/languages/es-ES/Buttons.multids +89 -87
- package/languages/es-ES/ControlPanel.multids +18 -1
- package/languages/es-ES/Docs/PaletteColours.multids +2 -2
- package/languages/es-ES/EditTemplate.multids +3 -0
- package/languages/es-ES/Fields.multids +4 -3
- package/languages/es-ES/GettingStarted.tid +4 -3
- package/languages/es-ES/Help/default.tid +4 -1
- package/languages/es-ES/Help/listen.tid +0 -1
- package/languages/es-ES/Help/render.tid +2 -2
- package/languages/es-ES/Import.multids +1 -1
- package/languages/es-ES/Misc.multids +2 -1
- package/languages/es-ES/SideBar.multids +1 -0
- package/languages/es-ES/Snippets/ListByTag.tid +1 -1
- package/languages/fa-IR/ControlPanel.multids +1 -1
- package/languages/fr-FR/Buttons.multids +2 -0
- package/languages/fr-FR/ControlPanel.multids +4 -4
- package/languages/fr-FR/Misc.multids +3 -2
- package/languages/hi-IN/ControlPanel.multids +1 -1
- package/languages/ia-IA/ControlPanel.multids +1 -1
- package/languages/it-IT/ControlPanel.multids +1 -1
- package/languages/ja-JP/ControlPanel.multids +9 -9
- package/languages/ko-KR/ControlPanel.multids +1 -1
- package/languages/nl-NL/ControlPanel.multids +1 -1
- package/languages/pl-PL/Buttons.multids +7 -3
- package/languages/pl-PL/ControlPanel.multids +26 -24
- package/languages/pl-PL/GettingStarted.tid +4 -3
- package/languages/pl-PL/Help/commands.tid +18 -0
- package/languages/pl-PL/Help/render.tid +2 -2
- package/languages/pl-PL/Misc.multids +1 -0
- package/languages/pl-PL/ThemeTweaks.multids +3 -3
- package/languages/pt-BR/ControlPanel.multids +1 -1
- package/languages/pt-PT/ControlPanel.multids +1 -1
- package/languages/ru-RU/ControlPanel.multids +1 -1
- package/languages/sk-SK/ControlPanel.multids +1 -1
- package/languages/sl-SI/ControlPanel.multids +1 -1
- package/languages/sv-SE/ControlPanel.multids +1 -1
- package/languages/zh-Hans/Buttons.multids +36 -32
- package/languages/zh-Hans/ControlPanel.multids +19 -19
- package/languages/zh-Hans/CoreReadMe.tid +1 -1
- package/languages/zh-Hans/Docs/ModuleTypes.multids +2 -2
- package/languages/zh-Hans/Docs/PaletteColours.multids +8 -8
- package/languages/zh-Hans/Fields.multids +7 -7
- package/languages/zh-Hans/Filters.multids +1 -1
- package/languages/zh-Hans/GettingStarted.tid +8 -6
- package/languages/zh-Hans/Help/commands.tid +18 -0
- package/languages/zh-Hans/Help/fetch.tid +6 -6
- package/languages/zh-Hans/Help/init.tid +1 -1
- package/languages/zh-Hans/Help/listen.tid +5 -5
- package/languages/zh-Hans/Help/makelibrary.tid +1 -1
- package/languages/zh-Hans/Help/savetiddlers.tid +1 -1
- package/languages/zh-Hans/Help/server.tid +6 -6
- package/languages/zh-Hans/Help/setfield.tid +3 -3
- package/languages/zh-Hans/Import.multids +1 -1
- package/languages/zh-Hans/Misc.multids +12 -11
- package/languages/zh-Hans/Search.multids +6 -6
- package/languages/zh-Hans/SiteSubtitle.tid +1 -1
- package/languages/zh-Hans/Snippets/ListByTag.tid +1 -1
- package/languages/zh-Hans/ThemeTweaks.multids +7 -7
- package/languages/zh-Hans/TiddlerInfo.multids +2 -2
- package/languages/zh-Hant/Buttons.multids +4 -0
- package/languages/zh-Hant/ControlPanel.multids +2 -2
- package/languages/zh-Hant/Fields.multids +2 -2
- package/languages/zh-Hant/GettingStarted.tid +4 -3
- package/languages/zh-Hant/Help/commands.tid +18 -0
- package/languages/zh-Hant/Misc.multids +1 -0
- package/licenses/cla-individual.md +4 -0
- package/package.json +1 -1
- package/plugins/tiddlywiki/codemirror/engine.js +4 -0
- package/plugins/tiddlywiki/dynannotate/docs/readme.tid +2 -2
- package/plugins/tiddlywiki/dynannotate/modules/dynannotate.js +4 -2
- package/plugins/tiddlywiki/help/tabs/Support.tid +6 -2
- package/plugins/tiddlywiki/jasmine/command.js +33 -0
- package/plugins/tiddlywiki/jasmine/help.tid +24 -0
- package/plugins/tiddlywiki/jasmine/jasmine-plugin.js +24 -18
- package/plugins/tiddlywiki/jasmine/readme.tid +31 -1
- package/plugins/tiddlywiki/jasmine/run-wiki-based-tests.js +93 -0
- package/plugins/tiddlywiki/jasmine/startup.js +37 -0
- package/plugins/tiddlywiki/translators/macros/translatableStringEditor.tid +6 -0
- package/plugins/tiddlywiki/translators/system/styles.tid +5 -0
- package/plugins/tiddlywiki/twitter-archivist/Twitter Archives.tid +5 -0
- package/plugins/tiddlywiki/twitter-archivist/archivist.js +319 -0
- package/plugins/tiddlywiki/twitter-archivist/configTiddlerInfoMode.tid +2 -0
- package/plugins/tiddlywiki/twitter-archivist/loadtwitterarchive.js +53 -0
- package/plugins/tiddlywiki/twitter-archivist/macros.tid +222 -0
- package/plugins/tiddlywiki/twitter-archivist/plugin.info +6 -0
- package/plugins/tiddlywiki/twitter-archivist/readme.tid +33 -0
- package/plugins/tiddlywiki/twitter-archivist/spec.tid +62 -0
- package/plugins/tiddlywiki/twitter-archivist/startup.js +38 -0
- package/plugins/tiddlywiki/twitter-archivist/styles.tid +47 -0
- package/plugins/tiddlywiki/twitter-archivist/template-archive.tid +3 -0
- package/plugins/tiddlywiki/twitter-archivist/template-hashtag.tid +3 -0
- package/plugins/tiddlywiki/twitter-archivist/template-tweet.tid +3 -0
- package/plugins/tiddlywiki/twitter-archivist/template-tweeter.tid +3 -0
- package/plugins/tiddlywiki/twitter-archivist/todo.tid +15 -0
- package/plugins/tiddlywiki/twitter-archivist/usage.tid +18 -0
- package/plugins/tiddlywiki/twitter-archivist/view-template-body-cascade.tid +8 -0
- package/plugins/tiddlywiki/upgrade/UpgradeWizard.tid +3 -3
- package/readme.md +1 -1
- package/themes/tiddlywiki/vanilla/base.tid +131 -10
- package/editions/fr-FR/tiddlers/$__core_ui_TagTemplate.tid +0 -33
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Classic.tid +0 -6
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Developers.tid +0 -7
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Gentle Guide.tid +0 -11
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - HelpingTiddlyWiki.tid +0 -7
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TWEUM2017.tid +0 -8
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyMap.tid +0 -6
- package/editions/tw5.com/tiddlers/images/Dev Thumbnail.jpg +0 -0
- package/editions/tw5.com/tiddlers/images/Dev Thumbnail.jpg.meta +0 -3
- package/editions/tw5.com/tiddlers/images/TiddlyMap.png +0 -0
@@ -0,0 +1,16 @@
|
|
1
|
+
/*\
|
2
|
+
|
3
|
+
Do nothing widget
|
4
|
+
|
5
|
+
\*/
|
6
|
+
(function(){
|
7
|
+
|
8
|
+
/*jslint node: true, browser: true */
|
9
|
+
/*global $tw: false */
|
10
|
+
"use strict";
|
11
|
+
|
12
|
+
var Widget = require("$:/core/modules/widgets/widget.js").widget;
|
13
|
+
|
14
|
+
exports.donothing = Widget;
|
15
|
+
|
16
|
+
})();
|
@@ -0,0 +1,51 @@
|
|
1
|
+
/*\
|
2
|
+
|
3
|
+
Hello, World widget
|
4
|
+
|
5
|
+
\*/
|
6
|
+
(function() {
|
7
|
+
|
8
|
+
/*jslint node: true, browser: true */
|
9
|
+
/*global $tw: false */
|
10
|
+
"use strict";
|
11
|
+
|
12
|
+
var Widget = require("$:/core/modules/widgets/widget.js").widget;
|
13
|
+
|
14
|
+
var MyWidget = function(parseTreeNode, options) {
|
15
|
+
this.initialise(parseTreeNode, options);
|
16
|
+
};
|
17
|
+
|
18
|
+
/*
|
19
|
+
Inherit from the base widget class
|
20
|
+
*/
|
21
|
+
MyWidget.prototype = new Widget();
|
22
|
+
|
23
|
+
/*
|
24
|
+
Render this widget into the DOM
|
25
|
+
*/
|
26
|
+
MyWidget.prototype.render = function(parent, nextSibling) {
|
27
|
+
this.parentDomNode = parent;
|
28
|
+
this.computeAttributes();
|
29
|
+
var message = this.getAttribute("message", "World");
|
30
|
+
var textNode = this.document.createTextNode("Hello, " + message + "!");
|
31
|
+
parent.insertBefore(textNode, nextSibling);
|
32
|
+
this.domNodes.push(textNode);
|
33
|
+
};
|
34
|
+
|
35
|
+
/*
|
36
|
+
Refresh if the attribute value changed since render
|
37
|
+
*/
|
38
|
+
MyWidget.prototype.refresh = function(changedTiddlers) {
|
39
|
+
// Find which attributes have changed
|
40
|
+
var changedAttributes = this.computeAttributes();
|
41
|
+
if (changedAttributes.message) {
|
42
|
+
this.refreshSelf();
|
43
|
+
return true;
|
44
|
+
} else {
|
45
|
+
return false;
|
46
|
+
}
|
47
|
+
};
|
48
|
+
|
49
|
+
exports.hello = MyWidget;
|
50
|
+
|
51
|
+
})();
|
@@ -0,0 +1,47 @@
|
|
1
|
+
/*\
|
2
|
+
|
3
|
+
Hello, World widget
|
4
|
+
|
5
|
+
\*/
|
6
|
+
(function() {
|
7
|
+
|
8
|
+
/*jslint node: true, browser: true */
|
9
|
+
/*global $tw: false */
|
10
|
+
"use strict";
|
11
|
+
|
12
|
+
var Widget = require("$:/core/modules/widgets/widget.js").widget;
|
13
|
+
|
14
|
+
var MyWidget = function(parseTreeNode, options) {
|
15
|
+
this.initialise(parseTreeNode, options);
|
16
|
+
};
|
17
|
+
|
18
|
+
/*
|
19
|
+
Inherit from the base widget class
|
20
|
+
*/
|
21
|
+
MyWidget.prototype = new Widget();
|
22
|
+
|
23
|
+
/*
|
24
|
+
Render this widget into the DOM
|
25
|
+
*/
|
26
|
+
MyWidget.prototype.render = function(parent, nextSibling) {
|
27
|
+
this.parentDomNode = parent;
|
28
|
+
this.computeAttributes();
|
29
|
+
var message = this.getAttribute("message", "World");
|
30
|
+
var textNode = this.document.createTextNode("Hello, " + message + "!");
|
31
|
+
parent.insertBefore(textNode, nextSibling);
|
32
|
+
this.domNodes.push(textNode);
|
33
|
+
};
|
34
|
+
|
35
|
+
/*
|
36
|
+
A widget with optimized performance will selectively refresh, but here we refresh always
|
37
|
+
*/
|
38
|
+
MyWidget.prototype.refresh = function(changedTiddlers) {
|
39
|
+
// Regenerate and rerender the widget and
|
40
|
+
// replace the existing DOM node
|
41
|
+
this.refreshSelf();
|
42
|
+
return true;
|
43
|
+
};
|
44
|
+
|
45
|
+
exports.hello = MyWidget;
|
46
|
+
|
47
|
+
})();
|
@@ -0,0 +1,35 @@
|
|
1
|
+
/*\
|
2
|
+
|
3
|
+
Hello, World widget
|
4
|
+
|
5
|
+
\*/
|
6
|
+
(function(){
|
7
|
+
|
8
|
+
/*jslint node: true, browser: true */
|
9
|
+
/*global $tw: false */
|
10
|
+
"use strict";
|
11
|
+
|
12
|
+
var Widget = require("$:/core/modules/widgets/widget.js").widget;
|
13
|
+
|
14
|
+
var MyWidget = function(parseTreeNode,options) {
|
15
|
+
this.initialise(parseTreeNode,options);
|
16
|
+
};
|
17
|
+
|
18
|
+
/*
|
19
|
+
Inherit from the base widget class
|
20
|
+
*/
|
21
|
+
MyWidget.prototype = new Widget();
|
22
|
+
|
23
|
+
/*
|
24
|
+
Render this widget into the DOM
|
25
|
+
*/
|
26
|
+
MyWidget.prototype.render = function(parent,nextSibling) {
|
27
|
+
this.parentDomNode = parent;
|
28
|
+
var textNode = this.document.createTextNode("Hello, World!");
|
29
|
+
parent.insertBefore(textNode,nextSibling);
|
30
|
+
this.domNodes.push(textNode);
|
31
|
+
};
|
32
|
+
|
33
|
+
exports.hello = MyWidget;
|
34
|
+
|
35
|
+
})();
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/*\
|
2
|
+
|
3
|
+
widget to count the number of times this widget refreshes
|
4
|
+
|
5
|
+
\*/
|
6
|
+
(function() {
|
7
|
+
|
8
|
+
/*jslint node: true, browser: true */
|
9
|
+
/*global $tw: false */
|
10
|
+
"use strict";
|
11
|
+
|
12
|
+
var Widget = require("$:/core/modules/widgets/widget.js").widget;
|
13
|
+
|
14
|
+
var MyWidget = function(parseTreeNode, options) {
|
15
|
+
this.refreshCount = 0;
|
16
|
+
this.initialise(parseTreeNode, options);
|
17
|
+
};
|
18
|
+
|
19
|
+
/*
|
20
|
+
Inherit from the base widget class
|
21
|
+
*/
|
22
|
+
MyWidget.prototype = new Widget();
|
23
|
+
|
24
|
+
/*
|
25
|
+
Render this widget into the DOM
|
26
|
+
*/
|
27
|
+
MyWidget.prototype.render = function(parent, nextSibling) {
|
28
|
+
this.parentDomNode = parent;
|
29
|
+
var textNode = this.document.createTextNode(this.refreshCount + " refreshes");
|
30
|
+
parent.insertBefore(textNode, nextSibling);
|
31
|
+
this.domNodes.push(textNode);
|
32
|
+
};
|
33
|
+
|
34
|
+
MyWidget.prototype.refresh = function(changedTiddlers) {
|
35
|
+
// Regenerate and rerender the widget and replace the existing DOM node
|
36
|
+
this.refreshCount++;
|
37
|
+
this.refreshSelf();
|
38
|
+
return true;
|
39
|
+
};
|
40
|
+
|
41
|
+
exports.refreshcount = MyWidget;
|
42
|
+
|
43
|
+
})();
|
@@ -0,0 +1,36 @@
|
|
1
|
+
/*\
|
2
|
+
|
3
|
+
Hello, World widget
|
4
|
+
|
5
|
+
\*/
|
6
|
+
(function() {
|
7
|
+
|
8
|
+
/*jslint node: true, browser: true */
|
9
|
+
/*global $tw: false */
|
10
|
+
"use strict";
|
11
|
+
|
12
|
+
var Widget = require("$:/core/modules/widgets/widget.js").widget;
|
13
|
+
|
14
|
+
var MyWidget = function(parseTreeNode, options) {
|
15
|
+
this.initialise(parseTreeNode, options);
|
16
|
+
};
|
17
|
+
|
18
|
+
/*
|
19
|
+
Inherit from the base widget class
|
20
|
+
*/
|
21
|
+
MyWidget.prototype = new Widget();
|
22
|
+
|
23
|
+
/*
|
24
|
+
Render this widget into the DOM
|
25
|
+
*/
|
26
|
+
MyWidget.prototype.render = function(parent, nextSibling) {
|
27
|
+
this.parentDomNode = parent;
|
28
|
+
var text = this.wiki.getTiddlerText("test", "<empty>")
|
29
|
+
var textNode = this.document.createTextNode(text);
|
30
|
+
parent.insertBefore(textNode, nextSibling);
|
31
|
+
this.domNodes.push(textNode);
|
32
|
+
};
|
33
|
+
|
34
|
+
exports.tiddlerfield = MyWidget;
|
35
|
+
|
36
|
+
})();
|
@@ -0,0 +1,46 @@
|
|
1
|
+
/*\
|
2
|
+
|
3
|
+
Hello, World widget
|
4
|
+
|
5
|
+
\*/
|
6
|
+
(function() {
|
7
|
+
|
8
|
+
/*jslint node: true, browser: true */
|
9
|
+
/*global $tw: false */
|
10
|
+
"use strict";
|
11
|
+
|
12
|
+
var Widget = require("$:/core/modules/widgets/widget.js").widget;
|
13
|
+
|
14
|
+
var MyWidget = function(parseTreeNode, options) {
|
15
|
+
this.initialise(parseTreeNode, options);
|
16
|
+
};
|
17
|
+
|
18
|
+
/*
|
19
|
+
Inherit from the base widget class
|
20
|
+
*/
|
21
|
+
MyWidget.prototype = new Widget();
|
22
|
+
|
23
|
+
/*
|
24
|
+
Render this widget into the DOM
|
25
|
+
*/
|
26
|
+
MyWidget.prototype.render = function(parent, nextSibling) {
|
27
|
+
this.parentDomNode = parent;
|
28
|
+
var text = this.wiki.getTiddlerText("test", "<empty>")
|
29
|
+
var textNode = this.document.createTextNode(text);
|
30
|
+
parent.insertBefore(textNode, nextSibling);
|
31
|
+
this.domNodes.push(textNode);
|
32
|
+
};
|
33
|
+
|
34
|
+
/*
|
35
|
+
A widget with optimized performance will selectively refresh, but here we refresh always
|
36
|
+
*/
|
37
|
+
MyWidget.prototype.refresh = function(changedTiddlers) {
|
38
|
+
// Regenerate and rerender the widget and
|
39
|
+
// replace the existing DOM node
|
40
|
+
this.refreshSelf();
|
41
|
+
return true;
|
42
|
+
};
|
43
|
+
|
44
|
+
exports.tiddlerfield = MyWidget;
|
45
|
+
|
46
|
+
})();
|
@@ -117,7 +117,7 @@ C'est un exemple de tiddler. Voir [[Macros Table des matières (Exemples)|Table-
|
|
117
117
|
<table class="doc-bad-example">
|
118
118
|
<tbody>
|
119
119
|
<tr class="evenRow">
|
120
|
-
<td><span
|
120
|
+
<td><span style="font-size:1.5em;">⚠</span> Attention :<br> Ne faites pas comme ça !</td>
|
121
121
|
<td>
|
122
122
|
|
123
123
|
$eg$
|
@@ -0,0 +1,113 @@
|
|
1
|
+
created: 20220830224607117
|
2
|
+
modified: 20220830224638865
|
3
|
+
tags: $:/tags/Macro
|
4
|
+
title: $:/core/macros/list
|
5
|
+
|
6
|
+
\define list-links(filter,type:"ul",subtype:"li",class:"",emptyMessage)
|
7
|
+
\whitespace trim
|
8
|
+
<$type$ class="$class$">
|
9
|
+
<$list filter="$filter$" emptyMessage=<<__emptyMessage__>>>
|
10
|
+
<$subtype$>
|
11
|
+
<$link to={{!!title}}>
|
12
|
+
<$let tv-wikilinks="no">
|
13
|
+
<$transclude field="caption">
|
14
|
+
<$view field="title"/>
|
15
|
+
</$transclude>
|
16
|
+
</$let>
|
17
|
+
</$link>
|
18
|
+
</$subtype$>
|
19
|
+
</$list>
|
20
|
+
</$type$>
|
21
|
+
\end
|
22
|
+
|
23
|
+
\define list-links-draggable-drop-actions()
|
24
|
+
<$action-listops $tiddler=<<targetTiddler>> $field=<<targetField>> $subfilter="+[insertbefore<actionTiddler>,<currentTiddler>]"/>
|
25
|
+
\end
|
26
|
+
|
27
|
+
\define list-links-draggable(tiddler,field:"list",emptyMessage,type:"ul",subtype:"li",class:"",itemTemplate)
|
28
|
+
\whitespace trim
|
29
|
+
<span class="tc-links-draggable-list">
|
30
|
+
<$vars targetTiddler="""$tiddler$""" targetField="""$field$""">
|
31
|
+
<$type$ class="$class$">
|
32
|
+
<$list filter="[list[$tiddler$!!$field$]]" emptyMessage=<<__emptyMessage__>>>
|
33
|
+
<$droppable actions=<<list-links-draggable-drop-actions>> tag="""$subtype$""" enable=<<tv-enable-drag-and-drop>>>
|
34
|
+
<div class="tc-droppable-placeholder"/>
|
35
|
+
<div>
|
36
|
+
<$transclude tiddler="""$itemTemplate$""">
|
37
|
+
<$link to={{!!title}}>
|
38
|
+
<$let tv-wikilinks="no">
|
39
|
+
<$transclude field="caption">
|
40
|
+
<$view field="title"/>
|
41
|
+
</$transclude>
|
42
|
+
</$let>
|
43
|
+
</$link>
|
44
|
+
</$transclude>
|
45
|
+
</div>
|
46
|
+
</$droppable>
|
47
|
+
</$list>
|
48
|
+
<$tiddler tiddler="">
|
49
|
+
<$droppable actions=<<list-links-draggable-drop-actions>> tag="div" enable=<<tv-enable-drag-and-drop>>>
|
50
|
+
<div class="tc-droppable-placeholder">
|
51
|
+
{{$:/core/images/blank}}
|
52
|
+
</div>
|
53
|
+
<div style="height:0.5em;"/>
|
54
|
+
</$droppable>
|
55
|
+
</$tiddler>
|
56
|
+
</$type$>
|
57
|
+
</$vars>
|
58
|
+
</span>
|
59
|
+
\end
|
60
|
+
|
61
|
+
\define list-tagged-draggable-drop-actions(tag)
|
62
|
+
\whitespace trim
|
63
|
+
<!-- Save the current ordering of the tiddlers with this tag -->
|
64
|
+
<$set name="order" filter="[<__tag__>tagging[]]">
|
65
|
+
<!-- Remove any list-after or list-before fields from the tiddlers with this tag -->
|
66
|
+
<$list filter="[<__tag__>tagging[]]">
|
67
|
+
<$action-deletefield $field="list-before"/>
|
68
|
+
<$action-deletefield $field="list-after"/>
|
69
|
+
</$list>
|
70
|
+
<!-- Save the new order to the Tag Tiddler -->
|
71
|
+
<$action-listops $tiddler=<<__tag__>> $field="list" $filter="+[enlist<order>] +[insertbefore<actionTiddler>,<currentTiddler>]"/>
|
72
|
+
<!-- Make sure the newly added item has the right tag -->
|
73
|
+
<!-- Removing this line makes dragging tags within the dropdown work as intended -->
|
74
|
+
<!--<$action-listops $tiddler=<<actionTiddler>> $tags=<<__tag__>>/>-->
|
75
|
+
<!-- Using the following 5 lines as replacement makes dragging titles from outside into the dropdown apply the tag -->
|
76
|
+
<$list filter="[<actionTiddler>!contains:tags<__tag__>]">
|
77
|
+
<$fieldmangler tiddler=<<actionTiddler>>>
|
78
|
+
<$action-sendmessage $message="tm-add-tag" $param=<<__tag__>>/>
|
79
|
+
</$fieldmangler>
|
80
|
+
</$list>
|
81
|
+
</$set>
|
82
|
+
\end
|
83
|
+
|
84
|
+
\define list-tagged-draggable(tag,subFilter,emptyMessage,itemTemplate,elementTag:"div",storyview:"")
|
85
|
+
\whitespace trim
|
86
|
+
<span class="tc-tagged-draggable-list">
|
87
|
+
<$set name="tag" value=<<__tag__>>>
|
88
|
+
<$list filter="[<__tag__>tagging[]$subFilter$]" emptyMessage=<<__emptyMessage__>> storyview=<<__storyview__>>>
|
89
|
+
<$elementTag$ class="tc-menu-list-item">
|
90
|
+
<$droppable actions="""<$macrocall $name="list-tagged-draggable-drop-actions" tag=<<__tag__>>/>""" enable=<<tv-enable-drag-and-drop>>>
|
91
|
+
<$elementTag$ class="tc-droppable-placeholder"/>
|
92
|
+
<$elementTag$>
|
93
|
+
<$transclude tiddler="""$itemTemplate$""">
|
94
|
+
<$link to={{!!title}}>
|
95
|
+
<$view field="fr-title">
|
96
|
+
<$view field="title"/>
|
97
|
+
</$view>
|
98
|
+
</$link>
|
99
|
+
</$transclude>
|
100
|
+
</$elementTag$>
|
101
|
+
</$droppable>
|
102
|
+
</$elementTag$>
|
103
|
+
</$list>
|
104
|
+
<$tiddler tiddler="">
|
105
|
+
<$droppable actions="""<$macrocall $name="list-tagged-draggable-drop-actions" tag=<<__tag__>>/>""" enable=<<tv-enable-drag-and-drop>>>
|
106
|
+
<$elementTag$ class="tc-droppable-placeholder"/>
|
107
|
+
<$elementTag$ style="height:0.5em;">
|
108
|
+
</$elementTag$>
|
109
|
+
</$droppable>
|
110
|
+
</$tiddler>
|
111
|
+
</$set>
|
112
|
+
</span>
|
113
|
+
\end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
created: 20220830190922373
|
2
|
+
modified: 20220830191056761
|
3
|
+
tags: $:/tags/Macro
|
4
|
+
title: $:/core/macros/tag
|
5
|
+
|
6
|
+
\define tag-pill-styles()
|
7
|
+
background-color:$(backgroundColor)$;
|
8
|
+
fill:$(foregroundColor)$;
|
9
|
+
color:$(foregroundColor)$;
|
10
|
+
\end
|
11
|
+
|
12
|
+
<!-- This has no whitespace trim to avoid modifying $actions$. Closing tags omitted for brevity. -->
|
13
|
+
\define tag-pill-inner(tag,icon,colour,fallbackTarget,colourA,colourB,element-tag,element-attributes,actions)
|
14
|
+
<$vars
|
15
|
+
foregroundColor=<<contrastcolour target:"""$colour$""" fallbackTarget:"""$fallbackTarget$""" colourA:"""$colourA$""" colourB:"""$colourB$""">>
|
16
|
+
backgroundColor="""$colour$"""
|
17
|
+
><$element-tag$
|
18
|
+
$element-attributes$
|
19
|
+
class="tc-tag-label tc-btn-invisible"
|
20
|
+
style=<<tag-pill-styles>>
|
21
|
+
>$actions$<$transclude tiddler="""$icon$"""/><$view tiddler=<<__tag__>> field="fr-title" format="text"><$view tiddler=<<__tag__>> field="title" format="text" /></$view></$element-tag$>
|
22
|
+
\end
|
23
|
+
|
24
|
+
\define tag-pill-body(tag,icon,colour,palette,element-tag,element-attributes,actions)
|
25
|
+
<$macrocall $name="tag-pill-inner" tag=<<__tag__>> icon="""$icon$""" colour="""$colour$""" fallbackTarget={{$palette$##tag-background}} colourA={{$palette$##foreground}} colourB={{$palette$##background}} element-tag="""$element-tag$""" element-attributes="""$element-attributes$""" actions="""$actions$"""/>
|
26
|
+
\end
|
27
|
+
|
28
|
+
\define tag-pill(tag,element-tag:"span",element-attributes:"",actions:"")
|
29
|
+
\whitespace trim
|
30
|
+
<span class="tc-tag-list-item" data-tag-title=<<__tag__>>>
|
31
|
+
<$let currentTiddler=<<__tag__>>>
|
32
|
+
<$macrocall $name="tag-pill-body" tag=<<__tag__>> icon={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerIconFilter]!is[draft]get[text]] }}} colour={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerColourFilter]!is[draft]get[text]] }}} palette={{$:/palette}} element-tag="""$element-tag$""" element-attributes="""$element-attributes$""" actions="""$actions$"""/>
|
33
|
+
</$let>
|
34
|
+
</span>
|
35
|
+
\end
|
36
|
+
|
37
|
+
\define tag(tag)
|
38
|
+
{{$tag$||$:/core/ui/TagTemplate}}
|
39
|
+
\end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
created: 20220830194301860
|
2
|
+
modified: 20220830194658750
|
3
|
+
title: $:/core/ui/TagPickerTagTemplate
|
4
|
+
|
5
|
+
\whitespace trim
|
6
|
+
<$button class=<<button-classes>> tag="a" tooltip={{$:/language/EditTemplate/Tags/Add/Button/Hint}}>
|
7
|
+
<$list filter="[<saveTiddler>minlength[1]]">
|
8
|
+
<$action-listops $tiddler=<<saveTiddler>> $field=<<tagField>> $subfilter="[<tag>]"/>
|
9
|
+
</$list>
|
10
|
+
<$set name="currentTiddlerCSSEscaped" value={{{ [<saveTiddler>escapecss[]] }}}>
|
11
|
+
<$action-sendmessage $message="tm-focus-selector" $param=<<get-tagpicker-focus-selector>> preventScroll="true"/>
|
12
|
+
</$set>
|
13
|
+
<<delete-tag-state-tiddlers>>
|
14
|
+
<$list filter="[<refreshTitle>minlength[1]]">
|
15
|
+
<$action-setfield $tiddler=<<refreshTitle>> text="yes"/>
|
16
|
+
</$list>
|
17
|
+
<<actions>>
|
18
|
+
<$set name="backgroundColor" value={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerColourFilter]!is[draft]get[text]] }}}>
|
19
|
+
<$wikify name="foregroundColor" text="""<$macrocall $name="contrastcolour" target=<<backgroundColor>> fallbackTarget=<<fallbackTarget>> colourA=<<colourA>> colourB=<<colourB>>/>""">
|
20
|
+
<span class="tc-tag-label tc-btn-invisible" style=<<tag-pill-styles>>>
|
21
|
+
{{||$:/core/ui/TiddlerIcon}}<$view field="fr-title" format="text"><$view field="title" format="text"/></$view>
|
22
|
+
</span>
|
23
|
+
</$wikify>
|
24
|
+
</$set>
|
25
|
+
</$button>
|
@@ -0,0 +1,45 @@
|
|
1
|
+
title: GettingStarted
|
2
|
+
|
3
|
+
This edition contains the components needed to set up a local server for ~TiddlyWiki plugin library testing or development.
|
4
|
+
|
5
|
+
!! Import Configuration
|
6
|
+
|
7
|
+
Import the configuration tiddler: $:/config/LocalPluginLibrary to your "test wiki".
|
8
|
+
|
9
|
+
!! Important
|
10
|
+
|
11
|
+
''This server is read-only. Nothing is saved back to the filesystem''
|
12
|
+
|
13
|
+
!! Start the Library Server
|
14
|
+
|
15
|
+
The following commands will create the library files and start a test server at http://localhost:8888
|
16
|
+
|
17
|
+
```
|
18
|
+
cd /your/path/to/TiddlyWiki5/editions/pluginlibrary
|
19
|
+
tiddlywiki --build test-server
|
20
|
+
```
|
21
|
+
|
22
|
+
!! Test the Library with a Single File Wiki
|
23
|
+
|
24
|
+
* Open a single file wiki and import the configuration tiddler form http://localhost:8888/#%24%3A%2Fconfig%2FLocalPluginLibrary
|
25
|
+
* Open the ''$:/ControlPanel : Plugins : "Get More Plugins"'' modal
|
26
|
+
|
27
|
+
!! Test the Library with a Node.js Wiki
|
28
|
+
|
29
|
+
* Create a new wiki with eg:
|
30
|
+
|
31
|
+
<<<
|
32
|
+
```
|
33
|
+
cd /temp/
|
34
|
+
tiddlywiki my-wiki --init server
|
35
|
+
tiddlywiki my-wiki --listen
|
36
|
+
```
|
37
|
+
<<<
|
38
|
+
|
39
|
+
* Open my-wiki from http://localhost:8080
|
40
|
+
* Import the http://localhost:8888/#%24%3A%2Fconfig%2FLocalPluginLibrary tiddler into "my-wiki"
|
41
|
+
* Open the ''~$:/ControlPanel : Plugins : "Get More Plugins"'' modal
|
42
|
+
|
43
|
+
!! ~ControlPanel Plugin Tab
|
44
|
+
|
45
|
+
{{$:/core/ui/ControlPanel/Plugins}}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
title: $:/config/LocalPluginLibrary
|
2
|
+
tags: $:/tags/PluginLibrary
|
3
|
+
url: http://localhost:8888/files/local/library/tmp/index.html
|
4
|
+
caption: Local TiddlyWiki Plugin Library Test Server
|
5
|
+
|
6
|
+
A locally installed version of the plugin library //Requires a local web server to share the library//
|
@@ -4,10 +4,17 @@
|
|
4
4
|
"tiddlywiki/pluginlibrary"
|
5
5
|
],
|
6
6
|
"themes": [
|
7
|
+
"tiddlywiki/vanilla",
|
8
|
+
"tiddlywiki/snowwhite"
|
7
9
|
],
|
8
10
|
"includeWikis": [
|
9
11
|
],
|
10
12
|
"build": {
|
13
|
+
"test-server": [
|
14
|
+
"--output", "./files/local/library/tmp",
|
15
|
+
"--build", "library",
|
16
|
+
"--listen", "port=8888"
|
17
|
+
],
|
11
18
|
"library": [
|
12
19
|
"--makelibrary","$:/UpgradeLibrary",
|
13
20
|
"--savelibrarytiddlers","$:/UpgradeLibrary","[prefix[$:/]] -[[$:/plugins/tiddlywiki/upgrade]] -[[$:/plugins/tiddlywiki/translators]] -[[$:/plugins/tiddlywiki/pluginlibrary]] -[[$:/plugins/tiddlywiki/jasmine]]","recipes/library/tiddlers/","$:/UpgradeLibrary/List",
|