@deepnoid/ui 0.1.62 → 0.1.63
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/.turbo/turbo-build.log +200 -205
- package/dist/{chunk-FNBVQ77W.mjs → chunk-3UQI4RJU.mjs} +5 -5
- package/dist/{chunk-XUY4V6IQ.mjs → chunk-4T7R3PEH.mjs} +5 -5
- package/dist/{chunk-KJMJIFPS.mjs → chunk-BPEMHZH3.mjs} +1 -1
- package/dist/{chunk-XIQHJBEM.mjs → chunk-DLFXCMUU.mjs} +2 -2
- package/dist/{chunk-CR7MUSOG.mjs → chunk-DLQGQUCD.mjs} +1 -1
- package/dist/{chunk-YNKC7SHK.mjs → chunk-LQEA2HU5.mjs} +4 -4
- package/dist/{chunk-NNDBEMPD.mjs → chunk-MPATONSK.mjs} +1 -1
- package/dist/{chunk-53UVUUMJ.mjs → chunk-ORYYC6BI.mjs} +3 -3
- package/dist/{chunk-SBL6IHEW.mjs → chunk-P7YYNA6L.mjs} +1 -1
- package/dist/{chunk-CY2XMA4S.mjs → chunk-PMZH6GPQ.mjs} +5 -5
- package/dist/{chunk-ATFYXYEV.mjs → chunk-V5T3D6WI.mjs} +6 -6
- package/dist/components/backdrop/backdrop.mjs +2 -2
- package/dist/components/backdrop/index.mjs +2 -2
- package/dist/components/breadcrumb/breadcrumb.mjs +6 -6
- package/dist/components/breadcrumb/index.mjs +6 -6
- package/dist/components/button/button.mjs +3 -3
- package/dist/components/button/icon-button.mjs +3 -3
- package/dist/components/button/index.mjs +5 -5
- package/dist/components/button/text-button.mjs +2 -2
- package/dist/components/charts/areaChart.mjs +2 -2
- package/dist/components/charts/barChart.mjs +2 -2
- package/dist/components/charts/circularProgress.mjs +2 -2
- package/dist/components/charts/index.mjs +4 -4
- package/dist/components/checkbox/checkbox.mjs +2 -2
- package/dist/components/checkbox/index.mjs +2 -2
- package/dist/components/chip/chip.mjs +2 -2
- package/dist/components/chip/index.mjs +2 -2
- package/dist/components/dateTimePicker/calendar.mjs +2 -2
- package/dist/components/dateTimePicker/dateTimePicker.mjs +6 -6
- package/dist/components/dateTimePicker/index.mjs +6 -6
- package/dist/components/dateTimePicker/timePicker.mjs +4 -4
- package/dist/components/drawer/drawer.mjs +2 -2
- package/dist/components/drawer/index.mjs +2 -2
- package/dist/components/fileUpload/fileUpload.mjs +7 -7
- package/dist/components/fileUpload/index.mjs +7 -7
- package/dist/components/input/index.mjs +2 -2
- package/dist/components/input/input.mjs +2 -2
- package/dist/components/list/index.mjs +3 -3
- package/dist/components/list/list.mjs +2 -2
- package/dist/components/list/listItem.mjs +2 -2
- package/dist/components/modal/index.mjs +8 -8
- package/dist/components/modal/modal.mjs +8 -8
- package/dist/components/pagination/index.mjs +3 -3
- package/dist/components/pagination/pagination.mjs +3 -3
- package/dist/components/radio/index.mjs +2 -2
- package/dist/components/radio/radio.mjs +2 -2
- package/dist/components/ripple/index.mjs +3 -3
- package/dist/components/select/index.mjs +2 -2
- package/dist/components/select/select.mjs +2 -2
- package/dist/components/table/definition-table.d.mts +13 -6
- package/dist/components/table/definition-table.d.ts +13 -6
- package/dist/components/table/definition-table.js +99 -12
- package/dist/components/table/definition-table.mjs +2 -1
- package/dist/components/table/index.d.mts +1 -2
- package/dist/components/table/index.d.ts +1 -2
- package/dist/components/table/index.js +12 -41
- package/dist/components/table/index.mjs +11 -15
- package/dist/components/table/table-body.mjs +3 -3
- package/dist/components/table/table-head.mjs +3 -3
- package/dist/components/table/table.mjs +9 -9
- package/dist/components/tabs/index.mjs +2 -2
- package/dist/components/tabs/tabs.mjs +2 -2
- package/dist/components/toast/index.mjs +3 -3
- package/dist/components/toast/toast.mjs +2 -2
- package/dist/components/toast/use-toast.mjs +3 -3
- package/dist/components/tooltip/index.mjs +2 -2
- package/dist/components/tooltip/tooltip.mjs +2 -2
- package/dist/components/tree/index.mjs +2 -2
- package/dist/components/tree/tree.mjs +2 -2
- package/dist/index.d.mts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +328 -357
- package/dist/index.mjs +71 -75
- package/package.json +1 -1
- package/dist/chunk-6TIIBU7J.mjs +0 -35
- package/dist/components/table/definition-table2.d.mts +0 -58
- package/dist/components/table/definition-table2.d.ts +0 -58
- package/dist/components/table/definition-table2.js +0 -438
- package/dist/components/table/definition-table2.mjs +0 -10
- package/dist/{chunk-SSMMWMQC.mjs → chunk-2YMAKIZ6.mjs} +3 -3
- package/dist/{chunk-B2BSN6WP.mjs → chunk-73RWXO3Y.mjs} +3 -3
- package/dist/{chunk-QEPJICMO.mjs → chunk-76B5LZBM.mjs} +3 -3
- package/dist/{chunk-YDGGBZAS.mjs → chunk-7TAC2S5U.mjs} +3 -3
- package/dist/{chunk-LW5CNZW5.mjs → chunk-AZA2LAZH.mjs} +6 -6
- package/dist/{chunk-W6H3DI2L.mjs → chunk-C4AGYO7C.mjs} +3 -3
- package/dist/{chunk-YLRYHUTW.mjs → chunk-D6QI3DJG.mjs} +3 -3
- package/dist/{chunk-DLR42ZKG.mjs → chunk-DX3KXNP6.mjs} +0 -0
- package/dist/{chunk-BEKIKGI3.mjs → chunk-GL5J2BKI.mjs} +3 -3
- package/dist/{chunk-UFVQPPPW.mjs → chunk-HIVPDIEP.mjs} +3 -3
- package/dist/{chunk-SWIYZRBZ.mjs → chunk-L3RCWZTV.mjs} +3 -3
- package/dist/{chunk-P5QCU457.mjs → chunk-LL6F3WDX.mjs} +3 -3
- package/dist/{chunk-RM4PEV62.mjs → chunk-LSO5QZIT.mjs} +3 -3
- package/dist/{chunk-33LANVZV.mjs → chunk-QIRL6HY6.mjs} +3 -3
- package/dist/{chunk-BOT5U4IL.mjs → chunk-QX6F6C6X.mjs} +3 -3
- package/dist/{chunk-4SDLHEKS.mjs → chunk-U2NPH2O3.mjs} +3 -3
- package/dist/{chunk-ZNDWOIP4.mjs → chunk-UETBYMGS.mjs} +3 -3
- package/dist/{chunk-VYUH25IC.mjs → chunk-WF7VSHBA.mjs} +6 -6
- package/dist/{chunk-DQX2CILT.mjs → chunk-YZDZYMBP.mjs} +3 -3
- package/dist/{chunk-IL5ENWCR.mjs → chunk-Z2537DF6.mjs} +3 -3
- package/dist/{chunk-VGFGIXS6.mjs → chunk-ZOENHWSZ.mjs} +3 -3
|
@@ -1,438 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
var __create = Object.create;
|
|
4
|
-
var __defProp = Object.defineProperty;
|
|
5
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
-
var __commonJS = (cb, mod) => function __require() {
|
|
10
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
11
|
-
};
|
|
12
|
-
var __export = (target, all) => {
|
|
13
|
-
for (var name in all)
|
|
14
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
15
|
-
};
|
|
16
|
-
var __copyProps = (to, from, except, desc) => {
|
|
17
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
18
|
-
for (let key of __getOwnPropNames(from))
|
|
19
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
20
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
21
|
-
}
|
|
22
|
-
return to;
|
|
23
|
-
};
|
|
24
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
25
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
26
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
27
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
28
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
29
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
30
|
-
mod
|
|
31
|
-
));
|
|
32
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
33
|
-
|
|
34
|
-
// ../../node_modules/tailwindcss/lib/util/createPlugin.js
|
|
35
|
-
var require_createPlugin = __commonJS({
|
|
36
|
-
"../../node_modules/tailwindcss/lib/util/createPlugin.js"(exports2) {
|
|
37
|
-
"use strict";
|
|
38
|
-
Object.defineProperty(exports2, "__esModule", {
|
|
39
|
-
value: true
|
|
40
|
-
});
|
|
41
|
-
Object.defineProperty(exports2, "default", {
|
|
42
|
-
enumerable: true,
|
|
43
|
-
get: function() {
|
|
44
|
-
return _default;
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
function createPlugin(plugin2, config) {
|
|
48
|
-
return {
|
|
49
|
-
handler: plugin2,
|
|
50
|
-
config
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
createPlugin.withOptions = function(pluginFunction, configFunction = () => ({})) {
|
|
54
|
-
const optionsFunction = function(options) {
|
|
55
|
-
return {
|
|
56
|
-
__options: options,
|
|
57
|
-
handler: pluginFunction(options),
|
|
58
|
-
config: configFunction(options)
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
optionsFunction.__isOptionsFunction = true;
|
|
62
|
-
optionsFunction.__pluginFunction = pluginFunction;
|
|
63
|
-
optionsFunction.__configFunction = configFunction;
|
|
64
|
-
return optionsFunction;
|
|
65
|
-
};
|
|
66
|
-
var _default = createPlugin;
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
|
|
70
|
-
// ../../node_modules/tailwindcss/lib/public/create-plugin.js
|
|
71
|
-
var require_create_plugin = __commonJS({
|
|
72
|
-
"../../node_modules/tailwindcss/lib/public/create-plugin.js"(exports2) {
|
|
73
|
-
"use strict";
|
|
74
|
-
Object.defineProperty(exports2, "__esModule", {
|
|
75
|
-
value: true
|
|
76
|
-
});
|
|
77
|
-
Object.defineProperty(exports2, "default", {
|
|
78
|
-
enumerable: true,
|
|
79
|
-
get: function() {
|
|
80
|
-
return _default;
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
var _createPlugin = /* @__PURE__ */ _interop_require_default(require_createPlugin());
|
|
84
|
-
function _interop_require_default(obj) {
|
|
85
|
-
return obj && obj.__esModule ? obj : {
|
|
86
|
-
default: obj
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
var _default = _createPlugin.default;
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
|
|
93
|
-
// ../../node_modules/tailwindcss/plugin.js
|
|
94
|
-
var require_plugin = __commonJS({
|
|
95
|
-
"../../node_modules/tailwindcss/plugin.js"(exports2, module2) {
|
|
96
|
-
"use strict";
|
|
97
|
-
var createPlugin = require_create_plugin();
|
|
98
|
-
module2.exports = (createPlugin.__esModule ? createPlugin : { default: createPlugin }).default;
|
|
99
|
-
}
|
|
100
|
-
});
|
|
101
|
-
|
|
102
|
-
// src/components/table/definition-table2.tsx
|
|
103
|
-
var definition_table2_exports = {};
|
|
104
|
-
__export(definition_table2_exports, {
|
|
105
|
-
default: () => definition_table2_default
|
|
106
|
-
});
|
|
107
|
-
module.exports = __toCommonJS(definition_table2_exports);
|
|
108
|
-
var import_react = require("react");
|
|
109
|
-
|
|
110
|
-
// src/utils/tailwind-variants.ts
|
|
111
|
-
var import_tailwind_variants = require("tailwind-variants");
|
|
112
|
-
|
|
113
|
-
// ../tailwind-config/src/plugin.ts
|
|
114
|
-
var import_plugin = __toESM(require_plugin());
|
|
115
|
-
|
|
116
|
-
// ../tailwind-config/src/typography/font.ts
|
|
117
|
-
var fontSize = {
|
|
118
|
-
h1: [
|
|
119
|
-
"40px",
|
|
120
|
-
{
|
|
121
|
-
fontWeight: "700"
|
|
122
|
-
}
|
|
123
|
-
],
|
|
124
|
-
h2: [
|
|
125
|
-
"34px",
|
|
126
|
-
{
|
|
127
|
-
fontWeight: "700"
|
|
128
|
-
}
|
|
129
|
-
],
|
|
130
|
-
h3: [
|
|
131
|
-
"28px",
|
|
132
|
-
{
|
|
133
|
-
fontWeight: "700"
|
|
134
|
-
}
|
|
135
|
-
],
|
|
136
|
-
h4: [
|
|
137
|
-
"24px",
|
|
138
|
-
{
|
|
139
|
-
fontWeight: "700"
|
|
140
|
-
}
|
|
141
|
-
],
|
|
142
|
-
h5: [
|
|
143
|
-
"20px",
|
|
144
|
-
{
|
|
145
|
-
fontWeight: "600"
|
|
146
|
-
}
|
|
147
|
-
],
|
|
148
|
-
sm: [
|
|
149
|
-
"12px",
|
|
150
|
-
{
|
|
151
|
-
lineHeight: "18px",
|
|
152
|
-
fontWeight: "400"
|
|
153
|
-
}
|
|
154
|
-
],
|
|
155
|
-
md: [
|
|
156
|
-
"14px",
|
|
157
|
-
{
|
|
158
|
-
lineHeight: "21px",
|
|
159
|
-
fontWeight: "400"
|
|
160
|
-
}
|
|
161
|
-
],
|
|
162
|
-
lg: [
|
|
163
|
-
"16px",
|
|
164
|
-
{
|
|
165
|
-
lineHeight: "24px",
|
|
166
|
-
fontWeight: "400"
|
|
167
|
-
}
|
|
168
|
-
],
|
|
169
|
-
xl: [
|
|
170
|
-
"18px",
|
|
171
|
-
{
|
|
172
|
-
lineHeight: "27px",
|
|
173
|
-
fontWeight: "400"
|
|
174
|
-
}
|
|
175
|
-
]
|
|
176
|
-
};
|
|
177
|
-
|
|
178
|
-
// ../tailwind-config/src/animation/slide.ts
|
|
179
|
-
var sliceAnimation = {
|
|
180
|
-
slideInFromTop: "slideInFromTop 0.5s ease-out",
|
|
181
|
-
slideInFromBottom: "slideInFromBottom 0.5s ease-out",
|
|
182
|
-
slideInFromLeft: "slideInFromLeft 0.5s ease-out",
|
|
183
|
-
slideInFromRight: "slideInFromRight 0.5s ease-out",
|
|
184
|
-
slideOutToTop: "slideOutToTop 0.5s ease-in",
|
|
185
|
-
slideOutToBottom: "slideOutToBottom 0.5s ease-in",
|
|
186
|
-
slideOutToLeft: "slideOutToLeft 0.5s ease-in",
|
|
187
|
-
slideOutToRight: "slideOutToRight 0.5s ease-in"
|
|
188
|
-
};
|
|
189
|
-
var sliceKeyframe = {
|
|
190
|
-
slideInFromTop: {
|
|
191
|
-
"0%": {
|
|
192
|
-
transform: "translateY(-10px)",
|
|
193
|
-
opacity: "0"
|
|
194
|
-
},
|
|
195
|
-
"100%": {
|
|
196
|
-
transform: "translateY(0)",
|
|
197
|
-
opacity: "1"
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
slideInFromBottom: {
|
|
201
|
-
"0%": {
|
|
202
|
-
transform: "translateY(10px)",
|
|
203
|
-
opacity: "0"
|
|
204
|
-
},
|
|
205
|
-
"100%": {
|
|
206
|
-
transform: "translateY(0)",
|
|
207
|
-
opacity: "1"
|
|
208
|
-
}
|
|
209
|
-
},
|
|
210
|
-
slideInFromLeft: {
|
|
211
|
-
"0%": {
|
|
212
|
-
transform: "translateX(-10px)",
|
|
213
|
-
opacity: "0"
|
|
214
|
-
},
|
|
215
|
-
"100%": {
|
|
216
|
-
transform: "translateX(0)",
|
|
217
|
-
opacity: "1"
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
slideInFromRight: {
|
|
221
|
-
"0%": {
|
|
222
|
-
transform: "translateX(10px)",
|
|
223
|
-
opacity: "0"
|
|
224
|
-
},
|
|
225
|
-
"100%": {
|
|
226
|
-
transform: "translateX(0)",
|
|
227
|
-
opacity: "1"
|
|
228
|
-
}
|
|
229
|
-
},
|
|
230
|
-
slideOutToTop: {
|
|
231
|
-
"0%": {
|
|
232
|
-
transform: "translateY(0)",
|
|
233
|
-
opacity: "1"
|
|
234
|
-
},
|
|
235
|
-
"100%": {
|
|
236
|
-
transform: "translateY(-10px)",
|
|
237
|
-
opacity: "0"
|
|
238
|
-
}
|
|
239
|
-
},
|
|
240
|
-
slideOutToBottom: {
|
|
241
|
-
"0%": {
|
|
242
|
-
transform: "translateY(0)",
|
|
243
|
-
opacity: "1"
|
|
244
|
-
},
|
|
245
|
-
"100%": {
|
|
246
|
-
transform: "translateY(10px)",
|
|
247
|
-
opacity: "0"
|
|
248
|
-
}
|
|
249
|
-
},
|
|
250
|
-
slideOutToLeft: {
|
|
251
|
-
"0%": {
|
|
252
|
-
transform: "translateX(0)",
|
|
253
|
-
opacity: "1"
|
|
254
|
-
},
|
|
255
|
-
"100%": {
|
|
256
|
-
transform: "translateX(-10px)",
|
|
257
|
-
opacity: "0"
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
|
-
slideOutToRight: {
|
|
261
|
-
"0%": {
|
|
262
|
-
transform: "translateX(0)",
|
|
263
|
-
opacity: "1"
|
|
264
|
-
},
|
|
265
|
-
"100%": {
|
|
266
|
-
transform: "translateX(10px)",
|
|
267
|
-
opacity: "0"
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
};
|
|
271
|
-
|
|
272
|
-
// ../tailwind-config/src/animation/index.ts
|
|
273
|
-
var animation = { ...sliceAnimation };
|
|
274
|
-
var keyframes = { ...sliceKeyframe };
|
|
275
|
-
|
|
276
|
-
// ../tailwind-config/src/shadow/index.ts
|
|
277
|
-
var boxShadow = {
|
|
278
|
-
"border-1": "inner 0 0 0 1px inset",
|
|
279
|
-
"border-2": "inner 0 0 0 2px inset",
|
|
280
|
-
"border-3": "inner 0 0 0 3px inset",
|
|
281
|
-
"border-4": "inner 0 0 0 4px inset",
|
|
282
|
-
"border-5": "inner 0 0 0 5px inset",
|
|
283
|
-
"border-6": "inner 0 0 0 6px inset",
|
|
284
|
-
"border-7": "inner 0 0 0 7px inset",
|
|
285
|
-
"border-8": "inner 0 0 0 8px inset",
|
|
286
|
-
"border-9": "inner 0 0 0 9px inset",
|
|
287
|
-
"border-10": "inner 0 0 0 10px inset",
|
|
288
|
-
inner: "inset 0 4px 8px 0 rgba(36, 39, 44, 0.2)",
|
|
289
|
-
drop: "0 20px 40px 0 rgba(36, 39, 44, 0.2)"
|
|
290
|
-
};
|
|
291
|
-
|
|
292
|
-
// ../tailwind-config/src/border/radius.ts
|
|
293
|
-
var borderRadius = {
|
|
294
|
-
sm: "4px",
|
|
295
|
-
md: "6px",
|
|
296
|
-
lg: "8px",
|
|
297
|
-
xl: "10px",
|
|
298
|
-
none: "0",
|
|
299
|
-
full: "9999px"
|
|
300
|
-
};
|
|
301
|
-
|
|
302
|
-
// ../tailwind-config/src/space/gap.ts
|
|
303
|
-
var gap = {
|
|
304
|
-
sm: "4px",
|
|
305
|
-
md: "6px",
|
|
306
|
-
lg: "8px",
|
|
307
|
-
xl: "10px"
|
|
308
|
-
};
|
|
309
|
-
|
|
310
|
-
// src/utils/tailwind-variants.ts
|
|
311
|
-
function typedKeys(obj) {
|
|
312
|
-
return Object.keys(obj);
|
|
313
|
-
}
|
|
314
|
-
var COMMON_SIZE = ["sm", "md", "lg", "xl"];
|
|
315
|
-
var tv = (0, import_tailwind_variants.createTV)({
|
|
316
|
-
twMergeConfig: {
|
|
317
|
-
classGroups: {
|
|
318
|
-
fontSize: [{ text: [...typedKeys(fontSize)] }],
|
|
319
|
-
borderRadius: [{ rounded: [...typedKeys(borderRadius)] }],
|
|
320
|
-
boxShadow: [{ shadow: [...typedKeys(boxShadow)] }],
|
|
321
|
-
padding: [{ p: [...COMMON_SIZE] }],
|
|
322
|
-
gap: [{ gap: [...typedKeys(gap)] }]
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
});
|
|
326
|
-
|
|
327
|
-
// src/utils/clsx.ts
|
|
328
|
-
function clsx(...args) {
|
|
329
|
-
var i = 0, tmp, x, str = "";
|
|
330
|
-
while (i < args.length) {
|
|
331
|
-
if (tmp = args[i++]) {
|
|
332
|
-
if (x = toVal(tmp)) {
|
|
333
|
-
str && (str += " ");
|
|
334
|
-
str += x;
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
return str;
|
|
339
|
-
}
|
|
340
|
-
function toVal(mix) {
|
|
341
|
-
var k, y, str = "";
|
|
342
|
-
if (typeof mix === "string" || typeof mix === "number") {
|
|
343
|
-
str += mix;
|
|
344
|
-
} else if (typeof mix === "object") {
|
|
345
|
-
if (Array.isArray(mix)) {
|
|
346
|
-
var len = mix.length;
|
|
347
|
-
for (k = 0; k < len; k++) {
|
|
348
|
-
if (mix[k]) {
|
|
349
|
-
if (y = toVal(mix[k])) {
|
|
350
|
-
str && (str += " ");
|
|
351
|
-
str += y;
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
} else {
|
|
356
|
-
for (y in mix) {
|
|
357
|
-
if (mix[y]) {
|
|
358
|
-
str && (str += " ");
|
|
359
|
-
str += y;
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
return str;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
// src/components/table/definition-table2.tsx
|
|
368
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
369
|
-
var DEFAULT_CELL_CLASSES = "px-[10px] py-[9.5px] text-md border-r border-neutral-light";
|
|
370
|
-
var FIRST_CELL_WIDTH_CLASS = "w-[120px] font-bold text-md text-body-foreground";
|
|
371
|
-
var renderColGroup = (rows) => {
|
|
372
|
-
let maxCols = 0;
|
|
373
|
-
const colWidths = [];
|
|
374
|
-
rows.forEach((row) => {
|
|
375
|
-
let currentColCount = 0;
|
|
376
|
-
row.cells.forEach((cell) => {
|
|
377
|
-
currentColCount += cell.colSpan || 1;
|
|
378
|
-
});
|
|
379
|
-
maxCols = Math.max(maxCols, currentColCount);
|
|
380
|
-
});
|
|
381
|
-
colWidths[0] = "120px";
|
|
382
|
-
rows.forEach((row) => {
|
|
383
|
-
let colIndex = 0;
|
|
384
|
-
row.cells.forEach((cell) => {
|
|
385
|
-
const span = cell.colSpan || 1;
|
|
386
|
-
if (colIndex > 0 && cell.width && cell.width !== "auto" && colIndex < maxCols) {
|
|
387
|
-
colWidths[colIndex] = cell.width;
|
|
388
|
-
}
|
|
389
|
-
colIndex += span;
|
|
390
|
-
});
|
|
391
|
-
});
|
|
392
|
-
const cols = [];
|
|
393
|
-
for (let i = 0; i < maxCols; i++) {
|
|
394
|
-
cols.push(/* @__PURE__ */ (0, import_jsx_runtime.jsx)("col", { style: colWidths[i] ? { width: colWidths[i] } : { width: "auto" } }, `col-${i}`));
|
|
395
|
-
}
|
|
396
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("colgroup", { children: cols });
|
|
397
|
-
};
|
|
398
|
-
var DefinitionTableRow = ({ cells, className }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("tr", { className: `border-neutral-light min-h-[50px] border-b ${className || ""}`, children: cells.map((cell, colIndex) => {
|
|
399
|
-
const isFirstCell = colIndex === 0;
|
|
400
|
-
const combinedClassName = [isFirstCell ? FIRST_CELL_WIDTH_CLASS : "", clsx(DEFAULT_CELL_CLASSES, cell.className)].filter(Boolean).join(" ");
|
|
401
|
-
let cellStyle;
|
|
402
|
-
if (isFirstCell) {
|
|
403
|
-
cellStyle = { width: "120px", minWidth: "120px", maxWidth: "120px" };
|
|
404
|
-
} else if (cell.width && cell.width !== "auto") {
|
|
405
|
-
cellStyle = { width: cell.width, minWidth: cell.width, maxWidth: cell.width };
|
|
406
|
-
} else {
|
|
407
|
-
cellStyle = { width: "100%" };
|
|
408
|
-
}
|
|
409
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
410
|
-
"td",
|
|
411
|
-
{
|
|
412
|
-
className: combinedClassName,
|
|
413
|
-
colSpan: cell.colSpan,
|
|
414
|
-
rowSpan: cell.rowSpan,
|
|
415
|
-
style: cellStyle,
|
|
416
|
-
children: cell.content
|
|
417
|
-
},
|
|
418
|
-
colIndex
|
|
419
|
-
);
|
|
420
|
-
}) });
|
|
421
|
-
var DefinitionTable2 = (0, import_react.forwardRef)(({ rows = [], footer, classNames }, ref) => {
|
|
422
|
-
const slots = (0, import_react.useMemo)(() => DefinitionTableStyle(), []);
|
|
423
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
|
|
424
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("table", { className: slots.table({ class: classNames == null ? void 0 : classNames.table }), children: [
|
|
425
|
-
renderColGroup(rows),
|
|
426
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("tbody", { children: rows.map((row, i) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DefinitionTableRow, { ...row, className: `${row.className || ""} ${i === 0 ? "first-row" : ""}` }, i)) })
|
|
427
|
-
] }),
|
|
428
|
-
footer && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { children: footer })
|
|
429
|
-
] });
|
|
430
|
-
});
|
|
431
|
-
DefinitionTable2.displayName = "DefinitionTable2";
|
|
432
|
-
var definition_table2_default = DefinitionTable2;
|
|
433
|
-
var DefinitionTableStyle = tv({
|
|
434
|
-
slots: {
|
|
435
|
-
base: ["flex", "flex-col", "gap-[30px]"],
|
|
436
|
-
table: ["w-full", "table-auto", "border", "border-neutral-light"]
|
|
437
|
-
}
|
|
438
|
-
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
mapPropsVariants
|
|
4
|
-
} from "./chunk-E3G5QXSH.mjs";
|
|
5
2
|
import {
|
|
6
3
|
tv
|
|
7
4
|
} from "./chunk-4ZJFD3L3.mjs";
|
|
5
|
+
import {
|
|
6
|
+
mapPropsVariants
|
|
7
|
+
} from "./chunk-E3G5QXSH.mjs";
|
|
8
8
|
|
|
9
9
|
// src/components/tabs/tabs.tsx
|
|
10
10
|
import { forwardRef, useCallback, useMemo, useState } from "react";
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Icon_default
|
|
4
4
|
} from "./chunk-DZ6QJCDZ.mjs";
|
|
5
|
+
import {
|
|
6
|
+
tv
|
|
7
|
+
} from "./chunk-4ZJFD3L3.mjs";
|
|
5
8
|
import {
|
|
6
9
|
clsx
|
|
7
10
|
} from "./chunk-27Y6K5NK.mjs";
|
|
8
11
|
import {
|
|
9
12
|
mapPropsVariants
|
|
10
13
|
} from "./chunk-E3G5QXSH.mjs";
|
|
11
|
-
import {
|
|
12
|
-
tv
|
|
13
|
-
} from "./chunk-4ZJFD3L3.mjs";
|
|
14
14
|
|
|
15
15
|
// src/components/toast/toast.tsx
|
|
16
16
|
import { forwardRef, useImperativeHandle, useMemo, useRef } from "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
mapPropsVariants
|
|
4
|
-
} from "./chunk-E3G5QXSH.mjs";
|
|
5
2
|
import {
|
|
6
3
|
tv
|
|
7
4
|
} from "./chunk-4ZJFD3L3.mjs";
|
|
5
|
+
import {
|
|
6
|
+
mapPropsVariants
|
|
7
|
+
} from "./chunk-E3G5QXSH.mjs";
|
|
8
8
|
|
|
9
9
|
// src/components/charts/barChart.tsx
|
|
10
10
|
import { forwardRef, useEffect, useMemo, useRef, useState } from "react";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
tv
|
|
4
|
+
} from "./chunk-4ZJFD3L3.mjs";
|
|
2
5
|
import {
|
|
3
6
|
clsx
|
|
4
7
|
} from "./chunk-27Y6K5NK.mjs";
|
|
5
8
|
import {
|
|
6
9
|
mapPropsVariants
|
|
7
10
|
} from "./chunk-E3G5QXSH.mjs";
|
|
8
|
-
import {
|
|
9
|
-
tv
|
|
10
|
-
} from "./chunk-4ZJFD3L3.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/button/text-button.tsx
|
|
13
13
|
import {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
ripple_default
|
|
4
|
-
} from "./chunk-LXHUO6VM.mjs";
|
|
5
2
|
import {
|
|
6
3
|
useRipple
|
|
7
4
|
} from "./chunk-6PNKRBUT.mjs";
|
|
5
|
+
import {
|
|
6
|
+
ripple_default
|
|
7
|
+
} from "./chunk-LXHUO6VM.mjs";
|
|
8
8
|
import {
|
|
9
9
|
Icon_default
|
|
10
10
|
} from "./chunk-DZ6QJCDZ.mjs";
|
|
11
|
-
import {
|
|
12
|
-
mapPropsVariants
|
|
13
|
-
} from "./chunk-E3G5QXSH.mjs";
|
|
14
11
|
import {
|
|
15
12
|
tv
|
|
16
13
|
} from "./chunk-4ZJFD3L3.mjs";
|
|
14
|
+
import {
|
|
15
|
+
mapPropsVariants
|
|
16
|
+
} from "./chunk-E3G5QXSH.mjs";
|
|
17
17
|
|
|
18
18
|
// src/components/button/icon-button.tsx
|
|
19
19
|
import { forwardRef, useMemo, useCallback } from "react";
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Icon_default
|
|
4
4
|
} from "./chunk-DZ6QJCDZ.mjs";
|
|
5
|
+
import {
|
|
6
|
+
tv
|
|
7
|
+
} from "./chunk-4ZJFD3L3.mjs";
|
|
5
8
|
import {
|
|
6
9
|
clsx
|
|
7
10
|
} from "./chunk-27Y6K5NK.mjs";
|
|
8
11
|
import {
|
|
9
12
|
mapPropsVariants
|
|
10
13
|
} from "./chunk-E3G5QXSH.mjs";
|
|
11
|
-
import {
|
|
12
|
-
tv
|
|
13
|
-
} from "./chunk-4ZJFD3L3.mjs";
|
|
14
14
|
|
|
15
15
|
// src/components/select/select.tsx
|
|
16
16
|
import { forwardRef, useMemo, useState, useRef, useEffect } from "react";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
tv
|
|
4
|
+
} from "./chunk-4ZJFD3L3.mjs";
|
|
2
5
|
import {
|
|
3
6
|
clsx
|
|
4
7
|
} from "./chunk-27Y6K5NK.mjs";
|
|
5
8
|
import {
|
|
6
9
|
mapPropsVariants
|
|
7
10
|
} from "./chunk-E3G5QXSH.mjs";
|
|
8
|
-
import {
|
|
9
|
-
tv
|
|
10
|
-
} from "./chunk-4ZJFD3L3.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/checkbox/checkbox.tsx
|
|
13
13
|
import { forwardRef, useMemo } from "react";
|
|
File without changes
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Icon_default
|
|
4
4
|
} from "./chunk-DZ6QJCDZ.mjs";
|
|
5
|
-
import {
|
|
6
|
-
mapPropsVariants
|
|
7
|
-
} from "./chunk-E3G5QXSH.mjs";
|
|
8
5
|
import {
|
|
9
6
|
tv
|
|
10
7
|
} from "./chunk-4ZJFD3L3.mjs";
|
|
8
|
+
import {
|
|
9
|
+
mapPropsVariants
|
|
10
|
+
} from "./chunk-E3G5QXSH.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/chip/chip.tsx
|
|
13
13
|
import { forwardRef, useMemo } from "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
mapPropsVariants
|
|
4
|
-
} from "./chunk-E3G5QXSH.mjs";
|
|
5
2
|
import {
|
|
6
3
|
tv
|
|
7
4
|
} from "./chunk-4ZJFD3L3.mjs";
|
|
5
|
+
import {
|
|
6
|
+
mapPropsVariants
|
|
7
|
+
} from "./chunk-E3G5QXSH.mjs";
|
|
8
8
|
|
|
9
9
|
// src/components/list/list.tsx
|
|
10
10
|
import { Children, cloneElement, forwardRef, isValidElement, useMemo } from "react";
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
Icon_default
|
|
8
8
|
} from "./chunk-DZ6QJCDZ.mjs";
|
|
9
|
-
import {
|
|
10
|
-
mapPropsVariants
|
|
11
|
-
} from "./chunk-E3G5QXSH.mjs";
|
|
12
9
|
import {
|
|
13
10
|
tv
|
|
14
11
|
} from "./chunk-4ZJFD3L3.mjs";
|
|
12
|
+
import {
|
|
13
|
+
mapPropsVariants
|
|
14
|
+
} from "./chunk-E3G5QXSH.mjs";
|
|
15
15
|
|
|
16
16
|
// src/components/dateTimePicker/calendar.tsx
|
|
17
17
|
import React, {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
clsx
|
|
4
|
-
} from "./chunk-27Y6K5NK.mjs";
|
|
5
2
|
import {
|
|
6
3
|
tv
|
|
7
4
|
} from "./chunk-4ZJFD3L3.mjs";
|
|
5
|
+
import {
|
|
6
|
+
clsx
|
|
7
|
+
} from "./chunk-27Y6K5NK.mjs";
|
|
8
8
|
|
|
9
9
|
// src/components/backdrop/backdrop.tsx
|
|
10
10
|
import { useEffect, useState } from "react";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
tv
|
|
4
|
+
} from "./chunk-4ZJFD3L3.mjs";
|
|
2
5
|
import {
|
|
3
6
|
clsx
|
|
4
7
|
} from "./chunk-27Y6K5NK.mjs";
|
|
5
8
|
import {
|
|
6
9
|
mapPropsVariants
|
|
7
10
|
} from "./chunk-E3G5QXSH.mjs";
|
|
8
|
-
import {
|
|
9
|
-
tv
|
|
10
|
-
} from "./chunk-4ZJFD3L3.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/drawer/drawer.tsx
|
|
13
13
|
import { forwardRef, useMemo, useEffect, useState } from "react";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
tv
|
|
4
|
+
} from "./chunk-4ZJFD3L3.mjs";
|
|
2
5
|
import {
|
|
3
6
|
clsx
|
|
4
7
|
} from "./chunk-27Y6K5NK.mjs";
|
|
5
8
|
import {
|
|
6
9
|
mapPropsVariants
|
|
7
10
|
} from "./chunk-E3G5QXSH.mjs";
|
|
8
|
-
import {
|
|
9
|
-
tv
|
|
10
|
-
} from "./chunk-4ZJFD3L3.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/radio/radio.tsx
|
|
13
13
|
import { forwardRef, useMemo } from "react";
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Icon_default
|
|
4
4
|
} from "./chunk-DZ6QJCDZ.mjs";
|
|
5
|
-
import {
|
|
6
|
-
clsx
|
|
7
|
-
} from "./chunk-27Y6K5NK.mjs";
|
|
8
5
|
import {
|
|
9
6
|
tv
|
|
10
7
|
} from "./chunk-4ZJFD3L3.mjs";
|
|
8
|
+
import {
|
|
9
|
+
clsx
|
|
10
|
+
} from "./chunk-27Y6K5NK.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/tree/tree.tsx
|
|
13
13
|
import { forwardRef, useMemo, useState, useCallback } from "react";
|