@paperless/core 2.12.14 → 2.12.15

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 (31) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/build/{p-c1f4c4af.entry.js → p-2be05484.entry.js} +2 -2
  3. package/dist/build/p-2be05484.entry.js.map +1 -0
  4. package/dist/build/{p-d7e2150d.js → p-844af0db.js} +1 -1
  5. package/dist/build/p-backdrop.entry.esm.js.map +1 -1
  6. package/dist/build/paperless.esm.js +1 -1
  7. package/dist/cjs/p-backdrop.cjs.entry.js +5 -4
  8. package/dist/cjs/p-backdrop.cjs.entry.js.map +1 -1
  9. package/dist/cjs/p-backdrop.entry.cjs.js.map +1 -1
  10. package/dist/collection/components/atoms/backdrop/backdrop.component.css +1 -1
  11. package/dist/collection/components/atoms/backdrop/backdrop.component.js +4 -3
  12. package/dist/collection/components/atoms/backdrop/backdrop.component.js.map +1 -1
  13. package/dist/components/{p-COwAcMV_.js → p-CZ9s2ypk.js} +7 -6
  14. package/dist/components/p-CZ9s2ypk.js.map +1 -0
  15. package/dist/components/p-backdrop.js +1 -1
  16. package/dist/components/p-drawer.js +1 -1
  17. package/dist/components/p-modal.js +1 -1
  18. package/dist/components/p-navbar.js +1 -1
  19. package/dist/esm/p-backdrop.entry.js +5 -4
  20. package/dist/esm/p-backdrop.entry.js.map +1 -1
  21. package/dist/index.html +1 -1
  22. package/dist/paperless/{p-c1f4c4af.entry.js → p-2be05484.entry.js} +2 -2
  23. package/dist/paperless/p-2be05484.entry.js.map +1 -0
  24. package/dist/paperless/p-backdrop.entry.esm.js.map +1 -1
  25. package/dist/paperless/paperless.esm.js +1 -1
  26. package/dist/sw.js +1 -1
  27. package/dist/sw.js.map +1 -1
  28. package/package.json +1 -1
  29. package/dist/build/p-c1f4c4af.entry.js.map +0 -1
  30. package/dist/components/p-COwAcMV_.js.map +0 -1
  31. package/dist/paperless/p-c1f4c4af.entry.js.map +0 -1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AC,QAAQ,CAAC,EAAE,CAAC,MAAc,CAAC,EAAE;YACpE;;AAGD,QAAA,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/atoms/backdrop/backdrop.component.css?tag=p-backdrop&encapsulation=shadow","src/components/atoms/backdrop/backdrop.component.tsx"],"sourcesContent":["","import {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tListen,\n\tProp,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { asBoolean } from '../../../utils/as-boolean';\nimport { ThemedHost } from '../../../internal/themed-host.component';\n\nconst backdrop = cva(\n\t[\n\t\t'flex',\n\t\t'fixed left-0 top-0 z-backdrop',\n\t\t'h-full w-full',\n\t\t'overflow-hidden',\n\t\t'bg-storm-800/40',\n\t\t'max-h-screen max-w-screen',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tblur: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'backdrop-blur-sm',\n\t\t\t},\n\t\t\tclosing: {\n\t\t\t\tfalse: 'animate-fade-in',\n\t\t\t\ttrue: 'animate-fade-out pointer-events-none',\n\t\t\t},\n\t\t},\n\t}\n);\n\nconst contentContainer = cva(\n\t[\n\t\t'h-full w-full overflow-y-auto overflow-x-hidden',\n\t\t'flex',\n\t\t'max-h-screen max-w-screen',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tmodal: [\n\t\t\t\t\t'pt-16 tablet:px-16 desktop-xs:py-8',\n\t\t\t\t\t'items-end desktop-xs:items-stretch justify-center',\n\t\t\t\t],\n\t\t\t\tdrawer: ['items-start justify-end desktop-xs:items-start'],\n\t\t\t},\n\t\t\tclosing: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'overflow-hidden',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-backdrop',\n\tstyleUrl: 'backdrop.component.css',\n\tshadow: true,\n})\nexport class Backdrop {\n\t/**\n\t * The variant of the backdrop\n\t */\n\t@Prop() variant: 'modal' | 'drawer' = 'modal';\n\n\t/**\n\t * Wether to apply blur on the background of the backdrop\n\t */\n\t@Prop() applyBlur: boolean = false;\n\n\t/**\n\t * Wether the backdrop is closing\n\t */\n\t@Prop() closing: boolean = false;\n\n\t/**\n\t * Wether we should scroll lock the body\n\t */\n\t@Prop() scrollLock: boolean = true;\n\n\t/**\n\t * The class passed to the component\n\t */\n\t@Prop() class: string;\n\n\t/**\n\t * When the backdrop is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tclicked: EventEmitter<MouseEvent>;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\tcomponentWillLoad() {\n\t\tif (this.scrollLock) {\n\t\t\tdocument.querySelector(':root').classList.add('scroll-lock');\n\t\t}\n\t}\n\n\tdisconnectedCallback() {\n\t\tif (this.scrollLock) {\n\t\t\tdocument.querySelector(':root').classList.remove('scroll-lock');\n\t\t}\n\t}\n\n\tcomponentWillUpdate() {\n\t\tif (!this.scrollLock) {\n\t\t\tdocument.querySelector(':root').classList.remove('scroll-lock');\n\t\t}\n\n\t\tif (this.scrollLock) {\n\t\t\tdocument.querySelector(':root').classList.add('scroll-lock');\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div\n\t\t\t\t\tclass={backdrop({\n\t\t\t\t\t\tblur: asBoolean(this.applyBlur),\n\t\t\t\t\t\tclosing: asBoolean(this.closing),\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={contentContainer({\n\t\t\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\t\t\tclosing: asBoolean(this.closing),\n\t\t\t\t\t\t})}\n\t\t\t\t\t>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n\n\t@Listen('click', { capture: true })\n\thandleClick(ev: MouseEvent) {\n\t\tif (ev.target !== this._el && !this._el.contains(ev.target as Node)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.clicked.emit(ev);\n\t}\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- {"version":3,"names":["backdropComponentCss","backdrop","cva","variants","blur","false","true","closing","contentContainer","variant","modal","drawer","Backdrop","applyBlur","scrollLock","class","clicked","componentWillLoad","this","document","querySelector","classList","add","disconnectedCallback","remove","componentWillUpdate","render","h","ThemedHost","key","asBoolean","handleClick","ev","target","_el","contains","emit"],"sources":["src/components/atoms/backdrop/backdrop.component.css?tag=p-backdrop&encapsulation=shadow","src/components/atoms/backdrop/backdrop.component.tsx"],"sourcesContent":[null,"import {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tListen,\n\tProp,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { asBoolean } from '../../../utils/as-boolean';\nimport { ThemedHost } from '../../../internal/themed-host.component';\n\nconst backdrop = cva(\n\t[\n\t\t'flex',\n\t\t'fixed left-0 top-0 z-backdrop',\n\t\t'h-full w-full',\n\t\t'overflow-hidden',\n\t\t'bg-storm-800/40',\n\t\t'max-h-screen max-w-screen',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tblur: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'backdrop-blur-sm',\n\t\t\t},\n\t\t\tclosing: {\n\t\t\t\tfalse: 'animate-fade-in',\n\t\t\t\ttrue: 'animate-fade-out pointer-events-none',\n\t\t\t},\n\t\t},\n\t}\n);\n\nconst contentContainer = cva(\n\t[\n\t\t'h-full w-full overflow-y-auto overflow-x-hidden',\n\t\t'flex',\n\t\t'max-h-screen max-w-screen',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tmodal: [\n\t\t\t\t\t'pt-16 tablet:px-16 desktop-xs:py-8',\n\t\t\t\t\t'items-end desktop-xs:items-stretch justify-center',\n\t\t\t\t],\n\t\t\t\tdrawer: ['items-start justify-end desktop-xs:items-start'],\n\t\t\t},\n\t\t\tclosing: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'overflow-hidden',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-backdrop',\n\tstyleUrl: 'backdrop.component.css',\n\tshadow: true,\n})\nexport class Backdrop {\n\t/**\n\t * The variant of the backdrop\n\t */\n\t@Prop() variant: 'modal' | 'drawer' = 'modal';\n\n\t/**\n\t * Wether to apply blur on the background of the backdrop\n\t */\n\t@Prop() applyBlur: boolean = false;\n\n\t/**\n\t * Wether the backdrop is closing\n\t */\n\t@Prop() closing: boolean = false;\n\n\t/**\n\t * Wether we should scroll lock the body\n\t */\n\t@Prop() scrollLock: boolean = true;\n\n\t/**\n\t * The class passed to the component\n\t */\n\t@Prop() class: string;\n\n\t/**\n\t * When the backdrop is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tclicked: EventEmitter<MouseEvent>;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\tcomponentWillLoad() {\n\t\tif (this.scrollLock) {\n\t\t\tdocument.querySelector(':root').classList.add('scroll-lock');\n\t\t}\n\t}\n\n\tdisconnectedCallback() {\n\t\tif (this.scrollLock) {\n\t\t\tdocument.querySelector(':root').classList.remove('scroll-lock');\n\t\t}\n\t}\n\n\tcomponentWillUpdate() {\n\t\tif (!this.scrollLock) {\n\t\t\tdocument.querySelector(':root').classList.remove('scroll-lock');\n\t\t}\n\n\t\tif (this.scrollLock) {\n\t\t\tdocument.querySelector(':root').classList.add('scroll-lock');\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div\n\t\t\t\t\tclass={backdrop({\n\t\t\t\t\t\tblur: asBoolean(this.applyBlur),\n\t\t\t\t\t\tclosing: asBoolean(this.closing),\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={contentContainer({\n\t\t\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\t\t\tclosing: asBoolean(this.closing),\n\t\t\t\t\t\t})}\n\t\t\t\t\t>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n\n\t@Listen('click', { capture: true })\n\thandleClick(ev: MouseEvent) {\n\t\tif (ev.target !== this._el && !this._el.contains(ev.target as Node)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.clicked.emit(ev);\n\t}\n}\n"],"mappings":"qNAAA,MAAMA,EAAuB,gmECa7B,MAAMC,EAAWC,EAChB,CACC,OACA,gCACA,gBACA,kBACA,kBACA,6BAED,CACCC,SAAU,CACTC,KAAM,CACLC,MAAO,KACPC,KAAM,oBAEPC,QAAS,CACRF,MAAO,kBACPC,KAAM,2CAMV,MAAME,EAAmBN,EACxB,CACC,kDACA,OACA,6BAED,CACCC,SAAU,CACTM,QAAS,CACRC,MAAO,CACN,qCACA,qDAEDC,OAAQ,CAAC,mDAEVJ,QAAS,CACRF,MAAO,KACPC,KAAM,sB,MAWGM,EAAQ,M,0DAIZH,QAA8B,QAK9BI,UAAqB,MAKrBN,QAAmB,MAKnBO,WAAsB,KAKtBC,MAQRC,Q,yBAOA,iBAAAC,GACC,GAAIC,KAAKJ,WAAY,CACpBK,SAASC,cAAc,SAASC,UAAUC,IAAI,c,EAIhD,oBAAAC,GACC,GAAIL,KAAKJ,WAAY,CACpBK,SAASC,cAAc,SAASC,UAAUG,OAAO,c,EAInD,mBAAAC,GACC,IAAKP,KAAKJ,WAAY,CACrBK,SAASC,cAAc,SAASC,UAAUG,OAAO,c,CAGlD,GAAIN,KAAKJ,WAAY,CACpBK,SAASC,cAAc,SAASC,UAAUC,IAAI,c,EAIhD,MAAAI,GACC,OACCC,EAACC,EAAU,CAAAC,IAAA,4CACV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