fix: use snjs proper types location
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { SNAlertService } from "../../../../snjs/dist/@types";
|
||||
import { SNAlertService } from "@node_modules/snjs/dist/@types";
|
||||
export declare class Database {
|
||||
private locked;
|
||||
private alertService?;
|
||||
|
||||
@@ -5,5 +5,5 @@ export { elemReady } from './elemReady';
|
||||
export { fileChange } from './file-change';
|
||||
export { infiniteScroll } from './infiniteScroll';
|
||||
export { lowercase } from './lowercase';
|
||||
export { selectOnClick } from './selectOnClick';
|
||||
export { selectOnFocus } from './selectOnFocus';
|
||||
export { snEnter } from './snEnter';
|
||||
|
||||
5
dist/@types/app/assets/javascripts/directives/functional/selectOnFocus.d.ts
vendored
Normal file
5
dist/@types/app/assets/javascripts/directives/functional/selectOnFocus.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
/// <reference types="angular" />
|
||||
export declare function selectOnFocus($window: ng.IWindowService): {
|
||||
restrict: string;
|
||||
link: (scope: import("angular").IScope, element: JQLite) => void;
|
||||
};
|
||||
@@ -1,5 +1,5 @@
|
||||
import { SNPredicate, ApplicationService } from 'snjs';
|
||||
import { PayloadContent } from '@/../../../../snjs/dist/@types/protocol/payloads/generator';
|
||||
import { PayloadContent } from '@node_modules/snjs/dist/@types/protocol/payloads/generator';
|
||||
/** A class for handling installation of system extensions */
|
||||
export declare class NativeExtManager extends ApplicationService {
|
||||
extManagerId: string;
|
||||
|
||||
@@ -1,18 +1,20 @@
|
||||
import { WebApplication } from '@/ui_models/application';
|
||||
import { ApplicationService } from 'snjs';
|
||||
import { ApplicationService, ApplicationEvent } from 'snjs';
|
||||
export declare class ThemeManager extends ApplicationService {
|
||||
private activeThemes;
|
||||
private unsubState;
|
||||
private unregisterDesktop;
|
||||
private unregisterComponent;
|
||||
constructor(application: WebApplication);
|
||||
/** @override */
|
||||
onAppLaunch(): Promise<void>;
|
||||
onAppEvent(event: ApplicationEvent): void;
|
||||
get webApplication(): WebApplication;
|
||||
deinit(): void;
|
||||
/** @override */
|
||||
onAppStart(): Promise<void>;
|
||||
private activateCachedThemes;
|
||||
private registerObservers;
|
||||
deactivateAllThemes(): void;
|
||||
private deactivateAllThemes;
|
||||
private activateTheme;
|
||||
private deactivateTheme;
|
||||
private cacheThemes;
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import { SNComponent, ComponentArea } from 'snjs';
|
||||
import { WebApplication } from './application';
|
||||
import { UuidString } from '@/../../../../snjs/dist/@types/types';
|
||||
import { UuidString } from '@node_modules/snjs/dist/@types/types';
|
||||
export declare class ComponentGroup {
|
||||
private application;
|
||||
changeObservers: any[];
|
||||
activeComponents: UuidString[];
|
||||
constructor(application: WebApplication);
|
||||
get componentManager(): import("../../../../../snjs/dist/@types").SNComponentManager;
|
||||
get componentManager(): import("snjs/dist/@types").SNComponentManager;
|
||||
deinit(): void;
|
||||
activateComponent(component: SNComponent): Promise<void>;
|
||||
deactivateComponent(component: SNComponent, notify?: boolean): Promise<void>;
|
||||
|
||||
@@ -10,7 +10,7 @@ export declare class Editor {
|
||||
constructor(application: WebApplication, noteUuid?: string, noteTitle?: string);
|
||||
deinit(): void;
|
||||
private handleNoteStream;
|
||||
insertTemplatedNote(): Promise<import("../../../../../snjs/dist/@types").SNItem>;
|
||||
insertTemplatedNote(): Promise<import("snjs/dist/@types").SNItem>;
|
||||
/**
|
||||
* Reverts the editor to a blank state, removing any existing note from view,
|
||||
* and creating a placeholder note.
|
||||
@@ -19,12 +19,12 @@ export declare class Editor {
|
||||
/**
|
||||
* Register to be notified when the editor's note changes.
|
||||
*/
|
||||
onNoteChange(onNoteChange: () => void): void;
|
||||
onNoteChange(callback: () => void): void;
|
||||
/**
|
||||
* Register to be notified when the editor's note's values change
|
||||
* (and thus a new object reference is created)
|
||||
*/
|
||||
onNoteValueChange(onNoteValueChange: (note: SNNote, source?: PayloadSource) => void): void;
|
||||
onNoteValueChange(callback: (note: SNNote, source?: PayloadSource) => void): void;
|
||||
/**
|
||||
* Sets the editor contents by setting its note.
|
||||
*/
|
||||
|
||||
@@ -32,5 +32,6 @@ export declare class PureViewCtrl {
|
||||
onAppStart(): Promise<void>;
|
||||
onAppLaunch(): Promise<void>;
|
||||
onAppKeyChange(): Promise<void>;
|
||||
onAppSync(): void;
|
||||
onAppIncrementalSync(): void;
|
||||
onAppFullSync(): void;
|
||||
}
|
||||
|
||||
72405
dist/javascripts/app.js
vendored
72405
dist/javascripts/app.js
vendored
File diff suppressed because one or more lines are too long
2
dist/javascripts/app.js.map
vendored
2
dist/javascripts/app.js.map
vendored
File diff suppressed because one or more lines are too long
2642
dist/stylesheets/app.css
vendored
2642
dist/stylesheets/app.css
vendored
File diff suppressed because one or more lines are too long
2
dist/stylesheets/app.css.map
vendored
2
dist/stylesheets/app.css.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user