@paperless/core 0.1.0-alpha.42 → 0.1.0-alpha.46
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/CHANGELOG.md +38 -0
- package/dist/build/p-0100c1a2.js +2 -0
- package/dist/build/{p-96f7f4ed.entry.js → p-11d24001.entry.js} +1 -1
- package/dist/build/{p-9d254d19.entry.js → p-19d84fe7.entry.js} +1 -1
- package/dist/build/{p-e32286ce.entry.js → p-2120a0b7.entry.js} +1 -1
- package/dist/build/{p-fb05d32c.entry.js → p-3b491ca2.entry.js} +1 -1
- package/dist/build/{p-24c63fe7.entry.js → p-3f6d3736.entry.js} +1 -1
- package/dist/build/{p-3ecf3173.entry.js → p-463f354c.entry.js} +1 -1
- package/dist/build/{p-02d2b531.entry.js → p-4a85b858.entry.js} +1 -1
- package/dist/build/p-5101f35f.entry.js +1 -0
- package/dist/build/p-5438d70e.entry.js +1 -0
- package/dist/build/{p-d5d2f377.entry.js → p-63e5f5e1.entry.js} +1 -1
- package/dist/build/{p-647910e6.entry.js → p-67fc89a6.entry.js} +1 -1
- package/dist/{paperless/p-20a59914.entry.js → build/p-6e60b92a.entry.js} +1 -1
- package/dist/{paperless/p-1d45ef92.entry.js → build/p-7784ee14.entry.js} +1 -1
- package/dist/build/{p-d03853e1.entry.js → p-864ac423.entry.js} +1 -1
- package/dist/build/p-94cef335.entry.js +1 -0
- package/dist/build/{p-d5ae88e6.entry.js → p-b68368f3.entry.js} +1 -1
- package/dist/build/{p-741ec1a6.entry.js → p-c64e2313.entry.js} +1 -1
- package/dist/{paperless/p-18572fe6.entry.js → build/p-ccbddcbb.entry.js} +1 -1
- package/dist/build/{p-90cb9ba3.entry.js → p-d069673f.entry.js} +1 -1
- package/dist/build/{p-ae7fb5ac.entry.js → p-f50c6e5b.entry.js} +1 -1
- package/dist/build/{p-69b38836.entry.js → p-fb1e33eb.entry.js} +1 -1
- package/dist/build/{p-aab433ae.entry.js → p-ffeed7c6.entry.js} +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/{index-a46a39a5.js → index-f9c302b6.js} +15 -4
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/p-avatar.cjs.entry.js +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +1 -1
- package/dist/cjs/p-card-body.cjs.entry.js +1 -1
- package/dist/cjs/p-card-container.cjs.entry.js +1 -1
- package/dist/cjs/p-card-header.cjs.entry.js +1 -1
- package/dist/cjs/p-counter.cjs.entry.js +1 -1
- package/dist/cjs/p-divider.cjs.entry.js +3 -3
- package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +1 -1
- package/dist/cjs/p-dropdown-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/p-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/p-helper.cjs.entry.js +1 -1
- package/dist/cjs/p-illustration.cjs.entry.js +1 -1
- package/dist/cjs/p-info-panel.cjs.entry.js +1 -1
- package/dist/cjs/p-modal-backdrop_5.cjs.entry.js +92 -0
- package/dist/cjs/p-modal.cjs.entry.js +39 -0
- package/dist/cjs/p-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/p-pagination-item.cjs.entry.js +1 -1
- package/dist/cjs/p-pagination.cjs.entry.js +1 -1
- package/dist/cjs/p-segment-container.cjs.entry.js +1 -1
- package/dist/cjs/p-segment-item.cjs.entry.js +1 -1
- package/dist/cjs/p-status.cjs.entry.js +1 -1
- package/dist/cjs/p-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/paperless.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/atoms/divider/divider.component.css +3 -1
- package/dist/collection/components/atoms/divider/divider.component.js +1 -1
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +1 -1
- package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.css +7 -0
- package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.js +15 -0
- package/dist/collection/components/atoms/modal-body/modal-body.component.css +7 -0
- package/dist/collection/components/atoms/modal-body/modal-body.component.js +41 -0
- package/dist/collection/components/atoms/modal-container/modal-container.component.css +6 -0
- package/dist/collection/components/atoms/modal-container/modal-container.component.js +53 -0
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +4 -0
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +16 -0
- package/dist/collection/components/atoms/modal-header/modal-header.component.css +6 -0
- package/dist/collection/components/atoms/modal-header/modal-header.component.js +15 -0
- package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -1
- package/dist/collection/components/molecules/modal/modal.component.js +111 -0
- package/dist/collection/tailwind/animation.js +17 -0
- package/dist/collection/tailwind/backdrop-blur.js +3 -0
- package/dist/collection/tailwind/z-index.js +3 -0
- package/dist/collection/tailwind.config.js +6 -0
- package/dist/components/divider.component.js +30 -0
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.js +6 -0
- package/dist/components/modal-backdrop.component.js +30 -0
- package/dist/components/modal-body.component.js +36 -0
- package/dist/components/modal-container.component.js +48 -0
- package/dist/components/modal-footer.component.js +36 -0
- package/dist/components/modal-header.component.js +30 -0
- package/dist/components/p-divider.js +1 -28
- package/dist/components/p-modal-backdrop.d.ts +11 -0
- package/dist/components/p-modal-backdrop.js +6 -0
- package/dist/components/p-modal-body.d.ts +11 -0
- package/dist/components/p-modal-body.js +6 -0
- package/dist/components/p-modal-container.d.ts +11 -0
- package/dist/components/p-modal-container.js +6 -0
- package/dist/components/p-modal-footer.d.ts +11 -0
- package/dist/components/p-modal-footer.js +6 -0
- package/dist/components/p-modal-header.d.ts +11 -0
- package/dist/components/p-modal-header.js +6 -0
- package/dist/components/p-modal.d.ts +11 -0
- package/dist/components/p-modal.js +94 -0
- package/dist/esm/{index-a68e547b.js → index-fff70567.js} +15 -4
- package/dist/esm/loader.js +2 -2
- package/dist/esm/p-avatar.entry.js +1 -1
- package/dist/esm/p-button_3.entry.js +1 -1
- package/dist/esm/p-card-body.entry.js +1 -1
- package/dist/esm/p-card-container.entry.js +1 -1
- package/dist/esm/p-card-header.entry.js +1 -1
- package/dist/esm/p-counter.entry.js +1 -1
- package/dist/esm/p-divider.entry.js +3 -3
- package/dist/esm/p-dropdown-menu-container.entry.js +1 -1
- package/dist/esm/p-dropdown-menu-item.entry.js +1 -1
- package/dist/esm/p-dropdown.entry.js +1 -1
- package/dist/esm/p-helper.entry.js +1 -1
- package/dist/esm/p-illustration.entry.js +1 -1
- package/dist/esm/p-info-panel.entry.js +1 -1
- package/dist/esm/p-modal-backdrop_5.entry.js +84 -0
- package/dist/esm/p-modal.entry.js +35 -0
- package/dist/esm/p-navigation-item.entry.js +1 -1
- package/dist/esm/p-pagination-item.entry.js +1 -1
- package/dist/esm/p-pagination.entry.js +1 -1
- package/dist/esm/p-segment-container.entry.js +1 -1
- package/dist/esm/p-segment-item.entry.js +1 -1
- package/dist/esm/p-status.entry.js +1 -1
- package/dist/esm/p-tooltip.entry.js +1 -1
- package/dist/esm/paperless.js +2 -2
- package/dist/index.html +1 -1
- package/dist/paperless/p-0100c1a2.js +2 -0
- package/dist/paperless/{p-96f7f4ed.entry.js → p-11d24001.entry.js} +1 -1
- package/dist/paperless/{p-9d254d19.entry.js → p-19d84fe7.entry.js} +1 -1
- package/dist/paperless/{p-e32286ce.entry.js → p-2120a0b7.entry.js} +1 -1
- package/dist/paperless/{p-fb05d32c.entry.js → p-3b491ca2.entry.js} +1 -1
- package/dist/paperless/{p-24c63fe7.entry.js → p-3f6d3736.entry.js} +1 -1
- package/dist/paperless/{p-3ecf3173.entry.js → p-463f354c.entry.js} +1 -1
- package/dist/paperless/{p-02d2b531.entry.js → p-4a85b858.entry.js} +1 -1
- package/dist/paperless/p-5101f35f.entry.js +1 -0
- package/dist/paperless/p-5438d70e.entry.js +1 -0
- package/dist/paperless/{p-d5d2f377.entry.js → p-63e5f5e1.entry.js} +1 -1
- package/dist/paperless/{p-647910e6.entry.js → p-67fc89a6.entry.js} +1 -1
- package/dist/{build/p-20a59914.entry.js → paperless/p-6e60b92a.entry.js} +1 -1
- package/dist/{build/p-1d45ef92.entry.js → paperless/p-7784ee14.entry.js} +1 -1
- package/dist/paperless/{p-d03853e1.entry.js → p-864ac423.entry.js} +1 -1
- package/dist/paperless/p-94cef335.entry.js +1 -0
- package/dist/paperless/{p-d5ae88e6.entry.js → p-b68368f3.entry.js} +1 -1
- package/dist/paperless/{p-741ec1a6.entry.js → p-c64e2313.entry.js} +1 -1
- package/dist/{build/p-18572fe6.entry.js → paperless/p-ccbddcbb.entry.js} +1 -1
- package/dist/paperless/{p-90cb9ba3.entry.js → p-d069673f.entry.js} +1 -1
- package/dist/paperless/{p-ae7fb5ac.entry.js → p-f50c6e5b.entry.js} +1 -1
- package/dist/paperless/{p-69b38836.entry.js → p-fb1e33eb.entry.js} +1 -1
- package/dist/paperless/{p-aab433ae.entry.js → p-ffeed7c6.entry.js} +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +229 -85
- package/dist/tailwind/animation.js +17 -0
- package/dist/tailwind/backdrop-blur.js +3 -0
- package/dist/tailwind/z-index.js +3 -0
- package/dist/tailwind.config.js +6 -0
- package/dist/types/components/atoms/modal-backdrop/modal-backdrop.component.d.ts +3 -0
- package/dist/types/components/atoms/modal-body/modal-body.component.d.ts +7 -0
- package/dist/types/components/atoms/modal-container/modal-container.component.d.ts +7 -0
- package/dist/types/components/atoms/modal-footer/modal-footer.component.d.ts +3 -0
- package/dist/types/components/atoms/modal-header/modal-header.component.d.ts +3 -0
- package/dist/types/components/molecules/modal/modal.component.d.ts +25 -0
- package/dist/types/components.d.ts +126 -0
- package/package.json +1 -1
- package/dist/build/p-76464e0b.js +0 -2
- package/dist/build/p-ac0798de.entry.js +0 -1
- package/dist/paperless/p-76464e0b.js +0 -2
- package/dist/paperless/p-ac0798de.entry.js +0 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare class Modal {
|
|
2
|
+
/**
|
|
3
|
+
* The size of the modal container
|
|
4
|
+
*/
|
|
5
|
+
size: 'sm' | 'md' | 'lg' | 'xl';
|
|
6
|
+
/**
|
|
7
|
+
* The variant of the modal body
|
|
8
|
+
*/
|
|
9
|
+
variant: 'default' | 'table';
|
|
10
|
+
/**
|
|
11
|
+
* The title of the modal
|
|
12
|
+
*/
|
|
13
|
+
title: string;
|
|
14
|
+
/**
|
|
15
|
+
* Wether to show the modal or not
|
|
16
|
+
*/
|
|
17
|
+
show: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* The host element
|
|
20
|
+
*/
|
|
21
|
+
private _el;
|
|
22
|
+
private _hasFooterSlot;
|
|
23
|
+
componentWillLoad(): void;
|
|
24
|
+
render(): any;
|
|
25
|
+
}
|
|
@@ -202,6 +202,42 @@ export namespace Components {
|
|
|
202
202
|
*/
|
|
203
203
|
"variant": 'inline' | 'full-width' | 'full-screen' | 'modal';
|
|
204
204
|
}
|
|
205
|
+
interface PModal {
|
|
206
|
+
/**
|
|
207
|
+
* Wether to show the modal or not
|
|
208
|
+
*/
|
|
209
|
+
"show": boolean;
|
|
210
|
+
/**
|
|
211
|
+
* The size of the modal container
|
|
212
|
+
*/
|
|
213
|
+
"size": 'sm' | 'md' | 'lg' | 'xl';
|
|
214
|
+
/**
|
|
215
|
+
* The title of the modal
|
|
216
|
+
*/
|
|
217
|
+
"title": string;
|
|
218
|
+
/**
|
|
219
|
+
* The variant of the modal body
|
|
220
|
+
*/
|
|
221
|
+
"variant": 'default' | 'table';
|
|
222
|
+
}
|
|
223
|
+
interface PModalBackdrop {
|
|
224
|
+
}
|
|
225
|
+
interface PModalBody {
|
|
226
|
+
/**
|
|
227
|
+
* The variant of the modal body
|
|
228
|
+
*/
|
|
229
|
+
"variant": 'default' | 'table';
|
|
230
|
+
}
|
|
231
|
+
interface PModalContainer {
|
|
232
|
+
/**
|
|
233
|
+
* The size of the modal container
|
|
234
|
+
*/
|
|
235
|
+
"size": 'sm' | 'md' | 'lg' | 'xl';
|
|
236
|
+
}
|
|
237
|
+
interface PModalFooter {
|
|
238
|
+
}
|
|
239
|
+
interface PModalHeader {
|
|
240
|
+
}
|
|
205
241
|
interface PNavigationItem {
|
|
206
242
|
/**
|
|
207
243
|
* Wether the navigation item is active
|
|
@@ -408,6 +444,42 @@ declare global {
|
|
|
408
444
|
prototype: HTMLPLoaderElement;
|
|
409
445
|
new (): HTMLPLoaderElement;
|
|
410
446
|
};
|
|
447
|
+
interface HTMLPModalElement extends Components.PModal, HTMLStencilElement {
|
|
448
|
+
}
|
|
449
|
+
var HTMLPModalElement: {
|
|
450
|
+
prototype: HTMLPModalElement;
|
|
451
|
+
new (): HTMLPModalElement;
|
|
452
|
+
};
|
|
453
|
+
interface HTMLPModalBackdropElement extends Components.PModalBackdrop, HTMLStencilElement {
|
|
454
|
+
}
|
|
455
|
+
var HTMLPModalBackdropElement: {
|
|
456
|
+
prototype: HTMLPModalBackdropElement;
|
|
457
|
+
new (): HTMLPModalBackdropElement;
|
|
458
|
+
};
|
|
459
|
+
interface HTMLPModalBodyElement extends Components.PModalBody, HTMLStencilElement {
|
|
460
|
+
}
|
|
461
|
+
var HTMLPModalBodyElement: {
|
|
462
|
+
prototype: HTMLPModalBodyElement;
|
|
463
|
+
new (): HTMLPModalBodyElement;
|
|
464
|
+
};
|
|
465
|
+
interface HTMLPModalContainerElement extends Components.PModalContainer, HTMLStencilElement {
|
|
466
|
+
}
|
|
467
|
+
var HTMLPModalContainerElement: {
|
|
468
|
+
prototype: HTMLPModalContainerElement;
|
|
469
|
+
new (): HTMLPModalContainerElement;
|
|
470
|
+
};
|
|
471
|
+
interface HTMLPModalFooterElement extends Components.PModalFooter, HTMLStencilElement {
|
|
472
|
+
}
|
|
473
|
+
var HTMLPModalFooterElement: {
|
|
474
|
+
prototype: HTMLPModalFooterElement;
|
|
475
|
+
new (): HTMLPModalFooterElement;
|
|
476
|
+
};
|
|
477
|
+
interface HTMLPModalHeaderElement extends Components.PModalHeader, HTMLStencilElement {
|
|
478
|
+
}
|
|
479
|
+
var HTMLPModalHeaderElement: {
|
|
480
|
+
prototype: HTMLPModalHeaderElement;
|
|
481
|
+
new (): HTMLPModalHeaderElement;
|
|
482
|
+
};
|
|
411
483
|
interface HTMLPNavigationItemElement extends Components.PNavigationItem, HTMLStencilElement {
|
|
412
484
|
}
|
|
413
485
|
var HTMLPNavigationItemElement: {
|
|
@@ -466,6 +538,12 @@ declare global {
|
|
|
466
538
|
"p-illustration": HTMLPIllustrationElement;
|
|
467
539
|
"p-info-panel": HTMLPInfoPanelElement;
|
|
468
540
|
"p-loader": HTMLPLoaderElement;
|
|
541
|
+
"p-modal": HTMLPModalElement;
|
|
542
|
+
"p-modal-backdrop": HTMLPModalBackdropElement;
|
|
543
|
+
"p-modal-body": HTMLPModalBodyElement;
|
|
544
|
+
"p-modal-container": HTMLPModalContainerElement;
|
|
545
|
+
"p-modal-footer": HTMLPModalFooterElement;
|
|
546
|
+
"p-modal-header": HTMLPModalHeaderElement;
|
|
469
547
|
"p-navigation-item": HTMLPNavigationItemElement;
|
|
470
548
|
"p-pagination": HTMLPPaginationElement;
|
|
471
549
|
"p-pagination-item": HTMLPPaginationItemElement;
|
|
@@ -674,6 +752,42 @@ declare namespace LocalJSX {
|
|
|
674
752
|
*/
|
|
675
753
|
"variant"?: 'inline' | 'full-width' | 'full-screen' | 'modal';
|
|
676
754
|
}
|
|
755
|
+
interface PModal {
|
|
756
|
+
/**
|
|
757
|
+
* Wether to show the modal or not
|
|
758
|
+
*/
|
|
759
|
+
"show"?: boolean;
|
|
760
|
+
/**
|
|
761
|
+
* The size of the modal container
|
|
762
|
+
*/
|
|
763
|
+
"size"?: 'sm' | 'md' | 'lg' | 'xl';
|
|
764
|
+
/**
|
|
765
|
+
* The title of the modal
|
|
766
|
+
*/
|
|
767
|
+
"title"?: string;
|
|
768
|
+
/**
|
|
769
|
+
* The variant of the modal body
|
|
770
|
+
*/
|
|
771
|
+
"variant"?: 'default' | 'table';
|
|
772
|
+
}
|
|
773
|
+
interface PModalBackdrop {
|
|
774
|
+
}
|
|
775
|
+
interface PModalBody {
|
|
776
|
+
/**
|
|
777
|
+
* The variant of the modal body
|
|
778
|
+
*/
|
|
779
|
+
"variant"?: 'default' | 'table';
|
|
780
|
+
}
|
|
781
|
+
interface PModalContainer {
|
|
782
|
+
/**
|
|
783
|
+
* The size of the modal container
|
|
784
|
+
*/
|
|
785
|
+
"size"?: 'sm' | 'md' | 'lg' | 'xl';
|
|
786
|
+
}
|
|
787
|
+
interface PModalFooter {
|
|
788
|
+
}
|
|
789
|
+
interface PModalHeader {
|
|
790
|
+
}
|
|
677
791
|
interface PNavigationItem {
|
|
678
792
|
/**
|
|
679
793
|
* Wether the navigation item is active
|
|
@@ -793,6 +907,12 @@ declare namespace LocalJSX {
|
|
|
793
907
|
"p-illustration": PIllustration;
|
|
794
908
|
"p-info-panel": PInfoPanel;
|
|
795
909
|
"p-loader": PLoader;
|
|
910
|
+
"p-modal": PModal;
|
|
911
|
+
"p-modal-backdrop": PModalBackdrop;
|
|
912
|
+
"p-modal-body": PModalBody;
|
|
913
|
+
"p-modal-container": PModalContainer;
|
|
914
|
+
"p-modal-footer": PModalFooter;
|
|
915
|
+
"p-modal-header": PModalHeader;
|
|
796
916
|
"p-navigation-item": PNavigationItem;
|
|
797
917
|
"p-pagination": PPagination;
|
|
798
918
|
"p-pagination-item": PPaginationItem;
|
|
@@ -821,6 +941,12 @@ declare module "@stencil/core" {
|
|
|
821
941
|
"p-illustration": LocalJSX.PIllustration & JSXBase.HTMLAttributes<HTMLPIllustrationElement>;
|
|
822
942
|
"p-info-panel": LocalJSX.PInfoPanel & JSXBase.HTMLAttributes<HTMLPInfoPanelElement>;
|
|
823
943
|
"p-loader": LocalJSX.PLoader & JSXBase.HTMLAttributes<HTMLPLoaderElement>;
|
|
944
|
+
"p-modal": LocalJSX.PModal & JSXBase.HTMLAttributes<HTMLPModalElement>;
|
|
945
|
+
"p-modal-backdrop": LocalJSX.PModalBackdrop & JSXBase.HTMLAttributes<HTMLPModalBackdropElement>;
|
|
946
|
+
"p-modal-body": LocalJSX.PModalBody & JSXBase.HTMLAttributes<HTMLPModalBodyElement>;
|
|
947
|
+
"p-modal-container": LocalJSX.PModalContainer & JSXBase.HTMLAttributes<HTMLPModalContainerElement>;
|
|
948
|
+
"p-modal-footer": LocalJSX.PModalFooter & JSXBase.HTMLAttributes<HTMLPModalFooterElement>;
|
|
949
|
+
"p-modal-header": LocalJSX.PModalHeader & JSXBase.HTMLAttributes<HTMLPModalHeaderElement>;
|
|
824
950
|
"p-navigation-item": LocalJSX.PNavigationItem & JSXBase.HTMLAttributes<HTMLPNavigationItemElement>;
|
|
825
951
|
"p-pagination": LocalJSX.PPagination & JSXBase.HTMLAttributes<HTMLPPaginationElement>;
|
|
826
952
|
"p-pagination-item": LocalJSX.PPaginationItem & JSXBase.HTMLAttributes<HTMLPPaginationItemElement>;
|
package/package.json
CHANGED
package/dist/build/p-76464e0b.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
let e,t,n,l=!1,o=!1,s=!1,r=!1;const c="undefined"!=typeof window?window:{},i=c.document||{head:{}},f={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},a=e=>Promise.resolve(e),u=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),$=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=h(e,n),r=d(t,o),c=p(n);f.ael(s,l,r,c),(t.o=t.o||[]).push((()=>f.rel(s,l,r,c)))}))},d=(e,t)=>n=>{try{256&e.t?e.i[t](n):(e.u=e.u||[]).push([t,n])}catch(e){fe(e)}},h=(e,t)=>4&t?i:e,p=e=>0!=(2&e),y=new WeakMap,m=e=>"sc-"+e.$,b={},w=e=>"object"==(e=typeof e)||"function"===e,v=(e,t,...n)=>{let l=null,o=null,s=!1,r=!1;const c=[],i=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?i(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!w(l))&&(l+=""),s&&r?c[c.length-1].h+=l:c.push(s?S(null,l):l),r=s)};if(i(n),t){t.name&&(o=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,j);const f=S(e,null);return f.p=t,c.length>0&&(f.m=c),f.v=o,f},S=(e,t)=>({t:0,S:e,h:t,g:null,m:null,p:null,v:null}),g={},j={forEach:(e,t)=>e.map(k).forEach(t),map:(e,t)=>e.map(k).map(t).map(M)},k=e=>({vattrs:e.p,vchildren:e.m,vkey:e.j,vname:e.v,vtag:e.S,vtext:e.h}),M=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),v(e.vtag,t,...e.vchildren||[])}const t=S(e.vtag,e.vtext);return t.p=e.vattrs,t.m=e.vchildren,t.j=e.vkey,t.v=e.vname,t},O=(e,t,n,l,o,s)=>{if(n!==l){let r=ie(e,t),i=t.toLowerCase();if("class"===t){const t=e.classList,o=R(n),s=R(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("ref"===t)l&&l(e);else if(r||"o"!==t[0]||"n"!==t[1]){const c=w(l);if((r||c&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&s||o)&&!c&&e.setAttribute(t,l=!0===l?"":l)}else t="-"===t[2]?t.slice(3):ie(c,i)?i.slice(2):i[2]+t.slice(3),n&&f.rel(e,t,n,!1),l&&f.ael(e,t,l,!1)}},C=/\s/,R=e=>e?e.split(C):[],T=(e,t,n,l)=>{const o=11===t.g.nodeType&&t.g.host?t.g.host:t.g,s=e&&e.p||b,r=t.p||b;for(l in s)l in r||O(o,l,s[l],void 0,n,t.t);for(l in r)O(o,l,s[l],r[l],n,t.t)},x=(o,r,c,f)=>{const a=r.m[c];let u,$,d,h=0;if(l||(s=!0,"slot"===a.S&&(e&&f.classList.add(e+"-s"),a.t|=a.m?2:1)),null!==a.h)u=a.g=i.createTextNode(a.h);else if(1&a.t)u=a.g=i.createTextNode("");else if(u=a.g=i.createElement(2&a.t?"slot-fb":a.S),T(null,a,!1),null!=e&&u["s-si"]!==e&&u.classList.add(u["s-si"]=e),a.m)for(h=0;h<a.m.length;++h)$=x(o,a,h,u),$&&u.appendChild($);return u["s-hn"]=n,3&a.t&&(u["s-sr"]=!0,u["s-cr"]=t,u["s-sn"]=a.v||"",d=o&&o.m&&o.m[c],d&&d.S===a.S&&o.g&&E(o.g,!1)),u},E=(e,t)=>{f.t|=1;const l=e.childNodes;for(let e=l.length-1;e>=0;e--){const o=l[e];o["s-hn"]!==n&&o["s-ol"]&&(F(o).insertBefore(o,A(o)),o["s-ol"].remove(),o["s-ol"]=void 0,s=!0),t&&E(o,t)}f.t&=-2},N=(e,t,l,o,s,r)=>{let c,i=e["s-cr"]&&e["s-cr"].parentNode||e;for(i.shadowRoot&&i.tagName===n&&(i=i.shadowRoot);s<=r;++s)o[s]&&(c=x(null,l,s,e),c&&(o[s].g=c,i.insertBefore(c,A(t))))},P=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.g,_(l),o=!0,s["s-ol"]?s["s-ol"].remove():E(s,!0),s.remove())},W=(e,t)=>e.S===t.S&&("slot"!==e.S||e.v===t.v),A=e=>e&&e["s-ol"]||e,F=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,H=(e,t)=>{const n=t.g=e.g,l=e.m,o=t.m,s=t.h;let r;null===s?("slot"===t.S||T(e,t,!1),null!==l&&null!==o?((e,t,n,l)=>{let o,s=0,r=0,c=t.length-1,i=t[0],f=t[c],a=l.length-1,u=l[0],$=l[a];for(;s<=c&&r<=a;)null==i?i=t[++s]:null==f?f=t[--c]:null==u?u=l[++r]:null==$?$=l[--a]:W(i,u)?(H(i,u),i=t[++s],u=l[++r]):W(f,$)?(H(f,$),f=t[--c],$=l[--a]):W(i,$)?("slot"!==i.S&&"slot"!==$.S||E(i.g.parentNode,!1),H(i,$),e.insertBefore(i.g,f.g.nextSibling),i=t[++s],$=l[--a]):W(f,u)?("slot"!==i.S&&"slot"!==$.S||E(f.g.parentNode,!1),H(f,u),e.insertBefore(f.g,i.g),f=t[--c],u=l[++r]):(o=x(t&&t[r],n,r,e),u=l[++r],o&&F(i.g).insertBefore(o,A(i.g)));s>c?N(e,null==l[a+1]?null:l[a+1].g,n,l,r,a):r>a&&P(t,s,c)})(n,l,t,o):null!==o?(null!==e.h&&(n.textContent=""),N(n,null,t,o,0,o.length-1)):null!==l&&P(l,0,l.length-1)):(r=n["s-cr"])?r.parentNode.textContent=s:e.h!==s&&(n.data=s)},L=e=>{const t=e.childNodes;let n,l,o,s,r,c;for(l=0,o=t.length;l<o;l++)if(n=t[l],1===n.nodeType){if(n["s-sr"])for(r=n["s-sn"],n.hidden=!1,s=0;s<o;s++)if(c=t[s].nodeType,t[s]["s-hn"]!==n["s-hn"]||""!==r){if(1===c&&r===t[s].getAttribute("slot")){n.hidden=!0;break}}else if(1===c||3===c&&""!==t[s].textContent.trim()){n.hidden=!0;break}L(n)}},U=[],q=e=>{let t,n,l,s,r,c,i=0;const f=e.childNodes,a=f.length;for(;i<a;i++){if(t=f[i],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(l=n.parentNode.childNodes,s=t["s-sn"],c=l.length-1;c>=0;c--)n=l[c],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(V(n,s)?(r=U.find((e=>e.k===n)),o=!0,n["s-sn"]=n["s-sn"]||s,r?r.M=t:U.push({M:t,k:n}),n["s-sr"]&&U.map((e=>{V(e.k,n["s-sn"])&&(r=U.find((e=>e.k===n)),r&&!e.M&&(e.M=r.M))}))):U.some((e=>e.k===n))||U.push({k:n}));1===t.nodeType&&q(t)}},V=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,_=e=>{e.p&&e.p.ref&&e.p.ref(null),e.m&&e.m.map(_)},z=e=>se(e).O,B=(e,t,n)=>{const l=z(e);return{emit:e=>D(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},D=(e,t,n)=>{const l=f.ce(t,n);return e.dispatchEvent(l),l},G=(e,t)=>{t&&!e.C&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.C=t)))},I=(e,t)=>{if(e.t|=16,!(4&e.t))return G(e,e.R),we((()=>J(e,t)));e.t|=512},J=(e,t)=>{const n=e.i;let l;return t&&(e.t|=256,e.u&&(e.u.map((([e,t])=>Z(n,e,t))),e.u=null)),l=ee(l,(()=>Z(n,"componentWillRender"))),ee(l,(()=>K(e,n,t)))},K=async(e,t,n)=>{const l=e.O,o=l["s-rc"];n&&(e=>{const t=e.T,n=e.O,l=t.t,o=((e,t)=>{let n=m(t);const l=$e.get(n);if(e=11===e.nodeType?e:i,l)if("string"==typeof l){let t,o=y.get(e=e.head||e);o||y.set(e,o=new Set),o.has(n)||(t=i.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),o&&o.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);Q(e,t),o&&(o.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>X(e);0===t.length?n():(Promise.all(t).then(n),e.t|=4,t.length=0)}},Q=(r,c)=>{try{c=c.render(),r.t&=-17,r.t|=2,((r,c)=>{const a=r.O,u=r.T,$=r.N||S(null,null),d=(e=>e&&e.S===g)(c)?c:v(null,null,c);if(n=a.tagName,u.P&&(d.p=d.p||{},u.P.map((([e,t])=>d.p[t]=a[e]))),d.S=null,d.t|=4,r.N=d,d.g=$.g=a.shadowRoot||a,e=a["s-sc"],t=a["s-cr"],l=0!=(1&u.t),o=!1,H($,d),f.t|=1,s){let e,t,n,l,o,s;q(d.g);let r=0;for(;r<U.length;r++)e=U[r],t=e.k,t["s-ol"]||(n=i.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(r=0;r<U.length;r++)if(e=U[r],t=e.k,e.M){for(l=e.M.parentNode,o=e.M.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(s=n["s-nr"],s&&s["s-sn"]===t["s-sn"]&&l===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&l!==t.parentNode||t.nextSibling!==o)&&t!==o&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,o))}else 1===t.nodeType&&(t.hidden=!0)}o&&L(d.g),f.t&=-2,U.length=0})(r,c)}catch(e){fe(e,r.O)}return null},X=e=>{const t=e.O,n=e.R;64&e.t||(e.t|=64,te(t),e.W(t),n||Y()),e.C&&(e.C(),e.C=void 0),512&e.t&&be((()=>I(e,!1))),e.t&=-517},Y=()=>{te(i.documentElement),be((()=>D(c,"appload",{detail:{namespace:"paperless"}})))},Z=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){fe(e)}},ee=(e,t)=>e&&e.then?e.then(t):t(),te=e=>e.classList.add("hydrated"),ne=(e,t,n)=>{if(t.A){e.watchers&&(t.F=e.watchers);const l=Object.entries(t.A),o=e.prototype;if(l.map((([e,[l]])=>{(31&l||2&n&&32&l)&&Object.defineProperty(o,e,{get(){return((e,t)=>se(this).H.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=se(e),s=o.O,r=o.H.get(t),c=o.t,i=o.i;if(n=((e,t)=>null==e||w(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.A[t][0]),(!(8&c)||void 0===r)&&n!==r&&(!Number.isNaN(r)||!Number.isNaN(n))&&(o.H.set(t,n),i)){if(l.F&&128&c){const e=l.F[t];e&&e.map((e=>{try{i[e](n,r,t)}catch(e){fe(e,s)}}))}if(2==(18&c)){if(i.componentShouldUpdate&&!1===i.componentShouldUpdate(n,r,t))return;I(o,!1)}}})(this,e,n,t)},configurable:!0,enumerable:!0})})),1&n){const n=new Map;o.attributeChangedCallback=function(e,t,l){f.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(o.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const o=l[1]||e;return n.set(o,e),512&l[0]&&t.P.push([e,o]),o}))}}return e},le=(e,t={})=>{const n=[],l=t.exclude||[],o=c.customElements,s=i.head,r=s.querySelector("meta[charset]"),a=i.createElement("style"),d=[];let h,p=!0;Object.assign(f,t),f.l=new URL(t.resourcesUrl||"./",i.baseURI).href,e.map((e=>{e[1].map((t=>{const s={t:t[0],$:t[1],A:t[2],L:t[3]};s.A=t[2],s.L=t[3],s.P=[],s.F={};const r=s.$,c=class extends HTMLElement{constructor(e){super(e),ce(e=this,s),1&s.t&&e.attachShadow({mode:"open"})}connectedCallback(){h&&(clearTimeout(h),h=null),p?d.push(this):f.jmp((()=>(e=>{if(0==(1&f.t)){const t=se(e),n=t.T,l=()=>{};if(1&t.t)$(e,t,n.L);else{t.t|=1,12&n.t&&(e=>{const t=e["s-cr"]=i.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){G(t,t.R=n);break}}n.A&&Object.entries(n.A).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,o)=>{if(0==(32&t.t)){{if(t.t|=32,(o=ue(n)).then){const e=()=>{};o=await o,e()}o.isProxied||(n.F=o.watchers,ne(o,n,2),o.isProxied=!0);const e=()=>{};t.t|=8;try{new o(t)}catch(e){fe(e)}t.t&=-9,t.t|=128,e()}if(o.style){let e=o.style;const t=m(n);if(!$e.has(t)){const l=()=>{};((e,t,n)=>{let l=$e.get(e);u&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,$e.set(e,l)})(t,e,!!(1&n.t)),l()}}}const s=t.R,r=()=>I(t,!0);s&&s["s-rc"]?s["s-rc"].push(r):r()})(0,t,n)}l()}})(this)))}disconnectedCallback(){f.jmp((()=>(()=>{if(0==(1&f.t)){const e=se(this);e.o&&(e.o.map((e=>e())),e.o=void 0)}})()))}componentOnReady(){return se(this).U}};s.q=e[0],l.includes(r)||o.get(r)||(n.push(r),o.define(r,ne(c,s,1)))}))})),a.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",a.setAttribute("data-styles",""),s.insertBefore(a,r?r.nextSibling:s.firstChild),p=!1,d.length?d.map((e=>e.connectedCallback())):f.jmp((()=>h=setTimeout(Y,30)))},oe=new WeakMap,se=e=>oe.get(e),re=(e,t)=>oe.set(t.i=e,t),ce=(e,t)=>{const n={t:0,O:e,T:t,H:new Map};return n.U=new Promise((e=>n.W=e)),e["s-p"]=[],e["s-rc"]=[],$(e,n,t.L),oe.set(e,n)},ie=(e,t)=>t in e,fe=(e,t)=>(0,console.error)(e,t),ae=new Map,ue=e=>{const t=e.$.replace(/-/g,"_"),n=e.q,l=ae.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(ae.set(n,e),e[t])),fe)
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},$e=new Map,de=[],he=[],pe=(e,t)=>n=>{e.push(n),r||(r=!0,t&&4&f.t?be(me):f.raf(me))},ye=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){fe(e)}e.length=0},me=()=>{ye(de),ye(he),(r=de.length>0)&&f.raf(me)},be=e=>a().then(e),we=pe(he,!0);export{g as H,le as b,B as c,z as g,v as h,a as p,re as r}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,H as r}from"./p-76464e0b.js";const o=class{constructor(i){t(this,i)}render(){return i(r,{class:"p-divider h-px bg-mystic-medium my-2 w-full"})}};o.style=".static{position:static!important}.my-2{margin-bottom:.5rem!important;margin-top:.5rem!important}.h-px{height:1px!important}.w-full{width:100%!important}.bg-mystic-medium{--tw-bg-opacity:1!important;background-color:rgb(227 236 243/var(--tw-bg-opacity))!important}";export{o as p_divider}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
let e,t,n,l=!1,o=!1,s=!1,r=!1;const c="undefined"!=typeof window?window:{},i=c.document||{head:{}},f={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},a=e=>Promise.resolve(e),u=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),$=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=h(e,n),r=d(t,o),c=p(n);f.ael(s,l,r,c),(t.o=t.o||[]).push((()=>f.rel(s,l,r,c)))}))},d=(e,t)=>n=>{try{256&e.t?e.i[t](n):(e.u=e.u||[]).push([t,n])}catch(e){fe(e)}},h=(e,t)=>4&t?i:e,p=e=>0!=(2&e),y=new WeakMap,m=e=>"sc-"+e.$,b={},w=e=>"object"==(e=typeof e)||"function"===e,v=(e,t,...n)=>{let l=null,o=null,s=!1,r=!1;const c=[],i=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?i(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!w(l))&&(l+=""),s&&r?c[c.length-1].h+=l:c.push(s?S(null,l):l),r=s)};if(i(n),t){t.name&&(o=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,j);const f=S(e,null);return f.p=t,c.length>0&&(f.m=c),f.v=o,f},S=(e,t)=>({t:0,S:e,h:t,g:null,m:null,p:null,v:null}),g={},j={forEach:(e,t)=>e.map(k).forEach(t),map:(e,t)=>e.map(k).map(t).map(M)},k=e=>({vattrs:e.p,vchildren:e.m,vkey:e.j,vname:e.v,vtag:e.S,vtext:e.h}),M=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),v(e.vtag,t,...e.vchildren||[])}const t=S(e.vtag,e.vtext);return t.p=e.vattrs,t.m=e.vchildren,t.j=e.vkey,t.v=e.vname,t},O=(e,t,n,l,o,s)=>{if(n!==l){let r=ie(e,t),i=t.toLowerCase();if("class"===t){const t=e.classList,o=R(n),s=R(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("ref"===t)l&&l(e);else if(r||"o"!==t[0]||"n"!==t[1]){const c=w(l);if((r||c&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&s||o)&&!c&&e.setAttribute(t,l=!0===l?"":l)}else t="-"===t[2]?t.slice(3):ie(c,i)?i.slice(2):i[2]+t.slice(3),n&&f.rel(e,t,n,!1),l&&f.ael(e,t,l,!1)}},C=/\s/,R=e=>e?e.split(C):[],T=(e,t,n,l)=>{const o=11===t.g.nodeType&&t.g.host?t.g.host:t.g,s=e&&e.p||b,r=t.p||b;for(l in s)l in r||O(o,l,s[l],void 0,n,t.t);for(l in r)O(o,l,s[l],r[l],n,t.t)},x=(o,r,c,f)=>{const a=r.m[c];let u,$,d,h=0;if(l||(s=!0,"slot"===a.S&&(e&&f.classList.add(e+"-s"),a.t|=a.m?2:1)),null!==a.h)u=a.g=i.createTextNode(a.h);else if(1&a.t)u=a.g=i.createTextNode("");else if(u=a.g=i.createElement(2&a.t?"slot-fb":a.S),T(null,a,!1),null!=e&&u["s-si"]!==e&&u.classList.add(u["s-si"]=e),a.m)for(h=0;h<a.m.length;++h)$=x(o,a,h,u),$&&u.appendChild($);return u["s-hn"]=n,3&a.t&&(u["s-sr"]=!0,u["s-cr"]=t,u["s-sn"]=a.v||"",d=o&&o.m&&o.m[c],d&&d.S===a.S&&o.g&&E(o.g,!1)),u},E=(e,t)=>{f.t|=1;const l=e.childNodes;for(let e=l.length-1;e>=0;e--){const o=l[e];o["s-hn"]!==n&&o["s-ol"]&&(F(o).insertBefore(o,A(o)),o["s-ol"].remove(),o["s-ol"]=void 0,s=!0),t&&E(o,t)}f.t&=-2},N=(e,t,l,o,s,r)=>{let c,i=e["s-cr"]&&e["s-cr"].parentNode||e;for(i.shadowRoot&&i.tagName===n&&(i=i.shadowRoot);s<=r;++s)o[s]&&(c=x(null,l,s,e),c&&(o[s].g=c,i.insertBefore(c,A(t))))},P=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.g,_(l),o=!0,s["s-ol"]?s["s-ol"].remove():E(s,!0),s.remove())},W=(e,t)=>e.S===t.S&&("slot"!==e.S||e.v===t.v),A=e=>e&&e["s-ol"]||e,F=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,H=(e,t)=>{const n=t.g=e.g,l=e.m,o=t.m,s=t.h;let r;null===s?("slot"===t.S||T(e,t,!1),null!==l&&null!==o?((e,t,n,l)=>{let o,s=0,r=0,c=t.length-1,i=t[0],f=t[c],a=l.length-1,u=l[0],$=l[a];for(;s<=c&&r<=a;)null==i?i=t[++s]:null==f?f=t[--c]:null==u?u=l[++r]:null==$?$=l[--a]:W(i,u)?(H(i,u),i=t[++s],u=l[++r]):W(f,$)?(H(f,$),f=t[--c],$=l[--a]):W(i,$)?("slot"!==i.S&&"slot"!==$.S||E(i.g.parentNode,!1),H(i,$),e.insertBefore(i.g,f.g.nextSibling),i=t[++s],$=l[--a]):W(f,u)?("slot"!==i.S&&"slot"!==$.S||E(f.g.parentNode,!1),H(f,u),e.insertBefore(f.g,i.g),f=t[--c],u=l[++r]):(o=x(t&&t[r],n,r,e),u=l[++r],o&&F(i.g).insertBefore(o,A(i.g)));s>c?N(e,null==l[a+1]?null:l[a+1].g,n,l,r,a):r>a&&P(t,s,c)})(n,l,t,o):null!==o?(null!==e.h&&(n.textContent=""),N(n,null,t,o,0,o.length-1)):null!==l&&P(l,0,l.length-1)):(r=n["s-cr"])?r.parentNode.textContent=s:e.h!==s&&(n.data=s)},L=e=>{const t=e.childNodes;let n,l,o,s,r,c;for(l=0,o=t.length;l<o;l++)if(n=t[l],1===n.nodeType){if(n["s-sr"])for(r=n["s-sn"],n.hidden=!1,s=0;s<o;s++)if(c=t[s].nodeType,t[s]["s-hn"]!==n["s-hn"]||""!==r){if(1===c&&r===t[s].getAttribute("slot")){n.hidden=!0;break}}else if(1===c||3===c&&""!==t[s].textContent.trim()){n.hidden=!0;break}L(n)}},U=[],q=e=>{let t,n,l,s,r,c,i=0;const f=e.childNodes,a=f.length;for(;i<a;i++){if(t=f[i],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(l=n.parentNode.childNodes,s=t["s-sn"],c=l.length-1;c>=0;c--)n=l[c],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(V(n,s)?(r=U.find((e=>e.k===n)),o=!0,n["s-sn"]=n["s-sn"]||s,r?r.M=t:U.push({M:t,k:n}),n["s-sr"]&&U.map((e=>{V(e.k,n["s-sn"])&&(r=U.find((e=>e.k===n)),r&&!e.M&&(e.M=r.M))}))):U.some((e=>e.k===n))||U.push({k:n}));1===t.nodeType&&q(t)}},V=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,_=e=>{e.p&&e.p.ref&&e.p.ref(null),e.m&&e.m.map(_)},z=e=>se(e).O,B=(e,t,n)=>{const l=z(e);return{emit:e=>D(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},D=(e,t,n)=>{const l=f.ce(t,n);return e.dispatchEvent(l),l},G=(e,t)=>{t&&!e.C&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.C=t)))},I=(e,t)=>{if(e.t|=16,!(4&e.t))return G(e,e.R),we((()=>J(e,t)));e.t|=512},J=(e,t)=>{const n=e.i;let l;return t&&(e.t|=256,e.u&&(e.u.map((([e,t])=>Z(n,e,t))),e.u=null)),l=ee(l,(()=>Z(n,"componentWillRender"))),ee(l,(()=>K(e,n,t)))},K=async(e,t,n)=>{const l=e.O,o=l["s-rc"];n&&(e=>{const t=e.T,n=e.O,l=t.t,o=((e,t)=>{let n=m(t);const l=$e.get(n);if(e=11===e.nodeType?e:i,l)if("string"==typeof l){let t,o=y.get(e=e.head||e);o||y.set(e,o=new Set),o.has(n)||(t=i.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),o&&o.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);Q(e,t),o&&(o.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>X(e);0===t.length?n():(Promise.all(t).then(n),e.t|=4,t.length=0)}},Q=(r,c)=>{try{c=c.render(),r.t&=-17,r.t|=2,((r,c)=>{const a=r.O,u=r.T,$=r.N||S(null,null),d=(e=>e&&e.S===g)(c)?c:v(null,null,c);if(n=a.tagName,u.P&&(d.p=d.p||{},u.P.map((([e,t])=>d.p[t]=a[e]))),d.S=null,d.t|=4,r.N=d,d.g=$.g=a.shadowRoot||a,e=a["s-sc"],t=a["s-cr"],l=0!=(1&u.t),o=!1,H($,d),f.t|=1,s){let e,t,n,l,o,s;q(d.g);let r=0;for(;r<U.length;r++)e=U[r],t=e.k,t["s-ol"]||(n=i.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(r=0;r<U.length;r++)if(e=U[r],t=e.k,e.M){for(l=e.M.parentNode,o=e.M.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(s=n["s-nr"],s&&s["s-sn"]===t["s-sn"]&&l===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&l!==t.parentNode||t.nextSibling!==o)&&t!==o&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,o))}else 1===t.nodeType&&(t.hidden=!0)}o&&L(d.g),f.t&=-2,U.length=0})(r,c)}catch(e){fe(e,r.O)}return null},X=e=>{const t=e.O,n=e.R;64&e.t||(e.t|=64,te(t),e.W(t),n||Y()),e.C&&(e.C(),e.C=void 0),512&e.t&&be((()=>I(e,!1))),e.t&=-517},Y=()=>{te(i.documentElement),be((()=>D(c,"appload",{detail:{namespace:"paperless"}})))},Z=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){fe(e)}},ee=(e,t)=>e&&e.then?e.then(t):t(),te=e=>e.classList.add("hydrated"),ne=(e,t,n)=>{if(t.A){e.watchers&&(t.F=e.watchers);const l=Object.entries(t.A),o=e.prototype;if(l.map((([e,[l]])=>{(31&l||2&n&&32&l)&&Object.defineProperty(o,e,{get(){return((e,t)=>se(this).H.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=se(e),s=o.O,r=o.H.get(t),c=o.t,i=o.i;if(n=((e,t)=>null==e||w(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.A[t][0]),(!(8&c)||void 0===r)&&n!==r&&(!Number.isNaN(r)||!Number.isNaN(n))&&(o.H.set(t,n),i)){if(l.F&&128&c){const e=l.F[t];e&&e.map((e=>{try{i[e](n,r,t)}catch(e){fe(e,s)}}))}if(2==(18&c)){if(i.componentShouldUpdate&&!1===i.componentShouldUpdate(n,r,t))return;I(o,!1)}}})(this,e,n,t)},configurable:!0,enumerable:!0})})),1&n){const n=new Map;o.attributeChangedCallback=function(e,t,l){f.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(o.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const o=l[1]||e;return n.set(o,e),512&l[0]&&t.P.push([e,o]),o}))}}return e},le=(e,t={})=>{const n=[],l=t.exclude||[],o=c.customElements,s=i.head,r=s.querySelector("meta[charset]"),a=i.createElement("style"),d=[];let h,p=!0;Object.assign(f,t),f.l=new URL(t.resourcesUrl||"./",i.baseURI).href,e.map((e=>{e[1].map((t=>{const s={t:t[0],$:t[1],A:t[2],L:t[3]};s.A=t[2],s.L=t[3],s.P=[],s.F={};const r=s.$,c=class extends HTMLElement{constructor(e){super(e),ce(e=this,s),1&s.t&&e.attachShadow({mode:"open"})}connectedCallback(){h&&(clearTimeout(h),h=null),p?d.push(this):f.jmp((()=>(e=>{if(0==(1&f.t)){const t=se(e),n=t.T,l=()=>{};if(1&t.t)$(e,t,n.L);else{t.t|=1,12&n.t&&(e=>{const t=e["s-cr"]=i.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){G(t,t.R=n);break}}n.A&&Object.entries(n.A).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,o)=>{if(0==(32&t.t)){{if(t.t|=32,(o=ue(n)).then){const e=()=>{};o=await o,e()}o.isProxied||(n.F=o.watchers,ne(o,n,2),o.isProxied=!0);const e=()=>{};t.t|=8;try{new o(t)}catch(e){fe(e)}t.t&=-9,t.t|=128,e()}if(o.style){let e=o.style;const t=m(n);if(!$e.has(t)){const l=()=>{};((e,t,n)=>{let l=$e.get(e);u&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,$e.set(e,l)})(t,e,!!(1&n.t)),l()}}}const s=t.R,r=()=>I(t,!0);s&&s["s-rc"]?s["s-rc"].push(r):r()})(0,t,n)}l()}})(this)))}disconnectedCallback(){f.jmp((()=>(()=>{if(0==(1&f.t)){const e=se(this);e.o&&(e.o.map((e=>e())),e.o=void 0)}})()))}componentOnReady(){return se(this).U}};s.q=e[0],l.includes(r)||o.get(r)||(n.push(r),o.define(r,ne(c,s,1)))}))})),a.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",a.setAttribute("data-styles",""),s.insertBefore(a,r?r.nextSibling:s.firstChild),p=!1,d.length?d.map((e=>e.connectedCallback())):f.jmp((()=>h=setTimeout(Y,30)))},oe=new WeakMap,se=e=>oe.get(e),re=(e,t)=>oe.set(t.i=e,t),ce=(e,t)=>{const n={t:0,O:e,T:t,H:new Map};return n.U=new Promise((e=>n.W=e)),e["s-p"]=[],e["s-rc"]=[],$(e,n,t.L),oe.set(e,n)},ie=(e,t)=>t in e,fe=(e,t)=>(0,console.error)(e,t),ae=new Map,ue=e=>{const t=e.$.replace(/-/g,"_"),n=e.q,l=ae.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(ae.set(n,e),e[t])),fe)
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},$e=new Map,de=[],he=[],pe=(e,t)=>n=>{e.push(n),r||(r=!0,t&&4&f.t?be(me):f.raf(me))},ye=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){fe(e)}e.length=0},me=()=>{ye(de),ye(he),(r=de.length>0)&&f.raf(me)},be=e=>a().then(e),we=pe(he,!0);export{g as H,le as b,B as c,z as g,v as h,a as p,re as r}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,H as r}from"./p-76464e0b.js";const o=class{constructor(i){t(this,i)}render(){return i(r,{class:"p-divider h-px bg-mystic-medium my-2 w-full"})}};o.style=".static{position:static!important}.my-2{margin-bottom:.5rem!important;margin-top:.5rem!important}.h-px{height:1px!important}.w-full{width:100%!important}.bg-mystic-medium{--tw-bg-opacity:1!important;background-color:rgb(227 236 243/var(--tw-bg-opacity))!important}";export{o as p_divider}
|