@paperless/core 0.1.0-alpha.88 → 0.1.0-alpha.91
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 +33 -0
- package/dist/build/p-0e6e6d75.entry.js +1 -0
- package/dist/build/p-6fc27bea.entry.js +1 -0
- package/dist/build/{p-22acb992.entry.js → p-e900123c.entry.js} +1 -1
- package/dist/build/p-f4110080.entry.js +1 -0
- package/dist/build/p-f4302275.entry.js +1 -0
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-avatar_2.cjs.entry.js +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +1 -1
- package/dist/cjs/p-modal-backdrop_5.cjs.entry.js +16 -7
- package/dist/cjs/p-modal.cjs.entry.js +10 -1
- package/dist/cjs/p-profile.cjs.entry.js +6 -2
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/collection/components/atoms/avatar/avatar.component.css +2 -2
- package/dist/collection/components/atoms/icon/icon.component.css +1 -1
- package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.css +2 -2
- package/dist/collection/components/atoms/modal-body/modal-body.component.css +1 -1
- package/dist/collection/components/atoms/modal-container/modal-container.component.css +2 -2
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +4 -0
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +28 -2
- package/dist/collection/components/atoms/modal-header/modal-header.component.css +14 -4
- package/dist/collection/components/atoms/modal-header/modal-header.component.js +51 -2
- package/dist/collection/components/molecules/profile/profile.component.css +4 -1
- package/dist/collection/components/molecules/profile/profile.component.js +23 -1
- package/dist/collection/components/organisms/modal/modal.component.js +67 -3
- package/dist/components/avatar.component.js +1 -1
- package/dist/components/icon.component.js +1 -1
- package/dist/components/modal-backdrop.component.js +1 -1
- package/dist/components/modal-body.component.js +1 -1
- package/dist/components/modal-container.component.js +1 -1
- package/dist/components/modal-footer.component.js +9 -3
- package/dist/components/modal-header.component.js +18 -5
- package/dist/components/p-modal.js +22 -5
- package/dist/components/p-profile.js +7 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-avatar_2.entry.js +1 -1
- package/dist/esm/p-button_3.entry.js +1 -1
- package/dist/esm/p-modal-backdrop_5.entry.js +17 -8
- package/dist/esm/p-modal.entry.js +11 -2
- package/dist/esm/p-profile.entry.js +6 -2
- package/dist/esm/paperless.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/p-0e6e6d75.entry.js +1 -0
- package/dist/paperless/p-6fc27bea.entry.js +1 -0
- package/dist/paperless/{p-22acb992.entry.js → p-e900123c.entry.js} +1 -1
- package/dist/paperless/p-f4110080.entry.js +1 -0
- package/dist/paperless/p-f4302275.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/dist/types/components/atoms/modal-footer/modal-footer.component.d.ts +4 -0
- package/dist/types/components/atoms/modal-header/modal-header.component.d.ts +9 -0
- package/dist/types/components/molecules/profile/profile.component.d.ts +4 -0
- package/dist/types/components/organisms/modal/modal.component.d.ts +13 -0
- package/dist/types/components.d.ts +56 -0
- package/package.json +1 -1
- package/dist/build/p-2ccb568d.entry.js +0 -1
- package/dist/build/p-5ac76d18.entry.js +0 -1
- package/dist/build/p-79405608.entry.js +0 -1
- package/dist/build/p-92b012e8.entry.js +0 -1
- package/dist/paperless/p-2ccb568d.entry.js +0 -1
- package/dist/paperless/p-5ac76d18.entry.js +0 -1
- package/dist/paperless/p-79405608.entry.js +0 -1
- package/dist/paperless/p-92b012e8.entry.js +0 -1
|
@@ -311,6 +311,14 @@ export namespace Components {
|
|
|
311
311
|
* Wether to show the modal or not
|
|
312
312
|
*/
|
|
313
313
|
"show": boolean;
|
|
314
|
+
/**
|
|
315
|
+
* Wether to show the close on mobile in the header
|
|
316
|
+
*/
|
|
317
|
+
"showMobileClose": boolean;
|
|
318
|
+
/**
|
|
319
|
+
* Wether to show the footer on mobile
|
|
320
|
+
*/
|
|
321
|
+
"showMobileFooter": boolean;
|
|
314
322
|
/**
|
|
315
323
|
* The size of the modal container
|
|
316
324
|
*/
|
|
@@ -335,8 +343,16 @@ export namespace Components {
|
|
|
335
343
|
"size": 'sm' | 'md' | 'lg' | 'xl';
|
|
336
344
|
}
|
|
337
345
|
interface PModalFooter {
|
|
346
|
+
/**
|
|
347
|
+
* Wether to show the footer on mobile
|
|
348
|
+
*/
|
|
349
|
+
"hideOnMobile": boolean;
|
|
338
350
|
}
|
|
339
351
|
interface PModalHeader {
|
|
352
|
+
/**
|
|
353
|
+
* Wether to show the close button on mobile
|
|
354
|
+
*/
|
|
355
|
+
"showMobileClose": boolean;
|
|
340
356
|
}
|
|
341
357
|
interface PNavbar {
|
|
342
358
|
/**
|
|
@@ -391,6 +407,10 @@ export namespace Components {
|
|
|
391
407
|
"active": boolean;
|
|
392
408
|
}
|
|
393
409
|
interface PProfile {
|
|
410
|
+
/**
|
|
411
|
+
* The size of the profile avatar
|
|
412
|
+
*/
|
|
413
|
+
"size": 'small' | 'medium' | 'large';
|
|
394
414
|
/**
|
|
395
415
|
* The variant of the profile
|
|
396
416
|
*/
|
|
@@ -532,6 +552,14 @@ export interface PDropdownCustomEvent<T> extends CustomEvent<T> {
|
|
|
532
552
|
detail: T;
|
|
533
553
|
target: HTMLPDropdownElement;
|
|
534
554
|
}
|
|
555
|
+
export interface PModalCustomEvent<T> extends CustomEvent<T> {
|
|
556
|
+
detail: T;
|
|
557
|
+
target: HTMLPModalElement;
|
|
558
|
+
}
|
|
559
|
+
export interface PModalHeaderCustomEvent<T> extends CustomEvent<T> {
|
|
560
|
+
detail: T;
|
|
561
|
+
target: HTMLPModalHeaderElement;
|
|
562
|
+
}
|
|
535
563
|
export interface PPaginationCustomEvent<T> extends CustomEvent<T> {
|
|
536
564
|
detail: T;
|
|
537
565
|
target: HTMLPPaginationElement;
|
|
@@ -1132,10 +1160,22 @@ declare namespace LocalJSX {
|
|
|
1132
1160
|
* The Header of the modal
|
|
1133
1161
|
*/
|
|
1134
1162
|
"header"?: string;
|
|
1163
|
+
/**
|
|
1164
|
+
* Close click event
|
|
1165
|
+
*/
|
|
1166
|
+
"onClose"?: (event: PModalCustomEvent<MouseEvent>) => void;
|
|
1135
1167
|
/**
|
|
1136
1168
|
* Wether to show the modal or not
|
|
1137
1169
|
*/
|
|
1138
1170
|
"show"?: boolean;
|
|
1171
|
+
/**
|
|
1172
|
+
* Wether to show the close on mobile in the header
|
|
1173
|
+
*/
|
|
1174
|
+
"showMobileClose"?: boolean;
|
|
1175
|
+
/**
|
|
1176
|
+
* Wether to show the footer on mobile
|
|
1177
|
+
*/
|
|
1178
|
+
"showMobileFooter"?: boolean;
|
|
1139
1179
|
/**
|
|
1140
1180
|
* The size of the modal container
|
|
1141
1181
|
*/
|
|
@@ -1160,8 +1200,20 @@ declare namespace LocalJSX {
|
|
|
1160
1200
|
"size"?: 'sm' | 'md' | 'lg' | 'xl';
|
|
1161
1201
|
}
|
|
1162
1202
|
interface PModalFooter {
|
|
1203
|
+
/**
|
|
1204
|
+
* Wether to show the footer on mobile
|
|
1205
|
+
*/
|
|
1206
|
+
"hideOnMobile"?: boolean;
|
|
1163
1207
|
}
|
|
1164
1208
|
interface PModalHeader {
|
|
1209
|
+
/**
|
|
1210
|
+
* Close click event
|
|
1211
|
+
*/
|
|
1212
|
+
"onClose"?: (event: PModalHeaderCustomEvent<MouseEvent>) => void;
|
|
1213
|
+
/**
|
|
1214
|
+
* Wether to show the close button on mobile
|
|
1215
|
+
*/
|
|
1216
|
+
"showMobileClose"?: boolean;
|
|
1165
1217
|
}
|
|
1166
1218
|
interface PNavbar {
|
|
1167
1219
|
/**
|
|
@@ -1217,6 +1269,10 @@ declare namespace LocalJSX {
|
|
|
1217
1269
|
"active"?: boolean;
|
|
1218
1270
|
}
|
|
1219
1271
|
interface PProfile {
|
|
1272
|
+
/**
|
|
1273
|
+
* The size of the profile avatar
|
|
1274
|
+
*/
|
|
1275
|
+
"size"?: 'small' | 'medium' | 'large';
|
|
1220
1276
|
/**
|
|
1221
1277
|
* The variant of the profile
|
|
1222
1278
|
*/
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,H as s,c as a,g as e}from"./p-8d46c60d.js";import{c as o}from"./p-a7086ffa.js";const r=class{constructor(i){t(this,i),this.variant="user",this.size="medium",this._src=this.src}render(){return this._src||this._setDefaultLink(),i(s,{class:"p-avatar"},i("img",{src:this._src,onError:()=>this._setDefaultLink()}))}_setDefaultLink(){var t;this._src=null!==(t=this.defaultImage)&&void 0!==t?t:"user"===this.variant?"/assets/images/avatar/user-default.svg":"/assets/images/avatar/company-default.svg"}};r.style=".static{position:static!important}.absolute{position:absolute!important}.ml-auto{margin-left:auto!important}.flex{display:flex!important}.w-8{width:2rem!important}.w-20{width:5rem!important}.w-28{width:7rem!important}.w-full{width:100%!important}.min-w-0{min-width:0!important}.rounded{border-radius:.25rem!important}.object-cover{-o-object-fit:cover!important;object-fit:cover!important}*{box-sizing:border-box}p-avatar{display:inline-block}p-avatar>img{-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center}p-avatar[size=small]>img{height:2rem;width:2rem}p-avatar[size=medium]>img{height:5rem;width:5rem}p-avatar[size=large]>img{height:7rem;width:7rem}p-avatar[variant=company]>img{border-radius:.25rem}p-avatar[variant=company][size=large]>img,p-avatar[variant=company][size=medium]>img{border-radius:.375rem}p-avatar[variant=user]>img{border-radius:100%}";const n=class{constructor(i){t(this,i),this.isOpen=a(this,"isOpen",7),this.placement="bottom-start",this.strategy="fixed",this.show=!1,this.insideClick=!1,this.disableTriggerClick=!1,this._loaded=!1}componentShouldUpdate(){this._setOptions(),this._loaded&&this.show&&this._show()}render(){return i(s,{class:"p-dropdown"},i("div",{class:"trigger",onClick:()=>this._triggerClickHandler()},i("slot",{onSlotchange:t=>this._checkButton(t),name:"trigger"})),i("p-dropdown-menu-container",{role:"popover",ref:t=>this._load(t),onClick:()=>this._containerClickHandler()},i("slot",{name:"items"})))}_checkButton({target:t}){const i=t.assignedElements();for(let t of i)"P-BUTTON"===t.nodeName&&(t.chevron=this.placement.indexOf("top")>=0?"up":"down")}_containerClickHandler(){this.insideClick||this._menu.hasAttribute("data-show")&&this._hide()}_triggerClickHandler(){this.disableTriggerClick||(this._menu.hasAttribute("data-show")?this._hide():this._show())}documentClickHandler({target:t}){this._menu.hasAttribute("data-show")&&!((t,i)=>{for(;(t=t.parentNode)&&t!==i;);return!!t})(t,this._el)&&this._hide()}_load(t){this._menu=t,t&&(this._popper=o(this._el,t,{strategy:this.strategy}),this._setOptions(),this._loaded=!0,this.show&&setTimeout((()=>this._show()),100))}_setOptions(){this._popper&&this._popper.setOptions({placement:this.placement,modifiers:[{name:"offset",options:{offset:[0,8]}}]})}_show(){this._loaded&&(this._menu.setAttribute("data-show",""),this.isOpen.emit(!0),this._popper.setOptions((t=>Object.assign(Object.assign({},t),{modifiers:[...t.modifiers,{name:"eventListeners",enabled:!0}]}))),this._popper.update())}_hide(){this._loaded&&!this.show&&(this._menu.removeAttribute("data-show"),this.isOpen.emit(!1),this._popper.setOptions((t=>Object.assign(Object.assign({},t),{modifiers:[...t.modifiers,{name:"eventListeners",enabled:!1}]}))))}get _el(){return e(this)}};n.style=".visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.ml-auto{margin-left:auto!important}.flex{display:flex!important}.hidden{display:none!important}.w-auto{width:auto!important}.w-full{width:100%!important}.min-w-0{min-width:0!important}*{box-sizing:border-box}:host{position:relative}:host .trigger{height:auto;width:auto}:host p-dropdown-menu-container{display:none}:host p-dropdown-menu-container[data-show]{display:flex}";export{r as p_avatar,n as p_dropdown}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as o,H as r,g as e}from"./p-8d46c60d.js";const i=class{constructor(o){t(this,o),this.variant="user",this._dropdownOpen=!1}render(){const t=!!this._el.querySelector('[slot="dropdown"]'),e=this._getContent(t);return o(r,{class:`p-profile ${t&&"has-dropdown"} ${this._dropdownOpen&&"active"}`},t?o("p-dropdown",{class:"w-full min-w-0",strategy:"absolute",placement:"user"===this.variant?"top-end":"bottom-end",onIsOpen:t=>this._dropdownOpen=t.detail},e,o("div",{slot:"items"},o("slot",{name:"dropdown"}))):e)}_getContent(t){const r=this._generateAvatar();return o("div",{class:"content",slot:"trigger"},r,o("div",{class:"name"},o("slot",{name:"title"}),o("slot",{name:"subtitle"})),t&&this._getIcon())}_generateAvatar(){var t,r,e;const i=this._el.querySelector('p-avatar[slot="avatar"]');if(i)return o("p-avatar",{class:"flex",src:null!==(t=i.src)&&void 0!==t?t:null,"default-image":null!==(r=i.defaultImage)&&void 0!==r?r:null,variant:null!==(e=this.variant)&&void 0!==e?e:i.variant,size:"small"})}_getIcon(){return o("p-icon",{class:"ml-auto",variant:"company"===this.variant?"chevron":"more"})}get _el(){return e(this)}};i.style=".static{position:static!important}.absolute{position:absolute!important}.ml-auto{margin-left:auto!important}.flex{display:flex!important}.w-full{width:100%!important}.min-w-0{min-width:0!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.gap-3{gap:.75rem!important}.rounded{border-radius:.25rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-mystic-dark{--tw-border-opacity:1!important;border-color:rgb(218 230 240/var(--tw-border-opacity))!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}*{box-sizing:border-box}:host{display:flex}:host .content{align-items:center;display:flex;gap:.75rem;height:3rem;width:100%}:host .content .name{display:flex;flex-direction:column;justify-content:center}:host .content .name>:first-child{--tw-text-opacity:1;color:rgb(39 40 56/var(--tw-text-opacity));font-size:.875rem;font-weight:600;line-height:1.25rem}:host .content .name>:nth-child(2){--tw-text-opacity:1;color:rgb(152 154 183/var(--tw-text-opacity));font-size:.875rem;line-height:1.25rem}:host(.has-dropdown){cursor:pointer}:host(.has-dropdown) .content{--tw-border-opacity:1!important;border-color:rgb(218 230 240/var(--tw-border-opacity))!important;border-radius:.25rem;border-style:solid!important;border-width:1px!important;padding-left:.5rem;padding-right:.5rem}:host(.active) .content,:host(.has-dropdown:hover) .content{--tw-shadow:0px 0.3125rem 1rem rgba(0,24,98,.08),0px 0.0625rem 0.1875rem rgba(0,24,98,.13);--tw-shadow-colored:0px 0.3125rem 1rem var(--tw-shadow-color),0px 0.0625rem 0.1875rem var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}:host(.active) .content p-icon{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity))}";export{i as p_profile}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,H as r}from"./p-8d46c60d.js";const a=class{constructor(i){t(this,i)}render(){return i(r,{class:"p-modal-backdrop"},i("slot",null))}};a.style=".static{position:static!important}.fixed{position:fixed!important}.top-0{top:0!important}.left-0{left:0!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.flex{display:flex!important}.h-screen{height:100vh!important}.w-screen{width:100vw!important}.justify-center{justify-content:center!important}.backdrop-blur-xs{--tw-backdrop-blur:blur(2px)!important;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important;backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}:host{--tw-backdrop-blur:blur(2px);align-items:center;-webkit-animation:fadeIn .2s ease-in-out;animation:fadeIn .2s ease-in-out;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);background-color:rgba(81,83,107,.5);display:flex;height:100vh;justify-content:center;left:0;position:fixed;top:0;width:100vw;z-index:500}@media (min-width:40rem){:host{padding:4rem}}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@media (min-width:40rem){.tablet\\:w-80{width:20rem!important}.tablet\\:w-\\[33\\.5rem\\]{width:33.5rem!important}.tablet\\:w-\\[38rem\\]{width:38rem!important}.tablet\\:w-\\[47\\.5rem\\]{width:47.5rem!important}.tablet\\:w-\\[57\\.5rem\\]{width:57.5rem!important}}";const m=class{constructor(i){t(this,i),this.variant="default"}render(){return i(r,{class:`p-modal-body variant-${this.variant}`},i("slot",null))}};m.style=".static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.h-full{height:100%!important}.px-14{padding-left:3.5rem!important;padding-right:3.5rem!important}.py-6{padding-bottom:1.5rem!important;padding-top:1.5rem!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}:host{height:100%;padding:1.5rem 3.5rem}@media (min-width:40rem){:host{height:auto}}:host(.variant-table){padding-left:1.5rem;padding-right:1.5rem}@media (min-width:40rem){.tablet\\:w-80{width:20rem!important}.tablet\\:w-\\[33\\.5rem\\]{width:33.5rem!important}.tablet\\:w-\\[38rem\\]{width:38rem!important}.tablet\\:w-\\[47\\.5rem\\]{width:47.5rem!important}.tablet\\:w-\\[57\\.5rem\\]{width:57.5rem!important}}";const e={xs:"tablet:w-80",sm:"tablet:w-[33.5rem]",md:"tablet:w-[38rem]",lg:"tablet:w-[47.5rem]",xl:"tablet:w-[57.5rem]"},o=class{constructor(i){t(this,i),this.size="md"}render(){return i(r,{class:`p-modal-container ${e[this.size]}`},i("slot",null))}};o.style=".static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.flex{display:flex!important}.h-full{height:100%!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.shadow-4{--tw-shadow:0px 0.3125rem 1rem rgba(0,24,98,.08),0px 0.0625rem 0.1875rem rgba(0,24,98,.13)!important;--tw-shadow-colored:0px 0.3125rem 1rem var(--tw-shadow-color),0px 0.0625rem 0.1875rem var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}p-modal-container{--tw-bg-opacity:1;--tw-shadow:0px 0.3125rem 1rem rgba(0,24,98,.08),0px 0.0625rem 0.1875rem rgba(0,24,98,.13)!important;--tw-shadow-colored:0px 0.3125rem 1rem var(--tw-shadow-color),0px 0.0625rem 0.1875rem var(--tw-shadow-color)!important;background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important;display:flex;flex-direction:column;height:100%;overflow:hidden;width:100%}@media (min-width:40rem){p-modal-container{border-radius:.75rem;height:auto}.tablet\\:w-80{width:20rem!important}.tablet\\:w-\\[33\\.5rem\\]{width:33.5rem!important}.tablet\\:w-\\[38rem\\]{width:38rem!important}.tablet\\:w-\\[47\\.5rem\\]{width:47.5rem!important}.tablet\\:w-\\[57\\.5rem\\]{width:57.5rem!important}}";const n=class{constructor(i){t(this,i)}render(){return i(r,{class:"p-modal-footer"},i("p-divider",{class:"mb-6 mt-0"}),i("slot",null))}};n.style=".static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.flex{display:flex!important}.pb-6{padding-bottom:1.5rem!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}:host{display:flex;flex-direction:column;padding-bottom:1.5rem;padding-left:1.5rem;padding-right:1.5rem}@media (min-width:40rem){.tablet\\:w-80{width:20rem!important}.tablet\\:w-\\[33\\.5rem\\]{width:33.5rem!important}.tablet\\:w-\\[38rem\\]{width:38rem!important}.tablet\\:w-\\[47\\.5rem\\]{width:47.5rem!important}.tablet\\:w-\\[57\\.5rem\\]{width:57.5rem!important}}";const d=class{constructor(i){t(this,i)}render(){return i(r,{class:"p-modal-header"},i("slot",null))}};d.style=".static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.block{display:block!important}.border-b{border-bottom-width:1px!important}.border-b-mystic-medium{--tw-border-opacity:1!important;border-bottom-color:rgb(227 236 243/var(--tw-border-opacity))!important}.px-8{padding-left:2rem!important;padding-right:2rem!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}:host{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-border-opacity:1!important;background-color:rgb(247 250 252/var(--tw-bg-opacity));border-bottom-color:rgb(227 236 243/var(--tw-border-opacity))!important;border-bottom-width:1px!important;color:rgb(39 40 56/var(--tw-text-opacity));display:block;font-size:1.875rem;font-weight:700;line-height:2.25rem;padding:1.5rem 2rem}@media (min-width:40rem){.tablet\\:w-80{width:20rem!important}.tablet\\:w-\\[33\\.5rem\\]{width:33.5rem!important}.tablet\\:w-\\[38rem\\]{width:38rem!important}.tablet\\:w-\\[47\\.5rem\\]{width:47.5rem!important}.tablet\\:w-\\[57\\.5rem\\]{width:57.5rem!important}}";export{a as p_modal_backdrop,m as p_modal_body,o as p_modal_container,n as p_modal_footer,d as p_modal_header}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as o,H as s,g as a}from"./p-8d46c60d.js";const e=class{constructor(o){t(this,o),this.size="md",this.variant="default",this.show=!1,this._hasFooterSlot=!1}componentWillLoad(){this._hasFooterSlot=!!this._el.querySelector('[slot="footer"]')}render(){if(!this.show)return;const t=o("slot",{name:"header"}),a=o("slot",{name:"content"}),e=o("slot",{name:"footer"});return o(s,{class:"p-modal"},o("p-modal-backdrop",null,o("p-modal-container",{size:this.size},o("p-modal-header",null,this.header?this.header:t),o("p-modal-body",{variant:this.variant},a),this._hasFooterSlot&&o("p-modal-footer",null,e))))}get _el(){return a(this)}};export{e as p_modal}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,H as s,c as a,g as e}from"./p-8d46c60d.js";import{c as o}from"./p-a7086ffa.js";const r=class{constructor(i){t(this,i),this.variant="user",this.size="medium",this._src=this.src}render(){return this._src||this._setDefaultLink(),i(s,{class:"p-avatar"},i("img",{src:this._src,onError:()=>this._setDefaultLink()}))}_setDefaultLink(){var t;this._src=null!==(t=this.defaultImage)&&void 0!==t?t:"user"===this.variant?"/assets/images/avatar/user-default.svg":"/assets/images/avatar/company-default.svg"}};r.style=".static{position:static!important}.absolute{position:absolute!important}.ml-auto{margin-left:auto!important}.flex{display:flex!important}.w-8{width:2rem!important}.w-20{width:5rem!important}.w-28{width:7rem!important}.w-full{width:100%!important}.min-w-0{min-width:0!important}.rounded{border-radius:.25rem!important}.object-cover{-o-object-fit:cover!important;object-fit:cover!important}*{box-sizing:border-box}p-avatar{display:inline-block}p-avatar>img{-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center}p-avatar[size=small]>img{height:2rem;width:2rem}p-avatar[size=medium]>img{height:5rem;width:5rem}p-avatar[size=large]>img{height:7rem;width:7rem}p-avatar[variant=company]>img{border-radius:.25rem}p-avatar[variant=company][size=large]>img,p-avatar[variant=company][size=medium]>img{border-radius:.375rem}p-avatar[variant=user]>img{border-radius:100%}";const n=class{constructor(i){t(this,i),this.isOpen=a(this,"isOpen",7),this.placement="bottom-start",this.strategy="fixed",this.show=!1,this.insideClick=!1,this.disableTriggerClick=!1,this._loaded=!1}componentShouldUpdate(){this._setOptions(),this._loaded&&this.show&&this._show()}render(){return i(s,{class:"p-dropdown"},i("div",{class:"trigger",onClick:()=>this._triggerClickHandler()},i("slot",{onSlotchange:t=>this._checkButton(t),name:"trigger"})),i("p-dropdown-menu-container",{role:"popover",ref:t=>this._load(t),onClick:()=>this._containerClickHandler()},i("slot",{name:"items"})))}_checkButton({target:t}){const i=t.assignedElements();for(let t of i)"P-BUTTON"===t.nodeName&&(t.chevron=this.placement.indexOf("top")>=0?"up":"down")}_containerClickHandler(){this.insideClick||this._menu.hasAttribute("data-show")&&this._hide()}_triggerClickHandler(){this.disableTriggerClick||(this._menu.hasAttribute("data-show")?this._hide():this._show())}documentClickHandler({target:t}){this._menu.hasAttribute("data-show")&&!((t,i)=>{for(;(t=t.parentNode)&&t!==i;);return!!t})(t,this._el)&&this._hide()}_load(t){this._menu=t,t&&(this._popper=o(this._el,t,{strategy:this.strategy}),this._setOptions(),this._loaded=!0,this.show&&setTimeout((()=>this._show()),100))}_setOptions(){this._popper&&this._popper.setOptions({placement:this.placement,modifiers:[{name:"offset",options:{offset:[0,8]}}]})}_show(){this._loaded&&(this._menu.setAttribute("data-show",""),this.isOpen.emit(!0),this._popper.setOptions((t=>Object.assign(Object.assign({},t),{modifiers:[...t.modifiers,{name:"eventListeners",enabled:!0}]}))),this._popper.update())}_hide(){this._loaded&&!this.show&&(this._menu.removeAttribute("data-show"),this.isOpen.emit(!1),this._popper.setOptions((t=>Object.assign(Object.assign({},t),{modifiers:[...t.modifiers,{name:"eventListeners",enabled:!1}]}))))}get _el(){return e(this)}};n.style=".visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.ml-auto{margin-left:auto!important}.flex{display:flex!important}.hidden{display:none!important}.w-auto{width:auto!important}.w-full{width:100%!important}.min-w-0{min-width:0!important}*{box-sizing:border-box}:host{position:relative}:host .trigger{height:auto;width:auto}:host p-dropdown-menu-container{display:none}:host p-dropdown-menu-container[data-show]{display:flex}";export{r as p_avatar,n as p_dropdown}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as o,H as r,g as e}from"./p-8d46c60d.js";const i=class{constructor(o){t(this,o),this.variant="user",this._dropdownOpen=!1}render(){const t=!!this._el.querySelector('[slot="dropdown"]'),e=this._getContent(t);return o(r,{class:`p-profile ${t&&"has-dropdown"} ${this._dropdownOpen&&"active"}`},t?o("p-dropdown",{class:"w-full min-w-0",strategy:"absolute",placement:"user"===this.variant?"top-end":"bottom-end",onIsOpen:t=>this._dropdownOpen=t.detail},e,o("div",{slot:"items"},o("slot",{name:"dropdown"}))):e)}_getContent(t){const r=this._generateAvatar();return o("div",{class:"content",slot:"trigger"},r,o("div",{class:"name"},o("slot",{name:"title"}),o("slot",{name:"subtitle"})),t&&this._getIcon())}_generateAvatar(){var t,r,e;const i=this._el.querySelector('p-avatar[slot="avatar"]');if(i)return o("p-avatar",{class:"flex",src:null!==(t=i.src)&&void 0!==t?t:null,"default-image":null!==(r=i.defaultImage)&&void 0!==r?r:null,variant:null!==(e=this.variant)&&void 0!==e?e:i.variant,size:"small"})}_getIcon(){return o("p-icon",{class:"ml-auto",variant:"company"===this.variant?"chevron":"more"})}get _el(){return e(this)}};i.style=".static{position:static!important}.absolute{position:absolute!important}.ml-auto{margin-left:auto!important}.flex{display:flex!important}.w-full{width:100%!important}.min-w-0{min-width:0!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.gap-3{gap:.75rem!important}.rounded{border-radius:.25rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-mystic-dark{--tw-border-opacity:1!important;border-color:rgb(218 230 240/var(--tw-border-opacity))!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}*{box-sizing:border-box}:host{display:flex}:host .content{align-items:center;display:flex;gap:.75rem;height:3rem;width:100%}:host .content .name{display:flex;flex-direction:column;justify-content:center}:host .content .name>:first-child{--tw-text-opacity:1;color:rgb(39 40 56/var(--tw-text-opacity));font-size:.875rem;font-weight:600;line-height:1.25rem}:host .content .name>:nth-child(2){--tw-text-opacity:1;color:rgb(152 154 183/var(--tw-text-opacity));font-size:.875rem;line-height:1.25rem}:host(.has-dropdown){cursor:pointer}:host(.has-dropdown) .content{--tw-border-opacity:1!important;border-color:rgb(218 230 240/var(--tw-border-opacity))!important;border-radius:.25rem;border-style:solid!important;border-width:1px!important;padding-left:.5rem;padding-right:.5rem}:host(.active) .content,:host(.has-dropdown:hover) .content{--tw-shadow:0px 0.3125rem 1rem rgba(0,24,98,.08),0px 0.0625rem 0.1875rem rgba(0,24,98,.13);--tw-shadow-colored:0px 0.3125rem 1rem var(--tw-shadow-color),0px 0.0625rem 0.1875rem var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}:host(.active) .content p-icon{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity))}";export{i as p_profile}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,H as r}from"./p-8d46c60d.js";const a=class{constructor(i){t(this,i)}render(){return i(r,{class:"p-modal-backdrop"},i("slot",null))}};a.style=".static{position:static!important}.fixed{position:fixed!important}.top-0{top:0!important}.left-0{left:0!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.flex{display:flex!important}.h-screen{height:100vh!important}.w-screen{width:100vw!important}.justify-center{justify-content:center!important}.backdrop-blur-xs{--tw-backdrop-blur:blur(2px)!important;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important;backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}:host{--tw-backdrop-blur:blur(2px);align-items:center;-webkit-animation:fadeIn .2s ease-in-out;animation:fadeIn .2s ease-in-out;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);background-color:rgba(81,83,107,.5);display:flex;height:100vh;justify-content:center;left:0;position:fixed;top:0;width:100vw;z-index:500}@media (min-width:40rem){:host{padding:4rem}}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@media (min-width:40rem){.tablet\\:w-80{width:20rem!important}.tablet\\:w-\\[33\\.5rem\\]{width:33.5rem!important}.tablet\\:w-\\[38rem\\]{width:38rem!important}.tablet\\:w-\\[47\\.5rem\\]{width:47.5rem!important}.tablet\\:w-\\[57\\.5rem\\]{width:57.5rem!important}}";const m=class{constructor(i){t(this,i),this.variant="default"}render(){return i(r,{class:`p-modal-body variant-${this.variant}`},i("slot",null))}};m.style=".static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.h-full{height:100%!important}.px-14{padding-left:3.5rem!important;padding-right:3.5rem!important}.py-6{padding-bottom:1.5rem!important;padding-top:1.5rem!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}:host{height:100%;padding:1.5rem 3.5rem}@media (min-width:40rem){:host{height:auto}}:host(.variant-table){padding-left:1.5rem;padding-right:1.5rem}@media (min-width:40rem){.tablet\\:w-80{width:20rem!important}.tablet\\:w-\\[33\\.5rem\\]{width:33.5rem!important}.tablet\\:w-\\[38rem\\]{width:38rem!important}.tablet\\:w-\\[47\\.5rem\\]{width:47.5rem!important}.tablet\\:w-\\[57\\.5rem\\]{width:57.5rem!important}}";const e={xs:"tablet:w-80",sm:"tablet:w-[33.5rem]",md:"tablet:w-[38rem]",lg:"tablet:w-[47.5rem]",xl:"tablet:w-[57.5rem]"},o=class{constructor(i){t(this,i),this.size="md"}render(){return i(r,{class:`p-modal-container ${e[this.size]}`},i("slot",null))}};o.style=".static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.flex{display:flex!important}.h-full{height:100%!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.shadow-4{--tw-shadow:0px 0.3125rem 1rem rgba(0,24,98,.08),0px 0.0625rem 0.1875rem rgba(0,24,98,.13)!important;--tw-shadow-colored:0px 0.3125rem 1rem var(--tw-shadow-color),0px 0.0625rem 0.1875rem var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}p-modal-container{--tw-bg-opacity:1;--tw-shadow:0px 0.3125rem 1rem rgba(0,24,98,.08),0px 0.0625rem 0.1875rem rgba(0,24,98,.13)!important;--tw-shadow-colored:0px 0.3125rem 1rem var(--tw-shadow-color),0px 0.0625rem 0.1875rem var(--tw-shadow-color)!important;background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important;display:flex;flex-direction:column;height:100%;overflow:hidden;width:100%}@media (min-width:40rem){p-modal-container{border-radius:.75rem;height:auto}.tablet\\:w-80{width:20rem!important}.tablet\\:w-\\[33\\.5rem\\]{width:33.5rem!important}.tablet\\:w-\\[38rem\\]{width:38rem!important}.tablet\\:w-\\[47\\.5rem\\]{width:47.5rem!important}.tablet\\:w-\\[57\\.5rem\\]{width:57.5rem!important}}";const n=class{constructor(i){t(this,i)}render(){return i(r,{class:"p-modal-footer"},i("p-divider",{class:"mb-6 mt-0"}),i("slot",null))}};n.style=".static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.flex{display:flex!important}.pb-6{padding-bottom:1.5rem!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}:host{display:flex;flex-direction:column;padding-bottom:1.5rem;padding-left:1.5rem;padding-right:1.5rem}@media (min-width:40rem){.tablet\\:w-80{width:20rem!important}.tablet\\:w-\\[33\\.5rem\\]{width:33.5rem!important}.tablet\\:w-\\[38rem\\]{width:38rem!important}.tablet\\:w-\\[47\\.5rem\\]{width:47.5rem!important}.tablet\\:w-\\[57\\.5rem\\]{width:57.5rem!important}}";const d=class{constructor(i){t(this,i)}render(){return i(r,{class:"p-modal-header"},i("slot",null))}};d.style=".static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.block{display:block!important}.border-b{border-bottom-width:1px!important}.border-b-mystic-medium{--tw-border-opacity:1!important;border-bottom-color:rgb(227 236 243/var(--tw-border-opacity))!important}.px-8{padding-left:2rem!important;padding-right:2rem!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}:host{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-border-opacity:1!important;background-color:rgb(247 250 252/var(--tw-bg-opacity));border-bottom-color:rgb(227 236 243/var(--tw-border-opacity))!important;border-bottom-width:1px!important;color:rgb(39 40 56/var(--tw-text-opacity));display:block;font-size:1.875rem;font-weight:700;line-height:2.25rem;padding:1.5rem 2rem}@media (min-width:40rem){.tablet\\:w-80{width:20rem!important}.tablet\\:w-\\[33\\.5rem\\]{width:33.5rem!important}.tablet\\:w-\\[38rem\\]{width:38rem!important}.tablet\\:w-\\[47\\.5rem\\]{width:47.5rem!important}.tablet\\:w-\\[57\\.5rem\\]{width:57.5rem!important}}";export{a as p_modal_backdrop,m as p_modal_body,o as p_modal_container,n as p_modal_footer,d as p_modal_header}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as o,H as s,g as a}from"./p-8d46c60d.js";const e=class{constructor(o){t(this,o),this.size="md",this.variant="default",this.show=!1,this._hasFooterSlot=!1}componentWillLoad(){this._hasFooterSlot=!!this._el.querySelector('[slot="footer"]')}render(){if(!this.show)return;const t=o("slot",{name:"header"}),a=o("slot",{name:"content"}),e=o("slot",{name:"footer"});return o(s,{class:"p-modal"},o("p-modal-backdrop",null,o("p-modal-container",{size:this.size},o("p-modal-header",null,this.header?this.header:t),o("p-modal-body",{variant:this.variant},a),this._hasFooterSlot&&o("p-modal-footer",null,e))))}get _el(){return a(this)}};export{e as p_modal}
|