orgnote-api 0.20.2 → 0.40.0
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/api.d.ts +93 -98
- package/constants/{command-groups.contant.d.ts → command-groups.d.ts} +2 -1
- package/constants/{command-groups.contant.js → command-groups.js} +2 -0
- package/constants/extension-errors.d.ts +9 -0
- package/constants/extension-errors.js +18 -0
- package/constants/file-guard-errors.d.ts +8 -0
- package/constants/file-guard-errors.js +18 -0
- package/constants/git-errors.d.ts +9 -0
- package/constants/git-errors.js +18 -0
- package/constants/i18n-keys.d.ts +371 -0
- package/constants/i18n-keys.js +158 -0
- package/constants/index.d.ts +9 -1
- package/constants/index.js +9 -1
- package/constants/oauth-providers.d.ts +1 -0
- package/constants/oauth-providers.js +1 -0
- package/constants/route-names.d.ts +36 -0
- package/constants/route-names.js +37 -0
- package/constants/route-paths.d.ts +5 -0
- package/constants/route-paths.js +4 -0
- package/constants/style-sizes.d.ts +1 -0
- package/constants/style-sizes.js +1 -0
- package/encryption/__tests__/encryption.spec.js +4 -5
- package/encryption/__tests__/note-encryption.spec.js +46 -348
- package/encryption/encryption.d.ts +9 -4
- package/encryption/encryption.js +25 -5
- package/encryption/note-encryption.d.ts +1 -1
- package/encryption/note-encryption.js +6 -6
- package/files-api.d.ts +0 -1
- package/index.d.ts +4 -1
- package/index.js +4 -1
- package/mappers/orgnode-to-note.d.ts +2 -2
- package/mappers/orgnode-to-note.js +3 -2
- package/models/auth-store.d.ts +3 -3
- package/models/buffer-store.d.ts +14 -0
- package/models/buffer.d.ts +24 -0
- package/models/colors.d.ts +1 -0
- package/models/command.d.ts +13 -8
- package/models/commands-group-store.d.ts +11 -0
- package/models/commands-store.d.ts +13 -0
- package/models/completion-store.d.ts +14 -0
- package/models/completion.d.ts +16 -7
- package/models/config-store.d.ts +9 -0
- package/models/confirmation-modal.d.ts +11 -0
- package/models/context-menu-store.d.ts +10 -0
- package/models/cron-store.d.ts +21 -0
- package/models/cron-task.d.ts +30 -0
- package/models/css-utils.d.ts +17 -0
- package/models/default-commands.d.ts +52 -3
- package/models/default-commands.js +59 -2
- package/models/encryption-store.d.ts +10 -0
- package/models/encryption-store.js +1 -0
- package/models/encryption.d.ts +54 -11
- package/models/encryption.js +28 -1
- package/models/extension-registry-store.d.ts +9 -0
- package/models/extension-registry-store.js +1 -0
- package/models/extension-store.d.ts +18 -0
- package/models/extension-store.js +1 -0
- package/models/extension.d.ts +96 -24
- package/models/extension.js +88 -1
- package/models/file-guard-store.d.ts +14 -0
- package/models/file-guard-store.js +1 -0
- package/models/file-guard.d.ts +27 -0
- package/models/file-guard.js +1 -0
- package/models/{file-cache.d.ts → file-info.d.ts} +1 -1
- package/models/file-info.js +1 -0
- package/models/file-manager-store.d.ts +10 -12
- package/models/file-opener-store.d.ts +6 -4
- package/models/file-system-manager-store.d.ts +13 -0
- package/models/file-system-manager-store.js +1 -0
- package/models/file-system-store.d.ts +19 -0
- package/models/file-system-store.js +1 -0
- package/models/file-system.d.ts +32 -5
- package/models/file-system.js +2 -0
- package/models/file-upload.d.ts +6 -0
- package/models/file-upload.js +1 -0
- package/models/file-watcher-store.d.ts +18 -0
- package/models/file-watcher-store.js +1 -0
- package/models/files-store.d.ts +2 -2
- package/models/git-store.d.ts +12 -0
- package/models/git-store.js +1 -0
- package/models/git.d.ts +47 -0
- package/models/git.js +1 -0
- package/models/i18n-keys.d.ts +2 -0
- package/models/i18n-keys.js +1 -0
- package/models/index.d.ts +56 -2
- package/models/index.js +59 -2
- package/models/layout-snapshot-repository.d.ts +14 -0
- package/models/layout-snapshot-repository.js +1 -0
- package/models/layout-store.d.ts +17 -0
- package/models/layout-store.js +1 -0
- package/models/layout.d.ts +16 -0
- package/models/layout.js +1 -0
- package/models/log-repository.d.ts +17 -0
- package/models/log-repository.js +1 -0
- package/models/log-store.d.ts +15 -0
- package/models/log-store.js +1 -0
- package/models/log.d.ts +12 -0
- package/models/log.js +1 -0
- package/models/logger.d.ts +8 -0
- package/models/logger.js +1 -0
- package/models/menu-action.d.ts +18 -0
- package/models/menu-action.js +1 -0
- package/models/modal-store.d.ts +16 -0
- package/models/modal-store.js +1 -0
- package/models/modal.d.ts +10 -2
- package/models/note.d.ts +30 -13
- package/models/notification-config.d.ts +14 -0
- package/models/notification-config.js +1 -0
- package/models/notifications-store.d.ts +20 -0
- package/models/notifications-store.js +1 -0
- package/models/oauth-provider.d.ts +2 -1
- package/models/orgnote-config.d.ts +80 -0
- package/models/orgnote-config.js +42 -0
- package/models/orgnote-url.d.ts +6 -0
- package/models/orgnote-url.js +1 -0
- package/models/pane-snapshot-repository.d.ts +0 -0
- package/models/pane-snapshot-repository.js +0 -0
- package/models/pane.d.ts +38 -0
- package/models/pane.js +1 -0
- package/models/panes-store.d.ts +30 -0
- package/models/panes-store.js +1 -0
- package/models/platform-detection.d.ts +11 -0
- package/models/platform-detection.js +1 -0
- package/models/platform-specific.d.ts +1 -0
- package/models/platform-specific.js +1 -0
- package/models/platform.d.ts +2 -0
- package/models/platform.js +1 -0
- package/models/queue-store.d.ts +49 -0
- package/models/queue-store.js +1 -0
- package/models/queue-task.d.ts +15 -0
- package/models/queue-task.js +1 -0
- package/models/repositories.d.ts +58 -38
- package/models/screen-detection.d.ts +10 -0
- package/models/screen-detection.js +1 -0
- package/models/settings-store.d.ts +12 -0
- package/models/settings-store.js +1 -0
- package/models/settings-ui-store.d.ts +7 -0
- package/models/settings-ui-store.js +1 -0
- package/models/sidebar-store.d.ts +22 -0
- package/models/sidebar-store.js +1 -0
- package/models/splash-screen.d.ts +13 -0
- package/models/splash-screen.js +1 -0
- package/models/store.d.ts +1 -1
- package/models/style-size.d.ts +2 -0
- package/models/style-size.js +1 -0
- package/models/style-variant.d.ts +1 -0
- package/models/style-variant.js +1 -0
- package/models/sync-store.d.ts +8 -6
- package/models/sync.d.ts +0 -5
- package/models/system-info.d.ts +47 -0
- package/models/system-info.js +1 -0
- package/models/theme-store.d.ts +16 -0
- package/models/theme-store.js +1 -0
- package/models/theme-variables.d.ts +4 -189
- package/models/theme-variables.js +2 -191
- package/models/toolbar-store.d.ts +9 -0
- package/models/toolbar-store.js +1 -0
- package/models/ui-store.d.ts +6 -0
- package/models/ui-store.js +1 -0
- package/models/user.d.ts +3 -4
- package/models/vue-component.d.ts +4 -2
- package/package-lock.json +5553 -0
- package/package.json +37 -26
- package/remote-api/api.d.ts +288 -669
- package/remote-api/api.js +199 -485
- package/remote-api/base.js +1 -1
- package/remote-api/common.d.ts +1 -1
- package/sync/__tests__/memory-state.spec.d.ts +1 -0
- package/sync/__tests__/memory-state.spec.js +49 -0
- package/sync/__tests__/plan.spec.d.ts +1 -0
- package/sync/__tests__/plan.spec.js +116 -0
- package/sync/create-sync-plan.d.ts +2 -0
- package/sync/create-sync-plan.js +13 -0
- package/sync/fetch.d.ts +8 -0
- package/sync/fetch.js +32 -0
- package/sync/index.d.ts +10 -0
- package/sync/index.js +9 -0
- package/sync/memory-state.d.ts +2 -0
- package/sync/memory-state.js +22 -0
- package/sync/operations/conflict.d.ts +10 -0
- package/sync/operations/conflict.js +56 -0
- package/sync/operations/delete-local.d.ts +2 -0
- package/sync/operations/delete-local.js +17 -0
- package/sync/operations/delete-remote.d.ts +2 -0
- package/sync/operations/delete-remote.js +26 -0
- package/sync/operations/download.d.ts +2 -0
- package/sync/operations/download.js +20 -0
- package/sync/operations/index.d.ts +5 -0
- package/sync/operations/index.js +5 -0
- package/sync/operations/synced-file.d.ts +14 -0
- package/sync/operations/synced-file.js +5 -0
- package/sync/operations/upload.d.ts +2 -0
- package/sync/operations/upload.js +30 -0
- package/sync/plan.d.ts +9 -0
- package/sync/plan.js +57 -0
- package/sync/recovery.d.ts +2 -0
- package/sync/recovery.js +6 -0
- package/sync/scan.d.ts +4 -0
- package/sync/scan.js +40 -0
- package/sync/types.d.ts +74 -0
- package/sync/types.js +7 -0
- package/sync/utils/__tests__/oldest-synced-at.spec.d.ts +1 -0
- package/sync/utils/__tests__/oldest-synced-at.spec.js +38 -0
- package/sync/utils/oldest-synced-at.d.ts +2 -0
- package/sync/utils/oldest-synced-at.js +9 -0
- package/types/index.d.ts +0 -0
- package/types/index.js +0 -0
- package/utils/__tests__/find-files-diff.spec.d.ts +1 -0
- package/{tools → utils}/__tests__/find-files-diff.spec.js +3 -3
- package/utils/__tests__/find-note-files-diff.spec.d.ts +1 -0
- package/{tools → utils}/__tests__/find-note-files-diff.spec.js +5 -5
- package/utils/__tests__/get-file-name.spec.d.ts +1 -0
- package/utils/__tests__/get-string-path.spec.d.ts +1 -0
- package/utils/__tests__/is-gpg-encrypted.spec.d.ts +1 -0
- package/utils/__tests__/is-org-file.spec.d.ts +1 -0
- package/utils/__tests__/join.spec.d.ts +1 -0
- package/utils/__tests__/join.spec.js +32 -0
- package/utils/__tests__/nullable-guards.spec.d.ts +1 -0
- package/utils/__tests__/nullable-guards.spec.js +44 -0
- package/utils/__tests__/parent-folder.spec.d.ts +1 -0
- package/utils/__tests__/read-org-files-recursively.spec.d.ts +1 -0
- package/utils/__tests__/split-path.spec.d.ts +1 -0
- package/utils/__tests__/to-absolute-path.spec.d.ts +1 -0
- package/utils/__tests__/to-absolute-path.spec.js +26 -0
- package/utils/__tests__/to-error.spec.d.ts +1 -0
- package/utils/__tests__/to-error.spec.js +112 -0
- package/utils/__tests__/with-root.spec.d.ts +1 -0
- package/utils/__tests__/with-root.spec.js +20 -0
- package/{tools → utils}/find-notes-files-diff.js +6 -3
- package/{tools → utils}/index.d.ts +4 -1
- package/{tools → utils}/index.js +4 -1
- package/utils/join-path.d.ts +1 -0
- package/utils/join-path.js +13 -0
- package/utils/nullable-guards.d.ts +2 -0
- package/utils/nullable-guards.js +6 -0
- package/utils/to-absolute-path.d.ts +2 -0
- package/utils/to-absolute-path.js +2 -0
- package/utils/to-error.d.ts +6 -0
- package/utils/to-error.js +33 -0
- package/utils/toml.d.ts +3 -0
- package/utils/toml.js +31 -0
- package/utils/with-root.d.ts +1 -0
- package/utils/with-root.js +6 -0
- package/websocket/client.d.ts +24 -0
- package/websocket/client.js +83 -0
- package/models/file-tree.d.ts +0 -12
- package/tools/__tests__/join.spec.js +0 -24
- package/tools/join-path.d.ts +0 -1
- package/tools/join-path.js +0 -7
- package/tools/mock-server.d.ts +0 -1
- package/tools/mock-server.js +0 -12
- /package/models/{file-cache.js → buffer-store.js} +0 -0
- /package/models/{file-tree.js → buffer.js} +0 -0
- /package/{tools/__tests__/find-files-diff.spec.d.ts → models/colors.js} +0 -0
- /package/{tools/__tests__/find-note-files-diff.spec.d.ts → models/commands-group-store.js} +0 -0
- /package/{tools/__tests__/get-file-name.spec.d.ts → models/commands-store.js} +0 -0
- /package/{tools/__tests__/get-string-path.spec.d.ts → models/completion-store.js} +0 -0
- /package/{tools/__tests__/is-gpg-encrypted.spec.d.ts → models/config-store.js} +0 -0
- /package/{tools/__tests__/is-org-file.spec.d.ts → models/confirmation-modal.js} +0 -0
- /package/{tools/__tests__/join.spec.d.ts → models/context-menu-store.js} +0 -0
- /package/{tools/__tests__/parent-folder.spec.d.ts → models/cron-store.js} +0 -0
- /package/{tools/__tests__/read-org-files-recursively.spec.d.ts → models/cron-task.js} +0 -0
- /package/{tools/__tests__/split-path.spec.d.ts → models/css-utils.js} +0 -0
- /package/{tools → utils}/__tests__/get-file-name.spec.js +0 -0
- /package/{tools → utils}/__tests__/get-string-path.spec.js +0 -0
- /package/{tools → utils}/__tests__/is-gpg-encrypted.spec.js +0 -0
- /package/{tools → utils}/__tests__/is-org-file.spec.js +0 -0
- /package/{tools → utils}/__tests__/parent-folder.spec.js +0 -0
- /package/{tools → utils}/__tests__/read-org-files-recursively.spec.js +0 -0
- /package/{tools → utils}/__tests__/split-path.spec.js +0 -0
- /package/{tools → utils}/find-notes-files-diff.d.ts +0 -0
- /package/{tools → utils}/get-file-name.d.ts +0 -0
- /package/{tools → utils}/get-file-name.js +0 -0
- /package/{tools → utils}/get-parent-dir.d.ts +0 -0
- /package/{tools → utils}/get-parent-dir.js +0 -0
- /package/{tools → utils}/get-string-path.d.ts +0 -0
- /package/{tools → utils}/get-string-path.js +0 -0
- /package/{tools → utils}/is-gpg-encrypted.d.ts +0 -0
- /package/{tools → utils}/is-gpg-encrypted.js +0 -0
- /package/{tools → utils}/is-org-file.d.ts +0 -0
- /package/{tools → utils}/is-org-file.js +0 -0
- /package/{tools → utils}/split-path.d.ts +0 -0
- /package/{tools → utils}/split-path.js +0 -0
|
@@ -1,194 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file is generated by the script `collect-css-variables.
|
|
2
|
+
* This file is generated by the script `collect-css-variables.cjs`.
|
|
3
3
|
* Do not edit it manually.
|
|
4
4
|
**/
|
|
5
|
-
export
|
|
6
|
-
(function (ThemeVariable) {
|
|
7
|
-
ThemeVariable["red"] = "red";
|
|
8
|
-
ThemeVariable["orange"] = "orange";
|
|
9
|
-
ThemeVariable["green"] = "green";
|
|
10
|
-
ThemeVariable["teal"] = "teal";
|
|
11
|
-
ThemeVariable["yellow"] = "yellow";
|
|
12
|
-
ThemeVariable["blue"] = "blue";
|
|
13
|
-
ThemeVariable["darkBlue"] = "darkBlue";
|
|
14
|
-
ThemeVariable["magenta"] = "magenta";
|
|
15
|
-
ThemeVariable["violet"] = "violet";
|
|
16
|
-
ThemeVariable["cyan"] = "cyan";
|
|
17
|
-
ThemeVariable["darkCyan"] = "darkCyan";
|
|
18
|
-
ThemeVariable["white"] = "white";
|
|
19
|
-
ThemeVariable["bg"] = "bg";
|
|
20
|
-
ThemeVariable["bgAlt"] = "bgAlt";
|
|
21
|
-
ThemeVariable["bgAlt2"] = "bgAlt2";
|
|
22
|
-
ThemeVariable["fg"] = "fg";
|
|
23
|
-
ThemeVariable["fgAlt"] = "fgAlt";
|
|
24
|
-
ThemeVariable["base0"] = "base0";
|
|
25
|
-
ThemeVariable["base1"] = "base1";
|
|
26
|
-
ThemeVariable["base2"] = "base2";
|
|
27
|
-
ThemeVariable["base3"] = "base3";
|
|
28
|
-
ThemeVariable["base4"] = "base4";
|
|
29
|
-
ThemeVariable["base5"] = "base5";
|
|
30
|
-
ThemeVariable["base6"] = "base6";
|
|
31
|
-
ThemeVariable["base7"] = "base7";
|
|
32
|
-
ThemeVariable["base8"] = "base8";
|
|
33
|
-
})(ThemeVariable || (ThemeVariable = {}));
|
|
34
|
-
export var CSSVariable;
|
|
35
|
-
(function (CSSVariable) {
|
|
36
|
-
CSSVariable["bg"] = "bg";
|
|
37
|
-
CSSVariable["fg"] = "fg";
|
|
38
|
-
CSSVariable["dur"] = "dur";
|
|
39
|
-
CSSVariable["easyTableHeaderBackgroundColor"] = "easyTableHeaderBackgroundColor";
|
|
40
|
-
CSSVariable["easyTableHeaderFontColor"] = "easyTableHeaderFontColor";
|
|
41
|
-
CSSVariable["easyTableBodyRowBackgroundColor"] = "easyTableBodyRowBackgroundColor";
|
|
42
|
-
CSSVariable["easyTableBodyRowFontColor"] = "easyTableBodyRowFontColor";
|
|
43
|
-
CSSVariable["easyTableBodyRowHoverBackgroundColor"] = "easyTableBodyRowHoverBackgroundColor";
|
|
44
|
-
CSSVariable["easyTableFooterBackgroundColor"] = "easyTableFooterBackgroundColor";
|
|
45
|
-
CSSVariable["easyTableFooterFontColor"] = "easyTableFooterFontColor";
|
|
46
|
-
CSSVariable["easyTableBodyRowHoverFontColor"] = "easyTableBodyRowHoverFontColor";
|
|
47
|
-
CSSVariable["easyTableRowBorder"] = "easyTableRowBorder";
|
|
48
|
-
CSSVariable["easyTableBorder"] = "easyTableBorder";
|
|
49
|
-
CSSVariable["easyTableMessageFontColor"] = "easyTableMessageFontColor";
|
|
50
|
-
CSSVariable["btnFlatSize"] = "btnFlatSize";
|
|
51
|
-
CSSVariable["btnFlatBorder"] = "btnFlatBorder";
|
|
52
|
-
CSSVariable["btnFlatBorderRadius"] = "btnFlatBorderRadius";
|
|
53
|
-
CSSVariable["btnFlatBoxShadow"] = "btnFlatBoxShadow";
|
|
54
|
-
CSSVariable["btnMainColor"] = "btnMainColor";
|
|
55
|
-
CSSVariable["btnSocialSize"] = "btnSocialSize";
|
|
56
|
-
CSSVariable["btnSocialBackground"] = "btnSocialBackground";
|
|
57
|
-
CSSVariable["checkboxColor"] = "checkboxColor";
|
|
58
|
-
CSSVariable["editorFontFamily"] = "editorFontFamily";
|
|
59
|
-
CSSVariable["flexGapMd"] = "flexGapMd";
|
|
60
|
-
CSSVariable["flexGapSm"] = "flexGapSm";
|
|
61
|
-
CSSVariable["inlineCodeBackground"] = "inlineCodeBackground";
|
|
62
|
-
CSSVariable["inlineCodeFontColor"] = "inlineCodeFontColor";
|
|
63
|
-
CSSVariable["scrollBarWidth"] = "scrollBarWidth";
|
|
64
|
-
CSSVariable["scrollBarColor"] = "scrollBarColor";
|
|
65
|
-
CSSVariable["fontSizeSm"] = "fontSizeSm";
|
|
66
|
-
CSSVariable["fontSizeMd"] = "fontSizeMd";
|
|
67
|
-
CSSVariable["fontSizeLg"] = "fontSizeLg";
|
|
68
|
-
CSSVariable["headlineMargin"] = "headlineMargin";
|
|
69
|
-
CSSVariable["paragraphFontSize"] = "paragraphFontSize";
|
|
70
|
-
CSSVariable["mainFontFamily"] = "mainFontFamily";
|
|
71
|
-
CSSVariable["editorFontFamilyMain"] = "editorFontFamilyMain";
|
|
72
|
-
CSSVariable["paragraphFontFamily"] = "paragraphFontFamily";
|
|
73
|
-
CSSVariable["headlineFontFamily"] = "headlineFontFamily";
|
|
74
|
-
CSSVariable["codeFontFamily"] = "codeFontFamily";
|
|
75
|
-
CSSVariable["descriptionFontFamily"] = "descriptionFontFamily";
|
|
76
|
-
CSSVariable["descriptionFontSize"] = "descriptionFontSize";
|
|
77
|
-
CSSVariable["descriptionFontStyle"] = "descriptionFontStyle";
|
|
78
|
-
CSSVariable["descriptionFontColor"] = "descriptionFontColor";
|
|
79
|
-
CSSVariable["descriptionPadding"] = "descriptionPadding";
|
|
80
|
-
CSSVariable["codeFontSize"] = "codeFontSize";
|
|
81
|
-
CSSVariable["headlineFontWeight"] = "headlineFontWeight";
|
|
82
|
-
CSSVariable["fontColorAction"] = "fontColorAction";
|
|
83
|
-
CSSVariable["fontSm"] = "fontSm";
|
|
84
|
-
CSSVariable["fontMd"] = "fontMd";
|
|
85
|
-
CSSVariable["fontLg"] = "fontLg";
|
|
86
|
-
CSSVariable["ulFontSize"] = "ulFontSize";
|
|
87
|
-
CSSVariable["ulLineHeight"] = "ulLineHeight";
|
|
88
|
-
CSSVariable["ulFontFamily"] = "ulFontFamily";
|
|
89
|
-
CSSVariable["topBarHeight"] = "topBarHeight";
|
|
90
|
-
CSSVariable["contentMaxWidth"] = "contentMaxWidth";
|
|
91
|
-
CSSVariable["modelineHeight"] = "modelineHeight";
|
|
92
|
-
CSSVariable["modelinePadding"] = "modelinePadding";
|
|
93
|
-
CSSVariable["modelineBackground"] = "modelineBackground";
|
|
94
|
-
CSSVariable["cardBackgroundColor"] = "cardBackgroundColor";
|
|
95
|
-
CSSVariable["shadowMain"] = "shadowMain";
|
|
96
|
-
CSSVariable["sidebarWidth"] = "sidebarWidth";
|
|
97
|
-
CSSVariable["actionPaneOpenedWidth"] = "actionPaneOpenedWidth";
|
|
98
|
-
CSSVariable["footerHeight"] = "footerHeight";
|
|
99
|
-
CSSVariable["publicPreviewImageWidth"] = "publicPreviewImageWidth";
|
|
100
|
-
CSSVariable["publicPreviewImageHeight"] = "publicPreviewImageHeight";
|
|
101
|
-
CSSVariable["publicPreviewMaxHeight"] = "publicPreviewMaxHeight";
|
|
102
|
-
CSSVariable["completionItemMinHeight"] = "completionItemMinHeight";
|
|
103
|
-
CSSVariable["completionItemPadding"] = "completionItemPadding";
|
|
104
|
-
CSSVariable["completionItemMargin"] = "completionItemMargin";
|
|
105
|
-
CSSVariable["completionItemHoverBackground"] = "completionItemHoverBackground";
|
|
106
|
-
CSSVariable["completionItemHoverColor"] = "completionItemHoverColor";
|
|
107
|
-
CSSVariable["completionFloatTop"] = "completionFloatTop";
|
|
108
|
-
CSSVariable["completionBorderRadius"] = "completionBorderRadius";
|
|
109
|
-
CSSVariable["completionWidth"] = "completionWidth";
|
|
110
|
-
CSSVariable["completionMaxWidth"] = "completionMaxWidth";
|
|
111
|
-
CSSVariable["completionBorder"] = "completionBorder";
|
|
112
|
-
CSSVariable["completionBoxShadow"] = "completionBoxShadow";
|
|
113
|
-
CSSVariable["completionInputHeight"] = "completionInputHeight";
|
|
114
|
-
CSSVariable["completionContainerMargin"] = "completionContainerMargin";
|
|
115
|
-
CSSVariable["menuPadding"] = "menuPadding";
|
|
116
|
-
CSSVariable["fileUploaderBorderWidth"] = "fileUploaderBorderWidth";
|
|
117
|
-
CSSVariable["fileUploaderBorderStyle"] = "fileUploaderBorderStyle";
|
|
118
|
-
CSSVariable["fileUploaderBorderColor"] = "fileUploaderBorderColor";
|
|
119
|
-
CSSVariable["fileUploaderBg"] = "fileUploaderBg";
|
|
120
|
-
CSSVariable["fileUploaderOpacity"] = "fileUploaderOpacity";
|
|
121
|
-
CSSVariable["notePreviewLinkMaxWidth"] = "notePreviewLinkMaxWidth";
|
|
122
|
-
CSSVariable["notePreviewLinkHeight"] = "notePreviewLinkHeight";
|
|
123
|
-
CSSVariable["btnActionShadow"] = "btnActionShadow";
|
|
124
|
-
CSSVariable["btnActionBorder"] = "btnActionBorder";
|
|
125
|
-
CSSVariable["btnActionBorderColor"] = "btnActionBorderColor";
|
|
126
|
-
CSSVariable["btnActionPadding"] = "btnActionPadding";
|
|
127
|
-
CSSVariable["btnActionRadius"] = "btnActionRadius";
|
|
128
|
-
CSSVariable["btnActionFireColor"] = "btnActionFireColor";
|
|
129
|
-
CSSVariable["btnActionFireBorderColor"] = "btnActionFireBorderColor";
|
|
130
|
-
CSSVariable["btnActionMd"] = "btnActionMd";
|
|
131
|
-
CSSVariable["btnActionSm"] = "btnActionSm";
|
|
132
|
-
CSSVariable["btnActionLg"] = "btnActionLg";
|
|
133
|
-
CSSVariable["btnActionColor"] = "btnActionColor";
|
|
134
|
-
CSSVariable["btnActionBg"] = "btnActionBg";
|
|
135
|
-
CSSVariable["miniBufferBackground"] = "miniBufferBackground";
|
|
136
|
-
CSSVariable["miniBufferFontColor"] = "miniBufferFontColor";
|
|
137
|
-
CSSVariable["miniBufferBorderTop"] = "miniBufferBorderTop";
|
|
138
|
-
CSSVariable["miniBufferMaxHeight"] = "miniBufferMaxHeight";
|
|
139
|
-
CSSVariable["tagHoverBackground"] = "tagHoverBackground";
|
|
140
|
-
CSSVariable["tagHoverColor"] = "tagHoverColor";
|
|
141
|
-
CSSVariable["toolbarBorderTop"] = "toolbarBorderTop";
|
|
142
|
-
CSSVariable["toolbarHoverColor"] = "toolbarHoverColor";
|
|
143
|
-
CSSVariable["headerbarHeight"] = "headerbarHeight";
|
|
144
|
-
CSSVariable["headerbarBorderRadius"] = "headerbarBorderRadius";
|
|
145
|
-
CSSVariable["headerbarBackgroundColor"] = "headerbarBackgroundColor";
|
|
146
|
-
CSSVariable["headerbarColor"] = "headerbarColor";
|
|
147
|
-
CSSVariable["headerbarBorder"] = "headerbarBorder";
|
|
148
|
-
CSSVariable["fileItemBgHover"] = "fileItemBgHover";
|
|
149
|
-
CSSVariable["fileItemColorHover"] = "fileItemColorHover";
|
|
150
|
-
CSSVariable["fileItemHeight"] = "fileItemHeight";
|
|
151
|
-
CSSVariable["iconBtnColor"] = "iconBtnColor";
|
|
152
|
-
CSSVariable["iconBtnHoverColor"] = "iconBtnHoverColor";
|
|
153
|
-
CSSVariable["modalMaxHeight"] = "modalMaxHeight";
|
|
154
|
-
CSSVariable["modalMaxWidth"] = "modalMaxWidth";
|
|
155
|
-
CSSVariable["modalPadding"] = "modalPadding";
|
|
156
|
-
CSSVariable["blockPaddingSm"] = "blockPaddingSm";
|
|
157
|
-
CSSVariable["blockPaddingMd"] = "blockPaddingMd";
|
|
158
|
-
CSSVariable["blockPaddingLg"] = "blockPaddingLg";
|
|
159
|
-
CSSVariable["blockMarginMd"] = "blockMarginMd";
|
|
160
|
-
CSSVariable["blockMarginSm"] = "blockMarginSm";
|
|
161
|
-
CSSVariable["blockBorderRadiusMd"] = "blockBorderRadiusMd";
|
|
162
|
-
CSSVariable["blockBorderRadiusSm"] = "blockBorderRadiusSm";
|
|
163
|
-
CSSVariable["itemDefaultRadius"] = "itemDefaultRadius";
|
|
164
|
-
CSSVariable["searchIcnSize"] = "searchIcnSize";
|
|
165
|
-
CSSVariable["gapMd"] = "gapMd";
|
|
166
|
-
CSSVariable["gapSm"] = "gapSm";
|
|
167
|
-
CSSVariable["gapXs"] = "gapXs";
|
|
168
|
-
CSSVariable["srcBlockHeaderPaddingY"] = "srcBlockHeaderPaddingY";
|
|
169
|
-
CSSVariable["srcBlockFooterPaddingY"] = "srcBlockFooterPaddingY";
|
|
170
|
-
CSSVariable["srcBlockPaddingX"] = "srcBlockPaddingX";
|
|
171
|
-
CSSVariable["srcBlockPaddingY"] = "srcBlockPaddingY";
|
|
172
|
-
CSSVariable["srcBlockMarginY"] = "srcBlockMarginY";
|
|
173
|
-
CSSVariable["pagePadding"] = "pagePadding";
|
|
174
|
-
CSSVariable["editorLineHeight"] = "editorLineHeight";
|
|
175
|
-
CSSVariable["editorHeadlineLineHeight"] = "editorHeadlineLineHeight";
|
|
176
|
-
CSSVariable["editorDefaultLineHeight"] = "editorDefaultLineHeight";
|
|
177
|
-
CSSVariable["editorPaddingBottom"] = "editorPaddingBottom";
|
|
178
|
-
CSSVariable["editorCursorColor"] = "editorCursorColor";
|
|
179
|
-
CSSVariable["editorSelectionBgColor"] = "editorSelectionBgColor";
|
|
180
|
-
CSSVariable["editorSelectionColor"] = "editorSelectionColor";
|
|
181
|
-
CSSVariable["editorGutterColor"] = "editorGutterColor";
|
|
182
|
-
CSSVariable["editorGutterHoverColor"] = "editorGutterHoverColor";
|
|
183
|
-
CSSVariable["editorFoldPlaceholderColor"] = "editorFoldPlaceholderColor";
|
|
184
|
-
CSSVariable["editorActiveLineBgColor"] = "editorActiveLineBgColor";
|
|
185
|
-
CSSVariable["editorCaretColor"] = "editorCaretColor";
|
|
186
|
-
CSSVariable["orgListItemBulletMarginLeft"] = "orgListItemBulletMarginLeft";
|
|
187
|
-
CSSVariable["devicePaddingBottom"] = "devicePaddingBottom";
|
|
188
|
-
CSSVariable["graphNodeColor"] = "graphNodeColor";
|
|
189
|
-
CSSVariable["graphEdgeColor"] = "graphEdgeColor";
|
|
190
|
-
CSSVariable["graphActiveColor"] = "graphActiveColor";
|
|
191
|
-
CSSVariable["inputHeight"] = "inputHeight";
|
|
192
|
-
CSSVariable["inputLgHeight"] = "inputLgHeight";
|
|
193
|
-
CSSVariable["borderMain"] = "borderMain";
|
|
194
|
-
})(CSSVariable || (CSSVariable = {}));
|
|
5
|
+
export const THEME_VARIABLES = ['red', 'orange', 'green', 'teal', 'yellow', 'blue', 'dark-blue', 'magenta', 'violet', 'cyan', 'dark-cyan', 'white', 'bg', 'bg-secondary', 'bg-elevated', 'bg-hover', 'fg', 'fg-muted', 'accent'];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
import { StoreDefinition } from './store.js';
|
|
3
|
+
import { CommandName } from './command.js';
|
|
4
|
+
export interface ToolbarStore {
|
|
5
|
+
commands: Ref<CommandName[]>;
|
|
6
|
+
addCommand: (command: CommandName) => void;
|
|
7
|
+
removeCommand: (command: CommandName) => void;
|
|
8
|
+
}
|
|
9
|
+
export type ToolbarStoreDefinition = StoreDefinition<ToolbarStore>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface BackgroundSettings {
|
|
2
|
+
setStatusBarBackground: (bgColor?: string) => Promise<void>;
|
|
3
|
+
setBottomBarBackground: (bgColor?: string) => Promise<void>;
|
|
4
|
+
setBackground: (bgColor?: string) => Promise<void>;
|
|
5
|
+
}
|
|
6
|
+
export type UseBackgroundSettings = () => BackgroundSettings;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/models/user.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { ModelsUserPersonalInfo } from "../remote-api/index.js";
|
|
2
|
+
import { PublicUser } from './note.js';
|
|
3
|
+
export interface User extends PublicUser {
|
|
4
4
|
}
|
|
5
5
|
export interface PersonalInfo extends ModelsUserPersonalInfo {
|
|
6
|
-
isAnonymous?: boolean;
|
|
7
6
|
}
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export type VueComponent
|
|
1
|
+
import type { Component } from 'vue';
|
|
2
|
+
export type VueComponent = Component & {
|
|
3
|
+
__name?: string;
|
|
4
|
+
};
|