@scaleflex/uploader 0.1.0 → 0.2.1

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.
Files changed (60) hide show
  1. package/CHANGELOG.md +38 -1
  2. package/README.md +1 -1
  3. package/dist/auth/auth.service.d.ts +1 -1
  4. package/dist/auth/auth.types.d.ts +1 -9
  5. package/dist/auth/auth.types.d.ts.map +1 -1
  6. package/dist/auth/index.d.ts +1 -1
  7. package/dist/auth/index.d.ts.map +1 -1
  8. package/dist/components/actions-bar.d.ts +4 -1
  9. package/dist/components/actions-bar.d.ts.map +1 -1
  10. package/dist/components/camera-dialog.d.ts +2 -1
  11. package/dist/components/camera-dialog.d.ts.map +1 -1
  12. package/dist/components/drop-zone.d.ts +17 -0
  13. package/dist/components/drop-zone.d.ts.map +1 -1
  14. package/dist/components/file-item.d.ts.map +1 -1
  15. package/dist/components/file-list.d.ts.map +1 -1
  16. package/dist/components/provider-browser.d.ts +1 -0
  17. package/dist/components/provider-browser.d.ts.map +1 -1
  18. package/dist/components/screen-cast-dialog.d.ts +2 -1
  19. package/dist/components/screen-cast-dialog.d.ts.map +1 -1
  20. package/dist/components/shared-styles.d.ts +5 -0
  21. package/dist/components/shared-styles.d.ts.map +1 -0
  22. package/dist/components/source-pills.d.ts.map +1 -1
  23. package/dist/components/success-card.d.ts +3 -1
  24. package/dist/components/success-card.d.ts.map +1 -1
  25. package/dist/components/url-dialog.d.ts +2 -2
  26. package/dist/components/url-dialog.d.ts.map +1 -1
  27. package/dist/connectors/provider-registry.d.ts.map +1 -1
  28. package/dist/define.cjs +1 -1
  29. package/dist/define.js +1 -1
  30. package/dist/engine/upload-engine.d.ts.map +1 -1
  31. package/dist/events/public-events.d.ts +1 -3
  32. package/dist/events/public-events.d.ts.map +1 -1
  33. package/dist/index.cjs +1 -1
  34. package/dist/index.d.ts +1 -1
  35. package/dist/index.d.ts.map +1 -1
  36. package/dist/index.js +1 -1
  37. package/dist/{provider-browser-C-S_MPrC.js → provider-browser-ixqCA0XP.js} +430 -185
  38. package/dist/provider-browser-yW3pZFSP.cjs +820 -0
  39. package/dist/{search-provider-browser-jCOer2Y9.js → search-provider-browser-B5ZWGUl8.js} +30 -30
  40. package/dist/{search-provider-browser-DxmLznEB.cjs → search-provider-browser-BrKVwGf_.cjs} +29 -29
  41. package/dist/sfx-uploader-CU9IwNC7.js +5384 -0
  42. package/dist/sfx-uploader-ziRTzw0k.cjs +3298 -0
  43. package/dist/sfx-uploader.d.ts +55 -1
  44. package/dist/sfx-uploader.d.ts.map +1 -1
  45. package/dist/store/store.types.d.ts +1 -1
  46. package/dist/store/store.types.d.ts.map +1 -1
  47. package/dist/types/source.types.d.ts +3 -0
  48. package/dist/types/source.types.d.ts.map +1 -1
  49. package/dist/utils/file-utils.d.ts +2 -0
  50. package/dist/utils/file-utils.d.ts.map +1 -1
  51. package/dist/utils/focus-trap.d.ts +7 -0
  52. package/dist/utils/focus-trap.d.ts.map +1 -0
  53. package/dist/utils/validate.d.ts +11 -0
  54. package/dist/utils/validate.d.ts.map +1 -1
  55. package/package.json +4 -2
  56. package/dist/events/event-bus.d.ts +0 -38
  57. package/dist/events/event-bus.d.ts.map +0 -1
  58. package/dist/provider-browser-CmCwv0ph.cjs +0 -581
  59. package/dist/sfx-uploader-BVDK-9xi.cjs +0 -2029
  60. package/dist/sfx-uploader-C2lWIRnU.js +0 -3789
package/CHANGELOG.md CHANGED
@@ -7,6 +7,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.2.0] - 2026-03-22
11
+
12
+ ### Added
13
+
14
+ - Cards layout for import-from sources (`sourcesLayout: 'cards'`) — responsive grid of square cards with large icons
15
+ - Video thumbnail generation from first frame
16
+ - Configurable `headerButton` option (`close`, `back`, `none`)
17
+ - Screen capture source
18
+ - Prev/next navigation arrows on preview image
19
+ - Custom dropdown selects replacing native selects with preview panel scroll
20
+ - Clear files on modal close so next open starts fresh
21
+ - Asset count label and total file size display in upload view
22
+ - Extended drag-and-drop to entire body when drop zone is compact
23
+
24
+ ### Changed
25
+
26
+ - Design polishing: normalized CSS tokens, aligned with UIKit design system
27
+ - Preview panel redesigned: inline tags, two-column metadata table, fullscreen zoom
28
+ - Uploader max-width set to 912px
29
+ - File grid widened to 440px for two-column layout in preview mode
30
+ - Responsive source pills on mobile viewports
31
+ - Paddings normalized to 24px throughout body and asset count
32
+
33
+ ### Fixed
34
+
35
+ - Drag-and-drop adding files twice
36
+ - File restrictions: proper counting, rejected styling, auto-dismiss
37
+ - Duplicate file errors and Done button in non-modal mode
38
+ - Done badge appearing on non-uploaded files
39
+ - File tile borders
40
+ - Fullscreen zoom and scroll issues
41
+ - Various logic bugs, config options, and accessibility improvements
42
+
43
+ ### Removed
44
+
45
+ - Canva SDK integration
46
+
10
47
  ## [0.1.0] - 2026-03-18
11
48
 
12
49
  Initial release.
@@ -44,7 +81,7 @@ Initial release.
44
81
  - OAuth token management with `localStorage` caching for cloud providers
45
82
  - Provider browser UI with folder navigation and file selection
46
83
  - Custom source plugin architecture (`connectors.customSources`)
47
- - Three authentication modes: security template, SASS key, and session token
84
+ - Two authentication modes: security template and SASS key
48
85
  - SASS key exchange for security template mode
49
86
  - Auth header generation and API base URL derivation
50
87
  - 20+ custom DOM events (`sfx-*`) with `bubbles` and `composed` for shadow DOM crossing
package/README.md CHANGED
@@ -35,7 +35,7 @@
35
35
  - **Concurrent uploads** — configurable concurrency with retry and exponential backoff
36
36
  - **Real-time progress** — per-file and aggregate progress with speed and ETA
37
37
  - **File restrictions** — type, size, and count limits with clear rejection reasons
38
- - **Modal or inline** — use as a modal overlay or embed directly in your page
38
+ - **Modal or inline** — use as a modal overlay or embed directly in your page, with configurable header buttons (`close`, `back`, or `none`) for wizard and step flows
39
39
  - **Fully themeable** — CSS custom properties with `--sfx-up-*` prefix
40
40
  - **React wrapper** — controlled `open` prop and imperative ref via `@scaleflex/uploader/react`
41
41
  - **Lit 3** — lightweight Web Component with Shadow DOM encapsulation
@@ -10,7 +10,7 @@ export declare function getApiBase(container: string): string;
10
10
  */
11
11
  export declare function exchangeSassKey(container: string, securityTemplateId: string): Promise<string>;
12
12
  /**
13
- * Build auth headers from a resolved SASS key or session tokens.
13
+ * Build auth headers from a resolved SASS key.
14
14
  */
15
15
  export declare function buildAuthHeaders(auth: AuthConfig, resolvedSassKey?: string): AuthHeaders;
16
16
  /**
@@ -10,15 +10,7 @@ export interface SassKeyAuth {
10
10
  sassKey: string;
11
11
  airboxPuid?: string;
12
12
  }
13
- export interface SessionAuth {
14
- mode: 'session';
15
- container: string;
16
- sessionToken: string;
17
- companyToken?: string;
18
- projectToken?: string;
19
- airboxPuid?: string;
20
- }
21
- export type AuthConfig = SecurityTemplateAuth | SassKeyAuth | SessionAuth;
13
+ export type AuthConfig = SecurityTemplateAuth | SassKeyAuth;
22
14
  /** Headers to attach to every Scaleflex API request. */
23
15
  export type AuthHeaders = Record<string, string>;
24
16
  //# sourceMappingURL=auth.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"auth.types.d.ts","sourceRoot":"","sources":["../../src/auth/auth.types.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,UAAU,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,UAAU,GAAG,oBAAoB,GAAG,WAAW,GAAG,WAAW,CAAC;AAE1E,wDAAwD;AACxD,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"auth.types.d.ts","sourceRoot":"","sources":["../../src/auth/auth.types.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,UAAU,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,UAAU,GAAG,oBAAoB,GAAG,WAAW,CAAC;AAE5D,wDAAwD;AACxD,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
- export type { AuthConfig, SecurityTemplateAuth, SassKeyAuth, SessionAuth, AuthHeaders } from './auth.types';
1
+ export type { AuthConfig, SecurityTemplateAuth, SassKeyAuth, AuthHeaders } from './auth.types';
2
2
  export { resolveAuth, exchangeSassKey, getApiBase, buildAuthHeaders } from './auth.service';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/auth/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,UAAU,EAAE,oBAAoB,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC5G,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/auth/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,UAAU,EAAE,oBAAoB,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC/F,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1,11 +1,14 @@
1
1
  import { LitElement } from 'lit';
2
2
  export type UploadButtonState = 'idle' | 'uploading' | 'done';
3
3
  export declare class SfxActionsBar extends LitElement {
4
- static styles: import('lit').CSSResult;
4
+ static styles: import('lit').CSSResult[];
5
5
  uploadState: UploadButtonState;
6
6
  fileCount: number;
7
+ totalSize: number;
7
8
  failedCount: number;
8
9
  showFillMetadata: boolean;
10
+ completedCount: number;
11
+ uploadProgress: number;
9
12
  private _clear;
10
13
  private _addMore;
11
14
  private _fillMetadata;
@@ -1 +1 @@
1
- {"version":3,"file":"actions-bar.d.ts","sourceRoot":"","sources":["../../src/components/actions-bar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAsB,MAAM,KAAK,CAAC;AAGrD,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,CAAC;AAE9D,qBAAa,aAAc,SAAQ,UAAU;IAC3C,MAAM,CAAC,MAAM,0BA2IX;IAE0B,WAAW,EAAE,iBAAiB,CAAU;IACxC,SAAS,SAAK;IACd,WAAW,SAAK;IACf,gBAAgB,UAAS;IAEtD,OAAO,CAAC,MAAM;IAId,OAAO,CAAC,QAAQ;IAIhB,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,OAAO;IAIf,OAAO,CAAC,SAAS;IAIjB,MAAM;IAoDN,OAAO,CAAC,mBAAmB;CAgC5B"}
1
+ {"version":3,"file":"actions-bar.d.ts","sourceRoot":"","sources":["../../src/components/actions-bar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAsB,MAAM,KAAK,CAAC;AAIrD,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,CAAC;AAE9D,qBAAa,aAAc,SAAQ,UAAU;IAC3C,MAAM,CAAC,MAAM,4BAoJV;IAEyB,WAAW,EAAE,iBAAiB,CAAU;IACxC,SAAS,SAAK;IACd,SAAS,SAAK;IACd,WAAW,SAAK;IACf,gBAAgB,UAAS;IAC1B,cAAc,SAAK;IACnB,cAAc,SAAK;IAE/C,OAAO,CAAC,MAAM;IAId,OAAO,CAAC,QAAQ;IAIhB,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,OAAO;IAIf,OAAO,CAAC,SAAS;IAIjB,MAAM;IAkEN,OAAO,CAAC,mBAAmB;CAgC5B"}
@@ -7,12 +7,13 @@ import { LitElement } from 'lit';
7
7
  * - `camera-cancel` → void
8
8
  */
9
9
  export declare class SfxCameraDialog extends LitElement {
10
- static styles: import('lit').CSSResult;
10
+ static styles: import('lit').CSSResult[];
11
11
  private _stream;
12
12
  private _error;
13
13
  private _captured;
14
14
  private _previewUrl;
15
15
  private _onBackdropClick;
16
+ private _focusTrap;
16
17
  private _onKeyDown;
17
18
  connectedCallback(): void;
18
19
  disconnectedCallback(): void;
@@ -1 +1 @@
1
- {"version":3,"file":"camera-dialog.d.ts","sourceRoot":"","sources":["../../src/components/camera-dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAsB,MAAM,KAAK,CAAC;AAGrD;;;;;;GAMG;AACH,qBAAa,eAAgB,SAAQ,UAAU;IAC7C,MAAM,CAAC,MAAM,0BA0FX;IAEO,OAAO,CAAC,OAAO,CAA4B;IAC3C,OAAO,CAAC,MAAM,CAAM;IACpB,OAAO,CAAC,SAAS,CAAqB;IACtC,OAAO,CAAC,WAAW,CAAM;IAElC,OAAO,CAAC,gBAAgB,CAEtB;IAEF,OAAO,CAAC,UAAU,CAEhB;IAEF,iBAAiB;IAKjB,oBAAoB;YAMN,YAAY;IAa1B,OAAO,CAAC,WAAW;IAKnB,OAAO,CAAC,QAAQ,CAgBd;IAEF,OAAO,CAAC,OAAO,CAKb;IAEF,OAAO,CAAC,SAAS,CAKf;IAEF,OAAO,CAAC,OAAO;IAKf,MAAM;CAqCP"}
1
+ {"version":3,"file":"camera-dialog.d.ts","sourceRoot":"","sources":["../../src/components/camera-dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAsB,MAAM,KAAK,CAAC;AAKrD;;;;;;GAMG;AACH,qBAAa,eAAgB,SAAQ,UAAU;IAC7C,MAAM,CAAC,MAAM,4BAgFV;IAEM,OAAO,CAAC,OAAO,CAA4B;IAC3C,OAAO,CAAC,MAAM,CAAM;IACpB,OAAO,CAAC,SAAS,CAAqB;IACtC,OAAO,CAAC,WAAW,CAAM;IAElC,OAAO,CAAC,gBAAgB,CAEtB;IAEF,OAAO,CAAC,UAAU,CAAmD;IAErE,OAAO,CAAC,UAAU,CAGhB;IAEF,iBAAiB;IAKjB,oBAAoB;YAMN,YAAY;IAa1B,OAAO,CAAC,WAAW;IAKnB,OAAO,CAAC,QAAQ,CAgBd;IAEF,OAAO,CAAC,OAAO,CAKb;IAEF,OAAO,CAAC,SAAS,CAKf;IAEF,OAAO,CAAC,OAAO;IAKf,MAAM;CAqCP"}
@@ -3,9 +3,13 @@ import { SourceDef } from './source-pills';
3
3
  export declare class SfxDropZone extends LitElement {
4
4
  static styles: import('lit').CSSResult;
5
5
  compact: boolean;
6
+ externalDragOver: boolean;
6
7
  accept: string;
7
8
  sources: SourceDef[];
9
+ sourcesLayout: 'pills' | 'cards';
8
10
  private _dragOver;
11
+ private _moreOpen;
12
+ private _visiblePills;
9
13
  private _rippleEl;
10
14
  fileInput: HTMLInputElement;
11
15
  private _dragCounter;
@@ -21,8 +25,21 @@ export declare class SfxDropZone extends LitElement {
21
25
  private _onPaste;
22
26
  private _onSourceIconClick;
23
27
  private _emitFiles;
28
+ private _toggleMore;
29
+ /** Position the fixed dropdown, choosing above or below based on available space. */
30
+ private _positionDropdown;
31
+ private _onMoreItemClick;
32
+ private _onDocClick;
33
+ private _onDocKeyDown;
34
+ private _resizeTimer;
35
+ private _onScrollOrResize;
36
+ private _updateVisiblePills;
24
37
  connectedCallback(): void;
25
38
  disconnectedCallback(): void;
39
+ private _renderPill;
40
+ private _renderCard;
41
+ private _renderMoreCard;
42
+ private _renderMoreDropdown;
26
43
  render(): import('lit-html').TemplateResult<1>;
27
44
  }
28
45
  //# sourceMappingURL=drop-zone.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"drop-zone.d.ts","sourceRoot":"","sources":["../../src/components/drop-zone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAsB,MAAM,KAAK,CAAC;AAIrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,qBAAa,WAAY,SAAQ,UAAU;IACzC,MAAM,CAAC,MAAM,0BAmTX;IAE2B,OAAO,UAAS;IACjB,MAAM,SAAM;IACb,OAAO,EAAE,SAAS,EAAE,CAAM;IAE5C,OAAO,CAAC,SAAS,CAAS;IAEjB,OAAO,CAAC,SAAS,CAAe;IACrB,SAAS,EAAG,gBAAgB,CAAC;IAE1D,OAAO,CAAC,YAAY,CAAK;IAEzB,0CAA0C;IAC1C,MAAM;IAMN,OAAO,CAAC,YAAY,CAMlB;IAEF,OAAO,CAAC,WAAW,CAEjB;IAEF,OAAO,CAAC,YAAY,CAOlB;IAEF,OAAO,CAAC,OAAO,CASb;IAIF,OAAO,CAAC,QAAQ,CAad;IAEF,OAAO,CAAC,UAAU,CAKhB;IAEF,OAAO,CAAC,aAAa,CAQnB;IAIF,OAAO,CAAC,QAAQ,CAkBd;IAEF,OAAO,CAAC,kBAAkB;IAU1B,OAAO,CAAC,UAAU;IAUlB,iBAAiB;IAKjB,oBAAoB;IAKpB,MAAM;CAyEP"}
1
+ {"version":3,"file":"drop-zone.d.ts","source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;IAiCvB,OAAO,CAAC,mBAAmB;IA4B3B,MAAM;CAwGP"}
@@ -1 +1 @@
1
- {"version":3,"file":"file-item.d.ts","sourceRoot":"","sources":["../../src/components/file-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,OAAO,EAAE,MAAM,KAAK,CAAC;AAErD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGvD,qBAAa,WAAY,SAAQ,UAAU;IACzC,MAAM,CAAC,MAAM,0BAwVX;IAE8B,IAAI,EAAG,UAAU,CAAC;IAElD,OAAO,CAAC,OAAO;IAUf,OAAO,CAAC,MAAM;IAUd,OAAO,CAAC,QAAQ;IAWhB,MAAM;IAwGN,OAAO,CAAC,eAAe;CAcxB"}
1
+ {"version":3,"file":"file-item.d.ts","sourceRoot":"","sources":["../../src/components/file-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,OAAO,EAAE,MAAM,KAAK,CAAC;AAErD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGvD,qBAAa,WAAY,SAAQ,UAAU;IACzC,MAAM,CAAC,MAAM,0BAmWX;IAE8B,IAAI,EAAG,UAAU,CAAC;IAElD,OAAO,CAAC,OAAO;IAUf,OAAO,CAAC,MAAM;IAUd,OAAO,CAAC,QAAQ;IAWhB,MAAM;IA6GN,OAAO,CAAC,eAAe;CAcxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"file-list.d.ts","sourceRoot":"","sources":["../../src/components/file-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAE5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD,qBAAa,WAAY,SAAQ,UAAU;IACzC,MAAM,CAAC,MAAM,0BAaX;IAE8B,KAAK,EAAE,UAAU,EAAE,CAAM;IAEzD,MAAM;CASP"}
1
+ {"version":3,"file":"file-list.d.ts","sourceRoot":"","sources":["../../src/components/file-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAE5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD,qBAAa,WAAY,SAAQ,UAAU;IACzC,MAAM,CAAC,MAAM,0BAuCX;IAE8B,KAAK,EAAE,UAAU,EAAE,CAAM;IAEzD,MAAM;CASP"}
@@ -20,6 +20,7 @@ export declare class SfxProviderBrowser extends LitElement {
20
20
  updated(changed: Map<string, unknown>): void;
21
21
  private _reset;
22
22
  private _checkAuth;
23
+ private get _providerDef();
23
24
  private get _providerLabel();
24
25
  private _handleConnect;
25
26
  private _loadFolder;
@@ -1 +1 @@
1
- {"version":3,"file":"provider-browser.d.ts","sourceRoot":"","sources":["../../src/components/provider-browser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAsB,MAAM,KAAK,CAAC;AAErD,OAAO,KAAK,EAAE,UAAU,EAAiC,MAAM,+BAA+B,CAAC;AAgB/F,qBAAa,kBAAmB,SAAQ,UAAU;IAChD,MAAM,CAAC,MAAM,0BAmcX;IAE0B,QAAQ,EAAE,UAAU,CAAkB;IACtC,YAAY,SAAM;IAErC,OAAO,CAAC,cAAc,CAAS;IAC/B,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,MAAM,CAAuB;IACrC,OAAO,CAAC,YAAY,CAAqB;IACzC,OAAO,CAAC,YAAY,CAAoB;IACxC,OAAO,CAAC,aAAa,CAAuB;IAC5C,OAAO,CAAC,MAAM,CAAuB;IACrC,OAAO,CAAC,YAAY,CAAS;IAC7B,OAAO,CAAC,SAAS,CAAuB;IAEjD,OAAO,CAAC,oBAAoB,CAA6B;IACzD,OAAO,CAAC,WAAW,CAAuB;IAE1C,iBAAiB;IAKjB,oBAAoB;IAMpB,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAOrC,OAAO,CAAC,M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B;IAEjD,OAAO,CAAC,oBAAoB,CAA6B;IACzD,OAAO,CAAC,WAAW,CAAuB;IAE1C,iBAAiB;IAKjB,oBAAoB;IAMpB,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAOrC,OAAO,CAAC,MAAM;IAWd,OAAO,CAAC,UAAU;IAQlB,OAAO,KAAK,YAAY,GAGvB;IAED,OAAO,KAAK,cAAc,GAEzB;IAID,OAAO,CAAC,cAAc,CAiBpB;YAIY,WAAW;IAoCzB,OAAO,CAAC,cAAc;IAKtB,OAAO,CAAC,kBAAkB;YAcZ,WAAW;IAqBzB,OAAO,CAAC,iBAAiB,CAAuB;IAEhD,OAAO,CAAC,aAAa;IA2BrB,OAAO,CAAC,gBAAgB,CAQtB;IAEF,OAAO,CAAC,cAAc,CA2BpB;IAEF,OAAO,CAAC,QAAQ,CAOd;IAIF,OAAO,CAAC,aAAa,CAWnB;IAIF,MAAM;IAaN,OAAO,CAAC,aAAa;IA4BrB,OAAO,CAAC,eAAe;IA8BvB,OAAO,CAAC,cAAc;IAkBtB,OAAO,CAAC,YAAY;IAqBpB,OAAO,CAAC,cAAc;IAsHtB,OAAO,CAAC,kBAAkB;CAsB3B;AAUD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,sBAAsB,EAAE,kBAAkB,CAAC;KAC5C;CACF"}
@@ -7,7 +7,7 @@ import { LitElement } from 'lit';
7
7
  * - `screencast-cancel` → void
8
8
  */
9
9
  export declare class SfxScreenCastDialog extends LitElement {
10
- static styles: import('lit').CSSResult;
10
+ static styles: import('lit').CSSResult[];
11
11
  private _stream;
12
12
  private _recording;
13
13
  private _error;
@@ -16,6 +16,7 @@ export declare class SfxScreenCastDialog extends LitElement {
16
16
  private _recorder;
17
17
  private _chunks;
18
18
  private _onBackdropClick;
19
+ private _focusTrap;
19
20
  private _onKeyDown;
20
21
  disconnectedCallback(): void;
21
22
  private _stopAll;
@@ -1 +1 @@
1
- {"version":3,"file":"screen-cast-dialog.d.ts","sourceRoot":"","sources":["../../src/components/screen-cast-dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C;;;;;;GAMG;AACH,qBAAa,mBAAoB,SAAQ,UAAU;IACjD,MAAM,CAAC,MAAM,0BA6GX;IAEO,OAAO,CAAC,OAAO,CAA4B;IAC3C,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,MAAM,CAAM;IACpB,OAAO,CAAC,aAAa,CAAqB;IAC1C,OAAO,CAAC,WAAW,CAAM;IAElC,OAAO,CAAC,SAAS,CAA8B;IAC/C,OAAO,CAAC,OAAO,CAAc;IAE7B,OAAO,CAAC,gBAAgB,CAEtB;IAEF,OAAO,CAAC,UAAU,CAEhB;IAEF,oBAAoB;IAMpB,OAAO,CAAC,QAAQ;IAOhB,OAAO,CAAC,eAAe,CAuCrB;IAEF,OAAO,CAAC,cAAc,CAIpB;IAEF,OAAO,CAAC,aAAa,CAKnB;IAEF,OAAO,CAAC,QAAQ,CAId;IAEF,OAAO,CAAC,OAAO;IAKf,MAAM;CAuDP"}
1
+ {"version":3,"file":"screen-cast-dialog.d.ts","sourceRoot":"","sources":["../../src/components/screen-cast-dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAK5C;;;;;;GAMG;AACH,qBAAa,mBAAoB,SAAQ,UAAU;IACjD,MAAM,CAAC,MAAM,4BAkGV;IAEM,OAAO,CAAC,OAAO,CAA4B;IAC3C,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,MAAM,CAAM;IACpB,OAAO,CAAC,aAAa,CAAqB;IAC1C,OAAO,CAAC,WAAW,CAAM;IAElC,OAAO,CAAC,SAAS,CAA8B;IAC/C,OAAO,CAAC,OAAO,CAAc;IAE7B,OAAO,CAAC,gBAAgB,CAEtB;IAEF,OAAO,CAAC,UAAU,CAAmD;IAErE,OAAO,CAAC,UAAU,CAGhB;IAEF,oBAAoB;IAMpB,OAAO,CAAC,QAAQ;IAOhB,OAAO,CAAC,eAAe,CAuCrB;IAEF,OAAO,CAAC,cAAc,CAMpB;IAEF,OAAO,CAAC,aAAa,CAKnB;IAEF,OAAO,CAAC,QAAQ,CAId;IAEF,OAAO,CAAC,OAAO;IAKf,MAAM;CAuDP"}
@@ -0,0 +1,5 @@
1
+ /** Shared button styles used across actions-bar, success-card, and dialog components. */
2
+ export declare const buttonStyles: import('lit').CSSResult;
3
+ /** Focus-visible outline for keyboard navigation. */
4
+ export declare const focusStyles: import('lit').CSSResult;
5
+ //# sourceMappingURL=shared-styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shared-styles.d.ts","sourceRoot":"","sources":["../../src/components/shared-styles.ts"],"names":[],"mappings":"AAEA,yFAAyF;AACzF,eAAO,MAAM,YAAY,yBAqExB,CAAC;AAEF,qDAAqD;AACrD,eAAO,MAAM,WAAW,yBAKvB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"source-pills.d.ts","sourceRoot":"","sources":["../../src/components/source-pills.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAK5C,YAAY,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAOvD,eAAO,MAAM,YAAY,EAAE,SAAS,EAKnC,CAAC;AAEF,qBAAa,cAAe,SAAQ,UAAU;IAC5C,MAAM,CAAC,MAAM,0BAqDX;IAEyB,OAAO,EAAE,SAAS,EAAE,CAAgB;IAE/D,OAAO,CAAC,YAAY;IAUpB,MAAM;CAYP"}
1
+ {"version":3,"file":"source-pills.d.ts","sourceRoot":"","sources":["../../src/components/source-pills.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAM5C,YAAY,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAOvD,eAAO,MAAM,YAAY,EAAE,SAAS,EAKnC,CAAC;AAEF,qBAAa,cAAe,SAAQ,UAAU;IAC5C,MAAM,CAAC,MAAM,0BAwEX;IAEyB,OAAO,EAAE,SAAS,EAAE,CAAgB;IAE/D,OAAO,CAAC,YAAY;IAUpB,MAAM;CAcP"}
@@ -1,7 +1,9 @@
1
1
  import { LitElement } from 'lit';
2
2
  export declare class SfxSuccessCard extends LitElement {
3
- static styles: import('lit').CSSResult;
3
+ static styles: import('lit').CSSResult[];
4
4
  fileCount: number;
5
+ totalSize: number;
6
+ thumbnails: string[];
5
7
  primaryLabel: string;
6
8
  private _uploadMore;
7
9
  private _primaryAction;
@@ -1 +1 @@
1
- {"version":3,"file":"success-card.d.ts","sourceRoot":"","sources":["../../src/components/success-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C,qBAAa,cAAe,SAAQ,UAAU;IAC5C,MAAM,CAAC,MAAM,0BA4HX;IAE0B,SAAS,SAAK;IACd,YAAY,SAAU;IAElD,OAAO,CAAC,WAAW;IAMnB,OAAO,CAAC,cAAc;IAMtB,MAAM;CAqBP"}
1
+ {"version":3,"file":"success-card.d.ts","sourceRoot":"","sources":["../../src/components/success-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAsB,MAAM,KAAK,CAAC;AAOrD,qBAAa,cAAe,SAAQ,UAAU;IAC5C,MAAM,CAAC,MAAM,4BA8HV;IAEyB,SAAS,SAAK;IACd,SAAS,SAAK;IACf,UAAU,EAAE,MAAM,EAAE,CAAM;IACzB,YAAY,SAAU;IAElD,OAAO,CAAC,WAAW;IAMnB,OAAO,CAAC,cAAc;IAMtB,MAAM;CAoCP"}
@@ -7,15 +7,15 @@ import { LitElement } from 'lit';
7
7
  * - `url-cancel` → void
8
8
  */
9
9
  export declare class SfxUrlDialog extends LitElement {
10
- static styles: import('lit').CSSResult;
10
+ static styles: import('lit').CSSResult[];
11
11
  private _url;
12
12
  private _name;
13
13
  private _error;
14
- private _loading;
15
14
  private _onBackdropClick;
16
15
  private _onUrlInput;
17
16
  private _onNameInput;
18
17
  private _autoName;
18
+ private _focusTrap;
19
19
  private _onKeyDown;
20
20
  private _cancel;
21
21
  private _submit;
@@ -1 +1 @@
1
- {"version":3,"file":"url-dialog.d.ts","sourceRoot":"","sources":["../../src/components/url-dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C;;;;;;GAMG;AACH,qBAAa,YAAa,SAAQ,UAAU;IAC1C,MAAM,CAAC,MAAM,0BA6NX;IAEO,OAAO,CAAC,IAAI,CAAM;IAClB,OAAO,CAAC,KAAK,CAAM;IACnB,OAAO,CAAC,MAAM,CAAM;IACpB,OAAO,CAAC,QAAQ,CAAS;IAElC,OAAO,CAAC,gBAAgB,CAEtB;IAEF,OAAO,CAAC,WAAW,CAIjB;IAEF,OAAO,CAAC,YAAY,CAElB;IAEF,OAAO,CAAC,SAAS;IAcjB,OAAO,CAAC,UAAU,CAGhB;IAEF,OAAO,CAAC,OAAO;IAIf,OAAO,CAAC,OAAO;IAkCf,iBAAiB;IAQjB,MAAM;CA+CP"}
1
+ {"version":3,"file":"url-dialog.d.ts","sourceRoot":"","sources":["../../src/components/url-dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAK5C;;;;;;GAMG;AACH,qBAAa,YAAa,SAAQ,UAAU;IAC1C,MAAM,CAAC,MAAM,4BA6KV;IAEM,OAAO,CAAC,IAAI,CAAM;IAClB,OAAO,CAAC,KAAK,CAAM;IACnB,OAAO,CAAC,MAAM,CAAM;IAE7B,OAAO,CAAC,gBAAgB,CAEtB;IAEF,OAAO,CAAC,WAAW,CAIjB;IAEF,OAAO,CAAC,YAAY,CAElB;IAEF,OAAO,CAAC,SAAS;IAcjB,OAAO,CAAC,UAAU,CAAmD;IAErE,OAAO,CAAC,UAAU,CAOhB;IAEF,OAAO,CAAC,OAAO;IAIf,OAAO,CAAC,OAAO;IAkCf,iBAAiB;IAQjB,MAAM;CA+CP"}
@@ -1 +1 @@
1
- {"version":3,"file":"provider-registry.d.ts","sourceRoot":"","sources":["../../src/connectors/provider-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAgDpD;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,UAAU,EAAE,GAAG,SAAS,EAAE,CAIvE"}
1
+ {"version":3,"file":"provider-registry.d.ts","sourceRoot":"","sources":["../../src/connectors/provider-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAwDpD;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,UAAU,EAAE,GAAG,SAAS,EAAE,CAIvE"}
package/dist/define.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const e=require("./sfx-uploader-BVDK-9xi.cjs"),s=(f,i)=>{typeof customElements<"u"&&!customElements.get(f)&&customElements.define(f,i)};s("sfx-uploader",e.SfxUploader);s("sfx-drop-zone",e.SfxDropZone);s("sfx-import-divider",e.SfxImportDivider);s("sfx-source-pills",e.SfxSourcePills);s("sfx-file-list",e.SfxFileList);s("sfx-file-item",e.SfxFileItem);s("sfx-success-card",e.SfxSuccessCard);s("sfx-actions-bar",e.SfxActionsBar);s("sfx-url-dialog",e.SfxUrlDialog);s("sfx-camera-dialog",e.SfxCameraDialog);s("sfx-screen-cast-dialog",e.SfxScreenCastDialog);
1
+ "use strict";const e=require("./sfx-uploader-ziRTzw0k.cjs"),s=(f,i)=>{typeof customElements<"u"&&!customElements.get(f)&&customElements.define(f,i)};s("sfx-uploader",e.SfxUploader);s("sfx-drop-zone",e.SfxDropZone);s("sfx-import-divider",e.SfxImportDivider);s("sfx-source-pills",e.SfxSourcePills);s("sfx-file-list",e.SfxFileList);s("sfx-file-item",e.SfxFileItem);s("sfx-success-card",e.SfxSuccessCard);s("sfx-actions-bar",e.SfxActionsBar);s("sfx-url-dialog",e.SfxUrlDialog);s("sfx-camera-dialog",e.SfxCameraDialog);s("sfx-screen-cast-dialog",e.SfxScreenCastDialog);
package/dist/define.js CHANGED
@@ -1,4 +1,4 @@
1
- import { g as f, a as i, d as o, e as r, c as l, b as x, f as t, S as c, n as d, o as S, p as m } from "./sfx-uploader-C2lWIRnU.js";
1
+ import { g as f, a as i, d as o, e as r, c as l, b as x, f as t, S as c, n as d, o as S, p as m } from "./sfx-uploader-CU9IwNC7.js";
2
2
  const s = (e, a) => {
3
3
  typeof customElements < "u" && !customElements.get(e) && customElements.define(e, a);
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"upload-engine.d.ts","sourceRoot":"","sources":["../../src/engine/upload-engine.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,EAAE,aAAa,EAA0B,MAAM,sBAAsB,CAAC;AAClF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAKtD,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,qBAAa,YAAY;IACvB,OAAO,CAAC,KAAK,CAAuB;IACpC,OAAO,CAAC,MAAM,CAAqB;IACnC,OAAO,CAAC,aAAa,CAAsC;IAC3D,OAAO,CAAC,WAAW,CAAoD;IACvE,OAAO,CAAC,WAAW,CAA6B;gBAEpC,KAAK,EAAE,KAAK,CAAC,aA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ACH,KAAK,IAAI,IAAI;IAMb;;OAEG;IACH,SAAS,IAAI,IAAI;IAiBjB;;OAEG;IACH,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAc/B;;OAEG;IACH,QAAQ,IAAI,IAAI;IAgBhB;;OAEG;IACH,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAOhC;;OAEG;IACH,SAAS,IAAI,IAAI;IAWjB;;OAEG;IACH,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,kBAAkB,CAAC,GAAG,IAAI;IAItD;;OAEG;IACH,OAAO,IAAI,IAAI;IAcf,OAAO,CAAC,YAAY;IA0BpB,OAAO,CAAC,WAAW;IAgDnB,OAAO,CAAC,cAAc;IAetB,OAAO,CAAC,WAAW;IAuCnB,OAAO,CAAC,WAAW;IAWnB,OAAO,CAAC,mBAAmB;IA+B3B,OAAO,CAAC,gBAAgB;CAYzB"}
@@ -13,11 +13,9 @@ export declare const PublicEvents: {
13
13
  readonly OPEN: "sfx-open";
14
14
  readonly CLOSE: "sfx-close";
15
15
  readonly CANCEL: "sfx-cancel";
16
- readonly SOURCE_CHANGE: "sfx-source-change";
17
16
  readonly COMPLETE_ACTION: "sfx-complete-action";
18
- readonly CONNECTOR_AUTH: "sfx-connector-auth";
19
- readonly CONNECTOR_FILES_ADDED: "sfx-connector-files-added";
20
17
  readonly FILE_PREVIEW: "sfx-file-preview";
21
18
  readonly FILL_METADATA: "sfx-fill-metadata";
22
19
  };
20
+ export type PublicEventName = typeof PublicEvents[keyof typeof PublicEvents];
23
21
  //# sourceMappingURL=public-events.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"public-events.d.ts","sourceRoot":"","sources":["../../src/events/public-events.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;CAqBf,CAAC"}
1
+ {"version":3,"file":"public-events.d.ts","sourceRoot":"","sources":["../../src/events/public-events.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;CAkBf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,OAAO,YAAY,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC"}
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./sfx-uploader-BVDK-9xi.cjs");exports.CORE_SOURCES=e.CORE_SOURCES;exports.PublicEvents=e.PublicEvents;exports.SfxActionsBar=e.SfxActionsBar;exports.SfxDropZone=e.SfxDropZone;exports.SfxFileItem=e.SfxFileItem;exports.SfxFileList=e.SfxFileList;exports.SfxImportDivider=e.SfxImportDivider;exports.SfxSourcePills=e.SfxSourcePills;exports.SfxSuccessCard=e.SfxSuccessCard;exports.SfxUploader=e.SfxUploader;exports.Store=e.Store;exports.UploadEngine=e.UploadEngine;exports.buildAuthHeaders=e.buildAuthHeaders;exports.createStore=e.createStore;exports.exchangeSassKey=e.exchangeSassKey;exports.getApiBase=e.getApiBase;exports.getProviderSources=e.getProviderSources;exports.resolveAuth=e.resolveAuth;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./sfx-uploader-ziRTzw0k.cjs");exports.CORE_SOURCES=e.CORE_SOURCES;exports.PublicEvents=e.PublicEvents;exports.SfxActionsBar=e.SfxActionsBar;exports.SfxDropZone=e.SfxDropZone;exports.SfxFileItem=e.SfxFileItem;exports.SfxFileList=e.SfxFileList;exports.SfxImportDivider=e.SfxImportDivider;exports.SfxSourcePills=e.SfxSourcePills;exports.SfxSuccessCard=e.SfxSuccessCard;exports.SfxUploader=e.SfxUploader;exports.Store=e.Store;exports.UploadEngine=e.UploadEngine;exports.buildAuthHeaders=e.buildAuthHeaders;exports.createStore=e.createStore;exports.exchangeSassKey=e.exchangeSassKey;exports.getApiBase=e.getApiBase;exports.getProviderSources=e.getProviderSources;exports.resolveAuth=e.resolveAuth;
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ export { createStore, Store } from './store';
3
3
  export { UploadEngine, type UploadEngineConfig } from './engine';
4
4
  export { PublicEvents } from './events/public-events';
5
5
  export type { UploaderState, UploadFile, FileStatus, UploadResponse, QueueConfig, RetryConfig, UploadRestrictions, } from './store';
6
- export type { AuthConfig, SecurityTemplateAuth, SassKeyAuth, SessionAuth, AuthHeaders, } from './auth';
6
+ export type { AuthConfig, SecurityTemplateAuth, SassKeyAuth, AuthHeaders, } from './auth';
7
7
  export { resolveAuth, exchangeSassKey, getApiBase, buildAuthHeaders } from './auth';
8
8
  export type { ProviderId, ConnectorConfig, RemoteFileInfo } from './connectors';
9
9
  export { getProviderSources } from './connectors';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,cAAc,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC1F,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,KAAK,kBAAkB,EAAE,MAAM,UAAU,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,YAAY,EACV,aAAa,EACb,UAAU,EACV,UAAU,EACV,cAAc,EACd,WAAW,EACX,WAAW,EACX,kBAAkB,GACnB,MAAM,SAAS,CAAC;AAGjB,YAAY,EACV,UAAU,EACV,oBAAoB,EACpB,WAAW,EACX,WAAW,EACX,WAAW,GACZ,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAGpF,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAChF,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAGlD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,C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AAC;AAC/D,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,KAAK,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC9G,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,KAAK,iBAAiB,EAAE,MAAM,0BAA0B,CAAC"}
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C as e, P as r, S, a as o, b as i, c as t, d as f, e as l, f as x, g as c, h as d, U as u, i as n, j as p, k as g, l as h, m, r as v } from "./sfx-uploader-C2lWIRnU.js";
1
+ import { C as e, P as r, S, a as o, b as i, c as t, d as f, e as l, f as x, g as c, h as d, U as u, i as n, j as p, k as g, l as h, m, r as v } from "./sfx-uploader-CU9IwNC7.js";
2
2
  export {
3
3
  e as CORE_SOURCES,
4
4
  r as PublicEvents,