@paperless/core 3.26.2 → 3.26.3
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/dist/build/{p-ee7b4c48.js → p-1f450945.js} +1 -1
- package/dist/build/p-56ceed87.entry.js +1 -0
- package/dist/build/p-8ae7f9fd.entry.js +1 -0
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/p-attachment.cjs.entry.js +1 -1
- package/dist/cjs/p-dropzone.cjs.entry.js +1 -1
- package/dist/collection/components/molecules/attachment/attachment.component.js +1 -1
- package/dist/collection/components/molecules/dropzone/dropzone.component.js +1 -1
- package/dist/components/p-attachment.js +1 -1
- package/dist/components/p-dropzone.js +1 -1
- package/dist/esm/p-attachment.entry.js +1 -1
- package/dist/esm/p-dropzone.entry.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/p-56ceed87.entry.js +1 -0
- package/dist/paperless/p-8ae7f9fd.entry.js +1 -0
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/hydrate/index.js +2 -2
- package/hydrate/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/build/p-28098df8.entry.js +0 -1
- package/dist/build/p-d5de83c7.entry.js +0 -1
- package/dist/paperless/p-28098df8.entry.js +0 -1
- package/dist/paperless/p-d5de83c7.entry.js +0 -1
package/hydrate/index.js
CHANGED
|
@@ -11852,7 +11852,7 @@ class Attachment {
|
|
|
11852
11852
|
: this.delete).emit() })), this.enableCameraOnMobile &&
|
|
11853
11853
|
this.mode === 'write' &&
|
|
11854
11854
|
isTouch &&
|
|
11855
|
-
!this.value?.length && (hAsync("p-tooltip", { key: 'c1c6fb8cc84e89e3dd274c1af6b8cefc3a9b39e7', class: '\n w-8\n desktop-xs:hidden\n ', content: this.cameraTooltip }, hAsync("p-button", { key: 'fb5e43cbd06718b6169648b248195b0530a886fb', icon: 'camera', iconOnly: true, slot: 'trigger', variant: 'secondary', onOnClick: () => this._cameraClick() }))))), hAsync("input", { key: '
|
|
11855
|
+
!this.value?.length && (hAsync("p-tooltip", { key: 'c1c6fb8cc84e89e3dd274c1af6b8cefc3a9b39e7', class: '\n w-8\n desktop-xs:hidden\n ', content: this.cameraTooltip }, hAsync("p-button", { key: 'fb5e43cbd06718b6169648b248195b0530a886fb', icon: 'camera', iconOnly: true, slot: 'trigger', variant: 'secondary', onOnClick: () => this._cameraClick() }))))), hAsync("input", { key: 'ccd2a070b8d0cc7f829b806265a9fd12250953a4', accept: Array.isArray(this.accept) ? this.accept?.join(',') : this.accept, class: 'hidden', ref: el => (this._fileRef = el), type: 'file', onChange: ev => this._onFileChange(ev) }), hAsync("input", { key: '915a250d2be98c55bf180ac7eb79038d7001b006', accept: 'image/*', capture: 'true', class: 'hidden', ref: el => (this._cameraFileRef = el), type: 'file', onChange: ev => this._onFileChange(ev) })));
|
|
11856
11856
|
}
|
|
11857
11857
|
_uploadClick() {
|
|
11858
11858
|
if (!this._fileRef || this.mode !== 'write' || this.value?.length) {
|
|
@@ -95359,7 +95359,7 @@ class Dropzone {
|
|
|
95359
95359
|
`,
|
|
95360
95360
|
], {
|
|
95361
95361
|
'opacity-50': this._isOver,
|
|
95362
|
-
}) }, hAsync("span", { key: 'c9ec4e45968281ce5c2033264ff7c972b25bd799', class: 'font-medium' }, this.dragFileString), hAsync("span", { key: 'bc2aac22c381cdb7d5cbfaa42627f57d08cab115', class: 'font-normal' }, this.orClickString)))), hAsync("input", { key: '
|
|
95362
|
+
}) }, hAsync("span", { key: 'c9ec4e45968281ce5c2033264ff7c972b25bd799', class: 'font-medium' }, this.dragFileString), hAsync("span", { key: 'bc2aac22c381cdb7d5cbfaa42627f57d08cab115', class: 'font-normal' }, this.orClickString)))), hAsync("input", { key: 'd7569817461cc246b0d17e9f8cf238ea169ad436', accept: this.acceptGroup == 'any' ? '' : 'image/*', class: 'hidden', multiple: this.allowMultiple === true ? true : undefined, ref: el => (this._fileRef = el), type: 'file', onChange: ev => this._onFileChange(ev) })));
|
|
95363
95363
|
}
|
|
95364
95364
|
onDrop(ev) {
|
|
95365
95365
|
const files = this._getFiles(ev);
|
package/hydrate/index.mjs
CHANGED
|
@@ -11850,7 +11850,7 @@ class Attachment {
|
|
|
11850
11850
|
: this.delete).emit() })), this.enableCameraOnMobile &&
|
|
11851
11851
|
this.mode === 'write' &&
|
|
11852
11852
|
isTouch &&
|
|
11853
|
-
!this.value?.length && (hAsync("p-tooltip", { key: 'c1c6fb8cc84e89e3dd274c1af6b8cefc3a9b39e7', class: '\n w-8\n desktop-xs:hidden\n ', content: this.cameraTooltip }, hAsync("p-button", { key: 'fb5e43cbd06718b6169648b248195b0530a886fb', icon: 'camera', iconOnly: true, slot: 'trigger', variant: 'secondary', onOnClick: () => this._cameraClick() }))))), hAsync("input", { key: '
|
|
11853
|
+
!this.value?.length && (hAsync("p-tooltip", { key: 'c1c6fb8cc84e89e3dd274c1af6b8cefc3a9b39e7', class: '\n w-8\n desktop-xs:hidden\n ', content: this.cameraTooltip }, hAsync("p-button", { key: 'fb5e43cbd06718b6169648b248195b0530a886fb', icon: 'camera', iconOnly: true, slot: 'trigger', variant: 'secondary', onOnClick: () => this._cameraClick() }))))), hAsync("input", { key: 'ccd2a070b8d0cc7f829b806265a9fd12250953a4', accept: Array.isArray(this.accept) ? this.accept?.join(',') : this.accept, class: 'hidden', ref: el => (this._fileRef = el), type: 'file', onChange: ev => this._onFileChange(ev) }), hAsync("input", { key: '915a250d2be98c55bf180ac7eb79038d7001b006', accept: 'image/*', capture: 'true', class: 'hidden', ref: el => (this._cameraFileRef = el), type: 'file', onChange: ev => this._onFileChange(ev) })));
|
|
11854
11854
|
}
|
|
11855
11855
|
_uploadClick() {
|
|
11856
11856
|
if (!this._fileRef || this.mode !== 'write' || this.value?.length) {
|
|
@@ -95357,7 +95357,7 @@ class Dropzone {
|
|
|
95357
95357
|
`,
|
|
95358
95358
|
], {
|
|
95359
95359
|
'opacity-50': this._isOver,
|
|
95360
|
-
}) }, hAsync("span", { key: 'c9ec4e45968281ce5c2033264ff7c972b25bd799', class: 'font-medium' }, this.dragFileString), hAsync("span", { key: 'bc2aac22c381cdb7d5cbfaa42627f57d08cab115', class: 'font-normal' }, this.orClickString)))), hAsync("input", { key: '
|
|
95360
|
+
}) }, hAsync("span", { key: 'c9ec4e45968281ce5c2033264ff7c972b25bd799', class: 'font-medium' }, this.dragFileString), hAsync("span", { key: 'bc2aac22c381cdb7d5cbfaa42627f57d08cab115', class: 'font-normal' }, this.orClickString)))), hAsync("input", { key: 'd7569817461cc246b0d17e9f8cf238ea169ad436', accept: this.acceptGroup == 'any' ? '' : 'image/*', class: 'hidden', multiple: this.allowMultiple === true ? true : undefined, ref: el => (this._fileRef = el), type: 'file', onChange: ev => this._onFileChange(ev) })));
|
|
95361
95361
|
}
|
|
95362
95362
|
onDrop(ev) {
|
|
95363
95363
|
const files = this._getFiles(ev);
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,a as t,h as r,F as a}from"./p-yFtRjnrU.js";import{c as i}from"./p-CBWjHURv.js";import{e as o}from"./p-CWO2YJCh.js";import{c as d}from"./p-xs4N_Y-0.js";import"./p-ChV9xqsO.js";const s=i(["flex flex-1 items-center justify-start gap-2","h-8 min-w-0 rounded-lg px-2","border border-solid","bg-white-600 text-storm-200","dark:bg-white/15 dark:text-hurricane-200"],{variants:{click:{false:null,true:"cursor-pointer"},error:{false:"\n border-storm-100\n dark:border-white/15\n ",true:"\n border-negative-red-500\n dark:border-negative-red-alternative\n "}}}),h=class{constructor(r){e(this,r),this.upload=t(this,"upload",3),this.download=t(this,"download",3),this.delete=t(this,"delete",3)}enableCameraOnMobile=!1;value;fileId;accept=null;label;helper;required=!0;mode="read";placeholder="Upload a file...";cameraTooltip="Camera";downloadTooltip="Download";uploadTooltip="Upload";deleteTooltip="Delete";loading=!1;error;upload;download;delete;_fileRef;_cameraFileRef;render(){let e=r("p-icon",{key:"92543de0489a337c848126766f819db2fd41d71a",class:"text-storm-300",variant:"attachment"});this.error&&(e=r("p-icon",{key:"054ab596512483fadb5ef423d3af05a1245a7897",class:"text-negative-red-500",variant:"warning"}));const t=o(),i="min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm";return r(a,{key:"dfc02ee49966fa6009702b16c5e5ec70d881cf75"},r("p-field-container",{key:"5f68f5218a1ee05b02a3744a9189c42ec4bd6d9e",error:this.error,forceShowTooltip:!!this.error?.length,helper:this.helper,label:this.label,required:this.required,variant:"write"},r("div",{key:"959c70c73218f0c2b07b6645f2fcfe8b1ce9224d",class:"flex w-full items-start gap-2",slot:"content"},r("div",{key:"e6d80d5d7d14d0acedb3d957e19032bf27c9b375",class:s({click:"write"===this.mode&&!this.value?.length,error:!!this.error?.length}),onClick:()=>this._uploadClick()},e,r("span",{key:"7e7f35e5e13a026f75771dde94cbdc55b4fc3739",class:d(i,"\n peer\n empty:hidden\n dark:text-white\n ")},this.value),r("span",{key:"74f7181ec319d38f6bf3a9ba55b8a506a80be964",class:d(i,"\n hidden\n peer-empty:block\n ")},this.placeholder)),r("p-tooltip",{key:"ea7aba4d71cf0843b31b2a7b777de62ed2e1a313",class:"w-8",content:"read"===this.mode?this.downloadTooltip:this.value?.length?this.deleteTooltip:this.uploadTooltip},r("p-button",{key:"f581f7d0988cc99b0c6697778592b90c9191dc1a",disabled:this.loading,icon:"read"===this.mode?"download":this.value?.length?"trash":"upload",iconOnly:!0,loading:this.loading,slot:"trigger",variant:"secondary",onOnClick:()=>"write"!==this.mode||this.value?.length?("read"===this.mode?this.download:this.delete).emit():this._uploadClick()})),this.enableCameraOnMobile&&"write"===this.mode&&t&&!this.value?.length&&r("p-tooltip",{key:"c1c6fb8cc84e89e3dd274c1af6b8cefc3a9b39e7",class:"\n w-8\n desktop-xs:hidden\n ",content:this.cameraTooltip},r("p-button",{key:"fb5e43cbd06718b6169648b248195b0530a886fb",icon:"camera",iconOnly:!0,slot:"trigger",variant:"secondary",onOnClick:()=>this._cameraClick()})))),r("input",{key:"92f7921316dcf7937bc10fcad782fefd429d6688",accept:Array.isArray(this.accept)?this.accept?.join(","):this.accept,class:"hidden",name:"attachment",ref:e=>this._fileRef=e,type:"file",onChange:e=>this._onFileChange(e)}),r("input",{key:"341272326c34577b88fe9f959779b5a0f6435ccc",accept:"image/*",capture:"true",class:"hidden",name:"camera",ref:e=>this._cameraFileRef=e,type:"file",onChange:e=>this._onFileChange(e)}))}_uploadClick(){this._fileRef&&"write"===this.mode&&!this.value?.length&&this._fileRef.click()}_cameraClick(){this.enableCameraOnMobile&&o()&&this._cameraFileRef&&"write"===this.mode&&this._cameraFileRef?.click()}_onFileChange(e){const t=e.target,r=t.files?.[0];if(r){this.loading=!0;const e=new FileReader;e.addEventListener("load",(e=>this._onLoad(r,e?.currentTarget?.result))),e.readAsDataURL(r)}}_onLoad(e,t){this.upload.emit({fileId:this.fileId,result:t,file:e}),this._fileRef&&(this._fileRef.value=""),this._cameraFileRef&&(this._cameraFileRef.value=""),this.loading=!1}};h.style=".block{display:block}*{box-sizing:border-box}:host{display:block;width:100%}.static{position:static}.flex{display:flex}.hidden{display:none}.h-8{height:2rem}.w-8{width:2rem}.w-full{width:100%}.min-w-0{min-width:0}.flex-1{flex:1 1 0%}.cursor-pointer{cursor:pointer}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-solid{border-style:solid}.border-negative-red-500{--tw-border-opacity:1;border-color:rgb(230 30 30/var(--tw-border-opacity,1))}.border-storm-100{--tw-border-opacity:1;border-color:rgb(209 210 212/var(--tw-border-opacity,1))}.bg-white-600{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))}.px-2{padding-left:.5rem;padding-right:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-negative-red-500{--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.text-storm-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.empty\\:hidden:empty{display:none}.peer:empty~.peer-empty\\:block{display:block}@media (min-width:64rem){.desktop-xs\\:hidden{display:none}}.dark\\:border-negative-red-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(255 92 92/var(--tw-border-opacity,1))}.dark\\:border-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:border-negative-red-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(255 92 92/var(--tw-border-opacity,1))}.dark\\:border-white\\/15:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}";export{h as p_attachment}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,a as e,d as r,h as o}from"./p-yFtRjnrU.js";import{c as a}from"./p-CBWjHURv.js";import{T as d}from"./p-CSySY6aC.js";import{c as i}from"./p-xs4N_Y-0.js";import"./p-ChV9xqsO.js";import"./p-6XOzWrsN.js";const h=a(["group/dropzone","flex h-inherit w-full flex-col items-center justify-center gap-2","cursor-pointer","rounded-lg","border","p-4"],{variants:{uploaded:{false:"border-dashed",true:"border-solid"},isOver:{true:["border-dashed","border-indigo-500 bg-indigo-50","dark:border-indigo-700 dark:bg-indigo-700/10"],false:""}},compoundVariants:[{uploaded:!0,isOver:!1,class:["border-solid border-positive-green-500 bg-positive-green-50"]},{uploaded:!1,isOver:!1,class:["border-white-800 bg-white-600","hover:border-indigo-500 hover:bg-indigo-50","\n dark:border-white/10 dark:bg-white/5\n dark:hover:border-indigo-700 dark:hover:bg-indigo-700/10\n "]}]}),c=class{constructor(r){t(this,r),this.upload=e(this,"upload",3)}icon="file-export";showIcon=!0;acceptGroup="any";fileId;loading=!1;allowMultiple=!0;uploaded=!1;addedString="Toegevoegd";dragFileString="Sleep je bestand hierheen";orClickString="of klik om te uploaden";upload;get _el(){return r(this)}_isOver=!1;_fileRef;_filesToProcess=0;_results=[];_documentBlocked=!1;_preventDefault=t=>t.preventDefault();componentWillRender(){if(!this._isOver&&this._documentBlocked)return document.removeEventListener("drop",this._preventDefault),document.removeEventListener("dragover",this._preventDefault),void(this._documentBlocked=!1);this._isOver&&(document.addEventListener("drop",this._preventDefault),document.addEventListener("dragover",this._preventDefault),this._documentBlocked=!0)}render(){const t=this._el.innerHTML?.length>0;return o(d,{key:"7c1db4cb49b8699a6aa11ffb0b6fe4d496dabee2"},o("div",{key:"a059feda628b54161629ea0e05dbbfb0fa8e4aba",class:h({isOver:this._isOver,uploaded:this.uploaded}),onClick:()=>this._uploadClick()},!this.loading&&this.showIcon&&o("p-icon",{key:"79d280c89d5274171ba689463491ab9386712353",class:i("\n group-hover/dropzone:text-indigo-900\n dark:group-hover/dropzone:text-indigo-700\n ",{"text-positive-green-800":this.uploaded,"text-storm-300 dark:text-hurricane-200":!this._isOver&&!this.uploaded,"text-indigo-900 dark:text-indigo-700":this._isOver}),variant:this.icon}),this.loading&&o("p-loader",{key:"7c28c02bada55efe9d2045b3a42a7c3c2139ee76"}),t&&o("p",{key:"78208423e2b95c23a5303f8fca3300e06b5b4d86",class:i("m-0 p-0 text-lg font-bold",{"dark:text-white":!this.uploaded||this._isOver,"text-storm-500":this.uploaded&&!this._isOver})},o("slot",{key:"c0656e295223d620af579278f1c763eb7f368acf"})),this.uploaded&&!this._isOver&&o("div",{key:"e5ebd90b568883a025118f3df155188b21f1f67e",class:"flex items-center gap-2 text-positive-green-800"},o("p-icon",{key:"782fc223bd7de1a5d2e7e78bce753e32160fb477",variant:"check-circle"}),o("span",{key:"063369d8309f4d992b53d8db3165d4f9ed663992",class:"font-medium"},this.addedString)),(!this.uploaded||this._isOver)&&o("div",{key:"c05af902cc62cfdbb7feea9de5aabf567c6d22f5",class:i(["flex flex-col text-center","group-hover/dropzone:opacity-50","\n text-storm-300\n dark:text-hurricane-300\n "],{"opacity-50":this._isOver})},o("span",{key:"c9ec4e45968281ce5c2033264ff7c972b25bd799",class:"font-medium"},this.dragFileString),o("span",{key:"bc2aac22c381cdb7d5cbfaa42627f57d08cab115",class:"font-normal"},this.orClickString))),o("input",{key:"38b25c010d7be237a2f2f2c7a8e96d343ce6c725",accept:"any"==this.acceptGroup?"":"image/*",class:"hidden",multiple:!0===this.allowMultiple||void 0,name:"dropzone",ref:t=>this._fileRef=t,type:"file",onChange:t=>this._onFileChange(t)}))}onDrop(t){const e=this._getFiles(t);e?.length&&(this._isOver=!1,this._processFiles(e))}onDragOver(t){this._isFilesEvent(t)&&(this._isOver=!0)}onDragLeave(){this._isOver=!1}_isFilesEvent(t){return!!t.dataTransfer&&0!==[...t.dataTransfer.items].filter((t=>"file"===t.kind)).length}_getFiles(t){if(!this._isFilesEvent(t))return;const e=t.dataTransfer?.files??[];return 0!==e.length?[...e]:void 0}_uploadClick(){this._fileRef&&this._fileRef.click()}_onFileChange(t){const e=t.target;if(!e.files)return;const r=[...e.files];r?.length&&this._processFiles(r)}_processFiles(t){this._results=[],this.allowMultiple||(t=[t[0]]),this._filesToProcess=t.length;for(const e of t)this._processFile(e)}_processFile(t){this.loading=!0;const e=new FileReader;e.addEventListener("load",(e=>this._onLoad(t,e?.currentTarget?.result))),e.readAsDataURL(t)}_onLoad(t,e){if(this._results.push({file:t,result:e}),this._results?.length<this._filesToProcess)return;const r={fileId:this.fileId,results:this._results};1!==this._results.length&&this.allowMultiple||(r.file=this._results[0].file,r.result=this._results[0].result),this.upload.emit(r),this._fileRef&&(this._fileRef.value=""),this.loading=!1}};c.style="*{box-sizing:border-box}.static{position:static}.m-0{margin:0}.flex{display:flex}.hidden{display:none}.h-inherit{height:inherit}.w-full{width:100%}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-solid{border-style:solid}.border-dashed{border-style:dashed}.border-indigo-500{--tw-border-opacity:1;border-color:rgb(142 179 251/var(--tw-border-opacity,1))}.border-positive-green-500{--tw-border-opacity:1;border-color:rgb(92 195 14/var(--tw-border-opacity,1))}.border-white-800{--tw-border-opacity:1;border-color:rgb(228 227 227/var(--tw-border-opacity,1))}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.bg-positive-green-50{--tw-bg-opacity:1;background-color:rgb(234 253 227/var(--tw-bg-opacity,1))}.bg-white-600{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))}.p-0{padding:0}.p-4{padding:1rem}.text-center{text-align:center}.text-lg{font-size:1.125rem;line-height:1.75rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.text-hurricane-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-indigo-700{--tw-text-opacity:1;color:rgb(47 111 240/var(--tw-text-opacity,1))}.text-indigo-900{--tw-text-opacity:1;color:rgb(19 73 182/var(--tw-text-opacity,1))}.text-positive-green-800{--tw-text-opacity:1;color:rgb(47 100 7/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.opacity-50{opacity:.5}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.hover\\:border-indigo-500:hover{--tw-border-opacity:1;border-color:rgb(142 179 251/var(--tw-border-opacity,1))}.hover\\:bg-indigo-50:hover{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.group\\/dropzone:hover .group-hover\\/dropzone\\:text-indigo-900{--tw-text-opacity:1;color:rgb(19 73 182/var(--tw-text-opacity,1))}.group\\/dropzone:hover .group-hover\\/dropzone\\:opacity-50{opacity:.5}.dark\\:border-indigo-700:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(47 111 240/var(--tw-border-opacity,1))}.dark\\:border-white\\/10:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.1)}.dark\\:bg-indigo-700\\/10:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(47,111,240,.1)}.dark\\:bg-white\\/5:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.05)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-indigo-700:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(47 111 240/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:border-indigo-700:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(47 111 240/var(--tw-border-opacity,1))}.dark\\:hover\\:bg-indigo-700\\/10:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(47,111,240,.1)}.group\\/dropzone:hover .dark\\:group-hover\\/dropzone\\:text-indigo-700:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(47 111 240/var(--tw-text-opacity,1))}.dark\\:border-indigo-700:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(47 111 240/var(--tw-border-opacity,1))}.dark\\:border-white\\/10:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.1)}.dark\\:bg-indigo-700\\/10:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(47,111,240,.1)}.dark\\:bg-white\\/5:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.05)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-indigo-700:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(47 111 240/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:border-indigo-700:hover:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(47 111 240/var(--tw-border-opacity,1))}.dark\\:hover\\:bg-indigo-700\\/10:hover:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(47,111,240,.1)}.group\\/dropzone:hover .dark\\:group-hover\\/dropzone\\:text-indigo-700:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(47 111 240/var(--tw-text-opacity,1))}";export{c as p_dropzone}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,a as t,h as r,F as a}from"./p-yFtRjnrU.js";import{c as i}from"./p-CBWjHURv.js";import{e as o}from"./p-CWO2YJCh.js";import{c as d}from"./p-xs4N_Y-0.js";import"./p-ChV9xqsO.js";const s=i(["flex flex-1 items-center justify-start gap-2","h-8 min-w-0 rounded-lg px-2","border border-solid","bg-white-600 text-storm-200","dark:bg-white/15 dark:text-hurricane-200"],{variants:{click:{false:null,true:"cursor-pointer"},error:{false:"\n border-storm-100\n dark:border-white/15\n ",true:"\n border-negative-red-500\n dark:border-negative-red-alternative\n "}}}),h=class{constructor(r){e(this,r),this.upload=t(this,"upload",3),this.download=t(this,"download",3),this.delete=t(this,"delete",3)}enableCameraOnMobile=!1;value;fileId;accept=null;label;helper;required=!0;mode="read";placeholder="Upload a file...";cameraTooltip="Camera";downloadTooltip="Download";uploadTooltip="Upload";deleteTooltip="Delete";loading=!1;error;upload;download;delete;_fileRef;_cameraFileRef;render(){let e=r("p-icon",{key:"92543de0489a337c848126766f819db2fd41d71a",class:"text-storm-300",variant:"attachment"});this.error&&(e=r("p-icon",{key:"054ab596512483fadb5ef423d3af05a1245a7897",class:"text-negative-red-500",variant:"warning"}));const t=o(),i="min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm";return r(a,{key:"dfc02ee49966fa6009702b16c5e5ec70d881cf75"},r("p-field-container",{key:"5f68f5218a1ee05b02a3744a9189c42ec4bd6d9e",error:this.error,forceShowTooltip:!!this.error?.length,helper:this.helper,label:this.label,required:this.required,variant:"write"},r("div",{key:"959c70c73218f0c2b07b6645f2fcfe8b1ce9224d",class:"flex w-full items-start gap-2",slot:"content"},r("div",{key:"e6d80d5d7d14d0acedb3d957e19032bf27c9b375",class:s({click:"write"===this.mode&&!this.value?.length,error:!!this.error?.length}),onClick:()=>this._uploadClick()},e,r("span",{key:"7e7f35e5e13a026f75771dde94cbdc55b4fc3739",class:d(i,"\n peer\n empty:hidden\n dark:text-white\n ")},this.value),r("span",{key:"74f7181ec319d38f6bf3a9ba55b8a506a80be964",class:d(i,"\n hidden\n peer-empty:block\n ")},this.placeholder)),r("p-tooltip",{key:"ea7aba4d71cf0843b31b2a7b777de62ed2e1a313",class:"w-8",content:"read"===this.mode?this.downloadTooltip:this.value?.length?this.deleteTooltip:this.uploadTooltip},r("p-button",{key:"f581f7d0988cc99b0c6697778592b90c9191dc1a",disabled:this.loading,icon:"read"===this.mode?"download":this.value?.length?"trash":"upload",iconOnly:!0,loading:this.loading,slot:"trigger",variant:"secondary",onOnClick:()=>"write"!==this.mode||this.value?.length?("read"===this.mode?this.download:this.delete).emit():this._uploadClick()})),this.enableCameraOnMobile&&"write"===this.mode&&t&&!this.value?.length&&r("p-tooltip",{key:"c1c6fb8cc84e89e3dd274c1af6b8cefc3a9b39e7",class:"\n w-8\n desktop-xs:hidden\n ",content:this.cameraTooltip},r("p-button",{key:"fb5e43cbd06718b6169648b248195b0530a886fb",icon:"camera",iconOnly:!0,slot:"trigger",variant:"secondary",onOnClick:()=>this._cameraClick()})))),r("input",{key:"92f7921316dcf7937bc10fcad782fefd429d6688",accept:Array.isArray(this.accept)?this.accept?.join(","):this.accept,class:"hidden",name:"attachment",ref:e=>this._fileRef=e,type:"file",onChange:e=>this._onFileChange(e)}),r("input",{key:"341272326c34577b88fe9f959779b5a0f6435ccc",accept:"image/*",capture:"true",class:"hidden",name:"camera",ref:e=>this._cameraFileRef=e,type:"file",onChange:e=>this._onFileChange(e)}))}_uploadClick(){this._fileRef&&"write"===this.mode&&!this.value?.length&&this._fileRef.click()}_cameraClick(){this.enableCameraOnMobile&&o()&&this._cameraFileRef&&"write"===this.mode&&this._cameraFileRef?.click()}_onFileChange(e){const t=e.target,r=t.files?.[0];if(r){this.loading=!0;const e=new FileReader;e.addEventListener("load",(e=>this._onLoad(r,e?.currentTarget?.result))),e.readAsDataURL(r)}}_onLoad(e,t){this.upload.emit({fileId:this.fileId,result:t,file:e}),this._fileRef&&(this._fileRef.value=""),this._cameraFileRef&&(this._cameraFileRef.value=""),this.loading=!1}};h.style=".block{display:block}*{box-sizing:border-box}:host{display:block;width:100%}.static{position:static}.flex{display:flex}.hidden{display:none}.h-8{height:2rem}.w-8{width:2rem}.w-full{width:100%}.min-w-0{min-width:0}.flex-1{flex:1 1 0%}.cursor-pointer{cursor:pointer}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-solid{border-style:solid}.border-negative-red-500{--tw-border-opacity:1;border-color:rgb(230 30 30/var(--tw-border-opacity,1))}.border-storm-100{--tw-border-opacity:1;border-color:rgb(209 210 212/var(--tw-border-opacity,1))}.bg-white-600{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))}.px-2{padding-left:.5rem;padding-right:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-negative-red-500{--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.text-storm-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.empty\\:hidden:empty{display:none}.peer:empty~.peer-empty\\:block{display:block}@media (min-width:64rem){.desktop-xs\\:hidden{display:none}}.dark\\:border-negative-red-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(255 92 92/var(--tw-border-opacity,1))}.dark\\:border-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:border-negative-red-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(255 92 92/var(--tw-border-opacity,1))}.dark\\:border-white\\/15:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}";export{h as p_attachment}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,a as e,d as r,h as o}from"./p-yFtRjnrU.js";import{c as a}from"./p-CBWjHURv.js";import{T as d}from"./p-CSySY6aC.js";import{c as i}from"./p-xs4N_Y-0.js";import"./p-ChV9xqsO.js";import"./p-6XOzWrsN.js";const h=a(["group/dropzone","flex h-inherit w-full flex-col items-center justify-center gap-2","cursor-pointer","rounded-lg","border","p-4"],{variants:{uploaded:{false:"border-dashed",true:"border-solid"},isOver:{true:["border-dashed","border-indigo-500 bg-indigo-50","dark:border-indigo-700 dark:bg-indigo-700/10"],false:""}},compoundVariants:[{uploaded:!0,isOver:!1,class:["border-solid border-positive-green-500 bg-positive-green-50"]},{uploaded:!1,isOver:!1,class:["border-white-800 bg-white-600","hover:border-indigo-500 hover:bg-indigo-50","\n dark:border-white/10 dark:bg-white/5\n dark:hover:border-indigo-700 dark:hover:bg-indigo-700/10\n "]}]}),c=class{constructor(r){t(this,r),this.upload=e(this,"upload",3)}icon="file-export";showIcon=!0;acceptGroup="any";fileId;loading=!1;allowMultiple=!0;uploaded=!1;addedString="Toegevoegd";dragFileString="Sleep je bestand hierheen";orClickString="of klik om te uploaden";upload;get _el(){return r(this)}_isOver=!1;_fileRef;_filesToProcess=0;_results=[];_documentBlocked=!1;_preventDefault=t=>t.preventDefault();componentWillRender(){if(!this._isOver&&this._documentBlocked)return document.removeEventListener("drop",this._preventDefault),document.removeEventListener("dragover",this._preventDefault),void(this._documentBlocked=!1);this._isOver&&(document.addEventListener("drop",this._preventDefault),document.addEventListener("dragover",this._preventDefault),this._documentBlocked=!0)}render(){const t=this._el.innerHTML?.length>0;return o(d,{key:"7c1db4cb49b8699a6aa11ffb0b6fe4d496dabee2"},o("div",{key:"a059feda628b54161629ea0e05dbbfb0fa8e4aba",class:h({isOver:this._isOver,uploaded:this.uploaded}),onClick:()=>this._uploadClick()},!this.loading&&this.showIcon&&o("p-icon",{key:"79d280c89d5274171ba689463491ab9386712353",class:i("\n group-hover/dropzone:text-indigo-900\n dark:group-hover/dropzone:text-indigo-700\n ",{"text-positive-green-800":this.uploaded,"text-storm-300 dark:text-hurricane-200":!this._isOver&&!this.uploaded,"text-indigo-900 dark:text-indigo-700":this._isOver}),variant:this.icon}),this.loading&&o("p-loader",{key:"7c28c02bada55efe9d2045b3a42a7c3c2139ee76"}),t&&o("p",{key:"78208423e2b95c23a5303f8fca3300e06b5b4d86",class:i("m-0 p-0 text-lg font-bold",{"dark:text-white":!this.uploaded||this._isOver,"text-storm-500":this.uploaded&&!this._isOver})},o("slot",{key:"c0656e295223d620af579278f1c763eb7f368acf"})),this.uploaded&&!this._isOver&&o("div",{key:"e5ebd90b568883a025118f3df155188b21f1f67e",class:"flex items-center gap-2 text-positive-green-800"},o("p-icon",{key:"782fc223bd7de1a5d2e7e78bce753e32160fb477",variant:"check-circle"}),o("span",{key:"063369d8309f4d992b53d8db3165d4f9ed663992",class:"font-medium"},this.addedString)),(!this.uploaded||this._isOver)&&o("div",{key:"c05af902cc62cfdbb7feea9de5aabf567c6d22f5",class:i(["flex flex-col text-center","group-hover/dropzone:opacity-50","\n text-storm-300\n dark:text-hurricane-300\n "],{"opacity-50":this._isOver})},o("span",{key:"c9ec4e45968281ce5c2033264ff7c972b25bd799",class:"font-medium"},this.dragFileString),o("span",{key:"bc2aac22c381cdb7d5cbfaa42627f57d08cab115",class:"font-normal"},this.orClickString))),o("input",{key:"38b25c010d7be237a2f2f2c7a8e96d343ce6c725",accept:"any"==this.acceptGroup?"":"image/*",class:"hidden",multiple:!0===this.allowMultiple||void 0,name:"dropzone",ref:t=>this._fileRef=t,type:"file",onChange:t=>this._onFileChange(t)}))}onDrop(t){const e=this._getFiles(t);e?.length&&(this._isOver=!1,this._processFiles(e))}onDragOver(t){this._isFilesEvent(t)&&(this._isOver=!0)}onDragLeave(){this._isOver=!1}_isFilesEvent(t){return!!t.dataTransfer&&0!==[...t.dataTransfer.items].filter((t=>"file"===t.kind)).length}_getFiles(t){if(!this._isFilesEvent(t))return;const e=t.dataTransfer?.files??[];return 0!==e.length?[...e]:void 0}_uploadClick(){this._fileRef&&this._fileRef.click()}_onFileChange(t){const e=t.target;if(!e.files)return;const r=[...e.files];r?.length&&this._processFiles(r)}_processFiles(t){this._results=[],this.allowMultiple||(t=[t[0]]),this._filesToProcess=t.length;for(const e of t)this._processFile(e)}_processFile(t){this.loading=!0;const e=new FileReader;e.addEventListener("load",(e=>this._onLoad(t,e?.currentTarget?.result))),e.readAsDataURL(t)}_onLoad(t,e){if(this._results.push({file:t,result:e}),this._results?.length<this._filesToProcess)return;const r={fileId:this.fileId,results:this._results};1!==this._results.length&&this.allowMultiple||(r.file=this._results[0].file,r.result=this._results[0].result),this.upload.emit(r),this._fileRef&&(this._fileRef.value=""),this.loading=!1}};c.style="*{box-sizing:border-box}.static{position:static}.m-0{margin:0}.flex{display:flex}.hidden{display:none}.h-inherit{height:inherit}.w-full{width:100%}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-solid{border-style:solid}.border-dashed{border-style:dashed}.border-indigo-500{--tw-border-opacity:1;border-color:rgb(142 179 251/var(--tw-border-opacity,1))}.border-positive-green-500{--tw-border-opacity:1;border-color:rgb(92 195 14/var(--tw-border-opacity,1))}.border-white-800{--tw-border-opacity:1;border-color:rgb(228 227 227/var(--tw-border-opacity,1))}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.bg-positive-green-50{--tw-bg-opacity:1;background-color:rgb(234 253 227/var(--tw-bg-opacity,1))}.bg-white-600{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))}.p-0{padding:0}.p-4{padding:1rem}.text-center{text-align:center}.text-lg{font-size:1.125rem;line-height:1.75rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.text-hurricane-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-indigo-700{--tw-text-opacity:1;color:rgb(47 111 240/var(--tw-text-opacity,1))}.text-indigo-900{--tw-text-opacity:1;color:rgb(19 73 182/var(--tw-text-opacity,1))}.text-positive-green-800{--tw-text-opacity:1;color:rgb(47 100 7/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.opacity-50{opacity:.5}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.hover\\:border-indigo-500:hover{--tw-border-opacity:1;border-color:rgb(142 179 251/var(--tw-border-opacity,1))}.hover\\:bg-indigo-50:hover{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.group\\/dropzone:hover .group-hover\\/dropzone\\:text-indigo-900{--tw-text-opacity:1;color:rgb(19 73 182/var(--tw-text-opacity,1))}.group\\/dropzone:hover .group-hover\\/dropzone\\:opacity-50{opacity:.5}.dark\\:border-indigo-700:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(47 111 240/var(--tw-border-opacity,1))}.dark\\:border-white\\/10:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.1)}.dark\\:bg-indigo-700\\/10:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(47,111,240,.1)}.dark\\:bg-white\\/5:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.05)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-indigo-700:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(47 111 240/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:border-indigo-700:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(47 111 240/var(--tw-border-opacity,1))}.dark\\:hover\\:bg-indigo-700\\/10:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(47,111,240,.1)}.group\\/dropzone:hover .dark\\:group-hover\\/dropzone\\:text-indigo-700:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(47 111 240/var(--tw-text-opacity,1))}.dark\\:border-indigo-700:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(47 111 240/var(--tw-border-opacity,1))}.dark\\:border-white\\/10:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.1)}.dark\\:bg-indigo-700\\/10:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(47,111,240,.1)}.dark\\:bg-white\\/5:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.05)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-indigo-700:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(47 111 240/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:border-indigo-700:hover:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(47 111 240/var(--tw-border-opacity,1))}.dark\\:hover\\:bg-indigo-700\\/10:hover:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(47,111,240,.1)}.group\\/dropzone:hover .dark\\:group-hover\\/dropzone\\:text-indigo-700:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(47 111 240/var(--tw-text-opacity,1))}";export{c as p_dropzone}
|