dgz-ui 1.3.18 → 1.3.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/avatar/index.es.js +1 -1
- package/dist/avatar/index.umd.js +1 -1
- package/dist/avatar-BYwKg5R2.js +136 -0
- package/dist/avatar-MX4Sd8ZO.cjs +1 -0
- package/dist/calendar/index.es.js +1 -1
- package/dist/calendar/index.umd.js +1 -1
- package/dist/form/index.es.js +1 -1
- package/dist/form/index.umd.js +1 -1
- package/dist/index-BncDQilx.cjs +17 -0
- package/dist/index-Dp2yUhSc.js +123 -0
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +1 -1
- package/dist/{input-mask-qrWLn-2_.cjs → input-mask-CNrOY022.cjs} +1 -1
- package/dist/{input-mask-DBLFIvhN.js → input-mask-CsywPNA_.js} +3 -3
- package/dist/timepicker-9J-yLjD3.cjs +6 -0
- package/dist/timepicker-CmAskDQs.js +3659 -0
- package/dist/types/ui/calendar/calendar.d.ts.map +1 -1
- package/package.json +7 -3
- package/dist/avatar-BNs5C51F.js +0 -255
- package/dist/avatar-Dj6P8xQl.cjs +0 -17
- package/dist/timepicker-BWFct5PI.js +0 -3485
- package/dist/timepicker-QlsvHld6.cjs +0 -6
package/dist/avatar/index.es.js
CHANGED
package/dist/avatar/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../avatar-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../avatar-MX4Sd8ZO.cjs");exports.Avatar=a.Avatar;exports.AvatarFallback=a.AvatarFallback;exports.AvatarImage=a.AvatarImage;exports.avatarVariants=a.avatarVariants;
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { j as u } from "./jsx-runtime-DS1N_tNq.js";
|
|
2
|
+
import * as n from "react";
|
|
3
|
+
import { c as b, u as f } from "./index-ljY4mZHt.js";
|
|
4
|
+
import { u as j } from "./index-DwYXX2sM.js";
|
|
5
|
+
import { P as m } from "./index-l3y0hILL.js";
|
|
6
|
+
import { s as C } from "./index-Dp2yUhSc.js";
|
|
7
|
+
import { c as z } from "./index-BhbquNdX.js";
|
|
8
|
+
import { c as v } from "./utils-B6fNqzRf.js";
|
|
9
|
+
function _() {
|
|
10
|
+
return C.useSyncExternalStore(
|
|
11
|
+
k,
|
|
12
|
+
() => !0,
|
|
13
|
+
() => !1
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
function k() {
|
|
17
|
+
return () => {
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
var p = "Avatar", [F, Q] = b(p), [M, x] = F(p), S = n.forwardRef(
|
|
21
|
+
(a, e) => {
|
|
22
|
+
const { __scopeAvatar: r, ...s } = a, [o, t] = n.useState("idle");
|
|
23
|
+
return /* @__PURE__ */ u.jsx(
|
|
24
|
+
M,
|
|
25
|
+
{
|
|
26
|
+
scope: r,
|
|
27
|
+
imageLoadingStatus: o,
|
|
28
|
+
onImageLoadingStatusChange: t,
|
|
29
|
+
children: /* @__PURE__ */ u.jsx(m.span, { ...s, ref: e })
|
|
30
|
+
}
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
);
|
|
34
|
+
S.displayName = p;
|
|
35
|
+
var L = "AvatarImage", y = n.forwardRef(
|
|
36
|
+
(a, e) => {
|
|
37
|
+
const { __scopeAvatar: r, src: s, onLoadingStatusChange: o = () => {
|
|
38
|
+
}, ...t } = a, l = x(L, r), i = P(s, t), d = j((c) => {
|
|
39
|
+
o(c), l.onImageLoadingStatusChange(c);
|
|
40
|
+
});
|
|
41
|
+
return f(() => {
|
|
42
|
+
i !== "idle" && d(i);
|
|
43
|
+
}, [i, d]), i === "loaded" ? /* @__PURE__ */ u.jsx(m.img, { ...t, ref: e, src: s }) : null;
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
y.displayName = L;
|
|
47
|
+
var N = "AvatarFallback", w = n.forwardRef(
|
|
48
|
+
(a, e) => {
|
|
49
|
+
const { __scopeAvatar: r, delayMs: s, ...o } = a, t = x(N, r), [l, i] = n.useState(s === void 0);
|
|
50
|
+
return n.useEffect(() => {
|
|
51
|
+
if (s !== void 0) {
|
|
52
|
+
const d = window.setTimeout(() => i(!0), s);
|
|
53
|
+
return () => window.clearTimeout(d);
|
|
54
|
+
}
|
|
55
|
+
}, [s]), l && t.imageLoadingStatus !== "loaded" ? /* @__PURE__ */ u.jsx(m.span, { ...o, ref: e }) : null;
|
|
56
|
+
}
|
|
57
|
+
);
|
|
58
|
+
w.displayName = N;
|
|
59
|
+
function A(a, e) {
|
|
60
|
+
return a ? e ? (a.src !== e && (a.src = e), a.complete && a.naturalWidth > 0 ? "loaded" : "loading") : "error" : "idle";
|
|
61
|
+
}
|
|
62
|
+
function P(a, { referrerPolicy: e, crossOrigin: r }) {
|
|
63
|
+
const s = _(), o = n.useRef(null), t = s ? (o.current || (o.current = new window.Image()), o.current) : null, [l, i] = n.useState(
|
|
64
|
+
() => A(t, a)
|
|
65
|
+
);
|
|
66
|
+
return f(() => {
|
|
67
|
+
i(A(t, a));
|
|
68
|
+
}, [t, a]), f(() => {
|
|
69
|
+
const d = (I) => () => {
|
|
70
|
+
i(I);
|
|
71
|
+
};
|
|
72
|
+
if (!t) return;
|
|
73
|
+
const c = d("loaded"), g = d("error");
|
|
74
|
+
return t.addEventListener("load", c), t.addEventListener("error", g), e && (t.referrerPolicy = e), typeof r == "string" && (t.crossOrigin = r), () => {
|
|
75
|
+
t.removeEventListener("load", c), t.removeEventListener("error", g);
|
|
76
|
+
};
|
|
77
|
+
}, [t, r, e]), l;
|
|
78
|
+
}
|
|
79
|
+
var E = S, R = y, h = w;
|
|
80
|
+
const T = z(
|
|
81
|
+
"relative flex shrink-0 overflow-hidden rounded-full",
|
|
82
|
+
{
|
|
83
|
+
variants: {
|
|
84
|
+
size: {
|
|
85
|
+
/** Small avatar - 32x32px */
|
|
86
|
+
sm: "size-8",
|
|
87
|
+
/** Default avatar - 40x40px */
|
|
88
|
+
default: "size-10",
|
|
89
|
+
/** Medium avatar - 52x52px */
|
|
90
|
+
md: "size-13",
|
|
91
|
+
/** Large avatar - 64x64px */
|
|
92
|
+
lg: "size-16",
|
|
93
|
+
/** Extra large avatar - 80x80px */
|
|
94
|
+
xl: "size-20"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
defaultVariants: {
|
|
98
|
+
size: "default"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
), V = n.forwardRef(({ className: a, size: e, ...r }, s) => /* @__PURE__ */ u.jsx(
|
|
102
|
+
E,
|
|
103
|
+
{
|
|
104
|
+
ref: s,
|
|
105
|
+
className: v(T({ size: e }), a),
|
|
106
|
+
...r
|
|
107
|
+
}
|
|
108
|
+
));
|
|
109
|
+
V.displayName = E.displayName;
|
|
110
|
+
const $ = n.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ u.jsx(
|
|
111
|
+
R,
|
|
112
|
+
{
|
|
113
|
+
ref: r,
|
|
114
|
+
className: v("aspect-square size-full", a),
|
|
115
|
+
...e
|
|
116
|
+
}
|
|
117
|
+
));
|
|
118
|
+
$.displayName = R.displayName;
|
|
119
|
+
const H = n.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ u.jsx(
|
|
120
|
+
h,
|
|
121
|
+
{
|
|
122
|
+
ref: r,
|
|
123
|
+
className: v(
|
|
124
|
+
"bg-muted flex size-full items-center justify-center rounded-full",
|
|
125
|
+
a
|
|
126
|
+
),
|
|
127
|
+
...e
|
|
128
|
+
}
|
|
129
|
+
));
|
|
130
|
+
H.displayName = h.displayName;
|
|
131
|
+
export {
|
|
132
|
+
V as A,
|
|
133
|
+
T as a,
|
|
134
|
+
$ as b,
|
|
135
|
+
H as c
|
|
136
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const d=require("./jsx-runtime-h4oGeKUK.cjs"),C=require("react"),f=require("./index-Dyp2JWEo.cjs"),k=require("./index-hwV4SK1V.cjs"),m=require("./index-9_bM8_1f.cjs"),q=require("./index-BncDQilx.cjs"),P=require("./index-BbFAJcHl.cjs"),v=require("./utils-BeXF6FlA.cjs");function $(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const n=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,n.get?n:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const s=$(C);function F(){return q.shimExports.useSyncExternalStore(M,()=>!0,()=>!1)}function M(){return()=>{}}var p="Avatar",[O,D]=f.createContextScope(p),[T,A]=O(p),E=s.forwardRef((e,t)=>{const{__scopeAvatar:a,...n}=e,[o,r]=s.useState("idle");return d.jsxRuntimeExports.jsx(T,{scope:a,imageLoadingStatus:o,onImageLoadingStatusChange:r,children:d.jsxRuntimeExports.jsx(m.Primitive.span,{...n,ref:t})})});E.displayName=p;var S="AvatarImage",L=s.forwardRef((e,t)=>{const{__scopeAvatar:a,src:n,onLoadingStatusChange:o=()=>{},...r}=e,c=A(S,a),i=V(n,r),u=k.useCallbackRef(l=>{o(l),c.onImageLoadingStatusChange(l)});return f.useLayoutEffect2(()=>{i!=="idle"&&u(i)},[i,u]),i==="loaded"?d.jsxRuntimeExports.jsx(m.Primitive.img,{...r,ref:t,src:n}):null});L.displayName=S;var R="AvatarFallback",j=s.forwardRef((e,t)=>{const{__scopeAvatar:a,delayMs:n,...o}=e,r=A(R,a),[c,i]=s.useState(n===void 0);return s.useEffect(()=>{if(n!==void 0){const u=window.setTimeout(()=>i(!0),n);return()=>window.clearTimeout(u)}},[n]),c&&r.imageLoadingStatus!=="loaded"?d.jsxRuntimeExports.jsx(m.Primitive.span,{...o,ref:t}):null});j.displayName=R;function x(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function V(e,{referrerPolicy:t,crossOrigin:a}){const n=F(),o=s.useRef(null),r=n?(o.current||(o.current=new window.Image),o.current):null,[c,i]=s.useState(()=>x(r,e));return f.useLayoutEffect2(()=>{i(x(r,e))},[r,e]),f.useLayoutEffect2(()=>{const u=z=>()=>{i(z)};if(!r)return;const l=u("loaded"),g=u("error");return r.addEventListener("load",l),r.addEventListener("error",g),t&&(r.referrerPolicy=t),typeof a=="string"&&(r.crossOrigin=a),()=>{r.removeEventListener("load",l),r.removeEventListener("error",g)}},[r,a,t]),c}var y=E,b=L,N=j;const w=P.cva("relative flex shrink-0 overflow-hidden rounded-full",{variants:{size:{sm:"size-8",default:"size-10",md:"size-13",lg:"size-16",xl:"size-20"}},defaultVariants:{size:"default"}}),I=s.forwardRef(({className:e,size:t,...a},n)=>d.jsxRuntimeExports.jsx(y,{ref:n,className:v.cn(w({size:t}),e),...a}));I.displayName=y.displayName;const h=s.forwardRef(({className:e,...t},a)=>d.jsxRuntimeExports.jsx(b,{ref:a,className:v.cn("aspect-square size-full",e),...t}));h.displayName=b.displayName;const _=s.forwardRef(({className:e,...t},a)=>d.jsxRuntimeExports.jsx(N,{ref:a,className:v.cn("bg-muted flex size-full items-center justify-center rounded-full",e),...t}));_.displayName=N.displayName;exports.Avatar=I;exports.AvatarFallback=_;exports.AvatarImage=h;exports.avatarVariants=w;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../timepicker-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../timepicker-9J-yLjD3.cjs");exports.Calendar=e.Calendar;exports.DATE=e.DATE;exports.DatePicker=e.DatePicker;exports.HOUR=e.HOUR;exports.MINUTE=e.MINUTE;exports.TIME=e.TIME;exports.TimePicker=e.TimePicker;
|
package/dist/form/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as t, F as s, a as o, d as r, e as l, g as c, b as n, c as S, f as i, H as m, I as p, L as u, M as F, R as d, s as C, h as I, m as b, j as R, o as g, n as x, r as L, q as V, p as f, l as h, k, S as G, T as M, V as T, i as w, u as B } from "../input-mask-
|
|
1
|
+
import { C as t, F as s, a as o, d as r, e as l, g as c, b as n, c as S, f as i, H as m, I as p, L as u, M as F, R as d, s as C, h as I, m as b, j as R, o as g, n as x, r as L, q as V, p as f, l as h, k, S as G, T as M, V as T, i as w, u as B } from "../input-mask-CsywPNA_.js";
|
|
2
2
|
import { R as H } from "../react-select-DVPHHTAP.js";
|
|
3
3
|
export {
|
|
4
4
|
t as Checkbox,
|
package/dist/form/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../input-mask-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../input-mask-CNrOY022.cjs"),t=require("../react-select-YYVvM9vk.cjs");exports.Checkbox=e.Checkbox;exports.FilepondContainer=e.FilepondContainer;exports.Form=e.Form;exports.FormControl=e.FormControl;exports.FormDescription=e.FormDescription;exports.FormField=e.FormField;exports.FormItem=e.FormItem;exports.FormLabel=e.FormLabel;exports.FormMessage=e.FormMessage;exports.HtmlEditor=e.HtmlEditor;exports.Input=e.Input;exports.Label=e.Label;exports.MaskInput=e.MaskInput;exports.RadioGroup=e.RadioGroup;exports.RadioGroupItem=e.RadioGroupItem;exports.Select=e.Select;exports.SelectContent=e.SelectContent;exports.SelectGroup=e.SelectGroup;exports.SelectItem=e.SelectItem;exports.SelectLabel=e.SelectLabel;exports.SelectScrollDownButton=e.SelectScrollDownButton;exports.SelectScrollUpButton=e.SelectScrollUpButton;exports.SelectSeparator=e.SelectSeparator;exports.SelectTrigger=e.SelectTrigger;exports.SelectValue=e.SelectValue;exports.Switch=e.Switch;exports.Textarea=e.Textarea;exports.VirtualizedSelectContent=e.VirtualizedSelectContent;exports.inputVariants=e.inputVariants;exports.useFormField=e.useFormField;exports.ReactSelect=t.ReactSelect;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";const T=require("react");var l={exports:{}},y={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* use-sync-external-store-shim.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var L;function A(){if(L)return y;L=1;var i=T;function _(t,o){return t===o&&(t!==0||1/t===1/o)||t!==t&&o!==o}var c=typeof Object.is=="function"?Object.is:_,E=i.useState,u=i.useEffect,S=i.useLayoutEffect,p=i.useDebugValue;function O(t,o){var e=o(),n=E({inst:{value:e,getSnapshot:o}}),r=n[0].inst,a=n[1];return S(function(){r.value=e,r.getSnapshot=o,f(r)&&a({inst:r})},[t,e,o]),u(function(){return f(r)&&a({inst:r}),t(function(){f(r)&&a({inst:r})})},[t]),p(e),e}function f(t){var o=t.getSnapshot;t=t.value;try{var e=o();return!c(t,e)}catch{return!0}}function v(t,o){return o()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?v:O;return y.useSyncExternalStore=i.useSyncExternalStore!==void 0?i.useSyncExternalStore:d,y}var m={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* use-sync-external-store-shim.development.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var x;function g(){return x||(x=1,process.env.NODE_ENV!=="production"&&function(){function i(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}function _(e,n){d||u.startTransition===void 0||(d=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var r=n();if(!t){var a=n();S(r,a)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),t=!0)}a=p({inst:{value:r,getSnapshot:n}});var s=a[0].inst,h=a[1];return f(function(){s.value=r,s.getSnapshot=n,c(s)&&h({inst:s})},[e,r,n]),O(function(){return c(s)&&h({inst:s}),e(function(){c(s)&&h({inst:s})})},[e]),v(r),r}function c(e){var n=e.getSnapshot;e=e.value;try{var r=n();return!S(e,r)}catch{return!0}}function E(e,n){return n()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var u=T,S=typeof Object.is=="function"?Object.is:i,p=u.useState,O=u.useEffect,f=u.useLayoutEffect,v=u.useDebugValue,d=!1,t=!1,o=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?E:_;m.useSyncExternalStore=u.useSyncExternalStore!==void 0?u.useSyncExternalStore:o,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),m}var w;function D(){return w||(w=1,process.env.NODE_ENV==="production"?l.exports=A():l.exports=g()),l.exports}var R=D();exports.shimExports=R;
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import T from "react";
|
|
2
|
+
var l = { exports: {} }, y = {};
|
|
3
|
+
/**
|
|
4
|
+
* @license React
|
|
5
|
+
* use-sync-external-store-shim.production.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
var L;
|
|
13
|
+
function A() {
|
|
14
|
+
if (L) return y;
|
|
15
|
+
L = 1;
|
|
16
|
+
var i = T;
|
|
17
|
+
function _(t, o) {
|
|
18
|
+
return t === o && (t !== 0 || 1 / t === 1 / o) || t !== t && o !== o;
|
|
19
|
+
}
|
|
20
|
+
var c = typeof Object.is == "function" ? Object.is : _, p = i.useState, u = i.useEffect, S = i.useLayoutEffect, E = i.useDebugValue;
|
|
21
|
+
function O(t, o) {
|
|
22
|
+
var e = o(), n = p({ inst: { value: e, getSnapshot: o } }), r = n[0].inst, a = n[1];
|
|
23
|
+
return S(
|
|
24
|
+
function() {
|
|
25
|
+
r.value = e, r.getSnapshot = o, f(r) && a({ inst: r });
|
|
26
|
+
},
|
|
27
|
+
[t, e, o]
|
|
28
|
+
), u(
|
|
29
|
+
function() {
|
|
30
|
+
return f(r) && a({ inst: r }), t(function() {
|
|
31
|
+
f(r) && a({ inst: r });
|
|
32
|
+
});
|
|
33
|
+
},
|
|
34
|
+
[t]
|
|
35
|
+
), E(e), e;
|
|
36
|
+
}
|
|
37
|
+
function f(t) {
|
|
38
|
+
var o = t.getSnapshot;
|
|
39
|
+
t = t.value;
|
|
40
|
+
try {
|
|
41
|
+
var e = o();
|
|
42
|
+
return !c(t, e);
|
|
43
|
+
} catch {
|
|
44
|
+
return !0;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
function v(t, o) {
|
|
48
|
+
return o();
|
|
49
|
+
}
|
|
50
|
+
var d = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? v : O;
|
|
51
|
+
return y.useSyncExternalStore = i.useSyncExternalStore !== void 0 ? i.useSyncExternalStore : d, y;
|
|
52
|
+
}
|
|
53
|
+
var m = {};
|
|
54
|
+
/**
|
|
55
|
+
* @license React
|
|
56
|
+
* use-sync-external-store-shim.development.js
|
|
57
|
+
*
|
|
58
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
59
|
+
*
|
|
60
|
+
* This source code is licensed under the MIT license found in the
|
|
61
|
+
* LICENSE file in the root directory of this source tree.
|
|
62
|
+
*/
|
|
63
|
+
var x;
|
|
64
|
+
function g() {
|
|
65
|
+
return x || (x = 1, process.env.NODE_ENV !== "production" && function() {
|
|
66
|
+
function i(e, n) {
|
|
67
|
+
return e === n && (e !== 0 || 1 / e === 1 / n) || e !== e && n !== n;
|
|
68
|
+
}
|
|
69
|
+
function _(e, n) {
|
|
70
|
+
d || u.startTransition === void 0 || (d = !0, console.error(
|
|
71
|
+
"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
|
|
72
|
+
));
|
|
73
|
+
var r = n();
|
|
74
|
+
if (!t) {
|
|
75
|
+
var a = n();
|
|
76
|
+
S(r, a) || (console.error(
|
|
77
|
+
"The result of getSnapshot should be cached to avoid an infinite loop"
|
|
78
|
+
), t = !0);
|
|
79
|
+
}
|
|
80
|
+
a = E({
|
|
81
|
+
inst: { value: r, getSnapshot: n }
|
|
82
|
+
});
|
|
83
|
+
var s = a[0].inst, h = a[1];
|
|
84
|
+
return f(
|
|
85
|
+
function() {
|
|
86
|
+
s.value = r, s.getSnapshot = n, c(s) && h({ inst: s });
|
|
87
|
+
},
|
|
88
|
+
[e, r, n]
|
|
89
|
+
), O(
|
|
90
|
+
function() {
|
|
91
|
+
return c(s) && h({ inst: s }), e(function() {
|
|
92
|
+
c(s) && h({ inst: s });
|
|
93
|
+
});
|
|
94
|
+
},
|
|
95
|
+
[e]
|
|
96
|
+
), v(r), r;
|
|
97
|
+
}
|
|
98
|
+
function c(e) {
|
|
99
|
+
var n = e.getSnapshot;
|
|
100
|
+
e = e.value;
|
|
101
|
+
try {
|
|
102
|
+
var r = n();
|
|
103
|
+
return !S(e, r);
|
|
104
|
+
} catch {
|
|
105
|
+
return !0;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
function p(e, n) {
|
|
109
|
+
return n();
|
|
110
|
+
}
|
|
111
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
112
|
+
var u = T, S = typeof Object.is == "function" ? Object.is : i, E = u.useState, O = u.useEffect, f = u.useLayoutEffect, v = u.useDebugValue, d = !1, t = !1, o = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? p : _;
|
|
113
|
+
m.useSyncExternalStore = u.useSyncExternalStore !== void 0 ? u.useSyncExternalStore : o, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
114
|
+
}()), m;
|
|
115
|
+
}
|
|
116
|
+
var w;
|
|
117
|
+
function D() {
|
|
118
|
+
return w || (w = 1, process.env.NODE_ENV === "production" ? l.exports = A() : l.exports = g()), l.exports;
|
|
119
|
+
}
|
|
120
|
+
var G = D();
|
|
121
|
+
export {
|
|
122
|
+
G as s
|
|
123
|
+
};
|
package/dist/index.es.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { A as o, c as r, b as s, a as t } from "./alert-C805h2Z7.js";
|
|
2
2
|
import { A as n, i, j as p, d as g, h as d, f as c, e as b, b as m, a as u, g as D, c as T } from "./alert-dialog-CSrCM2uh.js";
|
|
3
|
-
import { A as C, c as f, b as x, a as A } from "./avatar-
|
|
3
|
+
import { A as C, c as f, b as x, a as A } from "./avatar-BYwKg5R2.js";
|
|
4
4
|
import { B as P, b as B } from "./badge-D2CR6NO-.js";
|
|
5
5
|
import { B as F, e as h, b as I, a as v, c as k, d as H } from "./breadcrumb-DWK6qxiO.js";
|
|
6
6
|
import { B as R, b as V } from "./button-CdZDBhmr.js";
|
|
7
7
|
import { B as E, a as j, b as y, c as O } from "./button-group-VyUzde9M.js";
|
|
8
8
|
import { C as N, e as q, d as z, b as J, a as K, c as Q } from "./card-jTI0i7Zi.js";
|
|
9
|
-
import { C as X, D as Y, a as Z, H as _, M as $, T as aa, b as ea } from "./timepicker-
|
|
9
|
+
import { C as X, D as Y, a as Z, H as _, M as $, T as aa, b as ea } from "./timepicker-CmAskDQs.js";
|
|
10
10
|
import { D as ra, c as sa, e as ta, i as la, g as na, f as ia, b as pa, a as ga, h as da, d as ca } from "./dialog-CLhboMXI.js";
|
|
11
11
|
import { D as ma, d as ua, b as Da, i as Ta, c as Sa, f as Ca, j as fa, n as xa, e as Aa, g as Ma, h as Pa, k as Ba, l as wa, m as Fa, a as ha } from "./dropdown-menu-TWRSm6RK.js";
|
|
12
|
-
import { C as va, F as ka, a as Ha, d as Ga, e as Ra, g as Va, b as La, c as Ea, f as ja, H as ya, I as Oa, L as Ua, M as Na, R as qa, s as za, h as Ja, m as Ka, j as Qa, o as Wa, n as Xa, r as Ya, q as Za, p as _a, l as $a, k as ae, S as ee, T as oe, V as re, i as se, u as te } from "./input-mask-
|
|
12
|
+
import { C as va, F as ka, a as Ha, d as Ga, e as Ra, g as Va, b as La, c as Ea, f as ja, H as ya, I as Oa, L as Ua, M as Na, R as qa, s as za, h as Ja, m as Ka, j as Qa, o as Wa, n as Xa, r as Ya, q as Za, p as _a, l as $a, k as ae, S as ee, T as oe, V as re, i as se, u as te } from "./input-mask-CsywPNA_.js";
|
|
13
13
|
import { R as ne } from "./react-select-DVPHHTAP.js";
|
|
14
14
|
import { P as pe, a as ge, b as de, c as ce, d as be, e as me, f as ue } from "./pagination-CNj9MExT.js";
|
|
15
15
|
import { P as Te, b as Se, a as Ce } from "./popover-OZcfKDD9.js";
|
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./alert-BkZdKELe.cjs"),r=require("./alert-dialog-DdHkE_nt.cjs"),c=require("./avatar-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./alert-BkZdKELe.cjs"),r=require("./alert-dialog-DdHkE_nt.cjs"),c=require("./avatar-MX4Sd8ZO.cjs"),S=require("./badge-B9m8bLAC.cjs"),u=require("./breadcrumb-rEHKVP0f.cjs"),C=require("./button-BZdVaLIh.cjs"),d=require("./button-group-BFhP7Xi_.cjs"),p=require("./card-DBumDeUS.cjs"),i=require("./timepicker-9J-yLjD3.cjs"),t=require("./dialog-DGqPgUeW.cjs"),o=require("./dropdown-menu-D6p70KXA.cjs"),e=require("./input-mask-CNrOY022.cjs"),A=require("./react-select-YYVvM9vk.cjs"),l=require("./pagination-B1JSQm2e.cjs"),b=require("./popover-CEurO9kv.cjs"),m=require("./scroll-area-DQV58vEk.cjs"),M=require("./separator-CxrVgSkd.cjs"),a=require("./sheet-I8VjGdFC.cjs"),s=require("./tabs-Crzu5XkT.cjs"),n=require("./table-CezLz0VZ.cjs"),D=require("./tooltip-Dw-emkm7.cjs"),w=require("./skeleton-C2OQgX4D.cjs"),T=require("./collapsible-CR8VV_4x.cjs"),P=require("./utils-BeXF6FlA.cjs");exports.Alert=g.Alert;exports.AlertDescription=g.AlertDescription;exports.AlertTitle=g.AlertTitle;exports.alertVariants=g.alertVariants;exports.AlertDialog=r.AlertDialog;exports.AlertDialogAction=r.AlertDialogAction;exports.AlertDialogCancel=r.AlertDialogCancel;exports.AlertDialogContent=r.AlertDialogContent;exports.AlertDialogDescription=r.AlertDialogDescription;exports.AlertDialogFooter=r.AlertDialogFooter;exports.AlertDialogHeader=r.AlertDialogHeader;exports.AlertDialogOverlay=r.AlertDialogOverlay;exports.AlertDialogPortal=r.AlertDialogPortal;exports.AlertDialogTitle=r.AlertDialogTitle;exports.AlertDialogTrigger=r.AlertDialogTrigger;exports.Avatar=c.Avatar;exports.AvatarFallback=c.AvatarFallback;exports.AvatarImage=c.AvatarImage;exports.avatarVariants=c.avatarVariants;exports.Badge=S.Badge;exports.badgeVariants=S.badgeVariants;exports.Breadcrumb=u.Breadcrumb;exports.BreadcrumbEllipsis=u.BreadcrumbEllipsis;exports.BreadcrumbItem=u.BreadcrumbItem;exports.BreadcrumbList=u.BreadcrumbList;exports.BreadcrumbPage=u.BreadcrumbPage;exports.BreadcrumbSeparator=u.BreadcrumbSeparator;exports.Button=C.Button;exports.buttonVariants=C.buttonVariants;exports.ButtonGroup=d.ButtonGroup;exports.ButtonGroupSeparator=d.ButtonGroupSeparator;exports.ButtonGroupText=d.ButtonGroupText;exports.buttonGroupVariants=d.buttonGroupVariants;exports.Card=p.Card;exports.CardContent=p.CardContent;exports.CardDescription=p.CardDescription;exports.CardFooter=p.CardFooter;exports.CardHeader=p.CardHeader;exports.CardTitle=p.CardTitle;exports.Calendar=i.Calendar;exports.DATE=i.DATE;exports.DatePicker=i.DatePicker;exports.HOUR=i.HOUR;exports.MINUTE=i.MINUTE;exports.TIME=i.TIME;exports.TimePicker=i.TimePicker;exports.Dialog=t.Dialog;exports.DialogClose=t.DialogClose;exports.DialogContent=t.DialogContent;exports.DialogDescription=t.DialogDescription;exports.DialogFooter=t.DialogFooter;exports.DialogHeader=t.DialogHeader;exports.DialogOverlay=t.DialogOverlay;exports.DialogPortal=t.DialogPortal;exports.DialogTitle=t.DialogTitle;exports.DialogTrigger=t.DialogTrigger;exports.DropdownMenu=o.DropdownMenu;exports.DropdownMenuCheckboxItem=o.DropdownMenuCheckboxItem;exports.DropdownMenuContent=o.DropdownMenuContent;exports.DropdownMenuGroup=o.DropdownMenuGroup;exports.DropdownMenuItem=o.DropdownMenuItem;exports.DropdownMenuLabel=o.DropdownMenuLabel;exports.DropdownMenuPortal=o.DropdownMenuPortal;exports.DropdownMenuRadioGroup=o.DropdownMenuRadioGroup;exports.DropdownMenuRadioItem=o.DropdownMenuRadioItem;exports.DropdownMenuSeparator=o.DropdownMenuSeparator;exports.DropdownMenuShortcut=o.DropdownMenuShortcut;exports.DropdownMenuSub=o.DropdownMenuSub;exports.DropdownMenuSubContent=o.DropdownMenuSubContent;exports.DropdownMenuSubTrigger=o.DropdownMenuSubTrigger;exports.DropdownMenuTrigger=o.DropdownMenuTrigger;exports.Checkbox=e.Checkbox;exports.FilepondContainer=e.FilepondContainer;exports.Form=e.Form;exports.FormControl=e.FormControl;exports.FormDescription=e.FormDescription;exports.FormField=e.FormField;exports.FormItem=e.FormItem;exports.FormLabel=e.FormLabel;exports.FormMessage=e.FormMessage;exports.HtmlEditor=e.HtmlEditor;exports.Input=e.Input;exports.Label=e.Label;exports.MaskInput=e.MaskInput;exports.RadioGroup=e.RadioGroup;exports.RadioGroupItem=e.RadioGroupItem;exports.Select=e.Select;exports.SelectContent=e.SelectContent;exports.SelectGroup=e.SelectGroup;exports.SelectItem=e.SelectItem;exports.SelectLabel=e.SelectLabel;exports.SelectScrollDownButton=e.SelectScrollDownButton;exports.SelectScrollUpButton=e.SelectScrollUpButton;exports.SelectSeparator=e.SelectSeparator;exports.SelectTrigger=e.SelectTrigger;exports.SelectValue=e.SelectValue;exports.Switch=e.Switch;exports.Textarea=e.Textarea;exports.VirtualizedSelectContent=e.VirtualizedSelectContent;exports.inputVariants=e.inputVariants;exports.useFormField=e.useFormField;exports.ReactSelect=A.ReactSelect;exports.Pagination=l.Pagination;exports.PaginationContent=l.PaginationContent;exports.PaginationEllipsis=l.PaginationEllipsis;exports.PaginationItem=l.PaginationItem;exports.PaginationLink=l.PaginationLink;exports.PaginationNext=l.PaginationNext;exports.PaginationPrevious=l.PaginationPrevious;exports.Popover=b.Popover;exports.PopoverContent=b.PopoverContent;exports.PopoverTrigger=b.PopoverTrigger;exports.ScrollArea=m.ScrollArea;exports.ScrollBar=m.ScrollBar;exports.Separator=M.Separator;exports.Sheet=a.Sheet;exports.SheetClose=a.SheetClose;exports.SheetContent=a.SheetContent;exports.SheetDescription=a.SheetDescription;exports.SheetFooter=a.SheetFooter;exports.SheetHeader=a.SheetHeader;exports.SheetTitle=a.SheetTitle;exports.SheetTrigger=a.SheetTrigger;exports.Tabs=s.Tabs;exports.TabsContent=s.TabsContent;exports.TabsList=s.TabsList;exports.TabsTrigger=s.TabsTrigger;exports.Table=n.Table;exports.TableBody=n.TableBody;exports.TableCaption=n.TableCaption;exports.TableCell=n.TableCell;exports.TableFooter=n.TableFooter;exports.TableHead=n.TableHead;exports.TableHeader=n.TableHeader;exports.TableRow=n.TableRow;exports.Tooltip=D.Tooltip;exports.TooltipContent=D.TooltipContent;exports.TooltipProvider=D.TooltipProvider;exports.TooltipTrigger=D.TooltipTrigger;exports.Skeleton=w.Skeleton;exports.Collapsible=T.Collapsible;exports.CollapsibleContent=T.CollapsibleContent;exports.CollapsibleTrigger=T.CollapsibleTrigger;exports.cn=P.cn;
|