@devalok/shilp-sutra 0.8.3 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/avatar.js +50 -0
- package/dist/_chunks/button.js +95 -0
- package/dist/_chunks/card.js +40 -0
- package/dist/_chunks/checkbox.js +14 -0
- package/dist/_chunks/form.js +27 -0
- package/dist/_chunks/primitives.js +6965 -0
- package/dist/_chunks/sidebar.js +592 -0
- package/dist/_chunks/spinner.js +34 -0
- package/dist/_chunks/tiptap.js +15254 -0
- package/dist/_chunks/tooltip.js +13 -0
- package/dist/_chunks/tree-view.js +304 -0
- package/dist/_chunks/use-calendar.js +990 -0
- package/dist/_chunks/utils.js +15 -0
- package/dist/_chunks/vendor.js +5823 -0
- package/dist/composed/avatar-group.js +20 -20
- package/dist/composed/command-palette.js +1 -1
- package/dist/composed/confirm-dialog.js +5 -5
- package/dist/composed/content-card.d.ts +1 -1
- package/dist/composed/content-card.js +6 -6
- package/dist/composed/date-picker/index.js +13 -0
- package/dist/composed/empty-state.js +10 -10
- package/dist/composed/error-boundary.js +2 -2
- package/dist/composed/global-loading.js +4 -4
- package/dist/composed/index.js +45 -53
- package/dist/composed/loading-skeleton.js +2 -2
- package/dist/composed/member-picker.js +5 -5
- package/dist/composed/page-header.js +4 -4
- package/dist/composed/page-skeletons.js +1 -1
- package/dist/composed/priority-indicator.js +6 -6
- package/dist/composed/rich-text-editor.js +422 -209
- package/dist/composed/schedule-view.js +1 -1
- package/dist/composed/simple-tooltip.js +6 -6
- package/dist/composed/status-badge.d.ts +1 -1
- package/dist/composed/status-badge.js +2 -2
- package/dist/shell/bottom-navbar.js +1 -1
- package/dist/shell/notification-center.js +2 -2
- package/dist/shell/notification-preferences.js +32 -33
- package/dist/shell/sidebar.js +24 -24
- package/dist/shell/top-bar.js +22 -22
- package/dist/ui/accordion.js +17 -17
- package/dist/ui/alert-dialog.js +29 -29
- package/dist/ui/alert.d.ts +2 -2
- package/dist/ui/alert.js +65 -44
- package/dist/ui/aspect-ratio.js +1 -1
- package/dist/ui/autocomplete.js +11 -11
- package/dist/ui/avatar.d.ts +1 -1
- package/dist/ui/avatar.js +67 -25
- package/dist/ui/badge.d.ts +2 -2
- package/dist/ui/badge.js +115 -91
- package/dist/ui/banner.d.ts +1 -1
- package/dist/ui/banner.js +5 -5
- package/dist/ui/breadcrumb.js +14 -14
- package/dist/ui/button-group.js +30 -15
- package/dist/ui/button.d.ts +2 -2
- package/dist/ui/button.js +114 -71
- package/dist/ui/card.js +66 -22
- package/dist/ui/charts/index.js +1221 -18
- package/dist/ui/checkbox.js +25 -5
- package/dist/ui/chip.d.ts +4 -4
- package/dist/ui/chip.js +2 -2
- package/dist/ui/code.js +1 -1
- package/dist/ui/collapsible.js +5 -5
- package/dist/ui/color-input.js +11 -11
- package/dist/ui/combobox.js +12 -12
- package/dist/ui/container.js +4 -4
- package/dist/ui/context-menu.js +37 -37
- package/dist/ui/data-table-toolbar.js +18 -18
- package/dist/ui/data-table.js +2 -2
- package/dist/ui/dialog.js +33 -33
- package/dist/ui/dropdown-menu.js +60 -60
- package/dist/ui/file-upload.js +1 -1
- package/dist/ui/form.js +36 -15
- package/dist/ui/hover-card.js +7 -7
- package/dist/ui/icon-button.js +9 -9
- package/dist/ui/index.js +523 -325
- package/dist/ui/input-otp.d.ts +2 -2
- package/dist/ui/input-otp.js +14 -14
- package/dist/ui/input.js +56 -28
- package/dist/ui/label.js +18 -4
- package/dist/ui/lib/utils.js +4 -5
- package/dist/ui/link.js +9 -9
- package/dist/ui/menubar.js +81 -81
- package/dist/ui/navigation-menu.js +42 -42
- package/dist/ui/number-input.js +13 -13
- package/dist/ui/pagination.js +5 -5
- package/dist/ui/popover.js +9 -9
- package/dist/ui/progress.d.ts +1 -1
- package/dist/ui/progress.js +15 -15
- package/dist/ui/radio.js +10 -10
- package/dist/ui/search-input.js +5 -5
- package/dist/ui/segmented-control.js +91 -83
- package/dist/ui/select.js +52 -52
- package/dist/ui/separator.js +20 -5
- package/dist/ui/sheet.js +28 -28
- package/dist/ui/sidebar.js +36 -560
- package/dist/ui/skeleton.d.ts +1 -1
- package/dist/ui/skeleton.js +9 -9
- package/dist/ui/slider.js +11 -11
- package/dist/ui/spinner.js +37 -2
- package/dist/ui/stack.js +1 -1
- package/dist/ui/stat-card.js +1 -1
- package/dist/ui/stepper.js +15 -15
- package/dist/ui/switch.js +22 -3
- package/dist/ui/table.js +1 -1
- package/dist/ui/tabs.js +59 -32
- package/dist/ui/text.js +2 -2
- package/dist/ui/textarea.js +7 -7
- package/dist/ui/toast.d.ts +1 -1
- package/dist/ui/toast.js +28 -28
- package/dist/ui/toggle-group.js +11 -11
- package/dist/ui/toggle.js +9 -9
- package/dist/ui/tooltip.js +17 -6
- package/dist/ui/transitions.js +68 -58
- package/dist/ui/tree-view/index.js +7 -0
- package/dist/ui/visually-hidden.js +3 -3
- package/llms-full.txt +1 -1
- package/llms.txt +7 -0
- package/package.json +656 -701
- package/dist/_virtual/client.js +0 -5
- package/dist/_virtual/index.js +0 -5
- package/dist/_virtual/react-dom-client.development.js +0 -5
- package/dist/_virtual/react-dom-client.production.js +0 -5
- package/dist/_virtual/scheduler.development.js +0 -5
- package/dist/_virtual/scheduler.production.js +0 -5
- package/dist/composed/date-picker/calendar-grid.js +0 -194
- package/dist/composed/date-picker/date-picker.js +0 -124
- package/dist/composed/date-picker/date-range-picker.js +0 -167
- package/dist/composed/date-picker/date-time-picker.js +0 -193
- package/dist/composed/date-picker/month-picker.js +0 -53
- package/dist/composed/date-picker/presets.js +0 -84
- package/dist/composed/date-picker/time-picker.js +0 -181
- package/dist/composed/date-picker/use-calendar.js +0 -17
- package/dist/composed/date-picker/year-picker.js +0 -45
- package/dist/composed/extensions/emoji-suggestion.js +0 -119
- package/dist/composed/extensions/file-attachment.js +0 -55
- package/dist/composed/extensions/mention-suggestion.js +0 -79
- package/dist/node_modules/.pnpm/@emoji-mart_data@1.2.1/node_modules/@emoji-mart/data/sets/15/native.json.js +0 -40141
- package/dist/node_modules/.pnpm/@emoji-mart_react@1.1.1_emoji-mart@5.6.0_react@19.2.4/node_modules/@emoji-mart/react/dist/module.js +0 -17
- package/dist/node_modules/.pnpm/emoji-mart@5.6.0/node_modules/emoji-mart/dist/module.js +0 -2958
- package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-client.development.js +0 -17062
- package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-client.production.js +0 -9790
- package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/client.js +0 -20
- package/dist/node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.development.js +0 -237
- package/dist/node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.production.js +0 -234
- package/dist/node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/index.js +0 -11
- package/dist/primitives/_internal/number.js +0 -6
- package/dist/primitives/_internal/primitive.js +0 -9
- package/dist/primitives/_internal/react-arrow.js +0 -13
- package/dist/primitives/_internal/react-collection.js +0 -48
- package/dist/primitives/_internal/react-compose-refs.js +0 -29
- package/dist/primitives/_internal/react-context.js +0 -76
- package/dist/primitives/_internal/react-direction.js +0 -10
- package/dist/primitives/_internal/react-dismissable-layer.js +0 -103
- package/dist/primitives/_internal/react-focus-guards.js +0 -17
- package/dist/primitives/_internal/react-focus-scope.js +0 -137
- package/dist/primitives/_internal/react-id.js +0 -14
- package/dist/primitives/_internal/react-popper.js +0 -137
- package/dist/primitives/_internal/react-portal.js +0 -16
- package/dist/primitives/_internal/react-presence.js +0 -71
- package/dist/primitives/_internal/react-primitive.js +0 -36
- package/dist/primitives/_internal/react-use-callback-ref.js +0 -13
- package/dist/primitives/_internal/react-use-controllable-state.js +0 -44
- package/dist/primitives/_internal/react-use-escape-keydown.js +0 -14
- package/dist/primitives/_internal/react-use-is-hydrated.js +0 -15
- package/dist/primitives/_internal/react-use-layout-effect.js +0 -6
- package/dist/primitives/_internal/react-use-previous.js +0 -8
- package/dist/primitives/_internal/react-use-size.js +0 -27
- package/dist/primitives/react-accordion.js +0 -239
- package/dist/primitives/react-alert-dialog.js +0 -127
- package/dist/primitives/react-aspect-ratio.js +0 -43
- package/dist/primitives/react-avatar.js +0 -75
- package/dist/primitives/react-checkbox.js +0 -251
- package/dist/primitives/react-collapsible.js +0 -120
- package/dist/primitives/react-context-menu.js +0 -240
- package/dist/primitives/react-dialog.js +0 -262
- package/dist/primitives/react-dropdown-menu.js +0 -227
- package/dist/primitives/react-hover-card.js +0 -187
- package/dist/primitives/react-label.js +0 -20
- package/dist/primitives/react-menu.js +0 -652
- package/dist/primitives/react-menubar.js +0 -355
- package/dist/primitives/react-navigation-menu.js +0 -607
- package/dist/primitives/react-popover.js +0 -243
- package/dist/primitives/react-progress.js +0 -84
- package/dist/primitives/react-radio-group.js +0 -238
- package/dist/primitives/react-roving-focus.js +0 -183
- package/dist/primitives/react-select.js +0 -862
- package/dist/primitives/react-separator.js +0 -24
- package/dist/primitives/react-slider.js +0 -437
- package/dist/primitives/react-slot.js +0 -70
- package/dist/primitives/react-switch.js +0 -132
- package/dist/primitives/react-tabs.js +0 -163
- package/dist/primitives/react-toast.js +0 -446
- package/dist/primitives/react-toggle-group.js +0 -137
- package/dist/primitives/react-toggle.js +0 -33
- package/dist/primitives/react-tooltip.js +0 -338
- package/dist/primitives/react-visually-hidden.js +0 -32
- package/dist/ui/charts/_internal/animation.js +0 -18
- package/dist/ui/charts/_internal/axes.js +0 -42
- package/dist/ui/charts/_internal/colors.js +0 -21
- package/dist/ui/charts/_internal/grid-lines.js +0 -43
- package/dist/ui/charts/_internal/legend.js +0 -29
- package/dist/ui/charts/_internal/tooltip.js +0 -39
- package/dist/ui/charts/_internal/types.js +0 -10
- package/dist/ui/charts/area-chart.js +0 -245
- package/dist/ui/charts/bar-chart.js +0 -153
- package/dist/ui/charts/chart-container.js +0 -27
- package/dist/ui/charts/gauge-chart.js +0 -72
- package/dist/ui/charts/line-chart.js +0 -163
- package/dist/ui/charts/pie-chart.js +0 -132
- package/dist/ui/charts/radar-chart.js +0 -223
- package/dist/ui/charts/sparkline.js +0 -124
- package/dist/ui/lib/motion.js +0 -32
- package/dist/ui/lib/use-reduced-motion.js +0 -15
- package/dist/ui/lib/use-ripple.js +0 -14
- package/dist/ui/tree-view/tree-item.js +0 -139
- package/dist/ui/tree-view/tree-view.js +0 -140
- package/dist/ui/tree-view/use-tree.js +0 -38
package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/client.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { __module as e } from "../../../../../_virtual/client.js";
|
|
3
|
-
import { __require as _ } from "./cjs/react-dom-client.production.js";
|
|
4
|
-
import { __require as t } from "./cjs/react-dom-client.development.js";
|
|
5
|
-
function r() {
|
|
6
|
-
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) {
|
|
7
|
-
if (process.env.NODE_ENV !== "production")
|
|
8
|
-
throw new Error("^_^");
|
|
9
|
-
try {
|
|
10
|
-
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r);
|
|
11
|
-
} catch (o) {
|
|
12
|
-
console.error(o);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
process.env.NODE_ENV === "production" ? (r(), e.exports = _()) : e.exports = t();
|
|
17
|
-
var O = e.exports;
|
|
18
|
-
export {
|
|
19
|
-
O as c
|
|
20
|
-
};
|
package/dist/node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.development.js
DELETED
|
@@ -1,237 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { __exports as H } from "../../../../../../_virtual/scheduler.development.js";
|
|
3
|
-
/**
|
|
4
|
-
* @license React
|
|
5
|
-
* scheduler.development.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 N;
|
|
13
|
-
function z() {
|
|
14
|
-
return N ? H : (N = 1, function(a) {
|
|
15
|
-
process.env.NODE_ENV !== "production" && function() {
|
|
16
|
-
function P() {
|
|
17
|
-
if (g = !1, _) {
|
|
18
|
-
var e = a.unstable_now();
|
|
19
|
-
q = e;
|
|
20
|
-
var l = !0;
|
|
21
|
-
try {
|
|
22
|
-
e: {
|
|
23
|
-
b = !1, d && (d = !1, V(v), v = -1), A = !0;
|
|
24
|
-
var n = t;
|
|
25
|
-
try {
|
|
26
|
-
n: {
|
|
27
|
-
for (k(e), f = i(o); f !== null && !(f.expirationTime > e && R()); ) {
|
|
28
|
-
var u = f.callback;
|
|
29
|
-
if (typeof u == "function") {
|
|
30
|
-
f.callback = null, t = f.priorityLevel;
|
|
31
|
-
var r = u(
|
|
32
|
-
f.expirationTime <= e
|
|
33
|
-
);
|
|
34
|
-
if (e = a.unstable_now(), typeof r == "function") {
|
|
35
|
-
f.callback = r, k(e), l = !0;
|
|
36
|
-
break n;
|
|
37
|
-
}
|
|
38
|
-
f === i(o) && y(o), k(e);
|
|
39
|
-
} else y(o);
|
|
40
|
-
f = i(o);
|
|
41
|
-
}
|
|
42
|
-
if (f !== null) l = !0;
|
|
43
|
-
else {
|
|
44
|
-
var T = i(s);
|
|
45
|
-
T !== null && C(
|
|
46
|
-
S,
|
|
47
|
-
T.startTime - e
|
|
48
|
-
), l = !1;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
break e;
|
|
52
|
-
} finally {
|
|
53
|
-
f = null, t = n, A = !1;
|
|
54
|
-
}
|
|
55
|
-
l = void 0;
|
|
56
|
-
}
|
|
57
|
-
} finally {
|
|
58
|
-
l ? O() : _ = !1;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
function E(e, l) {
|
|
63
|
-
var n = e.length;
|
|
64
|
-
e.push(l);
|
|
65
|
-
e: for (; 0 < n; ) {
|
|
66
|
-
var u = n - 1 >>> 1, r = e[u];
|
|
67
|
-
if (0 < m(r, l))
|
|
68
|
-
e[u] = l, e[n] = r, n = u;
|
|
69
|
-
else break e;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
function i(e) {
|
|
73
|
-
return e.length === 0 ? null : e[0];
|
|
74
|
-
}
|
|
75
|
-
function y(e) {
|
|
76
|
-
if (e.length === 0) return null;
|
|
77
|
-
var l = e[0], n = e.pop();
|
|
78
|
-
if (n !== l) {
|
|
79
|
-
e[0] = n;
|
|
80
|
-
e: for (var u = 0, r = e.length, T = r >>> 1; u < T; ) {
|
|
81
|
-
var w = 2 * (u + 1) - 1, D = e[w], c = w + 1, L = e[c];
|
|
82
|
-
if (0 > m(D, n))
|
|
83
|
-
c < r && 0 > m(L, D) ? (e[u] = L, e[c] = n, u = c) : (e[u] = D, e[w] = n, u = w);
|
|
84
|
-
else if (c < r && 0 > m(L, n))
|
|
85
|
-
e[u] = L, e[c] = n, u = c;
|
|
86
|
-
else break e;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
return l;
|
|
90
|
-
}
|
|
91
|
-
function m(e, l) {
|
|
92
|
-
var n = e.sortIndex - l.sortIndex;
|
|
93
|
-
return n !== 0 ? n : e.id - l.id;
|
|
94
|
-
}
|
|
95
|
-
function k(e) {
|
|
96
|
-
for (var l = i(s); l !== null; ) {
|
|
97
|
-
if (l.callback === null) y(s);
|
|
98
|
-
else if (l.startTime <= e)
|
|
99
|
-
y(s), l.sortIndex = l.expirationTime, E(o, l);
|
|
100
|
-
else break;
|
|
101
|
-
l = i(s);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
function S(e) {
|
|
105
|
-
if (d = !1, k(e), !b)
|
|
106
|
-
if (i(o) !== null)
|
|
107
|
-
b = !0, _ || (_ = !0, O());
|
|
108
|
-
else {
|
|
109
|
-
var l = i(s);
|
|
110
|
-
l !== null && C(
|
|
111
|
-
S,
|
|
112
|
-
l.startTime - e
|
|
113
|
-
);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
function R() {
|
|
117
|
-
return g ? !0 : !(a.unstable_now() - q < K);
|
|
118
|
-
}
|
|
119
|
-
function C(e, l) {
|
|
120
|
-
v = I(function() {
|
|
121
|
-
e(a.unstable_now());
|
|
122
|
-
}, l);
|
|
123
|
-
}
|
|
124
|
-
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()), a.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") {
|
|
125
|
-
var U = performance;
|
|
126
|
-
a.unstable_now = function() {
|
|
127
|
-
return U.now();
|
|
128
|
-
};
|
|
129
|
-
} else {
|
|
130
|
-
var B = Date, j = B.now();
|
|
131
|
-
a.unstable_now = function() {
|
|
132
|
-
return B.now() - j;
|
|
133
|
-
};
|
|
134
|
-
}
|
|
135
|
-
var o = [], s = [], F = 1, f = null, t = 3, A = !1, b = !1, d = !1, g = !1, I = typeof setTimeout == "function" ? setTimeout : null, V = typeof clearTimeout == "function" ? clearTimeout : null, G = typeof setImmediate < "u" ? setImmediate : null, _ = !1, v = -1, K = 5, q = -1;
|
|
136
|
-
if (typeof G == "function")
|
|
137
|
-
var O = function() {
|
|
138
|
-
G(P);
|
|
139
|
-
};
|
|
140
|
-
else if (typeof MessageChannel < "u") {
|
|
141
|
-
var M = new MessageChannel(), Q = M.port2;
|
|
142
|
-
M.port1.onmessage = P, O = function() {
|
|
143
|
-
Q.postMessage(null);
|
|
144
|
-
};
|
|
145
|
-
} else
|
|
146
|
-
O = function() {
|
|
147
|
-
I(P, 0);
|
|
148
|
-
};
|
|
149
|
-
a.unstable_IdlePriority = 5, a.unstable_ImmediatePriority = 1, a.unstable_LowPriority = 4, a.unstable_NormalPriority = 3, a.unstable_Profiling = null, a.unstable_UserBlockingPriority = 2, a.unstable_cancelCallback = function(e) {
|
|
150
|
-
e.callback = null;
|
|
151
|
-
}, a.unstable_forceFrameRate = function(e) {
|
|
152
|
-
0 > e || 125 < e ? console.error(
|
|
153
|
-
"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
|
|
154
|
-
) : K = 0 < e ? Math.floor(1e3 / e) : 5;
|
|
155
|
-
}, a.unstable_getCurrentPriorityLevel = function() {
|
|
156
|
-
return t;
|
|
157
|
-
}, a.unstable_next = function(e) {
|
|
158
|
-
switch (t) {
|
|
159
|
-
case 1:
|
|
160
|
-
case 2:
|
|
161
|
-
case 3:
|
|
162
|
-
var l = 3;
|
|
163
|
-
break;
|
|
164
|
-
default:
|
|
165
|
-
l = t;
|
|
166
|
-
}
|
|
167
|
-
var n = t;
|
|
168
|
-
t = l;
|
|
169
|
-
try {
|
|
170
|
-
return e();
|
|
171
|
-
} finally {
|
|
172
|
-
t = n;
|
|
173
|
-
}
|
|
174
|
-
}, a.unstable_requestPaint = function() {
|
|
175
|
-
g = !0;
|
|
176
|
-
}, a.unstable_runWithPriority = function(e, l) {
|
|
177
|
-
switch (e) {
|
|
178
|
-
case 1:
|
|
179
|
-
case 2:
|
|
180
|
-
case 3:
|
|
181
|
-
case 4:
|
|
182
|
-
case 5:
|
|
183
|
-
break;
|
|
184
|
-
default:
|
|
185
|
-
e = 3;
|
|
186
|
-
}
|
|
187
|
-
var n = t;
|
|
188
|
-
t = e;
|
|
189
|
-
try {
|
|
190
|
-
return l();
|
|
191
|
-
} finally {
|
|
192
|
-
t = n;
|
|
193
|
-
}
|
|
194
|
-
}, a.unstable_scheduleCallback = function(e, l, n) {
|
|
195
|
-
var u = a.unstable_now();
|
|
196
|
-
switch (typeof n == "object" && n !== null ? (n = n.delay, n = typeof n == "number" && 0 < n ? u + n : u) : n = u, e) {
|
|
197
|
-
case 1:
|
|
198
|
-
var r = -1;
|
|
199
|
-
break;
|
|
200
|
-
case 2:
|
|
201
|
-
r = 250;
|
|
202
|
-
break;
|
|
203
|
-
case 5:
|
|
204
|
-
r = 1073741823;
|
|
205
|
-
break;
|
|
206
|
-
case 4:
|
|
207
|
-
r = 1e4;
|
|
208
|
-
break;
|
|
209
|
-
default:
|
|
210
|
-
r = 5e3;
|
|
211
|
-
}
|
|
212
|
-
return r = n + r, e = {
|
|
213
|
-
id: F++,
|
|
214
|
-
callback: l,
|
|
215
|
-
priorityLevel: e,
|
|
216
|
-
startTime: n,
|
|
217
|
-
expirationTime: r,
|
|
218
|
-
sortIndex: -1
|
|
219
|
-
}, n > u ? (e.sortIndex = n, E(s, e), i(o) === null && e === i(s) && (d ? (V(v), v = -1) : d = !0, C(S, n - u))) : (e.sortIndex = r, E(o, e), b || A || (b = !0, _ || (_ = !0, O()))), e;
|
|
220
|
-
}, a.unstable_shouldYield = R, a.unstable_wrapCallback = function(e) {
|
|
221
|
-
var l = t;
|
|
222
|
-
return function() {
|
|
223
|
-
var n = t;
|
|
224
|
-
t = l;
|
|
225
|
-
try {
|
|
226
|
-
return e.apply(this, arguments);
|
|
227
|
-
} finally {
|
|
228
|
-
t = n;
|
|
229
|
-
}
|
|
230
|
-
};
|
|
231
|
-
}, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
232
|
-
}();
|
|
233
|
-
}(H), H);
|
|
234
|
-
}
|
|
235
|
-
export {
|
|
236
|
-
z as __require
|
|
237
|
-
};
|
package/dist/node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.production.js
DELETED
|
@@ -1,234 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { __exports as U } from "../../../../../../_virtual/scheduler.production.js";
|
|
3
|
-
/**
|
|
4
|
-
* @license React
|
|
5
|
-
* scheduler.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 A;
|
|
13
|
-
function V() {
|
|
14
|
-
return A ? U : (A = 1, function(l) {
|
|
15
|
-
function g(e, a) {
|
|
16
|
-
var n = e.length;
|
|
17
|
-
e.push(a);
|
|
18
|
-
e: for (; 0 < n; ) {
|
|
19
|
-
var u = n - 1 >>> 1, r = e[u];
|
|
20
|
-
if (0 < m(r, a))
|
|
21
|
-
e[u] = a, e[n] = r, n = u;
|
|
22
|
-
else break e;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
function i(e) {
|
|
26
|
-
return e.length === 0 ? null : e[0];
|
|
27
|
-
}
|
|
28
|
-
function k(e) {
|
|
29
|
-
if (e.length === 0) return null;
|
|
30
|
-
var a = e[0], n = e.pop();
|
|
31
|
-
if (n !== a) {
|
|
32
|
-
e[0] = n;
|
|
33
|
-
e: for (var u = 0, r = e.length, P = r >>> 1; u < P; ) {
|
|
34
|
-
var T = 2 * (u + 1) - 1, I = e[T], o = T + 1, C = e[o];
|
|
35
|
-
if (0 > m(I, n))
|
|
36
|
-
o < r && 0 > m(C, I) ? (e[u] = C, e[o] = n, u = o) : (e[u] = I, e[T] = n, u = T);
|
|
37
|
-
else if (o < r && 0 > m(C, n))
|
|
38
|
-
e[u] = C, e[o] = n, u = o;
|
|
39
|
-
else break e;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
return a;
|
|
43
|
-
}
|
|
44
|
-
function m(e, a) {
|
|
45
|
-
var n = e.sortIndex - a.sortIndex;
|
|
46
|
-
return n !== 0 ? n : e.id - a.id;
|
|
47
|
-
}
|
|
48
|
-
if (l.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") {
|
|
49
|
-
var E = performance;
|
|
50
|
-
l.unstable_now = function() {
|
|
51
|
-
return E.now();
|
|
52
|
-
};
|
|
53
|
-
} else {
|
|
54
|
-
var j = Date, G = j.now();
|
|
55
|
-
l.unstable_now = function() {
|
|
56
|
-
return j.now() - G;
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
var s = [], c = [], J = 1, f = null, t = 3, S = !1, d = !1, _ = !1, q = !1, F = typeof setTimeout == "function" ? setTimeout : null, Q = typeof clearTimeout == "function" ? clearTimeout : null, Y = typeof setImmediate < "u" ? setImmediate : null;
|
|
60
|
-
function w(e) {
|
|
61
|
-
for (var a = i(c); a !== null; ) {
|
|
62
|
-
if (a.callback === null) k(c);
|
|
63
|
-
else if (a.startTime <= e)
|
|
64
|
-
k(c), a.sortIndex = a.expirationTime, g(s, a);
|
|
65
|
-
else break;
|
|
66
|
-
a = i(c);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
function H(e) {
|
|
70
|
-
if (_ = !1, w(e), !d)
|
|
71
|
-
if (i(s) !== null)
|
|
72
|
-
d = !0, b || (b = !0, v());
|
|
73
|
-
else {
|
|
74
|
-
var a = i(c);
|
|
75
|
-
a !== null && D(H, a.startTime - e);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
var b = !1, y = -1, B = 5, M = -1;
|
|
79
|
-
function N() {
|
|
80
|
-
return q ? !0 : !(l.unstable_now() - M < B);
|
|
81
|
-
}
|
|
82
|
-
function R() {
|
|
83
|
-
if (q = !1, b) {
|
|
84
|
-
var e = l.unstable_now();
|
|
85
|
-
M = e;
|
|
86
|
-
var a = !0;
|
|
87
|
-
try {
|
|
88
|
-
e: {
|
|
89
|
-
d = !1, _ && (_ = !1, Q(y), y = -1), S = !0;
|
|
90
|
-
var n = t;
|
|
91
|
-
try {
|
|
92
|
-
n: {
|
|
93
|
-
for (w(e), f = i(s); f !== null && !(f.expirationTime > e && N()); ) {
|
|
94
|
-
var u = f.callback;
|
|
95
|
-
if (typeof u == "function") {
|
|
96
|
-
f.callback = null, t = f.priorityLevel;
|
|
97
|
-
var r = u(
|
|
98
|
-
f.expirationTime <= e
|
|
99
|
-
);
|
|
100
|
-
if (e = l.unstable_now(), typeof r == "function") {
|
|
101
|
-
f.callback = r, w(e), a = !0;
|
|
102
|
-
break n;
|
|
103
|
-
}
|
|
104
|
-
f === i(s) && k(s), w(e);
|
|
105
|
-
} else k(s);
|
|
106
|
-
f = i(s);
|
|
107
|
-
}
|
|
108
|
-
if (f !== null) a = !0;
|
|
109
|
-
else {
|
|
110
|
-
var P = i(c);
|
|
111
|
-
P !== null && D(
|
|
112
|
-
H,
|
|
113
|
-
P.startTime - e
|
|
114
|
-
), a = !1;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
break e;
|
|
118
|
-
} finally {
|
|
119
|
-
f = null, t = n, S = !1;
|
|
120
|
-
}
|
|
121
|
-
a = void 0;
|
|
122
|
-
}
|
|
123
|
-
} finally {
|
|
124
|
-
a ? v() : b = !1;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
var v;
|
|
129
|
-
if (typeof Y == "function")
|
|
130
|
-
v = function() {
|
|
131
|
-
Y(R);
|
|
132
|
-
};
|
|
133
|
-
else if (typeof MessageChannel < "u") {
|
|
134
|
-
var z = new MessageChannel(), K = z.port2;
|
|
135
|
-
z.port1.onmessage = R, v = function() {
|
|
136
|
-
K.postMessage(null);
|
|
137
|
-
};
|
|
138
|
-
} else
|
|
139
|
-
v = function() {
|
|
140
|
-
F(R, 0);
|
|
141
|
-
};
|
|
142
|
-
function D(e, a) {
|
|
143
|
-
y = F(function() {
|
|
144
|
-
e(l.unstable_now());
|
|
145
|
-
}, a);
|
|
146
|
-
}
|
|
147
|
-
l.unstable_IdlePriority = 5, l.unstable_ImmediatePriority = 1, l.unstable_LowPriority = 4, l.unstable_NormalPriority = 3, l.unstable_Profiling = null, l.unstable_UserBlockingPriority = 2, l.unstable_cancelCallback = function(e) {
|
|
148
|
-
e.callback = null;
|
|
149
|
-
}, l.unstable_forceFrameRate = function(e) {
|
|
150
|
-
0 > e || 125 < e ? console.error(
|
|
151
|
-
"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
|
|
152
|
-
) : B = 0 < e ? Math.floor(1e3 / e) : 5;
|
|
153
|
-
}, l.unstable_getCurrentPriorityLevel = function() {
|
|
154
|
-
return t;
|
|
155
|
-
}, l.unstable_next = function(e) {
|
|
156
|
-
switch (t) {
|
|
157
|
-
case 1:
|
|
158
|
-
case 2:
|
|
159
|
-
case 3:
|
|
160
|
-
var a = 3;
|
|
161
|
-
break;
|
|
162
|
-
default:
|
|
163
|
-
a = t;
|
|
164
|
-
}
|
|
165
|
-
var n = t;
|
|
166
|
-
t = a;
|
|
167
|
-
try {
|
|
168
|
-
return e();
|
|
169
|
-
} finally {
|
|
170
|
-
t = n;
|
|
171
|
-
}
|
|
172
|
-
}, l.unstable_requestPaint = function() {
|
|
173
|
-
q = !0;
|
|
174
|
-
}, l.unstable_runWithPriority = function(e, a) {
|
|
175
|
-
switch (e) {
|
|
176
|
-
case 1:
|
|
177
|
-
case 2:
|
|
178
|
-
case 3:
|
|
179
|
-
case 4:
|
|
180
|
-
case 5:
|
|
181
|
-
break;
|
|
182
|
-
default:
|
|
183
|
-
e = 3;
|
|
184
|
-
}
|
|
185
|
-
var n = t;
|
|
186
|
-
t = e;
|
|
187
|
-
try {
|
|
188
|
-
return a();
|
|
189
|
-
} finally {
|
|
190
|
-
t = n;
|
|
191
|
-
}
|
|
192
|
-
}, l.unstable_scheduleCallback = function(e, a, n) {
|
|
193
|
-
var u = l.unstable_now();
|
|
194
|
-
switch (typeof n == "object" && n !== null ? (n = n.delay, n = typeof n == "number" && 0 < n ? u + n : u) : n = u, e) {
|
|
195
|
-
case 1:
|
|
196
|
-
var r = -1;
|
|
197
|
-
break;
|
|
198
|
-
case 2:
|
|
199
|
-
r = 250;
|
|
200
|
-
break;
|
|
201
|
-
case 5:
|
|
202
|
-
r = 1073741823;
|
|
203
|
-
break;
|
|
204
|
-
case 4:
|
|
205
|
-
r = 1e4;
|
|
206
|
-
break;
|
|
207
|
-
default:
|
|
208
|
-
r = 5e3;
|
|
209
|
-
}
|
|
210
|
-
return r = n + r, e = {
|
|
211
|
-
id: J++,
|
|
212
|
-
callback: a,
|
|
213
|
-
priorityLevel: e,
|
|
214
|
-
startTime: n,
|
|
215
|
-
expirationTime: r,
|
|
216
|
-
sortIndex: -1
|
|
217
|
-
}, n > u ? (e.sortIndex = n, g(c, e), i(s) === null && e === i(c) && (_ ? (Q(y), y = -1) : _ = !0, D(H, n - u))) : (e.sortIndex = r, g(s, e), d || S || (d = !0, b || (b = !0, v()))), e;
|
|
218
|
-
}, l.unstable_shouldYield = N, l.unstable_wrapCallback = function(e) {
|
|
219
|
-
var a = t;
|
|
220
|
-
return function() {
|
|
221
|
-
var n = t;
|
|
222
|
-
t = a;
|
|
223
|
-
try {
|
|
224
|
-
return e.apply(this, arguments);
|
|
225
|
-
} finally {
|
|
226
|
-
t = n;
|
|
227
|
-
}
|
|
228
|
-
};
|
|
229
|
-
};
|
|
230
|
-
}(U), U);
|
|
231
|
-
}
|
|
232
|
-
export {
|
|
233
|
-
V as __require
|
|
234
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { __module as e } from "../../../../../_virtual/index.js";
|
|
3
|
-
import { __require as o } from "./cjs/scheduler.production.js";
|
|
4
|
-
import { __require as u } from "./cjs/scheduler.development.js";
|
|
5
|
-
var r;
|
|
6
|
-
function p() {
|
|
7
|
-
return r ? e.exports : (r = 1, process.env.NODE_ENV === "production" ? e.exports = o() : e.exports = u(), e.exports);
|
|
8
|
-
}
|
|
9
|
-
export {
|
|
10
|
-
p as __require
|
|
11
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import * as a from "react";
|
|
3
|
-
import { Primitive as c } from "./react-primitive.js";
|
|
4
|
-
const m = "Arrow", t = a.forwardRef((o, e) => {
|
|
5
|
-
const { children: i, width: s = 10, height: n = 5, ...h } = o;
|
|
6
|
-
return r(c.svg, { ...h, ref: e, width: s, height: n, viewBox: "0 0 30 10", preserveAspectRatio: "none", children: o.asChild ? i : r("polygon", { points: "0,0 30,0 15,10" }) });
|
|
7
|
-
});
|
|
8
|
-
t.displayName = m;
|
|
9
|
-
const w = t;
|
|
10
|
-
export {
|
|
11
|
-
t as Arrow,
|
|
12
|
-
w as Root
|
|
13
|
-
};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
-
import r from "react";
|
|
3
|
-
import { createContextScope as y } from "./react-context.js";
|
|
4
|
-
import { useComposedRefs as M } from "./react-compose-refs.js";
|
|
5
|
-
import { createSlot as x } from "../react-slot.js";
|
|
6
|
-
function g(s) {
|
|
7
|
-
const m = s + "CollectionProvider", [A, N] = y(m), [_, f] = A(
|
|
8
|
-
m,
|
|
9
|
-
{ collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
|
|
10
|
-
), p = (c) => {
|
|
11
|
-
const { scope: e, children: l } = c, o = r.useRef(null), t = r.useRef(/* @__PURE__ */ new Map()).current;
|
|
12
|
-
return /* @__PURE__ */ u(_, { scope: e, itemMap: t, collectionRef: o, children: l });
|
|
13
|
-
};
|
|
14
|
-
p.displayName = m;
|
|
15
|
-
const a = s + "CollectionSlot", E = x(a), C = r.forwardRef(
|
|
16
|
-
(c, e) => {
|
|
17
|
-
const { scope: l, children: o } = c, t = f(a, l), n = M(e, t.collectionRef);
|
|
18
|
-
return /* @__PURE__ */ u(E, { ref: n, children: o });
|
|
19
|
-
}
|
|
20
|
-
);
|
|
21
|
-
C.displayName = a;
|
|
22
|
-
const d = s + "CollectionItemSlot", R = "data-radix-collection-item", T = x(d), I = r.forwardRef(
|
|
23
|
-
(c, e) => {
|
|
24
|
-
const { scope: l, children: o, ...t } = c, n = r.useRef(null), S = M(e, n), i = f(d, l);
|
|
25
|
-
return r.useEffect(() => (i.itemMap.set(n, { ref: n, ...t }), () => void i.itemMap.delete(n))), /* @__PURE__ */ u(T, { [R]: "", ref: S, children: o });
|
|
26
|
-
}
|
|
27
|
-
);
|
|
28
|
-
I.displayName = d;
|
|
29
|
-
function O(c) {
|
|
30
|
-
const e = f(s + "CollectionConsumer", c);
|
|
31
|
-
return r.useCallback(() => {
|
|
32
|
-
const o = e.collectionRef.current;
|
|
33
|
-
if (!o) return [];
|
|
34
|
-
const t = Array.from(o.querySelectorAll(`[${R}]`));
|
|
35
|
-
return Array.from(e.itemMap.values()).sort(
|
|
36
|
-
(i, v) => t.indexOf(i.ref.current) - t.indexOf(v.ref.current)
|
|
37
|
-
);
|
|
38
|
-
}, [e.collectionRef, e.itemMap]);
|
|
39
|
-
}
|
|
40
|
-
return [
|
|
41
|
-
{ Provider: p, Slot: C, ItemSlot: I },
|
|
42
|
-
O,
|
|
43
|
-
N
|
|
44
|
-
];
|
|
45
|
-
}
|
|
46
|
-
export {
|
|
47
|
-
g as createCollection
|
|
48
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import * as l from "react";
|
|
2
|
-
function f(n, u) {
|
|
3
|
-
if (typeof n == "function")
|
|
4
|
-
return n(u);
|
|
5
|
-
n != null && (n.current = u);
|
|
6
|
-
}
|
|
7
|
-
function i(...n) {
|
|
8
|
-
return (u) => {
|
|
9
|
-
let o = !1;
|
|
10
|
-
const c = n.map((e) => {
|
|
11
|
-
const t = f(e, u);
|
|
12
|
-
return !o && typeof t == "function" && (o = !0), t;
|
|
13
|
-
});
|
|
14
|
-
if (o)
|
|
15
|
-
return () => {
|
|
16
|
-
for (let e = 0; e < c.length; e++) {
|
|
17
|
-
const t = c[e];
|
|
18
|
-
typeof t == "function" ? t() : f(n[e], null);
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
function s(...n) {
|
|
24
|
-
return l.useCallback(i(...n), n);
|
|
25
|
-
}
|
|
26
|
-
export {
|
|
27
|
-
i as composeRefs,
|
|
28
|
-
s as useComposedRefs
|
|
29
|
-
};
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { jsx as h } from "react/jsx-runtime";
|
|
2
|
-
import * as u from "react";
|
|
3
|
-
function w(t, c) {
|
|
4
|
-
const r = u.createContext(c);
|
|
5
|
-
r.displayName = t + "Context";
|
|
6
|
-
const a = (o) => {
|
|
7
|
-
const { children: e, ...n } = o, s = u.useMemo(() => n, Object.values(n));
|
|
8
|
-
return h(r.Provider, { value: s, children: e });
|
|
9
|
-
};
|
|
10
|
-
a.displayName = t + "Provider";
|
|
11
|
-
function i(o) {
|
|
12
|
-
const e = u.useContext(r);
|
|
13
|
-
if (e)
|
|
14
|
-
return e;
|
|
15
|
-
if (c !== void 0)
|
|
16
|
-
return c;
|
|
17
|
-
throw new Error(`\`${o}\` must be used within \`${t}\``);
|
|
18
|
-
}
|
|
19
|
-
return [a, i];
|
|
20
|
-
}
|
|
21
|
-
function _(t, c = []) {
|
|
22
|
-
let r = [];
|
|
23
|
-
function a(o, e) {
|
|
24
|
-
const n = u.createContext(e);
|
|
25
|
-
n.displayName = o + "Context";
|
|
26
|
-
const s = r.length;
|
|
27
|
-
r = [...r, e];
|
|
28
|
-
const l = (d) => {
|
|
29
|
-
var C;
|
|
30
|
-
const { scope: x, children: v, ...f } = d, p = ((C = x == null ? void 0 : x[t]) == null ? void 0 : C[s]) || n, S = u.useMemo(() => f, Object.values(f));
|
|
31
|
-
return h(p.Provider, { value: S, children: v });
|
|
32
|
-
};
|
|
33
|
-
l.displayName = o + "Provider";
|
|
34
|
-
function m(d, x) {
|
|
35
|
-
var p;
|
|
36
|
-
const v = ((p = x == null ? void 0 : x[t]) == null ? void 0 : p[s]) || n, f = u.useContext(v);
|
|
37
|
-
if (f)
|
|
38
|
-
return f;
|
|
39
|
-
if (e !== void 0)
|
|
40
|
-
return e;
|
|
41
|
-
throw new Error(`\`${d}\` must be used within \`${o}\``);
|
|
42
|
-
}
|
|
43
|
-
return [l, m];
|
|
44
|
-
}
|
|
45
|
-
const i = () => {
|
|
46
|
-
const o = r.map((e) => u.createContext(e));
|
|
47
|
-
return function(n) {
|
|
48
|
-
const s = (n == null ? void 0 : n[t]) || o;
|
|
49
|
-
return u.useMemo(() => ({ [`__scope${t}`]: { ...n, [t]: s } }), [n, s]);
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
return i.scopeName = t, [a, P(i, ...c)];
|
|
53
|
-
}
|
|
54
|
-
function P(...t) {
|
|
55
|
-
const c = t[0];
|
|
56
|
-
if (t.length === 1)
|
|
57
|
-
return c;
|
|
58
|
-
const r = () => {
|
|
59
|
-
const a = t.map((i) => ({
|
|
60
|
-
useScope: i(),
|
|
61
|
-
scopeName: i.scopeName
|
|
62
|
-
}));
|
|
63
|
-
return function(o) {
|
|
64
|
-
const e = a.reduce((n, { useScope: s, scopeName: l }) => {
|
|
65
|
-
const d = s(o)[`__scope${l}`];
|
|
66
|
-
return { ...n, ...d };
|
|
67
|
-
}, {});
|
|
68
|
-
return u.useMemo(() => ({ [`__scope${c.scopeName}`]: e }), [e]);
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
return r.scopeName = c.scopeName, r;
|
|
72
|
-
}
|
|
73
|
-
export {
|
|
74
|
-
w as createContext,
|
|
75
|
-
_ as createContextScope
|
|
76
|
-
};
|