@brftech/filex-core 0.18.2 → 0.20.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/README.md +34 -4
- package/dist/filex-core.js +10626 -6501
- package/dist/filex-core.js.map +1 -1
- package/dist/filex-core.umd.cjs +94 -63
- package/dist/filex-core.umd.cjs.map +1 -1
- package/dist/index.d.ts +1026 -7
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/src/FileExplorer.vue +103 -68
- package/src/components/ConnectionGuideView.vue +333 -0
- package/src/components/ConnectionsPanel.vue +912 -0
- package/src/components/NFSExportsPanel.vue +283 -0
- package/src/components/S3KeysPanel.vue +381 -0
- package/src/components/SSHKeysPanel.vue +222 -0
- package/src/components/StorageFields.vue +362 -0
- package/src/components/TokensPanel.vue +191 -0
- package/src/components/UploadProgress.vue +5 -1
- package/src/composables/useConnections.ts +271 -0
- package/src/composables/useFileApi.ts +15 -2
- package/src/composables/useNFSExports.ts +148 -0
- package/src/composables/useS3Keys.ts +175 -0
- package/src/composables/useSSHKeys.ts +119 -0
- package/src/composables/useThumbs.ts +1 -1
- package/src/composables/useTokens.ts +121 -0
- package/src/composables/useUploadChunked.ts +433 -164
- package/src/index.ts +77 -2
- package/src/lib/connectionGuides.ts +1279 -0
- package/src/lib/realtime.ts +1 -1
- package/src/lib/uploadResume.ts +157 -0
- package/src/locales/en.ts +413 -0
- package/src/locales/tr.ts +416 -0
- package/src/modals/ConvertModal.vue +1 -1
- package/src/styles/base.css +12 -12
- package/src/types/Connections.ts +122 -0
- package/src/types/ExplorerConfig.ts +23 -2
- package/src/types/NFSExports.ts +47 -0
- package/src/types/S3Keys.ts +55 -0
- package/src/types/SSHKeys.ts +54 -0
- package/src/types/Tokens.ts +39 -0
package/src/index.ts
CHANGED
|
@@ -62,8 +62,25 @@ export type { GlobalSearchHit, GlobalSearchScope } from './composables/useFileAp
|
|
|
62
62
|
export { snippetSegments, matchedInContent } from './lib/snippet';
|
|
63
63
|
export type { SnippetSegment, SearchMatched } from './lib/snippet';
|
|
64
64
|
|
|
65
|
-
export { useUploadChunked } from './composables/useUploadChunked';
|
|
66
|
-
export type {
|
|
65
|
+
export { useUploadChunked, isStagedUnsupported } from './composables/useUploadChunked';
|
|
66
|
+
export type {
|
|
67
|
+
UploadJob,
|
|
68
|
+
UploadOptions,
|
|
69
|
+
UploadResult,
|
|
70
|
+
} from './composables/useUploadChunked';
|
|
71
|
+
|
|
72
|
+
/* Resumable-upload bookmarks — a host can list or discard unfinished uploads
|
|
73
|
+
(e.g. an "unfinished uploads" panel) without reimplementing the store. */
|
|
74
|
+
export {
|
|
75
|
+
uploadFingerprint,
|
|
76
|
+
listResume,
|
|
77
|
+
loadResume,
|
|
78
|
+
clearResume,
|
|
79
|
+
pruneResume,
|
|
80
|
+
defaultResumeStorage,
|
|
81
|
+
RESUME_TTL_MS,
|
|
82
|
+
} from './lib/uploadResume';
|
|
83
|
+
export type { ResumeRecord, ResumeStorage } from './lib/uploadResume';
|
|
67
84
|
|
|
68
85
|
export { useSelection } from './composables/useSelection';
|
|
69
86
|
export { useKeyboardShortcuts } from './composables/useKeyboardShortcuts';
|
|
@@ -154,3 +171,61 @@ export {
|
|
|
154
171
|
export type { E2eMarker, E2eKeyRing } from './lib/e2ecrypto';
|
|
155
172
|
export { default as EncryptedFolderModal } from './components/EncryptedFolderModal.vue';
|
|
156
173
|
/* /wiring:e2 */
|
|
174
|
+
|
|
175
|
+
/* ── connections ────────────────────────────────────────────────────
|
|
176
|
+
Storage connections and "how to connect", as ONE implementation for
|
|
177
|
+
every surface. The desktop app mounts <filex-connections> (the web
|
|
178
|
+
component wrapper around this), the admin SPA mounts the SFC, embeds
|
|
179
|
+
can do either — and none of them owns a copy of the form. */
|
|
180
|
+
export { default as ConnectionsPanel } from './components/ConnectionsPanel.vue';
|
|
181
|
+
export { default as StorageFields } from './components/StorageFields.vue';
|
|
182
|
+
export { default as ConnectionGuideView } from './components/ConnectionGuideView.vue';
|
|
183
|
+
export { default as S3KeysPanel } from './components/S3KeysPanel.vue';
|
|
184
|
+
export { default as SSHKeysPanel } from './components/SSHKeysPanel.vue';
|
|
185
|
+
export { default as NFSExportsPanel } from './components/NFSExportsPanel.vue';
|
|
186
|
+
export { default as TokensPanel } from './components/TokensPanel.vue';
|
|
187
|
+
export { useS3Keys } from './composables/useS3Keys';
|
|
188
|
+
export { useSSHKeys } from './composables/useSSHKeys';
|
|
189
|
+
export { useNFSExports } from './composables/useNFSExports';
|
|
190
|
+
export { useTokens } from './composables/useTokens';
|
|
191
|
+
export type { S3AccessKey, S3Connection, S3KeyCreated, S3KeyRequest } from './types/S3Keys';
|
|
192
|
+
export type { SSHPublicKey, SSHConnection } from './types/SSHKeys';
|
|
193
|
+
export type { NFSExport, NFSConnection, NFSExportCreated } from './types/NFSExports';
|
|
194
|
+
export type { ApiToken, ApiTokenCreated, ApiTokenRequest } from './types/Tokens';
|
|
195
|
+
export { useConnections, connectionsBase, connectionsOrigin } from './composables/useConnections';
|
|
196
|
+
export type { ConnectionsApi } from './composables/useConnections';
|
|
197
|
+
export {
|
|
198
|
+
GUIDE_BUILDERS,
|
|
199
|
+
buildGuide,
|
|
200
|
+
buildWebdavGuide,
|
|
201
|
+
buildS3Guide,
|
|
202
|
+
buildSftpGuide,
|
|
203
|
+
buildFtpsGuide,
|
|
204
|
+
buildNfsGuide,
|
|
205
|
+
guideProtocols,
|
|
206
|
+
hostOf,
|
|
207
|
+
isPlainHttp,
|
|
208
|
+
} from './lib/connectionGuides';
|
|
209
|
+
export type {
|
|
210
|
+
GuideBlock,
|
|
211
|
+
GuideBlockKind,
|
|
212
|
+
GuideBuilder,
|
|
213
|
+
GuideClient,
|
|
214
|
+
GuideContext,
|
|
215
|
+
GuideFact,
|
|
216
|
+
ProtocolGuide,
|
|
217
|
+
Translate,
|
|
218
|
+
} from './lib/connectionGuides';
|
|
219
|
+
export type {
|
|
220
|
+
ConnectionsUser,
|
|
221
|
+
ManageDenial,
|
|
222
|
+
StorageDriverCapabilities,
|
|
223
|
+
StorageDriverDescriptor,
|
|
224
|
+
StorageField,
|
|
225
|
+
StorageFieldOption,
|
|
226
|
+
StorageFieldType,
|
|
227
|
+
StorageRow,
|
|
228
|
+
StorageTestResult,
|
|
229
|
+
StorageWrite,
|
|
230
|
+
} from './types/Connections';
|
|
231
|
+
/* /connections */
|