generated from tiddly-gittly/Tiddlywiki-NodeJS-Github-Template
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
1,466 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { | ||
import type { | ||
HTMLTags, | ||
IParseTreeNode, | ||
IWidgetInitialiseOptions, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"root": { | ||
"type": "stack", | ||
"content": [ | ||
{ | ||
"type": "component", | ||
"size": "1fr", | ||
"id": "", | ||
"maximised": false, | ||
"isClosable": true, | ||
"reorderEnabled": true, | ||
"title": "Guide", | ||
"componentType": "tiddler", | ||
"componentState": { | ||
"title": "$:/plugins/Gk0Wk/layout/readme", | ||
"className": "gk0wk-gl-tiddler-container" | ||
} | ||
} | ||
], | ||
"size": "1fr", | ||
"id": "", | ||
"maximised": false, | ||
"isClosable": true, | ||
"activeItemIndex": 0 | ||
}, | ||
"openPopouts": [], | ||
"settings": { | ||
"constrainDragToContainer": false, | ||
"reorderEnabled": true, | ||
"popoutWholeStack": false, | ||
"blockedPopoutsThrowError": true, | ||
"closePopoutsOnUnload": true, | ||
"responsiveMode": "none", | ||
"tabOverlapAllowance": 0, | ||
"reorderOnTabMenuClick": true, | ||
"tabControlOffset": 10, | ||
"popInOnClose": true | ||
}, | ||
"dimensions": { | ||
"borderWidth": 3, | ||
"borderGrabWidth": 3, | ||
"defaultMinItemHeight": "0px", | ||
"defaultMinItemWidth": "10px", | ||
"headerHeight": 20, | ||
"dragProxyWidth": 300, | ||
"dragProxyHeight": 200 | ||
}, | ||
"header": { | ||
"show": "top", | ||
"popout": "open in new window", | ||
"dock": "dock", | ||
"close": "close", | ||
"maximise": "maximise", | ||
"minimise": "minimise", | ||
"tabDropdown": "additional tabs" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
title: $:/plugins/Gk0Wk/layout/defaultConfig.json | ||
type: application/json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
title: $:/plugins/Gk0Wk/layout/modals/add-tiddler | ||
type: text/vnd.tiddlywiki | ||
code-body: yes | ||
subtitle: <$text text={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[添加条目]else[Add Tiddler]] }}} /> | ||
|
||
<$let | ||
chinese={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[yes]else[no]] }}} | ||
stateTiddler="$:/temp/Gk0Wk/layout/new-tiddler-info" | ||
> | ||
<div class="tc-control-panel"> | ||
|
||
<$list filter="[<chinese>match[yes]]" variable="t"> | ||
|
||
| !条目 | <$edit-text tag="input" tiddler=<<stateTiddler>> field="layout:title" /> | | ||
| !标题 | <$edit-text tag="input" tiddler=<<stateTiddler>> field="layout:caption" placeholder="不写则自动识别" /> | | ||
| !类名 | <$edit-text tag="input" tiddler=<<stateTiddler>> field="layout:className" /> | | ||
| !字段 | <$edit-text tag="input" tiddler=<<stateTiddler>> field="layout:field" /> | | ||
| !模板 | <$edit-text tag="input" tiddler=<<stateTiddler>> field="layout:template" /> | | ||
|
||
</$list> | ||
|
||
<$list filter="[<chinese>!match[yes]]" variable="t"> | ||
|
||
| !Tiddler | <$edit-text tag="input" tiddler=<<stateTiddler>> field="layout:title" /> | | ||
| !Caption | <$edit-text tag="input" tiddler=<<stateTiddler>> field="layout:caption" placeholder="Auto detect if empty" /> | | ||
| !Class Name | <$edit-text tag="input" tiddler=<<stateTiddler>> field="layout:className" /> | | ||
| !Field | <$edit-text tag="input" tiddler=<<stateTiddler>> field="layout:field" /> | | ||
| !Template | <$edit-text tag="input" tiddler=<<stateTiddler>> field="layout:template" /> | | ||
|
||
</$list> | ||
|
||
</div> | ||
|
||
<$button class="tc-btn-big-green tc-primary-btn" message="tm-close-tiddler"> | ||
<$action-sendmessage $message="gk0wk-layout-add-tiddler" /> | ||
{{$:/core/images/new-button}} | ||
  | ||
<$text text={{{ [<chinese>match[yes]then[添加条目]else[ADd Tiddler]] }}} /> | ||
</$button> | ||
|
||
</$let> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"title": "$:/plugins/Gk0Wk/layout", | ||
"name": "layout", | ||
"author": "Gk0Wk", | ||
"description": "powerful layout view for TiddlyWiki", | ||
"plugin-type": "plugin", | ||
"version": "0.0.1-alpha1", | ||
"list": "readme LICENSE" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
title: $:/plugins/Gk0Wk/layout/readme | ||
type: text/vnd.tiddlywiki | ||
caption: layout-readme |
Oops, something went wrong.