@uipath/apollo-wind 2.21.0 → 2.22.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.
|
@@ -27,18 +27,19 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
27
27
|
MetadataForm: ()=>MetadataForm
|
|
28
28
|
});
|
|
29
29
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
+
const standard_schema_namespaceObject = require("@hookform/resolvers/standard-schema");
|
|
30
31
|
const external_react_namespaceObject = require("react");
|
|
31
32
|
const external_react_hook_form_namespaceObject = require("react-hook-form");
|
|
32
33
|
const v4_namespaceObject = require("zod/v4");
|
|
33
34
|
const accordion_cjs_namespaceObject = require("../ui/accordion.cjs");
|
|
34
35
|
const button_cjs_namespaceObject = require("../ui/button.cjs");
|
|
35
|
-
const
|
|
36
|
+
const tabs_cjs_namespaceObject = require("../ui/tabs.cjs");
|
|
36
37
|
const external_data_fetcher_cjs_namespaceObject = require("./data-fetcher.cjs");
|
|
37
38
|
const external_field_renderer_cjs_namespaceObject = require("./field-renderer.cjs");
|
|
38
39
|
const external_rules_engine_cjs_namespaceObject = require("./rules-engine.cjs");
|
|
39
40
|
const external_validation_converter_cjs_namespaceObject = require("./validation-converter.cjs");
|
|
40
41
|
const DEFAULT_PLUGINS = [];
|
|
41
|
-
function MetadataForm({ schema, plugins = DEFAULT_PLUGINS, onSubmit, className, disabled = false, autoComplete }) {
|
|
42
|
+
function MetadataForm({ schema, plugins = DEFAULT_PLUGINS, onSubmit, className, disabled = false, autoComplete, stepVariant = 'wizard' }) {
|
|
42
43
|
const [currentStep, setCurrentStep] = (0, external_react_namespaceObject.useState)(0);
|
|
43
44
|
const [customComponents, setCustomComponents] = (0, external_react_namespaceObject.useState)({});
|
|
44
45
|
const [isInitialized, setIsInitialized] = (0, external_react_namespaceObject.useState)(false);
|
|
@@ -124,14 +125,23 @@ function MetadataForm({ schema, plugins = DEFAULT_PLUGINS, onSubmit, className,
|
|
|
124
125
|
if (onSubmit) await onSubmit(finalData);
|
|
125
126
|
});
|
|
126
127
|
const renderContent = ()=>{
|
|
127
|
-
if (schema.steps)
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
128
|
+
if (schema.steps) {
|
|
129
|
+
if ('tabs' === stepVariant) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(TabbedStepForm, {
|
|
130
|
+
schema: schema,
|
|
131
|
+
context: context,
|
|
132
|
+
customComponents: customComponents,
|
|
133
|
+
disabled: disabled,
|
|
134
|
+
onReset: ()=>reset()
|
|
135
|
+
});
|
|
136
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(MultiStepForm, {
|
|
137
|
+
schema: schema,
|
|
138
|
+
context: context,
|
|
139
|
+
currentStep: currentStep,
|
|
140
|
+
setCurrentStep: setCurrentStep,
|
|
141
|
+
customComponents: customComponents,
|
|
142
|
+
disabled: disabled
|
|
143
|
+
});
|
|
144
|
+
}
|
|
135
145
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(SinglePageForm, {
|
|
136
146
|
schema: schema,
|
|
137
147
|
context: context,
|
|
@@ -240,6 +250,53 @@ function MultiStepForm({ schema, context, currentStep, setCurrentStep, customCom
|
|
|
240
250
|
]
|
|
241
251
|
});
|
|
242
252
|
}
|
|
253
|
+
function TabbedStepForm({ schema, context, customComponents, disabled, onReset }) {
|
|
254
|
+
const steps = schema.steps || [];
|
|
255
|
+
const visibleSteps = steps.filter((step)=>step.sections.length > 0 && (!step.conditions || context.evaluateConditions(step.conditions)));
|
|
256
|
+
const [activeTab, setActiveTab] = (0, external_react_namespaceObject.useState)('');
|
|
257
|
+
const currentTab = visibleSteps.some((step)=>step.id === activeTab) ? activeTab : visibleSteps[0]?.id ?? '';
|
|
258
|
+
(0, external_react_namespaceObject.useEffect)(()=>{
|
|
259
|
+
if (activeTab !== currentTab) setActiveTab(currentTab);
|
|
260
|
+
}, [
|
|
261
|
+
activeTab,
|
|
262
|
+
currentTab
|
|
263
|
+
]);
|
|
264
|
+
if (0 === visibleSteps.length) return null;
|
|
265
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
|
|
266
|
+
children: [
|
|
267
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(tabs_cjs_namespaceObject.Tabs, {
|
|
268
|
+
value: currentTab,
|
|
269
|
+
onValueChange: setActiveTab,
|
|
270
|
+
className: "flex flex-col gap-4",
|
|
271
|
+
children: [
|
|
272
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(tabs_cjs_namespaceObject.TabsList, {
|
|
273
|
+
className: "h-auto justify-start gap-4 overflow-x-auto rounded-none border-b border-border bg-transparent py-0 text-muted-foreground [-ms-overflow-style:none] [margin-inline:calc(var(--mf-content-inset,0px)*-1)] [padding-inline:var(--mf-content-inset,0px)] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
274
|
+
children: visibleSteps.map((step)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(tabs_cjs_namespaceObject.TabsTrigger, {
|
|
275
|
+
value: step.id,
|
|
276
|
+
className: "-mb-px shrink-0 whitespace-nowrap rounded-none border-b-2 border-transparent bg-transparent px-1 pb-2 pt-1 font-medium text-muted-foreground shadow-none transition-colors hover:text-foreground data-[state=active]:border-primary data-[state=active]:bg-transparent data-[state=active]:text-foreground data-[state=active]:shadow-none",
|
|
277
|
+
children: step.title
|
|
278
|
+
}, step.id))
|
|
279
|
+
}),
|
|
280
|
+
visibleSteps.map((step)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(tabs_cjs_namespaceObject.TabsContent, {
|
|
281
|
+
value: step.id,
|
|
282
|
+
className: "space-y-2",
|
|
283
|
+
children: step.sections.filter((section)=>!section.conditions || context.evaluateConditions(section.conditions)).map((section)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(FormSection, {
|
|
284
|
+
section: section,
|
|
285
|
+
context: context,
|
|
286
|
+
customComponents: customComponents,
|
|
287
|
+
disabled: disabled
|
|
288
|
+
}, section.id))
|
|
289
|
+
}, step.id))
|
|
290
|
+
]
|
|
291
|
+
}),
|
|
292
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(FormActions, {
|
|
293
|
+
schema: schema,
|
|
294
|
+
context: context,
|
|
295
|
+
onReset: onReset
|
|
296
|
+
})
|
|
297
|
+
]
|
|
298
|
+
});
|
|
299
|
+
}
|
|
243
300
|
function FormSection({ section, context, customComponents, disabled }) {
|
|
244
301
|
const gridColumns = context.schema.layout?.columns || 1;
|
|
245
302
|
const gap = context.schema.layout?.gap || 4;
|
|
@@ -11,6 +11,13 @@ interface MetadataFormProps {
|
|
|
11
11
|
disabled?: boolean;
|
|
12
12
|
/** Disable browser autocomplete suggestions. Defaults to undefined (browser default). */
|
|
13
13
|
autoComplete?: 'off' | 'on';
|
|
14
|
+
/**
|
|
15
|
+
* Presentation for multi-step schemas. `'wizard'` (default) shows Previous/Next
|
|
16
|
+
* navigation with a Submit button on the final step. `'tabs'` renders the steps
|
|
17
|
+
* as a tab bar over a single form instance, so values and validation are shared
|
|
18
|
+
* across every step. Ignored for single-page (`sections`) schemas.
|
|
19
|
+
*/
|
|
20
|
+
stepVariant?: 'wizard' | 'tabs';
|
|
14
21
|
}
|
|
15
|
-
export declare function MetadataForm({ schema, plugins, onSubmit, className, disabled, autoComplete, }: MetadataFormProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare function MetadataForm({ schema, plugins, onSubmit, className, disabled, autoComplete, stepVariant, }: MetadataFormProps): import("react/jsx-runtime").JSX.Element;
|
|
16
23
|
export {};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
1
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
|
|
2
3
|
import { useEffect, useMemo, useRef, useState } from "react";
|
|
3
4
|
import { FormProvider, useForm } from "react-hook-form";
|
|
4
5
|
import { z } from "zod/v4";
|
|
5
6
|
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "../ui/accordion.js";
|
|
6
7
|
import { Button } from "../ui/button.js";
|
|
7
|
-
import {
|
|
8
|
+
import { Tabs, TabsContent, TabsList, TabsTrigger } from "../ui/tabs.js";
|
|
8
9
|
import { DataFetcher } from "./data-fetcher.js";
|
|
9
10
|
import { FormFieldRenderer } from "./field-renderer.js";
|
|
10
11
|
import { RulesEngine } from "./rules-engine.js";
|
|
11
12
|
import { validationConfigToZod } from "./validation-converter.js";
|
|
12
13
|
const DEFAULT_PLUGINS = [];
|
|
13
|
-
function MetadataForm({ schema, plugins = DEFAULT_PLUGINS, onSubmit, className, disabled = false, autoComplete }) {
|
|
14
|
+
function MetadataForm({ schema, plugins = DEFAULT_PLUGINS, onSubmit, className, disabled = false, autoComplete, stepVariant = 'wizard' }) {
|
|
14
15
|
const [currentStep, setCurrentStep] = useState(0);
|
|
15
16
|
const [customComponents, setCustomComponents] = useState({});
|
|
16
17
|
const [isInitialized, setIsInitialized] = useState(false);
|
|
@@ -96,14 +97,23 @@ function MetadataForm({ schema, plugins = DEFAULT_PLUGINS, onSubmit, className,
|
|
|
96
97
|
if (onSubmit) await onSubmit(finalData);
|
|
97
98
|
});
|
|
98
99
|
const renderContent = ()=>{
|
|
99
|
-
if (schema.steps)
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
100
|
+
if (schema.steps) {
|
|
101
|
+
if ('tabs' === stepVariant) return /*#__PURE__*/ jsx(TabbedStepForm, {
|
|
102
|
+
schema: schema,
|
|
103
|
+
context: context,
|
|
104
|
+
customComponents: customComponents,
|
|
105
|
+
disabled: disabled,
|
|
106
|
+
onReset: ()=>reset()
|
|
107
|
+
});
|
|
108
|
+
return /*#__PURE__*/ jsx(MultiStepForm, {
|
|
109
|
+
schema: schema,
|
|
110
|
+
context: context,
|
|
111
|
+
currentStep: currentStep,
|
|
112
|
+
setCurrentStep: setCurrentStep,
|
|
113
|
+
customComponents: customComponents,
|
|
114
|
+
disabled: disabled
|
|
115
|
+
});
|
|
116
|
+
}
|
|
107
117
|
return /*#__PURE__*/ jsx(SinglePageForm, {
|
|
108
118
|
schema: schema,
|
|
109
119
|
context: context,
|
|
@@ -212,6 +222,53 @@ function MultiStepForm({ schema, context, currentStep, setCurrentStep, customCom
|
|
|
212
222
|
]
|
|
213
223
|
});
|
|
214
224
|
}
|
|
225
|
+
function TabbedStepForm({ schema, context, customComponents, disabled, onReset }) {
|
|
226
|
+
const steps = schema.steps || [];
|
|
227
|
+
const visibleSteps = steps.filter((step)=>step.sections.length > 0 && (!step.conditions || context.evaluateConditions(step.conditions)));
|
|
228
|
+
const [activeTab, setActiveTab] = useState('');
|
|
229
|
+
const currentTab = visibleSteps.some((step)=>step.id === activeTab) ? activeTab : visibleSteps[0]?.id ?? '';
|
|
230
|
+
useEffect(()=>{
|
|
231
|
+
if (activeTab !== currentTab) setActiveTab(currentTab);
|
|
232
|
+
}, [
|
|
233
|
+
activeTab,
|
|
234
|
+
currentTab
|
|
235
|
+
]);
|
|
236
|
+
if (0 === visibleSteps.length) return null;
|
|
237
|
+
return /*#__PURE__*/ jsxs(Fragment, {
|
|
238
|
+
children: [
|
|
239
|
+
/*#__PURE__*/ jsxs(Tabs, {
|
|
240
|
+
value: currentTab,
|
|
241
|
+
onValueChange: setActiveTab,
|
|
242
|
+
className: "flex flex-col gap-4",
|
|
243
|
+
children: [
|
|
244
|
+
/*#__PURE__*/ jsx(TabsList, {
|
|
245
|
+
className: "h-auto justify-start gap-4 overflow-x-auto rounded-none border-b border-border bg-transparent py-0 text-muted-foreground [-ms-overflow-style:none] [margin-inline:calc(var(--mf-content-inset,0px)*-1)] [padding-inline:var(--mf-content-inset,0px)] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
246
|
+
children: visibleSteps.map((step)=>/*#__PURE__*/ jsx(TabsTrigger, {
|
|
247
|
+
value: step.id,
|
|
248
|
+
className: "-mb-px shrink-0 whitespace-nowrap rounded-none border-b-2 border-transparent bg-transparent px-1 pb-2 pt-1 font-medium text-muted-foreground shadow-none transition-colors hover:text-foreground data-[state=active]:border-primary data-[state=active]:bg-transparent data-[state=active]:text-foreground data-[state=active]:shadow-none",
|
|
249
|
+
children: step.title
|
|
250
|
+
}, step.id))
|
|
251
|
+
}),
|
|
252
|
+
visibleSteps.map((step)=>/*#__PURE__*/ jsx(TabsContent, {
|
|
253
|
+
value: step.id,
|
|
254
|
+
className: "space-y-2",
|
|
255
|
+
children: step.sections.filter((section)=>!section.conditions || context.evaluateConditions(section.conditions)).map((section)=>/*#__PURE__*/ jsx(FormSection, {
|
|
256
|
+
section: section,
|
|
257
|
+
context: context,
|
|
258
|
+
customComponents: customComponents,
|
|
259
|
+
disabled: disabled
|
|
260
|
+
}, section.id))
|
|
261
|
+
}, step.id))
|
|
262
|
+
]
|
|
263
|
+
}),
|
|
264
|
+
/*#__PURE__*/ jsx(FormActions, {
|
|
265
|
+
schema: schema,
|
|
266
|
+
context: context,
|
|
267
|
+
onReset: onReset
|
|
268
|
+
})
|
|
269
|
+
]
|
|
270
|
+
});
|
|
271
|
+
}
|
|
215
272
|
function FormSection({ section, context, customComponents, disabled }) {
|
|
216
273
|
const gridColumns = context.schema.layout?.columns || 1;
|
|
217
274
|
const gap = context.schema.layout?.gap || 4;
|
|
@@ -27,16 +27,16 @@ var __webpack_modules__ = {
|
|
|
27
27
|
"@/components/ui/button" (module) {
|
|
28
28
|
module.exports = require("./button.cjs");
|
|
29
29
|
},
|
|
30
|
-
"
|
|
30
|
+
"./calendar" (module) {
|
|
31
31
|
module.exports = require("./calendar.cjs");
|
|
32
32
|
},
|
|
33
33
|
"@/components/ui/card" (module) {
|
|
34
34
|
module.exports = require("./card.cjs");
|
|
35
35
|
},
|
|
36
|
-
"
|
|
36
|
+
"./checkbox" (module) {
|
|
37
37
|
module.exports = require("./checkbox.cjs");
|
|
38
38
|
},
|
|
39
|
-
"
|
|
39
|
+
"./collapsible" (module) {
|
|
40
40
|
module.exports = require("./collapsible.cjs");
|
|
41
41
|
},
|
|
42
42
|
"./combobox" (module) {
|
|
@@ -45,7 +45,7 @@ var __webpack_modules__ = {
|
|
|
45
45
|
"@/components/ui/command" (module) {
|
|
46
46
|
module.exports = require("./command.cjs");
|
|
47
47
|
},
|
|
48
|
-
"
|
|
48
|
+
"./context-menu" (module) {
|
|
49
49
|
module.exports = require("./context-menu.cjs");
|
|
50
50
|
},
|
|
51
51
|
"./data-table" (module) {
|
|
@@ -57,10 +57,10 @@ var __webpack_modules__ = {
|
|
|
57
57
|
"./datetime-picker" (module) {
|
|
58
58
|
module.exports = require("./datetime-picker.cjs");
|
|
59
59
|
},
|
|
60
|
-
"
|
|
60
|
+
"./dialog" (module) {
|
|
61
61
|
module.exports = require("./dialog.cjs");
|
|
62
62
|
},
|
|
63
|
-
"
|
|
63
|
+
"./dropdown-menu" (module) {
|
|
64
64
|
module.exports = require("./dropdown-menu.cjs");
|
|
65
65
|
},
|
|
66
66
|
"@/components/ui/editable-cell" (module) {
|
|
@@ -72,13 +72,13 @@ var __webpack_modules__ = {
|
|
|
72
72
|
"./file-upload" (module) {
|
|
73
73
|
module.exports = require("./file-upload.cjs");
|
|
74
74
|
},
|
|
75
|
-
"
|
|
75
|
+
"./hover-card" (module) {
|
|
76
76
|
module.exports = require("./hover-card.cjs");
|
|
77
77
|
},
|
|
78
78
|
"@/components/ui/input" (module) {
|
|
79
79
|
module.exports = require("./input.cjs");
|
|
80
80
|
},
|
|
81
|
-
"
|
|
81
|
+
"./label" (module) {
|
|
82
82
|
module.exports = require("./label.cjs");
|
|
83
83
|
},
|
|
84
84
|
"./layout" (module) {
|
|
@@ -138,7 +138,7 @@ var __webpack_modules__ = {
|
|
|
138
138
|
"./switch" (module) {
|
|
139
139
|
module.exports = require("./switch.cjs");
|
|
140
140
|
},
|
|
141
|
-
"
|
|
141
|
+
"./table" (module) {
|
|
142
142
|
module.exports = require("./table.cjs");
|
|
143
143
|
},
|
|
144
144
|
"./tabs" (module) {
|
|
@@ -269,7 +269,7 @@ var __webpack_exports__ = {};
|
|
|
269
269
|
"default"
|
|
270
270
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_button_group__rspack_import_8[__rspack_import_key];
|
|
271
271
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
272
|
-
var _calendar__rspack_import_9 = __webpack_require__("
|
|
272
|
+
var _calendar__rspack_import_9 = __webpack_require__("./calendar");
|
|
273
273
|
var __rspack_reexport = {};
|
|
274
274
|
for(const __rspack_import_key in _calendar__rspack_import_9)if ([
|
|
275
275
|
"TreeView",
|
|
@@ -283,14 +283,14 @@ var __webpack_exports__ = {};
|
|
|
283
283
|
"default"
|
|
284
284
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_card__rspack_import_10[__rspack_import_key];
|
|
285
285
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
286
|
-
var _checkbox__rspack_import_11 = __webpack_require__("
|
|
286
|
+
var _checkbox__rspack_import_11 = __webpack_require__("./checkbox");
|
|
287
287
|
var __rspack_reexport = {};
|
|
288
288
|
for(const __rspack_import_key in _checkbox__rspack_import_11)if ([
|
|
289
289
|
"TreeView",
|
|
290
290
|
"default"
|
|
291
291
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_checkbox__rspack_import_11[__rspack_import_key];
|
|
292
292
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
293
|
-
var _collapsible__rspack_import_12 = __webpack_require__("
|
|
293
|
+
var _collapsible__rspack_import_12 = __webpack_require__("./collapsible");
|
|
294
294
|
var __rspack_reexport = {};
|
|
295
295
|
for(const __rspack_import_key in _collapsible__rspack_import_12)if ([
|
|
296
296
|
"TreeView",
|
|
@@ -311,7 +311,7 @@ var __webpack_exports__ = {};
|
|
|
311
311
|
"default"
|
|
312
312
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_command__rspack_import_14[__rspack_import_key];
|
|
313
313
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
314
|
-
var _context_menu__rspack_import_15 = __webpack_require__("
|
|
314
|
+
var _context_menu__rspack_import_15 = __webpack_require__("./context-menu");
|
|
315
315
|
var __rspack_reexport = {};
|
|
316
316
|
for(const __rspack_import_key in _context_menu__rspack_import_15)if ([
|
|
317
317
|
"TreeView",
|
|
@@ -339,14 +339,14 @@ var __webpack_exports__ = {};
|
|
|
339
339
|
"default"
|
|
340
340
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_datetime_picker__rspack_import_18[__rspack_import_key];
|
|
341
341
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
342
|
-
var _dialog__rspack_import_19 = __webpack_require__("
|
|
342
|
+
var _dialog__rspack_import_19 = __webpack_require__("./dialog");
|
|
343
343
|
var __rspack_reexport = {};
|
|
344
344
|
for(const __rspack_import_key in _dialog__rspack_import_19)if ([
|
|
345
345
|
"TreeView",
|
|
346
346
|
"default"
|
|
347
347
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_dialog__rspack_import_19[__rspack_import_key];
|
|
348
348
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
349
|
-
var _dropdown_menu__rspack_import_20 = __webpack_require__("
|
|
349
|
+
var _dropdown_menu__rspack_import_20 = __webpack_require__("./dropdown-menu");
|
|
350
350
|
var __rspack_reexport = {};
|
|
351
351
|
for(const __rspack_import_key in _dropdown_menu__rspack_import_20)if ([
|
|
352
352
|
"TreeView",
|
|
@@ -374,7 +374,7 @@ var __webpack_exports__ = {};
|
|
|
374
374
|
"default"
|
|
375
375
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_file_upload__rspack_import_23[__rspack_import_key];
|
|
376
376
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
377
|
-
var _hover_card__rspack_import_24 = __webpack_require__("
|
|
377
|
+
var _hover_card__rspack_import_24 = __webpack_require__("./hover-card");
|
|
378
378
|
var __rspack_reexport = {};
|
|
379
379
|
for(const __rspack_import_key in _hover_card__rspack_import_24)if ([
|
|
380
380
|
"TreeView",
|
|
@@ -388,7 +388,7 @@ var __webpack_exports__ = {};
|
|
|
388
388
|
"default"
|
|
389
389
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_input__rspack_import_25[__rspack_import_key];
|
|
390
390
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
391
|
-
var _label__rspack_import_26 = __webpack_require__("
|
|
391
|
+
var _label__rspack_import_26 = __webpack_require__("./label");
|
|
392
392
|
var __rspack_reexport = {};
|
|
393
393
|
for(const __rspack_import_key in _label__rspack_import_26)if ([
|
|
394
394
|
"TreeView",
|
|
@@ -528,7 +528,7 @@ var __webpack_exports__ = {};
|
|
|
528
528
|
"default"
|
|
529
529
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_switch__rspack_import_45[__rspack_import_key];
|
|
530
530
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
531
|
-
var _table__rspack_import_46 = __webpack_require__("
|
|
531
|
+
var _table__rspack_import_46 = __webpack_require__("./table");
|
|
532
532
|
var __rspack_reexport = {};
|
|
533
533
|
for(const __rspack_import_key in _table__rspack_import_46)if ([
|
|
534
534
|
"TreeView",
|
package/dist/styles.css
CHANGED
|
@@ -761,6 +761,9 @@
|
|
|
761
761
|
.-mx-6 {
|
|
762
762
|
margin-inline: calc(var(--spacing) * -6);
|
|
763
763
|
}
|
|
764
|
+
.\[margin-inline\:calc\(var\(--mf-content-inset\,0px\)\*-1\)\] {
|
|
765
|
+
margin-inline: calc(var(--mf-content-inset,0px) * -1);
|
|
766
|
+
}
|
|
764
767
|
.mx-0\.5 {
|
|
765
768
|
margin-inline: calc(var(--spacing) * 0.5);
|
|
766
769
|
}
|
|
@@ -842,6 +845,9 @@
|
|
|
842
845
|
.mr-auto {
|
|
843
846
|
margin-right: auto;
|
|
844
847
|
}
|
|
848
|
+
.-mb-px {
|
|
849
|
+
margin-bottom: -1px;
|
|
850
|
+
}
|
|
845
851
|
.mb-0\.5 {
|
|
846
852
|
margin-bottom: calc(var(--spacing) * 0.5);
|
|
847
853
|
}
|
|
@@ -3374,6 +3380,9 @@
|
|
|
3374
3380
|
.p-px {
|
|
3375
3381
|
padding: 1px;
|
|
3376
3382
|
}
|
|
3383
|
+
.\[padding-inline\:var\(--mf-content-inset\,0px\)\] {
|
|
3384
|
+
padding-inline: var(--mf-content-inset,0px);
|
|
3385
|
+
}
|
|
3377
3386
|
.px-0 {
|
|
3378
3387
|
padding-inline: calc(var(--spacing) * 0);
|
|
3379
3388
|
}
|
|
@@ -4209,6 +4218,12 @@
|
|
|
4209
4218
|
.\[--cell-size\:2\.75rem\] {
|
|
4210
4219
|
--cell-size: 2.75rem;
|
|
4211
4220
|
}
|
|
4221
|
+
.\[-ms-overflow-style\:none\] {
|
|
4222
|
+
-ms-overflow-style: none;
|
|
4223
|
+
}
|
|
4224
|
+
.\[scrollbar-width\:none\] {
|
|
4225
|
+
scrollbar-width: none;
|
|
4226
|
+
}
|
|
4212
4227
|
.group-open\:rotate-90 {
|
|
4213
4228
|
&:is(:where(.group):is([open], :popover-open, :open) *) {
|
|
4214
4229
|
rotate: 90deg;
|
|
@@ -5517,6 +5532,11 @@
|
|
|
5517
5532
|
}
|
|
5518
5533
|
}
|
|
5519
5534
|
}
|
|
5535
|
+
.data-\[state\=active\]\:border-primary {
|
|
5536
|
+
&[data-state="active"] {
|
|
5537
|
+
border-color: var(--primary);
|
|
5538
|
+
}
|
|
5539
|
+
}
|
|
5520
5540
|
.data-\[state\=active\]\:border-b-primary {
|
|
5521
5541
|
&[data-state="active"] {
|
|
5522
5542
|
border-bottom-color: var(--primary);
|
|
@@ -5527,6 +5547,11 @@
|
|
|
5527
5547
|
background-color: var(--background);
|
|
5528
5548
|
}
|
|
5529
5549
|
}
|
|
5550
|
+
.data-\[state\=active\]\:bg-transparent {
|
|
5551
|
+
&[data-state="active"] {
|
|
5552
|
+
background-color: transparent;
|
|
5553
|
+
}
|
|
5554
|
+
}
|
|
5530
5555
|
.data-\[state\=active\]\:text-foreground {
|
|
5531
5556
|
&[data-state="active"] {
|
|
5532
5557
|
color: var(--foreground);
|
|
@@ -6372,6 +6397,11 @@
|
|
|
6372
6397
|
border-width: 0px;
|
|
6373
6398
|
}
|
|
6374
6399
|
}
|
|
6400
|
+
.\[\&\:\:-webkit-scrollbar\]\:hidden {
|
|
6401
|
+
&::-webkit-scrollbar {
|
|
6402
|
+
display: none;
|
|
6403
|
+
}
|
|
6404
|
+
}
|
|
6375
6405
|
.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0 {
|
|
6376
6406
|
&:has([role=checkbox]) {
|
|
6377
6407
|
padding-right: calc(var(--spacing) * 0);
|