@moser-inc/moser-labs-react 6.0.1 → 6.0.2
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }body{margin:0;background-color:var(--surface-ground);color:var(--text-color);font-family:var(--font-family)}.pi-bars{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19 12.75H5a.75.75 0 0 1 0-1.5h14a.75.75 0 0 1 0 1.5m0-4.5H5a.75.75 0 0 1 0-1.5h14a.75.75 0 0 1 0 1.5m0 9H5a.75.75 0 0 1 0-1.5h14a.75.75 0 0 1 0 1.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em;scale:130%}.pi-chevron-down{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 15.25a.74.74 0 0 1-.53-.22l-5-5A.75.75 0 0 1 7.53 9L12 13.44L16.47 9a.75.75 0 0 1 1.06 1l-5 5a.74.74 0 0 1-.53.25'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em;scale:130%}.pi-chevron-up{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M17 15.25a.74.74 0 0 1-.53-.22L12 10.56L7.53 15a.75.75 0 0 1-1.06-1l5-5a.75.75 0 0 1 1.06 0l5 5a.75.75 0 0 1 0 1.06a.74.74 0 0 1-.53.19'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em;scale:130%}.pi-dollar{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 20.75a.76.76 0 0 1-.75-.75V4a.75.75 0 0 1 1.5 0v16a.76.76 0 0 1-.75.75'/%3E%3Cpath fill='currentColor' d='M13.5 18.75H7a.75.75 0 0 1 0-1.5h6.5A2.54 2.54 0 0 0 16.25 15a2.54 2.54 0 0 0-2.75-2.25h-3A4 4 0 0 1 6.25 9a4 4 0 0 1 4.25-3.75H16a.75.75 0 0 1 0 1.5h-5.5A2.54 2.54 0 0 0 7.75 9a2.54 2.54 0 0 0 2.75 2.25h3A4 4 0 0 1 17.75 15a4 4 0 0 1-4.25 3.75'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em;scale:130%}.pi-search{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M10.77 18.3a7.53 7.53 0 1 1 7.53-7.53a7.53 7.53 0 0 1-7.53 7.53m0-13.55a6 6 0 1 0 6 6a6 6 0 0 0-6-6'/%3E%3Cpath fill='currentColor' d='M20 20.75a.74.74 0 0 1-.53-.22l-4.13-4.13a.75.75 0 0 1 1.06-1.06l4.13 4.13a.75.75 0 0 1 0 1.06a.74.74 0 0 1-.53.22'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em;scale:130%}.pi-times{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m13.06 12l4.42-4.42a.75.75 0 1 0-1.06-1.06L12 10.94L7.58 6.52a.75.75 0 0 0-1.06 1.06L10.94 12l-4.42 4.42a.75.75 0 0 0 0 1.06a.75.75 0 0 0 1.06 0L12 13.06l4.42 4.42a.75.75 0 0 0 1.06 0a.75.75 0 0 0 0-1.06Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em;scale:130%}.\[\&\>i\]\:labs-layout-nav-icon>i,.labs-layout-nav-icon{scale:1.75!important;min-width:1em}.-container{width:-100%}.labs-layout-main-content{position:relative;display:flex;flex-grow:1;flex-direction:column;overflow:hidden;background-color:var(--surface-ground);padding-bottom:5rem;color:var(--text-color)}.labs-layout-nav{position:sticky;top:0;height:100%;height:100vh;height:100dvh;display:flex;flex-shrink:1;flex-direction:column;gap:.5rem;overflow-y:auto;padding:.75rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.labs-layout-nav-mobile{position:fixed!important;bottom:1rem;right:1rem;z-index:2}.labs-layout-header-subtitle{margin:0;font-size:.875rem;line-height:1.25rem;line-height:2}.labs-layout-header-title{margin:0;--un-gradient-from-position:0%;--un-gradient-from:rgb(220 25 164 / var(--un-from-opacity, 1)) var(--un-gradient-from-position);--un-gradient-to-position:100%;--un-gradient-to:rgb(220 25 164 / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to:var(--blue-500) var(--un-gradient-to-position);background-image:linear-gradient(var(--un-gradient, var(--un-gradient-stops, rgb(255 255 255 / 0))));--un-gradient-shape:111deg in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);-webkit-background-clip:text;background-clip:text;font-size:2rem;color:transparent;line-height:1.25}.labs-layout-header-content{margin-right:auto;display:flex;align-items:flex-end;gap:.5rem}.labs-layout{min-height:100%;min-height:100vh;min-height:100dvh;display:flex;background-color:var(--surface-card)}.labs-layout-header{height:auto;display:flex;align-items:center;gap:1rem;padding:1rem}.labs-layout-main{min-width:0;display:flex;flex-grow:1;flex-direction:column}.labs-layout-nav-button{min-height:3.5rem;min-width:3.5rem;height:3.5rem!important;width:3.5rem!important}.labs-layout-nav-closed{min-width:5rem!important;width:5rem!important}.labs-layout-nav-menu{width:auto!important;flex-shrink:1;border-width:0px!important;background-color:transparent!important;padding-top:0!important;padding-bottom:0!important}.labs-layout-nav-open{min-width:15.5rem!important;width:15.5rem!important}.min-h-viewport{min-height:100%;min-height:100vh;min-height:100dvh}.labs-layout-header-actions{display:flex;align-items:center;gap:1rem}.labs-layout-nav-menu-list{display:flex;flex-direction:column;gap:.5rem}.labs-main{display:flex;flex-grow:1;flex-direction:column}.labs-main-center{display:flex;flex-grow:1;flex-direction:column;align-items:center;justify-content:center}.text-primary-gradient{--un-gradient-from-position:0%;--un-gradient-from:rgb(220 25 164 / var(--un-from-opacity, 1)) var(--un-gradient-from-position);--un-gradient-to-position:100%;--un-gradient-to:rgb(220 25 164 / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to:var(--blue-500) var(--un-gradient-to-position);background-image:linear-gradient(var(--un-gradient, var(--un-gradient-stops, rgb(255 255 255 / 0))));--un-gradient-shape:111deg in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);-webkit-background-clip:text;background-clip:text;color:transparent}.text-color-secondary{color:var(--text-color-secondary)}.text-primary{--un-text-opacity:1;color:rgb(220 25 164 / var(--un-text-opacity))}.labs-mask{--un-backdrop-blur:blur(5px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}@media (prefers-color-scheme: light){.labs-layout-header-title,.text-primary-gradient{--un-gradient-from-position:0%;--un-gradient-from:rgb(165 16 128 / var(--un-from-opacity, 1)) var(--un-gradient-from-position);--un-gradient-to-position:100%;--un-gradient-to:rgb(165 16 128 / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to:var(--blue-700) var(--un-gradient-to-position)}.text-primary{--un-text-opacity:1;color:rgb(165 16 128 / var(--un-text-opacity))}}@media (min-width: 640px){.-container{max-width:-640px}.labs-layout-header{height:5rem}.labs-layout-main-content{border-top-left-radius:1.5rem;padding-bottom:0}}@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}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-16{bottom:4rem}.z-1{z-index:1}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.mt-3{margin-top:.75rem}.block{display:block}.contents{display:contents}.max-w-44{max-width:11rem}.min-w-8{min-width:2rem}.w-full{width:100%}.flex{display:flex}.shrink{flex-shrink:1}.flex-col{flex-direction:column}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:.25rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.rounded{border-radius:.25rem}.text-center{text-align:center}.text-32{font-size:8rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.text-red-600{color:var(--red-600)}.font-semibold{font-weight:600}.lh-6{line-height:1.5rem}
|
|
1
|
+
*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }body{margin:0;background-color:var(--surface-ground);color:var(--text-color);font-family:var(--font-family)}.pi-bars{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19 12.75H5a.75.75 0 0 1 0-1.5h14a.75.75 0 0 1 0 1.5m0-4.5H5a.75.75 0 0 1 0-1.5h14a.75.75 0 0 1 0 1.5m0 9H5a.75.75 0 0 1 0-1.5h14a.75.75 0 0 1 0 1.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em;scale:130%}.pi-chevron-down{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 15.25a.74.74 0 0 1-.53-.22l-5-5A.75.75 0 0 1 7.53 9L12 13.44L16.47 9a.75.75 0 0 1 1.06 1l-5 5a.74.74 0 0 1-.53.25'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em;scale:130%}.pi-chevron-up{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M17 15.25a.74.74 0 0 1-.53-.22L12 10.56L7.53 15a.75.75 0 0 1-1.06-1l5-5a.75.75 0 0 1 1.06 0l5 5a.75.75 0 0 1 0 1.06a.74.74 0 0 1-.53.19'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em;scale:130%}.pi-dollar{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 20.75a.76.76 0 0 1-.75-.75V4a.75.75 0 0 1 1.5 0v16a.76.76 0 0 1-.75.75'/%3E%3Cpath fill='currentColor' d='M13.5 18.75H7a.75.75 0 0 1 0-1.5h6.5A2.54 2.54 0 0 0 16.25 15a2.54 2.54 0 0 0-2.75-2.25h-3A4 4 0 0 1 6.25 9a4 4 0 0 1 4.25-3.75H16a.75.75 0 0 1 0 1.5h-5.5A2.54 2.54 0 0 0 7.75 9a2.54 2.54 0 0 0 2.75 2.25h3A4 4 0 0 1 17.75 15a4 4 0 0 1-4.25 3.75'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em;scale:130%}.pi-search{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M10.77 18.3a7.53 7.53 0 1 1 7.53-7.53a7.53 7.53 0 0 1-7.53 7.53m0-13.55a6 6 0 1 0 6 6a6 6 0 0 0-6-6'/%3E%3Cpath fill='currentColor' d='M20 20.75a.74.74 0 0 1-.53-.22l-4.13-4.13a.75.75 0 0 1 1.06-1.06l4.13 4.13a.75.75 0 0 1 0 1.06a.74.74 0 0 1-.53.22'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em;scale:130%}.pi-times{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m13.06 12l4.42-4.42a.75.75 0 1 0-1.06-1.06L12 10.94L7.58 6.52a.75.75 0 0 0-1.06 1.06L10.94 12l-4.42 4.42a.75.75 0 0 0 0 1.06a.75.75 0 0 0 1.06 0L12 13.06l4.42 4.42a.75.75 0 0 0 1.06 0a.75.75 0 0 0 0-1.06Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em;scale:130%}.\[\&\>i\]\:labs-layout-nav-icon>i,.labs-layout-nav-icon{scale:1.75!important;min-width:1em;color:inherit}.-container{width:-100%}.labs-layout-main-content{position:relative;display:flex;flex-grow:1;flex-direction:column;overflow:hidden;background-color:var(--surface-ground);padding-bottom:5rem;color:var(--text-color)}.labs-layout-nav{position:sticky;top:0;height:100%;height:100vh;height:100dvh;display:flex;flex-shrink:1;flex-direction:column;gap:.5rem;overflow-y:auto;padding:.75rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.labs-layout-nav-mobile{position:fixed!important;bottom:1rem;right:1rem;z-index:2}.labs-layout-header-subtitle{margin:0;font-size:.875rem;line-height:1.25rem;line-height:2}.labs-layout-header-title{margin:0;--un-gradient-from-position:0%;--un-gradient-from:rgb(220 25 164 / var(--un-from-opacity, 1)) var(--un-gradient-from-position);--un-gradient-to-position:100%;--un-gradient-to:rgb(220 25 164 / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to:var(--blue-500) var(--un-gradient-to-position);background-image:linear-gradient(var(--un-gradient, var(--un-gradient-stops, rgb(255 255 255 / 0))));--un-gradient-shape:111deg in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);-webkit-background-clip:text;background-clip:text;font-size:2rem;color:transparent;line-height:1.25}.labs-layout-header-content{margin-right:auto;display:flex;align-items:flex-end;gap:.5rem}.labs-layout{min-height:100%;min-height:100vh;min-height:100dvh;display:flex;background-color:var(--surface-card)}.labs-layout-header{height:auto;display:flex;align-items:center;gap:1rem;padding:1rem}.labs-layout-main{min-width:0;display:flex;flex-grow:1;flex-direction:column}.labs-layout-nav-button{min-height:3.5rem;min-width:3.5rem;height:3.5rem!important;width:3.5rem!important}.labs-layout-nav-closed{min-width:5rem!important;width:5rem!important}.labs-layout-nav-menu{width:auto!important;flex-shrink:1;border-width:0px!important;background-color:transparent!important;padding-top:0!important;padding-bottom:0!important}.labs-layout-nav-open{min-width:15.5rem!important;width:15.5rem!important}.min-h-viewport{min-height:100%;min-height:100vh;min-height:100dvh}.labs-layout-header-actions{display:flex;align-items:center;gap:1rem}.labs-layout-nav-menu-list{display:flex;flex-direction:column;gap:.5rem}.labs-main{display:flex;flex-grow:1;flex-direction:column}.labs-main-center{display:flex;flex-grow:1;flex-direction:column;align-items:center;justify-content:center}.text-primary-gradient{--un-gradient-from-position:0%;--un-gradient-from:rgb(220 25 164 / var(--un-from-opacity, 1)) var(--un-gradient-from-position);--un-gradient-to-position:100%;--un-gradient-to:rgb(220 25 164 / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to:var(--blue-500) var(--un-gradient-to-position);background-image:linear-gradient(var(--un-gradient, var(--un-gradient-stops, rgb(255 255 255 / 0))));--un-gradient-shape:111deg in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);-webkit-background-clip:text;background-clip:text;color:transparent}.text-color-secondary{color:var(--text-color-secondary)}.text-primary{--un-text-opacity:1;color:rgb(220 25 164 / var(--un-text-opacity))}.labs-mask{--un-backdrop-blur:blur(5px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}@media (prefers-color-scheme: light){.labs-layout-header-title,.text-primary-gradient{--un-gradient-from-position:0%;--un-gradient-from:rgb(165 16 128 / var(--un-from-opacity, 1)) var(--un-gradient-from-position);--un-gradient-to-position:100%;--un-gradient-to:rgb(165 16 128 / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to:var(--blue-700) var(--un-gradient-to-position)}.text-primary{--un-text-opacity:1;color:rgb(165 16 128 / var(--un-text-opacity))}}@media (min-width: 640px){.-container{max-width:-640px}.labs-layout-header{height:5rem}.labs-layout-main-content{border-top-left-radius:1.5rem;padding-bottom:0}}@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}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-16{bottom:4rem}.z-1{z-index:1}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.mt-3{margin-top:.75rem}.block{display:block}.contents{display:contents}.max-w-44{max-width:11rem}.min-w-8{min-width:2rem}.w-full{width:100%}.flex{display:flex}.inline-flex{display:inline-flex}.shrink{flex-shrink:1}.flex-col{flex-direction:column}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.rounded{border-radius:.25rem}.text-32{font-size:8rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.text-red-600{color:var(--red-600)}.font-semibold{font-weight:600}.lh-6{line-height:1.5rem}
|
package/dist/moser-labs-react.js
CHANGED
|
@@ -4,7 +4,7 @@ var yn = (e, t, n) => j6(e, typeof t != "symbol" ? t + "" : t, n);
|
|
|
4
4
|
import * as y from "react";
|
|
5
5
|
import fo, { useContext as wn, useEffect as on, useState as hi, useRef as Ot, useMemo as rr, forwardRef as Ja, useCallback as Bt, createContext as no, useLayoutEffect as R6, useId as sh, useInsertionEffect as Ay, Children as F6, isValidElement as V6, Fragment as Ny, createElement as My, Component as H6, Suspense as B6 } from "react";
|
|
6
6
|
import _s from "react-dom";
|
|
7
|
-
const U6 = "6.0.
|
|
7
|
+
const U6 = "6.0.2", K6 = {
|
|
8
8
|
version: U6
|
|
9
9
|
}, pL = K6.version;
|
|
10
10
|
var z6 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
@@ -675,7 +675,7 @@ function Ly(e) {
|
|
|
675
675
|
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
676
676
|
return r;
|
|
677
677
|
}
|
|
678
|
-
function
|
|
678
|
+
function Nn() {
|
|
679
679
|
for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t = Ly(e)) && (r && (r += " "), r += t);
|
|
680
680
|
return r;
|
|
681
681
|
}
|
|
@@ -2621,14 +2621,14 @@ function uw() {
|
|
|
2621
2621
|
l && (l.style.zIndex = String(t(s, u, c)));
|
|
2622
2622
|
},
|
|
2623
2623
|
clear: function(s) {
|
|
2624
|
-
s && (n(
|
|
2624
|
+
s && (n(Fn.get(s)), s.style.zIndex = "");
|
|
2625
2625
|
},
|
|
2626
2626
|
getCurrent: function(s, l) {
|
|
2627
2627
|
return r(s, l);
|
|
2628
2628
|
}
|
|
2629
2629
|
};
|
|
2630
2630
|
}
|
|
2631
|
-
var
|
|
2631
|
+
var Fn = uw(), qn = Object.freeze({
|
|
2632
2632
|
STARTS_WITH: "startsWith",
|
|
2633
2633
|
CONTAINS: "contains",
|
|
2634
2634
|
NOT_CONTAINS: "notContains",
|
|
@@ -3231,7 +3231,7 @@ var Kl = {
|
|
|
3231
3231
|
if (r)
|
|
3232
3232
|
return Fy.addListener(n, o);
|
|
3233
3233
|
}, [n, r, o]);
|
|
3234
|
-
},
|
|
3234
|
+
}, Mn = function() {
|
|
3235
3235
|
var t = wn(gn);
|
|
3236
3236
|
return function() {
|
|
3237
3237
|
for (var n = arguments.length, r = new Array(n), o = 0; o < n; o++)
|
|
@@ -3441,7 +3441,7 @@ function Cv(e, t) {
|
|
|
3441
3441
|
}
|
|
3442
3442
|
return n;
|
|
3443
3443
|
}
|
|
3444
|
-
function
|
|
3444
|
+
function jn(e) {
|
|
3445
3445
|
for (var t = 1; t < arguments.length; t++) {
|
|
3446
3446
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
3447
3447
|
t % 2 ? Cv(Object(n), !0).forEach(function(r) {
|
|
@@ -3866,7 +3866,7 @@ svg.p-icon g,
|
|
|
3866
3866
|
classes: {},
|
|
3867
3867
|
styles: "",
|
|
3868
3868
|
extend: function() {
|
|
3869
|
-
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = t.css, r =
|
|
3869
|
+
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = t.css, r = jn(jn({}, t.defaultProps), Ft.defaultProps), o = {}, i = function(c) {
|
|
3870
3870
|
var d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
3871
3871
|
return Ft.context = d, Ft.cProps = c, he.getMergedProps(c, r);
|
|
3872
3872
|
}, a = function(c) {
|
|
@@ -3890,14 +3890,14 @@ svg.p-icon g,
|
|
|
3890
3890
|
} : q != null && q.hasOwnProperty("className") && Array.isArray(q.className) ? {
|
|
3891
3891
|
className: $e.apply(void 0, xv(q.className))
|
|
3892
3892
|
} : q;
|
|
3893
|
-
}, z = g ? w ? Hy(F, m, f) : By(F, m, f) : void 0, k = w ? void 0 : Yc(Wc(d, O), F, m, f), Y = !$ &&
|
|
3893
|
+
}, z = g ? w ? Hy(F, m, f) : By(F, m, f) : void 0, k = w ? void 0 : Yc(Wc(d, O), F, m, f), Y = !$ && jn(jn({}, E === "root" && Rf({}, "".concat(x, "name"), f.props && f.props.__parentMetadata ? he.toFlatCase(f.props.__TYPE) : O)), {}, Rf({}, "".concat(x, "section"), E));
|
|
3894
3894
|
return P || !P && k ? G ? pc([z, k, Object.keys(Y).length ? Y : {}], {
|
|
3895
3895
|
classNameMergeFunction: (c = Ft.context.ptOptions) === null || c === void 0 ? void 0 : c.classNameMergeFunction
|
|
3896
|
-
}) :
|
|
3896
|
+
}) : jn(jn(jn({}, z), k), Object.keys(Y).length ? Y : {}) : jn(jn({}, k), Object.keys(Y).length ? Y : {});
|
|
3897
3897
|
}, l = function() {
|
|
3898
3898
|
var c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, d = c.props, h = c.state, f = function() {
|
|
3899
3899
|
var O = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", $ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
3900
|
-
return s((d || {}).pt, O,
|
|
3900
|
+
return s((d || {}).pt, O, jn(jn({}, c), $));
|
|
3901
3901
|
}, g = function() {
|
|
3902
3902
|
var O = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, $ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", x = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
3903
3903
|
return s(O, $, x, !1);
|
|
@@ -3905,17 +3905,17 @@ svg.p-icon g,
|
|
|
3905
3905
|
return Ft.context.unstyled || qt.unstyled || d.unstyled;
|
|
3906
3906
|
}, w = function() {
|
|
3907
3907
|
var O = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", $ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
3908
|
-
return m() ? void 0 : Io(n && n.classes, O,
|
|
3908
|
+
return m() ? void 0 : Io(n && n.classes, O, jn({
|
|
3909
3909
|
props: d,
|
|
3910
3910
|
state: h
|
|
3911
3911
|
}, $));
|
|
3912
3912
|
}, E = function() {
|
|
3913
3913
|
var O = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", $ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, x = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
|
|
3914
3914
|
if (x) {
|
|
3915
|
-
var N, A = Io(n && n.inlineStyles, O,
|
|
3915
|
+
var N, A = Io(n && n.inlineStyles, O, jn({
|
|
3916
3916
|
props: d,
|
|
3917
3917
|
state: h
|
|
3918
|
-
}, $)), V = Io(o, O,
|
|
3918
|
+
}, $)), V = Io(o, O, jn({
|
|
3919
3919
|
props: d,
|
|
3920
3920
|
state: h
|
|
3921
3921
|
}, $));
|
|
@@ -3932,7 +3932,7 @@ svg.p-icon g,
|
|
|
3932
3932
|
isUnstyled: m
|
|
3933
3933
|
};
|
|
3934
3934
|
};
|
|
3935
|
-
return
|
|
3935
|
+
return jn(jn({
|
|
3936
3936
|
getProps: i,
|
|
3937
3937
|
getOtherProps: a,
|
|
3938
3938
|
setMetaData: l
|
|
@@ -3963,7 +3963,7 @@ svg.p-icon g,
|
|
|
3963
3963
|
var a = t._usept || Ft.context.ptOptions || {}, s = a.mergeSections, l = s === void 0 ? !0 : s, u = a.mergeProps, c = u === void 0 ? !1 : u, d = a.classNameMergeFunction, h = i(t.originalValue), f = i(t.value);
|
|
3964
3964
|
return h === void 0 && f === void 0 ? void 0 : he.isString(f) ? f : he.isString(h) ? h : l || !l && f ? c ? pc([h, f], {
|
|
3965
3965
|
classNameMergeFunction: d
|
|
3966
|
-
}) :
|
|
3966
|
+
}) : jn(jn({}, h), f) : f;
|
|
3967
3967
|
}
|
|
3968
3968
|
return i(t);
|
|
3969
3969
|
}, Lw = function() {
|
|
@@ -4204,7 +4204,7 @@ function Yw(e) {
|
|
|
4204
4204
|
return e;
|
|
4205
4205
|
}
|
|
4206
4206
|
var Pn = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
4207
|
-
var n = y.useState(!1), r = Kw(n, 2), o = r[0], i = r[1], a = y.useRef(null), s = y.useRef(null), l =
|
|
4207
|
+
var n = y.useState(!1), r = Kw(n, 2), o = r[0], i = r[1], a = y.useRef(null), s = y.useRef(null), l = Mn(), u = y.useContext(gn), c = Ea.getProps(e, u), d = u && u.ripple || qt.ripple, h = {
|
|
4208
4208
|
props: c
|
|
4209
4209
|
};
|
|
4210
4210
|
wa(Ea.css.styles, {
|
|
@@ -4574,7 +4574,7 @@ function d9(e) {
|
|
|
4574
4574
|
return e;
|
|
4575
4575
|
}
|
|
4576
4576
|
var es = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
4577
|
-
var n =
|
|
4577
|
+
var n = Mn(), r = y.useContext(gn), o = hu.getProps(e, r), i = y.useState(!1), a = sa(i, 2), s = a[0], l = a[1], u = y.useState(o.position || "right"), c = sa(u, 2), d = c[0], h = c[1], f = y.useState(""), g = sa(f, 2), m = g[0], w = g[1], E = y.useState(!1), D = sa(E, 2), O = D[0], $ = D[1], x = s && o.closeOnEscape, N = Ul("tooltip", x), A = {
|
|
4578
4578
|
props: o,
|
|
4579
4579
|
state: {
|
|
4580
4580
|
visible: s,
|
|
@@ -4651,7 +4651,7 @@ var es = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
4651
4651
|
}, Oe = function(oe) {
|
|
4652
4652
|
ye(k.current, function() {
|
|
4653
4653
|
var ke = R.current, Ue = ke.pageX, Ke = ke.pageY;
|
|
4654
|
-
o.autoZIndex && !
|
|
4654
|
+
o.autoZIndex && !Fn.get(F.current) && Fn.set("tooltip", F.current, r && r.autoZIndex || qt.autoZIndex, o.baseZIndex || r && r.zIndex.tooltip || qt.zIndex.tooltip), F.current.style.left = "", F.current.style.top = "", K() && (F.current.style.pointerEvents = "none");
|
|
4655
4655
|
var je = se(k.current) || oe === "mouse";
|
|
4656
4656
|
(je && !Y.current || je) && (Y.current = {
|
|
4657
4657
|
width: ee.getOuterWidth(F.current),
|
|
@@ -4686,7 +4686,7 @@ var es = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
4686
4686
|
target: k.current
|
|
4687
4687
|
});
|
|
4688
4688
|
ke && St("hideDelay", function() {
|
|
4689
|
-
!K() && Z.current === !1 || (
|
|
4689
|
+
!K() && Z.current === !1 || (Fn.clear(F.current), ee.removeClass(F.current, "p-tooltip-active"), l(!1), Mt(o.onHide, {
|
|
4690
4690
|
originalEvent: oe,
|
|
4691
4691
|
target: k.current
|
|
4692
4692
|
}));
|
|
@@ -4831,7 +4831,7 @@ var es = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
4831
4831
|
});
|
|
4832
4832
|
});
|
|
4833
4833
|
}, [o.content]), $r(function() {
|
|
4834
|
-
we(),
|
|
4834
|
+
we(), Fn.clear(F.current);
|
|
4835
4835
|
}), y.useImperativeHandle(t, function() {
|
|
4836
4836
|
return {
|
|
4837
4837
|
props: o,
|
|
@@ -5009,7 +5009,7 @@ function v9(e) {
|
|
|
5009
5009
|
return e;
|
|
5010
5010
|
}
|
|
5011
5011
|
var zy = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
5012
|
-
var n =
|
|
5012
|
+
var n = Mn(), r = y.useContext(gn), o = mu.getProps(e, r), i = mu.setMetaData(v9({
|
|
5013
5013
|
props: o
|
|
5014
5014
|
}, o.__parentMetadata)), a = i.ptm, s = i.cx, l = i.isUnstyled;
|
|
5015
5015
|
kr(mu.css.styles, l, {
|
|
@@ -5111,7 +5111,7 @@ function Ld(e) {
|
|
|
5111
5111
|
return e;
|
|
5112
5112
|
}
|
|
5113
5113
|
var Da = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
5114
|
-
var n =
|
|
5114
|
+
var n = Mn(), r = y.useContext(gn), o = vu.getProps(e, r), i = o.disabled || o.loading, a = Ld(Ld({
|
|
5115
5115
|
props: o
|
|
5116
5116
|
}, o.__parentMetadata), {}, {
|
|
5117
5117
|
context: {
|
|
@@ -5188,9 +5188,9 @@ var Da = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
5188
5188
|
Da.displayName = "Button";
|
|
5189
5189
|
const Wy = (e) => {
|
|
5190
5190
|
const {
|
|
5191
|
-
|
|
5192
|
-
|
|
5193
|
-
|
|
5191
|
+
severity: t,
|
|
5192
|
+
icon: n,
|
|
5193
|
+
iconClassName: r,
|
|
5194
5194
|
text: o = !1,
|
|
5195
5195
|
outlined: i = !1,
|
|
5196
5196
|
rounded: a = !1,
|
|
@@ -5198,31 +5198,33 @@ const Wy = (e) => {
|
|
|
5198
5198
|
size: l,
|
|
5199
5199
|
type: u = "button",
|
|
5200
5200
|
label: c,
|
|
5201
|
-
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
|
|
5201
|
+
disabled: d,
|
|
5202
|
+
className: h,
|
|
5203
|
+
children: f,
|
|
5204
|
+
...g
|
|
5205
|
+
} = e, m = rr(
|
|
5206
|
+
() => n ? /* @__PURE__ */ Ie.jsx("i", { className: Nn(n, r) }) : null,
|
|
5207
|
+
[n, r]
|
|
5208
|
+
), w = Nn(h, "inline-flex gap-2", {
|
|
5209
|
+
[`p-button-${t}`]: t,
|
|
5209
5210
|
"p-button-text": o,
|
|
5210
5211
|
"p-button-outlined": i,
|
|
5211
5212
|
"p-button-rounded": a,
|
|
5212
5213
|
"p-button-icon-only": s,
|
|
5213
5214
|
"p-button-sm": l === "small",
|
|
5214
5215
|
"p-button-lg": l === "large",
|
|
5215
|
-
"
|
|
5216
|
+
"p-disabled p-button-disabled": d
|
|
5216
5217
|
});
|
|
5217
5218
|
return /* @__PURE__ */ Ie.jsx(
|
|
5218
5219
|
Da,
|
|
5219
5220
|
{
|
|
5220
|
-
icon:
|
|
5221
|
-
className:
|
|
5221
|
+
icon: m,
|
|
5222
|
+
className: w,
|
|
5222
5223
|
type: u,
|
|
5223
5224
|
label: c,
|
|
5224
|
-
|
|
5225
|
-
|
|
5225
|
+
disabled: d,
|
|
5226
|
+
...g,
|
|
5227
|
+
children: f
|
|
5226
5228
|
}
|
|
5227
5229
|
);
|
|
5228
5230
|
};
|
|
@@ -5510,7 +5512,7 @@ function Iv(e) {
|
|
|
5510
5512
|
return e;
|
|
5511
5513
|
}
|
|
5512
5514
|
var fh = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
5513
|
-
var n =
|
|
5515
|
+
var n = Mn(), r = y.useContext(gn), o = gu.getProps(e, r), i = gu.setMetaData(Iv(Iv({
|
|
5514
5516
|
props: o
|
|
5515
5517
|
}, o.__parentMetadata), {}, {
|
|
5516
5518
|
context: {
|
|
@@ -7347,7 +7349,7 @@ var J9 = `
|
|
|
7347
7349
|
styles: J9
|
|
7348
7350
|
}
|
|
7349
7351
|
}), r2 = /* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
7350
|
-
var n = e.cx, r =
|
|
7352
|
+
var n = e.cx, r = Mn(), o = function() {
|
|
7351
7353
|
var s = r({
|
|
7352
7354
|
className: n("panel", {
|
|
7353
7355
|
panelClassName: e.className
|
|
@@ -7455,7 +7457,7 @@ function Yv(e, t) {
|
|
|
7455
7457
|
return r;
|
|
7456
7458
|
}
|
|
7457
7459
|
var o2 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
7458
|
-
var n =
|
|
7460
|
+
var n = Mn(), r = y.useContext(gn), o = Eu.getProps(e, r), i = y.useState(!1), a = Vr(i, 2), s = a[0], l = a[1], u = y.useState(!1), c = Vr(u, 2), d = c[0], h = c[1], f = y.useState(null), g = Vr(f, 2), m = g[0], w = g[1], E = y.useState(o.id), D = Vr(E, 2), O = D[0], $ = D[1], x = d && o.closeOnEscape, N = Ul("overlay-panel", x), A = {
|
|
7459
7461
|
props: o,
|
|
7460
7462
|
state: {
|
|
7461
7463
|
focused: s,
|
|
@@ -7465,7 +7467,7 @@ var o2 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
7465
7467
|
}, V = Eu.setMetaData(A), C = V.ptm, P = V.cx, j = V.isUnstyled;
|
|
7466
7468
|
zl({
|
|
7467
7469
|
callback: function() {
|
|
7468
|
-
|
|
7470
|
+
Ln(null, Fe);
|
|
7469
7471
|
},
|
|
7470
7472
|
when: d && N,
|
|
7471
7473
|
priority: [Kl.OVERLAY_PANEL, N]
|
|
@@ -7477,7 +7479,7 @@ var o2 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
7477
7479
|
overlay: F,
|
|
7478
7480
|
listener: function(p, v) {
|
|
7479
7481
|
var _ = v.type, I = v.valid;
|
|
7480
|
-
I && (_ === "outside" ? !T.current && !Rm(p.target) &&
|
|
7482
|
+
I && (_ === "outside" ? !T.current && !Rm(p.target) && Ln("outside") : r.hideOverlaysOnDocumentScrolling ? Ln() : ee.isDocument(p.target) || kd()), T.current = !1;
|
|
7481
7483
|
},
|
|
7482
7484
|
when: !(o.touchUI || o.inline) && Re,
|
|
7483
7485
|
type: "mousedown"
|
|
@@ -7494,13 +7496,13 @@ var o2 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
7494
7496
|
break;
|
|
7495
7497
|
}
|
|
7496
7498
|
case "Escape": {
|
|
7497
|
-
|
|
7499
|
+
Ln(), o.touchUI && na();
|
|
7498
7500
|
break;
|
|
7499
7501
|
}
|
|
7500
7502
|
case "Tab": {
|
|
7501
7503
|
F && F.current && (ee.getFocusableElements(F.current).forEach(function(v) {
|
|
7502
7504
|
return v.tabIndex = "-1";
|
|
7503
|
-
}),
|
|
7505
|
+
}), Ln(), o.touchUI && na());
|
|
7504
7506
|
break;
|
|
7505
7507
|
}
|
|
7506
7508
|
}
|
|
@@ -7541,7 +7543,7 @@ var o2 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
7541
7543
|
return Zo(_.getDate(), _.getMonth(), _.getFullYear(), !1) && Bm(_);
|
|
7542
7544
|
}) && io() && (v = p.length > 1 && p[1] >= p[0]), v;
|
|
7543
7545
|
}, oe = function() {
|
|
7544
|
-
Re ?
|
|
7546
|
+
Re ? Ln() : Rr();
|
|
7545
7547
|
}, ke = function(p) {
|
|
7546
7548
|
k.current = {
|
|
7547
7549
|
backward: !0,
|
|
@@ -7558,7 +7560,7 @@ var o2 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
7558
7560
|
!o.inline && It(p);
|
|
7559
7561
|
break;
|
|
7560
7562
|
case "Escape":
|
|
7561
|
-
|
|
7563
|
+
Ln(null, Fe), p.preventDefault();
|
|
7562
7564
|
break;
|
|
7563
7565
|
}
|
|
7564
7566
|
}, je = function(p, v, _) {
|
|
@@ -7718,7 +7720,7 @@ var o2 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
7718
7720
|
};
|
|
7719
7721
|
Zt(p, v), pr(p, _, I), o.onTodayButtonClick && o.onTodayButtonClick(p);
|
|
7720
7722
|
}, Le = function(p) {
|
|
7721
|
-
X.current = !0, jt(p, null), Xo(null), ye((/* @__PURE__ */ new Date()).getFullYear()),
|
|
7723
|
+
X.current = !0, jt(p, null), Xo(null), ye((/* @__PURE__ */ new Date()).getFullYear()), Ln(), o.onClearButtonClick && o.onClearButtonClick(p);
|
|
7722
7724
|
}, Xe = function(p) {
|
|
7723
7725
|
o.inline || Ia.emit("overlay-click", {
|
|
7724
7726
|
originalEvent: p,
|
|
@@ -7903,11 +7905,11 @@ var o2 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
7903
7905
|
}
|
|
7904
7906
|
case "ArrowUp": {
|
|
7905
7907
|
if (I.tabIndex = "-1", p.altKey)
|
|
7906
|
-
|
|
7908
|
+
Ln(null, Fe);
|
|
7907
7909
|
else {
|
|
7908
7910
|
var lt = ae.parentElement.previousElementSibling;
|
|
7909
7911
|
if (lt) {
|
|
7910
|
-
var _n = ee.index(ae.parentElement),
|
|
7912
|
+
var _n = ee.index(ae.parentElement), $n = Array.from(ae.parentElement.parentElement.children), Hn = $n.slice(0, _n).reverse(), sr = Hn.find(function(xo) {
|
|
7911
7913
|
var Co = xo.children[le].children[0];
|
|
7912
7914
|
return !ee.getAttribute(Co, "data-p-disabled");
|
|
7913
7915
|
});
|
|
@@ -7969,7 +7971,7 @@ var o2 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
7969
7971
|
break;
|
|
7970
7972
|
}
|
|
7971
7973
|
case "Escape": {
|
|
7972
|
-
|
|
7974
|
+
Ln(null, Fe), p.preventDefault();
|
|
7973
7975
|
break;
|
|
7974
7976
|
}
|
|
7975
7977
|
case "Tab": {
|
|
@@ -8069,7 +8071,7 @@ var o2 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
8069
8071
|
break;
|
|
8070
8072
|
}
|
|
8071
8073
|
case "Escape": {
|
|
8072
|
-
|
|
8074
|
+
Ln(null, Fe), p.preventDefault();
|
|
8073
8075
|
break;
|
|
8074
8076
|
}
|
|
8075
8077
|
case "Tab": {
|
|
@@ -8127,7 +8129,7 @@ var o2 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
8127
8129
|
break;
|
|
8128
8130
|
}
|
|
8129
8131
|
case "Escape": {
|
|
8130
|
-
|
|
8132
|
+
Ln(null, Fe), p.preventDefault();
|
|
8131
8133
|
break;
|
|
8132
8134
|
}
|
|
8133
8135
|
case "Tab": {
|
|
@@ -8153,7 +8155,7 @@ var o2 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
8153
8155
|
else
|
|
8154
8156
|
lu(p, v, _);
|
|
8155
8157
|
!o.inline && yi() && (!o.showTime || o.hideOnDateTimeSelect) && !I && (setTimeout(function() {
|
|
8156
|
-
|
|
8158
|
+
Ln("dateselect"), Fe();
|
|
8157
8159
|
}, 100), R.current && na()), p.preventDefault();
|
|
8158
8160
|
}
|
|
8159
8161
|
}, xd = function(p, v) {
|
|
@@ -8255,7 +8257,7 @@ var o2 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
8255
8257
|
}) : (h(!0), L.current = function(v) {
|
|
8256
8258
|
!H4(v) && Re && (T.current = !0);
|
|
8257
8259
|
}, Ia.on("overlay-click", L.current));
|
|
8258
|
-
},
|
|
8260
|
+
}, Ln = function(p, v) {
|
|
8259
8261
|
var _ = function() {
|
|
8260
8262
|
q.current = !1, Y.current = !1, T.current = !1, v && v(), Ia.off("overlay-click", L.current), L.current = null;
|
|
8261
8263
|
};
|
|
@@ -8278,7 +8280,7 @@ var o2 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
8278
8280
|
};
|
|
8279
8281
|
if (ee.addStyles(F.current, p), o.autoZIndex) {
|
|
8280
8282
|
var v = o.touchUI ? "modal" : "overlay";
|
|
8281
|
-
|
|
8283
|
+
Fn.set(v, F.current, r && r.autoZIndex || qt.autoZIndex, o.baseZIndex || r && r.zIndex[v] || qt.zIndex[v]);
|
|
8282
8284
|
}
|
|
8283
8285
|
if (!o.touchUI && F && F.current && z && z.current && !jm()) {
|
|
8284
8286
|
var _ = ee.getOuterWidth(z.current);
|
|
@@ -8290,15 +8292,15 @@ var o2 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
8290
8292
|
}, R4 = function() {
|
|
8291
8293
|
Mt();
|
|
8292
8294
|
}, F4 = function() {
|
|
8293
|
-
|
|
8295
|
+
Fn.clear(F.current), o.onHide && o.onHide();
|
|
8294
8296
|
}, jm = function() {
|
|
8295
8297
|
var p = o.appendTo || r && r.appendTo || qt.appendTo;
|
|
8296
8298
|
return p === "self" || o.inline;
|
|
8297
8299
|
}, kd = function() {
|
|
8298
8300
|
o.touchUI ? V4() : F && F.current && z && z.current && (ee.alignOverlay(F.current, z.current, o.appendTo || r && r.appendTo || qt.appendTo), jm() ? ee.relativePosition(F.current, z.current) : ee.absolutePosition(F.current, z.current)), j() && (F.current.style.minWidth = "");
|
|
8299
8301
|
}, V4 = function() {
|
|
8300
|
-
R.current || (R.current = document.createElement("div"), R.current.style.zIndex = String(
|
|
8301
|
-
na(),
|
|
8302
|
+
R.current || (R.current = document.createElement("div"), R.current.style.zIndex = String(Fn.get(F.current) - 1), !j() && ee.addMultipleClasses(R.current, "p-component-overlay p-datepicker-mask p-datepicker-mask-scrollblocker p-component-overlay-enter"), b.current = function() {
|
|
8303
|
+
na(), Ln();
|
|
8302
8304
|
}, R.current.addEventListener("click", b.current), document.body.appendChild(R.current), ee.blockBodyScroll());
|
|
8303
8305
|
}, na = function() {
|
|
8304
8306
|
R.current && (j ? _d() : (!j() && ee.addClass(R.current, "p-component-overlay-leave"), ee.hasCSSAnimation(R.current) > 0 ? R.current.addEventListener("animationend", function() {
|
|
@@ -8370,7 +8372,7 @@ var o2 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
8370
8372
|
selectable: Zo(lt, _n.month, _n.year, !0)
|
|
8371
8373
|
});
|
|
8372
8374
|
}
|
|
8373
|
-
for (var
|
|
8375
|
+
for (var $n = 7 - Be.length, Hn = 0; Hn < $n; Hn++)
|
|
8374
8376
|
Be.push({
|
|
8375
8377
|
day: ce,
|
|
8376
8378
|
month: p,
|
|
@@ -8542,17 +8544,17 @@ var o2 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
8542
8544
|
}, Wm = function(p, v) {
|
|
8543
8545
|
if (!p)
|
|
8544
8546
|
return "";
|
|
8545
|
-
var _, I = function(
|
|
8546
|
-
var Hn = _ + 1 < v.length && v.charAt(_ + 1) ===
|
|
8547
|
+
var _, I = function($n) {
|
|
8548
|
+
var Hn = _ + 1 < v.length && v.charAt(_ + 1) === $n;
|
|
8547
8549
|
return Hn && _++, Hn;
|
|
8548
|
-
}, ae = function(
|
|
8550
|
+
}, ae = function($n, Hn, sr) {
|
|
8549
8551
|
var Vt = "" + Hn;
|
|
8550
|
-
if (I(
|
|
8552
|
+
if (I($n))
|
|
8551
8553
|
for (; Vt.length < sr; )
|
|
8552
8554
|
Vt = "0" + Vt;
|
|
8553
8555
|
return Vt;
|
|
8554
|
-
}, le = function(
|
|
8555
|
-
return I(
|
|
8556
|
+
}, le = function($n, Hn, sr, Vt) {
|
|
8557
|
+
return I($n) ? Vt[Hn] : sr[Hn];
|
|
8556
8558
|
}, ce = "", ge = !1, We = yr(o.locale), ct = We.dayNamesShort, ft = We.dayNames, Be = We.monthNamesShort, lt = We.monthNames;
|
|
8557
8559
|
if (p)
|
|
8558
8560
|
for (_ = 0; _ < v.length; _++)
|
|
@@ -8667,7 +8669,7 @@ var o2 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
8667
8669
|
var _, I, ae, le = 0, ce = typeof o.shortYearCutoff != "string" ? o.shortYearCutoff : (/* @__PURE__ */ new Date()).getFullYear() % 100 + parseInt(o.shortYearCutoff, 10), ge = -1, We = -1, ct = -1, ft = -1, Be = !1, lt, _n = function(Pr) {
|
|
8668
8670
|
var Jo = _ + 1 < v.length && v.charAt(_ + 1) === Pr;
|
|
8669
8671
|
return Jo && _++, Jo;
|
|
8670
|
-
},
|
|
8672
|
+
}, $n = function(Pr) {
|
|
8671
8673
|
var Jo = _n(Pr), aa = Pr === "@" ? 14 : Pr === "!" ? 20 : Pr === "y" && Jo ? 4 : Pr === "o" ? 3 : 2, Qo = Pr === "y" ? aa : 1, bi = new RegExp("^\\d{" + Qo + "," + aa + "}"), Fr = p.substring(le).match(bi);
|
|
8672
8674
|
if (!Fr)
|
|
8673
8675
|
throw new Error("Missing number at position " + le);
|
|
@@ -8701,28 +8703,28 @@ var o2 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
8701
8703
|
else
|
|
8702
8704
|
switch (v.charAt(_)) {
|
|
8703
8705
|
case "d":
|
|
8704
|
-
ct =
|
|
8706
|
+
ct = $n("d");
|
|
8705
8707
|
break;
|
|
8706
8708
|
case "D":
|
|
8707
8709
|
Hn("D", Tr, Ad);
|
|
8708
8710
|
break;
|
|
8709
8711
|
case "o":
|
|
8710
|
-
ft =
|
|
8712
|
+
ft = $n("o");
|
|
8711
8713
|
break;
|
|
8712
8714
|
case "m":
|
|
8713
|
-
We =
|
|
8715
|
+
We = $n("m");
|
|
8714
8716
|
break;
|
|
8715
8717
|
case "M":
|
|
8716
8718
|
We = Hn("M", Nd, fu);
|
|
8717
8719
|
break;
|
|
8718
8720
|
case "y":
|
|
8719
|
-
ge =
|
|
8721
|
+
ge = $n("y");
|
|
8720
8722
|
break;
|
|
8721
8723
|
case "@":
|
|
8722
|
-
lt = new Date(
|
|
8724
|
+
lt = new Date($n("@")), ge = lt.getFullYear(), We = lt.getMonth() + 1, ct = lt.getDate();
|
|
8723
8725
|
break;
|
|
8724
8726
|
case "!":
|
|
8725
|
-
lt = new Date((
|
|
8727
|
+
lt = new Date(($n("!") - ticksTo1970) / 1e4), ge = lt.getFullYear(), We = lt.getMonth() + 1, ct = lt.getDate();
|
|
8726
8728
|
break;
|
|
8727
8729
|
case "'":
|
|
8728
8730
|
_n("'") ? sr() : Be = !0;
|
|
@@ -8813,12 +8815,12 @@ var o2 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
8813
8815
|
}, [o.dateFormat, o.hourFormat, o.timeOnly, o.showSeconds, o.showMillisec, o.showTime, o.locale]), Qt(function() {
|
|
8814
8816
|
F.current && (Gn(m), kt());
|
|
8815
8817
|
}), $r(function() {
|
|
8816
|
-
R.current && (na(), R.current = null),
|
|
8818
|
+
R.current && (na(), R.current = null), Fn.clear(F.current);
|
|
8817
8819
|
}), y.useImperativeHandle(t, function() {
|
|
8818
8820
|
return {
|
|
8819
8821
|
props: o,
|
|
8820
8822
|
show: Rr,
|
|
8821
|
-
hide:
|
|
8823
|
+
hide: Ln,
|
|
8822
8824
|
getCurrentDateTime: Jt,
|
|
8823
8825
|
getViewDate: en,
|
|
8824
8826
|
updateViewDate: Zt,
|
|
@@ -8964,7 +8966,7 @@ var o2 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
8964
8966
|
}), Vt);
|
|
8965
8967
|
}));
|
|
8966
8968
|
if (o.yearNavigatorTemplate) {
|
|
8967
|
-
var
|
|
8969
|
+
var $n = Be.map(function(Vt, Tr) {
|
|
8968
8970
|
return {
|
|
8969
8971
|
label: Vt,
|
|
8970
8972
|
value: Vt,
|
|
@@ -8975,7 +8977,7 @@ var o2 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
8975
8977
|
className: "p-datepicker-year",
|
|
8976
8978
|
value: _,
|
|
8977
8979
|
names: Be,
|
|
8978
|
-
options:
|
|
8980
|
+
options: $n,
|
|
8979
8981
|
element: _n,
|
|
8980
8982
|
props: o
|
|
8981
8983
|
};
|
|
@@ -10231,7 +10233,7 @@ function eg(e) {
|
|
|
10231
10233
|
return e;
|
|
10232
10234
|
}
|
|
10233
10235
|
var a2 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
10234
|
-
var n =
|
|
10236
|
+
var n = Mn(), r = y.useContext(gn), o = xu.getProps(e, r), i = y.useState(!1), a = O7(i, 2), s = a[0], l = a[1], u = xu.setMetaData({
|
|
10235
10237
|
props: o,
|
|
10236
10238
|
state: {
|
|
10237
10239
|
focused: s
|
|
@@ -15139,7 +15141,7 @@ const uS = (e, t) => Ih(e) ? new lS(t) : new aS(t, {
|
|
|
15139
15141
|
Qc.span,
|
|
15140
15142
|
{
|
|
15141
15143
|
id: t,
|
|
15142
|
-
className:
|
|
15144
|
+
className: Nn(i, "text-color-secondary", { "sr-only": r }),
|
|
15143
15145
|
...a,
|
|
15144
15146
|
children: o
|
|
15145
15147
|
}
|
|
@@ -15156,7 +15158,7 @@ const uS = (e, t) => Ih(e) ? new lS(t) : new aS(t, {
|
|
|
15156
15158
|
{
|
|
15157
15159
|
id: t,
|
|
15158
15160
|
htmlFor: e,
|
|
15159
|
-
className:
|
|
15161
|
+
className: Nn(i, "text-color-secondary", { "sr-only": r }),
|
|
15160
15162
|
...a,
|
|
15161
15163
|
children: o
|
|
15162
15164
|
}
|
|
@@ -15191,7 +15193,7 @@ const uS = (e, t) => Ih(e) ? new lS(t) : new aS(t, {
|
|
|
15191
15193
|
id: t,
|
|
15192
15194
|
role: "alert",
|
|
15193
15195
|
"aria-live": "polite",
|
|
15194
|
-
className:
|
|
15196
|
+
className: Nn(i, "text-red-600", { "sr-only": r }),
|
|
15195
15197
|
...fS,
|
|
15196
15198
|
...a,
|
|
15197
15199
|
children: o
|
|
@@ -15238,7 +15240,7 @@ const uS = (e, t) => Ih(e) ? new lS(t) : new aS(t, {
|
|
|
15238
15240
|
}
|
|
15239
15241
|
)
|
|
15240
15242
|
] }), as = (e) => e, ss = (e) => ({
|
|
15241
|
-
className:
|
|
15243
|
+
className: Nn("w-full", { "p-invalid": !!e.message })
|
|
15242
15244
|
}), pS = (e) => {
|
|
15243
15245
|
const {
|
|
15244
15246
|
id: t,
|
|
@@ -15265,7 +15267,7 @@ const uS = (e, t) => Ih(e) ? new lS(t) : new aS(t, {
|
|
|
15265
15267
|
message: s,
|
|
15266
15268
|
hint: l,
|
|
15267
15269
|
animation: u,
|
|
15268
|
-
className:
|
|
15270
|
+
className: Nn(c, "flex items-center gap-4"),
|
|
15269
15271
|
children: [
|
|
15270
15272
|
/* @__PURE__ */ Ie.jsx(
|
|
15271
15273
|
a2,
|
|
@@ -15324,7 +15326,7 @@ const hS = (e, t, n, r = !1) => {
|
|
|
15324
15326
|
labelId: n,
|
|
15325
15327
|
messageId: r,
|
|
15326
15328
|
hintId: o,
|
|
15327
|
-
className:
|
|
15329
|
+
className: Nn(h, "flex flex-col gap-1"),
|
|
15328
15330
|
...g,
|
|
15329
15331
|
children: [
|
|
15330
15332
|
!u && /* @__PURE__ */ Ie.jsx(
|
|
@@ -15340,7 +15342,7 @@ const hS = (e, t, n, r = !1) => {
|
|
|
15340
15342
|
/* @__PURE__ */ Ie.jsxs(
|
|
15341
15343
|
"div",
|
|
15342
15344
|
{
|
|
15343
|
-
className:
|
|
15345
|
+
className: Nn("flex w-full", {
|
|
15344
15346
|
"p-float-label": u,
|
|
15345
15347
|
"p-icon-field": !!c || !!d,
|
|
15346
15348
|
"p-icon-field-left": !!c,
|
|
@@ -15432,7 +15434,7 @@ const hS = (e, t, n, r = !1) => {
|
|
|
15432
15434
|
}) => /* @__PURE__ */ Ie.jsxs(
|
|
15433
15435
|
"div",
|
|
15434
15436
|
{
|
|
15435
|
-
className:
|
|
15437
|
+
className: Nn(t, "my-6 flex flex-col items-center gap-6"),
|
|
15436
15438
|
...o,
|
|
15437
15439
|
children: [
|
|
15438
15440
|
/* @__PURE__ */ Ie.jsx("div", { className: "max-w-44 w-full flex items-center justify-center", children: r ?? /* @__PURE__ */ Ie.jsx("i", { className: `${n} text-32 text-primary` }) }),
|
|
@@ -15543,7 +15545,7 @@ var mS = {
|
|
|
15543
15545
|
inlineStyles: gS
|
|
15544
15546
|
}
|
|
15545
15547
|
}), Vb = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
15546
|
-
var n =
|
|
15548
|
+
var n = Mn(), r = y.useContext(gn), o = _u.getProps(e, r), i = y.useRef(null), a = _u.setMetaData({
|
|
15547
15549
|
props: o
|
|
15548
15550
|
}), s = a.ptm, l = a.cx, u = a.sx, c = a.isUnstyled;
|
|
15549
15551
|
kr(_u.css.styles, c, {
|
|
@@ -15590,7 +15592,7 @@ const yS = {
|
|
|
15590
15592
|
...r
|
|
15591
15593
|
}) => {
|
|
15592
15594
|
const o = yS[t];
|
|
15593
|
-
return /* @__PURE__ */ Ie.jsxs("div", { className:
|
|
15595
|
+
return /* @__PURE__ */ Ie.jsxs("div", { className: Nn(n, "flex flex-col items-center"), children: [
|
|
15594
15596
|
/* @__PURE__ */ Ie.jsx(Vb, { style: { width: o, height: o }, ...r }),
|
|
15595
15597
|
e && /* @__PURE__ */ Ie.jsx("div", { className: "mt-3", children: /* @__PURE__ */ Ie.jsx("p", { children: e }) })
|
|
15596
15598
|
] });
|
|
@@ -16696,7 +16698,7 @@ const CL = ({
|
|
|
16696
16698
|
...r
|
|
16697
16699
|
}) => {
|
|
16698
16700
|
const o = (e == null ? void 0 : e.TITLE) ?? "";
|
|
16699
|
-
return Qb({ title: o }), /* @__PURE__ */ Ie.jsx("main", { className:
|
|
16701
|
+
return Qb({ title: o }), /* @__PURE__ */ Ie.jsx("main", { className: Nn(t, "labs-main"), ...r, children: n });
|
|
16700
16702
|
};
|
|
16701
16703
|
function yl(e) {
|
|
16702
16704
|
"@babel/helpers - typeof";
|
|
@@ -16916,7 +16918,7 @@ function kO(e) {
|
|
|
16916
16918
|
return e;
|
|
16917
16919
|
}
|
|
16918
16920
|
var t3 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
16919
|
-
var n =
|
|
16921
|
+
var n = Mn(), r = y.useContext(gn), o = Tu.getProps(e, r), i = y.useState(o.id), a = fa(i, 2), s = a[0], l = a[1], u = y.useState(!o.popup), c = fa(u, 2), d = c[0], h = c[1], f = y.useState(-1), g = fa(f, 2), m = g[0], w = g[1], E = y.useState(-1), D = fa(E, 2), O = D[0], $ = D[1], x = y.useState(!1), N = fa(x, 2), A = N[0], V = N[1], C = Tu.setMetaData({
|
|
16920
16922
|
props: o,
|
|
16921
16923
|
state: {
|
|
16922
16924
|
id: s,
|
|
@@ -17040,18 +17042,18 @@ var t3 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
17040
17042
|
position: "absolute",
|
|
17041
17043
|
top: "0",
|
|
17042
17044
|
left: "0"
|
|
17043
|
-
}),
|
|
17045
|
+
}), Fn.set("menu", k.current, r && r.autoZIndex || qt.autoZIndex, o.baseZIndex || r && r.zIndex.menu || qt.zIndex.menu), ee.absolutePosition(k.current, Z.current, o.popupAlignment), o.popup && (ee.focus(Y.current), pe(0));
|
|
17044
17046
|
}, He = function() {
|
|
17045
17047
|
T();
|
|
17046
17048
|
}, Re = function() {
|
|
17047
17049
|
Z.current = null, M();
|
|
17048
17050
|
}, Ze = function() {
|
|
17049
|
-
|
|
17051
|
+
Fn.clear(k.current);
|
|
17050
17052
|
};
|
|
17051
17053
|
Or(function() {
|
|
17052
17054
|
s || l($o());
|
|
17053
17055
|
}), $r(function() {
|
|
17054
|
-
|
|
17056
|
+
Fn.clear(k.current);
|
|
17055
17057
|
}), y.useImperativeHandle(t, function() {
|
|
17056
17058
|
return {
|
|
17057
17059
|
props: o,
|
|
@@ -17256,7 +17258,7 @@ const _O = ({
|
|
|
17256
17258
|
return /* @__PURE__ */ Ie.jsxs(
|
|
17257
17259
|
"div",
|
|
17258
17260
|
{
|
|
17259
|
-
className:
|
|
17261
|
+
className: Nn(e, "labs-layout-nav", {
|
|
17260
17262
|
"labs-layout-nav-closed": !i,
|
|
17261
17263
|
"labs-layout-nav-open": i
|
|
17262
17264
|
}),
|
|
@@ -17619,7 +17621,7 @@ function Iu(e) {
|
|
|
17619
17621
|
return e;
|
|
17620
17622
|
}
|
|
17621
17623
|
var r3 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
17622
|
-
var n = y.useState(!1), r = Es(n, 2), o = r[0], i = r[1], a = y.useState(null), s = Es(a, 2), l = s[0], u = s[1], c = y.useState(!1), d = Es(c, 2), h = d[0], f = d[1], g = y.useState(-1), m = Es(g, 2), w = m[0], E = m[1], D = y.useRef(!1), O = y.useRef(null), $ = y.useRef(null), x =
|
|
17624
|
+
var n = y.useState(!1), r = Es(n, 2), o = r[0], i = r[1], a = y.useState(null), s = Es(a, 2), l = s[0], u = s[1], c = y.useState(!1), d = Es(c, 2), h = d[0], f = d[1], g = y.useState(-1), m = Es(g, 2), w = m[0], E = m[1], D = y.useRef(!1), O = y.useRef(null), $ = y.useRef(null), x = Mn(), N = y.useContext(gn), A = Du.getProps(e, N), V = A.onVisibleChange ? A.visible : o, C = Ul("speed-dial", V), P = {
|
|
17623
17625
|
props: A,
|
|
17624
17626
|
state: {
|
|
17625
17627
|
visible: V
|
|
@@ -18007,7 +18009,7 @@ const VO = ({
|
|
|
18007
18009
|
"aria-label": "Toggle Main Navigation",
|
|
18008
18010
|
items: t,
|
|
18009
18011
|
radius: 120,
|
|
18010
|
-
className:
|
|
18012
|
+
className: Nn(e, "labs-layout-nav-mobile"),
|
|
18011
18013
|
showIcon: "labs-layout-nav-icon pi-bars",
|
|
18012
18014
|
hideIcon: "labs-layout-nav-icon pi-times",
|
|
18013
18015
|
mask: !0,
|
|
@@ -18281,7 +18283,7 @@ function pa(e) {
|
|
|
18281
18283
|
return e;
|
|
18282
18284
|
}
|
|
18283
18285
|
var a3 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
18284
|
-
var n =
|
|
18286
|
+
var n = Mn(), r = y.useContext(gn), o = Au.getProps(e, r), i = Ua(e) || {}, a = o.orientation === "vertical", s = o.orientation === "horizontal", l = o.orientation === "both", u = y.useState(l ? {
|
|
18285
18287
|
rows: 0,
|
|
18286
18288
|
cols: 0
|
|
18287
18289
|
} : 0), c = So(u, 2), d = c[0], h = c[1], f = y.useState(l ? {
|
|
@@ -19172,7 +19174,7 @@ var nk = {
|
|
|
19172
19174
|
}));
|
|
19173
19175
|
s3.displayName = "BlankIcon";
|
|
19174
19176
|
var l3 = /* @__PURE__ */ y.memo(function(e) {
|
|
19175
|
-
var t =
|
|
19177
|
+
var t = Mn(), n = e.ptm, r = e.cx, o = e.selected, i = e.disabled, a = e.option, s = e.label, l = e.index, u = e.focusedOptionIndex, c = e.ariaSetSize, d = e.checkmark, h = e.highlightOnSelect, f = e.onInputKeyDown, g = function(x) {
|
|
19176
19178
|
return n(x, {
|
|
19177
19179
|
context: {
|
|
19178
19180
|
selected: o,
|
|
@@ -19255,7 +19257,7 @@ function Hr(e) {
|
|
|
19255
19257
|
return e;
|
|
19256
19258
|
}
|
|
19257
19259
|
var u3 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
19258
|
-
var n =
|
|
19260
|
+
var n = Mn(), r = e.ptm, o = e.cx, i = e.sx, a = y.useContext(gn), s = y.useRef(null), l = !(e.visibleOptions && e.visibleOptions.length) && e.hasFilter, u = e.visibleOptions ? e.visibleOptions.length : 0, c = {
|
|
19259
19261
|
filter: function(P) {
|
|
19260
19262
|
return g(P);
|
|
19261
19263
|
},
|
|
@@ -19544,7 +19546,7 @@ function Br(e) {
|
|
|
19544
19546
|
return e;
|
|
19545
19547
|
}
|
|
19546
19548
|
var c3 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
19547
|
-
var n =
|
|
19549
|
+
var n = Mn(), r = y.useContext(gn), o = Nu.getProps(e, r), i = bw("", o.filterDelay || 0), a = xs(i, 3), s = a[0], l = a[1], u = a[2], c = y.useState(!1), d = xs(c, 2), h = d[0], f = d[1], g = y.useState(-1), m = xs(g, 2), w = m[0], E = m[1], D = y.useState(!1), O = xs(D, 2), $ = O[0], x = O[1], N = y.useRef(!1), A = y.useRef(null), V = y.useRef(null), C = y.useRef(null), P = y.useRef(null), j = y.useRef(o.inputRef), G = y.useRef(o.focusInputRef), F = y.useRef(null), z = y.useRef(null), k = y.useRef(null), Y = o.virtualScrollerOptions && o.virtualScrollerOptions.lazy, Z = he.isNotEmpty(l), q = o.appendTo || r && r.appendTo || qt.appendTo, R = Nu.setMetaData(Br(Br({
|
|
19548
19550
|
props: o
|
|
19549
19551
|
}, o.__parentMetadata), {}, {
|
|
19550
19552
|
state: {
|
|
@@ -19583,8 +19585,8 @@ var c3 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
19583
19585
|
var zt = [], jt = ik(o.options), Rr;
|
|
19584
19586
|
try {
|
|
19585
19587
|
for (jt.s(); !(Rr = jt.n()).done; ) {
|
|
19586
|
-
var
|
|
19587
|
-
fs && fs.length && zt.push(Br(Br({},
|
|
19588
|
+
var Ln = Rr.value, fs = bv.filter(cn(Ln), Je, Ee, o.filterMatchMode, o.filterLocale);
|
|
19589
|
+
fs && fs.length && zt.push(Br(Br({}, Ln), td({}, "".concat(o.optionGroupChildren), fs)));
|
|
19588
19590
|
}
|
|
19589
19591
|
} catch (Od) {
|
|
19590
19592
|
jt.e(Od);
|
|
@@ -19935,7 +19937,7 @@ var c3 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
19935
19937
|
}, Ct = function() {
|
|
19936
19938
|
o.editable && !$ && N.current === !1 && ee.focus(j.current);
|
|
19937
19939
|
}, dt = function(U) {
|
|
19938
|
-
|
|
19940
|
+
Fn.set("overlay", V.current, r && r.autoZIndex || qt.autoZIndex, r && r.zIndex.overlay || qt.zIndex.overlay), ee.addStyles(V.current, {
|
|
19939
19941
|
position: "absolute",
|
|
19940
19942
|
top: "0",
|
|
19941
19943
|
left: "0"
|
|
@@ -19945,7 +19947,7 @@ var c3 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
19945
19947
|
}, Qe = function() {
|
|
19946
19948
|
X();
|
|
19947
19949
|
}, me = function() {
|
|
19948
|
-
o.filter && o.resetFilterOnHide && zn(),
|
|
19950
|
+
o.filter && o.resetFilterOnHide && zn(), Fn.clear(V.current), o.onHide && o.onHide();
|
|
19949
19951
|
}, _e = function() {
|
|
19950
19952
|
ee.alignOverlay(V.current, j.current.parentElement, o.appendTo || r && r.appendTo || qt.appendTo);
|
|
19951
19953
|
}, Ne = function() {
|
|
@@ -20033,7 +20035,7 @@ var c3 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
20033
20035
|
}, [l]), Qt(function() {
|
|
20034
20036
|
en(), j.current && (j.current.selectedIndex = 1);
|
|
20035
20037
|
}), $r(function() {
|
|
20036
|
-
|
|
20038
|
+
Fn.clear(V.current);
|
|
20037
20039
|
});
|
|
20038
20040
|
var kn = function() {
|
|
20039
20041
|
var U = {
|
|
@@ -20586,7 +20588,7 @@ function M1(e) {
|
|
|
20586
20588
|
return e;
|
|
20587
20589
|
}
|
|
20588
20590
|
var p3 = /* @__PURE__ */ y.memo(function(e) {
|
|
20589
|
-
var t =
|
|
20591
|
+
var t = Mn(), n = y.useState(null), r = Ds(n, 2), o = r[0], i = r[1], a = y.useRef(null), s = y.useContext(gn), l = e.ptm, u = e.cx, c = function(k, Y) {
|
|
20590
20592
|
return l(k, {
|
|
20591
20593
|
hostName: e.hostName,
|
|
20592
20594
|
state: M1({}, Y)
|
|
@@ -20813,7 +20815,7 @@ function ha(e) {
|
|
|
20813
20815
|
return e;
|
|
20814
20816
|
}
|
|
20815
20817
|
var h3 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
20816
|
-
var n =
|
|
20818
|
+
var n = Mn(), r = y.useContext(gn), o = Mu.getProps(e, r), i = y.useState(!1), a = Ds(i, 2), s = a[0], l = a[1], u = y.useState(!1), c = Ds(u, 2), d = c[0], h = c[1], f = y.useState(null), g = Ds(f, 2), m = g[0], w = g[1], E = Mu.setMetaData({
|
|
20817
20819
|
props: o,
|
|
20818
20820
|
state: {
|
|
20819
20821
|
focused: s,
|
|
@@ -20922,7 +20924,7 @@ var h3 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
20922
20924
|
}, S = function() {
|
|
20923
20925
|
o.onBeforeHide && o.onBeforeHide(), h(!1), ee.focus(A.current);
|
|
20924
20926
|
}, K = function() {
|
|
20925
|
-
|
|
20927
|
+
Fn.set("overlay", N.current, r && r.autoZIndex || qt.autoZIndex, r && r.zIndex.overlay || qt.zIndex.overlay), ee.addStyles(N.current, {
|
|
20926
20928
|
position: "absolute",
|
|
20927
20929
|
top: "0",
|
|
20928
20930
|
left: "0"
|
|
@@ -20932,7 +20934,7 @@ var h3 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
20932
20934
|
}, de = function() {
|
|
20933
20935
|
Y(), P.current = !1;
|
|
20934
20936
|
}, fe = function() {
|
|
20935
|
-
|
|
20937
|
+
Fn.clear(N.current), o.onHide && o.onHide(), ye();
|
|
20936
20938
|
}, ve = function() {
|
|
20937
20939
|
ee.alignOverlay(N.current, V.current.parentElement, o.appendTo || r && r.appendTo || qt.appendTo);
|
|
20938
20940
|
}, pe = function() {
|
|
@@ -20997,7 +20999,7 @@ var h3 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
|
20997
20999
|
}, [A, o.inputRef]), Qt(function() {
|
|
20998
21000
|
H();
|
|
20999
21001
|
}, [o.value]), $r(function() {
|
|
21000
|
-
|
|
21002
|
+
Fn.clear(N.current);
|
|
21001
21003
|
});
|
|
21002
21004
|
var Oe = function() {
|
|
21003
21005
|
var Q = o.value ? L(o.value) : void 0, Ce = n({
|
|
@@ -21381,7 +21383,7 @@ function F1(e) {
|
|
|
21381
21383
|
return e;
|
|
21382
21384
|
}
|
|
21383
21385
|
var m3 = /* @__PURE__ */ y.memo(/* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
21384
|
-
var n =
|
|
21386
|
+
var n = Mn(), r = y.useContext(gn), o = Lu.getProps(e, r), i = y.useRef(t), a = y.useRef(0), s = Lu.setMetaData(F1(F1({
|
|
21385
21387
|
props: o
|
|
21386
21388
|
}, o.__parentMetadata), {}, {
|
|
21387
21389
|
context: {
|
|
@@ -21609,7 +21611,7 @@ var $u = Ft.extend({
|
|
|
21609
21611
|
`
|
|
21610
21612
|
}
|
|
21611
21613
|
}), v3 = /* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
21612
|
-
var n =
|
|
21614
|
+
var n = Mn(), r = y.useContext(gn), o = $u.getProps(e, r), i = y.useState(o.id), a = H1(i, 2), s = a[0], l = a[1], u = y.useState(o.collapsed), c = H1(u, 2), d = c[0], h = c[1], f = y.useRef(null), g = y.useRef(null), m = o.toggleable ? o.onToggle ? o.collapsed : d : !1, w = s + "_header", E = s + "_content", D = $u.setMetaData({
|
|
21613
21615
|
props: o,
|
|
21614
21616
|
state: {
|
|
21615
21617
|
id: s,
|
|
@@ -21744,17 +21746,17 @@ const _L = ({ title: e, children: t, ...n }) => {
|
|
|
21744
21746
|
), a = (s) => /* @__PURE__ */ Ie.jsxs(
|
|
21745
21747
|
"div",
|
|
21746
21748
|
{
|
|
21747
|
-
className:
|
|
21749
|
+
className: Nn(s.className, "gap-4 items-center cursor-pointer"),
|
|
21748
21750
|
onClick: s.onTogglerClick,
|
|
21749
21751
|
children: [
|
|
21750
|
-
/* @__PURE__ */ Ie.jsx("span", { className:
|
|
21752
|
+
/* @__PURE__ */ Ie.jsx("span", { className: Nn(s.titleClassName, "lh-6"), children: s.titleElement }),
|
|
21751
21753
|
/* @__PURE__ */ Ie.jsx(
|
|
21752
21754
|
Wy,
|
|
21753
21755
|
{
|
|
21754
21756
|
label: "Toggle Item",
|
|
21755
21757
|
icon: s.collapsed ? "pi-chevron-down" : "pi-chevron-up",
|
|
21756
21758
|
iconOnly: !0,
|
|
21757
|
-
className:
|
|
21759
|
+
className: Nn(s.togglerClassName, "min-w-8"),
|
|
21758
21760
|
onClick: s.onTogglerClick
|
|
21759
21761
|
}
|
|
21760
21762
|
)
|
|
@@ -28638,7 +28640,7 @@ function R5(e) {
|
|
|
28638
28640
|
function ou(e = " ", t = 0) {
|
|
28639
28641
|
return vn(ru, null, e, t);
|
|
28640
28642
|
}
|
|
28641
|
-
function
|
|
28643
|
+
function Rn(e = "", t = !1) {
|
|
28642
28644
|
return t ? (rt(), nr(En, null, e)) : vn(En, null, e);
|
|
28643
28645
|
}
|
|
28644
28646
|
function Kr(e) {
|
|
@@ -32003,7 +32005,7 @@ function tA(e, t, n, r, o, i) {
|
|
|
32003
32005
|
return [e.icon ? (rt(), Pt("span", gt({
|
|
32004
32006
|
key: 0,
|
|
32005
32007
|
class: [e.cx("icon"), e.icon, e.iconClass]
|
|
32006
|
-
}, e.ptm("icon")), null, 16)) :
|
|
32008
|
+
}, e.ptm("icon")), null, 16)) : Rn("", !0)];
|
|
32007
32009
|
}), Nt("span", gt({
|
|
32008
32010
|
class: e.cx("label")
|
|
32009
32011
|
}, e.ptm("label")), qr(e.label || " "), 17), e.badge ? (rt(), nr(s, gt({
|
|
@@ -32012,7 +32014,7 @@ function tA(e, t, n, r, o, i) {
|
|
|
32012
32014
|
class: e.badgeClass,
|
|
32013
32015
|
severity: e.badgeSeverity,
|
|
32014
32016
|
unstyled: e.unstyled
|
|
32015
|
-
}, e.ptm("badge")), null, 16, ["value", "class", "severity", "unstyled"])) :
|
|
32017
|
+
}, e.ptm("badge")), null, 16, ["value", "class", "severity", "unstyled"])) : Rn("", !0)];
|
|
32016
32018
|
})], 16, eA)), [[l]]);
|
|
32017
32019
|
}
|
|
32018
32020
|
km.render = tA;
|
|
@@ -32148,7 +32150,7 @@ function lA(e, t, n, r, o, i) {
|
|
|
32148
32150
|
}), [e.$slots.default ? (rt(), Pt("div", gt({
|
|
32149
32151
|
key: 0,
|
|
32150
32152
|
class: e.cx("content")
|
|
32151
|
-
}, e.ptm("content")), [Cr(e.$slots, "default")], 16)) :
|
|
32153
|
+
}, e.ptm("content")), [Cr(e.$slots, "default")], 16)) : Rn("", !0)], 16, sA);
|
|
32152
32154
|
}
|
|
32153
32155
|
q5.render = lA;
|
|
32154
32156
|
var uA = Zk(), Z5 = {
|
|
@@ -32183,7 +32185,7 @@ function cA(e, t, n, r, o, i) {
|
|
|
32183
32185
|
}) : o.mounted ? (rt(), nr(TT, {
|
|
32184
32186
|
key: 1,
|
|
32185
32187
|
to: n.appendTo
|
|
32186
|
-
}, [Cr(e.$slots, "default")], 8, ["to"])) :
|
|
32188
|
+
}, [Cr(e.$slots, "default")], 8, ["to"])) : Rn("", !0);
|
|
32187
32189
|
}
|
|
32188
32190
|
Z5.render = cA;
|
|
32189
32191
|
var dA = `
|
|
@@ -32372,7 +32374,7 @@ function gA(e, t, n, r, o, i) {
|
|
|
32372
32374
|
item: n.item,
|
|
32373
32375
|
label: i.label(),
|
|
32374
32376
|
props: i.getMenuItemProps(n.item)
|
|
32375
|
-
}, null, 8, ["item", "label", "props"])) :
|
|
32377
|
+
}, null, 8, ["item", "label", "props"])) : Rn("", !0) : hm((rt(), Pt("a", gt({
|
|
32376
32378
|
key: 0,
|
|
32377
32379
|
href: n.item.url,
|
|
32378
32380
|
class: e.cx("action"),
|
|
@@ -32386,9 +32388,9 @@ function gA(e, t, n, r, o, i) {
|
|
|
32386
32388
|
}, null, 8, ["item", "class"])) : n.item.icon ? (rt(), Pt("span", gt({
|
|
32387
32389
|
key: 1,
|
|
32388
32390
|
class: [e.cx("icon"), n.item.icon]
|
|
32389
|
-
}, i.getPTOptions("icon")), null, 16)) :
|
|
32391
|
+
}, i.getPTOptions("icon")), null, 16)) : Rn("", !0), Nt("span", gt({
|
|
32390
32392
|
class: e.cx("label")
|
|
32391
|
-
}, i.getPTOptions("label")), qr(i.label()), 17)], 16, vA)), [[a]])], 16)], 16, mA)) :
|
|
32393
|
+
}, i.getPTOptions("label")), qr(i.label()), 17)], 16, vA)), [[a]])], 16)], 16, mA)) : Rn("", !0);
|
|
32392
32394
|
}
|
|
32393
32395
|
X5.render = gA;
|
|
32394
32396
|
function ry(e) {
|
|
@@ -32689,7 +32691,7 @@ function TA(e, t, n, r, o, i) {
|
|
|
32689
32691
|
}), [e.$slots.start ? (rt(), Pt("div", gt({
|
|
32690
32692
|
key: 0,
|
|
32691
32693
|
class: e.cx("start")
|
|
32692
|
-
}, e.ptm("start")), [Cr(e.$slots, "start")], 16)) :
|
|
32694
|
+
}, e.ptm("start")), [Cr(e.$slots, "start")], 16)) : Rn("", !0), Nt("ul", gt({
|
|
32693
32695
|
ref: i.listRef,
|
|
32694
32696
|
id: o.id + "_list",
|
|
32695
32697
|
class: e.cx("menu"),
|
|
@@ -32721,7 +32723,7 @@ function TA(e, t, n, r, o, i) {
|
|
|
32721
32723
|
item: l
|
|
32722
32724
|
}, function() {
|
|
32723
32725
|
return [ou(qr(i.label(l)), 1)];
|
|
32724
|
-
})], 16, _A)) :
|
|
32726
|
+
})], 16, _A)) : Rn("", !0), (rt(!0), Pt(pn, null, i0(l.items, function(c, d) {
|
|
32725
32727
|
return rt(), Pt(pn, {
|
|
32726
32728
|
key: c.label + u + "_" + d
|
|
32727
32729
|
}, [i.visible(c) && !c.separator ? (rt(), nr(a, {
|
|
@@ -32737,7 +32739,7 @@ function TA(e, t, n, r, o, i) {
|
|
|
32737
32739
|
class: [e.cx("separator"), l.class],
|
|
32738
32740
|
style: c.style,
|
|
32739
32741
|
role: "separator"
|
|
32740
|
-
}, e.ptm("separator")), null, 16)) :
|
|
32742
|
+
}, e.ptm("separator")), null, 16)) : Rn("", !0)], 64);
|
|
32741
32743
|
}), 128))], 64)) : i.visible(l) && l.separator ? (rt(), Pt("li", gt({
|
|
32742
32744
|
key: "separator" + u.toString(),
|
|
32743
32745
|
class: [e.cx("separator"), l.class],
|
|
@@ -32756,7 +32758,7 @@ function TA(e, t, n, r, o, i) {
|
|
|
32756
32758
|
}), 128))], 16, kA), e.$slots.end ? (rt(), Pt("div", gt({
|
|
32757
32759
|
key: 1,
|
|
32758
32760
|
class: e.cx("end")
|
|
32759
|
-
}, e.ptm("end")), [Cr(e.$slots, "end")], 16)) :
|
|
32761
|
+
}, e.ptm("end")), [Cr(e.$slots, "end")], 16)) : Rn("", !0)], 16, OA)) : Rn("", !0)];
|
|
32760
32762
|
}),
|
|
32761
32763
|
_: 3
|
|
32762
32764
|
}, 16, ["onEnter", "onLeave", "onAfterLeave"])];
|
|
@@ -33273,7 +33275,7 @@ function WA(e, t, n, r, o, i) {
|
|
|
33273
33275
|
onError: t[0] || (t[0] = function() {
|
|
33274
33276
|
return i.onError && i.onError.apply(i, arguments);
|
|
33275
33277
|
})
|
|
33276
|
-
}, e.ptm("image")), null, 16, zA)) :
|
|
33278
|
+
}, e.ptm("image")), null, 16, zA)) : Rn("", !0)];
|
|
33277
33279
|
})], 16, KA);
|
|
33278
33280
|
}
|
|
33279
33281
|
e4.render = WA;
|
|
@@ -33424,9 +33426,9 @@ const t4 = Symbol("labs-custom-elements-options"), Pm = () => {
|
|
|
33424
33426
|
}, {
|
|
33425
33427
|
start: fi(() => [
|
|
33426
33428
|
Nt("div", XA, [
|
|
33427
|
-
s.value ? (rt(), Pt("span", JA, qr(s.value), 1)) :
|
|
33428
|
-
l.value ? (rt(), Pt("span", QA, qr(l.value), 1)) :
|
|
33429
|
-
u.value ? (rt(), Pt("span", eN, qr(u.value), 1)) :
|
|
33429
|
+
s.value ? (rt(), Pt("span", JA, qr(s.value), 1)) : Rn("", !0),
|
|
33430
|
+
l.value ? (rt(), Pt("span", QA, qr(l.value), 1)) : Rn("", !0),
|
|
33431
|
+
u.value ? (rt(), Pt("span", eN, qr(u.value), 1)) : Rn("", !0)
|
|
33430
33432
|
]),
|
|
33431
33433
|
vn(Qn(q5), { class: "my-1" })
|
|
33432
33434
|
]),
|
|
@@ -33860,7 +33862,7 @@ const HN = ["href"], BN = { class: "text-xs leading-tight" }, UN = { class: "p-b
|
|
|
33860
33862
|
Nt("i", {
|
|
33861
33863
|
class: Ho([g.icon, "p-button-icon p-button-icon-right"])
|
|
33862
33864
|
}, null, 2)
|
|
33863
|
-
], 64)) :
|
|
33865
|
+
], 64)) : Rn("", !0)
|
|
33864
33866
|
], 16, HN)
|
|
33865
33867
|
]),
|
|
33866
33868
|
_: 2
|
|
@@ -33880,7 +33882,7 @@ const HN = ["href"], BN = { class: "text-xs leading-tight" }, UN = { class: "p-b
|
|
|
33880
33882
|
])),
|
|
33881
33883
|
_: 1,
|
|
33882
33884
|
__: [0]
|
|
33883
|
-
})) :
|
|
33885
|
+
})) : Rn("", !0)
|
|
33884
33886
|
]),
|
|
33885
33887
|
key: "0"
|
|
33886
33888
|
} : void 0
|
|
@@ -34201,7 +34203,7 @@ const oM = f4(), p4 = no(null), DL = ({ children: e, ...t }) => /* @__PURE__ */
|
|
|
34201
34203
|
]
|
|
34202
34204
|
}), Qb({
|
|
34203
34205
|
titleTemplate: (u) => u ? `${u} - ${o}` : o
|
|
34204
|
-
}), /* @__PURE__ */ Ie.jsx("div", { id: "app", className:
|
|
34206
|
+
}), /* @__PURE__ */ Ie.jsx("div", { id: "app", className: Nn(e, "min-h-viewport"), ...n, children: t });
|
|
34205
34207
|
}, iM = ({
|
|
34206
34208
|
children: e,
|
|
34207
34209
|
className: t,
|
|
@@ -34210,7 +34212,7 @@ const oM = f4(), p4 = no(null), DL = ({ children: e, ...t }) => /* @__PURE__ */
|
|
|
34210
34212
|
m4,
|
|
34211
34213
|
{
|
|
34212
34214
|
...n,
|
|
34213
|
-
className:
|
|
34215
|
+
className: Nn(t, "labs-layout items-center justify-center"),
|
|
34214
34216
|
children: e
|
|
34215
34217
|
}
|
|
34216
34218
|
), aM = () => /* @__PURE__ */ Ie.jsx(Hb, { label: "Working..." }), IL = ({
|
package/dist/package.json.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
"name": "@moser-inc/moser-labs-react",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.2",
|
|
4
4
|
"description": "React components for the Moser Labs suite of applications.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -57,7 +57,7 @@ declare const _default: {
|
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@hookform/resolvers": "^5.1.1",
|
|
59
59
|
"@moser-inc/eslint-config-react": "^4.1.0",
|
|
60
|
-
"@moser-inc/unocss-preset-moser-labs": "^2.
|
|
60
|
+
"@moser-inc/unocss-preset-moser-labs": "^2.4.0",
|
|
61
61
|
"@tsconfig/node22": "^22.0.2",
|
|
62
62
|
"@tsconfig/vite-react": "^6.3.5",
|
|
63
63
|
"@unocss/eslint-config": "^66.2.0",
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { ButtonProps } from 'primereact/button';
|
|
2
|
-
export interface LabsButtonProps extends
|
|
2
|
+
export interface LabsButtonProps extends ButtonProps {
|
|
3
3
|
icon?: string;
|
|
4
4
|
iconClassName?: string;
|
|
5
5
|
text?: boolean;
|
|
6
6
|
outlined?: boolean;
|
|
7
7
|
rounded?: boolean;
|
|
8
8
|
iconOnly?: boolean;
|
|
9
|
-
size?: 'small' | 'large';
|
|
10
|
-
severity?: 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'help' | 'danger' | 'plain';
|
|
11
9
|
}
|
|
12
10
|
export declare const LabsButton: (props: LabsButtonProps) => import("react/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moser-inc/moser-labs-react",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.2",
|
|
4
4
|
"description": "React components for the Moser Labs suite of applications.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@hookform/resolvers": "^5.1.1",
|
|
59
59
|
"@moser-inc/eslint-config-react": "^4.1.0",
|
|
60
|
-
"@moser-inc/unocss-preset-moser-labs": "^2.
|
|
60
|
+
"@moser-inc/unocss-preset-moser-labs": "^2.4.0",
|
|
61
61
|
"@tsconfig/node22": "^22.0.2",
|
|
62
62
|
"@tsconfig/vite-react": "^6.3.5",
|
|
63
63
|
"@unocss/eslint-config": "^66.2.0",
|