@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 @@
|
|
|
1
|
+
{"version":3,"file":"file-modal.js","sourceRoot":"","sources":["file-modal.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1E,OAAO,6BAA6B,CAAC;AACrC,OAAO,yBAAyB,CAAC;AACjC,OAAO,sCAAsC,CAAC;AAC9C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,2CAA2C,CAAC;AACnD,OAAO,oCAAoC,CAAC;AAE5C,OAAO,KAAK,MAAM,WAAW,CAAC;AAE9B,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAChF,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AACxE,OAAO,kBAAkB,MAAM,+BAA+B,CAAC;AAK/D,OAAO,EAAE,y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AAE,IAAI,EAAE,OAAO,EAAE,CAAC;8CAAyC;AAE3C;IAAzB,KAAK,EAAE;sCAAkD;AAChC;IAAzB,KAAK,EAAE;qCAA0D;AACxC;IAAzB,KAAK,EAAE;0CAA6C;AAC3B;IAAzB,KAAK,EAAE;6CAAgD;AAC9B;IAAzB,KAAK,EAAE;yCAAmC;AACN;IAApC,KAAK,CAAC,WAAW,CAAC;uCAAoC;AAT5C,SAAS;IADrB,aAAa,CAAC,oBAAoB,CAAC;GACvB,SAAS,CA2QrB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '@material/web/icon/icon';
|
|
3
|
+
import '@material/web/focus/md-focus-ring';
|
|
4
|
+
import { FileExplorerFolderDto } from '@leavittsoftware/lg-core-typescript';
|
|
5
|
+
export declare class FolderListItem extends LitElement {
|
|
6
|
+
#private;
|
|
7
|
+
accessor folder: FileExplorerFolderDto;
|
|
8
|
+
accessor selected: boolean;
|
|
9
|
+
accessor selectedCount: number;
|
|
10
|
+
accessor display: 'grid' | 'list';
|
|
11
|
+
static styles: import("lit").CSSResult;
|
|
12
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=folder-list-item.d.ts.map
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { css, html, LitElement, nothing } from 'lit';
|
|
3
|
+
import { customElement, property } from 'lit/decorators.js';
|
|
4
|
+
import '@material/web/icon/icon';
|
|
5
|
+
import '@material/web/focus/md-focus-ring';
|
|
6
|
+
import dayjs from 'dayjs/esm';
|
|
7
|
+
let FolderListItem = class FolderListItem extends LitElement {
|
|
8
|
+
#folder_accessor_storage;
|
|
9
|
+
get folder() { return this.#folder_accessor_storage; }
|
|
10
|
+
set folder(value) { this.#folder_accessor_storage = value; }
|
|
11
|
+
#selected_accessor_storage = false;
|
|
12
|
+
get selected() { return this.#selected_accessor_storage; }
|
|
13
|
+
set selected(value) { this.#selected_accessor_storage = value; }
|
|
14
|
+
#selectedCount_accessor_storage = 0;
|
|
15
|
+
get selectedCount() { return this.#selectedCount_accessor_storage; }
|
|
16
|
+
set selectedCount(value) { this.#selectedCount_accessor_storage = value; }
|
|
17
|
+
#display_accessor_storage = 'grid';
|
|
18
|
+
get display() { return this.#display_accessor_storage; }
|
|
19
|
+
set display(value) { this.#display_accessor_storage = value; }
|
|
20
|
+
#kFormatter(num) {
|
|
21
|
+
return Math.abs(num) > 999 ? Math.floor((Math.sign(num) * Math.round(Math.abs(num) / 100)) / 10) + 'k+' : Math.sign(num) * Math.abs(num);
|
|
22
|
+
}
|
|
23
|
+
static { this.styles = css `
|
|
24
|
+
:host {
|
|
25
|
+
display: grid;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
button {
|
|
29
|
+
display: grid;
|
|
30
|
+
background-color: inherit;
|
|
31
|
+
grid: 'name date size' / 1fr 100px 100px;
|
|
32
|
+
gap: 12px;
|
|
33
|
+
padding: 12px 24px;
|
|
34
|
+
font-size: 14px;
|
|
35
|
+
border: none;
|
|
36
|
+
border-bottom: 1px solid var(--md-sys-color-outline-variant);
|
|
37
|
+
align-content: center;
|
|
38
|
+
align-items: center;
|
|
39
|
+
position: relative;
|
|
40
|
+
outline: none;
|
|
41
|
+
color: inherit;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
:host([display='grid'][selected]) button {
|
|
45
|
+
border-color: transparent;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
:host([selected]) button {
|
|
49
|
+
background-color: var(--md-sys-color-secondary-container);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:host([display='grid']) button {
|
|
53
|
+
border: 1px solid var(--md-sys-color-outline-variant);
|
|
54
|
+
border-radius: 16px;
|
|
55
|
+
padding: 0;
|
|
56
|
+
max-height: 166px;
|
|
57
|
+
grid: 'name' auto;
|
|
58
|
+
gap: 0;
|
|
59
|
+
align-content: inherit;
|
|
60
|
+
align-items: inherit;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/* Focus ring */
|
|
64
|
+
md-focus-ring {
|
|
65
|
+
--md-focus-ring-shape: 0;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
:host([display='grid']) md-focus-ring {
|
|
69
|
+
--md-focus-ring-shape: 16px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/* File name */
|
|
73
|
+
folder-name {
|
|
74
|
+
grid-area: name;
|
|
75
|
+
display: grid;
|
|
76
|
+
grid: 'icon name' / auto 1fr;
|
|
77
|
+
gap: 8px;
|
|
78
|
+
|
|
79
|
+
align-items: center;
|
|
80
|
+
font-weight: 500;
|
|
81
|
+
|
|
82
|
+
min-width: 0;
|
|
83
|
+
|
|
84
|
+
user-select: none;
|
|
85
|
+
-webkit-user-select: none;
|
|
86
|
+
-moz-user-select: none;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
:host([display='grid']) folder-name {
|
|
90
|
+
padding: 12px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
folder-name md-icon {
|
|
94
|
+
grid-area: icon;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
folder-name span[name] {
|
|
98
|
+
grid-area: name;
|
|
99
|
+
text-align: left;
|
|
100
|
+
white-space: nowrap;
|
|
101
|
+
overflow: hidden;
|
|
102
|
+
text-overflow: ellipsis;
|
|
103
|
+
flex: 1 1 auto;
|
|
104
|
+
min-width: 20px;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
span[date] {
|
|
108
|
+
grid-area: date;
|
|
109
|
+
text-align: center;
|
|
110
|
+
|
|
111
|
+
user-select: none;
|
|
112
|
+
-webkit-user-select: none;
|
|
113
|
+
-moz-user-select: none;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
span[size] {
|
|
117
|
+
grid-area: size;
|
|
118
|
+
text-align: right;
|
|
119
|
+
|
|
120
|
+
user-select: none;
|
|
121
|
+
-webkit-user-select: none;
|
|
122
|
+
-moz-user-select: none;
|
|
123
|
+
}
|
|
124
|
+
`; }
|
|
125
|
+
render() {
|
|
126
|
+
return html ` <button
|
|
127
|
+
tabindex="0"
|
|
128
|
+
aria-label=${this.folder.Name}
|
|
129
|
+
title="${this.folder.Name ?? ''}
|
|
130
|
+
${this.folder.FilesCount} file${this.folder.FilesCount === 1 ? '' : 's'}, ${this.folder.FoldersCount} folder${this.folder.FoldersCount === 1 ? '' : 's'}"
|
|
131
|
+
@dblclick=${(e) => {
|
|
132
|
+
e.preventDefault();
|
|
133
|
+
if (this.selectedCount === 0) {
|
|
134
|
+
this.dispatchEvent(new Event('navigate'));
|
|
135
|
+
}
|
|
136
|
+
}}
|
|
137
|
+
@click=${(e) => {
|
|
138
|
+
e.stopPropagation();
|
|
139
|
+
this.dispatchEvent(new Event('toggle-selected'));
|
|
140
|
+
}}
|
|
141
|
+
@keydown=${(e) => {
|
|
142
|
+
if (e.key === 'Enter') {
|
|
143
|
+
e.preventDefault();
|
|
144
|
+
if (this.selectedCount === 0) {
|
|
145
|
+
this.dispatchEvent(new Event('navigate'));
|
|
146
|
+
}
|
|
147
|
+
else {
|
|
148
|
+
this.dispatchEvent(new Event('toggle-selected'));
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
if (e.key == ' ') {
|
|
152
|
+
e.preventDefault();
|
|
153
|
+
this.dispatchEvent(new Event('toggle-selected'));
|
|
154
|
+
}
|
|
155
|
+
}}
|
|
156
|
+
>
|
|
157
|
+
<md-focus-ring ?inward=${this.display === 'list'}></md-focus-ring>
|
|
158
|
+
<folder-name>
|
|
159
|
+
<span name>${this.folder.Name}</span>
|
|
160
|
+
<md-icon>${this.display === 'list' && this.selected ? 'check' : 'folder_open'}</md-icon>
|
|
161
|
+
</folder-name>
|
|
162
|
+
|
|
163
|
+
${this.display === 'list'
|
|
164
|
+
? html `
|
|
165
|
+
<span date>${dayjs(this.folder.CreatedDate).format('MMM D, YYYY')}</span>
|
|
166
|
+
<span size>${this.#kFormatter(this.folder.FilesCount ?? 0) || '0'} file${this.folder.FilesCount === 1 ? '' : 's'}</span>
|
|
167
|
+
`
|
|
168
|
+
: nothing}
|
|
169
|
+
</button>`;
|
|
170
|
+
}
|
|
171
|
+
};
|
|
172
|
+
__decorate([
|
|
173
|
+
property({ type: Object })
|
|
174
|
+
], FolderListItem.prototype, "folder", null);
|
|
175
|
+
__decorate([
|
|
176
|
+
property({ type: Boolean, reflect: true })
|
|
177
|
+
], FolderListItem.prototype, "selected", null);
|
|
178
|
+
__decorate([
|
|
179
|
+
property({ type: Number })
|
|
180
|
+
], FolderListItem.prototype, "selectedCount", null);
|
|
181
|
+
__decorate([
|
|
182
|
+
property({ type: String, reflect: true, attribute: 'display' })
|
|
183
|
+
], FolderListItem.prototype, "display", null);
|
|
184
|
+
FolderListItem = __decorate([
|
|
185
|
+
customElement('folder-list-item')
|
|
186
|
+
], FolderListItem);
|
|
187
|
+
export { FolderListItem };
|
|
188
|
+
//# sourceMappingURL=folder-list-item.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"folder-list-item.js","sourceRoot":"","sources":["folder-list-item.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE5D,OAAO,yBAAyB,CAAC;AACjC,OAAO,mCAAmC,CAAC;AAE3C,OAAO,KAAK,MAAM,WAAW,CAAC;AAIvB,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,UAAU;IACP,yBAA8B;IAA9B,IAAA,MAAM,4CAAwB;IAA9B,IAAA,MAAM,kDAAwB;IACd,6BAAoB,KAAK,CAAC;IAA1B,IAAA,QAAQ,8CAAkB;IAA1B,IAAA,QAAQ,oDAAkB;IAC1C,kCAAwB,CAAC,CAAC;IAA1B,IAAA,aAAa,mDAAa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I,CAAC,MAAM,CAAC,UAAU,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG;WACjH;YACH,CAAC,CAAC,OAAO;cACH,CAAC;IACb,CAAC;;AA5JoC;IAApC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4CAAwC;AACd;IAApD,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;8CAAoC;AAC1C;IAApC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;mDAAoC;AACW;IAAzE,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC;6CAA4C;AAJjG,cAAc;IAD1B,aAAa,CAAC,kBAAkB,CAAC;GACrB,cAAc,CA8J1B"}
|
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '@material/web/dialog/dialog';
|
|
3
|
+
import '@material/web/icon/icon';
|
|
4
|
+
import '@material/web/iconbutton/icon-button';
|
|
5
|
+
import '@material/web/button/text-button';
|
|
6
|
+
import '@material/web/textfield/filled-text-field';
|
|
7
|
+
import '../profile-picture/profile-picture';
|
|
8
|
+
import { FileExplorerFolderDto } from '@leavittsoftware/lg-core-typescript';
|
|
9
|
+
import ApiService from '../api-service/api-service';
|
|
10
|
+
declare const FolderModal_base: {
|
|
11
|
+
new (...args: any[]): {
|
|
12
|
+
"__#3@#promiseCount": number;
|
|
13
|
+
isLoading: boolean;
|
|
14
|
+
loadWhile(promise: Promise<unknown>): Promise<void>;
|
|
15
|
+
accessKey: string;
|
|
16
|
+
readonly accessKeyLabel: string;
|
|
17
|
+
autocapitalize: string;
|
|
18
|
+
dir: string;
|
|
19
|
+
draggable: boolean;
|
|
20
|
+
hidden: boolean;
|
|
21
|
+
inert: boolean;
|
|
22
|
+
innerText: string;
|
|
23
|
+
lang: string;
|
|
24
|
+
readonly offsetHeight: number;
|
|
25
|
+
readonly offsetLeft: number;
|
|
26
|
+
readonly offsetParent: Element | null;
|
|
27
|
+
readonly offsetTop: number;
|
|
28
|
+
readonly offsetWidth: number;
|
|
29
|
+
outerText: string;
|
|
30
|
+
popover: string | null;
|
|
31
|
+
spellcheck: boolean;
|
|
32
|
+
title: string;
|
|
33
|
+
translate: boolean;
|
|
34
|
+
attachInternals(): ElementInternals;
|
|
35
|
+
click(): void;
|
|
36
|
+
hidePopover(): void;
|
|
37
|
+
showPopover(): void;
|
|
38
|
+
togglePopover(force?: boolean | undefined): void;
|
|
39
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
40
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
41
|
+
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
42
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
43
|
+
floatingLabelFoundation?: import("@material/floating-label/foundation").MDCFloatingLabelFoundation | undefined;
|
|
44
|
+
lineRippleFoundation?: import("@material/line-ripple/foundation").MDCLineRippleFoundation | undefined;
|
|
45
|
+
readonly attributes: NamedNodeMap;
|
|
46
|
+
readonly classList: DOMTokenList;
|
|
47
|
+
className: string;
|
|
48
|
+
readonly clientHeight: number;
|
|
49
|
+
readonly clientLeft: number;
|
|
50
|
+
readonly clientTop: number;
|
|
51
|
+
readonly clientWidth: number;
|
|
52
|
+
id: string;
|
|
53
|
+
readonly localName: string;
|
|
54
|
+
readonly namespaceURI: string | null;
|
|
55
|
+
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
56
|
+
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
57
|
+
outerHTML: string;
|
|
58
|
+
readonly ownerDocument: Document;
|
|
59
|
+
readonly part: DOMTokenList;
|
|
60
|
+
readonly prefix: string | null;
|
|
61
|
+
readonly scrollHeight: number;
|
|
62
|
+
scrollLeft: number;
|
|
63
|
+
scrollTop: number;
|
|
64
|
+
readonly scrollWidth: number;
|
|
65
|
+
readonly shadowRoot: ShadowRoot | null;
|
|
66
|
+
slot: string;
|
|
67
|
+
readonly tagName: string;
|
|
68
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
69
|
+
checkVisibility(options?: CheckVisibilityOptions | undefined): boolean;
|
|
70
|
+
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
|
|
71
|
+
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
|
|
72
|
+
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4] | null;
|
|
73
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
74
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
75
|
+
getAttribute(qualifiedName: string): string | null;
|
|
76
|
+
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
77
|
+
getAttributeNames(): string[];
|
|
78
|
+
getAttributeNode(qualifiedName: string): Attr | null;
|
|
79
|
+
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
80
|
+
getBoundingClientRect(): DOMRect;
|
|
81
|
+
getClientRects(): DOMRectList;
|
|
82
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
83
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
|
84
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
|
85
|
+
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
86
|
+
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
87
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
88
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
89
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
90
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
91
|
+
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
92
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
93
|
+
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
94
|
+
hasAttributes(): boolean;
|
|
95
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
96
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
97
|
+
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
98
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
99
|
+
matches(selectors: string): boolean;
|
|
100
|
+
releasePointerCapture(pointerId: number): void;
|
|
101
|
+
removeAttribute(qualifiedName: string): void;
|
|
102
|
+
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
103
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
104
|
+
requestFullscreen(options?: FullscreenOptions | undefined): Promise<void>;
|
|
105
|
+
requestPointerLock(): void;
|
|
106
|
+
scroll(options?: ScrollToOptions | undefined): void;
|
|
107
|
+
scroll(x: number, y: number): void;
|
|
108
|
+
scrollBy(options?: ScrollToOptions | undefined): void;
|
|
109
|
+
scrollBy(x: number, y: number): void;
|
|
110
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions | undefined): void;
|
|
111
|
+
scrollTo(options?: ScrollToOptions | undefined): void;
|
|
112
|
+
scrollTo(x: number, y: number): void;
|
|
113
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
114
|
+
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
115
|
+
setAttributeNode(attr: Attr): Attr | null;
|
|
116
|
+
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
117
|
+
setPointerCapture(pointerId: number): void;
|
|
118
|
+
toggleAttribute(qualifiedName: string, force?: boolean | undefined): boolean;
|
|
119
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
120
|
+
readonly baseURI: string;
|
|
121
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
122
|
+
readonly firstChild: ChildNode | null;
|
|
123
|
+
readonly isConnected: boolean;
|
|
124
|
+
readonly lastChild: ChildNode | null;
|
|
125
|
+
readonly nextSibling: ChildNode | null;
|
|
126
|
+
readonly nodeName: string;
|
|
127
|
+
readonly nodeType: number;
|
|
128
|
+
nodeValue: string | null;
|
|
129
|
+
readonly parentElement: HTMLElement | null;
|
|
130
|
+
readonly parentNode: ParentNode | null;
|
|
131
|
+
readonly previousSibling: ChildNode | null;
|
|
132
|
+
textContent: string | null;
|
|
133
|
+
appendChild<T extends Node>(node: T): T;
|
|
134
|
+
cloneNode(deep?: boolean | undefined): Node;
|
|
135
|
+
compareDocumentPosition(other: Node): number;
|
|
136
|
+
contains(other: Node | null): boolean;
|
|
137
|
+
getRootNode(options?: GetRootNodeOptions | undefined): Node;
|
|
138
|
+
hasChildNodes(): boolean;
|
|
139
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
|
140
|
+
isDefaultNamespace(namespace: string | null): boolean;
|
|
141
|
+
isEqualNode(otherNode: Node | null): boolean;
|
|
142
|
+
isSameNode(otherNode: Node | null): boolean;
|
|
143
|
+
lookupNamespaceURI(prefix: string | null): string | null;
|
|
144
|
+
lookupPrefix(namespace: string | null): string | null;
|
|
145
|
+
normalize(): void;
|
|
146
|
+
removeChild<T_2 extends Node>(child: T_2): T_2;
|
|
147
|
+
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
|
|
148
|
+
readonly ELEMENT_NODE: 1;
|
|
149
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
150
|
+
readonly TEXT_NODE: 3;
|
|
151
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
152
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
153
|
+
readonly ENTITY_NODE: 6;
|
|
154
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
155
|
+
readonly COMMENT_NODE: 8;
|
|
156
|
+
readonly DOCUMENT_NODE: 9;
|
|
157
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
158
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
159
|
+
readonly NOTATION_NODE: 12;
|
|
160
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
161
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
162
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
163
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
164
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
165
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
166
|
+
dispatchEvent(event: Event): boolean;
|
|
167
|
+
ariaAtomic: string | null;
|
|
168
|
+
ariaAutoComplete: string | null;
|
|
169
|
+
ariaBusy: string | null;
|
|
170
|
+
ariaChecked: string | null;
|
|
171
|
+
ariaColCount: string | null;
|
|
172
|
+
ariaColIndex: string | null;
|
|
173
|
+
ariaColSpan: string | null;
|
|
174
|
+
ariaCurrent: string | null;
|
|
175
|
+
ariaDisabled: string | null;
|
|
176
|
+
ariaExpanded: string | null;
|
|
177
|
+
ariaHasPopup: string | null;
|
|
178
|
+
ariaHidden: string | null;
|
|
179
|
+
ariaInvalid: string | null;
|
|
180
|
+
ariaKeyShortcuts: string | null;
|
|
181
|
+
ariaLabel: string | null;
|
|
182
|
+
ariaLevel: string | null;
|
|
183
|
+
ariaLive: string | null;
|
|
184
|
+
ariaModal: string | null;
|
|
185
|
+
ariaMultiLine: string | null;
|
|
186
|
+
ariaMultiSelectable: string | null;
|
|
187
|
+
ariaOrientation: string | null;
|
|
188
|
+
ariaPlaceholder: string | null;
|
|
189
|
+
ariaPosInSet: string | null;
|
|
190
|
+
ariaPressed: string | null;
|
|
191
|
+
ariaReadOnly: string | null;
|
|
192
|
+
ariaRequired: string | null;
|
|
193
|
+
ariaRoleDescription: string | null;
|
|
194
|
+
ariaRowCount: string | null;
|
|
195
|
+
ariaRowIndex: string | null;
|
|
196
|
+
ariaRowSpan: string | null;
|
|
197
|
+
ariaSelected: string | null;
|
|
198
|
+
ariaSetSize: string | null;
|
|
199
|
+
ariaSort: string | null;
|
|
200
|
+
ariaValueMax: string | null;
|
|
201
|
+
ariaValueMin: string | null;
|
|
202
|
+
ariaValueNow: string | null;
|
|
203
|
+
ariaValueText: string | null;
|
|
204
|
+
role: string | null;
|
|
205
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined): Animation;
|
|
206
|
+
getAnimations(options?: GetAnimationsOptions | undefined): Animation[];
|
|
207
|
+
after(...nodes: (string | Node)[]): void;
|
|
208
|
+
before(...nodes: (string | Node)[]): void;
|
|
209
|
+
remove(): void;
|
|
210
|
+
replaceWith(...nodes: (string | Node)[]): void;
|
|
211
|
+
innerHTML: string;
|
|
212
|
+
readonly nextElementSibling: Element | null;
|
|
213
|
+
readonly previousElementSibling: Element | null;
|
|
214
|
+
readonly childElementCount: number;
|
|
215
|
+
readonly children: HTMLCollection;
|
|
216
|
+
readonly firstElementChild: Element | null;
|
|
217
|
+
readonly lastElementChild: Element | null;
|
|
218
|
+
append(...nodes: (string | Node)[]): void;
|
|
219
|
+
prepend(...nodes: (string | Node)[]): void;
|
|
220
|
+
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9] | null;
|
|
221
|
+
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10] | null;
|
|
222
|
+
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11] | null;
|
|
223
|
+
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12] | null;
|
|
224
|
+
querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
|
|
225
|
+
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
|
226
|
+
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
|
227
|
+
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
228
|
+
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
229
|
+
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
230
|
+
replaceChildren(...nodes: (string | Node)[]): void;
|
|
231
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
232
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
233
|
+
readonly style: CSSStyleDeclaration;
|
|
234
|
+
contentEditable: string;
|
|
235
|
+
enterKeyHint: string;
|
|
236
|
+
inputMode: string;
|
|
237
|
+
readonly isContentEditable: boolean;
|
|
238
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
239
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
240
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
241
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
242
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
243
|
+
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
244
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
245
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
246
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
247
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
248
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
249
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
250
|
+
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
251
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
252
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
253
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
254
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
255
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
256
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
257
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
258
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
259
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
260
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
261
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
262
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
263
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
264
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
265
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
266
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
267
|
+
onerror: OnErrorEventHandler;
|
|
268
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
269
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
270
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
271
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
272
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
273
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
274
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
275
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
276
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
277
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
278
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
279
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
280
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
281
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
282
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
283
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
284
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
285
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
286
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
287
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
288
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
289
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
290
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
291
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
292
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
293
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
294
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
295
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
296
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
297
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
298
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
299
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
300
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
|
|
301
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
302
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
303
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
304
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
305
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
306
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
307
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
308
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
309
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
310
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
311
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
312
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
313
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
314
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
315
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
316
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
317
|
+
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
318
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
319
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
320
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
321
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
322
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
323
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
324
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
325
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
326
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
327
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
328
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
329
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
330
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
331
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
332
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
333
|
+
autofocus: boolean;
|
|
334
|
+
readonly dataset: DOMStringMap;
|
|
335
|
+
nonce?: string | undefined;
|
|
336
|
+
tabIndex: number;
|
|
337
|
+
blur(): void;
|
|
338
|
+
focus(options?: FocusOptions | undefined): void;
|
|
339
|
+
};
|
|
340
|
+
readonly properties: {
|
|
341
|
+
isLoading: {
|
|
342
|
+
type: BooleanConstructor;
|
|
343
|
+
};
|
|
344
|
+
};
|
|
345
|
+
} & typeof LitElement;
|
|
346
|
+
export declare class FolderModal extends FolderModal_base {
|
|
347
|
+
#private;
|
|
348
|
+
accessor apiService: ApiService | null;
|
|
349
|
+
accessor enableEditing: boolean;
|
|
350
|
+
private accessor state;
|
|
351
|
+
private accessor folder;
|
|
352
|
+
private accessor folderName;
|
|
353
|
+
private accessor dialog;
|
|
354
|
+
firstUpdated(): void;
|
|
355
|
+
open(folder: FileExplorerFolderDto): void;
|
|
356
|
+
static styles: (import("lit").CSSResult | import("lit").CSSResult[])[];
|
|
357
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
358
|
+
}
|
|
359
|
+
export {};
|
|
360
|
+
//# sourceMappingURL=folder-modal.d.ts.map
|