@paperless/core 1.9.4 → 1.11.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/CHANGELOG.md +26 -0
- package/dist/build/p-2540301a.entry.js +3 -0
- package/dist/build/p-2540301a.entry.js.map +1 -0
- package/dist/build/p-2cb55f24.entry.js +2 -0
- package/dist/build/p-2cb55f24.entry.js.map +1 -0
- package/dist/build/p-fac13366.entry.js +2 -0
- package/dist/build/p-fac13366.entry.js.map +1 -0
- package/dist/build/paperless.css +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/build/paperless.esm.js.map +1 -1
- package/dist/cjs/index-1fde8b14.js +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-cropper.cjs.entry.js +2815 -0
- package/dist/cjs/p-cropper.cjs.entry.js.map +1 -0
- package/dist/cjs/p-modal-body_4.cjs.entry.js +3 -2
- package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -1
- package/dist/cjs/p-modal.cjs.entry.js +2 -1
- package/dist/cjs/p-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/atoms/modal-body/modal-body.component.css +1 -1
- package/dist/collection/components/atoms/modal-body/modal-body.component.js +20 -1
- package/dist/collection/components/atoms/modal-body/modal-body.component.js.map +1 -1
- package/dist/collection/components/molecules/cropper/cropper.component.css +1 -0
- package/dist/collection/components/molecules/cropper/cropper.component.js +235 -0
- package/dist/collection/components/molecules/cropper/cropper.component.js.map +1 -0
- package/dist/collection/components/molecules/cropper/test/cropper.component.e2e.js +26 -0
- package/dist/collection/components/molecules/cropper/test/cropper.component.e2e.js.map +1 -0
- package/dist/collection/components/molecules/cropper/test/cropper.component.spec.js +17 -0
- package/dist/collection/components/molecules/cropper/test/cropper.component.spec.js.map +1 -0
- package/dist/collection/components/organisms/modal/modal.component.js +21 -2
- package/dist/collection/components/organisms/modal/modal.component.js.map +1 -1
- package/dist/components/modal-body.component.js +5 -3
- package/dist/components/modal-body.component.js.map +1 -1
- package/dist/components/p-cropper.d.ts +11 -0
- package/dist/components/p-cropper.js +2841 -0
- package/dist/components/p-cropper.js.map +1 -0
- package/dist/components/p-modal.js +3 -1
- package/dist/components/p-modal.js.map +1 -1
- package/dist/esm/index-7b917f6b.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-cropper.entry.js +2811 -0
- package/dist/esm/p-cropper.entry.js.map +1 -0
- package/dist/esm/p-modal-body_4.entry.js +3 -2
- package/dist/esm/p-modal-body_4.entry.js.map +1 -1
- package/dist/esm/p-modal.entry.js +2 -1
- package/dist/esm/p-modal.entry.js.map +1 -1
- package/dist/esm/paperless.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/p-2540301a.entry.js +3 -0
- package/dist/paperless/p-2540301a.entry.js.map +1 -0
- package/dist/paperless/p-2cb55f24.entry.js +2 -0
- package/dist/paperless/p-2cb55f24.entry.js.map +1 -0
- package/dist/paperless/p-fac13366.entry.js +2 -0
- package/dist/paperless/p-fac13366.entry.js.map +1 -0
- package/dist/paperless/paperless.css +35 -0
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/paperless/paperless.esm.js.map +1 -1
- package/dist/style/form/_range.scss +13 -0
- package/dist/style/form/index.scss +1 -0
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/types/components/atoms/modal-body/modal-body.component.d.ts +4 -0
- package/dist/types/components/molecules/cropper/cropper.component.d.ts +38 -0
- package/dist/types/components/organisms/modal/modal.component.d.ts +4 -0
- package/dist/types/components.d.ts +61 -0
- package/hydrate/index.js +2834 -9
- package/package.json +3 -1
- package/dist/build/p-997962db.entry.js +0 -2
- package/dist/build/p-997962db.entry.js.map +0 -1
- package/dist/build/p-b7893a63.entry.js +0 -2
- package/dist/build/p-b7893a63.entry.js.map +0 -1
- package/dist/paperless/p-997962db.entry.js +0 -2
- package/dist/paperless/p-997962db.entry.js.map +0 -1
- package/dist/paperless/p-b7893a63.entry.js +0 -2
- package/dist/paperless/p-b7893a63.entry.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
|
-
const modalBodyComponentCss = ".rounded-b-none{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));padding:1.5rem}@media (min-width:40rem){:host{padding-left:2.5rem;padding-right:2.5rem}}@media (min-width:64rem){:host{padding-left:3.5rem;padding-right:3.5rem}}:host(.variant-table){padding-left:1.5rem;padding-right:1.5rem}:host(.is-rounded){border-bottom-left-radius:0;border-bottom-right-radius:0}@media (min-width:64rem){:host(.is-rounded){border-bottom-left-radius:.75rem;border-bottom-right-radius:.75rem}}
|
|
3
|
+
const modalBodyComponentCss = ".rounded-b-none{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.py-6{padding-bottom:1.5rem!important;padding-top:1.5rem!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));padding:1.5rem}@media (min-width:40rem){:host{padding-left:2.5rem;padding-right:2.5rem}}@media (min-width:64rem){:host{padding-left:3.5rem;padding-right:3.5rem}}:host(.variant-table){padding-left:1.5rem;padding-right:1.5rem}:host(.is-rounded){border-bottom-left-radius:0;border-bottom-right-radius:0}@media (min-width:64rem){:host(.is-rounded){border-bottom-left-radius:.75rem;border-bottom-right-radius:.75rem}}:host(.no-padding){padding:0}@media (min-width:40rem){.tablet\\:px-10{padding-left:2.5rem!important;padding-right:2.5rem!important}}.static{position:static!important}.rounded{border-radius:.25rem!important}";
|
|
4
4
|
|
|
5
5
|
const ModalBody = /*@__PURE__*/ proxyCustomElement(class ModalBody extends HTMLElement {
|
|
6
6
|
constructor() {
|
|
@@ -9,14 +9,16 @@ const ModalBody = /*@__PURE__*/ proxyCustomElement(class ModalBody extends HTMLE
|
|
|
9
9
|
this.__attachShadow();
|
|
10
10
|
this.variant = 'default';
|
|
11
11
|
this.rounded = false;
|
|
12
|
+
this.padding = true;
|
|
12
13
|
}
|
|
13
14
|
render() {
|
|
14
|
-
return (h(Host, { class: `p-modal-body variant-${this.variant} ${this.rounded && 'is-rounded'}` }, h("slot", null)));
|
|
15
|
+
return (h(Host, { class: `p-modal-body variant-${this.variant} ${this.rounded && 'is-rounded'} ${!this.padding && 'no-padding'}` }, h("slot", null)));
|
|
15
16
|
}
|
|
16
17
|
static get style() { return modalBodyComponentCss; }
|
|
17
18
|
}, [1, "p-modal-body", {
|
|
18
19
|
"variant": [1],
|
|
19
|
-
"rounded": [4]
|
|
20
|
+
"rounded": [4],
|
|
21
|
+
"padding": [4]
|
|
20
22
|
}]);
|
|
21
23
|
function defineCustomElement() {
|
|
22
24
|
if (typeof customElements === "undefined") {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"modal-body.component.js","mappings":";;AAAA,MAAM,qBAAqB,GAAG,
|
|
1
|
+
{"file":"modal-body.component.js","mappings":";;AAAA,MAAM,qBAAqB,GAAG,s7BAAs7B;;MCOv8B,SAAS;;;;;mBAIqB,SAAS;mBAKrB,KAAK;mBAKL,IAAI;;EAE/B,MAAM;IACF,QACI,EAAC,IAAI,IACD,KAAK,EAAE,wBAAwB,IAAI,CAAC,OAAO,IACvC,IAAI,CAAC,OAAO,IAAI,YACpB,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,YAAY,EAAE,IAEnC,eAAQ,CACL,EACT;GACL;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/atoms/modal-body/modal-body.component.scss?tag=p-modal-body&encapsulation=shadow","src/components/atoms/modal-body/modal-body.component.tsx"],"sourcesContent":[":host {\n @apply bg-white;\n @apply px-6 py-6 tablet:px-10 desktop-xs:px-14;\n}\n\n:host(.variant-table) {\n @apply px-6;\n}\n\n:host(.is-rounded) {\n @apply rounded-b-none desktop-xs:rounded-b-xxlarge;\n}\n\n:host(.no-padding) {\n @apply p-0;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'p-modal-body',\n styleUrl: 'modal-body.component.scss',\n shadow: true,\n})\nexport class ModalBody {\n /**\n * The variant of the modal body\n */\n @Prop() variant: 'default' | 'table' = 'default';\n\n /**\n * Wether the modal body should be rounded at the bottom\n */\n @Prop() rounded: boolean = false;\n\n /**\n * Wether the body should have padding\n */\n @Prop() padding: boolean = true;\n\n render() {\n return (\n <Host\n class={`p-modal-body variant-${this.variant} ${\n this.rounded && 'is-rounded'\n } ${!this.padding && 'no-padding'}`}\n >\n <slot />\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface PCropper extends Components.PCropper, HTMLElement {}
|
|
4
|
+
export const PCropper: {
|
|
5
|
+
prototype: PCropper;
|
|
6
|
+
new (): PCropper;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|