clean: remove unused plugins
This commit is contained in:
203
.obsidian/plugins/google-calendar/main.js
vendored
203
.obsidian/plugins/google-calendar/main.js
vendored
File diff suppressed because one or more lines are too long
11
.obsidian/plugins/google-calendar/manifest.json
vendored
11
.obsidian/plugins/google-calendar/manifest.json
vendored
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"id": "google-calendar",
|
||||
"name": "Google Calendar",
|
||||
"version": "1.9.19",
|
||||
"minAppVersion": "0.12.0",
|
||||
"description": "Interact with your Google Calendar from Inside Obsidian",
|
||||
"author": "YukiGasai",
|
||||
"authorUrl": "https://github.com/YukiGasai",
|
||||
"isDesktopOnly": false,
|
||||
"fundingUrl": "https://ko-fi.com/YukiGasai"
|
||||
}
|
||||
50
.obsidian/plugins/google-calendar/styles.css
vendored
50
.obsidian/plugins/google-calendar/styles.css
vendored
@@ -1,50 +0,0 @@
|
||||
#calendar-container .today {
|
||||
font-weight: bold;
|
||||
color: red;
|
||||
}
|
||||
|
||||
input[type='date'],
|
||||
input[type='datetime-local'] {
|
||||
background: var(--background-modifier-form-field);
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
color: var(--text-normal);
|
||||
font-family: inherit;
|
||||
padding: 5px 14px;
|
||||
font-size: 16px;
|
||||
border-radius: 4px;
|
||||
outline: none;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
.googleEventDetails {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.SubSettings {
|
||||
margin-left: 40px;
|
||||
}
|
||||
|
||||
.suggestionText {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.templater_search {
|
||||
width: calc(100% - 20px);
|
||||
}
|
||||
|
||||
.googleCalendarDailyDot {
|
||||
fill: var(--daily-dot-color) !important;
|
||||
}
|
||||
|
||||
.block-language-gEvent {
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.setting .multiselect .options {
|
||||
background-color: #262626 !important;
|
||||
}
|
||||
|
||||
.rangeSettings .rangeSlider {
|
||||
width: 300px;
|
||||
}
|
||||
@@ -1,129 +0,0 @@
|
||||
/*
|
||||
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
|
||||
if you want to view the source, please visit the github repository of this plugin
|
||||
*/
|
||||
|
||||
var __create = Object.create;
|
||||
var __defProp = Object.defineProperty;
|
||||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||
var __getProtoOf = Object.getPrototypeOf;
|
||||
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
||||
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
||||
var __export = (target, all) => {
|
||||
__markAsModule(target);
|
||||
for (var name in all)
|
||||
__defProp(target, name, { get: all[name], enumerable: true });
|
||||
};
|
||||
var __reExport = (target, module2, desc) => {
|
||||
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
||||
for (let key of __getOwnPropNames(module2))
|
||||
if (!__hasOwnProp.call(target, key) && key !== "default")
|
||||
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
||||
}
|
||||
return target;
|
||||
};
|
||||
var __toModule = (module2) => {
|
||||
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
||||
};
|
||||
var __async = (__this, __arguments, generator) => {
|
||||
return new Promise((resolve, reject) => {
|
||||
var fulfilled = (value) => {
|
||||
try {
|
||||
step(generator.next(value));
|
||||
} catch (e) {
|
||||
reject(e);
|
||||
}
|
||||
};
|
||||
var rejected = (value) => {
|
||||
try {
|
||||
step(generator.throw(value));
|
||||
} catch (e) {
|
||||
reject(e);
|
||||
}
|
||||
};
|
||||
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
||||
step((generator = generator.apply(__this, __arguments)).next());
|
||||
});
|
||||
};
|
||||
|
||||
// main.ts
|
||||
__export(exports, {
|
||||
default: () => FrontmatterTagSuggestPlugin
|
||||
});
|
||||
var import_obsidian = __toModule(require("obsidian"));
|
||||
var FrontmatterTagSuggestPlugin = class extends import_obsidian.Plugin {
|
||||
onload() {
|
||||
return __async(this, null, function* () {
|
||||
this.registerEditorSuggest(new TagSuggest(this));
|
||||
});
|
||||
}
|
||||
};
|
||||
var TagSuggest = class extends import_obsidian.EditorSuggest {
|
||||
constructor(plugin) {
|
||||
super(plugin.app);
|
||||
this.inline = false;
|
||||
this.plugin = plugin;
|
||||
}
|
||||
getTags() {
|
||||
const tags = this.plugin.app.metadataCache.getTags();
|
||||
return [...Object.keys(tags)].map((p) => p.split("#").pop());
|
||||
}
|
||||
inRange(range) {
|
||||
var _a;
|
||||
if (!range || !range.length)
|
||||
return false;
|
||||
if (((_a = range.match(/^---\n/gm)) == null ? void 0 : _a.length) != 1)
|
||||
return false;
|
||||
if (!/^tags?:/gm.test(range))
|
||||
return false;
|
||||
const split = range.split(/(^\w+:?\s*\n?)/gm);
|
||||
for (let i = split.length - 1; i >= 0; i--) {
|
||||
if (/(^\w+:?\s*\n?)/gm.test(split[i]))
|
||||
return split[i].startsWith("tags:");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
onTrigger(cursor, editor, _) {
|
||||
var _a;
|
||||
const lineContents = editor.getLine(cursor.line).toLowerCase();
|
||||
const onFrontmatterTagLine = lineContents.startsWith("tags:") || lineContents.startsWith("tag:") || this.inRange(editor.getRange({ line: 0, ch: 0 }, cursor));
|
||||
if (onFrontmatterTagLine) {
|
||||
this.inline = lineContents.startsWith("tags:") || lineContents.startsWith("tag:");
|
||||
const sub = editor.getLine(cursor.line).substring(0, cursor.ch);
|
||||
const match = (_a = sub.match(/(\S+)$/)) == null ? void 0 : _a.first();
|
||||
if (match) {
|
||||
this.tags = this.getTags();
|
||||
const matchData = {
|
||||
end: cursor,
|
||||
start: {
|
||||
ch: sub.lastIndexOf(match),
|
||||
line: cursor.line
|
||||
},
|
||||
query: match
|
||||
};
|
||||
return matchData;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
getSuggestions(context) {
|
||||
const suggestions = this.tags.filter((p) => p.toLowerCase().contains(context.query.toLowerCase()));
|
||||
return suggestions;
|
||||
}
|
||||
renderSuggestion(suggestion, el) {
|
||||
const outer = el.createDiv({ cls: "ES-suggester-container" });
|
||||
outer.createDiv({ cls: "ES-tags" }).setText(`#${suggestion}`);
|
||||
}
|
||||
selectSuggestion(suggestion) {
|
||||
if (this.context) {
|
||||
if (this.inline) {
|
||||
suggestion = `${suggestion}`;
|
||||
} else {
|
||||
suggestion = `${suggestion}
|
||||
-`;
|
||||
}
|
||||
this.context.editor.replaceRange(`${suggestion} `, this.context.start, this.context.end);
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -1,10 +0,0 @@
|
||||
{
|
||||
"id": "obsidian-frontmatter-tag-suggest",
|
||||
"name": "Frontmatter Tag Suggest",
|
||||
"version": "0.4.1",
|
||||
"minAppVersion": "0.12.0",
|
||||
"description": "Autocompletes tags in the frontmatter tags field",
|
||||
"author": "Jonathan Miller",
|
||||
"authorUrl": "https://jmill.dev",
|
||||
"isDesktopOnly": false
|
||||
}
|
||||
1
.obsidian/plugins/quick-explorer/main.js
vendored
1
.obsidian/plugins/quick-explorer/main.js
vendored
File diff suppressed because one or more lines are too long
10
.obsidian/plugins/quick-explorer/manifest.json
vendored
10
.obsidian/plugins/quick-explorer/manifest.json
vendored
@@ -1,10 +0,0 @@
|
||||
{
|
||||
"id": "quick-explorer",
|
||||
"name": "Quick Explorer",
|
||||
"author": "PJ Eby",
|
||||
"authorUrl": "https://github.com/pjeby",
|
||||
"version": "0.2.8",
|
||||
"description": "Perform file explorer operations (and see your current file path) from the title bar, using the mouse or keyboard",
|
||||
"minAppVersion": "0.15.9",
|
||||
"isDesktopOnly": true
|
||||
}
|
||||
23
.obsidian/plugins/quick-explorer/styles.css
vendored
23
.obsidian/plugins/quick-explorer/styles.css
vendored
@@ -1,23 +0,0 @@
|
||||
@charset "UTF-8";.titlebar-button-container.mod-left{opacity:1}body:not(.qe-title-center):not(.qe-title-hide) .titlebar-text.qe-replacement{text-align:right;justify-content:flex-end;align-items:flex-end}body.qe-title-hide .titlebar-text.qe-replacement{display:none}body.obsidian-themepocalypse:not(.qe-hide-breadcrumbs) #quick-explorer{display:inherit}body.obsidian-themepocalypse:not(.qe-hide-breadcrumbs) #quick-explorer .explorable{display:inherit}body.qe-hide-breadcrumbs #quick-explorer{display:none}body.is-frameless.is-hidden-frameless:not(.qe-hide-breadcrumbs) .status-bar,body:not(.is-frameless):not(.qe-hide-breadcrumbs) .status-bar{position:static}body.is-frameless.is-hidden-frameless:not(.qe-hide-breadcrumbs) .status-bar .status-bar-item.left-region,body:not(.is-frameless):not(.qe-hide-breadcrumbs) .status-bar .status-bar-item.left-region{order:-9999;flex-grow:1}#quick-explorer{display:inline-block;padding-left:10px;padding-right:10px;z-index:var(--layer-cover);background-color:var(--background-translucent)!important}#quick-explorer .explorable{font-size:var(--font-ui-small, 12px);opacity:.75;cursor:pointer;padding:0;display:unset}.status-bar #quick-explorer .explorable{font-size:var(--status-bar-font-size, var(--font-ui-small, 12px));opacity:1}#quick-explorer .explorable.selected,#quick-explorer .explorable:hover{background-color:var(--interactive-accent-hover);color:var(--text-on-accent);opacity:1}#quick-explorer .explorable-separator:before{content:"\a0/\a0"}.menu.qe-popup-menu~.popover.hover-popover{z-index:var(--layer-menu)}.qe-popup-menu .menu-item:not(.is-disabled):not(.is-label){display:flex;align-items:center}.qe-popup-menu .menu-item:not(.is-disabled):not(.is-label).selected{background-color:var(--interactive-accent-hover)}.qe-popup-menu .menu-item:not(.is-disabled):not(.is-label):hover:not(.selected){background-color:var(--background-primary);color:var(--text-normal)}.qe-popup-menu .menu-item:not(.is-disabled):not(.is-label):hover:not(.selected) .menu-item-icon{color:var(--text-muted)}.qe-popup-menu .menu-item:not(.is-disabled):not(.is-label) .menu-item-title{flex-grow:1}.qe-popup-menu .menu-item:not(.is-disabled):not(.is-label) .nav-file-tag{margin-left:1.5em;opacity:.5;background-color:transparent}.qe-popup-menu .menu-item:not(.is-disabled):not(.is-label) .nav-file-tag.qe-file-count{font-size:75%}.qe-popup-menu .menu-item:not(.is-disabled):not(.is-label):hover,.qe-popup-menu .menu-item:not(.is-disabled):not(.is-label).selected{color:var(--text-on-accent)}.qe-popup-menu .menu-item:not(.is-disabled):not(.is-label):hover .menu-item-icon,.qe-popup-menu .menu-item:not(.is-disabled):not(.is-label).selected .menu-item-icon{color:var(--text-on-accent)}.qe-popup-menu .menu-item:not(.is-disabled):not(.is-label):hover .nav-file-tag,.qe-popup-menu .menu-item:not(.is-disabled):not(.is-label).selected .nav-file-tag{opacity:1}.view-header-title-parent:before{content:"/";padding:2px 1px;color:var(--text-faint)}.view-header-breadcrumb.is-exploring,.view-header-title-parent.is-exploring:before{background-color:var(--background-modifier-hover);color:var(--text-normal)}
|
||||
/*! /* @settings
|
||||
name: Quick Explorer
|
||||
id: quick-explorer
|
||||
settings:
|
||||
- id: qe-obsidian-title
|
||||
title: Obsidian Title (Vault+Version)
|
||||
description: What should happen to the Obsidian title text?
|
||||
type: class-select
|
||||
default: qe-title-right
|
||||
options:
|
||||
- label: Show it on the right
|
||||
value: qe-title-right
|
||||
- label: Show it in the center
|
||||
value: qe-title-center
|
||||
- label: Hide it entirely
|
||||
value: qe-title-hide
|
||||
|
||||
- id: qe-hide-breadcrumbs
|
||||
title: Hide Quick Explorer
|
||||
description: Hide quick explorer (and use tab titlebar breadcrumbs on 0.16)
|
||||
type: class-toggle
|
||||
*/
|
||||
Reference in New Issue
Block a user