@uipath/apollo-wind 0.9.0 → 0.10.0-pr257.2a4b17b
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/components/forms/field-renderer.cjs +120 -69
- package/dist/components/forms/field-renderer.js +120 -69
- package/dist/components/forms/form-designer.cjs +2352 -1488
- package/dist/components/forms/form-designer.js +2353 -1489
- package/dist/components/forms/form-examples.cjs +10 -10
- package/dist/components/forms/form-examples.js +10 -10
- package/dist/components/forms/form-state-viewer.cjs +988 -433
- package/dist/components/forms/form-state-viewer.js +988 -433
- package/dist/components/forms/metadata-form.cjs +446 -170
- package/dist/components/forms/metadata-form.js +446 -170
- package/dist/components/forms/schema-viewer.cjs +173 -80
- package/dist/components/forms/schema-viewer.js +173 -80
- package/dist/components/ui/accordion.cjs +131 -27
- package/dist/components/ui/accordion.js +131 -27
- package/dist/components/ui/alert-dialog.cjs +273 -45
- package/dist/components/ui/alert-dialog.js +273 -45
- package/dist/components/ui/alert.cjs +106 -17
- package/dist/components/ui/alert.js +106 -17
- package/dist/components/ui/avatar.cjs +100 -15
- package/dist/components/ui/avatar.js +100 -15
- package/dist/components/ui/badge.cjs +36 -6
- package/dist/components/ui/badge.js +36 -6
- package/dist/components/ui/breadcrumb.cjs +258 -52
- package/dist/components/ui/breadcrumb.js +258 -52
- package/dist/components/ui/button-group.cjs +119 -19
- package/dist/components/ui/button-group.js +119 -19
- package/dist/components/ui/button.cjs +48 -8
- package/dist/components/ui/button.js +48 -8
- package/dist/components/ui/calendar.cjs +88 -30
- package/dist/components/ui/calendar.js +88 -30
- package/dist/components/ui/card.cjs +199 -30
- package/dist/components/ui/card.js +199 -30
- package/dist/components/ui/checkbox.cjs +42 -8
- package/dist/components/ui/checkbox.js +42 -8
- package/dist/components/ui/combobox.cjs +150 -53
- package/dist/components/ui/combobox.js +150 -53
- package/dist/components/ui/command.cjs +291 -53
- package/dist/components/ui/command.js +291 -53
- package/dist/components/ui/context-menu.cjs +370 -72
- package/dist/components/ui/context-menu.js +370 -72
- package/dist/components/ui/data-table.cjs +76 -39
- package/dist/components/ui/data-table.js +76 -39
- package/dist/components/ui/date-picker.cjs +179 -68
- package/dist/components/ui/date-picker.js +179 -68
- package/dist/components/ui/datetime-picker.cjs +225 -104
- package/dist/components/ui/datetime-picker.js +225 -104
- package/dist/components/ui/dialog.cjs +290 -78
- package/dist/components/ui/dialog.js +290 -78
- package/dist/components/ui/drawer.cjs +220 -39
- package/dist/components/ui/drawer.js +220 -39
- package/dist/components/ui/dropdown-menu.cjs +376 -73
- package/dist/components/ui/dropdown-menu.js +376 -73
- package/dist/components/ui/editable-cell.cjs +106 -42
- package/dist/components/ui/editable-cell.js +106 -42
- package/dist/components/ui/empty-state.cjs +106 -33
- package/dist/components/ui/empty-state.js +106 -33
- package/dist/components/ui/file-upload.cjs +405 -187
- package/dist/components/ui/file-upload.d.ts +3 -1
- package/dist/components/ui/file-upload.js +405 -187
- package/dist/components/ui/hover-card.cjs +46 -7
- package/dist/components/ui/hover-card.js +46 -7
- package/dist/components/ui/index.cjs +4 -4
- package/dist/components/ui/input.cjs +39 -6
- package/dist/components/ui/input.js +39 -6
- package/dist/components/ui/label.cjs +34 -5
- package/dist/components/ui/label.js +34 -5
- package/dist/components/ui/layout/column.cjs +209 -41
- package/dist/components/ui/layout/column.js +209 -41
- package/dist/components/ui/layout/grid.cjs +275 -60
- package/dist/components/ui/layout/grid.js +275 -60
- package/dist/components/ui/layout/row.cjs +209 -41
- package/dist/components/ui/layout/row.js +209 -41
- package/dist/components/ui/menubar.cjs +540 -106
- package/dist/components/ui/menubar.js +540 -106
- package/dist/components/ui/multi-select.cjs +289 -135
- package/dist/components/ui/multi-select.js +289 -135
- package/dist/components/ui/navigation-menu.cjs +244 -47
- package/dist/components/ui/navigation-menu.js +244 -47
- package/dist/components/ui/pagination.cjs +301 -65
- package/dist/components/ui/pagination.js +301 -65
- package/dist/components/ui/popover.cjs +48 -9
- package/dist/components/ui/popover.js +48 -9
- package/dist/components/ui/progress.cjs +48 -8
- package/dist/components/ui/progress.js +48 -8
- package/dist/components/ui/radio-group.cjs +74 -12
- package/dist/components/ui/radio-group.js +74 -12
- package/dist/components/ui/resizable.cjs +75 -10
- package/dist/components/ui/resizable.js +75 -10
- package/dist/components/ui/scroll-area.cjs +113 -21
- package/dist/components/ui/scroll-area.js +113 -21
- package/dist/components/ui/search.cjs +280 -98
- package/dist/components/ui/search.js +280 -98
- package/dist/components/ui/select.cjs +334 -68
- package/dist/components/ui/select.js +334 -68
- package/dist/components/ui/separator.cjs +48 -7
- package/dist/components/ui/separator.js +48 -7
- package/dist/components/ui/sheet.cjs +236 -50
- package/dist/components/ui/sheet.js +236 -50
- package/dist/components/ui/skeleton.cjs +31 -5
- package/dist/components/ui/skeleton.js +31 -5
- package/dist/components/ui/slider.cjs +71 -21
- package/dist/components/ui/slider.js +71 -21
- package/dist/components/ui/sonner.cjs +43 -15
- package/dist/components/ui/sonner.js +43 -15
- package/dist/components/ui/spinner.cjs +83 -21
- package/dist/components/ui/spinner.js +83 -21
- package/dist/components/ui/stats-card.cjs +169 -60
- package/dist/components/ui/stats-card.js +169 -60
- package/dist/components/ui/stepper.cjs +126 -57
- package/dist/components/ui/stepper.js +126 -57
- package/dist/components/ui/switch.cjs +42 -8
- package/dist/components/ui/switch.js +42 -8
- package/dist/components/ui/table.cjs +267 -42
- package/dist/components/ui/table.js +267 -42
- package/dist/components/ui/tabs.cjs +100 -15
- package/dist/components/ui/tabs.js +100 -15
- package/dist/components/ui/textarea.cjs +34 -5
- package/dist/components/ui/textarea.js +34 -5
- package/dist/components/ui/toggle-group.cjs +112 -19
- package/dist/components/ui/toggle-group.js +112 -19
- package/dist/components/ui/toggle.cjs +43 -6
- package/dist/components/ui/toggle.js +43 -6
- package/dist/components/ui/tooltip.cjs +40 -6
- package/dist/components/ui/tooltip.js +40 -6
- package/dist/examples/admin-layout-example.cjs +879 -347
- package/dist/examples/admin-layout-example.js +879 -347
- package/dist/examples/app-shell-example.cjs +14 -14
- package/dist/examples/app-shell-example.js +14 -14
- package/dist/examples/dashboard-example.cjs +495 -334
- package/dist/examples/dashboard-example.js +495 -334
- package/dist/examples/data-management-example.cjs +501 -303
- package/dist/examples/data-management-example.js +502 -304
- package/dist/examples/flow-editor-layout-example.cjs +435 -231
- package/dist/examples/flow-editor-layout-example.js +436 -232
- package/dist/examples/flow-start-example.cjs +508 -251
- package/dist/examples/flow-start-example.js +509 -252
- package/dist/examples/form-builder-example.cjs +1006 -602
- package/dist/examples/form-builder-example.js +1007 -603
- package/dist/examples/new-project-example.cjs +806 -474
- package/dist/examples/new-project-example.js +807 -475
- package/dist/examples/settings-example.cjs +792 -704
- package/dist/examples/settings-example.js +792 -704
- package/dist/examples/vscode-example.cjs +731 -236
- package/dist/examples/vscode-example.js +731 -236
- package/package.json +4 -1
|
@@ -1,50 +1,218 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
2
3
|
import { forwardRef } from "react";
|
|
3
4
|
import { cn } from "../../../lib/index.js";
|
|
4
5
|
import { buildLayoutStyles } from "./utils.js";
|
|
5
|
-
const Column = /*#__PURE__*/ forwardRef((
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
6
|
+
const Column = /*#__PURE__*/ forwardRef((t0, ref)=>{
|
|
7
|
+
const $ = c(77);
|
|
8
|
+
let align;
|
|
9
|
+
let children;
|
|
10
|
+
let className;
|
|
11
|
+
let flex;
|
|
12
|
+
let gap;
|
|
13
|
+
let h;
|
|
14
|
+
let htmlProps;
|
|
15
|
+
let justify;
|
|
16
|
+
let m;
|
|
17
|
+
let maxH;
|
|
18
|
+
let maxW;
|
|
19
|
+
let mb;
|
|
20
|
+
let minH;
|
|
21
|
+
let minW;
|
|
22
|
+
let ml;
|
|
23
|
+
let mr;
|
|
24
|
+
let mt;
|
|
25
|
+
let mx;
|
|
26
|
+
let my;
|
|
27
|
+
let overflow;
|
|
28
|
+
let overflowX;
|
|
29
|
+
let overflowY;
|
|
30
|
+
let p;
|
|
31
|
+
let pb;
|
|
32
|
+
let pl;
|
|
33
|
+
let position;
|
|
34
|
+
let pr;
|
|
35
|
+
let pt;
|
|
36
|
+
let px;
|
|
37
|
+
let py;
|
|
38
|
+
let style;
|
|
39
|
+
let t1;
|
|
40
|
+
let w;
|
|
41
|
+
let wrap;
|
|
42
|
+
if ($[0] !== t0) {
|
|
43
|
+
({ children, className, style, direction: t1, align, justify, wrap, gap, flex, w, h, maxW, minW, maxH, minH, overflow, overflowX, overflowY, position, p, pt, pb, pl, pr, px, py, m, mt, mb, ml, mr, mx, my, ...htmlProps } = t0);
|
|
44
|
+
$[0] = t0;
|
|
45
|
+
$[1] = align;
|
|
46
|
+
$[2] = children;
|
|
47
|
+
$[3] = className;
|
|
48
|
+
$[4] = flex;
|
|
49
|
+
$[5] = gap;
|
|
50
|
+
$[6] = h;
|
|
51
|
+
$[7] = htmlProps;
|
|
52
|
+
$[8] = justify;
|
|
53
|
+
$[9] = m;
|
|
54
|
+
$[10] = maxH;
|
|
55
|
+
$[11] = maxW;
|
|
56
|
+
$[12] = mb;
|
|
57
|
+
$[13] = minH;
|
|
58
|
+
$[14] = minW;
|
|
59
|
+
$[15] = ml;
|
|
60
|
+
$[16] = mr;
|
|
61
|
+
$[17] = mt;
|
|
62
|
+
$[18] = mx;
|
|
63
|
+
$[19] = my;
|
|
64
|
+
$[20] = overflow;
|
|
65
|
+
$[21] = overflowX;
|
|
66
|
+
$[22] = overflowY;
|
|
67
|
+
$[23] = p;
|
|
68
|
+
$[24] = pb;
|
|
69
|
+
$[25] = pl;
|
|
70
|
+
$[26] = position;
|
|
71
|
+
$[27] = pr;
|
|
72
|
+
$[28] = pt;
|
|
73
|
+
$[29] = px;
|
|
74
|
+
$[30] = py;
|
|
75
|
+
$[31] = style;
|
|
76
|
+
$[32] = t1;
|
|
77
|
+
$[33] = w;
|
|
78
|
+
$[34] = wrap;
|
|
79
|
+
} else {
|
|
80
|
+
align = $[1];
|
|
81
|
+
children = $[2];
|
|
82
|
+
className = $[3];
|
|
83
|
+
flex = $[4];
|
|
84
|
+
gap = $[5];
|
|
85
|
+
h = $[6];
|
|
86
|
+
htmlProps = $[7];
|
|
87
|
+
justify = $[8];
|
|
88
|
+
m = $[9];
|
|
89
|
+
maxH = $[10];
|
|
90
|
+
maxW = $[11];
|
|
91
|
+
mb = $[12];
|
|
92
|
+
minH = $[13];
|
|
93
|
+
minW = $[14];
|
|
94
|
+
ml = $[15];
|
|
95
|
+
mr = $[16];
|
|
96
|
+
mt = $[17];
|
|
97
|
+
mx = $[18];
|
|
98
|
+
my = $[19];
|
|
99
|
+
overflow = $[20];
|
|
100
|
+
overflowX = $[21];
|
|
101
|
+
overflowY = $[22];
|
|
102
|
+
p = $[23];
|
|
103
|
+
pb = $[24];
|
|
104
|
+
pl = $[25];
|
|
105
|
+
position = $[26];
|
|
106
|
+
pr = $[27];
|
|
107
|
+
pt = $[28];
|
|
108
|
+
px = $[29];
|
|
109
|
+
py = $[30];
|
|
110
|
+
style = $[31];
|
|
111
|
+
t1 = $[32];
|
|
112
|
+
w = $[33];
|
|
113
|
+
wrap = $[34];
|
|
114
|
+
}
|
|
115
|
+
const direction = void 0 === t1 ? "column" : t1;
|
|
116
|
+
let t2;
|
|
117
|
+
if ($[35] !== align || $[36] !== direction || $[37] !== flex || $[38] !== gap || $[39] !== h || $[40] !== justify || $[41] !== m || $[42] !== maxH || $[43] !== maxW || $[44] !== mb || $[45] !== minH || $[46] !== minW || $[47] !== ml || $[48] !== mr || $[49] !== mt || $[50] !== mx || $[51] !== my || $[52] !== overflow || $[53] !== overflowX || $[54] !== overflowY || $[55] !== p || $[56] !== pb || $[57] !== pl || $[58] !== position || $[59] !== pr || $[60] !== pt || $[61] !== px || $[62] !== py || $[63] !== w || $[64] !== wrap) {
|
|
118
|
+
t2 = buildLayoutStyles({
|
|
119
|
+
direction,
|
|
120
|
+
align,
|
|
121
|
+
justify,
|
|
122
|
+
wrap,
|
|
123
|
+
gap,
|
|
124
|
+
flex,
|
|
125
|
+
w,
|
|
126
|
+
h,
|
|
127
|
+
maxW,
|
|
128
|
+
minW,
|
|
129
|
+
maxH,
|
|
130
|
+
minH,
|
|
131
|
+
overflow,
|
|
132
|
+
overflowX,
|
|
133
|
+
overflowY,
|
|
134
|
+
position,
|
|
135
|
+
p,
|
|
136
|
+
pt,
|
|
137
|
+
pb,
|
|
138
|
+
pl,
|
|
139
|
+
pr,
|
|
140
|
+
px,
|
|
141
|
+
py,
|
|
142
|
+
m,
|
|
143
|
+
mt,
|
|
144
|
+
mb,
|
|
145
|
+
ml,
|
|
146
|
+
mr,
|
|
147
|
+
mx,
|
|
148
|
+
my
|
|
149
|
+
});
|
|
150
|
+
$[35] = align;
|
|
151
|
+
$[36] = direction;
|
|
152
|
+
$[37] = flex;
|
|
153
|
+
$[38] = gap;
|
|
154
|
+
$[39] = h;
|
|
155
|
+
$[40] = justify;
|
|
156
|
+
$[41] = m;
|
|
157
|
+
$[42] = maxH;
|
|
158
|
+
$[43] = maxW;
|
|
159
|
+
$[44] = mb;
|
|
160
|
+
$[45] = minH;
|
|
161
|
+
$[46] = minW;
|
|
162
|
+
$[47] = ml;
|
|
163
|
+
$[48] = mr;
|
|
164
|
+
$[49] = mt;
|
|
165
|
+
$[50] = mx;
|
|
166
|
+
$[51] = my;
|
|
167
|
+
$[52] = overflow;
|
|
168
|
+
$[53] = overflowX;
|
|
169
|
+
$[54] = overflowY;
|
|
170
|
+
$[55] = p;
|
|
171
|
+
$[56] = pb;
|
|
172
|
+
$[57] = pl;
|
|
173
|
+
$[58] = position;
|
|
174
|
+
$[59] = pr;
|
|
175
|
+
$[60] = pt;
|
|
176
|
+
$[61] = px;
|
|
177
|
+
$[62] = py;
|
|
178
|
+
$[63] = w;
|
|
179
|
+
$[64] = wrap;
|
|
180
|
+
$[65] = t2;
|
|
181
|
+
} else t2 = $[65];
|
|
182
|
+
const layoutStyles = t2;
|
|
183
|
+
let t3;
|
|
184
|
+
if ($[66] !== className) {
|
|
185
|
+
t3 = cn(className);
|
|
186
|
+
$[66] = className;
|
|
187
|
+
$[67] = t3;
|
|
188
|
+
} else t3 = $[67];
|
|
189
|
+
let t4;
|
|
190
|
+
if ($[68] !== layoutStyles || $[69] !== style) {
|
|
191
|
+
t4 = {
|
|
42
192
|
...layoutStyles,
|
|
43
193
|
...style
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
194
|
+
};
|
|
195
|
+
$[68] = layoutStyles;
|
|
196
|
+
$[69] = style;
|
|
197
|
+
$[70] = t4;
|
|
198
|
+
} else t4 = $[70];
|
|
199
|
+
let t5;
|
|
200
|
+
if ($[71] !== children || $[72] !== htmlProps || $[73] !== ref || $[74] !== t3 || $[75] !== t4) {
|
|
201
|
+
t5 = /*#__PURE__*/ jsx("div", {
|
|
202
|
+
ref: ref,
|
|
203
|
+
className: t3,
|
|
204
|
+
style: t4,
|
|
205
|
+
...htmlProps,
|
|
206
|
+
children: children
|
|
207
|
+
});
|
|
208
|
+
$[71] = children;
|
|
209
|
+
$[72] = htmlProps;
|
|
210
|
+
$[73] = ref;
|
|
211
|
+
$[74] = t3;
|
|
212
|
+
$[75] = t4;
|
|
213
|
+
$[76] = t5;
|
|
214
|
+
} else t5 = $[76];
|
|
215
|
+
return t5;
|
|
48
216
|
});
|
|
49
217
|
Column.displayName = 'Column';
|
|
50
218
|
export { Column };
|
|
@@ -27,69 +27,284 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
27
27
|
Grid: ()=>Grid
|
|
28
28
|
});
|
|
29
29
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
+
const compiler_runtime_namespaceObject = require("react/compiler-runtime");
|
|
30
31
|
const external_react_namespaceObject = require("react");
|
|
31
32
|
const index_cjs_namespaceObject = require("../../../lib/index.cjs");
|
|
32
33
|
const external_utils_cjs_namespaceObject = require("./utils.cjs");
|
|
33
|
-
const Grid = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
34
|
-
const
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
34
|
+
const Grid = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
35
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(98);
|
|
36
|
+
let autoCols;
|
|
37
|
+
let autoFlow;
|
|
38
|
+
let autoRows;
|
|
39
|
+
let children;
|
|
40
|
+
let className;
|
|
41
|
+
let cols;
|
|
42
|
+
let gap;
|
|
43
|
+
let gapX;
|
|
44
|
+
let gapY;
|
|
45
|
+
let h;
|
|
46
|
+
let htmlProps;
|
|
47
|
+
let m;
|
|
48
|
+
let maxH;
|
|
49
|
+
let maxW;
|
|
50
|
+
let mb;
|
|
51
|
+
let minH;
|
|
52
|
+
let minW;
|
|
53
|
+
let ml;
|
|
54
|
+
let mr;
|
|
55
|
+
let mt;
|
|
56
|
+
let mx;
|
|
57
|
+
let my;
|
|
58
|
+
let overflow;
|
|
59
|
+
let overflowX;
|
|
60
|
+
let overflowY;
|
|
61
|
+
let p;
|
|
62
|
+
let pb;
|
|
63
|
+
let pl;
|
|
64
|
+
let position;
|
|
65
|
+
let pr;
|
|
66
|
+
let pt;
|
|
67
|
+
let px;
|
|
68
|
+
let py;
|
|
69
|
+
let rows;
|
|
70
|
+
let style;
|
|
71
|
+
let w;
|
|
72
|
+
if ($[0] !== t0) {
|
|
73
|
+
({ children, className, style, cols, rows, gap, gapX, gapY, autoFlow, autoCols, autoRows, w, h, maxW, minW, maxH, minH, overflow, overflowX, overflowY, position, p, pt, pb, pl, pr, px, py, m, mt, mb, ml, mr, mx, my, ...htmlProps } = t0);
|
|
74
|
+
$[0] = t0;
|
|
75
|
+
$[1] = autoCols;
|
|
76
|
+
$[2] = autoFlow;
|
|
77
|
+
$[3] = autoRows;
|
|
78
|
+
$[4] = children;
|
|
79
|
+
$[5] = className;
|
|
80
|
+
$[6] = cols;
|
|
81
|
+
$[7] = gap;
|
|
82
|
+
$[8] = gapX;
|
|
83
|
+
$[9] = gapY;
|
|
84
|
+
$[10] = h;
|
|
85
|
+
$[11] = htmlProps;
|
|
86
|
+
$[12] = m;
|
|
87
|
+
$[13] = maxH;
|
|
88
|
+
$[14] = maxW;
|
|
89
|
+
$[15] = mb;
|
|
90
|
+
$[16] = minH;
|
|
91
|
+
$[17] = minW;
|
|
92
|
+
$[18] = ml;
|
|
93
|
+
$[19] = mr;
|
|
94
|
+
$[20] = mt;
|
|
95
|
+
$[21] = mx;
|
|
96
|
+
$[22] = my;
|
|
97
|
+
$[23] = overflow;
|
|
98
|
+
$[24] = overflowX;
|
|
99
|
+
$[25] = overflowY;
|
|
100
|
+
$[26] = p;
|
|
101
|
+
$[27] = pb;
|
|
102
|
+
$[28] = pl;
|
|
103
|
+
$[29] = position;
|
|
104
|
+
$[30] = pr;
|
|
105
|
+
$[31] = pt;
|
|
106
|
+
$[32] = px;
|
|
107
|
+
$[33] = py;
|
|
108
|
+
$[34] = rows;
|
|
109
|
+
$[35] = style;
|
|
110
|
+
$[36] = w;
|
|
111
|
+
} else {
|
|
112
|
+
autoCols = $[1];
|
|
113
|
+
autoFlow = $[2];
|
|
114
|
+
autoRows = $[3];
|
|
115
|
+
children = $[4];
|
|
116
|
+
className = $[5];
|
|
117
|
+
cols = $[6];
|
|
118
|
+
gap = $[7];
|
|
119
|
+
gapX = $[8];
|
|
120
|
+
gapY = $[9];
|
|
121
|
+
h = $[10];
|
|
122
|
+
htmlProps = $[11];
|
|
123
|
+
m = $[12];
|
|
124
|
+
maxH = $[13];
|
|
125
|
+
maxW = $[14];
|
|
126
|
+
mb = $[15];
|
|
127
|
+
minH = $[16];
|
|
128
|
+
minW = $[17];
|
|
129
|
+
ml = $[18];
|
|
130
|
+
mr = $[19];
|
|
131
|
+
mt = $[20];
|
|
132
|
+
mx = $[21];
|
|
133
|
+
my = $[22];
|
|
134
|
+
overflow = $[23];
|
|
135
|
+
overflowX = $[24];
|
|
136
|
+
overflowY = $[25];
|
|
137
|
+
p = $[26];
|
|
138
|
+
pb = $[27];
|
|
139
|
+
pl = $[28];
|
|
140
|
+
position = $[29];
|
|
141
|
+
pr = $[30];
|
|
142
|
+
pt = $[31];
|
|
143
|
+
px = $[32];
|
|
144
|
+
py = $[33];
|
|
145
|
+
rows = $[34];
|
|
146
|
+
style = $[35];
|
|
147
|
+
w = $[36];
|
|
148
|
+
}
|
|
149
|
+
let inlineStyles;
|
|
150
|
+
let t1;
|
|
151
|
+
let t2;
|
|
152
|
+
if ($[37] !== autoCols || $[38] !== autoFlow || $[39] !== autoRows || $[40] !== className || $[41] !== cols || $[42] !== gap || $[43] !== gapX || $[44] !== gapY || $[45] !== h || $[46] !== m || $[47] !== maxH || $[48] !== maxW || $[49] !== mb || $[50] !== minH || $[51] !== minW || $[52] !== ml || $[53] !== mr || $[54] !== mt || $[55] !== mx || $[56] !== my || $[57] !== overflow || $[58] !== overflowX || $[59] !== overflowY || $[60] !== p || $[61] !== pb || $[62] !== pl || $[63] !== position || $[64] !== pr || $[65] !== pt || $[66] !== px || $[67] !== py || $[68] !== ref || $[69] !== rows || $[70] !== style || $[71] !== w) {
|
|
153
|
+
const gridClasses = (0, external_utils_cjs_namespaceObject.buildGridLayoutClasses)({
|
|
154
|
+
cols,
|
|
155
|
+
rows,
|
|
156
|
+
gap,
|
|
157
|
+
gapX,
|
|
158
|
+
gapY,
|
|
159
|
+
autoFlow,
|
|
160
|
+
autoCols,
|
|
161
|
+
autoRows,
|
|
162
|
+
w,
|
|
163
|
+
h,
|
|
164
|
+
maxW,
|
|
165
|
+
minW,
|
|
166
|
+
maxH,
|
|
167
|
+
minH,
|
|
168
|
+
overflow,
|
|
169
|
+
overflowX,
|
|
170
|
+
overflowY,
|
|
171
|
+
position,
|
|
172
|
+
p,
|
|
173
|
+
pt,
|
|
174
|
+
pb,
|
|
175
|
+
pl,
|
|
176
|
+
pr,
|
|
177
|
+
px,
|
|
178
|
+
py,
|
|
179
|
+
m,
|
|
180
|
+
mt,
|
|
181
|
+
mb,
|
|
182
|
+
ml,
|
|
183
|
+
mr,
|
|
184
|
+
mx,
|
|
185
|
+
my
|
|
186
|
+
});
|
|
187
|
+
let t3;
|
|
188
|
+
if ($[75] !== gap) {
|
|
189
|
+
t3 = void 0 !== gap && {
|
|
190
|
+
gap: (0, external_utils_cjs_namespaceObject.spacingToRem)(gap)
|
|
191
|
+
};
|
|
192
|
+
$[75] = gap;
|
|
193
|
+
$[76] = t3;
|
|
194
|
+
} else t3 = $[76];
|
|
195
|
+
let t4;
|
|
196
|
+
if ($[77] !== gapX) {
|
|
197
|
+
t4 = void 0 !== gapX && {
|
|
198
|
+
columnGap: (0, external_utils_cjs_namespaceObject.spacingToRem)(gapX)
|
|
199
|
+
};
|
|
200
|
+
$[77] = gapX;
|
|
201
|
+
$[78] = t4;
|
|
202
|
+
} else t4 = $[78];
|
|
203
|
+
let t5;
|
|
204
|
+
if ($[79] !== gapY) {
|
|
205
|
+
t5 = void 0 !== gapY && {
|
|
206
|
+
rowGap: (0, external_utils_cjs_namespaceObject.spacingToRem)(gapY)
|
|
207
|
+
};
|
|
208
|
+
$[79] = gapY;
|
|
209
|
+
$[80] = t5;
|
|
210
|
+
} else t5 = $[80];
|
|
211
|
+
let t6;
|
|
212
|
+
if ($[81] !== cols) {
|
|
213
|
+
t6 = "string" == typeof cols && {
|
|
214
|
+
gridTemplateColumns: cols
|
|
215
|
+
};
|
|
216
|
+
$[81] = cols;
|
|
217
|
+
$[82] = t6;
|
|
218
|
+
} else t6 = $[82];
|
|
219
|
+
let t7;
|
|
220
|
+
if ($[83] !== rows) {
|
|
221
|
+
t7 = "string" == typeof rows && {
|
|
222
|
+
gridTemplateRows: rows
|
|
223
|
+
};
|
|
224
|
+
$[83] = rows;
|
|
225
|
+
$[84] = t7;
|
|
226
|
+
} else t7 = $[84];
|
|
227
|
+
let t8;
|
|
228
|
+
if ($[85] !== style || $[86] !== t3 || $[87] !== t4 || $[88] !== t5 || $[89] !== t6 || $[90] !== t7) {
|
|
229
|
+
t8 = {
|
|
230
|
+
...style,
|
|
231
|
+
...t3,
|
|
232
|
+
...t4,
|
|
233
|
+
...t5,
|
|
234
|
+
...t6,
|
|
235
|
+
...t7
|
|
236
|
+
};
|
|
237
|
+
$[85] = style;
|
|
238
|
+
$[86] = t3;
|
|
239
|
+
$[87] = t4;
|
|
240
|
+
$[88] = t5;
|
|
241
|
+
$[89] = t6;
|
|
242
|
+
$[90] = t7;
|
|
243
|
+
$[91] = t8;
|
|
244
|
+
} else t8 = $[91];
|
|
245
|
+
inlineStyles = t8;
|
|
246
|
+
t1 = ref;
|
|
247
|
+
t2 = (0, index_cjs_namespaceObject.cn)(...gridClasses, className);
|
|
248
|
+
$[37] = autoCols;
|
|
249
|
+
$[38] = autoFlow;
|
|
250
|
+
$[39] = autoRows;
|
|
251
|
+
$[40] = className;
|
|
252
|
+
$[41] = cols;
|
|
253
|
+
$[42] = gap;
|
|
254
|
+
$[43] = gapX;
|
|
255
|
+
$[44] = gapY;
|
|
256
|
+
$[45] = h;
|
|
257
|
+
$[46] = m;
|
|
258
|
+
$[47] = maxH;
|
|
259
|
+
$[48] = maxW;
|
|
260
|
+
$[49] = mb;
|
|
261
|
+
$[50] = minH;
|
|
262
|
+
$[51] = minW;
|
|
263
|
+
$[52] = ml;
|
|
264
|
+
$[53] = mr;
|
|
265
|
+
$[54] = mt;
|
|
266
|
+
$[55] = mx;
|
|
267
|
+
$[56] = my;
|
|
268
|
+
$[57] = overflow;
|
|
269
|
+
$[58] = overflowX;
|
|
270
|
+
$[59] = overflowY;
|
|
271
|
+
$[60] = p;
|
|
272
|
+
$[61] = pb;
|
|
273
|
+
$[62] = pl;
|
|
274
|
+
$[63] = position;
|
|
275
|
+
$[64] = pr;
|
|
276
|
+
$[65] = pt;
|
|
277
|
+
$[66] = px;
|
|
278
|
+
$[67] = py;
|
|
279
|
+
$[68] = ref;
|
|
280
|
+
$[69] = rows;
|
|
281
|
+
$[70] = style;
|
|
282
|
+
$[71] = w;
|
|
283
|
+
$[72] = inlineStyles;
|
|
284
|
+
$[73] = t1;
|
|
285
|
+
$[74] = t2;
|
|
286
|
+
} else {
|
|
287
|
+
inlineStyles = $[72];
|
|
288
|
+
t1 = $[73];
|
|
289
|
+
t2 = $[74];
|
|
290
|
+
}
|
|
291
|
+
let t3;
|
|
292
|
+
if ($[92] !== children || $[93] !== htmlProps || $[94] !== inlineStyles || $[95] !== t1 || $[96] !== t2) {
|
|
293
|
+
t3 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
294
|
+
ref: t1,
|
|
295
|
+
className: t2,
|
|
296
|
+
style: inlineStyles,
|
|
297
|
+
...htmlProps,
|
|
298
|
+
children: children
|
|
299
|
+
});
|
|
300
|
+
$[92] = children;
|
|
301
|
+
$[93] = htmlProps;
|
|
302
|
+
$[94] = inlineStyles;
|
|
303
|
+
$[95] = t1;
|
|
304
|
+
$[96] = t2;
|
|
305
|
+
$[97] = t3;
|
|
306
|
+
} else t3 = $[97];
|
|
307
|
+
return t3;
|
|
93
308
|
});
|
|
94
309
|
Grid.displayName = 'Grid';
|
|
95
310
|
exports.Grid = __webpack_exports__.Grid;
|