@leavittsoftware/web 1.22.0 → 1.23.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/leavitt/file-explorer/add-folder-modal.d.ts +359 -0
- package/leavitt/file-explorer/add-folder-modal.js +135 -0
- package/leavitt/file-explorer/add-folder-modal.js.map +1 -0
- package/leavitt/file-explorer/events/file-explorer-events.d.ts +4 -0
- package/leavitt/file-explorer/events/file-explorer-events.js +5 -0
- package/leavitt/file-explorer/events/file-explorer-events.js.map +1 -0
- package/leavitt/file-explorer/file-explorer-error.d.ts +7 -0
- package/leavitt/file-explorer/file-explorer-error.js +38 -0
- package/leavitt/file-explorer/file-explorer-error.js.map +1 -0
- package/leavitt/file-explorer/file-explorer-image.d.ts +9 -0
- package/leavitt/file-explorer/file-explorer-image.js +54 -0
- package/leavitt/file-explorer/file-explorer-image.js.map +1 -0
- package/leavitt/file-explorer/file-explorer-no-files.d.ts +7 -0
- package/leavitt/file-explorer/file-explorer-no-files.js +38 -0
- package/leavitt/file-explorer/file-explorer-no-files.js.map +1 -0
- package/leavitt/file-explorer/file-explorer-no-permission.d.ts +7 -0
- package/leavitt/file-explorer/file-explorer-no-permission.js +38 -0
- package/leavitt/file-explorer/file-explorer-no-permission.js.map +1 -0
- package/leavitt/file-explorer/file-explorer.d.ts +411 -0
- package/leavitt/file-explorer/file-explorer.js +871 -0
- package/leavitt/file-explorer/file-explorer.js.map +1 -0
- package/leavitt/file-explorer/file-list-item.d.ts +15 -0
- package/leavitt/file-explorer/file-list-item.js +273 -0
- package/leavitt/file-explorer/file-list-item.js.map +1 -0
- package/leavitt/file-explorer/file-modal.d.ts +362 -0
- package/leavitt/file-explorer/file-modal.js +323 -0
- package/leavitt/file-explorer/file-modal.js.map +1 -0
- package/leavitt/file-explorer/folder-list-item.d.ts +14 -0
- package/leavitt/file-explorer/folder-list-item.js +188 -0
- package/leavitt/file-explorer/folder-list-item.js.map +1 -0
- package/leavitt/file-explorer/folder-modal.d.ts +360 -0
- package/leavitt/file-explorer/folder-modal.js +226 -0
- package/leavitt/file-explorer/folder-modal.js.map +1 -0
- package/leavitt/file-explorer/helpers/file-types.d.ts +2 -0
- package/leavitt/file-explorer/helpers/file-types.js +19 -0
- package/leavitt/file-explorer/helpers/file-types.js.map +1 -0
- package/leavitt/file-explorer/helpers/format-bytes.d.ts +2 -0
- package/leavitt/file-explorer/helpers/format-bytes.js +8 -0
- package/leavitt/file-explorer/helpers/format-bytes.js.map +1 -0
- package/package.json +2 -2
- package/titanium/styles/data-row.js +7 -0
- package/titanium/styles/data-row.js.map +1 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { css, html, LitElement } from 'lit';
|
|
3
|
+
import { customElement } from 'lit/decorators.js';
|
|
4
|
+
import { p } from '../../titanium/styles/styles';
|
|
5
|
+
import '@material/web/icon/icon';
|
|
6
|
+
let FileExplorerNoFiles = class FileExplorerNoFiles extends LitElement {
|
|
7
|
+
static { this.styles = [
|
|
8
|
+
p,
|
|
9
|
+
css `
|
|
10
|
+
:host {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
|
|
16
|
+
padding: 48px 24px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
md-icon {
|
|
20
|
+
height: 120px;
|
|
21
|
+
width: 130px;
|
|
22
|
+
font-size: 120px;
|
|
23
|
+
color: var(--md-sys-color-surface-variant);
|
|
24
|
+
}
|
|
25
|
+
`,
|
|
26
|
+
]; }
|
|
27
|
+
render() {
|
|
28
|
+
return html `
|
|
29
|
+
<md-icon>folder_shared</md-icon>
|
|
30
|
+
<p>No files or folders yet...</p>
|
|
31
|
+
`;
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
FileExplorerNoFiles = __decorate([
|
|
35
|
+
customElement('leavitt-file-explorer-no-files')
|
|
36
|
+
], FileExplorerNoFiles);
|
|
37
|
+
export { FileExplorerNoFiles };
|
|
38
|
+
//# sourceMappingURL=file-explorer-no-files.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-explorer-no-files.js","sourceRoot":"","sources":["file-explorer-no-files.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAE,CAAC,EAAE,MAAM,8BAA8B,CAAC;AACjD,OAAO,yBAAyB,CAAC;AAG1B,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,UAAU;aAC1C,WAAM,GAAG;QACd,CAAC;QACD,GAAG,CAAA;;;;;;;;;;;;;;;;KAgBF;KACF,AAnBY,CAmBX;IAEF,MAAM;QACJ,OAAO,IAAI,CAAA;;;KAGV,CAAC;IACJ,CAAC;;AA3BU,mBAAmB;IAD/B,aAAa,CAAC,gCAAgC,CAAC;GACnC,mBAAmB,CA4B/B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '@material/web/icon/icon';
|
|
3
|
+
export declare class LeavittFileExplorerNoPermission extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
5
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=file-explorer-no-permission.d.ts.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { css, html, LitElement } from 'lit';
|
|
3
|
+
import { customElement } from 'lit/decorators.js';
|
|
4
|
+
import { p } from '../../titanium/styles/styles';
|
|
5
|
+
import '@material/web/icon/icon';
|
|
6
|
+
let LeavittFileExplorerNoPermission = class LeavittFileExplorerNoPermission extends LitElement {
|
|
7
|
+
static { this.styles = [
|
|
8
|
+
p,
|
|
9
|
+
css `
|
|
10
|
+
:host {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
|
|
16
|
+
padding: 48px 24px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
md-icon {
|
|
20
|
+
height: 120px;
|
|
21
|
+
width: 120px;
|
|
22
|
+
font-size: 120px;
|
|
23
|
+
color: var(--md-sys-color-surface-variant);
|
|
24
|
+
}
|
|
25
|
+
`,
|
|
26
|
+
]; }
|
|
27
|
+
render() {
|
|
28
|
+
return html `
|
|
29
|
+
<md-icon>https</md-icon>
|
|
30
|
+
<p>Permission denied.</p>
|
|
31
|
+
`;
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
LeavittFileExplorerNoPermission = __decorate([
|
|
35
|
+
customElement('leavitt-file-explorer-no-permission')
|
|
36
|
+
], LeavittFileExplorerNoPermission);
|
|
37
|
+
export { LeavittFileExplorerNoPermission };
|
|
38
|
+
//# sourceMappingURL=file-explorer-no-permission.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-explorer-no-permission.js","sourceRoot":"","sources":["file-explorer-no-permission.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAE,CAAC,EAAE,MAAM,8BAA8B,CAAC;AACjD,OAAO,yBAAyB,CAAC;AAG1B,IAAM,+BAA+B,GAArC,MAAM,+BAAgC,SAAQ,UAAU;aACtD,WAAM,GAAG;QACd,CAAC;QACD,GAAG,CAAA;;;;;;;;;;;;;;;;KAgBF;KACF,AAnBY,CAmBX;IAEF,MAAM;QACJ,OAAO,IAAI,CAAA;;;KAGV,CAAC;IACJ,CAAC;;AA3BU,+BAA+B;IAD3C,aAAa,CAAC,qCAAqC,CAAC;GACxC,+BAA+B,CA4B3C"}
|
|
@@ -0,0 +1,411 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
import ApiService from '../api-service/api-service';
|
|
3
|
+
import '../../titanium/confirm-dialog/confirm-dialog';
|
|
4
|
+
import '@material/web/icon/icon';
|
|
5
|
+
import '@material/web/button/text-button';
|
|
6
|
+
import '@material/web/progress/linear-progress';
|
|
7
|
+
import '@material/web/menu/menu';
|
|
8
|
+
import '@material/web/menu/menu-item';
|
|
9
|
+
import './add-folder-modal';
|
|
10
|
+
import './file-explorer-no-files';
|
|
11
|
+
import './file-explorer-error';
|
|
12
|
+
import './file-explorer-no-permission';
|
|
13
|
+
import './file-modal';
|
|
14
|
+
import './folder-modal';
|
|
15
|
+
import './file-list-item';
|
|
16
|
+
import './folder-list-item';
|
|
17
|
+
declare const LeavittFileExplorer_base: {
|
|
18
|
+
new (...args: any[]): {
|
|
19
|
+
"__#3@#promiseCount": number;
|
|
20
|
+
isLoading: boolean;
|
|
21
|
+
loadWhile(promise: Promise<unknown>): Promise<void>;
|
|
22
|
+
accessKey: string;
|
|
23
|
+
readonly accessKeyLabel: string;
|
|
24
|
+
autocapitalize: string;
|
|
25
|
+
dir: string;
|
|
26
|
+
draggable: boolean;
|
|
27
|
+
hidden: boolean;
|
|
28
|
+
inert: boolean;
|
|
29
|
+
innerText: string;
|
|
30
|
+
lang: string;
|
|
31
|
+
readonly offsetHeight: number;
|
|
32
|
+
readonly offsetLeft: number;
|
|
33
|
+
readonly offsetParent: Element | null;
|
|
34
|
+
readonly offsetTop: number;
|
|
35
|
+
readonly offsetWidth: number;
|
|
36
|
+
outerText: string;
|
|
37
|
+
popover: string | null;
|
|
38
|
+
spellcheck: boolean;
|
|
39
|
+
title: string;
|
|
40
|
+
translate: boolean;
|
|
41
|
+
attachInternals(): ElementInternals;
|
|
42
|
+
click(): void;
|
|
43
|
+
hidePopover(): void;
|
|
44
|
+
showPopover(): void;
|
|
45
|
+
togglePopover(force?: boolean | undefined): void;
|
|
46
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
47
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
48
|
+
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
49
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
50
|
+
floatingLabelFoundation?: import("@material/floating-label/foundation").MDCFloatingLabelFoundation | undefined;
|
|
51
|
+
lineRippleFoundation?: import("@material/line-ripple/foundation").MDCLineRippleFoundation | undefined;
|
|
52
|
+
readonly attributes: NamedNodeMap;
|
|
53
|
+
readonly classList: DOMTokenList;
|
|
54
|
+
className: string;
|
|
55
|
+
readonly clientHeight: number;
|
|
56
|
+
readonly clientLeft: number;
|
|
57
|
+
readonly clientTop: number;
|
|
58
|
+
readonly clientWidth: number;
|
|
59
|
+
id: string;
|
|
60
|
+
readonly localName: string;
|
|
61
|
+
readonly namespaceURI: string | null;
|
|
62
|
+
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
63
|
+
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
64
|
+
outerHTML: string;
|
|
65
|
+
readonly ownerDocument: Document;
|
|
66
|
+
readonly part: DOMTokenList;
|
|
67
|
+
readonly prefix: string | null;
|
|
68
|
+
readonly scrollHeight: number;
|
|
69
|
+
scrollLeft: number;
|
|
70
|
+
scrollTop: number;
|
|
71
|
+
readonly scrollWidth: number;
|
|
72
|
+
readonly shadowRoot: ShadowRoot | null;
|
|
73
|
+
slot: string;
|
|
74
|
+
readonly tagName: string;
|
|
75
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
76
|
+
checkVisibility(options?: CheckVisibilityOptions | undefined): boolean;
|
|
77
|
+
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
|
|
78
|
+
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
|
|
79
|
+
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4] | null;
|
|
80
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
81
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
82
|
+
getAttribute(qualifiedName: string): string | null;
|
|
83
|
+
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
84
|
+
getAttributeNames(): string[];
|
|
85
|
+
getAttributeNode(qualifiedName: string): Attr | null;
|
|
86
|
+
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
87
|
+
getBoundingClientRect(): DOMRect;
|
|
88
|
+
getClientRects(): DOMRectList;
|
|
89
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
90
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
|
91
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
|
92
|
+
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
93
|
+
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
94
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
95
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
96
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
97
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
98
|
+
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
99
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
100
|
+
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
101
|
+
hasAttributes(): boolean;
|
|
102
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
103
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
104
|
+
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
105
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
106
|
+
matches(selectors: string): boolean;
|
|
107
|
+
releasePointerCapture(pointerId: number): void;
|
|
108
|
+
removeAttribute(qualifiedName: string): void;
|
|
109
|
+
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
110
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
111
|
+
requestFullscreen(options?: FullscreenOptions | undefined): Promise<void>;
|
|
112
|
+
requestPointerLock(): void;
|
|
113
|
+
scroll(options?: ScrollToOptions | undefined): void;
|
|
114
|
+
scroll(x: number, y: number): void;
|
|
115
|
+
scrollBy(options?: ScrollToOptions | undefined): void;
|
|
116
|
+
scrollBy(x: number, y: number): void;
|
|
117
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions | undefined): void;
|
|
118
|
+
scrollTo(options?: ScrollToOptions | undefined): void;
|
|
119
|
+
scrollTo(x: number, y: number): void;
|
|
120
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
121
|
+
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
122
|
+
setAttributeNode(attr: Attr): Attr | null;
|
|
123
|
+
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
124
|
+
setPointerCapture(pointerId: number): void;
|
|
125
|
+
toggleAttribute(qualifiedName: string, force?: boolean | undefined): boolean;
|
|
126
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
127
|
+
readonly baseURI: string;
|
|
128
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
129
|
+
readonly firstChild: ChildNode | null;
|
|
130
|
+
readonly isConnected: boolean;
|
|
131
|
+
readonly lastChild: ChildNode | null;
|
|
132
|
+
readonly nextSibling: ChildNode | null;
|
|
133
|
+
readonly nodeName: string;
|
|
134
|
+
readonly nodeType: number;
|
|
135
|
+
nodeValue: string | null;
|
|
136
|
+
readonly parentElement: HTMLElement | null;
|
|
137
|
+
readonly parentNode: ParentNode | null;
|
|
138
|
+
readonly previousSibling: ChildNode | null;
|
|
139
|
+
textContent: string | null;
|
|
140
|
+
appendChild<T extends Node>(node: T): T;
|
|
141
|
+
cloneNode(deep?: boolean | undefined): Node;
|
|
142
|
+
compareDocumentPosition(other: Node): number;
|
|
143
|
+
contains(other: Node | null): boolean;
|
|
144
|
+
getRootNode(options?: GetRootNodeOptions | undefined): Node;
|
|
145
|
+
hasChildNodes(): boolean;
|
|
146
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
|
147
|
+
isDefaultNamespace(namespace: string | null): boolean;
|
|
148
|
+
isEqualNode(otherNode: Node | null): boolean;
|
|
149
|
+
isSameNode(otherNode: Node | null): boolean;
|
|
150
|
+
lookupNamespaceURI(prefix: string | null): string | null;
|
|
151
|
+
lookupPrefix(namespace: string | null): string | null;
|
|
152
|
+
normalize(): void;
|
|
153
|
+
removeChild<T_2 extends Node>(child: T_2): T_2;
|
|
154
|
+
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
|
|
155
|
+
readonly ELEMENT_NODE: 1;
|
|
156
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
157
|
+
readonly TEXT_NODE: 3;
|
|
158
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
159
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
160
|
+
readonly ENTITY_NODE: 6;
|
|
161
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
162
|
+
readonly COMMENT_NODE: 8;
|
|
163
|
+
readonly DOCUMENT_NODE: 9;
|
|
164
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
165
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
166
|
+
readonly NOTATION_NODE: 12;
|
|
167
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
168
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
169
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
170
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
171
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
172
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
173
|
+
dispatchEvent(event: Event): boolean;
|
|
174
|
+
ariaAtomic: string | null;
|
|
175
|
+
ariaAutoComplete: string | null;
|
|
176
|
+
ariaBusy: string | null;
|
|
177
|
+
ariaChecked: string | null;
|
|
178
|
+
ariaColCount: string | null;
|
|
179
|
+
ariaColIndex: string | null;
|
|
180
|
+
ariaColSpan: string | null;
|
|
181
|
+
ariaCurrent: string | null;
|
|
182
|
+
ariaDisabled: string | null;
|
|
183
|
+
ariaExpanded: string | null;
|
|
184
|
+
ariaHasPopup: string | null;
|
|
185
|
+
ariaHidden: string | null;
|
|
186
|
+
ariaInvalid: string | null;
|
|
187
|
+
ariaKeyShortcuts: string | null;
|
|
188
|
+
ariaLabel: string | null;
|
|
189
|
+
ariaLevel: string | null;
|
|
190
|
+
ariaLive: string | null;
|
|
191
|
+
ariaModal: string | null;
|
|
192
|
+
ariaMultiLine: string | null;
|
|
193
|
+
ariaMultiSelectable: string | null;
|
|
194
|
+
ariaOrientation: string | null;
|
|
195
|
+
ariaPlaceholder: string | null;
|
|
196
|
+
ariaPosInSet: string | null;
|
|
197
|
+
ariaPressed: string | null;
|
|
198
|
+
ariaReadOnly: string | null;
|
|
199
|
+
ariaRequired: string | null;
|
|
200
|
+
ariaRoleDescription: string | null;
|
|
201
|
+
ariaRowCount: string | null;
|
|
202
|
+
ariaRowIndex: string | null;
|
|
203
|
+
ariaRowSpan: string | null;
|
|
204
|
+
ariaSelected: string | null;
|
|
205
|
+
ariaSetSize: string | null;
|
|
206
|
+
ariaSort: string | null;
|
|
207
|
+
ariaValueMax: string | null;
|
|
208
|
+
ariaValueMin: string | null;
|
|
209
|
+
ariaValueNow: string | null;
|
|
210
|
+
ariaValueText: string | null;
|
|
211
|
+
role: string | null;
|
|
212
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined): Animation;
|
|
213
|
+
getAnimations(options?: GetAnimationsOptions | undefined): Animation[];
|
|
214
|
+
after(...nodes: (string | Node)[]): void;
|
|
215
|
+
before(...nodes: (string | Node)[]): void;
|
|
216
|
+
remove(): void;
|
|
217
|
+
replaceWith(...nodes: (string | Node)[]): void;
|
|
218
|
+
innerHTML: string;
|
|
219
|
+
readonly nextElementSibling: Element | null;
|
|
220
|
+
readonly previousElementSibling: Element | null;
|
|
221
|
+
readonly childElementCount: number;
|
|
222
|
+
readonly children: HTMLCollection;
|
|
223
|
+
readonly firstElementChild: Element | null;
|
|
224
|
+
readonly lastElementChild: Element | null;
|
|
225
|
+
append(...nodes: (string | Node)[]): void;
|
|
226
|
+
prepend(...nodes: (string | Node)[]): void;
|
|
227
|
+
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9] | null;
|
|
228
|
+
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10] | null;
|
|
229
|
+
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11] | null;
|
|
230
|
+
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12] | null;
|
|
231
|
+
querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
|
|
232
|
+
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
|
233
|
+
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
|
234
|
+
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
235
|
+
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
236
|
+
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
237
|
+
replaceChildren(...nodes: (string | Node)[]): void;
|
|
238
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
239
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
240
|
+
readonly style: CSSStyleDeclaration;
|
|
241
|
+
contentEditable: string;
|
|
242
|
+
enterKeyHint: string;
|
|
243
|
+
inputMode: string;
|
|
244
|
+
readonly isContentEditable: boolean;
|
|
245
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
246
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
247
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
248
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
249
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
250
|
+
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
251
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
252
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
253
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
254
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
255
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
256
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
257
|
+
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
258
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
259
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
260
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
261
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
262
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
263
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
264
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
265
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
266
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
267
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
268
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
269
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
270
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
271
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
272
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
273
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
274
|
+
onerror: OnErrorEventHandler;
|
|
275
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
276
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
277
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
278
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
279
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
280
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
281
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
282
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
283
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
284
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
285
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
286
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
287
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
288
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
289
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
290
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
291
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
292
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
293
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
294
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
295
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
296
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
297
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
298
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
299
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
300
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
301
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
302
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
303
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
304
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
305
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
306
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
307
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
|
|
308
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
309
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
310
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
311
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
312
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
313
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
314
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
315
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
316
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
317
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
318
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
319
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
320
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
321
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
322
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
323
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
324
|
+
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
325
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
326
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
327
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
328
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
329
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
330
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
331
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
332
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
333
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
334
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
335
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
336
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
337
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
338
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
339
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
340
|
+
autofocus: boolean;
|
|
341
|
+
readonly dataset: DOMStringMap;
|
|
342
|
+
nonce?: string | undefined;
|
|
343
|
+
tabIndex: number;
|
|
344
|
+
blur(): void;
|
|
345
|
+
focus(options?: FocusOptions | undefined): void;
|
|
346
|
+
};
|
|
347
|
+
readonly properties: {
|
|
348
|
+
isLoading: {
|
|
349
|
+
type: BooleanConstructor;
|
|
350
|
+
};
|
|
351
|
+
};
|
|
352
|
+
} & typeof LitElement;
|
|
353
|
+
/**
|
|
354
|
+
* Leavitt Group specific file explorer
|
|
355
|
+
*
|
|
356
|
+
* @element leavitt-file-explorer
|
|
357
|
+
*
|
|
358
|
+
* @cssprop {Color} [--leavitt-file-explorer-font-family='Roboto', 'Noto', sans-serif] - Font family
|
|
359
|
+
*
|
|
360
|
+
* @fires folder-added - Fired when a new folder is added.
|
|
361
|
+
* @fires folder-deleted - Fired when a folder is deleted.
|
|
362
|
+
* @fires file-added - Fired when a new file is added.
|
|
363
|
+
* @fires file-deleted - Fired when a file is deleted.
|
|
364
|
+
*/
|
|
365
|
+
export declare class LeavittFileExplorer extends LeavittFileExplorer_base {
|
|
366
|
+
#private;
|
|
367
|
+
/**
|
|
368
|
+
* This is required.
|
|
369
|
+
*/
|
|
370
|
+
accessor apiService: ApiService | null;
|
|
371
|
+
/**
|
|
372
|
+
* ID File explorer to display. This is required.
|
|
373
|
+
*/
|
|
374
|
+
accessor fileExplorerId: number;
|
|
375
|
+
/**
|
|
376
|
+
* Optional folder to show on first load rather than showing the root
|
|
377
|
+
*/
|
|
378
|
+
accessor folderId: number | null;
|
|
379
|
+
/**
|
|
380
|
+
* Prevents a user from navigating up the folder tree past the initially provided folderId.
|
|
381
|
+
*
|
|
382
|
+
* FolderId must be set for this to operate properly.
|
|
383
|
+
*/
|
|
384
|
+
accessor preventNavigationUp: boolean;
|
|
385
|
+
private get display();
|
|
386
|
+
private set display(value);
|
|
387
|
+
private accessor state;
|
|
388
|
+
private accessor isAdmin;
|
|
389
|
+
private accessor fileExplorer;
|
|
390
|
+
private accessor files;
|
|
391
|
+
private accessor folders;
|
|
392
|
+
private accessor path;
|
|
393
|
+
private accessor selected;
|
|
394
|
+
private accessor uploadMenu;
|
|
395
|
+
private accessor folderDialog;
|
|
396
|
+
private accessor addFolderDialog;
|
|
397
|
+
private accessor fileDialog;
|
|
398
|
+
private accessor fileInput;
|
|
399
|
+
private accessor folderInput;
|
|
400
|
+
private accessor confirmDialog;
|
|
401
|
+
firstUpdated(): void;
|
|
402
|
+
updated(changedProps: PropertyValues<this>): Promise<void>;
|
|
403
|
+
/**
|
|
404
|
+
* Refetches current file explorer data and re-renders
|
|
405
|
+
*/
|
|
406
|
+
reload(): Promise<void>;
|
|
407
|
+
static styles: import("lit").CSSResult[];
|
|
408
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
409
|
+
}
|
|
410
|
+
export {};
|
|
411
|
+
//# sourceMappingURL=file-explorer.d.ts.map
|